From 715430700c72626d1a6d7936212444e8b0e9c903 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Wed, 8 Jul 2026 12:59:21 +0300 Subject: [PATCH 001/559] Sync persistent RPC (v2) status Edge->Cloud and delete in both directions --- .../server/controller/RpcV2Controller.java | 36 +++++++++++++++++- .../service/edge/EdgeContextComponent.java | 4 ++ .../service/edge/EdgeMsgConstructorUtils.java | 12 ++++-- .../processor/device/DeviceEdgeProcessor.java | 37 ++++++++++++++++++- .../server/service/rpc/TbRpcService.java | 4 ++ .../server/common/data/rpc/RpcStatus.java | 6 +-- .../server/common/data/rpc/RpcStatusTest.java | 10 ++--- common/edge-api/src/main/proto/edge.proto | 1 + 8 files changed, 96 insertions(+), 14 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java b/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java index 412e775327..3f7041f863 100644 --- a/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java +++ b/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java @@ -15,6 +15,7 @@ */ package org.thingsboard.server.controller; +import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.common.util.concurrent.FutureCallback; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.media.Schema; @@ -24,6 +25,7 @@ import jakarta.annotation.Nullable; import lombok.extern.slf4j.Slf4j; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; @@ -35,8 +37,13 @@ import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.request.async.DeferredResult; import org.springframework.web.server.ResponseStatusException; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.common.data.edge.EdgeEvent; +import org.thingsboard.server.common.data.edge.EdgeEventActionType; +import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.RpcId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.msg.TbMsgType; @@ -46,12 +53,15 @@ import org.thingsboard.server.common.data.rpc.Rpc; import org.thingsboard.server.common.data.rpc.RpcStatus; import org.thingsboard.server.common.msg.TbMsg; import org.thingsboard.server.common.msg.TbMsgMetaData; +import org.thingsboard.server.common.msg.edge.EdgeHighPriorityMsg; import org.thingsboard.server.common.msg.rpc.RemoveRpcActorMsg; +import org.thingsboard.server.service.rpc.TbRpcService; import org.thingsboard.server.config.annotations.ApiOperation; import org.thingsboard.server.exception.ToErrorResponseEntity; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.security.permission.Operation; +import java.util.List; import java.util.UUID; import static org.thingsboard.server.controller.ControllerConstants.DEVICE_ID; @@ -74,6 +84,9 @@ import static org.thingsboard.server.controller.ControllerConstants.TENANT_OR_CU @Slf4j public class RpcV2Controller extends AbstractRpcController { + @Autowired + private TbRpcService tbRpcService; + private static final String RPC_REQUEST_DESCRIPTION = "Sends the one-way remote-procedure call (RPC) request to device. " + "The RPC call is A JSON that contains the method name ('method'), parameters ('params') and multiple optional fields. " + "See example below. We will review the properties of the RPC call one-by-one below. " + @@ -230,15 +243,19 @@ public class RpcV2Controller extends AbstractRpcController { Rpc rpc = checkRpcId(rpcId, Operation.DELETE); if (rpc != null) { - if (rpc.getStatus().isPushDeleteNotificationToCore()) { + if (rpc.getStatus().isIntermediate()) { RemoveRpcActorMsg removeMsg = new RemoveRpcActorMsg(getTenantId(), rpc.getDeviceId(), rpc.getUuidId()); log.trace("[{}] Forwarding msg {} to queue actor!", rpc.getDeviceId(), rpc); tbClusterService.pushMsgToCore(removeMsg, null); } - rpcService.deleteRpc(getTenantId(), rpcId); + tbRpcService.deleteRpc(getTenantId(), rpcId); rpc.setStatus(RpcStatus.DELETED); + // RPC v2 (persistent) delete/abort propagation Cloud -> Edge for ANY status + // (the actor RemoveRpcActorMsg above only covers non-terminal RPCs). + pushRpcDeleteToEdges(rpc); + TbMsg msg = TbMsg.newMsg() .type(TbMsgType.RPC_DELETED) .originator(rpc.getDeviceId()) @@ -248,4 +265,19 @@ public class RpcV2Controller extends AbstractRpcController { tbClusterService.pushMsgToRuleEngine(getTenantId(), rpc.getDeviceId(), msg, null); } } + + private void pushRpcDeleteToEdges(Rpc rpc) throws ThingsboardException { + List relatedEdgeIds = edgeService.findAllRelatedEdgeIds(getTenantId(), rpc.getDeviceId()); + if (relatedEdgeIds == null || relatedEdgeIds.isEmpty()) { + return; + } + ObjectNode body = JacksonUtil.newObjectNode(); + body.put("requestUUID", rpc.getId().getId().toString()); + body.put("rpcStatus", RpcStatus.DELETED.name()); + for (EdgeId edgeId : relatedEdgeIds) { + EdgeEvent edgeEvent = EdgeUtils.constructEdgeEvent(getTenantId(), edgeId, EdgeEventType.DEVICE, + EdgeEventActionType.RPC_CALL, rpc.getDeviceId(), body); + tbClusterService.onEdgeHighPriorityMsg(new EdgeHighPriorityMsg(getTenantId(), edgeEvent)); + } + } } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java index fbb3591bb5..e7885081b1 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java @@ -58,6 +58,7 @@ import org.thingsboard.server.dao.widget.WidgetsBundleService; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.rpc.EdgeEventStorageSettings; import org.thingsboard.server.service.edge.rpc.EdgeRpcService; +import org.thingsboard.server.service.rpc.TbRpcService; import org.thingsboard.server.service.edge.rpc.processor.EdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.alarm.AlarmProcessor; import org.thingsboard.server.service.edge.rpc.processor.alarm.comment.AlarmCommentProcessor; @@ -134,6 +135,9 @@ public class EdgeContextComponent { @Autowired private DeviceService deviceService; + @Autowired + private TbRpcService tbRpcService; + @Autowired private DomainService domainService; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java index 2417931e0b..0778bd4401 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java @@ -272,20 +272,23 @@ public class EdgeMsgConstructorUtils { responseBuilder.setResponse(body.get("response").asText()); } builder.setResponseMsg(responseBuilder.build()); - } else { + } else if (body.has("method")) { RpcRequestMsg.Builder requestBuilder = RpcRequestMsg.newBuilder(); requestBuilder.setMethod(body.get("method").asText()); requestBuilder.setParams(body.get("params").asText()); builder.setRequestMsg(requestBuilder.build()); } + // else: status-only message (rpcStatus set in constructDeviceRpcMsg) carries neither request nor response body return builder.build(); } private static DeviceRpcCallMsg.Builder constructDeviceRpcMsg(UUID deviceId, JsonNode body) { DeviceRpcCallMsg.Builder builder = DeviceRpcCallMsg.newBuilder() .setDeviceIdMSB(deviceId.getMostSignificantBits()) - .setDeviceIdLSB(deviceId.getLeastSignificantBits()) - .setRequestId(body.get("requestId").asInt()); + .setDeviceIdLSB(deviceId.getLeastSignificantBits()); + if (body.get("requestId") != null) { + builder.setRequestId(body.get("requestId").asInt()); + } if (body.get("oneway") != null) { builder.setOneway(body.get("oneway").asBoolean()); } @@ -312,6 +315,9 @@ public class EdgeMsgConstructorUtils { if (body.get("sessionId") != null) { builder.setSessionId(body.get("sessionId").asText()); } + if (body.get("rpcStatus") != null) { + builder.setRpcStatus(body.get("rpcStatus").asText()); + } return builder; } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index dab3efd911..ed8e948f5a 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -22,6 +22,7 @@ import com.google.common.util.concurrent.SettableFuture; import lombok.extern.slf4j.Slf4j; import org.springframework.data.util.Pair; import org.springframework.stereotype.Component; +import com.fasterxml.jackson.databind.JsonNode; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.DataConstants; import org.thingsboard.server.common.data.Device; @@ -37,7 +38,10 @@ import org.thingsboard.server.common.data.id.DeviceId; import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.msg.TbMsgType; +import org.thingsboard.server.common.data.id.RpcId; +import org.thingsboard.server.common.data.rpc.Rpc; import org.thingsboard.server.common.data.rpc.RpcError; +import org.thingsboard.server.common.data.rpc.RpcStatus; import org.thingsboard.server.common.data.security.DeviceCredentials; import org.thingsboard.server.common.msg.TbMsg; import org.thingsboard.server.common.msg.TbMsgDataType; @@ -138,7 +142,10 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr @Override public ListenableFuture processDeviceRpcCallFromEdge(TenantId tenantId, Edge edge, DeviceRpcCallMsg deviceRpcCallMsg) { log.trace("[{}] processDeviceRpcCallFromEdge [{}]", tenantId, deviceRpcCallMsg); - if (deviceRpcCallMsg.hasResponseMsg()) { + if (deviceRpcCallMsg.hasRpcStatus()) { + // RPC v2 (persistent) status update from the edge - update the cloud Rpc entity (same id == request UUID). + return processDeviceRpcStatusFromEdge(tenantId, deviceRpcCallMsg); + } else if (deviceRpcCallMsg.hasResponseMsg()) { return processDeviceRpcResponseFromEdge(tenantId, deviceRpcCallMsg); } else if (deviceRpcCallMsg.hasRequestMsg()) { return processDeviceRpcRequestFromEdge(tenantId, edge, deviceRpcCallMsg); @@ -146,6 +153,34 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr return Futures.immediateFuture(null); } + private ListenableFuture processDeviceRpcStatusFromEdge(TenantId tenantId, DeviceRpcCallMsg deviceRpcCallMsg) { + RpcId rpcId = new RpcId(new UUID(deviceRpcCallMsg.getRequestUuidMSB(), deviceRpcCallMsg.getRequestUuidLSB())); + if (RpcStatus.DELETED.name().equals(deviceRpcCallMsg.getRpcStatus())) { + // RPC v2 (persistent) delete/abort propagation Edge -> Cloud: remove the cloud copy. + if (edgeCtx.getTbRpcService().findRpcById(tenantId, rpcId) != null) { + edgeCtx.getTbRpcService().deleteRpc(tenantId, rpcId); + } + return Futures.immediateFuture(null); + } + RpcStatus rpcStatus = RpcStatus.valueOf(deviceRpcCallMsg.getRpcStatus()); + Rpc existingRpc = edgeCtx.getTbRpcService().findRpcById(tenantId, rpcId); + if (existingRpc == null) { + return Futures.immediateFuture(null); + } + if (!existingRpc.getStatus().isIntermediate() && rpcStatus.isIntermediate()) { + // guard against out-of-order status uplinks regressing a terminal RPC (e.g. stale DELIVERED after SUCCESSFUL) + log.debug("[{}][{}] Ignoring stale RPC status [{}] - RPC is already terminal [{}]", + tenantId, rpcId, rpcStatus, existingRpc.getStatus()); + return Futures.immediateFuture(null); + } + JsonNode response = null; + if (deviceRpcCallMsg.hasResponseMsg() && !StringUtils.isEmpty(deviceRpcCallMsg.getResponseMsg().getResponse())) { + response = JacksonUtil.toJsonNode(deviceRpcCallMsg.getResponseMsg().getResponse()); + } + edgeCtx.getTbRpcService().save(tenantId, rpcId, rpcStatus, response); + return Futures.immediateFuture(null); + } + private ListenableFuture processDeviceRpcResponseFromEdge(TenantId tenantId, DeviceRpcCallMsg deviceRpcCallMsg) { SettableFuture futureToSet = SettableFuture.create(); UUID requestUuid = new UUID(deviceRpcCallMsg.getRequestUuidMSB(), deviceRpcCallMsg.getRequestUuidLSB()); diff --git a/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java b/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java index 912e8242c6..de7112b7d0 100644 --- a/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java @@ -80,4 +80,8 @@ public class TbRpcService { return rpcService.findAllByDeviceIdAndStatus(tenantId, deviceId, rpcStatus, pageLink); } + public void deleteRpc(TenantId tenantId, RpcId rpcId) { + rpcService.deleteRpc(tenantId, rpcId); + } + } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/rpc/RpcStatus.java b/common/data/src/main/java/org/thingsboard/server/common/data/rpc/RpcStatus.java index b731fbe125..9e07943570 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/rpc/RpcStatus.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/rpc/RpcStatus.java @@ -29,10 +29,10 @@ public enum RpcStatus { DELETED(false); @Getter - private final boolean pushDeleteNotificationToCore; + private final boolean intermediate; - RpcStatus(boolean pushDeleteNotificationToCore) { - this.pushDeleteNotificationToCore = pushDeleteNotificationToCore; + RpcStatus(boolean intermediate) { + this.intermediate = intermediate; } } diff --git a/common/data/src/test/java/org/thingsboard/server/common/data/rpc/RpcStatusTest.java b/common/data/src/test/java/org/thingsboard/server/common/data/rpc/RpcStatusTest.java index 0c0f5a810e..638b486ae2 100644 --- a/common/data/src/test/java/org/thingsboard/server/common/data/rpc/RpcStatusTest.java +++ b/common/data/src/test/java/org/thingsboard/server/common/data/rpc/RpcStatusTest.java @@ -26,20 +26,20 @@ import static org.thingsboard.server.common.data.rpc.RpcStatus.SENT; class RpcStatusTest { - private static final List pushDeleteNotificationToCoreStatuses = List.of( + private static final List intermediateStatuses = List.of( QUEUED, SENT, DELIVERED ); @Test - void isPushDeleteNotificationToCoreStatusTest() { + void isIntermediateStatusTest() { var rpcStatuses = RpcStatus.values(); for (var status : rpcStatuses) { - if (pushDeleteNotificationToCoreStatuses.contains(status)) { - assertThat(status.isPushDeleteNotificationToCore()).isTrue(); + if (intermediateStatuses.contains(status)) { + assertThat(status.isIntermediate()).isTrue(); } else { - assertThat(status.isPushDeleteNotificationToCore()).isFalse(); + assertThat(status.isIntermediate()).isFalse(); } } } diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index 520b4ac493..148940196e 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -390,6 +390,7 @@ message DeviceRpcCallMsg { optional string additionalInfo = 12; optional string serviceId = 13; optional string sessionId = 14; + optional string rpcStatus = 15; } message RpcRequestMsg { From dd369b28326d267c8edb58cac2a02b54d39eca48 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Wed, 8 Jul 2026 15:55:34 +0300 Subject: [PATCH 002/559] Move pushRpcDeleteToEdges from controller to service layer --- .../server/controller/RpcV2Controller.java | 27 --------------- .../processor/device/DeviceEdgeProcessor.java | 12 +++++-- .../server/service/rpc/TbRpcService.java | 34 +++++++++++++++++++ 3 files changed, 43 insertions(+), 30 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java b/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java index 3f7041f863..3e55895db1 100644 --- a/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java +++ b/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java @@ -15,7 +15,6 @@ */ package org.thingsboard.server.controller; -import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.common.util.concurrent.FutureCallback; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.media.Schema; @@ -37,13 +36,8 @@ import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.request.async.DeferredResult; import org.springframework.web.server.ResponseStatusException; import org.thingsboard.common.util.JacksonUtil; -import org.thingsboard.server.common.data.EdgeUtils; -import org.thingsboard.server.common.data.edge.EdgeEvent; -import org.thingsboard.server.common.data.edge.EdgeEventActionType; -import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.DeviceId; -import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.RpcId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.msg.TbMsgType; @@ -53,7 +47,6 @@ import org.thingsboard.server.common.data.rpc.Rpc; import org.thingsboard.server.common.data.rpc.RpcStatus; import org.thingsboard.server.common.msg.TbMsg; import org.thingsboard.server.common.msg.TbMsgMetaData; -import org.thingsboard.server.common.msg.edge.EdgeHighPriorityMsg; import org.thingsboard.server.common.msg.rpc.RemoveRpcActorMsg; import org.thingsboard.server.service.rpc.TbRpcService; import org.thingsboard.server.config.annotations.ApiOperation; @@ -61,7 +54,6 @@ import org.thingsboard.server.exception.ToErrorResponseEntity; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.security.permission.Operation; -import java.util.List; import java.util.UUID; import static org.thingsboard.server.controller.ControllerConstants.DEVICE_ID; @@ -252,10 +244,6 @@ public class RpcV2Controller extends AbstractRpcController { tbRpcService.deleteRpc(getTenantId(), rpcId); rpc.setStatus(RpcStatus.DELETED); - // RPC v2 (persistent) delete/abort propagation Cloud -> Edge for ANY status - // (the actor RemoveRpcActorMsg above only covers non-terminal RPCs). - pushRpcDeleteToEdges(rpc); - TbMsg msg = TbMsg.newMsg() .type(TbMsgType.RPC_DELETED) .originator(rpc.getDeviceId()) @@ -265,19 +253,4 @@ public class RpcV2Controller extends AbstractRpcController { tbClusterService.pushMsgToRuleEngine(getTenantId(), rpc.getDeviceId(), msg, null); } } - - private void pushRpcDeleteToEdges(Rpc rpc) throws ThingsboardException { - List relatedEdgeIds = edgeService.findAllRelatedEdgeIds(getTenantId(), rpc.getDeviceId()); - if (relatedEdgeIds == null || relatedEdgeIds.isEmpty()) { - return; - } - ObjectNode body = JacksonUtil.newObjectNode(); - body.put("requestUUID", rpc.getId().getId().toString()); - body.put("rpcStatus", RpcStatus.DELETED.name()); - for (EdgeId edgeId : relatedEdgeIds) { - EdgeEvent edgeEvent = EdgeUtils.constructEdgeEvent(getTenantId(), edgeId, EdgeEventType.DEVICE, - EdgeEventActionType.RPC_CALL, rpc.getDeviceId(), body); - tbClusterService.onEdgeHighPriorityMsg(new EdgeHighPriorityMsg(getTenantId(), edgeEvent)); - } - } } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index ed8e948f5a..d9bb0fe310 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -144,7 +144,7 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr log.trace("[{}] processDeviceRpcCallFromEdge [{}]", tenantId, deviceRpcCallMsg); if (deviceRpcCallMsg.hasRpcStatus()) { // RPC v2 (persistent) status update from the edge - update the cloud Rpc entity (same id == request UUID). - return processDeviceRpcStatusFromEdge(tenantId, deviceRpcCallMsg); + return processDeviceRpcStatusFromEdge(tenantId, edge, deviceRpcCallMsg); } else if (deviceRpcCallMsg.hasResponseMsg()) { return processDeviceRpcResponseFromEdge(tenantId, deviceRpcCallMsg); } else if (deviceRpcCallMsg.hasRequestMsg()) { @@ -153,12 +153,18 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr return Futures.immediateFuture(null); } - private ListenableFuture processDeviceRpcStatusFromEdge(TenantId tenantId, DeviceRpcCallMsg deviceRpcCallMsg) { + private ListenableFuture processDeviceRpcStatusFromEdge(TenantId tenantId, Edge edge, DeviceRpcCallMsg deviceRpcCallMsg) { RpcId rpcId = new RpcId(new UUID(deviceRpcCallMsg.getRequestUuidMSB(), deviceRpcCallMsg.getRequestUuidLSB())); if (RpcStatus.DELETED.name().equals(deviceRpcCallMsg.getRpcStatus())) { // RPC v2 (persistent) delete/abort propagation Edge -> Cloud: remove the cloud copy. + // Mark the edge-sync context so TbRpcService.deleteRpc does not echo the delete back to edges. if (edgeCtx.getTbRpcService().findRpcById(tenantId, rpcId) != null) { - edgeCtx.getTbRpcService().deleteRpc(tenantId, rpcId); + try { + edgeSynchronizationManager.getEdgeId().set(edge.getId()); + edgeCtx.getTbRpcService().deleteRpc(tenantId, rpcId); + } finally { + edgeSynchronizationManager.getEdgeId().remove(); + } } return Futures.immediateFuture(null); } diff --git a/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java b/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java index de7112b7d0..7489151d11 100644 --- a/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java @@ -16,12 +16,18 @@ package org.thingsboard.server.service.rpc; import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.cluster.TbClusterService; +import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.common.data.edge.EdgeEvent; +import org.thingsboard.server.common.data.edge.EdgeEventActionType; +import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.RpcId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.msg.TbMsgType; @@ -31,9 +37,14 @@ import org.thingsboard.server.common.data.rpc.Rpc; import org.thingsboard.server.common.data.rpc.RpcStatus; import org.thingsboard.server.common.msg.TbMsg; import org.thingsboard.server.common.msg.TbMsgMetaData; +import org.thingsboard.server.common.msg.edge.EdgeHighPriorityMsg; +import org.thingsboard.server.dao.edge.EdgeService; +import org.thingsboard.server.dao.edge.EdgeSynchronizationManager; import org.thingsboard.server.dao.rpc.RpcService; import org.thingsboard.server.queue.util.TbCoreComponent; +import java.util.List; + @TbCoreComponent @Service @RequiredArgsConstructor @@ -41,6 +52,8 @@ import org.thingsboard.server.queue.util.TbCoreComponent; public class TbRpcService { private final RpcService rpcService; private final TbClusterService tbClusterService; + private final EdgeService edgeService; + private final EdgeSynchronizationManager edgeSynchronizationManager; public Rpc save(TenantId tenantId, Rpc rpc) { Rpc saved = rpcService.save(rpc); @@ -81,7 +94,28 @@ public class TbRpcService { } public void deleteRpc(TenantId tenantId, RpcId rpcId) { + Rpc rpc = rpcService.findById(tenantId, rpcId); rpcService.deleteRpc(tenantId, rpcId); + // RPC v2 (persistent) delete/abort propagation Cloud -> Edge for ANY status. + // Skipped when the delete originated from an edge (edge-sync context) so it is not echoed back. + if (rpc != null && edgeSynchronizationManager.getEdgeId().get() == null) { + pushRpcDeleteToEdges(tenantId, rpc); + } + } + + private void pushRpcDeleteToEdges(TenantId tenantId, Rpc rpc) { + List relatedEdgeIds = edgeService.findAllRelatedEdgeIds(tenantId, rpc.getDeviceId()); + if (relatedEdgeIds == null || relatedEdgeIds.isEmpty()) { + return; + } + ObjectNode body = JacksonUtil.newObjectNode(); + body.put("requestUUID", rpc.getId().getId().toString()); + body.put("rpcStatus", RpcStatus.DELETED.name()); + for (EdgeId edgeId : relatedEdgeIds) { + EdgeEvent edgeEvent = EdgeUtils.constructEdgeEvent(tenantId, edgeId, EdgeEventType.DEVICE, + EdgeEventActionType.RPC_CALL, rpc.getDeviceId(), body); + tbClusterService.onEdgeHighPriorityMsg(new EdgeHighPriorityMsg(tenantId, edgeEvent)); + } } } From 9f06464c803ff941d8788eb5ec1b6e717273a312 Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Mon, 13 Jul 2026 23:19:16 +0200 Subject: [PATCH 003/559] Update tbel to 1.2.11 and add java.util.Formatter sandbox test --- .../service/script/TbelInvokeServiceTest.java | 14 ++++++++++++++ pom.xml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/application/src/test/java/org/thingsboard/server/service/script/TbelInvokeServiceTest.java b/application/src/test/java/org/thingsboard/server/service/script/TbelInvokeServiceTest.java index 8618e515c8..7a8d3f68a6 100644 --- a/application/src/test/java/org/thingsboard/server/service/script/TbelInvokeServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/script/TbelInvokeServiceTest.java @@ -301,6 +301,20 @@ class TbelInvokeServiceTest extends AbstractTbelInvokeTest { }); } + @Test + void givenForbiddenFormatter_whenInvoking_thenThrowsRuntimeError() throws ExecutionException, InterruptedException { + UUID scriptId = evalScript("new java.util.Formatter(\"/tmp/test.txt\")"); + assertThatThrownBy(() -> invokeScript(scriptId, "{\"temperature\":25}")) + .isInstanceOf(ExecutionException.class) + .cause() + .isInstanceOf(TbScriptException.class) + .asInstanceOf(type(TbScriptException.class)) + .satisfies(ex -> { + assertThat(ex.getErrorCode()).isEqualTo(TbScriptException.ErrorCode.RUNTIME); + assertThat(ex.getCause().getMessage()).contains("could not resolve class: java.util.Formatter"); + }); + } + private void assertThatScriptIsBlocked(UUID scriptId) { assertThatThrownBy(() -> { invokeScriptResultString(scriptId, "{}"); diff --git a/pom.xml b/pom.xml index 7d42f9f1c7..87280de7e1 100755 --- a/pom.xml +++ b/pom.xml @@ -94,7 +94,7 @@ 3.9.5 3.25.5 1.76.0 - 1.2.10 + 1.2.11 1.18.46 1.2.5 1.2.5 From 54284ed89d12c67ddb2a5c5f410c8993bb0e62b8 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 17 Jul 2026 15:30:13 +0300 Subject: [PATCH 004/559] Receive mail/SMS/notification uplink requests from edge --- .../service/edge/EdgeContextComponent.java | 4 + .../service/edge/rpc/EdgeGrpcSession.java | 74 +++++++- .../service/edge/rpc/EdgeSyncCursor.java | 5 +- .../settings/AdminSettingsEdgeProcessor.java | 89 ++++++++++ .../rpc/sync/DefaultEdgeRequestsService.java | 168 ++++++++++++++++++ .../edge/rpc/sync/EdgeRequestsService.java | 9 + .../server/service/mail/EdgeMailRequest.java | 80 +++++++++ .../notification/EdgeNotificationRequest.java | 76 ++++++++ .../server/service/sms/EdgeSmsRequest.java | 51 ++++++ .../server/controller/EdgeControllerTest.java | 20 --- .../server/edge/AbstractEdgeTest.java | 8 +- .../server/edge/AdminSettingsEdgeTest.java | 79 -------- .../server/edge/SendEmailEdgeTest.java | 99 +++++++++++ .../server/edge/SendNotificationEdgeTest.java | 134 ++++++++++++++ .../thingsboard/server/edge/SmsEdgeTest.java | 94 ++++++++++ common/edge-api/src/main/proto/edge.proto | 21 +++ 16 files changed, 904 insertions(+), 107 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java create mode 100644 application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java create mode 100644 application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java delete mode 100644 application/src/test/java/org/thingsboard/server/edge/AdminSettingsEdgeTest.java create mode 100644 application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java create mode 100644 application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java create mode 100644 application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java index fbb3591bb5..804f8b8567 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java @@ -72,6 +72,7 @@ import org.thingsboard.server.service.edge.rpc.processor.relation.RelationEdgePr import org.thingsboard.server.service.edge.rpc.processor.resource.ResourceEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainMetadataEdgeProcessor; +import org.thingsboard.server.service.edge.rpc.processor.settings.AdminSettingsEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.telemetry.TelemetryEdgeProcessor; import org.thingsboard.server.service.edge.rpc.sync.EdgeRequestsService; import org.thingsboard.server.service.executors.GrpcCallbackExecutorService; @@ -205,6 +206,9 @@ public class EdgeContextComponent { // processors + @Autowired + private AdminSettingsEdgeProcessor adminSettingsProcessor; + @Autowired private AlarmProcessor alarmProcessor; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java index fb420d080a..ad8550cddb 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java @@ -37,6 +37,7 @@ import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.kv.AttributeKvEntry; import org.thingsboard.server.common.data.kv.AttributesSaveResult; import org.thingsboard.server.common.data.kv.BaseAttributeKvEntry; +import org.thingsboard.server.common.data.kv.BooleanDataEntry; import org.thingsboard.server.common.data.kv.LongDataEntry; import org.thingsboard.server.common.data.kv.StringDataEntry; import org.thingsboard.server.common.data.limit.LimitedApi; @@ -77,6 +78,9 @@ import org.thingsboard.server.gen.edge.v1.RequestMsgType; import org.thingsboard.server.gen.edge.v1.ResourceUpdateMsg; import org.thingsboard.server.gen.edge.v1.ResponseMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; +import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataUpdateMsg; import org.thingsboard.server.gen.edge.v1.RuleChainUpdateMsg; import org.thingsboard.server.gen.edge.v1.SyncCompletedMsg; @@ -109,6 +113,7 @@ public abstract class EdgeGrpcSession implements Closeable { private static final String QUEUE_START_TS_ATTR_KEY = "queueStartTs"; private static final String QUEUE_START_SEQ_ID_ATTR_KEY = "queueStartSeqId"; + private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; private static final int MAX_DOWNLINK_ATTEMPTS = 3; private static final String RATE_LIMIT_REACHED = "Rate limit reached"; @@ -249,12 +254,64 @@ public abstract class EdgeGrpcSession implements Closeable { log.info("[{}][{}][{}] Staring edge sync process", tenantId, edge.getId(), sessionId); syncInProgress = true; interruptGeneralProcessingOnSync(); - doSync(new EdgeSyncCursor(ctx, edge, fullSync)); + sendOneTimeAdminSettingsCleanupIfNeeded(() -> doSync(new EdgeSyncCursor(ctx, edge, fullSync))); } else { log.info("[{}][{}][{}] Sync is already started, skipping starting it now", tenantId, edge.getId(), sessionId); } } + private void sendOneTimeAdminSettingsCleanupIfNeeded(Runnable continuation) { + if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, EdgeVersion.V_4_2_2_4)) { + continuation.run(); + return; + } + try { + ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() + .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); + + ListenableFuture cleanupFuture = Futures.transformAsync( + isCleanupCompletedAttrFuture, + attr -> { + boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); + if (alreadyCompleted) { + return Futures.immediateFuture(false); + } + List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); + if (cleanupMsgs.isEmpty()) { + return Futures.immediateFuture(true); + } + // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise + return Futures.transform(sendDownlinkMsgsPack(cleanupMsgs), + isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); + }, ctx.getGrpcCallbackExecutorService()); + + Futures.addCallback(cleanupFuture, new FutureCallback<>() { + @Override + public void onSuccess(@Nullable Boolean markCompleted) { + if (Boolean.TRUE.equals(markCompleted)) { + markAdminSettingsCleanupCompleted(); + } + continuation.run(); + } + + @Override + public void onFailure(Throwable t) { + log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); + continuation.run(); + } + }, ctx.getGrpcCallbackExecutorService()); + } catch (Exception e) { + log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); + continuation.run(); + } + } + + private void markAdminSettingsCleanupCompleted() { + AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( + new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); + ctx.getAttributesService().save(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); + } + private void doSync(EdgeSyncCursor cursor) { if (cursor.hasNext()) { EdgeEventFetcher next = cursor.getNext(); @@ -918,6 +975,21 @@ public abstract class EdgeGrpcSession implements Closeable { result.add(ctx.getDeviceProcessor().processDeviceRpcCallFromEdge(edge.getTenantId(), edge, deviceRpcCallMsg)); } } + if (uplinkMsg.getSendEmailUplinkMsgCount() > 0) { + for (SendEmailUplinkMsg sendEmailUplinkMsg : uplinkMsg.getSendEmailUplinkMsgList()) { + result.add(ctx.getEdgeRequestsService().processSendEmailMsg(edge.getTenantId(), edge, sendEmailUplinkMsg)); + } + } + if (uplinkMsg.getSendSmsUplinkMsgCount() > 0) { + for (SendSmsUplinkMsg sendSmsUplinkMsg : uplinkMsg.getSendSmsUplinkMsgList()) { + result.add(ctx.getEdgeRequestsService().processSendSmsMsg(edge.getTenantId(), edge, sendSmsUplinkMsg)); + } + } + if (uplinkMsg.getSendNotificationUplinkMsgCount() > 0) { + for (SendNotificationUplinkMsg sendNotificationUplinkMsg : uplinkMsg.getSendNotificationUplinkMsgList()) { + result.add(ctx.getEdgeRequestsService().processSendNotificationMsg(edge.getTenantId(), edge, sendNotificationUplinkMsg)); + } + } if (uplinkMsg.getWidgetBundleTypesRequestMsgCount() > 0) { for (WidgetBundleTypesRequestMsg widgetBundleTypesRequestMsg : uplinkMsg.getWidgetBundleTypesRequestMsgList()) { result.add(ctx.getEdgeRequestsService().processWidgetBundleTypesRequestMsg(edge.getTenantId(), edge, widgetBundleTypesRequestMsg)); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java index ce175957f6..8e84357721 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java @@ -21,7 +21,6 @@ import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.service.edge.EdgeContextComponent; -import org.thingsboard.server.service.edge.rpc.fetch.AdminSettingsEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.AssetProfilesEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.AssetsEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.CustomerEdgeEventFetcher; @@ -63,8 +62,8 @@ public class EdgeSyncCursor { fetchers.add(new TenantEdgeEventFetcher(ctx.getTenantService())); fetchers.add(new QueuesEdgeEventFetcher(ctx.getQueueService())); fetchers.add(new RuleChainsEdgeEventFetcher(ctx.getRuleChainService())); - fetchers.add(new AdminSettingsEdgeEventFetcher(ctx.getAdminSettingsService(), TenantId.SYS_TENANT_ID)); - fetchers.add(new AdminSettingsEdgeEventFetcher(ctx.getAdminSettingsService(), edge.getTenantId())); + // Admin settings are not synced to the edge: 'general'/'connectivity' are system-scoped and the edge + // auto-generates its own on install, while 'mail'/'sms'/'notifications' are delegated to the cloud. fetchers.add(new TenantAdminUsersEdgeEventFetcher(ctx.getUserService())); } Customer publicCustomer = ctx.getCustomerService().findPublicCustomer(edge.getTenantId()); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java index 2e0a65f324..2bf55f7c1a 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java @@ -15,25 +15,53 @@ */ package org.thingsboard.server.service.edge.rpc.processor.settings; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.extern.slf4j.Slf4j; +import org.apache.commons.lang3.RandomStringUtils; +import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.id.AdminSettingsId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; +import org.thingsboard.server.common.data.security.model.JwtSettings; import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; +import org.thingsboard.server.service.security.auth.jwt.settings.JwtSettingsService; + +import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.Base64; +import java.util.HashSet; +import java.util.List; +import java.util.Set; @Slf4j @Component @TbCoreComponent public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { + private static final Set EDGE_SYNCED_SETTINGS_KEYS = Set.of("general", "connectivity"); + + private static final int DEFAULT_PAGE_SIZE = 1000; + + @Value("${security.jwt.tokenExpirationTime:9000}") + private Integer tokenExpirationTime; + @Value("${security.jwt.refreshTokenExpTime:604800}") + private Integer refreshTokenExpTime; + @Value("${security.jwt.tokenIssuer:thingsboard.io}") + private String tokenIssuer; + @Override public DownlinkMsg convertEdgeEventToDownlink(EdgeEvent edgeEvent, EdgeVersion edgeVersion) { AdminSettings adminSettings = null; @@ -47,6 +75,12 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { if (adminSettings == null) { return null; } + if (TenantId.SYS_TENANT_ID.equals(adminSettings.getTenantId()) + || !EDGE_SYNCED_SETTINGS_KEYS.contains(adminSettings.getKey())) { + log.trace("Skipping admin settings [{}] sync to edge [{}] - not in the edge allow-list", + adminSettings.getKey(), edgeEvent.getEdgeId()); + return null; + } AdminSettingsUpdateMsg msg = AdminSettingsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(adminSettings)).build(); return DownlinkMsg.newBuilder() .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) @@ -54,6 +88,61 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { .build(); } + public List convertAdminSettingsCleanupToDownlinks(Edge edge) { + List result = new ArrayList<>(); + Set cleanedKeys = new HashSet<>(); + + Set tenantScopes = Set.of(TenantId.SYS_TENANT_ID, edge.getTenantId()); + for (TenantId scope : tenantScopes) { + PageLink pageLink = new PageLink(DEFAULT_PAGE_SIZE); + PageData page; + do { + page = edgeCtx.getAdminSettingsService().findAllByTenantId(scope, pageLink); + for (AdminSettings adminSettings : page.getData()) { + String key = adminSettings.getKey(); + if (EDGE_SYNCED_SETTINGS_KEYS.contains(key) || !cleanedKeys.add(key)) { + continue; + } + result.add(buildAdminSettingsCleanupDownlink(key)); + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext()); + } + log.info("[{}][{}] Prepared {} one-time admin settings cleanup message(s): {}", + edge.getTenantId(), edge.getId(), result.size(), cleanedKeys); + return result; + } + + private DownlinkMsg buildAdminSettingsCleanupDownlink(String key) { + AdminSettings adminSettings = new AdminSettings(); + adminSettings.setTenantId(TenantId.SYS_TENANT_ID); + adminSettings.setKey(key); + adminSettings.setJsonValue(buildAdminSettingsCleanupValue(key)); + AdminSettingsUpdateMsg msg = AdminSettingsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(adminSettings)).build(); + return DownlinkMsg.newBuilder() + .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) + .addAdminSettingsUpdateMsg(msg) + .build(); + } + + private JsonNode buildAdminSettingsCleanupValue(String key) { + if (JwtSettingsService.ADMIN_SETTINGS_JWT_KEY.equals(key)) { + return JacksonUtil.valueToTree(generateRandomJwtSettings()); + } + ObjectNode value = JacksonUtil.newObjectNode(); + if ("mail".equals(key)) { + value.put("password", ""); + value.put("refreshToken", ""); + } + return value; + } + + private JwtSettings generateRandomJwtSettings() { + String randomSigningKey = Base64.getEncoder().encodeToString( + RandomStringUtils.secure().nextAlphanumeric(64).getBytes(StandardCharsets.UTF_8)); + return new JwtSettings(tokenExpirationTime, refreshTokenExpTime, tokenIssuer, randomSigningKey); + } + @Override public EdgeEventType getEdgeEventType() { return EdgeEventType.ADMIN_SETTINGS; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index 74de2132b4..823d3b6b9d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -27,6 +27,10 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.MailService; +import org.thingsboard.rule.engine.api.SmsService; +import org.thingsboard.rule.engine.api.notification.FirebaseService; +import org.thingsboard.rule.engine.api.notification.SlackService; import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.EdgeUtils; import org.thingsboard.server.common.data.EntityType; @@ -46,6 +50,10 @@ import org.thingsboard.server.common.data.id.WidgetsBundleId; import org.thingsboard.server.common.data.kv.AttributeKvEntry; import org.thingsboard.server.common.data.kv.DataType; import org.thingsboard.server.common.data.kv.TsKvEntry; +import org.thingsboard.server.common.data.notification.NotificationDeliveryMethod; +import org.thingsboard.server.common.data.notification.settings.MobileAppNotificationDeliveryMethodConfig; +import org.thingsboard.server.common.data.notification.settings.NotificationSettings; +import org.thingsboard.server.common.data.notification.settings.SlackNotificationDeliveryMethodConfig; import org.thingsboard.server.common.data.relation.EntityRelation; import org.thingsboard.server.common.data.relation.EntityRelationsQuery; import org.thingsboard.server.common.data.relation.EntitySearchDirection; @@ -56,6 +64,7 @@ import org.thingsboard.server.common.data.widget.WidgetsBundle; import org.thingsboard.server.dao.attributes.AttributesService; import org.thingsboard.server.dao.cf.CalculatedFieldService; import org.thingsboard.server.dao.edge.EdgeEventService; +import org.thingsboard.server.dao.notification.NotificationSettingsService; import org.thingsboard.server.dao.relation.RelationService; import org.thingsboard.server.dao.timeseries.TimeseriesService; import org.thingsboard.server.dao.widget.WidgetTypeService; @@ -66,10 +75,16 @@ import org.thingsboard.server.gen.edge.v1.DeviceCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.EntityViewsRequestMsg; import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; +import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.WidgetBundleTypesRequestMsg; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.entitiy.entityview.TbEntityViewService; +import org.thingsboard.server.service.mail.EdgeMailRequest; +import org.thingsboard.server.service.notification.EdgeNotificationRequest; +import org.thingsboard.server.service.sms.EdgeSmsRequest; import org.thingsboard.server.service.executors.DbCallbackExecutorService; import org.thingsboard.server.service.state.DefaultDeviceStateService; @@ -112,6 +127,21 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Autowired private DbCallbackExecutorService dbCallbackExecutorService; + @Autowired + private MailService mailService; + + @Autowired + private SmsService smsService; + + @Autowired + private SlackService slackService; + + @Autowired + private FirebaseService firebaseService; + + @Autowired + private NotificationSettingsService notificationSettingsService; + @Override public ListenableFuture processRuleChainMetadataRequestMsg(TenantId tenantId, Edge edge, RuleChainMetadataRequestMsg ruleChainMetadataRequestMsg) { log.trace("[{}] processRuleChainMetadataRequestMsg [{}][{}]", tenantId, edge.getName(), ruleChainMetadataRequestMsg); @@ -433,6 +463,144 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return futureToSet; } + @Override + public ListenableFuture processSendEmailMsg(TenantId tenantId, Edge edge, SendEmailUplinkMsg sendEmailUplinkMsg) { + log.trace("[{}] processSendEmailMsg [{}]", tenantId, edge.getName()); + dbCallbackExecutorService.submit(() -> { + try { + sendEmailForEdge(tenantId, sendEmailUplinkMsg); + } catch (Exception e) { + log.warn("[{}] Failed to send email requested by edge [{}]", tenantId, edge.getName(), e); + } + return null; + }); + return Futures.immediateFuture(null); + } + + private void sendEmailForEdge(TenantId tenantId, SendEmailUplinkMsg sendEmailUplinkMsg) throws Exception { + EdgeMailRequest request = JacksonUtil.fromString(sendEmailUplinkMsg.getRequest(), EdgeMailRequest.class); + if (request == null || request.getMethod() == null) { + log.warn("[{}] Received empty send email request from edge", tenantId); + return; + } + switch (request.getMethod()) { + case SEND_BASIC -> + mailService.sendEmail(tenantId, request.getTo(), request.getSubject(), request.getMessage()); + case SEND_TB_EMAIL -> + mailService.send(tenantId, null, request.getTbEmail()); + case ACTIVATION -> + mailService.sendActivationEmail(request.getActivationLink(), request.getTtlMs(), request.getTo()); + case ACCOUNT_ACTIVATED -> + mailService.sendAccountActivatedEmail(request.getLoginLink(), request.getTo()); + case RESET_PASSWORD -> + mailService.sendResetPasswordEmail(request.getPasswordResetLink(), request.getTtlMs(), request.getTo()); + case PASSWORD_WAS_RESET -> + mailService.sendPasswordWasResetEmail(request.getLoginLink(), request.getTo()); + case TWO_FA -> + mailService.sendTwoFaVerificationEmail(request.getTo(), request.getVerificationCode(), request.getExpirationTimeSeconds()); + case ACCOUNT_LOCKOUT -> + mailService.sendAccountLockoutEmail(request.getLockoutEmail(), request.getTo(), request.getMaxFailedLoginAttempts()); + case API_USAGE_STATE -> + mailService.sendApiFeatureStateEmail(request.getApiFeature(), request.getStateValue(), request.getTo(), request.getRecordState()); + case TEST_MAIL -> + mailService.sendTestMail(request.getTestConfig(), request.getTo()); + } + } + + @Override + public ListenableFuture processSendSmsMsg(TenantId tenantId, Edge edge, SendSmsUplinkMsg sendSmsUplinkMsg) { + log.trace("[{}] processSendSmsMsg [{}]", tenantId, edge.getName()); + dbCallbackExecutorService.submit(() -> { + try { + sendSmsForEdge(tenantId, sendSmsUplinkMsg); + } catch (Exception e) { + log.warn("[{}] Failed to send sms requested by edge [{}]", tenantId, edge.getName(), e); + } + return null; + }); + return Futures.immediateFuture(null); + } + + private void sendSmsForEdge(TenantId tenantId, SendSmsUplinkMsg sendSmsUplinkMsg) throws Exception { + EdgeSmsRequest request = JacksonUtil.fromString(sendSmsUplinkMsg.getRequest(), EdgeSmsRequest.class); + if (request == null || request.getMethod() == null) { + log.warn("[{}] Received empty send sms request from edge", tenantId); + return; + } + switch (request.getMethod()) { + case SEND_SMS -> + smsService.sendSms(tenantId, null, request.getNumbers(), request.getMessage()); + case SEND_TEST_SMS -> + smsService.sendTestSms(request.getTestSmsRequest()); + } + } + + @Override + public ListenableFuture processSendNotificationMsg(TenantId tenantId, Edge edge, SendNotificationUplinkMsg sendNotificationUplinkMsg) { + log.trace("[{}] processSendNotificationMsg [{}]", tenantId, edge.getName()); + dbCallbackExecutorService.submit(() -> { + try { + sendNotificationForEdge(tenantId, sendNotificationUplinkMsg); + } catch (Exception e) { + log.warn("[{}] Failed to send notification requested by edge [{}]", tenantId, edge.getName(), e); + } + return null; + }); + return Futures.immediateFuture(null); + } + + private void sendNotificationForEdge(TenantId tenantId, SendNotificationUplinkMsg sendNotificationUplinkMsg) throws Exception { + EdgeNotificationRequest request = JacksonUtil.fromString(sendNotificationUplinkMsg.getRequest(), EdgeNotificationRequest.class); + if (request == null || request.getMethod() == null) { + log.warn("[{}] Received empty send notification request from edge", tenantId); + return; + } + switch (request.getMethod()) { + case SEND_SLACK -> sendSlackForEdge(tenantId, request); + case SEND_MOBILE_PUSH -> sendMobilePushForEdge(tenantId, request); + } + } + + private void sendSlackForEdge(TenantId tenantId, EdgeNotificationRequest request) { + SlackNotificationDeliveryMethodConfig config = getSlackConfig(tenantId); + if (config == null) { + log.warn("[{}] Slack is not configured on the cloud; dropping edge-delegated notification", tenantId); + return; + } + slackService.sendMessage(tenantId, config.getBotToken(), request.getConversationId(), request.getMessage()); + } + + private void sendMobilePushForEdge(TenantId tenantId, EdgeNotificationRequest request) { + MobileAppNotificationDeliveryMethodConfig config = getMobileAppConfig(tenantId); + if (config == null || request.getFcmTokens() == null) { + log.warn("[{}] Mobile app notifications are not configured on the cloud; dropping edge-delegated push", tenantId); + return; + } + String credentials = config.getFirebaseServiceAccountCredentials(); + for (String fcmToken : request.getFcmTokens()) { + try { + firebaseService.sendMessage(tenantId, credentials, fcmToken, request.getSubject(), request.getBody(), request.getData(), request.getBadge()); + } catch (Exception e) { + log.warn("[{}] Failed to push edge-delegated notification to FCM token", tenantId, e); + } + } + } + + private SlackNotificationDeliveryMethodConfig getSlackConfig(TenantId tenantId) { + NotificationSettings settings = notificationSettingsService.findNotificationSettings(tenantId); + return (SlackNotificationDeliveryMethodConfig) settings.getDeliveryMethodsConfigs().get(NotificationDeliveryMethod.SLACK); + } + + private MobileAppNotificationDeliveryMethodConfig getMobileAppConfig(TenantId tenantId) { + NotificationSettings settings = notificationSettingsService.findNotificationSettings(tenantId); + var config = (MobileAppNotificationDeliveryMethodConfig) settings.getDeliveryMethodsConfigs().get(NotificationDeliveryMethod.MOBILE_APP); + if (config == null && !tenantId.isSysTenantId()) { + settings = notificationSettingsService.findNotificationSettings(TenantId.SYS_TENANT_ID); + config = (MobileAppNotificationDeliveryMethodConfig) settings.getDeliveryMethodsConfigs().get(NotificationDeliveryMethod.MOBILE_APP); + } + return config; + } + private ListenableFuture saveEdgeEvent(TenantId tenantId, EdgeId edgeId, EdgeEventType type, diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/EdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/EdgeRequestsService.java index 09599ba7a5..4f03d57112 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/EdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/EdgeRequestsService.java @@ -24,6 +24,9 @@ import org.thingsboard.server.gen.edge.v1.DeviceCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.EntityViewsRequestMsg; import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; +import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.WidgetBundleTypesRequestMsg; @@ -50,4 +53,10 @@ public interface EdgeRequestsService { @Deprecated(since = "3.9.1", forRemoval = true) ListenableFuture processEntityViewsRequestMsg(TenantId tenantId, Edge edge, EntityViewsRequestMsg entityViewsRequestMsg); + ListenableFuture processSendEmailMsg(TenantId tenantId, Edge edge, SendEmailUplinkMsg sendEmailUplinkMsg); + + ListenableFuture processSendSmsMsg(TenantId tenantId, Edge edge, SendSmsUplinkMsg sendSmsUplinkMsg); + + ListenableFuture processSendNotificationMsg(TenantId tenantId, Edge edge, SendNotificationUplinkMsg sendNotificationUplinkMsg); + } diff --git a/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java new file mode 100644 index 0000000000..733f824b0e --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java @@ -0,0 +1,80 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.service.mail; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.databind.JsonNode; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.rule.engine.api.TbEmail; +import org.thingsboard.server.common.data.ApiFeature; +import org.thingsboard.server.common.data.ApiUsageRecordState; +import org.thingsboard.server.common.data.ApiUsageStateValue; + +/** + * Describes a mail send that the Edge delegates to the Cloud. On the Edge, a mail send that depends + * on admin-configured (tenant/system) mail settings is packaged into this request and enqueued as a + * SEND_EMAIL cloud event. On the Cloud, {@code method} selects the matching {@code MailService} call + * so the Cloud resolves the config, renders the template and transmits via its own SMTP. + */ +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@JsonInclude(JsonInclude.Include.NON_NULL) +public class EdgeMailRequest { + + public enum MailMethod { + SEND_BASIC, // sendEmail(to, subject, message) + SEND_TB_EMAIL, // send(TbEmail) + ACTIVATION, // sendActivationEmail(activationLink, ttlMs, to) + ACCOUNT_ACTIVATED, // sendAccountActivatedEmail(loginLink, to) + RESET_PASSWORD, // sendResetPasswordEmail(passwordResetLink, ttlMs, to) + PASSWORD_WAS_RESET,// sendPasswordWasResetEmail(loginLink, to) + TWO_FA, // sendTwoFaVerificationEmail(to, verificationCode, expirationTimeSeconds) + ACCOUNT_LOCKOUT, // sendAccountLockoutEmail(lockoutEmail, to, maxFailedLoginAttempts) + API_USAGE_STATE, // sendApiFeatureStateEmail(apiFeature, stateValue, to, recordState) + TEST_MAIL // sendTestMail(config, to) + } + + private MailMethod method; + + private String to; + private String subject; + private String message; + + private TbEmail tbEmail; + + private String activationLink; + private String loginLink; + private String passwordResetLink; + private Long ttlMs; + + private String verificationCode; + private Integer expirationTimeSeconds; + + private String lockoutEmail; + private Integer maxFailedLoginAttempts; + + private ApiFeature apiFeature; + private ApiUsageStateValue stateValue; + private ApiUsageRecordState recordState; + + private JsonNode testConfig; + +} diff --git a/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java new file mode 100644 index 0000000000..b135c574e8 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java @@ -0,0 +1,76 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.service.notification; + +import com.fasterxml.jackson.annotation.JsonInclude; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** + * Describes a notification delivery that the Edge delegates to the Cloud, for channels whose credentials + * live only on the Cloud (they are stored in the {@code notifications} admin settings that no longer sync + * to the Edge). {@code method} selects the channel: + *
    + *
  • {@code SEND_SLACK} - the Cloud resolves the Slack bot token and posts {@code message} (plus any + * {@code files}) to {@code conversationId}. The whole send is delegated.
  • + *
  • {@code SEND_MOBILE_PUSH} - the Edge keeps the notification record, device-token lookup and unread + * count locally and delegates only the FCM push: the Cloud resolves the Firebase credentials and pushes + * the already-built payload ({@code subject}/{@code body}/{@code data}/{@code badge}) to every + * {@code fcmToken}.
  • + *
+ */ +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@JsonInclude(JsonInclude.Include.NON_NULL) +public class EdgeNotificationRequest { + + public enum NotificationMethod { + SEND_SLACK, + SEND_MOBILE_PUSH + } + + private NotificationMethod method; + + // SEND_SLACK + private String conversationId; + private String message; + private List files; + + // SEND_MOBILE_PUSH + private Set fcmTokens; + private String subject; + private String body; + private Map data; + private Integer badge; + + @Data + @NoArgsConstructor + @AllArgsConstructor + public static class SlackFileData { + private String name; + private String type; + private byte[] data; + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java new file mode 100644 index 0000000000..649b8a5a85 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java @@ -0,0 +1,51 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.service.sms; + +import com.fasterxml.jackson.annotation.JsonInclude; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.server.common.data.sms.config.TestSmsRequest; + +/** + * Describes an SMS send that the Edge delegates to the Cloud. On the Edge, a send that depends on + * admin-configured (tenant/system) SMS provider settings cannot be resolved locally, so the call is + * packaged into this request and enqueued as a SEND_SMS cloud event; on the Cloud, {@code method} + * selects the matching {@code SmsService} call so the Cloud resolves the config and transmits via its + * own provider. + */ +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@JsonInclude(JsonInclude.Include.NON_NULL) +public class EdgeSmsRequest { + + public enum SmsMethod { + SEND_SMS, // sendSms(customerId, numbersTo, message) + SEND_TEST_SMS // sendTestSms(testSmsRequest) + } + + private SmsMethod method; + + private String[] numbers; + private String message; + + private TestSmsRequest testSmsRequest; + +} diff --git a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java index fc65d67949..d7bf5a9fb3 100644 --- a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java @@ -42,7 +42,6 @@ import org.springframework.test.context.TestPropertySource; import org.springframework.test.util.TestSocketUtils; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.ThingsBoardExecutors; -import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Device; @@ -79,7 +78,6 @@ import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.dao.model.ModelConstants; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.edge.imitator.EdgeImitator; -import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; import org.thingsboard.server.gen.edge.v1.AssetProfileUpdateMsg; import org.thingsboard.server.gen.edge.v1.AssetUpdateMsg; import org.thingsboard.server.gen.edge.v1.CustomerUpdateMsg; @@ -1012,10 +1010,6 @@ public class EdgeControllerTest extends AbstractControllerTest { Assert.assertTrue(popQueueMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "Main")); Assert.assertTrue(popRuleChainMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "Edge Root Rule Chain")); Assert.assertTrue(popRuleChainMetadataMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, getEdgeRootRuleChainId(edgeImitator))); - Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "general")); - Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "mail")); - Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "connectivity")); - Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "jwt")); Assert.assertTrue(popDeviceProfileMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "default")); Assert.assertTrue(popDeviceProfileMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "default")); Assert.assertTrue(popAssetProfileMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "default")); @@ -1079,20 +1073,6 @@ public class EdgeControllerTest extends AbstractControllerTest { return false; } - private boolean popAdminSettingsMsg(Deque messages, String key) { - for (AbstractMessage message : messages) { - if (message instanceof AdminSettingsUpdateMsg adminSettingsUpdateMsg) { - AdminSettings adminSettings = JacksonUtil.fromString(adminSettingsUpdateMsg.getEntity(), AdminSettings.class, true); - Assert.assertNotNull(adminSettings); - if (key.equals(adminSettings.getKey())) { - messages.remove(message); - return true; - } - } - } - return false; - } - private boolean popDeviceProfileMsg(Deque messages, UpdateMsgType msgType, String name) { for (AbstractMessage message : messages) { if (message instanceof DeviceProfileUpdateMsg deviceProfileUpdateMsg) { diff --git a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java index b46811daf5..9c0bb682b2 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java @@ -128,7 +128,7 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { registry.add("edges.rpc.port", () -> EDGE_PORT); } - public static final Integer CONNECT_MESSAGE_COUNT = 17; + public static final Integer CONNECT_MESSAGE_COUNT = 13; public static final Integer INSTALLATION_MESSAGE_COUNT = 8; public static final Integer SYNC_MESSAGE_COUNT = CONNECT_MESSAGE_COUNT + INSTALLATION_MESSAGE_COUNT; private static final String THERMOSTAT_DEVICE_PROFILE_NAME = "Thermostat"; @@ -279,9 +279,9 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { validateMsgsCnt(RuleChainMetadataUpdateMsg.class, 1); validateRuleChainMetadataUpdates(ruleChainUUID); - // 4 messages ('general', 'mail', 'connectivity', 'jwt') - validateMsgsCnt(AdminSettingsUpdateMsg.class, 4); - validateAdminSettings(4); + // No admin settings are synced to the edge: 'general'/'connectivity' are system-scoped and the edge + // auto-generates its own, while 'mail'/'sms'/'notifications' are delegated to the cloud. + validateMsgsCnt(AdminSettingsUpdateMsg.class, 0); // 4 messages // - 1 from default profile fetcher diff --git a/application/src/test/java/org/thingsboard/server/edge/AdminSettingsEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AdminSettingsEdgeTest.java deleted file mode 100644 index 43350f7e8f..0000000000 --- a/application/src/test/java/org/thingsboard/server/edge/AdminSettingsEdgeTest.java +++ /dev/null @@ -1,79 +0,0 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.thingsboard.server.edge; - -import com.fasterxml.jackson.databind.node.ObjectNode; -import com.google.protobuf.AbstractMessage; -import org.junit.Assert; -import org.junit.Test; -import org.springframework.beans.factory.annotation.Autowired; -import org.thingsboard.common.util.JacksonUtil; -import org.thingsboard.server.common.data.AdminSettings; -import org.thingsboard.server.dao.service.DaoSqlTest; -import org.thingsboard.server.dao.settings.AdminSettingsService; -import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; - -@DaoSqlTest -public class AdminSettingsEdgeTest extends AbstractEdgeTest { - - @Autowired - private AdminSettingsService adminSettingsService; - - @Test - public void testAdminSettings() throws Exception { - loginSysAdmin(); - - // save - AdminSettings adminSettings = new AdminSettings(); - adminSettings.setKey("edgeTest"); - ObjectNode jsonValue = JacksonUtil.newObjectNode(); - jsonValue.put("key1", "value1"); - adminSettings.setJsonValue(jsonValue); - - edgeImitator.expectMessageAmount(1); - AdminSettings savedAdminSettings = doPost("/api/admin/settings", adminSettings, AdminSettings.class); - Assert.assertTrue(edgeImitator.waitForMessages()); - - AbstractMessage latestMessage = edgeImitator.getLatestMessage(); - Assert.assertTrue(latestMessage instanceof AdminSettingsUpdateMsg); - AdminSettingsUpdateMsg adminSettingsUpdateMsg = (AdminSettingsUpdateMsg) latestMessage; - AdminSettings adminSettingsMsg = JacksonUtil.fromString(adminSettingsUpdateMsg.getEntity(), AdminSettings.class, true); - Assert.assertNotNull(adminSettingsMsg); - Assert.assertEquals("edgeTest", adminSettingsMsg.getKey()); - Assert.assertEquals("value1", adminSettingsMsg.getJsonValue().get("key1").asText()); - - // update - ObjectNode updatedJsonValue = (ObjectNode) savedAdminSettings.getJsonValue(); - updatedJsonValue.put("key2", "value2"); - savedAdminSettings.setJsonValue(updatedJsonValue); - - edgeImitator.expectMessageAmount(1); - doPost("/api/admin/settings", savedAdminSettings, AdminSettings.class); - Assert.assertTrue(edgeImitator.waitForMessages()); - - latestMessage = edgeImitator.getLatestMessage(); - Assert.assertTrue(latestMessage instanceof AdminSettingsUpdateMsg); - adminSettingsUpdateMsg = (AdminSettingsUpdateMsg) latestMessage; - adminSettingsMsg = JacksonUtil.fromString(adminSettingsUpdateMsg.getEntity(), AdminSettings.class, true); - Assert.assertNotNull(adminSettingsMsg); - Assert.assertEquals("edgeTest", adminSettingsMsg.getKey()); - Assert.assertEquals("value1", adminSettingsMsg.getJsonValue().get("key1").asText()); - Assert.assertEquals("value2", adminSettingsMsg.getJsonValue().get("key2").asText()); - - adminSettingsService.deleteAdminSettingsByTenantIdAndKey(savedAdminSettings.getTenantId(), "edgeTest"); - } - -} diff --git a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java new file mode 100644 index 0000000000..89e31c38c7 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java @@ -0,0 +1,99 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.edge; + +import org.junit.Assert; +import org.junit.Test; +import org.springframework.test.context.bean.override.mockito.MockitoBean; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.MailService; +import org.thingsboard.rule.engine.api.TbEmail; +import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.mail.EdgeMailRequest; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.ArgumentMatchers.isNull; +import static org.mockito.Mockito.timeout; +import static org.mockito.Mockito.verify; + +/** + * Verifies the send-email uplink: when the Edge delegates a mail send, the Cloud receives the + * SendEmailUplinkMsg and invokes its MailService (which resolves the config, renders and transmits). Here + * the EdgeImitator plays the Edge and sends the uplink; the Cloud's MailService is mocked so we can assert + * the delegated call arrives with the expected arguments (the Cloud, not the Edge, uses the tenant id of + * the connected edge). + */ +@DaoSqlTest +public class SendEmailEdgeTest extends AbstractEdgeTest { + + @MockitoBean + private MailService mailService; + + @Test + public void testSendBasicEmailFromEdgeProcessedByCloud() throws Exception { + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.SEND_BASIC) + .to("recipient@thingsboard.io") + .subject("Edge test subject") + .message("Edge test body") + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendEmail(eq(tenantId), eq("recipient@thingsboard.io"), eq("Edge test subject"), eq("Edge test body")); + } + + @Test + public void testSendTbEmailFromEdgeProcessedByCloud() throws Exception { + TbEmail tbEmail = TbEmail.builder() + .from("noreply@thingsboard.io") + .to("recipient@thingsboard.io") + .subject("Rule chain email") + .body("Alarm!") + .html(false) + .build(); + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.SEND_TB_EMAIL) + .tbEmail(tbEmail) + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)).send(eq(tenantId), isNull(), any(TbEmail.class)); + } + + private void sendEmailUplink(EdgeMailRequest request) throws Exception { + SendEmailUplinkMsg sendEmailUplinkMsg = SendEmailUplinkMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setRequest(JacksonUtil.toString(request)) + .build(); + + UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); + uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); + uplinkMsgBuilder.addSendEmailUplinkMsg(sendEmailUplinkMsg); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); + Assert.assertTrue(edgeImitator.waitForResponses()); + } + +} diff --git a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java new file mode 100644 index 0000000000..3c8802f07e --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java @@ -0,0 +1,134 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.edge; + +import org.junit.Assert; +import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.bean.override.mockito.MockitoBean; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.notification.FirebaseService; +import org.thingsboard.rule.engine.api.notification.SlackService; +import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.notification.NotificationDeliveryMethod; +import org.thingsboard.server.common.data.notification.settings.MobileAppNotificationDeliveryMethodConfig; +import org.thingsboard.server.common.data.notification.settings.NotificationDeliveryMethodConfig; +import org.thingsboard.server.common.data.notification.settings.NotificationSettings; +import org.thingsboard.server.common.data.notification.settings.SlackNotificationDeliveryMethodConfig; +import org.thingsboard.server.dao.notification.NotificationSettingsService; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.notification.EdgeNotificationRequest; + +import java.util.HashMap; +import java.util.Map; +import java.util.Set; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.timeout; +import static org.mockito.Mockito.verify; + +/** + * Verifies the send-notification uplink: when the Edge delegates a Slack or mobile-push notification, the + * Cloud receives the SendNotificationUplinkMsg, resolves the channel credentials from its own notification + * settings and delivers. The EdgeImitator plays the Edge and sends the uplink; the Cloud's SlackService and + * FirebaseService are mocked so we can assert the delegated call arrives with the expected arguments. + */ +@DaoSqlTest +public class SendNotificationEdgeTest extends AbstractEdgeTest { + + @MockitoBean + private SlackService slackService; + + @MockitoBean + private FirebaseService firebaseService; + + @Autowired + private NotificationSettingsService notificationSettingsService; + + private void prepareNotificationSettings() { + // Slack is configured at tenant level. + SlackNotificationDeliveryMethodConfig slack = new SlackNotificationDeliveryMethodConfig(); + slack.setBotToken("xoxb-edge-test-token"); + NotificationSettings tenantSettings = new NotificationSettings(); + Map tenantConfigs = new HashMap<>(); + tenantConfigs.put(NotificationDeliveryMethod.SLACK, slack); + tenantSettings.setDeliveryMethodsConfigs(tenantConfigs); + notificationSettingsService.saveNotificationSettings(tenantId, tenantSettings); + + // Mobile app credentials can only be configured at system level. + MobileAppNotificationDeliveryMethodConfig mobile = new MobileAppNotificationDeliveryMethodConfig(); + mobile.setFirebaseServiceAccountCredentials("{\"type\":\"service_account\"}"); + NotificationSettings systemSettings = new NotificationSettings(); + Map systemConfigs = new HashMap<>(); + systemConfigs.put(NotificationDeliveryMethod.MOBILE_APP, mobile); + systemSettings.setDeliveryMethodsConfigs(systemConfigs); + notificationSettingsService.saveNotificationSettings(TenantId.SYS_TENANT_ID, systemSettings); + } + + @Test + public void testSendSlackNotificationFromEdgeProcessedByCloud() throws Exception { + prepareNotificationSettings(); + EdgeNotificationRequest request = EdgeNotificationRequest.builder() + .method(EdgeNotificationRequest.NotificationMethod.SEND_SLACK) + .conversationId("C0123456789") + .message("Edge Slack notification") + .build(); + + sendNotificationUplink(request); + + verify(slackService, timeout(30000)) + .sendMessage(eq(tenantId), anyString(), eq("C0123456789"), eq("Edge Slack notification")); + } + + @Test + public void testSendMobilePushFromEdgeProcessedByCloud() throws Exception { + prepareNotificationSettings(); + EdgeNotificationRequest request = EdgeNotificationRequest.builder() + .method(EdgeNotificationRequest.NotificationMethod.SEND_MOBILE_PUSH) + .fcmTokens(Set.of("fcm-token-1")) + .subject("Edge subject") + .body("Edge body") + .badge(3) + .build(); + + sendNotificationUplink(request); + + verify(firebaseService, timeout(30000)) + .sendMessage(eq(tenantId), anyString(), eq("fcm-token-1"), eq("Edge subject"), eq("Edge body"), any(), eq(3)); + } + + private void sendNotificationUplink(EdgeNotificationRequest request) throws Exception { + SendNotificationUplinkMsg sendNotificationUplinkMsg = SendNotificationUplinkMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setRequest(JacksonUtil.toString(request)) + .build(); + + UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); + uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); + uplinkMsgBuilder.addSendNotificationUplinkMsg(sendNotificationUplinkMsg); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); + Assert.assertTrue(edgeImitator.waitForResponses()); + } + +} diff --git a/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java new file mode 100644 index 0000000000..e8decbe7d2 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java @@ -0,0 +1,94 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.edge; + +import org.junit.Assert; +import org.junit.Test; +import org.springframework.test.context.bean.override.mockito.MockitoBean; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.SmsService; +import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.common.data.sms.config.TestSmsRequest; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.sms.EdgeSmsRequest; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.ArgumentMatchers.isNull; +import static org.mockito.Mockito.timeout; +import static org.mockito.Mockito.verify; + +/** + * Verifies the send-sms uplink: when the Edge delegates an SMS send, the Cloud receives the + * SendSmsUplinkMsg and invokes its SmsService (which resolves the config and transmits). Here the + * EdgeImitator plays the Edge and sends the uplink; the Cloud's SmsService is mocked so we can assert the + * delegated call arrives with the expected arguments (the Cloud, not the Edge, uses the tenant id of the + * connected edge). + */ +@DaoSqlTest +public class SmsEdgeTest extends AbstractEdgeTest { + + @MockitoBean + private SmsService smsService; + + @Test + public void testSendSmsFromEdgeProcessedByCloud() throws Exception { + EdgeSmsRequest request = EdgeSmsRequest.builder() + .method(EdgeSmsRequest.SmsMethod.SEND_SMS) + .numbers(new String[]{"+15551234567"}) + .message("Edge test message") + .build(); + + sendSmsUplink(request); + + verify(smsService, timeout(30000)) + .sendSms(eq(tenantId), isNull(), any(String[].class), eq("Edge test message")); + } + + @Test + public void testSendTestSmsFromEdgeProcessedByCloud() throws Exception { + TestSmsRequest testSmsRequest = new TestSmsRequest(); + testSmsRequest.setNumberTo("+15551234567"); + testSmsRequest.setMessage("Test message"); + EdgeSmsRequest request = EdgeSmsRequest.builder() + .method(EdgeSmsRequest.SmsMethod.SEND_TEST_SMS) + .testSmsRequest(testSmsRequest) + .build(); + + sendSmsUplink(request); + + verify(smsService, timeout(30000)).sendTestSms(any(TestSmsRequest.class)); + } + + private void sendSmsUplink(EdgeSmsRequest request) throws Exception { + SendSmsUplinkMsg sendSmsUplinkMsg = SendSmsUplinkMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setRequest(JacksonUtil.toString(request)) + .build(); + + UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); + uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); + uplinkMsgBuilder.addSendSmsUplinkMsg(sendSmsUplinkMsg); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); + Assert.assertTrue(edgeImitator.waitForResponses()); + } + +} diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index 376a4d8c5b..50a02da5d5 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -347,6 +347,24 @@ message CalculatedFieldRequestMsg { string entityType = 3; } +message SendEmailUplinkMsg { + int64 tenantIdMSB = 1; + int64 tenantIdLSB = 2; + string request = 3; +} + +message SendSmsUplinkMsg { + int64 tenantIdMSB = 1; + int64 tenantIdLSB = 2; + string request = 3; +} + +message SendNotificationUplinkMsg { + int64 tenantIdMSB = 1; + int64 tenantIdLSB = 2; + string request = 3; +} + // DEPRECATED. FOR REMOVAL message UserCredentialsRequestMsg { option deprecated = true; @@ -447,6 +465,9 @@ message UplinkMsg { repeated RuleChainMetadataUpdateMsg ruleChainMetadataUpdateMsg = 24; repeated CalculatedFieldUpdateMsg calculatedFieldUpdateMsg = 25; repeated CalculatedFieldRequestMsg calculatedFieldRequestMsg = 26; + repeated SendEmailUplinkMsg sendEmailUplinkMsg = 35; + repeated SendSmsUplinkMsg sendSmsUplinkMsg = 36; + repeated SendNotificationUplinkMsg sendNotificationUplinkMsg = 37; } message UplinkResponseMsg { From 3ca5273b0bef2ac0d648a195d898476c0930268f Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 17 Jul 2026 15:30:13 +0300 Subject: [PATCH 005/559] Receive mail/SMS/notification uplink requests from edge --- .../service/edge/EdgeContextComponent.java | 4 + .../service/edge/rpc/EdgeGrpcSession.java | 73 +++++++- .../service/edge/rpc/EdgeSyncCursor.java | 5 +- .../settings/AdminSettingsEdgeProcessor.java | 89 ++++++++++ .../rpc/sync/DefaultEdgeRequestsService.java | 168 ++++++++++++++++++ .../edge/rpc/sync/EdgeRequestsService.java | 9 + .../server/service/mail/EdgeMailRequest.java | 80 +++++++++ .../notification/EdgeNotificationRequest.java | 76 ++++++++ .../server/service/sms/EdgeSmsRequest.java | 51 ++++++ .../server/controller/EdgeControllerTest.java | 20 --- .../server/edge/AbstractEdgeTest.java | 8 +- .../server/edge/AdminSettingsEdgeTest.java | 79 -------- .../server/edge/SendEmailEdgeTest.java | 99 +++++++++++ .../server/edge/SendNotificationEdgeTest.java | 134 ++++++++++++++ .../thingsboard/server/edge/SmsEdgeTest.java | 94 ++++++++++ common/edge-api/src/main/proto/edge.proto | 21 +++ 16 files changed, 903 insertions(+), 107 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java create mode 100644 application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java create mode 100644 application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java delete mode 100644 application/src/test/java/org/thingsboard/server/edge/AdminSettingsEdgeTest.java create mode 100644 application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java create mode 100644 application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java create mode 100644 application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java index c99261b249..15c81fff8d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java @@ -76,6 +76,7 @@ import org.thingsboard.server.service.edge.rpc.processor.relation.RelationEdgePr import org.thingsboard.server.service.edge.rpc.processor.resource.ResourceEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainMetadataEdgeProcessor; +import org.thingsboard.server.service.edge.rpc.processor.settings.AdminSettingsEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.telemetry.TelemetryEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.user.UserProcessor; import org.thingsboard.server.service.edge.rpc.sync.EdgeRequestsService; @@ -213,6 +214,9 @@ public class EdgeContextComponent { private Optional statsCounterService; // processors + @Autowired + private AdminSettingsEdgeProcessor adminSettingsProcessor; + @Autowired private AlarmProcessor alarmProcessor; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java index de4a92ae8c..950acead39 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java @@ -81,6 +81,9 @@ import org.thingsboard.server.gen.edge.v1.RequestMsgType; import org.thingsboard.server.gen.edge.v1.ResourceUpdateMsg; import org.thingsboard.server.gen.edge.v1.ResponseMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; +import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataUpdateMsg; import org.thingsboard.server.gen.edge.v1.RuleChainUpdateMsg; import org.thingsboard.server.gen.edge.v1.SyncCompletedMsg; @@ -116,6 +119,7 @@ public abstract class EdgeGrpcSession implements Closeable { private static final String QUEUE_START_TS_ATTR_KEY = "queueStartTs"; private static final String QUEUE_START_SEQ_ID_ATTR_KEY = "queueStartSeqId"; + private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; private static final int MAX_DOWNLINK_ATTEMPTS = 3; private static final String RATE_LIMIT_REACHED = "Rate limit reached"; @@ -262,12 +266,64 @@ public abstract class EdgeGrpcSession implements Closeable { log.info("[{}][{}][{}] Staring edge sync process", tenantId, edge.getId(), sessionId); updateSyncInProgress(true); interruptGeneralProcessingOnSync(); - doSync(new EdgeSyncCursor(ctx, edge, fullSync)); + sendOneTimeAdminSettingsCleanupIfNeeded(() -> doSync(new EdgeSyncCursor(ctx, edge, fullSync))); } else { log.info("[{}][{}][{}] Sync is already started, skipping starting it now", tenantId, edge.getId(), sessionId); } } + private void sendOneTimeAdminSettingsCleanupIfNeeded(Runnable continuation) { + if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, EdgeVersion.V_4_3_1_4)) { + continuation.run(); + return; + } + try { + ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() + .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); + + ListenableFuture cleanupFuture = Futures.transformAsync( + isCleanupCompletedAttrFuture, + attr -> { + boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); + if (alreadyCompleted) { + return Futures.immediateFuture(false); + } + List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); + if (cleanupMsgs.isEmpty()) { + return Futures.immediateFuture(true); + } + // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise + return Futures.transform(sendDownlinkMsgsPack(cleanupMsgs), + isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); + }, ctx.getGrpcCallbackExecutorService()); + + Futures.addCallback(cleanupFuture, new FutureCallback<>() { + @Override + public void onSuccess(@Nullable Boolean markCompleted) { + if (Boolean.TRUE.equals(markCompleted)) { + markAdminSettingsCleanupCompleted(); + } + continuation.run(); + } + + @Override + public void onFailure(Throwable t) { + log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); + continuation.run(); + } + }, ctx.getGrpcCallbackExecutorService()); + } catch (Exception e) { + log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); + continuation.run(); + } + } + + private void markAdminSettingsCleanupCompleted() { + AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( + new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); + ctx.getAttributesService().save(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); + } + private void doSync(EdgeSyncCursor cursor) { if (cursor.hasNext()) { EdgeEventFetcher next = cursor.getNext(); @@ -949,6 +1005,21 @@ public abstract class EdgeGrpcSession implements Closeable { result.add(ctx.getDeviceProcessor().processDeviceRpcCallFromEdge(edge.getTenantId(), edge, deviceRpcCallMsg)); } } + if (uplinkMsg.getSendEmailUplinkMsgCount() > 0) { + for (SendEmailUplinkMsg sendEmailUplinkMsg : uplinkMsg.getSendEmailUplinkMsgList()) { + result.add(ctx.getEdgeRequestsService().processSendEmailMsg(edge.getTenantId(), edge, sendEmailUplinkMsg)); + } + } + if (uplinkMsg.getSendSmsUplinkMsgCount() > 0) { + for (SendSmsUplinkMsg sendSmsUplinkMsg : uplinkMsg.getSendSmsUplinkMsgList()) { + result.add(ctx.getEdgeRequestsService().processSendSmsMsg(edge.getTenantId(), edge, sendSmsUplinkMsg)); + } + } + if (uplinkMsg.getSendNotificationUplinkMsgCount() > 0) { + for (SendNotificationUplinkMsg sendNotificationUplinkMsg : uplinkMsg.getSendNotificationUplinkMsgList()) { + result.add(ctx.getEdgeRequestsService().processSendNotificationMsg(edge.getTenantId(), edge, sendNotificationUplinkMsg)); + } + } if (uplinkMsg.getWidgetBundleTypesRequestMsgCount() > 0) { for (WidgetBundleTypesRequestMsg widgetBundleTypesRequestMsg : uplinkMsg.getWidgetBundleTypesRequestMsgList()) { result.add(ctx.getEdgeRequestsService().processWidgetBundleTypesRequestMsg(edge.getTenantId(), edge, widgetBundleTypesRequestMsg)); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java index e9134a0b60..d650be2a26 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java @@ -21,7 +21,6 @@ import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.service.edge.EdgeContextComponent; -import org.thingsboard.server.service.edge.rpc.fetch.AdminSettingsEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.AiModelEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.AssetProfilesEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.AssetsEdgeEventFetcher; @@ -64,8 +63,8 @@ public class EdgeSyncCursor { fetchers.add(new TenantEdgeEventFetcher(ctx.getTenantService())); fetchers.add(new QueuesEdgeEventFetcher(ctx.getQueueService())); fetchers.add(new RuleChainsEdgeEventFetcher(ctx.getRuleChainService())); - fetchers.add(new AdminSettingsEdgeEventFetcher(ctx.getAdminSettingsService(), TenantId.SYS_TENANT_ID)); - fetchers.add(new AdminSettingsEdgeEventFetcher(ctx.getAdminSettingsService(), edge.getTenantId())); + // Admin settings are not synced to the edge: 'general'/'connectivity' are system-scoped and the edge + // auto-generates its own on install, while 'mail'/'sms'/'notifications' are delegated to the cloud. fetchers.add(new TenantAdminUsersEdgeEventFetcher(ctx.getUserService())); fetchers.add(new OAuth2EdgeEventFetcher(ctx.getDomainService())); fetchers.add(new SystemWidgetTypesEdgeEventFetcher(ctx.getWidgetTypeService())); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java index 2e0a65f324..2bf55f7c1a 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java @@ -15,25 +15,53 @@ */ package org.thingsboard.server.service.edge.rpc.processor.settings; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.extern.slf4j.Slf4j; +import org.apache.commons.lang3.RandomStringUtils; +import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.id.AdminSettingsId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; +import org.thingsboard.server.common.data.security.model.JwtSettings; import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; +import org.thingsboard.server.service.security.auth.jwt.settings.JwtSettingsService; + +import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.Base64; +import java.util.HashSet; +import java.util.List; +import java.util.Set; @Slf4j @Component @TbCoreComponent public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { + private static final Set EDGE_SYNCED_SETTINGS_KEYS = Set.of("general", "connectivity"); + + private static final int DEFAULT_PAGE_SIZE = 1000; + + @Value("${security.jwt.tokenExpirationTime:9000}") + private Integer tokenExpirationTime; + @Value("${security.jwt.refreshTokenExpTime:604800}") + private Integer refreshTokenExpTime; + @Value("${security.jwt.tokenIssuer:thingsboard.io}") + private String tokenIssuer; + @Override public DownlinkMsg convertEdgeEventToDownlink(EdgeEvent edgeEvent, EdgeVersion edgeVersion) { AdminSettings adminSettings = null; @@ -47,6 +75,12 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { if (adminSettings == null) { return null; } + if (TenantId.SYS_TENANT_ID.equals(adminSettings.getTenantId()) + || !EDGE_SYNCED_SETTINGS_KEYS.contains(adminSettings.getKey())) { + log.trace("Skipping admin settings [{}] sync to edge [{}] - not in the edge allow-list", + adminSettings.getKey(), edgeEvent.getEdgeId()); + return null; + } AdminSettingsUpdateMsg msg = AdminSettingsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(adminSettings)).build(); return DownlinkMsg.newBuilder() .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) @@ -54,6 +88,61 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { .build(); } + public List convertAdminSettingsCleanupToDownlinks(Edge edge) { + List result = new ArrayList<>(); + Set cleanedKeys = new HashSet<>(); + + Set tenantScopes = Set.of(TenantId.SYS_TENANT_ID, edge.getTenantId()); + for (TenantId scope : tenantScopes) { + PageLink pageLink = new PageLink(DEFAULT_PAGE_SIZE); + PageData page; + do { + page = edgeCtx.getAdminSettingsService().findAllByTenantId(scope, pageLink); + for (AdminSettings adminSettings : page.getData()) { + String key = adminSettings.getKey(); + if (EDGE_SYNCED_SETTINGS_KEYS.contains(key) || !cleanedKeys.add(key)) { + continue; + } + result.add(buildAdminSettingsCleanupDownlink(key)); + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext()); + } + log.info("[{}][{}] Prepared {} one-time admin settings cleanup message(s): {}", + edge.getTenantId(), edge.getId(), result.size(), cleanedKeys); + return result; + } + + private DownlinkMsg buildAdminSettingsCleanupDownlink(String key) { + AdminSettings adminSettings = new AdminSettings(); + adminSettings.setTenantId(TenantId.SYS_TENANT_ID); + adminSettings.setKey(key); + adminSettings.setJsonValue(buildAdminSettingsCleanupValue(key)); + AdminSettingsUpdateMsg msg = AdminSettingsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(adminSettings)).build(); + return DownlinkMsg.newBuilder() + .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) + .addAdminSettingsUpdateMsg(msg) + .build(); + } + + private JsonNode buildAdminSettingsCleanupValue(String key) { + if (JwtSettingsService.ADMIN_SETTINGS_JWT_KEY.equals(key)) { + return JacksonUtil.valueToTree(generateRandomJwtSettings()); + } + ObjectNode value = JacksonUtil.newObjectNode(); + if ("mail".equals(key)) { + value.put("password", ""); + value.put("refreshToken", ""); + } + return value; + } + + private JwtSettings generateRandomJwtSettings() { + String randomSigningKey = Base64.getEncoder().encodeToString( + RandomStringUtils.secure().nextAlphanumeric(64).getBytes(StandardCharsets.UTF_8)); + return new JwtSettings(tokenExpirationTime, refreshTokenExpTime, tokenIssuer, randomSigningKey); + } + @Override public EdgeEventType getEdgeEventType() { return EdgeEventType.ADMIN_SETTINGS; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index 74de2132b4..823d3b6b9d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -27,6 +27,10 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.MailService; +import org.thingsboard.rule.engine.api.SmsService; +import org.thingsboard.rule.engine.api.notification.FirebaseService; +import org.thingsboard.rule.engine.api.notification.SlackService; import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.EdgeUtils; import org.thingsboard.server.common.data.EntityType; @@ -46,6 +50,10 @@ import org.thingsboard.server.common.data.id.WidgetsBundleId; import org.thingsboard.server.common.data.kv.AttributeKvEntry; import org.thingsboard.server.common.data.kv.DataType; import org.thingsboard.server.common.data.kv.TsKvEntry; +import org.thingsboard.server.common.data.notification.NotificationDeliveryMethod; +import org.thingsboard.server.common.data.notification.settings.MobileAppNotificationDeliveryMethodConfig; +import org.thingsboard.server.common.data.notification.settings.NotificationSettings; +import org.thingsboard.server.common.data.notification.settings.SlackNotificationDeliveryMethodConfig; import org.thingsboard.server.common.data.relation.EntityRelation; import org.thingsboard.server.common.data.relation.EntityRelationsQuery; import org.thingsboard.server.common.data.relation.EntitySearchDirection; @@ -56,6 +64,7 @@ import org.thingsboard.server.common.data.widget.WidgetsBundle; import org.thingsboard.server.dao.attributes.AttributesService; import org.thingsboard.server.dao.cf.CalculatedFieldService; import org.thingsboard.server.dao.edge.EdgeEventService; +import org.thingsboard.server.dao.notification.NotificationSettingsService; import org.thingsboard.server.dao.relation.RelationService; import org.thingsboard.server.dao.timeseries.TimeseriesService; import org.thingsboard.server.dao.widget.WidgetTypeService; @@ -66,10 +75,16 @@ import org.thingsboard.server.gen.edge.v1.DeviceCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.EntityViewsRequestMsg; import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; +import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.WidgetBundleTypesRequestMsg; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.entitiy.entityview.TbEntityViewService; +import org.thingsboard.server.service.mail.EdgeMailRequest; +import org.thingsboard.server.service.notification.EdgeNotificationRequest; +import org.thingsboard.server.service.sms.EdgeSmsRequest; import org.thingsboard.server.service.executors.DbCallbackExecutorService; import org.thingsboard.server.service.state.DefaultDeviceStateService; @@ -112,6 +127,21 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Autowired private DbCallbackExecutorService dbCallbackExecutorService; + @Autowired + private MailService mailService; + + @Autowired + private SmsService smsService; + + @Autowired + private SlackService slackService; + + @Autowired + private FirebaseService firebaseService; + + @Autowired + private NotificationSettingsService notificationSettingsService; + @Override public ListenableFuture processRuleChainMetadataRequestMsg(TenantId tenantId, Edge edge, RuleChainMetadataRequestMsg ruleChainMetadataRequestMsg) { log.trace("[{}] processRuleChainMetadataRequestMsg [{}][{}]", tenantId, edge.getName(), ruleChainMetadataRequestMsg); @@ -433,6 +463,144 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return futureToSet; } + @Override + public ListenableFuture processSendEmailMsg(TenantId tenantId, Edge edge, SendEmailUplinkMsg sendEmailUplinkMsg) { + log.trace("[{}] processSendEmailMsg [{}]", tenantId, edge.getName()); + dbCallbackExecutorService.submit(() -> { + try { + sendEmailForEdge(tenantId, sendEmailUplinkMsg); + } catch (Exception e) { + log.warn("[{}] Failed to send email requested by edge [{}]", tenantId, edge.getName(), e); + } + return null; + }); + return Futures.immediateFuture(null); + } + + private void sendEmailForEdge(TenantId tenantId, SendEmailUplinkMsg sendEmailUplinkMsg) throws Exception { + EdgeMailRequest request = JacksonUtil.fromString(sendEmailUplinkMsg.getRequest(), EdgeMailRequest.class); + if (request == null || request.getMethod() == null) { + log.warn("[{}] Received empty send email request from edge", tenantId); + return; + } + switch (request.getMethod()) { + case SEND_BASIC -> + mailService.sendEmail(tenantId, request.getTo(), request.getSubject(), request.getMessage()); + case SEND_TB_EMAIL -> + mailService.send(tenantId, null, request.getTbEmail()); + case ACTIVATION -> + mailService.sendActivationEmail(request.getActivationLink(), request.getTtlMs(), request.getTo()); + case ACCOUNT_ACTIVATED -> + mailService.sendAccountActivatedEmail(request.getLoginLink(), request.getTo()); + case RESET_PASSWORD -> + mailService.sendResetPasswordEmail(request.getPasswordResetLink(), request.getTtlMs(), request.getTo()); + case PASSWORD_WAS_RESET -> + mailService.sendPasswordWasResetEmail(request.getLoginLink(), request.getTo()); + case TWO_FA -> + mailService.sendTwoFaVerificationEmail(request.getTo(), request.getVerificationCode(), request.getExpirationTimeSeconds()); + case ACCOUNT_LOCKOUT -> + mailService.sendAccountLockoutEmail(request.getLockoutEmail(), request.getTo(), request.getMaxFailedLoginAttempts()); + case API_USAGE_STATE -> + mailService.sendApiFeatureStateEmail(request.getApiFeature(), request.getStateValue(), request.getTo(), request.getRecordState()); + case TEST_MAIL -> + mailService.sendTestMail(request.getTestConfig(), request.getTo()); + } + } + + @Override + public ListenableFuture processSendSmsMsg(TenantId tenantId, Edge edge, SendSmsUplinkMsg sendSmsUplinkMsg) { + log.trace("[{}] processSendSmsMsg [{}]", tenantId, edge.getName()); + dbCallbackExecutorService.submit(() -> { + try { + sendSmsForEdge(tenantId, sendSmsUplinkMsg); + } catch (Exception e) { + log.warn("[{}] Failed to send sms requested by edge [{}]", tenantId, edge.getName(), e); + } + return null; + }); + return Futures.immediateFuture(null); + } + + private void sendSmsForEdge(TenantId tenantId, SendSmsUplinkMsg sendSmsUplinkMsg) throws Exception { + EdgeSmsRequest request = JacksonUtil.fromString(sendSmsUplinkMsg.getRequest(), EdgeSmsRequest.class); + if (request == null || request.getMethod() == null) { + log.warn("[{}] Received empty send sms request from edge", tenantId); + return; + } + switch (request.getMethod()) { + case SEND_SMS -> + smsService.sendSms(tenantId, null, request.getNumbers(), request.getMessage()); + case SEND_TEST_SMS -> + smsService.sendTestSms(request.getTestSmsRequest()); + } + } + + @Override + public ListenableFuture processSendNotificationMsg(TenantId tenantId, Edge edge, SendNotificationUplinkMsg sendNotificationUplinkMsg) { + log.trace("[{}] processSendNotificationMsg [{}]", tenantId, edge.getName()); + dbCallbackExecutorService.submit(() -> { + try { + sendNotificationForEdge(tenantId, sendNotificationUplinkMsg); + } catch (Exception e) { + log.warn("[{}] Failed to send notification requested by edge [{}]", tenantId, edge.getName(), e); + } + return null; + }); + return Futures.immediateFuture(null); + } + + private void sendNotificationForEdge(TenantId tenantId, SendNotificationUplinkMsg sendNotificationUplinkMsg) throws Exception { + EdgeNotificationRequest request = JacksonUtil.fromString(sendNotificationUplinkMsg.getRequest(), EdgeNotificationRequest.class); + if (request == null || request.getMethod() == null) { + log.warn("[{}] Received empty send notification request from edge", tenantId); + return; + } + switch (request.getMethod()) { + case SEND_SLACK -> sendSlackForEdge(tenantId, request); + case SEND_MOBILE_PUSH -> sendMobilePushForEdge(tenantId, request); + } + } + + private void sendSlackForEdge(TenantId tenantId, EdgeNotificationRequest request) { + SlackNotificationDeliveryMethodConfig config = getSlackConfig(tenantId); + if (config == null) { + log.warn("[{}] Slack is not configured on the cloud; dropping edge-delegated notification", tenantId); + return; + } + slackService.sendMessage(tenantId, config.getBotToken(), request.getConversationId(), request.getMessage()); + } + + private void sendMobilePushForEdge(TenantId tenantId, EdgeNotificationRequest request) { + MobileAppNotificationDeliveryMethodConfig config = getMobileAppConfig(tenantId); + if (config == null || request.getFcmTokens() == null) { + log.warn("[{}] Mobile app notifications are not configured on the cloud; dropping edge-delegated push", tenantId); + return; + } + String credentials = config.getFirebaseServiceAccountCredentials(); + for (String fcmToken : request.getFcmTokens()) { + try { + firebaseService.sendMessage(tenantId, credentials, fcmToken, request.getSubject(), request.getBody(), request.getData(), request.getBadge()); + } catch (Exception e) { + log.warn("[{}] Failed to push edge-delegated notification to FCM token", tenantId, e); + } + } + } + + private SlackNotificationDeliveryMethodConfig getSlackConfig(TenantId tenantId) { + NotificationSettings settings = notificationSettingsService.findNotificationSettings(tenantId); + return (SlackNotificationDeliveryMethodConfig) settings.getDeliveryMethodsConfigs().get(NotificationDeliveryMethod.SLACK); + } + + private MobileAppNotificationDeliveryMethodConfig getMobileAppConfig(TenantId tenantId) { + NotificationSettings settings = notificationSettingsService.findNotificationSettings(tenantId); + var config = (MobileAppNotificationDeliveryMethodConfig) settings.getDeliveryMethodsConfigs().get(NotificationDeliveryMethod.MOBILE_APP); + if (config == null && !tenantId.isSysTenantId()) { + settings = notificationSettingsService.findNotificationSettings(TenantId.SYS_TENANT_ID); + config = (MobileAppNotificationDeliveryMethodConfig) settings.getDeliveryMethodsConfigs().get(NotificationDeliveryMethod.MOBILE_APP); + } + return config; + } + private ListenableFuture saveEdgeEvent(TenantId tenantId, EdgeId edgeId, EdgeEventType type, diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/EdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/EdgeRequestsService.java index 09599ba7a5..4f03d57112 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/EdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/EdgeRequestsService.java @@ -24,6 +24,9 @@ import org.thingsboard.server.gen.edge.v1.DeviceCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.EntityViewsRequestMsg; import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; +import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.WidgetBundleTypesRequestMsg; @@ -50,4 +53,10 @@ public interface EdgeRequestsService { @Deprecated(since = "3.9.1", forRemoval = true) ListenableFuture processEntityViewsRequestMsg(TenantId tenantId, Edge edge, EntityViewsRequestMsg entityViewsRequestMsg); + ListenableFuture processSendEmailMsg(TenantId tenantId, Edge edge, SendEmailUplinkMsg sendEmailUplinkMsg); + + ListenableFuture processSendSmsMsg(TenantId tenantId, Edge edge, SendSmsUplinkMsg sendSmsUplinkMsg); + + ListenableFuture processSendNotificationMsg(TenantId tenantId, Edge edge, SendNotificationUplinkMsg sendNotificationUplinkMsg); + } diff --git a/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java new file mode 100644 index 0000000000..733f824b0e --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java @@ -0,0 +1,80 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.service.mail; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.databind.JsonNode; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.rule.engine.api.TbEmail; +import org.thingsboard.server.common.data.ApiFeature; +import org.thingsboard.server.common.data.ApiUsageRecordState; +import org.thingsboard.server.common.data.ApiUsageStateValue; + +/** + * Describes a mail send that the Edge delegates to the Cloud. On the Edge, a mail send that depends + * on admin-configured (tenant/system) mail settings is packaged into this request and enqueued as a + * SEND_EMAIL cloud event. On the Cloud, {@code method} selects the matching {@code MailService} call + * so the Cloud resolves the config, renders the template and transmits via its own SMTP. + */ +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@JsonInclude(JsonInclude.Include.NON_NULL) +public class EdgeMailRequest { + + public enum MailMethod { + SEND_BASIC, // sendEmail(to, subject, message) + SEND_TB_EMAIL, // send(TbEmail) + ACTIVATION, // sendActivationEmail(activationLink, ttlMs, to) + ACCOUNT_ACTIVATED, // sendAccountActivatedEmail(loginLink, to) + RESET_PASSWORD, // sendResetPasswordEmail(passwordResetLink, ttlMs, to) + PASSWORD_WAS_RESET,// sendPasswordWasResetEmail(loginLink, to) + TWO_FA, // sendTwoFaVerificationEmail(to, verificationCode, expirationTimeSeconds) + ACCOUNT_LOCKOUT, // sendAccountLockoutEmail(lockoutEmail, to, maxFailedLoginAttempts) + API_USAGE_STATE, // sendApiFeatureStateEmail(apiFeature, stateValue, to, recordState) + TEST_MAIL // sendTestMail(config, to) + } + + private MailMethod method; + + private String to; + private String subject; + private String message; + + private TbEmail tbEmail; + + private String activationLink; + private String loginLink; + private String passwordResetLink; + private Long ttlMs; + + private String verificationCode; + private Integer expirationTimeSeconds; + + private String lockoutEmail; + private Integer maxFailedLoginAttempts; + + private ApiFeature apiFeature; + private ApiUsageStateValue stateValue; + private ApiUsageRecordState recordState; + + private JsonNode testConfig; + +} diff --git a/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java new file mode 100644 index 0000000000..b135c574e8 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java @@ -0,0 +1,76 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.service.notification; + +import com.fasterxml.jackson.annotation.JsonInclude; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** + * Describes a notification delivery that the Edge delegates to the Cloud, for channels whose credentials + * live only on the Cloud (they are stored in the {@code notifications} admin settings that no longer sync + * to the Edge). {@code method} selects the channel: + *
    + *
  • {@code SEND_SLACK} - the Cloud resolves the Slack bot token and posts {@code message} (plus any + * {@code files}) to {@code conversationId}. The whole send is delegated.
  • + *
  • {@code SEND_MOBILE_PUSH} - the Edge keeps the notification record, device-token lookup and unread + * count locally and delegates only the FCM push: the Cloud resolves the Firebase credentials and pushes + * the already-built payload ({@code subject}/{@code body}/{@code data}/{@code badge}) to every + * {@code fcmToken}.
  • + *
+ */ +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@JsonInclude(JsonInclude.Include.NON_NULL) +public class EdgeNotificationRequest { + + public enum NotificationMethod { + SEND_SLACK, + SEND_MOBILE_PUSH + } + + private NotificationMethod method; + + // SEND_SLACK + private String conversationId; + private String message; + private List files; + + // SEND_MOBILE_PUSH + private Set fcmTokens; + private String subject; + private String body; + private Map data; + private Integer badge; + + @Data + @NoArgsConstructor + @AllArgsConstructor + public static class SlackFileData { + private String name; + private String type; + private byte[] data; + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java new file mode 100644 index 0000000000..649b8a5a85 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java @@ -0,0 +1,51 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.service.sms; + +import com.fasterxml.jackson.annotation.JsonInclude; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.server.common.data.sms.config.TestSmsRequest; + +/** + * Describes an SMS send that the Edge delegates to the Cloud. On the Edge, a send that depends on + * admin-configured (tenant/system) SMS provider settings cannot be resolved locally, so the call is + * packaged into this request and enqueued as a SEND_SMS cloud event; on the Cloud, {@code method} + * selects the matching {@code SmsService} call so the Cloud resolves the config and transmits via its + * own provider. + */ +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@JsonInclude(JsonInclude.Include.NON_NULL) +public class EdgeSmsRequest { + + public enum SmsMethod { + SEND_SMS, // sendSms(customerId, numbersTo, message) + SEND_TEST_SMS // sendTestSms(testSmsRequest) + } + + private SmsMethod method; + + private String[] numbers; + private String message; + + private TestSmsRequest testSmsRequest; + +} diff --git a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java index 9d50e3a62c..a6ed979119 100644 --- a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java @@ -42,7 +42,6 @@ import org.springframework.test.context.TestPropertySource; import org.springframework.test.util.TestSocketUtils; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.ThingsBoardExecutors; -import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Device; @@ -79,7 +78,6 @@ import org.thingsboard.server.exception.DataValidationException; import org.thingsboard.server.dao.model.ModelConstants; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.edge.imitator.EdgeImitator; -import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; import org.thingsboard.server.gen.edge.v1.AssetProfileUpdateMsg; import org.thingsboard.server.gen.edge.v1.AssetUpdateMsg; import org.thingsboard.server.gen.edge.v1.CustomerUpdateMsg; @@ -1012,10 +1010,6 @@ public class EdgeControllerTest extends AbstractControllerTest { Assert.assertTrue(popQueueMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "Main")); Assert.assertTrue(popRuleChainMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "Edge Root Rule Chain")); Assert.assertTrue(popRuleChainMetadataMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, getEdgeRootRuleChainId(edgeImitator))); - Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "general")); - Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "mail")); - Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "connectivity")); - Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "jwt")); Assert.assertTrue(popDeviceProfileMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "default")); Assert.assertTrue(popDeviceProfileMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "default")); Assert.assertTrue(popAssetProfileMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "default")); @@ -1079,20 +1073,6 @@ public class EdgeControllerTest extends AbstractControllerTest { return false; } - private boolean popAdminSettingsMsg(Deque messages, String key) { - for (AbstractMessage message : messages) { - if (message instanceof AdminSettingsUpdateMsg adminSettingsUpdateMsg) { - AdminSettings adminSettings = JacksonUtil.fromString(adminSettingsUpdateMsg.getEntity(), AdminSettings.class, true); - Assert.assertNotNull(adminSettings); - if (key.equals(adminSettings.getKey())) { - messages.remove(message); - return true; - } - } - } - return false; - } - private boolean popDeviceProfileMsg(Deque messages, UpdateMsgType msgType, String name) { for (AbstractMessage message : messages) { if (message instanceof DeviceProfileUpdateMsg deviceProfileUpdateMsg) { diff --git a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java index d75c7b8f59..156b561d63 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java @@ -131,7 +131,7 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { registry.add("edges.rpc.port", () -> EDGE_PORT); } - public static final Integer CONNECT_MESSAGE_COUNT = 17; + public static final Integer CONNECT_MESSAGE_COUNT = 13; public static final Integer INSTALLATION_MESSAGE_COUNT = 8; public static final Integer SYNC_MESSAGE_COUNT = CONNECT_MESSAGE_COUNT + INSTALLATION_MESSAGE_COUNT; private static final String THERMOSTAT_DEVICE_PROFILE_NAME = "Thermostat"; @@ -282,9 +282,9 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { validateMsgsCnt(RuleChainMetadataUpdateMsg.class, 1); validateRuleChainMetadataUpdates(ruleChainUUID); - // 4 messages ('general', 'mail', 'connectivity', 'jwt') - validateMsgsCnt(AdminSettingsUpdateMsg.class, 4); - validateAdminSettings(4); + // No admin settings are synced to the edge: 'general'/'connectivity' are system-scoped and the edge + // auto-generates its own, while 'mail'/'sms'/'notifications' are delegated to the cloud. + validateMsgsCnt(AdminSettingsUpdateMsg.class, 0); // 4 messages // - 1 from default profile fetcher diff --git a/application/src/test/java/org/thingsboard/server/edge/AdminSettingsEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AdminSettingsEdgeTest.java deleted file mode 100644 index 43350f7e8f..0000000000 --- a/application/src/test/java/org/thingsboard/server/edge/AdminSettingsEdgeTest.java +++ /dev/null @@ -1,79 +0,0 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.thingsboard.server.edge; - -import com.fasterxml.jackson.databind.node.ObjectNode; -import com.google.protobuf.AbstractMessage; -import org.junit.Assert; -import org.junit.Test; -import org.springframework.beans.factory.annotation.Autowired; -import org.thingsboard.common.util.JacksonUtil; -import org.thingsboard.server.common.data.AdminSettings; -import org.thingsboard.server.dao.service.DaoSqlTest; -import org.thingsboard.server.dao.settings.AdminSettingsService; -import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; - -@DaoSqlTest -public class AdminSettingsEdgeTest extends AbstractEdgeTest { - - @Autowired - private AdminSettingsService adminSettingsService; - - @Test - public void testAdminSettings() throws Exception { - loginSysAdmin(); - - // save - AdminSettings adminSettings = new AdminSettings(); - adminSettings.setKey("edgeTest"); - ObjectNode jsonValue = JacksonUtil.newObjectNode(); - jsonValue.put("key1", "value1"); - adminSettings.setJsonValue(jsonValue); - - edgeImitator.expectMessageAmount(1); - AdminSettings savedAdminSettings = doPost("/api/admin/settings", adminSettings, AdminSettings.class); - Assert.assertTrue(edgeImitator.waitForMessages()); - - AbstractMessage latestMessage = edgeImitator.getLatestMessage(); - Assert.assertTrue(latestMessage instanceof AdminSettingsUpdateMsg); - AdminSettingsUpdateMsg adminSettingsUpdateMsg = (AdminSettingsUpdateMsg) latestMessage; - AdminSettings adminSettingsMsg = JacksonUtil.fromString(adminSettingsUpdateMsg.getEntity(), AdminSettings.class, true); - Assert.assertNotNull(adminSettingsMsg); - Assert.assertEquals("edgeTest", adminSettingsMsg.getKey()); - Assert.assertEquals("value1", adminSettingsMsg.getJsonValue().get("key1").asText()); - - // update - ObjectNode updatedJsonValue = (ObjectNode) savedAdminSettings.getJsonValue(); - updatedJsonValue.put("key2", "value2"); - savedAdminSettings.setJsonValue(updatedJsonValue); - - edgeImitator.expectMessageAmount(1); - doPost("/api/admin/settings", savedAdminSettings, AdminSettings.class); - Assert.assertTrue(edgeImitator.waitForMessages()); - - latestMessage = edgeImitator.getLatestMessage(); - Assert.assertTrue(latestMessage instanceof AdminSettingsUpdateMsg); - adminSettingsUpdateMsg = (AdminSettingsUpdateMsg) latestMessage; - adminSettingsMsg = JacksonUtil.fromString(adminSettingsUpdateMsg.getEntity(), AdminSettings.class, true); - Assert.assertNotNull(adminSettingsMsg); - Assert.assertEquals("edgeTest", adminSettingsMsg.getKey()); - Assert.assertEquals("value1", adminSettingsMsg.getJsonValue().get("key1").asText()); - Assert.assertEquals("value2", adminSettingsMsg.getJsonValue().get("key2").asText()); - - adminSettingsService.deleteAdminSettingsByTenantIdAndKey(savedAdminSettings.getTenantId(), "edgeTest"); - } - -} diff --git a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java new file mode 100644 index 0000000000..89e31c38c7 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java @@ -0,0 +1,99 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.edge; + +import org.junit.Assert; +import org.junit.Test; +import org.springframework.test.context.bean.override.mockito.MockitoBean; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.MailService; +import org.thingsboard.rule.engine.api.TbEmail; +import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.mail.EdgeMailRequest; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.ArgumentMatchers.isNull; +import static org.mockito.Mockito.timeout; +import static org.mockito.Mockito.verify; + +/** + * Verifies the send-email uplink: when the Edge delegates a mail send, the Cloud receives the + * SendEmailUplinkMsg and invokes its MailService (which resolves the config, renders and transmits). Here + * the EdgeImitator plays the Edge and sends the uplink; the Cloud's MailService is mocked so we can assert + * the delegated call arrives with the expected arguments (the Cloud, not the Edge, uses the tenant id of + * the connected edge). + */ +@DaoSqlTest +public class SendEmailEdgeTest extends AbstractEdgeTest { + + @MockitoBean + private MailService mailService; + + @Test + public void testSendBasicEmailFromEdgeProcessedByCloud() throws Exception { + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.SEND_BASIC) + .to("recipient@thingsboard.io") + .subject("Edge test subject") + .message("Edge test body") + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendEmail(eq(tenantId), eq("recipient@thingsboard.io"), eq("Edge test subject"), eq("Edge test body")); + } + + @Test + public void testSendTbEmailFromEdgeProcessedByCloud() throws Exception { + TbEmail tbEmail = TbEmail.builder() + .from("noreply@thingsboard.io") + .to("recipient@thingsboard.io") + .subject("Rule chain email") + .body("Alarm!") + .html(false) + .build(); + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.SEND_TB_EMAIL) + .tbEmail(tbEmail) + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)).send(eq(tenantId), isNull(), any(TbEmail.class)); + } + + private void sendEmailUplink(EdgeMailRequest request) throws Exception { + SendEmailUplinkMsg sendEmailUplinkMsg = SendEmailUplinkMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setRequest(JacksonUtil.toString(request)) + .build(); + + UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); + uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); + uplinkMsgBuilder.addSendEmailUplinkMsg(sendEmailUplinkMsg); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); + Assert.assertTrue(edgeImitator.waitForResponses()); + } + +} diff --git a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java new file mode 100644 index 0000000000..3c8802f07e --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java @@ -0,0 +1,134 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.edge; + +import org.junit.Assert; +import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.bean.override.mockito.MockitoBean; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.notification.FirebaseService; +import org.thingsboard.rule.engine.api.notification.SlackService; +import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.notification.NotificationDeliveryMethod; +import org.thingsboard.server.common.data.notification.settings.MobileAppNotificationDeliveryMethodConfig; +import org.thingsboard.server.common.data.notification.settings.NotificationDeliveryMethodConfig; +import org.thingsboard.server.common.data.notification.settings.NotificationSettings; +import org.thingsboard.server.common.data.notification.settings.SlackNotificationDeliveryMethodConfig; +import org.thingsboard.server.dao.notification.NotificationSettingsService; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.notification.EdgeNotificationRequest; + +import java.util.HashMap; +import java.util.Map; +import java.util.Set; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.timeout; +import static org.mockito.Mockito.verify; + +/** + * Verifies the send-notification uplink: when the Edge delegates a Slack or mobile-push notification, the + * Cloud receives the SendNotificationUplinkMsg, resolves the channel credentials from its own notification + * settings and delivers. The EdgeImitator plays the Edge and sends the uplink; the Cloud's SlackService and + * FirebaseService are mocked so we can assert the delegated call arrives with the expected arguments. + */ +@DaoSqlTest +public class SendNotificationEdgeTest extends AbstractEdgeTest { + + @MockitoBean + private SlackService slackService; + + @MockitoBean + private FirebaseService firebaseService; + + @Autowired + private NotificationSettingsService notificationSettingsService; + + private void prepareNotificationSettings() { + // Slack is configured at tenant level. + SlackNotificationDeliveryMethodConfig slack = new SlackNotificationDeliveryMethodConfig(); + slack.setBotToken("xoxb-edge-test-token"); + NotificationSettings tenantSettings = new NotificationSettings(); + Map tenantConfigs = new HashMap<>(); + tenantConfigs.put(NotificationDeliveryMethod.SLACK, slack); + tenantSettings.setDeliveryMethodsConfigs(tenantConfigs); + notificationSettingsService.saveNotificationSettings(tenantId, tenantSettings); + + // Mobile app credentials can only be configured at system level. + MobileAppNotificationDeliveryMethodConfig mobile = new MobileAppNotificationDeliveryMethodConfig(); + mobile.setFirebaseServiceAccountCredentials("{\"type\":\"service_account\"}"); + NotificationSettings systemSettings = new NotificationSettings(); + Map systemConfigs = new HashMap<>(); + systemConfigs.put(NotificationDeliveryMethod.MOBILE_APP, mobile); + systemSettings.setDeliveryMethodsConfigs(systemConfigs); + notificationSettingsService.saveNotificationSettings(TenantId.SYS_TENANT_ID, systemSettings); + } + + @Test + public void testSendSlackNotificationFromEdgeProcessedByCloud() throws Exception { + prepareNotificationSettings(); + EdgeNotificationRequest request = EdgeNotificationRequest.builder() + .method(EdgeNotificationRequest.NotificationMethod.SEND_SLACK) + .conversationId("C0123456789") + .message("Edge Slack notification") + .build(); + + sendNotificationUplink(request); + + verify(slackService, timeout(30000)) + .sendMessage(eq(tenantId), anyString(), eq("C0123456789"), eq("Edge Slack notification")); + } + + @Test + public void testSendMobilePushFromEdgeProcessedByCloud() throws Exception { + prepareNotificationSettings(); + EdgeNotificationRequest request = EdgeNotificationRequest.builder() + .method(EdgeNotificationRequest.NotificationMethod.SEND_MOBILE_PUSH) + .fcmTokens(Set.of("fcm-token-1")) + .subject("Edge subject") + .body("Edge body") + .badge(3) + .build(); + + sendNotificationUplink(request); + + verify(firebaseService, timeout(30000)) + .sendMessage(eq(tenantId), anyString(), eq("fcm-token-1"), eq("Edge subject"), eq("Edge body"), any(), eq(3)); + } + + private void sendNotificationUplink(EdgeNotificationRequest request) throws Exception { + SendNotificationUplinkMsg sendNotificationUplinkMsg = SendNotificationUplinkMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setRequest(JacksonUtil.toString(request)) + .build(); + + UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); + uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); + uplinkMsgBuilder.addSendNotificationUplinkMsg(sendNotificationUplinkMsg); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); + Assert.assertTrue(edgeImitator.waitForResponses()); + } + +} diff --git a/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java new file mode 100644 index 0000000000..e8decbe7d2 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java @@ -0,0 +1,94 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.edge; + +import org.junit.Assert; +import org.junit.Test; +import org.springframework.test.context.bean.override.mockito.MockitoBean; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.SmsService; +import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.common.data.sms.config.TestSmsRequest; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.sms.EdgeSmsRequest; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.ArgumentMatchers.isNull; +import static org.mockito.Mockito.timeout; +import static org.mockito.Mockito.verify; + +/** + * Verifies the send-sms uplink: when the Edge delegates an SMS send, the Cloud receives the + * SendSmsUplinkMsg and invokes its SmsService (which resolves the config and transmits). Here the + * EdgeImitator plays the Edge and sends the uplink; the Cloud's SmsService is mocked so we can assert the + * delegated call arrives with the expected arguments (the Cloud, not the Edge, uses the tenant id of the + * connected edge). + */ +@DaoSqlTest +public class SmsEdgeTest extends AbstractEdgeTest { + + @MockitoBean + private SmsService smsService; + + @Test + public void testSendSmsFromEdgeProcessedByCloud() throws Exception { + EdgeSmsRequest request = EdgeSmsRequest.builder() + .method(EdgeSmsRequest.SmsMethod.SEND_SMS) + .numbers(new String[]{"+15551234567"}) + .message("Edge test message") + .build(); + + sendSmsUplink(request); + + verify(smsService, timeout(30000)) + .sendSms(eq(tenantId), isNull(), any(String[].class), eq("Edge test message")); + } + + @Test + public void testSendTestSmsFromEdgeProcessedByCloud() throws Exception { + TestSmsRequest testSmsRequest = new TestSmsRequest(); + testSmsRequest.setNumberTo("+15551234567"); + testSmsRequest.setMessage("Test message"); + EdgeSmsRequest request = EdgeSmsRequest.builder() + .method(EdgeSmsRequest.SmsMethod.SEND_TEST_SMS) + .testSmsRequest(testSmsRequest) + .build(); + + sendSmsUplink(request); + + verify(smsService, timeout(30000)).sendTestSms(any(TestSmsRequest.class)); + } + + private void sendSmsUplink(EdgeSmsRequest request) throws Exception { + SendSmsUplinkMsg sendSmsUplinkMsg = SendSmsUplinkMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setRequest(JacksonUtil.toString(request)) + .build(); + + UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); + uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); + uplinkMsgBuilder.addSendSmsUplinkMsg(sendSmsUplinkMsg); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); + Assert.assertTrue(edgeImitator.waitForResponses()); + } + +} diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index b68597842d..f02af241d5 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -367,6 +367,24 @@ message CalculatedFieldRequestMsg { string entityType = 3; } +message SendEmailUplinkMsg { + int64 tenantIdMSB = 1; + int64 tenantIdLSB = 2; + string request = 3; +} + +message SendSmsUplinkMsg { + int64 tenantIdMSB = 1; + int64 tenantIdLSB = 2; + string request = 3; +} + +message SendNotificationUplinkMsg { + int64 tenantIdMSB = 1; + int64 tenantIdLSB = 2; + string request = 3; +} + // DEPRECATED. FOR REMOVAL message UserCredentialsRequestMsg { option deprecated = true; @@ -471,6 +489,9 @@ message UplinkMsg { repeated UserUpdateMsg userUpdateMsg = 28; repeated UserCredentialsUpdateMsg userCredentialsUpdateMsg = 29; repeated ApiKeyUpdateMsg apiKeyUpdateMsg = 30; + repeated SendEmailUplinkMsg sendEmailUplinkMsg = 35; + repeated SendSmsUplinkMsg sendSmsUplinkMsg = 36; + repeated SendNotificationUplinkMsg sendNotificationUplinkMsg = 37; } message UplinkResponseMsg { From 041b2635b549ecfbe2a57c51988d4c9fb3c44bb3 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 17 Jul 2026 16:22:13 +0300 Subject: [PATCH 006/559] Squashed commit of the following: commit 54284ed89d12c67ddb2a5c5f410c8993bb0e62b8 Author: Nikita Mazurenko Date: Fri Jul 17 15:30:13 2026 +0300 Receive mail/SMS/notification uplink requests from edge --- .../thingsboard/server/service/edge/rpc/EdgeSyncCursor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java index d650be2a26..ca2d4e1f57 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java @@ -19,8 +19,7 @@ import lombok.Getter; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.id.EntityId; -import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.service.edge.EdgeContextComponent; +import org.thingsboard.server.service.edge.EdgeContextComponent import org.thingsboard.server.service.edge.rpc.fetch.AiModelEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.AssetProfilesEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.AssetsEdgeEventFetcher; From 94fe58463850a3ad08e0708fab95e628eedfe478 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 17 Jul 2026 17:48:58 +0300 Subject: [PATCH 007/559] Refactor edge send-uplink handling and add mail/admin-settings test coverage --- .../rpc/sync/DefaultEdgeRequestsService.java | 37 ++-- .../server/edge/AbstractEdgeTest.java | 13 ++ .../server/edge/SendEmailEdgeTest.java | 133 ++++++++++++-- .../server/edge/SendNotificationEdgeTest.java | 12 +- ...{SmsEdgeTest.java => SendSmsEdgeTest.java} | 14 +- .../AdminSettingsEdgeProcessorTest.java | 163 ++++++++++++++++++ common/edge-api/src/main/proto/edge.proto | 4 + 7 files changed, 319 insertions(+), 57 deletions(-) rename application/src/test/java/org/thingsboard/server/edge/{SmsEdgeTest.java => SendSmsEdgeTest.java} (85%) create mode 100644 application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index 823d3b6b9d..a974dcaf0c 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -465,16 +465,7 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Override public ListenableFuture processSendEmailMsg(TenantId tenantId, Edge edge, SendEmailUplinkMsg sendEmailUplinkMsg) { - log.trace("[{}] processSendEmailMsg [{}]", tenantId, edge.getName()); - dbCallbackExecutorService.submit(() -> { - try { - sendEmailForEdge(tenantId, sendEmailUplinkMsg); - } catch (Exception e) { - log.warn("[{}] Failed to send email requested by edge [{}]", tenantId, edge.getName(), e); - } - return null; - }); - return Futures.immediateFuture(null); + return submitEdgeSend(tenantId, edge, "email", () -> sendEmailForEdge(tenantId, sendEmailUplinkMsg)); } private void sendEmailForEdge(TenantId tenantId, SendEmailUplinkMsg sendEmailUplinkMsg) throws Exception { @@ -509,16 +500,7 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Override public ListenableFuture processSendSmsMsg(TenantId tenantId, Edge edge, SendSmsUplinkMsg sendSmsUplinkMsg) { - log.trace("[{}] processSendSmsMsg [{}]", tenantId, edge.getName()); - dbCallbackExecutorService.submit(() -> { - try { - sendSmsForEdge(tenantId, sendSmsUplinkMsg); - } catch (Exception e) { - log.warn("[{}] Failed to send sms requested by edge [{}]", tenantId, edge.getName(), e); - } - return null; - }); - return Futures.immediateFuture(null); + return submitEdgeSend(tenantId, edge, "sms", () -> sendSmsForEdge(tenantId, sendSmsUplinkMsg)); } private void sendSmsForEdge(TenantId tenantId, SendSmsUplinkMsg sendSmsUplinkMsg) throws Exception { @@ -537,12 +519,16 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Override public ListenableFuture processSendNotificationMsg(TenantId tenantId, Edge edge, SendNotificationUplinkMsg sendNotificationUplinkMsg) { - log.trace("[{}] processSendNotificationMsg [{}]", tenantId, edge.getName()); + return submitEdgeSend(tenantId, edge, "notification", () -> sendNotificationForEdge(tenantId, sendNotificationUplinkMsg)); + } + + private ListenableFuture submitEdgeSend(TenantId tenantId, Edge edge, String what, EdgeSendTask task) { + log.trace("[{}] processing edge-delegated {} send [{}]", tenantId, what, edge.getName()); dbCallbackExecutorService.submit(() -> { try { - sendNotificationForEdge(tenantId, sendNotificationUplinkMsg); + task.execute(); } catch (Exception e) { - log.warn("[{}] Failed to send notification requested by edge [{}]", tenantId, edge.getName(), e); + log.warn("[{}] Failed to send {} requested by edge [{}]", tenantId, what, edge.getName(), e); } return null; }); @@ -614,4 +600,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return edgeEventService.saveAsync(edgeEvent); } + @FunctionalInterface + private interface EdgeSendTask { + void execute() throws Exception; + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java index 9c0bb682b2..c062e49a17 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java @@ -36,6 +36,7 @@ import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Dashboard; import org.thingsboard.server.common.data.DataConstants; import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.EdgeUtils; import org.thingsboard.server.common.data.DeviceInfo; import org.thingsboard.server.common.data.DeviceProfile; import org.thingsboard.server.common.data.OtaPackageInfo; @@ -99,6 +100,7 @@ import org.thingsboard.server.gen.edge.v1.RuleChainUpdateMsg; import org.thingsboard.server.gen.edge.v1.SyncCompletedMsg; import org.thingsboard.server.gen.edge.v1.TenantProfileUpdateMsg; import org.thingsboard.server.gen.edge.v1.TenantUpdateMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; @@ -109,6 +111,7 @@ import java.util.Optional; import java.util.TreeMap; import java.util.UUID; import java.util.concurrent.TimeUnit; +import java.util.function.Consumer; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; @@ -141,6 +144,16 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { @Autowired protected EdgeEventService edgeEventService; + protected void sendUplinkMsgAndWaitForResponse(Consumer customizer) throws Exception { + UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); + uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); + customizer.accept(uplinkMsgBuilder); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); + Assert.assertTrue(edgeImitator.waitForResponses()); + } + @Before public void setupEdgeTest() throws Exception { loginSysAdmin(); diff --git a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java index 89e31c38c7..edab6722ac 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java @@ -15,16 +15,16 @@ */ package org.thingsboard.server.edge; -import org.junit.Assert; +import com.fasterxml.jackson.databind.JsonNode; import org.junit.Test; import org.springframework.test.context.bean.override.mockito.MockitoBean; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.rule.engine.api.MailService; import org.thingsboard.rule.engine.api.TbEmail; -import org.thingsboard.server.common.data.EdgeUtils; +import org.thingsboard.server.common.data.ApiFeature; +import org.thingsboard.server.common.data.ApiUsageStateValue; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; -import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.service.mail.EdgeMailRequest; import static org.mockito.ArgumentMatchers.any; @@ -80,20 +80,131 @@ public class SendEmailEdgeTest extends AbstractEdgeTest { verify(mailService, timeout(30000)).send(eq(tenantId), isNull(), any(TbEmail.class)); } + @Test + public void testSendActivationEmailFromEdgeProcessedByCloud() throws Exception { + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.ACTIVATION) + .activationLink("http://localhost/activate?token=abc") + .ttlMs(60000L) + .to("recipient@thingsboard.io") + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendActivationEmail(eq("http://localhost/activate?token=abc"), eq(60000L), eq("recipient@thingsboard.io")); + } + + @Test + public void testSendAccountActivatedEmailFromEdgeProcessedByCloud() throws Exception { + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.ACCOUNT_ACTIVATED) + .loginLink("http://localhost/login") + .to("recipient@thingsboard.io") + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendAccountActivatedEmail(eq("http://localhost/login"), eq("recipient@thingsboard.io")); + } + + @Test + public void testSendResetPasswordEmailFromEdgeProcessedByCloud() throws Exception { + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.RESET_PASSWORD) + .passwordResetLink("http://localhost/reset?token=abc") + .ttlMs(60000L) + .to("recipient@thingsboard.io") + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendResetPasswordEmail(eq("http://localhost/reset?token=abc"), eq(60000L), eq("recipient@thingsboard.io")); + } + + @Test + public void testSendPasswordWasResetEmailFromEdgeProcessedByCloud() throws Exception { + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.PASSWORD_WAS_RESET) + .loginLink("http://localhost/login") + .to("recipient@thingsboard.io") + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendPasswordWasResetEmail(eq("http://localhost/login"), eq("recipient@thingsboard.io")); + } + + @Test + public void testSendTwoFaVerificationEmailFromEdgeProcessedByCloud() throws Exception { + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.TWO_FA) + .to("recipient@thingsboard.io") + .verificationCode("123456") + .expirationTimeSeconds(120) + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendTwoFaVerificationEmail(eq("recipient@thingsboard.io"), eq("123456"), eq(120)); + } + + @Test + public void testSendAccountLockoutEmailFromEdgeProcessedByCloud() throws Exception { + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.ACCOUNT_LOCKOUT) + .lockoutEmail("locked@thingsboard.io") + .to("recipient@thingsboard.io") + .maxFailedLoginAttempts(5) + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendAccountLockoutEmail(eq("locked@thingsboard.io"), eq("recipient@thingsboard.io"), eq(5)); + } + + @Test + public void testSendApiUsageStateEmailFromEdgeProcessedByCloud() throws Exception { + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.API_USAGE_STATE) + .apiFeature(ApiFeature.EMAIL) + .stateValue(ApiUsageStateValue.DISABLED) + .to("recipient@thingsboard.io") + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendApiFeatureStateEmail(eq(ApiFeature.EMAIL), eq(ApiUsageStateValue.DISABLED), eq("recipient@thingsboard.io"), isNull()); + } + + @Test + public void testSendTestMailFromEdgeProcessedByCloud() throws Exception { + JsonNode testConfig = JacksonUtil.newObjectNode().put("smtpHost", "localhost"); + EdgeMailRequest request = EdgeMailRequest.builder() + .method(EdgeMailRequest.MailMethod.TEST_MAIL) + .testConfig(testConfig) + .to("recipient@thingsboard.io") + .build(); + + sendEmailUplink(request); + + verify(mailService, timeout(30000)) + .sendTestMail(any(JsonNode.class), eq("recipient@thingsboard.io")); + } + private void sendEmailUplink(EdgeMailRequest request) throws Exception { SendEmailUplinkMsg sendEmailUplinkMsg = SendEmailUplinkMsg.newBuilder() .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) .setRequest(JacksonUtil.toString(request)) .build(); - - UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); - uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); - uplinkMsgBuilder.addSendEmailUplinkMsg(sendEmailUplinkMsg); - - edgeImitator.expectResponsesAmount(1); - edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); - Assert.assertTrue(edgeImitator.waitForResponses()); + sendUplinkMsgAndWaitForResponse(builder -> builder.addSendEmailUplinkMsg(sendEmailUplinkMsg)); } } diff --git a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java index 3c8802f07e..362b7a6403 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java @@ -15,14 +15,12 @@ */ package org.thingsboard.server.edge; -import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.bean.override.mockito.MockitoBean; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.rule.engine.api.notification.FirebaseService; import org.thingsboard.rule.engine.api.notification.SlackService; -import org.thingsboard.server.common.data.EdgeUtils; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.notification.NotificationDeliveryMethod; import org.thingsboard.server.common.data.notification.settings.MobileAppNotificationDeliveryMethodConfig; @@ -32,7 +30,6 @@ import org.thingsboard.server.common.data.notification.settings.SlackNotificatio import org.thingsboard.server.dao.notification.NotificationSettingsService; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; -import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.service.notification.EdgeNotificationRequest; import java.util.HashMap; @@ -121,14 +118,7 @@ public class SendNotificationEdgeTest extends AbstractEdgeTest { .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) .setRequest(JacksonUtil.toString(request)) .build(); - - UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); - uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); - uplinkMsgBuilder.addSendNotificationUplinkMsg(sendNotificationUplinkMsg); - - edgeImitator.expectResponsesAmount(1); - edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); - Assert.assertTrue(edgeImitator.waitForResponses()); + sendUplinkMsgAndWaitForResponse(builder -> builder.addSendNotificationUplinkMsg(sendNotificationUplinkMsg)); } } diff --git a/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java similarity index 85% rename from application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java rename to application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java index e8decbe7d2..190a973481 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java @@ -15,16 +15,13 @@ */ package org.thingsboard.server.edge; -import org.junit.Assert; import org.junit.Test; import org.springframework.test.context.bean.override.mockito.MockitoBean; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.rule.engine.api.SmsService; -import org.thingsboard.server.common.data.EdgeUtils; import org.thingsboard.server.common.data.sms.config.TestSmsRequest; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; -import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.service.sms.EdgeSmsRequest; import static org.mockito.ArgumentMatchers.any; @@ -41,7 +38,7 @@ import static org.mockito.Mockito.verify; * connected edge). */ @DaoSqlTest -public class SmsEdgeTest extends AbstractEdgeTest { +public class SendSmsEdgeTest extends AbstractEdgeTest { @MockitoBean private SmsService smsService; @@ -81,14 +78,7 @@ public class SmsEdgeTest extends AbstractEdgeTest { .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) .setRequest(JacksonUtil.toString(request)) .build(); - - UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); - uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); - uplinkMsgBuilder.addSendSmsUplinkMsg(sendSmsUplinkMsg); - - edgeImitator.expectResponsesAmount(1); - edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); - Assert.assertTrue(edgeImitator.waitForResponses()); + sendUplinkMsgAndWaitForResponse(builder -> builder.addSendSmsUplinkMsg(sendSmsUplinkMsg)); } } diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java new file mode 100644 index 0000000000..e3453ea618 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java @@ -0,0 +1,163 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.service.edge.rpc.processor.settings; + +import com.fasterxml.jackson.databind.JsonNode; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.AdminSettings; +import org.thingsboard.server.common.data.edge.Edge; +import org.thingsboard.server.common.data.edge.EdgeEvent; +import org.thingsboard.server.common.data.id.AdminSettingsId; +import org.thingsboard.server.common.data.id.EdgeId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.dao.settings.AdminSettingsService; +import org.thingsboard.server.gen.edge.v1.DownlinkMsg; +import org.thingsboard.server.gen.edge.v1.EdgeVersion; +import org.thingsboard.server.service.edge.EdgeContextComponent; + +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.UUID; +import java.util.stream.Collectors; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.lenient; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +public class AdminSettingsEdgeProcessorTest { + + @Mock + private EdgeContextComponent edgeCtx; + @Mock + private AdminSettingsService adminSettingsService; + + private final TenantId tenantId = new TenantId(UUID.randomUUID()); + private AdminSettingsEdgeProcessor processor; + + @BeforeEach + public void setUp() { + processor = new AdminSettingsEdgeProcessor(); + ReflectionTestUtils.setField(processor, "edgeCtx", edgeCtx); + ReflectionTestUtils.setField(processor, "tokenExpirationTime", 9000); + ReflectionTestUtils.setField(processor, "refreshTokenExpTime", 604800); + ReflectionTestUtils.setField(processor, "tokenIssuer", "thingsboard.io"); + lenient().when(edgeCtx.getAdminSettingsService()).thenReturn(adminSettingsService); + } + + @Test + public void testTenantScopedAllowListedKeyIsSyncedToEdge() { + AdminSettings general = adminSettings(tenantId, "general"); + when(adminSettingsService.findAdminSettingsById(any(), any())).thenReturn(general); + + DownlinkMsg downlink = processor.convertEdgeEventToDownlink(edgeEvent(tenantId), EdgeVersion.V_4_2_2_4); + + Assertions.assertNotNull(downlink); + Assertions.assertEquals(1, downlink.getAdminSettingsUpdateMsgCount()); + AdminSettings synced = JacksonUtil.fromString(downlink.getAdminSettingsUpdateMsg(0).getEntity(), AdminSettings.class, true); + Assertions.assertNotNull(synced); + Assertions.assertEquals("general", synced.getKey()); + } + + @Test + public void testTenantScopedNonAllowListedKeyIsNotSyncedToEdge() { + AdminSettings mail = adminSettings(tenantId, "mail"); + when(adminSettingsService.findAdminSettingsById(any(), any())).thenReturn(mail); + + DownlinkMsg downlink = processor.convertEdgeEventToDownlink(edgeEvent(tenantId), EdgeVersion.V_4_2_2_4); + + Assertions.assertNull(downlink); + } + + @Test + public void testSystemScopedAllowListedKeyIsNotSyncedToEdge() { + AdminSettings general = adminSettings(TenantId.SYS_TENANT_ID, "general"); + when(adminSettingsService.findAdminSettingsById(any(), any())).thenReturn(general); + + DownlinkMsg downlink = processor.convertEdgeEventToDownlink(edgeEvent(TenantId.SYS_TENANT_ID), EdgeVersion.V_4_2_2_4); + + Assertions.assertNull(downlink); + } + + @Test + public void testCleanupClearsSecretsAndSkipsAllowListedKeys() { + Edge edge = new Edge(); + edge.setId(new EdgeId(UUID.randomUUID())); + edge.setTenantId(tenantId); + + when(adminSettingsService.findAllByTenantId(eq(TenantId.SYS_TENANT_ID), any())) + .thenReturn(page(adminSettings(TenantId.SYS_TENANT_ID, "mail"), + adminSettings(TenantId.SYS_TENANT_ID, "jwt"), + adminSettings(TenantId.SYS_TENANT_ID, "general"))); + when(adminSettingsService.findAllByTenantId(eq(tenantId), any())) + .thenReturn(page(adminSettings(tenantId, "sms"), + adminSettings(tenantId, "connectivity"))); + + List downlinks = processor.convertAdminSettingsCleanupToDownlinks(edge); + + Map cleanupByKey = downlinks.stream() + .map(d -> JacksonUtil.fromString(d.getAdminSettingsUpdateMsg(0).getEntity(), AdminSettings.class, true)) + .collect(Collectors.toMap(AdminSettings::getKey, s -> s)); + + // Allow-listed keys (general/connectivity) are never wiped; every other key is. + Assertions.assertEquals(Set.of("mail", "jwt", "sms"), cleanupByKey.keySet()); + + // Mail secrets are blanked. + JsonNode mailValue = cleanupByKey.get("mail").getJsonValue(); + Assertions.assertEquals("", mailValue.get("password").asText()); + Assertions.assertEquals("", mailValue.get("refreshToken").asText()); + + // JWT signing key is re-randomized to a non-empty value. + JsonNode jwtValue = cleanupByKey.get("jwt").getJsonValue(); + Assertions.assertFalse(jwtValue.get("tokenSigningKey").asText().isEmpty()); + + // Other non-allow-listed keys are wiped to an empty object. + Assertions.assertTrue(cleanupByKey.get("sms").getJsonValue().isEmpty()); + } + + private EdgeEvent edgeEvent(TenantId eventTenantId) { + EdgeEvent edgeEvent = new EdgeEvent(); + edgeEvent.setTenantId(eventTenantId); + edgeEvent.setEdgeId(new EdgeId(UUID.randomUUID())); + edgeEvent.setEntityId(UUID.randomUUID()); + return edgeEvent; + } + + private AdminSettings adminSettings(TenantId settingsTenantId, String key) { + AdminSettings adminSettings = new AdminSettings(); + adminSettings.setId(new AdminSettingsId(UUID.randomUUID())); + adminSettings.setTenantId(settingsTenantId); + adminSettings.setKey(key); + adminSettings.setJsonValue(JacksonUtil.newObjectNode()); + return adminSettings; + } + + private PageData page(AdminSettings... settings) { + List data = List.of(settings); + return new PageData<>(data, 1, data.size(), false); + } + +} diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index 50a02da5d5..350a1b1cb4 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -347,6 +347,10 @@ message CalculatedFieldRequestMsg { string entityType = 3; } +// Edge-delegated send requests (mail/sms/notification). The Cloud always resolves the tenant from the +// authenticated edge session (edge.getTenantId()) and ignores tenantIdMSB/tenantIdLSB below - they are kept +// only for symmetry with other uplink messages and must not be treated as authoritative by the receiver. +// 'request' is the JSON-serialized Edge{Mail,Sms,Notification}Request payload. message SendEmailUplinkMsg { int64 tenantIdMSB = 1; int64 tenantIdLSB = 2; From 964b1628649270ade4907ad52d6c1f01bc909e44 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 17 Jul 2026 18:19:17 +0300 Subject: [PATCH 008/559] Remove leftover SmsEdgeTest duplicated by SendSmsEdgeTest rename SmsEdgeTest was renamed to SendSmsEdgeTest but the old file was left behind on this branch, duplicating the SMS uplink tests. --- .../thingsboard/server/edge/SmsEdgeTest.java | 94 ------------------- 1 file changed, 94 deletions(-) delete mode 100644 application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java diff --git a/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java deleted file mode 100644 index e8decbe7d2..0000000000 --- a/application/src/test/java/org/thingsboard/server/edge/SmsEdgeTest.java +++ /dev/null @@ -1,94 +0,0 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.thingsboard.server.edge; - -import org.junit.Assert; -import org.junit.Test; -import org.springframework.test.context.bean.override.mockito.MockitoBean; -import org.thingsboard.common.util.JacksonUtil; -import org.thingsboard.rule.engine.api.SmsService; -import org.thingsboard.server.common.data.EdgeUtils; -import org.thingsboard.server.common.data.sms.config.TestSmsRequest; -import org.thingsboard.server.dao.service.DaoSqlTest; -import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; -import org.thingsboard.server.gen.edge.v1.UplinkMsg; -import org.thingsboard.server.service.sms.EdgeSmsRequest; - -import static org.mockito.ArgumentMatchers.any; -import static org.mockito.ArgumentMatchers.eq; -import static org.mockito.ArgumentMatchers.isNull; -import static org.mockito.Mockito.timeout; -import static org.mockito.Mockito.verify; - -/** - * Verifies the send-sms uplink: when the Edge delegates an SMS send, the Cloud receives the - * SendSmsUplinkMsg and invokes its SmsService (which resolves the config and transmits). Here the - * EdgeImitator plays the Edge and sends the uplink; the Cloud's SmsService is mocked so we can assert the - * delegated call arrives with the expected arguments (the Cloud, not the Edge, uses the tenant id of the - * connected edge). - */ -@DaoSqlTest -public class SmsEdgeTest extends AbstractEdgeTest { - - @MockitoBean - private SmsService smsService; - - @Test - public void testSendSmsFromEdgeProcessedByCloud() throws Exception { - EdgeSmsRequest request = EdgeSmsRequest.builder() - .method(EdgeSmsRequest.SmsMethod.SEND_SMS) - .numbers(new String[]{"+15551234567"}) - .message("Edge test message") - .build(); - - sendSmsUplink(request); - - verify(smsService, timeout(30000)) - .sendSms(eq(tenantId), isNull(), any(String[].class), eq("Edge test message")); - } - - @Test - public void testSendTestSmsFromEdgeProcessedByCloud() throws Exception { - TestSmsRequest testSmsRequest = new TestSmsRequest(); - testSmsRequest.setNumberTo("+15551234567"); - testSmsRequest.setMessage("Test message"); - EdgeSmsRequest request = EdgeSmsRequest.builder() - .method(EdgeSmsRequest.SmsMethod.SEND_TEST_SMS) - .testSmsRequest(testSmsRequest) - .build(); - - sendSmsUplink(request); - - verify(smsService, timeout(30000)).sendTestSms(any(TestSmsRequest.class)); - } - - private void sendSmsUplink(EdgeSmsRequest request) throws Exception { - SendSmsUplinkMsg sendSmsUplinkMsg = SendSmsUplinkMsg.newBuilder() - .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) - .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) - .setRequest(JacksonUtil.toString(request)) - .build(); - - UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); - uplinkMsgBuilder.setUplinkMsgId(EdgeUtils.nextPositiveInt()); - uplinkMsgBuilder.addSendSmsUplinkMsg(sendSmsUplinkMsg); - - edgeImitator.expectResponsesAmount(1); - edgeImitator.sendUplinkMsg(uplinkMsgBuilder.build()); - Assert.assertTrue(edgeImitator.waitForResponses()); - } - -} From 03df2a333ab0aad89f64d8ff397addcdf81e98e6 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 28 Aug 2026 12:08:27 +0300 Subject: [PATCH 009/559] Keep the edge event check alive when an edge reconnects during session teardown --- .../service/edge/rpc/EdgeGrpcService.java | 192 +++++++++++------- 1 file changed, 115 insertions(+), 77 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java index e1211c53a7..4de478fe34 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java @@ -83,10 +83,11 @@ import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicReference; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import java.util.function.Consumer; -import java.util.function.Function; +import java.util.function.Predicate; import static org.thingsboard.server.service.state.DefaultDeviceStateService.ACTIVITY_STATE; import static org.thingsboard.server.service.state.DefaultDeviceStateService.LAST_CONNECT_TIME; @@ -310,13 +311,10 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i @Override public void deleteEdge(TenantId tenantId, EdgeId edgeId) { - EdgeGrpcSession session = sessions.get(edgeId); - if (session != null && session.isConnected()) { + EdgeGrpcSession toRemove = detachSession(edgeId, EdgeGrpcSession::isConnected); + if (toRemove != null) { log.info("[{}] Closing and removing session for edge [{}]", tenantId, edgeId); - destroySession(session); - session.cleanUp(); - sessions.remove(edgeId); - sessionsById.remove(session.getSessionId()); + sessionsById.remove(toRemove.getSessionId()); final Lock newEventLock = sessionNewEventsLocks.computeIfAbsent(edgeId, id -> new ReentrantLock()); newEventLock.lock(); try { @@ -324,7 +322,9 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i } finally { newEventLock.unlock(); } - cancelScheduleEdgeEventsCheck(edgeId); + // destroy is slow (stops the kafka edge event consumer), keep it off the atomic path + destroySession(toRemove); + toRemove.cleanUp(); } } @@ -365,16 +365,12 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i Edge edge = edgeGrpcSession.getEdge(); TenantId tenantId = edge.getTenantId(); log.info("[{}][{}] edge [{}] connected successfully.", tenantId, edgeGrpcSession.getSessionId(), edgeId); - if (sessions.containsKey(edgeId)) { - EdgeGrpcSession existing = sessions.get(edgeId); - if (existing != null) { - log.info("[{}][{}] Replacing existing session [{}] for edge [{}]", tenantId, edgeGrpcSession.getSessionId(), existing.getSessionId(), edgeId); - destroySession(existing); - sessionsById.remove(existing.getSessionId()); - } - } - sessions.put(edgeId, edgeGrpcSession); + EdgeGrpcSession replaced = attachSession(edgeId, edgeGrpcSession); sessionsById.put(edgeGrpcSession.getSessionId(), edgeGrpcSession); + if (replaced != null) { + log.info("[{}][{}] Replacing existing session [{}] for edge [{}]", tenantId, edgeGrpcSession.getSessionId(), replaced.getSessionId(), edgeId); + sessionsById.remove(replaced.getSessionId()); + } final Lock newEventLock = sessionNewEventsLocks.computeIfAbsent(edgeId, id -> new ReentrantLock()); newEventLock.lock(); try { @@ -387,9 +383,12 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i save(tenantId, edgeId, LAST_CONNECT_TIME, lastConnectTs); edgeIdServiceIdCache.put(edgeId, serviceInfoProvider.getServiceId()); pushRuleEngineMessage(tenantId, edge, lastConnectTs, TbMsgType.CONNECT_EVENT); - cancelScheduleEdgeEventsCheck(edgeId); edgeEventsMigrationProcessed.putIfAbsent(edgeId, Boolean.FALSE); scheduleEdgeEventsCheck(edgeGrpcSession); + if (replaced != null) { + // destroy is slow (stops the kafka edge event consumer), keep it off the atomic path + destroySession(replaced); + } } private void startSyncProcess(TenantId tenantId, EdgeId edgeId, UUID requestId, String requestServiceId) { @@ -451,55 +450,62 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i EdgeId edgeId = session.getEdge().getId(); TenantId tenantId = session.getEdge().getTenantId(); - cancelScheduleEdgeEventsCheck(edgeId); - - if (sessions.containsKey(edgeId)) { - ScheduledFuture edgeEventCheckTask = edgeEventProcessingExecutorService.schedule(() -> { + Runnable edgeEventCheck = () -> { + try { + final Lock newEventLock = sessionNewEventsLocks.computeIfAbsent(edgeId, id -> new ReentrantLock()); + newEventLock.lock(); try { - final Lock newEventLock = sessionNewEventsLocks.computeIfAbsent(edgeId, id -> new ReentrantLock()); - newEventLock.lock(); - try { - if (Boolean.TRUE.equals(sessionNewEvents.get(edgeId))) { - log.trace("[{}][{}] set session new events flag to false", tenantId, edgeId.getId()); - sessionNewEvents.put(edgeId, false); - session.processHighPriorityEvents(); - processEdgeEventMigrationIfNeeded(session, edgeId); - if (Boolean.TRUE.equals(edgeEventsMigrationProcessed.get(edgeId))) { - Futures.addCallback(session.processEdgeEvents(), new FutureCallback<>() { - @Override - public void onSuccess(Boolean newEventsAdded) { - if (Boolean.TRUE.equals(newEventsAdded)) { - log.trace("[{}][{}] new events added. set session new events flag to true", tenantId, edgeId.getId()); - sessionNewEvents.put(edgeId, true); - } - scheduleEdgeEventsCheck(session); + if (Boolean.TRUE.equals(sessionNewEvents.get(edgeId))) { + log.trace("[{}][{}] set session new events flag to false", tenantId, edgeId.getId()); + sessionNewEvents.put(edgeId, false); + session.processHighPriorityEvents(); + processEdgeEventMigrationIfNeeded(session, edgeId); + if (Boolean.TRUE.equals(edgeEventsMigrationProcessed.get(edgeId))) { + Futures.addCallback(session.processEdgeEvents(), new FutureCallback<>() { + @Override + public void onSuccess(Boolean newEventsAdded) { + if (Boolean.TRUE.equals(newEventsAdded)) { + log.trace("[{}][{}] new events added. set session new events flag to true", tenantId, edgeId.getId()); + sessionNewEvents.put(edgeId, true); } - - @Override - public void onFailure(Throwable t) { - log.warn("[{}] Failed to process edge events for edge [{}]!", tenantId, session.getEdge().getId().getId(), t); - scheduleEdgeEventsCheck(session); - } - }, ctx.getGrpcCallbackExecutorService()); - } else { - scheduleEdgeEventsCheck(session); - } + scheduleEdgeEventsCheck(session); + } + + @Override + public void onFailure(Throwable t) { + log.warn("[{}] Failed to process edge events for edge [{}]!", tenantId, session.getEdge().getId().getId(), t); + scheduleEdgeEventsCheck(session); + } + }, ctx.getGrpcCallbackExecutorService()); } else { scheduleEdgeEventsCheck(session); } - } finally { - newEventLock.unlock(); + } else { + scheduleEdgeEventsCheck(session); } - } catch (Exception e) { - log.warn("[{}] Failed to process edge events for edge [{}]!", tenantId, session.getEdge().getId().getId(), e); + } finally { + newEventLock.unlock(); } - }, ctx.getEdgeEventStorageSettings().getNoRecordsSleepInterval(), TimeUnit.MILLISECONDS); - sessionEdgeEventChecks.put(edgeId, edgeEventCheckTask); + } catch (Exception e) { + log.warn("[{}] Failed to process edge events for edge [{}]!", tenantId, session.getEdge().getId().getId(), e); + } + }; + + // arm the next check only while this exact session is still the current one, atomically with + // cancelling the previous one, so that a concurrent connect/disconnect can neither lose the + // re-arm nor cancel a check that belongs to a session other than the one it is tearing down + sessions.compute(edgeId, (id, current) -> { + if (current != session) { + log.debug("[{}] Session is not current anymore and edge event check schedule must not be started [{}]", + tenantId, edgeId.getId()); + return current; + } + cancelScheduleEdgeEventsCheck(edgeId); + sessionEdgeEventChecks.put(edgeId, edgeEventProcessingExecutorService.schedule(edgeEventCheck, + ctx.getEdgeEventStorageSettings().getNoRecordsSleepInterval(), TimeUnit.MILLISECONDS)); log.trace("[{}] Check edge event scheduled for edge [{}]", tenantId, edgeId.getId()); - } else { - log.debug("[{}] Session was removed and edge event check schedule must not be started [{}]", - tenantId, edgeId.getId()); - } + return current; + }); } private void processEdgeEventMigrationIfNeeded(EdgeGrpcSession session, EdgeId edgeId) throws Exception { @@ -532,24 +538,20 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i private void onEdgeDisconnect(Edge edge, UUID sessionId) { EdgeId edgeId = edge.getId(); log.info("[{}][{}] edge disconnected!", edgeId, sessionId); - EdgeGrpcSession current = sessions.get(edgeId); - if (current != null && current.getSessionId().equals(sessionId)) { - EdgeGrpcSession toRemove = sessions.remove(edgeId); - final Lock newEventLock = sessionNewEventsLocks.computeIfAbsent(edgeId, id -> new ReentrantLock()); - newEventLock.lock(); - try { - sessionNewEvents.remove(edgeId); - } finally { - newEventLock.unlock(); - } - destroySession(toRemove); + EdgeGrpcSession toRemove = detachSession(edgeId, current -> current.getSessionId().equals(sessionId)); + if (toRemove != null) { + // sessionNewEvents is deliberately left as is: clearing it here could wipe the flag a + // reconnecting session has just set, and updateSessionEventsFlag only lifts FALSE, not a + // missing entry, which would leave the check loop idle forever. deleteEdge still clears it sessionsById.remove(sessionId); + edgeIdServiceIdCache.evict(edgeId); TenantId tenantId = toRemove.getEdge().getTenantId(); - save(tenantId, edgeId, ACTIVITY_STATE, false); long lastDisconnectTs = System.currentTimeMillis(); + save(tenantId, edgeId, ACTIVITY_STATE, false); save(tenantId, edgeId, LAST_DISCONNECT_TIME, lastDisconnectTs); - pushRuleEngineMessage(toRemove.getEdge().getTenantId(), edge, lastDisconnectTs, TbMsgType.DISCONNECT_EVENT); - cancelScheduleEdgeEventsCheck(edgeId); + pushRuleEngineMessage(tenantId, edge, lastDisconnectTs, TbMsgType.DISCONNECT_EVENT); + // destroy is slow (stops the kafka edge event consumer), keep it off the atomic path + destroySession(toRemove); } else { log.info("[{}] edge session [{}] is not current anymore. Attempting to destroy it by sessionId.", edgeId, sessionId); EdgeGrpcSession stale = sessionsById.remove(sessionId); @@ -564,7 +566,41 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i log.debug("[{}] No session found by sessionId [{}] to destroy", edgeId, sessionId); } } - edgeIdServiceIdCache.evict(edgeId); + } + + /** + * Registers the session as the current one for the edge and cancels the edge event check armed by + * the session it replaces, as a single atomic step. Returns the replaced session, or null if there + * was none - the caller is responsible for destroying it outside of this critical section. + */ + private EdgeGrpcSession attachSession(EdgeId edgeId, EdgeGrpcSession session) { + AtomicReference replaced = new AtomicReference<>(); + sessions.compute(edgeId, (id, current) -> { + replaced.set(current); + cancelScheduleEdgeEventsCheck(edgeId); + return session; + }); + return replaced.get(); + } + + /** + * Detaches the edge's registered session and cancels its edge event check as a single atomic step, + * but only if that session satisfies shouldDetach. Returns the detached session, or null if the + * predicate rejected it - most importantly when another session has taken the edge over in the + * meantime, in which case nothing is touched and a reconnect racing with a teardown cannot lose + * the check it has just armed. The caller destroys the returned session outside the atomic step. + */ + private EdgeGrpcSession detachSession(EdgeId edgeId, Predicate shouldDetach) { + AtomicReference detached = new AtomicReference<>(); + sessions.compute(edgeId, (id, current) -> { + if (current == null || !shouldDetach.test(current)) { + return current; + } + detached.set(current); + cancelScheduleEdgeEventsCheck(edgeId); + return null; + }); + return detached.get(); } private void destroySession(EdgeGrpcSession session) { @@ -686,7 +722,9 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i private void cleanupZombieSessions() { try { - tryToDestroyZombieSessions(getZombieSessions(sessions.values()), s -> sessions.remove(s.getEdge().getId())); + // compare-and-remove: the edge may have reconnected since the zombie scan, and that newer + // session must not be evicted by the cleanup of the one it replaced + tryToDestroyZombieSessions(getZombieSessions(sessions.values()), s -> sessions.remove(s.getEdge().getId(), s)); tryToDestroyZombieSessions(getZombieSessions(sessionsById.values()), s -> sessionsById.remove(s.getSessionId())); zombieSessions.removeIf(zombie -> { @@ -715,11 +753,11 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i return result; } - private void tryToDestroyZombieSessions(List sessionsToRemove, Function removeFunc) { + private void tryToDestroyZombieSessions(List sessionsToRemove, Consumer removeFunc) { for (EdgeGrpcSession toRemove : sessionsToRemove) { log.info("[{}] Destroying session for edge because edge is not connected", toRemove.getEdge().getId()); if (toRemove.destroy()) { - removeFunc.apply(toRemove); + removeFunc.accept(toRemove); } } } From 11fe42de7aa596c02ad161d54e2b34459bf73e08 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 10 Sep 2026 12:07:21 +0300 Subject: [PATCH 010/559] Keep the edge event check and its new events flag with the session that owns the edge --- .../service/edge/rpc/EdgeGrpcService.java | 126 +++++++++++------- 1 file changed, 77 insertions(+), 49 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java index 4de478fe34..5fdd67e0b3 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java @@ -311,7 +311,7 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i @Override public void deleteEdge(TenantId tenantId, EdgeId edgeId) { - EdgeGrpcSession toRemove = detachSession(edgeId, EdgeGrpcSession::isConnected); + EdgeGrpcSession toRemove = detachSession(edgeId); if (toRemove != null) { log.info("[{}] Closing and removing session for edge [{}]", tenantId, edgeId); sessionsById.remove(toRemove.getSessionId()); @@ -322,7 +322,6 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i } finally { newEventLock.unlock(); } - // destroy is slow (stops the kafka edge event consumer), keep it off the atomic path destroySession(toRemove); toRemove.cleanUp(); } @@ -386,7 +385,6 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i edgeEventsMigrationProcessed.putIfAbsent(edgeId, Boolean.FALSE); scheduleEdgeEventsCheck(edgeGrpcSession); if (replaced != null) { - // destroy is slow (stops the kafka edge event consumer), keep it off the atomic path destroySession(replaced); } } @@ -450,47 +448,6 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i EdgeId edgeId = session.getEdge().getId(); TenantId tenantId = session.getEdge().getTenantId(); - Runnable edgeEventCheck = () -> { - try { - final Lock newEventLock = sessionNewEventsLocks.computeIfAbsent(edgeId, id -> new ReentrantLock()); - newEventLock.lock(); - try { - if (Boolean.TRUE.equals(sessionNewEvents.get(edgeId))) { - log.trace("[{}][{}] set session new events flag to false", tenantId, edgeId.getId()); - sessionNewEvents.put(edgeId, false); - session.processHighPriorityEvents(); - processEdgeEventMigrationIfNeeded(session, edgeId); - if (Boolean.TRUE.equals(edgeEventsMigrationProcessed.get(edgeId))) { - Futures.addCallback(session.processEdgeEvents(), new FutureCallback<>() { - @Override - public void onSuccess(Boolean newEventsAdded) { - if (Boolean.TRUE.equals(newEventsAdded)) { - log.trace("[{}][{}] new events added. set session new events flag to true", tenantId, edgeId.getId()); - sessionNewEvents.put(edgeId, true); - } - scheduleEdgeEventsCheck(session); - } - - @Override - public void onFailure(Throwable t) { - log.warn("[{}] Failed to process edge events for edge [{}]!", tenantId, session.getEdge().getId().getId(), t); - scheduleEdgeEventsCheck(session); - } - }, ctx.getGrpcCallbackExecutorService()); - } else { - scheduleEdgeEventsCheck(session); - } - } else { - scheduleEdgeEventsCheck(session); - } - } finally { - newEventLock.unlock(); - } - } catch (Exception e) { - log.warn("[{}] Failed to process edge events for edge [{}]!", tenantId, session.getEdge().getId().getId(), e); - } - }; - // arm the next check only while this exact session is still the current one, atomically with // cancelling the previous one, so that a concurrent connect/disconnect can neither lose the // re-arm nor cancel a check that belongs to a session other than the one it is tearing down @@ -501,13 +458,66 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i return current; } cancelScheduleEdgeEventsCheck(edgeId); - sessionEdgeEventChecks.put(edgeId, edgeEventProcessingExecutorService.schedule(edgeEventCheck, + sessionEdgeEventChecks.put(edgeId, edgeEventProcessingExecutorService.schedule( + () -> processEvents(session, edgeId, tenantId), ctx.getEdgeEventStorageSettings().getNoRecordsSleepInterval(), TimeUnit.MILLISECONDS)); log.trace("[{}] Check edge event scheduled for edge [{}]", tenantId, edgeId.getId()); return current; }); } + private void processEvents(EdgeGrpcSession session, EdgeId edgeId, TenantId tenantId) { + try { + final Lock newEventLock = sessionNewEventsLocks.computeIfAbsent(edgeId, id -> new ReentrantLock()); + newEventLock.lock(); + try { + if (sessions.get(edgeId) != session) { + log.debug("[{}] Session is not current anymore, edge event check must not run for edge [{}]", + tenantId, edgeId.getId()); + return; + } + if (Boolean.TRUE.equals(sessionNewEvents.get(edgeId))) { + log.trace("[{}][{}] set session new events flag to false", tenantId, edgeId.getId()); + sessionNewEvents.put(edgeId, false); + session.processHighPriorityEvents(); + processEdgeEventMigrationIfNeeded(session, edgeId); + if (Boolean.TRUE.equals(edgeEventsMigrationProcessed.get(edgeId))) { + Futures.addCallback(session.processEdgeEvents(), new FutureCallback<>() { + @Override + public void onSuccess(Boolean newEventsAdded) { + if (Boolean.TRUE.equals(newEventsAdded)) { + log.trace("[{}][{}] new events added. set session new events flag to true", tenantId, edgeId.getId()); + final Lock newEventLock = sessionNewEventsLocks.computeIfAbsent(edgeId, id -> new ReentrantLock()); + newEventLock.lock(); + try { + sessionNewEvents.put(edgeId, true); + } finally { + newEventLock.unlock(); + } + } + scheduleEdgeEventsCheck(session); + } + + @Override + public void onFailure(Throwable t) { + log.warn("[{}] Failed to process edge events for edge [{}]!", tenantId, session.getEdge().getId().getId(), t); + scheduleEdgeEventsCheck(session); + } + }, ctx.getGrpcCallbackExecutorService()); + } else { + scheduleEdgeEventsCheck(session); + } + } else { + scheduleEdgeEventsCheck(session); + } + } finally { + newEventLock.unlock(); + } + } catch (Exception e) { + log.warn("[{}] Failed to process edge events for edge [{}]!", tenantId, session.getEdge().getId().getId(), e); + } + } + private void processEdgeEventMigrationIfNeeded(EdgeGrpcSession session, EdgeId edgeId) throws Exception { boolean isMigrationProcessed = edgeEventsMigrationProcessed.getOrDefault(edgeId, Boolean.FALSE); if (!isMigrationProcessed) { @@ -550,7 +560,6 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i save(tenantId, edgeId, ACTIVITY_STATE, false); save(tenantId, edgeId, LAST_DISCONNECT_TIME, lastDisconnectTs); pushRuleEngineMessage(tenantId, edge, lastDisconnectTs, TbMsgType.DISCONNECT_EVENT); - // destroy is slow (stops the kafka edge event consumer), keep it off the atomic path destroySession(toRemove); } else { log.info("[{}] edge session [{}] is not current anymore. Attempting to destroy it by sessionId.", edgeId, sessionId); @@ -572,6 +581,11 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i * Registers the session as the current one for the edge and cancels the edge event check armed by * the session it replaces, as a single atomic step. Returns the replaced session, or null if there * was none - the caller is responsible for destroying it outside of this critical section. + *

+ * Only cheap non-blocking work may run inside the remapping function: it holds the bin lock of + * {@link #sessions} for this edge, so everything slow or lock-taking - {@link #destroySession}, + * {@code EdgeGrpcSession.cleanUp()}, {@code save(...)}, {@code pushRuleEngineMessage(...)} or + * acquiring the per-edge new events lock - has to be done by the caller once compute has returned. */ private EdgeGrpcSession attachSession(EdgeId edgeId, EdgeGrpcSession session) { AtomicReference replaced = new AtomicReference<>(); @@ -583,12 +597,19 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i return replaced.get(); } + private EdgeGrpcSession detachSession(EdgeId edgeId) { + return detachSession(edgeId, s -> true); + } + /** * Detaches the edge's registered session and cancels its edge event check as a single atomic step, * but only if that session satisfies shouldDetach. Returns the detached session, or null if the * predicate rejected it - most importantly when another session has taken the edge over in the * meantime, in which case nothing is touched and a reconnect racing with a teardown cannot lose * the check it has just armed. The caller destroys the returned session outside the atomic step. + *

+ * The remapping function is subject to the same "cheap non-blocking work only" rule as + * {@link #attachSession(EdgeId, EdgeGrpcSession)}. */ private EdgeGrpcSession detachSession(EdgeId edgeId, Predicate shouldDetach) { AtomicReference detached = new AtomicReference<>(); @@ -603,6 +624,12 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i return detached.get(); } + /** + * Stops the session's edge event consumer and shuts down its executor, collecting the session for a + * later retry if that fails. This can block for seconds - {@code KafkaEdgeGrpcSession.destroy()} + * gives the consumer executor up to 5s to terminate - so it must never be called from inside a + * {@link #sessions} remapping function. + */ private void destroySession(EdgeGrpcSession session) { try (session) { if (!session.destroy()) { @@ -722,9 +749,10 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i private void cleanupZombieSessions() { try { - // compare-and-remove: the edge may have reconnected since the zombie scan, and that newer - // session must not be evicted by the cleanup of the one it replaced - tryToDestroyZombieSessions(getZombieSessions(sessions.values()), s -> sessions.remove(s.getEdge().getId(), s)); + // detach by identity: the edge may have reconnected since the zombie scan, and that newer + // session must neither be evicted nor have its edge event check cancelled by the cleanup of + // the one it replaced + tryToDestroyZombieSessions(getZombieSessions(sessions.values()), s -> detachSession(s.getEdge().getId(), current -> current == s)); tryToDestroyZombieSessions(getZombieSessions(sessionsById.values()), s -> sessionsById.remove(s.getSessionId())); zombieSessions.removeIf(zombie -> { From a0c6bd4416be26f12ff9ef43488c2bf996c047e6 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 10 Sep 2026 12:07:22 +0300 Subject: [PATCH 011/559] Add EdgeGrpcService tests for the edge session reconnect race --- .../rpc/EdgeGrpcServiceReconnectTest.java | 338 ++++++++++++++++++ 1 file changed, 338 insertions(+) create mode 100644 application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceReconnectTest.java diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceReconnectTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceReconnectTest.java new file mode 100644 index 0000000000..8b90004e25 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceReconnectTest.java @@ -0,0 +1,338 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.service.edge.rpc; + +import com.google.common.util.concurrent.Futures; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.server.cache.SimpleTbCacheValueWrapper; +import org.thingsboard.server.cache.TbTransactionalCache; +import org.thingsboard.server.cluster.TbClusterService; +import org.thingsboard.server.common.data.edge.Edge; +import org.thingsboard.server.common.data.id.EdgeId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.msg.notification.NotificationRuleProcessor; +import org.thingsboard.server.gen.transport.TransportProtos.ToEdgeEventNotificationMsg; +import org.thingsboard.server.queue.TbQueueConsumer; +import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.common.consumer.QueueConsumerManager; +import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; +import org.thingsboard.server.service.edge.EdgeContextComponent; +import org.thingsboard.server.service.executors.GrpcCallbackExecutorService; +import org.thingsboard.server.service.telemetry.TelemetrySubscriptionService; + +import java.util.Map; +import java.util.UUID; +import java.util.concurrent.ConcurrentMap; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.doAnswer; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; + +/** + * Covers the reconnect race between a session that is being torn down and the session that has already + * taken the edge over: the teardown must not detach, cancel the edge event check of, or consume the new + * events flag of the session that replaced it. + */ +class EdgeGrpcServiceReconnectTest { + + // long enough that an armed check never actually fires during a test + private static final long NO_RECORDS_SLEEP_INTERVAL_MS = 60_000L; + private static final String THIS_NODE = "test-core"; + + private EdgeGrpcService service; + private ScheduledExecutorService edgeEventProcessingExecutorService; + private TbTransactionalCache edgeIdServiceIdCache; + + private TenantId tenantId; + private EdgeId edgeId; + private Edge edge; + + @BeforeEach + @SuppressWarnings("unchecked") + void setUp() { + tenantId = TenantId.fromUUID(UUID.randomUUID()); + edgeId = new EdgeId(UUID.randomUUID()); + edge = new Edge(edgeId); + edge.setTenantId(tenantId); + edge.setName("test-edge"); + + EdgeEventStorageSettings storageSettings = new EdgeEventStorageSettings(); + ReflectionTestUtils.setField(storageSettings, "noRecordsSleepInterval", NO_RECORDS_SLEEP_INTERVAL_MS); + + GrpcCallbackExecutorService grpcCallbackExecutorService = mock(GrpcCallbackExecutorService.class); + // run future callbacks inline so the re-arm is observable without waiting on a pool + doAnswer(invocation -> { + invocation.getArgument(0, Runnable.class).run(); + return null; + }).when(grpcCallbackExecutorService).execute(any()); + + EdgeContextComponent ctx = mock(EdgeContextComponent.class); + when(ctx.getEdgeEventStorageSettings()).thenReturn(storageSettings); + when(ctx.getGrpcCallbackExecutorService()).thenReturn(grpcCallbackExecutorService); + when(ctx.getRuleProcessor()).thenReturn(mock(NotificationRuleProcessor.class)); + + TbServiceInfoProvider serviceInfoProvider = mock(TbServiceInfoProvider.class); + when(serviceInfoProvider.getServiceId()).thenReturn(THIS_NODE); + + edgeIdServiceIdCache = mock(TbTransactionalCache.class); + // this node is the recorded owner of the edge, which is what a live local session implies + when(edgeIdServiceIdCache.get(edgeId)).thenReturn(SimpleTbCacheValueWrapper.wrap(THIS_NODE)); + edgeEventProcessingExecutorService = Executors.newSingleThreadScheduledExecutor(); + + service = new EdgeGrpcService(); + ReflectionTestUtils.setField(service, "ctx", ctx); + ReflectionTestUtils.setField(service, "tsSubService", mock(TelemetrySubscriptionService.class)); + ReflectionTestUtils.setField(service, "clusterService", mock(TbClusterService.class)); + ReflectionTestUtils.setField(service, "serviceInfoProvider", serviceInfoProvider); + ReflectionTestUtils.setField(service, "edgeIdServiceIdCache", edgeIdServiceIdCache); + ReflectionTestUtils.setField(service, "edgeEventProcessingExecutorService", edgeEventProcessingExecutorService); + } + + @AfterEach + void tearDown() { + edgeEventProcessingExecutorService.shutdownNow(); + } + + @Test + void checkIsArmedForTheCurrentSession() { + EdgeGrpcSession session = newSession(); + sessions().put(edgeId, session); + + scheduleEdgeEventsCheck(session); + + ScheduledFuture armed = edgeEventChecks().get(edgeId); + assertThat((Object) armed).as("check armed for the session that owns the edge").isNotNull(); + assertThat(armed.isCancelled()).isFalse(); + } + + @Test + void checkIsNotArmedForASupersededSession() { + EdgeGrpcSession current = newSession(); + EdgeGrpcSession superseded = newSession(); + sessions().put(edgeId, current); + scheduleEdgeEventsCheck(current); + ScheduledFuture armedByCurrent = edgeEventChecks().get(edgeId); + + scheduleEdgeEventsCheck(superseded); + + assertThat((Object) edgeEventChecks().get(edgeId)) + .as("the superseded session must neither cancel nor replace the current session's check") + .isSameAs(armedByCurrent); + assertThat(armedByCurrent.isCancelled()).isFalse(); + } + + @Test + void disconnectOfTheCurrentSessionDetachesItAndCancelsItsCheck() { + EdgeGrpcSession session = newSession(); + onEdgeConnect(session); + ScheduledFuture armedCheck = edgeEventChecks().get(edgeId); + + onEdgeDisconnect(session); + + assertThat(sessions()).doesNotContainKey(edgeId); + assertThat(sessionsById()).doesNotContainKey(session.getSessionId()); + assertThat(armedCheck.isCancelled()).as("the detached session's check is cancelled").isTrue(); + verify(edgeIdServiceIdCache).evict(edgeId); + verify(session).destroy(); + } + + @Test + void disconnectOfASupersededSessionKeepsTheReconnectedSessionAndItsCheck() { + EdgeGrpcSession first = newSession(); + onEdgeConnect(first); + // the edge reconnects before the gRPC stream of the first session is closed + EdgeGrpcSession second = newSession(); + onEdgeConnect(second); + ScheduledFuture armedBySecond = edgeEventChecks().get(edgeId); + + onEdgeDisconnect(first); + + assertThat(sessions().get(edgeId)).as("the reconnected session stays registered").isSameAs(second); + assertThat(sessionsById()).containsKey(second.getSessionId()); + assertThat((Object) edgeEventChecks().get(edgeId)) + .as("the check armed by the reconnected session survives the teardown of the one it replaced") + .isSameAs(armedBySecond); + assertThat(armedBySecond.isCancelled()).isFalse(); + verify(edgeIdServiceIdCache, never()).evict(edgeId); + } + + @Test + void disconnectDoesNotClearTheNewEventsFlag() { + EdgeGrpcSession session = newSession(); + onEdgeConnect(session); + assertThat(newEvents()).containsEntry(edgeId, true); + + onEdgeDisconnect(session); + + assertThat(newEvents()) + .as("clearing the flag here would wipe the one a reconnecting session has just raised") + .containsEntry(edgeId, true); + } + + @Test + void checkOfTheCurrentSessionConsumesTheFlagAndReArms() throws Exception { + EdgeGrpcSession session = newSession(); + when(session.processEdgeEvents()).thenReturn(Futures.immediateFuture(false)); + sessions().put(edgeId, session); + newEvents().put(edgeId, true); + migrationProcessed().put(edgeId, Boolean.TRUE); + + processEvents(session); + + assertThat(newEvents()).containsEntry(edgeId, false); + verify(session).processHighPriorityEvents(); + verify(session).processEdgeEvents(); + assertThat((Object) edgeEventChecks().get(edgeId)).as("the check re-arms itself").isNotNull(); + } + + @Test + void checkOfASupersededSessionLeavesTheFlagForTheSessionThatOwnsTheEdge() throws Exception { + EdgeGrpcSession superseded = newSession(); + EdgeGrpcSession current = newSession(); + sessions().put(edgeId, current); + newEvents().put(edgeId, true); + migrationProcessed().put(edgeId, Boolean.TRUE); + + // cancel(true) cannot stop a check that has already started, so it runs against the old session + processEvents(superseded); + + assertThat(newEvents()) + .as("consuming the flag here would leave the reconnected session with nothing to fetch") + .containsEntry(edgeId, true); + verify(superseded, never()).processHighPriorityEvents(); + verify(superseded, never()).processEdgeEvents(); + assertThat(edgeEventChecks()).doesNotContainKey(edgeId); + } + + @Test + void zombieCleanupCancelsTheCheckOfTheSessionItRemoves() { + KafkaEdgeGrpcSession zombie = newZombieSession(); + when(zombie.destroy()).thenReturn(true); + sessions().put(edgeId, zombie); + scheduleEdgeEventsCheck(zombie); + ScheduledFuture armedByZombie = edgeEventChecks().get(edgeId); + + cleanupZombieSessions(); + + assertThat(sessions()).doesNotContainKey(edgeId); + assertThat(armedByZombie.isCancelled()) + .as("the removed zombie must not leave an armed check behind") + .isTrue(); + } + + @Test + void zombieCleanupKeepsASessionThatReconnectedDuringTheSweep() { + KafkaEdgeGrpcSession zombie = newZombieSession(); + EdgeGrpcSession reconnected = newSession(); + sessions().put(edgeId, zombie); + // the edge reconnects while the zombie is being destroyed, i.e. after the scan picked it up + when(zombie.destroy()).thenAnswer(invocation -> { + sessions().put(edgeId, reconnected); + scheduleEdgeEventsCheck(reconnected); + return true; + }); + + cleanupZombieSessions(); + + assertThat(sessions().get(edgeId)).isSameAs(reconnected); + ScheduledFuture armedByReconnected = edgeEventChecks().get(edgeId); + assertThat((Object) armedByReconnected).as("the reconnected session keeps its check").isNotNull(); + assertThat(armedByReconnected.isCancelled()).isFalse(); + } + + private EdgeGrpcSession newSession() { + EdgeGrpcSession session = mock(EdgeGrpcSession.class); + stubSession(session); + return session; + } + + private KafkaEdgeGrpcSession newZombieSession() { + KafkaEdgeGrpcSession session = mock(KafkaEdgeGrpcSession.class); + stubSession(session); + @SuppressWarnings("unchecked") + QueueConsumerManager> consumerManager = mock(QueueConsumerManager.class); + @SuppressWarnings("unchecked") + TbQueueConsumer> consumer = mock(TbQueueConsumer.class); + when(consumerManager.getConsumer()).thenReturn(consumer); + when(consumer.isStopped()).thenReturn(false); + when(session.getConsumer()).thenReturn(consumerManager); + return session; + } + + private void stubSession(EdgeGrpcSession session) { + when(session.getEdge()).thenReturn(edge); + when(session.getTenantId()).thenReturn(tenantId); + when(session.getSessionId()).thenReturn(UUID.randomUUID()); + when(session.isConnected()).thenReturn(false); + when(session.destroy()).thenReturn(true); + } + + private void onEdgeConnect(EdgeGrpcSession session) { + ReflectionTestUtils.invokeMethod(service, "onEdgeConnect", edgeId, session); + } + + private void onEdgeDisconnect(EdgeGrpcSession session) { + ReflectionTestUtils.invokeMethod(service, "onEdgeDisconnect", edge, session.getSessionId()); + } + + private void scheduleEdgeEventsCheck(EdgeGrpcSession session) { + ReflectionTestUtils.invokeMethod(service, "scheduleEdgeEventsCheck", session); + } + + private void processEvents(EdgeGrpcSession session) { + ReflectionTestUtils.invokeMethod(service, "processEvents", session, edgeId, tenantId); + } + + private void cleanupZombieSessions() { + ReflectionTestUtils.invokeMethod(service, "cleanupZombieSessions"); + } + + private ConcurrentMap sessions() { + return field("sessions"); + } + + private ConcurrentMap sessionsById() { + return field("sessionsById"); + } + + private ConcurrentMap> edgeEventChecks() { + return field("sessionEdgeEventChecks"); + } + + private Map newEvents() { + return field("sessionNewEvents"); + } + + private ConcurrentMap migrationProcessed() { + return field("edgeEventsMigrationProcessed"); + } + + @SuppressWarnings("unchecked") + private T field(String name) { + return (T) ReflectionTestUtils.getField(service, name); + } + +} From 0bc8ce0f8e2257e6bbab1358e1476156d3180897 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 11 Sep 2026 16:15:22 +0300 Subject: [PATCH 012/559] Adopt SPDX license headers in newly added files --- .../server/service/mail/EdgeMailRequest.java | 17 ++--------------- .../notification/EdgeNotificationRequest.java | 17 ++--------------- .../server/service/sms/EdgeSmsRequest.java | 17 ++--------------- .../server/edge/SendEmailEdgeTest.java | 17 ++--------------- .../server/edge/SendNotificationEdgeTest.java | 17 ++--------------- .../server/edge/SendSmsEdgeTest.java | 17 ++--------------- .../AdminSettingsEdgeProcessorTest.java | 17 ++--------------- 7 files changed, 14 insertions(+), 105 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java index 733f824b0e..2f2c020ab4 100644 --- a/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.mail; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java index b135c574e8..50a06aad49 100644 --- a/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.notification; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java index 649b8a5a85..c3696b21be 100644 --- a/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.sms; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java index edab6722ac..d8c35b1676 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.edge; import com.fasterxml.jackson.databind.JsonNode; diff --git a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java index 362b7a6403..8787bcde19 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.edge; import org.junit.Test; diff --git a/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java index 190a973481..408bbfc43d 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.edge; import org.junit.Test; diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java index e3453ea618..9a9d0a9ca8 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.processor.settings; import com.fasterxml.jackson.databind.JsonNode; From 8959c6d40e1df1330dd889ee30db6c1a7cbb51ec Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 11 Sep 2026 16:15:23 +0300 Subject: [PATCH 013/559] Adopt SPDX license headers in newly added files --- .../server/service/mail/EdgeMailRequest.java | 17 ++--------------- .../notification/EdgeNotificationRequest.java | 17 ++--------------- .../server/service/sms/EdgeSmsRequest.java | 17 ++--------------- .../server/edge/SendEmailEdgeTest.java | 17 ++--------------- .../server/edge/SendNotificationEdgeTest.java | 17 ++--------------- .../server/edge/SendSmsEdgeTest.java | 17 ++--------------- .../AdminSettingsEdgeProcessorTest.java | 17 ++--------------- 7 files changed, 14 insertions(+), 105 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java index 733f824b0e..2f2c020ab4 100644 --- a/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.mail; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java index b135c574e8..50a06aad49 100644 --- a/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.notification; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java index 649b8a5a85..c3696b21be 100644 --- a/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.sms; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java index edab6722ac..d8c35b1676 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.edge; import com.fasterxml.jackson.databind.JsonNode; diff --git a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java index 5cfe5117f4..3d4fffd693 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.edge; import org.junit.Test; diff --git a/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java index 190a973481..408bbfc43d 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.edge; import org.junit.Test; diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java index e3453ea618..9a9d0a9ca8 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.processor.settings; import com.fasterxml.jackson.databind.JsonNode; From d9b6ade56983f13b42b11845295896edf74be56d Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 11 Sep 2026 16:22:56 +0300 Subject: [PATCH 014/559] Forward-port edge uplink dispatch and admin settings cleanup to refactored session classes --- .../edge/rpc/EdgeUplinkMessageDispatcher.java | 18 ++++++ .../edge/rpc/session/EdgeGrpcSession.java | 57 ++++++++++++++++++- 2 files changed, 74 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeUplinkMessageDispatcher.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeUplinkMessageDispatcher.java index 19b77cc3c0..9776a75dee 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeUplinkMessageDispatcher.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeUplinkMessageDispatcher.java @@ -34,6 +34,9 @@ import org.thingsboard.server.gen.edge.v1.ResourceUpdateMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataUpdateMsg; import org.thingsboard.server.gen.edge.v1.RuleChainUpdateMsg; +import org.thingsboard.server.gen.edge.v1.SendEmailUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendNotificationUplinkMsg; +import org.thingsboard.server.gen.edge.v1.SendSmsUplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; @@ -173,6 +176,21 @@ public class EdgeUplinkMessageDispatcher { result.add(ctx.getEdgeRequestsService().processEntityViewsRequestMsg(edge.getTenantId(), edge, entityViewRequestMsg)); } } + if (uplinkMsg.getSendEmailUplinkMsgCount() > 0) { + for (SendEmailUplinkMsg sendEmailUplinkMsg : uplinkMsg.getSendEmailUplinkMsgList()) { + result.add(ctx.getEdgeRequestsService().processSendEmailMsg(edge.getTenantId(), edge, sendEmailUplinkMsg)); + } + } + if (uplinkMsg.getSendSmsUplinkMsgCount() > 0) { + for (SendSmsUplinkMsg sendSmsUplinkMsg : uplinkMsg.getSendSmsUplinkMsgList()) { + result.add(ctx.getEdgeRequestsService().processSendSmsMsg(edge.getTenantId(), edge, sendSmsUplinkMsg)); + } + } + if (uplinkMsg.getSendNotificationUplinkMsgCount() > 0) { + for (SendNotificationUplinkMsg sendNotificationUplinkMsg : uplinkMsg.getSendNotificationUplinkMsgList()) { + result.add(ctx.getEdgeRequestsService().processSendNotificationMsg(edge.getTenantId(), edge, sendNotificationUplinkMsg)); + } + } if (uplinkMsg.getCalculatedFieldUpdateMsgCount() > 0) { for (CalculatedFieldUpdateMsg calculatedFieldUpdateMsg : uplinkMsg.getCalculatedFieldUpdateMsgList()) { result.add(ctx.getCalculatedFieldProcessor().processCalculatedFieldMsgFromEdge(edge.getTenantId(), edge, calculatedFieldUpdateMsg)); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java index c386383519..ae73b04e31 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java @@ -37,6 +37,7 @@ import org.thingsboard.server.gen.edge.v1.ConnectResponseMsg; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.DownlinkResponseMsg; import org.thingsboard.server.gen.edge.v1.EdgeConfiguration; +import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.gen.edge.v1.RequestMsg; import org.thingsboard.server.gen.edge.v1.RequestMsgType; import org.thingsboard.server.gen.edge.v1.ResponseMsg; @@ -52,6 +53,7 @@ import org.thingsboard.server.service.edge.rpc.EdgeUplinkMessageDispatcher; import org.thingsboard.server.service.edge.rpc.fetch.EdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.GeneralEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.session.manager.EdgeGrpcSessionManager; +import org.thingsboard.server.service.edge.rpc.utils.EdgeVersionUtils; import java.util.ArrayList; import java.util.Collections; @@ -71,6 +73,7 @@ public class EdgeGrpcSession implements EdgeSession { private static final int MAX_DOWNLINK_ATTEMPTS = 3; private static final String RATE_LIMIT_REACHED = "Rate limit reached"; + private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; private final EdgeGrpcSessionManager parentManagerRef; private final EdgeContextComponent ctx; @@ -173,12 +176,64 @@ public class EdgeGrpcSession implements EdgeSession { saveSyncInProgressAsAttribute(true); log.info("[{}][{}][{}] Staring edge sync process", getTenantId(), getEdgeId(), getSessionId()); interruptGeneralProcessingOnSync(); - doSync(new EdgeSyncCursor(ctx, state.getEdge(), fullSync)); + sendOneTimeAdminSettingsCleanupIfNeeded(() -> doSync(new EdgeSyncCursor(ctx, state.getEdge(), fullSync))); } else { log.info("[{}][{}][{}] Sync is already started, skipping starting it now", getTenantId(), getEdgeId(), getSessionId()); } } + private void sendOneTimeAdminSettingsCleanupIfNeeded(Runnable continuation) { + if (!EdgeVersionUtils.isEdgeVersionOlderThan(state.getEdgeVersion(), EdgeVersion.V_4_3_1_4)) { + continuation.run(); + return; + } + try { + ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() + .find(getTenantId(), getEdgeId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); + + ListenableFuture cleanupFuture = Futures.transformAsync( + isCleanupCompletedAttrFuture, + attr -> { + boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); + if (alreadyCompleted) { + return Futures.immediateFuture(false); + } + List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(state.getEdge()); + if (cleanupMsgs.isEmpty()) { + return Futures.immediateFuture(true); + } + // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise + return Futures.transform(sendDownlinkMsgsPack(cleanupMsgs), + isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); + }, ctx.getGrpcCallbackExecutorService()); + + Futures.addCallback(cleanupFuture, new FutureCallback<>() { + @Override + public void onSuccess(@Nullable Boolean markCompleted) { + if (Boolean.TRUE.equals(markCompleted)) { + markAdminSettingsCleanupCompleted(); + } + continuation.run(); + } + + @Override + public void onFailure(Throwable t) { + log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", getTenantId(), getEdgeId(), t); + continuation.run(); + } + }, ctx.getGrpcCallbackExecutorService()); + } catch (Exception e) { + log.error("[{}][{}] Failed to start admin settings cleanup", getTenantId(), getEdgeId(), e); + continuation.run(); + } + } + + private void markAdminSettingsCleanupCompleted() { + AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( + new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); + ctx.getAttributesService().save(getTenantId(), getEdgeId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); + } + @Override public void sendDownlinkMsg(ResponseMsg responseMsg) { if (state.isConnected()) { From 0ea5f6a48f7ca13e62bd7bc981fad9430f97205b Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 11 Sep 2026 16:59:48 +0300 Subject: [PATCH 015/559] Extract one-time admin settings cleanup into AdminSettingsCleanupUtils --- .../service/edge/rpc/EdgeGrpcSession.java | 59 +----------- .../rpc/utils/AdminSettingsCleanupUtils.java | 94 +++++++++++++++++++ 2 files changed, 98 insertions(+), 55 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java index 71fdca3e06..e9b3a09734 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java @@ -24,7 +24,6 @@ import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.kv.AttributeKvEntry; import org.thingsboard.server.common.data.kv.AttributesSaveResult; import org.thingsboard.server.common.data.kv.BaseAttributeKvEntry; -import org.thingsboard.server.common.data.kv.BooleanDataEntry; import org.thingsboard.server.common.data.kv.LongDataEntry; import org.thingsboard.server.common.data.kv.StringDataEntry; import org.thingsboard.server.common.data.limit.LimitedApi; @@ -79,6 +78,7 @@ import org.thingsboard.server.service.edge.EdgeContextComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import org.thingsboard.server.service.edge.rpc.fetch.EdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.GeneralEdgeEventFetcher; +import org.thingsboard.server.service.edge.rpc.utils.AdminSettingsCleanupUtils; import org.thingsboard.server.service.edge.rpc.utils.EdgeVersionUtils; import java.io.Closeable; @@ -100,7 +100,6 @@ public abstract class EdgeGrpcSession implements Closeable { private static final String QUEUE_START_TS_ATTR_KEY = "queueStartTs"; private static final String QUEUE_START_SEQ_ID_ATTR_KEY = "queueStartSeqId"; - private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; private static final int MAX_DOWNLINK_ATTEMPTS = 3; private static final String RATE_LIMIT_REACHED = "Rate limit reached"; @@ -241,64 +240,14 @@ public abstract class EdgeGrpcSession implements Closeable { log.info("[{}][{}][{}] Staring edge sync process", tenantId, edge.getId(), sessionId); syncInProgress = true; interruptGeneralProcessingOnSync(); - sendOneTimeAdminSettingsCleanupIfNeeded(() -> doSync(new EdgeSyncCursor(ctx, edge, fullSync))); + AdminSettingsCleanupUtils.sendOneTimeAdminSettingsCleanupIfNeeded(ctx, edge, edgeVersion, + EdgeVersion.V_4_2_2_4, this::sendDownlinkMsgsPack, + () -> doSync(new EdgeSyncCursor(ctx, edge, fullSync))); } else { log.info("[{}][{}][{}] Sync is already started, skipping starting it now", tenantId, edge.getId(), sessionId); } } - private void sendOneTimeAdminSettingsCleanupIfNeeded(Runnable continuation) { - if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, EdgeVersion.V_4_2_2_4)) { - continuation.run(); - return; - } - try { - ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() - .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); - - ListenableFuture cleanupFuture = Futures.transformAsync( - isCleanupCompletedAttrFuture, - attr -> { - boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); - if (alreadyCompleted) { - return Futures.immediateFuture(false); - } - List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); - if (cleanupMsgs.isEmpty()) { - return Futures.immediateFuture(true); - } - // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise - return Futures.transform(sendDownlinkMsgsPack(cleanupMsgs), - isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); - }, ctx.getGrpcCallbackExecutorService()); - - Futures.addCallback(cleanupFuture, new FutureCallback<>() { - @Override - public void onSuccess(@Nullable Boolean markCompleted) { - if (Boolean.TRUE.equals(markCompleted)) { - markAdminSettingsCleanupCompleted(); - } - continuation.run(); - } - - @Override - public void onFailure(Throwable t) { - log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); - continuation.run(); - } - }, ctx.getGrpcCallbackExecutorService()); - } catch (Exception e) { - log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); - continuation.run(); - } - } - - private void markAdminSettingsCleanupCompleted() { - AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( - new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); - ctx.getAttributesService().save(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); - } - private void doSync(EdgeSyncCursor cursor) { if (cursor.hasNext()) { EdgeEventFetcher next = cursor.getNext(); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java new file mode 100644 index 0000000000..cd0fd2ec35 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java @@ -0,0 +1,94 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.edge.rpc.utils; + +import com.google.common.util.concurrent.FutureCallback; +import com.google.common.util.concurrent.Futures; +import com.google.common.util.concurrent.ListenableFuture; +import lombok.extern.slf4j.Slf4j; +import org.checkerframework.checker.nullness.qual.Nullable; +import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.edge.Edge; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.kv.AttributeKvEntry; +import org.thingsboard.server.common.data.kv.BaseAttributeKvEntry; +import org.thingsboard.server.common.data.kv.BooleanDataEntry; +import org.thingsboard.server.gen.edge.v1.DownlinkMsg; +import org.thingsboard.server.gen.edge.v1.EdgeVersion; +import org.thingsboard.server.service.edge.EdgeContextComponent; + +import java.util.List; +import java.util.Optional; +import java.util.function.Function; + +@Slf4j +public final class AdminSettingsCleanupUtils { + + private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; + + /** + * Sends the one-time admin settings cleanup pack to edges that were provisioned before admin settings sync was + * removed, then runs {@code continuation}. Edges on {@code cleanupUpToVersion} or newer never received the + * settings, so they are skipped. The completion flag is stored as a server attribute on the edge, so the cleanup + * is sent once; if the pack is interrupted the flag is not set and the cleanup is retried on the next sync. + * + * @param downlinkMsgsPackSender sends a downlink pack, returning whether the send was interrupted + * @param continuation always invoked, whether or not the cleanup ran or failed + */ + public static void sendOneTimeAdminSettingsCleanupIfNeeded(EdgeContextComponent ctx, Edge edge, EdgeVersion edgeVersion, + EdgeVersion cleanupUpToVersion, + Function, ListenableFuture> downlinkMsgsPackSender, + Runnable continuation) { + if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, cleanupUpToVersion)) { + continuation.run(); + return; + } + TenantId tenantId = edge.getTenantId(); + try { + ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() + .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); + + ListenableFuture cleanupFuture = Futures.transformAsync( + isCleanupCompletedAttrFuture, + attr -> { + boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); + if (alreadyCompleted) { + return Futures.immediateFuture(false); + } + List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); + if (cleanupMsgs.isEmpty()) { + return Futures.immediateFuture(true); + } + // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise + return Futures.transform(downlinkMsgsPackSender.apply(cleanupMsgs), + isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); + }, ctx.getGrpcCallbackExecutorService()); + + Futures.addCallback(cleanupFuture, new FutureCallback<>() { + @Override + public void onSuccess(@Nullable Boolean markCompleted) { + if (Boolean.TRUE.equals(markCompleted)) { + markAdminSettingsCleanupCompleted(ctx, edge); + } + continuation.run(); + } + + @Override + public void onFailure(Throwable t) { + log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); + continuation.run(); + } + }, ctx.getGrpcCallbackExecutorService()); + } catch (Exception e) { + log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); + continuation.run(); + } + } + + private static void markAdminSettingsCleanupCompleted(EdgeContextComponent ctx, Edge edge) { + AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( + new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); + ctx.getAttributesService().save(edge.getTenantId(), edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); + } + +} From 405221cfb88162404417a7a3dbc29a5ba9d8fd06 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 11 Sep 2026 17:02:22 +0300 Subject: [PATCH 016/559] Extract one-time admin settings cleanup into AdminSettingsCleanupUtils --- .../service/edge/rpc/EdgeGrpcSession.java | 58 +----------- .../rpc/utils/AdminSettingsCleanupUtils.java | 94 +++++++++++++++++++ 2 files changed, 98 insertions(+), 54 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java index 1299cf8e38..413de01b79 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java @@ -85,6 +85,7 @@ import org.thingsboard.server.service.edge.EdgeContextComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import org.thingsboard.server.service.edge.rpc.fetch.EdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.GeneralEdgeEventFetcher; +import org.thingsboard.server.service.edge.rpc.utils.AdminSettingsCleanupUtils; import org.thingsboard.server.service.edge.rpc.utils.EdgeVersionUtils; import java.io.Closeable; @@ -107,7 +108,6 @@ public abstract class EdgeGrpcSession implements Closeable { private static final String QUEUE_START_TS_ATTR_KEY = "queueStartTs"; private static final String QUEUE_START_SEQ_ID_ATTR_KEY = "queueStartSeqId"; - private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; private static final int MAX_DOWNLINK_ATTEMPTS = 3; private static final String RATE_LIMIT_REACHED = "Rate limit reached"; @@ -255,64 +255,14 @@ public abstract class EdgeGrpcSession implements Closeable { log.info("[{}][{}][{}] Staring edge sync process", tenantId, edge.getId(), sessionId); updateSyncInProgress(true); interruptGeneralProcessingOnSync(); - sendOneTimeAdminSettingsCleanupIfNeeded(() -> doSync(new EdgeSyncCursor(ctx, edge, fullSync))); + AdminSettingsCleanupUtils.sendOneTimeAdminSettingsCleanupIfNeeded(ctx, edge, edgeVersion, + EdgeVersion.V_4_3_1_4, this::sendDownlinkMsgsPack, + () -> doSync(new EdgeSyncCursor(ctx, edge, fullSync))); } else { log.info("[{}][{}][{}] Sync is already started, skipping starting it now", tenantId, edge.getId(), sessionId); } } - private void sendOneTimeAdminSettingsCleanupIfNeeded(Runnable continuation) { - if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, EdgeVersion.V_4_3_1_4)) { - continuation.run(); - return; - } - try { - ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() - .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); - - ListenableFuture cleanupFuture = Futures.transformAsync( - isCleanupCompletedAttrFuture, - attr -> { - boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); - if (alreadyCompleted) { - return Futures.immediateFuture(false); - } - List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); - if (cleanupMsgs.isEmpty()) { - return Futures.immediateFuture(true); - } - // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise - return Futures.transform(sendDownlinkMsgsPack(cleanupMsgs), - isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); - }, ctx.getGrpcCallbackExecutorService()); - - Futures.addCallback(cleanupFuture, new FutureCallback<>() { - @Override - public void onSuccess(@Nullable Boolean markCompleted) { - if (Boolean.TRUE.equals(markCompleted)) { - markAdminSettingsCleanupCompleted(); - } - continuation.run(); - } - - @Override - public void onFailure(Throwable t) { - log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); - continuation.run(); - } - }, ctx.getGrpcCallbackExecutorService()); - } catch (Exception e) { - log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); - continuation.run(); - } - } - - private void markAdminSettingsCleanupCompleted() { - AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( - new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); - ctx.getAttributesService().save(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); - } - private void doSync(EdgeSyncCursor cursor) { if (cursor.hasNext()) { EdgeEventFetcher next = cursor.getNext(); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java new file mode 100644 index 0000000000..cd0fd2ec35 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java @@ -0,0 +1,94 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.edge.rpc.utils; + +import com.google.common.util.concurrent.FutureCallback; +import com.google.common.util.concurrent.Futures; +import com.google.common.util.concurrent.ListenableFuture; +import lombok.extern.slf4j.Slf4j; +import org.checkerframework.checker.nullness.qual.Nullable; +import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.edge.Edge; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.kv.AttributeKvEntry; +import org.thingsboard.server.common.data.kv.BaseAttributeKvEntry; +import org.thingsboard.server.common.data.kv.BooleanDataEntry; +import org.thingsboard.server.gen.edge.v1.DownlinkMsg; +import org.thingsboard.server.gen.edge.v1.EdgeVersion; +import org.thingsboard.server.service.edge.EdgeContextComponent; + +import java.util.List; +import java.util.Optional; +import java.util.function.Function; + +@Slf4j +public final class AdminSettingsCleanupUtils { + + private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; + + /** + * Sends the one-time admin settings cleanup pack to edges that were provisioned before admin settings sync was + * removed, then runs {@code continuation}. Edges on {@code cleanupUpToVersion} or newer never received the + * settings, so they are skipped. The completion flag is stored as a server attribute on the edge, so the cleanup + * is sent once; if the pack is interrupted the flag is not set and the cleanup is retried on the next sync. + * + * @param downlinkMsgsPackSender sends a downlink pack, returning whether the send was interrupted + * @param continuation always invoked, whether or not the cleanup ran or failed + */ + public static void sendOneTimeAdminSettingsCleanupIfNeeded(EdgeContextComponent ctx, Edge edge, EdgeVersion edgeVersion, + EdgeVersion cleanupUpToVersion, + Function, ListenableFuture> downlinkMsgsPackSender, + Runnable continuation) { + if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, cleanupUpToVersion)) { + continuation.run(); + return; + } + TenantId tenantId = edge.getTenantId(); + try { + ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() + .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); + + ListenableFuture cleanupFuture = Futures.transformAsync( + isCleanupCompletedAttrFuture, + attr -> { + boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); + if (alreadyCompleted) { + return Futures.immediateFuture(false); + } + List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); + if (cleanupMsgs.isEmpty()) { + return Futures.immediateFuture(true); + } + // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise + return Futures.transform(downlinkMsgsPackSender.apply(cleanupMsgs), + isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); + }, ctx.getGrpcCallbackExecutorService()); + + Futures.addCallback(cleanupFuture, new FutureCallback<>() { + @Override + public void onSuccess(@Nullable Boolean markCompleted) { + if (Boolean.TRUE.equals(markCompleted)) { + markAdminSettingsCleanupCompleted(ctx, edge); + } + continuation.run(); + } + + @Override + public void onFailure(Throwable t) { + log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); + continuation.run(); + } + }, ctx.getGrpcCallbackExecutorService()); + } catch (Exception e) { + log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); + continuation.run(); + } + } + + private static void markAdminSettingsCleanupCompleted(EdgeContextComponent ctx, Edge edge) { + AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( + new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); + ctx.getAttributesService().save(edge.getTenantId(), edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); + } + +} From 87623a2d7fbc6158b04d9a76c9f696a9a12472cf Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 11 Sep 2026 17:03:50 +0300 Subject: [PATCH 017/559] Extract one-time admin settings cleanup into AdminSettingsCleanupUtils --- .../edge/rpc/session/EdgeGrpcSession.java | 59 +----------- .../rpc/utils/AdminSettingsCleanupUtils.java | 94 +++++++++++++++++++ 2 files changed, 98 insertions(+), 55 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java index ae73b04e31..7186525c8a 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java @@ -53,7 +53,7 @@ import org.thingsboard.server.service.edge.rpc.EdgeUplinkMessageDispatcher; import org.thingsboard.server.service.edge.rpc.fetch.EdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.GeneralEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.session.manager.EdgeGrpcSessionManager; -import org.thingsboard.server.service.edge.rpc.utils.EdgeVersionUtils; +import org.thingsboard.server.service.edge.rpc.utils.AdminSettingsCleanupUtils; import java.util.ArrayList; import java.util.Collections; @@ -73,7 +73,6 @@ public class EdgeGrpcSession implements EdgeSession { private static final int MAX_DOWNLINK_ATTEMPTS = 3; private static final String RATE_LIMIT_REACHED = "Rate limit reached"; - private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; private final EdgeGrpcSessionManager parentManagerRef; private final EdgeContextComponent ctx; @@ -176,64 +175,14 @@ public class EdgeGrpcSession implements EdgeSession { saveSyncInProgressAsAttribute(true); log.info("[{}][{}][{}] Staring edge sync process", getTenantId(), getEdgeId(), getSessionId()); interruptGeneralProcessingOnSync(); - sendOneTimeAdminSettingsCleanupIfNeeded(() -> doSync(new EdgeSyncCursor(ctx, state.getEdge(), fullSync))); + AdminSettingsCleanupUtils.sendOneTimeAdminSettingsCleanupIfNeeded(ctx, state.getEdge(), state.getEdgeVersion(), + EdgeVersion.V_4_3_1_4, this::sendDownlinkMsgsPack, + () -> doSync(new EdgeSyncCursor(ctx, state.getEdge(), fullSync))); } else { log.info("[{}][{}][{}] Sync is already started, skipping starting it now", getTenantId(), getEdgeId(), getSessionId()); } } - private void sendOneTimeAdminSettingsCleanupIfNeeded(Runnable continuation) { - if (!EdgeVersionUtils.isEdgeVersionOlderThan(state.getEdgeVersion(), EdgeVersion.V_4_3_1_4)) { - continuation.run(); - return; - } - try { - ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() - .find(getTenantId(), getEdgeId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); - - ListenableFuture cleanupFuture = Futures.transformAsync( - isCleanupCompletedAttrFuture, - attr -> { - boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); - if (alreadyCompleted) { - return Futures.immediateFuture(false); - } - List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(state.getEdge()); - if (cleanupMsgs.isEmpty()) { - return Futures.immediateFuture(true); - } - // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise - return Futures.transform(sendDownlinkMsgsPack(cleanupMsgs), - isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); - }, ctx.getGrpcCallbackExecutorService()); - - Futures.addCallback(cleanupFuture, new FutureCallback<>() { - @Override - public void onSuccess(@Nullable Boolean markCompleted) { - if (Boolean.TRUE.equals(markCompleted)) { - markAdminSettingsCleanupCompleted(); - } - continuation.run(); - } - - @Override - public void onFailure(Throwable t) { - log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", getTenantId(), getEdgeId(), t); - continuation.run(); - } - }, ctx.getGrpcCallbackExecutorService()); - } catch (Exception e) { - log.error("[{}][{}] Failed to start admin settings cleanup", getTenantId(), getEdgeId(), e); - continuation.run(); - } - } - - private void markAdminSettingsCleanupCompleted() { - AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( - new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); - ctx.getAttributesService().save(getTenantId(), getEdgeId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); - } - @Override public void sendDownlinkMsg(ResponseMsg responseMsg) { if (state.isConnected()) { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java new file mode 100644 index 0000000000..cd0fd2ec35 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java @@ -0,0 +1,94 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.edge.rpc.utils; + +import com.google.common.util.concurrent.FutureCallback; +import com.google.common.util.concurrent.Futures; +import com.google.common.util.concurrent.ListenableFuture; +import lombok.extern.slf4j.Slf4j; +import org.checkerframework.checker.nullness.qual.Nullable; +import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.edge.Edge; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.kv.AttributeKvEntry; +import org.thingsboard.server.common.data.kv.BaseAttributeKvEntry; +import org.thingsboard.server.common.data.kv.BooleanDataEntry; +import org.thingsboard.server.gen.edge.v1.DownlinkMsg; +import org.thingsboard.server.gen.edge.v1.EdgeVersion; +import org.thingsboard.server.service.edge.EdgeContextComponent; + +import java.util.List; +import java.util.Optional; +import java.util.function.Function; + +@Slf4j +public final class AdminSettingsCleanupUtils { + + private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; + + /** + * Sends the one-time admin settings cleanup pack to edges that were provisioned before admin settings sync was + * removed, then runs {@code continuation}. Edges on {@code cleanupUpToVersion} or newer never received the + * settings, so they are skipped. The completion flag is stored as a server attribute on the edge, so the cleanup + * is sent once; if the pack is interrupted the flag is not set and the cleanup is retried on the next sync. + * + * @param downlinkMsgsPackSender sends a downlink pack, returning whether the send was interrupted + * @param continuation always invoked, whether or not the cleanup ran or failed + */ + public static void sendOneTimeAdminSettingsCleanupIfNeeded(EdgeContextComponent ctx, Edge edge, EdgeVersion edgeVersion, + EdgeVersion cleanupUpToVersion, + Function, ListenableFuture> downlinkMsgsPackSender, + Runnable continuation) { + if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, cleanupUpToVersion)) { + continuation.run(); + return; + } + TenantId tenantId = edge.getTenantId(); + try { + ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() + .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); + + ListenableFuture cleanupFuture = Futures.transformAsync( + isCleanupCompletedAttrFuture, + attr -> { + boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); + if (alreadyCompleted) { + return Futures.immediateFuture(false); + } + List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); + if (cleanupMsgs.isEmpty()) { + return Futures.immediateFuture(true); + } + // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise + return Futures.transform(downlinkMsgsPackSender.apply(cleanupMsgs), + isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); + }, ctx.getGrpcCallbackExecutorService()); + + Futures.addCallback(cleanupFuture, new FutureCallback<>() { + @Override + public void onSuccess(@Nullable Boolean markCompleted) { + if (Boolean.TRUE.equals(markCompleted)) { + markAdminSettingsCleanupCompleted(ctx, edge); + } + continuation.run(); + } + + @Override + public void onFailure(Throwable t) { + log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); + continuation.run(); + } + }, ctx.getGrpcCallbackExecutorService()); + } catch (Exception e) { + log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); + continuation.run(); + } + } + + private static void markAdminSettingsCleanupCompleted(EdgeContextComponent ctx, Edge edge) { + AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( + new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); + ctx.getAttributesService().save(edge.getTenantId(), edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); + } + +} From 49afaa211e248cb5dbd710edce74e9674a6cef0e Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 11 Sep 2026 18:22:14 +0300 Subject: [PATCH 018/559] Remove cloud-side admin settings cleanup in favor of edge-side migration --- .../service/edge/EdgeContextComponent.java | 4 - .../service/edge/rpc/EdgeGrpcSession.java | 5 +- .../settings/AdminSettingsEdgeProcessor.java | 78 --------------- .../rpc/utils/AdminSettingsCleanupUtils.java | 94 ------------------- .../AdminSettingsEdgeProcessorTest.java | 52 ---------- 5 files changed, 1 insertion(+), 232 deletions(-) delete mode 100644 application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java index 7d9f5bb8db..58b4cf719d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java @@ -59,7 +59,6 @@ import org.thingsboard.server.service.edge.rpc.processor.relation.RelationEdgePr import org.thingsboard.server.service.edge.rpc.processor.resource.ResourceEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainMetadataEdgeProcessor; -import org.thingsboard.server.service.edge.rpc.processor.settings.AdminSettingsEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.telemetry.TelemetryEdgeProcessor; import org.thingsboard.server.service.edge.rpc.sync.EdgeRequestsService; import org.thingsboard.server.service.executors.GrpcCallbackExecutorService; @@ -193,9 +192,6 @@ public class EdgeContextComponent { // processors - @Autowired - private AdminSettingsEdgeProcessor adminSettingsProcessor; - @Autowired private AlarmProcessor alarmProcessor; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java index e9b3a09734..ec9eedde62 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java @@ -78,7 +78,6 @@ import org.thingsboard.server.service.edge.EdgeContextComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import org.thingsboard.server.service.edge.rpc.fetch.EdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.GeneralEdgeEventFetcher; -import org.thingsboard.server.service.edge.rpc.utils.AdminSettingsCleanupUtils; import org.thingsboard.server.service.edge.rpc.utils.EdgeVersionUtils; import java.io.Closeable; @@ -240,9 +239,7 @@ public abstract class EdgeGrpcSession implements Closeable { log.info("[{}][{}][{}] Staring edge sync process", tenantId, edge.getId(), sessionId); syncInProgress = true; interruptGeneralProcessingOnSync(); - AdminSettingsCleanupUtils.sendOneTimeAdminSettingsCleanupIfNeeded(ctx, edge, edgeVersion, - EdgeVersion.V_4_2_2_4, this::sendDownlinkMsgsPack, - () -> doSync(new EdgeSyncCursor(ctx, edge, fullSync))); + doSync(new EdgeSyncCursor(ctx, edge, fullSync)); } else { log.info("[{}][{}][{}] Sync is already started, skipping starting it now", tenantId, edge.getId(), sessionId); } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java index 7e80be5b1c..a43808d2da 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java @@ -2,35 +2,21 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.processor.settings; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.extern.slf4j.Slf4j; -import org.apache.commons.lang3.RandomStringUtils; -import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.EdgeUtils; -import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.id.AdminSettingsId; import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.page.PageData; -import org.thingsboard.server.common.data.page.PageLink; -import org.thingsboard.server.common.data.security.model.JwtSettings; import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; -import org.thingsboard.server.service.security.auth.jwt.settings.JwtSettingsService; -import java.nio.charset.StandardCharsets; -import java.util.ArrayList; -import java.util.Base64; -import java.util.HashSet; -import java.util.List; import java.util.Set; @Slf4j @@ -40,15 +26,6 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { private static final Set EDGE_SYNCED_SETTINGS_KEYS = Set.of("general", "connectivity"); - private static final int DEFAULT_PAGE_SIZE = 1000; - - @Value("${security.jwt.tokenExpirationTime:9000}") - private Integer tokenExpirationTime; - @Value("${security.jwt.refreshTokenExpTime:604800}") - private Integer refreshTokenExpTime; - @Value("${security.jwt.tokenIssuer:thingsboard.io}") - private String tokenIssuer; - @Override public DownlinkMsg convertEdgeEventToDownlink(EdgeEvent edgeEvent, EdgeVersion edgeVersion) { AdminSettings adminSettings = null; @@ -75,61 +52,6 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { .build(); } - public List convertAdminSettingsCleanupToDownlinks(Edge edge) { - List result = new ArrayList<>(); - Set cleanedKeys = new HashSet<>(); - - Set tenantScopes = Set.of(TenantId.SYS_TENANT_ID, edge.getTenantId()); - for (TenantId scope : tenantScopes) { - PageLink pageLink = new PageLink(DEFAULT_PAGE_SIZE); - PageData page; - do { - page = edgeCtx.getAdminSettingsService().findAllByTenantId(scope, pageLink); - for (AdminSettings adminSettings : page.getData()) { - String key = adminSettings.getKey(); - if (EDGE_SYNCED_SETTINGS_KEYS.contains(key) || !cleanedKeys.add(key)) { - continue; - } - result.add(buildAdminSettingsCleanupDownlink(key)); - } - pageLink = pageLink.nextPageLink(); - } while (page.hasNext()); - } - log.info("[{}][{}] Prepared {} one-time admin settings cleanup message(s): {}", - edge.getTenantId(), edge.getId(), result.size(), cleanedKeys); - return result; - } - - private DownlinkMsg buildAdminSettingsCleanupDownlink(String key) { - AdminSettings adminSettings = new AdminSettings(); - adminSettings.setTenantId(TenantId.SYS_TENANT_ID); - adminSettings.setKey(key); - adminSettings.setJsonValue(buildAdminSettingsCleanupValue(key)); - AdminSettingsUpdateMsg msg = AdminSettingsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(adminSettings)).build(); - return DownlinkMsg.newBuilder() - .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) - .addAdminSettingsUpdateMsg(msg) - .build(); - } - - private JsonNode buildAdminSettingsCleanupValue(String key) { - if (JwtSettingsService.ADMIN_SETTINGS_JWT_KEY.equals(key)) { - return JacksonUtil.valueToTree(generateRandomJwtSettings()); - } - ObjectNode value = JacksonUtil.newObjectNode(); - if ("mail".equals(key)) { - value.put("password", ""); - value.put("refreshToken", ""); - } - return value; - } - - private JwtSettings generateRandomJwtSettings() { - String randomSigningKey = Base64.getEncoder().encodeToString( - RandomStringUtils.secure().nextAlphanumeric(64).getBytes(StandardCharsets.UTF_8)); - return new JwtSettings(tokenExpirationTime, refreshTokenExpTime, tokenIssuer, randomSigningKey); - } - @Override public EdgeEventType getEdgeEventType() { return EdgeEventType.ADMIN_SETTINGS; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java deleted file mode 100644 index cd0fd2ec35..0000000000 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java +++ /dev/null @@ -1,94 +0,0 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors -// SPDX-License-Identifier: Apache-2.0 -package org.thingsboard.server.service.edge.rpc.utils; - -import com.google.common.util.concurrent.FutureCallback; -import com.google.common.util.concurrent.Futures; -import com.google.common.util.concurrent.ListenableFuture; -import lombok.extern.slf4j.Slf4j; -import org.checkerframework.checker.nullness.qual.Nullable; -import org.thingsboard.server.common.data.AttributeScope; -import org.thingsboard.server.common.data.edge.Edge; -import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.kv.AttributeKvEntry; -import org.thingsboard.server.common.data.kv.BaseAttributeKvEntry; -import org.thingsboard.server.common.data.kv.BooleanDataEntry; -import org.thingsboard.server.gen.edge.v1.DownlinkMsg; -import org.thingsboard.server.gen.edge.v1.EdgeVersion; -import org.thingsboard.server.service.edge.EdgeContextComponent; - -import java.util.List; -import java.util.Optional; -import java.util.function.Function; - -@Slf4j -public final class AdminSettingsCleanupUtils { - - private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; - - /** - * Sends the one-time admin settings cleanup pack to edges that were provisioned before admin settings sync was - * removed, then runs {@code continuation}. Edges on {@code cleanupUpToVersion} or newer never received the - * settings, so they are skipped. The completion flag is stored as a server attribute on the edge, so the cleanup - * is sent once; if the pack is interrupted the flag is not set and the cleanup is retried on the next sync. - * - * @param downlinkMsgsPackSender sends a downlink pack, returning whether the send was interrupted - * @param continuation always invoked, whether or not the cleanup ran or failed - */ - public static void sendOneTimeAdminSettingsCleanupIfNeeded(EdgeContextComponent ctx, Edge edge, EdgeVersion edgeVersion, - EdgeVersion cleanupUpToVersion, - Function, ListenableFuture> downlinkMsgsPackSender, - Runnable continuation) { - if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, cleanupUpToVersion)) { - continuation.run(); - return; - } - TenantId tenantId = edge.getTenantId(); - try { - ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() - .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); - - ListenableFuture cleanupFuture = Futures.transformAsync( - isCleanupCompletedAttrFuture, - attr -> { - boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); - if (alreadyCompleted) { - return Futures.immediateFuture(false); - } - List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); - if (cleanupMsgs.isEmpty()) { - return Futures.immediateFuture(true); - } - // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise - return Futures.transform(downlinkMsgsPackSender.apply(cleanupMsgs), - isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); - }, ctx.getGrpcCallbackExecutorService()); - - Futures.addCallback(cleanupFuture, new FutureCallback<>() { - @Override - public void onSuccess(@Nullable Boolean markCompleted) { - if (Boolean.TRUE.equals(markCompleted)) { - markAdminSettingsCleanupCompleted(ctx, edge); - } - continuation.run(); - } - - @Override - public void onFailure(Throwable t) { - log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); - continuation.run(); - } - }, ctx.getGrpcCallbackExecutorService()); - } catch (Exception e) { - log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); - continuation.run(); - } - } - - private static void markAdminSettingsCleanupCompleted(EdgeContextComponent ctx, Edge edge) { - AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( - new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); - ctx.getAttributesService().save(edge.getTenantId(), edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); - } - -} diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java index 9a9d0a9ca8..70598f6c67 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.processor.settings; -import com.fasterxml.jackson.databind.JsonNode; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -12,25 +11,18 @@ import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.test.util.ReflectionTestUtils; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AdminSettings; -import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.id.AdminSettingsId; import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.dao.settings.AdminSettingsService; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.service.edge.EdgeContextComponent; -import java.util.List; -import java.util.Map; -import java.util.Set; import java.util.UUID; -import java.util.stream.Collectors; import static org.mockito.ArgumentMatchers.any; -import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.when; @@ -49,9 +41,6 @@ public class AdminSettingsEdgeProcessorTest { public void setUp() { processor = new AdminSettingsEdgeProcessor(); ReflectionTestUtils.setField(processor, "edgeCtx", edgeCtx); - ReflectionTestUtils.setField(processor, "tokenExpirationTime", 9000); - ReflectionTestUtils.setField(processor, "refreshTokenExpTime", 604800); - ReflectionTestUtils.setField(processor, "tokenIssuer", "thingsboard.io"); lenient().when(edgeCtx.getAdminSettingsService()).thenReturn(adminSettingsService); } @@ -89,42 +78,6 @@ public class AdminSettingsEdgeProcessorTest { Assertions.assertNull(downlink); } - @Test - public void testCleanupClearsSecretsAndSkipsAllowListedKeys() { - Edge edge = new Edge(); - edge.setId(new EdgeId(UUID.randomUUID())); - edge.setTenantId(tenantId); - - when(adminSettingsService.findAllByTenantId(eq(TenantId.SYS_TENANT_ID), any())) - .thenReturn(page(adminSettings(TenantId.SYS_TENANT_ID, "mail"), - adminSettings(TenantId.SYS_TENANT_ID, "jwt"), - adminSettings(TenantId.SYS_TENANT_ID, "general"))); - when(adminSettingsService.findAllByTenantId(eq(tenantId), any())) - .thenReturn(page(adminSettings(tenantId, "sms"), - adminSettings(tenantId, "connectivity"))); - - List downlinks = processor.convertAdminSettingsCleanupToDownlinks(edge); - - Map cleanupByKey = downlinks.stream() - .map(d -> JacksonUtil.fromString(d.getAdminSettingsUpdateMsg(0).getEntity(), AdminSettings.class, true)) - .collect(Collectors.toMap(AdminSettings::getKey, s -> s)); - - // Allow-listed keys (general/connectivity) are never wiped; every other key is. - Assertions.assertEquals(Set.of("mail", "jwt", "sms"), cleanupByKey.keySet()); - - // Mail secrets are blanked. - JsonNode mailValue = cleanupByKey.get("mail").getJsonValue(); - Assertions.assertEquals("", mailValue.get("password").asText()); - Assertions.assertEquals("", mailValue.get("refreshToken").asText()); - - // JWT signing key is re-randomized to a non-empty value. - JsonNode jwtValue = cleanupByKey.get("jwt").getJsonValue(); - Assertions.assertFalse(jwtValue.get("tokenSigningKey").asText().isEmpty()); - - // Other non-allow-listed keys are wiped to an empty object. - Assertions.assertTrue(cleanupByKey.get("sms").getJsonValue().isEmpty()); - } - private EdgeEvent edgeEvent(TenantId eventTenantId) { EdgeEvent edgeEvent = new EdgeEvent(); edgeEvent.setTenantId(eventTenantId); @@ -142,9 +95,4 @@ public class AdminSettingsEdgeProcessorTest { return adminSettings; } - private PageData page(AdminSettings... settings) { - List data = List.of(settings); - return new PageData<>(data, 1, data.size(), false); - } - } From a4ff69fe9e5e2ae0cf71e00392bd65c827684efa Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 11 Sep 2026 18:23:10 +0300 Subject: [PATCH 019/559] Remove cloud-side admin settings cleanup in favor of edge-side migration --- .../service/edge/EdgeContextComponent.java | 4 - .../service/edge/rpc/EdgeGrpcSession.java | 5 +- .../settings/AdminSettingsEdgeProcessor.java | 78 --------------- .../rpc/utils/AdminSettingsCleanupUtils.java | 94 ------------------- .../AdminSettingsEdgeProcessorTest.java | 52 ---------- 5 files changed, 1 insertion(+), 232 deletions(-) delete mode 100644 application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java index ac75570f82..1564ad8e7b 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java @@ -63,7 +63,6 @@ import org.thingsboard.server.service.edge.rpc.processor.relation.RelationEdgePr import org.thingsboard.server.service.edge.rpc.processor.resource.ResourceEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainMetadataEdgeProcessor; -import org.thingsboard.server.service.edge.rpc.processor.settings.AdminSettingsEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.telemetry.TelemetryEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.user.UserProcessor; import org.thingsboard.server.service.edge.rpc.sync.EdgeRequestsService; @@ -201,9 +200,6 @@ public class EdgeContextComponent { private Optional statsCounterService; // processors - @Autowired - private AdminSettingsEdgeProcessor adminSettingsProcessor; - @Autowired private AlarmProcessor alarmProcessor; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java index 413de01b79..d01a53aab8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java @@ -85,7 +85,6 @@ import org.thingsboard.server.service.edge.EdgeContextComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import org.thingsboard.server.service.edge.rpc.fetch.EdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.GeneralEdgeEventFetcher; -import org.thingsboard.server.service.edge.rpc.utils.AdminSettingsCleanupUtils; import org.thingsboard.server.service.edge.rpc.utils.EdgeVersionUtils; import java.io.Closeable; @@ -255,9 +254,7 @@ public abstract class EdgeGrpcSession implements Closeable { log.info("[{}][{}][{}] Staring edge sync process", tenantId, edge.getId(), sessionId); updateSyncInProgress(true); interruptGeneralProcessingOnSync(); - AdminSettingsCleanupUtils.sendOneTimeAdminSettingsCleanupIfNeeded(ctx, edge, edgeVersion, - EdgeVersion.V_4_3_1_4, this::sendDownlinkMsgsPack, - () -> doSync(new EdgeSyncCursor(ctx, edge, fullSync))); + doSync(new EdgeSyncCursor(ctx, edge, fullSync)); } else { log.info("[{}][{}][{}] Sync is already started, skipping starting it now", tenantId, edge.getId(), sessionId); } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java index 7e80be5b1c..a43808d2da 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java @@ -2,35 +2,21 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.processor.settings; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.extern.slf4j.Slf4j; -import org.apache.commons.lang3.RandomStringUtils; -import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.EdgeUtils; -import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.id.AdminSettingsId; import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.page.PageData; -import org.thingsboard.server.common.data.page.PageLink; -import org.thingsboard.server.common.data.security.model.JwtSettings; import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; -import org.thingsboard.server.service.security.auth.jwt.settings.JwtSettingsService; -import java.nio.charset.StandardCharsets; -import java.util.ArrayList; -import java.util.Base64; -import java.util.HashSet; -import java.util.List; import java.util.Set; @Slf4j @@ -40,15 +26,6 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { private static final Set EDGE_SYNCED_SETTINGS_KEYS = Set.of("general", "connectivity"); - private static final int DEFAULT_PAGE_SIZE = 1000; - - @Value("${security.jwt.tokenExpirationTime:9000}") - private Integer tokenExpirationTime; - @Value("${security.jwt.refreshTokenExpTime:604800}") - private Integer refreshTokenExpTime; - @Value("${security.jwt.tokenIssuer:thingsboard.io}") - private String tokenIssuer; - @Override public DownlinkMsg convertEdgeEventToDownlink(EdgeEvent edgeEvent, EdgeVersion edgeVersion) { AdminSettings adminSettings = null; @@ -75,61 +52,6 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { .build(); } - public List convertAdminSettingsCleanupToDownlinks(Edge edge) { - List result = new ArrayList<>(); - Set cleanedKeys = new HashSet<>(); - - Set tenantScopes = Set.of(TenantId.SYS_TENANT_ID, edge.getTenantId()); - for (TenantId scope : tenantScopes) { - PageLink pageLink = new PageLink(DEFAULT_PAGE_SIZE); - PageData page; - do { - page = edgeCtx.getAdminSettingsService().findAllByTenantId(scope, pageLink); - for (AdminSettings adminSettings : page.getData()) { - String key = adminSettings.getKey(); - if (EDGE_SYNCED_SETTINGS_KEYS.contains(key) || !cleanedKeys.add(key)) { - continue; - } - result.add(buildAdminSettingsCleanupDownlink(key)); - } - pageLink = pageLink.nextPageLink(); - } while (page.hasNext()); - } - log.info("[{}][{}] Prepared {} one-time admin settings cleanup message(s): {}", - edge.getTenantId(), edge.getId(), result.size(), cleanedKeys); - return result; - } - - private DownlinkMsg buildAdminSettingsCleanupDownlink(String key) { - AdminSettings adminSettings = new AdminSettings(); - adminSettings.setTenantId(TenantId.SYS_TENANT_ID); - adminSettings.setKey(key); - adminSettings.setJsonValue(buildAdminSettingsCleanupValue(key)); - AdminSettingsUpdateMsg msg = AdminSettingsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(adminSettings)).build(); - return DownlinkMsg.newBuilder() - .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) - .addAdminSettingsUpdateMsg(msg) - .build(); - } - - private JsonNode buildAdminSettingsCleanupValue(String key) { - if (JwtSettingsService.ADMIN_SETTINGS_JWT_KEY.equals(key)) { - return JacksonUtil.valueToTree(generateRandomJwtSettings()); - } - ObjectNode value = JacksonUtil.newObjectNode(); - if ("mail".equals(key)) { - value.put("password", ""); - value.put("refreshToken", ""); - } - return value; - } - - private JwtSettings generateRandomJwtSettings() { - String randomSigningKey = Base64.getEncoder().encodeToString( - RandomStringUtils.secure().nextAlphanumeric(64).getBytes(StandardCharsets.UTF_8)); - return new JwtSettings(tokenExpirationTime, refreshTokenExpTime, tokenIssuer, randomSigningKey); - } - @Override public EdgeEventType getEdgeEventType() { return EdgeEventType.ADMIN_SETTINGS; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java deleted file mode 100644 index cd0fd2ec35..0000000000 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java +++ /dev/null @@ -1,94 +0,0 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors -// SPDX-License-Identifier: Apache-2.0 -package org.thingsboard.server.service.edge.rpc.utils; - -import com.google.common.util.concurrent.FutureCallback; -import com.google.common.util.concurrent.Futures; -import com.google.common.util.concurrent.ListenableFuture; -import lombok.extern.slf4j.Slf4j; -import org.checkerframework.checker.nullness.qual.Nullable; -import org.thingsboard.server.common.data.AttributeScope; -import org.thingsboard.server.common.data.edge.Edge; -import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.kv.AttributeKvEntry; -import org.thingsboard.server.common.data.kv.BaseAttributeKvEntry; -import org.thingsboard.server.common.data.kv.BooleanDataEntry; -import org.thingsboard.server.gen.edge.v1.DownlinkMsg; -import org.thingsboard.server.gen.edge.v1.EdgeVersion; -import org.thingsboard.server.service.edge.EdgeContextComponent; - -import java.util.List; -import java.util.Optional; -import java.util.function.Function; - -@Slf4j -public final class AdminSettingsCleanupUtils { - - private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; - - /** - * Sends the one-time admin settings cleanup pack to edges that were provisioned before admin settings sync was - * removed, then runs {@code continuation}. Edges on {@code cleanupUpToVersion} or newer never received the - * settings, so they are skipped. The completion flag is stored as a server attribute on the edge, so the cleanup - * is sent once; if the pack is interrupted the flag is not set and the cleanup is retried on the next sync. - * - * @param downlinkMsgsPackSender sends a downlink pack, returning whether the send was interrupted - * @param continuation always invoked, whether or not the cleanup ran or failed - */ - public static void sendOneTimeAdminSettingsCleanupIfNeeded(EdgeContextComponent ctx, Edge edge, EdgeVersion edgeVersion, - EdgeVersion cleanupUpToVersion, - Function, ListenableFuture> downlinkMsgsPackSender, - Runnable continuation) { - if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, cleanupUpToVersion)) { - continuation.run(); - return; - } - TenantId tenantId = edge.getTenantId(); - try { - ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() - .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); - - ListenableFuture cleanupFuture = Futures.transformAsync( - isCleanupCompletedAttrFuture, - attr -> { - boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); - if (alreadyCompleted) { - return Futures.immediateFuture(false); - } - List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); - if (cleanupMsgs.isEmpty()) { - return Futures.immediateFuture(true); - } - // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise - return Futures.transform(downlinkMsgsPackSender.apply(cleanupMsgs), - isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); - }, ctx.getGrpcCallbackExecutorService()); - - Futures.addCallback(cleanupFuture, new FutureCallback<>() { - @Override - public void onSuccess(@Nullable Boolean markCompleted) { - if (Boolean.TRUE.equals(markCompleted)) { - markAdminSettingsCleanupCompleted(ctx, edge); - } - continuation.run(); - } - - @Override - public void onFailure(Throwable t) { - log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); - continuation.run(); - } - }, ctx.getGrpcCallbackExecutorService()); - } catch (Exception e) { - log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); - continuation.run(); - } - } - - private static void markAdminSettingsCleanupCompleted(EdgeContextComponent ctx, Edge edge) { - AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( - new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); - ctx.getAttributesService().save(edge.getTenantId(), edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); - } - -} diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java index 9a9d0a9ca8..70598f6c67 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.processor.settings; -import com.fasterxml.jackson.databind.JsonNode; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -12,25 +11,18 @@ import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.test.util.ReflectionTestUtils; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AdminSettings; -import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.id.AdminSettingsId; import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.dao.settings.AdminSettingsService; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.service.edge.EdgeContextComponent; -import java.util.List; -import java.util.Map; -import java.util.Set; import java.util.UUID; -import java.util.stream.Collectors; import static org.mockito.ArgumentMatchers.any; -import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.when; @@ -49,9 +41,6 @@ public class AdminSettingsEdgeProcessorTest { public void setUp() { processor = new AdminSettingsEdgeProcessor(); ReflectionTestUtils.setField(processor, "edgeCtx", edgeCtx); - ReflectionTestUtils.setField(processor, "tokenExpirationTime", 9000); - ReflectionTestUtils.setField(processor, "refreshTokenExpTime", 604800); - ReflectionTestUtils.setField(processor, "tokenIssuer", "thingsboard.io"); lenient().when(edgeCtx.getAdminSettingsService()).thenReturn(adminSettingsService); } @@ -89,42 +78,6 @@ public class AdminSettingsEdgeProcessorTest { Assertions.assertNull(downlink); } - @Test - public void testCleanupClearsSecretsAndSkipsAllowListedKeys() { - Edge edge = new Edge(); - edge.setId(new EdgeId(UUID.randomUUID())); - edge.setTenantId(tenantId); - - when(adminSettingsService.findAllByTenantId(eq(TenantId.SYS_TENANT_ID), any())) - .thenReturn(page(adminSettings(TenantId.SYS_TENANT_ID, "mail"), - adminSettings(TenantId.SYS_TENANT_ID, "jwt"), - adminSettings(TenantId.SYS_TENANT_ID, "general"))); - when(adminSettingsService.findAllByTenantId(eq(tenantId), any())) - .thenReturn(page(adminSettings(tenantId, "sms"), - adminSettings(tenantId, "connectivity"))); - - List downlinks = processor.convertAdminSettingsCleanupToDownlinks(edge); - - Map cleanupByKey = downlinks.stream() - .map(d -> JacksonUtil.fromString(d.getAdminSettingsUpdateMsg(0).getEntity(), AdminSettings.class, true)) - .collect(Collectors.toMap(AdminSettings::getKey, s -> s)); - - // Allow-listed keys (general/connectivity) are never wiped; every other key is. - Assertions.assertEquals(Set.of("mail", "jwt", "sms"), cleanupByKey.keySet()); - - // Mail secrets are blanked. - JsonNode mailValue = cleanupByKey.get("mail").getJsonValue(); - Assertions.assertEquals("", mailValue.get("password").asText()); - Assertions.assertEquals("", mailValue.get("refreshToken").asText()); - - // JWT signing key is re-randomized to a non-empty value. - JsonNode jwtValue = cleanupByKey.get("jwt").getJsonValue(); - Assertions.assertFalse(jwtValue.get("tokenSigningKey").asText().isEmpty()); - - // Other non-allow-listed keys are wiped to an empty object. - Assertions.assertTrue(cleanupByKey.get("sms").getJsonValue().isEmpty()); - } - private EdgeEvent edgeEvent(TenantId eventTenantId) { EdgeEvent edgeEvent = new EdgeEvent(); edgeEvent.setTenantId(eventTenantId); @@ -142,9 +95,4 @@ public class AdminSettingsEdgeProcessorTest { return adminSettings; } - private PageData page(AdminSettings... settings) { - List data = List.of(settings); - return new PageData<>(data, 1, data.size(), false); - } - } From 9ceaa6ac7df2e4c7db308fed24e3ded9c338d421 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 11 Sep 2026 18:23:17 +0300 Subject: [PATCH 020/559] Remove cloud-side admin settings cleanup in favor of edge-side migration --- .../service/edge/EdgeContextComponent.java | 4 - .../settings/AdminSettingsEdgeProcessor.java | 78 --------------- .../edge/rpc/session/EdgeGrpcSession.java | 6 +- .../rpc/utils/AdminSettingsCleanupUtils.java | 94 ------------------- .../AdminSettingsEdgeProcessorTest.java | 52 ---------- 5 files changed, 1 insertion(+), 233 deletions(-) delete mode 100644 application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java index d53d85a2b0..37188fe5b3 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeContextComponent.java @@ -66,7 +66,6 @@ import org.thingsboard.server.service.edge.rpc.processor.relation.RelationEdgePr import org.thingsboard.server.service.edge.rpc.processor.resource.ResourceEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.rule.RuleChainMetadataEdgeProcessor; -import org.thingsboard.server.service.edge.rpc.processor.settings.AdminSettingsEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.telemetry.TelemetryEdgeProcessor; import org.thingsboard.server.service.edge.rpc.processor.user.UserProcessor; import org.thingsboard.server.service.edge.rpc.sync.EdgeRequestsService; @@ -217,9 +216,6 @@ public class EdgeContextComponent { private Optional statsCounterService; // processors - @Autowired - private AdminSettingsEdgeProcessor adminSettingsProcessor; - @Autowired private AlarmProcessor alarmProcessor; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java index 7e80be5b1c..a43808d2da 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java @@ -2,35 +2,21 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.processor.settings; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.extern.slf4j.Slf4j; -import org.apache.commons.lang3.RandomStringUtils; -import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.EdgeUtils; -import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.id.AdminSettingsId; import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.page.PageData; -import org.thingsboard.server.common.data.page.PageLink; -import org.thingsboard.server.common.data.security.model.JwtSettings; import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; -import org.thingsboard.server.service.security.auth.jwt.settings.JwtSettingsService; -import java.nio.charset.StandardCharsets; -import java.util.ArrayList; -import java.util.Base64; -import java.util.HashSet; -import java.util.List; import java.util.Set; @Slf4j @@ -40,15 +26,6 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { private static final Set EDGE_SYNCED_SETTINGS_KEYS = Set.of("general", "connectivity"); - private static final int DEFAULT_PAGE_SIZE = 1000; - - @Value("${security.jwt.tokenExpirationTime:9000}") - private Integer tokenExpirationTime; - @Value("${security.jwt.refreshTokenExpTime:604800}") - private Integer refreshTokenExpTime; - @Value("${security.jwt.tokenIssuer:thingsboard.io}") - private String tokenIssuer; - @Override public DownlinkMsg convertEdgeEventToDownlink(EdgeEvent edgeEvent, EdgeVersion edgeVersion) { AdminSettings adminSettings = null; @@ -75,61 +52,6 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { .build(); } - public List convertAdminSettingsCleanupToDownlinks(Edge edge) { - List result = new ArrayList<>(); - Set cleanedKeys = new HashSet<>(); - - Set tenantScopes = Set.of(TenantId.SYS_TENANT_ID, edge.getTenantId()); - for (TenantId scope : tenantScopes) { - PageLink pageLink = new PageLink(DEFAULT_PAGE_SIZE); - PageData page; - do { - page = edgeCtx.getAdminSettingsService().findAllByTenantId(scope, pageLink); - for (AdminSettings adminSettings : page.getData()) { - String key = adminSettings.getKey(); - if (EDGE_SYNCED_SETTINGS_KEYS.contains(key) || !cleanedKeys.add(key)) { - continue; - } - result.add(buildAdminSettingsCleanupDownlink(key)); - } - pageLink = pageLink.nextPageLink(); - } while (page.hasNext()); - } - log.info("[{}][{}] Prepared {} one-time admin settings cleanup message(s): {}", - edge.getTenantId(), edge.getId(), result.size(), cleanedKeys); - return result; - } - - private DownlinkMsg buildAdminSettingsCleanupDownlink(String key) { - AdminSettings adminSettings = new AdminSettings(); - adminSettings.setTenantId(TenantId.SYS_TENANT_ID); - adminSettings.setKey(key); - adminSettings.setJsonValue(buildAdminSettingsCleanupValue(key)); - AdminSettingsUpdateMsg msg = AdminSettingsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(adminSettings)).build(); - return DownlinkMsg.newBuilder() - .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) - .addAdminSettingsUpdateMsg(msg) - .build(); - } - - private JsonNode buildAdminSettingsCleanupValue(String key) { - if (JwtSettingsService.ADMIN_SETTINGS_JWT_KEY.equals(key)) { - return JacksonUtil.valueToTree(generateRandomJwtSettings()); - } - ObjectNode value = JacksonUtil.newObjectNode(); - if ("mail".equals(key)) { - value.put("password", ""); - value.put("refreshToken", ""); - } - return value; - } - - private JwtSettings generateRandomJwtSettings() { - String randomSigningKey = Base64.getEncoder().encodeToString( - RandomStringUtils.secure().nextAlphanumeric(64).getBytes(StandardCharsets.UTF_8)); - return new JwtSettings(tokenExpirationTime, refreshTokenExpTime, tokenIssuer, randomSigningKey); - } - @Override public EdgeEventType getEdgeEventType() { return EdgeEventType.ADMIN_SETTINGS; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java index 7186525c8a..c386383519 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java @@ -37,7 +37,6 @@ import org.thingsboard.server.gen.edge.v1.ConnectResponseMsg; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.DownlinkResponseMsg; import org.thingsboard.server.gen.edge.v1.EdgeConfiguration; -import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.gen.edge.v1.RequestMsg; import org.thingsboard.server.gen.edge.v1.RequestMsgType; import org.thingsboard.server.gen.edge.v1.ResponseMsg; @@ -53,7 +52,6 @@ import org.thingsboard.server.service.edge.rpc.EdgeUplinkMessageDispatcher; import org.thingsboard.server.service.edge.rpc.fetch.EdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.GeneralEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.session.manager.EdgeGrpcSessionManager; -import org.thingsboard.server.service.edge.rpc.utils.AdminSettingsCleanupUtils; import java.util.ArrayList; import java.util.Collections; @@ -175,9 +173,7 @@ public class EdgeGrpcSession implements EdgeSession { saveSyncInProgressAsAttribute(true); log.info("[{}][{}][{}] Staring edge sync process", getTenantId(), getEdgeId(), getSessionId()); interruptGeneralProcessingOnSync(); - AdminSettingsCleanupUtils.sendOneTimeAdminSettingsCleanupIfNeeded(ctx, state.getEdge(), state.getEdgeVersion(), - EdgeVersion.V_4_3_1_4, this::sendDownlinkMsgsPack, - () -> doSync(new EdgeSyncCursor(ctx, state.getEdge(), fullSync))); + doSync(new EdgeSyncCursor(ctx, state.getEdge(), fullSync)); } else { log.info("[{}][{}][{}] Sync is already started, skipping starting it now", getTenantId(), getEdgeId(), getSessionId()); } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java deleted file mode 100644 index cd0fd2ec35..0000000000 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/utils/AdminSettingsCleanupUtils.java +++ /dev/null @@ -1,94 +0,0 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors -// SPDX-License-Identifier: Apache-2.0 -package org.thingsboard.server.service.edge.rpc.utils; - -import com.google.common.util.concurrent.FutureCallback; -import com.google.common.util.concurrent.Futures; -import com.google.common.util.concurrent.ListenableFuture; -import lombok.extern.slf4j.Slf4j; -import org.checkerframework.checker.nullness.qual.Nullable; -import org.thingsboard.server.common.data.AttributeScope; -import org.thingsboard.server.common.data.edge.Edge; -import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.kv.AttributeKvEntry; -import org.thingsboard.server.common.data.kv.BaseAttributeKvEntry; -import org.thingsboard.server.common.data.kv.BooleanDataEntry; -import org.thingsboard.server.gen.edge.v1.DownlinkMsg; -import org.thingsboard.server.gen.edge.v1.EdgeVersion; -import org.thingsboard.server.service.edge.EdgeContextComponent; - -import java.util.List; -import java.util.Optional; -import java.util.function.Function; - -@Slf4j -public final class AdminSettingsCleanupUtils { - - private static final String ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY = "adminSettingsCleanupCompleted"; - - /** - * Sends the one-time admin settings cleanup pack to edges that were provisioned before admin settings sync was - * removed, then runs {@code continuation}. Edges on {@code cleanupUpToVersion} or newer never received the - * settings, so they are skipped. The completion flag is stored as a server attribute on the edge, so the cleanup - * is sent once; if the pack is interrupted the flag is not set and the cleanup is retried on the next sync. - * - * @param downlinkMsgsPackSender sends a downlink pack, returning whether the send was interrupted - * @param continuation always invoked, whether or not the cleanup ran or failed - */ - public static void sendOneTimeAdminSettingsCleanupIfNeeded(EdgeContextComponent ctx, Edge edge, EdgeVersion edgeVersion, - EdgeVersion cleanupUpToVersion, - Function, ListenableFuture> downlinkMsgsPackSender, - Runnable continuation) { - if (!EdgeVersionUtils.isEdgeVersionOlderThan(edgeVersion, cleanupUpToVersion)) { - continuation.run(); - return; - } - TenantId tenantId = edge.getTenantId(); - try { - ListenableFuture> isCleanupCompletedAttrFuture = ctx.getAttributesService() - .find(tenantId, edge.getId(), AttributeScope.SERVER_SCOPE, ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY); - - ListenableFuture cleanupFuture = Futures.transformAsync( - isCleanupCompletedAttrFuture, - attr -> { - boolean alreadyCompleted = attr.isPresent() && attr.flatMap(AttributeKvEntry::getBooleanValue).orElse(false); - if (alreadyCompleted) { - return Futures.immediateFuture(false); - } - List cleanupMsgs = ctx.getAdminSettingsProcessor().convertAdminSettingsCleanupToDownlinks(edge); - if (cleanupMsgs.isEmpty()) { - return Futures.immediateFuture(true); - } - // send the cleanup pack; mark completed only if it was not interrupted, so it retries on next sync otherwise - return Futures.transform(downlinkMsgsPackSender.apply(cleanupMsgs), - isInterrupted -> !Boolean.TRUE.equals(isInterrupted), ctx.getGrpcCallbackExecutorService()); - }, ctx.getGrpcCallbackExecutorService()); - - Futures.addCallback(cleanupFuture, new FutureCallback<>() { - @Override - public void onSuccess(@Nullable Boolean markCompleted) { - if (Boolean.TRUE.equals(markCompleted)) { - markAdminSettingsCleanupCompleted(ctx, edge); - } - continuation.run(); - } - - @Override - public void onFailure(Throwable t) { - log.error("[{}][{}] Failed to run one-time admin settings cleanup for edge", tenantId, edge.getId(), t); - continuation.run(); - } - }, ctx.getGrpcCallbackExecutorService()); - } catch (Exception e) { - log.error("[{}][{}] Failed to start admin settings cleanup", tenantId, edge.getId(), e); - continuation.run(); - } - } - - private static void markAdminSettingsCleanupCompleted(EdgeContextComponent ctx, Edge edge) { - AttributeKvEntry attributeKvEntry = new BaseAttributeKvEntry( - new BooleanDataEntry(ADMIN_SETTINGS_CLEANUP_COMPLETED_ATTR_KEY, true), System.currentTimeMillis()); - ctx.getAttributesService().save(edge.getTenantId(), edge.getId(), AttributeScope.SERVER_SCOPE, attributeKvEntry); - } - -} diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java index 9a9d0a9ca8..70598f6c67 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.processor.settings; -import com.fasterxml.jackson.databind.JsonNode; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -12,25 +11,18 @@ import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.test.util.ReflectionTestUtils; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AdminSettings; -import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.id.AdminSettingsId; import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.dao.settings.AdminSettingsService; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.service.edge.EdgeContextComponent; -import java.util.List; -import java.util.Map; -import java.util.Set; import java.util.UUID; -import java.util.stream.Collectors; import static org.mockito.ArgumentMatchers.any; -import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.when; @@ -49,9 +41,6 @@ public class AdminSettingsEdgeProcessorTest { public void setUp() { processor = new AdminSettingsEdgeProcessor(); ReflectionTestUtils.setField(processor, "edgeCtx", edgeCtx); - ReflectionTestUtils.setField(processor, "tokenExpirationTime", 9000); - ReflectionTestUtils.setField(processor, "refreshTokenExpTime", 604800); - ReflectionTestUtils.setField(processor, "tokenIssuer", "thingsboard.io"); lenient().when(edgeCtx.getAdminSettingsService()).thenReturn(adminSettingsService); } @@ -89,42 +78,6 @@ public class AdminSettingsEdgeProcessorTest { Assertions.assertNull(downlink); } - @Test - public void testCleanupClearsSecretsAndSkipsAllowListedKeys() { - Edge edge = new Edge(); - edge.setId(new EdgeId(UUID.randomUUID())); - edge.setTenantId(tenantId); - - when(adminSettingsService.findAllByTenantId(eq(TenantId.SYS_TENANT_ID), any())) - .thenReturn(page(adminSettings(TenantId.SYS_TENANT_ID, "mail"), - adminSettings(TenantId.SYS_TENANT_ID, "jwt"), - adminSettings(TenantId.SYS_TENANT_ID, "general"))); - when(adminSettingsService.findAllByTenantId(eq(tenantId), any())) - .thenReturn(page(adminSettings(tenantId, "sms"), - adminSettings(tenantId, "connectivity"))); - - List downlinks = processor.convertAdminSettingsCleanupToDownlinks(edge); - - Map cleanupByKey = downlinks.stream() - .map(d -> JacksonUtil.fromString(d.getAdminSettingsUpdateMsg(0).getEntity(), AdminSettings.class, true)) - .collect(Collectors.toMap(AdminSettings::getKey, s -> s)); - - // Allow-listed keys (general/connectivity) are never wiped; every other key is. - Assertions.assertEquals(Set.of("mail", "jwt", "sms"), cleanupByKey.keySet()); - - // Mail secrets are blanked. - JsonNode mailValue = cleanupByKey.get("mail").getJsonValue(); - Assertions.assertEquals("", mailValue.get("password").asText()); - Assertions.assertEquals("", mailValue.get("refreshToken").asText()); - - // JWT signing key is re-randomized to a non-empty value. - JsonNode jwtValue = cleanupByKey.get("jwt").getJsonValue(); - Assertions.assertFalse(jwtValue.get("tokenSigningKey").asText().isEmpty()); - - // Other non-allow-listed keys are wiped to an empty object. - Assertions.assertTrue(cleanupByKey.get("sms").getJsonValue().isEmpty()); - } - private EdgeEvent edgeEvent(TenantId eventTenantId) { EdgeEvent edgeEvent = new EdgeEvent(); edgeEvent.setTenantId(eventTenantId); @@ -142,9 +95,4 @@ public class AdminSettingsEdgeProcessorTest { return adminSettings; } - private PageData page(AdminSettings... settings) { - List data = List.of(settings); - return new PageData<>(data, 1, data.size(), false); - } - } From 5595dde55e8b3fe76005b32c3ad21cf3474c0677 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Mon, 14 Sep 2026 19:05:49 +0300 Subject: [PATCH 021/559] feat(iot-hub): group the hero search popup, and give the search page filters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two surfaces, one defect between them: a query answered by several content types could not show all of them. **The hero popup** asked /api/versions/published for one flat page of ten rows by install count and grouped that page on the client. Ten rows cannot hold four of each of six item types, so whichever types filled the page took it and the rest had no section at all — and an absent section was indistinguishable from "no matches of this type". Measured against the catalogue, `temperature` returns 71 matches across five types; a flat top-16 by install count shows no calculated field and no alarm rule, and by relevance it shows none of the 22 devices. On `gateway` neither ordering surfaces one of the 12 matching widgets. It asks for a grouped answer now. The server caps each type and puts `typeTotal` on every row, so the client renders what it was given: one section per type, the header a link to that type page carrying the current query and, when more of that type exists, a "+N more ›" chip. Count and chevron appear together or not at all — on a section already showing everything a chevron points at nothing. The footer names where it goes rather than an ordering. **The search page** keeps its flat paginated grid — the site's equivalent is a browsable catalogue with indexed page URLs, so neither product groups there — and gains what it was missing beside the type pages: * A filter panel: item type, category, use case. Type is new, this being the one page that mixes them. There is no catalogue-wide filterInfo endpoint, so the six per-type answers are merged client-side. Counts are deliberately not rendered: filterInfo takes no text query, so beside a searched result they would be the whole catalogue's numbers describing a different answer. * A page size that follows the column count, read from a hidden probe carrying the grid's own classes rather than restated from its media queries: max(12, columns × 3). Fifteen at every width ended a page mid-row at four and six columns. * One card layout. Calculated fields, alarm rules and rule chains render as a compact horizontal row that needs a wide cell; the type pages narrow the grid for them, a mixed grid cannot, and those rows truncated their own titles. **Relevance** is a sort option on all four surfaces that carry a search field, and the default on each. With text it ranks the answer; without it the backend substitutes the install count, so browsing keeps the order it had. Nothing switches on the field state — a control that relabels itself unasked was tried and rejected. Also here: the search page moves onto the type pages' frame — one even padding on the card, the component full bleed — which removes four breakpoints' worth of negative margins, each written to cancel that padding for one element. --- .../dashboard-widget-select.component.ts | 12 + .../iot-hub/iot-hub-browse.component.ts | 16 ++ .../iot-hub/iot-hub-components.module.ts | 3 + .../iot-hub/iot-hub-facet-list.component.html | 31 ++ .../iot-hub/iot-hub-facet-list.component.scss | 92 ++++++ .../iot-hub/iot-hub-facet-list.component.ts | 83 ++++++ .../iot-hub/iot-hub-item-card.component.html | 4 +- .../iot-hub/iot-hub-item-card.component.ts | 13 + .../iot-hub/iot-hub-search.component.html | 120 +++++--- .../iot-hub/iot-hub-search.component.scss | 190 +++++++++--- .../iot-hub/iot-hub-search.component.ts | 270 ++++++++++++++---- .../iot-hub-creator-profile.component.html | 5 +- .../pages/iot-hub/iot-hub-home.component.html | 67 +++-- .../pages/iot-hub/iot-hub-home.component.scss | 35 +++ .../pages/iot-hub/iot-hub-home.component.ts | 46 ++- .../iot-hub-search-page.component.scss | 101 ++----- .../models/iot-hub/iot-hub-version.models.ts | 27 ++ .../assets/locale/locale.constant-en_US.json | 4 + 18 files changed, 884 insertions(+), 235 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.scss create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.ts diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts index d93a1e504e..57c621eb8d 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts @@ -88,7 +88,19 @@ export class DashboardWidgetSelectComponent { includeDeprecated = false; searchFocused = false; + /** + * Relevance leads, and is therefore the default (iotHubSelectedSortIndex starts at 0). This + * panel has a search field, which is the only thing relevance ranks by; with the field empty + * the backend substitutes the install count, so the picker opens on the order it always had. + * + * scadaFirst is unaffected: the backend prepends it ahead of the caller's sort AND ahead of + * relevance, so a SCADA context still lists SCADA widgets first. + * + * Fourth copy of this list — the others are in TbIotHubSearchComponent, TbIotHubBrowseComponent + * and IOT_HUB_SORT_OPTIONS on thingsboard.io. Kept in step by hand. + */ iotHubSortOptions: WidgetSelectSortOption[] = [ + { value: 'relevance', label: 'iot-hub.sort-most-relevant', direction: Direction.DESC }, { value: 'totalInstallCount', label: 'iot-hub.sort-most-installed', direction: Direction.DESC }, { value: 'publishedTime', label: 'iot-hub.sort-newest', direction: Direction.DESC }, { value: 'name', label: 'iot-hub.sort-name', direction: Direction.ASC } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts index 11352f1d04..785bd48660 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts @@ -126,7 +126,17 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy activeHardwareTypes = new Set(); activeVendors = new Set(); + /** + * Relevance leads, and is therefore the default (selectedSortIndex starts at 0). A type page + * carries a search field, which is the only thing relevance ranks by; with the field empty the + * backend substitutes the install count, so browsing keeps the order it always had. + * + * Kept in step by hand with TbIotHubSearchComponent's list and with IOT_HUB_SORT_OPTIONS on + * thingsboard.io — three copies, because the two products share no code and this component + * predates the search page's list. + */ sortOptions: SortOption[] = [ + { value: 'relevance', label: 'iot-hub.sort-most-relevant', direction: Direction.DESC }, { value: 'totalInstallCount', label: 'iot-hub.sort-most-installed', direction: Direction.DESC }, { value: 'publishedTime', label: 'iot-hub.sort-newest', direction: Direction.DESC }, { value: 'name', label: 'iot-hub.sort-name', direction: Direction.ASC } @@ -176,6 +186,12 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy if (params['search']) { this.textSearch = params['search']; } + // A search section header on a creator profile lands here scoped to that creator. The + // bound input wins: an embedded host (the add-item dialog) sets its own scope, and must + // not pick one up from whatever URL happens to be open behind the dialog. + if (!this.creatorId && !this.embedded && params['creatorId']) { + this.creatorId = params['creatorId']; + } if (this.fixedSubType) { const subtypes = this.getActiveSubtypes(); if (subtypes) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts index 53e2493651..00ce18b4c0 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts @@ -14,6 +14,7 @@ import { TbIotHubUnpublishedWarningDialogComponent } from './iot-hub-unpublished import { TbDeviceInstallDialogComponent } from './device-install-dialog/device-install-dialog.component'; import { InstallFormRendererComponent } from './device-install-dialog/install-form-renderer/install-form-renderer.component'; import { TbIotHubSearchComponent } from './iot-hub-search.component'; +import { TbIotHubFacetListComponent } from './iot-hub-facet-list.component'; import { TbIotHubInstalledItemsTableComponent } from './iot-hub-installed-items-table.component'; import { TbIotHubInstalledItemsDialogComponent } from './iot-hub-installed-items-dialog.component'; import { TbPeConnectivityMethodPromptComponent } from './pe-connectivity-method-prompt.component'; @@ -36,6 +37,7 @@ import { IotHubItemLinkModule } from './iot-hub-item-link-card/iot-hub-item-link TbIotHubUnpublishedWarningDialogComponent, TbDeviceInstallDialogComponent, TbIotHubSearchComponent, + TbIotHubFacetListComponent, TbIotHubInstalledItemsTableComponent, TbIotHubInstalledItemsDialogComponent, TbPeConnectivityMethodPromptComponent, @@ -64,6 +66,7 @@ import { IotHubItemLinkModule } from './iot-hub-item-link-card/iot-hub-item-link TbIotHubUnpublishedWarningDialogComponent, TbDeviceInstallDialogComponent, TbIotHubSearchComponent, + TbIotHubFacetListComponent, TbIotHubInstalledItemsTableComponent, TbIotHubInstalledItemsDialogComponent, TbPeConnectivityMethodPromptComponent, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html new file mode 100644 index 0000000000..dfde943c22 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html @@ -0,0 +1,31 @@ + + + + {{ label | translate }} + + + @if (searchable) { +

+ } + +
+ @for (option of visibleOptions; track trackByKey($index, option)) { + + {{ labelFor(option.key) }} + + } +
+ diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.scss new file mode 100644 index 0000000000..e5fc43f803 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.scss @@ -0,0 +1,92 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +@import "./iot-hub-common"; + +// Values follow the type pages' filter panel so the two read as one control, minus its deep +// left indent: that indent exists because the panel there sits in a wider rail. +.tb-iot-hub-facet-panel.mat-expansion-panel { + box-shadow: none; + border-radius: 0; + background: transparent; + + // Indented from the column's edges, because the rules between facets are not: they span the + // whole column, as they do on the type pages. The host sets --tb-facet-indent to whatever + // puts this text on the page's own left margin. + .mat-expansion-panel-header { + padding: 8px 16px 8px var(--tb-facet-indent, 16px); + height: 48px; + min-height: 48px; + } + + ::ng-deep .mat-expansion-panel-header-title { + font-size: 14px; + font-weight: 500; + color: rgba(0, 0, 0, 0.87); + } + + ::ng-deep .mat-expansion-panel-body { + padding: 0 8px 8px var(--tb-facet-indent, 16px); + } + + mat-checkbox { + display: block; + overflow: hidden; + + &:hover { + background: rgba(0, 0, 0, 0.04); + } + } + + .tb-iot-hub-facet-items { + // Uncapped until the list is long enough to need it, so a three-option facet does not + // reserve a scroll area it never uses. + &.scrollable { + max-height: 280px; + overflow-y: auto; + } + + &::-webkit-scrollbar { + width: 6px; + } + + &::-webkit-scrollbar-track { + background-color: transparent; + } + + &::-webkit-scrollbar-thumb { + background-color: transparent; + border-radius: 3px; + } + + &:hover { + &::-webkit-scrollbar-track { + background-color: rgba(0, 0, 0, 0.04); + } + + &::-webkit-scrollbar-thumb { + background-color: rgba(0, 0, 0, 0.2); + + &:hover { + background-color: rgba(0, 0, 0, 0.35); + } + } + } + } + + .tb-iot-hub-facet-search { + @include tb-iot-hub-search-container; + margin: 4px 8px 8px 0; + + mat-icon { + @include tb-iot-hub-search-icon(rgba(0, 0, 0, 0.54)); + } + + input { + @include tb-iot-hub-search-input-text(0.2px); + } + + .tb-iot-hub-facet-search-clear.mat-mdc-icon-button { + @include tb-iot-hub-search-clear; + } + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.ts new file mode 100644 index 0000000000..b9b5625fce --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.ts @@ -0,0 +1,83 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +import { Component, EventEmitter, Input, Output } from '@angular/core'; +import { FilterParamInfo } from '@shared/models/iot-hub/iot-hub-item.models'; + +/** + * One checkbox facet of a filter panel: a title, the options with their item counts, and the + * set of keys currently selected. Presentational only - it owns no filter state and issues no + * request; the host decides what a toggle means. + * + * Written for the cross-type search page, which needs three plain facets (item type, category, + * use case). The type pages keep their own panel in TbIotHubBrowseComponent: theirs carries + * facets this one has no notion of - grouped connectivity, vendor lists, per-type subtypes - + * so folding the two together would mean parameterising that panel for a shape it never uses. + */ +@Component({ + selector: 'tb-iot-hub-facet-list', + standalone: false, + templateUrl: './iot-hub-facet-list.component.html', + styleUrls: ['./iot-hub-facet-list.component.scss'] +}) +export class TbIotHubFacetListComponent { + + /** Translation key for the facet's heading. */ + @Input() label: string; + + @Input() options: FilterParamInfo[] = []; + + /** Keys the host currently has selected. Read, never written. */ + @Input() selected = new Set(); + + /** + * Turns an option key into what the user reads. Defaults to the key, which is already the + * display value for categories and use cases; item types come through as enum names and need + * their translated plural. + */ + @Input() labelFor: (key: string) => string = (key) => key; + + /** + * Open on first render. The host decides: a short, always-relevant facet earns the space it + * takes, a long one costs the reader the facets below it — on the search page all three + * headings fit above the fold only because two of them start closed. + */ + @Input() expanded = true; + + @Output() toggled = new EventEmitter(); + + /** + * Above this many options the facet gets its own search box and a scroll cap. Matches the + * threshold the type pages' panel uses, so the two feel the same at the same list lengths. + */ + private static readonly SEARCH_THRESHOLD = 8; + + search = ''; + + get searchable(): boolean { + return this.options.length > TbIotHubFacetListComponent.SEARCH_THRESHOLD; + } + + get visibleOptions(): FilterParamInfo[] { + const needle = this.search.trim().toLowerCase(); + if (!needle) { + return this.options; + } + return this.options.filter(o => this.labelFor(o.key).toLowerCase().includes(needle)); + } + + get scrollable(): boolean { + return this.visibleOptions.length > TbIotHubFacetListComponent.SEARCH_THRESHOLD; + } + + isSelected(key: string): boolean { + return this.selected.has(key); + } + + onToggle(key: string): void { + this.toggled.emit(key); + } + + trackByKey(_index: number, option: FilterParamInfo): string { + return option.key; + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.html index cbde4bbf83..16bca59bf7 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.html @@ -78,7 +78,9 @@ } @else {
- {{ getPlaceholderIcon() }} + + {{ getPlaceholderIcon() }}
} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.ts index 22a4eaf323..f57582fb29 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.ts @@ -23,6 +23,16 @@ export class TbIotHubItemCardComponent { @Input() showTypeChip = true; @Input() showSubtype = false; @Input() mode: 'default' | 'add' = 'default'; + /** + * `auto` lets the item's type choose, which is what a single-type grid wants: calculated + * fields, alarm rules and rule chains have nothing to preview, so they get a compact row and + * the grid gives them wider cells. + * + * `preview` forces the tall card on every type. A grid that mixes types cannot widen its + * cells for some rows only, and a horizontal row squeezed into a cell sized for a preview + * truncates its own title and leaves the rest of the cell empty. + */ + @Input() layout: 'auto' | 'preview' = 'auto'; @Output() cardClick = new EventEmitter(); @Output() creatorClick = new EventEmitter(); @Output() installClick = new EventEmitter(); @@ -47,6 +57,9 @@ export class TbIotHubItemCardComponent { } isCompactLayout(): boolean { + if (this.layout === 'preview') { + return false; + } return this.item.type === ItemType.CALCULATED_FIELD || this.item.type === ItemType.ALARM_RULE || this.item.type === ItemType.RULE_CHAIN; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.html index c737e1e96c..5963b7c003 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.html @@ -4,14 +4,26 @@ SPDX-License-Identifier: Apache-2.0 --> -
+
{{ 'iot-hub.results-count' | translate:{ count: totalElements } }}
- -
+ + + + +
+ @if (showFilters) { + + }
-
+
{{ 'iot-hub.results-count' | translate:{ count: totalElements } }} @@ -76,7 +88,59 @@
-
+ + +
+ @if (activeFilterCount > 0) { + + } + + + @if (categoryOptions.length > 0) { + + + + } + @if (useCaseOptions.length > 0) { + + + } +
+
+ +
+ + +
+ @if (showFilters) { + + }
@@ -100,39 +164,27 @@
} - - @if (resultGroups.length > 0) { -
- @for (group of resultGroups; track group.type) { -
- - - -
- @for (item of group.items; track item.id) { - - - } -
-
+ + @if (results.length > 0) { +
+ @for (item of results; track item.id) { + + }
}
+
@if (isLoading) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss index 4b43ad5b3c..2556d03f3d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss @@ -8,6 +8,14 @@ flex-direction: column; } +// The page hands this component the card's full width and its own side padding as a variable. +// Rows that are ordinary content pad themselves back in; the divider and the filter rail are +// the two things that are supposed to reach the edge, so they do not. +.tb-search-pad { + padding-left: var(--tb-search-side-pad, 0px); + padding-right: var(--tb-search-side-pad, 0px); +} + .tb-search-results-count-mobile { display: none; margin-left: auto; @@ -143,49 +151,135 @@ overflow: auto; } -// Categories / sections -.tb-search-categories { +// Card grid +.tb-search-card-grid { + display: grid; + grid-template-columns: repeat(5, 1fr); + gap: 20px; + + // Probe: zero-height element used only to read the computed column count. + // Keeps display: grid and non-zero width so grid-template-columns resolves. + &.tb-search-card-grid-probe { + width: 100%; + height: 0; + gap: 0; + overflow: hidden; + visibility: hidden; + pointer-events: none; + } +} + +// Filter button — the drawer's trigger, and where the active count is shown +.tb-search-filter-btn { + flex-shrink: 0; +} + +.tb-search-filter-count { + margin-left: 6px; + min-width: 18px; + height: 18px; + padding: 0 5px; + border-radius: 9px; + background: rgba(0, 0, 0, 0.08); + font-size: 12px; + line-height: 18px; + font-variant-numeric: tabular-nums; +} + +// Content: facet sidebar beside the grid +// The page gives this component the viewport's remaining height and expects its body to scroll +// inside, not to grow past the white card. So the row takes that height and BOTH columns scroll +// themselves — the grid as it always did, the facets likewise. A facet list can then be any +// length at all without reaching the page behind it. +.tb-search-layout { display: flex; - flex-direction: column; - gap: 48px; + gap: 24px; + height: 100%; + min-height: 0; + + .tb-results-container { + flex: 1; + min-width: 0; + // Only on the right: the gap to the rail already separates it on the left. + padding-right: var(--tb-search-side-pad, 0px); + } } -// Section header -.tb-search-section-header { - font-size: 18px; - font-weight: 500; - line-height: 24px; - color: rgba(0, 0, 0, 0.87); - padding: 0; - margin-bottom: 12px; +.tb-search-facets-desktop { + width: 232px; + flex-shrink: 0; + border-right: 1px solid rgba(0, 0, 0, 0.12); + + // The component is already full-bleed, so this column starts at the card's edge with no + // margin of its own and every rule drawn across it reaches that edge. The indent goes INSIDE + // each facet — padding here would inset the rules too — and matches the page's own margin, so + // the words line up with the heading above them. + --tb-facet-indent: var(--tb-search-side-pad, 16px); + + align-self: stretch; + height: 100%; + overflow-y: auto; + padding-top: 20px; + + &::-webkit-scrollbar { + width: 6px; + } + + &::-webkit-scrollbar-track { + background-color: transparent; + } + + &::-webkit-scrollbar-thumb { + background-color: transparent; + border-radius: 3px; + } + + &:hover { + &::-webkit-scrollbar-track { + background-color: rgba(0, 0, 0, 0.04); + } - mat-icon { - font-size: 24px; - width: 24px; - height: 24px; + &::-webkit-scrollbar-thumb { + background-color: rgba(0, 0, 0, 0.2); + + &:hover { + background-color: rgba(0, 0, 0, 0.35); + } + } } } -// Card grid -.tb-search-card-grid { - display: grid; - grid-template-columns: repeat(5, 1fr); - gap: 20px; +// The close button and heading belong to the narrow layout only. +.tb-search-facets-header { + display: none; + height: 48px; + font-size: 16px; + font-weight: 500; +} - &.tb-search-card-grid-compact { - grid-template-columns: repeat(3, 1fr); +.tb-search-facets { + display: flex; + flex-direction: column; + padding-bottom: 24px; + + // The type pages put a rule between filter sections. No gap and no padding around it: the + // rule sits flush between two sections, edge to edge, rather than floating inside a gap. + tb-iot-hub-facet-list + tb-iot-hub-facet-list { + border-top: 1px solid rgba(0, 0, 0, 0.12); } } +.tb-search-facets-clear { + align-self: flex-start; + margin-left: calc(var(--tb-facet-indent, 16px) - 16px); +} + // Responsive @media #{$mat-gt-xxl} { .tb-search-card-grid { grid-template-columns: repeat(6, 1fr); - &.tb-search-card-grid-compact { - grid-template-columns: repeat(4, 1fr); - } } } @@ -193,9 +287,6 @@ .tb-search-card-grid { grid-template-columns: repeat(4, 1fr); - &.tb-search-card-grid-compact { - grid-template-columns: repeat(3, 1fr); - } } } @@ -203,9 +294,6 @@ .tb-search-card-grid { grid-template-columns: repeat(3, 1fr); - &.tb-search-card-grid-compact { - grid-template-columns: repeat(2, 1fr); - } } } @@ -229,9 +317,6 @@ .tb-search-card-grid { grid-template-columns: repeat(2, 1fr); - &.tb-search-card-grid-compact { - grid-template-columns: repeat(1, 1fr); - } } } @@ -268,3 +353,38 @@ margin-left: 0; } } + +// The sidebar costs a whole card column, so below this width it stops being a column: the +// panel collapses, and the Filter button opens it as a block above the results. +@media #{$mat-lt-lg} { + .tb-search-layout { + flex-direction: column; + } + + .tb-search-facets-desktop { + display: none; + // As a block above the results it is ordinary content, not a rail, so it lines up with + // the rows above it rather than with the card's edge. + width: 100%; + height: auto; + max-height: 60vh; + border-right: none; + border-bottom: 1px solid rgba(0, 0, 0, 0.12); + padding-right: 0; + + &.opened { + display: block; + } + } + + .tb-search-facets-header { + display: flex; + } +} + +// Wide enough for the sidebar, so the button that opens the block has nothing to open. +@media #{$mat-gt-md} { + .tb-search-filter-btn { + display: none; + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts index f915be77e1..6326a52010 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: Copyright The Thingsboard Authors // SPDX-License-Identifier: Apache-2.0 -import { Component, OnInit, OnDestroy, Input, Output, EventEmitter } from '@angular/core'; +import { Component, OnInit, OnDestroy, Input, Output, EventEmitter, ViewChild, ElementRef } from '@angular/core'; import { Router } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { forkJoin, Subject, Subscription } from 'rxjs'; @@ -8,27 +8,38 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; import { MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; -import { ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; +import { FilterParamInfo, ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { IotHubActionsService } from './iot-hub-actions.service'; -interface SearchResultGroup { - type: ItemType; - items: MpItemVersionView[]; -} - interface SortOption { value: string; label: string; direction: Direction; } -const TYPE_ORDER: ItemType[] = [ +/** Sort property served by relevance ranking. With no text the backend substitutes the + * install count, so it is a safe default in both states. */ +const RELEVANCE = 'relevance'; + +/** + * Item types the Type facet offers, in the order every other cross-type surface uses (the hero + * popup's sections, the site's). Fixed rather than sorted by count: the counts move with the + * catalogue and a facet whose options reshuffle under the pointer is hard to use. + */ +const FACET_ITEM_TYPES: ItemType[] = [ ItemType.DEVICE, ItemType.SOLUTION_TEMPLATE, ItemType.WIDGET, ItemType.CALCULATED_FIELD, ItemType.ALARM_RULE, ItemType.RULE_CHAIN ]; +/** + * Rows a page holds, as a multiple of the column count, so a page always ends on a complete row. + * The floor keeps a one- or two-column phone layout from falling to three cards a page. + */ +const ROWS_PER_PAGE = 3; +const MIN_PAGE_SIZE = 12; + @Component({ selector: 'tb-iot-hub-search', standalone: false, @@ -37,32 +48,64 @@ const TYPE_ORDER: ItemType[] = [ }) export class TbIotHubSearchComponent implements OnInit, OnDestroy { - readonly ItemType = ItemType; - @Input() searchText = ''; @Input() creatorId: string; @Input() showCreator = true; + /** + * Render the filter panel. The search page does; the creator profile does not - it is already + * scoped to one creator, and the site's profile has no panel either. + */ + @Input() showFilters = true; @Output() searchTextChange = new EventEmitter(); get searchPlaceholderKey(): string { return this.creatorId ? 'iot-hub.search-published-items' : 'iot-hub.search'; } - resultGroups: SearchResultGroup[] = []; + results: MpItemVersionView[] = []; totalElements = 0; isLoading = false; hasError = false; private retryTimer: any = null; - pageSize = 15; pageIndex = 0; - pageSizeOptions = [15, 30, 60]; + + /** + * Read from a hidden probe that carries the real grid's classes, not guessed from breakpoints: + * the grid's column count is a CSS fact, and duplicating its media queries in TypeScript is a + * second source of truth that drifts the first time someone edits the stylesheet. + */ + @ViewChild('cardGridProbe', { static: true }) cardGridProbe!: ElementRef; + cols = 5; + pageSize = MIN_PAGE_SIZE; + + get pageSizeOptions(): number[] { + const base = Math.max(MIN_PAGE_SIZE, this.cols * ROWS_PER_PAGE); + return [base, base * 2, base * 4]; + } + + /** Filter panel state. Empty sets mean "no filter", which is what the query object expects. */ + /** Narrow widths only: the facet panel is a block above the results, not a sidebar. */ + filtersOpen = false; + typeOptions: FilterParamInfo[] = []; + categoryOptions: FilterParamInfo[] = []; + useCaseOptions: FilterParamInfo[] = []; + activeTypes = new Set(); + activeCategories = new Set(); + activeUseCases = new Set(); sortOptions: SortOption[] = [ + { value: RELEVANCE, label: 'iot-hub.sort-most-relevant', direction: Direction.DESC }, { value: 'totalInstallCount', label: 'iot-hub.sort-most-installed', direction: Direction.DESC }, { value: 'publishedTime', label: 'iot-hub.sort-newest', direction: Direction.DESC }, { value: 'name', label: 'iot-hub.sort-name', direction: Direction.ASC } ]; + /** + * Relevance is the default in BOTH states, which is why nothing here switches on whether the + * search field has text. With text it ranks the answer; without it the backend substitutes the + * install count, so a user who never opens this menu sees the order they always saw while + * browsing and the best matches once they type. + */ selectedSortIndex = 0; installedWidgets: IotHubInstalledItem[] = []; @@ -83,6 +126,11 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { ) {} ngOnInit(): void { + this.measureCols(); + this.observeGridWidth(); + if (this.showFilters) { + this.loadFilterInfo(); + } this.loadInstalledItems(); this.searchSubscription = this.searchSubject.pipe( debounceTime(300), @@ -96,6 +144,148 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { ngOnDestroy(): void { this.searchSubscription?.unsubscribe(); + this.resizeSubscription?.unsubscribe(); + this.resizeObserver?.disconnect(); + } + + // Filters + + getTypeLabel = (key: string): string => { + const translationKey = itemTypeTranslations.get(key as ItemType); + return translationKey ? this.translate.instant(translationKey + '-plural') : key; + }; + + onTypeToggle(key: string): void { + this.toggle(this.activeTypes, key); + } + + onCategoryToggle(key: string): void { + this.toggle(this.activeCategories, key); + } + + onUseCaseToggle(key: string): void { + this.toggle(this.activeUseCases, key); + } + + get activeFilterCount(): number { + return this.activeTypes.size + this.activeCategories.size + this.activeUseCases.size; + } + + clearFilters(): void { + if (this.activeFilterCount === 0) { + return; + } + this.activeTypes.clear(); + this.activeCategories.clear(); + this.activeUseCases.clear(); + this.pageIndex = 0; + this.loadResults(); + } + + private toggle(set: Set, key: string): void { + if (set.has(key)) { + set.delete(key); + } else { + set.add(key); + } + this.pageIndex = 0; + this.loadResults(); + } + + /** + * There is no catalogue-wide filterInfo endpoint - it answers per item type - so the six + * answers are merged here, the way the site merges the same six at build time. Counts are + * deliberately not rendered: filterInfo takes no text query, so beside a searched result they + * would be the whole catalogue's numbers pretending to describe this answer. + */ + private loadFilterInfo(): void { + const config = { ignoreLoading: true, ignoreErrors: true }; + forkJoin( + FACET_ITEM_TYPES.map(type => this.iotHubApiService.getFilterInfo(type, config)) + ).subscribe({ + next: infos => { + // Every item type is offered, not only the ones filterInfo reports facets for: the + // endpoint describes a type's categories and vendors, never how many items it has, and + // a type whose items carry no categories would vanish from its own facet. + this.typeOptions = FACET_ITEM_TYPES.map(type => ({ + key: type as string, + totalItems: 0, + totalInstallCount: 0 + })); + this.categoryOptions = this.mergeFacet(infos.map(i => i?.categories)); + this.useCaseOptions = this.mergeFacet(infos.map(i => i?.useCases)); + }, + // A facet panel that failed to load is an empty panel, never a broken page: the grid + // beside it answers the query perfectly well without it. + error: () => {} + }); + } + + private mergeFacet(lists: (FilterParamInfo[] | undefined)[]): FilterParamInfo[] { + const byKey = new Map(); + for (const list of lists) { + for (const option of list || []) { + const seen = byKey.get(option.key); + if (seen) { + seen.totalItems += option.totalItems; + seen.totalInstallCount += option.totalInstallCount; + } else { + byKey.set(option.key, { ...option }); + } + } + } + return [...byKey.values()] + .filter(o => o.totalItems > 0) + .sort((a, b) => a.key.localeCompare(b.key)); + } + + // Column count -> page size + + private resizeObserver?: ResizeObserver; + private resizeSubject = new Subject(); + private resizeSubscription?: Subscription; + + private observeGridWidth(): void { + const el = this.cardGridProbe?.nativeElement; + if (!el || typeof ResizeObserver === 'undefined') { + return; + } + this.resizeSubscription = this.resizeSubject.pipe(debounceTime(150)).subscribe(() => { + const before = this.pageSizeOptions[0]; + this.measureCols(); + if (this.pageSizeOptions[0] === before) { + return; + } + // Keep the user roughly where they were in the list rather than on the same page number: + // page 4 of 12-card pages is a different place from page 4 of 18-card pages. + const firstItem = this.pageIndex * this.pageSize; + this.pageSize = this.pageSizeOptions[0]; + this.pageIndex = Math.floor(firstItem / this.pageSize); + this.loadResults(); + }); + this.resizeObserver = new ResizeObserver(() => this.resizeSubject.next()); + this.resizeObserver.observe(el); + } + + private measureCols(): void { + const el = this.cardGridProbe?.nativeElement; + if (!el) { + return; + } + // Force layout so grid-template-columns resolves to pixel tracks rather than `repeat(...)`. + void el.offsetWidth; + const tracks = getComputedStyle(el).gridTemplateColumns; + if (!tracks || tracks === 'none') { + this.cols = 1; + } else if (tracks.startsWith('repeat(')) { + const match = tracks.match(/^repeat\(\s*(\d+)\s*,/); + this.cols = match ? parseInt(match[1], 10) : 1; + } else { + this.cols = Math.max(1, tracks.trim().split(/\s+/).filter(t => t.length > 0).length); + } + if (!this.pageSizeOptions.includes(this.pageSize)) { + this.pageSize = this.pageSizeOptions[0]; + } } onSearchInput(): void { @@ -159,33 +349,9 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { } // Type helpers - isCompactType(type: ItemType): boolean { - return type === ItemType.CALCULATED_FIELD - || type === ItemType.ALARM_RULE - || type === ItemType.RULE_CHAIN; - } - - getTypeLabel(type: ItemType): string { - const key = itemTypeTranslations.get(type); - return key ? this.translate.instant(key + '-plural') : type; - } - - getTypeRoute(type: ItemType): string { - switch (type) { - case ItemType.WIDGET: return 'widgets'; - case ItemType.SOLUTION_TEMPLATE: return 'solution-templates'; - case ItemType.CALCULATED_FIELD: return 'calculated-fields'; - case ItemType.ALARM_RULE: return 'alarm-rules'; - case ItemType.RULE_CHAIN: return 'rule-chains'; - case ItemType.DEVICE: return 'devices'; - default: return 'widgets'; - } - } - navigateToType(type: ItemType): void { - const search = this.searchText?.trim() || undefined; - void this.router.navigate(['/iot-hub', this.getTypeRoute(type)], { queryParams: { search } }); - } + + // Installed items getInstalledItem(item: MpItemVersionView): IotHubInstalledItem | undefined { @@ -281,7 +447,7 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { error: () => { this.isLoading = false; this.hasError = true; - this.resultGroups = []; + this.results = []; this.totalElements = 0; } }); @@ -291,30 +457,22 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { const sort = this.sortOptions[this.selectedSortIndex]; const sortOrder: SortOrder = { property: sort.value, direction: sort.direction }; const pageLink = new PageLink(this.pageSize, this.pageIndex, text.trim() || null, sortOrder); - const query = new MpItemVersionQuery(pageLink, { creatorId: this.creatorId || undefined }); + const query = new MpItemVersionQuery(pageLink, { + creatorId: this.creatorId || undefined, + // Empty sets are left off the query entirely - an empty array would narrow to nothing. + types: this.activeTypes.size ? [...this.activeTypes] : undefined, + categories: this.activeCategories.size ? [...this.activeCategories] : undefined, + useCases: this.activeUseCases.size ? [...this.activeUseCases] : undefined + }); return this.iotHubApiService.getPublishedVersions(query, { ignoreLoading: true, ignoreErrors: true }); } private applyResults(data: MpItemVersionView[], totalElements: number): void { this.totalElements = totalElements; - this.resultGroups = this.groupResults(data); + this.results = data; this.isLoading = false; } - private groupResults(items: MpItemVersionView[]): SearchResultGroup[] { - const groupMap = new Map(); - for (const item of items) { - let list = groupMap.get(item.type); - if (!list) { - list = []; - groupMap.set(item.type, list); - } - list.push(item); - } - return TYPE_ORDER - .filter(type => groupMap.has(type)) - .map(type => ({ type, items: groupMap.get(type) })); - } private loadInstalledItems(): void { const config = { ignoreLoading: true }; diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html index d91164a6c3..51d834e8ed 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html @@ -96,7 +96,10 @@
- + +

{{ 'iot-hub.published-items' | translate }} ({{ creator.publishedCount }})

diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html index cf4007b511..995ee4395d 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html @@ -85,37 +85,54 @@ } @else { @for (group of searchResultGroups; track group.type) { - - @for (item of group.items; track item.id) { - - @if (isCompactType(item.type)) { -
- {{ getCompactIcon(item) }} + + + {{ getSearchGroupLabel(group.type) }} + @if (group.remaining > 0) { + + {{ 'iot-hub.section-more' | translate:{ count: group.remaining } }} + chevron_right + + } + + + @for (item of group.items; track item.id) { + + @if (isCompactType(item.type)) { +
+ {{ getCompactIcon(item) }} +
+ } @else { +
+ @if (getItemImage(item); as imgUrl) { + + } @else { + {{ getItemTypeIcon(item.type) }} + } +
+ } +
+ {{ item.name }} + + person + {{ item.creatorDisplayName }} +
- } @else { -
- @if (getItemImage(item); as imgUrl) { - - } @else { - {{ getItemTypeIcon(item.type) }} - } -
- } -
- {{ item.name }} - - person - {{ item.creatorDisplayName }} - -
-
- } + + } +
} }
diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss index de032d8f1a..d8934e82ff 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss @@ -242,6 +242,41 @@ line-height: 20px; letter-spacing: 0.25px; color: rgba(0, 0, 0, 0.54); + // The header spans the panel so the count can sit against the right edge. Material's own + // label span is only as wide as its text. + width: 100%; + } + } + + // Section header — the label IS the link into the type page: title left, how much is not shown + // plus a chevron right. There is deliberately no per-section "see all" row under the items; + // six of those on one panel is what this variant was chosen to avoid. + .tb-search-popup-group-header { + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + width: 100%; + cursor: pointer; + outline: none; + } + + .tb-search-popup-group-more { + display: flex; + align-items: center; + gap: 2px; + flex-shrink: 0; + font-size: 12px; + font-weight: 500; + line-height: 16px; + letter-spacing: 0.25px; + color: $tb-primary-color; + + .mat-icon { + width: 18px; + height: 18px; + font-size: 18px; + line-height: 18px; } } diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index fffd19c021..b4ecd8ca98 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -35,6 +35,10 @@ interface HeroTypeConfig { interface SearchResultGroup { type: ItemType; items: MpItemVersionView[]; + /** Rows of this type behind the answer, from the response's typeTotal. */ + total: number; + /** total - items.length, floored at 0. Zero means the header shows no "+N more". */ + remaining: number; } const SEARCH_GROUP_ORDER: ItemType[] = [ @@ -42,6 +46,11 @@ const SEARCH_GROUP_ORDER: ItemType[] = [ ItemType.CALCULATED_FIELD, ItemType.ALARM_RULE, ItemType.RULE_CHAIN ]; +/** Relevance ranking. Sent only while the field has text: with an empty field the backend + * substitutes the install count anyway, and this component knows the field state, so it sends + * the honest value rather than leaning on that safety net. */ +const RELEVANCE = 'relevance'; + @Component({ selector: 'tb-iot-hub-home', standalone: false, @@ -156,9 +165,16 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { distinctUntilChanged(), switchMap(text => { this.searchLoading = true; - const sortOrder: SortOrder = { property: 'totalInstallCount', direction: Direction.DESC }; - const pageLink = new PageLink(10, 0, text.trim() || null, sortOrder); - const query = new MpItemVersionQuery(pageLink); + const trimmed = text.trim(); + // Two states, one panel: popularity answers "what is worth looking at" with an empty + // field, relevance answers "what did I ask for" once there is one. + const sortOrder: SortOrder = trimmed + ? { property: RELEVANCE, direction: Direction.DESC } + : { property: 'totalInstallCount', direction: Direction.DESC }; + // The server sizes a grouped answer itself - the top rows of every type, one screen - so + // this page size is ignored, and page must stay 0 (a non-zero page is a 400). + const pageLink = new PageLink(10, 0, trimmed || null, sortOrder); + const query = new MpItemVersionQuery(pageLink, { grouped: true }); return this.iotHubApiService.getPublishedVersions(query, { ignoreLoading: true }); }) ).subscribe(result => { @@ -237,6 +253,17 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { void this.router.navigate(['/iot-hub/search'], { queryParams: { search } }); } + /** + * The section header is the way into the rest of a type - the panel carries no per-section + * "see all" row, which would put six identical calls to action on one panel. The query goes + * with it, so the type page opens on the same search rather than on the whole type. + */ + navigateToSection(type: ItemType): void { + this.searchAutoTrigger?.closePanel(); + const search = this.searchText?.trim() || undefined; + void this.router.navigate(['/iot-hub', this.getTypeRoute(type)], { queryParams: { search } }); + } + isCompactType(type: ItemType): boolean { return type === ItemType.CALCULATED_FIELD || type === ItemType.ALARM_RULE @@ -523,6 +550,11 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { }); } + /** + * Reads the sections the server built. It no longer decides membership - a grouped response + * arrives already capped at four per type - so all this does is put the types in the panel's + * fixed order and carry each one's typeTotal onto the header. + */ private groupSearchResults(items: MpItemVersionView[]): SearchResultGroup[] { const groupMap = new Map(); for (const item of items) { @@ -538,6 +570,12 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { } return SEARCH_GROUP_ORDER .filter(type => groupMap.has(type)) - .map(type => ({ type, items: groupMap.get(type) })); + .map(type => { + const groupItems = groupMap.get(type); + // Every row of a type carries the same typeTotal. The fallback keeps a non-grouped + // response rendering correctly - which is what a stale backend would send. + const total = groupItems[0].typeTotal ?? groupItems.length; + return { type, items: groupItems, total, remaining: Math.max(0, total - groupItems.length) }; + }); } } diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-search-page.component.scss b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-search-page.component.scss index 1e617fb1f3..b824aade8c 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-search-page.component.scss +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-search-page.component.scss @@ -8,12 +8,18 @@ height: 100%; } +// Same frame as the type pages (iot-hub-items-page): one even padding on the card, the hero +// inside it, and the component below pulled out to the card's edges. It replaces four +// breakpoints' worth of hand-written negative margins — one per element that needed to reach +// an edge — and is why the filter rail, the heading and the grid now line up by construction. +.tb-search-page { + padding: 40px 40px 48px; +} // Back button .tb-search-back-btn { align-self: flex-start; - margin-top: 40px; - margin-left: 123px; + margin-left: -8px; } // Title @@ -30,100 +36,37 @@ color: rgba(0, 0, 0, 0.54); } +// Full bleed, and it pads its own rows back in through --tb-search-side-pad. The rail and the +// dividers are the parts that must reach the edge; everything else lines up with the hero. tb-iot-hub-search { flex: 1; min-height: 0; - padding-left: 123px; - padding-right: 123px; - - ::ng-deep { - .tb-search-divider { - margin-left: -123px; - margin-right: -123px; - } - - .tb-results-container { - padding-right: 123px; - padding-bottom: 40px; - margin-right: -123px; - } - } -} - -// Responsive -@media #{$mat-lt-xxl} { - .tb-search-back-btn { - margin-left: 40px; - } - - tb-iot-hub-search { - padding-left: 40px; - padding-right: 40px; - - ::ng-deep { - .tb-search-divider { - margin-left: -40px; - margin-right: -40px; - } - - .tb-results-container { - padding-right: 40px; - margin-right: -40px; - } - } - } + --tb-search-side-pad: 40px; + margin-left: -40px; + margin-right: -40px; } @media #{$mat-lt-lg} { - .tb-search-back-btn { - margin-top: 24px; - margin-left: 24px; + .tb-search-page { + padding: 24px 24px 32px; } tb-iot-hub-search { - padding-left: 24px; - padding-right: 24px; - - ::ng-deep { - .tb-search-divider { - margin-left: -24px; - margin-right: -24px; - } - - .tb-results-container { - padding-right: 24px; - padding-bottom: 24px; - margin-right: -24px; - } - } + --tb-search-side-pad: 24px; + margin-left: -24px; + margin-right: -24px; } } @media #{$mat-lt-sm} { .tb-search-page { + padding: 16px 16px 24px; gap: 16px; } - .tb-search-back-btn { - margin-top: 16px; - margin-left: 16px; - } - tb-iot-hub-search { - padding-left: 16px; - padding-right: 16px; - - ::ng-deep { - .tb-search-divider { - margin-left: -16px; - margin-right: -16px; - } - - .tb-results-container { - padding-right: 16px; - padding-bottom: 16px; - margin-right: -16px; - } - } + --tb-search-side-pad: 16px; + margin-left: -16px; + margin-right: -16px; } } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts index 349a4f62e8..b98fc30952 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts @@ -106,6 +106,12 @@ export interface MpItemVersionView { resources: MpItemVersionResource[]; relatedItems?: string[]; checksum?: string; + /** + * Rows of this item's type behind a grouped response. A flat read does not omit it — the + * column is projected as NULL and serialised, so the field arrives as `null` there. Read it + * with `??`, never with a truthiness test. + */ + typeTotal?: number | null; } // 404 body shapes returned by the public listing item-version endpoint @@ -118,7 +124,15 @@ export interface ListingItemVersionNotFound { } export interface MpItemVersionQueryOptions { + /** Single item type, for a surface pinned to one (the type pages, the add-item dialog). */ type?: string; + /** + * Several item types at once, for a cross-type surface whose Type facet is multi-select. + * Emitted as a repeated `type` parameter, which is the shape the backend reads + * (`@RequestParam List type`). Kept separate from `type` rather than widening it, + * so a caller that means "exactly this type" cannot be handed an array by accident. + */ + types?: string[]; peOnly?: boolean; creatorId?: string; categories?: string[]; @@ -131,6 +145,13 @@ export interface MpItemVersionQueryOptions { connectivity?: string[]; vendors?: string[]; scadaFirst?: boolean; + /** + * Ask for the top four of each item type in one response instead of a flat page. + * Every row then carries `typeTotal`, the number of rows of its type behind the answer, + * which is what the section header's "+N more" counts. Grouped responses are one screen: + * the backend rejects a non-zero `page`. + */ + grouped?: boolean; } export class MpItemVersionQuery { @@ -142,6 +163,9 @@ export class MpItemVersionQuery { if (o.type) { query += `&type=${o.type}`; } + if (o.types?.length) { + query += o.types.map(t => `&type=${encodeURIComponent(t)}`).join(''); + } if (o.peOnly != null) { query += `&peOnly=${o.peOnly}`; } @@ -178,6 +202,9 @@ export class MpItemVersionQuery { if (o.scadaFirst != null) { query += `&scadaFirst=${o.scadaFirst}`; } + if (o.grouped != null) { + query += `&grouped=${o.grouped}`; + } return query; } } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 98f59ec8a9..e19cb64cff 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3708,6 +3708,7 @@ "search": "Search...", "search-published-items": "Search published items...", "see-all-results": "See all results", + "see-results-for": "See results for \"{{ search }}\"", "no-search-results": "No results found for '{{ search }}'", "no-items-available": "No items available", "search-results": "Search results", @@ -3730,6 +3731,7 @@ "type": "Type", "items-per-page": "Items per page", "filter": "Filter", + "clear-filters": "Clear filters", "available": "Available", "items-page-desc-widgets": "Jumpstart your IoT journey with pre-configured widgets designed for your industry. Deploy proven architectures instantly and focus your energy on what matters: your unique business logic.", "items-page-desc-dashboards": "Explore dashboards to find pre-built visualization templates and interactive UI layouts you can deploy in minutes to bring your IoT data to life.", @@ -3774,9 +3776,11 @@ "search-alarm-rules": "Search alarm rules...", "search-rule-chains": "Search rule chains...", "search-devices": "Search devices...", + "sort-most-relevant": "Most relevant", "sort-most-installed": "Most installed", "sort-newest": "Newest", "sort-name": "Name (A-Z)", + "section-more": "{ count, plural, =1 {+1 more} other {+# more} }", "type-filter-label": "Type", "category": "Category", "use-case": "Use case", From bb43fffa04ab6f3d62101e260b02ad2e359910f3 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 15 Sep 2026 12:45:34 +0300 Subject: [PATCH 022/559] fix(iot-hub): call the grouped versions endpoint The Hub answers a sectioned search at /api/versions/published/grouped rather than through a flag on the flat read. That endpoint takes the filters and a sort key only - it sizes its own answer - so the popup asks through its own API method and its own query string, and sends no page, page size or sort order. MpItemVersionGroupedView mirrors what comes back: the view plus typeTotal, always set, rather than the flat view with a nullable field and a comment about when it is null. MpItemVersionQueryOptions loses grouped with it. --- .../src/app/core/http/iot-hub-api.service.ts | 21 +++++++- .../pages/iot-hub/iot-hub-home.component.ts | 22 ++++----- .../models/iot-hub/iot-hub-version.models.ts | 49 +++++++++++++------ 3 files changed, 65 insertions(+), 27 deletions(-) diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 33f19d285f..f4d87a5ce5 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -6,7 +6,7 @@ import { Store } from '@ngrx/store'; import { Observable } from 'rxjs'; import { PageData } from '@shared/models/page/page-data'; import { PageLink } from '@shared/models/page/page-link'; -import { MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; +import { MpItemVersionGroupedView, MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { CreatorView } from '@shared/models/iot-hub/iot-hub-creator.models'; import { IotHubInstalledItem, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { ItemType, ItemTypeFilterInfo, WidgetCategory } from '@shared/models/iot-hub/iot-hub-item.models'; @@ -81,6 +81,25 @@ export class IotHubApiService { ); } + /** + * The sectioned answer: at most four rows of each item type, every row carrying the size of its + * section. Its own endpoint, which is why this is its own method - it takes no page, page size + * or sort direction, and sending them would be sending what the server does not read. + */ + public getPublishedVersionsGrouped(query: MpItemVersionQuery, + config?: IotHubRequestConfig): Observable> { + if (query.options.tbVersion == null) { + query.options.tbVersion = tbVersionToInt(env.tbVersion); + } + if (query.options.peOnly == null) { + query.options.peOnly = false; + } + return this.http.get>( + `${this.baseUrl}/api/versions/published/grouped${query.toGroupedQuery()}`, + { params: this.buildParams(config) } + ); + } + public getFilterInfo(itemType: ItemType, config?: IotHubRequestConfig): Observable { const url = `${this.baseUrl}/api/item-listing/filterInfo/${itemType}` + `?peOnly=false&tbVersion=${tbVersionToInt(env.tbVersion)}`; diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index b4ecd8ca98..cf26d52bbe 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -9,7 +9,7 @@ import { debounceTime, distinctUntilChanged, switchMap } from 'rxjs/operators'; import { MediaBreakpoints } from '@shared/models/constants'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; -import { MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; +import { MpItemVersionGroupedView, MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; @@ -34,7 +34,7 @@ interface HeroTypeConfig { interface SearchResultGroup { type: ItemType; - items: MpItemVersionView[]; + items: MpItemVersionGroupedView[]; /** Rows of this type behind the answer, from the response's typeTotal. */ total: number; /** total - items.length, floored at 0. Zero means the header shows no "+N more". */ @@ -62,7 +62,7 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { readonly ItemType = ItemType; searchText = ''; - searchResults: MpItemVersionView[] = []; + searchResults: MpItemVersionGroupedView[] = []; searchResultGroups: SearchResultGroup[] = []; searchLoaded = false; searchLoading = false; @@ -171,11 +171,10 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { const sortOrder: SortOrder = trimmed ? { property: RELEVANCE, direction: Direction.DESC } : { property: 'totalInstallCount', direction: Direction.DESC }; - // The server sizes a grouped answer itself - the top rows of every type, one screen - so - // this page size is ignored, and page must stay 0 (a non-zero page is a 400). + // The grouped endpoint sizes its own answer, so the page size here is never sent. const pageLink = new PageLink(10, 0, trimmed || null, sortOrder); - const query = new MpItemVersionQuery(pageLink, { grouped: true }); - return this.iotHubApiService.getPublishedVersions(query, { ignoreLoading: true }); + const query = new MpItemVersionQuery(pageLink); + return this.iotHubApiService.getPublishedVersionsGrouped(query, { ignoreLoading: true }); }) ).subscribe(result => { this.searchResults = result.data; @@ -555,8 +554,8 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { * arrives already capped at four per type - so all this does is put the types in the panel's * fixed order and carry each one's typeTotal onto the header. */ - private groupSearchResults(items: MpItemVersionView[]): SearchResultGroup[] { - const groupMap = new Map(); + private groupSearchResults(items: MpItemVersionGroupedView[]): SearchResultGroup[] { + const groupMap = new Map(); for (const item of items) { if (!SEARCH_GROUP_ORDER.includes(item.type)) { continue; @@ -572,8 +571,9 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { .filter(type => groupMap.has(type)) .map(type => { const groupItems = groupMap.get(type); - // Every row of a type carries the same typeTotal. The fallback keeps a non-grouped - // response rendering correctly - which is what a stale backend would send. + // Every row of a type carries the same typeTotal, so the first one answers for the + // section. The fallback covers a backend too old to have the grouped endpoint, whose + // rows arrive without it. const total = groupItems[0].typeTotal ?? groupItems.length; return { type, items: groupItems, total, remaining: Math.max(0, total - groupItems.length) }; }); diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts index b98fc30952..4aaaeeaa62 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts @@ -106,12 +106,18 @@ export interface MpItemVersionView { resources: MpItemVersionResource[]; relatedItems?: string[]; checksum?: string; +} + +/** + * A row of a grouped search: the view plus the size of the section it belongs to. Its own type + * rather than a nullable field on the view, matching what the endpoint returns. + */ +export interface MpItemVersionGroupedView extends MpItemVersionView { /** - * Rows of this item's type behind a grouped response. A flat read does not omit it — the - * column is projected as NULL and serialised, so the field arrives as `null` there. Read it - * with `??`, never with a truthiness test. + * Rows of this row's item type behind the answer — what a "+N more" header subtracts the + * shown rows from. Always set: the grouped endpoint projects it for every row it returns. */ - typeTotal?: number | null; + typeTotal: number; } // 404 body shapes returned by the public listing item-version endpoint @@ -145,20 +151,36 @@ export interface MpItemVersionQueryOptions { connectivity?: string[]; vendors?: string[]; scadaFirst?: boolean; - /** - * Ask for the top four of each item type in one response instead of a flat page. - * Every row then carries `typeTotal`, the number of rows of its type behind the answer, - * which is what the section header's "+N more" counts. Grouped responses are one screen: - * the backend rejects a non-zero `page`. - */ - grouped?: boolean; } export class MpItemVersionQuery { constructor(public pageLink: PageLink, public options: MpItemVersionQueryOptions = {}) {} + /** + * The grouped endpoint's query string: the filters, plus a sort key. It sizes its own answer, + * so it declares no page or page size, and each key's direction is fixed by its chain, so it + * declares no sort order either - sending any of the three would be sending something the + * server does not read. + */ + public toGroupedQuery(): string { + const text = this.pageLink.textSearch?.trim(); + let query = '?'; + if (text?.length) { + query += `textSearch=${encodeURIComponent(text)}&`; + } + if (this.pageLink.sortOrder) { + query += `sortProperty=${this.pageLink.sortOrder.property}&`; + } + return query + this.filtersToQuery(); + } + public toQuery(): string { - let query = this.pageLink.toQuery(); + return this.pageLink.toQuery() + this.filtersToQuery(); + } + + /** Every filter, as `&name=value` pairs - shared by both query strings above. */ + private filtersToQuery(): string { + let query = ''; const o = this.options; if (o.type) { query += `&type=${o.type}`; @@ -202,9 +224,6 @@ export class MpItemVersionQuery { if (o.scadaFirst != null) { query += `&scadaFirst=${o.scadaFirst}`; } - if (o.grouped != null) { - query += `&grouped=${o.grouped}`; - } return query; } } From 6eaf10dfd4572a6ec9e4fc3e9a6998b08e7c7b55 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 15 Sep 2026 13:01:05 +0300 Subject: [PATCH 023/559] fix(iot-hub): keep the hero search alive when a request fails --- .../home/pages/iot-hub/iot-hub-home.component.ts | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index cf26d52bbe..6108a9bd4e 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -4,9 +4,10 @@ import { Component, OnInit, OnDestroy, ViewChild, ElementRef } from '@angular/co import { Router } from '@angular/router'; import { MatAutocompleteTrigger } from '@angular/material/autocomplete'; import { BreakpointObserver } from '@angular/cdk/layout'; -import { forkJoin, Subject, Subscription } from 'rxjs'; -import { debounceTime, distinctUntilChanged, switchMap } from 'rxjs/operators'; +import { forkJoin, of, Subject, Subscription } from 'rxjs'; +import { catchError, debounceTime, distinctUntilChanged, switchMap } from 'rxjs/operators'; import { MediaBreakpoints } from '@shared/models/constants'; +import { emptyPageData } from '@shared/models/page/page-data'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; import { MpItemVersionGroupedView, MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; @@ -174,7 +175,11 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { // The grouped endpoint sizes its own answer, so the page size here is never sent. const pageLink = new PageLink(10, 0, trimmed || null, sortOrder); const query = new MpItemVersionQuery(pageLink); - return this.iotHubApiService.getPublishedVersionsGrouped(query, { ignoreLoading: true }); + // A failed request must not end the subscription: the interceptor reports it, and the + // panel goes back to an empty answer the next keystroke can replace. + return this.iotHubApiService.getPublishedVersionsGrouped(query, { ignoreLoading: true }).pipe( + catchError(() => of(emptyPageData())) + ); }) ).subscribe(result => { this.searchResults = result.data; @@ -572,9 +577,8 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { .map(type => { const groupItems = groupMap.get(type); // Every row of a type carries the same typeTotal, so the first one answers for the - // section. The fallback covers a backend too old to have the grouped endpoint, whose - // rows arrive without it. - const total = groupItems[0].typeTotal ?? groupItems.length; + // section. + const total = groupItems[0].typeTotal; return { type, items: groupItems, total, remaining: Math.max(0, total - groupItems.length) }; }); } From 09dbf7b0c06e40c5d16e1e3f7568b6cb1cd3d4a3 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 15 Sep 2026 13:20:56 +0300 Subject: [PATCH 024/559] refactor(iot-hub): read the hero popup's sections as sections --- .../src/app/core/http/iot-hub-api.service.ts | 13 ++--- .../pages/iot-hub/iot-hub-home.component.html | 2 +- .../pages/iot-hub/iot-hub-home.component.ts | 51 +++++++------------ .../models/iot-hub/iot-hub-version.models.ts | 15 +++--- 4 files changed, 34 insertions(+), 47 deletions(-) diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index f4d87a5ce5..987f9f214b 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -6,7 +6,7 @@ import { Store } from '@ngrx/store'; import { Observable } from 'rxjs'; import { PageData } from '@shared/models/page/page-data'; import { PageLink } from '@shared/models/page/page-link'; -import { MpItemVersionGroupedView, MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; +import { MpItemVersionQuery, MpItemVersionSection, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { CreatorView } from '@shared/models/iot-hub/iot-hub-creator.models'; import { IotHubInstalledItem, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { ItemType, ItemTypeFilterInfo, WidgetCategory } from '@shared/models/iot-hub/iot-hub-item.models'; @@ -82,19 +82,20 @@ export class IotHubApiService { } /** - * The sectioned answer: at most four rows of each item type, every row carrying the size of its - * section. Its own endpoint, which is why this is its own method - it takes no page, page size - * or sort direction, and sending them would be sending what the server does not read. + * The sectioned answer: one section per item type, in the server's order, each holding at most + * four rows and the total behind them. Its own endpoint, which is why this is its own method - + * it takes no page, page size or sort direction, and sending them would be sending what the + * server does not read. */ public getPublishedVersionsGrouped(query: MpItemVersionQuery, - config?: IotHubRequestConfig): Observable> { + config?: IotHubRequestConfig): Observable { if (query.options.tbVersion == null) { query.options.tbVersion = tbVersionToInt(env.tbVersion); } if (query.options.peOnly == null) { query.options.peOnly = false; } - return this.http.get>( + return this.http.get( `${this.baseUrl}/api/versions/published/grouped${query.toGroupedQuery()}`, { params: this.buildParams(config) } ); diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html index 995ee4395d..07905a8d21 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html @@ -72,7 +72,7 @@ - } @else if (searchResults.length === 0 && searchLoaded) { + } @else if (searchResultGroups.length === 0 && searchLoaded) {
search_off diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index 6108a9bd4e..47c1ca06e1 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -7,10 +7,9 @@ import { BreakpointObserver } from '@angular/cdk/layout'; import { forkJoin, of, Subject, Subscription } from 'rxjs'; import { catchError, debounceTime, distinctUntilChanged, switchMap } from 'rxjs/operators'; import { MediaBreakpoints } from '@shared/models/constants'; -import { emptyPageData } from '@shared/models/page/page-data'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; -import { MpItemVersionGroupedView, MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; +import { MpItemVersionQuery, MpItemVersionSection, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; @@ -35,14 +34,16 @@ interface HeroTypeConfig { interface SearchResultGroup { type: ItemType; - items: MpItemVersionGroupedView[]; - /** Rows of this type behind the answer, from the response's typeTotal. */ + items: MpItemVersionView[]; + /** Rows of this type behind the answer, from the section's total. */ total: number; /** total - items.length, floored at 0. Zero means the header shows no "+N more". */ remaining: number; } -const SEARCH_GROUP_ORDER: ItemType[] = [ +/** The types this popup lays out. A section of anything else is dropped rather than rendered + * without a label - the platform publishes no dashboards. Order comes from the server. */ +const SEARCH_GROUP_TYPES: ItemType[] = [ ItemType.DEVICE, ItemType.SOLUTION_TEMPLATE, ItemType.WIDGET, ItemType.CALCULATED_FIELD, ItemType.ALARM_RULE, ItemType.RULE_CHAIN ]; @@ -63,7 +64,6 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { readonly ItemType = ItemType; searchText = ''; - searchResults: MpItemVersionGroupedView[] = []; searchResultGroups: SearchResultGroup[] = []; searchLoaded = false; searchLoading = false; @@ -178,12 +178,11 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { // A failed request must not end the subscription: the interceptor reports it, and the // panel goes back to an empty answer the next keystroke can replace. return this.iotHubApiService.getPublishedVersionsGrouped(query, { ignoreLoading: true }).pipe( - catchError(() => of(emptyPageData())) + catchError(() => of([] as MpItemVersionSection[])) ); }) - ).subscribe(result => { - this.searchResults = result.data; - this.searchResultGroups = this.groupSearchResults(result.data); + ).subscribe(sections => { + this.searchResultGroups = this.toResultGroups(sections); this.searchLoaded = true; this.searchLoading = false; }); @@ -559,27 +558,15 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { * arrives already capped at four per type - so all this does is put the types in the panel's * fixed order and carry each one's typeTotal onto the header. */ - private groupSearchResults(items: MpItemVersionGroupedView[]): SearchResultGroup[] { - const groupMap = new Map(); - for (const item of items) { - if (!SEARCH_GROUP_ORDER.includes(item.type)) { - continue; - } - let list = groupMap.get(item.type); - if (!list) { - list = []; - groupMap.set(item.type, list); - } - list.push(item); - } - return SEARCH_GROUP_ORDER - .filter(type => groupMap.has(type)) - .map(type => { - const groupItems = groupMap.get(type); - // Every row of a type carries the same typeTotal, so the first one answers for the - // section. - const total = groupItems[0].typeTotal; - return { type, items: groupItems, total, remaining: Math.max(0, total - groupItems.length) }; - }); + private toResultGroups(sections: MpItemVersionSection[]): SearchResultGroup[] { + return sections + .filter(section => SEARCH_GROUP_TYPES.includes(section.itemType)) + .map(section => ({ + type: section.itemType, + items: section.items, + total: section.total, + remaining: Math.max(0, section.total - section.items.length) + })); } + } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts index 4aaaeeaa62..4c1f79718b 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts @@ -109,15 +109,14 @@ export interface MpItemVersionView { } /** - * A row of a grouped search: the view plus the size of the section it belongs to. Its own type - * rather than a nullable field on the view, matching what the endpoint returns. + * One item type's share of a grouped search: the rows to show and how many exist behind them. + * A grouped answer is a list of these, in the server's section order, and a type nothing matched + * has no section — so a "+N more" header is `total - items.length`. */ -export interface MpItemVersionGroupedView extends MpItemVersionView { - /** - * Rows of this row's item type behind the answer — what a "+N more" header subtracts the - * shown rows from. Always set: the grouped endpoint projects it for every row it returns. - */ - typeTotal: number; +export interface MpItemVersionSection { + itemType: ItemType; + total: number; + items: MpItemVersionView[]; } // 404 body shapes returned by the public listing item-version endpoint From 19cbfc403a7da9076a7250ce8ffcdae728914da9 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 15 Sep 2026 13:44:36 +0300 Subject: [PATCH 025/559] fix(iot-hub): keep the grouped query string well-formed without text --- .../shared/models/iot-hub/iot-hub-version.models.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts index 4c1f79718b..c48a232098 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts @@ -163,14 +163,16 @@ export class MpItemVersionQuery { */ public toGroupedQuery(): string { const text = this.pageLink.textSearch?.trim(); - let query = '?'; + const parts: string[] = []; if (text?.length) { - query += `textSearch=${encodeURIComponent(text)}&`; + parts.push(`textSearch=${encodeURIComponent(text)}`); } if (this.pageLink.sortOrder) { - query += `sortProperty=${this.pageLink.sortOrder.property}&`; + parts.push(`sortProperty=${this.pageLink.sortOrder.property}`); } - return query + this.filtersToQuery(); + // filtersToQuery() emits leading ampersands, which is what toQuery() needs after a page link; + // here they may be the whole query string, so the first one is dropped. + return `?${`${parts.join('&')}${this.filtersToQuery()}`.replace(/^&/, '')}`; } public toQuery(): string { From 3af7b71740c6a3541a584b568247ee09c3b1c6ac Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 15 Sep 2026 14:00:41 +0300 Subject: [PATCH 026/559] refactor(iot-hub): give the grouped read its own query, without a page link --- .../src/app/core/http/iot-hub-api.service.ts | 39 +++-- .../pages/iot-hub/iot-hub-home.component.ts | 15 +- .../models/iot-hub/iot-hub-version.models.ts | 137 +++++++++--------- 3 files changed, 104 insertions(+), 87 deletions(-) diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 987f9f214b..25c6253bae 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -6,7 +6,13 @@ import { Store } from '@ngrx/store'; import { Observable } from 'rxjs'; import { PageData } from '@shared/models/page/page-data'; import { PageLink } from '@shared/models/page/page-link'; -import { MpItemVersionQuery, MpItemVersionSection, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; +import { + MpItemVersionGroupedQuery, + MpItemVersionQuery, + MpItemVersionQueryOptions, + MpItemVersionSection, + MpItemVersionView +} from '@shared/models/iot-hub/iot-hub-version.models'; import { CreatorView } from '@shared/models/iot-hub/iot-hub-creator.models'; import { IotHubInstalledItem, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { ItemType, ItemTypeFilterInfo, WidgetCategory } from '@shared/models/iot-hub/iot-hub-item.models'; @@ -69,12 +75,7 @@ export class IotHubApiService { } public getPublishedVersions(query: MpItemVersionQuery, config?: IotHubRequestConfig): Observable> { - if (query.options.tbVersion == null) { - query.options.tbVersion = tbVersionToInt(env.tbVersion); - } - if (query.options.peOnly == null) { - query.options.peOnly = false; - } + this.applyPlatformFilters(query.options); return this.http.get>( `${this.baseUrl}/api/versions/published${query.toQuery()}`, { params: this.buildParams(config) } @@ -87,20 +88,28 @@ export class IotHubApiService { * it takes no page, page size or sort direction, and sending them would be sending what the * server does not read. */ - public getPublishedVersionsGrouped(query: MpItemVersionQuery, + public getPublishedVersionsGrouped(query: MpItemVersionGroupedQuery, config?: IotHubRequestConfig): Observable { - if (query.options.tbVersion == null) { - query.options.tbVersion = tbVersionToInt(env.tbVersion); - } - if (query.options.peOnly == null) { - query.options.peOnly = false; - } + this.applyPlatformFilters(query.options); return this.http.get( - `${this.baseUrl}/api/versions/published/grouped${query.toGroupedQuery()}`, + `${this.baseUrl}/api/versions/published/grouped${query.toQuery()}`, { params: this.buildParams(config) } ); } + /** + * What this platform can install, filled in for a caller that did not say: items built for a + * newer ThingsBoard, and PE-only items on a CE instance, cannot be installed from here. + */ + private applyPlatformFilters(options: MpItemVersionQueryOptions): void { + if (options.tbVersion == null) { + options.tbVersion = tbVersionToInt(env.tbVersion); + } + if (options.peOnly == null) { + options.peOnly = false; + } + } + public getFilterInfo(itemType: ItemType, config?: IotHubRequestConfig): Observable { const url = `${this.baseUrl}/api/item-listing/filterInfo/${itemType}` + `?peOnly=false&tbVersion=${tbVersionToInt(env.tbVersion)}`; diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index 47c1ca06e1..f36a8738a1 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -9,7 +9,12 @@ import { catchError, debounceTime, distinctUntilChanged, switchMap } from 'rxjs/ import { MediaBreakpoints } from '@shared/models/constants'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; -import { MpItemVersionQuery, MpItemVersionSection, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; +import { + MpItemVersionGroupedQuery, + MpItemVersionQuery, + MpItemVersionSection, + MpItemVersionView +} from '@shared/models/iot-hub/iot-hub-version.models'; import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; @@ -169,12 +174,8 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { const trimmed = text.trim(); // Two states, one panel: popularity answers "what is worth looking at" with an empty // field, relevance answers "what did I ask for" once there is one. - const sortOrder: SortOrder = trimmed - ? { property: RELEVANCE, direction: Direction.DESC } - : { property: 'totalInstallCount', direction: Direction.DESC }; - // The grouped endpoint sizes its own answer, so the page size here is never sent. - const pageLink = new PageLink(10, 0, trimmed || null, sortOrder); - const query = new MpItemVersionQuery(pageLink); + const sortProperty = trimmed ? RELEVANCE : 'totalInstallCount'; + const query = new MpItemVersionGroupedQuery({}, trimmed, sortProperty); // A failed request must not end the subscription: the interceptor reports it, and the // panel goes back to an empty answer the next keystroke can replace. return this.iotHubApiService.getPublishedVersionsGrouped(query, { ignoreLoading: true }).pipe( diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts index c48a232098..b194ab0371 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts @@ -152,79 +152,86 @@ export interface MpItemVersionQueryOptions { scadaFirst?: boolean; } +/** Every filter, as `&name=value` pairs - shared by both query shapes below. */ +function filtersToQuery(o: MpItemVersionQueryOptions): string { + let query = ''; + if (o.type) { + query += `&type=${o.type}`; + } + if (o.types?.length) { + query += o.types.map(t => `&type=${encodeURIComponent(t)}`).join(''); + } + if (o.peOnly != null) { + query += `&peOnly=${o.peOnly}`; + } + if (o.creatorId) { + query += `&creatorId=${o.creatorId}`; + } + if (o.categories?.length) { + query += o.categories.map(c => `&categories=${encodeURIComponent(c)}`).join(''); + } + if (o.useCases?.length) { + query += o.useCases.map(u => `&useCases=${encodeURIComponent(u)}`).join(''); + } + if (o.cfTypes?.length) { + query += o.cfTypes.map(t => `&cfTypes=${encodeURIComponent(t)}`).join(''); + } + if (o.widgetTypes?.length) { + query += o.widgetTypes.map(t => `&widgetTypes=${encodeURIComponent(t)}`).join(''); + } + if (o.ruleChainTypes?.length) { + query += o.ruleChainTypes.map(t => `&ruleChainTypes=${encodeURIComponent(t)}`).join(''); + } + if (o.tbVersion != null) { + query += `&tbVersion=${o.tbVersion}`; + } + if (o.hardwareTypes?.length) { + query += o.hardwareTypes.map(ht => `&hardwareTypes=${encodeURIComponent(ht)}`).join(''); + } + if (o.connectivity?.length) { + query += o.connectivity.map(c => `&connectivity=${encodeURIComponent(c)}`).join(''); + } + if (o.vendors?.length) { + query += o.vendors.map(v => `&vendors=${encodeURIComponent(v)}`).join(''); + } + if (o.scadaFirst != null) { + query += `&scadaFirst=${o.scadaFirst}`; + } + return query; +} + +/** A paged read: the filters, and the page to cut out of them. */ export class MpItemVersionQuery { constructor(public pageLink: PageLink, public options: MpItemVersionQueryOptions = {}) {} - /** - * The grouped endpoint's query string: the filters, plus a sort key. It sizes its own answer, - * so it declares no page or page size, and each key's direction is fixed by its chain, so it - * declares no sort order either - sending any of the three would be sending something the - * server does not read. - */ - public toGroupedQuery(): string { - const text = this.pageLink.textSearch?.trim(); + public toQuery(): string { + return this.pageLink.toQuery() + filtersToQuery(this.options); + } +} + +/** + * A sectioned read: the filters, what to search for, and which key orders a section. + * + * No `PageLink`, because the grouped endpoint takes no page and no page size - it sizes its own + * answer from the section limit - and no sort direction either, each key's direction being fixed + * by the chain the server switches on. A page link here could only carry values nobody sends. + */ +export class MpItemVersionGroupedQuery { + constructor(public options: MpItemVersionQueryOptions = {}, + public textSearch?: string, + public sortProperty?: string) {} + + public toQuery(): string { const parts: string[] = []; + const text = this.textSearch?.trim(); if (text?.length) { parts.push(`textSearch=${encodeURIComponent(text)}`); } - if (this.pageLink.sortOrder) { - parts.push(`sortProperty=${this.pageLink.sortOrder.property}`); + if (this.sortProperty) { + parts.push(`sortProperty=${this.sortProperty}`); } - // filtersToQuery() emits leading ampersands, which is what toQuery() needs after a page link; + // filtersToQuery() emits leading ampersands, which is what a page link needs in front of it; // here they may be the whole query string, so the first one is dropped. - return `?${`${parts.join('&')}${this.filtersToQuery()}`.replace(/^&/, '')}`; - } - - public toQuery(): string { - return this.pageLink.toQuery() + this.filtersToQuery(); - } - - /** Every filter, as `&name=value` pairs - shared by both query strings above. */ - private filtersToQuery(): string { - let query = ''; - const o = this.options; - if (o.type) { - query += `&type=${o.type}`; - } - if (o.types?.length) { - query += o.types.map(t => `&type=${encodeURIComponent(t)}`).join(''); - } - if (o.peOnly != null) { - query += `&peOnly=${o.peOnly}`; - } - if (o.creatorId) { - query += `&creatorId=${o.creatorId}`; - } - if (o.categories?.length) { - query += o.categories.map(c => `&categories=${encodeURIComponent(c)}`).join(''); - } - if (o.useCases?.length) { - query += o.useCases.map(u => `&useCases=${encodeURIComponent(u)}`).join(''); - } - if (o.cfTypes?.length) { - query += o.cfTypes.map(t => `&cfTypes=${encodeURIComponent(t)}`).join(''); - } - if (o.widgetTypes?.length) { - query += o.widgetTypes.map(t => `&widgetTypes=${encodeURIComponent(t)}`).join(''); - } - if (o.ruleChainTypes?.length) { - query += o.ruleChainTypes.map(t => `&ruleChainTypes=${encodeURIComponent(t)}`).join(''); - } - if (o.tbVersion != null) { - query += `&tbVersion=${o.tbVersion}`; - } - if (o.hardwareTypes?.length) { - query += o.hardwareTypes.map(ht => `&hardwareTypes=${encodeURIComponent(ht)}`).join(''); - } - if (o.connectivity?.length) { - query += o.connectivity.map(c => `&connectivity=${encodeURIComponent(c)}`).join(''); - } - if (o.vendors?.length) { - query += o.vendors.map(v => `&vendors=${encodeURIComponent(v)}`).join(''); - } - if (o.scadaFirst != null) { - query += `&scadaFirst=${o.scadaFirst}`; - } - return query; + return `?${`${parts.join('&')}${filtersToQuery(this.options)}`.replace(/^&/, '')}`; } } From 26aad8e47500093f841cfd3d824a99dd955ec568 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 15 Sep 2026 16:31:42 +0300 Subject: [PATCH 027/559] docs(iot-hub): say what the section mapper does now --- .../app/modules/home/pages/iot-hub/iot-hub-home.component.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index f36a8738a1..ebd8485dd7 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -555,9 +555,8 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { } /** - * Reads the sections the server built. It no longer decides membership - a grouped response - * arrives already capped at four per type - so all this does is put the types in the panel's - * fixed order and carry each one's typeTotal onto the header. + * Reads the sections the server built: they arrive capped and in the order to render them, so + * this only drops the types this panel has no layout for and works out each header's "+N more". */ private toResultGroups(sections: MpItemVersionSection[]): SearchResultGroup[] { return sections From e5a4a7e48920f32a046755df2794060157f3cc3a Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 16 Sep 2026 13:26:27 +0300 Subject: [PATCH 028/559] refactor(iot-hub): one sort menu and one cross-type list, and two failures the panels now survive The sort options lived in three arrays behind three identical local interfaces, and 'relevance' was spelled four ways; the six cross-type item types lived in two more arrays, byte-identical and renamed by this branch on both sides. Adding one option here meant editing three places, and a seventh item type would have needed two. All of it moves to iot-hub-item.models.ts as SortOption, IOT_HUB_SORT_OPTIONS, RELEVANCE_SORT_PROPERTY and CROSS_TYPE_ITEM_TYPES. The type list stays separate from CREATOR_VISIBLE_ITEM_TYPES, which holds the same six: that one is a membership test carrying the type tabs' order, this one is display order with DEVICE leading, and folding them together would have silently reordered the Type facet. The hero popup now sends relevance in both states like every other surface, rather than switching on whether the field has text. Both spellings ask the server for the same rows - with no text it substitutes the install count either way - so this is the code agreeing with the decision recorded on TBIOH-33, not a behaviour change. Two failures that were not survivable: - One of the six getFilterInfo calls failing emptied the whole filter panel. forkJoin is all-or-nothing, so typeOptions went unassigned although it needs no server data, and the i?.categories guards below could never fire. Each request now carries its own catchError, which is what those guards already expected. - A section arriving without items would have thrown inside a subscribe callback, out of reach of the catchError upstream, leaving the popup on its spinner. The response is an unvalidated cast of a new endpoint, so items is defaulted. The facet list held a Set the host mutated in place, which works only while that component is on default change detection. The host now hands over a new Set per toggle. SearchResultGroup.total went unread, and @for takes a track expression rather than a TrackByFunction. --- .../src/app/core/http/iot-hub-api.service.ts | 7 +- .../dashboard-widget-select.component.ts | 31 ++--- .../iot-hub/iot-hub-browse.component.ts | 31 ++--- .../iot-hub/iot-hub-facet-list.component.html | 2 +- .../iot-hub/iot-hub-facet-list.component.ts | 7 +- .../iot-hub/iot-hub-search.component.ts | 106 ++++++++---------- .../pages/iot-hub/iot-hub-home.component.ts | 55 +++++---- .../models/iot-hub/iot-hub-item.models.ts | 44 ++++++++ 8 files changed, 139 insertions(+), 144 deletions(-) diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 25c6253bae..7f3b299962 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -83,10 +83,9 @@ export class IotHubApiService { } /** - * The sectioned answer: one section per item type, in the server's order, each holding at most - * four rows and the total behind them. Its own endpoint, which is why this is its own method - - * it takes no page, page size or sort direction, and sending them would be sending what the - * server does not read. + * The sectioned answer: one section per item type, in the server's order, each capped by the + * server and carrying the total behind that cap. Its own endpoint, which takes no page, page + * size or sort direction. */ public getPublishedVersionsGrouped(query: MpItemVersionGroupedQuery, config?: IotHubRequestConfig): Observable { diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts index 57c621eb8d..7cb0eddd2b 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts @@ -21,7 +21,12 @@ import { ItemSizeStrategy } from '@shared/components/grid/scroll-grid.component' import { coerceBoolean } from '@shared/decorators/coercion'; import { TranslateService } from '@ngx-translate/core'; import { MpItemVersionQuery, MpItemVersionView, widgetTypeTranslations } from '@shared/models/iot-hub/iot-hub-version.models'; -import { ItemType, FilterParamInfo, WidgetCategory } from '@shared/models/iot-hub/iot-hub-item.models'; +import { + FilterParamInfo, + IOT_HUB_SORT_OPTIONS, + ItemType, + WidgetCategory +} from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; @@ -38,12 +43,6 @@ type selectWidgetMode = 'installed' | 'iotHub'; type installedSubMode = 'default' | 'allWidgets'; type iotHubSubMode = 'default' | 'allWidgets' | 'installed' | 'category'; -interface WidgetSelectSortOption { - value: string; - label: string; - direction: Direction; -} - const LOGICAL_ALL_WIDGETS = '__logical_all_widgets__'; const LOGICAL_INSTALLED_FROM_IOT_HUB = '__logical_installed_from_iot_hub__'; @@ -89,22 +88,10 @@ export class DashboardWidgetSelectComponent { searchFocused = false; /** - * Relevance leads, and is therefore the default (iotHubSelectedSortIndex starts at 0). This - * panel has a search field, which is the only thing relevance ranks by; with the field empty - * the backend substitutes the install count, so the picker opens on the order it always had. - * - * scadaFirst is unaffected: the backend prepends it ahead of the caller's sort AND ahead of - * relevance, so a SCADA context still lists SCADA widgets first. - * - * Fourth copy of this list — the others are in TbIotHubSearchComponent, TbIotHubBrowseComponent - * and IOT_HUB_SORT_OPTIONS on thingsboard.io. Kept in step by hand. + * scadaFirst is unaffected by the sort: the backend prepends it ahead of the caller's key AND + * ahead of relevance, so a SCADA context still lists SCADA widgets first. */ - iotHubSortOptions: WidgetSelectSortOption[] = [ - { value: 'relevance', label: 'iot-hub.sort-most-relevant', direction: Direction.DESC }, - { value: 'totalInstallCount', label: 'iot-hub.sort-most-installed', direction: Direction.DESC }, - { value: 'publishedTime', label: 'iot-hub.sort-newest', direction: Direction.DESC }, - { value: 'name', label: 'iot-hub.sort-name', direction: Direction.ASC } - ]; + readonly iotHubSortOptions = IOT_HUB_SORT_OPTIONS; iotHubSelectedSortIndex = 0; @Input() diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts index 785bd48660..63f561ddad 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts @@ -4,10 +4,15 @@ import { AfterViewInit, Component, ElementRef, EventEmitter, Input, NgZone, OnDe import { Subject } from 'rxjs'; import { debounceTime, takeUntil } from 'rxjs/operators'; import { PageLink } from '@shared/models/page/page-link'; -import { Direction, SortOrder } from '@shared/models/page/sort-order'; +import { SortOrder } from '@shared/models/page/sort-order'; import { PageData } from '@shared/models/page/page-data'; import { MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; -import { ItemType, FilterParamInfo, CREATOR_VISIBLE_ITEM_TYPES } from '@shared/models/iot-hub/iot-hub-item.models'; +import { + CREATOR_VISIBLE_ITEM_TYPES, + FilterParamInfo, + IOT_HUB_SORT_OPTIONS, + ItemType +} from '@shared/models/iot-hub/iot-hub-item.models'; import { widgetTypeTranslations, cfTypeTranslations, ruleChainTypeTranslations } from '@shared/models/iot-hub/iot-hub-version.models'; import { IotHubInstalledItem, DeviceInstalledItemDescriptor } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; @@ -16,12 +21,6 @@ import { ActivatedRoute, Router } from '@angular/router'; import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; import { filterIotHubItemsBySearch, groupIotHubFilterItems, IotHubFilterGroup } from '@home/components/iot-hub/iot-hub-utils'; -interface SortOption { - value: string; - label: string; - direction: Direction; -} - @Component({ selector: 'tb-iot-hub-browse', standalone: false, @@ -126,21 +125,7 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy activeHardwareTypes = new Set(); activeVendors = new Set(); - /** - * Relevance leads, and is therefore the default (selectedSortIndex starts at 0). A type page - * carries a search field, which is the only thing relevance ranks by; with the field empty the - * backend substitutes the install count, so browsing keeps the order it always had. - * - * Kept in step by hand with TbIotHubSearchComponent's list and with IOT_HUB_SORT_OPTIONS on - * thingsboard.io — three copies, because the two products share no code and this component - * predates the search page's list. - */ - sortOptions: SortOption[] = [ - { value: 'relevance', label: 'iot-hub.sort-most-relevant', direction: Direction.DESC }, - { value: 'totalInstallCount', label: 'iot-hub.sort-most-installed', direction: Direction.DESC }, - { value: 'publishedTime', label: 'iot-hub.sort-newest', direction: Direction.DESC }, - { value: 'name', label: 'iot-hub.sort-name', direction: Direction.ASC } - ]; + readonly sortOptions = IOT_HUB_SORT_OPTIONS; typeTabs: { type: ItemType; label: string }[] = CREATOR_VISIBLE_ITEM_TYPES.map(t => ({ type: t, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html index dfde943c22..8468ddc04b 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html @@ -22,7 +22,7 @@ }
- @for (option of visibleOptions; track trackByKey($index, option)) { + @for (option of visibleOptions; track option.key) { {{ labelFor(option.key) }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.ts index b9b5625fce..7bcafacccc 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.ts @@ -26,7 +26,8 @@ export class TbIotHubFacetListComponent { @Input() options: FilterParamInfo[] = []; - /** Keys the host currently has selected. Read, never written. */ + /** Keys the host currently has selected. Read, never written - the host hands over a new Set + * on every toggle rather than mutating this one. */ @Input() selected = new Set(); /** @@ -76,8 +77,4 @@ export class TbIotHubFacetListComponent { onToggle(key: string): void { this.toggled.emit(key); } - - trackByKey(_index: number, option: FilterParamInfo): string { - return option.key; - } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts index 6326a52010..7378d45d60 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts @@ -3,36 +3,22 @@ import { Component, OnInit, OnDestroy, Input, Output, EventEmitter, ViewChild, ElementRef } from '@angular/core'; import { Router } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; -import { forkJoin, Subject, Subscription } from 'rxjs'; -import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; +import { forkJoin, of, Subject, Subscription } from 'rxjs'; +import { catchError, debounceTime, distinctUntilChanged } from 'rxjs/operators'; import { PageLink } from '@shared/models/page/page-link'; -import { Direction, SortOrder } from '@shared/models/page/sort-order'; +import { SortOrder } from '@shared/models/page/sort-order'; import { MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; -import { FilterParamInfo, ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; +import { + CROSS_TYPE_ITEM_TYPES, + FilterParamInfo, + IOT_HUB_SORT_OPTIONS, + ItemType, + itemTypeTranslations +} from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { IotHubActionsService } from './iot-hub-actions.service'; -interface SortOption { - value: string; - label: string; - direction: Direction; -} - -/** Sort property served by relevance ranking. With no text the backend substitutes the - * install count, so it is a safe default in both states. */ -const RELEVANCE = 'relevance'; - -/** - * Item types the Type facet offers, in the order every other cross-type surface uses (the hero - * popup's sections, the site's). Fixed rather than sorted by count: the counts move with the - * catalogue and a facet whose options reshuffle under the pointer is hard to use. - */ -const FACET_ITEM_TYPES: ItemType[] = [ - ItemType.DEVICE, ItemType.SOLUTION_TEMPLATE, ItemType.WIDGET, - ItemType.CALCULATED_FIELD, ItemType.ALARM_RULE, ItemType.RULE_CHAIN -]; - /** * Rows a page holds, as a multiple of the column count, so a page always ends on a complete row. * The floor keeps a one- or two-column phone layout from falling to three cards a page. @@ -84,7 +70,8 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { return [base, base * 2, base * 4]; } - /** Filter panel state. Empty sets mean "no filter", which is what the query object expects. */ + // Filter panel state. Empty sets mean "no filter", which is what the query object expects. + /** Narrow widths only: the facet panel is a block above the results, not a sidebar. */ filtersOpen = false; typeOptions: FilterParamInfo[] = []; @@ -94,18 +81,7 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { activeCategories = new Set(); activeUseCases = new Set(); - sortOptions: SortOption[] = [ - { value: RELEVANCE, label: 'iot-hub.sort-most-relevant', direction: Direction.DESC }, - { value: 'totalInstallCount', label: 'iot-hub.sort-most-installed', direction: Direction.DESC }, - { value: 'publishedTime', label: 'iot-hub.sort-newest', direction: Direction.DESC }, - { value: 'name', label: 'iot-hub.sort-name', direction: Direction.ASC } - ]; - /** - * Relevance is the default in BOTH states, which is why nothing here switches on whether the - * search field has text. With text it ranks the answer; without it the backend substitutes the - * install count, so a user who never opens this menu sees the order they always saw while - * browsing and the best matches once they type. - */ + readonly sortOptions = IOT_HUB_SORT_OPTIONS; selectedSortIndex = 0; installedWidgets: IotHubInstalledItem[] = []; @@ -156,15 +132,18 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { }; onTypeToggle(key: string): void { - this.toggle(this.activeTypes, key); + this.activeTypes = this.toggled(this.activeTypes, key); + this.reloadFromFirstPage(); } onCategoryToggle(key: string): void { - this.toggle(this.activeCategories, key); + this.activeCategories = this.toggled(this.activeCategories, key); + this.reloadFromFirstPage(); } onUseCaseToggle(key: string): void { - this.toggle(this.activeUseCases, key); + this.activeUseCases = this.toggled(this.activeUseCases, key); + this.reloadFromFirstPage(); } get activeFilterCount(): number { @@ -175,19 +154,26 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { if (this.activeFilterCount === 0) { return; } - this.activeTypes.clear(); - this.activeCategories.clear(); - this.activeUseCases.clear(); - this.pageIndex = 0; - this.loadResults(); + this.activeTypes = new Set(); + this.activeCategories = new Set(); + this.activeUseCases = new Set(); + this.reloadFromFirstPage(); } - private toggle(set: Set, key: string): void { - if (set.has(key)) { - set.delete(key); - } else { - set.add(key); + /** + * Returns a new Set rather than mutating the one passed in: TbIotHubFacetListComponent holds + * this very instance as an @Input, and a mutation it cannot see is a trap for the first person + * to put that component on OnPush. + */ + private toggled(set: Set, key: string): Set { + const next = new Set(set); + if (!next.delete(key)) { + next.add(key); } + return next; + } + + private reloadFromFirstPage(): void { this.pageIndex = 0; this.loadResults(); } @@ -197,27 +183,30 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { * answers are merged here, the way the site merges the same six at build time. Counts are * deliberately not rendered: filterInfo takes no text query, so beside a searched result they * would be the whole catalogue's numbers pretending to describe this answer. + * + * Each request carries its own catchError so one type's failure costs that type's categories + * and use cases, not the panel: a bare forkJoin is all-or-nothing, and the Type facet needs no + * server data at all. */ private loadFilterInfo(): void { const config = { ignoreLoading: true, ignoreErrors: true }; forkJoin( - FACET_ITEM_TYPES.map(type => this.iotHubApiService.getFilterInfo(type, config)) + CROSS_TYPE_ITEM_TYPES.map(type => + this.iotHubApiService.getFilterInfo(type, config).pipe(catchError(() => of(null))) + ) ).subscribe({ next: infos => { // Every item type is offered, not only the ones filterInfo reports facets for: the // endpoint describes a type's categories and vendors, never how many items it has, and // a type whose items carry no categories would vanish from its own facet. - this.typeOptions = FACET_ITEM_TYPES.map(type => ({ + this.typeOptions = CROSS_TYPE_ITEM_TYPES.map(type => ({ key: type as string, totalItems: 0, totalInstallCount: 0 })); this.categoryOptions = this.mergeFacet(infos.map(i => i?.categories)); this.useCaseOptions = this.mergeFacet(infos.map(i => i?.useCases)); - }, - // A facet panel that failed to load is an empty panel, never a broken page: the grid - // beside it answers the query perfectly well without it. - error: () => {} + } }); } @@ -348,11 +337,6 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { this.loadResults(); } - // Type helpers - - - - // Installed items getInstalledItem(item: MpItemVersionView): IotHubInstalledItem | undefined { switch (item.type) { diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index ebd8485dd7..577ed03a08 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -15,7 +15,13 @@ import { MpItemVersionSection, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; -import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; +import { + CROSS_TYPE_ITEM_TYPES, + getItemTypeIcon, + ItemType, + itemTypeTranslations, + RELEVANCE_SORT_PROPERTY +} from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { TranslateService } from '@ngx-translate/core'; @@ -40,24 +46,10 @@ interface HeroTypeConfig { interface SearchResultGroup { type: ItemType; items: MpItemVersionView[]; - /** Rows of this type behind the answer, from the section's total. */ - total: number; - /** total - items.length, floored at 0. Zero means the header shows no "+N more". */ + /** How many rows of this type the header offers beyond the ones shown. Zero renders no "+N more". */ remaining: number; } -/** The types this popup lays out. A section of anything else is dropped rather than rendered - * without a label - the platform publishes no dashboards. Order comes from the server. */ -const SEARCH_GROUP_TYPES: ItemType[] = [ - ItemType.DEVICE, ItemType.SOLUTION_TEMPLATE, ItemType.WIDGET, - ItemType.CALCULATED_FIELD, ItemType.ALARM_RULE, ItemType.RULE_CHAIN -]; - -/** Relevance ranking. Sent only while the field has text: with an empty field the backend - * substitutes the install count anyway, and this component knows the field state, so it sends - * the honest value rather than leaning on that safety net. */ -const RELEVANCE = 'relevance'; - @Component({ selector: 'tb-iot-hub-home', standalone: false, @@ -172,10 +164,10 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { switchMap(text => { this.searchLoading = true; const trimmed = text.trim(); - // Two states, one panel: popularity answers "what is worth looking at" with an empty - // field, relevance answers "what did I ask for" once there is one. - const sortProperty = trimmed ? RELEVANCE : 'totalInstallCount'; - const query = new MpItemVersionGroupedQuery({}, trimmed, sortProperty); + // Relevance in both states, the same value every other IoT Hub surface sends: with an + // empty field the backend substitutes the install count, so this panel opens on + // popularity without having to say so. See TBIOH-33 for the decision. + const query = new MpItemVersionGroupedQuery({}, trimmed, RELEVANCE_SORT_PROPERTY); // A failed request must not end the subscription: the interceptor reports it, and the // panel goes back to an empty answer the next keystroke can replace. return this.iotHubApiService.getPublishedVersionsGrouped(query, { ignoreLoading: true }).pipe( @@ -556,17 +548,24 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { /** * Reads the sections the server built: they arrive capped and in the order to render them, so - * this only drops the types this panel has no layout for and works out each header's "+N more". + * this only drops the types this panel has no layout for - the platform publishes no dashboards + * - and works out each header's "+N more". + * + * `items` is defaulted because the response is an unvalidated cast of a new endpoint, and a + * throw here lands in a subscribe callback, where it would leave the panel on its spinner + * rather than reaching the catchError upstream. */ private toResultGroups(sections: MpItemVersionSection[]): SearchResultGroup[] { return sections - .filter(section => SEARCH_GROUP_TYPES.includes(section.itemType)) - .map(section => ({ - type: section.itemType, - items: section.items, - total: section.total, - remaining: Math.max(0, section.total - section.items.length) - })); + .filter(section => CROSS_TYPE_ITEM_TYPES.includes(section.itemType)) + .map(section => { + const items = section.items ?? []; + return { + type: section.itemType, + items, + remaining: Math.max(0, section.total - items.length) + }; + }); } } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts index abdddc1734..68ca5c0158 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts @@ -1,5 +1,7 @@ // SPDX-FileCopyrightText: Copyright The Thingsboard Authors // SPDX-License-Identifier: Apache-2.0 +import { Direction } from '@shared/models/page/sort-order'; + export enum ItemType { WIDGET = 'WIDGET', DASHBOARD = 'DASHBOARD', @@ -54,6 +56,48 @@ export const CREATOR_VISIBLE_ITEM_TYPES: ItemType[] = [ ItemType.RULE_CHAIN, ]; +/** + * Item types a surface that mixes them lays out, in the order they are shown. Distinct from + * CREATOR_VISIBLE_ITEM_TYPES, which is the same six as a membership test and carries the type + * tabs' own order: here DEVICE leads, matching the hero popup's sections and the website. + */ +export const CROSS_TYPE_ITEM_TYPES: ItemType[] = [ + ItemType.DEVICE, + ItemType.SOLUTION_TEMPLATE, + ItemType.WIDGET, + ItemType.CALCULATED_FIELD, + ItemType.ALARM_RULE, + ItemType.RULE_CHAIN, +]; + +/** Sort property served by relevance ranking. */ +export const RELEVANCE_SORT_PROPERTY = 'relevance'; + +export interface SortOption { + value: string; + label: string; + direction: Direction; +} + +/** + * The sort menu every IoT Hub surface carrying a search field offers, and the order it offers + * them in: the first entry is the default each surface opens on. + * + * Relevance is that default in both states. With text it ranks the answer; with none the backend + * substitutes the install count, so a surface opens on the order it opened on before and nothing + * switches on the field state. Agreed with the product owner and recorded on TBIOH-33, which + * supersedes that ticket's SCOPE-IN 2, SCOPE-IN 4 and AC-4. + * + * One list rather than one per surface: a new key must reach all of them, and the surface that + * missed it would keep a different default without failing. + */ +export const IOT_HUB_SORT_OPTIONS: SortOption[] = [ + { value: RELEVANCE_SORT_PROPERTY, label: 'iot-hub.sort-most-relevant', direction: Direction.DESC }, + { value: 'totalInstallCount', label: 'iot-hub.sort-most-installed', direction: Direction.DESC }, + { value: 'publishedTime', label: 'iot-hub.sort-newest', direction: Direction.DESC }, + { value: 'name', label: 'iot-hub.sort-name', direction: Direction.ASC } +]; + export interface FilterParamInfo { key: string; totalItems: number; From 2d72735070a4dca445ee832b1e58a9b5df37079b Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 16 Sep 2026 13:26:27 +0300 Subject: [PATCH 029/559] style(iot-hub): close the formatting left behind by the layout and grouping changes The results container kept its old indentation after being wrapped in .tb-search-layout, so it read as a sibling of the wrapper and the two closing tags lined up at the same depth while closing different elements. The popup's @for sat in an ng-container carrying no directive. Removing the -compact rule left a blank line before the closing brace in four places. --- .../iot-hub/iot-hub-search.component.html | 80 +++++++++---------- .../iot-hub/iot-hub-search.component.scss | 4 - .../pages/iot-hub/iot-hub-home.component.html | 48 ++++++----- 3 files changed, 63 insertions(+), 69 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.html index 5963b7c003..ca98ed1c0c 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.html @@ -142,48 +142,48 @@ } -
- - @if (hasError) { -
-
-

{{ 'iot-hub.network-server-unavailable' | translate }}

-

{{ 'iot-hub.network-server-unavailable-text' | translate }}

- -
- } +
+ + @if (hasError) { +
+
+

{{ 'iot-hub.network-server-unavailable' | translate }}

+

{{ 'iot-hub.network-server-unavailable-text' | translate }}

+ +
+ } - - @if (!hasError && totalElements === 0 && searchText?.trim()) { -
-
-

{{ 'iot-hub.no-items-found' | translate }}

-

{{ 'iot-hub.try-adjusting-search' | translate }}

-
- } + + @if (!hasError && totalElements === 0 && searchText?.trim()) { +
+
+

{{ 'iot-hub.no-items-found' | translate }}

+

{{ 'iot-hub.try-adjusting-search' | translate }}

+
+ } - - @if (results.length > 0) { -
- @for (item of results; track item.id) { - - - } -
- } -
+ + @if (results.length > 0) { +
+ @for (item of results; track item.id) { + + + } +
+ } +
diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss index 2556d03f3d..32c7a51458 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss @@ -279,21 +279,18 @@ @media #{$mat-gt-xxl} { .tb-search-card-grid { grid-template-columns: repeat(6, 1fr); - } } @media #{$mat-lt-xl} { .tb-search-card-grid { grid-template-columns: repeat(4, 1fr); - } } @media #{$mat-lt-xmd} { .tb-search-card-grid { grid-template-columns: repeat(3, 1fr); - } } @@ -316,7 +313,6 @@ .tb-search-card-grid { grid-template-columns: repeat(2, 1fr); - } } diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html index 07905a8d21..c4d720976b 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html @@ -97,32 +97,30 @@ } - - @for (item of group.items; track item.id) { - - @if (isCompactType(item.type)) { -
- {{ getCompactIcon(item) }} -
- } @else { -
- @if (getItemImage(item); as imgUrl) { - - } @else { - {{ getItemTypeIcon(item.type) }} - } -
- } -
- {{ item.name }} - - person - {{ item.creatorDisplayName }} - + @for (item of group.items; track item.id) { + + @if (isCompactType(item.type)) { +
+ {{ getCompactIcon(item) }}
-
- } - + } @else { +
+ @if (getItemImage(item); as imgUrl) { + + } @else { + {{ getItemTypeIcon(item.type) }} + } +
+ } +
+ {{ item.name }} + + person + {{ item.creatorDisplayName }} + +
+ + } } } From edf81221ad1bd23b70eb150b2ceaafe1fa04dc92 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 16 Sep 2026 13:27:19 +0300 Subject: [PATCH 030/559] fix(iot-hub): encode creatorId and type into the query string These were the only two of the thirteen fields interpolated raw, and creatorId is not an internal value: iot-hub-browse and the creator profile both read it straight off the route with nothing between the URL and the request, so a crafted id could close the parameter and append its own. The UUID shape is a convention here, not something this code enforces. --- .../src/app/shared/models/iot-hub/iot-hub-version.models.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts index b194ab0371..a5afaea23c 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts @@ -156,7 +156,7 @@ export interface MpItemVersionQueryOptions { function filtersToQuery(o: MpItemVersionQueryOptions): string { let query = ''; if (o.type) { - query += `&type=${o.type}`; + query += `&type=${encodeURIComponent(o.type)}`; } if (o.types?.length) { query += o.types.map(t => `&type=${encodeURIComponent(t)}`).join(''); @@ -165,7 +165,7 @@ function filtersToQuery(o: MpItemVersionQueryOptions): string { query += `&peOnly=${o.peOnly}`; } if (o.creatorId) { - query += `&creatorId=${o.creatorId}`; + query += `&creatorId=${encodeURIComponent(o.creatorId)}`; } if (o.categories?.length) { query += o.categories.map(c => `&categories=${encodeURIComponent(c)}`).join(''); From dab4ec72f9df0089c6651b29e794c766e5e601e6 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 16 Sep 2026 14:38:38 +0300 Subject: [PATCH 031/559] refactor(iot-hub): drop the creatorId query parameter nothing produces The type page adopted `?creatorId=` from the URL whenever its input was unbound. Nothing in the platform builds such a URL: the only navigations carrying query parameters send `search` and `itemType`, and the creator profile scopes its list by binding the component's input rather than by navigating. The branch was reachable only by typing the parameter in by hand, and there it rescoped a Hub-wide type page with no visible sign of why the counts had changed. Both live callers - the creator profile and the add-item dialog - bind the input, which the removed code deferred to in any case. --- .../home/components/iot-hub/iot-hub-browse.component.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts index 63f561ddad..2be0408826 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts @@ -171,12 +171,6 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy if (params['search']) { this.textSearch = params['search']; } - // A search section header on a creator profile lands here scoped to that creator. The - // bound input wins: an embedded host (the add-item dialog) sets its own scope, and must - // not pick one up from whatever URL happens to be open behind the dialog. - if (!this.creatorId && !this.embedded && params['creatorId']) { - this.creatorId = params['creatorId']; - } if (this.fixedSubType) { const subtypes = this.getActiveSubtypes(); if (subtypes) { From 6aae7899bf9c8a55bef1904b4a9be3db74153838 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 16 Sep 2026 14:38:38 +0300 Subject: [PATCH 032/559] docs(iot-hub): cite what a reader can find Two comments explaining why relevance is the default in both states pointed at an internal ticket, one of them at three numbered sections of it that are being rewritten precisely because the code no longer matches them. Neither pointer is reachable from this repository, and the numbering is due to move. The reasoning stays inline, with the accepted cost named: the menu reads "Most relevant" over an install-ordered list until the user types. --- .../modules/home/pages/iot-hub/iot-hub-home.component.ts | 4 ++-- .../src/app/shared/models/iot-hub/iot-hub-item.models.ts | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index 577ed03a08..91511f533d 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -165,8 +165,8 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { this.searchLoading = true; const trimmed = text.trim(); // Relevance in both states, the same value every other IoT Hub surface sends: with an - // empty field the backend substitutes the install count, so this panel opens on - // popularity without having to say so. See TBIOH-33 for the decision. + // empty field the backend serves the install count under this key, so the panel opens on + // popularity without this component having to know it. const query = new MpItemVersionGroupedQuery({}, trimmed, RELEVANCE_SORT_PROPERTY); // A failed request must not end the subscription: the interceptor reports it, and the // panel goes back to an empty answer the next keystroke can replace. diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts index 68ca5c0158..8fbe84440b 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts @@ -83,10 +83,11 @@ export interface SortOption { * The sort menu every IoT Hub surface carrying a search field offers, and the order it offers * them in: the first entry is the default each surface opens on. * - * Relevance is that default in both states. With text it ranks the answer; with none the backend - * substitutes the install count, so a surface opens on the order it opened on before and nothing - * switches on the field state. Agreed with the product owner and recorded on TBIOH-33, which - * supersedes that ticket's SCOPE-IN 2, SCOPE-IN 4 and AC-4. + * Relevance is that default with or without text. With text it ranks the answer; with none the + * backend serves the install count under the same key, so a surface opens on the order it opened + * on before and nothing here switches on the field state. The cost is a menu reading "Most + * relevant" over an install-ordered list until the user types; the alternative - flipping the + * selector once text appears - moves a control the user did not touch and reorders nothing. * * One list rather than one per surface: a new key must reach all of them, and the surface that * missed it would keep a different default without failing. From 256c575b42519b24b05f9c14751f4f6b11f02865 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 16 Sep 2026 14:46:00 +0300 Subject: [PATCH 033/559] warn that updating a solution template recreates everything it installed Updating a solution template deletes and reinstalls every entity it created, and unlike the other item types it is not stopped by the modified-entity check, so a tenant's own edits to those dashboards, devices and rule chains are lost without warning. The dialog showed the generic "replace the current version" wording, which does not suggest anything is destroyed. A second, smaller mismatch: a listing renamed between releases shows one name in the installed-items table and another in the dialog that table opens, because the dialog took its title from the published version while the table reads the tracking row. - show a dedicated description for SOLUTION_TEMPLATE that names what is deleted and recreated, and says local changes are lost - take the item details title from the tracking row while the dialog shows exactly the installed version; any other displayed version keeps its own name --- .../iot-hub/iot-hub-item-detail-dialog.component.html | 2 +- .../iot-hub/iot-hub-item-detail-dialog.component.ts | 11 +++++++++++ .../iot-hub/iot-hub-update-dialog.component.html | 4 ++-- .../iot-hub/iot-hub-update-dialog.component.ts | 11 +++++++++++ ui-ngx/src/assets/locale/locale.constant-en_US.json | 1 + 5 files changed, 26 insertions(+), 3 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html index 28e7e74e6d..83f8b69dc4 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html @@ -13,7 +13,7 @@
}
- {{ item.name }} + {{ itemTitle }}
{{ getTypeIcon() }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts index d1c6f4f194..12a8900610 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts @@ -172,6 +172,17 @@ export class TbIotHubItemDetailDialogComponent extends DialogComponent{{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }} -

{{ 'iot-hub.update-desc' | translate }}

+

{{ updateDescKey | translate }}

} @case ('updating') {

{{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }}

-

{{ 'iot-hub.update-desc' | translate }}

+

{{ updateDescKey | translate }}

} @case ('success') {

{{ 'iot-hub.update-success-title' | translate }}

diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index ec4a48cd2d..e5472c45a1 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -59,6 +59,17 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent Date: Wed, 16 Sep 2026 15:22:10 +0300 Subject: [PATCH 034/559] fix(iot-hub): let the keyboard reach every row of the search popup The popup keeps focus in the input and walks its rows with an active-descendant key manager, which only knows about options. A section header written as a span with role="button" and tabindex="0" is therefore unreachable: the arrow keys skip it, its keyup.enter can never fire because it can never hold focus, and Tab does not help since leaving the input closes the panel. That header is the only way from the popup into a type page, so without a mouse there was no way in at all. The footer had the same shape, though its action is also on the input's own Enter. The header also sat inside the group's label element, which is presentational, so the section's name came out as the header's whole text - "Devices +12 more" - wrapping a control nobody could operate. Header and footer are now options like every other row. They take part in arrow navigation, they read as part of the list, and the group wrapper goes away with the label it was distorting. Rows also acted on (click) alone. Pressing Enter on a highlighted result runs _selectViaInteraction, which is not a DOM click, so the card never opened from the keyboard. Every row now acts on (onSelectionChange) guarded by isUserInput, one path for pointer and keyboard both. Enter in the field needed a guard to go with that: the trigger acts on keydown and this handler runs on keyup, which the trigger's preventDefault does not stop, so one Enter would have opened a result and then navigated away from it. --- .../pages/iot-hub/iot-hub-home.component.html | 76 +++++++++---------- .../pages/iot-hub/iot-hub-home.component.scss | 66 +++++++--------- .../pages/iot-hub/iot-hub-home.component.ts | 9 +++ 3 files changed, 75 insertions(+), 76 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html index c4d720976b..b2be21ac32 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html @@ -85,53 +85,51 @@ } @else { @for (group of searchResultGroups; track group.type) { - - - {{ getSearchGroupLabel(group.type) }} - @if (group.remaining > 0) { - - {{ 'iot-hub.section-more' | translate:{ count: group.remaining } }} - chevron_right - - } - - @for (item of group.items; track item.id) { - - @if (isCompactType(item.type)) { -
- {{ getCompactIcon(item) }} -
- } @else { -
- @if (getItemImage(item); as imgUrl) { - - } @else { - {{ getItemTypeIcon(item.type) }} - } -
- } -
- {{ item.name }} - - person - {{ item.creatorDisplayName }} - -
-
+ + {{ getSearchGroupLabel(group.type) }} + @if (group.remaining > 0) { + + {{ 'iot-hub.section-more' | translate:{ count: group.remaining } }} + chevron_right + } -
+ + @for (item of group.items; track item.id) { + + @if (isCompactType(item.type)) { +
+ {{ getCompactIcon(item) }} +
+ } @else { +
+ @if (getItemImage(item); as imgUrl) { + + } @else { + {{ getItemTypeIcon(item.type) }} + } +
+ } +
+ {{ item.name }} + + person + {{ item.creatorDisplayName }} + +
+
+ } } } - +
diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss index d8934e82ff..98b4ab0389 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss @@ -220,45 +220,32 @@ 0 114px 46px 0 rgba(0, 0, 0, 0.01), 0 178px 50px 0 rgba(0, 0, 0, 0); - // Section group — 12px gap between groups - .mat-mdc-optgroup + .mat-mdc-optgroup .mat-mdc-optgroup-label { + // Section header — an option like every other row, not a button beside them, so the arrow keys + // reach it and a screen reader reads it in the list. It IS the way into the type page: title + // left, how much is not shown plus a chevron right. There is deliberately no per-section + // "see all" row under the items; six of those on one panel is what this variant avoids. + // Design: 14px Medium, 0.25 tracking, black-tertiary, 4px V / 16px H, 12px above each section. + .mat-mdc-option.tb-search-popup-group-header { + padding: 4px 16px; + min-height: 28px; margin-top: 12px; + + &:first-child { + margin-top: 0; + } + + .mdc-list-item__primary-text { + justify-content: space-between; + } } - // Section title — Design: 14px Medium, 0.25 tracking, black-tertiary, 4px V / 16px H - .mat-mdc-optgroup .mat-mdc-optgroup-label { - padding: 4px 16px; - min-height: 28px; + .tb-search-popup-group-label { font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: 0.25px; color: rgba(0, 0, 0, 0.54); white-space: nowrap; - - .mdc-list-item__primary-text { - font-size: 14px; - font-weight: 500; - line-height: 20px; - letter-spacing: 0.25px; - color: rgba(0, 0, 0, 0.54); - // The header spans the panel so the count can sit against the right edge. Material's own - // label span is only as wide as its text. - width: 100%; - } - } - - // Section header — the label IS the link into the type page: title left, how much is not shown - // plus a chevron right. There is deliberately no per-section "see all" row under the items; - // six of those on one panel is what this variant was chosen to avoid. - .tb-search-popup-group-header { - display: flex; - align-items: center; - justify-content: space-between; - gap: 16px; - width: 100%; - cursor: pointer; - outline: none; } .tb-search-popup-group-more { @@ -281,7 +268,7 @@ } // Item row — Design: 8px V / 16px H, 16px gap, centered - .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { + .mat-mdc-option:not(.mat-mdc-option-multiple) { padding: 8px 16px; min-height: auto; height: auto; @@ -426,26 +413,31 @@ } // Footer — Design: 40px h, 8px V / 16px H, 1px top border, tb-primary text - .tb-search-popup-footer { + .mat-mdc-option.tb-search-popup-footer { position: sticky; bottom: 0; + z-index: 1; border-top: 1px solid rgba(0, 0, 0, 0.12); height: 40px; min-height: 40px; padding: 8px 16px; - display: flex; - align-items: center; - justify-content: flex-start; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: 0.25px; color: $tb-primary-color; - cursor: pointer; background: white; white-space: nowrap; - &:hover { + .mdc-list-item__primary-text { + justify-content: flex-start; + font: inherit; + letter-spacing: inherit; + color: inherit; + } + + &:hover:not(.mdc-list-item--disabled), + &.mat-mdc-option-active:not(.mdc-list-item--disabled) { background: #f5f5f5; } } diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index 91511f533d..8e6038ef96 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -239,7 +239,16 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { setTimeout(() => this.searchAutoTrigger?.openPanel()); } + /** + * Enter in the field opens the search page - unless the panel has an option highlighted, which + * the trigger has already acted on during keydown. This runs on keyup, which preventDefault on + * the keydown does not stop, so without the guard one Enter would both open a result and + * navigate away from it. + */ onSearch(): void { + if (this.searchAutoTrigger?.activeOption) { + return; + } this.seeAllResults(); } From 14e3025a24842b66d4df2c67fec1faace5e6a4a1 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Thu, 17 Sep 2026 13:15:27 +0300 Subject: [PATCH 035/559] fix(iot-hub): make the popup's Enter guard and row padding hold on their own Three things from the re-review, two of them introduced by the commit that turned the popup's header and footer into options. **The Enter guard never fired.** It asked the autocomplete trigger for its active option during keyup, but the trigger clears that inside the same keydown - it calls _selectViaInteraction and then _resetActiveItem, which with no autoActiveFirstOption sets the active index to -1. So the guard always fell through, and one Enter on a highlighted row opened it and then navigated away from it. That is worse than the behaviour before, where the click handler simply never ran. The row that acts now records it through rowSelectedByUser, which does not depend on the order the two handlers run in, and typing clears the flag since a pointer selection leaves no keyup behind it. **The header's own padding was overridden.** Under one ancestor chain, `.mat-mdc-option.tb-search-popup-group-header` and `.mat-mdc-option:not(.mat-mdc-option-multiple)` both weigh (0,4,0), and the second was declared later, so every section header shipped 8px taller than the 4px the comment above it documents - with up to six of them in a 424px panel. The catch-all could not match the old span header; it matches an option. Each row kind now carries its own class and the shared parts sit in one rule, so nothing here rests on source order. The footer had the same collision and only won by being declared last. **The hover-scrollbar block is a mixin.** This branch added a second byte-identical copy of it. Both now call tb-iot-hub-hover-scrollbar from the partial they already import. The mixin records what is deliberately NOT settled here: whether these panels should keep a thumb that is invisible until hover, and whether to add the standardised scrollbar-width / scrollbar-color that Firefox reads, is a question for the IoT Hub filter UI as a whole - iot-hub-browse and dashboard-widget-select carry the same treatment and predate this branch. --- .../components/iot-hub/_iot-hub-common.scss | 36 +++++++++++++++++ .../iot-hub/iot-hub-facet-list.component.scss | 27 +------------ .../iot-hub/iot-hub-search.component.scss | 27 +------------ .../pages/iot-hub/iot-hub-home.component.html | 8 ++-- .../pages/iot-hub/iot-hub-home.component.scss | 40 +++++++++++-------- .../pages/iot-hub/iot-hub-home.component.ts | 31 +++++++++++--- 6 files changed, 91 insertions(+), 78 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/_iot-hub-common.scss b/ui-ngx/src/app/modules/home/components/iot-hub/_iot-hub-common.scss index d247f20112..96697ebe74 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/_iot-hub-common.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/_iot-hub-common.scss @@ -119,3 +119,39 @@ pointer-events: none; } } + +// Scroll area that shows its thumb only while the container is hovered — the filter panels' +// own treatment, kept here so the two that use it cannot drift apart. +// +// Not the app-wide one: theme.scss keeps its thumb permanently visible. Whether these panels +// should do the same, and whether to add the standardised scrollbar-width / scrollbar-color +// that Firefox reads, is a question for the IoT Hub filter UI as a whole rather than for one +// panel; iot-hub-browse and dashboard-widget-select carry copies of this same treatment. +@mixin tb-iot-hub-hover-scrollbar { + &::-webkit-scrollbar { + width: 6px; + } + + &::-webkit-scrollbar-track { + background-color: transparent; + } + + &::-webkit-scrollbar-thumb { + background-color: transparent; + border-radius: 3px; + } + + &:hover { + &::-webkit-scrollbar-track { + background-color: rgba(0, 0, 0, 0.04); + } + + &::-webkit-scrollbar-thumb { + background-color: rgba(0, 0, 0, 0.2); + + &:hover { + background-color: rgba(0, 0, 0, 0.35); + } + } + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.scss index e5fc43f803..4df80a68e1 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.scss @@ -45,32 +45,7 @@ overflow-y: auto; } - &::-webkit-scrollbar { - width: 6px; - } - - &::-webkit-scrollbar-track { - background-color: transparent; - } - - &::-webkit-scrollbar-thumb { - background-color: transparent; - border-radius: 3px; - } - - &:hover { - &::-webkit-scrollbar-track { - background-color: rgba(0, 0, 0, 0.04); - } - - &::-webkit-scrollbar-thumb { - background-color: rgba(0, 0, 0, 0.2); - - &:hover { - background-color: rgba(0, 0, 0, 0.35); - } - } - } + @include tb-iot-hub-hover-scrollbar; } .tb-iot-hub-facet-search { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss index 32c7a51458..3f946404ad 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.scss @@ -221,32 +221,7 @@ overflow-y: auto; padding-top: 20px; - &::-webkit-scrollbar { - width: 6px; - } - - &::-webkit-scrollbar-track { - background-color: transparent; - } - - &::-webkit-scrollbar-thumb { - background-color: transparent; - border-radius: 3px; - } - - &:hover { - &::-webkit-scrollbar-track { - background-color: rgba(0, 0, 0, 0.04); - } - - &::-webkit-scrollbar-thumb { - background-color: rgba(0, 0, 0, 0.2); - - &:hover { - background-color: rgba(0, 0, 0, 0.35); - } - } - } + @include tb-iot-hub-hover-scrollbar; } // The close button and heading belong to the narrow layout only. diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html index b2be21ac32..564f89ca46 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html @@ -86,7 +86,7 @@ } @else { @for (group of searchResultGroups; track group.type) { + (onSelectionChange)="rowSelectedByUser($event) && navigateToSection(group.type)"> {{ getSearchGroupLabel(group.type) }} @if (group.remaining > 0) { @@ -96,8 +96,8 @@ } @for (item of group.items; track item.id) { - + @if (isCompactType(item.type)) {
{{ getCompactIcon(item) }} @@ -123,7 +123,7 @@ } } + (onSelectionChange)="rowSelectedByUser($event) && seeAllResults()"> @if (searchText?.trim(); as query) { {{ 'iot-hub.see-results-for' | translate:{ search: query } }} } @else { diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss index 98b4ab0389..8a89ebae44 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss @@ -220,6 +220,27 @@ 0 114px 46px 0 rgba(0, 0, 0, 0.01), 0 178px 50px 0 rgba(0, 0, 0, 0); + // Every row of the panel shares the flex line and the highlight; the boxes differ per kind + // below. Each kind is selected by its own class rather than by leaning on source order, since + // .mat-mdc-option. and .mat-mdc-option:not(...) tie on specificity. + .mat-mdc-option { + .mdc-list-item__primary-text { + display: flex; + align-items: center; + gap: 16px; + width: 100%; + } + + &:hover:not(.mdc-list-item--disabled), + &.mat-mdc-option-active:not(.mdc-list-item--disabled) { + background: rgba(0, 0, 0, 0.04); + } + + .mat-icon, tb-icon { + margin-right: 0; + } + } + // Section header — an option like every other row, not a button beside them, so the arrow keys // reach it and a screen reader reads it in the list. It IS the way into the type page: title // left, how much is not shown plus a chevron right. There is deliberately no per-section @@ -268,26 +289,10 @@ } // Item row — Design: 8px V / 16px H, 16px gap, centered - .mat-mdc-option:not(.mat-mdc-option-multiple) { + .mat-mdc-option.tb-search-popup-item { padding: 8px 16px; min-height: auto; height: auto; - - &:hover:not(.mdc-list-item--disabled), - &.mat-mdc-option-active:not(.mdc-list-item--disabled) { - background: rgba(0, 0, 0, 0.04); - } - - .mat-icon, tb-icon { - margin-right: 0; - } - - .mdc-list-item__primary-text { - display: flex; - align-items: center; - gap: 16px; - width: 100%; - } } // Thumbnail — Design: 99px x 56px, 4px radius, 1px border, 4% bg @@ -392,6 +397,7 @@ .tb-search-popup-no-results { pointer-events: none; opacity: 1 !important; + padding: 8px 16px; } .tb-search-popup-no-results-content { diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index 8e6038ef96..4efb672e33 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -3,6 +3,7 @@ import { Component, OnInit, OnDestroy, ViewChild, ElementRef } from '@angular/core'; import { Router } from '@angular/router'; import { MatAutocompleteTrigger } from '@angular/material/autocomplete'; +import { MatOptionSelectionChange } from '@angular/material/core'; import { BreakpointObserver } from '@angular/cdk/layout'; import { forkJoin, of, Subject, Subscription } from 'rxjs'; import { catchError, debounceTime, distinctUntilChanged, switchMap } from 'rxjs/operators'; @@ -66,6 +67,7 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { searchLoading = false; @ViewChild(MatAutocompleteTrigger) searchAutoTrigger: MatAutocompleteTrigger; @ViewChild('searchInput', {read: ElementRef}) searchInputRef: ElementRef; + private enterHandledByRow = false; private searchSubject = new Subject(); private searchSubscription: Subscription; @@ -217,6 +219,7 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { } onSearchInput(): void { + this.enterHandledByRow = false; this.searchLoading = true; this.searchSubject.next(this.searchText || ''); } @@ -240,13 +243,31 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { } /** - * Enter in the field opens the search page - unless the panel has an option highlighted, which - * the trigger has already acted on during keydown. This runs on keyup, which preventDefault on - * the keydown does not stop, so without the guard one Enter would both open a result and - * navigate away from it. + * Gate on every row's selection: false for the panel's own bookkeeping, true when the user + * picked the row - and then it records that this keystroke has been dealt with. + * + * One Enter reaches two handlers. The autocomplete trigger acts on keydown, the field's own + * handler on keyup, and preventDefault on the first does not stop the second. The trigger's + * activeOption cannot tell them apart either: it clears it inside that same keydown, so by + * keyup it reads empty whether or not a row acted. The row that acted says so instead, which + * does not depend on the order the two handlers run in. + */ + rowSelectedByUser(event: MatOptionSelectionChange): boolean { + if (!event.isUserInput) { + return false; + } + this.enterHandledByRow = true; + return true; + } + + /** + * Enter in the field opens the search page, unless a row has just acted on this same press. + * The flag is also cleared on input, since a pointer selection sets it with no keyup to follow + * and would otherwise swallow the next Enter. */ onSearch(): void { - if (this.searchAutoTrigger?.activeOption) { + if (this.enterHandledByRow) { + this.enterHandledByRow = false; return; } this.seeAllResults(); From c410558dcaa7ef4a793ad7ee11c2c1087cb2e366 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Thu, 17 Sep 2026 15:29:46 +0300 Subject: [PATCH 036/559] fix(iot-hub): arm the popup's Enter flag only where a keyup is coming The flag was set by any user selection, but only the keyboard leaves a second half to deal with: the trigger acts on keydown, the field's own handler on keyup, and preventDefault on the first does not stop the second. A pointer selection is finished when it returns, so the flag stayed set with nothing to consume it, and the next onSearch took the early return - click a result, close the detail dialog, press the magnifier, and the search page did not open. The magnifier is the plain case because it calls onSearch with no keystroke at all; Enter in the field does the same once the dialog restores focus there. It is armed from the trigger's activeOption now, which is readable only at that moment - the trigger holds it while it calls _selectViaInteraction and clears it on the next line of its own handler - and which a pointer never sets. Focusing the field and clearing it drop the flag as well, which covers the one pointer selection that can still arm it: arrowing to a row and then clicking a different one. --- .../pages/iot-hub/iot-hub-home.component.ts | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index 4efb672e33..cf242faeb3 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -225,6 +225,7 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { } onSearchFocus(): void { + this.enterHandledByRow = false; if (!this.searchLoaded) { this.searchLoading = true; this.searchSubject.next(this.searchText || ''); @@ -236,6 +237,7 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { }; clearSearch(): void { + this.enterHandledByRow = false; this.searchText = ''; this.searchSubject.next(''); this.searchInputRef?.nativeElement?.focus(); @@ -244,26 +246,30 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { /** * Gate on every row's selection: false for the panel's own bookkeeping, true when the user - * picked the row - and then it records that this keystroke has been dealt with. + * picked the row - and then it records whether a keyup is still coming for it. * * One Enter reaches two handlers. The autocomplete trigger acts on keydown, the field's own - * handler on keyup, and preventDefault on the first does not stop the second. The trigger's - * activeOption cannot tell them apart either: it clears it inside that same keydown, so by - * keyup it reads empty whether or not a row acted. The row that acted says so instead, which - * does not depend on the order the two handlers run in. + * handler on keyup, and preventDefault on the first does not stop the second. Only the + * keyboard leaves that second half to deal with, so only the keyboard arms the flag: a pointer + * selection is finished when it returns, and a flag left standing there would swallow the next + * onSearch - which the magnifier button can raise with no keystroke at all. + * + * activeOption is what tells the two apart, and it is readable only here: the trigger holds it + * while it calls _selectViaInteraction and clears it on the next line of its own handler, so by + * keyup it reads empty either way. A pointer never sets it. */ rowSelectedByUser(event: MatOptionSelectionChange): boolean { if (!event.isUserInput) { return false; } - this.enterHandledByRow = true; + this.enterHandledByRow = !!this.searchAutoTrigger?.activeOption; return true; } /** * Enter in the field opens the search page, unless a row has just acted on this same press. - * The flag is also cleared on input, since a pointer selection sets it with no keyup to follow - * and would otherwise swallow the next Enter. + * Every path that re-enters the field clears the flag too, so nothing survives the keystroke + * it belongs to - including an arrow-then-click, the one selection that arms it by pointer. */ onSearch(): void { if (this.enterHandledByRow) { From 10ebfed73d2d179fd167db6647ae49d9550a40e1 Mon Sep 17 00:00:00 2001 From: Volodymyr Babak Date: Thu, 17 Sep 2026 18:52:53 +0300 Subject: [PATCH 037/559] fix: address review - same-node replacement, disconnect side effects, zombie removal Follow-ups from review of the activity-state guard: 1. The guard only covered a reconnect landing on a different node. If the replacement lands on this node while the stale callback is still tearing its own session down, isOwnedByAnotherNode sees this node's own service id and the stale active=false is written anyway - the exact state the guard exists to prevent. Add the local-session check, matching the eviction guard which already tests for a newer local session. 2. LAST_DISCONNECT_TIME and the DISCONNECT_EVENT push ran unconditionally. The timestamp would contradict the live session's lastConnectTime, and the event payload is {"active": false, ...} with SERVER_SCOPE in its metadata - exactly what a Save Attributes node persists, so a rule chain wiring Disconnect Event to Save Attributes writes active=false straight back and re-creates the dropped-event behaviour through the rule engine. Both now sit inside the same guard. scheduleDisconnectNotification stays outside: it re-verifies liveness itself before firing. 3. The eviction guard only checked cache ownership, so a replacement on this node would have its claim evicted by the stale callback. It now also requires that no live session holds the edge. 4. cleanupZombieSessions removed by edge id unconditionally after destroy(), which is not instantaneous. If the edge reconnected in that gap the live session was dropped from 'sessions' while remaining in 'sessionsById', so it was never torn down but every downlink lookup silently no-opped. Use a compare-and-remove. removeFunc becomes a Consumer, since its return value was already discarded. 5. Document that the guard narrows rather than closes the race - the attribute is last-writer-wins across nodes - and that the dead-owner fallback does not cover a node restarting under the same service id. Tests: cover the same-node replacement, the DISCONNECT_EVENT suppression and its positive counterpart, and pin the onEdgeConnect ownership publish order with an InOrder assertion, which nothing held before. The rule-engine stubs in the suppression tests are lenient on purpose: without them the push could never fire and the never() assertions would pass vacuously. --- .../service/edge/rpc/EdgeGrpcService.java | 45 ++++--- .../service/edge/rpc/EdgeGrpcServiceTest.java | 115 ++++++++++++++++++ 2 files changed, 144 insertions(+), 16 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java index 0c9a4fa21d..e650bc5f42 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java @@ -76,7 +76,6 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import java.util.function.Consumer; -import java.util.function.Function; import static org.thingsboard.server.service.state.DefaultDeviceStateService.ACTIVITY_STATE; import static org.thingsboard.server.service.state.DefaultDeviceStateService.LAST_CONNECT_TIME; @@ -545,16 +544,22 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i destroySession(toRemove); sessionsById.remove(sessionId); TenantId tenantId = toRemove.getEdge().getTenantId(); - // A newer session on another node may have already claimed this edge and set active=true. - // Clearing the flag here would leave the edge marked inactive while it is in fact connected, - // which silently drops every downlink event that is not queued for offline edges. - // When ownership is unknown (no cache entry) fall through and persist the inactive state. - if (!isOwnedByAnotherNode(edgeId)) { + // The edge may already have been claimed by a newer session - on this node (a replacement that + // landed while this stale callback was tearing its own session down) or on another live node. + // Either way the edge is connected, so none of the disconnect side effects apply: + // - clearing the flag makes saveEdgeEvent drop assignment events until a full sync; + // - a newer lastDisconnectTime would contradict the live session's lastConnectTime; + // - the DISCONNECT_EVENT payload is {"active": false, ...} with SERVER_SCOPE in the metadata, + // so a rule chain wiring Disconnect Event -> Save Attributes writes active=false straight + // back, re-creating the dropped-event behaviour through the rule engine. + // Ownership being unknown (no cache entry) still counts as disconnected, so a genuinely offline + // edge is always marked inactive. + if (!sessions.containsKey(edgeId) && !isOwnedByAnotherNode(edgeId)) { save(tenantId, edgeId, ACTIVITY_STATE, false); + long lastDisconnectTs = System.currentTimeMillis(); + save(tenantId, edgeId, LAST_DISCONNECT_TIME, lastDisconnectTs); + pushRuleEngineMessage(toRemove.getEdge().getTenantId(), edge, lastDisconnectTs, TbMsgType.DISCONNECT_EVENT); } - long lastDisconnectTs = System.currentTimeMillis(); - save(tenantId, edgeId, LAST_DISCONNECT_TIME, lastDisconnectTs); - pushRuleEngineMessage(toRemove.getEdge().getTenantId(), edge, lastDisconnectTs, TbMsgType.DISCONNECT_EVENT); cancelScheduleEdgeEventsCheck(edgeId); } else { log.info("[{}] edge session [{}] is not current anymore. Attempting to destroy it by sessionId.", edgeId, sessionId); @@ -570,10 +575,10 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i log.debug("[{}] No session found by sessionId [{}] to destroy", edgeId, sessionId); } } - // Only evict if the cache still points at this node. If the edge already reconnected to another - // TB-Core node, that node has overwritten the entry and owns it - evicting here would wipe the live - // owner's claim and defeat the activity-state guard above. - if (isOwnedByThisNode(edgeId)) { + // Only evict if no live session holds this edge on this node any more and the cache still points + // here. If the edge already reconnected - to this node or to another one - that session owns the + // entry, and evicting it would wipe the live owner's claim and defeat the activity-state guard above. + if (!sessions.containsKey(edgeId) && isOwnedByThisNode(edgeId)) { edgeIdServiceIdCache.evict(edgeId); } } @@ -585,6 +590,11 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i // - entry naming a node that is no longer in the cluster: the edge sessions cache has no TTL by default // (CACHE_SPECS_EDGE_SESSIONS_TTL=0) and is only ever evicted by the owning node, so a node that died // without evicting would otherwise keep the edge marked active forever, with no reconciler to correct it. + // Note this covers a node that is gone, not one that restarted under the same service id - that claim + // still resolves as live, leaving the edge marked active until something reconnects. That errs towards + // queueing edge events rather than dropping them, which is the safe direction. + // This narrows the race rather than closing it: the attribute is plain last-writer-wins, and two nodes can + // still issue their async writes in an order this read cannot see. private boolean isOwnedByAnotherNode(EdgeId edgeId) { TbCacheValueWrapper wrapper = edgeIdServiceIdCache.get(edgeId); if (wrapper == null) { @@ -722,7 +732,10 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i private void cleanupZombieSessions() { try { - tryToDestroyZombieSessions(getZombieSessions(sessions.values()), s -> sessions.remove(s.getEdge().getId())); + // Compare-and-remove: destroy() above is not instantaneous, so the edge may have reconnected and + // put a live session under this id in the meantime. Removing it unconditionally would leave a + // connected edge with no entry in 'sessions', silently no-opping every downlink lookup. + tryToDestroyZombieSessions(getZombieSessions(sessions.values()), s -> sessions.remove(s.getEdge().getId(), s)); tryToDestroyZombieSessions(getZombieSessions(sessionsById.values()), s -> sessionsById.remove(s.getSessionId())); zombieSessions.removeIf(zombie -> { @@ -751,11 +764,11 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i return result; } - private void tryToDestroyZombieSessions(List sessionsToRemove, Function removeFunc) { + private void tryToDestroyZombieSessions(List sessionsToRemove, Consumer removeFunc) { for (EdgeGrpcSession toRemove : sessionsToRemove) { log.info("[{}] Destroying session for edge because edge is not connected", toRemove.getEdge().getId()); if (toRemove.destroy()) { - removeFunc.apply(toRemove); + removeFunc.accept(toRemove); } } } diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java index 7b71c65c9f..512e5cf283 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java @@ -19,6 +19,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.ArgumentMatcher; +import org.mockito.InOrder; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; @@ -29,19 +30,31 @@ import org.thingsboard.server.cache.TbTransactionalCache; import org.thingsboard.server.cluster.TbClusterService; import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.id.EdgeId; +import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.msg.TbMsg; import org.thingsboard.server.common.msg.queue.ServiceType; +import org.thingsboard.server.common.msg.notification.NotificationRuleProcessor; import org.thingsboard.server.queue.discovery.PartitionService; import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; import org.thingsboard.server.service.edge.EdgeContextComponent; +import org.thingsboard.server.service.edge.rpc.EdgeEventStorageSettings; import org.thingsboard.server.service.telemetry.TelemetrySubscriptionService; import java.util.Set; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.TimeUnit; import java.util.UUID; import java.util.concurrent.ConcurrentMap; import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyLong; +import static org.mockito.ArgumentMatchers.isNull; import static org.mockito.ArgumentMatchers.argThat; +import static org.mockito.Mockito.inOrder; +import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; @@ -73,6 +86,15 @@ public class EdgeGrpcServiceTest { @Mock private EdgeContextComponent ctx; + @Mock + private NotificationRuleProcessor ruleProcessor; + + @Mock + private EdgeEventStorageSettings edgeEventStorageSettings; + + @Mock + private ScheduledExecutorService edgeEventProcessingExecutorService; + @InjectMocks private EdgeGrpcService edgeGrpcService; @@ -165,6 +187,82 @@ public class EdgeGrpcServiceTest { verify(tsSubService, never()).saveAttributes(argThat(inactiveStateWrite())); } + @Test + public void givenSessionReplacedOnThisNodeAfterRemoval_whenStaleCallbackRuns_thenNoDisconnectSideEffects() { + // The stale callback wins the compare-and-remove, then tearing its own session down takes a while + // (for the Kafka session this stops a consumer). The edge reconnects to THIS node in that gap, so the + // ownership cache legitimately names us and isOwnedByAnotherNode cannot help. None of the disconnect + // side effects may run: not the flag, not the timestamp, not the DISCONNECT_EVENT push. + UUID sessionId = UUID.randomUUID(); + EdgeGrpcSession stale = mock(EdgeGrpcSession.class); + when(stale.getSessionId()).thenReturn(sessionId); + when(stale.getEdge()).thenReturn(edge); + when(stale.destroy()).thenAnswer(invocation -> { + sessions().put(edgeId, mock(EdgeGrpcSession.class)); + return true; + }); + lenient().when(ctx.getRuleProcessor()).thenReturn(ruleProcessor); + sessions().put(edgeId, stale); + + onEdgeDisconnect(sessionId); + + verify(tsSubService, never()).saveAttributes(argThat(inactiveStateWrite())); + verify(clusterService, never()).pushMsgToRuleEngine(any(TenantId.class), any(EntityId.class), any(TbMsg.class), isNull()); + verify(edgeIdServiceIdCache, never()).evict(edgeId); + } + + @Test + public void givenEdgeReconnectedToAnotherNode_whenDisconnect_thenDisconnectEventNotPushed() { + // The DISCONNECT_EVENT payload is {"active": false, ...} with SERVER_SCOPE, so a rule chain wiring + // Disconnect Event -> Save Attributes would persist active=false back and re-create the bug. + EdgeSessionStub stub = registerSession(); + when(serviceInfoProvider.getServiceId()).thenReturn(THIS_NODE); + when(edgeIdServiceIdCache.get(edgeId)).thenReturn(SimpleTbCacheValueWrapper.wrap(OTHER_NODE)); + when(partitionService.getAllServiceIds(ServiceType.TB_CORE)).thenReturn(Set.of(THIS_NODE, OTHER_NODE)); + lenient().when(ctx.getRuleProcessor()).thenReturn(ruleProcessor); + + onEdgeDisconnect(stub.sessionId()); + + verify(clusterService, never()).pushMsgToRuleEngine(any(TenantId.class), any(EntityId.class), any(TbMsg.class), isNull()); + } + + @Test + public void givenEdgeGenuinelyDisconnected_whenDisconnect_thenDisconnectEventPushed() { + // Also proves the never() assertions above are not vacuous: the push does happen on this path. + EdgeSessionStub stub = registerSession(); + when(serviceInfoProvider.getServiceId()).thenReturn(THIS_NODE); + when(edgeIdServiceIdCache.get(edgeId)).thenReturn(SimpleTbCacheValueWrapper.wrap(THIS_NODE)); + when(ctx.getRuleProcessor()).thenReturn(ruleProcessor); + + onEdgeDisconnect(stub.sessionId()); + + verify(clusterService, times(1)).pushMsgToRuleEngine(any(TenantId.class), any(EntityId.class), any(TbMsg.class), isNull()); + } + + // --- onEdgeConnect ownership publish order --- + + @Test + public void givenConnect_whenClaimingOwnership_thenCachePutHappensBeforeActiveStateWrite() { + // Load-bearing ordering: the previous node's onEdgeDisconnect reads this cache entry to decide whether + // to clear the flag, so the claim must be visible before active=true is written. Nothing else pins the + // order, and a tidy-up that groups the save(...) calls together would silently restore the race. + EdgeGrpcSession session = mock(EdgeGrpcSession.class); + when(session.getSessionId()).thenReturn(UUID.randomUUID()); + when(session.getEdge()).thenReturn(edge); + when(serviceInfoProvider.getServiceId()).thenReturn(THIS_NODE); + when(ctx.getRuleProcessor()).thenReturn(ruleProcessor); + when(ctx.getEdgeEventStorageSettings()).thenReturn(edgeEventStorageSettings); + ReflectionTestUtils.setField(edgeGrpcService, "edgeEventProcessingExecutorService", edgeEventProcessingExecutorService); + when(edgeEventProcessingExecutorService.schedule(any(Runnable.class), anyLong(), any(TimeUnit.class))) + .thenAnswer(invocation -> mock(ScheduledFuture.class)); + + ReflectionTestUtils.invokeMethod(edgeGrpcService, "onEdgeConnect", edgeId, session); + + InOrder inOrder = inOrder(edgeIdServiceIdCache, tsSubService); + inOrder.verify(edgeIdServiceIdCache).put(edgeId, THIS_NODE); + inOrder.verify(tsSubService).saveAttributes(argThat(activeStateWrite())); + } + // --- service-id cache eviction guard --- @Test @@ -198,6 +296,23 @@ public class EdgeGrpcServiceTest { ReflectionTestUtils.invokeMethod(edgeGrpcService, "onEdgeDisconnect", edge, sessionId); } + private EdgeSessionStub registerSession() { + UUID sessionId = UUID.randomUUID(); + sessions().put(edgeId, sessionFor(sessionId)); + return new EdgeSessionStub(sessionId); + } + + private record EdgeSessionStub(UUID sessionId) { + } + + private ArgumentMatcher activeStateWrite() { + return request -> request != null + && edgeId.equals(request.getEntityId()) + && request.getEntries().stream().anyMatch(entry -> + ACTIVITY_STATE.equals(entry.getKey()) + && Boolean.TRUE.equals(entry.getBooleanValue().orElse(null))); + } + private EdgeGrpcSession sessionFor(UUID sessionId) { EdgeGrpcSession session = mock(EdgeGrpcSession.class); when(session.getSessionId()).thenReturn(sessionId); From 4044db40bc8e16c90f130ccbd481204d612a3d62 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 22 Sep 2026 12:14:58 +0200 Subject: [PATCH 038/559] Harden edge-delegated mail/SMS/notification send handling --- .../rpc/sync/DefaultEdgeRequestsService.java | 71 +++++++++++++++---- .../src/main/resources/thingsboard.yml | 4 ++ 2 files changed, 60 insertions(+), 15 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index 7a642e5cf0..03c8d11f07 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -8,12 +8,16 @@ import com.google.common.util.concurrent.FutureCallback; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.SettableFuture; +import jakarta.annotation.PreDestroy; import lombok.extern.slf4j.Slf4j; import org.checkerframework.checker.nullness.qual.Nullable; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.common.util.ListeningExecutor; +import org.thingsboard.common.util.ThingsBoardExecutors; import org.thingsboard.rule.engine.api.MailService; import org.thingsboard.rule.engine.api.SmsService; import org.thingsboard.rule.engine.api.notification.FirebaseService; @@ -70,16 +74,22 @@ import org.thingsboard.server.gen.edge.v1.WidgetBundleTypesRequestMsg; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.entitiy.entityview.TbEntityViewService; import org.thingsboard.server.service.mail.EdgeMailRequest; +import org.thingsboard.server.service.mail.MailExecutorService; import org.thingsboard.server.service.notification.EdgeNotificationRequest; import org.thingsboard.server.service.sms.EdgeSmsRequest; +import org.thingsboard.server.service.sms.SmsExecutorService; import org.thingsboard.server.service.executors.DbCallbackExecutorService; +import org.thingsboard.server.service.executors.NotificationExecutorService; import org.thingsboard.server.service.state.DefaultDeviceStateService; +import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; @Service @TbCoreComponent @@ -129,6 +139,26 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Autowired private NotificationSettingsService notificationSettingsService; + @Autowired + private MailExecutorService mailExecutor; + + @Autowired + private SmsExecutorService smsExecutor; + + @Autowired + private NotificationExecutorService notificationExecutor; + + @Value("${edges.rpc.delegated_send_timeout_sec:20}") + private int delegatedSendTimeoutSec; + + private final ScheduledExecutorService sendTimeoutScheduler = + ThingsBoardExecutors.newSingleThreadScheduledExecutor("edge-delegated-send-watchdog"); + + @PreDestroy + public void destroy() { + sendTimeoutScheduler.shutdownNow(); + } + @Override public ListenableFuture processRuleChainMetadataRequestMsg(TenantId tenantId, Edge edge, RuleChainMetadataRequestMsg ruleChainMetadataRequestMsg) { log.trace("[{}] processRuleChainMetadataRequestMsg [{}][{}]", tenantId, edge.getName(), ruleChainMetadataRequestMsg); @@ -452,11 +482,11 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Override public ListenableFuture processSendEmailMsg(TenantId tenantId, Edge edge, SendEmailUplinkMsg sendEmailUplinkMsg) { - return submitEdgeSend(tenantId, edge, "email", () -> sendEmailForEdge(tenantId, sendEmailUplinkMsg)); + return submitEdgeSend(tenantId, edge, "email", mailExecutor, () -> sendEmailForEdge(tenantId, sendEmailUplinkMsg)); } private void sendEmailForEdge(TenantId tenantId, SendEmailUplinkMsg sendEmailUplinkMsg) throws Exception { - EdgeMailRequest request = JacksonUtil.fromString(sendEmailUplinkMsg.getRequest(), EdgeMailRequest.class); + EdgeMailRequest request = parseSendRequest(sendEmailUplinkMsg.getRequest(), EdgeMailRequest.class); if (request == null || request.getMethod() == null) { log.warn("[{}] Received empty send email request from edge", tenantId); return; @@ -487,11 +517,11 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Override public ListenableFuture processSendSmsMsg(TenantId tenantId, Edge edge, SendSmsUplinkMsg sendSmsUplinkMsg) { - return submitEdgeSend(tenantId, edge, "sms", () -> sendSmsForEdge(tenantId, sendSmsUplinkMsg)); + return submitEdgeSend(tenantId, edge, "sms", smsExecutor, () -> sendSmsForEdge(tenantId, sendSmsUplinkMsg)); } private void sendSmsForEdge(TenantId tenantId, SendSmsUplinkMsg sendSmsUplinkMsg) throws Exception { - EdgeSmsRequest request = JacksonUtil.fromString(sendSmsUplinkMsg.getRequest(), EdgeSmsRequest.class); + EdgeSmsRequest request = parseSendRequest(sendSmsUplinkMsg.getRequest(), EdgeSmsRequest.class); if (request == null || request.getMethod() == null) { log.warn("[{}] Received empty send sms request from edge", tenantId); return; @@ -506,24 +536,31 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Override public ListenableFuture processSendNotificationMsg(TenantId tenantId, Edge edge, SendNotificationUplinkMsg sendNotificationUplinkMsg) { - return submitEdgeSend(tenantId, edge, "notification", () -> sendNotificationForEdge(tenantId, sendNotificationUplinkMsg)); + return submitEdgeSend(tenantId, edge, "notification", notificationExecutor, () -> sendNotificationForEdge(tenantId, sendNotificationUplinkMsg)); } - private ListenableFuture submitEdgeSend(TenantId tenantId, Edge edge, String what, EdgeSendTask task) { + private ListenableFuture submitEdgeSend(TenantId tenantId, Edge edge, String what, + ListeningExecutor executor, EdgeSendTask task) { log.trace("[{}] processing edge-delegated {} send [{}]", tenantId, what, edge.getName()); - dbCallbackExecutorService.submit(() -> { - try { - task.execute(); - } catch (Exception e) { - log.warn("[{}] Failed to send {} requested by edge [{}]", tenantId, what, edge.getName(), e); - } + ListenableFuture future = Futures.withTimeout(executor.submit(() -> { + task.execute(); return null; - }); - return Futures.immediateFuture(null); + }), delegatedSendTimeoutSec, TimeUnit.SECONDS, sendTimeoutScheduler); + Futures.addCallback(future, new FutureCallback<>() { + @Override + public void onSuccess(@Nullable Void result) { + } + + @Override + public void onFailure(Throwable t) { + log.warn("[{}] Failed to send {} requested by edge [{}]", tenantId, what, edge.getName(), t); + } + }, dbCallbackExecutorService); + return future; } private void sendNotificationForEdge(TenantId tenantId, SendNotificationUplinkMsg sendNotificationUplinkMsg) throws Exception { - EdgeNotificationRequest request = JacksonUtil.fromString(sendNotificationUplinkMsg.getRequest(), EdgeNotificationRequest.class); + EdgeNotificationRequest request = parseSendRequest(sendNotificationUplinkMsg.getRequest(), EdgeNotificationRequest.class); if (request == null || request.getMethod() == null) { log.warn("[{}] Received empty send notification request from edge", tenantId); return; @@ -574,6 +611,10 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return config; } + private static T parseSendRequest(String request, Class clazz) throws IOException { + return request != null ? JacksonUtil.IGNORE_UNKNOWN_PROPERTIES_JSON_MAPPER.readValue(request, clazz) : null; + } + private ListenableFuture saveEdgeEvent(TenantId tenantId, EdgeId edgeId, EdgeEventType type, diff --git a/application/src/main/resources/thingsboard.yml b/application/src/main/resources/thingsboard.yml index 2de4c21c8a..a7c8c9b093 100644 --- a/application/src/main/resources/thingsboard.yml +++ b/application/src/main/resources/thingsboard.yml @@ -1618,6 +1618,10 @@ edges: max_inbound_message_size: "${EDGES_RPC_MAX_INBOUND_MESSAGE_SIZE:4194304}" # Maximum length of telemetry (time-series and attributes) message the cloud sends to the edge. By default, there is no limitation. max_telemetry_message_size: "${EDGES_RPC_MAX_TELEMETRY_MESSAGE_SIZE:0}" + # Maximum time the cloud spends on a mail/SMS/notification send delegated by the edge before failing it. + # Must stay below the edge's 'cloud.uplink_pack_timeout_sec' (60 seconds by default): if the uplink is not + # answered in time the edge resends everything still unacknowledged, which delivers the same mail or SMS twice. + delegated_send_timeout_sec: "${EDGES_RPC_DELEGATED_SEND_TIMEOUT_SEC:20}" storage: # Max records of edge event to read from DB and sent to the edge max_read_records_count: "${EDGES_STORAGE_MAX_READ_RECORDS_COUNT:50}" From 59a68d02a9d4499c3ab3ceec419903bd0e154f57 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 22 Sep 2026 12:42:38 +0200 Subject: [PATCH 039/559] Propagate transient FCM failures for edge-delegated push --- .../edge/rpc/sync/DefaultEdgeRequestsService.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index 03c8d11f07..96964f59f8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -8,6 +8,8 @@ import com.google.common.util.concurrent.FutureCallback; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.SettableFuture; +import com.google.firebase.messaging.FirebaseMessagingException; +import com.google.firebase.messaging.MessagingErrorCode; import jakarta.annotation.PreDestroy; import lombok.extern.slf4j.Slf4j; import org.checkerframework.checker.nullness.qual.Nullable; @@ -580,7 +582,7 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { slackService.sendMessage(tenantId, config.getBotToken(), request.getConversationId(), request.getMessage()); } - private void sendMobilePushForEdge(TenantId tenantId, EdgeNotificationRequest request) { + private void sendMobilePushForEdge(TenantId tenantId, EdgeNotificationRequest request) throws Exception { MobileAppNotificationDeliveryMethodConfig config = getMobileAppConfig(tenantId); if (config == null || request.getFcmTokens() == null) { log.warn("[{}] Mobile app notifications are not configured on the cloud; dropping edge-delegated push", tenantId); @@ -590,8 +592,14 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { for (String fcmToken : request.getFcmTokens()) { try { firebaseService.sendMessage(tenantId, credentials, fcmToken, request.getSubject(), request.getBody(), request.getData(), request.getBadge()); - } catch (Exception e) { - log.warn("[{}] Failed to push edge-delegated notification to FCM token", tenantId, e); + } catch (FirebaseMessagingException e) { + MessagingErrorCode errorCode = e.getMessagingErrorCode(); + if (MessagingErrorCode.UNREGISTERED == errorCode || MessagingErrorCode.INVALID_ARGUMENT == errorCode + || MessagingErrorCode.SENDER_ID_MISMATCH == errorCode) { + log.debug("[{}] Edge-delegated push rejected, FCM token is no longer valid: {}", tenantId, errorCode); + continue; + } + throw e; } } } From 24274cb50b9929cc36f6d7fa5e9284b66fec064e Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 22 Sep 2026 14:06:56 +0200 Subject: [PATCH 040/559] Fix license header in EdgeGrpcServiceTest --- .../server/service/edge/rpc/EdgeGrpcServiceTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java index 7b71c65c9f..74cc3e2153 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 /** * Copyright © 2016-2026 The Thingsboard Authors * From ad6cc38eb4f9a53bb0fe200c5841b97d36c88358 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 22 Sep 2026 14:07:22 +0200 Subject: [PATCH 041/559] Remove stale license header in EdgeGrpcServiceTest --- .../service/edge/rpc/EdgeGrpcServiceTest.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java index 74cc3e2153..80730f9f53 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java @@ -1,20 +1,5 @@ // SPDX-FileCopyrightText: Copyright The Thingsboard Authors // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package org.thingsboard.server.service.edge.rpc; import org.junit.jupiter.api.BeforeEach; From e1e6bfdef3d03b8ee5dc34ded56368c5c0fb25e6 Mon Sep 17 00:00:00 2001 From: IrynaMatveieva Date: Thu, 24 Sep 2026 09:49:57 +0300 Subject: [PATCH 042/559] Apply tenant profile default storage TTL to calculated field time series output --- ...tractCalculatedFieldProcessingService.java | 10 +- ...tCalculatedFieldProcessingServiceTest.java | 99 +++++++++++++++++++ 2 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 application/src/test/java/org/thingsboard/server/service/cf/DefaultCalculatedFieldProcessingServiceTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/cf/AbstractCalculatedFieldProcessingService.java b/application/src/main/java/org/thingsboard/server/service/cf/AbstractCalculatedFieldProcessingService.java index e4850b9128..72f34918c8 100644 --- a/application/src/main/java/org/thingsboard/server/service/cf/AbstractCalculatedFieldProcessingService.java +++ b/application/src/main/java/org/thingsboard/server/service/cf/AbstractCalculatedFieldProcessingService.java @@ -70,6 +70,7 @@ import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Collectors; @@ -489,10 +490,17 @@ public abstract class AbstractCalculatedFieldProcessingService { callback.onFailure(new IllegalArgumentException("Only TimeSeriesImmediateOutputStrategy is supported.")); } else { TimeseriesSaveRequest.Strategy strategy = new TimeseriesSaveRequest.Strategy(tsOutputStrategy.isSaveTimeSeries(), tsOutputStrategy.isSaveLatest(), tsOutputStrategy.isSendWsUpdate(), tsOutputStrategy.isProcessCfs()); - saveTimeSeriesInternal(tenantId, entityId, jsonResult, tsOutputStrategy.getTtl(), cfIds, ts, strategy, callback); + saveTimeSeriesInternal(tenantId, entityId, jsonResult, resolveTtl(tenantId, tsOutputStrategy.getTtl()), cfIds, ts, strategy, callback); } } + private long resolveTtl(TenantId tenantId, long ttl) { + if (ttl == 0L) { + return TimeUnit.DAYS.toSeconds(apiLimitService.getLimit(tenantId, DefaultTenantProfileConfiguration::getDefaultStorageTtlDays)); + } + return ttl; + } + private void saveTimeSeriesInternal(TenantId tenantId, EntityId entityId, JsonElement jsonResult, Long ttl, List cfIds, long ts, TimeseriesSaveRequest.Strategy strategy, TbCallback callback) { Map> tsKvMap = JsonConverter.convertToTelemetry(jsonResult, ts); if (tsKvMap.isEmpty()) { diff --git a/application/src/test/java/org/thingsboard/server/service/cf/DefaultCalculatedFieldProcessingServiceTest.java b/application/src/test/java/org/thingsboard/server/service/cf/DefaultCalculatedFieldProcessingServiceTest.java new file mode 100644 index 0000000000..925eaed40a --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/cf/DefaultCalculatedFieldProcessingServiceTest.java @@ -0,0 +1,99 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.cf; + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.ArgumentCaptor; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.TimeseriesSaveRequest; +import org.thingsboard.server.cluster.TbClusterService; +import org.thingsboard.server.common.data.cf.configuration.OutputType; +import org.thingsboard.server.common.data.cf.configuration.TimeSeriesImmediateOutputStrategy; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.msg.queue.TbCallback; +import org.thingsboard.server.dao.attributes.AttributesService; +import org.thingsboard.server.dao.relation.RelationService; +import org.thingsboard.server.dao.timeseries.TimeseriesService; +import org.thingsboard.server.dao.usagerecord.ApiLimitService; +import org.thingsboard.server.queue.discovery.PartitionService; +import org.thingsboard.server.service.telemetry.TelemetrySubscriptionService; + +import java.util.Collections; +import java.util.UUID; +import java.util.concurrent.TimeUnit; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +public class DefaultCalculatedFieldProcessingServiceTest { + + private final TenantId tenantId = TenantId.fromUUID(UUID.fromString("e7f46b23-0c7d-42f5-9b06-fc35ab17af8a")); + private final DeviceId deviceId = new DeviceId(UUID.fromString("ccd71696-0586-422d-940e-755a41ec3b0d")); + + @Mock + private AttributesService attributesService; + @Mock + private TimeseriesService timeseriesService; + @Mock + private ApiLimitService apiLimitService; + @Mock + private RelationService relationService; + @Mock + private OwnerService ownerService; + @Mock + private TbClusterService clusterService; + @Mock + private TelemetrySubscriptionService tsSubService; + @Mock + private PartitionService partitionService; + + private DefaultCalculatedFieldProcessingService service; + + @BeforeEach + public void setUp() { + service = new DefaultCalculatedFieldProcessingService(attributesService, timeseriesService, apiLimitService, + relationService, ownerService, clusterService, tsSubService, partitionService); + } + + @Test + public void givenTimeSeriesOutputWithoutTtl_whenProcessResult_thenTenantProfileDefaultStorageTtlIsUsed() { + when(apiLimitService.getLimit(eq(tenantId), any())).thenReturn(30L); + + service.processResult(tenantId, deviceId, "cf", buildTimeSeriesResult(0L), Collections.emptyList(), TbCallback.EMPTY); + + assertThat(captureSaveRequest().getTtl()).isEqualTo(TimeUnit.DAYS.toSeconds(30)); + } + + @Test + public void givenTimeSeriesOutputWithCustomTtl_whenProcessResult_thenCustomTtlIsUsed() { + service.processResult(tenantId, deviceId, "cf", buildTimeSeriesResult(3600L), Collections.emptyList(), TbCallback.EMPTY); + + assertThat(captureSaveRequest().getTtl()).isEqualTo(3600L); + verify(apiLimitService, never()).getLimit(any(), any()); + } + + private TelemetryCalculatedFieldResult buildTimeSeriesResult(long ttl) { + return TelemetryCalculatedFieldResult.builder() + .type(OutputType.TIME_SERIES) + .outputStrategy(new TimeSeriesImmediateOutputStrategy(ttl, true, true, true, true)) + .result(JacksonUtil.newObjectNode().put("result", 42)) + .build(); + } + + private TimeseriesSaveRequest captureSaveRequest() { + ArgumentCaptor captor = ArgumentCaptor.forClass(TimeseriesSaveRequest.class); + verify(tsSubService).saveTimeseries(captor.capture()); + return captor.getValue(); + } + +} From 13f3a197b6691a079d68cdec8c3654581f29b2a5 Mon Sep 17 00:00:00 2001 From: Volodymyr Babak Date: Thu, 24 Sep 2026 17:08:27 +0300 Subject: [PATCH 043/559] fix: do not cancel a replacement session's edge event check on stale disconnect Addresses review feedback on the activity-state guard: - sessionEdgeEventChecks is keyed by edgeId, so a stale disconnect callback cancelled the check scheduled by the session that replaced it. The loop only reschedules from inside the task, so the connected edge stopped receiving downlinks with nothing to restart it. Cancel only when no live session holds the edge on this node. - Document that the EDGE_CONNECTION notification is raised from inside pushRuleEngineMessage on this branch and is therefore suppressed together with the DISCONNECT_EVENT. - Pin the LAST_DISCONNECT_TIME write and the zombie compare-and-remove with tests, both of which were previously unguarded by the suite. --- .../service/edge/rpc/EdgeGrpcService.java | 19 +++- .../service/edge/rpc/EdgeGrpcServiceTest.java | 107 ++++++++++++++++++ 2 files changed, 123 insertions(+), 3 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java index e650bc5f42..440c4f4106 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java @@ -551,16 +551,29 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i // - a newer lastDisconnectTime would contradict the live session's lastConnectTime; // - the DISCONNECT_EVENT payload is {"active": false, ...} with SERVER_SCOPE in the metadata, // so a rule chain wiring Disconnect Event -> Save Attributes writes active=false straight - // back, re-creating the dropped-event behaviour through the rule engine. + // back, re-creating the dropped-event behaviour through the rule engine; + // - on this branch the EDGE_CONNECTION (disconnected) notification is raised from inside + // pushRuleEngineMessage, so it is suppressed together with the event. That is the point: a + // connected edge must not produce a 'disconnected' notification, and this branch has no + // delayed re-verify to withdraw one after the fact. // Ownership being unknown (no cache entry) still counts as disconnected, so a genuinely offline // edge is always marked inactive. - if (!sessions.containsKey(edgeId) && !isOwnedByAnotherNode(edgeId)) { + boolean replacedOnThisNode = sessions.containsKey(edgeId); + if (!replacedOnThisNode && !isOwnedByAnotherNode(edgeId)) { save(tenantId, edgeId, ACTIVITY_STATE, false); long lastDisconnectTs = System.currentTimeMillis(); save(tenantId, edgeId, LAST_DISCONNECT_TIME, lastDisconnectTs); pushRuleEngineMessage(toRemove.getEdge().getTenantId(), edge, lastDisconnectTs, TbMsgType.DISCONNECT_EVENT); } - cancelScheduleEdgeEventsCheck(edgeId); + // sessionEdgeEventChecks is keyed by edgeId, not by session, so a replacement that landed on this + // node while this stale callback was running has already scheduled its check under the same key. + // Cancelling it here would leave the live session with no check loop - the loop only reschedules + // itself from inside the task, so a cancelled task never runs again - and downlinks would stall + // silently until the edge reconnects. When the edge is owned by another node there is nothing live + // to protect: the check is node-local and belongs to the session we just tore down. + if (!replacedOnThisNode) { + cancelScheduleEdgeEventsCheck(edgeId); + } } else { log.info("[{}] edge session [{}] is not current anymore. Attempting to destroy it by sessionId.", edgeId, sessionId); EdgeGrpcSession stale = sessionsById.remove(sessionId); diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java index 512e5cf283..154112ab55 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java @@ -35,6 +35,10 @@ import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.msg.TbMsg; import org.thingsboard.server.common.msg.queue.ServiceType; import org.thingsboard.server.common.msg.notification.NotificationRuleProcessor; +import org.thingsboard.server.gen.transport.TransportProtos.ToEdgeEventNotificationMsg; +import org.thingsboard.server.queue.TbQueueConsumer; +import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.common.consumer.QueueConsumerManager; import org.thingsboard.server.queue.discovery.PartitionService; import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; import org.thingsboard.server.service.edge.EdgeContextComponent; @@ -50,6 +54,7 @@ import java.util.concurrent.ConcurrentMap; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.ArgumentMatchers.anyLong; import static org.mockito.ArgumentMatchers.isNull; import static org.mockito.ArgumentMatchers.argThat; @@ -61,6 +66,7 @@ import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.thingsboard.server.service.state.DefaultDeviceStateService.ACTIVITY_STATE; +import static org.thingsboard.server.service.state.DefaultDeviceStateService.LAST_DISCONNECT_TIME; @ExtendWith(MockitoExtension.class) public class EdgeGrpcServiceTest { @@ -125,6 +131,7 @@ public class EdgeGrpcServiceTest { onEdgeDisconnect(sessionId); verify(tsSubService, never()).saveAttributes(argThat(inactiveStateWrite())); + verify(tsSubService, never()).saveAttributes(argThat(lastDisconnectTimeWrite())); } @Test @@ -137,6 +144,7 @@ public class EdgeGrpcServiceTest { onEdgeDisconnect(sessionId); verify(tsSubService, times(1)).saveAttributes(argThat(inactiveStateWrite())); + verify(tsSubService, times(1)).saveAttributes(argThat(lastDisconnectTimeWrite())); } @Test @@ -207,6 +215,7 @@ public class EdgeGrpcServiceTest { onEdgeDisconnect(sessionId); verify(tsSubService, never()).saveAttributes(argThat(inactiveStateWrite())); + verify(tsSubService, never()).saveAttributes(argThat(lastDisconnectTimeWrite())); verify(clusterService, never()).pushMsgToRuleEngine(any(TenantId.class), any(EntityId.class), any(TbMsg.class), isNull()); verify(edgeIdServiceIdCache, never()).evict(edgeId); } @@ -239,6 +248,93 @@ public class EdgeGrpcServiceTest { verify(clusterService, times(1)).pushMsgToRuleEngine(any(TenantId.class), any(EntityId.class), any(TbMsg.class), isNull()); } + @Test + public void givenSessionReplacedOnThisNode_whenStaleCallbackRuns_thenReplacementEdgeEventsCheckNotCancelled() { + // sessionEdgeEventChecks is keyed by edgeId, not by session, so the replacement's check sits under the + // same key as the one this callback is tearing down. The check loop only reschedules itself from inside + // the task, so cancelling it here would leave a connected edge with nothing to restart downlink + // delivery - the same silent stall this guard exists to prevent. + UUID sessionId = UUID.randomUUID(); + EdgeGrpcSession stale = mock(EdgeGrpcSession.class); + when(stale.getSessionId()).thenReturn(sessionId); + when(stale.getEdge()).thenReturn(edge); + ScheduledFuture replacementCheck = mock(ScheduledFuture.class); + when(stale.destroy()).thenAnswer(invocation -> { + sessions().put(edgeId, mock(EdgeGrpcSession.class)); + sessionEdgeEventChecks().put(edgeId, replacementCheck); + return true; + }); + sessions().put(edgeId, stale); + + onEdgeDisconnect(sessionId); + + verify(replacementCheck, never()).cancel(anyBoolean()); + assertThat(sessionEdgeEventChecks()).containsEntry(edgeId, replacementCheck); + } + + @Test + public void givenEdgeGenuinelyDisconnected_whenDisconnect_thenEdgeEventsCheckCancelled() { + // Counterpart to the test above: proves the cancel still runs on a real disconnect, so the guard is + // not simply disabling it. + UUID sessionId = UUID.randomUUID(); + sessions().put(edgeId, sessionFor(sessionId)); + ScheduledFuture check = mock(ScheduledFuture.class); + sessionEdgeEventChecks().put(edgeId, check); + + onEdgeDisconnect(sessionId); + + verify(check, times(1)).cancel(anyBoolean()); + assertThat(sessionEdgeEventChecks()).doesNotContainKey(edgeId); + } + + // --- zombie session cleanup --- + + @Test + @SuppressWarnings("unchecked") + public void givenZombieSessionReplacedDuringDestroy_whenCleanupRuns_thenReplacementKept() { + // destroy() stops a Kafka consumer and is not instantaneous. If the edge reconnects in that gap, an + // unconditional sessions.remove(edgeId) would drop the live session, leaving a connected edge with no + // map entry - every downlink lookup then silently no-ops. + KafkaEdgeGrpcSession zombie = mock(KafkaEdgeGrpcSession.class); + when(zombie.getEdge()).thenReturn(edge); + when(zombie.isConnected()).thenReturn(false); + QueueConsumerManager> consumerManager = mock(QueueConsumerManager.class); + TbQueueConsumer> consumer = mock(TbQueueConsumer.class); + when(consumer.isStopped()).thenReturn(false); + when(consumerManager.getConsumer()).thenReturn(consumer); + when(zombie.getConsumer()).thenReturn(consumerManager); + EdgeGrpcSession replacement = mock(EdgeGrpcSession.class); + when(zombie.destroy()).thenAnswer(invocation -> { + sessions().put(edgeId, replacement); + return true; + }); + sessions().put(edgeId, zombie); + + ReflectionTestUtils.invokeMethod(edgeGrpcService, "cleanupZombieSessions"); + + assertThat(sessions()).containsEntry(edgeId, replacement); + } + + @Test + @SuppressWarnings("unchecked") + public void givenZombieSessionStillCurrent_whenCleanupRuns_thenItIsRemoved() { + // Counterpart: with no replacement, the compare-and-remove must still drop the zombie. + KafkaEdgeGrpcSession zombie = mock(KafkaEdgeGrpcSession.class); + when(zombie.getEdge()).thenReturn(edge); + when(zombie.isConnected()).thenReturn(false); + QueueConsumerManager> consumerManager = mock(QueueConsumerManager.class); + TbQueueConsumer> consumer = mock(TbQueueConsumer.class); + when(consumer.isStopped()).thenReturn(false); + when(consumerManager.getConsumer()).thenReturn(consumer); + when(zombie.getConsumer()).thenReturn(consumerManager); + when(zombie.destroy()).thenReturn(true); + sessions().put(edgeId, zombie); + + ReflectionTestUtils.invokeMethod(edgeGrpcService, "cleanupZombieSessions"); + + assertThat(sessions()).doesNotContainKey(edgeId); + } + // --- onEdgeConnect ownership publish order --- @Test @@ -325,6 +421,11 @@ public class EdgeGrpcServiceTest { return (ConcurrentMap) ReflectionTestUtils.getField(edgeGrpcService, "sessions"); } + @SuppressWarnings("unchecked") + private ConcurrentMap> sessionEdgeEventChecks() { + return (ConcurrentMap>) ReflectionTestUtils.getField(edgeGrpcService, "sessionEdgeEventChecks"); + } + private ArgumentMatcher inactiveStateWrite() { return request -> request != null && edgeId.equals(request.getEntityId()) @@ -333,4 +434,10 @@ public class EdgeGrpcServiceTest { && Boolean.FALSE.equals(entry.getBooleanValue().orElse(null))); } + private ArgumentMatcher lastDisconnectTimeWrite() { + return request -> request != null + && edgeId.equals(request.getEntityId()) + && request.getEntries().stream().anyMatch(entry -> LAST_DISCONNECT_TIME.equals(entry.getKey())); + } + } From 8fb852c04d852026be00568ec5fd786305ee11a0 Mon Sep 17 00:00:00 2001 From: Volodymyr Babak Date: Fri, 25 Sep 2026 09:22:07 +0300 Subject: [PATCH 044/559] chore: use SPDX license header in EdgeGrpcServiceTest --- .../service/edge/rpc/EdgeGrpcServiceTest.java | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java index 154112ab55..9ee8632f45 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc; import org.junit.jupiter.api.BeforeEach; From 862b224dd7e4e770804ffad3411255166daa4501 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Fri, 25 Sep 2026 16:19:59 +0300 Subject: [PATCH 045/559] Reject non-user JWT scopes on WebSocket API --- .../controller/plugin/TbWebSocketHandler.java | 17 +++++++- .../server/controller/TwoFactorAuthTest.java | 42 +++++++++++++++++++ 2 files changed, 57 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/plugin/TbWebSocketHandler.java b/application/src/main/java/org/thingsboard/server/controller/plugin/TbWebSocketHandler.java index a7e3ed4ba9..2e8dda4d32 100644 --- a/application/src/main/java/org/thingsboard/server/controller/plugin/TbWebSocketHandler.java +++ b/application/src/main/java/org/thingsboard/server/controller/plugin/TbWebSocketHandler.java @@ -19,6 +19,7 @@ import org.springframework.beans.factory.BeanCreationNotAllowedException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Lazy; +import org.springframework.security.authentication.BadCredentialsException; import org.springframework.stereotype.Service; import org.springframework.web.socket.CloseStatus; import org.springframework.web.socket.PongMessage; @@ -34,6 +35,7 @@ import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.common.data.limit.LimitedApi; +import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.data.tenant.profile.DefaultTenantProfileConfiguration; import org.thingsboard.server.config.WebSocketConfiguration; import org.thingsboard.server.dao.tenant.TbTenantProfileCache; @@ -55,6 +57,7 @@ import org.thingsboard.server.service.ws.telemetry.cmd.TelemetryCmdsWrapper; import java.io.IOException; import java.security.InvalidParameterException; +import java.util.EnumSet; import java.util.Optional; import java.util.Queue; import java.util.Set; @@ -76,6 +79,8 @@ import static org.thingsboard.server.service.ws.DefaultWebSocketService.NUMBER_O @RequiredArgsConstructor public class TbWebSocketHandler extends TextWebSocketHandler implements WebSocketMsgEndpoint { + private static final Set USER_AUTHORITIES = EnumSet.of(Authority.SYS_ADMIN, Authority.TENANT_ADMIN, Authority.CUSTOMER_USER); + private final ConcurrentMap internalSessionMap = new ConcurrentHashMap<>(); private final ConcurrentMap externalSessionMap = new ConcurrentHashMap<>(); @@ -181,7 +186,7 @@ public class TbWebSocketHandler extends TextWebSocketHandler implements WebSocke log.trace("{} Authenticating session", sessionRef); SecurityUser securityCtx; try { - securityCtx = authenticationProvider.authenticate(authCmd.getToken()); + securityCtx = authenticate(authCmd.getToken()); } catch (Exception e) { close(sessionRef, CloseStatus.BAD_DATA.withReason(e.getMessage())); return; @@ -317,7 +322,7 @@ public class TbWebSocketHandler extends TextWebSocketHandler implements WebSocke SecurityUser securityCtx = null; String token = StringUtils.substringAfter(session.getUri().getQuery(), "token="); if (StringUtils.isNotEmpty(token)) { - securityCtx = authenticationProvider.authenticate(token); + securityCtx = authenticate(token); } return WebSocketSessionRef.builder() .sessionId(UUID.randomUUID().toString()) @@ -328,6 +333,14 @@ public class TbWebSocketHandler extends TextWebSocketHandler implements WebSocke .build(); } + private SecurityUser authenticate(String token) { + SecurityUser securityUser = authenticationProvider.authenticate(token); + if (!USER_AUTHORITIES.contains(securityUser.getAuthority())) { + throw new BadCredentialsException("Token is invalid"); + } + return securityUser; + } + private SessionMetaData getSessionMd(String internalSessionId) { SessionMetaData sessionMd = internalSessionMap.get(internalSessionId); if (sessionMd == null) { diff --git a/application/src/test/java/org/thingsboard/server/controller/TwoFactorAuthTest.java b/application/src/test/java/org/thingsboard/server/controller/TwoFactorAuthTest.java index 3170d9480f..4618ebf4e0 100644 --- a/application/src/test/java/org/thingsboard/server/controller/TwoFactorAuthTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/TwoFactorAuthTest.java @@ -13,6 +13,8 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.bean.override.mockito.MockitoBean; import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; import org.thingsboard.rule.engine.api.SmsService; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.User; import org.thingsboard.server.common.data.audit.ActionStatus; @@ -23,6 +25,8 @@ import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.page.SortOrder; import org.thingsboard.server.common.data.page.TimePageLink; +import org.thingsboard.server.common.data.query.EntityData; +import org.thingsboard.server.common.data.query.EntityTypeFilter; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.data.security.model.JwtPair; import org.thingsboard.server.common.data.security.model.mfa.PlatformTwoFaSettings; @@ -40,6 +44,7 @@ import org.thingsboard.server.dao.user.UserService; import org.thingsboard.server.service.security.auth.mfa.TwoFactorAuthService; import org.thingsboard.server.service.security.auth.mfa.config.TwoFaConfigManager; import org.thingsboard.server.service.security.auth.rest.LoginRequest; +import org.thingsboard.server.service.ws.telemetry.cmd.v2.EntityDataUpdate; import java.time.Duration; import java.util.Arrays; @@ -141,6 +146,43 @@ public class TwoFactorAuthTest extends AbstractControllerTest { assertThat(currentUser.getId()).isEqualTo(user.getId()); } + @Test + public void testWsAuthCmd_preVerificationTokenRejected() throws Exception { + configureTotpTwoFa(); + logInWithPreVerificationToken(username, password); + + wsClient = buildAndConnectWebSocketClient(); + + await().atMost(TIMEOUT, TimeUnit.SECONDS).until(wsClient::isClosed); + } + + @Test + public void testWsQueryToken_preVerificationTokenRejected() throws Exception { + configureTotpTwoFa(); + logInWithPreVerificationToken(username, password); + + wsClient = buildAndConnectWebSocketClient("/api/ws?token=" + token); + + await().atMost(TIMEOUT, TimeUnit.SECONDS).until(wsClient::isClosed); + } + + @Test + public void testWs_accessTokenAcceptedAfterTwoFa() throws Exception { + TotpTwoFaAccountConfig totpTwoFaAccountConfig = configureTotpTwoFa(); + logInWithPreVerificationToken(username, password); + JsonNode tokenPair = readResponse(doPost("/api/auth/2fa/verification/check?providerType=TOTP&verificationCode=" + getCorrectTotp(totpTwoFaAccountConfig)) + .andExpect(status().isOk()), JsonNode.class); + validateAndSetJwtToken(tokenPair, username); + Device device = createDevice("2FA device", "2FA device token"); + + EntityTypeFilter deviceFilter = new EntityTypeFilter(); + deviceFilter.setEntityType(EntityType.DEVICE); + EntityDataUpdate update = getWsClient().sendEntityDataQuery(deviceFilter); + + assertThat(update.getData().getData()).singleElement() + .extracting(EntityData::getEntityId).isEqualTo(device.getId()); + } + @Test public void testTwoFaPreVerificationTokenLifetime() throws Exception { configureTotpTwoFa(twoFaSettings -> { From f2053b3bd663e721b800b79527534bde013af1c2 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 28 Sep 2026 17:39:48 +0200 Subject: [PATCH 046/559] Persist cloud RPC deletes for offline edges, accept post-TIMEOUT retries and parse edge RPC responses safely --- .../server/controller/RpcV2Controller.java | 2 +- .../processor/device/DeviceEdgeProcessor.java | 36 +++++++++++-------- .../server/service/rpc/TbRpcService.java | 20 ++++++----- .../server/common/data/rpc/RpcStatus.java | 5 +++ 4 files changed, 39 insertions(+), 24 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java b/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java index fc6e93afe1..fefec61c22 100644 --- a/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java +++ b/application/src/main/java/org/thingsboard/server/controller/RpcV2Controller.java @@ -228,7 +228,7 @@ public class RpcV2Controller extends AbstractRpcController { tbClusterService.pushMsgToCore(removeMsg, null); } - tbRpcService.deleteRpc(getTenantId(), rpcId); + tbRpcService.deleteRpc(getTenantId(), rpc); rpc.setStatus(RpcStatus.DELETED); TbMsg msg = TbMsg.newMsg() diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index 0362d40e45..7ad1125533 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -142,33 +142,39 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr private ListenableFuture processDeviceRpcStatusFromEdge(TenantId tenantId, Edge edge, DeviceRpcCallMsg deviceRpcCallMsg) { RpcId rpcId = new RpcId(new UUID(deviceRpcCallMsg.getRequestUuidMSB(), deviceRpcCallMsg.getRequestUuidLSB())); + Rpc existingRpc = edgeCtx.getTbRpcService().findRpcById(tenantId, rpcId); + if (existingRpc == null) { + // RPC is unknown to the cloud (edge-originated or already deleted) - nothing to sync + log.debug("[{}][{}] Ignoring RPC status [{}] from edge - RPC not found", tenantId, rpcId, deviceRpcCallMsg.getRpcStatus()); + return Futures.immediateFuture(null); + } if (RpcStatus.DELETED.name().equals(deviceRpcCallMsg.getRpcStatus())) { // RPC v2 (persistent) delete/abort propagation Edge -> Cloud: remove the cloud copy. // Mark the edge-sync context so TbRpcService.deleteRpc does not echo the delete back to edges. - if (edgeCtx.getTbRpcService().findRpcById(tenantId, rpcId) != null) { - try { - edgeSynchronizationManager.getEdgeId().set(edge.getId()); - edgeCtx.getTbRpcService().deleteRpc(tenantId, rpcId); - } finally { - edgeSynchronizationManager.getEdgeId().remove(); - } + try { + edgeSynchronizationManager.getEdgeId().set(edge.getId()); + edgeCtx.getTbRpcService().deleteRpc(tenantId, existingRpc); + } finally { + edgeSynchronizationManager.getEdgeId().remove(); } return Futures.immediateFuture(null); } RpcStatus rpcStatus = RpcStatus.valueOf(deviceRpcCallMsg.getRpcStatus()); - Rpc existingRpc = edgeCtx.getTbRpcService().findRpcById(tenantId, rpcId); - if (existingRpc == null) { - return Futures.immediateFuture(null); - } - if (!existingRpc.getStatus().isIntermediate() && rpcStatus.isIntermediate()) { - // guard against out-of-order status uplinks regressing a terminal RPC (e.g. stale DELIVERED after SUCCESSFUL) - log.debug("[{}][{}] Ignoring stale RPC status [{}] - RPC is already terminal [{}]", + if (!existingRpc.getStatus().isIntermediate() && existingRpc.getStatus() != RpcStatus.TIMEOUT && rpcStatus.isIntermediate()) { + // guard against a final RPC regressing to an intermediate status (e.g. stale DELIVERED after SUCCESSFUL). + // TIMEOUT is not final - the device actor retries the delivery (TIMEOUT -> SENT/DELIVERED/QUEUED). + log.debug("[{}][{}] Ignoring stale RPC status [{}] - RPC is already final [{}]", tenantId, rpcId, rpcStatus, existingRpc.getStatus()); return Futures.immediateFuture(null); } JsonNode response = null; if (deviceRpcCallMsg.hasResponseMsg() && !StringUtils.isEmpty(deviceRpcCallMsg.getResponseMsg().getResponse())) { - response = JacksonUtil.toJsonNode(deviceRpcCallMsg.getResponseMsg().getResponse()); + String payload = deviceRpcCallMsg.getResponseMsg().getResponse(); + try { + response = JacksonUtil.toJsonNode(payload); + } catch (IllegalArgumentException e) { + response = JacksonUtil.newObjectNode().put("error", payload); + } } edgeCtx.getTbRpcService().save(tenantId, rpcId, rpcStatus, response); return Futures.immediateFuture(null); diff --git a/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java b/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java index 57322f5600..b0a6a490ee 100644 --- a/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/rpc/TbRpcService.java @@ -24,7 +24,7 @@ import org.thingsboard.server.common.data.rpc.Rpc; import org.thingsboard.server.common.data.rpc.RpcStatus; import org.thingsboard.server.common.msg.TbMsg; import org.thingsboard.server.common.msg.TbMsgMetaData; -import org.thingsboard.server.common.msg.edge.EdgeHighPriorityMsg; +import org.thingsboard.server.dao.edge.EdgeEventService; import org.thingsboard.server.dao.edge.EdgeService; import org.thingsboard.server.dao.edge.EdgeSynchronizationManager; import org.thingsboard.server.dao.rpc.RpcService; @@ -40,6 +40,7 @@ public class TbRpcService { private final RpcService rpcService; private final TbClusterService tbClusterService; private final EdgeService edgeService; + private final EdgeEventService edgeEventService; private final EdgeSynchronizationManager edgeSynchronizationManager; public Rpc save(TenantId tenantId, Rpc rpc) { @@ -80,12 +81,14 @@ public class TbRpcService { return rpcService.findAllByDeviceIdAndStatus(tenantId, deviceId, rpcStatus, pageLink); } - public void deleteRpc(TenantId tenantId, RpcId rpcId) { - Rpc rpc = rpcService.findById(tenantId, rpcId); - rpcService.deleteRpc(tenantId, rpcId); - // RPC v2 (persistent) delete/abort propagation Cloud -> Edge for ANY status. - // Skipped when the delete originated from an edge (edge-sync context) so it is not echoed back. - if (rpc != null && edgeSynchronizationManager.getEdgeId().get() == null) { + /** + * The only edge-aware RPC delete: propagates the delete to related edges (Cloud -> Edge) for ANY status. + * Other delete paths (RpcService.deleteRpc, TTL clean-up) intentionally do not sync, so each side expires its own copies. + */ + public void deleteRpc(TenantId tenantId, Rpc rpc) { + rpcService.deleteRpc(tenantId, rpc.getId()); + // skipped when the delete originated from an edge (edge-sync context) so it is not echoed back + if (edgeSynchronizationManager.getEdgeId().get() == null) { pushRpcDeleteToEdges(tenantId, rpc); } } @@ -99,9 +102,10 @@ public class TbRpcService { body.put("requestUUID", rpc.getId().getId().toString()); body.put("rpcStatus", RpcStatus.DELETED.name()); for (EdgeId edgeId : relatedEdgeIds) { + // persisted (not high-priority) so the delete is replayed when the edge reconnects EdgeEvent edgeEvent = EdgeUtils.constructEdgeEvent(tenantId, edgeId, EdgeEventType.DEVICE, EdgeEventActionType.RPC_CALL, rpc.getDeviceId(), body); - tbClusterService.onEdgeHighPriorityMsg(new EdgeHighPriorityMsg(tenantId, edgeEvent)); + edgeEventService.saveAsync(edgeEvent); } } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/rpc/RpcStatus.java b/common/data/src/main/java/org/thingsboard/server/common/data/rpc/RpcStatus.java index f80ad59c35..5a6b04f1ac 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/rpc/RpcStatus.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/rpc/RpcStatus.java @@ -15,6 +15,11 @@ public enum RpcStatus { FAILED(false), DELETED(false); + /** + * {@code true} while the RPC is still pending in the device actor (not yet delivered/answered). + * Note: TIMEOUT is not intermediate, but it is not final either - the device actor may retry + * the delivery (TIMEOUT -> SENT/DELIVERED/QUEUED) until retries are exhausted (then FAILED). + */ @Getter private final boolean intermediate; From 45102bc728d429cba6b031328c24aa73969662cb Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 28 Sep 2026 17:39:48 +0200 Subject: [PATCH 047/559] Add edge tests for persistent RPC status and delete sync --- .../server/edge/DeviceEdgeTest.java | 119 ++++++++++++++++++ 1 file changed, 119 insertions(+) diff --git a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java index 070eda60d5..9137724ef8 100644 --- a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java @@ -38,14 +38,18 @@ import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.DeviceId; import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.RpcId; import org.thingsboard.server.common.data.ota.OtaPackageType; import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; +import org.thingsboard.server.common.data.rpc.Rpc; +import org.thingsboard.server.common.data.rpc.RpcStatus; import org.thingsboard.server.common.data.security.DeviceCredentials; import org.thingsboard.server.common.data.security.DeviceCredentialsType; import org.thingsboard.server.common.data.tenant.profile.DefaultTenantProfileConfiguration; import org.thingsboard.server.common.msg.session.FeatureType; import org.thingsboard.server.dao.edge.EdgeService; +import org.thingsboard.server.dao.rpc.RpcService; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.AttributesRequestMsg; import org.thingsboard.server.gen.edge.v1.DeviceCredentialsRequestMsg; @@ -94,6 +98,9 @@ public class DeviceEdgeTest extends AbstractEdgeTest { @Autowired protected EdgeService edgeService; + @Autowired + protected RpcService rpcService; + @Test public void testDevices() throws Exception { // create device and assign to edge; update device @@ -657,6 +664,118 @@ public class DeviceEdgeTest extends AbstractEdgeTest { Assert.assertEquals(2, latestDeviceRpcCallMsg.getRetries()); } + @Test + public void testRpcV2StatusUpdateFromEdge() throws Exception { + Device device = findDeviceByName("Edge Device 1"); + Rpc rpc = savePersistentRpc(device, RpcStatus.QUEUED); + + sendRpcStatusUplink(device, rpc.getId(), RpcStatus.DELIVERED, null); + Assert.assertEquals(RpcStatus.DELIVERED, getPersistentRpc(rpc.getId()).getStatus()); + + sendRpcStatusUplink(device, rpc.getId(), RpcStatus.SUCCESSFUL, "{\"result\":\"ok\"}"); + Rpc successful = getPersistentRpc(rpc.getId()); + Assert.assertEquals(RpcStatus.SUCCESSFUL, successful.getStatus()); + Assert.assertEquals("ok", successful.getResponse().get("result").asText()); + + // stale intermediate status must not regress a final RPC + sendRpcStatusUplink(device, rpc.getId(), RpcStatus.DELIVERED, null); + Assert.assertEquals(RpcStatus.SUCCESSFUL, getPersistentRpc(rpc.getId()).getStatus()); + } + + @Test + public void testRpcV2StatusRetryAfterTimeoutFromEdge() throws Exception { + Device device = findDeviceByName("Edge Device 1"); + Rpc rpc = savePersistentRpc(device, RpcStatus.SENT); + + // TIMEOUT with retries left is followed by a re-delivery + sendRpcStatusUplink(device, rpc.getId(), RpcStatus.TIMEOUT, null); + Assert.assertEquals(RpcStatus.TIMEOUT, getPersistentRpc(rpc.getId()).getStatus()); + + sendRpcStatusUplink(device, rpc.getId(), RpcStatus.SENT, null); + Assert.assertEquals(RpcStatus.SENT, getPersistentRpc(rpc.getId()).getStatus()); + } + + @Test + public void testRpcV2NonJsonResponseFromEdge() throws Exception { + Device device = findDeviceByName("Edge Device 1"); + Rpc rpc = savePersistentRpc(device, RpcStatus.DELIVERED); + + sendRpcStatusUplink(device, rpc.getId(), RpcStatus.SUCCESSFUL, "not a json"); + Rpc successful = getPersistentRpc(rpc.getId()); + Assert.assertEquals(RpcStatus.SUCCESSFUL, successful.getStatus()); + Assert.assertEquals("not a json", successful.getResponse().get("error").asText()); + } + + @Test + public void testRpcV2StatusForUnknownRpcFromEdge() throws Exception { + Device device = findDeviceByName("Edge Device 1"); + RpcId unknownRpcId = new RpcId(Uuids.timeBased()); + + sendRpcStatusUplink(device, unknownRpcId, RpcStatus.DELIVERED, null); + doGet("/api/rpc/persistent/" + unknownRpcId.getId()).andExpect(status().isNotFound()); + } + + @Test + public void testRpcV2DeleteFromEdge() throws Exception { + Device device = findDeviceByName("Edge Device 1"); + Rpc rpc = savePersistentRpc(device, RpcStatus.DELIVERED); + + edgeImitator.expectMessageAmount(1); + sendRpcStatusUplink(device, rpc.getId(), RpcStatus.DELETED, null); + doGet("/api/rpc/persistent/" + rpc.getUuidId()).andExpect(status().isNotFound()); + // delete originated from the edge must not be echoed back + Assert.assertFalse(edgeImitator.waitForMessages(1)); + } + + @Test + public void testRpcV2DeleteFromCloud() throws Exception { + Device device = findDeviceByName("Edge Device 1"); + Rpc rpc = savePersistentRpc(device, RpcStatus.SUCCESSFUL); + + edgeImitator.expectMessageAmount(1); + doDelete("/api/rpc/persistent/" + rpc.getUuidId()).andExpect(status().isOk()); + Assert.assertTrue(edgeImitator.waitForMessages()); + + AbstractMessage latestMessage = edgeImitator.getLatestMessage(); + Assert.assertTrue(latestMessage instanceof DeviceRpcCallMsg); + DeviceRpcCallMsg deviceRpcCallMsg = (DeviceRpcCallMsg) latestMessage; + Assert.assertEquals(RpcStatus.DELETED.name(), deviceRpcCallMsg.getRpcStatus()); + Assert.assertEquals(rpc.getUuidId(), new UUID(deviceRpcCallMsg.getRequestUuidMSB(), deviceRpcCallMsg.getRequestUuidLSB())); + Assert.assertFalse(deviceRpcCallMsg.hasRequestMsg()); + Assert.assertFalse(deviceRpcCallMsg.hasResponseMsg()); + } + + private Rpc savePersistentRpc(Device device, RpcStatus status) { + Rpc rpc = new Rpc(new RpcId(Uuids.timeBased())); + rpc.setTenantId(tenantId); + rpc.setDeviceId(device.getId()); + rpc.setExpirationTime(System.currentTimeMillis() + TimeUnit.MINUTES.toMillis(1)); + rpc.setRequest(JacksonUtil.newObjectNode().put("method", "test_method")); + rpc.setStatus(status); + return rpcService.save(rpc); + } + + private Rpc getPersistentRpc(RpcId rpcId) throws Exception { + return doGet("/api/rpc/persistent/" + rpcId.getId(), Rpc.class); + } + + private void sendRpcStatusUplink(Device device, RpcId rpcId, RpcStatus rpcStatus, String response) throws Exception { + DeviceRpcCallMsg.Builder builder = DeviceRpcCallMsg.newBuilder() + .setDeviceIdMSB(device.getUuidId().getMostSignificantBits()) + .setDeviceIdLSB(device.getUuidId().getLeastSignificantBits()) + .setRequestUuidMSB(rpcId.getId().getMostSignificantBits()) + .setRequestUuidLSB(rpcId.getId().getLeastSignificantBits()) + .setRpcStatus(rpcStatus.name()); + if (response != null) { + builder.setResponseMsg(RpcResponseMsg.newBuilder().setResponse(response).build()); + } + UplinkMsg uplinkMsg = UplinkMsg.newBuilder().addDeviceRpcCallMsg(builder.build()).build(); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + } + private void sendAttributesRequestAndVerify(Device device, String scope, String attributesDataStr, String expectedKey, String expectedValue) throws Exception { JsonNode attributesData = JacksonUtil.toJsonNode(attributesDataStr); From 24c294fa357c813e1f4baa24b412bebc5592d89b Mon Sep 17 00:00:00 2001 From: Dmytro Skarzhynets Date: Tue, 29 Sep 2026 12:41:46 +0300 Subject: [PATCH 048/559] chore: move license header template out of repository root --- pom.xml | 2 +- .../main/python/license-headers/templates/license-header.txt | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename license-header.txt => tools/src/main/python/license-headers/templates/license-header.txt (100%) diff --git a/pom.xml b/pom.xml index 76920fadeb..e8f42b3243 100755 --- a/pom.xml +++ b/pom.xml @@ -891,7 +891,7 @@ -
${main.dir}/license-header.txt
+
${main.dir}/tools/src/main/python/license-headers/templates/license-header.txt
**/.env **/*.env diff --git a/license-header.txt b/tools/src/main/python/license-headers/templates/license-header.txt similarity index 100% rename from license-header.txt rename to tools/src/main/python/license-headers/templates/license-header.txt From cee24cff5d071d60274876726b7127b29f33d4c4 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 29 Sep 2026 12:41:52 +0300 Subject: [PATCH 049/559] Update banner --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a36b0ad847..36396310d9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![banner](https://github.com/user-attachments/assets/25e87623-bc08-429e-9239-abf92800034a) +![banner](https://github.com/user-attachments/assets/526ba5f6-0944-4613-aac4-19a76158aa48)
From 76cc057266a5ddf205b344b606911f8d84042c48 Mon Sep 17 00:00:00 2001 From: Dmytro Skarzhynets Date: Tue, 29 Sep 2026 12:44:21 +0300 Subject: [PATCH 050/559] chore: move remaining license header templates out of repository root --- pom.xml | 4 ++-- .../main/python/license-headers/check_license_headers.py | 7 ++++--- .../license-headers/templates/license-header-busl.txt | 0 .../templates/license-header-ce-modified.txt | 0 .../python/license-headers/test_check_license_headers.py | 1 + 5 files changed, 7 insertions(+), 5 deletions(-) rename license-header-busl.txt => tools/src/main/python/license-headers/templates/license-header-busl.txt (100%) rename license-header-ce-modified.txt => tools/src/main/python/license-headers/templates/license-header-ce-modified.txt (100%) diff --git a/pom.xml b/pom.xml index c61ba01499..2c29074a8c 100755 --- a/pom.xml +++ b/pom.xml @@ -937,10 +937,10 @@ -
${main.dir}/license-header-busl.txt
+
${main.dir}/tools/src/main/python/license-headers/templates/license-header-busl.txt
${main.dir}/tools/src/main/python/license-headers/templates/license-header.txt - ${main.dir}/license-header-ce-modified.txt + ${main.dir}/tools/src/main/python/license-headers/templates/license-header-ce-modified.txt **/.env diff --git a/tools/src/main/python/license-headers/check_license_headers.py b/tools/src/main/python/license-headers/check_license_headers.py index 5d54b40db0..13ff9f75ad 100644 --- a/tools/src/main/python/license-headers/check_license_headers.py +++ b/tools/src/main/python/license-headers/check_license_headers.py @@ -25,9 +25,9 @@ import xml.etree.ElementTree as ET TEMPLATES = { - "apache": "license-header.txt", - "ce-modified": "license-header-ce-modified.txt", - "pe-only": "license-header-busl.txt", + "apache": "tools/src/main/python/license-headers/templates/license-header.txt", + "ce-modified": "tools/src/main/python/license-headers/templates/license-header-ce-modified.txt", + "pe-only": "tools/src/main/python/license-headers/templates/license-header-busl.txt", } CE_REMOTE = "https://github.com/thingsboard/thingsboard.git" CURATIONS = "tools/src/main/python/license-headers/curations.json" @@ -509,6 +509,7 @@ class Mycila: self.sentinel = ("license-provenance-" + uuid.uuid4().hex).encode("ascii") self.templates = {header: (repo / name).read_bytes() for header, name in TEMPLATES.items()} for header, name in TEMPLATES.items(): + (directory / name).parent.mkdir(parents=True, exist_ok=True) (directory / name).write_bytes(self.templates[header]) def add(self, key, name, content): diff --git a/license-header-busl.txt b/tools/src/main/python/license-headers/templates/license-header-busl.txt similarity index 100% rename from license-header-busl.txt rename to tools/src/main/python/license-headers/templates/license-header-busl.txt diff --git a/license-header-ce-modified.txt b/tools/src/main/python/license-headers/templates/license-header-ce-modified.txt similarity index 100% rename from license-header-ce-modified.txt rename to tools/src/main/python/license-headers/templates/license-header-ce-modified.txt diff --git a/tools/src/main/python/license-headers/test_check_license_headers.py b/tools/src/main/python/license-headers/test_check_license_headers.py index b2efdfeb88..e017fad801 100644 --- a/tools/src/main/python/license-headers/test_check_license_headers.py +++ b/tools/src/main/python/license-headers/test_check_license_headers.py @@ -386,6 +386,7 @@ class GitHistoryTests(unittest.TestCase): def test_normalized_copy_search_is_bounded_and_ignores_empty_sources(self): repo = temporary_directory(self) for name in p.TEMPLATES.values(): + (repo / name).parent.mkdir(parents=True, exist_ok=True) (repo / name).write_text("fixture header\n") tool = p.Mycila(repo, temporary_directory(self), fixture_plugin()) source, empty = ("Source.java", "blob"), ("Empty.java", "empty") From ca95ecd4423292cae76372f3259bef6d22ae3df0 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 29 Sep 2026 13:40:19 +0300 Subject: [PATCH 051/559] feat(iot-hub): show the search popup as one ranked list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The popup asked /api/versions/published/grouped and rendered one section per item type, so a query answered best by a widget still opened on devices. It now asks for page 0 of the flat read the search page makes (relevance sort, 10 rows) and renders those rows in the server's order, so the best match leads whatever its type. - Each row names its type before the author ("Widget · pinkevych.d"), in the type's colour with its itemTypeIcons icon. The verified mark moves in front of the author like on the item cards; an unverified author keeps the person icon. - Items without a screenshot (calculated fields, alarm rules, rule chains) sit in the same 99x56 frame as a screenshot with a 36px coloured tile inside, so names line up down the list. - The footer says "See all N results for ..." when the search matched more than the popup shows; N discounts the rows this page dropped (dashboards). - itemTypeColors joins itemTypeIcons as the one type palette; the hero reads it instead of repeating the six colours. Removes getPublishedVersionsGrouped, MpItemVersionGroupedQuery, MpItemVersionSection and the iot-hub.section-more key. --- .../src/app/core/http/iot-hub-api.service.ts | 16 --- .../pages/iot-hub/iot-hub-home.component.html | 67 ++++++----- .../pages/iot-hub/iot-hub-home.component.scss | 112 +++++++++--------- .../pages/iot-hub/iot-hub-home.component.ts | 100 +++++++--------- .../models/iot-hub/iot-hub-item.models.ts | 15 +++ .../models/iot-hub/iot-hub-version.models.ts | 38 ------ .../assets/locale/locale.constant-en_US.json | 2 +- 7 files changed, 151 insertions(+), 199 deletions(-) diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 7f3b299962..c5037048fb 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -7,10 +7,8 @@ import { Observable } from 'rxjs'; import { PageData } from '@shared/models/page/page-data'; import { PageLink } from '@shared/models/page/page-link'; import { - MpItemVersionGroupedQuery, MpItemVersionQuery, MpItemVersionQueryOptions, - MpItemVersionSection, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { CreatorView } from '@shared/models/iot-hub/iot-hub-creator.models'; @@ -82,20 +80,6 @@ export class IotHubApiService { ); } - /** - * The sectioned answer: one section per item type, in the server's order, each capped by the - * server and carrying the total behind that cap. Its own endpoint, which takes no page, page - * size or sort direction. - */ - public getPublishedVersionsGrouped(query: MpItemVersionGroupedQuery, - config?: IotHubRequestConfig): Observable { - this.applyPlatformFilters(query.options); - return this.http.get( - `${this.baseUrl}/api/versions/published/grouped${query.toQuery()}`, - { params: this.buildParams(config) } - ); - } - /** * What this platform can install, filled in for a caller that did not say: items built for a * newer ThingsBoard, and PE-only items on a CE instance, cannot be installed from here. diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html index 564f89ca46..5963c9e536 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html @@ -72,7 +72,7 @@ - } @else if (searchResultGroups.length === 0 && searchLoaded) { + } @else if (searchResults.length === 0 && searchLoaded) {
search_off @@ -84,48 +84,53 @@
} @else { - @for (group of searchResultGroups; track group.type) { - - {{ getSearchGroupLabel(group.type) }} - @if (group.remaining > 0) { - - {{ 'iot-hub.section-more' | translate:{ count: group.remaining } }} - chevron_right - - } - - @for (item of group.items; track item.id) { - + @for (item of searchResults; track item.id) { + + +
@if (isCompactType(item.type)) {
{{ getCompactIcon(item) }}
+ } @else if (getItemImage(item); as imgUrl) { + } @else { -
- @if (getItemImage(item); as imgUrl) { - - } @else { - {{ getItemTypeIcon(item.type) }} - } -
+ {{ getItemTypeIcon(item.type) }} } -
- {{ item.name }} - - person - {{ item.creatorDisplayName }} +
+
+ {{ item.name }} + + + + {{ getItemTypeIcon(item.type) }} + {{ getItemTypeLabel(item.type) }} -
- - } + @if (item.creatorDisplayName) { + + @if (item.creatorVerified) { + verified + } @else { + person + } + {{ item.creatorDisplayName }} + + } + +
+
} } @if (searchText?.trim(); as query) { - {{ 'iot-hub.see-results-for' | translate:{ search: query } }} + @if (searchTotal > searchResults.length) { + {{ 'iot-hub.see-all-results-for' | translate:{ count: searchTotal, search: query } }} + } @else { + {{ 'iot-hub.see-results-for' | translate:{ search: query } }} + } } @else { {{ 'iot-hub.see-all-results' | translate }} } diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss index 8a89ebae44..157d6e1faf 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss @@ -241,53 +241,6 @@ } } - // Section header — an option like every other row, not a button beside them, so the arrow keys - // reach it and a screen reader reads it in the list. It IS the way into the type page: title - // left, how much is not shown plus a chevron right. There is deliberately no per-section - // "see all" row under the items; six of those on one panel is what this variant avoids. - // Design: 14px Medium, 0.25 tracking, black-tertiary, 4px V / 16px H, 12px above each section. - .mat-mdc-option.tb-search-popup-group-header { - padding: 4px 16px; - min-height: 28px; - margin-top: 12px; - - &:first-child { - margin-top: 0; - } - - .mdc-list-item__primary-text { - justify-content: space-between; - } - } - - .tb-search-popup-group-label { - font-size: 14px; - font-weight: 500; - line-height: 20px; - letter-spacing: 0.25px; - color: rgba(0, 0, 0, 0.54); - white-space: nowrap; - } - - .tb-search-popup-group-more { - display: flex; - align-items: center; - gap: 2px; - flex-shrink: 0; - font-size: 12px; - font-weight: 500; - line-height: 16px; - letter-spacing: 0.25px; - color: $tb-primary-color; - - .mat-icon { - width: 18px; - height: 18px; - font-size: 18px; - line-height: 18px; - } - } - // Item row — Design: 8px V / 16px H, 16px gap, centered .mat-mdc-option.tb-search-popup-item { padding: 8px 16px; @@ -322,11 +275,11 @@ color: rgba(0, 0, 0, 0.38); } - // Icon square — Design: 56x56, 4.667px radius, colored bg + // Icon tile for an item with no screenshot, centred in the thumbnail frame: 36x36, colored bg .tb-search-popup-icon-square { - width: 56px; - height: 56px; - border-radius: 4.667px; + width: 36px; + height: 36px; + border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; @@ -334,9 +287,9 @@ } .tb-search-popup-icon-inner { - font-size: 28px; - width: 28px; - height: 28px; + font-size: 22px; + width: 22px; + height: 22px; color: white !important; --tb-icon-color: white; } @@ -373,13 +326,64 @@ letter-spacing: 0.25px; color: rgba(0, 0, 0, 0.54); white-space: nowrap; + min-width: 0; mat-icon { + flex-shrink: 0; font-size: 16px; width: 16px; height: 16px; margin-right: 0; color: rgba(0, 0, 0, 0.54); + + // Same teal the IoT Hub item cards give a verified creator. + &.tb-search-popup-verified { + color: #00695c; + } + } + } + + // Shares the meta row with the item type, so a long name is cut rather than overflowing. + .tb-search-popup-author-name { + overflow: hidden; + text-overflow: ellipsis; + } + + // Meta row: the item type, a middle dot, then the author - "Widget · pinkevych.d". + .tb-search-popup-meta { + display: flex; + align-items: center; + gap: 4px; + min-width: 0; + } + + // Item type in its own colour, darkened so the paler ones (rule chain, calculated field) stay + // legible as text. + .tb-search-popup-type { + display: flex; + align-items: center; + gap: 4px; + flex-shrink: 0; + font-size: 12px; + font-weight: 500; + line-height: 16px; + letter-spacing: 0.25px; + color: color-mix(in srgb, var(--tb-search-popup-type-color, #5f6368) 75%, #000); + white-space: nowrap; + + tb-icon { + font-size: 14px; + width: 14px; + height: 14px; + line-height: 14px; + color: inherit; + } + + // No author, nothing to separate from. + &:not(:last-child)::after { + content: '·'; + font-weight: 700; + color: rgba(0, 0, 0, 0.54); } } diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index cf242faeb3..c7c6a9ad07 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -10,16 +10,14 @@ import { catchError, debounceTime, distinctUntilChanged, switchMap } from 'rxjs/ import { MediaBreakpoints } from '@shared/models/constants'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; -import { - MpItemVersionGroupedQuery, - MpItemVersionQuery, - MpItemVersionSection, - MpItemVersionView -} from '@shared/models/iot-hub/iot-hub-version.models'; +import { PageData } from '@shared/models/page/page-data'; +import { MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { CROSS_TYPE_ITEM_TYPES, + getItemTypeColor, getItemTypeIcon, ItemType, + itemTypeColors, itemTypeTranslations, RELEVANCE_SORT_PROPERTY } from '@shared/models/iot-hub/iot-hub-item.models'; @@ -44,12 +42,11 @@ interface HeroTypeConfig { icon: string; } -interface SearchResultGroup { - type: ItemType; - items: MpItemVersionView[]; - /** How many rows of this type the header offers beyond the ones shown. Zero renders no "+N more". */ - remaining: number; -} +/** + * Rows the search popup shows: the first page of the search page's own request, so the popup is + * a preview of what "See results for ..." opens on. + */ +const SEARCH_POPUP_PAGE_SIZE = 10; @Component({ selector: 'tb-iot-hub-home', @@ -62,7 +59,13 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { readonly ItemType = ItemType; searchText = ''; - searchResultGroups: SearchResultGroup[] = []; + searchResults: MpItemVersionView[] = []; + /** + * What the footer's "See all N results" counts: the matches less the rows this page dropped, so + * a panel that shows everything it can open never claims more. Rows beyond this page that the + * panel could not show are still counted - only this page's drops are known. + */ + searchTotal = 0; searchLoaded = false; searchLoading = false; @ViewChild(MatAutocompleteTrigger) searchAutoTrigger: MatAutocompleteTrigger; @@ -74,27 +77,27 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { heroTypes: HeroTypeConfig[] = [ { - type: ItemType.DEVICE, labelKey: 'item.type-device-plural', color: '#4b63cc', + type: ItemType.DEVICE, labelKey: 'item.type-device-plural', color: itemTypeColors[ItemType.DEVICE], icon: 'assets/iot-hub/hero-device-cluster.svg' }, { - type: ItemType.SOLUTION_TEMPLATE, labelKey: 'item.type-solution-template-plural', color: '#2b6bb4', + type: ItemType.SOLUTION_TEMPLATE, labelKey: 'item.type-solution-template-plural', color: itemTypeColors[ItemType.SOLUTION_TEMPLATE], icon: 'assets/iot-hub/hero-solution-template-cluster.svg' }, { - type: ItemType.WIDGET, labelKey: 'item.type-widget-plural', color: '#2c9755', + type: ItemType.WIDGET, labelKey: 'item.type-widget-plural', color: itemTypeColors[ItemType.WIDGET], icon: 'assets/iot-hub/hero-widget-cluster.svg' }, { - type: ItemType.CALCULATED_FIELD, labelKey: 'item.type-calculated-field-plural', color: '#3cb4e0', + type: ItemType.CALCULATED_FIELD, labelKey: 'item.type-calculated-field-plural', color: itemTypeColors[ItemType.CALCULATED_FIELD], icon: 'assets/iot-hub/hero-calculated-field-cluster.svg' }, { - type: ItemType.ALARM_RULE, labelKey: 'item.type-alarm-rule-plural', color: '#d66f2e', + type: ItemType.ALARM_RULE, labelKey: 'item.type-alarm-rule-plural', color: itemTypeColors[ItemType.ALARM_RULE], icon: 'assets/iot-hub/hero-alarm-rule-cluster.svg' }, { - type: ItemType.RULE_CHAIN, labelKey: 'item.type-rule-chain-plural', color: '#a95ae2', + type: ItemType.RULE_CHAIN, labelKey: 'item.type-rule-chain-plural', color: itemTypeColors[ItemType.RULE_CHAIN], icon: 'assets/iot-hub/hero-rule-chain-cluster.svg' } ]; @@ -166,18 +169,26 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { switchMap(text => { this.searchLoading = true; const trimmed = text.trim(); + // One flat list ranked across every type, so the best match leads whatever its type. // Relevance in both states, the same value every other IoT Hub surface sends: with an // empty field the backend serves the install count under this key, so the panel opens on // popularity without this component having to know it. - const query = new MpItemVersionGroupedQuery({}, trimmed, RELEVANCE_SORT_PROPERTY); + const sortOrder: SortOrder = { property: RELEVANCE_SORT_PROPERTY, direction: Direction.DESC }; + const pageLink = new PageLink(SEARCH_POPUP_PAGE_SIZE, 0, trimmed || null, sortOrder); + const query = new MpItemVersionQuery(pageLink); // A failed request must not end the subscription: the interceptor reports it, and the // panel goes back to an empty answer the next keystroke can replace. - return this.iotHubApiService.getPublishedVersionsGrouped(query, { ignoreLoading: true }).pipe( - catchError(() => of([] as MpItemVersionSection[])) + return this.iotHubApiService.getPublishedVersions(query, { ignoreLoading: true }).pipe( + catchError(() => of({ data: [], totalElements: 0 } as PageData)) ); }) - ).subscribe(sections => { - this.searchResultGroups = this.toResultGroups(sections); + ).subscribe(page => { + // The platform publishes no dashboards, so a type this panel has no layout for is dropped; + // the popup then shows fewer rows rather than asking for more. + const data = page.data ?? []; + this.searchResults = data.filter(item => CROSS_TYPE_ITEM_TYPES.includes(item.type)); + this.searchTotal = Math.max(this.searchResults.length, + (page.totalElements ?? 0) - (data.length - this.searchResults.length)); this.searchLoaded = true; this.searchLoading = false; }); @@ -285,17 +296,6 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { void this.router.navigate(['/iot-hub/search'], { queryParams: { search } }); } - /** - * The section header is the way into the rest of a type - the panel carries no per-section - * "see all" row, which would put six identical calls to action on one panel. The query goes - * with it, so the type page opens on the same search rather than on the whole type. - */ - navigateToSection(type: ItemType): void { - this.searchAutoTrigger?.closePanel(); - const search = this.searchText?.trim() || undefined; - void this.router.navigate(['/iot-hub', this.getTypeRoute(type)], { queryParams: { search } }); - } - isCompactType(type: ItemType): boolean { return type === ItemType.CALCULATED_FIELD || type === ItemType.ALARM_RULE @@ -314,9 +314,13 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { return getItemTypeIcon(type); } - getSearchGroupLabel(type: ItemType): string { + getItemTypeColor(type: ItemType): string { + return getItemTypeColor(type); + } + + getItemTypeLabel(type: ItemType): string { const key = itemTypeTranslations.get(type); - return key ? this.translate.instant(key + '-plural') : type; + return key ? this.translate.instant(key) : type; } navigateToBrowse(type: ItemType): void { @@ -582,26 +586,4 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { }); } - /** - * Reads the sections the server built: they arrive capped and in the order to render them, so - * this only drops the types this panel has no layout for - the platform publishes no dashboards - * - and works out each header's "+N more". - * - * `items` is defaulted because the response is an unvalidated cast of a new endpoint, and a - * throw here lands in a subscribe callback, where it would leave the panel on its spinner - * rather than reaching the catchError upstream. - */ - private toResultGroups(sections: MpItemVersionSection[]): SearchResultGroup[] { - return sections - .filter(section => CROSS_TYPE_ITEM_TYPES.includes(section.itemType)) - .map(section => { - const items = section.items ?? []; - return { - type: section.itemType, - items, - remaining: Math.max(0, section.total - items.length) - }; - }); - } - } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts index 8fbe84440b..e21582ea1a 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts @@ -41,6 +41,21 @@ export const itemTypeIcons: Record = { export const getItemTypeIcon = (type?: string | null): string => type && itemTypeIcons[type] ? itemTypeIcons[type] : 'category'; +// Canonical colour per item type - the IoT Hub home's type palette - for anything that marks an +// item's type with a colour: the hero's type cycle and the search popup's type label. +export const itemTypeColors: Record = { + [ItemType.WIDGET]: '#2c9755', + [ItemType.DASHBOARD]: '#5f6368', + [ItemType.SOLUTION_TEMPLATE]: '#2b6bb4', + [ItemType.CALCULATED_FIELD]: '#3cb4e0', + [ItemType.RULE_CHAIN]: '#a95ae2', + [ItemType.ALARM_RULE]: '#d66f2e', + [ItemType.DEVICE]: '#4b63cc' +}; + +export const getItemTypeColor = (type?: string | null): string => + type && itemTypeColors[type] ? itemTypeColors[type] : '#5f6368'; + /** * Item types discoverable to creators in the marketplace UI. * DASHBOARD is intentionally absent (IoT Hub no longer accepts Dashboard contributions). diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts index a5afaea23c..685fc27cb1 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts @@ -108,17 +108,6 @@ export interface MpItemVersionView { checksum?: string; } -/** - * One item type's share of a grouped search: the rows to show and how many exist behind them. - * A grouped answer is a list of these, in the server's section order, and a type nothing matched - * has no section — so a "+N more" header is `total - items.length`. - */ -export interface MpItemVersionSection { - itemType: ItemType; - total: number; - items: MpItemVersionView[]; -} - // 404 body shapes returned by the public listing item-version endpoint // (GET /api/listings/public/by-slug/{slug}/item-version) when no // version matches the caller's edition / platform combination. @@ -208,30 +197,3 @@ export class MpItemVersionQuery { return this.pageLink.toQuery() + filtersToQuery(this.options); } } - -/** - * A sectioned read: the filters, what to search for, and which key orders a section. - * - * No `PageLink`, because the grouped endpoint takes no page and no page size - it sizes its own - * answer from the section limit - and no sort direction either, each key's direction being fixed - * by the chain the server switches on. A page link here could only carry values nobody sends. - */ -export class MpItemVersionGroupedQuery { - constructor(public options: MpItemVersionQueryOptions = {}, - public textSearch?: string, - public sortProperty?: string) {} - - public toQuery(): string { - const parts: string[] = []; - const text = this.textSearch?.trim(); - if (text?.length) { - parts.push(`textSearch=${encodeURIComponent(text)}`); - } - if (this.sortProperty) { - parts.push(`sortProperty=${this.sortProperty}`); - } - // filtersToQuery() emits leading ampersands, which is what a page link needs in front of it; - // here they may be the whole query string, so the first one is dropped. - return `?${`${parts.join('&')}${filtersToQuery(this.options)}`.replace(/^&/, '')}`; - } -} diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index e19cb64cff..f3818e8179 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3708,6 +3708,7 @@ "search": "Search...", "search-published-items": "Search published items...", "see-all-results": "See all results", + "see-all-results-for": "See all {{ count }} results for \"{{ search }}\"", "see-results-for": "See results for \"{{ search }}\"", "no-search-results": "No results found for '{{ search }}'", "no-items-available": "No items available", @@ -3780,7 +3781,6 @@ "sort-most-installed": "Most installed", "sort-newest": "Newest", "sort-name": "Name (A-Z)", - "section-more": "{ count, plural, =1 {+1 more} other {+# more} }", "type-filter-label": "Type", "category": "Category", "use-case": "Use case", From 9990d4483dae63bfbe7773599e2f717bb41c6091 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 29 Sep 2026 14:31:07 +0200 Subject: [PATCH 052/559] Resolve gateway MQTT port from connectivity settings in agent app template merge --- .../service/agent/config/MergeHostValuesRule.java | 7 ++++++- .../agent/config/MergeHostValuesRuleTest.java | 13 ++++++++++++- .../dao/device/DeviceConnectivityService.java | 2 ++ .../dao/device/DeviceConnectivityServiceImpl.java | 12 +++++++++++- 4 files changed, 31 insertions(+), 3 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/agent/config/MergeHostValuesRule.java b/application/src/main/java/org/thingsboard/server/service/agent/config/MergeHostValuesRule.java index 221a7e1da8..67956826c9 100644 --- a/application/src/main/java/org/thingsboard/server/service/agent/config/MergeHostValuesRule.java +++ b/application/src/main/java/org/thingsboard/server/service/agent/config/MergeHostValuesRule.java @@ -96,11 +96,16 @@ public class MergeHostValuesRule implements AppConfigMergeRule { log.warn("Skipping gateway host merge: resolveGatewayHost returned blank for baseUrl [{}]", baseUrl); return; } + String port = deviceConnectivityService.resolveGatewayPort(); + if (StringUtils.isBlank(port)) { + log.debug("Gateway MQTT port is not configured in connectivity settings, using default [{}]", GATEWAY_DEFAULT_PORT); + port = GATEWAY_DEFAULT_PORT; + } var imagePattern = AgentApplicationType.GATEWAY.getMainImagePattern(); GatewayEnvSchema schema = GatewayEnvSchema.detect(compose, imagePattern); Map envVars = Map.of( schema.getHostKey(), host, - schema.getPortKey(), GATEWAY_DEFAULT_PORT + schema.getPortKey(), port ); DockerComposeUtils.setEnvVariables(compose, imagePattern, envVars); } diff --git a/application/src/test/java/org/thingsboard/server/service/agent/config/MergeHostValuesRuleTest.java b/application/src/test/java/org/thingsboard/server/service/agent/config/MergeHostValuesRuleTest.java index ddc1074d10..300388bd25 100644 --- a/application/src/test/java/org/thingsboard/server/service/agent/config/MergeHostValuesRuleTest.java +++ b/application/src/test/java/org/thingsboard/server/service/agent/config/MergeHostValuesRuleTest.java @@ -116,20 +116,31 @@ class MergeHostValuesRuleTest { @Test void apply_setsGatewayHostAndPort() { when(deviceConnectivityService.resolveGatewayHost("http://demo.example.com:8080")).thenReturn("demo.example.com"); + when(deviceConnectivityService.resolveGatewayPort()).thenReturn("8883"); AgentApplication app = gatewayApp(); rule.apply(app, ctx(true, "http://demo.example.com:8080")); assertEquals("demo.example.com", env(app, "TB_GW_HOST")); + assertEquals("8883", env(app, "TB_GW_PORT")); + } + + @Test + void apply_fallsBackToDefaultGatewayPort_whenPortNotConfigured() { + when(deviceConnectivityService.resolveGatewayHost("http://demo.example.com:8080")).thenReturn("demo.example.com"); + when(deviceConnectivityService.resolveGatewayPort()).thenReturn(null); + AgentApplication app = gatewayApp(); + rule.apply(app, ctx(true, "http://demo.example.com:8080")); assertEquals("1883", env(app, "TB_GW_PORT")); } @Test void apply_setsLegacyGatewayHostAndPort_whenComposeUsesLegacyEnvNames() { when(deviceConnectivityService.resolveGatewayHost("http://demo.example.com:8080")).thenReturn("demo.example.com"); + when(deviceConnectivityService.resolveGatewayPort()).thenReturn("1884"); AgentApplication app = app(AgentApplicationType.GATEWAY, GATEWAY_IMAGE); addEnv(app, "host", "port", "accessToken"); rule.apply(app, ctx(true, "http://demo.example.com:8080")); assertEquals("demo.example.com", env(app, "host")); - assertEquals("1883", env(app, "port")); + assertEquals("1884", env(app, "port")); assertFalse(compose(app).get("services").get("main").get("environment").has("TB_GW_HOST")); } diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java index 29e8f2a490..4bd0ab255d 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java @@ -22,4 +22,6 @@ public interface DeviceConnectivityService { Resource createGatewayDockerComposeFile(String baseUrl, Device device, DockerComposeParams params) throws URISyntaxException; String resolveGatewayHost(String baseUrl); + + String resolveGatewayPort(); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java index ff8a813d96..8cb6d64c00 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java @@ -164,7 +164,7 @@ public class DeviceConnectivityServiceImpl implements DeviceConnectivityService return null; } try { - String mqttType = isEnabled(MQTTS) ? MQTTS : MQTT; + String mqttType = resolveGatewayMqttType(); DeviceConnectivityInfo properties = getConnectivity(mqttType); String host = DeviceConnectivityUtil.getHost(baseUrl, properties, mqttType); return DeviceConnectivityUtil.isLocalhost(host) ? DeviceConnectivityUtil.HOST_DOCKER_INTERNAL : host; @@ -174,6 +174,16 @@ public class DeviceConnectivityServiceImpl implements DeviceConnectivityService } } + @Override + public String resolveGatewayPort() { + DeviceConnectivityInfo properties = getConnectivity(resolveGatewayMqttType()); + return properties == null ? null : StringUtils.trimToNull(getPort(properties)); + } + + private String resolveGatewayMqttType() { + return isEnabled(MQTTS) ? MQTTS : MQTT; + } + private DeviceConnectivityInfo getConnectivity(String protocol) { AdminSettings connectivitySettings = adminSettingsService.findAdminSettingsByKey(TenantId.SYS_TENANT_ID, "connectivity"); JsonNode connectivity; From 368d6fd94d5a9c01998c0442c8527a7f32ccdb5f Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 29 Sep 2026 17:16:06 +0300 Subject: [PATCH 053/559] refactor(iot-hub): one source for the platform scope and the type palette's default From the review: - iot-hub-api.service builds peOnly/tbVersion from one platformScope(), used by applyPlatformFilters and by the reads that wrote the pair into the URL by hand (filterInfo, widgetCategories, the listing item-version lookup). - DEFAULT_ITEM_TYPE_COLOR names the grey the palette falls back to; the alarm-rules-unavailable page reads itemTypeColors instead of its own copy. - isCompactItemType() next to CROSS_TYPE_ITEM_TYPES, used by the item card and the popup. - A stale "shared by both query shapes" comment left from the grouped query, and other comments, trimmed to the non-obvious intent. --- .../src/app/core/http/iot-hub-api.service.ts | 34 +++++++++---------- .../components/iot-hub/_iot-hub-common.scss | 8 +---- .../iot-hub/iot-hub-item-card.component.html | 3 +- .../iot-hub/iot-hub-item-card.component.ts | 15 +++----- ...-alarm-rules-unavailable-page.component.ts | 4 +-- .../iot-hub-creator-profile.component.html | 2 -- .../models/iot-hub/iot-hub-item.models.ts | 33 +++++++----------- .../models/iot-hub/iot-hub-version.models.ts | 9 ++--- 8 files changed, 40 insertions(+), 68 deletions(-) diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index c5037048fb..fe579b5b88 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -80,31 +80,31 @@ export class IotHubApiService { ); } - /** - * What this platform can install, filled in for a caller that did not say: items built for a - * newer ThingsBoard, and PE-only items on a CE instance, cannot be installed from here. - */ + /** What this platform can install: no PE-only items, nothing built for a newer ThingsBoard. */ + private platformScope(): { peOnly: boolean; tbVersion: number } { + return { peOnly: false, tbVersion: tbVersionToInt(env.tbVersion) }; + } + + /** Fills in the platform scope wherever the caller did not set it. */ private applyPlatformFilters(options: MpItemVersionQueryOptions): void { - if (options.tbVersion == null) { - options.tbVersion = tbVersionToInt(env.tbVersion); - } - if (options.peOnly == null) { - options.peOnly = false; - } + const scope = this.platformScope(); + options.tbVersion ??= scope.tbVersion; + options.peOnly ??= scope.peOnly; + } + + private platformScopeParams(): string[] { + const scope = this.platformScope(); + return [`peOnly=${scope.peOnly}`, `tbVersion=${scope.tbVersion}`]; } public getFilterInfo(itemType: ItemType, config?: IotHubRequestConfig): Observable { - const url = `${this.baseUrl}/api/item-listing/filterInfo/${itemType}` - + `?peOnly=false&tbVersion=${tbVersionToInt(env.tbVersion)}`; + const url = `${this.baseUrl}/api/item-listing/filterInfo/${itemType}?${this.platformScopeParams().join('&')}`; return this.http.get(url, { params: this.buildParams(config) }); } public getWidgetCategories(textSearch?: string, scadaFirst?: boolean, config?: IotHubRequestConfig): Observable { - const queryParams: string[] = [ - `peOnly=false`, - `tbVersion=${tbVersionToInt(env.tbVersion)}` - ]; + const queryParams: string[] = this.platformScopeParams(); if (textSearch?.trim()) { queryParams.push(`textSearch=${encodeURIComponent(textSearch.trim())}`); } @@ -144,7 +144,7 @@ export class IotHubApiService { public getListingItemVersion(slug: string, config?: IotHubRequestConfig): Observable { const queryParams = [ 'ce=true', - `tbVersion=${tbVersionToInt(env.tbVersion)}` + `tbVersion=${this.platformScope().tbVersion}` ]; return this.http.get( `${this.baseUrl}/api/listings/public/by-slug/${encodeURIComponent(slug)}/item-version?${queryParams.join('&')}`, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/_iot-hub-common.scss b/ui-ngx/src/app/modules/home/components/iot-hub/_iot-hub-common.scss index 96697ebe74..b6264d6ce3 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/_iot-hub-common.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/_iot-hub-common.scss @@ -120,13 +120,7 @@ } } -// Scroll area that shows its thumb only while the container is hovered — the filter panels' -// own treatment, kept here so the two that use it cannot drift apart. -// -// Not the app-wide one: theme.scss keeps its thumb permanently visible. Whether these panels -// should do the same, and whether to add the standardised scrollbar-width / scrollbar-color -// that Firefox reads, is a question for the IoT Hub filter UI as a whole rather than for one -// panel; iot-hub-browse and dashboard-widget-select carry copies of this same treatment. +// Scroll area whose thumb shows only while the container is hovered (the filter panels'). @mixin tb-iot-hub-hover-scrollbar { &::-webkit-scrollbar { width: 6px; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.html index 16bca59bf7..4a73740979 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.html @@ -78,8 +78,7 @@ } @else {
- + {{ getPlaceholderIcon() }}
} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.ts index f57582fb29..123de28c3f 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-card.component.ts @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import { Component, EventEmitter, Input, Output } from '@angular/core'; import { MpItemVersionView, cfTypeTranslations, cfTypeIcons, ruleChainTypeTranslations, widgetTypeTranslations } from '@shared/models/iot-hub/iot-hub-version.models'; -import { getItemTypeIcon, ItemType } from '@shared/models/iot-hub/iot-hub-item.models'; +import { getItemTypeIcon, isCompactItemType, ItemType } from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { TranslateService } from '@ngx-translate/core'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; @@ -24,13 +24,8 @@ export class TbIotHubItemCardComponent { @Input() showSubtype = false; @Input() mode: 'default' | 'add' = 'default'; /** - * `auto` lets the item's type choose, which is what a single-type grid wants: calculated - * fields, alarm rules and rule chains have nothing to preview, so they get a compact row and - * the grid gives them wider cells. - * - * `preview` forces the tall card on every type. A grid that mixes types cannot widen its - * cells for some rows only, and a horizontal row squeezed into a cell sized for a preview - * truncates its own title and leaves the rest of the cell empty. + * `auto`: compact row for the types with nothing to preview (single-type grids widen their + * cells for it). `preview`: the tall card for every type, for grids that mix types. */ @Input() layout: 'auto' | 'preview' = 'auto'; @Output() cardClick = new EventEmitter(); @@ -60,9 +55,7 @@ export class TbIotHubItemCardComponent { if (this.layout === 'preview') { return false; } - return this.item.type === ItemType.CALCULATED_FIELD - || this.item.type === ItemType.ALARM_RULE - || this.item.type === ItemType.RULE_CHAIN; + return isCompactItemType(this.item.type); } getPreviewUrl(): string | null { diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-alarm-rules-unavailable-page.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-alarm-rules-unavailable-page.component.ts index c648eeb14a..f8ec79e525 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-alarm-rules-unavailable-page.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-alarm-rules-unavailable-page.component.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; import { Router } from '@angular/router'; import { environment as env } from '@env/environment'; +import { ItemType, itemTypeColors } from '@shared/models/iot-hub/iot-hub-item.models'; @Component({ selector: 'tb-iot-hub-alarm-rules-unavailable-page', @@ -12,8 +13,7 @@ import { environment as env } from '@env/environment'; }) export class TbIotHubAlarmRulesUnavailablePageComponent { - // Same colour as the ALARM_RULE HeroTypeConfig entry on the home page. - readonly alarmRulesColor = '#d66f2e'; + readonly alarmRulesColor = itemTypeColors[ItemType.ALARM_RULE]; readonly currentTbVersion: string = env.tbVersion; diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html index 51d834e8ed..42f92fc3d1 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html @@ -96,8 +96,6 @@
-

diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts index e21582ea1a..ea2077e634 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts @@ -41,11 +41,13 @@ export const itemTypeIcons: Record = { export const getItemTypeIcon = (type?: string | null): string => type && itemTypeIcons[type] ? itemTypeIcons[type] : 'category'; -// Canonical colour per item type - the IoT Hub home's type palette - for anything that marks an -// item's type with a colour: the hero's type cycle and the search popup's type label. +/** Colour for a type with no colour of its own. */ +export const DEFAULT_ITEM_TYPE_COLOR = '#5f6368'; + +/** Colour per item type, wherever an item's type is marked with one. */ export const itemTypeColors: Record = { [ItemType.WIDGET]: '#2c9755', - [ItemType.DASHBOARD]: '#5f6368', + [ItemType.DASHBOARD]: DEFAULT_ITEM_TYPE_COLOR, [ItemType.SOLUTION_TEMPLATE]: '#2b6bb4', [ItemType.CALCULATED_FIELD]: '#3cb4e0', [ItemType.RULE_CHAIN]: '#a95ae2', @@ -54,7 +56,7 @@ export const itemTypeColors: Record = { }; export const getItemTypeColor = (type?: string | null): string => - type && itemTypeColors[type] ? itemTypeColors[type] : '#5f6368'; + type && itemTypeColors[type] ? itemTypeColors[type] : DEFAULT_ITEM_TYPE_COLOR; /** * Item types discoverable to creators in the marketplace UI. @@ -71,11 +73,7 @@ export const CREATOR_VISIBLE_ITEM_TYPES: ItemType[] = [ ItemType.RULE_CHAIN, ]; -/** - * Item types a surface that mixes them lays out, in the order they are shown. Distinct from - * CREATOR_VISIBLE_ITEM_TYPES, which is the same six as a membership test and carries the type - * tabs' own order: here DEVICE leads, matching the hero popup's sections and the website. - */ +/** Item types a cross-type surface (search page, popup) shows, in display order. */ export const CROSS_TYPE_ITEM_TYPES: ItemType[] = [ ItemType.DEVICE, ItemType.SOLUTION_TEMPLATE, @@ -85,6 +83,10 @@ export const CROSS_TYPE_ITEM_TYPES: ItemType[] = [ ItemType.RULE_CHAIN, ]; +/** Types drawn as a coloured icon tile rather than a screenshot. */ +export const isCompactItemType = (type?: string | null): boolean => + type === ItemType.CALCULATED_FIELD || type === ItemType.ALARM_RULE || type === ItemType.RULE_CHAIN; + /** Sort property served by relevance ranking. */ export const RELEVANCE_SORT_PROPERTY = 'relevance'; @@ -95,17 +97,8 @@ export interface SortOption { } /** - * The sort menu every IoT Hub surface carrying a search field offers, and the order it offers - * them in: the first entry is the default each surface opens on. - * - * Relevance is that default with or without text. With text it ranks the answer; with none the - * backend serves the install count under the same key, so a surface opens on the order it opened - * on before and nothing here switches on the field state. The cost is a menu reading "Most - * relevant" over an install-ordered list until the user types; the alternative - flipping the - * selector once text appears - moves a control the user did not touch and reorders nothing. - * - * One list rather than one per surface: a new key must reach all of them, and the surface that - * missed it would keep a different default without failing. + * The sort menu of every IoT Hub surface with a search field; the first entry is the default. + * Relevance stays the default with an empty field, where it orders by install count. */ export const IOT_HUB_SORT_OPTIONS: SortOption[] = [ { value: RELEVANCE_SORT_PROPERTY, label: 'iot-hub.sort-most-relevant', direction: Direction.DESC }, diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts index 685fc27cb1..8ba587342c 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts @@ -120,12 +120,7 @@ export interface ListingItemVersionNotFound { export interface MpItemVersionQueryOptions { /** Single item type, for a surface pinned to one (the type pages, the add-item dialog). */ type?: string; - /** - * Several item types at once, for a cross-type surface whose Type facet is multi-select. - * Emitted as a repeated `type` parameter, which is the shape the backend reads - * (`@RequestParam List type`). Kept separate from `type` rather than widening it, - * so a caller that means "exactly this type" cannot be handed an array by accident. - */ + /** Several item types at once, sent as a repeated `type` parameter. */ types?: string[]; peOnly?: boolean; creatorId?: string; @@ -141,7 +136,7 @@ export interface MpItemVersionQueryOptions { scadaFirst?: boolean; } -/** Every filter, as `&name=value` pairs - shared by both query shapes below. */ +/** Every filter, as `&name=value` pairs. */ function filtersToQuery(o: MpItemVersionQueryOptions): string { let query = ''; if (o.type) { From 6fc35a4d0ede33a6d977ce2a82adfde02974f1b9 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 29 Sep 2026 17:16:06 +0300 Subject: [PATCH 054/559] fix(iot-hub): offer no relevance sort on the widget picker's Installed list That list is sorted in the browser, and relevance is a score only the Hub computes: sortInstalledVersions read a 'relevance' field no row has, so "Most relevant" left the list unsorted under a label saying otherwise. The Installed list now offers the other three keys, and a relevance choice made on the IoT Hub list falls back to the first of them there. The sort is kept by value rather than by menu index, since the two lists differ in length. --- .../dashboard-widget-select.component.html | 6 ++-- .../dashboard-widget-select.component.ts | 32 ++++++++++++------- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html index aa5c1deb90..c75165d122 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html @@ -80,12 +80,12 @@ } @if (selectWidgetMode === 'iotHub' && iotHubSubMode !== 'default') { - @for (option of iotHubSortOptions; track option.value; let i = $index) { - + @for (option of iotHubSortOptions; track option.value) { + } } diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts index 7cb0eddd2b..7132063ed2 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts @@ -25,8 +25,13 @@ import { FilterParamInfo, IOT_HUB_SORT_OPTIONS, ItemType, + RELEVANCE_SORT_PROPERTY, + SortOption, WidgetCategory } from '@shared/models/iot-hub/iot-hub-item.models'; + +/** The Installed list is sorted locally, and only the Hub can rank by relevance. */ +const INSTALLED_SORT_OPTIONS = IOT_HUB_SORT_OPTIONS.filter(o => o.value !== RELEVANCE_SORT_PROPERTY); import { IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; @@ -87,12 +92,7 @@ export class DashboardWidgetSelectComponent { includeDeprecated = false; searchFocused = false; - /** - * scadaFirst is unaffected by the sort: the backend prepends it ahead of the caller's key AND - * ahead of relevance, so a SCADA context still lists SCADA widgets first. - */ - readonly iotHubSortOptions = IOT_HUB_SORT_OPTIONS; - iotHubSelectedSortIndex = 0; + private iotHubSelectedSortValue = IOT_HUB_SORT_OPTIONS[0].value; @Input() aliasController: IAliasController; @@ -302,7 +302,7 @@ export class DashboardWidgetSelectComponent { this.iotHubWidgetsFetchFunction = (pageSize, page, filter) => { const search = typeof filter === 'string' ? filter.split('|')[0] : filter; - const sort = this.iotHubSortOptions[this.iotHubSelectedSortIndex]; + const sort = this.iotHubSelectedSort; const sortOrder: SortOrder = { property: sort.value, direction: sort.direction }; const pageLink = new PageLink(pageSize, page, search || null, sortOrder); const effectiveCategories = this.iotHubSelectedCategory @@ -569,9 +569,19 @@ export class DashboardWidgetSelectComponent { this.reloadIotHubWidgets(); } - onIotHubSortChange(index: number): void { - if (this.iotHubSelectedSortIndex !== index) { - this.iotHubSelectedSortIndex = index; + get iotHubSortOptions(): SortOption[] { + return this.iotHubSubMode === 'installed' ? INSTALLED_SORT_OPTIONS : IOT_HUB_SORT_OPTIONS; + } + + /** The chosen sort, or the list's first option where the chosen one is not offered. */ + get iotHubSelectedSort(): SortOption { + const options = this.iotHubSortOptions; + return options.find(o => o.value === this.iotHubSelectedSortValue) ?? options[0]; + } + + onIotHubSortChange(option: SortOption): void { + if (this.iotHubSelectedSort.value !== option.value) { + this.iotHubSelectedSortValue = option.value; this.installedWidgetVersions = null; this.reloadIotHubWidgets(); } @@ -844,7 +854,7 @@ export class DashboardWidgetSelectComponent { } private sortInstalledVersions(versions: MpItemVersionView[]): MpItemVersionView[] { - const sort = this.iotHubSortOptions[this.iotHubSelectedSortIndex]; + const sort = this.iotHubSelectedSort; const sign = sort.direction === Direction.ASC ? 1 : -1; const copy = [...versions]; copy.sort((a, b) => { From 3b4dc3198576a0c3c17807ced1c10d2b21e4d1c5 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 29 Sep 2026 17:16:06 +0300 Subject: [PATCH 055/559] refactor(iot-hub): handle Enter in the popup on keydown, with no cross-event flag Enter in the field opens the search page unless the autocomplete has just used the press to select a highlighted row, which it marks with preventDefault in its own keydown handler, registered before the field's. The field now listens on keydown.enter and checks event.defaultPrevented, which replaces the enterHandledByRow flag, the four places that reset it, and the read of the trigger's activeOption at one exact moment. Checked in a browser: arrow + Enter on a row opens the row only, Enter in the field opens the search page, click a row / close the dialog / click the magnifier opens the search page, and arrow to the footer + Enter opens it once. Also from the review: - The popup asks for the six cross-type types rather than filtering dashboards out afterwards, so totalElements is exact and "See all N" needs no arithmetic. - Row and footer selection go through onRowSelected / onFooterSelected instead of a side-effecting predicate in the template. - isCompactType delegates to the shared isCompactItemType; comments trimmed. --- .../pages/iot-hub/iot-hub-home.component.html | 12 ++- .../pages/iot-hub/iot-hub-home.component.scss | 9 +-- .../pages/iot-hub/iot-hub-home.component.ts | 78 ++++++------------- 3 files changed, 32 insertions(+), 67 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html index 5963c9e536..d244bbe06a 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html @@ -54,13 +54,13 @@ [matAutocomplete]="searchAuto" (input)="onSearchInput()" (focus)="onSearchFocus()" - (keyup.enter)="onSearch()"> + (keydown.enter)="onSearchEnter($event)"> @if (searchText) { } - @@ -86,9 +86,8 @@ } @else { @for (item of searchResults; track item.id) { - + (onSelectionChange)="onRowSelected($event, item)"> +
@if (isCompactType(item.type)) {
@@ -102,7 +101,6 @@
{{ item.name }} - {{ getItemTypeIcon(item.type) }} @@ -124,7 +122,7 @@ } } + (onSelectionChange)="onFooterSelected($event)"> @if (searchText?.trim(); as query) { @if (searchTotal > searchResults.length) { {{ 'iot-hub.see-all-results-for' | translate:{ count: searchTotal, search: query } }} diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss index 157d6e1faf..7440403390 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.scss @@ -220,9 +220,7 @@ 0 114px 46px 0 rgba(0, 0, 0, 0.01), 0 178px 50px 0 rgba(0, 0, 0, 0); - // Every row of the panel shares the flex line and the highlight; the boxes differ per kind - // below. Each kind is selected by its own class rather than by leaning on source order, since - // .mat-mdc-option. and .mat-mdc-option:not(...) tie on specificity. + // Shared by every row; each row kind below is selected by its own class. .mat-mdc-option { .mdc-list-item__primary-text { display: flex; @@ -357,8 +355,7 @@ min-width: 0; } - // Item type in its own colour, darkened so the paler ones (rule chain, calculated field) stay - // legible as text. + // Item type in its colour, darkened so the paler ones stay legible. .tb-search-popup-type { display: flex; align-items: center; @@ -368,7 +365,7 @@ font-weight: 500; line-height: 16px; letter-spacing: 0.25px; - color: color-mix(in srgb, var(--tb-search-popup-type-color, #5f6368) 75%, #000); + color: color-mix(in srgb, var(--tb-search-popup-type-color) 75%, #000); white-space: nowrap; tb-icon { diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index c7c6a9ad07..8f44ec2c30 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -15,6 +15,7 @@ import { MpItemVersionQuery, MpItemVersionView } from '@shared/models/iot-hub/io import { CROSS_TYPE_ITEM_TYPES, getItemTypeColor, + isCompactItemType, getItemTypeIcon, ItemType, itemTypeColors, @@ -42,10 +43,7 @@ interface HeroTypeConfig { icon: string; } -/** - * Rows the search popup shows: the first page of the search page's own request, so the popup is - * a preview of what "See results for ..." opens on. - */ +/** Rows the search popup shows: page 0 of the search page's own request. */ const SEARCH_POPUP_PAGE_SIZE = 10; @Component({ @@ -60,17 +58,12 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { searchText = ''; searchResults: MpItemVersionView[] = []; - /** - * What the footer's "See all N results" counts: the matches less the rows this page dropped, so - * a panel that shows everything it can open never claims more. Rows beyond this page that the - * panel could not show are still counted - only this page's drops are known. - */ + /** Everything the search matched, for the footer's "See all N results". */ searchTotal = 0; searchLoaded = false; searchLoading = false; @ViewChild(MatAutocompleteTrigger) searchAutoTrigger: MatAutocompleteTrigger; @ViewChild('searchInput', {read: ElementRef}) searchInputRef: ElementRef; - private enterHandledByRow = false; private searchSubject = new Subject(); private searchSubscription: Subscription; @@ -169,26 +162,19 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { switchMap(text => { this.searchLoading = true; const trimmed = text.trim(); - // One flat list ranked across every type, so the best match leads whatever its type. - // Relevance in both states, the same value every other IoT Hub surface sends: with an - // empty field the backend serves the install count under this key, so the panel opens on - // popularity without this component having to know it. + // One list ranked across every type the platform surfaces. With an empty field relevance + // is served as the install count. const sortOrder: SortOrder = { property: RELEVANCE_SORT_PROPERTY, direction: Direction.DESC }; const pageLink = new PageLink(SEARCH_POPUP_PAGE_SIZE, 0, trimmed || null, sortOrder); - const query = new MpItemVersionQuery(pageLink); - // A failed request must not end the subscription: the interceptor reports it, and the - // panel goes back to an empty answer the next keystroke can replace. + const query = new MpItemVersionQuery(pageLink, { types: CROSS_TYPE_ITEM_TYPES }); + // A failure must not end the subscription; the next keystroke replaces the empty answer. return this.iotHubApiService.getPublishedVersions(query, { ignoreLoading: true }).pipe( catchError(() => of({ data: [], totalElements: 0 } as PageData)) ); }) ).subscribe(page => { - // The platform publishes no dashboards, so a type this panel has no layout for is dropped; - // the popup then shows fewer rows rather than asking for more. - const data = page.data ?? []; - this.searchResults = data.filter(item => CROSS_TYPE_ITEM_TYPES.includes(item.type)); - this.searchTotal = Math.max(this.searchResults.length, - (page.totalElements ?? 0) - (data.length - this.searchResults.length)); + this.searchResults = page.data ?? []; + this.searchTotal = page.totalElements ?? 0; this.searchLoaded = true; this.searchLoading = false; }); @@ -230,13 +216,11 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { } onSearchInput(): void { - this.enterHandledByRow = false; this.searchLoading = true; this.searchSubject.next(this.searchText || ''); } onSearchFocus(): void { - this.enterHandledByRow = false; if (!this.searchLoaded) { this.searchLoading = true; this.searchSubject.next(this.searchText || ''); @@ -248,43 +232,30 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { }; clearSearch(): void { - this.enterHandledByRow = false; this.searchText = ''; this.searchSubject.next(''); this.searchInputRef?.nativeElement?.focus(); setTimeout(() => this.searchAutoTrigger?.openPanel()); } - /** - * Gate on every row's selection: false for the panel's own bookkeeping, true when the user - * picked the row - and then it records whether a keyup is still coming for it. - * - * One Enter reaches two handlers. The autocomplete trigger acts on keydown, the field's own - * handler on keyup, and preventDefault on the first does not stop the second. Only the - * keyboard leaves that second half to deal with, so only the keyboard arms the flag: a pointer - * selection is finished when it returns, and a flag left standing there would swallow the next - * onSearch - which the magnifier button can raise with no keystroke at all. - * - * activeOption is what tells the two apart, and it is readable only here: the trigger holds it - * while it calls _selectViaInteraction and clears it on the next line of its own handler, so by - * keyup it reads empty either way. A pointer never sets it. - */ - rowSelectedByUser(event: MatOptionSelectionChange): boolean { - if (!event.isUserInput) { - return false; + onRowSelected(event: MatOptionSelectionChange, item: MpItemVersionView): void { + if (event.isUserInput) { + this.openItemDetail(item); + } + } + + onFooterSelected(event: MatOptionSelectionChange): void { + if (event.isUserInput) { + this.seeAllResults(); } - this.enterHandledByRow = !!this.searchAutoTrigger?.activeOption; - return true; } /** - * Enter in the field opens the search page, unless a row has just acted on this same press. - * Every path that re-enters the field clears the flag too, so nothing survives the keystroke - * it belongs to - including an arrow-then-click, the one selection that arms it by pointer. + * Enter in the field opens the search page - unless the autocomplete has just used this press + * to select a highlighted row, which it marks with preventDefault before this handler runs. */ - onSearch(): void { - if (this.enterHandledByRow) { - this.enterHandledByRow = false; + onSearchEnter(event: KeyboardEvent): void { + if (event.defaultPrevented || event.isComposing) { return; } this.seeAllResults(); @@ -297,11 +268,10 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { } isCompactType(type: ItemType): boolean { - return type === ItemType.CALCULATED_FIELD - || type === ItemType.ALARM_RULE - || type === ItemType.RULE_CHAIN; + return isCompactItemType(type); } + getCompactIcon(item: MpItemVersionView): string { return item.icon || getItemTypeIcon(item.type); } From a427a6a3d20cba5802896efbaa53b9a1bb33a664 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 29 Sep 2026 17:16:06 +0300 Subject: [PATCH 056/559] fix(iot-hub): scope the search page to the cross-type types, and let a newer load win From the review of the search page: - No Type facet selected now sends the six types the platform surfaces, as the popup does, instead of every type the Hub holds: without the old grouping step a published dashboard would have rendered as a card and been counted. - Every reload goes through one Subject + switchMap, so a newer request cancels an older one; toggling two facets quickly can no longer leave the grid on the first answer. - The ResizeObserver callback runs inside NgZone.run, as in TbIotHubBrowseComponent; zone.js does not patch ResizeObserver, so a reload started from it did not render. Checked: widening the window reloads with the larger page size and renders it with no other event. - The facet list takes option keys (string[]) and computes its visible list once per change instead of on every change-detection pass; the Type facet's placeholder zero counts and the facet count summing are gone. - Shared in iot-hub-utils: filterByLabel (behind filterIotHubItemsBySearch), measureGridColumns (used by this component and the browse page), and IOT_HUB_FILTER_SCROLL_THRESHOLD in place of the literal 8 in both panels. - The page padding and the component's pull-out margin derive from one --tb-search-page-pad per breakpoint. Resize fields sit with the other state. - Comments trimmed to the non-obvious intent. --- .../iot-hub/iot-hub-browse.component.html | 24 +-- .../iot-hub/iot-hub-browse.component.ts | 21 ++- .../iot-hub/iot-hub-facet-list.component.html | 10 +- .../iot-hub/iot-hub-facet-list.component.scss | 10 +- .../iot-hub/iot-hub-facet-list.component.ts | 64 +++----- .../iot-hub/iot-hub-search.component.html | 8 +- .../iot-hub/iot-hub-search.component.scss | 33 ++-- .../iot-hub/iot-hub-search.component.ts | 147 +++++++----------- .../home/components/iot-hub/iot-hub-utils.ts | 24 ++- .../iot-hub-search-page.component.scss | 34 ++-- 10 files changed, 150 insertions(+), 225 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html index 40ffca34c8..dbc1c3c811 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html @@ -43,8 +43,8 @@ }
} -
@for (opt of getFilteredItems(subtypeOptions, 'subtype'); track opt.key) { } -
@for (group of getGroupedFilterItems(vendorOptions, 'vendor'); track group.label) { @if (group.label) { @@ -114,8 +114,8 @@ }
} -
@for (ht of getFilteredItems(hardwareTypeOptions, 'hardwareType'); track ht.key) { } -
@for (group of getFilteredConnectivityGroups('connectivity'); track group.group) {
{{ group.group }}
@@ -182,8 +182,8 @@ }
} -
@for (cat of getFilteredItems(categoryOptions, 'category'); track cat.key) { } -
@for (group of getGroupedFilterItems(useCaseOptions, 'useCase'); track group.label) { @if (group.label) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts index 2be0408826..40276cd769 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts @@ -19,7 +19,13 @@ import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { TranslateService } from '@ngx-translate/core'; import { ActivatedRoute, Router } from '@angular/router'; import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; -import { filterIotHubItemsBySearch, groupIotHubFilterItems, IotHubFilterGroup } from '@home/components/iot-hub/iot-hub-utils'; +import { + filterIotHubItemsBySearch, + groupIotHubFilterItems, + IOT_HUB_FILTER_SCROLL_THRESHOLD, + IotHubFilterGroup, + measureGridColumns +} from '@home/components/iot-hub/iot-hub-utils'; @Component({ selector: 'tb-iot-hub-browse', @@ -43,6 +49,7 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy } readonly ItemType = ItemType; + readonly scrollThreshold = IOT_HUB_FILTER_SCROLL_THRESHOLD; @Input() creatorId: string; @Input() embedded = false; @@ -212,17 +219,7 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy if (!el) { return this.probeCols; } - // Force layout so `grid-template-columns` resolves to pixel tracks, not `repeat(...)`. - void el.offsetWidth; - const tracks = getComputedStyle(el).gridTemplateColumns; - if (!tracks || tracks === 'none') { - return 1; - } - if (tracks.startsWith('repeat(')) { - const match = tracks.match(/^repeat\(\s*(\d+)\s*,/); - return match ? parseInt(match[1], 10) : 1; - } - return Math.max(1, tracks.trim().split(/\s+/).filter(t => t.length > 0).length); + return measureGridColumns(el); } private adjustPageSize(): void { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html index 8468ddc04b..658ed108df 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-facet-list.component.html @@ -12,9 +12,9 @@ @if (searchable) { } @else { - +
@if (getPreviewUrl(); as previewUrl) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html index 28e7e74e6d..bd155237d8 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html @@ -86,7 +86,7 @@
} @else { - +
@@ -156,7 +156,7 @@
-
+
@if (showCreator) {
{{ 'iot-hub.creator' | translate }} diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-deep-link.utils.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-deep-link.utils.ts index 1bfed40ed3..6b417e3353 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-deep-link.utils.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-deep-link.utils.ts @@ -12,7 +12,6 @@ export function isUUID(s: string | null | undefined): s is string { export function typeSegment(t: ItemType): string | undefined { switch (t) { case ItemType.WIDGET: return 'widgets'; - case ItemType.DASHBOARD: return 'dashboards'; case ItemType.SOLUTION_TEMPLATE: return 'solution-templates'; case ItemType.CALCULATED_FIELD: return 'calculated-fields'; case ItemType.ALARM_RULE: return 'alarm-rules'; diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index fffd19c021..8164b1bdef 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -276,7 +276,6 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { private getTypeRoute(type: ItemType): string { switch (type) { case ItemType.WIDGET: return 'widgets'; - case ItemType.DASHBOARD: return 'dashboards'; case ItemType.SOLUTION_TEMPLATE: return 'solution-templates'; case ItemType.CALCULATED_FIELD: return 'calculated-fields'; case ItemType.ALARM_RULE: return 'alarm-rules'; diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.ts index 07beff5559..cc54a57641 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-items-page.component.ts @@ -29,13 +29,6 @@ const PAGE_CONFIGS: Record = { image: 'assets/iot-hub/items-page-widgets-hero.svg', routeSegment: 'widgets' }, - DASHBOARD: { - type: ItemType.DASHBOARD, - titleKey: 'item.type-dashboard-plural', - descriptionKey: 'iot-hub.items-page-desc-dashboards', - image: 'assets/iot-hub/items-page-dashboards-hero.svg', - routeSegment: 'dashboards' - }, SOLUTION_TEMPLATE: { type: ItemType.SOLUTION_TEMPLATE, titleKey: 'item.type-solution-template-plural', diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-routing.module.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-routing.module.ts index 13f734636d..4840a87a10 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-routing.module.ts @@ -41,16 +41,6 @@ const routes: Routes = [ breadcrumb: { label: 'item.type-widget-plural', icon: 'widgets' } } }, - { - path: 'dashboards', - component: TbIotHubItemsPageComponent, - data: { - auth: [Authority.TENANT_ADMIN], - title: 'item.type-dashboard-plural', - itemType: 'DASHBOARD', - breadcrumb: { label: 'item.type-dashboard-plural', icon: 'dashboard' } - } - }, { path: 'solution-templates', component: TbIotHubItemsPageComponent, diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index f1733e350a..106f6fa13a 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -9,11 +9,6 @@ export interface WidgetInstalledItemDescriptor { widgetTypeId: { id: string }; } -export interface DashboardInstalledItemDescriptor { - type: 'DASHBOARD'; - dashboardId: { id: string }; -} - export interface CalculatedFieldInstalledItemDescriptor { type: 'CALCULATED_FIELD'; calculatedFieldId: { id: string }; @@ -50,7 +45,6 @@ export interface SolutionTemplateInstalledItemDescriptor { export type IotHubInstalledItemDescriptor = | WidgetInstalledItemDescriptor - | DashboardInstalledItemDescriptor | CalculatedFieldInstalledItemDescriptor | AlarmRuleInstalledItemDescriptor | RuleChainInstalledItemDescriptor @@ -141,10 +135,6 @@ export const getInstalledItemUrl = (descriptor?: IotHubInstalledItemDescriptor): entityId = descriptor.widgetTypeId?.id; entityType = EntityType.WIDGET_TYPE; break; - case 'DASHBOARD': - entityId = descriptor.dashboardId?.id; - entityType = EntityType.DASHBOARD; - break; case 'CALCULATED_FIELD': case 'ALARM_RULE': entityId = descriptor.entityId?.id; diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts index abdddc1734..2b822a5030 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-item.models.ts @@ -2,7 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 export enum ItemType { WIDGET = 'WIDGET', - DASHBOARD = 'DASHBOARD', SOLUTION_TEMPLATE = 'SOLUTION_TEMPLATE', CALCULATED_FIELD = 'CALCULATED_FIELD', ALARM_RULE = 'ALARM_RULE', @@ -13,7 +12,6 @@ export enum ItemType { export const itemTypeTranslations = new Map( [ [ItemType.WIDGET, 'item.type-widget'], - [ItemType.DASHBOARD, 'item.type-dashboard'], [ItemType.SOLUTION_TEMPLATE, 'item.type-solution-template'], [ItemType.CALCULATED_FIELD, 'item.type-calculated-field'], [ItemType.ALARM_RULE, 'item.type-alarm-rule'], @@ -28,7 +26,6 @@ export const itemTypeTranslations = new Map( // mapping stays consistent across the app. export const itemTypeIcons: Record = { [ItemType.WIDGET]: 'widgets', - [ItemType.DASHBOARD]: 'dashboard', [ItemType.SOLUTION_TEMPLATE]: 'apps', [ItemType.CALCULATED_FIELD]: 'mdi:function-variant', [ItemType.RULE_CHAIN]: 'settings_ethernet', @@ -41,9 +38,6 @@ export const getItemTypeIcon = (type?: string | null): string => /** * Item types discoverable to creators in the marketplace UI. - * DASHBOARD is intentionally absent (IoT Hub no longer accepts Dashboard contributions). - * Defensive code paths (item card, detail dialog descriptor switch, installed-items table, - * install handler, /iot-hub/dashboards route) remain functional for already-installed items. */ export const CREATOR_VISIBLE_ITEM_TYPES: ItemType[] = [ ItemType.WIDGET, diff --git a/ui-ngx/src/assets/iot-hub/items-page-dashboards-hero.svg b/ui-ngx/src/assets/iot-hub/items-page-dashboards-hero.svg deleted file mode 100644 index c699714457..0000000000 --- a/ui-ngx/src/assets/iot-hub/items-page-dashboards-hero.svg +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index b3aa95d6ec..234d7a136c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3685,8 +3685,6 @@ "item": { "type-widget": "Widget", "type-widget-plural": "Widgets", - "type-dashboard": "Dashboard", - "type-dashboard-plural": "Dashboards", "type-solution-template": "Solution Template", "type-solution-template-plural": "Solution Templates", "type-calculated-field": "Calculated Field", @@ -3732,7 +3730,6 @@ "filter": "Filter", "available": "Available", "items-page-desc-widgets": "Jumpstart your IoT journey with pre-configured widgets designed for your industry. Deploy proven architectures instantly and focus your energy on what matters: your unique business logic.", - "items-page-desc-dashboards": "Explore dashboards to find pre-built visualization templates and interactive UI layouts you can deploy in minutes to bring your IoT data to life.", "items-page-desc-solution-templates": "Complete IoT solution packages with dashboards, rule chains, and device configurations. Get started with proven architectures.", "items-page-desc-calculated-fields": "Use pre-configured Calculated Fields to automate complex metrics like fuel efficiency or power factor. Skip the manual logic and keep your dashboards clean and actionable.", "items-page-desc-alarm-rules": "Use pre-built Alarm Rule templates to detect critical conditions like low battery, threshold breaches, or devices going offline. Skip writing the rule logic and start reacting to incidents the moment they happen.", @@ -3755,20 +3752,17 @@ "contribute": "Contribute", "creator-profile": "Creator Profile", "title-widgets": "Widgets", - "title-dashboards": "Dashboards", "title-calculated-fields": "Calculated Fields", "title-alarm-rules": "Alarm Rules", "title-rule-chains": "Rule Chains", "title-devices": "Devices", "title-solution-templates": "Solution Templates", "subtitle-widgets": "Browse community widgets for your dashboards", - "subtitle-dashboards": "Browse ready-to-use dashboards", "subtitle-solution-templates": "Browse complete IoT solution packages", "subtitle-calculated-fields": "Browse calculated field templates", "subtitle-alarm-rules": "Browse alarm rule templates", "subtitle-rule-chains": "Browse rule chain templates", "subtitle-devices": "Browse device configurations", - "search-dashboards": "Search dashboards...", "search-solution-templates": "Search solution templates...", "search-calculated-fields": "Search calculated fields...", "search-alarm-rules": "Search alarm rules...", From 969392e1996820298852f5cbaea2fc306527a0f3 Mon Sep 17 00:00:00 2001 From: Andrii Landiak Date: Tue, 6 Oct 2026 13:44:03 +0300 Subject: [PATCH 089/559] fix: reload CoAP DTLS certificates in CoAP integration services CertificateReloadManager was limited to transport services, while the shared CoAP server also runs in tb-integration, tb-integration-executor and tb-core (coap.server.enabled). There the DTLS reload callback was registered but never triggered, so rotated certificates were not picked up by CoAP integrations. - Remove the service-type condition from CertificateReloadManager: it already discovers SslCredentialsConfig beans at runtime, and now skips the scheduler when there is nothing to watch - Import CertificateReloadManager into the remote CoAP integration application - Add transport.ssl.certificate.reload settings to tb-coap-integration.yml and tb-integration-executor.yml - Replace unused flat DTLS keys in tb-coap-integration.yml with the coap.dtls.credentials block read by TbCoapDtlsSettings --- .../service/CertificateReloadManager.java | 9 ++- ...CertificateReloadManagerDiscoveryTest.java | 74 +++++++++++++++++++ ...ThingsboardCoapIntegrationApplication.java | 3 + .../main/resources/tb-coap-integration.yml | 47 +++++++++--- .../resources/tb-integration-executor.yml | 13 +++- .../python/license-headers/curations.json | 2 +- 6 files changed, 133 insertions(+), 15 deletions(-) create mode 100644 common/transport/transport-api/src/test/java/org/thingsboard/server/common/transport/service/CertificateReloadManagerDiscoveryTest.java diff --git a/common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/service/CertificateReloadManager.java b/common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/service/CertificateReloadManager.java index 53ed70ec37..e33b0bd0b2 100644 --- a/common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/service/CertificateReloadManager.java +++ b/common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/service/CertificateReloadManager.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.common.transport.service; import lombok.extern.slf4j.Slf4j; @@ -12,7 +13,6 @@ import org.springframework.stereotype.Component; import org.thingsboard.common.util.ThingsBoardThreadFactory; import org.thingsboard.server.common.transport.config.ssl.SslCredentials; import org.thingsboard.server.common.transport.config.ssl.SslCredentialsConfig; -import org.thingsboard.server.queue.util.TbTransportComponent; import java.io.InputStream; import java.nio.file.Files; @@ -30,7 +30,6 @@ import java.util.concurrent.TimeUnit; @Slf4j @Component -@TbTransportComponent public class CertificateReloadManager implements SmartInitializingSingleton, DisposableBean { private static final int MAX_CONSECUTIVE_FAILURES = 10; @@ -143,6 +142,10 @@ public class CertificateReloadManager implements SmartInitializingSingleton, Dis log.info("Initializing Certificate Reload Manager..."); discoverAndRegisterSslCredentials(); + if (watchers.isEmpty()) { + log.debug("No certificate files to watch. Skipping scheduler initialization..."); + return; + } scheduler = Executors.newSingleThreadScheduledExecutor(ThingsBoardThreadFactory.forName("certificate-reload-manager")); scheduler.scheduleWithFixedDelay(this::checkCertificates, checkIntervalInSeconds, checkIntervalInSeconds, TimeUnit.SECONDS); diff --git a/common/transport/transport-api/src/test/java/org/thingsboard/server/common/transport/service/CertificateReloadManagerDiscoveryTest.java b/common/transport/transport-api/src/test/java/org/thingsboard/server/common/transport/service/CertificateReloadManagerDiscoveryTest.java new file mode 100644 index 0000000000..59bfd816fa --- /dev/null +++ b/common/transport/transport-api/src/test/java/org/thingsboard/server/common/transport/service/CertificateReloadManagerDiscoveryTest.java @@ -0,0 +1,74 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.common.transport.service; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import org.springframework.boot.test.context.runner.ApplicationContextRunner; +import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.server.common.transport.config.ssl.SslCredentials; +import org.thingsboard.server.common.transport.config.ssl.SslCredentialsConfig; + +import java.nio.file.Path; +import java.util.List; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + +public class CertificateReloadManagerDiscoveryTest { + + @TempDir + Path tempDir; + + private final ApplicationContextRunner contextRunner = new ApplicationContextRunner() + .withUserConfiguration(CertificateReloadManager.class); + + @Test + public void givenNoSslCredentialsConfigs_whenContextStarts_thenManagerCreatedWithoutScheduler() { + contextRunner.run(context -> { + assertThat(context).hasSingleBean(CertificateReloadManager.class); + assertThat(getScheduler(context.getBean(CertificateReloadManager.class))).isNull(); + }); + } + + @Test + public void givenDisabledSslCredentialsConfig_whenContextStarts_thenSchedulerNotStarted() { + SslCredentialsConfig config = mockSslCredentialsConfig(false, List.of(tempDir.resolve("server.pem"))); + contextRunner + .withBean(SslCredentialsConfig.class, () -> config) + .run(context -> assertThat(getScheduler(context.getBean(CertificateReloadManager.class))).isNull()); + } + + @Test + public void givenSslCredentialsConfigWithCertificateFile_whenContextStarts_thenSchedulerStarted() { + SslCredentialsConfig config = mockSslCredentialsConfig(true, List.of(tempDir.resolve("server.pem"))); + contextRunner + .withBean(SslCredentialsConfig.class, () -> config) + .run(context -> assertThat(getScheduler(context.getBean(CertificateReloadManager.class))).isNotNull()); + } + + @Test + public void givenReloadDisabled_whenContextStarts_thenSchedulerNotStarted() { + SslCredentialsConfig config = mockSslCredentialsConfig(true, List.of(tempDir.resolve("server.pem"))); + contextRunner + .withPropertyValues("transport.ssl.certificate.reload.enabled=false") + .withBean(SslCredentialsConfig.class, () -> config) + .run(context -> assertThat(getScheduler(context.getBean(CertificateReloadManager.class))).isNull()); + } + + private static SslCredentialsConfig mockSslCredentialsConfig(boolean enabled, List certificateFilePaths) { + SslCredentials credentials = mock(SslCredentials.class); + when(credentials.getCertificateFilePaths()).thenReturn(certificateFilePaths); + SslCredentialsConfig config = mock(SslCredentialsConfig.class); + when(config.isEnabled()).thenReturn(enabled); + when(config.getName()).thenReturn("Test SSL Credentials"); + when(config.getCredentials()).thenReturn(credentials); + return config; + } + + private static Object getScheduler(CertificateReloadManager manager) { + return ReflectionTestUtils.getField(manager, "scheduler"); + } + +} diff --git a/integration/coap/src/main/java/org/thingsboard/integration/ThingsboardCoapIntegrationApplication.java b/integration/coap/src/main/java/org/thingsboard/integration/ThingsboardCoapIntegrationApplication.java index 46f419d853..691675e579 100644 --- a/integration/coap/src/main/java/org/thingsboard/integration/ThingsboardCoapIntegrationApplication.java +++ b/integration/coap/src/main/java/org/thingsboard/integration/ThingsboardCoapIntegrationApplication.java @@ -5,13 +5,16 @@ package org.thingsboard.integration; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; +import org.springframework.context.annotation.Import; import org.springframework.scheduling.annotation.EnableAsync; +import org.thingsboard.server.common.transport.service.CertificateReloadManager; import java.util.Arrays; @SpringBootApplication @EnableAsync @ComponentScan({"org.thingsboard.integration", "org.thingsboard.script.api", "org.thingsboard.server.coapserver"}) +@Import(CertificateReloadManager.class) public class ThingsboardCoapIntegrationApplication { private static final String SPRING_CONFIG_NAME_KEY = "--spring.config.name"; diff --git a/integration/coap/src/main/resources/tb-coap-integration.yml b/integration/coap/src/main/resources/tb-coap-integration.yml index a7fde74529..267c91dba0 100644 --- a/integration/coap/src/main/resources/tb-coap-integration.yml +++ b/integration/coap/src/main/resources/tb-coap-integration.yml @@ -3,6 +3,8 @@ # SPDX-License-Identifier: BUSL-1.1 # +spring.main.allow-circular-references: "true" # Spring Boot configuration property that controls whether circular dependencies between beans are allowed. + server: # Server bind address address: "${HTTP_BIND_ADDRESS:0.0.0.0}" @@ -134,14 +136,41 @@ coap: # } MaxFragmentLength; # TLS already requires clients and servers to support fragmentation of handshake messages. max_fragment_length: "${COAP_DTLS_MAX_FRAGMENT_LENGTH:1024}" - # Path to the key store that holds the certificate - key_store: "${COAP_DTLS_KEY_STORE:coapserver.jks}" - # Password used to access the key store - key_store_password: "${COAP_DTLS_KEY_STORE_PASSWORD:server_ks_password}" - # Password used to access the key - key_password: "${COAP_DTLS_KEY_PASSWORD:server_key_password}" - # Key alias - key_alias: "${COAP_DTLS_KEY_ALIAS:serveralias}" + # Server DTLS credentials + credentials: + # Server credentials type (PEM - pem certificate file; KEYSTORE - java keystore) + type: "${COAP_DTLS_CREDENTIALS_TYPE:PEM}" + # PEM server credentials + pem: + # Path to the server certificate file (holds server certificate or certificate chain, may include server private key) + cert_file: "${COAP_DTLS_PEM_CERT:coapserver.pem}" + # Path to the server certificate private key file. Optional by default. Required if the private key is not present in server certificate file; + key_file: "${COAP_DTLS_PEM_KEY:coapserver_key.pem}" + # Server certificate private key password (optional) + key_password: "${COAP_DTLS_PEM_KEY_PASSWORD:server_key_password}" + # Keystore server credentials + keystore: + # Type of the key store (JKS or PKCS12) + type: "${COAP_DTLS_KEY_STORE_TYPE:JKS}" + # Path to the key store that holds the SSL certificate + store_file: "${COAP_DTLS_KEY_STORE:coapserver.jks}" + # Password used to access the key store + store_password: "${COAP_DTLS_KEY_STORE_PASSWORD:server_ks_password}" + # Key alias + key_alias: "${COAP_DTLS_KEY_ALIAS:serveralias}" + # Password used to access the key + key_password: "${COAP_DTLS_KEY_PASSWORD:server_key_password}" + +transport: + ssl: + # SSL/TLS settings + certificate: + # X.509 certificate configuration to auto-detect and reload certificate used by the CoAP server (DTLS) in real-time + reload: + # Enable/disable automatic SSL certificates reload + enabled: "${TB_TRANSPORT_SSL_CERTIFICATE_RELOAD_ENABLED:true}" + # Check interval in seconds for certificates reload + check_interval_seconds: "${TB_TRANSPORT_SSL_CERTIFICATE_RELOAD_CHECK_INTERVAL_SECONDS:60}" service: - type: "${TB_SERVICE_TYPE:tb-integration}" \ No newline at end of file + type: "${TB_SERVICE_TYPE:tb-integration}" diff --git a/integration/executor/src/main/resources/tb-integration-executor.yml b/integration/executor/src/main/resources/tb-integration-executor.yml index de77beb11c..7e2f6d107c 100644 --- a/integration/executor/src/main/resources/tb-integration-executor.yml +++ b/integration/executor/src/main/resources/tb-integration-executor.yml @@ -429,14 +429,23 @@ js: # Interval of logging for remote JS executor stats print_interval_ms: "${TB_JS_REMOTE_STATS_PRINT_INTERVAL_MS:10000}" -# JSON converter parameters -# Controls JSON telemetry/attribute parsing behaviour, including type casting and maximum string value length. +# JSON converter and SSL certificate reload parameters +# Controls JSON telemetry/attribute parsing behaviour, including type casting and maximum string value length, and real-time reload of CoAP DTLS certificates. transport: json: # Cast String data types to Numeric if possible when processing Telemetry/Attributes JSON type_cast_enabled: "${JSON_TYPE_CAST_ENABLED:true}" # Maximum allowed string value length when processing Telemetry/Attributes JSON (0 value disables string value length check) max_string_value_length: "${JSON_MAX_STRING_VALUE_LENGTH:0}" + ssl: + # SSL/TLS settings + certificate: + # X.509 certificate configuration to auto-detect and reload certificate used by the CoAP server (DTLS) in real-time + reload: + # Enable/disable automatic SSL certificates reload + enabled: "${TB_TRANSPORT_SSL_CERTIFICATE_RELOAD_ENABLED:true}" + # Check interval in seconds for certificates reload + check_interval_seconds: "${TB_TRANSPORT_SSL_CERTIFICATE_RELOAD_CHECK_INTERVAL_SECONDS:60}" # Cache parameters # Configures the cache backend type (Caffeine or Redis) and per-cache TTL and size limits. diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index 75b0eb6a2c..91d0e42065 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -797,7 +797,7 @@ "path": "integration/coap/src/main/java/org/thingsboard/integration/ThingsboardCoapIntegrationApplication.java", "header": "busl", "reason": "Launch, logging or runtime scaffolding for a PE service. Maintainer explicitly resolved this PE module scaffolding as PE-only; matching CE startup/logging conventions do not override that decision. Reviewed similarity candidate transport/http/src/main/java/org/thingsboard/server/http/ThingsboardHttpTransportApplication.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob 98be09069a487befab217c9b7c036fc6132fc97b).", - "contentHash": "sha256:691ed1e7c96845e81ccfdcf522c836794f4045180c74d50be1613122517397c4" + "contentHash": "sha256:d603f73f715f82368dcfd54325b95c653684077d49afeafb69b9117b7196dfbc" }, { "path": "integration/coap/src/main/resources/logback.xml", From 6b58730a4513250facd426791bc078ad7e32ea5f Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Wed, 7 Oct 2026 12:54:06 +0200 Subject: [PATCH 090/559] Resolve CE-style 4.4+ edge images to their PE-style agent app templates on discovery --- .../agent/compose/ComposeAgentAppCreator.java | 9 ++++++ .../template/AgentAppTemplateSyncService.java | 2 +- .../compose/ComposeAgentAppCreatorTest.java | 32 +++++++++++++++++++ .../server/dao/edge/EdgeEditionStyle.java | 8 +++++ 4 files changed, 50 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/agent/compose/ComposeAgentAppCreator.java b/application/src/main/java/org/thingsboard/server/service/agent/compose/ComposeAgentAppCreator.java index e74a0cdb51..21b0376d6c 100644 --- a/application/src/main/java/org/thingsboard/server/service/agent/compose/ComposeAgentAppCreator.java +++ b/application/src/main/java/org/thingsboard/server/service/agent/compose/ComposeAgentAppCreator.java @@ -9,6 +9,7 @@ import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.RegexUtils; +import org.thingsboard.common.util.TbVersionUtils; import org.thingsboard.server.common.data.agent.Agent; import org.thingsboard.server.common.data.agent.AgentAppEventActionType; import org.thingsboard.server.common.data.agent.AgentAppProfileRelationInfo; @@ -24,6 +25,7 @@ import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.dao.agent.AgentAppProfileService; import org.thingsboard.server.dao.agent.AgentAppRelationService; import org.thingsboard.server.dao.agent.AgentService; +import org.thingsboard.server.dao.edge.EdgeEditionStyle; import org.thingsboard.server.gen.agent.v1.ComposeState; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.agent.AgentAppProvisioner; @@ -103,6 +105,13 @@ public class ComposeAgentAppCreator { private AgentAppTemplate resolveTemplate(ComposeInfo composeInfo) { AgentAppTemplate byAppType = templateService.findByAppTypeAndConfigTypeAndCurrentVersion( composeInfo.appType(), AgentAppConfigType.DOCKER_COMPOSE, composeInfo.version()); + if (byAppType == null && composeInfo.appType() == AgentApplicationType.EDGE && composeInfo.version() != null + && TbVersionUtils.compare(TbVersionUtils.extractStartingDigits(composeInfo.version()), "4.4") >= 0) { + // from 4.4 the same edge release may be published under both edition styles (e.g. 4.4.0EDGEPE and the CE-style 4.4.0EDGE), + // while its template is registered under one of them only; below 4.4 a CE-style tag is Community Edge and stays GENERIC + byAppType = templateService.findByAppTypeAndConfigTypeAndCurrentVersion(AgentApplicationType.EDGE, + AgentAppConfigType.DOCKER_COMPOSE, EdgeEditionStyle.withVersionSuffix(TbVersionUtils.extractStartingDigits(composeInfo.version()))); + } if (byAppType != null) { return byAppType; } diff --git a/application/src/main/java/org/thingsboard/server/service/agent/template/AgentAppTemplateSyncService.java b/application/src/main/java/org/thingsboard/server/service/agent/template/AgentAppTemplateSyncService.java index 56cb5d5e62..b265e28e7c 100644 --- a/application/src/main/java/org/thingsboard/server/service/agent/template/AgentAppTemplateSyncService.java +++ b/application/src/main/java/org/thingsboard/server/service/agent/template/AgentAppTemplateSyncService.java @@ -231,7 +231,7 @@ public class AgentAppTemplateSyncService { } private static String withEdgeVersionSuffix(String version) { - return version == null ? null : version + EdgeEditionStyle.getEdgeEditionStyle(version).getVersionSuffix(); + return version == null ? null : EdgeEditionStyle.withVersionSuffix(version); } List filterCurrentlySupportedVersions(List descriptors) { diff --git a/application/src/test/java/org/thingsboard/server/service/agent/compose/ComposeAgentAppCreatorTest.java b/application/src/test/java/org/thingsboard/server/service/agent/compose/ComposeAgentAppCreatorTest.java index 42f0700a8c..dfb21bce27 100644 --- a/application/src/test/java/org/thingsboard/server/service/agent/compose/ComposeAgentAppCreatorTest.java +++ b/application/src/test/java/org/thingsboard/server/service/agent/compose/ComposeAgentAppCreatorTest.java @@ -181,6 +181,38 @@ class ComposeAgentAppCreatorTest { assertThat(created.getTemplateVersion()).isEqualTo(AgentApplicationType.GENERIC.getDefaultVersion()); } + @Test + void ceStyleEdgeTag_resolvesTemplateRegisteredUnderPeStyleTag() { + AgentAppTemplate peStyleTemplate = template(AgentApplicationType.EDGE, "4.4.0EDGEPE"); + when(templateService.findByAppTypeAndConfigTypeAndCurrentVersion( + AgentApplicationType.EDGE, AgentAppConfigType.DOCKER_COMPOSE, "4.4.0EDGE")).thenReturn(null); + when(templateService.findByAppTypeAndConfigTypeAndCurrentVersion( + AgentApplicationType.EDGE, AgentAppConfigType.DOCKER_COMPOSE, "4.4.0EDGEPE")).thenReturn(peStyleTemplate); + when(appProfileService.findProfileRelationInfosByAgentProfileIdAndAppTypeAndTemplateVersion( + TENANT_ID, AGENT_PROFILE_ID, AgentApplicationType.EDGE, "4.4.0EDGEPE")).thenReturn(List.of()); + + AgentApplication created = creator.createApp(TENANT_ID, AGENT_ID, PROJECT_NAME, + compose("{\"services\":{\"tb-edge\":{\"image\":\"thingsboard/tb-edge:4.4.0EDGE\"}}}")); + + assertThat(created.getAppType()).isEqualTo(AgentApplicationType.EDGE); + assertThat(created.getTemplateVersion()).isEqualTo("4.4.0EDGEPE"); + + // below 4.4 a CE-style tag is Community Edge: no fallback to the PE-style template, the app stays GENERIC + AgentAppTemplate generic = template(AgentApplicationType.GENERIC, AgentApplicationType.GENERIC.getDefaultVersion()); + when(templateService.findByAppTypeAndConfigTypeAndCurrentVersion( + AgentApplicationType.EDGE, AgentAppConfigType.DOCKER_COMPOSE, "4.2.0EDGE")).thenReturn(null); + when(templateService.findByAppTypeAndConfigTypeAndCurrentVersion( + AgentApplicationType.EDGE, AgentAppConfigType.DOCKER_COMPOSE, "4.2.0EDGEPE")).thenReturn(template(AgentApplicationType.EDGE, "4.2.0EDGEPE")); + when(templateService.findByAppTypeAndConfigTypeAndCurrentVersion( + AgentApplicationType.GENERIC, AgentAppConfigType.DOCKER_COMPOSE, AgentApplicationType.GENERIC.getDefaultVersion())).thenReturn(generic); + + AgentApplication community = creator.createApp(TENANT_ID, AGENT_ID, PROJECT_NAME, + compose("{\"services\":{\"tb-edge\":{\"image\":\"thingsboard/tb-edge:4.2.0EDGE\"}}}")); + + assertThat(community.getAppType()).isEqualTo(AgentApplicationType.GENERIC); + assertThat(community.getTemplateVersion()).isEqualTo(AgentApplicationType.GENERIC.getDefaultVersion()); + } + @Test void noTemplateAtAll_returnsNull() { when(templateService.findByAppTypeAndConfigTypeAndCurrentVersion(any(), any(), any())).thenReturn(null); diff --git a/dao/src/main/java/org/thingsboard/server/dao/edge/EdgeEditionStyle.java b/dao/src/main/java/org/thingsboard/server/dao/edge/EdgeEditionStyle.java index b51d275ab7..6cfcb5df2d 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/edge/EdgeEditionStyle.java +++ b/dao/src/main/java/org/thingsboard/server/dao/edge/EdgeEditionStyle.java @@ -20,6 +20,14 @@ public enum EdgeEditionStyle { return TbVersionUtils.compare(edgeVersion, "4.4.0.1") >= 0 ? CE : PE; } + /** + * The edge version with the tag suffix its release is published under, e.g. {@code 4.4.0EDGEPE}, {@code 4.4.0.1EDGE}. + * Agent app templates are registered under these versions. + */ + public static String withVersionSuffix(String edgeVersion) { + return edgeVersion + getEdgeEditionStyle(edgeVersion).getVersionSuffix(); + } + public String replacePlaceholders(String instructions) { return instructions .replace("${TB_EDGE_REPO}", dockerRepo) From afe7bdb0ae9ad62d2df00f6ea234c31bf8b16222 Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Tue, 6 Oct 2026 12:12:29 +0200 Subject: [PATCH 091/559] Ignore ZK registrations with the current service id in discovery Other servers list excludes ZK nodes carrying the current service id and keeps a single, most recently modified, ZK node per service id, so every node builds the same partition ring when a service has duplicate registrations. Cache events for ZK nodes with the current service id are ignored, with an error logged when such a node appears. Removal of a duplicate ZK node of another service no longer publishes a shutdown event while that service is still registered. --- .../queue/discovery/ZkDiscoveryService.java | 25 +++++++- .../discovery/ZkDiscoveryServiceTest.java | 57 +++++++++++++++++++ 2 files changed, 81 insertions(+), 1 deletion(-) diff --git a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java index 72b48ecd8b..b427181569 100644 --- a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java +++ b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java @@ -32,12 +32,14 @@ import org.thingsboard.server.gen.transport.TransportProtos; import org.thingsboard.server.queue.discovery.event.OtherServiceShutdownEvent; import org.thingsboard.server.queue.util.AfterStartUp; +import java.util.LinkedHashMap; import java.util.List; import java.util.NoSuchElementException; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; +import java.util.function.Function; import java.util.stream.Collectors; import static org.apache.curator.framework.recipes.cache.CuratorCacheAccessor.parentPathFilter; @@ -103,20 +105,29 @@ public class ZkDiscoveryService implements DiscoveryService { @Override public List getOtherServers() { + String currentServiceId = serviceInfoProvider.getServiceInfo().getServiceId(); return cache.stream() .filter(parentPathFilter(zkNodesDir)) .filter(cd -> !cd.getPath().equals(nodePath)) .map(cd -> { try { - return TransportProtos.ServiceInfo.parseFrom(cd.getData()); + return new Registration(cd, TransportProtos.ServiceInfo.parseFrom(cd.getData())); } catch (NoSuchElementException | InvalidProtocolBufferException e) { log.error("Failed to decode ZK node", e); throw new RuntimeException(e); } }) + .filter(r -> !r.info().getServiceId().equals(currentServiceId)) + .collect(Collectors.toMap(r -> r.info().getServiceId(), Function.identity(), + (a, b) -> b.data().getStat().getMtime() > a.data().getStat().getMtime() ? b : a, + LinkedHashMap::new)) + .values().stream() + .map(Registration::info) .collect(Collectors.toList()); } + private record Registration(ChildData data, TransportProtos.ServiceInfo info) {} + @Override public boolean isMonolith() { return false; @@ -329,6 +340,14 @@ public class ZkDiscoveryService implements DiscoveryService { String serviceId = instance.getServiceId(); ProtocolStringList serviceTypesList = instance.getServiceTypesList(); + if (serviceId.equals(serviceInfoProvider.getServiceInfo().getServiceId())) { + if (type == CuratorCacheListener.Type.NODE_CREATED) { + log.error("[{}] Ignoring ZK node {} registered with the current service id. " + + "It is either a stale registration of this service or another service uses the same service id", serviceId, data.getPath()); + } + return; + } + log.trace("Processing [{}] event for [{}]", type, serviceId); switch (type) { case NODE_CREATED: @@ -349,6 +368,10 @@ public class ZkDiscoveryService implements DiscoveryService { } break; case NODE_DELETED: + if (getOtherServers().stream().anyMatch(s -> s.getServiceId().equals(serviceId))) { + log.debug("[{}] Ignoring removal of duplicate ZK node {}, service is still registered", serviceId, data.getPath()); + break; + } zkExecutorService.submit(() -> applicationEventPublisher.publishEvent(new OtherServiceShutdownEvent(this, serviceId, serviceTypesList))); ScheduledFuture future = zkExecutorService.schedule(() -> { log.debug("[{}] Going to recalculate partitions due to removed node [{}]", diff --git a/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java index 99bb8e7591..823f99e9b8 100644 --- a/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java +++ b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java @@ -25,6 +25,7 @@ import org.springframework.context.ApplicationEventPublisher; import org.springframework.test.util.ReflectionTestUtils; import org.thingsboard.common.util.ThingsBoardExecutors; import org.thingsboard.server.gen.transport.TransportProtos; +import org.thingsboard.server.queue.discovery.event.OtherServiceShutdownEvent; import java.util.ArrayList; import java.util.Collections; @@ -257,6 +258,56 @@ public class ZkDiscoveryServiceTest { verify(client, never()).setData(); } + @Test + public void getOtherServersIgnoresNodesWithCurrentServiceIdTest() { + dataList.add(new ChildData("/thingsboard/nodes/0000000011", statWithMtime(1), currentInfo.toByteArray())); + dataList.add(childData); + + assertEquals(List.of(childInfo), zkDiscoveryService.getOtherServers()); + } + + @Test + public void getOtherServersKeepsLatestNodeForDuplicatedServiceIdTest() { + TransportProtos.ServiceInfo latestInfo = childInfo.toBuilder().setReady(true).build(); + dataList.add(new ChildData("/thingsboard/nodes/0000000020", statWithMtime(1), childInfo.toByteArray())); + dataList.add(new ChildData("/thingsboard/nodes/0000000021", statWithMtime(2), latestInfo.toByteArray())); + + assertEquals(List.of(latestInfo), zkDiscoveryService.getOtherServers()); + + Collections.swap(dataList, 1, 2); + + assertEquals(List.of(latestInfo), zkDiscoveryService.getOtherServers()); + } + + @Test + public void nodeWithCurrentServiceIdDoesNotTriggerRecalculationTest() { + ChildData orphanData = new ChildData("/thingsboard/nodes/0000000011", statWithMtime(1), currentInfo.toByteArray()); + + startNode(orphanData); + stopNode(orphanData); + + assertTrue(zkDiscoveryService.delayedTasks.isEmpty()); + verify(partitionService, never()).recalculatePartitions(any(), any()); + verify(applicationEventPublisher, never()).publishEvent(any(OtherServiceShutdownEvent.class)); + } + + @Test + public void removalOfDuplicatedNodeDoesNotPublishShutdownEventTest() { + ChildData staleData = new ChildData("/thingsboard/nodes/0000000019", statWithMtime(1), childInfo.toByteArray()); + ChildData liveData = new ChildData("/thingsboard/nodes/0000000020", statWithMtime(2), childInfo.toByteArray()); + startNode(staleData); + startNode(liveData); + + stopNode(staleData); + + assertTrue(zkDiscoveryService.delayedTasks.isEmpty()); + verify(applicationEventPublisher, never()).publishEvent(any(OtherServiceShutdownEvent.class)); + + stopNode(liveData); + + assertEquals(1, zkDiscoveryService.delayedTasks.size()); + } + private ExistsBuilder mockExistsBuilder() { ExistsBuilder existsBuilder = mock(ExistsBuilder.class); when(client.checkExists()).thenReturn(existsBuilder); @@ -277,6 +328,12 @@ public class ZkDiscoveryServiceTest { return stat; } + private static Stat statWithMtime(long mtime) { + Stat stat = new Stat(); + stat.setMtime(mtime); + return stat; + } + private void startNode(ChildData data) { dataList.add(data); zkDiscoveryService.onCacheEvent(NODE_CREATED, null, data); From a823acd9acbec8fb09e1ea809f38cdc69e695a78 Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Tue, 6 Oct 2026 16:13:50 +0200 Subject: [PATCH 092/559] Create the current node ZK registration in protected mode The current node ZK node is created with Curator protection, so a create retried after a connection loss reuses the node already created by the lost attempt, and a node left by a failed create is deleted in the background instead of staying registered for the lifetime of the session. --- .../server/queue/discovery/ZkDiscoveryService.java | 3 ++- .../server/queue/discovery/ZkDiscoveryServiceTest.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java index b427181569..bbce1a70b0 100644 --- a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java +++ b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java @@ -167,7 +167,8 @@ public class ZkDiscoveryService implements DiscoveryService { log.info("[{}] Creating ZK node for current instance", self.getServiceId()); nodePath = client.create() .creatingParentsIfNeeded() - .withMode(CreateMode.EPHEMERAL_SEQUENTIAL).forPath(zkNodesDir + "/", self.toByteArray()); + .withProtection() + .withMode(CreateMode.EPHEMERAL_SEQUENTIAL).forPath(zkNodesDir + "/node-", self.toByteArray()); log.info("[{}] Created ZK node for current instance: {}", self.getServiceId(), nodePath); client.getConnectionStateListenable().addListener(checkReconnect(self)); } catch (Exception e) { diff --git a/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java index 823f99e9b8..5dfa660649 100644 --- a/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java +++ b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java @@ -217,7 +217,7 @@ public class ZkDiscoveryServiceTest { when(existsBuilder.forPath(currentData.getPath())).thenReturn(null); CreateBuilder createBuilder = mock(CreateBuilder.class, RETURNS_DEEP_STUBS); when(client.create()).thenReturn(createBuilder); - when(createBuilder.creatingParentsIfNeeded().withMode(CreateMode.EPHEMERAL_SEQUENTIAL).forPath("/thingsboard/nodes/", currentInfo.toByteArray())) + when(createBuilder.creatingParentsIfNeeded().withProtection().withMode(CreateMode.EPHEMERAL_SEQUENTIAL).forPath("/thingsboard/nodes/node-", currentInfo.toByteArray())) .thenReturn(newPath); when(client.getConnectionStateListenable()).thenReturn(mock(Listenable.class)); @@ -235,7 +235,7 @@ public class ZkDiscoveryServiceTest { mockSessionId(); CreateBuilder createBuilder = mock(CreateBuilder.class, RETURNS_DEEP_STUBS); when(client.create()).thenReturn(createBuilder); - when(createBuilder.creatingParentsIfNeeded().withMode(CreateMode.EPHEMERAL_SEQUENTIAL).forPath("/thingsboard/nodes/", currentInfo.toByteArray())) + when(createBuilder.creatingParentsIfNeeded().withProtection().withMode(CreateMode.EPHEMERAL_SEQUENTIAL).forPath("/thingsboard/nodes/node-", currentInfo.toByteArray())) .thenReturn(newPath); when(client.getConnectionStateListenable()).thenReturn(mock(Listenable.class)); From 10f0025993e1293ab910f24d3a892a49a13f17d9 Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Wed, 7 Oct 2026 12:10:52 +0200 Subject: [PATCH 093/559] Fix skipped partition recalculation after a ZK node removal The delayed recalculation task is scheduled and stored in delayed tasks atomically, so a task started with zero delay always finds itself in delayed tasks and does not skip the recalculation. --- .../server/queue/discovery/ZkDiscoveryService.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java index bbce1a70b0..34e30bc8a2 100644 --- a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java +++ b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java @@ -374,15 +374,14 @@ public class ZkDiscoveryService implements DiscoveryService { break; } zkExecutorService.submit(() -> applicationEventPublisher.publishEvent(new OtherServiceShutdownEvent(this, serviceId, serviceTypesList))); - ScheduledFuture future = zkExecutorService.schedule(() -> { + delayedTasks.compute(serviceId, (id, previous) -> zkExecutorService.schedule(() -> { log.debug("[{}] Going to recalculate partitions due to removed node [{}]", serviceId, serviceTypesList); ScheduledFuture removedTask = delayedTasks.remove(serviceId); if (removedTask != null) { recalculatePartitions(); } - }, recalculateDelay, TimeUnit.MILLISECONDS); - delayedTasks.put(serviceId, future); + }, recalculateDelay, TimeUnit.MILLISECONDS)); break; default: break; From 31a5b0c2073b32f31d57c0f8592b777ce98f8704 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 7 Oct 2026 15:16:04 +0300 Subject: [PATCH 094/559] simplify itemTitle in item detail dialog --- .../iot-hub/iot-hub-item-detail-dialog.component.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts index 12a8900610..41b5d77814 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts @@ -172,15 +172,9 @@ export class TbIotHubItemDetailDialogComponent extends DialogComponent Date: Wed, 7 Oct 2026 15:07:34 +0200 Subject: [PATCH 095/559] Add ZooKeeper-backed tests for ZK discovery registration The tests run ZkDiscoveryService against an embedded ZooKeeper server and check that the current node is registered once with a protected node name and is excluded from other servers, both after start and after a session expiry. --- common/queue/pom.xml | 5 + .../discovery/ZkDiscoveryServiceZkTest.java | 109 ++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceZkTest.java diff --git a/common/queue/pom.xml b/common/queue/pom.xml index 4a340a96ec..7a477ecbca 100644 --- a/common/queue/pom.xml +++ b/common/queue/pom.xml @@ -123,6 +123,11 @@ awaitility test + + org.apache.curator + curator-test + test + diff --git a/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceZkTest.java b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceZkTest.java new file mode 100644 index 0000000000..380d13176d --- /dev/null +++ b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceZkTest.java @@ -0,0 +1,109 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.queue.discovery; + +import org.apache.curator.framework.CuratorFramework; +import org.apache.curator.framework.CuratorFrameworkFactory; +import org.apache.curator.retry.RetryOneTime; +import org.apache.curator.test.TestingServer; +import org.apache.curator.utils.CloseableUtils; +import org.apache.zookeeper.data.Stat; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.springframework.context.ApplicationEventPublisher; +import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.server.gen.transport.TransportProtos; + +import java.time.Duration; +import java.util.List; + +import static org.awaitility.Awaitility.await; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.mockito.Mockito.lenient; + +@ExtendWith(MockitoExtension.class) +public class ZkDiscoveryServiceZkTest { + + private static final String ZK_NODES_DIR = "/thingsboard/nodes"; + private static final String PROTECTED_NODE_NAME_REGEX = "_c_[0-9a-f-]{36}-node-\\d{10}"; + + @Mock + private ApplicationEventPublisher applicationEventPublisher; + @Mock + private TbServiceInfoProvider serviceInfoProvider; + @Mock + private PartitionService partitionService; + + private final TransportProtos.ServiceInfo currentInfo = TransportProtos.ServiceInfo.newBuilder().setServiceId("tb-core-0").build(); + + private TestingServer zkServer; + private CuratorFramework observer; + private ZkDiscoveryService zkDiscoveryService; + + @BeforeEach + public void setup() throws Exception { + zkServer = new TestingServer(true); + observer = CuratorFrameworkFactory.newClient(zkServer.getConnectString(), new RetryOneTime(100)); + observer.start(); + + lenient().when(serviceInfoProvider.getServiceInfo()).thenReturn(currentInfo); + lenient().when(serviceInfoProvider.generateNewServiceInfoWithCurrentSystemInfo()).thenReturn(currentInfo); + + zkDiscoveryService = new ZkDiscoveryService(applicationEventPublisher, serviceInfoProvider, partitionService); + ReflectionTestUtils.setField(zkDiscoveryService, "zkUrl", zkServer.getConnectString()); + ReflectionTestUtils.setField(zkDiscoveryService, "zkRetryInterval", 100); + ReflectionTestUtils.setField(zkDiscoveryService, "zkConnectionTimeout", 3000); + ReflectionTestUtils.setField(zkDiscoveryService, "zkSessionTimeout", 3000); + ReflectionTestUtils.setField(zkDiscoveryService, "zkDir", "/thingsboard"); + ReflectionTestUtils.setField(zkDiscoveryService, "recalculateDelay", 0L); + zkDiscoveryService.init(); + zkDiscoveryService.onApplicationEvent(null); + } + + @AfterEach + public void tearDown() throws Exception { + ReflectionTestUtils.invokeMethod(zkDiscoveryService, "destroy"); + CloseableUtils.closeQuietly(observer); + zkServer.close(); + } + + @Test + public void publishCreatesSingleProtectedNodeAndExcludesItFromOtherServersTest() throws Exception { + List nodes = observer.getChildren().forPath(ZK_NODES_DIR); + + assertEquals(1, nodes.size()); + assertTrue(nodes.get(0).matches(PROTECTED_NODE_NAME_REGEX), nodes.get(0)); + assertEquals(ZK_NODES_DIR + "/" + nodes.get(0), ReflectionTestUtils.getField(zkDiscoveryService, "nodePath")); + await().atMost(Duration.ofSeconds(10)).untilAsserted(() -> + assertTrue(zkDiscoveryService.getOtherServers().isEmpty())); + } + + @Test + public void sessionExpiryLeavesSingleNodeOwnedByCurrentSessionTest() throws Exception { + String nodeBeforeExpiry = observer.getChildren().forPath(ZK_NODES_DIR).get(0); + + zkDiscoveryService.getClient().getZookeeperClient().getZooKeeper().getTestable().injectSessionExpiration(); + + await().atMost(Duration.ofSeconds(30)) + .during(Duration.ofSeconds(2)) + .ignoreExceptions() + .untilAsserted(() -> { + List nodes = observer.getChildren().forPath(ZK_NODES_DIR); + assertEquals(1, nodes.size()); + String nodePath = ZK_NODES_DIR + "/" + nodes.get(0); + assertNotEquals(nodeBeforeExpiry, nodes.get(0)); + assertEquals(nodePath, ReflectionTestUtils.getField(zkDiscoveryService, "nodePath")); + Stat stat = observer.checkExists().forPath(nodePath); + long sessionId = zkDiscoveryService.getClient().getZookeeperClient().getZooKeeper().getSessionId(); + assertEquals(sessionId, stat.getEphemeralOwner()); + assertTrue(zkDiscoveryService.getOtherServers().isEmpty()); + }); + } + +} From bb019d51d1746d8e02815c922ac6d419ff6575a1 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 7 Oct 2026 16:39:31 +0300 Subject: [PATCH 096/559] fix: detect the type of resource URLs named like css2 loadResource found the type of a resource from its file extension or from a path segment named exactly css or js, as in Google Maps' /maps/api/js. The current Google Fonts API serves stylesheets from /css2, so its URLs failed with "Unable to detect file type". The type now comes from the last path segment of the parsed URL: its extension, or the segment itself when it is named css or js with an optional version number. Upper-case extensions are recognised too. --- .../app/core/services/resources.service.ts | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/core/services/resources.service.ts b/ui-ngx/src/app/core/services/resources.service.ts index 52459d5c88..46c020ca30 100644 --- a/ui-ngx/src/app/core/services/resources.service.ts +++ b/ui-ngx/src/app/core/services/resources.service.ts @@ -79,6 +79,23 @@ export const componentTypeBySelector = (modulesWithComponents: ModulesWithCompon return found?.type; } +// The file type of a resource URL: the extension of its last path segment, or the segment itself when it is named +// after the type with an optional version, as in Google Maps' /maps/api/js and Google Fonts' /css and /css2. +const resourceFileType = (url: string, baseUrl: string): string => { + let path: string; + try { + path = new URL(url, baseUrl).pathname; + } catch { + return undefined; + } + const segment = path.substring(path.lastIndexOf('/') + 1).toLowerCase(); + const extensionIndex = segment.lastIndexOf('.'); + if (extensionIndex > -1) { + return segment.substring(extensionIndex + 1); + } + return /^(css|js)\d*$/.exec(segment)?.[1]; +}; + const matchesSelector = (selectors: ɵCssSelectorList, selector: string) => selectors.some(s => s.some(s1 => typeof s1 === 'string' && s1 === selector)); @@ -142,11 +159,7 @@ export class ResourcesService { return this.loadedResources[url].asObservable(); } - let fileType: string; - const match = /[./](css|less|html|htm|js)?(([?#]).*)?$/.exec(url); - if (match !== null) { - fileType = match[1]; - } + const fileType = resourceFileType(url, this.document.baseURI); if (!fileType) { return throwError(() => new Error(`Unable to detect file type from url: ${url}`)); } else if (fileType !== 'css' && fileType !== 'js') { From e8dc5bdc3d16c9107bb7916ebedb6fc4ae0968b1 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 7 Oct 2026 16:18:35 +0200 Subject: [PATCH 097/559] Merge pull request #16259 from mtsymbarov-del/fix/alarm-details-outline-inputs Applied outline appearance to inputs in Alarm details dialog --- .../alarm/alarm-assignee.component.html | 2 +- .../alarm/alarm-details-dialog.component.html | 12 ++++++------ .../alarm/alarm-details-dialog.component.scss | 16 ---------------- 3 files changed, 7 insertions(+), 23 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.html b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.html index e34ed8c344..1bf99ff2e2 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.html @@ -4,7 +4,7 @@ SPDX-License-Identifier: Apache-2.0 --> - alarm.assignee diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.html b/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.html index 7ed60e9ccc..37ab23d9ad 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.html @@ -25,11 +25,11 @@
- + alarm.originator - + alarm.severity
@if (alarmFormGroup.get('startTime').value) { - + alarm.start-time } @if (alarmFormGroup.get('duration').value) { - + alarm.duration }
- + alarm.type - + alarm.status diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.scss b/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.scss index 8886910def..6349fce043 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-details-dialog.component.scss @@ -1,22 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 :host ::ng-deep { - .assignee-field { - .mat-form-field-label-wrapper { - overflow: visible; - left: -36px; - } - .user-avatar { - min-width: 28px; - min-height: 28px; - margin-right: 8px; - border-radius: 50%; - font-weight: 700; - color: #fff; - font-size: 13px; - line-height: normal; - } - } .mat-expansion-panel { &.tb-alarm-details { box-shadow: none; From 237025d80ed0f2ca2afdc0f5263e8c8469a7264d Mon Sep 17 00:00:00 2001 From: Dmytro Pinkevych <49400214+pinkevmladchy@users.noreply.github.com> Date: Thu, 8 Oct 2026 12:18:12 +0300 Subject: [PATCH 098/559] Fix device install wizard navigation via stepper header (#16265) Clicking a step in the stepper header bypassed nextStep(), so the Provisioning step was never activated and rendered empty, and the Configuration form values were not collected. Step activation now runs on the stepper selectionChange, and instruction steps are marked completed once shown so the header can move past them like the Next button does. --- .../device-install-dialog.component.html | 3 +- .../device-install-dialog.component.ts | 38 ++++++++++++------- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index bb72d65ea3..28e7f61ceb 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -190,7 +190,8 @@
+ labelPosition="bottom" + (selectionChange)="onStepSelectionChange($event)"> done diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 7f991316ee..33f2a6d08a 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -12,6 +12,7 @@ import { AppState } from '@core/core.state'; import { DialogComponent } from '@shared/components/dialog.component'; import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; import { MatStepper } from '@angular/material/stepper'; +import { StepperSelectionEvent } from '@angular/cdk/stepper'; import { firstValueFrom } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { PageLink } from '@shared/models/page/page-link'; @@ -261,10 +262,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - this.stepper?.next(); - this.onStepActivated(); - }, 0); + setTimeout(() => this.stepper?.next(), 0); return; } this.startWizard(); @@ -315,12 +313,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent Date: Thu, 8 Oct 2026 12:26:29 +0300 Subject: [PATCH 099/559] Version set to 4.4.0.1-SNAPSHOT --- application/pom.xml | 2 +- common/actor/pom.xml | 2 +- common/agent-api/pom.xml | 2 +- common/cache/pom.xml | 2 +- common/cluster-api/pom.xml | 2 +- common/coap-server/pom.xml | 2 +- common/dao-api/pom.xml | 2 +- common/data/pom.xml | 2 +- common/discovery-api/pom.xml | 2 +- common/edge-api/pom.xml | 2 +- common/edqs/pom.xml | 2 +- common/integration/apache-pulsar/pom.xml | 2 +- common/integration/aws-integrations/pom.xml | 2 +- common/integration/azure-integrations/pom.xml | 2 +- common/integration/cluster-integration-api/pom.xml | 2 +- common/integration/coap-integrations/pom.xml | 2 +- common/integration/gcloud-integrations/pom.xml | 2 +- common/integration/http-integrations/pom.xml | 2 +- common/integration/integration-api/pom.xml | 2 +- common/integration/kafka-integrations/pom.xml | 2 +- common/integration/mqtt-integrations/pom.xml | 2 +- common/integration/opcua-integrations/pom.xml | 2 +- common/integration/pom.xml | 2 +- common/integration/rabbitmq-integrations/pom.xml | 2 +- common/integration/remote-integration-api/pom.xml | 2 +- common/integration/tuya-integrations/pom.xml | 2 +- common/message/pom.xml | 2 +- common/pom.xml | 2 +- common/proto/pom.xml | 2 +- common/queue/pom.xml | 2 +- common/report/pom.xml | 2 +- common/script/pom.xml | 2 +- common/script/remote-js-client/pom.xml | 2 +- common/script/script-api/pom.xml | 2 +- common/stats/pom.xml | 2 +- common/transport/coap/pom.xml | 2 +- common/transport/http/pom.xml | 2 +- common/transport/lwm2m/pom.xml | 2 +- common/transport/mqtt/pom.xml | 2 +- common/transport/pom.xml | 2 +- common/transport/snmp/pom.xml | 2 +- common/transport/transport-api/pom.xml | 2 +- common/util/pom.xml | 2 +- common/version-control/pom.xml | 2 +- dao/pom.xml | 2 +- edqs/pom.xml | 2 +- integration/apache-pulsar/pom.xml | 2 +- integration/aws/pom.xml | 2 +- integration/azure/pom.xml | 2 +- integration/coap/pom.xml | 2 +- integration/executor/pom.xml | 2 +- integration/http/pom.xml | 2 +- integration/kafka/pom.xml | 2 +- integration/mqtt/pom.xml | 2 +- integration/opc-ua/pom.xml | 2 +- integration/pom.xml | 2 +- integration/pubsub/pom.xml | 2 +- integration/rabbitmq/pom.xml | 2 +- integration/tcp-udp/pom.xml | 2 +- integration/tuya/pom.xml | 2 +- migrator/pom.xml | 2 +- monitoring/pom.xml | 2 +- msa/black-box-tests/pom.xml | 2 +- msa/edqs/pom.xml | 2 +- msa/integration/apache-pulsar/pom.xml | 2 +- msa/integration/aws/pom.xml | 2 +- msa/integration/azure/pom.xml | 2 +- msa/integration/coap/pom.xml | 2 +- msa/integration/executor/pom.xml | 2 +- msa/integration/http/pom.xml | 2 +- msa/integration/kafka/pom.xml | 2 +- msa/integration/mqtt/pom.xml | 2 +- msa/integration/opc-ua/pom.xml | 2 +- msa/integration/pom.xml | 2 +- msa/integration/pubsub/pom.xml | 2 +- msa/integration/rabbitmq/pom.xml | 2 +- msa/integration/tcp-udp/pom.xml | 2 +- msa/integration/tuya/pom.xml | 2 +- msa/js-executor/package.json | 2 +- msa/js-executor/pom.xml | 2 +- msa/migrator/pom.xml | 2 +- msa/monitoring/pom.xml | 2 +- msa/pom.xml | 2 +- msa/report/pom.xml | 2 +- msa/tb-node/pom.xml | 2 +- msa/transport/coap/pom.xml | 2 +- msa/transport/http/pom.xml | 2 +- msa/transport/lwm2m/pom.xml | 2 +- msa/transport/mqtt/pom.xml | 2 +- msa/transport/pom.xml | 2 +- msa/transport/snmp/pom.xml | 2 +- msa/vc-executor-docker/pom.xml | 2 +- msa/vc-executor/pom.xml | 2 +- msa/web-report/package.json | 2 +- msa/web-report/pom.xml | 2 +- msa/web-ui/package.json | 2 +- msa/web-ui/pom.xml | 2 +- netty-mqtt/pom.xml | 4 ++-- packaging/pom.xml | 2 +- pom.xml | 2 +- report/pom.xml | 2 +- rest-client/pom.xml | 2 +- rule-engine/pom.xml | 2 +- rule-engine/rule-engine-api/pom.xml | 2 +- rule-engine/rule-engine-components/pom.xml | 2 +- tools/pom.xml | 2 +- transport/coap/pom.xml | 2 +- transport/http/pom.xml | 2 +- transport/lwm2m/pom.xml | 2 +- transport/mqtt/pom.xml | 2 +- transport/pom.xml | 2 +- transport/snmp/pom.xml | 2 +- ui-ngx/package.json | 2 +- ui-ngx/pom.xml | 2 +- 114 files changed, 115 insertions(+), 115 deletions(-) diff --git a/application/pom.xml b/application/pom.xml index 1fdc656151..05096269a8 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard application diff --git a/common/actor/pom.xml b/common/actor/pom.xml index 207337ae57..36eec9d17e 100644 --- a/common/actor/pom.xml +++ b/common/actor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/agent-api/pom.xml b/common/agent-api/pom.xml index 116cd3478a..648bab6df3 100644 --- a/common/agent-api/pom.xml +++ b/common/agent-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/cache/pom.xml b/common/cache/pom.xml index e4ba4342e6..358c784e44 100644 --- a/common/cache/pom.xml +++ b/common/cache/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/cluster-api/pom.xml b/common/cluster-api/pom.xml index 257f6c2712..ffde72c4aa 100644 --- a/common/cluster-api/pom.xml +++ b/common/cluster-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/coap-server/pom.xml b/common/coap-server/pom.xml index cb76c5f68c..5a4bbb4eb6 100644 --- a/common/coap-server/pom.xml +++ b/common/coap-server/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/dao-api/pom.xml b/common/dao-api/pom.xml index 3ce813d21c..e19e17995c 100644 --- a/common/dao-api/pom.xml +++ b/common/dao-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/data/pom.xml b/common/data/pom.xml index d3e060a8b3..815bf191f7 100644 --- a/common/data/pom.xml +++ b/common/data/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/discovery-api/pom.xml b/common/discovery-api/pom.xml index 3c7df8d6a0..d7cb25266b 100644 --- a/common/discovery-api/pom.xml +++ b/common/discovery-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/edge-api/pom.xml b/common/edge-api/pom.xml index bbd2463752..77005c642c 100644 --- a/common/edge-api/pom.xml +++ b/common/edge-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/edqs/pom.xml b/common/edqs/pom.xml index 33be32a08c..c4806872cd 100644 --- a/common/edqs/pom.xml +++ b/common/edqs/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/integration/apache-pulsar/pom.xml b/common/integration/apache-pulsar/pom.xml index dabe13c243..8d2bcb44c1 100644 --- a/common/integration/apache-pulsar/pom.xml +++ b/common/integration/apache-pulsar/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/aws-integrations/pom.xml b/common/integration/aws-integrations/pom.xml index 59f1830998..7629907753 100644 --- a/common/integration/aws-integrations/pom.xml +++ b/common/integration/aws-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/azure-integrations/pom.xml b/common/integration/azure-integrations/pom.xml index f521b0f1c7..dad9f38033 100644 --- a/common/integration/azure-integrations/pom.xml +++ b/common/integration/azure-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/cluster-integration-api/pom.xml b/common/integration/cluster-integration-api/pom.xml index d26c39df6b..151d787c23 100644 --- a/common/integration/cluster-integration-api/pom.xml +++ b/common/integration/cluster-integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/coap-integrations/pom.xml b/common/integration/coap-integrations/pom.xml index 6142b068b0..f75a62aed9 100644 --- a/common/integration/coap-integrations/pom.xml +++ b/common/integration/coap-integrations/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/gcloud-integrations/pom.xml b/common/integration/gcloud-integrations/pom.xml index 4a7ebfed15..b909cfb628 100644 --- a/common/integration/gcloud-integrations/pom.xml +++ b/common/integration/gcloud-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/http-integrations/pom.xml b/common/integration/http-integrations/pom.xml index 99aa616128..5b2606505a 100644 --- a/common/integration/http-integrations/pom.xml +++ b/common/integration/http-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/integration-api/pom.xml b/common/integration/integration-api/pom.xml index 892a3bd16f..23fbb4f012 100644 --- a/common/integration/integration-api/pom.xml +++ b/common/integration/integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/kafka-integrations/pom.xml b/common/integration/kafka-integrations/pom.xml index de0ae80585..1da4a2e5bc 100644 --- a/common/integration/kafka-integrations/pom.xml +++ b/common/integration/kafka-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/mqtt-integrations/pom.xml b/common/integration/mqtt-integrations/pom.xml index bc2df4cf5e..669904703f 100644 --- a/common/integration/mqtt-integrations/pom.xml +++ b/common/integration/mqtt-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/opcua-integrations/pom.xml b/common/integration/opcua-integrations/pom.xml index d8e861692c..af25e34904 100644 --- a/common/integration/opcua-integrations/pom.xml +++ b/common/integration/opcua-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/pom.xml b/common/integration/pom.xml index df625de93c..ffc4d21947 100644 --- a/common/integration/pom.xml +++ b/common/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/integration/rabbitmq-integrations/pom.xml b/common/integration/rabbitmq-integrations/pom.xml index 1f733387ef..c4f120c054 100644 --- a/common/integration/rabbitmq-integrations/pom.xml +++ b/common/integration/rabbitmq-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/remote-integration-api/pom.xml b/common/integration/remote-integration-api/pom.xml index 50a0a6f815..a0efa16741 100644 --- a/common/integration/remote-integration-api/pom.xml +++ b/common/integration/remote-integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/tuya-integrations/pom.xml b/common/integration/tuya-integrations/pom.xml index d67fe3cc7c..6bb785b285 100644 --- a/common/integration/tuya-integrations/pom.xml +++ b/common/integration/tuya-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/message/pom.xml b/common/message/pom.xml index e2132029e6..7fdcc5d7e3 100644 --- a/common/message/pom.xml +++ b/common/message/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/pom.xml b/common/pom.xml index 9474839791..dd7abf9c65 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard common diff --git a/common/proto/pom.xml b/common/proto/pom.xml index 4908ee0cd7..f27ab28dd3 100644 --- a/common/proto/pom.xml +++ b/common/proto/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/queue/pom.xml b/common/queue/pom.xml index 9aeba1959b..1107cb9d80 100644 --- a/common/queue/pom.xml +++ b/common/queue/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/report/pom.xml b/common/report/pom.xml index 22374c1ff8..4c5569f5b3 100644 --- a/common/report/pom.xml +++ b/common/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/script/pom.xml b/common/script/pom.xml index 7f24d645b6..31baf21245 100644 --- a/common/script/pom.xml +++ b/common/script/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/script/remote-js-client/pom.xml b/common/script/remote-js-client/pom.xml index 50df7069f5..8107306a8c 100644 --- a/common/script/remote-js-client/pom.xml +++ b/common/script/remote-js-client/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT script org.thingsboard.common.script diff --git a/common/script/script-api/pom.xml b/common/script/script-api/pom.xml index 698e51e0a4..59d85f86a1 100644 --- a/common/script/script-api/pom.xml +++ b/common/script/script-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT script org.thingsboard.common.script diff --git a/common/stats/pom.xml b/common/stats/pom.xml index 1a116f1b37..8cac215014 100644 --- a/common/stats/pom.xml +++ b/common/stats/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/transport/coap/pom.xml b/common/transport/coap/pom.xml index 2e3e82a831..3e52ecf18b 100644 --- a/common/transport/coap/pom.xml +++ b/common/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/http/pom.xml b/common/transport/http/pom.xml index fc7b58100f..5ab4b7ba73 100644 --- a/common/transport/http/pom.xml +++ b/common/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/lwm2m/pom.xml b/common/transport/lwm2m/pom.xml index 11fc33f05c..dd7850c851 100644 --- a/common/transport/lwm2m/pom.xml +++ b/common/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/mqtt/pom.xml b/common/transport/mqtt/pom.xml index 420995f740..9e0595d144 100644 --- a/common/transport/mqtt/pom.xml +++ b/common/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/pom.xml b/common/transport/pom.xml index 2aa7a33ef1..57728b92b7 100644 --- a/common/transport/pom.xml +++ b/common/transport/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/transport/snmp/pom.xml b/common/transport/snmp/pom.xml index 97e47ab761..654180c79a 100644 --- a/common/transport/snmp/pom.xml +++ b/common/transport/snmp/pom.xml @@ -11,7 +11,7 @@ org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport diff --git a/common/transport/transport-api/pom.xml b/common/transport/transport-api/pom.xml index bb31960dd9..68cc72722e 100644 --- a/common/transport/transport-api/pom.xml +++ b/common/transport/transport-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/util/pom.xml b/common/util/pom.xml index 3faf8e398e..1b630a08ad 100644 --- a/common/util/pom.xml +++ b/common/util/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/common/version-control/pom.xml b/common/version-control/pom.xml index 6dff34b0ff..0691144f3d 100644 --- a/common/version-control/pom.xml +++ b/common/version-control/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT common org.thingsboard.common diff --git a/dao/pom.xml b/dao/pom.xml index c16be92787..1330f42cda 100644 --- a/dao/pom.xml +++ b/dao/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard dao diff --git a/edqs/pom.xml b/edqs/pom.xml index 8a331de831..461cb6d5dd 100644 --- a/edqs/pom.xml +++ b/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard edqs diff --git a/integration/apache-pulsar/pom.xml b/integration/apache-pulsar/pom.xml index 1f2209de28..f81588fb8d 100644 --- a/integration/apache-pulsar/pom.xml +++ b/integration/apache-pulsar/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/aws/pom.xml b/integration/aws/pom.xml index 4087d35ffa..41a86f31d3 100644 --- a/integration/aws/pom.xml +++ b/integration/aws/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/azure/pom.xml b/integration/azure/pom.xml index 2e0fadb59c..86a6a23a29 100644 --- a/integration/azure/pom.xml +++ b/integration/azure/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/coap/pom.xml b/integration/coap/pom.xml index 7f639ffab3..caf30f83f2 100644 --- a/integration/coap/pom.xml +++ b/integration/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/executor/pom.xml b/integration/executor/pom.xml index 2c925ae21e..41a281d9f9 100644 --- a/integration/executor/pom.xml +++ b/integration/executor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/http/pom.xml b/integration/http/pom.xml index e71c8b9220..1d619ab324 100644 --- a/integration/http/pom.xml +++ b/integration/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/kafka/pom.xml b/integration/kafka/pom.xml index 7625ac1da6..28e498fa45 100644 --- a/integration/kafka/pom.xml +++ b/integration/kafka/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/mqtt/pom.xml b/integration/mqtt/pom.xml index 8d75054d4a..2bc8af134e 100644 --- a/integration/mqtt/pom.xml +++ b/integration/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/opc-ua/pom.xml b/integration/opc-ua/pom.xml index 5f1feee9a0..e1ae8ffc85 100644 --- a/integration/opc-ua/pom.xml +++ b/integration/opc-ua/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/pom.xml b/integration/pom.xml index 10e14d5cdf..2f3ec66166 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard integration diff --git a/integration/pubsub/pom.xml b/integration/pubsub/pom.xml index 4ebf2c9004..286d29f1bc 100644 --- a/integration/pubsub/pom.xml +++ b/integration/pubsub/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/rabbitmq/pom.xml b/integration/rabbitmq/pom.xml index 0fd0baa9f6..081147ad5a 100644 --- a/integration/rabbitmq/pom.xml +++ b/integration/rabbitmq/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/tcp-udp/pom.xml b/integration/tcp-udp/pom.xml index f8978a6476..1ae99f25ef 100644 --- a/integration/tcp-udp/pom.xml +++ b/integration/tcp-udp/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/tuya/pom.xml b/integration/tuya/pom.xml index d1d35600fe..1d84b18221 100644 --- a/integration/tuya/pom.xml +++ b/integration/tuya/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration org.thingsboard.integration diff --git a/migrator/pom.xml b/migrator/pom.xml index dc214af268..7de06d3f90 100644 --- a/migrator/pom.xml +++ b/migrator/pom.xml @@ -12,7 +12,7 @@ thingsboard org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT migrator diff --git a/monitoring/pom.xml b/monitoring/pom.xml index 2da4f1df9d..c1a4fad26e 100644 --- a/monitoring/pom.xml +++ b/monitoring/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard diff --git a/msa/black-box-tests/pom.xml b/msa/black-box-tests/pom.xml index a400f2509f..9cbbacbb5f 100644 --- a/msa/black-box-tests/pom.xml +++ b/msa/black-box-tests/pom.xml @@ -11,7 +11,7 @@ org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/edqs/pom.xml b/msa/edqs/pom.xml index fe10886ab0..19129f8365 100644 --- a/msa/edqs/pom.xml +++ b/msa/edqs/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/integration/apache-pulsar/pom.xml b/msa/integration/apache-pulsar/pom.xml index a500bf1dee..be95124a98 100644 --- a/msa/integration/apache-pulsar/pom.xml +++ b/msa/integration/apache-pulsar/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/aws/pom.xml b/msa/integration/aws/pom.xml index 88aac0688f..42c4cc38fa 100644 --- a/msa/integration/aws/pom.xml +++ b/msa/integration/aws/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/azure/pom.xml b/msa/integration/azure/pom.xml index f3da36fa70..da528c71ec 100644 --- a/msa/integration/azure/pom.xml +++ b/msa/integration/azure/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/coap/pom.xml b/msa/integration/coap/pom.xml index a0a4599231..06059a5e01 100644 --- a/msa/integration/coap/pom.xml +++ b/msa/integration/coap/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/executor/pom.xml b/msa/integration/executor/pom.xml index 03b691a486..24946b9f3e 100644 --- a/msa/integration/executor/pom.xml +++ b/msa/integration/executor/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/http/pom.xml b/msa/integration/http/pom.xml index 79afb60403..7041c2c4fd 100644 --- a/msa/integration/http/pom.xml +++ b/msa/integration/http/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/kafka/pom.xml b/msa/integration/kafka/pom.xml index 8aacaee624..9d90ca755d 100644 --- a/msa/integration/kafka/pom.xml +++ b/msa/integration/kafka/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/mqtt/pom.xml b/msa/integration/mqtt/pom.xml index 31dc11484c..5095573d29 100644 --- a/msa/integration/mqtt/pom.xml +++ b/msa/integration/mqtt/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/opc-ua/pom.xml b/msa/integration/opc-ua/pom.xml index 41beaf8378..d6eb1e39b3 100644 --- a/msa/integration/opc-ua/pom.xml +++ b/msa/integration/opc-ua/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/pom.xml b/msa/integration/pom.xml index 163e458073..c7debdd00a 100644 --- a/msa/integration/pom.xml +++ b/msa/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa diff --git a/msa/integration/pubsub/pom.xml b/msa/integration/pubsub/pom.xml index c3a9cd9f10..f1dd1b878e 100644 --- a/msa/integration/pubsub/pom.xml +++ b/msa/integration/pubsub/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/rabbitmq/pom.xml b/msa/integration/rabbitmq/pom.xml index bcbd8f24a0..a79d9bfd2a 100644 --- a/msa/integration/rabbitmq/pom.xml +++ b/msa/integration/rabbitmq/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/tcp-udp/pom.xml b/msa/integration/tcp-udp/pom.xml index 0641df3861..ca9e7cf50d 100644 --- a/msa/integration/tcp-udp/pom.xml +++ b/msa/integration/tcp-udp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/integration/tuya/pom.xml b/msa/integration/tuya/pom.xml index cb7cbad262..434db9bbe6 100644 --- a/msa/integration/tuya/pom.xml +++ b/msa/integration/tuya/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT integration diff --git a/msa/js-executor/package.json b/msa/js-executor/package.json index c1195784d4..f534a6d07b 100644 --- a/msa/js-executor/package.json +++ b/msa/js-executor/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-js-executor", "private": true, - "version": "4.4.0", + "version": "4.4.0.1", "description": "ThingsBoard JavaScript Executor Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml index c41b4727c1..f5b5baf0c9 100644 --- a/msa/js-executor/pom.xml +++ b/msa/js-executor/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/migrator/pom.xml b/msa/migrator/pom.xml index b5858de7d1..a6d7ae86a8 100644 --- a/msa/migrator/pom.xml +++ b/msa/migrator/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa diff --git a/msa/monitoring/pom.xml b/msa/monitoring/pom.xml index 09d8a26aca..0bd2786a49 100644 --- a/msa/monitoring/pom.xml +++ b/msa/monitoring/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa diff --git a/msa/pom.xml b/msa/pom.xml index 648a45c884..bfb8655728 100644 --- a/msa/pom.xml +++ b/msa/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard msa diff --git a/msa/report/pom.xml b/msa/report/pom.xml index 1f2e13ace4..8a3361d2c3 100644 --- a/msa/report/pom.xml +++ b/msa/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/tb-node/pom.xml b/msa/tb-node/pom.xml index 0371448f18..8227d7bcb0 100644 --- a/msa/tb-node/pom.xml +++ b/msa/tb-node/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/transport/coap/pom.xml b/msa/transport/coap/pom.xml index 30745968fb..1354f57dab 100644 --- a/msa/transport/coap/pom.xml +++ b/msa/transport/coap/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/http/pom.xml b/msa/transport/http/pom.xml index 9c0dfb115d..10d593c1ea 100644 --- a/msa/transport/http/pom.xml +++ b/msa/transport/http/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/lwm2m/pom.xml b/msa/transport/lwm2m/pom.xml index d40ef6eaa8..23fcf1aa52 100644 --- a/msa/transport/lwm2m/pom.xml +++ b/msa/transport/lwm2m/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/mqtt/pom.xml b/msa/transport/mqtt/pom.xml index 3c2fd5027c..682986ec8b 100644 --- a/msa/transport/mqtt/pom.xml +++ b/msa/transport/mqtt/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/pom.xml b/msa/transport/pom.xml index 0b5440d192..bebd87ebab 100644 --- a/msa/transport/pom.xml +++ b/msa/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/transport/snmp/pom.xml b/msa/transport/snmp/pom.xml index 6c2c71d541..c96784b765 100644 --- a/msa/transport/snmp/pom.xml +++ b/msa/transport/snmp/pom.xml @@ -11,7 +11,7 @@ org.thingsboard.msa transport - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT org.thingsboard.msa.transport diff --git a/msa/vc-executor-docker/pom.xml b/msa/vc-executor-docker/pom.xml index fc1d839e67..db28206847 100644 --- a/msa/vc-executor-docker/pom.xml +++ b/msa/vc-executor-docker/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/vc-executor/pom.xml b/msa/vc-executor/pom.xml index 8f44e65f8d..b9e08b9667 100644 --- a/msa/vc-executor/pom.xml +++ b/msa/vc-executor/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/web-report/package.json b/msa/web-report/package.json index 1f89c501f1..e2d7038c86 100644 --- a/msa/web-report/package.json +++ b/msa/web-report/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-web-report", "private": true, - "version": "4.4.0", + "version": "4.4.0.1", "description": "ThingsBoard Web Reporting Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/web-report/pom.xml b/msa/web-report/pom.xml index b9006e548e..e3d9832b79 100644 --- a/msa/web-report/pom.xml +++ b/msa/web-report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/web-ui/package.json b/msa/web-ui/package.json index 0f0c3cdcad..1aed9569a1 100644 --- a/msa/web-ui/package.json +++ b/msa/web-ui/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-web-ui", "private": true, - "version": "4.4.0", + "version": "4.4.0.1", "description": "ThingsBoard Web UI Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml index 6e6c24ab0f..652bb2dc5c 100644 --- a/msa/web-ui/pom.xml +++ b/msa/web-ui/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT msa org.thingsboard.msa diff --git a/netty-mqtt/pom.xml b/netty-mqtt/pom.xml index 22277fa836..6733a24fb2 100644 --- a/netty-mqtt/pom.xml +++ b/netty-mqtt/pom.xml @@ -9,11 +9,11 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard netty-mqtt - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT jar Netty MQTT Client diff --git a/packaging/pom.xml b/packaging/pom.xml index 1f842ae087..9641069c81 100644 --- a/packaging/pom.xml +++ b/packaging/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard packaging diff --git a/pom.xml b/pom.xml index 063be9b852..bedef8a3ae 100755 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT pom ThingsBoard diff --git a/report/pom.xml b/report/pom.xml index 191edabe0e..f428e65d22 100644 --- a/report/pom.xml +++ b/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard report diff --git a/rest-client/pom.xml b/rest-client/pom.xml index b44f1a422c..a4b5f055e0 100644 --- a/rest-client/pom.xml +++ b/rest-client/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard rest-client diff --git a/rule-engine/pom.xml b/rule-engine/pom.xml index dddeb7c5b0..59b274c450 100644 --- a/rule-engine/pom.xml +++ b/rule-engine/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard rule-engine diff --git a/rule-engine/rule-engine-api/pom.xml b/rule-engine/rule-engine-api/pom.xml index 232869e651..c0eaa24237 100644 --- a/rule-engine/rule-engine-api/pom.xml +++ b/rule-engine/rule-engine-api/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT rule-engine org.thingsboard.rule-engine diff --git a/rule-engine/rule-engine-components/pom.xml b/rule-engine/rule-engine-components/pom.xml index de56ad349b..312a8396fe 100644 --- a/rule-engine/rule-engine-components/pom.xml +++ b/rule-engine/rule-engine-components/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT rule-engine org.thingsboard.rule-engine diff --git a/tools/pom.xml b/tools/pom.xml index 9aaf06dae9..41d179c115 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard tools diff --git a/transport/coap/pom.xml b/transport/coap/pom.xml index 4a0ca5faaa..61002add66 100644 --- a/transport/coap/pom.xml +++ b/transport/coap/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/http/pom.xml b/transport/http/pom.xml index c5024508de..744cc2a956 100644 --- a/transport/http/pom.xml +++ b/transport/http/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/lwm2m/pom.xml b/transport/lwm2m/pom.xml index 59ab73c973..80e2f64534 100644 --- a/transport/lwm2m/pom.xml +++ b/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/mqtt/pom.xml b/transport/mqtt/pom.xml index ad844ca03c..8654ddf92b 100644 --- a/transport/mqtt/pom.xml +++ b/transport/mqtt/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/pom.xml b/transport/pom.xml index 1650162ba6..55e9390896 100644 --- a/transport/pom.xml +++ b/transport/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard transport diff --git a/transport/snmp/pom.xml b/transport/snmp/pom.xml index 0ee182c3a2..f82dda5b1c 100644 --- a/transport/snmp/pom.xml +++ b/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT transport diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 29375bfb2b..a11a1c4221 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -1,6 +1,6 @@ { "name": "thingsboard", - "version": "4.4.0", + "version": "4.4.0.1", "scripts": { "ng": "ng", "start": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --configuration development --host 0.0.0.0 --open", diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index 735ef11ee4..a83bbd7864 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0.1-SNAPSHOT thingsboard ui-ngx From d5491344263247f728a5decd22aebb7ff42efa38 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 8 Oct 2026 13:13:40 +0300 Subject: [PATCH 100/559] build: package the Java services with the Nebula ospackage plugin The Java packaging used a custom thingsboard.package Gradle plugin, built by the packaging Maven module, for its deb packages. It now applies the public com.netflix.nebula.ospackage plugin 12.1.1, as the JS packaging already does, so the packaging module and its Groovy plugin sources are removed. --- packaging/build.gradle | 26 -- packaging/java/build.gradle | 12 +- packaging/pom.xml | 84 ---- .../DebMaintainerScriptsGenerator.groovy | 101 ----- .../thingsboard/packaging/DebPackaging.groovy | 35 -- .../packaging/DebPackagingCopyAction.groovy | 368 ------------------ .../packaging/PackagingPlugin.groovy | 31 -- .../thingsboard.package.properties | 1 - pom.xml | 1 - 9 files changed, 2 insertions(+), 657 deletions(-) delete mode 100644 packaging/build.gradle delete mode 100644 packaging/pom.xml delete mode 100644 packaging/src/main/groovy/org/thingsboard/packaging/DebMaintainerScriptsGenerator.groovy delete mode 100644 packaging/src/main/groovy/org/thingsboard/packaging/DebPackaging.groovy delete mode 100644 packaging/src/main/groovy/org/thingsboard/packaging/DebPackagingCopyAction.groovy delete mode 100644 packaging/src/main/groovy/org/thingsboard/packaging/PackagingPlugin.groovy delete mode 100644 packaging/src/main/resources/META-INF/gradle-plugins/thingsboard.package.properties diff --git a/packaging/build.gradle b/packaging/build.gradle deleted file mode 100644 index 5b1ae8fef0..0000000000 --- a/packaging/build.gradle +++ /dev/null @@ -1,26 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -plugins { - id 'groovy' - id 'java-library' -} - -repositories { - mavenCentral() -} - -dependencies { - implementation localGroovy() - implementation gradleApi() - implementation 'com.netflix.nebula:gradle-ospackage-plugin:12.1.1' - implementation 'org.apache.commons:commons-lang3:3.9' -} - -buildDir = projectBuildDir -version = projectVersion - -compileGroovy { - destinationDirectory = file("${buildDir}/classes") -} - -description 'ThingsBoard packaging plugin for constructing RPM and DEB package files.' diff --git a/packaging/java/build.gradle b/packaging/java/build.gradle index 089b9ae550..c41d86d69e 100644 --- a/packaging/java/build.gradle +++ b/packaging/java/build.gradle @@ -3,18 +3,10 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import org.apache.tools.ant.filters.ReplaceTokens -buildscript { - repositories { - mavenLocal() - mavenCentral() - } - dependencies { - classpath("org.thingsboard:packaging:${projectVersion}") - } +plugins { + id "com.netflix.nebula.ospackage" version "12.1.1" } -apply plugin: "thingsboard.package" - buildDir = projectBuildDir version = projectVersion base { diff --git a/packaging/pom.xml b/packaging/pom.xml deleted file mode 100644 index 9641069c81..0000000000 --- a/packaging/pom.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - 4.0.0 - - org.thingsboard - 4.4.0.1-SNAPSHOT - thingsboard - - packaging - jar - - ThingsBoard Packaging Plugin - https://thingsboard.io - - - UTF-8 - ${basedir}/.. - - - - - com.netflix.nebula - gradle-ospackage-plugin - 12.1.1 - - - org.codehaus.groovy - groovy-all - 3.0.9 - pom - provided - - - org.gradle - gradle-tooling-api - 7.1.1 - provided - - - org.gradle - gradle-core - 6.1.1 - provided - - - - - - org.thingsboard - gradle-maven-plugin - - ${main.dir}/packaging - - build - - - -PprojectBuildDir=${project.build.directory} - -PprojectVersion=${project.version} - - - - - compile - - invoke - - - - - - - - - repo.gradle.org - https://repo.gradle.org/gradle/libs-releases-local - - - diff --git a/packaging/src/main/groovy/org/thingsboard/packaging/DebMaintainerScriptsGenerator.groovy b/packaging/src/main/groovy/org/thingsboard/packaging/DebMaintainerScriptsGenerator.groovy deleted file mode 100644 index 8111d50c10..0000000000 --- a/packaging/src/main/groovy/org/thingsboard/packaging/DebMaintainerScriptsGenerator.groovy +++ /dev/null @@ -1,101 +0,0 @@ -/* - * SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. - * SPDX-License-Identifier: BUSL-1.1 - */ -package org.thingsboard.packaging - -import com.netflix.gradle.plugins.deb.Deb -import com.netflix.gradle.plugins.deb.TemplateHelper -import com.netflix.gradle.plugins.utils.FileSystemActions -import groovy.transform.Canonical -import groovy.transform.CompileDynamic - -class DebMaintainerScriptsGenerator { - private final Deb task - private final TemplateHelper templateHelper - private final File destination - private final FileSystemActions fileSystem - - DebMaintainerScriptsGenerator(Deb task, TemplateHelper templateHelper, File destination, FileSystemActions fileSystem) { - this.destination = destination - this.task = task - this.templateHelper = templateHelper - this.fileSystem = fileSystem - } - - void generate(Map context) { - templateHelper.generateFile("control", context) - - def configurationFiles = task.allConfigurationFiles - if (configurationFiles.any()) { - templateHelper.generateFile("conffiles", [files: configurationFiles] ) - } - - List scripts = [ - new MaintainerScript("preinst", task.preInstallFile, task.allPreInstallCommands), - new PostInstScript(task.postInstallFile, task.allPostInstallCommands, context), - new MaintainerScript("prerm", task.preUninstallFile, task.allPreUninstallCommands), - new MaintainerScript("postrm", task.postUninstallFile, task.allPostUninstallCommands) - ] - if (task.configFile) { - scripts << new MaintainerScript("config", task.configFile, []) - } - if (task.templatesFile) { - scripts << new MaintainerScript("templates", task.templatesFile, []) - } - - def installUtils = task.allCommonCommands.collect { stripShebang(it) } - for (script in scripts) { - if(script.file) { - fileSystem.copy(script.file, new File(destination, script.name)) - } else if (script.needsTemplateGeneration()) { - Map commands = [commands: installUtils + script.commands.collect { stripShebang(it) }] as Map - templateHelper.generateFile(script.name, context + commands) - } - } - } - - /** - * Works with nulls, Strings and Files. - * - * @param script - * @return - */ - @CompileDynamic - private static String stripShebang(Object script) { - StringBuilder result = new StringBuilder() - script?.eachLine { line -> - if (!line.matches('^#!.*$')) { - result.append line - result.append "\n" - } - } - result.toString() - } - - @Canonical - private static class MaintainerScript { - String name - File file - List commands - - boolean needsTemplateGeneration() { - return commands - } - } - - private static class PostInstScript extends MaintainerScript { - Map context - - PostInstScript(File file, List commands, Map context) { - super("postinst", file, commands) - this.context = context - } - - @Override - boolean needsTemplateGeneration() { - return super.needsTemplateGeneration() || context['dirs'] - } - } -} - diff --git a/packaging/src/main/groovy/org/thingsboard/packaging/DebPackaging.groovy b/packaging/src/main/groovy/org/thingsboard/packaging/DebPackaging.groovy deleted file mode 100644 index 407132975c..0000000000 --- a/packaging/src/main/groovy/org/thingsboard/packaging/DebPackaging.groovy +++ /dev/null @@ -1,35 +0,0 @@ -/* - * SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. - * SPDX-License-Identifier: BUSL-1.1 - */ -package org.thingsboard.packaging - -import com.netflix.gradle.plugins.deb.Deb -import com.netflix.gradle.plugins.packaging.AbstractPackagingCopyAction -import org.gradle.api.file.ProjectLayout -import org.gradle.api.tasks.InputFile -import org.gradle.api.tasks.Optional - -import javax.inject.Inject - -abstract class DebPackaging extends Deb { - - @Inject - DebPackaging(ProjectLayout projectLayout) { - super(projectLayout) - } - - @InputFile - @Optional - File configFile - - @InputFile - @Optional - File templatesFile - - @Override - AbstractPackagingCopyAction createCopyAction() { - return new DebPackagingCopyAction(this, new File(projectLayout.buildDirectory.getAsFile().get(), "debian")) - } - -} diff --git a/packaging/src/main/groovy/org/thingsboard/packaging/DebPackagingCopyAction.groovy b/packaging/src/main/groovy/org/thingsboard/packaging/DebPackagingCopyAction.groovy deleted file mode 100644 index 1812fc759c..0000000000 --- a/packaging/src/main/groovy/org/thingsboard/packaging/DebPackagingCopyAction.groovy +++ /dev/null @@ -1,368 +0,0 @@ -/* - * SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. - * SPDX-License-Identifier: BUSL-1.1 - */ -package org.thingsboard.packaging - -import com.netflix.gradle.plugins.deb.control.MultiArch -import com.netflix.gradle.plugins.deb.validation.DebTaskPropertiesValidator -import com.netflix.gradle.plugins.packaging.AbstractPackagingCopyAction -import com.netflix.gradle.plugins.packaging.Dependency -import com.netflix.gradle.plugins.packaging.Directory -import com.netflix.gradle.plugins.packaging.Link -import com.netflix.gradle.plugins.utils.ApacheCommonsFileSystemActions -import com.netflix.gradle.plugins.utils.DeprecationLoggerUtils -import com.netflix.gradle.plugins.utils.FilePermissionUtil -import com.netflix.gradle.plugins.deb.InstallLineGenerator -import com.netflix.gradle.plugins.deb.Deb -import com.netflix.gradle.plugins.deb.DebFileVisitorStrategy -import com.netflix.gradle.plugins.deb.TemplateHelper -import groovy.transform.Canonical -import org.apache.commons.lang3.StringUtils -import org.apache.commons.lang3.time.DateFormatUtils -import org.gradle.api.GradleException -import org.gradle.api.internal.file.copy.CopyAction -import org.gradle.api.internal.file.copy.FileCopyDetailsInternal -import org.slf4j.Logger -import org.slf4j.LoggerFactory -import org.vafer.jdeb.Compression -import org.vafer.jdeb.Console -import org.vafer.jdeb.DataProducer -import org.vafer.jdeb.DebMaker -import org.vafer.jdeb.mapping.Mapper -import org.vafer.jdeb.mapping.PermMapper -import org.vafer.jdeb.producers.DataProducerLink -import org.vafer.jdeb.producers.DataProducerPathTemplate -import org.redline_rpm.payload.Directive - -import static com.netflix.gradle.plugins.utils.GradleUtils.lookup -/** - * Forked and modified from org.jamel.pkg4j.gradle.tasks.BuildDebTask - */ -class DebPackagingCopyAction extends AbstractPackagingCopyAction { - static final Logger logger = LoggerFactory.getLogger(DebPackagingCopyAction.class) - - File debianDir - List dependencies - List conflicts - List recommends - List suggests - List enhances - List preDepends - List breaks - List replaces - List provides - List dataProducers - List installDirs - private final DebTaskPropertiesValidator debTaskPropertiesValidator = new DebTaskPropertiesValidator() - private DebFileVisitorStrategy debFileVisitorStrategy - private final DebMaintainerScriptsGenerator maintainerScriptsGenerator - private final InstallLineGenerator installLineGenerator - - DebPackagingCopyAction(Deb debTask, File debianDir) { - super(debTask) - debTaskPropertiesValidator.validate(debTask) - dependencies = [] - conflicts = [] - recommends = [] - suggests = [] - enhances = [] - preDepends = [] - breaks = [] - replaces = [] - dataProducers = [] - installDirs = [] - provides = [] - this.debianDir = debianDir - debFileVisitorStrategy = new DebFileVisitorStrategy(dataProducers, installDirs) - maintainerScriptsGenerator = new DebMaintainerScriptsGenerator(debTask, new TemplateHelper(debianDir, '/deb'), debianDir, new ApacheCommonsFileSystemActions()) - installLineGenerator = new InstallLineGenerator() - } - - @Canonical - static class InstallDir { - String name - String user - String group - } - - @Override - void startVisit(CopyAction action) { - super.startVisit(action) - - debianDir.deleteDir() - debianDir.mkdirs() - - } - - @Override - void visitFile(FileCopyDetailsInternal fileDetails, def specToLookAt) { - logger.debug "adding file {}", fileDetails.relativePath.pathString - - def inputFile = extractFile(fileDetails) - - Directive fileType = lookup(specToLookAt, 'fileType') - if (fileType == 'CONFIG') { - logger.debug "mark {} as configuration file", fileDetails.relativePath.pathString - task.configurationFile(fileDetails.relativePath.pathString) - } - - String user = lookup(specToLookAt, 'user') ?: task.user - Integer uid = (Integer) lookup(specToLookAt, 'uid') ?: task.uid ?: 0 - String group = lookup(specToLookAt, 'permissionGroup') ?: task.permissionGroup - Integer gid = (Integer) lookup(specToLookAt, 'gid') ?: task.gid ?: 0 - - Integer explicitMode = FilePermissionUtil.getFileMode(specToLookAt) - int fileMode = explicitMode != null ? explicitMode : FilePermissionUtil.getUnixPermission(fileDetails) - - debFileVisitorStrategy.addFile(fileDetails, inputFile, user, uid, group, gid, fileMode) - } - - @Override - void visitDir(FileCopyDetailsInternal dirDetails, def specToLookAt) { - def specCreateDirectoryEntry = lookup(specToLookAt, 'createDirectoryEntry') - boolean createDirectoryEntry = specCreateDirectoryEntry!=null ? specCreateDirectoryEntry : task.createDirectoryEntry - if (createDirectoryEntry) { - - logger.debug "adding directory {}", dirDetails.relativePath.pathString - String user = lookup(specToLookAt, 'user') ?: task.user - Integer uid = (Integer) lookup(specToLookAt, 'uid') ?: task.uid ?: 0 - String group = lookup(specToLookAt, 'permissionGroup') ?: task.permissionGroup - Integer gid = (Integer) lookup(specToLookAt, 'gid') ?: task.gid ?: 0 - Boolean setgid = lookup(specToLookAt, 'setgid') - - Integer explicitDirMode = FilePermissionUtil.getDirMode(specToLookAt) - int dirMode = explicitDirMode != null ? explicitDirMode : FilePermissionUtil.getUnixPermission(dirDetails) - if (setgid == null) { - setgid = task.setgid - } - if (setgid) { - dirMode = dirMode | 02000 - } - - debFileVisitorStrategy.addDirectory(dirDetails, user, uid, group, gid, dirMode) - } - } - - @Override - protected void addLink(Link link) { - dataProducers << new DataProducerLink(link.path, link.target, true, null, null, null); - } - - @Override - protected void addDependency(Dependency dep) { - dependencies << dep.toDebString() - } - - @Override - protected void addConflict(Dependency dep) { - conflicts << dep.toDebString() - } - - @Override - protected void addProvides(Dependency dep) { - String providesString = dep.packageName - if (dep.version) { - providesString += " (= ${dep.version})" - } - provides << providesString - } - - @Override - protected void addObsolete(Dependency dep) { - logger.warn "Obsoletes functionality not implemented for deb files" - } - - protected void addRecommends(Dependency dep) { - recommends << dep.toDebString() - } - - protected void addSuggests(Dependency dep) { - suggests << dep.toDebString() - } - - protected void addEnhances(Dependency dep) { - enhances << dep.toDebString() - } - - protected void addPreDepends(Dependency dep) { - preDepends << dep.toDebString() - } - - protected void addBreaks(Dependency dep) { - breaks << dep.toDebString() - } - - protected void addReplaces(Dependency dep) { - replaces << dep.toDebString() - } - - @Override - protected void addDirectory(Directory directory) { - def user = directory.user ? directory.user : task.user - def permissionGroup = directory.permissionGroup ? directory.permissionGroup : task.permissionGroup - dataProducers << new DataProducerPathTemplate( - [directory.path] as String[], null, null, - [ new PermMapper(-1, -1, user, permissionGroup, - directory.permissions, -1, 0, null) ] as Mapper[]) - } - - protected String getMultiArch() { - def archString = task.getArchString() - def multiArch = task.getMultiArch() - if (('all' == archString) && (MultiArch.SAME == multiArch)) { - throw new IllegalArgumentException('Deb packages with Architecture: all cannot declare Multi-Arch: same') - } - def multiArchString = multiArch?.name()?.toLowerCase() ?: '' - return multiArchString - } - - protected Map getCustomFields() { - task.getAllCustomFields().collectEntries { String key, String val -> - // in the deb control file, header XB-Foo becomes Foo in the binary package - ['XB-' + key.capitalize(), val] - } as Map - } - - @Override - protected void end() { - for (Dependency recommends : task.allRecommends) { - logger.debug "adding recommends on {} {}", recommends.packageName, recommends.version - addRecommends(recommends) - } - - for (Dependency suggests : task.allSuggests) { - logger.debug "adding suggests on {} {}", suggests.packageName, suggests.version - addSuggests(suggests) - } - - for (Dependency enhances : task.allEnhances) { - logger.debug "adding enhances on {} {}", enhances.packageName, enhances.version - addEnhances(enhances) - } - - for (Dependency preDepends : task.allPreDepends) { - logger.debug "adding preDepends on {} {}", preDepends.packageName, preDepends.version - addPreDepends(preDepends) - } - - for (Dependency breaks : task.getAllBreaks()) { - logger.debug "adding breaks on {} {}", breaks.packageName, breaks.version - addBreaks(breaks) - } - - for (Dependency replaces : task.allReplaces) { - logger.debug "adding replaces on {} {}", replaces.packageName, replaces.version - addReplaces(replaces) - } - - maintainerScriptsGenerator.generate(toContext()) - - task.allSupplementaryControlFiles.each { supControl -> - File supControlFile = supControl instanceof File ? supControl as File : task.project.file(supControl) - new File(debianDir, supControlFile.name).bytes = supControlFile.bytes - } - - DebMaker maker = new DebMaker(new GradleLoggerConsole(), dataProducers, null) - File debFile = task.getArchiveFile().get().asFile - maker.setControl(debianDir) - maker.setDeb(debFile) - if (StringUtils.isNotBlank(task.getSigningKeyId()) - && StringUtils.isNotBlank(task.getSigningKeyPassphrase()) - && task.getSigningKeyRingFile().exists()) { - maker.setKey(task.getSigningKeyId()) - maker.setPassphrase(task.getSigningKeyPassphrase()) - maker.setKeyring(task.getSigningKeyRingFile()) - maker.setSignPackage(true) - } - - try { - logger.info("Creating debian package: ${debFile}") - maker.setCompression(Compression.GZIP.toString()) - maker.makeDeb() - } catch (Exception e) { - throw new GradleException("Can't build debian package ${debFile}", e) - } - - logger.info 'Created deb {}', debFile - } - - private static class GradleLoggerConsole implements Console { - @Override - void debug(String message) { - logger.debug(message) - } - - @Override - void info(String message) { - logger.info(message) - } - - @Override - void warn(String message) { - logger.warn(message) - } - } - - /** - * Map to be consumed by generateFile when transforming template - */ - def Map toContext() { - Map context = [:] - DeprecationLoggerUtils.whileDisabled { - context = [ - name: task.getPackageName(), - version: task.getVersion(), - release: task.getRelease(), - maintainer: task.getMaintainer(), - uploaders: task.getUploaders(), - priority: task.getPriority(), - epoch: task.getEpoch(), - description: task.getPackageDescription() ?: '', - distribution: task.getDistribution(), - summary: task.getSummary(), - section: task.getPackageGroup(), - time: DateFormatUtils.SMTP_DATETIME_FORMAT.format(new Date()), - provides: StringUtils.join(provides, ", "), - depends: StringUtils.join(dependencies, ", "), - url: task.getUrl(), - arch: task.getArchString(), - multiArch: getMultiArch(), - conflicts: StringUtils.join(conflicts, ", "), - recommends: StringUtils.join(recommends, ", "), - suggests: StringUtils.join(suggests, ", "), - enhances: StringUtils.join(enhances, ", " ), - preDepends: StringUtils.join(preDepends, ", "), - breaks: StringUtils.join(breaks, ", "), - replaces: StringUtils.join(replaces, ", "), - fullVersion: buildFullVersion(), - customFields: getCustomFields(), - - // Uses install command for directory - dirs: installDirs.collect { InstallDir dir -> [install: installLineGenerator.generate(dir)] } - ] - } - return context - } - - private String buildFullVersion() { - StringBuilder fullVersion = new StringBuilder() - - DeprecationLoggerUtils.whileDisabled { - if (task.getEpoch() != 0) { - fullVersion <<= task.getEpoch() - fullVersion <<= ':' - } - - fullVersion <<= task.getVersion() - - if(task.getRelease()) { - fullVersion <<= '-' - fullVersion <<= task.getRelease() - } - - } - - fullVersion.toString() - } -} \ No newline at end of file diff --git a/packaging/src/main/groovy/org/thingsboard/packaging/PackagingPlugin.groovy b/packaging/src/main/groovy/org/thingsboard/packaging/PackagingPlugin.groovy deleted file mode 100644 index 4bd1b6b137..0000000000 --- a/packaging/src/main/groovy/org/thingsboard/packaging/PackagingPlugin.groovy +++ /dev/null @@ -1,31 +0,0 @@ -/* - * SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. - * SPDX-License-Identifier: BUSL-1.1 - */ -package org.thingsboard.packaging - -import com.netflix.gradle.plugins.packaging.SystemPackagingBasePlugin -import com.netflix.gradle.plugins.packaging.SystemPackagingPlugin -import com.netflix.gradle.plugins.rpm.Rpm -import org.gradle.api.Plugin -import org.gradle.api.Project -import org.gradle.api.logging.Logger -import org.gradle.api.logging.Logging - -public class PackagingPlugin implements Plugin { - private static Logger logger = Logging.getLogger(SystemPackagingPlugin); - - Project project - DebPackaging debTask - Rpm rpmTask - - void apply(Project project) { - - this.project = project - - project.plugins.apply(SystemPackagingBasePlugin.class) - debTask = project.tasks.create('buildDeb', DebPackaging) - rpmTask = project.tasks.create('buildRpm', Rpm) - } - -} diff --git a/packaging/src/main/resources/META-INF/gradle-plugins/thingsboard.package.properties b/packaging/src/main/resources/META-INF/gradle-plugins/thingsboard.package.properties deleted file mode 100644 index 62c700534c..0000000000 --- a/packaging/src/main/resources/META-INF/gradle-plugins/thingsboard.package.properties +++ /dev/null @@ -1 +0,0 @@ -implementation-class=org.thingsboard.packaging.PackagingPlugin diff --git a/pom.xml b/pom.xml index bedef8a3ae..859cfe2cc5 100755 --- a/pom.xml +++ b/pom.xml @@ -219,7 +219,6 @@ common rule-engine dao - packaging edqs transport integration From 5673c10ea2e0f0ee86c94a25dd2efb2317d3b49b Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 8 Oct 2026 15:52:16 +0300 Subject: [PATCH 101/559] build: upgrade web-report to Playwright 1.64 Playwright 1.54 has no Chromium build for Ubuntu 26.04, so the web-report build failed there. 1.64 supports it, but bundles its internals behind an exports map, which needed these changes: - install.js downloads the packaged Linux and Windows Chromium builds with the public Playwright CLI instead of the internal registry, so the patch-package patch and the patch-package dependency are removed. - The Docker start script resolves Chromium via the public API. - The pkg binaries bundle browsers.json and webp_codec.wasm, which Playwright now loads by computed path. - inspectorShim stubs the 'inspector' module, which Playwright now loads at startup but the Node.js runtime embedded by pkg is built without. --- msa/web-report/docker/Dockerfile | 2 +- msa/web-report/docker/start-web-report.sh | 2 +- msa/web-report/inspectorShim.ts | 21 ++ msa/web-report/install.js | 113 +++----- msa/web-report/package.json | 12 +- .../patches/playwright-core+1.54.2.patch | 13 - msa/web-report/server.ts | 1 + msa/web-report/yarn.lock | 254 ++---------------- 8 files changed, 84 insertions(+), 334 deletions(-) create mode 100644 msa/web-report/inspectorShim.ts delete mode 100644 msa/web-report/patches/playwright-core+1.54.2.patch diff --git a/msa/web-report/docker/Dockerfile b/msa/web-report/docker/Dockerfile index 5eb0e50e8b..69e3c12a56 100644 --- a/msa/web-report/docker/Dockerfile +++ b/msa/web-report/docker/Dockerfile @@ -23,7 +23,7 @@ COPY package/linux/conf ./config COPY ${pkg.name}.conf ./conf COPY src/api ./api COPY src/config ./config -COPY src/server.js ./ +COPY src/inspectorShim.js src/server.js ./ RUN apt-get update \ && apt-get install -yq --no-install-recommends fonts-noto-cjk-extra fonts-roboto fonts-noto-color-emoji fonts-unifont libfreetype6 xfonts-scalable fonts-liberation \ diff --git a/msa/web-report/docker/start-web-report.sh b/msa/web-report/docker/start-web-report.sh index d206f54a02..390c77e2d7 100755 --- a/msa/web-report/docker/start-web-report.sh +++ b/msa/web-report/docker/start-web-report.sh @@ -14,7 +14,7 @@ source "${CONF_FOLDER}/${configfile}" cd ${pkg.installFolder} -export CHROME_EXECUTABLE=$(node -e "console.log(require('playwright-core/lib/server').registry.findExecutable('chromium').executablePath());") +export CHROME_EXECUTABLE=$(node -e "console.log(require('playwright-chromium').chromium.executablePath());") # This will forward this PID 1 to the node.js and forward SIGTERM for graceful shutdown as well exec node server.js diff --git a/msa/web-report/inspectorShim.ts b/msa/web-report/inspectorShim.ts new file mode 100644 index 0000000000..a9e7f5946b --- /dev/null +++ b/msa/web-report/inspectorShim.ts @@ -0,0 +1,21 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +import Module from 'module'; + +// The Node.js runtime embedded by pkg is built without the inspector, but Playwright loads the 'inspector' module +// at startup and only uses it in page.pause() to check whether a debugger is attached. Must be imported before Playwright. +const moduleLoader = Module as unknown as { _load: (request: string, ...args: unknown[]) => unknown }; +const load = moduleLoader._load; +moduleLoader._load = function(request: string, ...args: unknown[]) { + if (request === 'inspector' || request === 'node:inspector') { + try { + return load.call(this, request, ...args); + } catch (e: any) { + if (e?.code === 'ERR_INSPECTOR_NOT_AVAILABLE') { + return { url: () => undefined }; + } + throw e; + } + } + return load.call(this, request, ...args); +}; diff --git a/msa/web-report/install.js b/msa/web-report/install.js index 694766c315..842978aaec 100644 --- a/msa/web-report/install.js +++ b/msa/web-report/install.js @@ -2,92 +2,51 @@ // SPDX-License-Identifier: BUSL-1.1 const fse = require('fs-extra'); const path = require('path'); -const server = require('playwright-core/lib/server'); +const { execFileSync } = require('child_process'); -const EXECUTABLE_PATHS = { - 'ubuntu22.04-x64': ['chrome-linux', 'chrome'], - 'win64': ['chrome-win', 'chrome.exe'] +// Chromium builds packaged with the service, downloaded by the Playwright CLI as if it ran on the target platform. +const PLATFORMS = { + linux: { hostPlatform: 'ubuntu24.04-x64', downloadDir: 'chromiumLinux', chromeDir: 'chrome-linux64', binary: 'tb-web-report', pkgOutput: 'thingsboard-web-report-linux' }, + windows: { hostPlatform: 'win64', downloadDir: 'chromiumWin', chromeDir: 'chrome-win64', binary: 'tb-web-report.exe', pkgOutput: 'thingsboard-web-report-win.exe' } }; -let _projectRoot = null; -let browsersJSON = null; -let chromium = null; - (async() => { - browsersJSON = fse.readJsonSync(path.join(projectRoot(), 'node_modules', 'playwright-core', 'browsers.json')).browsers; - chromium = browsersJSON.find(d => d.name === 'chromium'); - await server.registry.install([createdExecutables('ubuntu22.04-x64'), createdExecutables('win64')], true); - await copyChromeFromPkg('ubuntu22.04-x64'); - await copyChromeFromPkg('win64'); - await fse.move(path.join(projectRoot(), 'target', 'thingsboard-web-report-linux'), - path.join(targetPackageDir('ubuntu22.04-x64'), 'bin', 'tb-web-report'), - {overwrite: true}); - await fse.move(path.join(projectRoot(), 'target', 'thingsboard-web-report-win.exe'), - path.join(targetPackageDir('win64'), 'bin', 'tb-web-report.exe'), - {overwrite: true}); -})(); - - -function projectRoot() { - if (!_projectRoot) { - _projectRoot = __dirname; + for (const [targetDir, platform] of Object.entries(PLATFORMS)) { + const downloadDir = path.join(projectRoot(), 'target', platform.downloadDir); + installChromium(platform.hostPlatform, downloadDir); + const chromiumDir = path.join(targetPackageDir(targetDir), 'chromium'); + await fse.emptyDir(chromiumDir); + await fse.copy(path.join(downloadDir, chromiumRevisionDir(), platform.chromeDir), chromiumDir); + await fse.move(path.join(projectRoot(), 'target', platform.pkgOutput), + path.join(targetPackageDir(targetDir), 'bin', platform.binary), + {overwrite: true}); } - return _projectRoot; +})().catch(e => { + console.error(e); + process.exit(1); +}); + +function installChromium(hostPlatform, downloadDir) { + execFileSync(process.execPath, [path.join(path.dirname(require.resolve('playwright-core/package.json')), 'cli.js'), 'install', '--no-shell', 'chromium'], { + stdio: 'inherit', + env: { + ...process.env, + PLAYWRIGHT_HOST_PLATFORM_OVERRIDE: hostPlatform, + PLAYWRIGHT_BROWSERS_PATH: downloadDir, + PLAYWRIGHT_SKIP_BROWSER_GC: '1' + } + }); } -function targetPackageDir(platform) { - return path.join(projectRoot(), 'target', 'package', platformTargetDir(platform)); +function chromiumRevisionDir() { + const browsers = fse.readJsonSync(path.join(projectRoot(), 'node_modules', 'playwright-core', 'browsers.json')).browsers; + return 'chromium-' + browsers.find(b => b.name === 'chromium').revision; } -function targetChromiumDir(platform) { - return path.join(targetPackageDir(platform), 'chromium'); -} - -function downloadChromiumDir(platform) { - let platformDir; - if (platform === 'ubuntu22.04-x64') { - platformDir = 'chromiumLinux'; - } else if (platform === 'win64') { - platformDir = 'chromiumWin'; - } - return path.join(projectRoot(), 'target', platformDir); -} - -function platformTargetDir(platform) { - if (platform === 'ubuntu22.04-x64') { - return 'linux'; - } else if (platform === 'win64') { - return 'windows'; - } - return ''; -} - -async function copyChromeFromPkg(platform) { - const chromiumDir = targetChromiumDir(platform); - await fse.emptyDir(chromiumDir); - let fromDir = path.join(downloadChromiumDir(platform), EXECUTABLE_PATHS[platform][0]) - await fse.copy(fromDir, chromiumDir); +function projectRoot() { + return __dirname; } -function createdExecutables(platform) { - const chromiumData = JSON.parse(JSON.stringify(chromium)); - chromiumData.dir = downloadChromiumDir(platform); - chromiumData.platform = platform; - const executablePath = path.join(chromiumData.dir, ...EXECUTABLE_PATHS[platform]); - return { - type: 'browser', - name: 'chromium', - browserName: 'chromium', - directory: chromium.dir, - platform: platform, - executablePath: () => executablePath, - executablePathOrDie: sdkLanguage => server.registry.executablePathOrDie('chromium', executablePath, true, sdkLanguage), - installType: 'download-by-default', - _validateHostRequirements: (sdkLanguage) => server.registry._validateHostRequirements(sdkLanguage, 'chromium', chromium.dir, ['chrome-linux'], [], ['chrome-win']), - downloadURLs: server.registry._downloadURLs(chromiumData), - browserVersion: chromiumData.browserVersion, - _install: () => server.registry._downloadExecutable(chromiumData, executablePath), - _dependencyGroup: 'chromium', - _isHermeticInstallation: true, - }; +function targetPackageDir(targetDir) { + return path.join(projectRoot(), 'target', 'package', targetDir); } diff --git a/msa/web-report/package.json b/msa/web-report/package.json index e2d7038c86..a4a5433e9e 100644 --- a/msa/web-report/package.json +++ b/msa/web-report/package.json @@ -10,15 +10,14 @@ "test": "echo \"Error: no test specified\" && exit 1", "start": "nodemon --watch '.' --ext 'ts' --exec 'ts-node server.ts'", "start-prod": "nodemon --watch '.' --ext 'ts' --exec 'NODE_ENV=production ts-node server.ts'", - "build": "tsc", - "postinstall": "node -e \"if (process.env.NODE_ENV !== 'production') { try { const stdout = require('child_process').execSync('patch-package').toString(); console.log(stdout); } catch (error) { console.log(error.message); if (error.stderr) { console.error(error.stderr.toString()); } process.exit(-1); } }\"" + "build": "tsc" }, "dependencies": { "config": "~4.1.1", "express": "~5.1.0", "js-yaml": "^4.1.1", - "playwright-chromium": "~1.54.2", - "playwright-core": "~1.54.2", + "playwright-chromium": "~1.64.0", + "playwright-core": "~1.64.0", "winston": "~3.17.0", "winston-daily-rotate-file": "~5.0.0" }, @@ -37,7 +36,6 @@ "@yao-pkg/pkg": "^6.6.0", "fs-extra": "~11.3.1", "nodemon": "~3.1.10", - "patch-package": "^8.0.1", "postinstall-postinstall": "^2.1.0", "ts-node": "~10.9.2", "typescript": "~5.9.3" @@ -46,7 +44,9 @@ "assets": [ "node_modules/config/**/*.*", "node_modules/open/xdg-open", - "node_modules/playwright-core/lib/server/chromium/appIcon.png" + "../../node_modules/playwright-core/browsers.json", + "node_modules/playwright-core/lib/server/chromium/appIcon.png", + "../../node_modules/playwright-core/lib/webp_codec.wasm" ] } } diff --git a/msa/web-report/patches/playwright-core+1.54.2.patch b/msa/web-report/patches/playwright-core+1.54.2.patch deleted file mode 100644 index dfdcfa8409..0000000000 --- a/msa/web-report/patches/playwright-core+1.54.2.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/playwright-core/lib/server/registry/index.js b/node_modules/playwright-core/lib/server/registry/index.js -index 4525491..16abf8c 100644 ---- a/node_modules/playwright-core/lib/server/registry/index.js -+++ b/node_modules/playwright-core/lib/server/registry/index.js -@@ -1044,7 +1044,7 @@ Run "${buildPlaywrightCLICommand(sdkLanguage, "install " + name)}"` : ""; - } - _downloadURLs(descriptor) { - const paths = DOWNLOAD_PATHS[descriptor.name]; -- const downloadPathTemplate = paths[import_hostPlatform.hostPlatform] || paths[""]; -+ const downloadPathTemplate = paths[descriptor.platform] || paths[import_hostPlatform.hostPlatform] || paths['']; - if (!downloadPathTemplate) - return []; - const downloadPath = util.format(downloadPathTemplate, descriptor.revision); diff --git a/msa/web-report/server.ts b/msa/web-report/server.ts index 68da46297c..e000c860c4 100644 --- a/msa/web-report/server.ts +++ b/msa/web-report/server.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 +import './inspectorShim'; import express from 'express'; import bodyParser from 'body-parser'; import config from 'config'; diff --git a/msa/web-report/yarn.lock b/msa/web-report/yarn.lock index 073cb11bed..d2ee63937d 100644 --- a/msa/web-report/yarn.lock +++ b/msa/web-report/yarn.lock @@ -249,11 +249,6 @@ tinyglobby "^0.2.11" unzipper "^0.12.3" -"@yarnpkg/lockfile@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" - integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== - accepts@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/accepts/-/accepts-2.0.0.tgz#bbcf4ba5075467f3f2131eab3cffc73c2f5d7895" @@ -286,7 +281,7 @@ ansi-regex@^5.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== -ansi-styles@^4.0.0, ansi-styles@^4.1.0: +ansi-styles@^4.0.0: version "4.3.0" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== @@ -368,7 +363,7 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@^3.0.3, braces@~3.0.2: +braces@~3.0.2: version "3.0.3" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== @@ -388,7 +383,7 @@ bytes@3.1.2, bytes@^3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: +call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== @@ -396,17 +391,7 @@ call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply- es-errors "^1.3.0" function-bind "^1.1.2" -call-bind@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.8.tgz#0736a9660f537e3388826f440d5ec45f744eaa4c" - integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww== - dependencies: - call-bind-apply-helpers "^1.0.0" - es-define-property "^1.0.0" - get-intrinsic "^1.2.4" - set-function-length "^1.2.2" - -call-bound@^1.0.2, call-bound@^1.0.4: +call-bound@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.4.tgz#238de935d2a2a692928c538c7ccfa91067fd062a" integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg== @@ -414,14 +399,6 @@ call-bound@^1.0.2, call-bound@^1.0.4: call-bind-apply-helpers "^1.0.2" get-intrinsic "^1.3.0" -chalk@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - chokidar@^3.5.2: version "3.6.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" @@ -447,11 +424,6 @@ chownr@^3.0.0: resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4" integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g== -ci-info@^3.7.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" - integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== - cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -553,15 +525,6 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -cross-spawn@^7.0.3: - version "7.0.6" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" - integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - debug@4, debug@^4, debug@^4.3.5, debug@^4.4.0: version "4.4.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" @@ -581,15 +544,6 @@ deep-extend@^0.6.0: resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== -define-data-property@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" - integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== - dependencies: - es-define-property "^1.0.0" - es-errors "^1.3.0" - gopd "^1.0.1" - depd@2.0.0, depd@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" @@ -648,7 +602,7 @@ end-of-stream@^1.1.0, end-of-stream@^1.4.1: dependencies: once "^1.4.0" -es-define-property@^1.0.0, es-define-property@^1.0.1: +es-define-property@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== @@ -754,13 +708,6 @@ finalhandler@^2.1.0: parseurl "^1.3.3" statuses "^2.0.1" -find-yarn-workspace-root@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd" - integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ== - dependencies: - micromatch "^4.0.2" - fn.name@1.x.x: version "1.1.0" resolved "https://registry.yarnpkg.com/fn.name/-/fn.name-1.1.0.tgz#26cad8017967aea8731bc42961d04a3d5988accc" @@ -789,15 +736,6 @@ fs-constants@^1.0.0: resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@^10.0.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" - integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - fs-extra@^11.2.0, fs-extra@~11.3.1: version "11.3.1" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.1.tgz#ba7a1f97a85f94c6db2e52ff69570db3671d5a74" @@ -822,7 +760,7 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.2.4, get-intrinsic@^1.2.5, get-intrinsic@^1.3.0: +get-intrinsic@^1.2.5, get-intrinsic@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== @@ -858,12 +796,12 @@ glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -gopd@^1.0.1, gopd@^1.2.0: +gopd@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== -graceful-fs@^4.1.11, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2: +graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -873,18 +811,6 @@ has-flag@^3.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-property-descriptors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" - integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== - dependencies: - es-define-property "^1.0.0" - has-symbols@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" @@ -975,11 +901,6 @@ is-core-module@^2.16.0: dependencies: hasown "^2.0.2" -is-docker@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" - integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== - is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -1012,28 +933,11 @@ is-stream@^2.0.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== -is-wsl@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" - integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== - dependencies: - is-docker "^2.0.0" - -isarray@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" - integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== - isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - js-yaml@^4.1.1: version "4.3.2" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.3.2.tgz#8e44fb14a2643c59726bb15787b5f1512cb3d3fb" @@ -1046,17 +950,6 @@ jsesc@^3.0.2: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.1.0.tgz#74d335a234f67ed19907fdadfac7ccf9d409825d" integrity sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA== -json-stable-stringify@^1.0.2: - version "1.3.0" - resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.3.0.tgz#8903cfac42ea1a0f97f35d63a4ce0518f0cc6a70" - integrity sha512-qtYiSSFlwot9XHtF9bD9c7rwKjr+RecWT//ZnPvSmEjpV5mmPOCN4j8UjY5hbjNkOwZ/jQv3J6R1/pL7RwgMsg== - dependencies: - call-bind "^1.0.8" - call-bound "^1.0.4" - isarray "^2.0.5" - jsonify "^0.0.1" - object-keys "^1.1.1" - json5@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" @@ -1071,18 +964,6 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" -jsonify@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.1.tgz#2aa3111dae3d34a0f151c63f3a45d995d9420978" - integrity sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg== - -klaw-sync@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" - integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== - dependencies: - graceful-fs "^4.1.11" - kuler@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/kuler/-/kuler-2.0.0.tgz#e2c570a3800388fb44407e851531c1d670b061b3" @@ -1120,14 +1001,6 @@ merge-descriptors@^2.0.0: resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-2.0.0.tgz#ea922f660635a2249ee565e0449f951e6b603808" integrity sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g== -micromatch@^4.0.2: - version "4.0.8" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" - integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== - dependencies: - braces "^3.0.3" - picomatch "^2.3.1" - mime-db@^1.54.0: version "1.54.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5" @@ -1252,11 +1125,6 @@ object-inspect@^1.13.3: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213" integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== -object-keys@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" - integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== - on-finished@^2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" @@ -1278,14 +1146,6 @@ one-time@^1.0.0: dependencies: fn.name "1.x.x" -open@^7.4.2: - version "7.4.2" - resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" - integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== - dependencies: - is-docker "^2.0.0" - is-wsl "^2.1.1" - p-is-promise@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-3.0.0.tgz#58e78c7dfe2e163cf2a04ff869e7c1dba64a5971" @@ -1296,31 +1156,6 @@ parseurl@^1.3.3: resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== -patch-package@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-8.0.1.tgz#79d02f953f711e06d1f8949c8a13e5d3d7ba1a60" - integrity sha512-VsKRIA8f5uqHQ7NGhwIna6Bx6D9s/1iXlA1hthBVBEbkq+t4kXD0HHt+rJhf/Z+Ci0F/HCB2hvn0qLdLG+Qxlw== - dependencies: - "@yarnpkg/lockfile" "^1.1.0" - chalk "^4.1.2" - ci-info "^3.7.0" - cross-spawn "^7.0.3" - find-yarn-workspace-root "^2.0.0" - fs-extra "^10.0.0" - json-stable-stringify "^1.0.2" - klaw-sync "^6.0.0" - minimist "^1.2.6" - open "^7.4.2" - semver "^7.5.3" - slash "^2.0.0" - tmp "^0.2.4" - yaml "^2.2.2" - -path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - path-parse@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" @@ -1336,7 +1171,7 @@ picocolors@^1.1.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1: version "2.3.2" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.2.tgz#5a942915e26b372dc0f0e6753149a16e6b1c5601" integrity sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA== @@ -1346,17 +1181,17 @@ picomatch@^4.0.2: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== -playwright-chromium@~1.54.2: - version "1.54.2" - resolved "https://registry.yarnpkg.com/playwright-chromium/-/playwright-chromium-1.54.2.tgz#0466c9b85dae95dc22fc668f3aac1da1feb2598e" - integrity sha512-8ytI6xNjB//5zWSZUvOvn+N9xkXw6GXiDuBePOejcDiyUmzl5R5rvAU7MTl6h633sS3JVmlCS10EhYCt4Crzsg== +playwright-chromium@~1.64.0: + version "1.64.0" + resolved "https://registry.yarnpkg.com/playwright-chromium/-/playwright-chromium-1.64.0.tgz#8280d7916bb7d8b758080e17935cebaaebb3b5aa" + integrity sha512-w56jKvqiCLa0/Nb6BltYER4r89EG0L9v1MI2g7PZV6gGKrRH7oSfwUqMlHBnZ7t6gd6WfFdAg2+rECSNRE43sQ== dependencies: - playwright-core "1.54.2" + playwright-core "1.64.0" -playwright-core@1.54.2, playwright-core@~1.54.2: - version "1.54.2" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.54.2.tgz#73cc5106f19ec6b9371908603d61a7f171ebd8f0" - integrity sha512-n5r4HFbMmWsB4twG7tJLDN9gmBUeSPcsBZiWSE4DnYz9mJMAFqr2ID7+eGC9kpEnxExJ1epttwR59LEWCk8mtA== +playwright-core@1.64.0, playwright-core@~1.64.0: + version "1.64.0" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.64.0.tgz#a765f91dabd2b2cadd67e87439842c1d6c72c652" + integrity sha512-T9r+MZkTECl2+oUcZ26YgZzTrYidTsIhYYkJix+6iDOymOb1FB2RLLSOxRGnZGv5DStt+aduIVbt+E8WygXYpg== postinstall-postinstall@^2.1.0: version "2.1.0" @@ -1550,35 +1385,11 @@ serve-static@^2.2.0: parseurl "^1.3.3" send "^1.2.0" -set-function-length@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" - integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== - dependencies: - define-data-property "^1.1.4" - es-errors "^1.3.0" - function-bind "^1.1.2" - get-intrinsic "^1.2.4" - gopd "^1.0.1" - has-property-descriptors "^1.0.2" - setprototypeof@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - side-channel-list@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad" @@ -1647,11 +1458,6 @@ simple-update-notifier@^2.0.0: dependencies: semver "^7.5.3" -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - stack-trace@0.0.x: version "0.0.10" resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" @@ -1716,13 +1522,6 @@ supports-color@^5.5.0: dependencies: has-flag "^3.0.0" -supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -1773,11 +1572,6 @@ tinyglobby@^0.2.11: fdir "^6.4.4" picomatch "^4.0.2" -tmp@^0.2.4: - version "0.2.7" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.7.tgz#26f4db11d1601ce8012dcb8a798ece1c06a99059" - integrity sha512-e0votIpp4Uo2AJYSzVHV6xCcawuiez3DzqDAbrTc3YxBkplN6e+dM13ZeIcZnDg/QpSuU2zfZ3rzwY8ukEnaXw== - to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -1909,13 +1703,6 @@ whatwg-url@^5.0.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" -which@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - winston-daily-rotate-file@~5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/winston-daily-rotate-file/-/winston-daily-rotate-file-5.0.0.tgz#8cd94800025490e47c00ec892b655a5821f4266d" @@ -1976,11 +1763,6 @@ yallist@^5.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533" integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw== -yaml@^2.2.2: - version "2.8.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.8.2.tgz#5694f25eca0ce9c3e7a9d9e00ce0ddabbd9e35c5" - integrity sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A== - yargs-parser@^20.2.2: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" From 180d04990be146564351e46861b40bd2c12ed1df Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 8 Oct 2026 16:51:13 +0300 Subject: [PATCH 102/559] build: pin the JUnit version in mqtt-integrations --- common/integration/mqtt-integrations/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/integration/mqtt-integrations/pom.xml b/common/integration/mqtt-integrations/pom.xml index 669904703f..2880ab2710 100644 --- a/common/integration/mqtt-integrations/pom.xml +++ b/common/integration/mqtt-integrations/pom.xml @@ -67,7 +67,7 @@ junit junit - RELEASE + 4.13.2 test From 3ecb885cea9a82a9f215842d4d9577de451ef470 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 8 Oct 2026 16:54:59 +0300 Subject: [PATCH 103/559] build: remove the duplicate byte-buddy dependency management entries --- pom.xml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pom.xml b/pom.xml index 859cfe2cc5..c7f5abd993 100755 --- a/pom.xml +++ b/pom.xml @@ -1241,16 +1241,6 @@ byte-buddy-agent ${bytebuddy.version} - - net.bytebuddy - byte-buddy - ${bytebuddy.version} - - - net.bytebuddy - byte-buddy-agent - ${bytebuddy.version} - org.thingsboard.langchain4j langchain4j-bom From 9467d2e0331da40502c04a20faff8b24fc0c7722 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 8 Oct 2026 16:54:59 +0300 Subject: [PATCH 104/559] chore: update license headers --- common/actor/pom.xml | 3 ++- common/cache/pom.xml | 3 ++- common/cluster-api/pom.xml | 3 ++- common/coap-server/pom.xml | 3 ++- common/dao-api/pom.xml | 3 ++- common/script/pom.xml | 3 ++- common/stats/pom.xml | 3 ++- common/transport/coap/pom.xml | 3 ++- common/transport/http/pom.xml | 3 ++- common/transport/lwm2m/pom.xml | 3 ++- common/transport/mqtt/pom.xml | 3 ++- common/transport/transport-api/pom.xml | 3 ++- common/util/pom.xml | 3 ++- edqs/pom.xml | 3 ++- monitoring/pom.xml | 3 ++- msa/transport/pom.xml | 3 ++- msa/vc-executor/pom.xml | 3 ++- packaging/java/build.gradle | 3 +-- rest-client/pom.xml | 3 ++- transport/lwm2m/pom.xml | 3 ++- transport/snmp/pom.xml | 3 ++- .../home/components/alarm/alarm-assignee.component.html | 3 ++- .../home/components/alarm/alarm-details-dialog.component.scss | 3 ++- 23 files changed, 45 insertions(+), 24 deletions(-) diff --git a/common/actor/pom.xml b/common/actor/pom.xml index 36eec9d17e..d1f4eda97b 100644 --- a/common/actor/pom.xml +++ b/common/actor/pom.xml @@ -1,7 +1,8 @@ Date: Thu, 8 Oct 2026 15:59:33 +0200 Subject: [PATCH 105/559] Fixed group chips overflow in entity tables and moved Manage agents to customer details panel (#16266) * Fixed group chips overflow in entity tables and moved Manage agents to customer details panel * Fixed license headers --- .../home/components/entity/entity-chips.component.html | 5 +++-- .../home/components/entity/entity-chips.component.scss | 6 +++++- .../home/pages/customer/customer.component.html | 8 ++++++++ .../modules/home/pages/customer/customer.component.ts | 4 ++++ .../pages/customer/customers-table-config.resolver.ts | 10 ---------- ui-ngx/src/assets/locale/locale.constant-en_US.json | 4 ++-- 6 files changed, 22 insertions(+), 15 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/entity/entity-chips.component.html b/ui-ngx/src/app/modules/home/components/entity/entity-chips.component.html index 8c370cdd5d..cf3970ef5d 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entity-chips.component.html +++ b/ui-ngx/src/app/modules/home/components/entity/entity-chips.component.html @@ -1,11 +1,12 @@ @for (subEntity of subEntities; track subEntity) { - {{ subEntity.name | customTranslate }} diff --git a/ui-ngx/src/app/modules/home/components/entity/entity-chips.component.scss b/ui-ngx/src/app/modules/home/components/entity/entity-chips.component.scss index ee4b487f32..045156fad3 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entity-chips.component.scss +++ b/ui-ngx/src/app/modules/home/components/entity/entity-chips.component.scss @@ -1,11 +1,15 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 :host { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; + width: 0; + min-width: 100%; a.tb-entity-chip { + max-width: 100%; padding: 4px 8px; border-radius: 12px; line-height: 16px; diff --git a/ui-ngx/src/app/modules/home/pages/customer/customer.component.html b/ui-ngx/src/app/modules/home/pages/customer/customer.component.html index 3b8a08e04a..5dd48f45b3 100644 --- a/ui-ngx/src/app/modules/home/pages/customer/customer.component.html +++ b/ui-ngx/src/app/modules/home/pages/customer/customer.component.html @@ -60,6 +60,14 @@ {{'customer.manage-edges' | translate }} } + @if (resource.AGENT | hasGenericPermission: operation.READ) { + + } @if (resource.DASHBOARD | hasGenericPermission: operation.READ) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-pe-required-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-pe-required-dialog.component.ts index 73fb98b503..67a6a78116 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-pe-required-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-pe-required-dialog.component.ts @@ -28,6 +28,6 @@ export class TbIotHubPeRequiredDialogComponent extends DialogComponentProfessional Edition. You are currently running Community Edition. To install it, upgrade to Professional Edition.", + "pe-required-title": "Not available in your version", + "pe-required-message": "This item requires ThingsBoard 4.4 or newer and isn’t available in your current version.

If your instance was running before September 29, 2026, the Community Grant Program lets you upgrade for free and keep your current scale.", + "view-upgrade-options": "View upgrade options", "upgrade-required-title": "ThingsBoard upgrade required", "upgrade-required-message": "This item requires ThingsBoard {{minVersion}} or newer. You are currently running {{currentVersion}}. Please upgrade your instance to install it.", "upgrade-instance": "Upgrade instance", From 700d7bb8e72da39c41cb0e7f7e112c97549e650f Mon Sep 17 00:00:00 2001 From: Dmytro Pinkevych <49400214+pinkevmladchy@users.noreply.github.com> Date: Fri, 9 Oct 2026 13:27:38 +0300 Subject: [PATCH 112/559] IoT Hub: filter the catalogue by the creator's verification status (#16165) * feat: filter the IoT Hub catalogue by the creator's verification status Adds a "Verified creators only" control to every IoT Hub filter panel the platform renders: the catalogue page, the embedded browse a dialog opens, and the widget picker in the dashboard editor. It applies through the new creatorVerified parameter on /api/versions/published, so the result count and the page count reflect it rather than only the rows on screen, and it joins the rest of the panel's state - chips, the count on the filter button, "Clear all", and the reset that happens when the mode changes. The control is a single checkbox above the facets rather than a section of its own: one boolean has no list to collapse, and a one-option accordion reads as a heading whose section never grows. The catalogue's sidebar had no name for its panel at all, which left that checkbox sitting under nothing, so the sidebar now carries the same "Filter" title the drawer has, with the same rule under it. The parameter is matched, not switched, the shape peOnly/ceOnly already have: creatorVerified=false means "only *un*verified". An unchecked control therefore omits it entirely and never sends false - MpItemVersionQuery.toQuery() writes the parameter only when the option is true, and both panels pass undefined rather than false. Two surfaces need the facet applied by hand. "Installed from IoT Hub" filters a cached list in the browser instead of asking the server, so it gets the same predicate locally; without it the panel would offer the control and the list would not move. And the widget picker's category landing passes the parameter to /api/item-listing/widgetCategories, so it stops offering a category whose only widgets the grid then hides - which is also why the filter button is now shown on the landing while the flag is set, the one place the panel is otherwise hidden and the filter would have been unclearable. The creator page and the search page run the same reads through a component with no filter panel, so the parameter never reaches them. Copy names what it filters - the creator's verification status - and claims no quality tier. * IoT Hub verified filter: address review comments - Show only the verified checkbox in the widget-select filter panel on the category landing; the other facets are ignored there - Badge on the landing counts only the verified filter - Pass the verified flag as-is; the query builders already drop false - Align the sidebar filter title weight with the drawer header (500) - Trim explanatory comments * IoT Hub browse: share the filter checkbox rule with the standalone checkbox Put the standalone class on the mat-checkbox itself, inset it with a margin and drop the wrapper and the duplicated hover block. --- .../src/app/core/http/iot-hub-api.service.ts | 5 +- .../dashboard-widget-select.component.html | 189 +++++++++--------- .../dashboard-widget-select.component.ts | 31 ++- .../iot-hub/iot-hub-browse.component.html | 21 ++ .../iot-hub/iot-hub-browse.component.scss | 39 +++- .../iot-hub/iot-hub-browse.component.ts | 16 +- .../models/iot-hub/iot-hub-version.models.ts | 5 + .../assets/locale/locale.constant-en_US.json | 1 + 8 files changed, 199 insertions(+), 108 deletions(-) diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 33f19d285f..2074976126 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -87,7 +87,7 @@ export class IotHubApiService { return this.http.get(url, { params: this.buildParams(config) }); } - public getWidgetCategories(textSearch?: string, scadaFirst?: boolean, + public getWidgetCategories(textSearch?: string, scadaFirst?: boolean, creatorVerified?: boolean, config?: IotHubRequestConfig): Observable { const queryParams: string[] = [ `peOnly=false`, @@ -99,6 +99,9 @@ export class IotHubApiService { if (scadaFirst != null) { queryParams.push(`scadaFirst=${scadaFirst}`); } + if (creatorVerified) { + queryParams.push(`creatorVerified=true`); + } const url = `${this.baseUrl}/api/item-listing/widgetCategories?${queryParams.join('&')}`; return this.http.get(url, { params: this.buildParams(config) }); } diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html index aa5c1deb90..2dccec902f 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html @@ -457,120 +457,129 @@ } } @else { - - - - {{ 'iot-hub.type' | translate }} - @if (iotHubAppliedWidgetTypes.size) { - {{ iotHubAppliedWidgetTypes.size }} - } - - - @if (iotHubWidgetTypeOptions.length >= 10) { - - } -
- @for (opt of getFilteredIotHubItems(iotHubWidgetTypeOptions, 'widgetType'); track opt.key) { -
- - {{ getIotHubWidgetTypeLabel(opt.key) }} - -
- } -
-
- @if (!hideCategoriesFilterSection) { +
+ + {{ 'iot-hub.verified-creators-only' | translate }} + +
+ @if (iotHubSubMode !== 'default') { - + - {{ 'iot-hub.category' | translate }} - @if (iotHubAppliedCategories.size) { - {{ iotHubAppliedCategories.size }} + {{ 'iot-hub.type' | translate }} + @if (iotHubAppliedWidgetTypes.size) { + {{ iotHubAppliedWidgetTypes.size }} } - @if (iotHubCategoryOptions.length >= 10) { + @if (iotHubWidgetTypeOptions.length >= 10) { } -
- @for (opt of getFilteredIotHubItems(iotHubCategoryOptions, 'category'); track opt.key) { + @for (opt of getFilteredIotHubItems(iotHubWidgetTypeOptions, 'widgetType'); track opt.key) {
- - {{ opt.key }} + + {{ getIotHubWidgetTypeLabel(opt.key) }}
}
- } - - - - - {{ 'iot-hub.use-case' | translate }} - @if (iotHubAppliedUseCases.size) { - {{ iotHubAppliedUseCases.size }} - } - - - @if (iotHubUseCaseOptions.length >= 10) { - - } -
- @for (group of getGroupedIotHubFilterItems(iotHubUseCaseOptions, 'useCase'); track group.label) { - @if (group.label) { -
{{ group.label | translate }}
- } - @for (opt of group.items; track opt.key) { -
- - {{ opt.key }} - + @if (!hideCategoriesFilterSection) { + + + + + {{ 'iot-hub.category' | translate }} + @if (iotHubAppliedCategories.size) { + {{ iotHubAppliedCategories.size }} + } + + + @if (iotHubCategoryOptions.length >= 10) { + } +
+ @for (opt of getFilteredIotHubItems(iotHubCategoryOptions, 'category'); track opt.key) { +
+ + {{ opt.key }} + +
+ } +
+
+ } + + + + + {{ 'iot-hub.use-case' | translate }} + @if (iotHubAppliedUseCases.size) { + {{ iotHubAppliedUseCases.size }} + } + + + @if (iotHubUseCaseOptions.length >= 10) { + } -
- +
+ @for (group of getGroupedIotHubFilterItems(iotHubUseCaseOptions, 'useCase'); track group.label) { + @if (group.label) { +
{{ group.label | translate }}
+ } + @for (opt of group.items; track opt.key) { +
+ + {{ opt.key }} + +
+ } + } +
+ + } }
diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts index d93a1e504e..e6331f9a66 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.ts @@ -137,6 +137,7 @@ export class DashboardWidgetSelectComponent { this.iotHubAppliedWidgetTypes.clear(); this.iotHubAppliedCategories.clear(); this.iotHubAppliedUseCases.clear(); + this.iotHubVerifiedCreatorsOnly = false; this.iotHubFilterCount = 0; } } @@ -260,6 +261,7 @@ export class DashboardWidgetSelectComponent { iotHubAppliedWidgetTypes = new Set(); iotHubAppliedCategories = new Set(); iotHubAppliedUseCases = new Set(); + iotHubVerifiedCreatorsOnly = false; iotHubWidgetTypeOptions: FilterParamInfo[] = []; iotHubCategoryOptions: FilterParamInfo[] = []; @@ -314,7 +316,8 @@ export class DashboardWidgetSelectComponent { categories: effectiveCategories, useCases: this.iotHubAppliedUseCases.size > 0 ? Array.from(this.iotHubAppliedUseCases) : undefined, widgetTypes: this.iotHubAppliedWidgetTypes.size > 0 ? Array.from(this.iotHubAppliedWidgetTypes) : undefined, - scadaFirst: this.scadaFirst ? true : undefined + scadaFirst: this.scadaFirst ? true : undefined, + creatorVerified: this.iotHubVerifiedCreatorsOnly }); return this.iotHubApiService.getPublishedVersions(query, { ignoreLoading: true }); }; @@ -337,7 +340,8 @@ export class DashboardWidgetSelectComponent { this.iotHubDefaultFetchFunction = (pageSize, page, filter) => { const search = typeof filter === 'string' ? filter.split('|')[0] : filter; return this.iotHubApiService.getWidgetCategories(search || undefined, - this.scadaFirst ? true : undefined, { ignoreLoading: true }).pipe( + this.scadaFirst ? true : undefined, + this.iotHubVerifiedCreatorsOnly, { ignoreLoading: true }).pipe( map(categories => ({ data: categories.slice(page * pageSize, page * pageSize + pageSize), totalPages: Math.ceil(categories.length / pageSize), @@ -554,11 +558,19 @@ export class DashboardWidgetSelectComponent { this.onIotHubFiltersChanged(); } + toggleIotHubVerifiedCreators(): void { + this.iotHubVerifiedCreatorsOnly = !this.iotHubVerifiedCreatorsOnly; + this.loadWidgetCategories(); + this.onIotHubFiltersChanged(); + } + clearIotHubFilters(): void { this.iotHubAppliedWidgetTypes.clear(); this.iotHubAppliedCategories.clear(); this.iotHubAppliedUseCases.clear(); + this.iotHubVerifiedCreatorsOnly = false; this.iotHubFilterSearch = {}; + this.loadWidgetCategories(); this.onIotHubFiltersChanged(); } @@ -566,7 +578,8 @@ export class DashboardWidgetSelectComponent { this.iotHubFilterCount = this.iotHubAppliedWidgetTypes.size + (this.iotHubSelectedCategory ? 0 : this.iotHubAppliedCategories.size) + - this.iotHubAppliedUseCases.size; + this.iotHubAppliedUseCases.size + + (this.iotHubVerifiedCreatorsOnly ? 1 : 0); this.reloadIotHubWidgets(); } @@ -582,6 +595,9 @@ export class DashboardWidgetSelectComponent { if (this.selectWidgetMode === 'installed') { return (this.filterWidgetTypes?.length ?? 0) + (this.includeDeprecated ? 1 : 0); } + if (this.iotHubSubMode === 'default') { + return this.iotHubVerifiedCreatorsOnly ? 1 : 0; + } return this.iotHubFilterCount; } @@ -591,7 +607,8 @@ export class DashboardWidgetSelectComponent { } return this.iotHubAppliedWidgetTypes.size > 0 || this.iotHubAppliedCategories.size > 0 - || this.iotHubAppliedUseCases.size > 0; + || this.iotHubAppliedUseCases.size > 0 + || this.iotHubVerifiedCreatorsOnly; } clearAllFilters(): void { @@ -630,7 +647,8 @@ export class DashboardWidgetSelectComponent { isFilterVisible(): boolean { if (this.selectWidgetMode === 'iotHub') { - return this.iotHubSubMode !== 'default'; + // The category landing honours only the verified filter, so the button stays while it is on + return this.iotHubSubMode !== 'default' || this.iotHubVerifiedCreatorsOnly; } return this.installedSubMode === 'allWidgets' || this.widgetsBundle !== null; } @@ -838,6 +856,9 @@ export class DashboardWidgetSelectComponent { if (this.iotHubAppliedUseCases.size > 0) { filtered = filtered.filter(v => v.useCases?.some(u => this.iotHubAppliedUseCases.has(u))); } + if (this.iotHubVerifiedCreatorsOnly) { + filtered = filtered.filter(v => v.creatorVerified); + } filtered = this.sortInstalledVersions(filtered); const start = page * pageSize; const data = filtered.slice(start, start + pageSize); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html index 40ffca34c8..740be1f42d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html @@ -25,6 +25,13 @@
+ + {{ 'iot-hub.verified-creators-only' | translate }} + +
+ @if (!fixedSubType && subtypeOptions.length > 0 && activeType !== ItemType.ALARM_RULE) { @@ -253,6 +260,12 @@
+ @if (verifiedCreatorsOnly) { + + {{ 'iot-hub.verified-creators-only' | translate }} + close + + } @for (key of getActiveSubtypesArray(); track key) { {{ getSubtypeLabel(key) }} @@ -305,6 +318,8 @@
+
{{ 'iot-hub.filter' | translate }}
+
@@ -347,6 +362,12 @@ @if (hasActiveDropdownFilters()) { + @if (verifiedCreatorsOnly) { + + {{ 'iot-hub.verified-creators-only' | translate }} + close + + } @for (key of getActiveSubtypesArray(); track key) { {{ getSubtypeLabel(key) }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.scss index d16491e4a3..2808db8ae4 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.scss @@ -97,6 +97,17 @@ } } +.tb-iot-hub-filters-header { + padding: 16px 16px 12px 56px; + font-size: 18px; + font-weight: 500; + color: rgba(0, 0, 0, 0.87); +} + +.tb-iot-hub-filters-desktop .tb-iot-hub-filters-inner { + padding-top: 8px; +} + .tb-iot-hub-filters-wrapper { position: sticky; max-height: calc(100vh - var(--mat-toolbar-standard-height, 64px)); @@ -167,6 +178,10 @@ padding: 0; } + .tb-iot-hub-filter-standalone { + margin-left: 13px; + } + .tb-iot-hub-filter-panel.mat-expansion-panel { .mat-expansion-panel-header { padding-left: 24px; @@ -199,6 +214,21 @@ background: rgba(0, 0, 0, 0.12); } +// 56px section-title inset minus the checkbox's own 11px +.tb-iot-hub-filter-standalone { + margin-left: 45px; +} + +.tb-iot-hub-filter-panel.mat-expansion-panel mat-checkbox, +.tb-iot-hub-filter-standalone { + display: block; + overflow: hidden; + + &:hover { + background: rgba(0, 0, 0, 0.04); + } +} + // Filter expansion panels — Design: no shadow, pl-40 for content .tb-iot-hub-filter-panel.mat-expansion-panel { box-shadow: none; @@ -221,15 +251,6 @@ padding: 0 8px 0 0; } - mat-checkbox { - display: block; - overflow: hidden; - - &:hover { - background: rgba(0, 0, 0, 0.04); - } - } - .tb-iot-hub-filter-items { padding-left: 44px; max-height: 340px; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts index 1568146cfc..caa4920eff 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.ts @@ -128,6 +128,7 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy activeConnectivity = new Set(); activeHardwareTypes = new Set(); activeVendors = new Set(); + verifiedCreatorsOnly = false; sortOptions: SortOption[] = [ { value: 'totalInstallCount', label: 'iot-hub.sort-most-installed', direction: Direction.DESC }, @@ -396,6 +397,12 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy this.loadItems(); } + onVerifiedCreatorsToggle(): void { + this.verifiedCreatorsOnly = !this.verifiedCreatorsOnly; + this.pageIndex = 0; + this.loadItems(); + } + isVendorActive(vendor: string): boolean { return this.activeVendors.has(vendor); } @@ -499,12 +506,14 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy this.activeConnectivity.clear(); this.activeHardwareTypes.clear(); this.activeVendors.clear(); + this.verifiedCreatorsOnly = false; } get activeFilterCount(): number { const subtypeCount = this.fixedSubType ? this.getActiveSubtypesArray().length : (this.getActiveSubtypes()?.size || 0); return subtypeCount + this.activeCategories.size + this.activeUseCases.size + - this.activeConnectivity.size + this.activeHardwareTypes.size + this.activeVendors.size; + this.activeConnectivity.size + this.activeHardwareTypes.size + this.activeVendors.size + + (this.verifiedCreatorsOnly ? 1 : 0); } hasActiveDropdownFilters(): boolean { @@ -512,7 +521,7 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy return this.activeCategories.size > 0 || this.activeUseCases.size > 0 || subtypeCount > 0 || this.activeConnectivity.size > 0 || this.activeHardwareTypes.size > 0 || - this.activeVendors.size > 0; + this.activeVendors.size > 0 || this.verifiedCreatorsOnly; } hasActiveFilters(): boolean { @@ -700,7 +709,8 @@ export class TbIotHubBrowseComponent implements OnInit, AfterViewInit, OnDestroy ruleChainTypes: this.activeRuleChainTypes.size > 0 ? Array.from(this.activeRuleChainTypes) : undefined, hardwareTypes: this.activeHardwareTypes.size > 0 ? Array.from(this.activeHardwareTypes) : undefined, connectivity: this.activeConnectivity.size > 0 ? Array.from(this.activeConnectivity) : undefined, - vendors: this.activeVendors.size > 0 ? Array.from(this.activeVendors) : undefined + vendors: this.activeVendors.size > 0 ? Array.from(this.activeVendors) : undefined, + creatorVerified: this.verifiedCreatorsOnly }); this.iotHubApiService.getPublishedVersions( query, diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts index 349a4f62e8..e726fe4b39 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-version.models.ts @@ -131,6 +131,8 @@ export interface MpItemVersionQueryOptions { connectivity?: string[]; vendors?: string[]; scadaFirst?: boolean; + // Serialized only when true: the API matches the value, so `false` would mean "unverified only" + creatorVerified?: boolean; } export class MpItemVersionQuery { @@ -178,6 +180,9 @@ export class MpItemVersionQuery { if (o.scadaFirst != null) { query += `&scadaFirst=${o.scadaFirst}`; } + if (o.creatorVerified) { + query += `&creatorVerified=true`; + } return query; } } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 8abf9917d2..5e71c56e0c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3772,6 +3772,7 @@ "sort-newest": "Newest", "sort-name": "Name (A-Z)", "type-filter-label": "Type", + "verified-creators-only": "Verified creators only", "category": "Category", "use-case": "Use case", "vendor": "Vendor", From f415021facb8c058eca87c3752309277fb8a3389 Mon Sep 17 00:00:00 2001 From: Dmytro Skarzhynets Date: Fri, 9 Oct 2026 11:43:28 +0300 Subject: [PATCH 113/559] feat: record privacy policy and terms of use acceptance time --- .../server/controller/SignUpController.java | 78 ++------ .../controller/SignUpControllerSqlTest.java | 51 ++++- .../server/common/data/DataConstants.java | 5 + .../thingsboard/server/common/data/User.java | 30 +++ .../server/common/data/UserTest.java | 188 ++++++++++++++++++ 5 files changed, 290 insertions(+), 62 deletions(-) create mode 100644 common/data/src/test/java/org/thingsboard/server/common/data/UserTest.java diff --git a/application/src/main/java/org/thingsboard/server/controller/SignUpController.java b/application/src/main/java/org/thingsboard/server/controller/SignUpController.java index a1bdf912bb..aff74dfcd0 100644 --- a/application/src/main/java/org/thingsboard/server/controller/SignUpController.java +++ b/application/src/main/java/org/thingsboard/server/controller/SignUpController.java @@ -2,7 +2,6 @@ // SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.server.controller; -import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.api.gax.core.FixedCredentialsProvider; import com.google.auth.oauth2.ServiceAccountCredentials; @@ -117,10 +116,6 @@ public class SignUpController extends BaseController { private static final String MOBILE_APP_BUNDLE_WAS_NOT_FOUND = "Mobile app bundle was not found"; - private static final String PRIVACY_POLICY_ACCEPTED = "privacyPolicyAccepted"; - - private static final String TERMS_OF_USE_ACCEPTED = "termsOfUseAccepted"; - private RestTemplate restTemplate; @Autowired @@ -402,8 +397,9 @@ public class SignUpController extends BaseController { String encodedPassword = userCredentials.getPassword(); UserCredentials credentials = userService.activateUserCredentials(TenantId.SYS_TENANT_ID, emailCode, encodedPassword); User user = userService.findUserById(TenantId.SYS_TENANT_ID, credentials.getUserId()); - setPrivacyPolicyAccepted(user); - setTermsOfUseAccepted(user); + long acceptedTs = System.currentTimeMillis(); + user.setPrivacyPolicyAccepted(acceptedTs); + user.setTermsOfUseAccepted(acceptedTs); user = userService.saveUser(tenantId, user); UserPrincipal principal = new UserPrincipal(UserPrincipal.Type.USER_NAME, user.getEmail()); SecurityUser securityUser = new SecurityUser(user, credentials.isEnabled(), principal, getMergedUserPermissions(user, false)); @@ -428,23 +424,6 @@ public class SignUpController extends BaseController { return tokenFactory.createTokenPair(securityUser); } - private void setPrivacyPolicyAccepted(User user) { - JsonNode additionalInfo = user.getAdditionalInfo(); - if (!(additionalInfo instanceof ObjectNode)) { - additionalInfo = JacksonUtil.newObjectNode(); - } - ((ObjectNode) additionalInfo).put(PRIVACY_POLICY_ACCEPTED, true); - user.setAdditionalInfo(additionalInfo); - } - - private boolean isPrivacyPolicyAccepted(User user) { - JsonNode additionalInfo = user.getAdditionalInfo(); - if (additionalInfo != null && additionalInfo.has(PRIVACY_POLICY_ACCEPTED)) { - return additionalInfo.get(PRIVACY_POLICY_ACCEPTED).asBoolean(); - } - return false; - } - @ApiOperation(value = "Check privacy policy (privacyPolicyAccepted)", notes = "Checks that current user accepted the privacy policy.") @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER')") @@ -453,43 +432,23 @@ public class SignUpController extends BaseController { Boolean privacyPolicyAccepted() throws ThingsboardException { SecurityUser securityUser = getCurrentUser(); User user = userService.findUserById(securityUser.getTenantId(), securityUser.getId()); - return isPrivacyPolicyAccepted(user); + return user.isPrivacyPolicyAccepted(); } @ApiOperation(value = "Accept privacy policy (acceptPrivacyPolicy)", - notes = "Accept privacy policy by the current user.") + notes = "Accept privacy policy by the current user. " + + "Stores the acceptance flag 'privacyPolicyAccepted' and the acceptance time 'privacyPolicyAcceptedTs' (epoch milliseconds) " + + "in the user's additional info. Repeated acceptance overwrites the stored time.") @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER')") @PostMapping(value = "/signup/acceptPrivacyPolicy") - public JsonNode acceptPrivacyPolicy() throws ThingsboardException { + public JwtPair acceptPrivacyPolicy() throws ThingsboardException { SecurityUser securityUser = getCurrentUser(); User user = userService.findUserById(securityUser.getTenantId(), securityUser.getId()); - setPrivacyPolicyAccepted(user); + user.setPrivacyPolicyAccepted(); user = userService.saveUser(securityUser.getTenantId(), user); UserPrincipal principal = new UserPrincipal(UserPrincipal.Type.USER_NAME, user.getEmail()); securityUser = new SecurityUser(user, true, principal, getMergedUserPermissions(user, false)); - JwtPair tokenPair = tokenFactory.createTokenPair(securityUser); - - ObjectNode tokenObject = JacksonUtil.newObjectNode(); - tokenObject.put("token", tokenPair.getToken()); - tokenObject.put("refreshToken", tokenPair.getRefreshToken()); - return tokenObject; - } - - private void setTermsOfUseAccepted(User user) { - JsonNode additionalInfo = user.getAdditionalInfo(); - if (!(additionalInfo instanceof ObjectNode)) { - additionalInfo = JacksonUtil.newObjectNode(); - } - ((ObjectNode) additionalInfo).put(TERMS_OF_USE_ACCEPTED, true); - user.setAdditionalInfo(additionalInfo); - } - - private boolean isTermsOfUseAccepted(User user) { - JsonNode additionalInfo = user.getAdditionalInfo(); - if (additionalInfo != null && additionalInfo.has(TERMS_OF_USE_ACCEPTED)) { - return additionalInfo.get(TERMS_OF_USE_ACCEPTED).asBoolean(); - } - return false; + return tokenFactory.createTokenPair(securityUser); } @ApiOperation(value = "Check Terms Of User (termsOfUseAccepted)", @@ -500,26 +459,23 @@ public class SignUpController extends BaseController { Boolean termsOfUseAccepted() throws ThingsboardException { SecurityUser securityUser = getCurrentUser(); User user = userService.findUserById(securityUser.getTenantId(), securityUser.getId()); - return isTermsOfUseAccepted(user); + return user.isTermsOfUseAccepted(); } @ApiOperation(value = "Accept Terms of Use (acceptTermsOfUse)", - notes = "Accept Terms of Use by the current user.") + notes = "Accept Terms of Use by the current user. " + + "Stores the acceptance flag 'termsOfUseAccepted' and the acceptance time 'termsOfUseAcceptedTs' (epoch milliseconds) " + + "in the user's additional info. Repeated acceptance overwrites the stored time.") @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER')") @PostMapping(value = "/signup/acceptTermsOfUse") - public JsonNode acceptTermsOfUse() throws ThingsboardException { + public JwtPair acceptTermsOfUse() throws ThingsboardException { SecurityUser securityUser = getCurrentUser(); User user = userService.findUserById(securityUser.getTenantId(), securityUser.getId()); - setTermsOfUseAccepted(user); + user.setTermsOfUseAccepted(); user = userService.saveUser(securityUser.getTenantId(), user); UserPrincipal principal = new UserPrincipal(UserPrincipal.Type.USER_NAME, user.getEmail()); securityUser = new SecurityUser(user, true, principal, getMergedUserPermissions(user, false)); - JwtPair tokenPair = tokenFactory.createTokenPair(securityUser); - - ObjectNode tokenObject = JacksonUtil.newObjectNode(); - tokenObject.put("token", tokenPair.getToken()); - tokenObject.put("refreshToken", tokenPair.getRefreshToken()); - return tokenObject; + return tokenFactory.createTokenPair(securityUser); } private void validateReCaptcha(String userResponse, String ipAddress, String recaptchaSecretKey) throws ThingsboardException { diff --git a/application/src/test/java/org/thingsboard/server/controller/SignUpControllerSqlTest.java b/application/src/test/java/org/thingsboard/server/controller/SignUpControllerSqlTest.java index 143326d394..02b37c92ba 100644 --- a/application/src/test/java/org/thingsboard/server/controller/SignUpControllerSqlTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/SignUpControllerSqlTest.java @@ -14,6 +14,7 @@ import org.testcontainers.shaded.org.apache.commons.lang3.RandomStringUtils; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.CustomerInfo; import org.thingsboard.server.common.data.Dashboard; +import org.thingsboard.server.common.data.DataConstants; import org.thingsboard.server.common.data.EntityInfo; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.StringUtils; @@ -35,11 +36,11 @@ import org.thingsboard.server.common.data.oauth2.PlatformType; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.selfregistration.DefaultDashboardParams; import org.thingsboard.server.common.data.selfregistration.HomeDashboardParams; -import org.thingsboard.server.common.data.selfregistration.V2CaptchaParams; import org.thingsboard.server.common.data.selfregistration.MobileRedirectParams; import org.thingsboard.server.common.data.selfregistration.MobileSelfRegistrationParams; import org.thingsboard.server.common.data.selfregistration.SignUpField; import org.thingsboard.server.common.data.selfregistration.SignUpFieldId; +import org.thingsboard.server.common.data.selfregistration.V2CaptchaParams; import org.thingsboard.server.common.data.selfregistration.WebSelfRegistrationParams; import org.thingsboard.server.common.data.signup.SignUpRequest; import org.thingsboard.server.common.data.signup.SignUpResult; @@ -200,6 +201,38 @@ public class SignUpControllerSqlTest extends AbstractControllerTest { removeCreatedUser(user); } + @Test + public void testActivationByEmailCodeStoresPolicyAcceptanceTimestamps() throws Exception { + createWebSelfRegistrationSettings(); + doSignUp(createWebSignUpRequest(CUSTOMER_TEST_EMAIL)); + User user = userService.findUserByEmail(tenantId, CUSTOMER_TEST_EMAIL); + String activateToken = userService.findUserCredentialsByUserId(tenantId, user.getId()).getActivateToken(); + + doPost("/api/noauth/activateByEmailCode", JsonNode.class, "emailCode", activateToken); + + User activatedUser = userService.findUserById(tenantId, user.getId()); + assertPrivacyPolicyAccepted(activatedUser); + assertTermsOfUseAccepted(activatedUser); + + removeCreatedUser(activatedUser); + } + + @Test + public void testAcceptPrivacyPolicyStoresAcceptanceTimestamp() { + doPost("/api/signup/acceptPrivacyPolicy", JsonNode.class); + + User user = userService.findUserById(tenantId, tenantAdminUserId); + assertPrivacyPolicyAccepted(user); + } + + @Test + public void testAcceptTermsOfUseStoresAcceptanceTimestamp() { + doPost("/api/signup/acceptTermsOfUse", JsonNode.class); + + User user = userService.findUserById(tenantId, tenantAdminUserId); + assertTermsOfUseAccepted(user); + } + @Test public void testSelfRegistrationCreateMessageInRuleChain() throws Exception { createWebSelfRegistrationSettings(); @@ -263,6 +296,22 @@ public class SignUpControllerSqlTest extends AbstractControllerTest { return signUpRequest; } + private void assertPrivacyPolicyAccepted(User user) { + assertThat(user.isPrivacyPolicyAccepted()).isTrue(); + assertAcceptedTsIsPositive(user, DataConstants.PRIVACY_POLICY_ACCEPTED_TS); + } + + private void assertTermsOfUseAccepted(User user) { + assertThat(user.isTermsOfUseAccepted()).isTrue(); + assertAcceptedTsIsPositive(user, DataConstants.TERMS_OF_USE_ACCEPTED_TS); + } + + private void assertAcceptedTsIsPositive(User user, String acceptedTsKey) { + JsonNode acceptedTs = user.getAdditionalInfo().path(acceptedTsKey); + assertThat(acceptedTs.isNumber()).isTrue(); + assertThat(acceptedTs.asLong()).isPositive(); + } + protected SignUpRequest createMobileSignUpRequest(String email, String pkgName, String appSecret, PlatformType platformType) { var signUpRequest = new SignUpRequest(); signUpRequest.setFields(Map.of(SignUpFieldId.EMAIL, email, diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/DataConstants.java b/common/data/src/main/java/org/thingsboard/server/common/data/DataConstants.java index 625f1fc514..9d20a0e5e8 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/DataConstants.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/DataConstants.java @@ -160,6 +160,11 @@ public class DataConstants { public static final String CF_QUEUE_NAME = "CalculatedFields"; public static final String CF_STATES_QUEUE_NAME = "CalculatedFieldStates"; + public static final String PRIVACY_POLICY_ACCEPTED = "privacyPolicyAccepted"; + public static final String PRIVACY_POLICY_ACCEPTED_TS = "privacyPolicyAcceptedTs"; + public static final String TERMS_OF_USE_ACCEPTED = "termsOfUseAccepted"; + public static final String TERMS_OF_USE_ACCEPTED_TS = "termsOfUseAcceptedTs"; + public static final String LATEST_TELEMETRY_SCOPE = "LATEST_TELEMETRY"; } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/User.java b/common/data/src/main/java/org/thingsboard/server/common/data/User.java index c8f3683736..17797a912a 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/User.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/User.java @@ -6,6 +6,8 @@ package org.thingsboard.server.common.data; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.BooleanNode; +import com.fasterxml.jackson.databind.node.LongNode; import io.swagger.v3.oas.annotations.media.Schema; import lombok.EqualsAndHashCode; import lombok.Getter; @@ -251,6 +253,34 @@ public class User extends BaseDataWithAdditionalInfo implements GroupEnt return !isSystemAdmin() && !isTenantAdmin(); } + @JsonIgnore + public boolean isPrivacyPolicyAccepted() { + return getAdditionalInfoField(DataConstants.PRIVACY_POLICY_ACCEPTED, JsonNode::asBoolean, false); + } + + public void setPrivacyPolicyAccepted() { + setPrivacyPolicyAccepted(System.currentTimeMillis()); + } + + public void setPrivacyPolicyAccepted(long acceptedTs) { + setAdditionalInfoField(DataConstants.PRIVACY_POLICY_ACCEPTED, BooleanNode.TRUE); + setAdditionalInfoField(DataConstants.PRIVACY_POLICY_ACCEPTED_TS, LongNode.valueOf(acceptedTs)); + } + + @JsonIgnore + public boolean isTermsOfUseAccepted() { + return getAdditionalInfoField(DataConstants.TERMS_OF_USE_ACCEPTED, JsonNode::asBoolean, false); + } + + public void setTermsOfUseAccepted() { + setTermsOfUseAccepted(System.currentTimeMillis()); + } + + public void setTermsOfUseAccepted(long acceptedTs) { + setAdditionalInfoField(DataConstants.TERMS_OF_USE_ACCEPTED, BooleanNode.TRUE); + setAdditionalInfoField(DataConstants.TERMS_OF_USE_ACCEPTED_TS, LongNode.valueOf(acceptedTs)); + } + @JsonIgnore public String getLocale() { return getAdditionalInfoField("lang", JsonNode::asText, Locale.US.toString()); diff --git a/common/data/src/test/java/org/thingsboard/server/common/data/UserTest.java b/common/data/src/test/java/org/thingsboard/server/common/data/UserTest.java new file mode 100644 index 0000000000..3220ba22a6 --- /dev/null +++ b/common/data/src/test/java/org/thingsboard/server/common/data/UserTest.java @@ -0,0 +1,188 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.common.data; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import com.fasterxml.jackson.databind.node.ObjectNode; +import com.fasterxml.jackson.databind.node.TextNode; +import lombok.Getter; +import lombok.RequiredArgsConstructor; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.EnumSource; + +import java.util.function.Consumer; +import java.util.function.ObjLongConsumer; +import java.util.function.Predicate; + +import static org.assertj.core.api.Assertions.assertThat; + +class UserTest { + + private static final long TS = 1_700_000_000_000L; + + @Getter + @RequiredArgsConstructor + enum PolicyDocument { + + PRIVACY_POLICY(DataConstants.PRIVACY_POLICY_ACCEPTED, DataConstants.PRIVACY_POLICY_ACCEPTED_TS, + User::setPrivacyPolicyAccepted, User::setPrivacyPolicyAccepted, User::isPrivacyPolicyAccepted), + TERMS_OF_USE(DataConstants.TERMS_OF_USE_ACCEPTED, DataConstants.TERMS_OF_USE_ACCEPTED_TS, + User::setTermsOfUseAccepted, User::setTermsOfUseAccepted, User::isTermsOfUseAccepted); + + private final String acceptedKey; + private final String acceptedTsKey; + private final Consumer accept; + private final ObjLongConsumer acceptAt; + private final Predicate accepted; + + PolicyDocument other() { + return this == PRIVACY_POLICY ? TERMS_OF_USE : PRIVACY_POLICY; + } + + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldCreateAdditionalInfo_whenAdditionalInfoIsNull(PolicyDocument document) { + // GIVEN + User user = new User(); + + // WHEN + document.getAcceptAt().accept(user, TS); + + // THEN + assertAcceptedAt(user, document, TS); + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldReplaceAdditionalInfo_whenAdditionalInfoIsNotObject(PolicyDocument document) { + // GIVEN + User user = new User(); + user.setAdditionalInfo(TextNode.valueOf("not an object")); + + // WHEN + document.getAcceptAt().accept(user, TS); + + // THEN + assertAcceptedAt(user, document, TS); + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldPreserveExistingFields_whenAdditionalInfoIsObject(PolicyDocument document) { + // GIVEN + User user = new User(); + ObjectNode additionalInfo = JsonNodeFactory.instance.objectNode(); + additionalInfo.put("lang", "en_US"); + user.setAdditionalInfo(additionalInfo); + + // WHEN + document.getAcceptAt().accept(user, TS); + + // THEN + assertAcceptedAt(user, document, TS); + assertThat(user.getAdditionalInfo().get("lang").asText()).isEqualTo("en_US"); + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldOverwriteTimestamp_whenAcceptedAgain(PolicyDocument document) { + // GIVEN + User user = new User(); + document.getAcceptAt().accept(user, TS); + + // WHEN + document.getAcceptAt().accept(user, TS + 1); + + // THEN + assertAcceptedAt(user, document, TS + 1); + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldNotTouchOtherDocument(PolicyDocument document) { + // GIVEN + User user = new User(); + + // WHEN + document.getAcceptAt().accept(user, TS); + + // THEN + PolicyDocument other = document.other(); + assertThat(user.getAdditionalInfo().has(other.getAcceptedKey())).isFalse(); + assertThat(user.getAdditionalInfo().has(other.getAcceptedTsKey())).isFalse(); + assertThat(other.getAccepted().test(user)).isFalse(); + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldStampCurrentTime_whenAcceptedWithoutTimestamp(PolicyDocument document) { + // GIVEN + User user = new User(); + long before = System.currentTimeMillis(); + + // WHEN + document.getAccept().accept(user); + + // THEN + long after = System.currentTimeMillis(); + assertThat(document.getAccepted().test(user)).isTrue(); + assertThat(user.getAdditionalInfo().get(document.getAcceptedTsKey()).asLong()).isBetween(before, after); + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldReportAccepted_whenMarked(PolicyDocument document) { + // GIVEN + User user = new User(); + document.getAcceptAt().accept(user, TS); + + // WHEN-THEN + assertThat(document.getAccepted().test(user)).isTrue(); + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldReportNotAccepted_whenAdditionalInfoIsNull(PolicyDocument document) { + // GIVEN + User user = new User(); + + // WHEN-THEN + assertThat(document.getAccepted().test(user)).isFalse(); + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldReportNotAccepted_whenFlagIsAbsent(PolicyDocument document) { + // GIVEN + User user = new User(); + user.setAdditionalInfo(JsonNodeFactory.instance.objectNode()); + + // WHEN-THEN + assertThat(document.getAccepted().test(user)).isFalse(); + } + + @ParameterizedTest + @EnumSource(PolicyDocument.class) + void shouldReportNotAccepted_whenFlagIsFalse(PolicyDocument document) { + // GIVEN + User user = new User(); + ObjectNode additionalInfo = JsonNodeFactory.instance.objectNode(); + additionalInfo.put(document.getAcceptedKey(), false); + user.setAdditionalInfo(additionalInfo); + + // WHEN-THEN + assertThat(document.getAccepted().test(user)).isFalse(); + } + + private static void assertAcceptedAt(User user, PolicyDocument document, long expectedTs) { + JsonNode additionalInfo = user.getAdditionalInfo(); + assertThat(additionalInfo).isInstanceOf(ObjectNode.class); + assertThat(additionalInfo.get(document.getAcceptedKey()).asBoolean()).isTrue(); + assertThat(additionalInfo.get(document.getAcceptedTsKey()).asLong()).isEqualTo(expectedTs); + assertThat(document.getAccepted().test(user)).isTrue(); + } + +} From 12e17f7c4166f58648ce4c2b8ecb8e31f14225ea Mon Sep 17 00:00:00 2001 From: dshvaika Date: Fri, 9 Oct 2026 13:50:46 +0300 Subject: [PATCH 114/559] fix(iot-hub): show a failed popup search as an error, and stop a repeated query hanging the spinner From the #16148 review round of 2026-10-09: - A failed popup request is carried as null and sets searchFailed, which shows a "Network or server unavailable" row instead of "No results found". - distinctUntilChanged() is gone from the popup pipeline. onSearchInput sets searchLoading on every keystroke, so a debounced value equal to the last one (type a letter and delete it within 300 ms) was dropped and the spinner never cleared; it also kept a failed query from being retried as-is. This matches thingsboard.io#706. - The search page's resize handler captures the first visible item before measureCols(), which already resets pageSize when the old size is not among the new options; the grid now stays on the page holding that item. --- .../components/iot-hub/iot-hub-search.component.ts | 4 ++-- .../home/pages/iot-hub/iot-hub-home.component.html | 7 +++++++ .../home/pages/iot-hub/iot-hub-home.component.ts | 13 +++++++------ 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts index 1c70ed2370..2ce6a552c7 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-search.component.ts @@ -219,12 +219,12 @@ export class TbIotHubSearchComponent implements OnInit, OnDestroy { } this.resizeSubscription = this.resizeSubject.pipe(debounceTime(150)).subscribe(() => { const before = this.pageSizeOptions[0]; + // Keep the same first item in view, not the same page number. + const firstItem = this.pageIndex * this.pageSize; this.measureCols(); if (this.pageSizeOptions[0] === before) { return; } - // Keep the same first item in view, not the same page number. - const firstItem = this.pageIndex * this.pageSize; this.pageSize = this.pageSizeOptions[0]; this.pageIndex = Math.floor(firstItem / this.pageSize); this.loadResults(); diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html index d244bbe06a..b2b785ceae 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html @@ -72,6 +72,13 @@ + } @else if (searchFailed) { + +
+ cloud_off + {{ 'iot-hub.network-server-unavailable' | translate }} +
+
} @else if (searchResults.length === 0 && searchLoaded) {
diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts index 1aeac4b66d..cd9c6b383f 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.ts @@ -6,7 +6,7 @@ import { MatAutocompleteTrigger } from '@angular/material/autocomplete'; import { MatOptionSelectionChange } from '@angular/material/core'; import { BreakpointObserver } from '@angular/cdk/layout'; import { forkJoin, of, Subject, Subscription } from 'rxjs'; -import { catchError, debounceTime, distinctUntilChanged, switchMap } from 'rxjs/operators'; +import { catchError, debounceTime, switchMap } from 'rxjs/operators'; import { MediaBreakpoints } from '@shared/models/constants'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; @@ -63,6 +63,7 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { searchTotal = 0; searchLoaded = false; searchLoading = false; + searchFailed = false; @ViewChild(MatAutocompleteTrigger) searchAutoTrigger: MatAutocompleteTrigger; @ViewChild('searchInput', {read: ElementRef}) searchInputRef: ElementRef; private searchSubject = new Subject(); @@ -159,7 +160,6 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { }); this.searchSubscription = this.searchSubject.pipe( debounceTime(300), - distinctUntilChanged(), switchMap(text => { this.searchLoading = true; const trimmed = text.trim(); @@ -168,14 +168,15 @@ export class TbIotHubHomeComponent implements OnInit, OnDestroy { const sortOrder: SortOrder = { property: RELEVANCE_SORT_PROPERTY, direction: Direction.DESC }; const pageLink = new PageLink(SEARCH_POPUP_PAGE_SIZE, 0, trimmed || null, sortOrder); const query = new MpItemVersionQuery(pageLink, { types: CROSS_TYPE_ITEM_TYPES }); - // A failure must not end the subscription; the next keystroke replaces the empty answer. + // A failure must not end the subscription. return this.iotHubApiService.getPublishedVersions(query, { ignoreLoading: true }).pipe( - catchError(() => of({ data: [], totalElements: 0 } as PageData)) + catchError(() => of(null as PageData)) ); }) ).subscribe(page => { - this.searchResults = page.data ?? []; - this.searchTotal = page.totalElements ?? 0; + this.searchFailed = !page; + this.searchResults = page?.data ?? []; + this.searchTotal = page?.totalElements ?? 0; this.searchLoaded = true; this.searchLoading = false; }); From 428a83b3bef35698d4f03f32aa406ff9651364f6 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Fri, 9 Oct 2026 14:28:35 +0200 Subject: [PATCH 115/559] Fixed custom dialog examples to match platform dialog styles (#16273) --- .../src/main/data/json/demo/dashboards/firmware.json | 10 +++++----- .../src/main/data/json/demo/dashboards/software.json | 10 +++++----- .../main/data/json/demo/dashboards/thermostats.json | 4 ++-- .../json/system/widget_types/asset_admin_table.json | 2 +- .../json/system/widget_types/device_admin_table.json | 2 +- .../resources/dashboards/gateways_dashboard.json | 6 +++--- .../settings/common/action/custom-sample-html.raw | 4 ++-- .../common/action/mobile-action-editor.models.ts | 4 ++-- .../common/action/place-map-item-sample-html.raw | 2 +- .../manage-report-public-access-modal.component.html | 2 +- .../examples/custom_pretty_create_dialog_html.md | 2 +- .../examples/custom_pretty_edit_dialog_html.md | 2 +- .../custom_pretty_clone_device_html.md | 2 +- .../custom_pretty_create_dialog_html.md | 2 +- .../custom_pretty_create_user_html.md | 2 +- .../custom_pretty_create_user_js.md | 2 +- .../custom_pretty_edit_dialog_html.md | 2 +- .../custom_pretty_edit_image_html.md | 12 ++++++------ .../en_US/widget/action/mobile_process_image_fn.md | 4 ++-- .../action/place_map_item/create_dialog_html.md | 2 +- ui-ngx/structure.md | 8 ++++---- 21 files changed, 43 insertions(+), 43 deletions(-) diff --git a/application/src/main/data/json/demo/dashboards/firmware.json b/application/src/main/data/json/demo/dashboards/firmware.json index 45a88262f8..6a650b1bd9 100644 --- a/application/src/main/data/json/demo/dashboards/firmware.json +++ b/application/src/main/data/json/demo/dashboards/firmware.json @@ -279,7 +279,7 @@ "name": "Edit firmware", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n firmwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n firmwareId: vm.entity.firmwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.firmwareId = formValues.firmwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], @@ -1142,7 +1142,7 @@ "name": "Edit firmware", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n firmwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n firmwareId: vm.entity.firmwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.firmwareId = formValues.firmwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], @@ -1448,7 +1448,7 @@ "name": "Edit firmware", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n firmwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n firmwareId: vm.entity.firmwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.firmwareId = formValues.firmwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], @@ -1754,7 +1754,7 @@ "name": "Edit firmware", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n firmwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n firmwareId: vm.entity.firmwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.firmwareId = formValues.firmwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], @@ -2060,7 +2060,7 @@ "name": "Edit firmware", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit firmware {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n firmwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n firmwareId: vm.entity.firmwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.firmwareId = formValues.firmwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], diff --git a/application/src/main/data/json/demo/dashboards/software.json b/application/src/main/data/json/demo/dashboards/software.json index 1fc1e0018f..96b3782315 100644 --- a/application/src/main/data/json/demo/dashboards/software.json +++ b/application/src/main/data/json/demo/dashboards/software.json @@ -279,7 +279,7 @@ "name": "Edit software", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n softwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n softwareId: vm.entity.softwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.softwareId = formValues.softwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], @@ -1142,7 +1142,7 @@ "name": "Edit software", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n softwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n softwareId: vm.entity.softwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.softwareId = formValues.softwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], @@ -1448,7 +1448,7 @@ "name": "Edit software", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n softwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n softwareId: vm.entity.softwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.softwareId = formValues.softwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], @@ -1754,7 +1754,7 @@ "name": "Edit software", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n softwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n softwareId: vm.entity.softwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.softwareId = formValues.softwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], @@ -2060,7 +2060,7 @@ "name": "Edit software", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit software {{entityName}}

\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
", "customCss": "form {\n min-width: 300px !important;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet entityService = $injector.get(widgetContext.servicesMap.get('entityService'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n\n vm.entityName = entityName;\n vm.entity = {};\n\n vm.editEntityFormGroup = vm.fb.group({\n softwareId: [null]\n });\n\n getEntityInfo();\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n\n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveEntity().subscribe(\n function () {\n // widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n };\n\n\n function getEntityInfo() {\n entityService.getEntity(entityId.entityType, entityId.id).subscribe(\n function (data) {\n vm.entity = data;\n vm.editEntityFormGroup.patchValue({\n softwareId: vm.entity.softwareId\n }, {emitEvent: false});\n }\n );\n }\n\n function saveEntity() {\n const formValues = vm.editEntityFormGroup.value;\n vm.entity.softwareId = formValues.softwareId;\n return deviceService.saveDevice(vm.entity);\n }\n}", "customResources": [], diff --git a/application/src/main/data/json/demo/dashboards/thermostats.json b/application/src/main/data/json/demo/dashboards/thermostats.json index 40866db9ef..c7b8d50354 100644 --- a/application/src/main/data/json/demo/dashboards/thermostats.json +++ b/application/src/main/data/json/demo/dashboards/thermostats.json @@ -167,7 +167,7 @@ "name": "Add", "icon": "add", "type": "customPretty", - "customHtml": "
\n \n

Add thermostat

\n \n \n
\n \n \n
\n
\n \n Thermostat name\n \n \n Thermostat name is required.\n \n \n
\n \n High temperature alarm\n \n \n High temperature threshold, °C\n \n \n High temperature threshold is required.\n \n \n\n \n Low humidity alarm\n \n\n \n Low humidity threshold, %\n \n \n Low humidity threshold is required.\n \n \n
\n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Add thermostat

\n \n \n
\n \n \n
\n
\n \n Thermostat name\n \n \n Thermostat name is required.\n \n \n
\n \n High temperature alarm\n \n \n High temperature threshold, °C\n \n \n High temperature threshold is required.\n \n \n\n \n Low humidity alarm\n \n\n \n Low humidity threshold, %\n \n \n Low humidity threshold is required.\n \n \n
\n
\n
\n \n \n
\n
", "customCss": ".add-entity-form{\n width: 300px;\n}\n", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\n\nopenAddEntityDialog();\n\nfunction openAddEntityDialog() {\n customDialog.customDialog(htmlTemplate, AddEntityDialogController).subscribe();\n}\n\nfunction AddEntityDialogController(instance) {\n let vm = instance;\n \n vm.addEntityFormGroup = vm.fb.group({\n entityName: ['', [vm.validators.required]],\n attributes: vm.fb.group({\n temperatureAlarmFlag: [false],\n temperatureAlarmThreshold: [{value: null, disabled: true}],\n humidityAlarmFlag: [false],\n humidityAlarmThreshold: [{value: null, disabled: true}]\n })\n });\n \n vm.addEntityFormGroup.get('attributes').get('temperatureAlarmFlag').valueChanges\n .subscribe(activate => {\n if (activate) {\n vm.addEntityFormGroup.get('attributes').get('temperatureAlarmThreshold').enable();\n } else {\n vm.addEntityFormGroup.get('attributes').get('temperatureAlarmThreshold').disable();\n }\n });\n \n vm.addEntityFormGroup.get('attributes').get('humidityAlarmFlag').valueChanges\n .subscribe(activate => {\n if (activate) {\n vm.addEntityFormGroup.get('attributes').get('humidityAlarmThreshold').enable();\n } else {\n vm.addEntityFormGroup.get('attributes').get('humidityAlarmThreshold').disable();\n }\n });\n\n vm.save = function() {\n vm.addEntityFormGroup.markAsPristine();\n saveEntityObservable().subscribe(\n function (entity) {\n saveAttributes(entity.id).subscribe(\n function () {\n widgetContext.updateAliases();\n vm.dialogRef.close(null);\n }\n );\n }\n );\n };\n \n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n \n function saveEntityObservable() {\n const formValues = vm.addEntityFormGroup.value;\n let entity = {\n name: formValues.entityName,\n type: \"thermostat\"\n };\n return deviceService.saveDevice(entity);\n }\n \n function saveAttributes(entityId) {\n let attributes = vm.addEntityFormGroup.get('attributes').value;\n let attributesArray = [];\n for (let key in attributes) {\n if(attributes[key] !== null) {\n attributesArray.push({key: key, value: attributes[key]});\n }\n }\n if (attributesArray.length > 0) {\n return attributeService.saveEntityAttributes(entityId, \"SERVER_SCOPE\", attributesArray);\n } else {\n return widgetContext.rxjs.of([]);\n }\n }\n}", "customResources": [], @@ -187,7 +187,7 @@ "name": "Edit", "icon": "edit", "type": "customPretty", - "customHtml": "
\n \n

Edit thermostat {{entityName}}

\n \n \n
\n \n \n
\n
\n \n Thermostat name\n \n \n
\n \n High temperature alarm\n \n \n High temperature threshold, °C\n \n \n High temperature threshold is required.\n \n \n\n \n Low humidity alarm\n \n\n \n Low humidity threshold, %\n \n \n Low humidity threshold is required.\n \n \n
\n
\n
\n \n \n
\n
", + "customHtml": "
\n \n

Edit thermostat {{entityName}}

\n \n \n
\n \n \n
\n
\n \n Thermostat name\n \n \n
\n \n High temperature alarm\n \n \n High temperature threshold, °C\n \n \n High temperature threshold is required.\n \n \n\n \n Low humidity alarm\n \n\n \n Low humidity threshold, %\n \n \n Low humidity threshold is required.\n \n \n
\n
\n
\n \n \n
\n
", "customCss": ".edit-entity-form{\n width: 300px;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\n\nopenEditEntityDialog();\n\nfunction openEditEntityDialog() {\n customDialog.customDialog(htmlTemplate, EditEntityDialogController).subscribe();\n}\n\nfunction EditEntityDialogController(instance) {\n let vm = instance;\n \n vm.entityId = entityId;\n vm.entityName = entityName;\n vm.attributes = {};\n \n vm.editEntityFormGroup = vm.fb.group({\n entityName: [''],\n attributes: vm.fb.group({\n temperatureAlarmFlag: [false],\n temperatureAlarmThreshold: [{value: null, disabled: true}],\n humidityAlarmFlag: [false],\n humidityAlarmThreshold: [{value: null, disabled: true}]\n })\n });\n \n vm.editEntityFormGroup.get('attributes').get('temperatureAlarmFlag').valueChanges\n .subscribe(activate => {\n if (activate) {\n vm.editEntityFormGroup.get('attributes').get('temperatureAlarmThreshold').enable();\n } else {\n vm.editEntityFormGroup.get('attributes').get('temperatureAlarmThreshold').disable();\n }\n });\n \n vm.editEntityFormGroup.get('attributes').get('humidityAlarmFlag').valueChanges\n .subscribe(activate => {\n if (activate) {\n vm.editEntityFormGroup.get('attributes').get('humidityAlarmThreshold').enable();\n } else {\n vm.editEntityFormGroup.get('attributes').get('humidityAlarmThreshold').disable();\n }\n });\n \n \n getEntityInfo();\n \n \n vm.save = function() {\n vm.editEntityFormGroup.markAsPristine();\n saveAttributes(entityId).subscribe(\n function () {\n vm.dialogRef.close(null);\n }\n );\n };\n \n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n \n function getEntityAttributes(attributes) {\n for (var i = 0; i < attributes.length; i++) {\n vm.attributes[attributes[i].key] = attributes[i].value;\n }\n }\n \n function getEntityInfo() {\n attributeService.getEntityAttributes(entityId, 'SERVER_SCOPE').subscribe(\n function (attributes) {\n getEntityAttributes(attributes);\n vm.editEntityFormGroup.patchValue({\n entityName: vm.entityName,\n attributes: vm.attributes\n });\n // if(vm.attributes.temperatureAlarmFlag) {\n // vm.editEntityFormGroup.get('attributes').get('temperatureAlarmThreshold').enable();\n // }\n // if(vm.attributes.humidityAlarmFlag) {\n // vm.editEntityFormGroup.get('attributes').get('humidityAlarmThreshold').enable();\n // }\n }\n );\n }\n \n function saveAttributes(entityId) {\n let attributes = vm.editEntityFormGroup.get('attributes').value;\n let attributesArray = [];\n for (let key in attributes) {\n if (attributes[key] !== vm.attributes[key]) {\n attributesArray.push({key: key, value: attributes[key]});\n }\n }\n if (attributesArray.length > 0) {\n return attributeService.saveEntityAttributes(entityId, \"SERVER_SCOPE\", attributesArray);\n } else {\n return widgetContext.rxjs.of([]);\n }\n }\n}", "customResources": [], diff --git a/application/src/main/data/json/system/widget_types/asset_admin_table.json b/application/src/main/data/json/system/widget_types/asset_admin_table.json index 41e0727a1c..cb3a270b6d 100644 --- a/application/src/main/data/json/system/widget_types/asset_admin_table.json +++ b/application/src/main/data/json/system/widget_types/asset_admin_table.json @@ -16,7 +16,7 @@ "dataKeySettingsDirective": "tb-entities-table-key-settings", "hasBasicMode": true, "basicModeDirective": "tb-entities-table-basic-config", - "defaultConfig": "{\"showTitle\":true,\"backgroundColor\":\"rgb(255, 255, 255)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"4px\",\"settings\":{\"entitiesTitle\":\"Asset admin table\",\"enableSearch\":true,\"enableSelectColumnDisplay\":true,\"enableStickyHeader\":true,\"enableStickyAction\":true,\"showCellActionsMenu\":true,\"reserveSpaceForHiddenAction\":\"true\",\"displayEntityName\":false,\"displayEntityLabel\":false,\"displayEntityType\":false,\"displayPagination\":true,\"defaultPageSize\":10,\"defaultSortOrder\":\"entityName\",\"useRowStyleFunction\":false},\"title\":\"Asset admin table\",\"dropShadow\":true,\"enableFullscreen\":true,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400,\"padding\":\"5px 10px 5px 10px\"},\"showLegend\":false,\"datasources\":[{\"type\":\"function\",\"name\":\"Simulated\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Entity name\",\"color\":\"#4caf50\",\"settings\":{},\"_hash\":0.6985800247727296,\"funcBody\":\"return 'Simulated';\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null},{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Entity type\",\"color\":\"#f44336\",\"settings\":{},\"_hash\":0.10073938422359707,\"funcBody\":\"return 'Device';\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null},{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Random\",\"color\":\"#f44336\",\"settings\":{\"columnWidth\":\"0px\",\"useCellStyleFunction\":false,\"cellStyleFunction\":\"\",\"useCellContentFunction\":false,\"cellContentFunction\":\"\"},\"_hash\":0.6401141393938932,\"funcBody\":\"var value = prevValue + Math.random() * 100 - 50;\\nvar multiplier = Math.pow(10, 2 || 0);\\nvar value = Math.round(value * multiplier) / multiplier;\\nif (value < -1000) {\\n\\tvalue = -1000;\\n} else if (value > 1000) {\\n\\tvalue = 1000;\\n}\\nreturn value;\"}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"showTitleIcon\":false,\"titleIcon\":\"more_horiz\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"24px\",\"titleTooltip\":\"\",\"widgetStyle\":{},\"actions\":{\"headerButton\":[{\"name\":\"Add asset\",\"icon\":\"add\",\"type\":\"customPretty\",\"customHtml\":\"
\\n \\n

Add asset

\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n \\n Asset name\\n \\n \\n Asset name is required.\\n \\n \\n
\\n \\n \\n Label\\n \\n \\n
\\n
\\n \\n Latitude\\n \\n \\n \\n Longitude\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n\",\"customCss\":\"\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\\nlet assetService = $injector.get(widgetContext.servicesMap.get('assetService'));\\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\\n\\nopenAddAssetDialog();\\n\\nfunction openAddAssetDialog() {\\n customDialog.customDialog(htmlTemplate, AddAssetDialogController).subscribe();\\n}\\n\\nfunction AddAssetDialogController(instance) {\\n let vm = instance;\\n \\n vm.addAssetFormGroup = vm.fb.group({\\n assetName: ['', [vm.validators.required]],\\n assetType: ['', [vm.validators.required]],\\n assetLabel: [''],\\n attributes: vm.fb.group({\\n latitude: [null],\\n longitude: [null]\\n }) \\n });\\n \\n vm.cancel = function() {\\n vm.dialogRef.close(null);\\n };\\n \\n vm.save = function() {\\n vm.addAssetFormGroup.markAsPristine();\\n let asset = {\\n name: vm.addAssetFormGroup.get('assetName').value,\\n type: vm.addAssetFormGroup.get('assetType').value,\\n label: vm.addAssetFormGroup.get('assetLabel').value\\n };\\n assetService.saveAsset(asset).subscribe(\\n function (asset) {\\n saveAttributes(asset.id).subscribe(\\n function () {\\n widgetContext.updateAliases();\\n vm.dialogRef.close(null);\\n }\\n );\\n }\\n );\\n };\\n \\n function saveAttributes(entityId) {\\n let attributes = vm.addAssetFormGroup.get('attributes').value;\\n let attributesArray = [];\\n for (let key in attributes) {\\n attributesArray.push({key: key, value: attributes[key]});\\n }\\n if (attributesArray.length > 0) {\\n return attributeService.saveEntityAttributes(entityId, \\\"SERVER_SCOPE\\\", attributesArray);\\n } else {\\n return widgetContext.rxjs.of([]);\\n }\\n }\\n}\",\"customResources\":[],\"id\":\"70837a9d-c3de-a9a7-03c5-dccd14998758\"}],\"actionCellButton\":[{\"name\":\"Edit asset\",\"icon\":\"edit\",\"type\":\"customPretty\",\"customHtml\":\"
\\n \\n

Edit asset

\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n \\n Asset name\\n \\n \\n Asset name is required.\\n \\n \\n
\\n \\n \\n Label\\n \\n \\n
\\n
\\n \\n Latitude\\n \\n \\n \\n Longitude\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n\",\"customCss\":\"\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\\nlet assetService = $injector.get(widgetContext.servicesMap.get('assetService'));\\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\\n\\nopenEditAssetDialog();\\n\\nfunction openEditAssetDialog() {\\n customDialog.customDialog(htmlTemplate, EditAssetDialogController).subscribe();\\n}\\n\\nfunction EditAssetDialogController(instance) {\\n let vm = instance;\\n \\n vm.asset = null;\\n vm.attributes = {};\\n \\n vm.editAssetFormGroup = vm.fb.group({\\n assetName: ['', [vm.validators.required]],\\n assetType: ['', [vm.validators.required]],\\n assetLabel: [''],\\n attributes: vm.fb.group({\\n latitude: [null],\\n longitude: [null]\\n }) \\n });\\n \\n vm.cancel = function() {\\n vm.dialogRef.close(null);\\n };\\n \\n vm.save = function() {\\n vm.editAssetFormGroup.markAsPristine();\\n vm.asset.name = vm.editAssetFormGroup.get('assetName').value,\\n vm.asset.type = vm.editAssetFormGroup.get('assetType').value,\\n vm.asset.label = vm.editAssetFormGroup.get('assetLabel').value\\n assetService.saveAsset(vm.asset).subscribe(\\n function () {\\n saveAttributes().subscribe(\\n function () {\\n widgetContext.updateAliases();\\n vm.dialogRef.close(null);\\n }\\n );\\n }\\n );\\n };\\n \\n getEntityInfo();\\n \\n function getEntityInfo() {\\n assetService.getAsset(entityId.id).subscribe(\\n function (asset) {\\n attributeService.getEntityAttributes(entityId, 'SERVER_SCOPE',\\n ['latitude', 'longitude']).subscribe(\\n function (attributes) {\\n for (let i = 0; i < attributes.length; i++) {\\n vm.attributes[attributes[i].key] = attributes[i].value; \\n }\\n vm.asset = asset;\\n vm.editAssetFormGroup.patchValue(\\n {\\n assetName: vm.asset.name,\\n assetType: vm.asset.type,\\n assetLabel: vm.asset.label,\\n attributes: {\\n latitude: vm.attributes.latitude,\\n longitude: vm.attributes.longitude\\n }\\n }, {emitEvent: false}\\n );\\n } \\n );\\n }\\n ); \\n }\\n \\n function saveAttributes() {\\n let attributes = vm.editAssetFormGroup.get('attributes').value;\\n let attributesArray = [];\\n for (let key in attributes) {\\n attributesArray.push({key: key, value: attributes[key]});\\n }\\n if (attributesArray.length > 0) {\\n return attributeService.saveEntityAttributes(entityId, 'SERVER_SCOPE', attributesArray);\\n } else {\\n return widgetContext.rxjs.of([]);\\n }\\n }\\n}\",\"customResources\":[],\"id\":\"93931e52-5d7c-903e-67aa-b9435df44ff4\"},{\"name\":\"Delete asset\",\"icon\":\"delete\",\"type\":\"custom\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet dialogs = $injector.get(widgetContext.servicesMap.get('dialogs'));\\nlet assetService = $injector.get(widgetContext.servicesMap.get('assetService'));\\n\\nopenDeleteAssetDialog();\\n\\nfunction openDeleteAssetDialog() {\\n let title = \\\"Are you sure you want to delete the asset \\\" + entityName + \\\"?\\\";\\n let content = \\\"Be careful, after the confirmation, the asset and all related data will become unrecoverable!\\\";\\n dialogs.confirm(title, content, 'Cancel', 'Delete').subscribe(\\n function (result) {\\n if (result) {\\n deleteAsset();\\n }\\n }\\n );\\n}\\n\\nfunction deleteAsset() {\\n assetService.deleteAsset(entityId.id).subscribe(\\n function () {\\n widgetContext.updateAliases();\\n }\\n );\\n}\\n\",\"id\":\"ec2708f6-9ff0-186b-e4fc-7635ebfa3074\"}]},\"configMode\":\"basic\",\"titleFont\":null,\"titleColor\":null}" + "defaultConfig": "{\"showTitle\":true,\"backgroundColor\":\"rgb(255, 255, 255)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"4px\",\"settings\":{\"entitiesTitle\":\"Asset admin table\",\"enableSearch\":true,\"enableSelectColumnDisplay\":true,\"enableStickyHeader\":true,\"enableStickyAction\":true,\"showCellActionsMenu\":true,\"reserveSpaceForHiddenAction\":\"true\",\"displayEntityName\":false,\"displayEntityLabel\":false,\"displayEntityType\":false,\"displayPagination\":true,\"defaultPageSize\":10,\"defaultSortOrder\":\"entityName\",\"useRowStyleFunction\":false},\"title\":\"Asset admin table\",\"dropShadow\":true,\"enableFullscreen\":true,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400,\"padding\":\"5px 10px 5px 10px\"},\"showLegend\":false,\"datasources\":[{\"type\":\"function\",\"name\":\"Simulated\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Entity name\",\"color\":\"#4caf50\",\"settings\":{},\"_hash\":0.6985800247727296,\"funcBody\":\"return 'Simulated';\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null},{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Entity type\",\"color\":\"#f44336\",\"settings\":{},\"_hash\":0.10073938422359707,\"funcBody\":\"return 'Device';\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null},{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Random\",\"color\":\"#f44336\",\"settings\":{\"columnWidth\":\"0px\",\"useCellStyleFunction\":false,\"cellStyleFunction\":\"\",\"useCellContentFunction\":false,\"cellContentFunction\":\"\"},\"_hash\":0.6401141393938932,\"funcBody\":\"var value = prevValue + Math.random() * 100 - 50;\\nvar multiplier = Math.pow(10, 2 || 0);\\nvar value = Math.round(value * multiplier) / multiplier;\\nif (value < -1000) {\\n\\tvalue = -1000;\\n} else if (value > 1000) {\\n\\tvalue = 1000;\\n}\\nreturn value;\"}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"showTitleIcon\":false,\"titleIcon\":\"more_horiz\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"24px\",\"titleTooltip\":\"\",\"widgetStyle\":{},\"actions\":{\"headerButton\":[{\"name\":\"Add asset\",\"icon\":\"add\",\"type\":\"customPretty\",\"customHtml\":\"
\\n \\n

Add asset

\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n \\n Asset name\\n \\n \\n Asset name is required.\\n \\n \\n
\\n \\n \\n Label\\n \\n \\n
\\n
\\n \\n Latitude\\n \\n \\n \\n Longitude\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n\",\"customCss\":\"\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\\nlet assetService = $injector.get(widgetContext.servicesMap.get('assetService'));\\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\\n\\nopenAddAssetDialog();\\n\\nfunction openAddAssetDialog() {\\n customDialog.customDialog(htmlTemplate, AddAssetDialogController).subscribe();\\n}\\n\\nfunction AddAssetDialogController(instance) {\\n let vm = instance;\\n \\n vm.addAssetFormGroup = vm.fb.group({\\n assetName: ['', [vm.validators.required]],\\n assetType: ['', [vm.validators.required]],\\n assetLabel: [''],\\n attributes: vm.fb.group({\\n latitude: [null],\\n longitude: [null]\\n }) \\n });\\n \\n vm.cancel = function() {\\n vm.dialogRef.close(null);\\n };\\n \\n vm.save = function() {\\n vm.addAssetFormGroup.markAsPristine();\\n let asset = {\\n name: vm.addAssetFormGroup.get('assetName').value,\\n type: vm.addAssetFormGroup.get('assetType').value,\\n label: vm.addAssetFormGroup.get('assetLabel').value\\n };\\n assetService.saveAsset(asset).subscribe(\\n function (asset) {\\n saveAttributes(asset.id).subscribe(\\n function () {\\n widgetContext.updateAliases();\\n vm.dialogRef.close(null);\\n }\\n );\\n }\\n );\\n };\\n \\n function saveAttributes(entityId) {\\n let attributes = vm.addAssetFormGroup.get('attributes').value;\\n let attributesArray = [];\\n for (let key in attributes) {\\n attributesArray.push({key: key, value: attributes[key]});\\n }\\n if (attributesArray.length > 0) {\\n return attributeService.saveEntityAttributes(entityId, \\\"SERVER_SCOPE\\\", attributesArray);\\n } else {\\n return widgetContext.rxjs.of([]);\\n }\\n }\\n}\",\"customResources\":[],\"id\":\"70837a9d-c3de-a9a7-03c5-dccd14998758\"}],\"actionCellButton\":[{\"name\":\"Edit asset\",\"icon\":\"edit\",\"type\":\"customPretty\",\"customHtml\":\"
\\n \\n

Edit asset

\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n \\n Asset name\\n \\n \\n Asset name is required.\\n \\n \\n
\\n \\n \\n Label\\n \\n \\n
\\n
\\n \\n Latitude\\n \\n \\n \\n Longitude\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n\",\"customCss\":\"\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\\nlet assetService = $injector.get(widgetContext.servicesMap.get('assetService'));\\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\\n\\nopenEditAssetDialog();\\n\\nfunction openEditAssetDialog() {\\n customDialog.customDialog(htmlTemplate, EditAssetDialogController).subscribe();\\n}\\n\\nfunction EditAssetDialogController(instance) {\\n let vm = instance;\\n \\n vm.asset = null;\\n vm.attributes = {};\\n \\n vm.editAssetFormGroup = vm.fb.group({\\n assetName: ['', [vm.validators.required]],\\n assetType: ['', [vm.validators.required]],\\n assetLabel: [''],\\n attributes: vm.fb.group({\\n latitude: [null],\\n longitude: [null]\\n }) \\n });\\n \\n vm.cancel = function() {\\n vm.dialogRef.close(null);\\n };\\n \\n vm.save = function() {\\n vm.editAssetFormGroup.markAsPristine();\\n vm.asset.name = vm.editAssetFormGroup.get('assetName').value,\\n vm.asset.type = vm.editAssetFormGroup.get('assetType').value,\\n vm.asset.label = vm.editAssetFormGroup.get('assetLabel').value\\n assetService.saveAsset(vm.asset).subscribe(\\n function () {\\n saveAttributes().subscribe(\\n function () {\\n widgetContext.updateAliases();\\n vm.dialogRef.close(null);\\n }\\n );\\n }\\n );\\n };\\n \\n getEntityInfo();\\n \\n function getEntityInfo() {\\n assetService.getAsset(entityId.id).subscribe(\\n function (asset) {\\n attributeService.getEntityAttributes(entityId, 'SERVER_SCOPE',\\n ['latitude', 'longitude']).subscribe(\\n function (attributes) {\\n for (let i = 0; i < attributes.length; i++) {\\n vm.attributes[attributes[i].key] = attributes[i].value; \\n }\\n vm.asset = asset;\\n vm.editAssetFormGroup.patchValue(\\n {\\n assetName: vm.asset.name,\\n assetType: vm.asset.type,\\n assetLabel: vm.asset.label,\\n attributes: {\\n latitude: vm.attributes.latitude,\\n longitude: vm.attributes.longitude\\n }\\n }, {emitEvent: false}\\n );\\n } \\n );\\n }\\n ); \\n }\\n \\n function saveAttributes() {\\n let attributes = vm.editAssetFormGroup.get('attributes').value;\\n let attributesArray = [];\\n for (let key in attributes) {\\n attributesArray.push({key: key, value: attributes[key]});\\n }\\n if (attributesArray.length > 0) {\\n return attributeService.saveEntityAttributes(entityId, 'SERVER_SCOPE', attributesArray);\\n } else {\\n return widgetContext.rxjs.of([]);\\n }\\n }\\n}\",\"customResources\":[],\"id\":\"93931e52-5d7c-903e-67aa-b9435df44ff4\"},{\"name\":\"Delete asset\",\"icon\":\"delete\",\"type\":\"custom\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet dialogs = $injector.get(widgetContext.servicesMap.get('dialogs'));\\nlet assetService = $injector.get(widgetContext.servicesMap.get('assetService'));\\n\\nopenDeleteAssetDialog();\\n\\nfunction openDeleteAssetDialog() {\\n let title = \\\"Are you sure you want to delete the asset \\\" + entityName + \\\"?\\\";\\n let content = \\\"Be careful, after the confirmation, the asset and all related data will become unrecoverable!\\\";\\n dialogs.confirm(title, content, 'Cancel', 'Delete').subscribe(\\n function (result) {\\n if (result) {\\n deleteAsset();\\n }\\n }\\n );\\n}\\n\\nfunction deleteAsset() {\\n assetService.deleteAsset(entityId.id).subscribe(\\n function () {\\n widgetContext.updateAliases();\\n }\\n );\\n}\\n\",\"id\":\"ec2708f6-9ff0-186b-e4fc-7635ebfa3074\"}]},\"configMode\":\"basic\",\"titleFont\":null,\"titleColor\":null}" }, "tags": [ "provisioning", diff --git a/application/src/main/data/json/system/widget_types/device_admin_table.json b/application/src/main/data/json/system/widget_types/device_admin_table.json index 220771effb..30d37dbca2 100644 --- a/application/src/main/data/json/system/widget_types/device_admin_table.json +++ b/application/src/main/data/json/system/widget_types/device_admin_table.json @@ -16,7 +16,7 @@ "dataKeySettingsDirective": "tb-entities-table-key-settings", "hasBasicMode": true, "basicModeDirective": "tb-entities-table-basic-config", - "defaultConfig": "{\"showTitle\":true,\"backgroundColor\":\"rgb(255, 255, 255)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"4px\",\"settings\":{\"entitiesTitle\":\"Device admin table\",\"enableSearch\":true,\"enableSelectColumnDisplay\":true,\"enableStickyHeader\":true,\"enableStickyAction\":true,\"showCellActionsMenu\":true,\"reserveSpaceForHiddenAction\":\"true\",\"displayEntityName\":false,\"displayEntityLabel\":false,\"displayEntityType\":false,\"displayPagination\":true,\"defaultPageSize\":10,\"defaultSortOrder\":\"entityName\",\"useRowStyleFunction\":false},\"title\":\"Device admin table\",\"dropShadow\":true,\"enableFullscreen\":true,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400,\"padding\":\"5px 10px 5px 10px\"},\"showLegend\":false,\"datasources\":[{\"type\":\"function\",\"name\":\"Simulated\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Entity name\",\"color\":\"#4caf50\",\"settings\":{},\"_hash\":0.8332260553092266,\"funcBody\":\"return 'Simulated';\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null},{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Entity type\",\"color\":\"#f44336\",\"settings\":{},\"_hash\":0.08583217494773887,\"funcBody\":\"return 'Device';\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null},{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Random\",\"color\":\"#f44336\",\"settings\":{\"columnWidth\":\"0px\",\"useCellStyleFunction\":false,\"cellStyleFunction\":\"\",\"useCellContentFunction\":false,\"cellContentFunction\":\"\"},\"_hash\":0.6401141393938932,\"funcBody\":\"var value = prevValue + Math.random() * 100 - 50;\\nvar multiplier = Math.pow(10, 2 || 0);\\nvar value = Math.round(value * multiplier) / multiplier;\\nif (value < -1000) {\\n\\tvalue = -1000;\\n} else if (value > 1000) {\\n\\tvalue = 1000;\\n}\\nreturn value;\"}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"showTitleIcon\":false,\"titleIcon\":\"more_horiz\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"24px\",\"titleTooltip\":\"\",\"widgetStyle\":{},\"actions\":{\"headerButton\":[{\"name\":\"Add device\",\"icon\":\"add\",\"type\":\"customPretty\",\"customHtml\":\"
\\n \\n

Add device

\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n \\n Device name\\n \\n \\n Device name is required.\\n \\n \\n
\\n \\n \\n Label\\n \\n \\n
\\n
\\n \\n Latitude\\n \\n \\n \\n Longitude\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n\",\"customCss\":\"\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\\n\\nopenAddDeviceDialog();\\n\\nfunction openAddDeviceDialog() {\\n customDialog.customDialog(htmlTemplate, AddDeviceDialogController).subscribe();\\n}\\n\\nfunction AddDeviceDialogController(instance) {\\n let vm = instance;\\n \\n vm.addDeviceFormGroup = vm.fb.group({\\n deviceName: ['', [vm.validators.required]],\\n deviceType: ['', [vm.validators.required]],\\n deviceLabel: [''],\\n attributes: vm.fb.group({\\n latitude: [null],\\n longitude: [null]\\n }) \\n });\\n \\n vm.cancel = function() {\\n vm.dialogRef.close(null);\\n };\\n \\n vm.save = function() {\\n vm.addDeviceFormGroup.markAsPristine();\\n let device = {\\n name: vm.addDeviceFormGroup.get('deviceName').value,\\n type: vm.addDeviceFormGroup.get('deviceType').value,\\n label: vm.addDeviceFormGroup.get('deviceLabel').value\\n };\\n deviceService.saveDevice(device).subscribe(\\n function (device) {\\n saveAttributes(device.id).subscribe(\\n function () {\\n widgetContext.updateAliases();\\n vm.dialogRef.close(null);\\n }\\n );\\n }\\n );\\n };\\n \\n function saveAttributes(entityId) {\\n let attributes = vm.addDeviceFormGroup.get('attributes').value;\\n let attributesArray = [];\\n for (let key in attributes) {\\n attributesArray.push({key: key, value: attributes[key]});\\n }\\n if (attributesArray.length > 0) {\\n return attributeService.saveEntityAttributes(entityId, \\\"SERVER_SCOPE\\\", attributesArray);\\n } else {\\n return widgetContext.rxjs.of([]);\\n }\\n }\\n}\",\"customResources\":[],\"id\":\"70837a9d-c3de-a9a7-03c5-dccd14998758\"}],\"actionCellButton\":[{\"name\":\"Edit device\",\"icon\":\"edit\",\"useShowWidgetActionFunction\":null,\"showWidgetActionFunction\":\"return true;\",\"type\":\"customPretty\",\"customHtml\":\"
\\n \\n

Edit device

\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n \\n Device name\\n \\n \\n Device name is required.\\n \\n \\n
\\n \\n \\n Label\\n \\n \\n
\\n
\\n \\n Latitude\\n \\n \\n \\n Longitude\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n\",\"customCss\":\"\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\\n\\nopenEditDeviceDialog();\\n\\nfunction openEditDeviceDialog() {\\n customDialog.customDialog(htmlTemplate, EditDeviceDialogController).subscribe();\\n}\\n\\nfunction EditDeviceDialogController(instance) {\\n let vm = instance;\\n \\n vm.device = null;\\n vm.attributes = {};\\n \\n vm.editDeviceFormGroup = vm.fb.group({\\n deviceName: ['', [vm.validators.required]],\\n deviceType: ['', [vm.validators.required]],\\n deviceLabel: [''],\\n attributes: vm.fb.group({\\n latitude: [null],\\n longitude: [null]\\n }) \\n });\\n \\n vm.cancel = function() {\\n vm.dialogRef.close(null);\\n };\\n \\n vm.save = function() {\\n vm.editDeviceFormGroup.markAsPristine();\\n if (vm.editDeviceFormGroup.get('deviceType').value !== vm.device.type) {\\n delete vm.device.deviceProfileId;\\n }\\n vm.device.name = vm.editDeviceFormGroup.get('deviceName').value,\\n vm.device.type = vm.editDeviceFormGroup.get('deviceType').value,\\n vm.device.label = vm.editDeviceFormGroup.get('deviceLabel').value\\n deviceService.saveDevice(vm.device).subscribe(\\n function () {\\n saveAttributes().subscribe(\\n function () {\\n widgetContext.updateAliases();\\n vm.dialogRef.close(null);\\n }\\n );\\n }\\n );\\n };\\n \\n getEntityInfo();\\n \\n function getEntityInfo() {\\n deviceService.getDevice(entityId.id).subscribe(\\n function (device) {\\n attributeService.getEntityAttributes(entityId, 'SERVER_SCOPE',\\n ['latitude', 'longitude']).subscribe(\\n function (attributes) {\\n for (let i = 0; i < attributes.length; i++) {\\n vm.attributes[attributes[i].key] = attributes[i].value; \\n }\\n vm.device = device;\\n vm.editDeviceFormGroup.patchValue(\\n {\\n deviceName: vm.device.name,\\n deviceType: vm.device.type,\\n deviceLabel: vm.device.label,\\n attributes: {\\n latitude: vm.attributes.latitude,\\n longitude: vm.attributes.longitude\\n }\\n }, {emitEvent: false}\\n );\\n } \\n );\\n }\\n ); \\n }\\n \\n function saveAttributes() {\\n let attributes = vm.editDeviceFormGroup.get('attributes').value;\\n let attributesArray = [];\\n for (let key in attributes) {\\n attributesArray.push({key: key, value: attributes[key]});\\n }\\n if (attributesArray.length > 0) {\\n return attributeService.saveEntityAttributes(entityId, 'SERVER_SCOPE', attributesArray);\\n } else {\\n return widgetContext.rxjs.of([]);\\n }\\n }\\n}\",\"customResources\":[],\"openInSeparateDialog\":false,\"openInPopover\":false,\"id\":\"93931e52-5d7c-903e-67aa-b9435df44ff4\"},{\"name\":\"Delete device\",\"icon\":\"delete\",\"type\":\"custom\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet dialogs = $injector.get(widgetContext.servicesMap.get('dialogs'));\\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\\n\\nopenDeleteDeviceDialog();\\n\\nfunction openDeleteDeviceDialog() {\\n let title = \\\"Are you sure you want to delete the device \\\" + entityName + \\\"?\\\";\\n let content = \\\"Be careful, after the confirmation, the device and all related data will become unrecoverable!\\\";\\n dialogs.confirm(title, content, 'Cancel', 'Delete').subscribe(\\n function (result) {\\n if (result) {\\n deleteDevice();\\n }\\n }\\n );\\n}\\n\\nfunction deleteDevice() {\\n deviceService.deleteDevice(entityId.id).subscribe(\\n function () {\\n widgetContext.updateAliases();\\n }\\n );\\n}\\n\",\"id\":\"ec2708f6-9ff0-186b-e4fc-7635ebfa3074\"}]},\"configMode\":\"basic\"}" + "defaultConfig": "{\"showTitle\":true,\"backgroundColor\":\"rgb(255, 255, 255)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"4px\",\"settings\":{\"entitiesTitle\":\"Device admin table\",\"enableSearch\":true,\"enableSelectColumnDisplay\":true,\"enableStickyHeader\":true,\"enableStickyAction\":true,\"showCellActionsMenu\":true,\"reserveSpaceForHiddenAction\":\"true\",\"displayEntityName\":false,\"displayEntityLabel\":false,\"displayEntityType\":false,\"displayPagination\":true,\"defaultPageSize\":10,\"defaultSortOrder\":\"entityName\",\"useRowStyleFunction\":false},\"title\":\"Device admin table\",\"dropShadow\":true,\"enableFullscreen\":true,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400,\"padding\":\"5px 10px 5px 10px\"},\"showLegend\":false,\"datasources\":[{\"type\":\"function\",\"name\":\"Simulated\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Entity name\",\"color\":\"#4caf50\",\"settings\":{},\"_hash\":0.8332260553092266,\"funcBody\":\"return 'Simulated';\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null},{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Entity type\",\"color\":\"#f44336\",\"settings\":{},\"_hash\":0.08583217494773887,\"funcBody\":\"return 'Device';\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null},{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Random\",\"color\":\"#f44336\",\"settings\":{\"columnWidth\":\"0px\",\"useCellStyleFunction\":false,\"cellStyleFunction\":\"\",\"useCellContentFunction\":false,\"cellContentFunction\":\"\"},\"_hash\":0.6401141393938932,\"funcBody\":\"var value = prevValue + Math.random() * 100 - 50;\\nvar multiplier = Math.pow(10, 2 || 0);\\nvar value = Math.round(value * multiplier) / multiplier;\\nif (value < -1000) {\\n\\tvalue = -1000;\\n} else if (value > 1000) {\\n\\tvalue = 1000;\\n}\\nreturn value;\"}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"showTitleIcon\":false,\"titleIcon\":\"more_horiz\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"24px\",\"titleTooltip\":\"\",\"widgetStyle\":{},\"actions\":{\"headerButton\":[{\"name\":\"Add device\",\"icon\":\"add\",\"type\":\"customPretty\",\"customHtml\":\"
\\n \\n

Add device

\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n \\n Device name\\n \\n \\n Device name is required.\\n \\n \\n
\\n \\n \\n Label\\n \\n \\n
\\n
\\n \\n Latitude\\n \\n \\n \\n Longitude\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n\",\"customCss\":\"\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\\n\\nopenAddDeviceDialog();\\n\\nfunction openAddDeviceDialog() {\\n customDialog.customDialog(htmlTemplate, AddDeviceDialogController).subscribe();\\n}\\n\\nfunction AddDeviceDialogController(instance) {\\n let vm = instance;\\n \\n vm.addDeviceFormGroup = vm.fb.group({\\n deviceName: ['', [vm.validators.required]],\\n deviceType: ['', [vm.validators.required]],\\n deviceLabel: [''],\\n attributes: vm.fb.group({\\n latitude: [null],\\n longitude: [null]\\n }) \\n });\\n \\n vm.cancel = function() {\\n vm.dialogRef.close(null);\\n };\\n \\n vm.save = function() {\\n vm.addDeviceFormGroup.markAsPristine();\\n let device = {\\n name: vm.addDeviceFormGroup.get('deviceName').value,\\n type: vm.addDeviceFormGroup.get('deviceType').value,\\n label: vm.addDeviceFormGroup.get('deviceLabel').value\\n };\\n deviceService.saveDevice(device).subscribe(\\n function (device) {\\n saveAttributes(device.id).subscribe(\\n function () {\\n widgetContext.updateAliases();\\n vm.dialogRef.close(null);\\n }\\n );\\n }\\n );\\n };\\n \\n function saveAttributes(entityId) {\\n let attributes = vm.addDeviceFormGroup.get('attributes').value;\\n let attributesArray = [];\\n for (let key in attributes) {\\n attributesArray.push({key: key, value: attributes[key]});\\n }\\n if (attributesArray.length > 0) {\\n return attributeService.saveEntityAttributes(entityId, \\\"SERVER_SCOPE\\\", attributesArray);\\n } else {\\n return widgetContext.rxjs.of([]);\\n }\\n }\\n}\",\"customResources\":[],\"id\":\"70837a9d-c3de-a9a7-03c5-dccd14998758\"}],\"actionCellButton\":[{\"name\":\"Edit device\",\"icon\":\"edit\",\"useShowWidgetActionFunction\":null,\"showWidgetActionFunction\":\"return true;\",\"type\":\"customPretty\",\"customHtml\":\"
\\n \\n

Edit device

\\n \\n \\n
\\n \\n \\n
\\n
\\n
\\n \\n Device name\\n \\n \\n Device name is required.\\n \\n \\n
\\n \\n \\n Label\\n \\n \\n
\\n
\\n \\n Latitude\\n \\n \\n \\n Longitude\\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n\",\"customCss\":\"\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\\n\\nopenEditDeviceDialog();\\n\\nfunction openEditDeviceDialog() {\\n customDialog.customDialog(htmlTemplate, EditDeviceDialogController).subscribe();\\n}\\n\\nfunction EditDeviceDialogController(instance) {\\n let vm = instance;\\n \\n vm.device = null;\\n vm.attributes = {};\\n \\n vm.editDeviceFormGroup = vm.fb.group({\\n deviceName: ['', [vm.validators.required]],\\n deviceType: ['', [vm.validators.required]],\\n deviceLabel: [''],\\n attributes: vm.fb.group({\\n latitude: [null],\\n longitude: [null]\\n }) \\n });\\n \\n vm.cancel = function() {\\n vm.dialogRef.close(null);\\n };\\n \\n vm.save = function() {\\n vm.editDeviceFormGroup.markAsPristine();\\n if (vm.editDeviceFormGroup.get('deviceType').value !== vm.device.type) {\\n delete vm.device.deviceProfileId;\\n }\\n vm.device.name = vm.editDeviceFormGroup.get('deviceName').value,\\n vm.device.type = vm.editDeviceFormGroup.get('deviceType').value,\\n vm.device.label = vm.editDeviceFormGroup.get('deviceLabel').value\\n deviceService.saveDevice(vm.device).subscribe(\\n function () {\\n saveAttributes().subscribe(\\n function () {\\n widgetContext.updateAliases();\\n vm.dialogRef.close(null);\\n }\\n );\\n }\\n );\\n };\\n \\n getEntityInfo();\\n \\n function getEntityInfo() {\\n deviceService.getDevice(entityId.id).subscribe(\\n function (device) {\\n attributeService.getEntityAttributes(entityId, 'SERVER_SCOPE',\\n ['latitude', 'longitude']).subscribe(\\n function (attributes) {\\n for (let i = 0; i < attributes.length; i++) {\\n vm.attributes[attributes[i].key] = attributes[i].value; \\n }\\n vm.device = device;\\n vm.editDeviceFormGroup.patchValue(\\n {\\n deviceName: vm.device.name,\\n deviceType: vm.device.type,\\n deviceLabel: vm.device.label,\\n attributes: {\\n latitude: vm.attributes.latitude,\\n longitude: vm.attributes.longitude\\n }\\n }, {emitEvent: false}\\n );\\n } \\n );\\n }\\n ); \\n }\\n \\n function saveAttributes() {\\n let attributes = vm.editDeviceFormGroup.get('attributes').value;\\n let attributesArray = [];\\n for (let key in attributes) {\\n attributesArray.push({key: key, value: attributes[key]});\\n }\\n if (attributesArray.length > 0) {\\n return attributeService.saveEntityAttributes(entityId, 'SERVER_SCOPE', attributesArray);\\n } else {\\n return widgetContext.rxjs.of([]);\\n }\\n }\\n}\",\"customResources\":[],\"openInSeparateDialog\":false,\"openInPopover\":false,\"id\":\"93931e52-5d7c-903e-67aa-b9435df44ff4\"},{\"name\":\"Delete device\",\"icon\":\"delete\",\"type\":\"custom\",\"customFunction\":\"let $injector = widgetContext.$scope.$injector;\\nlet dialogs = $injector.get(widgetContext.servicesMap.get('dialogs'));\\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\\n\\nopenDeleteDeviceDialog();\\n\\nfunction openDeleteDeviceDialog() {\\n let title = \\\"Are you sure you want to delete the device \\\" + entityName + \\\"?\\\";\\n let content = \\\"Be careful, after the confirmation, the device and all related data will become unrecoverable!\\\";\\n dialogs.confirm(title, content, 'Cancel', 'Delete').subscribe(\\n function (result) {\\n if (result) {\\n deleteDevice();\\n }\\n }\\n );\\n}\\n\\nfunction deleteDevice() {\\n deviceService.deleteDevice(entityId.id).subscribe(\\n function () {\\n widgetContext.updateAliases();\\n }\\n );\\n}\\n\",\"id\":\"ec2708f6-9ff0-186b-e4fc-7635ebfa3074\"}]},\"configMode\":\"basic\"}" }, "tags": [ "provisioning", diff --git a/application/src/main/data/resources/dashboards/gateways_dashboard.json b/application/src/main/data/resources/dashboards/gateways_dashboard.json index a35d70d006..ed6b20a176 100644 --- a/application/src/main/data/resources/dashboards/gateways_dashboard.json +++ b/application/src/main/data/resources/dashboards/gateways_dashboard.json @@ -160,7 +160,7 @@ "useShowWidgetActionFunction": null, "showWidgetActionFunction": "return true;", "type": "customPretty", - "customHtml": "
\n \n

{{ 'gateway.launch-command' | translate }}

\n \n
\n \n
\n \n
\n \n
\n
\n", + "customHtml": "
\n \n

{{ 'gateway.launch-command' | translate }}

\n \n
\n \n
\n \n
\n \n
\n
\n", "customCss": ".container {\n display: grid;\n grid-template-rows: min-content minmax(auto, 1fr) min-content;\n height: 100%;\n max-height: 100vh;\n width: 600px;\n max-width: 100%;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\n\nopenCommands();\n\nfunction openCommands() {\n customDialog.customDialog(htmlTemplate, CommandsDialogController, {panelClass: \"test\"}).subscribe();\n}\n\nfunction CommandsDialogController(instance) {\n let vm = instance;\n \n vm.entityId = entityId.id;\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n}\n", "customResources": [ @@ -257,7 +257,7 @@ "useShowWidgetActionFunction": null, "showWidgetActionFunction": "return true;", "type": "customPretty", - "customHtml": "
\r\n \r\n

Add gateway

\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Name\r\n \r\n \r\n Gateway name is required.\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n", + "customHtml": "
\r\n \r\n

Add gateway

\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Name\r\n \r\n \r\n Gateway name is required.\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n", "customCss": ".add-entity-form {\r\n min-width: 400px !important;\r\n}\r\n\r\n.add-entity-form .boolean-value-input {\r\n padding-left: 5px;\r\n}\r\n\r\n.add-entity-form .boolean-value-input .checkbox-label {\r\n margin-bottom: 8px;\r\n color: rgba(0,0,0,0.54);\r\n font-size: 12px;\r\n}\r\n\r\n.relations-list .header {\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n padding-left: 5px;\r\n}\r\n\r\n.relations-list .header .cell {\r\n padding-right: 5px;\r\n padding-left: 5px;\r\n font-size: 12px;\r\n font-weight: 700;\r\n color: rgba(0, 0, 0, .54);\r\n white-space: nowrap;\r\n}\r\n\r\n.relations-list .mat-form-field-infix {\r\n width: auto !important;\r\n}\r\n\r\n.relations-list .body {\r\n padding-right: 5px;\r\n padding-bottom: 15px;\r\n padding-left: 5px;\r\n}\r\n\r\n.relations-list .body .row {\r\n padding-top: 5px;\r\n}\r\n\r\n.relations-list .body .cell {\r\n padding-right: 5px;\r\n padding-left: 5px;\r\n}\r\n\r\n.relations-list .body .md-button {\r\n margin: 0;\r\n}\r\n\r\n", "customFunction": "let $injector = widgetContext.$scope.$injector;\r\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\r\nlet assetService = $injector.get(widgetContext.servicesMap.get('assetService'));\r\nlet deviceService = $injector.get(widgetContext.servicesMap.get('deviceService'));\r\nlet attributeService = $injector.get(widgetContext.servicesMap.get('attributeService'));\r\nlet entityRelationService = $injector.get(widgetContext.servicesMap.get('entityRelationService'));\r\nlet userSettingsService = $injector.get(widgetContext.servicesMap.get('userSettingsService'));\r\n\r\nopenAddEntityDialog();\r\n\r\nfunction openAddEntityDialog() {\r\n customDialog.customDialog(htmlTemplate, AddEntityDialogController).subscribe();\r\n}\r\n\r\nfunction AddEntityDialogController(instance) {\r\n let vm = instance;\r\n let userSettings;\r\n userSettingsService.loadUserSettings().subscribe(settings=> {\r\n userSettings = settings;\r\n if (!userSettings.createdGatewaysCount) userSettings.createdGatewaysCount = 0;\r\n });\r\n \r\n\r\n vm.addEntityFormGroup = vm.fb.group({\r\n entityName: ['', [vm.validators.required, vm.validators.pattern(/.*\\S.*/)]],\r\n entityType: ['DEVICE'],\r\n entityLabel: [''],\r\n type: ['', [vm.validators.required]],\r\n });\r\n\r\n vm.cancel = function() {\r\n vm.dialogRef.close(null);\r\n };\r\n\r\n\r\n vm.save = function($event) {\r\n vm.addEntityFormGroup.markAsPristine();\r\n saveEntityObservable().subscribe(\r\n function (device) {\r\n widgetContext.updateAliases();\r\n userSettingsService.putUserSettings({ createdGatewaysCount: ++userSettings.createdGatewaysCount }).subscribe(_=>{\r\n });\r\n vm.dialogRef.close(null);\r\n openCommandDialog(device, $event);\r\n }\r\n );\r\n };\r\n \r\n function openCommandDialog(device, $event) {\r\n vm.device = device;\r\n let openCommandAction = widgetContext.actionsApi.getActionDescriptors(\"actionCellButton\").find(action => action.name == \"Launch command\");\r\n setTimeout(() => {\r\n widgetContext.actionsApi.handleWidgetAction($event, openCommandAction, device.id, device.name, {newDevice: true});\r\n });\r\n goToConfigState();\r\n }\r\n\r\n \r\n function goToConfigState() {\r\n const stateParams = {};\r\n stateParams.entityId = vm.device.id;\r\n stateParams.entityName = vm.device.name;\r\n const newStateParams = {\r\n targetEntityParamName: 'default',\r\n new_gateway: {\r\n entityId: vm.device.id,\r\n entityName: vm.device.name\r\n }\r\n }\r\n const params = {...stateParams, ...newStateParams};\r\n widgetContext.stateController.openState('gateway_details', params, false);\r\n }\r\n\r\n function saveEntityObservable() {\r\n const formValues = vm.addEntityFormGroup.value;\r\n let entity = {\r\n name: formValues.entityName.trim(),\r\n type: formValues.type,\r\n label: formValues.entityLabel,\r\n additionalInfo: {\r\n gateway: true\r\n }\r\n };\r\n return deviceService.saveDevice(entity);\r\n }\r\n}\r\n", "customResources": [], @@ -1536,7 +1536,7 @@ "useShowWidgetActionFunction": null, "showWidgetActionFunction": "return true;", "type": "customPretty", - "customHtml": "
\n \n

{{ 'gateway.launch-command' | translate }}

\n \n
\n \n
\n \n
\n \n
\n
\n", + "customHtml": "
\n \n

{{ 'gateway.launch-command' | translate }}

\n \n
\n \n
\n \n
\n \n
\n
\n", "customCss": ".container {\n display: grid;\n grid-template-rows: min-content minmax(auto, 1fr) min-content;\n height: 100%;\n max-height: 100vh;\n width: 600px;\n max-width: 100%;\n}", "customFunction": "let $injector = widgetContext.$scope.$injector;\nlet customDialog = $injector.get(widgetContext.servicesMap.get('customDialog'));\n\nopenCommands();\n\nfunction openCommands() {\n customDialog.customDialog(htmlTemplate, CommandsDialogController, {panelClass: \"test\"}).subscribe();\n}\n\nfunction CommandsDialogController(instance) {\n let vm = instance;\n \n vm.entityId = entityId.id;\n\n vm.cancel = function() {\n vm.dialogRef.close(null);\n };\n}\n", "customResources": [ diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-sample-html.raw b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-sample-html.raw index 734773eb87..e7315360f8 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-sample-html.raw +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-sample-html.raw @@ -6,7 +6,7 @@ - + @@ -198,7 +198,7 @@ - + diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/mobile-action-editor.models.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/mobile-action-editor.models.ts index b36988a635..984f80dd51 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/mobile-action-editor.models.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/mobile-action-editor.models.ts @@ -37,7 +37,7 @@ const processImageFunctionTemplate: TbFunction = ' imageDialogTemplate =\n' + ' \'
\' +\n' + ' \'
\' +\n' + - ' \'\' +\n' + + ' \'\' +\n' + ' \'

{{title}}

\' +\n' + ' \'\' +\n' + ' \'
\' +\n' + ' \'
\' +\n' + ' \'\' +\n' + - ' \'\' +\n' + + ' \'\' +\n' + ' \'
\' +\n' + ' \'\' +\n' + ' \'
\';\n' + diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/place-map-item-sample-html.raw b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/place-map-item-sample-html.raw index bb36a39986..c229158808 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/place-map-item-sample-html.raw +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/place-map-item-sample-html.raw @@ -4,7 +4,7 @@
- +

Add entity

- +
{:copy-code} diff --git a/ui-ngx/src/assets/help/en_US/widget/action/mobile_process_image_fn.md b/ui-ngx/src/assets/help/en_US/widget/action/mobile_process_image_fn.md index 25df3a7e84..03933ab165 100644 --- a/ui-ngx/src/assets/help/en_US/widget/action/mobile_process_image_fn.md +++ b/ui-ngx/src/assets/help/en_US/widget/action/mobile_process_image_fn.md @@ -56,7 +56,7 @@ function showImageDialog(title, imageUrl) { var imageDialogTemplate = '
' + '
' + - '' + + '' + '

{{title}}

' + '' + '
' + '
' + '' + - '' + + '' + '
' + '' + ''; diff --git a/ui-ngx/src/assets/help/en_US/widget/action/place_map_item/create_dialog_html.md b/ui-ngx/src/assets/help/en_US/widget/action/place_map_item/create_dialog_html.md index c3a58747e8..bfe48b3fee 100644 --- a/ui-ngx/src/assets/help/en_US/widget/action/place_map_item/create_dialog_html.md +++ b/ui-ngx/src/assets/help/en_US/widget/action/place_map_item/create_dialog_html.md @@ -4,7 +4,7 @@ {:code-style="max-height: 400px;"}
- +

Add entity

@@ -870,13 +870,13 @@ Key selectors: `input[formControlName="name"]`, `mat-slide-toggle[formControlNam
- - + +
``` -Key selectors: `[mat-dialog-content]`, `[mat-dialog-actions]`, `button[type="submit"]`, `mat-toolbar[color="primary"] h2`. +Key selectors: `[mat-dialog-content]`, `[mat-dialog-actions]`, `button[type="submit"]`, `mat-toolbar[color="tb-primary"] h2`. ### Common Material Selector Patterns From 5a06602f090692f934db562ec307fe4e114a40d0 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Fri, 9 Oct 2026 14:36:05 +0200 Subject: [PATCH 116/559] Fixed Save button not enabled when toggling 'Show connectivity dialog' in White labeling (#16275) --- .../modules/home/pages/admin/white-labeling.component.html | 2 +- .../modules/home/pages/admin/white-labeling.component.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.html b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.html index b2caba3ee9..0dd4db754d 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.html +++ b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.html @@ -266,7 +266,7 @@ + (change)="onShowConnectivityDialogChange($event.checked)">
{{ 'white-labeling.show-connectivity-dialog' | translate }}
{{ 'white-labeling.show-connectivity-dialog-desc' | translate }}
diff --git a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts index dc29bce989..9ba95ebe10 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts @@ -386,6 +386,12 @@ export class WhiteLabelingComponent extends PageComponent implements OnInit, Has }); } + onShowConnectivityDialogChange(checked: boolean): void { + const control = this.wlSettings.get('hideConnectivityDialog'); + control.setValue(!checked); + control.markAsDirty(); + } + private updatePaletteColors(): void { this.selectedPrimaryColor = this.colorFromPalette(this.wlSettings.get('paletteSettings').get('primaryPalette').value); this.selectedAccentColor = this.colorFromPalette(this.wlSettings.get('paletteSettings').get('accentPalette').value, false); From 852757651e8e4fd2b874f72516fb95f20a979d53 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Fri, 9 Oct 2026 15:28:52 +0200 Subject: [PATCH 117/559] Fixed White Labeling: "Primary" application shell is reset after saving palette changes (#16274) * Fixed White Labeling: "Primary" application shell is reset after saving palette changes * Changed approach and fixed fallback to default value in Application shell control --- ui-ngx/src/app/core/http/white-labeling.service.ts | 2 +- .../modules/home/pages/admin/white-labeling.component.ts | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/ui-ngx/src/app/core/http/white-labeling.service.ts b/ui-ngx/src/app/core/http/white-labeling.service.ts index 8441a3356e..456d7dfe35 100644 --- a/ui-ngx/src/app/core/http/white-labeling.service.ts +++ b/ui-ngx/src/app/core/http/white-labeling.service.ts @@ -210,7 +210,7 @@ export class WhiteLabelingService { } public isPrimaryColorPanels(): boolean { - return this.getCurrentWlParams() ? this.getCurrentWlParams().primaryColorPanels : false; + return !!this.getCurrentWlParams()?.primaryColorPanels; } public isPrimaryColorPanels$(): Observable { diff --git a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts index 9ba95ebe10..3e9eebd740 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts @@ -301,14 +301,7 @@ export class WhiteLabelingComponent extends PageComponent implements OnInit, Has whiteLabelingParams.primaryColorPanels = null; } (this.isLoginWl ? this.whiteLabelingService.saveLoginWhiteLabelParams(whiteLabelingParams) : - this.whiteLabelingService.saveWhiteLabelParams(whiteLabelingParams)).subscribe(() => { - this.whiteLabelingParams = whiteLabelingParams; - if (this.isLoginWl) { - this.loadWhiteLabelingParams(); - } else { - this.wlSettings.markAsPristine(); - } - }); + this.whiteLabelingService.saveWhiteLabelParams(whiteLabelingParams)).subscribe(() => this.loadWhiteLabelingParams()); } confirmForm(): UntypedFormGroup { From 9817b476be539e181e28f7da484789073620609c Mon Sep 17 00:00:00 2001 From: Dmytro Pinkevych <49400214+pinkevmladchy@users.noreply.github.com> Date: Fri, 9 Oct 2026 16:32:48 +0300 Subject: [PATCH 118/559] Merge pull request #16151 from pinkevmladchy/fix/iot-hub-item-screenshot-gallery-lts-4.2-clean Open IoT Hub item screenshots and readme images in a fullscreen viewer --- .../iot-hub-item-detail-dialog.component.html | 14 +- .../iot-hub-item-detail-dialog.component.scss | 4 + .../iot-hub-item-detail-dialog.component.ts | 36 +++- .../iot-hub/iot-hub-markdown.component.html | 4 +- .../iot-hub/iot-hub-markdown.component.scss | 4 + .../iot-hub/iot-hub-markdown.component.ts | 12 ++ .../photoswipe-gallery.directive.ts | 188 ++++++++++++++++-- 7 files changed, 232 insertions(+), 30 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html index fdbd1121de..cdcaf1360b 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html @@ -75,7 +75,7 @@
@if (isCompactLayout()) { - +
@if (item.description) { @@ -89,8 +89,12 @@
- @if (item.type === ItemType.SOLUTION_TEMPLATE && carouselImages.length > 1) { + [class.dlg-preview-carousel]="carouselImages.length > 1" + tbPhotoSwipeGallery galleryChildrenSelector=".dlg-carousel-item, .dlg-preview-img" + (lightboxOpened)="lightboxOpen = true" + (slideChanged)="carouselIndex = $event" + (lightboxClosed)="lightboxOpen = false"> + @if (carouselImages.length > 1) {
} @else { - @if (getPreviewUrl(); as url) { + @if (carouselImages[0]; as url) { } @else {
diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.scss index facb441ade..75db00eec7 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.scss @@ -144,6 +144,10 @@ &.dlg-preview-carousel { aspect-ratio: 1.5; } + + img { + cursor: zoom-in; + } } .dlg-preview-img { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts index 4cae7cb542..60ed0022bc 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts @@ -49,6 +49,8 @@ export class TbIotHubItemDetailDialogComponent extends DialogComponent r.type === 'SCREENSHOT'); - const allResources = screenshotResources.length > 0 - ? screenshotResources - : this.item.resources.filter(r => r.type === 'ICON'); - this.carouselImages = allResources.map(r => - this.iotHubApiService.resolveResourceUrl(`/api/resources/${r.id}`) - ); + const urls: string[] = []; + const previewUrl = this.getPreviewUrl(); + if (previewUrl) { + urls.push(previewUrl); + } + // Skip the screenshot the preview already shows; by id, since item.image may carry a suffix + const previewResourceId = this.item.image?.match(/\/api\/resources\/([^/?#]+)/)?.[1]; + for (const resource of this.item.resources || []) { + if (resource.type === 'SCREENSHOT' && resource.id !== previewResourceId) { + urls.push(this.resourceUrl(resource.id)); + } + } + if (!urls.length) { + // Same order as resolveIotHubItemImageUrl: image, screenshot, then a single icon stand-in + const icon = this.item.resources?.find(resource => resource.type === 'ICON'); + if (icon) { + urls.push(this.resourceUrl(icon.id)); + } + } + this.carouselImages = urls; + } + + private resourceUrl(id: string): string { + return this.iotHubApiService.resolveResourceUrl(`/api/resources/${id}`); } private loadReadme(): void { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.html index 7e7a0edd23..5d7dc04f30 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.html @@ -4,7 +4,9 @@ SPDX-License-Identifier: Apache-2.0 --> -: the ${images.gallery(...)} block (it runs its own gallery), the code block +// clipboard icon and an item link card's thumbnail. Images inside a link are excluded too: the +// lightbox preventDefaults the click, which would swallow the navigation. +const README_GALLERY_SELECTOR = + 'img:not(.tb-gallery-images img):not(.clipboard-btn img):not(tb-iot-hub-item-link-card img):not(a img)'; +const README_GALLERY_IMAGE_CLASS = 'tb-readme-gallery-image'; + @Component({ selector: 'tb-iot-hub-markdown', standalone: false, @@ -61,6 +69,8 @@ export class TbIotHubMarkdownComponent implements OnInit, OnChanges { readonly itemLinkCompileModules: Type[] = [IotHubItemLinkModule]; + readonly readmeGallerySelector = README_GALLERY_SELECTOR; + constructor( private iotHubApiService: IotHubApiService, private elementRef: ElementRef @@ -86,6 +96,8 @@ export class TbIotHubMarkdownComponent implements OnInit, OnChanges { onReady() { const container = this.elementRef.nativeElement; + container.querySelectorAll(README_GALLERY_SELECTOR) + .forEach(image => image.classList.add(README_GALLERY_IMAGE_CLASS)); this.ready.emit(container); } diff --git a/ui-ngx/src/app/shared/directives/photoswipe-gallery.directive.ts b/ui-ngx/src/app/shared/directives/photoswipe-gallery.directive.ts index 3619c383ac..1978ce2f10 100644 --- a/ui-ngx/src/app/shared/directives/photoswipe-gallery.directive.ts +++ b/ui-ngx/src/app/shared/directives/photoswipe-gallery.directive.ts @@ -1,17 +1,35 @@ // SPDX-FileCopyrightText: Copyright The Thingsboard Authors // SPDX-License-Identifier: Apache-2.0 -import { Directive, ElementRef, Input, OnDestroy, OnInit } from '@angular/core'; +import { Directive, ElementRef, EventEmitter, Input, NgZone, OnDestroy, OnInit, Output } from '@angular/core'; import PhotoSwipeLightbox from 'photoswipe/lightbox'; import PhotoSwipe from 'photoswipe'; import cssjs from '@core/css/css'; const PHOTO_GALLERY_STYLE_ID = 'photoswipe-gallery-style'; +// Share of the available area an opened image takes, leaving backdrop to click and room for close +const SHRINK_FILL = 0.86; +const GROW_FILL = 0.95; +/** Upper bound for enlarging a small image, relative to its own size. */ +const MAX_UPSCALE = 2; +/** How far a click-to-zoom steps past the level the image opened at. */ +const ZOOM_STEP = 2; +// Symmetric, so the image stays centred; the caption floats over the bottom padding +const VIEWPORT_PADDING = { top: 64, bottom: 64, left: 24, right: 24 }; const PHOTO_GALLERY_CLASS = 'tb-photoswipe-gallery'; const PHOTO_GALLERY_STYLE = - '{\n'+ - ' background: rgba(10, 10, 20, 0.55);\n' + + // PhotoSwipe's own transform/will-change create a layer backdrop-filter cannot see through + '{\n' + + ' transform: none;\n' + + ' will-change: auto;\n' + + '}\n' + + '\n' + + // On .pswp__bg, the layer PhotoSwipe fades in with the zoom + '.pswp__bg {\n' + + ' background: rgba(10, 10, 20, 0.55);\n' + ' backdrop-filter: blur(18px);\n' + - ' opacity: 1;\n' + + ' -webkit-backdrop-filter: blur(18px);\n' + + ' transform: none;\n' + + ' will-change: backdrop-filter;\n' + '}\n' + '\n' + '.pswp__tb-photoswipe-caption {\n' + @@ -49,12 +67,18 @@ const PHOTO_GALLERY_STYLE = '.pswp__item img.pswp__img {\n' + ' display: block;\n' + ' object-fit: contain;\n' + - ' border-radius: 4px; \n' + - ' box-shadow: 0 20px 60px #00000080;\n' + + ' border-radius: 4px;\n' + '}\n' + '\n' + + // drop-shadow follows transparency; on the wrap so it survives the placeholder swap + '.pswp__zoom-wrap {\n' + + ' filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));\n' + + '}\n' + + '\n' + + // PhotoSwipe's #222 placeholder background flashes against the translucent backdrop '.pswp__item .pswp__img--placeholder {\n' + - ' border-radius: 4px; \n' + + ' background: transparent;\n' + + ' border-radius: 4px;\n' + '}\n' + '\n' + '.pswp__button {\n' + @@ -117,6 +141,49 @@ const PHOTO_GALLERY_STYLE = ' right: 12px;\n' + '}'; +/** The parts of PhotoSwipe's ZoomLevel this directive needs; `panAreaSize` already excludes padding. */ +interface ZoomLevelSizes { + fit: number; + panAreaSize: { x: number; y: number } | null; + elementSize: { x: number; y: number } | null; +} + +/** PhotoSwipe's `fit` is capped at 1; use the raw ratio so a small image grows, up to MAX_UPSCALE. */ +function initialZoom(zoomLevel: ZoomLevelSizes): number { + const { panAreaSize, elementSize } = zoomLevel; + if (!panAreaSize || !elementSize?.x || !elementSize?.y) { + return zoomLevel.fit; + } + const fitRatio = Math.min(panAreaSize.x / elementSize.x, panAreaSize.y / elementSize.y); + if (fitRatio <= 1) { + return fitRatio * SHRINK_FILL; + } + return Math.min(fitRatio * GROW_FILL, MAX_UPSCALE); +} + +/** Click-to-zoom level; always above the opening level, so the click visibly zooms. */ +function secondaryZoom(zoomLevel: ZoomLevelSizes): number { + return Math.max(initialZoom(zoomLevel) * ZOOM_STEP, Math.min(1, zoomLevel.fit * 3)); +} + +// A gallery child may be a container with no image in it +function thumbnailImage(element: Element): HTMLImageElement | null { + return element instanceof HTMLImageElement ? element : element.querySelector('img'); +} + +/** Bounds of the pixels an `object-fit: contain` image paints, centred inside its box. */ +function containedImageBounds(image: HTMLImageElement): { x: number; y: number; w: number } { + const rect = image.getBoundingClientRect(); + const scale = Math.min(rect.width / image.naturalWidth, rect.height / image.naturalHeight); + const width = image.naturalWidth * scale; + const height = image.naturalHeight * scale; + return { + x: rect.left + (rect.width - width) / 2, + y: rect.top + (rect.height - height) / 2, + w: width + }; +} + @Directive({ selector: '[tbPhotoSwipeGallery]', standalone: false @@ -126,10 +193,17 @@ export class PhotoSwipeGalleryDirective implements OnInit, OnDestroy { @Input() galleryChildrenSelector = '.tb-image'; @Input() imageCaptionSelector = '.tb-image-tooltip'; + @Output() readonly lightboxOpened = new EventEmitter(); + @Output() readonly lightboxClosed = new EventEmitter(); + /** The slide the lightbox moved to, emitted while it is still open. */ + @Output() readonly slideChanged = new EventEmitter(); + private lightbox: PhotoSwipeLightbox; + private closeOnOpened = false; constructor( - private elementRef: ElementRef + private elementRef: ElementRef, + private ngZone: NgZone ) {} ngOnInit(): void { @@ -139,22 +213,38 @@ export class PhotoSwipeGalleryDirective implements OnInit, OnDestroy { children: this.galleryChildrenSelector, pswpModule: PhotoSwipe, counter: false, - bgOpacity: 0, - mainClass: PHOTO_GALLERY_CLASS + // No toolbar magnifier: zoom stays on scroll and click + zoom: false, + // The backdrop look lives in PHOTO_GALLERY_STYLE; PhotoSwipe fades it in up to this opacity + bgOpacity: 1, + mainClass: PHOTO_GALLERY_CLASS, + padding: VIEWPORT_PADDING, + // The scroll lock only preventDefaults wheel, so PhotoSwipe still receives it + wheelToZoom: true, + initialZoomLevel: zoomLevel => initialZoom(zoomLevel), + secondaryZoomLevel: zoomLevel => secondaryZoom(zoomLevel) }); this.lightbox.addFilter('domItemData', (itemData, element) => { - let image: HTMLImageElement; - if (element instanceof HTMLImageElement) { - image = element; - } else { - image = element.querySelector('img'); + const image = thumbnailImage(element); + if (!image) { + return itemData; } itemData.src = image.src; itemData.width = image.naturalWidth; itemData.height = image.naturalHeight; - itemData.thumbCropped = true; + // Only a cover-fitted thumbnail is cropped; otherwise the zoom starts from a clipped frame + itemData.thumbCropped = getComputedStyle(image).objectFit === 'cover'; return itemData; }); + // PhotoSwipe measures the thumbnail's box, but `contain` paints a smaller image inside it, + // so the zoom would start off the visible pixels + this.lightbox.addFilter('thumbBounds', (thumbBounds, itemData) => { + const image = itemData.element ? thumbnailImage(itemData.element) : null; + if (!image?.naturalWidth || getComputedStyle(image).objectFit !== 'contain') { + return thumbBounds; + } + return containedImageBounds(image); + }); this.lightbox.on('uiRegister', () => { this.lightbox.pswp.ui.registerElement({ name: 'tb-photoswipe-caption', @@ -182,15 +272,81 @@ export class PhotoSwipeGalleryDirective implements OnInit, OnDestroy { } }); }); + // Emitted while still open: PhotoSwipe reads the thumbnail position when closing starts, so a + // host carousel must already show the matching slide by then + this.lightbox.on('change', () => { + this.ngZone.run(() => this.slideChanged.emit(this.lightbox.pswp.currIndex)); + }); + this.lightbox.on('beforeOpen', () => { + this.attachDocumentListeners(); + this.ngZone.run(() => this.lightboxOpened.emit()); + }); + this.lightbox.on('destroy', () => { + this.detachDocumentListeners(); + this.ngZone.run(() => this.lightboxClosed.emit()); + }); this.lightbox.init(); } ngOnDestroy(): void { + this.detachDocumentListeners(); if (this.lightbox) { this.lightbox.destroy(); } } + /** + * Escape closes the image only, not a mat-dialog behind it. Runs in the capture phase, ahead of + * the CDK overlay, and closes PhotoSwipe itself: stopping propagation also keeps the key from + * PhotoSwipe's own bubble-phase handler on document. + */ + private readonly onKeydownCapture = (e: KeyboardEvent): void => { + const pswp = this.lightbox?.pswp; + if (e.key !== 'Escape' || !pswp) { + return; + } + e.stopPropagation(); + e.preventDefault(); + if (pswp.opener?.isOpen) { + pswp.close(); + return; + } + // During the opening zoom close() is a no-op, so close once it ends (only once) + if (this.closeOnOpened) { + return; + } + this.closeOnOpened = true; + pswp.on('openingAnimationEnd', () => pswp.close()); + }; + + private readonly onScrollEvent = (e: Event): void => { + // Touch gestures inside the lightbox belong to PhotoSwipe (pan, pinch, swipe) + if (e.type === 'touchmove' && this.lightbox?.pswp?.element?.contains(e.target as Node)) { + return; + } + e.preventDefault(); + }; + + /** + * Escape interception plus the page scroll lock. PhotoSwipe does not lock page scroll, and the + * scroller may be the page or a dialog pane, so the wheel and touch events are blocked instead. + * Outside the zone, since touchmove fires at ~60 Hz during a pinch or pan. + */ + private attachDocumentListeners(): void { + this.ngZone.runOutsideAngular(() => { + document.addEventListener('keydown', this.onKeydownCapture, true); + document.addEventListener('wheel', this.onScrollEvent, { passive: false, capture: true }); + document.addEventListener('touchmove', this.onScrollEvent, { passive: false, capture: true }); + }); + } + + private detachDocumentListeners(): void { + this.closeOnOpened = false; + document.removeEventListener('keydown', this.onKeydownCapture, true); + document.removeEventListener('wheel', this.onScrollEvent, true); + document.removeEventListener('touchmove', this.onScrollEvent, true); + } + private initPhotoSwipeGalleryStyle(): void { const existingElement = document.getElementById(PHOTO_GALLERY_STYLE_ID); if (!existingElement) { From b0b7623b7476f57329b5ad7d04b8fc6e4130c213 Mon Sep 17 00:00:00 2001 From: nickAS21 Date: Mon, 12 Oct 2026 12:05:35 +0300 Subject: [PATCH 119/559] lwm2m: fix bootstrap-discovery: Replaced the single root Discover request (DiscoverRequest [/]) during the Bootstrap session with targeted requests for required objects (/0, /1, /2). --- .../store/LwM2MBootstrapConfigStoreTaskProvider.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/bootstrap/store/LwM2MBootstrapConfigStoreTaskProvider.java b/common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/bootstrap/store/LwM2MBootstrapConfigStoreTaskProvider.java index e9c0ef6dee..88c5a26dad 100644 --- a/common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/bootstrap/store/LwM2MBootstrapConfigStoreTaskProvider.java +++ b/common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/bootstrap/store/LwM2MBootstrapConfigStoreTaskProvider.java @@ -70,8 +70,10 @@ public class LwM2MBootstrapConfigStoreTaskProvider implements LwM2MBootstrapTask } if (previousResponse == null && shouldStartWithDiscover(configNew)) { Tasks tasks = new Tasks(); - tasks.requestsToSend = new ArrayList<>(1); - tasks.requestsToSend.add(new BootstrapDiscoverRequest()); + tasks.requestsToSend = new ArrayList<>(3); + tasks.requestsToSend.add(new BootstrapDiscoverRequest("/0")); + tasks.requestsToSend.add(new BootstrapDiscoverRequest("/1")); + tasks.requestsToSend.add(new BootstrapDiscoverRequest("/2")); tasks.last = false; return tasks; } else { From c12e6daa533893f1ae84e8bcca0ccfce6629b182 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 12 Oct 2026 11:26:33 +0200 Subject: [PATCH 120/559] Proxy edge license V2 checkInstance/activateInstance to the license portal Edge 4.4.0.1 moves to license client 3.0.x, which talks /api/v2/license/*. Restores the proxy from #4306 and forwards clusterId (required by the portal's V2 activateInstance) and protocolVersion. --- .../ThingsboardSecurityConfiguration.java | 2 +- .../server/controller/EdgeController.java | 29 +++++++++++++++ .../edge/DefaultEdgeLicenseService.java | 35 +++++++++++++++++-- .../service/edge/EdgeLicenseService.java | 4 +++ 4 files changed, 67 insertions(+), 3 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/config/ThingsboardSecurityConfiguration.java b/application/src/main/java/org/thingsboard/server/config/ThingsboardSecurityConfiguration.java index 9d5f734bf4..a064a5bbaf 100644 --- a/application/src/main/java/org/thingsboard/server/config/ThingsboardSecurityConfiguration.java +++ b/application/src/main/java/org/thingsboard/server/config/ThingsboardSecurityConfiguration.java @@ -134,7 +134,7 @@ public class ThingsboardSecurityConfiguration { /** Session bootstrap, exempt for GET only: {@code POST} on the same path creates a custom menu. */ public static final String CUSTOM_MENU_ENTRY_POINT = "/api/customMenu"; public static final String ALLOWED_PERMISSIONS_ENTRY_POINT = "/api/permissions/allowedPermissions"; - protected static final String[] NON_TOKEN_BASED_AUTH_ENTRY_POINTS = new String[]{"/index.html", "/assets/**", "/static/**", "/api/noauth/**", "/webjars/**", "/api/license/**", "/api/images/public/**", "/api/v2/report/public/**", "/.well-known/**"}; + protected static final String[] NON_TOKEN_BASED_AUTH_ENTRY_POINTS = new String[]{"/index.html", "/assets/**", "/static/**", "/api/noauth/**", "/webjars/**", "/api/license/**", "/api/v2/license/**", "/api/images/public/**", "/api/v2/report/public/**", "/.well-known/**"}; /** * API entry points that stay reachable while the setup is incomplete, or while a provisioned instance is * locked again at runtime. Only {@link #SETUP_PROTECTED_ENTRY_POINTS} is locked, so the Angular diff --git a/application/src/main/java/org/thingsboard/server/controller/EdgeController.java b/application/src/main/java/org/thingsboard/server/controller/EdgeController.java index 26c6a9fc54..af73926527 100644 --- a/application/src/main/java/org/thingsboard/server/controller/EdgeController.java +++ b/application/src/main/java/org/thingsboard/server/controller/EdgeController.java @@ -671,6 +671,35 @@ public class EdgeController extends BaseController { } } + @ApiOperation(value = "Check edge license (checkInstance)", + notes = "Checks license request (V1/V2) from edge service by forwarding request to license portal.") + @PostMapping(value = "/v2/license/checkInstance") + public ResponseEntity checkInstanceV2(@RequestBody JsonNode request) throws ThingsboardException { + log.debug("Checking instance [{}]", request); + try { + return edgeLicenseService.checkInstanceV2(request); + } catch (Exception e) { + log.error("Error occurred: [{}]", e.getMessage(), e); + throw new ThingsboardException(e, ThingsboardErrorCode.SUBSCRIPTION_VIOLATION); + } + } + + @ApiOperation(value = "Activate edge instance (activateInstance)", + notes = "Activates edge license (V1/V2) on license portal.") + @PostMapping(value = "/v2/license/activateInstance", params = {"licenseSecret", "releaseDate", "clusterId"}) + public ResponseEntity activateInstanceV2(@RequestParam String licenseSecret, + @RequestParam String releaseDate, + @RequestParam String clusterId, + @RequestParam(required = false) String protocolVersion) throws ThingsboardException { + log.debug("Activating instance [{}], [{}], [{}], [{}]", licenseSecret, releaseDate, clusterId, protocolVersion); + try { + return edgeLicenseService.activateInstanceV2(licenseSecret, releaseDate, clusterId, protocolVersion); + } catch (Exception e) { + log.error("Error occurred: [{}]", e.getMessage(), e); + throw new ThingsboardException(e, ThingsboardErrorCode.SUBSCRIPTION_VIOLATION); + } + } + private void cleanUpLicenseKey(Edge edge) { edge.setEdgeLicenseKey(null); } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeLicenseService.java b/application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeLicenseService.java index 9186e307dd..45263ef7fd 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeLicenseService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeLicenseService.java @@ -66,7 +66,7 @@ public class DefaultEdgeLicenseService implements EdgeLicenseService { new HttpEntity<>(request, headers), JsonNode.class); log.trace("checkInstance response: {}", response); // removing headers from response of the license server, because it might be a conflict with the proxy from we are accepting incoming connections - return new ResponseEntity(response.getBody(), response.getStatusCode()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); } @Override @@ -80,7 +80,38 @@ public class DefaultEdgeLicenseService implements EdgeLicenseService { null, JsonNode.class, params); log.trace("activateInstance response: {}", response); // removing headers from response of the license server, because it might be a conflict with the proxy from we are accepting incoming connections - return new ResponseEntity(response.getBody(), response.getStatusCode()); + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + + @Override + public ResponseEntity checkInstanceV2(JsonNode request) { + log.trace("checkInstance V2 [{}]", request); + var headers = new HttpHeaders(); + headers.setContentType(MediaType.APPLICATION_JSON); + ResponseEntity response = this.restTemplate.postForEntity( + EDGE_LICENSE_SERVER_ENDPOINT + "/api/v2/license/checkInstance", + new HttpEntity<>(request, headers), JsonNode.class); + log.trace("checkInstance V2 response: {}", response); + // removing headers from response of the license server, because it might be a conflict with the proxy from we are accepting incoming connections + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); + } + + @Override + public ResponseEntity activateInstanceV2(String edgeLicenseSecret, String releaseDate, String clusterId, String protocolVersion) { + log.trace("activateInstance V2 [{}][{}][{}]", releaseDate, clusterId, protocolVersion); + Map params = new HashMap<>(); + params.put("licenseSecret", edgeLicenseSecret); + params.put("releaseDate", releaseDate); + params.put("clusterId", clusterId); + String url = EDGE_LICENSE_SERVER_ENDPOINT + "/api/v2/license/activateInstance?licenseSecret={licenseSecret}&releaseDate={releaseDate}&clusterId={clusterId}"; + if (protocolVersion != null) { + params.put("protocolVersion", protocolVersion); + url += "&protocolVersion={protocolVersion}"; + } + ResponseEntity response = this.restTemplate.postForEntity(url, null, JsonNode.class, params); + log.trace("activateInstance V2 response: {}", response); + // removing headers from response of the license server, because it might be a conflict with the proxy from we are accepting incoming connections + return new ResponseEntity<>(response.getBody(), response.getStatusCode()); } private RestTemplate initRestTemplate() { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeLicenseService.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeLicenseService.java index 0f2ca9dccf..bc796b02b1 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeLicenseService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeLicenseService.java @@ -10,4 +10,8 @@ public interface EdgeLicenseService { ResponseEntity checkInstance(JsonNode request); ResponseEntity activateInstance(String licenseSecret, String releaseDate); + + ResponseEntity checkInstanceV2(JsonNode request); + + ResponseEntity activateInstanceV2(String licenseSecret, String releaseDate, String clusterId, String protocolVersion); } From 447df5b5d8d86aee16c9f5a004d65e943cbcf8e3 Mon Sep 17 00:00:00 2001 From: nickAS21 Date: Mon, 12 Oct 2026 13:00:33 +0300 Subject: [PATCH 121/559] sparkplug: Fixes an issue where Sparkplug metrics with type Double were incorrectly converted and stored as Long. --- .../AbstractMqttV5ClientSparkplugTest.java | 29 +++++++++++++++--- ...ctMqttV5ClientSparkplugAttributesTest.java | 27 +++++++++++++++++ .../MqttV5ClientSparkplugBAttributesTest.java | 9 +++++- .../server/common/adaptor/JsonConverter.java | 30 +++++++++++++------ .../util/sparkplug/SparkplugMetricUtil.java | 7 +++-- 5 files changed, 85 insertions(+), 17 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/AbstractMqttV5ClientSparkplugTest.java b/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/AbstractMqttV5ClientSparkplugTest.java index 41949e8372..3e74eceba2 100644 --- a/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/AbstractMqttV5ClientSparkplugTest.java +++ b/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/AbstractMqttV5ClientSparkplugTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.transport.mqtt.sparkplug; import com.fasterxml.jackson.databind.node.ArrayNode; @@ -682,8 +683,8 @@ public abstract class AbstractMqttV5ClientSparkplugTest extends AbstractMqttInte private TsKvEntry createdAddMetricTsKvDouble(SparkplugBProto.Payload.Builder dataPayload, String key, double value, long ts, MetricDataType metricDataType) throws ThingsboardException { - Long l = Double.valueOf(value).longValue(); - TsKvEntry tsKvEntry = new BasicTsKvEntry(ts, new LongDataEntry(key, l)); + Double dd = Double.valueOf(value); + TsKvEntry tsKvEntry = new BasicTsKvEntry(ts, new DoubleDataEntry(key, dd)); dataPayload.addMetrics(createMetric(value, ts, key, metricDataType, -1L)); return tsKvEntry; } @@ -760,8 +761,28 @@ public abstract class AbstractMqttV5ClientSparkplugTest extends AbstractMqttInte return random.nextLong(0, (long) (d * 2 + 1)); } + /** + * Generates a random Double value covering various test scenarios: + * 0. High-precision GPS Longitude coordinates [-180.0, 180.0] -> e.g. 51.4416 + * 1. Small scientific notation numbers (E-15) + * 2. Large scientific notation numbers (E15) with a guaranteed fractional mantissa + */ protected double nextDouble() { - return random.nextDouble(Long.MIN_VALUE, Long.MAX_VALUE); + int scenario = random.nextInt(3); + switch (scenario) { + case 0: + // Scenario 0: Geographic Longitude with fractional mantissa [-180.0, 180.0] + double raw = random.nextDouble(-179.0, 179.0); + // Guaranteed fractional part without exceeding valid geographic bounds + return raw >= 0 ? raw + 0.000001 : raw - 0.000001; + case 1: + // Scenario 1: Small scientific notation numbers (e.g., 6.024E-15) + return random.nextDouble(1.0, 10.0) * 1e-15; + case 2: + default: + // Scenario 2: Large numbers with E15 exponent and guaranteed fractional part + return random.nextDouble(-1e15, 1e15) + 0.123456; + } } private long nextDateTime() { diff --git a/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/attributes/AbstractMqttV5ClientSparkplugAttributesTest.java b/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/attributes/AbstractMqttV5ClientSparkplugAttributesTest.java index 80156d7667..9825be33e9 100644 --- a/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/attributes/AbstractMqttV5ClientSparkplugAttributesTest.java +++ b/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/attributes/AbstractMqttV5ClientSparkplugAttributesTest.java @@ -13,6 +13,8 @@ import org.thingsboard.server.transport.mqtt.util.sparkplug.MetricDataType; import org.thingsboard.server.transport.mqtt.util.sparkplug.SparkplugMessageType; import java.util.List; +import java.util.Map; +import java.util.Set; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; @@ -334,6 +336,31 @@ public abstract class AbstractMqttV5ClientSparkplugAttributesTest extends Abstra Assert.assertTrue(expectedValue == mqttCallback.getMessageArrivedMetrics().get(0).getDoubleValue()); } + protected void processClientWithCorrectAccessTokenPublishNCMD_DoubleType_SendAndReceiveDoubleValueOk() throws Exception { + clientWithCorrectNodeAccessTokenWithNDEATH(); + MetricDataType metricDataType = MetricDataType.Double; + String metricKey = "MyDouble_SendAndReceive"; + double metricValue = nextDouble(); + connectionWithNBirth(metricDataType, metricKey, metricValue); + Assert.assertTrue("Connection node is failed", client.isConnected()); + awaitForDeviceActorToReceiveSubscription(savedGateway.getId(), FeatureType.ATTRIBUTES, 1); + + Set keyAttributesSet = Set.of(metricKey); + String urlTemplateTs = + "/api/plugins/telemetry/DEVICE/" + savedGateway.getId().getId() + + "/values/timeseries" + + "?keys=" + String.join(",", keyAttributesSet) + + "&useStrictDataTypes=true"; + + Map lastTimeseriesTs = doGetAsyncTyped(urlTemplateTs, new TypeReference<>() {}); + Object metricValueTs = + ((Map) ((List) lastTimeseriesTs.get(metricKey)).getFirst()).get("value"); + + Assert.assertNotNull(metricValueTs); + Assert.assertEquals(Double.class, metricValueTs.getClass()); + Assert.assertEquals(metricValue, metricValueTs); + } + protected void processClientWithCorrectAccessTokenPublishNCMD_StringType_IfMetricFailedTypeCheck_SendValueOk() throws Exception { clientWithCorrectNodeAccessTokenWithNDEATH(); MetricDataType metricDataType = MetricDataType.String; diff --git a/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/attributes/MqttV5ClientSparkplugBAttributesTest.java b/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/attributes/MqttV5ClientSparkplugBAttributesTest.java index 7c938c0683..04e1418492 100644 --- a/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/attributes/MqttV5ClientSparkplugBAttributesTest.java +++ b/application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/attributes/MqttV5ClientSparkplugBAttributesTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.transport.mqtt.sparkplug.attributes; import org.eclipse.paho.mqttv5.common.MqttException; @@ -44,6 +45,7 @@ public class MqttV5ClientSparkplugBAttributesTest extends AbstractMqttV5ClientSp public void testClientWithCorrectAccessTokenPublishNCMD_FloatType_IfMetricFailedTypeCheck_SendValueOk() throws Exception { processClientWithCorrectAccessTokenPublishNCMD_FloatType_IfMetricFailedTypeCheck_SendValueOk(); } + @Test public void testClientWithCorrectAccessTokenPublishMetricDataTypeFromJson_SendValueOk() throws Exception { processClientWithCorrectAccessTokenPublishMetricDataTypeFromJson_SendValueOk(); @@ -54,6 +56,11 @@ public class MqttV5ClientSparkplugBAttributesTest extends AbstractMqttV5ClientSp processClientWithCorrectAccessTokenPublishNCMD_DoubleType_IfMetricFailedTypeCheck_SendValueOk(); } + @Test + public void testClientWithCorrectAccessTokenPublishNCMD_DoubleType_SendAndReceiveDoubleValueOk() throws Exception { + processClientWithCorrectAccessTokenPublishNCMD_DoubleType_SendAndReceiveDoubleValueOk(); + } + @Test public void testClientWithCorrectAccessTokenPublishNCMD_StringType_IfMetricFailedTypeCheck_SendValueOk() throws Exception { processClientWithCorrectAccessTokenPublishNCMD_StringType_IfMetricFailedTypeCheck_SendValueOk(); diff --git a/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java b/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java index 456086a227..f70769dd80 100644 --- a/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java +++ b/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java @@ -308,11 +308,31 @@ public class JsonConverter { return ToServerRpcRequestMsg.newBuilder().setRequestId(requestId).setMethodName(object.get("method").getAsString()).setParams(GSON.toJson(object.get("params"))).build(); } + + private static boolean isExplicitDouble(String valueAsString, BigDecimal bd) { + // 1. If BigDecimal retains a fractional part (scale > 0) after removing trailing zeros, it is strictly a Double (e.g., 1.5, 1E-3) + if (bd.stripTrailingZeros().scale() > 0) { + return true; + } + // 2. If it contains a decimal point '.' but no exponent ('E' or 'e') (e.g., "100.0"), treat as Double. + // Values with exponents that resolve to integers (e.g., "9.97E19") will return false to be processed in the Long/BigInteger flow. + return valueAsString.contains(".") && !valueAsString.contains("E") && !valueAsString.contains("e"); + } + private static void parseNumericValue(List result, Entry valueEntry, JsonPrimitive value) { String valueAsString = value.getAsString(); String key = valueEntry.getKey(); var bd = new BigDecimal(valueAsString); - if (bd.stripTrailingZeros().scale() <= 0 && !isSimpleDouble(valueAsString)) { + + if (isExplicitDouble(valueAsString, bd)) { + if (bd.stripTrailingZeros().scale() <= 16) { + result.add(new DoubleDataEntry(key, bd.doubleValue())); + } else if (!value.isNumber() || isTypeCastEnabled) { + result.add(new StringDataEntry(key, bd.toPlainString())); + } else { + throw new JsonSyntaxException("Big decimal values are not supported!"); + } + } else { try { result.add(new LongDataEntry(key, bd.longValueExact())); } catch (ArithmeticException e) { @@ -322,14 +342,6 @@ public class JsonConverter { throw new JsonSyntaxException("Big integer values are not supported!"); } } - } else { - if (bd.scale() <= 16) { - result.add(new DoubleDataEntry(key, bd.doubleValue())); - } else if (!value.isNumber() || isTypeCastEnabled) { - result.add(new StringDataEntry(key, bd.toPlainString())); - } else { - throw new JsonSyntaxException("Big integer values are not supported!"); - } } } diff --git a/common/transport/mqtt/src/main/java/org/thingsboard/server/transport/mqtt/util/sparkplug/SparkplugMetricUtil.java b/common/transport/mqtt/src/main/java/org/thingsboard/server/transport/mqtt/util/sparkplug/SparkplugMetricUtil.java index ea5eb79bd7..f0e61e9335 100644 --- a/common/transport/mqtt/src/main/java/org/thingsboard/server/transport/mqtt/util/sparkplug/SparkplugMetricUtil.java +++ b/common/transport/mqtt/src/main/java/org/thingsboard/server/transport/mqtt/util/sparkplug/SparkplugMetricUtil.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.transport.mqtt.util.sparkplug; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @@ -61,8 +62,8 @@ public class SparkplugMetricUtil { return Optional.of(builderProto.setKey(key).setType(TransportProtos.KeyValueType.DOUBLE_V) .setDoubleV(f.doubleValue()).build()); case Double: - return Optional.of(builderProto.setKey(key).setType(TransportProtos.KeyValueType.LONG_V) - .setLongV(Double.valueOf(protoMetric.getDoubleValue()).longValue()).build()); + return Optional.of(builderProto.setKey(key).setType(TransportProtos.KeyValueType.DOUBLE_V) + .setDoubleV(protoMetric.getDoubleValue()).build()); case Int8: case UInt8: case Int16: From a31baaf52bc72f3eb4f7dc1cd55f7558f3bdf228 Mon Sep 17 00:00:00 2001 From: nickAS21 Date: Mon, 12 Oct 2026 13:06:54 +0300 Subject: [PATCH 122/559] lwm2m: check-license-headers. --- .../bootstrap/store/LwM2MBootstrapConfigStoreTaskProvider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/bootstrap/store/LwM2MBootstrapConfigStoreTaskProvider.java b/common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/bootstrap/store/LwM2MBootstrapConfigStoreTaskProvider.java index 88c5a26dad..cc38b2e502 100644 --- a/common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/bootstrap/store/LwM2MBootstrapConfigStoreTaskProvider.java +++ b/common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/bootstrap/store/LwM2MBootstrapConfigStoreTaskProvider.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.transport.lwm2m.bootstrap.store; import lombok.extern.slf4j.Slf4j; From 8e16f9ebbb5529ff51e49108fe1a5ba054365fb6 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 11:08:08 +0300 Subject: [PATCH 123/559] Bump tomcat from 10.1.59 to 10.1.60 to fix CVE-2026-76183 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8edb9d53d8..87038e275b 100755 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,7 @@ 3.5.13 3.18.0 4.1.138.Final - 10.1.59 + 10.1.60 5.4.3 1.5.38 2.21.7 From 7cd7b266291217dfb1c9671f7834fe1c2dda81ac Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 11:08:08 +0300 Subject: [PATCH 124/559] Bump bouncycastle from 1.85 to 1.86 to fix CVE-2026-18036, CVE-2026-71888, and 2 others --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 87038e275b..044e4de615 100755 --- a/pom.xml +++ b/pom.xml @@ -116,7 +116,7 @@ 2.2.30 0.8 1.19.0 - 1.85 + 1.86 2.0.1 org/thingsboard/server/gen/**/*, org/thingsboard/server/extensions/core/plugin/telemetry/gen/**/* From 2b5a22cd0d40df6654c4a1db4b331456064f0a41 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 11:08:09 +0300 Subject: [PATCH 125/559] Bump guava from 33.1.0-jre to 33.7.2-jre to fix CVE-2026-102554 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 044e4de615..6fb0e30c30 100755 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,7 @@ 4.17.0 4.2.25 5.0.7 - 33.1.0-jre + 33.7.2-jre 2.16.1 1.3.1 1.10.0 From b9e6eaabc4f574e1879ca2c7a54e772457fc7b69 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 11:08:09 +0300 Subject: [PATCH 126/559] Bump postgresql from 42.7.12 to 42.7.14 to fix CVE-2026-107314 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6fb0e30c30..3975352ab8 100755 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,7 @@ 5.4.3 1.5.38 2.21.7 - 42.7.12 + 42.7.14 5.34.0 5.6.4 1.5.7-14 From 50d320ab493ba0d90ebcc5f14269cecc52e08f4d Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 11:08:09 +0300 Subject: [PATCH 127/559] Bump snappy-java from 1.1.10.5 to 1.1.10.10 to fix CVE-2026-90559, CVE-2026-93452, and CVE-2026-108106 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3975352ab8..eef137f59f 100755 --- a/pom.xml +++ b/pom.xml @@ -183,7 +183,7 @@ 1.6.1 2.19.0 9.2.0 - 1.1.10.5 + 1.1.10.10 9.10.0 From d370560280c33dc4b61d3c70406a3fb7cb2b97d9 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 11:08:09 +0300 Subject: [PATCH 128/559] Bump lz4-java from 1.10.1 to 1.11.4 to fix CVE-2026-59949, CVE-2026-106450, and CVE-2026-106451 --- pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index eef137f59f..18b232787c 100755 --- a/pom.xml +++ b/pom.xml @@ -79,6 +79,7 @@ 5.6.4 1.5.7-14 2.3.35 + 1.11.4 2.4.0-b180830.0359 0.12.5 0.10 @@ -1130,6 +1131,13 @@ ${freemarker.version} + + + at.yawk.lz4 + lz4-java + ${lz4-java.version} + + org.springframework.boot spring-boot-dependencies From 6a296833bf9e899192b6ef9d84983f11097765c8 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Tue, 13 Oct 2026 10:24:44 +0200 Subject: [PATCH 129/559] Merge pull request #16286 from mtsymbarov-del/fix/ai-assistant-panel-scroll-reveal Fixed AI Assistant panel appearing after rapid clicks on table rows --- .../modules/home/components/entity/entities-table.component.ts | 3 --- ui-ngx/src/app/modules/home/home.component.scss | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/entity/entities-table.component.ts b/ui-ngx/src/app/modules/home/components/entity/entities-table.component.ts index 74d515996f..05f6608ae5 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entities-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/entity/entities-table.component.ts @@ -529,9 +529,6 @@ export class EntitiesTableComponent extends PageComponent implements IEntitiesTa toggleEntityDetails($event: Event, entity) { if ($event) { $event.stopPropagation(); - if (($event as MouseEvent).detail > 1) { - return; - } } const open = this.dataSource.toggleCurrentEntity(entity) ? true : !this.isDetailsOpen; this.setEntityDetailsOpen(open); diff --git a/ui-ngx/src/app/modules/home/home.component.scss b/ui-ngx/src/app/modules/home/home.component.scss index d39e640480..6843152ada 100644 --- a/ui-ngx/src/app/modules/home/home.component.scss +++ b/ui-ngx/src/app/modules/home/home.component.scss @@ -166,7 +166,7 @@ } .tb-main-content-wrapper { position: relative; - overflow: hidden; + overflow: clip; flex: 1; display: flex; } From bb359394cfe878dabf5f49b8e989353000f3b64f Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 11:20:57 +0300 Subject: [PATCH 130/559] CLA --- CONTRIBUTING.md | 19 ++++++++++++++++--- pull_request_template.md | 1 + 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a0d336e353..52bba5966c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -152,8 +152,21 @@ rm ~/.testcontainers.properties Open a pull request against `master`. Fill out the pull request template, and make sure: - New or changed behavior has test coverage. -- `mvn license:format` has been run, so new files carry the correct license header. +- `mvn license:format` has been run, so new files carry the correct license header. Do not add + your own copyright or author lines to file headers. - The change builds cleanly: `mvn -pl -am -DskipTests -Dpkg.skip=true test-compile` at minimum for the modules you touched. +- You have signed the Contributor License Agreement (see below). -By contributing, you agree that your contribution is licensed under this project's license (see -[LICENSE](./LICENSE)). +## Contributor License Agreement + +Before we can merge your pull request, you need to sign the ThingsBoard +[Contributor License Agreement](https://cla-assistant.io/thingsboard/thingsboard) (CLA). On your +first pull request a bot posts a link: sign in with GitHub and accept the agreement. You sign once, +and it covers all your contributions to this repository, including those made before you signed. + +You keep the copyright in your contributions. The CLA grants ThingsBoard, Inc. a license to use and +distribute them, including under this project's license (see [LICENSE](./LICENSE)) and under +commercial licenses. + +If you contribute on behalf of your employer, your employer may need to sign the Corporate CLA +instead. Contact info@thingsboard.io. diff --git a/pull_request_template.md b/pull_request_template.md index d375ea4d5f..4d37602ca5 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -5,6 +5,7 @@ Put your PR description here instead of this sentence. ## General checklist - [ ] You have reviewed the [contributing guidelines](https://github.com/thingsboard/thingsboard/blob/master/CONTRIBUTING.md). +- [ ] You have signed the [Contributor License Agreement](https://cla-assistant.io/thingsboard/thingsboard). - [ ] [Labels](https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/managing-labels#about-labels) that classify your pull request have been added. - [ ] The [milestone](https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/about-milestones) is specified and corresponds to fix version. - [ ] Description references specific [issue](https://github.com/thingsboard/thingsboard/issues). From 2d0cb9db48a91964204ab6485e349fda2a1dc8fd Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Tue, 23 Jun 2026 13:09:45 +0300 Subject: [PATCH 131/559] added specific encoders for TTN/TTI integrations --- .../src/app/shared/models/converter.models.ts | 11 +++++- .../src/assets/converters/js-tti-encoder.raw | 38 +++++++++++++++++++ .../src/assets/converters/js-ttn-encoder.raw | 38 +++++++++++++++++++ .../assets/converters/tbel-tti-encoder.raw | 38 +++++++++++++++++++ .../assets/converters/tbel-ttn-encoder.raw | 38 +++++++++++++++++++ 5 files changed, 162 insertions(+), 1 deletion(-) create mode 100644 ui-ngx/src/assets/converters/js-tti-encoder.raw create mode 100644 ui-ngx/src/assets/converters/js-ttn-encoder.raw create mode 100644 ui-ngx/src/assets/converters/tbel-tti-encoder.raw create mode 100644 ui-ngx/src/assets/converters/tbel-ttn-encoder.raw diff --git a/ui-ngx/src/app/shared/models/converter.models.ts b/ui-ngx/src/app/shared/models/converter.models.ts index 98187efe93..6951ae31c7 100644 --- a/ui-ngx/src/app/shared/models/converter.models.ts +++ b/ui-ngx/src/app/shared/models/converter.models.ts @@ -42,7 +42,14 @@ export const IntegrationJSDefaultConvertersUrl = new Map([ - [IntegrationType.OPC_UA, '/assets/converters/tbel-opc-ua-encoder.raw'] + [IntegrationType.OPC_UA, '/assets/converters/tbel-opc-ua-encoder.raw'], + [IntegrationType.TTI, '/assets/converters/tbel-tti-encoder.raw'], + [IntegrationType.TTN, '/assets/converters/tbel-ttn-encoder.raw'] +]) + +export const IntegrationJSDefaultEncodersUrl = new Map([ + [IntegrationType.TTI, '/assets/converters/js-tti-encoder.raw'], + [IntegrationType.TTN, '/assets/converters/js-ttn-encoder.raw'] ]) export const jsDefaultConvertersUrl = new Map([ @@ -264,6 +271,8 @@ export const getTargetTemplateUrl = integrationType: IntegrationType, converterVersion: ConverterVersion = 1): string => { if (scriptLang === ScriptLanguage.JS && converterType === ConverterType.UPLINK && IntegrationJSDefaultConvertersUrl.has(integrationType)) { return IntegrationJSDefaultConvertersUrl.get(integrationType) + } else if (scriptLang === ScriptLanguage.JS && converterType === ConverterType.DOWNLINK && IntegrationJSDefaultEncodersUrl.has(integrationType)) { + return IntegrationJSDefaultEncodersUrl.get(integrationType); } else if (scriptLang === ScriptLanguage.JS) { return getJsTemplateUrl(converterType, converterVersion); } else if (converterType === ConverterType.UPLINK && IntegrationTbelDefaultConvertersUrl.has(integrationType)) { diff --git a/ui-ngx/src/assets/converters/js-tti-encoder.raw b/ui-ngx/src/assets/converters/js-tti-encoder.raw new file mode 100644 index 0000000000..583b1c40d9 --- /dev/null +++ b/ui-ngx/src/assets/converters/js-tti-encoder.raw @@ -0,0 +1,38 @@ +// Encode downlink data from incoming Rule Engine message + +// msg - JSON message payload downlink message json +// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. +// metadata - list of key-value pairs with additional data about the message +// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter + +/** Encoder **/ + +// Target device identifier used to build the TTN downlink topic (devId is assumed to be added via Originator fields rule node) +var devId = metadata.devId; +// LoRaWAN frame port the downlink is scheduled on (cs_fPort is assumed to be added via Originator attributes rule node, prefix 'cs_' (client-side) is added by rule node) +var fPort = metadata.cs_fPort; + +// The Things Network expects a 'downlinks' array; each entry is a single scheduled downlink. +var data = { + downlinks: [{ + // Frame port to deliver the payload on (must match the device's expected port). + f_port: fPort, + // false - best-effort downlink; set to true to request an acknowledgement from the device. + confirmed: false, + // Downlink payload, base64-encoded as required by the TTN API. + frm_payload: btoa(msg), + // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. + priority: "NORMAL" + }] +}; + +// Result object with encoded downlink payload +var result = { + contentType: "JSON", + data: JSON.stringify(data), + metadata: { + devId: devId + } +}; + +return result; diff --git a/ui-ngx/src/assets/converters/js-ttn-encoder.raw b/ui-ngx/src/assets/converters/js-ttn-encoder.raw new file mode 100644 index 0000000000..583b1c40d9 --- /dev/null +++ b/ui-ngx/src/assets/converters/js-ttn-encoder.raw @@ -0,0 +1,38 @@ +// Encode downlink data from incoming Rule Engine message + +// msg - JSON message payload downlink message json +// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. +// metadata - list of key-value pairs with additional data about the message +// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter + +/** Encoder **/ + +// Target device identifier used to build the TTN downlink topic (devId is assumed to be added via Originator fields rule node) +var devId = metadata.devId; +// LoRaWAN frame port the downlink is scheduled on (cs_fPort is assumed to be added via Originator attributes rule node, prefix 'cs_' (client-side) is added by rule node) +var fPort = metadata.cs_fPort; + +// The Things Network expects a 'downlinks' array; each entry is a single scheduled downlink. +var data = { + downlinks: [{ + // Frame port to deliver the payload on (must match the device's expected port). + f_port: fPort, + // false - best-effort downlink; set to true to request an acknowledgement from the device. + confirmed: false, + // Downlink payload, base64-encoded as required by the TTN API. + frm_payload: btoa(msg), + // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. + priority: "NORMAL" + }] +}; + +// Result object with encoded downlink payload +var result = { + contentType: "JSON", + data: JSON.stringify(data), + metadata: { + devId: devId + } +}; + +return result; diff --git a/ui-ngx/src/assets/converters/tbel-tti-encoder.raw b/ui-ngx/src/assets/converters/tbel-tti-encoder.raw new file mode 100644 index 0000000000..583b1c40d9 --- /dev/null +++ b/ui-ngx/src/assets/converters/tbel-tti-encoder.raw @@ -0,0 +1,38 @@ +// Encode downlink data from incoming Rule Engine message + +// msg - JSON message payload downlink message json +// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. +// metadata - list of key-value pairs with additional data about the message +// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter + +/** Encoder **/ + +// Target device identifier used to build the TTN downlink topic (devId is assumed to be added via Originator fields rule node) +var devId = metadata.devId; +// LoRaWAN frame port the downlink is scheduled on (cs_fPort is assumed to be added via Originator attributes rule node, prefix 'cs_' (client-side) is added by rule node) +var fPort = metadata.cs_fPort; + +// The Things Network expects a 'downlinks' array; each entry is a single scheduled downlink. +var data = { + downlinks: [{ + // Frame port to deliver the payload on (must match the device's expected port). + f_port: fPort, + // false - best-effort downlink; set to true to request an acknowledgement from the device. + confirmed: false, + // Downlink payload, base64-encoded as required by the TTN API. + frm_payload: btoa(msg), + // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. + priority: "NORMAL" + }] +}; + +// Result object with encoded downlink payload +var result = { + contentType: "JSON", + data: JSON.stringify(data), + metadata: { + devId: devId + } +}; + +return result; diff --git a/ui-ngx/src/assets/converters/tbel-ttn-encoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-encoder.raw new file mode 100644 index 0000000000..583b1c40d9 --- /dev/null +++ b/ui-ngx/src/assets/converters/tbel-ttn-encoder.raw @@ -0,0 +1,38 @@ +// Encode downlink data from incoming Rule Engine message + +// msg - JSON message payload downlink message json +// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. +// metadata - list of key-value pairs with additional data about the message +// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter + +/** Encoder **/ + +// Target device identifier used to build the TTN downlink topic (devId is assumed to be added via Originator fields rule node) +var devId = metadata.devId; +// LoRaWAN frame port the downlink is scheduled on (cs_fPort is assumed to be added via Originator attributes rule node, prefix 'cs_' (client-side) is added by rule node) +var fPort = metadata.cs_fPort; + +// The Things Network expects a 'downlinks' array; each entry is a single scheduled downlink. +var data = { + downlinks: [{ + // Frame port to deliver the payload on (must match the device's expected port). + f_port: fPort, + // false - best-effort downlink; set to true to request an acknowledgement from the device. + confirmed: false, + // Downlink payload, base64-encoded as required by the TTN API. + frm_payload: btoa(msg), + // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. + priority: "NORMAL" + }] +}; + +// Result object with encoded downlink payload +var result = { + contentType: "JSON", + data: JSON.stringify(data), + metadata: { + devId: devId + } +}; + +return result; From 90fdfa444204ec232fa6aa7a1b793224356d1933 Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Tue, 23 Jun 2026 14:02:40 +0300 Subject: [PATCH 132/559] added specific encoder for MQTT integration --- .../src/app/shared/models/converter.models.ts | 6 ++++-- .../src/assets/converters/js-mqtt-encoder.raw | 20 +++++++++++++++++++ .../assets/converters/tbel-mqtt-encoder.raw | 20 +++++++++++++++++++ 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 ui-ngx/src/assets/converters/js-mqtt-encoder.raw create mode 100644 ui-ngx/src/assets/converters/tbel-mqtt-encoder.raw diff --git a/ui-ngx/src/app/shared/models/converter.models.ts b/ui-ngx/src/app/shared/models/converter.models.ts index 6951ae31c7..5c53483671 100644 --- a/ui-ngx/src/app/shared/models/converter.models.ts +++ b/ui-ngx/src/app/shared/models/converter.models.ts @@ -44,12 +44,14 @@ export const IntegrationJSDefaultConvertersUrl = new Map([ [IntegrationType.OPC_UA, '/assets/converters/tbel-opc-ua-encoder.raw'], [IntegrationType.TTI, '/assets/converters/tbel-tti-encoder.raw'], - [IntegrationType.TTN, '/assets/converters/tbel-ttn-encoder.raw'] + [IntegrationType.TTN, '/assets/converters/tbel-ttn-encoder.raw'], + [IntegrationType.MQTT, '/assets/converters/tbel-mqtt-encoder.raw'] ]) export const IntegrationJSDefaultEncodersUrl = new Map([ [IntegrationType.TTI, '/assets/converters/js-tti-encoder.raw'], - [IntegrationType.TTN, '/assets/converters/js-ttn-encoder.raw'] + [IntegrationType.TTN, '/assets/converters/js-ttn-encoder.raw'], + [IntegrationType.MQTT, '/assets/converters/js-mqtt-encoder.raw'] ]) export const jsDefaultConvertersUrl = new Map([ diff --git a/ui-ngx/src/assets/converters/js-mqtt-encoder.raw b/ui-ngx/src/assets/converters/js-mqtt-encoder.raw new file mode 100644 index 0000000000..28b7157b8f --- /dev/null +++ b/ui-ngx/src/assets/converters/js-mqtt-encoder.raw @@ -0,0 +1,20 @@ +// Encode downlink data from incoming Rule Engine message + +// msg - JSON message payload downlink message json +// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. +// metadata - list of key-value pairs with additional data about the message +// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter + +/** Encoder **/ + +// Publish the ThingsBoard message as JSON to the device command topic. +// metadata.topic is read by the integration when Downlink topic pattern is ${topic}. +var result = { + contentType: "JSON", + data: JSON.stringify(msg), + metadata: { + topic: metadata['deviceType']+'/'+metadata['deviceName']+'/upload' + } +}; + +return result; diff --git a/ui-ngx/src/assets/converters/tbel-mqtt-encoder.raw b/ui-ngx/src/assets/converters/tbel-mqtt-encoder.raw new file mode 100644 index 0000000000..fae1cff169 --- /dev/null +++ b/ui-ngx/src/assets/converters/tbel-mqtt-encoder.raw @@ -0,0 +1,20 @@ +// Encode downlink data from incoming Rule Engine message + +// msg - JSON message payload downlink message json +// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. +// metadata - list of key-value pairs with additional data about the message +// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter + +/** Encoder **/ + +// Publish the ThingsBoard message as JSON to the device command topic. +// metadata.topic is read by the integration when Downlink topic pattern is ${topic}. +var result = { + contentType: "JSON", + data: JSON.stringify(msg), + metadata: { + topic: metadata['deviceType'] + '/' + metadata['deviceName'] + '/upload' + } +}; + +return result; From 376307c0aaa86f165e79371aba710a6c85ea7552 Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Tue, 23 Jun 2026 14:41:48 +0300 Subject: [PATCH 133/559] added specific default encoder for Chirpstack integration --- .../src/app/shared/models/converter.models.ts | 6 +++-- .../converters/js-chirpstack-encoder.raw | 23 +++++++++++++++++++ .../converters/tbel-chirpstack-encoder.raw | 23 +++++++++++++++++++ 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 ui-ngx/src/assets/converters/js-chirpstack-encoder.raw create mode 100644 ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw diff --git a/ui-ngx/src/app/shared/models/converter.models.ts b/ui-ngx/src/app/shared/models/converter.models.ts index 5c53483671..d088b86539 100644 --- a/ui-ngx/src/app/shared/models/converter.models.ts +++ b/ui-ngx/src/app/shared/models/converter.models.ts @@ -45,13 +45,15 @@ export const IntegrationTbelDefaultEncodersUrl = new Map([ [IntegrationType.TTI, '/assets/converters/js-tti-encoder.raw'], [IntegrationType.TTN, '/assets/converters/js-ttn-encoder.raw'], - [IntegrationType.MQTT, '/assets/converters/js-mqtt-encoder.raw'] + [IntegrationType.MQTT, '/assets/converters/js-mqtt-encoder.raw'], + [IntegrationType.CHIRPSTACK, '/assets/converters/js-chirpstack-encoder.raw'] ]) export const jsDefaultConvertersUrl = new Map([ diff --git a/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw new file mode 100644 index 0000000000..41c13c7a6c --- /dev/null +++ b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw @@ -0,0 +1,23 @@ +// Encode downlink data from incoming Rule Engine message + +// msg - JSON message payload downlink message json +// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. +// metadata - list of key-value pairs with additional data about the message +// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter + +/** Encoder **/ + +// Result object with encoded downlink payload +var result = { + // downlink data content type: JSON, TEXT or BINARY (base64 format) + contentType: "TEXT", + // downlink data + data: btoa(msg), + // Optional metadata object presented in key/value format + metadata: { + DevEUI: metadata.cs_eui, + fPort: metadata.cs_fPort + } +}; + +return result; diff --git a/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw b/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw new file mode 100644 index 0000000000..41c13c7a6c --- /dev/null +++ b/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw @@ -0,0 +1,23 @@ +// Encode downlink data from incoming Rule Engine message + +// msg - JSON message payload downlink message json +// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. +// metadata - list of key-value pairs with additional data about the message +// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter + +/** Encoder **/ + +// Result object with encoded downlink payload +var result = { + // downlink data content type: JSON, TEXT or BINARY (base64 format) + contentType: "TEXT", + // downlink data + data: btoa(msg), + // Optional metadata object presented in key/value format + metadata: { + DevEUI: metadata.cs_eui, + fPort: metadata.cs_fPort + } +}; + +return result; From ebe820002e930b25b1cd547df2d9be02ae55d63a Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Tue, 23 Jun 2026 16:38:16 +0300 Subject: [PATCH 134/559] updated Loriot default decoder and encoder --- .../src/app/shared/models/converter.models.ts | 6 ++-- .../assets/converters/js-loriot-decoder.raw | 7 +++++ .../assets/converters/js-loriot-encoder.raw | 30 +++++++++++++++++++ .../assets/converters/tbel-loriot-decoder.raw | 7 +++++ .../assets/converters/tbel-loriot-encoder.raw | 30 +++++++++++++++++++ 5 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 ui-ngx/src/assets/converters/js-loriot-encoder.raw create mode 100644 ui-ngx/src/assets/converters/tbel-loriot-encoder.raw diff --git a/ui-ngx/src/app/shared/models/converter.models.ts b/ui-ngx/src/app/shared/models/converter.models.ts index d088b86539..fc9d2a985e 100644 --- a/ui-ngx/src/app/shared/models/converter.models.ts +++ b/ui-ngx/src/app/shared/models/converter.models.ts @@ -46,14 +46,16 @@ export const IntegrationTbelDefaultEncodersUrl = new Map([ [IntegrationType.TTI, '/assets/converters/js-tti-encoder.raw'], [IntegrationType.TTN, '/assets/converters/js-ttn-encoder.raw'], [IntegrationType.MQTT, '/assets/converters/js-mqtt-encoder.raw'], - [IntegrationType.CHIRPSTACK, '/assets/converters/js-chirpstack-encoder.raw'] + [IntegrationType.CHIRPSTACK, '/assets/converters/js-chirpstack-encoder.raw'], + [IntegrationType.LORIOT, '/assets/converters/js-loriot-encoder.raw'] ]) export const jsDefaultConvertersUrl = new Map([ diff --git a/ui-ngx/src/assets/converters/js-loriot-decoder.raw b/ui-ngx/src/assets/converters/js-loriot-decoder.raw index 8021611b56..1e18fbe019 100644 --- a/ui-ngx/src/assets/converters/js-loriot-decoder.raw +++ b/ui-ngx/src/assets/converters/js-loriot-decoder.raw @@ -52,6 +52,13 @@ function decodePayload(input) { // }; } +// Process only LORIOT uplink messages (cmd == 'rx'). +// Skip downlink confirmations (e.g. cmd == 'txd') and other events so they +// are not stored as telemetry. Returning an empty array yields no uplink data. +if (metadata.cmd != 'rx') { + return []; +} + var result = decodePayload(payload); // Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; // result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. diff --git a/ui-ngx/src/assets/converters/js-loriot-encoder.raw b/ui-ngx/src/assets/converters/js-loriot-encoder.raw new file mode 100644 index 0000000000..5c58ffbe54 --- /dev/null +++ b/ui-ngx/src/assets/converters/js-loriot-encoder.raw @@ -0,0 +1,30 @@ +// Encode downlink data from incoming Rule Engine message. +// msg - JSON message payload (e.g. { "state": "on" }) +// msgType - message type, e.g. 'ATTRIBUTES_UPDATED' +// metadata - enriched by the Originator attributes node with device client attributes. +// ThingsBoard prefixes client-scope attributes with "cs_": +// metadata.cs_eui — LORIOT device EUI stored on first uplink (e.g. "466ECD510CF7B021") +// metadata.cs_fPort — LoRaWAN frame port stored on first uplink (e.g. "1") + +var eui = metadata.cs_eui; + +// Default port to 1 when the device fPort attribute is missing or empty. +var port = (metadata.cs_fPort != null && metadata.cs_fPort != '') + ? parseInt(metadata.cs_fPort) + : 1; + +var result = { + // Downlink data content type: JSON, TEXT, or BINARY (base64 format). + contentType: "JSON", + + // Downlink data — serialise the full message payload as a JSON string. + data: JSON.stringify(msg), + + // Metadata required by LORIOT for downlink delivery. + metadata: { + "EUI": eui, + "port": port + } +}; + +return result; diff --git a/ui-ngx/src/assets/converters/tbel-loriot-decoder.raw b/ui-ngx/src/assets/converters/tbel-loriot-decoder.raw index 5628a2f6c4..ab2dfa83b4 100644 --- a/ui-ngx/src/assets/converters/tbel-loriot-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-loriot-decoder.raw @@ -52,6 +52,13 @@ function decodePayload(input) { // }; } +// Process only LORIOT uplink messages (cmd == 'rx'). +// Skip downlink confirmations (e.g. cmd == 'txd') and other events so they +// are not stored as telemetry. Returning an empty array yields no uplink data. +if (metadata.cmd != 'rx') { + return []; +} + var result = decodePayload(payload); // Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; // result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. diff --git a/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw b/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw new file mode 100644 index 0000000000..5c58ffbe54 --- /dev/null +++ b/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw @@ -0,0 +1,30 @@ +// Encode downlink data from incoming Rule Engine message. +// msg - JSON message payload (e.g. { "state": "on" }) +// msgType - message type, e.g. 'ATTRIBUTES_UPDATED' +// metadata - enriched by the Originator attributes node with device client attributes. +// ThingsBoard prefixes client-scope attributes with "cs_": +// metadata.cs_eui — LORIOT device EUI stored on first uplink (e.g. "466ECD510CF7B021") +// metadata.cs_fPort — LoRaWAN frame port stored on first uplink (e.g. "1") + +var eui = metadata.cs_eui; + +// Default port to 1 when the device fPort attribute is missing or empty. +var port = (metadata.cs_fPort != null && metadata.cs_fPort != '') + ? parseInt(metadata.cs_fPort) + : 1; + +var result = { + // Downlink data content type: JSON, TEXT, or BINARY (base64 format). + contentType: "JSON", + + // Downlink data — serialise the full message payload as a JSON string. + data: JSON.stringify(msg), + + // Metadata required by LORIOT for downlink delivery. + metadata: { + "EUI": eui, + "port": port + } +}; + +return result; From 2612e44bd6344cfa679fc79bd5bf759b0bb67c48 Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Wed, 24 Jun 2026 13:49:28 +0300 Subject: [PATCH 135/559] fixed pr comments --- .../src/app/shared/models/converter.models.ts | 31 +++++++-------- .../converters/js-chirpstack-encoder.raw | 11 +++++- .../src/assets/converters/js-mqtt-encoder.raw | 4 +- ...tti-encoder.raw => js-ttn-tti-encoder.raw} | 14 ++++--- .../converters/tbel-chirpstack-encoder.raw | 11 +++++- .../assets/converters/tbel-mqtt-encoder.raw | 2 +- .../assets/converters/tbel-tti-encoder.raw | 38 ------------------- .../assets/converters/tbel-ttn-encoder.raw | 38 ------------------- ...n-encoder.raw => tbel-ttn-tti-encoder.raw} | 14 ++++--- 9 files changed, 55 insertions(+), 108 deletions(-) rename ui-ngx/src/assets/converters/{js-tti-encoder.raw => js-ttn-tti-encoder.raw} (64%) delete mode 100644 ui-ngx/src/assets/converters/tbel-tti-encoder.raw delete mode 100644 ui-ngx/src/assets/converters/tbel-ttn-encoder.raw rename ui-ngx/src/assets/converters/{js-ttn-encoder.raw => tbel-ttn-tti-encoder.raw} (64%) diff --git a/ui-ngx/src/app/shared/models/converter.models.ts b/ui-ngx/src/app/shared/models/converter.models.ts index fc9d2a985e..fab8903566 100644 --- a/ui-ngx/src/app/shared/models/converter.models.ts +++ b/ui-ngx/src/app/shared/models/converter.models.ts @@ -43,16 +43,16 @@ export const IntegrationJSDefaultConvertersUrl = new Map([ [IntegrationType.OPC_UA, '/assets/converters/tbel-opc-ua-encoder.raw'], - [IntegrationType.TTI, '/assets/converters/tbel-tti-encoder.raw'], - [IntegrationType.TTN, '/assets/converters/tbel-ttn-encoder.raw'], + [IntegrationType.TTI, '/assets/converters/tbel-ttn-tti-encoder.raw'], + [IntegrationType.TTN, '/assets/converters/tbel-ttn-tti-encoder.raw'], [IntegrationType.MQTT, '/assets/converters/tbel-mqtt-encoder.raw'], [IntegrationType.CHIRPSTACK, '/assets/converters/tbel-chirpstack-encoder.raw'], [IntegrationType.LORIOT, '/assets/converters/tbel-loriot-encoder.raw'] ]) export const IntegrationJSDefaultEncodersUrl = new Map([ - [IntegrationType.TTI, '/assets/converters/js-tti-encoder.raw'], - [IntegrationType.TTN, '/assets/converters/js-ttn-encoder.raw'], + [IntegrationType.TTI, '/assets/converters/js-ttn-tti-encoder.raw'], + [IntegrationType.TTN, '/assets/converters/js-ttn-tti-encoder.raw'], [IntegrationType.MQTT, '/assets/converters/js-mqtt-encoder.raw'], [IntegrationType.CHIRPSTACK, '/assets/converters/js-chirpstack-encoder.raw'], [IntegrationType.LORIOT, '/assets/converters/js-loriot-encoder.raw'] @@ -275,18 +275,19 @@ export const getTargetField = export const getTargetTemplateUrl = (converterType: ConverterType, scriptLang: ScriptLanguage, integrationType: IntegrationType, converterVersion: ConverterVersion = 1): string => { - if (scriptLang === ScriptLanguage.JS && converterType === ConverterType.UPLINK && IntegrationJSDefaultConvertersUrl.has(integrationType)) { - return IntegrationJSDefaultConvertersUrl.get(integrationType) - } else if (scriptLang === ScriptLanguage.JS && converterType === ConverterType.DOWNLINK && IntegrationJSDefaultEncodersUrl.has(integrationType)) { - return IntegrationJSDefaultEncodersUrl.get(integrationType); - } else if (scriptLang === ScriptLanguage.JS) { - return getJsTemplateUrl(converterType, converterVersion); - } else if (converterType === ConverterType.UPLINK && IntegrationTbelDefaultConvertersUrl.has(integrationType)) { - return IntegrationTbelDefaultConvertersUrl.get(integrationType); - } else if (converterType === ConverterType.DOWNLINK && IntegrationTbelDefaultEncodersUrl.has(integrationType)) { - return IntegrationTbelDefaultEncodersUrl.get(integrationType); + const isJs = scriptLang === ScriptLanguage.JS; + const isUplink = converterType === ConverterType.UPLINK; + // Integration-specific template map for this (language, direction); UPLINK -> decoders, DOWNLINK -> encoders. + const integrationUrls = isJs + ? (isUplink ? IntegrationJSDefaultConvertersUrl : IntegrationJSDefaultEncodersUrl) + : (isUplink ? IntegrationTbelDefaultConvertersUrl : IntegrationTbelDefaultEncodersUrl); + if (integrationUrls.has(integrationType)) { + return integrationUrls.get(integrationType); } - return getTbelTemplateUrl(converterType, converterVersion); + // Fall back to the generic template for the script language. + return isJs + ? getJsTemplateUrl(converterType, converterVersion) + : getTbelTemplateUrl(converterType, converterVersion); } const getTbelConverterFunctionHeldId = (converterType: ConverterType, converterVersion: ConverterVersion): string => { diff --git a/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw index 41c13c7a6c..ebfaf140bf 100644 --- a/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw +++ b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw @@ -3,6 +3,11 @@ // msg - JSON message payload downlink message json // msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. // metadata - list of key-value pairs with additional data about the message +// ChirpStack reads DevEUI and fPort from the metadata below to enqueue the downlink (POST .../devices/{DevEUI}/queue). +// Both are client-side device attributes that must be populated via an Originator attributes rule node. +// ThingsBoard prefixes client-scope attributes with "cs_": +// metadata.cs_eui — ChirpStack device EUI stored on first uplink (e.g. "466ECD510CF7B021") +// metadata.cs_fPort — LoRaWAN frame port stored on first uplink (e.g. "1") // integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter /** Encoder **/ @@ -12,10 +17,12 @@ var result = { // downlink data content type: JSON, TEXT or BINARY (base64 format) contentType: "TEXT", // downlink data - data: btoa(msg), - // Optional metadata object presented in key/value format + data: btoa(JSON.stringify(msg)), + // Metadata required by ChirpStack for downlink delivery. metadata: { + // Target device EUI; ChirpStack rejects the downlink if this is missing. DevEUI: metadata.cs_eui, + // LoRaWAN frame port (1-223); ChirpStack parses this as an integer. fPort: metadata.cs_fPort } }; diff --git a/ui-ngx/src/assets/converters/js-mqtt-encoder.raw b/ui-ngx/src/assets/converters/js-mqtt-encoder.raw index 28b7157b8f..71739f2029 100644 --- a/ui-ngx/src/assets/converters/js-mqtt-encoder.raw +++ b/ui-ngx/src/assets/converters/js-mqtt-encoder.raw @@ -7,13 +7,13 @@ /** Encoder **/ -// Publish the ThingsBoard message as JSON to the device command topic. +// Publish the ThingsBoard message as JSON to the device upload topic. // metadata.topic is read by the integration when Downlink topic pattern is ${topic}. var result = { contentType: "JSON", data: JSON.stringify(msg), metadata: { - topic: metadata['deviceType']+'/'+metadata['deviceName']+'/upload' + topic: metadata['deviceType'] + '/' + metadata['deviceName'] + '/upload' } }; diff --git a/ui-ngx/src/assets/converters/js-tti-encoder.raw b/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw similarity index 64% rename from ui-ngx/src/assets/converters/js-tti-encoder.raw rename to ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw index 583b1c40d9..7689451630 100644 --- a/ui-ngx/src/assets/converters/js-tti-encoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw @@ -1,4 +1,5 @@ // Encode downlink data from incoming Rule Engine message +// Shared by the TTN and TTI integrations (The Things Stack). // msg - JSON message payload downlink message json // msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. @@ -7,20 +8,23 @@ /** Encoder **/ -// Target device identifier used to build the TTN downlink topic (devId is assumed to be added via Originator fields rule node) +// Target device identifier used to build the TTN/TTI downlink topic (devId is assumed to be added via Originator fields rule node) var devId = metadata.devId; // LoRaWAN frame port the downlink is scheduled on (cs_fPort is assumed to be added via Originator attributes rule node, prefix 'cs_' (client-side) is added by rule node) -var fPort = metadata.cs_fPort; +// Default port to 1 when the device fPort attribute is missing or empty. parseInt keeps f_port a number, as the TTN/TTI API expects. +var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') + ? parseInt(metadata.cs_fPort) + : 1; -// The Things Network expects a 'downlinks' array; each entry is a single scheduled downlink. +// The Things Stack (TTN/TTI) expects a 'downlinks' array; each entry is a single scheduled downlink. var data = { downlinks: [{ // Frame port to deliver the payload on (must match the device's expected port). f_port: fPort, // false - best-effort downlink; set to true to request an acknowledgement from the device. confirmed: false, - // Downlink payload, base64-encoded as required by the TTN API. - frm_payload: btoa(msg), + // Downlink payload, base64-encoded as required by the TTN/TTI API. + frm_payload: btoa(JSON.stringify(msg)), // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. priority: "NORMAL" }] diff --git a/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw b/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw index 41c13c7a6c..906f5f7afd 100644 --- a/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw +++ b/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw @@ -3,6 +3,11 @@ // msg - JSON message payload downlink message json // msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. // metadata - list of key-value pairs with additional data about the message +// ChirpStack reads DevEUI and fPort from the metadata below to enqueue the downlink (POST .../devices/{DevEUI}/queue). +// Both are client-side device attributes that could be populated via an Originator attributes rule node. +// ThingsBoard prefixes client-scope attributes with "cs_": +// metadata.cs_eui — ChirpStack device EUI stored on first uplink (e.g. "466ECD510CF7B021") +// metadata.cs_fPort — LoRaWAN frame port stored on first uplink (e.g. "1") // integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter /** Encoder **/ @@ -12,10 +17,12 @@ var result = { // downlink data content type: JSON, TEXT or BINARY (base64 format) contentType: "TEXT", // downlink data - data: btoa(msg), - // Optional metadata object presented in key/value format + data: btoa(JSON.stringify(msg)), + // Metadata required by ChirpStack for downlink delivery. metadata: { + // Target device EUI; ChirpStack rejects the downlink if this is missing. DevEUI: metadata.cs_eui, + // LoRaWAN frame port (1-223); ChirpStack parses this as an integer. fPort: metadata.cs_fPort } }; diff --git a/ui-ngx/src/assets/converters/tbel-mqtt-encoder.raw b/ui-ngx/src/assets/converters/tbel-mqtt-encoder.raw index fae1cff169..71739f2029 100644 --- a/ui-ngx/src/assets/converters/tbel-mqtt-encoder.raw +++ b/ui-ngx/src/assets/converters/tbel-mqtt-encoder.raw @@ -7,7 +7,7 @@ /** Encoder **/ -// Publish the ThingsBoard message as JSON to the device command topic. +// Publish the ThingsBoard message as JSON to the device upload topic. // metadata.topic is read by the integration when Downlink topic pattern is ${topic}. var result = { contentType: "JSON", diff --git a/ui-ngx/src/assets/converters/tbel-tti-encoder.raw b/ui-ngx/src/assets/converters/tbel-tti-encoder.raw deleted file mode 100644 index 583b1c40d9..0000000000 --- a/ui-ngx/src/assets/converters/tbel-tti-encoder.raw +++ /dev/null @@ -1,38 +0,0 @@ -// Encode downlink data from incoming Rule Engine message - -// msg - JSON message payload downlink message json -// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. -// metadata - list of key-value pairs with additional data about the message -// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter - -/** Encoder **/ - -// Target device identifier used to build the TTN downlink topic (devId is assumed to be added via Originator fields rule node) -var devId = metadata.devId; -// LoRaWAN frame port the downlink is scheduled on (cs_fPort is assumed to be added via Originator attributes rule node, prefix 'cs_' (client-side) is added by rule node) -var fPort = metadata.cs_fPort; - -// The Things Network expects a 'downlinks' array; each entry is a single scheduled downlink. -var data = { - downlinks: [{ - // Frame port to deliver the payload on (must match the device's expected port). - f_port: fPort, - // false - best-effort downlink; set to true to request an acknowledgement from the device. - confirmed: false, - // Downlink payload, base64-encoded as required by the TTN API. - frm_payload: btoa(msg), - // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. - priority: "NORMAL" - }] -}; - -// Result object with encoded downlink payload -var result = { - contentType: "JSON", - data: JSON.stringify(data), - metadata: { - devId: devId - } -}; - -return result; diff --git a/ui-ngx/src/assets/converters/tbel-ttn-encoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-encoder.raw deleted file mode 100644 index 583b1c40d9..0000000000 --- a/ui-ngx/src/assets/converters/tbel-ttn-encoder.raw +++ /dev/null @@ -1,38 +0,0 @@ -// Encode downlink data from incoming Rule Engine message - -// msg - JSON message payload downlink message json -// msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. -// metadata - list of key-value pairs with additional data about the message -// integrationMetadata - list of key-value pairs with additional data defined in Integration executing this converter - -/** Encoder **/ - -// Target device identifier used to build the TTN downlink topic (devId is assumed to be added via Originator fields rule node) -var devId = metadata.devId; -// LoRaWAN frame port the downlink is scheduled on (cs_fPort is assumed to be added via Originator attributes rule node, prefix 'cs_' (client-side) is added by rule node) -var fPort = metadata.cs_fPort; - -// The Things Network expects a 'downlinks' array; each entry is a single scheduled downlink. -var data = { - downlinks: [{ - // Frame port to deliver the payload on (must match the device's expected port). - f_port: fPort, - // false - best-effort downlink; set to true to request an acknowledgement from the device. - confirmed: false, - // Downlink payload, base64-encoded as required by the TTN API. - frm_payload: btoa(msg), - // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. - priority: "NORMAL" - }] -}; - -// Result object with encoded downlink payload -var result = { - contentType: "JSON", - data: JSON.stringify(data), - metadata: { - devId: devId - } -}; - -return result; diff --git a/ui-ngx/src/assets/converters/js-ttn-encoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw similarity index 64% rename from ui-ngx/src/assets/converters/js-ttn-encoder.raw rename to ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw index 583b1c40d9..7689451630 100644 --- a/ui-ngx/src/assets/converters/js-ttn-encoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw @@ -1,4 +1,5 @@ // Encode downlink data from incoming Rule Engine message +// Shared by the TTN and TTI integrations (The Things Stack). // msg - JSON message payload downlink message json // msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. @@ -7,20 +8,23 @@ /** Encoder **/ -// Target device identifier used to build the TTN downlink topic (devId is assumed to be added via Originator fields rule node) +// Target device identifier used to build the TTN/TTI downlink topic (devId is assumed to be added via Originator fields rule node) var devId = metadata.devId; // LoRaWAN frame port the downlink is scheduled on (cs_fPort is assumed to be added via Originator attributes rule node, prefix 'cs_' (client-side) is added by rule node) -var fPort = metadata.cs_fPort; +// Default port to 1 when the device fPort attribute is missing or empty. parseInt keeps f_port a number, as the TTN/TTI API expects. +var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') + ? parseInt(metadata.cs_fPort) + : 1; -// The Things Network expects a 'downlinks' array; each entry is a single scheduled downlink. +// The Things Stack (TTN/TTI) expects a 'downlinks' array; each entry is a single scheduled downlink. var data = { downlinks: [{ // Frame port to deliver the payload on (must match the device's expected port). f_port: fPort, // false - best-effort downlink; set to true to request an acknowledgement from the device. confirmed: false, - // Downlink payload, base64-encoded as required by the TTN API. - frm_payload: btoa(msg), + // Downlink payload, base64-encoded as required by the TTN/TTI API. + frm_payload: btoa(JSON.stringify(msg)), // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. priority: "NORMAL" }] From fe4e0c4ca6d69546cf0e3810c85a65e2ce7b8fd7 Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Wed, 24 Jun 2026 13:56:50 +0300 Subject: [PATCH 136/559] Align ChirpStack encoder comment wording across js/tbel templates Co-Authored-By: Claude Opus 4.8 (1M context) --- ui-ngx/src/assets/converters/js-chirpstack-encoder.raw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw index ebfaf140bf..906f5f7afd 100644 --- a/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw +++ b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw @@ -4,7 +4,7 @@ // msgType - type of message, for ex. 'ATTRIBUTES_UPDATED', 'POST_TELEMETRY_REQUEST', etc. // metadata - list of key-value pairs with additional data about the message // ChirpStack reads DevEUI and fPort from the metadata below to enqueue the downlink (POST .../devices/{DevEUI}/queue). -// Both are client-side device attributes that must be populated via an Originator attributes rule node. +// Both are client-side device attributes that could be populated via an Originator attributes rule node. // ThingsBoard prefixes client-scope attributes with "cs_": // metadata.cs_eui — ChirpStack device EUI stored on first uplink (e.g. "466ECD510CF7B021") // metadata.cs_fPort — LoRaWAN frame port stored on first uplink (e.g. "1") From abb54ab83cc26da6b871501dfa300c351366908c Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Wed, 24 Jun 2026 16:26:03 +0300 Subject: [PATCH 137/559] updated encoders to send powerState value only instead whole message --- .../src/assets/converters/js-chirpstack-encoder.raw | 6 +++++- ui-ngx/src/assets/converters/js-loriot-encoder.raw | 11 ++++++++--- ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw | 6 +++++- .../src/assets/converters/tbel-chirpstack-encoder.raw | 6 +++++- ui-ngx/src/assets/converters/tbel-loriot-encoder.raw | 11 ++++++++--- ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw | 6 +++++- 6 files changed, 36 insertions(+), 10 deletions(-) diff --git a/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw index 906f5f7afd..5258a448d2 100644 --- a/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw +++ b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw @@ -12,12 +12,16 @@ /** Encoder **/ +var base64Payload = (msg.powerState != null) + ? btoa(msg.powerState) // if powerState is present, encode it to base64 + : btoa('unspecified'); // fall back to 'unspecified' when absent + // Result object with encoded downlink payload var result = { // downlink data content type: JSON, TEXT or BINARY (base64 format) contentType: "TEXT", // downlink data - data: btoa(JSON.stringify(msg)), + data: base64Payload, // Metadata required by ChirpStack for downlink delivery. metadata: { // Target device EUI; ChirpStack rejects the downlink if this is missing. diff --git a/ui-ngx/src/assets/converters/js-loriot-encoder.raw b/ui-ngx/src/assets/converters/js-loriot-encoder.raw index 5c58ffbe54..05ca39cbe7 100644 --- a/ui-ngx/src/assets/converters/js-loriot-encoder.raw +++ b/ui-ngx/src/assets/converters/js-loriot-encoder.raw @@ -13,12 +13,17 @@ var port = (metadata.cs_fPort != null && metadata.cs_fPort != '') ? parseInt(metadata.cs_fPort) : 1; +// Send only the command value (powerState) rather than the whole message; fall back to 'unspecified' when absent. +var payload = (msg.powerState != null) + ? msg.powerState + : 'unspecified'; + var result = { // Downlink data content type: JSON, TEXT, or BINARY (base64 format). - contentType: "JSON", + contentType: "TEXT", - // Downlink data — serialise the full message payload as a JSON string. - data: JSON.stringify(msg), + // Downlink data — the command value; LORIOT hex-encodes it before delivery. + data: payload, // Metadata required by LORIOT for downlink delivery. metadata: { diff --git a/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw b/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw index 7689451630..9cf33882e2 100644 --- a/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw @@ -16,6 +16,10 @@ var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') ? parseInt(metadata.cs_fPort) : 1; +var base64Payload = (msg.powerState != null) + ? btoa(msg.powerState) // if powerState is present, encode it to base64 + : btoa('unspecified'); // fall back to 'unspecified' when absent + // The Things Stack (TTN/TTI) expects a 'downlinks' array; each entry is a single scheduled downlink. var data = { downlinks: [{ @@ -24,7 +28,7 @@ var data = { // false - best-effort downlink; set to true to request an acknowledgement from the device. confirmed: false, // Downlink payload, base64-encoded as required by the TTN/TTI API. - frm_payload: btoa(JSON.stringify(msg)), + frm_payload: base64Payload, // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. priority: "NORMAL" }] diff --git a/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw b/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw index 906f5f7afd..5258a448d2 100644 --- a/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw +++ b/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw @@ -12,12 +12,16 @@ /** Encoder **/ +var base64Payload = (msg.powerState != null) + ? btoa(msg.powerState) // if powerState is present, encode it to base64 + : btoa('unspecified'); // fall back to 'unspecified' when absent + // Result object with encoded downlink payload var result = { // downlink data content type: JSON, TEXT or BINARY (base64 format) contentType: "TEXT", // downlink data - data: btoa(JSON.stringify(msg)), + data: base64Payload, // Metadata required by ChirpStack for downlink delivery. metadata: { // Target device EUI; ChirpStack rejects the downlink if this is missing. diff --git a/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw b/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw index 5c58ffbe54..05ca39cbe7 100644 --- a/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw +++ b/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw @@ -13,12 +13,17 @@ var port = (metadata.cs_fPort != null && metadata.cs_fPort != '') ? parseInt(metadata.cs_fPort) : 1; +// Send only the command value (powerState) rather than the whole message; fall back to 'unspecified' when absent. +var payload = (msg.powerState != null) + ? msg.powerState + : 'unspecified'; + var result = { // Downlink data content type: JSON, TEXT, or BINARY (base64 format). - contentType: "JSON", + contentType: "TEXT", - // Downlink data — serialise the full message payload as a JSON string. - data: JSON.stringify(msg), + // Downlink data — the command value; LORIOT hex-encodes it before delivery. + data: payload, // Metadata required by LORIOT for downlink delivery. metadata: { diff --git a/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw index 7689451630..cfc95786c8 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw @@ -16,6 +16,10 @@ var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') ? parseInt(metadata.cs_fPort) : 1; +var base64Payload = (msg.powerState != null) + ? btoa(msg.powerState) // if powerState is present, encode it to base64 + : btoa('unspecified'); // fall back to 'unspecified' when absent + // The Things Stack (TTN/TTI) expects a 'downlinks' array; each entry is a single scheduled downlink. var data = { downlinks: [{ @@ -24,7 +28,7 @@ var data = { // false - best-effort downlink; set to true to request an acknowledgement from the device. confirmed: false, // Downlink payload, base64-encoded as required by the TTN/TTI API. - frm_payload: btoa(JSON.stringify(msg)), + frm_payload: base64Payload, // Scheduling priority for the network server: LOWEST, LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, HIGHEST. priority: "NORMAL" }] From 824a81dcad547c5bd35e49111233dca696160017 Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Wed, 24 Jun 2026 17:18:24 +0300 Subject: [PATCH 138/559] added some explanation comments in default encoders, minor refactoring --- ui-ngx/src/app/shared/models/converter.models.ts | 8 ++++---- ui-ngx/src/assets/converters/js-chirpstack-encoder.raw | 3 +++ ui-ngx/src/assets/converters/js-loriot-encoder.raw | 4 +++- ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw | 3 +++ ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw | 3 +++ ui-ngx/src/assets/converters/tbel-loriot-encoder.raw | 4 +++- ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw | 3 +++ 7 files changed, 22 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/app/shared/models/converter.models.ts b/ui-ngx/src/app/shared/models/converter.models.ts index fab8903566..e953cd1fb1 100644 --- a/ui-ngx/src/app/shared/models/converter.models.ts +++ b/ui-ngx/src/app/shared/models/converter.models.ts @@ -15,7 +15,7 @@ export enum ConverterType { DOWNLINK = 'DOWNLINK' } -export const IntegrationTbelDefaultConvertersUrl = new Map([ +export const IntegrationTbelDefaultDecodersUrl = new Map([ [IntegrationType.CHIRPSTACK, '/assets/converters/tbel-chirpstack-decoder.raw'], [IntegrationType.LORIOT, '/assets/converters/tbel-loriot-decoder.raw'], [IntegrationType.TTI,'/assets/converters/tbel-tti-decoder.raw'], @@ -31,7 +31,7 @@ export const IntegrationTbelDefaultConvertersUrl = new Map([ +export const IntegrationJSDefaultDecodersUrl = new Map([ [IntegrationType.CHIRPSTACK, '/assets/converters/js-chirpstack-decoder.raw'], [IntegrationType.LORIOT, '/assets/converters/js-loriot-decoder.raw'], [IntegrationType.TTI,'/assets/converters/js-tti-decoder.raw'], @@ -279,8 +279,8 @@ export const getTargetTemplateUrl = const isUplink = converterType === ConverterType.UPLINK; // Integration-specific template map for this (language, direction); UPLINK -> decoders, DOWNLINK -> encoders. const integrationUrls = isJs - ? (isUplink ? IntegrationJSDefaultConvertersUrl : IntegrationJSDefaultEncodersUrl) - : (isUplink ? IntegrationTbelDefaultConvertersUrl : IntegrationTbelDefaultEncodersUrl); + ? (isUplink ? IntegrationJSDefaultDecodersUrl : IntegrationJSDefaultEncodersUrl) + : (isUplink ? IntegrationTbelDefaultDecodersUrl : IntegrationTbelDefaultEncodersUrl); if (integrationUrls.has(integrationType)) { return integrationUrls.get(integrationType); } diff --git a/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw index 5258a448d2..3e8ec1d4b1 100644 --- a/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw +++ b/ui-ngx/src/assets/converters/js-chirpstack-encoder.raw @@ -12,6 +12,9 @@ /** Encoder **/ +// EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. +// Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; +// as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. var base64Payload = (msg.powerState != null) ? btoa(msg.powerState) // if powerState is present, encode it to base64 : btoa('unspecified'); // fall back to 'unspecified' when absent diff --git a/ui-ngx/src/assets/converters/js-loriot-encoder.raw b/ui-ngx/src/assets/converters/js-loriot-encoder.raw index 05ca39cbe7..879469edec 100644 --- a/ui-ngx/src/assets/converters/js-loriot-encoder.raw +++ b/ui-ngx/src/assets/converters/js-loriot-encoder.raw @@ -13,7 +13,9 @@ var port = (metadata.cs_fPort != null && metadata.cs_fPort != '') ? parseInt(metadata.cs_fPort) : 1; -// Send only the command value (powerState) rather than the whole message; fall back to 'unspecified' when absent. +// EXAMPLE — replace this: it sends a single field ('powerState') from the downlink message. +// Swap 'powerState' (and the 'unspecified' fallback) for the field your device expects; +// as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. var payload = (msg.powerState != null) ? msg.powerState : 'unspecified'; diff --git a/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw b/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw index 9cf33882e2..e30c1c75ef 100644 --- a/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-tti-encoder.raw @@ -16,6 +16,9 @@ var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') ? parseInt(metadata.cs_fPort) : 1; +// EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. +// Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; +// as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. var base64Payload = (msg.powerState != null) ? btoa(msg.powerState) // if powerState is present, encode it to base64 : btoa('unspecified'); // fall back to 'unspecified' when absent diff --git a/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw b/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw index 5258a448d2..3e8ec1d4b1 100644 --- a/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw +++ b/ui-ngx/src/assets/converters/tbel-chirpstack-encoder.raw @@ -12,6 +12,9 @@ /** Encoder **/ +// EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. +// Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; +// as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. var base64Payload = (msg.powerState != null) ? btoa(msg.powerState) // if powerState is present, encode it to base64 : btoa('unspecified'); // fall back to 'unspecified' when absent diff --git a/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw b/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw index 05ca39cbe7..879469edec 100644 --- a/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw +++ b/ui-ngx/src/assets/converters/tbel-loriot-encoder.raw @@ -13,7 +13,9 @@ var port = (metadata.cs_fPort != null && metadata.cs_fPort != '') ? parseInt(metadata.cs_fPort) : 1; -// Send only the command value (powerState) rather than the whole message; fall back to 'unspecified' when absent. +// EXAMPLE — replace this: it sends a single field ('powerState') from the downlink message. +// Swap 'powerState' (and the 'unspecified' fallback) for the field your device expects; +// as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. var payload = (msg.powerState != null) ? msg.powerState : 'unspecified'; diff --git a/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw index cfc95786c8..a8306cddab 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-tti-encoder.raw @@ -16,6 +16,9 @@ var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') ? parseInt(metadata.cs_fPort) : 1; +// EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. +// Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; +// as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. var base64Payload = (msg.powerState != null) ? btoa(msg.powerState) // if powerState is present, encode it to base64 : btoa('unspecified'); // fall back to 'unspecified' when absent From ba46f5f5ba18c996f5408dd8d7cb2f754f731df7 Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Mon, 1 Jun 2026 15:04:55 +0300 Subject: [PATCH 139/559] added tests for TTN and Chirpstack integration --- .../server/msa/ContainerTestSuite.java | 2 + .../server/msa/TestProperties.java | 9 + .../ChirpStackIntegrationTest.java | 188 ++++++++-- .../msa/integration/TTNIntegrationTest.java | 175 +++++++++ .../chirpstack/ChirpStackTestClient.java | 336 ++++++++++++++++++ .../chirpstack/LoRaWanUplinkFrameBuilder.java | 169 +++++++++ .../configuration/chirpstack/chirpstack.toml | 50 +++ .../chirpstack/region_eu868.toml | 280 +++++++++++++++ .../initdb/001-chirpstack_extensions.sh | 12 + .../resources/docker-compose.chirpstack.yml | 51 +++ 10 files changed, 1235 insertions(+), 37 deletions(-) create mode 100644 msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java create mode 100644 msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/chirpstack/ChirpStackTestClient.java create mode 100644 msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/chirpstack/LoRaWanUplinkFrameBuilder.java create mode 100644 msa/black-box-tests/src/test/resources/chirpstack/configuration/chirpstack/chirpstack.toml create mode 100644 msa/black-box-tests/src/test/resources/chirpstack/configuration/chirpstack/region_eu868.toml create mode 100755 msa/black-box-tests/src/test/resources/chirpstack/configuration/postgresql/initdb/001-chirpstack_extensions.sh create mode 100644 msa/black-box-tests/src/test/resources/docker-compose.chirpstack.yml diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ContainerTestSuite.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ContainerTestSuite.java index 1f276a51ba..c4127f775f 100644 --- a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ContainerTestSuite.java +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/ContainerTestSuite.java @@ -119,6 +119,7 @@ public class ContainerTestSuite { new File(targetDir + "advanced/docker-compose.postgres.volumes.yml"), new File(targetDir + "docker-compose.integration.yml"), new File(targetDir + "docker-compose.mosquitto.yml"), + new File(targetDir + "docker-compose.chirpstack.yml"), new File(targetDir + "docker-compose.opc-ua.yml"), new File(targetDir + "advanced/docker-compose.kafka.yml"), new File(targetDir + "advanced/docker-compose.trendz.yml"), @@ -158,6 +159,7 @@ public class ContainerTestSuite { .withExposedService("tb-integration-executor1", 8082) .withExposedService("tb-mqtt-integration", 8082) .withExposedService("broker", 1883) + .withExposedService("chirpstack-rest-api", 8090, Wait.forListeningPort().withStartupTimeout(CONTAINER_STARTUP_TIMEOUT)) .waitingFor("tb-core1", Wait.forLogMessage(TB_CORE_LOG_REGEXP, 1).withStartupTimeout(CONTAINER_STARTUP_TIMEOUT)) .waitingFor("tb-core2", Wait.forLogMessage(TB_CORE_LOG_REGEXP, 1).withStartupTimeout(CONTAINER_STARTUP_TIMEOUT)) .waitingFor("tb-rule-engine1", Wait.forLogMessage(TRANSPORTS_LOG_REGEXP, 1).withStartupTimeout(CONTAINER_STARTUP_TIMEOUT)) diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/TestProperties.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/TestProperties.java index e336ac3528..76f5278252 100644 --- a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/TestProperties.java +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/TestProperties.java @@ -54,6 +54,15 @@ public class TestProperties { return System.getProperty("integrationExecutor.httpUrl", "http://localhost:8082"); } + public static String getChirpStackRestUrl(){ + if (instance.isActive()) { + String host = instance.getTestContainer().getServiceHost("chirpstack-rest-api", 8090); + Integer port = instance.getTestContainer().getServicePort("chirpstack-rest-api", 8090); + return "http://" + host + ":" + port; + } + return System.getProperty("chirpstack.restUrl", "http://localhost:8090"); + } + public static String getMqttBrokerUrl(){ if (instance.isActive()) { String host = instance.getTestContainer().getServiceHost("broker", 1883); diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java index 99f391fdb3..4abdb8077c 100644 --- a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java @@ -3,18 +3,29 @@ package org.thingsboard.server.msa.integration; import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.extern.slf4j.Slf4j; +import org.eclipse.paho.client.mqttv3.MqttClient; +import org.eclipse.paho.client.mqttv3.MqttMessage; +import org.eclipse.paho.client.mqttv3.persist.MemoryPersistence; import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.event.EventType; +import org.thingsboard.server.common.data.id.RuleChainId; +import org.thingsboard.server.common.data.rule.RuleChainMetaData; +import org.thingsboard.server.common.data.rule.RuleNode; +import org.thingsboard.server.msa.TestProperties; import org.thingsboard.server.msa.WsClient; +import org.thingsboard.server.msa.integration.chirpstack.ChirpStackTestClient; +import org.thingsboard.server.msa.integration.chirpstack.ChirpStackTestClient.ProvisionedDevice; +import org.thingsboard.server.msa.integration.chirpstack.LoRaWanUplinkFrameBuilder; import org.thingsboard.server.msa.mapper.WsTelemetryResponse; -import java.time.OffsetDateTime; -import java.time.ZoneOffset; -import java.time.format.DateTimeFormatter; +import java.nio.charset.StandardCharsets; +import java.util.HexFormat; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; @@ -23,51 +34,85 @@ import java.util.stream.Collectors; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; import static org.thingsboard.server.common.data.DataConstants.CLIENT_SCOPE; +import static org.thingsboard.server.common.data.DataConstants.SHARED_SCOPE; import static org.thingsboard.server.common.data.integration.IntegrationType.CHIRPSTACK; +/** + * End-to-end ChirpStack integration test: provisions a real ChirpStack v4 server (run by the + * test container suite), publishes a genuine LoRaWAN uplink to ChirpStack's gateway MQTT topic, + * and verifies that ChirpStack decrypts it and forwards it through the ThingsBoard CHIRPSTACK + * HTTP integration into telemetry/attributes. + */ @Slf4j public class ChirpStackIntegrationTest extends AbstractIntegrationTest { private static final String ROUTING_KEY = "routing-key-chirpstack"; private static final String SECRET_KEY = "secret-key-chirpstack"; + // Application payload [0x2a, 0x3f] -> base64 "Kj8=", decoded as temperature 42 / humidity 63. + private static final byte[] UPLINK_PAYLOAD = {0x2a, 0x3f}; + private static final int F_PORT = 1; + + // Downlink converter: reads the shared-attribute body and produces a DownlinkData whose + // metadata (DevEUI, fPort) routes ChirpStackIntegration to POST {applicationServerUrl}/api/ + // devices/{devEui}/queue. The 'data' field is the base64 payload ChirpStack will enqueue. + private static final String DOWNLINK_CONVERTER_ENCODER = + "var result = {\n" + + " contentType: \"TEXT\",\n" + + " data: msg.downlinkData,\n" + + " metadata: {\n" + + " DevEUI: msg.devEui,\n" + + " fPort: \"1\"\n" + + " }\n" + + "};\n" + + "return result;"; + + private ChirpStackTestClient chirpStackClient; + private ProvisionedDevice provisionedDevice; private WsClient wsClient; + @BeforeClass + public void beforeChirpStackClass() { + chirpStackClient = new ChirpStackTestClient(TestProperties.getChirpStackRestUrl()); + } + @AfterMethod public void tearDown() throws Exception { if (wsClient != null) { wsClient.closeBlocking(); + wsClient = null; + } + if (provisionedDevice != null) { + chirpStackClient.deleteApplication(provisionedDevice.getApplicationId()); + provisionedDevice = null; } } @Test public void checkTelemetryUploadedWithLocalIntegration() throws Exception { - JsonNode configConverter = JacksonUtil.toJsonNode(JSON_CONVERTER_CONFIG.replaceAll("DEVICE_NAME", device.getName())); - JsonNode integrationConfig = createChirpStackJsonConfig(); - createIntegration(CHIRPSTACK, integrationConfig, configConverter, null, ROUTING_KEY, SECRET_KEY, false, 2); + provisionedDevice = chirpStackClient.provision(ROUTING_KEY); + createTbChirpStackIntegration(); wsClient = subscribeToWebSocket(device.getId(), "LATEST_TELEMETRY", CmdsType.TS_SUB_CMDS); - ObjectNode payloadMsg = createPayloadMsg(); - - testRestClient.postUplinkPayloadForHttpBasedIntegration(integration.getRoutingKey(), payloadMsg, CHIRPSTACK); + sendUplink(); WsTelemetryResponse actualLatestTelemetry = wsClient.getLastMessage(); assertThat(actualLatestTelemetry.getDataValuesByKey("data").get(1)).isEqualTo("Kj8="); assertThat(actualLatestTelemetry.getDataValuesByKey("temperature").get(1)).isEqualTo("42"); assertThat(actualLatestTelemetry.getDataValuesByKey("humidity").get(1)).isEqualTo("63"); - assertThat(actualLatestTelemetry.getDataValuesByKey("snr").get(1)).isEqualTo("11.5"); + assertThat(actualLatestTelemetry.getDataValuesByKey("snr").get(1)) + .isEqualTo(String.valueOf(LoRaWanUplinkFrameBuilder.SNR)); } @Test public void checkAttributesUploadedWithLocalIntegration() { - JsonNode configConverter = JacksonUtil.toJsonNode(JSON_CONVERTER_CONFIG.replaceAll("DEVICE_NAME", device.getName())); - JsonNode integrationConfig = createChirpStackJsonConfig(); - createIntegration(CHIRPSTACK, integrationConfig, configConverter, null, ROUTING_KEY, SECRET_KEY, false, 2); + provisionedDevice = chirpStackClient.provision(ROUTING_KEY); + createTbChirpStackIntegration(); - ObjectNode payloadMsg = createPayloadMsg(); + sendUplink(); - testRestClient.postUplinkPayloadForHttpBasedIntegration(integration.getRoutingKey(), payloadMsg, CHIRPSTACK); + String expectedEui = HexFormat.of().formatHex(provisionedDevice.getDevEui()); await() .pollInterval(1, TimeUnit.SECONDS) @@ -80,9 +125,60 @@ public class ChirpStackIntegrationTest extends AbstractIntegrationTest { node -> node )); - assertThat(attributeMap.get("rssi").get("value").asInt()).isEqualTo(-130); - assertThat(attributeMap.get("eui").get("value").asText()).isEqualTo("BE7A123456789"); - assertThat(attributeMap.get("fPort").get("value").asInt()).isEqualTo(80); + assertThat(attributeMap.get("rssi").get("value").asInt()).isEqualTo(LoRaWanUplinkFrameBuilder.RSSI); + assertThat(attributeMap.get("eui").get("value").asText()).isEqualTo(expectedEui); + assertThat(attributeMap.get("fPort").get("value").asInt()).isEqualTo(F_PORT); + }); + } + + @Test + public void checkDownlinkEnqueuedInChirpStack() throws Exception { + provisionedDevice = chirpStackClient.provision(ROUTING_KEY); + createTbChirpStackIntegrationWithDownlink(); + + // Re-root the rule chain so ATTRIBUTES_UPDATED messages flow into TbIntegrationDownlinkNode. + RuleChainId ruleChainId = createRootRuleChainWithIntegrationDownlinkNode(integration.getId()); + + String devEuiHex = HexFormat.of().formatHex(provisionedDevice.getDevEui()); + String downlinkDataBase64 = "AQID"; // [0x01, 0x02, 0x03] + + // Trigger the downlink: saving a shared attribute fires ATTRIBUTES_UPDATED whose JSON + // body becomes the converter's `msg`. The converter reads devEui+downlinkData from it. + ObjectNode sharedAttributes = JacksonUtil.newObjectNode(); + sharedAttributes.put("devEui", devEuiHex); + sharedAttributes.put("downlinkData", downlinkDataBase64); + testRestClient.saveEntityAttributes(EntityType.DEVICE.name(), device.getId().toString(), SHARED_SCOPE, sharedAttributes); + + // Wait until the integration's downlink node actually saw the message — surfaces converter + // and HTTP errors as a debug event rather than just a queue that stays empty. + RuleChainMetaData ruleChainMetadata = testRestClient.getRuleChainMetadata(ruleChainId); + RuleNode integrationNode = ruleChainMetadata.getNodes().stream() + .filter(n -> n.getType().equals("org.thingsboard.rule.engine.integration.TbIntegrationDownlinkNode")) + .findFirst() + .orElseThrow(() -> new AssertionError("TbIntegrationDownlinkNode not found in rule chain")); + waitTillRuleNodeReceiveMsg(integrationNode.getId(), EventType.DEBUG_RULE_NODE, integration.getTenantId(), "ATTRIBUTES_UPDATED"); + + // Verify ChirpStack actually accepted the queue item with our payload. + await() + .pollInterval(1, TimeUnit.SECONDS) + .atMost(TIMEOUT, TimeUnit.SECONDS) + .untilAsserted(() -> { + JsonNode queue = chirpStackClient.getDeviceQueue(devEuiHex); + JsonNode result = queue.get("result"); + assertThat(result).as("ChirpStack queue response should contain 'result'").isNotNull(); + boolean matched = false; + for (JsonNode item : result) { + JsonNode data = item.get("data"); + JsonNode fPort = item.get("fPort"); + if (data != null && downlinkDataBase64.equals(data.asText()) + && fPort != null && fPort.asInt() == F_PORT) { + matched = true; + break; + } + } + assertThat(matched) + .as("ChirpStack downlink queue should contain enqueued item with data=%s fPort=%d", downlinkDataBase64, F_PORT) + .isTrue(); }); } @@ -91,24 +187,38 @@ public class ChirpStackIntegrationTest extends AbstractIntegrationTest { return "chirpstack_"; } - private ObjectNode createPayloadMsg() { - ObjectNode payloadMsg = JacksonUtil.newObjectNode(); - - String isoTime = OffsetDateTime.now(ZoneOffset.UTC) - .format(DateTimeFormatter.ISO_OFFSET_DATE_TIME); - payloadMsg.put("time", isoTime); - payloadMsg.put("data", "Kj8="); - - ObjectNode deviceInfo = payloadMsg.putObject("deviceInfo"); - deviceInfo.put("devEui", "BE7A123456789"); - payloadMsg.put("fPort", 80); + private void createTbChirpStackIntegration() { + JsonNode configConverter = JacksonUtil.toJsonNode(JSON_CONVERTER_CONFIG.replaceAll("DEVICE_NAME", device.getName())); + createIntegration(CHIRPSTACK, createChirpStackJsonConfig(), configConverter, null, ROUTING_KEY, SECRET_KEY, false, 2); + } - ArrayNode rxInfo = payloadMsg.putArray("rxInfo"); - ObjectNode rxInfoEntry = rxInfo.addObject(); - rxInfoEntry.put("rssi", -130); - rxInfoEntry.put("snr", 11.5); + private void createTbChirpStackIntegrationWithDownlink() { + JsonNode configConverter = JacksonUtil.toJsonNode(JSON_CONVERTER_CONFIG.replaceAll("DEVICE_NAME", device.getName())); + JsonNode downlinkConverter = JacksonUtil.newObjectNode().put("encoder", DOWNLINK_CONVERTER_ENCODER); + createIntegration(CHIRPSTACK, createChirpStackJsonConfig(), configConverter, downlinkConverter, ROUTING_KEY, SECRET_KEY, false, 2); + } - return payloadMsg; + // Builds a real LoRaWAN uplink frame and publishes it to ChirpStack's gateway MQTT event topic. + private void sendUplink() { + String json = LoRaWanUplinkFrameBuilder.buildUplinkFrameJson( + provisionedDevice.getDevAddr(), + provisionedDevice.getNwkSKey(), + provisionedDevice.getAppSKey(), + 0, F_PORT, UPLINK_PAYLOAD, + provisionedDevice.getGatewayId()); + String topic = "eu868/gateway/" + provisionedDevice.getGatewayId() + "/event/up"; + try { + MqttClient client = new MqttClient(TestProperties.getMqttBrokerUrl(), MqttClient.generateClientId(), new MemoryPersistence()); + client.connect(); + try { + client.publish(topic, new MqttMessage(json.getBytes(StandardCharsets.UTF_8))); + } finally { + client.disconnect(); + client.close(); + } + } catch (Exception e) { + throw new RuntimeException("Failed to publish ChirpStack uplink frame", e); + } } private JsonNode createChirpStackJsonConfig() { @@ -117,8 +227,12 @@ public class ChirpStackIntegrationTest extends AbstractIntegrationTest { ObjectNode clientConfigNode = rootNode.putObject("clientConfiguration"); clientConfigNode.put("baseUrl", HTTPS_URL); - clientConfigNode.put("applicationServerUrl", "test_server_url"); - clientConfigNode.put("applicationServerApiToken", "test_api_token"); + // Real in-network ChirpStack REST URL + the seeded admin JWT so the TB integration can + // actually enqueue downlinks. The uplink tests don't read these (uplink path is one-way), + // but having them populated lets the downlink test reuse the same config. + clientConfigNode.put("applicationServerUrl", ChirpStackTestClient.getInNetworkRestUrl()); + clientConfigNode.put("applicationServerAPIToken", chirpStackClient.getToken()); + clientConfigNode.put("useAPI4Plus", true); return rootNode; } diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java new file mode 100644 index 0000000000..57d20fd1f9 --- /dev/null +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java @@ -0,0 +1,175 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.msa.integration; + +import com.fasterxml.jackson.databind.JsonNode; +import lombok.extern.slf4j.Slf4j; +import org.apache.commons.lang3.RandomStringUtils; +import org.awaitility.Awaitility; +import org.testng.SkipException; +import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeMethod; +import org.testng.annotations.Test; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.debug.DebugSettings; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.integration.IntegrationType; +import org.thingsboard.server.msa.WsClient; + +import java.net.URI; +import java.net.http.HttpClient; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.nio.charset.StandardCharsets; +import java.util.Base64; +import java.util.concurrent.TimeUnit; + +import static org.thingsboard.server.msa.prototypes.ConverterPrototypes.uplinkConverterPrototype; + +/** + * Live integration test that exercises ThingsBoard's TTN integration against a real + * The Things Stack Community application. The required cloud credentials are read from + * system properties (-DblackBoxTests.ttn*=...). If any of them is unset, the test is + * skipped — so the class is safe to keep in CI without leaking secrets. + */ +@Slf4j +public class TTNIntegrationTest extends AbstractIntegrationTest { + + private static final String ROUTING_KEY = "routing-key-ttn-integration"; + private static final String SECRET_KEY = "secret-key-ttn-integration"; + + private static final String CONFIG_TEMPLATE = "{\n" + + " \"clientConfiguration\": {\n" + + " \"host\": \"%s\",\n" + + " \"customHost\": true,\n" + + " \"port\": 8883,\n" + + " \"ssl\": true,\n" + + " \"cleanSession\": true,\n" + + " \"connectTimeoutSec\": 10,\n" + + " \"protocolVersion\": \"MQTT_3_1_1\",\n" + + " \"maxBytesInMessage\": 32368,\n" + + " \"credentials\": {\n" + + " \"type\": \"basic\",\n" + + " \"username\": \"%s\",\n" + + " \"password\": \"%s\"\n" + + " }\n" + + " },\n" + + " \"topicFilters\": [ { \"filter\": \"v3/+/devices/+/up\", \"qos\": 0 } ],\n" + + " \"downlinkTopicPattern\": \"v3/%s/devices/${devId}/down/push\",\n" + + " \"metadata\": {}\n" + + "}"; + + private static final String DEVICE_NAME_PLACEHOLDER = "DEVICE_NAME"; + + // TTN delivers an envelope JSON; we ignore the inbound payload entirely and pin every + // uplink to the pre-created test device so the test does not depend on the TTN-side + // device-id matching anything on the TB side. + private static final String UPLINK_CONVERTER_CODE = + "function decodeToString(payload) { return String.fromCharCode.apply(String, payload); }\n" + + "function decodeToJson(payload) { return JSON.parse(decodeToString(payload)); }\n" + + "var data = decodeToJson(payload);\n" + + "var result = {\n" + + " deviceName: '" + DEVICE_NAME_PLACEHOLDER + "',\n" + + " deviceType: 'DEFAULT',\n" + + " telemetry: { temperature: '42' }\n" + + "};\n" + + "return result;"; + + private JsonNode uplinkConverterCode; + private WsClient wsClient; + + @BeforeMethod + public void setUp() { + uplinkConverterCode = JacksonUtil.newObjectNode() + .put("decoder", UPLINK_CONVERTER_CODE.replace(DEVICE_NAME_PLACEHOLDER, device.getName())); + } + + @AfterMethod + public void tearDown() throws Exception { + if (wsClient != null) { + wsClient.closeBlocking(); + } + } + + @Test + public void shouldReceiveSimulatedUplinkFromTheThingsStack() throws Exception { + String region = requireProperty("blackBoxTests.ttnRegion"); + String username = requireProperty("blackBoxTests.ttnUsername"); + String password = requireProperty("blackBoxTests.ttnPassword"); + String appId = requireProperty("blackBoxTests.ttnAppId"); + String deviceId = requireProperty("blackBoxTests.ttnDeviceId"); + + createTtnIntegration(region, username, password); + + wsClient = subscribeToWebSocket(device.getId(), "LATEST_TELEMETRY", CmdsType.TS_SUB_CMDS); + + sendSimulatedUplink(region, password, appId, deviceId); + + Awaitility + .await() + .atMost(TIMEOUT, TimeUnit.SECONDS) + .until(() -> wsClient.getLastMessage().getDataValuesByKey(TELEMETRY_KEY).get(1).equals(TELEMETRY_VALUE)); + } + + private Integration createTtnIntegration(String region, String username, String password) { + String host = region + ".cloud.thethings.network"; + JsonNode config = JacksonUtil.toJsonNode(String.format(CONFIG_TEMPLATE, host, username, password, username)); + + Integration integration = new Integration(); + integration.setConfiguration(config); + + uplinkConverter = testRestClient.postConverter(uplinkConverterPrototype(uplinkConverterCode)); + integration.setDefaultConverterId(uplinkConverter.getId()); + + integration.setName("ttn_" + RandomStringUtils.randomAlphanumeric(7)); + integration.setType(IntegrationType.TTN); + integration.setEnabled(true); + integration.setRemote(false); + integration.setDebugSettings(DebugSettings.all()); + integration.setAllowCreateDevicesOrAssets(true); + integration.setRoutingKey(ROUTING_KEY); + integration.setSecret(SECRET_KEY); + + integration = testRestClient.postIntegration(integration); + waitUntilIntegrationStarted(integration.getId(), integration.getTenantId()); + return this.integration = integration; + } + + private void sendSimulatedUplink(String region, String apiKey, String appId, String deviceId) throws Exception { + String url = String.format("https://%s.cloud.thethings.network/api/v3/as/applications/%s/devices/%s/up/simulate", + region, appId, deviceId); + String frmPayload = Base64.getEncoder().encodeToString("{\"temperature\":42}".getBytes(StandardCharsets.UTF_8)); + String body = "{\"uplink_message\":{" + + "\"f_port\":1," + + "\"frm_payload\":\"" + frmPayload + "\"," + + "\"settings\":{" + + "\"data_rate\":{\"lora\":{\"bandwidth\":125000,\"spreading_factor\":7}}," + + "\"frequency\":\"868000000\"" + + "}}}"; + + HttpRequest request = HttpRequest.newBuilder() + .uri(URI.create(url)) + .header("Authorization", "Bearer " + apiKey) + .header("Content-Type", "application/json") + .POST(HttpRequest.BodyPublishers.ofString(body)) + .build(); + HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString()); + if (response.statusCode() / 100 != 2) { + throw new RuntimeException("TTN simulate-uplink call failed: " + response.statusCode() + " - " + response.body()); + } + } + + private static String requireProperty(String key) { + String value = System.getProperty(key); + if (value == null || value.isBlank()) { + throw new SkipException("Required system property '" + key + "' is not set — skipping TTN live test."); + } + return value; + } + + @Override + protected String getDevicePrototypeSufix() { + return "ttn_"; + } + +} diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/chirpstack/ChirpStackTestClient.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/chirpstack/ChirpStackTestClient.java new file mode 100644 index 0000000000..daee9ba812 --- /dev/null +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/chirpstack/ChirpStackTestClient.java @@ -0,0 +1,336 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.msa.integration.chirpstack; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import lombok.Getter; +import lombok.extern.slf4j.Slf4j; +import org.awaitility.Awaitility; +import org.awaitility.core.ConditionTimeoutException; +import org.testcontainers.containers.Container; +import org.testcontainers.containers.ContainerState; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.msa.ContainerTestSuite; + +import javax.crypto.Mac; +import javax.crypto.spec.SecretKeySpec; +import java.net.URI; +import java.net.http.HttpClient; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.nio.charset.StandardCharsets; +import java.security.SecureRandom; +import java.util.Base64; +import java.util.HexFormat; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicReference; + +/** + * Provisions a real ChirpStack v4 server (the {@code chirpstack-rest-api} service exposed by + * {@link ContainerTestSuite}) over its REST API so an end-to-end uplink can be produced. + * + *

ChirpStack v4 has no REST login endpoint — the REST API authenticates with a Bearer + * API-key JWT signed with the configured {@code [api] secret}. There is no API key out of the + * box, so we seed one admin {@code api_key} row directly in ChirpStack's PostgreSQL (the table + * only exists after ChirpStack applies its migrations) and mint a matching HS256 token. + */ +@Slf4j +public class ChirpStackTestClient { + + // Must match `secret` in chirpstack/configuration/chirpstack/chirpstack.toml. + private static final String API_SECRET = "black-box-test-secret"; + // Fixed admin api_key id we seed and sign tokens for. + private static final String API_KEY_ID = "11111111-1111-1111-1111-111111111111"; + private static final String POSTGRES_SERVICE = "chirpstack-postgres_1"; + + // In-cluster URL ChirpStack POSTs uplinks to. We hit haproxy on plain HTTP (port 80) because + // (a) it routes /api/v1/integrations/* to the tb-integration-executor backend that actually + // serves local integrations — tb-http-integration is only used for *remote* integrations + // and would return 404 — and (b) HTTPS would force ChirpStack's HTTP client to validate the + // self-signed cert haproxy serves on 443. + private static final String TB_INTEGRATION_BASE_URL = "http://haproxy"; + + // In-cluster URL the TB ChirpStack integration uses to enqueue downlinks. The TB side runs + // inside the compose network and resolves the rest-api container by its service name. + private static final String IN_NETWORK_REST_URL = "http://chirpstack-rest-api:8090"; + + private final String restUrl; + private final String token; + private final HttpClient httpClient = HttpClient.newHttpClient(); + private final SecureRandom random = new SecureRandom(); + + public ChirpStackTestClient(String restUrl) { + this.restUrl = restUrl; + this.token = mintApiKeyToken(); + } + + /** + * Creates a device profile, application, ABP-activated device, gateway and an HTTP + * integration that forwards uplinks to ThingsBoard for the given integration routing key. + */ + public ProvisionedDevice provision(String routingKey) { + seedAdminApiKey(); + String tenantId = getDefaultTenantId(); + + String deviceProfileId = createDeviceProfile(tenantId); + String applicationId = createApplication(tenantId); + + byte[] devEui = randomBytes(8); + byte[] gatewayId = randomBytes(8); + byte[] devAddr = randomBytes(4); + byte[] nwkSKey = randomBytes(16); + byte[] appSKey = randomBytes(16); + String devEuiHex = HexFormat.of().formatHex(devEui); + String gatewayIdHex = HexFormat.of().formatHex(gatewayId); + + createDevice(applicationId, deviceProfileId, devEuiHex); + activateDevice(devEuiHex, devAddr, nwkSKey, appSKey); + createGateway(tenantId, gatewayIdHex); + createHttpIntegration(applicationId, TB_INTEGRATION_BASE_URL + + "/api/v1/integrations/chirpstack/" + routingKey); + + return new ProvisionedDevice(applicationId, devEui, devAddr, nwkSKey, appSKey, gatewayIdHex); + } + + /** The admin API-key JWT used to authenticate REST calls — exposed so the TB integration can use it too. */ + public String getToken() { + return token; + } + + /** In-network base URL for the ChirpStack REST API — used by the TB integration's downlink call. */ + public static String getInNetworkRestUrl() { + return IN_NETWORK_REST_URL; + } + + /** Returns the current ChirpStack downlink queue for the device (GET /api/devices/{devEui}/queue). */ + public JsonNode getDeviceQueue(String devEuiHex) { + return get("/api/devices/" + devEuiHex + "/queue"); + } + + public void deleteApplication(String applicationId) { + try { + delete("/api/applications/" + applicationId); + } catch (Exception e) { + log.warn("Failed to delete ChirpStack application {}", applicationId, e); + } + } + + private String createDeviceProfile(String tenantId) { + ObjectNode dp = JacksonUtil.newObjectNode(); + dp.put("name", "bb-dp-" + HexFormat.of().formatHex(randomBytes(4))); + dp.put("tenantId", tenantId); + dp.put("region", "EU868"); + dp.put("macVersion", "LORAWAN_1_0_3"); + dp.put("regParamsRevision", "A"); + dp.put("supportsOtaa", false); + dp.put("uplinkInterval", 3600); + dp.put("adrAlgorithmId", "default"); + ObjectNode body = JacksonUtil.newObjectNode(); + body.set("deviceProfile", dp); + return post("/api/device-profiles", body).get("id").asText(); + } + + private String createApplication(String tenantId) { + ObjectNode app = JacksonUtil.newObjectNode(); + app.put("name", "bb-app-" + HexFormat.of().formatHex(randomBytes(4))); + app.put("tenantId", tenantId); + ObjectNode body = JacksonUtil.newObjectNode(); + body.set("application", app); + return post("/api/applications", body).get("id").asText(); + } + + private void createDevice(String applicationId, String deviceProfileId, String devEuiHex) { + ObjectNode device = JacksonUtil.newObjectNode(); + device.put("devEui", devEuiHex); + device.put("name", "bb-dev-" + devEuiHex); + device.put("applicationId", applicationId); + device.put("deviceProfileId", deviceProfileId); + device.put("skipFcntCheck", true); + device.put("isDisabled", false); + ObjectNode body = JacksonUtil.newObjectNode(); + body.set("device", device); + post("/api/devices", body); + } + + private void activateDevice(String devEuiHex, byte[] devAddr, byte[] nwkSKey, byte[] appSKey) { + String nwkSKeyHex = HexFormat.of().formatHex(nwkSKey); + ObjectNode activation = JacksonUtil.newObjectNode(); + activation.put("devEui", devEuiHex); + activation.put("devAddr", HexFormat.of().formatHex(devAddr)); + activation.put("appSKey", HexFormat.of().formatHex(appSKey)); + // LoRaWAN 1.0.x uses a single network session key for all three key roles. + activation.put("nwkSEncKey", nwkSKeyHex); + activation.put("sNwkSIntKey", nwkSKeyHex); + activation.put("fNwkSIntKey", nwkSKeyHex); + activation.put("fCntUp", 0); + activation.put("nFCntDown", 0); + activation.put("aFCntDown", 0); + ObjectNode body = JacksonUtil.newObjectNode(); + body.set("deviceActivation", activation); + post("/api/devices/" + devEuiHex + "/activate", body); + } + + private void createGateway(String tenantId, String gatewayIdHex) { + ObjectNode gateway = JacksonUtil.newObjectNode(); + gateway.put("gatewayId", gatewayIdHex); + gateway.put("name", "bb-gw-" + gatewayIdHex); + gateway.put("tenantId", tenantId); + gateway.put("statsInterval", 30); + ObjectNode body = JacksonUtil.newObjectNode(); + body.set("gateway", gateway); + post("/api/gateways", body); + } + + private void createHttpIntegration(String applicationId, String eventEndpointUrl) { + ObjectNode integration = JacksonUtil.newObjectNode(); + integration.put("applicationId", applicationId); + integration.put("encoding", "JSON"); + integration.put("eventEndpointUrl", eventEndpointUrl); + ObjectNode body = JacksonUtil.newObjectNode(); + body.set("integration", integration); + post("/api/applications/" + applicationId + "/integrations/http", body); + } + + private String getDefaultTenantId() { + // Retries until ChirpStack has finished its migrations and the API answers our token. + return Awaitility.await("ChirpStack REST API ready") + .atMost(120, TimeUnit.SECONDS) + .pollInterval(2, TimeUnit.SECONDS) + .until(() -> { + try { + JsonNode result = get("/api/tenants?limit=1").get("result"); + if (result != null && result.size() > 0) { + return result.get(0).get("id").asText(); + } + } catch (Exception e) { + log.debug("ChirpStack not ready yet: {}", e.getMessage()); + } + return null; + }, java.util.Objects::nonNull); + } + + // Inserts a fixed admin api_key row so our minted token validates. Idempotent and retried, + // because the api_key table only exists once ChirpStack has applied its schema migrations. + private void seedAdminApiKey() { + ContainerState postgres = ContainerTestSuite.getInstance().getTestContainer() + .getContainerByServiceName(POSTGRES_SERVICE) + .orElseThrow(() -> new IllegalStateException("ChirpStack postgres container not found")); + String sql = "insert into api_key(id, created_at, name, is_admin, is_read_only) " + + "values ('" + API_KEY_ID + "', now(), 'blackbox', true, false) on conflict (id) do nothing;"; + AtomicReference lastError = new AtomicReference<>("(no attempt recorded)"); + try { + Awaitility.await("Seed ChirpStack admin api_key") + .atMost(120, TimeUnit.SECONDS) + .pollInterval(2, TimeUnit.SECONDS) + .until(() -> { + try { + Container.ExecResult result = postgres.execInContainer( + "psql", "-U", "chirpstack", "-d", "chirpstack", "-v", "ON_ERROR_STOP=1", "-c", sql); + if (result.getExitCode() != 0) { + lastError.set("psql exit=" + result.getExitCode() + " stderr=" + result.getStderr().trim()); + log.debug("api_key seed not ready: {}", lastError.get()); + return false; + } + return true; + } catch (Exception e) { + lastError.set("exec failed: " + e); + log.debug("api_key seed exec failed: {}", e.getMessage()); + return false; + } + }); + } catch (ConditionTimeoutException e) { + throw new IllegalStateException("Failed to seed ChirpStack admin api_key. Last error: " + lastError.get() + + ". This usually means the 'chirpstack' server never applied its schema migrations " + + "(check the chirpstack container logs; it requires the pg_trgm/hstore extensions created by the " + + "postgres initdb script).", e); + } + } + + // ChirpStack api-key JWT: HS256, claims {aud,iss=chirpstack, sub=, typ=key}, no exp. + private static String mintApiKeyToken() { + try { + String header = base64Url("{\"alg\":\"HS256\",\"typ\":\"JWT\"}".getBytes(StandardCharsets.UTF_8)); + String payload = base64Url(("{\"aud\":\"chirpstack\",\"iss\":\"chirpstack\",\"sub\":\"" + + API_KEY_ID + "\",\"typ\":\"key\"}").getBytes(StandardCharsets.UTF_8)); + String signingInput = header + "." + payload; + Mac mac = Mac.getInstance("HmacSHA256"); + mac.init(new SecretKeySpec(API_SECRET.getBytes(StandardCharsets.UTF_8), "HmacSHA256")); + String signature = base64Url(mac.doFinal(signingInput.getBytes(StandardCharsets.UTF_8))); + return signingInput + "." + signature; + } catch (Exception e) { + throw new RuntimeException("Failed to mint ChirpStack API token", e); + } + } + + private static String base64Url(byte[] data) { + return Base64.getUrlEncoder().withoutPadding().encodeToString(data); + } + + private JsonNode post(String path, JsonNode body) { + return send(HttpRequest.newBuilder() + .uri(URI.create(restUrl + path)) + .header("Authorization", "Bearer " + token) + .header("Content-Type", "application/json") + .POST(HttpRequest.BodyPublishers.ofString(JacksonUtil.toString(body))) + .build()); + } + + private JsonNode get(String path) { + return send(HttpRequest.newBuilder() + .uri(URI.create(restUrl + path)) + .header("Authorization", "Bearer " + token) + .GET() + .build()); + } + + private void delete(String path) { + send(HttpRequest.newBuilder() + .uri(URI.create(restUrl + path)) + .header("Authorization", "Bearer " + token) + .DELETE() + .build()); + } + + private JsonNode send(HttpRequest request) { + try { + HttpResponse response = httpClient.send(request, HttpResponse.BodyHandlers.ofString()); + if (response.statusCode() / 100 != 2) { + throw new RuntimeException("ChirpStack API call " + request.method() + " " + request.uri() + + " failed: " + response.statusCode() + " - " + response.body()); + } + return response.body().isEmpty() ? JacksonUtil.newObjectNode() : JacksonUtil.toJsonNode(response.body()); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new RuntimeException("ChirpStack API call failed: " + request.uri(), e); + } + } + + private byte[] randomBytes(int length) { + byte[] bytes = new byte[length]; + random.nextBytes(bytes); + return bytes; + } + + /** Holds the secrets/identifiers needed to craft and publish an uplink for the device. */ + @Getter + public static class ProvisionedDevice { + private final String applicationId; + private final byte[] devEui; + private final byte[] devAddr; + private final byte[] nwkSKey; + private final byte[] appSKey; + private final String gatewayId; + + public ProvisionedDevice(String applicationId, byte[] devEui, byte[] devAddr, + byte[] nwkSKey, byte[] appSKey, String gatewayId) { + this.applicationId = applicationId; + this.devEui = devEui; + this.devAddr = devAddr; + this.nwkSKey = nwkSKey; + this.appSKey = appSKey; + this.gatewayId = gatewayId; + } + } +} diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/chirpstack/LoRaWanUplinkFrameBuilder.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/chirpstack/LoRaWanUplinkFrameBuilder.java new file mode 100644 index 0000000000..c6ffa0ecc7 --- /dev/null +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/chirpstack/LoRaWanUplinkFrameBuilder.java @@ -0,0 +1,169 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.msa.integration.chirpstack; + +import com.fasterxml.jackson.databind.node.ObjectNode; +import org.bouncycastle.crypto.engines.AESEngine; +import org.bouncycastle.crypto.macs.CMac; +import org.bouncycastle.crypto.params.KeyParameter; +import org.thingsboard.common.util.JacksonUtil; + +import java.io.ByteArrayOutputStream; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; +import java.util.Base64; + +/** + * Builds a LoRaWAN 1.0.x "unconfirmed data up" PHYPayload (with a valid MIC and + * AES-encrypted FRMPayload) and wraps it into the ChirpStack gateway + * {@code gw.UplinkFrame} JSON that is published to the gateway MQTT event topic + * {@code /gateway//event/up}. ChirpStack validates the MIC, + * decrypts the FRMPayload and forwards the resulting uplink to its application + * integrations — i.e. this produces a genuine uplink, not a faked HTTP POST. + */ +public final class LoRaWanUplinkFrameBuilder { + + private static final int UPLINK_DIRECTION = 0x00; + private static final byte MHDR_UNCONFIRMED_UP = 0x40; + // Standard EU868 SF7BW125 settings; matches one of the region channels. + private static final long FREQUENCY_HZ = 868100000L; + private static final int BANDWIDTH_HZ = 125000; + private static final int SPREADING_FACTOR = 7; + // Gateway-reported radio metadata; exposed so tests can assert the forwarded values. + public static final int RSSI = -130; + public static final double SNR = 11.5; + + private LoRaWanUplinkFrameBuilder() { + } + + /** + * @param devAddr 4-byte device address (big-endian / as displayed) + * @param nwkSKey 16-byte network session key + * @param appSKey 16-byte application session key + * @param fCnt uplink frame counter + * @param fPort frame port (1-223) + * @param payload decrypted application payload bytes + * @param gatewayId 8-byte gateway EUI as a 16-char hex string + */ + public static String buildUplinkFrameJson(byte[] devAddr, byte[] nwkSKey, byte[] appSKey, + int fCnt, int fPort, byte[] payload, String gatewayId) { + byte[] phyPayload = buildPhyPayload(devAddr, nwkSKey, appSKey, fCnt, fPort, payload); + + ObjectNode frame = JacksonUtil.newObjectNode(); + frame.put("phyPayload", Base64.getEncoder().encodeToString(phyPayload)); + + ObjectNode lora = JacksonUtil.newObjectNode(); + lora.put("bandwidth", BANDWIDTH_HZ); + lora.put("spreadingFactor", SPREADING_FACTOR); + lora.put("codeRate", "CR_4_5"); + ObjectNode modulation = JacksonUtil.newObjectNode(); + modulation.set("lora", lora); + ObjectNode txInfo = JacksonUtil.newObjectNode(); + txInfo.put("frequency", FREQUENCY_HZ); + txInfo.set("modulation", modulation); + frame.set("txInfo", txInfo); + + ObjectNode rxInfo = JacksonUtil.newObjectNode(); + rxInfo.put("gatewayId", gatewayId); + rxInfo.put("uplinkId", 1); + rxInfo.put("rssi", RSSI); + rxInfo.put("snr", SNR); + rxInfo.put("channel", 0); + rxInfo.put("context", Base64.getEncoder().encodeToString(new byte[]{0, 0, 0, 1})); + frame.set("rxInfo", rxInfo); + + return JacksonUtil.toString(frame); + } + + static byte[] buildPhyPayload(byte[] devAddr, byte[] nwkSKey, byte[] appSKey, + int fCnt, int fPort, byte[] payload) { + byte[] devAddrLe = reverse(devAddr); + byte[] fCntLe2 = ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(fCnt).array(); + + byte[] encryptedPayload = encryptPayload(appSKey, devAddrLe, fCnt, payload); + + // MACPayload = FHDR | FPort | FRMPayload; FHDR = DevAddr(LE) | FCtrl | FCnt(LE, 2 bytes) + ByteArrayOutputStream macPayload = new ByteArrayOutputStream(); + macPayload.writeBytes(devAddrLe); + macPayload.write(0x00); // FCtrl: no ADR, no FOpts + macPayload.write(fCntLe2[0]); + macPayload.write(fCntLe2[1]); + macPayload.write(fPort & 0xFF); + macPayload.writeBytes(encryptedPayload); + + ByteArrayOutputStream msg = new ByteArrayOutputStream(); + msg.write(MHDR_UNCONFIRMED_UP); + msg.writeBytes(macPayload.toByteArray()); + byte[] msgBytes = msg.toByteArray(); + + byte[] mic = computeMic(nwkSKey, devAddrLe, fCnt, msgBytes); + + ByteArrayOutputStream phy = new ByteArrayOutputStream(); + phy.writeBytes(msgBytes); + phy.writeBytes(mic); + return phy.toByteArray(); + } + + // FRMPayload encryption per LoRaWAN spec (AES-128 of S blocks XORed with payload). + private static byte[] encryptPayload(byte[] appSKey, byte[] devAddrLe, int fCnt, byte[] payload) { + byte[] result = new byte[payload.length]; + int blocks = (payload.length + 15) / 16; + for (int i = 1; i <= blocks; i++) { + byte[] a = buildBlock((byte) 0x01, devAddrLe, fCnt, i); + byte[] s = aesEncryptBlock(appSKey, a); + int offset = (i - 1) * 16; + int len = Math.min(16, payload.length - offset); + for (int j = 0; j < len; j++) { + result[offset + j] = (byte) (payload[offset + j] ^ s[j]); + } + } + return result; + } + + // MIC = first 4 bytes of AES-CMAC(nwkSKey, B0 | msg). + private static byte[] computeMic(byte[] nwkSKey, byte[] devAddrLe, int fCnt, byte[] msg) { + byte[] b0 = buildBlock((byte) 0x49, devAddrLe, fCnt, msg.length); + + CMac cmac = new CMac(AESEngine.newInstance()); + cmac.init(new KeyParameter(nwkSKey)); + cmac.update(b0, 0, b0.length); + cmac.update(msg, 0, msg.length); + byte[] out = new byte[cmac.getMacSize()]; + cmac.doFinal(out, 0); + + byte[] mic = new byte[4]; + System.arraycopy(out, 0, mic, 0, 4); + return mic; + } + + // Builds the 16-byte A_i / B_0 block: 00 00 00 00 dir devAddr(LE) fCnt(LE,4) 00 . + // For A_i (encryption) is the block index; for B_0 (MIC) is the message length. + private static byte[] buildBlock(byte prefix, byte[] devAddrLe, int fCnt, int lastByte) { + byte[] fCntLe4 = ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(fCnt).array(); + byte[] block = new byte[16]; + block[0] = prefix; + // bytes 1..4 are zero + block[5] = (byte) UPLINK_DIRECTION; + System.arraycopy(devAddrLe, 0, block, 6, 4); + System.arraycopy(fCntLe4, 0, block, 10, 4); + block[14] = 0x00; + block[15] = (byte) lastByte; + return block; + } + + private static byte[] aesEncryptBlock(byte[] key, byte[] block) { + AESEngine engine = (AESEngine) AESEngine.newInstance(); + engine.init(true, new KeyParameter(key)); + byte[] out = new byte[16]; + engine.processBlock(block, 0, out, 0); + return out; + } + + private static byte[] reverse(byte[] in) { + byte[] out = new byte[in.length]; + for (int i = 0; i < in.length; i++) { + out[i] = in[in.length - 1 - i]; + } + return out; + } +} diff --git a/msa/black-box-tests/src/test/resources/chirpstack/configuration/chirpstack/chirpstack.toml b/msa/black-box-tests/src/test/resources/chirpstack/configuration/chirpstack/chirpstack.toml new file mode 100644 index 0000000000..2c3db68997 --- /dev/null +++ b/msa/black-box-tests/src/test/resources/chirpstack/configuration/chirpstack/chirpstack.toml @@ -0,0 +1,50 @@ +# ChirpStack v4 configuration for black-box integration tests. +# Trimmed from the upstream brocaar/chirpstack-docker example: only the EU868 +# region is enabled to speed up startup. Hostnames are injected via the +# environment variables set in docker-compose.chirpstack.yml. + +# Logging. +[logging] + level="info" + + +# PostgreSQL configuration. +[postgresql] + dsn="postgres://chirpstack:chirpstack@$POSTGRESQL_HOST/chirpstack?sslmode=disable" + max_open_connections=10 + min_idle_connections=0 + + +# Redis configuration. +[redis] + servers=[ + "redis://$REDIS_HOST/", + ] + tls_enabled=false + cluster=false + + +# Network related configuration. +[network] + net_id="000000" + enabled_regions=[ + "eu868", + ] + + +# API interface configuration. +[api] + bind="0.0.0.0:8080" + secret="black-box-test-secret" + + +# Application integrations. The MQTT integration is left enabled (as in the +# upstream example) and points at the shared test broker; the per-application +# HTTP integration that forwards uplinks to ThingsBoard is created at runtime +# via the ChirpStack REST API. +[integration] + enabled=["mqtt"] + + [integration.mqtt] + server="tcp://$MQTT_BROKER_HOST:1883/" + json=true diff --git a/msa/black-box-tests/src/test/resources/chirpstack/configuration/chirpstack/region_eu868.toml b/msa/black-box-tests/src/test/resources/chirpstack/configuration/chirpstack/region_eu868.toml new file mode 100644 index 0000000000..c87f268ad1 --- /dev/null +++ b/msa/black-box-tests/src/test/resources/chirpstack/configuration/chirpstack/region_eu868.toml @@ -0,0 +1,280 @@ +# This file contains an example EU868 configuration. +[[regions]] + + # ID is an user-defined identifier for this region. + id="eu868" + + # Description is a short description for this region. + description="EU868" + + # Common-name refers to the common-name of this region as defined by + # the LoRa Alliance. + common_name="EU868" + + + # Gateway configuration. + [regions.gateway] + + # Force gateways as private. + # + # If enabled, gateways can only be used by devices under the same tenant. + force_gws_private=false + + + # Gateway backend configuration. + [regions.gateway.backend] + + # The enabled backend type. + enabled="mqtt" + + # MQTT configuration. + [regions.gateway.backend.mqtt] + + # Topic prefix. + # + # The topic prefix can be used to define the region of the gateway. + # Note, there is no need to add a trailing '/' to the prefix. The trailing + # '/' is automatically added to the prefix if it is configured. + topic_prefix="eu868" + + # MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws) + server="tcp://$MQTT_BROKER_HOST:1883" + + # Connect with the given username (optional) + username="" + + # Connect with the given password (optional) + password="" + + # Quality of service level + # + # 0: at most once + # 1: at least once + # 2: exactly once + # + # Note: an increase of this value will decrease the performance. + # For more information: https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels + qos=0 + + # Clean session + # + # Set the "clean session" flag in the connect message when this client + # connects to an MQTT broker. By setting this flag you are indicating + # that no messages saved by the broker for this client should be delivered. + clean_session=false + + # Client ID + # + # Set the client id to be used by this client when connecting to the MQTT + # broker. A client id must be no longer than 23 characters. If left blank, + # a random id will be generated by ChirpStack. + client_id="" + + # Keep alive interval. + # + # This defines the maximum time that that should pass without communication + # between the client and server. + keep_alive_interval="30s" + + # CA certificate file (optional) + # + # Use this when setting up a secure connection (when server uses ssl://...) + # but the certificate used by the server is not trusted by any CA certificate + # on the server (e.g. when self generated). + ca_cert="" + + # TLS certificate file (optional) + tls_cert="" + + # TLS key file (optional) + tls_key="" + + + # Gateway channel configuration. + # + # Note: this configuration is only used in case the gateway is using the + # ChirpStack Concentratord daemon. In any other case, this configuration + # is ignored. + [[regions.gateway.channels]] + frequency=868100000 + bandwidth=125000 + modulation="LORA" + spreading_factors=[7, 8, 9, 10, 11, 12] + + [[regions.gateway.channels]] + frequency=868300000 + bandwidth=125000 + modulation="LORA" + spreading_factors=[7, 8, 9, 10, 11, 12] + + [[regions.gateway.channels]] + frequency=868500000 + bandwidth=125000 + modulation="LORA" + spreading_factors=[7, 8, 9, 10, 11, 12] + + [[regions.gateway.channels]] + frequency=867100000 + bandwidth=125000 + modulation="LORA" + spreading_factors=[7, 8, 9, 10, 11, 12] + + [[regions.gateway.channels]] + frequency=867300000 + bandwidth=125000 + modulation="LORA" + spreading_factors=[7, 8, 9, 10, 11, 12] + + [[regions.gateway.channels]] + frequency=867500000 + bandwidth=125000 + modulation="LORA" + spreading_factors=[7, 8, 9, 10, 11, 12] + + [[regions.gateway.channels]] + frequency=867700000 + bandwidth=125000 + modulation="LORA" + spreading_factors=[7, 8, 9, 10, 11, 12] + + [[regions.gateway.channels]] + frequency=867900000 + bandwidth=125000 + modulation="LORA" + spreading_factors=[7, 8, 9, 10, 11, 12] + + [[regions.gateway.channels]] + frequency=868300000 + bandwidth=250000 + modulation="LORA" + spreading_factors=[7] + + [[regions.gateway.channels]] + frequency=868800000 + bandwidth=125000 + modulation="FSK" + datarate=50000 + + + # Region specific network configuration. + [regions.network] + + # Installation margin (dB) used by the ADR engine. + # + # A higher number means that the network-server will keep more margin, + # resulting in a lower data-rate but decreasing the chance that the + # device gets disconnected because it is unable to reach one of the + # surrounded gateways. + installation_margin=10 + + # RX window (Class-A). + # + # Set this to: + # 0: RX1 / RX2 + # 1: RX1 only + # 2: RX2 only + rx_window=0 + + # RX1 delay (1 - 15 seconds). + rx1_delay=1 + + # RX1 data-rate offset + rx1_dr_offset=0 + + # RX2 data-rate + rx2_dr=0 + + # RX2 frequency (Hz) + rx2_frequency=869525000 + + # Prefer RX2 on RX1 data-rate less than. + # + # Prefer RX2 over RX1 based on the RX1 data-rate. When the RX1 data-rate + # is smaller than the configured value, then the Network Server will + # first try to schedule the downlink for RX2, failing that (e.g. the gateway + # has already a payload scheduled at the RX2 timing) it will try RX1. + rx2_prefer_on_rx1_dr_lt=0 + + # Prefer RX2 on link budget. + # + # When the link-budget is better for RX2 than for RX1, the Network Server will first + # try to schedule the downlink in RX2, failing that it will try RX1. + rx2_prefer_on_link_budget=false + + # Downlink TX Power (dBm) + # + # When set to -1, the downlink TX Power from the configured band will + # be used. + # + # Please consult the LoRaWAN Regional Parameters and local regulations + # for valid and legal options. Note that the configured TX Power must be + # supported by your gateway(s). + downlink_tx_power=-1 + + # ADR is disabled. + adr_disabled=false + + # Minimum data-rate. + min_dr=0 + + # Maximum data-rate. + max_dr=5 + + + # Rejoin-request configuration (LoRaWAN 1.1) + [regions.network.rejoin_request] + + # Request devices to periodically send rejoin-requests. + enabled=false + + # The device must send a rejoin-request type 0 at least every 2^(max_count_n + 4) + # uplink messages. Valid values are 0 to 15. + max_count_n=0 + + # The device must send a rejoin-request type 0 at least every 2^(max_time_n + 10) + # seconds. Valid values are 0 to 15. + # + # 0 = roughly 17 minutes + # 15 = about 1 year + max_time_n=0 + + + # Class-B configuration. + [regions.network.class_b] + + # Ping-slot data-rate. + ping_slot_dr=3 + + # Ping-slot frequency (Hz) + # + # set this to 0 to use the default frequency plan for the configured region + # (which could be frequency hopping). + ping_slot_frequency=0 + + + # Below is the common set of extra channels. Please make sure that these + # channels are also supported by the gateways. + [[regions.network.extra_channels]] + frequency=867100000 + min_dr=0 + max_dr=5 + + [[regions.network.extra_channels]] + frequency=867300000 + min_dr=0 + max_dr=5 + + [[regions.network.extra_channels]] + frequency=867500000 + min_dr=0 + max_dr=5 + + [[regions.network.extra_channels]] + frequency=867700000 + min_dr=0 + max_dr=5 + + [[regions.network.extra_channels]] + frequency=867900000 + min_dr=0 + max_dr=5 diff --git a/msa/black-box-tests/src/test/resources/chirpstack/configuration/postgresql/initdb/001-chirpstack_extensions.sh b/msa/black-box-tests/src/test/resources/chirpstack/configuration/postgresql/initdb/001-chirpstack_extensions.sh new file mode 100755 index 0000000000..4e96eb8d87 --- /dev/null +++ b/msa/black-box-tests/src/test/resources/chirpstack/configuration/postgresql/initdb/001-chirpstack_extensions.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# +# SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +# SPDX-License-Identifier: BUSL-1.1 +# + +set -e + +psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname="$POSTGRES_DB" <<-EOSQL + create extension pg_trgm; + create extension hstore; +EOSQL diff --git a/msa/black-box-tests/src/test/resources/docker-compose.chirpstack.yml b/msa/black-box-tests/src/test/resources/docker-compose.chirpstack.yml new file mode 100644 index 0000000000..fef8c9543a --- /dev/null +++ b/msa/black-box-tests/src/test/resources/docker-compose.chirpstack.yml @@ -0,0 +1,51 @@ +# +# SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +# SPDX-License-Identifier: BUSL-1.1 +# + +# Real ChirpStack v4 LoRaWAN Network Server used by ChirpStackIntegrationTest. +# It shares the MQTT "broker" (mosquitto) defined in docker-compose.mosquitto.yml +# and lives on the same compose network as tb-http-integration, so ChirpStack +# can forward uplinks to ThingsBoard via its HTTP application integration. + +services: + chirpstack: + image: chirpstack/chirpstack:4 + restart: always + command: -c /etc/chirpstack + # Paths are relative to the compose project directory (docker/advanced), so the + # vendored config copied to /chirpstack is reached via "../chirpstack". + volumes: + - ../chirpstack/configuration/chirpstack:/etc/chirpstack + depends_on: + - chirpstack-postgres + - chirpstack-redis + - broker + environment: + MQTT_BROKER_HOST: broker + REDIS_HOST: chirpstack-redis + POSTGRESQL_HOST: chirpstack-postgres + + chirpstack-rest-api: + image: chirpstack/chirpstack-rest-api:4 + restart: always + command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure + ports: + - "8090" + depends_on: + - chirpstack + + chirpstack-postgres: + image: postgres:14-alpine + restart: always + volumes: + - ../chirpstack/configuration/postgresql/initdb:/docker-entrypoint-initdb.d + environment: + POSTGRES_USER: chirpstack + POSTGRES_PASSWORD: chirpstack + POSTGRES_DB: chirpstack + + chirpstack-redis: + image: redis:7-alpine + restart: always + command: redis-server --save "" --appendonly no From 872d879568e39079767993c392838b39c2379fdf Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Wed, 3 Jun 2026 10:54:19 +0300 Subject: [PATCH 140/559] fixed flaky test, added test for downlink TTN integration flow --- .../ChirpStackIntegrationTest.java | 28 ++-- .../msa/integration/TTNIntegrationTest.java | 140 +++++++++++++++++- 2 files changed, 150 insertions(+), 18 deletions(-) diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java index 4abdb8077c..fe8f23cdb4 100644 --- a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java @@ -25,6 +25,7 @@ import org.thingsboard.server.msa.integration.chirpstack.LoRaWanUplinkFrameBuild import org.thingsboard.server.msa.mapper.WsTelemetryResponse; import java.nio.charset.StandardCharsets; +import java.util.Arrays; import java.util.HexFormat; import java.util.List; import java.util.Map; @@ -106,29 +107,22 @@ public class ChirpStackIntegrationTest extends AbstractIntegrationTest { } @Test - public void checkAttributesUploadedWithLocalIntegration() { + public void checkAttributesUploadedWithLocalIntegration() throws Exception { provisionedDevice = chirpStackClient.provision(ROUTING_KEY); createTbChirpStackIntegration(); + wsClient = subscribeToWebSocket(device.getId(), "CLIENT_SCOPE", CmdsType.ATTR_SUB_CMDS); + sendUplink(); - String expectedEui = HexFormat.of().formatHex(provisionedDevice.getDevEui()); + WsTelemetryResponse actualLatestAttr = wsClient.getLastMessage(); + assertThat(actualLatestAttr.getData()).hasSize(3); + assertThat(actualLatestAttr.getLatestValues().keySet()).containsOnlyOnceElementsOf(Arrays.asList("rssi", "eui", "fPort")); + wsClient.closeBlocking(); - await() - .pollInterval(1, TimeUnit.SECONDS) - .atMost(TIMEOUT, TimeUnit.SECONDS) - .untilAsserted(() -> { - List attributes = testRestClient.getEntityAttributeByScopeAndKey(device.getId(), CLIENT_SCOPE, "rssi,eui,fPort"); - Map attributeMap = attributes.stream() - .collect(Collectors.toMap( - node -> node.get("key").asText(), - node -> node - )); - - assertThat(attributeMap.get("rssi").get("value").asInt()).isEqualTo(LoRaWanUplinkFrameBuilder.RSSI); - assertThat(attributeMap.get("eui").get("value").asText()).isEqualTo(expectedEui); - assertThat(attributeMap.get("fPort").get("value").asInt()).isEqualTo(F_PORT); - }); + assertThat(actualLatestAttr.getDataValuesByKey("rssi").get(1)).isEqualTo(String.valueOf(LoRaWanUplinkFrameBuilder.RSSI)); + assertThat(actualLatestAttr.getDataValuesByKey("eui").get(1)).isEqualTo(HexFormat.of().formatHex(provisionedDevice.getDevEui())); + assertThat(actualLatestAttr.getDataValuesByKey("fPort").get(1)).isEqualTo(String.valueOf(F_PORT)); } @Test diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java index 57d20fd1f9..3897701ea7 100644 --- a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java @@ -3,6 +3,7 @@ package org.thingsboard.server.msa.integration; import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.RandomStringUtils; import org.awaitility.Awaitility; @@ -11,9 +12,14 @@ import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.debug.DebugSettings; +import org.thingsboard.server.common.data.event.EventType; +import org.thingsboard.server.common.data.id.RuleChainId; import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.integration.IntegrationType; +import org.thingsboard.server.common.data.rule.RuleChainMetaData; +import org.thingsboard.server.common.data.rule.RuleNode; import org.thingsboard.server.msa.WsClient; import java.net.URI; @@ -24,6 +30,9 @@ import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.concurrent.TimeUnit; +import static org.assertj.core.api.Assertions.assertThat; +import static org.thingsboard.server.common.data.DataConstants.SHARED_SCOPE; +import static org.thingsboard.server.msa.prototypes.ConverterPrototypes.downlinkConverterPrototype; import static org.thingsboard.server.msa.prototypes.ConverterPrototypes.uplinkConverterPrototype; /** @@ -61,6 +70,24 @@ public class TTNIntegrationTest extends AbstractIntegrationTest { private static final String DEVICE_NAME_PLACEHOLDER = "DEVICE_NAME"; + private static final String INTEGRATION_DOWNLINK_NODE_TYPE = "org.thingsboard.rule.engine.integration.TbIntegrationDownlinkNode"; + private static final int DOWNLINK_F_PORT = 1; + + // Downlink converter: turns the shared-attribute body ({devId, downlinkData}) into the JSON + // The Things Stack expects on the v3 'down/push' MQTT topic, and exposes devId as metadata so + // BasicMqttIntegration can resolve the ${devId} placeholder in downlinkTopicPattern. + private static final String DOWNLINK_CONVERTER_ENCODER = + "var result = {\n" + + " contentType: \"JSON\",\n" + + " data: JSON.stringify({\n" + + " downlinks: [ { f_port: " + DOWNLINK_F_PORT + ", frm_payload: msg.downlinkData, priority: \"NORMAL\" } ]\n" + + " }),\n" + + " metadata: {\n" + + " devId: msg.devId\n" + + " }\n" + + "};\n" + + "return result;"; + // TTN delivers an envelope JSON; we ignore the inbound payload entirely and pin every // uplink to the pre-created test device so the test does not depend on the TTN-side // device-id matching anything on the TB side. @@ -77,6 +104,9 @@ public class TTNIntegrationTest extends AbstractIntegrationTest { private JsonNode uplinkConverterCode; private WsClient wsClient; + // Coordinates for clearing the shared The Things Stack downlink queue in tearDown — set by the + // downlink test so a leftover queued downlink does not bleed into other runs. + private String[] downlinkQueueCoordinates; @BeforeMethod public void setUp() { @@ -89,6 +119,15 @@ public class TTNIntegrationTest extends AbstractIntegrationTest { if (wsClient != null) { wsClient.closeBlocking(); } + if (downlinkQueueCoordinates != null) { + try { + clearDownlinkQueue(downlinkQueueCoordinates[0], downlinkQueueCoordinates[1], downlinkQueueCoordinates[2], downlinkQueueCoordinates[3]); + } catch (Exception e) { + log.warn("Failed to clear The Things Stack downlink queue", e); + } finally { + downlinkQueueCoordinates = null; + } + } } @Test @@ -111,7 +150,72 @@ public class TTNIntegrationTest extends AbstractIntegrationTest { .until(() -> wsClient.getLastMessage().getDataValuesByKey(TELEMETRY_KEY).get(1).equals(TELEMETRY_VALUE)); } + @Test + public void shouldEnqueueDownlinkInTheThingsStack() throws Exception { + String region = requireProperty("blackBoxTests.ttnRegion"); + String username = requireProperty("blackBoxTests.ttnUsername"); + String password = requireProperty("blackBoxTests.ttnPassword"); + String appId = requireProperty("blackBoxTests.ttnAppId"); + String deviceId = requireProperty("blackBoxTests.ttnDeviceId"); + + JsonNode downlinkConverter = JacksonUtil.newObjectNode().put("encoder", DOWNLINK_CONVERTER_ENCODER); + createTtnIntegration(region, username, password, downlinkConverter); + + // Re-root the rule chain so ATTRIBUTES_UPDATED messages flow into TbIntegrationDownlinkNode. + RuleChainId ruleChainId = createRootRuleChainWithIntegrationDownlinkNode(integration.getId()); + + // Start from a clean queue so the assertion is deterministic, and make sure tearDown clears it. + downlinkQueueCoordinates = new String[]{region, password, appId, deviceId}; + clearDownlinkQueue(region, password, appId, deviceId); + + String downlinkPayloadBase64 = Base64.getEncoder().encodeToString(new byte[]{0x01, 0x02, 0x03}); + + // Saving a shared attribute fires ATTRIBUTES_UPDATED whose JSON body becomes the converter's + // `msg`; the converter reads devId + downlinkData from it. + ObjectNode sharedAttributes = JacksonUtil.newObjectNode(); + sharedAttributes.put("devId", deviceId); + sharedAttributes.put("downlinkData", downlinkPayloadBase64); + testRestClient.saveEntityAttributes(EntityType.DEVICE.name(), device.getId().toString(), SHARED_SCOPE, sharedAttributes); + + // Wait until the integration's downlink node actually saw the message — surfaces converter + // and MQTT-publish errors as a debug event rather than just a queue that stays empty. + RuleChainMetaData ruleChainMetadata = testRestClient.getRuleChainMetadata(ruleChainId); + RuleNode integrationNode = ruleChainMetadata.getNodes().stream() + .filter(n -> n.getType().equals(INTEGRATION_DOWNLINK_NODE_TYPE)) + .findFirst() + .orElseThrow(() -> new AssertionError("TbIntegrationDownlinkNode not found in rule chain")); + waitTillRuleNodeReceiveMsg(integrationNode.getId(), EventType.DEBUG_RULE_NODE, integration.getTenantId(), "ATTRIBUTES_UPDATED"); + + // Verify The Things Stack actually accepted the downlink into the device's queue. + Awaitility + .await() + .pollInterval(1, TimeUnit.SECONDS) + .atMost(TIMEOUT, TimeUnit.SECONDS) + .untilAsserted(() -> { + JsonNode queue = getDownlinkQueue(region, password, appId, deviceId); + JsonNode downlinks = queue.get("downlinks"); + assertThat(downlinks).as("The Things Stack downlink queue response should contain 'downlinks'").isNotNull(); + boolean matched = false; + for (JsonNode item : downlinks) { + JsonNode frmPayload = item.get("frm_payload"); + JsonNode fPort = item.get("f_port"); + if (frmPayload != null && downlinkPayloadBase64.equals(frmPayload.asText()) + && fPort != null && fPort.asInt() == DOWNLINK_F_PORT) { + matched = true; + break; + } + } + assertThat(matched) + .as("The Things Stack downlink queue should contain enqueued item with frm_payload=%s f_port=%d", downlinkPayloadBase64, DOWNLINK_F_PORT) + .isTrue(); + }); + } + private Integration createTtnIntegration(String region, String username, String password) { + return createTtnIntegration(region, username, password, null); + } + + private Integration createTtnIntegration(String region, String username, String password, JsonNode downlinkConverterConfig) { String host = region + ".cloud.thethings.network"; JsonNode config = JacksonUtil.toJsonNode(String.format(CONFIG_TEMPLATE, host, username, password, username)); @@ -121,6 +225,10 @@ public class TTNIntegrationTest extends AbstractIntegrationTest { uplinkConverter = testRestClient.postConverter(uplinkConverterPrototype(uplinkConverterCode)); integration.setDefaultConverterId(uplinkConverter.getId()); + if (downlinkConverterConfig != null) { + integration.setDownlinkConverterId(testRestClient.postConverter(downlinkConverterPrototype(downlinkConverterConfig)).getId()); + } + integration.setName("ttn_" + RandomStringUtils.randomAlphanumeric(7)); integration.setType(IntegrationType.TTN); integration.setEnabled(true); @@ -153,10 +261,40 @@ public class TTNIntegrationTest extends AbstractIntegrationTest { .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); + sendTtnRequest(request); + } + + // Reads the device's downlink queue from the Application Server REST API. + private JsonNode getDownlinkQueue(String region, String apiKey, String appId, String deviceId) throws Exception { + String url = String.format("https://%s.cloud.thethings.network/api/v3/as/applications/%s/devices/%s/down", + region, appId, deviceId); + HttpResponse response = sendTtnRequest(HttpRequest.newBuilder() + .uri(URI.create(url)) + .header("Authorization", "Bearer " + apiKey) + .GET() + .build()); + return JacksonUtil.toJsonNode(response.body()); + } + + // Replaces the device's downlink queue with an empty one. + private void clearDownlinkQueue(String region, String apiKey, String appId, String deviceId) throws Exception { + String url = String.format("https://%s.cloud.thethings.network/api/v3/as/applications/%s/devices/%s/down/replace", + region, appId, deviceId); + sendTtnRequest(HttpRequest.newBuilder() + .uri(URI.create(url)) + .header("Authorization", "Bearer " + apiKey) + .header("Content-Type", "application/json") + .POST(HttpRequest.BodyPublishers.ofString("{\"downlinks\":[]}")) + .build()); + } + + private HttpResponse sendTtnRequest(HttpRequest request) throws Exception { HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString()); if (response.statusCode() / 100 != 2) { - throw new RuntimeException("TTN simulate-uplink call failed: " + response.statusCode() + " - " + response.body()); + throw new RuntimeException("TTN API call failed: " + request.method() + " " + request.uri() + + " -> " + response.statusCode() + " - " + response.body()); } + return response; } private static String requireProperty(String key) { From c53fcb93a7c4dda17fbb03790eb4febd4f172d03 Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Thu, 4 Jun 2026 11:50:19 +0300 Subject: [PATCH 141/559] added test for Pub-sub integration --- msa/black-box-tests/pom.xml | 5 + .../integration/PubSubIntegrationTest.java | 179 ++++++++++++++++++ 2 files changed, 184 insertions(+) create mode 100644 msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/PubSubIntegrationTest.java diff --git a/msa/black-box-tests/pom.xml b/msa/black-box-tests/pom.xml index 82d4ca6810..c2cb568230 100644 --- a/msa/black-box-tests/pom.xml +++ b/msa/black-box-tests/pom.xml @@ -252,6 +252,11 @@ org.eclipse.leshan leshan-client-cf + + com.google.cloud + google-cloud-pubsub + test + diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/PubSubIntegrationTest.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/PubSubIntegrationTest.java new file mode 100644 index 0000000000..61e50d91b8 --- /dev/null +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/PubSubIntegrationTest.java @@ -0,0 +1,179 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.msa.integration; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import com.google.api.gax.core.CredentialsProvider; +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.auth.oauth2.ServiceAccountCredentials; +import com.google.cloud.pubsub.v1.Publisher; +import com.google.protobuf.ByteString; +import com.google.pubsub.v1.PubsubMessage; +import com.google.pubsub.v1.TopicName; +import lombok.extern.slf4j.Slf4j; +import org.apache.commons.lang3.RandomStringUtils; +import org.awaitility.Awaitility; +import org.testng.SkipException; +import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeMethod; +import org.testng.annotations.Test; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.debug.DebugSettings; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.integration.IntegrationType; +import org.thingsboard.server.msa.WsClient; + +import java.io.ByteArrayInputStream; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.Base64; +import java.util.concurrent.TimeUnit; + +import static org.thingsboard.server.msa.prototypes.ConverterPrototypes.uplinkConverterPrototype; + +/** + * Live integration test that exercises ThingsBoard's PUB_SUB integration against a real + * Google Cloud Pub/Sub subscription. The required cloud credentials are read from system + * properties (-DblackBoxTests.pubSub*=...). If any of them is unset, the test is skipped — + * so the class is safe to keep in CI without leaking secrets. + */ +@Slf4j +public class PubSubIntegrationTest extends AbstractIntegrationTest { + + private static final String ROUTING_KEY = "routing-key-pubsub-integration"; + private static final String SECRET_KEY = "secret-key-pubsub-integration"; + + private static final String DEVICE_NAME_PLACEHOLDER = "DEVICE_NAME"; + + // We ignore the inbound payload entirely and pin every uplink to the pre-created test device + // so the test does not depend on anything inside the published Pub/Sub message. + private static final String UPLINK_CONVERTER_CODE = + "function decodeToString(payload) { return String.fromCharCode.apply(String, payload); }\n" + + "function decodeToJson(payload) { return JSON.parse(decodeToString(payload)); }\n" + + "var data = decodeToJson(payload);\n" + + "var result = {\n" + + " deviceName: '" + DEVICE_NAME_PLACEHOLDER + "',\n" + + " deviceType: 'DEFAULT',\n" + + " telemetry: { temperature: '42' }\n" + + "};\n" + + "return result;"; + + private JsonNode uplinkConverterCode; + private WsClient wsClient; + + @BeforeMethod + public void setUp() { + uplinkConverterCode = JacksonUtil.newObjectNode() + .put("decoder", UPLINK_CONVERTER_CODE.replace(DEVICE_NAME_PLACEHOLDER, device.getName())); + } + + @AfterMethod + public void tearDown() throws Exception { + if (wsClient != null) { + wsClient.closeBlocking(); + wsClient = null; + } + } + + @Test + public void shouldReceiveUplinkFromPubSubSubscription() throws Exception { + String projectId = requireProperty("blackBoxTests.pubSubProjectId"); + String subscriptionId = requireProperty("blackBoxTests.pubSubSubscriptionId"); + String topicId = requireProperty("blackBoxTests.pubSubTopicId"); + String serviceAccountKey = resolveServiceAccountKey(requireProperty("blackBoxTests.pubSubServiceAccountKey")); + + createPubSubIntegration(projectId, subscriptionId, serviceAccountKey); + + wsClient = subscribeToWebSocket(device.getId(), "LATEST_TELEMETRY", CmdsType.TS_SUB_CMDS); + + publishUplink(projectId, topicId, serviceAccountKey); + + Awaitility + .await() + .atMost(TIMEOUT, TimeUnit.SECONDS) + .until(() -> wsClient.getLastMessage().getDataValuesByKey(TELEMETRY_KEY).get(1).equals(TELEMETRY_VALUE)); + } + + private Integration createPubSubIntegration(String projectId, String subscriptionId, String serviceAccountKey) { + ObjectNode config = JacksonUtil.newObjectNode(); + ObjectNode clientConfiguration = config.putObject("clientConfiguration"); + clientConfiguration.put("projectId", projectId); + clientConfiguration.put("subscriptionId", subscriptionId); + clientConfiguration.put("serviceAccountKey", serviceAccountKey); + clientConfiguration.put("serviceAccountKeyFileName", "key.json"); + config.putObject("metadata"); + + Integration integration = new Integration(); + integration.setConfiguration(config); + + uplinkConverter = testRestClient.postConverter(uplinkConverterPrototype(uplinkConverterCode)); + integration.setDefaultConverterId(uplinkConverter.getId()); + + integration.setName("pubsub_" + RandomStringUtils.randomAlphanumeric(7)); + integration.setType(IntegrationType.PUB_SUB); + integration.setEnabled(true); + integration.setRemote(false); + integration.setDebugSettings(DebugSettings.all()); + integration.setAllowCreateDevicesOrAssets(true); + integration.setRoutingKey(ROUTING_KEY); + integration.setSecret(SECRET_KEY); + + integration = testRestClient.postIntegration(integration); + waitUntilIntegrationStarted(integration.getId(), integration.getTenantId()); + return this.integration = integration; + } + + // Publishes a message to the topic that feeds the configured subscription. We publish to the + // topic directly (rather than resolving it from the subscription via the admin API) so the + // service account only needs publish rights — not subscription-admin permissions. + private void publishUplink(String projectId, String topicId, String serviceAccountKey) throws Exception { + ServiceAccountCredentials credentials = ServiceAccountCredentials.fromStream( + new ByteArrayInputStream(serviceAccountKey.getBytes(StandardCharsets.UTF_8))); + CredentialsProvider credentialsProvider = FixedCredentialsProvider.create(credentials); + + TopicName topicName = TopicName.of(projectId, topicId); + Publisher publisher = Publisher.newBuilder(topicName).setCredentialsProvider(credentialsProvider).build(); + try { + PubsubMessage message = PubsubMessage.newBuilder() + .setData(ByteString.copyFromUtf8("{\"temperature\":42}")) + .build(); + publisher.publish(message).get(); + } finally { + publisher.shutdown(); + publisher.awaitTermination(10, TimeUnit.SECONDS); + } + } + + // The service-account key is multi-line JSON and cannot be passed verbatim as a single -D + // system property, so we accept it in whichever form is convenient for the runner: + // - raw JSON (value starts with '{') — works when the launcher preserves it as one argument; + // - a path to the downloaded key file; + // - a base64-encoded blob (e.g. `base64 -w0 key.json`) — the safest for IDE VM-options fields. + private static String resolveServiceAccountKey(String raw) throws Exception { + String value = raw.trim(); + if (value.startsWith("{")) { + return value; + } + Path path = Path.of(value); + if (Files.isRegularFile(path)) { + return Files.readString(path, StandardCharsets.UTF_8); + } + return new String(Base64.getDecoder().decode(value), StandardCharsets.UTF_8); + } + + private static String requireProperty(String key) { + String value = System.getProperty(key); + if (value == null || value.isBlank()) { + throw new SkipException("Required system property '" + key + "' is not set — skipping Pub/Sub live test."); + } + return value; + } + + @Override + protected String getDevicePrototypeSufix() { + return "pubsub_"; + } + +} From 87c0a2dd401cd649f7bf7d228b4725e6b82214b1 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 14:43:49 +0300 Subject: [PATCH 142/559] Declare checker-qual in modules that use its nullness annotations --- common/dao-api/pom.xml | 4 ++++ common/version-control/pom.xml | 4 ++++ dao/pom.xml | 4 ++++ rule-engine/rule-engine-components/pom.xml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/common/dao-api/pom.xml b/common/dao-api/pom.xml index f835a8ac0e..a99d0be727 100644 --- a/common/dao-api/pom.xml +++ b/common/dao-api/pom.xml @@ -41,6 +41,10 @@ com.google.guava guava + + org.checkerframework + checker-qual + jakarta.annotation jakarta.annotation-api diff --git a/common/version-control/pom.xml b/common/version-control/pom.xml index b6690c03cc..7ef0fbcd84 100644 --- a/common/version-control/pom.xml +++ b/common/version-control/pom.xml @@ -58,6 +58,10 @@ com.google.guava guava + + org.checkerframework + checker-qual + com.fasterxml.jackson.core jackson-databind diff --git a/dao/pom.xml b/dao/pom.xml index 6deadce293..e1e4f2d2e8 100644 --- a/dao/pom.xml +++ b/dao/pom.xml @@ -169,6 +169,10 @@ com.google.guava guava + + org.checkerframework + checker-qual + com.google.protobuf protobuf-java diff --git a/rule-engine/rule-engine-components/pom.xml b/rule-engine/rule-engine-components/pom.xml index ebfaf2ffcd..35868dba47 100644 --- a/rule-engine/rule-engine-components/pom.xml +++ b/rule-engine/rule-engine-components/pom.xml @@ -64,6 +64,10 @@ com.google.guava guava + + org.checkerframework + checker-qual + com.google.code.gson gson From 822549016fdff7ac125b5720b79d653bfdae6d1f Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 14:45:25 +0300 Subject: [PATCH 143/559] Declare checker-qual in common/data for its nullness annotations --- common/data/pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/data/pom.xml b/common/data/pom.xml index e43fc52e60..6e30c03734 100644 --- a/common/data/pom.xml +++ b/common/data/pom.xml @@ -79,6 +79,10 @@ com.squareup.wire wire-schema-jvm + + org.checkerframework + checker-qual + org.thingsboard protobuf-dynamic From 8a924f73409e9b68421f668c7fa9a4fc7c22d726 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 13 Oct 2026 14:52:23 +0300 Subject: [PATCH 144/559] Address PR review feedback - Let LORIOT gw uplinks through the JS decoder guard (PR #16300) - Let LORIOT gw uplinks through the TBEL decoder guard (PR #16300) --- ui-ngx/src/assets/converters/js-loriot-decoder.raw | 4 ++-- ui-ngx/src/assets/converters/tbel-loriot-decoder.raw | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/assets/converters/js-loriot-decoder.raw b/ui-ngx/src/assets/converters/js-loriot-decoder.raw index 1e18fbe019..b0bcab08a2 100644 --- a/ui-ngx/src/assets/converters/js-loriot-decoder.raw +++ b/ui-ngx/src/assets/converters/js-loriot-decoder.raw @@ -52,10 +52,10 @@ function decodePayload(input) { // }; } -// Process only LORIOT uplink messages (cmd == 'rx'). +// Process only LORIOT uplink messages: cmd is 'rx', or 'gw' when gateway info is included. // Skip downlink confirmations (e.g. cmd == 'txd') and other events so they // are not stored as telemetry. Returning an empty array yields no uplink data. -if (metadata.cmd != 'rx') { +if (metadata.cmd != 'rx' && metadata.cmd != 'gw') { return []; } diff --git a/ui-ngx/src/assets/converters/tbel-loriot-decoder.raw b/ui-ngx/src/assets/converters/tbel-loriot-decoder.raw index ab2dfa83b4..248015eb7c 100644 --- a/ui-ngx/src/assets/converters/tbel-loriot-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-loriot-decoder.raw @@ -52,10 +52,10 @@ function decodePayload(input) { // }; } -// Process only LORIOT uplink messages (cmd == 'rx'). +// Process only LORIOT uplink messages: cmd is 'rx', or 'gw' when gateway info is included. // Skip downlink confirmations (e.g. cmd == 'txd') and other events so they // are not stored as telemetry. Returning an empty array yields no uplink data. -if (metadata.cmd != 'rx') { +if (metadata.cmd != 'rx' && metadata.cmd != 'gw') { return []; } From 55a277153d3effa48b5ca14e7ac6ec63897ea592 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 13 Oct 2026 14:55:57 +0300 Subject: [PATCH 145/559] fix: detect the type of resources from Content-Type when the URL does not tell it loadResource took the type of a resource from its URL path only, so URLs like Google Fonts' /icon?family=Material+Icons failed with "Unable to detect file type". When the path does not tell the type, it now comes from the Content-Type of a HEAD response: text/css or a JavaScript MIME type. This works for same-origin URLs and servers that allow cross-origin requests. --- .../app/core/services/resources.service.ts | 37 +++++++++++++++---- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/core/services/resources.service.ts b/ui-ngx/src/app/core/services/resources.service.ts index 46c020ca30..a8c34534d1 100644 --- a/ui-ngx/src/app/core/services/resources.service.ts +++ b/ui-ngx/src/app/core/services/resources.service.ts @@ -17,7 +17,7 @@ import { DOCUMENT } from '@angular/core'; -import { forkJoin, from, Observable, ReplaySubject, throwError } from 'rxjs'; +import { forkJoin, from, Observable, of, ReplaySubject, throwError } from 'rxjs'; import { HttpClient } from '@angular/common/http'; import { IModulesMap } from '@modules/common/modules-map.models'; import { TbResourceId } from '@shared/models/id/tb-resource-id'; @@ -26,7 +26,7 @@ import { AuthService } from '@core/auth/auth.service'; import { select, Store } from '@ngrx/store'; import { selectIsAuthenticated } from '@core/auth/auth.selectors'; import { AppState } from '@core/core.state'; -import { map, tap } from 'rxjs/operators'; +import { catchError, map, switchMap, tap } from 'rxjs/operators'; import { RequestConfig } from '@core/http/http-utils'; import { isJSResource, removeTbResourcePrefix } from '@shared/models/resource.models'; @@ -96,6 +96,22 @@ const resourceFileType = (url: string, baseUrl: string): string => { return /^(css|js)\d*$/.exec(segment)?.[1]; }; +// The file type of a resource served under a URL that does not tell it, as Google Fonts' /icon, from the Content-Type +// of a HEAD response. Works only for same-origin URLs and servers that allow cross-origin requests. +const resourceFileTypeFromContentType = (url: string): Observable => + from(fetch(url, {method: 'HEAD'})).pipe( + map(response => { + const mimeType = response.headers.get('content-type')?.split(';')[0].trim().toLowerCase(); + if (mimeType === 'text/css') { + return 'css'; + } else if (/^(text|application)\/(x-)?(javascript|ecmascript)$/.test(mimeType)) { + return 'js'; + } + return undefined; + }), + catchError(() => of(undefined)) + ); + const matchesSelector = (selectors: ɵCssSelectorList, selector: string) => selectors.some(s => s.some(s1 => typeof s1 === 'string' && s1 === selector)); @@ -160,12 +176,17 @@ export class ResourcesService { } const fileType = resourceFileType(url, this.document.baseURI); - if (!fileType) { - return throwError(() => new Error(`Unable to detect file type from url: ${url}`)); - } else if (fileType !== 'css' && fileType !== 'js') { - return throwError(() => new Error(`Unsupported file type: ${fileType}`)); - } - return this.loadResourceByType(fileType, url); + const fileType$ = fileType ? of(fileType) : resourceFileTypeFromContentType(url); + return fileType$.pipe( + switchMap(type => { + if (!type) { + return throwError(() => new Error(`Unable to detect file type from url: ${url}`)); + } else if (type !== 'css' && type !== 'js') { + return throwError(() => new Error(`Unsupported file type: ${type}`)); + } + return this.loadedResources[url] ? this.loadedResources[url].asObservable() : this.loadResourceByType(type, url); + }) + ); } public downloadResource(downloadUrl: string, config?: RequestConfig): Observable { From c96f5e457cc012df0886eac8dcc26f8d22f01ef0 Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Tue, 13 Oct 2026 15:28:58 +0300 Subject: [PATCH 146/559] Update Ukrainian, French and German translations for the 4.4 licensing UI (#16289) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update Ukrainian, French and German translations for the 4.4 licensing UI Translate the 294 keys added in 4.4 (license activation and setup, subscription and license management, platform-feature offers, agent limits in tenant profiles, CARTO map provider) into uk_UA, fr_FR and de_DE. Product names stay in English in all three languages: Community Grant, Professional Pack, Edge, Remote Agent, Trendz Analytics. Also align 35 existing strings with the same terminology, e.g. uk "ланцюг правил" (rule chain) and "екземпляр" (instance) in IoT Hub strings, fr strings that dropped "chaîne de règles" / "Edge", and de "White-Labeling". * Order the new uk, fr and de keys like en_US Keys that were added after review ended up at the end of their sections. Content is unchanged; only the position of 11 uk and 4 fr/de keys moves. * Remove uk, fr and de keys that en_US no longer has en_US dropped or renamed 16 keys in 4.4 (#16189, #16266 and the release itself), but the uk_UA, fr_FR and de_DE files kept them. None of them is referenced in the code. Each file now has exactly the en_US key set, minus language.locales, which falls back to en_US as before. No translation changes. --- .../assets/locale/locale.constant-de_DE.json | 370 +++++++++++++++- .../assets/locale/locale.constant-fr_FR.json | 382 +++++++++++++++-- .../assets/locale/locale.constant-uk_UA.json | 398 ++++++++++++++++-- 3 files changed, 1061 insertions(+), 89 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index 55909beb87..87d88383a8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "ThingsBoard aktivieren", + "initial": { + "welcome": "Willkommen bei ThingsBoard {{version}}", + "title": "Holen Sie sich Ihre kostenlose Lizenz und legen Sie los", + "desc": "Ein paar Minuten im Lizenzportal – Sie erstellen ein Konto, wählen eine Lizenz, und diese Instanz aktiviert sich selbst.", + "open-license-portal": "Lizenzportal öffnen", + "already-have-license": "Sie haben bereits eine Lizenz?", + "free-no-credit-card": "Dauerhaft kostenlos. Keine Kreditkarte erforderlich.", + "source-available": "Quellcode verfügbar unter" + }, + "waiting": { + "live-eyebrow": "Warten auf Aktivierung", + "title": "Im Lizenzportal fortfahren", + "desc": "Melden Sie sich an oder erstellen Sie ein Konto, wählen Sie eine Lizenz und akzeptieren Sie die Bedingungen. Diese Instanz aktiviert sich selbst, sobald die Lizenz ausgestellt wurde.", + "nothing-opened": "Nichts geöffnet?", + "paste-link-or-scan-qr-code": "Fügen Sie den Textlink auf einem beliebigen Gerät mit Internetzugang ein oder scannen Sie den QR-Code mit einem Smartphone.", + "text-link": "Textlink", + "qr-code": "QR-Code", + "qr-code-hint": "Richten Sie die Kamera eines Smartphones auf den Code und öffnen Sie dann den Link. Das Smartphone benötigt eine eigene Internetverbindung.", + "have-key": "Sie haben einen Lizenzschlüssel?", + "activate-key": "Lizenz mit einem Schlüssel aktivieren" + }, + "offline": { + "eyebrow": "Offline", + "title": "Von einem anderen Gerät aus aktivieren", + "desc": "Dieser Server kann das Lizenzportal nicht erreichen, daher sind zwei Schritte nötig: Holen Sie Ihre Lizenz dort auf einem verbundenen Gerät und geben Sie den Schlüssel dann hier ein.", + "get-your-license": "Lizenz im Portal abrufen", + "open-link": "Öffnen Sie diesen Link auf einem beliebigen Gerät mit Internetzugang. Sie melden sich an oder erstellen ein Konto, wählen eine Lizenz und akzeptieren die Bedingungen. Das Portal zeigt Ihnen anschließend einen Lizenzschlüssel an.", + "paste-key": "Schlüssel hier einfügen", + "no-connected-device": "Kein verbundenes Gerät vorhanden?" + }, + "have-key": { + "title": "Lizenz mit einem Schlüssel aktivieren", + "enter-license-key": "Geben Sie Ihren Lizenzschlüssel ein", + "enter-license-key-note": "Sie finden ihn in Ihrem Lizenzportal-Konto: Melden Sie sich auf einem beliebigen Gerät bei {{hostName}} an und kopieren Sie ihn von dort.", + "no-account": "Kein Konto und kein verbundenes Gerät?", + "contact-support": "Support kontaktieren" + }, + "key-form": { + "placeholder": "Lizenzschlüssel einfügen", + "invalid": "Dieser Schlüssel ist für diese Instanz nicht gültig. Prüfen Sie, ob ein Zeichen fehlt, oder wenden Sie sich an den Support.", + "activate": "Aktivieren", + "activating": "Wird aktiviert" + }, + "account": { + "title": "Diese Instanz ist aktiviert", + "desc": "Ihre Lizenz ist auf diesem Server und in Ihrem Lizenzportal-Konto gespeichert.", + "create-sys-admin-account": "Systemadministrator-Konto erstellen", + "create-sys-admin-account-hint": "Damit melden Sie sich an diesem Server an – getrennt vom Lizenzportal-Konto, das Ihre Lizenz enthält.", + "email-label": "E-Mail", + "email-required": "Geben Sie eine E-Mail-Adresse ein.", + "email-invalid": "Geben Sie eine gültige E-Mail-Adresse ein.", + "password-label": "Passwort", + "password-required": "Geben Sie ein Passwort ein.", + "password-min-length": "Das Passwort muss mindestens 6 Zeichen lang sein.", + "confirm-label": "Passwort bestätigen", + "confirm-required": "Bestätigen Sie Ihr Passwort.", + "confirm-mismatch": "Die Passwörter stimmen nicht überein.", + "demo-tenant-title": "Demo-Mandanten einrichten", + "demo-tenant-desc": "Der schnellste Weg, die Plattform in Aktion zu erleben. Dashboards, Geräte und Regelketten sind bereits eingerichtet, Mandanten- und Kundenbenutzer stehen zur Anmeldung bereit. Sie können den Mandanten auch als Systemadministrator unter Mandanten öffnen.", + "create": "Konto erstellen", + "creating": "Konto wird erstellt" + }, + "demo-tenant": { + "signed-in-as": "Ihr Systemadministrator-Konto wurde erstellt, und Sie sind als {{email}} angemeldet.", + "title": "Möchten Sie den Demo-Mandanten erkunden?", + "desc": "Die Grundlagen sind bereits konfiguriert – öffnen Sie ein Dashboard, ändern Sie eine Regel oder verbinden Sie ein eigenes Gerät.", + "dashboards": "Dashboards – auf den unten aufgeführten Geräten aufgebaut, mit bereits eingerichteten Widget-Bindungen", + "devices": "Geräte – mit ihren Geräteprofilen und Alarmregeln; bisher hat noch nichts Daten gesendet", + "rule-chains": "Regelketten – hier wird über diese Alarme entschieden", + "explore": "Demo-Mandanten erkunden", + "not-now": "Jetzt nicht", + "not-now-hint": "Mit „Jetzt nicht“ gelangen Sie zur Systemverwaltung.", + "signing-in-later": "Später anmelden", + "demo-tenant-hint": "Der eigene Administrator des Mandanten. Als Systemadministrator können Sie den Mandanten auch über Mandanten ohne Passwort öffnen." + }, + "non-production": { + "eyebrow": "Erneute Bestätigung erforderlich", + "title": "Bestätigen Sie, dass diese Bereitstellung weiterhin nicht produktiv ist.", + "desc": "Diese Instanz läuft mit einer kostenlosen Nicht-Produktiv-Lizenz, die regelmäßig von einem Systemadministrator erneut bestätigt wird. Die Bestätigung hat keine Auswirkungen auf Ihre Daten, Benutzer oder Gerätekonnektivität.", + "confirm": "Bestätigen", + "confirming": "Wird bestätigt", + "sysadmin-required": "Nur ein Systemadministrator kann dies bestätigen.", + "login-as-sysadmin": "Als Systemadministrator anmelden", + "state-verify-failed": "Bestätigt, aber der Status konnte nicht überprüft werden. Bitte aktualisieren Sie die Seite.", + "state-not-updated": "Diese Instanz meldet die Bestätigung weiterhin als ausstehend. Bitte aktualisieren Sie die Seite und bestätigen Sie erneut." + }, + "errors": { + "signin-failed": "Konto erstellt, aber die automatische Anmeldung ist fehlgeschlagen. Bitte aktualisieren Sie die Seite und melden Sie sich manuell an.", + "state-not-updated": "Die Einrichtung wurde abgeschlossen, aber der Status wurde nicht aktualisiert. Bitte aktualisieren Sie die Seite.", + "state-verify-failed": "Die Einrichtung wurde abgeschlossen, aber der Status konnte nicht überprüft werden. Bitte aktualisieren Sie die Seite.", + "no-sign-up-url": "Diese Instanz hat ohne Link geantwortet, daher gibt es nichts zu öffnen.", + "link-expired": "Dieser Link ist abgelaufen. Öffnen Sie das Lizenzportal erneut, um einen neuen Link zu erhalten.", + "activated-state-verify-failed": "Diese Instanz ist lizenziert, aber der nächste Schritt konnte noch nicht gelesen werden. Es wird weiter versucht – Sie können die Seite auch aktualisieren.", + "no-connection": "Keine Verbindung zum Server. Versuchen Sie es später erneut.", + "request-failed": "Die Anfrage ist fehlgeschlagen. Bitte versuchen Sie es erneut." + } + }, "access": { "unauthorized": "Nicht autorisiert", "unauthorized-access": "Unbefugter Zugriff", @@ -53,6 +152,7 @@ "refresh": "Aktualisieren", "undo": "Rückgängig", "copy": "Kopieren", + "copied": "Kopiert", "paste": "Einfügen", "copy-reference": "Referenz kopieren", "paste-reference": "Referenz einfügen", @@ -80,6 +180,7 @@ "reset-default": "Auf Standard zurücksetzen", "show-more": "Mehr anzeigen", "dont-show-again": "Nicht erneut anzeigen", + "dont-show-this-again": "Nicht mehr anzeigen", "see-documentation": "Dokumentation ansehen", "see-debug-events": "Debug-Ereignisse ansehen", "clear": "Löschen", @@ -966,6 +1067,7 @@ "prev-widget": "Vorheriges Widget", "add-to-dashboard": "Zum Dashboard hinzufügen", "add-widget-to-dashboard": "Widget zum Dashboard hinzufügen", + "no-widget-grid-in-dashboard": "Alle Zustände dieses Dashboards sind HTML-Seiten, daher kann das Widget nicht hinzugefügt werden.", "selected-attributes": "{ count, plural, one {# Attribut} other {# Attribute} } ausgewählt", "selected-telemetry": "{ count, plural, one {# Telemetrieeinheit} other {# Telemetrieeinheiten} } ausgewählt", "no-attributes-text": "Keine Attribute gefunden", @@ -1210,6 +1312,7 @@ "type-timeseries-deleted": "Telemetrie gelöscht", "type-owner-changed": "Besitzer gewechselt", "type-sms-sent": "SMS gesendet", + "type-non-production-confirmed": "Nicht-Produktivnutzung bestätigt", "any-type": "Beliebiger Typ", "audit-log-filter-title": "Audit-Protokoll-Filter", "filter-title": "Filter", @@ -2072,7 +2175,6 @@ "manage-public-dashboards": "Öffentliche Dashboards verwalten", "manage-customer-assets": "Kundenassets verwalten", "manage-customer-edges": "Kunden-Edges verwalten", - "manage-customer-agents": "Agents verwalten", "manage-public-assets": "Öffentliche Assets verwalten", "add-customer-text": "Neuen Kunden hinzufügen", "no-customers-text": "Keine Kunden gefunden", @@ -2117,7 +2219,8 @@ "search": "Kunden suchen", "selected-customers": "{ count, plural, one {# Kunde} other {# Kunden} } ausgewählt", "edges": "Edge-Instanzen des Kunden", - "manage-edges": "Edges verwalten" + "manage-edges": "Edges verwalten", + "manage-agents": "Agents verwalten" }, "customers-hierarchy": { "customers-hierarchy": "Kundenhierarchie", @@ -2273,6 +2376,8 @@ "no-widgets": "Keine Widgets konfiguriert", "add-widget": "Neues Widget hinzufügen", "add-widget-button-text": "Widget hinzufügen", + "edit-html-page": "HTML-Seite bearbeiten", + "html-page": "HTML-Seite", "title": "Titel", "image": "Dashboard-Bild", "mobile-app-settings": "Einstellungen für mobile App", @@ -2282,6 +2387,7 @@ "update-new-version": "Neue Version hochladen", "upload-file-to-update": "Datei zum Aktualisieren hochladen", "take-screenshot": "Screenshot erstellen", + "take-screenshot-failed": "Der Screenshot des Dashboards konnte nicht erstellt werden. Bitte versuchen Sie es erneut.", "select-widget-title": "Widget auswählen", "select-widget-value": "{{title}}: Widget auswählen", "select-widget-subtitle": "Liste verfügbarer Widget-Typen", @@ -2345,6 +2451,7 @@ "layout-type-default": "Standard", "layout-type-scada": "SCADA", "layout-type-divider": "Trennlinie", + "layout-type-html": "HTML-Seite", "layout-settings-type": "Layout-Einstellungen: Bildschirm „{{ type }}“", "columns-count": "Spaltenanzahl", "columns-count-required": "Spaltenanzahl ist erforderlich.", @@ -3464,7 +3571,7 @@ "no-downlinks-prompt": "Keine Downlinks gefunden", "sync-process-started-successfully": "Synchronisationsprozess erfolgreich gestartet!", "missing-related-rule-chains-title": "Edge hat fehlende zugehörige Regelketten", - "missing-related-rule-chains-text": "Zugewiesene Regelketten verwenden Knoten, die Nachrichten an nicht zugewiesene Regelketten weiterleiten.

Liste fehlender Regelketten:
{{missingRuleChains}}", + "missing-related-rule-chains-text": "Die der Edge zugewiesenen Regelketten verwenden Regelknoten, die Nachrichten an Regelketten weiterleiten, die dieser Edge nicht zugewiesen sind.

Liste fehlender Regelketten:
{{missingRuleChains}}", "widget-datasource-error": "Dieses Widget unterstützt nur Edge-Entitätsdatenquellen", "assign-to-edge": "Edge zuweisen", "assign-to-edge-title": "Entitätsgruppe(n) der Edge zuweisen", @@ -4211,6 +4318,7 @@ "disconnected": "Getrennt" }, "error": { + "data-export-failed": "Datenexport fehlgeschlagen: Der Bereitstellungsmodus konnte nicht ermittelt werden. Bitte versuchen Sie es erneut.", "unable-to-connect": "Verbindung zum Server nicht möglich! Bitte überprüfen Sie Ihre Internetverbindung.", "unhandled-error-code": "Unbehandelter Fehlercode: {{errorCode}}", "unknown-error": "Unbekannter Fehler" @@ -5586,6 +5694,7 @@ "type-ttn-description": "Offenes und dezentrales LoRaWAN-Netzwerk.", "type-tti": "The Things Stack Industries", "type-tti-description": "Software zum Betrieb privater LoRaWAN-Netzwerke im großen Maßstab.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN-Netzwerkkonfigurationsserver.", "type-particle": "Particle", @@ -6163,8 +6272,6 @@ "item": { "type-widget": "Widget", "type-widget-plural": "Widgets", - "type-dashboard": "Dashboard", - "type-dashboard-plural": "Dashboards", "type-solution-template": "Lösungsvorlage", "type-solution-template-plural": "Lösungsvorlagen", "type-calculated-field": "Berechnetes Feld", @@ -6186,6 +6293,8 @@ "search": "Suchen...", "search-published-items": "Veröffentlichte Elemente suchen...", "see-all-results": "Alle Ergebnisse anzeigen", + "see-all-results-for": "Alle {{ count }} Ergebnisse für „{{ search }}“ anzeigen", + "see-results-for": "Ergebnisse für „{{ search }}“ anzeigen", "no-search-results": "Keine Ergebnisse für '{{ search }}' gefunden", "no-items-available": "Keine Elemente verfügbar", "search-results": "Suchergebnisse", @@ -6208,9 +6317,9 @@ "type": "Typ", "items-per-page": "Elemente pro Seite", "filter": "Filter", + "clear-filters": "Filter zurücksetzen", "available": "Verfügbar", "items-page-desc-widgets": "Starten Sie Ihre IoT-Reise mit vorkonfigurierten Widgets, die für Ihre Branche entwickelt wurden. Setzen Sie bewährte Architekturen sofort ein und konzentrieren Sie Ihre Energie auf das Wesentliche: Ihre individuelle Geschäftslogik.", - "items-page-desc-dashboards": "Entdecken Sie Dashboards mit vorgefertigten Visualisierungsvorlagen und interaktiven UI-Layouts, die Sie in wenigen Minuten bereitstellen können, um Ihre IoT-Daten zum Leben zu erwecken.", "items-page-desc-solution-templates": "Vollständige IoT-Lösungspakete mit Dashboards, Regelketten und Gerätekonfigurationen. Starten Sie mit bewährten Architekturen.", "items-page-desc-calculated-fields": "Nutzen Sie vorkonfigurierte berechnete Felder, um komplexe Kennzahlen wie Kraftstoffeffizienz oder Leistungsfaktor zu automatisieren. Sparen Sie sich die manuelle Logik und halten Sie Ihre Dashboards übersichtlich und handlungsrelevant.", "items-page-desc-alarm-rules": "Nutzen Sie vorgefertigte Alarmregel-Vorlagen, um kritische Zustände wie niedrigen Batteriestand, Schwellenwertüberschreitungen oder offline gehende Geräte zu erkennen. Sparen Sie sich das Schreiben der Regellogik und reagieren Sie auf Vorfälle, sobald sie auftreten.", @@ -6218,8 +6327,6 @@ "items-page-desc-devices": "Entdecken Sie die Gerätebibliothek mit vorkonfigurierten Konnektivitätsvorlagen, die Sie in wenigen Minuten bereitstellen können, um Ihre Hardware sofort anzubinden.", "device-library": "Gerätebibliothek", "most-popular-in-iot-hub": "Am beliebtesten im IoT Hub", - "pe-required-title": "Professional Edition erforderlich", - "pe-required-message": "Dieses Element ist nur in der ThingsBoard Professional Edition verfügbar. Sie verwenden derzeit die Community Edition. Führen Sie ein Upgrade auf die Professional Edition durch, um es zu installieren.", "upgrade-required-title": "ThingsBoard-Upgrade erforderlich", "upgrade-required-message": "Dieses Element erfordert ThingsBoard {{minVersion}} oder neuer. Sie verwenden derzeit {{currentVersion}}. Bitte führen Sie ein Upgrade Ihrer Instanz durch, um es zu installieren.", "upgrade-instance": "Instanz upgraden", @@ -6227,29 +6334,28 @@ "contribute": "Beitragen", "creator-profile": "Ersteller-Profil", "title-widgets": "Widgets", - "title-dashboards": "Dashboards", "title-calculated-fields": "Berechnete Felder", "title-alarm-rules": "Alarmregeln", "title-rule-chains": "Regelketten", "title-devices": "Geräte", "title-solution-templates": "Lösungsvorlagen", "subtitle-widgets": "Community-Widgets für Ihre Dashboards durchsuchen", - "subtitle-dashboards": "Einsatzbereite Dashboards durchsuchen", "subtitle-solution-templates": "Vollständige IoT-Lösungspakete durchsuchen", "subtitle-calculated-fields": "Vorlagen für berechnete Felder durchsuchen", "subtitle-alarm-rules": "Vorlagen für Alarmregeln durchsuchen", "subtitle-rule-chains": "Vorlagen für Regelketten durchsuchen", "subtitle-devices": "Gerätekonfigurationen durchsuchen", - "search-dashboards": "Dashboards suchen...", "search-solution-templates": "Lösungsvorlagen suchen...", "search-calculated-fields": "Berechnete Felder suchen...", "search-alarm-rules": "Alarmregeln suchen...", "search-rule-chains": "Regelketten suchen...", "search-devices": "Geräte suchen...", + "sort-most-relevant": "Höchste Relevanz", "sort-most-installed": "Am häufigsten installiert", "sort-newest": "Neueste", "sort-name": "Name (A-Z)", "type-filter-label": "Typ", + "verified-creators-only": "Nur verifizierte Ersteller", "category": "Kategorie", "use-case": "Anwendungsfall", "vendor": "Hersteller", @@ -6306,9 +6412,9 @@ "open": "Öffnen", "built-in": "Integriert", "built-in-lookup-failed-title": "Diese Komponente konnte nicht geprüft werden", - "built-in-lookup-failed-text": "Es konnte nicht geprüft werden, ob '{{name}}' in dieser Instanz bereits vorhanden ist. Es wurde nichts installiert — bitte versuchen Sie es erneut.", + "built-in-lookup-failed-text": "Es konnte nicht geprüft werden, ob „{{name}}“ in dieser Instanz bereits vorhanden ist. Es wurde nichts installiert – bitte versuchen Sie es erneut.", "built-in-missing-title": "In dieser Instanz nicht verfügbar", - "built-in-missing-text": "'{{name}}' wird normalerweise mit ThingsBoard ausgeliefert, ist in dieser Instanz aber nicht vorhanden — möglicherweise wurde es vom Systemadministrator gelöscht. Sie können es stattdessen aus dem IoT Hub installieren.", + "built-in-missing-text": "„{{name}}“ wird normalerweise mit ThingsBoard ausgeliefert, ist in dieser Instanz aber nicht vorhanden – möglicherweise wurde es vom Systemadministrator gelöscht. Sie können es stattdessen aus dem IoT Hub installieren.", "connect": "Verbinden", "connect-device": "Gerät verbinden", "installing": "Wird installiert...", @@ -6344,6 +6450,7 @@ "update-confirm": "'{{name}}' auf Version {{version}} aktualisieren?", "update-confirm-title": "'{{name}}' aktualisieren?", "update-desc": "Durch die Aktualisierung wird die aktuelle Version durch die neueste ersetzt und die zugehörigen Ressourcen in Ihrem Mandanten werden neu konfiguriert", + "update-desc-solution-template": "Beim Aktualisieren dieser Lösungsvorlage werden alle von ihr erstellten Entitäten gelöscht und neu erstellt, einschließlich Dashboards, Regelketten, Geräte und anderer zugehöriger Ressourcen in Ihrem Mandanten. Alle von Ihnen vorgenommenen Änderungen gehen verloren", "update-success-desc": "'{{name}}' wurde erfolgreich aktualisiert", "updating": "Wird aktualisiert...", "update-success-title": "Aktualisierung erfolgreich", @@ -6470,6 +6577,8 @@ "no-data": "Keine Einträge" }, "layout": { + "switch-to-html-page-title": "Auf HTML-Seite umstellen?", + "switch-to-html-page-text": "Die HTML-Seite ersetzt das Widget-Raster dieses Zustands. Die in den zugehörigen Layouts platzierten Widgets ({ count, plural, one {# Widget} other {# Widgets} }) werden aus diesem Zustand entfernt.", "layout": "Layout", "layouts": "Layouts", "manage": "Layouts verwalten", @@ -7068,6 +7177,8 @@ "entities-limit": "Entitätenlimit", "entities-limit-increase-request": "Anfrage zur Erhöhung des Entitätenlimits", "addon-access-error": "Fehler beim Add-on-/Funktionszugriff", + "addon-access-request": "Zugriffsanfrage für Add-on/Feature", + "plan-upgrade-request": "Tarif-Upgrade-Anfrage", "entity-action": "Entitätsaktion", "general": "Allgemein", "integration-lifecycle-event": "Lebenszyklusereignis der Integration", @@ -8840,8 +8951,6 @@ "single-entity": "Einzelne Entität", "group-entities": "Entitätsgruppe", "entities-group-owner": "Besitzer der Entitätsgruppe", - "single-device": "Einzelnes Gerät", - "group-of-devices": "Gerätegruppe", "devices-group-owner": "Besitzer der Gerätegruppe", "message-body": "Nachrichteninhalt", "target": "Ziel", @@ -9427,6 +9536,12 @@ "maximum-scheduler-events": "Maximale Anzahl Zeitplanereignisse", "maximum-scheduler-events-required": "Maximale Anzahl Zeitplanereignisse ist erforderlich.", "maximum-scheduler-events-range": "Maximale Anzahl Zeitplanereignisse darf nicht negativ sein", + "maximum-agents": "Maximale Anzahl an Agents", + "maximum-agents-required": "Maximale Anzahl an Agents ist erforderlich.", + "maximum-agents-range": "Maximale Anzahl an Agents darf nicht negativ sein", + "maximum-agent-applications": "Maximale Anzahl an Agent-Anwendungen", + "maximum-agent-applications-required": "Maximale Anzahl an Agent-Anwendungen ist erforderlich.", + "maximum-agent-applications-range": "Maximale Anzahl an Agent-Anwendungen darf nicht negativ sein", "maximum-resources-sum-data-size": "Maximale Gesamtgröße der Ressourcendateien (Byte)", "maximum-resources-sum-data-size-required": "Maximale Gesamtgröße der Ressourcendateien ist erforderlich.", "maximum-resources-sum-data-size-range": "Maximale Gesamtgröße der Ressourcendateien darf nicht negativ sein", @@ -11320,9 +11435,9 @@ "under-logo": "Unter dem Logo", "bottom": "Am unteren Rand des Login-Formulars" }, - "reset-white-label-title": "Möchten Sie die White-Label-Einstellungen wirklich auf Standard zurücksetzen?", + "reset-white-label-title": "Möchten Sie die White-Labeling-Einstellungen wirklich auf Standard zurücksetzen?", "reset-white-label-text": "Achtung: Nach der Bestätigung gehen alle benutzerdefinierten Einstellungen verloren und können nicht wiederhergestellt werden.", - "reset-login-white-label-title": "Möchten Sie die White-Label-Einstellungen für den Login wirklich auf Standard zurücksetzen?", + "reset-login-white-label-title": "Möchten Sie die White-Labeling-Einstellungen für den Login wirklich auf Standard zurücksetzen?", "reset-login-white-label-text": "Achtung: Nach der Bestätigung gehen alle benutzerdefinierten Einstellungen verloren und können nicht wiederhergestellt werden.", "app-title-max-length": "Der Anwendungstitel darf nicht länger als 256 Zeichen sein", "logo-and-titles": "Logo & Titel", @@ -12536,9 +12651,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -12870,10 +12988,7 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Zugangsdaten", - "here-app-id": "HERE App-ID", - "here-app-code": "HERE App-Code", "here-api-key": "HERE API-Schlüssel", - "here-use-new-version-api-3": "API-Version 3 verwenden", "tencent-maps-api-key": "Tencent Maps API-Schlüssel", "tencent-map-type-roadmap": "Straßenkarte", "tencent-map-type-satelite": "Satellit", @@ -13742,6 +13857,7 @@ "license-portal": "Lizenzportal", "devices-info": "{count} / { max, plural, =0 {∞} other {#} } Geräte", "assets-info": "{count} / { max, plural, =0 {∞} other {#} } Assets", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edges", "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } Dashboards", "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } Integrationen", "community-support": "Community-Support", @@ -13910,6 +14026,214 @@ "search-icon": "Symbol suchen", "no-icons-found": "Keine Symbole für '{{iconSearch}}' gefunden" }, + "subscription": { + "entity-limit-text": "Sie können jedoch Ihren Tarif upgraden, um Ihre Limits zu erhöhen.", + "upgrade-your-plan": "Tarif upgraden", + "license-management": "Lizenzverwaltung", + "perpetual-license": "Unbefristete Lizenz", + "subscription": "Abonnement", + "perpetual": "Unbefristet", + "manage-license": "Lizenz verwalten", + "updated-ago": "Aktualisiert {{ago}}", + "usage-and-limits": "Nutzung und Limits", + "add-ons": "Add-ons", + "included": "Enthalten", + "not-included": "Nicht enthalten", + "add-to-license": "Zur Lizenz hinzufügen", + "change-key-title": "Zu einer anderen Lizenz wechseln?", + "change-key-text": "Wechseln Sie zu einer anderen Lizenz oder aktivieren Sie eine Air-Gap-Bereitstellung mit einem Offline-Schlüssel.", + "enter-key": "Schlüssel eingeben", + "enter-license-key": "Lizenzschlüssel eingeben", + "applying-key-text": "Das Anwenden eines Schlüssels ändert, wofür diese Bereitstellung lizenziert ist.", + "keys-issued-text": "Schlüssel werden im {{licensePortal}} ausgestellt. Melden Sie sich auf einem beliebigen Gerät an und kopieren Sie dort einen.", + "check-key": "Schlüssel prüfen", + "checking-key": "Dieser Schlüssel wird geprüft...", + "current": "Aktuell", + "this-key": "Dieser Schlüssel", + "replace-license": "Lizenz ersetzen", + "new-license-applied": "Neuer Lizenzschlüssel wurde angewendet.", + "updates-and-support-until": "Updates und Support bis {{date}}.", + "next-charge-and-due-date": "Nächste Abbuchung {{total}} am {{date}}, fällig bis {{dueDate}}.", + "refresh-license-info": "Lizenzinfos aktualisieren", + "non-production-mode": "Entwicklungsmodus – nur für den Nicht-Produktiv-Einsatz", + "non-production-mode-details": "Geräte-, Asset- und Edge-Kontingente sind unbegrenzt; White-Labeling ist nicht verfügbar. Diese Instanz nicht in der Produktion verwenden.", + "offline-mode": "Offline-Modus", + "devices": "Geräte", + "number-of-devices": "{ count, plural, one {# Gerät} other {# Geräte} }", + "unlimited-devices": "Unbegrenzte Geräte", + "add-devices": "Geräte hinzufügen", + "device-limit-warn": "Geräte haben {{ percent }} Ihres Limits erreicht.", + "device-limit-critical": "Das Gerätelimit ist erreicht. Neue Geräte werden erst registriert, wenn das Limit erhöht wird.", + "assets": "Assets", + "add-assets": "Assets hinzufügen", + "prod-instances": "Produktionsinstanzen", + "add-instances": "Instanzen hinzufügen", + "ai-credits": "KI-Credits", + "add-credits": "Credits hinzufügen", + "white-labeling": "White-Labeling", + "edge": "Edge Computing", + "edges": "Edges", + "add-edges": "Edges hinzufügen", + "agents": "Remote Agents", + "add-agents": "Remote Agents hinzufügen", + "trendz": "Trendz Analytics", + "name-addon": "{{name}} Add-on", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { {name} hinzufügen } other { {name} hinzufügen } }", + "add-addon-subscription": "{{name}} ist ein kostenpflichtiges Add-on und erhöht Ihre monatlichen Kosten.", + "add-addon-perpetual": "{{name}} ist ein kostenpflichtiges Add-on, das einmalig für diese Lizenz erworben wird.", + "upgrade-plan-devices": "Bei {{plan}} ist Ihr Gerätelimit im Tarif enthalten.", + "upgrade-plan-instances": "Bei {{plan}} ist Ihr Limit für Produktionsinstanzen im Tarif enthalten.", + "upgrade-plan-credits": "Bei {{plan}} sind Ihre monatlichen KI-Credits im Tarif enthalten.", + "upgrade-plan-edges": "Bei {{plan}} ist Ihr Edge-Limit im Tarif enthalten.", + "upgrade-plan-agents": "Bei {{plan}} ist Ihr Limit für Remote Agents im Tarif enthalten.", + "upgrade-plan-white-labeling": "Jeder kostenpflichtige Tarif enthält White-Labeling.", + "upgrade-plan-addon": "{{name}} ist ein kostenpflichtiges Add-on. Add-ons erfordern einen kostenpflichtigen Tarif.", + "ce-grant-case": "Jeder Kauf wandelt Ihren Community Grant in eine unbefristete kommerzielle Lizenz um. Sie zahlen für das, was Sie hinzufügen, nicht für das, was der Community Grant bereits abdeckt.", + "pe-pack-case": "Das Professional Pack ist ein einmaliger Kauf zum gleichen Preis für alle Inhaber eines Community Grant.", + "ce-grant-white-label": "Was Sie bereits mit Ihrem eigenen Branding versehen haben, bleibt mit Ihrem Community Grant kostenlos.", + "open-portal-manage-license": "Wir öffnen die Lizenz dieser Bereitstellung im Lizenzportal. Eventuell müssen Sie sich anmelden. Klicken Sie auf Aktualisieren, wenn Sie zurück sind.", + "open-portal-upgrade-plan": "Wir öffnen das Lizenzportal und schlagen einen Tarif vor. Eventuell müssen Sie sich anmelden. Klicken Sie auf Aktualisieren, wenn Sie zurück sind.", + "open-portal": "Portal öffnen", + "add-license-item-title": "Um {{ item }} {{ action }}, müssen Sie Ihr {{ package }} im ThingsBoard Lizenzportal aktualisieren.", + "action-add": "hinzuzufügen", + "action-enable": "zu aktivieren", + "package-subscription": "Abonnement", + "package-perpetual": "Lizenzpaket", + "go-to-license-portal": "Zum Lizenzportal", + "add-license-item-step-first": "Wir leiten Sie zum Lizenzportal weiter.", + "add-license-item-step-second": "Sobald Sie sich anmelden, öffnen wir automatisch die Details zu Ihrem {{ package }}.", + "add-license-item-step-third": "Fügen Sie „{{ item }}“ zu Ihrem {{ package }} hinzu.", + "add-license-item-step-fourth": "Klicken Sie anschließend unten auf „Lizenzinfos aktualisieren“, um Ihr {{ package }} sofort zu aktualisieren.", + "request-feature-sysadmin-text": "Sind Sie der Systemadministrator?", + "login-here": "Melden Sie sich hier an", + "to-get-addon": "und erhalten Sie das Add-on.", + "request-edge-title": "Halten Sie Ihre Standorte am Laufen, auch wenn das Netzwerk ausfällt", + "request-edge-text": "Setzen Sie Edge-Instanzen ein, um Verarbeitung und Analyse auf Ihre Infrastruktur zu verteilen. Wichtige Funktionen:", + "edge-card-autonomy-title": "Autonomie", + "edge-card-autonomy-text": "Gewährleistet sofortigen lokalen Betrieb, auch bei Netzwerkausfällen", + "edge-card-filtering-title": "Filterung", + "edge-card-filtering-text": "Reduziert Cloud-Datenverkehr und Kosten, indem nur validierte, wertvolle Daten gesendet werden", + "edge-card-latency-title": "Latenz", + "edge-card-latency-text": "Ermöglicht Echtzeitsteuerung und schnelle Reaktionen durch lokale Verarbeitung der Daten", + "edge-card-security-title": "Sicherheit", + "edge-card-security-text": "Bietet einen sicheren Puffer zwischen OT-Geräten und der öffentlichen Cloud", + "edge-card-efficiency-title": "Effizienz", + "edge-card-efficiency-text": "Normalisiert und aggregiert Daten nahe der Quelle und entlastet so die Cloud", + "request-edge-action-text": "Edge Management ist als Add-on verfügbar. Wenden Sie sich an Ihren Systemadministrator, um es zu aktivieren.", + "request-access": "Zugriff anfordern", + "requested": "Angefordert", + "upgrade-plan": "Tarif upgraden", + "learn-more": "Mehr erfahren", + "feature-request-sent-title": "Wir haben eine automatische Anfrage an Ihren Systemadministrator gesendet, um {{addonName}} zu aktivieren", + "feature-request-sent-text": "Bitte geben Sie ihm etwas Zeit, die Anfrage zu prüfen und die Einstellungen zu aktualisieren. Möglicherweise müssen Sie diese Seite aktualisieren, um die Änderungen zu sehen.", + "request-trendz-title": "Wandeln Sie IoT-Datensätze mit {{name}} in Erkenntnisse um und vereinfachen Sie die Entscheidungsfindung", + "request-trendz-text": "Nutzen Sie leistungsstarke No-Code-IoT-Analytik in einem einheitlichen KI-gestützten Arbeitsbereich, in dem Sie Telemetrie erkunden, Logik erstellen, Anomalien erkennen, Prognosen generieren und Rohdaten in klare, umsetzbare Erkenntnisse verwandeln", + "request-trendz-action-text": "{{name}} ist als Add-on verfügbar. Wenden Sie sich an Ihren Systemadministrator, um es zu aktivieren.", + "trendz-card-metric-explorer-title": "Metric Explorer", + "trendz-card-metric-explorer-text": "Tauchen Sie mit No-Code-Analyse, benutzerdefinierten Metriken und sofortigen visuellen Erkenntnissen tief in die Telemetrie ein", + "trendz-card-anomaly-title": "Anomalieerkennung", + "trendz-card-anomaly-text": "Erkennt ungewöhnliches Verhalten in Ihren Daten automatisch", + "trendz-card-calculation-title": "Berechnete Felder", + "trendz-card-calculation-text": "Geschäftslogik definieren, Telemetrie transformieren und neue Metriken erstellen", + "trendz-card-prediction-title": "Prognosemodelle", + "trendz-card-prediction-text": "Zukünftige Werte vorhersagen und Trends erkennen mit integrierten ML-Modellen", + "trendz-card-views-title": "Ansichten", + "trendz-card-views-text": "Teilbare Analyse-Dashboards für Teams und Kunden erstellen – alles an einem Ort.", + "trendz-card-ai-assistant-title": "KI-Assistent", + "trendz-card-ai-assistant-text": "Logik generieren, Formeln verfeinern und die Metrikerstellung automatisieren – mit KI in natürlicher Sprache.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Integrationen, Zeitplaner, Berichte und White-Labeling.", + "pe-pack-desc": "Erweitert Ihren Community Grant auf den vollen Funktionsumfang.", + "request-pe-pack": "Das vollständige Professional Pack anfordern", + "add-pe-pack": "Das vollständige Professional Pack hinzufügen", + "pe-pack-extend-ce": "Erweitert Ihren Community Grant auf den vollen Funktionsumfang.", + "sys-admin-pe-pack-note": "Systemadministrator? Melden Sie sich an und fügen Sie das Professional Pack in der Lizenzverwaltung hinzu.", + "pe-pack-requested": "Das Professional Pack wurde bei Ihrem Systemadministrator angefordert.", + "white-labeling-promo": "Logo, Farben und Titel auf einer Einstellungsseite festlegen.", + "white-labeling-promo-try": "Logo, Farben und Titel auf einer Einstellungsseite festlegen. Öffnen Sie sie zum Ausprobieren.", + "integrations": "Integrationen", + "integrations-promo": "Daten aus LoRaWAN, MQTT, Kafka und anderen IoT-Plattformen übernehmen.", + "scheduler": "Zeitplaner", + "scheduler-promo": "Updates ausführen und Ereignisse nach Zeitplan an Regelketten senden.", + "reports": "Berichte", + "reports-promo": "Berichte aus Tabellen, Diagrammen und Ihrem eigenen Branding erstellen und nach Zeitplan versenden." + }, + "platform-feature": { + "overview": "Übersicht", + "white-labeling": { + "not-in-plan": "White-Labeling ist in Ihrem Tarif nicht enthalten", + "not-in-ce-grant": "White-Labeling ist in Ihrem Community Grant nicht enthalten.", + "add": "White-Labeling hinzufügen", + "request": "White-Labeling anfragen", + "offer-title": "Ihre Marke, Ihr Anmeldebildschirm, Ihre Menüs, Ihre Bezeichnungen", + "offer-with-plan-lede": "White-Labeling ist ab dem Pilot-Tarif enthalten. Alles, was Sie hier festlegen, ersetzt die Vorgaben von ThingsBoard – auf der Anmeldeseite, in den E-Mails, die Sie versenden, und auf jeder Seite, auf der Ihre Kunden arbeiten.", + "offer-lede": "Mit White-Labeling ersetzt alles, was Sie hier festlegen, die Vorgaben von ThingsBoard – auf der Anmeldeseite, in den E-Mails, die Sie versenden, und auf jeder Seite, auf der Ihre Kunden arbeiten.", + "pack-offer-lede": "White-Labeling gehört zum Professional Pack, dem kostenpflichtigen Add-on zu Ihrem Community Grant. Ist das Professional Pack aktiv, ersetzt alles, was Sie hier festlegen, die Vorgaben von ThingsBoard – auf der Anmeldeseite, in den E-Mails, die Sie versenden, und auf jeder Seite, auf der Ihre Kunden arbeiten.", + "sys-admin-wl-note": "Systemadministrator? Melden Sie sich an und fügen Sie White-Labeling unter Lizenzverwaltung hinzu." + }, + "integrations": { + "not-in-ce-grant": "Integrationen sind in Ihrem Community Grant nicht enthalten.", + "pack-offer-title": "Daten aus LoRaWAN, MQTT, Kafka und anderen IoT-Plattformen übernehmen", + "pack-offer-lede": "Integrationen sind Teil des Professional Pack, des kostenpflichtigen Add-ons zu Ihrem Community Grant. Jede liest von einem LoRaWAN Network Server, einem MQTT- oder Kafka-Broker oder einer anderen IoT-Plattform – legt Geräte automatisch an, sobald sie auftauchen, und speichert die gesendeten Daten als Telemetrie.", + "overview": { + "brokers-and-platforms": "Broker und Plattformen", + "brokers-and-platforms-desc": "Eine Integration pro Quelle, konfiguriert und überwacht über die Benutzeroberfläche.", + "data-converters": "Daten-Converter", + "data-converters-desc": "Dekodieren Sie die eigene Payload eines Geräts – einschließlich LoRaWAN-Codecs – per Skript, ohne zu ändern, was das Gerät sendet.", + "downlink": "Downlink", + "downlink-desc": "Senden Sie Befehle und Konfiguration über dieselbe Verbindung zurück an das Gerät.", + "remote-integrations": "Remote-Integrationen", + "remote-integrations-desc": "Betreiben Sie eine am Netzwerkrand, auf einem eigenen Host – sie puffert weiter, solange die Verbindung zu ThingsBoard unterbrochen ist." + }, + "dozen-protocols-brokers-and-platforms": "Dutzende Protokolle, Broker und Plattformen", + "browse-setup-guides-note": "Die Einrichtungsanleitungen finden Sie in unserer Dokumentation." + }, + "scheduler": { + "not-in-ce-grant": "Der Zeitplaner ist in Ihrem Community Grant nicht enthalten.", + "pack-offer-title": "Updates ausführen und Ereignisse nach Zeitplan an Regelketten senden", + "pack-offer-lede": "Der Zeitplaner ist Teil des Professional Pack, des kostenpflichtigen Add-ons zu Ihrem Community Grant. Führen Sie Firmware-Updates aus und senden Sie Ereignisse an Regelketten – jeder Eintrag hat eine Startzeit, eine Wiederholungsregel und eine eigene Zeitzone, und die Plattform löst ihn aus, unabhängig davon, ob noch etwas von Ihnen läuft.", + "overview": { + "repeats-and-timezones": "Wiederholungen und Zeitzonen", + "repeats-and-timezones-desc": "Einmalig, täglich oder wöchentlich an den gewählten Tagen – und jedes Ereignis wird in seiner eigenen Zeitzone verarbeitet.", + "device-commands": "Gerätebefehle", + "device-commands-desc": "Senden Sie zu einer festgelegten Zeit einen Befehl an ein Gerät, ohne dass ein Cron-Job ein API-Token vorhalten muss.", + "firmware-and-software": "Firmware und Software", + "firmware-and-software-desc": "Verteilen Sie ein OTA-Paket auf ein Gerät oder eine ganze Gruppe zu einer Stunde, in der niemand zuschaut.", + "rule-chain-triggers": "Regelketten-Trigger", + "rule-chain-triggers-desc": "Senden Sie Daten an eine Regelkette, sodass alles, was eine Regelkette kann, unbeaufsichtigt laufen kann." + } + }, + "reporting": { + "not-in-ce-grant": "Berichte sind in Ihrem Community Grant nicht enthalten.", + "pack-offer-title": "Einmal einen Bericht erstellen und bei jedem geplanten Lauf zustellen", + "pack-offer-lede": "Berichte sind Teil des Professional Pack, des kostenpflichtigen Add-ons zu Ihrem Community Grant. Sie gestalten den Bericht selbst – Tabellen, Diagramme, Text und Ihr eigenes Branding – und jeder Lauf erreicht seine Empfänger planmäßig oder wenn ein Alarm ausgelöst wird.", + "overview": { + "your-own-layout": "Ihr eigenes Layout", + "your-own-layout-desc": "Ziehen Sie Tabellen, Diagramme, Text und Bilder an die gewünschte Stelle – eine gespeicherte Vorlage genügt für jeden Kunden.", + "pdf-or-csv": "PDF oder CSV", + "pdf-or-csv-desc": "Ein druckfertiges Dokument mit gezeichneten Diagrammen oder die Rohzeilen für alle, die die Zahlen wollen.", + "channel": "Mail, Slack, Teams oder SMS", + "channel-desc": "Wählen Sie den Kanal pro Empfänger oder pro Benutzergruppe – die Plattform stellt jeden geplanten Lauf zu.", + "attached-to-alarm": "Dem Alarm angehängt", + "attached-to-alarm-desc": "Eine Benachrichtigung enthält den Bericht, erstellt in dem Moment, in dem der Alarm ausgelöst wird, aus den Daten dieses Augenblicks." + } + } + }, + "subscription-error": { + "title": "Abonnement-Verstoß", + "warning-title": "Abonnement-Warnung", + "upgrade-subscription-plan": "Bitte upgraden Sie Ihren Tarif", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} ist ab dem Tarif {{planName}} verfügbar. Bitten Sie zum Fortfahren Ihren Systemadministrator, den Tarif zu upgraden.", + "limit-reached": { + "device-count": "Sie haben die maximale Anzahl an Geräten ({{value}}) erreicht, die Ihr Tarif zulässt!", + "asset-count": "Sie haben die maximale Anzahl an Assets ({{value}}) erreicht, die Ihr Tarif zulässt!", + "edge-count": "Sie haben die maximale Anzahl an Edge-Instanzen ({{value}}) erreicht, die Ihr Tarif zulässt!", + "agent-count": "Sie haben die maximale Anzahl an Remote Agents ({{value}}) erreicht, die Ihr Tarif zulässt!" + }, + "feature-disabled": { + "white-labeling": "Die White-Labeling-Funktion wird von Ihrem Tarif nicht unterstützt!" + } + }, "phone-input": { "phone-input-label": "Telefonnummer", "phone-input-required": "Telefonnummer ist erforderlich", diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index d8197c50fb..bc5617bed3 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "Activer ThingsBoard", + "initial": { + "welcome": "Bienvenue dans ThingsBoard {{version}}", + "title": "Obtenez votre licence gratuite et commencez à créer", + "desc": "Quelques minutes sur le Portail des licences : vous créez un compte, choisissez une licence, et cette instance s’active d’elle-même.", + "open-license-portal": "Ouvrir le Portail des licences", + "already-have-license": "Vous avez déjà une licence ?", + "free-no-credit-card": "Gratuit pour toujours. Aucune carte bancaire requise.", + "source-available": "Code source disponible sous" + }, + "waiting": { + "live-eyebrow": "En attente de l’activation", + "title": "Continuer sur le Portail des licences", + "desc": "Connectez-vous ou créez un compte, choisissez une licence, acceptez les conditions. Cette instance s’active d’elle-même une fois la licence émise.", + "nothing-opened": "Rien ne s’est ouvert ?", + "paste-link-or-scan-qr-code": "Collez le lien texte sur n’importe quel appareil connecté à Internet, ou scannez le code QR avec un téléphone.", + "text-link": "Lien texte", + "qr-code": "Code QR", + "qr-code-hint": "Pointez l’appareil photo d’un téléphone vers le code, puis ouvrez le lien. Le téléphone a besoin de sa propre connexion Internet.", + "have-key": "Vous avez une clé de licence ?", + "activate-key": "Activer la licence avec une clé" + }, + "offline": { + "eyebrow": "Hors ligne", + "title": "Activer depuis un autre appareil", + "desc": "Ce serveur ne peut pas joindre le Portail des licences, l’opération se fait donc en deux étapes : obtenez votre licence sur un appareil connecté, puis saisissez ici la clé.", + "get-your-license": "Obtenez votre licence sur le portail", + "open-link": "Ouvrez ce lien sur n’importe quel appareil connecté à Internet. Vous vous connecterez ou créerez un compte, choisirez une licence et accepterez les conditions. Le portail vous affiche ensuite une clé de licence.", + "paste-key": "Collez la clé ici", + "no-connected-device": "Aucun appareil connecté nulle part ?" + }, + "have-key": { + "title": "Activer la licence avec une clé", + "enter-license-key": "Saisissez votre clé de licence", + "enter-license-key-note": "Elle se trouve dans votre compte du Portail des licences : connectez-vous à {{hostName}} depuis n’importe quel appareil et copiez-la depuis votre compte.", + "no-account": "Pas de compte et aucun appareil connecté ?", + "contact-support": "Contacter le support" + }, + "key-form": { + "placeholder": "Collez votre clé de licence", + "invalid": "Cette clé n’est pas valide pour cette instance. Vérifiez qu’il ne manque aucun caractère ou contactez le support.", + "activate": "Activer", + "activating": "Activation en cours" + }, + "account": { + "title": "Cette instance est activée", + "desc": "Votre licence est enregistrée sur ce serveur et dans votre compte du Portail des licences.", + "create-sys-admin-account": "Créer un compte administrateur système", + "create-sys-admin-account-hint": "Il vous connecte à ce serveur — distinct du compte du Portail des licences qui contient votre licence.", + "email-label": "Email", + "email-required": "Saisissez une adresse email.", + "email-invalid": "Saisissez une adresse email valide.", + "password-label": "Mot de passe", + "password-required": "Saisissez un mot de passe.", + "password-min-length": "Le mot de passe doit contenir au moins 6 caractères.", + "confirm-label": "Confirmer le mot de passe", + "confirm-required": "Confirmez votre mot de passe.", + "confirm-mismatch": "Ces mots de passe ne correspondent pas.", + "demo-tenant-title": "Configurer un locataire de démonstration", + "demo-tenant-desc": "La façon la plus rapide de voir la plateforme en action. Les tableaux de bord, les appareils et les chaînes de règles sont déjà configurés, avec des utilisateurs locataire et client prêts à se connecter. Vous pouvez aussi l’ouvrir depuis Locataires en tant qu’administrateur système.", + "create": "Créer un compte", + "creating": "Création du compte" + }, + "demo-tenant": { + "signed-in-as": "Votre compte d’administrateur système est créé et vous êtes connecté en tant que {{email}}.", + "title": "Envie d’explorer le locataire de démonstration ?", + "desc": "Les bases sont déjà configurées : ouvrez un tableau de bord, modifiez une règle ou connectez votre propre appareil.", + "dashboards": "Tableaux de bord — construits sur les appareils ci-dessous, avec les liaisons de widgets déjà faites", + "devices": "Appareils — avec leurs profils d’appareil et leurs règles d’alarme ; aucune donnée n’a encore été envoyée", + "rule-chains": "Chaînes de règles — où ces alarmes sont déterminées", + "explore": "Explorer le locataire de démonstration", + "not-now": "Pas maintenant", + "not-now-hint": "« Pas maintenant » vous mène à l’administration système.", + "signing-in-later": "Connexion ultérieure", + "demo-tenant-hint": "L’administrateur propre au locataire. En tant qu’administrateur système, vous pouvez aussi ouvrir le locataire depuis Locataires, sans mot de passe." + }, + "non-production": { + "eyebrow": "Reconfirmation requise", + "title": "Confirmez que ce déploiement reste hors production.", + "desc": "Cette instance fonctionne avec une licence gratuite hors production, reconfirmée périodiquement par un administrateur système. La confirmation n’affecte ni vos données, ni vos utilisateurs, ni la connectivité des appareils.", + "confirm": "Confirmer", + "confirming": "Confirmation", + "sysadmin-required": "Seul un administrateur système peut le confirmer.", + "login-as-sysadmin": "Se connecter en tant qu’administrateur système", + "state-verify-failed": "Confirmé, mais l’état n’a pas pu être vérifié. Veuillez actualiser la page.", + "state-not-updated": "Cette instance signale toujours la confirmation comme en attente. Veuillez actualiser la page et confirmer à nouveau." + }, + "errors": { + "signin-failed": "Compte créé, mais la connexion automatique a échoué. Veuillez actualiser la page et vous connecter manuellement.", + "state-not-updated": "La configuration est terminée, mais l’état n’est pas mis à jour. Veuillez actualiser la page.", + "state-verify-failed": "La configuration est terminée, mais l’état n’a pas pu être vérifié. Veuillez actualiser la page.", + "no-sign-up-url": "Cette instance a répondu sans lien, il n’y a donc rien à ouvrir.", + "link-expired": "Ce lien a expiré. Ouvrez à nouveau le Portail des licences pour en obtenir un nouveau.", + "activated-state-verify-failed": "Cette instance est sous licence, mais l’étape suivante n’a pas encore pu être lue. Nouvelle tentative en cours — vous pouvez aussi actualiser la page.", + "no-connection": "Pas de connexion avec le serveur. Réessayez plus tard.", + "request-failed": "La requête a échoué. Veuillez réessayer." + } + }, "access": { "unauthorized": "Non autorisé", "unauthorized-access": "Accès non autorisé", @@ -53,6 +152,7 @@ "refresh": "Actualiser", "undo": "Annuler", "copy": "Copier", + "copied": "Copié", "paste": "Coller", "copy-reference": "Copier la référence", "paste-reference": "Coller la référence", @@ -80,6 +180,7 @@ "reset-default": "Rétablir les valeurs par défaut", "show-more": "Afficher plus", "dont-show-again": "Ne plus afficher", + "dont-show-this-again": "Ne plus afficher", "see-documentation": "Voir la documentation", "see-debug-events": "Voir les événements de débogage", "clear": "Effacer", @@ -966,6 +1067,7 @@ "prev-widget": "Widget précédent", "add-to-dashboard": "Ajouter au tableau de bord", "add-widget-to-dashboard": "Ajouter le widget au tableau de bord", + "no-widget-grid-in-dashboard": "Tous les états de ce tableau de bord sont des pages HTML, le widget ne peut donc pas y être ajouté.", "selected-attributes": "{ count, plural, one {# attribut sélectionné} other {# attributs sélectionnés} }", "selected-telemetry": "{ count, plural, one {# unité de télémétrie sélectionnée} other {# unités de télémétrie sélectionnées} }", "no-attributes-text": "Aucun attribut trouvé", @@ -1210,6 +1312,7 @@ "type-timeseries-deleted": "Télémétrie supprimée", "type-owner-changed": "Propriétaire changé", "type-sms-sent": "SMS envoyé", + "type-non-production-confirmed": "Usage hors production confirmé", "any-type": "Tout type", "audit-log-filter-title": "Filtre du journal d’audit", "filter-title": "Filtre", @@ -2072,7 +2175,6 @@ "manage-public-dashboards": "Gérer les tableaux de bord publics", "manage-customer-assets": "Gérer les actifs client", "manage-customer-edges": "Gérer les instances Edge client", - "manage-customer-agents": "Gérer les Agents", "manage-public-assets": "Gérer les actifs publics", "add-customer-text": "Ajouter un nouveau client", "no-customers-text": "Aucun client trouvé", @@ -2117,7 +2219,8 @@ "search": "Rechercher des clients", "selected-customers": "{ count, plural, one {# client sélectionné} other {# clients sélectionnés} }", "edges": "Instances Edge du client", - "manage-edges": "Gérer les instances Edge" + "manage-edges": "Gérer les instances Edge", + "manage-agents": "Gérer les Agents" }, "customers-hierarchy": { "customers-hierarchy": "Hiérarchie des clients", @@ -2273,6 +2376,8 @@ "no-widgets": "Aucun widget configuré", "add-widget": "Ajouter un nouveau widget", "add-widget-button-text": "Ajouter un widget", + "edit-html-page": "Modifier la page HTML", + "html-page": "Page HTML", "title": "Titre", "image": "Image du tableau de bord", "mobile-app-settings": "Paramètres de l’application mobile", @@ -2282,6 +2387,7 @@ "update-new-version": "Téléverser une nouvelle version", "upload-file-to-update": "Téléverser le fichier pour mettre à jour", "take-screenshot": "Prendre une capture d’écran", + "take-screenshot-failed": "Échec de la capture d’écran du tableau de bord. Veuillez réessayer.", "select-widget-title": "Sélectionner un widget", "select-widget-value": "{{title}} : sélectionner un widget", "select-widget-subtitle": "Liste des types de widgets disponibles", @@ -2345,6 +2451,7 @@ "layout-type-default": "Par défaut", "layout-type-scada": "SCADA", "layout-type-divider": "Séparateur", + "layout-type-html": "Page HTML", "layout-settings-type": "Paramètres de disposition : écran « {{ type }} »", "columns-count": "Nombre de colonnes", "columns-count-required": "Le nombre de colonnes est requis.", @@ -3412,10 +3519,10 @@ "unassign-edge-text": "Après confirmation, l’Edge sera désassigné et ne sera plus accessible au client.", "unassign-edges-title": "Êtes-vous sûr de vouloir désassigner { count, plural, one {# Edge} other {# Edge} } ?", "unassign-edges-text": "Après confirmation, tous les Edges sélectionnés seront désassignés et ne seront plus accessibles au client.", - "make-public": "Rendre public", + "make-public": "Rendre l’Edge public", "make-public-edge-title": "Êtes-vous sûr de vouloir rendre l’Edge '{{edgeName}}' public ?", "make-public-edge-text": "Après confirmation, l’Edge et toutes ses données seront rendus publics et accessibles à tous.", - "make-private": "Rendre privé", + "make-private": "Rendre l’Edge privé", "public": "Public", "make-private-edge-title": "Êtes-vous sûr de vouloir rendre l’Edge '{{edgeName}}' privé ?", "make-private-edge-text": "Après confirmation, l’Edge et toutes ses données seront rendus privés et ne seront plus accessibles à d’autres.", @@ -4177,7 +4284,7 @@ "type-queue": "File d’attente", "type-scheduler-event": "Événement planifié", "type-white-labeling": "Marque blanche", - "type-login-white-labeling": "Personnalisation de la page de connexion", + "type-login-white-labeling": "Marque blanche de la page de connexion", "type-custom-translation": "Traduction personnalisée", "type-role": "Rôle", "type-group-permission": "Permission de groupe", @@ -4211,6 +4318,7 @@ "disconnected": "Déconnecté" }, "error": { + "data-export-failed": "Échec de l’exportation des données : le mode de déploiement n’a pas pu être déterminé. Veuillez réessayer.", "unable-to-connect": "Impossible de se connecter au serveur ! Veuillez vérifier votre connexion Internet.", "unhandled-error-code": "Code d’erreur non géré : {{errorCode}}", "unknown-error": "Erreur inconnue" @@ -5586,6 +5694,7 @@ "type-ttn-description": "Réseau LoRaWAN ouvert et décentralisé.", "type-tti": "The Things Stack Industries", "type-tti-description": "Logiciel pour exploiter des réseaux LoRaWAN privés à grande échelle.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Serveur de configuration de réseau LoRaWAN.", "type-particle": "Particle", @@ -6163,8 +6272,6 @@ "item": { "type-widget": "Widget", "type-widget-plural": "Widgets", - "type-dashboard": "Tableau de bord", - "type-dashboard-plural": "Tableaux de bord", "type-solution-template": "Modèle de solution", "type-solution-template-plural": "Modèles de solution", "type-calculated-field": "Champ calculé", @@ -6186,6 +6293,8 @@ "search": "Rechercher...", "search-published-items": "Rechercher les éléments publiés...", "see-all-results": "Voir tous les résultats", + "see-all-results-for": "Voir les {{ count }} résultats pour « {{ search }} »", + "see-results-for": "Voir les résultats pour « {{ search }} »", "no-search-results": "Aucun résultat trouvé pour '{{ search }}'", "no-items-available": "Aucun élément disponible", "search-results": "Résultats de recherche", @@ -6208,9 +6317,9 @@ "type": "Type", "items-per-page": "Éléments par page", "filter": "Filtre", + "clear-filters": "Effacer les filtres", "available": "Disponible", "items-page-desc-widgets": "Démarrez votre parcours IoT avec des widgets préconfigurés conçus pour votre secteur d’activité. Déployez instantanément des architectures éprouvées et concentrez votre énergie sur l’essentiel : votre logique métier unique.", - "items-page-desc-dashboards": "Explorez les tableaux de bord pour trouver des modèles de visualisation prêts à l’emploi et des mises en page UI interactives que vous pouvez déployer en quelques minutes pour donner vie à vos données IoT.", "items-page-desc-solution-templates": "Des packages de solutions IoT complets comprenant tableaux de bord, chaînes de règles et configurations d’appareils. Démarrez avec des architectures éprouvées.", "items-page-desc-calculated-fields": "Utilisez des champs calculés préconfigurés pour automatiser des indicateurs complexes tels que le rendement énergétique ou le facteur de puissance. Évitez la logique manuelle et gardez vos tableaux de bord clairs et exploitables.", "items-page-desc-alarm-rules": "Utilisez des modèles de règles d’alarme prêts à l’emploi pour détecter des conditions critiques telles qu’une batterie faible, un dépassement de seuil ou des appareils hors ligne. Évitez d’écrire la logique des règles et commencez à réagir aux incidents dès qu’ils surviennent.", @@ -6218,8 +6327,6 @@ "items-page-desc-devices": "Explorez la bibliothèque d’appareils pour trouver des modèles de connectivité préconfigurés que vous pouvez déployer en quelques minutes pour connecter votre matériel instantanément.", "device-library": "Bibliothèque d’appareils", "most-popular-in-iot-hub": "Les plus populaires dans IoT Hub", - "pe-required-title": "Édition Professionnelle requise", - "pe-required-message": "Cet élément est disponible uniquement sur ThingsBoard Professional Edition. Vous utilisez actuellement Community Edition. Pour l’installer, passez à Professional Edition.", "upgrade-required-title": "Mise à jour de ThingsBoard requise", "upgrade-required-message": "Cet élément nécessite ThingsBoard {{minVersion}} ou une version ultérieure. Vous utilisez actuellement {{currentVersion}}. Veuillez mettre à niveau votre instance pour l’installer.", "upgrade-instance": "Mettre à niveau l’instance", @@ -6227,29 +6334,28 @@ "contribute": "Contribuer", "creator-profile": "Profil du créateur", "title-widgets": "Widgets", - "title-dashboards": "Tableaux de bord", "title-calculated-fields": "Champs calculés", "title-alarm-rules": "Règles d’alarme", "title-rule-chains": "Chaînes de règles", "title-devices": "Appareils", "title-solution-templates": "Modèles de solutions", "subtitle-widgets": "Parcourez les widgets de la communauté pour vos tableaux de bord", - "subtitle-dashboards": "Parcourez des tableaux de bord prêts à l’emploi", "subtitle-solution-templates": "Parcourez des packages de solutions IoT complets", "subtitle-calculated-fields": "Parcourez des modèles de champs calculés", "subtitle-alarm-rules": "Parcourez des modèles de règles d’alarme", "subtitle-rule-chains": "Parcourez des modèles de chaînes de règles", "subtitle-devices": "Parcourez des configurations d’appareils", - "search-dashboards": "Rechercher des tableaux de bord...", "search-solution-templates": "Rechercher des modèles de solution...", "search-calculated-fields": "Rechercher des champs calculés...", "search-alarm-rules": "Rechercher des règles d’alarme...", "search-rule-chains": "Rechercher des chaînes de règles...", "search-devices": "Rechercher des appareils...", + "sort-most-relevant": "Les plus pertinents", "sort-most-installed": "Les plus installés", "sort-newest": "Les plus récents", "sort-name": "Nom (A-Z)", "type-filter-label": "Type", + "verified-creators-only": "Créateurs vérifiés uniquement", "category": "Catégorie", "use-case": "Cas d’utilisation", "vendor": "Fournisseur", @@ -6306,9 +6412,9 @@ "open": "Ouvrir", "built-in": "Intégré", "built-in-lookup-failed-title": "Impossible de vérifier ce composant", - "built-in-lookup-failed-text": "Échec de la vérification de la présence de '{{name}}' dans cette instance. Rien n’a été installé — veuillez réessayer.", + "built-in-lookup-failed-text": "Échec de la vérification de la présence de « {{name}} » dans cette instance. Rien n’a été installé — veuillez réessayer.", "built-in-missing-title": "Non disponible sur cette instance", - "built-in-missing-text": "'{{name}}' est normalement fourni avec ThingsBoard, mais il n’est pas présent dans cette instance — il a peut-être été supprimé par l’administrateur système. Vous pouvez l’installer depuis l’IoT Hub à la place.", + "built-in-missing-text": "« {{name}} » est normalement fourni avec ThingsBoard, mais il n’est pas présent dans cette instance — il a peut-être été supprimé par l’administrateur système. Vous pouvez l’installer depuis l’IoT Hub à la place.", "connect": "Connecter", "connect-device": "Connecter un appareil", "installing": "Installation en cours...", @@ -6344,6 +6450,7 @@ "update-confirm": "Mettre à jour '{{name}}' vers la version {{version}} ?", "update-confirm-title": "Mettre à jour '{{name}}' ?", "update-desc": "La mise à jour remplacera la version actuelle par la dernière et reconfigurera les ressources associées au sein de votre locataire", + "update-desc-solution-template": "La mise à jour de ce modèle de solution supprimera et recréera toutes les entités qu’il a créées, y compris les tableaux de bord, chaînes de règles, appareils et autres ressources associées au sein de votre locataire. Toutes les modifications que vous y avez apportées seront perdues", "update-success-desc": "'{{name}}' a été mis à jour avec succès", "updating": "Mise à jour en cours...", "update-success-title": "Mise à jour réussie", @@ -6470,6 +6577,8 @@ "no-data": "Aucune entrée" }, "layout": { + "switch-to-html-page-title": "Passer à une page HTML ?", + "switch-to-html-page-text": "La page HTML remplace la grille de widgets de cet état. { count, plural, one {# widget placé dans ses dispositions sera supprimé de cet état.} other {# widgets placés dans ses dispositions seront supprimés de cet état.} }", "layout": "Disposition", "layouts": "Dispositions", "manage": "Gérer les dispositions", @@ -7068,6 +7177,8 @@ "entities-limit": "Limite d’entités", "entities-limit-increase-request": "Demande d’augmentation de la limite d’entités", "addon-access-error": "Erreur d’accès aux Add-ons/fonctionnalités", + "addon-access-request": "Demande d’accès à un add-on/une fonctionnalité", + "plan-upgrade-request": "Demande de passage à un forfait supérieur", "entity-action": "Action sur l’entité", "general": "Général", "integration-lifecycle-event": "Événement du cycle de vie de l’intégration", @@ -7463,7 +7574,7 @@ "name-max-length": "Le nom doit contenir moins de 256 caractères", "description": "Description", "add": "Ajouter une chaîne de règles", - "set-root": "Définir comme racine", + "set-root": "Définir la chaîne de règles comme racine", "set-root-rulechain-title": "Êtes-vous sûr de vouloir définir la chaîne de règles '{{ruleChainName}}' comme racine ?", "set-root-rulechain-text": "Après confirmation, la chaîne de règles deviendra la racine et gérera tous les messages de transport entrants.", "delete-rulechain-title": "Êtes-vous sûr de vouloir supprimer la chaîne de règles '{{ruleChainName}}' ?", @@ -7502,15 +7613,15 @@ "unassign-rulechains-from-edge-text": "Après confirmation, toutes les chaînes de règles sélectionnées seront désattribuées et ne seront plus accessibles depuis l’Edge.", "assign-rulechain-to-edge-title": "Attribuer des chaînes de règles à l’Edge", "assign-rulechain-to-edge-text": "Veuillez sélectionner les chaînes de règles à attribuer à l’Edge", - "set-edge-template-root-rulechain": "Définir comme racine de modèle Edge", - "set-edge-tscheduler-eventemplate-root-rulechain": "Définir comme racine de modèle Edge", + "set-edge-template-root-rulechain": "Définir la chaîne de règles comme racine du modèle Edge", + "set-edge-tscheduler-eventemplate-root-rulechain": "Définir la chaîne de règles comme racine du modèle Edge", "set-edge-template-root-rulechain-title": "Êtes-vous sûr de vouloir définir la chaîne de règles '{{ruleChainName}}' comme racine du modèle Edge ?", "set-edge-template-root-rulechain-text": "Après confirmation, cette chaîne de règles sera définie comme racine de modèle pour tous les nouveaux Edges créés.", "invalid-rulechain-type-error": "Impossible d’importer la chaîne de règles : type invalide. Type attendu : {{expectedRuleChainType}}.", - "set-auto-assign-to-edge": "Attribuer automatiquement aux Edges à la création", + "set-auto-assign-to-edge": "Attribuer la chaîne de règles aux Edges à la création", "set-auto-assign-to-edge-title": "Êtes-vous sûr de vouloir attribuer automatiquement la chaîne de règles '{{ruleChainName}}' aux Edges à la création ?", "set-auto-assign-to-edge-text": "Après confirmation, la chaîne de règles Edge sera automatiquement attribuée aux Edges lors de leur création.", - "unset-auto-assign-to-edge": "Ne pas attribuer automatiquement aux Edges", + "unset-auto-assign-to-edge": "Ne pas attribuer la chaîne de règles aux Edges à la création", "unset-auto-assign-to-edge-title": "Êtes-vous sûr de ne pas vouloir attribuer automatiquement la chaîne de règles '{{ruleChainName}}' aux Edges à la création ?", "unset-auto-assign-to-edge-text": "Après confirmation, la chaîne de règles Edge ne sera plus automatiquement attribuée aux Edges lors de leur création.", "unassign-rulechain-title": "Êtes-vous sûr de vouloir désattribuer la chaîne de règles '{{ruleChainName}}' ?", @@ -8840,8 +8951,6 @@ "single-entity": "Entité unique", "group-entities": "Groupe d’entités", "entities-group-owner": "Propriétaire du groupe d’entités", - "single-device": "Appareil unique", - "group-of-devices": "Groupe d’appareils", "devices-group-owner": "Propriétaire du groupe d’appareils", "message-body": "Corps du message", "target": "Cible", @@ -9427,6 +9536,12 @@ "maximum-scheduler-events": "Nombre maximum d’événements planifiés", "maximum-scheduler-events-required": "Le nombre maximum d’événements planifiés est requis.", "maximum-scheduler-events-range": "Le nombre maximum d’événements planifiés ne peut pas être négatif", + "maximum-agents": "Nombre maximal d’Agents", + "maximum-agents-required": "Le nombre maximal d’Agents est obligatoire.", + "maximum-agents-range": "Le nombre maximal d’Agents ne peut pas être négatif", + "maximum-agent-applications": "Nombre maximal d’applications Agent", + "maximum-agent-applications-required": "Le nombre maximal d’applications Agent est obligatoire.", + "maximum-agent-applications-range": "Le nombre maximal d’applications Agent ne peut pas être négatif", "maximum-resources-sum-data-size": "Taille maximale totale des fichiers de ressources (octets)", "maximum-resources-sum-data-size-required": "La taille totale maximale des fichiers de ressources est requise.", "maximum-resources-sum-data-size-range": "La taille totale maximale des fichiers de ressources ne peut pas être négative", @@ -11309,7 +11424,7 @@ "show-connectivity-dialog": "Afficher la boîte de dialogue de connectivité", "show-connectivity-dialog-desc": "Affiche la boîte de dialogue de connectivité de l’appareil avec les instructions de connexion après la création d’un appareil", "override-trendz-add-on-name": "Remplacer le nom de l’add-on Trendz analytics", - "override-trendz-add-on-name-desc": "Renomme le module complémentaire « Trendz » en « Analytique avancée » dans toute la plateforme", + "override-trendz-add-on-name-desc": "Renomme l’add-on « Trendz » en « Analytique avancée » dans toute la plateforme", "show-platform-name-version-bottom-left-corner": "Afficher le nom et la version de la plateforme dans le coin inférieur gauche", "show-platform-name-version": "Afficher le nom et la version de la plateforme", "platform-name": "Nom de la plateforme", @@ -12536,9 +12651,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -12870,10 +12988,7 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Identifiants", - "here-app-id": "ID de l’application HERE", - "here-app-code": "Code de l’application HERE", "here-api-key": "Clé API HERE", - "here-use-new-version-api-3": "Utiliser l’API version 3", "tencent-maps-api-key": "Clé API Tencent Maps", "tencent-map-type-roadmap": "Plan", "tencent-map-type-satelite": "Satellite", @@ -13742,6 +13857,7 @@ "license-portal": "Portail des licences", "devices-info": "{count} / { max, plural, =0 {∞} one {#} other {#} } Appareils", "assets-info": "{count} / { max, plural, =0 {∞} one {#} other {#} } Ressources", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edges", "dashboards-info": "{count} / { max, plural, =0 {∞} one {#} other {#} } Tableaux de bord", "integrations-info": "{count} / { max, plural, =0 {∞} one {#} other {#} } Intégrations", "community-support": "Support communautaire", @@ -13910,6 +14026,214 @@ "search-icon": "Rechercher une icône", "no-icons-found": "Aucune icône trouvée pour '{{iconSearch}}'" }, + "subscription": { + "entity-limit-text": "Vous pouvez toutefois passer à un forfait supérieur afin d’augmenter vos limites.", + "upgrade-your-plan": "Passer à un forfait supérieur", + "license-management": "Gestion des licences", + "perpetual-license": "Licence perpétuelle", + "subscription": "Abonnement", + "perpetual": "Perpétuelle", + "manage-license": "Gérer la licence", + "updated-ago": "Mis à jour {{ago}}", + "usage-and-limits": "Utilisation et limites", + "add-ons": "Add-ons", + "included": "Inclus", + "not-included": "Non inclus", + "add-to-license": "Ajouter à la licence", + "change-key-title": "Passer à une autre licence ?", + "change-key-text": "Passez à une autre licence ou activez un déploiement en réseau isolé (air‑gapped) via une clé hors ligne.", + "enter-key": "Saisir une clé", + "enter-license-key": "Saisir une clé de licence", + "applying-key-text": "L’application d’une clé modifie les droits de licence de ce déploiement.", + "keys-issued-text": "Les clés sont émises dans le {{licensePortal}}. Connectez-vous depuis n’importe quel appareil et copiez-en une à partir de là.", + "check-key": "Vérifier la clé", + "checking-key": "Vérification de cette clé...", + "current": "Actuelle", + "this-key": "Cette clé", + "replace-license": "Remplacer la licence", + "new-license-applied": "La nouvelle clé de licence a été appliquée.", + "updates-and-support-until": "Mises à jour et assistance jusqu’au {{date}}.", + "next-charge-and-due-date": "Prochain prélèvement de {{total}} le {{date}}, à régler avant le {{dueDate}}.", + "refresh-license-info": "Actualiser les informations de licence", + "non-production-mode": "Mode développement — usage hors production uniquement", + "non-production-mode-details": "Les quotas d’appareils, d’actifs et d’Edge sont illimités ; la marque blanche n’est pas disponible. N’utilisez pas cette instance en production.", + "offline-mode": "Mode hors ligne", + "devices": "Appareils", + "number-of-devices": "{ count, plural, one {# appareil} other {# appareils} }", + "unlimited-devices": "Appareils illimités", + "add-devices": "Ajouter des appareils", + "device-limit-warn": "Les appareils ont atteint {{ percent }} de votre limite.", + "device-limit-critical": "Les appareils ont atteint votre limite. Les nouveaux appareils ne sont pas enregistrés tant que la limite n’est pas relevée.", + "assets": "Actifs", + "add-assets": "Ajouter des actifs", + "prod-instances": "Instances de production", + "add-instances": "Ajouter des instances", + "ai-credits": "Crédits IA", + "add-credits": "Ajouter des crédits", + "white-labeling": "Marque blanche", + "edge": "Edge Computing", + "edges": "Edges", + "add-edges": "Ajouter des Edges", + "agents": "Remote Agents", + "add-agents": "Ajouter des Remote Agents", + "trendz": "Trendz Analytics", + "name-addon": "Add-on {{name}}", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { Ajouter le {name} } other { Ajouter {name} } }", + "add-addon-subscription": "{{name}} est un add-on payant et augmente votre facturation mensuelle.", + "add-addon-perpetual": "{{name}} est un add-on payant, acheté une seule fois pour cette licence.", + "upgrade-plan-devices": "Avec {{plan}}, votre limite d’appareils est incluse dans le forfait.", + "upgrade-plan-instances": "Avec {{plan}}, votre limite d’instances de production est incluse dans le forfait.", + "upgrade-plan-credits": "Avec {{plan}}, vos crédits IA mensuels sont inclus dans le forfait.", + "upgrade-plan-edges": "Avec {{plan}}, votre limite d’Edges est incluse dans le forfait.", + "upgrade-plan-agents": "Avec {{plan}}, votre limite de Remote Agents est incluse dans le forfait.", + "upgrade-plan-white-labeling": "Chaque forfait payant inclut la marque blanche.", + "upgrade-plan-addon": "{{name}} est un add-on payant. Les add-ons nécessitent un forfait payant.", + "ce-grant-case": "Tout achat convertit votre Community Grant en licence commerciale perpétuelle. Vous payez ce que vous ajoutez, pas ce que votre Community Grant couvre déjà.", + "pe-pack-case": "Le Professional Pack est un achat unique, au même prix pour tous les détenteurs d’un Community Grant.", + "ce-grant-white-label": "Ce que vous personnalisez déjà en marque blanche reste gratuit avec votre Community Grant.", + "open-portal-manage-license": "Nous ouvrirons la licence de ce déploiement dans le Portail des licences. Vous devrez peut-être vous connecter. Cliquez sur Mettre à jour à votre retour.", + "open-portal-upgrade-plan": "Nous ouvrirons le Portail des licences et vous proposerons un forfait. Vous devrez peut-être vous connecter. Cliquez sur Mettre à jour à votre retour.", + "open-portal": "Ouvrir le portail", + "add-license-item-title": "Pour {{ action }} {{ item }}, vous devez mettre à jour votre {{ package }} sur le Portail des licences ThingsBoard.", + "action-add": "ajouter", + "action-enable": "activer", + "package-subscription": "abonnement", + "package-perpetual": "package de licence", + "go-to-license-portal": "Accéder au Portail des licences", + "add-license-item-step-first": "Nous vous redirigerons vers le Portail des licences.", + "add-license-item-step-second": "Une fois connecté, nous ouvrirons automatiquement les détails de votre {{ package }}.", + "add-license-item-step-third": "Ajoutez « {{ item }} » à votre {{ package }}.", + "add-license-item-step-fourth": "Une fois terminé, cliquez sur « Actualiser les informations de licence » ci-dessous pour actualiser immédiatement votre {{ package }}.", + "request-feature-sysadmin-text": "Êtes-vous l’administrateur système ?", + "login-here": "Connectez-vous ici", + "to-get-addon": "pour obtenir l’add-on.", + "request-edge-title": "Gardez vos sites en marche même quand le réseau ne l’est pas", + "request-edge-text": "Déployez des instances Edge pour répartir le traitement et l’analyse sur votre infrastructure. Principales capacités :", + "edge-card-autonomy-title": "Autonomie", + "edge-card-autonomy-text": "Garantit un fonctionnement local instantané, même en cas de panne réseau", + "edge-card-filtering-title": "Filtrage", + "edge-card-filtering-text": "Réduit le trafic et les coûts du cloud en n’envoyant que des données validées et utiles", + "edge-card-latency-title": "Latence", + "edge-card-latency-text": "Permet un contrôle en temps réel et des réponses rapides grâce au traitement local des données", + "edge-card-security-title": "Sécurité", + "edge-card-security-text": "Fournit une zone tampon sécurisée entre les appareils OT et le cloud public", + "edge-card-efficiency-title": "Efficacité", + "edge-card-efficiency-text": "Normalise et agrège les données près de la source, ce qui allège la charge du cloud", + "request-edge-action-text": "Edge Management est disponible en tant qu’add-on. Contactez votre administrateur système pour l’activer.", + "request-access": "Demander l’accès", + "requested": "Demandé", + "upgrade-plan": "Passer à un forfait supérieur", + "learn-more": "En savoir plus", + "feature-request-sent-title": "Nous avons envoyé une demande automatisée à votre administrateur système pour activer {{addonName}}", + "feature-request-sent-text": "Veuillez leur laisser un peu de temps pour examiner la demande et mettre à jour les paramètres. Vous devrez peut-être actualiser cette page pour voir les modifications.", + "request-trendz-title": "Transformez vos jeux de données IoT en informations exploitables et simplifiez la prise de décision avec {{name}}", + "request-trendz-text": "Exploitez la puissance de l’analyse IoT sans code grâce à un espace de travail unifié piloté par l’IA, qui vous permet d’explorer la télémétrie, de créer de la logique, de détecter les anomalies, de générer des prédictions et de transformer des données brutes en informations claires et exploitables", + "request-trendz-action-text": "{{name}} est disponible en tant qu’add-on. Contactez votre administrateur système pour l’activer.", + "trendz-card-metric-explorer-title": "Metric Explorer", + "trendz-card-metric-explorer-text": "Analysez la télémétrie en profondeur grâce à une analyse sans code, des métriques personnalisées et des informations visuelles instantanées", + "trendz-card-anomaly-title": "Détection d’anomalies", + "trendz-card-anomaly-text": "Détectez automatiquement les comportements inhabituels dans vos données", + "trendz-card-calculation-title": "Champs calculés", + "trendz-card-calculation-text": "Définissez la logique métier, transformez la télémétrie et créez de nouvelles métriques", + "trendz-card-prediction-title": "Modèles de prédiction", + "trendz-card-prediction-text": "Prévoyez les valeurs futures et détectez les tendances grâce aux modèles de ML intégrés", + "trendz-card-views-title": "Vues", + "trendz-card-views-text": "Créez des tableaux de bord analytiques partageables pour les équipes et les clients, le tout au même endroit.", + "trendz-card-ai-assistant-title": "Assistant IA", + "trendz-card-ai-assistant-text": "Générez la logique, affinez les formules et automatisez la création de métriques grâce à l’IA en langage naturel.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Intégrations, planificateur, rapports et marque blanche.", + "pe-pack-desc": "Étend votre Community Grant à l’ensemble des fonctionnalités.", + "request-pe-pack": "Demander le Professional Pack complet", + "add-pe-pack": "Ajouter le Professional Pack complet", + "pe-pack-extend-ce": "Étend votre Community Grant à l’ensemble des fonctionnalités.", + "sys-admin-pe-pack-note": "Administrateur système ? Connectez-vous et ajoutez le Professional Pack dans la gestion des licences.", + "pe-pack-requested": "Le Professional Pack a été demandé à votre administrateur système.", + "white-labeling-promo": "Définissez le logo, les couleurs et les titres depuis une page de paramètres.", + "white-labeling-promo-try": "Définissez le logo, les couleurs et les titres depuis une page de paramètres. Ouvrez-la pour essayer.", + "integrations": "Intégrations", + "integrations-promo": "Importez des données depuis LoRaWAN, MQTT, Kafka et d’autres plateformes IoT.", + "scheduler": "Planificateur", + "scheduler-promo": "Exécutez des mises à jour et envoyez des événements aux chaînes de règles selon une planification.", + "reports": "Rapports", + "reports-promo": "Créez des rapports à partir de tableaux, de graphiques et de votre propre image de marque, et envoyez-les selon une planification." + }, + "platform-feature": { + "overview": "Aperçu", + "white-labeling": { + "not-in-plan": "La marque blanche n’est pas incluse dans votre forfait", + "not-in-ce-grant": "La marque blanche n’est pas incluse dans votre Community Grant.", + "add": "Ajouter la marque blanche", + "request": "Demander la marque blanche", + "offer-title": "Votre marque, votre écran de connexion, vos menus, vos libellés", + "offer-with-plan-lede": "La marque blanche est incluse dans le forfait Pilot et les forfaits supérieurs. Tout ce que vous définissez ici remplace les éléments de ThingsBoard — sur la page de connexion, dans les e-mails que vous envoyez et sur chaque page où travaillent vos clients.", + "offer-lede": "Avec la marque blanche, tout ce que vous définissez ici remplace les éléments de ThingsBoard — sur la page de connexion, dans les e-mails que vous envoyez et sur chaque page où travaillent vos clients.", + "pack-offer-lede": "La marque blanche est incluse dans le Professional Pack, l’add-on payant de votre Community Grant. Avec le Professional Pack activé, tout ce que vous définissez ici remplace les éléments de ThingsBoard — sur la page de connexion, dans les e-mails que vous envoyez et sur chaque page où travaillent vos clients.", + "sys-admin-wl-note": "Administrateur système ? Connectez-vous et ajoutez la marque blanche dans la gestion des licences." + }, + "integrations": { + "not-in-ce-grant": "Les intégrations ne sont pas incluses dans votre Community Grant.", + "pack-offer-title": "Importez des données depuis LoRaWAN, MQTT, Kafka et d’autres plateformes IoT", + "pack-offer-lede": "Les intégrations font partie du Professional Pack, l’add-on payant de votre Community Grant. Chacune lit les données d’un serveur réseau LoRaWAN, d’un broker MQTT ou Kafka, ou d’une autre plateforme IoT — en créant automatiquement les appareils dès leur apparition et en enregistrant ce qu’ils envoient sous forme de télémétrie.", + "overview": { + "brokers-and-platforms": "Brokers et plateformes", + "brokers-and-platforms-desc": "Une intégration par source, configurée et surveillée depuis l’interface.", + "data-converters": "Convertisseurs de données", + "data-converters-desc": "Décodez la charge utile propre à un appareil — y compris les codecs LoRaWAN — avec un script, sans modifier ce que l’appareil envoie.", + "downlink": "Liaison descendante", + "downlink-desc": "Renvoyez des commandes et une configuration à l’appareil par la même connexion.", + "remote-integrations": "Intégrations distantes", + "remote-integrations-desc": "Exécutez-en une en périphérie, sur un hôte qui vous appartient — elle continue la mise en mémoire tampon tant que le lien avec ThingsBoard est coupé." + }, + "dozen-protocols-brokers-and-platforms": "Des dizaines de protocoles, de brokers et de plateformes", + "browse-setup-guides-note": "Consultez les guides de configuration dans notre documentation." + }, + "scheduler": { + "not-in-ce-grant": "Le planificateur n’est pas inclus dans votre Community Grant.", + "pack-offer-title": "Exécutez des mises à jour et envoyez des événements aux chaînes de règles selon une planification", + "pack-offer-lede": "Le planificateur fait partie du Professional Pack, l’add-on payant de votre Community Grant. Exécutez des mises à jour de firmware et envoyez des événements aux chaînes de règles : chaque entrée porte une heure de début, une règle de répétition et son propre fuseau horaire, et la plateforme la déclenche, que quelque chose de votre côté soit encore en cours d’exécution ou non.", + "overview": { + "repeats-and-timezones": "Répétitions et fuseaux horaires", + "repeats-and-timezones-desc": "Une seule fois, ou chaque jour ou chaque semaine aux jours de votre choix — et chaque événement est traité dans son propre fuseau horaire.", + "device-commands": "Commandes d’appareil", + "device-commands-desc": "Envoyez une commande à un appareil à une heure donnée, sans tâche cron détenant un jeton d’API.", + "firmware-and-software": "Firmware et logiciel", + "firmware-and-software-desc": "Déployez un paquet OTA sur un appareil ou sur tout un groupe à une heure où personne ne surveille.", + "rule-chain-triggers": "Déclencheurs de chaîne de règles", + "rule-chain-triggers-desc": "Publiez dans une chaîne de règles, afin que tout ce qu’une chaîne de règles sait faire puisse s’exécuter sans surveillance." + } + }, + "reporting": { + "not-in-ce-grant": "Les rapports ne sont pas inclus dans votre Community Grant.", + "pack-offer-title": "Créez un rapport une fois et livrez-le à chaque exécution planifiée", + "pack-offer-lede": "Les rapports font partie du Professional Pack, l’add-on payant de votre Community Grant. Vous concevez vous-même la mise en page du rapport — tableaux, graphiques, texte et votre propre image de marque — et chaque exécution parvient à ses destinataires selon la planification ou lorsqu’une alarme se déclenche.", + "overview": { + "your-own-layout": "Votre propre disposition", + "your-own-layout-desc": "Faites glisser tableaux, graphiques, texte et images à leur place, et un seul modèle enregistré sert tous les clients.", + "pdf-or-csv": "PDF ou CSV", + "pdf-or-csv-desc": "Un document prêt à imprimer avec les graphiques tracés, ou les lignes brutes pour qui veut les chiffres.", + "channel": "E-mail, Slack, Teams ou SMS", + "channel-desc": "Choisissez le canal par destinataire ou par groupe d’utilisateurs — la plateforme livre chaque exécution planifiée.", + "attached-to-alarm": "Joint à l’alarme", + "attached-to-alarm-desc": "Une notification transporte le rapport avec elle, généré au moment du déclenchement de l’alarme, à partir des données de cet instant." + } + } + }, + "subscription-error": { + "title": "Violation de l’abonnement", + "warning-title": "Avertissement concernant l’abonnement", + "upgrade-subscription-plan": "Veuillez passer à un forfait supérieur", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} est disponible à partir du forfait {{planName}}. Pour continuer, veuillez demander à votre administrateur système de passer à un forfait supérieur.", + "limit-reached": { + "device-count": "Vous avez atteint le nombre maximal d’appareils ({{value}}) autorisé par votre forfait d’abonnement !", + "asset-count": "Vous avez atteint le nombre maximal d’actifs ({{value}}) autorisé par votre forfait d’abonnement !", + "edge-count": "Vous avez atteint le nombre maximal d’instances Edge ({{value}}) autorisé par votre forfait d’abonnement !", + "agent-count": "Vous avez atteint le nombre maximal de Remote Agents ({{value}}) autorisé par votre forfait d’abonnement !" + }, + "feature-disabled": { + "white-labeling": "La fonctionnalité Marque blanche n’est pas autorisée par votre forfait d’abonnement !" + } + }, "phone-input": { "phone-input-label": "Numéro de téléphone", "phone-input-required": "Le numéro de téléphone est requis", diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index 20f55c7e58..8d62a64dc2 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "Активувати ThingsBoard", + "initial": { + "welcome": "Ласкаво просимо до ThingsBoard {{version}}", + "title": "Отримайте безкоштовну ліцензію та починайте розробку", + "desc": "Кілька хвилин на Порталі ліцензій — ви створите обліковий запис, оберете ліцензію, і цей екземпляр активується сам.", + "open-license-portal": "Відкрити Портал ліцензій", + "already-have-license": "Вже маєте ліцензію?", + "free-no-credit-card": "Безкоштовно назавжди. Кредитна картка не потрібна.", + "source-available": "Вихідний код доступний за ліцензією" + }, + "waiting": { + "live-eyebrow": "Відстежуємо активацію", + "title": "Продовжте на Порталі ліцензій", + "desc": "Увійдіть або створіть обліковий запис, оберіть ліцензію, прийміть умови. Щойно ліцензію буде видано, цей екземпляр активується сам.", + "nothing-opened": "Нічого не відкрилося?", + "paste-link-or-scan-qr-code": "Вставте текстове посилання на будь-якому пристрої з інтернетом або скануйте QR-код телефоном.", + "text-link": "Текстове посилання", + "qr-code": "QR-код", + "qr-code-hint": "Наведіть камеру телефона на код, потім відкрийте посилання. Телефону потрібне власне підключення до інтернету.", + "have-key": "Маєте ліцензійний ключ?", + "activate-key": "Активувати ліцензію за ключем" + }, + "offline": { + "eyebrow": "Офлайн", + "title": "Активація з іншого пристрою", + "desc": "Цей сервер не може зв’язатися з Порталом ліцензій, тому потрібно два кроки: отримайте ліцензію там на підключеному пристрої, а потім введіть ключ тут.", + "get-your-license": "Отримайте ліцензію на порталі", + "open-link": "Відкрийте це посилання на будь-якому пристрої з інтернетом. Ви увійдете або створите обліковий запис, оберете ліцензію та приймете умови. Після цього портал покаже ліцензійний ключ.", + "paste-key": "Вставте ключ тут", + "no-connected-device": "Немає жодного підключеного пристрою?" + }, + "have-key": { + "title": "Активувати ліцензію за ключем", + "enter-license-key": "Введіть свій ліцензійний ключ", + "enter-license-key-note": "Він є у вашому обліковому записі Порталу ліцензій: увійдіть на {{hostName}} на будь-якому пристрої та скопіюйте його звідти.", + "no-account": "Немає облікового запису й підключеного пристрою?", + "contact-support": "Звернутися до підтримки" + }, + "key-form": { + "placeholder": "Вставте свій ліцензійний ключ", + "invalid": "Цей ключ недійсний для цього екземпляра. Перевірте, чи не бракує символу, або зверніться до підтримки.", + "activate": "Активувати", + "activating": "Активація" + }, + "account": { + "title": "Цей екземпляр активовано", + "desc": "Вашу ліцензію збережено на цьому сервері та в обліковому записі на Порталі ліцензій.", + "create-sys-admin-account": "Створіть обліковий запис системного адміністратора", + "create-sys-admin-account-hint": "Він використовується для входу на цей сервер — окремо від облікового запису на Порталі ліцензій, у якому зберігається ваша ліцензія.", + "email-label": "Email", + "email-required": "Введіть адресу електронної пошти.", + "email-invalid": "Введіть дійсну адресу електронної пошти.", + "password-label": "Пароль", + "password-required": "Введіть пароль.", + "password-min-length": "Пароль має містити щонайменше 6 символів.", + "confirm-label": "Підтвердьте пароль", + "confirm-required": "Підтвердьте свій пароль.", + "confirm-mismatch": "Паролі не збігаються.", + "demo-tenant-title": "Налаштувати демо-орендаря", + "demo-tenant-desc": "Найшвидший спосіб побачити платформу в дії. Дашборди, пристрої та ланцюги правил уже налаштовано, а користувачі орендаря й клієнта готові до входу. Також його можна відкрити в розділі «Орендарі» як системний адміністратор.", + "create": "Створити обліковий запис", + "creating": "Створення облікового запису" + }, + "demo-tenant": { + "signed-in-as": "Ваш обліковий запис системного адміністратора створено, і ви увійшли як {{email}}.", + "title": "Хочете ознайомитися з демо-орендарем?", + "desc": "Основне вже налаштовано — відкрийте дашборд, змініть правило або підключіть власний пристрій.", + "dashboards": "Дашборди — створені на основі пристроїв нижче, з уже виконаною прив’язкою віджетів", + "devices": "Пристрої — з їхніми профілями та правилами тривог; жодних даних ще не надходило", + "rule-chains": "Ланцюги правил — де ухвалюються рішення про ці тривоги", + "explore": "Ознайомитися з демо-орендарем", + "not-now": "Не зараз", + "not-now-hint": "Вибір «Не зараз» відкриє адміністрування системи.", + "signing-in-later": "Вхід пізніше", + "demo-tenant-hint": "Власний адміністратор орендаря. Як системний адміністратор ви також можете відкрити орендаря в розділі «Орендарі» без пароля." + }, + "non-production": { + "eyebrow": "Потрібне повторне підтвердження", + "title": "Підтвердьте, що це розгортання досі не використовується у виробничому середовищі.", + "desc": "Цей екземпляр працює на безкоштовній невиробничій ліцензії, яку періодично повторно підтверджує системний адміністратор. Підтвердження не впливає на ваші дані, користувачів або підключення пристроїв.", + "confirm": "Підтвердити", + "confirming": "Підтвердження", + "sysadmin-required": "Підтвердити це може лише системний адміністратор.", + "login-as-sysadmin": "Увійти як системний адміністратор", + "state-verify-failed": "Підтверджено, але стан не вдалося перевірити. Оновіть сторінку.", + "state-not-updated": "Цей екземпляр досі показує підтвердження як невиконане. Оновіть сторінку й підтвердьте ще раз." + }, + "errors": { + "signin-failed": "Обліковий запис створено, але автоматичний вхід не вдався. Оновіть сторінку й увійдіть вручну.", + "state-not-updated": "Налаштування завершено, але стан не оновлено. Оновіть сторінку.", + "state-verify-failed": "Налаштування завершено, але стан не вдалося перевірити. Оновіть сторінку.", + "no-sign-up-url": "Цей екземпляр відповів без посилання, тому відкривати нічого.", + "link-expired": "Термін дії цього посилання минув. Відкрийте Портал ліцензій ще раз, щоб отримати нове.", + "activated-state-verify-failed": "Цей екземпляр ліцензовано, але наступний крок поки не вдалося прочитати. Спроби тривають — ви також можете оновити сторінку.", + "no-connection": "Немає з’єднання із сервером. Спробуйте пізніше.", + "request-failed": "Не вдалося виконати запит. Спробуйте ще раз." + } + }, "access": { "unauthorized": "Неавторизовано", "unauthorized-access": "Неавторизований доступ", @@ -53,6 +152,7 @@ "refresh": "Оновити", "undo": "Повернути", "copy": "Копіювати", + "copied": "Скопійовано", "paste": "Вставити", "copy-reference": "Копіювати посилання", "paste-reference": "Вставити посилання", @@ -80,6 +180,7 @@ "reset-default": "Скинути до значень за замовчуванням", "show-more": "Показати більше", "dont-show-again": "Більше не показувати", + "dont-show-this-again": "Більше не показувати", "see-documentation": "Переглянути документацію", "see-debug-events": "Переглянути події налагодження", "clear": "Очистити", @@ -966,6 +1067,7 @@ "prev-widget": "Попередній віджет", "add-to-dashboard": "Додати до дашборду", "add-widget-to-dashboard": "Додати віджет до дашборду", + "no-widget-grid-in-dashboard": "Усі стани цього дашборда є HTML-сторінками, тому віджет не можна додати до нього.", "selected-attributes": "Вибрано { count, plural, one {# атрибут} few {# атрибути} many {# атрибутів} other {# атрибута} }", "selected-telemetry": "Вибрано { count, plural, one {# одиницю телеметрії} few {# юніти телеметрії} many {# юнітів телеметрії} other {# юніта телеметрії} }", "no-attributes-text": "Атрибутів не знайдено", @@ -1210,6 +1312,7 @@ "type-timeseries-deleted": "Телеметрію видалено", "type-owner-changed": "Власника змінено", "type-sms-sent": "SMS надіслано", + "type-non-production-confirmed": "Невиробниче використання підтверджено", "any-type": "Будь-який тип", "audit-log-filter-title": "Фільтр журналу аудиту", "filter-title": "Фільтр", @@ -2072,7 +2175,6 @@ "manage-public-dashboards": "Керувати публічними дашбордами", "manage-customer-assets": "Керувати активами клієнта", "manage-customer-edges": "Керувати Edge клієнта", - "manage-customer-agents": "Керувати Agent", "manage-public-assets": "Керувати публічними активами", "add-customer-text": "Додати нового клієнта", "no-customers-text": "Клієнтів не знайдено", @@ -2117,7 +2219,8 @@ "search": "Шукати клієнтів", "selected-customers": "{ count, plural, one {# клієнт} few {# клієнти} many {# клієнтів} other {# клієнта} } вибрано", "edges": "Екземпляри Edge клієнта", - "manage-edges": "Керувати Edge" + "manage-edges": "Керувати Edge", + "manage-agents": "Керувати Agent" }, "customers-hierarchy": { "customers-hierarchy": "Ієрархія клієнтів", @@ -2273,6 +2376,8 @@ "no-widgets": "Віджетів не налаштовано", "add-widget": "Додати новий віджет", "add-widget-button-text": "Додати віджет", + "edit-html-page": "Редагувати HTML-сторінку", + "html-page": "HTML-сторінка", "title": "Заголовок", "image": "Зображення дашборду", "mobile-app-settings": "Налаштування мобільного застосунку", @@ -2282,6 +2387,7 @@ "update-new-version": "Завантажити нову версію", "upload-file-to-update": "Завантажити файл для оновлення", "take-screenshot": "Зробити скріншот", + "take-screenshot-failed": "Не вдалося зробити знімок дашборда. Спробуйте ще раз.", "select-widget-title": "Вибрати віджет", "select-widget-value": "{{title}}: вибрати віджет", "select-widget-subtitle": "Список доступних типів віджетів", @@ -2345,6 +2451,7 @@ "layout-type-default": "За замовчуванням", "layout-type-scada": "SCADA", "layout-type-divider": "Роздільник", + "layout-type-html": "HTML-сторінка", "layout-settings-type": "Налаштування макету: екран «{{ type }}»", "columns-count": "Кількість стовпців", "columns-count-required": "Потрібно вказати кількість стовпців.", @@ -4211,6 +4318,7 @@ "disconnected": "Відключено" }, "error": { + "data-export-failed": "Помилка експорту даних: не вдалося визначити режим розгортання. Будь ласка, спробуйте ще раз.", "unable-to-connect": "Не вдалося підключитися до сервера! Будь ласка, перевірте ваше підключення до Інтернету.", "unhandled-error-code": "Необроблений код помилки: {{errorCode}}", "unknown-error": "Невідома помилка" @@ -5316,7 +5424,7 @@ "isgateway": "Це Gateway", "activity-time-from-gateway-device": "Час активності з пристрою Gateway", "description": "Опис", - "edge-license-key": "Ключ ліцензії", + "edge-license-key": "Ліцензійний ключ", "cloud-endpoint": "Кінцева точка хмари", "routing-key": "Ключ Edge", "secret": "Секрет Edge" @@ -5586,6 +5694,7 @@ "type-ttn-description": "Відкрита та децентралізована мережа LoRaWAN.", "type-tti": "The Things Stack Industries", "type-tti-description": "Програмне забезпечення для масштабованої експлуатації приватних мереж LoRaWAN.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Сервер конфігурації мережі LoRaWAN.", "type-particle": "Particle", @@ -6163,8 +6272,6 @@ "item": { "type-widget": "Віджет", "type-widget-plural": "Віджети", - "type-dashboard": "Дашборд", - "type-dashboard-plural": "Дашборди", "type-solution-template": "Шаблон рішення", "type-solution-template-plural": "Шаблони рішень", "type-calculated-field": "Обчислюване поле", @@ -6186,6 +6293,8 @@ "search": "Пошук...", "search-published-items": "Пошук опублікованих елементів...", "see-all-results": "Переглянути всі результати", + "see-all-results-for": "Переглянути всі результати ({{ count }}) за запитом «{{ search }}»", + "see-results-for": "Переглянути результати за запитом «{{ search }}»", "no-search-results": "Не знайдено результатів для '{{ search }}'", "no-items-available": "Немає доступних елементів", "search-results": "Результати пошуку", @@ -6208,48 +6317,45 @@ "type": "Тип", "items-per-page": "Елементів на сторінку", "filter": "Фільтр", + "clear-filters": "Очистити фільтри", "available": "Доступно", "items-page-desc-widgets": "Прискорте свій шлях в IoT за допомогою попередньо налаштованих віджетів, розроблених для вашої галузі. Розгортайте перевірені архітектури миттєво та зосередьте свою енергію на головному: унікальній логіці вашого бізнесу.", - "items-page-desc-dashboards": "Перегляньте дашборди, щоб знайти готові шаблони візуалізації та інтерактивні макети інтерфейсу, які можна розгорнути за кілька хвилин, аби оживити ваші IoT-дані.", - "items-page-desc-solution-templates": "Повні пакети IoT-рішень із дашбордами, ланцюжками правил і конфігураціями пристроїв. Почніть роботу з перевіреними архітектурами.", + "items-page-desc-solution-templates": "Повні пакети IoT-рішень із дашбордами, ланцюгами правил і конфігураціями пристроїв. Почніть роботу з перевіреними архітектурами.", "items-page-desc-calculated-fields": "Використовуйте попередньо налаштовані розрахункові поля для автоматизації складних метрик, таких як паливна ефективність або коефіцієнт потужності. Пропустіть ручну логіку та зробіть дашборди чистими й придатними до дій.", "items-page-desc-alarm-rules": "Використовуйте готові шаблони правил сповіщень для виявлення критичних умов, таких як низький заряд батареї, перевищення порогових значень або перехід пристроїв в офлайн. Пропустіть написання логіки правил і починайте реагувати на інциденти в момент їх виникнення.", - "items-page-desc-rule-chains": "Від складної обробки даних до безшовних інтеграцій API — шаблони ланцюжків правил забезпечують архітектурну основу, необхідну для масштабування без розробки з нуля.", + "items-page-desc-rule-chains": "Від складної обробки даних до безшовних інтеграцій API — шаблони ланцюгів правил забезпечують архітектурну основу, необхідну для масштабування без розробки з нуля.", "items-page-desc-devices": "Перегляньте бібліотеку пристроїв, щоб знайти попередньо налаштовані шаблони підключення, які можна розгорнути за кілька хвилин для миттєвого підключення вашого обладнання.", "device-library": "Бібліотека пристроїв", "most-popular-in-iot-hub": "Найпопулярніше в IoT Hub", - "pe-required-title": "Потрібна Professional Edition", - "pe-required-message": "Цей елемент доступний лише у ThingsBoard Professional Edition. Наразі ви використовуєте Community Edition. Щоб встановити його, оновіться до Professional Edition.", "upgrade-required-title": "Потрібне оновлення ThingsBoard", - "upgrade-required-message": "Цей елемент потребує ThingsBoard {{minVersion}} або новішої версії. Наразі ви використовуєте {{currentVersion}}. Оновіть свій інстанс, щоб встановити його.", - "upgrade-instance": "Оновити інстанс", + "upgrade-required-message": "Цей елемент потребує ThingsBoard {{minVersion}} або новішої версії. Наразі ви використовуєте {{currentVersion}}. Оновіть версію свого екземпляра, щоб встановити його.", + "upgrade-instance": "Оновити версію екземпляра", "become-creator-text": "Надішліть свої шаблони до ThingsBoard IoT Hub, щоб бути представленими та продемонструвати свої рішення нашій глобальній спільноті.", "contribute": "Зробити внесок", "creator-profile": "Профіль автора", "title-widgets": "Віджети", - "title-dashboards": "Дашборди", "title-calculated-fields": "Обчислювані поля", "title-alarm-rules": "Правила тривог", - "title-rule-chains": "Ланцюжки правил", + "title-rule-chains": "Ланцюги правил", "title-devices": "Пристрої", "title-solution-templates": "Шаблони рішень", "subtitle-widgets": "Перегляньте віджети спільноти для ваших дашбордів", - "subtitle-dashboards": "Перегляньте готові до використання дашборди", "subtitle-solution-templates": "Перегляньте повні пакети IoT-рішень", "subtitle-calculated-fields": "Перегляньте шаблони обчислюваних полів", "subtitle-alarm-rules": "Перегляньте шаблони правил тривог", - "subtitle-rule-chains": "Перегляньте шаблони ланцюжків правил", + "subtitle-rule-chains": "Перегляньте шаблони ланцюгів правил", "subtitle-devices": "Перегляньте конфігурації пристроїв", - "search-dashboards": "Пошук дашбордів...", "search-solution-templates": "Пошук шаблонів рішень...", "search-calculated-fields": "Пошук розрахункових полів...", "search-alarm-rules": "Пошук правил тривог...", - "search-rule-chains": "Пошук ланцюжків правил...", + "search-rule-chains": "Пошук ланцюгів правил...", "search-devices": "Пошук пристроїв...", + "sort-most-relevant": "Найрелевантніші", "sort-most-installed": "Найбільш встановлені", "sort-newest": "Найновіші", "sort-name": "Назва (А-Я)", "type-filter-label": "Тип", + "verified-creators-only": "Лише перевірені автори", "category": "Категорія", "use-case": "Сценарій використання", "vendor": "Постачальник", @@ -6292,23 +6398,23 @@ "remove": "Вилучити", "remove-confirm-title": "Видалити '{{name}}'?", "remove-desc": "Видалення також призведе до видалення встановленої сутності та пов’язаних із нею ресурсів у межах вашого орендаря", - "remove-desc-solution-template": "Видалення цього шаблону рішення також призведе до видалення всіх створених сутностей, включно з дашбордами, ланцюжками правил, пристроями та іншими пов’язаними ресурсами в межах вашого орендаря", + "remove-desc-solution-template": "Видалення цього шаблону рішення також призведе до видалення всіх створених сутностей, включно з дашбордами, ланцюгами правил, пристроями та іншими пов’язаними ресурсами в межах вашого орендаря", "remove-anyway": "Все одно видалити", "select-entity-for-cf": "Виберіть сутність для розрахункового поля '{{name}}'", "select-entity-for-alarm-rule": "Виберіть сутність для правила аварійного сигналу '{{name}}'", - "rule-chain-install-subtitle": "Встановлення автоматично створює ланцюжок правил у межах вашого орендаря. За бажанням встановіть його для профілю як ланцюжок за замовчуванням, щоб сутності цього профілю направлялися через нього.", - "rule-chain-set-as-profile-default-toggle": "Встановити як ланцюжок правил профілю за замовчуванням", - "rule-chain-set-as-profile-default-tooltip": "Якщо ввімкнено, усі сутності вибраного профілю надсилатимуть повідомлення через цей ланцюжок правил.", - "rule-chain-overwrite-title": "Замінити наявний ланцюжок правил за замовчуванням?", - "rule-chain-overwrite-body": "Профіль {{profile}} наразі використовує {{existing}} як ланцюжок правил за замовчуванням. Встановлення замінить його цим ланцюжком правил.", + "rule-chain-install-subtitle": "Встановлення автоматично створює ланцюг правил у межах вашого орендаря. За бажанням встановіть його для профілю як ланцюг за замовчуванням, щоб сутності цього профілю направлялися через нього.", + "rule-chain-set-as-profile-default-toggle": "Встановити як ланцюг правил профілю за замовчуванням", + "rule-chain-set-as-profile-default-tooltip": "Якщо ввімкнено, усі сутності вибраного профілю надсилатимуть повідомлення через цей ланцюг правил.", + "rule-chain-overwrite-title": "Замінити наявний ланцюг правил за замовчуванням?", + "rule-chain-overwrite-body": "Профіль {{profile}} наразі використовує {{existing}} як ланцюг правил за замовчуванням. Встановлення замінить його цим ланцюгом правил.", "rule-chain-overwrite-replace": "Замінити", "install": "Встановити", "open": "Відкрити", "built-in": "Вбудований", "built-in-lookup-failed-title": "Не вдалося перевірити цей компонент", - "built-in-lookup-failed-text": "Не вдалося перевірити, чи '{{name}}' вже присутній у цьому інстансі. Нічого не було встановлено — спробуйте ще раз.", + "built-in-lookup-failed-text": "Не вдалося перевірити, чи «{{name}}» вже присутній у цьому екземплярі. Нічого не було встановлено — спробуйте ще раз.", "built-in-missing-title": "Недоступно в цьому екземплярі", - "built-in-missing-text": "'{{name}}' зазвичай постачається разом із ThingsBoard, але відсутній у цьому інстансі — можливо, його видалив системний адміністратор. Замість цього ви можете встановити його з IoT Hub.", + "built-in-missing-text": "«{{name}}» зазвичай постачається разом із ThingsBoard, але відсутній у цьому екземплярі — можливо, його видалив системний адміністратор. Замість цього ви можете встановити його з IoT Hub.", "connect": "Підключити", "connect-device": "Підключити пристрій", "installing": "Встановлення...", @@ -6344,6 +6450,7 @@ "update-confirm": "Оновити '{{name}}' до версії {{version}}?", "update-confirm-title": "Оновити '{{name}}'?", "update-desc": "Оновлення замінить поточну версію на найновішу та переналаштує пов’язані ресурси в межах вашого орендаря", + "update-desc-solution-template": "Оновлення цього шаблону рішення видалить і заново створить усі сутності, які він створив, зокрема дашборди, ланцюги правил, пристрої та інші пов’язані ресурси у вашому орендарі. Усі внесені вами зміни буде втрачено", "update-success-desc": "'{{name}}' успішно оновлено", "updating": "Оновлення...", "update-success-title": "Оновлення успішне", @@ -6470,6 +6577,8 @@ "no-data": "Немає записів" }, "layout": { + "switch-to-html-page-title": "Перемкнути на HTML-сторінку?", + "switch-to-html-page-text": "HTML-сторінка замінює сітку віджетів цього стану. З макетів цього стану буде видалено: { count, plural, one {# віджет} few {# віджети} other {# віджетів} }.", "layout": "Макет", "layouts": "Макети", "manage": "Налаштувати макети", @@ -7068,6 +7177,8 @@ "entities-limit": "Ліміт сутностей", "entities-limit-increase-request": "Запит на збільшення ліміту сутностей", "addon-access-error": "Помилка доступу до доповнення/функції", + "addon-access-request": "Запит на доступ до доповнення/функції", + "plan-upgrade-request": "Запит на перехід на вищий план", "entity-action": "Дія сутності", "general": "Загальні", "integration-lifecycle-event": "Подія життєвого циклу інтеграції", @@ -8840,8 +8951,6 @@ "single-entity": "Одна сутність", "group-entities": "Група сутностей", "entities-group-owner": "Власник групи сутностей", - "single-device": "Один пристрій", - "group-of-devices": "Група пристроїв", "devices-group-owner": "Власник групи пристроїв", "message-body": "Тіло повідомлення", "target": "Ціль", @@ -9427,6 +9536,12 @@ "maximum-scheduler-events": "Максимальна кількість подій планувальника", "maximum-scheduler-events-required": "Потрібно вказати максимальну кількість подій планувальника.", "maximum-scheduler-events-range": "Максимальна кількість подій планувальника не може бути від’ємною", + "maximum-agents": "Максимальна кількість Agent", + "maximum-agents-required": "Потрібно вказати максимальну кількість Agent.", + "maximum-agents-range": "Максимальна кількість Agent не може бути від’ємною", + "maximum-agent-applications": "Максимальна кількість застосунків Agent", + "maximum-agent-applications-required": "Потрібно вказати максимальну кількість застосунків Agent.", + "maximum-agent-applications-range": "Максимальна кількість застосунків Agent не може бути від’ємною", "maximum-resources-sum-data-size": "Максимальний загальний розмір файлів ресурсів (байти)", "maximum-resources-sum-data-size-required": "Потрібно вказати максимальний загальний розмір файлів ресурсів.", "maximum-resources-sum-data-size-range": "Максимальний загальний розмір файлів ресурсів не може бути від’ємним", @@ -11308,8 +11423,8 @@ "error-verification-url": "Доменне ім’я не повинно містити символи '/' і ':'. Приклад: thingsboard.io", "show-connectivity-dialog": "Показувати діалог підключення", "show-connectivity-dialog-desc": "Показує діалог підключення пристрою з інструкціями після його створення", - "override-trendz-add-on-name": "Перезаписати ім’я додаткової функції Trendz analytics", - "override-trendz-add-on-name-desc": "Перейменовує додаток \"Trendz\" на \"Розширена аналітика\" на всій платформі", + "override-trendz-add-on-name": "Перезаписати назву доповнення Trendz analytics", + "override-trendz-add-on-name-desc": "Перейменовує доповнення «Trendz» на «Розширена аналітика» на всій платформі", "show-platform-name-version-bottom-left-corner": "Показувати назву та версію платформи в нижньому лівому куті", "show-platform-name-version": "Показати назву платформи та версію", "platform-name": "Назва платформи", @@ -12536,9 +12651,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -12870,10 +12988,7 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Облікові дані", - "here-app-id": "ID програми HERE", - "here-app-code": "Код програми HERE", "here-api-key": "API ключ HERE", - "here-use-new-version-api-3": "Використовувати версію API 3", "tencent-maps-api-key": "API ключ Tencent Maps", "tencent-map-type-roadmap": "Звичайна карта", "tencent-map-type-satelite": "Супутникова карта", @@ -13739,9 +13854,10 @@ "license-info": { "title": "Інформація про ліцензію", "view-all": "Переглянути все", - "license-portal": "Портал ліцензії", + "license-portal": "Портал ліцензій", "devices-info": "{count} / { max, plural, =0 {∞} one {#} few {#} other {#} } Пристрої", "assets-info": "{count} / { max, plural, =0 {∞} one {#} few {#} other {#} } Активи", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edge", "dashboards-info": "{count} / { max, plural, =0 {∞} one {#} few {#} other {#} } Дашборди", "integrations-info": "{count} / { max, plural, =0 {∞} one {#} few {#} other {#} } Інтеграції", "community-support": "Підтримка спільноти", @@ -13910,6 +14026,214 @@ "search-icon": "Шукати піктограму", "no-icons-found": "Не знайдено піктограм для '{{iconSearch}}'" }, + "subscription": { + "entity-limit-text": "Проте ви можете перейти на вищий план, щоб збільшити свої ліміти.", + "upgrade-your-plan": "Перейти на вищий план", + "license-management": "Керування ліцензією", + "perpetual-license": "Безстрокова ліцензія", + "subscription": "Підписка", + "perpetual": "Безстрокова", + "manage-license": "Керувати ліцензією", + "updated-ago": "Оновлено {{ago}}", + "usage-and-limits": "Використання та ліміти", + "add-ons": "Доповнення", + "included": "Включено", + "not-included": "Не включено", + "add-to-license": "Додати до ліцензії", + "change-key-title": "Переходите на іншу ліцензію?", + "change-key-text": "Перейдіть на іншу ліцензію або активуйте ізольоване розгортання за допомогою офлайн-ключа.", + "enter-key": "Введіть ключ", + "enter-license-key": "Введіть ліцензійний ключ", + "applying-key-text": "Застосування ключа змінює те, на що ліцензовано це розгортання.", + "keys-issued-text": "Ключі видаються в {{licensePortal}}. Увійдіть на будь-якому пристрої та скопіюйте ключ звідти.", + "check-key": "Перевірити ключ", + "checking-key": "Перевірка цього ключа...", + "current": "Поточна", + "this-key": "Цей ключ", + "replace-license": "Замінити ліцензію", + "new-license-applied": "Новий ліцензійний ключ застосовано.", + "updates-and-support-until": "Оновлення та підтримка до {{date}}.", + "next-charge-and-due-date": "Наступне списання {{total}} {{date}}, сплатити до {{dueDate}}.", + "refresh-license-info": "Оновити інформацію про ліцензію", + "non-production-mode": "Режим розробки — лише для невиробничого використання", + "non-production-mode-details": "Квоти на пристрої, активи та Edge необмежені; брендування недоступне. Не використовуйте цей екземпляр у виробничому середовищі.", + "offline-mode": "Офлайн-режим", + "devices": "Пристрої", + "number-of-devices": "{ count, plural, =1 {1 пристрій} one {# пристрій} few {# пристрої} other {# пристроїв} }", + "unlimited-devices": "Необмежена кількість пристроїв", + "add-devices": "Додати пристрої", + "device-limit-warn": "Використано {{ percent }} ліміту пристроїв.", + "device-limit-critical": "Ліміт пристроїв вичерпано. Нові пристрої не реєструються, доки ліміт не буде збільшено.", + "assets": "Активи", + "add-assets": "Додати активи", + "prod-instances": "Виробничі екземпляри", + "add-instances": "Додати екземпляри", + "ai-credits": "Кредити ШІ", + "add-credits": "Додати кредити", + "white-labeling": "Брендування", + "edge": "Edge-обчислення", + "edges": "Edge", + "add-edges": "Додати Edge", + "agents": "Remote Agent", + "add-agents": "Додати Remote Agent", + "trendz": "Trendz Analytics", + "name-addon": "Доповнення {{name}}", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { Додати {name} } other { Додати {name} } }", + "add-addon-subscription": "{{name}} — платне доповнення, яке збільшує ваш щомісячний платіж.", + "add-addon-perpetual": "{{name}} — платне доповнення, придбане одноразово для цієї ліцензії.", + "upgrade-plan-devices": "У плані {{plan}} ліміт пристроїв уже включено.", + "upgrade-plan-instances": "У плані {{plan}} ліміт виробничих екземплярів уже включено.", + "upgrade-plan-credits": "У плані {{plan}} щомісячні кредити ШІ вже включено.", + "upgrade-plan-edges": "У плані {{plan}} ліміт Edge уже включено.", + "upgrade-plan-agents": "У плані {{plan}} ліміт Remote Agent уже включено.", + "upgrade-plan-white-labeling": "Кожен платний план включає брендування.", + "upgrade-plan-addon": "{{name}} — платне доповнення. Доповнення потребують платного плану.", + "ce-grant-case": "Будь-яка покупка перетворює ваш Community Grant на безстрокову комерційну ліцензію. Ви платите за те, що додаєте, а не за те, що вже покриває Community Grant.", + "pe-pack-case": "Professional Pack — це разова покупка з однаковою ціною для кожного власника Community Grant.", + "ce-grant-white-label": "Усе, що ви вже маркуєте під власним брендом, залишається безкоштовним у межах вашого Community Grant.", + "open-portal-manage-license": "Ми відкриємо ліцензію цього розгортання на Порталі ліцензій. Можливо, доведеться увійти. Натисніть «Оновити», коли повернетеся.", + "open-portal-upgrade-plan": "Ми відкриємо Портал ліцензій і запропонуємо план. Можливо, доведеться увійти. Натисніть «Оновити», коли повернетеся.", + "open-portal": "Відкрити портал", + "add-license-item-title": "Щоб {{ action }} {{ item }}, потрібно оновити {{ package }} на Порталі ліцензій ThingsBoard.", + "action-add": "додати", + "action-enable": "увімкнути", + "package-subscription": "підписку", + "package-perpetual": "пакет ліцензії", + "go-to-license-portal": "Перейти на Портал ліцензій", + "add-license-item-step-first": "Ми перенаправимо вас на Портал ліцензій.", + "add-license-item-step-second": "Після входу ми автоматично відкриємо сторінку, де можна змінити {{ package }}.", + "add-license-item-step-third": "Додайте «{{ item }}» у {{ package }}.", + "add-license-item-step-fourth": "Після завершення натисніть «Оновити інформацію про ліцензію» нижче, щоб негайно оновити {{ package }}.", + "request-feature-sysadmin-text": "Ви системний адміністратор?", + "login-here": "Увійдіть тут", + "to-get-addon": "і отримайте доповнення.", + "request-edge-title": "Забезпечте роботу ваших майданчиків, навіть коли мережа недоступна", + "request-edge-text": "Розгортайте екземпляри Edge, щоб розподілити обробку й аналіз по вашій інфраструктурі. Ключові можливості:", + "edge-card-autonomy-title": "Автономність", + "edge-card-autonomy-text": "Забезпечує миттєву локальну роботу навіть під час збоїв мережі", + "edge-card-filtering-title": "Фільтрація", + "edge-card-filtering-text": "Зменшує хмарний трафік і витрати, надсилаючи лише перевірені, цінні дані", + "edge-card-latency-title": "Затримка", + "edge-card-latency-text": "Забезпечує керування в реальному часі та швидкі відповіді завдяки локальній обробці даних", + "edge-card-security-title": "Безпека", + "edge-card-security-text": "Забезпечує безпечний буфер між OT-пристроями та публічною хмарою", + "edge-card-efficiency-title": "Ефективність", + "edge-card-efficiency-text": "Нормалізує й агрегує дані поблизу джерела, знижуючи навантаження на хмару", + "request-edge-action-text": "Керування Edge доступне як доповнення. Зверніться до системного адміністратора, щоб його увімкнути.", + "request-access": "Запросити доступ", + "requested": "Запит надіслано", + "upgrade-plan": "Перейти на вищий план", + "learn-more": "Дізнатися більше", + "feature-request-sent-title": "Ми надіслали автоматичний запит вашому системному адміністратору на увімкнення {{addonName}}", + "feature-request-sent-text": "Будь ласка, дайте їм трохи часу, щоб переглянути запит і оновити налаштування. Можливо, вам потрібно буде оновити цю сторінку, щоб побачити зміни.", + "request-trendz-title": "Перетворюйте IoT-дані на аналітичні висновки та спрощуйте ухвалення рішень за допомогою {{name}}", + "request-trendz-text": "Відкрийте для себе потужну no-code IoT-аналітику в єдиному робочому просторі на базі ШІ: досліджуйте телеметрію, створюйте логіку, виявляйте аномалії, генеруйте прогнози та перетворюйте необроблені дані на зрозумілі, практичні висновки", + "request-trendz-action-text": "{{name}} доступний як доповнення. Зверніться до системного адміністратора, щоб його увімкнути.", + "trendz-card-metric-explorer-title": "Metric Explorer", + "trendz-card-metric-explorer-text": "Глибокий аналіз телеметрії без коду: власні метрики та миттєві візуальні висновки", + "trendz-card-anomaly-title": "Виявлення аномалій", + "trendz-card-anomaly-text": "Автоматично виявляйте незвичну поведінку у ваших даних", + "trendz-card-calculation-title": "Розрахункові поля", + "trendz-card-calculation-text": "Визначайте бізнес-логіку, перетворюйте телеметрію та створюйте нові метрики", + "trendz-card-prediction-title": "Моделі прогнозування", + "trendz-card-prediction-text": "Прогнозуйте майбутні значення та виявляйте тренди за допомогою вбудованих ML-моделей", + "trendz-card-views-title": "Представлення", + "trendz-card-views-text": "Створюйте дашборди аналітики для команд і клієнтів — усе в одному місці.", + "trendz-card-ai-assistant-title": "ШІ-помічник", + "trendz-card-ai-assistant-text": "Генеруйте логіку, уточнюйте формули та автоматизуйте створення метрик за допомогою ШІ природною мовою.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Інтеграції, планувальник, звіти та брендування.", + "pe-pack-desc": "Розширює ваш Community Grant до повного набору функцій.", + "request-pe-pack": "Запросити повний Professional Pack", + "add-pe-pack": "Додати повний Professional Pack", + "pe-pack-extend-ce": "Розширює ваш Community Grant до повного набору функцій.", + "sys-admin-pe-pack-note": "Системний адміністратор? Увійдіть і додайте Professional Pack у розділі «Керування ліцензією».", + "pe-pack-requested": "Professional Pack запрошено в вашого системного адміністратора.", + "white-labeling-promo": "Встановіть логотип, кольори та заголовки на сторінці налаштувань.", + "white-labeling-promo-try": "Встановіть логотип, кольори та заголовки на сторінці налаштувань. Відкрийте її, щоб спробувати.", + "integrations": "Інтеграції", + "integrations-promo": "Отримуйте дані з LoRaWAN, MQTT, Kafka та інших IoT-платформ.", + "scheduler": "Планувальник", + "scheduler-promo": "Виконуйте оновлення та надсилайте події в ланцюги правил за розкладом.", + "reports": "Звіти", + "reports-promo": "Створюйте звіти з таблиць, діаграм і власного брендингу та надсилайте їх за розкладом." + }, + "platform-feature": { + "overview": "Огляд", + "white-labeling": { + "not-in-plan": "Брендування не входить до вашого плану", + "not-in-ce-grant": "Брендування не входить до вашого Community Grant.", + "add": "Додати брендування", + "request": "Запросити брендування", + "offer-title": "Ваш бренд, ваш екран входу, ваші меню, ваші написи", + "offer-with-plan-lede": "Брендування доступне в плані Pilot і вище. Усе, що ви встановите тут, замінить елементи ThingsBoard — на сторінці входу, у листах, які ви надсилаєте, і на кожній сторінці, де працюють ваші клієнти.", + "offer-lede": "Із брендуванням усе, що ви встановите тут, замінить елементи ThingsBoard — на сторінці входу, у листах, які ви надсилаєте, і на кожній сторінці, де працюють ваші клієнти.", + "pack-offer-lede": "Брендування входить до Professional Pack — платного доповнення до вашого Community Grant. Коли Professional Pack увімкнено, усе, що ви встановите тут, замінить елементи ThingsBoard — на сторінці входу, у листах, які ви надсилаєте, і на кожній сторінці, де працюють ваші клієнти.", + "sys-admin-wl-note": "Системний адміністратор? Увійдіть і додайте брендування у розділі «Керування ліцензією»." + }, + "integrations": { + "not-in-ce-grant": "Інтеграції не входять до вашого Community Grant.", + "pack-offer-title": "Отримуйте дані з LoRaWAN, MQTT, Kafka та інших IoT-платформ", + "pack-offer-lede": "Інтеграції входять до Professional Pack — платного доповнення до вашого Community Grant. Кожна з них зчитує дані з LoRaWAN Network Server, брокера MQTT чи Kafka або іншої IoT-платформи, автоматично створює пристрої в міру їх появи та зберігає надіслане ними як телеметрію.", + "overview": { + "brokers-and-platforms": "Брокери та платформи", + "brokers-and-platforms-desc": "Одна інтеграція на кожне джерело, налаштування й моніторинг з інтерфейсу.", + "data-converters": "Конвертери даних", + "data-converters-desc": "Декодуйте власні дані пристрою, зокрема кодеки LoRaWAN, за допомогою скрипта — не змінюючи того, що надсилає пристрій.", + "downlink": "Низхідні повідомлення", + "downlink-desc": "Надсилайте команди й конфігурацію назад на пристрій тим самим з’єднанням.", + "remote-integrations": "Віддалені інтеграції", + "remote-integrations-desc": "Запускайте її на межі мережі, на власному хості — вона продовжує буферизацію, поки зв’язок із ThingsBoard перервано." + }, + "dozen-protocols-brokers-and-platforms": "Десятки протоколів, брокерів і платформ", + "browse-setup-guides-note": "Перегляньте посібники з налаштування в нашій документації." + }, + "scheduler": { + "not-in-ce-grant": "Планувальник не входить до вашого Community Grant.", + "pack-offer-title": "Виконуйте оновлення та надсилайте події в ланцюги правил за розкладом", + "pack-offer-lede": "Планувальник є частиною Professional Pack — платного доповнення до вашого Community Grant. Виконуйте оновлення прошивки та надсилайте події в ланцюги правил: кожен запис має час початку, правило повторення та власний часовий пояс, а платформа запускає його незалежно від того, чи працює ще щось із вашого боку.", + "overview": { + "repeats-and-timezones": "Повторення та часові пояси", + "repeats-and-timezones-desc": "Одноразово, щодня або щотижня у вибрані дні — і кожна подія обробляється у власному часовому поясі.", + "device-commands": "Команди пристроям", + "device-commands-desc": "Надсилайте команду пристрою у визначений час без cron-завдання з API-токеном.", + "firmware-and-software": "Прошивка та програмне забезпечення", + "firmware-and-software-desc": "Розгортайте OTA-пакет на пристрої чи цілій групі в годину, коли за цим ніхто не стежить.", + "rule-chain-triggers": "Тригери ланцюгів правил", + "rule-chain-triggers-desc": "Надсилайте повідомлення в ланцюг правил, щоб усе, що він уміє, працювало без нагляду." + } + }, + "reporting": { + "not-in-ce-grant": "Звіти не входять до вашого Community Grant.", + "pack-offer-title": "Створіть звіт один раз і доставляйте його під час кожного запуску за розкладом", + "pack-offer-lede": "Звіти є частиною Professional Pack — платного доповнення до вашого Community Grant. Ви самі формуєте макет звіту — таблиці, діаграми, текст і власний брендинг — і кожен запуск доходить до отримувачів за розкладом або коли спрацьовує тривога.", + "overview": { + "your-own-layout": "Власний макет", + "your-own-layout-desc": "Перетягуйте таблиці, діаграми, текст і зображення на місце — і один збережений шаблон обслуговує кожного клієнта.", + "pdf-or-csv": "PDF або CSV", + "pdf-or-csv-desc": "Документ, готовий до друку, з намальованими діаграмами або необроблені рядки для тих, кому потрібні самі числа.", + "channel": "Пошта, Slack, Teams або SMS", + "channel-desc": "Оберіть канал для кожного одержувача або групи користувачів — платформа доставляє кожен запланований запуск.", + "attached-to-alarm": "Прикріплено до тривоги", + "attached-to-alarm-desc": "Сповіщення містить звіт, сформований у момент спрацювання тривоги з даних на той момент." + } + } + }, + "subscription-error": { + "title": "Порушення умов підписки", + "warning-title": "Попередження щодо підписки", + "upgrade-subscription-plan": "Будь ласка, перейдіть на вищий план", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} доступний, починаючи з плану {{planName}}. Щоб продовжити, попросіть системного адміністратора перейти на вищий план.", + "limit-reached": { + "device-count": "Ви досягли максимальної кількості пристроїв ({{value}}), дозволеної вашим тарифним планом!", + "asset-count": "Ви досягли максимальної кількості активів ({{value}}), дозволеної вашим тарифним планом!", + "edge-count": "Ви досягли максимальної кількості екземплярів Edge ({{value}}), дозволеної вашим тарифним планом!", + "agent-count": "Ви досягли максимальної кількості Remote Agent ({{value}}), дозволеної вашим тарифним планом!" + }, + "feature-disabled": { + "white-labeling": "Функція брендування не дозволена вашим тарифним планом!" + } + }, "phone-input": { "phone-input-label": "Номер телефону", "phone-input-required": "Потрібно вказати номер телефону", From dd7d773bda60c014943d2c8f58cdc1f61c3f7548 Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Tue, 13 Oct 2026 16:03:04 +0200 Subject: [PATCH 147/559] Allowed customer users to list and resolve tenant JS modules GET /api/resource now accepts CUSTOMER_USER and returns only JS_MODULE resources for them; any other requested type, or a request without resourceType, is rejected with 403. GET /api/resource/{type}/{scope}/{key}/info now accepts CUSTOMER_USER; the existing per-resource check already handles customer access. Customer TB_RESOURCE permission checker grants generic READ to any non-public customer user, mirroring its per-resource READ rule. --- .../controller/TbResourceController.java | 12 ++-- .../permission/CustomerUserPermissions.java | 5 ++ .../controller/TbResourceControllerTest.java | 66 +++++++++++++++++++ 3 files changed, 79 insertions(+), 4 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/TbResourceController.java b/application/src/main/java/org/thingsboard/server/controller/TbResourceController.java index ba1988c49e..68f62d24ae 100644 --- a/application/src/main/java/org/thingsboard/server/controller/TbResourceController.java +++ b/application/src/main/java/org/thingsboard/server/controller/TbResourceController.java @@ -175,8 +175,8 @@ public class TbResourceController extends BaseController { @ApiOperation(value = "Get resource info (getResourceInfo)", notes = "Get info for the resource with the given type, scope and key. " + - RESOURCE_INFO_DESCRIPTION + SYSTEM_OR_TENANT_AUTHORITY_PARAGRAPH) - @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN')") + RESOURCE_INFO_DESCRIPTION + AVAILABLE_FOR_ANY_AUTHORIZED_USER) + @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER')") @GetMapping(value = "/resource/{resourceType}/{scope}/{key}/info") public TbResourceInfo getResourceInfo(@Parameter(description = "Type of the resource", schema = @Schema(allowableValues = {"lwm2m_model", "jks", "pkcs_12", "js_module", "dashboard"})) @PathVariable("resourceType") String resourceTypeStr, @@ -286,8 +286,9 @@ public class TbResourceController extends BaseController { @ApiOperation(value = "Get Resource Infos (getResources)", notes = "Returns a page of Resource Info objects owned by tenant or sysadmin. " + - PAGE_DATA_PARAMETERS + RESOURCE_INFO_DESCRIPTION + SYSTEM_OR_TENANT_AUTHORITY_PARAGRAPH) - @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN')") + "Customer users may request only 'JS_MODULE' resources, so the 'resourceType' parameter is mandatory for them. " + + PAGE_DATA_PARAMETERS + RESOURCE_INFO_DESCRIPTION + AVAILABLE_FOR_ANY_AUTHORIZED_USER) + @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER')") @GetMapping(value = "/resource") public PageData getResources(@Parameter(description = PAGE_SIZE_DESCRIPTION, required = true) @RequestParam int pageSize, @@ -322,6 +323,9 @@ public class TbResourceController extends BaseController { filterResourceTypes.remove(ResourceType.IMAGE); filterResourceTypes.remove(ResourceType.DASHBOARD); } + if (getCurrentUser().isCustomerUser() && !filterResourceTypes.equals(Set.of(ResourceType.JS_MODULE))) { + throw permissionDenied(); + } filter.resourceTypes(filterResourceTypes); if (Authority.SYS_ADMIN.equals(getCurrentUser().getAuthority())) { return checkNotNull(resourceService.findTenantResourcesByTenantId(filter.build(), pageLink)); diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index 98a2fc05fc..2eab59f385 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -294,6 +294,11 @@ public class CustomerUserPermissions extends AbstractPermissions { private static final PermissionChecker customerResourcePermissionChecker = new PermissionChecker() { + @Override + public boolean hasPermission(SecurityUser user, Resource resource, Operation operation) { + return operation == Operation.READ && user.getUserPrincipal().getType() != UserPrincipal.Type.PUBLIC_ID; + } + @Override public boolean hasPermission(SecurityUser user, Operation operation, TbResourceId resourceId, TbResourceInfo resource) { if (resource.getResourceType() == null || !resource.getResourceType().isCustomerAccess()) { diff --git a/application/src/test/java/org/thingsboard/server/controller/TbResourceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/TbResourceControllerTest.java index edd1fbefb1..afa5e143b3 100644 --- a/application/src/test/java/org/thingsboard/server/controller/TbResourceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/TbResourceControllerTest.java @@ -965,6 +965,72 @@ public class TbResourceControllerTest extends AbstractControllerTest { "You don't have permission to perform this operation!"); } + @Test + public void testFindJsModules_customerUser() throws Exception { + loginSysAdmin(); + TbResourceInfo systemJsModule = saveResource("System js module", ResourceType.JS_MODULE, "system_" + JS_TEST_FILE_NAME); + + loginTenantAdmin(); + TbResourceInfo tenantJsModule = saveResource("Tenant js module", ResourceType.JS_MODULE, JS_TEST_FILE_NAME); + saveResource("Jks resource", ResourceType.JKS, DEFAULT_FILE_NAME); + + loginNewCustomerUserWithoutPermissions(); + PageData pageData = doGetTypedWithPageLink("/api/resource?resourceType=JS_MODULE&", + new TypeReference<>() { + }, new PageLink(100)); + Assert.assertTrue(pageData.getData().contains(tenantJsModule)); + Assert.assertTrue(pageData.getData().contains(systemJsModule)); + + String msg = "You don't have permission to perform this operation!"; + doGet("/api/resource?resourceType=JKS&pageSize=10&page=0") + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msg))); + doGet("/api/resource?resourceType=JS_MODULE,JKS&pageSize=10&page=0") + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msg))); + doGet("/api/resource?resourceType=IMAGE&pageSize=10&page=0") + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msg))); + doGet("/api/resource?pageSize=10&page=0") + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msg))); + + loginDifferentTenant(); + loginDifferentTenantCustomer(); + pageData = doGetTypedWithPageLink("/api/resource?resourceType=JS_MODULE&", + new TypeReference<>() { + }, new PageLink(100)); + Assert.assertFalse(pageData.getData().contains(tenantJsModule)); + Assert.assertTrue(pageData.getData().contains(systemJsModule)); + + loginTenantAdmin(); + EntityGroupInfo deviceGroup = createSharedPublicEntityGroup("Public device group", EntityType.DEVICE, customerId); + String publicId = deviceGroup.getAdditionalInfo().get("publicCustomerId").asText(); + resetTokens(); + JsonNode tokens = doPost("/api/auth/login/public", JacksonUtil.toJsonNode("{\"publicId\": \"" + publicId + "\"}"), JsonNode.class); + this.token = tokens.get("token").asText(); + doGet("/api/resource?resourceType=JS_MODULE&pageSize=10&page=0") + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString("You don't have permission to perform 'READ' operation with 'TB_RESOURCE' resource!"))); + + loginSysAdmin(); + doDelete("/api/resource/" + systemJsModule.getId().getId().toString()) + .andExpect(status().isOk()); + } + + @Test + public void testGetResourceInfo_customerUser() throws Exception { + loginTenantAdmin(); + TbResourceInfo jsModule = saveResource("Tenant js module", ResourceType.JS_MODULE, JS_TEST_FILE_NAME); + TbResourceInfo jks = saveResource("Jks resource", ResourceType.JKS, DEFAULT_FILE_NAME); + + loginCustomerUser(); + TbResourceInfo foundJsModule = doGet("/api/resource/js_module/tenant/" + jsModule.getResourceKey() + "/info", TbResourceInfo.class); + Assert.assertEquals(jsModule, foundJsModule); + doGet("/api/resource/jks/tenant/" + jks.getResourceKey() + "/info") + .andExpect(status().isForbidden()); + } + @Test public void testFindAllResource_tenantUserWithoutPermission() throws Exception { String apiResources = loginTenantAdminAndCreateResources(); From c1ad33d5bf729ae6f850ec7e965f0c3a605079d3 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 13 Oct 2026 17:36:00 +0300 Subject: [PATCH 148/559] refactor: make AI channel multiplexing mandatory and drop routed tool approvals --- .../service/ai/tool/DefaultAiToolService.java | 48 -------------- .../ai/transport/ChannelTbAiOperations.java | 5 +- .../ai/transport/ChannelTbAiTransport.java | 46 +++---------- .../service/ai/transport/TbAiChannelPool.java | 13 ++-- .../ai/transport/TbAiChannelRegistry.java | 42 ------------ .../ai/transport/TbAiPooledConnection.java | 65 ++++++++----------- .../ai/tool/DefaultAiToolServiceTest.java | 55 +--------------- .../transport/ChannelTbAiOperationsTest.java | 18 ++--- .../transport/ChannelTbAiTransportTest.java | 28 +------- .../service/ai/transport/FakeTbAiServer.java | 30 ++------- .../ai/transport/TbAiChannelPoolTest.java | 27 ++++---- 11 files changed, 72 insertions(+), 305 deletions(-) delete mode 100644 application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelRegistry.java diff --git a/application/src/main/java/org/thingsboard/server/service/ai/tool/DefaultAiToolService.java b/application/src/main/java/org/thingsboard/server/service/ai/tool/DefaultAiToolService.java index 9215029a0b..15752145eb 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/tool/DefaultAiToolService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/tool/DefaultAiToolService.java @@ -4,74 +4,26 @@ package org.thingsboard.server.service.ai.tool; import com.fasterxml.jackson.databind.JsonNode; import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; -import org.thingsboard.ai.common.channel.ChannelFrame; import org.thingsboard.ai.common.channel.ChannelProtocol; -import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.TbAiService; -import org.thingsboard.server.service.ai.transport.TbAiChannelRegistry; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.security.model.SecurityUser; -import java.time.Duration; -import java.util.Optional; -import java.util.UUID; -import java.util.concurrent.TimeUnit; - -@Slf4j @Service @TbCoreComponent @RequiredArgsConstructor class DefaultAiToolService implements AiToolService { - private static final Duration CHANNEL_APPROVAL_TIMEOUT = Duration.ofSeconds(10); - private final TbAiService tbAiService; - private final TbAiChannelRegistry channelRegistry; private final TbAiOperations operations; @Override public JsonNode resolveToolApproval(JsonNode decision, SecurityUser user) { - Optional route = executionId(decision).flatMap(channelRegistry::findApprovalRoute); - if (route.isPresent()) { - JsonNode status = resolveOverChannel(route.get(), decision); - if (status != null) { - return status; - } - } - // The turn runs on another tb-core node: TB AI resolves the approval by its execution id. return tbAiService.process(tokenProvider -> operations.execute( new TbAiOperation(ChannelProtocol.TOOL_APPROVAL_RESOLVE, decision), user, tokenProvider), user, false); } - private JsonNode resolveOverChannel(TbAiChannelRegistry.ApprovalRoute route, JsonNode decision) { - try { - ChannelFrame request = ChannelFrame.request(ChannelProtocol.TOOL_APPROVAL, JacksonUtil.toString(decision)).withOp(route.op()); - ChannelFrame reply = route.session().request(request, CHANNEL_APPROVAL_TIMEOUT) - .get(CHANNEL_APPROVAL_TIMEOUT.toMillis(), TimeUnit.MILLISECONDS); - return JacksonUtil.toJsonNode(reply.payload()); - } catch (InterruptedException e) { - Thread.currentThread().interrupt(); - return null; - } catch (Exception e) { - log.warn("Failed to resolve tool approval on the turn's channel, resolving it by execution id: {}", e.getMessage()); - return null; - } - } - - private static Optional executionId(JsonNode decision) { - JsonNode executionId = decision != null ? decision.get("executionId") : null; - if (executionId == null || !executionId.isTextual()) { - return Optional.empty(); - } - try { - return Optional.of(UUID.fromString(executionId.asText())); - } catch (IllegalArgumentException e) { - return Optional.empty(); - } - } - } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java index 66064d44bc..dcef207cc7 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java @@ -51,7 +51,7 @@ class ChannelTbAiOperations { for (int attempt = 1; ; attempt++) { TbAiPooledConnection connection = acquire(context, fresh); if (!connection.supports(capability)) { - connection.finish(null, System.nanoTime()); + connection.unreserve(System.nanoTime()); throw new TbAiOperationsUnsupportedException("TB AI does not support '" + operation.type() + "' over the channel"); } var call = new OperationCall(operation, context, connection); @@ -132,8 +132,9 @@ class ChannelTbAiOperations { TbAiResponse run() { ChannelFrame start = ChannelFrame.request(operation.type(), connection.codec().toPayload(operation.payload())); + op = start.id(); try { - op = connection.start(this, start); + connection.start(this, start); } catch (ChannelException e) { finish(); throw new NotStartedException("channel closed before the operation was sent"); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java index 17f88fb1b7..61a8994927 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java @@ -18,10 +18,8 @@ import org.thingsboard.server.queue.util.TbCoreComponent; import reactor.core.publisher.Flux; import reactor.core.publisher.FluxSink; -import java.util.Set; import java.util.UUID; import java.util.concurrent.CompletionException; -import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicBoolean; /** @@ -35,12 +33,9 @@ import java.util.concurrent.atomic.AtomicBoolean; class ChannelTbAiTransport implements TbAiTransport { private static final String HEARTBEAT = "heartbeat"; - private static final String TOOL_EXECUTION_REQUESTED = "toolExecutionRequested"; - private static final String TOOL_EXECUTION_RESULT = "toolExecutionResult"; private final TbAiChannelPool pool; private final TbAiRequestExecutor requestExecutor; - private final TbAiChannelRegistry registry; @Override public Flux> sendChatMessage(UUID chatId, JsonNode request, TbAiTurnContext context) { @@ -65,7 +60,6 @@ class ChannelTbAiTransport implements TbAiTransport { private final TbAiTurnContext context; private final FluxSink> sink; private final AtomicBoolean finished = new AtomicBoolean(); - private final Set approvals = ConcurrentHashMap.newKeySet(); private volatile TbAiPooledConnection connection; private volatile String op; private volatile boolean frameSeen; @@ -94,14 +88,10 @@ class ChannelTbAiTransport implements TbAiTransport { } TbAiPooledConnection current = connection; if (current != null) { - if (op != null) { - try { - current.send(new ChannelFrame(ChannelProtocol.CANCEL, null, null, null, op)); - } catch (ChannelException e) { - log.debug("[{}] Failed to cancel the AI turn: {}", chatId, e.getMessage()); - } - } else { - current.close(ChannelProtocol.CLOSE_NORMAL, "Turn abandoned"); + try { + current.send(new ChannelFrame(ChannelProtocol.CANCEL, null, null, null, op)); + } catch (ChannelException e) { + log.debug("[{}] Failed to cancel the AI turn: {}", chatId, e.getMessage()); } } end(null); @@ -159,17 +149,18 @@ class ChannelTbAiTransport implements TbAiTransport { private void attach(TbAiPooledConnection acquired) { if (sink.isCancelled() || finished.get()) { - acquired.finish(null, System.nanoTime()); + acquired.unreserve(System.nanoTime()); return; } - connection = acquired; ChannelFrame start = ChannelFrame.request(ChannelProtocol.CHAT_SEND, acquired.codec().toPayload(new ChatTurnRequest(chatId, request, context.acceptLanguage()))); + op = start.id(); + connection = acquired; try { - op = acquired.start(this, start); + acquired.start(this, start); } catch (ChannelException e) { connection = null; - acquired.finish(null, System.nanoTime()); + acquired.finish(op, System.nanoTime()); if (!retry()) { fail(new TbAiChannelUnavailableException("AI channel closed before the turn started", e)); } @@ -182,28 +173,12 @@ class ChannelTbAiTransport implements TbAiTransport { sink.next(ServerSentEvent.builder().comment(HEARTBEAT).build()); return; } - trackApproval(frameConnection, event); sink.next(ServerSentEvent.builder() .event(event.name()) .data(event.data() != null ? event.data().toString() : null) .build()); } - private void trackApproval(TbAiPooledConnection frameConnection, ChatEventPayload event) { - JsonNode executionId = event.data() != null ? event.data().get("executionId") : null; - if (executionId == null || !executionId.isTextual()) { - return; - } - UUID id = UUID.fromString(executionId.asText()); - if (TOOL_EXECUTION_REQUESTED.equals(event.name()) && event.data().path("needsApproval").asBoolean()) { - approvals.add(id); - registry.registerApproval(id, frameConnection.session(), op); - } else if (TOOL_EXECUTION_RESULT.equals(event.name())) { - approvals.remove(id); - registry.unregisterApproval(id); - } - } - private void onError(TbAiPooledConnection frameConnection, ChannelFrame frame) { ChannelError error = frameConnection.codec().fromPayload(frame.payload(), ChannelError.class); boolean notStarted = ChannelError.DRAINING.equals(error.code()) || ChannelError.TOO_MANY_OPERATIONS.equals(error.code()); @@ -228,7 +203,6 @@ class ChannelTbAiTransport implements TbAiTransport { } retried = true; log.debug("[{}] AI turn was not started, retrying on a new channel", chatId); - op = null; connection = null; start(true); return true; @@ -252,8 +226,6 @@ class ChannelTbAiTransport implements TbAiTransport { } private void release() { - approvals.forEach(registry::unregisterApproval); - approvals.clear(); TbAiPooledConnection current = connection; if (current != null) { connection = null; diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java index c799b3eaeb..9432f15292 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java @@ -95,8 +95,9 @@ class TbAiChannelPool { /** * A channel with one slot reserved for the caller, who must give it back through - * {@link TbAiPooledConnection#finish}. {@code fresh} skips the open channels, for a retry after a channel refused - * the call. Fails with {@link TbAiChannelUnavailableException} or {@link TbAiChannelRejectedException}. + * {@link TbAiPooledConnection#finish} or {@link TbAiPooledConnection#unreserve}. {@code fresh} skips the open + * channels, for a retry after a channel refused the call. Fails with {@link TbAiChannelUnavailableException} or + * {@link TbAiChannelRejectedException}. */ CompletableFuture acquire(TbAiTurnContext context, boolean fresh) { return acquire(context, fresh, 1); @@ -147,19 +148,13 @@ class TbAiChannelPool { CompletableFuture ready = connect(context, key, true); group.connecting.put(origin, ready); ready.whenComplete((connection, error) -> { - boolean added = false; synchronized (group) { group.connecting.remove(origin, ready); // A channel closed right after hello has already left the pool (removed() then found nothing). - if (connection != null && connection.isMultiplexed() && !connection.isRemoved()) { + if (connection != null && !connection.isRemoved()) { group.connections.add(connection); - added = true; } } - if (connection != null && !added) { - // An older TB AI closes the channel after one call: nothing to pool. - release(connection); - } }); return ready; } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelRegistry.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelRegistry.java deleted file mode 100644 index dab3decc47..0000000000 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelRegistry.java +++ /dev/null @@ -1,42 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -package org.thingsboard.server.service.ai.transport; - -import org.springframework.stereotype.Component; -import org.thingsboard.ai.common.channel.ChannelSession; -import org.thingsboard.server.queue.util.TbCoreComponent; - -import java.util.Optional; -import java.util.UUID; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.ConcurrentMap; - -/** - * Tool approvals awaiting a decision on this node: the channel and the turn ({@code op}, null on a single-use - * channel) they belong to. - */ -@Component -@TbCoreComponent -public class TbAiChannelRegistry { - - public record ApprovalRoute(ChannelSession session, String op) {} - - private final ConcurrentMap pendingApprovals = new ConcurrentHashMap<>(); - - public void registerApproval(UUID executionId, ChannelSession session, String op) { - pendingApprovals.put(executionId, new ApprovalRoute(session, op)); - } - - public void unregisterApproval(UUID executionId) { - pendingApprovals.remove(executionId); - } - - public void unregisterSession(ChannelSession session) { - pendingApprovals.values().removeIf(route -> route.session() == session); - } - - public Optional findApprovalRoute(UUID executionId) { - return Optional.ofNullable(pendingApprovals.get(executionId)).filter(route -> route.session().isOpen()); - } - -} diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java index c6da31f78e..2f997b02ad 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java @@ -23,7 +23,7 @@ import java.util.concurrent.atomic.AtomicBoolean; /** * One WebSocket to TB AI, shared by the turns and operations of one user. Capacity is reserved before an exchange * starts ({@link #tryReserve}) and released when it ends ({@link #finish}); a retiring connection takes no new work - * and closes once its last exchange ends. Without {@code mux.v1} (older TB AI) a connection carries one exchange. + * and closes once its last exchange ends. Exchanges are told apart by their op, the id of their start frame. *

* Lock order: the pool's group lock may be held while calling into a connection, never the reverse, and a connection * never closes its session while holding its own lock. @@ -33,7 +33,6 @@ final class TbAiPooledConnection implements ChannelFrameListener { static final List CLIENT_CAPABILITIES = List.of(ChannelProtocol.CAPABILITY_REST, ChannelProtocol.CAPABILITY_OPERATIONS, ChannelProtocol.CAPABILITY_API, ChannelProtocol.CAPABILITY_MUX); - private static final String SINGLE = ""; private final TbAiChannelPool.PoolKey key; private final String origin; @@ -53,7 +52,6 @@ final class TbAiPooledConnection implements ChannelFrameListener { private long lastUsedNanos; private volatile ChannelSession session; - private volatile boolean multiplexed; private volatile Set capabilities = Set.of(); private volatile int maxFrameBytes = TbAiChannelClient.DEFAULT_MAX_FRAME_BYTES; @@ -99,10 +97,6 @@ final class TbAiPooledConnection implements ChannelFrameListener { return pooled; } - boolean isMultiplexed() { - return multiplexed; - } - boolean supports(String capability) { return capabilities.contains(capability); } @@ -140,7 +134,7 @@ final class TbAiPooledConnection implements ChannelFrameListener { boolean tryReserve(long nowNanos) { synchronized (lock) { - if (retiring || session == null || !session.isOpen() || reserved >= capacity()) { + if (retiring || session == null || !session.isOpen() || reserved >= maxOperations) { return false; } reserved++; @@ -150,18 +144,16 @@ final class TbAiPooledConnection implements ChannelFrameListener { } /** - * Starts an exchange on a reserved slot and returns its op, or null on a single-use connection. + * Starts an exchange on a reserved slot; its op is the id of {@code startFrame}. */ - String start(TbAiChannelExchange exchange, ChannelFrame startFrame) { - String op = multiplexed ? startFrame.id() : null; - exchanges.put(op != null ? op : SINGLE, exchange); + void start(TbAiChannelExchange exchange, ChannelFrame startFrame) { + exchanges.put(startFrame.id(), exchange); try { session.send(startFrame); } catch (ChannelException e) { - exchanges.remove(op != null ? op : SINGLE); + exchanges.remove(startFrame.id()); throw e; } - return op; } void send(ChannelFrame frame) { @@ -169,19 +161,23 @@ final class TbAiPooledConnection implements ChannelFrameListener { } /** - * Ends an exchange, or gives back a reservation that never started one; frames for it that still arrive are + * Ends the exchange started with {@code op} and gives back its reservation; frames for it that still arrive are * dropped. */ void finish(String op, long nowNanos) { - exchanges.remove(op != null ? op : SINGLE); + exchanges.remove(op); + unreserve(nowNanos); + } + + /** + * Gives back a reservation that never started an exchange. + */ + void unreserve(long nowNanos) { boolean close; synchronized (lock) { reserved = Math.max(0, reserved - 1); lastUsedNanos = nowNanos; - close = (retiring || !multiplexed) && reserved == 0; - if (close) { - retiring = true; - } + close = retiring && reserved == 0; } if (close) { close(ChannelProtocol.CLOSE_NORMAL, "Done"); @@ -259,16 +255,11 @@ final class TbAiPooledConnection implements ChannelFrameListener { onHandshakeFrame(frame); return; } - TbAiChannelExchange exchange; - if (multiplexed) { - if (frame.op() == null) { - onConnectionFrame(frame); - return; - } - exchange = exchanges.get(frame.op()); - } else { - exchange = exchanges.get(SINGLE); + if (frame.op() == null) { + onConnectionFrame(frame); + return; } + TbAiChannelExchange exchange = exchanges.get(frame.op()); if (exchange == null) { log.debug("[{}] Dropping AI channel frame '{}' for finished operation '{}'", key, frame.type(), frame.op()); return; @@ -295,15 +286,15 @@ final class TbAiPooledConnection implements ChannelFrameListener { case ChannelProtocol.HELLO -> { ChannelHello hello = codec.fromPayload(frame.payload(), ChannelHello.class); capabilities = hello.capabilities() != null ? Set.copyOf(hello.capabilities()) : Set.of(); - multiplexed = capabilities.contains(ChannelProtocol.CAPABILITY_MUX); + if (!capabilities.contains(ChannelProtocol.CAPABILITY_MUX)) { + ready.completeExceptionally(new TbAiChannelUnavailableException( + "AI channel does not support " + ChannelProtocol.CAPABILITY_MUX, null)); + close(ChannelProtocol.CLOSE_PROTOCOL_ERROR, "Missing " + ChannelProtocol.CAPABILITY_MUX); + return; + } if (hello.maxFrameBytes() != null && hello.maxFrameBytes() > 0 && hello.maxFrameBytes() < Integer.MAX_VALUE) { maxFrameBytes = hello.maxFrameBytes().intValue(); } - if (!multiplexed) { - synchronized (lock) { - retiring = true; - } - } ready.complete(this); } case ChannelProtocol.ERROR -> { @@ -329,10 +320,6 @@ final class TbAiPooledConnection implements ChannelFrameListener { } } - private int capacity() { - return multiplexed ? maxOperations : 1; - } - private void markRemoved() { if (removed.compareAndSet(false, true)) { pool.removed(this); diff --git a/application/src/test/java/org/thingsboard/server/service/ai/tool/DefaultAiToolServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/tool/DefaultAiToolServiceTest.java index 40f8b22e9a..c757769426 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/tool/DefaultAiToolServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/tool/DefaultAiToolServiceTest.java @@ -11,20 +11,15 @@ import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; -import org.thingsboard.ai.common.channel.ChannelFrame; import org.thingsboard.ai.common.channel.ChannelProtocol; -import org.thingsboard.ai.common.channel.ChannelSession; import org.thingsboard.ai.common.client.TbAiClient; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.service.ai.TbAiService; -import org.thingsboard.server.service.ai.transport.TbAiChannelRegistry; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.security.model.SecurityUser; -import java.util.Optional; import java.util.UUID; -import java.util.concurrent.CompletableFuture; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; @@ -33,7 +28,6 @@ import static org.mockito.ArgumentMatchers.eq; import static org.mockito.ArgumentMatchers.same; import static org.mockito.BDDMockito.given; import static org.mockito.BDDMockito.then; -import static org.mockito.Mockito.mock; @ExtendWith(MockitoExtension.class) class DefaultAiToolServiceTest { @@ -47,19 +41,17 @@ class DefaultAiToolServiceTest { @Mock SecurityUser user; @Mock - TbAiChannelRegistry channelRegistry; - @Mock TbAiOperations operations; DefaultAiToolService service; @BeforeEach void setUp() { - service = new DefaultAiToolService(tbAiService, channelRegistry, operations); + service = new DefaultAiToolService(tbAiService, operations); } @Test - void shouldResolveThroughOperation_whenApprovalIsNotOnThisNode() { + void shouldResolveThroughToolApprovalResolveOperation() { // GIVEN JsonNode decision = toolApprovalDecision(UUID.randomUUID(), true); JsonNode expectedResponse = TextNode.valueOf("APPROVED"); @@ -78,49 +70,6 @@ class DefaultAiToolServiceTest { then(tbAiService).shouldHaveNoMoreInteractions(); } - @Test - void shouldResolveOverChannel_whenThisNodeHoldsThePendingApproval() { - // GIVEN - UUID executionId = UUID.randomUUID(); - JsonNode decision = toolApprovalDecision(executionId, true); - ChannelSession session = mock(ChannelSession.class); - given(channelRegistry.findApprovalRoute(executionId)).willReturn(Optional.of(new TbAiChannelRegistry.ApprovalRoute(session, "op-1"))); - given(session.request(any(), any())).willAnswer(invocation -> { - ChannelFrame request = invocation.getArgument(0); - return CompletableFuture.completedFuture(ChannelFrame.reply(ChannelProtocol.TOOL_APPROVAL_RESULT, request, "\"APPROVED\"")); - }); - - // WHEN - JsonNode result = service.resolveToolApproval(decision, user); - - // THEN - assertThat(result).isEqualTo(TextNode.valueOf("APPROVED")); - ArgumentCaptor frame = ArgumentCaptor.forClass(ChannelFrame.class); - then(session).should().request(frame.capture(), any()); - assertThat(frame.getValue().type()).isEqualTo(ChannelProtocol.TOOL_APPROVAL); - assertThat(frame.getValue().op()).isEqualTo("op-1"); - assertThat(JacksonUtil.toJsonNode(frame.getValue().payload())).isEqualTo(decision); - then(tbAiService).shouldHaveNoInteractions(); - } - - @Test - void shouldFallBackToHttp_whenChannelApprovalFails() { - // GIVEN - UUID executionId = UUID.randomUUID(); - JsonNode decision = toolApprovalDecision(executionId, false); - ChannelSession session = mock(ChannelSession.class); - given(channelRegistry.findApprovalRoute(executionId)).willReturn(Optional.of(new TbAiChannelRegistry.ApprovalRoute(session, null))); - given(session.request(any(), any())).willReturn(CompletableFuture.failedFuture(new IllegalStateException("closed"))); - JsonNode expectedResponse = TextNode.valueOf("DENIED"); - given(tbAiService.process(any(), same(user), eq(false))).willReturn(expectedResponse); - - // WHEN - JsonNode result = service.resolveToolApproval(decision, user); - - // THEN - assertThat(result).isSameAs(expectedResponse); - } - @SuppressWarnings({"rawtypes", "unchecked"}) private TbAiService.TbAiCall captureProcessCall() { ArgumentCaptor callCaptor = ArgumentCaptor.forClass(TbAiService.TbAiCall.class); diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java index d64413a2e9..d8f44f1f4b 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java @@ -54,7 +54,7 @@ class ChannelTbAiOperationsTest { } @Test - void shouldRunOperationAndServeThingsBoardRequests_whenServerIsMultiplexed() { + void shouldRunOperationAndServeThingsBoardRequests() { // GIVEN server = FakeTbAiServer.start(MUX, (connection, frame) -> { switch (frame.type()) { @@ -87,7 +87,7 @@ class ChannelTbAiOperationsTest { } @Test - void shouldRunConcurrentOperationsOnOneChannel_whenServerIsMultiplexed() throws Exception { + void shouldRunConcurrentOperationsOnOneChannel() throws Exception { // GIVEN CountDownLatch bothStarted = new CountDownLatch(2); server = FakeTbAiServer.start(MUX, (connection, frame) -> { @@ -228,20 +228,14 @@ class ChannelTbAiOperationsTest { } @Test - void shouldRunOnSingleUseChannel_whenServerIsNotMultiplexed() { + void shouldSignalChannelUnavailable_whenServerHelloLacksMux() { // GIVEN server = FakeTbAiServer.start(List.of(ChannelProtocol.CAPABILITY_REST, ChannelProtocol.CAPABILITY_OPERATIONS), (connection, frame) -> connection.result(frame, new OperationResult(200, null, 0))); - // WHEN - TbAiResponse first = operations().execute(install, context); - TbAiResponse second = operations().execute(install, context); - - // THEN - assertThat(first.isSuccess()).isTrue(); - assertThat(second.isSuccess()).isTrue(); - assertThat(server.connections.get()).isEqualTo(2); - assertThat(server.received(ChannelProtocol.SOLUTION_INSTALL)).extracting(ChannelFrame::op).containsOnlyNulls(); + // WHEN-THEN + assertThatThrownBy(() -> operations().execute(install, context)).isInstanceOf(TbAiChannelUnavailableException.class); + assertThat(server.received(ChannelProtocol.SOLUTION_INSTALL)).isEmpty(); } @Test diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java index 45de637238..5442f18d09 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java @@ -42,7 +42,6 @@ class ChannelTbAiTransportTest { static final List MUX = TbAiChannelPoolTest.MUX; TbAiRequestExecutor requestExecutor = mock(TbAiRequestExecutor.class); - TbAiChannelRegistry registry = new TbAiChannelRegistry(); TbAiTurnContext context = TbAiChannelPoolTest.context(TbAiChannelPoolTest.user(), "https://tb.example.com", true); JsonNode request = JacksonUtil.newObjectNode().put("message", "Create a device"); FakeTbAiServer server; @@ -59,7 +58,7 @@ class ChannelTbAiTransportTest { } @Test - void shouldRelayEventsServeRequestsAndKeepChannel_whenServerIsMultiplexed() { + void shouldRelayEventsServeRequestsAndKeepChannel() { // GIVEN server = FakeTbAiServer.start(MUX, this::assistantWithToolCall); stubExecutor(); @@ -81,24 +80,6 @@ class ChannelTbAiTransportTest { assertThat(turnRequest.acceptLanguage()).isEqualTo("de-DE"); assertThat(server.received(ChannelProtocol.TB_RESPONSE)).extracting(ChannelFrame::op) .containsExactlyElementsOf(server.received(ChannelProtocol.CHAT_SEND).stream().map(ChannelFrame::id).toList()); - await().atMost(Duration.ofSeconds(5)).until(() -> registry.findApprovalRoute(EXECUTION_ID).isEmpty()); - } - - @Test - void shouldRunTurnOnSingleUseChannel_whenServerIsNotMultiplexed() { - // GIVEN - server = FakeTbAiServer.start(List.of(ChannelProtocol.CAPABILITY_REST), this::assistantWithToolCall); - stubExecutor(); - - // WHEN - List> first = turn(); - List> second = turn(); - - // THEN - assertThat(first).hasSize(3); - assertThat(second).hasSize(3); - assertThat(server.connections.get()).isEqualTo(2); - assertThat(server.received(ChannelProtocol.TB_RESPONSE)).extracting(ChannelFrame::op).containsOnlyNulls(); } @Test @@ -134,7 +115,7 @@ class ChannelTbAiTransportTest { } }); pool = pool(); - var transport = new ChannelTbAiTransport(pool, requestExecutor, registry); + var transport = new ChannelTbAiTransport(pool, requestExecutor); AtomicBoolean heartbeat = new AtomicBoolean(); // WHEN @@ -178,7 +159,7 @@ class ChannelTbAiTransportTest { } TbAiTurnContext turnContext = new TbAiTurnContext(context.tenantId(), context.userId(), context.user(), "Bearer user-jwt", "de-DE", context.tokenProvider(), new TbAiClientRequest("https://tb.example.com", Map.of())); - return new ChannelTbAiTransport(pool, requestExecutor, registry) + return new ChannelTbAiTransport(pool, requestExecutor) .sendChatMessage(UUID.randomUUID(), request, turnContext) .collectList() .block(Duration.ofSeconds(10)); @@ -212,9 +193,6 @@ class ChannelTbAiTransportTest { connection.sendFor(start, ChannelProtocol.CHAT_EVENT, new ChatEventPayload("toolExecutionRequested", JacksonUtil.newObjectNode().put("executionId", EXECUTION_ID.toString()).put("needsApproval", true))); connection.sendFor(start, ChannelProtocol.TURN_END, new TurnEnd(TurnEnd.Status.COMPLETED)); - if (!connection.isMultiplexed()) { - connection.close(ChannelProtocol.CLOSE_NORMAL, "Turn completed"); - } } default -> {} } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java index 8c87f846d8..6e6c16dc85 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java @@ -22,8 +22,8 @@ import java.util.concurrent.atomic.AtomicInteger; /** * A scripted TB AI channel endpoint. It answers {@code hello} with the given capabilities and hands every other frame - * to the script, which replies through {@link Connection}: tagged with the frame's op on a multiplexed connection, as - * TB AI does. + * to the script, which replies through {@link Connection}: tagged with the op of the operation it belongs to, as TB AI + * does. */ class FakeTbAiServer implements AutoCloseable { @@ -43,14 +43,11 @@ class FakeTbAiServer implements AutoCloseable { .route(routes -> routes.ws(ChannelProtocol.WS_PATH, (inbound, outbound) -> { connections.incrementAndGet(); openConnections.incrementAndGet(); - var connection = new Connection(capabilities); + var connection = new Connection(); inbound.receive().asString().subscribe(text -> { ChannelFrame frame = codec.decode(text); received.add(frame); if (ChannelProtocol.HELLO.equals(frame.type())) { - ChannelHello hello = codec.fromPayload(frame.payload(), ChannelHello.class); - connection.multiplexed = capabilities.contains(ChannelProtocol.CAPABILITY_MUX) - && hello.capabilities().contains(ChannelProtocol.CAPABILITY_MUX); connection.send(ChannelFrame.of(ChannelProtocol.HELLO, codec.toPayload( new ChannelHello(1, capabilities, null, (long) TbAiChannelClient.DEFAULT_MAX_FRAME_BYTES)))); } else { @@ -99,19 +96,9 @@ class FakeTbAiServer implements AutoCloseable { final class Connection { private final Sinks.Many out = Sinks.many().unicast().onBackpressureBuffer(); - private final List capabilities; - private volatile boolean multiplexed; private volatile int closeCode = ChannelProtocol.CLOSE_NORMAL; private volatile String closeReason = "Done"; - private Connection(List capabilities) { - this.capabilities = capabilities; - } - - boolean isMultiplexed() { - return multiplexed; - } - // A unicast sink drops concurrent emissions, so frames sent from several threads are serialized here. synchronized void send(ChannelFrame frame) { out.tryEmitNext(codec.encode(frame)); @@ -121,23 +108,20 @@ class FakeTbAiServer implements AutoCloseable { * A frame that belongs to the operation started by {@code start}. */ void sendFor(ChannelFrame start, String type, Object payload) { - send(new ChannelFrame(type, null, null, codec.toPayload(payload), multiplexed ? start.id() : null)); + send(new ChannelFrame(type, null, null, codec.toPayload(payload), start.id())); } void request(ChannelFrame start, String type, String id, Object payload) { - send(new ChannelFrame(type, id, null, codec.toPayload(payload), multiplexed ? start.id() : null)); + send(new ChannelFrame(type, id, null, codec.toPayload(payload), start.id())); } void result(ChannelFrame start, OperationResult result) { - send(new ChannelFrame(ChannelProtocol.OPERATION_RESULT, null, start.id(), codec.toPayload(result), multiplexed ? start.id() : null)); - if (!multiplexed) { - close(ChannelProtocol.CLOSE_NORMAL, "Operation completed"); - } + send(new ChannelFrame(ChannelProtocol.OPERATION_RESULT, null, start.id(), codec.toPayload(result), start.id())); } void refuse(ChannelFrame start, String code) { send(new ChannelFrame(ChannelProtocol.ERROR, null, start.id(), codec.toPayload(new ChannelError(code, code)), - multiplexed ? start.id() : null)); + start.id())); } synchronized void close(int code, String reason) { diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java index 8885772f4f..e20d06f3ac 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java @@ -62,7 +62,7 @@ class TbAiChannelPoolTest { pool = pool(10); TbAiTurnContext context = context(user(), "https://tb.example.com", true); TbAiPooledConnection connection = join(pool.acquire(context, false)); - connection.finish(null, now.get()); + connection.unreserve(now.get()); // WHEN TbAiPooledConnection again = join(pool.acquire(context, false)); @@ -96,7 +96,7 @@ class TbAiChannelPoolTest { // GIVEN pool = pool(10); TbAiPooledConnection connection = join(pool.acquire(context(user(), "https://tb.example.com", true), false)); - connection.finish(null, now.get()); + connection.unreserve(now.get()); // WHEN now.addAndGet(Duration.ofSeconds(30).toNanos()); @@ -122,7 +122,7 @@ class TbAiChannelPoolTest { now.addAndGet(Duration.ofMinutes(11).toNanos()); pool.sweep(); TbAiPooledConnection next = join(pool.acquire(context, false)); - busy.finish(null, now.get()); + busy.unreserve(now.get()); // THEN assertThat(next).isNotSameAs(busy); @@ -134,7 +134,7 @@ class TbAiChannelPoolTest { // GIVEN pool = pool(1); TbAiPooledConnection idle = join(pool.acquire(context(user(), "https://tb.example.com", true), false)); - idle.finish(null, now.get()); + idle.unreserve(now.get()); // WHEN TbAiPooledConnection next = join(pool.acquire(context(user(), "https://tb.example.com", true), false)); @@ -152,7 +152,7 @@ class TbAiChannelPoolTest { // WHEN TbAiPooledConnection overflow = join(pool.acquire(context(user(), "https://tb.example.com", true), false)); - overflow.finish(null, now.get()); + overflow.unreserve(now.get()); // THEN assertThat(overflow.isPooled()).isFalse(); @@ -169,7 +169,7 @@ class TbAiChannelPoolTest { // WHEN TbAiPooledConnection connection = join(pool.acquire(context, false)); - connection.finish(null, now.get()); + connection.unreserve(now.get()); // THEN assertThat(connection.isPooled()).isFalse(); @@ -178,21 +178,18 @@ class TbAiChannelPoolTest { } @Test - void shouldNotPoolChannel_whenServerIsNotMultiplexed() { + void shouldFailAsUnavailable_whenServerHelloLacksMux() { // GIVEN server.close(); server = FakeTbAiServer.start(List.of(ChannelProtocol.CAPABILITY_REST, ChannelProtocol.CAPABILITY_OPERATIONS), (connection, frame) -> {}); pool = pool(10); - TbAiTurnContext context = context(user(), "https://tb.example.com", true); - - // WHEN - TbAiPooledConnection first = join(pool.acquire(context, false)); - TbAiPooledConnection second = join(pool.acquire(context, false)); - // THEN - assertThat(first.isMultiplexed()).isFalse(); - assertThat(second).isNotSameAs(first); + // WHEN-THEN + assertThatThrownBy(() -> join(pool.acquire(context(user(), "https://tb.example.com", true), false))) + .hasCauseInstanceOf(TbAiChannelUnavailableException.class) + .hasMessageEndingWith("AI channel does not support mux.v1"); await().atMost(5, TimeUnit.SECONDS).until(() -> pool.pooledConnections() == 0); + await().atMost(5, TimeUnit.SECONDS).until(() -> server.openConnections.get() == 0); } @Test From 496c939b338e07c2a018e11199d4e27e3d34634c Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Wed, 14 Oct 2026 11:56:04 +0300 Subject: [PATCH 149/559] Address PR review feedback - Skip the TTN tests from @BeforeClass when credentials are missing and document the TTN and Pub/Sub properties (PR #16301) - Skip the Pub/Sub test from @BeforeClass when credentials are missing (PR #16301) - Skip the ChirpStack tests without the docker-compose environment and make the integration teardown null-safe (PR #16301) --- msa/black-box-tests/README.md | 15 +++++++++++ .../integration/AbstractIntegrationTest.java | 15 ++++++----- .../ChirpStackIntegrationTest.java | 5 ++++ .../integration/PubSubIntegrationTest.java | 18 +++++++++---- .../msa/integration/TTNIntegrationTest.java | 27 ++++++++++--------- 5 files changed, 57 insertions(+), 23 deletions(-) diff --git a/msa/black-box-tests/README.md b/msa/black-box-tests/README.md index 24a0ba7027..b48c47fa51 100644 --- a/msa/black-box-tests/README.md +++ b/msa/black-box-tests/README.md @@ -103,6 +103,21 @@ development - which is why every generated report carries the non-production not -DblackBoxTests.azureServiceBusDownlinkTopicName=YOUR_TOPIC_NAME -DblackBoxTests.azureServiceBusDownlinkSubName=YOUR_SUB_NAME + Note: for The Things Stack (TTN) integration add next VM options: + + -DblackBoxTests.ttnRegion=YOUR_REGION + -DblackBoxTests.ttnUsername=YOUR_USERNAME + -DblackBoxTests.ttnPassword=YOUR_API_KEY + -DblackBoxTests.ttnAppId=YOUR_APPLICATION_ID + -DblackBoxTests.ttnDeviceId=YOUR_DEVICE_ID + + Note: for Google Pub/Sub integration add next VM options: + + -DblackBoxTests.pubSubProjectId=YOUR_PROJECT_ID + -DblackBoxTests.pubSubSubscriptionId=YOUR_SUBSCRIPTION_ID + -DblackBoxTests.pubSubTopicId=YOUR_TOPIC_ID + -DblackBoxTests.pubSubServiceAccountKey=YOUR_SERVICE_ACCOUNT_KEY (raw JSON, path to the key file, or base64-encoded JSON) + - To run the black box tests with using local env run tests in the [msa/black-box-tests](../black-box-tests) directory with runLocal property: mvn clean install -DblackBoxTests.skip=false -DrunLocal=true diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/AbstractIntegrationTest.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/AbstractIntegrationTest.java index ca545de04f..277cfa5fef 100644 --- a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/AbstractIntegrationTest.java +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/AbstractIntegrationTest.java @@ -102,12 +102,15 @@ public abstract class AbstractIntegrationTest extends AbstractContainerTest { testRestClient.setRootRuleChain(defaultRuleChainId); if (device != null) { testRestClient.deleteDevice(device.getId()); - if (integration.getId() != null) { - testRestClient.deleteIntegration(integration.getId()); - } - testRestClient.deleteConverter(integration.getDefaultConverterId()); - if (integration.getDownlinkConverterId() != null) { - testRestClient.deleteConverter(integration.getDownlinkConverterId()); + if (integration != null) { + if (integration.getId() != null) { + testRestClient.deleteIntegration(integration.getId()); + } + testRestClient.deleteConverter(integration.getDefaultConverterId()); + if (integration.getDownlinkConverterId() != null) { + testRestClient.deleteConverter(integration.getDownlinkConverterId()); + } + integration = null; } if (secret != null) { testRestClient.deleteSecret(secret.getId()); diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java index fe8f23cdb4..7b32b4063d 100644 --- a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/ChirpStackIntegrationTest.java @@ -8,6 +8,7 @@ import lombok.extern.slf4j.Slf4j; import org.eclipse.paho.client.mqttv3.MqttClient; import org.eclipse.paho.client.mqttv3.MqttMessage; import org.eclipse.paho.client.mqttv3.persist.MemoryPersistence; +import org.testng.SkipException; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; @@ -17,6 +18,7 @@ import org.thingsboard.server.common.data.event.EventType; import org.thingsboard.server.common.data.id.RuleChainId; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.rule.RuleNode; +import org.thingsboard.server.msa.ContainerTestSuite; import org.thingsboard.server.msa.TestProperties; import org.thingsboard.server.msa.WsClient; import org.thingsboard.server.msa.integration.chirpstack.ChirpStackTestClient; @@ -74,6 +76,9 @@ public class ChirpStackIntegrationTest extends AbstractIntegrationTest { @BeforeClass public void beforeChirpStackClass() { + if (!ContainerTestSuite.getInstance().isActive()) { + throw new SkipException("ChirpStack tests need the docker-compose test environment"); + } chirpStackClient = new ChirpStackTestClient(TestProperties.getChirpStackRestUrl()); } diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/PubSubIntegrationTest.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/PubSubIntegrationTest.java index 61e50d91b8..1f62ac4a8a 100644 --- a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/PubSubIntegrationTest.java +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/PubSubIntegrationTest.java @@ -16,6 +16,7 @@ import org.apache.commons.lang3.RandomStringUtils; import org.awaitility.Awaitility; import org.testng.SkipException; import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import org.thingsboard.common.util.JacksonUtil; @@ -62,6 +63,18 @@ public class PubSubIntegrationTest extends AbstractIntegrationTest { private JsonNode uplinkConverterCode; private WsClient wsClient; + private String projectId; + private String subscriptionId; + private String topicId; + private String serviceAccountKey; + + @BeforeClass + public void beforePubSubClass() throws Exception { + projectId = requireProperty("blackBoxTests.pubSubProjectId"); + subscriptionId = requireProperty("blackBoxTests.pubSubSubscriptionId"); + topicId = requireProperty("blackBoxTests.pubSubTopicId"); + serviceAccountKey = resolveServiceAccountKey(requireProperty("blackBoxTests.pubSubServiceAccountKey")); + } @BeforeMethod public void setUp() { @@ -79,11 +92,6 @@ public class PubSubIntegrationTest extends AbstractIntegrationTest { @Test public void shouldReceiveUplinkFromPubSubSubscription() throws Exception { - String projectId = requireProperty("blackBoxTests.pubSubProjectId"); - String subscriptionId = requireProperty("blackBoxTests.pubSubSubscriptionId"); - String topicId = requireProperty("blackBoxTests.pubSubTopicId"); - String serviceAccountKey = resolveServiceAccountKey(requireProperty("blackBoxTests.pubSubServiceAccountKey")); - createPubSubIntegration(projectId, subscriptionId, serviceAccountKey); wsClient = subscribeToWebSocket(device.getId(), "LATEST_TELEMETRY", CmdsType.TS_SUB_CMDS); diff --git a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java index 3897701ea7..db60652ac7 100644 --- a/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java +++ b/msa/black-box-tests/src/test/java/org/thingsboard/server/msa/integration/TTNIntegrationTest.java @@ -9,6 +9,7 @@ import org.apache.commons.lang3.RandomStringUtils; import org.awaitility.Awaitility; import org.testng.SkipException; import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import org.thingsboard.common.util.JacksonUtil; @@ -107,6 +108,20 @@ public class TTNIntegrationTest extends AbstractIntegrationTest { // Coordinates for clearing the shared The Things Stack downlink queue in tearDown — set by the // downlink test so a leftover queued downlink does not bleed into other runs. private String[] downlinkQueueCoordinates; + private String region; + private String username; + private String password; + private String appId; + private String deviceId; + + @BeforeClass + public void beforeTtnClass() { + region = requireProperty("blackBoxTests.ttnRegion"); + username = requireProperty("blackBoxTests.ttnUsername"); + password = requireProperty("blackBoxTests.ttnPassword"); + appId = requireProperty("blackBoxTests.ttnAppId"); + deviceId = requireProperty("blackBoxTests.ttnDeviceId"); + } @BeforeMethod public void setUp() { @@ -132,12 +147,6 @@ public class TTNIntegrationTest extends AbstractIntegrationTest { @Test public void shouldReceiveSimulatedUplinkFromTheThingsStack() throws Exception { - String region = requireProperty("blackBoxTests.ttnRegion"); - String username = requireProperty("blackBoxTests.ttnUsername"); - String password = requireProperty("blackBoxTests.ttnPassword"); - String appId = requireProperty("blackBoxTests.ttnAppId"); - String deviceId = requireProperty("blackBoxTests.ttnDeviceId"); - createTtnIntegration(region, username, password); wsClient = subscribeToWebSocket(device.getId(), "LATEST_TELEMETRY", CmdsType.TS_SUB_CMDS); @@ -152,12 +161,6 @@ public class TTNIntegrationTest extends AbstractIntegrationTest { @Test public void shouldEnqueueDownlinkInTheThingsStack() throws Exception { - String region = requireProperty("blackBoxTests.ttnRegion"); - String username = requireProperty("blackBoxTests.ttnUsername"); - String password = requireProperty("blackBoxTests.ttnPassword"); - String appId = requireProperty("blackBoxTests.ttnAppId"); - String deviceId = requireProperty("blackBoxTests.ttnDeviceId"); - JsonNode downlinkConverter = JacksonUtil.newObjectNode().put("encoder", DOWNLINK_CONVERTER_ENCODER); createTtnIntegration(region, username, password, downlinkConverter); From 1ce37cd1a86bf28a598b74efd35bebbfad2342da Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Wed, 14 Oct 2026 13:05:44 +0300 Subject: [PATCH 150/559] Handle validation results consistently in telemetry and attribute callbacks --- .../service/security/AccessValidator.java | 5 ++ .../telemetry/DefaultTbTelemetryService.java | 6 ++ .../service/ws/DefaultWebSocketService.java | 76 +++++-------------- .../controller/TelemetryControllerTest.java | 36 +++++++++ .../server/controller/WebsocketApiTest.java | 12 +++ 5 files changed, 79 insertions(+), 56 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/security/AccessValidator.java b/application/src/main/java/org/thingsboard/server/service/security/AccessValidator.java index 3668bef2ef..bf712a851b 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/AccessValidator.java +++ b/application/src/main/java/org/thingsboard/server/service/security/AccessValidator.java @@ -263,6 +263,7 @@ public class AccessValidator { accessControlService.checkPermission(currentUser, Resource.DEVICE_PROFILE, operation, entityId, deviceProfile); } catch (ThingsboardException e) { callback.onSuccess(ValidationResult.accessDenied(e.getMessage())); + return; } callback.onSuccess(ValidationResult.ok(deviceProfile)); } @@ -281,6 +282,7 @@ public class AccessValidator { accessControlService.checkPermission(currentUser, Resource.ASSET_PROFILE, operation, entityId, assetProfile); } catch (ThingsboardException e) { callback.onSuccess(ValidationResult.accessDenied(e.getMessage())); + return; } callback.onSuccess(ValidationResult.ok(assetProfile)); } @@ -293,6 +295,7 @@ public class AccessValidator { } else { if (!operation.equals(Operation.READ_TELEMETRY)) { callback.onSuccess(ValidationResult.accessDenied("Allowed only READ_TELEMETRY operation!")); + return; } ApiUsageState apiUsageState = apiUsageStateService.findApiUsageStateById(currentUser.getTenantId(), new ApiUsageStateId(entityId.getId())); if (apiUsageState == null) { @@ -302,6 +305,7 @@ public class AccessValidator { accessControlService.checkPermission(currentUser, Resource.API_USAGE_STATE, operation, entityId, apiUsageState); } catch (ThingsboardException e) { callback.onSuccess(ValidationResult.accessDenied(e.getMessage())); + return; } callback.onSuccess(ValidationResult.ok(apiUsageState)); } @@ -320,6 +324,7 @@ public class AccessValidator { accessControlService.checkPermission(currentUser, Resource.OTA_PACKAGE, operation, entityId, otaPackage); } catch (ThingsboardException e) { callback.onSuccess(ValidationResult.accessDenied(e.getMessage())); + return; } callback.onSuccess(ValidationResult.ok(otaPackage)); } diff --git a/application/src/main/java/org/thingsboard/server/service/telemetry/DefaultTbTelemetryService.java b/application/src/main/java/org/thingsboard/server/service/telemetry/DefaultTbTelemetryService.java index 54c5d271e1..da1a748c37 100644 --- a/application/src/main/java/org/thingsboard/server/service/telemetry/DefaultTbTelemetryService.java +++ b/application/src/main/java/org/thingsboard/server/service/telemetry/DefaultTbTelemetryService.java @@ -19,7 +19,9 @@ import org.thingsboard.server.common.data.kv.ReadTsKvQuery; import org.thingsboard.server.common.data.kv.TsKvEntry; import org.thingsboard.server.dao.timeseries.TimeseriesService; import org.thingsboard.server.service.security.AccessValidator; +import org.thingsboard.server.service.security.ValidationCallback; import org.thingsboard.server.service.security.ValidationResult; +import org.thingsboard.server.service.security.ValidationResultCode; import org.thingsboard.server.service.security.model.SecurityUser; import org.thingsboard.server.service.security.permission.Operation; @@ -42,6 +44,10 @@ public class DefaultTbTelemetryService implements TbTelemetryService { accessValidator.validate(currentUser, Operation.READ_TELEMETRY, entityId, new FutureCallback<>() { @Override public void onSuccess(ValidationResult validationResult) { + if (validationResult.getResultCode() != ValidationResultCode.OK) { + onFailure(ValidationCallback.getException(validationResult)); + return; + } try { AggregationParams params; if (Aggregation.NONE.equals(agg)) { diff --git a/application/src/main/java/org/thingsboard/server/service/ws/DefaultWebSocketService.java b/application/src/main/java/org/thingsboard/server/service/ws/DefaultWebSocketService.java index 71f4e73929..15e470085b 100644 --- a/application/src/main/java/org/thingsboard/server/service/ws/DefaultWebSocketService.java +++ b/application/src/main/java/org/thingsboard/server/service/ws/DefaultWebSocketService.java @@ -882,72 +882,36 @@ public class DefaultWebSocketService implements WebSocketService { }, executor); } - private FutureCallback getAttributesFetchCallback(final TenantId tenantId, final EntityId entityId, final List keys, final FutureCallback> callback) { - return new FutureCallback() { - @Override - public void onSuccess(@Nullable ValidationResult result) { - List>> futures = new ArrayList<>(); - for (AttributeScope scope : AttributeScope.values()) { - futures.add(attributesService.find(tenantId, entityId, scope, keys)); - } - - ListenableFuture> future = mergeAllAttributesFutures(futures); - Futures.addCallback(future, callback, MoreExecutors.directExecutor()); + private FutureCallback getAttributesFetchCallback(final TenantId tenantId, final EntityId entityId, final List keys, final FutureCallback> callback) { + return on(r -> { + List>> futures = new ArrayList<>(); + for (AttributeScope scope : AttributeScope.values()) { + futures.add(attributesService.find(tenantId, entityId, scope, keys)); } - @Override - public void onFailure(Throwable t) { - callback.onFailure(t); - } - }; + ListenableFuture> future = mergeAllAttributesFutures(futures); + Futures.addCallback(future, callback, MoreExecutors.directExecutor()); + }, callback::onFailure); } - private FutureCallback getAttributesFetchCallback(final TenantId tenantId, final EntityId entityId, final String scope, final List keys, final FutureCallback> callback) { - return new FutureCallback() { - @Override - public void onSuccess(@Nullable ValidationResult result) { - Futures.addCallback(attributesService.find(tenantId, entityId, AttributeScope.valueOf(scope), keys), callback, MoreExecutors.directExecutor()); - } - - @Override - public void onFailure(Throwable t) { - callback.onFailure(t); - } - }; + private FutureCallback getAttributesFetchCallback(final TenantId tenantId, final EntityId entityId, final String scope, final List keys, final FutureCallback> callback) { + return on(r -> Futures.addCallback(attributesService.find(tenantId, entityId, AttributeScope.valueOf(scope), keys), callback, MoreExecutors.directExecutor()), callback::onFailure); } - private FutureCallback getAttributesFetchCallback(final TenantId tenantId, final EntityId entityId, final FutureCallback> callback) { - return new FutureCallback() { - @Override - public void onSuccess(@Nullable ValidationResult result) { - List>> futures = new ArrayList<>(); - for (AttributeScope scope : AttributeScope.values()) { - futures.add(attributesService.findAll(tenantId, entityId, scope)); - } - - ListenableFuture> future = mergeAllAttributesFutures(futures); - Futures.addCallback(future, callback, MoreExecutors.directExecutor()); + private FutureCallback getAttributesFetchCallback(final TenantId tenantId, final EntityId entityId, final FutureCallback> callback) { + return on(r -> { + List>> futures = new ArrayList<>(); + for (AttributeScope scope : AttributeScope.values()) { + futures.add(attributesService.findAll(tenantId, entityId, scope)); } - @Override - public void onFailure(Throwable t) { - callback.onFailure(t); - } - }; + ListenableFuture> future = mergeAllAttributesFutures(futures); + Futures.addCallback(future, callback, MoreExecutors.directExecutor()); + }, callback::onFailure); } - private FutureCallback getAttributesFetchCallback(final TenantId tenantId, final EntityId entityId, final String scope, final FutureCallback> callback) { - return new FutureCallback() { - @Override - public void onSuccess(@Nullable ValidationResult result) { - Futures.addCallback(attributesService.findAll(tenantId, entityId, AttributeScope.valueOf(scope)), callback, MoreExecutors.directExecutor()); - } - - @Override - public void onFailure(Throwable t) { - callback.onFailure(t); - } - }; + private FutureCallback getAttributesFetchCallback(final TenantId tenantId, final EntityId entityId, final String scope, final FutureCallback> callback) { + return on(r -> Futures.addCallback(attributesService.findAll(tenantId, entityId, AttributeScope.valueOf(scope)), callback, MoreExecutors.directExecutor()), callback::onFailure); } private FutureCallback on(Consumer success, Consumer failure) { diff --git a/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java index f582f7cd09..9d1c7db552 100644 --- a/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java @@ -7,8 +7,10 @@ import org.junit.Assert; import org.junit.Test; import org.springframework.test.context.TestPropertySource; import org.springframework.web.method.annotation.MethodArgumentTypeMismatchException; +import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.SaveDeviceWithCredentialsRequest; +import org.thingsboard.server.common.data.id.DeviceProfileId; import org.thingsboard.server.common.data.kv.BasicTsKvEntry; import org.thingsboard.server.common.data.kv.LongDataEntry; import org.thingsboard.server.common.data.query.AliasEntityId; @@ -19,9 +21,11 @@ import org.thingsboard.server.common.data.security.DeviceCredentialsType; import org.thingsboard.server.dao.service.DaoSqlTest; import java.util.List; +import java.util.UUID; import java.util.concurrent.TimeUnit; import static org.assertj.core.api.Assertions.assertThat; +import static org.awaitility.Awaitility.await; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.thingsboard.server.common.data.query.EntityKeyType.TIME_SERIES; @@ -219,6 +223,38 @@ public class TelemetryControllerTest extends AbstractControllerTest { doPostAsync("/api/plugins/telemetry/DEVICE/" + device.getId() + "/timeseries/smth", invalidRequestBody2, String.class, status().isBadRequest()); } + @Test + public void testCustomerUserCannotReadTimeseriesOfNotAssignedDevice() throws Exception { + loginTenantAdmin(); + Device device = createDevice(); + tsService.save(tenantId, device.getId(), new BasicTsKvEntry(1000L, new LongDataEntry("t", 1L))).get(); + + loginCustomerUser(); + String url = "/api/plugins/telemetry/DEVICE/{entityId}/values/timeseries?keys=t&startTs=0&endTs={endTs}"; + doGetAsync(url, device.getUuidId(), System.currentTimeMillis()).andExpect(status().isForbidden()); + doGetAsync(url + "&agg=SUM&interval=86400000", device.getUuidId(), System.currentTimeMillis()).andExpect(status().isForbidden()); + doGetAsync(url, UUID.randomUUID(), System.currentTimeMillis()).andExpect(status().isNotFound()); + + loginTenantAdmin(); + assignDeviceToCustomer(device.getId(), customerId); + + loginCustomerUser(); + ObjectNode result = doGetAsync(url, ObjectNode.class, device.getUuidId(), System.currentTimeMillis()); + Assert.assertEquals(1L, result.get("t").get(0).get("value").asLong()); + } + + @Test + public void testCustomerUserCannotSaveDeviceProfileAttributes() throws Exception { + loginTenantAdmin(); + DeviceProfileId deviceProfileId = createDevice().getDeviceProfileId(); + + loginCustomerUser(); + doPostAsync("/api/plugins/telemetry/DEVICE_PROFILE/" + deviceProfileId + "/SERVER_SCOPE", "{\"attr\": \"value\"}", String.class, status().isForbidden()); + + await().during(1, TimeUnit.SECONDS).atMost(2, TimeUnit.SECONDS) + .until(() -> attributesService.find(tenantId, deviceProfileId, AttributeScope.SERVER_SCOPE, "attr").get().isEmpty()); + } + private Device createDevice() throws Exception { String testToken = "TEST_TOKEN"; diff --git a/application/src/test/java/org/thingsboard/server/controller/WebsocketApiTest.java b/application/src/test/java/org/thingsboard/server/controller/WebsocketApiTest.java index e005cb18ff..508492eedb 100644 --- a/application/src/test/java/org/thingsboard/server/controller/WebsocketApiTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/WebsocketApiTest.java @@ -966,6 +966,18 @@ public class WebsocketApiTest extends AbstractControllerTest { assertThat(update.get("data").get("attr").get(0).get(1).asText()).isEqualTo(expectedAttrValue); } + @Test + public void testAttributesSubscription_customerUserNotAssignedDevice() throws Exception { + sendAttributes(device, TbAttributeSubscriptionScope.SERVER_SCOPE, List.of( + new BaseAttributeKvEntry(System.currentTimeMillis(), new StringDataEntry("attr", "secret")) + )); + + loginCustomerUser(); + JsonNode update = getWsClient().subscribeForAttributes(device.getId(), TbAttributeSubscriptionScope.SERVER_SCOPE.name(), List.of("attr")); + assertThat(update.get("errorCode").asInt()).isNotEqualTo(SubscriptionErrorCode.NO_ERROR.getCode()); + assertThat(update.path("data").isEmpty()).isTrue(); + } + @Test public void testEntityCountCmd_filterTypeSingularCompatibilityTest() throws Exception { ObjectNode oldFormatDeviceTypeFilterSingular = JacksonUtil.newObjectNode(); From 1e98df91e0211ec2dab4ad4441f40ab486eb8f05 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Wed, 14 Oct 2026 13:10:08 +0300 Subject: [PATCH 151/559] Handle validation result in time series read queries --- .../server/service/telemetry/DefaultTbTelemetryService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/src/main/java/org/thingsboard/server/service/telemetry/DefaultTbTelemetryService.java b/application/src/main/java/org/thingsboard/server/service/telemetry/DefaultTbTelemetryService.java index 290e293451..b7cb597f12 100644 --- a/application/src/main/java/org/thingsboard/server/service/telemetry/DefaultTbTelemetryService.java +++ b/application/src/main/java/org/thingsboard/server/service/telemetry/DefaultTbTelemetryService.java @@ -91,6 +91,10 @@ public class DefaultTbTelemetryService implements TbTelemetryService { accessValidator.validate(currentUser, Operation.READ_TELEMETRY, entityId, new FutureCallback<>() { @Override public void onSuccess(ValidationResult validationResult) { + if (validationResult.getResultCode() != ValidationResultCode.OK) { + onFailure(ValidationCallback.getException(validationResult)); + return; + } try { Futures.addCallback(tsService.findAllByQueries(currentUser.getTenantId(), entityId, new ArrayList<>(queries)), new FutureCallback<>() { @Override From cd2383baddc22439046b2c0ed68bd49ccd5576b9 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Wed, 14 Oct 2026 13:27:57 +0300 Subject: [PATCH 152/559] Use change owner API in TelemetryControllerTest and cover read queries endpoint --- .../server/controller/TelemetryControllerTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java index 82ad5a9683..d8eebfd2f4 100644 --- a/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java @@ -14,6 +14,7 @@ import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.SaveDeviceWithCredentialsRequest; import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.common.data.kv.BaseReadTsKvQuery; import org.thingsboard.server.common.data.kv.BasicTsKvEntry; import org.thingsboard.server.common.data.kv.LongDataEntry; import org.thingsboard.server.common.data.query.AliasEntityId; @@ -306,9 +307,11 @@ public class TelemetryControllerTest extends AbstractControllerTest { doGetAsync(url, device.getUuidId(), System.currentTimeMillis()).andExpect(status().isForbidden()); doGetAsync(url + "&agg=SUM&interval=86400000", device.getUuidId(), System.currentTimeMillis()).andExpect(status().isForbidden()); doGetAsync(url, UUID.randomUUID(), System.currentTimeMillis()).andExpect(status().isNotFound()); + List queries = List.of(new BaseReadTsKvQuery("t", 0, System.currentTimeMillis(), 10, "DESC")); + doPostAsync("/api/plugins/telemetry/DEVICE/" + device.getId() + "/values/timeseries", queries, String.class, status().isForbidden()); loginTenantAdmin(); - assignDeviceToCustomer(device.getId(), customerId); + doPost("/api/owner/CUSTOMER/" + customerId.getId() + "/DEVICE/" + device.getId().getId()).andExpect(status().isOk()); loginCustomerUser(); ObjectNode result = doGetAsync(url, ObjectNode.class, device.getUuidId(), System.currentTimeMillis()); From 4d1a098e70930bf5aa8d89096c3c05ab253bf046 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Wed, 14 Oct 2026 13:27:57 +0300 Subject: [PATCH 153/559] Skip time series the report user is not allowed to read --- .../report/LocalReportDataService.java | 19 +++++++++++++++++-- .../datasource/RemoteReportDataService.java | 8 ++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/report/LocalReportDataService.java b/application/src/main/java/org/thingsboard/server/service/report/LocalReportDataService.java index 1ba1f1aace..23c96858c8 100644 --- a/application/src/main/java/org/thingsboard/server/service/report/LocalReportDataService.java +++ b/application/src/main/java/org/thingsboard/server/service/report/LocalReportDataService.java @@ -2,6 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.server.service.report; +import com.google.common.util.concurrent.ListenableFuture; import lombok.RequiredArgsConstructor; import lombok.SneakyThrows; import org.springframework.stereotype.Service; @@ -32,6 +33,7 @@ import org.thingsboard.server.dao.alarm.AlarmService; import org.thingsboard.server.dao.report.ReportService; import org.thingsboard.server.dao.report.ReportTemplateService; import org.thingsboard.server.dao.resource.ImageService; +import org.thingsboard.server.exception.AccessDeniedException; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.report.context.TbReportCtx; import org.thingsboard.server.report.datasource.ReportDataService; @@ -41,7 +43,9 @@ import org.thingsboard.server.service.security.permission.AccessControlService; import org.thingsboard.server.service.telemetry.TbTelemetryService; import java.util.Collection; +import java.util.Collections; import java.util.List; +import java.util.concurrent.ExecutionException; import static org.thingsboard.server.common.data.report.configuration.timewindow.TimeIntervalCalculator.getIntervalTs; import static org.thingsboard.server.common.data.report.configuration.timewindow.TimeIntervalCalculator.getIntervalType; @@ -112,13 +116,13 @@ public class LocalReportDataService implements ReportDataService { @Override public List getTimeseries(EntityId entityId, List keys, Long startTs, Long endTs, Interval interval, String timeZone, Aggregation agg, SortOrder.Direction sortOrder, Integer limit, boolean useStrictDataTypes, TbReportCtx ctx) { - return tbTelemetryService.getTimeseries(entityId, keys, startTs, endTs, getIntervalType(interval), getIntervalTs(interval), timeZone, limit, agg, sortOrder.name(), useStrictDataTypes, getSecurityUser(ctx)).get(); // .get() will be interrupted on task processing timeout + return getOrEmptyIfAccessDenied(tbTelemetryService.getTimeseries(entityId, keys, startTs, endTs, getIntervalType(interval), getIntervalTs(interval), timeZone, limit, agg, sortOrder.name(), useStrictDataTypes, getSecurityUser(ctx))); // .get() will be interrupted on task processing timeout } @SneakyThrows @Override public List findTimeseriesByQueries(EntityId entityId, List queries, TbReportCtx ctx) { - return tbTelemetryService.getTimeseriesByReadQueries(entityId, queries, getSecurityUser(ctx)).get(); + return getOrEmptyIfAccessDenied(tbTelemetryService.getTimeseriesByReadQueries(entityId, queries, getSecurityUser(ctx))); } @Override @@ -127,6 +131,17 @@ public class LocalReportDataService implements ReportDataService { return reportService.createReport(report, data); } + private List getOrEmptyIfAccessDenied(ListenableFuture> future) throws InterruptedException, ExecutionException { + try { + return future.get(); + } catch (ExecutionException e) { + if (e.getCause() instanceof AccessDeniedException) { + return Collections.emptyList(); + } + throw e; + } + } + private SecurityUser getSecurityUser(TbReportCtx ctx) { return ((LocalTbReportCtxProvider.LocalTbReportCtx) ctx).getSecurityUser(); } diff --git a/common/report/src/main/java/org/thingsboard/server/report/datasource/RemoteReportDataService.java b/common/report/src/main/java/org/thingsboard/server/report/datasource/RemoteReportDataService.java index c018879372..a2ad2bce0d 100644 --- a/common/report/src/main/java/org/thingsboard/server/report/datasource/RemoteReportDataService.java +++ b/common/report/src/main/java/org/thingsboard/server/report/datasource/RemoteReportDataService.java @@ -4,6 +4,7 @@ package org.thingsboard.server.report.datasource; import com.fasterxml.jackson.databind.JsonNode; import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression; +import org.springframework.http.HttpStatus; import org.springframework.stereotype.Service; import org.springframework.web.client.RestClientResponseException; import org.thingsboard.common.util.JacksonUtil; @@ -32,6 +33,7 @@ import org.thingsboard.server.report.context.TbReportCtx; import java.io.IOException; import java.util.Collection; +import java.util.Collections; import java.util.List; import static org.thingsboard.server.common.data.report.configuration.timewindow.TimeIntervalCalculator.getIntervalTs; @@ -125,6 +127,9 @@ public class RemoteReportDataService implements ReportDataService { try { return getRestClient(ctx).getTimeseries(entityId, keys, getIntervalTs(interval), getIntervalType(interval), timeZone, agg, sortOrder, startTs, endTs, limit, useStrictDataTypes); } catch (RestClientResponseException e) { + if (e.getStatusCode().value() == HttpStatus.FORBIDDEN.value()) { + return Collections.emptyList(); + } throw handleRestClientException(e); } } @@ -134,6 +139,9 @@ public class RemoteReportDataService implements ReportDataService { try { return getRestClient(ctx).getTimeseriesByQueries(entityId, queries); } catch (RestClientResponseException e) { + if (e.getStatusCode().value() == HttpStatus.FORBIDDEN.value()) { + return Collections.emptyList(); + } throw handleRestClientException(e); } } From 9f0ac047d92370af35bd46a7104fad1ee6a121c2 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Wed, 14 Oct 2026 13:31:42 +0300 Subject: [PATCH 154/559] Use customer admin in TelemetryControllerTest time series access test --- .../server/controller/TelemetryControllerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java index d8eebfd2f4..3c34a4d25b 100644 --- a/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java @@ -302,7 +302,7 @@ public class TelemetryControllerTest extends AbstractControllerTest { Device device = createDevice(); tsService.save(tenantId, device.getId(), new BasicTsKvEntry(1000L, new LongDataEntry("t", 1L))).get(); - loginCustomerUser(); + loginCustomerAdminUser(); String url = "/api/plugins/telemetry/DEVICE/{entityId}/values/timeseries?keys=t&startTs=0&endTs={endTs}"; doGetAsync(url, device.getUuidId(), System.currentTimeMillis()).andExpect(status().isForbidden()); doGetAsync(url + "&agg=SUM&interval=86400000", device.getUuidId(), System.currentTimeMillis()).andExpect(status().isForbidden()); @@ -313,7 +313,7 @@ public class TelemetryControllerTest extends AbstractControllerTest { loginTenantAdmin(); doPost("/api/owner/CUSTOMER/" + customerId.getId() + "/DEVICE/" + device.getId().getId()).andExpect(status().isOk()); - loginCustomerUser(); + loginCustomerAdminUser(); ObjectNode result = doGetAsync(url, ObjectNode.class, device.getUuidId(), System.currentTimeMillis()); Assert.assertEquals(1L, result.get("t").get(0).get("value").asLong()); } From 515a8ec3c5b3613d4572366bf3cc834302d92313 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 14 Oct 2026 15:33:34 +0300 Subject: [PATCH 155/559] fix: address review of the WebSocket channel to TB AI - The client origin travels on each call's start frame instead of only in the channel's hello, so every call is audited and shown under its own origin and a user has one channel per node whatever address they use. TbAiClientRequest, TbAiClientRequestFactory, exactOrigin and the per-origin handshake map are gone; the turn context holds the origin. - Calls back into ThingsBoard forward X-Forwarded-Proto/Host/Port built from the client origin and X-Forwarded-For from the user's address. The browser request's X-Forwarded-* headers cannot be copied: Spring's ForwardedHeaderFilter has already consumed them. - Capability negotiation is dropped: protocol version 1 is the baseline, the hello lists no capabilities and TbAiOperationsUnsupportedException is removed. - The on-premise token provider no longer builds an Origin handshake header, which the channel client never sent; TB_CORE_BASE_URL no longer affects AI. - The AI token is read before the channel pool is used, so "AI is not available for the current subscription plan" is a 403 again instead of "Service unavailable", and losing AI from the plan takes effect on the next call rather than when the pooled channel closes. - One timer bounds the channel handshake. When it fires, the connection leaves the pool and a WebSocket upgrade that completes later is closed instead of staying open outside the pool. - After shutdown the pool opens no channels, so a call refused by TB's own 1001 close is not retried. Closes with TB AI's new 4501 code (exchanges aborted at its drain deadline) are not retried either. --- .../server/controller/AiChatController.java | 9 +- .../AiDeviceDashboardController.java | 6 +- .../controller/AiSolutionController.java | 8 +- .../server/service/ai/DefaultTbAiService.java | 13 ++- .../ai/OnPremiseTbAiTokenProvider.java | 40 ++----- .../server/service/ai/chat/AiChatService.java | 3 +- .../service/ai/chat/DefaultAiChatService.java | 5 +- .../dashboard/AiDeviceDashboardService.java | 3 +- .../DefaultAiDeviceDashboardService.java | 5 +- .../ai/solution/AiSolutionService.java | 5 +- .../ai/solution/DefaultAiSolutionService.java | 9 +- .../ai/transport/ChannelTbAiOperations.java | 19 ++-- .../ai/transport/ChannelTbAiTransport.java | 8 +- .../service/ai/transport/TbAiChannelPool.java | 36 ++++--- .../ai/transport/TbAiClientRequest.java | 41 ------- .../transport/TbAiClientRequestFactory.java | 35 ------ .../service/ai/transport/TbAiOperations.java | 9 +- .../TbAiOperationsUnsupportedException.java | 11 -- .../ai/transport/TbAiPooledConnection.java | 36 +++---- .../ai/transport/TbAiRequestExecutor.java | 43 +++++++- .../service/ai/transport/TbAiTurnContext.java | 14 +-- .../AiDataDeletionTaskProcessor.java | 6 +- .../AiTenantDataDeletionTaskProcessor.java | 6 +- .../AiUserDataDeletionTaskProcessor.java | 6 +- .../AbstractOnPremiseAiControllerTest.java | 8 +- .../service/ai/DefaultTbAiServiceTest.java | 36 ++++++- .../ai/OnPremiseTbAiTokenProviderTest.java | 81 ++------------ .../ai/chat/DefaultAiChatServiceTest.java | 8 +- .../DefaultAiDeviceDashboardServiceTest.java | 8 +- .../DefaultAiSolutionServiceTest.java | 12 +-- .../transport/ChannelTbAiOperationsTest.java | 62 ++++++----- .../transport/ChannelTbAiTransportTest.java | 11 +- .../service/ai/transport/FakeTbAiServer.java | 10 +- .../ai/transport/TbAiChannelPoolTest.java | 75 ++++++------- .../ai/transport/TbAiOperationsTest.java | 38 +++---- .../transport/TbAiPooledConnectionTest.java | 102 ++++++++++++++++++ .../ai/transport/TbAiRequestExecutorTest.java | 51 ++++++++- .../AiDataDeletionTaskProcessorsTest.java | 15 ++- 38 files changed, 465 insertions(+), 428 deletions(-) delete mode 100644 application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiClientRequest.java delete mode 100644 application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiClientRequestFactory.java delete mode 100644 application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiOperationsUnsupportedException.java create mode 100644 application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java diff --git a/application/src/main/java/org/thingsboard/server/controller/AiChatController.java b/application/src/main/java/org/thingsboard/server/controller/AiChatController.java index 7cadbe6651..8b14c71743 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiChatController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiChatController.java @@ -28,9 +28,8 @@ import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.TbAiSettings; import org.thingsboard.server.service.ai.chat.AiChatService; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; -import org.thingsboard.server.service.ai.transport.TbAiClientRequestFactory; import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.security.system.SystemSecurityService; import reactor.core.publisher.Flux; import java.util.UUID; @@ -46,7 +45,7 @@ class AiChatController extends BaseController { private final AiChatService aiChatService; private final TbAiSettings aiSettings; - private final TbAiClientRequestFactory clientRequestFactory; + private final SystemSecurityService systemSecurityService; @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping @@ -106,8 +105,8 @@ class AiChatController extends BaseController { ) throws ThingsboardException { SecurityUser user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI, Operation.WRITE); - TbAiClientRequest clientRequest = clientRequestFactory.create(user, httpRequest); - return withTraceLogging(chatId, aiChatService.sendChatMessage(chatId, request, tbAccessToken, acceptLanguage, clientRequest, user)); + String clientOrigin = systemSecurityService.getBaseUrl(user.getTenantId(), user.getCustomerId(), httpRequest); + return withTraceLogging(chatId, aiChatService.sendChatMessage(chatId, request, tbAccessToken, acceptLanguage, clientOrigin, user)); } private Flux> withTraceLogging(UUID chatId, Flux> events) { diff --git a/application/src/main/java/org/thingsboard/server/controller/AiDeviceDashboardController.java b/application/src/main/java/org/thingsboard/server/controller/AiDeviceDashboardController.java index 336049e6c9..777a53f48c 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiDeviceDashboardController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiDeviceDashboardController.java @@ -19,8 +19,8 @@ import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.dao.service.validator.DashboardDataValidator; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.dashboard.AiDeviceDashboardService; -import org.thingsboard.server.service.ai.transport.TbAiClientRequestFactory; import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.security.system.SystemSecurityService; import java.util.UUID; @@ -34,7 +34,7 @@ class AiDeviceDashboardController extends BaseController { private final AiDeviceDashboardService aiDeviceDashboardService; private final DashboardDataValidator dashboardDataValidator; - private final TbAiClientRequestFactory clientRequestFactory; + private final SystemSecurityService systemSecurityService; @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/{deviceId}/dashboard") @@ -49,7 +49,7 @@ class AiDeviceDashboardController extends BaseController { checkDeviceId(new DeviceId(deviceId), Operation.READ, Operation.READ_ATTRIBUTES, Operation.READ_TELEMETRY); accessControlService.checkPermission(user, Resource.DASHBOARD, Operation.CREATE); dashboardDataValidator.validateMaxDashboardsPerTenant(user.getTenantId()); - return aiDeviceDashboardService.generateDashboard(deviceId, request, tbAccessToken, clientRequestFactory.create(user, httpRequest), user); + return aiDeviceDashboardService.generateDashboard(deviceId, request, tbAccessToken, systemSecurityService.getBaseUrl(user.getTenantId(), user.getCustomerId(), httpRequest), user); } } diff --git a/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java b/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java index cd5ce6ae91..0bd771ecee 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java @@ -21,8 +21,8 @@ import org.thingsboard.server.common.data.permission.Operation; import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.solution.AiSolutionService; -import org.thingsboard.server.service.ai.transport.TbAiClientRequestFactory; import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.security.system.SystemSecurityService; import java.util.UUID; @@ -35,7 +35,7 @@ import static org.thingsboard.server.config.ThingsboardSecurityConfiguration.AUT public class AiSolutionController extends BaseController { private final AiSolutionService aiSolutionService; - private final TbAiClientRequestFactory clientRequestFactory; + private final SystemSecurityService systemSecurityService; @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/start") @@ -104,7 +104,7 @@ public class AiSolutionController extends BaseController { HttpServletRequest httpRequest) throws ThingsboardException { SecurityUser user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI, Operation.WRITE); - return aiSolutionService.installSolution(solutionId, tbAccessToken, clientRequestFactory.create(user, httpRequest), user); + return aiSolutionService.installSolution(solutionId, tbAccessToken, systemSecurityService.getBaseUrl(user.getTenantId(), user.getCustomerId(), httpRequest), user); } @PreAuthorize("hasAuthority('TENANT_ADMIN')") @@ -114,7 +114,7 @@ public class AiSolutionController extends BaseController { HttpServletRequest httpRequest) throws ThingsboardException { SecurityUser user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI, Operation.WRITE); - return aiSolutionService.uninstallSolution(solutionId, tbAccessToken, clientRequestFactory.create(user, httpRequest), user); + return aiSolutionService.uninstallSolution(solutionId, tbAccessToken, systemSecurityService.getBaseUrl(user.getTenantId(), user.getCustomerId(), httpRequest), user); } @PreAuthorize("hasAuthority('TENANT_ADMIN')") diff --git a/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java b/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java index de368dab57..fbd6764cec 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java @@ -52,7 +52,7 @@ class DefaultTbAiService implements TbAiService { if (checkCredits) { checkApiUsage(user); } - TbAiResponse response = call.apply(createTokenProvider(user)); + TbAiResponse response = call.apply(createCheckedTokenProvider(user)); return processResponse(response, user); } @@ -60,11 +60,12 @@ class DefaultTbAiService implements TbAiService { public Flux> processStream(UUID chatId, TbAiCall>> call, SecurityUser user) { checkEnabled(); checkApiUsage(user); + TbAiClient.TokenProvider tokenProvider = createCheckedTokenProvider(user); return Flux.defer(() -> { // Eager subscribe so client cancel does not drop the trailing creditsUsed event. Sinks.Many> clientSink = Sinks.many().unicast().onBackpressureBuffer(); - call.apply(createTokenProvider(user)) + call.apply(tokenProvider) .timeout(Duration.ofSeconds(aiSettings.getSseInactivityTimeoutSeconds())) .subscribe( event -> { @@ -113,8 +114,14 @@ class DefaultTbAiService implements TbAiService { } } - private TbAiClient.TokenProvider createTokenProvider(SecurityUser user) { + /** + * Reads the token before the call reaches the channel pool, so a token the user may not have (e.g. AI is not in the + * subscription plan) fails the call with its own error rather than as a channel that cannot be opened, and is + * checked on every call rather than only when a channel opens. + */ + private TbAiClient.TokenProvider createCheckedTokenProvider(SecurityUser user) { TbAiTokenProvider provider = tokenProvider.orElseThrow(() -> new ThingsboardRuntimeException("AI feature is not available", ThingsboardErrorCode.BAD_REQUEST_PARAMS)); + provider.getToken(user); return TbAiTokenProviderFactory.userScoped(provider, user); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java b/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java index ecb6c83ffa..18b518b49a 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java @@ -2,12 +2,10 @@ // SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.server.service.ai; -import org.springframework.beans.factory.annotation.Value; +import lombok.RequiredArgsConstructor; import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression; -import org.springframework.http.HttpHeaders; import org.springframework.stereotype.Component; import org.thingsboard.ai.common.client.TbAiHeaders; -import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; @@ -16,31 +14,20 @@ import org.thingsboard.server.exception.ThingsboardRuntimeException; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.install.ProjectInfo; import org.thingsboard.server.service.security.model.SecurityUser; -import org.thingsboard.server.service.security.system.SystemSecurityService; import java.util.Map; import java.util.UUID; import java.util.function.Supplier; +// The handshake carries no Origin: the origin TB AI uses comes from the channel's hello and start frames. @Component @TbCoreComponent +@RequiredArgsConstructor @ConditionalOnExpression("'${ai.jwt.signing_key:}' == ''") class OnPremiseTbAiTokenProvider implements TbAiTokenProvider { private final SubscriptionService subscriptionService; - private final SystemSecurityService systemSecurityService; private final ProjectInfo projectInfo; - private final String coreBaseUrl; - - OnPremiseTbAiTokenProvider(SubscriptionService subscriptionService, - SystemSecurityService systemSecurityService, - ProjectInfo projectInfo, - @Value("${TB_CORE_BASE_URL:}") String coreBaseUrl) { - this.subscriptionService = subscriptionService; - this.systemSecurityService = systemSecurityService; - this.projectInfo = projectInfo; - this.coreBaseUrl = coreBaseUrl; - } @Override public String getToken(SecurityUser user) { @@ -49,10 +36,9 @@ class OnPremiseTbAiTokenProvider implements TbAiTokenProvider { @Override public Map getAdditionalInfo(SecurityUser user) { - return additionalInfo(user.getUuidId(), user.getTenantId(), resolveOrigin(user)); + return additionalInfo(user.getUuidId(), user.getTenantId()); } - @Override public boolean isTokenAvailable() { return subscriptionService.getAiToken() != null; @@ -65,11 +51,7 @@ class OnPremiseTbAiTokenProvider implements TbAiTokenProvider { @Override public Map getAdditionalInfo(TenantId tenantId, UserId userId) { - // Background deletion tasks only need the Origin header to be present; the AI service never calls back - // to ThingsBoard for a delete. Skip TB_CORE_BASE_URL and the white-labeling chain (the tenant may already - // be gone by the time the task runs) and take the system-level general settings base URL instead. - String origin = systemSecurityService.getBaseUrl(tenantId, null, null); - return additionalInfo(userId.getId(), tenantId, origin); + return additionalInfo(userId.getId(), tenantId); } private String requireAiToken(Supplier onMissingToken) { @@ -80,19 +62,11 @@ class OnPremiseTbAiTokenProvider implements TbAiTokenProvider { return token; } - private String resolveOrigin(SecurityUser user) { - if (StringUtils.isNotEmpty(coreBaseUrl)) { - return coreBaseUrl; - } - return systemSecurityService.getBaseUrl(user.getAuthority(), user.getTenantId(), user.getCustomerId(), null); - } - - private Map additionalInfo(UUID userId, TenantId tenantId, String origin) { + private Map additionalInfo(UUID userId, TenantId tenantId) { return Map.of( TbAiHeaders.USER_ID, userId.toString(), TbAiHeaders.TENANT_ID, tenantId.getId().toString(), - TbAiHeaders.TB_VERSION, projectInfo.getProjectVersion(), - HttpHeaders.ORIGIN, origin + TbAiHeaders.TB_VERSION, projectInfo.getProjectVersion() ); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/chat/AiChatService.java b/application/src/main/java/org/thingsboard/server/service/ai/chat/AiChatService.java index 3733565229..2e989304af 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/chat/AiChatService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/chat/AiChatService.java @@ -4,7 +4,6 @@ package org.thingsboard.server.service.ai.chat; import com.fasterxml.jackson.databind.JsonNode; import org.springframework.http.codec.ServerSentEvent; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; import org.thingsboard.server.service.security.model.SecurityUser; import reactor.core.publisher.Flux; @@ -23,7 +22,7 @@ public interface AiChatService { void deleteChat(UUID chatId, SecurityUser user); Flux> sendChatMessage( - UUID chatId, JsonNode request, String tbAccessToken, String acceptLanguage, TbAiClientRequest clientRequest, + UUID chatId, JsonNode request, String tbAccessToken, String acceptLanguage, String clientOrigin, SecurityUser user ); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/chat/DefaultAiChatService.java b/application/src/main/java/org/thingsboard/server/service/ai/chat/DefaultAiChatService.java index 36ad1667f5..cb60ca296a 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/chat/DefaultAiChatService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/chat/DefaultAiChatService.java @@ -10,7 +10,6 @@ import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.ai.common.channel.ChatOperationRequest; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.TbAiService; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.ai.transport.TbAiTransport; @@ -61,11 +60,11 @@ class DefaultAiChatService implements AiChatService { @Override public Flux> sendChatMessage( - UUID chatId, JsonNode request, String tbAccessToken, String acceptLanguage, TbAiClientRequest clientRequest, + UUID chatId, JsonNode request, String tbAccessToken, String acceptLanguage, String clientOrigin, SecurityUser user ) { return tbAiService.processStream(chatId, tokenProvider -> { - var context = new TbAiTurnContext(user, tbAccessToken, acceptLanguage, tokenProvider, clientRequest); + var context = new TbAiTurnContext(user, tbAccessToken, acceptLanguage, tokenProvider, clientOrigin); return tbAiTransport.sendChatMessage(chatId, request, context); }, user); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/dashboard/AiDeviceDashboardService.java b/application/src/main/java/org/thingsboard/server/service/ai/dashboard/AiDeviceDashboardService.java index c14aef4336..d27423fd10 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/dashboard/AiDeviceDashboardService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/dashboard/AiDeviceDashboardService.java @@ -3,13 +3,12 @@ package org.thingsboard.server.service.ai.dashboard; import com.fasterxml.jackson.databind.JsonNode; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.UUID; public interface AiDeviceDashboardService { - JsonNode generateDashboard(UUID deviceId, JsonNode request, String tbAccessToken, TbAiClientRequest clientRequest, SecurityUser user); + JsonNode generateDashboard(UUID deviceId, JsonNode request, String tbAccessToken, String clientOrigin, SecurityUser user); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/dashboard/DefaultAiDeviceDashboardService.java b/application/src/main/java/org/thingsboard/server/service/ai/dashboard/DefaultAiDeviceDashboardService.java index 825d6a4ec0..e4fe611c89 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/dashboard/DefaultAiDeviceDashboardService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/dashboard/DefaultAiDeviceDashboardService.java @@ -9,7 +9,6 @@ import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.ai.common.channel.DashboardOperationRequest; import org.thingsboard.server.service.ai.TbAiService; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; @@ -26,10 +25,10 @@ class DefaultAiDeviceDashboardService implements AiDeviceDashboardService { private final TbAiOperations operations; @Override - public JsonNode generateDashboard(UUID deviceId, JsonNode request, String tbAccessToken, TbAiClientRequest clientRequest, SecurityUser user) { + public JsonNode generateDashboard(UUID deviceId, JsonNode request, String tbAccessToken, String clientOrigin, SecurityUser user) { return tbAiService.process(tokenProvider -> operations.execute( new TbAiOperation(ChannelProtocol.DASHBOARD_GENERATE, new DashboardOperationRequest(deviceId, request)), - new TbAiTurnContext(user, tbAccessToken, null, tokenProvider, clientRequest)), user); + new TbAiTurnContext(user, tbAccessToken, null, tokenProvider, clientOrigin)), user); } } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java b/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java index b541595a35..514672a782 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java @@ -4,7 +4,6 @@ package org.thingsboard.server.service.ai.solution; import com.fasterxml.jackson.databind.JsonNode; import org.thingsboard.ai.common.data.solution.SolutionStep; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.UUID; @@ -25,9 +24,9 @@ public interface AiSolutionService { void clearStep(UUID solutionId, SolutionStep step, SecurityUser user); - JsonNode installSolution(UUID solutionId, String tbAccessToken, TbAiClientRequest clientRequest, SecurityUser user); + JsonNode installSolution(UUID solutionId, String tbAccessToken, String clientOrigin, SecurityUser user); - JsonNode uninstallSolution(UUID solutionId, String tbAccessToken, TbAiClientRequest clientRequest, SecurityUser user); + JsonNode uninstallSolution(UUID solutionId, String tbAccessToken, String clientOrigin, SecurityUser user); void deleteSolution(UUID solutionId, SecurityUser user); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java b/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java index 788006cc62..a93b1c6872 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java @@ -13,7 +13,6 @@ import org.thingsboard.ai.common.channel.SolutionDataRequest; import org.thingsboard.ai.common.channel.SolutionOperationRequest; import org.thingsboard.ai.common.channel.SolutionStepRequest; import org.thingsboard.server.service.ai.TbAiService; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; @@ -72,17 +71,17 @@ public class DefaultAiSolutionService implements AiSolutionService { } @Override - public JsonNode installSolution(UUID solutionId, String tbAccessToken, TbAiClientRequest clientRequest, SecurityUser user) { + public JsonNode installSolution(UUID solutionId, String tbAccessToken, String clientOrigin, SecurityUser user) { return tbAiService.process(tokenProvider -> operations.execute( new TbAiOperation(ChannelProtocol.SOLUTION_INSTALL, new SolutionOperationRequest(solutionId)), - new TbAiTurnContext(user, tbAccessToken, null, tokenProvider, clientRequest)), user, false); + new TbAiTurnContext(user, tbAccessToken, null, tokenProvider, clientOrigin)), user, false); } @Override - public JsonNode uninstallSolution(UUID solutionId, String tbAccessToken, TbAiClientRequest clientRequest, SecurityUser user) { + public JsonNode uninstallSolution(UUID solutionId, String tbAccessToken, String clientOrigin, SecurityUser user) { return tbAiService.process(tokenProvider -> operations.execute( new TbAiOperation(ChannelProtocol.SOLUTION_UNINSTALL, new SolutionOperationRequest(solutionId)), - new TbAiTurnContext(user, tbAccessToken, null, tokenProvider, clientRequest)), user, false); + new TbAiTurnContext(user, tbAccessToken, null, tokenProvider, clientOrigin)), user, false); } @Override diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java index dcef207cc7..3904f7b6e1 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java @@ -17,7 +17,6 @@ import org.thingsboard.ai.common.client.TbAiClient.TbAiResponse; import org.thingsboard.server.queue.util.TbCoreComponent; import java.time.Duration; -import java.util.Set; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionException; import java.util.concurrent.ExecutionException; @@ -27,8 +26,10 @@ import java.util.concurrent.atomic.AtomicBoolean; /** * Runs one operation on a pooled channel and waits for its {@code operation.result}. An operation the channel did not - * start (a {@code draining} or {@code too_many_operations} refusal, or a 1001 close before any frame for it) is - * retried once on a new channel; any other failure after it was sent is an error, so an operation never runs twice. + * start (a {@code draining} or {@code too_many_operations} refusal, or a 1001 close before any frame for it: TB AI + * closes with 1001 only when nothing runs on the connection) is retried once on a new channel; any other failure after + * it was sent is an error, so an operation never runs twice. That includes + * {@link ChannelProtocol#CLOSE_EXCHANGES_ABORTED}, the close of a connection whose running operations were aborted. */ @Slf4j @Component @@ -37,23 +38,14 @@ import java.util.concurrent.atomic.AtomicBoolean; class ChannelTbAiOperations { static final Duration OPERATION_TIMEOUT = Duration.ofMinutes(30); - // Operations during which TB AI calls ThingsBoard back; the rest are api.v1 operations. - static final Set CALLBACK_OPERATIONS = Set.of( - ChannelProtocol.SOLUTION_INSTALL, ChannelProtocol.SOLUTION_UNINSTALL, ChannelProtocol.DASHBOARD_GENERATE); private final TbAiChannelPool pool; private final TbAiRequestExecutor requestExecutor; TbAiResponse execute(TbAiOperation operation, TbAiTurnContext context) { - String capability = CALLBACK_OPERATIONS.contains(operation.type()) - ? ChannelProtocol.CAPABILITY_OPERATIONS : ChannelProtocol.CAPABILITY_API; boolean fresh = false; for (int attempt = 1; ; attempt++) { TbAiPooledConnection connection = acquire(context, fresh); - if (!connection.supports(capability)) { - connection.unreserve(System.nanoTime()); - throw new TbAiOperationsUnsupportedException("TB AI does not support '" + operation.type() + "' over the channel"); - } var call = new OperationCall(operation, context, connection); try { return call.run(); @@ -131,7 +123,8 @@ class ChannelTbAiOperations { } TbAiResponse run() { - ChannelFrame start = ChannelFrame.request(operation.type(), connection.codec().toPayload(operation.payload())); + ChannelFrame start = ChannelFrame.request(operation.type(), connection.codec().toPayload(operation.payload())) + .withOrigin(context.clientOrigin()); op = start.id(); try { connection.start(this, start); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java index 61a8994927..c7b3dbabf5 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java @@ -23,8 +23,9 @@ import java.util.concurrent.CompletionException; import java.util.concurrent.atomic.AtomicBoolean; /** - * Runs a chat turn on a pooled channel and re-emits its events as SSE. A turn the channel did not start is retried - * once on a new channel; a channel that cannot be opened fails the turn with "Service unavailable". + * Runs a chat turn on a pooled channel and re-emits its events as SSE. A turn the channel did not start (refused, or + * closed with 1001 before any frame for it) is retried once on a new channel; a channel that cannot be opened fails + * the turn with "Service unavailable". */ @Slf4j @Component @@ -153,7 +154,8 @@ class ChannelTbAiTransport implements TbAiTransport { return; } ChannelFrame start = ChannelFrame.request(ChannelProtocol.CHAT_SEND, - acquired.codec().toPayload(new ChatTurnRequest(chatId, request, context.acceptLanguage()))); + acquired.codec().toPayload(new ChatTurnRequest(chatId, request, context.acceptLanguage()))) + .withOrigin(context.clientOrigin()); op = start.id(); connection = acquired; try { diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java index 9432f15292..a79614d9a0 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java @@ -35,7 +35,7 @@ import java.util.concurrent.atomic.AtomicInteger; import java.util.function.LongSupplier; /** - * Channels to TB AI on this tb-core node, one per user and client origin in the common case. + * Channels to TB AI on this tb-core node, one per user in the common case: each call carries its own client origin. *

    *
  • Calls of one user share a channel; concurrent first calls share one handshake.
  • *
  • At most {@code maxConnections} pooled channels per node. When full, the least recently used idle channel is @@ -44,6 +44,7 @@ import java.util.function.LongSupplier; *
  • One sweeper closes channels idle for {@code idleTimeout} and retires channels older than {@code maxAge}, which * bounds how long a revoked token or changed subscription keeps working on an open channel.
  • *
  • Background calls (housekeeper deletions) always use transient channels.
  • + *
  • After {@link #shutdown} no channel opens, so a call refused by the shutdown is not retried on a new one.
  • *
*/ @Slf4j @@ -66,6 +67,7 @@ class TbAiChannelPool { private final ConcurrentMap groups = new ConcurrentHashMap<>(); private final AtomicInteger pooledConnections = new AtomicInteger(); private final ScheduledExecutorService sweeper; + private volatile boolean shutdown; @Autowired TbAiChannelPool(TbAiChannelClient channelClient, @@ -104,12 +106,13 @@ class TbAiChannelPool { } private CompletableFuture acquire(TbAiTurnContext context, boolean fresh, int attempt) { + if (shutdown) { + return CompletableFuture.failedFuture(new TbAiChannelUnavailableException("Server is shutting down", null)); + } if (context.isBackground()) { return connect(context, null, false); } PoolKey key = new PoolKey(context.tenantId(), context.userId()); - String origin = context.clientRequest().clientOrigin(); - boolean exactOrigin = context.clientRequest().exactOrigin(); CompletableFuture pending = null; if (!fresh) { Group group = groups.computeIfAbsent(key, k -> new Group()); @@ -117,11 +120,11 @@ class TbAiChannelPool { long now = nanoClock.getAsLong(); for (int i = group.connections.size() - 1; i >= 0; i--) { TbAiPooledConnection connection = group.connections.get(i); - if ((!exactOrigin || origin.equals(connection.origin())) && connection.tryReserve(now)) { + if (connection.tryReserve(now)) { return CompletableFuture.completedFuture(connection); } } - pending = exactOrigin ? group.connecting.get(origin) : group.connecting.values().stream().findFirst().orElse(null); + pending = group.connecting; } } if (pending != null) { @@ -137,7 +140,7 @@ class TbAiChannelPool { Group group = groups.computeIfAbsent(key, k -> new Group()); synchronized (group) { if (!fresh) { - CompletableFuture started = group.connecting.get(origin); + CompletableFuture started = group.connecting; if (started != null) { pooledConnections.decrementAndGet(); return started.thenCompose(connection -> connection.tryReserve(nanoClock.getAsLong()) @@ -146,10 +149,12 @@ class TbAiChannelPool { } } CompletableFuture ready = connect(context, key, true); - group.connecting.put(origin, ready); + group.connecting = ready; ready.whenComplete((connection, error) -> { synchronized (group) { - group.connecting.remove(origin, ready); + if (group.connecting == ready) { + group.connecting = null; + } // A channel closed right after hello has already left the pool (removed() then found nothing). if (connection != null && !connection.isRemoved()) { group.connections.add(connection); @@ -167,18 +172,22 @@ class TbAiChannelPool { return acquire(context, true, attempt + 1); } + /** + * Opens a channel; its hello carries the opening call's origin, which TB AI uses for start frames without one. One + * timer bounds the whole handshake: when it fires the connection leaves the pool at once, and a WebSocket upgrade + * that completes later is closed as soon as its session arrives (see {@link TbAiPooledConnection#opened}). + */ private CompletableFuture connect(TbAiTurnContext context, PoolKey key, boolean pooled) { - var connection = new TbAiPooledConnection(key, context.clientRequest().clientOrigin(), pooled, + var connection = new TbAiPooledConnection(key, context.clientOrigin(), pooled, maxOperationsPerConnection, channelClient.codec(), this, nanoClock.getAsLong()); channelClient.connect(handshakeTokenProvider(context), connection) .subscribeOn(Schedulers.boundedElastic()) - .timeout(CONNECT_TIMEOUT) .subscribe(connection::opened, error -> connection.failed(toConnectError(error))); return connection.ready() .orTimeout(CONNECT_TIMEOUT.toMillis(), TimeUnit.MILLISECONDS) .whenComplete((ready, error) -> { if (error != null) { - connection.close(ChannelProtocol.CLOSE_NORMAL, "Handshake failed"); + connection.failed(error); } }) .exceptionallyCompose(error -> CompletableFuture.failedFuture(unwrap(error))); @@ -223,7 +232,7 @@ class TbAiChannelPool { } groups.computeIfPresent(entry.getKey(), (key, group) -> { synchronized (group) { - return group.connections.isEmpty() && group.connecting.isEmpty() ? null : group; + return group.connections.isEmpty() && group.connecting == null ? null : group; } }); } @@ -238,6 +247,7 @@ class TbAiChannelPool { @PreDestroy void shutdown() { + shutdown = true; if (sweeper != null) { sweeper.shutdownNow(); } @@ -337,7 +347,7 @@ class TbAiChannelPool { private static final class Group { private final List connections = new ArrayList<>(); - private final Map> connecting = new HashMap<>(); + private CompletableFuture connecting; } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiClientRequest.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiClientRequest.java deleted file mode 100644 index 6f3aaa3680..0000000000 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiClientRequest.java +++ /dev/null @@ -1,41 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -package org.thingsboard.server.service.ai.transport; - -import jakarta.servlet.http.HttpServletRequest; -import org.springframework.http.HttpHeaders; - -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; - -/** - * @param exactOrigin true when {@code clientOrigin} comes from the browser request: TB AI shows it to the user (device - * connectivity commands, audit), so the call needs a channel opened with exactly this origin. False - * for a default origin, which any channel of the same user may serve. - */ -public record TbAiClientRequest(String clientOrigin, Map forwardedHeaders, boolean exactOrigin) { - - public TbAiClientRequest(String clientOrigin, Map forwardedHeaders) { - this(clientOrigin, forwardedHeaders, true); - } - - public static TbAiClientRequest withDefaultOrigin(String clientOrigin) { - return new TbAiClientRequest(clientOrigin, Map.of(), false); - } - - private static final List FORWARDED_HEADERS = List.of( - HttpHeaders.HOST, "X-Forwarded-Host", "X-Forwarded-Proto", "X-Forwarded-Port", "X-Forwarded-For"); - - public static TbAiClientRequest of(String clientOrigin, HttpServletRequest request) { - var headers = new LinkedHashMap(); - for (String name : FORWARDED_HEADERS) { - String value = request.getHeader(name); - if (value != null) { - headers.put(name, value); - } - } - return new TbAiClientRequest(clientOrigin, Map.copyOf(headers)); - } - -} diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiClientRequestFactory.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiClientRequestFactory.java deleted file mode 100644 index e7567ac126..0000000000 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiClientRequestFactory.java +++ /dev/null @@ -1,35 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -package org.thingsboard.server.service.ai.transport; - -import jakarta.servlet.http.HttpServletRequest; -import lombok.RequiredArgsConstructor; -import org.springframework.stereotype.Component; -import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.queue.util.TbCoreComponent; -import org.thingsboard.server.service.security.model.SecurityUser; -import org.thingsboard.server.service.security.system.SystemSecurityService; - -@Component -@TbCoreComponent -@RequiredArgsConstructor -public class TbAiClientRequestFactory { - - private final SystemSecurityService systemSecurityService; - - public TbAiClientRequest create(SecurityUser user, HttpServletRequest request) { - String clientOrigin = systemSecurityService.getBaseUrl(user.getTenantId(), user.getCustomerId(), request); - return TbAiClientRequest.of(clientOrigin, request); - } - - // For calls without a browser request at hand; the origin only seeds a new channel's hello. - public TbAiClientRequest forUser(SecurityUser user) { - return TbAiClientRequest.withDefaultOrigin( - systemSecurityService.getBaseUrl(user.getAuthority(), user.getTenantId(), user.getCustomerId(), null)); - } - - public TbAiClientRequest forTenant(TenantId tenantId) { - return TbAiClientRequest.withDefaultOrigin(systemSecurityService.getBaseUrl(tenantId, null, null)); - } - -} diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiOperations.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiOperations.java index 8077d3eb9e..32052870c1 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiOperations.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiOperations.java @@ -9,6 +9,7 @@ import org.thingsboard.ai.common.client.TbAiClient; import org.thingsboard.ai.common.client.TbAiClient.TbAiResponse; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.security.system.SystemSecurityService; @Slf4j @Component @@ -17,13 +18,14 @@ import org.thingsboard.server.service.security.model.SecurityUser; public class TbAiOperations { private final ChannelTbAiOperations channelOperations; - private final TbAiClientRequestFactory clientRequestFactory; + private final SystemSecurityService systemSecurityService; /** * For a call made on the user's behalf with no browser request at hand and no callback into ThingsBoard. */ public TbAiResponse execute(TbAiOperation operation, SecurityUser user, TbAiClient.TokenProvider tokenProvider) { - return execute(operation, new TbAiTurnContext(user, null, null, tokenProvider, clientRequestFactory.forUser(user))); + String clientOrigin = systemSecurityService.getBaseUrl(user.getAuthority(), user.getTenantId(), user.getCustomerId(), null); + return execute(operation, new TbAiTurnContext(user, null, null, tokenProvider, clientOrigin)); } public TbAiResponse execute(TbAiOperation operation, TbAiTurnContext context) { @@ -32,9 +34,6 @@ public class TbAiOperations { } catch (TbAiChannelUnavailableException e) { log.warn("[{}][{}] AI channel unavailable for '{}': {}", context.tenantId(), context.userId(), operation.type(), e.getMessage()); return ChannelTbAiOperations.failure("Service unavailable"); - } catch (TbAiOperationsUnsupportedException e) { - log.warn("[{}][{}] {}", context.tenantId(), context.userId(), e.getMessage()); - return ChannelTbAiOperations.failure("The AI service does not support this ThingsBoard version"); } catch (TbAiChannelRejectedException e) { return ChannelTbAiOperations.failure(e.getMessage()); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiOperationsUnsupportedException.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiOperationsUnsupportedException.java deleted file mode 100644 index 82da4c35a3..0000000000 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiOperationsUnsupportedException.java +++ /dev/null @@ -1,11 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -package org.thingsboard.server.service.ai.transport; - -public class TbAiOperationsUnsupportedException extends RuntimeException { - - public TbAiOperationsUnsupportedException(String message) { - super(message); - } - -} diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java index 2f997b02ad..c5bb359d08 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java @@ -15,7 +15,6 @@ import org.thingsboard.ai.common.channel.TbAiChannelClient; import java.util.List; import java.util.Map; -import java.util.Set; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicBoolean; @@ -31,8 +30,9 @@ import java.util.concurrent.atomic.AtomicBoolean; @Slf4j final class TbAiPooledConnection implements ChannelFrameListener { - static final List CLIENT_CAPABILITIES = List.of(ChannelProtocol.CAPABILITY_REST, - ChannelProtocol.CAPABILITY_OPERATIONS, ChannelProtocol.CAPABILITY_API, ChannelProtocol.CAPABILITY_MUX); + // Protocol version 1 is the baseline. A later feature that this ThingsBoard handles goes here, so TB AI can tell + // before using it that this ThingsBoard understands it. + static final List CLIENT_CAPABILITIES = List.of(); private final TbAiChannelPool.PoolKey key; private final String origin; @@ -52,7 +52,6 @@ final class TbAiPooledConnection implements ChannelFrameListener { private long lastUsedNanos; private volatile ChannelSession session; - private volatile Set capabilities = Set.of(); private volatile int maxFrameBytes = TbAiChannelClient.DEFAULT_MAX_FRAME_BYTES; /** @@ -89,18 +88,10 @@ final class TbAiPooledConnection implements ChannelFrameListener { return key; } - String origin() { - return origin; - } - boolean isPooled() { return pooled; } - boolean supports(String capability) { - return capabilities.contains(capability); - } - int maxFrameBytes() { return maxFrameBytes; } @@ -117,8 +108,17 @@ final class TbAiPooledConnection implements ChannelFrameListener { return ready; } + /** + * The session arrived. If the handshake already failed (the connect timed out), the session is closed: it is + * stored first and {@link #failed} closes whatever is stored after failing {@code ready}, so one of the two always + * sees the other and the channel never stays open outside the pool. + */ void opened(ChannelSession openedSession) { session = openedSession; + if (ready.isDone()) { + close(ChannelProtocol.CLOSE_NORMAL, "Handshake failed"); + return; + } try { openedSession.send(ChannelFrame.of(ChannelProtocol.HELLO, codec.toPayload( new ChannelHello(ChannelProtocol.VERSION, CLIENT_CAPABILITIES, origin, null)))); @@ -127,9 +127,14 @@ final class TbAiPooledConnection implements ChannelFrameListener { } } + /** + * The handshake failed or timed out: the connection leaves the pool now and its session, if it has one or gets + * one later, is closed. + */ void failed(Throwable error) { ready.completeExceptionally(error); markRemoved(); + close(ChannelProtocol.CLOSE_NORMAL, "Handshake failed"); } boolean tryReserve(long nowNanos) { @@ -285,13 +290,6 @@ final class TbAiPooledConnection implements ChannelFrameListener { switch (frame.type()) { case ChannelProtocol.HELLO -> { ChannelHello hello = codec.fromPayload(frame.payload(), ChannelHello.class); - capabilities = hello.capabilities() != null ? Set.copyOf(hello.capabilities()) : Set.of(); - if (!capabilities.contains(ChannelProtocol.CAPABILITY_MUX)) { - ready.completeExceptionally(new TbAiChannelUnavailableException( - "AI channel does not support " + ChannelProtocol.CAPABILITY_MUX, null)); - close(ChannelProtocol.CLOSE_PROTOCOL_ERROR, "Missing " + ChannelProtocol.CAPABILITY_MUX); - return; - } if (hello.maxFrameBytes() != null && hello.maxFrameBytes() > 0 && hello.maxFrameBytes() < Integer.MAX_VALUE) { maxFrameBytes = hello.maxFrameBytes().intValue(); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiRequestExecutor.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiRequestExecutor.java index 663ab12a89..387bdfa08e 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiRequestExecutor.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiRequestExecutor.java @@ -59,6 +59,10 @@ public class TbAiRequestExecutor { "x-forwarded-host", "x-forwarded-proto", "x-forwarded-port", "x-forwarded-for"); private static final Set DROPPED_RESPONSE_HEADERS = Set.of( "set-cookie", "content-length", "transfer-encoding", "connection"); + private static final String X_FORWARDED_HOST = "X-Forwarded-Host"; + private static final String X_FORWARDED_PROTO = "X-Forwarded-Proto"; + private static final String X_FORWARDED_PORT = "X-Forwarded-Port"; + private static final String X_FORWARDED_FOR = "X-Forwarded-For"; private final String baseUrl; private final WebClient webClient; @@ -103,7 +107,7 @@ public class TbAiRequestExecutor { .uri(URI.create(baseUrl + request.path() + query)) .headers(headers -> { copyRequestHeaders(request.headers(), headers); - context.clientRequest().forwardedHeaders().forEach(headers::set); + forwardedHeaders(context).forEach(headers::set); headers.set(ThingsboardSecurityConfiguration.AUTHORIZATION_HEADER, context.tbAccessToken()); }); WebClient.RequestHeadersSpec withBody = body.length > 0 ? spec.bodyValue(body) : spec; @@ -164,6 +168,43 @@ public class TbAiRequestExecutor { return null; } + /** + * Makes the loopback request look as if it came through the user's {@code clientOrigin} from the user's address, + * so ThingsBoard builds URLs (device connectivity commands) and records addresses as for the user's own request. + * The browser request's X-Forwarded-* headers cannot be copied: the forwarded-header filter consumes them. + */ + static Map forwardedHeaders(TbAiTurnContext context) { + var headers = new LinkedHashMap(); + URI origin = parseOrigin(context.clientOrigin()); + if (origin != null) { + String scheme = origin.getScheme().toLowerCase(Locale.ROOT); + int port = origin.getPort() != -1 ? origin.getPort() : "https".equals(scheme) ? 443 : 80; + headers.put(X_FORWARDED_PROTO, scheme); + headers.put(X_FORWARDED_HOST, origin.getHost()); + headers.put(X_FORWARDED_PORT, String.valueOf(port)); + } + if (context.user() != null && StringUtils.isNotBlank(context.user().getClientAddress())) { + headers.put(X_FORWARDED_FOR, context.user().getClientAddress()); + } + return headers; + } + + private static URI parseOrigin(String clientOrigin) { + if (StringUtils.isBlank(clientOrigin)) { + return null; + } + try { + URI uri = URI.create(clientOrigin.trim()); + String scheme = uri.getScheme(); + if (uri.getHost() == null || !("http".equalsIgnoreCase(scheme) || "https".equalsIgnoreCase(scheme))) { + return null; + } + return uri; + } catch (IllegalArgumentException e) { + return null; + } + } + private static void copyRequestHeaders(Map> source, HttpHeaders target) { if (source == null) { return; diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTurnContext.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTurnContext.java index f4306be14e..a2bca3b147 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTurnContext.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTurnContext.java @@ -9,7 +9,9 @@ import org.thingsboard.server.service.security.model.SecurityUser; /** * Everything one TB AI call needs on the TB side. {@code user} is null for background work (housekeeper deletions); - * {@code tbAccessToken} is null for calls during which TB AI never calls ThingsBoard back. + * {@code tbAccessToken} is null for calls during which TB AI never calls ThingsBoard back. {@code clientOrigin} is the + * ThingsBoard base URL the user reached for this call: TB AI shows it to the user (device connectivity commands) and + * audits it, and the calls back into ThingsBoard are forwarded as if made through it. */ public record TbAiTurnContext( TenantId tenantId, @@ -18,17 +20,17 @@ public record TbAiTurnContext( String tbAccessToken, String acceptLanguage, TbAiClient.TokenProvider tokenProvider, - TbAiClientRequest clientRequest + String clientOrigin ) { public TbAiTurnContext(SecurityUser user, String tbAccessToken, String acceptLanguage, - TbAiClient.TokenProvider tokenProvider, TbAiClientRequest clientRequest) { - this(user.getTenantId(), user.getId(), user, tbAccessToken, acceptLanguage, tokenProvider, clientRequest); + TbAiClient.TokenProvider tokenProvider, String clientOrigin) { + this(user.getTenantId(), user.getId(), user, tbAccessToken, acceptLanguage, tokenProvider, clientOrigin); } public static TbAiTurnContext background(TenantId tenantId, UserId userId, TbAiClient.TokenProvider tokenProvider, - TbAiClientRequest clientRequest) { - return new TbAiTurnContext(tenantId, userId, null, null, null, tokenProvider, clientRequest); + String clientOrigin) { + return new TbAiTurnContext(tenantId, userId, null, null, null, tokenProvider, clientOrigin); } public boolean isBackground() { diff --git a/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiDataDeletionTaskProcessor.java b/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiDataDeletionTaskProcessor.java index 767c3fc23a..63c1205338 100644 --- a/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiDataDeletionTaskProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiDataDeletionTaskProcessor.java @@ -10,10 +10,10 @@ import org.thingsboard.server.common.data.housekeeper.HousekeeperTask; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.service.ai.TbAiTokenProvider; import org.thingsboard.server.service.ai.TbAiTokenProviderFactory; -import org.thingsboard.server.service.ai.transport.TbAiClientRequestFactory; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; +import org.thingsboard.server.service.security.system.SystemSecurityService; import java.util.Optional; @@ -23,7 +23,7 @@ public abstract class AiDataDeletionTaskProcessor extends HousekeeperTaskProcess private final Optional tokenProvider; private final TbAiOperations operations; - private final TbAiClientRequestFactory clientRequestFactory; + private final SystemSecurityService systemSecurityService; @Override public void process(HousekeeperTask task) throws Exception { @@ -37,7 +37,7 @@ public abstract class AiDataDeletionTaskProcessor extends HousekeeperTaskProcess TbAiClient.TokenProvider scopedTokenProvider = TbAiTokenProviderFactory.idScoped(tokenProvider, task.getTenantId(), userId); TbAiResponse response = operations.execute( new TbAiOperation(operationType(), null), - TbAiTurnContext.background(task.getTenantId(), userId, scopedTokenProvider, clientRequestFactory.forTenant(task.getTenantId()))); + TbAiTurnContext.background(task.getTenantId(), userId, scopedTokenProvider, systemSecurityService.getBaseUrl(task.getTenantId(), null, null))); if (!response.isSuccess()) { throw new RuntimeException(response.getError()); } diff --git a/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiTenantDataDeletionTaskProcessor.java b/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiTenantDataDeletionTaskProcessor.java index 461973a24b..afd1efd9af 100644 --- a/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiTenantDataDeletionTaskProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiTenantDataDeletionTaskProcessor.java @@ -7,8 +7,8 @@ import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.server.common.data.housekeeper.HousekeeperTaskType; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.TbAiTokenProvider; -import org.thingsboard.server.service.ai.transport.TbAiClientRequestFactory; import org.thingsboard.server.service.ai.transport.TbAiOperations; +import org.thingsboard.server.service.security.system.SystemSecurityService; import java.util.Optional; @@ -17,8 +17,8 @@ import java.util.Optional; public class AiTenantDataDeletionTaskProcessor extends AiDataDeletionTaskProcessor { public AiTenantDataDeletionTaskProcessor(Optional tokenProvider, TbAiOperations operations, - TbAiClientRequestFactory clientRequestFactory) { - super(tokenProvider, operations, clientRequestFactory); + SystemSecurityService systemSecurityService) { + super(tokenProvider, operations, systemSecurityService); } @Override diff --git a/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiUserDataDeletionTaskProcessor.java b/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiUserDataDeletionTaskProcessor.java index a9d9614dc6..091995b43c 100644 --- a/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiUserDataDeletionTaskProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/housekeeper/processor/AiUserDataDeletionTaskProcessor.java @@ -7,8 +7,8 @@ import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.server.common.data.housekeeper.HousekeeperTaskType; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.TbAiTokenProvider; -import org.thingsboard.server.service.ai.transport.TbAiClientRequestFactory; import org.thingsboard.server.service.ai.transport.TbAiOperations; +import org.thingsboard.server.service.security.system.SystemSecurityService; import java.util.Optional; @@ -17,8 +17,8 @@ import java.util.Optional; public class AiUserDataDeletionTaskProcessor extends AiDataDeletionTaskProcessor { public AiUserDataDeletionTaskProcessor(Optional tokenProvider, TbAiOperations operations, - TbAiClientRequestFactory clientRequestFactory) { - super(tokenProvider, operations, clientRequestFactory); + SystemSecurityService systemSecurityService) { + super(tokenProvider, operations, systemSecurityService); } @Override diff --git a/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java index cf4a715beb..4fc327c082 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java @@ -3,7 +3,6 @@ package org.thingsboard.server.controller; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.http.HttpHeaders; import org.springframework.test.context.TestPropertySource; import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; import org.thingsboard.ai.common.client.TbAiClient; @@ -17,13 +16,11 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.doReturn; @TestPropertySource(properties = { - "ai.jwt.signing_key=", - "TB_CORE_BASE_URL=" + AbstractOnPremiseAiControllerTest.ORIGIN + "ai.jwt.signing_key=" }) public abstract class AbstractOnPremiseAiControllerTest extends AbstractAiControllerTest { protected static final String AI_TOKEN = "on-premise-ai-token"; - protected static final String ORIGIN = "https://tb.example.org"; @MockitoSpyBean protected SubscriptionService subscriptionService; @@ -40,8 +37,7 @@ public abstract class AbstractOnPremiseAiControllerTest extends AbstractAiContro assertThat(tokenProvider.getAdditionalInfo()).containsExactlyInAnyOrderEntriesOf(Map.of( TbAiHeaders.USER_ID, tenantAdminUserId.getId().toString(), TbAiHeaders.TENANT_ID, tenantId.getId().toString(), - TbAiHeaders.TB_VERSION, projectInfo.getProjectVersion(), - HttpHeaders.ORIGIN, ORIGIN + TbAiHeaders.TB_VERSION, projectInfo.getProjectVersion() )); } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java index 42176a1726..f1bc2bf74c 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java @@ -56,6 +56,7 @@ import static org.mockito.ArgumentMatchers.same; import static org.mockito.BDDMockito.given; import static org.mockito.BDDMockito.then; import static org.mockito.Mockito.never; +import static org.mockito.Mockito.times; @ExtendWith(MockitoExtension.class) class DefaultTbAiServiceTest { @@ -214,11 +215,27 @@ class DefaultTbAiServiceTest { assertThat(tokenProvider.getToken()).isEqualTo("jwt-token"); assertThat(tokenProvider.getAdditionalInfo()).containsExactlyInAnyOrderEntriesOf(Map.of("X-Forwarded-For", "198.51.100.10")); - then(tbAiTokenProvider).should().getToken(user); + // once before the call, to fail it early, and once through the scoped provider + then(tbAiTokenProvider).should(times(2)).getToken(user); then(tbAiTokenProvider).should().getAdditionalInfo(user); then(tbAiTokenProvider).shouldHaveNoMoreInteractions(); } + @Test + void shouldThrowTokenErrorAndSkipCall_whenProcessAndUserHasNoAiToken() { + // GIVEN + given(tbAiTokenProvider.getToken(user)).willThrow(new ThingsboardRuntimeException( + "AI is not available for the current subscription plan", ThingsboardErrorCode.PERMISSION_DENIED)); + + // WHEN + Throwable thrown = catchThrowable(() -> service.process(call, user, false)); + + // THEN — the plan error reaches the controller as a 403, not as an unavailable channel + assertThat(thrown).isInstanceOf(ThingsboardRuntimeException.class).hasMessage("AI is not available for the current subscription plan"); + assertThat(((ThingsboardRuntimeException) thrown).getErrorCode()).isEqualTo(ThingsboardErrorCode.PERMISSION_DENIED); + then(call).should(never()).apply(any()); + } + // --------------------------------------------------------------------------------------------- // isEnabled() // --------------------------------------------------------------------------------------------- @@ -324,6 +341,23 @@ class DefaultTbAiServiceTest { then(apiUsageReportClient).shouldHaveNoInteractions(); } + @Test + void shouldThrowTokenError_whenProcessStreamAndUserHasNoAiToken() { + // GIVEN + given(apiUsageStateService.getApiUsageState(tenantId)).willReturn(enabledApiUsageState()); + given(tbAiTokenProvider.getToken(user)).willThrow(new ThingsboardRuntimeException( + "AI is not available for the current subscription plan", ThingsboardErrorCode.PERMISSION_DENIED)); + + // WHEN + Throwable thrown = catchThrowable(() -> + service.processStream(chatId, tokenProvider -> Flux.empty(), user)); + + // THEN + assertThat(thrown).isInstanceOf(ThingsboardRuntimeException.class).hasMessage("AI is not available for the current subscription plan"); + assertThat(((ThingsboardRuntimeException) thrown).getErrorCode()).isEqualTo(ThingsboardErrorCode.PERMISSION_DENIED); + then(apiUsageReportClient).shouldHaveNoInteractions(); + } + @Test void shouldReportCredits_whenClientCancelsMidStream() { // GIVEN diff --git a/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java b/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java index 51e02fcc0b..c1d7c08a2a 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java @@ -7,7 +7,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; -import org.springframework.http.HttpHeaders; import org.thingsboard.ai.common.client.TbAiHeaders; import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; import org.thingsboard.server.common.data.id.CustomerId; @@ -19,39 +18,29 @@ import org.thingsboard.server.dao.subscription.SubscriptionService; import org.thingsboard.server.exception.ThingsboardRuntimeException; import org.thingsboard.server.service.install.ProjectInfo; import org.thingsboard.server.service.security.model.SecurityUser; -import org.thingsboard.server.service.security.system.SystemSecurityService; import java.util.Map; import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.catchThrowable; -import static org.mockito.ArgumentMatchers.any; import static org.mockito.BDDMockito.given; -import static org.mockito.BDDMockito.then; -import static org.mockito.Mockito.never; @ExtendWith(MockitoExtension.class) class OnPremiseTbAiTokenProviderTest { private final String aiToken = "on-premise-ai-token"; - private final String coreBaseUrl = "https://tb.example.org"; - private final String resolvedBaseUrl = "https://resolved.example.org"; - private final String localhostBaseUrl = "http://localhost:8080"; private final String tbVersion = "4.3.0-AI-TEST"; @Mock SubscriptionService subscriptionService; @Mock - SystemSecurityService systemSecurityService; - @Mock ProjectInfo projectInfo; UUID userId; TenantId tenantId; SecurityUser user; - // Default provider: a configured core base URL, so origin resolution does not touch SystemSecurityService. OnPremiseTbAiTokenProvider provider; @BeforeEach @@ -59,7 +48,7 @@ class OnPremiseTbAiTokenProviderTest { userId = UUID.randomUUID(); tenantId = TenantId.fromUUID(UUID.randomUUID()); user = user(userId, tenantId); - provider = newProvider(coreBaseUrl); + provider = new OnPremiseTbAiTokenProvider(subscriptionService, projectInfo); } // --------------------------------------------------------------------------------------------- @@ -99,47 +88,15 @@ class OnPremiseTbAiTokenProviderTest { // --------------------------------------------------------------------------------------------- @Test - void shouldBuildHeadersWithConfiguredCoreBaseUrlAsOrigin_whenCoreBaseUrlIsSet() { + void shouldBuildHeadersWithoutOrigin_whenCalledForUser() { // GIVEN given(projectInfo.getProjectVersion()).willReturn(tbVersion); // WHEN Map additionalInfo = provider.getAdditionalInfo(user); - // THEN - assertThat(additionalInfo).containsExactlyInAnyOrderEntriesOf(expectedHeaders(coreBaseUrl)); - // Origin came from the configured core base URL, so the security service must not be consulted. - then(systemSecurityService).shouldHaveNoInteractions(); - } - - @Test - void shouldResolveOriginViaSecurityService_whenCoreBaseUrlIsBlank() { - // GIVEN - OnPremiseTbAiTokenProvider providerWithoutCoreUrl = newProvider(""); - given(projectInfo.getProjectVersion()).willReturn(tbVersion); - given(systemSecurityService.getBaseUrl(user.getAuthority(), user.getTenantId(), user.getCustomerId(), null)) - .willReturn(resolvedBaseUrl); - - // WHEN - Map additionalInfo = providerWithoutCoreUrl.getAdditionalInfo(user); - - // THEN - assertThat(additionalInfo).containsExactlyInAnyOrderEntriesOf(expectedHeaders(resolvedBaseUrl)); - } - - @Test - void shouldAcceptLocalhostOrigin_whenBuildingUserHeaders() { - // GIVEN — no configured core URL and the security service falls back to a localhost base URL. - OnPremiseTbAiTokenProvider providerWithoutCoreUrl = newProvider(""); - given(projectInfo.getProjectVersion()).willReturn(tbVersion); - given(systemSecurityService.getBaseUrl(user.getAuthority(), user.getTenantId(), user.getCustomerId(), null)) - .willReturn(localhostBaseUrl); - - // WHEN - Map additionalInfo = providerWithoutCoreUrl.getAdditionalInfo(user); - - // THEN — calls that TB AI does not answer by calling TB back work without a public base URL. - assertThat(additionalInfo).containsExactlyInAnyOrderEntriesOf(expectedHeaders(localhostBaseUrl)); + // THEN — TB AI takes the origin from the channel's hello and start frames, never from the handshake. + assertThat(additionalInfo).containsExactlyInAnyOrderEntriesOf(expectedHeaders()); } // --------------------------------------------------------------------------------------------- @@ -191,49 +148,29 @@ class OnPremiseTbAiTokenProviderTest { } @Test - void shouldResolveIdBasedOriginFromGeneralSettings_whenCoreBaseUrlIsSet() { - // GIVEN — the configured core base URL and the white-labeling chain are both ignored for background tasks. - given(projectInfo.getProjectVersion()).willReturn(tbVersion); - given(systemSecurityService.getBaseUrl(tenantId, null, null)).willReturn(resolvedBaseUrl); - - // WHEN - Map additionalInfo = provider.getAdditionalInfo(tenantId, new UserId(userId)); - - // THEN - assertThat(additionalInfo).containsExactlyInAnyOrderEntriesOf(expectedHeaders(resolvedBaseUrl)); - then(systemSecurityService).should(never()).getBaseUrl(any(Authority.class), any(), any(), any()); - } - - @Test - void shouldAcceptLocalhostOrigin_whenBuildingIdBasedHeaders() { - // GIVEN — unlike the user-facing path, background deletion must not fail on an unconfigured base URL. + void shouldBuildHeadersWithoutOrigin_whenCalledWithRawIds() { + // GIVEN given(projectInfo.getProjectVersion()).willReturn(tbVersion); - given(systemSecurityService.getBaseUrl(tenantId, null, null)).willReturn(localhostBaseUrl); // WHEN Map additionalInfo = provider.getAdditionalInfo(tenantId, new UserId(userId)); // THEN - assertThat(additionalInfo).containsExactlyInAnyOrderEntriesOf(expectedHeaders(localhostBaseUrl)); + assertThat(additionalInfo).containsExactlyInAnyOrderEntriesOf(expectedHeaders()); } // --------------------------------------------------------------------------------------------- // Helpers // --------------------------------------------------------------------------------------------- - private Map expectedHeaders(String origin) { + private Map expectedHeaders() { return Map.of( TbAiHeaders.USER_ID, userId.toString(), TbAiHeaders.TENANT_ID, tenantId.getId().toString(), - TbAiHeaders.TB_VERSION, tbVersion, - HttpHeaders.ORIGIN, origin + TbAiHeaders.TB_VERSION, tbVersion ); } - private OnPremiseTbAiTokenProvider newProvider(String coreBaseUrl) { - return new OnPremiseTbAiTokenProvider(subscriptionService, systemSecurityService, projectInfo, coreBaseUrl); - } - private static SecurityUser user(UUID userId, TenantId tenantId) { SecurityUser user = new SecurityUser(new UserId(userId)); user.setTenantId(tenantId); diff --git a/application/src/test/java/org/thingsboard/server/service/ai/chat/DefaultAiChatServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/chat/DefaultAiChatServiceTest.java index 4c99ac1da7..5f3dcc12cf 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/chat/DefaultAiChatServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/chat/DefaultAiChatServiceTest.java @@ -18,7 +18,6 @@ import org.thingsboard.ai.common.channel.ChatOperationRequest; import org.thingsboard.ai.common.client.TbAiClient; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.service.ai.TbAiService; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; import org.thingsboard.server.service.ai.transport.TbAiTransport; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; import org.thingsboard.server.service.ai.transport.TbAiOperation; @@ -26,7 +25,6 @@ import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.security.model.SecurityUser; import reactor.core.publisher.Flux; -import java.util.Map; import java.util.Objects; import java.util.UUID; @@ -167,12 +165,12 @@ class DefaultAiChatServiceTest { .data("{\"message\":\"ok\"}") .build()); given(tbAiService.processStream(eq(chatId), any(), same(user))).willReturn(expectedStream); - var clientRequest = new TbAiClientRequest("https://tb.example.com", Map.of("Host", "tb.example.com")); - var expectedContext = new TbAiTurnContext(user, tbAccessToken, acceptLanguage, tokenProvider, clientRequest); + var clientOrigin = "https://tb.example.com"; + var expectedContext = new TbAiTurnContext(user, tbAccessToken, acceptLanguage, tokenProvider, clientOrigin); given(tbAiTransport.sendChatMessage(eq(chatId), same(request), eq(expectedContext))).willReturn(expectedStream); // WHEN - Flux> result = service.sendChatMessage(chatId, request, tbAccessToken, acceptLanguage, clientRequest, user); + Flux> result = service.sendChatMessage(chatId, request, tbAccessToken, acceptLanguage, clientOrigin, user); // THEN assertThat(result).isSameAs(expectedStream); diff --git a/application/src/test/java/org/thingsboard/server/service/ai/dashboard/DefaultAiDeviceDashboardServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/dashboard/DefaultAiDeviceDashboardServiceTest.java index 522c3cf956..7e0924655a 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/dashboard/DefaultAiDeviceDashboardServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/dashboard/DefaultAiDeviceDashboardServiceTest.java @@ -16,13 +16,11 @@ import org.thingsboard.ai.common.channel.DashboardOperationRequest; import org.thingsboard.ai.common.client.TbAiClient; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.service.ai.TbAiService; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; import org.thingsboard.server.service.security.model.SecurityUser; -import java.util.Map; import java.util.UUID; @@ -46,7 +44,7 @@ class DefaultAiDeviceDashboardServiceTest { @Mock SecurityUser user; - TbAiClientRequest clientRequest = new TbAiClientRequest("https://tb.example.com", Map.of()); + String clientOrigin = "https://tb.example.com"; DefaultAiDeviceDashboardService service; @@ -67,7 +65,7 @@ class DefaultAiDeviceDashboardServiceTest { stubOperations(); // WHEN - JsonNode result = service.generateDashboard(deviceId, request, tbAccessToken, clientRequest, user); + JsonNode result = service.generateDashboard(deviceId, request, tbAccessToken, clientOrigin, user); // THEN assertThat(result).isSameAs(expectedResponse); @@ -77,7 +75,7 @@ class DefaultAiDeviceDashboardServiceTest { TbAiOperation operation = captureOperation(context); assertThat(operation.type()).isEqualTo(ChannelProtocol.DASHBOARD_GENERATE); assertThat(operation.payload()).isEqualTo(new DashboardOperationRequest(deviceId, request)); - assertThat(context[0].clientRequest()).isSameAs(clientRequest); + assertThat(context[0].clientOrigin()).isEqualTo(clientOrigin); assertThat(context[0].tbAccessToken()).isEqualTo(tbAccessToken); assertThat(context[0].tokenProvider()).isSameAs(tokenProvider); then(tbAiService).shouldHaveNoMoreInteractions(); diff --git a/application/src/test/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionServiceTest.java index 6f2f407b14..d67d93c204 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionServiceTest.java @@ -23,13 +23,11 @@ import org.thingsboard.ai.common.client.TbAiClient; import org.thingsboard.ai.common.data.solution.SolutionStep; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.service.ai.TbAiService; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; import org.thingsboard.server.service.security.model.SecurityUser; -import java.util.Map; import java.util.Objects; import java.util.UUID; @@ -57,7 +55,7 @@ class DefaultAiSolutionServiceTest { @Mock SecurityUser user; - TbAiClientRequest clientRequest = new TbAiClientRequest("https://tb.example.com", Map.of()); + String clientOrigin = "https://tb.example.com"; DefaultAiSolutionService service; @@ -211,7 +209,7 @@ class DefaultAiSolutionServiceTest { stubOperations(); // WHEN - JsonNode result = service.installSolution(solutionId, tbAccessToken, clientRequest, user); + JsonNode result = service.installSolution(solutionId, tbAccessToken, clientOrigin, user); // THEN assertThat(result).isSameAs(expectedResponse); @@ -221,7 +219,7 @@ class DefaultAiSolutionServiceTest { TbAiOperation operation = captureOperation(context); assertThat(operation.type()).isEqualTo(ChannelProtocol.SOLUTION_INSTALL); assertThat(operation.payload()).isEqualTo(new SolutionOperationRequest(solutionId)); - assertThat(context[0].clientRequest()).isSameAs(clientRequest); + assertThat(context[0].clientOrigin()).isEqualTo(clientOrigin); assertThat(context[0].tbAccessToken()).isEqualTo(tbAccessToken); assertThat(context[0].tokenProvider()).isSameAs(tokenProvider); then(tbAiService).shouldHaveNoMoreInteractions(); @@ -237,7 +235,7 @@ class DefaultAiSolutionServiceTest { stubOperations(); // WHEN - JsonNode result = service.uninstallSolution(solutionId, tbAccessToken, clientRequest, user); + JsonNode result = service.uninstallSolution(solutionId, tbAccessToken, clientOrigin, user); // THEN assertThat(result).isSameAs(expectedResponse); @@ -247,7 +245,7 @@ class DefaultAiSolutionServiceTest { TbAiOperation operation = captureOperation(context); assertThat(operation.type()).isEqualTo(ChannelProtocol.SOLUTION_UNINSTALL); assertThat(operation.payload()).isEqualTo(new SolutionOperationRequest(solutionId)); - assertThat(context[0].clientRequest()).isSameAs(clientRequest); + assertThat(context[0].clientOrigin()).isEqualTo(clientOrigin); assertThat(context[0].tbAccessToken()).isEqualTo(tbAccessToken); assertThat(context[0].tokenProvider()).isSameAs(tokenProvider); then(tbAiService).shouldHaveNoMoreInteractions(); diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java index d8f44f1f4b..afeeca5223 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java @@ -14,6 +14,7 @@ import org.thingsboard.ai.common.channel.TbHttpRequest; import org.thingsboard.ai.common.channel.TbHttpResponse; import org.thingsboard.ai.common.client.TbAiClient.TbAiResponse; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.service.security.model.SecurityUser; import java.time.Duration; import java.util.List; @@ -33,11 +34,10 @@ import static org.mockito.Mockito.mock; class ChannelTbAiOperationsTest { - static final List MUX = TbAiChannelPoolTest.MUX; UUID solutionId = UUID.randomUUID(); TbAiRequestExecutor requestExecutor = mock(TbAiRequestExecutor.class); - TbAiTurnContext context = TbAiChannelPoolTest.context(TbAiChannelPoolTest.user(), "https://tb.example.com", true); + TbAiTurnContext context = TbAiChannelPoolTest.context(TbAiChannelPoolTest.user(), "https://tb.example.com"); TbAiOperation install = new TbAiOperation(ChannelProtocol.SOLUTION_INSTALL, new SolutionOperationRequest(solutionId)); FakeTbAiServer server; TbAiChannelPool pool; @@ -56,7 +56,7 @@ class ChannelTbAiOperationsTest { @Test void shouldRunOperationAndServeThingsBoardRequests() { // GIVEN - server = FakeTbAiServer.start(MUX, (connection, frame) -> { + server = FakeTbAiServer.start((connection, frame) -> { switch (frame.type()) { case ChannelProtocol.SOLUTION_INSTALL -> connection.request(frame, ChannelProtocol.TB_REQUEST, "r1", new TbHttpRequest("POST", "/api/dashboard", null, Map.of(), "{}", "utf8", 5000L)); @@ -90,7 +90,7 @@ class ChannelTbAiOperationsTest { void shouldRunConcurrentOperationsOnOneChannel() throws Exception { // GIVEN CountDownLatch bothStarted = new CountDownLatch(2); - server = FakeTbAiServer.start(MUX, (connection, frame) -> { + server = FakeTbAiServer.start((connection, frame) -> { bothStarted.countDown(); CompletableFuture.runAsync(() -> { await(bothStarted); @@ -114,12 +114,12 @@ class ChannelTbAiOperationsTest { void shouldServeManyUsersConcurrently_withOneChannelPerUser() throws Exception { // GIVEN maxConnections = 100; - server = FakeTbAiServer.start(MUX, (connection, frame) -> CompletableFuture.runAsync(() -> + server = FakeTbAiServer.start((connection, frame) -> CompletableFuture.runAsync(() -> connection.result(frame, new OperationResult(200, JacksonUtil.toJsonNode("[]"), 0)))); ChannelTbAiOperations operations = operations(); TbAiOperation list = new TbAiOperation(ChannelProtocol.CHAT_LIST, null); List users = java.util.stream.IntStream.range(0, 50) - .mapToObj(i -> TbAiChannelPoolTest.context(TbAiChannelPoolTest.user(), "https://tb.example.com", false)) + .mapToObj(i -> TbAiChannelPoolTest.context(TbAiChannelPoolTest.user(), "https://tb.example.com")) .toList(); var executor = java.util.concurrent.Executors.newVirtualThreadPerTaskExecutor(); @@ -140,7 +140,7 @@ class ChannelTbAiOperationsTest { void shouldServeEveryCall_whenUsersOutnumberThePool() throws Exception { // GIVEN maxConnections = 5; - server = FakeTbAiServer.start(MUX, (connection, frame) -> CompletableFuture.runAsync(() -> + server = FakeTbAiServer.start((connection, frame) -> CompletableFuture.runAsync(() -> connection.result(frame, new OperationResult(200, JacksonUtil.toJsonNode("[]"), 0)))); ChannelTbAiOperations operations = operations(); TbAiOperation list = new TbAiOperation(ChannelProtocol.CHAT_LIST, null); @@ -149,7 +149,7 @@ class ChannelTbAiOperationsTest { // WHEN List> calls = java.util.stream.IntStream.range(0, 100) .mapToObj(i -> CompletableFuture.supplyAsync(() -> operations.execute(list, - TbAiChannelPoolTest.context(TbAiChannelPoolTest.user(), "https://tb.example.com", false)), executor)) + TbAiChannelPoolTest.context(TbAiChannelPoolTest.user(), "https://tb.example.com")), executor)) .toList(); CompletableFuture.allOf(calls.toArray(CompletableFuture[]::new)).get(30, TimeUnit.SECONDS); @@ -163,7 +163,7 @@ class ChannelTbAiOperationsTest { void shouldRetryOnNewChannel_whenServerHasTooManyOperations() { // GIVEN AtomicBoolean refused = new AtomicBoolean(); - server = FakeTbAiServer.start(MUX, (connection, frame) -> { + server = FakeTbAiServer.start((connection, frame) -> { if (refused.compareAndSet(false, true)) { connection.refuse(frame, ChannelError.TOO_MANY_OPERATIONS); } else { @@ -182,7 +182,7 @@ class ChannelTbAiOperationsTest { @Test void shouldFailWithoutRetry_whenChannelDropsAfterOperationWasSent() { // GIVEN - server = FakeTbAiServer.start(MUX, (connection, frame) -> connection.close(1011, "Crashed")); + server = FakeTbAiServer.start((connection, frame) -> connection.close(1011, "Crashed")); // WHEN TbAiResponse response = operations().execute(install, context); @@ -197,7 +197,7 @@ class ChannelTbAiOperationsTest { void shouldRetryOnNewChannel_whenChannelGoesAwayBeforeAnyFrame() { // GIVEN AtomicBoolean wentAway = new AtomicBoolean(); - server = FakeTbAiServer.start(MUX, (connection, frame) -> { + server = FakeTbAiServer.start((connection, frame) -> { if (wentAway.compareAndSet(false, true)) { connection.close(ChannelProtocol.CLOSE_GOING_AWAY, "Server is shutting down"); } else { @@ -216,7 +216,7 @@ class ChannelTbAiOperationsTest { @Test void shouldReturnErrorMessageFromBody_whenOperationFails() { // GIVEN - server = FakeTbAiServer.start(MUX, (connection, frame) -> connection.result(frame, + server = FakeTbAiServer.start((connection, frame) -> connection.result(frame, new OperationResult(404, JacksonUtil.newObjectNode().put("message", "Solution not found"), 0))); // WHEN @@ -228,26 +228,38 @@ class ChannelTbAiOperationsTest { } @Test - void shouldSignalChannelUnavailable_whenServerHelloLacksMux() { + void shouldFailWithoutRetry_whenServerAbortsRunningOperations() { // GIVEN - server = FakeTbAiServer.start(List.of(ChannelProtocol.CAPABILITY_REST, ChannelProtocol.CAPABILITY_OPERATIONS), - (connection, frame) -> connection.result(frame, new OperationResult(200, null, 0))); + server = FakeTbAiServer.start((connection, frame) -> + connection.close(ChannelProtocol.CLOSE_EXCHANGES_ABORTED, "Server is shutting down")); - // WHEN-THEN - assertThatThrownBy(() -> operations().execute(install, context)).isInstanceOf(TbAiChannelUnavailableException.class); - assertThat(server.received(ChannelProtocol.SOLUTION_INSTALL)).isEmpty(); + // WHEN + TbAiResponse response = operations().execute(install, context); + + // THEN + assertThat(response.isSuccess()).isFalse(); + assertThat(response.getError()).isEqualTo("Service unavailable"); + assertThat(server.received(ChannelProtocol.SOLUTION_INSTALL)).hasSize(1); + assertThat(server.connections.get()).isEqualTo(1); } @Test - void shouldSignalUnsupported_whenServerLacksCapability() { + void shouldSendCallOrigin_whenChannelWasOpenedWithAnother() { // GIVEN - server = FakeTbAiServer.start(List.of(ChannelProtocol.CAPABILITY_REST, ChannelProtocol.CAPABILITY_OPERATIONS, - ChannelProtocol.CAPABILITY_MUX), (connection, frame) -> {}); + server = FakeTbAiServer.start((connection, frame) -> connection.result(frame, new OperationResult(200, null, 0))); + TbAiChannelPool sharedPool = new TbAiChannelPool(server.client(), 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); + SecurityUser user = TbAiChannelPoolTest.user(); + var channelOperations = new ChannelTbAiOperations(sharedPool, requestExecutor); - // WHEN-THEN - assertThatThrownBy(() -> operations().execute(new TbAiOperation(ChannelProtocol.CHAT_LIST, null), context)) - .isInstanceOf(TbAiOperationsUnsupportedException.class); - assertThat(server.received(ChannelProtocol.CHAT_LIST)).isEmpty(); + // WHEN + channelOperations.execute(new TbAiOperation(ChannelProtocol.CHAT_LIST, null), TbAiChannelPoolTest.context(user, "https://tb.example.com")); + channelOperations.execute(new TbAiOperation(ChannelProtocol.CHAT_LIST, null), TbAiChannelPoolTest.context(user, "https://other.example.com")); + + // THEN + assertThat(server.connections.get()).isEqualTo(1); + assertThat(server.received(ChannelProtocol.CHAT_LIST)).extracting(ChannelFrame::origin) + .containsExactly("https://tb.example.com", "https://other.example.com"); + sharedPool.shutdown(); } @Test diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java index 5442f18d09..8a2c16db71 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java @@ -39,10 +39,9 @@ import static org.mockito.Mockito.mock; class ChannelTbAiTransportTest { static final UUID EXECUTION_ID = UUID.fromString("33333333-3333-3333-3333-333333333333"); - static final List MUX = TbAiChannelPoolTest.MUX; TbAiRequestExecutor requestExecutor = mock(TbAiRequestExecutor.class); - TbAiTurnContext context = TbAiChannelPoolTest.context(TbAiChannelPoolTest.user(), "https://tb.example.com", true); + TbAiTurnContext context = TbAiChannelPoolTest.context(TbAiChannelPoolTest.user(), "https://tb.example.com"); JsonNode request = JacksonUtil.newObjectNode().put("message", "Create a device"); FakeTbAiServer server; TbAiChannelPool pool; @@ -60,7 +59,7 @@ class ChannelTbAiTransportTest { @Test void shouldRelayEventsServeRequestsAndKeepChannel() { // GIVEN - server = FakeTbAiServer.start(MUX, this::assistantWithToolCall); + server = FakeTbAiServer.start(this::assistantWithToolCall); stubExecutor(); // WHEN @@ -86,7 +85,7 @@ class ChannelTbAiTransportTest { void shouldRetryOnNewChannel_whenServerIsDraining() { // GIVEN AtomicBoolean drained = new AtomicBoolean(); - server = FakeTbAiServer.start(MUX, (connection, frame) -> { + server = FakeTbAiServer.start((connection, frame) -> { if (ChannelProtocol.CHAT_SEND.equals(frame.type())) { if (drained.compareAndSet(false, true)) { connection.refuse(frame, ChannelError.DRAINING); @@ -109,7 +108,7 @@ class ChannelTbAiTransportTest { @Test void shouldCancelOnlyItsTurn_whenBrowserLeaves() { // GIVEN - server = FakeTbAiServer.start(MUX, (connection, frame) -> { + server = FakeTbAiServer.start((connection, frame) -> { if (ChannelProtocol.CHAT_SEND.equals(frame.type())) { connection.sendFor(frame, ChannelProtocol.CHAT_EVENT, new ChatEventPayload("heartbeat", null)); } @@ -158,7 +157,7 @@ class ChannelTbAiTransportTest { pool = pool(); } TbAiTurnContext turnContext = new TbAiTurnContext(context.tenantId(), context.userId(), context.user(), "Bearer user-jwt", - "de-DE", context.tokenProvider(), new TbAiClientRequest("https://tb.example.com", Map.of())); + "de-DE", context.tokenProvider(), "https://tb.example.com"); return new ChannelTbAiTransport(pool, requestExecutor) .sendChatMessage(UUID.randomUUID(), request, turnContext) .collectList() diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java index 6e6c16dc85..3a7224e30d 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java @@ -21,7 +21,7 @@ import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.atomic.AtomicInteger; /** - * A scripted TB AI channel endpoint. It answers {@code hello} with the given capabilities and hands every other frame + * A scripted TB AI channel endpoint. It answers {@code hello} with the protocol version and frame limit and hands every other frame * to the script, which replies through {@link Connection}: tagged with the op of the operation it belongs to, as TB AI * does. */ @@ -38,7 +38,7 @@ class FakeTbAiServer implements AutoCloseable { final AtomicInteger openConnections = new AtomicInteger(); private final DisposableServer server; - private FakeTbAiServer(List capabilities, Script script) { + private FakeTbAiServer(Script script) { server = HttpServer.create().host("127.0.0.1").port(0) .route(routes -> routes.ws(ChannelProtocol.WS_PATH, (inbound, outbound) -> { connections.incrementAndGet(); @@ -49,7 +49,7 @@ class FakeTbAiServer implements AutoCloseable { received.add(frame); if (ChannelProtocol.HELLO.equals(frame.type())) { connection.send(ChannelFrame.of(ChannelProtocol.HELLO, codec.toPayload( - new ChannelHello(1, capabilities, null, (long) TbAiChannelClient.DEFAULT_MAX_FRAME_BYTES)))); + new ChannelHello(1, null, null, (long) TbAiChannelClient.DEFAULT_MAX_FRAME_BYTES)))); } else { script.onFrame(connection, frame); } @@ -62,8 +62,8 @@ class FakeTbAiServer implements AutoCloseable { .bindNow(); } - static FakeTbAiServer start(List capabilities, Script script) { - return new FakeTbAiServer(capabilities, script); + static FakeTbAiServer start(Script script) { + return new FakeTbAiServer(script); } static FakeTbAiServer rejecting(int status) { diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java index e20d06f3ac..22f964499d 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java @@ -25,11 +25,8 @@ import static org.mockito.Mockito.mock; class TbAiChannelPoolTest { - static final List MUX = List.of(ChannelProtocol.CAPABILITY_REST, ChannelProtocol.CAPABILITY_OPERATIONS, - ChannelProtocol.CAPABILITY_API, ChannelProtocol.CAPABILITY_MUX); - AtomicLong now = new AtomicLong(1_000_000_000L); - FakeTbAiServer server = FakeTbAiServer.start(MUX, (connection, frame) -> {}); + FakeTbAiServer server = FakeTbAiServer.start((connection, frame) -> {}); TbAiChannelPool pool; @AfterEach @@ -44,7 +41,7 @@ class TbAiChannelPoolTest { void shouldShareOneHandshake_whenUserMakesConcurrentFirstCalls() { // GIVEN pool = pool(10); - TbAiTurnContext context = context(user(), "https://tb.example.com", true); + TbAiTurnContext context = context(user(), "https://tb.example.com"); // WHEN CompletableFuture first = pool.acquire(context, false); @@ -60,7 +57,7 @@ class TbAiChannelPoolTest { void shouldReuseChannel_whenSameUserCallsAgain() { // GIVEN pool = pool(10); - TbAiTurnContext context = context(user(), "https://tb.example.com", true); + TbAiTurnContext context = context(user(), "https://tb.example.com"); TbAiPooledConnection connection = join(pool.acquire(context, false)); connection.unreserve(now.get()); @@ -73,29 +70,40 @@ class TbAiChannelPoolTest { } @Test - void shouldOpenSeparateChannels_whenUsersOrExactOriginsDiffer() { + void shouldShareChannel_whenUserComesThroughDifferentOrigins() { // GIVEN pool = pool(10); SecurityUser user = user(); - TbAiPooledConnection mainOrigin = join(pool.acquire(context(user, "https://tb.example.com", true), false)); + TbAiPooledConnection mainOrigin = join(pool.acquire(context(user, "https://tb.example.com"), false)); // WHEN - TbAiPooledConnection otherOrigin = join(pool.acquire(context(user, "https://other.example.com", true), false)); - TbAiPooledConnection anyOrigin = join(pool.acquire(context(user, "https://default.example.com", false), false)); - TbAiPooledConnection otherUser = join(pool.acquire(context(user(), "https://tb.example.com", true), false)); + TbAiPooledConnection otherOrigin = join(pool.acquire(context(user, "https://other.example.com"), false)); + TbAiPooledConnection otherUser = join(pool.acquire(context(user(), "https://tb.example.com"), false)); // THEN - assertThat(otherOrigin).isNotSameAs(mainOrigin); - assertThat(anyOrigin).isIn(mainOrigin, otherOrigin); - assertThat(otherUser).isNotSameAs(mainOrigin).isNotSameAs(otherOrigin); - assertThat(server.connections.get()).isEqualTo(3); + assertThat(otherOrigin).isSameAs(mainOrigin); + assertThat(otherUser).isNotSameAs(mainOrigin); + assertThat(server.connections.get()).isEqualTo(2); + } + + @Test + void shouldOpenNoChannel_whenPoolIsShutDown() { + // GIVEN + pool = pool(10); + pool.shutdown(); + + // WHEN-THEN + assertThatThrownBy(() -> join(pool.acquire(context(user(), "https://tb.example.com"), false))) + .hasCauseInstanceOf(TbAiChannelUnavailableException.class) + .hasMessageEndingWith("Server is shutting down"); + assertThat(server.connections.get()).isZero(); } @Test void shouldCloseChannel_whenIdleLongerThanTimeout() { // GIVEN pool = pool(10); - TbAiPooledConnection connection = join(pool.acquire(context(user(), "https://tb.example.com", true), false)); + TbAiPooledConnection connection = join(pool.acquire(context(user(), "https://tb.example.com"), false)); connection.unreserve(now.get()); // WHEN @@ -115,7 +123,7 @@ class TbAiChannelPoolTest { void shouldRetireBusyChannel_whenOlderThanMaxAge() { // GIVEN pool = pool(10); - TbAiTurnContext context = context(user(), "https://tb.example.com", true); + TbAiTurnContext context = context(user(), "https://tb.example.com"); TbAiPooledConnection busy = join(pool.acquire(context, false)); // WHEN @@ -133,11 +141,11 @@ class TbAiChannelPoolTest { void shouldEvictIdleChannel_whenPoolIsFull() { // GIVEN pool = pool(1); - TbAiPooledConnection idle = join(pool.acquire(context(user(), "https://tb.example.com", true), false)); + TbAiPooledConnection idle = join(pool.acquire(context(user(), "https://tb.example.com"), false)); idle.unreserve(now.get()); // WHEN - TbAiPooledConnection next = join(pool.acquire(context(user(), "https://tb.example.com", true), false)); + TbAiPooledConnection next = join(pool.acquire(context(user(), "https://tb.example.com"), false)); // THEN assertThat(next.isPooled()).isTrue(); @@ -148,10 +156,10 @@ class TbAiChannelPoolTest { void shouldUseTransientChannel_whenPoolIsFullOfBusyChannels() { // GIVEN pool = pool(1); - join(pool.acquire(context(user(), "https://tb.example.com", true), false)); + join(pool.acquire(context(user(), "https://tb.example.com"), false)); // WHEN - TbAiPooledConnection overflow = join(pool.acquire(context(user(), "https://tb.example.com", true), false)); + TbAiPooledConnection overflow = join(pool.acquire(context(user(), "https://tb.example.com"), false)); overflow.unreserve(now.get()); // THEN @@ -165,7 +173,7 @@ class TbAiChannelPoolTest { // GIVEN pool = pool(10); TbAiTurnContext context = TbAiTurnContext.background(TenantId.fromUUID(UUID.randomUUID()), new UserId(UUID.randomUUID()), - () -> "token", TbAiClientRequest.withDefaultOrigin("https://tb.example.com")); + () -> "token", "https://tb.example.com"); // WHEN TbAiPooledConnection connection = join(pool.acquire(context, false)); @@ -177,21 +185,6 @@ class TbAiChannelPoolTest { await().atMost(5, TimeUnit.SECONDS).until(() -> server.openConnections.get() == 0); } - @Test - void shouldFailAsUnavailable_whenServerHelloLacksMux() { - // GIVEN - server.close(); - server = FakeTbAiServer.start(List.of(ChannelProtocol.CAPABILITY_REST, ChannelProtocol.CAPABILITY_OPERATIONS), (connection, frame) -> {}); - pool = pool(10); - - // WHEN-THEN - assertThatThrownBy(() -> join(pool.acquire(context(user(), "https://tb.example.com", true), false))) - .hasCauseInstanceOf(TbAiChannelUnavailableException.class) - .hasMessageEndingWith("AI channel does not support mux.v1"); - await().atMost(5, TimeUnit.SECONDS).until(() -> pool.pooledConnections() == 0); - await().atMost(5, TimeUnit.SECONDS).until(() -> server.openConnections.get() == 0); - } - @Test void shouldFailWithRejection_whenTokenIsRefused() { // GIVEN @@ -200,7 +193,7 @@ class TbAiChannelPoolTest { pool = pool(10); // WHEN-THEN - assertThatThrownBy(() -> join(pool.acquire(context(user(), "https://tb.example.com", true), false))) + assertThatThrownBy(() -> join(pool.acquire(context(user(), "https://tb.example.com"), false))) .hasCauseInstanceOf(TbAiChannelRejectedException.class); await().atMost(5, TimeUnit.SECONDS).until(() -> pool.pooledConnections() == 0); } @@ -213,7 +206,7 @@ class TbAiChannelPoolTest { pool = pool(10); // WHEN-THEN - assertThatThrownBy(() -> join(pool.acquire(context(user(), "https://tb.example.com", true), false))) + assertThatThrownBy(() -> join(pool.acquire(context(user(), "https://tb.example.com"), false))) .hasCauseInstanceOf(TbAiChannelUnavailableException.class); await().atMost(5, TimeUnit.SECONDS).until(() -> pool.pooledConnections() == 0); } @@ -233,8 +226,8 @@ class TbAiChannelPoolTest { return user; } - static TbAiTurnContext context(SecurityUser user, String origin, boolean exactOrigin) { - return new TbAiTurnContext(user, null, null, () -> "token", new TbAiClientRequest(origin, Map.of(), exactOrigin)); + static TbAiTurnContext context(SecurityUser user, String origin) { + return new TbAiTurnContext(user, null, null, () -> "token", origin); } } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiOperationsTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiOperationsTest.java index 54dfc0832c..eb751dba12 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiOperationsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiOperationsTest.java @@ -6,9 +6,13 @@ import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.ai.common.client.TbAiClient.TbAiResponse; +import org.thingsboard.server.common.data.id.CustomerId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.security.system.SystemSecurityService; -import java.util.Map; +import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; @@ -20,12 +24,12 @@ import static org.mockito.Mockito.verify; class TbAiOperationsTest { TbAiTurnContext context = new TbAiTurnContext(mock(SecurityUser.class), "Bearer jwt", null, () -> "token", - new TbAiClientRequest("https://tb.example.com", Map.of())); + "https://tb.example.com"); TbAiResponse channelResponse = TbAiResponse.builder().success(true).build(); TbAiOperation operation = new TbAiOperation(ChannelProtocol.SOLUTION_INSTALL, null); ChannelTbAiOperations channel = mock(ChannelTbAiOperations.class); - TbAiClientRequestFactory clientRequestFactory = mock(TbAiClientRequestFactory.class); - TbAiOperations operations = new TbAiOperations(channel, clientRequestFactory); + SystemSecurityService systemSecurityService = mock(SystemSecurityService.class); + TbAiOperations operations = new TbAiOperations(channel, systemSecurityService); @Test void shouldReturnChannelResponse_whenChannelAnswers() { @@ -49,19 +53,6 @@ class TbAiOperationsTest { assertThat(response.getError()).isEqualTo("Service unavailable"); } - @Test - void shouldReturnUnsupported_whenAiServiceLacksTheOperation() { - // GIVEN - given(channel.execute(operation, context)).willThrow(new TbAiOperationsUnsupportedException("old TB AI")); - - // WHEN - TbAiResponse response = operations.execute(operation, context); - - // THEN - assertThat(response.isSuccess()).isFalse(); - assertThat(response.getError()).isEqualTo("The AI service does not support this ThingsBoard version"); - } - @Test void shouldReturnRejection_whenChannelHandshakeIsRefused() { // GIVEN @@ -76,11 +67,15 @@ class TbAiOperationsTest { } @Test - void shouldBuildDefaultOriginContext_whenCalledForUser() { + void shouldUseSettingsBaseUrlAsOrigin_whenCalledForUser() { // GIVEN SecurityUser user = mock(SecurityUser.class); - TbAiClientRequest defaultRequest = TbAiClientRequest.withDefaultOrigin("https://tb.example.com"); - given(clientRequestFactory.forUser(user)).willReturn(defaultRequest); + TenantId tenantId = TenantId.fromUUID(UUID.randomUUID()); + CustomerId customerId = new CustomerId(UUID.randomUUID()); + given(user.getAuthority()).willReturn(Authority.TENANT_ADMIN); + given(user.getTenantId()).willReturn(tenantId); + given(user.getCustomerId()).willReturn(customerId); + given(systemSecurityService.getBaseUrl(Authority.TENANT_ADMIN, tenantId, customerId, null)).willReturn("https://tb.example.com"); given(channel.execute(any(), any())).willReturn(channelResponse); // WHEN @@ -89,8 +84,7 @@ class TbAiOperationsTest { // THEN ArgumentCaptor captured = ArgumentCaptor.forClass(TbAiTurnContext.class); verify(channel).execute(same(operation), captured.capture()); - assertThat(captured.getValue().clientRequest()).isSameAs(defaultRequest); - assertThat(captured.getValue().clientRequest().exactOrigin()).isFalse(); + assertThat(captured.getValue().clientOrigin()).isEqualTo("https://tb.example.com"); assertThat(captured.getValue().tbAccessToken()).isNull(); } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java new file mode 100644 index 0000000000..a2ec05d485 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java @@ -0,0 +1,102 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.ai.transport; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.junit.jupiter.api.Test; +import org.thingsboard.ai.common.channel.ChannelFrame; +import org.thingsboard.ai.common.channel.ChannelFrameCodec; +import org.thingsboard.ai.common.channel.ChannelHello; +import org.thingsboard.ai.common.channel.ChannelProtocol; +import org.thingsboard.ai.common.channel.ChannelSession; +import org.thingsboard.ai.common.channel.TbAiChannelClient; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.UserId; + +import java.time.Duration; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.TimeoutException; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyInt; +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.BDDMockito.given; +import static org.mockito.BDDMockito.then; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; + +class TbAiPooledConnectionTest { + + ChannelFrameCodec codec = new ChannelFrameCodec(new ObjectMapper()); + TbAiChannelPool pool = new TbAiChannelPool(mock(TbAiChannelClient.class), 10, 20, Duration.ofSeconds(60), + Duration.ofMinutes(10), System::nanoTime, false); + TbAiChannelPool.PoolKey key = new TbAiChannelPool.PoolKey(TenantId.fromUUID(UUID.randomUUID()), new UserId(UUID.randomUUID())); + + @Test + void shouldCloseSessionWithoutHello_whenSessionArrivesAfterHandshakeTimedOut() { + // GIVEN + TbAiPooledConnection connection = connection(); + ChannelSession session = openSession(); + connection.failed(new TimeoutException()); + + // WHEN + connection.opened(session); + + // THEN + then(session).should(never()).send(any()); + then(session).should().close(ChannelProtocol.CLOSE_NORMAL, "Handshake failed"); + assertThat(connection.isRemoved()).isTrue(); + assertThat(pool.pooledConnections()).isZero(); + } + + @Test + void shouldCloseOpenedSession_whenHandshakeTimesOutBeforeHelloReply() { + // GIVEN + TbAiPooledConnection connection = connection(); + ChannelSession session = openSession(); + connection.opened(session); + + // WHEN + connection.failed(new TimeoutException()); + connection.onFrame(session, ChannelFrame.of(ChannelProtocol.HELLO, + codec.toPayload(new ChannelHello(ChannelProtocol.VERSION, null, null, null)))); + + // THEN + then(session).should().close(ChannelProtocol.CLOSE_NORMAL, "Handshake failed"); + assertThat(connection.ready()).isCompletedExceptionally(); + assertThat(connection.isRemoved()).isTrue(); + assertThat(pool.pooledConnections()).isZero(); + } + + @Test + void shouldSendHelloWithoutCapabilities_whenSessionOpens() { + // GIVEN + TbAiPooledConnection connection = connection(); + ChannelSession session = openSession(); + + // WHEN + connection.opened(session); + connection.onFrame(session, ChannelFrame.of(ChannelProtocol.HELLO, + codec.toPayload(new ChannelHello(ChannelProtocol.VERSION, null, null, 1024L)))); + + // THEN + then(session).should().send(ChannelFrame.of(ChannelProtocol.HELLO, + codec.toPayload(new ChannelHello(ChannelProtocol.VERSION, List.of(), "https://tb.example.com", null)))); + then(session).should(never()).close(anyInt(), anyString()); + assertThat(connection.ready()).isCompletedWithValue(connection); + assertThat(connection.maxFrameBytes()).isEqualTo(1024); + } + + TbAiPooledConnection connection() { + return new TbAiPooledConnection(key, "https://tb.example.com", false, 20, codec, pool, System.nanoTime()); + } + + static ChannelSession openSession() { + ChannelSession session = mock(ChannelSession.class); + given(session.isOpen()).willReturn(true); + return session; + } + +} diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiRequestExecutorTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiRequestExecutorTest.java index c443ea8b4a..88df851157 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiRequestExecutorTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiRequestExecutorTest.java @@ -27,6 +27,7 @@ import java.util.UUID; import java.util.concurrent.atomic.AtomicReference; import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.BDDMockito.given; import static org.mockito.Mockito.mock; class TbAiRequestExecutorTest { @@ -37,8 +38,8 @@ class TbAiRequestExecutorTest { AtomicReference receivedBody = new AtomicReference<>(); DisposableServer tbServer; TbAiRequestExecutor executor; - TbAiTurnContext context = new TbAiTurnContext(mock(SecurityUser.class), "Bearer user-jwt", "en-US", () -> "ai-token", - new TbAiClientRequest("https://tb.example.com", Map.of("Host", "tb.example.com", "X-Forwarded-Proto", "https"))); + TbAiTurnContext context = new TbAiTurnContext(user("203.0.113.7"), "Bearer user-jwt", "en-US", () -> "ai-token", + "https://tb.example.com"); @BeforeEach void setUp() { @@ -83,8 +84,10 @@ class TbAiRequestExecutorTest { assertThat(receivedUri.get()).isEqualTo("/api/tenant/devices?pageSize=10&page=0"); HttpHeaders headers = receivedHeaders.get(); assertThat(headers.get("X-Authorization")).isEqualTo("Bearer user-jwt"); - assertThat(headers.get("Host")).isEqualTo("tb.example.com"); + assertThat(headers.get("X-Forwarded-Host")).isEqualTo("tb.example.com"); assertThat(headers.get("X-Forwarded-Proto")).isEqualTo("https"); + assertThat(headers.get("X-Forwarded-Port")).isEqualTo("443"); + assertThat(headers.get("X-Forwarded-For")).isEqualTo("203.0.113.7"); assertThat(headers.get("Accept")).isEqualTo("application/json"); assertThat(headers.contains("Authorization")).isFalse(); } @@ -154,6 +157,48 @@ class TbAiRequestExecutorTest { assertThat(receivedUri.get()).isNull(); } + @ParameterizedTest + @CsvSource(delimiter = '|', nullValues = "null", textBlock = """ + https://tb.example.com | 203.0.113.7 | https | tb.example.com | 443 | 203.0.113.7 + http://tb.example.com | null | http | tb.example.com | 80 | null + http://10.0.0.5:8080/ | 10.0.0.9 | http | 10.0.0.5 | 8080 | 10.0.0.9 + https://[2001:db8::1]:8443 | null | https | [2001:db8::1] | 8443 | null + """) + void shouldBuildForwardedHeadersFromClientOrigin(String clientOrigin, String clientAddress, String proto, String host, + String port, String forwardedFor) { + // GIVEN + var turn = new TbAiTurnContext(user(clientAddress), "Bearer user-jwt", null, () -> "ai-token", clientOrigin); + + // WHEN + Map headers = TbAiRequestExecutor.forwardedHeaders(turn); + + // THEN + assertThat(headers).containsEntry("X-Forwarded-Proto", proto) + .containsEntry("X-Forwarded-Host", host) + .containsEntry("X-Forwarded-Port", port); + if (forwardedFor != null) { + assertThat(headers).containsEntry("X-Forwarded-For", forwardedFor); + } else { + assertThat(headers).doesNotContainKey("X-Forwarded-For"); + } + } + + @ParameterizedTest + @CsvSource(nullValues = "null", value = {"null", "not a url", "ftp://tb.example.com", "/relative"}) + void shouldForwardNoOrigin_whenClientOriginIsNotAnHttpUrl(String clientOrigin) { + // GIVEN + var turn = new TbAiTurnContext(user(null), "Bearer user-jwt", null, () -> "ai-token", clientOrigin); + + // WHEN-THEN + assertThat(TbAiRequestExecutor.forwardedHeaders(turn)).isEmpty(); + } + + static SecurityUser user(String clientAddress) { + SecurityUser user = mock(SecurityUser.class); + given(user.getClientAddress()).willReturn(clientAddress); + return user; + } + ChannelFrame execute(TbHttpRequest request, int maxBodyBytes) { var frame = new ChannelFrame(ChannelProtocol.TB_REQUEST, UUID.randomUUID().toString(), null, codec.toPayload(request)); ChannelFrame reply = executor.execute(frame, codec, context, maxBodyBytes).block(Duration.ofSeconds(10)); diff --git a/application/src/test/java/org/thingsboard/server/service/housekeeper/processor/AiDataDeletionTaskProcessorsTest.java b/application/src/test/java/org/thingsboard/server/service/housekeeper/processor/AiDataDeletionTaskProcessorsTest.java index 7aaa631baf..15ff8910a8 100644 --- a/application/src/test/java/org/thingsboard/server/service/housekeeper/processor/AiDataDeletionTaskProcessorsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/housekeeper/processor/AiDataDeletionTaskProcessorsTest.java @@ -15,11 +15,10 @@ import org.thingsboard.server.common.data.housekeeper.HousekeeperTaskType; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.service.ai.TbAiTokenProvider; -import org.thingsboard.server.service.ai.transport.TbAiClientRequest; -import org.thingsboard.server.service.ai.transport.TbAiClientRequestFactory; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; +import org.thingsboard.server.service.security.system.SystemSecurityService; import java.util.Map; import java.util.Optional; @@ -40,7 +39,7 @@ class AiDataDeletionTaskProcessorsTest { @Mock TbAiOperations operations; @Mock - TbAiClientRequestFactory clientRequestFactory; + SystemSecurityService systemSecurityService; TenantId tenantId; UserId userId; @@ -52,9 +51,9 @@ class AiDataDeletionTaskProcessorsTest { void setUp() { tenantId = TenantId.fromUUID(UUID.randomUUID()); userId = new UserId(UUID.randomUUID()); - userDataProcessor = new AiUserDataDeletionTaskProcessor(Optional.of(tokenProvider), operations, clientRequestFactory); - tenantDataProcessor = new AiTenantDataDeletionTaskProcessor(Optional.of(tokenProvider), operations, clientRequestFactory); - lenient().when(clientRequestFactory.forTenant(any())).thenReturn(TbAiClientRequest.withDefaultOrigin("https://tb.example.com")); + userDataProcessor = new AiUserDataDeletionTaskProcessor(Optional.of(tokenProvider), operations, systemSecurityService); + tenantDataProcessor = new AiTenantDataDeletionTaskProcessor(Optional.of(tokenProvider), operations, systemSecurityService); + lenient().when(systemSecurityService.getBaseUrl(any(TenantId.class), any(), any())).thenReturn("https://tb.example.com"); lenient().when(operations.execute(any(TbAiOperation.class), any(TbAiTurnContext.class))) .thenReturn(TbAiResponse.builder().success(true).build()); } @@ -135,8 +134,8 @@ class AiDataDeletionTaskProcessorsTest { @Test void shouldThrowWithoutCallingAiService_whenNoTokenProviderIsConfigured() { // GIVEN - userDataProcessor = new AiUserDataDeletionTaskProcessor(Optional.empty(), operations, clientRequestFactory); - tenantDataProcessor = new AiTenantDataDeletionTaskProcessor(Optional.empty(), operations, clientRequestFactory); + userDataProcessor = new AiUserDataDeletionTaskProcessor(Optional.empty(), operations, systemSecurityService); + tenantDataProcessor = new AiTenantDataDeletionTaskProcessor(Optional.empty(), operations, systemSecurityService); // WHEN Throwable userTaskThrown = catchThrowable(() -> userDataProcessor.process(HousekeeperTask.deleteAiUserData(tenantId, userId))); From 34bcfbca325c3b0fb35140210404393d2db7312c Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Wed, 14 Oct 2026 16:45:43 +0200 Subject: [PATCH 156/559] Fixed time series chart report NPE when default Y-axis has no data --- .../report/renderer/chart/TbNumberAxis.java | 4 ++ .../renderer/chart/TbNumberAxisTest.java | 51 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 common/report/src/test/java/org/thingsboard/server/report/renderer/chart/TbNumberAxisTest.java diff --git a/common/report/src/main/java/org/thingsboard/server/report/renderer/chart/TbNumberAxis.java b/common/report/src/main/java/org/thingsboard/server/report/renderer/chart/TbNumberAxis.java index 87a066e70d..d2af1589d0 100644 --- a/common/report/src/main/java/org/thingsboard/server/report/renderer/chart/TbNumberAxis.java +++ b/common/report/src/main/java/org/thingsboard/server/report/renderer/chart/TbNumberAxis.java @@ -140,6 +140,10 @@ public class TbNumberAxis extends NumberAxis { protected List refreshTicksVertical(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) { + if (this.parentAxis != null && this.parentAxis.getTicks() == null) { + // hidden parent axis is skipped by layout, so its ticks are not calculated yet + this.parentAxis.refreshTicksVertical(g2, dataArea, edge); + } List result = new ArrayList<>(); Font tickLabelFont = getTickLabelFont(); g2.setFont(tickLabelFont); diff --git a/common/report/src/test/java/org/thingsboard/server/report/renderer/chart/TbNumberAxisTest.java b/common/report/src/test/java/org/thingsboard/server/report/renderer/chart/TbNumberAxisTest.java new file mode 100644 index 0000000000..90e5357b98 --- /dev/null +++ b/common/report/src/test/java/org/thingsboard/server/report/renderer/chart/TbNumberAxisTest.java @@ -0,0 +1,51 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.report.renderer.chart; + +import org.jfree.chart.JFreeChart; +import org.jfree.chart.axis.NumberAxis; +import org.jfree.chart.plot.XYPlot; +import org.jfree.chart.renderer.xy.XYLineAndShapeRenderer; +import org.jfree.data.xy.XYSeries; +import org.jfree.data.xy.XYSeriesCollection; +import org.junit.jupiter.api.Test; + +import java.awt.Graphics2D; +import java.awt.geom.Rectangle2D; +import java.awt.image.BufferedImage; + +import static org.assertj.core.api.Assertions.assertThatCode; + +public class TbNumberAxisTest { + + @Test + void testChildAxisRendersWhenParentAxisIsHidden() { + XYPlot plot = new XYPlot(); + plot.setDomainAxis(new NumberAxis()); + + TbNumberAxis parentAxis = new TbNumberAxis(null, null); + plot.setRangeAxis(0, parentAxis); + TbNumberAxis childAxis = new TbNumberAxis(null, parentAxis); + plot.setRangeAxis(1, childAxis); + + XYSeries series = new XYSeries("temperature"); + series.add(1, 20.5); + series.add(2, 37.0); + plot.setDataset(0, new XYSeriesCollection(series)); + plot.setRenderer(0, new XYLineAndShapeRenderer()); + plot.mapDatasetToRangeAxis(0, 1); + + // parent axis has no data mapped, so it is hidden like in TbTimeSeriesChart.postConfigureYAxes + parentAxis.setVisible(false); + + JFreeChart chart = new JFreeChart(null, null, plot, false); + BufferedImage image = new BufferedImage(400, 300, BufferedImage.TYPE_INT_ARGB); + Graphics2D g2 = image.createGraphics(); + try { + assertThatCode(() -> chart.draw(g2, new Rectangle2D.Double(0, 0, 400, 300))).doesNotThrowAnyException(); + } finally { + g2.dispose(); + } + } + +} From 83ba2923334ec5ff1379a9a1e8a7866da1eba031 Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Thu, 8 Oct 2026 17:30:44 +0200 Subject: [PATCH 157/559] Fixed deleting a single alarm comment wiping all comments of the alarm --- .../housekeeper/HousekeeperServiceTest.java | 33 +++++++++++++++++++ .../dao/housekeeper/CleanUpService.java | 4 ++- .../dao/housekeeper/CleanUpServiceTest.java | 20 +++++++++++ .../CleanUpServiceTransactionalTest.java | 4 ++- 4 files changed, 59 insertions(+), 2 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/service/housekeeper/HousekeeperServiceTest.java b/application/src/test/java/org/thingsboard/server/service/housekeeper/HousekeeperServiceTest.java index 41dbf711e2..a6d5ae2463 100644 --- a/application/src/test/java/org/thingsboard/server/service/housekeeper/HousekeeperServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/housekeeper/HousekeeperServiceTest.java @@ -31,7 +31,9 @@ import org.thingsboard.server.common.data.EventInfo; import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.alarm.Alarm; import org.thingsboard.server.common.data.alarm.AlarmComment; +import org.thingsboard.server.common.data.alarm.AlarmCommentInfo; import org.thingsboard.server.common.data.alarm.AlarmCommentSubType; +import org.thingsboard.server.common.data.alarm.AlarmCommentType; import org.thingsboard.server.common.data.alarm.AlarmRef; import org.thingsboard.server.common.data.alarm.AlarmSeverity; import org.thingsboard.server.common.data.alarm.EntityAlarm; @@ -322,6 +324,37 @@ public class HousekeeperServiceTest extends AbstractControllerTest { }); } + @Test + public void whenAlarmCommentIsDeleted_thenKeepOtherAlarmComments() throws Exception { + Device device = createDevice("test", "test"); + Alarm alarm = doPost("/api/alarm", Alarm.builder() + .tenantId(tenantId) + .originator(device.getId()) + .severity(AlarmSeverity.CRITICAL) + .type("test alarm with deleted comment") + .build(), Alarm.class); + AlarmId alarmId = alarm.getId(); + List comments = new ArrayList<>(); + for (int i = 1; i <= 3; i++) { + comments.add(doPost("/api/alarm/" + alarmId + "/comment", AlarmComment.builder() + .comment(JacksonUtil.newObjectNode().set("text", new TextNode("comment " + i))) + .build(), AlarmComment.class)); + } + assertThat(alarmCommentService.findAlarmComments(tenantId, alarmId, new PageLink(100)).getData()).hasSize(3); + + doDelete("/api/alarm/" + alarmId + "/comment/" + comments.get(0).getId()).andExpect(status().isOk()); + + TimeUnit.SECONDS.sleep(2); + List remaining = alarmCommentService.findAlarmComments(tenantId, alarmId, new PageLink(100)).getData(); + assertThat(remaining).hasSize(3); + assertThat(remaining).filteredOn(comment -> comment.getId().equals(comments.get(0).getId())) + .singleElement() + .satisfies(comment -> { + assertThat(comment.getType()).isEqualTo(AlarmCommentType.SYSTEM); + assertThat(comment.getComment().get("subtype").asText()).isEqualTo(AlarmCommentSubType.COMMENT_DELETED.name()); + }); + } + @Test public void whenDeviceIsDeleted_thenDeleteAllAlarms() throws Exception { Device device = createDevice("test", "test"); diff --git a/dao/src/main/java/org/thingsboard/server/dao/housekeeper/CleanUpService.java b/dao/src/main/java/org/thingsboard/server/dao/housekeeper/CleanUpService.java index 3c2c93e0a9..44dea223bb 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/housekeeper/CleanUpService.java +++ b/dao/src/main/java/org/thingsboard/server/dao/housekeeper/CleanUpService.java @@ -11,6 +11,7 @@ import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.event.TransactionalEventListener; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.User; +import org.thingsboard.server.common.data.alarm.Alarm; import org.thingsboard.server.common.data.housekeeper.HousekeeperTask; import org.thingsboard.server.common.data.id.AlarmId; import org.thingsboard.server.common.data.id.EntityId; @@ -61,9 +62,10 @@ public class CleanUpService { if (entityType == EntityType.TENANT) { submitTask(HousekeeperTask.deleteAiTenantData(tenantId)); } - if (entityType == EntityType.ALARM && event.getCause() != ActionCause.BULK_DELETION) { + if (entityType == EntityType.ALARM && event.getEntity() instanceof Alarm && event.getCause() != ActionCause.BULK_DELETION) { // Single-alarm delete: clean up its comments per alarm. Bulk deletions (BULK_DELETION) batch the // comment cleanup into a single list task at the orchestrator instead, to avoid one task per alarm. + // The entity check matters: deleting a single alarm comment publishes the same event with the alarm id. submitTask(HousekeeperTask.deleteAlarmComments(tenantId, new AlarmId(entityId.getId()))); } } catch (Throwable e) { diff --git a/dao/src/test/java/org/thingsboard/server/dao/housekeeper/CleanUpServiceTest.java b/dao/src/test/java/org/thingsboard/server/dao/housekeeper/CleanUpServiceTest.java index 98ed202a11..ed66d2b6d2 100644 --- a/dao/src/test/java/org/thingsboard/server/dao/housekeeper/CleanUpServiceTest.java +++ b/dao/src/test/java/org/thingsboard/server/dao/housekeeper/CleanUpServiceTest.java @@ -7,8 +7,10 @@ import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; import org.thingsboard.server.common.data.User; import org.thingsboard.server.common.data.alarm.Alarm; +import org.thingsboard.server.common.data.alarm.AlarmComment; import org.thingsboard.server.common.data.housekeeper.HousekeeperTask; import org.thingsboard.server.common.data.housekeeper.HousekeeperTaskType; +import org.thingsboard.server.common.data.id.AlarmCommentId; import org.thingsboard.server.common.data.id.AlarmId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; @@ -70,6 +72,7 @@ class CleanUpServiceTest { DeleteEntityEvent event = DeleteEntityEvent.builder() .tenantId(tenantId) .entityId(alarmId) + .entity(new Alarm(alarmId)) .build(); cleanUpService.handleEntityDeletionEvent(event); @@ -90,12 +93,29 @@ class CleanUpServiceTest { verify(relationService, never()).deleteEntityRelations(tenantId, alarmId); } + @Test + void alarmCommentDeletionDoesNotEnqueueAlarmCommentsCleanupTask() { + AlarmId alarmId = new AlarmId(UUID.randomUUID()); + AlarmComment alarmComment = new AlarmComment(new AlarmCommentId(UUID.randomUUID())); + alarmComment.setAlarmId(alarmId); + DeleteEntityEvent event = DeleteEntityEvent.builder() + .tenantId(tenantId) + .entityId(alarmId) + .entity(alarmComment) + .build(); + + cleanUpService.handleEntityDeletionEvent(event); + + verify(housekeeperClient, never()).submitTask(any()); + } + @Test void bulkAlarmDeletionDoesNotEnqueuePerAlarmCommentsCleanupTask() { AlarmId alarmId = new AlarmId(UUID.randomUUID()); DeleteEntityEvent event = DeleteEntityEvent.builder() .tenantId(tenantId) .entityId(alarmId) + .entity(new Alarm(alarmId)) .cause(ActionCause.BULK_DELETION) .build(); diff --git a/dao/src/test/java/org/thingsboard/server/dao/housekeeper/CleanUpServiceTransactionalTest.java b/dao/src/test/java/org/thingsboard/server/dao/housekeeper/CleanUpServiceTransactionalTest.java index 4fd8b2e8f4..de9f2a09e9 100644 --- a/dao/src/test/java/org/thingsboard/server/dao/housekeeper/CleanUpServiceTransactionalTest.java +++ b/dao/src/test/java/org/thingsboard/server/dao/housekeeper/CleanUpServiceTransactionalTest.java @@ -79,9 +79,11 @@ public class CleanUpServiceTransactionalTest extends AbstractServiceTest { } private DeleteEntityEvent alarmDeletionEvent() { + AlarmId alarmId = new AlarmId(UUID.randomUUID()); return DeleteEntityEvent.builder() .tenantId(tenantId) - .entityId(new AlarmId(UUID.randomUUID())) + .entityId(alarmId) + .entity(new Alarm(alarmId)) .build(); } From f1af4e5ff0e657677790fb16a368b2c5da1102f7 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 10:11:28 +0300 Subject: [PATCH 158/559] Fix TbResourceApiClientTest compile --- .../org/thingsboard/server/client/TbResourceApiClientTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java b/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java index 17bcbfe048..3f9fb56c8c 100644 --- a/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java +++ b/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java @@ -21,6 +21,7 @@ import java.io.File; import java.util.ArrayList; import java.util.Base64; import java.util.List; +import java.util.Set; import java.util.UUID; import static org.junit.Assert.assertEquals; @@ -79,7 +80,7 @@ public class TbResourceApiClientTest extends AbstractApiClientTest { PageDataTbResourceInfo jsResources = client.getResources(GetResourcesArgs.builder() .pageSize(100) .page(0) - .resourceType(ResourceType.JS_MODULE.getValue()) + .resourceType(Set.of(ResourceType.JS_MODULE)) .textSearch(TEST_PREFIX + "Resource_" + timestamp) .build()); assertEquals(5, jsResources.getData().size()); From 5e9ec9ed23e2a89cc71062140e24588d100852af Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 10:23:34 +0300 Subject: [PATCH 159/559] Use logInWithMfaToken in WebSocket 2FA tests --- .../thingsboard/server/controller/TwoFactorAuthTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/TwoFactorAuthTest.java b/application/src/test/java/org/thingsboard/server/controller/TwoFactorAuthTest.java index 361c1c4fec..f2b5ba2f45 100644 --- a/application/src/test/java/org/thingsboard/server/controller/TwoFactorAuthTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/TwoFactorAuthTest.java @@ -152,7 +152,7 @@ public class TwoFactorAuthTest extends AbstractControllerTest { @Test public void testWsAuthCmd_preVerificationTokenRejected() throws Exception { configureTotpTwoFa(); - logInWithPreVerificationToken(username, password); + logInWithMfaToken(username, password, Authority.PRE_VERIFICATION_TOKEN); wsClient = buildAndConnectWebSocketClient(); @@ -162,7 +162,7 @@ public class TwoFactorAuthTest extends AbstractControllerTest { @Test public void testWsQueryToken_preVerificationTokenRejected() throws Exception { configureTotpTwoFa(); - logInWithPreVerificationToken(username, password); + logInWithMfaToken(username, password, Authority.PRE_VERIFICATION_TOKEN); wsClient = buildAndConnectWebSocketClient("/api/ws?token=" + token); @@ -172,7 +172,7 @@ public class TwoFactorAuthTest extends AbstractControllerTest { @Test public void testWs_accessTokenAcceptedAfterTwoFa() throws Exception { TotpTwoFaAccountConfig totpTwoFaAccountConfig = configureTotpTwoFa(); - logInWithPreVerificationToken(username, password); + logInWithMfaToken(username, password, Authority.PRE_VERIFICATION_TOKEN); JsonNode tokenPair = readResponse(doPost("/api/auth/2fa/verification/check?providerType=TOTP&verificationCode=" + getCorrectTotp(totpTwoFaAccountConfig)) .andExpect(status().isOk()), JsonNode.class); validateAndSetJwtToken(tokenPair, username); From 8dc338e112fa535542f716a808350993c968082e Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 10:31:12 +0300 Subject: [PATCH 160/559] Restamp TelemetryControllerTest with ce-modified header --- .../thingsboard/server/controller/TelemetryControllerTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java index 3c34a4d25b..6ebd6ba29c 100644 --- a/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/TelemetryControllerTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.controller; import com.fasterxml.jackson.databind.node.ObjectNode; From f9056247451e5dc359a3a124fb5ea5281d825165 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 10:44:01 +0300 Subject: [PATCH 161/559] Fix license headers after merging lts-4.2 WebSocket fix --- .../controller/plugin/TbWebSocketHandler.java | 3 ++- .../server/client/TbResourceApiClientTest.java | 3 ++- .../main/python/license-headers/curations.json | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/plugin/TbWebSocketHandler.java b/application/src/main/java/org/thingsboard/server/controller/plugin/TbWebSocketHandler.java index e5a93e4758..d6bdbab7eb 100644 --- a/application/src/main/java/org/thingsboard/server/controller/plugin/TbWebSocketHandler.java +++ b/application/src/main/java/org/thingsboard/server/controller/plugin/TbWebSocketHandler.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.controller.plugin; import com.github.benmanes.caffeine.cache.Cache; diff --git a/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java b/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java index 3f9fb56c8c..4434c753da 100644 --- a/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java +++ b/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.client; import org.junit.Test; diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index 75b0eb6a2c..d1b7a98133 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -439,6 +439,18 @@ "reason": "PE-specific data/configuration type IntegrationLifecycleEventTrigger.java. Reviewed fields, type discriminators and serialization hooks describe PE entities or PE behavior; matching CE types supply only the common DTO/interface pattern. Resolved as PE-authored consistently with the maintainer decision for PE entity wrappers. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/rule/trigger/RuleEngineComponentLifecycleEventTrigger.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob e4c967c19792ecf5fa6409973459efe5ce73cb8d).", "contentHash": "sha256:c5da9a11ed196635c09972733cf511bee2bd111242c0d084d115d37e2e7524c5" }, + { + "path": "common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserGroupListFilter.java", + "header": "busl", + "reason": "PE user group filter, a new class with its own groupsIds field and USER_GROUP_LIST type. The similarity comes from the shared shape of small filter DTOs, not from CE code. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserListFilter.java at 862b224dd7e4e770804ffad3411255166daa4501 (blob 07cd0280ba84ab71b6823242e18c7c7285296b84).", + "contentHash": "sha256:64563fbc6ee416025b555c14cf3c517c5027bfc112a883078cc717ed471c5b52" + }, + { + "path": "common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserRoleFilter.java", + "header": "busl", + "reason": "PE role filter, a new class with its own rolesIds field and USER_ROLE type. The similarity comes from the shared shape of small filter DTOs, not from CE code. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserListFilter.java at 862b224dd7e4e770804ffad3411255166daa4501 (blob 07cd0280ba84ab71b6823242e18c7c7285296b84).", + "contentHash": "sha256:007e94e798f25a9d0ccd1716b8a68eada4fe3ced71e531bd0538c2c56e24ecb7" + }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java", "header": "ce-modified", @@ -457,6 +469,12 @@ "reason": "PE-specific data/configuration type EntityGroupNameFilter.java. Reviewed fields, type discriminators and serialization hooks describe PE entities or PE behavior; matching CE types supply only the common DTO/interface pattern. Resolved as PE-authored consistently with the maintainer decision for PE entity wrappers. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/query/EntityNameFilter.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob a3889bc7c07de44917eac165a9c4e8578bbbcd62).", "contentHash": "sha256:46cc0073210fb81fb1a71f44604042da6056f78f62468cf45bdc78cdaf8cdd09" }, + { + "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/StateEntityFilter.java", + "header": "busl", + "reason": "PE dashboard state entity filter, a new class with its own defaultStateEntity field and STATE_ENTITY type. The similarity comes from the shared shape of small filter DTOs, not from CE code. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/query/SingleEntityFilter.java at 862b224dd7e4e770804ffad3411255166daa4501 (blob dacd7de6eae6cd80cfd63047dad8951d76aeb455).", + "contentHash": "sha256:46835b82b0320007209a5d53528f9fdb534af41c2fcb5a528754c316c530394a" + }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/StateEntityOwnerFilter.java", "header": "busl", From 1def2c6506998b17ab1e577e793efcce4e6cc0d2 Mon Sep 17 00:00:00 2001 From: Andrii Landiak Date: Thu, 15 Oct 2026 11:21:36 +0300 Subject: [PATCH 162/559] Move allow-circular-references into the spring block of the CoAP integration config --- integration/coap/src/main/resources/tb-coap-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/coap/src/main/resources/tb-coap-integration.yml b/integration/coap/src/main/resources/tb-coap-integration.yml index 267c91dba0..560f20b9f7 100644 --- a/integration/coap/src/main/resources/tb-coap-integration.yml +++ b/integration/coap/src/main/resources/tb-coap-integration.yml @@ -3,8 +3,6 @@ # SPDX-License-Identifier: BUSL-1.1 # -spring.main.allow-circular-references: "true" # Spring Boot configuration property that controls whether circular dependencies between beans are allowed. - server: # Server bind address address: "${HTTP_BIND_ADDRESS:0.0.0.0}" @@ -29,6 +27,8 @@ spring: exclude: - org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration - org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration + main: + allow-circular-references: "true" # Spring Boot configuration property that controls whether circular dependencies between beans are allowed. storage: # Location of the folder to store data files From 5dc7db33e27b77dda1be5e33815ed74d12fbd493 Mon Sep 17 00:00:00 2001 From: IrynaMatveieva Date: Thu, 15 Oct 2026 11:35:09 +0300 Subject: [PATCH 163/559] Fix StackOverflowError in AlarmRuleState hashCode/toString AlarmRuleState included its back-reference to the parent AlarmCalculatedFieldState in the Lombok-generated hashCode/toString, and the parent includes its rule states, causing infinite recursion. It surfaced when TenantActor logged a skipped CalculatedFieldStateRestoreMsg during partition rebalancing, flooding logs with StackOverflowError traces. Exclude the parent reference from hashCode/equals/toString and log only the restore message id instead of the whole state. --- .../org/thingsboard/server/actors/tenant/TenantActor.java | 4 ++-- .../server/service/cf/ctx/state/alarm/AlarmRuleState.java | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/actors/tenant/TenantActor.java b/application/src/main/java/org/thingsboard/server/actors/tenant/TenantActor.java index 533ef331bd..9b85e65762 100644 --- a/application/src/main/java/org/thingsboard/server/actors/tenant/TenantActor.java +++ b/application/src/main/java/org/thingsboard/server/actors/tenant/TenantActor.java @@ -196,8 +196,8 @@ public class TenantActor extends RuleChainManagerActor { private void forwardToCfActor(TenantAwareMsg msg, boolean priority) { if (cfActor == null) { - if (msg instanceof CalculatedFieldStateRestoreMsg) { - log.warn("[{}] CF Actor is not initialized. ToCalculatedFieldSystemMsg: [{}]", tenantId, msg); + if (msg instanceof CalculatedFieldStateRestoreMsg restoreMsg) { + log.warn("[{}] CF Actor is not initialized. Skipping CF state restore: [{}]", tenantId, restoreMsg.getId()); } else { log.debug("[{}] CF Actor is not initialized. ToCalculatedFieldSystemMsg: [{}]", tenantId, msg); } diff --git a/application/src/main/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleState.java b/application/src/main/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleState.java index 097a0da2f0..f984b23d87 100644 --- a/application/src/main/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleState.java +++ b/application/src/main/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleState.java @@ -4,6 +4,8 @@ package org.thingsboard.server.service.cf.ctx.state.alarm; import com.fasterxml.jackson.databind.node.ObjectNode; import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.ToString; import lombok.extern.slf4j.Slf4j; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.KvUtil; @@ -38,6 +40,8 @@ public class AlarmRuleState { private final AlarmSeverity severity; private AlarmRule alarmRule; + @ToString.Exclude + @EqualsAndHashCode.Exclude private AlarmCalculatedFieldState state; private AlarmCondition condition; From 01ec34c76e6c4f0194011ff6d8da1cd19266651f Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 12:17:59 +0300 Subject: [PATCH 164/559] Version set to 4.4.1-SNAPSHOT --- application/pom.xml | 2 +- common/actor/pom.xml | 2 +- common/agent-api/pom.xml | 2 +- common/cache/pom.xml | 2 +- common/cluster-api/pom.xml | 2 +- common/coap-server/pom.xml | 2 +- common/dao-api/pom.xml | 2 +- common/data/pom.xml | 2 +- common/discovery-api/pom.xml | 2 +- common/edge-api/pom.xml | 2 +- common/edge-api/src/main/proto/edge.proto | 2 +- common/edqs/pom.xml | 2 +- common/integration/apache-pulsar/pom.xml | 2 +- common/integration/aws-integrations/pom.xml | 2 +- common/integration/azure-integrations/pom.xml | 2 +- common/integration/cluster-integration-api/pom.xml | 2 +- common/integration/coap-integrations/pom.xml | 2 +- common/integration/gcloud-integrations/pom.xml | 2 +- common/integration/http-integrations/pom.xml | 2 +- common/integration/integration-api/pom.xml | 2 +- common/integration/kafka-integrations/pom.xml | 2 +- common/integration/mqtt-integrations/pom.xml | 2 +- common/integration/opcua-integrations/pom.xml | 2 +- common/integration/pom.xml | 2 +- common/integration/rabbitmq-integrations/pom.xml | 2 +- common/integration/remote-integration-api/pom.xml | 2 +- common/integration/tuya-integrations/pom.xml | 2 +- common/message/pom.xml | 2 +- common/pom.xml | 2 +- common/proto/pom.xml | 2 +- common/queue/pom.xml | 2 +- common/report/pom.xml | 2 +- common/script/pom.xml | 2 +- common/script/remote-js-client/pom.xml | 2 +- common/script/script-api/pom.xml | 2 +- common/stats/pom.xml | 2 +- common/transport/coap/pom.xml | 2 +- common/transport/http/pom.xml | 2 +- common/transport/lwm2m/pom.xml | 2 +- common/transport/mqtt/pom.xml | 2 +- common/transport/pom.xml | 2 +- common/transport/snmp/pom.xml | 2 +- common/transport/transport-api/pom.xml | 2 +- common/util/pom.xml | 2 +- common/version-control/pom.xml | 2 +- dao/pom.xml | 2 +- edqs/pom.xml | 2 +- integration/apache-pulsar/pom.xml | 2 +- integration/aws/pom.xml | 2 +- integration/azure/pom.xml | 2 +- integration/coap/pom.xml | 2 +- integration/executor/pom.xml | 2 +- integration/http/pom.xml | 2 +- integration/kafka/pom.xml | 2 +- integration/mqtt/pom.xml | 2 +- integration/opc-ua/pom.xml | 2 +- integration/pom.xml | 2 +- integration/pubsub/pom.xml | 2 +- integration/rabbitmq/pom.xml | 2 +- integration/tcp-udp/pom.xml | 2 +- integration/tuya/pom.xml | 2 +- migrator/pom.xml | 2 +- monitoring/pom.xml | 2 +- msa/black-box-tests/pom.xml | 2 +- msa/edqs/pom.xml | 2 +- msa/integration/apache-pulsar/pom.xml | 2 +- msa/integration/aws/pom.xml | 2 +- msa/integration/azure/pom.xml | 2 +- msa/integration/coap/pom.xml | 2 +- msa/integration/executor/pom.xml | 2 +- msa/integration/http/pom.xml | 2 +- msa/integration/kafka/pom.xml | 2 +- msa/integration/mqtt/pom.xml | 2 +- msa/integration/opc-ua/pom.xml | 2 +- msa/integration/pom.xml | 4 ++-- msa/integration/pubsub/pom.xml | 2 +- msa/integration/rabbitmq/pom.xml | 2 +- msa/integration/tcp-udp/pom.xml | 2 +- msa/integration/tuya/pom.xml | 2 +- msa/js-executor/package.json | 2 +- msa/js-executor/pom.xml | 2 +- msa/migrator/pom.xml | 2 +- msa/monitoring/pom.xml | 2 +- msa/pom.xml | 4 ++-- msa/report/pom.xml | 2 +- msa/tb-node/pom.xml | 2 +- msa/transport/coap/pom.xml | 2 +- msa/transport/http/pom.xml | 2 +- msa/transport/lwm2m/pom.xml | 2 +- msa/transport/mqtt/pom.xml | 2 +- msa/transport/pom.xml | 2 +- msa/transport/snmp/pom.xml | 2 +- msa/vc-executor-docker/pom.xml | 2 +- msa/vc-executor/pom.xml | 2 +- msa/web-report/package.json | 2 +- msa/web-report/pom.xml | 2 +- msa/web-ui/package.json | 2 +- msa/web-ui/pom.xml | 2 +- netty-mqtt/pom.xml | 4 ++-- pom.xml | 2 +- report/pom.xml | 2 +- rest-client/pom.xml | 2 +- rule-engine/pom.xml | 2 +- rule-engine/rule-engine-api/pom.xml | 2 +- rule-engine/rule-engine-components/pom.xml | 2 +- tools/pom.xml | 2 +- transport/coap/pom.xml | 2 +- transport/http/pom.xml | 2 +- transport/lwm2m/pom.xml | 2 +- transport/mqtt/pom.xml | 2 +- transport/pom.xml | 2 +- transport/snmp/pom.xml | 2 +- ui-ngx/package.json | 2 +- ui-ngx/pom.xml | 2 +- 114 files changed, 117 insertions(+), 117 deletions(-) diff --git a/application/pom.xml b/application/pom.xml index 05096269a8..1dcafd6e9c 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard application diff --git a/common/actor/pom.xml b/common/actor/pom.xml index d1f4eda97b..fa3037517c 100644 --- a/common/actor/pom.xml +++ b/common/actor/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/agent-api/pom.xml b/common/agent-api/pom.xml index 648bab6df3..4b52297231 100644 --- a/common/agent-api/pom.xml +++ b/common/agent-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/cache/pom.xml b/common/cache/pom.xml index 5b476b30cc..0c4ca035a0 100644 --- a/common/cache/pom.xml +++ b/common/cache/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/cluster-api/pom.xml b/common/cluster-api/pom.xml index 64c3d49d39..b3fa8eaf6d 100644 --- a/common/cluster-api/pom.xml +++ b/common/cluster-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/coap-server/pom.xml b/common/coap-server/pom.xml index 50347cb551..fd8a22fd53 100644 --- a/common/coap-server/pom.xml +++ b/common/coap-server/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/dao-api/pom.xml b/common/dao-api/pom.xml index 96e698c22c..acb473d00a 100644 --- a/common/dao-api/pom.xml +++ b/common/dao-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/data/pom.xml b/common/data/pom.xml index 4163e86279..9028a00497 100644 --- a/common/data/pom.xml +++ b/common/data/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/discovery-api/pom.xml b/common/discovery-api/pom.xml index d7cb25266b..aba7b8e3b7 100644 --- a/common/discovery-api/pom.xml +++ b/common/discovery-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/edge-api/pom.xml b/common/edge-api/pom.xml index 77005c642c..59c665b07c 100644 --- a/common/edge-api/pom.xml +++ b/common/edge-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index 0c17d43e5f..0859747878 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -52,7 +52,7 @@ enum EdgeVersion { V_4_3_1_6 = 4316; V_4_3_1_7 = 4317; V_4_4_0 = 4400; - V_4_4_0_1 = 4401; + V_4_4_1 = 4410; V_LATEST = 99999; } diff --git a/common/edqs/pom.xml b/common/edqs/pom.xml index c4806872cd..b9e850af8c 100644 --- a/common/edqs/pom.xml +++ b/common/edqs/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/integration/apache-pulsar/pom.xml b/common/integration/apache-pulsar/pom.xml index 8d2bcb44c1..610872f5e9 100644 --- a/common/integration/apache-pulsar/pom.xml +++ b/common/integration/apache-pulsar/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/aws-integrations/pom.xml b/common/integration/aws-integrations/pom.xml index 7629907753..d313be19bc 100644 --- a/common/integration/aws-integrations/pom.xml +++ b/common/integration/aws-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/azure-integrations/pom.xml b/common/integration/azure-integrations/pom.xml index dad9f38033..8fd70d9c54 100644 --- a/common/integration/azure-integrations/pom.xml +++ b/common/integration/azure-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/cluster-integration-api/pom.xml b/common/integration/cluster-integration-api/pom.xml index 151d787c23..1d4596b74d 100644 --- a/common/integration/cluster-integration-api/pom.xml +++ b/common/integration/cluster-integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/coap-integrations/pom.xml b/common/integration/coap-integrations/pom.xml index f75a62aed9..b00bcb6d09 100644 --- a/common/integration/coap-integrations/pom.xml +++ b/common/integration/coap-integrations/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/gcloud-integrations/pom.xml b/common/integration/gcloud-integrations/pom.xml index b909cfb628..472aeefa9d 100644 --- a/common/integration/gcloud-integrations/pom.xml +++ b/common/integration/gcloud-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/http-integrations/pom.xml b/common/integration/http-integrations/pom.xml index 5b2606505a..c476648e2a 100644 --- a/common/integration/http-integrations/pom.xml +++ b/common/integration/http-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/integration-api/pom.xml b/common/integration/integration-api/pom.xml index 23fbb4f012..15617a0a3a 100644 --- a/common/integration/integration-api/pom.xml +++ b/common/integration/integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/kafka-integrations/pom.xml b/common/integration/kafka-integrations/pom.xml index 1da4a2e5bc..a6604aaa9b 100644 --- a/common/integration/kafka-integrations/pom.xml +++ b/common/integration/kafka-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/mqtt-integrations/pom.xml b/common/integration/mqtt-integrations/pom.xml index 2880ab2710..89b3025891 100644 --- a/common/integration/mqtt-integrations/pom.xml +++ b/common/integration/mqtt-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/opcua-integrations/pom.xml b/common/integration/opcua-integrations/pom.xml index af25e34904..79302fd0ec 100644 --- a/common/integration/opcua-integrations/pom.xml +++ b/common/integration/opcua-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/pom.xml b/common/integration/pom.xml index ffc4d21947..3ee67d5101 100644 --- a/common/integration/pom.xml +++ b/common/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/integration/rabbitmq-integrations/pom.xml b/common/integration/rabbitmq-integrations/pom.xml index c4f120c054..ac28a4cd67 100644 --- a/common/integration/rabbitmq-integrations/pom.xml +++ b/common/integration/rabbitmq-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/remote-integration-api/pom.xml b/common/integration/remote-integration-api/pom.xml index a0efa16741..2db388a166 100644 --- a/common/integration/remote-integration-api/pom.xml +++ b/common/integration/remote-integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/integration/tuya-integrations/pom.xml b/common/integration/tuya-integrations/pom.xml index 6bb785b285..11805ef149 100644 --- a/common/integration/tuya-integrations/pom.xml +++ b/common/integration/tuya-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.common.integration diff --git a/common/message/pom.xml b/common/message/pom.xml index 7fdcc5d7e3..05f4d7a4ea 100644 --- a/common/message/pom.xml +++ b/common/message/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/pom.xml b/common/pom.xml index dd7abf9c65..ecef58c721 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard common diff --git a/common/proto/pom.xml b/common/proto/pom.xml index f27ab28dd3..aef6f29b72 100644 --- a/common/proto/pom.xml +++ b/common/proto/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/queue/pom.xml b/common/queue/pom.xml index 1107cb9d80..be14683ec3 100644 --- a/common/queue/pom.xml +++ b/common/queue/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/report/pom.xml b/common/report/pom.xml index 4c5569f5b3..7aa634f468 100644 --- a/common/report/pom.xml +++ b/common/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/script/pom.xml b/common/script/pom.xml index 4c65c0ad49..2fa3adae61 100644 --- a/common/script/pom.xml +++ b/common/script/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/script/remote-js-client/pom.xml b/common/script/remote-js-client/pom.xml index 8107306a8c..d04821e04f 100644 --- a/common/script/remote-js-client/pom.xml +++ b/common/script/remote-js-client/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT script org.thingsboard.common.script diff --git a/common/script/script-api/pom.xml b/common/script/script-api/pom.xml index 59d85f86a1..081a2f3976 100644 --- a/common/script/script-api/pom.xml +++ b/common/script/script-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT script org.thingsboard.common.script diff --git a/common/stats/pom.xml b/common/stats/pom.xml index 53cc5e4eaf..2873f94f9c 100644 --- a/common/stats/pom.xml +++ b/common/stats/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/transport/coap/pom.xml b/common/transport/coap/pom.xml index fe30177622..9a28d7c95c 100644 --- a/common/transport/coap/pom.xml +++ b/common/transport/coap/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/http/pom.xml b/common/transport/http/pom.xml index 577da5ed0c..f9f462da66 100644 --- a/common/transport/http/pom.xml +++ b/common/transport/http/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/lwm2m/pom.xml b/common/transport/lwm2m/pom.xml index 3a195d23eb..ccc051900f 100644 --- a/common/transport/lwm2m/pom.xml +++ b/common/transport/lwm2m/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/mqtt/pom.xml b/common/transport/mqtt/pom.xml index f10782e394..b499a5f591 100644 --- a/common/transport/mqtt/pom.xml +++ b/common/transport/mqtt/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/pom.xml b/common/transport/pom.xml index 57728b92b7..103dde135d 100644 --- a/common/transport/pom.xml +++ b/common/transport/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/transport/snmp/pom.xml b/common/transport/snmp/pom.xml index 654180c79a..d3a02e9848 100644 --- a/common/transport/snmp/pom.xml +++ b/common/transport/snmp/pom.xml @@ -11,7 +11,7 @@ org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport diff --git a/common/transport/transport-api/pom.xml b/common/transport/transport-api/pom.xml index 94160d8e4d..d141135c0d 100644 --- a/common/transport/transport-api/pom.xml +++ b/common/transport/transport-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/util/pom.xml b/common/util/pom.xml index 38dafbf900..0fe6b896a4 100644 --- a/common/util/pom.xml +++ b/common/util/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/common/version-control/pom.xml b/common/version-control/pom.xml index 1ef5f1fb48..1b80246053 100644 --- a/common/version-control/pom.xml +++ b/common/version-control/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT common org.thingsboard.common diff --git a/dao/pom.xml b/dao/pom.xml index 2e3e40d976..2d84a22298 100644 --- a/dao/pom.xml +++ b/dao/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard dao diff --git a/edqs/pom.xml b/edqs/pom.xml index 1d6a0c8428..08ad8c6257 100644 --- a/edqs/pom.xml +++ b/edqs/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard edqs diff --git a/integration/apache-pulsar/pom.xml b/integration/apache-pulsar/pom.xml index f81588fb8d..933f978139 100644 --- a/integration/apache-pulsar/pom.xml +++ b/integration/apache-pulsar/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/aws/pom.xml b/integration/aws/pom.xml index 41a86f31d3..51ad65f933 100644 --- a/integration/aws/pom.xml +++ b/integration/aws/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/azure/pom.xml b/integration/azure/pom.xml index 86a6a23a29..d568ac3c65 100644 --- a/integration/azure/pom.xml +++ b/integration/azure/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/coap/pom.xml b/integration/coap/pom.xml index caf30f83f2..617763a02a 100644 --- a/integration/coap/pom.xml +++ b/integration/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/executor/pom.xml b/integration/executor/pom.xml index 41a281d9f9..4854543122 100644 --- a/integration/executor/pom.xml +++ b/integration/executor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/http/pom.xml b/integration/http/pom.xml index 1d619ab324..d83c8b52d1 100644 --- a/integration/http/pom.xml +++ b/integration/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/kafka/pom.xml b/integration/kafka/pom.xml index 28e498fa45..168c9f5a68 100644 --- a/integration/kafka/pom.xml +++ b/integration/kafka/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/mqtt/pom.xml b/integration/mqtt/pom.xml index 2bc8af134e..1ab8dec89e 100644 --- a/integration/mqtt/pom.xml +++ b/integration/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/opc-ua/pom.xml b/integration/opc-ua/pom.xml index e1ae8ffc85..3332c6462d 100644 --- a/integration/opc-ua/pom.xml +++ b/integration/opc-ua/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/pom.xml b/integration/pom.xml index 2f3ec66166..e4df184899 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard integration diff --git a/integration/pubsub/pom.xml b/integration/pubsub/pom.xml index 286d29f1bc..d571e3c5b3 100644 --- a/integration/pubsub/pom.xml +++ b/integration/pubsub/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/rabbitmq/pom.xml b/integration/rabbitmq/pom.xml index 081147ad5a..3b286f1c5d 100644 --- a/integration/rabbitmq/pom.xml +++ b/integration/rabbitmq/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/tcp-udp/pom.xml b/integration/tcp-udp/pom.xml index 1ae99f25ef..4f0c360e97 100644 --- a/integration/tcp-udp/pom.xml +++ b/integration/tcp-udp/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/integration/tuya/pom.xml b/integration/tuya/pom.xml index 1d84b18221..3057a6df39 100644 --- a/integration/tuya/pom.xml +++ b/integration/tuya/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration org.thingsboard.integration diff --git a/migrator/pom.xml b/migrator/pom.xml index 7de06d3f90..fcf5838720 100644 --- a/migrator/pom.xml +++ b/migrator/pom.xml @@ -12,7 +12,7 @@ thingsboard org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT migrator diff --git a/monitoring/pom.xml b/monitoring/pom.xml index 53c5d3ec8a..5225aea050 100644 --- a/monitoring/pom.xml +++ b/monitoring/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard diff --git a/msa/black-box-tests/pom.xml b/msa/black-box-tests/pom.xml index 82d4ca6810..03077a442e 100644 --- a/msa/black-box-tests/pom.xml +++ b/msa/black-box-tests/pom.xml @@ -11,7 +11,7 @@ org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/edqs/pom.xml b/msa/edqs/pom.xml index 19129f8365..5fc1650d80 100644 --- a/msa/edqs/pom.xml +++ b/msa/edqs/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/integration/apache-pulsar/pom.xml b/msa/integration/apache-pulsar/pom.xml index be95124a98..c4e9cb8263 100644 --- a/msa/integration/apache-pulsar/pom.xml +++ b/msa/integration/apache-pulsar/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/aws/pom.xml b/msa/integration/aws/pom.xml index 42c4cc38fa..1afd9aad25 100644 --- a/msa/integration/aws/pom.xml +++ b/msa/integration/aws/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/azure/pom.xml b/msa/integration/azure/pom.xml index da528c71ec..e306620b71 100644 --- a/msa/integration/azure/pom.xml +++ b/msa/integration/azure/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/coap/pom.xml b/msa/integration/coap/pom.xml index 06059a5e01..81155bc7e9 100644 --- a/msa/integration/coap/pom.xml +++ b/msa/integration/coap/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/executor/pom.xml b/msa/integration/executor/pom.xml index 24946b9f3e..450271579c 100644 --- a/msa/integration/executor/pom.xml +++ b/msa/integration/executor/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/http/pom.xml b/msa/integration/http/pom.xml index 7041c2c4fd..beb8d3fe31 100644 --- a/msa/integration/http/pom.xml +++ b/msa/integration/http/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/kafka/pom.xml b/msa/integration/kafka/pom.xml index 9d90ca755d..00c1f17501 100644 --- a/msa/integration/kafka/pom.xml +++ b/msa/integration/kafka/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/mqtt/pom.xml b/msa/integration/mqtt/pom.xml index 5095573d29..de56a62159 100644 --- a/msa/integration/mqtt/pom.xml +++ b/msa/integration/mqtt/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/opc-ua/pom.xml b/msa/integration/opc-ua/pom.xml index d6eb1e39b3..2f455d67fd 100644 --- a/msa/integration/opc-ua/pom.xml +++ b/msa/integration/opc-ua/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/pom.xml b/msa/integration/pom.xml index c7debdd00a..4e5a22d2fe 100644 --- a/msa/integration/pom.xml +++ b/msa/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa @@ -110,7 +110,7 @@ - 4.4.0-latest + 4.4.1-latest false diff --git a/msa/integration/pubsub/pom.xml b/msa/integration/pubsub/pom.xml index f1dd1b878e..e9b7bb3975 100644 --- a/msa/integration/pubsub/pom.xml +++ b/msa/integration/pubsub/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/rabbitmq/pom.xml b/msa/integration/rabbitmq/pom.xml index a79d9bfd2a..baa664bea2 100644 --- a/msa/integration/rabbitmq/pom.xml +++ b/msa/integration/rabbitmq/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/tcp-udp/pom.xml b/msa/integration/tcp-udp/pom.xml index ca9e7cf50d..5b47b031eb 100644 --- a/msa/integration/tcp-udp/pom.xml +++ b/msa/integration/tcp-udp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/integration/tuya/pom.xml b/msa/integration/tuya/pom.xml index 434db9bbe6..22ca7ffa7e 100644 --- a/msa/integration/tuya/pom.xml +++ b/msa/integration/tuya/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT integration diff --git a/msa/js-executor/package.json b/msa/js-executor/package.json index f534a6d07b..d88291cf17 100644 --- a/msa/js-executor/package.json +++ b/msa/js-executor/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-js-executor", "private": true, - "version": "4.4.0.1", + "version": "4.4.1", "description": "ThingsBoard JavaScript Executor Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml index f5b5baf0c9..1e407061a6 100644 --- a/msa/js-executor/pom.xml +++ b/msa/js-executor/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/migrator/pom.xml b/msa/migrator/pom.xml index a6d7ae86a8..bbb29c50f5 100644 --- a/msa/migrator/pom.xml +++ b/msa/migrator/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa diff --git a/msa/monitoring/pom.xml b/msa/monitoring/pom.xml index 0bd2786a49..fb95e91b7d 100644 --- a/msa/monitoring/pom.xml +++ b/msa/monitoring/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa diff --git a/msa/pom.xml b/msa/pom.xml index bfb8655728..43cd606147 100644 --- a/msa/pom.xml +++ b/msa/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard msa @@ -196,7 +196,7 @@ - 4.4.0-latest + 4.4.1-latest false diff --git a/msa/report/pom.xml b/msa/report/pom.xml index 8a3361d2c3..6a782df30a 100644 --- a/msa/report/pom.xml +++ b/msa/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/tb-node/pom.xml b/msa/tb-node/pom.xml index 8227d7bcb0..0baf11cf45 100644 --- a/msa/tb-node/pom.xml +++ b/msa/tb-node/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/transport/coap/pom.xml b/msa/transport/coap/pom.xml index 1354f57dab..e06e589e5c 100644 --- a/msa/transport/coap/pom.xml +++ b/msa/transport/coap/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/http/pom.xml b/msa/transport/http/pom.xml index 10d593c1ea..6127552381 100644 --- a/msa/transport/http/pom.xml +++ b/msa/transport/http/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/lwm2m/pom.xml b/msa/transport/lwm2m/pom.xml index 23fcf1aa52..3babb3256f 100644 --- a/msa/transport/lwm2m/pom.xml +++ b/msa/transport/lwm2m/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/mqtt/pom.xml b/msa/transport/mqtt/pom.xml index 682986ec8b..66e483f62e 100644 --- a/msa/transport/mqtt/pom.xml +++ b/msa/transport/mqtt/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/pom.xml b/msa/transport/pom.xml index 12bba190cf..93c2de38bf 100644 --- a/msa/transport/pom.xml +++ b/msa/transport/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/transport/snmp/pom.xml b/msa/transport/snmp/pom.xml index c96784b765..08c7df6229 100644 --- a/msa/transport/snmp/pom.xml +++ b/msa/transport/snmp/pom.xml @@ -11,7 +11,7 @@ org.thingsboard.msa transport - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT org.thingsboard.msa.transport diff --git a/msa/vc-executor-docker/pom.xml b/msa/vc-executor-docker/pom.xml index db28206847..b401024448 100644 --- a/msa/vc-executor-docker/pom.xml +++ b/msa/vc-executor-docker/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/vc-executor/pom.xml b/msa/vc-executor/pom.xml index f1092bf837..8a7b8e15ca 100644 --- a/msa/vc-executor/pom.xml +++ b/msa/vc-executor/pom.xml @@ -11,7 +11,7 @@ org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/web-report/package.json b/msa/web-report/package.json index a4a5433e9e..fe0ec7a8ff 100644 --- a/msa/web-report/package.json +++ b/msa/web-report/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-web-report", "private": true, - "version": "4.4.0.1", + "version": "4.4.1", "description": "ThingsBoard Web Reporting Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/web-report/pom.xml b/msa/web-report/pom.xml index e3d9832b79..05f3813996 100644 --- a/msa/web-report/pom.xml +++ b/msa/web-report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/web-ui/package.json b/msa/web-ui/package.json index 1aed9569a1..b1f0b82c9e 100644 --- a/msa/web-ui/package.json +++ b/msa/web-ui/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-web-ui", "private": true, - "version": "4.4.0.1", + "version": "4.4.1", "description": "ThingsBoard Web UI Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml index 652bb2dc5c..5e3d67d99c 100644 --- a/msa/web-ui/pom.xml +++ b/msa/web-ui/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT msa org.thingsboard.msa diff --git a/netty-mqtt/pom.xml b/netty-mqtt/pom.xml index 6733a24fb2..9fe47daa32 100644 --- a/netty-mqtt/pom.xml +++ b/netty-mqtt/pom.xml @@ -9,11 +9,11 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard netty-mqtt - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT jar Netty MQTT Client diff --git a/pom.xml b/pom.xml index 53835909e1..83563d31b6 100755 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT pom ThingsBoard diff --git a/report/pom.xml b/report/pom.xml index f428e65d22..5344f98b18 100644 --- a/report/pom.xml +++ b/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard report diff --git a/rest-client/pom.xml b/rest-client/pom.xml index 1be733ccee..6ef87dde9b 100644 --- a/rest-client/pom.xml +++ b/rest-client/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard rest-client diff --git a/rule-engine/pom.xml b/rule-engine/pom.xml index 59b274c450..72c1799c23 100644 --- a/rule-engine/pom.xml +++ b/rule-engine/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard rule-engine diff --git a/rule-engine/rule-engine-api/pom.xml b/rule-engine/rule-engine-api/pom.xml index c0eaa24237..9b9ba5f45d 100644 --- a/rule-engine/rule-engine-api/pom.xml +++ b/rule-engine/rule-engine-api/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT rule-engine org.thingsboard.rule-engine diff --git a/rule-engine/rule-engine-components/pom.xml b/rule-engine/rule-engine-components/pom.xml index 48be39f45c..bc6f4b2eef 100644 --- a/rule-engine/rule-engine-components/pom.xml +++ b/rule-engine/rule-engine-components/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT rule-engine org.thingsboard.rule-engine diff --git a/tools/pom.xml b/tools/pom.xml index 41d179c115..2acb7b5877 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard tools diff --git a/transport/coap/pom.xml b/transport/coap/pom.xml index 61002add66..d8226cd117 100644 --- a/transport/coap/pom.xml +++ b/transport/coap/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/http/pom.xml b/transport/http/pom.xml index 744cc2a956..a3257700b1 100644 --- a/transport/http/pom.xml +++ b/transport/http/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/lwm2m/pom.xml b/transport/lwm2m/pom.xml index 45767f145f..c7ab8fca10 100644 --- a/transport/lwm2m/pom.xml +++ b/transport/lwm2m/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/mqtt/pom.xml b/transport/mqtt/pom.xml index 8654ddf92b..b651546129 100644 --- a/transport/mqtt/pom.xml +++ b/transport/mqtt/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/pom.xml b/transport/pom.xml index 55e9390896..c308306461 100644 --- a/transport/pom.xml +++ b/transport/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard transport diff --git a/transport/snmp/pom.xml b/transport/snmp/pom.xml index 38d689872f..2ca38942f7 100644 --- a/transport/snmp/pom.xml +++ b/transport/snmp/pom.xml @@ -11,7 +11,7 @@ org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT transport diff --git a/ui-ngx/package.json b/ui-ngx/package.json index a11a1c4221..0dbbae9f5e 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -1,6 +1,6 @@ { "name": "thingsboard", - "version": "4.4.0.1", + "version": "4.4.1", "scripts": { "ng": "ng", "start": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --configuration development --host 0.0.0.0 --open", diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index a83bbd7864..5442028c2c 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0.1-SNAPSHOT + 4.4.1-SNAPSHOT thingsboard ui-ngx From 7a926f2c1f2af17cac9b86316ae0cf9c1f9ee80f Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 12:17:59 +0300 Subject: [PATCH 165/559] Accept upgrades by LTS family and drop the Lts prefix from migrations Offline upgrades now accept any version of a supported LTS family (4.3.x) instead of fixed 4.3.0/4.3.1 prefixes, and refuse an older version of the package's own family with a pointer to the no-downtime update applied on startup, so third-digit releases such as 4.4.1 need no upgrade script. The CE minimum for the CE-to-PE upgrade is 4.3.1.6, the first CE release that ships the community grant. LtsVersion, LtsMigration and LtsMigrationService are renamed to Version, Migration and MigrationService, and the empty upgrade/basic/schema_update.sql placeholder is removed along with its load. --- .../main/data/upgrade/basic/schema_update.sql | 10 -- .../upgrade/lts/4.3.1.4/schema_update.sql | 2 +- .../upgrade/lts/4.4.0.0/schema_update.sql | 5 +- .../install/ThingsboardInstallService.java | 4 +- .../DatabaseSchemaSettingsService.java | 2 +- .../DefaultDatabaseSchemaSettingsService.java | 39 ++++--- .../install/SqlDatabaseUpgradeService.java | 13 +-- .../service/install/TbClusterSchema.java | 2 +- .../lts/{LtsMigration.java => Migration.java} | 14 +-- ...tionService.java => MigrationService.java} | 62 +++++------ .../install/lts/V4_2_2_3Migration.java | 2 +- .../install/lts/V4_3_1_2Migration.java | 6 +- .../install/lts/V4_3_1_3Migration.java | 4 +- .../install/lts/V4_3_1_4Migration.java | 6 +- .../install/lts/V4_3_1_5Migration.java | 10 +- .../install/lts/V4_3_1_6Migration.java | 2 +- .../install/lts/V4_4_0_0Migration.java | 10 +- .../lts/{LtsVersion.java => Version.java} | 16 +-- .../update/DefaultDataUpdateService.java | 6 +- .../service/system/SystemPatchApplier.java | 18 +-- .../ThingsboardInstallServiceTest.java | 2 +- ...aultDatabaseSchemaSettingsServiceTest.java | 59 +++++++--- ...PeUpgradeAlarmShardingIntegrationTest.java | 2 +- .../PeUpgradeChainIntegrationTest.java | 16 +-- .../SqlDatabaseUpgradeServiceTest.java | 23 ++-- ...ityDatabaseSchemaServiceClusterIdTest.java | 2 +- ...est.java => MigrationIntegrationTest.java} | 46 ++++---- ...iceTest.java => MigrationServiceTest.java} | 104 +++++++++--------- .../install/lts/V4_3_1_5MigrationTest.java | 2 +- .../{LtsVersionTest.java => VersionTest.java} | 26 ++--- .../update/DefaultDataUpdateServiceTest.java | 20 ++-- .../server/system/SystemPatchApplierTest.java | 20 ++-- .../main/resources/sql/schema-entities.sql | 2 +- 33 files changed, 287 insertions(+), 270 deletions(-) delete mode 100644 application/src/main/data/upgrade/basic/schema_update.sql rename application/src/main/java/org/thingsboard/server/service/install/lts/{LtsMigration.java => Migration.java} (80%) rename application/src/main/java/org/thingsboard/server/service/install/lts/{LtsMigrationService.java => MigrationService.java} (81%) rename application/src/main/java/org/thingsboard/server/service/install/lts/{LtsVersion.java => Version.java} (80%) rename application/src/test/java/org/thingsboard/server/service/install/lts/{LtsMigrationIntegrationTest.java => MigrationIntegrationTest.java} (95%) rename application/src/test/java/org/thingsboard/server/service/install/lts/{LtsMigrationServiceTest.java => MigrationServiceTest.java} (85%) rename application/src/test/java/org/thingsboard/server/service/install/lts/{LtsVersionTest.java => VersionTest.java} (59%) diff --git a/application/src/main/data/upgrade/basic/schema_update.sql b/application/src/main/data/upgrade/basic/schema_update.sql deleted file mode 100644 index bb5bf9075a..0000000000 --- a/application/src/main/data/upgrade/basic/schema_update.sql +++ /dev/null @@ -1,10 +0,0 @@ --- --- SPDX-FileCopyrightText: Copyright The ThingsBoard Authors --- SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. --- SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 --- - --- Intentionally empty. The offline upgrade path is now fully bean-driven: every schema/data change lives in --- an LtsMigration bean and its data/upgrade/lts//schema_update.sql (4.4 baseline DDL is in --- V4_4_0_0Migration / lts/4.4.0.0/schema_update.sql). This file is kept present only so loadSql does not fail. - diff --git a/application/src/main/data/upgrade/lts/4.3.1.4/schema_update.sql b/application/src/main/data/upgrade/lts/4.3.1.4/schema_update.sql index 7478f25bdf..80d0654fcc 100644 --- a/application/src/main/data/upgrade/lts/4.3.1.4/schema_update.sql +++ b/application/src/main/data/upgrade/lts/4.3.1.4/schema_update.sql @@ -16,7 +16,7 @@ ALTER TABLE alarm_comment DROP CONSTRAINT IF EXISTS fk_alarm_comment_alarm_id; -- change (nullable, no default), so the ACCESS EXCLUSIVE lock it takes is released as soon as this -- migration transaction commits. -- --- The originator_id backfill for pre-existing rows is intentionally NOT done here. LtsMigrationService runs +-- The originator_id backfill for pre-existing rows is intentionally NOT done here. MigrationService runs -- this whole file inside a single transaction, so an in-line UPDATE would hold the ADD COLUMN's -- ACCESS EXCLUSIVE lock for the entire backfill -- blocking all reads and writes on entity_alarm while the -- no-downtime patch path (SystemPatchApplier) runs it on a serving node. Instead the backfill runs after diff --git a/application/src/main/data/upgrade/lts/4.4.0.0/schema_update.sql b/application/src/main/data/upgrade/lts/4.4.0.0/schema_update.sql index 4f84c6e011..9da79c3bad 100644 --- a/application/src/main/data/upgrade/lts/4.4.0.0/schema_update.sql +++ b/application/src/main/data/upgrade/lts/4.4.0.0/schema_update.sql @@ -14,9 +14,8 @@ ALTER TABLE rule_chain ADD COLUMN IF NOT EXISTS notes varchar(1000000); -- RULE CHAIN NOTES MIGRATION END --- PE-only 4.4 baseline DDL below (carried over from basic/schema_update.sql; these columns/index have no --- owning bean of their own). report.* live on the PE-only report table; job.customer_id is a PE column on the --- shared job table. +-- PE-only 4.4 baseline DDL below (these columns/index have no owning bean of their own). report.* live on +-- the PE-only report table; job.customer_id is a PE column on the shared job table. -- REPORT PUBLIC LINK ADDITION START diff --git a/application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java b/application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java index bf9b2d41d7..07d14417bd 100644 --- a/application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java +++ b/application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java @@ -114,7 +114,7 @@ public class ThingsboardInstallService { entityDatabaseSchemaService.createOrUpdateViewsAndFunctions(); entityDatabaseSchemaService.createOrUpdateDeviceInfoView(persistToTelemetry); } else { - // TODO DON'T FORGET to update SUPPORTED_VERSIONS_FOR_UPGRADE and MIN_CE_VERSION_FOR_UPGRADE in DefaultDatabaseSchemaSettingsService + // TODO DON'T FORGET to update SUPPORTED_FAMILIES_FOR_UPGRADE and MIN_CE_VERSION_FOR_UPGRADE in DefaultDatabaseSchemaSettingsService databaseSchemaVersionService.validateSchemaSettings(); // The database's own product marker selects the branch, so a CE database can never be taken // down the PE path by a missing flag. --fromVersion=CE is still accepted, and now a no-op. @@ -131,7 +131,7 @@ public class ThingsboardInstallService { } cacheCleanupService.clearCache(); if (updateFromCE) { - // The LTS chain references PE-only tables and runs each of its files as a single transaction, + // The migration chain references PE-only tables and runs each of its files as a single transaction, // so a converted CE database must get those tables before the chain rather than after it. entityDatabaseSchemaService.createDatabaseSchema(false); } diff --git a/application/src/main/java/org/thingsboard/server/service/install/DatabaseSchemaSettingsService.java b/application/src/main/java/org/thingsboard/server/service/install/DatabaseSchemaSettingsService.java index 5d4a09d9a2..dbfb1d17cd 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/DatabaseSchemaSettingsService.java +++ b/application/src/main/java/org/thingsboard/server/service/install/DatabaseSchemaSettingsService.java @@ -9,7 +9,7 @@ public interface DatabaseSchemaSettingsService { /** * Whether the operator forced this offline upgrade past the version check (SKIP_SCHEMA_VERSION_CHECK). Besides - * suppressing the validation errors, it makes the LTS migration selection inclusive of the stored version, so a + * suppressing the validation errors, it makes the migration selection inclusive of the stored version, so a * database already at the package version re-runs that version's own migration instead of selecting nothing. */ boolean isForcedReUpgrade(); diff --git a/application/src/main/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsService.java b/application/src/main/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsService.java index 496d9296a8..35fb27aed7 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsService.java +++ b/application/src/main/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsService.java @@ -7,27 +7,24 @@ import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Service; -import org.thingsboard.server.service.install.lts.LtsVersion; +import org.thingsboard.server.service.install.lts.Version; import org.thingsboard.server.service.install.update.DefaultDataUpdateService; -import java.util.Map; +import java.util.List; @Service @Slf4j @RequiredArgsConstructor public class DefaultDatabaseSchemaSettingsService implements DatabaseSchemaSettingsService { - // map of versions from which the upgrade to the current version is possible - // key - supported version prefix, value - display name - private static final Map SUPPORTED_VERSIONS_FOR_UPGRADE = Map.of( - "4.3.0", "4.3.0.x", - "4.3.1", "4.3.1.x" - ); + // LTS families (major.minor) from which the offline upgrade to the current version is possible. A newer version + // within the package's own family needs no offline upgrade: SystemPatchApplier applies it on startup. + private static final List SUPPORTED_FAMILIES_FOR_UPGRADE = List.of(Version.parse("4.3")); private static final String CE_PRODUCT = "CE"; // The first CE version that converts to PE: the one that ships the community grant. Anything older takes the // cheap CE-to-CE patch upgrade first. 4.3 stays supported, so later 4.3.1.x releases convert as well. - private static final LtsVersion MIN_CE_VERSION_FOR_UPGRADE = LtsVersion.parse("4.3.1.4"); + private static final Version MIN_CE_VERSION_FOR_UPGRADE = Version.parse("4.3.1.6"); private final ProjectInfo projectInfo; private final JdbcTemplate jdbcTemplate; @@ -37,8 +34,8 @@ public class DefaultDatabaseSchemaSettingsService implements DatabaseSchemaSetti @Override public void validateSchemaSettings() { - // The flag also drops the CE floor below, and that is what it costs: the 4.3.1.4 minimum is - // what keeps a CE source above 4.2.2.3, and so keeps LtsMigrationService.select() from ever returning + // The flag also drops the CE floor below, and that is what it costs: the CE minimum is + // what keeps a CE source above 4.2.2.3, and so keeps MigrationService.select() from ever returning // the V4_2_2_3 <-> V4_3_1_3 reproduction-duplicate pair its own invariant forbids selecting together. // Forcing an older CE database through without --fromVersion reopens that pair. if (isForcedReUpgrade()) { @@ -48,7 +45,7 @@ public class DefaultDatabaseSchemaSettingsService implements DatabaseSchemaSetti String dbSchemaVersion = getDbSchemaVersion(); if (isUpgradeFromCe()) { - LtsVersion ceVersion = LtsVersion.parse(dbSchemaVersion); + Version ceVersion = Version.parse(dbSchemaVersion); if (ceVersion.compareTo(MIN_CE_VERSION_FOR_UPGRADE) < 0) { onSchemaSettingsError(String.format("Upgrade failed: transitioning from CE to PE requires the database to be at version '%s' or newer, but it is at '%s'. " + "Please upgrade ThingsBoard CE to %s first.", @@ -56,7 +53,7 @@ public class DefaultDatabaseSchemaSettingsService implements DatabaseSchemaSetti } // Without this the migration chain would select nothing and the PE schema would be created on top of a // newer CE database, silently. - if (ceVersion.compareTo(LtsVersion.parse(getPackageSchemaVersion())) > 0) { + if (ceVersion.compareTo(Version.parse(getPackageSchemaVersion())) > 0) { onSchemaSettingsError(String.format("Upgrade failed: the database is at CE version '%s', which is newer than this ThingsBoard PE package ('%s'). " + "Please use a PE package of version '%s' or newer.", dbSchemaVersion, getPackageSchemaVersion(), dbSchemaVersion)); @@ -66,10 +63,16 @@ public class DefaultDatabaseSchemaSettingsService implements DatabaseSchemaSetti onSchemaSettingsError("Upgrade failed: database already upgraded to current version. You can set SKIP_SCHEMA_VERSION_CHECK to 'true' if force re-upgrade needed."); } - if (SUPPORTED_VERSIONS_FOR_UPGRADE.keySet().stream().noneMatch(dbSchemaVersion::startsWith)) { + Version dbVersion = Version.parse(dbSchemaVersion); + Version packageVersion = Version.parse(getPackageSchemaVersion()); + if (dbVersion.sameFamily(packageVersion) && dbVersion.compareTo(packageVersion) < 0) { + onSchemaSettingsError(String.format("Upgrade failed: database version '%s' is in the same LTS family as this package ('%s'). " + + "No upgrade is needed: the update is applied automatically when ThingsBoard starts.", + dbSchemaVersion, getPackageSchemaVersion())); + } + if (SUPPORTED_FAMILIES_FOR_UPGRADE.stream().noneMatch(dbVersion::sameFamily)) { onSchemaSettingsError(String.format("Upgrade failed: database version '%s' is not supported for upgrade. Supported versions are: %s.", - dbSchemaVersion, SUPPORTED_VERSIONS_FOR_UPGRADE.values() - )); + dbSchemaVersion, SUPPORTED_FAMILIES_FOR_UPGRADE.stream().map(f -> f.major() + "." + f.minor() + ".x").toList())); } } } @@ -159,7 +162,7 @@ public class DefaultDatabaseSchemaSettingsService implements DatabaseSchemaSetti } private long toDbVersion(String version) { - LtsVersion v = LtsVersion.parse(version); + Version v = Version.parse(version); return v.major() * 1_000_000_000L + v.minor() * 1_000_000L + v.maintenance() * 1000L + v.patch(); } @@ -169,7 +172,7 @@ public class DefaultDatabaseSchemaSettingsService implements DatabaseSchemaSetti } private String normalizeVersion(String version) { - return LtsVersion.parse(version).toString(); + return Version.parse(version).toString(); } } diff --git a/application/src/main/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeService.java b/application/src/main/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeService.java index b7a75e407c..12e0f624a2 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeService.java +++ b/application/src/main/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeService.java @@ -11,7 +11,7 @@ import org.springframework.jdbc.core.StatementCallback; import org.springframework.stereotype.Service; import org.springframework.transaction.PlatformTransactionManager; import org.springframework.transaction.support.TransactionTemplate; -import org.thingsboard.server.service.install.lts.LtsMigrationService; +import org.thingsboard.server.service.install.lts.MigrationService; import java.io.IOException; import java.io.UncheckedIOException; @@ -32,18 +32,18 @@ public class SqlDatabaseUpgradeService implements DatabaseEntitiesUpgradeService private final JdbcTemplate jdbcTemplate; private final TransactionTemplate transactionTemplate; private final DatabaseSchemaSettingsService schemaSettingsService; - private final LtsMigrationService ltsMigrationService; + private final MigrationService migrationService; public SqlDatabaseUpgradeService(InstallScripts installScripts, JdbcTemplate jdbcTemplate, PlatformTransactionManager transactionManager, DatabaseSchemaSettingsService schemaSettingsService, - LtsMigrationService ltsMigrationService) { + MigrationService migrationService) { this.installScripts = installScripts; this.jdbcTemplate = jdbcTemplate; this.transactionTemplate = new TransactionTemplate(transactionManager); this.transactionTemplate.setTimeout((int) TimeUnit.MINUTES.toSeconds(120)); this.schemaSettingsService = schemaSettingsService; - this.ltsMigrationService = ltsMigrationService; + this.migrationService = migrationService; } @Override @@ -51,12 +51,11 @@ public class SqlDatabaseUpgradeService implements DatabaseEntitiesUpgradeService log.info("Updating schema..."); if (fromCe) { // The delta is not confined to the version the database is already at - it also carries package-version - // DDL that the LTS chain below adds again (the job.customer_id and tb_cluster columns, for instance). + // DDL that the migration chain below adds again (the job.customer_id and tb_cluster columns, for instance). // Running it first is safe because every statement in it is repeat-safe, not because it is version-scoped. loadSql(getSchemaUpdateFile("pe")); } - loadSql(getSchemaUpdateFile("basic")); - ltsMigrationService.runSchemaMigrations(schemaSettingsService.getDbSchemaVersion(), schemaSettingsService.getPackageSchemaVersion(), + migrationService.runSchemaMigrations(schemaSettingsService.getDbSchemaVersion(), schemaSettingsService.getPackageSchemaVersion(), schemaSettingsService.isForcedReUpgrade()); log.info("Schema updated."); } diff --git a/application/src/main/java/org/thingsboard/server/service/install/TbClusterSchema.java b/application/src/main/java/org/thingsboard/server/service/install/TbClusterSchema.java index d07263af62..c9118894e7 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/TbClusterSchema.java +++ b/application/src/main/java/org/thingsboard/server/service/install/TbClusterSchema.java @@ -4,7 +4,7 @@ package org.thingsboard.server.service.install; /** * The statements that reach {@code tb_cluster} from Java. The DDL is a hand-kept copy of the block in - * {@code schema-entities.sql}; {@code LtsMigrationIntegrationTest} pins the copies against it. + * {@code schema-entities.sql}; {@code MigrationIntegrationTest} pins the copies against it. */ public final class TbClusterSchema { diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/Migration.java similarity index 80% rename from application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigration.java rename to application/src/main/java/org/thingsboard/server/service/install/lts/Migration.java index 85f1b95b3d..9c60ab7d74 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/Migration.java @@ -4,12 +4,12 @@ package org.thingsboard.server.service.install.lts; /** - * One LTS migration, keyed by the version it ships in (e.g. "4.2.2.3"). + * One migration, keyed by the version it ships in (e.g. "4.2.2.3"). * The runner runs the version's data/upgrade/lts/<version>/schema_update.sql by convention * (if present), then calls {@link #apply()} for any programmatic work beyond SQL. * Most migrations are SQL-only and only override {@link #getVersion()}. *

- * Ordering caveat for a multi-version run (see {@link LtsMigrationService#applyMigrations}): on the no-downtime path + * Ordering caveat for a multi-version run (see {@link MigrationService#applyMigrations}): on the no-downtime path * every migration's schema_update.sql + {@link #apply()} runs, in version order, BEFORE any migration's * {@link #applyAfterCommit()}. So migration N+1's schema/apply executes ahead of migration N's backfill. A migration * must therefore not depend, in its schema_update.sql or {@link #apply()}, on the completed result of an earlier @@ -20,13 +20,13 @@ package org.thingsboard.server.service.install.lts; * {@link #applyAfterCommit()} must therefore tolerate the schema changes of every later migration in the same run -- * equivalently, later DDL must not drop, rename, or retype anything an earlier migration's backfill reads or writes. */ -public interface LtsMigration { +public interface Migration { String getVersion(); /** * Programmatic data migration that runs in the SAME transaction as the version's schema_update.sql - * (see {@link LtsMigrationService#applyMigrations}). Use for work that must be atomic with the schema + * (see {@link MigrationService#applyMigrations}). Use for work that must be atomic with the schema * change. Do NOT put heavy table rewrites here: on the no-downtime path the schema_update.sql DDL holds * its locks until this transaction commits, so a long apply() keeps those locks held while the node serves. *

@@ -38,13 +38,13 @@ public interface LtsMigration { /** * Programmatic data migration that runs AFTER the version's schema transaction has committed, outside any - * transaction (see {@link LtsMigrationService#applyMigrations} and {@link LtsMigrationService#runDataMigrations}). + * transaction (see {@link MigrationService#applyMigrations} and {@link MigrationService#runDataMigrations}). * Use for heavy or long-running data backfills that must not extend the lifetime of the schema-change locks: * the implementation is responsible for chunking the work into its own small, self-committing transactions so * it only ever holds row-level locks and never blocks concurrent readers/writers. *

- * Must be idempotent and resumable: {@link LtsMigrationService#applyMigrations} does not record the version - * itself, and the caller records it (see {@link LtsMigrationService#recordVersions}) only once whatever it + * Must be idempotent and resumable: {@link MigrationService#applyMigrations} does not record the version + * itself, and the caller records it (see {@link MigrationService#recordVersions}) only once whatever it * needs after this method returns has also succeeded. A crash, or that later failure, before the version is * recorded selects the migration again on the next startup and runs this method again from the start -- it * must skip already-migrated rows rather than redo or double-count them. diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigrationService.java b/application/src/main/java/org/thingsboard/server/service/install/lts/MigrationService.java similarity index 81% rename from application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigrationService.java rename to application/src/main/java/org/thingsboard/server/service/install/lts/MigrationService.java index bfc045457a..b4f3908dec 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigrationService.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/MigrationService.java @@ -24,10 +24,10 @@ import java.util.List; import java.util.Set; /** - * Applies {@link LtsMigration} beans (in version order) for an LTS upgrade. Each migration has up to four idempotent + * Applies {@link Migration} beans (in version order) for an upgrade. Each migration has up to four idempotent * parts: (1) its {@code schema_update.sql} DDL, run via {@link #executeSchemaSql} (absent file = no-op); (2) - * {@link LtsMigration#apply()}, schema-coupled changes that must be atomic with the DDL; (3) - * {@link LtsMigration#applyAfterCommit()}, the heavy backfill, run outside the DDL transaction and self-committing in + * {@link Migration#apply()}, schema-coupled changes that must be atomic with the DDL; (3) + * {@link Migration#applyAfterCommit()}, the heavy backfill, run outside the DDL transaction and self-committing in * chunks; and (4) recording the version, which callers must delay until (2) and (3) -- and anything else they * interpose -- have succeeded (see {@link #recordVersions}). *

@@ -42,7 +42,7 @@ import java.util.Set; *

  • Offline major upgrade -- runs in the install/upgrade process (node not serving), split across that * process's schema and data phases: {@link #runSchemaMigrations} (DDL only) runs with the rest of the schema * upgrade, then {@link #runDataMigrations} (apply() + backfill) runs later, after the install flow has created the - * new tables, views/functions and indexes the data migrations may depend on. Neither records the LTS version; the + * new tables, views/functions and indexes the data migrations may depend on. Neither records the migration version; the * offline upgrade flow tracks the package version itself.
  • * *

    @@ -56,12 +56,12 @@ import java.util.Set; @Slf4j @Component @TbCoreComponent -public class LtsMigrationService { +public class MigrationService { private static final String SCHEMA_UPDATE_SQL = "schema_update.sql"; /** A migration paired with its parsed version, so the version is parsed exactly once per bean. */ - private record VersionedMigration(LtsVersion version, LtsMigration migration) {} + private record VersionedMigration(Version version, Migration migration) {} private final JdbcTemplate jdbcTemplate; private final InstallScripts installScripts; @@ -69,27 +69,27 @@ public class LtsMigrationService { private final TransactionTemplate transactionTemplate; private final List migrations; - public LtsMigrationService(JdbcTemplate jdbcTemplate, - InstallScripts installScripts, - DatabaseSchemaSettingsService schemaSettingsService, - PlatformTransactionManager transactionManager, - List migrations) { + public MigrationService(JdbcTemplate jdbcTemplate, + InstallScripts installScripts, + DatabaseSchemaSettingsService schemaSettingsService, + PlatformTransactionManager transactionManager, + List migrations) { this.jdbcTemplate = jdbcTemplate; this.installScripts = installScripts; this.schemaSettingsService = schemaSettingsService; this.transactionTemplate = new TransactionTemplate(transactionManager); this.migrations = validateAndSort(migrations); - log.info("Discovered {} LTS migration(s): {}", this.migrations.size(), + log.info("Discovered {} migration(s): {}", this.migrations.size(), this.migrations.stream().map(versionedMigration -> versionedMigration.migration().getVersion()).toList()); } - private static List validateAndSort(List migrations) { + private static List validateAndSort(List migrations) { Set seen = new HashSet<>(); List versioned = new ArrayList<>(); - for (LtsMigration migration : migrations) { - LtsVersion version = LtsVersion.parse(migration.getVersion()); // fail loud on unparseable version + for (Migration migration : migrations) { + Version version = Version.parse(migration.getVersion()); // fail loud on unparseable version if (!seen.add(migration.getVersion())) { - throw new IllegalStateException("Duplicate LTS migration version: " + migration.getVersion()); + throw new IllegalStateException("Duplicate migration version: " + migration.getVersion()); } versioned.add(new VersionedMigration(version, migration)); } @@ -110,17 +110,17 @@ public class LtsMigrationService { public List applyMigrations(String fromVersion, String toVersion, boolean forcedRun, Runnable afterSchemaPhase) { List selected = select(fromVersion, toVersion, forcedRun); for (VersionedMigration versionedMigration : selected) { - LtsMigration migration = versionedMigration.migration(); + Migration migration = versionedMigration.migration(); transactionTemplate.executeWithoutResult(status -> { executeSchemaSql(migration.getVersion()); migration.apply(); }); - log.info("Applied LTS schema update {}", migration.getVersion()); + log.info("Applied schema update {}", migration.getVersion()); } afterSchemaPhase.run(); List appliedVersions = new ArrayList<>(); for (VersionedMigration versionedMigration : selected) { - LtsMigration migration = versionedMigration.migration(); + Migration migration = versionedMigration.migration(); migration.applyAfterCommit(); // outside the schema transaction (see class doc) appliedVersions.add(migration.getVersion()); } @@ -130,12 +130,12 @@ public class LtsMigrationService { /** * Records the versions {@link #applyMigrations} returned, once the caller's own post-schema work has succeeded. * Stamped together rather than one per backfill, so a later failure re-runs the earlier migrations' backfills on - * the next startup - which {@link LtsMigration#applyAfterCommit} is required to tolerate. + * the next startup - which {@link Migration#applyAfterCommit} is required to tolerate. */ public void recordVersions(List versions) { for (String version : versions) { schemaSettingsService.updateSchemaVersion(version); - log.info("Applied LTS migration {}", version); + log.info("Applied migration {}", version); } } @@ -150,7 +150,7 @@ public class LtsMigrationService { for (VersionedMigration versionedMigration : select(fromVersion, toVersion, forcedRun)) { String version = versionedMigration.migration().getVersion(); transactionTemplate.executeWithoutResult(status -> executeSchemaSql(version)); - log.info("Applied LTS schema migration {}", version); + log.info("Applied schema migration {}", version); } } @@ -163,16 +163,16 @@ public class LtsMigrationService { */ public void runDataMigrations(String fromVersion, String toVersion, boolean forcedRun) { for (VersionedMigration versionedMigration : select(fromVersion, toVersion, forcedRun)) { - LtsMigration migration = versionedMigration.migration(); + Migration migration = versionedMigration.migration(); migration.apply(); migration.applyAfterCommit(); - log.info("Applied LTS data migration {}", migration.getVersion()); + log.info("Applied data migration {}", migration.getVersion()); } } private List select(String fromVersion, String toVersion, boolean forcedRun) { - LtsVersion from = LtsVersion.parse(fromVersion); - LtsVersion to = LtsVersion.parse(toVersion); + Version from = Version.parse(fromVersion); + Version to = Version.parse(toVersion); // Select every migration in the (from, to] range, regardless of family. On a cross-family offline // upgrade (e.g. 4.3.x -> 4.4) this is what makes the real in-range older-family beans run: it picks the // 4.3.1.x schema/data changes the source has not yet passed AND the new target-family beans, each exactly @@ -184,8 +184,8 @@ public class LtsMigrationService { // range. A reproduction-duplicate bean (one that re-does an older bean's work on a newer-family branch) // must sit STRICTLY BELOW the minimum supported upgrade source, so it can never be selected together with // the bean it duplicates. The pairs today are 4.2.2.3 <-> 4.3.1.3 and 4.2.2.4 <-> 4.3.1.4, and the - // supported-source floor is 4.3.0.0 (SUPPORTED_VERSIONS_FOR_UPGRADE), well above both 4.2.2.x beans. - // LtsMigrationServiceTest guards this. + // supported-source floor is 4.3.0.0 (SUPPORTED_FAMILIES_FOR_UPGRADE), well above both 4.2.2.x beans. + // MigrationServiceTest guards this. // // A forced run takes the closed [from, to] instead, so the source version's own migration re-runs rather than // the range being empty -- see the class doc. It does not weaken that invariant in any new way: forcing @@ -202,14 +202,14 @@ public class LtsMigrationService { private void executeSchemaSql(String version) { Path sqlFile = Paths.get(installScripts.getDataDir(), "upgrade", "lts", version, SCHEMA_UPDATE_SQL); if (!Files.exists(sqlFile)) { - log.trace("No LTS schema update file for version {} at {}", version, sqlFile); + log.trace("No schema update file for version {} at {}", version, sqlFile); return; } try { jdbcTemplate.execute(Files.readString(sqlFile)); - log.info("Applied LTS SQL schema update from {}", sqlFile); + log.info("Applied SQL schema update from {}", sqlFile); } catch (IOException e) { - throw new UncheckedIOException("Failed to read LTS schema update file: " + sqlFile, e); + throw new UncheckedIOException("Failed to read schema update file: " + sqlFile, e); } } } diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_2_2_3Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_2_2_3Migration.java index 4421b6ee41..ca46ee5e14 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_2_2_3Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_2_2_3Migration.java @@ -39,7 +39,7 @@ import java.util.stream.Stream; @Component @TbCoreComponent @RequiredArgsConstructor -public class V4_2_2_3Migration implements LtsMigration { +public class V4_2_2_3Migration implements Migration { // Match on the bundle ALIAS, not the JSON filename stem. // The "industrial_widgets" bundle shipped in a misspelled file (industial_widgets.json), diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_2Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_2Migration.java index 3593d99b64..7b50027d35 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_2Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_2Migration.java @@ -9,18 +9,18 @@ import org.thingsboard.server.queue.util.TbCoreComponent; /** * Registration-only migration with no {@link #apply()} (no data migration), kept intentionally. *

    - * {@link LtsMigrationService} selects migrations from the injected {@link LtsMigration} beans, not from the + * {@link MigrationService} selects migrations from the injected {@link Migration} beans, not from the * on-disk {@code data/upgrade/lts//} directories. So this bean is what makes the runner discover * version {@code 4.3.1.2} and execute its {@code data/upgrade/lts/4.3.1.2/schema_update.sql} (which adds the * 4.3.1.2 columns: {@code api_usage_state.ai}, {@code calculated_field.additional_info}, * {@code role.excluded_permissions}, {@code tb_user.external_id} plus the {@code tb_user_external_id_unq_key} * constraint). A directory holding a {@code schema_update.sql} but lacking a matching bean would be silently skipped. *

    - * The dir/bean consistency (both ways) is guarded by a test in {@code LtsMigrationIntegrationTest}. + * The dir/bean consistency (both ways) is guarded by a test in {@code MigrationIntegrationTest}. */ @Component @TbCoreComponent -public class V4_3_1_2Migration implements LtsMigration { +public class V4_3_1_2Migration implements Migration { @Override public String getVersion() { diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_3Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_3Migration.java index 7cfa8c7332..2491a34c3b 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_3Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_3Migration.java @@ -42,7 +42,7 @@ import java.util.stream.Stream; @Component @TbCoreComponent @RequiredArgsConstructor -public class V4_3_1_3Migration implements LtsMigration { +public class V4_3_1_3Migration implements Migration { // Match on the bundle ALIAS, not the JSON filename stem. // The "industrial_widgets" bundle shipped in a misspelled file (industial_widgets.json), @@ -77,7 +77,7 @@ public class V4_3_1_3Migration implements LtsMigration { @Override public void applyAfterCommit() { // Heavy per-tenant backfill: runs outside the schema transaction so it never holds the schema-change - // locks while walking tenants (see LtsMigration#applyAfterCommit). + // locks while walking tenants (see Migration#applyAfterCommit). migrateLegacySolutionTemplatesToIotHub(); } diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_4Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_4Migration.java index 264b52f056..b796a1ecd7 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_4Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_4Migration.java @@ -17,7 +17,7 @@ import java.util.UUID; /** * Alarm sharding: drops the {@code alarm_comment -> alarm} cascade FK and adds {@code entity_alarm.originator_id}. *

    - * {@link LtsMigrationService} selects migrations from the injected {@link LtsMigration} beans, not from the on-disk + * {@link MigrationService} selects migrations from the injected {@link Migration} beans, not from the on-disk * {@code data/upgrade/lts//} directories, so this bean is what makes the runner discover version * {@code 4.3.1.4} and execute its {@code schema_update.sql} at all. *

    @@ -34,7 +34,7 @@ import java.util.UUID; @Slf4j @Component @TbCoreComponent -public class V4_3_1_4Migration implements LtsMigration { +public class V4_3_1_4Migration implements Migration { // entity_alarm is walked in keyset-paginated windows of this size, each in its own committed transaction, so // the backfill only ever holds row-level locks on the current window and never blocks concurrent readers. @@ -86,7 +86,7 @@ public class V4_3_1_4Migration implements LtsMigration { /** * Backfills entity_alarm.originator_id from the parent alarm for rows that predate the column added by this - * version's schema_update.sql. Runs OUTSIDE the schema transaction (see {@link LtsMigration#applyAfterCommit}) + * version's schema_update.sql. Runs OUTSIDE the schema transaction (see {@link Migration#applyAfterCommit}) * so the ADD COLUMN's ACCESS EXCLUSIVE lock is already released; each batch commits on its own and takes only * a ROW EXCLUSIVE lock, so a serving node keeps reading and writing entity_alarm throughout. *

    diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_5Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_5Migration.java index 3642e23c41..87361ff51d 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_5Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_5Migration.java @@ -22,14 +22,14 @@ import java.util.Set; import static org.thingsboard.server.dao.trendz.TrendzSyncService.TRENDZ_API_KEY_DESCRIPTION; /** - * LTS migration for version {@code 4.3.1.5}. + * Migration for version {@code 4.3.1.5}. *

    - * {@link LtsMigrationService} selects migrations from the injected {@link LtsMigration} beans, not from the on-disk + * {@link MigrationService} selects migrations from the injected {@link Migration} beans, not from the on-disk * {@code data/upgrade/lts//} directories, so this bean is what makes the runner discover version * {@code 4.3.1.5} at all. *

    * There is no {@code data/upgrade/lts/4.3.1.5/} directory: everything this version changes is programmatic, so the - * version is listed in {@code SQL_LESS_ALLOWED} in {@code LtsMigrationIntegrationTest}, which otherwise fails a bean + * version is listed in {@code SQL_LESS_ALLOWED} in {@code MigrationIntegrationTest}, which otherwise fails a bean * that has no matching directory. Should this version later need DDL, add the directory and drop that entry. *

    * Each thing this version migrates lives in its own private method called from {@link #apply()}, with the constants @@ -39,7 +39,7 @@ import static org.thingsboard.server.dao.trendz.TrendzSyncService.TRENDZ_API_KEY @Component @TbCoreComponent @RequiredArgsConstructor -public class V4_3_1_5Migration implements LtsMigration { +public class V4_3_1_5Migration implements Migration { private final ApiKeyService apiKeyService; @@ -50,7 +50,7 @@ public class V4_3_1_5Migration implements LtsMigration { /** * Runs in the same transaction as the version's schema SQL on the no-downtime path, and outside any transaction - * on the offline path (see {@link LtsMigration#apply}). Every step below must therefore be light enough to sit in + * on the offline path (see {@link Migration#apply}). Every step below must therefore be light enough to sit in * a schema transaction, and idempotent, since a crash before the version is recorded re-runs it. */ @Override diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_6Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_6Migration.java index 1756033ef1..434394b586 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_6Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_3_1_6Migration.java @@ -20,7 +20,7 @@ import java.util.UUID; @Component @TbCoreComponent @RequiredArgsConstructor -public class V4_3_1_6Migration implements LtsMigration { +public class V4_3_1_6Migration implements Migration { private final JdbcTemplate jdbcTemplate; diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_0_0Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_0_0Migration.java index a9e4b47e05..3341520dd1 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_0_0Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_0_0Migration.java @@ -19,30 +19,30 @@ import java.util.UUID; * Registration-only migration with no {@link #apply()} (no data migration), plus an {@link #applyAfterCommit()} * backfill that closes the pre-existing legacy stuck-RPC backlog. *

    - * {@link LtsMigrationService} selects migrations from the injected {@link LtsMigration} beans, not from the + * {@link MigrationService} selects migrations from the injected {@link Migration} beans, not from the * on-disk {@code data/upgrade/lts//} directories. So this bean is what makes the runner discover * version {@code 4.4.0.0} and execute its {@code data/upgrade/lts/4.4.0.0/schema_update.sql}, which -- among the * other 4.4 changes -- adds the nullable {@code rpc.request_id} and {@code rpc.oneway} columns. *

    * The RPC change rides the {@code 4.4.0.0} slot rather than a 4.3/4.2-family one because it ships in 4.4 only. * {@code 4.3.1.4} is already released (and, in PE, already carries the {@code entity_alarm.originator_id} - * backfill), and {@link LtsVersion#isInRange} is exclusive at the lower bound -- so an installation already on + * backfill), and {@link Version#isInRange} is exclusive at the lower bound -- so an installation already on * {@code 4.3.1.4} would never re-run that version. Every supported upgrade source ({@code 4.3.0.x}, * {@code 4.3.1.x}) is below {@code 4.4.0.0}, so all of them select this migration exactly once. *

    - * The dir/bean consistency (both ways) is guarded by a test in {@code LtsMigrationIntegrationTest}. + * The dir/bean consistency (both ways) is guarded by a test in {@code MigrationIntegrationTest}. *

    * {@link #applyAfterCommit()} closes rows left stuck by earlier server versions that predate {@code request_id} * tracking: any {@code rpc} row with {@code request_id IS NULL} that is past its expiration and still sitting in * {@code SENT} or {@code TIMEOUT}, or in {@code DELIVERED} for a two-way call (one-way {@code DELIVERED} is already terminal * success), is force-closed to {@code EXPIRED} with a canned response. It walks the {@code rpc} table by primary * key in keyset-paginated, self-committing batches so it never holds a long transaction or blocks concurrent - * readers/writers; see the class-level backfill contract on {@link LtsMigration#applyAfterCommit()}. + * readers/writers; see the class-level backfill contract on {@link Migration#applyAfterCommit()}. */ @Slf4j @Component @TbCoreComponent -public class V4_4_0_0Migration implements LtsMigration { +public class V4_4_0_0Migration implements Migration { // Same wording as DeviceActorMessageProcessor.LEGACY_UNTRACKED_MESSAGE, so a row closed by this one-time // backfill reads identically to one closed live by the actor on reload. diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/LtsVersion.java b/application/src/main/java/org/thingsboard/server/service/install/lts/Version.java similarity index 80% rename from application/src/main/java/org/thingsboard/server/service/install/lts/LtsVersion.java rename to application/src/main/java/org/thingsboard/server/service/install/lts/Version.java index a46c556095..7abf7c3420 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/LtsVersion.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/Version.java @@ -3,9 +3,9 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.install.lts; -public record LtsVersion(int major, int minor, int maintenance, int patch) implements Comparable { +public record Version(int major, int minor, int maintenance, int patch) implements Comparable { - public static LtsVersion parse(String version) { + public static Version parse(String version) { if (version == null) { throw new IllegalArgumentException("Version is null"); } @@ -15,13 +15,13 @@ public record LtsVersion(int major, int minor, int maintenance, int patch) imple int minor = parts.length > 1 ? Integer.parseInt(parts[1]) : 0; int maintenance = parts.length > 2 ? Integer.parseInt(parts[2]) : 0; int patch = parts.length > 3 ? Integer.parseInt(parts[3]) : 0; - return new LtsVersion(major, minor, maintenance, patch); + return new Version(major, minor, maintenance, patch); } catch (NumberFormatException e) { throw new IllegalArgumentException("Invalid version: " + version, e); } } - public boolean sameFamily(LtsVersion other) { + public boolean sameFamily(Version other) { return major == other.major && minor == other.minor; } @@ -29,20 +29,20 @@ public record LtsVersion(int major, int minor, int maintenance, int patch) imple * Half-open range check: {@code from < this <= to}. The lower bound is exclusive (a source already at * {@code from} has applied that version) and the upper bound inclusive (the target version's own migration runs). */ - public boolean isInRange(LtsVersion from, LtsVersion to) { + public boolean isInRange(Version from, Version to) { return compareTo(from) > 0 && compareTo(to) <= 0; } /** * Closed range check: {@code from <= this <= to}. Only for a run an operator has forced past its version check, - * where the source's own migration has to be re-run (see {@link LtsMigrationService}). + * where the source's own migration has to be re-run (see {@link MigrationService}). */ - public boolean isInClosedRange(LtsVersion from, LtsVersion to) { + public boolean isInClosedRange(Version from, Version to) { return compareTo(from) >= 0 && compareTo(to) <= 0; } @Override - public int compareTo(LtsVersion o) { + public int compareTo(Version o) { int c = Integer.compare(major, o.major); if (c != 0) { return c; diff --git a/application/src/main/java/org/thingsboard/server/service/install/update/DefaultDataUpdateService.java b/application/src/main/java/org/thingsboard/server/service/install/update/DefaultDataUpdateService.java index e01e9b92b5..eb9ddb2c6a 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/update/DefaultDataUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/install/update/DefaultDataUpdateService.java @@ -55,7 +55,7 @@ import org.thingsboard.server.service.component.RuleNodeClassInfo; import org.thingsboard.server.service.install.DatabaseSchemaSettingsService; import org.thingsboard.server.service.install.DbUpgradeExecutorService; import org.thingsboard.server.service.install.SystemDataLoaderService; -import org.thingsboard.server.service.install.lts.LtsMigrationService; +import org.thingsboard.server.service.install.lts.MigrationService; import org.thingsboard.server.utils.TbNodeUpgradeUtils; import java.lang.reflect.Field; @@ -99,7 +99,7 @@ public class DefaultDataUpdateService implements DataUpdateService { private final ComponentDiscoveryService componentDiscoveryService; private final DbUpgradeExecutorService executorService; private final DatabaseSchemaSettingsService schemaSettingsService; - private final LtsMigrationService ltsMigrationService; + private final MigrationService migrationService; @Override public void updateData(boolean fromCe) throws Exception { @@ -109,7 +109,7 @@ public class DefaultDataUpdateService implements DataUpdateService { } //TODO: should be cleaned after each release backfillForExistingTenants(); - ltsMigrationService.runDataMigrations(schemaSettingsService.getDbSchemaVersion(), schemaSettingsService.getPackageSchemaVersion(), + migrationService.runDataMigrations(schemaSettingsService.getDbSchemaVersion(), schemaSettingsService.getPackageSchemaVersion(), schemaSettingsService.isForcedReUpgrade()); log.info("Data updated."); } diff --git a/application/src/main/java/org/thingsboard/server/service/system/SystemPatchApplier.java b/application/src/main/java/org/thingsboard/server/service/system/SystemPatchApplier.java index 50b2cd3b7b..bafaee6a3f 100644 --- a/application/src/main/java/org/thingsboard/server/service/system/SystemPatchApplier.java +++ b/application/src/main/java/org/thingsboard/server/service/system/SystemPatchApplier.java @@ -23,8 +23,8 @@ import org.thingsboard.server.dao.widget.WidgetsBundleService; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.install.DatabaseSchemaSettingsService; import org.thingsboard.server.service.install.InstallScripts; -import org.thingsboard.server.service.install.lts.LtsMigrationService; -import org.thingsboard.server.service.install.lts.LtsVersion; +import org.thingsboard.server.service.install.lts.MigrationService; +import org.thingsboard.server.service.install.lts.Version; import org.thingsboard.server.service.install.update.DefaultDataUpdateService; import java.io.IOException; @@ -64,7 +64,7 @@ public class SystemPatchApplier { private final WidgetTypeService widgetTypeService; private final WidgetsBundleService widgetsBundleService; private final ImageService imageService; - private final LtsMigrationService ltsMigrationService; + private final MigrationService migrationService; @PostConstruct private void init() { @@ -100,7 +100,7 @@ public class SystemPatchApplier { // skipVersionCheck got us here with the database possibly already at the package version, where the // default half-open selection would be empty: pass it on so that run still applies the stored version's // own migration. - List appliedVersions = ltsMigrationService.applyMigrations(dbVersion, packageVersion, skipVersionCheck, () -> { + List appliedVersions = migrationService.applyMigrations(dbVersion, packageVersion, skipVersionCheck, () -> { // Between the schema and backfill phases: the schema phase may have added columns these definitions // reference, and the refreshed definitions are then in effect for the whole backfill run. Each file // is one jdbcTemplate.execute, so PostgreSQL runs it in a single implicit transaction and other @@ -124,7 +124,7 @@ public class SystemPatchApplier { int createdImages = createMissingSystemImages(); log.info("Created {} new system images", createdImages); - ltsMigrationService.recordVersions(appliedVersions); + migrationService.recordVersions(appliedVersions); schemaSettingsService.updateSchemaVersion(); log.info("System data patch update completed successfully"); @@ -139,11 +139,11 @@ public class SystemPatchApplier { log.trace("Package version: {}, DB schema version: {}", packageVersion, dbVersion); - LtsVersion packageVersionInfo; - LtsVersion dbVersionInfo; + Version packageVersionInfo; + Version dbVersionInfo; try { - packageVersionInfo = LtsVersion.parse(packageVersion); - dbVersionInfo = LtsVersion.parse(dbVersion); + packageVersionInfo = Version.parse(packageVersion); + dbVersionInfo = Version.parse(dbVersion); } catch (IllegalArgumentException e) { log.warn("Unable to parse versions. Package: {}, DB: {}", packageVersion, dbVersion); return false; diff --git a/application/src/test/java/org/thingsboard/server/install/ThingsboardInstallServiceTest.java b/application/src/test/java/org/thingsboard/server/install/ThingsboardInstallServiceTest.java index 8591952462..d45fdf064d 100644 --- a/application/src/test/java/org/thingsboard/server/install/ThingsboardInstallServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/install/ThingsboardInstallServiceTest.java @@ -134,7 +134,7 @@ class ThingsboardInstallServiceTest { installService.performInstall(); - // The LTS files the chain applies reference PE-only tables and each of them runs as a single transaction, + // The migration files the chain applies reference PE-only tables and each of them runs as a single transaction, // so a converted CE database must be given those tables before the chain runs rather than after it. InOrder inOrder = inOrder(entityDatabaseSchemaService, databaseEntitiesUpgradeService, dataUpdateService); inOrder.verify(entityDatabaseSchemaService).createDatabaseSchema(false); diff --git a/application/src/test/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsServiceTest.java b/application/src/test/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsServiceTest.java index 2fc1d1a7fd..d412245ea4 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/DefaultDatabaseSchemaSettingsServiceTest.java @@ -23,8 +23,8 @@ import static org.mockito.Mockito.when; @MockitoSettings(strictness = Strictness.LENIENT) class DefaultDatabaseSchemaSettingsServiceTest { - private static final String PACKAGE_VERSION = "4.4.0"; - private static final long V_4_3_1_4 = 4_003_001_004L; + private static final String PACKAGE_VERSION = "4.4.1"; + private static final long V_4_3_1_6 = 4_003_001_006L; @Mock private ProjectInfo projectInfo; @@ -49,7 +49,7 @@ class DefaultDatabaseSchemaSettingsServiceTest { @Test void aCeDatabaseAtTheSupportedVersionIsAcceptedAndTakesTheConversionBranch() { - givenSchemaSettings("CE", V_4_3_1_4); + givenSchemaSettings("CE", V_4_3_1_6); service.validateSchemaSettings(); @@ -58,7 +58,7 @@ class DefaultDatabaseSchemaSettingsServiceTest { @Test void aPeDatabaseAtASupportedVersionIsAcceptedAndTakesThePlainUpgradeBranch() { - givenSchemaSettings("PE", V_4_3_1_4); + givenSchemaSettings("PE", V_4_3_1_6); service.validateSchemaSettings(); @@ -68,7 +68,7 @@ class DefaultDatabaseSchemaSettingsServiceTest { @Test void aCeDatabaseOnALaterPatchOfTheSupportedLineIsAlsoAccepted() { // 4.3 keeps receiving patches, so the CE floor is a minimum rather than a single release. - givenSchemaSettings("CE", 4_003_001_005L); + givenSchemaSettings("CE", 4_003_001_007L); service.validateSchemaSettings(); @@ -77,7 +77,7 @@ class DefaultDatabaseSchemaSettingsServiceTest { @Test void aCeDatabaseNewerThanThePePackageIsRejected() { - givenSchemaSettings("CE", 4_004_000_001L); + givenSchemaSettings("CE", 4_004_002_000L); assertThatThrownBy(() -> service.validateSchemaSettings()) .hasMessageContaining("newer than this ThingsBoard PE package"); @@ -85,22 +85,53 @@ class DefaultDatabaseSchemaSettingsServiceTest { @Test void aCeDatabaseBelowTheSupportedVersionIsRejectedAtTheWall() { - // 4.3.0.0: within the versions the PE branch accepts, but below the CE release that converts. - givenSchemaSettings("CE", 4_003_000_000L); + // 4.3.1.5: within the versions the PE branch accepts, but below the CE release that converts. + givenSchemaSettings("CE", 4_003_001_005L); assertThatThrownBy(() -> service.validateSchemaSettings()) .hasMessageContaining("transitioning from CE to PE") - .hasMessageContaining("4.3.1.4"); + .hasMessageContaining("4.3.1.6"); } @Test void aPeDatabaseAlreadyAtThePackageVersionIsRejected() { - givenSchemaSettings("PE", 4_004_000_000L); + givenSchemaSettings("PE", 4_004_001_000L); assertThatThrownBy(() -> service.validateSchemaSettings()) .hasMessageContaining("already upgraded to current version"); } + @Test + void aPeDatabaseAtTheFirstVersionOfTheSupportedFamilyIsAccepted() { + givenSchemaSettings("PE", 4_003_000_000L); + + service.validateSchemaSettings(); + } + + @Test + void aPeDatabaseOnAFutureMaintenanceVersionOfTheSupportedFamilyIsAccepted() { + givenSchemaSettings("PE", 4_003_002_000L); + + service.validateSchemaSettings(); + } + + @Test + void aPeDatabaseOnAnOlderVersionOfThePackageFamilyIsRejectedAsNotNeedingAnUpgrade() { + givenSchemaSettings("PE", 4_004_000_001L); + + assertThatThrownBy(() -> service.validateSchemaSettings()) + .hasMessageContaining("same LTS family") + .hasMessageContaining("applied automatically when ThingsBoard starts"); + } + + @Test + void aPeDatabaseOnANewerVersionOfThePackageFamilyIsRejected() { + givenSchemaSettings("PE", 4_004_002_000L); + + assertThatThrownBy(() -> service.validateSchemaSettings()) + .hasMessageContaining("is not supported for upgrade"); + } + @Test void aPeDatabaseAtAnUnsupportedVersionIsRejected() { givenSchemaSettings("PE", 4_002_002_000L); @@ -113,7 +144,7 @@ class DefaultDatabaseSchemaSettingsServiceTest { void aDatabaseWithAnUnknownProductMarkerIsRejected() { // Neither CE nor PE: unchecked, the marker would silently select the PE branch and the CE-to-PE // conversion would be skipped on a database that needs it. - givenSchemaSettings("TB", V_4_3_1_4); + givenSchemaSettings("TB", V_4_3_1_6); assertThatThrownBy(() -> service.validateSchemaSettings()) .hasMessageContaining("unrecognized product"); @@ -121,7 +152,7 @@ class DefaultDatabaseSchemaSettingsServiceTest { @Test void aDatabaseWithoutAProductMarkerIsRejected() { - givenSchemaSettings(null, V_4_3_1_4); + givenSchemaSettings(null, V_4_3_1_6); assertThatThrownBy(() -> service.validateSchemaSettings()) .hasMessageContaining("unrecognized product"); @@ -131,7 +162,7 @@ class DefaultDatabaseSchemaSettingsServiceTest { void anUnrecognizedProductMarkerIsRejectedByTheBranchSelectorItself() { // The guard has to live where the branch is chosen: validateSchemaSettings() returns early when // SKIP_SCHEMA_VERSION_CHECK is set, and the upgrade then asks isUpgradeFromCe() regardless. - givenSchemaSettings("TB", V_4_3_1_4); + givenSchemaSettings("TB", V_4_3_1_6); assertThatThrownBy(() -> service.isUpgradeFromCe()) .hasMessageContaining("unrecognized product"); @@ -139,7 +170,7 @@ class DefaultDatabaseSchemaSettingsServiceTest { @Test void aMissingProductMarkerIsRejectedByTheBranchSelectorItself() { - givenSchemaSettings(null, V_4_3_1_4); + givenSchemaSettings(null, V_4_3_1_6); assertThatThrownBy(() -> service.isUpgradeFromCe()) .hasMessageContaining("unrecognized product"); diff --git a/application/src/test/java/org/thingsboard/server/service/install/PeUpgradeAlarmShardingIntegrationTest.java b/application/src/test/java/org/thingsboard/server/service/install/PeUpgradeAlarmShardingIntegrationTest.java index 3105391880..d13a14fb84 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/PeUpgradeAlarmShardingIntegrationTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/PeUpgradeAlarmShardingIntegrationTest.java @@ -19,7 +19,7 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** - * CE-to-PE twin of the 4.3.1.4 alarm-sharding coverage in {@code LtsMigrationIntegrationTest}: the same schema + * CE-to-PE twin of the 4.3.1.4 alarm-sharding coverage in {@code MigrationIntegrationTest}: the same schema * change (alarm_comment FK drop, entity_alarm.originator_id ADD COLUMN) plus the deliberately single-statement * originator backfill live in upgrade/pe/schema_update.sql and are executed by no other test. The whole file is * idempotent by design (SqlDatabaseUpgradeService sends it as one execute), so the test runs it verbatim — twice, diff --git a/application/src/test/java/org/thingsboard/server/service/install/PeUpgradeChainIntegrationTest.java b/application/src/test/java/org/thingsboard/server/service/install/PeUpgradeChainIntegrationTest.java index 526c7cdccd..131cb96444 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/PeUpgradeChainIntegrationTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/PeUpgradeChainIntegrationTest.java @@ -35,7 +35,7 @@ import org.thingsboard.server.dao.tenant.TenantService; import org.thingsboard.server.dao.user.UserService; import org.thingsboard.server.dao.wl.WhiteLabelingService; import org.thingsboard.server.service.component.ComponentDiscoveryService; -import org.thingsboard.server.service.install.lts.LtsMigrationService; +import org.thingsboard.server.service.install.lts.MigrationService; import org.thingsboard.server.service.install.update.DefaultDataUpdateService; import java.util.ArrayList; @@ -55,7 +55,7 @@ import static org.mockito.Mockito.when; /** * Two parts of the offline upgrade driven against a real database: the CE-to-PE data conversion * ({@code updateData(true)}) replayed the way a crashed conversion replays it, and a PE database stamped at a - * pre-4.4 version taken to the package version by the real LTS chain ({@code upgradeDatabase(false)}), from the + * pre-4.4 version taken to the package version by the real migration chain ({@code upgradeDatabase(false)}), from the * position the chain now runs from for both sources. *

    * What is not here is the CE schema fork, {@code upgradeDatabase(true)}. The fixture below builds CE-shaped @@ -81,7 +81,7 @@ public class PeUpgradeChainIntegrationTest extends AbstractControllerTest { private static final List COUNTED_TABLES = List.of( "entity_group", "relation", "tenant", "customer", "tb_user", "device", "asset", "dashboard"); - // Columns added by the LTS files the chain selects. report is the PE-only table the whole ordering fix exists + // Columns added by the migration files the chain selects. report is the PE-only table the whole ordering fix exists // for, so its two 4.4 columns are in the set even though report_info_view's SELECT r.* captures them. private static final List V_4_3_1_2_COLUMNS = List.of( new Column("calculated_field", "additional_info", "varchar"), @@ -104,7 +104,7 @@ public class PeUpgradeChainIntegrationTest extends AbstractControllerTest { @Autowired private InstallScripts installScripts; @Autowired - private LtsMigrationService ltsMigrationService; + private MigrationService migrationService; @Autowired private PlatformTransactionManager transactionManager; @@ -281,8 +281,8 @@ public class PeUpgradeChainIntegrationTest extends AbstractControllerTest { /** * The real conversion, wired to the real DAO services. Only the collaborators outside it are stood in for: - * the two install-profile beans a test context does not have, and the LTS data phase, which - * {@link org.thingsboard.server.service.install.lts.LtsMigrationIntegrationTest} owns. + * the two install-profile beans a test context does not have, and the migration data phase, which + * {@link org.thingsboard.server.service.install.lts.MigrationIntegrationTest} owns. */ private DefaultDataUpdateService ceDataUpdateService() { return new DefaultDataUpdateService(tenantService, relationService, ruleChainService, integrationService, @@ -290,7 +290,7 @@ public class PeUpgradeChainIntegrationTest extends AbstractControllerTest { dashboardService, entityViewService, edgeService, agentProfileService, mock(SystemDataLoaderService.class), mock(ComponentDiscoveryService.class), inlineUpgradeExecutor(), schemaSettingsStubbedAt("4.3.1.4"), - mock(LtsMigrationService.class)); + mock(MigrationService.class)); } /** @@ -310,7 +310,7 @@ public class PeUpgradeChainIntegrationTest extends AbstractControllerTest { /** The real schema upgrade, with only the version pair it is driven over stubbed. */ private SqlDatabaseUpgradeService upgradeService(String fromVersion) { return new SqlDatabaseUpgradeService(installScripts, jdbcTemplate, transactionManager, - schemaSettingsStubbedAt(fromVersion), ltsMigrationService); + schemaSettingsStubbedAt(fromVersion), migrationService); } private DatabaseSchemaSettingsService schemaSettingsStubbedAt(String dbVersion) { diff --git a/application/src/test/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeServiceTest.java b/application/src/test/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeServiceTest.java index 98e9ff24f9..4b79aa5c18 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeServiceTest.java @@ -12,7 +12,7 @@ import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.StatementCallback; import org.springframework.transaction.PlatformTransactionManager; -import org.thingsboard.server.service.install.lts.LtsMigrationService; +import org.thingsboard.server.service.install.lts.MigrationService; import java.io.IOException; import java.nio.file.Files; @@ -27,14 +27,13 @@ import static org.mockito.Mockito.when; /** * A converted CE database is at a CE version, not at the package version, so the CE-to-PE delta cannot be the whole - * schema upgrade: the delta gives the database the PE shape of the version it is already at, and the LTS chain then + * schema upgrade: the delta gives the database the PE shape of the version it is already at, and the migration chain then * has to take it the rest of the way exactly as it does for a PE source. */ @ExtendWith(MockitoExtension.class) class SqlDatabaseUpgradeServiceTest { private static final String PE_DELTA_SQL = "-- the CE to PE delta\n"; - private static final String BASIC_SQL = "-- the basic schema update\n"; private static final String DB_VERSION = "4.3.1.4"; private static final String PACKAGE_VERSION = "4.4.0.0"; @@ -47,7 +46,7 @@ class SqlDatabaseUpgradeServiceTest { @Mock private DatabaseSchemaSettingsService schemaSettingsService; @Mock - private LtsMigrationService ltsMigrationService; + private MigrationService migrationService; @Mock private Statement statement; @@ -60,24 +59,22 @@ class SqlDatabaseUpgradeServiceTest { @SuppressWarnings("unchecked") void setUp() throws IOException { writeSchemaUpdate("pe", PE_DELTA_SQL); - writeSchemaUpdate("basic", BASIC_SQL); when(installScripts.getDataDir()).thenReturn(dataDir.toString()); when(schemaSettingsService.getDbSchemaVersion()).thenReturn(DB_VERSION); when(schemaSettingsService.getPackageSchemaVersion()).thenReturn(PACKAGE_VERSION); // Run the callback the service passes, so the SQL it hands to the statement can be asserted on. when(jdbcTemplate.execute(any(StatementCallback.class))) .thenAnswer(invocation -> ((StatementCallback) invocation.getArgument(0)).doInStatement(statement)); - service = new SqlDatabaseUpgradeService(installScripts, jdbcTemplate, transactionManager, schemaSettingsService, ltsMigrationService); + service = new SqlDatabaseUpgradeService(installScripts, jdbcTemplate, transactionManager, schemaSettingsService, migrationService); } @Test void ceToPeUpgradeAppliesTheDeltaAndThenTheRestOfTheChain() throws Exception { service.upgradeDatabase(true); - InOrder inOrder = inOrder(statement, ltsMigrationService); + InOrder inOrder = inOrder(statement, migrationService); inOrder.verify(statement).execute(PE_DELTA_SQL); - inOrder.verify(statement).execute(BASIC_SQL); - inOrder.verify(ltsMigrationService).runSchemaMigrations(DB_VERSION, PACKAGE_VERSION, false); + inOrder.verify(migrationService).runSchemaMigrations(DB_VERSION, PACKAGE_VERSION, false); } @Test @@ -85,20 +82,18 @@ class SqlDatabaseUpgradeServiceTest { service.upgradeDatabase(false); verify(statement, never()).execute(PE_DELTA_SQL); - InOrder inOrder = inOrder(statement, ltsMigrationService); - inOrder.verify(statement).execute(BASIC_SQL); - inOrder.verify(ltsMigrationService).runSchemaMigrations(DB_VERSION, PACKAGE_VERSION, false); + verify(migrationService).runSchemaMigrations(DB_VERSION, PACKAGE_VERSION, false); } @Test - void aForcedReUpgradeIsCarriedIntoTheLtsMigrations() throws Exception { + void aForcedReUpgradeIsCarriedIntoTheMigrations() throws Exception { // The only test that can tell the flag apart from a hard-coded false: everywhere else it is Mockito's // default that the assertion reads back. when(schemaSettingsService.isForcedReUpgrade()).thenReturn(true); service.upgradeDatabase(false); - verify(ltsMigrationService).runSchemaMigrations(DB_VERSION, PACKAGE_VERSION, true); + verify(migrationService).runSchemaMigrations(DB_VERSION, PACKAGE_VERSION, true); } private void writeSchemaUpdate(String directory, String sql) throws IOException { diff --git a/application/src/test/java/org/thingsboard/server/service/install/SqlEntityDatabaseSchemaServiceClusterIdTest.java b/application/src/test/java/org/thingsboard/server/service/install/SqlEntityDatabaseSchemaServiceClusterIdTest.java index f8f1cd800d..74b22e8ec5 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/SqlEntityDatabaseSchemaServiceClusterIdTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/SqlEntityDatabaseSchemaServiceClusterIdTest.java @@ -130,7 +130,7 @@ class SqlEntityDatabaseSchemaServiceClusterIdTest extends AbstractPostgresContai .hasCauseInstanceOf(SQLException.class); } - /** The production DDL, not retyped: LtsMigrationIntegrationTest pins these constants against schema-entities.sql. */ + /** The production DDL, not retyped: MigrationIntegrationTest pins these constants against schema-entities.sql. */ private static List productionClusterDdl() { return List.of(TbClusterSchema.CREATE_CLUSTER_TABLE_QUERY, TbClusterSchema.CREATE_CLUSTER_SINGLE_ROW_INDEX_QUERY); } diff --git a/application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationIntegrationTest.java b/application/src/test/java/org/thingsboard/server/service/install/lts/MigrationIntegrationTest.java similarity index 95% rename from application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationIntegrationTest.java rename to application/src/test/java/org/thingsboard/server/service/install/lts/MigrationIntegrationTest.java index 8d2fdd61cc..4d0e570e04 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationIntegrationTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/lts/MigrationIntegrationTest.java @@ -48,7 +48,7 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; @DaoSqlTest -public class LtsMigrationIntegrationTest extends AbstractControllerTest { +public class MigrationIntegrationTest extends AbstractControllerTest { private static final long V_4_2_2_2 = 4_002_002_002L; private static final long V_4_2_2_3 = 4_002_002_003L; @@ -62,7 +62,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { private static final Set SQL_LESS_ALLOWED = Set.of("4.3.1.5"); @Autowired - private LtsMigrationService ltsMigrationService; + private MigrationService migrationService; @Autowired private WidgetsBundleService widgetsBundleService; @Autowired @@ -72,7 +72,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { @Autowired private InstallScripts installScripts; @Autowired - private List migrations; + private List migrations; @Autowired private V4_3_1_4Migration v4314Migration; @@ -135,7 +135,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { // applyMigrations returns the applied versions; recordVersions stamps them (see SystemPatchApplier for // where that call sits relative to its own sync work). - ltsMigrationService.recordVersions(ltsMigrationService.applyMigrations("4.2.2.2", "4.2.2.3", false, () -> {})); + migrationService.recordVersions(migrationService.applyMigrations("4.2.2.2", "4.2.2.3", false, () -> {})); // 1. The version's SQL ran: iot_hub_installed_item table now exists. assertTrue(tableExists("iot_hub_installed_item")); @@ -152,9 +152,9 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { @Test public void reRunFromCurrentVersionIsNoOp() { - ltsMigrationService.recordVersions(ltsMigrationService.applyMigrations("4.2.2.2", "4.2.2.3", false, () -> {})); + migrationService.recordVersions(migrationService.applyMigrations("4.2.2.2", "4.2.2.3", false, () -> {})); // Re-running from the now-current version selects an empty range — nothing changes, nothing throws. - ltsMigrationService.applyMigrations("4.2.2.3", "4.2.2.3", false, () -> {}); + migrationService.applyMigrations("4.2.2.3", "4.2.2.3", false, () -> {}); assertEquals(Long.valueOf(V_4_2_2_3), jdbcTemplate.queryForObject("SELECT schema_version FROM tb_schema_settings", Long.class)); @@ -169,7 +169,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { jdbcTemplate.execute("DROP TABLE IF EXISTS iot_hub_installed_item"); // Drive the offline major-upgrade path over the real supported range against the real DB. - ltsMigrationService.runSchemaMigrations("4.2.2.2", "4.2.2.3", false); + migrationService.runSchemaMigrations("4.2.2.2", "4.2.2.3", false); // (a) the schema effects landed: the table the 4.2.2.3 SQL creates now exists. assertTrue(tableExists("iot_hub_installed_item")); // (c) the offline schema phase records NO schema version -- the offline flow tracks the package version @@ -177,7 +177,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { assertEquals(Long.valueOf(V_4_2_2_2), jdbcTemplate.queryForObject("SELECT schema_version FROM tb_schema_settings", Long.class)); - ltsMigrationService.runDataMigrations("4.2.2.2", "4.2.2.3", false); + migrationService.runDataMigrations("4.2.2.2", "4.2.2.3", false); // (b) the data apply() ran: the obsolete bundle was deleted and its type marked deprecated. assertNull(widgetsBundleService.findWidgetsBundleByTenantIdAndAlias(TenantId.SYS_TENANT_ID, OBSOLETE_ALIAS)); WidgetTypeDetails type = widgetTypeService.findWidgetTypeDetailsById(TenantId.SYS_TENANT_ID, widgetTypeId); @@ -212,7 +212,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { try { // Drive the runner over a range whose target (4.3.1.2) selects only the 4.3.1.2 migration. - ltsMigrationService.applyMigrations("4.3.1.1", "4.3.1.2", false, () -> {}); + migrationService.applyMigrations("4.3.1.1", "4.3.1.2", false, () -> {}); // The 4.3.1.2 schema SQL ran: every PE-specific column and the unique constraint exist again. assertTrue(columnExists("api_usage_state", "ai")); @@ -256,7 +256,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { try { // Drive the runner over a range whose target (4.3.1.4) selects only the 4.3.1.4 migration. - ltsMigrationService.recordVersions(ltsMigrationService.applyMigrations("4.3.1.3", "4.3.1.4", false, () -> {})); + migrationService.recordVersions(migrationService.applyMigrations("4.3.1.3", "4.3.1.4", false, () -> {})); // The schema_update.sql ran: the alarm_comment -> alarm cascade FK is gone and the column is back. assertFalse(constraintExists("fk_alarm_comment_alarm_id")); @@ -327,7 +327,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { v4314Migration.batchSize = 3; try { // Drive the runner over a range whose target (4.3.1.4) selects only the 4.3.1.4 migration. - ltsMigrationService.applyMigrations("4.3.1.3", "4.3.1.4", false, () -> {}); + migrationService.applyMigrations("4.3.1.3", "4.3.1.4", false, () -> {}); // Every seeded row got ITS OWN alarm's originator, across all three windows and both boundaries. for (int i = 0; i < rowAlarms.size(); i++) { @@ -369,7 +369,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { jdbcTemplate.execute("DROP TABLE IF EXISTS tb_cluster"); assertFalse(tableExists("tb_cluster")); - ltsMigrationService.applyMigrations("4.3.1.5", "4.3.1.6", false, () -> {}); + migrationService.applyMigrations("4.3.1.5", "4.3.1.6", false, () -> {}); assertTrue(tableExists("tb_cluster")); assertEquals(Long.valueOf(1L), jdbcTemplate.queryForObject("SELECT COUNT(*) FROM tb_cluster", Long.class)); @@ -384,10 +384,10 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { try { UUID existing = UUID.randomUUID(); jdbcTemplate.execute("DROP TABLE IF EXISTS tb_cluster"); - ltsMigrationService.applyMigrations("4.3.1.5", "4.3.1.6", false, () -> {}); + migrationService.applyMigrations("4.3.1.5", "4.3.1.6", false, () -> {}); jdbcTemplate.update("UPDATE tb_cluster SET cluster_id = ?::uuid", existing.toString()); - ltsMigrationService.applyMigrations("4.3.1.5", "4.3.1.6", false, () -> {}); + migrationService.applyMigrations("4.3.1.5", "4.3.1.6", false, () -> {}); assertEquals(List.of(existing.toString()), jdbcTemplate.queryForList("SELECT cluster_id FROM tb_cluster", String.class)); @@ -472,7 +472,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { // The walk discovers by the same DDL forms the comparison parses, so a script whose tb_cluster block // was reformatted past those regexes would leave the compared set without a word - the one blind spot // a self-selecting scan has. These two always carry the shape, so they are the floor under it: - // upgrade/pe makes the table on a CE-to-PE conversion, the current LTS baseline on a fresh upgrade. + // upgrade/pe makes the table on a CE-to-PE conversion, the current baseline on a fresh upgrade. List required = List.of( upgradeDir().resolve(Paths.get("pe", SCHEMA_UPDATE_SQL)), upgradeDir().resolve(Paths.get("lts", "4.4.0.0", SCHEMA_UPDATE_SQL))); @@ -525,7 +525,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { /** * Every shipped script that carries a copy of the {@code tb_cluster} shape, found by walking the upgrade - * tree rather than from a list: the next LTS directory to touch the table would otherwise be checked by + * tree rather than from a list: the next migration directory to touch the table would otherwise be checked by * nothing while the test above read as proof of coverage. Discovery is by the DDL forms the comparison * itself parses, not by a mention of the table name - a script that only names it in a comment or deletes * from it says nothing about shape and would fail here for nothing. @@ -560,9 +560,9 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { assertFalse(tableExists("iot_hub_installed_item")); // Offline schema phase over the whole supported cross-family range. - ltsMigrationService.runSchemaMigrations("4.3.0.0", "4.4.0.0", false); + migrationService.runSchemaMigrations("4.3.0.0", "4.4.0.0", false); - // 4.4.0.0 baseline DDL landed (this is what used to live in basic/schema_update.sql)... + // 4.4.0.0 baseline DDL landed... assertTrue(columnExists("rule_chain", "notes")); // ...and the in-range older-family 4.3.1.x beans ran too. assertTrue(columnExists("calculated_field", "additional_info")); @@ -573,14 +573,14 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { public void migrationDirectoriesAndBeansStayInSyncBothWays() { Path ltsDir = Paths.get(installScripts.getDataDir(), "upgrade", "lts"); Set dirVersions = listDirVersions(ltsDir); - Set beanVersions = migrations.stream().map(LtsMigration::getVersion).collect(Collectors.toSet()); + Set beanVersions = migrations.stream().map(Migration::getVersion).collect(Collectors.toSet()); // Every on-disk migration directory must have a registered bean with the same version. // Otherwise select() (which iterates beans, not dirs) silently skips the SQL dir. Set dirsWithoutBean = dirVersions.stream() .filter(v -> !beanVersions.contains(v)) .collect(Collectors.toSet()); - assertTrue("Migration directories without a registered LtsMigration bean: " + dirsWithoutBean, + assertTrue("Migration directories without a registered Migration bean: " + dirsWithoutBean, dirsWithoutBean.isEmpty()); // Every registered bean must have a matching directory, unless it is explicitly allowed to be SQL-less. @@ -589,7 +589,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { .filter(v -> !dirVersions.contains(v)) .filter(v -> !SQL_LESS_ALLOWED.contains(v)) .collect(Collectors.toSet()); - assertTrue("Registered LtsMigration beans without a matching directory (and not SQL-less allowed): " + beansWithoutDir, + assertTrue("Registered Migration beans without a matching directory (and not SQL-less allowed): " + beansWithoutDir, beansWithoutDir.isEmpty()); } @@ -602,7 +602,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { .map(p -> p.getFileName().toString()) .collect(Collectors.toSet()); } catch (IOException e) { - throw new UncheckedIOException("Failed to list LTS migration directories: " + ltsDir, e); + throw new UncheckedIOException("Failed to list migration directories: " + ltsDir, e); } } @@ -686,7 +686,7 @@ public class LtsMigrationIntegrationTest extends AbstractControllerTest { } private static String readResource(String name) { - try (InputStream in = LtsMigrationIntegrationTest.class.getClassLoader().getResourceAsStream(name)) { + try (InputStream in = MigrationIntegrationTest.class.getClassLoader().getResourceAsStream(name)) { assertNotNull(name + " on the test classpath", in); return new String(in.readAllBytes(), StandardCharsets.UTF_8); } catch (IOException e) { diff --git a/application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationServiceTest.java b/application/src/test/java/org/thingsboard/server/service/install/lts/MigrationServiceTest.java similarity index 85% rename from application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationServiceTest.java rename to application/src/test/java/org/thingsboard/server/service/install/lts/MigrationServiceTest.java index f9fe083fe7..4245e47206 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/lts/MigrationServiceTest.java @@ -28,7 +28,7 @@ import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -class LtsMigrationServiceTest { +class MigrationServiceTest { private JdbcTemplate jdbcTemplate; private InstallScripts installScripts; @@ -55,24 +55,24 @@ class LtsMigrationServiceTest { } /** Records which apply() hooks fired, in order. */ - private LtsMigration migration(String version, List applied) { - return new LtsMigration() { + private Migration migration(String version, List applied) { + return new Migration() { @Override public String getVersion() { return version; } @Override public void apply() { applied.add(version); } }; } /** Records apply() and applyAfterCommit() calls (distinctly tagged) into a single shared ordered list. */ - private LtsMigration migrationWithAfterCommit(String version, List sequence) { - return new LtsMigration() { + private Migration migrationWithAfterCommit(String version, List sequence) { + return new Migration() { @Override public String getVersion() { return version; } @Override public void apply() { sequence.add("apply(" + version + ")"); } @Override public void applyAfterCommit() { sequence.add("applyAfterCommit(" + version + ")"); } }; } - private LtsMigrationService service(List migrations) { - return new LtsMigrationService(jdbcTemplate, installScripts, schemaSettingsService, txManager, migrations); + private MigrationService service(List migrations) { + return new MigrationService(jdbcTemplate, installScripts, schemaSettingsService, txManager, migrations); } @Test @@ -81,7 +81,7 @@ class LtsMigrationServiceTest { writeSql("4.2.2.3", "SELECT 1;"); writeSql("4.2.2.4", "SELECT 2;"); // intentionally unsorted input; service must sort ascending - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( migration("4.2.2.4", applied), migration("4.2.2.2", applied), migration("4.2.2.3", applied))); @@ -100,7 +100,7 @@ class LtsMigrationServiceTest { List applied = new ArrayList<>(); writeSql("4.2.2.3", "SELECT 1;"); writeSql("4.2.2.4", "SELECT 2;"); - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( migration("4.2.2.3", applied), migration("4.2.2.4", applied))); List appliedVersions = service.applyMigrations("4.2.2.2", "4.2.2.4", false, () -> {}); @@ -117,7 +117,7 @@ class LtsMigrationServiceTest { // A cross-family 4.3 -> 4.4 offline upgrade now runs the real in-range 4.3.1.x beans (the source has // not passed them) alongside the new 4.4 baseline bean -- each exactly once. No 4.4-family bean // reproduces the 4.3.1.x work anymore. - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( migration("4.2.2.3", applied), migration("4.3.1.2", applied), migration("4.3.1.3", applied), @@ -132,7 +132,7 @@ class LtsMigrationServiceTest { @Test void applyMigrationsRunsAndReturnsEachInRangeVersionOnCrossFamilyUpgrade() { List applied = new ArrayList<>(); - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( migration("4.2.2.3", applied), migration("4.3.1.2", applied), migration("4.3.1.3", applied), @@ -152,7 +152,7 @@ class LtsMigrationServiceTest { writeSql("4.3.1.2", "SELECT 2;"); writeSql("4.3.1.3", "SELECT 3;"); writeSql("4.4.0.0", "SELECT 4;"); - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( migration("4.2.2.3", applied), migration("4.3.1.2", applied), migration("4.3.1.3", applied), @@ -169,46 +169,46 @@ class LtsMigrationServiceTest { @Test void isInRangePredicate() { - LtsVersion from = LtsVersion.parse("4.3.1.1"); - LtsVersion to = LtsVersion.parse("4.3.1.3"); + Version from = Version.parse("4.3.1.1"); + Version to = Version.parse("4.3.1.3"); // within-family in range - assertTrue(LtsVersion.parse("4.3.1.2").isInRange(from, to)); + assertTrue(Version.parse("4.3.1.2").isInRange(from, to)); // the target itself (upper boundary, inclusive) assertTrue(to.isInRange(from, to)); // at from (lower boundary, exclusive) assertFalse(from.isInRange(from, to)); // below from - assertFalse(LtsVersion.parse("4.3.1.0").isInRange(from, to)); + assertFalse(Version.parse("4.3.1.0").isInRange(from, to)); // above to - assertFalse(LtsVersion.parse("4.3.1.4").isInRange(from, to)); + assertFalse(Version.parse("4.3.1.4").isInRange(from, to)); // Cross-family: an in-range older-family bean IS now selected (the whole point of the loosened filter), // as is the target-family baseline; only a bean below `from` stays out of range. - LtsVersion crossFrom = LtsVersion.parse("4.3.0.0"); - LtsVersion crossTo = LtsVersion.parse("4.4.0.0"); - assertTrue(LtsVersion.parse("4.3.1.3").isInRange(crossFrom, crossTo)); + Version crossFrom = Version.parse("4.3.0.0"); + Version crossTo = Version.parse("4.4.0.0"); + assertTrue(Version.parse("4.3.1.3").isInRange(crossFrom, crossTo)); assertTrue(crossTo.isInRange(crossFrom, crossTo)); - assertFalse(LtsVersion.parse("4.2.2.3").isInRange(crossFrom, crossTo)); + assertFalse(Version.parse("4.2.2.3").isInRange(crossFrom, crossTo)); } @Test void reproductionDuplicateBeanSitsBelowSupportedSourceFloor() { - // Load-bearing invariant (see LtsMigrationService.select): the only reproduction-duplicate pair is + // Load-bearing invariant (see MigrationService.select): the only reproduction-duplicate pair is // 4.2.2.3 <-> 4.3.1.3 (both do the solution-template / widget-bundle work). For the loosened (from, to] // filter to never select both in a single supported upgrade, the duplicate 4.2.2.3 must sit strictly - // below the minimum supported upgrade source. That floor is 4.3.0.0 (SUPPORTED_VERSIONS_FOR_UPGRADE). - LtsVersion duplicate = LtsVersion.parse("4.2.2.3"); - LtsVersion supportedSourceFloor = LtsVersion.parse("4.3.0.0"); + // below the minimum supported upgrade source. That floor is 4.3.0.0 (SUPPORTED_FAMILIES_FOR_UPGRADE). + Version duplicate = Version.parse("4.2.2.3"); + Version supportedSourceFloor = Version.parse("4.3.0.0"); assertTrue(duplicate.compareTo(supportedSourceFloor) < 0); // So on any supported cross-family upgrade (from >= floor), the duplicate is out of range. - assertFalse(duplicate.isInRange(supportedSourceFloor, LtsVersion.parse("4.4.0.0"))); + assertFalse(duplicate.isInRange(supportedSourceFloor, Version.parse("4.4.0.0"))); } @Test void reRunAtCurrentVersionIsNoOp() throws Exception { List applied = new ArrayList<>(); writeSql("4.2.2.3", "SELECT 1;"); - LtsMigrationService service = service(List.of(migration("4.2.2.3", applied))); + MigrationService service = service(List.of(migration("4.2.2.3", applied))); List appliedVersions = service.applyMigrations("4.2.2.3", "4.2.2.3", false, () -> {}); @@ -223,7 +223,7 @@ class LtsMigrationServiceTest { writeSql("4.3.1.3", "SELECT 1;"); writeSql("4.4.0.0", "SELECT 2;"); writeSql("4.4.0.1", "SELECT 3;"); - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( migration("4.3.1.3", applied), migration("4.4.0.0", applied), migration("4.4.0.1", applied))); // SKIP_SCHEMA_VERSION_CHECK on a database already at the package version: the point of the flag is that this @@ -238,7 +238,7 @@ class LtsMigrationServiceTest { @Test void forcedRunAtCurrentVersionReRunsThatVersionDataOnly() { List applied = new ArrayList<>(); - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( migration("4.3.1.3", applied), migration("4.4.0.0", applied), migration("4.4.0.1", applied))); service.runDataMigrations("4.4.0.0", "4.4.0.0", true); @@ -270,7 +270,7 @@ class LtsMigrationServiceTest { @Test void forcedApplyMigrationsAtCurrentVersionReRunsAndReturnsThatVersion() { List applied = new ArrayList<>(); - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( migration("4.3.1.3", applied), migration("4.4.0.0", applied), migration("4.4.0.1", applied))); // The no-downtime twin of the above: SKIP_PATCH_VERSION_CHECK got the patch past its version check with the @@ -301,14 +301,14 @@ class LtsMigrationServiceTest { @Test void isInClosedRangePredicate() { - LtsVersion from = LtsVersion.parse("4.3.1.1"); - LtsVersion to = LtsVersion.parse("4.3.1.3"); + Version from = Version.parse("4.3.1.1"); + Version to = Version.parse("4.3.1.3"); // both boundaries inclusive, unlike isInRange assertTrue(from.isInClosedRange(from, to)); assertTrue(to.isInClosedRange(from, to)); - assertTrue(LtsVersion.parse("4.3.1.2").isInClosedRange(from, to)); - assertFalse(LtsVersion.parse("4.3.1.0").isInClosedRange(from, to)); - assertFalse(LtsVersion.parse("4.3.1.4").isInClosedRange(from, to)); + assertTrue(Version.parse("4.3.1.2").isInClosedRange(from, to)); + assertFalse(Version.parse("4.3.1.0").isInClosedRange(from, to)); + assertFalse(Version.parse("4.3.1.4").isInClosedRange(from, to)); // a single-version range holds exactly that version assertTrue(to.isInClosedRange(to, to)); assertFalse(from.isInClosedRange(to, to)); @@ -318,7 +318,7 @@ class LtsMigrationServiceTest { void runSchemaMigrationsRunsSqlButNeverAppliesOrRecords() throws Exception { List applied = new ArrayList<>(); writeSql("4.2.2.3", "SELECT 1;"); - LtsMigrationService service = service(List.of(migration("4.2.2.3", applied))); + MigrationService service = service(List.of(migration("4.2.2.3", applied))); service.runSchemaMigrations("4.2.2.2", "4.2.2.3", false); @@ -331,7 +331,7 @@ class LtsMigrationServiceTest { void runDataMigrationsAppliesButNeverRunsSqlOrRecords() throws Exception { List applied = new ArrayList<>(); writeSql("4.2.2.3", "SELECT 1;"); - LtsMigrationService service = service(List.of(migration("4.2.2.3", applied))); + MigrationService service = service(List.of(migration("4.2.2.3", applied))); service.runDataMigrations("4.2.2.2", "4.2.2.3", false); @@ -344,7 +344,7 @@ class LtsMigrationServiceTest { void runDataMigrationsAppliesAndAppliesAfterCommitButNeverRunsSqlOrRecords() throws Exception { List sequence = new ArrayList<>(); writeSql("4.2.2.3", "SELECT 1;"); - LtsMigrationService service = service(List.of(migrationWithAfterCommit("4.2.2.3", sequence))); + MigrationService service = service(List.of(migrationWithAfterCommit("4.2.2.3", sequence))); service.runDataMigrations("4.2.2.2", "4.2.2.3", false); @@ -356,7 +356,7 @@ class LtsMigrationServiceTest { @Test void migrationWithoutSqlFileStillAppliesAndReturnsVersion() { List applied = new ArrayList<>(); - LtsMigrationService service = service(List.of(migration("4.2.2.3", applied))); + MigrationService service = service(List.of(migration("4.2.2.3", applied))); List appliedVersions = service.applyMigrations("4.2.2.2", "4.2.2.3", false, () -> {}); @@ -368,7 +368,7 @@ class LtsMigrationServiceTest { @Test void applyMigrationsNeverCallsUpdateSchemaVersionItself() { List applied = new ArrayList<>(); - LtsMigrationService service = service(List.of(migration("4.2.2.3", applied))); + MigrationService service = service(List.of(migration("4.2.2.3", applied))); service.applyMigrations("4.2.2.2", "4.2.2.3", false, () -> {}); @@ -381,7 +381,7 @@ class LtsMigrationServiceTest { List events = new ArrayList<>(); Mockito.doAnswer(invocation -> events.add("record:" + invocation.getArgument(0))) .when(schemaSettingsService).updateSchemaVersion(anyString()); - LtsMigrationService service = service(List.of()); + MigrationService service = service(List.of()); service.recordVersions(List.of("4.3.1.2", "4.3.1.3")); @@ -389,8 +389,8 @@ class LtsMigrationServiceTest { } // Records apply() and applyAfterCommit() into a shared, ordered event log so their sequence can be asserted. - private LtsMigration recordingMigration(String version, List events) { - return new LtsMigration() { + private Migration recordingMigration(String version, List events) { + return new Migration() { @Override public String getVersion() { return version; } @Override public void apply() { events.add("apply:" + version); } @Override public void applyAfterCommit() { events.add("afterCommit:" + version); } @@ -400,7 +400,7 @@ class LtsMigrationServiceTest { @Test void applyMigrationsRunsApplyThenAfterCommitAndReturnsTheAppliedVersion() { List events = new ArrayList<>(); - LtsMigrationService service = service(List.of(recordingMigration("4.3.1.3", events))); + MigrationService service = service(List.of(recordingMigration("4.3.1.3", events))); List appliedVersions = service.applyMigrations("4.3.1.2", "4.3.1.3", false, () -> {}); @@ -411,7 +411,7 @@ class LtsMigrationServiceTest { @Test void applyMigrationsPropagatesAnAfterCommitFailureAndStampsNoVersion() { - LtsMigrationService service = service(List.of(new LtsMigration() { + MigrationService service = service(List.of(new Migration() { @Override public String getVersion() { return "4.3.1.3"; } @Override public void applyAfterCommit() { throw new IllegalStateException("backfill failed"); } })); @@ -427,7 +427,7 @@ class LtsMigrationServiceTest { List events = new ArrayList<>(); writeSql("4.3.1.2", "SELECT 1;"); writeSql("4.3.1.3", "SELECT 2;"); - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( recordingMigration("4.3.1.2", events), recordingMigration("4.3.1.3", events))); Runnable afterSchemaPhase = () -> events.add("replay"); @@ -447,7 +447,7 @@ class LtsMigrationServiceTest { @Test void applyMigrationsWithReplayNeverRunsBackfillOrReturnsWhenReplayThrows() { List events = new ArrayList<>(); - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( recordingMigration("4.3.1.2", events), recordingMigration("4.3.1.3", events))); Runnable afterSchemaPhase = () -> { throw new IllegalStateException("replay failed"); }; @@ -461,12 +461,12 @@ class LtsMigrationServiceTest { @Test void applyMigrationsReturnsNothingWhenALaterBackfillFailsEvenIfAnEarlierOneSucceeded() { List events = new ArrayList<>(); - LtsMigration first = recordingMigration("4.3.1.2", events); - LtsMigration second = new LtsMigration() { + Migration first = recordingMigration("4.3.1.2", events); + Migration second = new Migration() { @Override public String getVersion() { return "4.3.1.3"; } @Override public void applyAfterCommit() { throw new IllegalStateException("backfill failed"); } }; - LtsMigrationService service = service(List.of(first, second)); + MigrationService service = service(List.of(first, second)); // applyMigrations only returns its applied-versions list on a normal return; the second backfill throws // before that return, so the caller never learns the first one succeeded either, and recordVersions is @@ -481,7 +481,7 @@ class LtsMigrationServiceTest { @Test void runDataMigrationsRunsApplyThenAfterCommit() { List events = new ArrayList<>(); - LtsMigrationService service = service(List.of(recordingMigration("4.3.1.3", events))); + MigrationService service = service(List.of(recordingMigration("4.3.1.3", events))); service.runDataMigrations("4.3.1.2", "4.3.1.3", false); @@ -505,7 +505,7 @@ class LtsMigrationServiceTest { @Test void applyMigrationsRunsAllApplyThenAfterSchemaPhaseThenAllApplyAfterCommit() { List sequence = new ArrayList<>(); - LtsMigrationService service = service(List.of( + MigrationService service = service(List.of( migrationWithAfterCommit("4.2.2.3", sequence), migrationWithAfterCommit("4.2.2.4", sequence))); Runnable afterSchemaPhase = () -> sequence.add("afterSchemaPhase"); diff --git a/application/src/test/java/org/thingsboard/server/service/install/lts/V4_3_1_5MigrationTest.java b/application/src/test/java/org/thingsboard/server/service/install/lts/V4_3_1_5MigrationTest.java index 5bb0bb642e..c8ea0407c6 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/lts/V4_3_1_5MigrationTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/lts/V4_3_1_5MigrationTest.java @@ -69,7 +69,7 @@ class V4_3_1_5MigrationTest { } /** - * {@link LtsMigration#apply()} re-runs when a node crashes before the version is recorded, so a key that already + * {@link Migration#apply()} re-runs when a node crashes before the version is recorded, so a key that already * carries the operation must not be written again. */ @Test diff --git a/application/src/test/java/org/thingsboard/server/service/install/lts/LtsVersionTest.java b/application/src/test/java/org/thingsboard/server/service/install/lts/VersionTest.java similarity index 59% rename from application/src/test/java/org/thingsboard/server/service/install/lts/LtsVersionTest.java rename to application/src/test/java/org/thingsboard/server/service/install/lts/VersionTest.java index 82d7f0c76e..f5f352bb7f 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/lts/LtsVersionTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/lts/VersionTest.java @@ -12,7 +12,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; -class LtsVersionTest { +class VersionTest { @ParameterizedTest @CsvSource({ @@ -24,7 +24,7 @@ class LtsVersionTest { "10.20.30.40, 10, 20, 30, 40" }) void parsesValidVersions(String input, int major, int minor, int maintenance, int patch) { - LtsVersion v = LtsVersion.parse(input); + Version v = Version.parse(input); assertEquals(major, v.major()); assertEquals(minor, v.minor()); assertEquals(maintenance, v.maintenance()); @@ -34,32 +34,32 @@ class LtsVersionTest { @ParameterizedTest @ValueSource(strings = {"invalid", "a.b.c", "1.2.y.x", "1.x.3", ""}) void throwsOnInvalidVersions(String input) { - assertThrows(IllegalArgumentException.class, () -> LtsVersion.parse(input)); + assertThrows(IllegalArgumentException.class, () -> Version.parse(input)); } @Test void throwsOnNull() { - assertThrows(IllegalArgumentException.class, () -> LtsVersion.parse(null)); + assertThrows(IllegalArgumentException.class, () -> Version.parse(null)); } @Test void comparesByEachComponent() { - assertTrue(LtsVersion.parse("4.2.2.3").compareTo(LtsVersion.parse("4.2.2.2")) > 0); - assertTrue(LtsVersion.parse("4.2.2.0").compareTo(LtsVersion.parse("4.2.1.9")) > 0); - assertTrue(LtsVersion.parse("4.3.0.0").compareTo(LtsVersion.parse("4.2.9.9")) > 0); - assertEquals(0, LtsVersion.parse("4.2.2.3").compareTo(LtsVersion.parse("4.2.2.3"))); + assertTrue(Version.parse("4.2.2.3").compareTo(Version.parse("4.2.2.2")) > 0); + assertTrue(Version.parse("4.2.2.0").compareTo(Version.parse("4.2.1.9")) > 0); + assertTrue(Version.parse("4.3.0.0").compareTo(Version.parse("4.2.9.9")) > 0); + assertEquals(0, Version.parse("4.2.2.3").compareTo(Version.parse("4.2.2.3"))); } @Test void sameFamilyComparesMajorAndMinorOnly() { - assertTrue(LtsVersion.parse("4.2.2.3").sameFamily(LtsVersion.parse("4.2.0.0"))); - assertFalse(LtsVersion.parse("4.3.0.0").sameFamily(LtsVersion.parse("4.2.9.9"))); - assertFalse(LtsVersion.parse("5.2.0.0").sameFamily(LtsVersion.parse("4.2.0.0"))); + assertTrue(Version.parse("4.2.2.3").sameFamily(Version.parse("4.2.0.0"))); + assertFalse(Version.parse("4.3.0.0").sameFamily(Version.parse("4.2.9.9"))); + assertFalse(Version.parse("5.2.0.0").sameFamily(Version.parse("4.2.0.0"))); } @Test void toStringIsFourComponentDotForm() { - assertEquals("4.2.2.3", LtsVersion.parse("4.2.2.3").toString()); - assertEquals("4.2.0.0", LtsVersion.parse("4.2").toString()); + assertEquals("4.2.2.3", Version.parse("4.2.2.3").toString()); + assertEquals("4.2.0.0", Version.parse("4.2").toString()); } } diff --git a/application/src/test/java/org/thingsboard/server/service/install/update/DefaultDataUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/install/update/DefaultDataUpdateServiceTest.java index 201da09a4e..2e8020df80 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/update/DefaultDataUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/update/DefaultDataUpdateServiceTest.java @@ -32,7 +32,7 @@ import org.thingsboard.server.service.component.ComponentDiscoveryService; import org.thingsboard.server.service.install.DatabaseSchemaSettingsService; import org.thingsboard.server.service.install.DbUpgradeExecutorService; import org.thingsboard.server.service.install.SystemDataLoaderService; -import org.thingsboard.server.service.install.lts.LtsMigrationService; +import org.thingsboard.server.service.install.lts.MigrationService; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.atLeastOnce; @@ -42,7 +42,7 @@ import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; /** - * The CE-to-PE conversion is a step on the way to the package version, not an alternative to it: the LTS data + * The CE-to-PE conversion is a step on the way to the package version, not an alternative to it: the migration data * migrations have to run on a converted CE database too, or the conversion silently skips every data migration * between the CE source version and the package version. */ @@ -88,34 +88,34 @@ class DefaultDataUpdateServiceTest { @Mock private DatabaseSchemaSettingsService schemaSettingsService; @Mock - private LtsMigrationService ltsMigrationService; + private MigrationService migrationService; @InjectMocks private DefaultDataUpdateService service; @Test - void ceToPeUpgradeRunsTheLtsDataMigrationsAfterTheConversion() throws Exception { + void ceToPeUpgradeRunsTheDataMigrationsAfterTheConversion() throws Exception { givenAnEmptyDatabase(); service.updateData(true); - InOrder inOrder = inOrder(tenantService, ltsMigrationService); + InOrder inOrder = inOrder(tenantService, migrationService); inOrder.verify(tenantService, atLeastOnce()).findTenants(any(PageLink.class)); - inOrder.verify(ltsMigrationService).runDataMigrations(DB_VERSION, PACKAGE_VERSION, false); + inOrder.verify(migrationService).runDataMigrations(DB_VERSION, PACKAGE_VERSION, false); } @Test - void peUpgradeRunsOnlyTheLtsDataMigrations() throws Exception { + void peUpgradeRunsOnlyTheDataMigrations() throws Exception { givenAnEmptyDatabase(); service.updateData(false); verify(tenantService, never()).findTenants(any(PageLink.class)); - verify(ltsMigrationService).runDataMigrations(DB_VERSION, PACKAGE_VERSION, false); + verify(migrationService).runDataMigrations(DB_VERSION, PACKAGE_VERSION, false); } @Test - void aForcedReUpgradeIsCarriedIntoTheLtsMigrations() throws Exception { + void aForcedReUpgradeIsCarriedIntoTheMigrations() throws Exception { // The only test that can tell the flag apart from a hard-coded false: everywhere else it is Mockito's // default that the assertion reads back. givenAnEmptyDatabase(); @@ -123,7 +123,7 @@ class DefaultDataUpdateServiceTest { service.updateData(false); - verify(ltsMigrationService).runDataMigrations(DB_VERSION, PACKAGE_VERSION, true); + verify(migrationService).runDataMigrations(DB_VERSION, PACKAGE_VERSION, true); } private void givenAnEmptyDatabase() { diff --git a/application/src/test/java/org/thingsboard/server/system/SystemPatchApplierTest.java b/application/src/test/java/org/thingsboard/server/system/SystemPatchApplierTest.java index 53d4b887b7..a5589b36ce 100644 --- a/application/src/test/java/org/thingsboard/server/system/SystemPatchApplierTest.java +++ b/application/src/test/java/org/thingsboard/server/system/SystemPatchApplierTest.java @@ -29,7 +29,7 @@ import org.thingsboard.server.dao.widget.WidgetTypeService; import org.thingsboard.server.dao.widget.WidgetsBundleService; import org.thingsboard.server.service.install.DatabaseSchemaSettingsService; import org.thingsboard.server.service.install.InstallScripts; -import org.thingsboard.server.service.install.lts.LtsMigrationService; +import org.thingsboard.server.service.install.lts.MigrationService; import org.thingsboard.server.service.system.SystemPatchApplier; import java.nio.charset.StandardCharsets; @@ -84,7 +84,7 @@ public class SystemPatchApplierTest { private ImageService imageService; @Mock - private LtsMigrationService ltsMigrationService; + private MigrationService migrationService; @InjectMocks private SystemPatchApplier reconciler; @@ -492,7 +492,7 @@ public class SystemPatchApplierTest { // nested back inside that callback (round-1's defect), none of the three calls below would happen at all, // so this also proves the legs are NOT reached through it. List appliedVersions = List.of("4.3.1.0"); - when(ltsMigrationService.applyMigrations(eq("4.3.0.0"), eq("4.3.1.0"), eq(false), any())).thenReturn(appliedVersions); + when(migrationService.applyMigrations(eq("4.3.0.0"), eq("4.3.1.0"), eq(false), any())).thenReturn(appliedVersions); ReflectionTestUtils.invokeMethod(reconciler, "applyPatchIfNeeded"); @@ -500,12 +500,12 @@ public class SystemPatchApplierTest { // call returns and strictly before recordVersions and the final stamp, so a sync failure still blocks the // stamp instead of racing past it. Each leg's signal sits on a different mock, so one InOrder pins all three // at once. - InOrder inOrder = inOrder(ltsMigrationService, widgetTypeService, widgetsBundleService, imageService, schemaSettingsService); - inOrder.verify(ltsMigrationService).applyMigrations(eq("4.3.0.0"), eq("4.3.1.0"), eq(false), any()); + InOrder inOrder = inOrder(migrationService, widgetTypeService, widgetsBundleService, imageService, schemaSettingsService); + inOrder.verify(migrationService).applyMigrations(eq("4.3.0.0"), eq("4.3.1.0"), eq(false), any()); inOrder.verify(widgetTypeService).saveWidgetType(argThat(w -> "new_widget".equals(w.getFqn()))); inOrder.verify(widgetsBundleService).saveWidgetsBundle(argThat(b -> "New Title".equals(b.getTitle()))); inOrder.verify(imageService).createOrUpdateSystemImage(eq("new_icon.svg"), eq(imageBytes)); - inOrder.verify(ltsMigrationService).recordVersions(appliedVersions); + inOrder.verify(migrationService).recordVersions(appliedVersions); inOrder.verify(schemaSettingsService).updateSchemaVersion(); } @@ -524,7 +524,7 @@ public class SystemPatchApplierTest { ReflectionTestUtils.invokeMethod(reconciler, "applyPatchIfNeeded"); ArgumentCaptor betweenPhases = ArgumentCaptor.forClass(Runnable.class); - verify(ltsMigrationService).applyMigrations(eq("4.3.0.0"), eq("4.3.1.0"), eq(false), betweenPhases.capture()); + verify(migrationService).applyMigrations(eq("4.3.0.0"), eq("4.3.1.0"), eq(false), betweenPhases.capture()); String schemaViewsSql = Resources.toString(Resources.getResource("sql/schema-views.sql"), StandardCharsets.UTF_8); String schemaFunctionsSql = Resources.toString(Resources.getResource("sql/schema-functions.sql"), StandardCharsets.UTF_8); @@ -558,7 +558,7 @@ public class SystemPatchApplierTest { assertThrows(RuntimeException.class, () -> ReflectionTestUtils.invokeMethod(reconciler, "applyPatchIfNeeded")); - verify(ltsMigrationService, never()).recordVersions(any()); + verify(migrationService, never()).recordVersions(any()); verify(schemaSettingsService, never()).updateSchemaVersion(); } @@ -602,8 +602,8 @@ public class SystemPatchApplierTest { ReflectionTestUtils.invokeMethod(reconciler, "applyPatchIfNeeded"); - InOrder inOrder = inOrder(ltsMigrationService, schemaSettingsService); - inOrder.verify(ltsMigrationService).applyMigrations(eq("4.3.1.0"), eq("4.3.2.0"), eq(false), any()); + InOrder inOrder = inOrder(migrationService, schemaSettingsService); + inOrder.verify(migrationService).applyMigrations(eq("4.3.1.0"), eq("4.3.2.0"), eq(false), any()); inOrder.verify(schemaSettingsService).updateSchemaVersion(); } diff --git a/dao/src/main/resources/sql/schema-entities.sql b/dao/src/main/resources/sql/schema-entities.sql index 987c852ed0..0f55b4fae0 100644 --- a/dao/src/main/resources/sql/schema-entities.sql +++ b/dao/src/main/resources/sql/schema-entities.sql @@ -10,7 +10,7 @@ CREATE TABLE IF NOT EXISTS tb_instance_registry ( last_activity_ts bigint NOT NULL ); --- Also copied by the upgrade scripts that reach this table; LtsMigrationIntegrationTest keeps them in sync. +-- Also copied by the upgrade scripts that reach this table; MigrationIntegrationTest keeps them in sync. CREATE TABLE IF NOT EXISTS tb_cluster ( cluster_id uuid NOT NULL, license_secret varchar, From b74cdd59b7bcc6b092cce2df3cb803257e547408 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 15 Oct 2026 11:36:14 +0200 Subject: [PATCH 166/559] Move CE-style edge cutoff back to 4.4.1 --- .../agent/template/AppTemplateMaterializer.java | 4 ++-- .../service/agent/template/VersionFolders.java | 2 +- .../AgentAppTemplateSyncServiceTest.java | 16 ++++++++-------- .../template/AppTemplateMaterializerTest.java | 14 +++++++------- .../server/dao/edge/EdgeEditionStyle.java | 4 ++-- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/agent/template/AppTemplateMaterializer.java b/application/src/main/java/org/thingsboard/server/service/agent/template/AppTemplateMaterializer.java index 294b41f6b2..ac2cc725e6 100644 --- a/application/src/main/java/org/thingsboard/server/service/agent/template/AppTemplateMaterializer.java +++ b/application/src/main/java/org/thingsboard/server/service/agent/template/AppTemplateMaterializer.java @@ -169,8 +169,8 @@ public class AppTemplateMaterializer { /** * Load the compose body for {@code path}, taking the file from the newest version folder that has it. For version - * {@code 4.4.1} and {@code compose/edge/4.4/kafka.yml} with folders {@code 4.3, 4.4, 4.4.0.1} under - * {@code compose/edge}, this tries {@code compose/edge/4.4.0.1/kafka.yml}, then {@code compose/edge/4.4/kafka.yml}, + * {@code 4.4.2} and {@code compose/edge/4.4/kafka.yml} with folders {@code 4.3, 4.4, 4.4.1} under + * {@code compose/edge}, this tries {@code compose/edge/4.4.1/kafka.yml}, then {@code compose/edge/4.4/kafka.yml}, * then {@code compose/edge/4.3/kafka.yml}. Falls through to an error (so the version is skipped) only when no * candidate exists. */ diff --git a/application/src/main/java/org/thingsboard/server/service/agent/template/VersionFolders.java b/application/src/main/java/org/thingsboard/server/service/agent/template/VersionFolders.java index 7abcc2eb36..0dcc4e11f9 100644 --- a/application/src/main/java/org/thingsboard/server/service/agent/template/VersionFolders.java +++ b/application/src/main/java/org/thingsboard/server/service/agent/template/VersionFolders.java @@ -9,7 +9,7 @@ import java.util.List; import java.util.regex.Pattern; /** - * Version-named folders of the templates repo (e.g. {@code templates/since/4.4.0.1}, {@code compose/edge/4.4}): a + * Version-named folders of the templates repo (e.g. {@code templates/since/4.4.1}, {@code compose/edge/4.4}): a * folder applies to its own version and every later one, until a newer folder exists. */ final class VersionFolders { diff --git a/application/src/test/java/org/thingsboard/server/service/agent/template/AgentAppTemplateSyncServiceTest.java b/application/src/test/java/org/thingsboard/server/service/agent/template/AgentAppTemplateSyncServiceTest.java index 0c389ec57d..c77fa79cf2 100644 --- a/application/src/test/java/org/thingsboard/server/service/agent/template/AgentAppTemplateSyncServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/agent/template/AgentAppTemplateSyncServiceTest.java @@ -151,7 +151,7 @@ class AgentAppTemplateSyncServiceTest { } @Test - void appendEdgeVersionSuffixSwitchesToCeStyleFrom4401() { + void appendEdgeVersionSuffixSwitchesToCeStyleFrom441() { List result = AgentAppTemplateSyncService.appendEdgeVersionSuffix(List.of( new AppVersionDescriptor("4.3.1.6", "4.4.0", true), new AppVersionDescriptor("4.4.0", "4.4.0.1", false), @@ -159,9 +159,9 @@ class AgentAppTemplateSyncServiceTest { new AppVersionDescriptor("4.4.1", null, false))); assertThat(result).extracting(AppVersionDescriptor::getVersion) - .containsExactly("4.3.1.6EDGEPE", "4.4.0EDGEPE", "4.4.0.1EDGE", "4.4.1EDGE"); + .containsExactly("4.3.1.6EDGEPE", "4.4.0EDGEPE", "4.4.0.1EDGEPE", "4.4.1EDGE"); assertThat(result).extracting(AppVersionDescriptor::getNextVersion) - .containsExactly("4.4.0EDGEPE", "4.4.0.1EDGE", "4.4.1EDGE", null); + .containsExactly("4.4.0EDGEPE", "4.4.0.1EDGEPE", "4.4.1EDGE", null); } @Test @@ -175,19 +175,19 @@ class AgentAppTemplateSyncServiceTest { @Test void sinceFolderReplacesOnlyTheTemplatesItContains() { - AgentAppTemplateSyncService service = serviceWithTemplateFiles("4.4.0.1PE-SNAPSHOT"); + AgentAppTemplateSyncService service = serviceWithTemplateFiles("4.4.1PE-SNAPSHOT"); assertThat(service.getTemplateFiles()).extracting(RepoFile::path).containsExactlyInAnyOrder( - "templates/since/4.4.0.1/template-EDGE-DOCKER_COMPOSE.json", + "templates/since/4.4.1/template-EDGE-DOCKER_COMPOSE.json", "templates/template-GATEWAY-DOCKER_COMPOSE.json"); } @Test void versionWithoutItsOwnSinceFolderUsesTheNewestLowerOne() { - AgentAppTemplateSyncService service = serviceWithTemplateFiles("4.4.1"); + AgentAppTemplateSyncService service = serviceWithTemplateFiles("4.4.2"); assertThat(service.getTemplateFiles()).extracting(RepoFile::path).containsExactlyInAnyOrder( - "templates/since/4.4.0.1/template-EDGE-DOCKER_COMPOSE.json", + "templates/since/4.4.1/template-EDGE-DOCKER_COMPOSE.json", "templates/template-GATEWAY-DOCKER_COMPOSE.json"); } @@ -209,7 +209,7 @@ class AgentAppTemplateSyncServiceTest { file("templates/README.md"))); when(gitSyncService.listFiles("agent-app-templates", "templates/since", 3, FileType.FILE)).thenReturn(List.of( file("templates/since/4.9/template-EDGE-DOCKER_COMPOSE.json"), - file("templates/since/4.4.0.1/template-EDGE-DOCKER_COMPOSE.json"), + file("templates/since/4.4.1/template-EDGE-DOCKER_COMPOSE.json"), file("templates/since/4.5/template-GATEWAY-DOCKER_COMPOSE.json"), file("templates/since/4.11/template-GATEWAY-DOCKER_COMPOSE.json"), file("templates/since/draft/template-EDGE-DOCKER_COMPOSE.json"))); diff --git a/application/src/test/java/org/thingsboard/server/service/agent/template/AppTemplateMaterializerTest.java b/application/src/test/java/org/thingsboard/server/service/agent/template/AppTemplateMaterializerTest.java index 5e432af38d..27e36c664e 100644 --- a/application/src/test/java/org/thingsboard/server/service/agent/template/AppTemplateMaterializerTest.java +++ b/application/src/test/java/org/thingsboard/server/service/agent/template/AppTemplateMaterializerTest.java @@ -14,7 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; class AppTemplateMaterializerTest { private static final Function> EDGE_FOLDERS = parent -> parent.equals("compose/edge") - ? List.of("3.9", "4.3", "4.4", "4.4.0.1", "4.10", "latest") + ? List.of("3.9", "4.3", "4.4", "4.4.1", "4.10", "latest") : List.of(); @Test @@ -27,25 +27,25 @@ class AppTemplateMaterializerTest { @Test void versionWithItsOwnFolderUsesItFirst() { - assertThat(candidates("compose/edge/4.4/kafka.yml", "4.4", "4.4.0.1EDGE")).startsWith( - "compose/edge/4.4.0.1/kafka.yml", + assertThat(candidates("compose/edge/4.4/kafka.yml", "4.4", "4.4.1EDGE")).startsWith( + "compose/edge/4.4.1/kafka.yml", "compose/edge/4.4/kafka.yml"); } @Test void versionWithoutItsOwnFolderFallsBackToTheNewestLowerOne() { - assertThat(candidates("compose/edge/4.4/kafka.yml", "4.4", "4.4.1EDGE")).startsWith( - "compose/edge/4.4.0.1/kafka.yml", + assertThat(candidates("compose/edge/4.4/kafka.yml", "4.4", "4.4.2EDGE")).startsWith( + "compose/edge/4.4.1/kafka.yml", "compose/edge/4.4/kafka.yml"); assertThat(candidates("compose/edge/4.5/kafka.yml", "4.5", "4.5.0EDGE")).startsWith( - "compose/edge/4.4.0.1/kafka.yml"); + "compose/edge/4.4.1/kafka.yml"); } @Test void foldersAreComparedAsVersions() { assertThat(candidates("compose/edge/4.10/kafka.yml", "4.10", "4.10.0EDGE")).startsWith( "compose/edge/4.10/kafka.yml", - "compose/edge/4.4.0.1/kafka.yml"); + "compose/edge/4.4.1/kafka.yml"); } @Test diff --git a/dao/src/main/java/org/thingsboard/server/dao/edge/EdgeEditionStyle.java b/dao/src/main/java/org/thingsboard/server/dao/edge/EdgeEditionStyle.java index 6cfcb5df2d..1c5b08d5cb 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/edge/EdgeEditionStyle.java +++ b/dao/src/main/java/org/thingsboard/server/dao/edge/EdgeEditionStyle.java @@ -17,11 +17,11 @@ public enum EdgeEditionStyle { private final String packageSuffix; public static EdgeEditionStyle getEdgeEditionStyle(String edgeVersion) { - return TbVersionUtils.compare(edgeVersion, "4.4.0.1") >= 0 ? CE : PE; + return TbVersionUtils.compare(edgeVersion, "4.4.1") >= 0 ? CE : PE; } /** - * The edge version with the tag suffix its release is published under, e.g. {@code 4.4.0EDGEPE}, {@code 4.4.0.1EDGE}. + * The edge version with the tag suffix its release is published under, e.g. {@code 4.4.0EDGEPE}, {@code 4.4.1EDGE}. * Agent app templates are registered under these versions. */ public static String withVersionSuffix(String edgeVersion) { From 4b079d8eaebc7610a0cfaadc2a7ab80a055b43aa Mon Sep 17 00:00:00 2001 From: Dmytro Artamonov Date: Thu, 15 Oct 2026 13:34:45 +0300 Subject: [PATCH 167/559] Fix NamedParameterJdbcTemplate ignores JAVAX_PERSISTENCE_QUERY_TIMEOUT --- .../server/dao/sql/NamedParameterJdbcTemplateConfiguration.java | 2 +- .../java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/NamedParameterJdbcTemplateConfiguration.java b/dao/src/main/java/org/thingsboard/server/dao/sql/NamedParameterJdbcTemplateConfiguration.java index 6fe5bd40bf..18092a7db5 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/NamedParameterJdbcTemplateConfiguration.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/NamedParameterJdbcTemplateConfiguration.java @@ -16,7 +16,7 @@ import java.util.concurrent.TimeUnit; @Slf4j public class NamedParameterJdbcTemplateConfiguration { - @Value("${spring.jpa.properties.javax.persistence.query.timeout:30000}") + @Value("${spring.jpa.properties.jakarta.persistence.query.timeout:30000}") private int queryTimeout; private final NamedParameterJdbcTemplate namedParameterJdbcTemplate; diff --git a/dao/src/test/java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java b/dao/src/test/java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java index c42cf17cef..3976223121 100644 --- a/dao/src/test/java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java +++ b/dao/src/test/java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java @@ -12,7 +12,7 @@ import org.thingsboard.server.dao.AbstractJpaDaoTest; import static org.junit.jupiter.api.Assertions.assertThrows; @TestPropertySource(properties = { - "spring.jpa.properties.javax.persistence.query.timeout=500" + "spring.jpa.properties.jakarta.persistence.query.timeout=500" }) public class JdbcTemplateTest extends AbstractJpaDaoTest { From f99b850fd56c3d174e2f4d591364bb590742c9c6 Mon Sep 17 00:00:00 2001 From: Dmytro Artamonov Date: Thu, 15 Oct 2026 13:48:38 +0300 Subject: [PATCH 168/559] Chore ce-modified license headers for changed files --- .../dao/sql/NamedParameterJdbcTemplateConfiguration.java | 3 ++- .../java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/NamedParameterJdbcTemplateConfiguration.java b/dao/src/main/java/org/thingsboard/server/dao/sql/NamedParameterJdbcTemplateConfiguration.java index 18092a7db5..acd94c742d 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/NamedParameterJdbcTemplateConfiguration.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/NamedParameterJdbcTemplateConfiguration.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.sql; import jakarta.annotation.PostConstruct; diff --git a/dao/src/test/java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java b/dao/src/test/java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java index 3976223121..6488e01929 100644 --- a/dao/src/test/java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java +++ b/dao/src/test/java/org/thingsboard/server/dao/sql/JdbcTemplateTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.sql; import org.junit.Test; From 484017816f41607ddf7e88582e4236d6746ae4c4 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 16:05:20 +0300 Subject: [PATCH 169/559] Stub the CE-to-PE delta only in the test that applies it --- .../install/SqlDatabaseUpgradeServiceTest.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeServiceTest.java b/application/src/test/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeServiceTest.java index 4b79aa5c18..cf6c022942 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/SqlDatabaseUpgradeServiceTest.java @@ -21,8 +21,8 @@ import java.sql.Statement; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.inOrder; -import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.when; /** @@ -56,20 +56,21 @@ class SqlDatabaseUpgradeServiceTest { private SqlDatabaseUpgradeService service; @BeforeEach - @SuppressWarnings("unchecked") void setUp() throws IOException { writeSchemaUpdate("pe", PE_DELTA_SQL); - when(installScripts.getDataDir()).thenReturn(dataDir.toString()); when(schemaSettingsService.getDbSchemaVersion()).thenReturn(DB_VERSION); when(schemaSettingsService.getPackageSchemaVersion()).thenReturn(PACKAGE_VERSION); - // Run the callback the service passes, so the SQL it hands to the statement can be asserted on. - when(jdbcTemplate.execute(any(StatementCallback.class))) - .thenAnswer(invocation -> ((StatementCallback) invocation.getArgument(0)).doInStatement(statement)); service = new SqlDatabaseUpgradeService(installScripts, jdbcTemplate, transactionManager, schemaSettingsService, migrationService); } @Test + @SuppressWarnings("unchecked") void ceToPeUpgradeAppliesTheDeltaAndThenTheRestOfTheChain() throws Exception { + when(installScripts.getDataDir()).thenReturn(dataDir.toString()); + // Run the callback the service passes, so the SQL it hands to the statement can be asserted on. + when(jdbcTemplate.execute(any(StatementCallback.class))) + .thenAnswer(invocation -> ((StatementCallback) invocation.getArgument(0)).doInStatement(statement)); + service.upgradeDatabase(true); InOrder inOrder = inOrder(statement, migrationService); @@ -81,7 +82,7 @@ class SqlDatabaseUpgradeServiceTest { void peUpgradeDoesNotApplyTheCeToPeDelta() throws Exception { service.upgradeDatabase(false); - verify(statement, never()).execute(PE_DELTA_SQL); + verifyNoInteractions(jdbcTemplate); verify(migrationService).runSchemaMigrations(DB_VERSION, PACKAGE_VERSION, false); } From 7e3dadb9d47f7bb92638e83ee295ff9e03cf9e0e Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 16:18:24 +0300 Subject: [PATCH 170/559] Fix license headers after dropping the Lts prefix from migrations --- .../service/edge/EdgeLicenseService.java | 3 +- .../service/install/lts/VersionTest.java | 3 +- .../python/license-headers/curations.json | 64 ++++++++++++------- 3 files changed, 45 insertions(+), 25 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeLicenseService.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeLicenseService.java index bc796b02b1..ec6587b7d4 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeLicenseService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeLicenseService.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.edge; import com.fasterxml.jackson.databind.JsonNode; diff --git a/application/src/test/java/org/thingsboard/server/service/install/lts/VersionTest.java b/application/src/test/java/org/thingsboard/server/service/install/lts/VersionTest.java index f5f352bb7f..159d27b5e5 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/lts/VersionTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/lts/VersionTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.install.lts; import org.junit.jupiter.api.Test; diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index cc237af332..ee19d99f35 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -11,13 +11,13 @@ "path": "application/src/main/java/org/thingsboard/server/service/edge/DefaultEdgeLicenseService.java", "header": "ce-modified", "reason": "Retained CE file subsequently deleted on the selected lts-4.2 mainline. PE retains the CE implementation with HTTP client migration, timeout and request-handling changes. Reviewed against last CE path version 3af76140cd7dd2968cdba2875a92eccbbcfc05fe^1 (blob 034ac5148483fda6234c6fae2a46cf601396606a); absence from the selected CE tree does not change origin.", - "contentHash": "sha256:1d9614ac78d02d46eebefd0a2679b429a220c9bd122cbdfb96df1e24c19270f0" + "contentHash": "sha256:eecfaa3b7a1a6e24f09816fbce577ddad12ce5fc0a0ccb14391982673adc081f" }, { "path": "application/src/main/java/org/thingsboard/server/service/edge/EdgeLicenseService.java", - "header": "apache", - "reason": "Retained CE file subsequently deleted on the selected lts-4.2 mainline. The retained interface has the exact normalized body of the last CE version. Reviewed against last CE path version 3af76140cd7dd2968cdba2875a92eccbbcfc05fe^1 (blob aa4d281aba2e442b05b09bfb73b9f3221de25764); absence from the selected CE tree does not change origin.", - "contentHash": "sha256:a5d72a772b07a9ca6688c6f2531878ed06659473d43c76b3dc7bc0ab34826ab7" + "header": "ce-modified", + "reason": "Retained CE file subsequently deleted on the selected lts-4.2 mainline. PE retains the CE interface and adds the V2 checkInstance/activateInstance methods. Reviewed against last CE path version 3af76140cd7dd2968cdba2875a92eccbbcfc05fe^1 (blob aa4d281aba2e442b05b09bfb73b9f3221de25764); absence from the selected CE tree does not change origin.", + "contentHash": "sha256:2e51d1ca879d2c61c348b78db1f814f0b35c6d0802e5cec4927a9411daa987a7" }, { "path": "application/src/main/java/org/thingsboard/server/service/edge/rpc/fetch/IntegrationsEdgeEventFetcher.java", @@ -49,6 +49,24 @@ "reason": "PE-specific service adapter/message SecretEdgeProcessor.java. Reviewed methods bind the common framework to PE integration, scheduler, encryption/secret, group, or customer-parent behavior. This is a new typed PE extension, not a relocation of the candidate CE implementation. Reviewed candidate application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/queue/QueueEdgeProcessor.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob 8e5a65b588937e5703ff87f301be023d27ce1808).", "contentHash": "sha256:6f960791993777f636b230e3829422af292370a5b5a113b082dc2d05ee151491" }, + { + "path": "application/src/main/java/org/thingsboard/server/service/install/lts/Migration.java", + "header": "ce-modified", + "reason": "CE interface application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigration.java renamed in 7a926f2c1f2 when the Lts prefix was dropped from migrations, with PE changes on top. Reviewed against CE application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigration.java at 5954190c32f (blob f0cadee1f657ab6d1a0f670f1166ef3140ec4438); a renamed CE file stays CE-derived.", + "contentHash": "sha256:c12598c1c6ccd66fe6cfd7833fe1624d379c937151df7d13bf162212cb7344aa" + }, + { + "path": "application/src/main/java/org/thingsboard/server/service/install/lts/MigrationService.java", + "header": "ce-modified", + "reason": "CE service application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigrationService.java renamed in 7a926f2c1f2 when the Lts prefix was dropped from migrations, with PE changes on top. Reviewed against CE application/src/main/java/org/thingsboard/server/service/install/lts/LtsMigrationService.java at 5954190c32f (blob 2f063c3a1a469cb578503bdf548f5e1a4cfb4035); a renamed CE file stays CE-derived.", + "contentHash": "sha256:f72de342ef3308706b866bb311ede8c07c4027a2b413154a4002807561887ed3" + }, + { + "path": "application/src/main/java/org/thingsboard/server/service/install/lts/Version.java", + "header": "ce-modified", + "reason": "CE class application/src/main/java/org/thingsboard/server/service/install/lts/LtsVersion.java renamed in 7a926f2c1f2 when the Lts prefix was dropped from migrations, with PE changes on top. Reviewed against CE application/src/main/java/org/thingsboard/server/service/install/lts/LtsVersion.java at 5954190c32f (blob fa59efcc5a2d50079e495e42c141139fc57f178b); a renamed CE file stays CE-derived.", + "contentHash": "sha256:d7698c48f928583c2ade63ed5f16620677bb6d0a59376d9dbe1fb1ee1457a095" + }, { "path": "application/src/main/java/org/thingsboard/server/service/integration/rpc/IntegrationSessionCaffeineCache.java", "header": "busl", @@ -115,11 +133,29 @@ "reason": "PE WebSocket logs subscription command added in 4005afabb81 as part of the PE agent feature introduced on lts-4.4, which has no counterpart in CE. The candidate CE application/src/main/java/org/thingsboard/server/service/ws/notification/cmd/NotificationsUnsubCmd.java shares only the WebSocket command boilerplate. Reviewed candidate at a0aff29ef42d3636473b017115a9334b48d54d15 (blob 1a7a6119358).", "contentHash": "sha256:fd319f8910fa50f4db8dd30fe3f90e60e34910e1ddc0bb9db390db64f56b27db" }, + { + "path": "application/src/test/java/org/thingsboard/server/service/install/lts/MigrationIntegrationTest.java", + "header": "ce-modified", + "reason": "CE test application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationIntegrationTest.java renamed in 7a926f2c1f2 when the Lts prefix was dropped from migrations, with PE changes on top. Reviewed against CE application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationIntegrationTest.java at 5954190c32f (blob cf60ec2e4b5fce7a55862805e9bd959c125ce17e); a renamed CE file stays CE-derived.", + "contentHash": "sha256:cbe953023311f4f98e57ac04bdae7f851ef28cdc4938c31526af68ec30d2b4c2" + }, + { + "path": "application/src/test/java/org/thingsboard/server/service/install/lts/MigrationServiceTest.java", + "header": "ce-modified", + "reason": "CE test application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationServiceTest.java renamed in 7a926f2c1f2 when the Lts prefix was dropped from migrations, with PE changes on top. Reviewed against CE application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationServiceTest.java at 5954190c32f (blob 18ee8b6506742c7bf3e39a8fe0e5d9e9370e5614); a renamed CE file stays CE-derived.", + "contentHash": "sha256:1ba9703bfe4a8fdb30ef11d151c9de62b4f89279ad030738021986db9fd64d8d" + }, + { + "path": "application/src/test/java/org/thingsboard/server/service/install/lts/VersionTest.java", + "header": "ce-modified", + "reason": "CE test application/src/test/java/org/thingsboard/server/service/install/lts/LtsVersionTest.java renamed in 7a926f2c1f2 when the Lts prefix was dropped from migrations, with PE changes on top. Reviewed against CE application/src/test/java/org/thingsboard/server/service/install/lts/LtsVersionTest.java at 5954190c32f (blob f3d280a915e59fb37e93c45e6404b09728a772a8); a renamed CE file stays CE-derived.", + "contentHash": "sha256:6a1b1d2f264dbae3ad420d9eef4466449a50f9f721c7256441a4aab0e4a87037" + }, { "path": "application/src/test/java/org/thingsboard/server/service/install/update/DefaultDataUpdateServiceTest.java", "header": "busl", "reason": "CE deleted its DefaultDataUpdateServiceTest (version 3.3.0 device profile conversion tests) in ba440ba7c1f. PE recreated a test at the same path in cdae38adc6b with entirely new content covering the CE-to-PE upgrade chain; nothing of the CE file (last CE version 40527f3da02^1, blob abfab844917) remains beyond the class name.", - "contentHash": "sha256:c0ebbc47ce2ff97d2e00182781ed38ca137ad54393e706c064c0ca6919b27eb8" + "contentHash": "sha256:29cb5b743744501fc34c8251e6cde379817ae7e7acb43f6e2a53df5f2dcbc96a" }, { "path": "application/src/test/java/org/thingsboard/server/service/integration/rpc/IntegrationRpcSslTest.java", @@ -439,18 +475,6 @@ "reason": "PE-specific data/configuration type IntegrationLifecycleEventTrigger.java. Reviewed fields, type discriminators and serialization hooks describe PE entities or PE behavior; matching CE types supply only the common DTO/interface pattern. Resolved as PE-authored consistently with the maintainer decision for PE entity wrappers. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/rule/trigger/RuleEngineComponentLifecycleEventTrigger.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob e4c967c19792ecf5fa6409973459efe5ce73cb8d).", "contentHash": "sha256:c5da9a11ed196635c09972733cf511bee2bd111242c0d084d115d37e2e7524c5" }, - { - "path": "common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserGroupListFilter.java", - "header": "busl", - "reason": "PE user group filter, a new class with its own groupsIds field and USER_GROUP_LIST type. The similarity comes from the shared shape of small filter DTOs, not from CE code. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserListFilter.java at 862b224dd7e4e770804ffad3411255166daa4501 (blob 07cd0280ba84ab71b6823242e18c7c7285296b84).", - "contentHash": "sha256:64563fbc6ee416025b555c14cf3c517c5027bfc112a883078cc717ed471c5b52" - }, - { - "path": "common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserRoleFilter.java", - "header": "busl", - "reason": "PE role filter, a new class with its own rolesIds field and USER_ROLE type. The similarity comes from the shared shape of small filter DTOs, not from CE code. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserListFilter.java at 862b224dd7e4e770804ffad3411255166daa4501 (blob 07cd0280ba84ab71b6823242e18c7c7285296b84).", - "contentHash": "sha256:007e94e798f25a9d0ccd1716b8a68eada4fe3ced71e531bd0538c2c56e24ecb7" - }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java", "header": "ce-modified", @@ -469,12 +493,6 @@ "reason": "PE-specific data/configuration type EntityGroupNameFilter.java. Reviewed fields, type discriminators and serialization hooks describe PE entities or PE behavior; matching CE types supply only the common DTO/interface pattern. Resolved as PE-authored consistently with the maintainer decision for PE entity wrappers. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/query/EntityNameFilter.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob a3889bc7c07de44917eac165a9c4e8578bbbcd62).", "contentHash": "sha256:46cc0073210fb81fb1a71f44604042da6056f78f62468cf45bdc78cdaf8cdd09" }, - { - "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/StateEntityFilter.java", - "header": "busl", - "reason": "PE dashboard state entity filter, a new class with its own defaultStateEntity field and STATE_ENTITY type. The similarity comes from the shared shape of small filter DTOs, not from CE code. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/query/SingleEntityFilter.java at 862b224dd7e4e770804ffad3411255166daa4501 (blob dacd7de6eae6cd80cfd63047dad8951d76aeb455).", - "contentHash": "sha256:46835b82b0320007209a5d53528f9fdb534af41c2fcb5a528754c316c530394a" - }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/StateEntityOwnerFilter.java", "header": "busl", From 0fe78321ca6cc5365efc9648155afcae3ca69045 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Fri, 16 Oct 2026 09:37:04 +0300 Subject: [PATCH 171/559] Authenticate the customer WS session with a customer API key in ApiKeyWebSocketApiTest --- .../controller/ApiKeyWebSocketApiTest.java | 54 +++++++++++++------ .../server/controller/WebSocketApiTest.java | 2 +- 2 files changed, 40 insertions(+), 16 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ApiKeyWebSocketApiTest.java b/application/src/test/java/org/thingsboard/server/controller/ApiKeyWebSocketApiTest.java index c5b28b92bb..e974095a30 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ApiKeyWebSocketApiTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ApiKeyWebSocketApiTest.java @@ -5,18 +5,23 @@ package org.thingsboard.server.controller; import com.fasterxml.jackson.databind.JsonNode; import lombok.extern.slf4j.Slf4j; +import org.assertj.core.api.ThrowingConsumer; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.kv.BaseAttributeKvEntry; +import org.thingsboard.server.common.data.kv.StringDataEntry; import org.thingsboard.server.common.data.pat.ApiKey; import org.thingsboard.server.common.data.pat.ApiKeyInfo; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.service.subscription.SubscriptionErrorCode; +import org.thingsboard.server.service.subscription.TbAttributeSubscriptionScope; import org.thingsboard.server.service.ws.log.cmd.LogsSubscriptionCmd; import java.net.URI; import java.net.URISyntaxException; +import java.util.List; import java.util.concurrent.TimeUnit; import static org.assertj.core.api.Assertions.assertThat; @@ -51,26 +56,27 @@ public class ApiKeyWebSocketApiTest extends WebSocketApiTest { @Test @Override public void testLogsSubscribe_accessDenied() throws Exception { - // the API key from setUpApiKey is bound to the tenant admin, who can read the device, so reuse won't deny. - // authenticate the WS session with an API key bound to the customer user, who has no READ_TELEMETRY permission. - ApiKeyInfo customerApiKeyInfo = new ApiKeyInfo(); - customerApiKeyInfo.setDescription("WS test customer API key"); - customerApiKeyInfo.setEnabled(true); - customerApiKeyInfo.setUserId(customerUserId); - ApiKey customerApiKey = doPost("/api/apiKey", customerApiKeyInfo, ApiKey.class); - - TbTestWebSocketClient customerWsClient = buildAndConnectWebSocketClientWithApiKey(customerApiKey.getValue()); - try { + withCustomerWsClient(customerWsClient -> { customerWsClient.send(new LogsSubscriptionCmd(1, device.getId().getEntityType().name(), device.getId().getId().toString(), 0)); JsonNode error = JacksonUtil.toJsonNode(customerWsClient.waitForReply(true)); assertThat(error.get("errorCode").asInt()).isEqualTo(SubscriptionErrorCode.ACCESS_DENIED.getCode()); - } finally { - customerWsClient.close(); - loginTenantAdmin(); - doDelete("/api/apiKey/" + customerApiKey.getId()).andExpect(status().isOk()); - } + }); + } + + @Test + @Override + public void testAttributesSubscription_customerUserNotAssignedDevice() throws Exception { + sendAttributes(device, TbAttributeSubscriptionScope.SERVER_SCOPE, List.of( + new BaseAttributeKvEntry(System.currentTimeMillis(), new StringDataEntry("attr", "secret")) + )); + + withCustomerWsClient(customerWsClient -> { + JsonNode update = customerWsClient.subscribeForAttributes(device.getId(), TbAttributeSubscriptionScope.SERVER_SCOPE.name(), List.of("attr")); + assertThat(update.get("errorCode").asInt()).isNotEqualTo(SubscriptionErrorCode.NO_ERROR.getCode()); + assertThat(update.path("data").isEmpty()).isTrue(); + }); } @Test @@ -85,4 +91,22 @@ public class ApiKeyWebSocketApiTest extends WebSocketApiTest { } } + // the API key from setUpApiKey is bound to the tenant admin, so access-denied cases need a key bound to the customer user + private void withCustomerWsClient(ThrowingConsumer action) throws Exception { + ApiKeyInfo customerApiKeyInfo = new ApiKeyInfo(); + customerApiKeyInfo.setDescription("WS test customer API key"); + customerApiKeyInfo.setEnabled(true); + customerApiKeyInfo.setUserId(customerUserId); + ApiKey customerApiKey = doPost("/api/apiKey", customerApiKeyInfo, ApiKey.class); + + TbTestWebSocketClient customerWsClient = buildAndConnectWebSocketClientWithApiKey(customerApiKey.getValue()); + try { + action.accept(customerWsClient); + } finally { + customerWsClient.close(); + loginTenantAdmin(); + doDelete("/api/apiKey/" + customerApiKey.getId()).andExpect(status().isOk()); + } + } + } diff --git a/application/src/test/java/org/thingsboard/server/controller/WebSocketApiTest.java b/application/src/test/java/org/thingsboard/server/controller/WebSocketApiTest.java index 8c10290d8b..82ebbd7615 100644 --- a/application/src/test/java/org/thingsboard/server/controller/WebSocketApiTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/WebSocketApiTest.java @@ -1160,7 +1160,7 @@ public class WebSocketApiTest extends AbstractControllerTest { assertThat(latch.await(TIMEOUT, TimeUnit.SECONDS)).as("await sendTelemetry callback"); } - private void sendAttributes(Device device, TbAttributeSubscriptionScope scope, List attrData) throws InterruptedException { + protected void sendAttributes(Device device, TbAttributeSubscriptionScope scope, List attrData) throws InterruptedException { sendAttributes(device.getTenantId(), device.getId(), scope, attrData); } From ca1b84ca5ab5ff02837eb6e2896f514e9e701100 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Fri, 16 Oct 2026 09:29:00 +0200 Subject: [PATCH 172/559] Add (tenant_id, id) index on calculated_field for tenant-scoped paging Calculated field actors page through each tenant's calculated fields on startup (WHERE tenant_id = ? ORDER BY id LIMIT ?). With no index leading on tenant_id, every page and its count query scan the whole table and sort, so startup cost grows with tenants x table size. Ship the index in schema-entities-idx.sql for new installs and as a new 4.4.1.0 LTS migration for existing ones (4.4.0.0 is already released, and the range lower bound is exclusive). --- .../upgrade/lts/4.4.1.0/schema_update.sql | 9 ++++++ .../install/lts/V4_4_1_0Migration.java | 31 +++++++++++++++++++ .../install/lts/MigrationIntegrationTest.java | 25 +++++++++++++++ .../resources/sql/schema-entities-idx.sql | 2 ++ 4 files changed, 67 insertions(+) create mode 100644 application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql create mode 100644 application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java diff --git a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql new file mode 100644 index 0000000000..758854f92b --- /dev/null +++ b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql @@ -0,0 +1,9 @@ +-- +-- SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +-- SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +-- SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +-- + +-- Tenant-scoped paging over calculated fields (WHERE tenant_id = ? ORDER BY id LIMIT ?), issued for every tenant +-- when the calculated field actors initialize, otherwise scans the whole table and sorts on each call. +CREATE INDEX IF NOT EXISTS idx_calculated_field_tenant_id_id ON calculated_field(tenant_id, id); diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java new file mode 100644 index 0000000000..1d91bc0e82 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java @@ -0,0 +1,31 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +package org.thingsboard.server.service.install.lts; + +import org.springframework.stereotype.Component; +import org.thingsboard.server.queue.util.TbCoreComponent; + +/** + * Registration-only migration with no {@link #apply()} (no data migration). + *

    + * {@link MigrationService} selects migrations from the injected {@link Migration} beans, not from the + * on-disk {@code data/upgrade/lts//} directories. So this bean is what makes the runner discover + * version {@code 4.4.1.0} and execute its {@code data/upgrade/lts/4.4.1.0/schema_update.sql}, which adds the + * {@code idx_calculated_field_tenant_id_id} index used by tenant-scoped calculated field paging. + *

    + * It needs a slot of its own rather than {@code 4.4.0.0}: that version is already released, and + * {@link Version#isInRange} is exclusive at the lower bound, so an installation already on {@code 4.4.0.0} + * would never pick up a change added there. + *

    + * The dir/bean consistency (both ways) is guarded by a test in {@code MigrationIntegrationTest}. + */ +@Component +@TbCoreComponent +public class V4_4_1_0Migration implements Migration { + + @Override + public String getVersion() { + return "4.4.1.0"; + } +} diff --git a/application/src/test/java/org/thingsboard/server/service/install/lts/MigrationIntegrationTest.java b/application/src/test/java/org/thingsboard/server/service/install/lts/MigrationIntegrationTest.java index 4d0e570e04..bbdb95c466 100644 --- a/application/src/test/java/org/thingsboard/server/service/install/lts/MigrationIntegrationTest.java +++ b/application/src/test/java/org/thingsboard/server/service/install/lts/MigrationIntegrationTest.java @@ -451,6 +451,25 @@ public class MigrationIntegrationTest extends AbstractControllerTest { * older script legitimately behind. What may never happen is a script declaring a clause the fresh-install * DDL does not. The single-row index is compared exactly: there is only ever one right form of it. */ + @Test + public void appliesSchemaForV4410CreatesCalculatedFieldTenantIdIndex() { + // The test-context schema already ships the index (schema-entities-idx.sql), so drop it first to prove the + // 4.4.1.0 schema_update.sql re-creates it. The finally block restores it for the shared DaoSqlTest schema. + try { + jdbcTemplate.execute("DROP INDEX IF EXISTS idx_calculated_field_tenant_id_id"); + assertFalse(indexExists("idx_calculated_field_tenant_id_id")); + + migrationService.applyMigrations("4.4.0.0", "4.4.1.0", false, () -> {}); + + assertTrue(indexExists("idx_calculated_field_tenant_id_id")); + assertEquals("CREATE INDEX idx_calculated_field_tenant_id_id ON public.calculated_field USING btree (tenant_id, id)", + jdbcTemplate.queryForObject("SELECT indexdef FROM pg_indexes WHERE indexname = ?", String.class, + "idx_calculated_field_tenant_id_id")); + } finally { + jdbcTemplate.execute("CREATE INDEX IF NOT EXISTS idx_calculated_field_tenant_id_id ON calculated_field(tenant_id, id)"); + } + } + @Test public void everyTbClusterDdlCopyIsConsistentWithSchemaEntities() { String schemaEntities = readResource("sql/schema-entities.sql"); @@ -707,6 +726,12 @@ public class MigrationIntegrationTest extends AbstractControllerTest { return Boolean.TRUE.equals(exists); } + private boolean indexExists(String indexName) { + Boolean exists = jdbcTemplate.queryForObject( + "SELECT EXISTS (SELECT 1 FROM pg_indexes WHERE indexname = ?)", Boolean.class, indexName); + return Boolean.TRUE.equals(exists); + } + private boolean constraintExists(String constraintName) { Boolean exists = jdbcTemplate.queryForObject( "SELECT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = ?)", Boolean.class, constraintName); diff --git a/dao/src/main/resources/sql/schema-entities-idx.sql b/dao/src/main/resources/sql/schema-entities-idx.sql index 1cf38b7a03..bf1f2c3a27 100644 --- a/dao/src/main/resources/sql/schema-entities-idx.sql +++ b/dao/src/main/resources/sql/schema-entities-idx.sql @@ -181,3 +181,5 @@ CREATE INDEX IF NOT EXISTS idx_iot_hub_installed_item_tenant_id ON iot_hub_insta CREATE INDEX IF NOT EXISTS idx_iot_hub_installed_item_item_type ON iot_hub_installed_item(tenant_id, item_type); CREATE INDEX IF NOT EXISTS idx_iot_hub_installed_item_item_id ON iot_hub_installed_item(tenant_id, item_id); + +CREATE INDEX IF NOT EXISTS idx_calculated_field_tenant_id_id ON calculated_field(tenant_id, id); From 7bd156b555ec779934daf18916ee01d318550b51 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Fri, 16 Oct 2026 11:25:37 +0300 Subject: [PATCH 173/559] Fix license headers --- .../src/main/data/upgrade/lts/4.4.1.0/schema_update.sql | 5 ++--- .../server/service/install/lts/V4_4_1_0Migration.java | 5 ++--- tools/src/main/python/license-headers/curations.json | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql index 758854f92b..7d857eb6b2 100644 --- a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql +++ b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql @@ -1,7 +1,6 @@ -- --- SPDX-FileCopyrightText: Copyright The ThingsBoard Authors --- SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. --- SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +-- SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +-- SPDX-License-Identifier: BUSL-1.1 -- -- Tenant-scoped paging over calculated fields (WHERE tenant_id = ? ORDER BY id LIMIT ?), issued for every tenant diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java index 1d91bc0e82..7b79bc59be 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java @@ -1,6 +1,5 @@ -// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.server.service.install.lts; import org.springframework.stereotype.Component; diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index ee19d99f35..ecc5bb95de 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -137,7 +137,7 @@ "path": "application/src/test/java/org/thingsboard/server/service/install/lts/MigrationIntegrationTest.java", "header": "ce-modified", "reason": "CE test application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationIntegrationTest.java renamed in 7a926f2c1f2 when the Lts prefix was dropped from migrations, with PE changes on top. Reviewed against CE application/src/test/java/org/thingsboard/server/service/install/lts/LtsMigrationIntegrationTest.java at 5954190c32f (blob cf60ec2e4b5fce7a55862805e9bd959c125ce17e); a renamed CE file stays CE-derived.", - "contentHash": "sha256:cbe953023311f4f98e57ac04bdae7f851ef28cdc4938c31526af68ec30d2b4c2" + "contentHash": "sha256:24cb205ad1c7a7577284aa2fca5b245d60e0c554accfe9f26021a6d60e0807ce" }, { "path": "application/src/test/java/org/thingsboard/server/service/install/lts/MigrationServiceTest.java", From b3e77c6c9f9886f813dc9fb248eba29d506dec63 Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Fri, 16 Oct 2026 11:05:58 +0200 Subject: [PATCH 174/559] Pick the latest ZK registration of a service by creation zxid instead of mtime --- .../queue/discovery/ZkDiscoveryService.java | 5 +++- .../discovery/ZkDiscoveryServiceTest.java | 29 ++++++++++++++----- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java index 34e30bc8a2..1233e2878a 100644 --- a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java +++ b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java @@ -118,8 +118,11 @@ public class ZkDiscoveryService implements DiscoveryService { } }) .filter(r -> !r.info().getServiceId().equals(currentServiceId)) + // Orders ZK registrations by creation, so that a re-registration wins over a stale node of the same service. + // Uses the creation zxid: ZooKeeper's transaction id, which grows across leader changes and is the same + // on every client. ctime/mtime are not used, as they come from the leader's wall clock and may go backwards. .collect(Collectors.toMap(r -> r.info().getServiceId(), Function.identity(), - (a, b) -> b.data().getStat().getMtime() > a.data().getStat().getMtime() ? b : a, + (a, b) -> b.data().getStat().getCzxid() > a.data().getStat().getCzxid() ? b : a, LinkedHashMap::new)) .values().stream() .map(Registration::info) diff --git a/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java index 5dfa660649..37af643ff0 100644 --- a/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java +++ b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java @@ -260,7 +260,7 @@ public class ZkDiscoveryServiceTest { @Test public void getOtherServersIgnoresNodesWithCurrentServiceIdTest() { - dataList.add(new ChildData("/thingsboard/nodes/0000000011", statWithMtime(1), currentInfo.toByteArray())); + dataList.add(new ChildData("/thingsboard/nodes/0000000011", statWithCzxid(1), currentInfo.toByteArray())); dataList.add(childData); assertEquals(List.of(childInfo), zkDiscoveryService.getOtherServers()); @@ -269,8 +269,8 @@ public class ZkDiscoveryServiceTest { @Test public void getOtherServersKeepsLatestNodeForDuplicatedServiceIdTest() { TransportProtos.ServiceInfo latestInfo = childInfo.toBuilder().setReady(true).build(); - dataList.add(new ChildData("/thingsboard/nodes/0000000020", statWithMtime(1), childInfo.toByteArray())); - dataList.add(new ChildData("/thingsboard/nodes/0000000021", statWithMtime(2), latestInfo.toByteArray())); + dataList.add(new ChildData("/thingsboard/nodes/0000000020", statWithCzxid(1), childInfo.toByteArray())); + dataList.add(new ChildData("/thingsboard/nodes/0000000021", statWithCzxid(2), latestInfo.toByteArray())); assertEquals(List.of(latestInfo), zkDiscoveryService.getOtherServers()); @@ -279,9 +279,22 @@ public class ZkDiscoveryServiceTest { assertEquals(List.of(latestInfo), zkDiscoveryService.getOtherServers()); } + @Test + public void getOtherServersKeepsLatestCreatedNodeEvenIfItsMtimeIsOlderTest() { + TransportProtos.ServiceInfo latestInfo = childInfo.toBuilder().setReady(true).build(); + Stat staleStat = statWithCzxid(1); + staleStat.setMtime(2000); + Stat latestStat = statWithCzxid(2); + latestStat.setMtime(1000); + dataList.add(new ChildData("/thingsboard/nodes/0000000020", staleStat, childInfo.toByteArray())); + dataList.add(new ChildData("/thingsboard/nodes/0000000021", latestStat, latestInfo.toByteArray())); + + assertEquals(List.of(latestInfo), zkDiscoveryService.getOtherServers()); + } + @Test public void nodeWithCurrentServiceIdDoesNotTriggerRecalculationTest() { - ChildData orphanData = new ChildData("/thingsboard/nodes/0000000011", statWithMtime(1), currentInfo.toByteArray()); + ChildData orphanData = new ChildData("/thingsboard/nodes/0000000011", statWithCzxid(1), currentInfo.toByteArray()); startNode(orphanData); stopNode(orphanData); @@ -293,8 +306,8 @@ public class ZkDiscoveryServiceTest { @Test public void removalOfDuplicatedNodeDoesNotPublishShutdownEventTest() { - ChildData staleData = new ChildData("/thingsboard/nodes/0000000019", statWithMtime(1), childInfo.toByteArray()); - ChildData liveData = new ChildData("/thingsboard/nodes/0000000020", statWithMtime(2), childInfo.toByteArray()); + ChildData staleData = new ChildData("/thingsboard/nodes/0000000019", statWithCzxid(1), childInfo.toByteArray()); + ChildData liveData = new ChildData("/thingsboard/nodes/0000000020", statWithCzxid(2), childInfo.toByteArray()); startNode(staleData); startNode(liveData); @@ -328,9 +341,9 @@ public class ZkDiscoveryServiceTest { return stat; } - private static Stat statWithMtime(long mtime) { + private static Stat statWithCzxid(long czxid) { Stat stat = new Stat(); - stat.setMtime(mtime); + stat.setCzxid(czxid); return stat; } From 65417760f43fad95570f7bbaf81f0d824c163f70 Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Fri, 16 Oct 2026 11:05:58 +0200 Subject: [PATCH 175/559] Pick the latest ZK registration of a service by creation zxid instead of mtime --- .../queue/discovery/ZkDiscoveryService.java | 5 +++- .../discovery/ZkDiscoveryServiceTest.java | 29 ++++++++++++++----- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java index 3a3a161ef2..67ec2f4c02 100644 --- a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java +++ b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java @@ -119,8 +119,11 @@ public class ZkDiscoveryService implements DiscoveryService { } }) .filter(r -> !r.info().getServiceId().equals(currentServiceId)) + // Orders ZK registrations by creation, so that a re-registration wins over a stale node of the same service. + // Uses the creation zxid: ZooKeeper's transaction id, which grows across leader changes and is the same + // on every client. ctime/mtime are not used, as they come from the leader's wall clock and may go backwards. .collect(Collectors.toMap(r -> r.info().getServiceId(), Function.identity(), - (a, b) -> b.data().getStat().getMtime() > a.data().getStat().getMtime() ? b : a, + (a, b) -> b.data().getStat().getCzxid() > a.data().getStat().getCzxid() ? b : a, LinkedHashMap::new)) .values().stream() .map(Registration::info) diff --git a/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java index 5649a637d5..da0635e65c 100644 --- a/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java +++ b/common/queue/src/test/java/org/thingsboard/server/queue/discovery/ZkDiscoveryServiceTest.java @@ -260,7 +260,7 @@ public class ZkDiscoveryServiceTest { @Test public void getOtherServersIgnoresNodesWithCurrentServiceIdTest() { - dataList.add(new ChildData("/thingsboard/nodes/0000000011", statWithMtime(1), currentInfo.toByteArray())); + dataList.add(new ChildData("/thingsboard/nodes/0000000011", statWithCzxid(1), currentInfo.toByteArray())); dataList.add(childData); assertEquals(List.of(childInfo), zkDiscoveryService.getOtherServers()); @@ -269,8 +269,8 @@ public class ZkDiscoveryServiceTest { @Test public void getOtherServersKeepsLatestNodeForDuplicatedServiceIdTest() { TransportProtos.ServiceInfo latestInfo = childInfo.toBuilder().setReady(true).build(); - dataList.add(new ChildData("/thingsboard/nodes/0000000020", statWithMtime(1), childInfo.toByteArray())); - dataList.add(new ChildData("/thingsboard/nodes/0000000021", statWithMtime(2), latestInfo.toByteArray())); + dataList.add(new ChildData("/thingsboard/nodes/0000000020", statWithCzxid(1), childInfo.toByteArray())); + dataList.add(new ChildData("/thingsboard/nodes/0000000021", statWithCzxid(2), latestInfo.toByteArray())); assertEquals(List.of(latestInfo), zkDiscoveryService.getOtherServers()); @@ -279,9 +279,22 @@ public class ZkDiscoveryServiceTest { assertEquals(List.of(latestInfo), zkDiscoveryService.getOtherServers()); } + @Test + public void getOtherServersKeepsLatestCreatedNodeEvenIfItsMtimeIsOlderTest() { + TransportProtos.ServiceInfo latestInfo = childInfo.toBuilder().setReady(true).build(); + Stat staleStat = statWithCzxid(1); + staleStat.setMtime(2000); + Stat latestStat = statWithCzxid(2); + latestStat.setMtime(1000); + dataList.add(new ChildData("/thingsboard/nodes/0000000020", staleStat, childInfo.toByteArray())); + dataList.add(new ChildData("/thingsboard/nodes/0000000021", latestStat, latestInfo.toByteArray())); + + assertEquals(List.of(latestInfo), zkDiscoveryService.getOtherServers()); + } + @Test public void nodeWithCurrentServiceIdDoesNotTriggerRecalculationTest() { - ChildData orphanData = new ChildData("/thingsboard/nodes/0000000011", statWithMtime(1), currentInfo.toByteArray()); + ChildData orphanData = new ChildData("/thingsboard/nodes/0000000011", statWithCzxid(1), currentInfo.toByteArray()); startNode(orphanData); stopNode(orphanData); @@ -293,8 +306,8 @@ public class ZkDiscoveryServiceTest { @Test public void removalOfDuplicatedNodeDoesNotPublishShutdownEventTest() { - ChildData staleData = new ChildData("/thingsboard/nodes/0000000019", statWithMtime(1), childInfo.toByteArray()); - ChildData liveData = new ChildData("/thingsboard/nodes/0000000020", statWithMtime(2), childInfo.toByteArray()); + ChildData staleData = new ChildData("/thingsboard/nodes/0000000019", statWithCzxid(1), childInfo.toByteArray()); + ChildData liveData = new ChildData("/thingsboard/nodes/0000000020", statWithCzxid(2), childInfo.toByteArray()); startNode(staleData); startNode(liveData); @@ -328,9 +341,9 @@ public class ZkDiscoveryServiceTest { return stat; } - private static Stat statWithMtime(long mtime) { + private static Stat statWithCzxid(long czxid) { Stat stat = new Stat(); - stat.setMtime(mtime); + stat.setCzxid(czxid); return stat; } From 1956d6f471b89f822cf4ca3ac33da8f39024424e Mon Sep 17 00:00:00 2001 From: Dmytro Skarzhynets Date: Fri, 16 Oct 2026 13:30:05 +0300 Subject: [PATCH 176/559] chore: AI version set to 2.1.9-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e3723c709c..5db72bd6cb 100755 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ /var/log/${pkg.name} /usr/share/${pkg.name} control - 2.1.8-SNAPSHOT + 2.1.9-SNAPSHOT 4.4.0 3.5.15 @@ -62,7 +63,7 @@ {{ 'widgets.table.allow-alarms-clear' | translate }} - + widgets.table.hidden-cell-button-display-mode @@ -73,7 +74,7 @@ - + widgets.table.default-sort-order diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/timeseries-table-widget-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/timeseries-table-widget-settings.component.html index 2bb8c9f083..f63b7c8387 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/timeseries-table-widget-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/timeseries-table-widget-settings.component.html @@ -52,7 +52,7 @@ {{ 'widgets.table.show-cell-actions-menu-mobile' | translate }} - + widgets.table.hidden-cell-button-display-mode diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-sample-html.raw b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-sample-html.raw index e7315360f8..453bd7feb9 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-sample-html.raw +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-sample-html.raw @@ -18,48 +18,48 @@ - + - + - + - + - + - + - + - + - + @@ -82,7 +82,7 @@ - + @@ -94,6 +94,7 @@ + @@ -101,6 +102,7 @@ + @@ -128,7 +130,7 @@ - + @@ -140,6 +142,7 @@ + @@ -147,6 +150,7 @@ + @@ -210,26 +214,28 @@ - + - + + + @@ -237,6 +243,7 @@ + @@ -246,27 +253,27 @@ - + - + - + - + - + @@ -288,7 +295,7 @@ - + @@ -300,6 +307,7 @@ + @@ -307,6 +315,7 @@ + diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/entity/entities-table-widget-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/entity/entities-table-widget-settings.component.html index 7f5dfdaebb..b51d1c0ba7 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/entity/entities-table-widget-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/entity/entities-table-widget-settings.component.html @@ -1,7 +1,8 @@ @@ -65,7 +66,7 @@ {{ 'widgets.table.show-cell-actions-menu-mobile' | translate }} - + widgets.table.hidden-cell-button-display-mode @@ -76,7 +77,7 @@ - + widgets.table.default-sort-order diff --git a/ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-widgets.component.html b/ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-widgets.component.html index 3ef263bced..dab8dd55f0 100644 --- a/ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-widgets.component.html +++ b/ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-widgets.component.html @@ -130,6 +130,7 @@

    diff --git a/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_create_dialog_html.md b/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_create_dialog_html.md index c0392d927c..066e9abb38 100644 --- a/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_create_dialog_html.md +++ b/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_create_dialog_html.md @@ -16,26 +16,28 @@
    - + Entity Name Entity name is required. - + Entity Label
    - + Latitude - + Longitude
    - + Address - + Owner
    - + Integer Value @@ -94,7 +97,7 @@
    - + Direction @@ -106,6 +109,7 @@ @@ -113,6 +117,7 @@
    diff --git a/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_edit_dialog_html.md b/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_edit_dialog_html.md index 802ec06dbd..0e9f2ee133 100644 --- a/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_edit_dialog_html.md +++ b/ui-ngx/src/assets/help/en_US/widget/action/examples/custom_pretty_edit_dialog_html.md @@ -16,48 +16,48 @@
    - + Entity Name - + Entity Label
    - + Entity Type - + Type
    - + Latitude - + Longitude
    - + Address - + Owner
    - + Integer Value @@ -80,7 +80,7 @@
    - + Direction @@ -92,6 +92,7 @@ @@ -99,6 +100,7 @@
    @@ -126,7 +128,7 @@
    - + Direction @@ -138,6 +140,7 @@ @@ -145,6 +148,7 @@
    diff --git a/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_clone_device_html.md b/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_clone_device_html.md index ff7e7bab5f..7f11401fea 100644 --- a/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_clone_device_html.md +++ b/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_clone_device_html.md @@ -17,7 +17,7 @@
    - + Clone device name diff --git a/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_create_dialog_html.md b/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_create_dialog_html.md index c0392d927c..066e9abb38 100644 --- a/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_create_dialog_html.md +++ b/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_create_dialog_html.md @@ -16,26 +16,28 @@
    - + Entity Name Entity name is required. - + Entity Label
    - + Latitude - + Longitude
    - + Address - + Owner
    - + Integer Value @@ -94,7 +97,7 @@
    - + Direction @@ -106,6 +109,7 @@ @@ -113,6 +117,7 @@
    diff --git a/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_create_user_html.md b/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_create_user_html.md index c0e7cf7595..176949c2e4 100644 --- a/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_create_user_html.md +++ b/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_create_user_html.md @@ -17,7 +17,7 @@
    - + Email @@ -30,21 +30,21 @@
    - + First Name
    - + Last Name
    - + User activation method diff --git a/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_edit_dialog_html.md b/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_edit_dialog_html.md index 802ec06dbd..0e9f2ee133 100644 --- a/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_edit_dialog_html.md +++ b/ui-ngx/src/assets/help/en_US/widget/action/examples_custom_pretty/custom_pretty_edit_dialog_html.md @@ -16,48 +16,48 @@
    - + Entity Name - + Entity Label
    - + Entity Type - + Type
    - + Latitude - + Longitude
    - + Address - + Owner
    - + Integer Value @@ -80,7 +80,7 @@
    - + Direction @@ -92,6 +92,7 @@ @@ -99,6 +100,7 @@
    @@ -126,7 +128,7 @@
    - + Direction @@ -138,6 +140,7 @@ @@ -145,6 +148,7 @@
    diff --git a/ui-ngx/src/assets/help/en_US/widget/editor/examples/rpc_widget.md b/ui-ngx/src/assets/help/en_US/widget/editor/examples/rpc_widget.md index 97f43df2b9..4e2646613b 100644 --- a/ui-ngx/src/assets/help/en_US/widget/editor/examples/rpc_widget.md +++ b/ui-ngx/src/assets/help/en_US/widget/editor/examples/rpc_widget.md @@ -13,14 +13,14 @@ The **Widget Editor** will open, pre-populated with default **Control** template ```html
    - + RPC method RPC method name is required. - + RPC params diff --git a/ui-ngx/structure.md b/ui-ngx/structure.md index bbc3dd0c81..64738f5fd9 100644 --- a/ui-ngx/structure.md +++ b/ui-ngx/structure.md @@ -835,18 +835,18 @@ Key selectors: `mat-toolbar.details-toolbar`, `button[mat-fab][color="accent"]`,
    - + - + - + - +
    From d0ad3967691ce5e09f0e6b4153eb07faa45d7d61 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 19 Oct 2026 14:15:31 +0200 Subject: [PATCH 217/559] Fixed Delete strategy panel cut off when opened from last telemetry row (#16340) * Fixed Delete strategy panel cut off when opened from last telemetry row * Additional fixes * License headers fix --- .../attribute/delete-timeseries-panel.component.scss | 8 +++++++- .../attribute/delete-timeseries-panel.component.ts | 10 ++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/attribute/delete-timeseries-panel.component.scss b/ui-ngx/src/app/modules/home/components/attribute/delete-timeseries-panel.component.scss index 9a5b56c288..23cab6c913 100644 --- a/ui-ngx/src/app/modules/home/components/attribute/delete-timeseries-panel.component.scss +++ b/ui-ngx/src/app/modules/home/components/attribute/delete-timeseries-panel.component.scss @@ -1,9 +1,13 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @import '../../../../../scss/constants'; :host { width: 100%; + max-height: 90vh; + display: flex; + flex-direction: column; .mat-toolbar { background: none; @@ -14,6 +18,8 @@ flex-direction: column; gap: 16px; padding-top: 4px; + overflow: auto; + flex: 1; } .tb-select-interval { diff --git a/ui-ngx/src/app/modules/home/components/attribute/delete-timeseries-panel.component.ts b/ui-ngx/src/app/modules/home/components/attribute/delete-timeseries-panel.component.ts index 93200f2041..456530d485 100644 --- a/ui-ngx/src/app/modules/home/components/attribute/delete-timeseries-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/attribute/delete-timeseries-panel.component.ts @@ -1,6 +1,7 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 -import { Component, InjectionToken, OnDestroy, OnInit } from '@angular/core'; +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +import { Component, ElementRef, InjectionToken, OnDestroy, OnInit } from '@angular/core'; import { OverlayRef } from '@angular/cdk/overlay'; import { TimeseriesDeleteStrategy, @@ -37,10 +38,14 @@ export class DeleteTimeseriesPanelComponent implements OnInit, OnDestroy { private destroy$ = new Subject(); + private resizeObserver = new ResizeObserver(() => this.overlayRef.updatePosition()); + constructor(private overlayRef: OverlayRef, + private elementRef: ElementRef, private fb: FormBuilder) { } ngOnInit(): void { + this.resizeObserver.observe(this.elementRef.nativeElement); const today = new Date(); this.deleteTimeseriesFormGroup = this.fb.group({ strategy: [TimeseriesDeleteStrategy.DELETE_ALL_DATA], @@ -72,6 +77,7 @@ export class DeleteTimeseriesPanelComponent implements OnInit, OnDestroy { } ngOnDestroy(): void { + this.resizeObserver.disconnect(); this.destroy$.next(); this.destroy$.complete(); } From 2751213dd8b4bab4c009da3713fd70a665334043 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 19 Oct 2026 14:28:34 +0200 Subject: [PATCH 218/559] Fix ThingsBoard spelling in the new edge session test headers --- .../rpc/session/DefaultZombieSessionCleanupServiceTest.java | 2 +- .../server/service/edge/rpc/session/EdgeSessionsHolderTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/DefaultZombieSessionCleanupServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/DefaultZombieSessionCleanupServiceTest.java index 245ce68e76..d09aa75336 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/DefaultZombieSessionCleanupServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/DefaultZombieSessionCleanupServiceTest.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.session; diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java index bf68e6a24f..0cf28a8962 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.session; From d2a20dbf460a3c7b3d6eaf7ba0b48229fec3fb86 Mon Sep 17 00:00:00 2001 From: Dmytro Artamonov Date: Mon, 19 Oct 2026 15:26:53 +0300 Subject: [PATCH 219/559] fix(config): bind api key length to SECURITY_API_KEY_VALUE_BYTES_SIZE security.api_key.value_bytes_size referenced SECURITY_API_KEY_VALUE_PREFIX, the same variable as value_prefix. SECURITY_API_KEY_VALUE_BYTES_SIZE had no effect, and setting a custom prefix made value_bytes_size resolve to a non-numeric value, which fails int conversion of the @Value injection in ApiKeyServiceImpl and breaks application startup. --- application/src/main/resources/thingsboard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/resources/thingsboard.yml b/application/src/main/resources/thingsboard.yml index cf8038545f..adb655496f 100644 --- a/application/src/main/resources/thingsboard.yml +++ b/application/src/main/resources/thingsboard.yml @@ -173,7 +173,7 @@ security: # Prefix for the auto-generated API key. For example, tb_Ood4dQMxWvMH-76z3E_Cv0mZaBWT0Clk3hRSO0P_jNQ value_prefix: "${SECURITY_API_KEY_VALUE_PREFIX:tb_}" # Length of the auto-generated API key. Max is 255 - value_bytes_size: "${SECURITY_API_KEY_VALUE_PREFIX:64}" + value_bytes_size: "${SECURITY_API_KEY_VALUE_BYTES_SIZE:64}" # Enable/disable case-sensitive username login user_login_case_sensitive: "${SECURITY_USER_LOGIN_CASE_SENSITIVE:true}" claim: From f9bccf9ef97ad45024dbdae36e995fdfb42e1d3d Mon Sep 17 00:00:00 2001 From: Dmytro Artamonov Date: Mon, 19 Oct 2026 15:26:53 +0300 Subject: [PATCH 220/559] fix(ttl): load ApiKeysCleanUpService when api key cleanup is enabled The bean condition also required sql.ttl.api_keys.ttl to be greater than zero, but that property is not defined in thingsboard.yml and defaulted to zero, so the bean was never created and expired API key rows were never removed. ApiKeysCleanUpService does not read a retention value: it deletes keys whose expiration time has already passed. Drop the unused property from the condition and gate the bean on sql.ttl.api_keys.enabled alone. Note that cleanup is now active by default on upgrade, since sql.ttl.api_keys.enabled defaults to true. Expired API keys are already rejected during authentication, so this only removes the stale rows. --- .../thingsboard/server/service/ttl/ApiKeysCleanUpService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/ttl/ApiKeysCleanUpService.java b/application/src/main/java/org/thingsboard/server/service/ttl/ApiKeysCleanUpService.java index da56b02434..40a28eb853 100644 --- a/application/src/main/java/org/thingsboard/server/service/ttl/ApiKeysCleanUpService.java +++ b/application/src/main/java/org/thingsboard/server/service/ttl/ApiKeysCleanUpService.java @@ -13,7 +13,7 @@ import org.thingsboard.server.queue.util.TbCoreComponent; @Slf4j @Service @TbCoreComponent -@ConditionalOnExpression("${sql.ttl.api_keys.enabled:true} && ${sql.ttl.api_keys.ttl:0} > 0") +@ConditionalOnExpression("${sql.ttl.api_keys.enabled:true}") public class ApiKeysCleanUpService extends AbstractCleanUpService { public static final String RANDOM_DELAY_INTERVAL_MS_EXPRESSION = From fe5d1c94a72e73e5bda688ec47880ab2297aa62d Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 19 Oct 2026 15:58:23 +0200 Subject: [PATCH 221/559] Fixed label autocomplete dropdown in rule node link dialog (#16360) * Fixed label autocomplete dropdown in rule node link dialog * License headers fix --- .../rulechain/add-rule-node-link-dialog.component.scss | 9 --------- .../home/pages/rulechain/link-labels.component.html | 6 ++---- .../home/pages/rulechain/rulechain-page.component.ts | 1 - 3 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 ui-ngx/src/app/modules/home/pages/rulechain/add-rule-node-link-dialog.component.scss diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/add-rule-node-link-dialog.component.scss b/ui-ngx/src/app/modules/home/pages/rulechain/add-rule-node-link-dialog.component.scss deleted file mode 100644 index 61efde28ec..0000000000 --- a/ui-ngx/src/app/modules/home/pages/rulechain/add-rule-node-link-dialog.component.scss +++ /dev/null @@ -1,9 +0,0 @@ -// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 -:host ::ng-deep { - tb-rule-node-link { - form { - overflow: hidden !important; - } - } -} diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/link-labels.component.html b/ui-ngx/src/app/modules/home/pages/rulechain/link-labels.component.html index 9c1f9a2b2d..669e85ac37 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/link-labels.component.html +++ b/ui-ngx/src/app/modules/home/pages/rulechain/link-labels.component.html @@ -1,7 +1,8 @@ @@ -22,9 +23,6 @@ #labelInput (focusin)="onFocus()" formControlName="label" - matAutocompleteOrigin - #origin="matAutocompleteOrigin" - [matAutocompleteConnectedTo]="origin" [matAutocomplete]="labelAutocomplete" [matChipInputFor]="chipList" [matChipInputSeparatorKeyCodes]="separatorKeysCodes" diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts index 6e5bafcfa4..eb723063bd 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts +++ b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts @@ -1989,7 +1989,6 @@ export interface AddRuleNodeLinkDialogData { selector: 'tb-add-rule-node-link-dialog', templateUrl: './add-rule-node-link-dialog.component.html', providers: [{ provide: ErrorStateMatcher, useExisting: AddRuleNodeLinkDialogComponent }], - styleUrls: ['./add-rule-node-link-dialog.component.scss'], standalone: false }) export class AddRuleNodeLinkDialogComponent extends DialogComponent From ce9020a3e161908aa8003cfebd5986e6340d130d Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 19 Oct 2026 15:59:00 +0200 Subject: [PATCH 222/559] Removed widget header button action source from HTML page layout (#16339) * Removed widget header button action source from HTML page layout * Additional fixes nsd License headers fix --- .../app/core/services/dashboard-utils.service.ts | 5 ++++- .../dashboard-page/dashboard-page.component.html | 1 + .../dashboard-page/edit-widget.component.ts | 16 ++++++++++++---- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/core/services/dashboard-utils.service.ts b/ui-ngx/src/app/core/services/dashboard-utils.service.ts index 43e7754e58..a121cddf28 100644 --- a/ui-ngx/src/app/core/services/dashboard-utils.service.ts +++ b/ui-ngx/src/app/core/services/dashboard-utils.service.ts @@ -45,6 +45,7 @@ import { TargetDevice, TargetDeviceType, Widget, + widgetActionSources, WidgetConfig, WidgetConfigMode, WidgetSize, @@ -690,11 +691,13 @@ export class DashboardUtilsService { }; // Stable per state: an unchanged page keeps its rendered instance, a changed one is re-rendered. const widgetId = htmlPageWidgetId(stateId); + const actions = {...layout.gridSettings?.htmlPageConfig?.actions}; + delete actions[widgetActionSources.headerButton.value]; const config = mergeDeep({}, htmlPageDefaultConfig, { settings: layout.gridSettings?.htmlPageConfig?.settings || mergeDeep({} as HtmlContainerWidgetSettings, htmlContainerDefaultSettings), - actions: layout.gridSettings?.htmlPageConfig?.actions + actions } ); result.widget = { diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.html b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.html index 614fb2ab21..c798ac713f 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.html +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.html @@ -511,6 +511,7 @@ [widgetLayout]="editingWidgetLayout" [showLayoutConfig]="showLayoutConfigInEdit(editingLayoutCtx)" [isDefaultBreakpoint]="editingLayoutCtx?.breakpoint === 'default'" + [isHtmlPage]="isHtml" (revertWidgetConfig)="onRevertWidgetEdit()" (applyWidgetConfig)="saveWidget()"> diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/edit-widget.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/edit-widget.component.ts index 01771c5a7a..f241b66d6e 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/edit-widget.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/edit-widget.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { Store } from '@ngrx/store'; @@ -7,7 +8,7 @@ import { AppState } from '@core/core.state'; import { MatDialog } from '@angular/material/dialog'; import { Dashboard, WidgetLayout } from '@shared/models/dashboard.models'; import { IAliasController, IStateController } from '@core/api/widget-api.models'; -import { Widget, WidgetConfigMode } from '@shared/models/widget.models'; +import { Widget, widgetActionSources, WidgetConfigMode } from '@shared/models/widget.models'; import { WidgetComponentService } from '@home/components/widget/widget-component.service'; import { WidgetConfigComponentData } from '../../models/widget-component.models'; import { isDefined, isDefinedAndNotNull } from '@core/utils'; @@ -53,6 +54,10 @@ export class EditWidgetComponent extends PageComponent implements OnInit, OnChan @coerceBoolean() isDefaultBreakpoint= true; + @Input() + @coerceBoolean() + isHtmlPage = false; + @Output() applyWidgetConfig = new EventEmitter(); @@ -94,7 +99,7 @@ export class EditWidgetComponent extends PageComponent implements OnInit, OnChan for (const propName of Object.keys(changes)) { const change = changes[propName]; if (!change.firstChange && change.currentValue !== change.previousValue) { - if (['widget', 'widgetLayout'].includes(propName)) { + if (['widget', 'widgetLayout', 'isHtmlPage'].includes(propName)) { reloadConfig = true; } } @@ -135,7 +140,10 @@ export class EditWidgetComponent extends PageComponent implements OnInit, OnChan widgetInfo.typeLatestDataKeySettingsForm : (widgetInfo.latestDataKeySettingsForm || []); const typeParameters = widgetInfo.typeParameters; const dataKeySettingsFunction: DataKeySettingsFunction = typeParameters?.dataKeySettingsFunction; - const actionSources = widgetInfo.actionSources; + const actionSources = {...widgetInfo.actionSources}; + if (this.isHtmlPage) { + delete actionSources[widgetActionSources.headerButton.value]; + } const isDataEnabled = isDefined(widgetInfo.typeParameters) ? !widgetInfo.typeParameters.useCustomDatasources : true; this.widgetConfig = { From caee746fcd71113018ef98ec388eaed35cdf84b0 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 19 Oct 2026 16:05:51 +0200 Subject: [PATCH 223/559] Fixed color range settings being corrupted when rangeList has no advancedMode (#16342) * Fixed color range settings being corrupted when rangeList has no advancedMode * Additional fixes --- ...tal-simple-gauge-basic-config.component.ts | 6 +-- .../common/color-range-list.component.ts | 9 +++-- .../common/color-settings.component.ts | 12 +++--- .../common/count-widget-settings.component.ts | 2 +- ...digital-gauge-widget-settings.component.ts | 4 +- .../shared/models/widget-settings.models.ts | 40 +++++++++++++------ 6 files changed, 45 insertions(+), 28 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/config/basic/gauge/digital-simple-gauge-basic-config.component.ts b/ui-ngx/src/app/modules/home/components/widget/config/basic/gauge/digital-simple-gauge-basic-config.component.ts index 5e2c51f1a4..1eb2d860cb 100644 --- a/ui-ngx/src/app/modules/home/components/widget/config/basic/gauge/digital-simple-gauge-basic-config.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/config/basic/gauge/digital-simple-gauge-basic-config.component.ts @@ -27,7 +27,7 @@ import { DigitalGaugeSettings, DigitalGaugeType } from '@home/components/widget/lib/digital-gauge.models'; -import { ColorSettings, ColorType } from '@shared/models/widget-settings.models'; +import { ColorSettings, ColorType, normalizeColorRangeSettings } from '@shared/models/widget-settings.models'; import { getSourceTbUnitSymbol } from '@shared/models/unit.models'; @Component({ @@ -161,8 +161,8 @@ export class DigitalSimpleGaugeBasicConfigComponent extends BasicWidgetConfigCom if (barColor.type === ColorType.range) { this.widgetConfig.config.settings.useFixedLevelColor = true; - this.widgetConfig.config.settings.fixedLevelColors = - barColor.rangeList.advancedMode ? barColor.rangeList.rangeAdvanced : barColor.rangeList.range; + const rangeList = normalizeColorRangeSettings(barColor.rangeList); + this.widgetConfig.config.settings.fixedLevelColors = rangeList?.advancedMode ? rangeList.rangeAdvanced : rangeList?.range; } else { this.widgetConfig.config.settings.useFixedLevelColor = false; } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-range-list.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-range-list.component.ts index 0256cc5248..84c574c559 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-range-list.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-range-list.component.ts @@ -16,12 +16,13 @@ import { AdvancedColorRange, ColorRange, ColorRangeSettings, + normalizeColorRangeSettings, ValueSourceType } from '@shared/models/widget-settings.models'; import { TbPopoverComponent } from '@shared/components/popover.component'; import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; -import { deepClone, isDefinedAndNotNull, isUndefined } from '@core/utils'; +import { isDefinedAndNotNull } from '@core/utils'; import { CdkDragDrop } from '@angular/cdk/drag-drop'; import { IAliasController } from '@core/api/widget-api.models'; import { coerceBoolean } from '@shared/decorators/coercion'; @@ -121,11 +122,11 @@ export class ColorRangeListComponent implements OnInit, ControlValueAccessor, On writeValue(value: any): void { if (value) { let rangeList: ColorRangeSettings = {}; - if (this.simpleRange || (isUndefined(value?.advancedMode) && value?.length)) { + if (this.simpleRange) { rangeList.advancedMode = false; - rangeList.range = value; + rangeList.range = normalizeColorRangeSettings(value).range; } else { - rangeList = deepClone(value); + rangeList = normalizeColorRangeSettings(value); } this.colorRangeListFormGroup.get('advancedMode').patchValue(rangeList.advancedMode || false, {emitEvent: false}); if (isDefinedAndNotNull(rangeList?.range)) { diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings.component.ts index f03ed93246..41c781b893 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings.component.ts @@ -11,14 +11,14 @@ import { ViewContainerRef } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { ColorRange, ColorSettings, ColorType, ComponentStyle } from '@shared/models/widget-settings.models'; +import { ColorSettings, ColorType, ComponentStyle, normalizeColorRangeSettings } from '@shared/models/widget-settings.models'; import { MatButton } from '@angular/material/button'; import { TbPopoverService } from '@shared/components/popover.service'; import { ColorSettingsPanelComponent } from '@home/components/widget/lib/settings/common/color-settings-panel.component'; import { IAliasController } from '@core/api/widget-api.models'; -import { deepClone, isDefinedAndNotNull } from '@core/utils'; +import { isDefinedAndNotNull } from '@core/utils'; import { coerceBoolean } from '@shared/decorators/coercion'; import { DataKeysCallbacks } from '@home/components/widget/lib/settings/common/key/data-keys.component.models'; import { Datasource } from '@shared/models/widget.models'; @@ -129,11 +129,9 @@ export class ColorSettingsComponent implements OnInit, ControlValueAccessor, OnD writeValue(value: ColorSettings): void { if (value) { - this.modelValue = value; - if (isDefinedAndNotNull(this.modelValue.rangeList) && !isDefinedAndNotNull(this.modelValue.rangeList?.advancedMode)) { - const range = deepClone(this.modelValue.rangeList) as ColorRange[]; - this.modelValue.rangeList = deepClone({advancedMode: false, range}); - } + this.modelValue = isDefinedAndNotNull(value.rangeList) + ? {...value, rangeList: normalizeColorRangeSettings(value.rangeList)} + : value; this.updateColorStyle(); } } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/count-widget-settings.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/count-widget-settings.component.ts index eae553cec3..def1141af5 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/count-widget-settings.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/count-widget-settings.component.ts @@ -140,7 +140,7 @@ export class CountWidgetSettingsComponent extends PageComponent implements OnIni } private updateModel() { - const value: CountWidgetSettings = this.countWidgetConfigForm.value; + const value: CountWidgetSettings = this.countWidgetConfigForm.getRawValue(); this.propagateChange(value); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/gauge/digital-gauge-widget-settings.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/gauge/digital-gauge-widget-settings.component.ts index 7fb20254a8..621c84a59a 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/gauge/digital-gauge-widget-settings.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/gauge/digital-gauge-widget-settings.component.ts @@ -28,6 +28,7 @@ import { ColorSettings, ColorType, constantColor, + normalizeColorRangeSettings, simpleDateFormat, ValueSourceConfig, ValueSourceType @@ -219,7 +220,8 @@ export class DigitalGaugeWidgetSettingsComponent extends WidgetSettingsComponent if (barColor.type === ColorType.range) { settings.useFixedLevelColor = true; - settings.fixedLevelColors = barColor.rangeList.advancedMode ? barColor.rangeList.rangeAdvanced : barColor.rangeList.range; + const rangeList = normalizeColorRangeSettings(barColor.rangeList); + settings.fixedLevelColors = rangeList?.advancedMode ? rangeList.rangeAdvanced : rangeList?.range; } else { settings.useFixedLevelColor = false; } diff --git a/ui-ngx/src/app/shared/models/widget-settings.models.ts b/ui-ngx/src/app/shared/models/widget-settings.models.ts index 36fbef9c90..455a09cc02 100644 --- a/ui-ngx/src/app/shared/models/widget-settings.models.ts +++ b/ui-ngx/src/app/shared/models/widget-settings.models.ts @@ -1,6 +1,7 @@ // SPDX-FileCopyrightText: Copyright The Thingsboard Authors // SPDX-License-Identifier: Apache-2.0 import { + deepClone, isDefinedAndNotNull, isNotEmptyStr, isNumber, @@ -147,6 +148,28 @@ export interface ColorRangeSettings extends AdvancedColorMode { rangeAdvanced?: AdvancedColorRange[]; } +/** + * Converts any stored rangeList shape to ColorRangeSettings. Always returns a new deep copy (null/undefined pass through), + * so callers may mutate the result freely. + */ +export const normalizeColorRangeSettings = (rangeList: ColorRangeSettings | ColorRange[]): ColorRangeSettings => { + if (!isDefinedAndNotNull(rangeList)) { + return rangeList as ColorRangeSettings; + } + if (Array.isArray(rangeList)) { + return {advancedMode: false, range: deepClone(rangeList)}; + } + const result: ColorRangeSettings = deepClone(rangeList); + result.advancedMode = result.advancedMode ?? false; + // Unwraps the legacy corrupted shape {range: {advancedMode, range: [...]}} (possibly nested several levels deep) + let range: any = result.range; + while (isDefinedAndNotNull(range) && !Array.isArray(range)) { + range = range.range; + } + result.range = range; + return result; +}; + export interface ColorGradientSettings extends AdvancedColorMode { gradient?: string[]; gradientAdvanced?: AdvancedGradient[]; @@ -473,9 +496,9 @@ export abstract class AdvancedModeColorProcessor extends ColorProcessor { class RangeColorProcessor extends AdvancedModeColorProcessor { - constructor(protected settings: ColorSettings, - protected ctx: WidgetContext) { - super(settings, ctx); + constructor(settings: ColorSettings, + ctx: WidgetContext) { + super({...settings, rangeList: normalizeColorRangeSettings(settings.rangeList)}, ctx); } update(value: any): void { @@ -519,15 +542,8 @@ class RangeColorProcessor extends AdvancedModeColorProcessor { } private computeFromRange(value: any): string { - let rangeList: any = this.settings.rangeList as Array; - let advancedMode = false; - - if (isDefinedAndNotNull(this.settings.rangeList?.advancedMode)) { - advancedMode = this.settings.rangeList.advancedMode; - rangeList = advancedMode ? - this.settings.rangeList.rangeAdvanced as Array : - this.settings.rangeList.range as Array; - } + const advancedMode = this.settings.rangeList?.advancedMode ?? false; + const rangeList: any = advancedMode ? this.settings.rangeList?.rangeAdvanced : this.settings.rangeList?.range; if (rangeList?.length && isDefinedAndNotNull(value) && isNumeric(value)) { const num = Number(value); From b7b04b486275f1f39893ea2fb670e9ed67bd444c Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Mon, 19 Oct 2026 17:33:06 +0300 Subject: [PATCH 224/559] =?UTF-8?q?Use=20=C2=AB=D0=BF=D0=BB=D0=B0=D0=BD=20?= =?UTF-8?q?=D0=BF=D1=96=D0=B4=D0=BF=D0=B8=D1=81=D0=BA=D0=B8=C2=BB=20for=20?= =?UTF-8?q?subscription=20plan=20in=20Ukrainian=20(#16309)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui-ngx/src/assets/locale/locale.constant-uk_UA.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index 8d62a64dc2..c99ddc9ad7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -14225,13 +14225,13 @@ "upgrade-subscription-plan": "Будь ласка, перейдіть на вищий план", "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} доступний, починаючи з плану {{planName}}. Щоб продовжити, попросіть системного адміністратора перейти на вищий план.", "limit-reached": { - "device-count": "Ви досягли максимальної кількості пристроїв ({{value}}), дозволеної вашим тарифним планом!", - "asset-count": "Ви досягли максимальної кількості активів ({{value}}), дозволеної вашим тарифним планом!", - "edge-count": "Ви досягли максимальної кількості екземплярів Edge ({{value}}), дозволеної вашим тарифним планом!", - "agent-count": "Ви досягли максимальної кількості Remote Agent ({{value}}), дозволеної вашим тарифним планом!" + "device-count": "Ви досягли максимальної кількості пристроїв ({{value}}), дозволеної вашим планом підписки!", + "asset-count": "Ви досягли максимальної кількості активів ({{value}}), дозволеної вашим планом підписки!", + "edge-count": "Ви досягли максимальної кількості екземплярів Edge ({{value}}), дозволеної вашим планом підписки!", + "agent-count": "Ви досягли максимальної кількості Remote Agent ({{value}}), дозволеної вашим планом підписки!" }, "feature-disabled": { - "white-labeling": "Функція брендування не дозволена вашим тарифним планом!" + "white-labeling": "Функція брендування не дозволена вашим планом підписки!" } }, "phone-input": { From 9a78a2540ee0f3b3514d3f8a8e9309b1c95ce1b2 Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Mon, 19 Oct 2026 17:59:51 +0300 Subject: [PATCH 225/559] =?UTF-8?q?Update=20Spanish=20translation=20for=20?= =?UTF-8?q?4.4:=20missing=20keys,=20terminology,=20informal=20=C2=ABt?= =?UTF-8?q?=C3=BA=C2=BB=20(#16319)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update Spanish translation for 4.4: missing keys, terminology, informal «tú» * Remove Spanish keys that en_US no longer has * Spanish: unify terminology and fix capitalization after source review - Entity names are lowercase inside a sentence (cliente, inquilino), as Spanish spells common nouns, instead of copying English Title Case. - Alarm clearing: Resolver / Resuelta / condición de resolución (Zabbix and Grafana Spanish UIs), replacing Despejar. - Remove from group: Quitar del grupo (the entity stays); Eliminar is Delete. - One term per concept: agregar (not añadir), informe (not reporte), descripción emergente (tooltip), últimos valores, nodo de reglas, origen de datos, convertidor, severidad, programación (schedule). - Fixes: participle agreement in version-control result plurals; "Image quality" and "Dash cap" labels shortened; trailing space restored in timewindow.short.minutes/seconds so "5 min 30 seg" does not render as "5 min30 seg". * Spanish: widget.actual is the "not deprecated" widget filter, not "real" DeprecatedFilter.ACTUAL (widget.models.ts) sits next to All and Deprecated in the widget library filter, so it means current widgets: «Actual». * Spanish: quoted UI labels match the real labels Hints that quote a button or option name now use that label's current translation (Parsear a texto plano, ID del cliente, Abrir detalles de entidad en, Acumulación de serie temporal, Actualizar información de la licencia). --- .../assets/locale/locale.constant-es_ES.json | 4026 ++++++++++++----- 1 file changed, 2846 insertions(+), 1180 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index fb6eb7a139..288f904c4f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "Activar ThingsBoard", + "initial": { + "welcome": "Bienvenido a ThingsBoard {{version}}", + "title": "Obtén tu licencia gratuita y empieza a construir", + "desc": "Unos minutos en el Portal de licencias — crearás una cuenta, elegirás una licencia y esta instancia se activará sola.", + "open-license-portal": "Abrir el Portal de licencias", + "already-have-license": "¿Ya tienes una licencia?", + "free-no-credit-card": "Gratis para siempre. No se necesita tarjeta de crédito.", + "source-available": "Código fuente disponible bajo" + }, + "waiting": { + "live-eyebrow": "Esperando la activación", + "title": "Continúa en el Portal de licencias", + "desc": "Inicia sesión o crea una cuenta, elige una licencia y acepta los términos. Esta instancia se activa sola en cuanto se emite la licencia.", + "nothing-opened": "¿No se abrió nada?", + "paste-link-or-scan-qr-code": "Pega el enlace de texto en cualquier dispositivo con internet o escanea el código QR con un teléfono.", + "text-link": "Enlace de texto", + "qr-code": "Código QR", + "qr-code-hint": "Apunta la cámara de un teléfono al código y luego abre el enlace. El teléfono necesita su propia conexión a internet.", + "have-key": "¿Tienes una clave de licencia?", + "activate-key": "Activar la licencia con una clave" + }, + "offline": { + "eyebrow": "Sin conexión", + "title": "Activar desde otro dispositivo", + "desc": "Este servidor no puede conectarse al Portal de licencias, así que esto requiere dos pasos: obtén tu licencia allí en un dispositivo conectado y luego ingresa la clave aquí.", + "get-your-license": "Obtén tu licencia en el portal", + "open-link": "Abre este enlace en cualquier dispositivo con internet. Iniciarás sesión o crearás una cuenta, elegirás una licencia y aceptarás los términos. Luego el portal te mostrará una clave de licencia.", + "paste-key": "Pega la clave aquí", + "no-connected-device": "¿No tienes ningún dispositivo conectado?" + }, + "have-key": { + "title": "Activar la licencia con una clave", + "enter-license-key": "Ingresa tu clave de licencia", + "enter-license-key-note": "Está en tu cuenta del Portal de licencias: inicia sesión en {{hostName}} desde cualquier dispositivo y cópiala desde allí.", + "no-account": "¿No tienes cuenta ni dispositivo conectado?", + "contact-support": "Contactar al soporte" + }, + "key-form": { + "placeholder": "Pega tu clave de licencia", + "invalid": "Esa clave no es válida para esta instancia. Verifica si falta algún carácter o contacta al soporte.", + "activate": "Activar", + "activating": "Activando" + }, + "account": { + "title": "Esta instancia está activada", + "desc": "Tu licencia está guardada en este servidor y en tu cuenta del Portal de licencias.", + "create-sys-admin-account": "Crear una cuenta de administrador del sistema", + "create-sys-admin-account-hint": "Te permite iniciar sesión en este servidor — es independiente de la cuenta del Portal de licencias que contiene tu licencia.", + "email-label": "Correo electrónico", + "email-required": "Ingresa una dirección de correo electrónico.", + "email-invalid": "Ingresa una dirección de correo electrónico válida.", + "password-label": "Contraseña", + "password-required": "Ingresa una contraseña.", + "password-min-length": "La contraseña debe tener al menos 6 caracteres.", + "confirm-label": "Confirmar contraseña", + "confirm-required": "Confirma tu contraseña.", + "confirm-mismatch": "Las contraseñas no coinciden.", + "demo-tenant-title": "Configurar un inquilino de demostración", + "demo-tenant-desc": "La forma más rápida de ver la plataforma en acción. Los tableros, dispositivos y cadenas de reglas ya están configurados, con usuarios de inquilino y de cliente listos para iniciar sesión. También puedes abrirlo desde Inquilinos como administrador del sistema.", + "create": "Crear cuenta", + "creating": "Creando cuenta" + }, + "demo-tenant": { + "signed-in-as": "Se creó tu cuenta de administrador del sistema e iniciaste sesión como {{email}}.", + "title": "¿Quieres explorar el inquilino de demostración?", + "desc": "Lo básico ya está configurado — abre un tablero, cambia una regla o conecta tu propio dispositivo.", + "dashboards": "Tableros — creados sobre los dispositivos de abajo, con los widgets ya vinculados", + "devices": "Dispositivos — con sus perfiles de dispositivo y reglas de alarma; ninguno ha enviado datos todavía", + "rule-chains": "Cadenas de reglas — donde se deciden esas alarmas", + "explore": "Explorar el inquilino de demostración", + "not-now": "Ahora no", + "not-now-hint": "Si eliges Ahora no, irás a la administración del sistema.", + "signing-in-later": "Iniciar sesión más tarde", + "demo-tenant-hint": "El administrador propio del inquilino. Como administrador del sistema, también puedes abrir el inquilino desde Inquilinos, sin contraseña." + }, + "non-production": { + "eyebrow": "Se requiere una nueva confirmación", + "title": "Confirma que esta implementación sigue sin ser de producción.", + "desc": "Esta instancia funciona con una licencia gratuita para entornos que no son de producción, que un administrador del sistema vuelve a confirmar periódicamente. Confirmar no afecta tus datos, usuarios ni la conectividad de los dispositivos.", + "confirm": "Confirmar", + "confirming": "Confirmando", + "sysadmin-required": "Solo un administrador del sistema puede confirmar esto.", + "login-as-sysadmin": "Iniciar sesión como administrador del sistema", + "state-verify-failed": "Confirmado, pero no se pudo verificar el estado. Actualiza la página.", + "state-not-updated": "Esta instancia todavía indica que la confirmación está pendiente. Actualiza la página y vuelve a confirmar." + }, + "errors": { + "signin-failed": "Cuenta creada, pero falló el inicio de sesión automático. Actualiza la página e inicia sesión manualmente.", + "state-not-updated": "La configuración se completó, pero el estado no se actualizó. Actualiza la página.", + "state-verify-failed": "La configuración se completó, pero no se pudo verificar el estado. Actualiza la página.", + "no-sign-up-url": "Esta instancia respondió sin un enlace, así que no hay nada que abrir.", + "link-expired": "Ese enlace expiró. Vuelve a abrir el Portal de licencias para obtener uno nuevo.", + "activated-state-verify-failed": "Esta instancia tiene licencia, pero aún no se pudo leer el siguiente paso. Seguimos intentándolo; también puedes actualizar la página.", + "no-connection": "No hay conexión con el servidor. Inténtalo de nuevo más tarde.", + "request-failed": "La solicitud falló. Inténtalo de nuevo." + } + }, "access": { "unauthorized": "No autorizado", "unauthorized-access": "Acceso no autorizado", @@ -23,11 +122,11 @@ "cancel": "Cancelar", "ok": "OK", "delete": "Eliminar", - "add": "Añadir", + "add": "Agregar", "yes": "Sí", "no": "No", - "update": "Actualizar", - "remove": "Eliminar", + "update": "Guardar cambios", + "remove": "Quitar", "search": "Buscar", "clear-search": "Borrar búsqueda", "assign": "Asignar", @@ -53,6 +152,7 @@ "refresh": "Actualizar", "undo": "Deshacer", "copy": "Copiar", + "copied": "Copiado", "paste": "Pegar", "copy-reference": "Copiar referencia", "paste-reference": "Pegar referencia", @@ -80,16 +180,19 @@ "reset-default": "Restablecer el valor predeterminado", "show-more": "Mostrar más", "dont-show-again": "No mostrar de nuevo", + "dont-show-this-again": "No volver a mostrar", "see-documentation": "Ver documentación", "see-debug-events": "Ver eventos de depuración", - "clear": "Limpiar", + "clear": "Borrar", "upload": "Subir", "delete-anyway": "Eliminar de todos modos", "delete-selected": "Eliminar seleccionados", "set": "Establecer", "duplicate": "Duplicar", "disable": "Deshabilitar", - "enable": "Habilitar" + "enable": "Habilitar", + "rename": "Cambiar nombre", + "retry": "Reintentar" }, "aggregation": { "aggregation": "Agregación", @@ -105,6 +208,7 @@ }, "admin": { "settings": "Configuraciones", + "platform": "Plataforma", "general": "General", "general-settings": "Configuración general", "home-settings": "Configuración de inicio", @@ -288,9 +392,9 @@ "client-secret-required": "Se requiere el secreto del cliente.", "client-secret-max-length": "El secreto del cliente debe tener menos de 2049 caracteres", "custom-setting": "Configuraciones personalizadas", - "customer-name-pattern": "Patrón de nombre de customer", - "customer-name-pattern-max-length": "El patrón de nombre de customer debe tener menos de 256 caracteres", - "parent-customer-name-pattern": "Patrón de nombre del customer principal", + "customer-name-pattern": "Patrón de nombre de cliente", + "customer-name-pattern-max-length": "El patrón de nombre de cliente debe tener menos de 256 caracteres", + "parent-customer-name-pattern": "Patrón de nombre del cliente principal", "user-groups-name-pattern": "Patrón de nombre de grupos de usuarios", "default-dashboard-name": "Nombre del tablero predeterminado", "default-dashboard-name-max-length": "El nombre del tablero predeterminado debe tener menos de 256 caracteres", @@ -323,10 +427,10 @@ "registration-id-unique": "El ID de registro debe ser único en el sistema.", "scope": "Alcance", "scope-required": "Se requiere el alcance.", - "tenant-name-pattern": "Patrón de nombre del Tenant", - "tenant-name-pattern-required": "Se requiere el patrón de nombre del Tenant.", - "tenant-name-pattern-max-length": "El patrón de nombre del Tenant debe tener menos de 256 caracteres", - "tenant-name-strategy": "Estrategia de nombre del Tenant", + "tenant-name-pattern": "Patrón de nombre del inquilino", + "tenant-name-pattern-required": "Se requiere el patrón de nombre del inquilino.", + "tenant-name-pattern-max-length": "El patrón de nombre del inquilino debe tener menos de 256 caracteres", + "tenant-name-strategy": "Estrategia de nombre del inquilino", "type": "Tipo de mapeador", "uri-pattern-error": "Formato de URI inválido.", "url": "URL", @@ -378,8 +482,8 @@ "domain-name": "Nombre de dominio", "domain-name-required": "Se requiere el nombre de dominio", "redirect-url-template": "Plantilla de URI de redirección", - "microsoft-tenant-id": "ID de directorio (tenant)", - "microsoft-tenant-id-required": "Se requiere el ID de directorio (tenant)", + "microsoft-tenant-id": "Id. de directorio (inquilino)", + "microsoft-tenant-id-required": "Se requiere el Id. de directorio (inquilino)", "token-uri": "URI del token", "token-uri-required": "Se requiere la URI del token", "redirect-uri": "URI de redirección", @@ -514,7 +618,7 @@ "preview": "Vista previa", "connect-mobile-app": "Conectar aplicación móvil", "use-system-settings": "Usar configuración del sistema", - "warning-not-set-white-labeling": "Estas configuraciones no pueden aplicarse sin especificar la URL base en el etiquetado blanco de inicio de sesión. Antes de editar la configuración del widget de código QR establece ", + "warning-not-set-white-labeling": "Esta configuración no se puede aplicar sin especificar la URL base en la marca blanca de inicio de sesión. Antes de editar la configuración del widget de código QR, establece ", "base-url": "URL base" }, "2fa": { @@ -601,6 +705,7 @@ "delete-chat-confirm": "Sí, eliminar", "action-approval-required": "Se requiere aprobación de la acción", "approve": "Aprobar", + "approve-all": "Aprobar todas las acciones siguientes", "deny": "Denegar", "processing": "Procesando...", "approved": "Hecho", @@ -608,6 +713,7 @@ "error": "Falló", "thinking": "Pensando...", "rename-chat-title": "Cambiar el nombre de este chat", + "export-chat": "Exportar chat", "main-title": "¡Hola! Soy tu asistente de IA" }, "alarm": { @@ -626,15 +732,15 @@ "search-status": { "ANY": "Cualquiera", "ACTIVE": "Activa", - "CLEARED": "Despejada", + "CLEARED": "Resuelta", "ACK": "Reconocida", "UNACK": "No reconocida" }, "display-status": { "ACTIVE_UNACK": "Activa no reconocida", "ACTIVE_ACK": "Activa reconocida", - "CLEARED_UNACK": "Despejada no reconocida", - "CLEARED_ACK": "Despejada reconocida" + "CLEARED_UNACK": "Resuelta no reconocida", + "CLEARED_ACK": "Resuelta reconocida" }, "no-alarms-prompt": "No se encontraron alarmas", "created-time": "Hora de creación", @@ -660,7 +766,7 @@ "assign-time": "Hora de asignación", "end-time": "Hora de finalización", "ack-time": "Hora de reconocimiento", - "clear-time": "Hora de despeje", + "clear-time": "Hora de resolución", "duration": "Duración", "alarm-severity": "Severidad de la alarma", "alarm-severity-list": "Lista de severidades de alarma", @@ -671,7 +777,7 @@ "severity-warning": "Advertencia", "severity-indeterminate": "Indeterminada", "acknowledge": "Reconocer", - "clear": "Despejar", + "clear": "Resolver", "delete": "Eliminar", "search": "Buscar alarmas", "selected-alarms": "{ count, plural, =1 {1 alarma} other {# alarmas} } seleccionadas", @@ -684,13 +790,13 @@ "aknowledge-alarm-title": "Reconocer alarma", "aknowledge-alarm-text": "¿Estás seguro de que deseas reconocer la alarma?", "selected-alarms-are-acknowledged": "Las alarmas seleccionadas ya están reconocidas", - "clear-alarms-title": "Despejar { count, plural, =1 {1 alarma} other {# alarmas} }", - "clear-alarms-text": "¿Estás seguro de que deseas despejar { count, plural, =1 {1 alarma} other {# alarmas} }?", - "clear-alarm-title": "Despejar alarma", - "clear-alarm-text": "¿Estás seguro de que deseas despejar la alarma?", + "clear-alarms-title": "Resolver { count, plural, =1 {1 alarma} other {# alarmas} }", + "clear-alarms-text": "¿Estás seguro de que deseas resolver { count, plural, =1 {1 alarma} other {# alarmas} }?", + "clear-alarm-title": "Resolver alarma", + "clear-alarm-text": "¿Estás seguro de que deseas resolver la alarma?", "delete-alarms-title": "Eliminar { count, plural, =1 {1 alarma} other {# alarmas} }", "delete-alarms-text": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 alarma} other {# alarmas} }?", - "selected-alarms-are-cleared": "Las alarmas seleccionadas ya están despejadas", + "selected-alarms-are-cleared": "Las alarmas seleccionadas ya están resueltas", "alarm-status-filter": "Filtro de estado de alarma", "alarm-filter-title": "Filtro de alarma", "assigned": "Asignado", @@ -716,12 +822,12 @@ "alarm-type-list-empty": "No se han seleccionado tipos de alarma.", "system-comments": { "acked-by-user": "La alarma fue reconocida por el usuario {{userName}}", - "cleared-by-user": "La alarma fue borrada por el usuario {{userName}}", + "cleared-by-user": "La alarma fue resuelta por el usuario {{userName}}", "assigned-to-user": "La alarma fue asignada por el usuario {{userName}} al usuario {{assigneeName}}", "unassigned-to-user": "La alarma fue desasignada por el usuario {{userName}}", "unassigned-from-deleted-user": "La alarma fue desasignada porque el usuario {{userName}} fue eliminado", "comment-deleted": "El usuario {{userName}} eliminó su comentario", - "severity-changed": "La gravedad de la alarma se actualizó de {{oldSeverity}} a {{newSeverity}}" + "severity-changed": "La severidad de la alarma se actualizó de {{oldSeverity}} a {{newSeverity}}" } }, "alarm-activity": { @@ -782,10 +888,10 @@ "filter-type-relations-query-description": "{{entities}} que tienen una relación de tipo {{relationType}} {{direction}} {{rootEntity}}", "filter-type-edge-search-query": "Consulta de búsqueda de Edge", "filter-type-edge-search-query-description": "Edges de tipo {{edgeTypes}} que tienen una relación de tipo {{relationType}} {{direction}} {{rootEntity}}", - "filter-type-scheduler-event": "Eventos del programador", - "filter-type-scheduler-event-type-description": "Eventos del programador con tipo '{{eventType}}'", - "filter-type-scheduler-event-originator-description": "Eventos del programador de un originador específico", - "filter-type-scheduler-event-type-originator-description": "Eventos del programador de un originador específico con tipo '{{eventType}}'", + "filter-type-scheduler-event": "Eventos programados", + "filter-type-scheduler-event-type-description": "Eventos programados con tipo '{{eventType}}'", + "filter-type-scheduler-event-originator-description": "Eventos programados de un originador específico", + "filter-type-scheduler-event-type-originator-description": "Eventos programados de un originador específico con tipo '{{eventType}}'", "filter-type-asset-search-query": "Consulta de búsqueda de activos", "filter-type-asset-search-query-description": "Activos de tipo {{assetTypes}} con relación de tipo {{relationType}} {{direction}} {{rootEntity}}", "filter-type-device-search-query": "Consulta de búsqueda de dispositivos", @@ -834,7 +940,7 @@ "originator-state-entity": "Usar la entidad del estado del tablero como originador", "originator-from-originator-entity": "Usar la entidad originadora como originador del evento", "originator-master-report-entity": "Usar la entidad del informe maestro como originador", - "scheduler-event-type": "Tipo de evento del programador" + "scheduler-event-type": "Tipo de evento programado" }, "asset": { "all": "Todos", @@ -847,16 +953,16 @@ "view-assets": "Ver activos", "add": "Agregar activo", "asset-type-max-length": "El tipo de activo debe tener menos de 256 caracteres", - "assign-to-customer": "Asignar a customer", + "assign-to-customer": "Asignar a cliente", "assign-asset-to-customer": "Asignar activo(s) al cliente", - "assign-asset-to-customer-text": "Selecciona los activos que deseas asignar al customer", + "assign-asset-to-customer-text": "Selecciona los activos que deseas asignar al cliente", "no-assets-text": "No se encontraron activos", - "assign-to-customer-text": "Selecciona el customer al que deseas asignar el/los activo(s)", + "assign-to-customer-text": "Selecciona el cliente al que deseas asignar el/los activo(s)", "public": "Público", - "assignedToCustomer": "Asignado a customer", + "assignedToCustomer": "Asignado a cliente", "make-public": "Hacer público el activo", "make-private": "Hacer privado el activo", - "unassign-from-customer": "Desasignar del customer", + "unassign-from-customer": "Desasignar del cliente", "delete": "Eliminar activo", "asset-public": "El activo es público", "asset-type": "Tipo de activo", @@ -872,7 +978,7 @@ "name-max-length": "El nombre debe tener menos de 256 caracteres", "label-max-length": "La etiqueta debe tener menos de 256 caracteres", "description": "Descripción", - "description-required": "La descripción es obligatoria.", + "description-required": "Se requiere la descripción.", "type": "Tipo", "type-required": "Se requiere el tipo.", "details": "Detalles", @@ -880,12 +986,12 @@ "add-asset-text": "Agregar nuevo activo", "asset-details": "Detalles del activo", "assign-assets": "Asignar activos", - "assign-assets-text": "Asignar { count, plural, =1 {1 activo} other {# activos} } al customer", + "assign-assets-text": "Asignar { count, plural, =1 {1 activo} other {# activos} } al cliente", "assign-asset-to-edge-title": "Asignar activo(s) a Edge", "assign-asset-to-edge-text": "Selecciona los activos que deseas asignar a Edge", "delete-assets": "Eliminar activos", "unassign-assets": "Desasignar activos", - "unassign-assets-action-title": "Desasignar { count, plural, =1 {1 activo} other {# activos} } del customer", + "unassign-assets-action-title": "Desasignar { count, plural, =1 {1 activo} other {# activos} } del cliente", "assign-new-asset": "Asignar nuevo activo", "delete-asset-title": "¿Estás seguro de que deseas eliminar el activo '{{assetName}}'?", "delete-asset-text": "Ten cuidado, después de la confirmación el activo y todos los datos relacionados serán irrecuperables.", @@ -893,14 +999,14 @@ "delete-assets-action-title": "Eliminar { count, plural, =1 {1 activo} other {# activos} }", "delete-assets-text": "Ten cuidado, después de la confirmación todos los activos seleccionados se eliminarán y todos los datos relacionados serán irrecuperables.", "make-public-asset-title": "¿Estás seguro de que deseas hacer público el activo '{{assetName}}'?", - "make-public-asset-text": "Después de la confirmación, el activo y todos sus datos serán públicos y accesibles por otros.", + "make-public-asset-text": "Después de la confirmación, el activo y todos sus datos serán públicos y accesibles para otros.", "make-private-asset-title": "¿Estás seguro de que deseas hacer privado el activo '{{assetName}}'?", - "make-private-asset-text": "Después de la confirmación, el activo y todos sus datos serán privados y no serán accesibles por otros.", + "make-private-asset-text": "Después de la confirmación, el activo y todos sus datos serán privados y no serán accesibles para otros.", "unassign-asset-title": "¿Estás seguro de que deseas desasignar el activo '{{assetName}}'?", - "unassign-asset-text": "Después de la confirmación, el activo se desasignará y no será accesible por el customer.", + "unassign-asset-text": "Después de la confirmación, el activo se desasignará y no será accesible para el cliente.", "unassign-asset": "Desasignar activo", "unassign-assets-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 activo} other {# activos} }?", - "unassign-assets-text": "Después de la confirmación, todos los activos seleccionados se desasignarán y no serán accesibles por el customer.", + "unassign-assets-text": "Después de la confirmación, todos los activos seleccionados se desasignarán y no serán accesibles para el cliente.", "copyId": "Copiar ID del activo", "idCopiedMessage": "El ID del activo ha sido copiado al portapapeles", "select-asset": "Seleccionar activo", @@ -921,9 +1027,9 @@ "assign-asset-to-edge": "Asignar activo(s) a Edge", "unassign-asset-from-edge": "Desasignar activo", "unassign-asset-from-edge-title": "¿Estás seguro de que deseas desasignar el activo '{{assetName}}'?", - "unassign-asset-from-edge-text": "Después de la confirmación, el activo se desasignará y no será accesible por Edge.", + "unassign-asset-from-edge-text": "Después de la confirmación, el activo se desasignará y no será accesible para Edge.", "unassign-assets-from-edge-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 activo} other {# activos} }?", - "unassign-assets-from-edge-text": "Después de la confirmación, todos los activos seleccionados se desasignarán y no serán accesibles por Edge.", + "unassign-assets-from-edge-text": "Después de la confirmación, todos los activos seleccionados se desasignarán y no serán accesibles para Edge.", "selected-assets": "{ count, plural, =1 {1 activo} other {# activos} } seleccionado" }, "attribute": { @@ -961,6 +1067,7 @@ "prev-widget": "Widget anterior", "add-to-dashboard": "Agregar al tablero", "add-widget-to-dashboard": "Agregar widget al tablero", + "no-widget-grid-in-dashboard": "Todos los estados de este tablero son páginas HTML, por lo que no se puede agregar el widget.", "selected-attributes": "{ count, plural, =1 {1 atributo} other {# atributos} } seleccionado", "selected-telemetry": "{ count, plural, =1 {1 unidad de telemetría} other {# unidades de telemetría} } seleccionada", "no-attributes-text": "No se encontraron atributos", @@ -984,9 +1091,9 @@ "api-features": "Características de la API", "api-usage": "Uso de la API", "alarm": "Alarma", - "alarm-and-report": "Alarma y reporte", - "alarms-and-reports-created": "Alarmas y reportes creados", - "alarms-and-reports-hourly-activity": "Actividad horaria de alarmas y reportes creados", + "alarm-and-report": "Alarma e informe", + "alarms-and-reports-created": "Alarmas e informes creados", + "alarms-and-reports-hourly-activity": "Actividad horaria de alarmas e informes creados", "alarms-created": "Alarmas creadas", "queue-stats": "Estadísticas de la cola", "processing-failures-and-timeouts": "Fallos y tiempos de espera en el procesamiento", @@ -1029,7 +1136,7 @@ "rule-engine-daily-activity": "Actividad diaria del motor de reglas", "rule-engine-monthly-activity": "Actividad mensual del motor de reglas", "rule-engine-statistics": "Estadísticas del motor de reglas", - "rule-node": "Nodo de regla", + "rule-node": "Nodo de reglas", "sms": "SMS", "sms-messages": "Mensajes SMS", "sms-messages-hourly-activity": "Actividad horaria de mensajes SMS", @@ -1063,10 +1170,10 @@ "tbel-function-executions-hourly-activity": "Actividad horaria de ejecuciones de funciones TBEL", "tbel-function-executions-daily-activity": "Actividad diaria de ejecuciones de funciones TBEL", "tbel-function-executions-monthly-activity": "Actividad mensual de ejecuciones de funciones TBEL", - "created-reports": "Reportes creados", - "created-reports-hourly-activity": "Actividad horaria de reportes creados", - "created-reports-daily-activity": "Actividad diaria de reportes creados", - "created-reports-monthly-activity": "Actividad mensual de reportes creados", + "created-reports": "Informes creados", + "created-reports-hourly-activity": "Actividad horaria de informes creados", + "created-reports-daily-activity": "Actividad diaria de informes creados", + "created-reports-monthly-activity": "Actividad mensual de informes creados", "emails": "Emails", "emails-hourly-activity": "Actividad horaria de Emails", "emails-daily-activity": "Actividad diaria de Emails", @@ -1076,10 +1183,14 @@ "disabled": "Desactivado", "warning": "Advertencia" }, - "reports-created": "Reportes creados", - "reports-created-hourly-activity": "Actividad horaria de reportes creados", - "reports-created-daily-activity": "Actividad diaria de reportes creados", - "reports-created-monthly-activity": "Actividad mensual de reportes creados" + "reports-created": "Informes creados", + "reports-created-hourly-activity": "Actividad horaria de informes creados", + "reports-created-daily-activity": "Actividad diaria de informes creados", + "reports-created-monthly-activity": "Actividad mensual de informes creados", + "ai-credits": "Créditos de IA", + "ai-credits-hourly-activity": "Actividad por hora de créditos de IA", + "ai-credits-daily-activity": "Actividad diaria de créditos de IA", + "ai-credits-monthly-activity": "Actividad mensual de créditos de IA" }, "api-limit": { "cassandra-write-queries-core": "Consultas de escritura en Cassandra desde la API REST", @@ -1096,16 +1207,16 @@ "notification-requests-per-rule": "Solicitudes de notificación por regla", "reports-generation": "Generación de informes", "rest-api-requests": "Solicitudes de la API REST", - "rest-api-requests-per-customer": "Solicitudes de la API REST por customer", + "rest-api-requests-per-customer": "Solicitudes de la API REST por cliente", "transport-messages": "Mensajes de transporte", "transport-messages-per-device": "Mensajes de transporte por dispositivo", - "transport-messages-per-gateway": "Mensajes de transporte por gateway", - "transport-messages-per-gateway-device": "Mensajes de transporte por dispositivo de gateway", + "transport-messages-per-gateway": "Mensajes de transporte por Gateway", + "transport-messages-per-gateway-device": "Mensajes de transporte por dispositivo de Gateway", "ws-updates-per-session": "Actualizaciones WS por sesión", - "edge-events": "Eventos de edge", - "edge-events-per-edge": "Eventos de edge por instancia de edge", - "edge-uplink-messages": "Mensajes uplink de edge", - "edge-uplink-messages-per-edge": "Mensajes uplink de edge por instancia de edge" + "edge-events": "Eventos de Edge", + "edge-events-per-edge": "Eventos de Edge por instancia de Edge", + "edge-uplink-messages": "Mensajes uplink de Edge", + "edge-uplink-messages-per-edge": "Mensajes uplink de Edge por instancia de Edge" }, "api-key": { "api-key": "Clave de API", @@ -1158,8 +1269,8 @@ "type-attributes-deleted": "Atributos eliminados", "type-rpc-call": "Llamada RPC", "type-credentials-updated": "Credenciales actualizadas", - "type-assigned-to-customer": "Asignado al customer", - "type-unassigned-from-customer": "Desasignado del customer", + "type-assigned-to-customer": "Asignado al cliente", + "type-unassigned-from-customer": "Desasignado del cliente", "type-assigned-to-edge": "Asignado a Edge", "type-unassigned-from-edge": "Desasignado de Edge", "type-activated": "Activado", @@ -1167,12 +1278,12 @@ "type-credentials-read": "Credenciales leídas", "type-attributes-read": "Atributos leídos", "type-added-to-entity-group": "Agregado al grupo", - "type-removed-from-entity-group": "Eliminado del grupo", + "type-removed-from-entity-group": "Quitado del grupo", "type-relation-add-or-update": "Relación actualizada", "type-relation-delete": "Relación eliminada", "type-relations-delete": "Todas las relaciones eliminadas", "type-alarm-ack": "Alarma reconocida", - "type-alarm-clear": "Alarma despejada", + "type-alarm-clear": "Alarma resuelta", "type-alarm-delete": "Alarma eliminada", "type-alarm-assign": "Alarma asignada", "type-alarm-unassign": "Alarma desasignada", @@ -1193,18 +1304,20 @@ "failure-details": "Detalles del fallo", "search": "Buscar registros de auditoría", "clear-search": "Borrar búsqueda", - "type-assigned-from-tenant": "Asignado desde Tenant", - "type-assigned-to-tenant": "Asignado a Tenant", + "type-assigned-from-tenant": "Asignado desde el inquilino", + "type-assigned-to-tenant": "Asignado al inquilino", "type-provision-success": "Dispositivo aprovisionado", "type-provision-failure": "El aprovisionamiento del dispositivo falló", "type-timeseries-updated": "Telemetría actualizada", "type-timeseries-deleted": "Telemetría eliminada", "type-owner-changed": "Propietario cambiado", "type-sms-sent": "SMS enviado", + "type-non-production-confirmed": "Uso fuera de producción confirmado", "any-type": "Cualquier tipo", "audit-log-filter-title": "Filtro de registro de auditoría", "filter-title": "Filtrar", - "filter-types": "Tipos de registro de auditoría" + "filter-types": "Tipos de registro de auditoría", + "action": "Acción" }, "debug-settings": { "label": "Configuración de depuración", @@ -1222,11 +1335,11 @@ "ai-assistant-example-suggest-fields-label": "Sugerir campos calculados", "ai-assistant-example-suggest-fields-message": "Revisa mis dispositivos y sugiere campos calculados que merezca la pena configurar.", "ai-assistant-example-aggregate-label": "Agregar telemetría", - "ai-assistant-example-aggregate-message": "Elige uno de mis dispositivos y configura un campo calculado que agregue algunas de sus claves de telemetría. Describe lo que vas a crear y pídeme confirmación primero.", + "ai-assistant-example-aggregate-message": "Elige uno de mis dispositivos y configura un campo calculado para agregar varias de sus claves de telemetría. Describe lo que vas a crear y pídeme confirmación primero.", "expression": "Expresión", "no-found": "No se encontraron campos calculados", "list": "{ count, plural, =1 {Un campo calculado} other {Lista de # campos calculados} }", - "add": "Añadir campo calculado", + "add": "Agregar campo calculado", "selected-fields": "{ count, plural, =1 {1 campo calculado} other {# campos calculados} } seleccionado(s)", "type": { "simple": "Simple", @@ -1255,11 +1368,11 @@ "no-arguments": "No hay argumentos configurados", "argument-settings": "Configuración de argumentos", "argument-current": "Entidad actual", - "argument-current-tenant": "Tenant actual", + "argument-current-tenant": "Inquilino actual", "argument-device": "Dispositivo", "argument-asset": "Activo", - "argument-customer": "Customer", - "argument-tenant": "Tenant actual", + "argument-customer": "Cliente", + "argument-tenant": "Inquilino actual", "argument-owner": "Propietario actual", "argument-relation-query": "Entidades relacionadas", "argument-type": "Tipo de argumento", @@ -1275,10 +1388,10 @@ "shared-attributes": "Atributos compartidos", "attribute-key": "Clave del atributo", "default-value": "Valor por defecto", - "default-value-required": "El valor predeterminado es obligatorio.", + "default-value-required": "Se requiere el valor por defecto.", "limit": "Máx. valores", "time-window": "Ventana de tiempo", - "customer-name": "Nombre del customer", + "customer-name": "Nombre del cliente", "asset-name": "Nombre del activo", "timeseries": "Serie temporal", "output": "Salida", @@ -1311,9 +1424,9 @@ "tasks-failed-reprocess": "{{ error }} de {{ total }} entidades fallaron al reprocesar", "entity-coordinates": "Coordenadas de la entidad", "latitude-time-series-key": "Clave de serie temporal de latitud", - "latitude-time-series-key-required": "La clave de serie temporal de latitud es obligatoria.", + "latitude-time-series-key-required": "Se requiere la clave de serie temporal de latitud.", "longitude-time-series-key": "Clave de serie temporal de longitud", - "longitude-time-series-key-required": "La clave de serie temporal de longitud es obligatoria.", + "longitude-time-series-key-required": "Se requiere la clave de serie temporal de longitud.", "geofencing-zone-groups": "Grupos de zonas de geovallado", "geofencing-zone-groups-settings": "Configuración de grupos de zonas de geovallado", "target-zone": "Zona objetivo", @@ -1321,12 +1434,12 @@ "report-strategy": "Estrategia de informe", "no-zone-configured": "Se requiere al menos una zona.", "no-zone-configured-required": "Debe configurarse al menos un grupo de zonas.", - "add-zone-group": "Añadir grupo de zonas", + "add-zone-group": "Agregar grupo de zonas", "report-transition-event-only": "Solo eventos de transición", "report-presence-status-only": "Solo estado de presencia", "report-transition-event-and-presence": "Estado de presencia y eventos de transición", "perimeter-attribute-key": "Clave de atributo de perímetro", - "perimeter-attribute-key-required": "La clave de atributo de perímetro es obligatoria.", + "perimeter-attribute-key-required": "Se requiere la clave de atributo de perímetro.", "perimeter-attribute-key-pattern": "La clave de atributo de perímetro no es válida.", "entity-zone-relationship": "Ruta desde la entidad hasta las zonas", "direction": "Dirección de la relación", @@ -1345,7 +1458,7 @@ "direction-up-parent": "Arriba hasta el padre", "direction-down": "Abajo", "direction-down-child": "Abajo hasta el hijo", - "add-level": "Añadir nivel", + "add-level": "Agregar nivel", "delete-level": "Eliminar nivel", "no-level": "No hay ningún nivel configurado", "levels-required": "Debe configurarse al menos un nivel.", @@ -1363,7 +1476,7 @@ "deduplication-interval": "Intervalo de deduplicación", "deduplication-interval-min": "El intervalo de deduplicación debe ser de al menos {{ sec }} segundos.", "deduplication-interval-hint": "Tiempo mínimo entre agregaciones de telemetría.", - "deduplication-interval-required": "El intervalo de deduplicación es obligatorio.", + "deduplication-interval-required": "Se requiere el intervalo de deduplicación.", "calculated-field-filter-title": "Filtro de campo calculado", "filter-title": "Filtrar", "calculated-field-types": "Tipos de campo calculado", @@ -1373,7 +1486,7 @@ "metrics": "Métricas", "metrics-empty": "Debe configurarse al menos una métrica.", "metric-name": "Nombre de métrica", - "metric-name-required": "El nombre de la métrica es obligatorio.", + "metric-name-required": "Se requiere el nombre de la métrica.", "metric-name-pattern": "El nombre de la métrica no es válido.", "metric-name-duplicate": "Ya existe una métrica con ese nombre.", "metric-name-max-length": "El nombre de la métrica debe tener menos de 256 caracteres.", @@ -1382,7 +1495,7 @@ "argument-name": "Nombre del argumento", "aggregation": "Agregación", "aggregation-type": { - "avg": "Media", + "avg": "Promedio", "min": "Mínimo", "max": "Máximo", "sum": "Suma", @@ -1397,7 +1510,7 @@ "function": "Función" }, "no-metrics-configured": "Se requiere al menos una métrica.", - "add-metric": "Añadir métrica", + "add-metric": "Agregar métrica", "max-metrics": "Se ha alcanzado el número máximo de métricas.", "metric-settings": "Configuración de la métrica", "filter": "Filtro", @@ -1409,13 +1522,13 @@ "process-rule-chains": "Procesar mediante cadenas de reglas", "save-time-series": "Guardar en series temporales", "save-database": "Guardar en base de datos", - "save-latest-values": "Guardar en valores más recientes", + "save-latest-values": "Guardar en últimos valores", "send-web-sockets": "Enviar a WebSockets", "save-calculated-fields": "Enviar a campos calculados", "update-attribute-only-on-value-change": "Actualizar atributo solo cuando cambie el valor", "send-attributes-updated-notification": "Enviar notificación de atributos actualizados", "ttl": "TTL personalizado", - "ttl-required": "El TTL es obligatorio", + "ttl-required": "Se requiere TTL", "ttl-min": "Solo se permite un TTL mínimo de 0", "processing-parameters": "Parámetros de procesamiento", "hint": { @@ -1431,19 +1544,19 @@ "send-web-sockets-time-series": "Notifica a las suscripciones de WebSocket sobre las actualizaciones de los datos de series temporales.", "save-calculated-fields-attribute": "Notifica a los campos calculados sobre las actualizaciones de los datos de atributos.", "save-calculated-fields-time-series": "Notifica a los campos calculados sobre las actualizaciones de los datos de series temporales.", - "ttl": "Define el periodo de retención de los datos de series temporales. Si está desactivado, se usa el TTL del perfil de Tenant." + "ttl": "Define el período de retención de los datos de series temporales. Si está desactivado, se usa el TTL del perfil de inquilino." } }, "aggregate-interval-type": "Tipo de intervalo de agregación", "aggregate-interval-value": "Valor del intervalo de agregación", - "aggregate-interval-value-required": "El valor del intervalo de agregación es obligatorio.", + "aggregate-interval-value-required": "Se requiere el valor del intervalo de agregación.", "aggregate-interval-value-min": "El valor del intervalo de agregación debe ser de al menos { sec, plural, =0 {0 segundo} =1 {1 segundo} other {# segundos} }.", "aggregate-interval-value-step-multiple-of": "El valor del intervalo de agregación debe ser un divisor o un múltiplo de 1 día.", "aggregate-period": { "hour": "Hora", "day": "Día", - "week": "Semana (lun - dom)", - "week-sun-sat": "Semana (dom - sáb)", + "week": "Semana (Lun - Dom)", + "week-sun-sat": "Semana (Dom - Sáb)", "month": "Mes", "quarter": "Trimestre", "year": "Año", @@ -1460,13 +1573,13 @@ "apply-offset": "Aplicar desfase al intervalo de agregación", "apply-offset-hint": "Define cuánto desplazar el inicio de cada periodo de agregación (p. ej., +10 minutos - 00:10, 01:10).", "offset-value": "Valor de desfase", - "offset-value-required": "El valor de desfase es obligatorio.", + "offset-value-required": "Se requiere el valor de desplazamiento.", "offset-value-min": "El valor de desfase debe ser un entero positivo.", "offset-value-max": "El valor de desfase debe ser inferior al valor del intervalo de agregación.", "wait-delay": "Aplicar tiempo de espera para telemetría retrasada", "wait-delay-hint": "Define cuánto tiempo esperar la telemetría retrasada después de que termine el intervalo. Si llega esa telemetría, se recalculará el resultado para ese intervalo.", "duration": "Duración", - "duration-required": "La duración es obligatoria.", + "duration-required": "Se requiere la duración.", "duration-min": "La duración debe ser de al menos 1 minuto.", "duration-hint": "Cuánto tiempo esperar los datos retrasados después de que termine el intervalo.", "produce-intermediate-result": "Generar resultado intermedio", @@ -1474,7 +1587,7 @@ }, "hint": { "arguments-simple-with-rolling": "Un campo calculado de tipo simple no debe contener claves con el tipo de serie temporal móvil.", - "arguments-propagate-arguments-with-rolling": "El tipo 'Serie temporal móvil' es incompatible con la propagación 'Solo argumentos'.", + "arguments-propagate-arguments-with-rolling": "El tipo 'Acumulación de serie temporal' es incompatible con la propagación 'Solo argumentos'.", "arguments-propagate-argument-entity-type": "El tipo de entidad es incompatible con la propagación 'Solo argumentos'.", "arguments-propagate-argument-must-current-entity": "Debe configurarse al menos un argumento con el tipo de entidad de origen 'Entidad actual'.", "arguments-empty": "Los argumentos no deben estar vacíos.", @@ -1486,13 +1599,13 @@ "argument-name-duplicate": "Ya existe un argumento con ese nombre.", "argument-name-max-length": "El nombre del argumento debe tener menos de 256 caracteres.", "argument-name-forbidden": "El nombre del argumento está reservado y no puede utilizarse.", - "output-key-required": "La clave de salida es obligatoria.", + "output-key-required": "Se requiere la clave de salida.", "output-key-pattern": "La clave de salida no es válida.", "output-key-duplicate": "Ya existe una clave con ese nombre.", "output-key-max-length": "La clave de salida debe tener menos de 256 caracteres.", "output-key-forbidden": "La clave de salida está reservada y no se puede usar.", - "entity-type-required": "El tipo de entidad es obligatorio", - "name-required": "El nombre es obligatorio.", + "entity-type-required": "Se requiere el tipo de entidad", + "name-required": "Se requiere el nombre.", "name-pattern": "El nombre no es válido.", "name-duplicate": "Ya existe un campo calculado con ese nombre.", "name-max-length": "El nombre debe tener menos de 256 caracteres.", @@ -1509,19 +1622,19 @@ "perimeter-attribute-key": "Establece la clave de atributo que contiene la definición del perímetro de la zona de geovallado. El perímetro siempre se toma de los atributos del lado del servidor de la entidad de zona.", "report-strategy": "El estado de presencia indica si la entidad está actualmente DENTRO o FUERA del grupo de zonas. Los eventos de transición indican cuándo la entidad ENTRÓ o SALIÓ del grupo de zonas.", "create-relation-with-matched-zones": "Crea y mantiene automáticamente relaciones entre la entidad y las zonas en las que se encuentra actualmente. Las relaciones se eliminan cuando la entidad sale de una zona y se crean cuando entra en una nueva.", - "relation-type-required": "El tipo de relación es obligatorio.", - "relation-level-required": "El nivel de relación es obligatorio.", + "relation-type-required": "Se requiere el tipo de relación.", + "relation-level-required": "Se requiere el nivel de relación.", "relation-level-min": "El valor mínimo del nivel de relación es 1.", "relation-level-max": "El valor máximo del nivel de relación es {{max}}.", "geofencing-empty": "Debe configurarse al menos un grupo de zonas.", "geofencing-entity-not-found": "No se ha encontrado la entidad objetivo de geovallado.", "max-geofencing-zone": "Se ha alcanzado el número máximo de zonas de geovallado.", "zone-group-refresh-interval": "Define con qué frecuencia se actualizan los grupos de zonas configurados mediante entidades relacionadas.", - "zone-group-refresh-interval-required": "El intervalo de actualización de grupos de zonas es obligatorio.", + "zone-group-refresh-interval-required": "Se requiere el intervalo de actualización de los grupos de zonas.", "zone-group-refresh-interval-min": "El intervalo de actualización del grupo de zonas debe ser de al menos {{ min }} segundos.", - "propagation-path-related-entities": "Define una ruta directa de un solo nivel a una entidad relacionada según la dirección seleccionada y el tipo de relación. Solo se admiten relaciones entre entidades de dispositivo, activo, cliente y tenant. El máximo de entidades resueltas por la ruta de relación es {{ max }}.", + "propagation-path-related-entities": "Define una ruta directa de un solo nivel hacia una entidad relacionada según la dirección y el tipo de relación seleccionados. Solo se admiten relaciones entre entidades de dispositivo, activo, cliente e inquilino. El número máximo de entidades resueltas por la ruta de relación es {{ max }}.", "data-propagate": "Define los datos que se propagarán desde los argumentos configurados a continuación. 'Solo argumentos' usa los datos recuperados directamente, mientras que 'Resultado del cálculo' calcula un nuevo valor a partir de esos datos.", - "aggregation-path-related-entities": "Define una ruta de agregación de un solo nivel mediante relaciones directas con entidades padre o hijas, según la dirección y el tipo de relación. Solo se admiten relaciones entre entidades de dispositivo, activo, cliente y tenant. El máximo de entidades resueltas por la ruta de relación es {{ max }}.", + "aggregation-path-related-entities": "Define una ruta de agregación de un solo nivel mediante relaciones directas con entidades padre o hijas, según la dirección y el tipo de relación. Solo se admiten relaciones entre entidades de dispositivo, activo, cliente e inquilino. El número máximo de entidades resueltas por la ruta de relación es {{ max }}.", "arguments-aggregation": "Define los argumentos de entrada utilizados para el filtrado y la agregación.", "setting-arguments-aggregation": "Los datos se obtendrán de las entidades relacionadas configuradas en la ruta de agregación.", "metrics": "Define las métricas agregadas en función de los argumentos configurados.", @@ -1544,14 +1657,14 @@ "alarm-rules": "Reglas de alarma", "alarm-rules-old": "Antiguas", "alarm-rules-actual": "Actuales", - "severities": "Gravedades", - "cleared": "Condición de borrado", + "severities": "Severidades", + "cleared": "Condición de resolución", "delete-title": "¿Estás seguro de que quieres eliminar la regla de alarma '{{title}}'?", "delete-text": "Ten cuidado, tras la confirmación la regla de alarma y todos los datos relacionados serán irrecuperables.", "delete-multiple-title": "¿Estás seguro de que quieres eliminar { count, plural, =1 {1 regla de alarma} other {# reglas de alarma} }?", "delete-multiple-text": "Ten cuidado, tras la confirmación se eliminarán todas las reglas de alarma seleccionadas y todos los datos relacionados serán irrecuperables.", "create": "Crear nueva regla de alarma", - "add": "Añadir regla de alarma", + "add": "Agregar regla de alarma", "copy": "Copiar configuración de la regla de alarma", "details": "Detalles de la regla de alarma", "no-found": "No se han encontrado reglas de alarma", @@ -1562,15 +1675,15 @@ "export": "Exportar regla de alarma", "export-failed-error": "No se puede exportar la regla de alarma: {{error}}", "entity-type": "Tipo de entidad", - "entity-type-required": "El tipo de entidad es obligatorio.", + "entity-type-required": "Se requiere el tipo de entidad.", "alarm-type": "Tipo de alarma", "alarm-type-hint": "Identificador único (p. ej., HighTempAlarm) dentro del ámbito del originador de la alarma (Dispositivo, Activo, etc.) para evitar conflictos.", - "alarm-type-required": "El tipo de alarma es obligatorio.", + "alarm-type-required": "Se requiere el tipo de alarma.", "alarm-type-pattern": "El tipo de alarma no es válido.", "alarm-type-max-length": "El tipo de alarma debe tener menos de 256 caracteres.", - "clear-alarm": "Borrar alarma", + "clear-alarm": "Resolver alarma", "value-argument": "Argumento", - "value-argument-required": "El argumento es obligatorio.", + "value-argument-required": "Se requiere el argumento.", "static-settings": "Configuración estática", "configuration": "Configuración", "static-schedule": "Estática", @@ -1597,7 +1710,7 @@ "ignore-case": "Ignorar mayúsculas y minúsculas", "condition": "Condición", "script": "Script", - "add-filter": "Añadir filtro de argumentos", + "add-filter": "Agregar filtro de argumentos", "edit-filter": "Filtro de argumentos", "remove-filter": "Eliminar filtro de argumentos", "no-filter": "Se requiere al menos un filtro.", @@ -1608,8 +1721,8 @@ }, "schedule-title": "Programación", "edit-schedule": "Editar programación de alarma", - "schedule-type": "Tipo de programador", - "schedule-type-required": "El tipo de programador es obligatorio.", + "schedule-type": "Tipo de programación", + "schedule-type-required": "Se requiere el tipo de programación.", "schedule": { "any-time": "Activa todo el tiempo", "specific-time": "Activa en un horario específico", @@ -1653,37 +1766,37 @@ "alarm-rule-mobile-dashboard-hint": "Lo usa la aplicación móvil como tablero de detalles de la alarma.", "alarm-rule-no-mobile-dashboard": "No se ha seleccionado ningún tablero", "alarm-rule-condition": "Condición de la regla de alarma", - "enter-alarm-rule-condition-prompt": "Añadir condición", - "enter-alarm-rule-clear-condition-prompt": "Añadir condición de borrado", + "enter-alarm-rule-condition-prompt": "Agregar condición", + "enter-alarm-rule-clear-condition-prompt": "Agregar condición de resolución", "edit-alarm-rule-condition": "Condición de alarma", "condition-type": "Tipo de condición", "condition-type-hint": "Las opciones \"Duración\" y \"Repetición\" no están disponibles cuando se usa la operación \"Missing for\" en el filtro.", - "select-alarm-severity": "Seleccionar gravedad de la alarma", + "select-alarm-severity": "Seleccionar severidad de la alarma", "add-create-alarm-rule-prompt": "Se requiere al menos una condición de activación.", - "add-create-alarm-rule": "Añadir condición de activación", - "add-clear-alarm-rule": "Añadir condición de borrado", + "add-create-alarm-rule": "Agregar condición de activación", + "add-clear-alarm-rule": "Agregar condición de resolución", "condition-duration": "Duración de la condición", "condition-duration-value": "Valor de duración", "condition-duration-time-unit": "Unidad de tiempo", "condition-duration-value-range": "El valor de duración debe estar en un rango de 1 a 2147483647.", "condition-duration-value-pattern": "El valor de duración debe ser un número entero.", - "condition-duration-value-required": "El valor de duración es obligatorio.", - "condition-duration-time-unit-required": "La unidad de tiempo es obligatoria.", + "condition-duration-value-required": "Se requiere el valor de duración.", + "condition-duration-time-unit-required": "Se requiere la unidad de tiempo.", "condition-repeating-value": "Número de eventos", "condition-repeating-value-hint": "La actualización de cualquier argumento de la regla de alarma se contará como un evento", "condition-repeating-value-range": "El número de eventos debe estar en un rango de 1 a 2147483647.", "condition-repeating-value-pattern": "El número de eventos debe ser un número entero.", - "condition-repeating-value-required": "El número de eventos es obligatorio.", + "condition-repeating-value-required": "Se requiere el número de eventos.", "create-conditions": "Condiciones de activación", - "clear-condition": "Condición de borrado", - "no-clear-alarm-rule": "No hay ninguna condición de borrado configurada.", + "clear-condition": "Condición de resolución", + "no-clear-alarm-rule": "No hay ninguna condición de resolución configurada.", "advanced-settings": "Configuración avanzada", "propagate-alarm": "Propagar alarma a entidades relacionadas", "alarm-rule-relation-types-list": "Tipos de relación", "alarm-rule-relation-types-list-hint": "Define los tipos de relación para filtrar las entidades relacionadas. Si no se establece, la alarma se propagará a todas las entidades relacionadas.", - "propagate-alarm-to-owner": "Propagar alarma al propietario de la entidad (Cliente o Tenant)", + "propagate-alarm-to-owner": "Propagar la alarma al propietario de la entidad (cliente o inquilino)", "propagate-alarm-to-owner-hierarchy": "Propagar alarma a la jerarquía de propietarios de la entidad", - "propagate-alarm-to-tenant": "Propagar alarma al Tenant", + "propagate-alarm-to-tenant": "Propagar la alarma al inquilino", "alarm-rule-filter-title": "Filtro de regla de alarma", "filter-title": "Filtrar", "debugging": "Depuración de regla de alarma", @@ -1697,7 +1810,7 @@ "time-unit": "Unidad", "mode": "Modo", "type": "Tipo", - "value-required": "El valor es obligatorio.", + "value-required": "Se requiere el valor.", "min-value": "El valor debe ser 1 o mayor.", "argument-in-use": "El argumento se usa como argumento general.", "import-invalid-alarm-rule-type": "No se puede importar la regla de alarma: la estructura de la regla de alarma no es válida.", @@ -1790,8 +1903,8 @@ "name-max-length": "El nombre debe tener 255 caracteres o menos.", "provider": "Proveedor", "api-key": "Clave de API", - "api-key-required": "La clave de API es obligatoria.", - "api-key-open-ai-required": "La clave de API es obligatoria cuando se usa la API oficial de OpenAI.", + "api-key-required": "Se requiere la clave de API.", + "api-key-open-ai-required": "Se requiere la clave de API cuando se usa la API oficial de OpenAI.", "project-id": "ID del proyecto", "project-id-required": "Se requiere el ID del proyecto", "location": "Ubicación", @@ -1832,9 +1945,9 @@ "context-length": "Longitud del contexto", "context-length-hint": "Define el tamaño de la ventana de contexto en tokens. Este valor establece el límite total de memoria del modelo, incluyendo tanto la entrada del usuario como la respuesta generada.", "endpoint": "Endpoint", - "endpoint-required": "El endpoint es obligatorio.", + "endpoint-required": "Se requiere el endpoint.", "baseurl": "URL base", - "baseurl-required": "La URL base es obligatoria.", + "baseurl-required": "Se requiere la URL base.", "service-version": "Versión del servicio", "check-connectivity": "Verificar conectividad", "check-connectivity-success": "La solicitud de prueba fue exitosa", @@ -1847,15 +1960,15 @@ "authentication-token-hint": "Usa la autenticación mediante token Bearer. El token proporcionado se enviará directamente en una cabecera \"Authorization\" con cada solicitud al servidor Ollama.", "authentication-type": { "none": "Ninguna", - "basic": "Basic", + "basic": "Básica", "token": "Token" }, "username": "Nombre de usuario", - "username-required": "El nombre de usuario es obligatorio.", + "username-required": "Se requiere el nombre de usuario.", "password": "Contraseña", - "password-required": "La contraseña es obligatoria.", + "password-required": "Se requiere la contraseña.", "token": "Token", - "token-required": "El token es obligatorio." + "token-required": "Se requiere el token." }, "confirm-on-exit": { "message": "Tienes cambios sin guardar. ¿Estás seguro de que deseas salir de esta página?", @@ -1893,6 +2006,7 @@ "enter-username": "Introducir nombre de usuario", "enter-password": "Introducir contraseña", "enter-search": "Introducir búsqueda", + "all": "Todos", "created-time": "Hora de creación", "disabled": "Deshabilitado", "loading": "Cargando...", @@ -1994,7 +2108,7 @@ "asset-name": "Nombre del activo", "asset-name-required": "Se requiere el nombre del activo.", "advanced-decoding-parameters": "Parámetros avanzados de decodificación", - "customer-name": "Nombre del customer", + "customer-name": "Nombre del cliente", "group": "Grupo", "device-profile-name": "Nombre del perfil del dispositivo", "asset-profile-name": "Nombre del perfil del activo", @@ -2013,66 +2127,69 @@ "content-type": { "json": "Json", "text": "Texto", - "binary": "Binario (Base64)" + "binary": "Binario (Base64)", + "hex": "Binario (Hex)" }, "color": { "color": "Color", "color-picker": "Selector de color", "primary-colors": "Colores primarios", "accent-colors": "Colores de acento", - "no-color-selected": "Ningún color seleccionado" + "no-color-selected": "Ningún color seleccionado", + "default": "Por defecto" }, "customer": { "all": "Todos", - "all-customers": "Todos los customers", + "all-customers": "Todos los clientes", "groups": "Grupos", "shared": "Compartido", "hierarchy": "Jerarquía", - "customer": "Customer", - "customers": "Customers", - "management": "Gestión de customers", - "dashboard": "Tablero del customer", - "dashboards": "Tableros del customer", - "devices": "Dispositivos del customer", - "entity-views": "Vistas de entidad del customer", - "assets": "Activos del customer", + "customer": "Cliente", + "customers": "Clientes", + "customers-and-users": "Clientes y usuarios", + "management": "Gestión de clientes", + "dashboard": "Tablero del cliente", + "dashboards": "Tableros del cliente", + "devices": "Dispositivos del cliente", + "entity-views": "Vistas de entidad del cliente", + "assets": "Activos del cliente", "public-dashboards": "Tableros públicos", "public-devices": "Dispositivos públicos", "public-assets": "Activos públicos", "public-entity-views": "Vistas de entidad públicas", - "add": "Agregar customer", - "delete": "Eliminar customer", - "manage-customer-user-groups": "Gestionar grupos de usuarios del Customer", - "manage-customer-groups": "Gestionar grupos de Customers", - "manage-customer-device-groups": "Gestionar grupos de dispositivos del Customer", - "manage-customer-asset-groups": "Gestionar grupos de activos del Customer", - "manage-customer-entity-view-groups": "Gestionar grupos de vistas de entidad del Customer", - "manage-customer-edge-groups": "Gestionar grupos de edge del Customer", - "manage-customer-dashboard-groups": "Gestionar grupos de tableros del Customer", - "manage-customer-users": "Gestionar usuarios del Customer", - "manage-customers": "Gestionar Customers", - "manage-customer-devices": "Gestionar dispositivos del Customer", - "manage-customer-entity-views": "Gestionar vistas de entidad del Customer", - "manage-customer-dashboards": "Gestionar tableros del Customer", + "add": "Agregar cliente", + "delete": "Eliminar cliente", + "manage-customer-user-groups": "Gestionar grupos de usuarios del cliente", + "manage-customer-groups": "Gestionar grupos de clientes", + "manage-customer-device-groups": "Gestionar grupos de dispositivos del cliente", + "manage-customer-asset-groups": "Gestionar grupos de activos del cliente", + "manage-customer-entity-view-groups": "Gestionar grupos de vistas de entidad del cliente", + "manage-customer-edge-groups": "Gestionar grupos de Edge del cliente", + "manage-customer-dashboard-groups": "Gestionar grupos de tableros del cliente", + "manage-customer-users": "Gestionar usuarios del cliente", + "manage-customers": "Gestionar clientes", + "manage-customer-devices": "Gestionar dispositivos del cliente", + "manage-customer-entity-views": "Gestionar vistas de entidad del cliente", + "manage-customer-dashboards": "Gestionar tableros del cliente", "manage-public-devices": "Gestionar dispositivos públicos", "manage-public-dashboards": "Gestionar tableros públicos", - "manage-customer-assets": "Gestionar activos del Customer", - "manage-customer-edges": "Gestionar edges del Customer", + "manage-customer-assets": "Gestionar activos del cliente", + "manage-customer-edges": "Gestionar Edges del cliente", "manage-public-assets": "Gestionar activos públicos", - "add-customer-text": "Agregar nuevo customer", - "no-customers-text": "No se encontraron customers", - "customer-details": "Detalles del customer", - "delete-customer-title": "¿Estás seguro de que deseas eliminar el customer '{{customerTitle}}'?", - "delete-customer-text": "Ten cuidado, después de la confirmación el customer y todos los datos relacionados serán irrecuperables.", - "delete-customers-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 customer} other {# customers} }?", - "delete-customers-action-title": "Eliminar { count, plural, =1 {1 customer} other {# customers} }", - "delete-customers-text": "Ten cuidado, después de la confirmación todos los customers seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", + "add-customer-text": "Agregar nuevo cliente", + "no-customers-text": "No se encontraron clientes", + "customer-details": "Detalles del cliente", + "delete-customer-title": "¿Estás seguro de que deseas eliminar el cliente '{{customerTitle}}'?", + "delete-customer-text": "Ten cuidado, después de la confirmación el cliente y todos los datos relacionados serán irrecuperables.", + "delete-customers-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 cliente} other {# clientes} }?", + "delete-customers-action-title": "Eliminar { count, plural, =1 {1 cliente} other {# clientes} }", + "delete-customers-text": "Ten cuidado, después de la confirmación todos los clientes seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", "manage-user-groups": "Gestionar grupos de usuarios", "manage-asset-groups": "Gestionar grupos de activos", "manage-device-groups": "Gestionar grupos de dispositivos", "manage-dashboard-groups": "Gestionar grupos de tableros", "manage-entity-view-groups": "Gestionar grupos de vistas de entidad", - "manage-edge-groups": "Gestionar grupos de edge", + "manage-edge-groups": "Gestionar grupos de Edge", "manage-users": "Gestionar usuarios", "manage-assets": "Gestionar activos", "manage-devices": "Gestionar dispositivos", @@ -2084,28 +2201,29 @@ "description": "Descripción", "details": "Detalles", "events": "Eventos", - "copyId": "Copiar ID del customer", - "idCopiedMessage": "ID del customer copiado al portapapeles", - "select-customer": "Seleccionar customer", - "no-customers-matching": "No se encontraron customers que coincidan con '{{entity}}'.", - "customer-required": "Se requiere un customer", - "select-group-to-add": "Seleccionar grupo de destino para agregar los customers seleccionados", - "select-group-to-move": "Seleccionar grupo de destino para mover los customers seleccionados", - "remove-customers-from-group": "¿Estás seguro de que deseas quitar { count, plural, =1 {1 customer} other {# customers} } del grupo '{{entityGroup}}'?", - "group": "Grupo de customers", - "list-of-groups": "{ count, plural, =1 {Un grupo de customer} other {Lista de # grupos de customers} }", - "group-name-starts-with": "Grupos de customers cuyos nombres comienzan con '{{prefix}}'", - "select-default-customer": "Seleccionar customer por defecto", - "default-customer": "Customer por defecto", - "default-customer-required": "Se requiere el customer por defecto para depurar el tablero a nivel de Tenant", - "allow-white-labeling": "Permitir white labeling", - "search": "Buscar customers", - "selected-customers": "{ count, plural, =1 {1 customer} other {# customers} } seleccionado(s)", - "edges": "Instancias de edge del customer", - "manage-edges": "Gestionar edge" + "copyId": "Copiar ID del cliente", + "idCopiedMessage": "ID del cliente copiado al portapapeles", + "select-customer": "Seleccionar cliente", + "no-customers-matching": "No se encontraron clientes que coincidan con '{{entity}}'.", + "customer-required": "Se requiere un cliente", + "select-group-to-add": "Seleccionar grupo de destino para agregar los clientes seleccionados", + "select-group-to-move": "Seleccionar grupo de destino para mover los clientes seleccionados", + "remove-customers-from-group": "¿Estás seguro de que deseas quitar { count, plural, =1 {1 cliente} other {# clientes} } del grupo '{{entityGroup}}'?", + "group": "Grupo de clientes", + "list-of-groups": "{ count, plural, =1 {Un grupo de clientes} other {Lista de # grupos de clientes} }", + "group-name-starts-with": "Grupos de clientes cuyos nombres comienzan con '{{prefix}}'", + "select-default-customer": "Seleccionar cliente por defecto", + "default-customer": "Cliente por defecto", + "default-customer-required": "Se requiere un cliente por defecto para depurar el tablero a nivel de inquilino", + "allow-white-labeling": "Permitir marca blanca", + "search": "Buscar clientes", + "selected-customers": "{ count, plural, =1 {1 cliente seleccionado} other {# clientes seleccionados} }", + "edges": "Instancias de Edge del cliente", + "manage-edges": "Gestionar Edge", + "manage-agents": "Administrar Agents" }, "customers-hierarchy": { - "customers-hierarchy": "Jerarquía de customers", + "customers-hierarchy": "Jerarquía de clientes", "open-nav-tree": "Abrir árbol de navegación", "return-to-top-level": "Volver al nivel superior" }, @@ -2123,13 +2241,13 @@ "edit-name": "Editar nombre", "scope": "Ámbito", "scope-system": "Sistema", - "scope-tenant": "Tenant", - "scope-customer": "Customer", + "scope-tenant": "Inquilino", + "scope-customer": "Cliente", "assignee-type": "Tipo de asignación", "assignee-no-assign": "No asignado", - "assignee-customer-all": "Todos los usuarios del customer", - "assignee-customers": "Lista de customers", - "assignee-tenant-all": "Todos los usuarios del Tenant", + "assignee-customer-all": "Todos los usuarios del cliente", + "assignee-customers": "Lista de clientes", + "assignee-tenant-all": "Todos los usuarios del inquilino", "assignee-users": "Lista de usuarios", "assignee-user-group-names": "Nombres de grupos de usuarios", "user-group-name": "Nombre del grupo de usuarios", @@ -2139,7 +2257,7 @@ "show-hidden-items": "Mostrar elementos ocultos", "delete-custom-menu": "Eliminar menú personalizado", "delete-custom-menu-user-list-text": "Este menú está asignado a la \"Lista de usuarios\". Si lo eliminas, se aplicará el menú predeterminado a los usuarios listados a continuación.", - "delete-custom-menu-customer-list-text": "Este menú está asignado a la \"Lista de Customers\". Si lo eliminas, se aplicará el menú predeterminado a los Customers listados a continuación.", + "delete-custom-menu-customer-list-text": "Este menú está asignado a la \"Lista de clientes\". Si lo eliminas, se aplicará el menú predeterminado a los clientes listados a continuación.", "add-custom-menu-item": "Agregar elemento de menú personalizado", "add-custom-menu-subitem": "Agregar subelemento de menú personalizado", "edit-custom-menu-item": "Editar elemento de menú personalizado", @@ -2245,24 +2363,26 @@ "dashboards": "Tableros", "management": "Gestión de tableros", "view-dashboards": "Ver tableros", - "add": "Añadir tablero", - "assign-dashboard-to-customer": "Asignar tablero(s) al customer", - "assign-dashboard-to-customer-text": "Por favor, seleccione los tableros para asignar al customer", - "assign-to-customer-text": "Por favor, seleccione el customer para asignar el/los tablero(s)", - "assign-to-customer": "Asignar al customer", - "unassign-from-customer": "Desasignar del customer", + "add": "Agregar tablero", + "assign-dashboard-to-customer": "Asignar tablero(s) al cliente", + "assign-dashboard-to-customer-text": "Selecciona los tableros que deseas asignar al cliente", + "assign-to-customer-text": "Selecciona el cliente al que deseas asignar los tableros", + "assign-to-customer": "Asignar al cliente", + "unassign-from-customer": "Desasignar del cliente", "make-public": "Hacer público el tablero", "make-private": "Hacer privado el tablero", - "manage-assigned-customers": "Gestionar customers asignados", - "assigned-customers": "Customers asignados", - "assign-to-customers": "Asignar tablero(s) a customers", - "assign-to-customers-text": "Selecciona los customers a los que deseas asignar el/los tablero(s)", - "unassign-from-customers": "Desasignar tablero(s) de customers", - "unassign-from-customers-text": "Selecciona los customers de los que deseas desasignar el/los tablero(s)", + "manage-assigned-customers": "Gestionar clientes asignados", + "assigned-customers": "Clientes asignados", + "assign-to-customers": "Asignar tablero(s) a clientes", + "assign-to-customers-text": "Selecciona los clientes a los que deseas asignar el/los tablero(s)", + "unassign-from-customers": "Desasignar tablero(s) de clientes", + "unassign-from-customers-text": "Selecciona los clientes de los que deseas desasignar el/los tablero(s)", "no-dashboards-text": "No se encontraron tableros", "no-widgets": "No hay widgets configurados", "add-widget": "Agregar nuevo widget", "add-widget-button-text": "Agregar widget", + "edit-html-page": "Editar página HTML", + "html-page": "Página HTML", "title": "Título", "image": "Imagen del tablero", "mobile-app-settings": "Configuración de la aplicación móvil", @@ -2272,6 +2392,7 @@ "update-new-version": "Subir nueva versión", "upload-file-to-update": "Subir archivo para actualizar", "take-screenshot": "Tomar captura de pantalla", + "take-screenshot-failed": "No se pudo tomar la captura de pantalla del tablero. Inténtalo de nuevo.", "select-widget-title": "Seleccionar widget", "select-widget-value": "{{title}}: seleccionar widget", "select-widget-subtitle": "Lista de tipos de widget disponibles", @@ -2284,21 +2405,21 @@ "add-dashboard-text": "Agregar nuevo tablero", "assign-dashboards": "Asignar tableros", "assign-new-dashboard": "Asignar nuevo tablero", - "assign-dashboards-text": "Asignar { count, plural, =1 {1 tablero} other {# tableros} } a customers", - "unassign-dashboards-action-text": "Desasignar { count, plural, =1 {1 tablero} other {# tableros} } de customers", + "assign-dashboards-text": "Asignar { count, plural, =1 {1 tablero} other {# tableros} } a clientes", + "unassign-dashboards-action-text": "Desasignar { count, plural, =1 {1 tablero} other {# tableros} } de clientes", "delete-dashboards": "Eliminar tableros", "unassign-dashboards": "Desasignar tableros", - "unassign-dashboards-action-title": "Desasignar { count, plural, =1 {1 tablero} other {# tableros} } del customer", + "unassign-dashboards-action-title": "Desasignar { count, plural, =1 {1 tablero} other {# tableros} } del cliente", "delete-dashboard-title": "¿Estás seguro de que deseas eliminar el tablero '{{dashboardTitle}}'?", "delete-dashboard-text": "Ten cuidado, después de la confirmación el tablero y todos los datos relacionados serán irrecuperables.", "delete-dashboards-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 tablero} other {# tableros} }?", "delete-dashboards-action-title": "Eliminar { count, plural, =1 {1 tablero} other {# tableros} }", "delete-dashboards-text": "Ten cuidado, después de la confirmación todos los tableros seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", "unassign-dashboard-title": "¿Estás seguro de que deseas desasignar el tablero '{{dashboardTitle}}'?", - "unassign-dashboard-text": "Después de la confirmación, el tablero será desasignado y no será accesible por el customer.", + "unassign-dashboard-text": "Después de la confirmación, el tablero será desasignado y no será accesible para el cliente.", "unassign-dashboard": "Desasignar tablero", "unassign-dashboards-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 tablero} other {# tableros} }?", - "unassign-dashboards-text": "Después de la confirmación, todos los tableros seleccionados serán desasignados y no serán accesibles por el customer.", + "unassign-dashboards-text": "Después de la confirmación, todos los tableros seleccionados serán desasignados y no serán accesibles para el cliente.", "public-dashboard-title": "El tablero ahora es público", "public-dashboard-text": "Tu tablero {{dashboardTitle}} ahora es público y accesible mediante el siguiente enlace:", "public-dashboard-notice": "Nota: No olvides hacer públicos los dispositivos relacionados para acceder a sus datos.", @@ -2306,7 +2427,7 @@ "public-dashboard-link-text": "Tu tablero público {{dashboardTitle}} es accesible mediante el siguiente enlace:", "public-dashboard-link-notice": "Nota: No olvides hacer públicos los dispositivos, activos y vistas de entidad relacionadas para acceder a sus datos.", "make-private-dashboard-title": "¿Estás seguro de que deseas hacer privado el tablero '{{dashboardTitle}}'?", - "make-private-dashboard-text": "Después de la confirmación, el tablero será privado y no será accesible por otros.", + "make-private-dashboard-text": "Después de la confirmación, el tablero será privado y no será accesible para otros.", "make-private-dashboard": "Hacer privado el tablero", "socialshare-text": "'{{dashboardTitle}}' impulsado por ThingsBoard", "socialshare-title": "'{{dashboardTitle}}' impulsado por ThingsBoard", @@ -2335,6 +2456,7 @@ "layout-type-default": "Predeterminado", "layout-type-scada": "SCADA", "layout-type-divider": "Divisor", + "layout-type-html": "Página HTML", "layout-settings-type": "Configuración de disposición: punto de interrupción {{ type }}", "columns-count": "Cantidad de columnas", "columns-count-required": "Se requiere la cantidad de columnas.", @@ -2378,6 +2500,7 @@ "display-dashboard-timewindow": "Mostrar ventana de tiempo del tablero", "display-dashboard-export": "Mostrar exportación", "display-update-dashboard-image": "Mostrar actualización de imagen del tablero", + "display-configure-with-ai": "Mostrar el botón \"Configurar con IA\"", "dashboard-logo-settings": "Configuración del logo del tablero", "display-dashboard-logo": "Mostrar logo en modo de pantalla completa del tablero", "dashboard-logo-image": "Imagen del logo del tablero", @@ -2407,8 +2530,8 @@ "alias-resolution-error-title": "Error de configuración de alias del tablero", "invalid-aliases-config": "No se pudieron encontrar dispositivos que coincidan con algunos de los filtros de alias.
    Por favor, contacta con tu administrador para resolver este problema.", "select-devices": "Seleccionar dispositivos", - "assignedToCustomer": "Asignado al customer", - "assignedToCustomers": "Asignado a customers", + "assignedToCustomer": "Asignado al cliente", + "assignedToCustomers": "Asignado a clientes", "public": "Público", "copyId": "Copiar ID del tablero", "idCopiedMessage": "El ID del tablero ha sido copiado al portapapeles", @@ -2448,11 +2571,11 @@ "group": "Grupo de tableros", "list-of-groups": "{ count, plural, =1 {Un grupo de tableros} other {Lista de # grupos de tableros} }", "group-name-starts-with": "Grupos de tableros cuyos nombres comienzan con '{{prefix}}'", - "unassign-dashboard-from-edge-text": "Después de la confirmación, el tablero será desasignado y no será accesible por el edge.", + "unassign-dashboard-from-edge-text": "Después de la confirmación, el tablero será desasignado y no será accesible para el Edge.", "unassign-dashboards-from-edge-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 tablero} other {# tableros} }?", - "unassign-dashboards-from-edge-text": "Después de la confirmación, todos los tableros seleccionados serán desasignados y no serán accesibles por el edge.", - "assign-dashboard-to-edge": "Asignar tablero(s) al edge", - "assign-dashboard-to-edge-text": "Selecciona los tableros que deseas asignar al edge", + "unassign-dashboards-from-edge-text": "Después de la confirmación, todos los tableros seleccionados serán desasignados y no serán accesibles para el Edge.", + "assign-dashboard-to-edge": "Asignar tablero(s) al Edge", + "assign-dashboard-to-edge-text": "Selecciona los tableros que deseas asignar al Edge", "non-existent-dashboard-state-error": "No se encontró el estado del tablero con ID \"{{ stateId }}\"", "edit-mode": "Modo de edición", "duplicate-state-action": "Duplicar estado", @@ -2539,10 +2662,10 @@ "absolute": "absoluto" }, "datasource": { - "type": "Tipo de fuente de datos", + "type": "Tipo de origen de datos", "name": "Nombre", "label": "Etiqueta", - "add-datasource-prompt": "Por favor, agrega una fuente de datos" + "add-datasource-prompt": "Por favor, agrega un origen de datos" }, "details": { "details": "Detalles", @@ -2587,32 +2710,32 @@ "device-name-filter-required": "Se requiere el filtro de nombre del dispositivo.", "device-name-filter-no-device-matched": "No se encontraron dispositivos que comiencen con '{{device}}'.", "add": "Agregar dispositivo", - "assign-to-customer": "Asignar al customer", - "assign-device-to-customer": "Asignar dispositivo(s) al customer", - "assign-device-to-customer-text": "Selecciona los dispositivos que deseas asignar al customer", + "assign-to-customer": "Asignar al cliente", + "assign-device-to-customer": "Asignar dispositivo(s) al cliente", + "assign-device-to-customer-text": "Selecciona los dispositivos que deseas asignar al cliente", "make-public": "Hacer público el dispositivo", "make-private": "Hacer privado el dispositivo", "no-devices-text": "No se encontraron dispositivos", - "assign-to-customer-text": "Selecciona el customer al que deseas asignar el/los dispositivo(s)", + "assign-to-customer-text": "Selecciona el cliente al que deseas asignar el/los dispositivo(s)", "device-details": "Detalles del dispositivo", "add-device-text": "Agregar nuevo dispositivo", "credentials": "Credenciales", "manage-credentials": "Gestionar credenciales", "delete": "Eliminar dispositivo", "assign-devices": "Asignar dispositivos", - "assign-devices-text": "Asignar { count, plural, =1 {1 dispositivo} other {# dispositivos} } al customer", + "assign-devices-text": "Asignar { count, plural, =1 {1 dispositivo} other {# dispositivos} } al cliente", "delete-devices": "Eliminar dispositivos", - "unassign-from-customer": "Desasignar del customer", + "unassign-from-customer": "Desasignar del cliente", "unassign-devices": "Desasignar dispositivos", - "unassign-devices-action-title": "Desasignar { count, plural, =1 {1 dispositivo} other {# dispositivos} } del customer", + "unassign-devices-action-title": "Desasignar { count, plural, =1 {1 dispositivo} other {# dispositivos} } del cliente", "unassign-device-from-edge-title": "¿Estás seguro de que deseas desasignar el dispositivo '{{deviceName}}'?", - "unassign-device-from-edge-text": "Después de la confirmación, el dispositivo será desasignado y no será accesible por el edge.", - "unassign-devices-from-edge": "Desasignar dispositivos del edge", + "unassign-device-from-edge-text": "Después de la confirmación, el dispositivo será desasignado y no será accesible para el Edge.", + "unassign-devices-from-edge": "Desasignar dispositivos del Edge", "assign-new-device": "Asignar nuevo dispositivo", "make-public-device-title": "¿Estás seguro de que deseas hacer público el dispositivo '{{deviceName}}'?", - "make-public-device-text": "Después de la confirmación, el dispositivo y todos sus datos serán públicos y accesibles por otros.", + "make-public-device-text": "Después de la confirmación, el dispositivo y todos sus datos serán públicos y accesibles para otros.", "make-private-device-title": "¿Estás seguro de que deseas hacer privado el dispositivo '{{deviceName}}'?", - "make-private-device-text": "Después de la confirmación, el dispositivo y todos sus datos serán privados y no serán accesibles por otros.", + "make-private-device-text": "Después de la confirmación, el dispositivo y todos sus datos serán privados y no serán accesibles para otros.", "view-credentials": "Ver credenciales", "delete-device-title": "¿Estás seguro de que deseas eliminar el dispositivo '{{deviceName}}'?", "delete-device-text": "Ten cuidado, después de la confirmación el dispositivo y todos los datos relacionados serán irrecuperables.", @@ -2620,10 +2743,10 @@ "delete-devices-action-title": "Eliminar { count, plural, =1 {1 dispositivo} other {# dispositivos} }", "delete-devices-text": "Ten cuidado, después de la confirmación todos los dispositivos seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", "unassign-device-title": "¿Estás seguro de que deseas desasignar el dispositivo '{{deviceName}}'?", - "unassign-device-text": "Después de la confirmación, el dispositivo será desasignado y no será accesible por el customer.", + "unassign-device-text": "Después de la confirmación, el dispositivo será desasignado y no será accesible para el cliente.", "unassign-device": "Desasignar dispositivo", "unassign-devices-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 dispositivo} other {# dispositivos} }?", - "unassign-devices-text": "Después de la confirmación, todos los dispositivos seleccionados serán desasignados y no serán accesibles por el customer.", + "unassign-devices-text": "Después de la confirmación, todos los dispositivos seleccionados serán desasignados y no serán accesibles para el cliente.", "device-credentials": "Credenciales del dispositivo", "loading-device-credentials": "Cargando credenciales del dispositivo...", "credentials-type": "Tipo de credenciales", @@ -2661,7 +2784,7 @@ "bootstrap-server": "Servidor Bootstrap", "lwm2m-server": "Servidor LwM2M", "client-reboot": "Disparador de actualización de registro", - "bootstrap-reboot": "Disparador de solicitud de arranque", + "bootstrap-reboot": "Disparador de solicitud Bootstrap", "client-publicKey-or-id": "Clave pública o ID del cliente", "client-publicKey-or-id-required": "Se requiere la clave pública o el ID del cliente.", "client-publicKey-or-id-tooltip-psk": "El identificador PSK es arbitrario hasta 128 bytes, conforme a la norma [RFC7925].\nDebe convertirse a cadena y luego a octetos en UTF-8.", @@ -2681,7 +2804,7 @@ "password": "Contraseña", "secret": "Secreto", "secret-required": "Se requiere un secreto.", - "device-type": "Perfil del dispositivo", + "device-type": "Perfil de dispositivo", "device-type-required": "Se requiere el tipo de dispositivo.", "select-device-type": "Seleccionar tipo de dispositivo", "enter-device-type": "Ingresar perfil del dispositivo", @@ -2707,7 +2830,7 @@ "assignedToCustomer": "Asignado al cliente", "unable-delete-device-alias-title": "No se puede eliminar el alias del dispositivo", "unable-delete-device-alias-text": "No se puede eliminar el alias del dispositivo '{{deviceAlias}}' porque lo utilizan los siguientes widget(s):
    {{widgetsList}}", - "is-gateway": "Es un gateway", + "is-gateway": "Es un Gateway", "overwrite-activity-time": "Sobrescribir tiempo de actividad del dispositivo conectado", "device-filter-title": "Filtro de dispositivo", "filter-title": "Filtro", @@ -2721,7 +2844,7 @@ "select-device": "Seleccionar dispositivo", "select-group-to-add": "Seleccionar grupo de destino para agregar los dispositivos seleccionados", "select-group-to-move": "Seleccionar grupo de destino para mover los dispositivos seleccionados", - "remove-devices-from-group": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 dispositivo} other {# dispositivos} } del grupo '{{entityGroup}}'?", + "remove-devices-from-group": "¿Estás seguro de que deseas quitar { count, plural, =1 {1 dispositivo} other {# dispositivos} } del grupo '{{entityGroup}}'?", "group": "Grupo de dispositivos", "list-of-groups": "{ count, plural, =1 {Un grupo de dispositivos} other {Lista de # grupos de dispositivos} }", "group-name-starts-with": "Grupos de dispositivos cuyos nombres comienzan con '{{prefix}}'", @@ -2735,7 +2858,7 @@ "device-details": "Detalles del dispositivo" }, "unassign-devices-from-edge-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 dispositivo} other {# dispositivos} }?", - "unassign-devices-from-edge-text": "Después de la confirmación, todos los dispositivos seleccionados serán desasignados y no serán accesibles por el edge.", + "unassign-devices-from-edge-text": "Después de la confirmación, todos los dispositivos seleccionados serán desasignados y no serán accesibles para el Edge.", "time": "Tiempo", "connectivity": { "check-connectivity": "Verificar conectividad", @@ -2743,6 +2866,8 @@ "loading-check-connectivity-command": "Cargando comandos para verificar conectividad...", "use-following-instructions": "Usa las siguientes instrucciones para enviar telemetría en nombre del dispositivo usando shell", "execute-following-command": "Ejecuta el siguiente comando", + "step-execute-following-command": "Paso 2. Ejecuta el siguiente comando", + "step-install-necessary-client-tools": "Paso 1. Instala las herramientas de cliente necesarias", "install-curl-windows": "A partir de Windows 10 b17063, cURL está disponible por defecto", "install-curl-macos": "Desde Mac OS X 10.2 6C115 (Jaguar), cURL está disponible por defecto", "install-mqtt-windows": "Usa las instrucciones para descargar, instalar, configurar y ejecutar mosquitto_pub", @@ -2869,8 +2994,8 @@ "description": "Descripción", "default": "Predeterminado", "default-rule-chain": "Cadena de reglas predeterminada", - "default-edge-rule-chain": "Cadena de reglas predeterminada para el edge", - "default-edge-rule-chain-hint": "Utilizada en edge como cadena de reglas para procesar datos entrantes de activos con este perfil", + "default-edge-rule-chain": "Cadena de reglas predeterminada para el Edge", + "default-edge-rule-chain-hint": "Utilizada en Edge como cadena de reglas para procesar datos entrantes de activos con este perfil", "mobile-dashboard": "Tablero móvil", "mobile-dashboard-hint": "Utilizado por la aplicación móvil como tablero de detalles del activo", "select-queue-hint": "Seleccionar de la lista desplegable.", @@ -2930,8 +3055,8 @@ "profile-configuration": "Configuración del perfil", "transport-configuration": "Configuración de transporte", "default-rule-chain": "Cadena de reglas predeterminada", - "default-edge-rule-chain": "Cadena de reglas predeterminada para el edge", - "default-edge-rule-chain-hint": "Utilizado en el edge para procesar datos entrantes de dispositivos con este perfil", + "default-edge-rule-chain": "Cadena de reglas predeterminada para el Edge", + "default-edge-rule-chain-hint": "Utilizado en el Edge para procesar datos entrantes de dispositivos con este perfil", "mobile-dashboard": "Tablero móvil", "mobile-dashboard-hint": "Utilizado por la aplicación móvil como tablero de detalles del dispositivo", "select-queue-hint": "Seleccionar desde la lista desplegable.", @@ -2954,7 +3079,7 @@ "mqtt-device-payload-type-proto": "Protobuf", "mqtt-enable-compatibility-with-json-payload-format": "Habilitar compatibilidad con otros formatos de carga útil.", "mqtt-enable-compatibility-with-json-payload-format-hint": "Cuando está habilitado, la plataforma utilizará el formato de carga útil Protobuf por defecto. Si falla el análisis, intentará usar el formato JSON. Útil para compatibilidad con versiones anteriores durante actualizaciones de firmware. Por ejemplo, si la versión inicial del firmware usa JSON y la nueva usa Protobuf, durante la actualización será necesario soportar ambos formatos simultáneamente. Este modo introduce una ligera degradación en el rendimiento, por lo que se recomienda desactivarlo una vez que todos los dispositivos hayan sido actualizados.", - "mqtt-use-json-format-for-default-downlink-topics": "Usar formato JSON para los temas de bajada predeterminados", + "mqtt-use-json-format-for-default-downlink-topics": "Usar formato Json para los temas downlink por defecto", "mqtt-use-json-format-for-default-downlink-topics-hint": "Cuando está habilitado, la plataforma usará formato JSON para enviar atributos y RPC a través de los siguientes temas: v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. Esta configuración no afecta las suscripciones a atributos y RPC usando los nuevos temas (v2): v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. Donde $request_id es un identificador de solicitud entero.", "mqtt-send-ack-on-validation-exception": "Enviar PUBACK al fallar la validación del mensaje PUBLISH", "mqtt-send-ack-on-validation-exception-hint": "Por defecto, la plataforma cerrará la sesión MQTT al fallar la validación del mensaje. Cuando está habilitado, enviará una confirmación de publicación en lugar de cerrar la sesión.", @@ -3003,17 +3128,17 @@ "add-alarm-rule": "Agregar regla de alarma", "edit-alarm-rule": "Editar regla de alarma", "alarm-type": "Tipo de alarma", - "alarm-type-required": "Se requiere tipo de alarma.", + "alarm-type-required": "Se requiere el tipo de alarma.", "alarm-type-unique": "El tipo de alarma debe ser único dentro de las reglas de alarma del perfil.", "alarm-type-max-length": "El tipo de alarma debe tener menos de 256 caracteres", "create-alarm-pattern": "Crear alarma {{alarmType}}", "create-alarm-rules": "Crear reglas de alarma", "no-create-alarm-rules": "No hay condiciones de creación configuradas", - "add-create-alarm-rule-prompt": "Por favor, añade una regla de creación de alarma", - "clear-alarm-rule": "Condición de limpieza de alarma", - "no-clear-alarm-rule": "No hay condición de limpieza configurada", + "add-create-alarm-rule-prompt": "Por favor, agrega una regla de creación de alarma", + "clear-alarm-rule": "Regla para resolver la alarma", + "no-clear-alarm-rule": "No se ha configurado ninguna condición de resolución", "add-create-alarm-rule": "Agregar condición de creación", - "add-clear-alarm-rule": "Agregar condición de limpieza", + "add-clear-alarm-rule": "Agregar condición de resolución", "select-alarm-severity": "Seleccionar severidad de la alarma", "alarm-severity-required": "Se requiere severidad de la alarma.", "condition-duration": "Duración de la condición", @@ -3026,7 +3151,7 @@ "advanced-settings": "Configuración avanzada", "alarm-rule-additional-info": "Información adicional", "edit-alarm-rule-additional-info": "Editar información adicional", - "alarm-rule-additional-info-placeholder": "Proporcione sus comentarios y ajustes para que aparezcan en los detalles de la alarma bajo Información adicional", + "alarm-rule-additional-info-placeholder": "Proporciona tus comentarios y ajustes para que aparezcan en los detalles de la alarma, en Información adicional", "alarm-rule-additional-info-hint": "Sugerencia: use ${keyName} para sustituir valores de atributos o claves de telemetría en la condición.", "alarm-rule-mobile-dashboard": "Tablero móvil", "alarm-rule-mobile-dashboard-hint": "Usado por la aplicación móvil como tablero de detalles de la alarma", @@ -3034,11 +3159,11 @@ "propagate-alarm": "Propagar alarma a entidades relacionadas", "alarm-rule-relation-types-list": "Tipos de relación", "alarm-rule-relation-types-list-hint": "Define tipos de relación para filtrar las entidades relacionadas. Si no se define, la alarma se propagará a todas las entidades relacionadas.", - "propagate-alarm-to-owner": "Propagar alarma al propietario de la entidad (Customer o Tenant)", + "propagate-alarm-to-owner": "Propagar la alarma al propietario de la entidad (cliente o inquilino)", "propagate-alarm-to-owner-hierarchy": "Propagar alarma a la jerarquía de propietarios", - "propagate-alarm-to-tenant": "Propagar alarma al Tenant", + "propagate-alarm-to-tenant": "Propagar la alarma al inquilino", "alarm-rule-condition": "Condición de la regla de alarma", - "enter-alarm-rule-condition-prompt": "Por favor, agregue condición para la regla de alarma", + "enter-alarm-rule-condition-prompt": "Agrega una condición para la regla de alarma", "edit-alarm-rule-condition": "Editar condición de la regla de alarma", "device-provisioning": "Aprovisionamiento del dispositivo", "provision-strategy": "Estrategia de aprovisionamiento", @@ -3081,7 +3206,7 @@ "condition-repeat-times-dynamic": "Se repite \"{ attribute }\" ({ count, plural, =1 {1 vez} other {# veces} })", "schedule-type": "Tipo de programación", "schedule-type-required": "Se requiere tipo de programación.", - "schedule": "Horario", + "schedule": "Programación", "edit-schedule": "Editar programación de la alarma", "schedule-any-time": "Activo todo el tiempo", "schedule-specific-time": "Activo en un horario específico", @@ -3141,8 +3266,11 @@ "observe-label": "Observar", "attribute-label": "Atributo", "telemetry-label": "Telemetría", - "edit-observe-select": "Para editar observación seleccione telemetría o atributo", - "edit-attributes-select": "Para editar atributos seleccione telemetría o atributo", + "select-all-attribute": "Seleccionar todos los atributos", + "select-all-telemetry": "Seleccionar toda la telemetría", + "select-all-observe": "Seleccionar todos los observados", + "edit-observe-select": "Para editar la observación, selecciona telemetría o atributo", + "edit-attributes-select": "Para editar los atributos, selecciona telemetría o atributo", "no-attributes-set": "No se han configurado atributos", "key-name": "Nombre de la clave", "key-name-required": "Se requiere el nombre de la clave", @@ -3193,7 +3321,7 @@ "tqs": "TQS: conexiones TCP y SMS activas; TCP en modo en cola, SMS en modo estándar (no admitido desde LWM2M 1.1)", "sq": "SQ: Conexión SMS en modo en cola (no admitido desde LWM2M 1.1)" }, - "binding-tooltip": "Esta es la lista en el recurso \"binding\" del objeto de servidor LwM2M - /1/x/7.\nIndica los modos de vinculación admitidos en el cliente LwM2M.\nEste valor DEBERÍA ser el mismo que el valor del recurso \"Supported Binding and Modes\" en el objeto de dispositivo (/3/0/16).\nAunque se admiten varios transportes, solo se puede usar un enlace de transporte durante toda la sesión de transporte.\nPor ejemplo, cuando se admiten tanto UDP como SMS, el cliente LwM2M y el servidor LwM2M pueden elegir comunicarse por UDP o por SMS durante toda la sesión de transporte.", + "binding-tooltip": "Esta es la lista del recurso \"binding\" del objeto de servidor LwM2M - /1/x/7.\nIndica los modos de enlace admitidos en el Cliente LwM2M.\nEste valor DEBERÍA ser el mismo que el valor del recurso “Supported Binding and Modes” del Objeto Dispositivo (/3/0/16).\nAunque se admiten varios transportes, solo se puede usar un enlace de transporte durante toda la Sesión de Transporte.\nPor ejemplo, cuando se admiten tanto UDP como SMS, el Cliente LwM2M y el Servidor LwM2M pueden elegir comunicarse por UDP o por SMS durante toda la Sesión de Transporte.", "bootstrap-server": "Servidor Bootstrap", "lwm2m-server": "Servidor LwM2M", "include-bootstrap-server": "Incluir actualizaciones del servidor Bootstrap", @@ -3204,7 +3332,7 @@ "server-port": "Puerto", "server-port-required": "Se requiere el puerto.", "server-port-pattern": "El puerto debe ser un número entero positivo.", - "server-port-range": "El puerto debe estar en un rango de 1 a 65535.", + "server-port-range": "El puerto debe estar en el rango de 1 a 65535.", "server-public-key": "Clave pública del servidor", "server-public-key-required": "Se requiere la clave pública del servidor.", "client-hold-off-time": "Tiempo de espera del cliente", @@ -3290,8 +3418,8 @@ "oid": "OID", "oid-pattern": "Formato de OID inválido.", "oid-required": "Se requiere el OID.", - "please-add-communication-config": "Por favor, agregue una configuración de comunicación", - "please-add-mapping-config": "Por favor, agregue una configuración de mapeo", + "please-add-communication-config": "Agrega la configuración de comunicación", + "please-add-mapping-config": "Agrega la configuración de mapeo", "port": "Puerto", "port-format": "Formato de puerto inválido.", "port-required": "Se requiere el puerto.", @@ -3329,143 +3457,149 @@ }, "edge": { "all": "Todos", - "all-edges": "Todos los edges", + "all-edges": "Todos los Edges", "groups": "Grupos", "shared": "Compartido", "edge": "Edge", - "edge-instances": "Instancias de edge", + "edge-instances": "Instancias de Edge", "instances": "Instancias", - "edge-file": "Archivo de edge", + "edges": "Edges", + "profiles": "Perfiles", + "templates": "Plantillas", + "rule-chain": "Cadena de reglas", + "integration": "Integración", + "converter": "Convertidor", + "edge-file": "Archivo de Edge", "name-max-length": "El nombre debe tener menos de 256 caracteres", "label-max-length": "La etiqueta debe tener menos de 256 caracteres", "type-max-length": "El tipo debe tener menos de 256 caracteres", "management": "Gestión de Edge", - "no-edges-matching": "No se encontraron edges que coincidan con '{{entity}}'.", - "add": "Agregar edge", - "no-edges-text": "No se encontraron edges", - "edge-details": "Detalles del edge", - "add-edge-text": "Agregar nuevo edge", - "delete": "Eliminar edge", - "delete-edge-title": "¿Está seguro de que desea eliminar el edge '{{edgeName}}'?", - "delete-edge-text": "Tenga cuidado, después de la confirmación el edge y todos los datos relacionados serán irrecuperables.", - "delete-edges-title": "¿Está seguro de que desea eliminar { count, plural, =1 {1 edge} other {# edges} }?", - "delete-edges-text": "Tenga cuidado, después de la confirmación todos los edges seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", + "no-edges-matching": "No se encontraron Edges que coincidan con '{{entity}}'.", + "add": "Agregar Edge", + "no-edges-text": "No se encontraron Edges", + "edge-details": "Detalles del Edge", + "add-edge-text": "Agregar nuevo Edge", + "delete": "Eliminar Edge", + "delete-edge-title": "¿Estás seguro de que deseas eliminar el Edge '{{edgeName}}'?", + "delete-edge-text": "Ten cuidado, después de la confirmación el Edge y todos los datos relacionados serán irrecuperables.", + "delete-edges-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 Edge} one {# Edge} other {# Edges} }?", + "delete-edges-text": "Ten cuidado, después de la confirmación se eliminarán todos los Edges seleccionados y todos los datos relacionados serán irrecuperables.", "name": "Nombre", - "name-starts-with": "Nombre del edge empieza con", - "name-required": "El nombre es obligatorio.", - "edge-license-key": "Clave de licencia del edge", - "edge-license-key-required": "Se requiere la clave de licencia del edge.", - "edge-license-key-max-length": "La clave de licencia del edge debe tener menos de 31 caracteres", - "edge-license-key-hint": "NOTA IMPORTANTE: la clave de licencia del edge proporcionada es solo para fines de evaluación.
    Esta clave está activa solo durante 30 días después de la activación. La función de etiquetado blanco está deshabilitada.
    Para obtener su clave de licencia, navegue a la página de precios y seleccione la mejor opción de licencia para su caso.", + "name-starts-with": "Nombre del Edge empieza con", + "name-required": "Se requiere el nombre.", + "edge-license-key": "Clave de licencia del Edge", + "edge-license-key-required": "Se requiere la clave de licencia del Edge.", + "edge-license-key-max-length": "La clave de licencia del Edge debe tener menos de 31 caracteres", + "edge-license-key-hint": "NOTA IMPORTANTE: la clave de licencia de Edge por defecto se proporciona solo con fines de evaluación.
    Esta clave está activa solo durante 30 días después de la activación. La función de Marca blanca está deshabilitada.
    Para obtener tu clave de licencia, navega a la página de precios y selecciona la mejor opción de licencia para tu caso.", "cloud-endpoint": "Endpoint de la nube", "cloud-endpoint-required": "Se requiere el endpoint de la nube.", "cloud-endpoint-max-length": "El endpoint de la nube debe tener menos de 256 caracteres", - "cloud-endpoint-hint": "El edge requiere acceso HTTP(s) a la nube (ThingsBoard) para verificar la clave de licencia. Por favor, especifique la URL de la nube a la que el edge puede conectarse.", + "cloud-endpoint-hint": "El Edge requiere acceso HTTP(s) a la nube (ThingsBoard) para verificar la clave de licencia. Especifica la URL de la nube a la que el Edge puede conectarse.", "description": "Descripción", "details": "Detalles", "events": "Eventos", - "copy-id": "Copiar ID del edge", - "id-copied-message": "El ID del edge se ha copiado al portapapeles", - "sync": "Sincronizar edge", - "edge-required": "El edge es obligatorio", - "edge-type": "Tipo de edge", - "edge-type-required": "Se requiere el tipo de edge.", + "copy-id": "Copiar ID del Edge", + "id-copied-message": "El ID del Edge se ha copiado al portapapeles", + "sync": "Sincronizar Edge", + "edge-required": "Se requiere el Edge", + "edge-type": "Tipo de Edge", + "edge-type-required": "Se requiere el tipo de Edge.", "event-action": "Acción del evento", "entity-id": "ID de entidad", - "select-edge-type": "Seleccionar tipo de edge", - "assign-to-customer": "Asignar al customer", - "assign-to-customer-text": "Por favor, seleccione el customer para asignar el(los) edge(s)", - "assign-edge-to-customer": "Asignar edge(s) al customer", - "assign-edge-to-customer-text": "Por favor, seleccione los edges para asignar al customer", - "assignedToCustomer": "Asignado al customer", - "edge-public": "El edge es público", + "select-edge-type": "Seleccionar tipo de Edge", + "assign-to-customer": "Asignar al cliente", + "assign-to-customer-text": "Selecciona el cliente al que se asignarán los Edge(s)", + "assign-edge-to-customer": "Asignar Edge(s) al cliente", + "assign-edge-to-customer-text": "Selecciona los Edges que se asignarán al cliente", + "assignedToCustomer": "Asignado al cliente", + "edge-public": "El Edge es público", "assigned-to-customer": "Asignado a: {{customerTitle}}", - "unassign-from-customer": "Desasignar del customer", - "unassign-edge-title": "¿Está seguro de que desea desasignar el edge '{{edgeName}}'?", - "unassign-edge-text": "Después de la confirmación, el edge se desasignará y no será accesible por el customer.", - "unassign-edges-title": "¿Está seguro de que desea desasignar { count, plural, =1 {1 edge} other {# edges} }?", - "unassign-edges-text": "Después de la confirmación, todos los edges seleccionados se desasignarán y no serán accesibles por el customer.", - "make-public": "Hacer público el edge", - "make-public-edge-title": "¿Está seguro de que desea hacer público el edge '{{edgeName}}'?", - "make-public-edge-text": "Después de la confirmación, el edge y todos sus datos se harán públicos y serán accesibles por otros.", - "make-private": "Hacer privado el edge", + "unassign-from-customer": "Desasignar del cliente", + "unassign-edge-title": "¿Estás seguro de que deseas desasignar el Edge '{{edgeName}}'?", + "unassign-edge-text": "Después de la confirmación, el Edge se desasignará y no será accesible para el cliente.", + "unassign-edges-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 Edge} one {# Edge} other {# Edges} }?", + "unassign-edges-text": "Después de la confirmación, todos los Edges seleccionados se desasignarán y no serán accesibles para el cliente.", + "make-public": "Hacer público el Edge", + "make-public-edge-title": "¿Estás seguro de que deseas hacer público el Edge '{{edgeName}}'?", + "make-public-edge-text": "Después de la confirmación, el Edge y todos sus datos se harán públicos y serán accesibles para otros.", + "make-private": "Hacer privado el Edge", "public": "Público", - "make-private-edge-title": "¿Está seguro de que desea hacer privado el edge '{{edgeName}}'?", - "make-private-edge-text": "Después de la confirmación, el edge y todos sus datos se harán privados y no serán accesibles por otros.", - "import": "Importar edge", + "make-private-edge-title": "¿Estás seguro de que deseas hacer privado el Edge '{{edgeName}}'?", + "make-private-edge-text": "Después de la confirmación, el Edge y todos sus datos se harán privados y no serán accesibles para otros.", + "import": "Importar Edge", "install-connect-instructions": "Instrucciones de instalación y conexión", - "install-connect-instructions-edge-created": "¡Edge creado! Revise las instrucciones de instalación y conexión", - "loading-edge-instructions": "Cargando instrucciones del edge...", + "install-connect-instructions-edge-created": "¡Edge creado! Revisa las instrucciones de instalación y conexión", + "loading-edge-instructions": "Cargando instrucciones del Edge...", "label": "Etiqueta", "load-entity-error": "Error al cargar los datos. La entidad ha sido eliminada.", - "assign-new-edge": "Asignar nuevo edge", - "unassign-from-edge": "Desasignar del edge", - "edge-key": "Clave del edge", - "copy-edge-key": "Copiar clave del edge", - "edge-key-copied-message": "La clave del edge se ha copiado al portapapeles", - "edge-secret": "Secreto del edge", - "copy-edge-secret": "Copiar secreto del edge", - "edge-secret-copied-message": "El secreto del edge se ha copiado al portapapeles", + "assign-new-edge": "Asignar nuevo Edge", + "unassign-from-edge": "Desasignar del Edge", + "edge-key": "Clave del Edge", + "copy-edge-key": "Copiar clave del Edge", + "edge-key-copied-message": "La clave del Edge se ha copiado al portapapeles", + "edge-secret": "Secreto del Edge", + "copy-edge-secret": "Copiar secreto del Edge", + "edge-secret-copied-message": "El secreto del Edge se ha copiado al portapapeles", "manage-assets": "Gestionar activos", "manage-devices": "Gestionar dispositivos", "manage-entity-views": "Gestionar vistas de entidad", "manage-dashboards": "Gestionar tableros", "manage-rulechains": "Gestionar cadenas de reglas", - "assets": "Activos del edge", - "devices": "Dispositivos del edge", - "entity-views": "Vistas de entidad del edge", - "dashboard": "Tablero del edge", - "dashboards": "Tableros del edge", + "assets": "Activos del Edge", + "devices": "Dispositivos del Edge", + "entity-views": "Vistas de entidad del Edge", + "dashboard": "Tablero del Edge", + "dashboards": "Tableros del Edge", "rulechain-templates": "Plantillas de cadenas de reglas", - "edge-rulechain-templates": "Plantillas de cadenas de reglas del edge", + "edge-rulechain-templates": "Plantillas de cadenas de reglas del Edge", "converter-templates": "Plantillas de convertidores", - "edge-converter-templates": "Plantillas de convertidores del edge", + "edge-converter-templates": "Plantillas de convertidores del Edge", "integration-templates": "Plantillas de integración", - "edge-integration-templates": "Plantillas de integración del edge", - "rulechains": "Cadenas de reglas del edge", + "edge-integration-templates": "Plantillas de integración del Edge", + "rulechains": "Cadenas de reglas del Edge", "integrations": "Integraciones", - "search": "Buscar edges", - "selected-edges": "{ count, plural, =1 {1 edge} other {# edges} } seleccionados", - "any-edge": "Cualquier edge", - "no-edge-types-matching": "No se encontraron tipos de edge que coincidan con '{{entitySubtype}}'.", - "edge-type-list-empty": "No se seleccionaron tipos de edge.", - "edge-types": "Tipos de edge", - "enter-edge-type": "Introducir tipo de edge", + "search": "Buscar Edges", + "selected-edges": "{ count, plural, =1 {1 Edge seleccionado} other {# Edges seleccionados} }", + "any-edge": "Cualquier Edge", + "no-edge-types-matching": "No se encontraron tipos de Edge que coincidan con '{{entitySubtype}}'.", + "edge-type-list-empty": "No se seleccionaron tipos de Edge.", + "edge-types": "Tipos de Edge", + "enter-edge-type": "Introducir tipo de Edge", "deployed": "Desplegado", "pending": "Pendiente", "downlinks": "Downlinks", "no-downlinks-prompt": "No se encontraron downlinks", "sync-process-started-successfully": "¡Proceso de sincronización iniciado con éxito!", - "missing-related-rule-chains-title": "El edge tiene cadenas de reglas relacionadas faltantes", - "missing-related-rule-chains-text": "Las cadenas de reglas asignadas al edge usan nodos de reglas que envían mensajes a cadenas de reglas que no están asignadas a este edge.

    Lista de cadenas de reglas faltantes:
    {{missingRuleChains}}", - "widget-datasource-error": "Este widget solo admite fuente de datos de entidad EDGE", - "assign-to-edge": "Asignar al edge", - "assign-to-edge-title": "Asignar grupo(s) de entidades al edge", - "manage-edge-user-groups": "Gestionar grupos de usuarios del edge", - "manage-edge-asset-groups": "Gestionar grupos de activos del edge", - "manage-edge-device-groups": "Gestionar grupos de dispositivos del edge", - "manage-edge-entity-view-groups": "Gestionar grupos de vistas de entidad del edge", - "manage-edge-dashboard-groups": "Gestionar grupos de tableros del edge", - "manage-edge-rule-chains": "Gestionar cadenas de reglas del edge", - "manage-edge-integrations": "Gestionar integraciones del edge", - "manage-edge-scheduler-events": "Gestionar eventos programados del edge", - "select-group-to-add": "Seleccionar grupo de destino para agregar edges seleccionados", - "select-group-to-move": "Seleccionar grupo de destino para mover edges seleccionados", - "remove-edges-from-group": "¿Está seguro de que desea eliminar { count, plural, =1 {1 edge} other {# edges} } del grupo '{entityGroup}'?", - "group": "Grupo de edges", - "list-of-groups": "{ count, plural, =1 {Un grupo de edge} other {Lista de # grupos de edge} }", - "group-name-starts-with": "Grupos de edge cuyos nombres comienzan con '{{prefix}}'", - "unassign-entity-group-from-edge-title": "¿Está seguro de que desea desasignar el grupo de entidades '{{ entityGroupName }}'?", - "unassign-entity-group-from-edge-text": "Después de la confirmación, el grupo de entidades se desasignará y no será accesible por el edge.", - "unassign-entity-group-from-edge": "Desasignar grupo de entidades del edge", - "unassign-entity-groups-from-edge-title": "¿Está seguro de que desea desasignar {{count}} grupos de entidades?", - "unassign-entity-groups-from-edge-text": "Después de la confirmación, los grupos de entidades se desasignarán y no serán accesibles por el edge.", - "unassign-entity-groups-from-edge": "Desasignar grupos de entidades del edge", - "unassign-scheduler-events-from-edge": "Desasignar eventos programados del edge", - "unassign-scheduler-event-from-edge-title": "¿Está seguro de que desea desasignar el evento programado '{{schedulerEventName}}'?", - "unassign-scheduler-event-from-edge-text": "Después de la confirmación, el evento programado se desasignará y no será accesible por el edge.", - "unassign-scheduler-events-from-edge-title": "¿Está seguro de que desea desasignar { count, plural, =1 {1 evento programado} other {# eventos programados} }?", - "unassign-scheduler-events-from-edge-text": "Después de la confirmación, todos los eventos programados seleccionados se desasignarán y no serán accesibles por el edge.", + "missing-related-rule-chains-title": "El Edge tiene cadenas de reglas relacionadas faltantes", + "missing-related-rule-chains-text": "Las cadenas de reglas asignadas al Edge usan nodos de reglas que envían mensajes a cadenas de reglas que no están asignadas a este Edge.

    Lista de cadenas de reglas faltantes:
    {{missingRuleChains}}", + "widget-datasource-error": "Este widget solo admite origen de datos de entidad EDGE", + "assign-to-edge": "Asignar al Edge", + "assign-to-edge-title": "Asignar grupo(s) de entidades al Edge", + "manage-edge-user-groups": "Gestionar grupos de usuarios del Edge", + "manage-edge-asset-groups": "Gestionar grupos de activos del Edge", + "manage-edge-device-groups": "Gestionar grupos de dispositivos del Edge", + "manage-edge-entity-view-groups": "Gestionar grupos de vistas de entidad del Edge", + "manage-edge-dashboard-groups": "Gestionar grupos de tableros del Edge", + "manage-edge-rule-chains": "Gestionar cadenas de reglas del Edge", + "manage-edge-integrations": "Gestionar integraciones del Edge", + "manage-edge-scheduler-events": "Gestionar eventos programados del Edge", + "select-group-to-add": "Seleccionar grupo de destino para agregar Edges seleccionados", + "select-group-to-move": "Seleccionar grupo de destino para mover Edges seleccionados", + "remove-edges-from-group": "¿Estás seguro de que deseas quitar { count, plural, =1 {1 Edge} one {# Edge} other {# Edges} } del grupo '{entityGroup}'?", + "group": "Grupo de Edges", + "list-of-groups": "{ count, plural, =1 {Un grupo de Edge} other {Lista de # grupos de Edge} }", + "group-name-starts-with": "Grupos de Edge cuyos nombres comienzan con '{{prefix}}'", + "unassign-entity-group-from-edge-title": "¿Estás seguro de que deseas desasignar el grupo de entidades '{{ entityGroupName }}'?", + "unassign-entity-group-from-edge-text": "Después de la confirmación, el grupo de entidades se desasignará y no será accesible para el Edge.", + "unassign-entity-group-from-edge": "Desasignar grupo de entidades del Edge", + "unassign-entity-groups-from-edge-title": "¿Estás seguro de que deseas desasignar {{count}} grupos de entidades?", + "unassign-entity-groups-from-edge-text": "Después de la confirmación, los grupos de entidades se desasignarán y no serán accesibles para el Edge.", + "unassign-entity-groups-from-edge": "Desasignar grupos de entidades del Edge", + "unassign-scheduler-events-from-edge": "Desasignar eventos programados del Edge", + "unassign-scheduler-event-from-edge-title": "¿Estás seguro de que deseas desasignar el evento programado '{{schedulerEventName}}'?", + "unassign-scheduler-event-from-edge-text": "Después de la confirmación, el evento programado se desasignará y no será accesible para el Edge.", + "unassign-scheduler-events-from-edge-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 evento programado} one {# evento programado} other {# eventos programados} }?", + "unassign-scheduler-events-from-edge-text": "Después de la confirmación, todos los eventos programados seleccionados se desasignarán y no serán accesibles para el Edge.", "manage-user-groups": "Gestionar grupos de usuarios", "manage-asset-groups": "Gestionar grupos de activos", "manage-device-groups": "Gestionar grupos de dispositivos", @@ -3473,19 +3607,658 @@ "manage-entity-view-groups": "Gestionar grupos de vistas de entidad", "manage-scheduler-events": "Gestionar eventos programados", "manage-integrations": "Gestionar integraciones", - "assign-scheduler-event-to-edge-title": "Asignar eventos programados al edge", - "assign-scheduler-event-to-edge-text": "Por favor, seleccione los eventos programados para asignar al edge", - "assign-entity-groups-to-edge-text": "Por favor, seleccione los grupos de entidades para asignar al edge", - "assign-integration-to-edge-title": "Asignar integraciones al edge", - "assign-integration-to-edge-text": "Por favor, seleccione las integraciones para asignar al edge", - "missing-attributes-title": "El edge tiene atributos faltantes", - "missing-attributes-text": "Las integraciones asignadas al edge tienen marcadores de posición de atributos que no están disponibles en este edge.

    Lista de atributos faltantes del edge:
    {{missingEdgeAttributes}}", - "missing-all-related-attributes-title": "Los edge(s) tienen atributos faltantes", - "missing-all-related-attributes-text": "Los edge(s) relacionados con la integración no tienen atributos que estén presentes en la configuración de integración como marcadores de posición de atributos.

    Lista de atributos faltantes del edge:
    {{missingEdgeAttributes}}", + "assign-scheduler-event-to-edge-title": "Asignar eventos programados al Edge", + "assign-scheduler-event-to-edge-text": "Selecciona los eventos programados que se asignarán al Edge", + "assign-entity-groups-to-edge-text": "Selecciona los grupos de entidades que se asignarán al Edge", + "assign-integration-to-edge-title": "Asignar integraciones al Edge", + "assign-integration-to-edge-text": "Selecciona las integraciones que se asignarán al Edge", + "missing-attributes-title": "El Edge tiene atributos faltantes", + "missing-attributes-text": "Las integraciones asignadas al Edge tienen marcadores de posición de atributos que no están disponibles en este Edge.

    Lista de atributos faltantes del Edge:
    {{missingEdgeAttributes}}", + "missing-all-related-attributes-title": "Los Edge(s) tienen atributos faltantes", + "missing-all-related-attributes-text": "Los Edge(s) relacionados con la integración no tienen atributos que estén presentes en la configuración de integración como marcadores de posición de atributos.

    Lista de atributos faltantes del Edge:
    {{missingEdgeAttributes}}", "quick-overview-widget-header": "Resumen rápido de {{edgeName}}", "upgrade-instructions": "Instrucciones de actualización", + "managed-application": "Aplicación administrada", + "app-upgrade-available": "Actualización disponible", "connected": "Conectado", - "disconnected": "Desconectado" + "disconnected": "Desconectado", + "auto-provision": "Aprovisionamiento automático", + "auto-provision-title": "Aprovisionar Edge automáticamente", + "auto-provision-subtitle": "Genera un comando Docker run — el Edge y su Agent se crean automáticamente cuando el comando se ejecuta en la máquina de destino.", + "auto-provision-step-select": "Perfil de Agent", + "auto-provision-step-script": "Script de aprovisionamiento", + "auto-provision-agent-profile-label": "Perfil de Agent", + "auto-provision-agent-profile-placeholder": "Seleccionar o crear un perfil de Agent", + "auto-provision-no-eligible-profiles": "No se encontraron perfiles aptos. Usa el botón de la derecha para crear uno.", + "auto-provision-create-profile": "Crear perfil", + "auto-provision-validating": "Validando el perfil de Agent…", + "auto-provision-valid": "Listo para aprovisionar — '{{profile}}' tiene asignado un perfil de aplicación EDGE.", + "auto-provision-invalid-strategy": "La estrategia de aprovisionamiento de este perfil no instala aplicaciones automáticamente. Elige un perfil con una estrategia de instalación automática.", + "auto-provision-invalid-no-edge-app-profile": "Este perfil no tiene asignado ningún perfil de aplicación EDGE. Usa el botón para asignar uno.", + "auto-provision-info-title": "Cómo funciona", + "auto-provision-info-body": "Una vez creado un perfil de Agent, se genera un comando Docker run. Al ejecutarlo en una máquina de destino, ThingsBoard crea automáticamente el Agent — y la entidad Edge vinculada a él — usando las credenciales incluidas en el comando. El Edge se configura automáticamente según el perfil de aplicación asignado al perfil de Agent. No es necesario crear el Edge manualmente.", + "auto-provision-success-message": "El perfil de Agent está listo. Ejecuta el comando en cualquier máquina de destino para aprovisionar un nuevo Edge.", + "auto-provision-script-hint": "Ejecuta este comando en cada máquina que deba convertirse en un Edge. Cada ejecución aprovisiona un par Agent + Edge.", + "auto-provision-open-profile": "Abrir perfil", + "auto-provision-no-script": "Faltan las credenciales de aprovisionamiento en este perfil. Abre el perfil para regenerarlas." + }, + "agent": { + "agents": "Agents", + "agent-profiles": "Perfiles de Agent", + "app-profiles": "Perfiles de aplicación", + "templates": "Plantillas", + "agent-templates": "Plantillas de Agent", + "add": "Agregar Agent", + "add-agent-text": "Agregar nuevo Agent", + "auto-provision": "Aprovisionamiento automático", + "auto-provision-title": "Aprovisionar Agent automáticamente", + "auto-provision-step-select": "Perfil de Agent", + "auto-provision-step-script": "Script de aprovisionamiento", + "auto-provision-valid": "Listo para aprovisionar — '{{profile}}' tiene el aprovisionamiento habilitado.", + "auto-provision-info-title": "Cómo funciona", + "auto-provision-info-body": "Una vez creado un perfil de Agent, se genera un comando Docker run. Al ejecutarlo en una máquina de destino, ThingsBoard crea automáticamente el Agent con las credenciales incluidas en el comando. El Agent se configura automáticamente según el perfil de Agent. No es necesario crear el Agent manualmente.", + "auto-provision-success-message": "El perfil de Agent está listo. Ejecuta el comando en cualquier máquina de destino para aprovisionar un nuevo Agent.", + "auto-provision-script-hint": "Ejecuta este comando en cada máquina que deba ejecutar un Agent. Cada ejecución aprovisiona un Agent.", + "add-profile": "Agregar perfil de Agent", + "add-app-profile": "Agregar perfil de aplicación", + "add-application": "Agregar aplicación", + "agent-details": "Detalles del Agent", + "profile-details": "Detalles del perfil de Agent", + "app-profile-details": "Detalles del perfil de aplicación", + "template-details": "Detalles de la plantilla de Agent", + "application-details": "Detalles de la aplicación", + "no-agents-text": "No se encontraron Agents", + "no-agent-profiles-text": "No se encontraron perfiles de Agent", + "no-app-profiles-text": "No se encontraron perfiles de aplicación", + "no-templates-text": "No se encontraron plantillas de Agent", + "no-applications-text": "No se encontraron aplicaciones", + "no-events-text": "No se encontraron eventos", + "search": "Buscar Agents", + "search-profiles": "Buscar perfiles de Agent", + "search-app-profiles": "Buscar perfiles de aplicación", + "search-templates": "Buscar plantillas", + "search-applications": "Buscar aplicaciones", + "search-events": "Buscar eventos", + "selected-agents": "{ count, plural, =1 {1 Agent seleccionado} one {# Agent seleccionado} other {# Agents seleccionados} }", + "selected-agent-profiles": "{ count, plural, =1 {1 perfil de Agent seleccionado} one {# perfil de Agent seleccionado} other {# perfiles de Agent seleccionados} }", + "selected-app-profiles": "{ count, plural, =1 {1 perfil de aplicación seleccionado} one {# perfil de aplicación seleccionado} other {# perfiles de aplicación seleccionados} }", + "selected-applications": "{ count, plural, =1 {1 aplicación seleccionada} one {# aplicación seleccionada} other {# aplicaciones seleccionadas} }", + "name": "Nombre", + "name-required": "Se requiere el nombre.", + "name-max-length": "El nombre debe tener menos de 256 caracteres", + "routing-key": "Clave de enrutamiento", + "secret": "Secreto", + "description": "Descripción", + "profile-name": "Nombre del perfil", + "profile-name-placeholder": "Agents de producción", + "profile-name-required": "Se requiere el nombre del perfil.", + "provision-type": "Tipo de aprovisionamiento", + "provision-key": "Clave de aprovisionamiento", + "provision-secret": "Secreto de aprovisionamiento", + "app-type": "Tipo de aplicación", + "current-version": "Versión actual", + "next-version": "Siguiente versión", + "assigned-to-customer": "Asignado al cliente", + "assign-to-customer": "Asignar al cliente", + "unassign-from-customer": "Desasignar del cliente", + "assign-agents-to-customer": "Asignar Agent(s) al cliente", + "assign-to-customer-text": "Selecciona el cliente al que asignar los Agent(s)", + "unassign-agents-from-customer": "Desasignar Agent(s) del cliente", + "delete": "Eliminar Agent", + "delete-profile": "Eliminar perfil", + "set-default-profile": "Establecer perfil de Agent por defecto", + "set-default-profile-title": "¿Estás seguro de que deseas establecer el perfil de Agent '{{profileName}}' por defecto?", + "set-default-profile-text": "Tras la confirmación, el perfil de Agent se marcará por defecto y se usará para los nuevos Agents sin perfil especificado.", + "default-profile": "Por defecto", + "agent-profile-required": "Se requiere el perfil de Agent.", + "edit-profile": "Editar perfil de Agent", + "no-agent-profiles-found": "No se encontraron perfiles de Agent", + "no-agent-profiles-matching": "No se encontraron perfiles de Agent que coincidan con '{{entity}}'", + "create-new-agent-profile": "Crear nuevo perfil de Agent", + "add-profile-step-details": "Detalles del perfil", + "add-profile-step-app-profiles": "Perfiles de aplicación", + "add-profile-app-profiles-hint-title": "¿Por qué asignar perfiles de aplicación?", + "add-profile-app-profiles-hint": "Los perfiles de aplicación asignados controlan las operaciones masivas (actualización, actualización de versión, eliminación) en las aplicaciones que los referencian — aplicaciones administradas por Agents que usan el perfil '{{profileName}}'. Selecciona perfiles de aplicación existentes o crea otros nuevos aquí mismo.", + "application-profiles": "Perfiles de aplicación", + "create-new-application-profile": "Crear nuevo perfil de aplicación", + "create-new": "Crear nuevo", + "delete-app-profile": "Eliminar perfil de aplicación", + "copy-profile-id": "Copiar ID del perfil", + "profile-id-copied-message": "El ID del perfil se ha copiado al portapapeles", + "app-profile-wizard-title": "Crear perfil de aplicación", + "app-profile-wizard-edit-title": "Actualizar perfil de aplicación", + "app-update-current-config": "Configuración actual de la aplicación", + "app-update-future-config": "Configuración futura de la aplicación", + "app-update-edit-profile": "Actualizar perfil", + "app-update-compare-hint": "Comparación de solo lectura entre la configuración actual de esta aplicación (izquierda) y la configuración que recibirá del perfil asignado, con las credenciales combinadas (derecha).", + "app-install-custom-config": "Avanzado", + "app-install-from-profile": "Por defecto", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "Un ThingsBoard Agent instala, actualiza y supervisa esta implementación de forma remota desde la nube — sin comandos manuales de Docker ni mantenimiento en la máquina de destino.", + "deploy-select-agent-step": "Seleccionar Agent", + "deploy-intro": "Despliega en una máquina remota usando un ThingsBoard Agent. Selecciona un Agent existente que se ejecute en la máquina de destino o crea uno nuevo.", + "deploy-agent": "Agent", + "deploy-create-new": "Crear nuevo", + "deploy-no-agents": "No se encontraron Agents", + "deploy-no-agents-matching": "No hay Agents que coincidan con '{{entity}}'", + "deploy-already-managed": "Esta entidad ya está gestionada por la aplicación Agent \"{{name}}\".", + "deploy-open-agent": "Ir al Agent", + "deploy-open-app": "Ir a la aplicación Agent", + "deploy-install-step": "Instalar", + "deploy-status-hero": "Un ThingsBoard Agent está instalando, actualizando y supervisando esta implementación de forma remota desde la nube — sin comandos manuales de Docker ni mantenimiento en la máquina de destino.", + "deploy-status-online-title": "Tu Agent está en línea", + "deploy-status-offline-title": "Tu Agent está sin conexión", + "deploy-status-managing": "está administrando esta implementación. No necesitas hacer nada más aquí.", + "deploy-status-managing-for": "lleva {{duration}} administrando esta implementación. No necesitas hacer nada más aquí.", + "deploy-status-offline-desc": "no está accesible en este momento. La conexión se reanudará automáticamente tras la reconexión del Agent.", + "deploy-status-duration-days": "{{count}} día(s)", + "deploy-status-duration-hours": "{{count}} hora(s)", + "deploy-status-duration-minutes": "{{count}} minuto(s)", + "deploy-status-healthy": "En buen estado", + "deploy-status-unhealthy": "Sin conexión", + "deploy-status-need-reinstall": "¿Necesitas reinstalar?", + "deploy-status-show-install": "Mostrar comando de instalación", + "deploy-status-hide-install": "Ocultar", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "El dispositivo Agent que administra esta implementación — telemetría y ciclo de vida.", + "deploy-status-card-app-title": "Aplicación Agent", + "deploy-status-card-app-desc": "La aplicación que ejecuta este Agent — servicios, estado y registros.", + "deploy-status-card-events-title": "Eventos del Agent", + "deploy-status-card-events-desc": "Transmisión en vivo de instalaciones, actualizaciones, reinicios y errores.", + "deploy-status-edge-ui-title": "Abrir la interfaz de ThingsBoard Edge", + "deploy-status-edge-ui-desc": "Una vez que el servicio Edge se haya iniciado, abre la interfaz web de Edge en http://localhost:8080, o en http://localhost:18080 si modificaste la configuración del puerto de enlace HTTP en el paso anterior. Inicia sesión con tus credenciales de inquilino de tu ThingsBoard Server local o de ThingsBoard Cloud.", + "app-install-select-profile": "Perfil de aplicación", + "app-install-no-profiles": "No se encontraron perfiles de aplicación", + "app-install-virtual-profile-badge": "Predefinido", + "app-install-virtual-profile-hint": "Este perfil aún no existe. Se creará automáticamente a partir de la plantilla cuando lo selecciones.", + "app-install-profile-materialize-failed": "No se pudo crear el perfil de aplicación predefinido.", + "quick-start-title": "Inicio rápido — perfiles predefinidos", + "quick-start-subtitle": "Crea un perfil de Edge o Gateway listo para usar con un clic. No se requiere configuración.", + "quick-start-filter-all": "Todos", + "quick-start-all-created": "Se crearon todos los perfiles predefinidos.", + "quick-start-no-match": "Ningún perfil predefinido coincide con este filtro.", + "quick-start-profile-created": "Perfil de aplicación \"{{profileName}}\" creado", + "add-profile-assignments-load-failed": "No se pudieron cargar los perfiles de aplicación asignados actualmente. Al guardar, las asignaciones existentes se conservarán sin cambios.", + "app-profile-wizard-cta": "Crear perfil", + "app-profile-wizard-confirm-info": "El perfil de aplicación se creará con la plantilla y la configuración de compose seleccionadas. Puedes modificarlo más tarde desde la página de detalles del perfil.", + "app-profile-name": "Nombre del perfil", + "app-profile-name-placeholder-edge": "Perfil de aplicación Edge del silo", + "app-profile-name-placeholder-gateway": "Perfil de aplicación Gateway del silo", + "app-profile-name-placeholder-generic": "Perfil de aplicación del silo", + "app-profile-step-save": "Guardar perfil", + "app-profile-description": "Descripción", + "copy-id": "Copiar Id de Agent", + "copy-routing-key": "Copiar clave de enrutamiento", + "copy-secret": "Copiar secreto", + "copy-provision-key": "Copiar clave de aprovisionamiento", + "copy-provision-secret": "Copiar secreto de aprovisionamiento", + "id-copied-message": "El ID del Agent se ha copiado al portapapeles", + "routing-key-copied-message": "La clave de enrutamiento se ha copiado al portapapeles", + "secret-copied-message": "El secreto se ha copiado al portapapeles", + "provision-key-copied-message": "La clave de aprovisionamiento se ha copiado al portapapeles", + "provision-secret-copied-message": "El secreto de aprovisionamiento se ha copiado al portapapeles", + "delete-agent-title": "¿Estás seguro de que deseas eliminar el Agent '{{agentName}}'?", + "delete-agent-text": "Ten cuidado, después de la confirmación el Agent y todos los datos relacionados serán irrecuperables.", + "delete-agents-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 Agent} one {# Agent} other {# Agents} }?", + "delete-agents-text": "Ten cuidado, después de la confirmación todos los Agents seleccionados se eliminarán y todos los datos relacionados serán irrecuperables.", + "unassign-agent-title": "¿Estás seguro de que deseas desasignar el Agent '{{agentName}}'?", + "unassign-agent-text": "Después de la confirmación el Agent se desasignará y el cliente no podrá acceder a él.", + "unassign-agents-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 Agent} one {# Agent} other {# Agents} }?", + "unassign-agents-text": "Después de la confirmación todos los Agents seleccionados se desasignarán y el cliente no podrá acceder a ellos.", + "delete-profile-title": "¿Estás seguro de que deseas eliminar el perfil '{{profileName}}'?", + "delete-profile-text": "Ten cuidado, después de la confirmación el perfil y todos los datos relacionados serán irrecuperables.", + "delete-profiles-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 perfil} one {# perfil} other {# perfiles} }?", + "delete-profiles-text": "Ten cuidado, después de la confirmación todos los perfiles seleccionados se eliminarán y todos los datos relacionados serán irrecuperables.", + "delete-app-profile-title": "¿Estás seguro de que deseas eliminar el perfil de aplicación '{{profileName}}'?", + "delete-app-profile-text": "Ten cuidado, después de la confirmación el perfil de aplicación y todos los datos relacionados serán irrecuperables.", + "delete-app-profiles-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 perfil de aplicación} one {# perfil de aplicación} other {# perfiles de aplicación} }?", + "delete-app-profiles-text": "Ten cuidado, después de la confirmación todos los perfiles de aplicación seleccionados se eliminarán y todos los datos relacionados serán irrecuperables.", + "status": "Estado", + "online": "En línea", + "offline": "Desconectado", + "app-errors": "Errores", + "app-errors-recent": "Últimos {{count}} eventos de error:", + "app-errors-open-events": "Haz clic para abrir la pestaña de eventos", + "online-hint": "El Agent está conectado actualmente a la plataforma", + "offline-hint": "El Agent no está conectado a la plataforma", + "agent-profile": "Perfil de Agent", + "no-profile": "Sin perfil", + "applications": "Aplicaciones", + "manage-applications": "Administrar aplicaciones", + "app-name": "Nombre", + "app-template": "Plantilla", + "app-units": "Unidades", + "app-origin": "Origen", + "app-profile-in-sync": "Sincronizado con el perfil de aplicación", + "app-profile-in-sync-yes": "Sincronizado con el perfil de aplicación", + "app-profile-in-sync-no": "No sincronizado con el perfil de aplicación", + "app-profile-in-sync-na": "No hay ningún perfil de aplicación asignado", + "app-upgrade-to": "Actualizar a {{version}}", + "app-restart": "Reiniciar", + "app-upgrade": "Actualizar versión", + "app-delete": "Eliminar", + "app-update": "Actualizar", + "app-update-title": "¿Actualizar {{name}}?", + "app-update-text": "Envía la configuración guardada al Agent. El Agent volverá a desplegar usando la última versión guardada del compose.", + "app-version-upgrade-available-title": "Actualización de versión disponible", + "app-version-mismatch-title": "Discrepancia en la versión de la plantilla", + "app-assign-upgrade-available-text": "El perfil '{{profileName}}' está en la versión de plantilla {{profileVersion}}, mientras que esta aplicación está en {{appVersion}}. Hay una actualización a {{profileVersion}} disponible para esta aplicación. Asignar el perfil directamente la cambiará a {{profileVersion}} sin ejecutar los pasos de actualización (p. ej., scripts de actualización de la base de datos). Usa la acción Actualizar versión para cambiar de versión de forma segura.", + "app-assign-version-mismatch-text": "El perfil '{{profileName}}' usa la versión de plantilla {{profileVersion}}, pero esta aplicación está en la versión {{appVersion}}. Asignarlo cambiará la aplicación a {{profileVersion}} sin ejecutar ningún paso de actualización ni de reversión de versión, y puede dejarla en un estado inconsistente. Usa la acción Actualizar versión para cambiar de versión de forma segura.", + "app-assign-anyway": "Asignar de todos modos", + "app-assign-upgrade-first": "Actualizar versión primero", + "app-update-drift-title": "La versión del perfil asignado es diferente", + "app-update-drift-text": "El perfil asignado '{{profileName}}' está en la versión de plantilla {{profileVersion}}, mientras que esta aplicación está en {{appVersion}}. Actualizar volverá a desplegar la aplicación con su configuración actual — la configuración del perfil no se aplicará. Usa la acción Actualizar versión para pasar a {{profileVersion}}.", + "app-update-anyway": "Actualizar de todos modos", + "app-profile-drifted-hint": "El perfil está en la versión de plantilla {{version}}. Actualizar no la aplicará — usa Actualizar versión.", + "app-arguments-profile-managed-hint": "Los argumentos personalizados los administra el perfil de aplicación asignado. Edítalos en la página del perfil.", + "app-current-version": "Versión actual", + "app-profile-version": "Versión del perfil", + "app-name-required": "Se requiere el nombre de la aplicación.", + "app-compose": "Configuración de Docker Compose", + "arguments": "Argumentos personalizados", + "arguments-hint-prefix": "Marcadores de posición que se resuelven al desplegar. Haz referencia a ellos en el compose como", + "arguments-empty": "No hay argumentos personalizados definidos.", + "arguments-empty-read-title": "No hay argumentos personalizados definidos", + "arguments-empty-read-hint": "El compose se despliega con sus valores tal cual.", + "arguments-empty-write-title": "Aún no hay argumentos personalizados", + "arguments-empty-write-hint": "Agrega un marcador de posición para inyectar un valor de atributo o de telemetría de la entidad en el compose al desplegar.", + "argument-settings": "Configuración del argumento", + "argument-add": "Agregar argumento", + "argument-remove": "Quitar argumento", + "argument-name": "Nombre", + "argument-name-required": "Se requiere el nombre del argumento.", + "argument-name-pattern": "Solo se permiten letras, dígitos y guiones bajos.", + "argument-name-duplicate": "El nombre del argumento ya está en uso.", + "argument-referenced-as": "Haz referencia a él en la configuración de Docker Compose como", + "argument-source": "Tipo de origen", + "argument-target-entity": "Entidad de destino", + "argument-source-agent": "Agent", + "argument-source-owner": "Propietario", + "argument-source-related-entity": "Entidad relacionada", + "argument-source-tenant": "Inquilino actual", + "argument-source-device": "Dispositivo", + "argument-source-asset": "Activo", + "argument-source-customer": "Cliente", + "argument-source-edge": "Edge", + "argument-source-entity-device": "Dispositivo", + "argument-source-entity-asset": "Activo", + "argument-source-entity-customer": "Cliente", + "argument-source-entity-edge": "Edge", + "argument-value-type": "Tipo de valor", + "argument-value-type-attribute": "Atributo", + "argument-value-type-latest-telemetry": "Última telemetría", + "argument-scope": "Ámbito del atributo", + "argument-type-server-attribute": "Atributo de servidor", + "argument-type-shared-attribute": "Atributo compartido", + "argument-type-client-attribute": "Atributo de cliente", + "argument-key": "Clave", + "argument-attribute-key": "Clave del atributo", + "argument-telemetry-key": "Clave de la última telemetría", + "argument-key-required": "Se requiere la clave.", + "argument-default-value": "Valor por defecto", + "argument-format": "Formato del valor", + "argument-format-string": "Texto", + "argument-format-json": "JSON", + "argument-format-hint-json": "\"JSON\" inserta arreglos/objetos/números tal cual, pero solo cuando el marcador de posición es el valor completo.", + "argument-format-hint-embedded": "Si el marcador de posición está incrustado dentro de una cadena, esta opción se ignora y el valor siempre se inserta como texto entre comillas.", + "argument-format-hint-text": "\"Texto\" siempre inserta una cadena entre comillas.", + "app-compose-creds-overridden-hint": "La entidad vinculada administra los campos de credenciales del compose, y estos se sobrescribirán al guardar. Para cambiarlos, reasigna la entidad.", + "app-profile-compose-creds-hint": "La entidad vinculada administra los campos de credenciales del compose, y estos se sobrescribirán al guardar. Para cambiarlos, asigna la entidad al crear o editar la aplicación.", + "app-related-entity": "Entidad relacionada", + "app-related-entity-none": "No se encontraron entidades coincidentes", + "app-related-entity-none-create": "No se encontraron entidades coincidentes. Usa el botón 'Crear nueva' para crear una.", + "app-related-entity-required": "Se requiere la entidad relacionada para las aplicaciones Edge y Gateway.", + "app-step-applied-stage-hint": "Los cambios de esta sección se aplican durante la etapa '{{stage}}' en el Agent.", + "app-restart-title": "¿Reiniciar {{name}}?", + "app-restart-text": "El Agent volverá a ejecutar los pasos de inicio de la aplicación. Los datos y la configuración existentes se conservan.", + "app-assign-compare-title": "Asignar perfil de aplicación", + "app-assign-compare-hint": "Asignar el perfil '{{profileName}}' reemplazará la configuración de compose de '{{appName}}'. Revisa los cambios de arriba y confirma.", + "app-assign-compare-cta": "Asignar perfil", + "app-upgrade-title": "Actualizar versión de la aplicación", + "app-upgrade-step1": "Revisar cambios", + "app-upgrade-step2": "Configurar y confirmar", + "app-upgrade-heading": "Actualizando {{name}}: {{from}} → {{to}}", + "app-upgrade-template-new": "Plantilla ({{version}}) — nueva", + "app-upgrade-current": "Tu Compose (actual con la nueva imagen fusionada automáticamente)", + "app-upgrade-diff-hint": "Comparación en paralelo: el panel izquierdo muestra la nueva plantilla sin procesar, el panel derecho muestra tu compose actual con la nueva imagen fusionada automáticamente. Revisa las diferencias antes de continuar.", + "app-upgrade-steps-list": "Pasos de actualización que se ejecutarán:", + "app-upgrade-backup-volumes-hint": "Selecciona los volúmenes que deseas respaldar antes de actualizar. Las copias de seguridad permiten revertir automáticamente si la actualización falla.", + "app-upgrade-no-volumes": "No se detectaron volúmenes en la configuración de compose.", + "app-upgrade-summary-versions": "Actualizar versión", + "app-upgrade-summary-volumes-label": "Volúmenes a respaldar", + "app-upgrade-summary-volumes": "{ count, plural, =1 {1 seleccionado} one {# seleccionado} other {# seleccionados} }", + "app-upgrade-rollback-info": "Si algún paso falla, el Agent revertirá automáticamente a la versión anterior usando los volúmenes respaldados.", + "app-upgrade-cta": "Actualizar versión", + "app-upgrade-loading": "Cargando plantilla…", + "app-upgrade-no-template": "La aplicación no tiene una plantilla configurada; no se puede actualizar.", + "app-upgrade-no-next-version": "No hay una versión más reciente de la plantilla disponible.", + "app-upgrade-load-failed": "No se pudo cargar la plantilla de actualización.", + "app-upgrade-merge-failed": "No se pudo calcular la vista previa de la actualización.", + "app-compose-invalid-yaml": "La configuración de Docker Compose no es un YAML válido. Corrígela antes de guardar.", + "app-profile-saved-title": "Perfil de aplicación guardado", + "app-profile-saved-propagation-text": "Las aplicaciones ya asignadas a este perfil no se actualizaron automáticamente. Para aplicar los cambios, ejecuta una actualización masiva o una actualización de versión masiva desde la página del perfil del Agent, o actualiza cada aplicación individualmente desde su propia página.", + "app-upgrade-profile-step": "Actualizar versión del perfil", + "app-upgrade-profile-loading": "Cargando perfil…", + "app-upgrade-profile-name": "Perfil", + "app-upgrade-profile-current": "Compose del perfil (actual con la nueva imagen fusionada automáticamente)", + "app-upgrade-profile-hint": "Esta aplicación está vinculada a un perfil que aún apunta a la versión anterior de la plantilla. Actualiza primero el perfil para que la aplicación pueda adoptar la nueva configuración.", + "app-upgrade-profile-cta": "Actualizar versión del perfil", + "app-profile-load-failed": "No se pudo cargar el perfil de aplicación.", + "app-install-title": "Instalar aplicación", + "app-install-on-agent": "en el Agent {{name}}", + "app-install-pick-type": "Elige qué deseas implementar en este Agent.", + "app-install-step1": "Seleccionar tipo", + "app-install-step3": "Revisar y personalizar", + "app-install-step4": "Guardar aplicación", + "app-install-type-generic": "Genérico", + "app-install-type-generic-desc": "Implementar cualquier aplicación de Docker Compose", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "Implementar ThingsBoard Edge", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "Implementar ThingsBoard Gateway", + "app-install-name": "Nombre de la aplicación", + "app-install-yaml": "Configuración de Docker Compose", + "app-compose-template-select": "Plantilla de Compose", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "Híbrido", + "compose-type-in-memory": "En memoria", + "app-install-diff-template": "Plantilla — solo lectura", + "app-install-diff-editable": "Tu compose — editable, se guardará", + "app-install-diff-hint": "El panel izquierdo muestra el compose original de la plantilla. Edita el panel derecho para adaptarlo; solo se guarda el lado derecho.", + "app-diff-sync-scroll": "Sincronizar el desplazamiento entre paneles", + "app-diff-read-only": "Solo lectura", + "app-install-cred-title": "Credenciales", + "app-install-cred-hint": "Solo estos campos son editables cuando usas un perfil. Se escriben de vuelta en la vista previa del compose de abajo.", + "app-install-cred-routing-key": "Clave de enrutamiento", + "app-install-cred-routing-secret": "Secreto de enrutamiento", + "app-install-cred-security-type": "Tipo de seguridad", + "app-install-cred-security-access-token": "Token de acceso", + "app-install-cred-security-username-password": "Nombre de usuario / contraseña", + "app-install-cred-access-token": "Token de acceso", + "app-install-cred-client-id": "ID de cliente", + "app-install-cred-username": "Nombre de usuario", + "app-install-cred-password": "Contraseña", + "app-install-pull-images": "Descargar las imágenes antes de iniciar", + "app-image-pull-policy-if-not-present": "Si no está presente", + "app-image-pull-policy-always": "Siempre", + "app-install-cta": "Guardar", + "app-update-wizard-title": "Actualizar aplicación", + "app-update-cta": "Actualizar", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "Propuesto (combinado con la plantilla) — solo lectura", + "app-update-diff-current": "Compose actual — editable, se guardará", + "app-update-diff-hint": "Revisa los cambios propuestos a la izquierda. Usa las flechas entre los paneles para combinar los fragmentos seleccionados en el compose actual de la derecha. Solo se guarda el lado derecho.", + "app-update-cred-hint": "Las aplicaciones administradas por perfil solo muestran aquí los campos de credenciales. Los demás cambios del compose se realizan a través del perfil.", + "app-profile-outdated-hint": "La configuración del perfil está desactualizada. Ejecuta Actualizar para volver a obtenerla.", + "app-project-name": "Nombre del proyecto", + "app-update-skip-profile-refetch": "Omitir volver a obtener la configuración del perfil", + "app-update-skip-profile-refetch-hint": "Si está marcado, la aplicación del Agent conserva su compose actual y solo se aplican los valores de credenciales anteriores. Úsalo para rotar credenciales o —con la política de extracción anterior establecida en Always— para volver a descargar las imágenes más recientes, sin incorporar la configuración más reciente del perfil.", + "app-update-skip-profile-refetch-drift-hint": "El perfil asignado está en la versión de plantilla {{version}} — Actualizar no aplicará su configuración. La aplicación conserva su compose actual; solo se aplican los valores de credenciales anteriores. Usa Actualizar versión para cambiar de versión.", + "app-install-confirm-info": "El Agent descargará e iniciará los contenedores. Puedes supervisar el progreso en la pestaña Eventos.", + "app-install-loading-template": "Cargando plantilla…", + "app-install-template-failed": "No se pudo cargar la plantilla de la aplicación.", + "app-install-merge-failed": "No se pudo calcular la vista previa combinada.", + "app-delete-title-header": "Eliminar aplicación", + "app-delete-warning": "¿Estás seguro de que deseas eliminar '{{name}}'? Esto detendrá y quitará todos los contenedores de la máquina remota.", + "app-delete-remove-volumes": "Quitar también los volúmenes", + "app-delete-remove-volumes-hint": "Advertencia: esto elimina permanentemente todos los datos almacenados en los volúmenes de la aplicación.", + "app-delete-no-volumes": "No se detectaron volúmenes en la configuración de compose.", + "app-delete-cta": "Eliminar", + "agents-count": "Agents", + "profiles-count": "Perfiles", + "template": "Plantilla", + "previous-version": "Versión anterior", + "config-type": "Tipo de configuración", + "install-instructions": "Instrucciones de instalación", + "install-instructions-hint": "Ejecuta el siguiente comando en la máquina de destino para iniciar el Agent. El Agent se conectará al servidor de ThingsBoard y aparecerá como En línea.", + "install-instructions-replace-hint": "El Agent aparecerá como En línea en la lista de Agents una vez conectado.", + "install-step-docker": "Asegúrate de que Docker esté instalado en la máquina de destino", + "install-step-run": "Ejecuta el contenedor del Agent", + "install-command-copied-message": "El comando de instalación se copió al portapapeles", + "agent-credentials": "Credenciales del Agent", + "agent-created-successfully": "Agent creado correctamente", + "go-to-agent": "Ir al Agent", + "app-type-generic": "Genérico", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "Configuración", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "Perfil de aplicación de Edge más reciente", + "preset-gateway-description": "Perfil de aplicación de Gateway más reciente", + "preset-edge-gateway-description": "Ambos perfiles de aplicación más recientes", + "preset-name-edge": "Perfil de Agent de Edge", + "preset-name-gateway": "Perfil de Agent de Gateway", + "preset-name-edge-gateway": "Perfil de Agent de Edge + Gateway", + "preset-advanced": "Avanzado", + "preset-advanced-description": "Establece una estrategia de aprovisionamiento y selecciona o crea perfiles de aplicación", + "preset-advanced-configure": "Configurar", + "preset-summary-title": "Preajuste: {{label}}", + "preset-summary-body": "Crea el perfil de Agent con {{apps}} asignadas y la estrategia de aprovisionamiento \"una aplicación por tipo\".", + "preset-summary-apps-two": "{{first}} y {{second}}", + "preset-templates-load-failed": "No se pudieron cargar las plantillas de aplicación más recientes para: {{types}}. Los preajustes que las requieren están deshabilitados.", + "app-type-required": "Se requiere el tipo de aplicación.", + "provision-type-disabled": "Deshabilitado", + "provision-type-no-auto-install": "Aprovisionar solo Agents", + "provision-type-per-app-type": "Una aplicación por tipo", + "provision-type-per-app-profile": "Una aplicación por perfil asignado", + "provisioning-strategy": "Estrategia de aprovisionamiento", + "provisioning-strategy-label": "Estrategia: {{strategy}}", + "provision-type-disabled-description": "El aprovisionamiento de Agents está deshabilitado. Selecciona una estrategia de aprovisionamiento para habilitar el registro automático de Agents. Cuando está habilitado, los Agents pueden registrarse por sí mismos usando una clave y un secreto de aprovisionamiento compartidos — no es necesario crear cada Agent manualmente.", + "provision-type-no-auto-install-description": "Cuando un nuevo Agent se aprovisiona con este perfil, el servidor registra el Agent pero no instala ninguna aplicación automáticamente. Los perfiles de aplicación asignados se ignoran durante el aprovisionamiento — las aplicaciones se pueden instalar en el Agent manualmente.", + "provision-type-per-app-type-description": "Cuando un nuevo Agent se aprovisiona con este perfil, el servidor crea automáticamente aplicaciones según los perfiles de aplicación asignados. Las aplicaciones Edge/Gateway se instalan solo si el Agent aún no tiene una aplicación de ese tipo (como máximo una por tipo por Agent); las aplicaciones de tipo Genérico se asocian por perfil (una aplicación por perfil por Agent). Por ejemplo, con dos perfiles Edge y dos perfiles de tipo Genérico asignados, el Agent obtiene una aplicación Edge y dos aplicaciones de tipo Genérico. Si un tipo de aplicación requiere una entidad relacionada (p. ej., Edge o Gateway), el servidor intentará crearla y asignarla.", + "provision-type-per-app-profile-description": "Cuando un nuevo Agent se aprovisiona con este perfil, el servidor crea automáticamente aplicaciones según los perfiles de aplicación asignados. Cada aplicación se instala solo si el Agent aún no tiene una coincidente — las aplicaciones Edge/Gateway se asocian por plantilla o por su perfil de origen (una por plantilla por Agent); las aplicaciones de tipo Genérico se asocian por perfil (una aplicación por perfil por Agent). Por ejemplo, con dos perfiles Edge asignados, el Agent obtiene dos aplicaciones Edge si los perfiles se basan en plantillas diferentes, pero solo una si comparten la misma plantilla. Si un tipo de aplicación requiere una entidad relacionada (p. ej., Edge o Gateway), el servidor intentará crearla y asignarla.", + "agent-profile-created": "Perfil de Agent creado", + "agent-profile-created-hint": "Ejecuta este comando en cada máquina donde quieras implementar un Agent. Cada Agent:", + "agent-profile-created-step-1": "Se registrará automáticamente en el servidor usando las credenciales de aprovisionamiento", + "agent-profile-created-step-2": "Recibirá una clave de enrutamiento y un secreto únicos para una conexión persistente", + "agent-profile-created-step-3": "Instalará automáticamente las aplicaciones definidas en los perfiles de aplicación asignados", + "provisioning-credentials": "Credenciales de aprovisionamiento", + "provisioning": "Aprovisionamiento de Agent", + "docker-run-command": "Comando Docker run", + "assigned-profiles": "Perfiles de aplicación", + "assign-profile": "Asignar perfil", + "unassign-profile": "Desasignar perfil", + "no-profiles-assigned": "Aún no hay perfiles de aplicación asignados a este perfil.", + "go-to-profile": "Ir al perfil", + "profiles-bulk-hint": "Esta acción masiva se aplica a todas las aplicaciones que coinciden con el perfil \"{{appProfile}}\" cuyo Agent usa el perfil \"{{agentProfile}}\"", + "auto-install-template-dedup-note": "La estrategia de aprovisionamiento de este perfil de Agent habilita la instalación automática. Cuando un Agent se aprovisiona automáticamente, cada perfil de abajo se instala solo si el Agent aún no tiene una aplicación coincidente. Los perfiles Edge/Gateway coinciden por plantilla o por su perfil de origen (uno por plantilla por Agent); los perfiles genéricos coinciden por perfil (una aplicación por perfil por Agent).", + "auto-install-per-type-note": "La estrategia de aprovisionamiento de este perfil de Agent habilita la instalación automática. Cuando un Agent se aprovisiona automáticamente, los perfiles Edge/Gateway de abajo se instalan solo si el Agent aún no tiene una aplicación de ese tipo (como máximo una por tipo por Agent); los perfiles genéricos coinciden por perfil (una aplicación por perfil por Agent).", + "app-profile": "Perfil de aplicación", + "no-profiles-available": "No hay más perfiles disponibles para asignar.", + "unassign-profile-confirm": "¿Estás seguro de que deseas desasignar el perfil de aplicación '{{profile}}' de este perfil de Agent?", + "relate-on-auto-discovery": "Relacionar en el autodescubrimiento", + "relate-on-auto-discovery-tooltip": "Asigna este perfil de aplicación a todas las aplicaciones nuevas descubiertas automáticamente con imágenes Edge/Gateway coincidentes.", + "relate-on-auto-discovery-confirm-title": "¿Estás seguro de que deseas continuar?", + "relate-on-auto-discovery-enable-confirm": "A las nuevas aplicaciones descubiertas automáticamente con una imagen Edge/Gateway que coincida con la plantilla de '{{profile}}' se les asignará automáticamente este perfil de aplicación. En caso de discrepancia de configuración, la configuración del perfil (compose) sobrescribirá la configuración descubierta automáticamente de la aplicación (compose).", + "relate-on-auto-discovery-disable-confirm": "A las nuevas aplicaciones descubiertas automáticamente que coincidan con la plantilla de '{{profile}}' ya no se les asignará automáticamente este perfil de aplicación. Las asignaciones existentes no se ven afectadas.", + "provisioning-saved": "Configuración de aprovisionamiento guardada", + "bulk-actions": "Acciones masivas", + "assigned-applications": "Aplicaciones asignadas", + "application-profiles-and-bulk-actions": "Perfiles de aplicación y acciones masivas", + "recent-bulk-actions": "Acciones masivas recientes", + "no-recent-bulk-actions": "Aún no hay acciones masivas para este perfil de aplicación.", + "executions": "Ejecuciones", + "view-bulk-action-details": "Abrir detalles completos", + "agents-reporting-success": "{{ok}}/{{total}} Agents con resultado correcto", + "bulk-action-type": "Acción", + "bulk-action-status": "Estado", + "bulk-action-counts": "Enviados", + "bulk-action-error": "Error", + "bulk-action-details": "Detalles de la acción masiva", + "bulk-restart": "Reinicio masivo", + "bulk-update": "Actualización masiva", + "bulk-upgrade": "Actualización masiva de versión", + "bulk-delete": "Eliminación masiva", + "bulk-restart-title": "Reinicio masivo — {{profile}}", + "bulk-update-title": "Actualización masiva — {{profile}}", + "bulk-upgrade-title": "Actualización masiva de versión — {{profile}}", + "bulk-delete-title": "Eliminación masiva — {{profile}}", + "bulk-action-title": "Acción masiva", + "bulk-restart-cta": "Reiniciar todas", + "bulk-update-cta": "Actualizar todas", + "bulk-upgrade-cta": "Actualizar versión de todas", + "bulk-delete-cta": "Eliminar todas", + "bulk-preview": "Vista previa", + "bulk-preview-total": "Total de aplicaciones", + "bulk-preview-eligible": "Aptas", + "bulk-preview-skipped": "Omitidas", + "bulk-skipped-version-mismatch": "Omitido — la versión de la plantilla no coincide", + "bulk-skipped-active-event": "Omitido — ya hay otra operación en curso", + "bulk-skipped-rate-limit": "Omitido — se superó el límite de frecuencia de eventos", + "bulk-skipped-error": "Omitido — error al evaluar la aplicación", + "bulk-skipped-more": "…y {{count}} más — consulta los detalles de la ejecución", + "bulk-no-eligible": "Ninguna aplicación es apta para esta operación.", + "bulk-backup-volumes-hint": "Selecciona los volúmenes que se respaldarán antes de actualizar. Los valores ingresados se aplican a cada aplicación apta.", + "bulk-no-volumes-in-profile": "El archivo compose del perfil no tiene volúmenes.", + "bulk-submitted": "Enviado", + "bulk-skipped": "Omitido", + "bulk-processing-started": "Procesamiento iniciado", + "bulk-events": "Eventos", + "bulk-event-current-step": "Paso actual", + "bulk-event-updated": "Actualizado", + "bulk-event-filter-status": "Estado", + "bulk-event-filter-all": "Todos", + "bulk-no-events": "No se encontraron eventos para esta acción masiva.", + "no-bulk-actions": "Aún no hay acciones masivas.", + "origin-installed": "Instalado", + "origin-discovered": "Descubierto", + "origin-auto-provisioned": "Aprovisionado automáticamente", + "event-action-install": "Instalar", + "event-action-update": "Actualizar", + "event-action-delete": "Eliminar", + "event-action-restart": "Reiniciar", + "event-action-rollback": "Reversión", + "event-action-upgrade": "Actualizar versión", + "event-action-agent-upgrade": "Actualización de versión del Agent", + "event-status-pending": "Pendiente", + "event-status-queued": "En cola", + "event-status-processing": "Procesando", + "event-status-finished": "Finalizado", + "event-status-error": "Error", + "event-status-start-failed": "Error al iniciar", + "bulk-status-queued": "En cola", + "bulk-status-in-progress": "En curso", + "bulk-status-started": "Iniciado", + "bulk-status-start-failed": "Error al iniciar", + "unit-type-container": "Contenedor", + "unit-type-volume": "Volumen", + "unit-type-network": "Red", + "app-events": "Eventos", + "app-metrics": "Métricas", + "app-copy-id": "Copiar ID de aplicación", + "app-id-copied-message": "El ID de la aplicación se copió al portapapeles", + "app-upgrade-available": "Actualización disponible: {{version}}", + "app-unit-identifier": "Identificador", + "app-unit-image": "Imagen", + "app-unit-state": "Estado", + "app-unit-filter": "Filtro de unidades", + "app-unit-filter-with-values": "Filtro: {{values}}", + "app-unit-logs": "Registros del contenedor", + "app-unit-view-logs": "Ver registros del contenedor", + "filter-all-count": "Todos ({{count}})", + "filter-errors-count": "Errores ({{count}})", + "filter-running-count": "En ejecución ({{count}})", + "log-agent-offline-paused": "Agent sin conexión · transmisión en pausa", + "log-agent-online": "Agent en línea", + "log-back-to-application": "Volver a la aplicación", + "log-buffered": "+ {{count}} en búfer", + "log-chip-app": "Aplicación", + "log-clear": "Borrar registro", + "log-clear-highlight": "Borrar resaltado", + "log-copy-all": "Copiar todo", + "log-copy-all-lines": "Copiar todas las líneas del registro", + "log-download": "Descargar registro", + "log-dropped": "{{count}} descartadas", + "log-dropped-hint": "Líneas de registro que el Agent descartó antes de llegar a este visor", + "log-dropped-total": "Total de líneas descartadas", + "log-follow-latest": "Seguir lo más reciente", + "log-gap": "{ count, plural, =1 {1 fragmento de registro descartado} one {# fragmento de registro descartado} other {# fragmentos de registro descartados} } (se alcanzó el límite del búfer)", + "log-highlight": "Resaltar…", + "log-highlight-lines": "Resaltar líneas del registro", + "log-jump-to-latest": "Ir a lo más reciente", + "log-lines-unit": "{ count, plural, =1 {línea} one {línea} other {líneas} }", + "log-live": "En vivo", + "log-pause-resume-stream": "Pausar o reanudar la transmisión", + "log-pause-stream": "Pausar transmisión", + "log-paused": "En pausa", + "log-resume-stream": "Reanudar transmisión", + "log-stream-paused": "Transmisión en pausa", + "log-waiting": "Esperando líneas de registro…", + "metrics-all-containers": "Todos los contenedores", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{percent}}% de {{cores}} núcleos (límite {{cap}}%)", + "metrics-disk": "Disco", + "metrics-memory": "Memoria", + "metrics-show-charts": "Mostrar gráficos", + "metrics-updated-at": "Actualizado a las {{time}}", + "metrics-used-of-total": "{{used}} de {{total}} ({{percent}}%)", + "metrics-volumes": "Volúmenes", + "stats-done": "Completado: {{count}}", + "stats-error": "Error: {{count}}", + "stats-pending": "Pendiente: {{count}}", + "stats-running": "En ejecución: {{count}}", + "app-no-units": "No se encontraron unidades.", + "app-no-events": "No se encontraron eventos.", + "app-event-app-name": "Aplicación", + "app-event-agent-name": "Agent", + "app-event-action": "Acción", + "app-event-status": "Estado de ejecución", + "app-event-execution": "Ejecución", + "app-event-execution-not-started": "No iniciado", + "app-event-execution-started": "Iniciado", + "app-event-execution-delivery-failed": "Error de entrega", + "app-event-filter": "Filtro de eventos", + "app-event-filter-with-values": "Filtro: {{values}}", + "app-event-current-activity": "Actividad actual", + "app-event-show-error": "Mostrar error", + "app-event-error-title": "Error del evento", + "upgrade-agent-action": "Actualizar versión del Agent", + "image": "Imagen", + "version-unknown": "no informada", + "up-to-date": "Actualizado", + "upgrade-to": "Actualizar a {{version}}", + "upgrade-agent-title": "Actualizar versión del Agent", + "upgrade-agent-text": "El Agent {{agentName}} reemplazará su propio contenedor con la imagen siguiente. Seguirá accesible en todo momento y los comandos de la aplicación quedarán en pausa hasta que finalice la actualización.", + "upgrade-agent-hint": "Se publicó una imagen más reciente del Agent", + "upgrade-agent-hint-unavailable": "No se conoce ninguna imagen más reciente del Agent — es posible que el Agent ya esté actualizado o que no se haya podido determinar su versión", + "upgrade-current-image": "Imagen actual", + "upgrade-target-image": "Imagen de destino", + "upgrade-target-image-hint": "Una etiqueta o una referencia fijada por digest, p. ej. thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "Se requiere la imagen de destino.", + "agent-upgrade-subject": "Actualización de versión del Agent", + "agent-upgrade-subject-label": "Acción", + "agent-upgrade-step-prepare": "Preparar el contenedor de reemplazo", + "agent-upgrade-step-finalize": "Transferir el control y quitar el contenedor anterior", + "app-event-progress-title": "Progreso del evento", + "app-event-progress-loading": "Cargando plantilla...", + "app-event-progress-load-failed": "No se pudo cargar el progreso del evento.", + "app-event-progress-no-template": "No hay ninguna plantilla vinculada a esta aplicación.", + "app-event-step-completed": "Completado", + "app-event-step-processing": "Procesando", + "app-event-step-error": "Fallido", + "app-event-step-waiting": "En espera", + "app-event-current-step": "Paso actual", + "app-event-created": "Creado", + "app-event-updated": "Actualizado", + "app-event-cancel": "Cancelar", + "app-event-cancel-title": "¿Cancelar el evento?", + "app-event-cancel-text": "El evento en curso se cancelará en el Agent.", + "app-event-view-in-events": "Ver en eventos", + "app-save-update-hint-title": "Cambios guardados", + "app-save-update-hint": "Los cambios se guardaron en ThingsBoard, pero el Agent sigue ejecutando la configuración anterior. Haz clic en el botón de acción 'Actualizar' de esta aplicación para aplicar los cambios en el Agent.", + "app-save-update-hint-action": "Actualizar ahora", + "app-deleted": "Aplicación eliminada", + "group": "Grupo de Agents", + "list-of-groups": "{ count, plural, =1 {Un grupo de Agents} one {# grupo de Agents} other {Lista de # grupos de Agents} }", + "group-name-starts-with": "Grupos de Agents cuyos nombres comienzan con '{{prefix}}'", + "application-group": "Grupo de aplicaciones", + "list-of-application-groups": "{ count, plural, =1 {Un grupo de aplicaciones} one {# grupo de aplicaciones} other {Lista de # grupos de aplicaciones} }", + "application-group-name-starts-with": "Grupos de aplicaciones cuyos nombres comienzan con '{{prefix}}'", + "all": "Todos", + "all-agents": "Todos los Agents", + "groups": "Grupos", + "shared": "Compartido" }, "edge-event": { "type-dashboard": "Tablero", @@ -3500,9 +4273,9 @@ "type-rule-chain-metadata": "Metadatos de cadena de reglas", "type-edge": "Edge", "type-user": "Usuario", - "type-tenant": "Tenant", - "type-tenant-profile": "Perfil de Tenant", - "type-customer": "Customer", + "type-tenant": "Inquilino", + "type-tenant-profile": "Perfil de inquilino", + "type-customer": "Cliente", "type-relation": "Relación", "type-widgets-bundle": "Paquete de widgets", "type-widgets-type": "Tipo de widget", @@ -3525,33 +4298,36 @@ "action-type-attributes-deleted": "Atributos eliminados", "action-type-timeseries-updated": "Serie temporal actualizada", "action-type-credentials-updated": "Credenciales actualizadas", - "action-type-assigned-to-customer": "Asignado al Customer", - "action-type-unassigned-from-customer": "Desasignado del Customer", + "action-type-assigned-to-customer": "Asignado al cliente", + "action-type-unassigned-from-customer": "Desasignado del cliente", "action-type-relation-add-or-update": "Relación agregada o actualizada", "action-type-relation-deleted": "Relación eliminada", "action-type-rpc-call": "Llamada RPC", "action-type-alarm-ack": "Reconocimiento de alarma", - "action-type-alarm-clear": "Alarma borrada", + "action-type-alarm-clear": "Alarma resuelta", "action-type-alarm-assigned": "Alarma asignada", "action-type-alarm-unassigned": "Alarma desasignada", - "action-type-assigned-to-edge": "Asignado al edge", - "action-type-unassigned-from-edge": "Desasignado del edge", + "action-type-assigned-to-edge": "Asignado al Edge", + "action-type-unassigned-from-edge": "Desasignado del Edge", "action-type-credentials-request": "Solicitud de credenciales", "action-type-entity-merge-request": "Solicitud de fusión de entidad", "action-type-added-to-entity-group": "Agregado al grupo de entidades", - "action-type-removed-from-entity-group": "Eliminado del grupo de entidades", + "action-type-removed-from-entity-group": "Quitado del grupo de entidades", "action-type-change-owner": "Cambiar propietario", "connected": "Conectado", "disconnected": "Desconectado" }, "error": { - "unable-to-connect": "¡No se puede conectar al servidor! Por favor, verifique su conexión a Internet.", + "data-export-failed": "Error al exportar los datos: no se pudo determinar el modo de implementación. Vuelve a intentarlo.", + "unable-to-connect": "¡No se puede conectar al servidor! Verifica tu conexión a internet.", "unhandled-error-code": "Código de error no gestionado: {{errorCode}}", "unknown-error": "Error desconocido" }, "entity": { "entity": "Entidad", "entities": "Entidades", + "devices-and-assets": "Dispositivos y activos", + "data-processing": "Procesamiento de datos", "entities-count": "Cantidad de entidades", "alarms-count": "Cantidad de alarmas", "aliases": "Alias de entidad", @@ -3564,7 +4340,7 @@ "missing-entity-filter-error": "Falta el filtro para el alias '{{alias}}'.", "configure-alias": "Configurar alias '{{alias}}'", "alias": "Alias", - "alias-required": "El alias de entidad es obligatorio.", + "alias-required": "Se requiere el alias de entidad.", "remove-alias": "Eliminar alias de entidad", "add-alias": "Agregar alias de entidad", "edit-alias": "Editar alias de entidad", @@ -3574,7 +4350,7 @@ "entity-type-list": "Lista de tipos de entidad", "any-entity": "Cualquier entidad", "add-entity-type": "Agregar tipo de entidad", - "enter-entity-type": "Ingrese el tipo de entidad", + "enter-entity-type": "Ingresa el tipo de entidad", "no-entities-matching": "No se encontraron entidades que coincidan con '{{entity}}'.", "no-entities-text": "No se encontraron entidades", "no-entity-types-matching": "No se encontraron tipos de entidad que coincidan con '{{entityType}}'.", @@ -3589,15 +4365,15 @@ "select-entities": "Seleccionar entidades", "no-aliases-found": "No se encontraron alias.", "no-alias-matching": "'{{alias}}' no encontrado.", - "create-new-alias": "¡Cree uno nuevo!", + "create-new-alias": "¡Crear uno nuevo!", "create-new": "Crear nuevo", "key": "Clave", "key-name": "Nombre de la clave", "no-keys-found": "No se encontraron claves.", "no-key-matching": "'{{key}}' no encontrado.", - "create-new-key": "¡Cree uno nuevo!", + "create-new-key": "¡Crear una nueva!", "type": "Tipo", - "type-required": "El tipo de entidad es obligatorio.", + "type-required": "Se requiere el tipo de entidad.", "type-device": "Dispositivo", "type-devices": "Dispositivos", "list-of-devices": "{ count, plural, =1 {Un dispositivo} other {Lista de # dispositivos} }", @@ -3627,18 +4403,18 @@ "type-plugins": "Plugins", "list-of-plugins": "{ count, plural, =1 {Un plugin} other {Lista de # plugins} }", "plugin-name-starts-with": "Plugins cuyos nombres comienzan con '{{prefix}}'", - "type-tenant": "Tenant", - "type-tenants": "Tenants", - "list-of-tenants": "{ count, plural, =1 {Un tenant} other {Lista de # tenants} }", - "tenant-name-starts-with": "Tenants cuyos nombres comienzan con '{{prefix}}'", - "type-tenant-profile": "Perfil de tenant", - "type-tenant-profiles": "Perfiles de tenant", - "list-of-tenant-profiles": "{ count, plural, =1 {Un perfil de tenant} other {Lista de # perfiles de tenant} }", - "tenant-profile-name-starts-with": "Perfiles de tenant cuyos nombres comienzan con '{{prefix}}'", - "type-customer": "Customer", - "type-customers": "Customers", - "list-of-customers": "{ count, plural, =1 {Un customer} other {Lista de # customers} }", - "customer-name-starts-with": "Customers cuyos nombres comienzan con '{{prefix}}'", + "type-tenant": "Inquilino", + "type-tenants": "Inquilinos", + "list-of-tenants": "{ count, plural, =1 {Un inquilino} one {# inquilino} other {Lista de # inquilinos} }", + "tenant-name-starts-with": "Inquilinos cuyos nombres comienzan con '{{prefix}}'", + "type-tenant-profile": "Perfil de inquilino", + "type-tenant-profiles": "Perfiles de inquilino", + "list-of-tenant-profiles": "{ count, plural, =1 {Un perfil de inquilino} one {# perfil de inquilino} other {Lista de # perfiles de inquilino} }", + "tenant-profile-name-starts-with": "Perfiles de inquilino cuyos nombres comienzan con '{{prefix}}'", + "type-customer": "Cliente", + "type-customers": "Clientes", + "list-of-customers": "{ count, plural, =1 {Un cliente} other {Lista de # clientes} }", + "customer-name-starts-with": "Clientes cuyos nombres comienzan con '{{prefix}}'", "type-user": "Usuario", "type-users": "Usuarios", "list-of-users": "{ count, plural, =1 {Un usuario} other {Lista de # usuarios} }", @@ -3671,14 +4447,14 @@ "type-reports": "Informes", "list-of-reports": "{ count, plural, =1 {Un informe} other {Lista de # informes} }", "report-name-starts-with": "Informes cuyos nombres comienzan con '{{prefix}}'", - "type-rulenode": "Nodo de regla", - "type-rulenodes": "Nodos de regla", - "list-of-rulenodes": "{ count, plural, =1 {Un nodo de regla} other {Lista de # nodos de regla} }", - "rulenode-name-starts-with": "Nodos de regla cuyos nombres comienzan con '{{prefix}}'", + "type-rulenode": "Nodo de reglas", + "type-rulenodes": "Nodos de reglas", + "list-of-rulenodes": "{ count, plural, =1 {Un nodo de reglas} other {Lista de # nodos de reglas} }", + "rulenode-name-starts-with": "Nodos de reglas cuyos nombres comienzan con '{{prefix}}'", "type-api-key": "Clave de API", "type-api-keys": "Claves de API", - "type-current-customer": "Customer actual", - "type-current-tenant": "Tenant actual", + "type-current-customer": "Cliente actual", + "type-current-tenant": "Inquilino actual", "type-current-user": "Usuario actual", "type-current-user-owner": "Propietario del usuario actual", "type-calculated-field": "Campo calculado", @@ -3703,6 +4479,7 @@ "columns-to-display": "Columnas para mostrar", "type-api-usage-state": "Estado de uso de API", "type-entity-group": "Grupo de entidades", + "type-entity-groups": "Grupos de entidades", "type-converter": "Convertidor de datos", "type-converters": "Convertidores de datos", "list-of-converters": "{ count, plural, =1 {Un convertidor de datos} other {Lista de # convertidores de datos} }", @@ -3718,10 +4495,32 @@ "type-group-permission": "Permiso de grupo", "type-edge": "Edge", "type-edges": "Edges", - "list-of-edges": "{ count, plural, =1 {Un edge} other {Lista de # edges} }", + "list-of-edges": "{ count, plural, =1 {Un Edge} other {Lista de # Edges} }", "edge-name-starts-with": "Edges cuyos nombres comienzan con '{{prefix}}'", + "type-agent": "Agent", + "type-agents": "Agents", + "list-of-agents": "{ count, plural, =1 {Un Agent} one {# Agent} other {Lista de # Agents} }", + "agent-name-starts-with": "Agents cuyos nombres comienzan con '{{prefix}}'", + "type-agent-profile": "Perfil de Agent", + "type-agent-profiles": "Perfiles de Agent", + "list-of-agent-profiles": "{ count, plural, =1 {Un perfil de Agent} one {# perfil de Agent} other {Lista de # perfiles de Agent} }", + "agent-profile-name-starts-with": "Perfiles de Agent cuyos nombres comienzan con '{{prefix}}'", + "type-agent-application": "Aplicación", + "type-agent-applications": "Aplicaciones", + "list-of-agent-applications": "{ count, plural, =1 {Una aplicación} one {# aplicación} other {Lista de # aplicaciones} }", + "agent-application-name-starts-with": "Aplicaciones cuyos nombres comienzan con '{{prefix}}'", + "type-agent-app-profile": "Perfil de aplicación", + "type-agent-app-profiles": "Perfiles de aplicación", + "list-of-agent-app-profiles": "{ count, plural, =1 {Un perfil de aplicación} one {# perfil de aplicación} other {Lista de # perfiles de aplicación} }", + "agent-app-profile-name-starts-with": "Perfiles de aplicación cuyos nombres comienzan con '{{prefix}}'", + "type-agent-app-event": "Evento de aplicación Agent", + "type-agent-app-events": "Eventos de aplicación Agent", + "type-agent-app-unit": "Unidad de aplicación Agent", + "type-agent-app-units": "Unidades de aplicación Agent", + "type-agent-bulk-action": "Acción masiva", + "type-agent-bulk-actions": "Acciones masivas", "version-conflict": { - "message": "¿Desea sobrescribir la versión existente o descartar los cambios y cargar la última versión?", + "message": "¿Deseas sobrescribir la versión existente o descartar los cambios y cargar la versión más reciente?", "link": "Puede descargar su versión de {{entityType}} usando este", "overwrite": "Sobrescribir versión", "discard": "Descartar cambios" @@ -3751,11 +4550,11 @@ "type-notification-templates": "Plantillas de notificación", "list-of-notification-templates": "{ count, plural, =1 {Una plantilla de notificación} other {Lista de # plantillas de notificación} }", "link": "enlace", - "customer-name": "Nombre del customer", + "customer-name": "Nombre del cliente", "sub-customer-name": "Nombre del subcliente", - "parent-customer-name": "Nombre del customer principal", + "parent-customer-name": "Nombre del cliente principal", "parent-sub-customer-name": "Nombre del subcliente principal", - "include-customer-entities": "Incluir entidades del customer", + "include-customer-entities": "Incluir entidades del cliente", "include-sub-customer-entities": "Incluir entidades del subcliente", "groups": "Grupos", "type-oauth2-client": "Cliente OAuth 2.0", @@ -3772,24 +4571,24 @@ "list-of-mobile-app-bundles": "{ count, plural, =1 {Un paquete móvil} other {Lista de # paquetes móviles} }", "type-secret-storage": "Almacenamiento de secretos", "limit-reached": "Límite alcanzado", - "limit-reached-text": "Has alcanzado el límite de {{ entities }}. Para añadir más, pide a tu administrador del sistema que aumente tu límite de {{ entity }}.", + "limit-reached-text": "Has alcanzado el límite de {{ entities }}. Para agregar más, pide a tu administrador del sistema que aumente tu límite de {{ entity }}.", "request-limit-increase": "Solicitar aumento del límite", "request-sysadmin-text": "¿Eres el administrador del sistema?", "login-here": "Iniciar sesión aquí", "to-increase-limit": "para aumentar el límite.", "increase-limit-request-sent-title": "Hemos enviado una solicitud automática a tu administrador del sistema para aumentar el límite", - "increase-limit-request-sent-text": "Deja algo de tiempo para que revisen la solicitud y actualicen la configuración. Puede que tengas que actualizar esta página para ver los cambios." + "increase-limit-request-sent-text": "Por favor, permite algo de tiempo para que revisen la solicitud y actualicen la configuración. Puede que necesites actualizar esta página para ver los cambios." }, "entity-group": { "entity-group": "Grupo de entidades", "details": "Detalles", "columns": "Columnas", - "add-column": "Añadir columna", + "add-column": "Agregar columna", "column-value": "Valor", - "column-value-required": "El valor de la columna es obligatorio.", + "column-value-required": "Se requiere el valor de la columna.", "column-title": "Título", "default-sort-order": "Orden de clasificación predeterminado", - "default-sort-order-required": "El orden de clasificación predeterminado es obligatorio.", + "default-sort-order-required": "Se requiere el orden de clasificación por defecto.", "disable-sorting": "Desactivar ordenamiento", "hide-in-mobile-view": "Ocultar en vista móvil", "use-cell-style-function": "Usar función de estilo de celda", @@ -3801,41 +4600,44 @@ "search": "Buscar grupos de entidades", "delete": "Eliminar grupo de entidades", "name": "Nombre", - "name-required": "El nombre es obligatorio.", + "name-required": "Se requiere el nombre.", "name-max-length": "El nombre debe tener menos de 256 caracteres", "description": "Descripción", - "add": "Añadir grupo de entidades", + "add": "Agregar grupo de entidades", "open-entity-group": "Abrir grupo de entidades", - "add-entity-group-text": "Añadir nuevo grupo de entidades", + "add-entity-group-text": "Agregar nuevo grupo de entidades", "no-entity-groups-text": "No se encontraron grupos de entidades", "entity-group-details": "Detalles del grupo de entidades", "selected-entity-groups": "{ count, plural, =1 {1 grupo de entidades} other {# grupos de entidades} } seleccionados", "delete-entity-groups": "Eliminar grupos de entidades", - "delete-entity-group-title": "¿Está seguro de que desea eliminar el grupo de entidades '{{entityGroupName}}'?", - "delete-entity-group-text": "Tenga cuidado, después de la confirmación, el grupo de entidades y todos los datos relacionados serán irrecuperables.", - "delete-entity-groups-title": "¿Está seguro de que desea eliminar { count, plural, =1 {1 grupo de entidades} other {# grupos de entidades} }?", + "delete-entity-group-title": "¿Estás seguro de que deseas eliminar el grupo de entidades '{{entityGroupName}}'?", + "delete-entity-group-text": "Ten cuidado, después de la confirmación el grupo de entidades y todos los datos relacionados serán irrecuperables.", + "delete-entity-groups-title": "¿Estás seguro de que deseas eliminar { count, plural, one {# grupo de entidades} other {# grupos de entidades} }?", "delete-entity-groups-action-title": "Eliminar { count, plural, =1 {1 grupo de entidades} other {# grupos de entidades} }", - "delete-entity-groups-text": "Tenga cuidado, después de la confirmación, todos los grupos de entidades seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", + "delete-entity-groups-text": "Ten cuidado, después de la confirmación todos los grupos de entidades seleccionados se eliminarán y todos los datos relacionados serán irrecuperables.", "device-groups": "Grupos de dispositivos", "shared-device-groups": "Grupos de dispositivos compartidos", "asset-groups": "Grupos de activos", "shared-asset-groups": "Grupos de activos compartidos", - "customer-groups": "Grupos de customers", - "shared-customer-groups": "Grupos de customer compartidos", + "customer-groups": "Grupos de clientes", + "shared-customer-groups": "Grupos de clientes compartidos", "device-group": "Grupo de dispositivos", "asset-group": "Grupo de activos", "user-group": "Grupo de usuarios", "user-groups": "Grupos de usuarios", - "customer-group": "Grupo de customers", - "entity-view-groups": "Grupos de vistas de entidades", - "shared-entity-view-groups": "Grupos de vistas de entidades compartidas", + "customer-group": "Grupo de clientes", + "entity-view-groups": "Grupos de vistas de entidad", + "shared-entity-view-groups": "Grupos de vistas de entidad compartidas", "entity-view-group": "Grupo de vista de entidad", - "edge-groups": "Grupos de bordes", - "shared-edge-groups": "Grupos de bordes compartidos", - "edge-group": "Grupo de borde", + "edge-groups": "Grupos de Edge", + "shared-edge-groups": "Grupos de Edge compartidos", + "edge-group": "Grupo de Edge", "dashboard-groups": "Grupos de tableros", "shared-dashboard-groups": "Grupos de tableros compartidos", "dashboard-group": "Grupo de tablero", + "agent-groups": "Grupos de Agent", + "shared-agent-groups": "Grupos de Agent compartidos", + "agent-group": "Grupo de Agent", "fetch-more": "Cargar más", "column-type": { "column-type": "Tipo de columna", @@ -3845,13 +4647,13 @@ "timeseries": "Serie temporal", "entity-field": "Campo de entidad" }, - "column-type-required": "El tipo de columna es obligatorio.", + "column-type-required": "Se requiere el tipo de columna.", "entity-field": { "created-time": "Hora de creación", "name": "Nombre", "type": "Tipo", - "device_profile": "Perfil del dispositivo", - "asset_profile": "Perfil del activo", + "device_profile": "Perfil de dispositivo", + "asset_profile": "Perfil de activo", "assigned_customer": "Cliente asignado", "authority": "Autoridad", "first_name": "Nombre", @@ -3882,18 +4684,18 @@ "no-owners-matching": "No se encontraron propietarios que coincidan con '{{owner}}'.", "no-owners-text": "No se encontraron propietarios", "target-owner-required": "Se requiere un propietario de destino.", - "confirm-change-owner-title": "¿Está seguro de que desea cambiar el propietario de { count, plural, =1 {1 entidad seleccionada} other {# entidades seleccionadas} }?", - "confirm-change-owner-text": "Tenga cuidado, después de la confirmación todas las entidades seleccionadas se eliminarán del propietario actual y se colocarán en el grupo 'Todos' del nuevo propietario.", - "add-to-group": "Añadir al grupo", + "confirm-change-owner-title": "¿Estás seguro de que deseas cambiar el propietario de { count, plural, one {# entidad seleccionada} other {# entidades seleccionadas} }?", + "confirm-change-owner-text": "Ten cuidado, después de la confirmación todas las entidades seleccionadas se quitarán del propietario actual y se colocarán en el grupo 'All' del propietario de destino.", + "add-to-group": "Agregar al grupo", "move-to-group": "Mover al grupo", "select-entity-group": "Seleccionar grupo de entidades", "no-entity-groups-matching": "No se encontraron grupos de entidades que coincidan con '{{entityGroup}}'.", "create-new-entity-group": "¡Crear uno nuevo!", - "target-entity-group-required": "El grupo de entidades de destino es obligatorio.", + "target-entity-group-required": "Se requiere el grupo de entidades de destino.", "select-user-group": "Seleccionar grupo de usuarios", "no-user-groups-matching": "No se encontraron grupos de usuarios que coincidan con '{{entityGroup}}'.", - "target-user-group-required": "El grupo de usuarios de destino es obligatorio.", - "remove-from-group": "Eliminar del grupo", + "target-user-group-required": "Se requiere el grupo de usuarios de destino.", + "remove-from-group": "Quitar del grupo", "group-table-title": "Título de la tabla del grupo", "enable-search": "Habilitar búsqueda de entidades", "enable-add": "Habilitar adición de entidades", @@ -3910,11 +4712,11 @@ "enable-credentials-management": "Habilitar gestión de credenciales", "enable-login-as-user": "Habilitar acción de iniciar sesión como usuario", "enable-users-management": "Habilitar gestión de usuarios", - "enable-customers-management": "Habilitar gestión de customers", + "enable-customers-management": "Habilitar gestión de clientes", "enable-assets-management": "Habilitar gestión de activos", "enable-devices-management": "Habilitar gestión de dispositivos", - "enable-entity-views-management": "Habilitar gestión de vistas de entidades", - "enable-edges-management": "Habilitar gestión de bordes", + "enable-entity-views-management": "Habilitar gestión de vistas de entidad", + "enable-edges-management": "Habilitar la gestión de Edges", "enable-dashboards-management": "Habilitar gestión de tableros", "enable-scheduler-events-management": "Habilitar gestión de eventos programados", "open-details-on": "Abrir detalles de entidad en", @@ -3931,17 +4733,17 @@ "entity-group-public": "El grupo de entidades es público", "make-public": "Hacer grupo de entidades público", "make-private": "Hacer grupo de entidades privado", - "make-public-entity-group-title": "¿Está seguro de que desea hacer público el grupo de entidades '{{entityGroupName}}'?", - "make-public-entity-group-text": "Después de la confirmación, el grupo de entidades y todas sus entidades serán públicos y accesibles por otros.", - "make-private-entity-group-title": "¿Está seguro de que desea hacer privado el grupo de entidades '{{entityGroupName}}'?", - "make-private-entity-group-text": "Después de la confirmación, el grupo de entidades y todas sus entidades serán privados y no estarán accesibles por otros.", + "make-public-entity-group-title": "¿Estás seguro de que deseas hacer público el grupo de entidades '{{entityGroupName}}'?", + "make-public-entity-group-text": "Después de la confirmación, el grupo de entidades y todas sus entidades serán públicos y accesibles para otros.", + "make-private-entity-group-title": "¿Estás seguro de que deseas hacer privado el grupo de entidades '{{entityGroupName}}'?", + "make-private-entity-group-text": "Después de la confirmación, el grupo de entidades y todas sus entidades serán privados y no estarán accesibles para otros.", "share": "Compartir grupo de entidades", "copyId": "Copiar ID del grupo de entidades", "idCopiedMessage": "El ID del grupo de entidades se ha copiado al portapapeles", "entity-group-name": "Nombre del grupo de entidades", "all-users": "Todos los usuarios", "owner": "Propietario", - "owner-required": "El propietario es obligatorio.", + "owner-required": "Se requiere el propietario.", "manage-owner-and-groups": "Gestionar propietario y grupos", "owner-and-groups": "Propietario y grupos" }, @@ -3963,7 +4765,7 @@ "phone": "Teléfono", "label": "Etiqueta", "configuration": "Configuración", - "schedule": "Horario", + "schedule": "Programación", "originatorId": "ID del originador", "originatorType": "Tipo de originador", "queue-name": "Nombre de la cola", @@ -3978,7 +4780,7 @@ "groups": "Grupos", "shared": "Compartido", "entity-view": "Vista de entidad", - "entity-view-required": "La vista de entidad es obligatoria.", + "entity-view-required": "Se requiere la vista de entidad.", "entity-views": "Vistas de entidad", "management": "Gestión de vistas de entidad", "view-entity-views": "Ver vistas de entidad", @@ -3995,7 +4797,7 @@ "no-entity-views-matching": "No se encontraron vistas de entidad que coincidan con '{{entity}}'.", "public": "Público", "alias": "Alias", - "alias-required": "El alias de vista de entidad es obligatorio.", + "alias-required": "Se requiere el alias de la vista de entidad.", "remove-alias": "Eliminar alias de vista de entidad", "add-alias": "Agregar alias de vista de entidad", "name-starts-with": "Expresión del nombre de la vista de entidad", @@ -4008,38 +4810,38 @@ "add": "Agregar vista de entidad", "entity-view-public": "La vista de entidad es pública", "assign-to-customer": "Asignar al cliente", - "assign-entity-view-to-customer": "Asignar vista(s) de entidad al cliente", - "assign-entity-view-to-customer-text": "Seleccione las vistas de entidad que desea asignar al cliente", + "assign-entity-view-to-customer": "Asignar Vista de entidad(es) al cliente", + "assign-entity-view-to-customer-text": "Selecciona las vistas de entidad que deseas asignar al cliente", "no-entity-views-text": "No se encontraron vistas de entidad", - "assign-to-customer-text": "Seleccione el cliente al que asignar la(s) vista(s) de entidad", + "assign-to-customer-text": "Selecciona el cliente al que deseas asignar las vistas de entidad", "entity-view-details": "Detalles de la vista de entidad", "add-entity-view-text": "Agregar nueva vista de entidad", "delete": "Eliminar vista de entidad", "assign-entity-views": "Asignar vistas de entidad", - "assign-entity-views-text": "Asignar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} } al Customer", + "assign-entity-views-text": "Asignar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} } al cliente", "delete-entity-views": "Eliminar vistas de entidad", "make-public": "Hacer pública la vista de entidad", "make-private": "Hacer privada la vista de entidad", - "unassign-from-customer": "Desasignar del customer", + "unassign-from-customer": "Desasignar del cliente", "unassign-entity-views": "Desasignar vistas de entidad", - "unassign-entity-views-action-title": "Desasignar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} } del customer", + "unassign-entity-views-action-title": "Desasignar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} } del cliente", "assign-new-entity-view": "Asignar nueva vista de entidad", - "delete-entity-view-title": "¿Está seguro de que desea eliminar la vista de entidad '{{entityViewName}}'?", - "delete-entity-view-text": "Tenga cuidado, después de la confirmación, la vista de entidad y todos los datos relacionados serán irrecuperables.", - "delete-entity-views-title": "¿Está seguro de que desea eliminar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} }?", + "delete-entity-view-title": "¿Estás seguro de que deseas eliminar la vista de entidad '{{entityViewName}}'?", + "delete-entity-view-text": "Ten cuidado, después de la confirmación la vista de entidad y todos los datos relacionados serán irrecuperables.", + "delete-entity-views-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 vista de entidad} one {# vista de entidad} other {# vistas de entidad} }?", "delete-entity-views-action-title": "Eliminar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} }", - "delete-entity-views-text": "Tenga cuidado, después de la confirmación, todas las vistas de entidad seleccionadas serán eliminadas y todos los datos relacionados serán irrecuperables.", - "make-public-entity-view-title": "¿Está seguro de que desea hacer pública la vista de entidad '{{entityViewName}}'?", - "make-public-entity-view-text": "Después de la confirmación, la vista de entidad y todos sus datos serán públicos y accesibles por otros.", - "make-private-entity-view-title": "¿Está seguro de que desea hacer privada la vista de entidad '{{entityViewName}}'?", - "make-private-entity-view-text": "Después de la confirmación, la vista de entidad y todos sus datos serán privados y no estarán accesibles por otros.", - "unassign-entity-view-title": "¿Está seguro de que desea desasignar la vista de entidad '{{entityViewName}}'?", - "unassign-entity-view-text": "Después de la confirmación, la vista de entidad será desasignada y no estará accesible por el customer.", + "delete-entity-views-text": "Ten cuidado, después de la confirmación se eliminarán todas las vistas de entidad seleccionadas y todos los datos relacionados serán irrecuperables.", + "make-public-entity-view-title": "¿Estás seguro de que deseas hacer pública la vista de entidad '{{entityViewName}}'?", + "make-public-entity-view-text": "Después de la confirmación, la vista de entidad y todos sus datos serán públicos y accesibles para otros.", + "make-private-entity-view-title": "¿Estás seguro de que deseas hacer privada la vista de entidad '{{entityViewName}}'?", + "make-private-entity-view-text": "Después de la confirmación, la vista de entidad y todos sus datos serán privados y no estarán accesibles para otros.", + "unassign-entity-view-title": "¿Estás seguro de que deseas desasignar la vista de entidad '{{entityViewName}}'?", + "unassign-entity-view-text": "Después de la confirmación, la vista de entidad será desasignada y no estará accesible para el cliente.", "unassign-entity-view": "Desasignar vista de entidad", - "unassign-entity-views-title": "¿Está seguro de que desea desasignar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} }?", - "unassign-entity-views-text": "Después de la confirmación, todas las vistas de entidad seleccionadas serán desasignadas y no estarán accesibles por el customer.", + "unassign-entity-views-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 vista de entidad} one {# vista de entidad} other {# vistas de entidad} }?", + "unassign-entity-views-text": "Después de la confirmación, todas las vistas de entidad seleccionadas serán desasignadas y no estarán accesibles para el cliente.", "entity-view-type": "Tipo de vista de entidad", - "entity-view-type-required": "El tipo de vista de entidad es obligatorio.", + "entity-view-type-required": "Se requiere el tipo de vista de entidad.", "select-entity-view-type": "Seleccionar tipo de vista de entidad", "enter-entity-view-type": "Ingresar tipo de vista de entidad", "any-entity-view": "Cualquier vista de entidad", @@ -4048,15 +4850,15 @@ "entity-view-types": "Tipos de vista de entidad", "created-time": "Hora de creación", "name": "Nombre", - "name-required": "El nombre es obligatorio.", - "name-max-length": "El nombre debe tener menos de 256 caracteres.", + "name-required": "Se requiere el nombre.", + "name-max-length": "El nombre debe tener menos de 256 caracteres", "type-max-length": "El tipo de vista de entidad debe tener menos de 256 caracteres.", "description": "Descripción", "events": "Eventos", "details": "Detalles", "copyId": "Copiar ID de la vista de entidad", "idCopiedMessage": "El ID de la vista de entidad se ha copiado al portapapeles", - "assignedToCustomer": "Asignado al customer", + "assignedToCustomer": "Asignada al cliente", "unable-entity-view-device-alias-title": "No se puede eliminar el alias de la vista de entidad", "unable-entity-view-device-alias-text": "El alias del dispositivo '{{entityViewAlias}}' no puede eliminarse porque lo usan los siguientes widgets:
    {{widgetsList}}", "select-entity-view": "Seleccionar vista de entidad", @@ -4073,25 +4875,25 @@ "timeseries-placeholder": "Series temporales", "target-entity": "Entidad objetivo", "attributes-propagation": "Propagación de atributos", - "attributes-propagation-hint": "La vista de entidad copiará automáticamente los atributos especificados desde la entidad objetivo cada vez que guarde o actualice esta vista de entidad. Por razones de rendimiento, los atributos de la entidad objetivo no se propagan a la vista de entidad en cada cambio. Puede habilitar la propagación automática configurando un nodo de reglas \"copy to view\" y vinculando los mensajes \"Post attributes\" y \"Attributes Updated\" al nuevo nodo de reglas.", + "attributes-propagation-hint": "La vista de entidad copiará automáticamente los atributos especificados desde la entidad objetivo cada vez que guardes o actualices esta vista de entidad. Por razones de rendimiento, los atributos de la entidad objetivo no se propagan a la vista de entidad en cada cambio de atributo. Puedes habilitar la propagación automática configurando el nodo de reglas \"copy to view\" en tu cadena de reglas y vinculando los mensajes \"Post attributes\" y \"Attributes Updated\" al nuevo nodo de reglas.", "timeseries-data": "Datos de series temporales", "timeseries-data-hint": "Configure las claves de datos de series temporales de la entidad objetivo que estarán accesibles para la vista de entidad. Estos datos de series temporales son de solo lectura.", "select-group-to-add": "Seleccionar grupo de destino para agregar vistas de entidad seleccionadas", "select-group-to-move": "Seleccionar grupo de destino para mover vistas de entidad seleccionadas", - "remove-entity-views-from-group": "¿Está seguro de que desea eliminar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} } del grupo '{{entityGroup}}'?", + "remove-entity-views-from-group": "¿Estás seguro de que deseas quitar { count, plural, =1 {1 vista de entidad} one {# vista de entidad} other {# vistas de entidad} } del grupo '{{entityGroup}}'?", "group": "Grupo de vistas de entidad", "list-of-groups": "{ count, plural, =1 {Un grupo de vistas de entidad} other {Lista de # grupos de vistas de entidad} }", "group-name-starts-with": "Grupos de vistas de entidad cuyos nombres comienzan con '{{prefix}}'", "search": "Buscar vistas de entidad", "selected-entity-views": "{ count, plural, =1 {1 vista de entidad} other {# vistas de entidad} } seleccionadas", - "assign-entity-view-to-edge": "Asignar vista(s) de entidad al Edge", - "assign-entity-view-to-edge-text": "Seleccione las vistas de entidad para asignar al Edge", - "unassign-entity-view-from-edge-title": "¿Está seguro de que desea desasignar la vista de entidad '{{entityViewName}}'?", - "unassign-entity-view-from-edge-text": "Después de la confirmación, la vista de entidad será desasignada y no estará accesible por el Edge.", + "assign-entity-view-to-edge": "Asignar Vista de entidad(es) al Edge", + "assign-entity-view-to-edge-text": "Selecciona las vistas de entidad que deseas asignar al Edge", + "unassign-entity-view-from-edge-title": "¿Estás seguro de que deseas desasignar la vista de entidad '{{entityViewName}}'?", + "unassign-entity-view-from-edge-text": "Después de la confirmación, la vista de entidad será desasignada y no estará accesible para el Edge.", "unassign-entity-views-from-edge-action-title": "Desasignar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} } del Edge", "unassign-entity-view-from-edge": "Desasignar vista de entidad", - "unassign-entity-views-from-edge-title": "¿Está seguro de que desea desasignar { count, plural, =1 {1 vista de entidad} other {# vistas de entidad} }?", - "unassign-entity-views-from-edge-text": "Después de la confirmación, todas las vistas de entidad seleccionadas serán desasignadas y no estarán accesibles por el Edge." + "unassign-entity-views-from-edge-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 vista de entidad} one {# vista de entidad} other {# vistas de entidad} }?", + "unassign-entity-views-from-edge-text": "Después de la confirmación, todas las vistas de entidad seleccionadas serán desasignadas y no estarán accesibles para el Edge." }, "event": { "events": "Eventos", @@ -4110,6 +4912,7 @@ "result": "Resultado", "no-events-prompt": "No se encontraron eventos", "error": "Error", + "errors": "Errores", "alarm": "Alarma", "event-time": "Hora del evento", "server": "Servidor", @@ -4130,6 +4933,8 @@ "event": "Evento", "status": "Estado", "success": "Éxito", + "warning": "Advertencia", + "warnings": "Advertencias", "failed": "Fallido", "messages-processed": "Mensajes procesados", "max-messages-processed": "Máximo de mensajes procesados", @@ -4145,7 +4950,7 @@ "entity-type": "Tipo de entidad", "clear-filter": "Limpiar filtro", "clear-request-title": "Borrar todos los eventos", - "clear-request-text": "¿Está seguro de que desea borrar todos los eventos?", + "clear-request-text": "¿Estás seguro de que deseas borrar todos los eventos?", "started": "Iniciado", "updated": "Actualizado", "stopped": "Detenido" @@ -4165,10 +4970,10 @@ "add": "Agregar extensión", "edit": "Editar extensión", "view": "Ver extensión", - "delete-extension-title": "¿Está seguro de que desea eliminar la extensión '{{extensionId}}'?", - "delete-extension-text": "Tenga cuidado, después de la confirmación la extensión y todos los datos relacionados serán irrecuperables.", - "delete-extensions-title": "¿Está seguro de que desea eliminar { count, plural, =1 {1 extensión} other {# extensiones} }?", - "delete-extensions-text": "Tenga cuidado, después de la confirmación todas las extensiones seleccionadas serán eliminadas.", + "delete-extension-title": "¿Estás seguro de que deseas eliminar la extensión '{{extensionId}}'?", + "delete-extension-text": "Ten cuidado, después de la confirmación la extensión y todos los datos relacionados serán irrecuperables.", + "delete-extensions-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 extensión} one {# extensión} other {# extensiones} }?", + "delete-extensions-text": "Ten cuidado, después de la confirmación se eliminarán todas las extensiones seleccionadas.", "converters": "Convertidores", "converter-id": "Id del convertidor", "configuration": "Configuración", @@ -4188,7 +4993,7 @@ "add-map": "Agregar elemento de mapeo", "timeseries": "Series temporales", "add-timeseries": "Agregar serie temporal", - "field-required": "El campo es obligatorio", + "field-required": "Se requiere el campo", "brokers": "Brokers", "add-broker": "Agregar broker", "host": "Host", @@ -4199,7 +5004,7 @@ "username": "Nombre de usuario", "password": "Contraseña", "retry-interval": "Intervalo de reintento en milisegundos", - "sas": "Firma de acceso compartido", + "sas": "Firma de acceso compartido (Shared Access Signature)", "anonymous": "Anónimo", "basic": "Básico", "pem": "PEM", @@ -4207,7 +5012,7 @@ "private-key": "Archivo de clave privada *", "cert": "Archivo del certificado *", "no-file": "Ningún archivo seleccionado.", - "drop-file": "Suelte un archivo o haga clic para seleccionar un archivo para subir.", + "drop-file": "Suelta un archivo o haz clic para seleccionar un archivo para cargar.", "mapping": "Mapeo", "topic-filter": "Filtro de tema", "converter-type": "Tipo de convertidor", @@ -4249,7 +5054,7 @@ "add-device": "Agregar dispositivo", "opc-server": "Servidores", "opc-add-server": "Agregar servidor", - "opc-add-server-prompt": "Por favor agregue un servidor", + "opc-add-server-prompt": "Agrega un servidor", "opc-application-name": "Nombre de la aplicación", "opc-application-uri": "URI de la aplicación", "opc-scan-period-in-seconds": "Periodo de escaneo en segundos", @@ -4266,7 +5071,7 @@ "opc-device-name-pattern": "Patrón de nombre del dispositivo", "modbus-server": "Servidores/esclavos", "modbus-add-server": "Agregar servidor/esclavo", - "modbus-add-server-prompt": "Por favor agregue servidor/esclavo", + "modbus-add-server-prompt": "Agrega un servidor/esclavo", "modbus-transport": "Transporte", "modbus-tcp-reconnect": "Reconectar automáticamente", "modbus-rtu-over-tcp": "RTU sobre TCP", @@ -4320,7 +5125,7 @@ "add": "Agregar filtro", "edit": "Editar filtro", "name": "Nombre del filtro", - "name-required": "El nombre del filtro es obligatorio.", + "name-required": "Se requiere el nombre del filtro.", "duplicate-filter": "Ya existe un filtro con el mismo nombre.", "filters": "Filtros", "unable-delete-filter-title": "No se puede eliminar el filtro", @@ -4333,11 +5138,11 @@ "editable-hint": "Permitir que el usuario cambie el valor del filtro en los tableros.", "no-filters-found": "No se encontraron filtros.", "no-filter-text": "Ningún filtro especificado", - "add-filter-prompt": "Por favor, agregue un filtro", + "add-filter-prompt": "Agrega un filtro", "no-filter-matching": "'{{filter}}' no encontrado.", "create-new-filter": "¡Crear uno nuevo!", "create-new": "Crear nuevo", - "filter-required": "El filtro es obligatorio.", + "filter-required": "Se requiere el filtro.", "operation": { "operation": "Operación", "equal": "igual", @@ -4375,8 +5180,9 @@ "order-priority": "Prioridad de orden del campo", "key-filter": "Filtro de clave", "key-filters": "Filtros de clave", + "or-conditions-disabled": "Las condiciones OR entre filtros de clave están deshabilitadas por el administrador del sistema.", "key-name": "Nombre de la clave", - "key-name-required": "El nombre de la clave es obligatorio.", + "key-name-required": "Se requiere el nombre de la clave.", "key-type": { "key-type": "Tipo de clave", "attribute": "Atributo", @@ -4395,7 +5201,7 @@ "date-time": "Fecha y hora" }, "value-type-required": "Se requiere el tipo de valor de la clave.", - "key-value-type-change-title": "¿Está seguro de que desea cambiar el tipo de valor de la clave?", + "key-value-type-change-title": "¿Estás seguro de que deseas cambiar el tipo de valor de la clave?", "key-value-type-change-message": "Si confirma, todos los filtros de clave ingresados se eliminarán.", "no-key-filters": "No hay filtros de clave configurados", "add-key-filter": "Agregar filtro de clave", @@ -4403,11 +5209,11 @@ "edit-key-filter": "Editar filtro de clave", "date": "Fecha", "time": "Hora", - "current-tenant": "Tenant actual", - "current-customer": "Customer actual", + "current-tenant": "Inquilino actual", + "current-customer": "Cliente actual", "current-user": "Usuario actual", "current-device": "Dispositivo actual", - "default-value": "Valor predeterminado", + "default-value": "Valor por defecto", "default-comma-separated-values": "Valores predeterminados separados por comas", "dynamic-source-type": "Tipo de fuente dinámica", "dynamic-value": "Valor dinámico", @@ -4429,21 +5235,50 @@ "function": "Función" }, "gateway": { - "gateway-name": "Nombre del gateway", - "gateway-name-required": "Se requiere el nombre del gateway.", + "gateway-name": "Nombre del Gateway", + "gateway-name-required": "Se requiere el nombre del Gateway.", "gateways": "Gateways", - "create-new-gateway": "Crear nuevo gateway", - "create-new-gateway-text": "¿Está seguro de que desea crear un nuevo gateway con el nombre: '{{gatewayName}}'?", + "create-new-gateway": "Crear nuevo Gateway", + "create-new-gateway-text": "¿Estás seguro de que deseas crear un nuevo Gateway con el nombre: '{{gatewayName}}'?", "launch-command": "Comando de lanzamiento", - "no-gateway-found": "No se encontró ningún gateway.", - "no-gateway-matching": "'{{item}}' no encontrado." + "launch-choose-subtitle": "Elige cómo ejecutar el IoT Gateway para {{name}} con las credenciales del dispositivo seleccionado.", + "launch-recommended": "Recomendado", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "Instala, actualiza, reinicia y supervisa de forma remota desde la nube — sin SSH ni comandos manuales.", + "launch-agent-point-install": "Instalación remota con un clic", + "launch-agent-point-upgrade": "Envía actualizaciones desde la nube", + "launch-agent-point-restart": "Reinicio y recuperación automáticos", + "launch-agent-point-monitor": "Monitoreo de estado en tiempo real", + "launch-agent-point-bulk": "Acciones masivas desde la página de Perfil de Agent", + "launch-agent-action": "Desplegar con Agent", + "launch-docker-title": "Docker Compose manual", + "launch-docker-desc": "Descarga el archivo compose y ejecútalo tú mismo en la máquina de destino.", + "launch-docker-point-up": "Ejecuta docker compose up", + "launch-docker-point-control": "Control manual total", + "launch-docker-point-updates": "Tú gestionas las actualizaciones", + "launch-docker-point-access": "Acceso directo al dispositivo", + "launch-docker-action": "Mostrar instrucciones", + "launch-back": "Atrás", + "no-gateway-found": "No se encontró ningún Gateway.", + "no-gateway-matching": "'{{item}}' no encontrado.", + "auto-provision": "Aprovisionamiento automático", + "add-gateway": "Agregar Gateway", + "auto-provision-title": "Aprovisionar Gateway automáticamente", + "auto-provision-info-title": "Cómo funciona", + "auto-provision-info-body": "Una vez creado un perfil de Agent, se genera un comando Docker run. Al ejecutarlo en una máquina de destino, ThingsBoard crea automáticamente el Agent — y el dispositivo Gateway vinculado a él — usando las credenciales incluidas en el comando. El Gateway se configura automáticamente según el perfil de aplicación asignado al perfil de Agent. No se requiere crear el Gateway manualmente.", + "auto-provision-step-select": "Perfil de Agent", + "auto-provision-step-script": "Script de aprovisionamiento", + "auto-provision-valid": "Listo para aprovisionar — '{{profile}}' tiene asignado un perfil de aplicación GATEWAY.", + "auto-provision-invalid-no-edge-app-profile": "Este perfil no tiene asignado un perfil de aplicación GATEWAY. Usa el botón para asignar uno.", + "auto-provision-success-message": "El perfil de Agent está listo. Ejecuta el comando en cualquier máquina de destino para aprovisionar un nuevo Gateway.", + "auto-provision-script-hint": "Ejecuta este comando en cada máquina que deba convertirse en Gateway. Cada ejecución aprovisiona un par Agent + Gateway." }, "grid": { - "delete-item-title": "¿Está seguro de que desea eliminar este elemento?", - "delete-item-text": "Tenga cuidado, después de la confirmación este elemento y todos los datos relacionados serán irrecuperables.", - "delete-items-title": "¿Está seguro de que desea eliminar { count, plural, =1 {1 elemento} other {# elementos} }?", + "delete-item-title": "¿Estás seguro de que deseas eliminar este elemento?", + "delete-item-text": "Ten cuidado: después de la confirmación, este elemento y todos los datos relacionados serán irrecuperables.", + "delete-items-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 elemento} one {# elemento} other {# elementos} }?", "delete-items-action-title": "Eliminar { count, plural, =1 {1 elemento} other {# elementos} }", - "delete-items-text": "Tenga cuidado, después de la confirmación todos los elementos seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", + "delete-items-text": "Ten cuidado, después de la confirmación todos los elementos seleccionados se eliminarán y todos los datos relacionados serán irrecuperables.", "add-item-text": "Agregar nuevo elemento", "no-items-text": "No se encontraron elementos", "item-details": "Detalles del elemento", @@ -4461,19 +5296,23 @@ "logout": "Cerrar sesión", "menu": "Menú", "avatar": "Avatar", - "open-user-menu": "Abrir menú de usuario" + "open-user-menu": "Abrir menú de usuario", + "go-to": "Ir a...", + "crumbs-more": "+{{more}} más en secciones coincidentes", + "no-matches": "Sin coincidencias" }, "file-input": { "browse-file": "Buscar archivo", "browse-files": "Buscar archivos" }, "image": { + "images": "Imágenes", "gallery": "Galería de imágenes", "search": "Buscar imagen", "selected-images": "{ count, plural, =1 {1 imagen} other {# imágenes} } seleccionadas", "created-time": "Hora de creación", "name": "Nombre", - "name-required": "El nombre es obligatorio.", + "name-required": "Se requiere el nombre.", "resolution": "Resolución", "size": "Tamaño", "system": "Sistema", @@ -4485,10 +5324,10 @@ "image-details": "Detalles de la imagen", "no-images": "No se encontraron imágenes", "delete-image": "Eliminar imagen", - "delete-image-title": "¿Está seguro de que desea eliminar la imagen '{{imageTitle}}'?", - "delete-image-text": "Tenga cuidado, después de la confirmación la imagen será irrecuperable.", - "delete-images-title": "¿Está seguro de que desea eliminar { count, plural, =1 {1 imagen} other {# imágenes} }?", - "delete-images-text": "Tenga cuidado, después de la confirmación todas las imágenes seleccionadas serán eliminadas y todos los datos relacionados serán irrecuperables.", + "delete-image-title": "¿Estás seguro de que deseas eliminar la imagen '{{imageTitle}}'?", + "delete-image-text": "Ten cuidado, después de la confirmación la imagen será irrecuperable.", + "delete-images-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 imagen} one {# imagen} other {# imágenes} }?", + "delete-images-text": "Ten cuidado, después de la confirmación todas las imágenes seleccionadas se eliminarán y todos los datos relacionados serán irrecuperables.", "list-mode": "Vista de lista", "grid-mode": "Vista de cuadrícula", "image-preview": "Vista previa de imagen", @@ -4499,8 +5338,8 @@ "image-is-in-use": "La imagen está siendo utilizada por otras entidades", "images-are-in-use": "Las imágenes están siendo utilizadas por otras entidades", "image-is-in-use-text": "La imagen '{{title}}' no fue eliminada porque está siendo utilizada por las siguientes entidades:", - "images-are-in-use-text": "No se eliminaron todas las imágenes porque están siendo utilizadas por otras entidades.
    Puede ver las entidades referenciadas haciendo clic en el botón Referencias en la fila correspondiente.
    Si aún desea eliminar estas imágenes, selecciónelas en la tabla inferior y haga clic en el botón Eliminar seleccionadas.", - "delete-image-in-use-text": "Si aún desea eliminar la imagen, haga clic en el botón Eliminar de todos modos.", + "images-are-in-use-text": "No se eliminaron todas las imágenes porque otras entidades las utilizan.
    Puedes ver las entidades que las referencian haciendo clic en el botón Referencias en la fila correspondiente de la imagen.
    Si aun así deseas eliminar estas imágenes, selecciónalas en la tabla de abajo y haz clic en el botón Eliminar seleccionados.", + "delete-image-in-use-text": "Si aun así deseas eliminar la imagen, haz clic en el botón Eliminar de todos modos.", "system-entities": "Entidades del sistema:", "entities": "entidades:", "references": "Referencias", @@ -4583,7 +5422,7 @@ "community-string": "Cadena de comunidad SNMP" }, "isgateway": "Es Gateway", - "activity-time-from-gateway-device": "Hora de actividad desde dispositivo gateway", + "activity-time-from-gateway-device": "Hora de actividad desde dispositivo Gateway", "description": "Descripción", "edge-license-key": "Clave de licencia", "cloud-endpoint": "Endpoint de la nube", @@ -4616,11 +5455,11 @@ "data-convertor-name": "Convertidor de datos {{convertorType}} para {{integrationName}}", "integration-name": "Integración {{integrationType}}", "selected-integrations": "{ count, plural, =1 {1 integración} other {# integraciones} } seleccionadas", - "delete-integration-title": "¿Está seguro de que desea eliminar la integración '{{integrationName}}'?", - "delete-integration-text": "Tenga cuidado, después de la confirmación, la integración y todos los datos relacionados serán irrecuperables.", - "delete-integrations-title": "¿Está seguro de que desea eliminar { count, plural, =1 {1 integración} other {# integraciones} }?", + "delete-integration-title": "¿Estás seguro de que deseas eliminar la integración '{{integrationName}}'?", + "delete-integration-text": "Ten cuidado, después de la confirmación la integración y todos los datos relacionados serán irrecuperables.", + "delete-integrations-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 integración} one {# integración} other {# integraciones} }?", "delete-integrations-action-title": "Eliminar { count, plural, =1 {1 integración} other {# integraciones} }", - "delete-integrations-text": "Tenga cuidado, después de la confirmación, todas las integraciones seleccionadas serán eliminadas y todos los datos relacionados serán irrecuperables.", + "delete-integrations-text": "Ten cuidado, después de la confirmación todas las integraciones seleccionadas se eliminarán y todos los datos relacionados serán irrecuperables.", "events": "Eventos", "enabled": "Habilitar integración", "allow-create-devices-or-assets": "Permitir crear dispositivos o activos", @@ -4687,13 +5526,13 @@ "port": "Puerto", "port-required": "Se requiere puerto.", "endpoint": "Endpoint", - "port-range": "El puerto debe estar en un rango de 1 a 65535.", + "port-range": "El puerto debe estar en el rango de 1 a 65535.", "connect-timeout": "Tiempo de espera de conexión (seg)", - "connect-timeout-required": "Se requiere tiempo de espera de conexión.", + "connect-timeout-required": "Se requiere el tiempo de espera de conexión.", "connect-timeout-range": "El tiempo de espera debe estar en un rango de 1 a 200.", "client-id": "ID del cliente", "client-id-required": "Se requiere ID del cliente.", - "client-id-hint": "Sugerencia: Opcional. Deje en blanco para ID de cliente autogenerado. Tenga cuidado al especificar el ID. La mayoría de los brokers MQTT no permiten múltiples conexiones con el mismo ID.", + "client-id-hint": "Sugerencia: Opcional. Déjalo vacío para generar automáticamente el ID de cliente. Ten cuidado al especificar el ID de cliente. La mayoría de los brokers MQTT no permitirán varias conexiones con el mismo ID de cliente. Para conectarte a dichos brokers, tu ID de cliente MQTT debe ser único.", "max-bytes-in-message": "Máximo de bytes en el mensaje", "max-bytes-in-message-range": "Debe estar entre 1 y 256000000.", "device-id": "ID del dispositivo", @@ -4743,7 +5582,7 @@ "password-required": "Se requiere contraseña.", "destination-shared-secret": "Secreto compartido del destino", "destination-shared-secret-required": "Se requiere secreto compartido del destino", - "customer-id": "ID del customer", + "customer-id": "ID del cliente", "api-id": "ID de API", "azure-ca-cert": "Archivo del certificado CA", "ca-cert": "Archivo del certificado CA", @@ -4826,9 +5665,9 @@ "select-integration-type": "Seleccionar tipo de integración", "type-required": "Se requiere el tipo de integración.", "type-not-found": "Tipo de integración no encontrado", - "uplink-converter": "Convertidor de datos de subida", - "uplink-converter-required": "Se requiere el convertidor de subida.", - "downlink-converter": "Convertidor de datos de bajada", + "uplink-converter": "Convertidor de datos uplink", + "uplink-converter-required": "Se requiere el convertidor de datos uplink.", + "downlink-converter": "Convertidor de datos downlink", "type-http": "HTTP", "type-http-description": "Protocolo para transferencia de texto o archivos multimedia.", "type-ocean-connect": "OceanConnect", @@ -4836,7 +5675,7 @@ "type-sigfox": "SigFox", "type-sigfox-description": "Protocolo ligero para manejar transmisiones pequeñas de datos.", "type-thingpark": "ThingPark", - "type-thingpark-description": "Plataforma de conectividad IoT de Actility.", + "type-thingpark-description": "ThingPark es una plataforma de conectividad IoT de Actility.", "type-loriot": "Loriot", "type-loriot-description": "Infraestructura distribuida LoRaWAN.", "type-thingpark-enterprise": "ThingParkEnterprise", @@ -4855,6 +5694,7 @@ "type-ttn-description": "Red LoRaWAN abierta y descentralizada.", "type-tti": "The Things Stack Industries", "type-tti-description": "Software para operar redes LoRaWAN privadas a escala.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Servidor de configuración de red LoRaWAN.", "type-particle": "Particle", @@ -4897,7 +5737,7 @@ "opc-ua-identity": "Identidad", "opc-ua-identity-required": "Se requiere la identidad", "opc-ua-keystore": "Almacén de claves", - "add-opc-ua-keystore-prompt": "Por favor, añade el archivo del almacén de claves", + "add-opc-ua-keystore-prompt": "Por favor, agrega el archivo del almacén de claves", "opc-ua-keystore-required": "Se requiere el almacén de claves", "opc-ua-type": "Tipo", "opc-ua-keystore-type": "Tipo", @@ -4910,13 +5750,13 @@ "opc-ua-keystore-key-password": "Contraseña de la clave", "opc-ua-keystore-key-password-required": "Se requiere la contraseña de la clave", "opc-ua-mapping": "Mapeo", - "add-opc-ua-mapping-prompt": "Por favor, añade un mapeo", + "add-opc-ua-mapping-prompt": "Por favor, agrega un mapeo", "opc-ua-mapping-type": "Tipo de mapeo", "opc-ua-mapping-type-required": "Se requiere el tipo de mapeo", "opc-ua-device-node-pattern": "Patrón del nodo del dispositivo", "opc-ua-device-node-pattern-required": "Se requiere el patrón del nodo del dispositivo", "opc-ua-namespace": "Espacio de nombres", - "opc-ua-add-map": "Añadir elemento de mapeo", + "opc-ua-add-map": "Agregar elemento de mapeo", "kinesis-stream-name": "Nombre del flujo", "kinesis-stream-name-required": "Se requiere el nombre del flujo", "kinesis-region": "Región", @@ -4938,8 +5778,8 @@ "other-properties": "Otras propiedades", "subscription-tags": "Etiquetas de suscripción", "remove-subscription-tag": "Eliminar etiqueta de suscripción", - "add-subscription-tag": "Añadir etiqueta de suscripción", - "add-subscription-tag-prompt": "Por favor, añade una etiqueta de suscripción", + "add-subscription-tag": "Agregar etiqueta de suscripción", + "add-subscription-tag-prompt": "Por favor, agrega una etiqueta de suscripción", "key": "Clave", "path": "Ruta", "required": "Requerido", @@ -5053,9 +5893,9 @@ "coap-dtls-endpoint": "URL del endpoint CoAP DTLS", "coap-dtls-endpoint-url-copied-message": "La URL del endpoint CoAP DTLS ha sido copiada al portapapeles", "unassign-integration-title": "¿Estás seguro de que deseas desasignar la integración '{{integrationName}}'?", - "unassign-integration-from-edge-text": "Después de la confirmación, la integración será desasignada y no estará accesible por el edge.", + "unassign-integration-from-edge-text": "Después de la confirmación, la integración será desasignada y no estará accesible para el Edge.", "unassign-integrations-from-edge-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 integración} other {# integraciones} }?", - "unassign-integrations-from-edge-text": "Después de la confirmación, todas las integraciones seleccionadas serán desasignadas y no estarán accesibles por el edge.", + "unassign-integrations-from-edge-text": "Después de la confirmación, todas las integraciones seleccionadas serán desasignadas y no estarán accesibles para el Edge.", "unassign-integrations": "Desasignar integraciones", "edge-placeholder-hint": "Puedes usar el marcador ${{ATTRIBUTE_KEY}} para sustituir el campo de integración con el valor del atributo de una entidad Edge específica. Por ejemplo, 'Edge A' tiene un atributo 'baseUrl' que es igual a 'http://localhost:9999'. Puedes establecer ${{baseUrl}} como uno de los campos de integración, y será reemplazado por 'http://localhost:9999' durante la asignación de esta integración a 'Edge A'. Además, si se actualiza el atributo 'baseUrl' de 'Edge A', la integración con el nuevo valor actualizado será automáticamente aprovisionada a 'Edge A'.", "status": { @@ -5085,10 +5925,10 @@ "topic-name-required": "Se requiere el nombre del tema", "sub-name": "Nombre de la suscripción", "sub-name-required": "Se requiere el nombre de la suscripción", - "downlink-connection-string": "Cadena de conexión de bajada", - "downlink-connection-string-required": "Se requiere la cadena de conexión de bajada", - "downlink-topic-name": "Nombre del tema de bajada", - "downlink-topic-name-required": "Se requiere el nombre del tema de bajada" + "downlink-connection-string": "Cadena de conexión downlink", + "downlink-connection-string-required": "Se requiere la cadena de conexión downlink", + "downlink-topic-name": "Nombre del tema downlink", + "downlink-topic-name-required": "Se requiere el nombre del tema downlink" }, "scada": { "symbols": "Símbolos SCADA", @@ -5329,7 +6169,7 @@ "flow-line": "Línea", "flow-line-style": "Estilo de línea", "flow-style-hint": "Establece los valores de Trazo y Espacio de manera que su suma sea divisible por 100 sin residuo para una sincronización perfecta de la animación.", - "flow-dash-cap": "Terminación de línea discontinua del flujo", + "flow-dash-cap": "Extremo del guion", "dash-cap-butt": "Final recto", "dash-cap-round": "Final redondeado", "dash-cap-square": "Final cuadrado", @@ -5389,6 +6229,7 @@ "third-phase-voltage": "Voltaje de la tercera fase", "phase-voltage-hint": "Valor decimal que indica el voltaje para la fase actual.", "voltage-hint": "Valor decimal que indica el voltaje actual.", + "current-voltage": "Voltaje actual", "phase-indicator-color": "Color del indicador de fase", "measured": "Medido", "measured-hint": "Valor decimal que indica el uso de energía en kilovatios-hora.", @@ -5429,7 +6270,281 @@ } }, "item": { - "selected": "Seleccionado" + "type-widget": "Widget", + "type-widget-plural": "Widgets", + "type-solution-template": "Plantilla de solución", + "type-solution-template-plural": "Plantillas de solución", + "type-calculated-field": "Campo calculado", + "type-calculated-field-plural": "Campos calculados", + "type-alarm-rule": "Regla de alarma", + "type-alarm-rule-plural": "Reglas de alarma", + "type-rule-chain": "Cadena de reglas", + "type-rule-chain-plural": "Cadenas de reglas", + "type-device": "Dispositivo", + "type-device-plural": "Dispositivos" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "Generar valor aleatorio", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "Descubre los recursos listos para usar", + "and-devices": "y Dispositivos", + "search-placeholder": "Buscar en IoT Hub...", + "search": "Buscar...", + "search-published-items": "Buscar elementos publicados...", + "see-all-results": "Ver todos los resultados", + "see-all-results-for": "Ver los {{ count }} resultados para \"{{ search }}\"", + "see-results-for": "Ver resultados para \"{{ search }}\"", + "no-search-results": "No se encontraron resultados para '{{ search }}'", + "no-items-available": "No hay elementos disponibles", + "search-results": "Resultados de búsqueda", + "search-results-for": "Resultados de búsqueda para ", + "try-adjusting-search": "Intenta ajustar tu búsqueda", + "add-widget-from-iot-hub": "Agregar widget desde IoT Hub", + "all-widgets": "Todos los widgets", + "all-iot-hub-widgets": "Todos los widgets de IoT Hub", + "installed-from-iot-hub": "Instalado desde IoT Hub", + "item-link-unavailable": "Elemento no disponible", + "include-deprecated": "Incluir obsoletos", + "widget-category-value": "Widgets de {{ category }}", + "search-categories": "Buscar categorías...", + "search-in-category": "Buscar widgets...", + "search-bundles": "Buscar paquetes...", + "search-widgets": "Buscar widgets...", + "add-item-from-iot-hub": "Agregar {{ type }} desde IoT Hub", + "add-from-iot-hub": "Agregar desde IoT Hub", + "filters": "Filtros", + "type": "Tipo", + "items-per-page": "Elementos por página", + "filter": "Filtro", + "clear-filters": "Borrar filtros", + "available": "Disponible", + "items-page-desc-widgets": "Impulsa tu proyecto IoT con widgets preconfigurados diseñados para tu industria. Implementa arquitecturas probadas al instante y concentra tu energía en lo que importa: tu lógica de negocio única.", + "items-page-desc-solution-templates": "Paquetes completos de soluciones IoT con tableros, cadenas de reglas y configuraciones de dispositivos. Comienza con arquitecturas probadas.", + "items-page-desc-calculated-fields": "Usa campos calculados preconfigurados para automatizar métricas complejas como la eficiencia de combustible o el factor de potencia. Omite la lógica manual y mantén tus tableros limpios y útiles.", + "items-page-desc-alarm-rules": "Usa plantillas de reglas de alarma prediseñadas para detectar condiciones críticas como batería baja, superación de umbrales o dispositivos que se desconectan. Omite escribir la lógica de las reglas y empieza a reaccionar ante los incidentes en el momento en que ocurren.", + "items-page-desc-rule-chains": "Desde el procesamiento sofisticado de datos hasta integraciones fluidas con API, las plantillas de cadenas de reglas proporcionan la base arquitectónica que necesitas para escalar sin construir desde cero.", + "items-page-desc-devices": "Explora la biblioteca de dispositivos para encontrar plantillas de conectividad preconfiguradas que puedes implementar en minutos y conectar tu hardware al instante.", + "device-library": "Biblioteca de dispositivos", + "most-popular-in-iot-hub": "Lo más popular en IoT Hub", + "upgrade-required-title": "Se requiere actualizar la versión de ThingsBoard", + "upgrade-required-message": "Este elemento requiere ThingsBoard {{minVersion}} o posterior. Actualmente estás ejecutando {{currentVersion}}. Actualiza tu instancia para instalarlo.", + "upgrade-instance": "Actualizar versión de la instancia", + "become-creator-text": "Envía tus plantillas a ThingsBoard IoT Hub para que aparezcan destacadas y muestra tus soluciones a nuestra comunidad global.", + "contribute": "Contribuir", + "creator-profile": "Perfil del creador", + "title-widgets": "Widgets", + "title-calculated-fields": "Campos calculados", + "title-alarm-rules": "Reglas de alarma", + "title-rule-chains": "Cadenas de reglas", + "title-devices": "Dispositivos", + "title-solution-templates": "Plantillas de soluciones", + "subtitle-widgets": "Explora widgets de la comunidad para tus tableros", + "subtitle-solution-templates": "Explora paquetes completos de soluciones IoT", + "subtitle-calculated-fields": "Explora plantillas de campos calculados", + "subtitle-alarm-rules": "Explora plantillas de reglas de alarma", + "subtitle-rule-chains": "Explora plantillas de cadenas de reglas", + "subtitle-devices": "Explora configuraciones de dispositivos", + "search-solution-templates": "Buscar plantillas de soluciones...", + "search-calculated-fields": "Buscar campos calculados...", + "search-alarm-rules": "Buscar reglas de alarma...", + "search-rule-chains": "Buscar cadenas de reglas...", + "search-devices": "Buscar dispositivos...", + "sort-most-relevant": "Más relevantes", + "sort-most-installed": "Más instalados", + "sort-newest": "Más recientes", + "sort-name": "Nombre (A-Z)", + "type-filter-label": "Tipo", + "verified-creators-only": "Solo creadores verificados", + "category": "Categoría", + "use-case": "Caso de uso", + "vendor": "Fabricante", + "view-setup-guide": "Ver guía de configuración", + "hardware-type": "Tipo de hardware", + "connectivity": "Conectividad", + "clear-all-filters": "Borrar todos los filtros", + "clear-all": "Borrar todo", + "results-count": "{{count}} resultados", + "unable-to-load": "No se pudo cargar", + "unable-to-load-text": "Hubo un problema al cargar los elementos. Inténtalo de nuevo.", + "network-server-unavailable": "Red o servidor no disponible", + "network-server-unavailable-text": "No pudimos conectar con el catálogo. Inténtalo de nuevo en un momento.", + "try-again": "Intentar de nuevo", + "retry": "Reintentar", + "no-items-found": "No se encontraron elementos", + "no-items-found-text": "Intenta ajustar tu búsqueda o los filtros.", + "no-widgets-found": "No se encontraron widgets", + "browse-tip-prefix": "¿No encuentras lo que necesitas?", + "browse-tip-link": "Explora IoT Hub", + "browse-tip-suffix": "para encontrar más widgets.", + "creator": "Creador", + "manage": "Administrar", + "details": "Detalles", + "become-a-creator": "Hazte creador", + "back-to-iot-hub": "Volver a IoT Hub", + "verified-creator": "Creador verificado", + "published-items": "Elementos publicados", + "by-creator": "por {{name}}", + "installs": "instalaciones", + "more": "más", + "categories": "Categorías", + "use-cases": "Casos de uso", + "changelog": "Registro de cambios", + "created-by": "Creado por {{name}}", + "install-confirm": "¿Instalar {{name}} v{{version}}?", + "install-confirm-title": "¿Instalar '{{name}}'?", + "install-desc": "Al instalar esto, se crearán y configurarán automáticamente los recursos necesarios dentro de tu inquilino", + "install-success-desc": "'{{name}}' se instaló correctamente", + "remove": "Quitar", + "remove-confirm-title": "¿Quitar '{{name}}'?", + "remove-desc": "Al quitar esto, también se quitarán la entidad instalada y sus recursos asociados dentro de tu inquilino", + "remove-desc-solution-template": "Al quitar esta plantilla de solución, también se quitarán todas las entidades creadas, incluidos tableros, cadenas de reglas, dispositivos y otros recursos asociados dentro de tu inquilino", + "remove-anyway": "Quitar de todos modos", + "select-entity-for-cf": "Selecciona la entidad para el campo calculado '{{name}}'", + "select-entity-for-alarm-rule": "Selecciona la entidad para la regla de alarma '{{name}}'", + "rule-chain-install-subtitle": "Al instalar, se crea automáticamente la cadena de reglas dentro de tu inquilino. Opcionalmente, establécela como cadena de reglas por defecto de un perfil para que las entidades de ese perfil se enruten a través de ella.", + "rule-chain-set-as-profile-default-toggle": "Establecer como cadena de reglas por defecto del perfil", + "rule-chain-set-as-profile-default-tooltip": "Si está habilitado, todas las entidades del perfil seleccionado enrutarán los mensajes a través de esta cadena de reglas.", + "rule-chain-overwrite-title": "¿Reemplazar la cadena de reglas por defecto existente?", + "rule-chain-overwrite-body": "El perfil {{profile}} usa actualmente {{existing}} como su cadena de reglas por defecto. Al instalar, se reemplazará por esta cadena de reglas.", + "rule-chain-overwrite-replace": "Reemplazar", + "install": "Instalar", + "open": "Abrir", + "built-in": "Integrado", + "built-in-lookup-failed-title": "No se pudo verificar este componente", + "built-in-lookup-failed-text": "No se pudo verificar si '{{name}}' ya está presente en esta instancia. No se instaló nada — inténtalo de nuevo.", + "built-in-missing-title": "No disponible en esta instancia", + "built-in-missing-text": "'{{name}}' normalmente se incluye con ThingsBoard, pero no está presente en esta instancia; es posible que el administrador del sistema lo haya eliminado. En su lugar, puedes instalarlo desde IoT Hub.", + "connect": "Conectar", + "connect-device": "Conectar dispositivo", + "installing": "Instalando...", + "installing-title": "Instalando '{{name}}'", + "installed": "Instalado", + "install-success": "{{name}} se instaló correctamente", + "install-success-title": "Instalación exitosa", + "install-success-message": "'{{name}}' v{{version}} se instaló correctamente.", + "install-error": "No se pudo instalar {{name}}", + "solution-install-title": "Plantilla de solución instalada correctamente", + "solution-instructions": "Instrucciones de la solución", + "goto-main-dashboard": "Ir al tablero principal", + "install-error-title": "Error en la instalación", + "install-error-message": "No se pudo instalar '{{name}}'.", + "install-dependency-error": "No se pudo instalar la dependencia '{{name}}': {{error}}", + "install-plan-title": "Instalar '{{name}}' y sus dependencias", + "install-plan-will-install": "Se instalarán {{count}} elemento(s).", + "install-plan-will-update": "{{count}} elemento(s) ya instalado(s); se omitirán.", + "install-plan-missing-warning": "No se encontraron {{count}} elemento(s) requerido(s) en el marketplace. Es posible que '{{ name }}' no funcione completamente sin ellos.", + "install-plan-status-will": "Instalar", + "install-plan-status-installed": "Ya instalado", + "install-plan-status-missing": "Faltante", + "install-plan-confirm": "Instalar", + "install-partial-title": "Instalado con advertencias", + "install-partial-desc": "'{{name}}' se instaló, pero faltaban algunos elementos requeridos.", + "install-rollback-partial": "Algunos de los elementos instalados antes del error no se pudieron eliminar automáticamente y es posible que debas eliminarlos manualmente.", + "check-for-updates": "Buscar actualizaciones", + "updates": "Actualizaciones", + "up-to-date": "Actualizado", + "update": "Actualizar", + "update-to-version": "Actualizar a v {{ version }}", + "update-item-title": "Actualizar elemento", + "update-confirm": "¿Actualizar '{{name}}' a la versión {{version}}?", + "update-confirm-title": "¿Actualizar '{{name}}'?", + "update-desc": "Al actualizar, se reemplazará la versión actual por la más reciente y se volverán a configurar los recursos asociados dentro de tu inquilino", + "update-desc-solution-template": "Al actualizar esta plantilla de solución, se eliminarán y se volverán a crear todas las entidades que creó, incluidos tableros, cadenas de reglas, dispositivos y otros recursos asociados dentro de tu inquilino. Se perderán todos los cambios que les hayas hecho", + "update-success-desc": "'{{name}}' se actualizó correctamente", + "updating": "Actualizando...", + "update-success-title": "Actualización exitosa", + "update-success-message": "'{{name}}' se actualizó a la versión {{version}}.", + "entity-modified-title": "Entidad modificada", + "entity-modified-text": "El elemento {{type}} se modificó localmente. ¿Aún deseas actualizarlo?", + "update-error-title": "Error al actualizar", + "update-error-message": "No se pudo actualizar '{{name}}'.", + "update-error": "No se pudo actualizar {{name}}", + "most-popular": "Más populares", + "all": "Todos", + "installed-items": "Elementos instalados", + "installed-items-for": "Elementos instalados para \"{{name}}\"", + "search-installed-items": "Buscar elementos instalados...", + "item-name": "Nombre", + "item-type": "Tipo", + "item-version": "Versión", + "installed-date": "Instalado", + "no-installed-items": "No se encontraron elementos instalados", + "no-installed-items-text": "Intenta ajustar tu búsqueda o filtros.", + "remove-installed-item-title": "Quitar elemento instalado", + "remove-installed-item-text": "¿Estás seguro de que deseas quitar '{{name}}'? La entidad instalada también se quitará.", + "installed-item-removed": "Se quitó '{{name}}'", + "installed-item-remove-error": "No se pudo quitar '{{name}}'", + "open-installed-entity": "Abrir entidad instalada", + "view-item-details": "Ver detalles del elemento", + "review-device-instructions": "Revisar las instrucciones del dispositivo", + "open-item-type": "Abrir {{type}}", + "back-to-marketplace": "Volver al Marketplace", + "device-install-select-connectivity": "Elige un método de conexión para tu dispositivo", + "connection-method": "Método de conexión", + "step-prerequisites": "Requisitos previos", + "step-configuration": "Configuración", + "step-provisioning": "Aprovisionamiento", + "device-install-step-error": "Fallido", + "device-install-step-pending": "Pendiente", + "device-install-step-running": "Creando...", + "device-install-step-success": "Creado", + "device-install-step-type-DASHBOARD": "Tablero", + "device-install-step-type-DEVICE": "Dispositivo", + "device-install-step-type-DEVICE_PROFILE": "Perfil de dispositivo", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Conector de Gateway", + "device-install-step-type-RULE_CHAIN": "Cadena de reglas", + "device-install-step-type-UPLINK_CONVERTER": "Convertidor uplink", + "device-install-step-type-DOWNLINK_CONVERTER": "Convertidor downlink", + "device-install-step-type-INTEGRATION": "Integración", + "use-secret": "Usar secreto", + "use-plain-text": "Usar texto plano", + "device-install-conflict-exists": "{{type}} con este nombre ya existe", + "device-install-use-existing": "Usar existente", + "device-install-overwrite": "Sobrescribir", + "device-install-create-copy": "Crear copia", + "device-install-resolution-created": "Creado", + "device-install-resolution-use-existing": "Se usó el existente", + "device-install-resolution-overwrite": "Sobrescrito", + "device-install-resolution-create-copy": "Copia creada", + "device-install-title": "Conectar \"{{name}}\"", + "device-installing-title": "Instalando \"{{name}}\"", + "done": "Completado", + "in-progress": "En curso", + "item-detail": "Elemento de IoT Hub", + "unpublished-warning-title": "Contenido no publicado", + "unpublished-warning-text": "Esta es una vista previa de contenido no publicado. No ha sido revisado por IoT Hub. Instalar contenido no verificado puede introducir riesgos de seguridad y estabilidad — continúa solo si confías en el creador.", + "unpublished-warning-confirm": "Entiendo el riesgo, continuar", + "unpublished-preview": "Vista previa no publicada", + "deep-link-invalid-id": "Enlace de elemento de IoT Hub no válido.", + "deep-link-not-found": "Este elemento de IoT Hub no existe o fue eliminado.", + "deep-link-fetch-failed": "No se pudo cargar el elemento de IoT Hub. Inténtalo de nuevo.", + "export-to-iot-hub": "Exportar a IoT Hub" + }, + "item-data": { + "widget-type-timeseries": "Serie temporal", + "widget-type-latest": "Último", + "widget-type-rpc": "Control", + "widget-type-alarm": "Alarma", + "widget-type-static": "Estático", + "cf-type-simple": "Simple", + "cf-type-script": "Script", + "cf-type-geofencing": "Geocercas", + "cf-type-alarm": "Alarma", + "cf-type-propagation": "Propagación", + "cf-type-related-entities-aggregation": "Agregación de entidades relacionadas", + "cf-type-entity-aggregation": "Agregación de entidades", + "rule-chain-type-core": "Core", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "Enriquecimiento", + "node-type-filter": "Filtro", + "node-type-transformation": "Transformación", + "node-type-action": "Acción", + "node-type-analytics": "Analítica", + "node-type-external": "Externo", + "node-type-flow": "Flujo", + "node-type-unknown": "Desconocido" }, "js-func": { "no-return-error": "¡La función debe devolver un valor!", @@ -5462,6 +6577,8 @@ "no-data": "No hay entradas" }, "layout": { + "switch-to-html-page-title": "¿Cambiar a página HTML?", + "switch-to-html-page-text": "La página HTML reemplaza la cuadrícula de widgets de este estado. { count, plural, =1 {1 widget colocado en sus diseños se eliminará} one {# widget colocado en sus diseños se eliminará} other {# widgets colocados en sus diseños se eliminarán} } de este estado.", "layout": "Diseño", "layouts": "Diseños", "manage": "Gestionar diseños", @@ -5575,7 +6692,7 @@ "reset-password-link-expired": "El enlace para restablecer la contraseña ha expirado", "reset-password-link-expired-message": "El enlace para restablecer tu contraseña ha expirado. Puedes regresar a la página de inicio de sesión para recibir un nuevo correo.", "two-fa": "Autenticación de dos factores", - "two-fa-required": "La autenticación de dos factores es obligatoria", + "two-fa-required": "Se requiere la autenticación de dos factores", "set-up-verification-method": "Configura un método de verificación para continuar", "set-up-verification-method-login": "Configura un método de verificación o inicia sesión", "enable-authenticator-app": "Activar aplicación de autenticación", @@ -5595,11 +6712,11 @@ "authenticator-email-success-description": "La próxima vez que inicies sesión, se te pedirá que introduzcas el código de seguridad que se enviará a tu dirección de email", "authenticator-backup-code-success": "Código de respaldo activado correctamente", "authenticator-backup-code-success-description": "La próxima vez que inicies sesión, se te pedirá que introduzcas el código de seguridad o que uses uno de los códigos de respaldo.", - "add-verification-method": "Añadir método de verificación", + "add-verification-method": "Agregar método de verificación", "get-backup-code": "Obtener código de respaldo", "copy-key": "Copiar clave", "send-code": "Enviar código", - "email-label": "Email", + "email-label": "Correo electrónico", "email-description": "Introduce un email para usarlo como autenticador.", "sms-description": "Introduce un número de teléfono para usarlo como autenticador.", "backup-code-description": "Imprime los códigos para tenerlos a mano cuando necesites usarlos para iniciar sesión en tu cuenta. Puedes usar cada código de respaldo una sola vez.", @@ -5613,7 +6730,7 @@ "scan-qr-code": "Escanea este código QR con tu aplicación de verificación", "phone-input": { "phone-input-label": "Número de teléfono", - "phone-input-required": "El número de teléfono es obligatorio", + "phone-input-required": "Se requiere el número de teléfono", "phone-input-validation": "El número de teléfono no es válido o no es posible", "phone-input-pattern": "Número de teléfono no válido. Debe estar en formato E.164, p. ej. {{phoneNumber}}", "phone-input-hint": "Número de teléfono en formato E.164, p. ej. {{phoneNumber}}" @@ -5651,8 +6768,8 @@ "accept-privacy-policy-and-terms-of-use-message": "Debes aceptar nuestra Política de privacidad y Términos de uso", "firstname-max-length": "El nombre debe tener menos de 256 caracteres", "lastname-max-length": "El apellido debe tener menos de 256 caracteres", - "firstname-required": "El nombre es obligatorio", - "lastname-required": "El apellido es obligatorio" + "firstname-required": "Se requiere el nombre", + "lastname-required": "Se requiere el apellido" }, "mobile": { "add-application": "Agregar aplicación", @@ -5688,6 +6805,7 @@ "min-version": "Versión mínima", "invalid-version-pattern": "Formato de versión inválido. Usa el formato: mayor.menor.revisión (ej., 1.0.0).", "mobile-center": "Centro móvil", + "mobile-apps": "Aplicaciones móviles", "mobile-package": "Paquete de la aplicación", "mobile-package-max-length": "El paquete de la aplicación debe tener menos de 256 caracteres", "mobile-package-required": "Se requiere el paquete de la aplicación", @@ -5789,11 +6907,11 @@ "add-field": "Agregar campo", "advanced-settings": "Configuraciones avanzadas", "captcha-properties": "Propiedades de Captcha", - "customer-group": "Grupo de customers", - "customer-title-prefix": "Prefijo del título del customer", + "customer-group": "Grupo de clientes", + "customer-title-prefix": "Prefijo del título del cliente", "field-type": "Tipo de campo", "label": "Etiqueta", - "no-customer-groups-matching": "No se encontraron grupos de customers que coincidan con '{{entityGroup}}'.", + "no-customer-groups-matching": "No se encontraron grupos de clientes que coincidan con '{{entityGroup}}'.", "page-title": "Título de la página", "page-title-required": "Se requiere el título de la página.", "page-title-cannot-contain-only-spaces": "El título de la página no puede contener solo espacios", @@ -5807,6 +6925,9 @@ "reset-self-registration-text": "Ten cuidado, después de la confirmación, todos los ajustes se perderán y no se podrán recuperar." } }, + "monitor": { + "monitor": "Monitor" + }, "notification": { "ai-assistant-initial-prompt-placeholder": "Describe lo que quieres configurar...", "ai-assistant-example-explain-label": "Cómo funcionan las notificaciones", @@ -5918,7 +7039,7 @@ "integration-action-trigger-settings": "Configuración del disparador de eventos de integración", "integration-list-rule-hint": "Si el campo está vacío, el disparador se aplicará a todas las integraciones", "link": "Enlace", - "link-required": "El enlace es obligatorio", + "link-required": "Se requiere el enlace", "link-max-length": "El enlace debe tener {{ length }} caracteres o menos", "link-type": { "dashboard": "Abrir tablero", @@ -5929,10 +7050,10 @@ "mark-all-as-read": "Marcar todo como leído", "mark-as-read": "Marcar como leído", "message": "Mensaje", - "message-required": "El mensaje es obligatorio", + "message-required": "Se requiere el mensaje", "message-max-length": "El mensaje debe tener menos o igual a {{ length }} caracteres", "name": "Nombre", - "name-required": "El nombre es obligatorio", + "name-required": "Se requiere el nombre", "new-notification": "Nueva notificación", "no-inbox-notification": "No se encontraron notificaciones", "no-notification-request": "No hay solicitudes de notificación", @@ -5949,6 +7070,7 @@ "create-new-template": "¡Crear una nueva!", "not-found-slack-recipient": "Destinatario de Slack no encontrado", "notification": "Notificación", + "notifications": "Notificaciones", "notification-center": "Centro de notificaciones", "notification-tap-action": "Acción al tocar notificación", "notification-tap-action-hint": "Si no está habilitado, se utilizará el tablero de alarmas predeterminado", @@ -5957,7 +7079,7 @@ "notify-alarm-action": { "acknowledged": "Alarma reconocida", "assigned": "Alarma asignada", - "cleared": "Alarma aclarada", + "cleared": "Alarma resuelta", "created": "Alarma creada", "severity-changed": "Severidad de la alarma cambiada", "unassigned": "Alarma desasignada" @@ -5969,7 +7091,7 @@ "notify-only-integrations-errors": "Notificar solo en caso de error", "notify-only-user-comments": "Notificar solo comentarios de usuario", "only-rule-chain-lifecycle-failures": "Solo fallos en el ciclo de vida de la cadena de reglas", - "only-rule-node-lifecycle-failures": "Solo fallos en el ciclo de vida del nodo de regla", + "only-rule-node-lifecycle-failures": "Solo fallos en el ciclo de vida del nodo de reglas", "platform-users": "Usuarios de la plataforma", "ram-threshold": "Umbral de RAM", "rate-limits": "Límites de tasa", @@ -5977,12 +7099,12 @@ "recipient": "Destinatario", "recipient-group": "Grupo de destinatarios", "recipient-type": { - "affected-tenant-administrators": "Administradores del tenant afectados", + "affected-tenant-administrators": "Administradores de inquilinos afectados", "affected-user": "Usuario afectado", "all-users": "Todos los usuarios", - "customer-users": "Usuarios del customer", + "customer-users": "Usuarios del cliente", "system-administrators": "Administradores del sistema", - "tenant-administrators": "Administradores del tenant", + "tenant-administrators": "Administradores del inquilino", "user-filters": "Filtro de usuarios", "user-group-list": "Lista de grupos de usuarios", "user-list": "Lista de usuarios", @@ -5991,7 +7113,7 @@ }, "recipients": "Destinatarios", "notification-recipient": "Destinatario de la notificación", - "notification-recipient-required": "El destinatario de la notificación es obligatorio.", + "notification-recipient-required": "Se requiere el destinatario de la notificación.", "notification-recipients": "Notificaciones / Destinatarios", "recipients-count": "{ count, plural, =1 {1 destinatario} other {# destinatarios} }", "recipients-required": "Se requieren destinatarios", @@ -6008,10 +7130,10 @@ "rule-engine-events-trigger-settings": "Configuración de disparadores de eventos del motor de reglas", "rule-engine-filter": "Filtro del motor de reglas", "rule-name": "Nombre de la regla", - "rule-name-required": "El nombre es obligatorio", + "rule-name-required": "Se requiere el nombre", "rule-disable": "Desactivar regla de notificación", "rule-enable": "Activar regla de notificación", - "rule-node-filter": "Filtro de nodo de regla", + "rule-node-filter": "Filtro de nodo de reglas", "rules": "Reglas", "notification-rules": "Notificaciones / Reglas", "scheduler-later": "Programar para más tarde", @@ -6041,11 +7163,11 @@ "stop-escalation-alarm-status-become": "Detener la escalada al cambiar el estado de la alarma a:", "storage-threshold": "Umbral de almacenamiento", "subject": "Asunto", - "subject-required": "El asunto es obligatorio", + "subject-required": "Se requiere el asunto", "subject-max-length": "El asunto debe tener menos o igual a {{ length }} caracteres", "template": "Plantilla", "template-name": "Nombre de la plantilla", - "template-required": "La plantilla es obligatoria", + "template-required": "Se requiere la plantilla", "template-type": { "alarm": "Alarma", "alarm-assignment": "Asignación de alarma", @@ -6055,15 +7177,17 @@ "entities-limit": "Límite de entidades", "entities-limit-increase-request": "Solicitud de aumento del límite de entidades", "addon-access-error": "Error de acceso a complemento/funcionalidad", + "addon-access-request": "Solicitud de acceso a complemento/función", + "plan-upgrade-request": "Solicitud de mejora del plan", "entity-action": "Acción de entidad", "general": "General", "integration-lifecycle-event": "Evento del ciclo de vida de la integración", "rule-engine-lifecycle-event": "Evento del ciclo de vida del motor de reglas", - "rule-node": "Nodo de regla", + "rule-node": "Nodo de reglas", "new-platform-version": "Nueva versión de la plataforma", "rate-limits": "Límites de tasa excedidos", - "edge-communication-failure": "Fallo de comunicación con el edge", - "edge-connection": "Conexión con el edge", + "edge-communication-failure": "Fallo de comunicación con el Edge", + "edge-connection": "Conexión con el Edge", "task-processing-failure": "Fallo de procesamiento de tarea", "resources-shortage": "Escasez de recursos", "report-generated": "Informe generado", @@ -6072,12 +7196,12 @@ }, "templates": "Plantillas", "notification-templates": "Notificaciones / Plantillas", - "tenant-profiles-list-rule-hint": "Si el campo está vacío, el disparador se aplicará a todos los perfiles de tenant", - "tenants-list-rule-hint": "Si el campo está vacío, el disparador se aplicará a todos los tenants", + "tenant-profiles-list-rule-hint": "Si el campo está vacío, el disparador se aplicará a todos los perfiles de inquilino", + "tenants-list-rule-hint": "Si el campo está vacío, el disparador se aplicará a todos los inquilinos", "threshold": "Umbral", "theme-color": "Color del tema", "time": "Hora", - "track-rule-node-events": "Rastrear eventos del nodo de regla", + "track-rule-node-events": "Rastrear eventos del nodo de reglas", "trigger": { "alarm": "Alarma", "alarm-assignment": "Asignación de alarma", @@ -6090,8 +7214,8 @@ "rule-engine-lifecycle-event": "Evento del ciclo de vida del motor de reglas", "new-platform-version": "Nueva versión de la plataforma", "rate-limits": "Límites de tasa superados", - "edge-connection": "Conexión de edge", - "edge-communication-failure": "Fallo de comunicación de edge", + "edge-connection": "Conexión de Edge", + "edge-communication-failure": "Fallo de comunicación de Edge", "task-processing-failure": "Fallo en el procesamiento de tarea", "resources-shortage": "Escasez de recursos", "trigger": "Disparador", @@ -6108,12 +7232,12 @@ "view-notification-template": "Ver plantilla de notificación", "view-rule": "Ver regla", "warning": "Advertencia", - "webhook-url": "URL del Webhook", - "webhook-url-required": "La URL del Webhook es obligatoria", + "webhook-url": "URL del webhook", + "webhook-url-required": "Se requiere la URL del webhook", "workflow-url": "URL del flujo de trabajo", - "workflow-url-required": "La URL del flujo de trabajo es obligatoria", + "workflow-url-required": "Se requiere la URL del flujo de trabajo", "channel-name": "Nombre del canal", - "channel-name-required": "El nombre del canal es obligatorio", + "channel-name-required": "Se requiere el nombre del canal", "settings": { "notification-settings": "Configuración de notificaciones", "reset-all": "Restablecer todas las configuraciones", @@ -6128,9 +7252,9 @@ "ota-update": { "add": "Agregar paquete", "assign-firmware": "Firmware asignado", - "assign-firmware-required": "El firmware asignado es obligatorio", + "assign-firmware-required": "Se requiere el firmware asignado", "assign-software": "Software asignado", - "assign-software-required": "El software asignado es obligatorio", + "assign-software-required": "Se requiere el software asignado", "auto-generate-checksum": "Generar checksum automáticamente", "cant-applied-group-all": "No se puede aplicar al grupo Todos", "checksum": "Checksum", @@ -6141,8 +7265,8 @@ "change-software": "El cambio de software puede provocar la actualización de { count, plural, =1 {1 dispositivo} other {# dispositivos} }.", "change-ota-setting-title": "¿Estás seguro de que deseas cambiar la configuración de OTA?", "chose-compatible-device-profile": "El paquete cargado solo estará disponible para dispositivos con el perfil seleccionado.", - "chose-firmware-distributed-device": "Seleccione el firmware que se distribuirá a los dispositivos", - "chose-software-distributed-device": "Seleccione el software que se distribuirá a los dispositivos", + "chose-firmware-distributed-device": "Elige el firmware que se distribuirá a los dispositivos", + "chose-software-distributed-device": "Elige el software que se distribuirá a los dispositivos", "content-type": "Tipo de contenido", "copy-checksum": "Copiar checksum", "copy-direct-url": "Copiar URL directa", @@ -6156,7 +7280,7 @@ "description": "Descripción", "direct-url": "URL directa", "direct-url-copied-message": "La URL directa del paquete se ha copiado al portapapeles", - "direct-url-required": "La URL directa es obligatoria", + "direct-url-required": "Se requiere la URL directa", "download": "Descargar paquete", "drop-file": "Suelta un archivo de paquete o haz clic para seleccionar un archivo para subir.", "drop-package-file-or": "Arrastra y suelta un archivo de paquete o", @@ -6178,7 +7302,7 @@ "search": "Buscar paquetes", "selected-package": "{ count, plural, =1 {1 paquete} other {# paquetes} } seleccionado", "title": "Título", - "title-required": "El título es obligatorio.", + "title-required": "Se requiere el título.", "title-max-length": "El título debe tener menos de 256 caracteres", "types": { "firmware": "Firmware", @@ -6187,7 +7311,7 @@ "upload-binary-file": "Subir archivo binario", "use-external-url": "Usar URL externa", "version": "Versión", - "version-required": "La versión es obligatoria.", + "version-required": "Se requiere la versión.", "version-tag": "Etiqueta de versión", "version-tag-hint": "La etiqueta personalizada debe coincidir con la versión del paquete informada por su dispositivo.", "version-max-length": "La versión debe tener menos de 256 caracteres", @@ -6217,11 +7341,11 @@ "security": "Seguridad", "general-settings": "Configuraciones generales de seguridad", "access-token": "Token de acceso", - "access-token-required": "El token de acceso es obligatorio", - "clientId": "ID de Cliente", - "clientId-required": "El ID de Cliente es obligatorio", + "access-token-required": "Se requiere el token de acceso", + "clientId": "ID de cliente", + "clientId-required": "Se requiere el ID de cliente", "username": "Nombre de usuario", - "username-required": "El nombre de usuario es obligatorio", + "username-required": "Se requiere el nombre de usuario", "ca-cert": "Certificado CA", "2fa": { "2fa": "Autenticación de dos factores", @@ -6374,11 +7498,12 @@ "resource-library-details": "Detalles del recurso", "resource-type": "Tipo de recurso", "resources-library": "Biblioteca de recursos", + "files": "Archivos", "search": "Buscar recursos", "selected-resources": "{ count, plural, =1 {1 recurso} other {# recursos} } seleccionados", "system": "Sistema", "title": "Título", - "title-required": "El título es obligatorio.", + "title-required": "Se requiere el título.", "title-max-length": "El título debe tener menos de 256 caracteres", "type": { "jks": "JKS", @@ -6416,6 +7541,8 @@ "drop-resource-file-or": "Arrastra y suelta un archivo JavaScript o", "javascript-library": "Biblioteca JavaScript", "javascript-type": "Tipo de JavaScript", + "scripts": "Scripts", + "script-type": "Tipo de script", "javascript-resource-details": "Detalles del recurso JavaScript", "javascript-resource-is-in-use": "El recurso JavaScript está siendo usado por otras entidades", "javascript-resources-are-in-use": "Los recursos JavaScript están siendo usados por otras entidades", @@ -6443,7 +7570,7 @@ "root": "Raíz", "delete": "Eliminar cadena de reglas", "name": "Nombre", - "name-required": "El nombre es obligatorio.", + "name-required": "Se requiere el nombre.", "name-max-length": "El nombre debe tener menos de 256 caracteres", "description": "Descripción", "add": "Agregar cadena de reglas", @@ -6467,37 +7594,48 @@ "create-new-rulechain": "Crear nueva cadena de reglas", "rulechain-file": "Archivo de cadena de reglas", "invalid-rulechain-file-error": "No se pudo importar la cadena de reglas: estructura de datos inválida.", + "rulechain-not-found-warning": "No se encontró la cadena de reglas por defecto. El perfil se guardó sin ella — puedes asignarla en la configuración del perfil.", "copyId": "Copiar ID de cadena de reglas", "idCopiedMessage": "El ID de la cadena de reglas ha sido copiado al portapapeles", "select-rulechain": "Seleccionar cadena de reglas", "no-rulechains-matching": "No se encontraron cadenas de reglas que coincidan con '{{entity}}'.", - "rulechain-required": "La cadena de reglas es obligatoria", + "rulechain-required": "Se requiere la cadena de reglas", "management": "Gestión de reglas", "debug-mode": "Modo depuración", "search": "Buscar cadenas de reglas", "selected-rulechains": "{ count, plural, =1 {1 cadena de reglas} other {# cadenas de reglas} } seleccionadas", "open-rulechain": "Abrir cadena de reglas", "edge-template-root": "Raíz de plantilla", - "assign-to-edge": "Asignar a borde", - "edge-rulechain": "Cadena de reglas de borde", - "unassign-rulechain-from-edge-text": "Después de la confirmación, la cadena de reglas será desasignada y no estará accesible desde el borde.", + "assign-to-edge": "Asignar a Edge", + "edge-rulechain": "Cadena de reglas de Edge", + "unassign-rulechain-from-edge-text": "Después de la confirmación, la cadena de reglas se desasignará y no será accesible para el Edge.", "unassign-rulechains-from-edge-title": "¿Estás seguro de que deseas desasignar { count, plural, =1 {1 cadena de reglas} other {# cadenas de reglas} }?", - "unassign-rulechains-from-edge-text": "Después de la confirmación, todas las cadenas de reglas seleccionadas serán desasignadas y no estarán accesibles desde el borde.", - "assign-rulechain-to-edge-title": "Asignar cadena(s) de reglas al borde", - "assign-rulechain-to-edge-text": "Por favor, selecciona las cadenas de reglas para asignar al borde", - "set-edge-template-root-rulechain": "Establecer como raíz de plantilla de borde", - "set-edge-tscheduler-eventemplate-root-rulechain": "Establecer como raíz de plantilla de borde", - "set-edge-template-root-rulechain-title": "¿Estás seguro de que deseas establecer la cadena de reglas '{{ruleChainName}}' como raíz de plantilla de borde?", - "set-edge-template-root-rulechain-text": "Después de la confirmación, la cadena de reglas se convertirá en raíz de plantilla de borde y será la cadena raíz para los bordes recién creados.", + "unassign-rulechains-from-edge-text": "Después de la confirmación, todas las cadenas de reglas seleccionadas se desasignarán y no serán accesibles para el Edge.", + "assign-rulechain-to-edge-title": "Asignar cadena(s) de reglas a Edge", + "assign-rulechain-to-edge-text": "Selecciona las cadenas de reglas que quieres asignar al Edge", + "set-edge-template-root-rulechain": "Establecer la cadena de reglas como raíz de plantilla de Edge", + "set-edge-tscheduler-eventemplate-root-rulechain": "Establecer la cadena de reglas como raíz de plantilla de Edge", + "set-edge-template-root-rulechain-title": "¿Estás seguro de que deseas establecer la cadena de reglas '{{ruleChainName}}' como raíz de plantilla de Edge?", + "set-edge-template-root-rulechain-text": "Después de la confirmación, la cadena de reglas se convertirá en raíz de plantilla de Edge y será la cadena de reglas raíz para los Edges recién creados.", "invalid-rulechain-type-error": "No se pudo importar la cadena de reglas: tipo de cadena inválido. El tipo esperado es {{expectedRuleChainType}}.", - "set-auto-assign-to-edge": "Asignar cadena de reglas automáticamente al crear borde(s)", - "set-auto-assign-to-edge-title": "¿Estás seguro de que deseas asignar la cadena de reglas de borde '{{ruleChainName}}' automáticamente al crear borde(s)?", - "set-auto-assign-to-edge-text": "Después de la confirmación, la cadena de reglas de borde se asignará automáticamente al crear borde(s).", - "unset-auto-assign-to-edge": "No asignar cadena de reglas a borde(s) al crearlos", - "unset-auto-assign-to-edge-title": "¿Estás seguro de que no deseas asignar la cadena de reglas de borde '{{ruleChainName}}' al crear borde(s)?", - "unset-auto-assign-to-edge-text": "Después de la confirmación, la cadena de reglas de borde ya no se asignará automáticamente al crear borde(s).", + "set-auto-assign-to-edge": "Asignar la cadena de reglas a Edge(s) al crearlos", + "set-auto-assign-to-edge-title": "¿Estás seguro de que deseas asignar la cadena de reglas de Edge '{{ruleChainName}}' a Edge(s) al crearlos?", + "set-auto-assign-to-edge-text": "Después de la confirmación, la cadena de reglas de Edge se asignará automáticamente a Edge(s) al crearlos.", + "unset-auto-assign-to-edge": "No asignar la cadena de reglas a Edge(s) al crearlos", + "unset-auto-assign-to-edge-title": "¿Estás seguro de que no deseas asignar la cadena de reglas de Edge '{{ruleChainName}}' a Edge(s) al crearlos?", + "unset-auto-assign-to-edge-text": "Después de la confirmación, la cadena de reglas de Edge ya no se asignará automáticamente a Edge(s) al crearlos.", "unassign-rulechain-title": "¿Estás seguro de que deseas desasignar la cadena de reglas '{{ruleChainName}}'?", - "unassign-rulechains": "Desasignar cadenas de reglas" + "unassign-rulechains": "Desasignar cadenas de reglas", + "add-note": "Agregar nota", + "paste-note": "Pegar nota", + "note": "Nota", + "edit-note": "Editar nota", + "note-content": "Contenido Markdown/HTML", + "note-details": "Detalles de la nota", + "note-background-color": "Color de fondo", + "note-border": "Borde", + "note-apply-default-markdown-style": "Aplicar estilo de markdown por defecto", + "note-custom-css": "CSS del contenido de la nota" }, "rulenode": { "rule-node-events": "Eventos del nodo de reglas", @@ -6508,7 +7646,7 @@ "close-node-library": "Cerrar biblioteca de nodos", "add": "Agregar nodo de reglas", "name": "Nombre", - "name-required": "El nombre es obligatorio.", + "name-required": "Se requiere el nombre.", "name-max-length": "El nombre debe tener menos de 256 caracteres", "type": "Tipo", "rule-node-description": "Descripción del nodo de reglas", @@ -6529,11 +7667,11 @@ "link-details": "Detalles del enlace del nodo de reglas", "add-link": "Agregar enlace", "link-label": "Etiqueta del enlace", - "link-label-required": "La etiqueta del enlace es obligatoria.", + "link-label-required": "Se requiere la etiqueta del enlace.", "custom-link-label": "Etiqueta personalizada del enlace", - "custom-link-label-required": "La etiqueta personalizada del enlace es obligatoria.", + "custom-link-label-required": "Se requiere la etiqueta de enlace personalizada.", "link-labels": "Etiquetas del enlace", - "link-labels-required": "Las etiquetas del enlace son obligatorias.", + "link-labels-required": "Se requieren las etiquetas de enlace.", "no-link-labels-found": "No se encontraron etiquetas del enlace", "no-link-label-matching": "'{{label}}' no encontrado.", "create-new-link-label": "¡Crear una nueva!", @@ -6567,7 +7705,7 @@ "message": "Mensaje", "message-type": "Tipo de mensaje", "select-message-type": "Seleccionar tipo de mensaje", - "message-type-required": "El tipo de mensaje es obligatorio", + "message-type-required": "Se requiere el tipo de mensaje", "metadata": "Metadatos", "metadata-required": "Las entradas de metadatos no pueden estar vacías.", "output": "Salida", @@ -6589,33 +7727,33 @@ "device-name-pattern": "Nombre del dispositivo", "asset-name-pattern": "Nombre del activo", "entity-view-name-pattern": "Nombre de vista de entidad", - "customer-title-pattern": "Título del customer", + "customer-title-pattern": "Título del cliente", "dashboard-name-pattern": "Título del tablero", "user-name-pattern": "Correo del usuario", "edge-name-pattern": "Nombre del Edge", - "entity-name-pattern-required": "El patrón de nombre es obligatorio", + "entity-name-pattern-required": "Se requiere el patrón de nombre", "entity-name-pattern-hint": "El campo patrón de nombre admite plantillas. Usa $[messageKey] para extraer el valor del mensaje y ${metadataKey} para extraerlo de los metadatos.", "copy-message-type": "Copiar tipo de mensaje", "entity-type-pattern": "Patrón de tipo", - "entity-type-pattern-required": "El patrón de tipo es obligatorio", + "entity-type-pattern-required": "Se requiere el patrón de tipo", "message-type-value": "Valor del tipo de mensaje", - "message-type-value-required": "El valor del tipo de mensaje es obligatorio", + "message-type-value-required": "Se requiere el valor del tipo de mensaje", "message-type-value-max-length": "El valor del tipo de mensaje debe tener menos de 256 caracteres", "output-message-type": "Tipo de mensaje de salida", "entity-cache-expiration": "Tiempo de expiración de la caché de entidades (seg)", "entity-cache-expiration-hint": "Especifica el intervalo de tiempo máximo permitido para almacenar registros de entidades encontrados. El valor 0 significa que los registros nunca expirarán.", - "entity-cache-expiration-required": "El tiempo de expiración de la caché de entidades es obligatorio.", + "entity-cache-expiration-required": "Se requiere el tiempo de expiración de la caché de entidades.", "entity-cache-expiration-range": "El tiempo de expiración debe ser mayor o igual a 0.", - "customer-name-pattern": "Título del customer", - "customer-name-pattern-required": "El título del customer es obligatorio", + "customer-name-pattern": "Título del cliente", + "customer-name-pattern-required": "Se requiere el título del cliente", "customer-name-pattern-hint": "Usa $[messageKey] para extraer el valor del mensaje y ${metadataKey} para extraerlo de los metadatos.", - "create-customer-if-not-exists": "Crear nuevo customer si no existe", - "unassign-from-customer": "Desasignar de customer específico si el originador es un tablero", - "unassign-from-customer-tooltip": "Solo los tableros pueden asignarse a múltiples customers al mismo tiempo.\nSi el originador del mensaje es un tablero, debes especificar explícitamente el título del customer del que se desea desasignar.", - "customer-cache-expiration": "Tiempo de expiración de la caché de customers (seg)", - "customer-cache-expiration-hint": "Especifica el intervalo de tiempo máximo permitido para almacenar registros de customers encontrados. El valor 0 significa que los registros nunca expirarán.", - "customer-cache-expiration-required": "El tiempo de expiración de la caché de customers es obligatorio.", - "customer-cache-expiration-range": "El tiempo de expiración debe ser mayor o igual a 0.", + "create-customer-if-not-exists": "Crear nuevo cliente si no existe", + "unassign-from-customer": "Desasignar de cliente específico si el originador es un tablero", + "unassign-from-customer-tooltip": "Solo los tableros pueden asignarse a varios clientes a la vez. \nSi el originador del mensaje es un tablero, debes especificar explícitamente el título del cliente del que se desasignará.", + "customer-cache-expiration": "Tiempo de expiración de la caché de clientes (seg)", + "customer-cache-expiration-hint": "Especifica el intervalo de tiempo máximo permitido para almacenar registros de clientes encontrados. El valor 0 significa que los registros nunca expirarán.", + "customer-cache-expiration-required": "Se requiere el tiempo de expiración de la caché de clientes.", + "customer-cache-expiration-range": "El tiempo de expiración de la caché de clientes debe ser mayor o igual a 0.", "interval-start": "Inicio del intervalo", "interval-end": "Fin del intervalo", "time-unit": "Unidad de tiempo", @@ -6623,7 +7761,7 @@ "order-by-timestamp": "Ordenar por marca de tiempo", "limit": "Límite", "limit-hint": "El valor mínimo es 2, máximo - 1000. Si deseas obtener una sola entrada, selecciona el modo 'Primero' o 'Último'.", - "limit-required": "El límite es obligatorio.", + "limit-required": "Se requiere el límite.", "limit-range": "El límite debe estar en el rango de 2 a 1000.", "time-unit-milliseconds": "Milisegundos", "time-unit-seconds": "Segundos", @@ -6631,8 +7769,8 @@ "time-unit-hours": "Horas", "time-unit-days": "Días", "time-value-range": "Rango permitido de 1 a 2147483647.", - "start-interval-value-required": "El inicio del intervalo es obligatorio.", - "end-interval-value-required": "El fin del intervalo es obligatorio.", + "start-interval-value-required": "Se requiere el inicio del intervalo.", + "end-interval-value-required": "Se requiere el fin del intervalo.", "filter": "Filtro", "switch": "Conmutador", "math-templatization-tooltip": "Este campo admite plantillas. Usa $[messageKey] para extraer el valor del mensaje y ${metadataKey} para extraerlo de los metadatos.", @@ -6642,12 +7780,12 @@ "no-message-types-found": "No se encontraron tipos de mensaje", "no-message-type-matching": "'{{messageType}}' no encontrado.", "create-new-message-type": "Crear uno nuevo.", - "message-types-required": "Los tipos de mensaje son obligatorios.", + "message-types-required": "Se requieren los tipos de mensaje.", "client-attributes": "Atributos del cliente", "shared-attributes": "Atributos compartidos", "server-attributes": "Atributos del servidor", "attributes-keys": "Claves de atributos", - "attributes-keys-required": "Las claves de atributos son obligatorias", + "attributes-keys-required": "Se requieren las claves de atributos", "attributes-scope": "Ámbito de los atributos", "attributes-scope-value": "Valor del ámbito de los atributos", "attributes-scope-value-copy": "Copiar valor del ámbito de los atributos", @@ -6677,21 +7815,21 @@ "metadata-to-data": "Metadatos a datos", "use-regular-expression-hint": "Usa expresión regular para copiar claves por patrón.\n\nConsejos y trucos:\nPresiona 'Enter' para completar el nombre del campo.\nPresiona 'Retroceso' para eliminar el nombre del campo. Se admiten múltiples nombres de campos.", "interval": "Intervalo", - "interval-required": "El intervalo es obligatorio", + "interval-required": "Se requiere el intervalo", "interval-hint": "Intervalo de desduplicación en segundos.", "interval-min-error": "El valor mínimo permitido es 1", "max-pending-msgs": "Máximo de mensajes pendientes", "max-pending-msgs-hint": "Número máximo de mensajes que se almacenan en memoria para cada id único de desduplicación.", - "max-pending-msgs-required": "El máximo de mensajes pendientes es obligatorio", + "max-pending-msgs-required": "Se requiere el máximo de mensajes pendientes", "max-pending-msgs-max-error": "El valor máximo permitido es 1000", "max-pending-msgs-min-error": "El valor mínimo permitido es 1", "max-retries": "Máximo de reintentos", - "max-retries-required": "El número máximo de reintentos es obligatorio", + "max-retries-required": "Se requiere el número máximo de reintentos", "max-retries-hint": "Número máximo de reintentos para insertar los mensajes desduplicados en la cola. Se usa un retraso de 10 segundos entre reintentos.", "max-retries-max-error": "El valor máximo permitido es 100", "max-retries-min-error": "El valor mínimo permitido es 0", "strategy": "Estrategia", - "strategy-required": "La estrategia es obligatoria", + "strategy-required": "Se requiere la estrategia", "strategy-all-hint": "Devuelve todos los mensajes que llegaron durante el periodo de desduplicación como un único mensaje JSON en forma de array. Cada elemento representa un objeto con propiedades internas msg y metadata.", "strategy-first-hint": "Devuelve el primer mensaje que llegó durante el periodo de desduplicación.", "strategy-last-hint": "Devuelve el último mensaje que llegó durante el periodo de desduplicación.", @@ -6701,18 +7839,18 @@ "output-msg-type-hint": "El tipo de mensaje del resultado de la desduplicación.", "queue-name-hint": "El nombre de la cola donde se publicará el resultado de la desduplicación.", "keys": "Claves", - "keys-required": "Las claves son obligatorias", + "keys-required": "Se requieren las claves", "rename-keys-in": "Renombrar claves en", "data": "Datos", "message": "Mensaje", "metadata": "Metadatos", "current-key-name": "Nombre actual de la clave", - "key-name-required": "El nombre de la clave es obligatorio", + "key-name-required": "Se requiere el nombre de la clave", "new-key-name": "Nuevo nombre de la clave", - "new-key-name-required": "El nuevo nombre de la clave es obligatorio", + "new-key-name-required": "Se requiere el nuevo nombre de la clave", "metadata-keys": "Nombres de campos de metadatos", "json-path-expression": "Expresión de ruta JSON", - "json-path-expression-required": "La expresión de ruta JSON es obligatoria", + "json-path-expression-required": "Se requiere la expresión de ruta JSON", "json-path-expression-hint": "JSONPath especifica una ruta a un elemento o conjunto de elementos en una estructura JSON. '$' representa el objeto raíz o el array.", "relations-query": "Consulta de relaciones", "device-relations-query": "Consulta de relaciones del dispositivo", @@ -6721,7 +7859,7 @@ "max-relation-level-invalid": "El valor debe ser un número entero.", "relation-type": "Tipo de relación", "relation-type-pattern": "Patrón de tipo de relación", - "relation-type-pattern-required": "El patrón de tipo de relación es obligatorio", + "relation-type-pattern-required": "Se requiere el patrón de tipo de relación", "relation-types-list": "Tipos de relación para propagar", "relation-types-list-hint": "Si no se seleccionan tipos de relación para propagar, las alarmas se propagarán sin filtrar por tipo de relación.", "unlimited-level": "Nivel ilimitado", @@ -6732,11 +7870,11 @@ "fetch-into": "Obtener en", "attr-mapping": "Mapeo de atributos:", "source-attribute": "Clave del atributo de origen", - "source-attribute-required": "La clave del atributo de origen es obligatoria.", + "source-attribute-required": "Se requiere la clave del atributo de origen.", "source-telemetry": "Clave de telemetría de origen", - "source-telemetry-required": "La clave de telemetría de origen es obligatoria.", + "source-telemetry-required": "Se requiere la clave de telemetría de origen.", "target-key": "Clave de destino", - "target-key-required": "La clave de destino es obligatoria.", + "target-key-required": "Se requiere la clave de destino.", "attr-mapping-required": "Debe especificarse al menos una entrada de mapeo.", "fields-mapping": "Mapeo de campos", "fields-mapping-hint": "Si el campo del mensaje se establece en $entityId, se guardará el ID del originador del mensaje en la columna correspondiente de la tabla.", @@ -6750,48 +7888,48 @@ "originator-fields-sv-map-hint": "Los campos de clave de destino admiten plantillas. Usa $[messageKey] para extraer valores del mensaje y ${metadataKey} para extraer valores de los metadatos.", "sv-map-hint": "Solo los campos de clave de destino admiten plantillas. Usa $[messageKey] para extraer valores del mensaje y ${metadataKey} para extraer valores de los metadatos.", "source-field": "Campo fuente", - "source-field-required": "El campo fuente es obligatorio.", + "source-field-required": "Se requiere el campo de origen.", "originator-source": "Fuente del originador", "new-originator": "Nuevo originador", - "originator-customer": "Customer", - "originator-tenant": "Tenant", + "originator-customer": "Cliente", + "originator-tenant": "Inquilino", "originator-related": "Entidad relacionada", "originator-alarm-originator": "Originador de la alarma", "originator-entity": "Entidad por patrón de nombre", "clone-message": "Clonar mensaje", "no-owners-matching": "No se encontraron propietarios que coincidan con '{{entity}}'.", - "owner-required": "El propietario es obligatorio.", + "owner-required": "Se requiere el propietario.", "owner": "Propietario", "owner-of-entity-group": "Propietario del grupo de entidades", "entity-group": "Grupo de entidades", "transform": "Transformar", "default-ttl": "TTL por defecto", - "default-ttl-required": "El TTL por defecto es obligatorio.", - "default-ttl-hint": "El nodo de regla obtendrá el valor de TTL del mensaje metadata. Si no hay ningún valor, usará el TTL especificado en la configuración. Si se establece en 0, se usará el TTL del perfil del tenant.", + "default-ttl-required": "Se requiere el TTL por defecto.", + "default-ttl-hint": "El nodo de reglas obtendrá el valor de tiempo de vida (TTL) de los metadatos del mensaje. Si no hay ningún valor, se usará por defecto el TTL especificado en la configuración. Si el valor se establece en 0, se aplicará el TTL de la configuración del perfil de inquilino.", "default-ttl-zero-hint": "No se aplicará TTL si el valor es 0.", "min-default-ttl-message": "Solo se permite un TTL mínimo de 0.", "generation-parameters": "Parámetros de generación", "message-count": "Límite de mensajes generados (0 - ilimitado)", - "message-count-required": "El límite de mensajes generados es obligatorio.", + "message-count-required": "Se requiere el límite de mensajes generados.", "min-message-count-message": "Solo se permite un mínimo de 0 mensajes.", "period-seconds": "Periodo en segundos", - "period-seconds-required": "El periodo es obligatorio.", + "period-seconds-required": "Se requiere el período.", "generation-frequency-seconds": "Frecuencia de generación en segundos", - "generation-frequency-required": "La frecuencia de generación es obligatoria.", - "min-generation-frequency-message": "Se permite un mínimo de 60 segundos.", + "generation-frequency-required": "Se requiere la frecuencia de generación.", + "min-generation-frequency-message": "Solo se permite un mínimo de 1 segundo.", "script-lang-tbel": "TBEL", "script-lang-js": "JS", "use-metadata-period-in-seconds-patterns": "Usar patrón de periodo en segundos", - "use-metadata-period-in-seconds-patterns-hint": "Si se selecciona, el nodo de regla usará el patrón de intervalo de segundos del mensaje metadata o data suponiendo que los intervalos están en segundos.", + "use-metadata-period-in-seconds-patterns-hint": "Si se selecciona, el nodo de reglas usará el patrón de intervalo de segundos del mensaje metadata o data suponiendo que los intervalos están en segundos.", "period-in-seconds-pattern": "Patrón de periodo en segundos", - "period-in-seconds-pattern-required": "El patrón de periodo en segundos es obligatorio", - "min-period-seconds-message": "Solo se permite un mínimo de 60 segundos.", + "period-in-seconds-pattern-required": "Se requiere el patrón del período en segundos", + "min-period-seconds-message": "Solo se permite un período mínimo de 1 segundo.", "originator": "Originador", "message-body": "Cuerpo del mensaje", "message-metadata": "Metadatos del mensaje", "generate": "Generar", - "current-rule-node": "Nodo de regla actual", - "current-tenant": "Tenant actual", + "current-rule-node": "Nodo de reglas actual", + "current-tenant": "Inquilino actual", "generator-function": "Función generadora", "test-generator-function": "Probar función generadora", "generator": "Generador", @@ -6803,42 +7941,42 @@ "transformer": "Transformador", "alarm-create-condition": "Condición de creación de alarma", "test-condition-function": "Probar función de condición", - "alarm-clear-condition": "Condición de limpieza de alarma", + "alarm-clear-condition": "Condición para resolver la alarma", "alarm-details-builder": "Constructor de detalles de alarma", "test-details-function": "Probar función de detalles", "alarm-type": "Tipo de alarma", "select-entity-types": "Seleccionar tipos de entidad", - "alarm-type-required": "El tipo de alarma es obligatorio.", + "alarm-type-required": "Se requiere el tipo de alarma.", "alarm-severity": "Severidad de la alarma", - "alarm-severity-required": "La severidad de la alarma es obligatoria", + "alarm-severity-required": "Se requiere la severidad de la alarma", "alarm-severity-pattern": "Patrón de severidad de la alarma", "alarm-status-filter": "Filtro de estado de la alarma", "alarm-status-list-empty": "La lista de estados de alarma está vacía", "no-alarm-status-matching": "No se encontró ningún estado de alarma coincidente.", "no-alarm-severity-matching": "No se encontró ninguna severidad de alarma coincidente.", "propagate": "Propagar alarma a entidades relacionadas", - "propagate-to-owner": "Propagar alarma al propietario de la entidad (Customer o Tenant)", + "propagate-to-owner": "Propagar la alarma al propietario de la entidad (cliente o inquilino)", "propagate-to-owner-hierarchy": "Propagar alarma a la jerarquía del propietario de la entidad", - "propagate-to-tenant": "Propagar alarma al Tenant", + "propagate-to-tenant": "Propagar la alarma al inquilino", "condition": "Condición", "details": "Detalles", "to-string": "A cadena", "test-to-string-function": "Probar función a cadena", "from-template": "Desde", - "from-template-required": "El campo 'Desde' es obligatorio", + "from-template-required": "Se requiere el remitente", "message-to-metadata": "Mensaje a metadatos", "metadata-to-message": "Metadatos a mensaje", "from-message": "Desde el mensaje", "from-metadata": "Desde metadatos", "to-template": "Hacia", - "to-template-required": "El campo 'Hacia' es obligatorio", + "to-template-required": "Se requiere la plantilla de destinatario", "mail-address-list-template-hint": "Lista de direcciones separadas por comas, usa ${metadataKey} para valores desde metadatos, $[messageKey] para valores desde el cuerpo del mensaje", "cc-template": "Cc", "bcc-template": "Bcc", "subject-template": "Asunto", - "subject-template-required": "El campo de Asunto es obligatorio", + "subject-template-required": "Se requiere la plantilla de asunto", "body-template": "Cuerpo", - "body-template-required": "El campo de Cuerpo es obligatorio", + "body-template-required": "Se requiere la plantilla de cuerpo", "dynamic-mail-body-type": "Tipo de cuerpo dinámico", "mail-body-type": "Tipo de cuerpo de correo", "body-type-template": "Plantilla de tipo de cuerpo", @@ -6849,13 +7987,14 @@ "service-id-metadata-attribute": "Id de servicio", "session-id-metadata-attribute": "Id de sesión", "timeout-sec": "Tiempo de espera en segundos", - "timeout-required": "El tiempo de espera es obligatorio", + "timeout-required": "Se requiere el tiempo de espera", "min-timeout-message": "Solo se permite un valor mínimo de tiempo de espera de 0.", "endpoint-url-pattern": "Patrón de URL del endpoint", - "endpoint-url-pattern-required": "El patrón de URL del endpoint es obligatorio", + "endpoint-url-pattern-required": "Se requiere el patrón de URL del endpoint", "request-method": "Método de solicitud", - "use-simple-client-http-factory": "Usar cliente HTTP simple", "ignore-request-body": "Sin cuerpo de solicitud", + "request-body-template": "Plantilla del cuerpo de la solicitud", + "request-body-template-hint": "Usa ${metadataKey} para los metadatos, $[messageKey] para los valores del mensaje. Si está vacío, se usa la carga útil del mensaje como cuerpo de la solicitud. Para cargas útiles que no sean JSON, habilita 'Parsear a texto plano'.

    Puedes inyectar un secreto usando el marcador de posición ${secret:name;type:TYPE}, donde 'name' es el identificador del secreto y 'type' es TEXT o TEXT_FILE. Esto es útil en los campos de configuración de nodos de reglas que no admiten 'Usar secreto' directamente. Ejemplo: ${secret:contraseña del inquilino;type:TEXT}.", "parse-to-plain-text": "Parsear a texto plano", "parse-to-plain-text-hint": "Si está seleccionado, el cuerpo del mensaje de solicitud será transformado de cadena JSON a texto plano, por ejemplo: msg = \"Hello,\\t\\\"world\\\"\" será convertido a Hello, \"world\"", "read-timeout": "Tiempo de espera de lectura en milisegundos", @@ -6865,22 +8004,23 @@ "max-response-size": "Tamaño máximo de respuesta (en KB)", "max-response-size-hint": "Cantidad máxima de memoria asignada para almacenar datos al decodificar o codificar mensajes HTTP como cargas JSON o XML", "headers": "Encabezados", - "headers-hint": "Usa ${metadataKey} para valores desde metadatos, $[messageKey] para valores desde el cuerpo del mensaje en campos de encabezado/valor", + "headers-hint": "Usa ${metadataKey} para el valor de los metadatos, $[messageKey] para el valor del cuerpo del mensaje en los campos de encabezado/valor.

    Puedes inyectar un secreto usando el marcador de posición ${secret:name;type:TYPE}, donde 'name' es el identificador del secreto y 'type' es TEXT o TEXT_FILE. Esto es útil en los campos de configuración de nodos de reglas que no admiten 'Usar secreto' directamente. Ejemplo: ${secret:Header;type:TEXT}.", "header": "Encabezado", - "header-required": "El encabezado es obligatorio", + "header-required": "Se requiere el encabezado", "value": "Valor", - "value-required": "El valor es obligatorio", + "value-required": "Se requiere el valor", "topic-pattern": "Patrón de tópico", "key-pattern": "Patrón de clave", "key-pattern-hint": "Opcional. Si se especifica un número de partición válido, se usará al enviar el registro. Si no se especifica partición, se usará la clave. Si no se especifica ninguno, se asignará una partición en orden circular.", - "topic-pattern-required": "El patrón de tópico es obligatorio", + "topic-pattern-required": "Se requiere el patrón del tema", "topic": "Tópico", - "topic-required": "El tópico es obligatorio", + "topic-required": "Se requiere el tema", "bootstrap-servers": "Servidores bootstrap", - "bootstrap-servers-required": "El valor de servidores bootstrap es obligatorio", + "bootstrap-servers-required": "Se requiere el valor de los servidores Bootstrap", "other-properties": "Otras propiedades", + "other-properties-empty": "No hay otras propiedades configuradas", "key": "Clave", - "key-required": "La clave es obligatoria", + "key-required": "Se requiere la clave", "retries": "Reintentos automáticos en caso de fallo", "min-retries-message": "Solo se permite un mínimo de 0 reintentos.", "batch-size-bytes": "Tamaño del lote en bytes", @@ -6892,20 +8032,20 @@ "memory-buffer-size-range": "El tamaño del buffer de memoria debe estar entre 0 y {{max}} KB", "acks": "Número de confirmaciones", "topic-arn-pattern": "Patrón del ARN del tópico", - "topic-arn-pattern-required": "El patrón del ARN del tópico es obligatorio", + "topic-arn-pattern-required": "Se requiere el patrón de ARN del tema", "aws-access-key-id": "ID de clave de acceso AWS", - "aws-access-key-id-required": "El ID de clave de acceso AWS es obligatorio", + "aws-access-key-id-required": "Se requiere el ID de clave de acceso de AWS", "aws-secret-access-key": "Clave secreta de acceso AWS", - "aws-secret-access-key-required": "La clave secreta de acceso AWS es obligatoria", + "aws-secret-access-key-required": "Se requiere la clave de acceso secreta de AWS", "aws-region": "Región AWS", - "aws-region-required": "La región AWS es obligatoria", + "aws-region-required": "Se requiere la región de AWS", "exchange-name-pattern": "Patrón de nombre de exchange", "routing-key-pattern": "Patrón de clave de enrutamiento", "message-properties": "Propiedades del mensaje", "host": "Host", - "host-required": "El host es obligatorio", + "host-required": "Se requiere el host", "port": "Puerto", - "port-required": "El puerto es obligatorio", + "port-required": "Se requiere el puerto", "port-range": "El puerto debe estar en el rango de 1 a 65535.", "virtual-host": "Host virtual", "username": "Nombre de usuario", @@ -6916,56 +8056,58 @@ "handshake-timeout-ms": "Tiempo de espera de apretón de manos (ms)", "min-handshake-timeout-ms-message": "Solo se permite un valor mínimo de 0 ms.", "client-properties": "Propiedades del cliente", + "client-properties-empty": "No hay propiedades del cliente configuradas", "queue-url-pattern": "Patrón de URL de la cola", - "queue-url-pattern-required": "El patrón de URL de la cola es obligatorio", + "queue-url-pattern-required": "Se requiere el patrón de URL de la cola", "delay-seconds": "Retardo (segundos)", "min-delay-seconds-message": "Solo se permite un valor mínimo de 0 segundos.", "max-delay-seconds-message": "Solo se permite un valor máximo de 900 segundos.", "name": "Nombre", - "name-required": "El nombre es obligatorio", + "name-required": "Se requiere el nombre", "queue-type": "Tipo de cola", "sqs-queue-standard": "Estándar", "sqs-queue-fifo": "FIFO", "gcp-project-id": "ID del proyecto de GCP", - "gcp-project-id-required": "El ID del proyecto de GCP es obligatorio", + "gcp-project-id-required": "Se requiere el ID del proyecto de GCP", "gcp-service-account-key": "Archivo de clave de cuenta de servicio de GCP", - "gcp-service-account-key-required": "El archivo de clave de cuenta de servicio de GCP es obligatorio", + "gcp-service-account-key-required": "Se requiere el archivo de clave de la cuenta de servicio de GCP", "pubsub-topic-name": "Nombre del tópico", - "pubsub-topic-name-required": "El nombre del tópico es obligatorio", + "pubsub-topic-name-required": "Se requiere el nombre del tema", "message-attributes": "Atributos del mensaje", + "message-attributes-empty": "No hay atributos de mensaje configurados", "message-attributes-hint": "Usa ${metadataKey} para valores desde metadatos, $[messageKey] para valores desde el cuerpo del mensaje en campos nombre/valor", "connect-timeout": "Tiempo de espera de conexión (seg)", - "connect-timeout-required": "El tiempo de espera de conexión es obligatorio.", + "connect-timeout-required": "Se requiere el tiempo de espera de conexión.", "connect-timeout-range": "El tiempo de espera de conexión debe estar en el rango de 1 a 200.", "client-id": "ID del cliente", - "client-id-hint": "Opcional. Déjelo vacío para un ID de cliente autogenerado. Cuidado al especificar el ID del cliente. La mayoría de los brokers MQTT no permiten múltiples conexiones con el mismo ID. Para evitar errores en entornos de microservicios, habilite la opción \"Agregar ID de servicio como sufijo al ID de cliente\".", + "client-id-hint": "Opcional. Déjalo vacío para generar automáticamente el ID de cliente. Ten cuidado al especificar el ID de cliente. La mayoría de los brokers MQTT no permiten múltiples conexiones con el mismo ID de cliente. Para conectarte a dichos brokers, tu ID de cliente MQTT debe ser único. Cuando la plataforma se ejecuta en modo de microservicios, se inicia una copia del nodo de reglas en cada microservicio. Esto generará automáticamente múltiples clientes MQTT con el mismo ID y puede provocar fallos del nodo de reglas. Para evitar estos fallos, habilita la opción \"Agregar ID de servicio como sufijo al ID de cliente\" a continuación.", "append-client-id-suffix": "Agregar ID de servicio como sufijo al ID del cliente", - "client-id-suffix-hint": "Opcional. Se aplica cuando se especifica un \"ID de cliente\" explícitamente. Si está seleccionado, el ID del servicio se agregará como sufijo al ID del cliente.", + "client-id-suffix-hint": "Opcional. Se aplica cuando se especifica un \"ID del cliente\" explícitamente. Si está seleccionado, el ID del servicio se agregará como sufijo al ID del cliente.", "device-id": "ID del dispositivo", - "device-id-required": "El ID del dispositivo es obligatorio.", + "device-id-required": "Se requiere el ID del dispositivo.", "clean-session": "Sesión limpia", "enable-ssl": "Habilitar SSL", "credentials": "Credenciales", "credentials-type": "Tipo de credenciales", - "credentials-type-required": "El tipo de credenciales es obligatorio.", + "credentials-type-required": "Se requiere el tipo de credenciales.", "credentials-anonymous": "Anónimo", "credentials-basic": "Básico", "credentials-pem": "PEM", "credentials-pem-hint": "Se requiere al menos el archivo del certificado CA del servidor o un par de archivos del certificado del cliente y la clave privada del cliente.", "credentials-sas": "Firma de acceso compartido (Shared Access Signature)", - "secret-placeholder-hint": "Puedes inyectar un secreto usando el marcador de posición ${secret:name;type:TYPE}, donde 'name' es el identificador del secreto y 'type' es TEXT o TEXT_FILE. Esto es útil en campos de configuración del nodo de regla que no admiten directamente 'Usar secreto'. Ejemplo: ${secret:Header;type:TEXT}", + "secret-placeholder-hint": "Puedes inyectar un secreto usando el marcador de posición ${secret:name;type:TYPE}, donde 'name' es el identificador del secreto y 'type' es TEXT o TEXT_FILE. Esto es útil en campos de configuración del nodo de reglas que no admiten directamente 'Usar secreto'. Ejemplo: ${secret:Header;type:TEXT}", "sas-key": "Clave SAS", - "sas-key-required": "La clave SAS es obligatoria.", + "sas-key-required": "Se requiere la clave SAS.", "hostname": "Nombre del host", - "hostname-required": "El nombre del host es obligatorio.", + "hostname-required": "Se requiere el nombre de host.", "azure-ca-cert": "Archivo de certificado CA", - "username-required": "El nombre de usuario es obligatorio.", - "password-required": "La contraseña es obligatoria.", + "username-required": "Se requiere el nombre de usuario.", + "password-required": "Se requiere la contraseña.", "ca-cert": "Archivo del certificado CA del servidor", "private-key": "Archivo de clave privada del cliente", "cert": "Archivo de certificado del cliente", "no-file": "No se seleccionó ningún archivo.", - "drop-file": "Suelte un archivo o haga clic para seleccionar uno para cargar.", + "drop-file": "Suelta un archivo o haz clic para seleccionar un archivo para cargar.", "private-key-password": "Contraseña de la clave privada", "use-system-smtp-settings": "Usar configuración SMTP del sistema", "use-metadata-dynamic-interval": "Usar intervalo dinámico", @@ -6988,51 +8130,52 @@ "change-originator-to-related-entity-hint": "Se utiliza para procesar el mensaje como si viniera de otra entidad.", "start-interval": "Inicio del intervalo", "end-interval": "Fin del intervalo", - "start-interval-required": "El inicio del intervalo es obligatorio.", - "end-interval-required": "El fin del intervalo es obligatorio.", + "start-interval-required": "Se requiere el inicio del intervalo.", + "end-interval-required": "Se requiere el fin del intervalo.", "smtp-protocol": "Protocolo", "smtp-host": "Host SMTP", - "smtp-host-required": "El host SMTP es obligatorio.", + "smtp-host-required": "Se requiere el host SMTP.", "smtp-port": "Puerto SMTP", "smtp-port-required": "Debe proporcionar un puerto SMTP.", "smtp-port-range": "El puerto SMTP debe estar en un rango de 1 a 65535.", "timeout-msec": "Tiempo de espera ms", "min-timeout-msec-message": "Solo se permite un mínimo de 0 ms.", - "enter-username": "Ingrese nombre de usuario", - "enter-password": "Ingrese contraseña", + "enter-username": "Ingresa el nombre de usuario", + "enter-password": "Ingresa la contraseña", "enable-tls": "Habilitar TLS", "group-name-pattern": "Patrón de nombre del grupo", - "group-name-pattern-required": "El patrón de nombre del grupo es obligatorio", + "group-name-pattern-required": "Se requiere el patrón del nombre de grupo", "create-group-if-not-exists": "Crear nuevo grupo si no existe", "group-cache-expiration": "Tiempo de expiración de caché de grupos (seg)", - "group-cache-expiration-required": "El tiempo de expiración de caché de grupos es obligatorio.", + "group-cache-expiration-required": "Se requiere el tiempo de expiración de la caché de grupos.", "group-cache-expiration-range": "El tiempo de expiración de caché de grupos debe ser mayor o igual a 0.", "group-cache-expiration-hint": "Especifica el intervalo máximo permitido para almacenar registros de grupos de entidades encontrados. El valor 0 significa que los registros nunca expirarán.", - "remove-from-current-groups": "Eliminar de los grupos actuales", + "remove-from-current-groups": "Quitar de los grupos actuales", "use-report-config-from-message": "Usar configuración del informe desde el mensaje", + "use-report-config-from-message-hint": "Si está habilitado, el nodo de reglas obtendrá la configuración de generación de informes del mensaje entrante; de lo contrario, se usa la configuración especificada a continuación.", "use-system-reports-server": "Usar servidor de informes del sistema", + "use-system-reports-server-hint": "Si está habilitado, el nodo de reglas usará la URL del endpoint del servidor de informes de la configuración del sistema; de lo contrario, se usa la URL especificada a continuación.", "reports-server-endpoint-url": "URL del endpoint del servidor de informes", - "reports-server-endpoint-url-is-required": "La URL del endpoint del servidor de informes es obligatoria.", + "reports-server-endpoint-url-is-required": "Se requiere la URL del endpoint del servidor de informes.", "tls-version": "Versión de TLS", "enable-proxy": "Habilitar proxy", "use-system-proxy-properties": "Usar propiedades de proxy del sistema", "proxy-host": "Host del proxy", - "proxy-host-required": "El host del proxy es obligatorio.", + "proxy-host-required": "Se requiere el host del proxy.", "proxy-port": "Puerto del proxy", - "proxy-port-required": "El puerto del proxy es obligatorio.", + "proxy-port-required": "Se requiere el puerto del proxy.", "proxy-port-range": "El puerto del proxy debe estar en el rango de 1 a 65535.", "proxy-user": "Usuario del proxy", "proxy-password": "Contraseña del proxy", - "proxy-scheme": "Esquema del proxy", "numbers-to-template": "Plantilla de números de teléfono de destino", - "numbers-to-template-required": "La plantilla de números de teléfono de destino es obligatoria", + "numbers-to-template-required": "Se requiere la plantilla de números de teléfono de destino", "numbers-to-template-hint": "Números de teléfono separados por comas, usa ${metadataKey} para valores desde metadatos, $[messageKey] para valores desde el cuerpo del mensaje", "sms-message-template": "Plantilla de mensaje SMS", - "sms-message-template-required": "La plantilla de mensaje SMS es obligatoria", + "sms-message-template-required": "Se requiere la plantilla del mensaje SMS", "use-system-sms-settings": "Usar configuración del proveedor SMS del sistema", "min-period-0-seconds-message": "Solo se permite un período mínimo de 0 segundos.", "max-pending-messages": "Máximo de mensajes pendientes", - "max-pending-messages-required": "El número máximo de mensajes pendientes es obligatorio.", + "max-pending-messages-required": "Se requiere el número máximo de mensajes pendientes.", "max-pending-messages-range": "El número máximo de mensajes pendientes debe estar en el rango de 1 a 100000.", "aggregation": "Agregación", "math-function": "Función de agregación", @@ -7043,7 +8186,7 @@ "func-count": "Conteo", "func-count-unique": "Conteo único", "agg-interval-value": "Valor del intervalo de agregación", - "agg-interval-value-required": "El valor del intervalo de agregación es obligatorio.", + "agg-interval-value-required": "Se requiere el valor del intervalo de agregación.", "agg-interval-time-unit": "Unidad de tiempo del intervalo de agregación", "auto-create-intervals": "Crear intervalos automáticamente", "interval-entities": "Entidades de intervalo", @@ -7053,17 +8196,17 @@ "interval-persist-policy-on-each-check-after-interval-end": "En cada verificación después de finalizar el intervalo", "interval-persist-policy-on-each-message": "En cada mensaje", "interval-check-value": "Valor de verificación de intervalo", - "interval-check-value-required": "El valor de verificación de intervalo es obligatorio.", + "interval-check-value-required": "Se requiere el valor del intervalo de verificación.", "interval-check-time-unit": "Unidad de tiempo de verificación de intervalo", "interval-ttl-value": "Valor TTL del intervalo", - "interval-ttl-value-required": "El valor TTL del intervalo es obligatorio.", + "interval-ttl-value-required": "Se requiere el valor del intervalo de TTL.", "interval-ttl-time-unit": "Unidad de tiempo TTL del intervalo", "state-persistence": "Persistencia de estado", "state-persistence-policy": "Política de persistencia del estado", "state-persist-policy-on-each-change": "En cada cambio", "state-persist-policy-periodically": "Periódicamente", "state-persistence-value": "Valor de persistencia del estado", - "state-persistence-value-required": "El valor de persistencia del estado es obligatorio.", + "state-persistence-value-required": "Se requiere el valor de persistencia del estado.", "state-persistence-time-unit": "Unidad de tiempo de persistencia del estado", "target-entity-group": "Grupo de entidad objetivo", "entity-group-is-message-originator": "El grupo de entidad es el originador del mensaje", @@ -7075,19 +8218,19 @@ "child-entities-query": "Consulta de entidades secundarias", "child-entities": "Entidades secundarias", "execution-period-value": "Valor del período de ejecución", - "execution-period-value-required": "El valor del período de ejecución es obligatorio.", + "execution-period-value-required": "Se requiere el valor del período de ejecución.", "execution-period-time-unit": "Unidad de tiempo del período de ejecución", "agg-latest-mappings": "Mapeos agregados más recientes", "mappings": "Mapeos", "edit-mapping": "Editar mapeo", "remove-mapping": "Eliminar mapeo", "add-mapping": "Agregar mapeo", - "add-mapping-prompt": "Por favor, agregue un mapeo", + "add-mapping-prompt": "Por favor, agrega una asignación", "attribute-scope": "Ámbito del atributo", "default-value": "Valor por defecto", - "default-value-required": "El valor por defecto es obligatorio.", + "default-value-required": "Se requiere el valor por defecto.", "target-telemetry": "Telemetría de destino", - "target-telemetry-required": "La telemetría de destino es obligatoria.", + "target-telemetry-required": "Se requiere la telemetría de destino.", "filter-entities": "Filtrar entidades", "entity-filter": "Filtro de entidades", "fetch-entity-attributes": "Obtener atributos de la entidad", @@ -7111,22 +8254,22 @@ "add-alarm-type": "+Tipo de alarma", "specify-interval": "Especificar intervalo", "interval-seconds": "Intervalo en segundos", - "interval-seconds-required": "El intervalo es obligatorio.", + "interval-seconds-required": "Se requiere el intervalo.", "int-range": "El valor no debe exceder el límite máximo de enteros (2147483648)", "min-interval-seconds-message": "Solo se permite un intervalo mínimo de 1 segundo.", "output-timeseries-key-prefix": "Prefijo de clave de serie temporal de salida", "output-timeseries-key-prefix-required": "Se requiere el prefijo de clave de serie temporal de salida.", "separator-hint": "Debes presionar \"Enter\" para completar el ingreso del campo.", "owner-type": "Tipo de propietario", - "owner-name-pattern": "Título del customer", - "owner-name-pattern-required": "El título del customer es obligatorio", - "create-owner-if-not-exists": "Crear nuevo customer si no existe", - "create-owner-if-not-exists-hint": "Si está habilitado y no existe un customer con el título especificado, el nodo de reglas creará un nuevo customer como customer de nivel superior.", - "create-new-customer-if-not-exists-hint": "Si está habilitado y no existe un customer con el título especificado, el nodo de reglas creará un nuevo customer.", - "create-owner-on-originator-level": "Crear nuevo customer al mismo nivel que el originador del mensaje", - "create-owner-on-originator-level-hint": "Si está habilitado y el propietario del originador es el tenant, el nodo de reglas creará un customer de nivel superior. Si el propietario del originador es un customer, creará su subcliente.", + "owner-name-pattern": "Título del cliente", + "owner-name-pattern-required": "Se requiere el título del cliente", + "create-owner-if-not-exists": "Crear nuevo cliente si no existe", + "create-owner-if-not-exists-hint": "Si está habilitado y no existe un cliente con el título especificado, el nodo de reglas creará un nuevo cliente como cliente de nivel superior.", + "create-new-customer-if-not-exists-hint": "Si está habilitado y no existe un cliente con el título especificado, el nodo de reglas creará un nuevo cliente.", + "create-owner-on-originator-level": "Crear nuevo cliente al mismo nivel que el originador del mensaje", + "create-owner-on-originator-level-hint": "Si está habilitado y el propietario del originador es el inquilino, el nodo de reglas creará un cliente de nivel superior. Si está habilitado y el propietario del originador es un cliente, el nodo de reglas creará su subcliente.", "owner-cache-expiration": "Tiempo de expiración de caché de propietarios (seg)", - "owner-cache-expiration-required": "El tiempo de expiración de caché de propietarios es obligatorio.", + "owner-cache-expiration-required": "Se requiere el tiempo de expiración de la caché de propietarios.", "owner-cache-expiration-range": "El tiempo de expiración de caché de propietarios debe ser mayor o igual a 0.", "owner-cache-expiration-hint": "Especifica el intervalo máximo permitido para almacenar registros de propietarios encontrados. El valor 0 significa que los registros nunca expirarán.", "select-details": "Seleccionar detalles", @@ -7151,50 +8294,50 @@ "alarm-required": "Debe seleccionarse al menos un estado de alarma.", "no-entity-details-matching": "No se encontraron detalles de entidad coincidentes.", "custom-table-name": "Nombre de tabla personalizado", - "custom-table-name-required": "El nombre de la tabla es obligatorio", - "custom-table-hint": "La tabla debe estar creada en su clúster de Cassandra y su nombre debe comenzar con el prefijo 'cs_tb_' para evitar la inserción de datos en las tablas comunes de TB. Introduzca aquí el nombre de la tabla sin el prefijo 'cs_tb_'.", + "custom-table-name-required": "Se requiere el nombre de la tabla", + "custom-table-hint": "La tabla debe crearse en tu clúster de Cassandra y su nombre debe comenzar con el prefijo 'cs_tb_' para evitar la inserción de datos en las tablas comunes de TB. Ingresa aquí el nombre de la tabla sin el prefijo 'cs_tb_'.", "message-field": "Campo del mensaje", - "message-field-required": "El campo del mensaje es obligatorio.", + "message-field-required": "Se requiere el campo del mensaje.", "table-col": "Columna de tabla", - "table-col-required": "La columna de tabla es obligatoria.", + "table-col-required": "Se requiere la columna de la tabla.", "latitude-field-name": "Nombre del campo de latitud", "longitude-field-name": "Nombre del campo de longitud", - "latitude-field-name-required": "El nombre del campo de latitud es obligatorio.", - "longitude-field-name-required": "El nombre del campo de longitud es obligatorio.", + "latitude-field-name-required": "Se requiere el nombre del campo de latitud.", + "longitude-field-name-required": "Se requiere el nombre del campo de longitud.", "fetch-perimeter-info-from-metadata": "Obtener información del perímetro desde metadatos", "fetch-perimeter-info-from-metadata-tooltip": "Si el tipo de perímetro está configurado como 'Polígono', el valor del campo de metadatos '{{perimeterKeyName}}' se establecerá como definición de perímetro sin análisis adicional. Si el tipo de perímetro está configurado como 'Círculo', el valor del campo de metadatos '{{perimeterKeyName}}' se analizará para extraer los campos 'latitude', 'longitude', 'radius', 'radiusUnit' usados en la definición de perímetro circular.", "perimeter-key-name": "Nombre de clave de perímetro", "perimeter-key-name-hint": "Nombre del campo de metadatos que contiene la información del perímetro.", - "perimeter-key-name-required": "El nombre de la clave de perímetro es obligatorio.", + "perimeter-key-name-required": "Se requiere el nombre de la clave de perímetro.", "perimeter-circle": "Círculo", "perimeter-polygon": "Polígono", "perimeter-type": "Tipo de perímetro", "circle-center-latitude": "Latitud del centro", - "circle-center-latitude-required": "La latitud del centro es obligatoria.", + "circle-center-latitude-required": "Se requiere la latitud del centro.", "circle-center-longitude": "Longitud del centro", - "circle-center-longitude-required": "La longitud del centro es obligatoria.", + "circle-center-longitude-required": "Se requiere la longitud del centro.", "range-unit-meter": "Metro", "range-unit-kilometer": "Kilómetro", "range-unit-foot": "Pie", "range-unit-mile": "Milla", "range-unit-nautical-mile": "Milla náutica", "range-units": "Unidades de distancia", - "range-units-required": "Las unidades de distancia son obligatorias.", + "range-units-required": "Se requieren las unidades de rango.", "range": "Distancia", - "range-required": "La distancia es obligatoria.", + "range-required": "Se requiere el rango.", "polygon-definition": "Definición de polígono", - "polygon-definition-required": "La definición de polígono es obligatoria.", + "polygon-definition-required": "Se requiere la definición del polígono.", "polygon-definition-hint": "Use el siguiente formato para la definición manual de un polígono: [[lat1,lon1],[lat2,lon2], ... ,[latN,lonN]].", "min-inside-duration": "Duración mínima dentro", - "min-inside-duration-value-required": "La duración mínima dentro es obligatoria", + "min-inside-duration-value-required": "Se requiere la duración mínima en el interior", "min-inside-duration-time-unit": "Unidad de tiempo de duración mínima dentro", "min-outside-duration": "Duración mínima fuera", - "min-outside-duration-value-required": "La duración mínima fuera es obligatoria", + "min-outside-duration-value-required": "Se requiere la duración mínima en el exterior", "min-outside-duration-time-unit": "Unidad de tiempo de duración mínima fuera", "tell-failure-if-absent": "Informar fallo", "tell-failure-if-absent-hint": "Si al menos una clave seleccionada no existe, el mensaje saliente indicará \"Fallo\".", - "get-latest-value-with-ts": "Obtener marca de tiempo para los valores más recientes de telemetría", - "get-latest-value-with-ts-hint": "Si está seleccionado, los valores más recientes de telemetría también incluirán una marca de tiempo, p. ej.: \"temp\": \"{\"ts\":1574329385897, \"value\":42}\"", + "get-latest-value-with-ts": "Obtener marca de tiempo para los últimos valores de telemetría", + "get-latest-value-with-ts-hint": "Si está seleccionado, los últimos valores de telemetría también incluirán una marca de tiempo, p. ej.: \"temp\": \"{\"ts\":1574329385897, \"value\":42}\"", "ignore-null-strings": "Ignorar cadenas vacías", "ignore-null-strings-hint": "Si está seleccionado, el nodo de reglas ignorará los campos de entidad con valores vacíos.", "aggregate-interval-type": "Tipo de intervalo de agregación", @@ -7208,7 +8351,7 @@ "add-metadata-key-values-as-kafka-headers": "Agregar pares clave-valor de metadatos como encabezados de registros Kafka", "add-metadata-key-values-as-kafka-headers-hint": "Si está seleccionado, los pares clave-valor de los metadatos del mensaje se agregarán como encabezados en los registros salientes como matrices de bytes con codificación de caracteres predefinida.", "charset-encoding": "Codificación de caracteres", - "charset-encoding-required": "La codificación de caracteres es obligatoria.", + "charset-encoding-required": "Se requiere la codificación de caracteres.", "charset-us-ascii": "US-ASCII", "charset-iso-8859-1": "ISO-8859-1", "charset-utf-8": "UTF-8", @@ -7226,13 +8369,13 @@ "use-cache": "Usar caché para el valor más reciente", "tell-failure-if-delta-is-negative": "Informar fallo si la diferencia es negativa", "add-period-between-msgs": "Agregar período entre mensajes", - "search-entity-group-for-tenant-only": "Buscar grupo de entidades solo a nivel de Tenant", + "search-entity-group-for-tenant-only": "Buscar el grupo de entidades solo a nivel de inquilino", "consider-message-originator-as-a-group-owner": "Considerar al originador como propietario del grupo", - "consider-message-originator-as-a-group-owner-hint": "Por defecto, la búsqueda del grupo comienza al mismo nivel que el propietario del originador del mensaje y sube jerárquicamente hasta el nivel de tenant si no se encuentra el grupo. Si está habilitado y el originador es un Tenant o Customer, la búsqueda comienza desde el nivel del originador.", + "consider-message-originator-as-a-group-owner-hint": "Por defecto, la búsqueda del grupo comienza en el mismo nivel que el propietario del originador del mensaje y sube por la jerarquía hasta el nivel del inquilino si no se encuentra el grupo. Si está habilitado y el originador es un inquilino o cliente, la búsqueda comienza desde el nivel del originador.", "input-value-key": "Clave de valor de entrada", - "input-value-key-required": "La clave de valor de entrada es obligatoria.", + "input-value-key-required": "Se requiere la clave del valor de entrada.", "output-value-key": "Clave de valor de salida", - "output-value-key-required": "La clave de valor de salida es obligatoria.", + "output-value-key-required": "Se requiere la clave del valor de salida.", "number-of-digits-after-floating-point": "Número de dígitos después del punto decimal", "number-of-digits-after-floating-point-range": "El número de dígitos después del punto decimal debe estar entre 0 y 15.", "failure-if-delta-negative": "Informar fallo si la diferencia es negativa", @@ -7240,9 +8383,9 @@ "use-caching": "Usar caché", "use-caching-tooltip": "El nodo de reglas almacenará en caché el valor de \"{{inputValueKey}}\" que llega desde el mensaje entrante para mejorar el rendimiento. Nota: la caché no se actualizará si se modifica el valor de \"{{inputValueKey}}\" en otro lugar.", "add-time-difference-between-readings": "Agregar la diferencia de tiempo entre lecturas de \"{{inputValueKey}}\"", - "add-time-difference-between-readings-tooltip": "Si está habilitado, el nodo de reglas añadirá \"{{periodValueKey}}\" al mensaje de salida.", + "add-time-difference-between-readings-tooltip": "Si está habilitado, el nodo de reglas agregará \"{{periodValueKey}}\" al mensaje de salida.", "period-value-key": "Clave del valor del período", - "period-value-key-required": "La clave del valor del período es obligatoria.", + "period-value-key-required": "Se requiere la clave del valor del período.", "general-pattern-hint": "Usa ${metadataKey} para valores de metadatos, $[messageKey] para valores del cuerpo del mensaje.", "alarm-severity-pattern-hint": "Usa ${metadataKey} para metadatos y $[messageKey] para cuerpo del mensaje. La severidad debe ser del sistema (CRITICAL, MAJOR, etc.)", "output-node-name-hint": "El nombre del nodo de reglas corresponde al tipo de relación del mensaje de salida, y se usa para reenviar mensajes a otros nodos de reglas en la misma cadena.", @@ -7273,16 +8416,16 @@ "functions-field-input": "Funciones", "no-option-found": "No se encontraron opciones", "argument-source-field-input": "Fuente", - "argument-source-field-input-required": "La fuente del argumento es obligatoria.", + "argument-source-field-input-required": "Se requiere la fuente del argumento.", "argument-key-field-input": "Clave", - "argument-key-field-input-required": "La clave del argumento es obligatoria.", + "argument-key-field-input-required": "Se requiere la clave del argumento.", "constant-value-field-input": "Valor constante", - "constant-value-field-input-required": "El valor constante es obligatorio.", + "constant-value-field-input-required": "Se requiere el valor constante.", "attribute-scope-field-input": "Ámbito del atributo", - "attribute-scope-field-input-required": "El ámbito del atributo es obligatorio.", + "attribute-scope-field-input-required": "Se requiere el ámbito del atributo.", "default-value-field-input": "Valor por defecto", "type-field-input": "Tipo", - "type-field-input-required": "El tipo es obligatorio.", + "type-field-input-required": "Se requiere el tipo.", "key-field-input": "Clave", "add-entity-type": "Agregar tipo de entidad", "add-device-profile": "Agregar perfil de dispositivo", @@ -7292,7 +8435,7 @@ "add-to-message-field-input": "Agregar al mensaje", "add-to-metadata-field-input": "Agregar a metadatos", "custom-expression-field-input": "Expresión matemática", - "custom-expression-field-input-required": "La expresión matemática es obligatoria", + "custom-expression-field-input-required": "Se requiere la expresión matemática", "custom-expression-field-input-hint": "Especifica una expresión matemática para evaluar. La expresión por defecto demuestra cómo convertir Fahrenheit a Celsius", "retained-message": "Retenido", "attributes-mapping": "Mapeo de atributos", @@ -7341,10 +8484,10 @@ "fetch-strategy": "Estrategia de obtención", "fetch-timeseries-from-to": "Obtener serie temporal desde hace {{startInterval}} {{startIntervalTimeUnit}} hasta hace {{endInterval}} {{endIntervalTimeUnit}}.", "fetch-timeseries-from-to-invalid": "Intervalo de serie temporal no válido (\"Inicio del intervalo\" debe ser menor que \"Fin del intervalo\").", - "use-metadata-dynamic-interval-tooltip": "Si está seleccionado, el nodo de regla usará un intervalo dinámico de inicio y fin basado en los patrones del mensaje y los metadatos.", - "all-mode-hint": "Si se selecciona el modo de obtención \"Todos\", el nodo de regla recuperará la telemetría del intervalo con parámetros de consulta configurables.", - "first-mode-hint": "Si se selecciona el modo de obtención \"Primero\", el nodo de regla recuperará la telemetría más cercana al inicio del intervalo.", - "last-mode-hint": "Si se selecciona el modo de obtención \"Último\", el nodo de regla recuperará la telemetría más cercana al final del intervalo.", + "use-metadata-dynamic-interval-tooltip": "Si está seleccionado, el nodo de reglas usará un intervalo dinámico de inicio y fin basado en los patrones del mensaje y los metadatos.", + "all-mode-hint": "Si se selecciona el modo de obtención \"Todos\", el nodo de reglas recuperará la telemetría del intervalo con parámetros de consulta configurables.", + "first-mode-hint": "Si se selecciona el modo de obtención \"Primero\", el nodo de reglas recuperará la telemetría más cercana al inicio del intervalo.", + "last-mode-hint": "Si se selecciona el modo de obtención \"Último\", el nodo de reglas recuperará la telemetría más cercana al final del intervalo.", "ascending": "Ascendente", "descending": "Descendente", "min": "Mínimo", @@ -7356,45 +8499,45 @@ "last-level-relation-tooltip": "Si se selecciona, el nodo buscará entidades relacionadas solo en el nivel definido en el máximo nivel de relación.", "last-level-device-relation-tooltip": "Si se selecciona, el nodo buscará dispositivos relacionados solo en el nivel definido en el máximo nivel de relación.", "data-to-fetch": "Datos a obtener", - "mapping-of-customers": "Mapeo de customers", - "map-fields-required": "Todos los campos de mapeo son obligatorios.", + "mapping-of-customers": "Mapeo de clientes", + "map-fields-required": "Se requieren todos los campos de asignación.", "attributes": "Atributos", "related-device-attributes": "Atributos de dispositivos relacionados", "add-selected-attributes-to": "Agregar atributos seleccionados a", "device-profiles": "Perfiles de dispositivo", - "mapping-of-tenant": "Mapeo de tenant", + "mapping-of-tenant": "Asignación del inquilino", "add-attribute-key": "Agregar clave de atributo", "message-template": "Plantilla de mensaje", - "message-template-required": "La plantilla de mensaje es obligatoria", + "message-template-required": "Se requiere la plantilla de mensaje", "use-system-slack-settings": "Usar configuración de Slack del sistema", "slack-api-token": "Token de API de Slack", - "slack-api-token-required": "El token de API de Slack es obligatorio", + "slack-api-token-required": "Se requiere el token de API de Slack", "deduplication-period-sec": "Período de desduplicación (seg)", - "deduplication-period-sec-required": "El valor del período de desduplicación es obligatorio.", + "deduplication-period-sec-required": "Se requiere el valor del período de deduplicación.", "deduplication-period-sec-range": "El valor del período de desduplicación debe estar entre 10 y 2147483647.", "keys-mapping": "Mapeo de claves", "add-key": "Agregar clave", "recipients": "Destinatarios", "message-subject-and-content": "Asunto y contenido del mensaje", "template-rules-hint": "Ambos campos de entrada admiten tematización. Usa $[messageKey] para extraer el valor del mensaje y ${metadataKey} para extraer el valor de los metadatos.", - "originator-customer-desc": "Usar el customer del originador del mensaje entrante como nuevo originador.", - "originator-tenant-desc": "Usar el tenant actual como nuevo originador.", + "originator-customer-desc": "Usar el cliente del originador del mensaje entrante como nuevo originador.", + "originator-tenant-desc": "Usar el inquilino actual como nuevo originador.", "originator-related-entity-desc": "Usar entidad relacionada como nuevo originador. La búsqueda se basa en el tipo y dirección de relación configurados.", "originator-alarm-originator-desc": "Usar el originador de la alarma como nuevo originador. Solo si el originador del mensaje entrante es una entidad de alarma.", "originator-entity-by-name-pattern-desc": "Usar entidad obtenida desde la base de datos como nuevo originador. La búsqueda se basa en el tipo de entidad y el patrón de nombre especificado.", "email-from-template-hint": "Usa $[messageKey] para extraer el valor del mensaje y ${metadataKey} para extraer el valor de los metadatos.", "recipients-block-main-hint": "Lista de direcciones separadas por comas. Todos los campos de entrada admiten tematización. Usa $[messageKey] para extraer valor del mensaje y ${metadataKey} para extraer valor de metadatos.", - "search-entity-group-for-tenant-only-hint": "Por defecto, la búsqueda de grupos comienza en el mismo nivel que el propietario del originador del mensaje y asciende hasta el nivel del tenant si no se encuentra el grupo. Si está habilitado, la búsqueda se restringe solo al nivel del tenant, ignorando el comportamiento predeterminado.", + "search-entity-group-for-tenant-only-hint": "Por defecto, la búsqueda de grupos comienza en el mismo nivel que el propietario del originador del mensaje y sube por la jerarquía hasta el nivel del inquilino si no se encuentra el grupo. Si está habilitado, la búsqueda se limita únicamente al nivel del inquilino, omitiendo el comportamiento por defecto.", "entity-group-is-message-originator-hint": "Si está habilitado, el originador del mensaje se considerará como grupo de entidades usado para obtener entidades. En este caso, el mensaje entrante será dirigido por la cadena de Fallo si el tipo de originador no es grupo de entidades.", "forward-msg-default-rule-chain": "Redirigir mensaje a la cadena de reglas predeterminada del originador", "forward-msg-default-rule-chain-tooltip": "Si está habilitado, el mensaje se redirigirá a la cadena de reglas predeterminada del originador, o a la definida en la configuración si no tiene una definida en el perfil de la entidad.", - "fetch-originators-attributes-customer": "Obtener atributos del originador si es customer", - "fetch-originators-attributes-customer-hint": "Si está habilitado y el originador del mensaje es un customer, el nodo obtendrá sus {{mappingOfCustomers}}, omitiendo la búsqueda del customer.", - "parse-originator-if-customer": "No cambiar originador si es customer", - "parse-originator-if-customer-hint": "Si está habilitado y el originador del mensaje es un customer, el nodo omitirá la búsqueda de un nuevo originador y mantendrá el existente.", + "fetch-originators-attributes-customer": "Obtener atributos del originador si es cliente", + "fetch-originators-attributes-customer-hint": "Si está habilitado y el originador del mensaje es un cliente, el nodo obtendrá sus {{mappingOfCustomers}}, omitiendo la búsqueda del cliente.", + "parse-originator-if-customer": "No cambiar originador si es cliente", + "parse-originator-if-customer-hint": "Si está habilitado y el originador del mensaje es un cliente, el nodo omitirá la búsqueda de un nuevo originador y mantendrá el existente.", "exclude-zero-deltas": "Excluir deltas cero del mensaje saliente", - "exclude-zero-deltas-hint": "Si está habilitado, la clave de salida \"{{outputValueKey}}\" se añadirá al mensaje de salida solo si su valor no es cero.", - "exclude-zero-deltas-time-difference-hint": "Si está habilitado, las claves de salida \"{{outputValueKey}}\" y \"{{periodValueKey}}\" se añadirán al mensaje de salida solo si el valor de \"{{outputValueKey}}\" no es cero.", + "exclude-zero-deltas-hint": "Si está habilitado, la clave de salida \"{{outputValueKey}}\" se agregará al mensaje de salida solo si su valor no es cero.", + "exclude-zero-deltas-time-difference-hint": "Si está habilitado, las claves de salida \"{{outputValueKey}}\" y \"{{periodValueKey}}\" se agregarán al mensaje de salida solo si el valor de \"{{outputValueKey}}\" no es cero.", "search-direction-from": "Del originador a la entidad destino", "search-direction-to": "De la entidad destino al originador", "del-relation-direction-from": "Desde el originador", @@ -7402,16 +8545,16 @@ "target-entity": "Entidad destino", "function-configuration": "Configuración de la función", "function-name": "Nombre de la función", - "function-name-required": "El nombre de la función es obligatorio.", + "function-name-required": "Se requiere el nombre de la función.", "qualifier": "Calificador", "qualifier-hint": "Si no se especifica calificador, se usará el calificador predeterminado \"$LATEST\".", "aws-credentials": "Credenciales de AWS", "connection-timeout": "Tiempo de espera de conexión", - "connection-timeout-required": "El tiempo de espera de conexión es obligatorio.", + "connection-timeout-required": "Se requiere el tiempo de espera de conexión.", "connection-timeout-min": "El tiempo mínimo de conexión es 0.", "connection-timeout-hint": "Tiempo en segundos que se espera al establecer la conexión antes de agotar el tiempo. 0 significa infinito, pero no se recomienda.", "request-timeout": "Tiempo de espera de la solicitud", - "request-timeout-required": "El tiempo de espera de la solicitud es obligatorio", + "request-timeout-required": "Se requiere el tiempo de espera de la solicitud", "request-timeout-min": "El tiempo mínimo de solicitud es 0", "request-timeout-hint": "Tiempo en segundos que se espera para completar la solicitud antes de agotar el tiempo. 0 significa infinito, pero no se recomienda.", "units": "Unidades", @@ -7419,13 +8562,24 @@ "tell-failure-aws-lambda-hint": "El nodo de reglas forzará el fallo del procesamiento si la función AWS Lambda lanza una excepción.", "basic-mode": "Básico", "advanced-mode": "Avanzado", + "url-hint": "Ingresa la URL de la solicitud. Asegúrate de que los caracteres especiales estén codificados con porcentaje.", + "query-params": "Parámetros de consulta", + "query-params-hint": "Parámetros de consulta adicionales que se incluirán en la URL de la solicitud. Tanto los nombres como los valores admiten plantillas y se codifican estrictamente (RFC 3986) tras la resolución de las plantillas.", + "query-params-empty": "No hay parámetros de consulta configurados", + "query-params-name": "Nombre", + "query-params-value": "Valor", + "query-params-name-required": "Se requiere el nombre", + "query-params-value-required": "Se requiere el valor", + "headers-empty": "No hay encabezados configurados", + "request-url": "URL de la solicitud", + "url": "URL", "save-time-series": { "processing-settings": "Configuraciones de procesamiento", "processing-settings-hint": "Define cómo se procesan los mensajes entrantes. Las configuraciones básicas permiten seleccionar estrategias preconfiguradas, mientras que las avanzadas permiten seleccionar estrategias individuales por acción.", "advanced-settings-hint": "Ten cuidado al configurar estrategias de procesamiento. Algunas combinaciones pueden llevar a comportamientos inesperados.", "strategy": "Estrategia", "deduplication-interval": "Intervalo de desduplicación", - "deduplication-interval-required": "El intervalo de desduplicación es obligatorio", + "deduplication-interval-required": "Se requiere el intervalo de deduplicación", "deduplication-interval-min-max-range": "El intervalo de desduplicación debe ser al menos 1 segundo y como máximo 1 día", "strategy-type": { "every-message": "En cada mensaje", @@ -7444,7 +8598,7 @@ "advanced-settings-hint": "Ten cuidado al configurar estrategias de procesamiento. Algunas combinaciones pueden llevar a comportamientos inesperados.", "strategy": "Estrategia", "deduplication-interval": "Intervalo de desduplicación", - "deduplication-interval-required": "El intervalo de desduplicación es obligatorio", + "deduplication-interval-required": "Se requiere el intervalo de deduplicación", "deduplication-interval-min-max-range": "El intervalo de desduplicación debe ser al menos 1 segundo y como máximo 1 día", "scope": "Ámbito", "strategy-type": { @@ -7482,15 +8636,15 @@ "ai": { "ai-model": "Modelo de IA", "model": "Modelo", - "ai-model-hint": "Selecciona el modelo de IA preconfigurado para procesar las solicitudes enviadas por este nodo de regla, o usa \"Crear nuevo\" para configurar uno nuevo.", + "ai-model-hint": "Selecciona el modelo de IA preconfigurado para procesar las solicitudes enviadas por este nodo de reglas, o usa \"Crear nuevo\" para configurar uno nuevo.", "prompt-settings": "Configuración del prompt", "prompt-settings-hint": "El prompt del sistema (opcional) define el rol general y las restricciones de la IA, mientras que el prompt del usuario define la tarea específica a realizar. Ambos campos admiten plantillas.", "system-prompt": "Prompt del sistema", - "system-prompt-max-length": "El prompt del sistema debe tener 10.000 caracteres o menos.", + "system-prompt-max-length": "El prompt del sistema debe tener 500000 caracteres o menos.", "system-prompt-blank": "El prompt del sistema no debe estar vacío.", "user-prompt": "Prompt del usuario", "user-prompt-required": "Se requiere el prompt del usuario.", - "user-prompt-max-length": "El prompt del usuario debe tener 10.000 caracteres o menos.", + "user-prompt-max-length": "El prompt del usuario debe tener 500000 caracteres o menos.", "user-prompt-blank": "El prompt del usuario no debe estar vacío.", "response-format": "Formato de respuesta", "response-text": "Texto", @@ -7499,7 +8653,7 @@ "response-format-hint-TEXT": "Permite al modelo generar texto arbitrario, que puede o no ser un objeto JSON válido. Si la salida no es un JSON válido, se envolverá automáticamente en un objeto JSON bajo la clave \"response\".", "response-format-hint-JSON": "Se requiere que el modelo genere una respuesta que sea un JSON válido. Si la salida no es un JSON válido, se envolverá automáticamente en un objeto JSON bajo la clave \"response\".", "response-format-hint-JSON_SCHEMA": "Se requiere que el modelo genere un JSON que cumpla con la estructura y tipos de datos definidos en el esquema proporcionado. Si la salida no es un JSON válido, se envolverá automáticamente en un objeto JSON bajo la clave \"response\".", - "response-json-schema-hint": "Aunque se puede ingresar cualquier esquema JSON válido, este nodo de regla solo admite un subconjunto limitado de sus características. Consulta la documentación del nodo para más detalles.", + "response-json-schema-hint": "Aunque se puede ingresar cualquier esquema JSON válido, este nodo de reglas solo admite un subconjunto limitado de sus características. Consulta la documentación del nodo para más detalles.", "response-json-schema-required": "Se requiere un esquema JSON", "advanced-settings": "Configuración avanzada", "timeout": "Tiempo de espera", @@ -7518,7 +8672,7 @@ "view-roles": "Ver roles", "no-roles-matching": "No se encontraron roles que coincidan con '{{entity}}'.", "role-list": "Lista de roles", - "role-list-required": "La lista de roles es obligatoria", + "role-list-required": "Se requiere la lista de roles", "add": "Agregar rol", "view": "Ver rol", "search": "Buscar roles", @@ -7534,7 +8688,7 @@ "delete-roles-action-title": "Eliminar { count, plural, =1 {1 rol} other {# roles} }", "delete-roles-text": "Ten cuidado, después de la confirmación, todos los roles seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", "role-type": "Tipo de rol", - "role-type-required": "El tipo de rol es obligatorio.", + "role-type-required": "Se requiere el tipo de rol.", "select-role-type": "Seleccionar tipo de rol", "enter-role-type": "Introducir tipo de rol", "any-role": "Cualquier rol", @@ -7543,7 +8697,7 @@ "role-types": "Tipos de rol", "created-time": "Fecha de creación", "name": "Nombre", - "name-required": "El nombre es obligatorio.", + "name-required": "Se requiere el nombre.", "name-max-length": "El nombre debe tener menos de 256 caracteres", "description": "Descripción", "events": "Eventos", @@ -7551,6 +8705,7 @@ "copyId": "Copiar ID del rol", "idCopiedMessage": "El ID del rol se ha copiado al portapapeles", "permissions": "Permisos", + "excluded-permissions": "Permisos excluidos", "role-required": "Rol requerido", "roles-required": "Roles requeridos", "display-type": { @@ -7584,17 +8739,21 @@ "no-owners-matching": "No se encontraron propietarios que coincidan con '{{owner}}'.", "target-owner-required": "Se requiere propietario del grupo de entidades.", "target-user-group-owner-required": "Se requiere propietario del grupo de usuarios.", - "no-group-permissions-text": "No se encontraron permisos de grupo" + "no-group-permissions-text": "No se encontraron permisos de grupo", + "permissions-merge-hint": "En los roles genéricos, las operaciones denegadas solo surten efecto dentro del mismo rol. Si cualquier otro rol permite una operación, se concederá el acceso." }, "permission": { "permissions-required": "Se debe especificar al menos una entrada de permiso.", + "resource-duplicate": "Este recurso ya está seleccionado", + "operations-required": "Se debe especificar al menos una operación permitida o denegada.", + "operation-overlap": "Las operaciones permitidas y denegadas no deben superponerse.", "remove-permission": "Eliminar entrada de permiso", "add-permission": "Agregar entrada de permiso", "other": "Otro", "resource": { "resource": "Recurso", "select-resource": "Seleccionar recurso", - "resource-required": "El recurso es obligatorio", + "resource-required": "Se requiere el recurso", "no-resources-matching": "No se encontraron recursos que coincidan con '{{resource}}'.", "display-type": { "ALL": "Todos", @@ -7602,33 +8761,33 @@ "ADMIN_SETTINGS": "Configuración de administrador", "ALARM": "Alarma", "DEVICE": "Dispositivo", - "DEVICE_PROFILE": "Perfil del dispositivo", + "DEVICE_PROFILE": "Perfil de dispositivo", "ASSET": "Activo", - "CUSTOMER": "Customer", + "CUSTOMER": "Cliente", "DASHBOARD": "Tablero", "ENTITY_VIEW": "Vista de entidad", "EDGE": "Edge", - "TENANT": "Arrendatario", - "TENANT_PROFILE": "Perfil del arrendatario", + "TENANT": "Inquilino", + "TENANT_PROFILE": "Perfil de inquilino", "RULE_CHAIN": "Cadena de reglas", "USER": "Usuario", "WIDGETS_BUNDLE": "Paquete de widgets", "WIDGET_TYPE": "Tipo de widget", "CONVERTER": "Convertidor", "INTEGRATION": "Integración", - "SCHEDULER_EVENT": "Evento del programador", + "SCHEDULER_EVENT": "Evento programado", "BLOB_ENTITY": "Entidad Blob", "REPORT_TEMPLATE": "Plantilla de informe", "REPORT": "Informe", - "CUSTOMER_GROUP": "Grupo de customers", + "CUSTOMER_GROUP": "Grupo de clientes", "DEVICE_GROUP": "Grupo de dispositivos", "ASSET_GROUP": "Grupo de activos", "USER_GROUP": "Grupo de usuarios", - "ENTITY_VIEW_GROUP": "Grupo de vistas de entidades", + "ENTITY_VIEW_GROUP": "Grupo de vistas de entidad", "DASHBOARD_GROUP": "Grupo de tableros", "ROLE": "Rol", "GROUP_PERMISSION": "Permiso de grupo", - "WHITE_LABELING": "Etiquetado blanco", + "WHITE_LABELING": "Marca blanca", "AUDIT_LOG": "Registro de auditoría", "API_USAGE_STATE": "Estado del uso de la API", "TB_RESOURCE": "Recurso", @@ -7647,12 +8806,22 @@ "SECRET": "Secreto", "JOB": "Tarea", "AI_MODEL": "Modelo de IA", - "API_KEY": "Clave de API" + "AI": "IA", + "API_KEY": "Clave de API", + "AGENT": "Agent", + "AGENT_GROUP": "Grupo de Agent", + "AGENT_PROFILE": "Perfil de Agent", + "AGENT_APPLICATION": "Aplicación de Agent", + "AGENT_APP_PROFILE": "Perfil de aplicación de Agent", + "AGENT_APP_UNIT": "Unidad de aplicación de Agent" } }, "operation": { "operation": "Operación", "operations": "Operaciones", + "allowed": "Permitido", + "denied": "Denegado", + "not-set": "No establecido", "operations-required": "Se debe especificar al menos una operación.", "enter-operation": "Ingresar operación", "no-operations-matching": "No se encontraron operaciones que coincidan con '{{operation}}'.", @@ -7662,8 +8831,8 @@ "READ": "Leer", "WRITE": "Escribir", "DELETE": "Eliminar", - "ASSIGN_TO_CUSTOMER": "Asignar a Customer", - "UNASSIGN_FROM_CUSTOMER": "Desasignar de Customer", + "ASSIGN_TO_CUSTOMER": "Asignar a cliente", + "UNASSIGN_FROM_CUSTOMER": "Desasignar de cliente", "RPC_CALL": "Llamada RPC", "READ_CREDENTIALS": "Leer credenciales", "WRITE_CREDENTIALS": "Escribir credenciales", @@ -7675,9 +8844,9 @@ "IMPERSONATE": "Suplantar", "CHANGE_OWNER": "Cambiar propietario", "ADD_TO_GROUP": "Agregar al grupo", - "REMOVE_FROM_GROUP": "Eliminar del grupo", + "REMOVE_FROM_GROUP": "Quitar del grupo", "SHARE_GROUP": "Compartir grupo", - "ASSIGN_TO_TENANT": "Asignar al arrendatario", + "ASSIGN_TO_TENANT": "Asignar a inquilino", "READ_CALCULATED_FIELD": "Leer campo calculado", "WRITE_CALCULATED_FIELD": "Escribir campo calculado" } @@ -7689,16 +8858,16 @@ "select-scheduler-event": "Seleccionar evento del planificador", "no-scheduler-events-matching": "No se encontraron eventos del planificador que coincidan con '{{entity}}'.", "scheduler-event-required": "Se requiere un evento del planificador", - "management": "Gestión de horarios", + "management": "Gestión de programaciones", "scheduler-events": "Eventos del planificador", "add-scheduler-event": "Agregar evento del planificador", "search-scheduler-events": "Buscar eventos del planificador", "created-time": "Hora de creación", "name": "Nombre", - "name-required": "El nombre es obligatorio", + "name-required": "Se requiere el nombre", "name-max-length": "El nombre debe tener menos de 256 caracteres", "type": "Tipo", - "created_customer": "Creado por el customer", + "created_customer": "Creado por el cliente", "edit-scheduler-event": "Editar evento del planificador", "view-scheduler-event": "Ver evento del planificador", "delete-scheduler-event": "Eliminar evento del planificador", @@ -7712,7 +8881,7 @@ "edit": "Editar evento del planificador", "view": "Ver evento del planificador", "configuration": "Configuración", - "schedule": "Horario", + "schedule": "Programación", "start-time": "Hora de inicio", "repeat": "Repetir", "repeats": "Repeticiones", @@ -7782,13 +8951,11 @@ "single-entity": "Entidad única", "group-entities": "Grupo de entidades", "entities-group-owner": "Propietario del grupo de entidades", - "single-device": "Dispositivo único", - "group-of-devices": "Grupo de dispositivos", "devices-group-owner": "Propietario del grupo de dispositivos", "message-body": "Cuerpo del mensaje", "target": "Objetivo", "rpc-method": "Método", - "rpc-method-required": "El método es obligatorio", + "rpc-method-required": "Se requiere el método", "rpc-method-white-space": "No se permiten espacios en blanco.", "rpc-params": "Parámetros", "select-dashboard-state": "Seleccionar estado del tablero", @@ -7817,33 +8984,33 @@ "email-config": "Configuración de correo electrónico", "dashboard-state-param": "Valor del parámetro de estado del tablero", "base-url": "URL base", - "base-url-required": "La URL base es obligatoria.", + "base-url-required": "Se requiere la URL base.", "use-dashboard-timewindow": "Usar ventana de tiempo del tablero", "use-dashboard-timewindow-description": "Si está seleccionado, se usará la ventana de tiempo configurada en el tablero de destino durante la generación del informe.", "timewindow": "Ventana de tiempo", "name-pattern": "Patrón de nombre del informe", - "name-pattern-required": "El patrón de nombre del informe es obligatorio", + "name-pattern-required": "Se requiere el patrón del nombre del informe", "type": "Tipo de informe", - "customer-user-credentials": "Credenciales del usuario del customer", - "customer-user-credentials-required": "Las credenciales del usuario del customer son obligatorias", + "customer-user-credentials": "Credenciales del usuario del cliente", + "customer-user-credentials-required": "Se requieren las credenciales del usuario del cliente", "generate-test-report": "Generar informe de prueba", "send-email": "Enviar correo", "from": "De", - "from-required": "El campo 'De' es obligatorio.", + "from-required": "Se requiere el remitente.", "to": "Para", - "to-required": "El campo 'Para' es obligatorio.", + "to-required": "Se requiere el destinatario.", "cc": "Cc", "bcc": "Bcc", "cc-description": "Copia carbono", "bcc-description": "Copia oculta", "subject": "Asunto", - "subject-required": "El asunto es obligatorio.", + "subject-required": "Se requiere el asunto.", "body": "Cuerpo", - "body-required": "El cuerpo es obligatorio.", + "body-required": "Se requiere el cuerpo del mensaje.", "credentials": "Credenciales", "preview-report": "Vista previa del informe", "current-user": "Usuario actual", - "customer-user": "Usuario del customer", + "customer-user": "Usuario del cliente", "user-credentials-description": "Se utilizarán las credenciales del usuario especificado para abrir la interfaz del tablero durante la generación del informe.", "timezone-description": "Zona horaria en la que se mostrará el tablero de destino en el informe.", "reporting": "Informes", @@ -7867,7 +9034,14 @@ "download": "Descargar informe", "report-filter": "Filtro de informe", "no-reports-matching": "No se han encontrado informes que coincidan con '{{entity}}'.", - "report-required": "El informe es obligatorio" + "report-required": "Se requiere el informe", + "generate-report": "Generar informe", + "generate-report-started": "Se inició la generación del informe. Actualiza la página si el informe no aparece.", + "public-status": "Acceso público", + "manage-public-access": "Administrar acceso público", + "public-status-hint": "Si está habilitado, cualquier persona con el enlace público del informe puede descargarlo.", + "public-link-text": "Este informe es público. Comparte el siguiente enlace - cualquier persona que lo tenga puede descargar el informe sin autorización.", + "copy-public-link": "Copiar enlace" }, "report-template": { "report-template": "Plantilla de informe", @@ -8019,11 +9193,11 @@ }, "time-series-chart": { "type": "Gráfico de series temporales", - "no-datasource-configured": "La fuente de datos no está configurada para \"{{chartType}}\"", + "no-datasource-configured": "El origen de datos no está configurado para \"{{chartType}}\"", "no-series-configured": "Debe especificarse al menos una serie para \"{{chartType}}\"" }, "latest-chart": { - "no-datasource-configured": "La fuente de datos no está configurada para \"{{chartType}}\"", + "no-datasource-configured": "El origen de datos no está configurado para \"{{chartType}}\"", "no-series-configured": "Debe especificarse al menos una serie para \"{{chartType}}\"" }, "line-chart": "Gráfico de líneas", @@ -8107,7 +9281,7 @@ "blob-entity": "Entidad Blob", "select-blob-entity": "Seleccionar entidad Blob", "no-blob-entities-matching": "No se encontraron entidades Blob que coincidan con '{{entity}}'.", - "blob-entity-required": "La entidad Blob es obligatoria", + "blob-entity-required": "Se requiere la entidad Blob", "files": "Archivos", "search": "Buscar archivos", "clear-search": "Limpiar búsqueda", @@ -8116,7 +9290,7 @@ "created-time": "Fecha de creación", "name": "Nombre", "type": "Tipo", - "created_customer": "Creado por customer", + "created_customer": "Creado por cliente", "selected-blob-entities": "{ count, plural, =1 {1 archivo} other {# archivos} } seleccionado(s)", "download-blob-entity": "Descargar archivo", "delete-blob-entity": "Eliminar archivo", @@ -8129,7 +9303,7 @@ "timezone": "Zona horaria", "select-timezone": "Seleccionar zona horaria", "no-timezones-matching": "No se encontraron zonas horarias que coincidan con '{{timezone}}'.", - "timezone-required": "La zona horaria es obligatoria.", + "timezone-required": "Se requiere la zona horaria.", "browser-time": "Hora del navegador" }, "queue": { @@ -8138,30 +9312,30 @@ "no-queues-matching": "No se encontraron colas que coincidan con '{{queue}}'.", "select-name": "Seleccionar nombre de la cola", "name": "Nombre", - "name-required": "¡El nombre de la cola es obligatorio!", + "name-required": "¡Se requiere el nombre de la cola!", "name-unique": "¡El nombre de la cola no es único!", "name-pattern": "¡El nombre de la cola contiene caracteres no permitidos! Solo se permiten caracteres alfanuméricos ASCII, '.', '_' y '-'.", - "queue-required": "¡La cola es obligatoria!", - "topic-required": "¡El tópico de la cola es obligatorio!", - "poll-interval-required": "¡El intervalo de sondeo es obligatorio!", + "queue-required": "¡Se requiere la cola!", + "topic-required": "¡Se requiere el tema de la cola!", + "poll-interval-required": "¡Se requiere el intervalo de sondeo!", "poll-interval-min-value": "El valor del intervalo de sondeo no puede ser menor que 1", - "partitions-required": "¡Las particiones son obligatorias!", + "partitions-required": "¡Se requieren las particiones!", "partitions-min-value": "El valor de las particiones no puede ser menor que 1", - "pack-processing-timeout-required": "El tiempo de procesamiento es obligatorio", + "pack-processing-timeout-required": "Se requiere el tiempo de espera de procesamiento", "pack-processing-timeout-min-value": "El tiempo de procesamiento no puede ser menor que 1", - "batch-size-required": "¡El tamaño del lote es obligatorio!", + "batch-size-required": "¡Se requiere el tamaño del lote!", "batch-size-min-value": "El tamaño del lote no puede ser menor que 1", - "retries-required": "¡Los reintentos son obligatorios!", + "retries-required": "¡Se requiere el número de reintentos!", "retries-min-value": "El número de reintentos no puede ser negativo", - "failure-percentage-required": "¡El porcentaje de fallos es obligatorio!", + "failure-percentage-required": "¡Se requiere el porcentaje de fallos!", "failure-percentage-min-value": "El porcentaje de fallos no puede ser menor que 0", "failure-percentage-max-value": "El porcentaje de fallos no puede ser mayor que 100", - "pause-between-retries-required": "¡La pausa entre reintentos es obligatoria!", + "pause-between-retries-required": "¡Se requiere la pausa entre reintentos!", "pause-between-retries-min-value": "La pausa entre reintentos no puede ser menor que 1", - "max-pause-between-retries-required": "¡La pausa máxima entre reintentos es obligatoria!", + "max-pause-between-retries-required": "¡Se requiere la pausa máxima entre reintentos!", "max-pause-between-retries-min-value": "La pausa máxima entre reintentos no puede ser menor que 1", - "submit-strategy-type-required": "¡El tipo de estrategia de envío es obligatorio!", - "processing-strategy-type-required": "¡El tipo de estrategia de procesamiento es obligatorio!", + "submit-strategy-type-required": "¡Se requiere el tipo de estrategia de envío!", + "processing-strategy-type-required": "¡Se requiere el tipo de estrategia de procesamiento!", "queues": "Colas", "selected-queues": "{ count, plural, =1 {1 cola} other {# colas} } seleccionada(s)", "delete-queue-title": "¿Estás seguro de que deseas eliminar la cola '{{queueName}}'?", @@ -8202,15 +9376,15 @@ "custom-properties-hint": "Propiedades personalizadas para la creación de la cola (tópico), por ejemplo: 'retention.ms:604800000;retention.bytes:1048576000'", "strategies": { "sequential-by-originator-label": "Secuencial por originador", - "sequential-by-originator-hint": "No se envía un nuevo mensaje para p.ej. dispositivo A hasta que se confirme el mensaje anterior para ese dispositivo", - "sequential-by-tenant-label": "Secuencial por tenant", - "sequential-by-tenant-hint": "No se envía un nuevo mensaje para p.ej. tenant A hasta que se confirme el mensaje anterior para ese tenant", + "sequential-by-originator-hint": "No se envía un nuevo mensaje, p. ej., para el dispositivo A hasta que el mensaje anterior para el dispositivo A sea confirmado", + "sequential-by-tenant-label": "Secuencial por inquilino", + "sequential-by-tenant-hint": "No se envía un nuevo mensaje, p. ej., para el inquilino A hasta que el mensaje anterior para el inquilino A sea confirmado", "sequential-label": "Secuencial", "sequential-hint": "No se envía un nuevo mensaje hasta que el anterior sea confirmado", "burst-label": "Explosión (burst)", "burst-hint": "Todos los mensajes se envían a las cadenas de reglas en el orden en que llegan", "batch-label": "Por lotes", - "batch-hint": "No se envía un nuevo lote hasta que se confirme el anterior", + "batch-hint": "No se envía un nuevo lote hasta que el lote anterior sea confirmado", "skip-all-failures-label": "Omitir todos los fallos", "skip-all-failures-hint": "Ignorar todos los fallos", "skip-all-failures-and-timeouts-label": "Omitir todos los fallos y tiempos de espera", @@ -8228,7 +9402,7 @@ "queue-statistics": { "queue-statistics": "Estadísticas de la cola", "no-queue-statistics-matching": "No se encontraron estadísticas de cola que coincidan con '{{entity}}'.", - "queue-statistics-required": "Las estadísticas de la cola son obligatorias.", + "queue-statistics-required": "Se requieren las estadísticas de la cola.", "list-of-queue-statistics": "{ count, plural, =1 {Una estadística de cola} other {Lista de # estadísticas de cola} }", "selected-queue-statistics": "{ count, plural, =1 {1 estadística de cola} other {# estadísticas de cola} } seleccionada(s)", "no-queue-statistics-text": "No se encontraron estadísticas de cola", @@ -8238,7 +9412,7 @@ "general": "Error general del servidor", "authentication": "Error de autenticación", "jwt-token-expired": "Token JWT expirado", - "tenant-trial-expired": "Prueba del tenant expirada", + "tenant-trial-expired": "Período de prueba del inquilino expirado", "credentials-expired": "Credenciales expiradas", "permission-denied": "Permiso denegado", "invalid-arguments": "Argumentos inválidos", @@ -8249,77 +9423,77 @@ "entities-limit-exceeded": "Se ha superado el límite de entidades" }, "tenant": { - "tenant": "Tenant", - "tenants": "Tenants", - "management": "Gestión de tenant", - "add": "Agregar tenant", + "tenant": "Inquilino", + "tenants": "Inquilinos", + "management": "Gestión de inquilinos", + "add": "Agregar inquilino", "admins": "Administradores", - "manage-tenant-admins": "Gestionar administradores del tenant", - "delete": "Eliminar tenant", - "add-tenant-text": "Agregar nuevo tenant", - "no-tenants-text": "No se encontraron tenants", - "tenant-details": "Detalles del tenant", + "manage-tenant-admins": "Gestionar administradores del inquilino", + "delete": "Eliminar inquilino", + "add-tenant-text": "Agregar nuevo inquilino", + "no-tenants-text": "No se encontraron inquilinos", + "tenant-details": "Detalles del inquilino", "title-max-length": "El título debe tener menos de 256 caracteres", - "delete-tenant-title": "¿Estás seguro de que deseas eliminar el tenant '{{tenantTitle}}'?", - "delete-tenant-text": "Ten cuidado, después de la confirmación el tenant y todos los datos relacionados serán irrecuperables.", - "delete-tenants-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 tenant} other {# tenants} }?", - "delete-tenants-action-title": "Eliminar { count, plural, =1 {1 tenant} other {# tenants} }", - "delete-tenants-text": "Ten cuidado, después de la confirmación todos los tenants seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", + "delete-tenant-title": "¿Estás seguro de que deseas eliminar el inquilino '{{tenantTitle}}'?", + "delete-tenant-text": "Ten cuidado, después de la confirmación el inquilino y todos los datos relacionados serán irrecuperables.", + "delete-tenants-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 inquilino} one {# inquilino} other {# inquilinos} }?", + "delete-tenants-action-title": "Eliminar { count, plural, =1 {1 inquilino} one {# inquilino} other {# inquilinos} }", + "delete-tenants-text": "Ten cuidado: después de la confirmación, todos los inquilinos seleccionados se eliminarán y todos los datos relacionados serán irrecuperables.", "title": "Título", - "title-required": "El título es obligatorio.", + "title-required": "Se requiere el título.", "description": "Descripción", "details": "Detalles", "events": "Eventos", - "copyId": "Copiar ID del tenant", - "idCopiedMessage": "ID del tenant copiado al portapapeles", - "select-tenant": "Seleccionar tenant", - "no-tenants-matching": "No se encontraron tenants que coincidan con '{{entity}}'.", - "tenant-required": "El tenant es obligatorio", + "copyId": "Copiar ID del inquilino", + "idCopiedMessage": "El ID del inquilino se ha copiado al portapapeles", + "select-tenant": "Seleccionar inquilino", + "no-tenants-matching": "No se encontraron inquilinos que coincidan con '{{entity}}'.", + "tenant-required": "Se requiere el inquilino", "allow-white-labeling": "Permitir marca blanca", - "allow-customer-white-labeling": "Permitir marca blanca para customers", - "search": "Buscar tenants", - "selected-tenants": "{ count, plural, =1 {1 tenant} other {# tenants} } seleccionado(s)", + "allow-customer-white-labeling": "Permitir marca blanca para clientes", + "search": "Buscar inquilinos", + "selected-tenants": "{ count, plural, =1 {1 inquilino seleccionado} one {# inquilino seleccionado} other {# inquilinos seleccionados} }", "isolated-tb-rule-engine": "Usar colas aisladas del motor de reglas de ThingsBoard", - "isolated-tb-rule-engine-details": "Cada tenant tendrá colas del motor de reglas dedicadas" + "isolated-tb-rule-engine-details": "Cada inquilino tendrá colas dedicadas del motor de reglas" }, "tenant-profile": { - "tenant-profile": "Perfil del tenant", - "tenant-profiles": "Perfiles del tenant", - "add": "Agregar perfil de tenant", + "tenant-profile": "Perfil de inquilino", + "tenant-profiles": "Perfiles de inquilino", + "add": "Agregar perfil de inquilino", "add-profile": "Agregar perfil", "debug": "Depurar", - "edit": "Editar perfil de tenant", - "tenant-profile-details": "Detalles del perfil del tenant", - "no-tenant-profiles-text": "No se encontraron perfiles de tenant", + "edit": "Editar perfil de inquilino", + "tenant-profile-details": "Detalles del perfil de inquilino", + "no-tenant-profiles-text": "No se encontraron perfiles de inquilino", "name-max-length": "El nombre debe tener menos de 256 caracteres", - "search": "Buscar perfiles de tenant", - "selected-tenant-profiles": "{ count, plural, =1 {1 perfil de tenant} other {# perfiles de tenant} } seleccionado(s)", - "no-tenant-profiles-matching": "No se encontró ningún perfil de tenant que coincida con '{{entity}}'.", - "tenant-profile-required": "El perfil de tenant es obligatorio", - "idCopiedMessage": "El ID del perfil de tenant ha sido copiado al portapapeles", - "set-default": "Hacer perfil de tenant predeterminado", - "delete": "Eliminar perfil de tenant", - "copyId": "Copiar ID del perfil de tenant", + "search": "Buscar perfiles de inquilino", + "selected-tenant-profiles": "{ count, plural, =1 {1 perfil de inquilino seleccionado} one {# perfil de inquilino seleccionado} other {# perfiles de inquilino seleccionados} }", + "no-tenant-profiles-matching": "No se encontraron perfiles de inquilino que coincidan con '{{entity}}'.", + "tenant-profile-required": "Se requiere el perfil de inquilino", + "idCopiedMessage": "El ID del perfil de inquilino se ha copiado al portapapeles", + "set-default": "Establecer el perfil de inquilino como predeterminado", + "delete": "Eliminar perfil de inquilino", + "copyId": "Copiar ID del perfil de inquilino", "name": "Nombre", - "name-required": "El nombre es obligatorio.", + "name-required": "Se requiere el nombre.", "data": "Datos del perfil", "profile-configuration": "Configuración del perfil", "description": "Descripción", "default": "Predeterminado", - "delete-tenant-profile-title": "¿Estás seguro de que deseas eliminar el perfil de tenant '{{tenantProfileName}}'?", - "delete-tenant-profile-text": "Ten cuidado, después de la confirmación el perfil de tenant y todos los datos relacionados serán irrecuperables.", - "delete-tenant-profiles-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 perfil de tenant} other {# perfiles de tenant} }?", - "delete-tenant-profiles-text": "Ten cuidado, después de la confirmación todos los perfiles de tenant seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", - "set-default-tenant-profile-title": "¿Estás seguro de que deseas hacer predeterminado el perfil de tenant '{{tenantProfileName}}'?", - "set-default-tenant-profile-text": "Después de la confirmación, el perfil de tenant se marcará como predeterminado y se usará para nuevos tenants sin un perfil especificado.", - "no-tenant-profiles-found": "No se encontraron perfiles de tenant.", + "delete-tenant-profile-title": "¿Estás seguro de que deseas eliminar el perfil de inquilino '{{tenantProfileName}}'?", + "delete-tenant-profile-text": "Ten cuidado, después de la confirmación el perfil de inquilino y todos los datos relacionados serán irrecuperables.", + "delete-tenant-profiles-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 perfil de inquilino} one {# perfil de inquilino} other {# perfiles de inquilino} }?", + "delete-tenant-profiles-text": "Ten cuidado, después de la confirmación se eliminarán todos los perfiles de inquilino seleccionados y todos los datos relacionados serán irrecuperables.", + "set-default-tenant-profile-title": "¿Estás seguro de que deseas establecer el perfil de inquilino '{{tenantProfileName}}' como perfil por defecto?", + "set-default-tenant-profile-text": "Después de la confirmación, el perfil de inquilino se marcará como perfil por defecto y se usará para los nuevos inquilinos que no tengan un perfil especificado.", + "no-tenant-profiles-found": "No se encontraron perfiles de inquilino.", "create-new-tenant-profile": "¡Crear uno nuevo!", - "create-tenant-profile": "Crear nuevo perfil de tenant", - "import": "Importar perfil de tenant", - "export": "Exportar perfil de tenant", - "export-failed-error": "No se pudo exportar el perfil de tenant: {{error}}", - "tenant-profile-file": "Archivo del perfil de tenant", - "invalid-tenant-profile-file-error": "No se pudo importar el perfil de tenant: estructura de datos inválida.", + "create-tenant-profile": "Crear nuevo perfil de inquilino", + "import": "Importar perfil de inquilino", + "export": "Exportar perfil de inquilino", + "export-failed-error": "No se pudo exportar el perfil de inquilino: {{error}}", + "tenant-profile-file": "Archivo de perfil de inquilino", + "invalid-tenant-profile-file-error": "No se pudo importar el perfil de inquilino: estructura de datos del perfil de inquilino no válida.", "advanced-settings": "Configuraciones avanzadas", "entities": "Entidades", "rule-engine": "Motor de reglas", @@ -8335,18 +9509,18 @@ "maximum-assets": "Máximo número de activos", "maximum-assets-required": "Se requiere el número máximo de activos.", "maximum-assets-range": "El número máximo de activos no puede ser negativo", - "maximum-customers": "Máximo número de customers", - "maximum-customers-required": "Se requiere el número máximo de customers.", - "maximum-customers-range": "El número máximo de customers no puede ser negativo", + "maximum-customers": "Máximo número de clientes", + "maximum-customers-required": "Se requiere el número máximo de clientes.", + "maximum-customers-range": "El número máximo de clientes no puede ser negativo", "maximum-users": "Máximo número de usuarios", "maximum-users-required": "Se requiere el número máximo de usuarios.", "maximum-users-range": "El número máximo de usuarios no puede ser negativo", "maximum-dashboards": "Máximo número de tableros", "maximum-dashboards-required": "Se requiere el número máximo de tableros.", "maximum-dashboards-range": "El número máximo de tableros no puede ser negativo", - "maximum-edges": "Máximo número de edges", - "maximum-edges-required": "Se requiere el número máximo de edges.", - "maximum-edges-range": "El número máximo de edges no puede ser negativo", + "maximum-edges": "Máximo número de Edges", + "maximum-edges-required": "Se requiere el número máximo de Edges.", + "maximum-edges-range": "El número máximo de Edges no puede ser negativo", "maximum-rule-chains": "Máximo número de cadenas de reglas", "maximum-rule-chains-required": "Se requiere el número máximo de cadenas de reglas.", "maximum-rule-chains-range": "El número máximo de cadenas de reglas no puede ser negativo", @@ -8356,40 +9530,49 @@ "maximum-reports": "Número máximo de informes", "maximum-reports-required": "Se requiere el número máximo de informes.", "maximum-reports-range": "El número máximo de informes no puede ser negativo", - "maximum-converters": "Máximo número de conversores", - "maximum-converters-required": "Se requiere el número máximo de conversores.", - "maximum-converters-range": "El número máximo de conversores no puede ser negativo", + "maximum-converters": "Máximo número de convertidores", + "maximum-converters-required": "Se requiere el número máximo de convertidores.", + "maximum-converters-range": "El número máximo de convertidores no puede ser negativo", "maximum-scheduler-events": "Máximo número de eventos programados", "maximum-scheduler-events-required": "Se requiere el número máximo de eventos programados.", "maximum-scheduler-events-range": "El número máximo de eventos programados no puede ser negativo", + "maximum-agents": "Número máximo de Agents", + "maximum-agents-required": "Se requiere el número máximo de Agents.", + "maximum-agents-range": "El número máximo de Agents no puede ser negativo", + "maximum-agent-applications": "Número máximo de aplicaciones de Agent", + "maximum-agent-applications-required": "Se requiere el número máximo de aplicaciones de Agent.", + "maximum-agent-applications-range": "El número máximo de aplicaciones de Agent no puede ser negativo", "maximum-resources-sum-data-size": "Tamaño total máximo de archivos de recursos (bytes)", "maximum-resources-sum-data-size-required": "Se requiere el tamaño total máximo de archivos de recursos.", "maximum-resources-sum-data-size-range": "El tamaño total máximo de archivos de recursos no puede ser negativo", "maximum-resource-size": "Tamaño máximo de archivo de recurso (bytes)", "maximum-resource-size-required": "Se requiere el tamaño máximo de archivo de recurso", "maximum-resource-size-range": "El tamaño máximo de archivo de recurso no puede ser negativo", + "maximum-report-size": "Tamaño máximo del archivo de informe (bytes)", + "maximum-report-size-required": "Se requiere el tamaño máximo del archivo de informe", + "maximum-report-size-range": "El tamaño máximo del archivo de informe no puede ser negativo", "maximum-ota-packages-sum-data-size": "Tamaño total máximo de archivos OTA (bytes)", "maximum-ota-package-sum-data-size-required": "Se requiere el tamaño total máximo de archivos OTA.", "maximum-ota-package-sum-data-size-range": "El tamaño total máximo de archivos OTA no puede ser negativo", "maximum-debug-duration-min": "Duración máxima de depuración (min)", "maximum-debug-duration-min-range": "La duración máxima de depuración no puede ser negativa", - "rest-requests-for-tenant": "Solicitudes REST para el tenant", - "transport-tenant-telemetry-msg-rate-limit": "Mensajes de telemetría del tenant por transporte", - "transport-tenant-telemetry-data-points-rate-limit": "Puntos de datos de telemetría del tenant por transporte", + "rest-requests-for-tenant": "Solicitudes REST del inquilino", + "transport-tenant-telemetry-msg-rate-limit": "Mensajes de telemetría de transporte del inquilino", + "transport-tenant-telemetry-data-points-rate-limit": "Puntos de datos de telemetría de transporte del inquilino", "transport-device-msg-rate-limit": "Mensajes del dispositivo por transporte", "transport-device-telemetry-msg-rate-limit": "Límite de mensajes de telemetría del dispositivo por transporte", "transport-device-telemetry-data-points-rate-limit": "Límite de puntos de datos de telemetría del dispositivo por transporte", - "transport-gateway-msg-rate-limit": "Límite de mensajes del gateway por transporte", - "transport-gateway-telemetry-msg-rate-limit": "Límite de mensajes de telemetría del gateway por transporte", - "transport-gateway-telemetry-data-points-rate-limit": "Límite de puntos de datos de telemetría del gateway por transporte", - "transport-gateway-device-msg-rate-limit": "Límite de mensajes del dispositivo del gateway por transporte", - "transport-gateway-device-telemetry-msg-rate-limit": "Límite de mensajes de telemetría del dispositivo del gateway por transporte", - "transport-gateway-device-telemetry-data-points-rate-limit": "Límite de puntos de datos de telemetría del dispositivo del gateway por transporte", + "transport-gateway-msg-rate-limit": "Límite de mensajes del Gateway por transporte", + "transport-gateway-telemetry-msg-rate-limit": "Límite de mensajes de telemetría del Gateway por transporte", + "transport-gateway-telemetry-data-points-rate-limit": "Límite de puntos de datos de telemetría del Gateway por transporte", + "transport-gateway-device-msg-rate-limit": "Límite de mensajes del dispositivo del Gateway por transporte", + "transport-gateway-device-telemetry-msg-rate-limit": "Límite de mensajes de telemetría del dispositivo del Gateway por transporte", + "transport-gateway-device-telemetry-data-points-rate-limit": "Límite de puntos de datos de telemetría del dispositivo del Gateway por transporte", "tenant-entity-export-rate-limit": "Límite de creación de versiones de entidad", "tenant-entity-import-rate-limit": "Límite de carga de versiones de entidad", "tenant-notification-request-rate-limit": "Límite de solicitudes de notificación", "tenant-notification-requests-per-rule-rate-limit": "Límite de solicitudes de notificación por regla", - "integration-msgs-per-tenant-rate-limit": "Límite de mensajes de integración por tenant", + "integration-msgs-per-tenant-rate-limit": "Mensajes de integración del inquilino", "integration-msgs-per-device-rate-limit": "Límite de mensajes de integración por dispositivo", "integration-msgs-per-asset-rate-limit": "Límite de mensajes de integración por activo", "max-calculated-fields": "Número máximo de campos calculados por entidad", @@ -8403,25 +9586,25 @@ "max-arguments-per-cf-required": "Se requiere el número máximo de argumentos por campo calculado", "max-related-level-per-argument": "Nivel máximo de relación por argumento de 'Entidades relacionadas'", "max-related-level-per-argument-range": "El número máximo del nivel de relación por argumento de 'Entidades relacionadas' no puede ser inferior a '1'", - "max-related-level-per-argument-required": "El número máximo del nivel de relación por argumento de 'Entidades relacionadas' es obligatorio", + "max-related-level-per-argument-required": "Se requiere el número máximo de niveles de relación por argumento 'Entidades relacionadas'", "min-allowed-scheduled-update-interval": "Intervalo mínimo de actualización permitido para argumentos de 'Entidades relacionadas' (segundos)", "min-allowed-scheduled-update-interval-range": "El número mínimo del intervalo mínimo de actualización permitido no puede ser negativo", "min-allowed-deduplication-interval": "Intervalo mínimo de deduplicación permitido (segundos)", "min-allowed-deduplication-interval-range": "El valor del intervalo mínimo de deduplicación permitido no puede ser negativo", - "min-allowed-deduplication-interval-required": "El intervalo mínimo de deduplicación permitido es obligatorio", + "min-allowed-deduplication-interval-required": "Se requiere el intervalo mínimo de deduplicación permitido", "intermediate-aggregation-interval": "Intervalo de agregación intermedia (segundos)", "intermediate-aggregation-interval-range": "El valor del intervalo de agregación intermedia no puede ser inferior a '1'", - "intermediate-aggregation-interval-required": "El intervalo de agregación intermedia es obligatorio", + "intermediate-aggregation-interval-required": "Se requiere el intervalo de agregación intermedia", "reevaluation-check-interval": "Intervalo de comprobación de reevaluación (segundos)", "reevaluation-check-interval-range": "El valor del intervalo de comprobación de reevaluación no puede ser inferior a '1'", - "reevaluation-check-interval-required": "El intervalo de comprobación de reevaluación es obligatorio", + "reevaluation-check-interval-required": "Se requiere el intervalo de comprobación de reevaluación", "alarms-reevaluation-interval": "Intervalo de reevaluación de alarmas (segundos)", "alarms-reevaluation-interval-range": "El valor del intervalo de reevaluación de alarmas no puede ser inferior a '1'", - "alarms-reevaluation-interval-required": "El intervalo de reevaluación de alarmas es obligatorio", + "alarms-reevaluation-interval-required": "Se requiere el intervalo de reevaluación de alarmas", "min-allowed-aggregation-interval": "Intervalo mínimo de agregación permitido (segundos)", "min-allowed-aggregation-interval-range": "El valor del intervalo mínimo de agregación permitido no puede ser negativo", - "min-allowed-aggregation-interval-required": "El intervalo mínimo de agregación permitido es obligatorio", - "min-allowed-scheduled-update-interval-required": "El número mínimo del intervalo mínimo de actualización permitido es obligatorio", + "min-allowed-aggregation-interval-required": "Se requiere el intervalo mínimo de agregación permitido", + "min-allowed-scheduled-update-interval-required": "Se requiere el intervalo mínimo de actualización permitido", "max-state-size": "Tamaño máximo del estado en KB", "max-state-size-range": "El tamaño máximo del estado en KB no puede ser negativo", "max-state-size-required": "Se requiere el tamaño máximo del estado en KB", @@ -8465,7 +9648,7 @@ "blob-entity-ttl-days-required": "Se requiere los días TTL de entidad Blob", "blob-entity-ttl-days-range": "Los días TTL de entidad Blob no pueden ser negativos", "report-ttl-days": "Días de TTL de informes", - "report-ttl-days-required": "Los días de TTL de informes son obligatorios", + "report-ttl-days-required": "Se requieren los días de TTL del informe", "report-ttl-days-range": "Los días de TTL de informes no pueden ser negativos", "max-rule-node-executions-per-message": "Número máximo de ejecuciones de nodo de reglas por mensaje", "max-rule-node-executions-per-message-required": "Se requiere el número máximo de ejecuciones de nodo de reglas por mensaje", @@ -8483,8 +9666,8 @@ "no-queue": "Ninguna cola configurada", "add-queue": "Agregar cola", "queues-with-count": "Colas ({{count}})", - "tenant-rest-limits": "Solicitudes REST para el tenant", - "customer-rest-limits": "Solicitudes REST para el customer", + "tenant-rest-limits": "Solicitudes REST del inquilino", + "customer-rest-limits": "Solicitudes REST para el cliente", "incorrect-pattern-for-rate-limits": "El formato es una lista separada por comas de pares de capacidad y período (en segundos) con dos puntos entre ellos, por ejemplo: 100:1,2000:60", "too-small-value-zero": "El valor debe ser mayor que 0", "too-small-value-one": "El valor debe ser mayor que 1", @@ -8493,20 +9676,24 @@ "cassandra-read-tenant-core-limits-configuration": "Consultas de lectura Cassandra vía REST API y telemetría WS", "cassandra-write-tenant-rule-engine-limits-configuration": "Consultas de escritura Cassandra para telemetría del Rule Engine", "cassandra-read-tenant-rule-engine-limits-configuration": "Consultas de lectura Cassandra para telemetría del Rule Engine", - "ws-limit-max-sessions-per-tenant": "Número máximo de sesiones por tenant", - "ws-limit-max-sessions-per-customer": "Número máximo de sesiones por customer", + "ws-limit-max-sessions-per-tenant": "Número máximo de sesiones por inquilino", + "ws-limit-max-sessions-per-customer": "Número máximo de sesiones por cliente", "ws-limit-max-sessions-per-regular-user": "Número máximo de sesiones por usuario regular", "ws-limit-max-sessions-per-public-user": "Número máximo de sesiones por usuario público", "ws-limit-queue-per-session": "Tamaño máximo de la cola de mensajes por sesión", - "ws-limit-max-subscriptions-per-tenant": "Número máximo de suscripciones por tenant", - "ws-limit-max-subscriptions-per-customer": "Número máximo de suscripciones por customer", + "ws-limit-max-subscriptions-per-tenant": "Número máximo de suscripciones por inquilino", + "ws-limit-max-subscriptions-per-customer": "Número máximo de suscripciones por cliente", "ws-limit-max-subscriptions-per-regular-user": "Número máximo de suscripciones por usuario regular", "ws-limit-max-subscriptions-per-public-user": "Número máximo de suscripciones por usuario público", "ws-limit-updates-per-session": "Actualizaciones WS por sesión", "relation-search-entity-limit": "Límite de entidades en la búsqueda de relaciones", "relation-search-entity-limit-hint": "Limita el número de entidades resueltas en el último nivel de la ruta de relación. Se aplica a los argumentos de 'Entidades relacionadas' y a los campos de propagación.", - "relation-search-entity-limit-required": "El límite de entidades en la búsqueda de relaciones es obligatorio", + "relation-search-entity-limit-required": "Límite de entidades en la búsqueda de relaciones", "relation-search-entity-limit-range": "El límite de entidades en la búsqueda de relaciones no puede ser inferior a '1'", + "ai": "IA", + "max-ai-credits": "Número máximo de créditos de IA", + "max-ai-credits-required": "Se requiere el número máximo de créditos de IA.", + "max-ai-credits-range": "El número máximo de créditos de IA no puede ser negativo", "rate-limits": { "add-limit": "Agregar límite", "and-also-less-than": "y también menor que", @@ -8514,20 +9701,20 @@ "edit-limit": "Editar límite", "calculated-field-debug-event-rate-limit": "Eventos de depuración de campo calculado", "edit-calculated-field-debug-event-rate-limit": "Editar límites de eventos de depuración de campo calculado", - "edit-transport-tenant-msg-title": "Editar límites de velocidad de mensajes de transporte del tenant", - "edit-transport-tenant-telemetry-msg-title": "Editar límites de velocidad de mensajes de telemetría del tenant", - "edit-transport-tenant-telemetry-data-points-title": "Editar límites de velocidad de puntos de datos de telemetría del tenant", + "edit-transport-tenant-msg-title": "Editar límites de tasa de mensajes de transporte del inquilino", + "edit-transport-tenant-telemetry-msg-title": "Editar límites de tasa de mensajes de telemetría de transporte del inquilino", + "edit-transport-tenant-telemetry-data-points-title": "Editar límites de tasa de puntos de datos de telemetría de transporte del inquilino", "edit-transport-device-msg-title": "Editar límites de velocidad de mensajes de transporte del dispositivo", "edit-transport-device-telemetry-msg-title": "Editar límites de velocidad de mensajes de telemetría del dispositivo", "edit-transport-device-telemetry-data-points-title": "Editar límites de velocidad de puntos de datos de telemetría del dispositivo", - "edit-transport-gateway-msg-title": "Editar límites de velocidad de mensajes del gateway de transporte", - "edit-transport-gateway-telemetry-msg-title": "Editar límites de velocidad de mensajes de telemetría del gateway", - "edit-transport-gateway-telemetry-data-points-title": "Editar límites de velocidad de puntos de datos de telemetría del gateway", - "edit-transport-gateway-device-msg-title": "Editar límites de velocidad de mensajes del dispositivo del gateway", - "edit-transport-gateway-device-telemetry-msg-title": "Editar límites de velocidad de mensajes de telemetría del dispositivo del gateway", - "edit-transport-gateway-device-telemetry-data-points-title": "Editar límites de velocidad de puntos de datos de telemetría del dispositivo del gateway", - "edit-tenant-rest-limits-title": "Editar límites de solicitudes REST para el tenant", - "edit-customer-rest-limits-title": "Editar límites de solicitudes REST para el customer", + "edit-transport-gateway-msg-title": "Editar límites de velocidad de mensajes del Gateway de transporte", + "edit-transport-gateway-telemetry-msg-title": "Editar límites de velocidad de mensajes de telemetría del Gateway", + "edit-transport-gateway-telemetry-data-points-title": "Editar límites de velocidad de puntos de datos de telemetría del Gateway", + "edit-transport-gateway-device-msg-title": "Editar límites de velocidad de mensajes del dispositivo del Gateway", + "edit-transport-gateway-device-telemetry-msg-title": "Editar límites de velocidad de mensajes de telemetría del dispositivo del Gateway", + "edit-transport-gateway-device-telemetry-data-points-title": "Editar límites de velocidad de puntos de datos de telemetría del dispositivo del Gateway", + "edit-tenant-rest-limits-title": "Editar límites de tasa de solicitudes REST del inquilino", + "edit-customer-rest-limits-title": "Editar límites de solicitudes REST para el cliente", "edit-ws-limit-updates-per-session-title": "Editar límites de tasa de actualizaciones WS por sesión", "edit-cassandra-write-tenant-core-limits-configuration": "Editar consultas de escritura Cassandra vía REST API", "edit-cassandra-read-tenant-core-limits-configuration": "Editar consultas de lectura Cassandra vía REST API y telemetría WS", @@ -8537,21 +9724,31 @@ "edit-tenant-entity-import-rate-limit-title": "Editar límites de tasa para la carga de versiones de entidad", "edit-tenant-notification-request-rate-limit-title": "Editar límites de tasa para solicitudes de notificación", "edit-tenant-notification-requests-per-rule-rate-limit-title": "Editar límites de tasa para solicitudes de notificación por regla de notificación", - "edit-integration-msgs-per-tenant-rate-limit-title": "Editar límites de tasa para mensajes de integración por tenant", + "edit-integration-msgs-per-tenant-rate-limit-title": "Editar límites de velocidad de mensajes de integración por inquilino", "edit-integration-msgs-per-device-rate-limit-title": "Editar límites de tasa para mensajes de integración por dispositivo", "edit-integration-msgs-per-asset-rate-limit-title": "Editar límites de tasa para mensajes de integración por asset", - "edit-edge-events-rate-limit": "Editar límites de tasa para eventos de edge", - "edit-edge-events-per-edge-rate-limit": "Editar límites de tasa para eventos por edge", - "edge-events-rate-limit": "Eventos de edge", - "edge-events-per-edge-rate-limit": "Eventos por edge", - "edit-edge-uplink-messages-rate-limit": "Editar límites de tasa para mensajes ascendentes de edge", - "edit-edge-uplink-messages-per-edge-rate-limit": "Editar límites de tasa para mensajes ascendentes por edge", - "edge-uplink-messages-rate-limit": "Mensajes ascendentes de edge", - "edge-uplink-messages-per-edge-rate-limit": "Mensajes ascendentes por edge", + "edit-edge-events-rate-limit": "Editar límites de tasa para eventos de Edge", + "edit-edge-events-per-edge-rate-limit": "Editar límites de tasa para eventos por Edge", + "edge-events-rate-limit": "Eventos de Edge", + "edge-events-per-edge-rate-limit": "Eventos por Edge", + "edit-edge-uplink-messages-rate-limit": "Editar límites de velocidad de mensajes uplink de Edge", + "edit-edge-uplink-messages-per-edge-rate-limit": "Editar límites de velocidad de mensajes uplink de Edge por Edge", + "edge-uplink-messages-rate-limit": "Mensajes uplink de Edge", + "edge-uplink-messages-per-edge-rate-limit": "Mensajes uplink de Edge por Edge", + "edit-agent-events-rate-limit": "Editar límites de velocidad de eventos de Agent", + "edit-agent-events-per-agent-rate-limit": "Editar límites de velocidad de eventos de Agent por Agent", + "agent-events-rate-limit": "Eventos de Agent", + "agent-events-per-agent-rate-limit": "Eventos de Agent por Agent", + "edit-agent-log-chunks-rate-limit": "Editar límites de velocidad de fragmentos de registro de Agent", + "edit-agent-log-chunks-per-agent-rate-limit": "Editar límites de velocidad de fragmentos de registro de Agent por Agent", + "agent-log-chunks-rate-limit": "Fragmentos de registro de Agent", + "agent-log-chunks-per-agent-rate-limit": "Fragmentos de registro de Agent por Agent", + "ai-chat-requests-rate-limit": "Solicitudes de chat de IA", + "edit-ai-chat-requests-rate-limit": "Editar límites de velocidad de solicitudes de chat de IA", "messages-per": "mensajes por", "not-set": "No establecido", "number-of-messages": "Número de mensajes", - "number-of-messages-required": "El número de mensajes es obligatorio.", + "number-of-messages-required": "Se requiere el número de mensajes.", "number-of-messages-min": "El valor mínimo es 1.", "preview": "Vista previa", "per-seconds": "Por segundos", @@ -8560,18 +9757,18 @@ "per-seconds-duplicate": "Tasa de tiempo duplicada. Cada intervalo de tiempo debe ser único.", "rate-limits": "Límites de tasa", "remove-limit": "Eliminar límite", - "transport-tenant-msg": "Mensajes de transporte del tenant", - "transport-tenant-telemetry-msg": "Mensajes de telemetría del tenant", - "transport-tenant-telemetry-data-points": "Puntos de datos de telemetría del tenant", + "transport-tenant-msg": "Mensajes de transporte del inquilino", + "transport-tenant-telemetry-msg": "Mensajes de telemetría de transporte del inquilino", + "transport-tenant-telemetry-data-points": "Puntos de datos de telemetría de transporte del inquilino", "transport-device-msg": "Mensajes de transporte del dispositivo", "transport-device-telemetry-msg": "Mensajes de telemetría del dispositivo", "transport-device-telemetry-data-points": "Puntos de datos de telemetría del dispositivo", - "transport-gateway-msg": "Mensajes de gateway de transporte", - "transport-gateway-telemetry-msg": "Mensajes de telemetría del gateway", - "transport-gateway-telemetry-data-points": "Puntos de datos de telemetría del gateway", - "transport-gateway-device-msg": "Mensajes del dispositivo del gateway", - "transport-gateway-device-telemetry-msg": "Mensajes de telemetría del dispositivo del gateway", - "transport-gateway-device-telemetry-data-points": "Puntos de datos de telemetría del dispositivo del gateway", + "transport-gateway-msg": "Mensajes de Gateway de transporte", + "transport-gateway-telemetry-msg": "Mensajes de telemetría del Gateway", + "transport-gateway-telemetry-data-points": "Puntos de datos de telemetría del Gateway", + "transport-gateway-device-msg": "Mensajes del dispositivo del Gateway", + "transport-gateway-device-telemetry-msg": "Mensajes de telemetría del dispositivo del Gateway", + "transport-gateway-device-telemetry-data-points": "Puntos de datos de telemetría del dispositivo del Gateway", "sec": "seg" } }, @@ -8629,13 +9826,13 @@ "timewindow": { "timewindow": "Ventana de tiempo", "timewindow-settings": "Configuraciones de ventana de tiempo", - "years": "{ years, plural, =1 { año } other {# años } }", + "years": "{ years, plural, =1 {1 año } one {# año } other {# años } }", "years-short": "{{ years }}a", - "months": "{ months, plural, =1 { mes } other {# meses } }", + "months": "{ months, plural, =1 {1 mes } one {# mes } other {# meses } }", "months-short": "{{ months }}M", - "weeks": "{ weeks, plural, =1 { semana } other {# semanas } }", + "weeks": "{ weeks, plural, =1 {1 semana } one {# semana } other {# semanas } }", "weeks-short": "{{ weeks }}s", - "days": "{ days, plural, =1 { día } other {# días } }", + "days": "{ days, plural, =1 {1 día } one {# día } other {# días } }", "days-short": "{{ days }}d", "hours": "{ hours, plural, =0 { hora } =1 {1 hora } other {# horas } }", "hr": "{{ hr }} h", @@ -8650,8 +9847,8 @@ "years": "{ years, plural, =1 {1 año } other {# años } }", "days": "{ days, plural, =1 {1 día } other {# días } }", "hours": "{ hours, plural, =1 {1 hora } other {# horas } }", - "minutes": "{{minutes}} min", - "seconds": "{{seconds}} seg", + "minutes": "{{minutes}} min ", + "seconds": "{{seconds}} seg ", "milliseconds": "{{milliseconds}} ms" }, "realtime": "Tiempo real", @@ -9155,6 +10352,7 @@ "cubic-foot-per-minute": "Pie cúbico por minuto", "cubic-meters-per-hour": "Metros cúbicos por hora", "cubic-meters-per-second": "Metros cúbicos por segundo", + "cubic-meters-per-minute": "Metros cúbicos por minuto", "liter-per-second": "Litro por segundo", "liter-per-minute": "Litro por minuto", "gallons-per-minute": "Galones por minuto", @@ -9269,11 +10467,11 @@ "user": "Usuario", "users": "Usuarios", "management": "Gestión de usuarios", - "customer-users": "Usuarios del customer", - "tenant-admins": "Administradores del tenant", + "customer-users": "Usuarios del cliente", + "tenant-admins": "Administradores del inquilino", "sys-admin": "Administrador del sistema", - "tenant-admin": "Administrador del tenant", - "customer": "Customer", + "tenant-admin": "Administrador del inquilino", + "customer": "Cliente", "anonymous": "Anónimo", "add": "Agregar usuario", "delete": "Eliminar usuario", @@ -9281,15 +10479,15 @@ "no-users-text": "No se encontraron usuarios", "user-details": "Detalles del usuario", "delete-users": "Eliminar usuarios", - "delete-user-title": "¿Está seguro de que desea eliminar al usuario '{{userEmail}}'?", - "delete-user-text": "Tenga cuidado, después de la confirmación el usuario y todos los datos relacionados serán irrecuperables.", - "delete-users-title": "¿Está seguro de que desea eliminar { count, plural, =1 {1 usuario} other {# usuarios} }?", + "delete-user-title": "¿Estás seguro de que deseas eliminar al usuario '{{userEmail}}'?", + "delete-user-text": "Ten cuidado, después de la confirmación el usuario y todos los datos relacionados serán irrecuperables.", + "delete-users-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 usuario} one {# usuario} other {# usuarios} }?", "delete-users-action-title": "Eliminar { count, plural, =1 {1 usuario} other {# usuarios} }", - "delete-users-text": "Tenga cuidado, después de la confirmación todos los usuarios seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", + "delete-users-text": "Ten cuidado, después de la confirmación todos los usuarios seleccionados se eliminarán y todos los datos relacionados serán irrecuperables.", "activation-email-sent-message": "¡Correo de activación enviado con éxito!", "resend-activation": "Reenviar activación", "email": "Correo electrónico", - "email-required": "El correo electrónico es obligatorio.", + "email-required": "Se requiere el correo electrónico.", "invalid-email-format": "Formato de correo electrónico no válido.", "first-name": "Nombre", "last-name": "Apellido", @@ -9307,11 +10505,11 @@ "copy-activation-link": "Copiar enlace de activación", "activation-link-copied-message": "El enlace de activación del usuario ha sido copiado al portapapeles", "details": "Detalles", - "login-as-tenant-admin": "Iniciar sesión como administrador del tenant", - "login-as-customer-user": "Iniciar sesión como usuario del Customer", + "login-as-tenant-admin": "Iniciar sesión como administrador del inquilino", + "login-as-customer-user": "Iniciar sesión como usuario del cliente", "select-group-to-add": "Seleccionar grupo de destino para agregar usuarios seleccionados", "select-group-to-move": "Seleccionar grupo de destino para mover usuarios seleccionados", - "remove-users-from-group": "¿Está seguro de que desea eliminar { count, plural, =1 {1 usuario} other {# usuarios} } del grupo '{{entityGroup}}'?", + "remove-users-from-group": "¿Estás seguro de que deseas quitar { count, plural, =1 {1 usuario} one {# usuario} other {# usuarios} } del grupo '{{entityGroup}}'?", "group": "Grupo de usuarios", "list-of-groups": "{ count, plural, =1 {Un grupo de usuarios} other {Lista de # grupos de usuarios} }", "group-name-starts-with": "Grupos de usuarios cuyos nombres comienzan con '{{prefix}}'", @@ -9405,7 +10603,7 @@ "no-entities-to-restore-prompt": "Por favor especifica las entidades a restaurar", "add-entity-type": "Agregar tipo de entidad", "remove-all": "Eliminar todo", - "version-create-result": "{ added, plural, =0 {Ninguna entidad} =1 {1 entidad} other {# entidades} } añadida.
    { modified, plural, =0 {Ninguna entidad} =1 {1 entidad} other {# entidades} } modificada.
    { removed, plural, =0 {Ninguna entidad} =1 {1 entidad} other {# entidades} } eliminada.", + "version-create-result": "{ added, plural, =0 {Ninguna entidad agregada} =1 {1 entidad agregada} other {# entidades agregadas} }.
    { modified, plural, =0 {Ninguna entidad modificada} =1 {1 entidad modificada} other {# entidades modificadas} }.
    { removed, plural, =0 {Ninguna entidad eliminada} =1 {1 entidad eliminada} other {# entidades eliminadas} }.", "remove-other-entities": "Eliminar otras entidades", "find-existing-entity-by-name": "Buscar entidad existente por nombre", "restore-entities-from-version": "Restaurar entidades desde la versión '{{versionName}}'", @@ -9494,6 +10692,7 @@ "widget-bundle": "Paquete de widgets", "all-bundles": "Todos los paquetes", "select-widgets-bundle": "Seleccionar paquete de widgets", + "installed": "Instalado", "widgets": "Widgets", "all-widgets": "Todos los widgets", "widget": "Widget", @@ -9515,7 +10714,7 @@ "timeseries": "Serie temporal", "search-data": "Buscar datos", "no-data-found": "No se encontraron datos", - "latest": "Valores más recientes", + "latest": "Últimos valores", "rpc": "Widget de control", "alarm": "Widget de alarma", "static": "Widget estático", @@ -9524,6 +10723,11 @@ "rpc-short": "control", "alarm-short": "alarma", "static-short": "estático", + "type-timeseries": "Series temporales", + "type-latest": "Último", + "type-rpc": "Control", + "type-alarm": "Alarma", + "type-static": "Estático", "select-widget-type": "Seleccionar tipo de widget", "missing-widget-title-error": "¡Debe especificarse un título para el widget!", "widget-saved": "Widget guardado", @@ -9679,7 +10883,89 @@ "auto": "Automático", "wi-fi": "Wi-Fi", "ble": "BLE", - "soft-ap": "Soft AP" + "soft-ap": "Soft AP", + "save-to-entity": "Guardar ubicación en la entidad", + "target-panel-title": "Destino", + "target-save-to": "Guardar en", + "target-mode-entity": "Entidad", + "target-current-entity": "Entidad del origen de datos del widget", + "target-current-user": "Usuario actual", + "target-entity-alias": "Alias de entidad", + "target-from-attribute": "Desde atributo", + "target-entity-alias-name": "Nombre del alias", + "target-entity-alias-name-required": "Se requiere el nombre del alias", + "target-attribute-source": "Leer atributo de", + "target-attribute-key": "Clave del atributo de servidor", + "target-attribute-key-required": "Se requiere la clave del atributo de servidor", + "target-attribute-value-hint": "El atributo debe contener un objeto de ID de entidad con ambos campos, por ejemplo {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}. No se acepta una cadena de ID simple.", + "location-save-failed": "No se pudo guardar la ubicación: {{error}}", + "start-live-location": "Iniciar el seguimiento de ubicación en tiempo real", + "stop-live-location": "Detener el seguimiento de ubicación en tiempo real", + "accuracy": "Precisión", + "accuracy-hint": "Equilibrio entre la precisión de cada posición y el consumo de batería del seguimiento.", + "accuracy-high": "Alta", + "accuracy-high-hint": "Usa GPS para obtener la posición más precisa, de unos 5 m. Ideal para el seguimiento de vehículos o trabajadores de campo, pero agota la batería más rápido.", + "accuracy-balanced": "Equilibrada", + "accuracy-balanced-hint": "Usa Wi-Fi y torres de telefonía celular, y recurre al GPS solo cuando es necesario, con unos 40 m de precisión. Buena opción por defecto para registros periódicos con un consumo moderado de batería.", + "accuracy-low": "Baja", + "accuracy-low-hint": "Usa solo torres de telefonía celular, con una precisión de unos 500 m o peor. Ideal para la presencia a nivel de ciudad durante largos periodos con un consumo mínimo de batería.", + "live-location-advanced-settings": "Configuración avanzada", + "distance-filter": "Limitar actualizaciones por distancia recorrida", + "distance-filter-hint": "Omite las actualizaciones hasta que el dispositivo se haya desplazado al menos esta distancia desde la última posición informada.", + "distance-filter-value": "Distancia", + "distance-filter-value-min": "La distancia debe ser de al menos 1 metro", + "distance-filter-value-pattern": "La distancia debe ser un número entero", + "distance-filter-value-required": "Se requiere la distancia", + "interval": "Limitar las actualizaciones por intervalo de tiempo", + "interval-hint": "Solicita una nueva posición como máximo con esta frecuencia. Sin este límite, las actualizaciones llegan tan rápido como el dispositivo las informa.", + "interval-value": "Intervalo", + "interval-value-min": "El intervalo debe ser de al menos 1 segundo", + "interval-value-required": "Se requiere el intervalo", + "max-duration": "Detener el seguimiento tras una duración máxima", + "max-duration-hint": "El seguimiento se detiene automáticamente cuando transcurre este tiempo desde su inicio.", + "max-duration-value": "Duración", + "max-duration-value-min": "La duración debe ser de al menos 1 minuto", + "max-duration-value-required": "Se requiere la duración" + }, + "location": { + "saved-keys": "Claves que se guardan en la entidad", + "argument": "Argumento", + "key-name": "Clave de datos", + "value-type": "Tipo", + "add-key": "Agregar clave", + "remove-key": "Quitar clave", + "duplicate-key-names": "Las claves de datos deben ser únicas", + "key-latitude": "Latitud", + "key-longitude": "Longitud", + "key-accuracy": "Precisión", + "key-altitude": "Altitud", + "key-speed": "Velocidad", + "key-heading": "Rumbo", + "key-gps-active": "GPS activo", + "key-gps-tracked-by": "GPS rastreado por el usuario", + "value-type-attribute": "Atributo de servidor", + "value-type-timeseries": "Serie temporal", + "error-no-current-entity": "La acción del widget no tiene una entidad actual", + "error-no-current-user": "No se puede determinar el usuario actual", + "error-save-failed": "Error inesperado del servidor", + "error-permission-denied": "Permiso denegado", + "error-alias-not-found": "No se encontró el alias de entidad '{{alias}}' en el tablero", + "error-alias-not-resolved": "El alias de entidad '{{alias}}' no se resolvió en ninguna entidad", + "error-attribute-not-found": "No se encontró el atributo '{{key}}' en la entidad de origen", + "error-attribute-not-object": "El atributo '{{key}}' no es un objeto de ID de entidad. Se esperaban los campos entityType e id, por ejemplo {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}.", + "error-attribute-incomplete": "Al atributo '{{key}}' le falta el campo entityType o id del objeto de ID de entidad", + "error-attribute-unknown-entity-type": "El atributo '{{key}}' hace referencia a un tipo de entidad desconocido '{{entityType}}'", + "error-unknown-target-type": "Origen de entidad de destino desconocido '{{type}}'" + }, + "save-browser-location": "Guardar ubicación del navegador", + "browser-location": { + "location-saved": "Ubicación del navegador guardada", + "location-save-failed": "No se pudo guardar la ubicación del navegador: {{error}}", + "error-unsupported": "Este navegador no admite la detección de ubicación", + "error-insecure-context": "La ubicación del navegador requiere una conexión segura (HTTPS)", + "error-permission-denied": "Se denegó el permiso de ubicación", + "error-position-unavailable": "La ubicación actual no está disponible", + "error-timeout": "Se agotó el tiempo de espera al obtener la ubicación actual" }, "custom-action-function": "Función de acción personalizada", "custom-pretty-function": "Función de acción personalizada (con plantilla HTML)", @@ -9693,7 +10979,7 @@ }, "place-map-item": "Colocar elemento en el mapa", "map-item-tooltip": { - "customize-map-item-tooltips": "Personalizar los tooltips de los elementos del mapa", + "customize-map-item-tooltips": "Personalizar las descripciones emergentes de los elementos del mapa", "place-marker": "Colocar marcador", "start-draw-rectangle": "Iniciar dibujo del rectángulo", "finish-draw-rectangle": "Finalizar dibujo del rectángulo", @@ -9713,7 +10999,7 @@ "add": "Agregar paquete de widgets", "delete": "Eliminar paquete de widgets", "title": "Título", - "title-required": "El título es obligatorio.", + "title-required": "Se requiere el título.", "title-max-length": "El título debe tener menos de 256 caracteres", "description": "Descripción", "image-preview": "Vista previa de la imagen", @@ -9724,11 +11010,11 @@ "empty": "El paquete de widgets está vacío", "details": "Detalles", "widgets-bundle-details": "Detalles del paquete de widgets", - "delete-widgets-bundle-title": "¿Está seguro de que desea eliminar el paquete de widgets '{{widgetsBundleTitle}}'?", - "delete-widgets-bundle-text": "Tenga cuidado, después de la confirmación, el paquete de widgets y todos los datos relacionados serán irrecuperables.", - "delete-widgets-bundles-title": "¿Está seguro de que desea eliminar { count, plural, =1 {1 paquete de widgets} other {# paquetes de widgets} }?", + "delete-widgets-bundle-title": "¿Estás seguro de que deseas eliminar el paquete de widgets '{{widgetsBundleTitle}}'?", + "delete-widgets-bundle-text": "Ten cuidado, después de la confirmación el paquete de widgets y todos los datos relacionados serán irrecuperables.", + "delete-widgets-bundles-title": "¿Estás seguro de que deseas eliminar { count, plural, =1 {1 paquete de widgets} one {# paquete de widgets} other {# paquetes de widgets} }?", "delete-widgets-bundles-action-title": "Eliminar { count, plural, =1 {1 paquete de widgets} other {# paquetes de widgets} }", - "delete-widgets-bundles-text": "Tenga cuidado, después de la confirmación, todos los paquetes de widgets seleccionados serán eliminados y todos los datos relacionados serán irrecuperables.", + "delete-widgets-bundles-text": "Ten cuidado, después de la confirmación se eliminarán todos los paquetes de widgets seleccionados y todos los datos relacionados serán irrecuperables.", "no-widgets-bundles-matching": "No se encontraron paquetes de widgets que coincidan con '{{widgetsBundle}}'.", "widgets-bundle-required": "Se requiere un paquete de widgets.", "system": "Sistema", @@ -9753,7 +11039,7 @@ "widget-card": "Tarjeta del widget", "mobile": "Móvil", "title": "Título", - "title-tooltip": "Tooltip del título", + "title-tooltip": "Descripción emergente del título", "general-settings": "Configuración general", "display-title": "Mostrar título del widget", "card-title": "Título de la tarjeta", @@ -9804,16 +11090,36 @@ "add-action": "Agregar acción", "search-actions": "Buscar acciones", "no-actions-text": "No se encontraron acciones", + "import-actions": "Importar acciones", + "export-actions": "Exportar acciones", + "export-action": "Exportar acción", + "duplicate-action": "Duplicar acción", + "copy-action": "Copiar acción", + "copy-all-actions": "Copiar todas las acciones", + "action-copied": "Acción copiada", + "actions-copied": "Acciones copiadas", + "paste-actions": "Pegar acciones", + "clear-actions": "Borrar todas las acciones", + "clear-actions-title": "Borrar todas las acciones", + "clear-actions-text": "¿Estás seguro de que deseas quitar todas las acciones del widget?", + "actions-file": "Archivo de acciones del widget", + "actions-json-content": "Contenido JSON de las acciones", + "invalid-actions-file-error": "No se pueden importar las acciones del widget: estructura de datos de acciones del widget no válida.", + "import-actions-imported": "{ count, plural, =0 {No se importó ninguna acción} =1 {Se importó 1 acción} one {Se importó # acción} other {Se importaron # acciones} }", + "paste-actions-pasted": "{ count, plural, =0 {No se pegó ninguna acción} =1 {Se pegó 1 acción} one {Se pegó # acción} other {Se pegaron # acciones} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {No se duplicó ninguna acción} =1 {Se duplicó 1 acción} one {Se duplicó # acción} other {Se duplicaron # acciones} }", + "import-actions-skipped": "{ count, plural, =1 {Se omitió 1 acción por no ser aplicable o estar ya configurada para este widget} one {Se omitió # acción por no ser aplicable o estar ya configurada para este widget} other {Se omitieron # acciones por no ser aplicables o estar ya configuradas para este widget} }", + "import-actions-columns-reset": "{ count, plural, =1 {1 acción de clic en celda no tiene columna asignada. Edita la acción para asignar una columna.} one {# acción de clic en celda no tiene columna asignada. Edita la acción para asignar una columna.} other {# acciones de clic en celda no tienen columna asignada. Edita las acciones para asignar una columna.} }", "action-source": "Fuente de la acción", "select-action-source": "Seleccionar fuente de la acción", - "action-source-required": "La fuente de la acción es obligatoria.", + "action-source-required": "Se requiere el origen de la acción.", "column-index": "Índice de columna", "select-column-index": "Seleccionar índice de columna", - "column-index-required": "El índice de columna es obligatorio.", - "entity-group-row-click-hint": "Para usar la acción personalizada \"Al hacer clic en la fila\", asegúrese de que la opción \"Abrir detalles de entidad en\" en la pestaña de configuración esté configurada en una opción distinta de \"Al hacer clic en la fila\".", + "column-index-required": "Se requiere el índice de columna.", + "entity-group-row-click-hint": "Para usar la acción personalizada \"Al hacer clic en la fila\", asegúrate de que la opción \"Abrir detalles de entidad en\" de la pestaña de configuración tenga cualquier valor distinto de \"Al hacer clic en la fila\".", "not-set": "No establecido", "action-name": "Nombre", - "action-name-required": "El nombre de la acción es obligatorio.", + "action-name-required": "Se requiere el nombre de la acción.", "action-name-not-unique": "Ya existe otra acción con el mismo nombre.\nEl nombre de la acción debe ser único dentro de la misma fuente.", "action-icon": "Ícono", "header-button": { @@ -9835,11 +11141,11 @@ "show-hide-action-using-function": "Mostrar/ocultar acción usando función", "show-action-function": "Función para mostrar la acción", "action-type": "Tipo", - "action-type-required": "El tipo de acción es obligatorio.", + "action-type-required": "Se requiere el tipo de acción.", "edit-action": "Editar acción", "delete-action": "Eliminar acción", "delete-action-title": "Eliminar acción del widget", - "delete-action-text": "¿Está seguro de que desea eliminar la acción del widget con nombre '{{actionName}}'?", + "delete-action-text": "¿Estás seguro de que deseas eliminar la acción del widget con el nombre '{{actionName}}'?", "title-icon": "Ícono del título", "display-icon": "Mostrar ícono del título", "card-icon": "Ícono de la tarjeta", @@ -9852,7 +11158,7 @@ "no-data-display-message": "Mensaje alternativo \"Sin datos para mostrar\"", "data-page-size": "Entidades máximas por origen de datos", "settings-component-not-found": "Componente del formulario de configuración no encontrado para el selector '{{selector}}'", - "preview": "Previsualizar", + "preview": "Vista previa", "set": "Establecer", "set-message": "Establecer mensaje", "advanced-title-style": "Estilo avanzado del título", @@ -9866,8 +11172,8 @@ "card-padding": "Relleno de la tarjeta", "card-appearance": "Apariencia de la tarjeta", "color": "Color", - "tooltip": "Información sobre herramientas", - "units-required": "La unidad es obligatoria.", + "tooltip": "Descripción emergente", + "units-required": "Se requiere la unidad.", "list-layout": "Diseño de lista", "layout": "Diseño", "resize-options": "Opciones de redimensionamiento", @@ -9887,21 +11193,21 @@ "captcha-version": "Versión de Captcha", "captcha-action": "Nombre de acción de registro de Captcha", "captcha-site-key": "Clave del sitio Captcha", - "captcha-site-key-required": "La clave del sitio Captcha es obligatoria.", + "captcha-site-key-required": "Se requiere la clave del sitio de Captcha.", "captcha-site-key-cannot-contain-only-spaces": "La clave del sitio Captcha no puede contener solo espacios", "captcha-site-key-max-length": "La clave del sitio Captcha debe tener menos de 256 caracteres", "captcha-secret-key": "Clave secreta de Captcha", - "captcha-secret-key-required": "La clave secreta de Captcha es obligatoria.", + "captcha-secret-key-required": "Se requiere la clave secreta de Captcha.", "captcha-secret-key-cannot-contain-only-spaces": "La clave secreta de Captcha no puede contener solo espacios", "captcha-secret-key-max-length": "La clave secreta de Captcha debe tener menos de 256 caracteres", "project-id": "ID del proyecto", - "project-id-required": "El ID del proyecto es obligatorio.", + "project-id-required": "Se requiere el ID del proyecto.", "android-key": "Clave de Android", - "android-key-required": "La clave de Android es obligatoria.", + "android-key-required": "Se requiere la clave de Android.", "ios-key": "Clave de iOS", - "ios-key-required": "La clave de iOS es obligatoria.", + "ios-key-required": "Se requiere la clave de iOS.", "notification-recipient": "Destinatario de notificación", - "notification-recipient-required": "El destinatario de notificación es obligatorio.", + "notification-recipient-required": "Se requiere el destinatario de la notificación.", "privacy-policy-text": "Texto de la política de privacidad", "terms-of-use-text": "Texto de los Términos de Uso", "text-message-page": "Mensaje de texto para la página de registro", @@ -9910,18 +11216,18 @@ "mobile-package": "Paquete de aplicación", "mobile-package-placeholder": "Ej.: my.example.app", "mobile-package-hint": "Para Android: tu propio ID de aplicación único. Para iOS: identificador del paquete del producto.", - "mobile-package-required": "El paquete de aplicación es obligatorio", + "mobile-package-required": "Se requiere el paquete de la aplicación", "mobile-app-secret": "Secreto de la aplicación", "invalid-mobile-app-secret": "El secreto de la aplicación debe contener solo caracteres alfanuméricos y tener entre 16 y 2048 caracteres.", "copy-mobile-app-secret": "Copiar secreto de la aplicación", "mobile-app-scheme": "Esquema de URL de la aplicación", "mobile-app-scheme-placeholder": "Ej.: customscheme", - "mobile-app-scheme-required": "El esquema de URL de la aplicación es obligatorio", + "mobile-app-scheme-required": "Se requiere el esquema de URL de la aplicación", "mobile-app-scheme-cannot-contain-only-spaces": "El esquema de URL de la aplicación no puede contener solo espacios", "mobile-app-scheme-max-length": "El esquema de URL de la aplicación debe tener menos de 256 caracteres", "mobile-app-host": "Hostname de URL de la aplicación", "mobile-app-host-placeholder": "Ej.: my.app.host", - "mobile-app-host-required": "El hostname de URL de la aplicación es obligatorio", + "mobile-app-host-required": "Se requiere el nombre de host de la URL de la aplicación", "mobile-app-host-cannot-contain-only-spaces": "El hostname de URL de la aplicación no puede contener solo espacios", "mobile-app-host-max-length": "El hostname de URL de la aplicación debe tener menos de 256 caracteres", "show-privacy-policy": "Mostrar Política de Privacidad", @@ -9931,26 +11237,135 @@ "recaptcha-enterprise-service-account-file": "Archivo JSON de credenciales de cuenta reCAPTCHA Enterprise", "select-recaptcha-enterprise-service-account-file": "Arrastra y suelta tu archivo de credenciales de cuenta" }, - "solution-template": { - "solution-template": "Plantilla de solución", - "solution-templates": "Plantillas de solución", - "management": "Gestionar plantillas de solución", - "details": "Detalles", - "install": "Instalar", - "level": "Nivel", - "install-title": "Plantilla de solución instalada con éxito", - "install-failed-title": "La instalación de la plantilla de solución falló", - "instructions": "Instrucciones", - "goto-main-dashboard": "Ir al tablero principal", - "delete": "Eliminar", - "delete-solution-title": "¿Está seguro de que desea eliminar la solución '{{solutionTitle}}'?", - "delete-solution-text": "Tenga cuidado, después de la confirmación, la solución y todos los datos relacionados serán irrecuperables.", - "installing": "Instalando plantilla de solución..." + "solution-creator": { + "ai-solution-creator": "Creador de soluciones con IA", + "describe-solution-you-want": "Describe la solución que deseas crear", + "enter-your-prompt": "Ingresa tu instrucción", + "target": "Destino", + "install-solution": "Instalar", + "solution-overview": "Resumen de la solución: {{ name }}", + "dashboards-overview": "Resumen de tableros: {{ name }}", + "entity-profile": "Perfil de entidad", + "entity-profiles": "Perfiles de entidad", + "name": "Nombre", + "iam": "IAM", + "iam-full": "Gestión de identidades y accesos", + "table-view": "Tabla", + "schema-view": "Esquema", + "iam-info": "Información de IAM", + "operation": { + "C": "Crear", + "R": "Leer", + "U": "Modificar", + "D": "Eliminar" + }, + "alarm-info": "Información de la alarma", + "description": "Descripción", + "data": "Datos", + "entity-info": "Información de la entidad", + "calculated-field-info": "Información del campo calculado", + "field-type": "Tipo de campo", + "scope": "Ámbito", + "delete-alarm-title": "¿Eliminar esta alarma sugerida?", + "delete-alarm-text": "Esta alarma, sugerida a partir de tu descripción, no se agregará a la compilación de la solución propuesta.
    Siempre puedes editar o volver a crear las alarmas manualmente más tarde. Esta acción no se puede deshacer.", + "basic-mode": "Básico", + "advanced-mode": "Avanzado", + "create-solution": "Crear solución", + "go-dashboard-manager": "Siguiente: Diseño del tablero", + "success-generate-title": "¡La solución está lista!", + "success-generate-sub-title": "Puedes instalarla en tu cuenta haciendo clic en el botón de abajo", + "success-generate-install-title": "¡Solución instalada!", + "success-generate-install-sub-title": "Para editar la solución, primero desinstala la instancia existente", + "main-title": "¡Hola! Soy tu asistente de IA", + "sub-title": "Te ayudo a transformar tus requisitos en una solución IoT totalmente funcional.\nSolo describe lo que deseas lograr y yo me encargo del resto.", + "solutions": "Soluciones", + "new-solution": "Nueva solución", + "uninstall-solution": "Desinstalar", + "uninstall-solution-dialog-title": "¿Estás seguro de que deseas desinstalar ‘{{ name }}’?", + "uninstall-solution-dialog-text": "Todas las entidades y tableros relacionados se eliminarán de tu cuenta", + "uninstall-solution-dialog-confirm": "Sí, desinstalar", + "delete-solution-title": "¿Estás seguro de que deseas eliminar ‘{{ name }}’?", + "delete-solution-text": "Se perderán todos tus datos", + "delete-solution-confirm": "Sí, eliminar", + "copy-solution": "Copiar solución", + "expand-sidebar": "Expandir barra lateral", + "collapse-sidebar": "Contraer barra lateral", + "solution-id": "ID de la solución", + "solution-id-required": "Se requiere el ID de la solución", + "rename-solution-title": "Cambiar el nombre de esta solución", + "generate-again": "Generar de nuevo", + "skip-interview": "Omitir entrevista", + "update-solution": "Actualizar solución", + "finish-edit": "Finalizar edición", + "lorawan-tracking": "Rastreo LoRaWAN", + "smart-parking": "Estacionamiento inteligente", + "weather-monitoring": "Monitoreo del clima", + "water-metering": "Medición de agua", + "coffee-machine-monitoring": "Monitoreo de máquinas de café", + "fleet-geofencing": "Geocercas para flotas", + "more-examples": "Más ejemplos", + "hide": "Ocultar", + "solution-info": "Información de la solución", + "solution-info-with-name": "Información de la solución: {{ name }}", + "status": "Estado", + "only-failures": "Solo fallos", + "failed-create-entity": "No se pudo crear la entidad", + "failed-install-entity": "No se pudo instalar la entidad", + "copy-id": "Copiar ID", + "id-copied-message": "El ID de la solución se copió al portapapeles", + "credits": "Créditos", + "info": "Información", + "main-dashboard": "Tablero principal", + "view-as": "Ver como {{ name }}", + "generated-by-calculated-field-name": "Generado por el campo calculado ‘{{ name }}’", + "estimate-wait-time": "El tiempo de espera estimado es de ~{{ time }}", + "analyzing-your-request": "Analizando tu solicitud...", + "condition": "Condición", + "installing": "Instalando la solución...", + "step-architecture-design": "Diseño de la arquitectura", + "step-dashboard-design": "Diseño del tablero", + "step-solution-installation": "Instalación de la solución", + "step-reading-device-data": "Leyendo los datos del dispositivo…", + "step-analyzing-telemetry-attributes": "Analizando telemetría y atributos…", + "step-selecting-widgets": "Seleccionando widgets para tus datos…", + "step-configuring-titles-units-ranges": "Configurando títulos, unidades y rangos…", + "step-designing-layout": "Diseñando el diseño de página…", + "step-arranging-widgets": "Organizando los widgets en el tablero…", + "generate-dashboard": "Generar tablero", + "generate-dashboard-with-ai": "Generar tablero con IA", + "no-telemetry-title": "No se encontraron datos de telemetría", + "no-telemetry-message": "Este dispositivo aún no ha enviado telemetría.\nPrimero envía telemetría desde el dispositivo y luego genera el tablero.", + "send-telemetry": "Enviar telemetría", + "step-loading-updating-entities": "Actualizando entidades…", + "step-loading-restructuring-roles": "Reestructurando roles…", + "step-loading-rebuilding-alarm-rules": "Reconstruyendo reglas de alarma…", + "step-loading-reassembling-dashboards": "Reensamblando tableros…", + "step-loading-updating-solution": "Actualizando tu solución…", + "step-loading-designing-dashboards-structure": "Diseñando la estructura de los tableros…", + "step-loading-designing-dashboards-states": "Diseñando los estados de los tableros…", + "step-loading-designing-widgets": "Diseñando widgets…", + "step-loading-adding-finishing-touches": "Agregando los toques finales…", + "step-loading-evaluating-solution-changes": "Evaluando los cambios de la solución…", + "step-loading-reevaluating-use-cases": "Reevaluando los casos de uso…", + "step-loading-finalizing": "Finalizando…", + "step-loading-creating-entities": "Creando entidades…", + "step-loading-configuring-devices": "Configurando dispositivos…", + "step-loading-setting-up-relations": "Estableciendo relaciones…", + "step-loading-structuring-access-controls": "Estructurando los controles de acceso…", + "step-loading-building-calculated-fields": "Construyendo campos calculados…", + "step-loading-building-alarm-rules": "Construyendo reglas de alarma…", + "step-loading-assembling-dashboards": "Ensamblando tableros…", + "step-loading-preparing-states": "Preparando estados…", + "step-loading-initializing-solution": "Inicializando la solución…", + "ai-credits": "Créditos de IA", + "ai-credits-update": "Guardar cambios", + "ai-credits-usage": "Créditos de IA: {{ used }} de {{ max }} utilizados", + "ai-credits-description": "Has utilizado {{ used }} de tus {{ max }} créditos de IA este mes. El límite se restablece el {{ date }}. Para aumentar tu asignación de créditos de IA, contacta a tu administrador del sistema." }, "markdown": { "edit": "Editar", "preview": "Vista previa", - "copy-code": "Haga clic para copiar", + "copy-code": "Haz clic para copiar", "copied": "¡Copiado!" }, "white-labeling": { @@ -9962,24 +11377,27 @@ "preview": "Vista previa", "app-title": "Título de la aplicación", "favicon": "Ícono del sitio web", - "favicon-description": "Imagen *.ico, *.gif o *.png con un tamaño máximo de {{kbSize}} KBytes.", - "favicon-size-error": "La imagen del sitio web es demasiado grande. El tamaño máximo permitido es {{kbSize}} KBytes.", - "favicon-type-error": "Formato de archivo de imagen no válido. Solo se aceptan imágenes ICO, GIF o PNG.", - "drop-favicon-image": "Suelte una imagen de ícono del sitio web o haga clic para seleccionar un archivo para subir.", - "drop-favicon-image-or": "Arrastre y suelte una imagen de ícono del sitio web o", - "no-favicon-image": "Ningún ícono seleccionado", + "favicon-desc": "Ícono en la pestaña del navegador y en los marcadores. PNG o ICO, se recomienda 32×32 px", "logo": "Logo", - "logo-description": "Cualquier imagen con un tamaño máximo de {{kbSize}} KBytes.", - "logo-size-error": "La imagen del logo es demasiado grande. El tamaño máximo permitido es {{kbSize}} KBytes.", - "logo-type-error": "Formato de archivo de logo no válido. Solo se aceptan imágenes.", - "drop-logo-image": "Suelte una imagen de logo o haga clic para seleccionar un archivo para subir.", - "drop-logo-image-or": "Arrastre y suelte una imagen de logo o", - "no-logo-image": "Ningún logo seleccionado", + "logo-desc": "SVG o PNG, altura mínima de 96px, hasta 200 KB", "logo-height": "Altura del logo, px", + "logo-height-desc": "Escala el logotipo proporcionalmente y lo centra. Aumenta la altura (hasta 200px) para logotipos altos", + "collapsed-logo": "Logotipo de la barra lateral contraída", + "collapsed-logo-desc": "SVG o PNG cuadrado, mínimo 48×48 px, hasta 100 KB", + "appearance": "Apariencia", + "application-shell": "Marco de la aplicación", + "application-shell-desc": "Elige cómo se aplica el color principal a la barra lateral, la barra de la aplicación y los encabezados de página", + "light": "Claro", + "primary": "Principal", "primary-palette": "Paleta primaria", + "primary-palette-desc": "Color principal de la marca. Barra lateral, barra de la aplicación, encabezados de página, botones, enlaces y elementos de menú activos", "accent-palette": "Paleta de acento", + "accent-palette-desc": "Casillas de verificación, botones de opción, interruptores, controles deslizantes, barras de progreso e insignias", "customize-palette": "Personalizar", "advanced-css": "CSS avanzado", + "advanced-css-desc": "CSS personalizado para ajustar con precisión cualquier elemento de la interfaz más allá de las paletas: iconos, fuentes, fondos, barras de desplazamiento y más. Los cambios se aplican en toda la plataforma, así que úsalo con cuidado. Para usuarios avanzados", + "add-custom-css": "Agregar CSS personalizado", + "edit-custom-css": "Editar CSS personalizado", "edit-palette": "Editar paleta", "save-palette": "Guardar paleta", "primary-background": "Fondo primario", @@ -9988,19 +11406,26 @@ "hue2": "Tono 2", "hue3": "Tono 3", "page-background-color": "Color de fondo de la página", + "page-background-color-desc": "Rellena el área de contenido principal detrás de las páginas", "dark-foreground": "Primer plano oscuro", + "dark-foreground-desc": "Oscurece el texto y los iconos de la página de inicio de sesión. Úsalo con fondos claros", "domain-name": "Nombre de dominio", "base-url": "URL base", - "base-url-required": "La URL base es obligatoria", + "base-url-required": "Se requiere la URL base", "prohibit-different-url": "Prohibir el uso del nombre de host desde los encabezados de la solicitud del cliente", "prohibit-different-url-hint": "Esta configuración debe habilitarse para entornos de producción. Puede causar problemas de seguridad si está deshabilitada", "help-link-base-url": "URL base de los enlaces de ayuda", + "help-link-base-url-desc": "La URL base de tu portal de documentación externo. Los usuarios son redirigidos aquí para consultar guías detalladas", "ui-help-base-url": "URL base de ayuda de la interfaz", + "ui-help-base-url-desc": "La URL del repositorio de origen que usa el sistema para obtener y mostrar dinámicamente breves descripciones emergentes dentro de la aplicación", "enable-help-links": "Habilitar enlaces de ayuda", + "enable-help-links-desc": "Muestra iconos de ayuda contextual (?) en toda la interfaz de la plataforma", "error-verification-url": "Un nombre de dominio no debe contener los símbolos '/' ni ':'. Ejemplo: thingsboard.io", - "hide-connectivity-dialog": "Ocultar diálogo de conectividad", + "show-connectivity-dialog": "Mostrar diálogo de conectividad", + "show-connectivity-dialog-desc": "Muestra el diálogo de conectividad del dispositivo con instrucciones de conexión después de crear un dispositivo", "override-trendz-add-on-name": "Anular nombre del complemento de analítica de Trendz", - "override-trendz-add-on-name-hint": "Cuando está activado, \"Trendz analytics\" se mostrará como \"Analítica avanzada\" en toda la plataforma.", + "override-trendz-add-on-name-desc": "Cambia el nombre del complemento \"Trendz\" a \"Analítica avanzada\" en toda la plataforma", + "show-platform-name-version-bottom-left-corner": "Mostrar el nombre y la versión de la plataforma en la esquina inferior izquierda", "show-platform-name-version": "Mostrar nombre y versión de la plataforma", "platform-name": "Nombre de la plataforma", "platform-version": "Versión de la plataforma", @@ -10010,11 +11435,14 @@ "under-logo": "Debajo del logo", "bottom": "Parte inferior del formulario de inicio de sesión" }, - "reset-white-label-title": "¿Está seguro de que desea restablecer la configuración de marca blanca a los valores predeterminados?", - "reset-white-label-text": "Tenga cuidado, después de la confirmación, se perderán todos los ajustes personalizados y no podrán recuperarse.", - "reset-login-white-label-title": "¿Está seguro de que desea restablecer la configuración de marca blanca del inicio de sesión a los valores predeterminados?", - "reset-login-white-label-text": "Tenga cuidado, después de la confirmación, se perderán todos los ajustes personalizados y no podrán recuperarse.", - "app-title-max-length": "El título de la aplicación debe tener menos de 256 caracteres" + "reset-white-label-title": "¿Estás seguro de que deseas restablecer la configuración de marca blanca a los valores por defecto?", + "reset-white-label-text": "Ten cuidado, después de confirmar, toda la configuración personalizada se perderá y no podrá recuperarse.", + "reset-login-white-label-title": "¿Estás seguro de que deseas restablecer la configuración de marca blanca del inicio de sesión a los valores por defecto?", + "reset-login-white-label-text": "Ten cuidado, después de confirmar, toda la configuración personalizada se perderá y no podrá recuperarse.", + "app-title-max-length": "El título de la aplicación debe tener menos de 256 caracteres", + "logo-and-titles": "Logotipo y títulos", + "interface-options": "Opciones de interfaz", + "domain": "Dominio" }, "widgets": { "mobile-app-qr-code": { @@ -10216,7 +11644,7 @@ "status-widget": { "behavior": "Comportamiento", "layout": "Disposición", - "layout-default": "Por defecto", + "layout-default": "Predeterminado", "layout-center": "Centro", "layout-icon": "Icono", "on": "Encendido", @@ -10248,13 +11676,13 @@ "default-font-size": "Tamaño de fuente por defecto", "default-font-color": "Color de fuente por defecto", "thresholds-line-width": "Ancho de línea por defecto para todos los umbrales", - "tooltip-settings": "Configuraciones del tooltip", - "tooltip": "Tooltip", - "show-tooltip": "Mostrar tooltip", + "tooltip-settings": "Configuración de la descripción emergente", + "tooltip": "Descripción emergente", + "show-tooltip": "Mostrar descripción emergente", "hover-individual-points": "Pasar el cursor sobre puntos individuales", "show-cumulative-values": "Mostrar valores acumulados en modo apilado", - "hide-zero-false-values": "Ocultar valores cero/falsos del tooltip", - "tooltip-value-format-function": "Función de formato de valor del tooltip", + "hide-zero-false-values": "Ocultar valores cero/falsos de la descripción emergente", + "tooltip-value-format-function": "Función de formato de valor de la descripción emergente", "grid-settings": "Configuraciones de cuadrícula", "show-vertical-lines": "Mostrar líneas verticales", "show-horizontal-lines": "Mostrar líneas horizontales", @@ -10290,7 +11718,7 @@ "custom-legend-settings": "Configuraciones personalizadas de la leyenda", "enable-custom-legend": "Habilitar leyenda personalizada (permite usar atributos/series temporales en etiquetas de clave)", "key-name": "Nombre de la clave", - "key-name-required": "El nombre de la clave es obligatorio", + "key-name-required": "Se requiere el nombre de la clave", "key-type": "Tipo de clave", "key-type-attribute": "Atributo", "key-type-timeseries": "Serie temporal", @@ -10404,9 +11832,9 @@ "limit": "Límite", "source": "Fuente", "key-value": "Clave / Valor", - "value-required": "El valor es obligatorio.", - "entity-key-required": "La clave de entidad es obligatoria.", - "key-required": "La clave es obligatoria.", + "value-required": "Se requiere el valor.", + "entity-key-required": "Se requiere la clave de entidad.", + "key-required": "Se requiere la clave.", "scale-limits": "Límites de escala", "scale-appearance": "Apariencia de escala", "scale": "Escala", @@ -10567,13 +11995,13 @@ "general-settings": "Configuración general", "widget-title": "Título del widget", "default-archive-file-name": "Nombre de archivo de archivo por defecto", - "device-type-for-new-gateway": "Tipo de dispositivo para nuevo gateway", + "device-type-for-new-gateway": "Tipo de dispositivo para nuevo Gateway", "messages-settings": "Configuración de mensajes", - "save-config-success-message": "Mensaje sobre la configuración del gateway guardada correctamente", + "save-config-success-message": "Mensaje sobre la configuración del Gateway guardada correctamente", "device-name-exists-message": "Mensaje cuando ya existe un dispositivo con el nombre ingresado", - "gateway-title": "Formulario del gateway", + "gateway-title": "Formulario del Gateway", "read-only": "Solo lectura", - "events-title": "Título del formulario de eventos del gateway", + "events-title": "Título del formulario de eventos del Gateway", "events-filter": "Filtro de eventos", "event-key-contains": "La clave del evento contiene...", "show-connector": "Mostrar para el conector", @@ -10770,7 +12198,7 @@ "claim-successful": "¡El dispositivo fue reclamado con éxito!", "date": "Fecha", "device-name": "Nombre del dispositivo", - "device-name-required": "El nombre del dispositivo es obligatorio", + "device-name-required": "Se requiere el nombre del dispositivo", "discard-changes": "Descartar cambios", "entity-attribute-required": "Se requiere el atributo de la entidad", "entity-coordinate-required": "Se requieren ambos campos, latitud y longitud", @@ -10794,7 +12222,7 @@ "no-permission-camera": "Permiso denegado por el usuario / Este sitio no tiene permiso para usar la cámara", "no-timeseries-selected": "No se ha seleccionado ninguna serie temporal", "secret-key": "Clave secreta", - "secret-key-required": "La clave secreta es obligatoria", + "secret-key-required": "Se requiere la clave secreta", "switch-attribute-value": "Cambiar el valor del atributo de la entidad", "switch-camera": "Cambiar cámara", "switch-timeseries-value": "Cambiar el valor de la serie temporal de la entidad", @@ -10876,7 +12304,7 @@ "image-format-jpeg": "JPEG", "image-format-png": "PNG", "image-format-webp": "WEBP", - "image-quality": "Calidad de la imagen que usa compresión con pérdida como JPEG y WEBP", + "image-quality": "Calidad de imagen", "max-image-width": "Ancho máximo de la imagen", "max-image-height": "Altura máxima de la imagen", "action-buttons": "Botones de acción", @@ -10891,7 +12319,7 @@ "fields-alignment-row": "Fila (por defecto)", "fields-alignment-column": "Columna", "fields-in-row": "Número de campos en la fila", - "option-value": "Valor (escriba 'null' para crear opción vacía)", + "option-value": "Valor (escribe 'null' para crear una opción vacía)", "option-label": "Etiqueta", "hide-input-field": "Ocultar campo de entrada", "datakey-type": "Tipo de clave de datos", @@ -10911,12 +12339,12 @@ "datakey-value-type-select": "Seleccionar", "datakey-value-type-radio": "Radio", "datakey-value-type-color": "Color", - "value-is-required": "El valor es obligatorio", + "value-is-required": "Se requiere el valor", "ability-to-edit-attribute": "Capacidad para editar atributo", "ability-to-edit-attribute-editable": "Editable (por defecto)", "ability-to-edit-attribute-disabled": "Deshabilitado", "ability-to-edit-attribute-readonly": "Solo lectura", - "disable-on-datakey-name": "Deshabilitar si el valor de otra clave de datos es falso (especifique el nombre)", + "disable-on-datakey-name": "Deshabilitar si el valor de otra clave de datos es falso (especifica el nombre de la clave de datos)", "field-appearance": "Apariencia del campo", "appearance-fill": "Relleno", "appearance-outline": "Contorno", @@ -10994,10 +12422,10 @@ "filter-type-include": "Incluir elementos", "filter-type-exclude": "Excluir elementos", "items": "Elementos", - "enter-urls-to-filter": "Introduzca las URLs para filtrar..." + "enter-urls-to-filter": "Ingresa las URL para filtrar..." }, "persistent-table": { - "rpc-id": "ID de RPC", + "rpc-id": "RPC ID", "message-type": "Tipo de mensaje", "method": "Método", "params": "Parámetros", @@ -11011,7 +12439,7 @@ "details": "Detalles", "delete": "Eliminar", "delete-request-title": "Eliminar solicitud RPC persistente", - "delete-request-text": "¿Está seguro de que desea eliminar la solicitud?", + "delete-request-text": "¿Estás seguro de que deseas eliminar la solicitud?", "details-title": "Detalles del RPC ID: ", "additional-info": "Información adicional", "response": "Respuesta", @@ -11020,7 +12448,7 @@ "no-request-prompt": "No hay solicitudes para mostrar", "send-request": "Enviar solicitud", "add-title": "Crear solicitud RPC persistente", - "method-error": "El método es obligatorio.", + "method-error": "Se requiere el método.", "timeout-error": "El valor mínimo de espera es 5000 (5 segundos).", "white-space-error": "No se permiten espacios en blanco.", "rpc-status": { @@ -11037,7 +12465,7 @@ "false": "Bidireccional", "true": "Unidireccional" }, - "general-settings": "Configuraciones generales", + "general-settings": "Configuración general", "enable-filter": "Habilitar filtro", "enable-sticky-header": "Mostrar encabezado durante el desplazamiento", "enable-sticky-action": "Mostrar columna de acciones durante el desplazamiento", @@ -11077,6 +12505,11 @@ "rpc": { "value-settings": "Configuración de valor", "initial-value": "Valor inicial", + "initial-value-hint": "Define el valor inicial antes de recibir el primer valor.", + "initial-led-state": "Estado inicial del LED", + "initial-led-state-hint": "Define el estado inicial del LED antes de recibir el primer valor.", + "on": "Encendido", + "off": "Apagado", "retrieve-value-settings": "Configuración para recuperar valor de encendido/apagado", "retrieve-value-method": "Recuperar valor usando método", "retrieve-value-method-none": "No recuperar", @@ -11195,13 +12628,14 @@ "layer": "Capa", "layers": "Capas", "map-layers": "Capas del mapa", - "add-layer": "Añadir capa", + "add-layer": "Agregar capa", "layer-settings": "Configuraciones de la capa", "remove-layer": "Eliminar capa", "no-layers": "No hay capas configuradas", "roadmap": "Mapa de carreteras", "satellite": "Satélite", "hybrid": "Híbrido", + "webgl-not-available": "La capa de mapa seleccionada requiere aceleración gráfica para mostrarse. Habilita 'Aceleración de hardware' en la configuración de tu navegador o cambia a otra capa.", "reference": { "reference-layer": "Capa de referencia", "no-layer": "Sin capa", @@ -11217,9 +12651,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -11243,7 +12680,18 @@ }, "custom": { "title": "Personalizado", - "tile-url": "URL del mosaico" + "tile-url": "URL del mosaico", + "style-url": "URL del estilo", + "vector-tiles": "Mosaicos vectoriales", + "vector-tiles-hint": "Habilítalo cuando uses una URL de estilo de proveedores como OpenFreeMap o MapTiler.", + "attribution": "Texto de derechos de autor", + "attribution-hint": "Se muestra en la parte inferior del mapa. Lo requieren la mayoría de los proveedores de mosaicos." + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -11268,7 +12716,7 @@ "additional-datasources-hint": "Origen de datos para acceder a atributos o telemetría de entidades que no se muestran en el mapa, utilizable en funciones de superposición de mapa.", "more-datasources": "Más orígenes de datos", "data-keys": "Claves de datos", - "add-datasource": "Añadir origen de datos", + "add-datasource": "Agregar origen de datos", "no-datasources": "No hay orígenes de datos configurados", "remove-datasource": "Eliminar origen de datos", "behavior": "Comportamiento", @@ -11286,28 +12734,28 @@ "color-range": "Rango de color", "color-function": "Función de color", "label": "Etiqueta", - "tooltip": "Información sobre herramientas", + "tooltip": "Descripción emergente", "pattern-type-pattern": "Patrón", "pattern-type-function": "Función", "label-pattern": "Etiqueta (ejemplos de patrón: '${entityName}', '${entityName}: (Texto ${keyName} unidades.)')", "label-function": "Función de etiqueta", - "tooltip-pattern": "Tooltip (por ejemplo: 'Texto ${keyName} unidades.' o Texto del enlace)", - "tooltip-function": "Función de tooltip", - "tooltip-trigger": "Disparador de tooltip", - "tooltip-trigger-click": "Mostrar tooltip al hacer clic", - "tooltip-trigger-hover": "Mostrar tooltip al pasar el ratón", - "auto-close-tooltips": "Cerrar tooltips automáticamente", - "tooltip-offset": "Desplazamiento del tooltip", + "tooltip-pattern": "Descripción emergente (por ejemplo: 'Texto ${keyName} unidades.' o Texto del enlace)", + "tooltip-function": "Función de descripción emergente", + "tooltip-trigger": "Disparador de descripción emergente", + "tooltip-trigger-click": "Mostrar descripción emergente al hacer clic", + "tooltip-trigger-hover": "Mostrar descripción emergente al pasar el ratón", + "auto-close-tooltips": "Cerrar descripciones emergentes automáticamente", + "tooltip-offset": "Desplazamiento de la descripción emergente", "tooltip-offset-horizontal": "Horizontal", "tooltip-offset-vertical": "Vertical", "tooltip-tag-actions": "Acciones de etiqueta", - "add-tooltip-tag-action": "Añadir acción de etiqueta", + "add-tooltip-tag-action": "Agregar acción de etiqueta", "edit-tooltip-tag-action": "Editar acción de etiqueta", "remove-tooltip-tag-action": "Eliminar acción de etiqueta", - "action-add": "Añadir", + "action-add": "Agregar", "action-edit": "Editar", "action-move": "Mover", - "action-remove": "Eliminar", + "action-remove": "Quitar", "edit-instruments": "Instrumentos", "persist-location-attribute-scope": "Ámbito del atributo para persistir la ubicación", "enable-snapping": "Habilitar ajuste a otros vértices para dibujo preciso", @@ -11315,7 +12763,7 @@ "drag-drop-mode": "Modo de arrastrar y soltar", "trip": { "no-trips": "No hay viajes configurados", - "add-trip": "Añadir viaje", + "add-trip": "Agregar viaje", "trip-configuration": "Configuración del viaje", "remove-trip": "Eliminar viaje" }, @@ -11330,7 +12778,7 @@ "x-pos-key-required": "Se requiere la clave de posición X", "y-pos-key-required": "Se requiere la clave de posición Y", "no-markers": "No hay marcadores configurados", - "add-marker": "Añadir marcador", + "add-marker": "Agregar marcador", "marker-configuration": "Configuración del marcador", "remove-marker": "Eliminar marcador", "marker-type": "Tipo de marcador", @@ -11365,8 +12813,8 @@ "bounds-on-cluster-mouse-over": "Límites de los marcadores al pasar el ratón sobre un clúster", "spiderfy-max-zoom-level": "Expandir al máximo nivel de zoom (para ver todos los marcadores del clúster)", "load-optimization": "Optimización de carga", - "chunked-load": "Usar fragmentos para añadir marcadores y evitar que la página se congele", - "lazy-load": "Usar carga diferida para añadir marcadores", + "chunked-load": "Usar fragmentos para agregar marcadores y evitar que la página se congele", + "lazy-load": "Usar carga diferida para agregar marcadores", "use-cluster-marker-color-function": "Usar función de color para los clústeres de marcadores", "marker-color-function": "Función de color del marcador" }, @@ -11389,7 +12837,7 @@ }, "points": { "points": "Puntos", - "point-tooltip": "Tooltip del punto" + "point-tooltip": "Descripción emergente del punto" }, "shape": { "fill": "Relleno", @@ -11417,7 +12865,7 @@ "polygon-key": "Clave de polígono", "polygon-key-required": "Se requiere clave de polígono", "no-polygons": "No hay polígonos configurados", - "add-polygon": "Añadir polígono", + "add-polygon": "Agregar polígono", "polygon-configuration": "Configuración del polígono", "remove-polygon": "Eliminar polígono", "edit": "Editar polígono", @@ -11444,7 +12892,7 @@ "circle-key": "Clave del círculo", "circle-key-required": "Se requiere clave del círculo", "no-circles": "No hay círculos configurados", - "add-circle": "Añadir círculo", + "add-circle": "Agregar círculo", "circle-configuration": "Configuración del círculo", "remove-circle": "Eliminar círculo", "edit": "Editar círculo", @@ -11459,7 +12907,7 @@ "polyline-key": "Clave de polilínea", "polyline-key-required": "Clave de polilínea obligatoria", "no-polylines": "No hay polilíneas configuradas", - "add-polylines": "Añadir polilínea", + "add-polylines": "Agregar polilínea", "polyline-configuration": "Configuración de polilínea", "remove-polyline": "Eliminar polilínea", "edit": "Editar polilínea", @@ -11507,7 +12955,7 @@ "editButton": "Modo de edición", "dragButton": "Modo arrastrar y soltar", "cutButton": "Cortar área del polígono", - "deleteButton": "Eliminar", + "deleteButton": "Quitar", "drawCircleMarkerButton": "Crear marcador circular", "rotateButton": "Rotar polígono" }, @@ -11540,10 +12988,7 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Credenciales", - "here-app-id": "ID de la aplicación HERE", - "here-app-code": "Código de la aplicación HERE", "here-api-key": "Clave API de HERE", - "here-use-new-version-api-3": "Usar la versión 3 de la API", "tencent-maps-api-key": "Clave API de Tencent Maps", "tencent-map-type-roadmap": "Mapa de carreteras", "tencent-map-type-satelite": "Satélite", @@ -11575,17 +13020,17 @@ "use-label-function": "Usar función de etiqueta", "label-pattern": "Etiqueta (ejemplos de patrón: '${entityName}', '${entityName}: (Texto ${keyName} unidades.)')", "label-function": "Función de etiqueta", - "tooltip": "Tooltip", - "show-tooltip": "Mostrar tooltip", - "show-tooltip-action": "Acción para mostrar el tooltip", - "show-tooltip-action-click": "Mostrar tooltip al hacer clic (Predeterminado)", - "show-tooltip-action-hover": "Mostrar tooltip al pasar el cursor", - "auto-close-tooltips": "Cerrar automáticamente los tooltips", - "use-tooltip-function": "Usar función de tooltip", - "tooltip-pattern": "Tooltip (por ejemplo: 'Texto ${keyName} unidades.' o Texto del enlace)", - "tooltip-function": "Función de tooltip", - "tooltip-offset-x": "Desplazamiento X del tooltip relativo al ancla del marcador multiplicado por el ancho del marcador", - "tooltip-offset-y": "Desplazamiento Y del tooltip relativo al ancla del marcador multiplicado por la altura del marcador", + "tooltip": "Descripción emergente", + "show-tooltip": "Mostrar descripción emergente", + "show-tooltip-action": "Acción para mostrar la descripción emergente", + "show-tooltip-action-click": "Mostrar descripción emergente al hacer clic (Predeterminado)", + "show-tooltip-action-hover": "Mostrar descripción emergente al pasar el cursor", + "auto-close-tooltips": "Cerrar automáticamente las descripciones emergentes", + "use-tooltip-function": "Usar función de descripción emergente", + "tooltip-pattern": "Descripción emergente (por ejemplo: 'Texto ${keyName} unidades.' o Texto del enlace)", + "tooltip-function": "Función de descripción emergente", + "tooltip-offset-x": "Desplazamiento X de la descripción emergente relativo al ancla del marcador multiplicado por el ancho del marcador", + "tooltip-offset-y": "Desplazamiento Y de la descripción emergente relativo al ancla del marcador multiplicado por la altura del marcador", "color": "Color", "use-color-function": "Usar función de color", "color-function": "Función de color", @@ -11604,12 +13049,12 @@ "use-polygon-label-function": "Usar función de etiqueta del polígono", "polygon-label-pattern": "Etiqueta del polígono (ejemplos: '${entityName}', '${entityName}: (Texto ${keyName} unidades.)' )", "polygon-label-function": "Función de etiqueta del polígono", - "polygon-tooltip": "Tooltip del polígono", - "show-polygon-tooltip": "Mostrar tooltip del polígono", - "auto-close-polygon-tooltips": "Cerrar automáticamente los tooltips del polígono", - "use-polygon-tooltip-function": "Usar función de tooltip del polígono", - "polygon-tooltip-pattern": "Tooltip (por ejemplo: 'Texto ${keyName} unidades.' o Texto del enlace)", - "polygon-tooltip-function": "Función de tooltip del polígono", + "polygon-tooltip": "Descripción emergente del polígono", + "show-polygon-tooltip": "Mostrar descripción emergente del polígono", + "auto-close-polygon-tooltips": "Cerrar automáticamente las descripciones emergentes del polígono", + "use-polygon-tooltip-function": "Usar función de descripción emergente del polígono", + "polygon-tooltip-pattern": "Descripción emergente (por ejemplo: 'Texto ${keyName} unidades.' o Texto del enlace)", + "polygon-tooltip-function": "Función de descripción emergente del polígono", "polygon-color": "Color del polígono", "polygon-opacity": "Opacidad del polígono", "use-polygon-color-function": "Usar función de color del polígono", @@ -11629,12 +13074,12 @@ "use-circle-label-function": "Usar función de etiqueta del círculo", "circle-label-pattern": "Etiqueta del círculo (ejemplos: '${entityName}', '${entityName}: (Texto ${keyName} unidades.)' )", "circle-label-function": "Función de etiqueta del círculo", - "circle-tooltip": "Tooltip del círculo", - "show-circle-tooltip": "Mostrar tooltip del círculo", - "auto-close-circle-tooltips": "Cerrar automáticamente los tooltips del círculo", - "use-circle-tooltip-function": "Usar función de tooltip del círculo", - "circle-tooltip-pattern": "Tooltip (por ejemplo: 'Texto ${keyName} unidades.' o Texto del enlace)", - "circle-tooltip-function": "Función de tooltip del círculo", + "circle-tooltip": "Descripción emergente del círculo", + "show-circle-tooltip": "Mostrar descripción emergente del círculo", + "auto-close-circle-tooltips": "Cerrar automáticamente las descripciones emergentes del círculo", + "use-circle-tooltip-function": "Usar función de descripción emergente del círculo", + "circle-tooltip-pattern": "Descripción emergente (por ejemplo: 'Texto ${keyName} unidades.' o Texto del enlace)", + "circle-tooltip-function": "Función de descripción emergente del círculo", "circle-fill-color": "Color de relleno del círculo", "circle-fill-color-opacity": "Opacidad del color de relleno del círculo", "use-circle-fill-color-function": "Usar función de color de relleno del círculo", @@ -11663,10 +13108,10 @@ "route-map-settings": "Configuración del mapa de rutas", "trip-animation-settings": "Configuración de animación de viaje", "normalization-step": "Paso de normalización de datos (ms)", - "tooltip-background-color": "Color de fondo del tooltip", - "tooltip-font-color": "Color de fuente del tooltip", - "tooltip-opacity": "Opacidad del tooltip (0-1)", - "auto-close-tooltip": "Cerrar automáticamente el tooltip", + "tooltip-background-color": "Color de fondo de la descripción emergente", + "tooltip-font-color": "Color de fuente de la descripción emergente", + "tooltip-opacity": "Opacidad de la descripción emergente (0-1)", + "auto-close-tooltip": "Cerrar automáticamente la descripción emergente", "rotation-angle": "Establecer ángulo de rotación adicional para el marcador (grados)", "path-settings": "Configuración del recorrido", "path-color": "Color del recorrido", @@ -11691,7 +13136,7 @@ "point-color-function": "Función de color del punto", "use-point-as-anchor": "Usar punto como ancla", "point-as-anchor-function": "Función de punto como ancla", - "independent-point-tooltip": "Tooltip de punto independiente", + "independent-point-tooltip": "Descripción emergente de punto independiente", "clustering-markers": "Agrupación de marcadores", "use-icon-create-function": "Usar función de color de los marcadores", "marker-color-function": "Función de color del marcador" @@ -11819,8 +13264,8 @@ "units": "Unidades", "color-and-font": "Color y fuente", "shape-attribute-name": "Nombre del atributo", - "total-volume-required": "El volumen total es obligatorio.", - "attribute-name-required": "El nombre del atributo es obligatorio.", + "total-volume-required": "Se requiere el volumen total.", + "attribute-name-required": "Se requiere el nombre del atributo.", "attribute-key-not-set": "La clave del atributo '{{attributeName}}' no está definida", "attribute-key-invalid": "La clave del atributo '{{attributeName}}' no es válida" }, @@ -11965,17 +13410,17 @@ "enable-alarm-filter": "Habilitar filtro de alarmas", "display-alarm-details": "Mostrar detalles de alarma", "allow-alarms-ack": "Permitir reconocimiento de alarmas", - "allow-alarms-clear": "Permitir limpiar alarmas", + "allow-alarms-clear": "Permitir resolver alarmas", "display-alarm-activity": "Mostrar actividad de la alarma", "allow-alarms-assign": "Permitir asignación de alarmas", "blob-entities-table-title": "Título de la tabla de entidades blob", "display-created-time": "Mostrar columna de fecha de creación", "display-type": "Mostrar columna de tipo", - "display-customer": "Mostrar columna de customer", + "display-customer": "Mostrar columna de cliente", "display-columns": "Columnas a mostrar", "no-data-display-message": "Mensaje alternativo \"No hay datos para mostrar\"", "force-default-blob-entity-type": "Forzar tipo de entidad blob predeterminado", - "scheduler-events-table-title": "Título de la tabla de eventos del programador", + "scheduler-events-table-title": "Título de la tabla de eventos programados", "force-default-event-type": "Forzar tipo de evento predeterminado", "columns": "Columnas", "column-settings": "Configuraciones de columna", @@ -12033,6 +13478,8 @@ "chart": "Gráfico", "chart-style": "Estilo de gráfico", "data-zoom": "Zoom de datos", + "data-zoom-update-timewindow": "Actualizar la ventana de tiempo al hacer zoom", + "reset-timewindow": "Volver a la ventana de tiempo original", "stack-mode": "Modo de apilamiento", "stack-mode-hint": "Apila las series en el gráfico. Las series con la misma unidad se superponen.", "axes": "Ejes", @@ -12175,7 +13622,7 @@ }, "wind-speed-direction": { "layout": "Diseño", - "layout-default": "Por defecto", + "layout-default": "Predeterminado", "layout-advanced": "Avanzado", "layout-simplified": "Simplificado", "values": "Valores", @@ -12214,9 +13661,9 @@ "predefined-value": "Constante", "entity-attribute": "Atributo de entidad", "value": "Valor", - "value-required": "El valor es obligatorio.", - "key-required": "La clave es obligatoria.", - "entity-key-required": "La clave de la entidad es obligatoria.", + "value-required": "Se requiere el valor.", + "key-required": "Se requiere la clave.", + "entity-key-required": "Se requiere la clave de entidad.", "source-entity-alias": "Alias de entidad de origen", "source-entity-attribute": "Atributo de entidad de origen", "type-constant": "Constante", @@ -12263,20 +13710,20 @@ "value": "Valor", "init-value-hint": "Valor que se establecerá hasta que el dispositivo envíe datos.", "method": "Método", - "method-name-required": "El nombre del método es obligatorio.", - "request-timeout-ms": "Tiempo de espera de la solicitud RPC (ms)", - "request-timeout-required": "El tiempo de espera de la solicitud es obligatorio.", + "method-name-required": "Se requiere el nombre del método.", + "request-timeout-ms": "Tiempo de espera de solicitud RPC (ms)", + "request-timeout-required": "Se requiere el tiempo de espera de la solicitud.", "min-request-timeout-error": "El tiempo de espera debe ser mayor o igual a 5000 ms (5 segundos).", "request-persistent": "Solicitud RPC persistente", "persistent-polling-interval": "Intervalo de sondeo persistente (ms)", "persistent-polling-interval-hint": "Intervalo de sondeo (ms) para obtener la respuesta del comando RPC persistente", - "persistent-polling-interval-required": "El intervalo de sondeo persistente es obligatorio.", + "persistent-polling-interval-required": "Se requiere el intervalo de sondeo persistente.", "min-persistent-polling-interval-error": "El valor del intervalo debe ser mayor o igual a 1000 ms (1 segundo).", "attribute-scope": "Ámbito del atributo", "attribute-key": "Clave del atributo", - "attribute-key-required": "La clave del atributo es obligatoria.", + "attribute-key-required": "Se requiere la clave de atributo.", "time-series-key": "Clave de la serie temporal", - "time-series-key-required": "La clave de la serie temporal es obligatoria.", + "time-series-key-required": "Se requiere la clave de serie temporal.", "action-result-converter": "Convertidor de resultados de la acción", "converter-none": "Ninguno", "converter-function": "Función", @@ -12357,9 +13804,9 @@ "add-link": "Agregar enlace", "add-link-title": "Agregar enlace de documentación", "name": "Nombre", - "name-required": "El nombre es obligatorio.", + "name-required": "Se requiere el nombre.", "link": "Enlace", - "link-required": "El enlace es obligatorio.", + "link-required": "Se requiere el enlace.", "columns": "Columnas" }, "quick-links": { @@ -12367,10 +13814,13 @@ "add-link": "Agregar enlace", "add-link-title": "Agregar enlace rápido", "quick-link": "Enlace rápido", - "quick-link-required": "El enlace rápido es obligatorio.", + "quick-link-required": "Se requiere el enlace rápido.", "no-links-matching": "No se encontraron enlaces coincidentes con '{{name}}'.", "columns": "Columnas" }, + "iot-hub": { + "title-text": "Desarrolla más rápido con recursos probados por la comunidad de" + }, "recent-dashboards": { "title": "Tableros", "last": "Vistos recientemente", @@ -12388,8 +13838,8 @@ "slack-feature": "Slack", "oauth2-feature": "OAuth 2", "2fa-feature": "2FA", - "feature-configured": "Función configurada.\nHaga clic para configurar", - "feature-not-configured": "Función no configurada.\nHaga clic para configurar" + "feature-configured": "La característica está configurada.\nHaz clic para configurarla", + "feature-not-configured": "La característica no está configurada.\nHaz clic para configurarla" }, "version-info": { "title": "Versión", @@ -12398,7 +13848,7 @@ "current": "Actual", "available-version": "Versión disponible", "available": "Disponible", - "upgrade": "Actualizar", + "upgrade": "Actualizar versión", "version-is-up-to-date": "La versión está actualizada" }, "license-info": { @@ -12407,6 +13857,7 @@ "license-portal": "Portal de licencias", "devices-info": "{count} / { max, plural, =0 {∞} other {#} } Dispositivos", "assets-info": "{count} / { max, plural, =0 {∞} other {#} } Activos", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edges", "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } Tableros", "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } Integraciones", "community-support": "Soporte comunitario", @@ -12428,12 +13879,11 @@ "advanced-features": "Funciones avanzadas", "notification-center": "Centro de notificaciones", "api-usage": "Uso de API", - "customers": "Customers", - "customers-hierarchy": "Jerarquía de customers", + "customers": "Clientes", + "customers-hierarchy": "Jerarquía de clientes", "roles-and-permissions": "Roles y permisos", "groups": "Grupos", "integrations": "Integraciones", - "solution-templates": "Plantillas de solución", "scheduler": "Planificador", "white-labeling": "Marca blanca" }, @@ -12448,11 +13898,6 @@ "assigned-to-me": "Asignado a mí", "total": "Total" }, - "solution-templates": { - "title": "Plantillas de solución", - "prototype-plan": "Plan prototipo", - "startup-plan": "Plan inicial" - }, "getting-started": { "get-started": "Comenzar", "finish": "Finalizar", @@ -12460,9 +13905,9 @@ "done-welcome-text": "¡Lo hiciste genial!", "sys-admin": { "step1": { - "title": "Crear Tenant y Administrador del Tenant", - "content": "

    Un tenant es una persona u organización que posee o produce dispositivos y activos. El tenant puede tener múltiples usuarios administradores, customers, dispositivos y activos.

    El Administrador del Tenant puede crear y gestionar dispositivos, activos, customers y tableros dentro de la cuenta del tenant.

    Sigue la documentación para saber cómo hacerlo:

    ", - "how-to-create-tenant": "Cómo crear Tenant y Administrador del Tenant" + "title": "Crear inquilino y administrador de inquilino", + "content": "

    Un inquilino es una persona u organización que posee o produce dispositivos y activos. El inquilino puede tener varios usuarios administradores de inquilino, clientes, dispositivos y activos.

    El administrador de inquilino puede crear y gestionar dispositivos, activos, clientes y tableros dentro de la cuenta del inquilino.

    Sigue la documentación para saber cómo hacerlo:

    ", + "how-to-create-tenant": "Cómo crear inquilino y administrador de inquilino" }, "step2": { "title": "Configurar función: Servidor de correo", @@ -12471,13 +13916,13 @@ }, "step3": { "title": "Configurar función: Proveedor de SMS", - "content": "

    Configura proveedores de SMS para notificar a los customers sobre las alarmas vía SMS.

    Sigue la documentación para saber cómo hacerlo:

    ", + "content": "

    Configura proveedores de SMS para notificar a los clientes sobre las alarmas vía SMS.

    Sigue la documentación para saber cómo hacerlo:

    ", "how-to-configure-sms-provider": "Cómo configurar el proveedor de SMS" }, "step4": { - "title": "Configurar función: White-labeling", + "title": "Configurar función: Marca blanca", "content": "

    Personaliza fácilmente el logotipo y el esquema de colores de tu empresa o producto sin necesidad de codificación y sin reiniciar el servicio.

    Sigue la documentación para saber cómo hacerlo:

    ", - "how-to-configure-white-labeling": "Cómo configurar White-labeling" + "how-to-configure-white-labeling": "Cómo configurar la marca blanca" }, "step5": { "title": "Configurar función: 2FA", @@ -12486,12 +13931,12 @@ }, "step6": { "title": "Configurar función: OAuth 2", - "content": "

    Simplifica el inicio de sesión para los usuarios de tenant y customer con inicio de sesión único a través de OAuth 2.0.

    Sigue la documentación para saber cómo hacerlo:

    ", + "content": "

    Simplifica el inicio de sesión de los usuarios de inquilinos y clientes con la funcionalidad de inicio de sesión único mediante OAuth 2.0.

    Sigue la documentación para saber cómo hacerlo:

    ", "how-to-configure-oauth2": "Cómo configurar OAuth 2" }, "step7": { "title": "Configurar función: Slack", - "content": "

    Distribuye notificaciones a los usuarios del tenant y del customer mediante Slack de acuerdo con las reglas de notificación que configures.

    Sigue la documentación para saber cómo hacerlo:

    ", + "content": "

    Distribuye notificaciones a los usuarios de inquilinos y clientes a través de Slack según las reglas de notificación que configures.

    Sigue la documentación para saber cómo hacerlo:

    ", "how-to-configure-notifications": "Cómo configurar Slack" } }, @@ -12536,23 +13981,35 @@ "how-to-create-alarm": "Cómo crear una alarma" }, "step6": { - "title": "Crear customer y compartir tablero", - "content": "

    Al crear tableros para el usuario final, un usuario customer solo podrá ver sus propios dispositivos y los datos de otro customer estarán ocultos.

    Sigue la documentación para saber cómo hacerlo:

    ", - "how-to-create-customer-and-share-dashboard": "Cómo crear un Customer y compartir un tablero" + "title": "Crear cliente y compartir tablero", + "content": "

    Al crear tableros para el usuario final, un usuario cliente solo podrá ver sus propios dispositivos y los datos de otro cliente estarán ocultos.

    Sigue la documentación para saber cómo hacerlo:

    ", + "how-to-create-customer-and-share-dashboard": "Cómo crear un cliente y compartir un tablero" } } }, + "html-container": { + "java-script": "JavaScript", + "js-function": "Función JavaScript", + "html": "HTML", + "angular-html-template": "Plantilla HTML de Angular", + "css": "CSS", + "container-type": "Tipo de contenedor", + "type-plain": "HTML simple", + "type-angular": "Angular", + "resources": "Recursos", + "no-resources": "No hay recursos configurados" + }, "api-usage": { "api-usage": "Uso de la API", "label": "Etiqueta", "state-name": "Nombre del estado", "status": "Estado", - "status-required": "El estado es obligatorio.", + "status-required": "Se requiere el estado.", "limit": "Límite máximo", - "limit-required": "El límite máximo es obligatorio.", + "limit-required": "Se requiere el límite máximo.", "current-number": "Número actual", - "current-number-required": "El número actual es obligatorio.", - "add-key": "Añadir clave", + "current-number-required": "Se requiere el número actual.", + "add-key": "Agregar clave", "no-key": "Sin clave", "delete-key": "Eliminar clave", "target-dashboard-state": "Estado del tablero objetivo", @@ -12564,11 +14021,219 @@ "icons": "Iconos", "custom": "Personalizado", "select-icon": "Seleccionar icono", - "material-icons": "Iconos de Material", + "material-icons": "Material icons", "show-all": "Mostrar todos los iconos", "search-icon": "Buscar icono", "no-icons-found": "No se encontraron iconos para '{{iconSearch}}'" }, + "subscription": { + "entity-limit-text": "Sin embargo, puedes mejorar tu plan de suscripción para aumentar tus límites.", + "upgrade-your-plan": "Mejorar el plan de suscripción", + "license-management": "Gestión de licencias", + "perpetual-license": "Licencia perpetua", + "subscription": "Suscripción", + "perpetual": "Perpetua", + "manage-license": "Gestionar licencia", + "updated-ago": "Actualizado {{ago}}", + "usage-and-limits": "Uso y límites", + "add-ons": "Complementos", + "included": "Incluido", + "not-included": "No incluido", + "add-to-license": "Agregar a la licencia", + "change-key-title": "¿Cambias a otra licencia?", + "change-key-text": "Cambia a otra licencia o activa una implementación aislada de la red mediante una clave sin conexión.", + "enter-key": "Ingresa una clave", + "enter-license-key": "Ingresa una clave de licencia", + "applying-key-text": "Aplicar una clave cambia lo que cubre la licencia de esta implementación.", + "keys-issued-text": "Las claves se emiten en el {{licensePortal}}. Inicia sesión en cualquier dispositivo y copia una desde allí.", + "check-key": "Verificar clave", + "checking-key": "Verificando esta clave...", + "current": "Actual", + "this-key": "Esta clave", + "replace-license": "Reemplazar licencia", + "new-license-applied": "Se aplicó la nueva clave de licencia.", + "updates-and-support-until": "Actualizaciones y soporte hasta el {{date}}.", + "next-charge-and-due-date": "Próximo cargo de {{total}} el {{date}}, con vencimiento el {{dueDate}}.", + "refresh-license-info": "Actualizar información de la licencia", + "non-production-mode": "Modo de desarrollo — solo para uso fuera de producción", + "non-production-mode-details": "Las cuotas de dispositivos, activos y Edge son ilimitadas; la Marca blanca no está disponible. No uses esta instancia en producción.", + "offline-mode": "Modo sin conexión", + "devices": "Dispositivos", + "number-of-devices": "{ count, plural, one {# dispositivo} other {# dispositivos} }", + "unlimited-devices": "Dispositivos ilimitados", + "add-devices": "Agregar dispositivos", + "device-limit-warn": "Los dispositivos están al {{ percent }} de tu límite.", + "device-limit-critical": "Los dispositivos alcanzaron tu límite. Los nuevos dispositivos no se registran hasta que se aumente el límite.", + "assets": "Activos", + "add-assets": "Agregar activos", + "prod-instances": "Instancias de producción", + "add-instances": "Agregar instancias", + "ai-credits": "Créditos de IA", + "add-credits": "Agregar créditos", + "white-labeling": "Marca blanca", + "edge": "Computación Edge", + "edges": "Edges", + "add-edges": "Agregar Edges", + "agents": "Remote Agents", + "add-agents": "Agregar Remote Agents", + "trendz": "Trendz Analytics", + "name-addon": "Complemento {{name}}", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { Agregar el {name} } other { Agregar {name} } }", + "add-addon-subscription": "{{name}} es un complemento de pago y aumenta tu cargo mensual.", + "add-addon-perpetual": "{{name}} es un complemento de pago que se compra una sola vez para esta licencia.", + "upgrade-plan-devices": "Con {{plan}}, tu límite de dispositivos viene incluido en el plan.", + "upgrade-plan-instances": "Con {{plan}}, tu límite de instancias de producción viene incluido en el plan.", + "upgrade-plan-credits": "Con {{plan}}, tus créditos mensuales de IA vienen incluidos en el plan.", + "upgrade-plan-edges": "Con {{plan}}, tu límite de Edge viene incluido en el plan.", + "upgrade-plan-agents": "Con {{plan}}, tu límite de Remote Agent viene incluido en el plan.", + "upgrade-plan-white-labeling": "Todos los planes de pago incluyen Marca blanca.", + "upgrade-plan-addon": "{{name}} es un complemento de pago. Los complementos requieren un plan de pago.", + "ce-grant-case": "Cualquier compra convierte tu Community Grant en una licencia comercial perpetua. Pagas por lo que agregas, no por lo que el Community Grant ya cubre.", + "pe-pack-case": "El Professional Pack es una compra única, con el mismo precio para todos los titulares de un Community Grant.", + "ce-grant-white-label": "Lo que ya personalizas con marca blanca sigue siendo gratuito con tu Community Grant.", + "open-portal-manage-license": "Abriremos la licencia de esta implementación en el Portal de licencias. Es posible que debas iniciar sesión. Presiona Actualizar cuando vuelvas.", + "open-portal-upgrade-plan": "Abriremos el Portal de licencias y te sugeriremos un plan. Es posible que debas iniciar sesión. Presiona Actualizar cuando vuelvas.", + "open-portal": "Abrir el portal", + "add-license-item-title": "Para {{ action }} {{ item }}, debes actualizar tu {{ package }} en el Portal de licencias de ThingsBoard.", + "action-add": "agregar", + "action-enable": "habilitar", + "package-subscription": "suscripción", + "package-perpetual": "paquete de licencia", + "go-to-license-portal": "Ir al Portal de licencias", + "add-license-item-step-first": "Te redirigiremos al Portal de licencias.", + "add-license-item-step-second": "Una vez que inicies sesión, abriremos automáticamente los detalles correspondientes de {{ package }}.", + "add-license-item-step-third": "Agrega \"{{ item }}\" a tu {{ package }}.", + "add-license-item-step-fourth": "Una vez completado, haz clic en \"Actualizar información de la licencia\" a continuación para actualizar {{ package }} de inmediato.", + "request-feature-sysadmin-text": "¿Eres el administrador del sistema?", + "login-here": "Inicia sesión aquí", + "to-get-addon": "para obtener el complemento.", + "request-edge-title": "Mantén tus sitios en funcionamiento incluso cuando la red falle", + "request-edge-text": "Implementa instancias de Edge para distribuir el procesamiento y el análisis en toda tu infraestructura. Capacidades clave:", + "edge-card-autonomy-title": "Autonomía", + "edge-card-autonomy-text": "Garantiza un funcionamiento local inmediato incluso durante fallas de red", + "edge-card-filtering-title": "Filtrado", + "edge-card-filtering-text": "Reduce el tráfico y los costos en la nube enviando solo datos validados y valiosos", + "edge-card-latency-title": "Latencia", + "edge-card-latency-text": "Permite el control en tiempo real y respuestas rápidas al procesar los datos localmente", + "edge-card-security-title": "Seguridad", + "edge-card-security-text": "Proporciona un búfer seguro entre los dispositivos OT y la nube pública", + "edge-card-efficiency-title": "Eficiencia", + "edge-card-efficiency-text": "Normaliza y consolida los datos cerca de la fuente, aliviando la carga de trabajo en la nube", + "request-edge-action-text": "Edge Management está disponible como complemento. Contacta a tu administrador del sistema para habilitarlo.", + "request-access": "Solicitar acceso", + "requested": "Solicitado", + "upgrade-plan": "Mejorar el plan", + "learn-more": "Más información", + "feature-request-sent-title": "Enviamos una solicitud automática a tu administrador del sistema para habilitar {{addonName}}", + "feature-request-sent-text": "Espera un tiempo mientras revisa la solicitud y actualiza la configuración. Es posible que tengas que actualizar esta página para ver los cambios.", + "request-trendz-title": "Convierte los datos de IoT en información útil y simplifica la toma de decisiones con {{name}}", + "request-trendz-text": "Desbloquea potentes análisis de IoT sin código con un espacio de trabajo unificado impulsado por IA que te permite explorar la telemetría, crear lógica, detectar anomalías, generar predicciones y convertir los datos sin procesar en información clara y útil", + "request-trendz-action-text": "{{name}} está disponible como complemento. Contacta a tu administrador del sistema para habilitarlo.", + "trendz-card-metric-explorer-title": "Explorador de métricas", + "trendz-card-metric-explorer-text": "Analiza a fondo la telemetría con análisis sin código, métricas personalizadas e información visual instantánea", + "trendz-card-anomaly-title": "Detección de anomalías", + "trendz-card-anomaly-text": "Detecta automáticamente comportamientos inusuales en tus datos", + "trendz-card-calculation-title": "Campos calculados", + "trendz-card-calculation-text": "Define la lógica de negocio, transforma la telemetría y crea nuevas métricas", + "trendz-card-prediction-title": "Modelos de predicción", + "trendz-card-prediction-text": "Pronostica valores futuros y detecta tendencias con modelos de ML integrados", + "trendz-card-views-title": "Vistas", + "trendz-card-views-text": "Crea tableros de análisis que puedes compartir con equipos y clientes, todo en un solo lugar.", + "trendz-card-ai-assistant-title": "Asistente de IA", + "trendz-card-ai-assistant-text": "Genera lógica, refina fórmulas y automatiza la creación de métricas con IA en lenguaje natural.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Integraciones, el planificador, informes y Marca blanca.", + "pe-pack-desc": "Amplía tu Community Grant al conjunto completo de funciones.", + "request-pe-pack": "Solicita el Professional Pack completo", + "add-pe-pack": "Agregar el Professional Pack completo", + "pe-pack-extend-ce": "Amplía tu Community Grant al conjunto completo de funciones.", + "sys-admin-pe-pack-note": "¿Eres administrador del sistema? Inicia sesión y agrega el Professional Pack en Gestión de licencias.", + "pe-pack-requested": "Se solicitó el Professional Pack a tu administrador del sistema.", + "white-labeling-promo": "Configura el logotipo, los colores y los títulos desde una página de configuración.", + "white-labeling-promo-try": "Configura el logotipo, los colores y los títulos desde una página de configuración. Ábrela para probar.", + "integrations": "Integraciones", + "integrations-promo": "Incorpora datos desde LoRaWAN, MQTT, Kafka y otras plataformas IoT.", + "scheduler": "Planificador", + "scheduler-promo": "Ejecuta actualizaciones y envía eventos a las cadenas de reglas de forma programada.", + "reports": "Informes", + "reports-promo": "Crea informes a partir de tablas, gráficos y tu propia marca, y envíalos de forma programada." + }, + "platform-feature": { + "overview": "Descripción general", + "white-labeling": { + "not-in-plan": "La marca blanca no está incluida en tu plan", + "not-in-ce-grant": "La marca blanca no está incluida en tu Community Grant.", + "add": "Agregar marca blanca", + "request": "Solicitar marca blanca", + "offer-title": "Tu marca, tu pantalla de inicio de sesión, tus menús, tus etiquetas", + "offer-with-plan-lede": "La marca blanca está disponible a partir del plan Pilot. Todo lo que configures aquí reemplaza lo de ThingsBoard: en la página de inicio de sesión, en los correos que envías y en cada página en la que trabajan tus clientes.", + "offer-lede": "Con la marca blanca, todo lo que configures aquí reemplaza lo de ThingsBoard: en la página de inicio de sesión, en los correos que envías y en cada página en la que trabajan tus clientes.", + "pack-offer-lede": "La marca blanca viene con el Professional Pack, el complemento de pago de tu Community Grant. Con el Professional Pack activo, todo lo que configures aquí reemplaza lo de ThingsBoard: en la página de inicio de sesión, en los correos que envías y en cada página en la que trabajan tus clientes.", + "sys-admin-wl-note": "¿Eres administrador del sistema? Inicia sesión y agrega la marca blanca en Gestión de licencias." + }, + "integrations": { + "not-in-ce-grant": "Las integraciones no están incluidas en tu Community Grant.", + "pack-offer-title": "Incorpora datos desde LoRaWAN, MQTT, Kafka y otras plataformas IoT", + "pack-offer-lede": "Las integraciones forman parte del Professional Pack, el complemento de pago de tu Community Grant. Cada una lee datos de un servidor de red LoRaWAN, un broker MQTT o Kafka, u otra plataforma IoT: crea dispositivos automáticamente a medida que aparecen y guarda lo que envían como telemetría.", + "overview": { + "brokers-and-platforms": "Brokers y plataformas", + "brokers-and-platforms-desc": "Una integración por fuente, configurada y supervisada desde la interfaz.", + "data-converters": "Convertidores de datos", + "data-converters-desc": "Decodifica la carga útil propia de un dispositivo, incluidos los códecs LoRaWAN, con un script, sin cambiar lo que envía el dispositivo.", + "downlink": "Downlink", + "downlink-desc": "Envía comandos y configuración de vuelta al dispositivo a través de la misma conexión.", + "remote-integrations": "Integraciones remotas", + "remote-integrations-desc": "Ejecuta una en el Edge, en un host propio: sigue almacenando datos en búfer mientras el enlace con ThingsBoard está caído." + }, + "dozen-protocols-brokers-and-platforms": "Decenas de protocolos, brokers y plataformas", + "browse-setup-guides-note": "Consulta las guías de configuración en nuestra documentación." + }, + "scheduler": { + "not-in-ce-grant": "El planificador no está incluido en tu Community Grant.", + "pack-offer-title": "Ejecuta actualizaciones y envía eventos a cadenas de reglas de forma programada", + "pack-offer-lede": "El planificador forma parte del Professional Pack, el complemento de pago de tu Community Grant. Ejecuta actualizaciones de firmware y envía eventos a cadenas de reglas: cada entrada tiene una hora de inicio, una regla de repetición y su propia zona horaria, y la plataforma la ejecuta tanto si algo tuyo sigue en funcionamiento como si no.", + "overview": { + "repeats-and-timezones": "Repeticiones y zonas horarias", + "repeats-and-timezones-desc": "Una vez, o a diario o semanalmente los días que elijas, y cada evento se procesa en su propia zona horaria.", + "device-commands": "Comandos de dispositivo", + "device-commands-desc": "Envía un comando a un dispositivo a una hora fijada, sin una tarea cron con un token de API almacenado.", + "firmware-and-software": "Firmware y software", + "firmware-and-software-desc": "Despliega un paquete OTA en un dispositivo o en un grupo entero a una hora en la que nadie está mirando.", + "rule-chain-triggers": "Disparadores de cadenas de reglas", + "rule-chain-triggers-desc": "Publica en una cadena de reglas, de modo que todo lo que puede hacer una cadena de reglas se ejecute sin supervisión." + } + }, + "reporting": { + "not-in-ce-grant": "Los informes no están incluidos en tu Community Grant.", + "pack-offer-title": "Crea un informe una vez y entrégalo en cada ejecución programada", + "pack-offer-lede": "Los informes forman parte del Professional Pack, el complemento de pago de tu Community Grant. Tú mismo diseñas el informe —tablas, gráficos, texto y tu propia marca— y cada ejecución llega a sus destinatarios según la programación o cuando se dispara una alarma.", + "overview": { + "your-own-layout": "Tu propio diseño", + "your-own-layout-desc": "Arrastra tablas, gráficos, texto e imágenes a su lugar, y una sola plantilla guardada sirve para todos los clientes.", + "pdf-or-csv": "PDF o CSV", + "pdf-or-csv-desc": "Un documento listo para imprimir con los gráficos ya dibujados, o las filas sin procesar para quien quiera los números.", + "channel": "Correo, Slack, Teams o SMS", + "channel-desc": "Elige el canal por destinatario o por grupo de usuarios: la plataforma entrega cada ejecución programada.", + "attached-to-alarm": "Adjunto a la alarma", + "attached-to-alarm-desc": "Una notificación lleva consigo el informe, generado en el momento en que se dispara la alarma, con los datos de ese instante." + } + } + }, + "subscription-error": { + "title": "Infracción de la suscripción", + "warning-title": "Advertencia de la suscripción", + "upgrade-subscription-plan": "Mejora tu plan de suscripción", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} está disponible a partir del plan {{planName}}. Para continuar, pide a tu administrador del sistema que mejore el plan.", + "limit-reached": { + "device-count": "¡Has alcanzado el número máximo de dispositivos ({{value}}) permitido por tu plan de suscripción!", + "asset-count": "¡Has alcanzado el número máximo de activos ({{value}}) permitido por tu plan de suscripción!", + "edge-count": "¡Has alcanzado el número máximo de instancias de Edge ({{value}}) permitido por tu plan de suscripción!", + "agent-count": "¡Has alcanzado el número máximo de Remote Agents ({{value}}) permitido por tu plan de suscripción!" + }, + "feature-disabled": { + "white-labeling": "¡Tu plan de suscripción no permite la función de Marca blanca!" + } + }, "phone-input": { "phone-input-label": "Número de teléfono", "phone-input-required": "Se requiere el número de teléfono", @@ -12584,7 +14249,7 @@ "polygon-click": "Al hacer clic en el polígono", "marker-click": "Al hacer clic en el marcador", "circle-click": "Al hacer clic en el círculo", - "tooltip-tag-action": "Acción de etiqueta de tooltip", + "tooltip-tag-action": "Acción de etiqueta de descripción emergente", "node-selected": "Al seleccionar el nodo", "element-click": "Al hacer clic en el elemento HTML", "pie-slice-click": "Al hacer clic en una porción", @@ -12603,7 +14268,7 @@ "items-per-page-separator": "de" }, "trendz-analytics": { - "add-new": "+ Añadir nuevo", + "add-new": "+ Agregar nuevo", "ai-assistant": "Asistente de IA", "ai-assistant-description": "Perspectivas conversacionales e informes automatizados", "anomaly-detection": "Detección de anomalías", @@ -12657,7 +14322,7 @@ }, "thingsboard-internal-url": "URL interna de ThingsBoard", "thingsboard-internal-url-invalid": "La URL interna de ThingsBoard es inválida", - "thingsboard-internal-url-required": "La URL interna de ThingsBoard es obligatoria", + "thingsboard-internal-url-required": "Se requiere la URL interna de ThingsBoard", "trendz-analytics": "Analítica de Trendz", "advanced-analytics": "Analítica avanzada", "trendz-configuration": "Configuración de Trendz", @@ -12665,10 +14330,11 @@ "trendz-configuration-unsaved-continue-without-saving": "Continuar sin guardar", "trendz-internal-url": "URL interna de Trendz", "trendz-internal-url-invalid": "La URL interna de Trendz es inválida", - "trendz-internal-url-required": "La URL interna de Trendz es obligatoria", + "trendz-internal-url-required": "Se requiere la URL interna de Trendz", "trendz-settings": "Configuración de Trendz", + "trendz": "Trendz", "views": "Vistas", - "views-description": "Grupos de visualización y reportes configurados", + "views-description": "Grupos de visualización e informes configurados", "trendz-synced": "Sincronización completada con éxito", "trendz-available": "Sincronización no completada", "trendz-unavailable": "Servicio no detectado", From 01ae4564228ed60f22e1e5965a135bb2d58d7b49 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 20 Oct 2026 10:44:44 +0300 Subject: [PATCH 226/559] Add license header curations for PE-only filters --- .../main/python/license-headers/curations.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index ecc5bb95de..e393f6e739 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -475,6 +475,18 @@ "reason": "PE-specific data/configuration type IntegrationLifecycleEventTrigger.java. Reviewed fields, type discriminators and serialization hooks describe PE entities or PE behavior; matching CE types supply only the common DTO/interface pattern. Resolved as PE-authored consistently with the maintainer decision for PE entity wrappers. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/rule/trigger/RuleEngineComponentLifecycleEventTrigger.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob e4c967c19792ecf5fa6409973459efe5ce73cb8d).", "contentHash": "sha256:c5da9a11ed196635c09972733cf511bee2bd111242c0d084d115d37e2e7524c5" }, + { + "path": "common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserGroupListFilter.java", + "header": "busl", + "reason": "PE user group notification target filter UserGroupListFilter.java; the path has never existed in CE history. Similarity to the CE candidate is the shared filter shape, not a relocation of the CE implementation. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserListFilter.java at aeaf9d1e299 (blob 07cd0280ba84ab71b6823242e18c7c7285296b84).", + "contentHash": "sha256:64563fbc6ee416025b555c14cf3c517c5027bfc112a883078cc717ed471c5b52" + }, + { + "path": "common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserRoleFilter.java", + "header": "busl", + "reason": "PE role-based notification target filter UserRoleFilter.java; the path has never existed in CE history. Similarity to the CE candidate is the shared filter shape, not a relocation of the CE implementation. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserListFilter.java at aeaf9d1e299 (blob 07cd0280ba84ab71b6823242e18c7c7285296b84).", + "contentHash": "sha256:007e94e798f25a9d0ccd1716b8a68eada4fe3ced71e531bd0538c2c56e24ecb7" + }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java", "header": "ce-modified", @@ -493,6 +505,12 @@ "reason": "PE-specific data/configuration type EntityGroupNameFilter.java. Reviewed fields, type discriminators and serialization hooks describe PE entities or PE behavior; matching CE types supply only the common DTO/interface pattern. Resolved as PE-authored consistently with the maintainer decision for PE entity wrappers. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/query/EntityNameFilter.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob a3889bc7c07de44917eac165a9c4e8578bbbcd62).", "contentHash": "sha256:46cc0073210fb81fb1a71f44604042da6056f78f62468cf45bdc78cdaf8cdd09" }, + { + "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/StateEntityFilter.java", + "header": "busl", + "reason": "PE entity filter StateEntityFilter.java; the path has never existed in CE history. Similarity to the CE candidate is the shared filter shape, not a relocation of the CE implementation. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/query/SingleEntityFilter.java at aeaf9d1e299 (blob dacd7de6eae6cd80cfd63047dad8951d76aeb455).", + "contentHash": "sha256:46835b82b0320007209a5d53528f9fdb534af41c2fcb5a528754c316c530394a" + }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/StateEntityOwnerFilter.java", "header": "busl", From 115dbabc31a70706f70c3172e2414602e997fae3 Mon Sep 17 00:00:00 2001 From: Dmytro Artamonov Date: Tue, 20 Oct 2026 10:56:36 +0300 Subject: [PATCH 227/559] chore(license): restamp ApiKeysCleanUpService header as ce-modified --- .../thingsboard/server/service/ttl/ApiKeysCleanUpService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/ttl/ApiKeysCleanUpService.java b/application/src/main/java/org/thingsboard/server/service/ttl/ApiKeysCleanUpService.java index 40a28eb853..6a0fd48f88 100644 --- a/application/src/main/java/org/thingsboard/server/service/ttl/ApiKeysCleanUpService.java +++ b/application/src/main/java/org/thingsboard/server/service/ttl/ApiKeysCleanUpService.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.ttl; import lombok.extern.slf4j.Slf4j; From edb4d5fd4bb370532a5bd875bfa255e30541b09b Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 20 Oct 2026 11:07:15 +0300 Subject: [PATCH 228/559] Set TBEL version to 1.2.12 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3da249beaa..9cfa2be932 100755 --- a/pom.xml +++ b/pom.xml @@ -103,7 +103,7 @@ 3.9.6 3.25.5 1.76.0 - 1.2.11 + 1.2.12 1.18.46 1.2.5 1.2.5 From 3c00f329d4c90b551e42dd25e56d6ecae714c59a Mon Sep 17 00:00:00 2001 From: Vladyslav Prykhodko Date: Tue, 20 Oct 2026 11:43:03 +0300 Subject: [PATCH 229/559] fix(ui): update moment-timezone to 0.6.5 (tzdata 2026e) (#16362) --- ui-ngx/package.json | 2 +- ui-ngx/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index a6053a1eda..fd0cdaf493 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -68,7 +68,7 @@ "maplibre-gl": "6.11.2", "marked": "~16.4.2", "moment": "^2.31.0", - "moment-timezone": "^0.6.0", + "moment-timezone": "^0.6.5", "ngx-clipboard": "^16.0.0", "ngx-daterangepicker-material": "^6.0.4", "ngx-drag-drop": "^20.0.1", diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index fdb5a6da01..eb48dc5ba4 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -8046,10 +8046,10 @@ mlly@^1.7.4, mlly@^1.8.0: pkg-types "^1.3.1" ufo "^1.6.3" -moment-timezone@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.6.0.tgz#c5a6519171f31a64739ea75d33f5c136c08ff608" - integrity sha512-ldA5lRNm3iJCWZcBCab4pnNL3HSZYXVb/3TYr75/1WCTWYuTqYUb5f/S384pncYjJ88lbO8Z4uPDvmoluHJc8Q== +moment-timezone@^0.6.5: + version "0.6.5" + resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.6.5.tgz#a8153ebe88199bd76f2d2ce329eb1d568eafbdee" + integrity sha512-KKzZAxGv2Qx4cnk6eSlvf4C+DLFW52vmMY5MN7UARY7GONbozkutylQG3DrrtmLCTXdQ5XZrqao9cI16bLFzXA== dependencies: moment "^2.29.4" From 79fb11a07df061c51b7789b8716e939e80b577a3 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Tue, 20 Oct 2026 10:43:52 +0200 Subject: [PATCH 230/559] Removed obsolete "Assign to customer" field from Add Asset dialog (#16358) --- .../app/modules/home/pages/asset/asset.component.html | 9 --------- .../src/app/modules/home/pages/asset/asset.component.ts | 3 --- 2 files changed, 12 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/asset/asset.component.html b/ui-ngx/src/app/modules/home/pages/asset/asset.component.html index 01d410ec52..625fa603c6 100644 --- a/ui-ngx/src/app/modules/home/pages/asset/asset.component.html +++ b/ui-ngx/src/app/modules/home/pages/asset/asset.component.html @@ -69,15 +69,6 @@ [showDetailsPageLink]="resource.ASSET_PROFILE | hasGenericPermission : operation.READ" (assetProfileUpdated)="onAssetProfileUpdated()"> - @if (isAdd) { - - - }
    asset.description diff --git a/ui-ngx/src/app/modules/home/pages/asset/asset.component.ts b/ui-ngx/src/app/modules/home/pages/asset/asset.component.ts index 57b05777c5..bf142b80f3 100644 --- a/ui-ngx/src/app/modules/home/pages/asset/asset.component.ts +++ b/ui-ngx/src/app/modules/home/pages/asset/asset.component.ts @@ -5,7 +5,6 @@ import { ChangeDetectorRef, Component, Inject } from '@angular/core'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { EntityType } from '@shared/models/entity-type.models'; import { ActionNotificationShow } from '@core/notification/notification.actions'; import { TranslateService } from '@ngx-translate/core'; import { AssetInfo } from '@shared/models/asset.models'; @@ -25,8 +24,6 @@ import { Authority } from '@shared/models/authority.enum'; }) export class AssetComponent extends GroupEntityComponent { - entityType = EntityType; - readonly isTenantAdmin: boolean; // assetScope: 'tenant' | 'customer' | 'customer_user'; From 99d1740b06655ece6d112e5c182680129b879dff Mon Sep 17 00:00:00 2001 From: Makson Lee Date: Tue, 20 Oct 2026 16:53:10 +0800 Subject: [PATCH 231/559] [4.4] Improve Traditional Chinese (Taiwan) translations (#16168) * Improve Traditional Chinese (Taiwan) translations * Use object-neutral wording for Traditional Chinese Save as actions * Resolve Traditional Chinese review findings and related terminology gaps * Use consistent Traditional Chinese identifier terminology * Clarify Traditional Chinese per-entity limits and related hints * Refine Traditional Chinese terminology and composed messages * Address Traditional Chinese terminology and punctuation review * Complete Traditional Chinese translations for updated master * Refine Traditional Chinese composed messages --- .../assets/locale/locale.constant-zh_TW.json | 16575 ++++++++++++---- 1 file changed, 13235 insertions(+), 3340 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json index 0802c1c495..76f7d38009 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json @@ -2,726 +2,1084 @@ "access": { "unauthorized": "未授權", "unauthorized-access": "未授權存取", - "unauthorized-access-text": "您需要登入才能存取這個資源!", + "unauthorized-access-text": "您需要登入才能存取此資源!", "access-forbidden": "禁止存取", - "access-forbidden-text": "您沒有存取此位置的權限
    如果您仍希望存取此位置,請嘗試使用其他用戶登入。", - "refresh-token-expired": "Session 已過期", - "refresh-token-failed": "無法更新 Session", - "permission-denied": "許可權被拒絕", - "permission-denied-text": "您沒有執行此操作的許可權!" + "access-forbidden-text": "您沒有權限存取此位置!
    如果您仍希望存取此位置,請嘗試使用其他使用者登入。", + "refresh-token-expired": "工作階段已過期", + "refresh-token-failed": "無法更新工作階段", + "permission-denied": "權限不足", + "permission-denied-text": "您沒有執行此操作的權限!" }, "action": { - "activate": "啟動", - "suspend": "暫停", + "activate": "啟用", + "suspend": "停用", "save": "儲存", "saveAs": "另存為", "cancel": "取消", "ok": "確定", "delete": "刪除", - "add": "增加", + "add": "新增", "yes": "是", "no": "否", "update": "更新", "remove": "移除", "select": "選擇", - "search": "查詢", - "clear-search": "清除查詢", - "assign": "分配", - "unassign": "取消分配", + "search": "搜尋", + "clear-search": "清除搜尋", + "assign": "指派", + "unassign": "取消指派", "share": "分享", - "make-private": "私有", - "apply": "應用", - "apply-changes": "應用更改", + "make-private": "設為私有", + "apply": "套用", + "apply-changes": "套用變更", "edit-mode": "編輯模式", "enter-edit-mode": "進入編輯模式", - "decline-changes": "取消更改", + "decline-changes": "放棄變更", "close": "關閉", "back": "返回", "run": "執行", - "sign-in": "登入!", + "sign-in": "登入", "edit": "編輯", - "view": "查看", + "view": "檢視", "create": "建立", - "drag": "拖拉", - "refresh": "更新", - "undo": "取消", + "drag": "拖曳", + "refresh": "重新整理", + "undo": "復原", "copy": "複製", "paste": "貼上", - "copy-reference": "複製引用", - "paste-reference": "貼上引用", + "copy-reference": "複製參照", + "paste-reference": "貼上參照", "import": "匯入", "export": "匯出", - "share-via": "通過 {{provider}}分享", + "share-via": "透過 {{provider}} 分享", "continue": "繼續", - "discard-changes": "放棄更改", + "discard-changes": "放棄變更", "download": "下載", - "next-with-label": "下一步: {{label}}", - "read-more": "讀更多", + "next-with-label": "下一步:{{label}}", + "read-more": "閱讀更多", "hide": "隱藏", "done": "完成", "print": "列印", - "restore": "恢復", - "confirm": "確認" + "restore": "還原", + "confirm": "確認", + "move": "移動", + "decline": "拒絕", + "next": "下一步", + "test": "測試", + "more": "更多", + "less": "收起", + "skip": "跳過", + "send": "傳送", + "reset": "重設", + "show-more": "顯示更多", + "dont-show-again": "不再顯示", + "see-documentation": "檢視文件", + "see-debug-events": "檢視偵錯事件", + "clear": "清除", + "upload": "上傳", + "delete-anyway": "仍然刪除", + "delete-selected": "刪除所選", + "set": "設定", + "retry": "重試", + "make-public": "設為公開", + "open": "開啟", + "copied": "已複製", + "reset-default": "重設為預設值", + "dont-show-this-again": "不再顯示", + "duplicate": "建立複本", + "disable": "停用", + "enable": "啟用", + "rename": "重新命名" }, "aggregation": { - "aggregation": "聚合", - "function": "資料聚合功能", - "limit": "最大值", + "aggregation": "彙總", + "function": "資料彙總函式", + "limit": "最大筆數", "group-interval": "分組間隔", - "min": "最少值", + "min": "最小值", "max": "最大值", "avg": "平均值", - "sum": "總計", + "sum": "總和", "count": "計數", - "none": "空" + "none": "無" }, "admin": { "general": "一般", "general-settings": "一般設定", - "home-settings": "主頁設訂", - "outgoing-mail": "發送郵件", - "outgoing-mail-settings": "發送郵件設定", + "home-settings": "首頁設定", + "outgoing-mail": "郵件伺服器", + "outgoing-mail-settings": "寄件郵件伺服器設定", "system-settings": "系統設定", - "test-mail-sent": "測試郵件發送成功!", - "base-url": "基本URL", - "base-url-required": "基本URL必填。", - "prohibit-different-url": "禁止使用用戶端請求標頭中的主機名", - "prohibit-different-url-hint": "應為生產環境啟用此設定。禁用時可能會導致安全問題", - "mail-from": "郵件來自", - "mail-from-required": "郵件發件人必填。", - "smtp-protocol": "SMTP協定", - "smtp-host": "SMTP主機", - "smtp-host-required": "SMTP主機必填。", - "smtp-port": "SMTP連接埠", - "smtp-port-required": "您必須提供一個smtp連接埠。", - "smtp-port-invalid": "這看起來不是有效的smtp連接埠。", - "timeout-msec": "超時(ms)", - "timeout-required": "超時必填。", - "timeout-invalid": "這看起來不像有效的超時值。", - "enable-tls": "啟用TLS", - "tls-version": "TLS版本", - "enable-proxy": "啟用proxy", - "proxy-host": "Proxy主機", - "proxy-host-required": "需要Proxy主機。", - "proxy-port": "Proxy通訊埠", - "proxy-port-required": "需要Proxy通訊埠。", - "proxy-port-range": "Proxy通訊埠應在1到65535的範圍內。", - "proxy-user": "Proxy用戶", - "proxy-password": "Proxy密碼d", + "test-mail-sent": "測試郵件傳送成功!", + "base-url": "基底 URL", + "base-url-required": "基底 URL 為必填項。", + "prohibit-different-url": "禁止使用來自用戶端請求標頭的主機名稱", + "prohibit-different-url-hint": "此設定應在正式環境中啟用。停用時可能導致安全問題", + "mail-from": "寄件者", + "mail-from-required": "寄件者為必填項。", + "smtp-protocol": "SMTP 協定", + "smtp-host": "SMTP 主機", + "smtp-host-required": "SMTP 主機為必填項。", + "smtp-port": "SMTP 連接埠", + "smtp-port-required": "SMTP 連接埠為必填項。", + "smtp-port-invalid": "SMTP 連接埠格式無效。", + "timeout-msec": "逾時(毫秒)", + "timeout-required": "逾時為必填項。", + "timeout-invalid": "逾時格式無效。", + "enable-tls": "啟用 TLS", + "tls-version": "TLS 版本", + "enable-proxy": "啟用代理", + "proxy-host": "代理主機", + "proxy-host-required": "代理主機為必填項。", + "proxy-port": "代理連接埠", + "proxy-port-required": "代理連接埠為必填項。", + "proxy-port-range": "代理連接埠應在 1 到 65535 的範圍內。", + "proxy-user": "代理使用者", + "proxy-password": "代理密碼", "change-password": "修改密碼", - "send-test-mail": "發送測試郵件", - "sms-provider": "SMS提供者", - "sms-provider-settings": "SMS提供者設定", - "sms-provider-type": "SMS提供者類型", - "sms-provider-type-required": "SMS提供者形態為必填", + "send-test-mail": "傳送測試郵件", + "sms-provider": "簡訊提供者", + "sms-provider-settings": "簡訊提供者設定", + "sms-provider-type": "簡訊提供者類型", + "sms-provider-type-required": "簡訊提供者類型為必填項。", "sms-provider-type-aws-sns": "Amazon SNS", "sms-provider-type-twilio": "Twilio", "sms-provider-type-smpp": "SMPP", - "aws-access-key-id": "AWS存取金鑰ID", - "aws-access-key-id-required": "AWS存取金鑰ID為必填", - "aws-secret-access-key": "AWS私密存取金鑰ID", - "aws-secret-access-key-required": "AWS私密存取金鑰ID為必填", - "aws-region": "AWS地區", - "aws-region-required": "AWS地區為必填", - "number-from": "電話號碼來自", - "number-from-required": "電話號碼來自為必填", - "number-to": "電話號碼發送至", - "number-to-required": "電話號碼發送至為必填", - "phone-number-hint": "E.164格式的電話號碼,例如+19995550123", - "phone-number-hint-twilio": "E.164格式的電話號碼/電話號碼的SID/訊息服務SID,例如+19995550123/PNXXX/MGXXX", - "phone-number-pattern": "電話號碼無效。應採用E.164格式,例如+19995550123。", - "phone-number-pattern-twilio": "電話號碼無效。應採用E.164格式/電話號碼的SID/訊息服務SID,例如+19995550123/PNXXX/MGXXX。", - "sms-message": "SMS簡訊", - "sms-message-required": "SMS簡訊為必填", - "sms-message-max-length": "SMS簡訊不能超過1600個字元", - "twilio-account-sid": "Twilio Account SID", - "twilio-account-sid-required": "Twilio Account SID為必填", - "twilio-account-token": "Twilio Account token", - "twilio-account-token-required": "Twilio Account token為必填", - "send-test-sms": "發送測試SMS", - "test-sms-sent": "測試SMS已成功發送!", + "aws-access-key-id": "AWS 存取金鑰識別碼", + "aws-access-key-id-required": "AWS 存取金鑰識別碼為必填項", + "aws-secret-access-key": "AWS 私密存取金鑰", + "aws-secret-access-key-required": "請輸入 AWS 私密存取金鑰", + "aws-region": "AWS 區域", + "aws-region-required": "AWS 區域為必填項", + "number-from": "傳送方電話號碼", + "number-from-required": "傳送方電話號碼為必填項。", + "number-to": "接收方電話號碼", + "number-to-required": "接收方電話號碼為必填項。", + "phone-number-hint": "電話號碼需使用 E.164 格式,例如 +19995550123", + "phone-number-hint-twilio": "可填入 E.164 格式的電話號碼、電話號碼 SID 或訊息服務 SID,例如 +19995550123/PNXXX/MGXXX", + "phone-number-pattern": "電話號碼無效。應使用 E.164 格式,例如 +19995550123。", + "phone-number-pattern-twilio": "格式無效。請輸入 E.164 格式的電話號碼、電話號碼 SID 或訊息服務 SID,例如 +19995550123/PNXXX/MGXXX。", + "sms-message": "簡訊訊息", + "sms-message-required": "簡訊訊息為必填項。", + "sms-message-max-length": "簡訊訊息不能超過 1600 個字元", + "twilio-account-sid": "Twilio 帳戶 SID", + "twilio-account-sid-required": "Twilio 帳戶 SID 為必填項", + "twilio-account-token": "Twilio 帳戶權杖", + "twilio-account-token-required": "Twilio 帳戶權杖為必填項", + "send-test-sms": "傳送測試簡訊", + "test-sms-sent": "測試簡訊傳送成功!", "security-settings": "安全設定", - "password-policy": "密碼政策", - "minimum-password-length": "密碼長度下限", - "minimum-password-length-required": "密碼長度下限為必填", - "minimum-password-length-range": "密碼長度下限範圍值為5-50", - "minimum-uppercase-letters": "大寫字母數下限", - "minimum-uppercase-letters-range": "大寫字母數下限不可為否", - "minimum-lowercase-letters": "小寫字母數下限", - "minimum-lowercase-letters-range": "小寫字母數下限,不可為否", - "minimum-digits": "數字數下限", - "minimum-digits-range": "數字數下限不能為否", - "minimum-special-characters": "特殊字元數下限", - "minimum-special-characters-range": "特殊字元數下限,不可為否", - "password-expiration-period-days": "密碼失效期限,以天為單位", - "password-expiration-period-days-range": "密碼失效期限,以天為單位,不可為否", - "password-reuse-frequency-days": "密碼重用頻率天數", - "password-reuse-frequency-days-range": "密碼重用頻率天數,不可為否", - "allow-whitespace": "允許空白字元", - "general-policy": "通用政策", - "max-failed-login-attempts": "帳號上鎖前的最多嘗試登入錯誤次數", - "minimum-max-failed-login-attempts-range": "最多嘗試登入錯誤次數,不可為否", - "user-lockout-notification-email": "避免帳號被鎖,寄送email通知", + "password-policy": "密碼原則", + "minimum-password-length": "最小密碼長度", + "minimum-password-length-required": "最小密碼長度為必填項", + "minimum-password-length-range": "最小密碼長度應在 6 到 50 的範圍內", + "minimum-uppercase-letters": "最少大寫字母數量", + "minimum-uppercase-letters-range": "最少大寫字母數量不能為負數", + "minimum-lowercase-letters": "最少小寫字母數量", + "minimum-lowercase-letters-range": "最少小寫字母數量不能為負數", + "minimum-digits": "最少數字數量", + "minimum-digits-range": "最少數字數量不能為負數", + "minimum-special-characters": "最少特殊字元數量", + "minimum-special-characters-range": "最少特殊字元數量不能為負數", + "password-expiration-period-days": "密碼過期週期(天)", + "password-expiration-period-days-range": "密碼過期週期(天)不能為負數", + "password-reuse-frequency-days": "密碼不得重複使用的期間(天)", + "password-reuse-frequency-days-range": "密碼不得重複使用的期間(天)不能為負數", + "allow-whitespace": "允許空格", + "general-policy": "一般原則", + "max-failed-login-attempts": "帳戶鎖定前允許的最大登入失敗次數", + "minimum-max-failed-login-attempts-range": "最大登入失敗次數不能為負數", + "user-lockout-notification-email": "使用者帳戶鎖定時,傳送通知至電子郵件信箱", "domain-name": "網域名稱", - "domain-name-unique": "網域名稱與通訊協定需是唯一值", - "domain-name-max-length": "網域名稱需少於256字元", - "error-verification-url": "網域名稱不可包含符號 '/' 及 ':' 例如:thingsboard.io", + "domain-name-unique": "網域名稱和協定需要唯一。", + "domain-name-max-length": "網域名稱應少於 256 個字元", + "error-verification-url": "網域名稱不應包含符號「/」和「:」。例如:thingsboard.io", "oauth2": { - "access-token-uri": "訪問token URI", - "access-token-uri-required": "訪問token為必填", - "activate-user": "啓動用戶", - "add-domain": "增加網域", - "delete-domain": "刪除網域", - "add-provider": "增加提供者", + "access-token-uri": "存取權杖 URI", + "access-token-uri-required": "存取權杖 URI 為必填項。", + "activate-user": "啟用使用者", + "add-domain": "新增網域名稱", + "delete-domain": "刪除網域名稱", + "add-provider": "新增提供者", "delete-provider": "刪除提供者", - "allow-user-creation": "允許用戶建立", - "always-fullscreen": "始終以全螢幕顯示", - "authorization-uri": "授權URI", - "authorization-uri-required": "授權URI為必填", - "client-authentication-method": "客戶端驗證方法", - "client-id": "客戶ID", - "client-id-required": "客戶ID為必填", - "client-id-max-length": "客戶ID長度需小於256", - "client-secret": "客戶密鑰", - "client-secret-required": "客戶密鑰為必填", - "client-secret-max-length": "客戶密鑰長度需小於2049", - "custom-setting": "客製化設定", - "customer-name-pattern": "顧客名稱模式", - "customer-name-pattern-max-length": "顧客名稱模式長度需小於256", + "allow-user-creation": "允許建立使用者", + "always-fullscreen": "始終全螢幕", + "authorization-uri": "授權 URI", + "authorization-uri-required": "授權 URI 為必填項。", + "client-authentication-method": "用戶端認證方法", + "client-id": "用戶端識別碼", + "client-id-required": "用戶端識別碼為必填項。", + "client-id-max-length": "用戶端識別碼應少於 256 個字元", + "client-secret": "用戶端密碼", + "client-secret-required": "請輸入用戶端密碼", + "client-secret-max-length": "用戶端密碼長度必須少於 2049 個字元", + "custom-setting": "自訂設定", + "customer-name-pattern": "客戶名稱模式", + "customer-name-pattern-max-length": "客戶名稱模式應少於 256 個字元", "default-dashboard-name": "預設儀表板名稱", - "default-dashboard-name-max-length": "預設儀表板名稱長度需小於256", - "delete-domain-text": "小心!確認後,此網域及所有提供者資料將被刪除,將無法恢復。", - "delete-domain-title": "您確定要刪除網域設定 '{{domainName}}'嗎?", - "delete-registration-text": "小心!確認後,提供者資料將被刪除,將無法恢復。", - "delete-registration-title": "您確定要刪除提供者 '{{name}}'?", - "email-attribute-key": "Email屬性key", - "email-attribute-key-required": "Email屬性key為必填", - "email-attribute-key-max-length": "Email屬性key長度需小於32", - "first-name-attribute-key": "名字屬性key", - "first-name-attribute-key-max-length": "名字屬性key長度需小於32", - "general": "General", + "default-dashboard-name-max-length": "預設儀表板名稱應少於 256 個字元", + "delete-domain-text": "請注意,確認後該網域名稱及所有提供者資料將不可用。", + "delete-domain-title": "確定要刪除網域名稱「{{domainName}}」嗎?", + "delete-registration-text": "請注意,確認後提供者資料將不可用。", + "delete-registration-title": "確定要刪除提供者「{{name}}」嗎?", + "email-attribute-key": "電子郵件屬性鍵", + "email-attribute-key-required": "電子郵件屬性鍵為必填項。", + "email-attribute-key-max-length": "電子郵件屬性鍵應少於 32 個字元", + "first-name-attribute-key": "名字屬性鍵", + "first-name-attribute-key-max-length": "名字屬性鍵應少於 32 個字元", + "general": "一般", "jwk-set-uri": "JSON Web Key URI", - "last-name-attribute-key": "姓氏屬性key", - "last-name-attribute-key-max-length": "姓氏屬性key長度需小於32", - "login-button-icon": "登入鍵圖示", + "last-name-attribute-key": "姓氏屬性鍵", + "last-name-attribute-key-max-length": "姓氏屬性鍵應少於 32 個字元", + "login-button-icon": "登入按鈕圖示", "login-button-label": "提供者標籤", - "login-button-label-placeholder": "使用$(Provider label)登入", - "login-button-label-required": "標籤為必填", + "login-button-label-placeholder": "使用 $(Provider label) 登入", + "login-button-label-required": "標籤為必填項。", "login-provider": "登入提供者", - "mapper": "匹配器", - "new-domain": "新網域", - "oauth2": "OAuth2", - "password-max-length": "密碼需小於256", - "redirect-uri-template": "轉址URI格式", - "copy-redirect-uri": "複製轉址URI", - "registration-id": "註冊 ID", - "registration-id-required": "註冊ID為必填", - "registration-id-unique": "註冊ID需為系統中唯一值。", - "scope": "Scope", - "scope-required": "Scope為必填", - "tenant-name-pattern": "租戶名稱格式", - "tenant-name-pattern-required": "租戶名稱格式為必填", - "tenant-name-pattern-max-length": "租戶名稱格式長度需小於256", - "tenant-name-strategy": "租戶命名規則", - "type": "匹配器類型", - "uri-pattern-error": "無效URI格式", + "mapper": "對應器", + "new-domain": "新網域名稱", + "oauth2": "OAuth 2.0", + "password-max-length": "密碼應少於 256 個字元", + "redirect-uri-template": "重新導向 URI 範本", + "copy-redirect-uri": "複製重新導向 URI", + "registration-id": "註冊識別碼", + "registration-id-required": "註冊識別碼為必填項。", + "registration-id-unique": "註冊識別碼在系統中必須唯一。", + "scope": "範圍", + "scope-required": "範圍為必填項。", + "tenant-name-pattern": "租戶名稱模式", + "tenant-name-pattern-required": "租戶名稱模式為必填項。", + "tenant-name-pattern-max-length": "租戶名稱模式應少於 256 個字元", + "tenant-name-strategy": "租戶名稱策略", + "type": "對應器類型", + "uri-pattern-error": "URI 格式無效。", "url": "URL", - "url-pattern": "無效URI格式", - "url-required": "URI為必填", - "url-max-length": "URI長度需小於256", - "user-info-uri": "用戶訊息URI", - "user-info-uri-required": "用戶訊息URI為必填", - "username-max-length": "用戶名稱長度需小於256", - "user-name-attribute-name": "用戶名稱屬性key", - "user-name-attribute-name-required": "用戶名稱屬性key為必填", + "url-pattern": "URL 格式無效。", + "url-required": "URL 為必填項。", + "url-max-length": "URL 應少於 256 個字元", + "user-info-uri": "使用者資訊 URI", + "user-info-uri-required": "使用者資訊 URI 為必填項。", + "username-max-length": "使用者名稱應少於 256 個字元", + "user-name-attribute-name": "使用者名稱屬性鍵", + "user-name-attribute-name-required": "使用者名稱屬性鍵為必填項", "protocol": "協定", "domain-schema-http": "HTTP", "domain-schema-https": "HTTPS", "domain-schema-mixed": "HTTP+HTTPS", - "enable": "啟用OAuth2設定", - "domains": "網域", - "mobile-apps": "手機應用程式", - "no-mobile-apps": "無應用程式設定", - "mobile-package": "應用套裝軟體", - "mobile-package-placeholder": "例如my.example.app", - "mobile-package-hint": "對於Android:您自己的唯一應用程序ID。對於iOS:產品Bundle ID", - "mobile-package-unique": "應用程式套件需為唯一值", - "mobile-app-secret": "應用程式密鑰", - "invalid-mobile-app-secret": "應用程式密鑰需包含字母數字字元,長度需介於16到2048之間。", - "copy-mobile-app-secret": "複製應用程式密鑰", - "add-mobile-app": "增加應用程式", + "enable": "啟用 OAuth 2.0 設定", + "domains": "網域名稱", + "mobile-apps": "行動應用程式", + "no-mobile-apps": "找不到行動應用程式", + "mobile-package": "應用程式套件", + "mobile-package-placeholder": "例如:my.example.app", + "mobile-package-hint": "Android:您設定的唯一應用程式識別碼(Application ID)。iOS:產品套件識別碼(Product bundle identifier)。", + "mobile-package-unique": "應用程式套件必須唯一。", + "mobile-app-secret": "應用程式金鑰", + "invalid-mobile-app-secret": "應用程式金鑰只能包含英文字母與數字,長度須介於 16 到 2048 個字元之間。", + "copy-mobile-app-secret": "複製應用程式金鑰", + "add-mobile-app": "新增行動應用程式", "delete-mobile-app": "刪除應用程式資訊", "providers": "提供者", "platform-web": "Web", "platform-android": "Android", "platform-ios": "iOS", "all-platforms": "所有平台", - "allowed-platforms": "允許平台" + "allowed-platforms": "允許的平台", + "add-client": "新增 OAuth 2.0 用戶端", + "client-details": "OAuth 2.0 用戶端詳細資料", + "client": "OAuth 2.0 用戶端", + "clients": "OAuth 2.0 用戶端", + "no-oauth2-clients": "找不到 OAuth 2.0 用戶端", + "search-oauth2-clients": "搜尋 OAuth 2.0 用戶端", + "delete-client-title": "確定要刪除 OAuth 2.0 用戶端「{{clientName}}」嗎?", + "delete-client-text": "請注意,確認後該用戶端及所有相關資料將無法恢復。", + "delete-mobile-app-title": "確定要刪除行動應用程式「{{applicationName}}」嗎?", + "delete-mobile-app-text": "請注意,確認後該行動應用程式及所有相關資料將無法恢復。", + "title": "標題", + "client-title-required": "標題為必填項", + "client-title-max-length": "標題應少於 100 個字元", + "advanced-settings": "進階設定", + "domain-details": "網域名稱詳細資料", + "no-domains": "找不到網域名稱", + "search-domains": "搜尋網域名稱", + "mobile-app-details": "行動應用程式詳細資料", + "search-mobile-apps": "搜尋行動應用程式", + "send-token": "傳送權杖", + "create-new": "新建", + "disable": "停用 OAuth 2.0 設定", + "edge": "傳播到 Edge", + "edge-enable": "啟用傳播到 Edge", + "edge-disable": "停用傳播到 Edge", + "mobile-package-required": "應用程式套件為必填項。", + "mobile-package-max-length": "應用程式套件應少於 256 個字元", + "mobile-package-spaces": "應用程式套件不應包含空格", + "mobile-app-secret-hint": "以 Base64 編碼的字串,解碼後至少包含 512 位元的資料。", + "mobile-app-secret-required": "應用程式金鑰為必填項。", + "mobile-app-secret-min-length": "應用程式金鑰必須至少包含 512 位元的資料。", + "mobile-app-secret-base64": "應用程式金鑰必須為 Base64 格式。", + "smtp-provider": "SMTP 提供者", + "authentication": "認證", + "basic": "基本", + "provider": "提供者", + "redirect-url": "重新導向 URI", + "domain-name": "網域名稱", + "domain-name-required": "網域名稱為必填項", + "redirect-url-template": "重新導向 URI 範本", + "microsoft-tenant-id": "目錄(租用戶)識別碼", + "microsoft-tenant-id-required": "目錄(租用戶)識別碼為必填項", + "token-uri": "權杖 URI", + "token-uri-required": "權杖 URI 為必填項", + "redirect-uri": "重新導向 URI", + "google-provider": "Google", + "microsoft-provider": "Office 365", + "sendgrid-provider": "Sendgrid", + "custom-provider": "自訂", + "generate-access-token": "產生存取權杖", + "update-access-token": "更新存取權杖", + "access-token-status": "存取權杖狀態:", + "token-status-generated": "已產生", + "token-status-not-generated": "未產生", + "parent-customer-name-pattern": "上層客戶名稱模式", + "user-groups-name-pattern": "使用者群組名稱模式", + "domain": "網域", + "no-domain-matching": "找不到符合「{{entity}}」的網域。", + "domain-required": "請輸入網域", + "no-domain-text": "找不到網域" }, "smpp-provider": { - "smpp-version": "SMPP版本", - "smpp-host": "SMPP主機t", - "smpp-host-required": "需要SMPP主機", - "smpp-port": "SMPP通訊埠", - "smpp-port-required": "需要SMPP通訊埠", - "system-id": "系統ID", - "system-id-required": "需要系統ID", + "smpp-version": "SMPP 版本", + "smpp-host": "SMPP 主機", + "smpp-host-required": "SMPP 主機為必填項", + "smpp-port": "SMPP 連接埠", + "smpp-port-required": "SMPP 連接埠為必填項", + "system-id": "系統識別碼", + "system-id-required": "系統識別碼為必填項", "password": "密碼", - "password-required": "需要密碼", + "password-required": "密碼為必填項", "type-settings": "類型設定", "source-settings": "來源設定", - "destination-settings": "目的地設定", - "additional-settings": "額外設定", + "destination-settings": "目標設定", + "additional-settings": "附加設定", "system-type": "系統類型", - "bind-type": "綁定類型", + "bind-type": "繫結類型", "service-type": "服務類型", - "source-address": "來源地址", + "source-address": "來源位址", "source-ton": "來源 TON", - "source-npi": "來源NPI", - "destination-ton": "目的地TON (號碼類型)", - "destination-npi": "目的地NPI (編號計畫標識)", - "address-range": "地址範圍", + "source-npi": "來源 NPI", + "destination-ton": "目標 TON(號碼類型)", + "destination-npi": "目標 NPI(編號計劃標識)", + "address-range": "位址範圍", "coding-scheme": "編碼方案", - "bind-type-tx": "傳輸者", - "bind-type-rx": "接收者", - "bind-type-trx": "收發者", - "ton-unknown": "不明", - "ton-international": "國際的", - "ton-national": "國家的", - "ton-network-specific": "網路專用的", - "ton-subscriber-number": "訂閱者數量", - "ton-alphanumeric": "字母數字的", - "ton-abbreviated": "簡稱", + "bind-type-tx": "傳送器", + "bind-type-rx": "接收器", + "bind-type-trx": "收發器", + "ton-unknown": "未知", + "ton-international": "國際", + "ton-national": "國內", + "ton-network-specific": "特定網路", + "ton-subscriber-number": "使用者號碼", + "ton-alphanumeric": "字母數字", + "ton-abbreviated": "縮寫", "npi-unknown": "0 - 未知", - "npi-isdn": "1 - ISDN/電話編號計畫 (E163/E164)", - "npi-data-numbering-plan": "3 - 數據編號計畫 (X.121)", - "npi-telex-numbering-plan": "4 - 電傳編號計畫 (F.69)", + "npi-isdn": "1 - ISDN/電話編號計劃 (E163/E164)", + "npi-data-numbering-plan": "3 - 資料編號計劃 (X.121)", + "npi-telex-numbering-plan": "4 - 電傳編號計劃 (F.69)", "npi-land-mobile": "6 - 陸地移動 (E.212)", - "npi-national-numbering-plan": "8 - 國家編號計畫", - "npi-private-numbering-plan": "9 - 專用編號計畫", - "npi-ermes-numbering-plan": "10 - ERMES編號計畫 (ETSI DE/PS 3 01-3)", + "npi-national-numbering-plan": "8 - 國家編號計劃", + "npi-private-numbering-plan": "9 - 專用編號計劃", + "npi-ermes-numbering-plan": "10 - ERMES 編號計劃 (ETSI DE/PS 3 01-3)", "npi-internet": "13 - 網際網路 (IP)", - "npi-wap-client-id": "18 - WAP客戶端ID (由WAP論壇定義)", - "scheme-smsc": "0 - SMSC預設字母 (ASCII表示短程式碼和長程式碼,GSM表示免費)", - "scheme-ia5": "1 - IA5 (ASCII表示短程式碼和長程式碼,拉丁語9表示免費(ISO-8859-9))", - "scheme-octet-unspecified-2": "2 - 八位元組未指定 (8位元二進制)", - "scheme-latin-1": "3 - 拉丁語1 (ISO-8859-1)", - "scheme-octet-unspecified-4": "4 - 八位元組未指定 (8位元二進制)", + "npi-wap-client-id": "18 - WAP 用戶端識別碼(由 WAP Forum 定義)", + "scheme-smsc": "0 - SMSC 預設字母表(短碼和長碼為 ASCII,免付費號碼為 GSM)", + "scheme-ia5": "1 - IA5(短碼和長碼為 ASCII,免付費號碼為 Latin 9 (ISO-8859-9))", + "scheme-octet-unspecified-2": "2 - 未指定的八位元組(8 位元二進位)", + "scheme-latin-1": "3 - Latin 1 (ISO-8859-1)", + "scheme-octet-unspecified-4": "4 - 未指定的八位元組(8 位元二進位)", "scheme-jis": "5 - JIS (X 0208-1990)", - "scheme-cyrillic": "6 - Cyrillic (ISO-8859-5)", + "scheme-cyrillic": "6 - 西里爾文 (ISO-8859-5)", "scheme-latin-hebrew": "7 - 拉丁語/希伯來語 (ISO-8859-8)", "scheme-ucs-utf": "8 - UCS2/UTF-16 (ISO/IEC-10646)", - "scheme-pictogram-encoding": "9 - 編碼圖標", - "scheme-music-codes": "10 - 音樂程式碼(ISO-2022-JP)", - "scheme-extended-kanji-jis": "13 - 擴展漢字JIS (X 0212-1990)", + "scheme-pictogram-encoding": "9 - 象形文字編碼", + "scheme-music-codes": "10 - 音樂代碼 (ISO-2022-JP)", + "scheme-extended-kanji-jis": "13 - 擴充漢字 JIS (X 0212-1990)", "scheme-korean-graphic-character-set": "14 - 韓文圖形字元集 (KS C 5601/KS X 1001)" }, "queue-select-name": "選擇佇列名稱", - "queue-name": "佇列名稱", - "queue-name-required": "佇列名稱為必填!", + "queue-name": "名稱", + "queue-name-required": "佇列名稱為必填項!", "queues": "佇列", - "queue-partitions": "分割", + "queue-partitions": "分割區數", "queue-submit-strategy": "提交策略", - "queue-processing-strategy": "程序策略", + "queue-processing-strategy": "處理策略", "queue-configuration": "佇列設定", - "repository-settings": "儲存設定", - "repository-url": "儲存URL", - "repository-url-required": "儲存URL為必填。", + "repository-settings": "儲存庫設定", + "repository-url": "儲存庫 URL", + "repository-url-required": "儲存庫 URL 為必填項。", "default-branch": "預設分支名稱", - "authentication-settings": "驗證設定", - "auth-method": "驗證方法", - "auth-method-username-password": "密碼/訪問token", + "authentication-settings": "認證設定", + "auth-method": "認證方法", + "auth-method-username-password": "密碼/存取權杖", "auth-method-private-key": "私鑰", - "password-access-token": "密碼/訪問token", - "change-password-access-token": "更改密碼/訪問token", + "password-access-token": "密碼/存取權杖", + "change-password-access-token": "修改密碼/存取權杖", "private-key": "私鑰", - "drop-private-key-file-or": "拖拉私鑰檔案或", - "passphrase": "密語", - "enter-passphrase": "輸入密語", - "change-passphrase": "更改密語", - "check-access": "檢查訪問", - "check-repository-access-success": "儲存訪問驗證成功", - "delete-repository-settings-title": "您確定要刪除儲存設定嗎?", - "delete-repository-settings-text": "小心!確認後,儲存設定及其版本控制資料將被刪除,所有相關資料將無法恢復", + "drop-private-key-file-or": "拖放私鑰檔案或", + "passphrase": "密碼短語", + "enter-passphrase": "輸入密碼短語", + "change-passphrase": "修改密碼短語", + "check-access": "檢查存取權限", + "check-repository-access-success": "儲存庫存取驗證成功!", + "delete-repository-settings-title": "確定要刪除儲存庫設定嗎?", + "delete-repository-settings-text": "請注意,確認後儲存庫設定將被移除,版本控制功能將不可用。", "auto-commit-settings": "自動提交設定", "auto-commit-entities": "自動提交實體", - "no-auto-commit-entities-prompt": "沒有配置自動提交的實體", - "delete-auto-commit-settings-title": "您確定要刪除自動提交設定嗎?", - "delete-auto-commit-settings-text": "小心!確認後,自動提交設定將被刪除,實體配置自動提交功能也將被停用", + "no-auto-commit-entities-prompt": "未設定自動提交的實體", + "delete-auto-commit-settings-title": "確定要刪除自動提交設定嗎?", + "delete-auto-commit-settings-text": "請注意,確認後自動提交設定將被移除,所有實體的自動提交將被停用。", "2fa": { - "2fa": "雙重驗證", - "available-providers": "可用的供應商", - "issuer-name": "發行者名稱", - "issuer-name-required": "發行者名稱為必填。", - "max-verification-failures-before-user-lockout": "用戶被鎖定前的最多驗證錯誤次數", - "max-verification-failures-before-user-lockout-pattern": "用戶驗證錯誤次數必須為正整數", - "number-of-checking-attempts": "用戶驗證嘗試次數", - "number-of-checking-attempts-pattern": "用戶驗證嘗試次數必須為正整數", - "number-of-checking-attempts-required": "用戶驗證嘗試次數為必填", - "number-of-codes": "程式數量", - "number-of-codes-pattern": "程式數量必須為正整數", - "number-of-codes-required": "程式數量為必填", - "provider": "提供者", - "retry-verification-code-period": "輸入重試驗證碼時間(秒)", - "retry-verification-code-period-pattern": "輸入重試驗證碼時間最少5秒", - "retry-verification-code-period-required": "輸入重試驗證碼時間為必填", - "total-allowed-time-for-verification": "允許重試驗證碼時間總和(秒)", - "total-allowed-time-for-verification-pattern": "允許重試驗證碼時間總和最少60秒", - "total-allowed-time-for-verification-required": "允許重試驗證碼時間總和為必填", - "use-system-two-factor-auth-settings": "使用系統雙重驗證設定", - "verification-code-check-rate-limit": "驗證碼檢查率限制", - "verification-code-lifetime": "驗證碼使用期限(秒)", - "verification-code-lifetime-pattern": "驗證碼使用期限必須為正整數", - "verification-code-lifetime-required": "驗證碼使用期限為必填。", - "verification-message-template": "驗證訊息模板", - "verification-limitations": "驗證條件", - "verification-message-template-pattern": "驗證條件必要模式: ${code}", - "verification-message-template-required": "驗證條件必要模式為必填", - "within-time": "時間內 (秒)", - "within-time-pattern": "時間必須為正整數", - "within-time-required": "時間為必填" - } - }, - "ai-assistant": { - "configure-with-ai": "使用 AI 設定", - "follow-up-prompt-placeholder": "回覆...", - "sub-title": "我可以協助您設定及管理您的設備、儀表板、計算欄位、告警規則和通知——只要描述您的需求,其餘交給我。", - "new-chat": "新對話", - "no-chats": "尚無對話", - "today": "今天", - "yesterday": "昨天", - "last-7-days": "最近 7 天", - "older": "更早", - "delete-chat-title": "確定要刪除 '{{name}}' 嗎?", - "delete-chat-text": "所有對話訊息將會遺失", - "delete-chat-confirm": "是,刪除", - "action-approval-required": "動作需要核准", - "approve": "核准", - "deny": "拒絕", - "processing": "處理中...", - "approved": "完成", - "denied": "已拒絕", - "error": "失敗", - "thinking": "思考中...", - "rename-chat-title": "重新命名此對話", - "main-title": "您好!我是您的 AI 助理" - }, - "alarm-rule": { - "ai-assistant-example-suggest-rules-label": "建議告警規則", - "ai-assistant-example-suggest-rules-message": "查看我的裝置,並建議值得設定的告警規則。", - "ai-assistant-example-inactivity-label": "裝置不活動告警", - "ai-assistant-example-inactivity-message": "建立一條告警規則,當裝置停止傳送遙測資料超過 10 分鐘時觸發警告。", - "ai-assistant-initial-prompt-placeholder": "描述您想要設定的內容..." - }, - "calculated-fields": { - "ai-assistant-example-suggest-fields-label": "建議計算欄位", - "ai-assistant-example-suggest-fields-message": "查看我的裝置,並建議值得設定的計算欄位。", - "ai-assistant-example-aggregate-label": "彙總遙測資料", - "ai-assistant-example-aggregate-message": "選擇我的一台裝置,並設定一個計算欄位,彙總它的幾個遙測鍵。描述您將建立的內容,並先請我確認。", - "ai-assistant-initial-prompt-placeholder": "描述您想要設定的內容..." + "2fa": "雙因素驗證", + "available-providers": "可用的驗證方式", + "issuer-name": "簽發者名稱", + "issuer-name-required": "簽發者名稱為必填項。", + "max-verification-failures-before-user-lockout": "使用者鎖定前最大驗證失敗次數", + "max-verification-failures-before-user-lockout-pattern": "最大驗證失敗次數必須為正整數。", + "number-of-checking-attempts": "檢查嘗試次數", + "number-of-checking-attempts-pattern": "檢查嘗試次數必須為正整數。", + "number-of-checking-attempts-required": "檢查嘗試次數為必填項。", + "number-of-codes": "驗證碼數量", + "number-of-codes-pattern": "驗證碼數量必須為正整數。", + "number-of-codes-required": "驗證碼數量為必填項。", + "provider": "驗證方式", + "retry-verification-code-period": "重試驗證碼週期", + "retry-verification-code-period-pattern": "最小週期時間為 5 秒", + "retry-verification-code-period-required": "重試驗證碼週期為必填項。", + "total-allowed-time-for-verification": "驗證允許的總時間", + "total-allowed-time-for-verification-pattern": "最小允許總時間為 60 秒", + "total-allowed-time-for-verification-required": "允許的總時間為必填項。", + "use-system-two-factor-auth-settings": "使用系統雙因素驗證設定", + "verification-code-check-rate-limit": "驗證碼檢查頻率限制", + "verification-code-lifetime": "驗證碼有效期", + "verification-code-lifetime-pattern": "驗證碼有效期必須為正整數。", + "verification-code-lifetime-required": "驗證碼有效期為必填項。", + "verification-message-template": "驗證訊息範本", + "verification-limitations": "驗證限制", + "verification-message-template-pattern": "驗證訊息需要包含模式:${code}", + "verification-message-template-required": "驗證訊息範本為必填項。", + "within-time": "時間範圍", + "within-time-pattern": "時間必須為正整數。", + "within-time-required": "時間為必填項。", + "available-providers-required": "至少需要設定一種雙因素驗證方式。", + "force-2fa": "強制雙因素驗證", + "enforce-for": "強制套用對象" + }, + "settings": "設定", + "platform": "平台", + "home": "首頁", + "device-connectivity": { + "device-connectivity": "裝置連線", + "http-s": "HTTP(s)", + "mqtt-s": "MQTT(s)", + "coap-s": "COAP(s)", + "http": "HTTP", + "https": "HTTPs", + "mqtt": "MQTT", + "mqtts": "MQTTs", + "coap": "COAP", + "coaps": "COAPs", + "hint": "如果主機或連接埠欄位為空,將使用預設協定值。", + "host": "主機", + "port": "連接埠", + "port-pattern": "連接埠必須為正整數。", + "port-range": "連接埠應在 1 到 65535 的範圍內。" + }, + "maximum-password-length": "最大密碼長度", + "maximum-password-length-min": "最大密碼長度至少為 6", + "maximum-password-length-less-min": "最大密碼長度應大於最小長度", + "force-reset-password-if-no-valid": "密碼無效時強制重設", + "force-reset-password-if-no-valid-hint": "啟用此功能時請謹慎:這將要求密碼無效的使用者透過電子郵件重設密碼。", + "user-activation-token-ttl": "使用者啟用連結 TTL(小時)", + "user-activation-token-ttl-range": "使用者啟用連結 TTL 必須在 1 到 24 小時範圍內", + "password-reset-token-ttl": "密碼重設連結 TTL(小時)", + "password-reset-token-ttl-range": "密碼重設連結 TTL 必須在 1 到 24 小時範圍內", + "mobile-secret-key-length": "行動裝置端金鑰長度", + "mobile-secret-key-length-range": "行動裝置端金鑰長度必須為正數", + "connection-settings": "連線設定", + "repository": "儲存庫", + "repository-read-only": "唯讀", + "show-merge-commits": "顯示合併提交", + "auth-method-username-password-hint": "GitHub 使用者必須使用具有儲存庫寫入權限的存取權杖。", + "auto-commit": "自動提交", + "mobile-app": { + "mobile-app": "行動應用程式", + "mobile-app-qr-code-widget-settings": "行動應用程式 QR 碼小工具設定", + "applications": "應用程式", + "default": "預設", + "custom": "自訂", + "android": "Android", + "ios": "iOS", + "appearance": "外觀", + "appearance-on-home-page": "首頁外觀", + "enabled": "已啟用", + "disabled": "已停用", + "badges": "徽章", + "label": "標籤", + "label-required": "標籤為必填項", + "label-max-length": "標籤應不超過 50 個字元", + "right": "右", + "left": "左", + "set": "設定", + "preview": "預覽", + "connect-mobile-app": "連線行動應用程式", + "use-system-settings": "使用系統設定", + "warning-not-set-white-labeling": "必須先在登入頁面白標設定中指定基底 URL,才能套用這些設定。編輯 QR 碼小工具設定前,請先設定", + "base-url": "基底 URL" + }, + "jwt": { + "security-settings": "JWT 安全設定", + "issuer-name": "簽發者名稱", + "issuer-name-required": "簽發者名稱為必填項。", + "signings-key": "簽章金鑰", + "signings-key-hint": "以 Base64 編碼的字串,解碼後至少包含 512 位元的資料。", + "signings-key-required": "簽章金鑰為必填項。", + "signings-key-min-length": "簽章金鑰必須至少包含 512 位元的資料。", + "signings-key-base64": "簽章金鑰必須為 Base64 格式。", + "expiration-time": "權杖過期時間(秒)", + "expiration-time-required": "權杖過期時間為必填項。", + "expiration-time-max": "最大允許時間為 2147483647 秒(68 年)。", + "expiration-time-min": "最小時間為 60 秒(1 分鐘)。", + "refresh-expiration-time": "更新權杖有效期限(秒)", + "refresh-expiration-time-required": "請輸入更新權杖有效期限。", + "refresh-expiration-time-max": "最大允許時間為 2147483647 秒(68 年)。", + "refresh-expiration-time-min": "最小時間為 900 秒(15 分鐘)。", + "refresh-expiration-time-less-token": "更新權杖的有效期限必須大於存取權杖的有效期限。", + "generate-key": "產生金鑰", + "info-header": "所有使用者將需要重新登入", + "info-message": "變更 JWT 簽章金鑰將導致所有已簽發的權杖失效。所有使用者都需要重新登入。這也將影響使用 Rest API/Websockets 的指令碼。" + }, + "resources": "資源", + "notifications": "通知", + "notifications-settings": "通知設定", + "slack-api-token": "Slack API 權杖", + "slack": "Slack", + "slack-settings": "Slack 設定", + "mobile-settings": "行動裝置端設定", + "firebase-service-account-file": "Firebase 服務帳戶認證資訊 JSON 檔案", + "select-firebase-service-account-file": "拖放您的 Firebase 服務帳戶認證資訊檔案或", + "trendz": "Trendz", + "trendz-settings": "Trendz 設定", + "trendz-url": "Trendz URL", + "trendz-url-required": "請輸入 Trendz URL", + "trendz-api-key": "Trendz API 金鑰", + "trendz-enable": "啟用 Trendz", + "use-system-mail-settings": "使用系統郵件伺服器設定", + "mail-templates": "郵件範本", + "mail-template-settings": "郵件範本設定", + "use-system-mail-template-settings": "使用系統郵件範本", + "mail-template": { + "mail-template": "郵件範本", + "test": "測試郵件", + "activation": "帳戶啟用通知", + "account-activated": "帳戶已啟用通知", + "account-lockout": "帳戶鎖定通知", + "reset-password": "重設密碼通知", + "password-was-reset": "密碼已重設通知", + "api-usage-state-enabled": "API 使用狀態:已啟用", + "api-usage-state-warning": "API 使用狀態:警告", + "api-usage-state-disabled": "API 使用狀態:已停用", + "two-fa-verification": "雙因素驗證通知" + }, + "mail-subject": "郵件主旨", + "mail-body": "郵件內文", + "use-system-sms-settings": "使用系統簡訊提供者設定", + "use-system-mobile-settings": "使用系統行動裝置設定" }, "alias": { - "add": "增加別名", + "add": "新增別名", "edit": "編輯別名", - "name": "別名", - "name-required": "別名必填", - "duplicate-alias": "別名已經存在。", - "filter-type-single-entity": "單一實體", - "filter-type-entity-list": "實體列表", + "name": "別名名稱", + "name-required": "別名名稱為必填項", + "duplicate-alias": "同名別名已存在。", + "filter-type-single-entity": "單個實體", + "filter-type-entity-list": "實體清單", "filter-type-entity-name": "實體名稱", "filter-type-entity-type": "實體類型", - "filter-type-state-entity": "實體(儀表板狀態)", - "filter-type-state-entity-description": "實體taken(儀表板狀態參數)", + "filter-type-state-entity": "來自儀表板狀態的實體", + "filter-type-state-entity-description": "從儀表板狀態參數取得的實體", "filter-type-asset-type": "資產類型", - "filter-type-asset-type-description": "類型為 '{{assetTypes}}' 的資產", - "filter-type-asset-type-and-name-description": "類型為 '{{assetTypes}}' 且以 '{{prefix}}' 開頭的資產", - "filter-type-device-type": "設備類型", - "filter-type-device-type-description": "類型為 '{{deviceTypes}}' 的設備", - "filter-type-device-type-and-name-description": "類型為 '{{deviceTypes}}' 且以 '{{prefix}}' 開頭的設備", - "filter-type-entity-view-type": "實體視圖類型", - "filter-type-entity-view-type-description": "類型為 '{{entityViewTypes}}' 的實體視圖", - "filter-type-entity-view-type-and-name-description": "類型為 {{entityViewTypes}}' 且以 '{{prefix}}' 開頭的實體視圖", - "filter-type-edge-type": "邊緣類型", - "filter-type-edge-type-description": " '類型為{{edgeTypes}}'的邊緣", - "filter-type-edge-type-and-name-description": "類型為 '{{edgeTypes}}' 且名稱以 '{{prefix}}'開頭的邊緣", + "filter-type-asset-type-description": "類型為{{assetTypes}}的資產", + "filter-type-asset-type-and-name-description": "類型為{{assetTypes}}且名稱以「{{prefix}}」開頭的資產", + "filter-type-device-type": "裝置類型", + "filter-type-device-type-description": "類型為{{deviceTypes}}的裝置", + "filter-type-device-type-and-name-description": "類型為{{deviceTypes}}且名稱以「{{prefix}}」開頭的裝置", + "filter-type-entity-view-type": "實體檢視類型", + "filter-type-entity-view-type-description": "類型為{{entityViewTypes}}的實體檢視", + "filter-type-entity-view-type-and-name-description": "類型為{{entityViewTypes}}且名稱以「{{prefix}}」開頭的實體檢視", + "filter-type-edge-type": "Edge 類型", + "filter-type-edge-type-description": "類型為{{edgeTypes}}的 Edge", + "filter-type-edge-type-and-name-description": "類型為{{edgeTypes}}且名稱以「{{prefix}}」開頭的 Edge", "filter-type-relations-query": "關聯查詢", - "filter-type-relations-query-description": "具有 {{relationType}} 關聯 {{direction}} {{rootEntity}} 的 {{entities}} ", + "filter-type-relations-query-description": "與 {{rootEntity}} 具有 {{relationType}} 關聯(方向:{{direction}})的 {{entities}}", "filter-type-asset-search-query": "資產搜尋查詢", - "filter-type-asset-search-query-description": "類型為 {{assetTypes}} 且具有 {{relationType}} 關聯 {{direction}} {{rootEntity}} 的資產", - "filter-type-device-search-query": "設備搜尋查詢", - "filter-type-device-search-query-description": "類型為 {{deviceTypes}} 且具有 {{relationType}} 關聯 {{direction}} {{rootEntity}} 的設備", - "filter-type-entity-view-search-query": "實體視圖搜尋查詢", - "filter-type-entity-view-search-query-description": "類型為 {{entityViewTypes}} 且具有 {{relationType}} 關聯 {{direction}} {{rootEntity}} 的實體視圖", - "filter-type-apiUsageState": "api使用狀態", - "filter-type-edge-search-query": "邊緣搜尋查詢", - "filter-type-edge-search-query-description": "具有{{relationType}}關聯{{direction}} {{rootEntity}}類型為{{edgeTypes}}的邊緣", - "entity-filter": "實體過濾", - "resolve-multiple": "解決為多實體", - "filter-type": "過濾類型", - "filter-type-required": "過濾類型必填。", - "entity-filter-no-entity-matched": "未找到符合指定過濾條件的實體。", - "no-entity-filter-specified": "沒有指定實體過濾條件", - "root-state-entity": "使用儀表板狀態實體作為根實體", - "last-level-relation": "僅獲取最後一級關聯", + "filter-type-asset-search-query-description": "類型為 {{assetTypes}} 且與 {{rootEntity}} 具有 {{relationType}} 關聯(方向:{{direction}})的資產", + "filter-type-device-search-query": "裝置搜尋查詢", + "filter-type-device-search-query-description": "類型為 {{deviceTypes}} 且與 {{rootEntity}} 具有 {{relationType}} 關聯(方向:{{direction}})的裝置", + "filter-type-entity-view-search-query": "實體檢視搜尋查詢", + "filter-type-entity-view-search-query-description": "類型為 {{entityViewTypes}} 且與 {{rootEntity}} 具有 {{relationType}} 關聯(方向:{{direction}})的實體檢視", + "filter-type-apiUsageState": "API 使用狀態", + "filter-type-edge-search-query": "Edge 搜尋查詢", + "filter-type-edge-search-query-description": "類型為 {{edgeTypes}} 且與 {{rootEntity}} 具有 {{relationType}} 關聯(方向:{{direction}})的 Edge", + "entity-filter": "實體篩選器", + "resolve-multiple": "解析為多個實體", + "filter-type": "篩選器類型", + "filter-type-required": "篩選器類型為必填項。", + "entity-filter-no-entity-matched": "找不到符合指定篩選器的實體。", + "no-entity-filter-specified": "未指定實體篩選器", + "root-state-entity": "使用儀表板狀態實體作為根", + "last-level-relation": "僅取得最後一級關聯", "root-entity": "根實體", "state-entity-parameter-name": "狀態實體參數名稱", "default-state-entity": "預設狀態實體", "default-entity-parameter-name": "預設", "max-relation-level": "最大關聯層級", - "unlimited-level": "不限層級", + "unlimited-level": "無限層級", "state-entity": "儀表板狀態實體", "all-entities": "所有實體", - "any-relation": "不限" + "any-relation": "任意", + "resolve-multiple-hint": "啟用後可同時顯示所有篩選實體的資料。\n停用後,小工具僅顯示所選實體的資料。", + "query-options": "查詢選項", + "filter-type-entity-group": "群組內的實體", + "filter-type-entity-group-list": "實體群組清單", + "filter-type-entity-group-name": "實體群組名稱", + "filter-type-entities-by-group-name": "依群組名稱選取實體", + "filter-type-state-entity-originator": "發起者實體", + "filter-type-state-entity-master-report": "主報表中的實體", + "filter-type-state-entity-originator-description": "發起者實體", + "filter-type-state-entity-master-report-description": "主報表指定的實體", + "filter-type-state-entity-owner": "儀表板狀態實體的所有者", + "filter-type-state-entity-owner-originator": "發起者實體的所有者", + "filter-type-state-entity-owner-master-report": "主報表實體的所有者", + "filter-type-state-entity-owner-description": "從儀表板狀態參數取得之實體的所有者", + "filter-type-state-entity-owner-originator-description": "發起者實體的所有者", + "filter-type-state-entity-owner-master-report-description": "主報表指定之實體的所有者", + "filter-type-scheduler-event": "排程事件", + "filter-type-scheduler-event-type-description": "類型為「{{eventType}}」的排程事件", + "filter-type-scheduler-event-originator-description": "指定發起者的排程事件", + "filter-type-scheduler-event-type-originator-description": "指定發起者且類型為「{{eventType}}」的排程事件", + "root-originator-entity": "使用發起者實體作為根實體", + "root-master-report-entity": "使用主報表實體作為根實體", + "group-state-entity": "使用儀表板狀態實體作為實體群組", + "group-originator-entity": "使用發起者實體作為實體群組", + "group-master-report-entity": "使用主報表中的實體作為實體群組", + "group-state-entity-owner": "使用儀表板狀態實體作為實體群組所有者", + "group-originator-entity-owner": "使用發起者實體作為實體群組所有者", + "group-master-report-entity-owner": "使用主報表中的實體作為實體群組所有者", + "default-originator-entity": "預設發起者實體", + "default-master-report-entity": "預設主報表實體", + "default-state-entity-group": "預設狀態實體群組", + "default-originator-entity-group": "預設發起者實體群組", + "default-master-report-entity-group": "預設主報表實體群組", + "originator-entity": "發起者實體", + "master-report-entity": "主報表實體", + "entities-of-group-state-entity": "儀表板狀態實體群組內的實體", + "entities-of-group-originator-entity": "發起者實體群組內的實體", + "entities-of-group-master-report-entity": "主報表實體群組內的實體", + "originator": "發起者", + "originator-state-entity": "使用儀表板狀態實體作為發起者", + "originator-from-originator-entity": "使用發起者實體作為事件發起者", + "originator-master-report-entity": "使用主報表中的實體作為發起者", + "scheduler-event-type": "排程事件類型" }, "asset": { "asset": "資產", "assets": "資產", "management": "資產管理", - "view-assets": "查看資產", - "add": "增加資產", - "asset-type-max-length": "資產類型應小於256", - "assign-to-customer": "分配給客戶", - "assign-asset-to-customer": "將資產分配給客戶", - "assign-asset-to-customer-text": "請選擇要分配給客戶的資產", - "no-assets-text": "未找到資產", - "assign-to-customer-text": "請選擇客戶以分配資產", + "view-assets": "檢視資產", + "add": "新增資產", + "asset-type-max-length": "資產類型應少於 256 個字元", + "assign-to-customer": "指派給客戶", + "assign-asset-to-customer": "將資產指派給客戶", + "assign-asset-to-customer-text": "請選擇要指派給客戶的資產", + "no-assets-text": "找不到資產", + "assign-to-customer-text": "請選擇要指派資產的客戶", "public": "公開", - "assignedToCustomer": "分配客戶", - "make-public": "資產設為公開", - "make-private": "資產設為私有", - "unassign-from-customer": "取消分配客戶", + "assignedToCustomer": "已指派給客戶", + "make-public": "將資產設為公開", + "make-private": "將資產設為私有", + "unassign-from-customer": "從客戶取消指派", "delete": "刪除資產", - "asset-public": "資產公開", + "asset-public": "資產為公開狀態", "asset-type": "資產類型", - "asset-type-required": "資產類型必填。", + "asset-type-required": "資產類型為必填項。", "select-asset-type": "選擇資產類型", - "enter-asset-type": "輸入資產類型", - "any-asset": "任何資產", - "no-asset-types-matching": "沒有找到符合 '{{entitySubtype}}' 的資產類型。", - "asset-type-list-empty": "資產類型未選擇。", + "enter-asset-type": "輸入資產設定檔", + "any-asset": "任意資產", + "no-asset-types-matching": "找不到符合「{{entitySubtype}}」的資產類型。", + "asset-type-list-empty": "未選擇資產類型。", "asset-types": "資產類型", "name": "名稱", - "name-required": "名稱必填。", - "name-max-length": "名稱應小於256", - "label-max-length": "標籤應小於256", + "name-required": "名稱為必填項。", + "name-max-length": "名稱應少於 256 個字元", + "label-max-length": "標籤應少於 256 個字元", "description": "描述", "type": "類型", - "type-required": "類型必填。", - "details": "詳細資訊", + "type-required": "類型為必填項。", + "details": "詳細資料", "events": "事件", - "add-asset-text": "增加新資產", - "asset-details": "資產詳細資訊", - "assign-assets": "分配資產", - "assign-assets-text": "分配 { count, plural, =1 {1 資產} other {# 資產} } 給客戶", - "assign-asset-to-edge-title": "將資產分配給邊緣", - "assign-asset-to-edge-text": "請選擇要分配給邊緣的資產", + "add-asset-text": "新增資產", + "asset-details": "資產詳細資料", + "assign-assets": "指派資產", + "assign-assets-text": "將 { count, plural, =1 {1 個資產} other {# 個資產} }指派給客戶", + "assign-asset-to-edge-title": "將資產指派給 Edge", + "assign-asset-to-edge-text": "請選擇要指派給 Edge 的資產", "delete-assets": "刪除資產", - "unassign-assets": "取消分配資產", - "unassign-assets-action-title": "從客戶處取消分配 { count, plural, =1 {1 資產} other {# 資產} } ", - "assign-new-asset": "分配新資產", - "delete-asset-title": "確定要刪除資產 '{{assetName}}'?", - "delete-asset-text": "小心!確認後資產及其所有相關資料將無法恢復。", - "delete-assets-title": "確定要刪除 { count, plural, =1 {1 資產} other {# 資產} }?", - "delete-assets-action-title": "刪除 { count, plural, =1 {1 資產} other {# 資產} }", - "delete-assets-text": "小心,確認後,所有選擇的資產將被刪除,所有相關的資料將變得無法恢復。", - "make-public-asset-title": "你確定你想建立公開'{{assetName}}'資產?", - "make-public-asset-text": "確認後,資產及其所有資料將被公開並被他人存取。", - "make-private-asset-title": "你確定你想建立私有 '{{assetName}}' 資產?", - "make-private-asset-text": "確認後,資產及其所有資料將被私有化,無法被他人存取。", - "unassign-asset-title": "您確定要取消對'{{assetName}}'資產的分配嗎?", - "unassign-asset-text": "確認後,資產將未分配,客戶無法存取。", - "unassign-asset": "未分配資產", - "unassign-assets-title": "您確定要取消分配 { count, plural, =1 {1 資產} other {# 資產} }嗎?", - "unassign-assets-text": "確認後,所有選擇的資產將被分配,客戶無法存取。", - "unassign-assets-from-edge": "從邊緣取消分配資產", - "copyId": "複製資產ID", - "idCopiedMessage": "資產ID已經複製到剪貼簿", + "unassign-assets": "取消指派資產", + "unassign-assets-action-title": "從客戶取消指派 { count, plural, =1 {1 個資產} other {# 個資產} }", + "assign-new-asset": "指派新資產", + "delete-asset-title": "確定要刪除資產「{{assetName}}」嗎?", + "delete-asset-text": "請注意,確認後該資產及所有相關資料將無法恢復。", + "delete-assets-title": "確定要刪除 { count, plural, =1 {1 個資產} other {# 個資產} }嗎?", + "delete-assets-action-title": "刪除 { count, plural, =1 {1 個資產} other {# 個資產} }", + "delete-assets-text": "請注意,確認後所有選取的資產將被移除,所有相關資料將無法恢復。", + "make-public-asset-title": "確定要將資產「{{assetName}}」設為公開嗎?", + "make-public-asset-text": "確認後,該資產及其所有資料將被設為公開,可被其他人存取。", + "make-private-asset-title": "確定要將資產「{{assetName}}」設為私有嗎?", + "make-private-asset-text": "確認後,該資產及其所有資料將被設為私有,其他人將無法存取。", + "unassign-asset-title": "確定要取消指派資產「{{assetName}}」嗎?", + "unassign-asset-text": "確認後,該資產將被取消指派,客戶將無法存取。", + "unassign-asset": "取消指派資產", + "unassign-assets-title": "確定要取消指派 { count, plural, =1 {1 個資產} other {# 個資產} }嗎?", + "unassign-assets-text": "確認後,所有選取的資產將被取消指派,客戶將無法存取。", + "unassign-assets-from-edge": "從 Edge 取消指派資產", + "copyId": "複製資產識別碼", + "idCopiedMessage": "資產識別碼已複製到剪貼簿", "select-asset": "選擇資產", - "no-assets-matching": "沒有找到符合 '{{entity}}' 的資產。", - "asset-required": "資產必填", - "name-starts-with": "資產名稱以此開頭", - "help-text": "根據需要使用 '%':'%asset_name_contains%'、 '%asset_name_ends'、 'asset_starts_with'。", + "no-assets-matching": "找不到符合「{{entity}}」的資產。", + "asset-required": "資產為必填項。", + "name-starts-with": "資產名稱表示式", + "help-text": "根據需要使用「%」:「%asset_name_contains%」、「%asset_name_ends」、「asset_starts_with%」。", "import": "匯入資產", - "asset-file": "資產文件", + "asset-file": "資產檔案", "label": "標籤", "search": "搜尋資產", - "assign-asset-to-edge": "將資產分配給邊緣", - "unassign-asset-from-edge": "取消分配資產", - "unassign-asset-from-edge-title": "您確定要取消分配資產'{{assetName}}'嗎?", - "unassign-asset-from-edge-text": "確認後,資產將被取消分配,邊緣將無法訪問。", - "unassign-assets-from-edge-title": "您確定要取消分配 { count, plural, =1 {1 資產} other {# 資產} }?", - "unassign-assets-from-edge-text": "確認後,所有選定的資產都將被取消分配,邊緣將無法訪問。.", - "selected-assets": "{ count, plural, =1 {1 資產} other {# 資產} }被選中" + "assign-asset-to-edge": "將資產指派給 Edge", + "unassign-asset-from-edge": "取消指派資產", + "unassign-asset-from-edge-title": "確定要取消指派資產「{{assetName}}」嗎?", + "unassign-asset-from-edge-text": "確認後,該資產將被取消指派,Edge 將無法存取。", + "unassign-assets-from-edge-title": "確定要取消指派 { count, plural, =1 {1 個資產} other {# 個資產} }嗎?", + "unassign-assets-from-edge-text": "確認後,所有選取的資產將被取消指派,Edge 將無法存取。", + "selected-assets": "已選擇 { count, plural, =1 {1 個資產} other {# 個資產} }", + "description-required": "描述為必填項。", + "all": "全部", + "all-assets": "所有資產", + "groups": "群組", + "shared": "已共用", + "select-group-to-add": "選取目標群組,以加入所選資產", + "select-group-to-move": "選取目標群組,以移入所選資產", + "remove-assets-from-group": "確定要從群組「'{{entityGroup}}'」移除 { count, plural, =1 {1 個資產} other {# 個資產} }嗎?", + "group": "資產群組", + "list-of-groups": "{ count, plural, =1 {1 個資產群組} other {資產群組清單(# 個)} }", + "group-name-starts-with": "名稱以「{{prefix}}」開頭的資產群組" }, "attribute": { "attributes": "屬性", "latest-telemetry": "最新遙測", - "attributes-scope": "設備屬性範圍", + "attributes-scope": "實體屬性範圍", "scope-telemetry": "遙測", "scope-latest-telemetry": "最新遙測", - "scope-client": "客戶端屬性", - "scope-server": "服務端屬性", + "scope-client": "用戶端屬性", + "scope-server": "伺服器端屬性", "scope-shared": "共享屬性", - "add": "增加屬性", + "add": "新增屬性", "key": "鍵", - "key-max-length": "金鑰應小於256", + "key-max-length": "鍵的長度必須少於 256 個字元", "last-update-time": "最後更新時間", - "key-required": "屬性鍵必填。", + "key-required": "屬性鍵為必填項。", "value": "值", - "value-required": "屬性值必填。", - "delete-attributes-title": "您確定要刪除 { count, plural, =1 {1 屬性} other {# 屬性} }嗎?", - "delete-attributes-text": "注意,確認後所有選中的屬性都會被刪除。", + "value-required": "屬性值為必填項。", + "delete-attributes-title": "確定要刪除 { count, plural, =1 {1 個屬性} other {# 個屬性} }嗎?", + "delete-attributes-text": "請注意,確認後所有選取的屬性將被移除。", "delete-attributes": "刪除屬性", "enter-attribute-value": "輸入屬性值", - "show-on-widget": "在部件上顯示", - "widget-mode": "部件模式", - "next-widget": "下一個部件", - "prev-widget": "上一個部件", - "add-to-dashboard": "增加到儀表板", - "add-widget-to-dashboard": "將部件增加到儀表板", - "selected-attributes": "{ count, plural, =1 {1 屬性} other {# 屬性} } 被選中", - "selected-telemetry": "{ count, plural, =1 {1 遙測} other {# 遙測} }被選中", + "show-on-widget": "在小工具中顯示", + "widget-mode": "小工具模式", + "next-widget": "下一個小工具", + "prev-widget": "上一個小工具", + "add-to-dashboard": "新增到儀表板", + "add-widget-to-dashboard": "將小工具新增到儀表板", + "selected-attributes": "已選擇 { count, plural, =1 {1 個屬性} other {# 個屬性} }", + "selected-telemetry": "已選擇 { count, plural, =1 {1 筆遙測資料} other {# 筆遙測資料} }", "no-attributes-text": "找不到屬性", - "no-telemetry-text": "找不到遙測" + "no-telemetry-text": "找不到遙測", + "no-latest-telemetry": "無最新遙測", + "scope-client-short": "用戶端", + "scope-server-short": "伺服器端", + "scope-shared-short": "共享", + "scope-latest-short": "最新", + "scope-any": "任意", + "telemetry-key-required": "遙測鍵為必填項", + "telemetry-value-required": "遙測值為必填項", + "copy-key": "複製鍵", + "add-telemetry": "新增遙測", + "copy-value": "複製值", + "delete-timeseries": { + "start-time": "開始時間", + "ends-on": "結束於", + "strategy": "策略", + "delete-strategy": "刪除策略", + "all-data": "刪除所有資料", + "all-data-except-latest-value": "刪除除最新值外的所有資料", + "latest-value": "刪除最新值", + "all-data-for-time-period": "刪除指定時間段的所有資料", + "rewrite-latest-value": "重寫最新值" + }, + "add-attribute-prompt": "請新增屬性" }, "api-usage": { - "api-usage": "api使用狀態", - "alarm": "警告", - "alarms-created": "警告建立", - "alarms-created-daily-activity": "警告建立每日活動", - "alarms-created-hourly-activity": "警告建立每小時活動", - "alarms-created-monthly-activity": "警告建立每月活動", - "data-points": "數據端", - "data-points-storage-days": "數據端儲存天數", - "email": "Email", - "email-messages": "Email訊息", - "email-messages-daily-activity": "Email訊息每日活動", - "email-messages-monthly-activity": "Email訊息每月活動", - "exceptions": "例外", - "executions": "執行", + "api-usage": "API 使用量", + "alarm": "警報", + "alarms-created": "已建立的警報", + "alarms-created-daily-activity": "已建立警報每日活動", + "alarms-created-hourly-activity": "已建立警報每小時活動", + "alarms-created-monthly-activity": "已建立警報每月活動", + "data-points": "資料點", + "data-points-storage-days": "資料點儲存天數", + "email": "電子郵件", + "email-messages": "電子郵件訊息", + "email-messages-daily-activity": "電子郵件訊息每日活動", + "email-messages-monthly-activity": "電子郵件訊息每月活動", + "exceptions": "例外狀況", + "executions": "執行次數", "javascript": "JavaScript", - "javascript-executions": "JavaScript執行", + "javascript-executions": "JavaScript 執行次數", "latest-error": "最新錯誤", "messages": "訊息", "notifications": "通知", - "notifications-email-sms": "(Email/SMS)通知", + "notifications-email-sms": "通知(電子郵件/簡訊)", "notifications-hourly-activity": "通知每小時活動", - "permanent-failures": "${entityName}永久失敗", - "permanent-timeouts": "${entityName}永久超時", + "permanent-failures": "${entityName} 永久失敗", + "permanent-timeouts": "${entityName} 永久逾時", "processing-failures": "${entityName} 處理失敗", - "processing-failures-and-timeouts": "處理失敗與超時", - "processing-timeouts": "${entityName} 處理超時", + "processing-failures-and-timeouts": "處理失敗和逾時", + "processing-timeouts": "${entityName} 處理逾時", "queue-stats": "佇列統計", "rule-chain": "規則鏈", "rule-engine": "規則引擎", "rule-engine-daily-activity": "規則引擎每日活動", - "rule-engine-executions": "規則引擎執行", + "rule-engine-executions": "規則引擎執行次數", "rule-engine-hourly-activity": "規則引擎每小時活動", "rule-engine-monthly-activity": "規則引擎每月活動", "rule-engine-statistics": "規則引擎統計", "rule-node": "規則節點", - "sms": "SMS", - "sms-messages": "SMS訊息", - "sms-messages-daily-activity": "SMS訊息每日活動", - "sms-messages-monthly-activity": "SMS訊息每月活動", + "sms": "簡訊", + "sms-messages": "簡訊", + "sms-messages-daily-activity": "簡訊每日活動", + "sms-messages-monthly-activity": "簡訊每月活動", "successful": "${entityName} 成功", "telemetry": "遙測", - "telemetry-persistence": "遙測持久性", - "telemetry-persistence-daily-activity": "遙測持久性每日活動", - "telemetry-persistence-hourly-activity": "遙測持久性每小時活動", - "telemetry-persistence-monthly-activity": "遙測持久性每月活動", + "telemetry-persistence": "遙測持久化", + "telemetry-persistence-daily-activity": "遙測持久化每日活動", + "telemetry-persistence-hourly-activity": "遙測持久化每小時活動", + "telemetry-persistence-monthly-activity": "遙測持久化每月活動", "transport": "傳輸", "transport-daily-activity": "傳輸每日活動", - "transport-data-points": "傳輸資料端", + "transport-data-points": "傳輸資料點", "transport-hourly-activity": "傳輸每小時活動", "transport-messages": "傳輸訊息", "transport-monthly-activity": "傳輸每月活動", "view-details": "檢視詳細資料", - "view-statistics": "檢視統計數據" + "view-statistics": "檢視統計", + "api-features": "API 功能", + "data-points-storage-days-hourly-activity": "資料點儲存天數每小時活動", + "data-points-storage-days-daily-activity": "資料點儲存天數每日活動", + "data-points-storage-days-monthly-activity": "資料點儲存天數每月活動", + "device-api": "裝置 API", + "scripts": "指令碼", + "scripts-hourly-activity": "指令碼每小時活動", + "scripts-daily-activity": "指令碼每日活動", + "scripts-monthly-activity": "指令碼每月活動", + "tbel": "TBEL", + "tbel-executions": "TBEL 執行次數", + "sms-messages-hourly-activity": "簡訊每小時活動", + "transport-msg-hourly-activity": "傳輸訊息每小時活動", + "transport-msg-daily-activity": "傳輸訊息每日活動", + "transport-msg-monthly-activity": "傳輸訊息每月活動", + "transport-data-points-hourly-activity": "傳輸資料點每小時活動", + "transport-data-points-daily-activity": "傳輸資料點每日活動", + "transport-data-points-monthly-activity": "傳輸資料點每月活動", + "transport-messages-hourly-activity": "傳輸訊息每小時活動", + "transport-data-point-hourly-activity": "傳輸資料點每小時活動", + "javascript-function-executions": "JavaScript 函式執行次數", + "javascript-function-executions-hourly-activity": "JavaScript 函式執行每小時活動", + "javascript-function-executions-daily-activity": "JavaScript 函式執行每日活動", + "javascript-function-executions-monthly-activity": "JavaScript 函式執行每月活動", + "tbel-function-executions": "TBEL 函式執行次數", + "tbel-function-executions-hourly-activity": "TBEL 函式執行每小時活動", + "tbel-function-executions-daily-activity": "TBEL 函式執行每日活動", + "tbel-function-executions-monthly-activity": "TBEL 函式執行每月活動", + "created-reports": "已建立的報表", + "created-reports-hourly-activity": "已建立報表每小時活動", + "created-reports-daily-activity": "已建立報表每日活動", + "created-reports-monthly-activity": "已建立報表每月活動", + "emails": "電子郵件", + "emails-hourly-activity": "電子郵件每小時活動", + "emails-daily-activity": "電子郵件每日活動", + "emails-monthly-activity": "電子郵件每月活動", + "status": { + "enabled": "已啟用", + "disabled": "已停用", + "warning": "警告" + }, + "alarm-and-report": "警報與報表", + "alarms-and-reports-created": "已建立的警報與報表", + "alarms-and-reports-hourly-activity": "每小時建立的警報與報表數", + "reports-created": "已建立的報表", + "reports-created-hourly-activity": "每小時建立的報表數", + "reports-created-daily-activity": "每日建立的報表數", + "reports-created-monthly-activity": "每月建立的報表數", + "ai-credits": "AI 點數", + "ai-credits-hourly-activity": "每小時 AI 點數使用量", + "ai-credits-daily-activity": "每日 AI 點數使用量", + "ai-credits-monthly-activity": "每月 AI 點數使用量" }, "audit-log": { - "audit": "審計", - "audit-logs": "審計日誌", - "timestamp": "時間戳", + "audit": "稽核", + "audit-logs": "稽核記錄", + "timestamp": "時間戳記", "entity-type": "實體類型", "entity-name": "實體名稱", - "user": "用戶", + "user": "使用者", "type": "類型", "status": "狀態", - "details": "詳細資訊", - "type-added": "增加", - "type-deleted": "刪除", - "type-updated": "更新", - "type-attributes-updated": "更新屬性", - "type-attributes-deleted": "刪除屬性", - "type-rpc-call": "RPC調用", - "type-credentials-updated": "更新憑據", - "type-assigned-to-customer": "分配給客戶", - "type-unassigned-from-customer": "未分配給客戶", - "type-assigned-to-edge": "分配給邊緣", - "type-unassigned-from-edge": "從邊緣取消分配", - "type-activated": "啟動", - "type-suspended": "暫停", - "type-credentials-read": "讀取憑據", - "type-attributes-read": "讀取屬性", + "details": "詳細資料", + "type-added": "已新增", + "type-deleted": "已刪除", + "type-updated": "已更新", + "type-attributes-updated": "屬性已更新", + "type-attributes-deleted": "屬性已刪除", + "type-rpc-call": "RPC 呼叫", + "type-credentials-updated": "認證資訊已更新", + "type-assigned-to-customer": "已指派給客戶", + "type-unassigned-from-customer": "已從客戶取消指派", + "type-assigned-to-edge": "已指派給 Edge", + "type-unassigned-from-edge": "已從 Edge 取消指派", + "type-activated": "已啟用", + "type-suspended": "已停用", + "type-credentials-read": "認證資訊已讀取", + "type-attributes-read": "屬性已讀取", "type-relation-add-or-update": "關聯已更新", "type-relation-delete": "關聯已刪除", "type-relations-delete": "所有關聯已刪除", - "type-alarm-ack": "已確認", - "type-alarm-clear": "清除", + "type-alarm-ack": "警報已確認", + "type-alarm-clear": "警報已清除", "type-login": "登入", "type-logout": "登出", - "type-lockout": "登出", + "type-lockout": "鎖定", "status-success": "成功", "status-failure": "失敗", - "audit-log-details": "審計日誌詳細資訊", - "no-audit-logs-prompt": "找不到日誌", - "action-data": "活動資料", - "failure-details": "失敗詳細資訊", - "search": "查找審計日誌", - "clear-search": "清空查找", - "type-assigned-from-tenant": "從租戶分配", - "type-assigned-to-tenant": "分配給租戶", - "type-provision-success": "設備已配置", - "type-provision-failure": "設備配置失敗", + "audit-log-details": "稽核記錄詳細資料", + "no-audit-logs-prompt": "找不到記錄", + "action-data": "操作資料", + "failure-details": "失敗詳細資料", + "search": "搜尋稽核記錄", + "clear-search": "清除搜尋", + "type-assigned-from-tenant": "已從租戶指派", + "type-assigned-to-tenant": "已指派給租戶", + "type-provision-success": "裝置已佈建", + "type-provision-failure": "裝置佈建失敗", "type-timeseries-updated": "遙測已更新", - "type-timeseries-deleted": "遙測已刪除" + "type-timeseries-deleted": "遙測已刪除", + "type-alarm-delete": "警報已刪除", + "type-alarm-assign": "警報已指派", + "type-alarm-unassign": "警報已取消指派", + "type-added-comment": "已新增留言", + "type-updated-comment": "已更新留言", + "type-deleted-comment": "已刪除留言", + "type-sms-sent": "簡訊已傳送", + "any-type": "任意類型", + "audit-log-filter-title": "稽核記錄篩選器", + "filter-title": "篩選器", + "filter-types": "稽核記錄類型", + "type-added-to-entity-group": "已加入群組", + "type-removed-from-entity-group": "已從群組移除", + "type-rest-api-rule-engine-call": "規則引擎 REST API 呼叫", + "type-made-public": "已設為公開", + "type-made-private": "已設為私有", + "type-owner-changed": "所有者已變更", + "type-non-production-confirmed": "已確認用於非正式環境", + "action": "操作" }, "confirm-on-exit": { - "message": "您有未儲存的更改。確定要離開此頁嗎?", - "html-message": "您有未儲存的更改。
    確定要離開此頁面嗎?", - "title": "未儲存的更改" + "message": "您有未儲存的變更。確定要離開此頁面嗎?", + "html-message": "您有未儲存的變更。
    確定要離開此頁面嗎?", + "title": "未儲存的變更" }, "contact": { "country": "國家", "city": "城市", - "state": "州", - "postal-code": "郵政編碼", - "postal-code-invalid": "只允許數字。", + "state": "州/省", + "postal-code": "郵遞區號", + "postal-code-invalid": "郵遞區號格式無效。", "address": "地址", - "address2": "地址2", - "phone": "手機", - "email": "郵箱", + "address2": "地址 2", + "phone": "電話", + "email": "電子郵件", "no-address": "無地址", - "state-max-length": "狀態長度應小於256", - "phone-max-length": "電話號碼應小於256", - "city-max-length": "指定城市應小於256" + "state-max-length": "州/省名稱應少於 256 個字元", + "phone-max-length": "電話號碼應少於 256 個字元", + "city-max-length": "城市名稱應少於 256 個字元", + "country-required": "國家為必填項。", + "country-object-required": "請從清單中選擇有效的國家。", + "no-country-found": "找不到國家。", + "no-country-matching": "找不到符合「{{country}}」的國家。" }, "common": { - "username": "用戶名", + "username": "使用者名稱", "password": "密碼", - "enter-username": "輸入用戶名", + "enter-username": "輸入使用者名稱", "enter-password": "輸入密碼", - "enter-search": "輸入檢索條件", + "enter-search": "輸入搜尋內容", "created-time": "建立時間", - "loading": "正在加載...", + "loading": "載入中...", "proceed": "繼續", - "open-details-page": "打開詳細資訊頁" + "open-details-page": "開啟詳細資料頁", + "name": "名稱", + "type": "類型", + "general": "通用", + "data": "資料", + "timestamp": "時間戳記", + "disabled": "已停用", + "not-found": "找不到", + "value": "值", + "documentation": "文件", + "time-left": "剩餘 {{time}}", + "output": "輸出", + "sort-asc": "升序", + "sort-desc": "降序", + "suffix": { + "s": "s", + "ms": "ms" + }, + "hint": { + "name-required": "名稱為必填項。", + "name-pattern": "名稱無效。", + "name-max-length": "名稱應少於 256 個字元。", + "title-required": "標題為必填項。", + "title-pattern": "標題無效。", + "title-max-length": "標題應少於 256 個字元。", + "key-required": "鍵為必填項。", + "key-pattern": "鍵無效。", + "key-max-length": "鍵應少於 256 個字元。" + }, + "required-fields": "缺少必填欄位", + "repeat-password": "再次輸入密碼", + "all": "全部", + "loading-please-wait": "載入中,請稍候…" }, "content-type": { "json": "Json", "text": "文字", - "binary": "二進制 (Base64)" + "binary": "二進位 (Base64)", + "hex": "二進位(十六進位)" }, "customer": { "customer": "客戶", @@ -729,673 +1087,842 @@ "management": "客戶管理", "dashboard": "客戶儀表板", "dashboards": "客戶儀表板", - "devices": "客戶設備", - "entity-views": "客戶實體視圖", + "devices": "客戶裝置", + "entity-views": "客戶實體檢視", "assets": "客戶資產", - "public-dashboards": "公共儀表板", - "public-devices": "公共設備", - "public-assets": "公共資產", - "public-entity-views": "公共實體視圖", - "add": "增加客戶", + "public-dashboards": "公開儀表板", + "public-devices": "公開裝置", + "public-assets": "公開資產", + "public-entity-views": "公開實體檢視", + "add": "新增客戶", "delete": "刪除客戶", - "manage-customer-users": "管理客戶用戶", - "manage-customer-devices": "管理客戶設備", + "manage-customer-users": "管理客戶使用者", + "manage-customer-devices": "管理客戶裝置", "manage-customer-dashboards": "管理客戶儀表板", - "manage-public-devices": "管理公共設備", - "manage-public-dashboards": "管理公共儀表板", + "manage-public-devices": "管理公開裝置", + "manage-public-dashboards": "管理公開儀表板", "manage-customer-assets": "管理客戶資產", - "manage-public-assets": "管理公共資產", - "manage-customer-edges": "管理客戶優勢", - "manage-public-edges": "管理客戶優勢", - "add-customer-text": "增加新客戶", - "no-customers-text": "沒有找到客戶", - "customer-details": "客戶詳細資訊", - "delete-customer-title": "您確定要刪除客戶'{{customerTitle}}'嗎?", - "delete-customer-text": "小心!確認後,客戶及其所有相關資料將無法恢復。", - "delete-customers-title": "您確定要刪除 { count, plural, =1 {1 客戶} other {# 客戶} }嗎?", - "delete-customers-action-title": "刪除 { count, plural, =1 {1 客戶} other {# 客戶} }", - "delete-customers-text": "小心!確認後,所有選擇的客戶將被刪除,所有相關資料將無法恢復。", - "manage-users": "管理用戶", + "manage-public-assets": "管理公開資產", + "manage-customer-edges": "管理客戶 Edge", + "manage-public-edges": "管理公開 Edge", + "add-customer-text": "新增客戶", + "no-customers-text": "找不到客戶", + "customer-details": "客戶詳細資料", + "delete-customer-title": "確定要刪除客戶「{{customerTitle}}」嗎?", + "delete-customer-text": "請注意,確認後客戶及所有相關資料將無法恢復。", + "delete-customers-title": "確定要刪除 { count, plural, =1 {1 個客戶} other {# 個客戶} }嗎?", + "delete-customers-action-title": "刪除 { count, plural, =1 {1 個客戶} other {# 個客戶} }", + "delete-customers-text": "請注意,確認後所有選取的客戶將被移除,所有相關資料將無法恢復。", + "manage-users": "管理使用者", "manage-assets": "管理資產", - "manage-devices": "管理設備", + "manage-devices": "管理裝置", "manage-dashboards": "管理儀表板", - "title": "標題", - "title-required": "需要標題", - "title-max-length": "標題應小於256", + "title": "名稱", + "title-required": "請輸入客戶名稱。", + "title-max-length": "客戶名稱須少於 256 個字元。", "description": "描述", - "details": "詳細資訊", + "details": "詳細資料", "events": "事件", - "copyId": "複製客戶ID", - "idCopiedMessage": "客戶ID已複製到剪貼板", + "copyId": "複製客戶識別碼", + "idCopiedMessage": "客戶識別碼已複製到剪貼簿", "select-customer": "選擇客戶", - "no-customers-matching": "沒有找到符合 '{{entity}}' 的客戶。", - "customer-required": "客戶是必選項", - "select-default-customer": "選擇預設的客戶", + "no-customers-matching": "找不到符合「{{entity}}」的客戶。", + "customer-required": "客戶為必填項。", + "select-default-customer": "選擇預設客戶", "default-customer": "預設客戶", - "default-customer-required": "為了測試租戶級別上的儀表板,需要預設客戶。", + "default-customer-required": "在租戶級別偵錯儀表板時需要預設客戶", "search": "搜尋客戶", - "selected-customers": "{ count, plural, =1 {1 客戶} other {# 客戶} }被選中", - "edges": "客戶邊緣實體物件", - "manage-edges": "管理邊緣" + "selected-customers": "已選擇 { count, plural, =1 {1 個客戶} other {# 個客戶} }", + "edges": "客戶 Edge 執行個體", + "manage-edges": "管理 Edge", + "customers-and-users": "客戶與使用者", + "public-edges": "公開的 Edge 執行個體", + "all": "全部", + "all-customers": "所有客戶", + "groups": "群組", + "shared": "共用", + "hierarchy": "階層", + "manage-customer-user-groups": "管理客戶的使用者群組", + "manage-customer-groups": "管理客戶群組", + "manage-customer-device-groups": "管理客戶的裝置群組", + "manage-customer-asset-groups": "管理客戶的資產群組", + "manage-customer-entity-view-groups": "管理客戶的實體檢視群組", + "manage-customer-edge-groups": "管理客戶的 Edge 群組", + "manage-customer-dashboard-groups": "管理客戶的儀表板群組", + "manage-customers": "管理客戶", + "manage-customer-entity-views": "管理客戶的實體檢視", + "manage-customer-agents": "管理代理程式", + "manage-user-groups": "管理使用者群組", + "manage-asset-groups": "管理資產群組", + "manage-device-groups": "管理裝置群組", + "manage-dashboard-groups": "管理儀表板群組", + "manage-entity-view-groups": "管理實體檢視群組", + "manage-edge-groups": "管理 Edge 群組", + "manage-entity-views": "管理實體檢視", + "select-group-to-add": "選擇目標群組,以加入所選客戶", + "select-group-to-move": "選擇目標群組,以移入所選客戶", + "remove-customers-from-group": "確定要從群組「'{{entityGroup}}'」移除 { count, plural, =1 {1 個客戶} other {# 個客戶} }嗎?", + "group": "客戶群組", + "list-of-groups": "{ count, plural, =1 {1 個客戶群組} other {客戶群組清單(# 個)} }", + "group-name-starts-with": "名稱以「{{prefix}}」開頭的客戶群組", + "allow-white-labeling": "允許白標" }, "datetime": { - "date-from": "日期從", - "time-from": "時間從", - "date-to": "日期到", - "time-to": "時間到" + "date-from": "起始日期", + "time-from": "起始時間", + "date-to": "結束日期", + "time-to": "結束時間", + "from": "從", + "to": "到" }, "dashboard": { - "ai-assistant-initial-prompt-placeholder": "描述您想要設定的內容...", - "ai-assistant-example-monitor-device-label": "監控一台裝置", - "ai-assistant-example-monitor-device-message": "裝置是 ...。我想把這個儀表板設定為該裝置的單一狀態檢視,在頂部以值卡片顯示它的最新遙測資料,下方顯示該遙測資料的時序圖表,底部顯示其活動告警表格。", - "ai-assistant-example-monitor-fleet-label": "監控裝置群", - "ai-assistant-example-monitor-fleet-message": "裝置類型是 ...。我想為該類型設定一個具有兩個狀態的儀表板。概覽狀態應在實體表格中列出該類型的所有裝置,下方顯示這些裝置的活動告警表格。選擇某台裝置會開啟詳細狀態,在頂部以值卡片顯示該裝置的最新遙測資料,下方顯示該遙測資料的時序圖表,底部顯示其活動告警表格。", "dashboard": "儀表板", - "dashboards": "儀表板庫", + "dashboards": "儀表板", "management": "儀表板管理", - "view-dashboards": "查看儀表板", - "add": "增加儀表板", - "assign-dashboard-to-customer": "將儀表板分配給客戶", - "assign-dashboard-to-customer-text": "請選擇要分配給客戶的儀表板", - "assign-dashboard-to-edge-title": "將儀表板分配給邊緣", - "assign-to-customer-text": "請選擇客戶分配儀表板", - "assign-to-customer": "分配給客戶", - "unassign-from-customer": "取消分配客戶", - "make-public": "儀表板設為公開", - "make-private": "儀表板設為私有", - "manage-assigned-customers": "管理已分配的客戶", - "assigned-customers": "已分配的客戶", - "assign-to-customers": "將儀表板分配給客戶", - "assign-to-customers-text": "請選擇客戶指定儀表板", - "unassign-from-customers": "客戶未分配儀表板", - "unassign-from-customers-text": "請選擇從儀表板中取消分配的客戶", - "no-dashboards-text": "沒有找到儀表板", - "no-widgets": "沒有配置部件", - "add-widget": "增加新的部件", + "view-dashboards": "檢視儀表板", + "add": "新增儀表板", + "assign-dashboard-to-customer": "將儀表板指派給客戶", + "assign-dashboard-to-customer-text": "請選擇要指派給客戶的儀表板", + "assign-dashboard-to-edge-title": "將儀表板指派給 Edge", + "assign-to-customer-text": "請選擇要指派儀表板的客戶", + "assign-to-customer": "指派給客戶", + "unassign-from-customer": "從客戶取消指派", + "make-public": "公開儀表板", + "make-private": "將儀表板設為私有", + "manage-assigned-customers": "管理已指派的客戶", + "assigned-customers": "已指派的客戶", + "assign-to-customers": "將儀表板指派給客戶", + "assign-to-customers-text": "請選擇要指派儀表板的客戶", + "unassign-from-customers": "取消指派儀表板的客戶", + "unassign-from-customers-text": "請選擇要取消指派儀表板的客戶", + "no-dashboards-text": "找不到儀表板", + "no-widgets": "未設定小工具", + "add-widget": "新增小工具", "title": "標題", - "image": "儀表板圖像", - "mobile-app-settings": "移動應用程序設定", - "mobile-order": "移動應用程序中的儀表板順序", - "mobile-hide": "在移動應用程序中隱藏儀表板", - "update-image": "更新儀表板圖像", + "image": "儀表板圖片", + "mobile-app-settings": "行動應用程式設定", + "mobile-order": "儀表板在行動應用程式中的排序", + "mobile-hide": "在行動應用程式中隱藏儀表板", + "update-image": "更新儀表板圖片", "take-screenshot": "截圖", - "select-widget-title": "選擇部件", - "select-widget-value": "{{title}}: 選擇小部件", - "select-widget-subtitle": "可用的部件類型列表", + "select-widget-title": "選擇小工具", + "select-widget-value": "{{title}}:選擇小工具", + "select-widget-subtitle": "可用小工具類型清單", "delete": "刪除儀表板", - "title-required": "需要標題。", - "title-max-length": "標題應小於256", + "title-required": "標題為必填項。", + "title-max-length": "標題應少於 256 個字元", "description": "描述", - "details": "詳細資訊", - "dashboard-details": "儀表板詳細資訊", - "add-dashboard-text": "增加新的儀表板", - "assign-dashboards": "分配儀表板", - "assign-new-dashboard": "分配新的儀表板", - "assign-dashboards-text": "分配 { count, plural, =1 {1 儀表板} other {# 儀表板} } 給客戶", - "unassign-dashboards-action-text": "未分配 { count, plural, =1 {1 儀表板} other {# 儀表板} } 給客戶", + "details": "詳細資料", + "dashboard-details": "儀表板詳細資料", + "add-dashboard-text": "新增儀表板", + "assign-dashboards": "指派儀表板", + "assign-new-dashboard": "指派新儀表板", + "assign-dashboards-text": "將 { count, plural, =1 {1 個儀表板} other {# 個儀表板} }指派給客戶", + "unassign-dashboards-action-text": "取消指派客戶的 { count, plural, =1 {1 個儀表板} other {# 個儀表板} }", "delete-dashboards": "刪除儀表板", - "unassign-dashboards": "取消分配儀表板", - "unassign-dashboards-action-title": "從客戶處取消分配 { count, plural, =1 {1 儀表板} other {# 儀表板} } ", - "delete-dashboard-title": "您確定要刪除儀表板 '{{dashboardTitle}}'嗎?", - "delete-dashboard-text": "小心!確認後儀表板及其所有相關資料將無法恢復。", - "delete-dashboards-title": "你確定你要刪除 { count, plural, =1 {1 儀表板} other {# 儀表板} }嗎?", - "delete-dashboards-action-title": "刪除 { count, plural, =1 {1 儀表板} other {# 儀表板} }", - "delete-dashboards-text": "小心!確認後所有選擇的儀表板將被刪除,所有相關資料將無法恢復。", - "unassign-dashboard-title": "您確定要取消分配儀表板 '{{dashboardTitle}}'嗎?", - "unassign-dashboard-text": "確認後,面板將被取消分配,客戶將無法存取。", - "unassign-dashboard": "取消分配儀表板", - "unassign-dashboards-title": "您確定要取消分配儀表板 { count, plural, =1 {1 儀表板} other {# 儀表板} } 嗎?", - "unassign-dashboards-text": "確認後,所有選擇的儀表板將被取消分配,客戶將無法存取。", - "public-dashboard-title": "儀表板現已公佈", - "public-dashboard-text": "你的儀表板{{dashboardTitle}} 已被公開,可通過如下連結存取:", - "public-dashboard-notice": "提示: 不要忘記將相關設備公開以存取其資料。", - "make-private-dashboard-title": "您確定要將儀表板 '{{dashboardTitle}}' 設為私有嗎?", - "make-private-dashboard-text": "確認後,儀表板將被設為私有,不能被其他人存取。", - "make-private-dashboard": "儀表板設為私有", - "socialshare-text": "'{{dashboardTitle}}' 由Thingsboard提供支持", - "socialshare-title": "'{{dashboardTitle}}' 由Thingsboard提供支持", + "unassign-dashboards": "取消指派儀表板", + "unassign-dashboards-action-title": "取消指派客戶的 { count, plural, =1 {1 個儀表板} other {# 個儀表板} }", + "delete-dashboard-title": "確定要刪除儀表板「{{dashboardTitle}}」嗎?", + "delete-dashboard-text": "請注意,確認後儀表板及所有相關資料將無法恢復。", + "delete-dashboards-title": "確定要刪除 { count, plural, =1 {1 個儀表板} other {# 個儀表板} }嗎?", + "delete-dashboards-action-title": "刪除 { count, plural, =1 {1 個儀表板} other {# 個儀表板} }", + "delete-dashboards-text": "請注意,確認後所有選取的儀表板將被移除,所有相關資料將無法恢復。", + "unassign-dashboard-title": "確定要取消指派儀表板「{{dashboardTitle}}」嗎?", + "unassign-dashboard-text": "確認後儀表板將被取消指派,客戶將無法存取。", + "unassign-dashboard": "取消指派儀表板", + "unassign-dashboards-title": "確定要取消指派 { count, plural, =1 {1 個儀表板} other {# 個儀表板} }嗎?", + "unassign-dashboards-text": "確認後所有選取的儀表板將被取消指派,客戶將無法存取。", + "public-dashboard-title": "儀表板現已公開", + "public-dashboard-text": "您的儀表板{{dashboardTitle}}現已公開,可透過以下公開連結存取:", + "public-dashboard-notice": "注意:請勿忘記將相關裝置設為公開以存取其資料。", + "make-private-dashboard-title": "確定要將儀表板「{{dashboardTitle}}」設為私有嗎?", + "make-private-dashboard-text": "確認後儀表板將設為私有,其他人將無法存取。", + "make-private-dashboard": "將儀表板設為私有", + "socialshare-text": "「{{dashboardTitle}}」由 ThingsBoard 提供支援", + "socialshare-title": "「{{dashboardTitle}}」由 ThingsBoard 提供支援", "select-dashboard": "選擇儀表板", - "no-dashboards-matching": "找不到符合 '{{entity}}' 的儀表板。", - "dashboard-required": "儀表板必填。", - "select-existing": "選擇現有儀表板", - "create-new": "建立新的儀表板", + "no-dashboards-matching": "找不到符合「{{entity}}」的儀表板。", + "dashboard-required": "儀表板為必填項。", + "select-existing": "選擇已有儀表板", + "create-new": "建立新儀表板", "new-dashboard-title": "新儀表板標題", - "open-dashboard": "打開儀表板", + "open-dashboard": "開啟儀表板", "set-background": "設定背景", "background-color": "背景顏色", "background-image": "背景圖片", - "background-size-mode": "背景大小模式", - "no-image": "無圖像選擇", - "empty-image": "沒有圖像", - "drop-image": "拖拉圖像或單擊以選擇要上傳的文件。", - "maximum-upload-file-size": "最大上傳文件大小: {{ size }}", - "cannot-upload-file": "無法上傳文件", + "background-size-mode": "背景尺寸模式", + "no-image": "未選擇圖片", + "empty-image": "無圖片", + "drop-image": "拖放圖片或點選選擇要上傳的檔案。", + "maximum-upload-file-size": "最大上傳檔案大小:{{ size }}", + "cannot-upload-file": "無法上傳檔案", "settings": "設定", - "columns-count": "列數", - "columns-count-required": "需要列數。", - "min-columns-count-message": "只允許最少10列", - "max-columns-count-message": "只允許最多1000列", - "widgets-margins": "部件間邊距", - "margin-required": "需要邊距值", - "min-margin-message": "只允許0作為最小邊距值0。", - "max-margin-message": "只允許50作為最大邊距值。", - "horizontal-margin": "水平邊距", - "horizontal-margin-required": "需要水平邊距值。", - "min-horizontal-margin-message": "只允許0作為最小水平邊距值。", - "max-horizontal-margin-message": "只允許50作為最大水平邊距值。", - "vertical-margin": "垂直邊距", - "vertical-margin-required": "需要垂直邊距值。", - "min-vertical-margin-message": "只允許0作為最小垂直邊距值。", - "max-vertical-margin-message": "只允許50作為最大垂直邊距值。", - "autofill-height": "自動填充佈局高度", - "mobile-layout": "移動端佈局設定", - "mobile-row-height": "移動端行高距(px)", - "mobile-row-height-required": "移動端行高距必填。", - "min-mobile-row-height-message": "移動端行高距至少5px。", - "max-mobile-row-height-message": "移動端行高距最多200px。", + "columns-count": "欄數", + "columns-count-required": "請輸入欄數。", + "min-columns-count-message": "欄數不得少於 10。", + "max-columns-count-message": "欄數不得超過 1008。", + "widgets-margins": "小工具間距", + "margin-required": "間距值為必填項。", + "min-margin-message": "間距不得小於 0。", + "max-margin-message": "間距不得大於 50。", + "horizontal-margin": "水平間距", + "horizontal-margin-required": "水平間距值為必填項。", + "min-horizontal-margin-message": "水平間距不得小於 0。", + "max-horizontal-margin-message": "水平間距不得大於 50。", + "vertical-margin": "垂直間距", + "vertical-margin-required": "垂直間距值為必填項。", + "min-vertical-margin-message": "垂直間距不得小於 0。", + "max-vertical-margin-message": "垂直間距不得大於 50。", + "autofill-height": "自動填滿版面高度", + "mobile-layout": "行動裝置版面配置設定", + "mobile-row-height": "行動裝置列高", + "mobile-row-height-required": "請輸入行動裝置列高。", + "min-mobile-row-height-message": "行動裝置列高不得小於 5 畫素。", + "max-mobile-row-height-message": "行動裝置列高不得大於 200 畫素。", "title-settings": "標題設定", "display-title": "顯示儀表板標題", - "toolbar-always-open": "工具欄常駐", + "toolbar-always-open": "保持工具列展開", "title-color": "標題顏色", - "toolbar-settings": "工具欄設定", - "hide-toolbar": "隱藏工具欄", - "display-dashboards-selection": "顯示儀表板選項", - "display-entities-selection": "顯示實體選項", - "display-filters": "顯示過濾器", - "display-dashboard-timewindow": "顯示時間窗口", - "display-dashboard-export": "顯示匯出", - "display-update-dashboard-image": "顯示更新儀表板圖像", - "dashboard-logo-settings": "儀表板logo設定", - "display-dashboard-logo": "在儀表板全螢幕模式下顯示logo", - "dashboard-logo-image": "儀表板logo圖像", + "toolbar-settings": "工具列設定", + "hide-toolbar": "隱藏工具列", + "display-dashboards-selection": "顯示儀表板選單", + "display-entities-selection": "顯示實體選單", + "display-filters": "顯示篩選器", + "display-dashboard-timewindow": "顯示時間視窗", + "display-dashboard-export": "顯示匯出按鈕", + "display-update-dashboard-image": "顯示更新圖片按鈕", + "dashboard-logo-settings": "儀表板 Logo 設定", + "display-dashboard-logo": "在儀表板全螢幕模式下顯示 Logo", + "dashboard-logo-image": "儀表板 Logo 圖片", "advanced-settings": "進階設定", - "dashboard-css": "儀表板CSS", + "dashboard-css": "儀表板 CSS", "import": "匯入儀表板", "export": "匯出儀表板", - "export-failed-error": "無法匯出儀表板: {{error}}", - "create-new-dashboard": "建立新的儀表板", - "dashboard-file": "儀表板文件", - "invalid-dashboard-file-error": "無法匯入儀表板: 儀表板資料結構無效。", - "dashboard-import-missing-aliases-title": "配置匯入儀表板使用的別名", - "create-new-widget": "建立新部件", - "import-widget": "匯入部件", - "widget-file": "部件文件", - "invalid-widget-file-error": "無法匯入窗口部件: 窗口部件資料結構無效。", - "widget-import-missing-aliases-title": "配置匯入的窗口部件使用的別名", - "open-toolbar": "打開儀表板工具欄", - "close-toolbar": "關閉工具欄", - "configuration-error": "配置錯誤", - "alias-resolution-error-title": "儀表板別名配置錯誤", - "invalid-aliases-config": "無法找到與某些別名過濾器符合的任何設備。
    請聯繫您的管理員以解決此問題。", - "select-devices": "選擇設備", - "assignedToCustomer": "分配給客戶", - "assignedToCustomers": "分配給客戶們", - "public": "公共", - "copyId": "複製儀表板id", - "idCopiedMessage": "儀表板Id已被複製到剪貼板", - "public-link": "公共連結", - "copy-public-link": "複製公共連結", - "public-link-copied-message": "儀表板的公共連結已被複製到剪貼板", - "manage-states": "儀表板狀態管理", + "export-failed-error": "無法匯出儀表板:{{error}}", + "create-new-dashboard": "建立新儀表板", + "dashboard-file": "儀表板檔案", + "invalid-dashboard-file-error": "無法匯入儀表板:儀表板資料結構無效。", + "dashboard-import-missing-aliases-title": "設定匯入儀表板使用的別名", + "create-new-widget": "建立新小工具", + "import-widget": "匯入小工具", + "widget-file": "小工具檔案", + "invalid-widget-file-error": "無法匯入小工具:小工具資料結構無效。", + "widget-import-missing-aliases-title": "設定匯入小工具使用的別名", + "open-toolbar": "開啟儀表板工具列", + "close-toolbar": "關閉工具列", + "configuration-error": "設定錯誤", + "alias-resolution-error-title": "儀表板別名設定錯誤", + "invalid-aliases-config": "無法找到符合某些別名篩選器的裝置。
    請聯絡管理員以解決此問題。", + "select-devices": "選擇裝置", + "assignedToCustomer": "已指派給客戶", + "assignedToCustomers": "已指派給客戶", + "public": "公開", + "copyId": "複製儀表板識別碼", + "idCopiedMessage": "儀表板識別碼已複製到剪貼簿", + "public-link": "公開連結", + "copy-public-link": "複製公開連結", + "public-link-copied-message": "儀表板公開連結已複製到剪貼簿", + "manage-states": "管理儀表板狀態", "states": "儀表板狀態", - "search-states": "儀表板狀態檢索", - "selected-states": "{ count, plural, =1 {1 儀表板狀態} other {# 儀表板狀態} } 選中", - "edit-state": "儀表板狀態編輯", + "search-states": "搜尋儀表板狀態", + "selected-states": "已選擇 { count, plural, =1 {1 個儀表板狀態} other {# 個儀表板狀態} }", + "edit-state": "編輯儀表板狀態", "delete-state": "刪除儀表板狀態", - "add-state": "增加儀表板狀態", - "no-states-text": "未找到任何狀態", + "add-state": "新增儀表板狀態", + "no-states-text": "找不到狀態", "state": "儀表板狀態", - "state-name": "狀態名", - "state-name-required": "儀表板狀態名必填。", - "state-id": "狀態ID", - "state-id-required": "儀表板狀態ID必填。", - "state-id-exists": "儀表板狀態ID已經存在。", + "state-name": "名稱", + "state-name-required": "儀表板狀態名稱為必填項。", + "state-id": "狀態識別碼", + "state-id-required": "儀表板狀態識別碼為必填項。", + "state-id-exists": "具有相同識別碼的儀表板狀態已存在。", "is-root-state": "根狀態", "delete-state-title": "刪除儀表板狀態", - "delete-state-text": "確定要刪除儀表板狀態 '{{stateName}}' 嗎?", - "show-details": "顯示詳細資訊", - "hide-details": "隱藏詳細資訊", + "delete-state-text": "確定要刪除名為「{{stateName}}」的儀表板狀態嗎?", + "show-details": "顯示詳細資料", + "hide-details": "隱藏詳細資料", "select-state": "選擇目標狀態", - "state-controller": "狀態控制", + "state-controller": "狀態控制器", "search": "搜尋儀表板", - "selected-dashboards": "{ count, plural, =1 {1 儀表板} other {# 儀表板} }被選中", - "home-dashboard": "主儀表板", - "home-dashboard-hide-toolbar": "隱藏主儀表板工具欄", - "unassign-dashboard-from-edge-text": "確認後,儀表板將被取消分配,邊緣將無法訪問。", - "unassign-dashboards-from-edge-title": "您確定要取消分配 { count, plural, =1 {1 儀表板} other {# 儀表板} }嗎?", - "unassign-dashboards-from-edge-text": "確認後,所有選定的儀表板都將被取消分配,且邊緣將無法訪問。", - "assign-dashboard-to-edge": "將儀表板分配給邊緣", - "assign-dashboard-to-edge-text": "請選擇要分配給邊緣的儀表板", - "non-existent-dashboard-state-error": "未找到id為 \"{{ stateId }}\" 的儀表板狀態" + "selected-dashboards": "已選擇 { count, plural, =1 {1 個儀表板} other {# 個儀表板} }", + "home-dashboard": "首頁儀表板", + "home-dashboard-hide-toolbar": "隱藏首頁儀表板工具列", + "unassign-dashboard-from-edge-text": "確認後儀表板將被取消指派,Edge 將無法存取。", + "unassign-dashboards-from-edge-title": "確定要取消指派 { count, plural, =1 {1 個儀表板} other {# 個儀表板} }嗎?", + "unassign-dashboards-from-edge-text": "確認後所有選取的儀表板將被取消指派,Edge 將無法存取。", + "assign-dashboard-to-edge": "將儀表板指派給 Edge", + "assign-dashboard-to-edge-text": "請選擇要指派給 Edge 的儀表板", + "non-existent-dashboard-state-error": "找不到識別碼為「{{ stateId }}」的儀表板狀態", + "add-widget-button-text": "新增小工具", + "update-new-version": "上傳新版本", + "upload-file-to-update": "上傳檔案以更新", + "move-all-widgets": "移動所有小工具", + "move-by": "移動", + "cols": "欄", + "rows": "列", + "layout": "版面配置", + "layout-type-default": "預設", + "layout-type-scada": "SCADA", + "layout-type-divider": "分隔線", + "layout-settings-type": "版面配置設定:{{ type }}", + "min-layout-width": "最小版面配置寬度", + "columns-suffix": "欄", + "apply-outer-margin": "將間距套用到版面配置兩側", + "row-height": "列高", + "row-height-required": "列高值為必填項。", + "min-row-height-message": "列高不得小於 5 畫素。", + "max-row-height-message": "列高不得大於 200 畫素。", + "display-first-in-mobile-view": "在行動裝置端檢視中優先顯示", + "export-prompt": "嵌入儀表板圖片和資源", + "states-short": "狀態", + "state-controller-default": "靜態(已棄用)", + "edit-mode": "編輯模式", + "duplicate-state-action": "複製狀態", + "breakpoint-value": "斷點({{ value }})", + "breakpoints-id": { + "default": "預設", + "xs": "手機 (xs)", + "sm": "平板 (sm)", + "md": "筆記型電腦 (md)", + "lg": "桌上型電腦 (lg)", + "xl": "桌上型電腦 (xl)" + }, + "view-format-type-grid": "網格", + "view-format-type-list": "清單", + "view-format": "檢視格式", + "ai-assistant-initial-prompt-placeholder": "描述您想設定的內容…", + "ai-assistant-example-monitor-device-label": "監控單一裝置", + "ai-assistant-example-monitor-device-message": "裝置是…。我想將這個儀表板設定為該裝置的單一狀態檢視:頂端以數值卡片顯示最新遙測資料,下方顯示對應的時間序列圖表,底部顯示該裝置的作用中警報表格。", + "ai-assistant-example-monitor-fleet-label": "監控裝置群", + "ai-assistant-example-monitor-fleet-message": "裝置類型是…。我想為此類型設定具有兩個狀態的儀表板。總覽狀態以實體表格列出此類型的所有裝置,下方顯示這些裝置的作用中警報表格。選取裝置後開啟詳細資料狀態,頂端以數值卡片顯示該裝置的最新遙測資料,下方顯示對應的時間序列圖表,底部顯示該裝置的作用中警報表格。", + "all": "全部", + "all-dashboards": "所有儀表板", + "groups": "群組", + "shared": "已共用", + "take-screenshot-failed": "無法擷取儀表板畫面,請再試一次。", + "public-dashboard-link": "公開儀表板連結", + "public-dashboard-link-text": "您的公開儀表板「{{dashboardTitle}}」可透過以下公開連結存取:", + "public-dashboard-link-notice": "注意:請將相關裝置、資產及實體檢視設為公開,才能存取其資料。", + "display-configure-with-ai": "顯示「使用 AI 設定」按鈕", + "export-pdf": "匯出為 PDF", + "export-png": "匯出為 PNG", + "export-jpg": "匯出為 JPEG", + "export-json-config": "匯出 JSON 設定", + "download-dashboard-progress": "正在產生儀表板 {{reportType}}…", + "select-group-to-add": "選取目標群組,以加入所選儀表板", + "select-group-to-move": "選取目標群組,以移入所選儀表板", + "remove-dashboards-from-group": "確定要從群組「'{{entityGroup}}'」移除 { count, plural, =1 {1 個儀表板} other {# 個儀表板} }嗎?", + "group": "儀表板群組", + "list-of-groups": "{ count, plural, =1 {1 個儀表板群組} other {儀表板群組清單(# 個)} }", + "group-name-starts-with": "名稱以「{{prefix}}」開頭的儀表板群組" }, "datakey": { "settings": "設定", "advanced": "進階", "label": "標籤", "color": "顏色", - "units": "單位符號", - "decimals": "小數位數", - "data-generation-func": "資料生成功能", - "use-data-post-processing-func": "使用資料後處理功能", - "configuration": "資料鍵配置", + "units": "值旁顯示的特殊符號", + "decimals": "小數點後位數", + "data-generation-func": "資料產生函式", + "use-data-post-processing-func": "使用資料後處理函式", + "configuration": "資料鍵設定", "timeseries": "時間序列", "attributes": "屬性", - "entity-field": "實體字段", - "alarm": "警告字段", - "timeseries-required": "需要設備時間序列。", - "timeseries-or-attributes-required": "設備時間/屬性必填。", - "alarm-fields-timeseries-or-attributes-required": "需要警告字段或實體時間序列/屬性。", - "maximum-timeseries-or-attributes": "最大允許 { count, plural, =1 {1 時間序列/屬性} other {# 時間序列/屬性} }", - "alarm-fields-required": "警告字段必填。", - "function-types": "函數類型", - "function-type": "函數類型", - "function-types-required": "需要函數類型。", - "maximum-function-types": "至少需要 { count, plural, =1 {1 函數類型} other {# 函數類型} }", - "alarm-keys": "警告資料鍵", - "alarm-key": "警告資料鍵", - "alarm-key-functions": "警告鍵功能", - "alarm-key-function": "警告鍵功能", + "entity-field": "實體欄位", + "alarm": "警報欄位", + "timeseries-required": "實體時間序列為必填項。", + "timeseries-or-attributes-required": "實體時間序列/屬性為必填項。", + "alarm-fields-timeseries-or-attributes-required": "警報欄位或實體時間序列/屬性為必填項。", + "maximum-timeseries-or-attributes": "最多允許 { count, plural, =1 {1 個時間序列/屬性} other {# 個時間序列/屬性} }。", + "alarm-fields-required": "警報欄位為必填項。", + "function-types": "函式類型", + "function-type": "函式類型", + "function-types-required": "函式類型為必填項。", + "maximum-function-types": "最多允許 { count, plural, =1 {1 個函式類型} other {# 個函式類型} }。", + "alarm-keys": "警報資料鍵", + "alarm-key": "警報資料鍵", + "alarm-key-functions": "警報鍵函式", + "alarm-key-function": "警報鍵函式", "latest-keys": "最新資料鍵", "latest-key": "最新資料鍵", - "latest-key-functions": "最新按鍵功能", - "latest-key-function": "最新按鍵功能", + "latest-key-functions": "最新鍵函式", + "latest-key-function": "最新鍵函式", "timeseries-keys": "時間序列資料鍵", "timeseries-key": "時間序列資料鍵", - "timeseries-key-functions": "時間序列鍵功能", - "timeseries-key-function": "時間序列鍵功能", - "time-description": "當前值的時間戳;", - "value-description": "當前值;", - "prev-value-description": "上一個函數調用的結果;", - "time-prev-description": "上一個值的時間戳;", - "prev-orig-value-description": "原始先前值;" + "timeseries-key-functions": "時間序列鍵函式", + "timeseries-key-function": "時間序列鍵函式", + "time-description": "目前值的時間戳記;", + "value-description": "目前值;", + "prev-value-description": "上次函式呼叫的結果;", + "time-prev-description": "上一個值的時間戳記;", + "prev-orig-value-description": "原始上一個值;", + "general": "通用", + "key": "鍵", + "keys": "鍵", + "data-keys": "資料鍵", + "data-key": "資料鍵", + "data-keys-required": "資料鍵為必填項。", + "data-key-required": "資料鍵為必填項。", + "aggregation": "彙總", + "aggregation-type-hint-common": "出於效能考慮,彙總值計算僅適用於固定時間間隔(如「當天」、「當月」等),不適用於滑動視窗間隔(如「最近 30 分鐘」或「最近 24 小時」)。", + "aggregation-type-none-hint": "取最新值。", + "aggregation-type-min-hint": "在選定時間視窗內的資料點中找到最小值。", + "aggregation-type-max-hint": "在選定時間視窗內的資料點中找到最大值。", + "aggregation-type-avg-hint": "計算選定時間視窗內資料點的平均值。", + "aggregation-type-sum-hint": "對選定時間視窗內所有資料點的值求和。", + "aggregation-type-count-hint": "選定時間視窗內資料點的總數。", + "delta-calculation": "差值計算", + "enable-delta-calculation": "啟用差值計算", + "enable-delta-calculation-hint": "啟用後,資料鍵的值將根據選定時間視窗和指定比較週期的彙總值進行計算。出於效能考慮,差值計算僅適用於歷史時間視窗,不適用於即時值。例如,您可以計算昨天的能耗與前天的能耗之間的差值。", + "delta-calculation-result": "差值計算結果", + "delta-calculation-result-previous-value": "前一個值", + "delta-calculation-result-delta-absolute": "差值(數值)", + "delta-calculation-result-delta-percent": "差值(百分比)", + "source": "來源", + "latest": "最新", + "latest-value": "最新值", + "delta": "差值", + "percent": "百分比", + "absolute": "數值" }, "datasource": { - "type": "資料源類型", - "name": "資料源名稱", + "type": "資料來源類型", + "name": "名稱", "label": "標籤", - "add-datasource-prompt": "請增加資料源" + "add-datasource-prompt": "請新增資料來源" }, "details": { - "details": "詳細資訊", + "details": "詳細資料", "edit-mode": "編輯模式", - "edit-json": "編輯JSON", + "edit-json": "編輯 JSON", "toggle-edit-mode": "切換編輯模式" }, "device": { - "ai-assistant-initial-prompt-placeholder": "描述您想要設定的內容...", - "ai-assistant-example-connect-label": "連接我的設備", - "ai-assistant-example-connect-message": "幫我把我的一台設備連接到平台,讓它開始傳送真實的遙測資料。", - "device": "設備", - "device-required": "設備必填", - "devices": "設備", - "management": "設備管理", - "view-devices": "查看設備", - "device-alias": "設備別名", - "device-type-max-length": "設備類型應小於256", - "aliases": "設備別名", - "no-alias-matching": "'{{alias}}' 沒有找到。", + "device": "裝置", + "device-required": "裝置為必填項。", + "devices": "裝置", + "management": "裝置管理", + "view-devices": "檢視裝置", + "device-alias": "裝置別名", + "device-type-max-length": "裝置類型應少於 256 個字元", + "aliases": "裝置別名", + "no-alias-matching": "找不到「{{alias}}」。", "no-aliases-found": "找不到別名。", - "no-key-matching": "'{{key}}' 沒有找到。", - "no-keys-found": "找不到密鑰。", - "create-new-alias": "建立一個新的!", - "create-new-key": "建立一個新的!", - "duplicate-alias-error": "找到重複別名 '{{alias}}'。
    設備別名必須是唯一的。", - "configure-alias": "配置 '{{alias}}' 別名", - "no-devices-matching": "找不到與 '{{entity}}' 符合的設備。", + "no-key-matching": "找不到「{{key}}」。", + "no-keys-found": "找不到資料鍵。", + "create-new-alias": "建立新別名!", + "create-new-key": "建立新鍵!", + "duplicate-alias-error": "發現重複別名「{{alias}}」。
    裝置別名在儀表板內必須唯一。", + "configure-alias": "設定「{{alias}}」別名", + "no-devices-matching": "找不到符合「{{entity}}」的裝置。", "alias": "別名", - "alias-required": "需要設備別名。", - "remove-alias": "刪除設備別名", - "add-alias": "增加設備別名", - "name-starts-with": "名稱前綴", - "help-text": "根據需要使用'%': '%device_name_contains%', '%device_name_ends', 'device_starts_with'。", - "device-list": "設備列表", - "use-device-name-filter": "使用過濾器", - "device-list-empty": "沒有被選中的設備", - "device-name-filter-required": "設備名稱過濾器必填。", - "device-name-filter-no-device-matched": "找不到以'{{device}}' 開頭的設備。", - "add": "增加設備", - "assign-to-customer": "分配給客戶", - "assign-device-to-customer": "將設備分配給客戶", - "assign-device-to-customer-text": "請選擇要分配給客戶的設備", - "assign-device-to-edge-title": "將設備分配給邊緣", - "assign-device-to-edge-text": "請選擇要分配給邊緣的設備", - "make-public": "公開", - "make-private": "私有", - "no-devices-text": "找不到設備", - "assign-to-customer-text": "請選擇客戶分配設備", - "device-details": "設備詳細訊息", - "add-device-text": "增加新設備", - "credentials": "憑據", - "manage-credentials": "管理憑據", - "delete": "刪除設備", - "assign-devices": "分配設備", - "assign-devices-text": "將{count,plural, =1 {1 設備} other {# 設備} }分配給客戶", - "delete-devices": "刪除設備", - "unassign-from-customer": "取消分配客戶", - "unassign-devices": "取消分配設備", - "unassign-devices-action-title": "從客戶處取消分配{count,plural, =1 {1 設備} other {# 設備} }", - "unassign-device-from-edge-title": "您確定要取消分配設備'{{deviceName}}'嗎?", - "unassign-device-from-edge-text": "確認後,設備將被取消分配,邊緣將無法訪問。", - "unassign-devices-from-edge": "從邊緣取消分配設備", - "assign-new-device": "分配新設備", - "make-public-device-title": "您確定要將設備 '{{deviceName}}' 設為公開嗎?", - "make-public-device-text": "確認後,設備及其所有資料將被設為公開並可被其他人存取。", - "make-private-device-title": "您確定要將設備 '{{deviceName}}' 設為私有嗎?", - "make-private-device-text": "確認後,設備及其所有資料將被設為私有,不被其他人存取。", - "view-credentials": "查看憑據", - "delete-device-title": "您確定要刪除設備的{{deviceName}}嗎?", - "delete-device-text": "小心!確認後設備及其所有相關資料將無法恢復。", - "delete-devices-title": "您確定要刪除{count,plural, =1 {1 設備} other {# 設備} } 嗎?", - "delete-devices-action-title": "刪除 {count,plural, =1 {1 設備} other {# 設備} }", - "delete-devices-text": "小心!確認後所有選擇的設備將被刪除,所有相關資料將無法恢復。", - "unassign-device-title": "您確定要取消分配設備 '{{deviceName}}'?", - "unassign-device-text": "確認後,設備將被取消分配,客戶將無法存取。", - "unassign-device": "取消分配設備", - "unassign-devices-title": "您確定要取消分配{count,plural, =1 {1 設備} other {# 設備} } 嗎?", - "unassign-devices-text": "確認後,所有選擇的設備將被取消分配,並且客戶將無法存取。", - "device-credentials": "設備憑據", - "loading-device-credentials": "正在加載設備憑據...", - "credentials-type": "憑據類型", - "access-token": "存取", - "access-token-required": "需要存取token", - "access-token-invalid": "存取token長度必須為1到32個字符。", - "certificate-pem-format": "PEM格式的憑據", - "certificate-pem-format-required": "需要憑據", + "alias-required": "裝置別名為必填項。", + "remove-alias": "移除裝置別名", + "add-alias": "新增裝置別名", + "name-starts-with": "裝置名稱表示式", + "help-text": "根據需要使用「%」:「%device_name_contains%」、「%device_name_ends」、「device_starts_with%」。", + "device-list": "裝置清單", + "use-device-name-filter": "使用篩選器", + "device-list-empty": "未選擇裝置。", + "device-name-filter-required": "裝置名稱篩選器為必填項。", + "device-name-filter-no-device-matched": "找不到以「{{device}}」開頭的裝置。", + "add": "新增裝置", + "assign-to-customer": "指派給客戶", + "assign-device-to-customer": "將裝置指派給客戶", + "assign-device-to-customer-text": "請選擇要指派給客戶的裝置", + "assign-device-to-edge-title": "將裝置指派給 Edge", + "assign-device-to-edge-text": "請選擇要指派給 Edge 的裝置", + "make-public": "公開裝置", + "make-private": "將裝置設為私有", + "no-devices-text": "找不到裝置", + "assign-to-customer-text": "請選擇要指派裝置的客戶", + "device-details": "裝置詳細資料", + "add-device-text": "新增裝置", + "credentials": "認證資訊", + "manage-credentials": "管理認證資訊", + "delete": "刪除裝置", + "assign-devices": "指派裝置", + "assign-devices-text": "將 { count, plural, =1 {1 個裝置} other {# 個裝置} }指派給客戶", + "delete-devices": "刪除裝置", + "unassign-from-customer": "從客戶取消指派", + "unassign-devices": "取消指派裝置", + "unassign-devices-action-title": "取消指派客戶的 { count, plural, =1 {1 個裝置} other {# 個裝置} }", + "unassign-device-from-edge-title": "確定要取消指派裝置「{{deviceName}}」嗎?", + "unassign-device-from-edge-text": "確認後裝置將被取消指派,Edge 將無法存取。", + "unassign-devices-from-edge": "從 Edge 取消指派裝置", + "assign-new-device": "指派新裝置", + "make-public-device-title": "確定要將裝置「{{deviceName}}」設為公開嗎?", + "make-public-device-text": "確認後裝置及其所有資料將設為公開,其他人可存取。", + "make-private-device-title": "確定要將裝置「{{deviceName}}」設為私有嗎?", + "make-private-device-text": "確認後裝置及其所有資料將設為私有,其他人將無法存取。", + "view-credentials": "檢視認證資訊", + "delete-device-title": "刪除裝置「{{deviceName}}」?", + "delete-device-text": "請注意,確認後裝置及所有相關資料將無法恢復。", + "delete-devices-title": "確定要刪除 { count, plural, =1 {1 個裝置} other {# 個裝置} }嗎?", + "delete-devices-action-title": "刪除 { count, plural, =1 {1 個裝置} other {# 個裝置} }", + "delete-devices-text": "請注意,確認後所有選取的裝置將被移除,所有相關資料將無法恢復。", + "unassign-device-title": "確定要取消指派裝置「{{deviceName}}」嗎?", + "unassign-device-text": "確認後裝置將被取消指派,客戶將無法存取。", + "unassign-device": "取消指派裝置", + "unassign-devices-title": "確定要取消指派 { count, plural, =1 {1 個裝置} other {# 個裝置} }嗎?", + "unassign-devices-text": "確認後所有選取的裝置將被取消指派,客戶將無法存取。", + "device-credentials": "裝置認證資訊", + "loading-device-credentials": "正在載入裝置認證資訊...", + "credentials-type": "認證資訊類型", + "access-token": "存取權杖", + "access-token-required": "存取權杖為必填項。", + "access-token-invalid": "存取權杖長度必須在 1 到 32 個字元之間。", + "certificate-pem-format": "PEM 格式憑證", + "certificate-pem-format-required": "憑證為必填項。", "lwm2m-security-config": { - "identity": "客戶端身份", - "identity-required": "需要客戶端身份", - "identity-tooltip": "如標準[RFC7925]中所述,PSK識別字是任意的PSK識別字,最多128位元組。.\n PSK識別字必須首先轉換成字串,然後使用UTF-8編碼為八位位元組。", - "client-key": "客戶端金鑰", - "client-key-required": "需要客戶端金鑰。", - "client-key-tooltip-prk": "PRK公鑰或id必須採用標準[RFC7250]並編碼為Base64格式!", - "client-key-tooltip-psk": "PSK密鑰必須採用標準[RFC4279]和HexDec格式:32、64、128個字元!", - "endpoint": "端點客戶端名稱", - "endpoint-required": "需要端點客戶端名稱", - "client-public-key": "客戶端公鑰", - "client-public-key-hint": "如果客戶端公鑰為空,則使用可信憑據", - "client-public-key-tooltip": "X509公鑰必須是DER編碼的X509v3格式,並且只支持EC算法,然後編碼成Base64格式!", - "mode": "安全配置模式", - "client-tab": "客戶端安全配置", - "client-certificate": "客戶端憑據", - "bootstrap-tab": "Bootstrap客戶端", - "bootstrap-server": "Bootstrap伺服器", - "lwm2m-server": "LwM2M伺服器", - "client-publicKey-or-id": "客戶端公鑰或Id", - "client-publicKey-or-id-required": "需要客戶端公鑰或Id", - "client-publicKey-or-id-tooltip-psk": "如標準[RFC7925]中所述,PSK識別字是最多128位元組的任意PSK識別字。\n PSK識別字首先必須先轉換為字串,然後使用UTF-8編碼為八位位元組。", - "client-publicKey-or-id-tooltip-rpk": "RPK公鑰或id必須採用標準[RFC7250]並編碼為Base64格式!", - "client-publicKey-or-id-tooltip-x509": "X509公鑰必須是DER編碼的X509v3格式,並且只支持EC算法,然後編碼為Base64格式", - "client-secret-key": "客戶端密鑰", - "client-secret-key-required": "需要客戶端密鑰", - "client-secret-key-tooltip-psk": "PSK密鑰必須採用標準[RFC4279]和HexDec格式: 32、64、128個字元!", - "client-secret-key-tooltip-prk": "RPK密鑰必須是PKCS_8格式 (DER 編碼,標準[RFC5958]) ,然後編碼為Base64格式!", - "client-secret-key-tooltip-x509": "X509密鑰必須是PKCS_8格式(DER編碼,標準[RFC5958]),然後編碼為Base64格式!" - }, - "client-id": "客戶ID", + "identity": "用戶端身分", + "identity-required": "用戶端身分為必填項。", + "identity-tooltip": "PSK 識別碼是最多 128 位元組的任意 PSK 識別碼,如標準 [RFC7925] 所述。\nPSK 識別碼必須先轉換為字串,然後使用 UTF-8 編碼為八位元組。", + "client-key": "用戶端金鑰", + "client-key-required": "用戶端金鑰為必填項。", + "client-key-tooltip-prk": "RPK 公鑰或識別碼必須符合標準 [RFC7250] 並編碼為 Base64 格式!", + "client-key-tooltip-psk": "PSK 金鑰必須符合標準 [RFC4279] 且為 HexDec 格式:32、64、128 字元!", + "endpoint": "端點用戶端名稱", + "endpoint-required": "端點用戶端名稱為必填項。", + "client-public-key": "用戶端公鑰", + "client-public-key-hint": "如果用戶端公鑰為空,將使用受信任的憑證", + "client-public-key-tooltip": "X509 公鑰必須為 DER 編碼的 X509v3 格式,僅支援 EC 演算法,然後編碼為 Base64 格式!", + "mode": "安全設定模式", + "client-tab": "用戶端安全設定", + "client-certificate": "用戶端憑證", + "bootstrap-tab": "Bootstrap 用戶端", + "bootstrap-server": "Bootstrap 伺服器", + "lwm2m-server": "LwM2M 伺服器", + "client-publicKey-or-id": "用戶端公鑰或識別碼", + "client-publicKey-or-id-required": "用戶端公鑰或識別碼為必填項。", + "client-publicKey-or-id-tooltip-psk": "PSK 識別碼是最多 128 位元組的任意 PSK 識別碼,如標準 [RFC7925] 所述。\nPSK 識別碼必須先轉換為字串,然後使用 UTF-8 編碼為八位元組。", + "client-publicKey-or-id-tooltip-rpk": "RPK 公鑰或識別碼必須符合標準 [RFC7250] 並編碼為 Base64 格式!", + "client-publicKey-or-id-tooltip-x509": "X509 公鑰必須為 DER 編碼的 X509v3 格式,僅支援 EC 演算法,然後編碼為 Base64 格式", + "client-secret-key": "用戶端金鑰", + "client-secret-key-required": "用戶端金鑰為必填項。", + "client-secret-key-tooltip-psk": "PSK 金鑰必須符合標準 [RFC4279] 且為 HexDec 格式:32、64、128 字元!", + "client-secret-key-tooltip-prk": "RPK 金鑰必須為 PKCS_8 格式(DER 編碼,標準 [RFC5958]),然後編碼為 Base64 格式!", + "client-secret-key-tooltip-x509": "X509 金鑰必須為 PKCS_8 格式(DER 編碼,標準 [RFC5958]),然後編碼為 Base64 格式!", + "client-reboot": "註冊更新觸發器", + "bootstrap-reboot": "Bootstrap 請求觸發器" + }, + "client-id": "用戶端識別碼", "client-id-pattern": "包含無效字元。", - "user-name": "用戶名稱", - "user-name-required": "需要用戶名稱。", - "client-id-or-user-name-necessary": "客戶ID和/或用戶名是必須的", + "user-name": "使用者名稱", + "user-name-required": "使用者名稱為必填項。", + "client-id-or-user-name-necessary": "請至少填寫用戶端識別碼或使用者名稱其中一項", "password": "密碼", - "secret": "密鑰", - "secret-required": "密鑰必填", - "device-type": "設備類型", - "device-type-required": "設備類型必填。", - "select-device-type": "選擇設備類型", - "enter-device-type": "輸入設備類型", - "any-device": "任意設備", - "no-device-types-matching": "沒有找到符合 '{{entitySubtype}}' 的設備類型。", - "device-type-list-empty": "未選擇設備類型", - "device-types": "設備類型", + "secret": "金鑰", + "secret-required": "金鑰為必填項。", + "device-type": "裝置設定檔", + "device-type-required": "裝置類型為必填項。", + "select-device-type": "選擇裝置類型", + "enter-device-type": "輸入裝置設定檔", + "any-device": "任意裝置", + "no-device-types-matching": "找不到符合「{{entitySubtype}}」的裝置設定檔。", + "device-type-list-empty": "未選擇裝置設定檔!", + "device-types": "裝置類型", "name": "名稱", - "name-required": "名稱必填。", - "name-max-length": "名稱應小於256", - "label-max-length": "標籤應小於256", - "description": "說明", + "name-required": "名稱為必填項。", + "name-max-length": "名稱應少於 256 個字元", + "label-max-length": "標籤應少於 256 個字元", + "description": "描述", "label": "標籤", "events": "事件", - "details": "詳細訊息", - "copyId": "複製設備ID", - "copyAccessToken": "複製存取token", - "copy-mqtt-authentication": "複製MQTT憑據", - "idCopiedMessage": "設備ID已複製到剪貼板", - "accessTokenCopiedMessage": "設備存取token已複製到剪貼板", - "mqtt-authentication-copied-message": "設備MQTT身份驗證已複製到剪貼板", - "assignedToCustomer": "分配給客戶", - "unable-delete-device-alias-title": "無法刪除設備別名", - "unable-delete-device-alias-text": "設備別名 '{{deviceAlias}}' 不能夠被刪除,因為它被下列部件所使用:
    {{widgetsList}}", - "is-gateway": "是閘道", - "overwrite-activity-time": "覆蓋已連接設備的活動時間", + "details": "詳細資料", + "copyId": "複製裝置識別碼", + "copyAccessToken": "複製存取權杖", + "copy-mqtt-authentication": "複製 MQTT 認證資訊", + "idCopiedMessage": "裝置識別碼已複製到剪貼簿", + "accessTokenCopiedMessage": "裝置存取權杖已複製到剪貼簿", + "mqtt-authentication-copied-message": "裝置 MQTT 認證資訊已複製到剪貼簿", + "assignedToCustomer": "已指派給客戶", + "unable-delete-device-alias-title": "無法刪除裝置別名", + "unable-delete-device-alias-text": "裝置別名「{{deviceAlias}}」無法刪除,因為以下小工具正在使用它:
    {{widgetsList}}", + "is-gateway": "閘道器", + "overwrite-activity-time": "覆蓋已連線裝置的活動時間", "public": "公開", - "device-public": "設備公開", - "select-device": "選擇設備", - "import": "匯入設備", - "device-file": "設備文件", - "search": "搜尋設備", - "selected-devices": "{ count, plural, =1 {1 設備} other {# 設備} }被選中", - "device-configuration": "設備配置", - "transport-configuration": "傳輸配置", + "device-public": "裝置已公開", + "select-device": "選擇裝置", + "import": "匯入裝置", + "device-file": "裝置檔案", + "search": "搜尋裝置", + "selected-devices": "已選擇 { count, plural, =1 {1 個裝置} other {# 個裝置} }", + "device-configuration": "裝置設定", + "transport-configuration": "傳輸設定", "wizard": { - "device-details": "設備詳情" + "device-details": "裝置詳細資料" + }, + "unassign-devices-from-edge-title": "確定要取消指派 { count, plural, =1 {1 個裝置} other {# 個裝置} }嗎?", + "unassign-devices-from-edge-text": "確認後所有選取的裝置將被取消指派,Edge 將無法存取。", + "copy-access-token": "複製存取權杖", + "copy-certificate": "複製憑證", + "copy-client-id": "複製用戶端識別碼", + "copy-user-name": "複製使用者名稱", + "copy-password": "複製密碼", + "generate-client-id": "產生用戶端識別碼", + "generate-user-name": "產生使用者名稱", + "generate-password": "產生密碼", + "generate-access-token": "產生存取權杖", + "device-profile-type-list-empty": "至少應選擇一個裝置設定檔。", + "device-filter-title": "裝置篩選器", + "filter-title": "篩選器", + "device-state": "裝置狀態", + "state": "狀態", + "any": "任意", + "active": "活躍", + "inactive": "不活躍", + "time": "時間", + "connectivity": { + "check-connectivity": "檢查連線", + "device-created-check-connectivity": "裝置已建立。讓我們檢查連線!", + "loading-check-connectivity-command": "正在載入檢查連線命令...", + "use-following-instructions": "使用以下說明透過 shell 代表裝置傳送遙測資料", + "execute-following-command": "執行以下命令", + "install-curl-windows": "從 Windows 10 b17063 開始,cURL 預設可用", + "install-curl-macos": "從 Mac OS X 10.2 6C115 (Jaguar) 開始,cURL 預設可用", + "install-mqtt-windows": "使用說明下載、安裝、設定和執行 mosquitto_pub", + "install-coap-client": "使用說明下載、安裝、設定和執行 coap-client", + "install-necessary-client-tools": "安裝必要的用戶端工具", + "mqtts-x509-command": "使用以下文件透過 MQTT 及 X509 授權連線裝置", + "coaps-x509-command": "使用以下文件透過 CoAP over DTLS 及 X509 授權連線裝置", + "snmp-command": "使用以下文件透過 SNMP 連線裝置。", + "sparkplug-command": "使用以下文件透過 MQTT Sparkplug 連線裝置。", + "lwm2m-command": "使用以下文件透過 LWM2M 連線裝置。", + "step-execute-following-command": "步驟 2:執行下列命令", + "step-install-necessary-client-tools": "步驟 1:安裝必要的用戶端工具" }, - "unassign-devices-from-edge-title": "您確定要解除邊緣設備 { count, plural, =1 {1 device} other {# devices} }的指定嗎?", - "unassign-devices-from-edge-text": "確認後邊緣指定設備將解除指定及其所有相關資料將無法恢復。" + "ai-assistant-initial-prompt-placeholder": "描述您想要設定的內容...", + "ai-assistant-example-connect-label": "連接我的裝置", + "ai-assistant-example-connect-message": "幫我將其中一個裝置連接到平台,讓它開始傳送實際的遙測資料。", + "all": "全部", + "all-devices": "所有裝置", + "groups": "群組", + "shared": "共用", + "select-group-to-add": "選擇要加入所選裝置的目標群組", + "select-group-to-move": "選擇要移入所選裝置的目標群組", + "remove-devices-from-group": "確定要從群組「'{{entityGroup}}'」移除 { count, plural, =1 {1 個裝置} other {# 個裝置} }嗎?", + "group": "裝置群組", + "list-of-groups": "{ count, plural, =1 {1 個裝置群組} other {# 個裝置群組的清單} }", + "group-name-starts-with": "名稱以「{{prefix}}」開頭的裝置群組" }, "asset-profile": { - "asset-profile": "Asset profile", - "asset-profiles": "Asset profiles", - "all-asset-profiles": "All", - "add": "Add asset profile", - "edit": "Edit asset profile", - "asset-profile-details": "Asset profile details", - "no-asset-profiles-text": "No asset profiles found", - "search": "Search asset profiles", - "selected-asset-profiles": "{ count, plural, =1 {1 asset profile} other {# asset profiles} } selected", - "no-asset-profiles-matching": "No asset profile matching '{{entity}}' were found.", - "asset-profile-required": "Asset profile is required", - "idCopiedMessage": "Asset profile Id has been copied to clipboard", - "set-default": "Make asset profile default", - "delete": "Delete asset profile", - "copyId": "Copy asset profile Id", - "name-max-length": "Name should be less than 256", - "new-device-profile-name": "Asset profile name", - "new-device-profile-name-required": "Asset profile name is required.", - "name": "Name", - "name-required": "Name is required.", - "image": "Asset profile image", - "description": "Description", - "default": "Default", - "default-rule-chain": "Default rule chain", - "mobile-dashboard": "Mobile dashboard", - "mobile-dashboard-hint": "Used by mobile application as a asset details dashboard", - "select-queue-hint": "Select from a drop-down list.", - "delete-asset-profile-title": "Are you sure you want to delete the asset profile '{{assetProfileName}}'?", - "delete-asset-profile-text": "Be careful, after the confirmation the asset profile and all related data will become unrecoverable.", - "delete-asset-profiles-title": "Are you sure you want to delete { count, plural, =1 {1 asset profile} other {# asset profiles} }?", - "delete-asset-profiles-text": "Be careful, after the confirmation all selected asset profiles will be removed and all related data will become unrecoverable.", - "set-default-asset-profile-title": "Are you sure you want to make the asset profile '{{assetProfileName}}' default?", - "set-default-asset-profile-text": "After the confirmation the asset profile will be marked as default and will be used for new assets with no profile specified.", - "no-asset-profiles-found": "No asset profiles found.", - "create-new-asset-profile": "Create a new one!", - "create-asset-profile": "Create new asset profile", - "import": "Import asset profile", - "export": "Export asset profile", - "export-failed-error": "Unable to export asset profile: {{error}}", - "asset-profile-file": "Asset profile file", - "invalid-asset-profile-file-error": "Unable to import asset profile: Invalid asset profile data structure." + "asset-profile": "資產設定檔", + "asset-profiles": "資產設定檔", + "all-asset-profiles": "全部", + "add": "新增資產設定檔", + "edit": "編輯資產設定檔", + "asset-profile-details": "資產設定檔詳細資料", + "no-asset-profiles-text": "找不到資產設定檔", + "search": "搜尋資產設定檔", + "selected-asset-profiles": "已選擇 { count, plural, =1 {1 個資產設定檔} other {# 個資產設定檔} }", + "no-asset-profiles-matching": "找不到符合「{{entity}}」的資產設定檔。", + "asset-profile-required": "資產設定檔為必填項", + "idCopiedMessage": "資產設定檔識別碼已複製到剪貼簿", + "set-default": "設為預設資產設定檔", + "delete": "刪除資產設定檔", + "copyId": "複製資產設定檔識別碼", + "name-max-length": "名稱應少於 256 個字元", + "new-device-profile-name": "資產設定檔名稱", + "new-device-profile-name-required": "資產設定檔名稱為必填項。", + "name": "名稱", + "name-required": "名稱為必填項。", + "image": "資產設定檔圖片", + "description": "描述", + "default": "預設", + "default-rule-chain": "預設規則鏈", + "mobile-dashboard": "行動裝置端儀表板", + "mobile-dashboard-hint": "在行動應用程式中顯示資產詳細資料的儀表板", + "select-queue-hint": "從下拉選單中選擇。", + "delete-asset-profile-title": "確定要刪除資產設定檔「{{assetProfileName}}」嗎?", + "delete-asset-profile-text": "請注意,確認後資產設定檔及所有相關資料將無法恢復。", + "delete-asset-profiles-title": "確定要刪除 { count, plural, =1 {1 個資產設定檔} other {# 個資產設定檔} }嗎?", + "delete-asset-profiles-text": "請注意,確認後所有選取的資產設定檔將被移除,所有相關資料將無法恢復。", + "set-default-asset-profile-title": "確定要將資產設定檔「{{assetProfileName}}」設為預設嗎?", + "set-default-asset-profile-text": "確認後資產設定檔將被標記為預設,並用於未指定設定的新資產。", + "no-asset-profiles-found": "找不到資產設定檔。", + "create-new-asset-profile": "建立新資產設定檔!", + "create-asset-profile": "建立新資產設定檔", + "import": "匯入資產設定檔", + "export": "匯出資產設定檔", + "export-failed-error": "無法匯出資產設定檔:{{error}}", + "asset-profile-file": "資產設定檔", + "invalid-asset-profile-file-error": "無法匯入資產設定檔:資產設定檔資料結構無效。", + "default-edge-rule-chain": "預設 Edge 規則鏈", + "default-edge-rule-chain-hint": "在 Edge 上處理所屬資產資料的規則鏈" }, "device-profile": { - "device-profile": "設備協議", - "device-profiles": "設備協議", + "device-profile": "裝置設定檔", + "device-profiles": "裝置設定檔", "all-device-profiles": "全部", - "add": "增加設備協議", - "edit": "編輯設備協議", - "device-profile-details": "設備協議詳情", - "no-device-profiles-text": "未找到設備協議文件", - "search": "搜尋設備協議", - "selected-device-profiles": "{ count, plural, =1 {1 設備協議} other {# 設備協議} }被選中", - "no-device-profiles-matching": "未找到與 '{{entity}}'匹配的設備協議。", - "device-profile-required": "需要設備協議", - "idCopiedMessage": "設備協議Id已複製到剪貼板", - "set-default": "將設備協議設為預設", - "delete": "刪除設備協議", - "copyId": "複製設備協議Id", - "name-max-length": "名稱應小於256", + "add": "新增裝置設定檔", + "edit": "編輯裝置設定檔", + "device-profile-details": "裝置設定檔詳細資料", + "no-device-profiles-text": "找不到裝置設定檔", + "search": "搜尋裝置設定檔", + "selected-device-profiles": "已選擇 { count, plural, =1 {1 個裝置設定檔} other {# 個裝置設定檔} }", + "no-device-profiles-matching": "找不到與「{{entity}}」符合的裝置設定檔。", + "device-profile-required": "裝置設定檔為必填項", + "idCopiedMessage": "裝置設定檔識別碼已複製到剪貼簿", + "set-default": "設為預設裝置設定檔", + "delete": "刪除裝置設定檔", + "copyId": "複製裝置設定檔識別碼", + "name-max-length": "名稱應少於 256 個字元", "name": "名稱", - "name-required": "需要名稱", - "type": "協議類型", - "type-required": "需要協議類型。", + "name-required": "名稱為必填項。", + "type": "設定檔類型", + "type-required": "請選擇設定檔類型。", "type-default": "預設", - "image": "設備協議圖像", + "image": "裝置設定檔圖片", "transport-type": "傳輸類型", - "transport-type-required": "需要傳輸類型。", + "transport-type-required": "傳輸類型為必填項。", "transport-type-default": "預設", - "transport-type-default-hint": "支持基本的MQTT、HTTP和CoAP 傳輸", + "transport-type-default-hint": "支援基本 MQTT、HTTP 和 CoAP 傳輸", "transport-type-mqtt": "MQTT", - "transport-type-mqtt-hint": "啟用進階MQTT傳輸設定", + "transport-type-mqtt-hint": "啟用進階 MQTT 傳輸設定", "transport-type-coap": "CoAP", - "transport-type-coap-hint": "啟用進階CoAP傳輸設定", + "transport-type-coap-hint": "啟用進階 CoAP 傳輸設定", "transport-type-lwm2m": "LWM2M", - "transport-type-lwm2m-hint": "LWM2M傳輸類型", + "transport-type-lwm2m-hint": "LWM2M 傳輸類型", "transport-type-snmp": "SNMP", - "transport-type-snmp-hint": "指定SNMP傳輸配置", + "transport-type-snmp-hint": "指定 SNMP 傳輸設定", "description": "描述", "default": "預設", - "profile-configuration": "屬性配置", - "transport-configuration": "傳輸配置", + "profile-configuration": "設定檔組態", + "transport-configuration": "傳輸設定", "default-rule-chain": "預設規則鏈", - "mobile-dashboard": "移動儀表板", - "mobile-dashboard-hint": "由移動應用程序用作設備詳情儀表板", - "select-queue-hint": "從下拉列表中選擇。", - "delete-device-profile-title": "您確定要刪除 '{{deviceProfileName}}' 設備協議嗎?", - "delete-device-profile-text": "小心!確認後此設備協議及其OTA更新的相關資料將無法恢復。", - "delete-device-profiles-title": "您確定要刪除設備協議標題嗎{ count, plural, =1 {1 設備協議} other {# 設備協議} }?", - "delete-device-profiles-text": "小心!確認後所有選擇的設備協議及其OTA更新的相關資料將無法恢復。", - "set-default-device-profile-title": "您確定要將 '{{deviceProfileName}}' 設為設備協議預設值嗎?", - "set-default-device-profile-text": "確認後此預設值將將做爲未指定的新設備協議。", - "no-device-profiles-found": "未找到設備協議文件", - "create-new-device-profile": "建立一個新的!", - "mqtt-device-topic-filters": "MQTT設備主題過濾", - "mqtt-device-topic-filters-unique": "MQTT設備主題過濾必須為唯一值", - "mqtt-device-payload-type": "MQTT設備内容", + "mobile-dashboard": "行動裝置端儀表板", + "mobile-dashboard-hint": "行動應用程式使用此儀表板作為裝置詳細資料儀表板", + "select-queue-hint": "從下拉選單中選擇。", + "delete-device-profile-title": "確定要刪除裝置設定檔「{{deviceProfileName}}」嗎?", + "delete-device-profile-text": "請注意,確認後裝置設定檔及所有相關資料(包括關聯的 OTA 更新)將無法恢復。", + "delete-device-profiles-title": "確定要刪除 { count, plural, =1 {1 個裝置設定檔} other {# 個裝置設定檔} }嗎?", + "delete-device-profiles-text": "請注意,確認後所有選取的裝置設定檔將被移除,所有相關資料(包括關聯的 OTA 更新)將無法恢復。", + "set-default-device-profile-title": "確定要將裝置設定檔「{{deviceProfileName}}」設為預設嗎?", + "set-default-device-profile-text": "確認後,該裝置設定檔將被標記為預設,並將用於未指定設定的新裝置。", + "no-device-profiles-found": "找不到裝置設定檔。", + "create-new-device-profile": "建立新裝置設定檔!", + "mqtt-device-topic-filters": "MQTT 裝置主題篩選器", + "mqtt-device-topic-filters-unique": "MQTT 裝置主題篩選器必須唯一。", + "mqtt-device-payload-type": "MQTT 裝置承載資料", "mqtt-device-payload-type-json": "JSON", "mqtt-device-payload-type-proto": "Protobuf", - "mqtt-enable-compatibility-with-json-payload-format": "啟用與其他内容格式的相容性", - "mqtt-enable-compatibility-with-json-payload-format-hint": "啟用後,平台將預設使用Protobuf内容。如果解析失敗,平台將嘗試使用JSON内容格式。在靭體更新期間對向後相容很有用。例如,初始版本的靭體使用Json,而新版本則使用Protobuf。在設備群的靭體新過程中,需要同時支援Protobuf和JSON。相容性模式會帶來輕微的性能下降,因此建議在所有設備都更新後禁用該模式。", - "mqtt-use-json-format-for-default-downlink-topics": "使用Json格式做爲預設的下行主題", - "mqtt-use-json-format-for-default-downlink-topics-hint": "啟用後,平台將使用Json有效負載格式通過以下主題推送屬性和RPC:v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id。此設置不會影響使用新(v2)主題發送的屬性和rpc訂閱: v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id。其中 $request_id是一個整數請求識別字。", - "mqtt-send-ack-on-validation-exception": "在PUBLISH消息驗證失敗時發送PUBACK", - "mqtt-send-ack-on-validation-exception-hint": "預設情況下,平台將在消息驗證失敗時關閉MQTT會談。當啟用時,平台將發送發佈確認,而非關閉會談。", - "snmp-add-mapping": "增加SNMP映射", - "snmp-mapping-not-configured": "未配置OID到時間序列/遙測的映射", - "snmp-timseries-or-attribute-name": "映射的時間序列/屬性名稱", - "snmp-timseries-or-attribute-type": "映射的時間序列/屬性類型", + "mqtt-enable-compatibility-with-json-payload-format": "啟用與其他承載資料格式的相容性。", + "mqtt-enable-compatibility-with-json-payload-format-hint": "啟用後,平台將預設使用 Protobuf 承載資料格式。如果解析失敗,平台將嘗試使用 JSON 承載資料格式。適用於韌體更新期間的向後相容性。例如,初始版本的韌體使用 Json,而新版本使用 Protobuf。在裝置群的韌體更新過程中,需要同時支援 Protobuf 和 JSON。相容模式會引入輕微的效能下降,因此建議在所有裝置更新完成後停用此模式。", + "mqtt-use-json-format-for-default-downlink-topics": "對預設下行主題使用 Json 格式", + "mqtt-use-json-format-for-default-downlink-topics-hint": "啟用後,平台將使用 Json 承載資料格式透過以下主題推送屬性和 RPC:v1/devices/me/attributes/response/$request_id、v1/devices/me/attributes、v1/devices/me/rpc/request/$request_id、v1/devices/me/rpc/response/$request_id。此設定不影響使用新 (v2) 主題傳送的屬性和 RPC 訂閱:v2/a/res/$request_id、v2/a、v2/r/req/$request_id、v2/r/res/$request_id。其中 $request_id 是整數請求識別碼。", + "mqtt-send-ack-on-validation-exception": "在 PUBLISH 訊息驗證失敗時傳送 PUBACK", + "mqtt-send-ack-on-validation-exception-hint": "預設情況下,平台在訊息驗證失敗時將關閉 MQTT 工作階段。啟用後,平台將傳送發布確認而不是關閉工作階段。", + "snmp-add-mapping": "新增 SNMP 對應", + "snmp-mapping-not-configured": "未設定 OID 到時間序列/遙測的對應", + "snmp-timseries-or-attribute-name": "對應的時間序列/屬性名稱", + "snmp-timseries-or-attribute-type": "對應的時間序列/屬性型別", "snmp-method-pdu-type-get-request": "GetRequest", "snmp-method-pdu-type-get-next-request": "GetNextRequest", "snmp-oid": "OID", "transport-device-payload-type-json": "JSON", "transport-device-payload-type-proto": "Protobuf", - "mqtt-payload-type-required": "需要負載類型", - "coap-device-type": "CoAP設備類型", - "coap-device-payload-type": "CoAP設備有效負載", - "coap-device-type-required": "需要CoAP設備類型。", + "mqtt-payload-type-required": "承載資料類型為必填項。", + "coap-device-type": "CoAP 裝置類型", + "coap-device-payload-type": "CoAP 裝置承載資料", + "coap-device-type-required": "CoAP 裝置類型為必填項。", "coap-device-type-default": "預設", "coap-device-type-efento": "Efento NB-IoT", - "support-level-wildcards": "支持單[+] 和多級[#]萬用字元。", - "telemetry-topic-filter": "遙測主題過濾器", - "telemetry-topic-filter-required": "需要遙測主題過濾器。", - "attributes-topic-filter": "屬性主題過濾器", - "attributes-topic-filter-required": "需要屬性主題過濾器。", - "telemetry-proto-schema": "遙測原型模式", - "telemetry-proto-schema-required": "需要遙測原型模式。", - "attributes-proto-schema": "屬性原型模式", - "attributes-proto-schema-required": "需要屬性原型模式。", - "rpc-response-proto-schema": "RPC響應原型模式", - "rpc-response-proto-schema-required": "需要RPC響應原型模式。", - "rpc-response-topic-filter": "RPC響應主題過濾器", - "rpc-response-topic-filter-required": "需要RPC響應主題過濾器。", - "rpc-request-proto-schema": "RPC請求原型模式", - "rpc-request-proto-schema-required": "需要RPC請求原型模式。", - "rpc-request-proto-schema-hint": "RPC請求訊息應該總是有字段:string method = 1; int32 requestId = 2; 和params = 3的任何資料類型。", - "not-valid-pattern-topic-filter": "無效的模式主題過濾器", - "not-valid-single-character": "單級萬用字元的使用無效", - "not-valid-multi-character": "多級萬用字元的使用無效", - "single-level-wildcards-hint": "[+]適用於任何主題過濾級別。例如 v1/devices/+/telemetry 或 +/devices/+/attributes。", - "multi-level-wildcards-hint": "[#]可以替換主題過濾器本身,並且必須是主題的最後一個符號。 例如: #或v1/devices/me/#。", - "alarm-rules": "警告規則", - "alarm-rules-with-count": "警告規則 ({{count}})", - "no-alarm-rules": "未配置警告規則", - "add-alarm-rule": "增加警告規則", - "edit-alarm-rule": "編輯警告規則", - "alarm-type": "警告類型", - "alarm-type-required": "需要警告類型。", - "alarm-type-unique": "警告類型必須為符合設備協議警告規則的唯一值", - "alarm-type-max-length": "警告類型應小於256。", - "create-alarm-pattern": "建立{{alarmType}}警告", - "create-alarm-rules": "建立警告規則", - "no-create-alarm-rules": "未配置創建條件", - "add-create-alarm-rule-prompt": "請添加建立警告規則", - "clear-alarm-rule": "清除警告規則", - "no-clear-alarm-rule": "未配置清除條件", - "add-create-alarm-rule": "增加建立條件", - "add-clear-alarm-rule": "增加清除條件", - "select-alarm-severity": "選擇警告嚴重性", - "alarm-severity-required": "需要警告嚴重性。", + "support-level-wildcards": "支援單級 [+] 和多級 [#] 萬用字元。", + "telemetry-topic-filter": "遙測主題篩選器", + "telemetry-topic-filter-required": "遙測主題篩選器為必填項。", + "attributes-topic-filter": "屬性發布主題篩選器", + "attributes-topic-filter-required": "屬性發布主題篩選器為必填項。", + "telemetry-proto-schema": "遙測 proto 結構描述", + "telemetry-proto-schema-required": "遙測 proto 結構描述為必填項。", + "attributes-proto-schema": "屬性 proto 結構描述", + "attributes-proto-schema-required": "屬性 proto 結構描述為必填項。", + "rpc-response-proto-schema": "RPC 回應 proto 結構描述", + "rpc-response-proto-schema-required": "RPC 回應 proto 結構描述為必填項。", + "rpc-response-topic-filter": "RPC 回應主題篩選器", + "rpc-response-topic-filter-required": "RPC 回應主題篩選器為必填項。", + "rpc-request-proto-schema": "RPC 請求 proto 結構描述", + "rpc-request-proto-schema-required": "RPC 請求 proto 結構描述為必填項。", + "rpc-request-proto-schema-hint": "RPC 請求訊息應始終包含以下欄位:string method = 1;int32 requestId = 2;以及任意資料型別的 params = 3。", + "not-valid-pattern-topic-filter": "無效的模式主題篩選器", + "not-valid-single-character": "單級萬用字元使用無效", + "not-valid-multi-character": "多級萬用字元使用無效", + "single-level-wildcards-hint": "[+] 適用於任何主題篩選器級別。例如:v1/devices/+/telemetry 或 +/devices/+/attributes。", + "multi-level-wildcards-hint": "[#] 可以替代主題篩選器本身,且必須是主題的最後一個符號。例如:# 或 v1/devices/me/#。", + "alarm-rules": "警報規則", + "alarm-rules-with-count": "警報規則 ({{count}})", + "no-alarm-rules": "未設定警報規則", + "add-alarm-rule": "新增警報規則", + "edit-alarm-rule": "編輯警報規則", + "alarm-type": "警報類型", + "alarm-type-required": "警報類型為必填項。", + "alarm-type-unique": "警報類型在裝置設定檔警報規則中必須唯一。", + "alarm-type-max-length": "警報類型應少於 256 個字元", + "create-alarm-pattern": "建立 {{alarmType}} 警報", + "create-alarm-rules": "建立警報規則", + "no-create-alarm-rules": "未設定建立條件", + "add-create-alarm-rule-prompt": "請新增建立警報規則", + "clear-alarm-rule": "清除警報規則", + "no-clear-alarm-rule": "未設定清除條件", + "add-create-alarm-rule": "新增建立條件", + "add-clear-alarm-rule": "新增清除條件", + "select-alarm-severity": "選擇警報嚴重程度", + "alarm-severity-required": "警報嚴重程度為必填項。", "condition-duration": "條件持續時間", "condition-duration-value": "持續時間值", "condition-duration-time-unit": "時間單位", - "condition-duration-value-range": "持續時間值應在1到2147483647的範圍內。", - "condition-duration-value-pattern": "持續時間值應該是整數。", - "condition-duration-value-required": "需要持續時間值。", - "condition-duration-time-unit-required": "需要時間單位。", + "condition-duration-value-range": "持續時間值應在 1 到 2147483647 的範圍內。", + "condition-duration-value-pattern": "持續時間值應為整數。", + "condition-duration-value-required": "持續時間值為必填項。", + "condition-duration-time-unit-required": "時間單位為必填項。", "advanced-settings": "進階設定", - "alarm-rule-additional-info-hint": "提示:使用${keyName}替換警告規則條件中使用的屬性或遙測鍵的值。", - "alarm-rule-mobile-dashboard": "移動儀表板", - "alarm-rule-mobile-dashboard-hint": "由移動應用程序用作警告詳情儀表板", + "alarm-rule-additional-info-hint": "提示:使用 ${keyName} 替換警報規則條件中使用的屬性或遙測鍵的值。", + "alarm-rule-mobile-dashboard": "行動裝置端儀表板", + "alarm-rule-mobile-dashboard-hint": "行動應用程式使用此儀表板作為警報詳細資料儀表板", "alarm-rule-no-mobile-dashboard": "未選擇儀表板", - "propagate-alarm": "傳播警告給相關實體", - "alarm-rule-relation-types-list": "要傳播的關聯類型", - "alarm-rule-relation-types-list-hint": "如果未選擇傳播關聯類型,則將在不按關聯類型過濾的情況下傳播警告。", - "propagate-alarm-to-owner": "傳播警告給相關實體擁有者", - "propagate-alarm-to-tenant": "傳播警告給租戶", - "alarm-rule-condition": "警告規則條件", - "enter-alarm-rule-condition-prompt": "請新增警告規則條件", - "edit-alarm-rule-condition": "編輯警告規則條件", - "device-provisioning": "設備佈建", - "provision-strategy": "設備佈建策略", - "provision-strategy-required": "設備佈建策略必填", - "provision-strategy-disabled": "關閉", - "provision-strategy-created-new": "允許建立新設備", - "provision-strategy-check-pre-provisioned": "檢視預先佈建設備", - "provision-device-key": "佈建設備金鑰", - "provision-device-key-required": "佈建設備金鑰必填", + "propagate-alarm": "將警報傳播到關聯實體", + "alarm-rule-relation-types-list": "關聯類型", + "alarm-rule-relation-types-list-hint": "定義關聯類型以篩選關聯實體。如果未設定,警報將傳播到所有關聯實體。", + "propagate-alarm-to-owner": "將警報傳播到實體所有者(客戶或租戶)", + "propagate-alarm-to-tenant": "將警報傳播到租戶", + "alarm-rule-condition": "警報規則條件", + "enter-alarm-rule-condition-prompt": "請新增警報規則條件", + "edit-alarm-rule-condition": "編輯警報規則條件", + "device-provisioning": "裝置佈建", + "provision-strategy": "佈建策略", + "provision-strategy-required": "請選擇佈建策略。", + "provision-strategy-disabled": "已停用", + "provision-strategy-created-new": "允許建立新裝置", + "provision-strategy-check-pre-provisioned": "檢查預先佈建的裝置", + "provision-device-key": "裝置佈建金鑰", + "provision-device-key-required": "請輸入裝置佈建金鑰。", "copy-provision-key": "複製佈建金鑰", - "provision-key-copied-message": "佈建金鑰已複製到剪貼板", - "provision-device-secret": "佈建設備密鑰", - "provision-device-secret-required": "佈建設備金鑰必填", - "copy-provision-secret": "複製佈建密鑰", - "provision-secret-copied-message": "佈建密鑰已複製到剪貼板", + "provision-key-copied-message": "佈建金鑰已複製到剪貼簿", + "provision-device-secret": "裝置佈建密碼", + "provision-device-secret-required": "請輸入裝置佈建密碼", + "copy-provision-secret": "複製佈建密碼", + "provision-secret-copied-message": "佈建密碼已複製到剪貼簿", "condition": "條件", "condition-type": "條件類型", - "condition-type-simple": "條件類型-簡易", - "condition-type-duration": "條件類型-期間", - "condition-during": "{{during}}期間", - "condition-during-dynamic": "在\"{{ attribute }}\" ({{during}})期間", - "condition-type-repeating": "條件類型-重複", - "condition-type-required": "條件類型必填", - "condition-repeating-value": "事件計數", - "condition-repeating-value-range": "事件計數應在1到2147483647的範圍內。", - "condition-repeating-value-pattern": "事件計數應該是整數", - "condition-repeating-value-required": "需要事件計數。", - "condition-repeat-times": "重複 { count, plural, =1 {1 次} other {# 次 } }", - "condition-repeat-times-dynamic": "重複 \"{ attribute }\" ({ count, plural, =1 {1 次} other {# 次} })", - "schedule-type": "排程類型", - "schedule-type-required": "排程類型必填", + "condition-type-simple": "簡單", + "condition-type-duration": "持續時間", + "condition-during": "持續 {{during}}", + "condition-during-dynamic": "持續時間取自屬性「{{ attribute }}」;預設:{{during}}", + "condition-type-repeating": "重複", + "condition-type-required": "條件類型為必填項。", + "condition-repeating-value": "事件次數", + "condition-repeating-value-range": "事件次數應在 1 到 2147483647 的範圍內。", + "condition-repeating-value-pattern": "事件次數應為整數。", + "condition-repeating-value-required": "事件次數為必填項。", + "condition-repeat-times": "重複 { count, plural, =1 {1 次} other {# 次} }", + "condition-repeat-times-dynamic": "重複次數取自屬性「{ attribute }」(預設:{ count, plural, =1 {1 次} other {# 次} })", + "schedule-type": "排程器類型", + "schedule-type-required": "排程器類型為必填項。", "schedule": "排程", - "edit-schedule": "編輯警告排程", - "schedule-any-time": "永久啟動", - "schedule-specific-time": "某時間啟動", - "schedule-custom": "客製排程", + "edit-schedule": "編輯警報排程", + "schedule-any-time": "全時段啟用", + "schedule-specific-time": "指定時段啟用", + "schedule-custom": "自訂", "schedule-day": { "monday": "星期一", "tuesday": "星期二", @@ -1403,1149 +1930,1702 @@ "thursday": "星期四", "friday": "星期五", "saturday": "星期六", - "sunday": "星期天" + "sunday": "星期日" }, - "schedule-days": "天", - "schedule-time": "次", + "schedule-days": "星期", + "schedule-time": "時間", "schedule-time-from": "從", "schedule-time-to": "到", - "schedule-days-of-week-required": "排程每周至少要選擇一天", - "create-device-profile": "建立新設備協議", - "import": "匯入新設備協議", - "export": "匯出新設備協議", - "export-failed-error": "無法匯出設備協議:{{error}}", - "device-profile-file": "設備協議文件", - "invalid-device-profile-file-error": "無法匯入新設備協議:無效的設備協議資料結構。", - "power-saving-mode": "節能模式", + "schedule-days-of-week-required": "請至少選擇一天。", + "create-device-profile": "建立新裝置設定檔", + "import": "匯入裝置設定檔", + "export": "匯出裝置設定檔", + "export-failed-error": "無法匯出裝置設定檔:{{error}}", + "device-profile-file": "裝置設定檔", + "invalid-device-profile-file-error": "無法匯入裝置設定檔:無效的裝置設定檔資料結構。", + "power-saving-mode": "省電模式", "power-saving-mode-type": { - "default": "使用設備協議的節能模式", - "psm": "節能模式 (PSM)", - "drx": "不間斷接收 (DRX)", - "edrx": "延伸不間斷接收 (eDRX)" - }, - "edrx-cycle": "eDRX週期", - "edrx-cycle-required": "延伸不間斷接收必填", - "edrx-cycle-pattern": "延伸不間斷接收樣式", - "edrx-cycle-min": "eDRX週期的最小數量為{{ min }}秒。", - "paging-transmission-window": "呼叫傳輸窗口", - "paging-transmission-window-required": "呼叫傳輸窗口必填", - "paging-transmission-window-pattern": "呼叫傳輸窗口值需為正整數", - "paging-transmission-window-min": "pPaging傳輸窗口的最小數量是{{ min }}秒。", - "psm-activity-timer": "節能模式活動計時器", - "psm-activity-timer-required": "節能模式活動計時器必填", - "psm-activity-timer-pattern": "節能模式活動計時器值需為正整數", - "psm-activity-timer-min": "節能模式活動計時器最小值為 {{ min }} 秒", + "default": "使用裝置設定檔省電模式", + "psm": "省電模式 (PSM)", + "drx": "非連續接收 (DRX)", + "edrx": "延伸非連續接收 (eDRX)" + }, + "edrx-cycle": "eDRX 週期", + "edrx-cycle-required": "eDRX 週期為必填項。", + "edrx-cycle-pattern": "eDRX 週期必須為正整數。", + "edrx-cycle-min": "eDRX 週期最小值為 {{ min }} 秒。", + "paging-transmission-window": "尋呼傳輸視窗", + "paging-transmission-window-required": "尋呼傳輸視窗為必填項。", + "paging-transmission-window-pattern": "尋呼傳輸視窗必須為正整數。", + "paging-transmission-window-min": "尋呼傳輸視窗最小值為 {{ min }} 秒。", + "psm-activity-timer": "PSM 活動定時器", + "psm-activity-timer-required": "PSM 活動定時器為必填項。", + "psm-activity-timer-pattern": "PSM 活動定時器必須為正整數。", + "psm-activity-timer-min": "PSM 活動定時器最小值為 {{ min }} 秒。", "lwm2m": { - "object-list": "物件列表", - "object-list-empty": "無選擇物件", - "no-objects-found": "找不到物件", - "no-objects-matching": "找不到匹配物件 '{{object}}' ", - "model-tab": "LWM2M模型", + "object-list": "物件清單", + "object-list-empty": "未選擇任何物件。", + "no-objects-found": "找不到物件。", + "no-objects-matching": "找不到與「{{object}}」符合的物件。", + "model-tab": "LWM2M 模型", "add-new-instances": "新增執行個體", - "instances-list": "執行個體列表", - "instances-list-required": "執行個體列表為必填", - "instance-id-pattern": "執行個體id值需為正整數", - "instance-id-max": "執行個體id最大值{{max}}", + "instances-list": "執行個體清單", + "instances-list-required": "執行個體清單為必填項。", + "instance-id-pattern": "執行個體識別碼必須為正整數。", + "instance-id-max": "執行個體識別碼最大值為 {{max}}。", "instance": "執行個體", - "resource-label": "資源名稱", - "observe-label": "觀測標籤", + "resource-label": "#識別碼 資源名稱", + "observe-label": "觀察", "attribute-label": "屬性", "telemetry-label": "遙測", - "edit-observe-select": "編輯觀測請選擇遙測或屬性", - "edit-attributes-select": "編輯屬性觀測請選擇遙測或屬性", + "edit-observe-select": "要編輯觀察,請選擇遙測或屬性", + "edit-attributes-select": "要編輯屬性,請選擇遙測或屬性", "no-attributes-set": "未設定屬性", - "key-name": "金鑰名稱", - "key-name-required": "金鑰名稱必填", - "attribute-name": "名稱屬性", - "attribute-name-required": "名稱屬性必填", + "key-name": "鍵名稱", + "key-name-required": "請輸入鍵名稱", + "attribute-name": "屬性名稱", + "attribute-name-required": "屬性名稱為必填項。", "attribute-value": "屬性值", - "attribute-value-required": "屬性值必填", - "attribute-value-pattern": "屬性值需為正整數", - "edit-attributes": "編輯屬性名稱{{ name }}", - "view-attributes": "檢視屬性名稱{{ name }}", + "attribute-value-required": "屬性值為必填項。", + "attribute-value-pattern": "屬性值必須為正整數。", + "edit-attributes": "編輯屬性:{{ name }}", + "view-attributes": "檢視屬性:{{ name }}", "add-attribute": "新增屬性", "edit-attribute": "編輯屬性", "view-attribute": "檢視屬性", "remove-attribute": "移除屬性", - "delete-server-text": "小心!確認後伺服器配置資料將無法恢復。", - "delete-server-title": "您確定要刪除伺服器嗎?", - "mode": "安全性配置模式", + "delete-server-text": "請注意,確認後伺服器設定將無法恢復。", + "delete-server-title": "確定要刪除該伺服器嗎?", + "mode": "安全設定模式", "bootstrap-tab": "Bootstrap", - "bootstrap-server-legend": "Bootstrap伺服器(短Id...)", - "lwm2m-server-legend": "LwM2M伺服器 (短Id...)", + "bootstrap-server-legend": "Bootstrap 伺服器 (ShortId...)", + "lwm2m-server-legend": "LwM2M 伺服器 (ShortId...)", "server": "伺服器", - "short-id": "短伺服器ID", - "short-id-tooltip": "短伺服器ID。用作關聯伺服器物件實例的鏈接。 \n此標識符唯一標識為LwM2M伺服器客戶端配置的每個LwM2M 伺服器。\n當引導伺服器資源的值為'false'時,必須設置資源。\nID:0值和ID:65535值不得用於識別LwM2M伺服器。.", - "short-id-required": "短伺服器ID必填", - "short-id-range": "短伺服器ID長度需介於{{ min }}到{{ max }}。", - "short-id-pattern": "短伺服器ID需為正整數", - "lifetime": "客戶登記使用期限", - "lifetime-required": "客戶登記使用期限必填", - "lifetime-pattern": "客戶登記使用期限需為正整數", - "default-min-period": "預設最小期間 (s)", - "default-min-period-tooltip": "如果觀測中未包含此參數,則LwM2M客戶端應在觀測的最短時段內使用預設值。", - "default-min-period-required": "預設最小期間必填", - "default-min-period-pattern": "最小期間需為正整數", - "notification-storing": "關閉或離線時通知儲存通知", - "binding": "綁定", + "short-id": "伺服器短識別碼", + "short-id-tooltip": "伺服器短識別碼,用於關聯伺服器物件執行個體。\n此識別碼可唯一識別為 LwM2M 用戶端設定的每個 LwM2M 伺服器。\n當 Bootstrap-Server 資源的值為「false」時,必須設定此資源。\n不得使用 0 或 65535 作為 LwM2M 伺服器的識別碼。", + "short-id-required": "伺服器短識別碼為必填項。", + "short-id-range": "伺服器短識別碼應在 {{ min }} 到 {{ max }} 的範圍內。", + "short-id-pattern": "伺服器短識別碼必須為正整數。", + "lifetime": "用戶端註冊生命週期", + "lifetime-required": "用戶端註冊生命週期為必填項。", + "lifetime-pattern": "用戶端註冊生命週期必須為正整數。", + "default-min-period": "兩次通知之間的最小週期(秒)", + "default-min-period-tooltip": "在觀察中未包含此參數時,LwM2M 用戶端應使用的預設最小觀察週期值。", + "default-min-period-required": "最小週期為必填項。", + "default-min-period-pattern": "最小週期必須為正整數。", + "notification-storing": "停用或離線時的通知儲存", + "binding": "繫結", "binding-type": { - "u": "透過UDP綁定可隨時觸及客戶。", - "m": "透過MQTT綁定可隨時觸及客戶", - "h": "透過HTTP綁定可隨時觸及客戶", - "t": "透過TCP綁定可隨時觸及客戶", - "s": "透過SMS綁定可隨時觸及客戶", - "n": "N:客戶端必須通過非IP綁定發送對此類請求的響應(自LWM2M 1.1開始支持)。", - "uq": "UQ:佇列模式下的UDP連接(自LWM2M 1.1起不支持)", - "uqs": "UQS:UDP和SMS連接都處於活動狀態; 佇列模式下的UDP,標準模式下的SMS (自LWM2M 1.1起不支持)", - "tq": "TQ:佇列模式下的TCP連接(自LWM2M 1.1起不支持)", - "tqs": "TQS:TCP和SMS連接都處於活動狀態; 佇列模式下的TCP,標準模式下的SMS (自LWM2M 1.1起不支持)", - "sq": "SQ:佇列模式下的SMS連接(自LWM2M 1.1起不支持)" + "u": "U:用戶端可隨時透過 UDP 繫結存取。", + "m": "M:用戶端可隨時透過 MQTT 繫結存取。", + "h": "H:用戶端可隨時透過 HTTP 繫結存取。", + "t": "T:用戶端可隨時透過 TCP 繫結存取。", + "s": "S:用戶端可隨時透過 SMS 繫結存取。", + "n": "N:用戶端必須透過非 IP 繫結傳送此類請求的回應(自 LWM2M 1.1 起支援)。", + "uq": "UQ:UDP 佇列模式連線(自 LWM2M 1.1 起不再支援)", + "uqs": "UQS:UDP 和 SMS 連線同時活動;UDP 為佇列模式,SMS 為標準模式(自 LWM2M 1.1 起不再支援)", + "tq": "TQ:TCP 佇列模式連線(自 LWM2M 1.1 起不再支援)", + "tqs": "TQS:TCP 和 SMS 連線同時活動;TCP 為佇列模式,SMS 為標準模式(自 LWM2M 1.1 起不再支援)", + "sq": "SQ:SMS 佇列模式連線(自 LWM2M 1.1 起不再支援)" }, - "binding-tooltip": "這是LwM2M伺服器物件的\"binding\" 資源中的列表 - /1/x/7。\n 表示LwM2M客戶端中支持的綁定模式。\n 此值應與設備物件(/3/0/16)中\"支持的綁定與模式\"資源中的值相同。\n雖然支持多種傳輸,但在整個傳輸對話期間只能使用一個傳輸綁定。\n 例如,當UDP和SMS都被支持時,LwM2M客戶端和LwM2M伺服器可以選擇在整個傳輸對話期間通過UDP或SMS進行通信。", - "bootstrap-server": "Bootstrap Server", - "lwm2m-server": "LwM2M Server", - "include-bootstrap-server": "包括Bootstrap Server更新", - "bootstrap-update-title": "您已經配置過Boostrap Server,您確定要排除更新?", - "bootstrap-update-text": "小心!確認後Boostrap Server配置資料將無法恢復。", + "binding-tooltip": "這是 LwM2M 伺服器物件 - /1/x/7 中「binding」資源的清單。\n指示 LwM2M 用戶端支援的繫結模式。\n此值應與裝置物件 (/3/0/16) 中「Supported Binding and Modes」資源的值相同。\n雖然支援多種傳輸方式,但在整個傳輸工作階段期間只能使用一種傳輸繫結。\n例如,當同時支援 UDP 和 SMS 時,LwM2M 用戶端和 LwM2M 伺服器可以選擇在整個傳輸工作階段期間透過 UDP 或 SMS 進行通訊。", + "bootstrap-server": "Bootstrap 伺服器", + "lwm2m-server": "LwM2M 伺服器", + "include-bootstrap-server": "包含 Bootstrap 伺服器更新", + "bootstrap-update-title": "您已設定了 Bootstrap 伺服器。確定要排除更新嗎?", + "bootstrap-update-text": "請注意,確認後 Bootstrap 伺服器設定資料將無法恢復。", "server-host": "主機", - "server-host-required": "需要主機。", + "server-host-required": "主機為必填項。", "server-port": "連接埠", - "server-port-required": "需要連接埠。", - "server-port-pattern": "連接埠必須是正整數。", - "server-port-range": "連接埠應該在1到65535的範圍內。", + "server-port-required": "連接埠為必填項。", + "server-port-pattern": "連接埠必須為正整數。", + "server-port-range": "連接埠應在 1 到 65535 的範圍內。", "server-public-key": "伺服器公鑰", - "server-public-key-required": "伺服器公鑰必填", - "client-hold-off-time": "延遲時間", - "client-hold-off-time-required": "延遲時間必填", - "client-hold-off-time-pattern": "延遲時間需為正整數", - "client-hold-off-time-tooltip": "僅用於Bootstrap-Server的客戶端延遲時間", - "account-after-timeout": "超時後的帳戶", - "account-after-timeout-required": "需要超時後的帳戶", - "account-after-timeout-pattern": "超時後的帳戶必須為正整數。", - "account-after-timeout-tooltip": "此資源給定超時值後的Bootstrap-Server帳戶", + "server-public-key-required": "伺服器公鑰為必填項。", + "client-hold-off-time": "Bootstrap 啟動延遲時間", + "client-hold-off-time-required": "Bootstrap 啟動延遲時間為必填項。", + "client-hold-off-time-pattern": "Bootstrap 啟動延遲時間必須為非負整數。", + "client-hold-off-time-tooltip": "用戶端啟動 Bootstrap 前的等待時間,僅適用於 Bootstrap 伺服器。", + "account-after-timeout": "Bootstrap 伺服器帳戶逾時時間", + "account-after-timeout-required": "Bootstrap 伺服器帳戶逾時時間為必填項。", + "account-after-timeout-pattern": "Bootstrap 伺服器帳戶逾時時間必須為非負整數。", + "account-after-timeout-tooltip": "用戶端會在此逾時時間結束後刪除 Bootstrap 伺服器帳戶;設為 0 表示永不到期。", "server-type": "伺服器類型", - "add-new-server-title": "增加新的伺服器配置", - "add-server-config": "增加伺服器配置", - "add-lwm2m-server-config": "增加LwM2M伺服器", - "no-config-servers": "未配置伺服器", + "add-new-server-title": "新增伺服器設定", + "add-server-config": "新增伺服器設定", + "add-lwm2m-server-config": "新增 LwM2M 伺服器", + "no-config-servers": "未設定伺服器", "others-tab": "其他設定", - "client-strategy": "連接時的客戶端策略", + "client-strategy": "連線時的用戶端策略", "client-strategy-label": "策略", - "client-strategy-only-observe": "在初始連接後,只向客户發出觀測請求。", - "client-strategy-read-all": "在註冊後,向客户發出資源及觀測請求。", + "client-strategy-only-observe": "初始連線後僅向用戶端傳送 Observe 請求", + "client-strategy-read-all": "註冊後讀取所有資源並向用戶端傳送 Observe 請求", "fw-update": "韌體更新", - "fw-update-strategy": "韌體更新政策", - "fw-update-strategy-data": "使用物件19和資源0(資料)將韌體更新作為二進位檔案推送", - "fw-update-strategy-package": "使用物件5和資源0 (套件)將韌體更新作為二進位檔案推送", - "fw-update-strategy-package-uri": "自動生成唯一的CoAP URL 以下載套件並將韌體更新推送為物件5和資源1 (套件URI)", + "fw-update-strategy": "韌體更新策略", + "fw-update-strategy-data": "使用 Object 19 和 Resource 0 (Data) 以二進位檔案推送韌體更新", + "fw-update-strategy-package": "使用 Object 5 和 Resource 0 (Package) 以二進位檔案推送韌體更新", + "fw-update-strategy-package-uri": "自動產生唯一 CoAP URL 下載軟體套件,並以 Object 5 和 Resource 1 (Package URI) 推送韌體更新", "sw-update": "軟體更新", - "sw-update-strategy": "軟體更新政策", - "sw-update-strategy-package": "使用物件9和資源2(套件)推送二進位檔案", - "sw-update-strategy-package-uri": "自動生成唯一的CoAP URL以下載套件並使用物件9和資源3 (套件URI)推送軟體更新", - "fw-update-resource": "韌體更新CoAP資源", - "fw-update-resource-required": "需要韌體更新CoAP資源。", - "sw-update-resource": "軟體更新CoAP資源", - "sw-update-resource-required": "需要軟體更新CoAP資源。", - "config-json-tab": "Json設定屬性設備", + "sw-update-strategy": "軟體更新策略", + "sw-update-strategy-package": "使用 Object 9 和 Resource 2 (Package) 推送二進位檔案", + "sw-update-strategy-package-uri": "自動產生唯一 CoAP URL 下載軟體套件,並使用 Object 9 和 Resource 3 (Package URI) 推送軟體更新", + "fw-update-resource": "韌體更新 CoAP 資源", + "fw-update-resource-required": "韌體更新 CoAP 資源為必填項。", + "sw-update-resource": "軟體更新 CoAP 資源", + "sw-update-resource-required": "軟體更新 CoAP 資源為必填項。", + "config-json-tab": "裝置設定檔 JSON 設定", "attributes-name": { - "min-period": "最小期間", - "max-period": "最大期間", + "min-period": "最小週期", + "max-period": "最大週期", "greater-than": "大於", "less-than": "小於", - "step": "步", - "min-evaluation-period": "最小評估期間", - "max-evaluation-period": "最大評估期間" - } + "step": "步長", + "min-evaluation-period": "最小評估週期", + "max-evaluation-period": "最大評估週期" + }, + "short-id-tooltip-bootstrap": "伺服器短識別碼,用於關聯伺服器物件執行個體。\n此識別碼可唯一識別為 LwM2M 用戶端設定的每個 LwM2M 伺服器。\n當 Bootstrap-Server 資源的值為「false」時,必須設定此資源。", + "short-id-pattern-bs": "伺服器短識別碼必須僅為 null", + "ota-update": "OTA 更新", + "use-object-19-for-ota-update": "使用 Object 19 取得 OTA 檔案詮釋資料(總和檢查碼、大小、版本、名稱)", + "use-object-19-for-ota-update-hint": "使用 Resource ObjectId = 19 進行 OTA 更新:FirmWare → InstanceId = 65534,SoftWare → InstanceId = 65535。資料格式為 Base64 包裝的 JSON。此 JSON 包含 OTA 檔案詮釋資料(檔案資訊):「Checksum」(SHA256)。附加欄位:「Title」(OTA 名稱)、「Version」(OTA 版本)、「File Name」(在用戶端儲存 OTA 的檔名)、「File Size」(OTA 大小,以位元組為單位)。", + "default-object-id": "預設物件版本(屬性)", + "default-object-id-ver": { + "v1-0": "1.0", + "v1-1": "1.1", + "v1-2": "1.2" + }, + "observe-strategy": { + "observe-strategy": "觀察策略", + "single": "單個", + "single-description": "每個資源一個 Observe 請求(精度更高,網路流量更大)", + "composite-all": "全部組合", + "composite-all-description": "所有資源使用單個 Composite Observe 請求進行觀察(更高效,靈活性較低)", + "composite-by-object": "按物件組合", + "composite-by-object-description": "資源按物件類型分組,使用單獨的 Composite Observe 請求進行觀察(平衡方案)" + }, + "init-attr-tel-as-obs-strategy": "使用觀察策略初始化屬性和遙測", + "init-attr-tel-as-obs-strategy-hint": "如果為 false,屬性和遙測透過逐一讀取其值來初始化。\\n如果為 true,屬性和遙測透過使用觀察策略訂閱其值來初始化。", + "select-all-attribute": "選取所有屬性", + "select-all-telemetry": "選取所有遙測資料", + "select-all-observe": "選取所有觀察項目" }, "snmp": { - "add-communication-config": "新增通訊配置", - "add-mapping": "新增映射", - "authentication-passphrase": "密語驗證", - "authentication-passphrase-required": "密語驗證必填", - "authentication-protocol": "驗證協定", - "authentication-protocol-required": "驗證協定必填", - "communication-configs": "通訊配置", - "community": "社群字串", - "community-required": "社群字串為填", - "context-name": "情境名稱", - "data-key": "資料金鑰", - "data-key-required": "資料金鑰必填", - "data-type": "資料類型", - "data-type-required": "資料類型必填", - "engine-id": "引擎ID", + "add-communication-config": "新增通訊設定", + "add-mapping": "新增對應", + "authentication-passphrase": "認證密碼短語", + "authentication-passphrase-required": "認證密碼短語為必填項。", + "authentication-protocol": "認證協定", + "authentication-protocol-required": "認證協定為必填項。", + "communication-configs": "通訊設定", + "community": "Community 字串", + "community-required": "Community 字串為必填項。", + "context-name": "上下文名稱", + "data-key": "資料鍵", + "data-key-required": "資料鍵為必填項。", + "data-type": "資料型別", + "data-type-required": "資料型別為必填項。", + "engine-id": "引擎識別碼", "host": "主機", - "host-required": "需要主機。", + "host-required": "主機為必填項。", "oid": "OID", - "oid-pattern": "OID格式無效。.", - "oid-required": "需要OID。", - "please-add-communication-config": "請新增通訊配置", - "please-add-mapping-config": "請新增映射配置", + "oid-pattern": "OID 格式無效。", + "oid-required": "OID 為必填項。", + "please-add-communication-config": "請新增通訊設定", + "please-add-mapping-config": "請新增對應設定", "port": "連接埠", - "port-format": "無效連接埠格式", - "port-required": "需要連接埠。", - "privacy-passphrase": "隱私密語", - "privacy-passphrase-required": "隱私密語必填", + "port-format": "連接埠格式無效。", + "port-required": "連接埠為必填項。", + "privacy-passphrase": "隱私密碼短語", + "privacy-passphrase-required": "隱私密碼短語為必填項。", "privacy-protocol": "隱私協定", - "privacy-protocol-required": "隱私協定必填", + "privacy-protocol-required": "隱私協定為必填項。", "protocol-version": "協定版本", - "protocol-version-required": "協定版本必填", - "querying-frequency": "查詢頻率", - "querying-frequency-invalid-format": "查詢頻率值需為正整數", - "querying-frequency-required": "查詢頻率必填", - "retries": "重試", - "retries-invalid-format": "重試值需為正整數", - "retries-required": "重試必填", + "protocol-version-required": "協定版本為必填項。", + "querying-frequency": "查詢間隔(毫秒)", + "querying-frequency-invalid-format": "查詢間隔必須為正整數。", + "querying-frequency-required": "查詢間隔為必填項。", + "retries": "重試次數", + "retries-invalid-format": "重試次數必須為正整數。", + "retries-required": "重試次數為必填項。", "scope": "範圍", - "scope-required": "範圍必填", - "security-name": "安全性名稱", - "security-name-required": "安全性名稱必填", - "timeout-ms": "超時,毫秒", - "timeout-ms-invalid-format": "超時值需為正整數", - "timeout-ms-required": "超時必填", - "user-name": "用戶名稱", - "user-name-required": "用戶名稱必填" - } + "scope-required": "範圍為必填項。", + "security-name": "安全名稱", + "security-name-required": "安全名稱為必填項。", + "timeout-ms": "逾時(毫秒)", + "timeout-ms-invalid-format": "逾時必須為正整數。", + "timeout-ms-required": "逾時為必填項。", + "user-name": "使用者名稱", + "user-name-required": "使用者名稱為必填項。" + }, + "transport-type-http": "HTTP", + "default-edge-rule-chain": "預設 Edge 規則鏈", + "default-edge-rule-chain-hint": "在 Edge 上用作規則鏈,處理此裝置設定檔的裝置傳入資料", + "mqtt-device-topic-filters-spark-plug": "MQTT Sparkplug B Edge of Network (EoN) 節點。", + "mqtt-device-topic-filters-spark-plug-hint": "允許來自使用 Sparkplug B 承載資料和主題格式的 EoN 節點的連線。", + "mqtt-device-topic-filters-spark-plug-attribute-metric-names": "作為屬性儲存的 SparkPlug 指標。", + "mqtt-device-topic-filters-spark-plug-attribute-metric-names-hint": "將作為裝置屬性儲存的 SparkPlug 指標名稱。其他所有指標將作為裝置遙測儲存。", + "mqtt-protocol-version": "協定版本", + "attributes-subscribe-topic-filter": "屬性訂閱主題篩選器", + "attributes-subscribe-topic-filter-required": "屬性訂閱主題為必填項", + "alarm-rule-additional-info": "附加資訊", + "edit-alarm-rule-additional-info": "編輯附加資訊", + "alarm-rule-additional-info-placeholder": "請在此提供您的備註和調整內容,以在警報詳細資料的附加資訊中顯示", + "provision-strategy-x509": { + "certificate-chain": "X509 憑證鏈", + "certificate-chain-hint": "X.509 憑證策略會使用雙向 TLS 通訊中的用戶端憑證來佈建裝置。", + "allow-create-new-devices": "建立新裝置", + "allow-create-new-devices-hint": "勾選後會建立新裝置,並使用用戶端憑證作為裝置認證資訊。", + "certificate-value": "PEM 格式憑證", + "certificate-value-required": "PEM 格式憑證為必填項", + "cn-regex-variable": "CN 正規表示式變數", + "cn-regex-variable-required": "CN 正規表示式變數為必填項", + "cn-regex-variable-hint": "需要從裝置 X509 憑證的通用名稱中提取裝置名稱。" + }, + "propagate-alarm-to-owner-hierarchy": "將警報傳播至實體所有者階層" }, "dialog": { - "close": "關閉對話框" + "close": "關閉對話方塊", + "error-message-title": "錯誤訊息:", + "error-details-title": "錯誤詳細資料" }, "direction": { - "column": "列", - "row": "行" + "column": "欄", + "row": "列" }, "edge": { - "edge": "邊緣", - "edge-instances": "邊緣實例", - "edge-file": "邊緣文件", - "name-max-length": "名稱應小於256", - "label-max-length": "標籤應小於256", - "type-max-length": "類型應小於256", - "management": "邊緣管理", - "no-edges-matching": "找不到與 '{{entity}}'匹配的邊緣 ", - "add": "新增邊緣", - "no-edges-text": "未找到邊緣", - "edge-details": "邊緣詳情", - "add-edge-text": "增加新邊緣", - "delete": "刪除邊緣", - "delete-edge-title": "您確定要刪除邊緣'{{edgeName}}'嗎?", - "delete-edge-text": "小心!確認後邊緣及其所有相關資料將無法恢復。", - "delete-edges-title": "您確定要刪除邊緣 { count, plural, =1 {1 edge} other {# edges} } 嗎?", - "delete-edges-text": "小心,確認後,所有選定的邊緣將被刪除,所有相關資料將無法恢復。", + "edge": "Edge", + "edge-instances": "Edge 執行個體", + "edge-file": "Edge 檔案", + "name-max-length": "名稱應少於 256 個字元", + "label-max-length": "標籤應少於 256 個字元", + "type-max-length": "類型應少於 256 個字元", + "management": "Edge 管理", + "no-edges-matching": "找不到與「{{entity}}」符合的 Edge。", + "add": "新增 Edge", + "no-edges-text": "找不到 Edge", + "edge-details": "Edge 詳細資料", + "add-edge-text": "新增 Edge", + "delete": "刪除 Edge", + "delete-edge-title": "確定要刪除 Edge「{{edgeName}}」嗎?", + "delete-edge-text": "請注意,確認後 Edge 及所有相關資料將無法恢復。", + "delete-edges-title": "確定要刪除 { count, plural, =1 {1 個 Edge} other {# 個 Edge} } 嗎?", + "delete-edges-text": "請注意,確認後所有選取的 Edge 將被移除,所有相關資料將無法恢復。", "name": "名稱", - "name-starts-with": "邊緣名稱始于", - "name-required": "名稱必填", + "name-starts-with": "Edge 名稱開頭為", + "name-required": "名稱為必填項。", "description": "描述", - "details": "詳細資訊", + "details": "詳細資料", "events": "事件", - "copy-id": "複製邊緣Id", - "id-copied-message": "邊緣已複製到剪貼簿", - "sync": "邊緣同步", - "edge-required": "邊緣必填", - "edge-type": "邊緣類型", - "edge-type-required": "邊緣類型必填", - "event-action": "事件動作", - "entity-id": "實體ID", - "select-edge-type": "選擇邊緣類型", - "assign-to-customer": "分配給客戶", - "assign-to-customer-text": "請選擇要分配邊緣的客戶", - "assign-edge-to-customer": "將邊緣分配給客戶", - "assign-edge-to-customer-text": "請選擇要分配給客戶的邊緣", - "assignedToCustomer": "分配給客戶", - "edge-public": "邊緣是公開的", - "assigned-to-customer": "分配給:{{customerTitle}}", - "unassign-from-customer": "從客戶取消分配", - "unassign-edge-title": "您確定要取消分配邊緣'{{edgeName}}'嗎?", - "unassign-edge-text": "確認後,邊緣將被取消分配,客戶將無法訪問。", - "unassign-edges-title": "您確定要取消分配 { count, plural, =1 {1 邊緣} other {# 邊緣} }嗎?", - "unassign-edges-text": "確認後,所有選定的邊緣都將被取消分配,客戶將無法訪問。", - "make-public": "公開邊緣", - "make-public-edge-title": "您確定要公開邊緣'{{edgeName}}' 嗎?", - "make-public-edge-text": "確認後,邊緣及其所有資料將公開並可供其他人訪問。", - "make-private": "將邊緣設為私有", + "copy-id": "複製 Edge 識別碼", + "id-copied-message": "Edge 識別碼已複製到剪貼簿", + "sync": "同步 Edge", + "edge-required": "Edge 為必填項", + "edge-type": "Edge 類型", + "edge-type-required": "Edge 類型為必填項。", + "event-action": "事件操作", + "entity-id": "實體識別碼", + "select-edge-type": "選擇 Edge 類型", + "assign-to-customer": "指派給客戶", + "assign-to-customer-text": "請選擇要指派 Edge 的客戶", + "assign-edge-to-customer": "將 Edge 指派給客戶", + "assign-edge-to-customer-text": "請選擇要指派給客戶的 Edge", + "assignedToCustomer": "已指派給客戶", + "edge-public": "Edge 為公開", + "assigned-to-customer": "已指派給:{{customerTitle}}", + "unassign-from-customer": "從客戶取消指派", + "unassign-edge-title": "確定要取消指派 Edge「{{edgeName}}」嗎?", + "unassign-edge-text": "確認後,Edge 將被取消指派,客戶將無法存取。", + "unassign-edges-title": "確定要取消指派 { count, plural, =1 {1 個 Edge} other {# 個 Edge} } 嗎?", + "unassign-edges-text": "確認後,所有選取的 Edge 將被取消指派,客戶將無法存取。", + "make-public": "將 Edge 設為公開", + "make-public-edge-title": "確定要將 Edge「{{edgeName}}」設為公開嗎?", + "make-public-edge-text": "確認後,Edge 及其所有資料將設為公開並可被其他人存取。", + "make-private": "將 Edge 設為私有", "public": "公開", - "make-private-edge-title": "您確定要將邊緣'{{edgeName}}'設為私有嗎?", - "make-private-edge-text": "確認後,邊緣及其所有資料將被設為私有,其他人無法訪問。", - "import": "匯入邊緣", + "make-private-edge-title": "確定要將 Edge「{{edgeName}}」設為私有嗎?", + "make-private-edge-text": "確認後,Edge 及其所有資料將設為私有,其他人將無法存取。", + "import": "匯入 Edge", "label": "標籤", - "load-entity-error": "加載資料失敗。實體已被刪除。", - "assign-new-edge": "分配新邊緣", - "unassign-from-edge": "從邊緣取消分配", - "edge-key": "邊緣鍵", - "copy-edge-key": "複製邊緣鍵", - "edge-key-copied-message": "邊緣鍵已複製到剪貼板", - "edge-secret": "邊緣密鑰", - "copy-edge-secret": "複製邊緣密鑰", - "edge-secret-copied-message": "邊緣密鑰已複製到剪貼板", - "edge-assets": "邊緣資產", - "edge-devices": "邊緣設備", - "edge-entity-views": "邊緣實體視圖", - "edge-dashboards": "邊緣儀表板", - "edge-rulechains": "邊緣規則鏈", - "assets": "邊緣資產", - "devices": "邊緣設備", - "entity-views": "邊緣實體視圖", - "dashboard": "邊緣儀表板", - "dashboards": "邊緣儀表板", - "rulechain-templates": "角色鏈模型", - "rulechains": "規則鏈", - "search": "搜尋邊緣", - "selected-edges": "{ count, plural, =1 {1 邊緣} other {# 邊緣} }被選中", - "any-edge": "任何邊緣", - "no-edge-types-matching": "未找到與'{{entitySubtype}}'匹配的邊緣類型。", - "edge-type-list-empty": "未選擇邊緣類型", - "edge-types": "邊緣類型", - "enter-edge-type": "輸入邊緣類型", - "deployed": "部署", - "pending": "待辦的", - "downlinks": "下行鏈結", - "no-downlinks-prompt": "未找到下行鏈結", - "sync-process-started-successfully": "同步程序已成功啟動!", - "missing-related-rule-chains-title": "邊緣缺少相關規則鏈", - "missing-related-rule-chains-text": "分配給邊緣規則鏈的規則節點將訊息轉發給未分配給此邊緣的規則鏈。

    缺少的規則鏈清單:
    {{missingRuleChains}}", - "widget-datasource-error": "此部件僅支持邊緣實體資料來源" + "load-entity-error": "載入資料失敗。實體已被刪除。", + "assign-new-edge": "指派新 Edge", + "unassign-from-edge": "從 Edge 取消指派", + "edge-key": "Edge 金鑰", + "copy-edge-key": "複製 Edge 金鑰", + "edge-key-copied-message": "Edge 金鑰已複製到剪貼簿", + "edge-secret": "Edge 密碼", + "copy-edge-secret": "複製 Edge 密碼", + "edge-secret-copied-message": "Edge 密碼已複製到剪貼簿", + "edge-assets": "Edge 資產", + "edge-devices": "Edge 裝置", + "edge-entity-views": "Edge 實體檢視", + "edge-dashboards": "Edge 儀表板", + "edge-rulechains": "Edge 規則鏈", + "assets": "Edge 資產", + "devices": "Edge 裝置", + "entity-views": "Edge 實體檢視", + "dashboard": "Edge 儀表板", + "dashboards": "Edge 儀表板", + "rulechain-templates": "規則鏈範本", + "rulechains": "Edge 規則鏈", + "search": "搜尋 Edge", + "selected-edges": "已選擇 { count, plural, =1 {1 個 Edge} other {# 個 Edge} }", + "any-edge": "任意 Edge", + "no-edge-types-matching": "找不到與「{{entitySubtype}}」符合的 Edge 類型。", + "edge-type-list-empty": "未選擇 Edge 類型。", + "edge-types": "Edge 類型", + "enter-edge-type": "輸入 Edge 類型", + "deployed": "已部署", + "pending": "待處理", + "downlinks": "下行鏈路", + "no-downlinks-prompt": "找不到下行鏈路", + "sync-process-started-successfully": "同步過程已成功啟動!", + "missing-related-rule-chains-title": "Edge 缺少關聯的規則鏈", + "missing-related-rule-chains-text": "指派給 Edge 的規則鏈使用了將訊息轉發到未指派給此 Edge 的規則鏈的規則節點。

    缺少的規則鏈清單:
    {{missingRuleChains}}", + "widget-datasource-error": "此小工具僅支援 Edge 實體資料來源", + "instances": "執行個體", + "install-connect-instructions": "安裝和連線說明", + "install-connect-instructions-edge-created": "Edge 已建立!請檢視安裝和連線說明", + "loading-edge-instructions": "正在載入 Edge 說明...", + "manage-assets": "管理資產", + "manage-devices": "管理裝置", + "manage-entity-views": "管理實體檢視", + "manage-dashboards": "管理儀表板", + "manage-rulechains": "管理規則鏈", + "edge-rulechain-templates": "Edge 規則鏈範本", + "upgrade-instructions": "升級說明", + "connected": "已連線", + "disconnected": "已斷開", + "all": "全部", + "all-edges": "所有 Edge", + "groups": "群組", + "shared": "共用", + "edges": "Edge", + "profiles": "設定檔", + "templates": "範本", + "rule-chain": "規則鏈", + "integration": "整合", + "converter": "轉換器", + "edge-license-key": "Edge 授權金鑰", + "edge-license-key-required": "Edge 授權金鑰為必填項。", + "edge-license-key-max-length": "Edge 授權金鑰應少於 31 個字元", + "edge-license-key-hint": "重要說明:預設 Edge 授權金鑰僅供評估使用。
    此金鑰在啟用後僅有效 30 天,且已停用白標功能。
    若要取得授權金鑰,請前往定價頁面,選擇最適合您需求的授權方案。", + "cloud-endpoint": "雲端端點", + "cloud-endpoint-required": "雲端端點為必填項。", + "cloud-endpoint-max-length": "雲端端點應少於 256 個字元", + "cloud-endpoint-hint": "Edge 需要透過 HTTP(s) 存取雲端(ThingsBoard)以驗證授權金鑰。請指定 Edge 能夠連線的雲端 URL。", + "converter-templates": "轉換器範本", + "edge-converter-templates": "Edge 轉換器範本", + "integration-templates": "整合範本", + "edge-integration-templates": "Edge 整合範本", + "integrations": "整合", + "assign-to-edge": "指派給 Edge", + "assign-to-edge-title": "將實體群組指派給 Edge", + "manage-edge-user-groups": "管理 Edge 使用者群組", + "manage-edge-asset-groups": "管理 Edge 資產群組", + "manage-edge-device-groups": "管理 Edge 裝置群組", + "manage-edge-entity-view-groups": "管理 Edge 實體檢視群組", + "manage-edge-dashboard-groups": "管理 Edge 儀表板群組", + "manage-edge-rule-chains": "管理 Edge 規則鏈", + "manage-edge-integrations": "管理 Edge 整合", + "manage-edge-scheduler-events": "管理 Edge 排程事件", + "select-group-to-add": "選擇要加入所選 Edge 的目標群組", + "select-group-to-move": "選擇要移入所選 Edge 的目標群組", + "remove-edges-from-group": "確定要從群組「{entityGroup}」移除 { count, plural, =1 {1 個 Edge} other {# 個 Edge} } 嗎?", + "group": "Edge 群組", + "list-of-groups": "{ count, plural, =1 {1 個 Edge 群組} other {# 個 Edge 群組的清單} }", + "group-name-starts-with": "名稱以「{{prefix}}」開頭的 Edge 群組", + "unassign-entity-group-from-edge-title": "確定要取消指派實體群組「{{ entityGroupName }}」嗎?", + "unassign-entity-group-from-edge-text": "確認後,實體群組將被取消指派,Edge 將無法存取。", + "unassign-entity-group-from-edge": "從 Edge 取消指派實體群組", + "unassign-entity-groups-from-edge-title": "確定要取消指派 {{count}} 個實體群組嗎?", + "unassign-entity-groups-from-edge-text": "確認後,實體群組將被取消指派,Edge 將無法存取。", + "unassign-entity-groups-from-edge": "從 Edge 取消指派實體群組", + "unassign-scheduler-events-from-edge": "從 Edge 取消指派排程事件", + "unassign-scheduler-event-from-edge-title": "確定要取消指派排程事件「{{schedulerEventName}}」嗎?", + "unassign-scheduler-event-from-edge-text": "確認後,排程事件將被取消指派,Edge 將無法存取。", + "unassign-scheduler-events-from-edge-title": "確定要取消指派 { count, plural, =1 {1 個排程事件} other {# 個排程事件} }嗎?", + "unassign-scheduler-events-from-edge-text": "確認後,所有選取的排程事件將被取消指派,Edge 將無法存取。", + "manage-user-groups": "管理使用者群組", + "manage-asset-groups": "管理資產群組", + "manage-device-groups": "管理裝置群組", + "manage-dashboard-groups": "管理儀表板群組", + "manage-entity-view-groups": "管理實體檢視群組", + "manage-scheduler-events": "管理排程事件", + "manage-integrations": "管理整合", + "assign-scheduler-event-to-edge-title": "將排程事件指派給 Edge", + "assign-scheduler-event-to-edge-text": "請選擇要指派給 Edge 的排程事件", + "assign-entity-groups-to-edge-text": "請選擇要指派給 Edge 的實體群組", + "assign-integration-to-edge-title": "將整合指派給 Edge", + "assign-integration-to-edge-text": "請選擇要指派給 Edge 的整合", + "missing-attributes-title": "Edge 缺少屬性", + "missing-attributes-text": "指派給 Edge 的整合包含此 Edge 未提供的屬性預留位置。

    缺少的 Edge 屬性清單:
    {{missingEdgeAttributes}}", + "missing-all-related-attributes-title": "Edge 缺少屬性", + "missing-all-related-attributes-text": "與整合關聯的 Edge 缺少整合設定中屬性預留位置所指定的屬性。

    缺少的 Edge 屬性清單:
    {{missingEdgeAttributes}}", + "quick-overview-widget-header": "「{{edgeName}}」快速概覽", + "managed-application": "受控應用程式", + "app-upgrade-available": "有可用的升級", + "auto-provision": "自動佈建", + "auto-provision-title": "自動佈建 Edge", + "auto-provision-subtitle": "產生 Docker run 命令,在目標機器上執行時,將自動建立 Edge 及其代理程式。", + "auto-provision-step-select": "代理程式設定檔", + "auto-provision-step-script": "佈建指令碼", + "auto-provision-agent-profile-label": "代理程式設定檔", + "auto-provision-agent-profile-placeholder": "選擇或建立代理程式設定檔", + "auto-provision-no-eligible-profiles": "找不到符合條件的設定檔。請使用右側按鈕建立。", + "auto-provision-create-profile": "建立設定檔", + "auto-provision-validating": "正在驗證代理程式設定檔…", + "auto-provision-valid": "可以開始佈建:「{{profile}}」已獲指派 Edge 應用程式設定檔。", + "auto-provision-invalid-strategy": "此設定檔的佈建策略不會自動安裝應用程式。請選擇採用自動安裝策略的設定檔。", + "auto-provision-invalid-no-edge-app-profile": "此設定檔尚未獲指派 Edge 應用程式設定檔。請使用按鈕指派。", + "auto-provision-info-title": "運作方式", + "auto-provision-info-body": "建立代理程式設定檔後,系統會產生 Docker run 命令。在目標機器上執行時,ThingsBoard 會使用命令內的認證資訊,自動建立代理程式及其關聯的 Edge 實體。Edge 會依照指派給代理程式設定檔的應用程式設定檔自動設定,無須手動建立。", + "auto-provision-success-message": "代理程式設定檔已就緒。在任一目標機器上執行此命令,即可佈建新的 Edge。", + "auto-provision-script-hint": "請在每台要作為 Edge 的機器上執行此命令。每次執行都會佈建一組代理程式與 Edge。", + "auto-provision-open-profile": "開啟設定檔", + "auto-provision-no-script": "此設定檔缺少佈建認證資訊。請開啟設定檔以重新產生。" }, "edge-event": { "type-dashboard": "儀表板", "type-asset": "資產", - "type-device": "設備", - "type-device-profile": "設備協議", - "type-entity-view": "實體視圖", - "type-alarm": "警告", + "type-device": "裝置", + "type-device-profile": "裝置設定檔", + "type-entity-view": "實體檢視", + "type-alarm": "警報", "type-rule-chain": "規則鏈", - "type-rule-chain-metadata": "規則鏈元資料", - "type-edge": "邊緣", - "type-user": "用戶", + "type-rule-chain-metadata": "規則鏈詮釋資料", + "type-edge": "Edge", + "type-user": "使用者", "type-customer": "客戶", "type-relation": "關聯", - "type-widgets-bundle": "部件包", - "type-widgets-type": "部件類型", + "type-widgets-bundle": "小工具包", + "type-widgets-type": "小工具類型", "type-admin-settings": "管理員設定", - "action-type-added": "增加", - "action-type-deleted": "刪除", - "action-type-updated": "更新", + "action-type-added": "已新增", + "action-type-deleted": "已刪除", + "action-type-updated": "已更新", "action-type-post-attributes": "發布屬性", - "action-type-attributes-updated": "更新屬性", - "action-type-attributes-deleted": "刪除屬性", - "action-type-timeseries-updated": "更新時間序列", - "action-type-credentials-updated": "更新憑據", - "action-type-assigned-to-customer": "分配給客戶", - "action-type-unassigned-from-customer": "從客戶處取消分配", + "action-type-attributes-updated": "屬性已更新", + "action-type-attributes-deleted": "屬性已刪除", + "action-type-timeseries-updated": "時間序列已更新", + "action-type-credentials-updated": "認證資訊已更新", + "action-type-assigned-to-customer": "已指派給客戶", + "action-type-unassigned-from-customer": "已從客戶取消指派", "action-type-relation-add-or-update": "關聯新增或更新", - "action-type-relation-deleted": "刪除關聯", - "action-type-rpc-call": "RPC調用", - "action-type-alarm-ack": "警告確認", - "action-type-alarm-clear": "警告清除", - "action-type-assigned-to-edge": "分配給邊緣", - "action-type-unassigned-from-edge": "從邊緣取消分配", - "action-type-credentials-request": "憑據請求", - "action-type-entity-merge-request": "實體合併請求" + "action-type-relation-deleted": "關聯已刪除", + "action-type-rpc-call": "RPC 呼叫", + "action-type-alarm-ack": "警報確認", + "action-type-alarm-clear": "警報清除", + "action-type-assigned-to-edge": "已指派到 Edge", + "action-type-unassigned-from-edge": "已從 Edge 取消指派", + "action-type-credentials-request": "認證資訊請求", + "action-type-entity-merge-request": "實體合併請求", + "type-asset-profile": "資產設定檔", + "type-tenant": "租戶", + "type-tenant-profile": "租戶設定檔", + "type-ota-package": "OTA 軟體套件", + "type-queue": "佇列", + "action-type-alarm-assigned": "警報已指派", + "action-type-alarm-unassigned": "警報已取消指派", + "type-entity-group": "實體群組", + "type-scheduler-event": "排程事件", + "type-white-labeling": "白標", + "type-login-white-labeling": "登入頁面白標", + "type-custom-translation": "自訂翻譯", + "type-role": "角色", + "type-group-permission": "群組權限", + "type-integration": "整合", + "type-converter": "轉換器", + "action-type-added-to-entity-group": "已新增至實體群組", + "action-type-removed-from-entity-group": "已從實體群組移除", + "action-type-change-owner": "變更所有者", + "connected": "已連線", + "disconnected": "已中斷連線" }, "error": { - "unable-to-connect": "無法連接到伺服器!請檢查您的互聯網連接。", - "unhandled-error-code": "未處理的錯誤代碼: {{errorCode}}", - "unknown-error": "未知錯誤" + "unable-to-connect": "無法連線到伺服器!請檢查您的網路連線。", + "unhandled-error-code": "未處理的錯誤代碼:{{errorCode}}", + "unknown-error": "未知錯誤", + "data-export-failed": "資料匯出失敗:無法判斷部署模式,請再試一次。" }, "entity": { "entity": "實體", "entities": "實體", - "entities-count": "實體計數", + "entities-count": "實體數量", "aliases": "實體別名", "entity-alias": "實體別名", "unable-delete-entity-alias-title": "無法刪除實體別名", - "unable-delete-entity-alias-text": "實體別名 '{{entityAlias}}' 被以下部件使用不能刪除:
    {{widgetsList}}", - "duplicate-alias-error": "別名 '{{alias}}' 重複。
    同一儀表板別名必須唯一。", - "missing-entity-filter-error": "別名 '{{alias}}' 缺少過濾器", - "configure-alias": "別名 '{{alias}}' 配置", + "unable-delete-entity-alias-text": "實體別名「{{entityAlias}}」無法刪除,因為它被以下小工具使用:
    {{widgetsList}}", + "duplicate-alias-error": "發現重複別名「{{alias}}」。
    實體別名在儀表板中必須唯一。", + "missing-entity-filter-error": "別名「{{alias}}」缺少篩選器。", + "configure-alias": "設定「{{alias}}」別名", "alias": "別名", - "alias-required": "實體別名必填。", + "alias-required": "實體別名為必填項。", "remove-alias": "移除實體別名", - "add-alias": "增加實體別名", - "entity-list": "實體列表", + "add-alias": "新增實體別名", + "entity-list": "實體清單", "entity-type": "實體類型", "entity-types": "實體類型", - "entity-type-list": "實體類型列表", + "entity-type-list": "實體類型清單", "any-entity": "任意實體", "enter-entity-type": "輸入實體類型", - "no-entities-matching": "沒有找到符合 '{{entity}}' 的實體。", - "no-entity-types-matching": "沒有找到符合 '{{entityType}}' 類型的實體。", - "name-starts-with": "名稱開始於", - "help-text": "根據需要使用'%':'%entity_name_contains%', '%entity_name_ends', 'entity_starts_with'.", - "use-entity-name-filter": "用戶過濾", - "entity-list-empty": "沒有選擇實體。", - "entity-name-filter-required": "實體名過濾器必填。", - "entity-name-filter-no-entity-matched": "沒有找到以 '{{entity}}' 開頭的實體", - "all-subtypes": "所有", + "no-entities-matching": "找不到與「{{entity}}」符合的實體。", + "no-entity-types-matching": "找不到與「{{entityType}}」符合的實體類型。", + "name-starts-with": "名稱表示式", + "help-text": "根據需要使用 '%':'%entity_name_contains%'、'%entity_name_ends'、'entity_starts_with%'。", + "use-entity-name-filter": "使用篩選器", + "entity-list-empty": "未選擇實體。", + "entity-name-filter-required": "實體名稱篩選器為必填項。", + "entity-name-filter-no-entity-matched": "找不到以「{{entity}}」開頭的實體。", + "all-subtypes": "全部", "select-entities": "選擇實體", - "no-aliases-found": "沒有找到別名", - "no-alias-matching": "沒有找到 '{{alias}}'", - "create-new-alias": "建立新別名", + "no-aliases-found": "找不到別名。", + "no-alias-matching": "找不到「{{alias}}」。", + "create-new-alias": "建立新別名!", "key": "鍵", - "key-name": "鍵名", - "no-keys-found": "沒有找到鍵", - "no-key-matching": "沒有找到鍵 '{{key}}'", - "create-new-key": "建立新鍵", + "key-name": "鍵名稱", + "no-keys-found": "找不到鍵。", + "no-key-matching": "找不到「{{key}}」。", + "create-new-key": "建立新鍵!", "type": "類型", - "type-required": "實體類型必填。", - "type-device": "設備", - "type-devices": "設備", - "list-of-devices": "{ count, plural, =1 {一個設備} other {# 設備列表} }", - "device-name-starts-with": "以 '{{prefix}}' 開頭的設備", + "type-required": "實體類型為必填項。", + "type-device": "裝置", + "type-devices": "裝置", + "list-of-devices": "{ count, plural, =1 {1 個裝置} other {裝置清單(# 個)} }", + "device-name-starts-with": "名稱以「{{prefix}}」開頭的裝置", "type-asset": "資產", "type-assets": "資產", - "list-of-assets": "{ count, plural, =1 {一個資產} other {# 資產列表} }", - "asset-name-starts-with": "以 '{{prefix}}' 開頭的資產", - "type-entity-view": "實體視圖", - "type-entity-views": "實體視圖", - "list-of-entity-views": "{ count, plural, =1 {一個實體視圖} other {# 實體視圖列表} }", - "entity-view-name-starts-with": "以 '{{prefix}}' 開頭的實體視圖", + "list-of-assets": "{ count, plural, =1 {1 個資產} other {資產清單(# 個)} }", + "asset-name-starts-with": "名稱以「{{prefix}}」開頭的資產", + "type-entity-view": "實體檢視", + "type-entity-views": "實體檢視", + "list-of-entity-views": "{ count, plural, =1 {1 個實體檢視} other {實體檢視清單(# 個)} }", + "entity-view-name-starts-with": "名稱以「{{prefix}}」開頭的實體檢視", "type-rule": "規則", "type-rules": "規則", - "list-of-rules": "{ count, plural, =1 {一個規則} other {# 規則列表} }", - "rule-name-starts-with": "以 '{{prefix}}' 開頭的規則", - "type-plugin": "插件", - "type-plugins": "插件", - "list-of-plugins": "{ count, plural, =1 {一個插件} other {# 插件列表} }", - "tenant-name-starts-with": "名稱以 '{{prefix}}'開頭的租戶", - "type-tenant-profile": "租戶屬性", - "type-tenant-profiles": "租戶屬性", - "list-of-tenant-profiles": "{ count, plural, =1 {一個租戶屬性} other {# 租戶屬性列表} }", - "tenant-profile-name-starts-with": "名稱以 '{{prefix}}'開頭的租戶屬性", - "plugin-name-starts-with": "以 '{{prefix}}' 開頭的插件", + "list-of-rules": "{ count, plural, =1 {1 條規則} other {規則清單(# 條)} }", + "rule-name-starts-with": "名稱以「{{prefix}}」開頭的規則", + "type-plugin": "外掛", + "type-plugins": "外掛", + "list-of-plugins": "{ count, plural, =1 {1 個外掛} other {外掛清單(# 個)} }", + "tenant-name-starts-with": "名稱以「{{prefix}}」開頭的租戶", + "type-tenant-profile": "租戶設定檔", + "type-tenant-profiles": "租戶設定檔", + "list-of-tenant-profiles": "{ count, plural, =1 {1 個租戶設定檔} other {租戶設定檔清單(# 個)} }", + "tenant-profile-name-starts-with": "名稱以「{{prefix}}」開頭的租戶設定檔", + "plugin-name-starts-with": "名稱以「{{prefix}}」開頭的外掛", "type-tenant": "租戶", "type-tenants": "租戶", - "list-of-tenants": "{ count, plural, =1 {一個租戶} other {# 租戶列表} }", + "list-of-tenants": "{ count, plural, =1 {1 個租戶} other {租戶清單(# 個)} }", "type-customer": "客戶", "type-customers": "客戶", - "list-of-customers": "{ count, plural, =1 {一個客戶} other {# 客戶列表} }", - "customer-name-starts-with": "以 '{{prefix}}' 開頭的客戶", - "type-user": "用戶", - "type-users": "用戶", - "list-of-users": "{ count, plural, =1 {一個用戶} other {# 用戶列表} }", - "user-name-starts-with": "以 '{{prefix}}' 開頭的用戶", + "list-of-customers": "{ count, plural, =1 {1 個客戶} other {客戶清單(# 個)} }", + "customer-name-starts-with": "名稱以「{{prefix}}」開頭的客戶", + "type-user": "使用者", + "type-users": "使用者", + "list-of-users": "{ count, plural, =1 {1 個使用者} other {使用者清單(# 個)} }", + "user-name-starts-with": "名稱以「{{prefix}}」開頭的使用者", "type-dashboard": "儀表板", "type-dashboards": "儀表板", - "list-of-dashboards": "{ count, plural, =1 {一個儀表板} other {# 儀表板列表} }", - "dashboard-name-starts-with": "以 '{{prefix}}' 開頭的儀表板", - "type-alarm": "警告", - "type-alarms": "警告", - "list-of-alarms": "{ count, plural, =1 {一個警告} other {# 警告列表} }", - "alarm-name-starts-with": "以 '{{prefix}}' 開頭的警告", + "list-of-dashboards": "{ count, plural, =1 {1 個儀表板} other {儀表板清單(# 個)} }", + "dashboard-name-starts-with": "名稱以「{{prefix}}」開頭的儀表板", + "type-alarm": "警報", + "type-alarms": "警報", + "list-of-alarms": "{ count, plural, =1 {1 個警報} other {警報清單(# 個)} }", + "alarm-name-starts-with": "名稱以「{{prefix}}」開頭的警報", "type-rulechain": "規則鏈", "type-rulechains": "規則鏈", - "list-of-rulechains": "{ count, plural, =1 {一個規則鏈} other {# 規則鏈列表} }", - "rulechain-name-starts-with": "規則鏈前綴名稱 '{{prefix}}'", + "list-of-rulechains": "{ count, plural, =1 {1 條規則鏈} other {規則鏈清單(# 條)} }", + "rulechain-name-starts-with": "名稱以「{{prefix}}」開頭的規則鏈", "type-rulenode": "規則節點", "type-rulenodes": "規則節點", - "list-of-rulenodes": "{ count, plural, =1 {一個規則節點} other {# 規則節點列表} }", - "rulenode-name-starts-with": "名稱以'{{prefix}}'開頭的規則節點", - "type-current-customer": "當前客戶", - "type-current-tenant": "當前租戶", - "type-current-user": "當前用戶", - "type-current-user-owner": "當前用戶所有者", - "type-widgets-bundle": "部件包", - "type-widgets-bundles": "部件包", - "list-of-widgets-bundles": "{ count, plural, =1 {一個部件包} other {# 部件包列表} }", - "search": "實體檢索", - "selected-entities": "{ count, plural, =1 {1 實體} other {# 實體} } 被選中", - "entity-name": "實體名", + "list-of-rulenodes": "{ count, plural, =1 {1 個規則節點} other {規則節點清單(# 個)} }", + "rulenode-name-starts-with": "名稱以「{{prefix}}」開頭的規則節點", + "type-current-customer": "目前客戶", + "type-current-tenant": "目前租戶", + "type-current-user": "目前使用者", + "type-current-user-owner": "目前使用者所有者", + "type-widgets-bundle": "小工具包", + "type-widgets-bundles": "小工具包", + "list-of-widgets-bundles": "{ count, plural, =1 {1 個小工具包} other {小工具包清單(# 個)} }", + "search": "搜尋實體", + "selected-entities": "已選擇 { count, plural, =1 {1 個實體} other {# 個實體} }", + "entity-name": "實體名稱", "entity-label": "實體標籤", - "details": "實體詳細資訊", - "no-entities-prompt": "沒有找到實體", - "no-data": "無資料", - "columns-to-display": "要顯示的列", - "type-api-usage-state": "api使用狀態", - "type-edge": "邊緣", - "type-edges": "邊緣", - "list-of-edges": "{ count, plural, =1 {一個邊緣} other {# 邊緣列表} }", - "edge-name-starts-with": "名稱以'{{prefix}}'開頭的邊緣", + "details": "實體詳細資料", + "no-entities-prompt": "找不到實體", + "no-data": "無資料可顯示", + "columns-to-display": "顯示欄位", + "type-api-usage-state": "API 使用狀態", + "type-edge": "Edge", + "type-edges": "Edge", + "list-of-edges": "{ count, plural, =1 {1 個 Edge} other {Edge 清單(# 個)} }", + "edge-name-starts-with": "名稱以「{{prefix}}」開頭的 Edge", "type-tb-resource": "資源", - "type-ota-package": "OTA套件" + "type-ota-package": "OTA 軟體套件", + "devices-and-assets": "裝置與資產", + "data-processing": "資料處理", + "alarms-count": "警報數量", + "aliases-short": "別名", + "edit-alias": "編輯實體別名", + "add-entity-type": "新增實體類型", + "no-entities-text": "找不到實體", + "entity-type-list-required": "至少應選擇一種實體類型。", + "create-new": "建立新的", + "type-device-profile": "裝置設定檔", + "type-device-profiles": "裝置設定檔", + "clear-selected-profiles": "清除所選設定檔", + "list-of-device-profiles": "{ count, plural, =1 {1 個裝置設定檔} other {裝置設定檔清單(# 個)} }", + "device-profile-name-starts-with": "名稱以「{{prefix}}」開頭的裝置設定檔", + "type-asset-profile": "資產設定檔", + "type-asset-profiles": "資產設定檔", + "list-of-asset-profiles": "{ count, plural, =1 {1 個資產設定檔} other {資產設定檔清單(# 個)} }", + "asset-profile-name-starts-with": "名稱以「{{prefix}}」開頭的資產設定檔", + "type-api-key": "API 金鑰", + "type-api-keys": "API 金鑰", + "type-calculated-field": "計算欄位", + "type-calculated-fields": "計算欄位", + "type-ai-model": "AI 模型", + "type-ai-models": "AI 模型", + "type-widget": "小工具", + "type-widgets": "小工具", + "list-of-widgets": "{ count, plural, =1 {1 個小工具} other {小工具清單(# 個)} }", + "show-all-columns": "顯示全部", + "version-conflict": { + "message": "您要覆蓋現有版本還是放棄變更並載入最新版本?", + "link": "下載您目前的「{{entityType}}」版本:", + "overwrite": "覆蓋版本", + "discard": "放棄變更" + }, + "type-tb-resources": "資源", + "list-of-tb-resources": "{ count, plural, =1 {1 個資源} other {資源清單(# 個)} }", + "type-ota-packages": "OTA 軟體套件", + "list-of-ota-packages": "{ count, plural, =1 {1 個 OTA 軟體套件} other {OTA 軟體套件清單(# 個)} }", + "type-rpc": "RPC", + "type-queue": "佇列", + "type-queue-stats": "佇列統計", + "type-queues-stats": "佇列統計", + "type-notification": "通知", + "type-notification-rule": "通知規則", + "type-notification-rules": "通知規則", + "list-of-notification-rules": "{ count, plural, =1 {1 個通知規則} other {通知規則清單(# 個)} }", + "type-notification-target": "通知收件者群組", + "type-notification-targets": "通知收件者群組", + "list-of-notification-targets": "{ count, plural, =1 {1 個通知收件者群組} other {通知收件者群組清單(# 個)} }", + "type-notification-request": "通知請求", + "type-notification-template": "通知範本", + "type-notification-templates": "通知範本", + "list-of-notification-templates": "{ count, plural, =1 {1 個通知範本} other {通知範本清單(# 個)} }", + "link": "連結", + "type-oauth2-client": "OAuth 2.0 用戶端", + "type-oauth2-clients": "OAuth 2.0 用戶端", + "list-of-oauth2-clients": "{ count, plural, =1 {1 個 OAuth 2.0 用戶端} other {OAuth 2.0 用戶端清單(# 個)} }", + "type-domain": "網域名稱", + "type-domains": "網域名稱", + "list-of-domains": "{ count, plural, =1 {1 個網域名稱} other {網域名稱清單(# 個)} }", + "type-mobile-app": "行動應用程式", + "type-mobile-apps": "行動應用程式", + "list-of-mobile-apps": "{ count, plural, =1 {1 個行動應用程式} other {行動應用程式清單(# 個)} }", + "type-mobile-app-bundle": "行動應用程式套件", + "type-mobile-app-bundles": "行動應用程式套件", + "list-of-mobile-app-bundles": "{ count, plural, =1 {1 個行動應用程式套件} other {行動應用程式套件清單(# 個)} }", + "limit-reached": "已達上限", + "limit-reached-text": "您已達到 {{ entities }} 的上限。要新增更多,請聯絡系統管理員增加您的 {{ entity }} 上限。", + "request-limit-increase": "請求增加上限", + "request-sysadmin-text": "您是系統管理員嗎?", + "login-here": "在此登入", + "to-increase-limit": "以增加上限。", + "increase-limit-request-sent-title": "我們已向您的系統管理員傳送了自動請求以增加上限", + "increase-limit-request-sent-text": "請稍候,讓系統管理員審查請求並更新設定。您可能需要重新整理此頁面以檢視變更。", + "unable-delete-entity-alias-text-components": "無法刪除實體別名「{{entityAlias}}」,因為下列元件正在使用此別名:
    {{widgetsList}}", + "type-scheduler-event": "排程事件", + "type-scheduler-events": "排程事件", + "list-of-scheduler-events": "{ count, plural, =1 {1 個排程事件} other {排程事件清單(# 個)} }", + "scheduler-event-name-starts-with": "名稱以「{{prefix}}」開頭的排程事件", + "type-blob-entity": "Blob 實體", + "type-blob-entities": "Blob 實體", + "list-of-blob-entities": "{ count, plural, =1 {1 個 Blob 實體} other {Blob 實體清單(# 個)} }", + "blob-entity-name-starts-with": "名稱以「{{prefix}}」開頭的 Blob 實體", + "type-report-template": "報表範本", + "type-report-templates": "報表範本", + "list-of-report-templates": "{ count, plural, =1 {1 個報表範本} other {報表範本清單(# 個)} }", + "report-template-name-starts-with": "名稱以「{{prefix}}」開頭的報表範本", + "type-report": "報表", + "type-reports": "報表", + "list-of-reports": "{ count, plural, =1 {1 份報表} other {報表清單(# 份)} }", + "report-name-starts-with": "名稱以「{{prefix}}」開頭的報表", + "type-admin-settings": "管理設定", + "type-entity-group": "實體群組", + "type-entity-groups": "實體群組", + "type-converter": "資料轉換器", + "type-converters": "資料轉換器", + "list-of-converters": "{ count, plural, =1 {1 個資料轉換器} other {資料轉換器清單(# 個)} }", + "converter-name-starts-with": "名稱以「{{prefix}}」開頭的資料轉換器", + "type-integration": "整合", + "type-integrations": "整合", + "list-of-integrations": "{ count, plural, =1 {1 個整合} other {整合清單(# 個)} }", + "integration-name-starts-with": "名稱以「{{prefix}}」開頭的整合", + "type-role": "角色", + "type-roles": "角色", + "list-of-roles": "{ count, plural, =1 {1 個角色} other {角色清單(# 個)} }", + "role-name-starts-with": "名稱以「{{prefix}}」開頭的角色", + "type-group-permission": "群組權限", + "type-agent": "代理程式", + "type-agents": "代理程式", + "list-of-agents": "{ count, plural, =1 {1 個代理程式} other {代理程式清單(# 個)} }", + "agent-name-starts-with": "名稱以「{{prefix}}」開頭的代理程式", + "type-agent-profile": "代理程式設定檔", + "type-agent-profiles": "代理程式設定檔", + "list-of-agent-profiles": "{ count, plural, =1 {1 個代理程式設定檔} other {代理程式設定檔清單(# 個)} }", + "agent-profile-name-starts-with": "名稱以「{{prefix}}」開頭的代理程式設定檔", + "type-agent-application": "應用程式", + "type-agent-applications": "應用程式", + "list-of-agent-applications": "{ count, plural, =1 {1 個應用程式} other {應用程式清單(# 個)} }", + "agent-application-name-starts-with": "名稱以「{{prefix}}」開頭的應用程式", + "type-agent-app-profile": "應用程式設定檔", + "type-agent-app-profiles": "應用程式設定檔", + "list-of-agent-app-profiles": "{ count, plural, =1 {1 個應用程式設定檔} other {應用程式設定檔清單(# 個)} }", + "agent-app-profile-name-starts-with": "名稱以「{{prefix}}」開頭的應用程式設定檔", + "type-agent-app-event": "代理程式應用程式事件", + "type-agent-app-events": "代理程式應用程式事件", + "type-agent-app-unit": "代理程式應用程式單元", + "type-agent-app-units": "代理程式應用程式單元", + "type-agent-bulk-action": "批次操作", + "type-agent-bulk-actions": "批次操作", + "type-task": "工作", + "type-tasks": "工作", + "list-of-tasks": "{ count, plural, =1 {1 項工作} other {工作清單(# 項)} }", + "customer-name": "客戶名稱", + "sub-customer-name": "子客戶名稱", + "parent-customer-name": "上層客戶名稱", + "parent-sub-customer-name": "上層子客戶名稱", + "include-customer-entities": "包含客戶實體", + "include-sub-customer-entities": "包含子客戶實體", + "groups": "群組", + "type-secret-storage": "機密儲存庫" }, "entity-field": { "created-time": "建立時間", "name": "名稱", "type": "類型", - "first-name": "名字", + "first-name": "名", "last-name": "姓", "email": "電子郵件", "title": "標題", "country": "國家", - "state": "州", + "state": "省/州", "city": "城市", "address": "地址", - "address2": "地址2", - "zip": "Zip", - "phone": "手機", - "label": "標籤" + "address2": "地址 2", + "zip": "郵遞區號", + "phone": "電話", + "label": "標籤", + "queue-name": "佇列名稱", + "service-id": "服務識別碼", + "owner-name": "所有者名稱", + "owner-type": "所有者類型", + "additional-info": "其他資訊", + "configuration": "設定", + "schedule": "排程", + "originatorId": "發起者識別碼", + "originatorType": "發起者類型", + "format": "格式" }, "entity-view": { - "entity-view": "實體視圖", - "entity-view-required": "實體視圖必填。", - "entity-views": "實體視圖", - "management": "實體視圖管理", - "view-entity-views": "查看實體視圖", - "entity-view-alias": "實體視圖別名", - "aliases": "實體視圖別名", - "no-alias-matching": "'{{alias}}' 沒有找到。", + "entity-view": "實體檢視", + "entity-view-required": "實體檢視為必填項。", + "entity-views": "實體檢視", + "management": "實體檢視管理", + "view-entity-views": "檢視實體檢視", + "entity-view-alias": "實體檢視別名", + "aliases": "實體檢視別名", + "no-alias-matching": "找不到「{{alias}}」。", "no-aliases-found": "找不到別名。", - "no-key-matching": "'{{key}}' 沒有找到。", - "no-keys-found": "找不到密鑰。", - "create-new-alias": "建立一個新的!", - "create-new-key": "建立一個新的!", - "duplicate-alias-error": "找到重複別名 '{{alias}}'。
    實體視圖別名必須是唯一的。", - "configure-alias": "配置 '{{alias}}' 別名", - "no-devices-matching": "找不到與 '{{entity}}' 符合的實體視圖。", + "no-key-matching": "找不到「{{key}}」。", + "no-keys-found": "找不到鍵。", + "create-new-alias": "建立新別名!", + "create-new-key": "建立新鍵!", + "duplicate-alias-error": "發現重複別名「{{alias}}」。
    實體檢視別名在儀表板中必須唯一。", + "configure-alias": "設定「{{alias}}」別名", + "no-devices-matching": "找不到符合「{{entity}}」的實體檢視。", "public": "公開", "alias": "別名", - "alias-required": "需要實體視圖別名。", - "remove-alias": "刪除實體視圖別名", - "add-alias": "增加實體視圖別名", - "name-starts-with": "名稱前綴", - "help-text": "根據需要使用'%':'%entity-view_name_contains%', '%entity-view_name_ends', 'entity-view_starts_with'.", - "entity-view-list": "實體視圖列表", - "use-entity-view-name-filter": "使用過濾器", - "entity-view-list-empty": "沒有被選中的實體視圖", - "entity-view-name-filter-required": "實體視圖名稱過濾器必填。", - "entity-view-name-filter-no-entity-view-matched": "找不到以'{{entityView}}' 開頭的實體視圖。", - "add": "增加實體視圖", - "entity-view-public": "實體視圖是公開的", - "assign-to-customer": "分配給客戶", - "assign-entity-view-to-customer": "將實體視圖分配給客戶", - "assign-entity-view-to-customer-text": "請選擇要分配給客戶的實體視圖", - "assign-entity-view-to-edge-title": "將實體視圖分配給邊緣", - "no-entity-views-text": "找不到實體視圖", - "assign-to-customer-text": "請選擇客戶分配實體視圖", - "entity-view-details": "實體視圖詳細訊息", - "add-entity-view-text": "增加新實體視圖", - "delete": "刪除實體視圖", - "assign-entity-views": "分配實體視圖", - "assign-entity-views-text": "分配 { count, plural, =1 {1 實體視圖} other {# 實體視圖} } 給客戶", - "delete-entity-views": "刪除實體視圖", - "unassign-from-customer": "取消分配客戶", - "unassign-entity-views": "取消分配實體視圖", - "unassign-entity-views-action-title": "從客戶處取消分配{count,plural, =1 {1 實體視圖} other {# 實體視圖} }", - "assign-new-entity-view": "分配新實體視圖", - "delete-entity-view-title": "確定要刪除實體視圖 '{{entityViewName}}'?", - "delete-entity-view-text": "小心!確認後實體視圖及其所有相關資料將無法恢復。", - "delete-entity-views-title": "確定要刪除 { count, plural, =1 {1 實體視圖} other {# 實體視圖} }?", - "delete-entity-views-action-title": "刪除 { count, plural, =1 {1 實體視圖} other {# 實體視圖} }", - "delete-entity-views-text": "小心,確認後,所有選擇的實體視圖將被刪除,所有相關的資料將變得無法恢復。", - "unassign-entity-view-title": "您確定要取消對 '{{entityViewName}}'實體視圖的分配嗎?", - "unassign-entity-view-text": "確認後,實體視圖將未分配,客戶無法存取。", - "unassign-entity-view": "未分配實體視圖", - "unassign-entity-views-title": "您確定要取消分配 { count, plural, =1 {1 實體視圖} other {# 實體視圖} }嗎?", - "unassign-entity-views-text": "確認後,所有選擇的實體視圖將被分配,客戶無法存取。", - "entity-view-type": "實體視圖類型", - "entity-view-type-required": "實體視圖類型必填。", - "select-entity-view-type": "選擇實體視圖類型", - "enter-entity-view-type": "輸入實體視圖類型", - "any-entity-view": "任何實體視圖", - "no-entity-view-types-matching": "沒有找到符合 '{{entitySubtype}}' 的實體視圖類型。", - "entity-view-type-list-empty": "實體視圖類型未選擇。", - "entity-view-types": "實體視圖類型", + "alias-required": "實體檢視別名為必填項。", + "remove-alias": "移除實體檢視別名", + "add-alias": "新增實體檢視別名", + "name-starts-with": "實體檢視名稱表示式", + "help-text": "根據需要使用 '%':'%entity-view_name_contains%'、'%entity-view_name_ends'、'entity-view_starts_with%'。", + "entity-view-list": "實體檢視清單", + "use-entity-view-name-filter": "使用篩選器", + "entity-view-list-empty": "未選擇實體檢視。", + "entity-view-name-filter-required": "實體檢視名稱篩選器為必填項。", + "entity-view-name-filter-no-entity-view-matched": "找不到以「{{entityView}}」開頭的實體檢視。", + "add": "新增實體檢視", + "entity-view-public": "實體檢視為公開", + "assign-to-customer": "指派給客戶", + "assign-entity-view-to-customer": "將實體檢視指派給客戶", + "assign-entity-view-to-customer-text": "請選擇要指派給客戶的實體檢視", + "assign-entity-view-to-edge-title": "將實體檢視指派給 Edge", + "no-entity-views-text": "找不到實體檢視", + "assign-to-customer-text": "請選擇要指派實體檢視的客戶", + "entity-view-details": "實體檢視詳細資料", + "add-entity-view-text": "新增實體檢視", + "delete": "刪除實體檢視", + "assign-entity-views": "指派實體檢視", + "assign-entity-views-text": "將 { count, plural, =1 {1 個實體檢視} other {# 個實體檢視} }指派給客戶", + "delete-entity-views": "刪除實體檢視", + "unassign-from-customer": "從客戶取消指派", + "unassign-entity-views": "取消指派實體檢視", + "unassign-entity-views-action-title": "取消指派 { count, plural, =1 {1 個實體檢視} other {# 個實體檢視} }", + "assign-new-entity-view": "指派新實體檢視", + "delete-entity-view-title": "確定要刪除實體檢視「{{entityViewName}}」嗎?", + "delete-entity-view-text": "請注意,確認後實體檢視及所有相關資料將無法恢復。", + "delete-entity-views-title": "確定要刪除 { count, plural, =1 {1 個實體檢視} other {# 個實體檢視} }嗎?", + "delete-entity-views-action-title": "刪除 { count, plural, =1 {1 個實體檢視} other {# 個實體檢視} }", + "delete-entity-views-text": "請注意,確認後所有選取的實體檢視將被移除,所有相關資料將無法恢復。", + "unassign-entity-view-title": "確定要取消指派實體檢視「{{entityViewName}}」嗎?", + "unassign-entity-view-text": "確認後,實體檢視將被取消指派,客戶將無法存取。", + "unassign-entity-view": "取消指派實體檢視", + "unassign-entity-views-title": "確定要取消指派 { count, plural, =1 {1 個實體檢視} other {# 個實體檢視} }嗎?", + "unassign-entity-views-text": "確認後,所有選取的實體檢視將被取消指派,客戶將無法存取。", + "entity-view-type": "實體檢視類型", + "entity-view-type-required": "實體檢視類型為必填項。", + "select-entity-view-type": "選擇實體檢視類型", + "enter-entity-view-type": "輸入實體檢視類型", + "any-entity-view": "任意實體檢視", + "no-entity-view-types-matching": "找不到與「{{entitySubtype}}」符合的實體檢視類型。", + "entity-view-type-list-empty": "未選擇實體檢視類型。", + "entity-view-types": "實體檢視類型", "created-time": "建立時間", "name": "名稱", - "name-required": "名稱必填。", - "name-max-length": "名稱應小於256", - "type-max-length": "實體視圖類型應小於256", + "name-required": "名稱為必填項。", + "name-max-length": "名稱應少於 256 個字元", + "type-max-length": "實體檢視類型應少於 256 個字元", "description": "描述", "events": "事件", - "details": "詳細資訊", - "copyId": "複製實體視圖ID", - "idCopiedMessage": "實體視圖Id已複製到剪貼板", - "assignedToCustomer": "分配給客戶", - "unable-entity-view-device-alias-title": "無法刪除實體視圖別名", - "unable-entity-view-device-alias-text": "實體視圖別名 '{{entityViewAlias}}' 不能夠被刪除,因為它被下列部件所使用:
    {{widgetsList}}", - "select-entity-view": "選擇實體視圖", - "make-public": "實體視圖設為公開", - "make-private": "實體視圖設為私有", + "details": "詳細資料", + "copyId": "複製實體檢視識別碼", + "idCopiedMessage": "實體檢視識別碼已複製到剪貼簿", + "assignedToCustomer": "已指派給客戶", + "unable-entity-view-device-alias-title": "無法刪除實體檢視別名", + "unable-entity-view-device-alias-text": "裝置別名「{{entityViewAlias}}」無法刪除,因為它被以下小工具使用:
    {{widgetsList}}", + "select-entity-view": "選擇實體檢視", + "make-public": "將實體檢視設為公開", + "make-private": "將實體檢視設為私有", "start-date": "開始日期", "start-ts": "開始時間", "end-date": "結束日期", "end-ts": "結束時間", - "date-limits": "日期限製", - "client-attributes": "客戶端屬性", + "date-limits": "日期限制", + "client-attributes": "用戶端屬性", "shared-attributes": "共享屬性", - "server-attributes": "服務端屬性", + "server-attributes": "伺服器端屬性", "timeseries": "時間序列", - "client-attributes-placeholder": "客戶端屬性", + "client-attributes-placeholder": "用戶端屬性", "shared-attributes-placeholder": "共享屬性", - "server-attributes-placeholder": "服務端屬性", + "server-attributes-placeholder": "伺服器端屬性", "timeseries-placeholder": "時間序列", "target-entity": "目標實體", "attributes-propagation": "屬性傳播", - "attributes-propagation-hint": "每次儲存或更新這個實體視圖時,實體視圖將自動從目標實體複製指定的屬性。由於性能原因,目標實體屬性不會在每次屬性更改時傳播到實體視圖。您可以通過配置\"copy to view\"規則鏈中的規則節點,並將\"Post attributes\"和\"attributes Updated\"消息連結到新規則節點,從而啟用自動傳播。", + "attributes-propagation-hint": "實體檢視將在每次儲存或更新此實體檢視時自動從目標實體複製指定的屬性。出於效能考慮,每次屬性變更時不會自動將目標實體屬性傳播到實體檢視。您可以透過在規則鏈中設定「copy to view」規則節點並將「Post attributes」和「Attributes Updated」訊息連結到新規則節點來啟用自動傳播。", "timeseries-data": "時間序列資料", - "timeseries-data-hint": "配置目標實體的時間序列資料鍵,以便實體視圖可以存取這些鍵。這個時間序列資料是只讀的。", - "search": "搜尋實體視圖", - "selected-entity-views": "{ count, plural, =1 {1 實體視圖} other {# 實體視圖} } 被選中", - "make-public-entity-view-title": "你確定你想建立公開 '{{entityViewName}}' 實體視圖?", - "make-public-entity-view-text": "確認後,實體視圖 及其所有資料將被公開並被他人存取。", - "make-private-entity-view-title": "你確定你想建立私有 '{{entityViewName}}' 實體視圖?", - "make-private-entity-view-text": "確認後,實體視圖及其所有資料將被私有化,無法被他人存取。", - "assign-entity-view-to-edge": "將實體視圖分配給邊緣", - "assign-entity-view-to-edge-text": "請選擇要分配給邊緣的實體視圖", - "unassign-entity-view-from-edge-title": "您確定要取消分配實體視圖'{{entityViewName}}'嗎?", - "unassign-entity-view-from-edge-text": "確認後,實體視圖將被取消分配,邊緣將無法訪問。", - "unassign-entity-views-from-edge-action-title": "從邊緣取消分配 { count, plural, =1 {1 實體視圖} other {# 實體視圖} } ", - "unassign-entity-view-from-edge": "取消分配實體視圖", - "unassign-entity-views-from-edge-title": "您確定要取消分配{ count, plural, =1 {1 實體視圖} other {# 實體視圖} }嗎?", - "unassign-entity-views-from-edge-text": "確認後,所有選定的實體視圖都將被取消分配,並且邊緣將無法訪問。" + "timeseries-data-hint": "設定實體檢視可存取的目標實體時間序列資料鍵。此時間序列資料為唯讀。", + "search": "搜尋實體檢視", + "selected-entity-views": "已選擇 { count, plural, =1 {1 個實體檢視} other {# 個實體檢視} }", + "make-public-entity-view-title": "確定要將實體檢視「{{entityViewName}}」設為公開嗎?", + "make-public-entity-view-text": "確認後,實體檢視及其所有資料將設為公開並可被其他人存取。", + "make-private-entity-view-title": "確定要將實體檢視「{{entityViewName}}」設為私有嗎?", + "make-private-entity-view-text": "確認後,實體檢視及其所有資料將設為私有,其他人將無法存取。", + "assign-entity-view-to-edge": "將實體檢視指派到 Edge", + "assign-entity-view-to-edge-text": "請選擇要指派到 Edge 的實體檢視", + "unassign-entity-view-from-edge-title": "確定要取消指派實體檢視「{{entityViewName}}」嗎?", + "unassign-entity-view-from-edge-text": "確認後,實體檢視將被取消指派,Edge 將無法存取。", + "unassign-entity-views-from-edge-action-title": "取消指派 { count, plural, =1 {1 個實體檢視} other {# 個實體檢視} }", + "unassign-entity-view-from-edge": "取消指派實體檢視", + "unassign-entity-views-from-edge-title": "確定要取消指派 { count, plural, =1 {1 個實體檢視} other {# 個實體檢視} }嗎?", + "unassign-entity-views-from-edge-text": "確認後,所有選取的實體檢視將被取消指派,Edge 將無法存取。", + "no-entity-views-matching": "找不到與「{{entity}}」符合的實體檢視。", + "all": "全部", + "all-entity-views": "所有實體檢視", + "groups": "群組", + "shared": "已共用", + "select-group-to-add": "選取目標群組,以加入所選實體檢視", + "select-group-to-move": "選取目標群組,以移入所選實體檢視", + "remove-entity-views-from-group": "確定要從群組「'{{entityGroup}}'」移除 { count, plural, =1 {1 個實體檢視} other {# 個實體檢視} }嗎?", + "group": "實體檢視群組", + "list-of-groups": "{ count, plural, =1 {1 個實體檢視群組} other {實體檢視群組清單(# 個)} }", + "group-name-starts-with": "名稱以「{{prefix}}」開頭的實體檢視群組" }, "event": { "event-type": "事件類型", - "events-filter": "事件過濾器", + "events-filter": "事件篩選器", "clean-events": "清除事件", "type-error": "錯誤", "type-lc-event": "生命週期事件", - "type-stats": "類型統計", - "type-debug-rule-node": "測試", - "type-debug-rule-chain": "測試", + "type-stats": "統計", + "type-debug-rule-node": "偵錯", + "type-debug-rule-chain": "偵錯", "no-events-prompt": "找不到事件", "error": "錯誤", - "alarm": "報警", + "alarm": "警報", "event-time": "事件時間", "server": "伺服器", - "body": "整體", + "body": "訊息體", "method": "方法", "type": "類型", - "message": "消息", - "message-id": "消息ID", - "copy-message-id": "複製消息ID", - "message-type": "消息類型", + "message": "訊息", + "message-id": "訊息識別碼", + "copy-message-id": "複製訊息識別碼", + "message-type": "訊息類型", "data-type": "資料類型", "relation-type": "關聯類型", - "metadata": "元資料", + "metadata": "詮釋資料", "data": "資料", "event": "事件", "status": "狀態", "success": "成功", "failed": "失敗", - "messages-processed": "消息處理", - "max-messages-processed": "處理的最大消息", - "min-messages-processed": "處理的最小消息", - "errors-occurred": "錯誤發生", - "max-errors-occurred": "發生的最大錯誤", - "min-errors-occurred": "發生的最小錯誤", - "min-value": "最小值為0。", - "all-events": "所有", + "messages-processed": "已處理訊息數", + "max-messages-processed": "最大已處理訊息數", + "min-messages-processed": "最小已處理訊息數", + "errors-occurred": "發生的錯誤數", + "max-errors-occurred": "最大錯誤數", + "min-errors-occurred": "最小錯誤數", + "min-value": "最小值為 0。", + "all-events": "全部", "has-error": "有錯誤", - "entity-id": "實體ID", - "copy-entity-id": "複製實體ID", + "entity-id": "實體識別碼", + "copy-entity-id": "複製實體識別碼", "entity-type": "實體類型", - "clear-filter": "清除過濾器", + "clear-filter": "清除篩選器", "clear-request-title": "清除所有事件", - "clear-request-text": "您確定要清除所有事件嗎?" + "clear-request-text": "確定要清除所有事件嗎?", + "type-debug-calculated-field": "偵錯", + "arguments": "參數", + "result": "結果", + "started": "已啟動", + "updated": "已更新", + "stopped": "已停止", + "events": "事件", + "type-debug-converter": "偵錯", + "type-debug-integration": "偵錯", + "errors": "錯誤", + "in": "輸入", + "out": "輸出", + "entity": "實體", + "warning": "警告", + "warnings": "警告" }, "extension": { - "extensions": "擴展", - "selected-extensions": "{ count, plural, =1 {1 擴展} other {# 擴展} } 被選擇", + "extensions": "擴充套件", + "selected-extensions": "已選擇 { count, plural, =1 {1 個擴充套件} other {# 個擴充套件} }", "type": "類型", - "key": "鍵名", + "key": "鍵", "value": "值", - "id": "ID", - "extension-id": "擴展ID", - "extension-type": "擴展類型", + "id": "識別碼", + "extension-id": "擴充套件識別碼", + "extension-type": "擴充套件類型", "transformer-json": "JSON *", - "unique-id-required": "當前擴展ID已經存在。", - "delete": "刪除擴展", - "add": "增加擴展", - "edit": "編輯擴展", - "delete-extension-title": "確實要刪除擴展名'{{extensionId}}'嗎?", - "delete-extension-text": "小心,確認後,擴展和所有相關資料將變得無法恢復。", - "delete-extensions-title": "您確定要刪除 { count, plural, =1 {1 表達式} other {# 表達式} }嗎?", - "delete-extensions-text": "小心,確認後,所有選擇的擴展將被刪除。", + "unique-id-required": "目前擴充套件識別碼已存在。", + "delete": "刪除擴充套件", + "add": "新增擴充套件", + "edit": "編輯擴充套件", + "delete-extension-title": "確定要刪除擴充套件「{{extensionId}}」嗎?", + "delete-extension-text": "請注意,確認後擴充套件及所有相關資料將無法恢復。", + "delete-extensions-title": "確定要刪除 { count, plural, =1 {1 個擴充套件} other {# 個擴充套件} }嗎?", + "delete-extensions-text": "請注意,確認後所有選取的擴充套件將被移除。", "converters": "轉換器", - "converter-id": "轉換器序號", - "configuration": "配置", - "converter-configurations": "轉換器的配置", - "token": "安全token", - "add-converter": "增加轉換器", - "add-config": "增加轉換器配置", - "device-name-expression": "設備名稱表達式", - "device-type-expression": "設備類型表達式", - "custom": "顧客", - "to-double": "加倍", + "converter-id": "轉換器識別碼", + "configuration": "設定", + "converter-configurations": "轉換器設定", + "token": "安全權杖", + "add-converter": "新增轉換器", + "add-config": "新增轉換器設定", + "device-name-expression": "裝置名稱表示式", + "device-type-expression": "裝置類型表示式", + "custom": "自訂", + "to-double": "轉為 Double", "transformer": "轉換器", - "json-required": "轉換器JSON必填。", - "json-parse": "無法解析轉換器JSON。", + "json-required": "轉換器 JSON 為必填項。", + "json-parse": "無法解析轉換器 JSON。", "attributes": "屬性", - "add-attribute": "增加屬性", - "add-map": "增加映射元素", + "add-attribute": "新增屬性", + "add-map": "新增對應元素", "timeseries": "時間序列", - "add-timeseries": "增加時間序列", - "field-required": "必填欄位", - "brokers": "代理伺服器組", - "add-broker": "增加代理伺服器", + "add-timeseries": "新增時間序列", + "field-required": "欄位為必填項", + "brokers": "代理", + "add-broker": "新增代理", "host": "主機", "port": "連接埠", - "port-range": "連接埠應該在1到65535的範圍內。", - "ssl": "Ssl", - "credentials": "證書", - "username": "用戶名", + "port-range": "連接埠應在 1 到 65535 的範圍內。", + "ssl": "SSL", + "credentials": "認證資訊", + "username": "使用者名稱", "password": "密碼", - "retry-interval": "以毫秒為單位的重試間隔", + "retry-interval": "重試間隔(毫秒)", "anonymous": "匿名", - "basic": "Basic", + "basic": "基本", "pem": "PEM", - "ca-cert": "CA證書文件 *", - "private-key": "私鑰文件 *", - "cert": "證書文件 *", - "no-file": "沒有選擇文件。", - "drop-file": "刪除文件或單擊以選擇要上載的文件。", - "mapping": "映射", - "topic-filter": "主題濾波", - "converter-type": "轉換類型", + "ca-cert": "CA 憑證檔案 *", + "private-key": "私鑰檔案 *", + "cert": "憑證檔案 *", + "no-file": "未選擇檔案。", + "drop-file": "拖放檔案或點選選擇要上傳的檔案。", + "mapping": "對應", + "topic-filter": "主題篩選器", + "converter-type": "轉換器類型", "converter-json": "Json", - "json-name-expression": "設備名稱JSON表達式", - "topic-name-expression": "設備名稱主題表達式", - "json-type-expression": "設備類型JSON表達式", - "topic-type-expression": "設備類型主題表達式", - "attribute-key-expression": "屬性關鍵字表達式", - "attr-json-key-expression": "屬性鍵JSON表達式", - "attr-topic-key-expression": "屬性關鍵字主題表達式", - "request-id-expression": "請求ID表達式", - "request-id-json-expression": "請求ID JSON表達式", - "request-id-topic-expression": "請求ID主題表達式", - "response-topic-expression": "響應主題表達式", - "value-expression": "值表達式", + "json-name-expression": "裝置名稱 JSON 表示式", + "topic-name-expression": "裝置名稱主題表示式", + "json-type-expression": "裝置類型 JSON 表示式", + "topic-type-expression": "裝置類型主題表示式", + "attribute-key-expression": "屬性鍵表示式", + "attr-json-key-expression": "屬性鍵 JSON 表示式", + "attr-topic-key-expression": "屬性鍵主題表示式", + "request-id-expression": "請求識別碼表示式", + "request-id-json-expression": "請求識別碼 JSON 表示式", + "request-id-topic-expression": "請求識別碼主題表示式", + "response-topic-expression": "回應主題表示式", + "value-expression": "值表示式", "topic": "主題", - "timeout": "毫秒超時", - "converter-json-required": "轉換JSON是必需的。", - "converter-json-parse": "無法解析轉換JSON。", - "filter-expression": "過濾表達式", - "connect-requests": "連接請求", - "add-connect-request": "增加連接請求", - "disconnect-requests": "斷開請求", - "add-disconnect-request": "增加斷開請求", + "timeout": "逾時(毫秒)", + "converter-json-required": "轉換器 JSON 為必填項。", + "converter-json-parse": "無法解析轉換器 JSON。", + "filter-expression": "篩選器表示式", + "connect-requests": "連線請求", + "add-connect-request": "新增連線請求", + "disconnect-requests": "斷開連線請求", + "add-disconnect-request": "新增斷開連線請求", "attribute-requests": "屬性請求", - "add-attribute-request": "增加屬性請求", + "add-attribute-request": "新增屬性請求", "attribute-updates": "屬性更新", - "add-attribute-update": "增加屬性更新", - "server-side-rpc": "服務端RPC", - "add-server-side-rpc-request": "增加服務端RPC請求", - "device-name-filter": "設備名稱濾波", - "attribute-filter": "屬性濾波", - "method-filter": "方法濾波", - "request-topic-expression": "請求主題表達式", - "response-timeout": "毫秒內響應超時", - "topic-expression": "主題表達", - "client-scope": "客戶範圍", - "add-device": "增加伺服器", - "opc-server": "伺服器組", - "opc-add-server": "增加伺服器", - "opc-add-server-prompt": "請增加伺服器", - "opc-application-name": "應用名稱", - "opc-application-uri": "應用URI", - "opc-scan-period-in-seconds": "秒級掃描週期", - "opc-security": "安全性", - "opc-identity": "身份", - "opc-keystore": "密鑰庫", + "add-attribute-update": "新增屬性更新", + "server-side-rpc": "伺服器端 RPC", + "add-server-side-rpc-request": "新增伺服器端 RPC 請求", + "device-name-filter": "裝置名稱篩選器", + "attribute-filter": "屬性篩選器", + "method-filter": "方法篩選器", + "request-topic-expression": "請求主題表示式", + "response-timeout": "回應逾時(毫秒)", + "topic-expression": "主題表示式", + "client-scope": "用戶端範圍", + "add-device": "新增裝置", + "opc-server": "伺服器", + "opc-add-server": "新增伺服器", + "opc-add-server-prompt": "請新增伺服器", + "opc-application-name": "應用程式名稱", + "opc-application-uri": "應用程式 URI", + "opc-scan-period-in-seconds": "掃描週期(秒)", + "opc-security": "安全", + "opc-identity": "身分", + "opc-keystore": "金鑰庫", "opc-type": "類型", "opc-keystore-type": "類型", "opc-keystore-location": "位置 *", "opc-keystore-password": "密碼", "opc-keystore-alias": "別名", - "opc-keystore-key-password": "密鑰密碼", - "opc-device-node-pattern": "設備節點模式", - "opc-device-name-pattern": "設備名稱模式", - "modbus-server": "Servers/slaves", - "modbus-add-server": "增加 server/slave", - "modbus-add-server-prompt": "請增加 server/slave", + "opc-keystore-key-password": "金鑰密碼", + "opc-device-node-pattern": "裝置節點模式", + "opc-device-name-pattern": "裝置名稱模式", + "modbus-server": "伺服器/從機", + "modbus-add-server": "新增伺服器/從機", + "modbus-add-server-prompt": "請新增伺服器/從機", "modbus-transport": "傳輸", - "modbus-tcp-reconnect": "自動重新連接", - "modbus-rtu-over-tcp": "TCP上的RTU", - "modbus-port-name": "串口名稱", + "modbus-tcp-reconnect": "自動重連", + "modbus-rtu-over-tcp": "TCP 上的 RTU", + "modbus-port-name": "序列埠名稱", "modbus-encoding": "編碼", - "modbus-parity": "奇偶性", - "modbus-baudrate": "鮑率", + "modbus-parity": "同位檢查", + "modbus-baudrate": "波特率", "modbus-databits": "資料位元", "modbus-stopbits": "停止位元", - "modbus-databits-range": "資料位元應該在7到8的範圍內。", - "modbus-stopbits-range": "停止位元應該在1到2的範圍內。", - "modbus-unit-id": "單位編號", - "modbus-unit-id-range": "單位ID應該在1到247的範圍內", - "modbus-device-name": "設備名稱", - "modbus-poll-period": "輪詢週期 (ms)", - "modbus-attributes-poll-period": "輪詢屬性週期 (ms)", - "modbus-timeseries-poll-period": "時間序列輪詢週期 (ms)", - "modbus-poll-period-range": "輪詢週期應為正值。", + "modbus-databits-range": "資料位元應在 7 到 8 的範圍內。", + "modbus-stopbits-range": "停止位元應在 1 到 2 的範圍內。", + "modbus-unit-id": "單元識別碼", + "modbus-unit-id-range": "單元識別碼應在 1 到 247 的範圍內。", + "modbus-device-name": "裝置名稱", + "modbus-poll-period": "輪詢週期(毫秒)", + "modbus-attributes-poll-period": "屬性輪詢週期(毫秒)", + "modbus-timeseries-poll-period": "時間序列輪詢週期(毫秒)", + "modbus-poll-period-range": "輪詢週期應為正數值。", "modbus-tag": "標籤", - "modbus-function": "函數", - "modbus-register-address": "寄存器地址", - "modbus-register-address-range": "寄存器地址應該在0到65535的範圍內。", + "modbus-function": "功能", + "modbus-register-address": "暫存器位址", + "modbus-register-address-range": "暫存器位址須介於 0 到 65535 之間。", "modbus-register-bit-index": "位元索引", - "modbus-register-bit-index-range": "位元索引應該在0到15的範圍內。", - "modbus-register-count": "寄存器計數", - "modbus-register-count-range": "寄存器計數應該是一個正值。", - "modbus-byte-order": "字節順序", + "modbus-register-bit-index-range": "位元索引應在 0 到 15 的範圍內。", + "modbus-register-count": "暫存器數量", + "modbus-register-count-range": "暫存器數量應為正數值。", + "modbus-byte-order": "位元組序", "sync": { "status": "狀態", - "sync": "同步", - "not-sync": "不同步", + "sync": "已同步", + "not-sync": "未同步", "last-sync-time": "最後同步時間", - "not-available": "無法使用" + "not-available": "不可用" }, - "export-extensions-configuration": "匯出擴展配置", - "import-extensions-configuration": "匯入擴展配置", - "import-extensions": "匯入擴展", - "import-extension": "匯入擴展", - "export-extension": "匯出擴展", - "file": "擴展文件", - "invalid-file-error": "無效的擴展文件" + "export-extensions-configuration": "匯出擴充套件設定", + "import-extensions-configuration": "匯入擴充套件設定", + "import-extensions": "匯入擴充套件", + "import-extension": "匯入擴充套件", + "export-extension": "匯出擴充套件", + "file": "擴充套件檔案", + "invalid-file-error": "無效的擴充套件檔案", + "view": "檢視擴充套件", + "sas": "共用存取簽章", + "text": "文字", + "json": "JSON", + "binary": "二進位", + "hex": "十六進位" }, "filter": { - "add": "增加過濾器", - "edit": "編輯過濾器", - "name": "過濾器名稱", - "name-required": "需要過濾器名稱。", - "duplicate-filter": "同名過濾器已存在。", - "filters": "過濾器", - "unable-delete-filter-title": "無法刪除過濾器", - "unable-delete-filter-text": "無法刪除過濾器'{{filter}}' ,因為它被以下部件使用:
    {{widgetsList}}", - "duplicate-filter-error": "找到重複的過濾器 '{{filter}}'。
    過濾器在儀表板中必須是唯一的。", - "missing-key-filters-error": "過濾器'{{filter}}'缺少關鍵過濾器。", - "filter": "過濾器", + "add": "新增篩選器", + "edit": "編輯篩選器", + "name": "篩選器名稱", + "name-required": "篩選器名稱為必填項。", + "duplicate-filter": "已存在同名篩選器。", + "filters": "篩選器", + "unable-delete-filter-title": "無法刪除篩選器", + "unable-delete-filter-text": "篩選器「{{filter}}」無法刪除,因為它被以下小工具使用:
    {{widgetsList}}", + "duplicate-filter-error": "發現重複篩選器「{{filter}}」。
    篩選器在儀表板中必須唯一。", + "missing-key-filters-error": "篩選器「{{filter}}」缺少鍵篩選器。", + "filter": "篩選器", "editable": "可編輯", - "no-filters-found": "未找到過濾器。", - "no-filter-text": "未指定過濾器", - "add-filter-prompt": "請增加過濾器", - "no-filter-matching": "找不到'{{filter}}'。", - "create-new-filter": "建立一個新的!", - "filter-required": "需要過濾器。", + "no-filters-found": "找不到篩選器。", + "no-filter-text": "未指定篩選器", + "add-filter-prompt": "請新增篩選器", + "no-filter-matching": "找不到「{{filter}}」。", + "create-new-filter": "建立新篩選器!", + "filter-required": "篩選器為必填項。", "operation": { "operation": "操作", "equal": "等於", - "not-equal": "不相等", - "starts-with": "開始於", - "ends-with": "結束於", + "not-equal": "不等於", + "starts-with": "開頭為", + "ends-with": "結尾為", "contains": "包含", "not-contains": "不包含", "greater": "大於", - "less": "少於", + "less": "小於", "greater-or-equal": "大於或等於", - "less-or-equal": "少於或等於", - "and": "和", + "less-or-equal": "小於或等於", + "and": "且", "or": "或", - "in": "在", - "not-in": "不在" + "in": "屬於", + "not-in": "不屬於" }, "ignore-case": "忽略大小寫", "value": "值", - "remove-filter": "移除過濾器", - "preview": "過濾器預覽", - "no-filters": "未配置過濾器", - "add-filter": "增加過濾器", - "add-complex-filter": "增加複合過濾器", - "add-complex": "增加複合體", - "complex-filter": "複合過濾器", - "edit-complex-filter": "編輯複合過濾器", - "edit-filter-user-params": "編輯過濾謂詞用戶參數", - "filter-user-params": "過濾謂詞用戶參數", - "user-parameters": "用戶參數", - "display-label": "要顯示的標籤", - "order-priority": "字段順序優先級", - "key-filter": "關鍵過濾器", - "key-filters": "關鍵過濾器", - "key-name": "鍵名", - "key-name-required": "需要鍵名。", + "remove-filter": "移除篩選器", + "preview": "篩選器預覽", + "no-filters": "未設定篩選器", + "add-filter": "新增篩選器", + "add-complex-filter": "新增複合篩選器", + "add-complex": "新增複合", + "complex-filter": "複合篩選器", + "edit-complex-filter": "編輯複合篩選器", + "edit-filter-user-params": "編輯篩選器謂詞使用者參數", + "filter-user-params": "篩選器謂詞使用者參數", + "user-parameters": "使用者參數", + "display-label": "顯示標籤", + "order-priority": "顯示順序", + "key-filter": "鍵篩選器", + "key-filters": "鍵篩選器", + "key-name": "鍵名稱", + "key-name-required": "鍵名稱為必填項。", "key-type": { "key-type": "鍵類型", "attribute": "屬性", "timeseries": "時間序列", - "entity-field": "實體字段", - "constant": "常數" + "entity-field": "實體欄位", + "constant": "常數", + "client-attribute": "用戶端屬性", + "server-attribute": "伺服器端屬性", + "shared-attribute": "共享屬性" }, "value-type": { - "value-type": "值類型", + "value-type": "值型別", "string": "字串", - "numeric": "數字", + "numeric": "數值", "boolean": "布林值", - "date-time": "日期和時間" - }, - "value-type-required": "需要鍵值類型。", - "key-value-type-change-title": "您確定要更改鍵值類型嗎?", - "key-value-type-change-message": "如果您確認新的值類型,所有輸入的鍵過濾器都將被刪除。", - "no-key-filters": "未配置鍵過濾器", - "add-key-filter": "增加鍵過濾器", - "remove-key-filter": "移除鍵過濾器", - "edit-key-filter": "編輯鍵過濾器", + "date-time": "日期時間" + }, + "value-type-required": "鍵值型別為必填項。", + "key-value-type-change-title": "確定要變更鍵值型別嗎?", + "key-value-type-change-message": "如果確認新值型別,所有已輸入的鍵篩選器將被移除。", + "no-key-filters": "未設定鍵篩選器", + "add-key-filter": "新增鍵篩選器", + "remove-key-filter": "移除鍵篩選器", + "edit-key-filter": "編輯鍵篩選器", "date": "日期", "time": "時間", - "current-tenant": "當前租戶", - "current-customer": "當前客戶", - "current-user": "當前用戶", - "current-device": "當前設備", + "current-tenant": "目前租戶", + "current-customer": "目前客戶", + "current-user": "目前使用者", + "current-device": "目前裝置", "default-value": "預設值", - "dynamic-source-type": "動態源類型", + "dynamic-source-type": "動態來源類型", "dynamic-value": "動態值", - "no-dynamic-value": "沒有動態值", - "source-attribute": "源屬性", + "no-dynamic-value": "無動態值", + "source-attribute": "來源屬性", "switch-to-dynamic-value": "切換到動態值", "switch-to-default-value": "切換到預設值", "inherit-owner": "從所有者繼承", - "source-attribute-not-set": "如果未設置源屬性" + "source-attribute-not-set": "如果來源屬性未設定", + "editable-hint": "允許使用者在儀表板中變更篩選器值。", + "create-new": "建立", + "duplicate-filter-action": "複製篩選器", + "custom-label": "自訂標籤", + "custom-label-hint": "啟用後可設定自訂篩選器標籤。停用時將自動產生標籤。", + "or-conditions-disabled": "系統管理員已停用鍵值篩選器之間的 OR 條件。", + "default-comma-separated-values": "預設逗號分隔值", + "unit": "單位", + "unable-delete-filter-text-components": "無法刪除篩選器「{{filter}}」,因為下列元件正在使用它:
    {{widgetsList}}" }, "fullscreen": { - "expand": "展開到全螢幕", + "expand": "展開為全螢幕", "exit": "退出全螢幕", "toggle": "切換全螢幕模式", "fullscreen": "全螢幕" }, "function": { - "function": "函數" + "function": "函式" }, "gateway": { - "no-gateway-found": "未找到閘道。", - "no-gateway-matching": " 未找到'{{item}}'。", - "gateway": "閘道", - "gateway-exists": "同名設備已存在。", - "gateway-name": "閘道名稱", - "gateway-name-required": "需要閘道名稱。", - "gateway-saved": "閘道配置已成功保存。", - "create-new-gateway": "建立新閘道", - "create-new-gateway-text": "您確定要建立一個名稱為:'{{gatewayName}}'的新閘道嗎?" + "no-gateway-found": "找不到閘道器。", + "no-gateway-matching": "找不到「{{item}}」。", + "gateway": "閘道器", + "gateway-exists": "同名裝置已存在。", + "gateway-name": "閘道器名稱", + "gateway-name-required": "閘道器名稱為必填項。", + "gateway-saved": "閘道器設定已儲存。", + "create-new-gateway": "建立新閘道器", + "create-new-gateway-text": "確定要建立名為「{{gatewayName}}」的新閘道器嗎?", + "gateways": "閘道器", + "launch-command": "啟動命令", + "launch-choose-subtitle": "選擇如何使用所選裝置的認證資訊,為「{{name}}」執行 IoT Gateway。", + "launch-recommended": "建議", + "launch-agent-title": "ThingsBoard 代理程式", + "launch-agent-desc": "從雲端遠端安裝、升級、重新啟動及監控,無須 SSH 或手動執行命令。", + "launch-agent-point-install": "一鍵遠端安裝", + "launch-agent-point-upgrade": "從雲端推送升級", + "launch-agent-point-restart": "自動重新啟動與復原", + "launch-agent-point-monitor": "即時監控運作狀況", + "launch-agent-point-bulk": "在代理程式設定檔頁面執行批次操作", + "launch-agent-action": "使用代理程式部署", + "launch-docker-title": "手動執行 Docker Compose", + "launch-docker-desc": "下載 Compose 檔案,並在目標機器上自行執行。", + "launch-docker-point-up": "執行 docker compose up", + "launch-docker-point-control": "完全手動控制", + "launch-docker-point-updates": "自行管理更新", + "launch-docker-point-access": "直接存取裝置", + "launch-docker-action": "顯示說明", + "launch-back": "返回", + "auto-provision": "自動佈建", + "add-gateway": "新增閘道器", + "auto-provision-title": "自動佈建閘道器", + "auto-provision-info-title": "運作方式", + "auto-provision-info-body": "建立代理程式設定檔後,系統會產生 Docker run 命令。在目標機器上執行時,ThingsBoard 會使用命令內的認證資訊,自動建立代理程式及其關聯的閘道器裝置。閘道器會依照指派給代理程式設定檔的應用程式設定檔自動設定,無須手動建立。", + "auto-provision-step-select": "代理程式設定檔", + "auto-provision-step-script": "佈建指令碼", + "auto-provision-valid": "可以開始佈建:「{{profile}}」已獲指派閘道器應用程式設定檔。", + "auto-provision-invalid-no-edge-app-profile": "此設定檔尚未獲指派閘道器應用程式設定檔。請使用按鈕指派。", + "auto-provision-success-message": "代理程式設定檔已就緒。在任一目標機器上執行此命令,即可佈建新的閘道器。", + "auto-provision-script-hint": "請在每台要作為閘道器的機器上執行此命令。每次執行都會佈建一組代理程式與閘道器。" }, "grid": { - "delete-item-title": "您確定要刪除此項嗎?", - "delete-item-text": "注意,確認後此項及其所有相關資料將變得無法恢復。", - "delete-items-title": "你確定你要刪除 { count, plural, =1 {1 項} other {# 項} }嗎?", - "delete-items-action-title": "刪除 { count, plural, =1 {1 項} other {# 項} }", - "delete-items-text": "注意,確認後所有選擇的項目將被刪除,所有相關資料將無法恢復。", - "add-item-text": "增加新項目", - "no-items-text": "沒有找到項目", - "item-details": "項目詳細訊息", + "delete-item-title": "確定要刪除此項目嗎?", + "delete-item-text": "請注意,確認後此項目及所有相關資料將無法恢復。", + "delete-items-title": "確定要刪除 { count, plural, =1 {1 個項目} other {# 個項目} }嗎?", + "delete-items-action-title": "刪除 { count, plural, =1 {1 個項目} other {# 個項目} }", + "delete-items-text": "請注意,確認後所有選取的項目將被移除,且所有相關資料將無法恢復。", + "add-item-text": "新增項目", + "no-items-text": "找不到項目", + "item-details": "項目詳細資料", "delete-item": "刪除項目", "delete-items": "刪除項目", - "scroll-to-top": "滾動到頂部" + "scroll-to-top": "捲動至頂端" }, "help": { - "goto-help-page": "轉到幫助頁面", - "show-help": "顯示幫助" + "goto-help-page": "前往說明頁面", + "show-help": "顯示說明" }, "home": { "home": "首頁", - "profile": "屬性", - "logout": "註銷", - "menu": "菜單", + "profile": "個人資料", + "logout": "登出", + "menu": "選單", "avatar": "頭像", - "open-user-menu": "打開用戶菜單" + "open-user-menu": "開啟使用者選單", + "go-to": "前往…", + "crumbs-more": "符合條件的區段中另有 {{more}} 項", + "no-matches": "找不到符合的項目" }, "file-input": { - "browse-file": "瀏覽文件", - "browse-files": "瀏覽文件" + "browse-file": "瀏覽檔案", + "browse-files": "瀏覽檔案" }, "image-input": { - "drop-images-or": "拖放圖像或", - "no-images": "未選擇任何圖像", - "images": "圖像" + "drop-images-or": "拖放圖片或", + "no-images": "未選擇圖片", + "images": "圖片", + "drag-and-drop": "拖放", + "or": "或", + "browse": "瀏覽" }, "import": { - "no-file": "沒有選擇文件", - "drop-file": "拖動一個JSON文件或者單擊以選擇要上傳的文件。", - "drop-json-file-or": "拖放JSON文件或", - "drop-file-csv": "拖放CSV文件或單擊以選擇要上傳的文件。", - "drop-file-csv-or": "拖放CSV文件或", + "no-file": "未選擇檔案", + "drop-file": "拖放 JSON 檔案或點選選擇要上傳的檔案。", + "drop-json-file-or": "拖放 JSON 檔案或", + "drop-file-csv": "拖放 CSV 檔案或點選選擇要上傳的檔案。", + "drop-file-csv-or": "拖放 CSV 檔案或", "column-value": "值", "column-title": "標題", - "column-example": "示例值資料", + "column-example": "範例值資料", "column-key": "屬性/遙測鍵", - "credentials": "證書", - "csv-delimiter": "CSV分隔符號", - "csv-first-line-header": "第一行包含列名", + "credentials": "認證資訊", + "csv-delimiter": "CSV 分隔字元", + "csv-first-line-header": "第一列包含欄位名稱", "csv-update-data": "更新屬性/遙測", - "details": "詳細資訊", - "import-csv-number-columns-error": "一個文件應至少包含兩列", - "import-csv-invalid-format-error": "文件格式無效。行: '{{line}}'", + "details": "詳細資料", + "import-csv-number-columns-error": "檔案應至少包含兩個欄位", + "import-csv-invalid-format-error": "無效的檔案格式。行:「{{line}}」", "column-type": { "name": "名稱", "type": "類型", "label": "標籤", - "column-type": "列類型", - "client-attribute": "客戶端屬性", + "column-type": "欄位類型", + "client-attribute": "用戶端屬性", "shared-attribute": "共享屬性", - "server-attribute": "伺服器屬性", + "server-attribute": "伺服器端屬性", "timeseries": "時間序列", - "entity-field": "實體字段", - "access-token": "訪問token", + "entity-field": "實體欄位", + "access-token": "存取權杖", "x509": "X.509", "mqtt": { - "client-id": "MQTT客戶ID", - "user-name": "MQTT用戶名稱", - "password": "MQTT密碼" + "client-id": "MQTT 用戶端識別碼", + "user-name": "MQTT 使用者名稱", + "password": "MQTT 密碼" }, "lwm2m": { - "client-endpoint": "LwM2M端點客戶端名稱", - "security-config-mode": "LwM2M安全配置模式", - "client-identity": "LwM2M客戶端身份", - "client-key": "LwM2M 客戶密鑰", - "client-cert": "LwM2M客戶公鑰", - "bootstrap-server-security-mode": "LwM2M bootstrap server 安全模式", - "bootstrap-server-secret-key": "LwM2M bootstrap server 密鑰", - "bootstrap-server-public-key-id": "LwM2M bootstrap server 公鑰或ID", - "lwm2m-server-security-mode": "LwM2M伺服器安全模式", - "lwm2m-server-secret-key": "LwM2M伺服器密鑰", - "lwm2m-server-public-key-id": "LwM2M伺服器公鑰或ID" + "client-endpoint": "LwM2M 端點用戶端名稱", + "security-config-mode": "LwM2M 安全設定模式", + "client-identity": "LwM2M 用戶端身分", + "client-key": "LwM2M 用戶端金鑰", + "client-cert": "LwM2M 用戶端公鑰", + "bootstrap-server-security-mode": "LwM2M 引導伺服器安全模式", + "bootstrap-server-secret-key": "LwM2M 引導伺服器金鑰", + "bootstrap-server-public-key-id": "LwM2M 引導伺服器公鑰或識別碼", + "lwm2m-server-security-mode": "LwM2M 伺服器安全模式", + "lwm2m-server-secret-key": "LwM2M 伺服器金鑰", + "lwm2m-server-public-key-id": "LwM2M 伺服器公鑰或識別碼" }, - "isgateway": "是閘道", - "activity-time-from-gateway-device": "來自閘道設備的活動時間", + "isgateway": "是否為閘道器", + "activity-time-from-gateway-device": "來自閘道器裝置的活動時間", "description": "描述", - "routing-key": "邊緣鍵", - "secret": "邊緣密鑰" + "routing-key": "Edge 金鑰", + "secret": "Edge 密碼", + "snmp": { + "host": "SNMP 主機", + "port": "SNMP 連接埠", + "version": "SNMP 版本(v1、v2c 或 v3)", + "community-string": "SNMP 團體字串" + }, + "edge-license-key": "授權金鑰", + "cloud-endpoint": "雲端端點" }, "stepper-text": { - "select-file": "選擇一個文件", - "configuration": "匯入配置", - "column-type": "選擇列類型", - "creat-entities": "創造新實體" + "select-file": "選擇檔案", + "configuration": "匯入設定", + "column-type": "選擇欄位類型", + "creat-entities": "建立新實體" }, "message": { - "create-entities": "已成功建立{{count}}個新實體。", - "update-entities": "{{count}}個實體已成功更新。", - "error-entities": "建立 {{count}}個實體時出錯。" - } + "create-entities": "已成功建立 {{count}} 個新實體。", + "update-entities": "已成功更新 {{count}} 個實體。", + "error-entities": "建立 {{count}} 個實體時出錯。" + }, + "drop-csv-file": "拖放 CSV 檔案,或按一下以選取要上傳的檔案。" }, "item": { - "selected": "選擇" + "selected": "選擇", + "type-widget": "小工具", + "type-widget-plural": "小工具", + "type-dashboard": "儀表板", + "type-dashboard-plural": "儀表板", + "type-solution-template": "解決方案範本", + "type-solution-template-plural": "解決方案範本", + "type-calculated-field": "計算欄位", + "type-calculated-field-plural": "計算欄位", + "type-alarm-rule": "警報規則", + "type-alarm-rule-plural": "警報規則", + "type-rule-chain": "規則鏈", + "type-rule-chain-plural": "規則鏈", + "type-device": "裝置", + "type-device-plural": "裝置" }, "js-func": { - "no-return-error": "函數必須返回值!", - "return-type-mismatch": "函數必須返回 '{{type}}' 類型的值!", + "no-return-error": "函式必須回傳值!", + "return-type-mismatch": "函式必須回傳「{{type}}」型別的值!", "tidy": "整理", - "mini": "迷你" + "mini": "壓縮", + "modules": "模組", + "remove-module": "移除模組", + "no-modules": "未設定模組", + "add-module": "新增模組", + "module-alias": "別名", + "invalid-module-alias-name": "無效的別名名稱", + "module-resource": "JS 模組資源", + "not-unique-module-aliases-error": "模組別名必須唯一!", + "show-module-info": "顯示模組資訊", + "show-module-source-code": "顯示模組原始碼", + "module-members": "模組成員", + "module-no-members": "模組沒有匯出成員", + "module-load-error": "模組載入錯誤", + "source-code": "原始碼", + "source-code-load-error": "原始碼載入錯誤", + "no-js-module-text": "找不到 JS 模組", + "no-js-module-matching": "找不到與「{{module}}」符合的 JS 模組。" }, "key-val": { - "key": "鍵名", + "key": "鍵", "value": "值", - "remove-entry": "刪除條目", - "add-entry": "增加條目", - "no-data": "沒有條目" + "remove-entry": "移除項目", + "add-entry": "新增項目", + "no-data": "尚無項目" }, "layout": { - "layout": "佈局", - "manage": "佈局管理", - "settings": "佈局設定", + "layout": "版面配置", + "manage": "管理版面配置", + "settings": "版面配置設定", "color": "顏色", - "main": "主體", - "right": "右側", - "select": "選擇目標佈局" + "main": "主", + "right": "右", + "select": "選擇目標版面配置", + "layouts": "版面配置", + "left": "左", + "percentage-width": "百分比寬度(%)", + "fixed-width": "固定寬度(px)", + "left-width": "左欄(%)", + "right-width": "右欄(%)", + "pick-fixed-side": "固定側:", + "layout-fixed-width": "固定寬度(px)", + "value-min-error": "值必須大於或等於 {{min}}{{unit}}", + "value-max-error": "值必須小於或等於 {{max}}{{unit}}", + "layout-fixed-width-required": "固定寬度為必填項", + "right-width-percentage-required": "右側百分比為必填項", + "left-width-percentage-required": "左側百分比為必填項", + "divider": "分隔線", + "right-side": "右側版面配置", + "left-side": "左側版面配置", + "add-new-breakpoint": "新增斷點", + "breakpoint": "斷點", + "breakpoints": "斷點", + "copy-from": "複製自", + "size": "大小", + "delete-breakpoint-title": "確定要刪除斷點「{{name}}」嗎?", + "delete-breakpoint-text": "請注意,確認後斷點將無法恢復,設定將恢復為預設斷點。" }, "legend": { - "position": "圖例位置", + "position": "位置", "show-max": "顯示最大值", "show-min": "顯示最小值", "show-avg": "顯示平均值", - "show-total": "顯示總數", + "show-total": "顯示總計值", "settings": "圖例設定", - "min": "最小值", - "max": "最大值", - "avg": "平均值", - "total": "總數" + "min": "最小", + "max": "最大", + "avg": "平均", + "total": "總計", + "direction": "方向", + "show-values": "顯示值", + "min-option": "最小值", + "max-option": "最大值", + "average-option": "平均值", + "total-option": "總計", + "latest-option": "最新值", + "sort-legend": "在圖例中排序資料鍵", + "show-latest": "顯示最新值", + "latest": "最新", + "Min": "最小", + "Max": "最大", + "Avg": "平均", + "Total": "總計", + "Latest": "最新", + "comparison-time-ago": { + "previousInterval": "(前一區間)", + "customInterval": "(自訂區間)", + "days": "(一天前)", + "weeks": "(一週前)", + "months": "(一月前)", + "years": "(一年前)" + }, + "column-title": "欄標題", + "label": "標籤", + "value": "值" }, "login": { "login": "登入", - "request-password-reset": "請求密碼重置", - "reset-password": "重置密碼", + "request-password-reset": "請求重設密碼", + "reset-password": "重設密碼", "create-password": "建立密碼", - "two-factor-authentication": "雙因素身份驗證", - "passwords-mismatch-error": "輸入的密碼必須相同!", + "two-factor-authentication": "雙因素驗證", + "passwords-mismatch-error": "輸入的密碼必須一致!", "password-again": "再次輸入密碼", - "username": "用戶名(電子郵件)", + "username": "使用者名稱(電子郵件)", "remember-me": "記住我", "forgot-password": "忘記密碼?", - "password-reset": "密碼重置", - "expired-password-reset-message": "您的憑據已過期!請建立新密碼。", + "password-reset": "密碼重設", + "expired-password-reset-message": "您的密碼已過期!\n請輸入新密碼。", "new-password": "新密碼", - "new-password-again": "再次輸入新密碼", - "password-link-sent-message": "密碼重置連結已成功發送!", + "new-password-again": "確認新密碼", + "password-link-sent-message": "重設連結已傳送", "email": "電子郵件", "login-with": "使用{{name}}登入", "or": "或", "error": "登入錯誤", - "verify-your-identity": "驗證您的身份", + "verify-your-identity": "驗證您的身分", "select-way-to-verify": "選擇驗證方式", - "resend-code": "重發碼", - "resend-code-wait": "以 { time, plural, =1 {1 秒} other {# 秒} }重新發送程式碼", - "try-another-way": "嘗試別的方式", - "totp-auth-description": "請輸入安全驗證碼從您的驗證應用程式", - "totp-auth-placeholder": "程式碼", - "sms-auth-description": "安全代碼已發送至您的手機{{contact}}。", - "sms-auth-placeholder": "SMS程式碼", - "email-auth-description": "安全代碼已發送到您位於{{contact}}的電子郵件地址。", - "email-auth-placeholder": "電子郵件代碼", - "backup-code-auth-description": "請輸入您的備用代碼之一。", - "backup-code-auth-placeholder": "備用代碼" + "resend-code": "重新傳送驗證碼", + "resend-code-wait": "在 { time, plural, =1 {1 秒} other {# 秒} }後重新傳送驗證碼", + "try-another-way": "嘗試其他方式", + "totp-auth-description": "請輸入您的身分驗證器應用程式中的安全碼。", + "totp-auth-placeholder": "驗證碼", + "sms-auth-description": "安全碼已傳送到您的手機號碼 {{contact}}。", + "sms-auth-placeholder": "簡訊驗證碼", + "email-auth-description": "安全碼已傳送到您的電子郵件地址 {{contact}}。", + "email-auth-placeholder": "電子郵件驗證碼", + "backup-code-auth-description": "請輸入您的備用驗證碼之一。", + "backup-code-auth-placeholder": "備用驗證碼", + "sign-in": "登入", + "invalid-email-format": "電子郵件格式無效。", + "sign-in-with": "使用 {{name}} 登入", + "sign-in-to-your-account": "登入您的帳戶", + "activation-link-expired": "啟用連結已過期", + "activation-link-expired-message": "啟用您帳戶的連結已過期。您可以返回登入頁面以接收新的電子郵件。", + "reset-password-link-expired": "密碼重設連結已過期", + "reset-password-link-expired-message": "重設密碼的連結已過期。您可以返回登入頁面以接收新的電子郵件。", + "two-fa": "雙因素驗證", + "two-fa-required": "需要雙因素驗證", + "set-up-verification-method": "設定驗證方式以繼續", + "set-up-verification-method-login": "設定驗證方式或登入", + "enable-authenticator-app": "啟用身分驗證器應用程式", + "enable-authenticator-app-description": "請輸入您的身分驗證器應用程式中的安全碼", + "enable-authenticator-sms": "啟用簡訊驗證", + "enable-authenticator-sms-description": "請輸入我們剛傳送到以下號碼的 6 位驗證碼:", + "enable-authenticator-email": "啟用電子郵件驗證", + "enable-authenticator-email-description": "安全碼已傳送到您的電子郵件地址:", + "enter-key-manually": "或手動輸入此 32 位金鑰:", + "continue": "繼續", + "confirm": "確認", + "authenticator-app-success": "身分驗證器應用程式已成功啟用", + "authenticator-app-success-description": "下次登入時,您需要提供雙因素驗證碼", + "authenticator-sms-success": "簡訊驗證已成功啟用", + "authenticator-sms-success-description": "下次登入時,系統將提示您輸入傳送到該手機號碼的安全碼", + "authenticator-email-success": "電子郵件驗證已成功啟用", + "authenticator-email-success-description": "下次登入時,系統將提示您輸入傳送到您電子郵件地址的安全碼", + "authenticator-backup-code-success": "備用驗證碼已成功啟用", + "authenticator-backup-code-success-description": "下次登入時,系統將提示您輸入安全碼或使用備用驗證碼之一。", + "add-verification-method": "新增驗證方式", + "get-backup-code": "取得備用驗證碼", + "copy-key": "複製金鑰", + "send-code": "傳送驗證碼", + "email-label": "電子郵件", + "email-description": "輸入用於身分驗證的電子郵件地址。", + "sms-description": "輸入用於身分驗證的手機號碼。", + "backup-code-description": "列印這些驗證碼,以便在需要登入帳戶時隨時使用。每個備用驗證碼只能使用一次。", + "backup-code-warn": "離開此頁面後,這些驗證碼將無法再次顯示。請使用以下選項安全儲存。", + "download-txt": "下載(txt)", + "print": "列印", + "verification-code": "6 位驗證碼", + "verification-code-invalid": "無效的驗證碼格式", + "verification-code-incorrect": "驗證碼不正確", + "verification-code-many-request": "驗證碼的驗證請求過多", + "scan-qr-code": "使用您的驗證應用程式掃描此 QR 碼", + "phone-input": { + "phone-input-label": "手機號碼", + "phone-input-required": "手機號碼為必填項", + "phone-input-validation": "手機號碼無效或不可用", + "phone-input-pattern": "無效的手機號碼。應為 E.164 格式,例如 {{phoneNumber}}", + "phone-input-hint": "E.164 格式的手機號碼,例如 {{phoneNumber}}" + }, + "no-account": "還沒有帳戶嗎?", + "create-account": "建立帳戶", + "version-mask": "{{name}} v.{{version}}" }, "markdown": { "edit": "編輯", "preview": "預覽", - "copy-code": "點擊複製", - "copied": "複製!" + "copy-code": "點選複製", + "copied": "已複製!" }, "ota-update": { - "add": "增加套件", - "assign-firmware": "指定韌體", - "assign-firmware-required": "指定韌體必填", - "assign-software": "指定軟體", - "assign-software-required": "指定軟體必填", - "auto-generate-checksum": "自動生成核對", - "checksum": "核對", - "checksum-hint": "如果核對為空,將自動生成", - "checksum-algorithm": "核對演算法", - "checksum-copied-message": "套件核對已複製到剪貼板", - "change-firmware": "韌體的更改可能會導致{ count, plural, =1 {1 設備} other {# 設備} }的更新。", - "change-software": "軟體的更改可能會導致{ count, plural, =1 {1 設備} other {# 設備} }的更新。", - "chose-compatible-device-profile": "上傳套件只有在所選擇的設備配置檔案獲得", - "chose-firmware-distributed-device": "選擇將分發到設備的韌體", - "chose-software-distributed-device": "選擇將分發到設備的軟體", + "add": "新增軟體套件", + "assign-firmware": "已指派韌體", + "assign-firmware-required": "已指派韌體為必填項", + "assign-software": "已指派軟體", + "assign-software-required": "已指派軟體為必填項", + "auto-generate-checksum": "自動產生總和檢查碼", + "checksum": "總和檢查碼", + "checksum-hint": "如果總和檢查碼為空,將自動產生", + "checksum-algorithm": "總和檢查碼演算法", + "checksum-copied-message": "軟體套件總和檢查碼已複製到剪貼簿", + "change-firmware": "變更韌體可能導致 { count, plural, =1 {1 個裝置} other {# 個裝置} }更新。", + "change-software": "變更軟體可能導致 { count, plural, =1 {1 個裝置} other {# 個裝置} }更新。", + "chose-compatible-device-profile": "上傳的套件僅適用於使用所選設定檔的裝置。", + "chose-firmware-distributed-device": "選擇要分發到裝置的韌體", + "chose-software-distributed-device": "選擇要分發到裝置的軟體", "content-type": "內容類型", - "copy-checksum": "複製校驗碼", - "copy-direct-url": "複製直接URL", - "copyId": "複製套件Id", - "copied": "複製!", - "delete": "刪除套件", - "delete-ota-update-text": "小心,確認後OTA更新將無法恢復。", - "delete-ota-update-title": "您確定要刪除OTA更新 '{{title}}'嗎?", - "delete-ota-updates-text": "小心,確認後,所有選擇的OTA更新都將被刪除。", - "delete-ota-updates-title": "您確定要刪除{ count, plural, =1 {1 OTA更新} other {# OTA更新} }嗎?", + "copy-checksum": "複製總和檢查碼", + "copy-direct-url": "複製直接 URL", + "copyId": "複製軟體套件識別碼", + "copied": "已複製!", + "delete": "刪除軟體套件", + "delete-ota-update-text": "請注意,確認後該 OTA 更新將無法恢復。", + "delete-ota-update-title": "確定要刪除 OTA 更新「{{title}}」嗎?", + "delete-ota-updates-text": "請注意,確認後所有選取的 OTA 更新將被移除。", + "delete-ota-updates-title": "確定要刪除 { count, plural, =1 {1 個 OTA 更新} other {# 個 OTA 更新} }嗎?", "description": "描述", - "direct-url": "直接URL", - "direct-url-copied-message": "軟體包直接URL已複製到剪貼板", - "direct-url-required": "需要直接URL", - "download": "下載套件", - "drop-file": "拖放軟體包文件或單擊以選擇要上傳的文件。", - "drop-package-file-or": "拖放軟體包文件或", - "file-name": "文件名稱", - "file-size": "文件大小", - "file-size-bytes": "文件大小(位元組)", - "idCopiedMessage": "軟體包ID已複製到剪貼板", - "no-firmware-matching": "未找到與'{{entity}}' 匹配的兼容韌體OTA更新軟體包", - "no-firmware-text": "未提供兼容的韌體OTA更新軟體包。", - "no-packages-text": "未找到套件", - "no-software-matching": "未找到與 '{{entity}}' 匹配的兼容軟體OTA更新軟體包。", - "no-software-text": "未提供兼容的軟體OTA更新軟體包。", - "ota-update": "OTA更新", - "ota-update-details": "OTA更新詳情", - "ota-updates": "OTA更新", - "package-type": "套件類型", - "packages-repository": "軟體包存儲庫", - "search": "搜尋套件", - "selected-package": "{ count, plural, =1 {1 套件} other {# 套件} } 被選中", + "direct-url": "直接 URL", + "direct-url-copied-message": "軟體套件直接 URL 已複製到剪貼簿", + "direct-url-required": "直接 URL 為必填項", + "download": "下載軟體套件", + "drop-file": "拖放軟體套件檔案或點選選擇要上傳的檔案。", + "drop-package-file-or": "拖放軟體套件檔案或", + "file-name": "檔名", + "file-size": "檔案大小", + "file-size-bytes": "檔案大小(位元組)", + "idCopiedMessage": "軟體套件識別碼已複製到剪貼簿", + "no-firmware-matching": "找不到符合「{{entity}}」的相容韌體 OTA 更新套件。", + "no-firmware-text": "找不到已佈建且相容的韌體 OTA 更新套件。", + "no-packages-text": "找不到軟體套件", + "no-software-matching": "找不到符合「{{entity}}」的相容軟體 OTA 更新套件。", + "no-software-text": "找不到已佈建且相容的軟體 OTA 更新套件。", + "ota-update": "OTA 更新", + "ota-update-details": "OTA 更新詳細資料", + "ota-updates": "OTA 更新", + "package-type": "軟體套件類型", + "packages-repository": "軟體套件儲存庫", + "search": "搜尋軟體套件", + "selected-package": "已選擇 { count, plural, =1 {1 個軟體套件} other {# 個軟體套件} }", "title": "標題", - "title-required": "需要標題。", - "title-max-length": "標題應小於256", + "title-required": "標題為必填項。", + "title-max-length": "標題應少於 256 個字元", "types": { "firmware": "韌體", "software": "軟體" }, - "upload-binary-file": "上傳二進制文件", - "use-external-url": "使用外部URL", + "upload-binary-file": "上傳二進位檔案", + "use-external-url": "使用外部 URL", "version": "版本", - "version-required": "需要版本。", - "version-tag": "版本標記", - "version-tag-hint": "自定義標記應與您設備報告的軟體包版本匹配。", - "version-max-length": "版本應小於256", - "warning-after-save-no-edit": "上傳軟體包後,您將無法修改標題、版本、設備配置文件和軟體包類型。" + "version-required": "版本為必填項。", + "version-tag": "版本標籤", + "version-tag-hint": "自訂標籤應與裝置上報的軟體套件版本一致。", + "version-max-length": "版本應少於 256 個字元", + "warning-after-save-no-edit": "軟體套件上傳後,將無法修改標題、版本、裝置設定檔和軟體套件類型。", + "change-ota-setting-title": "確定要變更 OTA 設定嗎?", + "package-file": "軟體套件檔案", + "cant-applied-group-all": "無法套用至「全部」群組" }, "position": { "top": "頂部", @@ -2554,85 +3634,101 @@ "right": "右側" }, "profile": { - "profile": "屬性", - "change-password": "更改密碼", - "current-password": "當前密碼", - "copy-jwt-token": "複製JWT token", - "jwt-token": "JWT token", - "token-valid-till": "Token有效期至", - "tokenCopiedSuccessMessage": "JWT token已複製到剪貼板", - "tokenCopiedWarnMessage": "JWT token已過期,請刷新頁面。" + "profile": "個人資料", + "change-password": "修改密碼", + "current-password": "目前密碼", + "copy-jwt-token": "複製 JWT 權杖", + "jwt-token": "JWT 權杖", + "token-valid-till": "權杖有效期限", + "tokenCopiedSuccessMessage": "JWT 權杖已複製到剪貼簿", + "tokenCopiedWarnMessage": "JWT 權杖已過期,請重新整理頁面。", + "last-login-time": "上次登入" }, "security": { - "security": "安全性", + "security": "安全", "2fa": { - "2fa": "雙因素身份驗證", - "2fa-description": "雙因素身份驗證可保護您的帳戶免受未經授權的訪問。您只需在登入時輸入安全碼。", - "authenticate-with": "您可以通過以下方式進行身份驗證:", - "disable-2fa-provider-text": "禁用{{name}}將會降低您的帳戶安全性", - "disable-2fa-provider-title": "您確定要禁用{{name}}嗎?", - "get-new-code": "獲取新程式碼", - "main-2fa-method": "用作主要的雙因素身份驗證方法", + "2fa": "雙因素驗證", + "2fa-description": "雙因素驗證保護您的帳戶免受未授權存取。您只需在登入時輸入安全碼即可。", + "authenticate-with": "您可以透過以下方式進行認證:", + "disable-2fa-provider-text": "停用 {{name}} 將降低您帳戶的安全性", + "disable-2fa-provider-title": "確定要停用 {{name}} 嗎?", + "get-new-code": "取得新驗證碼", + "main-2fa-method": "設為主要雙因素驗證方式", "dialog": { - "activation-step-description-email": "下次登入時,系統會提示您輸入將發送到您的電子郵件地址的安全代碼。", - "activation-step-description-sms": "下次登入時,系統會提示您輸入將發送到電話號碼的安全碼。", - "activation-step-description-totp": "下次登入時,您將需要提供一個雙因素身份驗證代碼。", - "activation-step-label": "啟動", - "backup-code-description": "列印出代碼,以便在您需要使用它們登入帳號時方便使用。每個備用代碼可以使用一次。", - "backup-code-warn": "離開此頁面後,這些代碼將無法再次顯示。使用以下選項安全地存儲它們。", - "download-txt": "下載(txt)", - "email-step-description": "輸入電子郵件以用作您的身份驗證器", + "activation-step-description-email": "下次登入時,系統將提示您輸入傳送到您電子郵件地址的安全碼。", + "activation-step-description-sms": "下次登入時,系統將提示您輸入傳送到該手機號碼的安全碼。", + "activation-step-description-totp": "下次登入時,您需要提供雙因素驗證碼。", + "activation-step-label": "啟用", + "backup-code-description": "請列印這些驗證碼,以便在需要登入帳戶時使用。每個備用驗證碼只能使用一次。", + "backup-code-warn": "離開此頁面後,這些驗證碼將無法再次顯示。請使用以下選項安全儲存。", + "download-txt": "下載(txt)", + "email-step-description": "輸入用於身分驗證的電子郵件地址。", "email-step-label": "電子郵件", - "enable-email-title": "啟用電子郵件驗證器", - "enable-sms-title": "啟用SMS驗證器", - "enable-totp-title": "啟用驗證器應用程式", - "enter-verification-code": "在此輸入6位數代碼", - "get-backup-code-title": "獲取備用代碼", - "next": "下一個", - "scan-qr-code": "使用您的驗證應用程式掃描此QR code", - "send-code": "發送代碼", - "sms-step-description": "輸入一個電話號碼以用作您的身份驗證器", - "sms-step-label": "電話號碼", + "enable-email-title": "啟用電子郵件驗證", + "enable-sms-title": "啟用簡訊驗證", + "enable-totp-title": "啟用身分驗證器應用程式", + "enter-verification-code": "在此輸入 6 位驗證碼", + "get-backup-code-title": "取得備用驗證碼", + "next": "下一步", + "scan-qr-code": "使用驗證應用程式掃描此 QR 碼", + "send-code": "傳送驗證碼", + "sms-step-description": "輸入用於身分驗證的手機號碼。", + "sms-step-label": "手機號碼", "success": "成功!", - "totp-step-description-install": "您可以安裝Google Authenticator、Authy或Duo等應用程式。", - "totp-step-description-open": "在您的手機上打開身份驗證器應用程式", + "totp-step-description-install": "您可以安裝 Google Authenticator、Authy 或 Duo 等應用程式。", + "totp-step-description-open": "在手機上開啟身分驗證器應用程式。", "totp-step-label": "取得應用程式", - "verification-code": "6位數代碼", + "verification-code": "6 位驗證碼", "verification-code-invalid": "驗證碼格式無效", "verification-code-incorrect": "驗證碼不正確", - "verification-code-many-request": "檢查驗證碼的請求過多", - "verification-step-description": "輸入我們剛剛發送到{{address}}的6位數代碼", + "verification-code-many-request": "驗證碼的驗證請求過多", + "verification-step-description": "輸入我們剛傳送到 {{address}} 的 6 位驗證碼", "verification-step-label": "驗證" }, "provider": { "email": "電子郵件", - "email-description": "使用發送到您電子郵件地址的安全代碼進行身份驗證。", - "email-hint": "驗證碼通過電子郵件發送到{{ info }}", - "sms": "SMS", - "sms-description": "使用您的手機進行身份驗證。當您登入時,我們會透過SMS訊息向您發送一個安全碼。", - "sms-hint": "驗證碼通過簡訊發送到{{ info }}", - "totp": "身份驗證器應用程式", - "totp-description": "在您的手機上使用Google Authenticator、Authy或Duo等應用程式進行身份驗證。它將生成用於登入的安全代碼。", - "totp-hint": "已為您的帳戶設定身份驗證器應用程式", - "backup_code": "備用代碼", - "backup-code-description": "這些可列印的一次性密碼可讓您在離開手機時(例如在旅行時)登入。", - "backup-code-hint": "{{ info }}一次性代碼目前處於活動狀態" + "email-description": "使用傳送到您電子郵件地址的安全碼進行認證。", + "email-hint": "驗證碼透過電子郵件傳送至 {{ info }}", + "sms": "簡訊", + "sms-description": "使用手機進行認證。登入時我們將透過簡訊向您傳送安全碼。", + "sms-hint": "驗證碼透過簡訊傳送至 {{ info }}", + "totp": "身分驗證器應用程式", + "totp-description": "使用手機上的 Google Authenticator、Authy 或 Duo 等應用程式進行認證。它將產生登入所需的安全碼。", + "totp-hint": "已為您的帳戶設定身分驗證器應用程式", + "backup_code": "備用驗證碼", + "backup-code-description": "這些可列印的一次性密碼允許您在不方便使用手機時(例如旅行中)登入帳戶。", + "backup-code-hint": "目前有 {{ info }} 個一次性驗證碼可用" } }, "password-requirement": { "at-least": "至少:", - "character": "{ count, plural, =1 {1 字元} other {# 字元} }", - "digit": "{ count, plural, =1 {1 數字} other {# 數字} }", - "incorrect-password-try-again": "密碼不正確。再試一次", - "lowercase-letter": "{ count, plural, =1 {1 小寫字母} other {# 小寫字母} }", - "new-passwords-not-match": "新密碼不匹配", - "password-should-not-contain-spaces": "您的密碼不應包含空格", + "character": "{ count, plural, =1 {1 個字元} other {# 個字元} }", + "digit": "{ count, plural, =1 {1 個數字} other {# 個數字} }", + "incorrect-password-try-again": "密碼不正確,請重試", + "lowercase-letter": "{ count, plural, =1 {1 個小寫字母} other {# 個小寫字母} }", + "new-passwords-not-match": "兩次輸入的新密碼不一致", + "password-should-not-contain-spaces": "密碼不能包含空格", "password-not-meet-requirements": "密碼不符合要求", "password-requirements": "密碼要求", - "password-should-difference": "新密碼應與當前密碼不同", - "special-character": "{ count, plural, =1 {1 特殊字元} other {# 特殊字元} }", - "uppercase-letter": "{ count, plural, =1 {1 大寫字母} other {# 大寫字母} }" - } + "password-should-difference": "新密碼應與目前密碼不同", + "special-character": "{ count, plural, =1 {1 個特殊字元} other {# 個特殊字元} }", + "uppercase-letter": "{ count, plural, =1 {1 個大寫字母} other {# 個大寫字母} }", + "password-tooltip-min-length": "至少 {{minimumLength}} 個字元", + "password-tooltip-max-length": "最多 {{maximumLength}} 個字元", + "password-tooltip-uppercase": "{{minimumUppercaseLetters}} 個大寫字元", + "password-tooltip-lowercase": "{{minimumLowercaseLetters}} 個小寫字元", + "password-tooltip-digit": "{{minimumDigits}} 個數字", + "password-tooltip-special-characters": "{{minimumSpecialCharacters}} 個特殊字元", + "at-most": "最多:" + }, + "general-settings": "通用安全設定", + "access-token": "存取權杖", + "access-token-required": "存取權杖為必填項", + "clientId": "用戶端識別碼", + "clientId-required": "用戶端識別碼為必填項", + "username": "使用者名稱", + "username-required": "使用者名稱為必填項", + "ca-cert": "CA 憑證" }, "relation": { "relations": "關聯", @@ -2642,614 +3738,933 @@ "TO": "到" }, "direction-type": { - "FROM": "從", - "TO": "到" + "FROM": "向外", + "TO": "向內" }, - "from-relations": "向外的關聯", - "to-relations": "向內的關聯", - "selected-relations": "{ count, plural, =1 {1 關聯} other {# 關聯} } 被選中", + "from-relations": "出站關聯", + "to-relations": "入站關聯", + "selected-relations": "已選擇 { count, plural, =1 {1 條關聯} other {# 條關聯} }", "type": "類型", - "to-entity-type": "到實體類型", - "to-entity-name": "到實體名稱", - "from-entity-type": "從實體類型", - "from-entity-name": "從實體類型", - "to-entity": "到實體", - "from-entity": "從實體", + "to-entity-type": "目標實體類型", + "to-entity-name": "目標實體名稱", + "from-entity-type": "來源實體類型", + "from-entity-name": "來源實體名稱", + "to-entity": "目標實體", + "from-entity": "來源實體", "delete": "刪除關聯", "relation-type": "關聯類型", - "relation-type-required": "關聯類型必填", - "relation-type-max-length": "關聯類型應小於256", + "relation-type-required": "關聯類型為必填項。", + "relation-type-max-length": "關聯類型應少於 256 個字元", "any-relation-type": "任意類型", - "add": "增加關聯", + "add": "新增關聯", "edit": "編輯關聯", - "delete-to-relation-title": "確定要刪除實體 '{{entityName}}' 的關聯嗎?", - "delete-to-relation-text": "確定刪除後實體 '{{entityName}}' 將取消與當前實體的關聯關係。", - "delete-to-relations-title": "確定要刪除 { count, plural, =1 {1 關聯} other {# 關聯} }?", - "delete-to-relations-text": "確定刪除所有選擇的關聯關係後,與當前實體對應的所有關聯關係將被移除。", - "delete-from-relation-title": "確定要從實體 '{{entityName}}' 刪除關聯嗎?", - "delete-from-relation-text": "確定刪除後,當前實體將與實體 '{{entityName}}' 取消關聯", - "delete-from-relations-title": "確定刪除 { count, plural, =1 {1 關聯} other {# 關聯} } 嗎?", - "delete-from-relations-text": "確定刪除所有選擇的關聯關係後,當前實體將與對應的實體取消關聯", - "remove-relation-filter": "移除關聯過濾器", - "add-relation-filter": "增加關聯過濾器", + "delete-to-relation-title": "確定要刪除與實體「{{entityName}}」的關聯嗎?", + "delete-to-relation-text": "請注意,確認後實體「{{entityName}}」將與目前實體取消關聯。", + "delete-to-relations-title": "確定要刪除 { count, plural, =1 {1 條關聯} other {# 條關聯} }嗎?", + "delete-to-relations-text": "請注意,確認後所有選取的關聯將被移除,相應實體將與目前實體取消關聯。", + "delete-from-relation-title": "確定要刪除來自實體「{{entityName}}」的關聯嗎?", + "delete-from-relation-text": "請注意,確認後目前實體將與實體「{{entityName}}」取消關聯。", + "delete-from-relations-title": "確定要刪除 { count, plural, =1 {1 條關聯} other {# 條關聯} }嗎?", + "delete-from-relations-text": "請注意,確認後所有選取的關聯將被移除,目前實體將與相應實體取消關聯。", + "remove-relation-filter": "移除關聯篩選器", + "add-relation-filter": "新增關聯篩選器", "any-relation": "任意關聯", - "relation-filters": "關聯過濾器", - "additional-info": "附加訊息 (JSON)", - "invalid-additional-info": "無法解析附加訊息json。", - "no-relations-text": "未找到關聯" + "relation-filters": "關聯篩選器", + "additional-info": "附加資訊(JSON)", + "invalid-additional-info": "無法解析附加資訊 JSON。", + "no-relations-text": "找不到關聯", + "clear-relation-type": "清除關聯類型", + "remove-filter": "移除篩選器", + "relation-filter": "關聯篩選器", + "not": "非", + "copy-type": "複製類型", + "view": "檢視關聯" }, "resource": { - "add": "增加資源", - "copyId": "複製資源ID", + "add": "新增資源", + "copyId": "複製資源識別碼", "delete": "刪除資源", - "delete-resource-text": "小心,確認後資源將無法恢復。", - "delete-resource-title": "您確定要刪除資源'{{resourceTitle}}'嗎?", - "delete-resources-action-title": "刪除 { count, plural, =1 {1 資源} other {# 資源} }", - "delete-resources-text": "請注意,所選資源,即使用於設備協議,也將被刪除。", - "delete-resources-title": "您確定要刪除 { count, plural, =1 {1 資源} other {# 資源} }嗎?", + "delete-resource-text": "請注意,確認後該資源將無法恢復。", + "delete-resource-title": "確定要刪除資源「{{resourceTitle}}」嗎?", + "delete-resources-action-title": "刪除 { count, plural, =1 {1 個資源} other {# 個資源} }", + "delete-resources-text": "請注意,即使選取的資源正在裝置設定檔中使用,也將被刪除。", + "delete-resources-title": "確定要刪除 { count, plural, =1 {1 個資源} other {# 個資源} }嗎?", "download": "下載資源", - "drop-file": "拖放資源文件或單擊以選擇要上傳的文件。", - "drop-resource-file-or": "拖放資源文件或", + "drop-file": "拖放資源檔案或點選選擇要上傳的檔案。", + "drop-resource-file-or": "拖放資源檔案或", "empty": "資源為空", - "file-name": "文件名", - "idCopiedMessage": "資源ID已複製到剪貼板", - "no-resource-matching": "找不到與 '{{widgetsBundle}}'匹配的資源。", - "no-resource-text": "未找到資源", - "open-widgets-bundle": "打開部件包", + "file-name": "檔名", + "idCopiedMessage": "資源識別碼已複製到剪貼簿", + "no-resource-matching": "找不到與「{{widgetsBundle}}」符合的資源。", + "no-resource-text": "找不到資源", + "open-widgets-bundle": "開啟小工具包", "resource": "資源", - "resource-library-details": "資源詳細資訊", + "resource-library-details": "資源詳細資料", "resource-type": "資源類型", "resources-library": "資源庫", "search": "搜尋資源", - "selected-resources": "{ count, plural, =1 {1 資源} other {# 資源} } 被選中", + "selected-resources": "已選擇 { count, plural, =1 {1 個資源} other {# 個資源} }", "system": "系統", "title": "標題", - "title-required": "需要標題。", - "title-max-length": "標題應小於256" + "title-required": "標題為必填項。", + "title-max-length": "標題應少於 256 個字元", + "all-types": "全部", + "resource-file": "資源檔案", + "resource-files": "資源檔案", + "files": "檔案", + "type": { + "jks": "JKS", + "js-module": "JS 模組", + "lwm2m-model": "LWM2M 模型", + "pkcs-12": "PKCS #12", + "general": "通用" + }, + "resource-sub-type": "子類型", + "sub-type": { + "image": "圖片", + "scada-symbol": "Scada 符號", + "extension": "擴充套件", + "module": "模組" + }, + "resource-is-in-use": "資源正被其他實體使用", + "resources-are-in-use": "資源正被其他實體使用", + "resource-is-in-use-text": "資源「{{title}}」未被刪除,因為它正被以下實體使用:", + "resources-are-in-use-text": "並非所有資源都已被刪除,因為它們正被其他實體使用。
    您可以透過點選相應資源資料列中的引用按鈕檢視引用的實體。
    如果仍要刪除這些資源,請在下方表格中選擇它們並點選刪除所選按鈕。", + "delete-resource-in-use-text": "如果仍要刪除該資源,請點選仍然刪除按鈕。" }, "rulechain": { "rulechain": "規則鏈", - "rulechains": "規則鏈庫", - "root": "根實體", - "delete": "刪除規則", + "rulechains": "規則鏈", + "root": "根規則鏈", + "delete": "刪除規則鏈", "activate": "啟動規則", "suspend": "暫停規則", "active": "啟動", "suspended": "暫停", "name": "名稱", - "name-required": "名稱必填。", + "name-required": "名稱為必填項。", "description": "描述", - "add": "增加規則", - "set-root": "建立規則鏈根", - "set-root-rulechain-title": "您確定要生成規則鏈'{{RuleChainName}}'根嗎?", - "set-root-rulechain-text": "確認之後,規則鏈將變為根規格鏈,並將處理所有傳入的傳輸消息。", - "delete-rulechain-title": " 確實要刪除規則鏈'{{ruleChainName}}'嗎?", - "delete-rulechain-text": "小心,在確認規則鏈和所有相關資料將變得無法恢復。", - "delete-rulechains-title": "確實要刪除{count, plural, =1 { 1 規則鏈} other {# 規則鏈庫} }嗎?", - "delete-rulechains-action-title": "刪除 { count, plural, =1 {1 規則鏈} other {# 規則鏈庫} }", - "delete-rulechains-text": "小心,確認後,所有選擇的規則鏈將被刪除,所有相關的資料將變得無法恢復。", - "add-rulechain-text": "增加新的規則鏈", - "no-rulechains-text": "規則鏈沒有發現", - "rulechain-details": "規則鏈詳細資訊", - "details": "詳細資訊", + "add": "新增規則鏈", + "set-root": "設為根規則鏈", + "set-root-rulechain-title": "確定要將規則鏈「{{ruleChainName}}」設為根規則鏈嗎?", + "set-root-rulechain-text": "確認後,該規則鏈將成為根規則鏈,並處理所有傳入的傳輸訊息。", + "delete-rulechain-title": "確定要刪除規則鏈「{{ruleChainName}}」嗎?", + "delete-rulechain-text": "請注意,確認後該規則鏈及所有相關資料將無法恢復。", + "delete-rulechains-title": "確定要刪除 { count, plural, =1 {1 條規則鏈} other {# 條規則鏈} }嗎?", + "delete-rulechains-action-title": "刪除 { count, plural, =1 {1 條規則鏈} other {# 條規則鏈} }", + "delete-rulechains-text": "請注意,確認後所有選取的規則鏈將被移除,所有相關資料將無法恢復。", + "add-rulechain-text": "新增規則鏈", + "no-rulechains-text": "找不到規則鏈", + "rulechain-details": "規則鏈詳細資料", + "details": "詳細資料", "events": "事件", "system": "系統", - "import": "匯入規則", - "export": "匯出規則", - "export-failed-error": "無法匯出規則:{{error}}", - "create-new-rulechain": "建立新的規則鏈", - "rulechain-file": "規則鏈文件", - "invalid-rulechain-file-error": "不能匯入規則鏈:無效的規則鏈資料格式。", - "copyId": "複製規則鏈ID", - "idCopiedMessage": "規則ID已經複製到剪貼板", + "import": "匯入規則鏈", + "export": "匯出規則鏈", + "export-failed-error": "無法匯出規則鏈:{{error}}", + "create-new-rulechain": "建立新規則鏈", + "rulechain-file": "規則鏈檔案", + "invalid-rulechain-file-error": "無法匯入規則鏈:無效的規則鏈資料結構。", + "copyId": "複製規則鏈識別碼", + "idCopiedMessage": "規則鏈識別碼已複製到剪貼簿", "select-rulechain": "選擇規則鏈", - "no-rulechains-matching": "沒有發現符合'{{entity}}'的規則鏈。", - "rulechain-required": "規則鏈必填", - "management": "規則集管理", - "debug-mode": "測試模式" + "no-rulechains-matching": "找不到與「{{entity}}」符合的規則鏈。", + "rulechain-required": "規則鏈為必填項", + "management": "規則管理", + "debug-mode": "偵錯模式", + "rulechain-events": "規則鏈事件", + "name-max-length": "名稱長度不得超過 256", + "rulechain-not-found-warning": "找不到預設規則鏈。設定檔已儲存,但未指定預設規則鏈,您可以在設定檔中指派。", + "search": "搜尋規則鏈", + "selected-rulechains": "已選擇 { count, plural, =1 {1 條規則鏈} other {# 條規則鏈} }", + "open-rulechain": "開啟規則鏈", + "edge-template-root": "根規則鏈", + "assign-to-edge": "指派到 Edge", + "edge-rulechain": "Edge 規則鏈", + "unassign-rulechain-from-edge-text": "確認後,該規則鏈將被取消指派,Edge 將無法存取。", + "unassign-rulechains-from-edge-title": "確定要取消指派 { count, plural, =1 {1 條規則鏈} other {# 條規則鏈} }嗎?", + "unassign-rulechains-from-edge-text": "確認後,所有選取的規則鏈將被取消指派,Edge 將無法存取。", + "assign-rulechain-to-edge-title": "將規則鏈指派到 Edge", + "assign-rulechain-to-edge-text": "請選擇要指派到 Edge 的規則鏈", + "set-edge-template-root-rulechain": "設為 Edge 範本根規則鏈", + "set-edge-template-root-rulechain-title": "確定要將規則鏈「{{ruleChainName}}」設為 Edge 範本根規則鏈嗎?", + "set-edge-template-root-rulechain-text": "確認後,該規則鏈將成為 Edge 範本根規則鏈,並作為新建立 Edge 的根規則鏈。", + "invalid-rulechain-type-error": "無法匯入規則鏈:無效的規則鏈類型。期望類型為 {{expectedRuleChainType}}。", + "set-auto-assign-to-edge": "建立時自動將規則鏈指派到 Edge", + "set-auto-assign-to-edge-title": "確定要在建立時將 Edge 規則鏈「{{ruleChainName}}」指派到 Edge 嗎?", + "set-auto-assign-to-edge-text": "確認後,該 Edge 規則鏈將在建立時自動指派到 Edge。", + "unset-auto-assign-to-edge": "建立時不自動將規則鏈指派到 Edge", + "unset-auto-assign-to-edge-title": "確定不在建立時將 Edge 規則鏈「{{ruleChainName}}」指派到 Edge 嗎?", + "unset-auto-assign-to-edge-text": "確認後,該 Edge 規則鏈將不再在建立時自動指派到 Edge。", + "unassign-rulechain-title": "確定要取消指派規則鏈「{{ruleChainName}}」嗎?", + "unassign-rulechains": "取消指派規則鏈", + "add-note": "新增註記", + "paste-note": "貼上註記", + "note": "註記", + "edit-note": "編輯註記", + "note-content": "Markdown/HTML 內容", + "note-details": "註記詳細資料", + "note-background-color": "背景顏色", + "note-border": "框線", + "note-apply-default-markdown-style": "套用預設 Markdown 樣式", + "note-custom-css": "註記內容 CSS", + "set-edge-tscheduler-eventemplate-root-rulechain": "將規則鏈設為 Edge 範本的根規則鏈" }, "rulenode": { - "details": "詳細資訊", + "details": "詳細資料", "events": "事件", "search": "搜尋節點", - "open-node-library": "打開節點庫", - "add": "增加規則節點", + "open-node-library": "開啟節點庫", + "add": "新增規則節點", "name": "名稱", - "name-required": "名稱必填。", - "name-max-length": "名稱應小於256", + "name-required": "名稱為必填項。", + "name-max-length": "名稱長度不得超過 256", "type": "類型", "delete": "刪除規則節點", - "select-all-objects": "選擇所有節點和連接", - "deselect-all-objects": "取消選擇所有節點和連接", - "delete-selected-objects": "刪除選擇的節點和連接", - "delete-selected": "刪除選擇", - "create-nested-rulechain": "建立嵌套規則鏈", - "select-all": "選擇全部", - "copy-selected": "選擇副本", - "deselect-all": "取消選擇", - "rulenode-details": "規則節點詳細資訊", - "debug-mode": "測試模式", - "configuration": "配置", + "select-all-objects": "選擇所有節點和連線", + "deselect-all-objects": "取消選擇所有節點和連線", + "delete-selected-objects": "刪除所選節點和連線", + "delete-selected": "刪除所選", + "create-nested-rulechain": "建立巢狀規則鏈", + "select-all": "全選", + "copy-selected": "複製所選", + "deselect-all": "取消全選", + "rulenode-details": "規則節點詳細資料", + "debug-mode": "偵錯模式", + "configuration": "設定", "link": "連結", - "link-details": "規則節點連結詳細資訊", - "add-link": "增加連結", + "link-details": "規則節點連結詳細資料", + "add-link": "新增連結", "link-label": "連結標籤", - "link-label-required": "連結標籤必填", - "custom-link-label": "自定義連結標籤", - "custom-link-label-required": "自定義連結標籤必填", + "link-label-required": "連結標籤為必填項。", + "custom-link-label": "自訂連結標籤", + "custom-link-label-required": "自訂連結標籤為必填項。", "link-labels": "連結標籤", - "link-labels-required": "需要連結標籤。", + "link-labels-required": "連結標籤為必填項。", "no-link-labels-found": "找不到連結標籤", - "no-link-label-matching": "沒找到'{{label}}'。", - "create-new-link-label": "建立一個新的!", - "type-filter": "過濾器", - "type-filter-details": "使用配置條件過濾傳入消息", - "type-enrichment": "屬性集", - "type-enrichment-details": "向消息元資料中增加附加訊息", - "type-transformation": "變換", - "type-transformation-details": "更改消息有效載荷和元資料", - "type-action": "動作", - "type-action-details": "執行特別動作", - "type-external": "外部的", - "type-external-details": "與外部系統交互", + "no-link-label-matching": "找不到「{{label}}」。", + "create-new-link-label": "建立一個新標籤!", + "type-filter": "篩選", + "type-filter-details": "使用設定的條件篩選傳入訊息", + "type-enrichment": "資料補充", + "type-enrichment-details": "向訊息詮釋資料中新增附加資訊", + "type-transformation": "轉換", + "type-transformation-details": "變更訊息承載資料和詮釋資料", + "type-action": "操作", + "type-action-details": "執行特殊操作", + "type-external": "外部", + "type-external-details": "與外部系統互動", "type-rule-chain": "規則鏈", - "type-rule-chain-details": "將傳入消息轉發到指定的規則鏈", - "type-flow": "流動", - "type-flow-details": "組織消息流", + "type-rule-chain-details": "將傳入訊息轉發到指定規則鏈", + "type-flow": "流程", + "type-flow-details": "組織訊息流程", "type-input": "輸入", - "type-input-details": "規則鏈的邏輯輸入,將傳入消息轉發到下一個相關規則節點", + "type-input-details": "規則鏈的邏輯輸入,將傳入訊息轉發到下一個關聯的規則節點", "type-unknown": "未知", - "type-unknown-details": "未解析的規則節點", - "directive-is-not-loaded": "定義的配置指令 '{{directiveName}}' 不可用。", - "ui-resources-load-error": "加載配置UI資源失敗。", + "type-unknown-details": "無法解析的規則節點", + "directive-is-not-loaded": "定義的設定指令「{{directiveName}}」不可用。", + "ui-resources-load-error": "載入設定 UI 資源失敗。", "invalid-target-rulechain": "無法解析目標規則鏈!", - "test-script-function": "測試腳本功能", - "message": "消息", - "message-type": "消息類型", - "select-message-type": "選擇消息類型", - "message-type-required": "消息類型必填", - "metadata": "元資料", - "metadata-required": "元資料項不能為空。", + "test-script-function": "測試指令碼函式", + "message": "訊息", + "message-type": "訊息類型", + "select-message-type": "選擇訊息類型", + "message-type-required": "訊息類型為必填項", + "metadata": "詮釋資料", + "metadata-required": "詮釋資料項目不能為空。", "output": "輸出", "test": "測試", - "help": "幫助" + "help": "說明", + "rule-node-events": "規則節點事件", + "close-node-library": "關閉節點庫", + "rule-node-description": "規則節點描述", + "singleton": "單一執行個體", + "script-lang-java-script": "JavaScript", + "script-lang-tbel": "TBEL", + "reset-debug-settings": "重設所有節點的偵錯設定", + "test-with-this-message": "使用此訊息{{test}}", + "queue-hint": "選擇要將訊息轉發到的佇列。預設使用「Main」佇列。", + "queue-singleton-hint": "選擇在多執行個體環境中用於訊息轉發的佇列。預設使用「Main」佇列。", + "type-analytics": "分析", + "type-analytics-details": "分析串流資料或已持久化的資料", + "script-lang-js": "JS" }, "timezone": { "timezone": "時區", "select-timezone": "選擇時區", - "no-timezones-matching": "找不到匹配的時區'{{timezone}}' ", - "timezone-required": "時區必填", - "browser-time": "瀏覽時間" + "no-timezones-matching": "找不到與「{{timezone}}」符合的時區。", + "timezone-required": "時區為必填項。", + "browser-time": "瀏覽器時間" }, "queue": { "queue-name": "佇列", - "no-queues-found": "找不到佇列", - "no-queues-matching": "未找到與'{{queue}}'匹配的佇列。", + "no-queues-found": "找不到佇列。", + "no-queues-matching": "找不到與「{{queue}}」符合的佇列。", "select-name": "選擇佇列名稱", "name": "名稱", - "name-required": "佇列名稱必填", - "name-unique": "佇列名稱不是唯一值", - "name-pattern": "佇列名稱包含ASCII字母數字以外的字元'.'、 '_' 和 '-'!", - "queue-required": "需要佇列!", - "topic-required": "佇列主題必填", - "poll-interval-required": "輪詢區隔時間必填", - "poll-interval-min-value": "輪詢區隔時間值不可小於1", - "partitions-required": "分區必填", - "partitions-min-value": "分區值不可小於1", - "pack-processing-timeout-required": "處理超時必填", - "pack-processing-timeout-min-value": "處理超時值不可小於1", - "batch-size-required": "批次檔尺寸必填", - "batch-size-min-value": "批次檔尺寸值不可小於1", - "retries-required": "重試必填", - "retries-min-value": "重試值不可為否", - "failure-percentage-required": "故障百分比必填", - "failure-percentage-min-value": "故障百分比不可小於0", - "failure-percentage-max-value": "故障百分比不可大於100", - "pause-between-retries-required": "重試之間的暫停必填", - "pause-between-retries-min-value": "重試之間的暫停不可小於1", - "max-pause-between-retries-required": "重試之間的暫停最大值必填", - "max-pause-between-retries-min-value": "重試之間的暫停最大值不可小於1", - "submit-strategy-type-required": "提交策略類型必填", - "processing-strategy-type-required": "處理策略類型必填", + "name-required": "佇列名稱為必填項!", + "name-unique": "佇列名稱不唯一!", + "name-pattern": "佇列名稱包含 ASCII 字母數字、「.」、「_」和「-」以外的字元!", + "queue-required": "佇列為必填項!", + "topic-required": "佇列主題為必填項!", + "poll-interval-required": "輪詢間隔為必填項!", + "poll-interval-min-value": "輪詢間隔不能小於 1", + "partitions-required": "分割區數為必填項!", + "partitions-min-value": "分割區數不能小於 1", + "pack-processing-timeout-required": "處理逾時為必填項", + "pack-processing-timeout-min-value": "處理逾時值不能小於 1", + "batch-size-required": "批次大小為必填項!", + "batch-size-min-value": "批次大小不能小於 1", + "retries-required": "重試次數為必填項!", + "retries-min-value": "重試次數不能為負數", + "failure-percentage-required": "失敗百分比為必填項!", + "failure-percentage-min-value": "失敗百分比不能小於 0", + "failure-percentage-max-value": "失敗百分比不能大於 100", + "pause-between-retries-required": "重試間隔為必填項!", + "pause-between-retries-min-value": "重試間隔不能小於 1", + "max-pause-between-retries-required": "最大重試間隔為必填項!", + "max-pause-between-retries-min-value": "最大重試間隔不能小於 1", + "submit-strategy-type-required": "提交策略類型為必填項!", + "processing-strategy-type-required": "處理策略類型為必填項!", "queues": "佇列", - "selected-queues": "{ count, plural, =1 {1 佇列} other {# 佇列} }被選中", - "delete-queue-title": "您確定要刪除佇列'{{queueName}}'嗎?", - "delete-queues-title": "您確定要刪除{ count, plural, =1 {1 佇列} other {# 佇列} }嗎?", - "delete-queue-text": "小心,確認後佇列和所有相關資料將無法恢復。", - "delete-queues-text": "確認後,所有選定的佇列將被刪除且無法訪問。", + "selected-queues": "已選擇 { count, plural, =1 {1 個佇列} other {# 個佇列} }", + "delete-queue-title": "確定要刪除佇列「{{queueName}}」嗎?", + "delete-queues-title": "確定要刪除 { count, plural, =1 {1 個佇列} other {# 個佇列} }嗎?", + "delete-queue-text": "請注意,確認後佇列及所有相關資料將無法恢復。", + "delete-queues-text": "確認後所有選取的佇列將被刪除且不可存取。", "search": "搜尋佇列", - "add": "增加佇列", - "details": "佇列詳細資訊", + "add": "新增佇列", + "details": "佇列詳細資料", "topic": "主題", "submit-settings": "提交設定", "submit-strategy": "策略類型 *", - "grouping-parameter": "群組參數", + "grouping-parameter": "分組參數", "processing-settings": "重試處理設定", "processing-strategy": "處理類型 *", "retries-settings": "重試設定", "polling-settings": "輪詢設定", - "batch-processing": "批次設定", + "batch-processing": "批次處理", "poll-interval": "輪詢間隔", - "partitions": "分區", - "immediate-processing": "立刻處理", - "consumer-per-partition": "發送輪訊訊息給每位顧客", - "consumer-per-partition-hint": "啓用個別顧客的分區", - "processing-timeout": "處理範圍內,毫秒", - "batch-size": "批量大小", - "retries": "重試次數 (0 – 無限制)", - "failure-percentage": "跳過重試的失敗消息百分比", - "pause-between-retries": "在以下範圍內重試,秒", - "max-pause-between-retries": "在秒內的其他重試", + "partitions": "分割區數", + "immediate-processing": "立即處理", + "consumer-per-partition": "為每個取用者分別輪詢訊息", + "consumer-per-partition-hint": "為每個分割區啟用獨立的取用者", + "processing-timeout": "處理逾時(毫秒)", + "batch-size": "批次大小", + "retries": "重試次數(0 — 無限)", + "failure-percentage": "跳過重試的失敗訊息百分比(%)", + "pause-between-retries": "重試間隔(秒)", + "max-pause-between-retries": "額外重試間隔(秒)", "delete": "刪除佇列", - "copyId": "複製佇列ID", - "idCopiedMessage": "佇列ID已複製到剪貼板", + "copyId": "複製佇列識別碼", + "idCopiedMessage": "佇列識別碼已複製到剪貼簿", "description": "描述", - "description-hint": "此文字將顯示在佇列描述中,而不是所選策略中", + "description-hint": "此文字將顯示在佇列描述中,替代所選策略", "alt-description": "提交策略:{{submitStrategy}},處理策略:{{processingStrategy}}", "strategies": { - "sequential-by-originator-label": "按發起人排序", - "sequential-by-originator-hint": "例如,在確認設備A的上一條消息之前,不會提交設備A的新消息", - "sequential-by-tenant-label": "按租戶排序", - "sequential-by-tenant-hint": "例如,在確認租戶A的上一條消息之前,不會提交租戶A的新消息", - "sequential-label": "順序的", - "sequential-hint": "在前一條消息被確認之前不會提交新消息", - "burst-label": "破裂", - "burst-hint": "所有消息都按照它們到達的順序提交到規則鏈", + "sequential-by-originator-label": "按來源順序執行", + "sequential-by-originator-hint": "例如裝置 A 的新訊息在裝置 A 的上一則訊息被確認前不會提交", + "sequential-by-tenant-label": "按租戶順序執行", + "sequential-by-tenant-hint": "例如租戶 A 的新訊息在租戶 A 的上一則訊息被確認前不會提交", + "sequential-label": "順序執行", + "sequential-hint": "新訊息在上一則訊息被確認前不會提交", + "burst-label": "突發", + "burst-hint": "所有訊息按到達順序提交到規則鏈", "batch-label": "批次", - "batch-hint": "在確認前一批之前不會提交新批次", - "skip-all-failures-label": "跳過所有故障", - "skip-all-failures-hint": "忽略所有故障", - "skip-all-failures-and-timeouts-label": "跳過所有故障與超時", - "skip-all-failures-and-timeouts-hint": "忽略所有故障與超時", + "batch-hint": "新批次在上一批次被確認前不會提交", + "skip-all-failures-label": "跳過所有失敗", + "skip-all-failures-hint": "忽略所有失敗", + "skip-all-failures-and-timeouts-label": "跳過所有失敗和逾時", + "skip-all-failures-and-timeouts-hint": "忽略所有失敗和逾時", "retry-all-label": "全部重試", - "retry-all-hint": "所有加工處理套件重試訊息", - "retry-failed-label": "重試失敗", - "retry-failed-hint": "所有加工處理套件重試失敗訊息", - "retry-timeout-label": "重試超時", - "retry-timeout-hint": "所有加工處理套件重試超時訊息", - "retry-failed-and-timeout-label": "重試失敗與超時", - "retry-failed-and-timeout-hint": "所有加工處理套件重試失敗與超時訊息" - } + "retry-all-hint": "重試此處理批次中的所有訊息", + "retry-failed-label": "重試失敗的訊息", + "retry-failed-hint": "重試此處理批次中所有失敗的訊息", + "retry-timeout-label": "重試逾時的訊息", + "retry-timeout-hint": "重試此處理批次中所有逾時的訊息", + "retry-failed-and-timeout-label": "重試失敗和逾時的訊息", + "retry-failed-and-timeout-hint": "重試此處理批次中所有失敗和逾時的訊息" + }, + "duplicate-msg-to-all-partitions": "將訊息複製到所有分割區", + "custom-properties": "自訂屬性", + "custom-properties-hint": "自訂佇列(主題)建立屬性,例如 'retention.ms:604800000;retention.bytes:1048576000'" }, "server-error": { - "general": "常規伺服器錯誤", - "authentication": "身份驗證錯誤", - "jwt-token-expired": "JWT token已過期", + "general": "伺服器通用錯誤", + "authentication": "認證錯誤", + "jwt-token-expired": "JWT 權杖已過期", "tenant-trial-expired": "租戶試用已過期", - "credentials-expired": "憑據已過期", - "permission-denied": "許可權被拒絕", - "invalid-arguments": "無效參數", - "bad-request-params": "錯誤的請求參數", - "item-not-found": "未找到項目", + "credentials-expired": "認證資訊已過期", + "permission-denied": "權限被拒絕", + "invalid-arguments": "參數無效", + "bad-request-params": "請求參數錯誤", + "item-not-found": "找不到該項", "too-many-requests": "請求過多", - "too-many-updates": "更新過多" + "too-many-updates": "更新過多", + "entities-limit-exceeded": "實體數量超出限制" }, "tenant": { "tenant": "租戶", "tenants": "租戶", "management": "租戶管理", - "add": "增加租戶", + "add": "新增租戶", "admins": "管理員", "manage-tenant-admins": "管理租戶管理員", "delete": "刪除租戶", - "add-tenant-text": "增加新租戶", - "no-tenants-text": "沒有找到租戶", - "tenant-details": "租客詳細資訊", - "title-max-length": "標題應小於256", - "delete-tenant-title": "您確定要刪除租戶'{{tenantTitle}}'嗎?", - "delete-tenant-text": "小心!確認後,租戶和所有相關資料將無法恢復。", - "delete-tenants-title": "您確定要刪除 {count,plural, =1 {1 租戶} other {# 租戶} } 嗎?", - "delete-tenants-action-title": "刪除 { count, plural, =1 {1 租戶} other {# 租戶} }", - "delete-tenants-text": "小心!確認後,所有選擇的租戶將被刪除,所有相關資料將無法恢復。", + "add-tenant-text": "新增租戶", + "no-tenants-text": "找不到租戶", + "tenant-details": "租戶詳細資料", + "title-max-length": "標題不能超過 256 個字元", + "delete-tenant-title": "確定要刪除租戶「{{tenantTitle}}」嗎?", + "delete-tenant-text": "請注意,確認後租戶及所有相關資料將無法恢復。", + "delete-tenants-title": "確定要刪除 { count, plural, =1 {1 個租戶} other {# 個租戶} }嗎?", + "delete-tenants-action-title": "刪除 { count, plural, =1 {1 個租戶} other {# 個租戶} }", + "delete-tenants-text": "請注意,確認後所有選取的租戶將被移除,且所有相關資料將無法恢復。", "title": "標題", - "title-required": "標題必填。", + "title-required": "標題為必填項。", "description": "描述", - "details": "詳細資訊", + "details": "詳細資料", "events": "事件", - "copyId": "複製租戶ID", - "idCopiedMessage": "租戶ID已經複製到剪貼板", + "copyId": "複製租戶識別碼", + "idCopiedMessage": "租戶識別碼已複製到剪貼簿", "select-tenant": "選擇租戶", - "no-tenants-matching": "沒有找到符合 '{{entity}}' 的租戶", - "tenant-required": "租戶必填", + "no-tenants-matching": "找不到與「{{entity}}」符合的租戶。", + "tenant-required": "租戶為必填項", "search": "搜尋租戶", - "selected-tenants": "{ count, plural, =1 {1 租戶} other {# 租戶} } 已選中", - "isolated-tb-rule-engine": "在隔離的ThingsBoard Rule規則引擎容器中處理", - "isolated-tb-rule-engine-details": "每個獨立租戶需要單獨的微服務" + "selected-tenants": "已選擇 { count, plural, =1 {1 個租戶} other {# 個租戶} }", + "isolated-tb-rule-engine": "使用隔離的 ThingsBoard 規則引擎佇列", + "isolated-tb-rule-engine-details": "每個租戶將擁有專用的規則引擎佇列", + "allow-white-labeling": "允許使用白標", + "allow-customer-white-labeling": "允許客戶使用白標" }, "tenant-profile": { - "tenant-profile": "租戶屬性", - "tenant-profiles": "租戶屬性", - "add": "新增租戶屬性", - "edit": "編輯租戶屬性", - "tenant-profile-details": "租戶屬性詳細資料", - "no-tenant-profiles-text": "找不到租戶屬性", - "name-max-length": "租戶屬性名稱應小於256", - "search": "搜尋租戶屬性", - "selected-tenant-profiles": "{ count, plural, =1 {1 租戶屬性} other {# 租戶屬性} } 被選中", - "no-tenant-profiles-matching": "找不到與'{{entity}}'匹配的租戶屬性 ", - "tenant-profile-required": "租戶屬性為必填", - "idCopiedMessage": "租戶屬性Id已複製到剪貼板", - "set-default": "將租戶屬性設為預設值", - "delete": "刪除租戶屬性", - "copyId": "複製租戶屬性Id", - "name": "姓名", - "name-required": "姓名為必填", - "data": "屬性資料", - "profile-configuration": "屬性配置", + "tenant-profile": "租戶設定檔", + "tenant-profiles": "租戶設定檔", + "add": "新增租戶設定檔", + "edit": "編輯租戶設定檔", + "tenant-profile-details": "租戶設定檔詳細資料", + "no-tenant-profiles-text": "找不到租戶設定檔", + "name-max-length": "名稱長度必須少於 256 個字元", + "search": "搜尋租戶設定檔", + "selected-tenant-profiles": "已選擇 { count, plural, =1 {1 個租戶設定檔} other {# 個租戶設定檔} }", + "no-tenant-profiles-matching": "找不到與「{{entity}}」符合的租戶設定檔。", + "tenant-profile-required": "租戶設定檔為必填項", + "idCopiedMessage": "租戶設定檔識別碼已複製到剪貼簿", + "set-default": "設為預設租戶設定檔", + "delete": "刪除租戶設定檔", + "copyId": "複製租戶設定檔識別碼", + "name": "名稱", + "name-required": "名稱為必填項。", + "data": "設定檔資料", + "profile-configuration": "設定檔組態", "description": "描述", "default": "預設", - "delete-tenant-profile-title": "是否確定要刪除租戶屬性 '{{tenantProfileName}}'?", - "delete-tenant-profile-text": "小心,確認後租戶屬性及所有相關資料將變得無法恢復。", - "delete-tenant-profiles-title": "您確定要刪除 { count, plural, =1 {1 租戶屬性} other {# 租戶屬性} }嗎?", - "delete-tenant-profiles-text": "小心,確認後所有選定的租戶屬性將被刪除,所有相關資料將變得無法恢復。", - "set-default-tenant-profile-title": "是否確定要將租戶屬性'{{tenantProfileName}}' 設為預設值?", - "set-default-tenant-profile-text": "確認後,租戶屬性將被標記為預設值,並將用於未指定屬性的新租戶。", - "no-tenant-profiles-found": "未找到租戶屬性", - "create-new-tenant-profile": "創造一個新的!", - "create-tenant-profile": "創造新的租戶屬性", - "import": "匯入租戶屬性", - "export": "匯出租戶屬性", - "export-failed-error": "無法匯出租戶屬性: {{error}}", - "tenant-profile-file": "租戶屬性文件", - "invalid-tenant-profile-file-error": "無法匯入租戶屬性:無效的租戶屬性資料結構。", + "delete-tenant-profile-title": "確定要刪除租戶設定檔「{{tenantProfileName}}」嗎?", + "delete-tenant-profile-text": "請注意,確認後租戶設定檔及所有相關資料將無法恢復。", + "delete-tenant-profiles-title": "確定要刪除 { count, plural, =1 {1 個租戶設定檔} other {# 個租戶設定檔} }嗎?", + "delete-tenant-profiles-text": "請注意,確認後所有選取的租戶設定檔將被移除,且所有相關資料將無法恢復。", + "set-default-tenant-profile-title": "確定要將租戶設定檔「{{tenantProfileName}}」設為預設嗎?", + "set-default-tenant-profile-text": "確認後,該租戶設定檔將被標記為預設設定,並用於未指定設定的新租戶。", + "no-tenant-profiles-found": "找不到租戶設定檔。", + "create-new-tenant-profile": "建立新租戶設定檔!", + "create-tenant-profile": "建立新租戶設定檔", + "import": "匯入租戶設定檔", + "export": "匯出租戶設定檔", + "export-failed-error": "無法匯出租戶設定檔:{{error}}", + "tenant-profile-file": "租戶設定檔", + "invalid-tenant-profile-file-error": "無法匯入租戶設定檔:租戶設定檔資料結構無效。", "advanced-settings": "進階設定", "entities": "實體", "rule-engine": "規則引擎", - "time-to-live": "生存時間", - "alarms-and-notifications": "警告和通知", - "ota-files-in-bytes": "OTA文件(位元組)", + "time-to-live": "存留時間", + "alarms-and-notifications": "警報和通知", + "ota-files-in-bytes": "檔案", "ws-title": "WS", - "unlimited": "(0 - 無限制)", - "maximum-devices": "設備最大數量", - "maximum-devices-required": "設備最大數量必填", - "maximum-devices-range": "設備最大數量不可為否", + "unlimited": "(0 — 無限)", + "maximum-devices": "裝置最大數量", + "maximum-devices-required": "裝置最大數量為必填項。", + "maximum-devices-range": "裝置最大數量不能為負數", "maximum-assets": "資產最大數量", - "maximum-assets-required": "資產最大數量必填", - "maximum-assets-range": "資產最大數量不可為否", - "maximum-customers": "顧客最大數量", - "maximum-customers-required": "顧客最大數量必填", - "maximum-customers-range": "顧客最大數量不可為否", - "maximum-users": "用戶最大數量", - "maximum-users-required": "用戶最大數量必填", - "maximum-users-range": "用戶最大數量不可為否", + "maximum-assets-required": "資產最大數量為必填項。", + "maximum-assets-range": "資產最大數量不能為負數", + "maximum-customers": "客戶最大數量", + "maximum-customers-required": "客戶最大數量為必填項。", + "maximum-customers-range": "客戶最大數量不能為負數", + "maximum-users": "使用者最大數量", + "maximum-users-required": "使用者最大數量為必填項。", + "maximum-users-range": "使用者最大數量不能為負數", "maximum-dashboards": "儀表板最大數量", - "maximum-dashboards-required": "儀表板最大數量必填", - "maximum-dashboards-range": "儀表板最大數量不可為否", - "maximum-edges": "最大邊數", - "maximum-edges-required": "需要最大邊數。", - "maximum-edges-range": "邊數最大不能為負數", + "maximum-dashboards-required": "儀表板最大數量為必填項。", + "maximum-dashboards-range": "儀表板最大數量不能為負數", + "maximum-edges": "Edge 最大數量", + "maximum-edges-required": "Edge 最大數量為必填項。", + "maximum-edges-range": "Edge 最大數量不能為負數", "maximum-rule-chains": "規則鏈最大數量", - "maximum-rule-chains-required": "規則鏈最大數量必填", - "maximum-rule-chains-range": "規則鏈最大數量不可為否", - "maximum-resources-sum-data-size": "資源檔尺寸總計", - "maximum-resources-sum-data-size-required": "資源檔尺寸總計必填", - "maximum-resources-sum-data-size-range": "資源檔尺寸總計不可為否", - "maximum-ota-packages-sum-data-size": "OTA套件檔尺寸總計", - "maximum-ota-package-sum-data-size-required": "需要OTA套件檔總和大小。", - "maximum-ota-package-sum-data-size-range": "OTA套件檔尺寸總計不可為否", - "transport-tenant-telemetry-msg-rate-limit": "傳輸租戶遙測訊息", - "transport-tenant-telemetry-data-points-rate-limit": "傳輸租戶遙測資料端", - "transport-device-msg-rate-limit": "傳輸設備訊息", - "transport-device-telemetry-msg-rate-limit": "傳輸設備遙測訊息", - "transport-device-telemetry-data-points-rate-limit": "傳輸設備遙測資料端", + "maximum-rule-chains-required": "規則鏈最大數量為必填項。", + "maximum-rule-chains-range": "規則鏈最大數量不能為負數", + "maximum-resources-sum-data-size": "資源檔案最大總大小(位元組)", + "maximum-resources-sum-data-size-required": "資源檔案最大總大小為必填項。", + "maximum-resources-sum-data-size-range": "資源檔案最大總大小不能為負數", + "maximum-ota-packages-sum-data-size": "OTA 軟體套件檔案最大總大小(位元組)", + "maximum-ota-package-sum-data-size-required": "OTA 軟體套件檔案最大總大小為必填項。", + "maximum-ota-package-sum-data-size-range": "OTA 軟體套件檔案最大總大小不能為負數", + "transport-tenant-telemetry-msg-rate-limit": "傳輸層租戶遙測訊息", + "transport-tenant-telemetry-data-points-rate-limit": "傳輸層租戶遙測資料點", + "transport-device-msg-rate-limit": "傳輸層裝置訊息", + "transport-device-telemetry-msg-rate-limit": "傳輸層裝置遙測訊息", + "transport-device-telemetry-data-points-rate-limit": "傳輸層裝置遙測資料點", "tenant-entity-export-rate-limit": "實體版本建立", - "tenant-entity-import-rate-limit": "實體版本負載", + "tenant-entity-import-rate-limit": "實體版本載入", "max-transport-messages": "傳輸訊息最大數量", - "max-transport-messages-required": "傳輸訊息最大數量必填", - "max-transport-messages-range": "傳輸訊息最大數量不可為否", - "max-transport-data-points": "傳輸資料端最大數量", - "max-transport-data-points-required": "傳輸資料端最大數量比填", - "max-transport-data-points-range": "傳輸資料端最大數量不可為否", - "max-r-e-executions": "規則引擎執行最大數量", - "max-r-e-executions-required": "規則引擎執行最大數量必填", - "max-r-e-executions-range": "規則引擎執行最大數量不可為否", - "max-j-s-executions": "JavaScript執行最大數量", - "max-j-s-executions-required": "JavaScript執行最大數量必填", - "max-j-s-executions-range": "JavaScript執行最大數量不可為否", - "max-d-p-storage-days": "資料端儲存天最大數", - "max-d-p-storage-days-required": "資料端儲存天最大數必填", - "max-d-p-storage-days-range": "資料端儲存天最大數不可為否", - "default-storage-ttl-days": "預設資料端儲存天總計", - "default-storage-ttl-days-required": "預設資料端儲存天總計必填", - "default-storage-ttl-days-range": "預設資料端儲存天總計不可為否", - "alarms-ttl-days": "警告天總計", - "alarms-ttl-days-required": "警告天總計必填", - "alarms-ttl-days-days-range": "警告天總計不可為否", - "rpc-ttl-days": "RPC TTL天數", - "rpc-ttl-days-required": "需要RPC TTL天數", - "rpc-ttl-days-days-range": "RPC TTL天數不能為負數", - "max-rule-node-executions-per-message": "每一訊息執行的規則節點最大數", - "max-rule-node-executions-per-message-required": "每一訊息執行的規則節點最大數必填", - "max-rule-node-executions-per-message-range": "每一訊息執行的規則節點最大數不可為否", - "max-emails": "已寄發Email最大數", - "max-emails-required": "已寄發Email最大數必填", - "max-emails-range": "已寄發Email最大數必填不可為否", - "max-sms": "已寄發SMS最大數", - "max-sms-required": "已寄發SMS最大數必填", - "max-sms-range": "已寄發SMS最大數不可為否", - "max-created-alarms": "已建立警告最大數", - "max-created-alarms-required": "已建立警告最大數必填", - "max-created-alarms-range": "已建立警告最大數不可為否", - "no-queue": "無佇列配置", + "max-transport-messages-required": "傳輸訊息最大數量為必填項。", + "max-transport-messages-range": "傳輸訊息最大數量不能為負數", + "max-transport-data-points": "傳輸資料點最大數量", + "max-transport-data-points-required": "傳輸資料點最大數量為必填項。", + "max-transport-data-points-range": "傳輸資料點最大數量不能為負數", + "max-r-e-executions": "規則引擎執行最大次數", + "max-r-e-executions-required": "規則引擎執行最大次數為必填項。", + "max-r-e-executions-range": "規則引擎執行最大次數不能為負數", + "max-j-s-executions": "JavaScript 執行最大次數", + "max-j-s-executions-required": "JavaScript 執行最大次數為必填項。", + "max-j-s-executions-range": "JavaScript 執行最大次數不能為負數", + "max-d-p-storage-days": "資料點儲存最大天數", + "max-d-p-storage-days-required": "資料點儲存最大天數為必填項。", + "max-d-p-storage-days-range": "資料點儲存最大天數不能為負數", + "default-storage-ttl-days": "預設儲存 TTL 天數", + "default-storage-ttl-days-required": "預設儲存 TTL 天數為必填項。", + "default-storage-ttl-days-range": "預設儲存 TTL 天數不能為負數", + "alarms-ttl-days": "警報 TTL 天數", + "alarms-ttl-days-required": "警報 TTL 天數為必填項", + "alarms-ttl-days-days-range": "警報 TTL 天數不能為負數", + "rpc-ttl-days": "RPC TTL 天數", + "rpc-ttl-days-required": "RPC TTL 天數為必填項", + "rpc-ttl-days-days-range": "RPC TTL 天數不能為負數", + "max-rule-node-executions-per-message": "每則訊息的規則節點執行最大次數", + "max-rule-node-executions-per-message-required": "每則訊息的規則節點執行最大次數為必填項。", + "max-rule-node-executions-per-message-range": "每則訊息的規則節點執行最大次數不能為負數", + "max-emails": "電子郵件傳送最大數量", + "max-emails-required": "電子郵件傳送最大數量為必填項。", + "max-emails-range": "電子郵件傳送最大數量不能為負數", + "max-sms": "SMS 傳送最大數量", + "max-sms-required": "SMS 傳送最大數量為必填項。", + "max-sms-range": "SMS 傳送最大數量不能為負數", + "max-created-alarms": "警報建立最大數量", + "max-created-alarms-required": "警報建立最大數量為必填項。", + "max-created-alarms-range": "警報建立最大數量不能為負數", + "no-queue": "未設定佇列", "add-queue": "新增佇列", - "queues-with-count": "佇列 ({{count}})", - "tenant-rest-limits": "剩餘租戶請求", - "customer-rest-limits": "剩餘顧客請求", - "incorrect-pattern-for-rate-limits": "格式是逗號分隔的容量和週期(以秒為單位),中間有一個冒號,列如100:1,2000:60", - "too-small-value-zero": "該值必須大於0", - "too-small-value-one": "該值必須大於1", - "cassandra-tenant-limits-configuration": "租戶的Cassandra查詢", - "ws-limit-max-sessions-per-tenant": "每個租戶的最大對談數", - "ws-limit-max-sessions-per-customer": "每個客戶的最大對談數", - "ws-limit-max-sessions-per-regular-user": "每個普通用戶的最大對話數", - "ws-limit-max-sessions-per-public-user": "每個公共用戶的最大對談數", - "ws-limit-queue-per-session": "每個對談的消息佇列最大大小", + "queues-with-count": "佇列({{count}})", + "tenant-rest-limits": "租戶 REST 請求", + "customer-rest-limits": "客戶 REST 請求", + "incorrect-pattern-for-rate-limits": "格式為「容量:時間區間(秒)」,多組限制以逗號分隔,例如 100:1,2000:60", + "too-small-value-zero": "值必須大於 0", + "too-small-value-one": "值必須大於 1", + "cassandra-tenant-limits-configuration": "租戶的 Cassandra 查詢", + "ws-limit-max-sessions-per-tenant": "每個租戶的最大工作階段數", + "ws-limit-max-sessions-per-customer": "每個客戶的最大工作階段數", + "ws-limit-max-sessions-per-regular-user": "每個一般使用者的最大工作階段數", + "ws-limit-max-sessions-per-public-user": "每個公開使用者的最大工作階段數", + "ws-limit-queue-per-session": "每個工作階段的最大訊息佇列大小", "ws-limit-max-subscriptions-per-tenant": "每個租戶的最大訂閱數", "ws-limit-max-subscriptions-per-customer": "每個客戶的最大訂閱數", - "ws-limit-max-subscriptions-per-regular-user": "每個普通用戶的最大訂閱數", - "ws-limit-max-subscriptions-per-public-user": "每個公共用戶的最大訂閱數", - "ws-limit-updates-per-session": "每個對談的WS更新", + "ws-limit-max-subscriptions-per-regular-user": "每個一般使用者的最大訂閱數", + "ws-limit-max-subscriptions-per-public-user": "每個公開使用者的最大訂閱數", + "ws-limit-updates-per-session": "每個工作階段的 WS 更新", "rate-limits": { - "add-limit": "增加限制", + "add-limit": "新增限制", "advanced-settings": "進階設定", "edit-limit": "編輯限制", - "edit-transport-tenant-msg-title": "編輯傳輸租戶訊息速率限制", - "edit-transport-tenant-telemetry-msg-title": "編輯傳輸租戶遙測訊息速率限制", - "edit-transport-tenant-telemetry-data-points-title": "編輯傳輸租戶遙測資料端速率限制", - "edit-transport-device-msg-title": "編輯傳輸設備訊息速率限制", - "edit-transport-device-telemetry-msg-title": "編輯傳輸設備遙測訊息速率限制", - "edit-transport-device-telemetry-data-points-title": "編輯傳輸設備遙測資料端速率限制", - "edit-customer-rest-limits-title": "編輯剩餘顧客速率限制", - "edit-ws-limit-updates-per-session-title": "編輯每個對談的 WS更新速率限制", + "edit-transport-tenant-msg-title": "編輯傳輸層租戶訊息速率限制", + "edit-transport-tenant-telemetry-msg-title": "編輯傳輸層租戶遙測訊息速率限制", + "edit-transport-tenant-telemetry-data-points-title": "編輯傳輸層租戶遙測資料點速率限制", + "edit-transport-device-msg-title": "編輯傳輸層裝置訊息速率限制", + "edit-transport-device-telemetry-msg-title": "編輯傳輸層裝置遙測訊息速率限制", + "edit-transport-device-telemetry-data-points-title": "編輯傳輸層裝置遙測資料點速率限制", + "edit-customer-rest-limits-title": "編輯客戶 REST 請求速率限制", + "edit-ws-limit-updates-per-session-title": "編輯每個工作階段的 WS 更新速率限制", "edit-cassandra-tenant-limits-configuration-title": "編輯租戶速率限制的 Cassandra 查詢", - "edit-tenant-entity-export-rate-limit-title": "編輯實體版本創建速率限制", - "edit-tenant-entity-import-rate-limit-title": "編輯實體版本加載速率限制", - "messages-per": "每條消息", + "edit-tenant-entity-export-rate-limit-title": "編輯實體版本建立速率限制", + "edit-tenant-entity-import-rate-limit-title": "編輯實體版本載入速率限制", + "messages-per": "則訊息/", "not-set": "未設定", - "number-of-messages": "消息數", - "number-of-messages-required": "需要消息數。", - "number-of-messages-min": "最小值為1。", + "number-of-messages": "訊息數量", + "number-of-messages-required": "訊息數量為必填項。", + "number-of-messages-min": "最小值為 1。", "preview": "預覽", - "per-seconds": "每秒", - "per-seconds-required": "需要時間速率。", - "per-seconds-min": "最小值為1。", + "per-seconds": "時間區間(秒)", + "per-seconds-required": "請輸入時間區間。", + "per-seconds-min": "時間區間至少須為 1 秒。", "rate-limits": "速率限制", "remove-limit": "移除限制", - "transport-tenant-msg": "傳輸租戶消息", - "transport-tenant-telemetry-msg": "傳輸租戶遙測消息", - "transport-tenant-telemetry-data-points": "傳輸租戶遙測資料點", - "transport-device-msg": "傳輸設備消息", - "transport-device-telemetry-msg": "傳輸設備遙測消息", - "transport-device-telemetry-data-points": "傳輸設備遙測資料點", - "sec": "秒" - } + "transport-tenant-msg": "傳輸層租戶訊息", + "transport-tenant-telemetry-msg": "傳輸層租戶遙測訊息", + "transport-tenant-telemetry-data-points": "傳輸層租戶遙測資料點", + "transport-device-msg": "傳輸層裝置訊息", + "transport-device-telemetry-msg": "傳輸層裝置遙測訊息", + "transport-device-telemetry-data-points": "傳輸層裝置遙測資料點", + "sec": "秒", + "and-also-less-than": "且小於", + "calculated-field-debug-event-rate-limit": "計算欄位偵錯事件", + "edit-calculated-field-debug-event-rate-limit": "編輯計算欄位偵錯事件速率限制", + "edit-transport-gateway-msg-title": "編輯傳輸層閘道器訊息速率限制", + "edit-transport-gateway-telemetry-msg-title": "編輯傳輸層閘道器遙測訊息速率限制", + "edit-transport-gateway-telemetry-data-points-title": "編輯傳輸層閘道器遙測資料點速率限制", + "edit-transport-gateway-device-msg-title": "編輯傳輸層閘道器裝置訊息速率限制", + "edit-transport-gateway-device-telemetry-msg-title": "編輯傳輸層閘道器裝置遙測訊息速率限制", + "edit-transport-gateway-device-telemetry-data-points-title": "編輯傳輸層閘道器裝置遙測資料點速率限制", + "edit-tenant-rest-limits-title": "編輯租戶 REST 請求速率限制", + "edit-cassandra-write-tenant-core-limits-configuration": "編輯 REST API Cassandra 寫入查詢", + "edit-cassandra-read-tenant-core-limits-configuration": "編輯 REST API 和 WS 遙測 Cassandra 讀取查詢", + "edit-cassandra-write-tenant-rule-engine-limits-configuration": "編輯規則引擎遙測 Cassandra 寫入查詢", + "edit-cassandra-read-tenant-rule-engine-limits-configuration": "編輯規則引擎遙測 Cassandra 讀取查詢", + "edit-tenant-notification-request-rate-limit-title": "編輯通知請求速率限制", + "edit-tenant-notification-requests-per-rule-rate-limit-title": "編輯每條通知規則的通知請求速率限制", + "edit-edge-events-rate-limit": "編輯 Edge 事件速率限制", + "edit-edge-events-per-edge-rate-limit": "編輯每個 Edge 的事件速率限制", + "edge-events-rate-limit": "Edge 事件", + "edge-events-per-edge-rate-limit": "每個 Edge 的事件", + "edit-edge-uplink-messages-rate-limit": "編輯 Edge 上行訊息速率限制", + "edit-edge-uplink-messages-per-edge-rate-limit": "編輯每個 Edge 的上行訊息速率限制", + "edge-uplink-messages-rate-limit": "Edge 上行訊息", + "edge-uplink-messages-per-edge-rate-limit": "每個 Edge 的上行訊息", + "per-seconds-duplicate": "時間區間重複,請使用不同的時間區間。", + "transport-gateway-msg": "傳輸層閘道器訊息", + "transport-gateway-telemetry-msg": "傳輸層閘道器遙測訊息", + "transport-gateway-telemetry-data-points": "傳輸層閘道器遙測資料點", + "transport-gateway-device-msg": "傳輸層閘道器裝置訊息", + "transport-gateway-device-telemetry-msg": "傳輸層閘道器裝置遙測訊息", + "transport-gateway-device-telemetry-data-points": "傳輸層閘道器裝置遙測資料點", + "edit-integration-msgs-per-tenant-rate-limit-title": "編輯每個租戶的整合訊息速率限制", + "edit-integration-msgs-per-device-rate-limit-title": "編輯每個裝置的整合訊息速率限制", + "edit-integration-msgs-per-asset-rate-limit-title": "編輯每個資產的整合訊息速率限制", + "edit-agent-events-rate-limit": "編輯代理程式事件速率限制", + "edit-agent-events-per-agent-rate-limit": "編輯每個代理程式的事件速率限制", + "agent-events-rate-limit": "代理程式事件", + "agent-events-per-agent-rate-limit": "每個代理程式的事件", + "edit-agent-log-chunks-rate-limit": "編輯代理程式記錄區塊速率限制", + "edit-agent-log-chunks-per-agent-rate-limit": "編輯每個代理程式的記錄區塊速率限制", + "agent-log-chunks-rate-limit": "代理程式記錄區塊", + "agent-log-chunks-per-agent-rate-limit": "每個代理程式的記錄區塊", + "ai-chat-requests-rate-limit": "AI 對話請求", + "edit-ai-chat-requests-rate-limit": "編輯 AI 對話請求速率限制" + }, + "add-profile": "新增設定檔", + "debug": "偵錯", + "calculated-fields": "計算欄位", + "maximum-resource-size": "單個資源檔案最大大小(位元組)", + "maximum-resource-size-required": "單個資源檔案最大大小為必填項", + "maximum-resource-size-range": "單個資源檔案最大大小不能為負數", + "maximum-debug-duration-min": "最大偵錯持續時間(分鐘)", + "maximum-debug-duration-min-range": "最大偵錯持續時間不能為負數", + "rest-requests-for-tenant": "租戶 REST 請求", + "transport-gateway-msg-rate-limit": "傳輸層閘道器訊息", + "transport-gateway-telemetry-msg-rate-limit": "傳輸層閘道器遙測訊息", + "transport-gateway-telemetry-data-points-rate-limit": "傳輸層閘道器遙測資料點", + "transport-gateway-device-msg-rate-limit": "傳輸層閘道器裝置訊息", + "transport-gateway-device-telemetry-msg-rate-limit": "傳輸層閘道器裝置遙測訊息", + "transport-gateway-device-telemetry-data-points-rate-limit": "傳輸層閘道器裝置遙測資料點", + "tenant-notification-request-rate-limit": "通知請求", + "tenant-notification-requests-per-rule-rate-limit": "每條通知規則的通知請求", + "max-calculated-fields": "每個實體的計算欄位最大數量", + "max-calculated-fields-range": "每個實體的計算欄位最大數量不能為負數", + "max-calculated-fields-required": "每個實體的計算欄位最大數量為必填項", + "max-data-points-per-rolling-arg": "滾動參數中的最大資料點數量", + "max-data-points-per-rolling-arg-range": "滾動參數中的最大資料點數量不能為負數", + "max-data-points-per-rolling-arg-required": "滾動參數中的最大資料點數量為必填項", + "max-arguments-per-cf": "每個計算欄位的最大參數數量", + "max-arguments-per-cf-range": "每個計算欄位的最大參數數量不能為負數", + "max-arguments-per-cf-required": "每個計算欄位的最大參數數量為必填項", + "max-related-level-per-argument": "「關聯實體」參數的最大關聯層級", + "max-related-level-per-argument-range": "「關聯實體」參數的最大關聯層級不能小於「1」", + "max-related-level-per-argument-required": "「關聯實體」參數的最大關聯層級為必填項", + "min-allowed-scheduled-update-interval": "「關聯實體」參數的最小允許更新間隔(秒)", + "min-allowed-scheduled-update-interval-range": "最小允許更新間隔不能為負數", + "min-allowed-deduplication-interval": "最小允許去重間隔(秒)", + "min-allowed-deduplication-interval-range": "最小允許去重間隔不能為負數", + "min-allowed-deduplication-interval-required": "最小允許去重間隔為必填項", + "intermediate-aggregation-interval": "中間彙總間隔(秒)", + "intermediate-aggregation-interval-range": "中間彙總間隔不能小於「1」", + "intermediate-aggregation-interval-required": "中間彙總間隔為必填項", + "reevaluation-check-interval": "重新評估檢查間隔(秒)", + "reevaluation-check-interval-range": "重新評估檢查間隔不能小於「1」", + "reevaluation-check-interval-required": "重新評估檢查間隔為必填項", + "alarms-reevaluation-interval": "警報重新評估間隔(秒)", + "alarms-reevaluation-interval-range": "警報重新評估間隔不能小於「1」", + "alarms-reevaluation-interval-required": "警報重新評估間隔為必填項", + "min-allowed-aggregation-interval": "最小允許彙總間隔(秒)", + "min-allowed-aggregation-interval-range": "最小允許彙總間隔不能為負數", + "min-allowed-aggregation-interval-required": "最小允許彙總間隔為必填項", + "min-allowed-scheduled-update-interval-required": "最小允許更新間隔為必填項", + "max-state-size": "狀態最大大小(KB)", + "max-state-size-range": "狀態最大大小(KB)不能為負數", + "max-state-size-required": "狀態最大大小(KB)為必填項", + "max-value-argument-size": "單個值參數最大大小(KB)", + "max-value-argument-size-range": "單個值參數最大大小(KB)不能為負數", + "max-value-argument-size-required": "單個值參數最大大小(KB)為必填項", + "max-tbel-executions": "TBEL 執行最大次數", + "max-tbel-executions-required": "TBEL 執行最大次數為必填項。", + "max-tbel-executions-range": "TBEL 執行最大次數不能為負數", + "queue-stats-ttl-days": "佇列統計 TTL 天數", + "queue-stats-ttl-days-required": "佇列統計 TTL 天數為必填項", + "queue-stats-ttl-days-range": "佇列統計 TTL 天數不能為負數", + "rule-engine-exceptions-ttl-days": "規則引擎例外狀況 TTL 天數", + "rule-engine-exceptions-ttl-days-required": "規則引擎例外狀況 TTL 天數為必填項", + "rule-engine-exceptions-ttl-days-range": "規則引擎例外狀況 TTL 天數不能為負數", + "sms-enabled": "SMS 已啟用", + "queue-size-is-limited-by-system-configuration": "佇列大小同時受系統設定限制。", + "cassandra-write-tenant-core-limits-configuration": "REST API Cassandra 寫入查詢", + "cassandra-read-tenant-core-limits-configuration": "REST API 和 WS 遙測 Cassandra 讀取查詢", + "cassandra-write-tenant-rule-engine-limits-configuration": "規則引擎遙測 Cassandra 寫入查詢", + "cassandra-read-tenant-rule-engine-limits-configuration": "規則引擎遙測 Cassandra 讀取查詢", + "relation-search-entity-limit": "關聯搜尋實體限制", + "relation-search-entity-limit-hint": "限制關聯路徑最後一級解析的實體數量。適用於「關聯實體」參數和傳播欄位。", + "relation-search-entity-limit-required": "關聯搜尋實體限制", + "relation-search-entity-limit-range": "關聯搜尋實體限制不能小於「1」", + "maximum-integrations": "整合數量上限", + "maximum-integrations-required": "整合數量上限為必填項。", + "maximum-integrations-range": "整合數量上限不得為負數", + "maximum-reports": "報表數量上限", + "maximum-reports-required": "報表數量上限為必填項。", + "maximum-reports-range": "報表數量上限不得為負數", + "maximum-converters": "轉換器數量上限", + "maximum-converters-required": "轉換器數量上限為必填項。", + "maximum-converters-range": "轉換器數量上限不得為負數", + "maximum-scheduler-events": "排程事件數量上限", + "maximum-scheduler-events-required": "排程事件數量上限為必填項。", + "maximum-scheduler-events-range": "排程事件數量上限不得為負數", + "maximum-agents": "代理程式數量上限", + "maximum-agents-required": "代理程式數量上限為必填項。", + "maximum-agents-range": "代理程式數量上限不得為負數", + "maximum-agent-applications": "代理程式應用程式數量上限", + "maximum-agent-applications-required": "代理程式應用程式數量上限為必填項。", + "maximum-agent-applications-range": "代理程式應用程式數量上限不得為負數", + "maximum-report-size": "報表檔案大小上限(位元組)", + "maximum-report-size-required": "報表檔案大小上限為必填項。", + "maximum-report-size-range": "報表檔案大小上限不得為負數", + "integration-msgs-per-tenant-rate-limit": "每個租戶的整合訊息", + "integration-msgs-per-device-rate-limit": "每個裝置的整合訊息", + "integration-msgs-per-asset-rate-limit": "每個資產的整合訊息", + "blob-entity-ttl-days": "Blob 實體存留時間(天)", + "blob-entity-ttl-days-required": "Blob 實體存留時間為必填項。", + "blob-entity-ttl-days-range": "Blob 實體存留時間不得為負數", + "report-ttl-days": "報表存留時間(天)", + "report-ttl-days-required": "報表存留時間為必填項。", + "report-ttl-days-range": "報表存留時間不得為負數", + "ai": "AI", + "max-ai-credits": "AI 點數上限", + "max-ai-credits-required": "AI 點數上限為必填項。", + "max-ai-credits-range": "AI 點數上限不得為負數" }, "timeinterval": { "seconds-interval": "{ seconds, plural, =1 {1 秒} other {# 秒} }", - "minutes-interval": "{ minutes, plural, =1 {1 分} other {# 分} }", + "minutes-interval": "{ minutes, plural, =1 {1 分鐘} other {# 分鐘} }", "hours-interval": "{ hours, plural, =1 {1 小時} other {# 小時} }", "days-interval": "{ days, plural, =1 {1 天} other {# 天} }", "days": "天", - "hours": "時", - "minutes": "分", + "hours": "小時", + "minutes": "分鐘", "seconds": "秒", - "advanced": "高級", + "advanced": "進階", "predefined": { "yesterday": "昨天", "day-before-yesterday": "前天", - "this-day-last-week": "上週的這一天", - "previous-week": "前一週 (週日 - 週六)", - "previous-week-iso": "前一週 (週一 - 週日)", - "previous-month": "前一個月", - "previous-year": "上一年", - "current-hour": "當前時間", - "current-day": "當前日期", - "current-day-so-far": "當天到目前為止", - "current-week": "本週 (週日 - 週六)", - "current-week-iso": "本週 (週一 - 週日)", - "current-week-so-far": "本週到目前為止 (週日 - 週六)", - "current-week-iso-so-far": "本週到目前為止 (週一 - 週日)", - "current-month": "這個月", + "this-day-last-week": "上週的今天", + "previous-week": "上一週(週日 - 週六)", + "previous-week-iso": "上一週(週一 - 週日)", + "previous-month": "上個月", + "previous-year": "去年", + "current-hour": "目前這一小時", + "current-day": "當天", + "current-day-so-far": "當天至今", + "current-week": "本週(週日 - 週六)", + "current-week-iso": "本週(週一 - 週日)", + "current-week-so-far": "本週至今(週日 - 週六)", + "current-week-iso-so-far": "本週至今(週一 - 週日)", + "current-month": "本月", "current-month-so-far": "本月至今", - "current-year": "今年", - "current-year-so-far": "本年度至今" + "current-year": "本年", + "current-year-so-far": "本年至今", + "previous-quarter": "上一季", + "previous-half-year": "前一個半年", + "current-quarter": "本季", + "current-quarter-so-far": "本季至今", + "current-half-year": "目前這個半年", + "current-half-year-so-far": "目前這個半年至今" + }, + "custom": "自訂", + "type": { + "week": "週(週日 - 週六)", + "week-iso": "週(週一 - 週日)", + "month": "月", + "quarter": "季" } }, "timeunit": { "milliseconds": "毫秒", "seconds": "秒", - "minutes": "分", - "hours": "時", + "minutes": "分鐘", + "hours": "小時", "days": "天" }, "timewindow": { - "days": "{ days, plural, =1 { 天 } other {# 天 } }", + "days": "{ days, plural, =1 {1 天 } other {# 天 } }", "hours": "{ hours, plural, =0 { 小時 } =1 {1 小時 } other {# 小時 } }", - "minutes": "{ minutes, plural, =0 { 分 } =1 {1 分 } other {# 分 } }", + "minutes": "{ minutes, plural, =0 { 分鐘 } =1 {1 分鐘 } other {# 分鐘 } }", "seconds": "{ seconds, plural, =0 { 秒 } =1 {1 秒 } other {# 秒 } }", - "realtime": "實時", + "realtime": "即時", "history": "歷史", - "last-prefix": "最後", + "last-prefix": "最近", "period": "從 {{ startTime }} 到 {{ endTime }}", - "edit": "編輯時間窗口", + "edit": "編輯時間視窗", "date-range": "日期範圍", - "last": "最後", - "time-period": "時間段", + "last": "最近", + "time-period": "時段", "hide": "隱藏", - "interval": "間隔" + "interval": "間隔", + "timewindow": "時間視窗", + "timewindow-settings": "時間視窗設定", + "years": "{ years, plural, =1 {1 年 } other {# 年 } }", + "years-short": "{{ years }} 年", + "months": "{ months, plural, =1 {1 個月 } other {# 個月 } }", + "months-short": "{{ months }} 個月", + "weeks": "{ weeks, plural, =1 {1 週 } other {# 週 } }", + "weeks-short": "{{ weeks }} 週", + "days-short": "{{ days }} 天", + "hr": "{{ hr }} 小時", + "hr-short": "{{ hr }} 小時", + "min": "{{ min }} 分鐘", + "min-short": "{{ min }} 分鐘", + "sec": "{{ sec }} 秒", + "sec-short": "{{ sec }} 秒", + "short": { + "years": "{ years, plural, =1 {1 年 } other {# 年 } }", + "days": "{ days, plural, =1 {1 天 } other {# 天 } }", + "hours": "{ hours, plural, =1 {1 小時 } other {# 小時 } }", + "minutes": "{{minutes}} 分鐘 ", + "seconds": "{{seconds}} 秒 ", + "milliseconds": "{{milliseconds}} 毫秒" + }, + "for-all-time": "所有時間", + "just-now": "剛剛", + "just-now-lower": "剛剛", + "ago": "前", + "style": "時間視窗樣式", + "icon": "圖示", + "icon-position": "圖示位置", + "icon-position-left": "左", + "icon-position-right": "右", + "font": "字型", + "color": "顏色", + "displayTypePrefix": "顯示即時/歷史前置詞", + "preview": "預覽", + "relative": "相對", + "range": "範圍", + "hide-timewindow-section": "對終端使用者隱藏時間視窗部分", + "hide-last-interval": "對終端使用者隱藏最近間隔", + "hide-relative-interval": "對終端使用者隱藏相對間隔", + "hide-fixed-interval": "對終端使用者隱藏固定間隔", + "hide-aggregation": "對終端使用者隱藏彙總", + "hide-group-interval": "對終端使用者隱藏分組間隔", + "hide-max-values": "對終端使用者隱藏最大值", + "hide-timezone": "對終端使用者隱藏時區", + "disable-custom-interval": "停用自訂間隔選擇", + "edit-aggregation-functions-list": "編輯彙總函式清單", + "edit-aggregation-functions-list-hint": "可以指定可用選項清單。", + "allowed-aggregation-functions": "允許的彙總函式", + "edit-intervals-list": "編輯間隔清單", + "allowed-agg-intervals": "分組間隔", + "default-agg-interval": "預設分組間隔", + "edit-intervals-list-hint": "可以指定可用間隔選項清單。", + "edit-grouping-intervals-list-hint": "可以設定分組間隔清單和預設分組間隔。", + "all": "全部", + "save-current-settings-as-default": "將目前設定儲存為預設時間視窗", + "hide-option-from-end-users": "對終端使用者隱藏選項" }, "user": { - "user": "用戶", - "users": "用戶", - "customer-users": "客戶用戶", + "user": "使用者", + "users": "使用者", + "customer-users": "客戶使用者", "tenant-admins": "租戶管理員", "sys-admin": "系統管理員", "tenant-admin": "租戶管理員", "customer": "客戶", "anonymous": "匿名", - "add": "增加用戶", - "delete": "刪除用戶", - "add-user-text": "增加新用戶", - "no-users-text": "找不到用戶", - "user-details": "用戶詳細訊息", - "delete-user-title": "您確定要刪除用戶 '{{userEmail}}' 嗎?", - "delete-user-text": "小心!確認後,用戶和所有相關資料將無法恢復。", - "delete-users-title": "你確定你要刪除 { count, plural, =1 {1 用戶} other {# 用戶} } 嗎?", - "delete-users-action-title": "刪除 { count, plural, =1 {1 用戶} other {# 用戶} }", - "delete-users-text": "小心!確認後,所有選擇的用戶將被刪除,所有相關資料將無法恢復。", - "activation-email-sent-message": "啟動電子郵件已成功發送!", - "resend-activation": "重新發送啟動", + "add": "新增使用者", + "delete": "刪除使用者", + "add-user-text": "新增使用者", + "no-users-text": "找不到使用者", + "user-details": "使用者詳細資料", + "delete-user-title": "確定要刪除使用者「{{userEmail}}」嗎?", + "delete-user-text": "請注意,確認後使用者及所有相關資料將無法恢復。", + "delete-users-title": "確定要刪除 { count, plural, =1 {1 個使用者} other {# 個使用者} }嗎?", + "delete-users-action-title": "刪除 { count, plural, =1 {1 個使用者} other {# 個使用者} }", + "delete-users-text": "請注意,確認後所有選取的使用者將被移除,且所有相關資料將無法恢復。", + "activation-email-sent-message": "啟用郵件已成功傳送!", + "resend-activation": "重新傳送啟用郵件", "email": "電子郵件", - "email-required": "電子郵件必填。", - "invalid-email-format": "無效的郵件格式。", - "first-name": "名字", + "email-required": "電子郵件為必填項。", + "invalid-email-format": "電子郵件格式無效。", + "first-name": "名", "last-name": "姓", "description": "描述", - "default-dashboard": "預設面板", + "default-dashboard": "預設儀表板", "always-fullscreen": "始終全螢幕", - "select-user": "選擇用戶", - "no-users-matching": "沒有找到符合 '{{entity}}' 的用戶。", - "user-required": "用戶必填", - "activation-method": "啟動方式", - "display-activation-link": "顯示啟動連結", - "send-activation-mail": "發送啟動郵件", - "activation-link": "用戶啟動連結", - "activation-link-text": "使用該連結 啟動 啟動用戶:", - "copy-activation-link": "複製用戶啟動連結", - "activation-link-copied-message": "用戶啟動連結已經複製到剪貼板", - "details": "詳細訊息", - "login-as-tenant-admin": "以租戶管理者帳號登入", - "login-as-customer-user": "以顧客用戶帳號登入", - "search": "搜尋用戶", - "selected-users": "{ count, plural, =1 {1 用戶} other {# 用戶} } 被選中", - "disable-account": "關閉用戶帳號", - "enable-account": "啓用用戶帳號", - "enable-account-message": "用戶帳號已成功啓用", - "disable-account-message": "用戶帳號已成功關閉", - "copyId": "複製用戶Id", - "idCopiedMessage": "用戶Id已複製到剪貼板" + "select-user": "選擇使用者", + "no-users-matching": "找不到與「{{entity}}」符合的使用者。", + "user-required": "使用者為必填項", + "activation-method": "啟用方式", + "display-activation-link": "顯示啟用連結", + "send-activation-mail": "傳送啟用郵件", + "activation-link": "使用者啟用連結", + "activation-link-text": "若要啟用使用者帳號,請使用此啟用連結(有效時間:{{activationLinkTtl}}):", + "copy-activation-link": "複製啟用連結", + "activation-link-copied-message": "使用者啟用連結已複製到剪貼簿", + "details": "詳細資料", + "login-as-tenant-admin": "以租戶管理員身分登入", + "login-as-customer-user": "以客戶使用者身分登入", + "search": "搜尋使用者", + "selected-users": "已選擇 { count, plural, =1 {1 個使用者} other {# 個使用者} }", + "disable-account": "停用使用者帳戶", + "enable-account": "啟用使用者帳戶", + "enable-account-message": "使用者帳戶已成功啟用!", + "disable-account-message": "使用者帳戶已成功停用!", + "copyId": "複製使用者識別碼", + "idCopiedMessage": "使用者識別碼已複製到剪貼簿", + "user-list": "使用者清單", + "user-list-required": "使用者清單為必填項", + "all": "全部", + "all-users": "所有使用者", + "groups": "群組", + "management": "使用者管理", + "delete-users": "刪除使用者", + "select-group-to-add": "選擇目標群組,以加入所選使用者", + "select-group-to-move": "選擇目標群組,以移入所選使用者", + "remove-users-from-group": "確定要從群組「'{{entityGroup}}'」移除 { count, plural, =1 {1 個使用者} other {# 個使用者} }嗎?", + "group": "使用者群組", + "list-of-groups": "{ count, plural, =1 {1 個使用者群組} other {使用者群組清單(# 個)} }", + "group-name-starts-with": "名稱以「{{prefix}}」開頭的使用者群組" }, "value": { - "type": "值類型", - "string": "字符串", - "string-value": "字符串值", - "string-value-required": "需要字符串值", - "integer": "數字", - "integer-value": "數字值", - "integer-value-required": "需要整數值", + "type": "值型別", + "string": "字串", + "string-value": "字串值", + "string-value-required": "字串值為必填項", + "integer": "整數", + "integer-value": "整數值", + "integer-value-required": "整數值為必填項", "invalid-integer-value": "整數值無效", "double": "雙精度浮點數", "double-value": "雙精度浮點數值", - "double-value-required": "需要雙值", - "boolean": "布林", + "double-value-required": "雙精度浮點數值為必填項", + "boolean": "布林值", "boolean-value": "布林值", "false": "假", "true": "真", - "long": "長", + "long": "長整數", "json": "JSON", - "json-value": "JSON值", - "json-value-invalid": "JSON值的格式無效", - "json-value-required": "需要JSON值。" + "json-value": "JSON 值", + "json-value-invalid": "JSON 值格式無效", + "json-value-required": "JSON 值為必填項。" }, "version-control": { "version-control": "版本控制", @@ -3257,439 +4672,826 @@ "search": "搜尋版本", "branch": "分支", "default": "預設", - "select-branch": "選取分支", - "branch-required": "需要分支", - "create-entity-version": "創建實體版本", + "select-branch": "選擇分支", + "branch-required": "分支為必填項", + "create-entity-version": "建立實體版本", "version-name": "版本名稱", - "version-name-required": "需要版本名稱", + "version-name-required": "版本名稱為必填項", "author": "作者", "export-relations": "匯出關聯", "export-attributes": "匯出屬性", - "export-credentials": "匯出憑據", + "export-credentials": "匯出認證資訊", "entity-versions": "實體版本", - "versions": "本版", - "created-time": "創建時間", - "version-id": "版本ID", - "no-entity-versions-text": "未找到實體版本", - "no-versions-text": "未找到版本", - "copy-full-version-id": "複製完整版本ID", + "versions": "版本", + "created-time": "建立時間", + "version-id": "版本識別碼", + "no-entity-versions-text": "找不到實體版本", + "no-versions-text": "找不到版本", + "copy-full-version-id": "複製完整版本識別碼", "create-version": "建立版本", - "creating-version": "正在創建版本... 請稍候t", - "nothing-to-commit": "沒有要提交的更改", - "restore-version": "恢復版本", - "restore-entity-from-version": "從版本'{{versionName}}'恢復實體", - "restoring-entity-version": "正在恢復實體版本... 請稍候", - "load-relations": "負載關聯", - "load-attributes": "加載屬性", - "load-credentials": "加載憑據", - "compare-with-current": "與當前比較", - "diff-entity-with-version": "與實體版本'{{versionName}}'的差異", + "creating-version": "正在建立版本…請稍候", + "nothing-to-commit": "無變更可提交", + "restore-version": "還原版本", + "restore-entity-from-version": "從版本「{{versionName}}」還原實體", + "restoring-entity-version": "正在還原實體版本…請稍候", + "load-relations": "載入關聯", + "load-attributes": "載入屬性", + "load-credentials": "載入認證資訊", + "compare-with-current": "與目前版本比較", + "diff-entity-with-version": "與實體版本「{{versionName}}」比較差異", "previous-difference": "上一個差異", "next-difference": "下一個差異", - "current": "當前的", - "differences": "{ count, plural, =1 {1 差異} other {# 差異} }", - "create-entities-version": "創建實體版本", + "current": "目前", + "differences": "{ count, plural, =1 {1 處差異} other {# 處差異} }", + "create-entities-version": "建立實體版本", "default-sync-strategy": "預設同步策略", "sync-strategy-merge": "合併", "sync-strategy-overwrite": "覆蓋", "entities-to-export": "要匯出的實體", - "entities-to-restore": "要恢復的實體", + "entities-to-restore": "要還原的實體", "sync-strategy": "同步策略", "all-entities": "所有實體", "no-entities-to-export-prompt": "請指定要匯出的實體", - "no-entities-to-restore-prompt": "請指定要恢復的實體", - "add-entity-type": "增加實體類型", - "remove-all": "移除全部", - "version-create-result": "{ added, plural, =0 {無實體} =1 {1 實體} other {# 實體} } 已增加。.
    { modified, plural, =0 {無實體} =1 {1 實體} other {# 實體} } 已修改。
    { removed, plural, =0 {無實體} =1 {1 實體} other {# 實體} } 已移除。", + "no-entities-to-restore-prompt": "請指定要還原的實體", + "add-entity-type": "新增實體類型", + "remove-all": "全部移除", + "version-create-result": "{ added, plural, =0 {未新增實體} =1 {已新增 1 個實體} other {已新增 # 個實體} }。
    { modified, plural, =0 {未修改實體} =1 {已修改 1 個實體} other {已修改 # 個實體} }。
    { removed, plural, =0 {未移除實體} =1 {已移除 1 個實體} other {已移除 # 個實體} }。", "remove-other-entities": "移除其他實體", - "find-existing-entity-by-name": "按名稱查找現有實體", - "restore-entities-from-version": "從版本'{{versionName}}恢復實體'", - "restoring-entities-from-version": "正在恢復實體... 請稍候", - "no-entities-restored": "沒有恢復實體", - "created": "{{created}}已創建", - "updated": "{{updated}}已更新", - "deleted": "{{deleted}} 已刪除", - "remove-other-entities-confirm-text": "小心!這將永久刪除所有在您要恢復的版本中不存在的當前實體。請輸入 \"remove other entities\" 進行確認。", - "auto-commit-to-branch": "自動提交到{{ branch }}分支", + "find-existing-entity-by-name": "按名稱查詢現有實體", + "restore-entities-from-version": "從版本「{{versionName}}」還原實體", + "restoring-entities-from-version": "正在還原實體…請稍候", + "no-entities-restored": "未還原任何實體", + "created": "已建立 {{created}} 筆", + "updated": "已更新 {{updated}} 筆", + "deleted": "已刪除 {{deleted}} 筆", + "remove-other-entities-confirm-text": "請注意!目前不在欲還原版本中的
    所有實體都將被永久刪除。

    請輸入「remove other entities」以確認。", + "auto-commit-to-branch": "自動提交到 {{ branch }} 分支", "default-create-entity-version-name": "{{entityName}} 更新", - "sync-strategy-merge-hint": "在存儲庫中創建或更新選定實體。所有其他存儲實體都不會被修改。", - "sync-strategy-overwrite-hint": "在存儲庫中創建或更新選定的實體。所有其他存儲庫實體都將被刪除。", - "device-credentials-conflict": "無法加載具有外部ID{{entityId}}的設備。
    因為資料庫中已存在另一台設備的相同憑據。 請考慮在恢復表單中禁用加載憑據設置。", - "missing-referenced-entity": "無法加載具有外部ID{{sourceEntityId}}的{{sourceEntityTypeName}},因為它引用了缺少的ID為{{targetEntityId}}的{{targetEntityTypeName}}。", - "runtime-failed": "失敗: {{message}}" + "sync-strategy-merge-hint": "在儲存庫中建立或更新選取的實體。所有其他儲存庫實體不會被修改。", + "sync-strategy-overwrite-hint": "在儲存庫中建立或更新選取的實體。所有其他儲存庫實體將被刪除。", + "device-credentials-conflict": "無法載入外部識別碼為 {{entityId}} 的裝置,
    因為資料庫中另一個裝置已使用相同的認證資訊。
    請考慮停用還原表單中的載入認證資訊設定。", + "missing-referenced-entity": "無法載入外部識別碼為 {{sourceEntityId}} 的 {{sourceEntityTypeName}},
    因為它引用的 {{targetEntityTypeName}}(識別碼:{{targetEntityId}})不存在。", + "runtime-failed": "失敗:{{message}}", + "export-calculated-fields": "匯出計算欄位\n及警報規則", + "export-alarm-rules": "匯出警報規則", + "load-calculated-fields": "載入計算欄位和警報規則", + "load-alarm-rules": "載入警報規則", + "auto-commit-settings-read-only-hint": "當儲存庫設定中啟用了唯讀選項時,自動提交功能不可用。", + "rollback-on-error": "發生錯誤時復原", + "rollback-on-error-hint": "如果有大量實體需要還原,可考慮停用此選項以提高效能。\n請注意,如果版本載入過程中發生錯誤,已儲存的實體(包括關聯、屬性等)將保持原樣。", + "export-group-entities": "匯出群組內的實體", + "export-roles": "匯出角色", + "load-group-entities": "載入群組內的實體", + "load-roles": "載入角色", + "groups-created": "已建立 { created, plural, =1 {1 個群組} other {# 個群組} }", + "groups-updated": "已更新 { updated, plural, =1 {1 個群組} other {# 個群組} }", + "groups-deleted": "已刪除 { deleted, plural, =1 {1 個群組} other {# 個群組} }", + "add-entity-groups": "新增實體群組", + "entity-groups": "實體群組", + "integration-routing-key-conflict": "無法載入外部識別碼為 {{entityId}} 的整合,
    因為資料庫中的另一個整合已使用相同的整合金鑰。
    請考慮在還原表單中啟用自動產生整合金鑰設定。", + "auto-generate-integration-key": "自動產生整合金鑰" }, "widget": { - "widget-library": "部件庫", - "widget-bundle": "部件包", - "all-bundles": "所有包", - "select-widgets-bundle": "選擇部件包", - "management": "管理部件", - "editor": "部件編輯器", - "widget-type-not-found": "加載部件配置出錯。
    可能關聯的\n 部件已經刪除了。", - "widget-type-load-error": "由於以下錯誤未加載小部件:", - "remove": "刪除部件", - "edit": "編輯部件", - "remove-widget-title": "確實要刪除 '{{widgetTitle}}'部件嗎?", - "remove-widget-text": "確認後,控件和所有相關資料將變得無法恢復。", + "widget-library": "小工具庫", + "widget-bundle": "小工具包", + "all-bundles": "所有小工具包", + "select-widgets-bundle": "選擇小工具包", + "management": "小工具管理", + "editor": "小工具編輯器", + "widget-type-not-found": "載入小工具設定時出現問題。
    關聯的\n 小工具類型可能已被移除。", + "widget-type-load-error": "小工具因以下錯誤未能載入:", + "remove": "移除小工具", + "edit": "編輯小工具", + "remove-widget-title": "確定要移除小工具「{{widgetTitle}}」嗎?", + "remove-widget-text": "確認後,該小工具及所有相關資料將無法恢復。", "timeseries": "時間序列", "search-data": "搜尋資料", - "no-data-found": "沒有找到資料", + "no-data-found": "找不到資料", "latest": "最新值", - "rpc": "控件部件", - "alarm": "警告部件", - "static": "靜態部件", - "select-widget-type": "選擇窗口部件類型", - "missing-widget-title-error": "部件標題必須指定!", - "widget-saved": "部件已儲存", - "unable-to-save-widget-error": "無法儲存部件!控件有錯誤!", - "save": "儲存部件", - "saveAs": "部件另存為", - "save-widget-type-as": "部件類型另存為", - "save-widget-type-as-text": "請輸入新的部件標題或選擇目標部件包", + "rpc": "控制小工具", + "alarm": "警報小工具", + "static": "靜態小工具", + "select-widget-type": "選擇小工具類型", + "missing-widget-title-error": "必須指定小工具標題!", + "widget-saved": "小工具已儲存", + "unable-to-save-widget-error": "無法儲存小工具!小工具存在錯誤!", + "save": "儲存小工具", + "saveAs": "小工具另存為", + "save-widget-type-as": "小工具類型另存為", + "save-widget-type-as-text": "請輸入新的小工具標題或選擇目標小工具包", "toggle-fullscreen": "切換全螢幕", - "run": "執行部件", - "title": "部件標題", - "title-required": "需要部件標題。", - "type": "部件類型", + "run": "執行小工具", + "title": "標題", + "title-required": "小工具標題為必填項。", + "type": "小工具類型", "resources": "資源", "resource-url": "JavaScript/CSS URL", - "remove-resource": "刪除資源", - "add-resource": "增加資源", + "remove-resource": "移除資源", + "add-resource": "新增資源", "html": "HTML", "tidy": "整理", "css": "CSS", "settings-schema": "設定模式", "datakey-settings-schema": "資料鍵設定模式", "latest-datakey-settings-schema": "最新資料鍵設置架構", - "widget-settings": "部件設定", + "widget-settings": "小工具設定", "description": "描述", - "image-preview": "圖像預覽", - "settings-form-selector": "設置表單選擇器", - "data-key-settings-form-selector": "資料鍵設置表單選擇器", - "latest-data-key-settings-form-selector": "最新資料鍵設置表單選擇器", + "image-preview": "圖片預覽", + "settings-form-selector": "設定表單選擇器", + "data-key-settings-form-selector": "資料鍵設定表單選擇器", + "latest-data-key-settings-form-selector": "最新資料鍵設定表單選擇器", "javascript": "Javascript", "js": "JS", - "add-widget-type": "增加新的部件類型", - "widget-template-load-failed-error": "無法加載部件模板!", - "add": "增加部件", - "undo": "復原部件更改", - "export": "匯出部件", - "no-data": "部件上沒有要顯示的資料", - "data-overflow": "小部件顯示{{count}}個,共{{total}}個實體", - "alarm-data-overflow": "工具顯示{{totalEntities}}個實體中的{{allowedEntities}} (最大允許)個實體的警告", - "search": "搜尋部件", - "filter": "部件過濾器類型", - "loading-widgets": "加載部件..." + "add-widget-type": "新增小工具類型", + "widget-template-load-failed-error": "載入小工具範本失敗!", + "add": "新增小工具", + "undo": "撤銷小工具變更", + "export": "匯出小工具", + "no-data": "小工具無資料可顯示", + "data-overflow": "小工具顯示 {{total}} 個實體中的 {{count}} 個", + "alarm-data-overflow": "小工具顯示 {{totalEntities}} 個實體中 {{allowedEntities}} 個(最大允許數)實體的警報", + "search": "搜尋小工具", + "filter": "小工具篩選器類型", + "loading-widgets": "正在載入小工具...", + "installed": "已安裝", + "widgets": "小工具", + "all-widgets": "所有小工具", + "widget": "小工具", + "select-widget": "選擇小工具", + "no-widgets-matching": "找不到符合「{{entity}}」的小工具。", + "no-widgets": "暫無小工具", + "no-widgets-text": "找不到小工具", + "confirm-to-exit-editor-html": "您有未儲存的小工具設定。
    確定要離開此頁面嗎?", + "delete": "刪除小工具", + "replace-reference-with-widget-copy": "將引用替換為小工具副本", + "timeseries-short": "序列", + "latest-short": "最新", + "rpc-short": "控制", + "alarm-short": "警報", + "static-short": "靜態", + "type-timeseries": "時間序列", + "type-latest": "最新值", + "type-rpc": "控制", + "type-alarm": "警報", + "type-static": "靜態", + "move": "移動小工具", + "save-widget-as": "小工具另存為", + "save-widget-as-text": "請輸入新的小工具標題", + "widget-title": "小工具標題", + "title-max-length": "標題不能超過 256 個字元", + "system": "系統", + "resource-is-extension": "是否為擴充套件", + "settings-form": "設定表單", + "data-key-settings-form": "資料鍵設定表單", + "latest-data-key-settings-form": "最新資料鍵設定表單", + "tags": "標籤", + "all": "全部", + "actual": "目前", + "scada": "SCADA 符號", + "deprecated": "已棄用", + "has-basic-mode": "具有基礎模式", + "basic-mode-form-selector": "基礎模式表單選擇器", + "basic-mode": "基礎", + "advanced-mode": "進階", + "delete-widget-title": "確定要刪除小工具「{{widgetName}}」嗎?", + "delete-widget-text": "確認後,該小工具及所有相關資料將無法恢復。", + "delete-widgets-title": "確定要刪除 { count, plural, =1 {1 個小工具} other {# 個小工具} }嗎?", + "delete-widgets-text": "請注意,確認後所有選取的小工具將被移除,且所有相關資料將無法恢復。", + "delete-widget": "刪除小工具", + "details": "詳細資料", + "widget-details": "小工具詳細資料", + "add-existing-widget": "新增現有小工具", + "add-new-widget": "新增小工具", + "search-widgets": "搜尋小工具", + "selected-widgets": "已選擇 { count, plural, =1 {1 個小工具} other {# 個小工具} }", + "export-prompt": "嵌入小工具圖片和資源", + "export-widgets": "匯出小工具", + "export-widgets-prompt": "嵌入小工具圖片和資源", + "import": "匯入小工具", + "widget-template-error": "無效的小工具 HTML 範本。", + "reference": "引用", + "export-data": "匯出小工具資料", + "export-to-csv": "將資料匯出為 CSV…", + "export-to-excel": "將資料匯出為 XLS…", + "export-to-excel-xlsx": "將資料匯出為 XLSX…" }, "widget-action": { - "header-button": "部件頂部按鈕", - "open-dashboard-state": "切換到新儀表板狀態", - "update-dashboard-state": "更新當前儀表板狀態", - "open-dashboard": "切換到另一個儀表板", - "custom": "自定義動作", - "custom-pretty": "自定義操作 (使用HTML模板)", - "mobile-action": "移動操作", + "header-button": "小工具標題欄按鈕", + "open-dashboard-state": "導航到新的儀表板狀態", + "update-dashboard-state": "更新目前儀表板狀態", + "open-dashboard": "導航到其他儀表板", + "custom": "自訂操作", + "custom-pretty": "自訂操作(帶 HTML 範本)", + "mobile-action": "行動裝置端操作", "target-dashboard-state": "目標儀表板狀態", - "target-dashboard-state-required": "目標儀表板狀態必填", - "set-entity-from-widget": "從部件中設定實體", + "target-dashboard-state-required": "目標儀表板狀態為必填項", + "set-entity-from-widget": "從小工具設定實體", "target-dashboard": "目標儀表板", - "open-right-layout": "打開右側佈局 (移動端視圖)", + "open-right-layout": "開啟右側儀表板版面配置(行動裝置端檢視)", "state-display-type": "儀表板狀態顯示選項", - "open-normal": "切換正常", - "open-in-separate-dialog": "在分別的對話切換", - "open-in-popover": "彈出提示框", - "dialog-title": "對話標題", - "dialog-hide-dashboard-toolbar": "在對話工具欄中隱藏儀表板", - "dialog-width": "對話框寬度相對於視口寬度的百分比", - "dialog-height": "對話框高度相對於視口高度的百分比", - "dialog-size-range-error": "對話框大小百分比值應在1到100的範圍內。", - "popover-preferred-placement": "彈出提示框配置偏好", + "open-normal": "正常", + "open-in-separate-dialog": "在單獨對話方塊中開啟", + "open-in-popover": "在彈出框中開啟", + "dialog-title": "對話方塊標題", + "dialog-hide-dashboard-toolbar": "在對話方塊中隱藏儀表板工具列", + "dialog-width": "對話方塊寬度(相對於檢視區寬度的百分比)", + "dialog-height": "對話方塊高度(相對於檢視區高度的百分比)", + "dialog-size-range-error": "對話方塊大小百分比值應在 1 到 100 之間。", + "popover-preferred-placement": "首選彈出框位置", "popover-placement-top": "頂部", - "popover-placement-topLeft": "頂部左側", - "popover-placement-topRight": "頂部右側", + "popover-placement-topLeft": "左上", + "popover-placement-topRight": "右上", "popover-placement-right": "右側", - "popover-placement-rightTop": "右側頂部", - "popover-placement-rightBottom": "右側底部", + "popover-placement-rightTop": "右上", + "popover-placement-rightBottom": "右下", "popover-placement-bottom": "底部", - "popover-placement-bottomLeft": "底部左側", - "popover-placement-bottomRight": "底部右側", + "popover-placement-bottomLeft": "左下", + "popover-placement-bottomRight": "右下", "popover-placement-left": "左側", - "popover-placement-leftTop": "左側頂部", - "popover-placement-leftBottom": "左側底部", - "popover-hide-on-click-outside": "在外部單擊時隱藏彈出視窗", - "popover-hide-dashboard-toolbar": "在彈出提示框中隱藏對話工具欄", - "popover-width": "彈出寬度", - "popover-height": "彈出高度", - "popover-style": "彈出提示框形式", - "open-new-browser-tab": "在新的瀏覽器選項中打開", + "popover-placement-leftTop": "左上", + "popover-placement-leftBottom": "左下", + "popover-hide-on-click-outside": "點選外部時隱藏彈出框", + "popover-hide-dashboard-toolbar": "在彈出框中隱藏儀表板工具列", + "popover-width": "彈出框寬度", + "popover-height": "彈出框高度", + "popover-style": "彈出框樣式", + "open-new-browser-tab": "在新瀏覽器標籤頁中開啟", "mobile": { - "action-type": "手機動作類型", - "action-type-required": "手機動作類型必填", - "take-picture-from-gallery": "由圖庫中擷取圖片", - "take-photo": "擷取圖片", - "map-direction": "開啓地圖指引", - "map-location": "開啓地圖位置", - "scan-qr-code": "掃描QR Code", - "make-phone-call": "打電話", - "get-location": "取得電話位置", - "take-screenshot": "擷取螢幕畫面" + "action-type": "行動裝置端操作類型", + "action-type-required": "行動裝置端操作類型為必填項", + "take-picture-from-gallery": "從相簿選取圖片", + "take-photo": "拍照", + "map-direction": "開啟地圖導航", + "map-location": "開啟地圖位置", + "scan-qr-code": "掃描 QR 碼", + "make-phone-call": "撥打電話", + "get-location": "取得手機位置", + "take-screenshot": "截圖", + "device-provision": "裝置佈建", + "select-action-type": "選擇行動裝置端操作類型", + "handle-provision-success-function": "處理佈建成功的函式", + "get-location-function": "取得位置函式", + "process-launch-result-function": "處理啟動結果函式", + "get-phone-number-function": "取得電話號碼函式", + "process-image-function": "處理圖片函式", + "process-qr-code-function": "處理 QR 碼函式", + "process-location-function": "處理位置函式", + "handle-empty-result-function": "處理空結果函式", + "handle-error-function": "處理錯誤函式", + "handle-non-mobile-fallback-function": "非行動應用程式環境的替代處理函式", + "save-to-gallery": "儲存到相簿", + "provision-type": "佈建類型", + "auto": "自動", + "wi-fi": "Wi-Fi", + "ble": "BLE", + "soft-ap": "Soft AP", + "save-to-entity": "將位置儲存至實體", + "target-panel-title": "目標", + "target-save-to": "儲存至", + "target-mode-entity": "實體", + "target-current-entity": "小工具資料來源中的實體", + "target-current-user": "目前使用者", + "target-entity-alias": "實體別名", + "target-from-attribute": "來自屬性", + "target-entity-alias-name": "別名名稱", + "target-entity-alias-name-required": "別名名稱為必填項", + "target-attribute-source": "讀取屬性的來源", + "target-attribute-key": "伺服器屬性鍵", + "target-attribute-key-required": "伺服器屬性鍵為必填項", + "target-attribute-value-hint": "此屬性必須包含具有兩個欄位的實體識別碼物件,例如 {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}。不接受僅含識別碼的字串。", + "location-save-failed": "無法儲存位置:{{error}}", + "start-live-location": "開始即時位置追蹤", + "stop-live-location": "停止即時位置追蹤", + "accuracy": "準確度", + "accuracy-hint": "在定位準確度與追蹤耗電量之間取得平衡。", + "accuracy-high": "高", + "accuracy-high-hint": "使用 GPS 取得最準確的位置,誤差約 5 m。適合追蹤車輛或外勤人員,但耗電量最高。", + "accuracy-balanced": "平衡", + "accuracy-balanced-hint": "使用 Wi-Fi 和行動通訊基地台,僅在需要時改用 GPS,誤差約 40 m。適合作為定期回報位置的預設選項,耗電量適中。", + "accuracy-low": "低", + "accuracy-low-hint": "僅使用行動通訊基地台,誤差約 500 m 或更大。適合長時間確認所在城市,耗電量最低。", + "live-location-advanced-settings": "進階設定", + "distance-filter": "依移動距離限制更新", + "distance-filter-hint": "裝置與上次回報位置的距離達到此值後,才會再次更新。", + "distance-filter-value": "距離", + "distance-filter-value-min": "距離至少須為 1 公尺", + "distance-filter-value-pattern": "距離必須為整數", + "distance-filter-value-required": "距離為必填項", + "interval": "依時間間隔限制更新", + "interval-hint": "每次請求新位置的間隔至少為此值。若未設定,則依裝置回報的速度更新。", + "interval-value": "間隔", + "interval-value-min": "間隔至少須為 1 秒", + "interval-value-required": "間隔為必填項", + "max-duration": "達到最長持續時間後停止追蹤", + "max-duration-hint": "從開始追蹤起經過此時間後,會自動停止追蹤。", + "max-duration-value": "持續時間", + "max-duration-value-min": "持續時間至少須為 1 分鐘", + "max-duration-value-required": "持續時間為必填項" + }, + "do-nothing": "無操作", + "custom-pretty-error-title": "自訂對話方塊錯誤", + "custom-pretty-template-error": "無效的自訂對話方塊範本。", + "custom-pretty-controller-error": "執行自訂對話方塊函式時發生錯誤。", + "select-target-dashboard": "選擇目標儀表板", + "target-dashboard-required": "目標儀表板為必填項。", + "open-URL": "開啟 URL", + "URL": "URL", + "url-required": "URL 為必填項。", + "custom-action-function": "自訂操作函式", + "custom-pretty-function": "自訂操作(帶 HTML 範本)函式", + "map-item-type": "地圖項目類型", + "map-item": { + "marker": "標記", + "polygon": "多邊形", + "rectangle": "矩形", + "circle": "圓形", + "polyline": "折線" + }, + "place-map-item": "放置地圖項目", + "map-item-tooltip": { + "customize-map-item-tooltips": "自訂地圖項目提示", + "place-marker": "放置標記", + "start-draw-rectangle": "開始繪製矩形", + "finish-draw-rectangle": "完成繪製矩形", + "start-draw-polygon": "開始繪製多邊形", + "continue-draw-polygon": "繼續繪製多邊形", + "finish-draw-polygon": "完成繪製多邊形", + "start-draw-circle": "開始繪製圓形", + "finish-draw-circle": "完成繪製圓形", + "start-draw-polyline": "開始繪製折線", + "finish-draw-polyline": "完成繪製折線" + }, + "location": { + "saved-keys": "儲存至實體的鍵", + "argument": "引數", + "key-name": "資料鍵", + "value-type": "類型", + "add-key": "新增鍵", + "remove-key": "移除鍵", + "duplicate-key-names": "資料鍵不得重複", + "key-latitude": "緯度", + "key-longitude": "經度", + "key-accuracy": "準確度", + "key-altitude": "海拔高度", + "key-speed": "速度", + "key-heading": "航向", + "key-gps-active": "GPS 啟用狀態", + "key-gps-tracked-by": "執行 GPS 追蹤的使用者", + "value-type-attribute": "伺服器屬性", + "value-type-timeseries": "時間序列", + "error-no-current-entity": "小工具操作沒有目前實體", + "error-no-current-user": "無法判定目前使用者", + "error-save-failed": "發生非預期的伺服器錯誤", + "error-permission-denied": "權限遭拒", + "error-alias-not-found": "在儀表板中找不到實體別名「{{alias}}」", + "error-alias-not-resolved": "實體別名「{{alias}}」未解析出實體", + "error-attribute-not-found": "在來源實體中找不到屬性「{{key}}」", + "error-attribute-not-object": "屬性「{{key}}」不是實體識別碼物件。必須同時包含 entityType 和 id 欄位,例如 {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}。", + "error-attribute-incomplete": "屬性「{{key}}」缺少實體識別碼物件的 entityType 或 id 欄位", + "error-attribute-unknown-entity-type": "屬性「{{key}}」參照了未知的實體類型「{{entityType}}」", + "error-unknown-target-type": "未知的目標實體來源「{{type}}」" + }, + "save-browser-location": "儲存瀏覽器位置", + "browser-location": { + "location-saved": "已儲存瀏覽器位置", + "location-save-failed": "無法儲存瀏覽器位置:{{error}}", + "error-unsupported": "此瀏覽器不支援位置偵測", + "error-insecure-context": "瀏覽器定位需要安全的 HTTPS 連線", + "error-permission-denied": "位置存取權限遭拒", + "error-position-unavailable": "無法取得目前位置", + "error-timeout": "取得目前位置逾時" } }, "widgets-bundle": { - "current": "當前包", - "widgets-bundles": "部件包", - "add": "增加部件包", - "delete": "刪除部件包", + "current": "目前小工具包", + "widgets-bundles": "小工具包", + "add": "新增小工具包", + "delete": "刪除小工具包", "title": "標題", - "title-required": "標題必填。", - "title-max-length": "標題應小於256", + "title-required": "標題為必填項。", + "title-max-length": "標題不能超過 256 個字元", "description": "描述", - "image-preview": "圖像預覽", - "add-widgets-bundle-text": "增加新的部件包", - "no-widgets-bundles-text": "找不到部件包", - "empty": "部件包是空的", - "details": "詳細資訊", - "widgets-bundle-details": "部件包詳細訊息", - "delete-widgets-bundle-title": "您確定要刪除部件包 '{{widgetsBundleTitle}}'嗎?", - "delete-widgets-bundle-text": "小心!確認後,部件包和所有相關資料將無法恢復。", - "delete-widgets-bundles-title": "你確定你要刪除 { count, plural, =1 {1 部件包} other {# 部件包} } 嗎?", - "delete-widgets-bundles-action-title": "刪除 { count, plural, =1 {1 部件包} other {# 部件包} }", - "delete-widgets-bundles-text": "小心!確認後,所有選擇的部件包將被刪除,所有相關資料將無法恢復。", - "no-widgets-bundles-matching": "沒有找到與 '{{widgetsBundle}}' 符合的部件包。", - "widgets-bundle-required": "需要部件包。", + "image-preview": "圖片預覽", + "add-widgets-bundle-text": "新增小工具包", + "no-widgets-bundles-text": "找不到小工具包", + "empty": "小工具包為空", + "details": "詳細資料", + "widgets-bundle-details": "小工具包詳細資料", + "delete-widgets-bundle-title": "確定要刪除小工具包「{{widgetsBundleTitle}}」嗎?", + "delete-widgets-bundle-text": "請注意,確認後該小工具包及所有相關資料將無法恢復。", + "delete-widgets-bundles-title": "確定要刪除 { count, plural, =1 {1 個小工具包} other {# 個小工具包} }嗎?", + "delete-widgets-bundles-action-title": "刪除 { count, plural, =1 {1 個小工具包} other {# 個小工具包} }", + "delete-widgets-bundles-text": "請注意,確認後所有選取的小工具包將被移除,且所有相關資料將無法恢復。", + "no-widgets-bundles-matching": "找不到符合「{{widgetsBundle}}」的小工具包。", + "widgets-bundle-required": "小工具包為必填項。", "system": "系統", - "import": "匯入部件包", - "export": "匯出部件包", - "export-failed-error": "無法匯出部件包: {{error}}", - "create-new-widgets-bundle": "建立新的部件包", - "widgets-bundle-file": "部件包文件", - "invalid-widgets-bundle-file-error": "無法匯入部件包:無效的部件包資料結構。", - "search": "搜尋部件包", - "selected-widgets-bundles": "{ count, plural, =1 {1 部件包} other {#部件包} } 被選中", - "open-widgets-bundle": "打開部件包", - "loading-widgets-bundles": "加載部件包..." + "import": "匯入小工具包", + "export": "匯出小工具包", + "export-failed-error": "無法匯出小工具包:{{error}}", + "create-new-widgets-bundle": "建立新小工具包", + "widgets-bundle-file": "小工具包檔案", + "invalid-widgets-bundle-file-error": "無法匯入小工具包:無效的小工具包資料結構。", + "search": "搜尋小工具包", + "selected-widgets-bundles": "已選擇 { count, plural, =1 {1 個小工具包} other {# 個小工具包} }", + "open-widgets-bundle": "開啟小工具包", + "loading-widgets-bundles": "正在載入小工具包...", + "widgets-bundle-widgets": "小工具包中的小工具", + "scada": "SCADA 小工具包", + "order": "排序", + "export-widgets-bundle-widgets-prompt": "在匯出資料中包含包內小工具(否則僅匯出引用的小工具 FQN)", + "create-new": "建立新小工具包" }, "widget-config": { "data": "資料", "settings": "設定", - "advanced": "高級", + "advanced": "進階", "title": "標題", - "title-tooltip": "標題工具提示", + "title-tooltip": "標題提示", "general-settings": "一般設定", - "display-title": "顯示標題", + "display-title": "顯示小工具標題", "drop-shadow": "陰影", "enable-fullscreen": "啟用全螢幕", "background-color": "背景顏色", "text-color": "文字顏色", - "padding": "填充", - "margin": "邊緣", - "widget-style": "部件風格", - "widget-css": "部件CSS", - "title-style": "標題風格", - "mobile-mode-settings": "移動端設定", - "order": "順序", + "padding": "內邊距", + "margin": "外邊距", + "widget-style": "小工具樣式", + "widget-css": "小工具 CSS", + "title-style": "標題樣式", + "mobile-mode-settings": "行動裝置端模式", + "order": "排序", "height": "高度", - "mobile-hide": "在移動模式下隱藏部件", - "units": "特殊符號展示值", - "decimals": "浮點數後的位數", - "timewindow": "時間窗口", - "use-dashboard-timewindow": "使用儀表板的時間窗口", + "mobile-hide": "在行動裝置端模式下隱藏小工具", + "units": "顯示在值旁邊的特殊符號", + "decimals": "小數點後位數", + "timewindow": "時間視窗", + "use-dashboard-timewindow": "使用儀表板時間視窗", "display-timewindow": "顯示時間視窗", "legend": "圖例", "display-legend": "顯示圖例", - "datasources": "資料源", - "maximum-datasources": "最大允許 { count, plural, =1 {1 資料} other {# 資料} }", + "datasources": "資料來源", + "maximum-datasources": "最多允許 { count, plural, =1 {1 個資料來源} other {# 個資料來源} }。", "datasource-type": "類型", "datasource-parameters": "參數", - "remove-datasource": "移除資料源", - "add-datasource": "增加資料源", - "target-device": "目標設備", - "alarm-source": "警告源", - "actions": "動作", - "action": "動作", - "add-action": "增加動作", - "search-actions": "動作檢索", - "no-actions-text": "未找到動作", - "action-source": "動作源", - "action-source-required": "動作源必填", - "action-name": "動作名稱", - "action-name-required": "動作名稱必填。", - "action-name-not-unique": "動作名稱已經存在。\n統一動作源的動作名稱必須唯一。", + "remove-datasource": "移除資料來源", + "add-datasource": "新增資料來源", + "target-device": "目標裝置", + "alarm-source": "警報來源", + "actions": "操作", + "action": "操作", + "add-action": "新增操作", + "search-actions": "搜尋操作", + "no-actions-text": "找不到操作", + "action-source": "操作來源", + "action-source-required": "操作來源為必填項。", + "action-name": "名稱", + "action-name-required": "操作名稱為必填項。", + "action-name-not-unique": "已存在同名的操作。\n操作名稱在同一操作來源中必須唯一。", "action-icon": "圖示", - "show-hide-action-using-function": "使用函數顯示/隱藏動作", + "show-hide-action-using-function": "使用函式顯示/隱藏操作", "action-type": "類型", - "action-type-required": "類型必填", - "edit-action": "編輯動作", - "delete-action": "刪除動作", - "delete-action-title": "刪除部件動作", - "delete-action-text": "確定要刪除部件動作 '{{actionName}}' 嗎?", - "title-icon": "標題icon", - "display-icon": "顯示標題icon", - "icon-color": "Icon顏色", - "icon-size": "Icon尺寸", + "action-type-required": "操作類型為必填項。", + "edit-action": "編輯操作", + "delete-action": "刪除操作", + "delete-action-title": "刪除小工具操作", + "delete-action-text": "確定要刪除名為「{{actionName}}」的小工具操作嗎?", + "title-icon": "標題圖示", + "display-icon": "顯示標題圖示", + "icon-color": "圖示顏色", + "icon-size": "圖示大小", "advanced-settings": "進階設定", "data-settings": "資料設定", - "no-data-display-message": "\"沒有要顯示的資料\" 替代消息", + "no-data-display-message": "「無資料可顯示」替代訊息", "data-page-size": "每個資料來源的最大實體數", - "settings-component-not-found": "未找到選擇器'{{selector}}'的設定表單組件" + "settings-component-not-found": "找不到選擇器「{{selector}}」對應的設定表單元件", + "appearance": "外觀", + "widget-card": "小工具卡片", + "mobile": "行動裝置端", + "card-title": "卡片標題", + "border-radius": "邊框圓角", + "desktop-hide": "在桌面端模式下隱藏小工具", + "units-by-default": "預設單位", + "decimals-by-default": "預設小數位數", + "default-data-key-parameter-hint": "此參數適用於所有小工具值,除非被資料鍵設定覆蓋", + "units-short": "單位", + "decimals-short": "小數位", + "decimals-suffix": "位小數", + "digits-suffix": "位", + "use-widget-timewindow": "使用小工具時間視窗", + "datasource": "資料來源", + "timeseries-key-error": "至少需要指定一個時間序列資料鍵", + "select-action-source": "選擇操作來源", + "column-index": "欄索引", + "select-column-index": "選擇欄索引", + "column-index-required": "欄索引為必填項。", + "not-set": "未設定", + "header-button": { + "button-settings": "按鈕設定", + "button-type": "按鈕類型", + "button-type-basic": "基礎", + "button-type-raised": "凸起", + "button-type-stroked": "描邊", + "button-type-flat": "扁平", + "button-type-icon": "圖示", + "button-type-mini-fab": "FAB", + "colors": "顏色", + "color": "顏色", + "background": "背景", + "border": "邊框", + "advanced-button-style": "進階按鈕樣式", + "button-style": "按鈕樣式" + }, + "show-action-function": "顯示操作函式", + "card-icon": "卡片圖示", + "icon": "圖示", + "limits": "限制", + "preview": "預覽", + "set": "設定", + "set-message": "設定訊息", + "advanced-title-style": "進階標題樣式", + "card-style": "卡片樣式", + "text": "文字", + "background": "背景", + "advanced-widget-style": "進階小工具樣式", + "card-buttons": "卡片按鈕", + "show-card-buttons": "顯示卡片按鈕", + "card-border-radius": "卡片邊框圓角", + "card-padding": "卡片內邊距", + "card-appearance": "卡片外觀", + "color": "顏色", + "tooltip": "提示", + "units-required": "單位為必填項。", + "list-layout": "清單版面配置", + "layout": "版面配置", + "resize-options": "調整大小選項", + "resizable": "可調整大小", + "preserve-aspect-ratio": "保持寬高比", + "enable-data-export": "啟用資料匯出", + "data-export": "資料匯出", + "import-actions": "匯入操作", + "export-actions": "匯出操作", + "export-action": "匯出操作", + "duplicate-action": "建立操作副本", + "copy-action": "複製操作", + "copy-all-actions": "複製所有操作", + "action-copied": "已複製操作", + "actions-copied": "已複製操作", + "paste-actions": "貼上操作", + "clear-actions": "清除所有操作", + "clear-actions-title": "清除所有操作", + "clear-actions-text": "確定要移除所有小工具操作嗎?", + "actions-file": "小工具操作檔案", + "actions-json-content": "操作的 JSON 內容", + "invalid-actions-file-error": "無法匯入小工具操作:小工具操作資料結構無效。", + "import-actions-imported": "{ count, plural, =0 {未匯入任何操作} =1 {已匯入 1 個操作} other {已匯入 # 個操作} }", + "paste-actions-pasted": "{ count, plural, =0 {未貼上任何操作} =1 {已貼上 1 個操作} other {已貼上 # 個操作} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {未建立任何操作副本} =1 {已建立 1 個操作副本} other {已建立 # 個操作副本} }", + "import-actions-skipped": "{ count, plural, =1 {已略過 1 個操作,因為此操作不適用於此小工具,或已在此小工具中設定} other {已略過 # 個操作,因為這些操作不適用於此小工具,或已在此小工具中設定} }", + "import-actions-columns-reset": "{ count, plural, =1 {1 個儲存格點選操作未指定欄。請編輯操作以指定欄。} other {# 個儲存格點選操作未指定欄。請編輯操作以指定欄。} }", + "entity-group-row-click-hint": "若要使用自訂操作「按一下資料列時」,請確認設定分頁中的「開啟實體詳細資料的時機」選項設定為「按一下資料列時」以外的值。" }, "widget-type": { - "import": "匯入部件類型", - "export": "匯出部件類型", - "export-failed-error": "無法匯出部件類型: {{error}}", - "create-new-widget-type": "建立新的部件類型", - "widget-type-file": "部件類型文件", - "invalid-widget-type-file-error": "無法匯入部件類型:無效的部件類型資料結構。" + "import": "匯入小工具類型", + "export": "匯出小工具類型", + "export-failed-error": "無法匯出小工具:{{error}}", + "create-new-widget-type": "建立新的小工具類型", + "widget-type-file": "小工具類型檔案", + "invalid-widget-type-file-error": "無法匯入小工具類型:小工具類型資料結構無效。", + "widget-file": "小工具檔案", + "invalid-widget-file-error": "無法匯入小工具:無效的小工具資料結構。" }, "widgets": { "chart": { - "common-settings": "常用設定", + "common-settings": "通用設定", "enable-stacking-mode": "啟用堆疊模式", "line-shadow-size": "線條陰影大小", - "display-smooth-lines": "顯示平滑(彎曲) 的線條", - "default-bar-width": "非聚合資料的預設條形寬度(毫秒)", - "bar-alignment": "條形對齊", - "bar-alignment-left": "左側", - "bar-alignment-right": "右側", - "bar-alignment-center": "中間", - "default-font-size": "預設字體大小", - "default-font-color": "預設", + "display-smooth-lines": "顯示平滑(曲線)線條", + "default-bar-width": "非彙總資料的預設柱寬(毫秒)", + "bar-alignment": "柱對齊", + "bar-alignment-left": "左", + "bar-alignment-right": "右", + "bar-alignment-center": "置中", + "default-font-size": "預設字型大小", + "default-font-color": "預設字型顏色", "thresholds-line-width": "所有閾值的預設線寬", - "tooltip-settings": "工具提示設定", - "show-tooltip": "顯示工具提示", - "hover-individual-points": "懸停單個點", - "show-cumulative-values": "在堆疊模式下顯示累積值", - "hide-zero-false-values": "從工具提示中隱藏零/錯誤值", - "tooltip-value-format-function": "工具提示值格式函數", + "tooltip-settings": "提示框設定", + "show-tooltip": "顯示提示框", + "hover-individual-points": "懸停顯示單個資料點", + "show-cumulative-values": "在堆疊模式下顯示累計值", + "hide-zero-false-values": "在提示框中隱藏零值/假值", + "tooltip-value-format-function": "提示框值格式化函式", "grid-settings": "網格設定", "show-vertical-lines": "顯示垂直線", "show-horizontal-lines": "顯示水平線", - "grid-outline-border-width": "網格輪廓/邊框寬度 (px)", + "grid-outline-border-width": "網格輪廓/邊框寬度(px)", "primary-color": "主色", - "background-color": "背顔色", - "ticks-color": "刻度顔色", - "xaxis-settings": "X軸設定", + "background-color": "背景顏色", + "ticks-color": "刻度顏色", + "xaxis-settings": "X 軸設定", "axis-title": "軸標題", - "xaxis-tick-labels-settings": "X軸刻度標籤設定", - "show-tick-labels": "顯示X軸刻度標籤", - "yaxis-settings": "Y軸設定", - "min-scale-value": "最小刻度值", - "max-scale-value": "最大刻度值", - "yaxis-tick-labels-settings": "Y軸刻度標籤設定", - "tick-step-size": "刻度尺寸", - "number-of-decimals": "顯示小數點", - "ticks-formatter-function": "刻度格式化功能", - "comparison-settings": "比較設定", - "enable-comparison": "啓用比較", - "time-for-comparison": "比較期間", - "time-for-comparison-previous-interval": "上一個間隔 (預設)", + "xaxis-tick-labels-settings": "X 軸刻度標籤設定", + "show-tick-labels": "顯示軸刻度標籤", + "yaxis-settings": "Y 軸設定", + "min-scale-value": "刻度最小值", + "max-scale-value": "刻度最大值", + "yaxis-tick-labels-settings": "Y 軸刻度標籤設定", + "tick-step-size": "刻度步長", + "number-of-decimals": "顯示的小數位數", + "ticks-formatter-function": "刻度格式化函式", + "comparison-settings": "對比設定", + "enable-comparison": "啟用對比", + "time-for-comparison": "比較週期", + "time-for-comparison-previous-interval": "上一區間(預設)", "time-for-comparison-days": "一天前", "time-for-comparison-weeks": "一週前", "time-for-comparison-months": "一個月前", "time-for-comparison-years": "一年前", - "time-for-comparison-custom-interval": "自定義間隔", - "custom-interval-value": "自定義間隔值 (毫秒)", - "comparison-x-axis-settings": "比較X軸設定", + "time-for-comparison-custom-interval": "自訂區間", + "custom-interval-value": "自訂區間值(毫秒)", + "comparison-x-axis-settings": "對比 X 軸設定", "axis-position": "軸位置", - "axis-position-top": "頂部 (預設)", + "axis-position-top": "頂部(預設)", "axis-position-bottom": "底部", - "custom-legend-settings": "自定義圖例設定", - "enable-custom-legend": "啟用自定義圖例(這將允許您在鍵標籤中使用屬性/時間序列值)", - "key-name": "鍵名", - "key-name-required": "需要鍵名", + "custom-legend-settings": "自訂圖例設定", + "enable-custom-legend": "啟用自訂圖例(這將允許您在鍵標籤中使用屬性/時間序列值)", + "key-name": "鍵名稱", + "key-name-required": "鍵名稱為必填項", "key-type": "鍵類型", "key-type-attribute": "屬性", "key-type-timeseries": "時間序列", - "label-keys-list": "標籤中使用的鍵列表", - "no-label-keys": "未配置鍵", - "add-label-key": "增加新鍵", + "label-keys-list": "標籤中使用的鍵清單", + "no-label-keys": "未設定鍵", + "add-label-key": "新增鍵", "line-width": "線寬", "color": "顏色", - "data-is-hidden-by-default": "預設資料隱藏", - "disable-data-hiding": "禁用資料隱藏", - "remove-from-legend": "刪除圖例中的物件屬性", - "exclude-from-stacking": "從堆疊中排除(在 \"堆疊\" 模式下可用)", + "data-is-hidden-by-default": "資料預設隱藏", + "disable-data-hiding": "停用資料隱藏", + "remove-from-legend": "從圖例中移除資料鍵", + "exclude-from-stacking": "從堆疊中排除(在「堆疊」模式下可用)", "line-settings": "線條設定", "show-line": "顯示線條", - "fill-line": "填充線條", - "points-settings": "點物件設定", - "show-points": "顯示點物件", - "points-line-width": "點物件的線條寬度", - "points-radius": "點物件半徑", - "point-shape": "點物件外形", + "fill-line": "填滿線條", + "points-settings": "資料點設定", + "show-points": "顯示資料點", + "points-line-width": "資料點線寬", + "points-radius": "資料點半徑", + "point-shape": "資料點形狀", "point-shape-circle": "圓形", - "point-shape-cross": "十字架", - "point-shape-diamond": "鑽石形", - "point-shape-square": "正方形", + "point-shape-cross": "十字形", + "point-shape-diamond": "菱形", + "point-shape-square": "方形", "point-shape-triangle": "三角形", - "point-shape-custom": "客製功能", - "point-shape-draw-function": "點物件外形繪圖功能", + "point-shape-custom": "自訂函式", + "point-shape-draw-function": "資料點形狀繪製函式", "show-separate-axis": "顯示獨立軸", "axis-position-left": "左", "axis-position-right": "右", - "thresholds": "門檻值", - "no-thresholds": "找不到指定的閥值", - "add-threshold": "新增閥值", - "show-values-for-comparison": "顯示歷史比較值", - "comparison-values-label": "歷史比較值標籤", - "threshold-settings": "閥值設定", - "use-as-threshold": "使用主要值做爲門檻值", - "threshold-line-width": "閥值的線條寬度", - "threshold-color": "閥值顔色", - "common-pie-settings": "通用派圖設定", + "thresholds": "閾值", + "no-thresholds": "未設定閾值", + "add-threshold": "新增閾值", + "show-values-for-comparison": "顯示歷史對比值", + "comparison-values-label": "歷史值標籤", + "threshold-settings": "閾值設定", + "use-as-threshold": "使用鍵值作為閾值", + "threshold-line-width": "閾值線寬", + "threshold-color": "閾值顏色", + "common-pie-settings": "通用圓形圖設定", "radius": "半徑", - "inner-radius": "内半徑", + "inner-radius": "內半徑", "tilt": "傾斜", - "stroke-settings": "筆畫設定", - "width-pixels": "寬度 (pixels)", + "stroke-settings": "描邊設定", + "width-pixels": "寬度(畫素)", "show-labels": "顯示標籤", "animation-settings": "動畫設定", - "animated-pie": "啓動派圖動畫 (實驗性的)", + "animated-pie": "啟用圓形圖動畫(實驗性)", "border-settings": "邊框設定", "border-width": "邊框寬度", - "border-color": "邊框顔色", + "border-color": "邊框顏色", "legend-settings": "圖例設定", "display-legend": "顯示圖例", - "labels-font-color": "標籤文字顔色" + "labels-font-color": "標籤字型顏色", + "selection": "時間範圍選擇", + "enable-selection-mode": "啟用選擇模式", + "default-font": "預設字型", + "tooltip": "提示框", + "fill-line-opacity": "填滿不透明度", + "comparison-line-color": "對比線顏色", + "common-pie-settings-range-error": "值應在 0 到 1 之間", + "series": "系列", + "add-series": "新增系列", + "series-settings": "系列設定", + "remove-series": "移除系列", + "no-series": "未設定系列", + "no-series-error": "至少應指定一個系列", + "chart-appearance": "圖表外觀", + "vertical-grid-lines": "垂直網格線", + "horizontal-grid-lines": "水平網格線", + "chart-background": "圖表背景", + "grid-lines-color": "網格線顏色", + "border": "邊框", + "axis": "軸", + "vertical-axis": "垂直軸", + "ticks": "刻度", + "horizontal-axis": "水平軸", + "shape-empty-circle": "空心圓", + "shape-circle": "圓形", + "shape-rect": "矩形", + "shape-round-rect": "圓角矩形", + "shape-triangle": "三角形", + "shape-diamond": "菱形", + "shape-pin": "圖釘", + "shape-arrow": "箭頭", + "shape-none": "無", + "line-type-solid": "實線", + "line-type-dashed": "虛線", + "line-type-dotted": "點線", + "label-position-top": "頂部", + "label-position-bottom": "底部", + "label-position-outside": "外部", + "label-position-inside": "內部", + "fill": "填滿", + "fill-type-none": "無", + "fill-type-solid": "實心", + "fill-type-opacity": "不透明度", + "fill-type-gradient": "漸層", + "background": "背景", + "opacity": "不透明度", + "gradient-stops": "漸層停駐點", + "gradient-start": "起始", + "gradient-end": "結束", + "animation": { + "animation": "動畫", + "animation-threshold": "動畫閾值", + "animation-duration": "動畫持續時間", + "animation-easing": "動畫緩動", + "animation-delay": "動畫延遲", + "update-animation-duration": "更新動畫持續時間", + "update-animation-easing": "更新動畫緩動", + "update-animation-delay": "更新動畫延遲" + }, + "chart-axis": { + "limit": "限制", + "source": "來源", + "key-value": "鍵 / 值", + "value-required": "值為必填項。", + "entity-key-required": "實體鍵為必填項。", + "key-required": "鍵為必填項。", + "scale-limits": "刻度限制", + "scale-appearance": "刻度外觀", + "scale": "刻度", + "scale-min": "最小", + "scale-max": "最大", + "scale-auto": "自動" + }, + "bar": { + "show-border": "顯示邊框", + "border-width": "邊框寬度", + "border-radius": "邊框圓角", + "bar-width": "柱寬", + "label": "標籤", + "label-hint": "在柱上方顯示標籤。", + "series-label-hint": "在柱上方顯示帶數值的標籤。", + "label-background": "標籤背景" + } }, "dashboard-state": { "dashboard-state-settings": "儀表板狀態設定", - "dashboard-state": "儀表板狀態id", - "autofill-state-layout": "預設自動填入狀態版面高度", - "default-margin": "預設部件邊緣", - "default-background-color": "預設背景顔色", - "sync-parent-state-params": "與父儀表板狀態參數同步" + "dashboard-state": "儀表板狀態識別碼", + "autofill-state-layout": "預設自動填滿狀態版面高度", + "default-margin": "預設小工具間距", + "default-background-color": "預設背景顏色", + "sync-parent-state-params": "與父儀表板同步狀態參數" }, "date-range-navigator": { "date-range-picker-settings": "日期範圍選擇器設定", "hide-date-range-picker": "隱藏日期範圍選擇器", - "picker-one-panel": "日期範圍選擇器一個面板", + "picker-one-panel": "日期範圍選擇器單面板", "picker-auto-confirm": "日期範圍選擇器自動確認", - "picker-show-template": "日期範圍選擇器顯示模板", - "first-day-of-week": "每週的第一天", - "interval-settings": "區隔時間設定", - "hide-interval": "隱藏區隔時間", - "initial-interval": "初始區隔時間", - "interval-hour": "區隔時間-每小時", - "interval-day": "區隔時間-每天", - "interval-week": "區隔時間-每週", - "interval-two-weeks": "區隔時間-2週", - "interval-month": "區隔時間-每月", - "interval-three-months": "區隔時間-3個月", - "interval-six-months": "區隔時間-6個月", - "step-settings": "步驟設定", - "hide-step-size": "隱藏步驟尺寸", - "initial-step-size": "初始步驟尺寸", + "picker-show-template": "日期範圍選擇器顯示範本", + "first-day-of-week": "每週第一天", + "interval-settings": "區間設定", + "hide-interval": "隱藏區間", + "initial-interval": "初始區間", + "interval-hour": "小時", + "interval-day": "天", + "interval-week": "週", + "interval-two-weeks": "2 週", + "interval-month": "月", + "interval-three-months": "3 個月", + "interval-six-months": "6 個月", + "step-settings": "步長設定", + "hide-step-size": "隱藏步長", + "initial-step-size": "初始步長", "hide-labels": "隱藏標籤", - "use-session-storage": "使用會談儲存", + "use-session-storage": "使用工作階段儲存", "localizationMap": { - "Sun": "週日", - "Mon": "週一", - "Tue": "週二", - "Wed": "週三", - "Thu": "週四", - "Fri": "週五", - "Sat": "週六", + "Sun": "日", + "Mon": "一", + "Tue": "二", + "Wed": "三", + "Thu": "四", + "Fri": "五", + "Sat": "六", "Jan": "1月", "Feb": "2月", "Mar": "3月", @@ -3713,14 +5515,14 @@ "October": "十月", "November": "十一月", "December": "十二月", - "Custom Date Range": "自定義日期範圍", - "Date Range Template": "日期範圍模板", + "Custom Date Range": "自訂日期範圍", + "Date Range Template": "日期範圍範本", "Today": "今天", "Yesterday": "昨天", - "This Week": "本星期", - "Last Week": "上個星期", - "This Month": "這個月", - "Last Month": "上個月", + "This Week": "本週", + "Last Week": "上週", + "This Month": "本月", + "Last Month": "上月", "Year": "年", "This Year": "今年", "Last Year": "去年", @@ -3728,419 +5530,499 @@ "Hour": "小時", "Day": "天", "Week": "週", - "2 weeks": "2週", + "2 weeks": "2 週", "Month": "月", - "3 months": "3個月", - "6 months": "6個月", - "Custom interval": "自定義間隔", - "Interval": "間隔", + "3 months": "3 個月", + "6 months": "6 個月", + "Custom interval": "自訂區間", + "Interval": "區間", "Step size": "步長", - "Ok": "Ok" + "Ok": "確定" } }, "entities-hierarchy": { - "hierarchy-data-settings": "階層資料設定", - "relations-query-function": "節點關聯查詢功能", - "has-children-function": "節點有子功能", + "hierarchy-data-settings": "層級資料設定", + "relations-query-function": "節點關聯查詢函式", + "has-children-function": "節點有子節點函式", "node-state-settings": "節點狀態設定", - "node-opened-function": "預設節點開啟功能", - "node-disabled-function": "節點禁用功能", + "node-opened-function": "預設節點展開函式", + "node-disabled-function": "節點停用函式", "display-settings": "顯示設定", - "node-icon-function": "節點圖示功能", - "node-text-function": "節點文字功能", - "sort-settings": "分類設定", - "nodes-sort-function": "節點分類設定" + "node-icon-function": "節點圖示函式", + "node-text-function": "節點文字函式", + "sort-settings": "排序設定", + "nodes-sort-function": "節點排序函式" }, "edge": { "display-default-title": "顯示預設標題" }, "gateway": { - "general-settings": "通用設定", - "widget-title": "部件標題", - "default-archive-file-name": "預設存檔檔名", - "device-type-for-new-gateway": "新閘道的設備類型", + "general-settings": "一般設定", + "widget-title": "小工具標題", + "default-archive-file-name": "預設歸檔檔名", + "device-type-for-new-gateway": "新閘道器的裝置類型", "messages-settings": "訊息設定", - "save-config-success-message": "指定閘道儲存成功的文字訊息", - "device-name-exists-message": "當輸入已存在的設備名稱的文字訊息", - "gateway-title": "閘道表格", + "save-config-success-message": "閘道器設定儲存成功的文字訊息", + "device-name-exists-message": "輸入的裝置名稱已存在時的文字訊息", + "gateway-title": "閘道器表單", "read-only": "唯讀", - "events-title": "閘道事件表單標題", - "events-filter": "事件過濾器", - "event-key-contains": "事件鍵包含..." + "events-title": "閘道器事件表單標題", + "events-filter": "事件篩選器", + "event-key-contains": "事件鍵包含...", + "show-connector": "為聯結器顯示", + "connector-state-param-key": "聯結器狀態參數鍵", + "message": "訊息", + "level": "級別", + "created-time": "建立時間" }, "gauge": { "default-color": "預設顏色", - "radial-gauge-settings": "逕向量規設定", + "radial-gauge-settings": "徑向儀表設定", "ticks-settings": "刻度設定", "min-value": "最小值", "max-value": "最大值", - "start-ticks-angle": "開始刻度角度", - "ticks-angle": "刻度線角度", - "major-ticks-count": "主要刻度數", - "major-ticks-color": "主要刻度顏色", - "minor-ticks-count": "次要刻度計數", - "minor-ticks-color": "次要刻度顏色", - "tick-numbers-font": "刻度數字字體", - "unit-title-settings": "單元標題設定", - "show-unit-title": "顯示單元標題", - "unit-title": "單元標題", - "title-font": "標題文字字體", + "start-ticks-angle": "起始刻度角度", + "ticks-angle": "刻度角度", + "major-ticks-count": "主刻度數量", + "major-ticks-color": "主刻度顏色", + "minor-ticks-count": "次刻度數量", + "minor-ticks-color": "次刻度顏色", + "tick-numbers-font": "刻度數字字型", + "unit-title-settings": "單位標題設定", + "show-unit-title": "單位標題", + "unit-title": "單位標題", + "title-font": "標題文字字型", "units-settings": "單位設定", - "units-font": "單位文字字體", + "units-font": "單位文字字型", "value-box-settings": "值框設定", "show-value-box": "顯示值框", - "value-int": "數值整數部分的位數", - "value-font": "值文字字體", - "value-box-rect-stroke-color": "值框矩形筆畫顏色", - "value-box-rect-stroke-color-end": "值框矩形筆畫顏色 - 結束漸變", + "value-int": "值整數部分的位數", + "value-font": "值文字字型", + "value-box-rect-stroke-color": "值框矩形描邊顏色", + "value-box-rect-stroke-color-end": "值框矩形描邊顏色 - 結束漸層", "value-box-background-color": "值框背景顏色", "value-box-shadow-color": "值框陰影顏色", - "plate-settings": "板設定", - "show-plate-border": "顯示板邊框", - "plate-color": "板顏色", - "needle-settings": "針設定", - "needle-circle-size": "針圈尺寸", - "needle-color": "針顏色", - "needle-color-end": "針顏色 - 結束漸變", - "needle-color-shadow-up": "針影顏色的上半部分", - "needle-color-shadow-down": "放置針陰影顏色", - "highlights-settings": "高光設定", - "highlights-width": "高光寬度", - "highlights": "高光", - "highlight-from": "從", - "highlight-to": "至", + "plate-settings": "錶盤設定", + "show-plate-border": "錶盤邊框", + "plate-color": "錶盤顏色", + "needle-settings": "指針設定", + "needle-circle-size": "指針圓圈大小", + "needle-color": "指針顏色", + "needle-color-end": "指針顏色 - 結束漸層", + "needle-color-shadow-up": "指針上半部分陰影顏色", + "needle-color-shadow-down": "投影", + "highlights-settings": "高亮設定", + "highlights-width": "高亮寬度", + "highlights": "高亮", + "highlight-from": "起始", + "highlight-to": "結束", "highlight-color": "顏色", - "no-highlights": "未配置高光", - "add-highlight": "增加高光", + "no-highlights": "未設定高亮", + "add-highlight": "新增高亮", "animation-settings": "動畫設定", - "enable-animation": "啟用動畫", + "enable-animation": "動畫", "animation-duration": "動畫持續時間", "animation-rule": "動畫規則", "animation-linear": "線性", - "animation-quad": "四邊形", - "animation-quint": "導軌", - "animation-cycle": "循環", + "animation-quad": "二次", + "animation-quint": "五次", + "animation-cycle": "迴圈", "animation-bounce": "彈跳", "animation-elastic": "彈性", - "animation-dequad": "對偶", - "animation-dequint": "去導軌", - "animation-decycle": "循環", - "animation-debounce": "去抖動", - "animation-delastic": "彈性", - "linear-gauge-settings": "線性量規設定", - "bar-stroke-width": "條形筆畫寬度", - "bar-stroke-color": "條形筆畫顏色", - "bar-background-color": "量規條背景顏色", - "bar-background-color-end": "條形背景顏色 - 結束漸變", + "animation-dequad": "反二次", + "animation-dequint": "反五次", + "animation-decycle": "反迴圈", + "animation-debounce": "反彈跳", + "animation-delastic": "反彈性", + "linear-gauge-settings": "線性儀表設定", + "bar-stroke-width": "條形描邊寬度", + "bar-stroke-color": "條形描邊顏色", + "bar-background-color": "條形背景顏色 - 起始漸層", + "bar-background-color-end": "條形背景顏色 - 結束漸層", "progress-bar-color": "進度條顏色", - "progress-bar-color-end": "進度條顏色 - 結束漸變", - "major-ticks-names": "主要刻度名稱", - "show-stroke-ticks": "顯示刻度筆畫", - "major-ticks-font": "主要刻度字體", + "progress-bar-color-end": "進度條顏色 - 結束漸層", + "major-ticks-names": "主刻度名稱", + "show-stroke-ticks": "顯示刻度描邊", + "major-ticks-font": "主刻度字型", "border-color": "邊框顏色", "border-width": "邊框寬度", - "needle-circle-color": "針圈顏色", + "needle-circle-color": "指針圓圈顏色", "animation-target": "動畫目標", - "animation-target-needle": "針", - "animation-target-plate": "板", - "common-settings": "常用量規設定", - "gauge-type": "量規類型", - "gauge-type-arc": "弧", - "gauge-type-donut": "圓環圖", - "gauge-type-horizontal-bar": "水平條形圖", - "gauge-type-vertical-bar": "垂直條形圖", - "donut-start-angle": "起始角度", - "bar-settings": "量規條設定", + "animation-target-needle": "指針", + "animation-target-plate": "錶盤", + "common-settings": "通用儀表設定", + "gauge-type": "儀表類型", + "gauge-type-arc": "弧形", + "gauge-type-donut": "環形", + "gauge-type-horizontal-bar": "水平條形", + "gauge-type-vertical-bar": "垂直條形", + "donut-start-angle": "起始角度(度)", + "bar-settings": "儀表條形設定", "relative-bar-width": "相對條形寬度", - "neon-glow-brightness": "霓虹燈效果亮度,(0-100),0 - 禁用效果", - "stripes-thickness": "條紋的厚度,0 - 沒有條紋", - "rounded-line-cap": "顯示圓角線蓋", - "bar-color-settings": "條形圖顏色設定", - "use-precise-level-color-values": "使用精確的顏色級別", - "bar-colors": "條形顏色,從下到上", + "neon-glow-brightness": "霓虹發光效果亮度(0-100)", + "stripes-thickness": "條紋厚度", + "rounded-line-cap": "圓角線帽", + "bar-color-settings": "條形顏色設定", + "use-precise-level-color-values": "使用精確顏色級別", + "bar-colors": "條形顏色,從低到高", "color": "顏色", - "no-bar-colors": "未配置條形圖顏色", - "add-bar-color": "增加條形圖顏色", - "from": "從", - "to": "至", - "fixed-level-colors": "使用邊界值的條形圖顏色", - "gauge-title-settings": "量規標題設定", - "show-gauge-title": "顯示量規標題", - "gauge-title": "量規標題", - "gauge-title-font": "量規標題字體", - "unit-title-and-timestamp-settings": "單元標題和時間戳設定", - "show-timestamp": "顯示值時間戳", - "timestamp-format": "時間戳格式", - "label-font": "顯示低於值的標籤字體", + "no-bar-colors": "未設定條形顏色", + "add-bar-color": "新增條形顏色", + "from": "起始", + "to": "結束", + "fixed-level-colors": "使用邊界值的條形顏色", + "gauge-title-settings": "儀表標題設定", + "show-gauge-title": "顯示儀表標題", + "gauge-title": "儀表標題", + "gauge-title-font": "儀表標題字型", + "unit-title-and-timestamp-settings": "單位標題和時間戳記設定", + "show-timestamp": "時間戳記", + "timestamp-format": "時間戳記格式", + "label-font": "值下方標籤的字型", "value-settings": "值設定", "show-value": "顯示值文字", "min-max-settings": "最小/最大標籤設定", "show-min-max": "顯示最小值和最大值", - "min-max-font": "最小和最大標籤的字體", + "min-max-font": "最小和最大標籤的字型", "show-ticks": "顯示刻度", "tick-width": "刻度寬度", "tick-color": "刻度顏色", "tick-values": "刻度值", - "no-tick-values": "未配置刻度值", - "add-tick-value": "增加刻度值" + "no-tick-values": "未設定刻度值", + "add-tick-value": "新增刻度值", + "min-value-short": "最小", + "max-value-short": "最大", + "major-ticks": "主刻度", + "minor-ticks": "次刻度", + "value-box": "值框", + "value-text": "值文字", + "value-text-shadow": "值文字陰影", + "rect-stroke-color-start": "矩形描邊顏色 - 起始漸層", + "rect-stroke-color-end": "矩形描邊顏色 - 結束漸層", + "background-color": "背景顏色", + "shadow-color": "陰影顏色", + "needle-color-start": "指針顏色 - 起始漸層", + "animation-duration-rule": "動畫持續時間和規則", + "bar-stroke": "條形描邊", + "progress-bar": "進度條", + "progress-bar-color-start": "進度條顏色 - 起始漸層", + "needle-circle": "指針圓圈", + "neon-glow-brightness-hint": "0 - 停用效果", + "stripes-thickness-hint": "0 - 無條紋", + "gauge-appearance": "儀表外觀", + "units-title": "單位標題", + "value": "值", + "ticks": "刻度", + "arrow-and-scale-color": "箭頭和刻度預設顏色", + "scale-settings": "刻度設定", + "scale": "刻度", + "scale-color": "刻度顏色", + "compass-appearance": "羅盤外觀", + "label": "標籤", + "labels": "標籤", + "label-style": "標籤樣式", + "simple-gauge-type": "類型", + "gauge-bar-background": "儀表條形背景", + "bar-color": "條形顏色", + "min-and-max-value": "最小值和最大值", + "min-and-max-label": "最小和最大標籤", + "font": "字型", + "tick-width-and-color": "刻度寬度和顏色", + "min-max-validation-text": "最大值必須大於最小值" }, "gpio": { - "pin": "針", + "pin": "引腳", "label": "標籤", - "row": "行", - "column": "列", + "row": "列", + "column": "欄", "color": "顏色", "panel-settings": "面板設定", "background-color": "背景顏色", - "gpio-switches": "GPIO開關", - "no-gpio-switches": "未配置GPIO開關", - "add-gpio-switch": "增加GPIO開關", - "gpio-status-request": "GPIO狀態請求", + "gpio-switches": "GPIO 開關", + "no-gpio-switches": "未設定 GPIO 開關", + "add-gpio-switch": "新增 GPIO 開關", + "gpio-status-request": "GPIO 狀態請求", "method-name": "方法名稱", "method-body": "方法主體", - "gpio-status-change-request": "GPIO狀態更改請求", - "parse-gpio-status-function": "解析gpio狀態函數", - "gpio-leds": "GPIO led", - "no-gpio-leds": "未配置GPIO led", - "add-gpio-led": "增加GPIO led" + "gpio-status-change-request": "GPIO 狀態變更請求", + "parse-gpio-status-function": "解析 GPIO 狀態函式", + "gpio-leds": "GPIO LED", + "no-gpio-leds": "未設定 GPIO LED", + "add-gpio-led": "新增 GPIO LED" }, "html-card": { "html": "HTML", "css": "CSS" }, "input-widgets": { - "attribute-not-allowed": "屬性參數在這個部件無法使用", - "blocked-location": "您的瀏覽器封鎖地理位置定位", - "claim-device": "設備請求", - "claim-failed": "設備請求失敗!", - "claim-not-found": "找不到設備", - "claim-successful": "設備請求成功!", + "attribute-not-allowed": "屬性參數不能在此小工具中使用", + "blocked-location": "地理定位已在您的瀏覽器中被阻止", + "claim-device": "認領裝置", + "claim-failed": "認領裝置失敗!", + "claim-not-found": "找不到裝置!", + "claim-successful": "裝置認領成功!", "date": "日期", - "device-name": "設備名稱", - "device-name-required": "設備名稱必填", - "discard-changes": "忽略變更", - "entity-attribute-required": "實體屬性必填", - "entity-coordinate-required": "經緯度兩項必填", - "entity-timeseries-required": "需要實體時間序列", - "get-location": "獲取當前位置", - "invalid-date": "失效日期", + "device-name": "裝置名稱", + "device-name-required": "裝置名稱為必填項", + "discard-changes": "放棄變更", + "entity-attribute-required": "實體屬性為必填項", + "entity-coordinate-required": "緯度和經度兩個欄位均為必填項", + "entity-timeseries-required": "實體時間序列為必填項", + "get-location": "取得目前位置", + "invalid-date": "無效日期", "latitude": "緯度", "longitude": "經度", - "min-value-error": "最小值為{{value}}", - "max-value-error": "最大值為{{value}}", - "not-allowed-entity": "所選實體不能具有共享屬性", - "no-attribute-selected": "未選擇任何屬性", - "no-datakey-selected": "未選擇任何數據鍵", - "no-coordinate-specified": "未指定緯度/經度的數據鍵", + "min-value-error": "最小值為 {{value}}", + "max-value-error": "最大值為 {{value}}", + "not-allowed-entity": "所選實體不能擁有共享屬性", + "no-attribute-selected": "未選擇屬性", + "no-datakey-selected": "未選擇資料鍵", + "no-coordinate-specified": "未指定緯度/經度的資料鍵", "no-entity-selected": "未選擇實體", - "no-image": "沒有圖像", - "no-support-geolocation": "您的瀏覽器不支持地理定位", - "no-support-web-camera": "您的瀏覽器不支持相機", - "enable-https-use-widget": "請啟用HTTPS以使用此部件", + "no-image": "無圖片", + "no-support-geolocation": "您的瀏覽器不支援地理定位", + "no-support-web-camera": "您的瀏覽器不支援相機", + "enable-https-use-widget": "請啟用 HTTPS 以使用此小工具", "no-found-your-camera": "找不到您的相機", - "no-permission-camera": "權限被用戶拒絕 / 此站點無權使用相機", + "no-permission-camera": "使用者已拒絕授權,或此網站沒有使用相機的權限", "no-timeseries-selected": "未選擇時間序列", - "secret-key": "密鑰", - "secret-key-required": "需要密鑰", + "secret-key": "金鑰", + "secret-key-required": "請輸入金鑰", "switch-attribute-value": "切換實體屬性值", "switch-camera": "切換相機", "switch-timeseries-value": "切換實體時間序列值", "take-photo": "拍照", "time": "時間", - "timeseries-not-allowed": "此部件中不能使用時間序列參數", + "timeseries-not-allowed": "時間序列參數不能在此小工具中使用", "update-failed": "更新失敗", "update-successful": "更新成功", "update-attribute": "更新屬性", "update-timeseries": "更新時間序列", "value": "值", - "general-settings": "通用設定", - "widget-title": "部件標題", + "general-settings": "一般設定", + "widget-title": "小工具標題", "claim-button-label": "認領按鈕標籤", - "show-secret-key-field": "顯示 '密鑰' 輸入欄位", + "show-secret-key-field": "顯示「金鑰」輸入欄位", "labels-settings": "標籤設定", "show-labels": "顯示標籤", - "device-name-label": "設備名稱輸入欄位的標籤", - "secret-key-label": "密鑰輸入欄位的標籤", - "messages-settings": "消息設定", - "claim-device-success-message": "設備認領成功的簡訊", - "claim-device-not-found-message": "找不到設備時的簡訊", - "claim-device-failed-message": "設備認領失敗的簡訊", - "claim-device-name-required-message": "'需要設備名稱'的錯誤消息", - "claim-device-secret-key-required-message": "'需要密鑰'的朔戊消息", + "device-name-label": "裝置名稱輸入欄位的標籤", + "secret-key-label": "金鑰輸入欄位的標籤", + "messages-settings": "訊息設定", + "claim-device-success-message": "裝置認領成功的文字訊息", + "claim-device-not-found-message": "找不到裝置時的文字訊息", + "claim-device-failed-message": "裝置認領失敗的文字訊息", + "claim-device-name-required-message": "「裝置名稱必填」錯誤訊息", + "claim-device-secret-key-required-message": "「請輸入金鑰」錯誤訊息", "show-label": "顯示標籤", "label": "標籤", - "required": "必須", - "required-error-message": "'必須'的錯誤訊息", - "show-result-message": "顯示結果消息", - "integer-field-settings": "整數字段設定", + "required": "必填", + "required-error-message": "「必填」錯誤訊息", + "show-result-message": "顯示結果訊息", + "integer-field-settings": "整數欄位設定", "min-value": "最小值", "max-value": "最大值", - "double-field-settings": "雙欄位設定", - "text-field-settings": "文字字段設定", + "double-field-settings": "雙精度欄位設定", + "text-field-settings": "文字欄位設定", "min-length": "最小長度", - "max-length": "最長長度", - "checkbox-settings": "複選框設定", - "true-label": "選中的標籤", - "false-label": "未選中的標籤", - "image-input-settings": "圖像輸入設定", + "max-length": "最大長度", + "checkbox-settings": "核取方塊設定", + "true-label": "選取時標籤", + "false-label": "未選取時標籤", + "image-input-settings": "圖片輸入設定", "display-preview": "顯示預覽", "display-clear-button": "顯示清除按鈕", - "display-apply-button": "顯示應用按鈕", + "display-apply-button": "顯示套用按鈕", "display-discard-button": "顯示放棄按鈕", - "datetime-field-settings": "日期/時間字段設定", + "datetime-field-settings": "日期/時間欄位設定", "display-time-input": "顯示時間輸入", - "latitude-key-name": "緯度鍵名", - "longitude-key-name": "經度鍵名", - "show-get-location-button": "顯示按鈕 '獲取當前位置'", + "latitude-key-name": "緯度鍵名稱", + "longitude-key-name": "經度鍵名稱", + "show-get-location-button": "顯示「取得目前位置」按鈕", "use-high-accuracy": "使用高精度", - "location-fields-settings": "位置字段設定", + "location-fields-settings": "位置欄位設定", "latitude-label": "緯度標籤", "longitude-label": "經度標籤", "input-fields-alignment": "輸入欄位對齊", - "input-fields-alignment-column": "列 (預設)", - "input-fields-alignment-row": "行", - "latitude-field-required": "需要緯度欄位", - "longitude-field-required": "需要經度欄位", + "input-fields-alignment-column": "欄(預設)", + "input-fields-alignment-row": "列", + "latitude-field-required": "緯度欄位為必填項", + "longitude-field-required": "經度欄位為必填項", "attribute-settings": "屬性設定", - "widget-mode": "部件模式", + "widget-mode": "小工具模式", "widget-mode-update-attribute": "更新屬性", "widget-mode-update-timeseries": "更新時間序列", "attribute-scope": "屬性範圍", - "attribute-scope-server": "伺服器屬性", + "attribute-scope-server": "伺服器端屬性", "attribute-scope-shared": "共享屬性", - "value-required": "所需值", - "image-settings": "圖像設定", - "image-format": "圖像格式", + "value-required": "值為必填項", + "image-settings": "圖片輸出設定", + "image-format": "圖片格式", "image-format-jpeg": "JPEG", "image-format-png": "PNG", "image-format-webp": "WEBP", - "image-quality": "使用jpeg和webp等有損壓縮的圖像品質", - "max-image-width": "最大圖像寬度", - "max-image-height": "最大圖像高度", + "image-quality": "圖片品質", + "max-image-width": "最大寬度", + "max-image-height": "最大高度", "action-buttons": "操作按鈕", "show-action-buttons": "顯示操作按鈕", - "update-all-values": "更新所有值,而不僅僅是修改的值", - "save-button-label": "'保存'按鈕標籤", - "reset-button-label": "'取消'按鈕標籤", + "update-all-values": "更新所有值,而不僅僅是已修改的值", + "save-button-label": "「儲存」按鈕標籤", + "reset-button-label": "「撤銷」按鈕標籤", "group-settings": "群組設定", - "show-group-title": "顯示與不同實體相關的欄位組的標題", + "show-group-title": "顯示各實體欄位群組的標題", "group-title": "群組標題", "fields-alignment": "欄位對齊", - "fields-alignment-row": "行 (預設)", - "fields-alignment-column": "列", - "fields-in-row": "行中的欄位數", - "option-value": "數值 (為創建空選項寫入 'null')", + "fields-alignment-row": "列(預設)", + "fields-alignment-column": "欄", + "fields-in-row": "每列欄位數量", + "option-value": "值(輸入‘null’以建立空選項)", "option-label": "標籤", "hide-input-field": "隱藏輸入欄位", - "datakey-type": "數據鍵類型", - "datakey-type-server": "伺服器屬性 (預設)", + "datakey-type": "資料鍵類型", + "datakey-type-server": "伺服器端屬性(預設)", "datakey-type-shared": "共享屬性", "datakey-type-timeseries": "時間序列", - "datakey-value-type": "數據鍵值類型", - "datakey-value-type-string": "字符串", - "datakey-value-type-double": "雙重的", + "datakey-value-type": "資料鍵值型別", + "datakey-value-type-string": "字串", + "datakey-value-type-double": "雙精度", "datakey-value-type-integer": "整數", - "datakey-value-type-boolean-checkbox": "布林值(複選框)", - "datakey-value-type-boolean-switch": "布林值 (開關)", + "datakey-value-type-boolean-checkbox": "布林值(核取方塊)", + "datakey-value-type-boolean-switch": "布林值(開關)", "datakey-value-type-date-time": "日期和時間", "datakey-value-type-date": "日期", "datakey-value-type-time": "時間", - "datakey-value-type-select": "選擇", - "value-is-required": "需要值", - "ability-to-edit-attribute": "編輯屬性的能力", - "ability-to-edit-attribute-editable": "啟用 (預設)", - "ability-to-edit-attribute-disabled": "已禁用", + "datakey-value-type-select": "下拉選擇", + "value-is-required": "值為必填項", + "ability-to-edit-attribute": "屬性編輯能力", + "ability-to-edit-attribute-editable": "可編輯(預設)", + "ability-to-edit-attribute-disabled": "停用", "ability-to-edit-attribute-readonly": "唯讀", - "disable-on-datakey-name": "禁用另一個數據鍵的錯誤值 (指定數據鍵名稱)", - "slide-toggle-settings": "滑塊切換設定", - "slide-toggle-label-position": "滑塊切換標籤位置", - "slide-toggle-label-position-after": "後", - "slide-toggle-label-position-before": "前", - "select-options": "選擇選項", - "no-select-options": "未配置選擇選項", - "add-select-option": "增加選擇選項", + "disable-on-datakey-name": "在另一個資料鍵值為 false 時停用(指定資料鍵名稱)", + "slide-toggle-settings": "滑動開關設定", + "slide-toggle-label-position": "滑動開關標籤位置", + "slide-toggle-label-position-after": "之後", + "slide-toggle-label-position-before": "之前", + "select-options": "下拉選項", + "no-select-options": "未設定下拉選項", + "add-select-option": "新增下拉選項", "numeric-field-settings": "數值欄位設定", - "step-interval": "值之間的步長間隔", + "step-interval": "值之間的步進間隔", "error-messages": "錯誤訊息", - "min-value-error-message": "錯誤訊息: '低於最大值'", - "max-value-error-message": "錯誤訊息: '超過最大值'", - "invalid-date-error-message": "錯誤訊息: '無效日期'", + "min-value-error-message": "「最小值」錯誤訊息", + "max-value-error-message": "「最大值」錯誤訊息", + "invalid-date-error-message": "「無效日期」錯誤訊息", "icon-settings": "圖示設定", - "use-custom-icon": "使用客製圖示", - "input-cell-icon": "在輸入儲存格之前顯示圖示", - "value-conversion-settings": "值換算設定", - "get-value-settings": "取得數值設定", - "use-get-value-function": "使用getValue函數", - "get-value-function": "getValue函數", + "use-custom-icon": "使用自訂圖示", + "input-cell-icon": "輸入儲存格前顯示的圖示", + "value-conversion-settings": "值轉換設定", + "get-value-settings": "取得值設定", + "use-get-value-function": "使用 getValue 函式", + "get-value-function": "getValue 函式", "set-value-settings": "設定值設定", - "use-set-value-function": "使用setValue函數", - "set-value-function": "setValue函數" + "use-set-value-function": "使用 setValue 函式", + "set-value-function": "setValue 函式", + "layout": "版面配置", + "row-gap": "列間距(畫素)", + "column-gap": "欄間距(畫素)", + "datakey-value-type-json": "JSON", + "datakey-value-type-radio": "單選按鈕", + "datakey-value-type-color": "顏色", + "field-appearance": "欄位外觀", + "appearance-fill": "填滿", + "appearance-outline": "輪廓", + "subscript-sizing": "提示與錯誤訊息區域高度", + "subscript-sizing-fixed": "固定", + "subscript-sizing-dynamic": "動態", + "invalid-JSON-error-message": "「無效 JSON」錯誤訊息", + "dialog-editor-settings": "對話方塊編輯器設定", + "json-invalid": "JSON 值格式無效", + "title": "標題", + "cancel-button-label": "「取消」按鈕標籤", + "radio-button-settings": "單選按鈕設定", + "color": "顏色", + "columns": "欄", + "radio-options": "單選選項", + "no-radio-options": "未設定單選選項", + "add-radio-option": "新增單選選項", + "radio-label-position": "標籤位置", + "radio-label-position-before": "之前", + "radio-label-position-after": "之後", + "save-image": "儲存圖片", + "save-to-gallery": "自動將拍攝的圖片儲存到圖片庫", + "public-image": "使圖片對所有未授權使用者可用", + "relations-settings": "關聯設定", + "relate-device-to-state-entity": "將裝置與目前狀態實體建立關聯", + "relate-direction": "關聯方向", + "relate-direction-from": "從", + "relate-direction-to": "至", + "relation-type": "關聯類型" }, - "invalid-qr-code-text": "無效的QR code文字,輸入應該有一個字串類型。", + "invalid-qr-code-text": "QR 碼的輸入文字無效。輸入應為字串型別", "qr-code": { - "use-qr-code-text-function": "使用QR code文字功能", - "qr-code-text-pattern": "QR code文字模式 (例如 '${entityName} | ${keyName} - 一些文字。')", - "qr-code-text-pattern-required": "QR code文字模式必填", - "qr-code-text-function": "QR code文字功能" + "use-qr-code-text-function": "使用 QR 碼文字函式", + "qr-code-text-pattern": "QR 碼文字模式(例如 '${entityName} | ${keyName} - some text.')", + "qr-code-text-pattern-required": "QR 碼文字模式為必填項。", + "qr-code-text-function": "QR 碼文字函式", + "qr-code-text-pattern-hint": "QR 碼文字模式會使用實體別名所對應實體中,第一個找到的資料鍵值。" }, "label-widget": { - "label-pattern": "圖案", - "label-pattern-hint": "提示: 例如 '文字 ${keyName} 單位。' 或 ${#<key index>} 單位", - "label-pattern-required": "需要圖案", - "label-position": "位置 (相對於背景的百分比)", + "label-pattern": "模式", + "label-pattern-hint": "提示:例如 'Text ${keyName} units.' 或 ${#<key index>} units'", + "label-pattern-required": "模式為必填項", + "label-position": "位置(相對於背景的百分比)", "x-pos": "X", "y-pos": "Y", - "background-color": "背景顔色", - "font-settings": "文字設定", + "background-color": "背景顏色", + "font-settings": "字型設定", "background-image": "背景圖片", "labels": "標籤", - "no-labels": "無指定標籤", + "no-labels": "未設定標籤", "add-label": "新增標籤" }, "navigation": { "title": "標題", - "navigation-path": "導航路徑", - "filter-type": "過濾器種類", - "filter-type-all": "所有過濾器項目", - "filter-type-include": "包括過濾器", - "filter-type-exclude": "不包括過濾器", + "navigation-path": "導覽路徑", + "filter-type": "篩選類型", + "filter-type-all": "所有項目", + "filter-type-include": "包含項目", + "filter-type-exclude": "排除項目", "items": "項目", - "enter-urls-to-filter": "使用urls過濾...." + "enter-urls-to-filter": "輸入要篩選的 URL..." }, "persistent-table": { - "rpc-id": "RPC ID", - "message-type": "消息類型", + "rpc-id": "RPC 識別碼", + "message-type": "訊息類型", "method": "方法", "params": "參數", "created-time": "建立時間", - "expiration-time": "到期時間", - "retries": "重試", + "expiration-time": "過期時間", + "retries": "重試次數", "status": "狀態", - "filter": "過濾器", - "refresh": "刷新", - "add": "增加RPC請求", - "details": "詳細資訊", + "filter": "篩選器", + "refresh": "重新整理", + "add": "新增 RPC 請求", + "details": "詳細資料", "delete": "刪除", - "delete-request-title": "刪除永久RPC請求", - "delete-request-text": "您確定要刪除請求嗎?", - "details-title": "詳細信息RPC ID: ", - "additional-info": "附加信息", - "response": "回復", - "any-status": "任何狀態", - "rpc-status-list": "RPC狀態列表", - "no-request-prompt": "沒有顯示請求", - "send-request": "發送請求", - "add-title": "創建永久RPC請求", - "method-error": "需要方法。", - "timeout-error": "最小超時值為5000 (5秒)。", + "delete-request-title": "刪除持久化 RPC 請求", + "delete-request-text": "您確定要刪除該請求嗎?", + "details-title": "RPC 識別碼詳細資料:", + "additional-info": "附加資訊", + "response": "回應", + "any-status": "任意狀態", + "rpc-status-list": "RPC 狀態清單", + "no-request-prompt": "無可顯示的請求", + "send-request": "傳送請求", + "add-title": "建立持久化 RPC 請求", + "method-error": "方法為必填項。", + "timeout-error": "最小逾時值為 5000(5 秒)。", "white-space-error": "不允許使用空格。", "rpc-status": { - "QUEUED": "排序", - "SENT": "發送", - "DELIVERED": "發表", + "QUEUED": "已排隊", + "SENT": "已傳送", + "DELIVERED": "已送達", "SUCCESSFUL": "成功", - "TIMEOUT": "超時", - "EXPIRED": "已到期", + "TIMEOUT": "逾時", + "EXPIRED": "已過期", "FAILED": "失敗" }, "rpc-search-status-all": "全部", @@ -4149,403 +6031,8416 @@ "true": "單向" }, "general-settings": "一般設定", - "enable-filter": "啓動過濾器", - "enable-sticky-header": "當捲動時顯示標題", - "enable-sticky-action": "當捲動時顯示操作列", + "enable-filter": "啟用篩選器", + "enable-sticky-header": "捲動時顯示表頭", + "enable-sticky-action": "捲動時顯示操作欄", "display-request-details": "顯示請求詳細資料", - "allow-send-request": "允許傳送RPC請求", + "allow-send-request": "允許傳送 RPC 請求", "allow-delete-request": "允許刪除請求", - "columns-settings": "列設定", - "display-columns": "顯示列", - "column": "列", - "no-columns-found": "找不到列", - "no-columns-matching": "找不到'{{column}}'" + "columns-settings": "欄設定", + "display-columns": "要顯示的欄", + "column": "欄", + "no-columns-found": "找不到欄", + "no-columns-matching": "找不到「{{column}}」。" }, "rpc": { "value-settings": "值設定", "initial-value": "初始值", - "retrieve-value-settings": "檢索開/關的值", - "retrieve-value-method": "檢索值使用方法", - "retrieve-value-method-none": "請勿檢索", - "retrieve-value-method-rpc": "呼叫RPC取得值的方法", - "retrieve-value-method-attribute": "訂閲屬性", - "retrieve-value-method-timeseries": "訂閲時間序列", + "retrieve-value-settings": "取得開/關值設定", + "retrieve-value-method": "使用方法取得值", + "retrieve-value-method-none": "不取得", + "retrieve-value-method-rpc": "呼叫 RPC 取得值方法", + "retrieve-value-method-attribute": "訂閱屬性更新", + "retrieve-value-method-timeseries": "訂閱時間序列更新", "attribute-value-key": "屬性鍵", "timeseries-value-key": "時間序列鍵", - "get-value-method": "RPC取得值的方法", - "parse-value-function": "解析值函數", + "get-value-method": "RPC 取得值方法", + "parse-value-function": "解析值函式", "update-value-settings": "更新值設定", - "set-value-method": "RPC設定值方法", - "convert-value-function": "轉換值函數", - "rpc-settings": "RPC設定", - "request-timeout": "RPC請求超時 (毫秒)", - "persistent-rpc-settings": "永久RPC設定", - "request-persistent": "RPC請求持續", - "persistent-polling-interval": "獲取永久RPC命令響應的輪詢間隔 (毫秒)", - "common-settings": "常用設定", - "switch-title": "切換標題", + "set-value-method": "RPC 設定值方法", + "convert-value-function": "轉換值函式", + "rpc-settings": "RPC 設定", + "request-timeout": "RPC 請求逾時(毫秒)", + "persistent-rpc-settings": "持久化 RPC 設定", + "request-persistent": "RPC 請求持久化", + "persistent-polling-interval": "取得持久化 RPC 命令回應的輪詢間隔(毫秒)", + "common-settings": "通用設定", + "switch-title": "開關標題", "show-on-off-labels": "顯示開/關標籤", - "slide-toggle-label": "滑塊切換標籤", + "slide-toggle-label": "滑動開關標籤", "label-position": "標籤位置", - "label-position-before": "前", - "label-position-after": "後", + "label-position-before": "之前", + "label-position-after": "之後", "slider-color": "滑塊顏色", - "slider-color-primary": "主要的", - "slider-color-accent": "口音", + "slider-color-primary": "主要", + "slider-color-accent": "強調", "slider-color-warn": "警告", "button-style": "按鈕樣式", - "button-raised": "凸起的按鈕", + "button-raised": "凸起按鈕", "button-primary": "主要顏色", "button-background-color": "按鈕背景顏色", "button-text-color": "按鈕文字顏色", - "widget-title": "部件標題", + "widget-title": "小工具標題", "button-label": "按鈕標籤", - "device-attribute-scope": "設備屬性範圍", - "server-attribute": "伺服器屬性", + "device-attribute-scope": "裝置屬性範圍", + "server-attribute": "伺服器端屬性", "shared-attribute": "共享屬性", - "device-attribute-parameters": "設備屬性參數", - "is-one-way-command": "是單向命令", - "rpc-method": "RPC方法", - "rpc-method-params": "RPC方法參數", - "show-rpc-error": "顯示RPC命令執行錯誤", - "led-title": "LED標題", - "led-color": "LED顏色", + "device-attribute-parameters": "裝置屬性參數", + "is-one-way-command": "單向命令", + "rpc-method": "RPC 方法", + "rpc-method-params": "RPC 方法參數", + "show-rpc-error": "顯示 RPC 命令執行錯誤", + "led-title": "LED 標題", + "led-color": "LED 顏色", "check-status-settings": "檢查狀態設定", - "perform-rpc-status-check": "執行RPC設備狀態檢查", - "retrieve-led-status-value-method": "使用方法檢索led狀態值", - "led-status-value-attribute": "包含led狀態值的設備屬性", - "led-status-value-timeseries": "包含led狀態值的設備時間序列", - "check-status-method": "RPC檢查設備狀態方法", - "parse-led-status-value-function": "解析led狀態值函數", + "perform-rpc-status-check": "執行 RPC 裝置狀態檢查", + "retrieve-led-status-value-method": "取得 LED 狀態值的方法", + "led-status-value-attribute": "包含 LED 狀態值的裝置屬性", + "led-status-value-timeseries": "包含 LED 狀態值的裝置時間序列", + "check-status-method": "RPC 檢查裝置狀態方法", + "parse-led-status-value-function": "解析 LED 狀態值函式", "knob-title": "旋鈕標題", "min-value": "最小值", - "max-value": "最大值" + "max-value": "最大值", + "initial-value-hint": "定義收到第一個值之前使用的初始值。", + "initial-led-state": "LED 初始狀態", + "initial-led-state-hint": "定義收到第一個值之前使用的 LED 初始狀態。", + "on": "開啟", + "off": "關閉" }, "maps": { "select-entity": "選擇實體", - "select-entity-hint": "提示:選擇後點擊地圖設置位置", + "select-entity-hint": "提示:選擇後點選地圖以設定位置", "tooltips": { - "placeMarker": "單擊以放置'{{entityName}}'實體", - "firstVertex": " '{{entityName}}'的多邊形:單擊以放置第一個點", - "firstVertex-cut": "單擊以放置第一個點", - "continueLine": " '{{entityName}}'的多邊形:單擊以繼續繪製", - "continueLine-cut": "點擊繼續繪製", - "finishLine": "單擊任何現有標記以完成", - "finishPoly": "'{{entityName}}'個多邊形:點擊第一個標記以完成並保存", - "finishPoly-cut": "單擊第一個標記以完成並保存", - "finishRect": "'{{entityName}}'的多邊形:點擊完成並保存", - "startCircle": "'{{entityName}}'的圓圈:點擊以放置圓圈中心", - "finishCircle": "'{{entityName}}'的圓圈:點擊以完成圓圈", - "placeCircleMarker": "單擊以放置圓形標記" + "placeMarker": "點選以放置「{{entityName}}」實體", + "firstVertex": "「{{entityName}}」的多邊形:點選以放置第一個點", + "firstVertex-cut": "點選以放置第一個點", + "continueLine": "「{{entityName}}」的多邊形:點選以繼續繪製", + "continueLine-cut": "點選以繼續繪製", + "finishLine": "點選任意現有標記以完成", + "finishPoly": "「{{entityName}}」的多邊形:點選第一個標記以完成並儲存", + "finishPoly-cut": "點選第一個標記以完成並儲存", + "finishRect": "「{{entityName}}」的多邊形:點選以完成並儲存", + "startCircle": "「{{entityName}}」的圓形:點選以放置圓心", + "finishCircle": "「{{entityName}}」的圓形:點選以完成圓形", + "placeCircleMarker": "點選以放置圓形標記" }, "actions": { - "finish": "結束", + "finish": "完成", "cancel": "取消", - "removeLastVertex": "移除最後一點" + "removeLastVertex": "移除最後一個點" }, "buttonTitles": { "drawMarkerButton": "放置實體", - "drawPolyButton": "創線多邊形", - "drawLineButton": "創建折線", - "drawCircleButton": "創建圓形", - "drawRectButton": "創建矩形", + "drawPolyButton": "建立多邊形", + "drawLineButton": "建立折線", + "drawCircleButton": "建立圓形", + "drawRectButton": "建立矩形", "editButton": "編輯模式", "dragButton": "拖放模式", - "cutButton": "切割多邊形區域", + "cutButton": "裁剪多邊形區域", "deleteButton": "移除", - "drawCircleMarkerButton": "創建圓形標記", + "drawCircleMarkerButton": "建立圓形標記", "rotateButton": "旋轉多邊形" }, "map-provider-settings": "地圖提供者設定", "map-provider": "地圖提供者", - "map-provider-google": "Google地圖", - "map-provider-openstreet": "OpenStreet地圖", - "map-provider-here": "HERE地圖", - "map-provider-image": "圖像地圖", + "map-provider-google": "Google 地圖", + "map-provider-openstreet": "OpenStreet 地圖", + "map-provider-here": "HERE 地圖", + "map-provider-image": "圖片地圖", "map-provider-tencent": "騰訊地圖", "openstreet-provider": "OpenStreet 地圖提供者", - "openstreet-provider-mapnik": "OpenStreetMap.Mapnik (預設)", + "openstreet-provider-mapnik": "OpenStreetMap.Mapnik(預設)", "openstreet-provider-hot": "OpenStreetMap.HOT", "openstreet-provider-esri-street": "Esri.WorldStreetMap", "openstreet-provider-esri-topo": "Esri.WorldTopoMap", "openstreet-provider-cartodb-positron": "CartoDB.Positron", "openstreet-provider-cartodb-dark-matter": "CartoDB.DarkMatter", - "use-custom-provider": "使用自定義提供程序", - "custom-provider-tile-url": "自定義提供程序磁貼URL", - "google-maps-api-key": "Google地圖API金鑰", + "use-custom-provider": "使用自訂提供者", + "custom-provider-tile-url": "自訂提供者圖磚 URL", + "google-maps-api-key": "Google Maps API 金鑰", "default-map-type": "預設地圖類型", - "google-map-type-roadmap": "道路模式", - "google-map-type-satelite": "衛星模式", - "google-map-type-hybrid": "混合模式", - "google-map-type-terrain": "地形模式", + "google-map-type-roadmap": "路線圖", + "google-map-type-satelite": "衛星圖", + "google-map-type-hybrid": "混合圖", + "google-map-type-terrain": "地形圖", "map-layer": "地圖圖層", - "here-map-normal-day": "HERE.正常日間 (預設)", - "here-map-normal-night": "HERE.正常夜間", - "here-map-hybrid-day": "HERE.混合日", - "here-map-terrain-day": "HERE.地形日", - "credentials": "證書", - "here-app-id": "HERE app id", - "here-app-code": "HERE app程式碼", - "tencent-maps-api-key": "騰訊地圖API金鑰", - "tencent-map-type-roadmap": "道路模式", - "tencent-map-type-satelite": "衛星模式", - "tencent-map-type-hybrid": "混合模式", - "image-map-background": "地圖圖片背景", - "image-map-background-from-entity-attribute": "從實體屬性獲取地圖背景", - "image-url-source-entity-alias": "圖片URL來源別名", - "image-url-source-entity-attribute": "圖片URL來源屬性", - "common-map-settings": "一般地圖設定", - "x-pos-key-name": "X軸座標主要名稱", - "y-pos-key-name": "Y軸座標主要名稱", - "latitude-key-name": "緯度主要名稱", - "longitude-key-name": "經度主要名稱", - "default-map-zoom-level": "預設地圖縮放級別 (0 - 20)", - "default-map-center-position": "預設地圖中心位置(0,0)", - "disable-scroll-zooming": "關閉捲動縮放功能", - "disable-double-click-zooming": "關閉雙擊縮放功能", - "disable-zoom-control-buttons": "關閉縮放控制按鈕功能", - "fit-map-bounds": "符合地圖邊界以遮蓋所有標記", + "here-map-normal-day": "HERE.normalDay(預設)", + "here-map-normal-night": "HERE.normalNight", + "here-map-hybrid-day": "HERE.hybridDay", + "here-map-terrain-day": "HERE.terrainDay", + "credentials": "認證資訊", + "here-app-id": "HERE 應用程式識別碼", + "here-app-code": "HERE 應用程式碼", + "tencent-maps-api-key": "騰訊地圖 API 金鑰", + "tencent-map-type-roadmap": "路線圖", + "tencent-map-type-satelite": "衛星圖", + "tencent-map-type-hybrid": "混合圖", + "image-map-background": "圖片地圖背景", + "image-map-background-from-entity-attribute": "從實體屬性取得圖片地圖背景", + "image-url-source-entity-alias": "圖片 URL 來源實體別名", + "image-url-source-entity-attribute": "圖片 URL 來源實體屬性", + "common-map-settings": "通用地圖設定", + "x-pos-key-name": "X 位置鍵名稱", + "y-pos-key-name": "Y 位置鍵名稱", + "latitude-key-name": "緯度鍵名稱", + "longitude-key-name": "經度鍵名稱", + "default-map-zoom-level": "預設地圖縮放級別(0 - 20)", + "default-map-center-position": "預設地圖中心位置(0,0)", + "disable-scroll-zooming": "停用捲動縮放", + "disable-double-click-zooming": "停用按兩下縮放", + "disable-zoom-control-buttons": "停用縮放控制按鈕", + "fit-map-bounds": "調整地圖範圍以覆蓋所有標記", "use-default-map-center-position": "使用預設地圖中心位置", - "entities-limit": "實體負載限制", + "entities-limit": "載入實體數量上限", "markers-settings": "標記設定", - "marker-offset-x": "標記的X偏移量相對於位置乘以標記的寬度", - "marker-offset-y": "標記的Y偏移量相對於位置乘以標記的高度", - "position-function": "位置轉換函數,應將X,Y座標作爲雙數從0到1分別返回", - "draggable-marker": "可拖拉的標記", + "marker-offset-x": "標記 X 偏移(相對於位置乘以標記寬度)", + "marker-offset-y": "標記 Y 偏移(相對於位置乘以標記高度)", + "position-function": "位置轉換函式,應回傳 x、y 座標,每個值為 0 到 1 之間的雙精度數", + "draggable-marker": "可拖動標記", "label": "標籤", "show-label": "顯示標籤", - "use-label-function": "使用標籤功能", - "label-pattern": "標籤(模式示例: '${entityName}'、'${entityName}:(文字 ${keyName} 單位。)' )", - "label-function": "標籤功能", - "tooltip": "工具提示", - "show-tooltip": "顯示工具提示", - "show-tooltip-action": "顯示工具提示的動作", - "show-tooltip-action-click": "顯示工具提示的動作點擊(預設)", - "show-tooltip-action-hover": "顯示工具提示的懸停效果", - "auto-close-tooltips": "自動關閉工具提示", - "use-tooltip-function": "使用工具提示功能", - "tooltip-pattern": "工具提示 (例如 '文字 ${keyName} 單位.' 或連結文字')", - "tooltip-function": "工具提示功能", - "tooltip-offset-x": "工具提示相對於標記錨的X偏移量乘以標記的寬度", - "tooltip-offset-y": "工具提示相對於標記錨的Y偏移量乘以標記的寬度", - "color": "顔色", - "use-color-function": "使用顔色功能", - "color-function": "顔色功能", + "use-label-function": "使用標籤函式", + "label-pattern": "標籤(模式示例:'${entityName}','${entityName}: (Text ${keyName} units.)')", + "label-function": "標籤函式", + "tooltip": "提示框", + "show-tooltip": "顯示提示框", + "show-tooltip-action": "顯示提示框的操作", + "show-tooltip-action-click": "點選時顯示提示框(預設)", + "show-tooltip-action-hover": "懸停時顯示提示框", + "auto-close-tooltips": "自動關閉提示框", + "use-tooltip-function": "使用提示框函式", + "tooltip-pattern": "提示框(例如 'Text ${keyName} units.' 或 Link text')", + "tooltip-function": "提示框函式", + "tooltip-offset-x": "提示框 X 偏移(相對於標記錨點乘以標記寬度)", + "tooltip-offset-y": "提示框 Y 偏移(相對於標記錨點乘以標記高度)", + "color": "顏色", + "use-color-function": "使用顏色函式", + "color-function": "顏色函式", "marker-image": "標記圖片", - "use-marker-image-function": "使用標記圖片功能", - "custom-marker-image": "客製標記圖片", - "custom-marker-image-size": "客製標記圖片尺寸(px)", - "marker-image-function": "標記圖片功能", - "marker-images": "多張標記圖片", + "use-marker-image-function": "使用標記圖片函式", + "custom-marker-image": "自訂標記圖片", + "custom-marker-image-size": "自訂標記圖片大小(畫素)", + "marker-image-function": "標記圖片函式", + "marker-images": "標記圖片", "polygon-settings": "多邊形設定", "show-polygon": "顯示多邊形", - "polygon-key-name": "多邊形主要名稱", - "enable-polygon-edit": "啓用多邊形編輯", + "polygon-key-name": "多邊形鍵名稱", + "enable-polygon-edit": "啟用多邊形編輯", "polygon-label": "多邊形標籤", "show-polygon-label": "顯示多邊形標籤", - "use-polygon-label-function": "使用多邊形功能", - "polygon-label-pattern": "多邊形標籤 (模式示例: '${entityName}'、 '${entityName}: (文字${keyName} 單位。)' )", - "polygon-label-function": "多邊形標籤功能", - "polygon-tooltip": "多邊形工具提示", - "show-polygon-tooltip": "顯示多邊形標籤", - "auto-close-polygon-tooltips": "自動關閉多邊形工具提示", - "use-polygon-tooltip-function": "使用多邊形工具提示功能", - "polygon-tooltip-pattern": "工具提示 (例如'文字 ${keyName} 單位' 或 連結文字')", - "polygon-tooltip-function": "多邊形工具提示功能", - "polygon-color": "多邊形顔色", + "use-polygon-label-function": "使用多邊形標籤函式", + "polygon-label-pattern": "多邊形標籤(模式示例:'${entityName}','${entityName}: (Text ${keyName} units.)')", + "polygon-label-function": "多邊形標籤函式", + "polygon-tooltip": "多邊形提示框", + "show-polygon-tooltip": "顯示多邊形提示框", + "auto-close-polygon-tooltips": "自動關閉多邊形提示框", + "use-polygon-tooltip-function": "使用多邊形提示框函式", + "polygon-tooltip-pattern": "提示框(例如 'Text ${keyName} units.' 或 Link text')", + "polygon-tooltip-function": "多邊形提示框函式", + "polygon-color": "多邊形顏色", "polygon-opacity": "多邊形不透明度", - "use-polygon-color-function": "使用多邊形顔色功能", - "polygon-color-function": "多邊形顔色功能", - "polygon-stroke": "多邊形顔色", - "stroke-color": "筆畫顔色", - "stroke-opacity": "筆畫不透明度", - "stroke-weight": "筆畫粗細", - "use-polygon-stroke-color-function": "使用多邊形筆畫顔色功能", - "polygon-stroke-color-function": "多邊形筆畫顔色功能", + "use-polygon-color-function": "使用多邊形顏色函式", + "polygon-color-function": "多邊形顏色函式", + "polygon-stroke": "多邊形描邊", + "stroke-color": "描邊顏色", + "stroke-opacity": "描邊不透明度", + "stroke-weight": "描邊粗細", + "use-polygon-stroke-color-function": "使用多邊形描邊顏色函式", + "polygon-stroke-color-function": "多邊形描邊顏色函式", "circle-settings": "圓形設定", "show-circle": "顯示圓形", - "circle-key-name": "圓形主要名稱", - "enable-circle-edit": "啓用圓形編輯", + "circle-key-name": "圓形鍵名稱", + "enable-circle-edit": "啟用圓形編輯", "circle-label": "圓形標籤", "show-circle-label": "顯示圓形標籤", - "use-circle-label-function": "使用圓形標籤功能", - "circle-label-pattern": "圓形標籤 (模式示例: '${entityName}'、'${entityName}: (文字${keyName}單位。)' )", - "circle-label-function": "圓形標籤功能", - "circle-tooltip": "圓形工具提示", - "show-circle-tooltip": "顯示圓形工具提示", - "auto-close-circle-tooltips": "自動關閉圓形工具提示", - "use-circle-tooltip-function": "使用圓形工具提示功能", - "circle-tooltip-pattern": "工具提示 (例如'文字${keyName} 單位' 或連結文字')", - "circle-tooltip-function": "圓形工具提示功能", - "circle-fill-color": "圓形填充顔色", - "circle-fill-color-opacity": "圓形填充顔色不透明度", - "use-circle-fill-color-function": "使用圓形填充顔色功能", - "circle-fill-color-function": "圓形填充顔色功能", - "circle-stroke": "圓形筆畫", - "use-circle-stroke-color-function": "使用圓形筆畫顔色功能", - "circle-stroke-color-function": "圓形筆畫顔色功能", + "use-circle-label-function": "使用圓形標籤函式", + "circle-label-pattern": "圓形標籤(模式示例:'${entityName}','${entityName}: (Text ${keyName} units.)')", + "circle-label-function": "圓形標籤函式", + "circle-tooltip": "圓形提示框", + "show-circle-tooltip": "顯示圓形提示框", + "auto-close-circle-tooltips": "自動關閉圓形提示框", + "use-circle-tooltip-function": "使用圓形提示框函式", + "circle-tooltip-pattern": "提示框(例如 'Text ${keyName} units.' 或 Link text')", + "circle-tooltip-function": "圓形提示框函式", + "circle-fill-color": "圓形填滿顏色", + "circle-fill-color-opacity": "圓形填滿顏色不透明度", + "use-circle-fill-color-function": "使用圓形填滿顏色函式", + "circle-fill-color-function": "圓形填滿顏色函式", + "circle-stroke": "圓形描邊", + "use-circle-stroke-color-function": "使用圓形描邊顏色函式", + "circle-stroke-color-function": "圓形描邊顏色函式", "markers-clustering-settings": "標記叢集設定", "use-map-markers-clustering": "使用地圖標記叢集", - "zoom-on-cluster-click": "當點擊地圖標記叢集時縮放", - "max-cluster-zoom": "標記可以是叢集的一部分時的最大縮放級別(0 - 18)", - "max-cluster-radius-pixels": "一個叢集可覆蓋的最大半徑,以像素為單位", - "cluster-zoom-animation": "當縮放時在標記上顯示動畫", - "show-markers-bounds-on-cluster-mouse-over": "當滑鼠移到一個叢集上時,顯示標記的邊界", - "spiderfy-max-zoom-level": "在最大變焦水平下的Spiderfy(爲了可看到所有的叢集標記)", - "load-optimization": "負載優化", - "cluster-chunked-loading": "使用塊來添加標記,這樣頁面就不會凍結了", - "cluster-markers-lazy-load": "使用延遲載入來添加標記", - "editor-settings": "編輯者設定", - "enable-snapping": "啓用對其他頂點的抓取以實現精確繪圖", - "init-draggable-mode": "在可拖拉模式下初始化地圖", + "zoom-on-cluster-click": "點選叢集時縮放", + "max-cluster-zoom": "標記可成為叢集一部分的最大縮放級別(0 - 18)", + "max-cluster-radius-pixels": "叢集覆蓋的最大半徑(畫素)", + "cluster-zoom-animation": "縮放時顯示標記動畫", + "show-markers-bounds-on-cluster-mouse-over": "滑鼠懸停叢集時顯示標記邊界", + "spiderfy-max-zoom-level": "在最大縮放級別時展開(以檢視所有叢集標記)", + "load-optimization": "載入最佳化", + "cluster-chunked-loading": "使用分塊新增標記以避免頁面凍結", + "cluster-markers-lazy-load": "使用延遲載入新增標記", + "editor-settings": "編輯器設定", + "enable-snapping": "啟用對齊到其他頂點以精確繪製", + "init-draggable-mode": "以拖曳模式初始化地圖", "hide-all-edit-buttons": "隱藏所有編輯控制按鈕", - "hide-draw-buttons": "隱藏繪圖按鈕", + "hide-draw-buttons": "隱藏繪製按鈕", "hide-edit-buttons": "隱藏編輯按鈕", "hide-remove-button": "隱藏移除按鈕", - "route-map-settings": "路線圖設定", + "route-map-settings": "路線地圖設定", "trip-animation-settings": "行程動畫設定", - "normalization-step": "正規化資料步驟(毫秒)", - "tooltip-background-color": "提示工具背景顔色", - "tooltip-font-color": "提示文字顔色", - "tooltip-opacity": "提示工具不透明度(0-1)", - "auto-close-tooltip": "自動關閉提示工具", - "rotation-angle": "設定標記的額外選擇角度", + "normalization-step": "資料標準化步長(毫秒)", + "tooltip-background-color": "提示框背景顏色", + "tooltip-font-color": "提示框字型顏色", + "tooltip-opacity": "提示框不透明度(0-1)", + "auto-close-tooltip": "自動關閉提示框", + "rotation-angle": "設定標記的附加旋轉角度(度)", "path-settings": "路徑設定", - "path-color": "路徑顔色", - "use-path-color-function": "使用路徑顔色功能", - "path-color-function": "路徑顔色功能", + "path-color": "路徑顏色", + "use-path-color-function": "使用路徑顏色函式", + "path-color-function": "路徑顏色函式", "path-decorator": "路徑裝飾器", "use-path-decorator": "使用路徑裝飾器", "decorator-symbol": "裝飾器符號", - "decorator-symbol-arrow-head": "裝飾器符號-箭頭", - "decorator-symbol-dash": "裝飾器符號-儀表板", - "decorator-symbol-size": "裝飾器符號尺寸 (px)", - "use-path-decorator-custom-color": "使用路徑裝飾器客製顔色", - "decorator-custom-color": "裝飾器客製顔色", - "decorator-offset": "裝飾器串列修改", - "end-decorator-offset": "結束裝飾器串列修改", + "decorator-symbol-arrow-head": "箭頭", + "decorator-symbol-dash": "虛線", + "decorator-symbol-size": "裝飾器符號大小(畫素)", + "use-path-decorator-custom-color": "使用路徑裝飾器自訂顏色", + "decorator-custom-color": "裝飾器自訂顏色", + "decorator-offset": "裝飾器偏移", + "end-decorator-offset": "結束裝飾器偏移", "decorator-repeat": "裝飾器重複", - "points-settings": "點物件設定", - "show-points": "顯示點物件", - "point-color": "點物件顔色", - "point-size": "點物件尺寸(px)", - "use-point-color-function": "使用點物件顔色功能", - "point-color-function": "點物件顔色功能", - "use-point-as-anchor": "使用點物件做爲錨", - "point-as-anchor-function": "使用點物件做爲錨功能", - "independent-point-tooltip": "獨立點物件的工具提示" + "points-settings": "點設定", + "show-points": "顯示點", + "point-color": "點顏色", + "point-size": "點大小(畫素)", + "use-point-color-function": "使用點顏色函式", + "point-color-function": "點顏色函式", + "use-point-as-anchor": "使用點作為錨點", + "point-as-anchor-function": "點作為錨點函式", + "independent-point-tooltip": "獨立點提示框", + "map-type": { + "type": "地圖類型", + "map": "地圖", + "image": "圖片" + }, + "image": { + "image-source": "圖片來源", + "image-source-image": "圖片", + "image-source-entity-key": "實體鍵", + "source-entity-alias": "來源實體別名", + "image-url-key": "圖片 URL 鍵", + "image-url-key-required": "圖片 URL 鍵為必填項" + }, + "control": { + "map-controls": "地圖控制元件", + "position": "位置", + "position-topleft": "左上", + "position-topright": "右上", + "position-bottomleft": "左下", + "position-bottomright": "右下", + "zoom-actions": "縮放操作", + "zoom-scroll": "捲動", + "zoom-double-click": "按兩下", + "zoom-control-buttons": "控制按鈕", + "scale": "比例尺", + "scale-metric": "公制", + "scale-imperial": "英制", + "switch-to-drag-mode-using-button": "使用按鈕切換到拖曳模式" + }, + "timeline": { + "control-panel": "時間線控制面板", + "time-step": "時間步長", + "speed-options": "速度選項", + "timestamp": "時間戳記", + "snap-to-real-location": "對齊到真實位置", + "location-snap-filter-function": "位置對齊篩選函式", + "no-trips-data-available": "無可用的行程資料" + }, + "map-action": { + "map-action-buttons": "地圖操作按鈕", + "label": "標籤", + "icon": "圖示", + "color": "顏色", + "action": "操作", + "add-button": "新增按鈕", + "no-action-buttons-configured": "未設定操作按鈕", + "remove-action-button": "移除操作按鈕", + "map-action-button": "地圖操作按鈕", + "button-requires": "按鈕需要標籤或圖示" + }, + "common": { + "common-map-settings": "通用地圖設定", + "fit-map-bounds": "調整地圖範圍以覆蓋所有標記", + "default-map-center-position": "預設地圖中心位置", + "default-map-zoom-level": "預設地圖縮放級別", + "entities-limit": "載入實體數量限制" + }, + "layer": { + "label": "標籤", + "layer": "圖層", + "layers": "圖層", + "map-layers": "地圖圖層", + "add-layer": "新增圖層", + "layer-settings": "圖層設定", + "remove-layer": "移除圖層", + "no-layers": "未設定圖層", + "roadmap": "路線圖", + "satellite": "衛星圖", + "hybrid": "混合圖", + "webgl-not-available": "所選地圖圖層需要圖形加速才能顯示。請在瀏覽器設定中啟用「硬體加速」,或改用其他圖層。", + "reference": { + "reference-layer": "參考圖層", + "no-layer": "無圖層", + "openstreetmap-hybrid": "OpenStreetMap 混合", + "world-edition-hybrid": "World Edition 混合", + "enhanced-contrast-hybrid": "增強對比度混合" + }, + "provider": { + "provider": "提供者", + "openstreet": { + "title": "OpenStreet", + "mapnik": "Mapnik", + "hot": "HOT", + "esri-street": "WorldStreetMap", + "esri-topo": "WorldTopoMap", + "esri-imagery": "WorldImagery", + "cartodb-positron": "Positron", + "cartodb-dark-matter": "DarkMatter" + }, + "google": { + "title": "Google", + "roadmap": "路線圖", + "satellite": "衛星圖", + "hybrid": "混合圖", + "terrain": "地形圖" + }, + "here": { + "title": "HERE", + "normal-day": "日間標準", + "normal-night": "夜間標準", + "hybrid-day": "日間混合", + "terrain-day": "日間地形" + }, + "tencent": { + "title": "騰訊", + "normal": "標準", + "satellite": "衛星圖", + "terrain": "地形圖" + }, + "custom": { + "title": "自訂", + "tile-url": "圖磚 URL", + "style-url": "樣式 URL", + "vector-tiles": "向量圖磚", + "vector-tiles-hint": "使用 OpenFreeMap 或 MapTiler 等供應商的樣式 URL 時,請啟用此選項。", + "attribution": "版權文字", + "attribution-hint": "顯示於地圖底部。大多數圖磚供應商都要求標示此資訊。" + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" + } + }, + "credentials": { + "credentials": "認證資訊", + "api-key": "API 金鑰" + } + }, + "overlays": { + "overlays": "覆蓋層", + "overlays-hint": "設定地圖實體的資料來源、外觀、行為、編輯選項和分組", + "trips": "行程", + "markers": "標記", + "polygons": "多邊形", + "circles": "圓形", + "polylines": "折線" + }, + "data-layer": { + "source": "來源", + "filter": "篩選器", + "additional-data-keys": "附加資料鍵", + "additional-datasources": "附加資料來源", + "additional-datasources-hint": "用於存取地圖上未顯示的實體的屬性或遙測的資料來源,可在地圖覆蓋層函式中使用。", + "more-datasources": "更多資料來源", + "data-keys": "資料鍵", + "add-datasource": "新增資料來源", + "no-datasources": "未設定資料來源", + "remove-datasource": "移除資料來源", + "behavior": "行為", + "on-click": "點選時", + "on-click-hint": "使用者點選地圖項目時觸發的操作。", + "groups": "群組", + "groups-hint": "指派給覆蓋層的群組名稱清單,用於切換其在地圖上的可見性。", + "color": "顏色", + "color-settings": "顏色設定", + "color-type-constant": "常數", + "color-type-range": "範圍", + "color-type-function": "函式", + "color-range-source-key": "顏色範圍來源鍵", + "color-range-source-key-required": "顏色範圍來源鍵為必填項", + "color-range": "顏色範圍", + "color-function": "顏色函式", + "label": "標籤", + "tooltip": "提示框", + "pattern-type-pattern": "模式", + "pattern-type-function": "函式", + "label-pattern": "標籤(模式示例:'${entityName}','${entityName}: (Text ${keyName} units.)')", + "label-function": "標籤函式", + "tooltip-pattern": "提示框(例如 'Text ${keyName} units.' 或 Link text)", + "tooltip-function": "提示框函式", + "tooltip-trigger": "提示框觸發方式", + "tooltip-trigger-click": "點選時顯示提示框", + "tooltip-trigger-hover": "懸停時顯示提示框", + "auto-close-tooltips": "自動關閉提示框", + "tooltip-offset": "提示框偏移", + "tooltip-offset-horizontal": "水平", + "tooltip-offset-vertical": "垂直", + "tooltip-tag-actions": "標籤操作", + "add-tooltip-tag-action": "新增標籤操作", + "edit-tooltip-tag-action": "編輯標籤操作", + "remove-tooltip-tag-action": "移除標籤操作", + "action-add": "新增", + "action-edit": "編輯", + "action-move": "移動", + "action-remove": "移除", + "edit-instruments": "工具", + "persist-location-attribute-scope": "持久化位置的屬性範圍", + "enable-snapping": "啟用對齊到其他頂點以精確繪製", + "enable-snapping-hint": "自動將新點與現有形狀對齊,使繪製更輕鬆、更準確。", + "drag-drop-mode": "拖放模式", + "trip": { + "no-trips": "未設定行程", + "add-trip": "新增行程", + "trip-configuration": "行程設定", + "remove-trip": "移除行程" + }, + "marker": { + "marker": "標記", + "latitude-key": "緯度鍵", + "longitude-key": "經度鍵", + "x-pos-key": "X 位置鍵", + "y-pos-key": "Y 位置鍵", + "latitude-key-required": "緯度鍵為必填項", + "longitude-key-required": "經度鍵為必填項", + "x-pos-key-required": "X 位置鍵為必填項", + "y-pos-key-required": "Y 位置鍵為必填項", + "no-markers": "未設定標記", + "add-marker": "新增標記", + "marker-configuration": "標記設定", + "remove-marker": "移除標記", + "marker-type": "標記類型", + "marker-type-shape": "形狀", + "marker-type-icon": "圖示", + "marker-type-image": "圖片", + "shape": "形狀", + "icon": "圖示", + "image": "圖片", + "marker-shapes": "標記形狀", + "marker-icon": "標記圖示", + "marker-appearance": "標記外觀", + "marker-image": "標記圖片", + "marker-image-type-image": "圖片", + "marker-image-type-function": "函式", + "custom-marker-image-size": "自訂標記圖片大小", + "marker-image-function": "標記圖片函式", + "marker-images": "標記圖片", + "marker-offset": "標記偏移", + "offset-horizontal": "水平", + "offset-vertical": "垂直", + "rotate-marker": "旋轉標記", + "offset-angle": "偏移角度", + "position-conversion": "位置轉換", + "position-conversion-function": "位置轉換函式,應回傳 x、y 座標,每個值為 0 到 1 之間的雙精度數", + "clustering": { + "use-map-markers-clustering": "使用地圖標記叢集", + "zoom-on-cluster-click": "點選叢集時縮放", + "max-zoom": "標記可成為叢集一部分的最大縮放級別(0 - 18)", + "max-radius": "叢集覆蓋的最大半徑", + "zoom-animation": "縮放時標記的動畫", + "bounds-on-cluster-mouse-over": "滑鼠懸停叢集時的標記邊界", + "spiderfy-max-zoom-level": "在最大縮放級別時展開(以檢視所有叢集標記)", + "load-optimization": "載入最佳化", + "chunked-load": "使用分塊新增標記以避免頁面凍結", + "lazy-load": "使用延遲載入新增標記", + "use-cluster-marker-color-function": "使用叢集標記顏色函式", + "marker-color-function": "標記顏色函式" + }, + "edit": "編輯標記", + "remove-marker-for": "移除「{{entityName}}」的標記", + "place-marker": "放置標記", + "place-marker-hint": "點選以放置標記", + "place-marker-hint-with-entity": "點選以放置「{{entityName}}」實體" + }, + "path": { + "path": "路徑", + "path-decorator": "路徑裝飾器", + "decorator-symbol": "裝飾器符號", + "decorator-symbol-arrow-head": "箭頭", + "decorator-symbol-dash": "虛線", + "decorator-arrangement": "裝飾器排列", + "decorator-offset": "起始", + "decorator-end-offset": "結束", + "decorator-repeat": "重複" + }, + "points": { + "points": "點", + "point-tooltip": "點提示框" + }, + "shape": { + "fill": "填滿", + "fill-type-color": "顏色", + "fill-type-stripe": "條紋", + "fill-type-image": "圖片", + "color": "顏色", + "stripe": "條紋", + "image": "圖片", + "stroke": "描邊", + "fill-image": "填滿圖片", + "fill-image-type-image": "圖片", + "fill-image-type-function": "函式", + "preserve-aspect-ratio": "保持寬高比", + "opacity": "不透明度", + "angle": "旋轉角度", + "scale": "縮放", + "fill-image-function": "形狀填滿圖片函式", + "fill-images": "形狀填滿圖片", + "stripe-pattern": "條紋圖案", + "first-stripe": "第一條紋", + "second-stripe": "第二條紋" + }, + "polygon": { + "polygon-key": "多邊形鍵", + "polygon-key-required": "多邊形鍵為必填項", + "no-polygons": "未設定多邊形", + "add-polygon": "新增多邊形", + "polygon-configuration": "多邊形設定", + "remove-polygon": "移除多邊形", + "edit": "編輯多邊形", + "remove-polygon-for": "移除「{{entityName}}」的多邊形", + "cut": "裁剪多邊形區域", + "rotate": "旋轉多邊形", + "draw-rectangle": "繪製矩形", + "draw-polygon": "繪製多邊形", + "polygon-place-first-point-cut-hint": "點選以放置第一個點", + "continue-polygon-cut-hint": "點選以繼續繪製", + "finish-polygon-cut-hint": "點選第一個標記以完成並儲存", + "polygon-place-first-point-hint": "多邊形:點選以放置第一個點", + "polygon-place-first-point-hint-with-entity": "「{{entityName}}」的多邊形:點選以放置第一個點", + "continue-polygon-hint": "多邊形:點選以繼續繪製", + "continue-polygon-hint-with-entity": "「{{entityName}}」的多邊形:點選以繼續繪製", + "finish-polygon-hint": "多邊形:點選第一個標記以完成繪製", + "finish-polygon-hint-with-entity": "「{{entityName}}」的多邊形:點選第一個標記以完成並儲存", + "rectangle-place-first-point-hint": "矩形:點選以放置第一個點", + "rectangle-place-first-point-hint-with-entity": "「{{entityName}}」的矩形:點選以放置第一個點", + "finish-rectangle-hint": "矩形:點選以完成繪製", + "finish-rectangle-hint-with-entity": "「{{entityName}}」的矩形:點選以完成並儲存" + }, + "circle": { + "circle-key": "圓形鍵", + "circle-key-required": "圓形鍵為必填項", + "no-circles": "未設定圓形", + "add-circle": "新增圓形", + "circle-configuration": "圓形設定", + "remove-circle": "移除圓形", + "edit": "編輯圓形", + "remove-circle-for": "移除「{{entityName}}」的圓形", + "draw-circle": "繪製圓形", + "place-circle-center-hint-with-entity": "「{{entityName}}」的圓形:點選以放置圓心", + "place-circle-center-hint": "圓形:點選以放置圓心", + "finish-circle-hint-with-entity": "「{{entityName}}」的圓形:點選以完成並儲存", + "finish-circle-hint": "圓形:點選以完成繪製" + }, + "polyline": { + "polyline-key": "折線鍵", + "polyline-key-required": "折線鍵為必填項", + "no-polylines": "未設定折線", + "add-polylines": "新增折線", + "polyline-configuration": "折線設定", + "remove-polyline": "移除折線", + "edit": "編輯折線", + "cut": "裁剪折線區域", + "rotate": "旋轉折線", + "remove-polyline-for": "移除「{{entityName}}」的折線", + "draw-polyline": "繪製折線", + "polyline-place-first-point-hint-with-entity": "「{{entityName}}」的折線:點選以放置第一個點", + "polyline-place-first-point-hint": "折線:點選以放置第一個點", + "finish-polyline-hint-with-entity": "「{{entityName}}」的折線:點選以完成繪製", + "finish-polyline-hint": "折線:點選以完成繪製", + "polyline-place-first-point-cut-hint": "點選以放置第一個點", + "finish-polyline-cut-hint": "點選第一個標記以完成並儲存" + }, + "select-entity": "選擇實體", + "select-entity-hint": "提示:選擇後點選地圖以設定位置" + }, + "openstreet-provider-esri-imagery": "Esri.WorldImagery", + "here-api-key": "HERE API 金鑰", + "here-use-new-version-api-3": "使用 API 版本 3", + "clustering-markers": "標記叢集", + "use-icon-create-function": "使用標記顏色函式", + "marker-color-function": "標記顏色函式" }, "markdown": { - "use-markdown-text-function": "使用markdown語言功能", - "markdown-text-function": "Markdown/HTML value function", - "markdown-text-pattern": "Markdown/HTML模式(markdown 或帶有變量的HTML,例如'${entityName} 或${keyName} - 一些文字。')", - "markdown-css": "Markdown/HTML CSS" + "use-markdown-text-function": "使用 Markdown/HTML 值函式", + "markdown-text-function": "Markdown/HTML 值函式", + "markdown-text-pattern": "Markdown/HTML 模式(Markdown 或帶變數的 HTML,例如 '${entityName} or ${keyName} - some text.')", + "markdown-css": "Markdown/HTML CSS", + "apply-default-markdown-style": "套用預設 Markdown 樣式" }, "simple-card": { "label-position": "標籤位置", - "label-position-left": "標籤置左", - "label-position-top": "標籤置頂" + "label-position-left": "左側", + "label-position-top": "頂部", + "label": "標籤" }, "table": { - "common-table-settings": "通用資料表設定", - "enable-search": "啓動搜尋", - "enable-sticky-header": "始終顯示標題", - "enable-sticky-action": "始終顯示動作欄", - "hidden-cell-button-display-mode": "隱藏儲存格按鈕動作顯示模式", - "show-empty-space-hidden-action": "顯示空格而不是隱藏儲存格的按鈕動作", - "dont-reserve-space-hidden-action": "不要為隱藏的動作按鈕保留空格", - "display-timestamp": "顯示時間戳列", + "common-table-settings": "通用表格設定", + "enable-search": "啟用搜尋", + "enable-sticky-header": "始終顯示表頭", + "enable-sticky-action": "一律顯示操作欄", + "hidden-cell-button-display-mode": "隱藏儲存格按鈕操作顯示模式", + "show-empty-space-hidden-action": "顯示空白代替隱藏的儲存格按鈕操作", + "dont-reserve-space-hidden-action": "不為隱藏的操作按鈕預留空間", + "display-timestamp": "時間戳記", "display-pagination": "顯示分頁", - "default-page-size": "預設頁面尺寸", - "use-entity-label-tab-name": "在分頁標籤名稱中使用實體標籤", - "hide-empty-lines": "隱藏空白線", - "row-style": "行種類", - "use-row-style-function": "使用行種類功能", - "row-style-function": "行種類功能", - "cell-style": "儲存格種類", - "use-cell-style-function": "使用單元格種類功能", - "cell-style-function": "儲存格種類功能", - "cell-content": "儲存格内容", - "use-cell-content-function": "使用儲存格内容功能", - "cell-content-function": "儲存格内容功能", + "default-page-size": "預設每頁筆數", + "use-entity-label-tab-name": "在標籤頁名稱中使用實體標籤", + "hide-empty-lines": "隱藏空行", + "row-style": "列樣式", + "use-row-style-function": "使用列樣式函式", + "row-style-function": "列樣式函式", + "cell-style": "儲存格樣式", + "use-cell-style-function": "使用儲存格樣式函式", + "cell-style-function": "儲存格樣式函式", + "cell-content": "儲存格內容", + "use-cell-content-function": "使用儲存格內容函式", + "cell-content-function": "儲存格內容函式", "show-latest-data-column": "顯示最新資料欄", "latest-data-column-order": "最新資料欄順序", "entities-table-title": "實體表格標題", - "enable-select-column-display": "啓用要顯示的選擇列", - "display-entity-name": "顯示實體名稱列", - "entity-name-column-title": "實體名稱列標題", - "display-entity-label": "顯示實體標籤列", - "entity-label-column-title": "實體標籤列標題", - "display-entity-type": "顯示實體類型列", - "default-sort-order": "預設排序順序", - "column-width": "列寬 (px or %)", - "default-column-visibility": "預設列能見性", - "column-visibility-visible": "顯示", + "enable-select-column-display": "允許選擇要顯示的欄位", + "display-entity-name": "顯示實體名稱欄", + "entity-name-column-title": "實體名稱欄標題", + "display-entity-label": "顯示實體標籤欄", + "entity-label-column-title": "實體標籤欄標題", + "display-entity-type": "顯示實體類型欄", + "default-sort-order": "預設排序", + "column-width": "欄寬(px 或 %)", + "default-column-visibility": "預設欄可見性", + "column-visibility-visible": "可見", "column-visibility-hidden": "隱藏", - "column-selection-to-display": "'要顯示的列'中的列選擇", - "column-selection-to-display-enabled": "已啟用", - "column-selection-to-display-disabled": "已禁用", - "alarms-table-title": "警告表格標題", - "enable-alarms-selection": "啓動警告選項", - "enable-alarms-search": "啓動警告搜尋", - "enable-alarm-filter": "啓動警告過濾", - "display-alarm-details": "顯示警告詳細資訊", - "allow-alarms-ack": "允許警告確認", - "allow-alarms-clear": "允許警告清除" + "column-selection-to-display": "在「顯示欄位」中選取欄位", + "column-selection-to-display-enabled": "啟用", + "column-selection-to-display-disabled": "停用", + "alarms-table-title": "警報表格標題", + "enable-alarms-selection": "啟用警報選擇", + "enable-alarms-search": "啟用警報搜尋", + "enable-alarm-filter": "啟用警報篩選", + "display-alarm-details": "顯示警報詳細資料", + "allow-alarms-ack": "允許警報確認", + "allow-alarms-clear": "允許警報清除", + "timestamp-column-name": "時間戳記", + "page-step-settings": "每頁筆數選項設定", + "page-step-count": "選項數量", + "page-step-increment": "筆數間隔", + "page-step-count-format-message": "應為 1 到 100 之間的整數值。", + "page-step-increment-format-message": "應為大於或等於 1 的整數值。", + "custom-title": "自訂表頭標題", + "column-visibility-hidden-mobile": "在行動裝置模式下隱藏", + "display-alarm-activity": "顯示警報活動", + "allow-alarms-assign": "允許警報指派", + "columns": "欄", + "column-settings": "欄設定", + "remove-column": "移除欄", + "add-column": "新增欄", + "no-columns": "未設定欄", + "columns-to-display": "顯示欄位", + "table-header": "表頭", + "header-buttons": "表頭按鈕", + "table-buttons": "表格按鈕", + "pagination": "分頁", + "rows": "列", + "timeseries-column-error": "至少應指定一個時間序列欄位", + "alarm-column-error": "至少應指定一個警報欄位", + "table-tabs": "表格標籤頁", + "show-cell-actions-menu-mobile": "在行動裝置模式下顯示儲存格操作下拉選單", + "disable-sorting": "停用排序", + "sort-by": "標籤頁排序方式", + "sort-timestamp-option": "建立時間", + "include-timestamp-in-export": "匯出時包含時間戳記欄", + "use-cell-content-function-on-export": "匯出時使用儲存格內容函式", + "column-export-option": "匯出時包含此欄", + "column-export-option-always": "一律包含", + "column-export-option-only-visible": "僅在此欄可見時", + "column-export-option-never": "一律不包含", + "blob-entities-table-title": "Blob 實體表格標題", + "display-created-time": "顯示建立時間欄", + "display-type": "顯示類型欄", + "display-customer": "顯示客戶欄", + "display-columns": "顯示欄", + "no-data-display-message": "無資料時的替代訊息", + "force-default-blob-entity-type": "強制使用預設 Blob 實體類型", + "scheduler-events-table-title": "排程事件表格標題", + "force-default-event-type": "強制使用預設事件類型" }, "value-source": { "value-source": "值來源", - "predefined-value": "預定義值", - "entity-attribute": "取至實體屬性的值", + "predefined-value": "常數", + "entity-attribute": "實體屬性", "value": "值", - "source-entity-alias": "源實體別名", - "source-entity-attribute": "源實體屬性" + "source-entity-alias": "來源實體別名", + "source-entity-attribute": "來源實體屬性", + "value-required": "值為必填項。", + "key-required": "鍵為必填項。", + "entity-key-required": "實體鍵為必填項。", + "type-constant": "常數", + "type-latest-key": "鍵", + "type-entity": "實體" }, "widget-font": { - "font-family": "字型家族", - "size": "文字大小", - "relative-font-size": "相對文字大小(百分比)", - "font-style": "字體類別", - "font-style-normal": "正體字", - "font-style-italic": "斜體字", - "font-style-oblique": "斜體字", - "font-weight": "文字粗細", - "font-weight-normal": "一般粗細的文字", - "font-weight-bold": "粗體字", - "font-weight-bolder": "更粗的字", - "font-weight-lighter": "更細的字", - "color": "文字顔色", - "shadow-color": "文字陰影顔色" - } - }, - "icon": { - "icon": "圖示", - "select-icon": "選擇圖示", - "material-icons": "素材圖示", - "show-all": "顯示所有圖示" - }, - "phone-input": { - "phone-input-label": "電話號碼", - "phone-input-required": "電話號碼為必填項", - "phone-input-validation": "電話號碼無效或不可能", - "phone-input-pattern": "無效的電話號碼。應採用E.164格式,例如{{phoneNumber}}", - "phone-input-hint": "E.164格式的電話號碼,例如{{phoneNumber}}" - }, - "custom": { - "widget-action": { - "action-cell-button": "動作單元格按鈕", - "row-click": "點選行", - "polygon-click": "單擊多邊形", - "marker-click": "點選標記", - "circle-click": "點擊圓圈", - "tooltip-tag-action": "提示標籤動作", - "node-selected": "在選定的節點上", - "element-click": "在HTML元素上單擊", - "pie-slice-click": "點擊切片", - "row-double-click": "在行上雙擊" - } - }, - "language": { - "language": "語言" + "font-family": "字型族", + "size": "大小", + "relative-font-size": "相對字型大小(百分比)", + "font-style": "樣式", + "font-style-normal": "一般", + "font-style-italic": "斜體", + "font-style-oblique": "傾斜", + "font-weight": "字重", + "font-weight-normal": "一般", + "font-weight-bold": "粗體", + "font-weight-bolder": "更粗", + "font-weight-lighter": "更細", + "color": "顏色", + "shadow-color": "陰影顏色", + "font-settings": "字型設定", + "preview": "預覽", + "line-height": "行高", + "auto": "自動" + }, + "mobile-app-qr-code": { + "configuration-hint": "設定取決於平台主設定中的行動應用程式 QR 碼小工具", + "get-it-on-google-play": "在 Google Play 上取得", + "download-on-the-app-store": "在 App Store 上下載" + }, + "action-button": { + "behavior": "行為", + "on-click": "點選時", + "on-click-hint": "點選按鈕時觸發的操作", + "first-button-click": "第一按鈕點選", + "first-button-click-hint": "按下第一按鈕時的操作。", + "second-button-click": "第二按鈕點選", + "second-button-click-hint": "按下第二按鈕時的操作。", + "button-click-hint": "按下小工具時的操作。" + }, + "command-button": { + "behavior": "行為", + "on-click": "點選時", + "on-click-hint": "點選按鈕時執行的操作。" + }, + "power-button": { + "behavior": "行為", + "power-on": "電源「開」", + "power-on-hint": "執行元件開啟操作。", + "power-off": "電源「關」", + "power-off-hint": "執行元件關閉操作。", + "on-label": "開", + "off-label": "關", + "layout": "版面配置", + "layout-default": "預設", + "layout-simplified": "簡化", + "layout-outlined": "輪廓", + "layout-default-volume": "預設・立體", + "layout-simplified-volume": "簡化・立體", + "layout-outlined-volume": "輪廓・立體", + "layout-default-icon": "預設.圖示", + "layout-simplified-icon": "簡化.圖示", + "layout-outlined-icon": "輪廓.圖示", + "main": "主色", + "background": "對比色", + "button-icon-on": "按鈕圖示「開」", + "button-icon-off": "按鈕圖示「關」", + "power-on-colors": "電源「開」顏色", + "power-off-colors": "電源「關」顏色", + "disabled-colors": "停用顏色", + "button": "按鈕" + }, + "toggle-button": { + "behavior": "行為", + "checked": "選取", + "unchecked": "未選取", + "check": "開啟", + "check-hint": "開啟元件時執行的操作。", + "uncheck": "關閉", + "uncheck-hint": "關閉元件時執行的操作。", + "auto-scale": "自動縮放", + "horizontal-fill": "水平填滿", + "vertical-fill": "垂直填滿", + "button-appearance": "按鈕外觀" + }, + "segmented-button": { + "layout": "版面配置", + "layout-squared": "方形", + "layout-rounded": "圓角", + "card-border": "卡片邊框", + "button-appearance": "按鈕外觀", + "first": "第一", + "second": "第二", + "color-styles": "顏色樣式", + "selected": "已選擇", + "unselected": "未選擇" + }, + "button": { + "layout": "版面配置", + "outlined": "輪廓", + "filled": "填滿", + "underlined": "底線", + "basic": "基礎", + "auto-scale": "自動縮放", + "label": "標籤", + "icon": "圖示", + "border-radius": "邊框圓角", + "color-palette": "調色盤", + "main": "主色", + "background": "對比色", + "border": "邊框", + "custom-styles": "自訂樣式", + "clear-style": "清除樣式", + "shadow": "陰影", + "enabled": "啟用", + "disabled": "停用", + "preview": "預覽", + "copy-style-from": "複製樣式自…" + }, + "value-stepper": { + "behavior": "行為", + "simplified": "簡化", + "filled": "填滿", + "outlined": "輪廓", + "volume": "立體", + "initial-state": "初始狀態", + "initial-state-hint": "取得初始值的操作。", + "disabled-state": "停用狀態", + "disabled-state-hint": "設定元件被停用的條件。", + "right-button-click": "右按鈕點選", + "right-button-click-hint": "按下右按鈕時的操作。", + "left-button-click": "左按鈕點選", + "left-button-click-hint": "按下左按鈕時的操作。", + "auto-scale": "自動縮放", + "value-range": "範圍", + "min-range": "最小值", + "max-range": "最大值", + "value-increment-decrement-step": "值遞增/遞減步長", + "value": "值", + "value-box-background": "值框背景", + "border": "邊框", + "button-appearance": "按鈕外觀", + "left": "左", + "right": "右", + "left-button": "左按鈕", + "right-button": "右按鈕", + "icon": "圖示", + "color-palette": "調色盤", + "main": "主色", + "background": "對比色", + "button-icon-on": "按鈕圖示「開」", + "button-on-colors": "電源「開」顏色", + "disabled-colors": "停用顏色" + }, + "button-state": { + "activated-state": "啟用狀態", + "activated-state-hint": "設定按鈕處於啟用狀態的條件。", + "disabled-state": "停用狀態", + "disabled-state-hint": "設定按鈕被停用的條件。", + "selected-state": "選擇按鈕", + "selected-state-hint": "設定按鈕被選取的條件。", + "enabled": "啟用", + "hovered": "懸停", + "pressed": "按下", + "activated": "已啟用", + "disabled": "已停用", + "initial": "第一按鈕", + "first": "第一", + "second": "第二" + }, + "background": { + "background": "背景", + "background-settings": "背景設定", + "background-type-image": "圖片", + "background-type-color": "顏色", + "image-url": "圖片 URL", + "overlay": "疊加層", + "enable-overlay": "啟用疊加層", + "blur": "模糊", + "preview": "預覽" + }, + "bar-chart": { + "bar-appearance": "柱狀圖外觀", + "label-on-bar": "柱上標籤", + "value-on-bar": "柱上數值", + "bar-chart-style": "柱狀圖樣式", + "bar-axis": "柱狀圖軸" + }, + "polar-area-chart": { + "polar-axis": "極座標軸", + "start-angle": "起始角度", + "polar-area-chart-style": "極座標面積圖樣式" + }, + "battery-level": { + "layout": "版面配置", + "layout-vertical-solid": "垂直.實心", + "layout-horizontal-solid": "水平.實心", + "layout-vertical-divided": "垂直.分段", + "layout-horizontal-divided": "水平.分段", + "icon": "圖示", + "value": "值", + "auto-scale": "自動縮放", + "battery-level-color": "電池電量顏色", + "battery-shape-color": "電池外形顏色", + "battery-level-card-style": "電池電量卡片樣式", + "sections-count": "分段數量" + }, + "signal-strength": { + "value": "值", + "last-update": "最後更新", + "no-signal": "無訊號", + "layout": "版面配置", + "layout-wifi": "Wi-Fi", + "layout-cellular-bar": "蜂窩訊號條", + "icon": "圖示", + "date": "日期", + "active-bars-color": "活躍訊號條顏色", + "inactive-bars-color": "非活躍訊號條顏色", + "signal-strength-card-style": "訊號強度卡片樣式", + "no-signal-rssi-value": "「無訊號」RSSI 值" + }, + "status-widget": { + "behavior": "行為", + "layout": "版面配置", + "layout-default": "預設", + "layout-center": "置中", + "layout-icon": "圖示", + "on": "開", + "off": "關", + "label": "標籤", + "status": "狀態", + "icon": "圖示", + "color-palette": "調色盤", + "disabled-color-palette": "停用調色盤", + "primary": "主要", + "primary-color-hint": "圖示和標籤的顏色", + "secondary": "次要", + "secondary-color-hint": "狀態的顏色", + "background": "背景" + }, + "color": { + "color-settings": "顏色設定", + "color-type-constant": "常數", + "color-type-gradient": "漸層", + "color-type-range": "範圍", + "color-type-function": "函式", + "color": "顏色", + "value-range": "值範圍", + "from": "從", + "to": "到", + "color-function": "顏色函式", + "copy-color-settings-from": "複製顏色設定自…", + "copy-from": "複製自…", + "settings-type": "設定類型", + "basic-mode": "基礎", + "advanced-mode": "進階", + "entity-alias": "實體別名", + "entity-attribute": "實體屬性", + "gradient-color": "漸層顏色", + "gradient-color-min": "顏色", + "gradient-start": "漸層起始顏色", + "gradient-start-min": "起始", + "gradient-end": "漸層結束顏色", + "gradient-end-min": "結束", + "start-value": "起始值", + "end-value": "結束值", + "gradient-type": "漸層類型" + }, + "doughnut": { + "doughnut-appearance": "環形圖外觀", + "layout": "版面配置", + "layout-default": "預設", + "layout-with-total": "顯示總計", + "central-total-value": "中心總計值", + "doughnut-card-style": "環形圖卡片樣式" + }, + "range-chart": { + "chart": "圖表", + "data-zoom": "資料縮放", + "range-chart-appearance": "範圍圖表外觀", + "range-colors": "範圍顏色", + "out-of-range-color": "超出範圍顏色", + "show-range-thresholds": "顯示範圍閾值", + "range-thresholds-settings": "範圍閾值設定", + "fill-area": "填滿區域", + "fill-area-opacity": "填滿區域不透明度", + "range-chart-style": "範圍圖表樣式" + }, + "knob": { + "behavior": "行為", + "initial-value": "初始值", + "initial-value-hint": "取得旋鈕初始值的操作。", + "on-value-change": "值變更時", + "on-value-change-hint": "旋鈕值變更時觸發的操作。", + "range": "範圍", + "min": "最小", + "max": "最大", + "value": "值", + "fallback-initial-value": "備用初始值" + }, + "single-switch": { + "behavior": "行為", + "layout": "版面配置", + "layout-right": "右側", + "layout-left": "左側", + "layout-centered": "置中", + "auto-scale": "自動縮放", + "label": "標籤", + "icon": "圖示", + "switch-color": "開關顏色", + "on": "開", + "off": "關", + "disabled": "停用", + "tumbler-color": "撥動器顏色", + "on-label": "開啟標籤", + "off-label": "關閉標籤", + "switch": "開關" + }, + "slider": { + "behavior": "行為", + "initial-value": "初始值", + "initial-value-hint": "取得滑塊初始值的操作。", + "on-value-change": "值變更時", + "on-value-change-hint": "滑塊值變更時觸發的操作。", + "layout": "版面配置", + "layout-default": "預設", + "layout-extended": "延伸", + "layout-simplified": "簡化", + "auto-scale": "自動縮放", + "icon": "圖示", + "value": "值", + "range": "範圍", + "min": "最小", + "max": "最大", + "range-ticks": "範圍刻度", + "tick-marks": "刻度標記", + "colors": "顏色", + "main": "主要", + "background": "背景", + "left-icon": "左側圖示", + "right-icon": "右側圖示", + "slider": "滑塊" + }, + "value-card": { + "layout": "版面配置", + "layout-square": "方形", + "layout-vertical": "垂直", + "layout-centered": "置中", + "layout-simplified": "簡化", + "layout-horizontal": "水平", + "layout-horizontal-reversed": "水平反向", + "label": "標籤", + "icon": "圖示", + "value": "值", + "date": "日期", + "value-card-style": "值卡片樣式", + "auto-scale": "自動縮放" + }, + "label-card": { + "auto-scale": "自動縮放", + "label": "標籤", + "icon": "圖示", + "label-card-style": "標籤卡片樣式" + }, + "label-value-card": { + "value": "值", + "label-value-card-style": "標籤和值卡片樣式" + }, + "liquid-level-card": { + "layout-simple": "簡單", + "layout-percentage": "百分比", + "layout-absolute": "絕對值", + "layout": "版面配置", + "background-overlay": "值背景覆蓋", + "total-volume": "總容量", + "total-volume-units": "總容量單位", + "tank": "容器", + "shape": "形狀", + "datasource-units": "來源單位", + "widget-units": "小工具單位", + "decimals": "小數位數", + "liquid": "液體", + "liquid-color": "液體顏色", + "value": "值", + "value-font": "值字型", + "level": "液位", + "last-update": "最後更新", + "shape-by-attribute": "透過屬性名稱設定容器形狀", + "tooltip-background": "背景顏色", + "background-blur": "背景模糊", + "tank-color": "容器顏色", + "static": "靜態", + "see-examples": "檢視示例", + "attribute": "屬性", + "shape-type": "類型", + "v-oval": "垂直橢圓", + "v-cylinder": "垂直圓柱", + "v-capsule": "垂直膠囊", + "rectangle": "矩形", + "h-oval": "水平橢圓", + "h-ellipse": "水平橢圓形", + "h-dish-ends": "水平碟形封頭", + "h-cylinder": "水平圓柱", + "h-capsule": "水平膠囊", + "h-elliptical_2_1": "水平 2:1 橢圓形", + "icon": "卡片圖示", + "title": "卡片標題", + "units": "單位", + "color-and-font": "顏色和字型", + "shape-attribute-name": "屬性名稱", + "total-volume-required": "總容量為必填項。", + "attribute-name-required": "屬性名稱為必填項。", + "attribute-key-not-set": "屬性鍵「{{attributeName}}」未設定", + "attribute-key-invalid": "屬性鍵「{{attributeName}}」無效" + }, + "aggregated-value-card": { + "subtitle": "副標題", + "chart": "圖表", + "values": "值", + "value-appearance": "值外觀", + "position": "位置", + "position-center": "置中", + "position-right-top": "右上", + "position-right-bottom": "右下", + "position-left-top": "左上", + "position-left-bottom": "左下", + "font": "字型", + "color": "顏色", + "arrow": "箭頭", + "display-up-down-arrow": "顯示上/下箭頭", + "add-value": "新增值", + "remove-value": "移除值", + "no-values": "未設定值", + "aggregation": "彙總", + "aggregated-value-card-style": "彙總值卡片樣式", + "auto-scale": "自動縮放" + }, + "value-chart-card": { + "layout": "版面配置", + "layout-left": "左", + "layout-right": "右", + "auto-scale": "自動縮放", + "icon": "圖示", + "value": "值", + "chart": "圖表", + "value-chart-card-style": "值圖表卡片樣式" + }, + "progress-bar": { + "layout": "版面配置", + "layout-default": "預設", + "layout-simplified": "簡化", + "auto-scale": "自動縮放", + "icon": "圖示", + "value": "值", + "range": "範圍", + "min": "最小值", + "max": "最大值", + "range-ticks": "範圍刻度", + "bar": "條形", + "bar-color": "條形顏色", + "bar-background": "條形背景", + "progress-bar-card-style": "進度條卡片樣式" + }, + "notification": { + "max-notification-display": "最大通知顯示數量", + "counter": "計數器", + "counter-hint": "當啟用「小工具標題」時將顯示計數器", + "icon": "圖示", + "counter-value": "值", + "counter-color": "顏色", + "notification-button": "通知按鈕", + "button-view-all": "檢視全部", + "button-filter": "篩選", + "type-filter": "類型篩選", + "button-mark-read": "全部標記為已讀", + "notification-types": "通知類型", + "notification-type": "通知類型", + "search-type": "搜尋類型", + "any-type": "任意類型" + }, + "alarm-count": { + "alarm-count-card-style": "警報計數卡片樣式" + }, + "entity-count": { + "entity-count-card-style": "實體計數卡片樣式" + }, + "count": { + "layout": "版面配置", + "layout-column": "欄", + "layout-row": "列", + "label": "標籤", + "icon": "圖示", + "icon-background": "圖示背景", + "value": "值", + "chevron": "箭頭指示", + "auto-scale": "自動縮放" + }, + "latest-chart": { + "total": "總計", + "auto-scale": "自動縮放", + "clockwise-layout": "順時針版面配置", + "sort-series": "按標籤排序系列", + "tooltip-value-type-absolute": "絕對值", + "tooltip-value-type-percentage": "百分比" + }, + "pie-chart": { + "pie-chart-appearance": "圓形圖外觀", + "label": "標籤", + "border": "邊框", + "radius": "半徑", + "pie-chart-card-style": "圓形圖卡片樣式" + }, + "radar-chart": { + "radar-appearance": "雷達圖外觀", + "shape": "形狀", + "shape-polygon": "多邊形", + "shape-circle": "圓形", + "color": "顏色", + "line": "線條", + "points": "資料點", + "points-label": "資料點標籤", + "radar-axis": "雷達軸", + "axis-label": "軸標籤", + "ticks-label": "刻度標籤", + "radar-chart-style": "雷達圖樣式", + "max-axes-scaling": "最大軸縮放", + "max-axes-scaling-hint": "選擇每個雷達軸是有獨立的最大值(獨立)還是共享基於小工具資料集的所有軸中的最大值(共用)。", + "separate": "獨立", + "common": "共用" + }, + "time-series-chart": { + "chart": "圖表", + "chart-style": "圖表樣式", + "data-zoom": "資料縮放", + "data-zoom-update-timewindow": "縮放時更新時間範圍", + "reset-timewindow": "返回原始時間範圍", + "stack-mode": "堆疊模式", + "stack-mode-hint": "在圖表上堆疊系列。具有相同單位的系列將疊放在一起。", + "axes": "軸", + "y-axes": "Y 軸", + "line-type": "線條類型", + "line-width": "線條寬度", + "type-line": "折線", + "type-bar": "柱狀", + "type-point": "散點", + "no-aggregation-bar-width-strategy": "非彙總資料的柱寬策略", + "no-aggregation-bar-width-strategy-group": "分組", + "no-aggregation-bar-width-strategy-separate": "獨立", + "bar-group-width": "柱組寬度", + "bar-width": "柱寬度", + "bar-width-relative": "時間視窗百分比", + "bar-width-absolute": "絕對值(毫秒)", + "comparison": { + "comparison": "對比", + "comparison-hint": "對比僅適用於歷史資料!", + "show": "顯示", + "settings": "對比設定", + "show-values-for-comparison": "顯示用於對比的歷史資料", + "comparison-values-label": "對比資料鍵標籤", + "comparison-values-label-auto": "自動", + "comparison-data-color": "對比資料顏色" + }, + "threshold": { + "thresholds": "閾值", + "source": "來源", + "key-value": "鍵 / 值", + "no-thresholds": "未設定閾值", + "add-threshold": "新增閾值", + "type-constant": "常數", + "type-latest-key": "鍵", + "type-entity": "實體", + "threshold-settings": "閾值設定", + "remove-threshold": "移除閾值", + "threshold-value-required": "閾值為必填項。", + "key-required": "鍵為必填項。", + "entity-key-required": "實體鍵為必填項。", + "line-appearance": "線條外觀", + "line-color": "線條顏色", + "start-symbol": "起始符號", + "end-symbol": "結束符號", + "symbol-size": "大小", + "label": "標籤", + "label-position-start": "起始", + "label-position-middle": "中間", + "label-position-end": "末尾", + "label-position-inside-start": "內部起始", + "label-position-inside-start-top": "內部起始上方", + "label-position-inside-start-bottom": "內部起始下方", + "label-position-inside-middle": "內部中間", + "label-position-inside-middle-top": "內部中間上方", + "label-position-inside-middle-bottom": "內部中間下方", + "label-position-inside-end": "內部末尾", + "label-position-inside-end-top": "內部末尾上方", + "label-position-inside-end-bottom": "內部末尾下方", + "label-background": "標籤背景" + }, + "state": { + "states": "狀態", + "label": "標籤", + "ticks-value": "刻度值", + "source": "來源", + "value-range": "值 / 範圍", + "no-states": "未設定狀態", + "add-state": "新增狀態", + "type-constant": "常數", + "type-range": "範圍", + "from": "從", + "to": "到", + "remove-state": "移除狀態" + }, + "grid": { + "grid": "網格", + "background-color": "背景顏色", + "border": "邊框" + }, + "axis": { + "axes": "軸", + "x-axis": "X 軸", + "y-axis": "Y 軸", + "y-axis-settings": "Y 軸設定", + "comparison-x-axis-settings": "對比 X 軸設定", + "remove-y-axis": "移除 Y 軸", + "id": "識別碼", + "label": "標籤", + "position": "位置", + "position-left": "左", + "position-right": "右", + "position-top": "上", + "position-bottom": "下", + "tick-labels": "刻度標籤", + "ticks-formatter-function": "刻度格式化函式", + "ticks-generator-function": "刻度產生器函式", + "show-ticks": "顯示刻度", + "show-line": "顯示線條", + "show-split-lines": "顯示分隔線", + "show-split-lines-x-axis-hint": "啟用後,圖表上將顯示垂直線。", + "show-split-lines-y-axis-hint": "啟用後,圖表上將顯示水平線。", + "ticks-interval": "刻度間隔", + "ticks-interval-hint": "強制設定軸的分段間隔。", + "split-number": "分段數", + "split-number-hint": "軸被分割的段數。", + "min": "最小值", + "max": "最大值", + "show": "顯示", + "add-y-axis": "新增 Y 軸" + }, + "series": { + "legend-settings": "圖例設定", + "show-in-legend": "在圖例中顯示", + "show-in-legend-hint": "在圖例中顯示系列名稱和資料。", + "hidden-by-default": "預設隱藏", + "hidden-by-default-hint": "預設在圖例中隱藏系列。", + "series-type": "系列類型", + "type": "類型", + "type-line": "折線", + "type-bar": "柱狀", + "line": { + "line": "線條", + "show-line": "顯示線條", + "step-line": "階梯線", + "step-type-start": "起始", + "step-type-middle": "中間", + "step-type-end": "末尾", + "smooth-line": "平滑線" + }, + "point": { + "points": "資料點", + "show-points": "顯示資料點", + "point-label": "資料點標籤", + "point-label-hint": "在系列資料點上方顯示帶有值的標籤。", + "point-label-background": "資料點標籤背景", + "point-shape": "資料點形狀", + "point-size": "資料點大小" + } + } + }, + "wind-speed-direction": { + "layout": "版面配置", + "layout-default": "預設", + "layout-advanced": "進階", + "layout-simplified": "簡化", + "values": "值", + "wind-direction": "風向", + "center-value": "中心值", + "icon": "圖示", + "arrow": "箭頭", + "ticks": "刻度", + "labels-type": "標籤類型", + "directional-names": "方向名稱", + "degrees": "度數", + "major-ticks": "主刻度", + "minor-ticks": "次刻度", + "wind-speed-direction-card-style": "風速和風向卡片樣式", + "ticks-color": "刻度顏色", + "ticks-labels-type": "刻度標籤類型", + "arrow-color": "箭頭顏色" + }, + "rpc-state": { + "initial-state": "初始狀態", + "initial-state-hint": "取得元件初始狀態(開/關)的操作。", + "disabled-state": "停用狀態", + "disabled-state-hint": "設定元件被停用的條件。", + "turn-on": "開啟", + "turn-on-hint": "當滑塊切換為「開」時觸發的操作", + "turn-off": "關閉", + "turn-off-hint": "當滑塊切換為「關」時觸發的操作", + "on": "開", + "off": "關", + "disabled": "已停用" + }, + "value-action": { + "do-nothing": "不執行操作", + "execute-rpc": "執行 RPC", + "get-attribute": "取得屬性", + "set-attribute": "設定屬性", + "get-time-series": "取得時間序列", + "get-alarm-status": "取得警報狀態", + "get-dashboard-state": "取得儀表板狀態識別碼", + "get-dashboard-state-object": "取得儀表板狀態物件", + "add-time-series": "新增時間序列", + "execute-rpc-text": "執行 RPC 方法「{{methodName}}」", + "get-time-series-text": "使用時間序列「{{key}}」", + "get-attribute-text": "使用屬性「{{key}}」", + "get-alarm-status-text": "使用警報狀態", + "get-dashboard-state-text": "使用儀表板狀態", + "get-dashboard-state-object-text": "使用儀表板狀態物件", + "when-dashboard-state-is-text": "當儀表板狀態識別碼為「{{state}}」時", + "when-dashboard-state-function-is-text": "當 f(儀表板狀態識別碼) 為「{{state}}」時", + "when-dashboard-state-object-function-is-text": "當 f(儀表板狀態物件) 為「{{state}}」時", + "set-attribute-to-value-text": "將屬性「{{key}}」設定為:{{value}}", + "add-time-series-value-text": "新增時間序列「{{key}}」值:{{value}}", + "set-attribute-text": "設定屬性「{{key}}」", + "add-time-series-text": "新增時間序列「{{key}}」", + "action": "操作", + "value": "值", + "init-value-hint": "在裝置傳送資料之前將設定的值。", + "method": "方法", + "method-name-required": "方法名稱為必填項。", + "request-timeout-ms": "RPC 請求逾時(毫秒)", + "request-timeout-required": "請求逾時為必填項。", + "min-request-timeout-error": "請求逾時值應大於或等於 5000 毫秒(5 秒)。", + "request-persistent": "RPC 請求持久化", + "persistent-polling-interval": "持久化輪詢間隔(毫秒)", + "persistent-polling-interval-hint": "取得持久化 RPC 命令回應的輪詢間隔(毫秒)", + "persistent-polling-interval-required": "持久化輪詢間隔為必填項。", + "min-persistent-polling-interval-error": "持久化輪詢間隔值應大於或等於 1000 毫秒(1 秒)。", + "attribute-scope": "屬性範圍", + "attribute-key": "屬性鍵", + "attribute-key-required": "屬性鍵為必填項。", + "time-series-key": "時間序列鍵", + "time-series-key-required": "時間序列鍵為必填項。", + "action-result-converter": "操作結果轉換器", + "converter-none": "無", + "converter-function": "函式", + "converter-constant": "常數", + "converter-value": "值", + "parse-value-function": "解析值函式", + "state-when-result-is": "「{{state}}」的條件:結果等於", + "parameters": "參數", + "convert-value-function": "轉換值函式", + "error": { + "target-entity-is-not-set": "未設定目標實體!", + "failed-to-perform-action": "執行「{{ actionLabel }}」操作失敗。", + "invalid-attribute-scope": "類型為「{{entityType}}」的實體不支援「{{scope}}」屬性範圍。" + } + }, + "home": { + "no-data-available": "暫無資料" + }, + "system-info": { + "cpu": "CPU", + "ram": "RAM", + "disk": "磁碟", + "cpu-warning-text": "CPU 使用率偏高。為避免系統故障,請最佳化系統效能。", + "cpu-critical-text": "CPU 使用率嚴重偏高。為避免系統故障,請最佳化系統效能。", + "ram-warning-text": "RAM 剩餘空間不足。為避免系統故障,請最佳化系統效能或增加 RAM 容量。", + "ram-critical-text": "RAM 剩餘空間嚴重不足。為避免系統故障,請最佳化系統效能或增加 RAM 容量。", + "disk-warning-text": "磁碟空間不足。為避免資料遺失,請釋放或擴充磁碟空間。", + "disk-critical-text": "磁碟空間嚴重不足。為避免資料遺失,請釋放或擴充磁碟空間。" + }, + "cluster-info": { + "service-id": "服務識別碼", + "service-type": "服務類型", + "no-data": "暫無資料" + }, + "transport-messages": { + "title": "傳輸訊息", + "info": "來自裝置的所有訊息" + }, + "activity": { + "title": "活動" + }, + "documentation": { + "title": "文件", + "add-link": "新增連結", + "add-link-title": "新增文件連結", + "name": "名稱", + "name-required": "名稱為必填項。", + "link": "連結", + "link-required": "連結為必填項。", + "columns": "欄數" + }, + "quick-links": { + "title": "快速連結", + "add-link": "新增連結", + "add-link-title": "新增快速連結", + "quick-link": "快速連結", + "quick-link-required": "快速連結為必填項。", + "no-links-matching": "找不到與「{{name}}」符合的連結。", + "columns": "欄數" + }, + "iot-hub": { + "title-text": "運用社群驗證的資源加快建置,資源來自" + }, + "recent-dashboards": { + "title": "儀表板", + "last": "最近檢視", + "starred": "已收藏", + "name": "名稱", + "last-viewed": "最近檢視", + "no-last-viewed-dashboards": "暫無最近檢視的儀表板" + }, + "configured-features": { + "title": "已設定功能", + "info": "需要設定的功能狀態", + "email-feature": "電子郵件", + "sms-feature": "簡訊", + "slack-feature": "Slack", + "oauth2-feature": "OAuth 2", + "2fa-feature": "雙因素驗證", + "feature-configured": "功能已設定。\n點選進行設定", + "feature-not-configured": "功能未設定。\n點選進行設定", + "white-labeling-feature": "白標" + }, + "version-info": { + "title": "版本", + "contact-us": "聯絡我們", + "current-version": "目前版本", + "current": "目前", + "available-version": "可用版本", + "available": "可用", + "upgrade": "升級", + "version-is-up-to-date": "版本已是最新" + }, + "usage-info": { + "title": "使用情況", + "entities": "實體", + "api-calls": "API 呼叫" + }, + "functions": { + "title": "功能", + "pe-feature-tooltip": "僅適用於 ThingsBoard\nProfessional Edition", + "switch-to-pe": "切換到 PE", + "alarms": "警報", + "dashboards": "儀表板", + "entities-and-relations": "實體與關聯", + "profiles": "設定檔", + "advanced-features": "進階功能", + "notification-center": "通知中心", + "api-usage": "API 使用情況", + "customers": "客戶", + "customers-hierarchy": "客戶層級", + "roles-and-permissions": "角色與權限", + "groups": "群組", + "integrations": "整合", + "solution-templates": "解決方案範本", + "scheduler": "排程器", + "white-labeling": "白標" + }, + "devices": { + "view-docs": "檢視文件", + "inactive": "不活躍", + "active": "活躍", + "total": "總計" + }, + "alarms": { + "critical": "嚴重", + "assigned-to-me": "指派給我", + "total": "總計" + }, + "getting-started": { + "get-started": "開始使用", + "finish": "完成", + "done-welcome-title": "歡迎加入", + "done-welcome-text": "您做得非常棒!", + "sys-admin": { + "step1": { + "title": "建立租戶和租戶管理員", + "content": "

    租戶是擁有或管理裝置和資產的個人或組織。租戶可以擁有多個租戶管理員使用者、客戶、裝置和資產。

    租戶管理員可以在租戶帳戶內建立和管理裝置、資產、客戶和儀表板。

    請參考以下文件瞭解操作方法:

    ", + "how-to-create-tenant": "如何建立租戶和租戶管理員" + }, + "step2": { + "title": "設定功能:郵件伺服器", + "content": "

    郵件伺服器設定對於使用者啟用、密碼恢復和警報通知傳送至關重要。

    請參考以下文件瞭解操作方法:

    ", + "how-to-configure-mail-server": "如何設定郵件伺服器" + }, + "step3": { + "title": "設定功能:簡訊提供者", + "content": "

    設定簡訊提供者,以便透過簡訊通知客戶有關警報的資訊。

    請參考以下文件瞭解操作方法:

    ", + "how-to-configure-sms-provider": "如何設定簡訊提供者" + }, + "step4": { + "title": "設定功能:白標", + "content": "

    自訂公司或產品的標誌與配色,無須編寫程式或重新啟動服務。

    請參考以下文件瞭解操作方法:

    ", + "how-to-configure-2fa": "如何設定雙因素驗證", + "how-to-configure-white-labeling": "如何設定白標" + }, + "step5": { + "title": "設定功能:雙因素驗證", + "content": "

    透過雙因素驗證提升平台帳戶的安全性。

    請參考以下文件瞭解操作方法:

    ", + "how-to-configure-oauth2": "如何設定 OAuth 2", + "how-to-configure-2fa": "如何設定雙因素驗證" + }, + "step6": { + "title": "設定功能:OAuth 2", + "content": "

    透過 OAuth 2.0 的單一登入功能,簡化租戶與客戶使用者的登入流程。

    請參考以下文件瞭解操作方法:

    ", + "how-to-configure-notifications": "如何設定 Slack", + "how-to-configure-oauth2": "如何設定 OAuth 2" + }, + "step7": { + "title": "設定功能:Slack", + "content": "

    依照您設定的通知規則,透過 Slack 傳送通知給租戶與客戶使用者。

    請參考以下文件瞭解操作方法:

    ", + "how-to-configure-notifications": "如何設定 Slack" + } + }, + "tenant-admin": { + "step1": { + "title": "建立裝置", + "content": "

    讓我們透過介面將您的第一個裝置接入平台。請參考以下文件瞭解操作方法:

    ", + "how-to-create-device": "如何建立裝置" + }, + "step2": { + "title": "連線裝置", + "content-before": "

    要連線裝置,您需要取得裝置認證資訊。本指南建議使用預設自動產生的認證資訊,即存取權杖。

    • 前往裝置清單
    • 點選裝置資料列以開啟裝置詳細資料
    • 點選「複製存取權杖」按鈕

    使用簡單命令透過 HTTP 釋出資料。請將 $ACCESS_TOKEN 替換為您的裝置存取權杖:

    ", + "ubuntu": { + "install-curl": "為 Ubuntu 安裝 cURL:" + }, + "macos": { + "install-curl": "為 MacOS 安裝 cURL:" + }, + "windows": { + "install-curl": "從 Windows 10 b17063 開始,cURL 已預設可用。" + }, + "replace-access-token": "將 $ACCESS_TOKEN 替換為您的裝置權杖:", + "content-after": "

    您也可以使用其他協定,例如 MQTT、CoAP 等。

    請參考以下文件瞭解操作方法:

    ", + "how-to-connect-device": "如何連線裝置" + }, + "step3": { + "title": "建立儀表板", + "content": "

    建立儀表板以視覺化來自資產、裝置等實體的資料。

    請參考以下文件瞭解操作方法:

    ", + "how-to-create-dashboard": "如何建立儀表板" + }, + "step4": { + "title": "設定警報規則", + "alarm-rules": "警報規則", + "content": "

    讓我們在溫度達到 25°C 時觸發警報。請參考以下文件瞭解操作方法:

    ", + "how-to-configure-alarm-rules": "如何設定警報規則" + }, + "step5": { + "title": "建立警報", + "content-before": "

    要觸發警報,請傳送 26°C 或更高的遙測值。

    ", + "replace-access-token": "將 $ACCESS_TOKEN 替換為您的裝置權杖:", + "content-after": "

    請參考以下文件瞭解操作方法:

    ", + "how-to-create-alarm": "如何建立警報" + }, + "step6": { + "title": "建立客戶並共用儀表板", + "content": "

    透過建立終端使用者儀表板,客戶使用者只能檢視自己的裝置,其他客戶的資料將被隱藏。

    請參考以下文件瞭解操作方法:

    ", + "how-to-create-customer-and-assign-dashboard": "如何建立客戶並指派儀表板", + "how-to-create-customer-and-share-dashboard": "如何建立客戶並共用儀表板" + } + } + }, + "html-container": { + "java-script": "JavaScript", + "js-function": "JavaScript 函式", + "html": "HTML", + "angular-html-template": "Angular HTML 範本", + "css": "CSS", + "container-type": "容器類型", + "type-plain": "純 HTML", + "type-angular": "Angular", + "resources": "資源", + "no-resources": "尚未設定資源" + }, + "api-usage": { + "api-usage": "API 使用情況", + "label": "標籤", + "state-name": "狀態名稱", + "status": "狀態", + "status-required": "狀態為必填項。", + "limit": "最大限制", + "limit-required": "最大限制為必填項。", + "current-number": "目前數量", + "current-number-required": "目前數量為必填項。", + "add-key": "新增鍵", + "no-key": "無鍵", + "delete-key": "刪除鍵", + "target-dashboard-state": "目標儀表板狀態", + "go-to-main-state": "前往預設檢視" + }, + "scheduler": { + "enabled-scheduler-event-views": "啟用的排程事件檢視", + "enabled-scheduler-event-views-both": "兩者皆啟用", + "enabled-scheduler-event-views-list": "僅清單檢視", + "enabled-scheduler-event-views-calendar": "僅行事曆檢視", + "display-name": "顯示名稱", + "type-name": "類型名稱", + "display-originator-select": "顯示發起者實體選擇器", + "display-message-type-select": "顯示訊息類型選擇器", + "display-metadata-table": "顯示訊息詮釋資料表格", + "configuration-html-template": "設定用 HTML 範本", + "custom-event-types": "自訂事件類型", + "no-custom-event-types": "尚未設定自訂事件類型", + "add-custom-event-type": "新增自訂事件類型" + }, + "alignment": { + "horizontal-alignment": "水平對齊", + "vertical-alignment": "垂直對齊", + "alignment": "對齊", + "horizontal": "水平", + "vertical": "垂直", + "align-left": "靠左對齊", + "align-center": "水平置中", + "align-right": "靠右對齊", + "justify": "左右對齊", + "align-top": "靠上對齊", + "align-middle": "垂直置中", + "align-bottom": "靠下對齊" + }, + "license-info": { + "title": "授權資訊", + "view-all": "檢視全部", + "license-portal": "授權入口網站", + "devices-info": "裝置:{count} / { max, plural, =0 {∞} other {#} }", + "assets-info": "資產:{count} / { max, plural, =0 {∞} other {#} }", + "edges-info": "Edge:{count} / { max, plural, =0 {∞} other {#} }", + "dashboards-info": "儀表板:{count} / { max, plural, =0 {∞} other {#} }", + "integrations-info": "整合:{count} / { max, plural, =0 {∞} other {#} }", + "community-support": "社群支援", + "white-labeling": "白標", + "unlimited-datapoints-and-messages": "不限資料點與訊息數量", + "unlimited-api-calls": "不限 API 呼叫次數" + } + }, + "icon": { + "icon": "圖示", + "select-icon": "選擇圖示", + "material-icons": "Material 圖示", + "show-all": "顯示全部圖示", + "icons": "圖示", + "custom": "自訂", + "search-icon": "搜尋圖示", + "no-icons-found": "找不到與「{{iconSearch}}」符合的圖示" + }, + "phone-input": { + "phone-input-label": "電話號碼", + "phone-input-required": "電話號碼為必填項", + "phone-input-validation": "電話號碼格式或長度無效", + "phone-input-pattern": "電話號碼無效。應為 E.164 格式,例如 {{phoneNumber}}", + "phone-input-hint": "E.164 格式的電話號碼,例如 {{phoneNumber}}" + }, + "custom": { + "widget-action": { + "action-cell-button": "操作儲存格按鈕", + "row-click": "按一下資料列時", + "polygon-click": "按一下多邊形時", + "marker-click": "按一下標記時", + "circle-click": "按一下圓形時", + "tooltip-tag-action": "提示標籤操作", + "node-selected": "選取節點時", + "element-click": "按一下 HTML 元素時", + "pie-slice-click": "按一下扇區時", + "row-double-click": "按兩下資料列時", + "cell-click": "按一下儲存格時", + "cell-double-click": "按兩下儲存格時", + "card-click": "按一下卡片時", + "click": "按一下時" + } + }, + "language": { + "language": "語言", + "auto": "自動", + "locales": { + "ar_AE": "العربية (الإمارات العربية المتحدة)", + "ca_ES": "català (Espanya)", + "cs_CZ": "čeština (Česko)", + "da_DK": "dansk (Danmark)", + "de_DE": "Deutsch (Deutschland)", + "el_GR": "Ελληνικά (Ελλάδα)", + "en_US": "English (United States)", + "es_ES": "español (España)", + "fa_IR": "فارسی (ایران)", + "fr_FR": "français (France)", + "hi_IN": "हिन्दी (भारत)", + "it_IT": "italiano (Italia)", + "ja_JP": "日本語 (日本)", + "ka_GE": "ქართული (საქართველო)", + "ko_KR": "한국어 (대한민국)", + "lt_LT": "lietuvių (Lietuva)", + "lv_LV": "latviešu (Latvija)", + "nl_BE": "Nederlands (België)", + "nl_NL": "Nederlands (Nederland)", + "no_NO": "norsk (Norge)", + "pl_PL": "polski (Polska)", + "pt_BR": "português (Brasil)", + "ro_RO": "română (România)", + "sl_SI": "slovenščina (Slovenija)", + "tr_TR": "Türkçe (Türkiye)", + "uk_UA": "українська (Україна)", + "zh_CN": "中文 (中国)", + "zh_TW": "中文 (台灣)" + } + }, + "account": { + "account": "帳戶", + "notification-settings": "通知設定" + }, + "alarm": { + "alarm": "警報", + "alarm-list": "警報清單", + "alarms": "警報", + "all-alarms": "所有警報", + "select-alarm": "選擇警報", + "no-alarms-matching": "找不到符合「{{entity}}」的警報。", + "alarm-required": "警報為必填項", + "alarm-filter": "警報篩選器", + "filter": "篩選器", + "alarm-status": "警報狀態", + "alarm-status-list": "警報狀態清單", + "any-status": "任意狀態", + "search-status": { + "ANY": "任意", + "ACTIVE": "未清除", + "CLEARED": "已清除", + "ACK": "已確認", + "UNACK": "未確認" + }, + "display-status": { + "ACTIVE_UNACK": "未清除、未確認", + "ACTIVE_ACK": "未清除、已確認", + "CLEARED_UNACK": "已清除、未確認", + "CLEARED_ACK": "已清除、已確認" + }, + "no-alarms-prompt": "找不到警報", + "created-time": "建立時間", + "type": "類型", + "severity": "嚴重程度", + "originator": "發起者", + "originator-type": "發起者類型", + "details": "詳細資料", + "originator-label": "發起者標籤", + "assign": "指派", + "assignments": "指派記錄", + "assignee": "受理人", + "assignee-id": "受理人識別碼", + "assignee-first-name": "受理人名字", + "assignee-last-name": "受理人姓氏", + "assignee-email": "受理人電子郵件", + "unassigned": "未指派", + "user-deleted": "使用者已刪除", + "assignee-not-set": "全部", + "status": "狀態", + "alarm-details": "警報詳細資料", + "start-time": "開始時間", + "assign-time": "指派時間", + "end-time": "結束時間", + "ack-time": "確認時間", + "clear-time": "清除時間", + "duration": "持續時間", + "alarm-severity": "警報嚴重程度", + "alarm-severity-list": "警報嚴重程度清單", + "any-severity": "任意嚴重程度", + "severity-critical": "嚴重", + "severity-major": "重要", + "severity-minor": "次要", + "severity-warning": "警告", + "severity-indeterminate": "不確定", + "acknowledge": "確認", + "clear": "清除", + "delete": "刪除", + "search": "搜尋警報", + "selected-alarms": "已選擇 { count, plural, =1 {1 個警報} other {# 個警報} }", + "no-data": "無資料可顯示", + "polling-interval": "警報輪詢間隔(秒)", + "polling-interval-required": "警報輪詢間隔為必填項。", + "min-polling-interval-message": "允許的最小輪詢間隔為 1 秒。", + "aknowledge-alarms-title": "確認 { count, plural, =1 {1 個警報} other {# 個警報} }", + "aknowledge-alarms-text": "確定要確認 { count, plural, =1 {1 個警報} other {# 個警報} }嗎?", + "aknowledge-alarm-title": "確認警報", + "aknowledge-alarm-text": "確定要確認警報嗎?", + "selected-alarms-are-acknowledged": "所選警報已被確認", + "clear-alarms-title": "清除 { count, plural, =1 {1 個警報} other {# 個警報} }", + "clear-alarms-text": "確定要清除 { count, plural, =1 {1 個警報} other {# 個警報} }嗎?", + "clear-alarm-title": "清除警報", + "clear-alarm-text": "確定要清除警報嗎?", + "delete-alarms-title": "刪除 { count, plural, =1 {1 個警報} other {# 個警報} }", + "delete-alarms-text": "確定要刪除 { count, plural, =1 {1 個警報} other {# 個警報} }嗎?", + "selected-alarms-are-cleared": "所選警報已被清除", + "alarm-status-filter": "警報狀態篩選器", + "alarm-filter-title": "警報篩選器", + "assigned": "已指派", + "filter-title": "篩選器", + "max-count-load": "最大載入警報數量(0 表示無限制)", + "max-count-load-required": "最大載入警報數量為必填項。", + "max-count-load-error-min": "最小值為 0。", + "fetch-size": "取得數量", + "fetch-size-required": "取得數量為必填項。", + "fetch-size-error-min": "最小值為 10。", + "alarm-types": "警報類型", + "alarm-type-list": "警報類型清單", + "any-type": "任意類型", + "assigned-to-current-user": "已指派給目前使用者", + "assigned-to-me": "指派給我", + "search-propagated-alarms": "搜尋傳播的警報", + "comments": "警報留言", + "show-more": "顯示更多", + "additional-info": "附加資訊", + "alarm-type": "警報類型", + "enter-alarm-type": "輸入警報類型", + "no-alarm-types-matching": "找不到符合「{{entitySubtype}}」的警報類型。", + "alarm-type-list-empty": "未選擇警報類型。", + "system-comments": { + "acked-by-user": "警報已由使用者 {{userName}} 確認", + "cleared-by-user": "警報已由使用者 {{userName}} 清除", + "assigned-to-user": "警報已由使用者 {{userName}} 指派給使用者 {{assigneeName}}", + "unassigned-to-user": "警報已由使用者 {{userName}} 取消指派", + "unassigned-from-deleted-user": "警報已取消指派,因為使用者 {{userName}} 已被刪除", + "comment-deleted": "使用者 {{userName}} 刪除了留言", + "severity-changed": "警報嚴重程度已從「{{oldSeverity}}」更新為「{{newSeverity}}」" + } + }, + "alarm-activity": { + "add": "新增留言...", + "alarm-comment": "警報留言", + "comments": "留言", + "delete-alarm-comment": "確定要刪除此留言嗎?", + "refresh": "重新整理", + "oldest-first": "最早優先", + "newest-first": "最新優先", + "activity": "活動", + "export": "匯出為 CSV", + "author": "作者", + "created-date": "建立日期", + "edited-date": "編輯日期", + "text": "文字", + "system": "系統" + }, + "api-limit": { + "cassandra-write-queries-core": "REST API Cassandra 寫入查詢", + "cassandra-read-queries-core": "REST API 和 WS 遙測 Cassandra 讀取查詢", + "cassandra-write-queries-rule-engine": "規則引擎遙測 Cassandra 寫入查詢", + "cassandra-read-queries-rule-engine": "規則引擎遙測 Cassandra 讀取查詢", + "cassandra-write-queries-monolith": "單體遙測 Cassandra 寫入查詢", + "cassandra-read-queries-monolith": "單體遙測 Cassandra 讀取查詢", + "entity-version-creation": "實體版本建立", + "entity-version-load": "實體版本載入", + "notification-requests": "通知請求", + "notification-requests-per-rule": "每條規則的通知請求", + "rest-api-requests": "REST API 請求", + "rest-api-requests-per-customer": "每個客戶的 REST API 請求", + "transport-messages": "傳輸訊息", + "transport-messages-per-device": "每個裝置的傳輸訊息", + "transport-messages-per-gateway": "每個閘道器的傳輸訊息", + "transport-messages-per-gateway-device": "每個閘道器裝置的傳輸訊息", + "ws-updates-per-session": "每個工作階段的 WS 更新", + "edge-events": "Edge 事件", + "edge-events-per-edge": "每個 Edge 的事件", + "edge-uplink-messages": "Edge 上行訊息", + "edge-uplink-messages-per-edge": "每個 Edge 的上行訊息", + "integration-messages": "整合訊息", + "integration-messages-per-device": "每個裝置的整合訊息", + "reports-generation": "報表產生" + }, + "api-key": { + "api-key": "API 金鑰", + "api-keys": "API 金鑰", + "delete-api-key-title": "確定要刪除 API 金鑰「{{name}}」嗎?", + "delete-api-key-text": "請注意,確認後金鑰將無法恢復。", + "delete-api-keys-title": "確定要刪除 { count, plural, =1 {1 個 API 金鑰} other {# 個 API 金鑰} }嗎?", + "delete-api-keys-text": "請注意,確認後所有選取的金鑰將無法恢復。", + "expiration-date": "過期日期", + "date": "日期", + "description": "描述", + "disable": "停用", + "edit-description": "編輯描述", + "enable": "啟用 API 金鑰", + "expiration-time": "過期時間", + "expiration-time-never": "永不", + "expiration-time-custom": "自訂", + "generate": "產生", + "generate-title": "產生 API 金鑰", + "generate-text": "注意:API 金鑰會繼承其所屬使用者的權限。", + "generated-api-key-title": "API 金鑰已產生。請檢查連線!", + "generated-api-key-copy": "請確保立即複製並儲存您的 API 金鑰,因為之後將無法再次檢視。", + "generated-api-key-command": "使用以下說明檢查連線。結果應回傳目前使用者資訊:", + "generated-api-key-insecure-url": "透過不安全的 HTTP 連線執行命令將以未加密的方式傳送您的 API 金鑰,使其容易被攔截。", + "list": "{ count, plural, =1 {1 個 API 金鑰} other {API 金鑰清單(# 個)} }", + "manage": "管理", + "manage-api-keys": "管理 API 金鑰", + "no-found": "找不到 API 金鑰", + "selected-api-keys": "已選擇 { count, plural, =1 {1 個 API 金鑰} other {# 個 API 金鑰} }", + "search": "搜尋 API 金鑰", + "status": "狀態", + "status-active": "已啟用", + "status-inactive": "未啟用", + "status-expired": "已過期" + }, + "debug-settings": { + "label": "偵錯設定", + "on-failure": "僅失敗(24/7)", + "all-messages": "所有訊息({{time}})", + "failures": "失敗", + "entity": "實體", + "hint": { + "main-limited": "每 {{time}}最多記錄 {{msg}} 則與{{entity}}相關的偵錯訊息。", + "on-failure": "僅記錄錯誤訊息。", + "all-messages": "記錄所有偵錯訊息。" + } + }, + "calculated-fields": { + "expression": "表示式", + "no-found": "找不到計算欄位", + "list": "{ count, plural, =1 {1 個計算欄位} other {計算欄位清單(# 個)} }", + "add": "新增計算欄位", + "selected-fields": "已選擇 { count, plural, =1 {1 個計算欄位} other {# 個計算欄位} }", + "type": { + "simple": "簡單", + "simple-hint": "基於輸入參數的簡單算術計算。", + "script": "指令碼", + "script-hint": "使用 TBEL 指令碼對定義的參數進行計算。", + "geofencing": "地理圍欄", + "geofencing-hint": "評估實體的 GPS 位置,以及進入或離開所設定地理圍欄區域群組的情況。", + "propagation": "傳播", + "propagation-hint": "根據關聯方向和類型將資料傳播到父層或子層實體。", + "related-entities-aggregation": "關聯實體彙總", + "related-entities-aggregation-hint": "彙總來自關聯實體的最新資料。", + "time-series-data-aggregation": "時間序列資料彙總", + "time-series-data-aggregation-hint": "彙總來自目前實體的歷史資料。" + }, + "preview": "預覽", + "arguments": "參數", + "decimals-by-default": "預設小數位數", + "debugging": "計算欄位偵錯", + "calculated-field-details": "計算欄位詳細資料", + "argument-name": "參數名稱", + "name": "名稱", + "datasource": "資料來源", + "add-argument": "新增參數", + "test-script-function": "測試指令碼函式", + "no-arguments": "至少需要一個參數。", + "argument-settings": "參數設定", + "argument-current": "目前實體", + "argument-current-tenant": "目前租戶", + "argument-device": "裝置", + "argument-asset": "資產", + "argument-customer": "客戶", + "argument-tenant": "目前租戶", + "argument-owner": "目前所有者", + "argument-relation-query": "關聯實體", + "argument-type": "參數類型", + "attribute": "屬性", + "copy-argument-name": "複製參數名稱", + "timeseries-key": "時間序列鍵", + "device-name": "裝置名稱", + "latest-telemetry": "最新遙測", + "rolling": "時間序列滾動", + "attribute-scope": "屬性範圍", + "server-attributes": "伺服器端屬性", + "client-attributes": "用戶端屬性", + "shared-attributes": "共享屬性", + "attribute-key": "屬性鍵", + "default-value": "預設值", + "default-value-required": "預設值為必填項。", + "limit": "最大值數量", + "time-window": "時間視窗", + "customer-name": "客戶名稱", + "asset-name": "資產名稱", + "timeseries": "時間序列", + "output": "輸出", + "output-hint": "定義輸出的處理方式。", + "create": "建立新的計算欄位", + "file": "計算欄位檔案", + "invalid-file-error": "檔案格式無效。請確保檔案為有效的 JSON 檔案。", + "import": "匯入計算欄位", + "export": "匯出計算欄位", + "export-failed-error": "無法匯出計算欄位:{{error}}", + "output-type": "輸出類型", + "delete-title": "確定要刪除計算欄位「{{title}}」嗎?", + "delete-text": "請注意,確認後該計算欄位及所有相關資料將無法恢復。", + "delete-multiple-title": "確定要刪除 { count, plural, =1 {1 個計算欄位} other {# 個計算欄位} }嗎?", + "delete-multiple-text": "請注意,確認後所有選取的計算欄位將被移除,所有相關資料將無法恢復。", + "test-with-this-message": "使用此訊息測試", + "use-latest-timestamp": "使用最新時間戳記", + "entity-coordinates": "實體座標", + "latitude-time-series-key": "緯度時間序列鍵", + "latitude-time-series-key-required": "緯度時間序列鍵為必填項。", + "longitude-time-series-key": "經度時間序列鍵", + "longitude-time-series-key-required": "經度時間序列鍵為必填項。", + "geofencing-zone-groups": "地理圍欄區域群組", + "geofencing-zone-groups-settings": "地理圍欄區域群組設定", + "target-zone": "目標區域", + "perimeter-key": "周界鍵", + "report-strategy": "報告策略", + "no-zone-configured": "至少需要一個區域。", + "no-zone-configured-required": "至少需要設定一個區域群組。", + "add-zone-group": "新增區域群組", + "report-transition-event-only": "僅進出事件", + "report-presence-status-only": "僅區域內外狀態", + "report-transition-event-and-presence": "區域內外狀態和進出事件", + "perimeter-attribute-key": "周界屬性鍵", + "perimeter-attribute-key-required": "周界屬性鍵為必填項。", + "perimeter-attribute-key-pattern": "周界屬性鍵無效。", + "entity-zone-relationship": "從實體到區域的路徑", + "direction": "關聯方向", + "direction-from": "從實體到區域", + "direction-to": "從區域到實體", + "relation-type": "關聯類型", + "create-relation-with-matched-zones": "為來源實體與符合的區域建立關聯", + "relation-level": "關聯層級", + "fetch-last-available-level": "僅取得最後可用層級", + "zone-group-refresh-interval": "區域群組重新整理間隔", + "copy-zone-group-name": "複製區域群組名稱", + "open-details-page": "開啟實體詳細資料頁", + "level": "層級", + "direction-level": "方向", + "direction-up": "向上", + "direction-up-parent": "向上到父層", + "direction-down": "向下", + "direction-down-child": "向下到子層", + "add-level": "新增層級", + "delete-level": "刪除層級", + "no-level": "未設定層級", + "levels-required": "至少需要設定一個層級。", + "max-allowed-levels-error": "關聯層級超過允許的最大值。", + "propagation-path-related-entities": "到關聯實體的傳播路徑", + "propagate-type": { + "arguments-only": "僅參數", + "expression-result": "計算結果" + }, + "script": "指令碼", + "data-propagate": "要傳播的資料", + "output-key": "輸出鍵", + "copy-output-key": "複製輸出鍵", + "aggregation-path-related-entities": "到關聯實體的彙總路徑", + "deduplication-interval": "去重間隔", + "deduplication-interval-min": "去重間隔至少應為 {{ sec }} 秒。", + "deduplication-interval-hint": "遙測彙總之間的最小時間。", + "deduplication-interval-required": "去重間隔為必填項。", + "calculated-field-filter-title": "計算欄位篩選器", + "filter-title": "篩選器", + "calculated-field-types": "計算欄位類型", + "events": "事件", + "any-type": "任意類型", + "metrics": { + "metrics": "指標", + "metrics-empty": "至少需要設定一個指標。", + "metric-name": "指標名稱", + "metric-name-required": "指標名稱為必填項。", + "metric-name-pattern": "指標名稱無效。", + "metric-name-duplicate": "同名指標已存在。", + "metric-name-max-length": "指標名稱應少於 256 個字元。", + "metric-name-forbidden": "指標名稱為保留名稱,無法使用。", + "copy-metric-name": "複製指標名稱", + "argument-name": "參數名稱", + "aggregation": "彙總", + "aggregation-type": { + "avg": "平均值", + "min": "最小值", + "max": "最大值", + "sum": "總和", + "count": "計數", + "count-unique": "相異值計數" + }, + "filtered": "已篩選", + "value-source": "值來源", + "value-source-hint": "定義彙總值的取得方式。", + "value-source-type": { + "key": "鍵", + "function": "函式" + }, + "no-metrics-configured": "至少需要一個指標。", + "add-metric": "新增指標", + "max-metrics": "已達到最大指標數量。", + "metric-settings": "指標設定", + "filter": "篩選器", + "filter-hint": "啟用彙總期間的實體篩選。篩選函式必須回傳布林值,並且可以使用所有已設定的參數。" + }, + "output-strategy": { + "strategy": "策略", + "process-right-away": "立即處理", + "process-rule-chains": "透過規則鏈處理", + "save-time-series": "儲存到時間序列", + "save-database": "儲存到資料庫", + "save-latest-values": "儲存到最新值", + "send-web-sockets": "傳送到 WebSockets", + "save-calculated-fields": "傳送到計算欄位", + "update-attribute-only-on-value-change": "僅在值變更時更新屬性", + "send-attributes-updated-notification": "傳送屬性更新通知", + "ttl": "自訂 TTL", + "ttl-required": "TTL 為必填項", + "ttl-min": "TTL 不得小於 0", + "processing-parameters": "處理參數", + "hint": { + "strategy": "控制結果是立即處理還是傳送到規則鏈進行額外處理。", + "processing-options": "處理選項", + "update-attribute-only-on-value-change": "在每條傳入訊息上更新屬性,無論值是否已變更。這會增加 API 使用量並降低效能。", + "update-attribute-only-on-value-change-enabled": "僅在值變更時更新屬性。如果值未變更,則不更新時間戳記且不傳送通知。", + "send-attributes-updated-notification": "向預設規則鏈傳送屬性更新事件。", + "save-time-series": "將時間序列資料儲存到資料庫的 ts_kv 表中。", + "save-database": "將屬性資料儲存到資料庫。", + "save-latest-values": "如果新值的時間戳記較新,則更新資料庫 ts_kv_latest 資料表中的時間序列資料。", + "send-web-sockets-attribute": "通知 WebSocket 訂閱有關屬性資料的更新。", + "send-web-sockets-time-series": "通知 WebSocket 訂閱有關時間序列資料的更新。", + "save-calculated-fields-attribute": "通知計算欄位有關屬性資料的更新。", + "save-calculated-fields-time-series": "通知計算欄位有關時間序列資料的更新。", + "ttl": "定義時間序列資料的保留期限。如果停用,則使用租戶設定檔的 TTL。" + } + }, + "aggregate-interval-type": "彙總間隔類型", + "aggregate-interval-value": "彙總間隔值", + "aggregate-interval-value-required": "彙總間隔值為必填項。", + "aggregate-interval-value-min": "彙總間隔值至少應為 { sec, plural, =0 {0 秒} =1 {1 秒} other {# 秒} }。", + "aggregate-interval-value-step-multiple-of": "彙總間隔值必須是 1 天的因子或倍數。", + "aggregate-period": { + "hour": "小時", + "day": "天", + "week": "週(週一至週日)", + "week-sun-sat": "週(週日至週六)", + "month": "月", + "quarter": "季度", + "year": "年", + "custom": "自訂" + }, + "aggregate-period-hint-offset": "您的彙總間隔將為:{{ interval }}", + "aggregate-period-hint-offset-and-so-on": "您的彙總間隔將為:{{ interval }},以此類推。", + "entity-aggregation": { + "argument-hint": "資料將從目前實體取得。", + "argument-title-hint": "定義用於彙總的輸入參數。", + "argument-setting-hint": "此計算欄位僅支援最新遙測作為參數類型。", + "aggregation-interval": "彙總間隔", + "aggregation-interval-hint": "定義執行彙總的頻率。例如:每 1 小時在 00:00、01:00、02:00 等時間點彙總資料。彙總結果使用彙總間隔開始時間的時間戳記儲存。", + "apply-offset": "套用偏移到彙總間隔", + "apply-offset-hint": "定義每個彙總週期開始的偏移量(例如,+10 分鐘 - 00:10、01:10)。", + "offset-value": "偏移值", + "offset-value-required": "偏移值為必填項。", + "offset-value-min": "偏移值必須為正整數。", + "offset-value-max": "偏移值應小於彙總間隔值。", + "wait-delay": "對延遲遙測套用等待逾時", + "wait-delay-hint": "定義間隔結束後等待延遲遙測的時間。如果此類遙測到達,將重新計算該間隔的結果。", + "duration": "持續時間", + "duration-required": "持續時間為必填項。", + "duration-min": "持續時間至少為 1 分鐘。", + "duration-hint": "間隔結束後等待延遲資料的時間。", + "produce-intermediate-result": "產生中間結果", + "produce-intermediate-result-hint": "在目前間隔內計算指標以產生中間結果。更新頻率不超過每 {{ time }}一次。" + }, + "hint": { + "arguments-simple-with-rolling": "簡單類型的計算欄位不應包含時間序列滾動類型的鍵。", + "arguments-propagate-arguments-with-rolling": "「時間序列滾動」類型與「僅參數」傳播不相容。", + "arguments-propagate-argument-entity-type": "實體類型與「僅參數」傳播不相容。", + "arguments-propagate-argument-must-current-entity": "至少需要設定一個來源實體類型為「目前實體」的參數。", + "arguments-empty": "至少需要指定一個參數。", + "expression-required": "表示式為必填項。", + "expression-invalid": "表示式無效", + "expression-max-length": "表示式長度應少於 255 個字元。", + "argument-name-required": "參數名稱為必填項。", + "argument-name-pattern": "參數名稱無效。", + "argument-name-duplicate": "同名參數已存在。", + "argument-name-max-length": "參數名稱應少於 256 個字元。", + "argument-name-forbidden": "參數名稱為保留名稱,無法使用。", + "output-key-required": "輸出鍵為必填項。", + "output-key-pattern": "輸出鍵無效。", + "output-key-duplicate": "同名鍵已存在。", + "output-key-max-length": "輸出鍵應少於 256 個字元。", + "output-key-forbidden": "輸出鍵為保留名稱,無法使用。", + "entity-type-required": "實體類型為必填項", + "name-required": "名稱為必填項。", + "name-pattern": "名稱無效。", + "name-duplicate": "此名稱已存在。", + "name-max-length": "名稱應少於 256 個字元。", + "name-forbidden": "名稱為保留名稱,無法使用。", + "argument-type-required": "參數類型為必填項。", + "max-args": "已達到最大參數數量。", + "decimals-range": "預設小數位數應為 0 到 15 之間的數字。", + "expression": "預設表示式示範如何將華氏溫度轉換為攝氏溫度。", + "arguments-entity-not-found": "找不到參數目標實體。", + "use-latest-timestamp": "啟用後,計算值將使用參數遙測中的最新時間戳記儲存,而非使用伺服器時間。", + "entity-coordinates": "指定提供實體 GPS 座標(緯度和經度)的時間序列鍵。", + "geofencing-zone-groups": "定義一個或多個要檢查的地理圍欄區域群組(例如「allowedZones」、「restrictedZones」)。每個群組必須有唯一的名稱,該名稱用作計算欄位輸出遙測鍵的前置詞。", + "perimeter-attribute-key": "設定包含地理圍欄區域周界定義的屬性鍵。周界始終取自區域實體的伺服器端屬性。", + "report-strategy": "區域內外狀態會回報實體目前位於區域群組內部或外部。進出事件會回報實體何時進入或離開區域群組。", + "create-relation-with-matched-zones": "自動建立並維護實體與其目前所在區域之間的關聯。當實體離開區域時移除關聯,進入新區域時建立關聯。", + "relation-type-required": "關聯類型為必填項。", + "relation-level-required": "關聯層級為必填項。", + "relation-level-min": "最小關聯層級值為 1。", + "relation-level-max": "最大關聯層級值為 {{max}}。", + "geofencing-empty": "至少需要設定一個區域群組。", + "geofencing-entity-not-found": "找不到地理圍欄目標實體。", + "max-geofencing-zone": "已達到最大地理圍欄區域數量。", + "zone-group-refresh-interval": "定義透過關聯實體設定的區域群組的重新整理頻率。", + "zone-group-refresh-interval-required": "區域群組重新整理間隔為必填項。", + "zone-group-refresh-interval-min": "區域群組重新整理間隔至少應為 {{ min }} 秒。", + "propagation-path-related-entities": "定義基於所選方向和關聯類型到關聯實體的直接單級路徑。僅支援裝置、資產、客戶和租戶實體之間的關聯。關聯路徑解析的最大實體數為 {{ max }}。", + "data-propagate": "定義要從下方設定的參數中傳播的資料。「僅參數」直接使用檢索到的資料,而「計算結果」從該資料計算新值。", + "aggregation-path-related-entities": "定義基於方向和關聯類型透過與父層或子層實體的直接關聯進行的單級彙總路徑。僅支援裝置、資產、客戶和租戶實體之間的關聯。關聯路徑解析的最大實體數為 {{ max }}。", + "arguments-aggregation": "定義用於篩選和彙總的輸入參數。", + "setting-arguments-aggregation": "資料將從彙總路徑中設定的關聯實體取得。", + "metrics": "定義基於已設定參數進行彙總的指標。", + "entity-aggregation-metrics": "定義基於已設定參數在指定時間間隔內進行彙總的指標。", + "import-invalid-calculated-field-type": "無法匯入計算欄位:計算欄位結構無效。", + "simple-expression-title": "定義計算值計算方式的算術表示式。", + "script-title": "定義計算邏輯和輸出值的 TBEL 指令碼。", + "simple-arguments": "定義計算值計算方式的算術表示式。", + "script-arguments": "定義指令碼可用的輸入參數。", + "reprocessing": "若未預先指定時間戳記,重新處理的結果會使用觸發計算的對應歷史遙測資料時間戳記儲存。" + }, + "ai-assistant-example-suggest-fields-label": "建議計算欄位", + "ai-assistant-example-suggest-fields-message": "查看我的裝置,並建議值得設定的計算欄位。", + "ai-assistant-example-aggregate-label": "彙總遙測資料", + "ai-assistant-example-aggregate-message": "選取我的一個裝置,並設定計算欄位,彙總該裝置幾個遙測資料鍵的資料。請先說明要建立的內容,並請我確認。", + "ai-assistant-initial-prompt-placeholder": "描述您想設定的內容…", + "calculated-field-reprocessing": "計算欄位重新處理", + "cancel-reprocessing": "取消重新處理", + "details": "詳細資料", + "finish": "完成", + "reprocess-calculated-field": "重新處理計算欄位", + "reprocessing-cancelled": "已取消重新處理", + "reprocessing-completed": "已完成重新處理", + "reprocessing-entities-data": "正在重新處理實體資料…", + "reprocessing-failed": "重新處理已結束,但發生錯誤", + "reprocessing-in-progress": "正在重新處理…", + "submitting-tasks": "正在提交工作…", + "task-failed-reprocess": "工作重新處理失敗", + "tasks-failed-reprocess": "共 {{ total }} 個實體,其中 {{ error }} 個重新處理失敗" + }, + "alarm-rule": { + "alarm-rules-tab": "警報規則", + "alarm-rule": "警報規則", + "alarm-rules": "警報規則", + "alarm-rules-old": "舊版", + "alarm-rules-actual": "目前", + "severities": "嚴重程度", + "cleared": "清除條件", + "delete-title": "確定要刪除警報規則「{{title}}」嗎?", + "delete-text": "請注意,確認後警報規則及所有相關資料將無法恢復。", + "delete-multiple-title": "確定要刪除 { count, plural, =1 {1 條警報規則} other {# 條警報規則} }嗎?", + "delete-multiple-text": "請注意,確認後所有選取的警報規則將被移除,所有相關資料將無法恢復。", + "create": "建立新警報規則", + "add": "新增警報規則", + "copy": "複製警報規則設定", + "details": "警報規則詳細資料", + "no-found": "找不到警報規則", + "list": "{ count, plural, =1 {1 條警報規則} other {警報規則清單(# 條)} }", + "selected-fields": "已選擇 { count, plural, =1 {1 條警報規則} other {# 條警報規則} }", + "import": "匯入警報規則", + "file": "警報規則檔案", + "export": "匯出警報規則", + "export-failed-error": "無法匯出警報規則:{{error}}", + "entity-type": "實體類型", + "entity-type-required": "實體類型為必填項。", + "alarm-type": "警報類型", + "alarm-type-hint": "在警報發起者(裝置、資產等)範圍內的唯一識別符號(例如 HighTempAlarm),以防止衝突。", + "alarm-type-required": "警報類型為必填項。", + "alarm-type-pattern": "警報類型無效。", + "alarm-type-max-length": "警報類型應少於 256 個字元。", + "clear-alarm": "清除警報", + "value-argument": "參數", + "value-argument-required": "參數為必填項。", + "static-settings": "靜態設定", + "configuration": "設定", + "static-schedule": "靜態", + "dynamic-schedule": "動態", + "operation-and": "AND", + "operation-or": "OR", + "condition-during": "持續 {{during}}", + "condition-during-dynamic": "持續時間取自參數「{{ attribute }}」,單位:", + "condition-repeat-times": "重複 { count, plural, =1 {1 次} other {# 次} }", + "condition-repeat-times-dynamic": "重複次數取自參數「{{ attribute }}」", + "filter-preview": "篩選器預覽", + "condition-settings": "條件設定", + "static": "靜態", + "dynamic": "動態", + "argument-filters": "參數篩選器", + "argument-name": "參數名稱", + "value-type": "值型別", + "general": "通用", + "filters": "篩選器", + "date-time-hint": "參數必須是自 Unix 紀元起算的毫秒數。例如:1698839340000 代表 2023-11-01 12:49:00 UTC。", + "operation": "操作", + "value-source": "值來源", + "value": "值", + "ignore-case": "忽略大小寫", + "condition": "條件", + "script": "指令碼", + "add-filter": "新增參數篩選器", + "edit-filter": "參數篩選器", + "remove-filter": "移除參數篩選器", + "no-filter": "至少需要一個篩選器。", + "conditions": { + "simple": "簡單", + "duration": "持續時間", + "repeating": "重複" + }, + "schedule-title": "排程", + "edit-schedule": "編輯警報排程", + "schedule-type": "排程器類型", + "schedule-type-required": "排程器類型為必填項。", + "schedule": { + "any-time": "始終啟用", + "specific-time": "在特定時間啟用", + "custom": "自訂" + }, + "schedule-day": { + "monday": "星期一", + "tuesday": "星期二", + "wednesday": "星期三", + "thursday": "星期四", + "friday": "星期五", + "saturday": "星期六", + "sunday": "星期日" + }, + "schedule-days": "天數", + "schedule-time": "時間", + "schedule-time-from": "從", + "schedule-time-to": "到", + "schedule-days-of-week-required": "請至少選擇一天。", + "tbel": "TBEL", + "expression-type": { + "simple": "簡單", + "script": "指令碼" + }, + "operation-type": { + "and": "與", + "or": "或" + }, + "filter-predicate-type": { + "string": "字串", + "numeric": "數值", + "boolean": "布林", + "complex": "複合" + }, + "alarm-rule-additional-info": "附加資訊", + "edit-alarm-rule-additional-info": "編輯附加資訊", + "alarm-rule-additional-info-placeholder": "請在此處提供您的備註和調整內容,以便在警報詳細資料的附加資訊中顯示", + "alarm-rule-additional-info-hint": "提示:使用 ${Argument name} 代入警報規則條件中使用的參數值。", + "alarm-rule-additional-info-icon-hint": "使用參數名稱替換警報規則條件中使用的參數值。", + "alarm-rule-mobile-dashboard": "行動裝置端儀表板", + "alarm-rule-mobile-dashboard-hint": "供行動應用程式作為警報詳細資料儀表板使用。", + "alarm-rule-no-mobile-dashboard": "未選擇儀表板", + "alarm-rule-condition": "警報規則條件", + "enter-alarm-rule-condition-prompt": "新增條件", + "enter-alarm-rule-clear-condition-prompt": "新增清除條件", + "edit-alarm-rule-condition": "警報條件", + "condition-type": "條件類型", + "condition-type-hint": "當篩選器中使用了「缺失超過」操作時,「持續時間」和「重複」選項不可用。", + "select-alarm-severity": "選擇警報嚴重程度", + "add-create-alarm-rule-prompt": "至少需要一個觸發條件。", + "add-create-alarm-rule": "新增觸發條件", + "add-clear-alarm-rule": "新增清除條件", + "condition-duration": "條件持續時間", + "condition-duration-value": "持續時間值", + "condition-duration-time-unit": "時間單位", + "condition-duration-value-range": "持續時間值應在 1 到 2147483647 的範圍內。", + "condition-duration-value-pattern": "持續時間值應為整數。", + "condition-duration-value-required": "持續時間值為必填項。", + "condition-duration-time-unit-required": "時間單位為必填項。", + "condition-repeating-value": "事件次數", + "condition-repeating-value-hint": "警報規則參數的任何更新都將被計為一次事件", + "condition-repeating-value-range": "事件次數應在 1 到 2147483647 的範圍內。", + "condition-repeating-value-pattern": "事件次數應為整數。", + "condition-repeating-value-required": "事件次數為必填項。", + "create-conditions": "觸發條件", + "clear-condition": "清除條件", + "no-clear-alarm-rule": "未設定清除條件。", + "advanced-settings": "進階設定", + "propagate-alarm": "將警報傳播到關聯實體", + "alarm-rule-relation-types-list": "關聯類型", + "alarm-rule-relation-types-list-hint": "定義關聯類型以篩選關聯實體。如果未設定,警報將傳播到所有關聯實體。", + "propagate-alarm-to-owner": "將警報傳播到實體所有者(客戶或租戶)", + "propagate-alarm-to-tenant": "將警報傳播到租戶", + "alarm-rule-filter-title": "警報規則篩選器", + "filter-title": "篩選器", + "debugging": "警報規則偵錯", + "any-type": "任意類型", + "enter-alarm-rule-type": "輸入警報類型", + "no-alarm-rule-types-matching": "找不到符合「{{entitySubtype}}」的警報類型。", + "alarm-rule-type-list-empty": "未選擇警報類型。", + "alarm-rule-type-list": "警報類型清單", + "alarm-rule-entity-list": "實體清單", + "missing-for": "缺失超過", + "time-unit": "單位", + "mode": "模式", + "type": "類型", + "value-required": "值為必填項。", + "min-value": "值必須大於等於 1。", + "argument-in-use": "參數已被用作通用參數。", + "import-invalid-alarm-rule-type": "無法匯入警報規則:警報規則結構無效。", + "no-filter-preview": "未指定篩選器", + "filter-operation": { + "and": "與", + "or": "或" + }, + "ai-assistant-example-suggest-rules-label": "建議警報規則", + "ai-assistant-example-suggest-rules-message": "查看我的裝置,並建議值得設定的警報規則。", + "ai-assistant-example-inactivity-label": "裝置閒置警報", + "ai-assistant-example-inactivity-message": "建立警報規則,在裝置停止傳送遙測資料超過 10 分鐘時觸發警告。", + "ai-assistant-initial-prompt-placeholder": "描述您想設定的內容…", + "propagate-alarm-to-owner-hierarchy": "將警報傳播至實體所有者階層" + }, + "ai-models": { + "ai-models": "AI 模型", + "ai-model": "AI 模型", + "model": "模型", + "name": "名稱", + "ai-provider": "AI 提供者", + "no-found": "找不到 AI 模型", + "list": "{ count, plural, =1 {1 個模型} other {模型清單(# 個)} }", + "selected-fields": "已選擇 { count, plural, =1 {1 個模型} other {# 個模型} }", + "add": "新增模型", + "delete-model-title": "確定要刪除模型「{{modelName}}」嗎?", + "delete-model-text": "請注意,確認後模型及所有相關資料將無法恢復。", + "delete-models-title": "確定要刪除 { count, plural, =1 {1 個模型} other {# 個模型} }嗎?", + "delete-models-text": "請注意,確認後所有選取的模型將被移除,所有相關資料將無法恢復。", + "ai-providers": { + "openai": "OpenAI", + "azure-openai": "Azure OpenAI", + "google-ai-gemini": "Google Gemini (Gemini API)", + "google-vertex-ai-gemini": "Google Gemini (Agent Platform - Vertex AI)", + "mistral-ai": "Mistral AI", + "anthropic": "Anthropic", + "amazon-bedrock": "Amazon Bedrock", + "github-models": "GitHub Models", + "ollama": "Ollama" + }, + "name-required": "名稱為必填項。", + "name-max-length": "名稱不得超過 255 個字元。", + "provider": "提供者", + "api-key": "API 金鑰", + "api-key-required": "API 金鑰為必填項。", + "api-key-open-ai-required": "使用官方 OpenAI API 時,API 金鑰為必填項。", + "project-id": "專案識別碼", + "project-id-required": "專案識別碼為必填項", + "location": "位置", + "location-required": "位置為必填項。", + "service-account-key-file": "服務帳號金鑰檔案", + "service-account-key-file-required": "服務帳號金鑰檔案為必填項。", + "no-file": "未選擇檔案。", + "drop-file": "拖放檔案或點選選擇要上傳的檔案。", + "personal-access-token": "個人存取權杖", + "personal-access-token-required": "請輸入個人存取權杖。", + "configuration": "設定", + "model-id": "模型識別碼", + "model-id-required": "模型識別碼為必填項。", + "deployment-name": "部署名稱", + "deployment-name-required": "部署名稱為必填項", + "set": "設定", + "region": "區域", + "region-required": "區域為必填項。", + "access-key-id": "存取金鑰識別碼", + "access-key-id-required": "請輸入存取金鑰識別碼", + "secret-access-key": "私密存取金鑰", + "secret-access-key-required": "請輸入私密存取金鑰", + "temperature": "溫度", + "temperature-hint": "調整模型輸出的隨機性級別。值越高隨機性越大,值越低隨機性越小。", + "temperature-min": "必須大於等於 0。", + "top-p": "Top P", + "top-p-hint": "為模型建立由最可能出現的 Token 組成的候選集合。值越高,候選集合越大且越多樣;值越低,候選集合越小。", + "top-p-min-max": "必須大於 0 且不超過 1。", + "top-k": "Top K", + "top-k-hint": "將模型的選擇限制在最可能出現的 K 個 Token。", + "top-k-min": "必須大於等於 0。", + "presence-penalty": "存在懲罰", + "presence-penalty-hint": "如果某個 Token 已出現在文字中,則對其可能性施加固定懲罰。", + "frequency-penalty": "頻率懲罰", + "frequency-penalty-hint": "根據 Token 在文字中出現的頻率對其可能性施加遞增懲罰。", + "max-output-tokens": "最大輸出 Token 數", + "max-output-tokens-hint": "設定模型在單次回應中可以\n產生的最大 Token 數。", + "context-length": "上下文長度", + "context-length-hint": "定義上下文視窗的大小(以 Token 為單位)。此值設定模型的總記憶體限制,包括使用者輸入和產生的回應。", + "endpoint": "端點", + "endpoint-required": "端點為必填項。", + "baseurl": "基底 URL", + "baseurl-required": "基底 URL 為必填項。", + "service-version": "服務版本", + "check-connectivity": "檢查連線", + "check-connectivity-success": "測試請求成功", + "check-connectivity-failed": "測試請求失敗", + "no-model-matching": "找不到符合「{{entity}}」的模型。", + "model-required": "模型為必填項。", + "no-model-text": "找不到模型。", + "authentication": "認證", + "authentication-basic-hint": "使用標準 HTTP Basic 認證。使用者名稱和密碼會合併並以 Base64 編碼,在每次向 Ollama 伺服器傳送請求時,透過 Authorization 標頭傳送。", + "authentication-token-hint": "使用 Bearer 權杖進行身分驗證。每次向 Ollama 伺服器發送請求時,都會透過 Authorization 標頭傳送此權杖。", + "authentication-type": { + "none": "無", + "basic": "Basic", + "token": "權杖" + }, + "username": "使用者名稱", + "username-required": "使用者名稱為必填項。", + "password": "密碼", + "password-required": "密碼為必填項。", + "token": "權杖", + "token-required": "請輸入權杖。", + "ai-model-view": "檢視 AI 模型" + }, + "css-size": { + "size-value-required": "尺寸值為必填項", + "invalid-size-value": "尺寸值無效" + }, + "date": { + "last-update-n-ago": "上次更新於 N 前", + "last-update-n-ago-text": "上次更新:{{ agoText }}", + "custom-date": "自訂日期", + "format": "格式", + "preview": "預覽", + "auto": "自動", + "time-granularity-formats": "時間粒度格式", + "unit-year": "年", + "unit-month": "月", + "unit-day": "日", + "unit-hour": "小時", + "unit-minute": "分鐘", + "unit-second": "秒", + "unit-millisecond": "毫秒" + }, + "dynamic-form": { + "property": { + "properties": "屬性", + "property": "屬性", + "id": "識別碼", + "name": "名稱", + "type": "類型", + "type-text": "文字", + "type-password": "密碼", + "type-textarea": "文字區域", + "type-number": "數字", + "type-switch": "開關", + "type-select": "下拉選擇", + "type-radios": "單選按鈕", + "type-datetime": "日期/時間", + "type-image": "圖片", + "type-javascript": "JavaScript", + "type-json": "JSON", + "type-html": "HTML", + "type-css": "CSS", + "type-markdown": "Markdown", + "type-color": "顏色", + "type-color-settings": "顏色設定", + "type-font": "字型", + "type-units": "單位", + "type-icon": "圖示", + "type-fieldset": "欄位集", + "type-array": "陣列", + "type-html-section": "HTML 區段", + "group-title": "分組標題", + "no-properties": "未設定屬性", + "add-property": "新增屬性", + "property-settings": "屬性設定", + "remove-property": "移除屬性", + "default-value": "預設值", + "value-required": "值為必填項", + "number-settings": "數字設定", + "min": "最小值", + "max": "最大值", + "step": "步長", + "selected-options-limit": "已選選項限制", + "advanced-ui-settings": "進階 UI 設定", + "disable-on-property": "根據屬性停用", + "disable-on-property-none": "無(欄位始終啟用)", + "display-condition-function": "顯示條件函式", + "sub-label": "子標籤", + "vertical-divider-after": "之後的垂直分隔線", + "input-field-suffix": "輸入欄位後置詞", + "property-row-classes": "屬性列樣式類別", + "property-field-classes": "屬性欄位樣式類別", + "not-unique-property-ids-error": "屬性識別碼必須唯一!", + "enable-multiple-select": "啟用多選", + "allow-empty-select-option": "允許空選項", + "select-options": "選擇選項", + "not-unique-select-option-value-error": "選擇選項值必須唯一!", + "value": "值", + "label": "標籤", + "add-option": "新增選項", + "no-options": "未設定選項", + "remove-option": "移除選項", + "textarea-rows": "文字區域行數", + "help-id": "說明識別碼", + "buttons-direction": "按鈕方向", + "direction-row": "列", + "direction-column": "欄", + "radio-button-options": "單選按鈕選項", + "datetime-type": "日期/時間欄位類型", + "datetime-type-date": "日期", + "datetime-type-time": "時間", + "datetime-type-datetime": "日期/時間", + "enable-clear-button": "啟用清除按鈕", + "html-section-settings": "HTML 區段設定", + "html-section-classes": "HTML 區段樣式類別", + "html-section-content": "HTML 區段內容", + "array-item": "陣列項目", + "item-type": "項目類型", + "item-name": "項目名稱", + "no-items": "沒有項目", + "support-unit-conversion": "支援單位轉換", + "type-css-size": "CSS 尺寸" + }, + "clear-form": "清除表單", + "clear-form-prompt": "確定要移除所有表單屬性嗎?", + "import-form": "從 JSON 匯入表單", + "export-form": "將表單匯出為 JSON", + "json-file": "JSON 檔案", + "json-content": "JSON 內容", + "invalid-form-json-file-error": "無法從 JSON 匯入表單:表單 JSON 資料結構無效。" + }, + "feature": { + "advanced-features": "進階功能" + }, + "image": { + "images": "圖片", + "gallery": "圖片庫", + "search": "搜尋圖片", + "selected-images": "已選擇 { count, plural, =1 {1 張圖片} other {# 張圖片} }", + "created-time": "建立時間", + "name": "名稱", + "name-required": "名稱為必填項。", + "resolution": "解析度", + "size": "大小", + "system": "系統", + "download-image": "下載圖片", + "export-image": "匯出圖片為 JSON", + "import-image": "從 JSON 匯入圖片", + "upload-image": "上傳圖片", + "edit-image": "編輯圖片", + "image-details": "圖片詳細資料", + "no-images": "找不到圖片", + "delete-image": "刪除圖片", + "delete-image-title": "確定要刪除圖片「{{imageTitle}}」嗎?", + "delete-image-text": "請注意,確認後圖片將無法恢復。", + "delete-images-title": "確定要刪除 { count, plural, =1 {1 張圖片} other {# 張圖片} }嗎?", + "delete-images-text": "請注意,確認後所有選取的圖片將被移除,且所有相關資料將無法恢復。", + "list-mode": "清單檢視", + "grid-mode": "網格檢視", + "image-preview": "圖片預覽", + "update-image": "更新圖片", + "export-failed-error": "無法匯出圖片:{{error}}", + "image-json-file": "圖片 JSON 檔案", + "invalid-image-json-file-error": "無法從 JSON 匯入圖片:無效的圖片 JSON 資料結構。", + "image-is-in-use": "圖片被其他實體使用", + "images-are-in-use": "圖片被其他實體使用", + "image-is-in-use-text": "圖片 「{{title}}」 未被刪除,因為它被以下實體使用:", + "images-are-in-use-text": "並非所有圖片都已刪除,因為它們被其他實體使用。
    您可以透過點選對應圖片資料列中的 引用 按鈕檢視引用實體。
    如果仍要刪除這些圖片,請在下表中選取它們並點選 刪除選取 按鈕。", + "delete-image-in-use-text": "如果仍要刪除該圖片,請點選 仍然刪除 按鈕。", + "system-entities": "系統實體:", + "entities": "實體:", + "references": "引用", + "include-system-images": "包含系統圖片", + "clear-image": "清除圖片", + "no-image": "無圖片", + "no-image-selected": "未選擇圖片", + "browse-from-gallery": "從圖片庫瀏覽", + "set-link": "設定連結", + "image-link": "圖片連結", + "link": "連結", + "copy-image-link": "複製圖片連結", + "embed-image": "嵌入圖片", + "embed-to-html": "嵌入到 HTML", + "embed-to-html-hint": "此功能會讓未獲授權的使用者也能存取圖片連結。", + "embed-to-html-text": "使用以下程式碼片段,您可以將圖片嵌入到基於純 HTML 的元件中。
    此類元件包括 HTML 卡片小工具、儲存格內容函式等。", + "embed-to-angular-template": "嵌入到 Angular HTML 範本", + "embed-to-angular-template-text": "使用以下程式碼片段,您可以將圖片嵌入到用於元件的 Angular HTML 範本中。
    此類元件包括 Markdown 小工具、小工具編輯器中的 HTML 部分、自訂操作等。" + }, + "scada": { + "symbols": "SCADA 符號", + "search": "搜尋符號", + "selected-symbols": "已選擇 { count, plural, =1 {1 個符號} other {# 個符號} }", + "download-symbol": "下載 SCADA 符號", + "export-symbol": "匯出 SCADA 符號為 JSON", + "import-symbol": "從 JSON 匯入 SCADA 符號", + "upload-symbol": "上傳 SCADA 符號", + "update-symbol": "更新 SCADA 符號", + "edit-symbol": "編輯 SCADA 符號", + "symbol-details": "SCADA 符號詳細資料", + "mode-svg": "SVG", + "mode-xml": "XML", + "no-symbols": "找不到符號", + "show-hidden-elements": "顯示隱藏元素", + "hide-hidden-elements": "不顯示隱藏元素", + "delete-symbol": "刪除 SCADA 符號", + "delete-symbol-title": "確定要刪除 SCADA 符號「{{imageTitle}}」嗎?", + "delete-symbol-text": "請注意,確認後 SCADA 符號將無法恢復。", + "delete-symbols-title": "確定要刪除 { count, plural, =1 {1 個 SCADA 符號} other {# 個 SCADA 符號} }嗎?", + "delete-symbols-text": "請注意,確認後所有選取的 SCADA 符號將被移除,且所有相關資料將無法恢復。", + "include-system-symbols": "包含系統符號", + "symbol-preview": "符號預覽", + "general": "通用", + "tags": "標籤", + "properties": "屬性", + "title": "標題", + "description": "描述", + "search-tags": "搜尋標籤", + "widget-size": "小工具大小", + "cols": "欄", + "rows": "列", + "state-render-function": "狀態渲染函式", + "preview": "預覽", + "preview-widget-action-text": "小工具操作「{{type}}」已成功呼叫!", + "no-symbol": "無 SCADA 符號", + "no-symbol-selected": "未選擇 SCADA 符號", + "clear-symbol": "清除 SCADA 符號", + "browse-symbol-from-gallery": "從圖庫瀏覽 SCADA 符號", + "zoom-in": "放大", + "zoom-out": "縮小", + "create-widget": "建立小工具", + "create-widget-from-symbol": "從 SCADA 符號建立小工具", + "hidden": "隱藏", + "tag": { + "tag": "標籤", + "on-click-action": "點選操作", + "no-tags": "未設定標籤", + "delete-tag-text": "確定要從 {{elementType}} 元素中刪除標籤
    {{tag}} 嗎?", + "update-tag": "更新標籤", + "enter-tag": "輸入標籤", + "tag-settings": "標籤設定", + "remove-tag": "移除標籤", + "add-tag": "新增標籤" + }, + "behavior": { + "behavior": "行為", + "id": "識別碼", + "name": "名稱", + "type": "類型", + "no-behaviors": "未設定行為", + "add-behavior": "新增行為", + "type-action": "操作", + "type-value": "值", + "type-widget-action": "小工具操作", + "behavior-settings": "行為設定", + "remove-behavior": "移除行為", + "hint": "提示", + "group-title": "群組標題", + "value-type": "值型別", + "default-value": "預設值", + "true-label": "True 標籤", + "false-label": "False 標籤", + "state-label": "狀態標籤", + "default-payload": "預設承載資料", + "not-unique-behavior-ids-error": "行為識別碼必須唯一!", + "default-settings": "預設設定" + }, + "symbol": { + "symbol": "SCADA 符號", + "fluid-presence": "流體存在", + "fluid-presence-hint": "指示管道中是否存在流體。", + "fluid-present": "流體存在", + "present": "存在", + "absent": "不存在", + "flow-presence": "流動存在", + "flow-presence-hint": "指示管道中流體是否在流動。", + "flow-present": "流動存在", + "flow-direction": "流動方向", + "flow-direction-hint": "指示流體流動方向。", + "forward": "正向", + "reverse": "反向", + "flow-animation-speed": "流動動畫速度", + "flow-animation-speed-hint": "表示流動動畫速度的雙精度值。1 - 正常速度,0 - 無動畫,< 1 - 較慢動畫,> 1 - 較快動畫。", + "leak": "洩漏", + "leak-hint": "指示管道中是否存在洩漏。", + "leak-present": "存在洩漏", + "fluid-color": "流體顏色", + "pipe-color": "管道顏色", + "horizontal-pipe": "水平管道", + "vertical-pipe": "垂直管道", + "horizontal-fluid-color": "水平流體顏色", + "vertical-fluid-color": "垂直流體顏色", + "left-pipe": "左側管道", + "right-pipe": "右側管道", + "top-pipe": "頂部管道", + "bottom-pipe": "底部管道", + "left-fluid-color": "左側流體顏色", + "right-fluid-color": "右側流體顏色", + "top-fluid-color": "頂部流體顏色", + "bottom-fluid-color": "底部流體顏色", + "display": "顯示", + "display-format": "顯示格式", + "value": "值", + "decimals": "小數位數", + "units": "單位", + "flow-meter-value-hint": "流量計顯示屏上顯示的雙精度值", + "value-hint": "表示目前值的雙精度值", + "running": "執行中", + "running-hint": "指示元件是否處於執行狀態。", + "warning-state": "警告狀態", + "warning": "警告", + "warning-click": "警告點選", + "warning-state-hint": "指示元件是否處於警告狀態。", + "critical-state": "嚴重狀態", + "critical": "嚴重", + "critical-click": "嚴重點選", + "critical-state-hint": "指示元件是否處於嚴重狀態。", + "critical-state-animation": "嚴重狀態動畫", + "critical-state-animation-hint": "是否在元件處於嚴重狀態時啟用閃爍動畫。", + "warning-critical-state-animation": "警告/嚴重狀態動畫", + "warning-critical-state-animation-hint": "是否在元件處於警告或嚴重狀態時啟用閃爍動畫。", + "animation": "動畫", + "broken": "損壞", + "broken-hint": "指示元件是否已損壞。", + "on-display-click": "點選顯示面板時", + "on-display-click-hint": "使用者點選顯示面板時呼叫的操作。", + "pipe": "管道", + "default-border-color": "預設邊框顏色", + "active-border-color": "活躍邊框顏色", + "warning-border-color": "警告邊框顏色", + "critical-border-color": "嚴重邊框顏色", + "background-color": "背景顏色", + "rotation-animation-speed": "旋轉動畫速度", + "rotation-animation-speed-hint": "表示旋轉動畫速度的雙精度值。1 - 正常速度,0 - 無動畫,< 1 - 較慢動畫,> 1 - 較快動畫。", + "on-click": "點選", + "on-click-hint": "使用者點選元件時呼叫的操作。", + "connectors-positions": "聯結器位置", + "right-connector": "右側聯結器", + "right-top-connector": "右上聯結器", + "right-bottom-connector": "右下聯結器", + "left-connector": "左側聯結器", + "left-top-connector": "左上聯結器", + "left-bottom-connector": "左下聯結器", + "top-left-connector": "左上聯結器", + "top-right-connector": "右上聯結器", + "top-connector": "頂部聯結器", + "bottom-connector": "底部聯結器", + "running-color": "執行顏色", + "stopped-color": "停止顏色", + "stopped": "已停止", + "warning-color": "警告顏色", + "critical-color": "嚴重顏色", + "opened": "已開啟", + "opened-hint": "指示元件是否處於開啟狀態。", + "open": "開啟", + "open-hint": "使用者點選開啟元件時呼叫的操作。", + "close": "關閉", + "close-hint": "使用者點選關閉元件時呼叫的操作。", + "close-state-animation": "關閉狀態動畫", + "close-state-animation-hint": "是否在元件處於關閉狀態時啟用閃爍動畫。", + "opened-color": "開啟顏色", + "closed-color": "關閉顏色", + "opened-rotation-angle": "開啟旋轉角度", + "closed-rotation-angle": "關閉旋轉角度", + "tank-capacity": "儲槽容量", + "tank-capacity-hint": "表示儲槽總容量的雙精度值。", + "current-volume": "目前容積", + "current-volume-hint": "表示目前已佔用容積的雙精度值。", + "tank-color": "儲槽顏色", + "value-box": "值框", + "value-text": "值文字", + "scale": "刻度", + "transparent-mode": "透明模式", + "major-ticks": "主刻度", + "intervals": "間隔", + "major-ticks-color": "主刻度顏色", + "normal": "正常", + "minor-ticks": "次刻度", + "minor-ticks-color": "次刻度顏色", + "temperature": "溫度", + "temperature-hint": "表示目前溫度的雙精度值。", + "update-temperature": "更新溫度", + "update-temperature-hint": "使用者點選變更目前溫度時呼叫的操作。", + "run": "執行", + "run-hint": "使用者點選執行元件時呼叫的操作。", + "stop": "停止", + "stop-hint": "使用者點選停止元件時呼叫的操作。", + "temperature-step": "溫度步進增量", + "heat-pump-color": "熱泵顏色", + "power-button-background": "電源按鈕背景", + "value-box-background": "值框背景", + "value-units": "值單位", + "enable-units-scale": "在刻度上啟用單位", + "filtration-mode": "過濾模式", + "filtration-mode-hint": "表示目前過濾模式的整數值。", + "filtration-mode-update": "更新過濾模式", + "filtration-mode-update-hint": "使用者點選變更目前過濾模式時呼叫的操作。", + "filter-mode": "過濾", + "waste-mode": "排廢", + "backwash-mode": "反衝洗", + "recirculate-mode": "再循環", + "rinse-mode": "沖洗", + "closed-mode": "關閉", + "sand-filter-color": "砂濾器顏色", + "mode-box-background": "模式框背景", + "border-color": "邊框顏色", + "label-color": "標籤顏色", + "water-leak-hint": "指示是否存在洩漏。", + "default-color": "預設顏色", + "leak-color": "洩漏顏色", + "full-value": "滿值", + "full-value-hint": "表示滿值的雙精度值。", + "label": "標籤", + "icon": "圖示", + "button-color": "按鈕顏色", + "on-label": "「開」標籤文字", + "off-label": "「關」標籤文字", + "arrow-presence": "箭頭存在", + "arrow-presence-hint": "指示聯結器中是否存在箭頭。", + "arrow-present": "箭頭存在", + "arrow-direction": "流動方向", + "arrow-direction-hint": "指示流動方向。", + "flow-animation": "流動存在", + "flow-animation-hint": "指示聯結器中流體是否在流動。", + "flow": "流動", + "flow-line": "線條", + "flow-line-style": "線條樣式", + "flow-style-hint": "設定虛線和間隔值,使其總和可被 100 整除,以實現完美的動畫同步。", + "flow-dash-cap": "虛線端點", + "dash-cap-butt": "平頭", + "dash-cap-round": "圓頭", + "dash-cap-square": "方頭", + "dash": "虛線", + "gap": "間隔", + "main-line": "主線條", + "line": "線條", + "line-color": "線條顏色", + "arrow-color": "箭頭顏色", + "target-value": "目標值", + "target-value-hint": "指示刻度上的目標點。", + "min-max-value": "最小值和最大值", + "min-value": "最小值", + "max-value": "最大值", + "progress-bar": "進度條", + "progress-arrow": "進度箭頭", + "warning-scale-color": "警告刻度顏色", + "critical-scale-color": "嚴重刻度顏色", + "scale-color": "刻度顏色", + "target": "目標", + "high-warning-state": "高警告狀態", + "show-high-warning-scale": "顯示高警告刻度", + "high-warning-scale": "高警告刻度", + "high-warning-state-hint": "表示從高警告範圍到高嚴重或最大值的雙精度值。", + "low-warning-state": "低警告狀態", + "show-low-warning-scale": "顯示低警告刻度", + "low-warning-scale": "低警告刻度", + "low-warning-state-hint": "表示從低警告範圍到低嚴重或最小值的雙精度值。", + "high-critical-state": "高嚴重狀態", + "show-high-critical-scale": "顯示高嚴重刻度", + "high-critical-scale": "高嚴重刻度", + "high-critical-state-hint": "表示從高嚴重範圍到最大刻度值的雙精度值。", + "low-critical-state": "低嚴重狀態", + "show-low-critical-scale": "顯示低嚴重狀態", + "low-critical-scale": "低嚴重狀態", + "low-critical-state-hint": "表示從低嚴重範圍到最小刻度值的雙精度值。", + "filter-color": "過濾器顏色", + "colors": "顏色", + "indicator-colors": "指示器顏色", + "enabled": "已啟用", + "disabled": "已停用", + "on": "開", + "off": "關", + "on-off-state": "開/關狀態", + "on-off-state-hint": "指示元件是處於開還是關狀態。", + "on-update-state": "切換為開啟狀態", + "on-update-state-hint": "使用者點選將狀態更新為開時呼叫的操作。", + "off-update-state": "切換為關閉狀態", + "off-update-state-hint": "使用者點選將狀態更新為關時呼叫的操作。", + "voltage": "電壓", + "input-voltage": "輸入電壓", + "input-voltage-hint": "表示輸入電壓值的雙精度值。", + "output-voltage": "輸出電壓", + "output-voltage-hint": "表示輸出電壓值的雙精度值。", + "first-phase-voltage": "第一相電壓", + "second-phase-voltage": "第二相電壓", + "third-phase-voltage": "第三相電壓", + "phase-voltage-hint": "表示目前相電壓值的雙精度值", + "voltage-hint": "表示目前電壓的雙精度值", + "current-voltage-color": "目前電壓顏色", + "phase-indicator-color": "相位指示器顏色", + "measured": "測量值", + "measured-hint": "表示千瓦時能耗的雙精度值", + "day-rate": "日間費率", + "night-rate": "夜間費率", + "off-peak-rate": "離峰費率", + "peak-rate": "尖峰費率", + "export-rate": "輸出費率", + "operating-mode": "執行模式", + "bypass-mode": "旁路", + "operating-mode-hint": "表示目前執行模式的整數值(0 - 關,1 - 開,2 - 旁路)", + "connected": "已連線", + "connected-hint": "指示元件是否處於已連線狀態。", + "disconnected": "已斷開", + "indicator": "指示器", + "operation-mode": "執行模式", + "operation-mode-hint": "指示變流器處於市電還是變流器模式。", + "operation-mode-indicators-color": "執行模式指示器顏色", + "mains-on-mode": "市電開", + "inverter-on-mode": "變流器開", + "charging-mode": "充電模式", + "charging-mode-hint": "表示目前充電模式的整數值(1 - 恆流,2 - 恆壓,3 - 浮充)", + "charging-mode-indicators-color": "充電模式指示器顏色", + "inverter-faults": "故障", + "inverter-fault-indicators-color": "故障指示器顏色", + "overload-fault": "過載", + "overload-fault-hint": "指示變流器是否處於過載狀態。", + "low-battery-fault": "低電量", + "low-battery-fault-hint": "指示電池是否過度放電。", + "temperature-fault": "溫度", + "temperature-fault-hint": "指示變流器中是否存在高溫。", + "triangle": "三角形", + "socket": "插座", + "left-button": "左按鈕", + "right-button": "右按鈕", + "alarm-colors": "警報顏色", + "hook-color": "掛鉤顏色", + "current-voltage": "目前電壓" + } + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "產生隨機值", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "探索可立即使用的", + "and-devices": "與裝置", + "search-placeholder": "在 IoT Hub 中搜尋…", + "search": "搜尋…", + "search-published-items": "搜尋已發布的項目…", + "see-all-results": "查看所有結果", + "no-search-results": "找不到「{{ search }}」的搜尋結果", + "no-items-available": "沒有可用的項目", + "search-results": "搜尋結果", + "search-results-for": "搜尋結果:", + "try-adjusting-search": "請嘗試調整搜尋內容", + "add-widget-from-iot-hub": "從 IoT Hub 新增小工具", + "all-widgets": "所有小工具", + "all-iot-hub-widgets": "所有 IoT Hub 小工具", + "installed-from-iot-hub": "從 IoT Hub 安裝", + "item-link-unavailable": "無法使用此項目", + "include-deprecated": "包含已淘汰的項目", + "widget-category-value": "{{ category }}小工具", + "search-categories": "搜尋類別…", + "search-in-category": "搜尋小工具…", + "search-bundles": "搜尋套件…", + "search-widgets": "搜尋小工具…", + "add-item-from-iot-hub": "從 IoT Hub 新增{{ type }}", + "add-from-iot-hub": "從 IoT Hub 新增", + "filters": "篩選條件", + "type": "類型", + "items-per-page": "每頁筆數", + "filter": "篩選", + "available": "可用", + "items-page-desc-widgets": "使用專為您的產業預先設定的小工具,快速展開物聯網應用。立即部署經過驗證的架構,專注於您的業務邏輯。", + "items-page-desc-dashboards": "探索預先建立的視覺化範本與互動式介面配置,短短幾分鐘即可部署儀表板,生動呈現您的物聯網資料。", + "items-page-desc-solution-templates": "完整的物聯網解決方案套件,包含儀表板、規則鏈及裝置設定,協助您以經過驗證的架構快速上手。", + "items-page-desc-calculated-fields": "使用預先設定的計算欄位,自動計算燃油效率或功率因數等複雜指標。無須手動撰寫邏輯,讓儀表板清楚呈現可供決策的資訊。", + "items-page-desc-alarm-rules": "使用預先建立的警報規則範本,偵測電量不足、超出閾值或裝置離線等重要狀況。無須自行撰寫規則邏輯,即可在事件發生時立即回應。", + "items-page-desc-rule-chains": "從複雜的資料處理到 API 整合,規則鏈範本提供擴充所需的架構基礎,無須從頭建置。", + "items-page-desc-devices": "探索裝置庫中的預設連線範本,短短幾分鐘即可部署,快速連接您的硬體。", + "device-library": "裝置庫", + "most-popular-in-iot-hub": "IoT Hub 最熱門項目", + "pe-required-title": "需要專業版", + "pe-required-message": "此項目僅適用於 ThingsBoard 專業版。您目前使用的是社群版,請升級至專業版以安裝此項目。", + "upgrade-required-title": "需要升級 ThingsBoard", + "upgrade-required-message": "此項目需要 ThingsBoard {{minVersion}} 或更新版本。您目前使用的是 {{currentVersion}},請升級執行個體以安裝此項目。", + "upgrade-instance": "升級執行個體", + "become-creator-text": "將您的範本提交至 ThingsBoard IoT Hub,爭取精選推薦,並向全球社群展示您的解決方案。", + "contribute": "貢獻內容", + "creator-profile": "創作者個人資料", + "title-widgets": "小工具", + "title-dashboards": "儀表板", + "title-calculated-fields": "計算欄位", + "title-alarm-rules": "警報規則", + "title-rule-chains": "規則鏈", + "title-devices": "裝置", + "title-solution-templates": "解決方案範本", + "subtitle-widgets": "瀏覽適用於儀表板的社群小工具", + "subtitle-dashboards": "瀏覽可立即使用的儀表板", + "subtitle-solution-templates": "瀏覽完整的物聯網解決方案套件", + "subtitle-calculated-fields": "瀏覽計算欄位範本", + "subtitle-alarm-rules": "瀏覽警報規則範本", + "subtitle-rule-chains": "瀏覽規則鏈範本", + "subtitle-devices": "瀏覽裝置設定", + "search-dashboards": "搜尋儀表板…", + "search-solution-templates": "搜尋解決方案範本…", + "search-calculated-fields": "搜尋計算欄位…", + "search-alarm-rules": "搜尋警報規則…", + "search-rule-chains": "搜尋規則鏈…", + "search-devices": "搜尋裝置…", + "sort-most-installed": "安裝次數最多", + "sort-newest": "最新", + "sort-name": "名稱(A–Z)", + "type-filter-label": "類型", + "category": "類別", + "use-case": "使用情境", + "vendor": "供應商", + "view-setup-guide": "查看設定指南", + "hardware-type": "硬體類型", + "connectivity": "連線", + "clear-all-filters": "清除所有篩選條件", + "clear-all": "全部清除", + "results-count": "{{count}} 筆結果", + "unable-to-load": "無法載入", + "unable-to-load-text": "載入項目時發生問題,請重試。", + "network-server-unavailable": "網路或伺服器無法使用", + "network-server-unavailable-text": "無法連線至目錄,請稍後重試。", + "try-again": "再試一次", + "retry": "重試", + "no-items-found": "找不到項目", + "no-items-found-text": "請嘗試調整搜尋內容或篩選條件。", + "no-widgets-found": "找不到小工具", + "browse-tip-prefix": "找不到需要的內容嗎?", + "browse-tip-link": "瀏覽 IoT Hub", + "browse-tip-suffix": "探索更多小工具。", + "creator": "創作者", + "manage": "管理", + "details": "詳細資料", + "become-a-creator": "成為創作者", + "back-to-iot-hub": "返回 IoT Hub", + "verified-creator": "已驗證的創作者", + "published-items": "已發布的項目", + "by-creator": "由 {{name}} 製作", + "installs": "次安裝", + "more": "更多", + "categories": "類別", + "use-cases": "使用情境", + "changelog": "變更記錄", + "created-by": "由 {{name}} 建立", + "install-confirm": "要安裝 {{name}} v{{version}} 嗎?", + "install-confirm-title": "要安裝「{{name}}」嗎?", + "install-desc": "安裝時會自動在您的租戶中建立並設定必要的資源", + "install-success-desc": "已成功安裝「{{name}}」", + "remove": "移除", + "remove-confirm-title": "要移除「{{name}}」嗎?", + "remove-desc": "移除時也會刪除租戶中已安裝的實體及其相關資源", + "remove-desc-solution-template": "移除此解決方案範本時,也會刪除租戶中所有已建立的實體,包括儀表板、規則鏈、裝置及其他相關資源", + "remove-anyway": "仍要移除", + "select-entity-for-cf": "選擇計算欄位「{{name}}」的實體", + "select-entity-for-alarm-rule": "選擇警報規則「{{name}}」的實體", + "rule-chain-install-subtitle": "安裝時會自動在租戶中建立規則鏈。您也可以將其設為設定檔的預設規則鏈,讓該設定檔的實體透過此規則鏈處理訊息。", + "rule-chain-set-as-profile-default-toggle": "設為設定檔的預設規則鏈", + "rule-chain-set-as-profile-default-tooltip": "啟用後,所選設定檔的所有實體都會透過此規則鏈處理訊息。", + "rule-chain-overwrite-title": "要取代現有的預設規則鏈嗎?", + "rule-chain-overwrite-body": "設定檔 {{profile}} 目前的預設規則鏈為 {{existing}}。安裝後將以此規則鏈取代。", + "rule-chain-overwrite-replace": "取代", + "install": "安裝", + "open": "開啟", + "built-in": "內建", + "built-in-lookup-failed-title": "無法檢查此元件", + "built-in-lookup-failed-text": "無法檢查此執行個體是否已有「{{name}}」。尚未安裝任何項目,請重試。", + "built-in-missing-title": "此執行個體中無法使用", + "built-in-missing-text": "「{{name}}」通常隨 ThingsBoard 提供,但此執行個體中找不到它,可能已被系統管理員刪除。您可以改從 IoT Hub 安裝。", + "connect": "連線", + "connect-device": "連接裝置", + "installing": "正在安裝…", + "installing-title": "正在安裝「{{name}}」", + "installed": "已安裝", + "install-success": "已成功安裝 {{name}}", + "install-success-title": "安裝成功", + "install-success-message": "已成功安裝「{{name}}」v{{version}}。", + "install-error": "無法安裝 {{name}}", + "solution-install-title": "解決方案範本已成功安裝", + "solution-instructions": "解決方案說明", + "goto-main-dashboard": "前往主要儀表板", + "install-error-title": "安裝失敗", + "install-error-message": "無法安裝「{{name}}」。", + "install-plan-title": "安裝「{{name}}」及其相依項目", + "install-plan-will-install": "將安裝 {{count}} 個項目。", + "install-plan-will-update": "有 {{count}} 個項目已安裝,將予以略過。", + "install-plan-missing-warning": "市集中找不到 {{count}} 個必要項目。缺少這些項目可能導致「{{ name }}」無法正常運作。", + "install-plan-status-will": "安裝", + "install-plan-status-installed": "已安裝", + "install-plan-status-missing": "缺少項目", + "install-plan-confirm": "安裝", + "install-partial-title": "已安裝,但有警告", + "install-partial-desc": "已安裝「{{name}}」,但缺少部分必要項目。", + "install-rollback-partial": "安裝失敗前建立的部分項目無法自動移除,可能需要手動刪除。", + "check-for-updates": "檢查更新", + "updates": "更新", + "up-to-date": "已是最新版本", + "update": "更新", + "update-to-version": "更新至 {{ version }} 版", + "update-item-title": "更新項目", + "update-confirm": "要將「{{name}}」更新至 {{version}} 版嗎?", + "update-confirm-title": "要更新「{{name}}」嗎?", + "update-desc": "更新時會以最新版本取代目前版本,並重新設定租戶中的相關資源", + "update-success-desc": "已成功更新「{{name}}」", + "updating": "正在更新…", + "update-success-title": "更新成功", + "update-success-message": "已將「{{name}}」更新至 {{version}} 版。", + "entity-modified-title": "實體已修改", + "entity-modified-text": "此{{type}}已在本機修改。仍要更新嗎?", + "update-error-title": "更新失敗", + "update-error-message": "無法更新「{{name}}」。", + "update-error": "無法更新 {{name}}", + "most-popular": "最熱門", + "all": "全部", + "installed-items": "已安裝的項目", + "installed-items-for": "「{{name}}」的已安裝項目", + "search-installed-items": "搜尋已安裝的項目…", + "item-name": "名稱", + "item-type": "類型", + "item-version": "版本", + "installed-date": "安裝日期", + "no-installed-items": "找不到已安裝的項目", + "no-installed-items-text": "請嘗試調整搜尋內容或篩選條件。", + "remove-installed-item-title": "移除已安裝的項目", + "remove-installed-item-text": "確定要移除「{{name}}」嗎?已安裝的實體也會一併移除。", + "installed-item-removed": "已移除「{{name}}」", + "installed-item-remove-error": "無法移除「{{name}}」", + "open-installed-entity": "開啟已安裝的實體", + "view-item-details": "查看項目詳細資料", + "review-device-instructions": "查看裝置說明", + "open-item-type": "開啟{{type}}", + "back-to-marketplace": "返回市集", + "device-install-select-connectivity": "選擇裝置的連線方式", + "pe-only": "僅限專業版", + "pe-connectivity-prompt-title-suffix": "僅適用於 ThingsBoard 專業版", + "pe-connectivity-prompt-try-pe": "試用專業版", + "connection-method": "連線方式", + "step-prerequisites": "必要條件", + "step-configuration": "設定", + "step-provisioning": "佈建", + "device-install-step-error": "失敗", + "device-install-step-pending": "等待中", + "device-install-step-running": "正在建立…", + "device-install-step-success": "已建立", + "device-install-step-type-DASHBOARD": "儀表板", + "device-install-step-type-DEVICE": "裝置", + "device-install-step-type-DEVICE_PROFILE": "裝置設定檔", + "device-install-step-type-GATEWAY": "閘道器", + "device-install-step-type-GATEWAY_CONNECTOR": "閘道器連接器", + "device-install-step-type-RULE_CHAIN": "規則鏈", + "device-install-conflict-exists": "已有相同名稱的{{type}}", + "device-install-use-existing": "使用現有項目", + "device-install-overwrite": "覆寫", + "device-install-create-copy": "建立副本", + "device-install-resolution-created": "已建立", + "device-install-resolution-use-existing": "已使用現有項目", + "device-install-resolution-overwrite": "已覆寫", + "device-install-resolution-create-copy": "已建立副本", + "device-install-title": "連接「{{name}}」", + "device-installing-title": "正在安裝「{{name}}」", + "done": "完成", + "in-progress": "進行中", + "item-detail": "IoT Hub 項目", + "unpublished-warning-title": "未發布的內容", + "unpublished-warning-text": "這是尚未發布的內容預覽,未經 IoT Hub 審查。安裝未經驗證的內容可能帶來安全性與穩定性風險,請僅在信任創作者的情況下繼續。", + "unpublished-warning-confirm": "我已瞭解風險,繼續", + "unpublished-preview": "未發布內容預覽", + "deep-link-invalid-id": "IoT Hub 項目連結無效。", + "deep-link-not-found": "此 IoT Hub 項目不存在或已移除。", + "deep-link-fetch-failed": "無法載入 IoT Hub 項目,請重試。", + "install-dependency-error": "無法安裝相依項目「{{name}}」:{{error}}", + "device-install-step-type-UPLINK_CONVERTER": "上行轉換器", + "device-install-step-type-DOWNLINK_CONVERTER": "下行轉換器", + "device-install-step-type-INTEGRATION": "整合", + "use-secret": "使用機密", + "use-plain-text": "使用純文字", + "export-to-iot-hub": "匯出至 IoT Hub" + }, + "item-data": { + "widget-type-timeseries": "時間序列", + "widget-type-latest": "最新值", + "widget-type-rpc": "控制", + "widget-type-alarm": "警報", + "widget-type-static": "靜態", + "cf-type-simple": "簡易", + "cf-type-script": "指令碼", + "cf-type-geofencing": "地理圍欄", + "cf-type-alarm": "警報", + "cf-type-propagation": "傳播", + "cf-type-related-entities-aggregation": "關聯實體彙總", + "cf-type-entity-aggregation": "實體彙總", + "rule-chain-type-core": "核心", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "資料擴充", + "node-type-filter": "篩選", + "node-type-transformation": "轉換", + "node-type-action": "動作", + "node-type-analytics": "分析", + "node-type-external": "外部", + "node-type-flow": "流程", + "node-type-unknown": "未知" + }, + "mobile": { + "add-application": "新增應用程式", + "app-id": "應用程式網站關聯識別碼", + "app-id-required": "應用程式網站關聯識別碼為必填項", + "app-id-pattern": "應用程式網站關聯識別碼格式無效", + "app-store-link": "App Store 連結", + "app-store-link-required": "App Store 連結為必填項", + "application-details": "應用程式詳細資料", + "application-package": "應用程式套件名稱", + "application-secret": "應用程式金鑰", + "application-secret-required": "請輸入應用程式金鑰。", + "application": "應用程式", + "applications": "應用程式", + "copy-app-id": "複製應用程式網站關聯識別碼", + "copy-app-store-link": "複製 App Store 連結", + "copy-application-package": "複製應用程式套件名稱", + "copy-application-secret": "複製應用程式金鑰", + "copy-google-play-link": "複製 Google Play 連結", + "copy-sha256-certificate-fingerprints": "複製 SHA256 憑證指紋", + "delete-application": "刪除應用程式", + "delete-application-button-text": "我瞭解後果,刪除應用程式", + "delete-application-text": "此操作無法復原,將永久刪除您的應用程式。
    如果不想永久刪除,可以先暫停應用程式。
    若仍要刪除應用程式,請輸入「{{phrase}}」以確認。", + "delete-application-title-short": "確定要刪除應用程式「{{name}}」嗎?", + "delete-application-text-short": "請注意,確認後應用程式及所有相關資料將無法恢復。", + "delete-application-phrase": "刪除應用程式", + "delete-applications-bundle-text": "請注意,確認後行動應用程式套件及所有相關資料將無法恢復。", + "delete-applications-bundle-title": "確定要刪除行動應用程式套件「{{bundleName}}」嗎?", + "generate-application-secret": "產生應用程式金鑰", + "google-play-link": "Google Play 連結", + "google-play-link-required": "Google Play 連結為必填項", + "latest-version": "最新版本", + "min-version": "最低版本", + "invalid-version-pattern": "無效的版本格式。請使用格式:主版本.次版本.修訂版本(例如 1.0.0)。", + "mobile-center": "行動應用程式中心", + "mobile-apps": "行動應用程式", + "mobile-package": "應用程式套件名稱", + "mobile-package-max-length": "應用程式套件名稱須少於 256 個字元。", + "mobile-package-required": "請輸入應用程式套件名稱。", + "mobile-package-pattern": "應用程式套件名稱格式無效。", + "mobile-package-title": "應用程式標題", + "mobile-package-title-max-length": "應用程式標題應少於 256 個字元", + "no-application": "找不到應用程式", + "no-bundles": "找不到應用程式套件", + "platform-type": "平台類型", + "search-application": "搜尋應用程式", + "search-bundles": "搜尋應用程式套件", + "set": "設定", + "sha256-certificate-fingerprints": "SHA256 憑證指紋", + "sha256-certificate-fingerprints-required": "SHA256 憑證指紋為必填項", + "sha256-certificate-fingerprints-pattern": "SHA256 憑證指紋格式無效", + "show-hidden-pages": "顯示隱藏頁面", + "status": "狀態", + "status-type": { + "deprecated": "已棄用", + "draft": "草稿", + "published": "已釋出", + "suspended": "已暫停" + }, + "store-information": "商店資訊", + "version-information": "版本資訊", + "min-version-release-notes": "最低版本釋出說明", + "latest-version-release-notes": "最新版本釋出說明", + "bundle": "應用程式套件", + "bundles": "應用程式套件", + "add-bundle": "新增應用程式套件", + "title": "標題", + "title-required": "標題為必填項", + "title-cannot-contain-only-spaces": "標題不能僅包含空格", + "title-max-length": "標題應少於 256 個字元", + "oauth-clients": "OAuth 2.0 用戶端", + "android-app": "Android 應用程式", + "android-application": "Android 應用程式", + "ios-app": "iOS 應用程式", + "ios-application": "iOS 應用程式", + "invalid-store-link": "無效的商店連結", + "enable-oauth": "啟用 OAuth 2.0", + "enable-self-registration": "啟用自行註冊", + "edit-bundle": "編輯應用程式套件", + "description": "描述", + "basic-settings": "基本設定", + "no-application-matching": "找不到與「{{entity}}」符合的應用程式。", + "no-bundle-matching": "找不到符合「{{entity}}」的行動應用程式套件。", + "application-required": "應用程式為必填項。", + "bundle-required": "請選擇應用程式套件。", + "no-application-text": "找不到應用程式", + "no-bundle-text": "找不到應用程式套件", + "layout": "版面配置", + "pages": "頁面", + "hide-all-pages": "隱藏所有頁面", + "reset-to-default-pages": "重設為預設頁面", + "add-specific-page": "新增特定頁面", + "visible": "可見", + "hidden": "隱藏", + "reset-to-page-default": "將頁面重設為預設", + "mobile-599": "手機(最大 599 px)", + "tablet-959": "平板電腦(最大 959 px)", + "max-element-number": "最大元素數量", + "page-name": "頁面名稱", + "page-name-required": "頁面名稱為必填項。", + "page-name-cannot-contain-only-spaces": "頁面名稱不能僅包含空格。", + "page-name-max-length": "頁面名稱應少於 256 個字元", + "page-type": "頁面類型", + "pages-types": { + "dashboard": "儀表板", + "web-view": "Web 檢視", + "custom": "自訂" + }, + "url": "URL", + "invalid-url-format": "無效的 URL 格式", + "path": "路徑", + "invalid-path-format": "無效的路徑格式", + "custom-page": "自訂頁面", + "edit-page": "編輯頁面", + "edit-custom-page": "編輯自訂頁面", + "delete-page": "刪除頁面", + "qr-code-widget": "QR 碼小工具", + "type-here": "在此輸入", + "configuration-dialog": "設定對話方塊", + "configuration-app": "設定應用程式", + "configuration-step": { + "prepare-environment-title": "準備開發環境", + "prepare-environment-text": "Flutter ThingsBoard 行動應用程式需要 Flutter SDK。請按照說明設定 Flutter SDK。", + "get-source-code-title": "取得應用程式原始碼", + "get-source-code-text": "您可以從 GitHub 複製儲存庫,取得 Flutter ThingsBoard 行動應用程式的原始碼:", + "configure-app-settings-title": "設定應用程式", + "configure-app-settings-text": "下載設定檔,並將其放到上一步複製的專案根目錄中。", + "download-file": "下載檔案", + "run-app-title": "執行應用程式", + "run-app-text": "依照 IDE 中的說明執行應用程式。\n如果使用終端機,請執行以下命令啟動應用程式:", + "more-information": "詳細資訊請參閱我們的入門文件。", + "getting-started": "入門指南" + }, + "self-registration": { + "add-field": "新增欄位", + "advanced-settings": "進階設定", + "captcha-properties": "驗證碼屬性", + "customer-group": "客戶群組", + "customer-title-prefix": "客戶標題前綴", + "field-type": "欄位類型", + "label": "標籤", + "no-customer-groups-matching": "找不到符合「{{entityGroup}}」的客戶群組。", + "page-title": "頁面標題", + "page-title-required": "頁面標題為必填項。", + "page-title-cannot-contain-only-spaces": "頁面標題不能只有空格", + "page-title-max-length": "頁面標題必須少於 256 個字元", + "redirect-settings": "重新導向設定", + "registration-form-field": "註冊表單欄位", + "remove-registration-field": "移除註冊欄位", + "required": "必填", + "self-registration": "自行註冊", + "reset-self-registration-title": "確定要將自行註冊設定重設為預設值嗎?", + "reset-self-registration-text": "請注意,確認後所有設定都會遺失,且無法復原。" + } + }, + "monitor": { + "monitor": "監控" + }, + "notification": { + "action-button": "操作按鈕", + "action-type": "操作類型", + "active": "活躍", + "add-notification-recipients-group": "新增通知收件者群組", + "add-notification-template": "新增通知範本", + "add-recipient": "新增收件者群組", + "add-recipients": "新增收件者群組", + "add-rule": "新增規則", + "add-stage": "新增階段", + "add-template": "新增範本", + "after": "經過", + "alarm-assignment-trigger-settings": "警報指派觸發器設定", + "alarm-comment-trigger-settings": "警報留言觸發器設定", + "alarm-trigger-settings": "警報觸發器設定", + "all": "全部", + "api-feature-hint": "如果該欄位為空,觸發器將應用於所有 API 功能", + "api-usage-trigger-settings": "API 使用觸發器設定", + "new-platform-version-trigger-settings": "新平台版本觸發器設定", + "rate-limits-trigger-settings": "超出速率限制觸發器設定", + "task-processing-failure-trigger-settings": "工作處理失敗觸發器設定", + "resources-shortage-trigger-settings": "資源不足觸發器設定", + "at-least-one-should-be-selected": "至少需要選擇一項", + "basic-settings": "基本設定", + "button-text": "按鈕文字", + "button-text-required": "按鈕文字為必填項", + "button-text-max-length": "按鈕文字長度不得超過 {{ length }} 個字元", + "compose": "編寫", + "conversation": "對話", + "conversation-required": "請選擇對話", + "copy-notification-template": "複製通知範本", + "copy-rule": "複製規則", + "copy-template": "複製範本", + "create-new": "新建", + "created": "已建立", + "customize-messages": "自訂訊息", + "cpu-threshold": "CPU 閾值", + "delete-notification-text": "請注意,確認後該通知將無法恢復。", + "delete-notification-title": "確定要刪除該通知嗎?", + "delete-notifications-text": "請注意,確認後通知將無法恢復。", + "delete-notifications-title": "確定要刪除 { count, plural, =1 {1 則通知} other {# 則通知} }嗎?", + "delete-recipient-text": "請注意,確認後該收件者群組將無法恢復。", + "delete-recipient-title": "確定要刪除收件者群組「{{recipientName}}」嗎?", + "delete-recipients-text": "請注意,確認後收件者群組將無法恢復。", + "delete-recipients-title": "確定要刪除 { count, plural, =1 {1 個收件者群組} other {# 個收件者群組} }嗎?", + "delete-request-text": "請注意,確認後該請求將無法恢復。", + "delete-request-title": "確定要刪除該請求嗎?", + "delete-requests-text": "請注意,確認後請求將無法恢復。", + "delete-requests-title": "確定要刪除 { count, plural, =1 {1 個請求} other {# 個請求} }嗎?", + "delete-rule-text": "請注意,確認後該規則將無法恢復。", + "delete-rule-title": "確定要刪除規則「{{ruleName}}」嗎?", + "delete-rules-text": "請注意,確認後規則將無法恢復。", + "delete-rules-title": "確定要刪除 { count, plural, =1 {1 條規則} other {# 條規則} }嗎?", + "delete-template-text": "請注意,確認後該範本將無法恢復。", + "delete-template-title": "確定要刪除範本「{{templateName}}」嗎?", + "delete-templates-text": "請注意,確認後範本將無法恢復。", + "delete-templates-title": "確定要刪除 { count, plural, =1 {1 個範本} other {# 個範本} }嗎?", + "deleted": "已刪除", + "delivery-method": { + "delivery-method": "傳送方式", + "email": "電子郵件", + "email-preview": "電子郵件通知預覽", + "slack": "Slack", + "slack-preview": "Slack 通知預覽", + "microsoft-teams": "Microsoft Teams", + "microsoft-teams-preview": "Microsoft Teams 通知預覽", + "sms": "SMS", + "sms-preview": "SMS 通知預覽", + "web": "Web", + "web-preview": "Web 通知預覽", + "mobile-app": "行動應用程式", + "mobile-app-preview": "行動應用程式通知預覽" + }, + "delivery-method-not-configure-click": "傳送方式未設定。點選進行設定。", + "delivery-method-not-configure-contact": "傳送方式未設定。請聯絡系統管理員。", + "delivery-methods": "傳送方式", + "description": "描述", + "device-activity-trigger-settings": "裝置活動觸發器設定", + "device-list-rule-hint": "如果該欄位為空,觸發器將應用於所有裝置", + "device-profiles-list-rule-hint": "如果該欄位為空,觸發器將應用於所有裝置設定檔", + "disabled": "已停用", + "edge-trigger-settings": "Edge 觸發器設定", + "edge-list-rule-hint": "如果該欄位為空,觸發器將應用於所有 Edge 執行個體", + "edit-notification-recipients-group": "編輯通知收件者群組", + "edit-notification-template": "編輯通知範本", + "edit-rule": "編輯規則", + "edit-template": "編輯範本", + "enabled": "已啟用", + "entities-limit-trigger-settings": "實體限制觸發器設定", + "entity-action-trigger-settings": "實體操作觸發器設定", + "entity-type": "實體類型", + "escalation-chain": "升級鏈", + "failed-send": "傳送失敗", + "fails": "{ count, plural, =1 {1 次失敗} other {# 次失敗} }", + "filter": "篩選", + "first-recipient": "第一收件者群組", + "inactive": "不活躍", + "inbox": "收件匣", + "notification-inbox": "通知 / 收件匣", + "input-field-support-templatization": "輸入欄位支援範本化。", + "input-fields-support-templatization": "輸入欄位支援範本化。", + "link": "連結", + "link-required": "連結為必填項", + "link-max-length": "連結長度不得超過 {{ length }} 個字元", + "link-type": { + "dashboard": "開啟儀表板", + "link": "開啟 URL 連結" + }, + "loading-notifications": "正在載入通知...", + "management": "通知管理", + "mark-all-as-read": "全部標記為已讀", + "mark-as-read": "標記為已讀", + "message": "訊息", + "message-required": "訊息為必填項", + "message-max-length": "訊息長度不得超過 {{ length }} 個字元", + "name": "名稱", + "name-required": "名稱為必填項", + "new-notification": "新通知", + "no-inbox-notification": "找不到通知", + "no-notification-request": "暫無通知請求", + "no-notification-templates": "找不到通知範本", + "no-notifications-yet": "暫無通知", + "no-recipients-notification": "找不到通知收件者群組", + "no-recipients-matching": "找不到與「{{entity}}」符合的收件者群組。", + "no-recipients-text": "找不到收件者群組", + "no-rule": "未設定規則", + "no-rules-notification": "找不到通知規則", + "no-severity-found": "找不到嚴重程度", + "no-severity-matching": "找不到「{{severity}}」。", + "no-template-matching": "找不到符合「{{template}}」的通知範本。", + "create-new-template": "建立一個新範本!", + "not-found-slack-recipient": "找不到 Slack 收件者", + "notification": "通知", + "notifications": "通知", + "notification-center": "通知中心", + "notification-tap-action": "通知點選操作", + "notification-tap-action-hint": "如果未啟用,將使用預設警報儀表板", + "notify": "後通知", + "notify-again": "再次通知", + "notify-alarm-action": { + "acknowledged": "警報已確認", + "assigned": "警報已指派", + "cleared": "警報已清除", + "created": "警報已建立", + "severity-changed": "警報嚴重程度已變更", + "unassigned": "警報已取消指派" + }, + "notify-on": "通知條件", + "notify-on-comment-update": "留言更新時通知", + "notify-on-required": "通知條件為必填項", + "notify-on-unassign": "取消指派時通知", + "notify-only-user-comments": "僅通知使用者留言", + "only-rule-chain-lifecycle-failures": "僅規則鏈生命週期失敗", + "only-rule-node-lifecycle-failures": "僅規則節點生命週期失敗", + "platform-users": "平台使用者", + "ram-threshold": "RAM 閾值", + "rate-limits": "速率限制", + "rate-limits-hint": "如果該欄位為空,觸發器將應用於所有速率限制", + "recipient": "收件者群組", + "recipient-group": "收件者群組", + "recipient-type": { + "affected-tenant-administrators": "受影響的租戶管理員", + "affected-user": "受影響的使用者", + "all-users": "所有使用者", + "customer-users": "客戶使用者", + "system-administrators": "系統管理員", + "tenant-administrators": "租戶管理員", + "user-filters": "使用者篩選器", + "user-list": "使用者清單", + "users-entity-owner": "實體所有者的使用者", + "user-group-list": "使用者群組清單", + "user-role": "使用者角色" + }, + "recipients": "收件者群組", + "notification-recipient": "通知收件者群組", + "notification-recipient-required": "通知收件者群組為必填項。", + "notification-recipients": "通知 / 收件者群組", + "recipients-count": "{ count, plural, =1 {1 個收件者} other {# 個收件者} }", + "recipients-required": "收件者群組為必填項", + "refresh-allow-delivery-method": "重新整理允許的傳送方式", + "request-search": "搜尋請求", + "request-status": { + "processing": "處理中", + "scheduled": "已排程", + "sent": "已傳送" + }, + "review": "檢閱", + "rule": "規則", + "rule-chain-list-rule-hint": "如果該欄位為空,觸發器將應用於所有規則鏈", + "rule-engine-events-trigger-settings": "規則引擎事件觸發器設定", + "rule-engine-filter": "規則引擎篩選器", + "rule-name": "規則名稱", + "rule-name-required": "名稱為必填項", + "rule-disable": "停用通知規則", + "rule-enable": "啟用通知規則", + "rule-node-filter": "規則節點篩選器", + "rules": "規則", + "notification-rules": "通知 / 規則", + "scheduler-later": "排程稍後傳送", + "search-notification": "搜尋通知", + "search-recipients": "搜尋收件者群組", + "search-rules": "搜尋規則", + "search-templates": "搜尋範本", + "see-documentation": "檢視文件", + "selected-notifications": "已選擇 { count, plural, =1 {1 則通知} other {# 則通知} }", + "selected-recipients": "已選擇 { count, plural, =1 {1 個收件者群組} other {# 個收件者群組} }", + "selected-requests": "已選擇 { count, plural, =1 {1 個請求} other {# 個請求} }", + "selected-rules": "已選擇 { count, plural, =1 {1 條規則} other {# 條規則} }", + "selected-template": "已選擇 { count, plural, =1 {1 個範本} other {# 個範本} }", + "send-notification": "傳送通知", + "sent": "已傳送", + "setup": "設定", + "notification-sent": "通知 / 已傳送", + "set-entity-from-notification": "將通知中的實體設定到儀表板狀態", + "slack-chanel-type": "Slack 頻道類型", + "slack-chanel-types": { + "direct": "私訊", + "private-channel": "私人頻道", + "public-channel": "公開頻道" + }, + "start-from-scratch": "從頭開始", + "status": "狀態", + "stop-escalation-alarm-status-become": "當警報狀態變為以下時停止升級:", + "storage-threshold": "儲存閾值", + "subject": "主題", + "subject-required": "主題為必填項", + "subject-max-length": "主題長度不得超過 {{ length }} 個字元", + "template": "範本", + "template-name": "範本名稱", + "template-required": "範本為必填項", + "template-type": { + "alarm": "警報", + "alarm-assignment": "警報指派", + "alarm-comment": "警報留言", + "api-usage-limit": "API 使用限制", + "device-activity": "裝置活動", + "entities-limit": "實體限制", + "entities-limit-increase-request": "實體限制提升請求", + "entity-action": "實體操作", + "general": "通用", + "rule-engine-lifecycle-event": "規則引擎生命週期事件", + "rule-node": "規則節點", + "new-platform-version": "新平台版本", + "rate-limits": "超出速率限制", + "edge-communication-failure": "Edge 通訊故障", + "edge-connection": "Edge 連線", + "task-processing-failure": "工作處理失敗", + "resources-shortage": "資源不足", + "addon-access-error": "附加元件/功能存取錯誤", + "addon-access-request": "附加元件/功能存取申請", + "plan-upgrade-request": "方案升級申請", + "integration-lifecycle-event": "整合生命週期事件", + "report-generated": "報表已產生", + "user-activated": "使用者已啟用", + "user-registered": "使用者已註冊" + }, + "templates": "範本", + "notification-templates": "通知 / 範本", + "tenant-profiles-list-rule-hint": "如果該欄位為空,觸發器將應用於所有租戶設定檔", + "tenants-list-rule-hint": "如果該欄位為空,觸發器將應用於所有租戶", + "threshold": "閾值", + "theme-color": "主題顏色", + "time": "時間", + "track-rule-node-events": "追蹤規則節點事件", + "trigger": { + "alarm": "警報", + "alarm-assignment": "警報指派", + "alarm-comment": "警報留言", + "api-usage-limit": "API 使用限制", + "device-activity": "裝置活動", + "entities-limit": "實體限制", + "entity-action": "實體操作", + "rule-engine-lifecycle-event": "規則引擎生命週期事件", + "new-platform-version": "新平台版本", + "rate-limits": "超出速率限制", + "edge-connection": "Edge 連線", + "edge-communication-failure": "Edge 通訊故障", + "task-processing-failure": "工作處理失敗", + "resources-shortage": "資源不足", + "trigger": "觸發器", + "trigger-required": "觸發器為必填項", + "integration-lifecycle-event": "整合生命週期事件" + }, + "type": "類型", + "unread": "未讀", + "updated": "已更新", + "use-deprecated-webhook-connectors": "使用已棄用的 Webhook 聯結器", + "use-old-api": "使用舊 API", + "use-template": "使用範本", + "view-all": "檢視全部", + "warning": "警告", + "webhook-url": "Webhook URL", + "webhook-url-required": "Webhook URL 為必填項", + "workflow-url": "工作流程 URL", + "workflow-url-required": "工作流程 URL 為必填項", + "channel-name": "頻道名稱", + "channel-name-required": "頻道名稱為必填項", + "settings": { + "notification-settings": "通知設定", + "reset-all": "重設所有設定", + "reset-all-title": "確定要重設表單嗎?", + "reset-all-text": "確認後,設定表單將重設為預設值並儲存。", + "type": "類型", + "enable-all": "全部啟用", + "disable-all": "全部停用", + "delivery-not-configured": "傳送方式未設定" + }, + "ai-assistant-initial-prompt-placeholder": "描述您想設定的內容…", + "ai-assistant-example-explain-label": "通知的運作方式", + "ai-assistant-example-explain-message": "說明 ThingsBoard 通知的運作方式。", + "ai-assistant-example-inactivity-label": "裝置離線電子郵件通知", + "ai-assistant-example-inactivity-message": "建立一條通知規則,在我的任一裝置變為不活躍狀態時,傳送電子郵件通知我。", + "attach-report": "附加報表", + "attach-report-hint": "產生報表檔案並附加至電子郵件或 Slack 訊息。目前僅支援「電子郵件」和「Slack」傳送方式。", + "integration-action-trigger-settings": "整合事件觸發設定", + "integration-list-rule-hint": "若此欄位留空,觸發條件將套用至所有整合", + "notify-only-integrations-errors": "僅在發生錯誤時通知", + "view-notification-recipients-group": "檢視通知收件者群組", + "view-notification-template": "檢視通知範本", + "view-rule": "檢視規則" + }, + "profiles": { + "profiles": "設定檔" + }, + "javascript": { + "add": "新增 JavaScript 資源", + "delete": "刪除 JavaScript 資源", + "delete-javascript-resource-text": "請注意,確認後該 JavaScript 資源將無法恢復。", + "delete-javascript-resource-title": "確定要刪除 JavaScript 資源「{{resourceTitle}}」嗎?", + "delete-javascript-resources-action-title": "刪除 { count, plural, =1 {1 個 JavaScript 資源} other {# 個 JavaScript 資源} }", + "delete-javascript-resources-text": "請注意,即使選取的 JavaScript 資源正在 JavaScript 函式中使用,也將被刪除。", + "delete-javascript-resources-title": "確定要刪除 { count, plural, =1 {1 個 JavaScript 資源} other {# 個 JavaScript 資源} }嗎?", + "delete-javascript-resource-in-use-text": "如果仍要刪除該 JavaScript 資源,請點選仍然刪除按鈕。", + "download": "下載 JavaScript 資源", + "upload-from-file": "從檔案上傳 JavaScript", + "resource-file": "JavaScript 資源檔案", + "drop-file": "拖放 JavaScript 檔案或點選選擇要上傳的檔案。", + "drop-resource-file-or": "拖放 JavaScript 檔案或", + "javascript-library": "JavaScript 程式庫", + "javascript-type": "JavaScript 類型", + "scripts": "指令碼", + "script-type": "指令碼類型", + "javascript-resource-details": "JavaScript 資源詳細資料", + "javascript-resource-is-in-use": "JavaScript 資源正被其他實體使用", + "javascript-resources-are-in-use": "JavaScript 資源正被其他實體使用", + "javascript-resource-is-in-use-text": "JavaScript 資源「{{title}}」未被刪除,因為它正被以下實體使用:", + "javascript-resources-are-in-use-text": "並非所有 JavaScript 資源都已被刪除,因為它們正被其他實體使用。
    您可以透過點選相應資源資料列中的引用按鈕檢視引用的實體。
    如果仍要刪除這些 JavaScript 資源,請在下方表格中選擇它們並點選刪除所選按鈕。", + "search": "搜尋 JavaScript 資源", + "selected-javascript-resources": "已選擇 { count, plural, =1 {1 個 JavaScript 資源} other {# 個 JavaScript 資源} }", + "no-javascript-resource-text": "找不到 JavaScript 資源", + "all-types": "全部", + "module-script": "模組指令碼" + }, + "rpc": { + "error": { + "target-device-is-not-set": "目標裝置未設定!", + "invalid-target-entity": "類型為「{{entityType}}」的實體不支援 RPC 命令。", + "failed-to-resolve-target-device": "無法解析目標裝置!", + "request-timeout": "請求逾時", + "rpc-http-error": "錯誤:{{status}} - {{statusText}}" + } + }, + "rule-node-config": { + "id": "識別碼", + "additional-info": "附加資訊", + "advanced-settings": "進階設定", + "create-entity-if-not-exists": "如果實體不存在則建立新實體", + "create-entity-if-not-exists-hint": "如果啟用,將使用指定參數建立新實體(除非該實體已存在)。已有實體將直接用於關聯。", + "select-device-connectivity-event": "選擇裝置連線事件", + "entity-name-pattern": "名稱模式", + "device-name-pattern": "裝置名稱", + "asset-name-pattern": "資產名稱", + "entity-view-name-pattern": "實體檢視名稱", + "customer-title-pattern": "客戶名稱", + "dashboard-name-pattern": "儀表板標題", + "user-name-pattern": "使用者電子郵件", + "edge-name-pattern": "Edge 名稱", + "entity-name-pattern-required": "名稱模式為必填項", + "entity-name-pattern-hint": "名稱模式欄位支援範本化。使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "copy-message-type": "複製訊息類型", + "entity-type-pattern": "類型模式", + "entity-type-pattern-required": "類型模式為必填項", + "message-type-value": "訊息類型值", + "message-type-value-required": "訊息類型值為必填項", + "message-type-value-max-length": "訊息類型值應少於 256 個字元", + "output-message-type": "輸出訊息類型", + "entity-cache-expiration": "實體快取過期時間(秒)", + "entity-cache-expiration-hint": "指定儲存已找到的實體記錄的最大時間間隔。值為 0 表示記錄永不過期。", + "entity-cache-expiration-required": "實體快取過期時間為必填項。", + "entity-cache-expiration-range": "實體快取過期時間應大於或等於 0。", + "customer-name-pattern": "客戶名稱", + "customer-name-pattern-required": "客戶名稱為必填項", + "customer-name-pattern-hint": "使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "create-customer-if-not-exists": "如果客戶不存在則建立新客戶", + "unassign-from-customer": "如果發起者是儀表板則從指定客戶取消指派", + "unassign-from-customer-tooltip": "只有儀表板可以同時指派給多個客戶。\n如果訊息發起者是儀表板,您需要明確指定要取消指派的客戶名稱。", + "customer-cache-expiration": "客戶快取過期時間(秒)", + "customer-cache-expiration-hint": "指定儲存已找到的客戶記錄的最大時間間隔。值為 0 表示記錄永不過期。", + "customer-cache-expiration-required": "客戶快取過期時間為必填項。", + "customer-cache-expiration-range": "客戶快取過期時間應大於或等於 0。", + "interval-start": "間隔開始", + "interval-end": "間隔結束", + "time-unit": "時間單位", + "fetch-mode": "取得模式", + "order-by-timestamp": "按時間戳記排序", + "limit": "限制", + "limit-hint": "最小限制值為 2,最大為 1000。如果只想取得一筆記錄,請選擇「第一筆」或「最後一筆」取得模式。", + "limit-required": "限制為必填項。", + "limit-range": "限制應在 2 到 1000 的範圍內。", + "time-unit-milliseconds": "毫秒", + "time-unit-seconds": "秒", + "time-unit-minutes": "分鐘", + "time-unit-hours": "小時", + "time-unit-days": "天", + "time-value-range": "允許範圍為 1 到 2147483647。", + "start-interval-value-required": "間隔開始為必填項。", + "end-interval-value-required": "間隔結束為必填項。", + "filter": "篩選器", + "switch": "切換", + "math-templatization-tooltip": "此欄位支援範本化。使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "add-message-type": "新增訊息類型", + "select-message-types-required": "至少應選擇一種訊息類型。", + "select-message-types": "選擇訊息類型", + "no-message-types-found": "找不到訊息類型", + "no-message-type-matching": "找不到「{{messageType}}」。", + "create-new-message-type": "建立新的訊息類型。", + "message-types-required": "訊息類型為必填項。", + "client-attributes": "用戶端屬性", + "shared-attributes": "共享屬性", + "server-attributes": "伺服器端屬性", + "attributes-keys": "屬性鍵", + "attributes-keys-required": "屬性鍵為必填項", + "attributes-scope": "屬性範圍", + "attributes-scope-value": "屬性範圍值", + "attributes-scope-value-copy": "複製屬性範圍值", + "attributes-scope-hint": "使用「scope」詮釋資料鍵為每則訊息動態設定屬性範圍。如果提供了該值,將覆蓋設定中設定的範圍。", + "notify-device": "強制通知裝置", + "send-attributes-updated-notification": "傳送屬性更新通知", + "send-attributes-updated-notification-hint": "將已更新屬性的通知作為單獨訊息傳送到規則引擎佇列。", + "send-attributes-deleted-notification": "傳送屬性刪除通知", + "send-attributes-deleted-notification-hint": "將已刪除屬性的通知作為單獨訊息傳送到規則引擎佇列。", + "update-attributes-only-on-value-change": "僅在值變更時儲存屬性", + "update-attributes-only-on-value-change-hint": "對每條傳入訊息都更新屬性,無論其值是否已變更。這會增加 API 使用量並降低效能。", + "update-attributes-only-on-value-change-hint-enabled": "僅在屬性值發生變更時才更新屬性。如果值未變更,則不會更新屬性時間戳記,也不會傳送屬性變更通知。", + "fetch-credentials-to-metadata": "取得認證資訊並加入詮釋資料", + "notify-device-on-update-hint": "如果啟用,將強制向裝置傳送共享屬性更新通知。如果停用,通知行為由傳入訊息詮釋資料中的「notifyDevice」參數控制。要關閉通知,訊息詮釋資料必須包含值為「false」的「notifyDevice」參數。其他任何情況都將觸發向裝置傳送通知。", + "notify-device-on-delete-hint": "如果啟用,將強制向裝置傳送共享屬性移除通知。如果停用,通知行為由傳入訊息詮釋資料中的「notifyDevice」參數控制。要開啟通知,訊息詮釋資料必須包含值為「true」的「notifyDevice」參數。其他任何情況都不會觸發向裝置傳送通知。", + "latest-timeseries": "最新時間序列資料鍵", + "timeseries-keys": "時間序列鍵", + "timeseries-keys-required": "至少應選擇一個時間序列鍵。", + "add-timeseries-key": "新增時間序列鍵", + "add-message-field": "新增訊息欄位", + "relation-search-parameters": "關聯搜尋參數", + "relation-parameters": "關聯參數", + "add-metadata-field": "新增詮釋資料欄位", + "data-keys": "訊息欄位名稱", + "copy-from": "複製來源", + "data-to-metadata": "資料到詮釋資料", + "metadata-to-data": "詮釋資料到資料", + "use-regular-expression-hint": "使用正規表示式按模式複製鍵。\n\n提示與技巧:\n按「Enter」完成欄位名稱輸入。\n按「Backspace」刪除欄位名稱。支援多個欄位名稱。", + "interval": "間隔", + "interval-required": "間隔為必填項", + "interval-hint": "去重間隔(秒)。", + "interval-min-error": "最小允許值為 1", + "max-pending-msgs": "最大待處理訊息數", + "max-pending-msgs-hint": "為每個唯一去重識別碼儲存在記憶體中的最大訊息數。", + "max-pending-msgs-required": "最大待處理訊息數為必填項", + "max-pending-msgs-max-error": "最大允許值為 1000", + "max-pending-msgs-min-error": "最小允許值為 1", + "max-retries": "最大重試次數", + "max-retries-required": "最大重試次數為必填項", + "max-retries-hint": "將去重訊息推入佇列的最大重試次數。重試間隔為 10 秒", + "max-retries-max-error": "最大允許值為 100", + "max-retries-min-error": "最小允許值為 0", + "strategy": "策略", + "strategy-required": "策略為必填項", + "strategy-all-hint": "將去重期間內到達的所有訊息合併為一則 JSON 陣列訊息後回傳。每個元素都是包含 msg 和 metadata 屬性的物件。", + "strategy-first-hint": "回傳去重期間內到達的第一則訊息。", + "strategy-last-hint": "回傳去重期間內到達的最後一則訊息。", + "first": "第一筆", + "last": "最後一筆", + "all": "全部", + "output-msg-type-hint": "去重結果的訊息類型。", + "queue-name-hint": "去重結果將釋出到的佇列名稱。", + "keys": "鍵", + "keys-required": "鍵為必填項", + "rename-keys-in": "在以下位置重新命名鍵", + "data": "資料", + "message": "訊息", + "metadata": "詮釋資料", + "current-key-name": "目前鍵名稱", + "key-name-required": "鍵名稱為必填項", + "new-key-name": "新鍵名稱", + "new-key-name-required": "新鍵名稱為必填項", + "metadata-keys": "詮釋資料欄位名稱", + "json-path-expression": "JSON 路徑表示式", + "json-path-expression-required": "JSON 路徑表示式為必填項", + "json-path-expression-hint": "JSONPath 指定 JSON 結構中某個元素或一組元素的路徑。「$」表示根物件或陣列。", + "relations-query": "關聯查詢", + "device-relations-query": "裝置關聯查詢", + "max-relation-level": "最大關聯層級", + "max-relation-level-error": "值應大於 0 或不指定。", + "max-relation-level-invalid": "值應為整數。", + "relation-type": "關聯類型", + "relation-type-pattern": "關聯類型模式", + "relation-type-pattern-required": "關聯類型模式為必填項", + "relation-types-list": "要傳播的關聯類型", + "relation-types-list-hint": "如果未選擇傳播關聯類型,警報將不按關聯類型篩選進行傳播。", + "unlimited-level": "無限層級", + "latest-telemetry": "最新遙測", + "add-telemetry-key": "新增遙測鍵", + "delete-from": "刪除來源", + "use-regular-expression-delete-hint": "使用正規表示式按模式刪除鍵。\n\n提示與技巧:\n按「Enter」完成欄位名稱輸入。\n按「Backspace」刪除欄位名稱。\n支援多個欄位名稱。", + "fetch-into": "取得並加入", + "attr-mapping": "屬性對應:", + "source-attribute": "來源屬性鍵", + "source-attribute-required": "來源屬性鍵為必填項。", + "source-telemetry": "來源遙測鍵", + "source-telemetry-required": "來源遙測鍵為必填項。", + "target-key": "目標鍵", + "target-key-required": "目標鍵為必填項。", + "attr-mapping-required": "至少應指定一個對應項目。", + "fields-mapping": "欄位對應", + "fields-mapping-hint": "如果訊息欄位設定為 $entityId,訊息發起者的識別碼將儲存到指定的資料表欄位。", + "relations-query-config-direction-suffix": "發起者", + "profile-name": "設定檔名稱", + "fetch-circle-parameter-info-from-metadata-hint": "詮釋資料欄位「{{perimeterKeyName}}」應按以下格式定義:{\"latitude\":48.196, \"longitude\":24.6532, \"radius\":100.0, \"radiusUnit\":\"METER\"}", + "fetch-poligon-parameter-info-from-metadata-hint": "詮釋資料欄位「{{perimeterKeyName}}」應按以下格式定義:[[48.19736,24.65235],[48.19800,24.65060],...,[48.19849,24.65420]]", + "short-templatization-tooltip": "使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "fields-mapping-required": "至少應指定一個欄位對應。", + "at-least-one-field-required": "至少一個輸入欄位必須提供值。", + "originator-fields-sv-map-hint": "目標鍵欄位支援範本化。使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "sv-map-hint": "僅目標鍵欄位支援範本化。使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "source-field": "來源欄位", + "source-field-required": "來源欄位為必填項。", + "originator-source": "發起者來源", + "new-originator": "新發起者", + "originator-customer": "客戶", + "originator-tenant": "租戶", + "originator-related": "關聯實體", + "originator-alarm-originator": "警報發起者", + "originator-entity": "按名稱模式符合的實體", + "clone-message": "複製訊息", + "transform": "轉換", + "default-ttl": "預設 TTL", + "default-ttl-required": "預設 TTL 為必填項。", + "default-ttl-hint": "規則節點將從訊息詮釋資料中取得 Time-to-Live(TTL)值。如果沒有值,則使用設定中指定的 TTL。如果值設為 0,則應用租戶設定檔中的 TTL。", + "default-ttl-zero-hint": "如果 TTL 值設為 0,則不會應用 TTL。", + "min-default-ttl-message": "TTL 不得小於 0。", + "generation-parameters": "產生參數", + "message-count": "產生訊息限制(0 - 無限)", + "message-count-required": "產生訊息限制為必填項。", + "min-message-count-message": "訊息數不得小於 0。", + "period-seconds": "週期(秒)", + "period-seconds-required": "週期為必填項。", + "generation-frequency-seconds": "產生間隔(秒)", + "generation-frequency-required": "產生間隔為必填項。", + "min-generation-frequency-message": "產生間隔不得小於 1 秒。", + "script-lang-tbel": "TBEL", + "script-lang-js": "JS", + "use-metadata-period-in-seconds-patterns": "使用秒週期模式", + "use-metadata-period-in-seconds-patterns-hint": "如果選取,規則節點將使用訊息詮釋資料或資料中的秒週期間隔模式(假設間隔以秒為單位)。", + "period-in-seconds-pattern": "秒週期模式", + "period-in-seconds-pattern-required": "秒週期模式為必填項", + "min-period-seconds-message": "週期不得小於 1 秒。", + "originator": "發起者", + "message-body": "訊息本文", + "message-metadata": "訊息詮釋資料", + "generate": "產生", + "current-rule-node": "目前規則節點", + "current-tenant": "目前租戶", + "generator-function": "產生器函式", + "test-generator-function": "測試產生器函式", + "generator": "產生器", + "test-filter-function": "測試篩選器函式", + "test-switch-function": "測試切換函式", + "test-transformer-function": "測試轉換器函式", + "transformer": "轉換器", + "alarm-create-condition": "警報建立條件", + "test-condition-function": "測試條件函式", + "alarm-clear-condition": "警報清除條件", + "alarm-details-builder": "警報詳細資料建構器", + "test-details-function": "測試詳細資料函式", + "alarm-type": "警報類型", + "select-entity-types": "選擇實體類型", + "alarm-type-required": "警報類型為必填項。", + "alarm-severity": "警報嚴重程度", + "alarm-severity-required": "警報嚴重程度為必填項", + "alarm-severity-pattern": "警報嚴重程度模式", + "alarm-status-filter": "警報狀態篩選器", + "alarm-status-list-empty": "警報狀態清單為空", + "no-alarm-status-matching": "找不到符合的警報狀態。", + "propagate": "將警報傳播到關聯實體", + "propagate-to-owner": "將警報傳播到實體所有者(客戶或租戶)", + "propagate-to-tenant": "將警報傳播到租戶", + "condition": "條件", + "details": "詳細資料", + "to-string": "轉為字串", + "test-to-string-function": "測試字串轉換函式", + "from-template": "寄件者", + "from-template-required": "寄件者為必填項", + "message-to-metadata": "訊息到詮釋資料", + "metadata-to-message": "詮釋資料到訊息", + "from-message": "來自訊息", + "from-metadata": "來自詮釋資料", + "to-template": "收件者", + "to-template-required": "收件者為必填項", + "mail-address-list-template-hint": "逗號分隔的地址清單,使用 ${metadataKey} 取得詮釋資料中的值,使用 $[messageKey] 取得訊息本文中的值", + "cc-template": "副本", + "bcc-template": "密件副本", + "subject-template": "主題", + "subject-template-required": "主題為必填項", + "body-template": "本文", + "body-template-required": "本文為必填項", + "dynamic-mail-body-type": "動態郵件本文類型", + "mail-body-type": "郵件本文類型", + "body-type-template": "本文類型範本", + "reply-routing-configuration": "回覆路由設定", + "rpc-reply-routing-configuration-hint": "這些設定參數指定用於識別服務、工作階段和請求的詮釋資料鍵名稱,以便傳送回覆。", + "reply-routing-configuration-hint": "這些設定參數指定用於識別服務和請求的詮釋資料鍵名稱,以便傳送回覆。", + "request-id-metadata-attribute": "請求識別碼", + "service-id-metadata-attribute": "服務識別碼", + "session-id-metadata-attribute": "工作階段識別碼", + "timeout-sec": "逾時時間(秒)", + "timeout-required": "逾時時間為必填項", + "min-timeout-message": "逾時時間不得小於 0。", + "endpoint-url-pattern": "端點 URL 模式", + "endpoint-url-pattern-required": "端點 URL 模式為必填項", + "request-method": "請求方法", + "ignore-request-body": "不傳送請求本文", + "request-body-template": "請求本文範本", + "request-body-template-hint": "使用 ${metadataKey} 取得詮釋資料中的值,使用 $[messageKey] 取得訊息中的值。若留空,則使用訊息承載資料作為請求本文。若承載資料不是 JSON,請啟用「解析為純文字」。

    您可以使用預留位置 ${secret:name;type:TYPE} 插入機密,其中「name」是機密識別碼,「type」為 TEXT 或 TEXT_FILE。這適用於不直接支援「使用機密」的規則節點設定欄位。例如:${secret:tenant password;type:TEXT}。", + "parse-to-plain-text": "解析為純文字", + "parse-to-plain-text-hint": "勾選後,請求本文(訊息承載資料或本文範本的結果)會直接以純文字字串傳送,而不解析為 JSON。例如 msg = \"Hello,\\t\"world\"\" 將解析為 Hello, \"world\"", + "read-timeout": "讀取逾時時間(毫秒)", + "read-timeout-hint": "值為 0 表示不設逾時限制", + "max-parallel-requests-count": "最大並行請求數", + "max-parallel-requests-count-hint": "值為 0 表示不限制並行處理", + "max-response-size": "最大回應大小(KB)", + "max-response-size-hint": "解碼或編碼 HTTP 訊息(例如 JSON 或 XML 承載資料)時,配置給資料緩衝區的最大記憶體量", + "headers": "請求標頭", + "headers-hint": "在標頭/值欄位中,使用 ${metadataKey} 取得詮釋資料中的值,使用 $[messageKey] 取得訊息本文中的值。

    您可以使用預留位置 ${secret:name;type:TYPE} 插入機密,其中「name」是機密識別碼,「type」為 TEXT 或 TEXT_FILE。這適用於不直接支援「使用機密」的規則節點設定欄位。例如:${secret:Header;type:TEXT}。", + "header": "請求標頭", + "header-required": "請求標頭為必填項", + "value": "值", + "value-required": "值為必填項", + "topic-pattern": "主題模式", + "key-pattern": "鍵模式", + "key-pattern-hint": "可選。如果指定了有效的分割區號,則在傳送記錄時將使用該分割區號。如果未指定分割區,則使用鍵代替。如果兩者都未指定,將以輪詢方式指派分割區。", + "topic-pattern-required": "主題模式為必填項", + "topic": "主題", + "topic-required": "主題為必填項", + "bootstrap-servers": "Bootstrap 伺服器", + "bootstrap-servers-required": "Bootstrap 伺服器值為必填項", + "other-properties": "其他屬性", + "other-properties-empty": "尚未設定其他屬性", + "key": "鍵", + "key-required": "鍵為必填項", + "retries": "失敗時自動重試次數", + "min-retries-message": "重試次數不得小於 0。", + "batch-size-bytes": "生產者批次大小(位元組)", + "min-batch-size-bytes-message": "批次大小不得小於 0。", + "linger-ms": "本機緩衝時間(毫秒)", + "min-linger-ms-message": "不得小於 0 毫秒。", + "buffer-memory-bytes": "用戶端緩衝區最大大小(位元組)", + "min-buffer-memory-message": "緩衝區大小不得小於 0。", + "memory-buffer-size-range": "記憶體緩衝區大小必須在 1 到 {{max}} KB 之間", + "acks": "確認數", + "topic-arn-pattern": "主題 ARN 模式", + "topic-arn-pattern-required": "主題 ARN 模式為必填項", + "aws-access-key-id": "AWS 存取金鑰識別碼", + "aws-access-key-id-required": "AWS 存取金鑰識別碼為必填項", + "aws-secret-access-key": "AWS 私密存取金鑰", + "aws-secret-access-key-required": "AWS 私密存取金鑰為必填項", + "aws-region": "AWS 區域", + "aws-region-required": "AWS 區域為必填項", + "exchange-name-pattern": "Exchange 名稱模式", + "routing-key-pattern": "路由鍵模式", + "message-properties": "訊息屬性", + "host": "主機", + "host-required": "主機為必填項", + "port": "連接埠", + "port-required": "連接埠為必填項", + "port-range": "連接埠應在 1 到 65535 的範圍內。", + "virtual-host": "虛擬主機", + "username": "使用者名稱", + "password": "密碼", + "automatic-recovery": "自動恢復", + "connection-timeout-ms": "連線逾時時間(毫秒)", + "min-connection-timeout-ms-message": "不得小於 0 毫秒。", + "handshake-timeout-ms": "握手逾時時間(毫秒)", + "min-handshake-timeout-ms-message": "不得小於 0 毫秒。", + "client-properties": "用戶端屬性", + "client-properties-empty": "尚未設定用戶端屬性", + "queue-url-pattern": "佇列 URL 模式", + "queue-url-pattern-required": "佇列 URL 模式為必填項", + "delay-seconds": "延遲(秒)", + "min-delay-seconds-message": "不得小於 0 秒。", + "max-delay-seconds-message": "不得超過 900 秒。", + "name": "名稱", + "name-required": "名稱為必填項", + "queue-type": "佇列類型", + "sqs-queue-standard": "標準", + "sqs-queue-fifo": "FIFO", + "gcp-project-id": "GCP 專案識別碼", + "gcp-project-id-required": "GCP 專案識別碼為必填項", + "gcp-service-account-key": "GCP 服務帳號金鑰檔案", + "gcp-service-account-key-required": "GCP 服務帳號金鑰檔案為必填項", + "pubsub-topic-name": "主題名稱", + "pubsub-topic-name-required": "主題名稱為必填項", + "message-attributes": "訊息屬性", + "message-attributes-empty": "尚未設定訊息屬性", + "message-attributes-hint": "在名稱/值欄位中使用 ${metadataKey} 取得詮釋資料中的值,使用 $[messageKey] 取得訊息本文中的值", + "connect-timeout": "連線逾時時間(秒)", + "connect-timeout-required": "連線逾時時間為必填項。", + "connect-timeout-range": "連線逾時時間應在 1 到 200 的範圍內。", + "client-id": "用戶端識別碼", + "client-id-hint": "選填。留空時會自動產生用戶端識別碼。手動指定時請謹慎:大多數 MQTT 代理不允許多個連線使用相同的用戶端識別碼,因此每個 MQTT 用戶端的識別碼必須唯一。平台以微服務模式執行時,每個微服務都會啟動規則節點的副本,可能導致多個 MQTT 用戶端使用相同的識別碼,造成規則節點故障。若要避免此問題,請啟用下方的「將服務識別碼附加至用戶端識別碼」選項。", + "append-client-id-suffix": "將服務識別碼附加至用戶端識別碼", + "client-id-suffix-hint": "選填。僅在手動指定用戶端識別碼時適用。勾選後,會將服務識別碼附加至用戶端識別碼末尾,以避免平台在微服務模式下因識別碼重複而發生故障。", + "device-id": "裝置識別碼", + "device-id-required": "裝置識別碼為必填項。", + "clean-session": "清除工作階段", + "enable-ssl": "啟用 SSL", + "credentials": "認證資訊", + "credentials-type": "認證資訊類型", + "credentials-type-required": "認證資訊類型為必填項。", + "credentials-anonymous": "匿名", + "credentials-basic": "基本", + "credentials-pem": "PEM", + "credentials-pem-hint": "至少需要提供伺服器 CA 憑證檔案,或一組用戶端憑證與用戶端私鑰檔案", + "credentials-sas": "共享存取簽章", + "sas-key": "SAS 金鑰", + "sas-key-required": "SAS 金鑰為必填項。", + "hostname": "主機名稱", + "hostname-required": "主機名稱為必填項。", + "azure-ca-cert": "CA 憑證檔案", + "username-required": "使用者名稱為必填項。", + "password-required": "密碼為必填項。", + "ca-cert": "伺服器 CA 憑證檔案", + "private-key": "用戶端私鑰檔案", + "cert": "用戶端憑證檔案", + "no-file": "未選擇檔案。", + "drop-file": "拖放檔案或點選以選擇要上傳的檔案。", + "private-key-password": "私鑰密碼", + "use-system-smtp-settings": "使用系統 SMTP 設定", + "use-metadata-dynamic-interval": "使用動態間隔", + "metadata-dynamic-interval-hint": "間隔開始和結束輸入欄位支援範本化。請注意,替換後的範本值應以毫秒為單位設定。使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "use-metadata-interval-patterns-hint": "如果選取,規則節點將使用訊息詮釋資料或資料中的開始和結束間隔模式(假設間隔以毫秒為單位)。", + "use-message-alarm-data": "使用訊息警報資料", + "overwrite-alarm-details": "覆蓋警報詳細資料", + "use-alarm-severity-pattern": "使用警報嚴重程度模式", + "check-all-keys": "檢查所有指定欄位是否存在", + "check-all-keys-hint": "如果選取,將檢查所有指定的鍵是否存在於訊息資料和詮釋資料中。", + "check-relation-to-specific-entity": "檢查與特定實體的關聯", + "check-relation-to-specific-entity-tooltip": "如果啟用,將檢查與特定實體的關聯是否存在;否則,檢查與任意實體的關聯是否存在。在兩種情況下,關聯查詢都基於設定的方向和類型。", + "check-relation-hint": "根據方向和關聯類型檢查與特定實體或任意實體的關聯是否存在。", + "delete-relation-with-specific-entity": "刪除與特定實體的關聯", + "delete-relation-with-specific-entity-hint": "如果啟用,將僅刪除與一個特定實體的關聯。否則,將刪除與所有符合實體的關聯。", + "delete-relation-hint": "根據方向和類型,從傳入訊息的發起者刪除到指定實體或實體清單的關聯。", + "remove-current-relations": "移除目前關聯", + "remove-current-relations-hint": "根據方向和類型,移除傳入訊息發起者的目前關聯。", + "change-originator-to-related-entity": "將發起者變更為關聯實體", + "change-originator-to-related-entity-hint": "用於將提交的訊息作為來自另一個實體的訊息進行處理。", + "start-interval": "間隔開始", + "end-interval": "間隔結束", + "start-interval-required": "間隔開始為必填項。", + "end-interval-required": "間隔結束為必填項。", + "smtp-protocol": "協定", + "smtp-host": "SMTP 主機", + "smtp-host-required": "SMTP 主機為必填項。", + "smtp-port": "SMTP 連接埠", + "smtp-port-required": "必須提供 SMTP 連接埠。", + "smtp-port-range": "SMTP 連接埠應在 1 到 65535 的範圍內。", + "timeout-msec": "逾時時間(毫秒)", + "min-timeout-msec-message": "不得小於 0 毫秒。", + "enter-username": "輸入使用者名稱", + "enter-password": "輸入密碼", + "enable-tls": "啟用 TLS", + "tls-version": "TLS 版本", + "enable-proxy": "啟用代理", + "use-system-proxy-properties": "使用系統代理屬性", + "proxy-host": "代理主機", + "proxy-host-required": "代理主機為必填項。", + "proxy-port": "代理連接埠", + "proxy-port-required": "代理連接埠為必填項。", + "proxy-port-range": "代理連接埠應在 1 到 65535 的範圍內。", + "proxy-user": "代理使用者", + "proxy-password": "代理密碼", + "numbers-to-template": "收件者電話號碼範本", + "numbers-to-template-required": "收件者電話號碼範本為必填項", + "numbers-to-template-hint": "逗號分隔的電話號碼,使用 ${metadataKey} 取得詮釋資料中的值,使用 $[messageKey] 取得訊息本文中的值", + "sms-message-template": "簡訊範本", + "sms-message-template-required": "簡訊範本為必填項", + "use-system-sms-settings": "使用系統簡訊提供者設定", + "min-period-0-seconds-message": "週期不得小於 0 秒。", + "max-pending-messages": "最大待處理訊息數", + "max-pending-messages-required": "最大待處理訊息數為必填項。", + "max-pending-messages-range": "最大待處理訊息數應在 1 到 100000 的範圍內。", + "originator-types-filter": "發起者類型篩選器", + "interval-seconds": "間隔(秒)", + "interval-seconds-required": "間隔為必填項。", + "int-range": "值不得超過最大整數限制(2147483648)", + "min-interval-seconds-message": "間隔不得小於 1 秒。", + "output-timeseries-key-prefix": "輸出時間序列鍵前置詞", + "output-timeseries-key-prefix-required": "輸出時間序列鍵前置詞為必填項。", + "separator-hint": "您應按「Enter」完成欄位輸入。", + "select-details": "選擇詳細資料", + "entity-details-id": "識別碼", + "entity-details-title": "標題", + "entity-details-country": "國家", + "entity-details-state": "省/州", + "entity-details-city": "城市", + "entity-details-zip": "郵遞區號", + "entity-details-address": "地址", + "entity-details-address2": "地址 2", + "entity-details-additional_info": "附加資訊", + "entity-details-phone": "電話", + "entity-details-email": "電子郵件", + "email-sender": "電子郵件寄件者", + "fields-to-check": "要檢查的欄位", + "add-detail": "新增詳細資料", + "check-all-keys-tooltip": "如果啟用,將檢查訊息和詮釋資料欄位名稱中列出的所有欄位是否存在於傳入訊息及其詮釋資料中。", + "fields-to-check-hint": "按「Enter」完成欄位名稱輸入。支援多個欄位名稱。", + "entity-details-list-empty": "請至少選擇一項詳細資料。", + "alarm-status": "警報狀態", + "alarm-required": "至少應選擇一個警報狀態。", + "no-entity-details-matching": "找不到符合的實體詳細資料。", + "custom-table-name": "自訂資料表名稱", + "custom-table-name-required": "資料表名稱為必填項", + "custom-table-hint": "此資料表必須在您的 Cassandra 叢集中建立,且名稱必須以「cs_tb_」為前置詞,避免將資料插入一般 TB 資料表。請在此處輸入不含「cs_tb_」前置詞的資料表名稱。", + "message-field": "訊息欄位", + "message-field-required": "訊息欄位為必填項。", + "table-col": "資料表欄位", + "table-col-required": "請輸入資料表欄位。", + "latitude-field-name": "緯度欄位名稱", + "longitude-field-name": "經度欄位名稱", + "latitude-field-name-required": "緯度欄位名稱為必填項。", + "longitude-field-name-required": "經度欄位名稱為必填項。", + "fetch-perimeter-info-from-metadata": "從詮釋資料取得邊界資訊", + "fetch-perimeter-info-from-metadata-tooltip": "如果邊界類型設為「多邊形」,詮釋資料欄位「{{perimeterKeyName}}」的值將直接用作邊界定義,不進行額外解析。如果設為「圓形」,則會解析「{{perimeterKeyName}}」詮釋資料欄位的值,擷取「latitude」、「longitude」、「radius」、「radiusUnit」欄位以定義圓形邊界。", + "perimeter-key-name": "邊界鍵名稱", + "perimeter-key-name-hint": "包含邊界資訊的詮釋資料欄位名稱。", + "perimeter-key-name-required": "邊界鍵名稱為必填項。", + "perimeter-circle": "圓形", + "perimeter-polygon": "多邊形", + "perimeter-type": "邊界類型", + "circle-center-latitude": "中心緯度", + "circle-center-latitude-required": "中心緯度為必填項。", + "circle-center-longitude": "中心經度", + "circle-center-longitude-required": "中心經度為必填項。", + "range-unit-meter": "公尺", + "range-unit-kilometer": "公里", + "range-unit-foot": "英尺", + "range-unit-mile": "英里", + "range-unit-nautical-mile": "海里", + "range-units": "範圍單位", + "range-units-required": "範圍單位為必填項。", + "range": "範圍", + "range-required": "範圍為必填項。", + "polygon-definition": "多邊形定義", + "polygon-definition-required": "多邊形定義為必填項。", + "polygon-definition-hint": "使用以下格式手動定義多邊形:[[lat1,lon1],[lat2,lon2], ... ,[latN,lonN]]。", + "min-inside-duration": "區域內最短停留時間", + "min-inside-duration-value-required": "區域內最短停留時間為必填項", + "min-inside-duration-time-unit": "區域內最短停留時間單位", + "min-outside-duration": "區域外最短停留時間", + "min-outside-duration-value-required": "區域外最短停留時間為必填項", + "min-outside-duration-time-unit": "區域外最短停留時間單位", + "tell-failure-if-absent": "報告失敗", + "tell-failure-if-absent-hint": "如果至少一個選定的鍵不存在,出站訊息將報告「Failure」。", + "get-latest-value-with-ts": "取得最新遙測值的時間戳記", + "get-latest-value-with-ts-hint": "如果選取,最新遙測值還將包含時間戳記,例如:\"temp\": \"{\"ts\":1574329385897, \"value\":42}\"", + "ignore-null-strings": "忽略空字串", + "ignore-null-strings-hint": "如果選取,規則節點將忽略值為空的實體欄位。", + "add-metadata-key-values-as-kafka-headers": "將訊息詮釋資料鍵值對新增到 Kafka 記錄標頭", + "add-metadata-key-values-as-kafka-headers-hint": "勾選後,會依預先定義的字元集編碼,將訊息詮釋資料中的鍵值對轉為位元組陣列,並加入傳出記錄的標頭。", + "charset-encoding": "字元集編碼", + "charset-encoding-required": "字元集編碼為必填項。", + "charset-us-ascii": "US-ASCII", + "charset-iso-8859-1": "ISO-8859-1", + "charset-utf-8": "UTF-8", + "charset-utf-16be": "UTF-16BE", + "charset-utf-16le": "UTF-16LE", + "charset-utf-16": "UTF-16", + "select-queue-hint": "佇列名稱可從下拉選單中選擇或新增自訂名稱。", + "device-profile-node-hint": "如果您有持續時間或重複條件,此功能可確保警報狀態評估的連續性。", + "persist-alarm-rules": "儲存警報規則狀態", + "persist-alarm-rules-hint": "如果啟用,規則節點將把處理狀態儲存到資料庫。", + "fetch-alarm-rules": "取得警報規則的狀態", + "fetch-alarm-rules-hint": "如果啟用,規則節點將在初始化時恢復處理狀態,並確保即使在伺服器重啟後也能觸發警報。否則,狀態將在裝置的第一則訊息到達時恢復。", + "input-value-key": "輸入值鍵", + "input-value-key-required": "輸入值鍵為必填項。", + "output-value-key": "輸出值鍵", + "output-value-key-required": "輸出值鍵為必填項。", + "number-of-digits-after-floating-point": "小數位數", + "number-of-digits-after-floating-point-range": "小數位數應在 0 到 15 的範圍內。", + "failure-if-delta-negative": "如果差值為負則報告失敗", + "failure-if-delta-negative-tooltip": "如果差值為負,規則節點將強制訊息處理失敗。", + "use-caching": "使用快取", + "use-caching-tooltip": "規則節點將快取來自傳入訊息的「{{inputValueKey}}」值以提高效能。請注意,如果您在其他位置修改了「{{inputValueKey}}」值,快取將不會更新。", + "add-time-difference-between-readings": "新增「{{inputValueKey}}」讀數之間的時間差", + "add-time-difference-between-readings-tooltip": "如果啟用,規則節點將把「{{periodValueKey}}」新增到出站訊息中。", + "period-value-key": "週期值鍵", + "period-value-key-required": "週期值鍵為必填項。", + "general-pattern-hint": "使用 ${metadataKey} 取得詮釋資料中的值,使用 $[messageKey] 取得訊息本文中的值。", + "alarm-severity-pattern-hint": "使用 ${metadataKey} 取得詮釋資料中的值,使用 $[messageKey] 取得訊息本文中的值。警報嚴重程度應為系統值(CRITICAL、MAJOR 等)", + "output-node-name-hint": "規則節點名稱對應於出站訊息的關聯類型,用於將訊息轉發到呼叫者規則鏈中的其他規則節點。", + "use-server-ts": "使用伺服器時間戳記", + "use-server-ts-hint": "對未明確指定時間戳記的時間序列資料,使用伺服器目前的時間戳記。這有助於在處理多個來源的訊息或未依順序抵達的訊息時,維持正確的排序。", + "kv-map-pattern-hint": "所有輸入欄位支援範本化。使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "kv-map-single-pattern-hint": "輸入欄位支援範本化。使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "shared-scope": "共享範圍", + "server-scope": "伺服器端範圍", + "client-scope": "用戶端範圍", + "attribute-type": "屬性", + "attribute-type-description": "從資料庫取得屬性值", + "attribute-type-result-description": "將結果作為實體屬性儲存到資料庫", + "constant-type": "常數", + "constant-type-description": "定義常數值", + "time-series-type": "時間序列", + "time-series-type-description": "從資料庫取得最新時間序列值", + "time-series-type-result-description": "將結果作為實體時間序列儲存到資料庫", + "message-body-type": "訊息", + "message-body-type-description": "從傳入訊息取得參數值", + "message-body-type-result-description": "將結果新增到出站訊息", + "message-metadata-type": "詮釋資料", + "message-metadata-type-description": "從傳入訊息詮釋資料取得參數值", + "message-metadata-result-description": "將結果新增到出站訊息詮釋資料", + "argument-tile": "參數", + "no-arguments-prompt": "未設定參數", + "result-title": "結果", + "functions-field-input": "函式", + "no-option-found": "找不到選項", + "argument-source-field-input": "來源", + "argument-source-field-input-required": "參數來源為必填項。", + "argument-key-field-input": "鍵", + "argument-key-field-input-required": "參數鍵為必填項。", + "constant-value-field-input": "常數值", + "constant-value-field-input-required": "常數值為必填項。", + "attribute-scope-field-input": "屬性範圍", + "attribute-scope-field-input-required": "屬性範圍為必填項。", + "default-value-field-input": "預設值", + "type-field-input": "類型", + "type-field-input-required": "類型為必填項。", + "key-field-input": "鍵", + "add-entity-type": "新增實體類型", + "add-device-profile": "新增裝置設定檔", + "key-field-input-required": "鍵為必填項。", + "number-floating-point-field-input": "小數位數", + "number-floating-point-field-input-hint": "使用 0 將結果轉換為整數", + "add-to-message-field-input": "新增到訊息", + "add-to-metadata-field-input": "新增到詮釋資料", + "custom-expression-field-input": "數學表示式", + "custom-expression-field-input-required": "數學表示式為必填項", + "custom-expression-field-input-hint": "指定要計算的數學表示式。預設表示式示範如何將華氏溫度轉換為攝氏溫度", + "retained-message": "保留訊息", + "attributes-mapping": "屬性對應", + "latest-telemetry-mapping": "最新遙測對應", + "add-mapped-attribute-to": "將對應的屬性新增到", + "add-mapped-latest-telemetry-to": "將對應的最新遙測新增到", + "add-mapped-fields-to": "將對應的欄位新增到", + "add-selected-details-to": "將選定的詳細資料新增到", + "clear-selected-types": "清除選定的類型", + "clear-selected-details": "清除選定的詳細資料", + "clear-selected-fields": "清除選定的欄位", + "clear-selected-keys": "清除選定的鍵", + "geofence-configuration": "地理圍欄設定", + "coordinate-field-names": "座標欄位名稱", + "coordinate-field-hint": "規則節點嘗試從訊息中檢索指定的欄位。如果不存在,將在詮釋資料中查詢。", + "presence-monitoring-strategy": "區域內外狀態監測策略", + "presence-monitoring-strategy-on-first-message": "收到第一則訊息時", + "presence-monitoring-strategy-on-each-message": "每次收到訊息時", + "presence-monitoring-strategy-on-first-message-hint": "在上一次「已進入」或「已離開」狀態更新後,經過設定的最短持續時間,於收到第一則訊息時回報「區域內」或「區域外」狀態。", + "presence-monitoring-strategy-on-each-message-hint": "在「已進入」或「已離開」狀態更新後,每次收到訊息時都回報「區域內」或「區域外」狀態。", + "fetch-credentials-to": "取得認證資訊並加入", + "add-originator-attributes-to": "將發起者屬性新增到", + "originator-attributes": "發起者屬性", + "fetch-latest-telemetry-with-timestamp": "取得帶時間戳記的最新遙測", + "fetch-latest-telemetry-with-timestamp-tooltip": "如果選取,最新遙測值會連同時間戳記一起新增至出站詮釋資料,例如:\"{{latestTsKeyName}}\": \"{\"ts\":1574329385897, \"value\":42}\"", + "tell-failure": "如果任何屬性缺失則報告失敗", + "tell-failure-tooltip": "如果至少一個選定的鍵不存在,出站訊息將報告「Failure」。", + "created-time": "建立時間", + "chip-help": "按「Enter」完成{{inputName}}輸入。\n按「Backspace」刪除{{inputName}}。\n支援多個值。", + "detail": "詳細資料", + "field-name": "欄位名稱", + "device-profile": "裝置設定檔", + "entity-type": "實體類型", + "message-type": "訊息類型", + "timeseries-key": "時間序列鍵", + "type": "類型", + "first-name": "名", + "last-name": "姓", + "label": "標籤", + "originator-fields-mapping": "發起者欄位對應", + "add-mapped-originator-fields-to": "將對應的發起者欄位新增到", + "fields": "欄位", + "skip-empty-fields": "跳過空欄位", + "skip-empty-fields-tooltip": "值為空的欄位將不會新增到輸出訊息/輸出詮釋資料中。", + "fetch-interval": "取得間隔", + "fetch-strategy": "取得策略", + "fetch-timeseries-from-to": "取得從 {{startInterval}} {{startIntervalTimeUnit}} 前到 {{endInterval}} {{endIntervalTimeUnit}} 前的時間序列。", + "fetch-timeseries-from-to-invalid": "取得時間序列無效(「間隔開始」應小於「間隔結束」)。", + "use-metadata-dynamic-interval-tooltip": "如果選取,規則節點將基於訊息和詮釋資料模式使用動態間隔的開始和結束。", + "all-mode-hint": "如果選擇「全部」取得模式,規則節點會依設定的查詢參數,取得指定時間區間內的遙測資料。", + "first-mode-hint": "如果選擇「第一筆」取得模式,規則節點會取得最接近時間區間起點的遙測資料。", + "last-mode-hint": "如果選擇「最後一筆」取得模式,規則節點會取得最接近時間區間終點的遙測資料。", + "ascending": "遞增", + "descending": "遞減", + "min": "最小值", + "max": "最大值", + "average": "平均值", + "sum": "總和", + "count": "計數", + "none": "無", + "last-level-relation-tooltip": "如果選取,規則節點將僅在最大關聯層級設定的層級上搜尋關聯實體。", + "last-level-device-relation-tooltip": "如果選取,規則節點將僅在最大關聯層級設定的層級上搜尋關聯裝置。", + "data-to-fetch": "要取得的資料", + "mapping-of-customers": "客戶資料對應", + "map-fields-required": "所有對應欄位為必填項。", + "attributes": "屬性", + "related-device-attributes": "關聯裝置屬性", + "add-selected-attributes-to": "將選定的屬性新增到", + "device-profiles": "裝置設定檔", + "mapping-of-tenant": "租戶資料對應", + "add-attribute-key": "新增屬性鍵", + "message-template": "訊息範本", + "message-template-required": "訊息範本為必填項", + "use-system-slack-settings": "使用系統 Slack 設定", + "slack-api-token": "Slack API 權杖", + "slack-api-token-required": "Slack API 權杖為必填項", + "keys-mapping": "鍵對應", + "add-key": "新增鍵", + "recipients": "收件者", + "message-subject-and-content": "訊息主題和內容", + "template-rules-hint": "兩個輸入欄位均支援範本化。使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從訊息詮釋資料中提取值。", + "originator-customer-desc": "使用傳入訊息發起者的客戶作為新發起者。", + "originator-tenant-desc": "使用目前租戶作為新發起者。", + "originator-related-entity-desc": "使用關聯實體作為新發起者。基於設定的關聯類型和方向進行查詢。", + "originator-alarm-originator-desc": "使用警報發起者作為新發起者。僅當傳入訊息發起者為警報實體時適用。", + "originator-entity-by-name-pattern-desc": "使用從資料庫取得的實體作為新發起者。基於實體類型和指定的名稱模式進行查詢。", + "email-from-template-hint": "使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "recipients-block-main-hint": "逗號分隔的地址清單。所有輸入欄位支援範本化。使用 $[messageKey] 從訊息中提取值,使用 ${metadataKey} 從詮釋資料中提取值。", + "forward-msg-default-rule-chain": "將訊息轉發到發起者的預設規則鏈", + "forward-msg-default-rule-chain-tooltip": "啟用後,訊息會轉送至發起者的預設規則鏈。若發起者的實體設定檔未定義預設規則鏈,則使用此處設定的規則鏈。", + "exclude-zero-deltas": "從出站訊息中排除零差值", + "exclude-zero-deltas-hint": "如果啟用,僅當「{{outputValueKey}}」輸出鍵的值不為零時才將其新增到出站訊息。", + "exclude-zero-deltas-time-difference-hint": "如果啟用,僅當「{{outputValueKey}}」值不為零時,才將「{{outputValueKey}}」和「{{periodValueKey}}」輸出鍵新增到出站訊息。", + "search-direction-from": "從發起者到目標實體", + "search-direction-to": "從目標實體到發起者", + "del-relation-direction-from": "從發起者", + "del-relation-direction-to": "到發起者", + "target-entity": "目標實體", + "function-configuration": "函式設定", + "function-name": "函式名稱", + "function-name-required": "函式名稱為必填項。", + "qualifier": "限定符", + "qualifier-hint": "如果未指定限定符,將使用預設限定符「$LATEST」。", + "aws-credentials": "AWS 認證資訊", + "connection-timeout": "連線逾時時間", + "connection-timeout-required": "連線逾時時間為必填項。", + "connection-timeout-min": "最小連線逾時時間為 0。", + "connection-timeout-hint": "初始建立連線時在放棄並逾時之前等待的時間(秒)。值為 0 表示無限,不推薦使用。", + "request-timeout": "請求逾時時間", + "request-timeout-required": "請求逾時時間為必填項", + "request-timeout-min": "最小請求逾時時間為 0", + "request-timeout-hint": "等待請求完成的最長時間(秒);超過此時間即放棄並視為逾時。值為 0 表示無限,不建議使用。", + "units": "單位", + "tell-failure-aws-lambda": "如果 AWS Lambda 函式執行引發例外狀況則報告失敗", + "tell-failure-aws-lambda-hint": "如果 AWS Lambda 函式執行引發例外狀況,規則節點將強制訊息處理失敗。", + "basic-mode": "基本", + "advanced-mode": "進階", + "url-hint": "輸入請求 URL,並確認特殊字元已使用百分比編碼。", + "query-params": "查詢參數", + "query-params-hint": "要加入請求 URL 的額外查詢參數。名稱和值皆支援範本替換,並會在範本解析後依 RFC 3986 嚴格編碼。", + "query-params-empty": "尚未設定查詢參數", + "query-params-name": "名稱", + "query-params-value": "值", + "query-params-name-required": "請輸入名稱", + "query-params-value-required": "請輸入值", + "headers-empty": "尚未設定標頭", + "request-url": "請求 URL", + "url": "URL", + "save-time-series": { + "processing-settings": "處理設定", + "processing-settings-hint": "定義傳入訊息的處理方式。基本處理設定允許您選擇預先設定的策略,而進階設定允許您為每個操作選擇單獨的處理策略。", + "advanced-settings-hint": "設定處理策略時請謹慎。某些組合可能導致意外行為。", + "strategy": "策略", + "deduplication-interval": "去重間隔", + "deduplication-interval-required": "去重間隔為必填項", + "deduplication-interval-min-max-range": "去重間隔應至少為 1 秒且最多為 1 天", + "strategy-type": { + "every-message": "每則訊息", + "skip": "跳過", + "deduplicate": "去重", + "web-sockets-only": "僅 WebSockets" + }, + "time-series": "時間序列", + "latest": "最新值", + "web-sockets": "WebSockets", + "calculated-fields-and-alarm-rules": "計算欄位和警報規則" + }, + "save-attribute": { + "processing-settings": "處理設定", + "processing-settings-hint": "定義傳入訊息的處理方式。基本處理設定允許您選擇預先設定的策略,而進階設定允許您為每個操作選擇單獨的處理策略。", + "advanced-settings-hint": "設定處理策略時請謹慎。某些組合可能導致意外行為。", + "strategy": "策略", + "deduplication-interval": "去重間隔", + "deduplication-interval-required": "去重間隔為必填項", + "deduplication-interval-min-max-range": "去重間隔應至少為 1 秒且最多為 1 天", + "scope": "範圍", + "strategy-type": { + "every-message": "每則訊息", + "skip": "跳過", + "deduplicate": "去重", + "web-sockets-only": "僅 WebSockets" + }, + "attributes": "屬性" + }, + "key-val": { + "key": "鍵", + "value": "值", + "see-examples": "檢視範例。", + "remove-entry": "移除項目", + "remove-mapping-entry": "移除對應項目", + "add-mapping-entry": "新增對應", + "add-entry": "新增項目", + "copy-key-values-from": "複製鍵值來源", + "delete-key-values": "刪除鍵值", + "delete-key-values-from": "刪除鍵值的位置", + "at-least-one-key-error": "至少應選擇一個鍵。", + "unique-key-value-pair-error": "「{{keyText}}」必須與「{{valText}}」不同!" + }, + "mail-body-types": { + "plain-text": "純文字", + "html": "HTML", + "dynamic": "動態", + "use-body-type-template": "使用本文類型範本", + "plain-text-description": "簡單的無格式文字,沒有特殊樣式或格式。", + "html-text-description": "允許在郵件本文中使用 HTML 標籤設定格式、加入連結和圖片。", + "dynamic-text-description": "允許基於範本化功能動態使用純文字或 HTML 本文類型。", + "after-template-evaluation-hint": "範本評估後,值應為 true 表示 HTML,false 表示純文字。" + }, + "ai": { + "ai-model": "AI 模型", + "model": "模型", + "ai-model-hint": "選擇預先設定的 AI 模型,處理此規則節點傳送的請求,或使用「建立新的」設定新模型。", + "prompt-settings": "提示詞設定", + "prompt-settings-hint": "可選的系統提示詞設定 AI 的一般角色和約束,而使用者提示詞定義要執行的具體任務。兩個欄位均支援範本化。", + "system-prompt": "系統提示詞", + "system-prompt-max-length": "系統提示詞不得超過 500000 個字元。", + "system-prompt-blank": "系統提示詞不能為空。", + "user-prompt": "使用者提示詞", + "user-prompt-required": "使用者提示詞為必填項。", + "user-prompt-max-length": "使用者提示詞不得超過 500000 個字元。", + "user-prompt-blank": "使用者提示詞不能為空。", + "response-format": "回應格式", + "response-text": "文字", + "response-json": "JSON", + "response-json-schema": "JSON Schema", + "response-format-hint-TEXT": "允許模型產生任意文字,該文字可能是或不是有效的 JSON 物件。如果輸出不是有效的 JSON 物件,將自動包裝在「response」鍵下的 JSON 物件中。", + "response-format-hint-JSON": "要求模型產生有效的 JSON 回應。如果輸出不是有效的 JSON 物件,將自動包裝在「response」鍵下的 JSON 物件中。", + "response-format-hint-JSON_SCHEMA": "要求模型產生與提供的結構描述中定義的特定結構和資料型別符合的 JSON。如果輸出不是有效的 JSON 物件,將自動包裝在「response」鍵下的 JSON 物件中。", + "response-json-schema-hint": "雖然可以輸入任何有效的 JSON Schema,但此規則節點僅支援其功能的有限子集。詳細資料請參閱節點文件。", + "response-json-schema-required": "JSON Schema 為必填項", + "advanced-settings": "進階設定", + "timeout": "逾時時間", + "timeout-hint": "等待 AI 模型回應的最大時間,\n超過此時間請求將被終止。", + "timeout-required": "逾時時間為必填項", + "timeout-validation": "必須為 1 秒到 10 分鐘之間。", + "force-acknowledgement": "強制確認", + "force-acknowledgement-hint": "啟用後,會立即確認傳入訊息,再將模型的回應作為獨立的新訊息加入佇列。", + "ai-resources": "AI 資源" + }, + "no-owners-matching": "找不到符合「{{entity}}」的所有者。", + "owner-required": "所有者為必填項。", + "owner": "所有者", + "owner-of-entity-group": "實體群組所有者", + "entity-group": "實體群組", + "parent-entity": "父實體", + "include-root-entity-to-parent-entities": "將根實體納入父實體清單", + "no-alarm-severity-matching": "找不到符合的警報嚴重程度。", + "propagate-to-owner-hierarchy": "將警報傳播至實體所有者階層", + "secret-placeholder-hint": "您可以使用預留位置 ${secret:name;type:TYPE} 插入機密,其中「name」是機密識別碼,「type」為 TEXT 或 TEXT_FILE。這適用於不直接支援「使用機密」的規則節點設定欄位。例如:${secret:Header;type:TEXT}", + "group-name-pattern": "群組名稱模式", + "group-name-pattern-required": "群組名稱模式為必填項", + "create-group-if-not-exists": "若群組不存在則建立新群組", + "group-cache-expiration": "群組快取到期時間(秒)", + "group-cache-expiration-required": "群組快取到期時間為必填項。", + "group-cache-expiration-range": "群組快取到期時間必須大於或等於 0。", + "group-cache-expiration-hint": "指定找到的實體群組記錄可保留在快取中的最長時間。值為 0 表示記錄永不到期。", + "remove-from-current-groups": "從目前群組中移除", + "use-report-config-from-message": "使用訊息中的報表設定", + "use-report-config-from-message-hint": "啟用後,規則節點會從傳入訊息取得報表產生設定;否則,使用下方指定的設定。", + "use-system-reports-server": "使用系統報表伺服器", + "use-system-reports-server-hint": "啟用後,規則節點會使用系統設定中的報表伺服器端點 URL;否則,使用下方指定的 URL。", + "reports-server-endpoint-url": "報表伺服器端點 URL", + "reports-server-endpoint-url-is-required": "報表伺服器端點 URL 為必填項。", + "aggregation": "彙總", + "math-function": "彙總函式", + "func-min": "最小值", + "func-max": "最大值", + "func-sum": "總和", + "func-avg": "平均值", + "func-count": "計數", + "func-count-unique": "不重複值計數", + "agg-interval-value": "彙總區間值", + "agg-interval-value-required": "彙總區間值為必填項。", + "agg-interval-time-unit": "彙總區間時間單位", + "auto-create-intervals": "自動建立區間", + "interval-entities": "區間實體", + "interval-persistence": "區間持久化", + "interval-persistence-policy": "區間持久化策略", + "interval-persist-policy-on-each-check": "每次檢查時", + "interval-persist-policy-on-each-check-after-interval-end": "區間結束後的每次檢查時", + "interval-persist-policy-on-each-message": "每次收到訊息時", + "interval-check-value": "區間檢查間隔值", + "interval-check-value-required": "區間檢查間隔值為必填項。", + "interval-check-time-unit": "區間檢查間隔時間單位", + "interval-ttl-value": "區間 TTL 值", + "interval-ttl-value-required": "區間 TTL 值為必填項。", + "interval-ttl-time-unit": "區間 TTL 時間單位", + "state-persistence": "狀態持久化", + "state-persistence-policy": "狀態持久化策略", + "state-persist-policy-on-each-change": "每次變更時", + "state-persist-policy-periodically": "定期", + "state-persistence-value": "狀態持久化間隔值", + "state-persistence-value-required": "狀態持久化間隔值為必填項。", + "state-persistence-time-unit": "狀態持久化間隔時間單位", + "target-entity-group": "目標實體群組", + "entity-group-is-message-originator": "以訊息發起者作為實體群組", + "single-entity": "單一實體", + "group-of-entities": "實體群組", + "entities": "實體", + "root-entity": "根實體", + "child-entities-query": "子實體查詢", + "child-entities": "子實體", + "execution-period-value": "執行週期值", + "execution-period-value-required": "執行週期值為必填項。", + "execution-period-time-unit": "執行週期時間單位", + "agg-latest-mappings": "最新值彙總對應", + "mappings": "對應", + "edit-mapping": "編輯對應", + "remove-mapping": "移除對應", + "add-mapping": "新增對應", + "add-mapping-prompt": "請新增對應", + "attribute-scope": "屬性範圍", + "default-value": "預設值", + "default-value-required": "預設值為必填項。", + "target-telemetry": "目標遙測", + "target-telemetry-required": "目標遙測為必填項。", + "filter-entities": "篩選實體", + "entity-filter": "實體篩選器", + "fetch-entity-attributes": "取得實體屬性", + "count-alarms-for-child-entities": "計算子實體的警報數量", + "count-alarms-for-propagation-entities": "計算警報傳播對象的警報數量", + "alarms-count-mappings": "警報計數對應", + "propagation-entity-types": "傳播對象的實體類型", + "propagation-entity-types-info": "若選取傳播對象的實體類型,則依選取的類型篩選傳播對象;否則,不進行篩選。", + "count-alarms-for-propagation-entities-info": "啟用後,除了警報發起者,也會計算所有警報傳播對象的警報數量。", + "and": "且", + "all-alarms": "所有警報", + "for": "於", + "status-filter": "狀態篩選器", + "severity-filter": "嚴重程度篩選器", + "type-filter": "類型篩選器", + "all-statuses": "所有狀態", + "all-severities": "所有嚴重程度", + "all-types": "所有類型", + "add-alarm-status": "+警報狀態", + "add-alarm-severity": "+警報嚴重程度", + "add-alarm-type": "+警報類型", + "specify-interval": "指定區間", + "owner-type": "所有者類型", + "owner-name-pattern": "客戶標題", + "owner-name-pattern-required": "客戶標題為必填項", + "create-owner-if-not-exists": "若客戶不存在則建立新客戶", + "create-owner-if-not-exists-hint": "啟用後,若指定標題的客戶不存在,規則節點會建立新的最上層客戶。", + "create-new-customer-if-not-exists-hint": "啟用後,若指定標題的客戶不存在,規則節點會建立新客戶。", + "create-owner-on-originator-level": "在訊息發起者的同一層級建立新客戶", + "create-owner-on-originator-level-hint": "啟用後,若發起者的所有者是租戶,規則節點會建立最上層客戶;若發起者的所有者是客戶,則會建立該客戶的子客戶。", + "owner-cache-expiration": "所有者快取到期時間(秒)", + "owner-cache-expiration-required": "所有者快取到期時間為必填項。", + "owner-cache-expiration-range": "所有者快取到期時間必須大於或等於 0。", + "owner-cache-expiration-hint": "指定找到的所有者記錄可保留在快取中的最長時間。值為 0 表示記錄永不到期。", + "aggregate-interval-type": "彙總區間類型", + "aggregate-period-hour": "小時", + "aggregate-period-day": "天", + "aggregate-period-week": "週(週一至週日)", + "aggregate-period-week-sun-sat": "週(週日至週六)", + "aggregate-period-month": "月", + "aggregate-period-year": "年", + "aggregate-period-custom": "自訂", + "round": "小數位數", + "round-range": "小數位數必須介於 0 到 15 之間。", + "use-cache": "使用快取取得最新值", + "tell-failure-if-delta-is-negative": "若差值為負則回報失敗", + "add-period-between-msgs": "新增訊息之間的時間間隔", + "search-entity-group-for-tenant-only": "僅在租戶層級搜尋實體群組", + "consider-message-originator-as-a-group-owner": "將發起者視為群組所有者", + "consider-message-originator-as-a-group-owner-hint": "預設會從訊息發起者的所有者所在層級開始搜尋群組;若找不到,則沿階層向上搜尋至租戶層級。啟用後,若發起者是租戶或客戶,則從發起者所在層級開始搜尋。", + "deduplication-period-sec": "去重週期(秒)", + "deduplication-period-sec-required": "去重週期值為必填項。", + "deduplication-period-sec-range": "去重週期值必須介於 10 到 2147483647 之間。", + "search-entity-group-for-tenant-only-hint": "預設會從訊息發起者的所有者所在層級開始搜尋群組;若找不到,則沿階層向上搜尋至租戶層級。啟用後,僅在租戶層級搜尋。", + "entity-group-is-message-originator-hint": "啟用後,會將訊息發起者視為要從中取得實體的實體群組。若訊息發起者的類型不是實體群組,傳入訊息會經由 Failure 連線路由。", + "fetch-originators-attributes-customer": "若發起者是客戶則取得其屬性", + "fetch-originators-attributes-customer-hint": "啟用後,若傳入訊息的發起者是客戶,規則節點會直接取得發起者的{{mappingOfCustomers}},略過客戶搜尋。", + "parse-originator-if-customer": "若發起者是客戶則保留原發起者", + "parse-originator-if-customer-hint": "啟用後,若傳入訊息的發起者是客戶,規則節點會略過搜尋新發起者,並保留原發起者。" + }, + "queue-statistics": { + "queue-statistics": "佇列統計", + "no-queue-statistics-matching": "找不到與「{{entity}}」符合的佇列統計。", + "queue-statistics-required": "佇列統計為必填項。", + "list-of-queue-statistics": "{ count, plural, =1 {1 筆佇列統計} other {佇列統計清單(# 筆)} }", + "selected-queue-statistics": "已選擇 { count, plural, =1 {1 筆佇列統計} other {# 筆佇列統計} }", + "no-queue-statistics-text": "找不到佇列統計", + "queue-statistics-starts-with": "名稱以「{{prefix}}」開頭的佇列統計" + }, + "tooltip": { + "trigger": "觸發器", + "trigger-point": "點", + "trigger-axis": "軸", + "label": "標籤", + "value": "值", + "date": "日期", + "show-date-time-interval": "顯示日期時間間隔", + "show-date-time-interval-hint": "根據資料彙總顯示日期時間間隔。", + "hide-zero-tooltip-values": "隱藏零值", + "show-stack-total": "在堆疊模式下顯示總值", + "background-color": "背景顏色", + "background-blur": "背景模糊" + }, + "unit": { + "set-unit-conversion": "設定單位轉換", + "unit-settings": { + "unit-settings": "單位設定", + "source-unit": "來源單位", + "source-unit-hint": "這是儲存值的單位,即您要轉換的來源單位。請輸入來源資料使用的符號(例如 m、km、ft、in)。", + "target-metric-unit": "目標公制單位", + "target-metric-unit-hint": "選擇要將來源值轉換為哪個公制單位(SI)(例如 cm、mm、km)。", + "target-imperial-unit": "目標英制單位", + "target-imperial-unit-hint": "選擇要將來源值轉換為哪個英制單位(例如 in、ft、yd)。", + "target-hybrid-unit": "目標混合單位", + "target-hybrid-unit-hint": "選擇要將來源值轉換為哪個混合單位(例如 cm、in、km)。混合單位結合了公制或英制單位。", + "enable-unit-conversion": "啟用單位轉換", + "enable-unit-conversion-hint": "開啟以啟用轉換。關閉時,來源值將保持不變。如果對應的度量組中只有一個單位(例如光通量、AQI),則此選項被停用。" + }, + "unit-system": "單位制", + "unit-system-type": { + "AUTO": "自動", + "METRIC": "公制", + "IMPERIAL": "英制", + "HYBRID": "混合" + }, + "measures": { + "absorbed-dose-rate": "吸收劑量率", + "acceleration": "加速度", + "acidity": "酸度", + "air-quality-index": "空氣品質指數", + "amount-of-substance": "物量", + "angle": "角度", + "angular-acceleration": "角加速度", + "area": "面積", + "area-density": "面密度", + "capacitance": "電容", + "catalytic-activity": "催化活性", + "catalytic-concentration": "催化活性濃度", + "charge": "電荷", + "current-density": "電流密度", + "data-transfer-rate": "資料傳輸速率", + "density": "密度", + "digital": "資訊量", + "dimension-ratio": "尺寸比", + "dynamic-viscosity": "動力黏度", + "earthquake-magnitude": "地震規模", + "electric-charge-density": "電荷密度", + "electric-current": "電流", + "electric-dipole-moment": "電偶極矩", + "electric-field-strength": "電場強度", + "electric-flux": "電通量", + "electric-permittivity": "介電常數", + "electric-polarizability": "電極化率", + "electrical-conductance": "電導", + "electrical-conductivity": "電導率", + "energy": "能量", + "energy-density": "能量密度", + "force": "力", + "frequency": "頻率", + "fuel-efficiency": "燃油效率", + "heat-capacity": "熱容", + "illuminance": "照度", + "inductance": "電感", + "kinematic-viscosity": "動黏度", + "length": "長度", + "light-exposure": "曝光量", + "linear-charge-density": "線電荷密度", + "logarithmic-ratio": "對數比", + "luminous-efficacy": "發光效率", + "luminous-flux": "光通量", + "luminous-intensity": "光強度", + "magnetic-field-gradient": "磁場梯度", + "magnetic-flux": "磁通量", + "magnetic-flux-density": "磁通量密度", + "magnetic-moment": "磁矩", + "magnetic-permeability": "磁導率", + "mass": "質量", + "mass-fraction": "質量分數", + "molar-concentration": "莫耳濃度", + "molar-energy": "莫耳能", + "molar-heat-capacity": "莫耳熱容", + "molar-mass": "莫耳質量", + "number-concentration": "數濃度", + "parts-per-million": "百萬分率", + "power": "功率", + "power-density": "功率密度", + "pressure": "壓力", + "radiance": "輻射亮度", + "radiant-intensity": "輻射強度", + "radiation-dose": "輻射劑量", + "radioactive-decay": "放射性衰變", + "radioactivity": "放射性", + "radioactivity-concentration": "放射性濃度", + "reciprocal-length": "長度倒數", + "resistance": "電阻", + "reynolds-number": "雷諾數", + "signal-level": "訊號位準", + "solid-angle": "立體角", + "specific-energy": "比能", + "specific-heat-capacity": "比熱容", + "specific-humidity": "比溼", + "specific-volume": "比容", + "speed": "速率", + "surface-charge-density": "面電荷密度", + "surface-tension": "表面張力", + "temperature": "溫度", + "thermal-conductivity": "熱導率", + "time": "時間", + "torque": "扭矩", + "turbidity": "濁度", + "voltage": "電壓", + "volume": "體積", + "volume-flow": "體積流量" + }, + "millimeter": "公釐", + "centimeter": "公分", + "decimeter": "分米", + "angstrom": "埃", + "nanometer": "奈米", + "micrometer": "微米", + "meter": "公尺", + "kilometer": "公里", + "inch": "英寸", + "foot": "英尺", + "foot-us": "英尺(美國測量)", + "yard": "碼", + "mile": "英里", + "nautical-mile": "海里", + "astronomical-unit": "天文單位", + "reciprocal-metre": "每公尺", + "meter-per-meter": "公尺每公尺", + "steradian": "立弳", + "thou": "密耳", + "barleycorn": "大麥粒", + "hand": "手寬", + "chain": "鏈", + "furlong": "弗隆", + "league": "裡格", + "fathom": "英尋", + "cable": "鏈(海纜)", + "link": "鏈節", + "rod": "杆", + "nanogram": "奈克", + "microgram": "微克", + "milligram": "毫克", + "gram": "克", + "kilogram": "公斤", + "tonne": "噸", + "ounce": "盎司", + "pound": "磅", + "stone": "英石", + "hundredweight-count": "英擔", + "short-tons": "短噸", + "dalton": "道爾頓", + "grain": "格令", + "drachm": "打蘭", + "quarter": "夸特", + "slug": "斯勒格", + "carat": "克拉", + "cubic-millimeter": "立方公釐", + "cubic-centimeter": "立方公分", + "cubic-meter": "立方公尺", + "cubic-kilometer": "立方公里", + "microliter": "微升", + "milliliter": "毫升", + "liter": "升", + "hectoliter": "百升", + "cubic-inch": "立方英寸", + "cubic-foot": "立方英尺", + "cubic-yard": "立方碼", + "fluid-ounce": "液量盎司", + "fluid-ounce-per-second": "液量盎司每秒", + "pint": "品脫", + "quart": "夸脫", + "gallon": "加侖", + "oil-barrels": "石油桶", + "cubic-meter-per-kilogram": "立方公尺每公斤", + "gill": "及耳", + "hogshead": "霍格斯黑德", + "teaspoon": "茶匙", + "tablespoon": "湯匙", + "cup": "杯", + "celsius": "攝氏度", + "kelvin": "克耳文", + "rankine": "蘭金", + "fahrenheit": "華氏度", + "percent": "百分比", + "meter-per-second": "公尺每秒", + "kilometer-per-hour": "公里每小時", + "foot-per-second": "英尺每秒", + "foot-per-minute": "英尺每分鐘", + "mile-per-hour": "英里每小時", + "knot": "節", + "inch-per-second": "英寸每秒", + "inch-per-hour": "英寸每小時", + "millimeters-per-minute": "公釐每分鐘", + "meter-per-minute": "公尺每分鐘", + "kilometer-per-hour-squared": "公里每平方小時", + "foot-per-second-squared": "英尺每平方秒", + "pascal": "帕斯卡", + "kilopascal": "千帕", + "megapascal": "百萬帕", + "gigapascal": "吉帕", + "millibar": "毫巴", + "bar": "巴", + "kilobar": "千巴", + "newton": "牛頓", + "newton-meter": "牛頓·公尺", + "foot-pounds": "英尺·磅", + "inch-pounds": "英寸·磅", + "newton-per-meter": "牛頓每公尺", + "atmospheres": "標準大氣壓", + "pounds-per-square-inch": "磅每平方英寸", + "kilopound-per-square-inch": "千磅每平方英寸", + "torr": "托", + "inches-of-mercury": "英寸汞柱", + "pascal-per-square-meter": "帕斯卡每平方公尺", + "pound-per-square-inch": "磅每平方英寸", + "newton-per-square-meter": "牛頓每平方公尺", + "kilogram-force-per-square-meter": "公斤力每平方公尺", + "pascal-per-square-centimeter": "帕斯卡每平方公分", + "ton-force-per-square-inch": "噸力每平方英寸", + "kilonewton-per-square-meter": "千牛頓每平方公尺", + "newton-per-square-millimeter": "牛頓每平方公釐", + "microjoule": "微焦", + "millijoule": "毫焦", + "joule": "焦耳", + "kilojoule": "千焦", + "megajoule": "百萬焦", + "gigajoule": "吉焦", + "watt-hour": "瓦時", + "watt-minute": "瓦分", + "kilowatt-hour": "千瓦時", + "milliwatt-hour": "毫瓦時", + "megawatt-hour": "百萬瓦時", + "gigawatt-hour": "吉瓦時", + "electron-volts": "電子伏特", + "joules-per-coulomb": "焦耳每庫侖", + "british-thermal-unit": "英熱單位", + "thousand-british-thermal-unit": "千英熱單位", + "million-british-thermal-unit": "百萬英熱單位", + "foot-pound": "英尺·磅", + "calorie": "卡路里", + "small-calorie": "小卡", + "kilocalorie": "千卡", + "joule-per-kelvin": "焦耳每克耳文", + "joule-per-kilogram-kelvin": "焦耳每公斤·克耳文", + "joule-per-kilogram": "焦耳每公斤", + "watt-per-meter-kelvin": "瓦每公尺·克耳文", + "joule-per-cubic-meter": "焦耳每立方公尺", + "therm": "撒姆", + "electric-dipole-moment": "電偶極矩", + "magnetic-dipole-moment": "磁偶極矩", + "debye": "德拜", + "coulomb-per-square-meter-per-volt": "庫侖每平方公尺每伏", + "milliwatt": "毫瓦", + "microwatt": "微瓦", + "watt": "瓦特", + "kilowatt": "千瓦", + "megawatt": "百萬瓦", + "gigawatt": "吉瓦", + "metric-horsepower": "公制馬力", + "milliwatt-per-square-centimeter": "毫瓦每平方公分", + "watt-per-square-centimeter": "瓦每平方公分", + "kilowatt-per-square-centimeter": "千瓦每平方公分", + "milliwatt-per-square-meter": "毫瓦每平方公尺", + "watt-per-square-meter": "瓦每平方公尺", + "kilowatt-per-square-meter": "千瓦每平方公尺", + "watt-per-square-inch": "瓦每平方英寸", + "kilowatt-per-square-inch": "千瓦每平方英寸", + "horsepower": "馬力", + "btu-per-hour": "英熱單位每小時", + "btu-per-second": "英熱單位每秒", + "btu-per-day": "英熱單位每天", + "mbtu-per-hour": "千英熱單位每小時", + "mbtu-per-second": "千英熱單位每秒", + "mbtu-per-day": "千英熱單位每天", + "mmbtu-per-hour": "百萬英熱單位每小時", + "mmbtu-per-second": "百萬英熱單位每秒", + "mmbtu-per-day": "百萬英熱單位每天", + "foot-pound-per-second": "英尺·磅每秒", + "coulomb": "庫侖", + "millicoulomb": "毫庫侖", + "microcoulomb": "微庫侖", + "nanocoulomb": "奈庫侖", + "picocoulomb": "皮庫侖", + "coulomb-per-meter": "庫侖每公尺", + "coulomb-per-cubic-meter": "庫侖每立方公尺", + "coulomb-per-square-meter": "庫侖每平方公尺", + "square-millimeter": "平方公釐", + "square-centimeter": "平方公分", + "square-meter": "平方公尺", + "hectare": "公頃", + "square-kilometer": "平方公里", + "square-inch": "平方英寸", + "square-foot": "平方英尺", + "square-yard": "平方碼", + "acre": "英畝", + "square-mile": "平方英里", + "are": "公畝", + "barn": "靶恩", + "circular-inch": "圓英寸", + "milliampere-hour": "毫安時", + "ampere-hours": "安時", + "kiloampere-hours": "千安時", + "nanoampere": "奈安培", + "picoampere": "皮安", + "microampere": "微安", + "milliampere": "毫安", + "ampere": "安培", + "kiloampere": "千安", + "megaampere": "百萬安", + "gigaampere": "吉安", + "microampere-per-square-centimeter": "微安每平方公分", + "ampere-per-square-meter": "安培每平方公尺", + "ampere-per-meter": "安培每公尺", + "oersted": "奧斯特", + "bohr-magneton": "玻爾磁子", + "ampere-meter-squared": "安培·平方公尺", + "nanovolt": "奈伏特", + "picovolt": "皮伏", + "millivolt": "毫伏", + "microvolt": "微伏", + "volt": "伏特", + "kilovolt": "千伏", + "megavolt": "百萬伏", + "dbmV": "分貝伏", + "dbm": "分貝毫瓦", + "volt-meter": "伏特·公尺", + "kilovolt-meter": "千伏·公尺", + "megavolt-meter": "百萬伏·公尺", + "microvolt-meter": "微伏·公尺", + "millivolt-meter": "毫伏·公尺", + "nanovolt-meter": "奈伏特·公尺", + "ohm": "歐姆", + "microohm": "微歐", + "milliohm": "毫歐", + "kilohm": "千歐", + "megohm": "百萬歐", + "gigohm": "吉歐", + "millihertz": "毫赫茲", + "hertz": "赫茲", + "kilohertz": "千赫茲", + "megahertz": "百萬赫茲", + "gigahertz": "吉赫茲", + "terahertz": "兆赫茲", + "rpm": "每分鐘轉數", + "candela-per-square-meter": "燭光每平方公尺", + "candela": "燭光", + "lumen": "流明", + "lux": "勒克斯", + "foot-candle": "英尺燭光", + "lumen-per-square-meter": "流明每平方公尺", + "lux-second": "勒克斯·秒", + "lumen-second": "流明·秒", + "lumens-per-watt": "流明每瓦", + "mole": "莫耳", + "nanomole": "奈莫耳", + "micromole": "微莫耳", + "millimole": "毫莫耳", + "kilomole": "千莫耳", + "mole-per-cubic-meter": "莫耳每立方公尺", + "rssi": "接收訊號強度指示", + "ppm": "百萬分率", + "ppb": "十億分率", + "micrograms-per-cubic-meter": "微克每立方公尺", + "aqi": "AQI", + "gram-per-cubic-meter": "克每立方公尺", + "gram-per-kilogram": "克每公斤", + "millimeters-per-second": "公釐每秒", + "neper": "奈培", + "bel": "貝爾", + "decibel": "分貝", + "meters-per-second-squared": "公尺每平方秒", + "becquerel": "貝克", + "curie": "居里", + "gray": "戈雷", + "sievert": "西弗", + "roentgen": "倫琴", + "cps": "每秒計數次數", + "rad": "拉德", + "rem": "雷姆", + "dps": "每秒衰變次數", + "rutherford": "盧瑟福", + "coulombs-per-kilogram": "庫侖每公斤", + "becquerels-per-cubic-meter": "貝克每立方公尺", + "curies-per-liter": "居里每升", + "becquerels-per-second": "貝克每秒", + "curies-per-second": "居里每秒", + "gy-per-second": "戈雷每秒", + "watt-per-steradian": "瓦每立弳", + "watt-per-square-metre-steradian": "瓦每平方公尺·立弳", + "ph-level": "pH 值", + "turbidity": "濁度", + "mg-per-liter": "毫克每升", + "microsiemens-per-centimeter": "微西門每公分", + "millisiemens-per-meter": "毫西門每公尺", + "siemens-per-meter": "西門每公尺", + "kilogram-per-cubic-meter": "公斤每立方公尺", + "gram-per-cubic-centimeter": "克每立方公分", + "kilogram-per-square-meter": "公斤每平方公尺", + "milligram-per-milliliter": "毫克每毫升", + "milligram-per-cubic-meter": "毫克每立方公尺", + "pound-per-cubic-foot": "磅每立方英尺", + "ounces-per-cubic-inch": "盎司每立方英寸", + "tons-per-cubic-yard": "噸每立方碼", + "particle-density": "粒子密度", + "kilometers-per-liter": "公里每升", + "miles-per-gallon": "英里每加侖", + "liters-per-100-km": "升每百公里", + "gallons-per-mile": "加侖每英里", + "liters-per-hour": "升每小時", + "gallons-per-hour": "加侖每小時", + "beats-per-minute": "每分鐘心跳次數", + "millimeters-of-mercury": "公釐汞柱", + "milligrams-per-deciliter": "毫克每分升", + "g-force": "重力加速度", + "kilonewton": "千牛頓", + "kilogram-force": "公斤力", + "pound-force": "磅力", + "kilopound-force": "千磅力", + "dyne": "達因", + "poundal": "磅達", + "kip": "千磅力", + "gal": "伽", + "gravity": "重力", + "hectopascal": "百帕", + "atmosphere": "標準大氣壓", + "millibars": "毫巴", + "inch-of-mercury": "英寸汞柱", + "richter-scale": "芮氏規模", + "nanosecond": "奈秒", + "microsecond": "微秒", + "millisecond": "毫秒", + "second": "秒", + "minute": "分鐘", + "hour": "小時", + "day": "天", + "week": "週", + "month": "月", + "year": "年", + "cubic-foot-per-minute": "立方英尺每分鐘", + "cubic-meters-per-hour": "立方公尺每小時", + "cubic-meters-per-second": "立方公尺每秒", + "cubic-meters-per-minute": "立方公尺每分鐘", + "liter-per-second": "升每秒", + "liter-per-minute": "升每分鐘", + "gallons-per-minute": "加侖每分鐘", + "cubic-foot-per-second": "立方英尺每秒", + "milliliters-per-minute": "毫升每分鐘", + "cubic-decimeter-per-second": "立方分米每秒", + "bit": "位元", + "byte": "位元組", + "kilobyte": "千位元組", + "megabyte": "百萬位元組", + "gigabyte": "吉位元組", + "terabyte": "兆位元組", + "petabyte": "拍位元組", + "exabyte": "艾位元組", + "zettabyte": "皆位元組", + "yottabyte": "佑位元組", + "bit-per-second": "位元每秒", + "kilobit-per-second": "千位元每秒", + "megabit-per-second": "百萬位元每秒", + "gigabit-per-second": "吉位元每秒", + "terabit-per-second": "兆位元每秒", + "byte-per-second": "位元組每秒", + "kilobyte-per-second": "千位元組每秒", + "megabyte-per-second": "百萬位元組每秒", + "gigabyte-per-second": "吉位元組每秒", + "degree": "度", + "radian": "弧度", + "gradian": "百分度", + "arcminute": "角分", + "arcsecond": "角秒", + "milliradian": "毫弧度", + "revolution": "轉", + "siemens": "西門", + "millisiemens": "毫西門", + "microsiemens": "微西門", + "kilosiemens": "千西門", + "megasiemens": "百萬西門", + "gigasiemens": "吉西門", + "farad": "法拉", + "millifarad": "毫法拉", + "microfarad": "微法拉", + "nanofarad": "奈法拉", + "picofarad": "皮法拉", + "kilofarad": "千法拉", + "megafarad": "百萬法拉", + "gigafarad": "吉法拉", + "terfarad": "兆法拉", + "farad-per-meter": "法拉每公尺", + "tesla": "特士拉", + "gauss": "高斯", + "kilogauss": "千高斯", + "millitesla": "毫特士拉", + "microtesla": "微特士拉", + "nanotesla": "奈特士拉", + "kilotesla": "千特士拉", + "megatesla": "百萬特士拉", + "millitesla-square-meters": "毫特士拉·平方公尺", + "gamma": "伽馬", + "lambda": "蘭姆達", + "square-meter-per-second": "平方公尺每秒", + "square-centimeter-per-second": "平方公分每秒", + "stoke": "斯托克斯", + "centistokes": "厘斯托克斯", + "square-foot-per-second": "平方英尺每秒", + "square-inch-per-second": "平方英寸每秒", + "pascal-second": "帕斯卡·秒", + "centipoise": "厘泊", + "poise": "泊", + "reynolds": "雷諾", + "pound-per-foot-hour": "磅每英尺·小時", + "newton-second-per-square-meter": "牛頓·秒每平方公尺", + "dyne-second-per-square-centimeter": "達因·秒每平方公分", + "kilogram-per-meter-second": "公斤每公尺·秒", + "tesla-square-meters": "特士拉·平方公尺", + "maxwell": "麥克斯韋", + "tesla-per-meter": "特士拉每公尺", + "gauss-per-centimeter": "高斯每公分", + "weber": "韋伯", + "microweber": "微韋伯", + "milliweber": "毫韋伯", + "gauss-square-centimeter": "高斯·平方公分", + "kilogauss-square-centimeter": "千高斯·平方公分", + "henry": "亨利", + "millihenry": "毫亨利", + "microhenry": "微亨利", + "nanohenry": "奈亨利", + "henry-per-meter": "亨利每公尺", + "tesla-meter-per-ampere": "特士拉·公尺每安培", + "gauss-per-oersted": "高斯每奧斯特", + "kilogram-per-mole": "公斤每莫耳", + "gram-per-mole": "克每莫耳", + "milligram-per-mole": "毫克每莫耳", + "joule-per-mole": "焦耳每莫耳", + "joule-per-mole-kelvin": "焦耳每莫耳·克耳文", + "millivolts-per-meter": "毫伏每公尺", + "volts-per-meter": "伏特每公尺", + "kilovolts-per-meter": "千伏每公尺", + "radian-per-second": "弧度每秒", + "radian-per-second-squared": "弧度每平方秒", + "revolutions-per-minute-per-second": "轉每分鐘每秒", + "deg-per-second": "度每秒", + "rotation-per-minute": "每分鐘轉數", + "degrees-brix": "白利度", + "katal": "卡塔爾", + "katal-per-cubic-metre": "卡塔爾每立方公尺", + "paris-inch": "巴黎英寸" + }, + "color": { + "color": "顏色", + "color-picker": "色彩選擇器", + "primary-colors": "主要色彩", + "accent-colors": "強調色彩", + "no-color-selected": "尚未選取色彩", + "default": "預設" + }, + "paginator": { + "items-per-page": "每頁筆數:", + "first-page-label": "第一頁", + "last-page-label": "最後一頁", + "next-page-label": "下一頁", + "previous-page-label": "上一頁", + "items-per-page-separator": "/" + }, + "ai-assistant": { + "configure-with-ai": "使用 AI 設定", + "follow-up-prompt-placeholder": "回覆…", + "sub-title": "我可以協助您設定及管理裝置、儀表板、計算欄位、警報規則和通知。只要描述您的需求,其餘交給我。", + "new-chat": "新對話", + "no-chats": "尚無對話", + "today": "今天", + "yesterday": "昨天", + "last-7-days": "最近 7 天", + "older": "更早", + "delete-chat-title": "確定要刪除「{{name}}」嗎?", + "delete-chat-text": "所有對話訊息都將遺失。", + "delete-chat-confirm": "是,刪除", + "action-approval-required": "需要核准此操作", + "approve": "核准", + "deny": "拒絕", + "processing": "處理中…", + "approved": "完成", + "denied": "已拒絕", + "error": "失敗", + "thinking": "思考中…", + "rename-chat-title": "重新命名此對話", + "main-title": "您好!我是您的 AI 助理", + "approve-all": "核准後續所有操作", + "export-chat": "匯出對話" + }, + "converter": { + "converter": "資料轉換器", + "converters": "資料轉換器", + "select-converter": "選取資料轉換器", + "no-converters-matching": "找不到符合「{{entity}}」的資料轉換器。", + "no-converters-found": "找不到資料轉換器。", + "converter-required": "資料轉換器為必填項。", + "delete": "刪除轉換器", + "management": "資料轉換器管理", + "add-converter-text": "新增資料轉換器", + "no-converters-text": "找不到資料轉換器", + "selected-converters": "已選擇 { count, plural, =1 {1 個資料轉換器} other {# 個資料轉換器} }", + "delete-converter-title": "確定要刪除資料轉換器「{{converterName}}」嗎?", + "delete-converter-text": "請注意,確認後將無法復原資料轉換器及所有相關資料。", + "delete-converters-title": "確定要刪除 { count, plural, =1 {1 個資料轉換器} other {# 個資料轉換器} }嗎?", + "delete-converters-action-title": "刪除 { count, plural, =1 {1 個資料轉換器} other {# 個資料轉換器} }", + "delete-converters-text": "請注意,確認後將移除所有選取的資料轉換器,且無法復原所有相關資料。", + "events": "事件", + "add": "新增資料轉換器", + "edit": "編輯資料轉換器", + "search": "搜尋資料轉換器", + "converter-details": "資料轉換器詳細資料", + "details": "詳細資料", + "copyId": "複製轉換器識別碼", + "idCopiedMessage": "已將轉換器識別碼複製到剪貼簿", + "debug-mode": "偵錯模式", + "created-time": "建立時間", + "name": "名稱", + "name-required": "名稱為必填項。", + "name-max-length": "名稱應少於 256 個字元", + "description": "說明", + "decoder": "解碼器", + "encoder": "編碼器", + "test-decoder-fuction": "測試解碼器函式", + "test-encoder-fuction": "測試編碼器函式", + "test-payload-decoder": "測試承載資料解碼器", + "test-with-this-message": "使用此訊息{{test}}", + "decoder-input-params": "解碼器輸入參數", + "encoder-input-params": "編碼器輸入參數", + "payload": "承載資料", + "payload-content-type": "承載資料內容類型", + "payload-content": "承載資料內容", + "message": "訊息", + "message-type": "訊息類型", + "message-type-required": "訊息類型為必填項。", + "test": "測試", + "metadata": "詮釋資料", + "metadata-required": "詮釋資料項目不可留空。", + "integration-metadata": "整合詮釋資料", + "integration-metadata-required": "整合詮釋資料項目不可留空。", + "output": "輸出", + "import": "匯入轉換器", + "export": "匯出轉換器", + "export-failed-error": "無法匯出轉換器:{{error}}", + "create-new-converter": "建立轉換器", + "converter-file": "轉換器檔案", + "invalid-converter-file-error": "無法匯入轉換器:轉換器資料結構無效。", + "type": "類型", + "type-required": "類型為必填項。", + "type-uplink": "上行", + "type-downlink": "下行", + "update-only-keys-list": "僅在值變更時更新的資料鍵清單", + "update-only-keys-list-hint": "只有當指定資料鍵的值與上一筆已轉換訊息中的對應值不同時,才會將該值儲存至資料庫。此功能適用於轉換器輸出中的屬性與遙測資料。", + "all": "全部", + "main-decoding-configuration": "主要解碼設定", + "main-encoding-configuration": "主要編碼設定", + "device-name": "裝置名稱", + "device-name-required": "裝置名稱為必填項。", + "asset-name": "資產名稱", + "asset-name-required": "資產名稱為必填項。", + "advanced-decoding-parameters": "進階解碼參數", + "customer-name": "客戶名稱", + "group": "群組", + "device-profile-name": "裝置設定檔名稱", + "asset-profile-name": "資產設定檔名稱", + "asset-label": "資產標籤", + "device-label": "裝置標籤", + "device-group-name": "裝置群組名稱", + "asset-group-name": "資產群組名稱", + "telemetry": "遙測資料", + "attributes": "屬性", + "integration-type": "整合類型", + "decoder-output": "解碼器輸出", + "converter-output": "轉換器輸出", + "converter-type": "轉換器類型", + "update-raw-payload": "更新後的原始承載資料" + }, + "integration": { + "integration": "整合", + "integrations": "整合", + "integrations-center": "整合中心", + "select-integration": "選取整合", + "no-integrations-matching": "找不到符合「{{entity}}」的整合。", + "integration-required": "整合為必填項。", + "delete": "刪除整合", + "management": "整合管理", + "add-integration-text": "新增整合", + "no-integrations-text": "找不到整合", + "data-convertor-name": "「{{integrationName}}」的資料轉換器({{convertorType}})", + "integration-name": "整合({{integrationType}})", + "selected-integrations": "已選擇 { count, plural, =1 {1 個整合} other {# 個整合} }", + "delete-integration-title": "確定要刪除整合「{{integrationName}}」嗎?", + "delete-integration-text": "請注意,確認後將無法復原整合及所有相關資料。", + "delete-integrations-title": "確定要刪除 { count, plural, =1 {1 個整合} other {# 個整合} }嗎?", + "delete-integrations-action-title": "刪除 { count, plural, =1 {1 個整合} other {# 個整合} }", + "delete-integrations-text": "請注意,確認後將移除所有選取的整合,且無法復原所有相關資料。", + "events": "事件", + "enabled": "啟用整合", + "allow-create-devices-or-assets": "允許建立裝置或資產", + "all-types": "所有整合類型", + "add": "新增整合", + "search": "搜尋整合", + "integration-details": "整合詳細資料", + "details": "詳細資料", + "copyId": "複製整合識別碼", + "idCopiedMessage": "已將整合識別碼複製到剪貼簿", + "debug-mode": "偵錯模式", + "enable-security": "啟用安全性", + "enable-security-new": "啟用安全性以自動更新權杖", + "headers-filter": "標頭篩選器", + "header": "標頭", + "no-headers-filter": "未設定標頭篩選器", + "downlink-url": "下行 URL", + "downlink-url-required": "下行 URL 為必填項。", + "create-loriot-output": "建立 Loriot 應用程式輸出", + "send-downlink": "傳送下行訊息", + "allow-downlink": "允許下行訊息", + "server": "伺服器", + "server-required": "伺服器為必填項。", + "domain": "網域", + "app-id": "應用程式識別碼", + "app-id-required": "應用程式識別碼為必填項。", + "app-token": "應用程式存取權杖", + "app-token-required": "應用程式存取權杖為必填項。", + "email": "電子郵件", + "email-required": "電子郵件為必填項。", + "application-uri": "應用程式 URI", + "as-id": "AS 識別碼", + "as-id-required": "AS 識別碼為必填項。", + "as-key": "AS 金鑰", + "as-key-required": "AS 金鑰為必填項。", + "client-id-new": "用戶端識別碼", + "client-id-new-required": "用戶端識別碼(登入名稱)為必填項。", + "client-secret": "用戶端密碼", + "client-secret-required": "用戶端密碼為必填項。", + "max-time-diff-in-seconds": "最大時間差(秒)", + "max-time-diff-in-seconds-required": "最大時間差為必填項。", + "created-time": "建立時間", + "name": "名稱", + "name-required": "名稱為必填項。", + "name-max-length": "名稱應少於 256 個字元", + "description": "說明", + "base-url": "基底 URL", + "base-url-required": "基底 URL 為必填項。", + "security-key": "安全性金鑰", + "skip": "略過", + "http-endpoint": "HTTP 端點 URL", + "replace-no-content-to-ok": "將回應狀態從「No-Content」改為「OK」", + "copy-http-endpoint-url": "複製 HTTP 端點 URL", + "http-endpoint-url-copied-message": "已將 HTTP 端點 URL 複製到剪貼簿", + "host": "主機", + "host-required": "主機為必填項。", + "host-private": "主機必須位於公用網路。", + "url-private": "URL 必須位於公用網路。", + "host-type": "主機類型", + "host-type-required": "主機類型為必填項。", + "api-version": "使用 API v3", + "custom-host": "自訂主機", + "custom-host-required": "自訂主機為必填項。", + "port": "連接埠", + "port-required": "連接埠為必填項。", + "endpoint": "端點", + "port-range": "連接埠必須介於 1 到 65535 之間。", + "connect-timeout": "連線逾時(秒)", + "connect-timeout-required": "連線逾時為必填項。", + "connect-timeout-range": "連線逾時必須介於 1 到 200 秒之間。", + "client-id": "用戶端識別碼", + "client-id-required": "用戶端識別碼為必填項。", + "client-id-hint": "提示:此欄位為選填,留空時會自動產生用戶端識別碼。請謹慎指定識別碼,多數 MQTT 訊息代理不允許多個連線使用相同的用戶端識別碼。連線至這類訊息代理時,MQTT 用戶端識別碼必須唯一。", + "max-bytes-in-message": "訊息位元組數上限", + "max-bytes-in-message-range": "訊息位元組數上限必須介於 1 到 256000000 之間。", + "device-id": "裝置識別碼", + "device-id-required": "裝置識別碼為必填項。", + "device-id-range": "裝置識別碼長度必須介於 1 到 65535 個字元之間。", + "device-id-pattern": "裝置識別碼只能包含數字及英文字母。[MQTT-3.1.3-5]", + "group-id": "群組識別碼", + "group-id-required": "群組識別碼為必填項。", + "topics": "主題", + "topics-required": "主題為必填項。", + "routing-keys": "路由鍵", + "routing-keys-required": "路由鍵為必填項。", + "queue": "佇列", + "queue-required": "佇列名稱為必填項。", + "durable": "持久化", + "exclusive": "獨佔", + "autoDelete": "自動刪除", + "exchange-name": "交換器名稱", + "exchange-name-required": "交換器名稱為必填項。", + "downlink-topic": "下行主題", + "connection-timeout": "連線逾時(毫秒)", + "connection-timeout-min": "連線逾時值無效。", + "handshake-timeout": "交握逾時(毫秒)", + "handshake-timeout-min": "交握逾時值無效。", + "virtual-host": "虛擬主機", + "rabbit-mq-poll-interval": "輪詢間隔(毫秒)", + "rabbit-mq-poll-interval-min": "輪詢間隔值無效。", + "application-server-url": "應用程式伺服器 URL", + "application-server-url-required": "應用程式伺服器 URL 為必填項。", + "application-server-api-token": "應用程式伺服器 API 權杖", + "application-server-api-token-required": "應用程式伺服器 API 權杖為必填項。", + "use-api-four-plus": "使用 ChirpStack 4 以上版本的 API", + "bootstrap-servers": "啟動伺服器", + "bootstrap-servers-required": "啟動伺服器為必填項。", + "poll-interval": "輪詢間隔", + "poll-interval-required": "輪詢間隔為必填項。", + "poll-interval-min-value": "輪詢間隔不得小於 1", + "auto-create-topics": "自動建立主題", + "clean-session": "清除工作階段", + "enable-ssl": "啟用 SSL", + "credentials": "認證資訊", + "credentials-type": "認證類型", + "credentials-type-required": "認證類型為必填項。", + "username": "使用者名稱", + "username-required": "使用者名稱為必填項。", + "password": "密碼", + "password-required": "密碼為必填項。", + "destination-shared-secret": "目的地共用密碼", + "destination-shared-secret-required": "目的地共用密碼為必填項。", + "customer-id": "客戶識別碼", + "api-id": "API 識別碼", + "azure-ca-cert": "CA 憑證檔案", + "ca-cert": "CA 憑證檔案", + "private-key": "私密金鑰檔案", + "private-key-password": "私密金鑰密碼", + "cert": "憑證檔案", + "no-file": "尚未選取檔案。", + "drop-file": "拖放檔案,或按一下以選取要上傳的檔案。", + "drop-file-or": "拖放檔案,或", + "check-connection": "檢查連線", + "check-success": "已建立連線。", + "topic-filters": "主題篩選器", + "remove-topic-filter": "移除主題篩選器", + "add-topic-filter": "新增主題篩選器", + "add-topic-filter-prompt": "請新增主題篩選器", + "topic": "主題", + "mqtt-qos": "QoS", + "mqtt-qos-required": "QoS 為必填項。", + "mqtt-qos-range": "QoS 值必須介於 0 到 2 之間", + "mqtt-qos-at-most-once": "最多一次", + "mqtt-qos-at-least-once": "至少一次", + "mqtt-qos-exactly-once": "恰好一次", + "downlink-topic-pattern": "下行主題模式", + "downlink-topic-pattern-required": "下行主題模式為必填項。", + "retained-message": "保留訊息", + "aws-access-key-id": "AWS 存取金鑰識別碼", + "aws-secret-access-key": "AWS 私密存取金鑰", + "aws-region": "區域", + "aws-iot-endpoint": "AWS IoT 端點", + "aws-iot-endpoint-required": "AWS IoT 端點為必填項。", + "aws-iot-credentials": "AWS IoT 認證資訊", + "aws-sqs-polling-period-in-seconds": "輪詢週期(秒)", + "aws-sqs-queue-url": "SQS 佇列 URL", + "aws-sqs-queue-url-required": "SQS 佇列 URL 為必填項。", + "aws-sqs-access-key-id-required": "存取金鑰識別碼為必填項。", + "aws-sqs-secret-access-key-required": "私密存取金鑰為必填項。", + "application-credentials": "應用程式認證資訊", + "api-key": "API 金鑰", + "api-key-required": "API 金鑰為必填項。", + "api-key-format": "API 金鑰格式無效。", + "auth-token": "驗證權杖", + "auth-token-required": "驗證權杖為必填項。", + "region": "區域", + "region-required": "區域為必填項。", + "application-id": "應用程式識別碼", + "application-id-required": "應用程式識別碼為必填項。", + "access-id": "存取識別碼", + "access-id-required": "存取識別碼為必填項。", + "access-key": "存取金鑰", + "access-key-required": "存取金鑰為必填項。", + "access-key-min-length": "存取金鑰太短。", + "access-key-max-length": "存取金鑰太長。", + "connection-parameters": "連線參數", + "service-bus-namespace-name": "Service Bus 命名空間名稱", + "service-bus-namespace-name-required": "Service Bus 命名空間名稱為必填項。", + "connection-string": "連接字串", + "consumer-group": "取用者群組", + "connection-string-required": "連接字串為必填項。", + "event-hub-name": "Event Hub 名稱", + "event-hub-name-required": "Event Hub 名稱為必填項。", + "event-iot-hub-name-required": "使用下行訊息時,IoT Hub 名稱為必填項。", + "enable-persistent-checkpoints": "啟用持久化檢查點", + "enable-persistent-checkpoints-hint": "啟用 Azure Blob 儲存體,以便重新啟動後從上次的檢查點繼續處理。停用時,一律從最新事件開始處理。", + "storage-connection-string": "儲存體連接字串", + "storage-connection-string-required": "儲存體連接字串為必填項。", + "container-name": "容器名稱", + "container-name-required": "容器名稱為必填項。", + "sas-key-name": "SAS 金鑰名稱", + "sas-key-name-required": "SAS 金鑰名稱為必填項。", + "sas-key": "SAS 金鑰", + "sas-key-required": "SAS 金鑰為必填項。", + "iot-hub-name": "IoT Hub 名稱", + "hostname": "主機名稱", + "hostname-required": "主機名稱為必填項。", + "integration-clazz": "整合類別", + "integration-clazz-required": "整合類別為必填項。", + "integration-configuration": "整合 JSON 設定", + "metadata": "詮釋資料", + "type": "整合類型", + "select-integration-type": "選取整合類型", + "type-required": "整合類型為必填項。", + "type-not-found": "找不到整合類型", + "uplink-converter": "上行資料轉換器", + "uplink-converter-required": "上行資料轉換器為必填項。", + "downlink-converter": "下行資料轉換器", + "type-http": "HTTP", + "type-http-description": "傳輸文字或多媒體檔案的通訊協定。", + "type-ocean-connect": "OceanConnect", + "type-ocean-connect-description": "將具備不同功能的裝置與 IoT 平台整合。", + "type-sigfox": "SigFox", + "type-sigfox-description": "處理少量資料傳輸的輕量級通訊協定。", + "type-thingpark": "ThingPark", + "type-thingpark-description": "ThingPark 是 Actility 提供的 IoT 連線平台。", + "type-loriot": "Loriot", + "type-loriot-description": "分散式 LoRaWAN 基礎架構。", + "type-thingpark-enterprise": "ThingParkEnterprise", + "type-thingpark-enterprise-description": "LPWA 網路訊息平台。", + "type-tmobile-iot-cdp": "iotcreators.com (T-Mobile – IoT CDP)", + "type-tmobile-iot-cdp-description": "行動 IoT 連線服務。", + "type-mqtt": "MQTT", + "type-mqtt-description": "機器對機器的網路通訊協定。", + "type-aws-iot": "AWS IoT", + "type-aws-iot-description": "管理、儲存及分析服務。", + "type-aws-sqs": "AWS SQS", + "type-aws-sqs-description": "全受控的訊息佇列服務。", + "type-aws-kinesis": "AWS Kinesis", + "type-aws-kinesis-description": "即時視訊與資料串流服務。", + "type-ttn": "The Things Stack Community", + "type-ttn-description": "開放且去中心化的 LoRaWAN 網路。", + "type-tti": "The Things Stack Industries", + "type-tti-description": "大規模營運私有 LoRaWAN 網路的軟體。", + "type-things-stack": "The Things Stack", + "type-chirpstack": "ChirpStack", + "type-chirpstack-description": "LoRaWAN 網路設定伺服器。", + "type-particle": "Particle", + "type-particle-description": "支援 IoT 的平台即服務。", + "type-kpn": "KPN Things", + "type-kpn-description": "KPN 提供的 IoT 平台,為 IoT 裝置提供連線與資料管理解決方案。", + "type-azure-event-hub": "Azure Event Hub", + "type-azure-event-hub-description": "巨量資料串流平台與事件擷取服務。", + "type-azure-iot-hub": "Azure IoT Hub", + "type-azure-iot-hub-description": "雲端託管的訊息服務。", + "type-opc-ua": "OPC-UA", + "type-opc-ua-description": "在感測器與雲端應用程式之間交換資料的跨平台通訊協定。", + "type-custom": "自訂", + "type-coap": "CoAP", + "type-coap-description": "供資源受限裝置使用的機器對機器網路通訊協定。", + "type-udp": "UDP", + "type-udp-description": "以訊息為導向的傳輸層通訊協定。", + "type-tcp": "TCP", + "type-tcp-description": "以連線為導向的通訊協定。", + "type-kafka": "Kafka", + "type-kafka-description": "用於串流分析與資料整合的串流平台。", + "type-rabbitmq": "RabbitMQ", + "type-rabbitmq-description": "支援多種訊息通訊協定的訊息代理。", + "type-pubsub": "Pub/Sub", + "type-pubsub-description": "在應用程式之間非同步傳遞訊息的服務。", + "type-apache-pulsar": "Apache Pulsar", + "type-apache-pulsar-description": "分散式發佈/訂閱訊息與串流平台。", + "type-tuya": "Tuya", + "type-tuya-description": "雲端託管的訊息與裝置平台。", + "type-azure-service-bus": "Azure Service Bus", + "type-azure-service-bus-description": "全受控的企業訊息代理,提供訊息佇列與發佈/訂閱主題。", + "opc-ua-application-name": "應用程式名稱", + "opc-ua-application-uri": "應用程式 URI", + "opc-ua-scan-period-in-seconds": "掃描週期(秒)", + "opc-ua-scan-period-in-seconds-required": "掃描週期為必填項。", + "opc-ua-timeout": "逾時(毫秒)", + "opc-ua-timeout-required": "逾時為必填項。", + "opc-ua-security": "安全性", + "opc-ua-security-required": "安全性為必填項。", + "opc-ua-identity": "身分識別", + "opc-ua-identity-required": "身分識別為必填項。", + "opc-ua-keystore": "金鑰儲存區", + "add-opc-ua-keystore-prompt": "請新增金鑰儲存區檔案", + "opc-ua-keystore-required": "金鑰儲存區為必填項。", + "opc-ua-type": "類型", + "opc-ua-keystore-type": "類型", + "opc-ua-keystore-type-required": "類型為必填項。", + "opc-ua-keystore-location": "位置 *", + "opc-ua-keystore-password": "密碼", + "opc-ua-keystore-password-required": "密碼為必填項。", + "opc-ua-keystore-alias": "別名", + "opc-ua-keystore-alias-required": "別名為必填項。", + "opc-ua-keystore-key-password": "金鑰密碼", + "opc-ua-keystore-key-password-required": "金鑰密碼為必填項。", + "opc-ua-mapping": "對應", + "add-opc-ua-mapping-prompt": "請新增對應", + "opc-ua-mapping-type": "對應類型", + "opc-ua-mapping-type-required": "對應類型為必填項。", + "opc-ua-device-node-pattern": "裝置節點模式", + "opc-ua-device-node-pattern-required": "裝置節點模式為必填項。", + "opc-ua-namespace": "命名空間", + "opc-ua-add-map": "新增對應項目", + "kinesis-stream-name": "串流名稱", + "kinesis-stream-name-required": "串流名稱為必填項。", + "kinesis-region": "區域", + "kinesis-region-required": "區域為必填項。", + "kinesis-access-key-id": "存取金鑰識別碼", + "kinesis-access-key-id-required": "存取金鑰識別碼為必填項。", + "kinesis-secret-access-key": "私密存取金鑰", + "kinesis-secret-access-key-required": "私密存取金鑰為必填項。", + "kinesis-use-consumers-with-enhanced-fan-out": "使用具備增強型扇出功能的取用者", + "kinesis-use-credentials-from-instance-metadata": "使用 Amazon EC2 執行個體詮釋資料服務提供的認證資訊", + "kinesis-application-name": "應用程式名稱(預設與串流名稱相同)", + "kinesis-initial-position-in-stream": "串流中的起始位置", + "kinesis-initial-position-in-stream-required": "串流中的起始位置為必填項。", + "kinesis-max-records": "記錄數上限", + "kinesis-max-records-required": "記錄數上限為必填項。", + "kinesis-max-records-length-range": "記錄數上限必須介於 1 到 10000 之間", + "kinesis-request-timeout": "請求逾時(秒)", + "kinesis-request-timeout-required": "請求逾時為必填項。", + "other-properties": "其他屬性", + "subscription-tags": "訂閱標籤", + "remove-subscription-tag": "移除訂閱標籤", + "add-subscription-tag": "新增訂閱標籤", + "add-subscription-tag-prompt": "請新增訂閱標籤", + "key": "鍵", + "path": "路徑", + "required": "必填", + "integration-key": "整合金鑰", + "copy-integration-key": "複製整合金鑰", + "integration-key-copied-message": "已將整合金鑰複製到剪貼簿", + "integration-secret": "整合密碼", + "copy-integration-secret": "複製整合密碼", + "integration-secret-copied-message": "已將整合密碼複製到剪貼簿", + "execute-remotely": "遠端執行", + "remote": "遠端", + "handler-configuration": "處理常式設定", + "handler-configuration-type": "處理常式類型", + "so-broadcast": "啟用廣播,整合將接受傳送至廣播位址的封包", + "so-keepalive-option": "在連線導向的通訊端上啟用保持連線訊息", + "so-reuse-addr": "將處理程序繫結至連接埠", + "tcp-no-delay": "強制通訊端直接傳送資料,不使用緩衝(停用 Nagle 緩衝演算法)", + "fail-fast": "解碼器偵測到訊框長度將超過上限時,立即擲回例外狀況", + "strip-delimiter": "移除分隔符號", + "length-field-offset": "長度欄位位移", + "length-field-offset-required": "長度欄位位移為必填項。", + "length-field-offset-range": "長度欄位位移必須介於 0 到 8 之間。", + "length-field-length": "長度欄位長度", + "length-field-length-required": "長度欄位長度為必填項。", + "length-field-length-range": "長度欄位長度必須介於 0 到 8 之間。", + "length-adjustment": "長度調整值(加到長度欄位值的補償值)", + "length-adjustment-required": "長度調整值為必填項。", + "length-adjustment-range": "長度調整值必須介於 0 到 8 之間。", + "byte-order": "長度欄位的位元組順序", + "initial-bytes-to-strip": "從已解碼訊框開頭移除的位元組數", + "initial-bytes-to-strip-required": "從已解碼訊框開頭移除的位元組數為必填項。", + "initial-bytes-to-strip-range": "從已解碼訊框開頭移除的位元組數必須介於 0 到 8 之間。", + "so-backlog-option": "通訊端待處理連線數上限", + "so-backlog-option-required": "通訊端待處理連線數上限為必填項。", + "so-backlog-option-range": "通訊端待處理連線數上限必須介於 1 到 65535 之間。", + "so-rcv-buf": "通訊端接收緩衝區大小(KB)", + "so-rcv-buf-required": "通訊端接收緩衝區大小為必填項。", + "so-rcv-buf-range": "通訊端接收緩衝區大小必須介於 1 到 65535 KB 之間。", + "so-snd-buf": "通訊端傳送緩衝區大小(KB)", + "so-snd-buf-required": "通訊端傳送緩衝區大小為必填項。", + "so-snd-buf-range": "通訊端傳送緩衝區大小必須介於 1 到 65535 KB 之間。", + "charset-name": "字元集名稱", + "charset-name-required": "字元集名稱為必填項。", + "message-separator": "訊息分隔符號", + "message-separator-required": "訊息分隔符號為必填項。", + "message-separator-type": "訊息分隔符號類型", + "separator": "分隔符號", + "separator-required": "分隔符號為必填項。", + "character-sequence": "字元序列", + "character-sequence-required": "字元序列為必填項。", + "max-frame-length": "訊框長度上限(位元組)", + "max-frame-length-required": "訊框長度上限為必填項。", + "max-frame-length-range": "訊框長度上限必須介於 1 到 65535 個位元組之間。", + "handler-type": "處理常式類型", + "message-size": "訊息大小", + "message-size-required": "訊息大小為必填項。", + "service-url": "服務 URL", + "service-url-required": "服務 URL 為必填項。", + "subscription-name": "訂閱名稱", + "subscription-name-required": "訂閱名稱為必填項。", + "max-num-messages": "訊息數上限", + "max-num-messages-required": "訊息數上限為必填項。", + "max-num-bytes": "位元組數上限", + "max-num-bytes-required": "位元組數上限為必填項。", + "model": "型號", + "select-model": "選取型號", + "model-not-found": "找不到型號", + "model-required": "型號為必填項。", + "model-not-valid": "請從下拉式清單選取型號。", + "vendor": "供應商", + "select-vendor": "選取供應商", + "vendor-not-found": "找不到供應商", + "vendor-required": "供應商為必填項。", + "vendor-not-valid": "請從下拉式清單選取供應商。", + "library": "程式庫", + "timeout-in-ms": "逾時(毫秒)", + "timeout-in-ms-required": "逾時為必填項。", + "user-id": "使用者識別碼", + "user-id-required": "使用者識別碼為必填項。", + "token": "權杖", + "token-required": "權杖為必填項。", + "project-id": "專案識別碼", + "project-id-required": "專案識別碼為必填項。", + "subscription-id": "訂閱識別碼", + "subscription-id-required": "訂閱識別碼為必填項。", + "service-account-key": "服務帳戶金鑰檔案", + "service-account-key-required": "服務帳戶金鑰檔案為必填項。", + "tcp": { + "system-line-separator": "系統換行符號", + "nul-delimiter": "NUL 分隔符號", + "custom-separator": "自訂分隔符號", + "byte-order-little-endian": "小端序", + "byte-order-big-endian": "大端序" + }, + "cache-size": "快取大小", + "cache-time-to-live": "快取存留時間(分鐘)", + "min-cache-size": "快取大小不得小於 0", + "min-cache-time-to-live": "快取存留時間不得小於 0", + "max-cache-time-to-live": "快取存留時間無效,請輸入 0 到 525600 分鐘之間的值", + "coap-security-mode": "安全性模式", + "coap-security-mode-required": "CoAP 安全性模式為必填項。", + "coap-security-mode-no-secure": "不加密", + "coap-security-mode-dtls": "DTLS", + "coap-security-mode-mixed": "混合", + "coap-endpoint": "CoAP 端點 URL", + "coap-endpoint-url-copied-message": "已將 CoAP 端點 URL 複製到剪貼簿", + "copy-coap-endpoint-url": "複製 CoAP 端點 URL", + "copy-coap-dtls-endpoint-url": "複製 CoAP DTLS 端點 URL", + "coap-dtls-base-url": "DTLS 基底 URL", + "coap-dtls-base-url-required": "DTLS 基底 URL 為必填項。", + "coap-dtls-endpoint": "CoAP DTLS 端點 URL", + "coap-dtls-endpoint-url-copied-message": "已將 CoAP DTLS 端點 URL 複製到剪貼簿", + "unassign-integration-title": "確定要取消指派整合「{{integrationName}}」嗎?", + "unassign-integration-from-edge-text": "確認後將取消指派此整合,Edge 將無法存取。", + "unassign-integrations-from-edge-title": "確定要取消指派 { count, plural, =1 {1 個整合} other {# 個整合} }嗎?", + "unassign-integrations-from-edge-text": "確認後將取消指派所有選取的整合,Edge 將無法存取。", + "unassign-integrations": "取消指派整合", + "edge-placeholder-hint": "您可以使用預留位置 ${{ATTRIBUTE_KEY}},以指定 Edge 實體的屬性值取代整合欄位。例如,「Edge A」有一個「baseUrl」屬性,值為「http://localhost:9999」。您可以在整合欄位中填入 ${{baseUrl}},將此整合指派給「Edge A」時,欄位值就會替換成「http://localhost:9999」。之後若「Edge A」的「baseUrl」屬性更新,平台也會自動將使用新值的整合佈建至「Edge A」。", + "status": { + "status": "狀態", + "active": "作用中", + "disabled": "已停用", + "failed": "失敗", + "pending": "待處理" + }, + "daily-activity": "每日活動", + "enable-debug-mode": "啟用偵錯模式", + "disable-debug-mode": "停用偵錯模式", + "advanced-settings": "進階設定", + "basic-settings": "基本設定", + "existing-converter": "選取現有項目", + "new-converter": "建立新項目", + "connection": "連線", + "connected": "已連線", + "not-connected": "未連線", + "environment": "環境", + "environment-required": "環境為必填項。", + "region-cn": "中國", + "region-us": "美國", + "region-eu": "歐洲", + "region-in": "印度", + "topic-name": "主題名稱", + "topic-name-required": "主題名稱為必填項。", + "sub-name": "訂閱名稱", + "sub-name-required": "訂閱名稱為必填項。", + "downlink-connection-string": "下行連接字串", + "downlink-connection-string-required": "下行連接字串為必填項。", + "downlink-topic-name": "下行主題名稱", + "downlink-topic-name-required": "下行主題名稱為必填項。" + }, + "agent": { + "agents": "代理程式", + "agent-profiles": "代理程式設定檔", + "app-profiles": "應用程式設定檔", + "templates": "範本", + "agent-templates": "代理程式範本", + "add": "新增代理程式", + "add-agent-text": "新增代理程式", + "auto-provision": "自動佈建", + "auto-provision-title": "自動佈建代理程式", + "auto-provision-step-select": "代理程式設定檔", + "auto-provision-step-script": "佈建指令碼", + "auto-provision-valid": "可以開始佈建:「{{profile}}」已啟用佈建功能。", + "auto-provision-info-title": "運作方式", + "auto-provision-info-body": "建立代理程式設定檔後,系統會產生 Docker run 命令。在目標機器上執行時,ThingsBoard 會使用命令內的認證資訊自動建立代理程式,並依照代理程式設定檔自動設定,無須手動建立。", + "auto-provision-success-message": "代理程式設定檔已就緒。在任一目標機器上執行此命令,即可佈建新的代理程式。", + "auto-provision-script-hint": "請在每台要執行代理程式的機器上執行此命令。每次執行都會佈建一個代理程式。", + "add-profile": "新增代理程式設定檔", + "add-app-profile": "新增應用程式設定檔", + "add-application": "新增應用程式", + "agent-details": "代理程式詳細資料", + "profile-details": "代理程式設定檔詳細資料", + "app-profile-details": "應用程式設定檔詳細資料", + "template-details": "代理程式範本詳細資料", + "application-details": "應用程式詳細資料", + "no-agents-text": "找不到代理程式", + "no-agent-profiles-text": "找不到代理程式設定檔", + "no-app-profiles-text": "找不到應用程式設定檔", + "no-templates-text": "找不到代理程式範本", + "no-applications-text": "找不到應用程式", + "no-events-text": "找不到事件", + "search": "搜尋代理程式", + "search-profiles": "搜尋代理程式設定檔", + "search-app-profiles": "搜尋應用程式設定檔", + "search-templates": "搜尋範本", + "search-applications": "搜尋應用程式", + "search-events": "搜尋事件", + "selected-agents": "已選擇 { count, plural, =1 {1 個代理程式} other {# 個代理程式} }", + "selected-agent-profiles": "已選擇 { count, plural, =1 {1 個代理程式設定檔} other {# 個代理程式設定檔} }", + "selected-app-profiles": "已選擇 { count, plural, =1 {1 個應用程式設定檔} other {# 個應用程式設定檔} }", + "selected-applications": "已選擇 { count, plural, =1 {1 個應用程式} other {# 個應用程式} }", + "name": "名稱", + "name-required": "名稱為必填項。", + "name-max-length": "名稱應少於 256 個字元", + "routing-key": "路由金鑰", + "secret": "密碼", + "description": "描述", + "profile-name": "設定檔名稱", + "profile-name-placeholder": "正式環境代理程式", + "profile-name-required": "設定檔名稱為必填項。", + "provision-type": "佈建類型", + "provision-key": "佈建金鑰", + "provision-secret": "佈建密碼", + "app-type": "應用程式類型", + "current-version": "目前版本", + "next-version": "下一個版本", + "assigned-to-customer": "已指派給客戶", + "assign-to-customer": "指派給客戶", + "unassign-from-customer": "從客戶取消指派", + "assign-agents-to-customer": "將代理程式指派給客戶", + "assign-to-customer-text": "請選擇要指派代理程式的客戶", + "unassign-agents-from-customer": "從客戶取消指派代理程式", + "delete": "刪除代理程式", + "delete-profile": "刪除設定檔", + "set-default-profile": "將代理程式設定檔設為預設", + "set-default-profile-title": "確定要將代理程式設定檔「{{profileName}}」設為預設嗎?", + "set-default-profile-text": "確認後,此代理程式設定檔將標記為預設,供未指定設定檔的新代理程式使用。", + "default-profile": "預設", + "agent-profile-required": "代理程式設定檔為必填項。", + "edit-profile": "編輯代理程式設定檔", + "no-agent-profiles-found": "找不到代理程式設定檔", + "no-agent-profiles-matching": "找不到符合「{{entity}}」的代理程式設定檔", + "create-new-agent-profile": "建立新的代理程式設定檔", + "add-profile-step-details": "設定檔詳細資料", + "add-profile-step-app-profiles": "應用程式設定檔", + "add-profile-app-profiles-hint-title": "為何要指派應用程式設定檔?", + "add-profile-app-profiles-hint": "指派的應用程式設定檔可用於批次更新、升級或刪除參照這些設定檔的應用程式;這些應用程式由使用「{{profileName}}」設定檔的代理程式管理。請選擇現有的應用程式設定檔,或直接在此建立新的設定檔。", + "application-profiles": "應用程式設定檔", + "create-new-application-profile": "建立新的應用程式設定檔", + "create-new": "建立新的項目", + "delete-app-profile": "刪除應用程式設定檔", + "copy-profile-id": "複製設定檔識別碼", + "profile-id-copied-message": "設定檔識別碼已複製到剪貼簿", + "app-profile-wizard-title": "建立應用程式設定檔", + "app-profile-wizard-edit-title": "更新應用程式設定檔", + "app-update-current-config": "目前的應用程式設定", + "app-update-future-config": "更新後的應用程式設定", + "app-update-edit-profile": "更新設定檔", + "app-update-compare-hint": "以唯讀方式比較此應用程式目前的設定(左側),以及即將從指派的設定檔取得、已合併認證資訊的設定(右側)。", + "app-install-custom-config": "進階", + "app-install-from-profile": "預設", + "deploy-via-agent": "代理程式", + "deploy-via-agent-desc": "ThingsBoard 代理程式會從雲端遠端安裝、升級及監控此部署,無須在目標機器上手動執行 Docker 命令或進行維護。", + "deploy-select-agent-step": "選擇代理程式", + "deploy-intro": "使用 ThingsBoard 代理程式部署到遠端機器。請選擇目標機器上執行中的現有代理程式,或建立新的代理程式。", + "deploy-agent": "代理程式", + "deploy-create-new": "建立新的項目", + "deploy-no-agents": "找不到代理程式", + "deploy-no-agents-matching": "找不到符合「{{entity}}」的代理程式", + "deploy-already-managed": "此實體已由代理程式應用程式「{{name}}」管理。", + "deploy-open-agent": "前往代理程式", + "deploy-open-app": "前往代理程式應用程式", + "deploy-install-step": "安裝", + "deploy-status-hero": "ThingsBoard 代理程式正在從雲端遠端安裝、升級及監控此部署,無須在目標機器上手動執行 Docker 命令或進行維護。", + "deploy-status-online-title": "您的代理程式已上線", + "deploy-status-offline-title": "您的代理程式已離線", + "deploy-status-managing": "正在管理此部署。您無須在此進行其他操作。", + "deploy-status-managing-for": "已管理此部署 {{duration}}。您無須在此進行其他操作。", + "deploy-status-offline-desc": "目前無法連線。代理程式重新連線後,連線將自動恢復。", + "deploy-status-duration-days": "{{count}} 天", + "deploy-status-duration-hours": "{{count}} 小時", + "deploy-status-duration-minutes": "{{count}} 分鐘", + "deploy-status-healthy": "正常", + "deploy-status-unhealthy": "離線", + "deploy-status-need-reinstall": "需要重新安裝嗎?", + "deploy-status-show-install": "顯示安裝命令", + "deploy-status-hide-install": "隱藏", + "deploy-status-card-agent-title": "代理程式", + "deploy-status-card-agent-desc": "管理此部署的代理程式裝置,可查看其遙測資料及生命週期。", + "deploy-status-card-app-title": "代理程式應用程式", + "deploy-status-card-app-desc": "此代理程式執行中的應用程式,可查看其服務、狀態及記錄。", + "deploy-status-card-events-title": "代理程式事件", + "deploy-status-card-events-desc": "即時顯示安裝、升級、重新啟動及錯誤事件。", + "deploy-status-edge-ui-title": "開啟 ThingsBoard Edge 介面", + "deploy-status-edge-ui-desc": "Edge 服務啟動後,請透過 http://localhost:8080 開啟 Edge 網頁介面;若您在上一步修改了 HTTP 繫結連接埠設定,則使用 http://localhost:18080。請使用本機 ThingsBoard Server 或 ThingsBoard Cloud 的租戶認證資訊登入。", + "app-install-select-profile": "應用程式設定檔", + "app-install-no-profiles": "找不到應用程式設定檔", + "app-install-virtual-profile-badge": "預先定義", + "app-install-virtual-profile-hint": "此設定檔尚不存在。選取時,系統會自動根據範本建立。", + "app-install-profile-materialize-failed": "無法建立預先定義的應用程式設定檔。", + "quick-start-title": "快速入門:預先定義的設定檔", + "quick-start-subtitle": "按一下即可建立預先設定好的 Edge 或閘道器設定檔,無須進行設定。", + "quick-start-filter-all": "全部", + "quick-start-all-created": "所有預先定義的設定檔都已建立。", + "quick-start-no-match": "沒有符合此篩選條件的預先定義設定檔。", + "quick-start-profile-created": "已建立應用程式設定檔「{{profileName}}」", + "add-profile-assignments-load-failed": "無法載入目前指派的應用程式設定檔。儲存時將保留現有的指派關係。", + "app-profile-wizard-cta": "建立設定檔", + "app-profile-wizard-confirm-info": "系統將使用選取的範本與 Compose 設定建立應用程式設定檔。您之後可在設定檔詳細資料頁面修改。", + "app-profile-name": "設定檔名稱", + "app-profile-name-placeholder-edge": "Silo Edge 應用程式設定檔", + "app-profile-name-placeholder-gateway": "Silo 閘道器應用程式設定檔", + "app-profile-name-placeholder-generic": "Silo 應用程式設定檔", + "app-profile-step-save": "儲存設定檔", + "app-profile-description": "描述", + "copy-id": "複製代理程式識別碼", + "copy-routing-key": "複製路由金鑰", + "copy-secret": "複製密碼", + "copy-provision-key": "複製佈建金鑰", + "copy-provision-secret": "複製佈建密碼", + "id-copied-message": "代理程式識別碼已複製到剪貼簿", + "routing-key-copied-message": "路由金鑰已複製到剪貼簿", + "secret-copied-message": "密碼已複製到剪貼簿", + "provision-key-copied-message": "佈建金鑰已複製到剪貼簿", + "provision-secret-copied-message": "佈建密碼已複製到剪貼簿", + "delete-agent-title": "確定要刪除代理程式「{{agentName}}」嗎?", + "delete-agent-text": "請注意,確認後代理程式及所有相關資料將無法恢復。", + "delete-agents-title": "確定要刪除 { count, plural, =1 {1 個代理程式} other {# 個代理程式} }嗎?", + "delete-agents-text": "請注意,確認後所有選取的代理程式將被移除,所有相關資料將無法恢復。", + "unassign-agent-title": "確定要取消指派代理程式「{{agentName}}」嗎?", + "unassign-agent-text": "確認後,代理程式將被取消指派,客戶將無法存取。", + "unassign-agents-title": "確定要取消指派 { count, plural, =1 {1 個代理程式} other {# 個代理程式} }嗎?", + "unassign-agents-text": "確認後,所有選取的代理程式將被取消指派,客戶將無法存取。", + "delete-profile-title": "確定要刪除設定檔「{{profileName}}」嗎?", + "delete-profile-text": "請注意,確認後設定檔及所有相關資料將無法恢復。", + "delete-profiles-title": "確定要刪除 { count, plural, =1 {1 個設定檔} other {# 個設定檔} }嗎?", + "delete-profiles-text": "請注意,確認後所有選取的設定檔將被移除,所有相關資料將無法恢復。", + "delete-app-profile-title": "確定要刪除應用程式設定檔「{{profileName}}」嗎?", + "delete-app-profile-text": "請注意,確認後應用程式設定檔及所有相關資料將無法恢復。", + "delete-app-profiles-title": "確定要刪除 { count, plural, =1 {1 個應用程式設定檔} other {# 個應用程式設定檔} }嗎?", + "delete-app-profiles-text": "請注意,確認後所有選取的應用程式設定檔將被移除,所有相關資料將無法恢復。", + "status": "狀態", + "online": "上線", + "offline": "離線", + "app-errors": "錯誤", + "app-errors-recent": "最近 {{count}} 個錯誤事件:", + "app-errors-open-events": "按一下以開啟事件分頁", + "online-hint": "代理程式目前已連線到平台", + "offline-hint": "代理程式未連線到平台", + "agent-profile": "代理程式設定檔", + "no-profile": "無設定檔", + "applications": "應用程式", + "manage-applications": "管理應用程式", + "app-name": "名稱", + "app-template": "範本", + "app-units": "單元", + "app-origin": "來源", + "app-profile-in-sync": "與應用程式設定檔同步", + "app-profile-in-sync-yes": "與應用程式設定檔同步", + "app-profile-in-sync-no": "與應用程式設定檔不同步", + "app-profile-in-sync-na": "未指派應用程式設定檔", + "app-upgrade-to": "升級至 {{version}}", + "app-restart": "重新啟動", + "app-upgrade": "升級", + "app-delete": "刪除", + "app-update": "更新", + "app-update-title": "要更新「{{name}}」嗎?", + "app-update-text": "將已儲存的設定推送至代理程式。代理程式將使用最新儲存的 Compose 設定重新部署。", + "app-version-upgrade-available-title": "有可用的升級", + "app-version-mismatch-title": "範本版本不符", + "app-assign-upgrade-available-text": "設定檔「{{profileName}}」使用範本版本 {{profileVersion}},但此應用程式使用的是 {{appVersion}}。此應用程式可升級至 {{profileVersion}}。直接指派設定檔會切換至 {{profileVersion}},但不會執行升級步驟(例如資料庫升級指令碼)。請使用「升級」操作以安全地切換版本。", + "app-assign-version-mismatch-text": "設定檔「{{profileName}}」使用範本版本 {{profileVersion}},但此應用程式使用的是版本 {{appVersion}}。指派此設定檔會將應用程式切換至 {{profileVersion}},但不會執行任何升級或降級步驟,可能導致狀態不一致。請使用「升級」操作以安全地切換版本。", + "app-assign-anyway": "仍要指派", + "app-assign-upgrade-first": "先升級", + "app-update-drift-title": "指派的設定檔版本不同", + "app-update-drift-text": "指派的設定檔「{{profileName}}」使用範本版本 {{profileVersion}},但此應用程式使用的是 {{appVersion}}。「更新」會以應用程式目前的設定重新部署,不會套用設定檔中的設定。請使用「升級」操作以切換至 {{profileVersion}}。", + "app-update-anyway": "仍要更新", + "app-profile-drifted-hint": "設定檔使用範本版本 {{version}}。「更新」不會套用此版本,請使用「升級」。", + "app-arguments-profile-managed-hint": "自訂參數由指派的應用程式設定檔管理。請在設定檔頁面編輯。", + "app-current-version": "目前版本", + "app-profile-version": "設定檔版本", + "app-name-required": "應用程式名稱為必填項。", + "app-compose": "Docker Compose 設定", + "arguments": "自訂參數", + "arguments-hint-prefix": "預留位置會在部署時解析。在 Compose 設定中可使用以下格式參照:", + "arguments-empty": "尚未定義自訂參數。", + "arguments-empty-read-title": "尚未定義自訂參數", + "arguments-empty-read-hint": "部署時將直接使用 Compose 設定中的原始值。", + "arguments-empty-write-title": "尚無自訂參數", + "arguments-empty-write-hint": "新增預留位置,以便在部署時將實體屬性或遙測值插入 Compose 設定。", + "argument-settings": "參數設定", + "argument-add": "新增參數", + "argument-remove": "移除參數", + "argument-name": "名稱", + "argument-name-required": "參數名稱為必填項。", + "argument-name-pattern": "僅允許英文字母、數字及底線。", + "argument-name-duplicate": "參數名稱已被使用。", + "argument-referenced-as": "在 Docker Compose 設定中可使用以下格式參照:", + "argument-source": "來源類型", + "argument-target-entity": "目標實體", + "argument-source-agent": "代理程式", + "argument-source-owner": "所有者", + "argument-source-related-entity": "關聯實體", + "argument-source-tenant": "目前租戶", + "argument-source-device": "裝置", + "argument-source-asset": "資產", + "argument-source-customer": "客戶", + "argument-source-edge": "Edge", + "argument-source-entity-device": "裝置", + "argument-source-entity-asset": "資產", + "argument-source-entity-customer": "客戶", + "argument-source-entity-edge": "Edge", + "argument-value-type": "值類型", + "argument-value-type-attribute": "屬性", + "argument-value-type-latest-telemetry": "最新遙測資料", + "argument-scope": "屬性範圍", + "argument-type-server-attribute": "伺服器屬性", + "argument-type-shared-attribute": "共享屬性", + "argument-type-client-attribute": "用戶端屬性", + "argument-key": "鍵", + "argument-attribute-key": "屬性鍵", + "argument-telemetry-key": "最新遙測鍵", + "argument-key-required": "鍵為必填項。", + "argument-default-value": "預設值", + "argument-format": "值格式", + "argument-format-string": "文字", + "argument-format-json": "JSON", + "argument-format-hint-json": "「JSON」會直接插入陣列、物件或數字,但僅適用於預留位置佔據完整值的情況。", + "argument-format-hint-embedded": "若預留位置內嵌於字串中,此選項將被忽略,值一律以加上引號的文字插入。", + "argument-format-hint-text": "「文字」一律插入加上引號的字串。", + "app-compose-creds-overridden-hint": "Compose 設定中的認證欄位由關聯實體管理,儲存時會被覆寫。若要變更,請重新指派實體。", + "app-profile-compose-creds-hint": "Compose 設定中的認證欄位由關聯實體管理,儲存時會被覆寫。若要變更,請在建立或編輯應用程式時指派實體。", + "app-related-entity": "關聯實體", + "app-related-entity-none": "找不到符合的實體", + "app-related-entity-none-create": "找不到符合的實體。請使用「建立新的項目」按鈕建立。", + "app-related-entity-required": "Edge 與閘道器應用程式必須指定關聯實體。", + "app-step-applied-stage-hint": "此處的變更會在代理程式的「{{stage}}」階段套用。", + "app-restart-title": "要重新啟動「{{name}}」嗎?", + "app-restart-text": "代理程式將重新執行應用程式的啟動步驟,並保留現有資料與設定。", + "app-assign-compare-title": "指派應用程式設定檔", + "app-assign-compare-hint": "指派設定檔「{{profileName}}」將取代「{{appName}}」的 Compose 設定。請檢閱上方變更後確認。", + "app-assign-compare-cta": "指派設定檔", + "app-upgrade-title": "升級應用程式", + "app-upgrade-step1": "檢閱變更", + "app-upgrade-step2": "設定並確認", + "app-upgrade-heading": "正在升級「{{name}}」:{{from}} → {{to}}", + "app-upgrade-template-new": "範本({{version}}):新版本", + "app-upgrade-current": "您的 Compose 設定(已自動合併新映像的目前設定)", + "app-upgrade-diff-hint": "左右並排比較:左側顯示新的原始範本,右側顯示已自動合併新映像的目前 Compose 設定。請先檢閱差異再繼續。", + "app-upgrade-steps-list": "將執行的升級步驟:", + "app-upgrade-backup-volumes-hint": "選擇升級前要備份的磁碟區。若升級失敗,系統可使用備份自動回復。", + "app-upgrade-no-volumes": "在 Compose 設定中找不到磁碟區。", + "app-upgrade-summary-versions": "升級", + "app-upgrade-summary-volumes-label": "要備份的磁碟區", + "app-upgrade-summary-volumes": "已選擇 { count, plural, =1 {1 個} other {# 個} }", + "app-upgrade-rollback-info": "若任何步驟失敗,代理程式將使用備份的磁碟區自動回復至先前版本。", + "app-upgrade-cta": "升級", + "app-upgrade-loading": "正在載入範本…", + "app-upgrade-no-template": "應用程式未設定範本,無法升級。", + "app-upgrade-no-next-version": "沒有更新的範本版本可用。", + "app-upgrade-load-failed": "無法載入升級範本。", + "app-upgrade-merge-failed": "無法計算升級預覽。", + "app-compose-invalid-yaml": "Docker Compose 設定不是有效的 YAML。請先修正再儲存。", + "app-profile-saved-title": "應用程式設定檔已儲存", + "app-profile-saved-propagation-text": "已指派給此設定檔的應用程式不會自動更新。若要套用變更,請在代理程式設定檔頁面執行批次更新或升級,或前往各應用程式頁面逐一更新。", + "app-upgrade-profile-step": "升級設定檔", + "app-upgrade-profile-loading": "正在載入設定檔…", + "app-upgrade-profile-name": "設定檔", + "app-upgrade-profile-current": "設定檔的 Compose 設定(已自動合併新映像的目前設定)", + "app-upgrade-profile-hint": "此應用程式關聯的設定檔仍使用先前的範本版本。請先升級設定檔,讓應用程式能採用新設定。", + "app-upgrade-profile-cta": "升級設定檔", + "app-profile-load-failed": "無法載入應用程式設定檔。", + "app-install-title": "安裝應用程式", + "app-install-on-agent": "在代理程式「{{name}}」上", + "app-install-pick-type": "選擇要在此代理程式上部署的內容。", + "app-install-step1": "選擇類型", + "app-install-step3": "檢閱與自訂", + "app-install-step4": "儲存應用程式", + "app-install-type-generic": "通用", + "app-install-type-generic-desc": "部署任意 Docker Compose 應用程式", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "部署 ThingsBoard Edge", + "app-install-type-gateway": "閘道器", + "app-install-type-gateway-desc": "部署 ThingsBoard Gateway", + "app-install-name": "應用程式名稱", + "app-install-yaml": "Docker Compose 設定", + "app-compose-template-select": "Compose 範本", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "混合式", + "compose-type-in-memory": "記憶體內", + "app-install-diff-template": "範本:唯讀", + "app-install-diff-editable": "您的 Compose 設定:可編輯,將會儲存", + "app-install-diff-hint": "左側顯示原始 Compose 範本。請在右側編輯以符合需求;只有右側內容會被儲存。", + "app-diff-sync-scroll": "同步捲動兩個窗格", + "app-diff-read-only": "唯讀", + "app-install-cred-title": "認證資訊", + "app-install-cred-hint": "使用設定檔時,只有這些欄位可編輯。編輯結果會寫回下方的 Compose 預覽。", + "app-install-cred-routing-key": "路由金鑰", + "app-install-cred-routing-secret": "路由密碼", + "app-install-cred-security-type": "安全性類型", + "app-install-cred-security-access-token": "存取權杖", + "app-install-cred-security-username-password": "使用者名稱/密碼", + "app-install-cred-access-token": "存取權杖", + "app-install-cred-client-id": "用戶端識別碼", + "app-install-cred-username": "使用者名稱", + "app-install-cred-password": "密碼", + "app-install-pull-images": "啟動前提取映像", + "app-image-pull-policy-if-not-present": "不存在時", + "app-image-pull-policy-always": "一律", + "app-install-cta": "儲存", + "app-update-wizard-title": "更新應用程式", + "app-update-cta": "更新", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "建議設定(已合併範本):唯讀", + "app-update-diff-current": "目前的 Compose 設定:可編輯,將會儲存", + "app-update-diff-hint": "請檢閱左側的建議變更。使用窗格之間的箭頭,將選取的區塊合併至右側目前的 Compose 設定。只有右側內容會被儲存。", + "app-update-cred-hint": "由設定檔管理的應用程式在此僅提供認證欄位。其他 Compose 變更需透過設定檔進行。", + "app-profile-outdated-hint": "設定檔中的設定已過期。請執行「更新」以重新擷取。", + "app-project-name": "專案名稱", + "app-update-skip-profile-refetch": "略過重新擷取設定檔中的設定", + "app-update-skip-profile-refetch-hint": "勾選後,代理程式應用程式會保留目前的 Compose 設定,僅套用上方的認證資訊。可用於輪替認證資訊,或在上方提取原則設為「一律」時重新提取最新映像,而不套用設定檔中的新設定。", + "app-update-skip-profile-refetch-drift-hint": "指派的設定檔使用範本版本 {{version}},「更新」不會套用其中的設定。應用程式將保留目前的 Compose 設定,僅套用上方的認證資訊。請使用「升級」以切換版本。", + "app-install-confirm-info": "代理程式將下載並啟動容器。您可以在「事件」分頁監控進度。", + "app-install-loading-template": "正在載入範本…", + "app-install-template-failed": "無法載入應用程式範本。", + "app-install-merge-failed": "無法計算合併預覽。", + "app-delete-title-header": "刪除應用程式", + "app-delete-warning": "確定要刪除「{{name}}」嗎?此操作將停止並移除遠端機器上的所有容器。", + "app-delete-remove-volumes": "同時移除磁碟區", + "app-delete-remove-volumes-hint": "警告:此操作將永久刪除應用程式磁碟區中儲存的所有資料。", + "app-delete-no-volumes": "在 Compose 設定中找不到磁碟區。", + "app-delete-cta": "刪除", + "agents-count": "代理程式", + "profiles-count": "設定檔", + "template": "範本", + "previous-version": "先前版本", + "config-type": "設定類型", + "install-instructions": "安裝說明", + "install-instructions-hint": "在目標機器上執行下列命令以啟動代理程式。代理程式會連線到 ThingsBoard 伺服器,並顯示為「上線」。", + "install-instructions-replace-hint": "代理程式連線後,會在代理程式清單中顯示為「上線」。", + "install-step-docker": "確認目標機器已安裝 Docker", + "install-step-run": "執行代理程式容器", + "install-command-copied-message": "安裝命令已複製到剪貼簿", + "agent-credentials": "代理程式認證資訊", + "agent-created-successfully": "代理程式建立成功", + "go-to-agent": "前往代理程式", + "app-type-generic": "通用", + "app-type-edge": "Edge", + "app-type-gateway": "閘道器", + "preset-setup": "設定", + "preset-edge-gateway": "Edge + 閘道器", + "preset-edge-description": "最新的 Edge 應用程式設定檔", + "preset-gateway-description": "最新的閘道器應用程式設定檔", + "preset-edge-gateway-description": "兩種最新的應用程式設定檔", + "preset-name-edge": "Edge 代理程式設定檔", + "preset-name-gateway": "閘道器代理程式設定檔", + "preset-name-edge-gateway": "Edge + 閘道器代理程式設定檔", + "preset-advanced": "進階", + "preset-advanced-description": "設定佈建策略,並選擇或建立應用程式設定檔", + "preset-advanced-configure": "設定", + "preset-summary-title": "預設組合:{{label}}", + "preset-summary-body": "建立代理程式設定檔,指派「{{apps}}」,並採用「每種類型一個應用程式」佈建策略。", + "preset-summary-apps-two": "{{first}}、{{second}}", + "preset-templates-load-failed": "無法載入以下類型的最新應用程式範本:{{types}}。需要這些範本的預設組合已停用。", + "app-type-required": "應用程式類型為必填項。", + "provision-type-disabled": "停用", + "provision-type-no-auto-install": "僅佈建代理程式", + "provision-type-per-app-type": "每種類型一個應用程式", + "provision-type-per-app-profile": "每個指派的設定檔一個應用程式", + "provisioning-strategy": "佈建策略", + "provisioning-strategy-label": "策略:{{strategy}}", + "provision-type-disabled-description": "代理程式佈建已停用。選擇佈建策略以啟用代理程式自動註冊。啟用後,代理程式可使用共用的佈建金鑰與密碼自行註冊,無須逐一手動建立。", + "provision-type-no-auto-install-description": "使用此設定檔佈建新的代理程式時,伺服器會註冊代理程式,但不會自動安裝任何應用程式。佈建時將忽略指派的應用程式設定檔;您可以在代理程式上手動安裝應用程式。", + "provision-type-per-app-type-description": "使用此設定檔佈建新的代理程式時,伺服器會依照指派的應用程式設定檔自動建立應用程式。Edge 或閘道器應用程式僅在代理程式尚未具有該類型的應用程式時才會安裝(每個代理程式的每種類型最多一個);通用應用程式則依設定檔比對(每個代理程式的每個設定檔各一個)。例如,指派兩個 Edge 設定檔與兩個通用設定檔時,代理程式會取得一個 Edge 應用程式及兩個通用應用程式。若應用程式類型需要關聯實體(例如 Edge 或閘道器),伺服器會嘗試建立並指派。", + "provision-type-per-app-profile-description": "使用此設定檔佈建新的代理程式時,伺服器會依照指派的應用程式設定檔自動建立應用程式。僅在代理程式尚未具有符合的應用程式時才會安裝:Edge 或閘道器應用程式依範本或來源設定檔比對(每個代理程式的每個範本各一個);通用應用程式則依設定檔比對(每個代理程式的每個設定檔各一個)。例如,指派兩個 Edge 設定檔時,若兩者使用不同範本,代理程式會取得兩個 Edge 應用程式;若使用相同範本,則只會取得一個。若應用程式類型需要關聯實體(例如 Edge 或閘道器),伺服器會嘗試建立並指派。", + "agent-profile-created": "代理程式設定檔已建立", + "agent-profile-created-hint": "請在每台要部署代理程式的機器上執行此命令。每個代理程式都會:", + "agent-profile-created-step-1": "使用佈建認證資訊向伺服器自動註冊", + "agent-profile-created-step-2": "取得唯一的路由金鑰與密碼,以建立持續連線", + "agent-profile-created-step-3": "自動安裝指派的應用程式設定檔中定義的應用程式", + "provisioning-credentials": "佈建認證資訊", + "provisioning": "代理程式佈建", + "docker-run-command": "Docker run 命令", + "assigned-profiles": "應用程式設定檔", + "assign-profile": "指派設定檔", + "unassign-profile": "取消指派設定檔", + "no-profiles-assigned": "尚未將任何應用程式設定檔指派給此設定檔。", + "go-to-profile": "前往設定檔", + "profiles-bulk-hint": "此批次操作適用於符合「{{appProfile}}」設定檔,且由使用「{{agentProfile}}」設定檔的代理程式管理的所有應用程式", + "auto-install-template-dedup-note": "此代理程式設定檔的佈建策略已啟用自動安裝。代理程式自動佈建時,下列每個設定檔僅在代理程式尚未具有符合的應用程式時才會安裝。Edge 或閘道器設定檔依範本或來源設定檔比對(每個代理程式的每個範本各一個);通用設定檔則依設定檔比對(每個代理程式的每個設定檔各一個應用程式)。", + "auto-install-per-type-note": "此代理程式設定檔的佈建策略已啟用自動安裝。代理程式自動佈建時,下列 Edge 或閘道器設定檔僅在代理程式尚未具有該類型的應用程式時才會安裝(每個代理程式的每種類型最多一個);通用設定檔則依設定檔比對(每個代理程式的每個設定檔各一個應用程式)。", + "app-profile": "應用程式設定檔", + "no-profiles-available": "沒有其他可指派的設定檔。", + "unassign-profile-confirm": "確定要從此代理程式設定檔取消指派應用程式設定檔「{{profile}}」嗎?", + "relate-on-auto-discovery": "自動探索時建立關聯", + "relate-on-auto-discovery-tooltip": "將此應用程式設定檔指派給所有新自動探索到且 Edge 或閘道器映像符合的應用程式。", + "relate-on-auto-discovery-confirm-title": "確定要繼續嗎?", + "relate-on-auto-discovery-enable-confirm": "新自動探索到的應用程式若使用的 Edge 或閘道器映像符合「{{profile}}」的範本,將自動獲指派此應用程式設定檔。若設定不一致,設定檔中的 Compose 設定將覆寫自動探索到的應用程式 Compose 設定。", + "relate-on-auto-discovery-disable-confirm": "新自動探索到且符合「{{profile}}」範本的應用程式將不再自動獲指派此應用程式設定檔。現有指派不受影響。", + "provisioning-saved": "佈建設定已儲存", + "bulk-actions": "批次操作", + "assigned-applications": "已指派的應用程式", + "application-profiles-and-bulk-actions": "應用程式設定檔與批次操作", + "recent-bulk-actions": "最近的批次操作", + "no-recent-bulk-actions": "此應用程式設定檔尚無批次操作。", + "executions": "執行紀錄", + "view-bulk-action-details": "開啟完整詳細資料", + "agents-reporting-success": "{{ok}}/{{total}} 個代理程式回報成功", + "bulk-action-type": "操作", + "bulk-action-status": "狀態", + "bulk-action-counts": "已提交", + "bulk-action-error": "錯誤", + "bulk-action-details": "批次操作詳細資料", + "bulk-restart": "批次重新啟動", + "bulk-update": "批次更新", + "bulk-upgrade": "批次升級", + "bulk-delete": "批次刪除", + "bulk-restart-title": "批次重新啟動:{{profile}}", + "bulk-update-title": "批次更新:{{profile}}", + "bulk-upgrade-title": "批次升級:{{profile}}", + "bulk-delete-title": "批次刪除:{{profile}}", + "bulk-action-title": "批次操作", + "bulk-restart-cta": "全部重新啟動", + "bulk-update-cta": "全部更新", + "bulk-upgrade-cta": "全部升級", + "bulk-delete-cta": "全部刪除", + "bulk-preview": "預覽", + "bulk-preview-total": "應用程式總數", + "bulk-preview-eligible": "符合條件", + "bulk-preview-skipped": "已略過", + "bulk-skipped-version-mismatch": "已略過:範本版本不符", + "bulk-skipped-active-event": "已略過:已有其他操作正在執行", + "bulk-skipped-rate-limit": "已略過:超過事件速率限制", + "bulk-skipped-error": "已略過:評估應用程式時發生錯誤", + "bulk-skipped-more": "…另有 {{count}} 個,請查看執行詳細資料", + "bulk-no-eligible": "沒有符合此操作條件的應用程式。", + "bulk-backup-volumes-hint": "選擇升級前要備份的磁碟區。輸入的設定將套用至每個符合條件的應用程式。", + "bulk-no-volumes-in-profile": "設定檔的 Compose 設定中沒有磁碟區。", + "bulk-submitted": "已提交", + "bulk-skipped": "已略過", + "bulk-processing-started": "已開始處理", + "bulk-events": "事件", + "bulk-event-current-step": "目前步驟", + "bulk-event-updated": "更新時間", + "bulk-event-filter-status": "狀態", + "bulk-event-filter-all": "全部", + "bulk-no-events": "找不到此批次操作的事件。", + "no-bulk-actions": "尚無批次操作。", + "origin-installed": "已安裝", + "origin-discovered": "已探索", + "origin-auto-provisioned": "已自動佈建", + "event-action-install": "安裝", + "event-action-update": "更新", + "event-action-delete": "刪除", + "event-action-restart": "重新啟動", + "event-action-rollback": "回復", + "event-action-upgrade": "升級", + "event-action-agent-upgrade": "代理程式升級", + "event-status-pending": "待處理", + "event-status-queued": "已排入佇列", + "event-status-processing": "處理中", + "event-status-finished": "已完成", + "event-status-error": "錯誤", + "event-status-start-failed": "啟動失敗", + "bulk-status-queued": "已排入佇列", + "bulk-status-in-progress": "進行中", + "bulk-status-started": "已開始", + "bulk-status-start-failed": "啟動失敗", + "unit-type-container": "容器", + "unit-type-volume": "磁碟區", + "unit-type-network": "網路", + "app-events": "事件", + "app-metrics": "指標", + "app-copy-id": "複製應用程式識別碼", + "app-id-copied-message": "應用程式識別碼已複製到剪貼簿", + "app-upgrade-available": "有可用的升級:{{version}}", + "app-unit-identifier": "識別碼", + "app-unit-image": "映像", + "app-unit-state": "狀態", + "app-unit-filter": "單元篩選器", + "app-unit-filter-with-values": "篩選條件:{{values}}", + "app-unit-logs": "容器記錄", + "app-unit-view-logs": "檢視容器記錄", + "filter-all-count": "全部({{count}})", + "filter-errors-count": "錯誤({{count}})", + "filter-running-count": "執行中({{count}})", + "log-agent-offline-paused": "代理程式離線 · 串流已暫停", + "log-agent-online": "代理程式上線", + "log-back-to-application": "返回應用程式", + "log-buffered": "另有 {{count}} 行已暫存", + "log-chip-app": "應用程式", + "log-clear": "清除記錄", + "log-clear-highlight": "清除醒目提示", + "log-copy-all": "全部複製", + "log-copy-all-lines": "複製所有記錄行", + "log-download": "下載記錄", + "log-dropped": "已捨棄 {{count}} 行", + "log-dropped-hint": "記錄傳送至此檢視器前,代理程式所捨棄的行數", + "log-dropped-total": "捨棄的總行數", + "log-follow-latest": "追蹤最新記錄", + "log-gap": "已捨棄 { count, plural, =1 {1 個記錄區塊} other {# 個記錄區塊} }(已達緩衝區上限)", + "log-highlight": "醒目提示…", + "log-highlight-lines": "醒目提示記錄行", + "log-jump-to-latest": "跳至最新記錄", + "log-lines-unit": "{ count, plural, =1 {行} other {行} }", + "log-live": "即時", + "log-pause-resume-stream": "暫停或繼續串流", + "log-pause-stream": "暫停串流", + "log-paused": "已暫停", + "log-resume-stream": "繼續串流", + "log-stream-paused": "串流已暫停", + "log-waiting": "正在等待記錄行…", + "metrics-all-containers": "所有容器", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{percent}}%,共 {{cores}} 個核心(上限 {{cap}}%)", + "metrics-disk": "磁碟", + "metrics-memory": "記憶體", + "metrics-show-charts": "顯示圖表", + "metrics-updated-at": "更新時間:{{time}}", + "metrics-used-of-total": "已使用 {{used}},總計 {{total}}({{percent}}%)", + "metrics-volumes": "磁碟區", + "stats-done": "已完成 {{count}} 個", + "stats-error": "錯誤 {{count}} 個", + "stats-pending": "待處理 {{count}} 個", + "stats-running": "執行中 {{count}} 個", + "app-no-units": "找不到單元。", + "app-no-events": "找不到事件。", + "app-event-app-name": "應用程式", + "app-event-agent-name": "代理程式", + "app-event-action": "操作", + "app-event-status": "執行狀態", + "app-event-execution": "執行", + "app-event-execution-not-started": "尚未開始", + "app-event-execution-started": "已開始", + "app-event-execution-delivery-failed": "傳遞失敗", + "app-event-filter": "事件篩選器", + "app-event-filter-with-values": "篩選條件:{{values}}", + "app-event-current-activity": "目前活動", + "app-event-show-error": "顯示錯誤", + "app-event-error-title": "事件錯誤", + "upgrade-agent-action": "升級代理程式", + "image": "映像", + "version-unknown": "未回報", + "up-to-date": "已是最新版本", + "upgrade-to": "升級至 {{version}}", + "upgrade-agent-title": "升級代理程式", + "upgrade-agent-text": "代理程式「{{agentName}}」將以下方映像取代自己的容器。升級期間仍可連線,但應用程式命令會暫停,直到升級完成。", + "upgrade-agent-hint": "已發布較新的代理程式映像", + "upgrade-agent-hint-unavailable": "目前沒有已知的較新代理程式映像;代理程式可能已是最新版本,或無法判斷其版本", + "upgrade-current-image": "目前映像", + "upgrade-target-image": "目標映像", + "upgrade-target-image-hint": "標籤或使用摘要固定版本的映像參照,例如 thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "目標映像為必填項。", + "agent-upgrade-subject": "代理程式升級", + "agent-upgrade-subject-label": "操作", + "agent-upgrade-step-prepare": "準備替代容器", + "agent-upgrade-step-finalize": "完成交接並移除先前的容器", + "app-event-progress-title": "事件進度", + "app-event-progress-loading": "正在載入範本...", + "app-event-progress-load-failed": "無法載入事件進度。", + "app-event-progress-no-template": "此應用程式未關聯範本。", + "app-event-step-completed": "已完成", + "app-event-step-processing": "處理中", + "app-event-step-error": "失敗", + "app-event-step-waiting": "等待中", + "app-event-current-step": "目前步驟", + "app-event-created": "建立時間", + "app-event-updated": "更新時間", + "app-event-cancel": "取消", + "app-event-cancel-title": "要取消事件嗎?", + "app-event-cancel-text": "代理程式上進行中的事件將被取消。", + "app-event-view-in-events": "在事件中檢視", + "app-save-update-hint-title": "變更已儲存", + "app-save-update-hint": "變更已儲存至 ThingsBoard,但代理程式仍使用先前的設定執行。請按一下此應用程式的「更新」操作按鈕,將變更套用至代理程式。", + "app-save-update-hint-action": "立即更新", + "app-deleted": "應用程式已刪除", + "group": "代理程式群組", + "list-of-groups": "{ count, plural, =1 {1 個代理程式群組} other {# 個代理程式群組的清單} }", + "group-name-starts-with": "名稱以「{{prefix}}」開頭的代理程式群組", + "application-group": "應用程式群組", + "list-of-application-groups": "{ count, plural, =1 {1 個應用程式群組} other {# 個應用程式群組的清單} }", + "application-group-name-starts-with": "名稱以「{{prefix}}」開頭的應用程式群組", + "all": "全部", + "all-agents": "所有代理程式", + "groups": "群組", + "shared": "共用" + }, + "scheduler": { + "scheduler": "排程器", + "scheduler-event": "排程事件", + "select-scheduler-event": "選擇排程事件", + "no-scheduler-events-matching": "找不到符合「{{entity}}」的排程事件。", + "scheduler-event-required": "排程事件為必填項", + "management": "排程管理", + "scheduler-events": "排程事件", + "add-scheduler-event": "新增排程事件", + "search-scheduler-events": "搜尋排程事件", + "created-time": "建立時間", + "name": "名稱", + "name-required": "名稱為必填項", + "name-max-length": "名稱必須少於 256 個字元", + "type": "類型", + "created_customer": "由客戶建立", + "edit-scheduler-event": "編輯排程事件", + "view-scheduler-event": "檢視排程事件", + "delete-scheduler-event": "刪除排程事件", + "no-scheduler-events": "找不到排程事件", + "selected-scheduler-events": "已選擇 { count, plural, =1 {1 個排程事件} other {# 個排程事件} }", + "delete-scheduler-event-title": "確定要刪除排程事件「{{schedulerEventName}}」嗎?", + "delete-scheduler-event-text": "請注意,確認後此排程事件及所有相關資料將無法復原。", + "delete-scheduler-events-title": "確定要刪除 { count, plural, =1 {1 個排程事件} other {# 個排程事件} }嗎?", + "delete-scheduler-events-text": "請注意,確認後會移除所有選取的排程事件,且所有相關資料將無法復原。", + "create": "新增排程事件", + "edit": "編輯排程事件", + "view": "檢視排程事件", + "configuration": "設定", + "schedule": "排程", + "start-time": "開始時間", + "repeat": "重複", + "repeats": "重複頻率", + "daily": "每天", + "every-n-days": "每 N 天", + "every-n-days-text": "{ days, plural, =1 {每天} other {每 # 天} }", + "weekly": "每週", + "every-n-weeks": "每 N 週", + "every-n-weeks-text": "{ weeks, plural, =1 {每週} other {每 # 週} }", + "monthly": "每月", + "yearly": "每年", + "timer": "依計時器", + "repeats-required": "重複頻率為必填項。", + "repeat-on": "重複日期", + "repeat-every": "重複間隔", + "repeat-every-n-days": "每 N 天重複", + "repeat-days-required": "重複間隔天數為必填項。", + "invalid-repeat-days-value": "重複間隔天數必須為正整數。", + "repeat-every-n-weeks": "每 N 週重複", + "repeat-weeks-required": "重複間隔週數為必填項。", + "invalid-repeat-weeks-value": "重複間隔週數必須為正整數。", + "ends-on": "結束日期", + "sunday-label": "日", + "monday-label": "一", + "tuesday-label": "二", + "wednesday-label": "三", + "thursday-label": "四", + "friday-label": "五", + "saturday-label": "六", + "repeat-on-sunday": "每週日重複", + "repeat-on-monday": "每週一重複", + "repeat-on-tuesday": "每週二重複", + "repeat-on-wednesday": "每週三重複", + "repeat-on-thursday": "每週四重複", + "repeat-on-friday": "每週五重複", + "repeat-on-saturday": "每週六重複", + "event-type": "事件類型", + "select-event-type": "選擇事件類型", + "event-type-required": "事件類型為必填項。", + "event-type-max-length": "事件類型必須少於 256 個字元。", + "list-mode": "清單檢視", + "calendar-mode": "行事曆檢視", + "calendar-view-type": "行事曆檢視類型", + "month": "月", + "week": "週", + "day": "日", + "agenda-week": "週議程", + "agenda-day": "日議程", + "list-year": "年清單", + "list-month": "月清單", + "list-week": "週清單", + "list-day": "日清單", + "today": "今天", + "navigate-before": "上一個", + "navigate-next": "下一個", + "starting-from": "開始日期:", + "until": "截至", + "on": "於", + "sunday": "星期日", + "monday": "星期一", + "tuesday": "星期二", + "wednesday": "星期三", + "thursday": "星期四", + "friday": "星期五", + "saturday": "星期六", + "originator": "發起者", + "single-entity": "單一實體", + "group-entities": "實體群組", + "entities-group-owner": "實體群組所有者", + "devices-group-owner": "裝置群組所有者", + "message-body": "訊息本文", + "target": "目標", + "rpc-method": "方法", + "rpc-method-required": "方法為必填項", + "rpc-method-white-space": "不可包含空白字元。", + "rpc-params": "參數", + "select-dashboard-state": "選擇儀表板狀態", + "hours": "小時", + "minutes": "分鐘", + "seconds": "秒", + "time-interval-required": "時間間隔為必填項", + "time-unit-required": "時間單位為必填項", + "every-hour": "{ count, plural, =1 {每小時} other {每 # 小時} }", + "every-minute": "{ count, plural, =1 {每分鐘} other {每 # 分鐘} }", + "every-second": "{ count, plural, =1 {每秒} other {每 # 秒} }", + "invalid-time": "時間無效", + "rpc-request-timeout": "RPC 請求逾時時間(毫秒)", + "rpc-request-persistent": "RPC 請求持久化", + "rpc-request-oneway-command": "單向 RPC 請求", + "rpc-value-min-error": "值必須大於或等於 {{min}} 毫秒。", + "set": "設定", + "rpc-settings": "RPC 設定", + "enabled": "啟用排程器", + "enable": "啟用", + "disable": "停用" + }, + "report": { + "general-report-settings": "一般報表設定", + "target-dashboard": "目標儀表板", + "email-config": "電子郵件設定", + "dashboard-state-param": "儀表板狀態參數值", + "base-url": "基底 URL", + "base-url-required": "基底 URL 為必填項。", + "use-dashboard-timewindow": "使用儀表板時間視窗", + "use-dashboard-timewindow-description": "啟用後,產生報表時會使用目標儀表板設定的時間視窗。", + "timewindow": "時間視窗", + "name-pattern": "報表名稱模式", + "name-pattern-required": "報表名稱模式為必填項", + "type": "報表類型", + "customer-user-credentials": "客戶使用者認證資訊", + "customer-user-credentials-required": "客戶使用者認證資訊為必填項", + "generate-test-report": "產生測試報表", + "send-email": "傳送電子郵件", + "from": "寄件者", + "from-required": "寄件者為必填項。", + "to": "收件者", + "to-required": "收件者為必填項。", + "cc": "副本", + "bcc": "密件副本", + "cc-description": "副本", + "bcc-description": "密件副本", + "subject": "主旨", + "subject-required": "主旨為必填項。", + "body": "本文", + "body-required": "本文為必填項。", + "credentials": "認證資訊", + "preview-report": "預覽報表", + "current-user": "目前使用者", + "customer-user": "客戶使用者", + "user-credentials-description": "產生報表時,會使用指定使用者的認證資訊開啟儀表板介面。", + "timezone-description": "報表中目標儀表板使用的時區。", + "reporting": "報表", + "templates": "範本", + "report": "報表", + "reports": "報表", + "scheduling": "排程", + "generating-report": "正在產生報表…", + "report-details": "報表詳細資料", + "add": "新增報表", + "no-reports-text": "找不到報表", + "search": "搜尋報表", + "selected-reports": "已選擇 { count, plural, =1 {1 份報表} other {# 份報表} }", + "filter-not-set": "全部", + "delete-report-title": "確定要刪除報表「{{reportName}}」嗎?", + "delete-report-text": "請注意,確認後此報表及所有相關資料將無法復原。", + "delete-reports-title": "確定要刪除 { count, plural, =1 {1 份報表} other {# 份報表} }嗎?", + "delete-reports-text": "請注意,確認後會移除所有選取的報表,且所有相關資料將無法復原。", + "file-name": "檔案名稱", + "format": "格式", + "download": "下載報表", + "report-filter": "報表篩選器", + "no-reports-matching": "找不到符合「{{entity}}」的報表。", + "report-required": "報表為必填項", + "generate-report": "產生報表", + "generate-report-started": "已開始產生報表。若報表未顯示,請重新整理頁面。", + "public-status": "公開存取", + "manage-public-access": "管理公開存取", + "public-status-hint": "啟用後,任何持有報表公開連結的人都能下載報表。", + "public-link-text": "此報表已公開。分享下方連結後,任何持有連結的人都能直接下載報表,無須授權。", + "copy-public-link": "複製連結" + }, + "report-template": { + "report-template": "報表範本", + "report-templates": "報表範本", + "add": "新增報表範本", + "search": "搜尋報表範本", + "template-filter": "範本篩選器", + "sub-report": "子報表", + "no-report-templates-text": "找不到報表範本", + "no-sub-reports-text": "找不到子報表", + "select-report-template": "選擇報表範本", + "open-report-template-new-tab": "在新分頁開啟報表範本", + "select-sub-report": "選擇子報表", + "open-subreport-new-tab": "在新分頁開啟子報表", + "report-template-details": "報表範本詳細資料", + "selected-report-templates": "已選擇 { count, plural, =1 {1 個報表範本} other {# 個報表範本} }", + "type-report": "報表", + "type-sub-report": "子報表", + "no-report-templates-matching": "找不到符合「{{entity}}」的報表範本。", + "no-sub-reports-matching": "找不到符合「{{entity}}」的子報表。", + "report-template-required": "報表範本為必填項", + "sub-report-required": "子報表為必填項", + "delete-report-template-title": "確定要刪除報表範本「{{reportTemplateTitle}}」嗎?", + "delete-report-template-text": "請注意,確認後此報表範本及所有相關資料將無法復原。", + "delete-report-templates-title": "確定要刪除 { count, plural, =1 {1 個報表範本} other {# 個報表範本} }嗎?", + "delete-report-templates-text": "請注意,確認後會移除所有選取的報表範本,且所有相關資料將無法復原。", + "create-new-report-template": "建立新報表範本", + "import": "匯入報表範本", + "export": "匯出報表範本", + "name": "名稱", + "name-required": "報表範本名稱為必填項!", + "name-max-length": "名稱必須少於 256 個字元", + "format": "格式", + "type": "類型", + "description": "說明", + "events": "事件", + "idCopiedMessage": "報表範本識別碼已複製到剪貼簿", + "open-report-template": "開啟報表範本", + "delete": "刪除報表範本", + "copyId": "複製報表範本識別碼", + "settings": "設定", + "report-template-settings": "報表範本設定", + "sub-report-settings": "子報表設定", + "file-name-pattern": "檔案名稱模式", + "file-name-pattern-required": "報表檔案名稱模式為必填項!", + "default-date-format": "預設日期格式", + "report-components": "報表元件", + "search-components": "搜尋元件", + "drop-report-components": "將側邊欄中的報表元件拖放至此處", + "drop-report-component": "將報表元件拖放至此處", + "header": "頁首", + "header-disabled": "頁首已停用", + "first-page-header": "首頁頁首", + "first-page-header-disabled": "首頁頁首已停用", + "footer": "頁尾", + "footer-disabled": "頁尾已停用", + "first-page-footer": "首頁頁尾", + "first-page-footer-disabled": "首頁頁尾已停用", + "content": "內容", + "data": "資料", + "layout": "版面配置", + "common-settings": "通用設定", + "page-settings": "頁面設定", + "paper-size": "紙張大小", + "orientation": "方向", + "orientation-portrait": "直向", + "orientation-landscape": "橫向", + "margins": "邊界", + "paddings": "內邊距", + "left": "左", + "right": "右", + "top": "上", + "bottom": "下", + "background": "背景", + "border": "邊框", + "radius": "圓角", + "insert-update-image": "插入/更新圖片", + "edit-image": "編輯圖片", + "image": "圖片", + "image-size": "圖片大小", + "width": "寬度", + "height": "高度", + "preserve-image-proportions": "保持圖片比例", + "text-style": "文字樣式", + "background-color": "背景顏色", + "alignment": "對齊", + "horizontal": "水平", + "vertical": "垂直", + "dashboard": "儀表板", + "timewindow": "時間視窗", + "export-failed-error": "無法匯出報表範本:{{error}}", + "report-template-file": "報表範本檔案", + "invalid-report-template-file-error": "無法匯入報表範本:報表範本資料結構無效。", + "collapse": "摺疊", + "expand": "展開", + "editor": "編輯器", + "component": { + "group": { + "text-and-images": "文字與圖片", + "data-and-tables": "資料與表格", + "charts": "圖表", + "branding": "品牌識別", + "report-info-and-layout": "報表資訊與版面配置" + }, + "heading": { + "type": "標題", + "text": "文字", + "height": "高度" + }, + "rich-text": { + "type": "格式化文字", + "text": "文字" + }, + "divider": { + "type": "分隔線", + "divider-type": "類型", + "divider-type-long": "長", + "divider-type-short": "短", + "line-type": "線條類型", + "line-type-solid": "實線", + "line-type-dashed": "虛線", + "line-type-dotted": "點線", + "line-width": "線寬" + }, + "page-break": { + "type": "分頁符號" + }, + "table": { + "table-heading": "表格標題", + "column-settings": "欄設定", + "column-width": "欄寬", + "header": "表頭", + "cell": "儲存格", + "sort-by": "排序依據", + "sort-asc": "遞增", + "sort-desc": "遞減", + "sort-none": "無" + }, + "entity-table": { + "type": "實體表格" + }, + "timeseries-table": { + "type": "時間序列表格", + "display-timestamp": "時間戳記", + "timestamp-column-settings": "時間戳記欄設定" + }, + "alarm-table": { + "type": "警報表格" + }, + "time-series-chart": { + "type": "時間序列圖表", + "no-datasource-configured": "尚未為「{{chartType}}」設定資料來源", + "no-series-configured": "請為「{{chartType}}」指定至少一個系列" + }, + "latest-chart": { + "no-datasource-configured": "尚未為「{{chartType}}」設定資料來源", + "no-series-configured": "請為「{{chartType}}」指定至少一個系列" + }, + "line-chart": "折線圖", + "bar-chart": "柱狀圖", + "point-chart": "散佈圖", + "state-chart": "狀態圖", + "bar-chart-with-labels": "含標籤的柱狀圖", + "range-chart": "範圍圖", + "bars": "柱狀圖", + "pie": "圓形圖", + "doughnut": "環形圖", + "horizontal-doughnut": "水平環形圖", + "chart": { + "chart-height": "圖表高度", + "chart-width": "圖表寬度", + "chart-alignment": "圖表對齊" + }, + "image": { + "type": "圖片", + "image-source": "圖片來源", + "source-image": "圖片", + "source-entity-key": "實體鍵", + "image-url-key": "圖片 URL 鍵", + "image-width": "圖片寬度", + "width-fit-width": "符合寬度", + "width-original": "原始大小", + "width-custom": "自訂", + "image-alignment": "圖片對齊", + "alignment-left": "靠左", + "alignment-center": "置中", + "alignment-right": "靠右" + }, + "dashboard": { + "type": "儀表板", + "no-dashboard": "尚未選擇儀表板", + "open-dashboard-new-tab": "在新分頁開啟儀表板" + }, + "sub-report": { + "type": "子報表", + "no-sub-report": "尚未選擇子報表", + "avoid-page-break-inside": "避免在內部分頁" + }, + "split-view": { + "type": "分割檢視", + "split-position": "相對分割位置", + "split-gap": "分割間距", + "vertical-alignment": "垂直對齊", + "left": "左", + "right": "右" + }, + "text-section": "文字區塊", + "text-image": "文字 + 圖片", + "image-text": "圖片 + 文字", + "logo-heading": "標誌 + 標題", + "heading-logo": "標題 + 標誌", + "logo-text": "標誌 + 文字", + "text-logo": "文字 + 標誌", + "logo-text-2": "標誌 + 文字 2", + "footer-1": "頁尾 1", + "footer-2": "頁尾 2", + "footer-3": "頁尾 3", + "page-number": "頁碼", + "created-time": "建立時間" + } + }, + "scheduled-report": { + "scheduled-reports": "排程報表", + "name": "名稱", + "schedule": "排程", + "schedule-report": "設定報表排程", + "delete-scheduled-report-title": "確定要刪除報表排程「{{scheduledReportTitle}}」嗎?", + "delete-scheduled-report-text": "請注意,確認後此報表排程及所有相關資料將無法復原。", + "delete-scheduled-reports-title": "確定要刪除 { count, plural, =1 {1 個報表排程} other {# 個報表排程} }嗎?", + "delete-scheduled-reports-text": "請注意,確認後會移除所有選取的報表排程,且所有相關資料將無法復原。", + "edit": "編輯報表排程", + "search": "搜尋排程報表", + "no-scheduled-reports-text": "找不到排程報表", + "selected-scheduled-reports": "已選擇 { count, plural, =1 {1 個報表排程} other {# 個報表排程} }" + }, + "blob-entity": { + "blob-entity": "Blob 實體", + "select-blob-entity": "選擇 Blob 實體", + "no-blob-entities-matching": "找不到符合「{{entity}}」的 Blob 實體。", + "blob-entity-required": "Blob 實體為必填項", + "files": "檔案", + "search": "搜尋檔案", + "clear-search": "清除搜尋", + "no-blob-entities-prompt": "找不到檔案", + "report": "網頁報表", + "created-time": "建立時間", + "name": "名稱", + "type": "類型", + "created_customer": "由客戶建立", + "selected-blob-entities": "已選擇 { count, plural, =1 {1 個檔案} other {# 個檔案} }", + "download-blob-entity": "下載檔案", + "delete-blob-entity": "刪除檔案", + "delete-blob-entity-title": "確定要刪除檔案「{{blobEntityName}}」嗎?", + "delete-blob-entity-text": "請注意,確認後檔案資料將無法復原。", + "delete-blob-entities-title": "確定要刪除 { count, plural, =1 {1 個檔案} other {# 個檔案} }嗎?", + "delete-blob-entities-text": "請注意,確認後會移除所有選取的檔案,且所有相關資料將無法復原。" + }, + "task": { + "add-task-type": "+ 工作類型", + "cancel-anyway": "仍要取消", + "cancel-task": "取消工作", + "cancel-task-calculated-field-reprocessing-text": "已處理的資料會保留,佇列中尚未處理的項目將取消", + "cancel-task-calculated-field-reprocessing-title": "確定要取消重新處理嗎?", + "cancel-task-report-text": "將取消產生報表,且不會建立報表檔案", + "cancel-task-report-title": "確定要取消產生報表嗎?", + "cancel-tasks-text": "確定要取消選取的工作嗎?", + "cancel-tasks-title": "取消 { count, plural, =1 {1 項工作} other {# 項工作} }", + "delete-task-text": "此操作會從清單中移除工作,您的資料會完整保留", + "delete-task-title": "確定要刪除此工作嗎?", + "delete-tasks-text": "確定要刪除選取的工作嗎?", + "delete-tasks-title": "刪除 { count, plural, =1 {1 項工作} other {# 項工作} }", + "discarded": "已捨棄", + "entity": "實體", + "info": "資訊", + "failed": "失敗", + "no-tasks-prompt": "找不到工作", + "parameters": "參數", + "progress": "進度", + "reprocess": "{ count, plural, =0 {重新處理} =1 {重新處理} other {重新處理失敗的實體} }", + "retry": "重試", + "search": "搜尋工作", + "selected-tasks": "已選擇 { count, plural, =1 {1 項工作} other {# 項工作} }", + "selected-tasks-are-finished": "這些工作已完成", + "selected-tasks-are-progress": "這些工作正在執行", + "status": "狀態", + "successful": "成功", + "task-info": "工作資訊", + "task-manager": "工作管理員", + "task-parameters": "工作參數", + "task-status": { + "cancelled": "已取消", + "completed": "已完成", + "failed": "失敗", + "pending": "待處理", + "queued": "已加入佇列", + "running": "執行中" + }, + "task-type": { + "any": "所有類型", + "calculated-field-reprocessing": "重新處理計算欄位", + "report": "產生報表" + }, + "task-filter": "工作篩選器", + "task-filter-params": "篩選條件:{{ filterParams }}", + "tasks-status-list": "工作狀態清單", + "tasks-type-list": "工作類型清單", + "time-taken": "耗時", + "total-entities": "實體總數", + "type": "類型", + "report-generate-successfully": "已成功產生報表", + "report-generate-in-progress": "正在產生報表", + "generate-report-canceled": "已取消產生報表" + }, + "solution-creator": { + "ai-solution-creator": "AI 解決方案建立工具", + "describe-solution-you-want": "描述您想建立的解決方案", + "enter-your-prompt": "輸入您的提示詞", + "target": "目標", + "install-solution": "安裝", + "solution-overview": "解決方案概觀:{{ name }}", + "dashboards-overview": "儀表板概觀:{{ name }}", + "entity-profile": "實體設定檔", + "entity-profiles": "實體設定檔", + "name": "名稱", + "iam": "IAM", + "iam-full": "身分識別與存取管理", + "table-view": "表格", + "schema-view": "結構圖", + "iam-info": "IAM 資訊", + "operation": { + "C": "建立", + "R": "讀取", + "U": "更新", + "D": "刪除" + }, + "alarm-info": "警報資訊", + "description": "說明", + "data": "資料", + "entity-info": "實體資訊", + "calculated-field-info": "計算欄位資訊", + "field-type": "欄位類型", + "scope": "範圍", + "delete-alarm-title": "要刪除此建議的警報嗎?", + "delete-alarm-text": "此警報是依據您的描述所提出的建議,刪除後將不會納入建議的解決方案。
    您隨時可以在之後手動編輯或重新建立警報。此操作無法復原。", + "basic-mode": "基本", + "advanced-mode": "進階", + "create-solution": "建立解決方案", + "go-dashboard-manager": "下一步:設計儀表板", + "success-generate-title": "解決方案已就緒!", + "success-generate-sub-title": "按一下下方按鈕,即可將解決方案安裝至您的帳戶", + "success-generate-install-title": "解決方案已安裝!", + "success-generate-install-sub-title": "若要編輯解決方案,請先解除安裝現有執行個體", + "main-title": "您好!我是您的 AI 助理", + "sub-title": "我可以協助您將需求轉換為功能完整的 IoT 解決方案。\n只要描述您想達成的目標,剩下的交給我處理。", + "solutions": "解決方案", + "new-solution": "新解決方案", + "uninstall-solution": "解除安裝", + "uninstall-solution-dialog-title": "確定要解除安裝「{{ name }}」嗎?", + "uninstall-solution-dialog-text": "所有相關實體與儀表板都將從您的帳戶中刪除", + "uninstall-solution-dialog-confirm": "是,解除安裝", + "delete-solution-title": "確定要刪除「{{ name }}」嗎?", + "delete-solution-text": "您的所有資料都將遺失", + "delete-solution-confirm": "是,刪除", + "copy-solution": "複製解決方案", + "expand-sidebar": "展開側邊欄", + "collapse-sidebar": "摺疊側邊欄", + "solution-id": "解決方案識別碼", + "solution-id-required": "解決方案識別碼為必填項", + "rename-solution-title": "重新命名此解決方案", + "generate-again": "重新產生", + "skip-interview": "略過需求訪談", + "update-solution": "更新解決方案", + "finish-edit": "完成編輯", + "lorawan-tracking": "LoRaWAN 追蹤", + "smart-parking": "智慧停車", + "weather-monitoring": "氣象監測", + "water-metering": "用水計量", + "coffee-machine-monitoring": "咖啡機監測", + "fleet-geofencing": "車隊地理圍欄", + "more-examples": "更多範例", + "hide": "隱藏", + "solution-info": "解決方案資訊", + "solution-info-with-name": "解決方案資訊:{{ name }}", + "status": "狀態", + "only-failures": "僅顯示失敗項目", + "failed-create-entity": "無法建立實體", + "failed-install-entity": "無法安裝實體", + "copy-id": "複製識別碼", + "id-copied-message": "解決方案識別碼已複製到剪貼簿", + "credits": "點數", + "info": "資訊", + "main-dashboard": "主要儀表板", + "view-as": "以「{{ name }}」的身分檢視", + "generated-by-calculated-field-name": "由計算欄位「{{ name }}」產生", + "estimate-wait-time": "預計等待時間約為 {{ time }}", + "analyzing-your-request": "正在分析您的請求…", + "condition": "條件", + "installing": "正在安裝解決方案…", + "step-architecture-design": "架構設計", + "step-dashboard-design": "儀表板設計", + "step-solution-installation": "解決方案安裝", + "step-reading-device-data": "正在讀取裝置資料…", + "step-analyzing-telemetry-attributes": "正在分析遙測與屬性…", + "step-selecting-widgets": "正在為您的資料選擇小工具…", + "step-configuring-titles-units-ranges": "正在設定標題、單位與範圍…", + "step-designing-layout": "正在設計版面配置…", + "step-arranging-widgets": "正在配置儀表板上的小工具…", + "generate-dashboard": "產生儀表板", + "generate-dashboard-with-ai": "使用 AI 產生儀表板", + "no-telemetry-title": "找不到遙測資料", + "no-telemetry-message": "此裝置尚未傳送任何遙測資料。\n請先從裝置傳送遙測資料,再產生儀表板。", + "send-telemetry": "傳送遙測資料", + "step-loading-updating-entities": "正在更新實體…", + "step-loading-restructuring-roles": "正在重新調整角色…", + "step-loading-rebuilding-alarm-rules": "正在重新建立警報規則…", + "step-loading-reassembling-dashboards": "正在重新組合儀表板…", + "step-loading-updating-solution": "正在更新您的解決方案…", + "step-loading-designing-dashboards-structure": "正在設計儀表板結構…", + "step-loading-designing-dashboards-states": "正在設計儀表板狀態…", + "step-loading-designing-widgets": "正在設計小工具…", + "step-loading-adding-finishing-touches": "正在完成最後調整…", + "step-loading-evaluating-solution-changes": "正在評估解決方案變更…", + "step-loading-reevaluating-use-cases": "正在重新評估使用案例…", + "step-loading-finalizing": "正在完成最後步驟…", + "step-loading-creating-entities": "正在建立實體…", + "step-loading-configuring-devices": "正在設定裝置…", + "step-loading-setting-up-relations": "正在設定關聯…", + "step-loading-structuring-access-controls": "正在規劃存取控制…", + "step-loading-building-calculated-fields": "正在建立計算欄位…", + "step-loading-building-alarm-rules": "正在建立警報規則…", + "step-loading-assembling-dashboards": "正在組合儀表板…", + "step-loading-preparing-states": "正在準備狀態…", + "step-loading-initializing-solution": "正在初始化解決方案…", + "ai-credits": "AI 點數", + "ai-credits-update": "更新", + "ai-credits-usage": "AI 點數:已使用 {{ used }},共 {{ max }}", + "ai-credits-description": "本月 AI 點數總額為 {{ max }},已使用 {{ used }}。額度將於 {{ date }} 重設。若要提高 AI 點數額度,請聯絡系統管理員。" + }, + "setup": { + "activate-platform": "啟用 ThingsBoard", + "initial": { + "welcome": "歡迎使用 ThingsBoard {{version}}", + "title": "取得免費授權,開始打造應用", + "desc": "只需幾分鐘,即可在授權入口網站建立帳戶並選擇授權,之後此執行個體便會自動啟用。", + "open-license-portal": "開啟授權入口網站", + "already-have-license": "已經有授權了嗎?", + "free-no-credit-card": "永久免費,無需信用卡。", + "source-available": "原始碼依下列授權提供:" + }, + "waiting": { + "live-eyebrow": "正在等候啟用", + "title": "請在授權入口網站繼續操作", + "desc": "請登入或建立帳戶、選擇授權並接受條款。授權核發後,此執行個體便會自動啟用。", + "nothing-opened": "沒有開啟任何頁面嗎?", + "paste-link-or-scan-qr-code": "請在任何可連上網際網路的裝置上貼上連結文字,或使用手機掃描 QR 碼。", + "text-link": "連結文字", + "qr-code": "QR 碼", + "qr-code-hint": "將手機相機對準 QR 碼,再開啟連結。手機必須能自行連上網際網路。", + "have-key": "已有授權金鑰嗎?", + "activate-key": "使用金鑰啟用授權" + }, + "offline": { + "eyebrow": "離線", + "title": "從其他裝置啟用", + "desc": "此伺服器無法連線至授權入口網站,因此需要兩個步驟:先在可連線的裝置上取得授權,再於此處輸入金鑰。", + "get-your-license": "在入口網站取得授權", + "open-link": "請在任何可連上網際網路的裝置上開啟此連結,登入或建立帳戶、選擇授權並接受條款。入口網站接著會顯示授權金鑰。", + "paste-key": "在此貼上金鑰", + "no-connected-device": "沒有任何可連線的裝置嗎?" + }, + "have-key": { + "title": "使用金鑰啟用授權", + "enter-license-key": "輸入授權金鑰", + "enter-license-key-note": "金鑰位於您的授權入口網站帳戶中:請使用任何裝置登入 {{hostName}},並從該處複製金鑰。", + "no-account": "沒有帳戶,也沒有可連線的裝置嗎?", + "contact-support": "聯絡支援人員" + }, + "key-form": { + "placeholder": "貼上授權金鑰", + "invalid": "此金鑰不適用於此執行個體。請檢查是否遺漏字元,或聯絡支援人員。", + "activate": "啟用", + "activating": "啟用中" + }, + "account": { + "title": "此執行個體已啟用", + "desc": "您的授權已儲存於此伺服器及您的授權入口網站帳戶中。", + "create-sys-admin-account": "建立系統管理員帳戶", + "create-sys-admin-account-hint": "此帳戶用於登入此伺服器,與保存授權的授權入口網站帳戶不同。", + "email-label": "電子郵件", + "email-required": "請輸入電子郵件地址。", + "email-invalid": "請輸入有效的電子郵件地址。", + "password-label": "密碼", + "password-required": "請輸入密碼。", + "password-min-length": "密碼長度至少須為 6 個字元。", + "confirm-label": "確認密碼", + "confirm-required": "請再次輸入密碼。", + "confirm-mismatch": "兩次輸入的密碼不一致。", + "demo-tenant-title": "設定示範租戶", + "demo-tenant-desc": "這是快速了解平台運作的方式。儀表板、裝置與規則鏈均已設定完成,租戶使用者與客戶使用者也已可登入。您也可以使用系統管理員身分,從「租戶」開啟示範租戶。", + "create": "建立帳戶", + "creating": "正在建立帳戶" + }, + "demo-tenant": { + "signed-in-as": "系統管理員帳戶已建立,您目前以 {{email}} 登入。", + "title": "要探索示範租戶嗎?", + "desc": "基本設定已完成,您可以開啟儀表板、變更規則,或連接自己的裝置。", + "dashboards": "儀表板:以以下裝置為基礎建立,小工具繫結已設定完成", + "devices": "裝置:已設定裝置設定檔與警報規則,尚未傳送任何資料", + "rule-chains": "規則鏈:用於判斷是否觸發上述警報", + "explore": "探索示範租戶", + "not-now": "暫時不要", + "not-now-hint": "選擇「暫時不要」會前往系統管理頁面。", + "signing-in-later": "稍後登入", + "demo-tenant-hint": "這是此租戶自己的管理員帳戶。您也可以使用系統管理員身分從「租戶」開啟此租戶,無需密碼。" + }, + "non-production": { + "eyebrow": "需要再次確認", + "title": "請確認此部署仍用於非正式環境。", + "desc": "此執行個體使用免費的非正式環境授權,需要由系統管理員定期再次確認。確認操作不會影響您的資料、使用者或裝置連線。", + "confirm": "確認", + "confirming": "確認中", + "sysadmin-required": "只有系統管理員可以執行此確認。", + "login-as-sysadmin": "以系統管理員身分登入", + "state-verify-failed": "已確認,但無法驗證狀態。請重新整理頁面。", + "state-not-updated": "此執行個體仍顯示尚未確認。請重新整理頁面並再次確認。" + }, + "errors": { + "signin-failed": "帳戶已建立,但自動登入失敗。請重新整理頁面並手動登入。", + "state-not-updated": "設定已完成,但狀態尚未更新。請重新整理頁面。", + "state-verify-failed": "設定已完成,但無法驗證狀態。請重新整理頁面。", + "no-sign-up-url": "此執行個體的回應未包含連結,因此無法開啟頁面。", + "link-expired": "此連結已過期。請重新開啟授權入口網站以取得新連結。", + "activated-state-verify-failed": "此執行個體已取得授權,但尚無法讀取下一個步驟。系統仍在嘗試,您也可以重新整理頁面。", + "no-connection": "無法連線至伺服器。請稍後再試。", + "request-failed": "要求失敗。請再試一次。" + } + }, + "secret-storage": { + "secrets-storage": "機密儲存庫", + "no-found": "找不到機密", + "add": "新增機密", + "search": "搜尋機密", + "list": "{ count, plural, =1 {1 筆機密} other {機密清單(# 筆)} }", + "selected-fields": "已選擇 { count, plural, =1 {1 筆機密} other {# 筆機密} }", + "type": "類型", + "name": "名稱", + "name-required": "請輸入名稱。", + "name-pattern": "機密名稱包含不支援的字元,不得包含「{」、「}」、「;」或控制字元。", + "name-max-length": "名稱長度必須少於 256 個字元。", + "description": "說明", + "edit-description": "編輯說明", + "set-description": "設定說明", + "types": { + "text": "文字", + "file": "檔案" + }, + "value": "值", + "value-required": "請輸入值。", + "delete": "刪除機密", + "delete-secrets": "刪除機密", + "delete-secret-title": "確定要刪除機密「{{secretName}}」嗎?", + "delete-secret-text": "請注意,確認後將無法復原此機密及所有相關資料。", + "delete-secrets-title": "確定要刪除 { count, plural, =1 {1 筆機密} other {# 筆機密} }嗎?", + "delete-secrets-action-title": "刪除 { count, plural, =1 {1 筆機密} other {# 筆機密} }", + "delete-secrets-text": "請注意,確認後將移除所有選取的機密,且無法復原所有相關資料。", + "delete-secrets-in-use-text": "若要刪除此機密,請先從上述實體中移除對它的參照。", + "secrets-is-in-use-text": "此機密目前正由平台中的其他實體使用,必須先移除所有參照才能刪除:", + "secrets-are-in-use-text": "部分機密仍由其他實體使用,因此未能全部刪除。
    您可以點選對應機密列中的參照按鈕,查看參照此機密的實體。
    若要刪除這些機密,請先從使用它們的實體中移除參照。", + "selected-secrets": "已選擇 { count, plural, =1 {1 筆機密} other {# 筆機密} }", + "use-secret-storage": "使用機密儲存庫", + "dialog-title": "新增機密", + "use-storage": "使用儲存庫", + "create": { + "text": "建立機密", + "file": "上傳檔案" + }, + "autocomplete-title": { + "text": "機密", + "text-required": "請選取機密。", + "file": "檔案機密", + "file-required": "請選取檔案機密。" + }, + "used-secret-title": "機密正由其他實體使用", + "no-secrets-matching": "找不到符合「{{entity}}」的機密。", + "no-secrets-found": "找不到機密。", + "use-secret": "使用機密", + "change-value": "變更值", + "action-use": "使用" + }, + "customers-hierarchy": { + "customers-hierarchy": "客戶階層", + "open-nav-tree": "開啟導覽樹狀目錄", + "return-to-top-level": "返回最上層" + }, + "custom-menu": { + "custom-menu": "自訂選單", + "custom-menu-config": "自訂選單設定", + "no-custom-menus-prompt": "找不到自訂選單", + "no-custom-menus-matching": "找不到符合「{{entity}}」的自訂選單。", + "search": "搜尋自訂選單", + "add": "新增自訂選單", + "delete-custom-menu-title": "確定要刪除自訂選單「{{customMenuName}}」嗎?", + "delete-custom-menu-text": "請注意,確認後將無法復原此自訂選單及所有相關資料。", + "name": "名稱", + "name-required": "請輸入名稱", + "edit-name": "編輯名稱", + "scope": "範圍", + "scope-system": "系統", + "scope-tenant": "租戶", + "scope-customer": "客戶", + "assignee-type": "指派對象類型", + "assignee-no-assign": "未指派", + "assignee-customer-all": "所有客戶使用者", + "assignee-customers": "客戶清單", + "assignee-tenant-all": "所有租戶使用者", + "assignee-users": "使用者清單", + "assignee-user-group-names": "使用者群組名稱", + "user-group-name": "使用者群組名稱", + "assign-to": "指派給", + "manage-assignees": "管理自訂選單指派對象", + "manage-config": "管理自訂選單設定", + "show-hidden-items": "顯示隱藏項目", + "delete-custom-menu": "刪除自訂選單", + "delete-custom-menu-user-list-text": "此選單已指派給「使用者清單」。移除此選單後,下列使用者將改用預設選單。", + "delete-custom-menu-customer-list-text": "此選單已指派給「客戶清單」。移除此選單後,下列客戶將改用預設選單。", + "add-custom-menu-item": "新增自訂選單項目", + "add-custom-menu-subitem": "新增自訂選單子項目", + "edit-custom-menu-item": "編輯自訂選單項目", + "edit-custom-menu-subitem": "編輯自訂選單子項目", + "custom-item": "自訂項目", + "menu-item-name": "選單項目名稱", + "menu-item-name-is-required": "請輸入選單項目名稱", + "reset-to-menu-item-defaults": "將選單項目重設為預設值", + "delete-menu-item": "刪除選單項目", + "add-subitem": "新增子項目", + "hide-all-menu-items": "隱藏所有選單項目", + "reset-to-default-menu": "重設為預設選單", + "edit-menu-item": "編輯選單項目", + "edit-home-menu-item": "編輯首頁選單項目", + "visible": "顯示", + "hidden": "隱藏", + "home-page-type": "首頁類型", + "home-menu-item-type-default": "預設", + "home-menu-item-type-dashboard": "儀表板", + "hide-toolbar": "隱藏工具列", + "item-type": "項目類型", + "item-type-link": "連結", + "item-type-section": "區段", + "link": "連結", + "link-type-url": "URL", + "link-type-dashboard": "儀表板", + "url": "URL", + "set-url": "設定 URL", + "set-access-token": "設定存取權杖", + "menu-conflict": "選單衝突", + "menu-conflict-message": "範圍為{{scope}}的預設自訂選單已存在。確定要以您的自訂選單取代嗎?", + "replace": "取代" + }, + "custom-translation": { + "add-new-key": "新增索引鍵", + "add-new-language": "新增語言", + "added-key": "已新增的索引鍵", + "copy-original-text": "複製原文", + "copy-term-key": "複製詞彙索引鍵", + "country": "國家", + "custom-translation": "自訂翻譯", + "customized": "已自訂", + "delete-language-text": "請注意,確認後將無法復原「{{language}}」翻譯及所有相關資料。", + "delete-language-title": "確定要刪除「{{language}}」翻譯嗎?", + "delete-translation": "刪除翻譯", + "download-translation": "下載翻譯", + "drop-json-file": "拖放 JSON 檔案或", + "language": "語言", + "language-required": "請選取語言", + "localization-code": "地區設定代碼", + "no-translation-matching": "找不到符合「{{search}}」的語言。", + "return-default-translation": "還原為預設翻譯", + "search": "搜尋翻譯", + "set": "設定", + "term-key": "詞彙索引鍵", + "translated": "已翻譯", + "translation-file": "翻譯檔案", + "translation-map": "翻譯對照表", + "translation-name": "翻譯:{{ name }}({{ country }})", + "translation-progress": "翻譯進度", + "untranslated": "未翻譯", + "upload-translation-file": "上傳翻譯檔案" + }, + "entity-group": { + "entity-group": "實體群組", + "details": "詳細資料", + "columns": "欄位", + "add-column": "新增欄位", + "column-value": "值", + "column-value-required": "請輸入欄位值。", + "column-title": "標題", + "default-sort-order": "預設排序順序", + "default-sort-order-required": "請選擇預設排序順序。", + "disable-sorting": "停用排序", + "hide-in-mobile-view": "在行動裝置上隱藏", + "use-cell-style-function": "使用儲存格樣式函式", + "use-cell-content-function": "使用儲存格內容函式", + "edit-column": "編輯欄位", + "column-details": "欄位詳細資料", + "actions": "操作", + "settings": "設定", + "search": "搜尋實體群組", + "delete": "刪除實體群組", + "name": "名稱", + "name-required": "請輸入名稱。", + "name-max-length": "名稱長度必須少於 256 個字元", + "description": "說明", + "add": "新增實體群組", + "open-entity-group": "開啟實體群組", + "add-entity-group-text": "新增實體群組", + "no-entity-groups-text": "找不到實體群組", + "entity-group-details": "實體群組詳細資料", + "selected-entity-groups": "已選擇 { count, plural, =1 {1 個實體群組} other {# 個實體群組} }", + "delete-entity-groups": "刪除實體群組", + "delete-entity-group-title": "確定要刪除實體群組「{{entityGroupName}}」嗎?", + "delete-entity-group-text": "請注意,確認後將無法復原此實體群組及所有相關資料。", + "delete-entity-groups-title": "確定要刪除 { count, plural, =1 {1 個實體群組} other {# 個實體群組} }嗎?", + "delete-entity-groups-action-title": "刪除 { count, plural, =1 {1 個實體群組} other {# 個實體群組} }", + "delete-entity-groups-text": "請注意,確認後將移除所有選擇的實體群組,且無法復原所有相關資料。", + "device-groups": "裝置群組", + "shared-device-groups": "共用裝置群組", + "asset-groups": "資產群組", + "shared-asset-groups": "共用資產群組", + "customer-groups": "客戶群組", + "shared-customer-groups": "共用客戶群組", + "device-group": "裝置群組", + "asset-group": "資產群組", + "user-group": "使用者群組", + "user-groups": "使用者群組", + "customer-group": "客戶群組", + "entity-view-groups": "實體檢視群組", + "shared-entity-view-groups": "共用實體檢視群組", + "entity-view-group": "實體檢視群組", + "edge-groups": "Edge 群組", + "shared-edge-groups": "共用 Edge 群組", + "edge-group": "Edge 群組", + "dashboard-groups": "儀表板群組", + "shared-dashboard-groups": "共用儀表板群組", + "dashboard-group": "儀表板群組", + "agent-groups": "代理程式群組", + "shared-agent-groups": "共用代理程式群組", + "agent-group": "代理程式群組", + "fetch-more": "擷取更多", + "column-type": { + "column-type": "欄位類型", + "client-attribute": "用戶端屬性", + "shared-attribute": "共享屬性", + "server-attribute": "伺服器屬性", + "timeseries": "時間序列", + "entity-field": "實體欄位" + }, + "column-type-required": "請選擇欄位類型。", + "entity-field": { + "created-time": "建立時間", + "name": "名稱", + "type": "類型", + "device_profile": "裝置設定檔", + "asset_profile": "資產設定檔", + "assigned_customer": "指派的客戶", + "authority": "權限", + "first_name": "名", + "last_name": "姓", + "email": "電子郵件", + "title": "標題", + "country": "國家", + "state": "州/省", + "city": "城市", + "address": "地址", + "address2": "地址 2", + "zip": "郵遞區號", + "phone": "電話", + "label": "標籤" + }, + "sort-order": { + "asc": "遞增", + "desc": "遞減", + "none": "無" + }, + "details-mode": { + "on-row-click": "按一下資料列時", + "on-action-button-click": "按一下詳細資料按鈕時", + "disabled": "停用" + }, + "change-owner": "變更所有者", + "select-target-owner": "選擇目標所有者", + "no-owners-matching": "找不到符合「{{owner}}」的所有者。", + "no-owners-text": "找不到所有者", + "target-owner-required": "請選擇目標所有者。", + "confirm-change-owner-title": "確定要變更所選 { count, plural, =1 {1 個實體} other {# 個實體} }的所有者嗎?", + "confirm-change-owner-text": "請注意,確認後將從目前所有者移除所有選擇的實體,並移至目標所有者的「全部」群組。", + "add-to-group": "加入群組", + "move-to-group": "移至群組", + "select-entity-group": "選擇實體群組", + "no-entity-groups-matching": "找不到符合「{{entityGroup}}」的實體群組。", + "create-new-entity-group": "建立新群組!", + "target-entity-group-required": "請選擇目標實體群組。", + "select-user-group": "選擇使用者群組", + "no-user-groups-matching": "找不到符合「{{entityGroup}}」的使用者群組。", + "target-user-group-required": "請選擇目標使用者群組。", + "remove-from-group": "從群組移除", + "group-table-title": "群組表格標題", + "enable-search": "啟用實體搜尋", + "enable-add": "啟用新增實體", + "enable-delete": "啟用刪除實體", + "enable-selection": "啟用選擇實體", + "enable-group-transfer": "啟用群組移轉操作", + "display-pagination": "顯示分頁", + "default-page-size": "預設每頁筆數", + "page-step-count": "選項數量", + "page-step-increment": "筆數間隔", + "page-step-count-format-message": "必須是介於 1 到 100 的整數。", + "page-step-increment-format-message": "必須是大於或等於 1 的整數。", + "enable-assignment-actions": "啟用指派操作", + "enable-credentials-management": "啟用認證資訊管理", + "enable-login-as-user": "啟用以使用者身分登入", + "enable-users-management": "啟用使用者管理", + "enable-customers-management": "啟用客戶管理", + "enable-assets-management": "啟用資產管理", + "enable-devices-management": "啟用裝置管理", + "enable-entity-views-management": "啟用實體檢視管理", + "enable-edges-management": "啟用 Edge 管理", + "enable-dashboards-management": "啟用儀表板管理", + "enable-scheduler-events-management": "啟用排程事件管理", + "open-details-on": "開啟實體詳細資料的時機", + "select-existing": "選擇現有實體群組", + "create-new": "建立實體群組", + "new-entity-group-name": "新實體群組名稱", + "entity-group-list": "實體群組清單", + "entity-group-list-empty": "尚未選擇實體群組。", + "name-starts-with": "實體群組名稱開頭", + "entity-group-name-filter-required": "請輸入實體群組名稱篩選條件。", + "roles": "角色", + "permissions": "權限", + "public": "公開", + "entity-group-public": "實體群組已公開", + "make-public": "公開實體群組", + "make-private": "將實體群組設為私有", + "make-public-entity-group-title": "確定要公開實體群組「{{entityGroupName}}」嗎?", + "make-public-entity-group-text": "確認後,此實體群組及其中所有實體都會公開,其他人將可存取。", + "make-private-entity-group-title": "確定要將實體群組「{{entityGroupName}}」設為私有嗎?", + "make-private-entity-group-text": "確認後,此實體群組及其中所有實體都會設為私有,其他人將無法存取。", + "share": "共用實體群組", + "copyId": "複製實體群組識別碼", + "idCopiedMessage": "實體群組識別碼已複製到剪貼簿", + "entity-group-name": "實體群組名稱", + "all-users": "所有使用者", + "owner": "所有者", + "owner-required": "請選擇所有者。", + "manage-owner-and-groups": "管理所有者與群組", + "owner-and-groups": "所有者與群組" + }, + "signup": { + "firstname": "名", + "lastname": "姓", + "email": "電子郵件", + "signup": "註冊", + "create-password": "建立密碼", + "repeat-password": "再次輸入密碼", + "have-account": "已經有帳戶了嗎?", + "signin": "登入", + "no-captcha-message": "請確認您不是機器人", + "password-length-message": "密碼長度至少須為 6 個字元", + "email-verification": "電子郵件驗證", + "email-verification-message": "驗證郵件已寄至指定的電子郵件地址。
    請依照郵件中的指示完成註冊。
    注意:若等候一段時間仍未收到郵件,請檢查「垃圾郵件」資料夾,或按一下「重新傳送」按鈕再次寄送。", + "account-activation-title": "帳戶啟用", + "account-activated": "帳戶已成功啟用!", + "account-activated-text": "恭喜!
    您的帳戶已啟用。", + "resend": "重新傳送", + "inactive-user-exists-title": "尚未啟用的使用者已存在", + "inactive-user-exists-text": "已有使用者使用此電子郵件地址註冊,但尚未完成驗證。
    若要重新寄送驗證郵件,請按一下「重新傳送」按鈕。", + "activating-account": "正在啟用帳戶…", + "activating-account-text": "正在啟用您的帳戶,請稍候…", + "accept-privacy-policy": "接受隱私權原則", + "accept": "接受", + "and": "與", + "privacy-policy": "隱私權原則", + "accept-privacy-policy-message": "您必須接受我們的隱私權原則", + "recaptcha-title": "reCAPTCHA", + "terms-of-use": "使用條款", + "accept-terms-of-use-message": "您必須接受我們的使用條款", + "accept-privacy-policy-and-terms-of-use-message": "您必須接受我們的隱私權原則與使用條款", + "firstname-max-length": "名字長度不得超過 256 個字元", + "lastname-max-length": "姓氏長度不得超過 256 個字元", + "firstname-required": "請輸入名字", + "lastname-required": "請輸入姓氏" + }, + "role": { + "role": "角色", + "roles": "角色", + "management": "角色管理", + "view-roles": "檢視角色", + "no-roles-matching": "找不到符合「{{entity}}」的角色。", + "role-list": "角色清單", + "role-list-required": "請選擇角色", + "add": "新增角色", + "view": "檢視角色", + "search": "搜尋角色", + "selected-roles": "已選擇 { count, plural, =1 {1 個角色} other {# 個角色} }", + "no-roles-text": "找不到角色", + "role-details": "角色詳細資料", + "add-role-text": "新增角色", + "delete": "刪除角色", + "delete-roles": "刪除角色", + "delete-role-title": "確定要刪除角色「{{roleName}}」嗎?", + "delete-role-text": "請注意,確認後將無法復原此角色及所有相關資料。", + "delete-roles-title": "確定要刪除 { count, plural, =1 {1 個角色} other {# 個角色} }嗎?", + "delete-roles-action-title": "刪除 { count, plural, =1 {1 個角色} other {# 個角色} }", + "delete-roles-text": "請注意,確認後將移除所有選擇的角色,且無法復原所有相關資料。", + "role-type": "角色類型", + "role-type-required": "請選擇角色類型。", + "select-role-type": "選擇角色類型", + "enter-role-type": "輸入角色類型", + "any-role": "任何角色", + "no-role-types-matching": "找不到符合「{{entitySubtype}}」的角色類型。", + "role-type-list-empty": "尚未選擇角色類型。", + "role-types": "角色類型", + "created-time": "建立時間", + "name": "名稱", + "name-required": "請輸入名稱。", + "name-max-length": "名稱長度必須少於 256 個字元", + "description": "說明", + "events": "事件", + "details": "詳細資料", + "copyId": "複製角色識別碼", + "idCopiedMessage": "角色識別碼已複製到剪貼簿", + "permissions": "權限", + "excluded-permissions": "排除的權限", + "role-required": "請選擇角色", + "roles-required": "請選擇角色", + "display-type": { + "GENERIC": "一般", + "GROUP": "群組" + } + }, + "group-permission": { + "user-group-roles": "使用者群組角色", + "entity-group-permissions": "實體群組權限", + "role-type": "角色類型", + "role-name": "角色名稱", + "group-type": "群組類型", + "group-name": "群組名稱", + "group-owner": "群組所有者", + "user-group-name": "使用者群組名稱", + "user-group-owner": "使用者群組所有者", + "edit": "編輯權限", + "delete": "刪除權限", + "selected-group-permissions": "已選擇 { count, plural, =1 {1 筆群組權限} other {# 筆群組權限} }", + "delete-group-permission-title": "確定要刪除群組權限「{{roleName}}」嗎?", + "delete-group-permission-text": "請注意,確認後將無法復原此群組權限及所有相關資料。", + "delete-group-permission": "刪除群組權限", + "delete-group-permissions-title": "確定要刪除 { count, plural, =1 {1 筆群組權限} other {# 筆群組權限} }嗎?", + "delete-group-permissions-text": "請注意,確認後將移除所有選擇的群組權限,對應使用者也將失去指定資源的存取權。", + "delete-group-permissions": "刪除群組權限", + "add-group-permission": "新增群組權限", + "edit-group-permission": "編輯群組權限", + "entity-group": "實體群組", + "user-group": "使用者群組", + "no-owners-matching": "找不到符合「{{owner}}」的所有者。", + "target-owner-required": "請選擇實體群組所有者。", + "target-user-group-owner-required": "請選擇使用者群組所有者。", + "no-group-permissions-text": "找不到群組權限", + "permissions-merge-hint": "一般角色中拒絕的操作僅在該角色內生效。若其他任何角色允許該操作,仍會授予存取權。" + }, + "permission": { + "permissions-required": "請至少指定一項允許的操作。", + "resource-duplicate": "已選擇此資源", + "operations-required": "請至少指定一項允許或拒絕的操作。", + "operation-overlap": "允許與拒絕的操作不得重複。", + "remove-permission": "移除權限項目", + "add-permission": "新增權限項目", + "other": "其他", + "resource": { + "resource": "資源", + "select-resource": "選擇資源", + "resource-required": "請選擇資源", + "no-resources-matching": "找不到符合「{{resource}}」的資源。", + "display-type": { + "ALL": "全部", + "PROFILE": "個人資料", + "ADMIN_SETTINGS": "管理設定", + "ALARM": "警報", + "DEVICE": "裝置", + "DEVICE_PROFILE": "裝置設定檔", + "ASSET": "資產", + "CUSTOMER": "客戶", + "DASHBOARD": "儀表板", + "ENTITY_VIEW": "實體檢視", + "EDGE": "Edge", + "TENANT": "租戶", + "TENANT_PROFILE": "租戶設定檔", + "RULE_CHAIN": "規則鏈", + "USER": "使用者", + "WIDGETS_BUNDLE": "小工具包", + "WIDGET_TYPE": "小工具類型", + "CONVERTER": "轉換器", + "INTEGRATION": "整合", + "SCHEDULER_EVENT": "排程事件", + "BLOB_ENTITY": "Blob 實體", + "REPORT_TEMPLATE": "報表範本", + "REPORT": "報表", + "CUSTOMER_GROUP": "客戶群組", + "DEVICE_GROUP": "裝置群組", + "ASSET_GROUP": "資產群組", + "USER_GROUP": "使用者群組", + "ENTITY_VIEW_GROUP": "實體檢視群組", + "DASHBOARD_GROUP": "儀表板群組", + "ROLE": "角色", + "GROUP_PERMISSION": "群組權限", + "WHITE_LABELING": "白標", + "AUDIT_LOG": "稽核記錄", + "API_USAGE_STATE": "API 使用狀態", + "TB_RESOURCE": "資源", + "EDGE_GROUP": "Edge 群組", + "OTA_PACKAGE": "OTA 套件", + "QUEUE": "佇列", + "QUEUE_STATS": "佇列統計資料", + "VERSION_CONTROL": "版本控制", + "ASSET_PROFILE": "資產設定檔", + "NOTIFICATION": "通知", + "MOBILE_APP_SETTINGS": "QR 碼小工具設定", + "MOBILE_APP_BUNDLE": "行動應用程式套件", + "MOBILE_APP": "行動應用程式", + "DOMAIN": "網域", + "OAUTH2_CLIENT": "OAuth 2.0 用戶端", + "SECRET": "機密", + "JOB": "工作", + "AI_MODEL": "AI 模型", + "AI": "AI", + "API_KEY": "API 金鑰", + "AGENT": "代理程式", + "AGENT_GROUP": "代理程式群組", + "AGENT_PROFILE": "代理程式設定檔", + "AGENT_APPLICATION": "代理程式應用程式", + "AGENT_APP_PROFILE": "代理程式應用程式設定檔", + "AGENT_APP_UNIT": "代理程式應用程式單元" + } + }, + "operation": { + "operation": "操作", + "operations": "操作", + "allowed": "允許", + "denied": "拒絕", + "not-set": "未設定", + "operations-required": "請至少指定一項操作。", + "enter-operation": "輸入操作", + "no-operations-matching": "找不到符合「{{operation}}」的操作。", + "display-type": { + "ALL": "全部", + "CREATE": "建立", + "READ": "讀取", + "WRITE": "寫入", + "DELETE": "刪除", + "ASSIGN_TO_CUSTOMER": "指派給客戶", + "UNASSIGN_FROM_CUSTOMER": "取消指派給客戶", + "RPC_CALL": "RPC 呼叫", + "READ_CREDENTIALS": "讀取認證資訊", + "WRITE_CREDENTIALS": "寫入認證資訊", + "READ_ATTRIBUTES": "讀取屬性", + "WRITE_ATTRIBUTES": "寫入屬性", + "READ_TELEMETRY": "讀取遙測資料", + "WRITE_TELEMETRY": "寫入遙測資料", + "CLAIM_DEVICES": "認領裝置", + "IMPERSONATE": "以其他使用者身分登入", + "CHANGE_OWNER": "變更所有者", + "ADD_TO_GROUP": "加入群組", + "REMOVE_FROM_GROUP": "從群組移除", + "SHARE_GROUP": "共用群組", + "ASSIGN_TO_TENANT": "指派給租戶", + "READ_CALCULATED_FIELD": "讀取計算欄位與警報規則", + "WRITE_CALCULATED_FIELD": "寫入計算欄位與警報規則" + } + } + }, + "self-registration": { + "self-registration": "自行註冊", + "self-registration-url": "自行註冊 URL", + "captcha-version": "驗證碼版本", + "captcha-action": "驗證碼記錄的動作名稱", + "captcha-site-key": "驗證碼網站金鑰", + "captcha-site-key-required": "請輸入驗證碼網站金鑰。", + "captcha-site-key-cannot-contain-only-spaces": "驗證碼網站金鑰不能只包含空格", + "captcha-site-key-max-length": "驗證碼網站金鑰長度必須少於 256 個字元", + "captcha-secret-key": "驗證碼私密金鑰", + "captcha-secret-key-required": "請輸入驗證碼私密金鑰。", + "captcha-secret-key-cannot-contain-only-spaces": "驗證碼私密金鑰不能只包含空格", + "captcha-secret-key-max-length": "驗證碼私密金鑰長度必須少於 256 個字元", + "project-id": "專案識別碼", + "project-id-required": "請輸入專案識別碼。", + "android-key": "Android 金鑰", + "android-key-required": "請輸入 Android 金鑰。", + "ios-key": "iOS 金鑰", + "ios-key-required": "請輸入 iOS 金鑰。", + "notification-recipient": "通知收件者", + "notification-recipient-required": "請選擇通知收件者。", + "privacy-policy-text": "隱私權原則文字", + "terms-of-use-text": "使用條款文字", + "text-message-page": "註冊頁面訊息文字", + "enable-mobile-self-registration": "啟用行動應用程式自行註冊", + "mobile-self-registration-title": "行動應用程式自行註冊設定", + "mobile-package": "應用程式套件名稱", + "mobile-package-placeholder": "例如:my.example.app", + "mobile-package-hint": "Android:您專屬的應用程式識別碼。iOS:產品套件組合識別碼。", + "mobile-package-required": "請輸入應用程式套件名稱", + "mobile-app-secret": "應用程式金鑰", + "invalid-mobile-app-secret": "應用程式金鑰只能包含英文字母與數字,長度須介於 16 到 2048 個字元之間。", + "copy-mobile-app-secret": "複製應用程式金鑰", + "mobile-app-scheme": "應用程式 URL 配置", + "mobile-app-scheme-placeholder": "例如:customscheme", + "mobile-app-scheme-required": "請輸入應用程式 URL 配置", + "mobile-app-scheme-cannot-contain-only-spaces": "應用程式 URL 配置不能只包含空格", + "mobile-app-scheme-max-length": "應用程式 URL 配置長度必須少於 256 個字元", + "mobile-app-host": "應用程式 URL 主機名稱", + "mobile-app-host-placeholder": "例如:my.app.host", + "mobile-app-host-required": "請輸入應用程式 URL 主機名稱", + "mobile-app-host-cannot-contain-only-spaces": "應用程式 URL 主機名稱不能只包含空格", + "mobile-app-host-max-length": "應用程式 URL 主機名稱長度必須少於 256 個字元", + "show-privacy-policy": "顯示隱私權原則", + "show-terms-of-use": "顯示使用條款", + "domain-settings": "網域設定", + "general-settings": "一般設定", + "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterprise 帳戶認證資訊 JSON 檔案", + "select-recaptcha-enterprise-service-account-file": "拖放帳戶認證資訊檔案" + }, + "white-labeling": { + "white-labeling": "白標", + "white-labeling-general": "一般白標設定", + "login-white-labeling": "登入頁面白標設定", + "general": "一般", + "login": "登入", + "preview": "預覽", + "app-title": "應用程式標題", + "favicon": "網站圖示", + "favicon-desc": "瀏覽器分頁與書籤中的圖示。請使用 PNG 或 ICO 格式,建議尺寸為 32×32 px", + "logo": "標誌", + "logo-desc": "SVG 或 PNG 格式,高度至少 96 px,檔案大小上限為 200 KB", + "logo-height": "標誌高度", + "logo-height-desc": "依比例縮放標誌並置中。較高的標誌可提高高度設定,上限為 200 px", + "collapsed-logo": "側邊欄收合時的標誌", + "collapsed-logo-desc": "正方形 SVG 或 PNG,尺寸至少 48×48 px,檔案大小上限為 100 KB", + "appearance": "外觀", + "application-shell": "應用程式框架", + "application-shell-desc": "選擇主要色彩套用至側邊欄、應用程式列與頁面標題的方式", + "light": "淺色", + "primary": "主要色彩", + "primary-palette": "主要調色盤", + "primary-palette-desc": "主要品牌色彩,用於側邊欄、應用程式列、頁面標題、按鈕、連結與作用中的選單項目", + "accent-palette": "輔助調色盤", + "accent-palette-desc": "用於核取方塊、選項按鈕、切換開關、滑桿、進度列與徽章", + "customize-palette": "自訂", + "advanced-css": "進階 CSS", + "advanced-css-desc": "使用自訂 CSS 微調調色盤以外的介面元素,例如圖示、字型、背景與捲軸。變更會套用至整個平台,請謹慎使用。適合進階使用者", + "add-custom-css": "新增自訂 CSS", + "edit-custom-css": "編輯自訂 CSS", + "edit-palette": "編輯調色盤", + "save-palette": "儲存調色盤", + "primary-background": "主要背景", + "secondary-background": "次要背景", + "hue1": "色相 1", + "hue2": "色相 2", + "hue3": "色相 3", + "page-background-color": "頁面背景色彩", + "page-background-color-desc": "填滿頁面主要內容區域的背景", + "dark-foreground": "深色前景", + "dark-foreground-desc": "將登入頁面的文字與圖示設為深色,適合搭配淺色背景", + "domain-name": "網域名稱", + "base-url": "基底 URL", + "base-url-required": "請輸入基底 URL", + "prohibit-different-url": "禁止使用用戶端要求標頭中的主機名稱", + "prohibit-different-url-hint": "正式環境應啟用此設定,停用可能造成安全性問題", + "help-link-base-url": "說明連結的基底 URL", + "help-link-base-url-desc": "外部文件入口網站的基底 URL,使用者會導向此處查看詳細指南", + "ui-help-base-url": "介面說明的基底 URL", + "ui-help-base-url-desc": "原始碼存放庫的 URL,系統用於動態擷取並顯示應用程式內的簡短工具提示", + "enable-help-links": "啟用說明連結", + "enable-help-links-desc": "在平台介面中顯示情境說明圖示(?)", + "error-verification-url": "基底 URL 格式無效。例如:https://thingsboard.io", + "show-connectivity-dialog": "顯示連線對話方塊", + "show-connectivity-dialog-desc": "建立裝置後,顯示包含連線指示的裝置連線對話方塊", + "override-trendz-add-on-name": "覆寫 Trendz Analytics 附加元件名稱", + "override-trendz-add-on-name-desc": "將整個平台中的「Trendz」附加元件重新命名為「進階分析」", + "show-platform-name-version-bottom-left-corner": "在左下角顯示平台名稱與版本", + "show-platform-name-version": "顯示平台名稱與版本", + "platform-name": "平台名稱", + "platform-version": "平台版本", + "version-mask": "{{name}} v.{{version}}", + "position": { + "label": "平台名稱與版本的位置", + "under-logo": "標誌下方", + "bottom": "登入表單底部" + }, + "reset-white-label-title": "確定要將白標設定重設為預設值嗎?", + "reset-white-label-text": "請注意,確認後將遺失所有自訂設定,且無法復原。", + "reset-login-white-label-title": "確定要將登入頁面白標設定重設為預設值嗎?", + "reset-login-white-label-text": "請注意,確認後將遺失所有自訂設定,且無法復原。", + "app-title-max-length": "應用程式標題長度不得超過 256 個字元", + "logo-and-titles": "標誌與標題", + "interface-options": "介面選項", + "domain": "網域" + }, + "subscription": { + "entity-limit-text": "您可以升級訂閱方案來提高使用上限。", + "upgrade-your-plan": "升級訂閱方案", + "license-management": "授權管理", + "perpetual-license": "永久授權", + "subscription": "訂閱", + "perpetual": "永久", + "manage-license": "管理授權", + "updated-ago": "更新時間:{{ago}}", + "usage-and-limits": "使用量與限制", + "add-ons": "附加元件", + "included": "已包含", + "not-included": "未包含", + "add-to-license": "加入授權", + "change-key-title": "要改用其他授權嗎?", + "change-key-text": "切換至其他授權,或使用離線金鑰啟用與外部網路隔離的部署。", + "enter-key": "輸入金鑰", + "enter-license-key": "輸入授權金鑰", + "applying-key-text": "套用金鑰會變更此部署的授權範圍。", + "keys-issued-text": "金鑰由 {{licensePortal}} 核發。請使用任何裝置登入並從該處複製金鑰。", + "check-key": "檢查金鑰", + "checking-key": "正在檢查此金鑰…", + "current": "目前", + "this-key": "此金鑰", + "replace-license": "取代授權", + "new-license-applied": "已套用新的授權金鑰。", + "updates-and-support-until": "更新與支援服務至 {{date}} 為止。", + "next-charge-and-due-date": "下次將於 {{date}} 收取 {{total}},付款期限為 {{dueDate}}。", + "refresh-license-info": "重新整理授權資訊", + "non-production-mode": "開發模式,僅限非正式環境使用", + "non-production-mode-details": "裝置、資產與 Edge 數量不設上限,但無法使用白標功能。請勿將此執行個體用於正式環境。", + "offline-mode": "離線模式", + "devices": "裝置", + "number-of-devices": "{ count, plural, =1 {1 個裝置} other {# 個裝置} }", + "unlimited-devices": "裝置數量無上限", + "add-devices": "增加裝置數量", + "device-limit-warn": "裝置數量已達上限的 {{ percent }}。", + "device-limit-critical": "裝置數量已達上限。提高上限前,無法註冊新裝置。", + "assets": "資產", + "add-assets": "增加資產數量", + "prod-instances": "正式環境執行個體", + "add-instances": "增加執行個體數量", + "ai-credits": "AI 點數", + "add-credits": "增加點數", + "white-labeling": "白標", + "edge": "邊緣運算", + "edges": "Edge", + "add-edges": "增加 Edge 數量", + "agents": "遠端代理程式", + "add-agents": "增加遠端代理程式數量", + "trendz": "Trendz Analytics", + "name-addon": "「{{name}}」附加元件", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE {加入「{name}」} other {加入「{name}」} }", + "add-addon-subscription": "「{{name}}」是付費附加元件,會增加您的每月費用。", + "add-addon-perpetual": "「{{name}}」是付費附加元件,可為此授權一次購買。", + "upgrade-plan-devices": "在「{{plan}}」方案中,裝置數量上限由方案決定。", + "upgrade-plan-instances": "在「{{plan}}」方案中,正式環境執行個體數量上限由方案決定。", + "upgrade-plan-credits": "在「{{plan}}」方案中,每月 AI 點數由方案決定。", + "upgrade-plan-edges": "在「{{plan}}」方案中,Edge 數量上限由方案決定。", + "upgrade-plan-agents": "在「{{plan}}」方案中,遠端代理程式數量上限由方案決定。", + "upgrade-plan-white-labeling": "所有付費方案均包含白標功能。", + "upgrade-plan-addon": "「{{name}}」是付費附加元件,必須使用付費方案才能加入。", + "ce-grant-case": "任何購買都會將您的 Community Grant 轉換為永久商業授權。您只需支付新增項目的費用,原本涵蓋的項目無需付費。", + "pe-pack-case": "Professional Pack 採一次購買,所有 Community Grant 授權持有者的價格都相同。", + "ce-grant-white-label": "Community Grant 涵蓋的既有白標內容仍可免費使用。", + "open-portal-manage-license": "我們會在授權入口網站開啟此部署的授權,您可能需要登入。返回後,請按一下「更新」。", + "open-portal-upgrade-plan": "我們會開啟授權入口網站並推薦方案,您可能需要登入。返回後,請按一下「更新」。", + "open-portal": "開啟入口網站", + "add-license-item-title": "若要{{ action }}「{{ item }}」,請先在 ThingsBoard 授權入口網站更新您的{{ package }}。", + "action-add": "新增", + "action-enable": "啟用", + "package-subscription": "訂閱", + "package-perpetual": "授權套件", + "go-to-license-portal": "前往授權入口網站", + "add-license-item-step-first": "系統將導向授權入口網站。", + "add-license-item-step-second": "登入後,系統會自動開啟對應的{{ package }}詳細資料。", + "add-license-item-step-third": "將「{{ item }}」加入您的{{ package }}。", + "add-license-item-step-fourth": "完成後,請按一下下方的「重新整理授權資訊」,立即更新{{ package }}。", + "request-feature-sysadmin-text": "您是系統管理員嗎?", + "login-here": "在此登入", + "to-get-addon": "即可取得附加元件。", + "request-edge-title": "即使網路中斷,您的據點仍可持續運作", + "request-edge-text": "部署 Edge 執行個體,將處理與分析工作分散至您的基礎結構。主要功能包括:", + "edge-card-autonomy-title": "自主運作", + "edge-card-autonomy-text": "即使網路故障,也能確保本機即時運作", + "edge-card-filtering-title": "篩選", + "edge-card-filtering-text": "僅傳送通過驗證且有價值的資料,降低雲端流量與成本", + "edge-card-latency-title": "延遲", + "edge-card-latency-text": "在本機處理資料,以實現即時控制與快速回應", + "edge-card-security-title": "安全性", + "edge-card-security-text": "在 OT 裝置與公有雲之間提供安全緩衝", + "edge-card-efficiency-title": "效率", + "edge-card-efficiency-text": "在接近來源處正規化並彙總資料,減輕雲端工作負載", + "request-edge-action-text": "Edge 管理是附加元件。請聯絡系統管理員以啟用。", + "request-access": "要求存取權", + "requested": "已提出要求", + "upgrade-plan": "升級方案", + "learn-more": "深入了解", + "feature-request-sent-title": "系統已自動向您的系統管理員提出啟用{{addonName}}的要求", + "feature-request-sent-text": "請等候管理員審查要求並更新設定。您可能需要重新整理此頁面才能看到變更。", + "request-trendz-title": "使用「{{name}}」將 IoT 資料集轉化為深入解析,簡化決策流程", + "request-trendz-text": "在 AI 驅動的統一工作區中,無需撰寫程式即可探索遙測資料、建立邏輯、偵測異常及產生預測,將原始資料轉化為清楚且可據以行動的深入解析", + "request-trendz-action-text": "「{{name}}」是附加元件。請聯絡系統管理員以啟用。", + "trendz-card-metric-explorer-title": "指標探索工具", + "trendz-card-metric-explorer-text": "透過無程式碼分析、自訂指標與即時視覺化深入探索遙測資料", + "trendz-card-anomaly-title": "異常偵測", + "trendz-card-anomaly-text": "自動偵測資料中的異常行為", + "trendz-card-calculation-title": "計算欄位", + "trendz-card-calculation-text": "定義商務邏輯、轉換遙測資料並建立新指標", + "trendz-card-prediction-title": "預測模型", + "trendz-card-prediction-text": "使用內建的機器學習模型預測未來數值並偵測趨勢", + "trendz-card-views-title": "檢視", + "trendz-card-views-text": "在同一處建立可與團隊和客戶共用的分析儀表板。", + "trendz-card-ai-assistant-title": "AI 助理", + "trendz-card-ai-assistant-text": "透過自然語言 AI 產生邏輯、調整公式並自動建立指標。", + "pe-pack": "Professional Pack", + "pe-pack-note": "包含整合、排程器、報表與白標。", + "pe-pack-desc": "將 Community Grant 擴充為完整功能組合。", + "request-pe-pack": "申請完整的 Professional Pack", + "add-pe-pack": "加入完整的 Professional Pack", + "pe-pack-extend-ce": "將您的授權擴充為完整功能組合。", + "sys-admin-pe-pack-note": "您是系統管理員嗎?請登入並在「授權管理」中加入 Professional Pack。", + "pe-pack-requested": "已向系統管理員申請 Professional Pack。", + "white-labeling-promo": "在設定頁面設定標誌、色彩與標題。", + "white-labeling-promo-try": "在設定頁面設定標誌、色彩與標題。開啟頁面即可試用。", + "integrations": "整合", + "integrations-promo": "匯入來自 LoRaWAN、MQTT、Kafka 與其他 IoT 平台的資料。", + "scheduler": "排程器", + "scheduler-promo": "依排程執行更新,並將事件提交至規則鏈。", + "reports": "報表", + "reports-promo": "使用表格、圖表與您的品牌元素製作報表,並依排程傳送。" + }, + "platform-feature": { + "overview": "概觀", + "white-labeling": { + "not-in-plan": "您的方案未包含白標功能", + "not-in-ce-grant": "您的 Community Grant 未包含白標功能。", + "add": "加入白標功能", + "request": "申請白標功能", + "offer-title": "使用您的品牌、登入畫面、選單與標籤", + "offer-with-plan-lede": "Pilot 及以上方案均包含白標功能。您在此設定的內容會取代 ThingsBoard 的品牌元素,套用至登入頁面、寄出的郵件,以及客戶使用的每個頁面。", + "offer-lede": "使用白標功能,您在此設定的內容會取代 ThingsBoard 的品牌元素,套用至登入頁面、寄出的郵件,以及客戶使用的每個頁面。", + "pack-offer-lede": "白標功能包含於 Professional Pack,此套件是 Community Grant 的付費附加元件。啟用後,您在此設定的內容會取代 ThingsBoard 的品牌元素,套用至登入頁面、寄出的郵件,以及客戶使用的每個頁面。", + "sys-admin-wl-note": "您是系統管理員嗎?請登入並在「授權管理」中加入白標功能。" + }, + "integrations": { + "not-in-ce-grant": "您的 Community Grant 未包含整合功能。", + "pack-offer-title": "匯入來自 LoRaWAN、MQTT、Kafka 與其他 IoT 平台的資料", + "pack-offer-lede": "整合功能包含於 Professional Pack,此套件是 Community Grant 的付費附加元件。每個整合會從 LoRaWAN 網路伺服器、MQTT 或 Kafka 訊息代理程式,或其他 IoT 平台讀取資料,自動建立新出現的裝置,並將裝置傳送的內容儲存為遙測資料。", + "overview": { + "brokers-and-platforms": "訊息代理程式與平台", + "brokers-and-platforms-desc": "每個資料來源各使用一個整合,可從使用者介面設定及監控。", + "data-converters": "資料轉換器", + "data-converters-desc": "使用指令碼(包括 LoRaWAN 編解碼器)解碼裝置的原始承載資料,無需變更裝置傳送的內容。", + "downlink": "下行", + "downlink-desc": "透過同一條連線將命令與設定傳回裝置。", + "remote-integrations": "遠端整合", + "remote-integrations-desc": "在邊緣端使用您自己的主機執行整合;即使與 ThingsBoard 的連線中斷,仍會持續緩衝資料。" + }, + "dozen-protocols-brokers-and-platforms": "數十種通訊協定、訊息代理程式與平台", + "browse-setup-guides-note": "請參閱文件中的設定指南。" + }, + "scheduler": { + "not-in-ce-grant": "您的 Community Grant 未包含排程器。", + "pack-offer-title": "依排程執行更新,並將事件提交至規則鏈", + "pack-offer-lede": "排程器包含於 Professional Pack,此套件是 Community Grant 的付費附加元件。您可以執行韌體更新及提交事件至規則鏈;每個項目都有自己的開始時間、重複規則與時區,即使您的其他程式未執行,平台仍會觸發排程。", + "overview": { + "repeats-and-timezones": "重複與時區", + "repeats-and-timezones-desc": "可執行一次、每天執行,或在每週指定日期執行;每個事件都依自己的時區處理。", + "device-commands": "裝置命令", + "device-commands-desc": "在指定時間傳送命令至裝置,無需讓 cron 工作持有 API 權杖。", + "firmware-and-software": "韌體與軟體", + "firmware-and-software-desc": "即使無人看管,也能在指定時間將 OTA 套件部署至單一裝置或整個群組。", + "rule-chain-triggers": "規則鏈觸發程序", + "rule-chain-triggers-desc": "將事件傳送至規則鏈,讓規則鏈能執行的工作都可自動執行,無需人員看管。" + } + }, + "reporting": { + "not-in-ce-grant": "您的 Community Grant 未包含報表功能。", + "pack-offer-title": "只需建立一次報表,即可在每次排程執行時傳送", + "pack-offer-lede": "報表功能包含於 Professional Pack,此套件是 Community Grant 的付費附加元件。您可以自行配置表格、圖表、文字與品牌元素,並在每次排程執行或警報觸發時將報表傳送給收件者。", + "overview": { + "your-own-layout": "自訂版面配置", + "your-own-layout-desc": "將表格、圖表、文字與影像拖曳至所需位置;儲存一份範本,即可供所有客戶使用。", + "pdf-or-csv": "PDF 或 CSV", + "pdf-or-csv-desc": "可提供含有圖表且可直接列印的文件,或供需要數據的人使用的原始資料列。", + "channel": "郵件、Slack、Teams 或簡訊", + "channel-desc": "為每位收件者或每個使用者群組選擇管道,平台會在每次排程執行時傳送報表。", + "attached-to-alarm": "隨警報附上", + "attached-to-alarm-desc": "警報觸發時,使用當下的資料產生報表,並隨通知一併傳送。" + } + } + }, + "subscription-error": { + "title": "違反訂閱限制", + "warning-title": "訂閱警告", + "upgrade-subscription-plan": "請升級您的訂閱方案", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} 自 {{planName}} 方案起提供。若要繼續,請要求系統管理員升級方案。", + "limit-reached": { + "device-count": "裝置數量已達訂閱方案允許的上限({{value}} 個)!", + "asset-count": "資產數量已達訂閱方案允許的上限({{value}} 個)!", + "edge-count": "Edge 執行個體數量已達訂閱方案允許的上限({{value}} 個)!", + "agent-count": "遠端代理程式數量已達訂閱方案允許的上限({{value}} 個)!" + }, + "feature-disabled": { + "white-labeling": "您的訂閱方案不允許使用白標功能!" + } + }, + "trendz-analytics": { + "add-new": "+ 新增", + "ai-assistant": "AI 助理", + "ai-assistant-description": "透過對話取得深入解析並自動產生報表", + "anomaly-detection": "異常偵測", + "anomaly-detection-description": "作用中的異常偵測模型", + "calculated-fields": "計算欄位", + "calculated-fields-description": "自訂商務邏輯與計算", + "contact-admin-message": "請等候管理員審查要求並更新設定。您可能需要重新整理此頁面才能看到變更。", + "contact-admin-title": "已將此錯誤通知您的系統管理員", + "contact-sys-admin": "聯絡系統管理員", + "disabled": "已停用", + "enabled": "已啟用", + "explore": "探索", + "loading-ai-assistant": "正在載入 AI 對話…", + "loading-anomaly-model": "正在載入異常偵測模型…", + "loading-calculation-field": "正在載入計算欄位…", + "loading-metric-explorer": "正在載入指標探索工具…", + "loading-prediction-model": "正在載入預測模型…", + "loading-views": "正在載入檢視…", + "metric-explorer": "指標探索工具", + "metric-explorer-description": "最近分析的指標,方便快速導覽", + "no-anomaly-models-found": "尚無異常偵測模型", + "no-calculated-fields-found": "尚無計算欄位", + "no-chats-found": "尚無對話", + "no-metrics-found": "尚無指標", + "no-prediction-models-found": "尚無預測模型", + "no-views-found": "尚無檢視", + "prediction-models": "預測模型", + "prediction-models-description": "預測與預測分析", + "read-upgrade-guide": "閱讀升級指南", + "retry-discovery": "重試探索", + "retry-healthcheck": "重試健全狀況檢查", + "save-configuration": "儲存設定", + "service-connection": "服務連線", + "service-unavailable": "「{{ name }}」暫時無法使用", + "service-unavailable-message": "目前發生技術問題,無法存取「{{ name }}」服務。", + "service-unavailable-incident-reported": "原因是平台與分析伺服器之間的設定或連線問題。請向系統管理員回報此問題。", + "service-unavailable-report-issue": "回報問題", + "service-unavailable-request-sent-title": "系統已自動向您的系統管理員回報此問題", + "service-unavailable-request-sent-message": "請等候管理員審查要求並更新設定。您可能需要重新整理此頁面才能看到變更。", + "sync": { + "sync-completed": "同步已成功完成", + "sync-disabled": "Trendz 設定已停用同步", + "sync-internal-error": "發生非預期的內部同步錯誤", + "sync-not-initialized": "Trendz 同步尚未初始化", + "tb-auth-invalid": "ThingsBoard 驗證失敗,API 金鑰無效", + "tb-url-mismatch": "提供的 ThingsBoard URL 與 ThingsBoard 中儲存的 URL 不符", + "tb-url-unreachable": "無法連線至 ThingsBoard URL", + "trendz-auth-invalid": "Trendz 驗證失敗,Trendz API 金鑰無效或遺失", + "trendz-unsupported-version": "不支援此 Trendz 版本", + "trendz-url-unreachable": "無法連線至提供的 Trendz URL" + }, + "thingsboard-internal-url": "ThingsBoard 內部 URL", + "thingsboard-internal-url-invalid": "ThingsBoard 內部 URL 無效", + "thingsboard-internal-url-required": "請輸入 ThingsBoard 內部 URL", + "trendz-analytics": "Trendz Analytics", + "advanced-analytics": "進階分析", + "trendz-configuration": "Trendz 設定", + "trendz-configuration-unsaved-message": "您對 Trendz 設定所做的變更尚未儲存。
    要先儲存再執行探索嗎?", + "trendz-configuration-unsaved-continue-without-saving": "繼續而不儲存", + "trendz-internal-url": "Trendz 內部 URL", + "trendz-internal-url-invalid": "Trendz 內部 URL 無效", + "trendz-internal-url-required": "請輸入 Trendz 內部 URL", + "trendz-settings": "Trendz 設定", + "trendz": "Trendz", + "views": "檢視", + "views-description": "已設定的視覺化群組與報表", + "trendz-synced": "同步已成功完成", + "trendz-available": "尚未完成同步", + "trendz-unavailable": "未偵測到服務", + "view-all": "檢視全部", + "view-type": { + "ai-card": "AI 卡片", + "bar": "長條圖", + "card": "卡片", + "card-with-line": "含折線圖的卡片", + "heatmap": "熱度圖", + "heatmap-calendar": "日曆熱度圖", + "line": "折線圖", + "pie": "圓形圖", + "scatter-plot": "散佈圖", + "table": "表格" + } } } From 29cf5e6dd170bdf4895faad675b58d176051bca7 Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Tue, 20 Oct 2026 17:14:34 +0300 Subject: [PATCH 232/559] Merge pull request #16369 from Ultrazombie/locales/it-4.4 Update Italian translation for 4.4: missing keys, terminology, alarm wording --- .../assets/locale/locale.constant-it_IT.json | 2150 +++++++++++++++-- 1 file changed, 1908 insertions(+), 242 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index 9349219ccb..84dfc49906 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "Attiva ThingsBoard", + "initial": { + "welcome": "Benvenuto in ThingsBoard {{version}}", + "title": "Ottieni la tua licenza gratuita e inizia a creare", + "desc": "Bastano pochi minuti nel portale licenze: crei un account, scegli una licenza e questa istanza si attiva automaticamente.", + "open-license-portal": "Apri il portale licenze", + "already-have-license": "Hai già una licenza?", + "free-no-credit-card": "Gratis per sempre. Nessuna carta di credito richiesta.", + "source-available": "Codice sorgente disponibile con licenza" + }, + "waiting": { + "live-eyebrow": "In attesa dell'attivazione", + "title": "Continua nel portale licenze", + "desc": "Accedi o crea un account, scegli una licenza e accetta i termini. Questa istanza si attiva automaticamente non appena la licenza viene emessa.", + "nothing-opened": "Non si è aperto nulla?", + "paste-link-or-scan-qr-code": "Incolla il link testuale su qualsiasi dispositivo connesso a internet oppure scansiona il codice QR con un telefono.", + "text-link": "Link testuale", + "qr-code": "Codice QR", + "qr-code-hint": "Inquadra il codice con la fotocamera del telefono, poi apri il link. Il telefono deve avere una propria connessione a internet.", + "have-key": "Hai una chiave licenza?", + "activate-key": "Attiva la licenza con una chiave" + }, + "offline": { + "eyebrow": "Offline", + "title": "Attiva da un altro dispositivo", + "desc": "Questo server non riesce a raggiungere il portale licenze, quindi servono due passaggi: ottieni la licenza nel portale da un dispositivo connesso, poi inserisci qui la chiave.", + "get-your-license": "Ottieni la licenza nel portale", + "open-link": "Apri questo link su qualsiasi dispositivo connesso a internet. Accederai o creerai un account, sceglierai una licenza e accetterai i termini. Il portale ti mostrerà quindi una chiave licenza.", + "paste-key": "Incolla qui la chiave", + "no-connected-device": "Non hai nessun dispositivo connesso?" + }, + "have-key": { + "title": "Attiva la licenza con una chiave", + "enter-license-key": "Inserisci la tua chiave di licenza", + "enter-license-key-note": "La trovi nel tuo account del portale licenze: accedi a {{hostName}} da qualsiasi dispositivo e copiala da lì.", + "no-account": "Non hai un account né un dispositivo connesso?", + "contact-support": "Contatta l'assistenza" + }, + "key-form": { + "placeholder": "Incolla la tua chiave di licenza", + "invalid": "Questa chiave non è valida per questa istanza. Verifica che non manchi un carattere oppure contatta l'assistenza.", + "activate": "Attiva", + "activating": "Attivazione in corso" + }, + "account": { + "title": "Questa istanza è attivata", + "desc": "La tua licenza è salvata su questo server e nel tuo account del portale licenze.", + "create-sys-admin-account": "Crea un account di amministratore di sistema", + "create-sys-admin-account-hint": "Ti permette di accedere a questo server ed è separato dall'account del portale licenze che contiene la tua licenza.", + "email-label": "Email", + "email-required": "Inserisci un indirizzo email.", + "email-invalid": "Inserisci un indirizzo email valido.", + "password-label": "Password", + "password-required": "Inserisci una password.", + "password-min-length": "La password deve contenere almeno 6 caratteri.", + "confirm-label": "Conferma password", + "confirm-required": "Conferma la tua password.", + "confirm-mismatch": "Le password non corrispondono.", + "demo-tenant-title": "Configura un tenant demo", + "demo-tenant-desc": "Il modo più rapido per vedere la piattaforma in azione. Dashboard, dispositivi e catene di regole sono già configurati, con utenti tenant e cliente pronti ad accedere. Puoi aprirlo anche da Tenant come amministratore di sistema.", + "create": "Crea account", + "creating": "Creazione dell'account in corso" + }, + "demo-tenant": { + "signed-in-as": "Il tuo account di amministratore di sistema è stato creato e hai effettuato l'accesso come {{email}}.", + "title": "Vuoi esplorare il tenant demo?", + "desc": "Le basi sono già configurate — apri una dashboard, modifica una regola o collega un tuo dispositivo.", + "dashboards": "Dashboard — basate sui dispositivi qui sotto, con i collegamenti dei widget già configurati", + "devices": "Dispositivi — con i relativi profili dispositivo e regole di allarme; nessuno ha ancora inviato dati", + "rule-chains": "Catene di regole — dove vengono decisi quegli allarmi", + "explore": "Esplora il tenant demo", + "not-now": "Non ora", + "not-now-hint": "«Non ora» ti porta all'amministrazione di sistema.", + "signing-in-later": "Accedere in seguito", + "demo-tenant-hint": "L'amministratore del tenant stesso. Come amministratore di sistema puoi anche aprire il tenant da Tenant, senza password." + }, + "non-production": { + "eyebrow": "Riconferma necessaria", + "title": "Conferma che questa installazione non è ancora usata in produzione.", + "desc": "Questa istanza utilizza una licenza gratuita non di produzione, riconfermata periodicamente da un amministratore di sistema. La conferma non influisce sui tuoi dati, sugli utenti o sulla connettività dei dispositivi.", + "confirm": "Conferma", + "confirming": "Conferma in corso", + "sysadmin-required": "Solo un amministratore di sistema può confermarlo.", + "login-as-sysadmin": "Accedi come amministratore di sistema", + "state-verify-failed": "Confermato, ma non è stato possibile verificare lo stato. Aggiorna la pagina.", + "state-not-updated": "Questa istanza segnala ancora la conferma come in sospeso. Aggiorna la pagina e conferma di nuovo." + }, + "errors": { + "signin-failed": "Account creato, ma l'accesso automatico non è riuscito. Aggiorna la pagina e accedi manualmente.", + "state-not-updated": "Configurazione completata, ma lo stato non è aggiornato. Aggiorna la pagina.", + "state-verify-failed": "Configurazione completata, ma non è stato possibile verificare lo stato. Aggiorna la pagina.", + "no-sign-up-url": "Questa istanza ha risposto senza un link, quindi non c'è nulla da aprire.", + "link-expired": "Il link è scaduto. Apri di nuovo il portale licenze per ottenerne uno nuovo.", + "activated-state-verify-failed": "Questa istanza ha una licenza, ma non è ancora stato possibile leggere il passaggio successivo. Nuovo tentativo in corso: puoi anche aggiornare la pagina.", + "no-connection": "Nessuna connessione con il server. Riprova più tardi.", + "request-failed": "La richiesta non è riuscita. Riprova." + } + }, "access": { "unauthorized": "Non autorizzato", "unauthorized-access": "Accesso non autorizzato", @@ -26,7 +125,7 @@ "add": "Aggiungi", "yes": "Sì", "no": "No", - "update": "Aggiorna", + "update": "Salva modifiche", "remove": "Rimuovi", "search": "Cerca", "clear-search": "Cancella ricerca", @@ -53,6 +152,7 @@ "refresh": "Aggiorna", "undo": "Annulla", "copy": "Copia", + "copied": "Copiato", "paste": "Incolla", "copy-reference": "Copia riferimento", "paste-reference": "Incolla riferimento", @@ -80,16 +180,19 @@ "reset-default": "Ripristina predefiniti", "show-more": "Mostra di più", "dont-show-again": "Non mostrare più", + "dont-show-this-again": "Non mostrare più", "see-documentation": "Vedi documentazione", "see-debug-events": "Vedi eventi di debug", - "clear": "Pulisci", + "clear": "Cancella", "upload": "Carica", "delete-anyway": "Elimina comunque", "delete-selected": "Elimina selezionati", "set": "Imposta", "duplicate": "Duplica", "disable": "Disabilita", - "enable": "Abilita" + "enable": "Abilita", + "rename": "Rinomina", + "retry": "Riprova" }, "aggregation": { "aggregation": "Aggregazione", @@ -105,6 +208,7 @@ }, "admin": { "settings": "Impostazioni", + "platform": "Piattaforma", "general": "Generale", "general-settings": "Impostazioni generali", "home-settings": "Impostazioni home", @@ -587,7 +691,7 @@ "use-system-mobile-settings": "Usa le impostazioni mobili di sistema" }, "ai-assistant": { - "configure-with-ai": "Configura con l'AI", + "configure-with-ai": "Configura con l'IA", "follow-up-prompt-placeholder": "Rispondi...", "sub-title": "Posso aiutarti a configurare e gestire i tuoi dispositivi, le dashboard, i campi calcolati, le regole di allarme e le notifiche: descrivi semplicemente ciò di cui hai bisogno e penserò io al resto.", "new-chat": "Nuova chat", @@ -601,6 +705,7 @@ "delete-chat-confirm": "Sì, elimina", "action-approval-required": "Approvazione dell'azione richiesta", "approve": "Approva", + "approve-all": "Approva tutte le azioni successive", "deny": "Nega", "processing": "Elaborazione in corso...", "approved": "Fatto", @@ -608,7 +713,8 @@ "error": "Non riuscito", "thinking": "Sto pensando...", "rename-chat-title": "Rinomina questa chat", - "main-title": "Ciao! Sono il tuo assistente AI" + "export-chat": "Esporta chat", + "main-title": "Ciao! Sono il tuo assistente IA" }, "alarm": { "alarm": "Allarme", @@ -626,15 +732,15 @@ "search-status": { "ANY": "Qualsiasi", "ACTIVE": "Attivo", - "CLEARED": "Ripristinato", + "CLEARED": "Risolto", "ACK": "Confermato", "UNACK": "Non confermato" }, "display-status": { "ACTIVE_UNACK": "Attivo non confermato", "ACTIVE_ACK": "Attivo confermato", - "CLEARED_UNACK": "Ripristinato non confermato", - "CLEARED_ACK": "Ripristinato confermato" + "CLEARED_UNACK": "Risolto non confermato", + "CLEARED_ACK": "Risolto confermato" }, "no-alarms-prompt": "Nessun allarme trovato", "created-time": "Ora di creazione", @@ -660,7 +766,7 @@ "assign-time": "Ora assegnazione", "end-time": "Ora fine", "ack-time": "Ora conferma", - "clear-time": "Ora ripristino", + "clear-time": "Ora risoluzione", "duration": "Durata", "alarm-severity": "Gravità allarme", "alarm-severity-list": "Elenco gravità allarme", @@ -671,7 +777,7 @@ "severity-warning": "Avviso", "severity-indeterminate": "Indeterminata", "acknowledge": "Conferma", - "clear": "Ripristina", + "clear": "Risolvi", "delete": "Elimina", "search": "Cerca allarmi", "selected-alarms": "{ count, plural, =1 {1 allarme} other {# allarmi} } selezionato/i", @@ -684,13 +790,13 @@ "aknowledge-alarm-title": "Conferma Allarme", "aknowledge-alarm-text": "Sei sicuro di voler confermare l'allarme?", "selected-alarms-are-acknowledged": "Gli allarmi selezionati sono già stati confermati", - "clear-alarms-title": "Ripristina { count, plural, =1 {1 allarme} other {# allarmi} }", - "clear-alarms-text": "Sei sicuro di voler ripristinare { count, plural, =1 {1 allarme} other {# allarmi} }?", - "clear-alarm-title": "Ripristina Allarme", - "clear-alarm-text": "Sei sicuro di voler ripristinare l'allarme?", + "clear-alarms-title": "Risolvi { count, plural, =1 {1 allarme} other {# allarmi} }", + "clear-alarms-text": "Sei sicuro di voler risolvere { count, plural, =1 {1 allarme} other {# allarmi} }?", + "clear-alarm-title": "Risolvi allarme", + "clear-alarm-text": "Sei sicuro di voler risolvere l'allarme?", "delete-alarms-title": "Elimina { count, plural, =1 {1 allarme} other {# allarmi} }", "delete-alarms-text": "Sei sicuro di voler eliminare { count, plural, =1 {1 allarme} other {# allarmi} }?", - "selected-alarms-are-cleared": "Gli allarmi selezionati sono già stati ripristinati", + "selected-alarms-are-cleared": "Gli allarmi selezionati sono già stati risolti", "alarm-status-filter": "Filtro stato allarme", "alarm-filter-title": "Filtro allarme", "assigned": "Assegnato", @@ -716,7 +822,7 @@ "alarm-type-list-empty": "Nessun tipo di allarme selezionato.", "system-comments": { "acked-by-user": "L'allarme è stato confermato dall'utente {{userName}}", - "cleared-by-user": "L'allarme è stato ripristinato dall'utente {{userName}}", + "cleared-by-user": "L'allarme è stato risolto dall'utente {{userName}}", "assigned-to-user": "L'allarme è stato assegnato dall'utente {{userName}} all'utente {{assigneeName}}", "unassigned-to-user": "L'allarme è stato rimosso dall'utente {{userName}}", "unassigned-from-deleted-user": "L'allarme è stato rimosso perché l'utente {{userName}} è stato eliminato", @@ -754,16 +860,16 @@ "filter-type-entity-group-list": "Elenco di gruppi di entità", "filter-type-entity-group-name": "Nome gruppo entità", "filter-type-entities-by-group-name": "Entità per nome del gruppo", - "filter-type-state-entity": "Entità dallo stato del dashboard", + "filter-type-state-entity": "Entità dallo stato della dashboard", "filter-type-state-entity-originator": "Entità originatrice", "filter-type-state-entity-master-report": "Entità dal report principale", - "filter-type-state-entity-description": "Entità presa dai parametri dello stato del dashboard", + "filter-type-state-entity-description": "Entità presa dai parametri dello stato della dashboard", "filter-type-state-entity-originator-description": "Entità originatrice", "filter-type-state-entity-master-report-description": "Entità impostata dal report principale", - "filter-type-state-entity-owner": "Proprietario dell'entità dallo stato del dashboard", + "filter-type-state-entity-owner": "Proprietario dell'entità dallo stato della dashboard", "filter-type-state-entity-owner-originator": "Proprietario dell'entità originatrice", "filter-type-state-entity-owner-master-report": "Proprietario dell'entità dal report principale", - "filter-type-state-entity-owner-description": "Proprietario dell'entità presa dai parametri dello stato del dashboard", + "filter-type-state-entity-owner-description": "Proprietario dell'entità presa dai parametri dello stato della dashboard", "filter-type-state-entity-owner-originator-description": "Proprietario dell'entità originatrice", "filter-type-state-entity-owner-master-report-description": "Proprietario dell'entità impostata dal report principale", "filter-type-asset-type": "Tipo di asset", @@ -800,13 +906,13 @@ "filter-type-required": "Il tipo di filtro è obbligatorio.", "entity-filter-no-entity-matched": "Nessuna entità corrispondente al filtro specificato trovata.", "no-entity-filter-specified": "Nessun filtro entità specificato", - "root-state-entity": "Usa l'entità dello stato del dashboard come root", + "root-state-entity": "Usa l'entità dello stato della dashboard come root", "root-originator-entity": "Usa l'entità originatrice come root", "root-master-report-entity": "Usa l'entità dal report principale come root", - "group-state-entity": "Usa l'entità dello stato del dashboard come gruppo di entità", + "group-state-entity": "Usa l'entità dello stato della dashboard come gruppo di entità", "group-originator-entity": "Usa l'entità originatrice come gruppo di entità", "group-master-report-entity": "Usa l'entità dal report principale come gruppo di entità", - "group-state-entity-owner": "Usa l'entità dello stato del dashboard come proprietario del gruppo di entità", + "group-state-entity-owner": "Usa l'entità dello stato della dashboard come proprietario del gruppo di entità", "group-originator-entity-owner": "Usa l'entità originatrice come proprietario del gruppo di entità", "group-master-report-entity-owner": "Usa l'entità dal report principale come proprietario del gruppo di entità", "last-level-relation": "Recupera solo la relazione dell'ultimo livello", @@ -822,16 +928,16 @@ "query-options": "Opzioni di query", "max-relation-level": "Livello massimo di relazione", "unlimited-level": "Livello illimitato", - "state-entity": "Entità stato del dashboard", + "state-entity": "Entità stato della dashboard", "originator-entity": "Entità originatrice", "master-report-entity": "Entità report principale", - "entities-of-group-state-entity": "Entità dal gruppo di entità stato del dashboard", + "entities-of-group-state-entity": "Entità dal gruppo di entità stato della dashboard", "entities-of-group-originator-entity": "Entità dal gruppo di entità originatrice", "entities-of-group-master-report-entity": "Entità dal gruppo di entità report principale", "all-entities": "Tutte le entità", "any-relation": "qualsiasi", "originator": "Originatore", - "originator-state-entity": "Usa l'entità stato del dashboard come originatore", + "originator-state-entity": "Usa l'entità stato della dashboard come originatore", "originator-from-originator-entity": "Usa l'entità originatrice come originatore dell'evento", "originator-master-report-entity": "Usa l'entità dal report principale come originatore", "scheduler-event-type": "Tipo di evento del pianificatore" @@ -897,10 +1003,10 @@ "make-private-asset-title": "Sei sicuro di voler rendere privato l'asset '{{assetName}}'?", "make-private-asset-text": "Dopo la conferma l'asset e tutti i suoi dati saranno resi privati e non saranno accessibili ad altri.", "unassign-asset-title": "Sei sicuro di voler rimuovere l'assegnazione dell'asset '{{assetName}}'?", - "unassign-asset-text": "Dopo la conferma l'asset sarà disassegnato e non sarà più accessibile dal cliente.", - "unassign-asset": "Disassegna asset", - "unassign-assets-title": "Sei sicuro di voler disassegnare { count, plural, =1 {1 asset} other {# asset} }?", - "unassign-assets-text": "Dopo la conferma tutti gli asset selezionati saranno disassegnati e non saranno accessibili dal cliente.", + "unassign-asset-text": "Dopo la conferma l'asset non sarà più assegnato né accessibile dal cliente.", + "unassign-asset": "Rimuovi assegnazione asset", + "unassign-assets-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, =1 {1 asset} other {# asset} }?", + "unassign-assets-text": "Dopo la conferma tutti gli asset selezionati non saranno più assegnati né accessibili dal cliente.", "copyId": "Copia ID asset", "idCopiedMessage": "ID asset copiato negli appunti", "select-asset": "Seleziona asset", @@ -919,11 +1025,11 @@ "asset-file": "File asset", "label": "Etichetta", "assign-asset-to-edge": "Assegna asset all'edge", - "unassign-asset-from-edge": "Disassegna asset", - "unassign-asset-from-edge-title": "Sei sicuro di voler disassegnare l'asset '{{assetName}}'?", - "unassign-asset-from-edge-text": "Dopo la conferma l'asset sarà disassegnato e non sarà più accessibile dall'edge.", - "unassign-assets-from-edge-title": "Sei sicuro di voler disassegnare { count, plural, =1 {1 asset} other {# asset} }?", - "unassign-assets-from-edge-text": "Dopo la conferma tutti gli asset selezionati saranno disassegnati e non saranno più accessibili dall'edge.", + "unassign-asset-from-edge": "Rimuovi assegnazione asset", + "unassign-asset-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione dell'asset '{{assetName}}'?", + "unassign-asset-from-edge-text": "Dopo la conferma l'asset non sarà più assegnato né accessibile dall'edge.", + "unassign-assets-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, =1 {1 asset} other {# asset} }?", + "unassign-assets-from-edge-text": "Dopo la conferma tutti gli asset selezionati non saranno più assegnati né accessibili dall'edge.", "selected-assets": "{ count, plural, =1 {1 asset} other {# asset} } selezionato/i" }, "attribute": { @@ -961,6 +1067,7 @@ "prev-widget": "Widget precedente", "add-to-dashboard": "Aggiungi alla dashboard", "add-widget-to-dashboard": "Aggiungi widget alla dashboard", + "no-widget-grid-in-dashboard": "Tutti gli stati di questa dashboard sono pagine HTML, quindi non è possibile aggiungervi il widget.", "selected-attributes": "{ count, plural, =1 {1 attributo} other {# attributi} } selezionato/i", "selected-telemetry": "{ count, plural, =1 {1 unità di telemetria} other {# unità di telemetria} } selezionata/e", "no-attributes-text": "Nessun attributo trovato", @@ -1079,7 +1186,11 @@ "reports-created": "Report creati", "reports-created-hourly-activity": "Attività oraria dei report creati", "reports-created-daily-activity": "Attività giornaliera dei report creati", - "reports-created-monthly-activity": "Attività mensile dei report creati" + "reports-created-monthly-activity": "Attività mensile dei report creati", + "ai-credits": "Crediti IA", + "ai-credits-hourly-activity": "Attività oraria dei crediti IA", + "ai-credits-daily-activity": "Attività giornaliera dei crediti IA", + "ai-credits-monthly-activity": "Attività mensile dei crediti IA" }, "api-limit": { "cassandra-write-queries-core": "Query di scrittura Cassandra tramite Rest API", @@ -1172,7 +1283,7 @@ "type-relation-delete": "Relazione eliminata", "type-relations-delete": "Tutte le relazioni eliminate", "type-alarm-ack": "Allarme confermato", - "type-alarm-clear": "Allarme ripristinato", + "type-alarm-clear": "Allarme risolto", "type-alarm-delete": "Allarme eliminato", "type-alarm-assign": "Allarme assegnato", "type-alarm-unassign": "Allarme rimosso", @@ -1201,10 +1312,12 @@ "type-timeseries-deleted": "Telemetria eliminata", "type-owner-changed": "Proprietario cambiato", "type-sms-sent": "SMS inviato", + "type-non-production-confirmed": "Uso non di produzione confermato", "any-type": "Qualsiasi tipo", "audit-log-filter-title": "Filtro log di audit", "filter-title": "Filtro", - "filter-types": "Tipi di log di audit" + "filter-types": "Tipi di log di audit", + "action": "Azione" }, "debug-settings": { "label": "Configurazione debug", @@ -1249,7 +1362,7 @@ "calculated-field-details": "Dettagli campo calcolato", "argument-name": "Nome argomento", "name": "Nome", - "datasource": "Fonte dati", + "datasource": "Origine dati", "add-argument": "Aggiungi argomento", "test-script-function": "Testa funzione script", "no-arguments": "Nessun argomento configurato", @@ -1409,7 +1522,7 @@ "process-rule-chains": "Elabora tramite Rule Chains", "save-time-series": "Salva nella serie temporale", "save-database": "Salva nel database", - "save-latest-values": "Salva nei valori più recenti", + "save-latest-values": "Salva negli ultimi valori", "send-web-sockets": "Invia a WebSockets", "save-calculated-fields": "Invia a Campi calcolati", "update-attribute-only-on-value-change": "Aggiorna l'attributo solo se il valore cambia", @@ -1543,9 +1656,9 @@ "alarm-rule": "Regola allarme", "alarm-rules": "Regole allarme", "alarm-rules-old": "Vecchie", - "alarm-rules-actual": "Attuali", + "alarm-rules-actual": "Correnti", "severities": "Gravità", - "cleared": "Condizione di cancellazione", + "cleared": "Condizione di risoluzione", "delete-title": "Sei sicuro di voler eliminare la regola allarme '{{title}}'?", "delete-text": "Attenzione, dopo la conferma la regola allarme e tutti i dati correlati diventeranno irrecuperabili.", "delete-multiple-title": "Sei sicuro di voler eliminare { count, plural, =1 {1 regola allarme} other {# regole allarme} }?", @@ -1568,7 +1681,7 @@ "alarm-type-required": "Il tipo di allarme è obbligatorio.", "alarm-type-pattern": "Il tipo di allarme non è valido.", "alarm-type-max-length": "Il tipo di allarme deve essere inferiore a 256 caratteri.", - "clear-alarm": "Cancella allarme", + "clear-alarm": "Risolvi allarme", "value-argument": "Argomento", "value-argument-required": "L'argomento è obbligatorio.", "static-settings": "Impostazioni statiche", @@ -1654,14 +1767,14 @@ "alarm-rule-no-mobile-dashboard": "Nessuna dashboard selezionata", "alarm-rule-condition": "Condizione della regola allarme", "enter-alarm-rule-condition-prompt": "Aggiungi condizione", - "enter-alarm-rule-clear-condition-prompt": "Aggiungi condizione di cancellazione", + "enter-alarm-rule-clear-condition-prompt": "Aggiungi condizione di risoluzione", "edit-alarm-rule-condition": "Condizione allarme", "condition-type": "Tipo di condizione", "condition-type-hint": "Le opzioni \"Durata\" e \"Ripetizione\" non sono disponibili quando l'operazione \"Missing for\" è utilizzata nel filtro.", "select-alarm-severity": "Seleziona gravità allarme", "add-create-alarm-rule-prompt": "È richiesta almeno una condizione di attivazione.", "add-create-alarm-rule": "Aggiungi condizione di attivazione", - "add-clear-alarm-rule": "Aggiungi condizione di cancellazione", + "add-clear-alarm-rule": "Aggiungi condizione di risoluzione", "condition-duration": "Durata condizione", "condition-duration-value": "Valore durata", "condition-duration-time-unit": "Unità di tempo", @@ -1675,8 +1788,8 @@ "condition-repeating-value-pattern": "Il conteggio degli eventi deve essere un numero intero.", "condition-repeating-value-required": "Il conteggio degli eventi è obbligatorio.", "create-conditions": "Condizioni di attivazione", - "clear-condition": "Condizione di cancellazione", - "no-clear-alarm-rule": "Nessuna condizione di cancellazione configurata.", + "clear-condition": "Condizione di risoluzione", + "no-clear-alarm-rule": "Nessuna condizione di risoluzione configurata.", "advanced-settings": "Impostazioni avanzate", "propagate-alarm": "Propaga allarme alle entità correlate", "alarm-rule-relation-types-list": "Tipi di relazione", @@ -1761,13 +1874,13 @@ "action-use": "Usa" }, "ai-models": { - "ai-models": "Modelli AI", - "ai-model": "Modello AI", - "ai-model-view": "Visualizza modello AI", + "ai-models": "Modelli IA", + "ai-model": "Modello IA", + "ai-model-view": "Visualizza modello IA", "model": "Modello", "name": "Nome", - "ai-provider": "Fornitore AI", - "no-found": "Nessun modello AI trovato", + "ai-provider": "Fornitore IA", + "no-found": "Nessun modello IA trovato", "list": "{ count, plural, =1 {Un modello} other {Elenco di # modelli} }", "selected-fields": "{ count, plural, =1 {1 modello} other {# modelli} } selezionati", "add": "Aggiungi modello", @@ -1783,7 +1896,7 @@ "mistral-ai": "Mistral AI", "anthropic": "Anthropic", "amazon-bedrock": "Amazon Bedrock", - "github-models": "Modelli GitHub", + "github-models": "GitHub Models", "ollama": "Ollama" }, "name-required": "Il nome è obbligatorio.", @@ -1893,6 +2006,7 @@ "enter-username": "Inserisci nome utente", "enter-password": "Inserisci password", "enter-search": "Inserisci ricerca", + "all": "Tutti", "created-time": "Ora di creazione", "disabled": "Disabilitato", "loading": "Caricamento...", @@ -2013,14 +2127,16 @@ "content-type": { "json": "Json", "text": "Testo", - "binary": "Binario (Base64)" + "binary": "Binario (Base64)", + "hex": "Binario (Hex)" }, "color": { "color": "Colore", "color-picker": "Selettore colore", "primary-colors": "Colori primari", "accent-colors": "Colori di accento", - "no-color-selected": "Nessun colore selezionato" + "no-color-selected": "Nessun colore selezionato", + "default": "Predefinito" }, "customer": { "all": "Tutti", @@ -2030,6 +2146,7 @@ "hierarchy": "Gerarchia", "customer": "Cliente", "customers": "Clienti", + "customers-and-users": "Clienti e utenti", "management": "Gestione clienti", "dashboard": "Dashboard cliente", "dashboards": "Dashboard clienti", @@ -2097,12 +2214,13 @@ "group-name-starts-with": "Gruppi clienti i cui nomi iniziano con '{{prefix}}'", "select-default-customer": "Seleziona cliente predefinito", "default-customer": "Cliente predefinito", - "default-customer-required": "Il cliente predefinito è obbligatorio per eseguire il debug del dashboard a livello di Tenant", + "default-customer-required": "Il cliente predefinito è obbligatorio per eseguire il debug della dashboard a livello di Tenant", "allow-white-labeling": "Consenti white labeling", "search": "Cerca clienti", "selected-customers": "{ count, plural, =1 {1 cliente} other {# clienti} } selezionato/i", "edges": "Istanza edge cliente", - "manage-edges": "Gestisci edge" + "manage-edges": "Gestisci edge", + "manage-agents": "Gestisci gli Agent" }, "customers-hierarchy": { "customers-hierarchy": "Gerarchia clienti", @@ -2263,6 +2381,8 @@ "no-widgets": "Nessun widget configurato", "add-widget": "Aggiungi nuovo widget", "add-widget-button-text": "Aggiungi widget", + "edit-html-page": "Modifica pagina HTML", + "html-page": "Pagina HTML", "title": "Titolo", "image": "Immagine dashboard", "mobile-app-settings": "Impostazioni applicazione mobile", @@ -2272,6 +2392,7 @@ "update-new-version": "Carica nuova versione", "upload-file-to-update": "Carica file per aggiornamento", "take-screenshot": "Cattura screenshot", + "take-screenshot-failed": "Impossibile acquisire lo screenshot della dashboard. Riprova.", "select-widget-title": "Seleziona widget", "select-widget-value": "{{title}}: seleziona widget", "select-widget-subtitle": "Elenco dei tipi di widget disponibili", @@ -2285,20 +2406,20 @@ "assign-dashboards": "Assegna dashboard", "assign-new-dashboard": "Assegna nuova dashboard", "assign-dashboards-text": "Assegna { count, plural, =1 {1 dashboard} other {# dashboard} } ai clienti", - "unassign-dashboards-action-text": "Disassegna { count, plural, =1 {1 dashboard} other {# dashboard} } dai clienti", + "unassign-dashboards-action-text": "Rimuovi assegnazione di { count, plural, =1 {1 dashboard} other {# dashboard} } dai clienti", "delete-dashboards": "Elimina dashboard", - "unassign-dashboards": "Disassegna dashboard", - "unassign-dashboards-action-title": "Disassegna { count, plural, =1 {1 dashboard} other {# dashboard} } dal cliente", + "unassign-dashboards": "Rimuovi assegnazione dashboard", + "unassign-dashboards-action-title": "Rimuovi assegnazione di { count, plural, =1 {1 dashboard} other {# dashboard} } dal cliente", "delete-dashboard-title": "Sei sicuro di voler eliminare la dashboard '{{dashboardTitle}}'?", "delete-dashboard-text": "Attenzione, dopo la conferma la dashboard e tutti i dati associati saranno irrimediabilmente persi.", "delete-dashboards-title": "Sei sicuro di voler eliminare { count, plural, =1 {1 dashboard} other {# dashboard} }?", "delete-dashboards-action-title": "Elimina { count, plural, =1 {1 dashboard} other {# dashboard} }", "delete-dashboards-text": "Attenzione, dopo la conferma tutte le dashboard selezionate saranno eliminate e tutti i dati correlati saranno irrimediabilmente persi.", - "unassign-dashboard-title": "Sei sicuro di voler disassegnare la dashboard '{{dashboardTitle}}'?", - "unassign-dashboard-text": "Dopo la conferma la dashboard sarà disassegnata e non sarà accessibile dal cliente.", - "unassign-dashboard": "Disassegna dashboard", - "unassign-dashboards-title": "Sei sicuro di voler disassegnare { count, plural, =1 {1 dashboard} other {# dashboard} }?", - "unassign-dashboards-text": "Dopo la conferma tutte le dashboard selezionate saranno disassegnate e non saranno accessibili dal cliente.", + "unassign-dashboard-title": "Sei sicuro di voler rimuovere l'assegnazione della dashboard '{{dashboardTitle}}'?", + "unassign-dashboard-text": "Dopo la conferma la dashboard non sarà più assegnata né accessibile dal cliente.", + "unassign-dashboard": "Rimuovi assegnazione dashboard", + "unassign-dashboards-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, =1 {1 dashboard} other {# dashboard} }?", + "unassign-dashboards-text": "Dopo la conferma tutte le dashboard selezionate non saranno più assegnate né accessibili dal cliente.", "public-dashboard-title": "La dashboard è ora pubblica", "public-dashboard-text": "La tua dashboard {{dashboardTitle}} è ora pubblica e accessibile tramite il seguente link:", "public-dashboard-notice": "Nota: Non dimenticare di rendere pubblici i dispositivi correlati per accedere ai loro dati.", @@ -2335,6 +2456,7 @@ "layout-type-default": "Predefinito", "layout-type-scada": "SCADA", "layout-type-divider": "Divisore", + "layout-type-html": "Pagina HTML", "layout-settings-type": "Impostazioni layout: breakpoint {{ type }}", "columns-count": "Numero colonne", "columns-count-required": "Il numero di colonne è obbligatorio.", @@ -2378,6 +2500,7 @@ "display-dashboard-timewindow": "Visualizza intervallo temporale", "display-dashboard-export": "Visualizza esportazione", "display-update-dashboard-image": "Visualizza aggiornamento immagine dashboard", + "display-configure-with-ai": "Mostra il pulsante \"Configura con l'IA\"", "dashboard-logo-settings": "Impostazioni logo dashboard", "display-dashboard-logo": "Visualizza logo in modalità schermo intero", "dashboard-logo-image": "Immagine logo dashboard", @@ -2448,9 +2571,9 @@ "group": "Gruppo di dashboard", "list-of-groups": "{ count, plural, =1 {Un gruppo di dashboard} other {Elenco di # gruppi di dashboard} }", "group-name-starts-with": "Gruppi di dashboard i cui nomi iniziano con '{{prefix}}'", - "unassign-dashboard-from-edge-text": "Dopo la conferma la dashboard sarà disassegnata e non sarà più accessibile dall'edge.", - "unassign-dashboards-from-edge-title": "Sei sicuro di voler disassegnare { count, plural, =1 {1 dashboard} other {# dashboard} }?", - "unassign-dashboards-from-edge-text": "Dopo la conferma tutte le dashboard selezionate saranno disassegnate e non saranno più accessibili dall'edge.", + "unassign-dashboard-from-edge-text": "Dopo la conferma la dashboard non sarà più assegnata né accessibile dall'edge.", + "unassign-dashboards-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, =1 {1 dashboard} other {# dashboard} }?", + "unassign-dashboards-from-edge-text": "Dopo la conferma tutte le dashboard selezionate non saranno più assegnate né accessibili dall'edge.", "assign-dashboard-to-edge": "Assegna Dashboard a Edge", "assign-dashboard-to-edge-text": "Seleziona le dashboard da assegnare all'edge", "non-existent-dashboard-state-error": "Stato dashboard con ID \"{{ stateId }}\" non trovato", @@ -2539,10 +2662,10 @@ "absolute": "assoluto" }, "datasource": { - "type": "Tipo sorgente dati", + "type": "Tipo origine dati", "name": "Nome", "label": "Etichetta", - "add-datasource-prompt": "Aggiungi una sorgente dati" + "add-datasource-prompt": "Aggiungi un'origine dati" }, "details": { "details": "Dettagli", @@ -2743,6 +2866,8 @@ "loading-check-connectivity-command": "Caricamento dei comandi per la verifica della connettività...", "use-following-instructions": "Usa le seguenti istruzioni per inviare la telemetria per conto del dispositivo tramite shell", "execute-following-command": "Esegui il seguente comando", + "step-execute-following-command": "Passaggio 2. Esegui il seguente comando", + "step-install-necessary-client-tools": "Passaggio 1. Installa gli strumenti client necessari", "install-curl-windows": "A partire da Windows 10 b17063, cURL è disponibile di default", "install-curl-macos": "A partire da Mac OS X 10.2 6C115 (Jaguar), cURL è disponibile di default", "install-mqtt-windows": "Utilizza le istruzioni per scaricare, installare, configurare ed eseguire mosquitto_pub", @@ -3010,12 +3135,12 @@ "create-alarm-rules": "Crea regole allarme", "no-create-alarm-rules": "Nessuna condizione di creazione configurata", "add-create-alarm-rule-prompt": "Aggiungi una regola di creazione allarme", - "clear-alarm-rule": "Regola di cancellazione allarme", - "no-clear-alarm-rule": "Nessuna condizione di cancellazione configurata", + "clear-alarm-rule": "Regola di risoluzione allarme", + "no-clear-alarm-rule": "Nessuna condizione di risoluzione configurata", "add-create-alarm-rule": "Aggiungi condizione di creazione", - "add-clear-alarm-rule": "Aggiungi condizione di cancellazione", - "select-alarm-severity": "Seleziona severità allarme", - "alarm-severity-required": "Severità allarme obbligatoria.", + "add-clear-alarm-rule": "Aggiungi condizione di risoluzione", + "select-alarm-severity": "Seleziona la gravità dell'allarme", + "alarm-severity-required": "La gravità dell'allarme è obbligatoria.", "condition-duration": "Durata condizione", "condition-duration-value": "Valore durata", "condition-duration-time-unit": "Unità di tempo", @@ -3141,6 +3266,9 @@ "observe-label": "Osserva", "attribute-label": "Attributo", "telemetry-label": "Telemetria", + "select-all-attribute": "Seleziona tutti gli attributi", + "select-all-telemetry": "Seleziona tutta la telemetria", + "select-all-observe": "Seleziona tutte le risorse osservate", "edit-observe-select": "Per modificare l’osservazione, seleziona telemetria o attributo", "edit-attributes-select": "Per modificare gli attributi, seleziona telemetria o attributo", "no-attributes-set": "Nessun attributo impostato", @@ -3335,6 +3463,12 @@ "edge": "Edge", "edge-instances": "Istanza edge", "instances": "Istanze", + "edges": "Edge", + "profiles": "Profili", + "templates": "Modelli", + "rule-chain": "Catena di regole", + "integration": "Integrazione", + "converter": "Convertitore", "edge-file": "File edge", "name-max-length": "Il nome deve essere inferiore a 256 caratteri", "label-max-length": "L'etichetta deve essere inferiore a 256 caratteri", @@ -3380,11 +3514,11 @@ "assignedToCustomer": "Assegnato al cliente", "edge-public": "Edge è pubblico", "assigned-to-customer": "Assegnato a: {{customerTitle}}", - "unassign-from-customer": "Disassegna dal cliente", - "unassign-edge-title": "Sei sicuro di voler disassegnare l'edge '{{edgeName}}'?", - "unassign-edge-text": "Dopo la conferma, l'edge sarà disassegnato e non sarà più accessibile dal cliente.", - "unassign-edges-title": "Sei sicuro di voler disassegnare { count, plural, =1 {1 edge} other {# edges} }?", - "unassign-edges-text": "Dopo la conferma, tutti gli edge selezionati saranno disassegnati e non più accessibili dal cliente.", + "unassign-from-customer": "Rimuovi assegnazione dal cliente", + "unassign-edge-title": "Sei sicuro di voler rimuovere l'assegnazione dell'edge '{{edgeName}}'?", + "unassign-edge-text": "Dopo la conferma, l'edge non sarà più assegnato né accessibile dal cliente.", + "unassign-edges-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, =1 {1 edge} other {# edge} }?", + "unassign-edges-text": "Dopo la conferma, tutti gli edge selezionati non saranno più assegnati né accessibili dal cliente.", "make-public": "Rendi edge pubblico", "make-public-edge-title": "Sei sicuro di voler rendere pubblico l'edge '{{edgeName}}'?", "make-public-edge-text": "Dopo la conferma, l'edge e tutti i suoi dati saranno resi pubblici e accessibili da altri.", @@ -3399,7 +3533,7 @@ "label": "Etichetta", "load-entity-error": "Errore nel caricamento dei dati. L'entità è stata eliminata.", "assign-new-edge": "Assegna nuovo edge", - "unassign-from-edge": "Disassegna da edge", + "unassign-from-edge": "Rimuovi assegnazione dall'edge", "edge-key": "Chiave edge", "copy-edge-key": "Copia chiave edge", "edge-key-copied-message": "Chiave edge copiata negli appunti", @@ -3438,7 +3572,7 @@ "sync-process-started-successfully": "Processo di sincronizzazione avviato con successo!", "missing-related-rule-chains-title": "Mancano catene di regole correlate nell'edge", "missing-related-rule-chains-text": "Le catene di regole assegnate all'edge usano nodi che inoltrano messaggi a catene non assegnate.

    Elenco delle catene mancanti:
    {{missingRuleChains}}", - "widget-datasource-error": "Questo widget supporta solo sorgenti dati di tipo EDGE", + "widget-datasource-error": "Questo widget supporta solo origini dati di entità Edge", "assign-to-edge": "Assegna a edge", "assign-to-edge-title": "Assegna gruppo di entità a Edge", "manage-edge-user-groups": "Gestisci gruppi utente edge", @@ -3455,17 +3589,17 @@ "group": "Gruppo di edge", "list-of-groups": "{ count, plural, =1 {Un gruppo edge} other {Lista di # gruppi edge} }", "group-name-starts-with": "Gruppi edge i cui nomi iniziano con '{{prefix}}'", - "unassign-entity-group-from-edge-title": "Sei sicuro di voler disassegnare il gruppo di entità '{{ entityGroupName }}'?", - "unassign-entity-group-from-edge-text": "Dopo la conferma il gruppo sarà disassegnato e non sarà più accessibile dall'edge.", - "unassign-entity-group-from-edge": "Disassegna gruppo da edge", - "unassign-entity-groups-from-edge-title": "Sei sicuro di voler disassegnare {{count}} gruppi di entità?", - "unassign-entity-groups-from-edge-text": "Dopo la conferma i gruppi saranno disassegnati e non più accessibili dall'edge.", - "unassign-entity-groups-from-edge": "Disassegna gruppi di entità da edge", - "unassign-scheduler-events-from-edge": "Disassegna eventi pianificati da edge", - "unassign-scheduler-event-from-edge-title": "Sei sicuro di voler disassegnare l'evento pianificato '{{schedulerEventName}}'?", - "unassign-scheduler-event-from-edge-text": "Dopo la conferma l'evento sarà disassegnato e non più accessibile dall'edge.", - "unassign-scheduler-events-from-edge-title": "Sei sicuro di voler disassegnare { count, plural, =1 {1 evento pianificato} other {# eventi pianificati} }?", - "unassign-scheduler-events-from-edge-text": "Dopo la conferma tutti gli eventi pianificati selezionati saranno disassegnati e non più accessibili dall'edge.", + "unassign-entity-group-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione del gruppo di entità '{{ entityGroupName }}'?", + "unassign-entity-group-from-edge-text": "Dopo la conferma il gruppo non sarà più assegnato né accessibile dall'edge.", + "unassign-entity-group-from-edge": "Rimuovi assegnazione gruppo dall'edge", + "unassign-entity-groups-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione di {{count}} gruppi di entità?", + "unassign-entity-groups-from-edge-text": "Dopo la conferma i gruppi non saranno più assegnati né accessibili dall'edge.", + "unassign-entity-groups-from-edge": "Rimuovi assegnazione gruppi di entità dall'edge", + "unassign-scheduler-events-from-edge": "Rimuovi assegnazione eventi pianificati dall'edge", + "unassign-scheduler-event-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione dell'evento pianificato '{{schedulerEventName}}'?", + "unassign-scheduler-event-from-edge-text": "Dopo la conferma l'evento non sarà più assegnato né accessibile dall'edge.", + "unassign-scheduler-events-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, =1 {1 evento pianificato} other {# eventi pianificati} }?", + "unassign-scheduler-events-from-edge-text": "Dopo la conferma tutti gli eventi pianificati selezionati non saranno più assegnati né accessibili dall'edge.", "manage-user-groups": "Gestisci gruppi utente", "manage-asset-groups": "Gestisci gruppi asset", "manage-device-groups": "Gestisci gruppi dispositivi", @@ -3484,8 +3618,647 @@ "missing-all-related-attributes-text": "Gli edge collegati all'integrazione non contengono gli attributi specificati nella configurazione.

    Attributi edge mancanti:
    {{missingEdgeAttributes}}", "quick-overview-widget-header": "Panoramica rapida di {{edgeName}}", "upgrade-instructions": "Istruzioni di aggiornamento", + "managed-application": "Applicazione gestita", + "app-upgrade-available": "Upgrade disponibile", "connected": "Connesso", - "disconnected": "Disconnesso" + "disconnected": "Disconnesso", + "auto-provision": "Provisioning automatico", + "auto-provision-title": "Provisioning automatico dell'Edge", + "auto-provision-subtitle": "Genera un comando Docker run — l'Edge e il relativo Agent vengono creati automaticamente quando il comando viene eseguito sulla macchina di destinazione.", + "auto-provision-step-select": "Profilo Agent", + "auto-provision-step-script": "Script di provisioning", + "auto-provision-agent-profile-label": "Profilo Agent", + "auto-provision-agent-profile-placeholder": "Seleziona o crea un profilo Agent", + "auto-provision-no-eligible-profiles": "Nessun profilo idoneo trovato. Usa il pulsante a destra per crearne uno.", + "auto-provision-create-profile": "Crea profilo", + "auto-provision-validating": "Convalida del profilo Agent…", + "auto-provision-valid": "Pronto per il provisioning — a '{{profile}}' è assegnato un profilo applicazione EDGE.", + "auto-provision-invalid-strategy": "La strategia di provisioning di questo profilo non installa automaticamente le applicazioni. Scegli un profilo con una strategia di installazione automatica.", + "auto-provision-invalid-no-edge-app-profile": "A questo profilo non è assegnato alcun profilo applicazione EDGE. Usa il pulsante per assegnarne uno.", + "auto-provision-info-title": "Come funziona", + "auto-provision-info-body": "Una volta creato un profilo Agent, viene generato un comando Docker run. Quando viene eseguito su una macchina di destinazione, ThingsBoard crea automaticamente l'Agent — e l'entità Edge a esso associata — utilizzando le credenziali incorporate nel comando. L'Edge viene configurato automaticamente in base al profilo applicazione assegnato al profilo Agent. Non è necessario creare manualmente l'Edge.", + "auto-provision-success-message": "Il profilo Agent è pronto. Esegui il comando su qualsiasi macchina di destinazione per eseguire il provisioning di un nuovo Edge.", + "auto-provision-script-hint": "Esegui questo comando su ogni macchina che deve diventare un Edge. Ogni esecuzione effettua il provisioning di una coppia Agent + Edge.", + "auto-provision-open-profile": "Apri profilo", + "auto-provision-no-script": "Le credenziali di provisioning mancano in questo profilo. Apri il profilo per rigenerarle." + }, + "agent": { + "agents": "Agent", + "agent-profiles": "Profili Agent", + "app-profiles": "Profili applicazione", + "templates": "Modelli", + "agent-templates": "Modelli Agent", + "add": "Aggiungi Agent", + "add-agent-text": "Aggiungi nuovo Agent", + "auto-provision": "Provisioning automatico", + "auto-provision-title": "Provisioning automatico Agent", + "auto-provision-step-select": "Profilo Agent", + "auto-provision-step-script": "Script di provisioning", + "auto-provision-valid": "Pronto per il provisioning — '{{profile}}' ha il provisioning abilitato.", + "auto-provision-info-title": "Come funziona", + "auto-provision-info-body": "Una volta creato un profilo Agent, viene generato un comando Docker run. Quando il comando viene eseguito su una macchina di destinazione, ThingsBoard crea automaticamente l'Agent usando le credenziali incluse nel comando. L'Agent viene configurato automaticamente in base al profilo Agent. Non è necessario creare manualmente l'Agent.", + "auto-provision-success-message": "Il profilo Agent è pronto. Esegui il comando su qualsiasi macchina di destinazione per effettuare il provisioning di un nuovo Agent.", + "auto-provision-script-hint": "Esegui questo comando su ogni macchina che deve eseguire un Agent. Ogni esecuzione effettua il provisioning di un solo Agent.", + "add-profile": "Aggiungi profilo Agent", + "add-app-profile": "Aggiungi profilo applicazione", + "add-application": "Aggiungi applicazione", + "agent-details": "Dettagli Agent", + "profile-details": "Dettagli profilo Agent", + "app-profile-details": "Dettagli profilo applicazione", + "template-details": "Dettagli modello Agent", + "application-details": "Dettagli applicazione", + "no-agents-text": "Nessun Agent trovato", + "no-agent-profiles-text": "Nessun profilo Agent trovato", + "no-app-profiles-text": "Nessun profilo applicazione trovato", + "no-templates-text": "Nessun modello Agent trovato", + "no-applications-text": "Nessuna applicazione trovata", + "no-events-text": "Nessun evento trovato", + "search": "Cerca Agent", + "search-profiles": "Cerca profili Agent", + "search-app-profiles": "Cerca profili applicazione", + "search-templates": "Cerca modelli", + "search-applications": "Cerca applicazioni", + "search-events": "Cerca eventi", + "selected-agents": "{ count, plural, =1 {1 Agent selezionato} one {# Agent selezionato} other {# Agent selezionati} }", + "selected-agent-profiles": "{ count, plural, =1 {1 profilo Agent selezionato} one {# profilo Agent selezionato} other {# profili Agent selezionati} }", + "selected-app-profiles": "{ count, plural, =1 {1 profilo app selezionato} one {# profilo app selezionato} other {# profili app selezionati} }", + "selected-applications": "{ count, plural, =1 {1 applicazione selezionata} one {# applicazione selezionata} other {# applicazioni selezionate} }", + "name": "Nome", + "name-required": "Il nome è obbligatorio.", + "name-max-length": "Il nome deve contenere meno di 256 caratteri", + "routing-key": "Chiave di routing", + "secret": "Segreto", + "description": "Descrizione", + "profile-name": "Nome del profilo", + "profile-name-placeholder": "Agent di produzione", + "profile-name-required": "Il nome del profilo è obbligatorio.", + "provision-type": "Tipo di provisioning", + "provision-key": "Chiave di provisioning", + "provision-secret": "Segreto di provisioning", + "app-type": "Tipo di applicazione", + "current-version": "Versione corrente", + "next-version": "Versione successiva", + "assigned-to-customer": "Assegnato al cliente", + "assign-to-customer": "Assegna al cliente", + "unassign-from-customer": "Rimuovi assegnazione dal cliente", + "assign-agents-to-customer": "Assegna Agent al cliente", + "assign-to-customer-text": "Seleziona il cliente a cui assegnare gli Agent", + "unassign-agents-from-customer": "Rimuovi l'assegnazione degli Agent dal cliente", + "delete": "Elimina Agent", + "delete-profile": "Elimina profilo", + "set-default-profile": "Imposta il profilo Agent come predefinito", + "set-default-profile-title": "Sei sicuro di voler impostare il profilo Agent '{{profileName}}' come predefinito?", + "set-default-profile-text": "Dopo la conferma, il profilo Agent sarà contrassegnato come predefinito e verrà utilizzato per i nuovi Agent senza un profilo specificato.", + "default-profile": "Predefinito", + "agent-profile-required": "Il profilo Agent è obbligatorio.", + "edit-profile": "Modifica profilo Agent", + "no-agent-profiles-found": "Nessun profilo Agent trovato", + "no-agent-profiles-matching": "Nessun profilo Agent corrispondente a '{{entity}}' trovato", + "create-new-agent-profile": "Crea nuovo profilo Agent", + "add-profile-step-details": "Dettagli profilo", + "add-profile-step-app-profiles": "Profili applicazione", + "add-profile-app-profiles-hint-title": "Perché assegnare i profili applicazione?", + "add-profile-app-profiles-hint": "I profili applicazione assegnati determinano le operazioni in blocco (aggiornamento, upgrade, eliminazione) sulle applicazioni che vi fanno riferimento — le applicazioni gestite dagli Agent che usano il profilo '{{profileName}}'. Scegli profili applicazione esistenti o creane di nuovi direttamente qui.", + "application-profiles": "Profili applicazione", + "create-new-application-profile": "Crea nuovo profilo applicazione", + "create-new": "Crea nuovo", + "delete-app-profile": "Elimina profilo applicazione", + "copy-profile-id": "Copia ID profilo", + "profile-id-copied-message": "L'ID profilo è stato copiato negli appunti", + "app-profile-wizard-title": "Crea profilo applicazione", + "app-profile-wizard-edit-title": "Aggiorna profilo applicazione", + "app-update-current-config": "Configurazione corrente dell'applicazione", + "app-update-future-config": "Configurazione futura dell'applicazione", + "app-update-edit-profile": "Aggiorna profilo", + "app-update-compare-hint": "Confronto in sola lettura tra la configurazione corrente di questa applicazione (a sinistra) e la configurazione che riceverà dal profilo assegnato, con le credenziali unite (a destra).", + "app-install-custom-config": "Avanzato", + "app-install-from-profile": "Predefinito", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "Un ThingsBoard Agent installa, aggiorna e monitora questa distribuzione da remoto tramite il cloud — nessun comando Docker manuale né manutenzione sulla macchina di destinazione.", + "deploy-select-agent-step": "Seleziona Agent", + "deploy-intro": "Esegui la distribuzione su una macchina remota usando un ThingsBoard Agent. Seleziona un Agent esistente in esecuzione sulla macchina di destinazione o creane uno nuovo.", + "deploy-agent": "Agent", + "deploy-create-new": "Crea nuovo", + "deploy-no-agents": "Nessun Agent trovato", + "deploy-no-agents-matching": "Nessun Agent corrispondente a '{{entity}}'", + "deploy-already-managed": "Questa entità è già gestita dall'applicazione Agent \"{{name}}\".", + "deploy-open-agent": "Vai all'Agent", + "deploy-open-app": "Vai all'applicazione Agent", + "deploy-install-step": "Installa", + "deploy-status-hero": "Un ThingsBoard Agent sta installando, aggiornando e monitorando questa distribuzione da remoto tramite il cloud — nessun comando Docker manuale né manutenzione sulla macchina di destinazione.", + "deploy-status-online-title": "Il tuo Agent è online", + "deploy-status-offline-title": "Il tuo Agent è offline", + "deploy-status-managing": "gestisce questa distribuzione. Non devi fare nient'altro qui.", + "deploy-status-managing-for": "gestisce questa distribuzione da {{duration}}. Non devi fare nient'altro qui.", + "deploy-status-offline-desc": "non è raggiungibile al momento. La connessione riprenderà automaticamente quando l'Agent si riconnetterà.", + "deploy-status-duration-days": "{{count}} g", + "deploy-status-duration-hours": "{{count}} h", + "deploy-status-duration-minutes": "{{count}} min", + "deploy-status-healthy": "Operativo", + "deploy-status-unhealthy": "Offline", + "deploy-status-need-reinstall": "Devi reinstallare?", + "deploy-status-show-install": "Mostra comando di installazione", + "deploy-status-hide-install": "Nascondi", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "Il dispositivo Agent che gestisce questa distribuzione — telemetria e ciclo di vita.", + "deploy-status-card-app-title": "Applicazione Agent", + "deploy-status-card-app-desc": "L'applicazione eseguita da questo Agent — servizi, stato e log.", + "deploy-status-card-events-title": "Eventi Agent", + "deploy-status-card-events-desc": "Flusso in tempo reale di installazioni, aggiornamenti, riavvii ed errori.", + "deploy-status-edge-ui-title": "Apri l'interfaccia utente di ThingsBoard Edge", + "deploy-status-edge-ui-desc": "Una volta avviato il servizio Edge, apri l'interfaccia web di Edge all'indirizzo http://localhost:8080 oppure http://localhost:18080 se hai modificato la configurazione della porta di binding HTTP nel passaggio precedente. Accedi con le credenziali del tuo tenant sul ThingsBoard Server locale o su ThingsBoard Cloud.", + "app-install-select-profile": "Profilo applicazione", + "app-install-no-profiles": "Nessun profilo applicazione trovato", + "app-install-virtual-profile-badge": "Preconfigurato", + "app-install-virtual-profile-hint": "Questo profilo non esiste ancora. Verrà creato automaticamente dal modello quando lo selezioni.", + "app-install-profile-materialize-failed": "Impossibile creare il profilo applicazione preconfigurato.", + "quick-start-title": "Avvio rapido — profili preconfigurati", + "quick-start-subtitle": "Crea con un clic un profilo Edge o Gateway preconfigurato. Nessuna configurazione necessaria.", + "quick-start-filter-all": "Tutti", + "quick-start-all-created": "Tutti i profili preconfigurati sono stati creati.", + "quick-start-no-match": "Nessun profilo preconfigurato corrisponde a questo filtro.", + "quick-start-profile-created": "Profilo applicazione \"{{profileName}}\" creato", + "add-profile-assignments-load-failed": "Impossibile caricare i profili applicazione attualmente assegnati. Salvando, le assegnazioni esistenti resteranno invariate.", + "app-profile-wizard-cta": "Crea profilo", + "app-profile-wizard-confirm-info": "Il profilo applicazione verrà creato con il modello e la configurazione compose selezionati. Potrai modificarlo in seguito dalla pagina dei dettagli del profilo.", + "app-profile-name": "Nome del profilo", + "app-profile-name-placeholder-edge": "Profilo applicazione Silo Edge", + "app-profile-name-placeholder-gateway": "Profilo applicazione Silo Gateway", + "app-profile-name-placeholder-generic": "Profilo applicazione Silo", + "app-profile-step-save": "Salva profilo", + "app-profile-description": "Descrizione", + "copy-id": "Copia ID Agent", + "copy-routing-key": "Copia chiave di routing", + "copy-secret": "Copia segreto", + "copy-provision-key": "Copia chiave di provisioning", + "copy-provision-secret": "Copia segreto di provisioning", + "id-copied-message": "L'ID Agent è stato copiato negli appunti", + "routing-key-copied-message": "La chiave di routing è stata copiata negli appunti", + "secret-copied-message": "Il segreto è stato copiato negli appunti", + "provision-key-copied-message": "La chiave di provisioning è stata copiata negli appunti", + "provision-secret-copied-message": "Il segreto di provisioning è stato copiato negli appunti", + "delete-agent-title": "Sei sicuro di voler eliminare l'Agent '{{agentName}}'?", + "delete-agent-text": "Attenzione, dopo la conferma l'Agent e tutti i dati correlati non saranno più recuperabili.", + "delete-agents-title": "Sei sicuro di voler eliminare { count, plural, other {# Agent} }?", + "delete-agents-text": "Attenzione, dopo la conferma tutti gli Agent selezionati verranno rimossi e tutti i dati correlati non saranno più recuperabili.", + "unassign-agent-title": "Sei sicuro di voler rimuovere l'assegnazione dell'Agent '{{agentName}}'?", + "unassign-agent-text": "Dopo la conferma l'Agent non sarà più assegnato né accessibile dal cliente.", + "unassign-agents-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, other {# Agent} }?", + "unassign-agents-text": "Dopo la conferma tutti gli Agent selezionati non saranno più assegnati né accessibili dal cliente.", + "delete-profile-title": "Sei sicuro di voler eliminare il profilo '{{profileName}}'?", + "delete-profile-text": "Attenzione, dopo la conferma il profilo e tutti i dati correlati non saranno più recuperabili.", + "delete-profiles-title": "Sei sicuro di voler eliminare { count, plural, one {# profilo} other {# profili} }?", + "delete-profiles-text": "Attenzione, dopo la conferma tutti i profili selezionati verranno rimossi e tutti i dati correlati non saranno più recuperabili.", + "delete-app-profile-title": "Sei sicuro di voler eliminare il profilo app '{{profileName}}'?", + "delete-app-profile-text": "Attenzione, dopo la conferma il profilo app e tutti i dati correlati non saranno più recuperabili.", + "delete-app-profiles-title": "Sei sicuro di voler eliminare { count, plural, one {# profilo app} other {# profili app} }?", + "delete-app-profiles-text": "Attenzione, dopo la conferma tutti i profili app selezionati verranno rimossi e tutti i dati correlati non saranno più recuperabili.", + "status": "Stato", + "online": "Online", + "offline": "Offline", + "app-errors": "Errori", + "app-errors-recent": "Ultimi {{count}} eventi di errore:", + "app-errors-open-events": "Fai clic per aprire la scheda eventi", + "online-hint": "L'Agent è attualmente connesso alla piattaforma", + "offline-hint": "L'Agent non è connesso alla piattaforma", + "agent-profile": "Profilo Agent", + "no-profile": "Nessun profilo", + "applications": "Applicazioni", + "manage-applications": "Gestisci applicazioni", + "app-name": "Nome", + "app-template": "Modello", + "app-units": "Unità", + "app-origin": "Origine", + "app-profile-in-sync": "Sincronizzato con profilo applicazione", + "app-profile-in-sync-yes": "Sincronizzato con il profilo applicazione", + "app-profile-in-sync-no": "Non sincronizzato con il profilo applicazione", + "app-profile-in-sync-na": "Nessun profilo applicazione assegnato", + "app-upgrade-to": "Effettua l'upgrade a {{version}}", + "app-restart": "Riavvia", + "app-upgrade": "Effettua l'upgrade", + "app-delete": "Elimina", + "app-update": "Aggiorna", + "app-update-title": "Aggiornare {{name}}?", + "app-update-text": "Invia la configurazione salvata all'Agent. L'Agent ridistribuirà l'applicazione usando l'ultimo compose salvato.", + "app-version-upgrade-available-title": "Upgrade disponibile", + "app-version-mismatch-title": "Versione del modello non corrispondente", + "app-assign-upgrade-available-text": "Il profilo '{{profileName}}' usa la versione del modello {{profileVersion}}, mentre questa applicazione è sulla {{appVersion}}. Per questa applicazione è disponibile un upgrade a {{profileVersion}}. Se assegni direttamente il profilo, l'applicazione passerà a {{profileVersion}} senza eseguire i passaggi di upgrade (ad es. gli script di upgrade del database). Usa l'azione di upgrade per cambiare versione in sicurezza.", + "app-assign-version-mismatch-text": "Il profilo '{{profileName}}' usa la versione del modello {{profileVersion}}, ma questa applicazione è sulla versione {{appVersion}}. Se lo assegni, l'applicazione passerà a {{profileVersion}} senza eseguire alcun passaggio di upgrade o downgrade e potrebbe restare in uno stato incoerente. Usa l'azione di upgrade per cambiare versione in sicurezza.", + "app-assign-anyway": "Assegna comunque", + "app-assign-upgrade-first": "Effettua prima l'upgrade", + "app-update-drift-title": "La versione del profilo assegnato è diversa", + "app-update-drift-text": "Il profilo assegnato '{{profileName}}' è alla versione del modello {{profileVersion}}, mentre questa applicazione è alla {{appVersion}}. L'aggiornamento ridistribuirà l'applicazione con la sua configurazione corrente — la configurazione del profilo non verrà applicata. Usa l'azione di upgrade per passare alla {{profileVersion}}.", + "app-update-anyway": "Aggiorna comunque", + "app-profile-drifted-hint": "Il profilo è alla versione del modello {{version}}. L'aggiornamento non la applicherà — effettua l'upgrade.", + "app-arguments-profile-managed-hint": "Gli argomenti personalizzati sono gestiti dal profilo applicazione assegnato. Modificali nella pagina del profilo.", + "app-current-version": "Versione corrente", + "app-profile-version": "Versione del profilo", + "app-name-required": "Il nome dell'applicazione è obbligatorio.", + "app-compose": "Configurazione Docker Compose", + "arguments": "Argomenti personalizzati", + "arguments-hint-prefix": "Segnaposto risolti al momento della distribuzione. Richiamali nel compose come", + "arguments-empty": "Nessun argomento personalizzato definito.", + "arguments-empty-read-title": "Nessun argomento personalizzato definito", + "arguments-empty-read-hint": "Il compose viene distribuito con i suoi valori così come sono.", + "arguments-empty-write-title": "Ancora nessun argomento personalizzato", + "arguments-empty-write-hint": "Aggiungi un segnaposto per inserire nel compose un attributo o un valore di telemetria dell'entità al momento della distribuzione.", + "argument-settings": "Impostazioni dell'argomento", + "argument-add": "Aggiungi argomento", + "argument-remove": "Rimuovi argomento", + "argument-name": "Nome", + "argument-name-required": "Il nome dell'argomento è obbligatorio.", + "argument-name-pattern": "Sono consentiti solo lettere, cifre e trattini bassi.", + "argument-name-duplicate": "Nome dell'argomento già in uso.", + "argument-referenced-as": "Richiamalo nella configurazione Docker Compose come", + "argument-source": "Tipo di origine", + "argument-target-entity": "Entità di destinazione", + "argument-source-agent": "Agent", + "argument-source-owner": "Proprietario", + "argument-source-related-entity": "Entità correlata", + "argument-source-tenant": "Tenant corrente", + "argument-source-device": "Dispositivo", + "argument-source-asset": "Asset", + "argument-source-customer": "Cliente", + "argument-source-edge": "Edge", + "argument-source-entity-device": "Dispositivo", + "argument-source-entity-asset": "Asset", + "argument-source-entity-customer": "Cliente", + "argument-source-entity-edge": "Edge", + "argument-value-type": "Tipo di valore", + "argument-value-type-attribute": "Attributo", + "argument-value-type-latest-telemetry": "Ultima telemetria", + "argument-scope": "Ambito dell'attributo", + "argument-type-server-attribute": "Attributo server", + "argument-type-shared-attribute": "Attributo condiviso", + "argument-type-client-attribute": "Attributo client", + "argument-key": "Chiave", + "argument-attribute-key": "Chiave dell'attributo", + "argument-telemetry-key": "Chiave della telemetria più recente", + "argument-key-required": "La chiave è obbligatoria.", + "argument-default-value": "Valore predefinito", + "argument-format": "Formato del valore", + "argument-format-string": "Testo", + "argument-format-json": "JSON", + "argument-format-hint-json": "\"JSON\" inserisce array/oggetti/numeri così come sono, ma solo quando il segnaposto costituisce l'intero valore.", + "argument-format-hint-embedded": "Se il segnaposto è incorporato in una stringa, questa scelta viene ignorata e il valore viene sempre inserito come testo tra virgolette.", + "argument-format-hint-text": "\"Testo\" inserisce sempre una stringa tra virgolette.", + "app-compose-creds-overridden-hint": "I campi delle credenziali nel compose sono gestiti dall'entità collegata e verranno sovrascritti al salvataggio. Per modificarli, riassegna l'entità.", + "app-profile-compose-creds-hint": "I campi delle credenziali nel compose sono gestiti dall'entità collegata e verranno sovrascritti al salvataggio. Per modificarli, assegna l'entità durante la creazione/modifica dell'applicazione.", + "app-related-entity": "Entità correlata", + "app-related-entity-none": "Nessuna entità corrispondente trovata", + "app-related-entity-none-create": "Nessuna entità corrispondente trovata. Usa il pulsante 'Crea nuovo' per crearne una.", + "app-related-entity-required": "L'entità correlata è obbligatoria per le applicazioni Edge e Gateway.", + "app-step-applied-stage-hint": "Le modifiche apportate qui vengono applicate durante la fase '{{stage}}' sull'Agent.", + "app-restart-title": "Riavviare {{name}}?", + "app-restart-text": "L'Agent eseguirà di nuovo i passaggi di avvio dell'applicazione. I dati e la configurazione esistenti vengono conservati.", + "app-assign-compare-title": "Assegna profilo applicazione", + "app-assign-compare-hint": "L'assegnazione del profilo '{{profileName}}' sostituirà la configurazione compose di '{{appName}}'. Rivedi le modifiche sopra e conferma.", + "app-assign-compare-cta": "Assegna profilo", + "app-upgrade-title": "Effettua l'upgrade dell'applicazione", + "app-upgrade-step1": "Rivedi le modifiche", + "app-upgrade-step2": "Configura e conferma", + "app-upgrade-heading": "Upgrade di {{name}}: {{from}} → {{to}}", + "app-upgrade-template-new": "Modello ({{version}}) — nuovo", + "app-upgrade-current": "Il tuo Compose (corrente, con la nuova immagine unita automaticamente)", + "app-upgrade-diff-hint": "Confronto affiancato: il riquadro di sinistra mostra il nuovo modello originale, quello di destra mostra il tuo compose corrente con la nuova immagine unita automaticamente. Controlla le differenze prima di continuare.", + "app-upgrade-steps-list": "Passaggi di upgrade che verranno eseguiti:", + "app-upgrade-backup-volumes-hint": "Seleziona i volumi di cui eseguire il backup prima dell'upgrade. I backup consentono il rollback automatico se l'upgrade non riesce.", + "app-upgrade-no-volumes": "Nessun volume rilevato nella configurazione compose.", + "app-upgrade-summary-versions": "Upgrade", + "app-upgrade-summary-volumes-label": "Volumi di cui eseguire il backup", + "app-upgrade-summary-volumes": "{ count, plural, =1 {1 selezionato} one {# selezionato} other {# selezionati} }", + "app-upgrade-rollback-info": "Se un passaggio non riesce, l'Agent eseguirà automaticamente il rollback alla versione precedente usando i volumi salvati nel backup.", + "app-upgrade-cta": "Effettua l'upgrade", + "app-upgrade-loading": "Caricamento del modello…", + "app-upgrade-no-template": "L'applicazione non ha un modello impostato; impossibile eseguire l'upgrade.", + "app-upgrade-no-next-version": "Non è disponibile una versione più recente del modello.", + "app-upgrade-load-failed": "Impossibile caricare il modello di upgrade.", + "app-upgrade-merge-failed": "Impossibile calcolare l'anteprima dell'upgrade.", + "app-compose-invalid-yaml": "La configurazione Docker Compose non è un YAML valido. Correggila prima di salvare.", + "app-profile-saved-title": "Profilo applicazione salvato", + "app-profile-saved-propagation-text": "Le applicazioni già assegnate a questo profilo non sono state aggiornate automaticamente. Per applicare le modifiche, esegui un aggiornamento/upgrade in blocco dalla pagina del profilo dell'Agent oppure aggiorna ogni applicazione singolarmente dalla relativa pagina.", + "app-upgrade-profile-step": "Upgrade del profilo", + "app-upgrade-profile-loading": "Caricamento del profilo…", + "app-upgrade-profile-name": "Profilo", + "app-upgrade-profile-current": "Compose del profilo (corrente, con la nuova immagine unita automaticamente)", + "app-upgrade-profile-hint": "Questa applicazione è collegata a un profilo che punta ancora alla versione precedente del modello. Effettua prima l'upgrade del profilo, così l'applicazione potrà adottare la nuova configurazione.", + "app-upgrade-profile-cta": "Effettua l'upgrade del profilo", + "app-profile-load-failed": "Impossibile caricare il profilo applicazione.", + "app-install-title": "Installa applicazione", + "app-install-on-agent": "sull'Agent {{name}}", + "app-install-pick-type": "Scegli cosa vuoi distribuire su questo Agent.", + "app-install-step1": "Seleziona tipo", + "app-install-step3": "Verifica e personalizza", + "app-install-step4": "Salva applicazione", + "app-install-type-generic": "Generica", + "app-install-type-generic-desc": "Distribuisci qualsiasi applicazione Docker Compose", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "Distribuisci ThingsBoard Edge", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "Distribuisci ThingsBoard Gateway", + "app-install-name": "Nome applicazione", + "app-install-yaml": "Configurazione Docker Compose", + "app-compose-template-select": "Modello Compose", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "Ibrido", + "compose-type-in-memory": "In memoria", + "app-install-diff-template": "Modello — sola lettura", + "app-install-diff-editable": "Il tuo compose — modificabile, verrà salvato", + "app-install-diff-hint": "Il riquadro sinistro mostra il compose del modello originale. Modifica il riquadro destro per adattarlo; viene salvato solo il lato destro.", + "app-diff-sync-scroll": "Sincronizza lo scorrimento tra i riquadri", + "app-diff-read-only": "Sola lettura", + "app-install-cred-title": "Credenziali", + "app-install-cred-hint": "Quando usi un profilo, puoi modificare solo questi campi. Vengono riportati nell'anteprima del compose qui sotto.", + "app-install-cred-routing-key": "Chiave di routing", + "app-install-cred-routing-secret": "Segreto di routing", + "app-install-cred-security-type": "Tipo di sicurezza", + "app-install-cred-security-access-token": "Token di accesso", + "app-install-cred-security-username-password": "Nome utente / password", + "app-install-cred-access-token": "Token di accesso", + "app-install-cred-client-id": "ID client", + "app-install-cred-username": "Nome utente", + "app-install-cred-password": "Password", + "app-install-pull-images": "Scarica le immagini prima dell'avvio", + "app-image-pull-policy-if-not-present": "Se non presente", + "app-image-pull-policy-always": "Sempre", + "app-install-cta": "Salva", + "app-update-wizard-title": "Aggiorna applicazione", + "app-update-cta": "Aggiorna", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "Proposto (unito al modello) — sola lettura", + "app-update-diff-current": "Compose corrente — modificabile, verrà salvato", + "app-update-diff-hint": "Esamina le modifiche proposte a sinistra. Usa le frecce tra i riquadri per unire le parti selezionate nel compose corrente a destra. Viene salvato solo il lato destro.", + "app-update-cred-hint": "Le app gestite da un profilo espongono qui solo i campi delle credenziali. Le altre modifiche al compose passano dal profilo.", + "app-profile-outdated-hint": "La configurazione del profilo non è aggiornata. Esegui Aggiorna per recuperarla di nuovo.", + "app-project-name": "Nome progetto", + "app-update-skip-profile-refetch": "Non recuperare di nuovo la configurazione del profilo", + "app-update-skip-profile-refetch-hint": "Se selezionato, l'app dell'Agent mantiene il compose corrente e vengono applicati solo i valori delle credenziali sopra. Usalo per ruotare le credenziali o — con la policy di pull sopra impostata su «Sempre» — per riscaricare le immagini più recenti, senza acquisire la configurazione più recente del profilo.", + "app-update-skip-profile-refetch-drift-hint": "Il profilo assegnato è alla versione del modello {{version}} — Aggiorna non ne applicherà la configurazione. L'app mantiene il compose corrente; vengono applicati solo i valori delle credenziali sopra. Usa «Effettua l'upgrade» per cambiare versione.", + "app-install-confirm-info": "L'Agent scaricherà e avvierà i container. Puoi monitorare l'avanzamento nella scheda Eventi.", + "app-install-loading-template": "Caricamento del modello…", + "app-install-template-failed": "Impossibile caricare il modello dell'applicazione.", + "app-install-merge-failed": "Impossibile calcolare l'anteprima dell'unione.", + "app-delete-title-header": "Elimina applicazione", + "app-delete-warning": "Sei sicuro di voler eliminare '{{name}}'? Verranno arrestati e rimossi tutti i container sulla macchina remota.", + "app-delete-remove-volumes": "Rimuovi anche i volumi", + "app-delete-remove-volumes-hint": "Attenzione: questa operazione elimina definitivamente tutti i dati memorizzati nei volumi dell'applicazione.", + "app-delete-no-volumes": "Nessun volume rilevato nella configurazione compose.", + "app-delete-cta": "Elimina", + "agents-count": "Agent", + "profiles-count": "Profili", + "template": "Modello", + "previous-version": "Versione precedente", + "config-type": "Tipo di configurazione", + "install-instructions": "Istruzioni di installazione", + "install-instructions-hint": "Esegui il seguente comando sulla macchina di destinazione per avviare l'Agent. L'Agent si connetterà al server ThingsBoard e apparirà come Online.", + "install-instructions-replace-hint": "L'Agent apparirà come Online nell'elenco Agent una volta connesso.", + "install-step-docker": "Assicurati che Docker sia installato sulla macchina di destinazione", + "install-step-run": "Esegui il container dell'Agent", + "install-command-copied-message": "Il comando di installazione è stato copiato negli appunti", + "agent-credentials": "Credenziali dell'Agent", + "agent-created-successfully": "Agent creato correttamente", + "go-to-agent": "Vai all'Agent", + "app-type-generic": "Generica", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "Configurazione", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "Profilo applicazione Edge più recente", + "preset-gateway-description": "Profilo applicazione Gateway più recente", + "preset-edge-gateway-description": "Entrambi i profili applicazione più recenti", + "preset-name-edge": "Profilo Agent Edge", + "preset-name-gateway": "Profilo Agent Gateway", + "preset-name-edge-gateway": "Profilo Agent Edge + Gateway", + "preset-advanced": "Avanzato", + "preset-advanced-description": "Imposta una strategia di provisioning e seleziona o crea i profili applicazione", + "preset-advanced-configure": "Configura", + "preset-summary-title": "Preset: {{label}}", + "preset-summary-body": "Crea il profilo Agent, gli assegna {{apps}} e imposta la strategia di provisioning \"un'applicazione per tipo\".", + "preset-summary-apps-two": "{{first}} e {{second}}", + "preset-templates-load-failed": "Impossibile caricare i modelli di applicazione più recenti per: {{types}}. I preset che li richiedono sono disabilitati.", + "app-type-required": "Il tipo di applicazione è obbligatorio.", + "provision-type-disabled": "Disabilitato", + "provision-type-no-auto-install": "Solo provisioning degli Agent", + "provision-type-per-app-type": "Un'applicazione per tipo", + "provision-type-per-app-profile": "Un'applicazione per profilo assegnato", + "provisioning-strategy": "Strategia di provisioning", + "provisioning-strategy-label": "Strategia: {{strategy}}", + "provision-type-disabled-description": "Il provisioning degli Agent è disabilitato. Seleziona una strategia di provisioning per abilitare la registrazione automatica degli Agent. Se è abilitato, gli Agent possono registrarsi autonomamente usando una chiave e un segreto di provisioning condivisi — non serve creare manualmente ogni Agent.", + "provision-type-no-auto-install-description": "Quando un nuovo Agent esegue il provisioning con questo profilo, il server registra l'Agent ma non installa automaticamente alcuna applicazione. I profili applicazione assegnati vengono ignorati durante il provisioning — le applicazioni possono essere installate manualmente sull'Agent.", + "provision-type-per-app-type-description": "Quando un nuovo Agent esegue il provisioning con questo profilo, il server crea automaticamente le applicazioni in base ai profili applicazione assegnati. Le applicazioni Edge/Gateway vengono installate solo se l'Agent non ha già un'applicazione di quel tipo (al massimo una per tipo per Agent); le applicazioni generiche vengono associate per profilo (un'applicazione per profilo per Agent). Ad esempio, con due profili Edge e due profili generici assegnati, l'Agent riceve un'applicazione Edge e due applicazioni generiche. Se un tipo di applicazione richiede un'entità correlata (ad es. Edge o Gateway), il server tenterà di crearla e assegnarla.", + "provision-type-per-app-profile-description": "Quando un nuovo Agent esegue il provisioning con questo profilo, il server crea automaticamente le applicazioni in base ai profili applicazione assegnati. Ogni applicazione viene installata solo se l'Agent non ne ha già una corrispondente — le applicazioni Edge/Gateway vengono associate per modello o per profilo di origine (una per modello per Agent); le applicazioni generiche vengono associate per profilo (un'applicazione per profilo per Agent). Ad esempio, con due profili Edge assegnati, l'Agent riceve due applicazioni Edge se i profili si basano su modelli diversi, ma solo una se condividono lo stesso modello. Se un tipo di applicazione richiede un'entità correlata (ad es. Edge o Gateway), il server tenterà di crearla e assegnarla.", + "agent-profile-created": "Profilo Agent creato", + "agent-profile-created-hint": "Esegui questo comando su ogni macchina in cui vuoi distribuire un Agent. Ogni Agent:", + "agent-profile-created-step-1": "Si registrerà automaticamente sul server usando le credenziali di provisioning", + "agent-profile-created-step-2": "Riceverà una chiave di routing e un segreto univoci per la connessione persistente", + "agent-profile-created-step-3": "Installerà automaticamente le applicazioni definite nei profili applicazione assegnati", + "provisioning-credentials": "Credenziali di provisioning", + "provisioning": "Provisioning degli Agent", + "docker-run-command": "Comando Docker run", + "assigned-profiles": "Profili applicazione", + "assign-profile": "Assegna profilo", + "unassign-profile": "Rimuovi assegnazione profilo", + "no-profiles-assigned": "Nessun profilo applicazione ancora assegnato a questo profilo.", + "go-to-profile": "Vai al profilo", + "profiles-bulk-hint": "Questa azione in blocco riguarda tutte le applicazioni corrispondenti al profilo \"{{appProfile}}\" il cui Agent usa il profilo \"{{agentProfile}}\"", + "auto-install-template-dedup-note": "La strategia di provisioning di questo profilo Agent abilita l'installazione automatica. Quando un Agent esegue il provisioning automatico, ogni profilo riportato di seguito viene installato solo se l'Agent non dispone già di un'applicazione corrispondente. I profili Edge/Gateway corrispondono per template o per profilo di origine (uno per template per Agent); i profili generici corrispondono per profilo (un'app per profilo per Agent).", + "auto-install-per-type-note": "La strategia di provisioning di questo profilo Agent abilita l'installazione automatica. Quando un Agent esegue il provisioning automatico, i profili Edge/Gateway riportati di seguito vengono installati solo se l'Agent non dispone già di un'applicazione di quel tipo (al massimo una per tipo per Agent); i profili generici corrispondono per profilo (un'app per profilo per Agent).", + "app-profile": "Profilo applicazione", + "no-profiles-available": "Nessun altro profilo disponibile da assegnare.", + "unassign-profile-confirm": "Sei sicuro di voler rimuovere l'assegnazione del profilo applicazione '{{profile}}' da questo profilo Agent?", + "relate-on-auto-discovery": "Associa in caso di rilevamento automatico", + "relate-on-auto-discovery-tooltip": "Assegna questo profilo applicazione a tutte le nuove applicazioni rilevate automaticamente con immagini Edge/Gateway corrispondenti.", + "relate-on-auto-discovery-confirm-title": "Sei sicuro di voler procedere?", + "relate-on-auto-discovery-enable-confirm": "Alle nuove applicazioni rilevate automaticamente con un'immagine Edge/Gateway corrispondente al modello di '{{profile}}' verrà assegnato automaticamente questo profilo applicazione. In caso di configurazione non corrispondente, la configurazione del profilo (compose) sovrascriverà la configurazione rilevata automaticamente dell'applicazione (compose).", + "relate-on-auto-discovery-disable-confirm": "Alle nuove applicazioni rilevate automaticamente corrispondenti al modello di '{{profile}}' non verrà più assegnato automaticamente questo profilo applicazione. Le assegnazioni esistenti non vengono modificate.", + "provisioning-saved": "Impostazioni di provisioning salvate", + "bulk-actions": "Azioni in blocco", + "assigned-applications": "App assegnate", + "application-profiles-and-bulk-actions": "Profili applicazione e azioni in blocco", + "recent-bulk-actions": "Azioni in blocco recenti", + "no-recent-bulk-actions": "Ancora nessuna azione in blocco per questo profilo applicazione.", + "executions": "Esecuzioni", + "view-bulk-action-details": "Apri dettagli completi", + "agents-reporting-success": "{{ok}}/{{total}} Agent con esito positivo", + "bulk-action-type": "Azione", + "bulk-action-status": "Stato", + "bulk-action-counts": "Inviate", + "bulk-action-error": "Errore", + "bulk-action-details": "Dettagli azione in blocco", + "bulk-restart": "Riavvio in blocco", + "bulk-update": "Aggiornamento in blocco", + "bulk-upgrade": "Upgrade in blocco", + "bulk-delete": "Eliminazione in blocco", + "bulk-restart-title": "Riavvio in blocco — {{profile}}", + "bulk-update-title": "Aggiornamento in blocco — {{profile}}", + "bulk-upgrade-title": "Upgrade in blocco — {{profile}}", + "bulk-delete-title": "Eliminazione in blocco — {{profile}}", + "bulk-action-title": "Azione in blocco", + "bulk-restart-cta": "Riavvia tutte", + "bulk-update-cta": "Aggiorna tutte", + "bulk-upgrade-cta": "Effettua l'upgrade di tutte", + "bulk-delete-cta": "Elimina tutte", + "bulk-preview": "Anteprima", + "bulk-preview-total": "App totali", + "bulk-preview-eligible": "Idonee", + "bulk-preview-skipped": "Saltate", + "bulk-skipped-version-mismatch": "Saltata — versione del modello non corrispondente", + "bulk-skipped-active-event": "Saltata — un'altra operazione è già in corso", + "bulk-skipped-rate-limit": "Saltata — superato il limite di frequenza degli eventi", + "bulk-skipped-error": "Saltata — errore durante la valutazione dell'app", + "bulk-skipped-more": "…e altre {{count}} — vedi i dettagli dell'esecuzione", + "bulk-no-eligible": "Nessuna applicazione è idonea per questa operazione.", + "bulk-backup-volumes-hint": "Seleziona i volumi di cui eseguire il backup prima dell'upgrade. I valori inseriti si applicano a ogni applicazione idonea.", + "bulk-no-volumes-in-profile": "Il compose del profilo non contiene volumi.", + "bulk-submitted": "Inviate", + "bulk-skipped": "Saltate", + "bulk-processing-started": "Elaborazione avviata", + "bulk-events": "Eventi", + "bulk-event-current-step": "Passaggio corrente", + "bulk-event-updated": "Aggiornato", + "bulk-event-filter-status": "Stato", + "bulk-event-filter-all": "Tutti", + "bulk-no-events": "Nessun evento trovato per questa azione in blocco.", + "no-bulk-actions": "Ancora nessuna azione in blocco.", + "origin-installed": "Installata", + "origin-discovered": "Rilevata", + "origin-auto-provisioned": "Con provisioning automatico", + "event-action-install": "Installazione", + "event-action-update": "Aggiornamento", + "event-action-delete": "Eliminazione", + "event-action-restart": "Riavvio", + "event-action-rollback": "Rollback", + "event-action-upgrade": "Upgrade", + "event-action-agent-upgrade": "Upgrade dell'Agent", + "event-status-pending": "In attesa", + "event-status-queued": "In coda", + "event-status-processing": "In elaborazione", + "event-status-finished": "Completato", + "event-status-error": "Errore", + "event-status-start-failed": "Avvio non riuscito", + "bulk-status-queued": "In coda", + "bulk-status-in-progress": "In corso", + "bulk-status-started": "Avviata", + "bulk-status-start-failed": "Avvio non riuscito", + "unit-type-container": "Container", + "unit-type-volume": "Volume", + "unit-type-network": "Rete", + "app-events": "Eventi", + "app-metrics": "Metriche", + "app-copy-id": "Copia ID applicazione", + "app-id-copied-message": "ID applicazione copiato negli appunti", + "app-upgrade-available": "Upgrade disponibile: {{version}}", + "app-unit-identifier": "Identificatore", + "app-unit-image": "Immagine", + "app-unit-state": "Stato", + "app-unit-filter": "Filtro unità", + "app-unit-filter-with-values": "Filtro: {{values}}", + "app-unit-logs": "Log del container", + "app-unit-view-logs": "Visualizza log del container", + "filter-all-count": "Tutti ({{count}})", + "filter-errors-count": "Errori ({{count}})", + "filter-running-count": "In esecuzione ({{count}})", + "log-agent-offline-paused": "Agent offline · flusso in pausa", + "log-agent-online": "Agent online", + "log-back-to-application": "Torna all'applicazione", + "log-buffered": "+ {{count}} nel buffer", + "log-chip-app": "App", + "log-clear": "Cancella log", + "log-clear-highlight": "Rimuovi evidenziazione", + "log-copy-all": "Copia tutto", + "log-copy-all-lines": "Copia tutte le righe di log", + "log-download": "Scarica log", + "log-dropped": "{{count}} scartate", + "log-dropped-hint": "Righe di log scartate dall'Agent prima di raggiungere questo visualizzatore", + "log-dropped-total": "Totale righe scartate", + "log-follow-latest": "Segui le più recenti", + "log-gap": "{ count, plural, one {# blocco di log scartato} other {# blocchi di log scartati} } (limite del buffer raggiunto)", + "log-highlight": "Evidenzia…", + "log-highlight-lines": "Evidenzia righe di log", + "log-jump-to-latest": "Vai alle più recenti", + "log-lines-unit": "{ count, plural, one {riga} other {righe} }", + "log-live": "Live", + "log-pause-resume-stream": "Metti in pausa o riprendi il flusso", + "log-pause-stream": "Metti in pausa il flusso", + "log-paused": "In pausa", + "log-resume-stream": "Riprendi il flusso", + "log-stream-paused": "Flusso in pausa", + "log-waiting": "In attesa di righe di log…", + "metrics-all-containers": "Tutti i container", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{percent}}% di {{cores}} core (limite {{cap}}%)", + "metrics-disk": "Disco", + "metrics-memory": "Memoria", + "metrics-show-charts": "Mostra grafici", + "metrics-updated-at": "Aggiornato alle {{time}}", + "metrics-used-of-total": "{{used}} di {{total}} ({{percent}}%)", + "metrics-volumes": "Volumi", + "stats-done": "{{count}} completati", + "stats-error": "{{count}} in errore", + "stats-pending": "{{count}} in attesa", + "stats-running": "{{count}} in esecuzione", + "app-no-units": "Nessuna unità trovata.", + "app-no-events": "Nessun evento trovato.", + "app-event-app-name": "Applicazione", + "app-event-agent-name": "Agent", + "app-event-action": "Azione", + "app-event-status": "Stato di esecuzione", + "app-event-execution": "Esecuzione", + "app-event-execution-not-started": "Non avviato", + "app-event-execution-started": "Avviato", + "app-event-execution-delivery-failed": "Consegna non riuscita", + "app-event-filter": "Filtro eventi", + "app-event-filter-with-values": "Filtro: {{values}}", + "app-event-current-activity": "Attività corrente", + "app-event-show-error": "Mostra errore", + "app-event-error-title": "Errore evento", + "upgrade-agent-action": "Effettua l'upgrade dell'Agent", + "image": "Immagine", + "version-unknown": "non segnalata", + "up-to-date": "Aggiornato", + "upgrade-to": "Effettua l'upgrade a {{version}}", + "upgrade-agent-title": "Effettua l'upgrade dell'Agent", + "upgrade-agent-text": "L'Agent {{agentName}} sostituirà il proprio container con l'immagine indicata di seguito. Rimane raggiungibile per tutto il tempo e i comandi delle applicazioni vengono sospesi fino al termine dell'upgrade.", + "upgrade-agent-hint": "È stata pubblicata un'immagine più recente dell'Agent", + "upgrade-agent-hint-unavailable": "Non è nota alcuna immagine più recente dell'Agent — l'Agent potrebbe essere già aggiornato oppure non è stato possibile determinarne la versione", + "upgrade-current-image": "Immagine corrente", + "upgrade-target-image": "Immagine di destinazione", + "upgrade-target-image-hint": "Un tag o un riferimento fissato tramite digest, ad es. thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "L'immagine di destinazione è obbligatoria.", + "agent-upgrade-subject": "Upgrade dell'Agent", + "agent-upgrade-subject-label": "Azione", + "agent-upgrade-step-prepare": "Prepara il container sostitutivo", + "agent-upgrade-step-finalize": "Passa il controllo e rimuovi il container precedente", + "app-event-progress-title": "Avanzamento evento", + "app-event-progress-loading": "Caricamento modello...", + "app-event-progress-load-failed": "Impossibile caricare l'avanzamento dell'evento.", + "app-event-progress-no-template": "Nessun modello collegato a questa applicazione.", + "app-event-step-completed": "Completato", + "app-event-step-processing": "In elaborazione", + "app-event-step-error": "Non riuscito", + "app-event-step-waiting": "In attesa", + "app-event-current-step": "Passaggio corrente", + "app-event-created": "Creato", + "app-event-updated": "Aggiornato", + "app-event-cancel": "Annulla", + "app-event-cancel-title": "Annullare l'evento?", + "app-event-cancel-text": "L'evento in corso verrà annullato sull'Agent.", + "app-event-view-in-events": "Visualizza negli eventi", + "app-save-update-hint-title": "Modifiche salvate", + "app-save-update-hint": "Le modifiche sono state salvate in ThingsBoard, ma l'Agent sta ancora eseguendo la configurazione precedente. Fai clic sul pulsante di azione 'Aggiorna' di questa applicazione per applicare le modifiche sull'Agent.", + "app-save-update-hint-action": "Aggiorna ora", + "app-deleted": "Applicazione eliminata", + "group": "Gruppo di Agent", + "list-of-groups": "{ count, plural, =1 {Un gruppo di Agent} one {# gruppo di Agent} other {Elenco di # gruppi di Agent} }", + "group-name-starts-with": "Gruppi di Agent i cui nomi iniziano con '{{prefix}}'", + "application-group": "Gruppo di applicazioni", + "list-of-application-groups": "{ count, plural, =1 {Un gruppo di applicazioni} one {# gruppo di applicazioni} other {Elenco di # gruppi di applicazioni} }", + "application-group-name-starts-with": "Gruppi di applicazioni i cui nomi iniziano con '{{prefix}}'", + "all": "Tutti", + "all-agents": "Tutti gli Agent", + "groups": "Gruppi", + "shared": "Condivisi" }, "edge-event": { "type-dashboard": "Dashboard", @@ -3526,16 +4299,16 @@ "action-type-timeseries-updated": "Serie temporali aggiornate", "action-type-credentials-updated": "Credenziali aggiornate", "action-type-assigned-to-customer": "Assegnato al cliente", - "action-type-unassigned-from-customer": "Disassegnato dal cliente", + "action-type-unassigned-from-customer": "Assegnazione al cliente rimossa", "action-type-relation-add-or-update": "Relazione aggiunta o aggiornata", "action-type-relation-deleted": "Relazione eliminata", "action-type-rpc-call": "Chiamata RPC", "action-type-alarm-ack": "Conferma allarme", - "action-type-alarm-clear": "Reset allarme", + "action-type-alarm-clear": "Risoluzione allarme", "action-type-alarm-assigned": "Allarme assegnato", - "action-type-alarm-unassigned": "Allarme disassegnato", + "action-type-alarm-unassigned": "Assegnazione allarme rimossa", "action-type-assigned-to-edge": "Assegnato a Edge", - "action-type-unassigned-from-edge": "Disassegnato da Edge", + "action-type-unassigned-from-edge": "Assegnazione all'Edge rimossa", "action-type-credentials-request": "Richiesta credenziali", "action-type-entity-merge-request": "Richiesta unione entità", "action-type-added-to-entity-group": "Aggiunto al gruppo di entità", @@ -3545,6 +4318,7 @@ "disconnected": "Disconnesso" }, "error": { + "data-export-failed": "Esportazione dei dati non riuscita: impossibile determinare la modalità di distribuzione. Riprova.", "unable-to-connect": "Impossibile connettersi al server! Controlla la connessione a Internet.", "unhandled-error-code": "Codice di errore non gestito: {{errorCode}}", "unknown-error": "Errore sconosciuto" @@ -3552,6 +4326,8 @@ "entity": { "entity": "Entità", "entities": "Entità", + "devices-and-assets": "Dispositivi e asset", + "data-processing": "Elaborazione dei dati", "entities-count": "Conteggio entità", "alarms-count": "Conteggio allarmi", "aliases": "Alias entità", @@ -3560,7 +4336,7 @@ "unable-delete-entity-alias-title": "Impossibile eliminare l'alias dell'entità", "unable-delete-entity-alias-text": "L'alias dell'entità '{{entityAlias}}' non può essere eliminato poiché è utilizzato dai seguenti widget:
    {{widgetsList}}", "unable-delete-entity-alias-text-components": "L'alias dell'entità '{{entityAlias}}' non può essere eliminato poiché è utilizzato dal/da seguente/i componente/i:
    {{widgetsList}}", - "duplicate-alias-error": "Alias duplicato trovato '{{alias}}'.
    Gli alias devono essere univoci all'interno del dashboard.", + "duplicate-alias-error": "Alias duplicato trovato '{{alias}}'.
    Gli alias devono essere univoci all'interno della dashboard.", "missing-entity-filter-error": "Filtro mancante per l'alias '{{alias}}'.", "configure-alias": "Configura alias '{{alias}}'", "alias": "Alias", @@ -3684,8 +4460,8 @@ "type-calculated-field": "Campo calcolato", "type-calculated-fields": "Campi calcolati", "type-admin-settings": "Impostazioni amministratore", - "type-ai-model": "Modello AI", - "type-ai-models": "Modelli AI", + "type-ai-model": "Modello IA", + "type-ai-models": "Modelli IA", "type-widgets-bundle": "Pacchetto widget", "type-widgets-bundles": "Pacchetti widget", "list-of-widgets-bundles": "{ count, plural, =1 {Un pacchetto widget} other {Elenco di # pacchetti widget} }", @@ -3703,6 +4479,7 @@ "columns-to-display": "Colonne da visualizzare", "type-api-usage-state": "Stato utilizzo API", "type-entity-group": "Gruppo entità", + "type-entity-groups": "Gruppi di entità", "type-converter": "Convertitore dati", "type-converters": "Convertitori dati", "list-of-converters": "{ count, plural, =1 {Un convertitore dati} other {Elenco di # convertitori dati} }", @@ -3720,6 +4497,28 @@ "type-edges": "Edge", "list-of-edges": "{ count, plural, =1 {Un edge} other {Elenco di # edge} }", "edge-name-starts-with": "Edge i cui nomi iniziano con '{{prefix}}'", + "type-agent": "Agent", + "type-agents": "Agent", + "list-of-agents": "{ count, plural, =1 {Un Agent} one {# Agent} other {Elenco di # Agent} }", + "agent-name-starts-with": "Agent i cui nomi iniziano con '{{prefix}}'", + "type-agent-profile": "Profilo Agent", + "type-agent-profiles": "Profili Agent", + "list-of-agent-profiles": "{ count, plural, =1 {Un profilo Agent} one {# profilo Agent} other {Elenco di # profili Agent} }", + "agent-profile-name-starts-with": "Profili Agent i cui nomi iniziano con '{{prefix}}'", + "type-agent-application": "Applicazione", + "type-agent-applications": "Applicazioni", + "list-of-agent-applications": "{ count, plural, =1 {Un'applicazione} one {# applicazione} other {Elenco di # applicazioni} }", + "agent-application-name-starts-with": "Applicazioni i cui nomi iniziano con '{{prefix}}'", + "type-agent-app-profile": "Profilo applicazione", + "type-agent-app-profiles": "Profili applicazione", + "list-of-agent-app-profiles": "{ count, plural, =1 {Un profilo applicazione} one {# profilo applicazione} other {Elenco di # profili applicazione} }", + "agent-app-profile-name-starts-with": "Profili app il cui nome inizia con '{{prefix}}'", + "type-agent-app-event": "Evento app Agent", + "type-agent-app-events": "Eventi app Agent", + "type-agent-app-unit": "Unità app Agent", + "type-agent-app-units": "Unità app Agent", + "type-agent-bulk-action": "Azione in blocco", + "type-agent-bulk-actions": "Azioni in blocco", "version-conflict": { "message": "Vuoi sovrascrivere la versione esistente o annullare le modifiche e caricare l'ultima versione?", "link": "Puoi scaricare la tua versione di {{entityType}} usando questo", @@ -3836,6 +4635,9 @@ "dashboard-groups": "Gruppi di dashboard", "shared-dashboard-groups": "Gruppi di dashboard condivisi", "dashboard-group": "Gruppo di dashboard", + "agent-groups": "Gruppi di Agent", + "shared-agent-groups": "Gruppi di Agent condivisi", + "agent-group": "Gruppo di Agent", "fetch-more": "Carica altri", "column-type": { "column-type": "Tipo di colonna", @@ -4020,9 +4822,9 @@ "delete-entity-views": "Elimina viste entità", "make-public": "Rendi vista entità pubblica", "make-private": "Rendi vista entità privata", - "unassign-from-customer": "Disassegna dal cliente", - "unassign-entity-views": "Disassegna viste entità", - "unassign-entity-views-action-title": "Disassegna { count, plural, =1 {1 vista entità} other {# viste entità} } dal cliente", + "unassign-from-customer": "Rimuovi assegnazione dal cliente", + "unassign-entity-views": "Rimuovi assegnazione viste entità", + "unassign-entity-views-action-title": "Rimuovi assegnazione di { count, plural, =1 {1 vista entità} other {# viste entità} } dal cliente", "assign-new-entity-view": "Assegna nuova vista entità", "delete-entity-view-title": "Sei sicuro di voler eliminare la vista entità '{{entityViewName}}'?", "delete-entity-view-text": "Attenzione, dopo la conferma la vista entità e tutti i dati correlati saranno irreversibili.", @@ -4033,11 +4835,11 @@ "make-public-entity-view-text": "Dopo la conferma, la vista entità e tutti i suoi dati saranno resi pubblici e accessibili da altri.", "make-private-entity-view-title": "Sei sicuro di voler rendere privata la vista entità '{{entityViewName}}'?", "make-private-entity-view-text": "Dopo la conferma, la vista entità e tutti i suoi dati saranno resi privati e non accessibili da altri.", - "unassign-entity-view-title": "Sei sicuro di voler disassegnare la vista entità '{{entityViewName}}'?", - "unassign-entity-view-text": "Dopo la conferma, la vista entità sarà disassegnata e non accessibile dal cliente.", - "unassign-entity-view": "Disassegna vista entità", - "unassign-entity-views-title": "Sei sicuro di voler disassegnare { count, plural, =1 {1 vista entità} other {# viste entità} }?", - "unassign-entity-views-text": "Dopo la conferma, tutte le viste entità selezionate saranno disassegnate e non saranno accessibili dal cliente.", + "unassign-entity-view-title": "Sei sicuro di voler rimuovere l'assegnazione della vista entità '{{entityViewName}}'?", + "unassign-entity-view-text": "Dopo la conferma, la vista entità non sarà più assegnata né accessibile dal cliente.", + "unassign-entity-view": "Rimuovi assegnazione vista entità", + "unassign-entity-views-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, =1 {1 vista entità} other {# viste entità} }?", + "unassign-entity-views-text": "Dopo la conferma, tutte le viste entità selezionate non saranno più assegnate né accessibili dal cliente.", "entity-view-type": "Tipo di vista entità", "entity-view-type-required": "Tipo di vista entità obbligatorio.", "select-entity-view-type": "Seleziona tipo vista entità", @@ -4078,7 +4880,7 @@ "timeseries-data-hint": "Configura le chiavi delle serie temporali dell’entità di destinazione che saranno accessibili alla entity view. Questi dati delle serie temporali sono di sola lettura.", "select-group-to-add": "Seleziona il gruppo di destinazione per aggiungere le entity view selezionate", "select-group-to-move": "Seleziona il gruppo di destinazione per spostare le entity view selezionate", - "remove-entity-views-from-group": "Sei sicuro di voler rimuovere { count, plural, =1 {1 entity view} other {# entity views} } dal gruppo '{{entityGroup}}'?", + "remove-entity-views-from-group": "Sei sicuro di voler rimuovere { count, plural, =1 {1 vista entità} other {# viste entità} } dal gruppo '{{entityGroup}}'?", "group": "Gruppo di viste entità", "list-of-groups": "{ count, plural, =1 {Un gruppo di viste entità} other {Elenco di # gruppi di viste entità} }", "group-name-starts-with": "Gruppi di viste entità con nomi che iniziano con '{{prefix}}'", @@ -4086,12 +4888,12 @@ "selected-entity-views": "{ count, plural, =1 {1 vista entità} other {# viste entità} } selezionate", "assign-entity-view-to-edge": "Assegna vista(e) entità all'Edge", "assign-entity-view-to-edge-text": "Seleziona le viste entità da assegnare all'edge", - "unassign-entity-view-from-edge-title": "Sei sicuro di voler disassegnare la vista entità '{{entityViewName}}'?", - "unassign-entity-view-from-edge-text": "Dopo la conferma, la vista entità verrà disassegnata e non sarà accessibile dall'edge.", - "unassign-entity-views-from-edge-action-title": "Disassegna { count, plural, =1 {1 vista entità} other {# viste entità} } dall'edge", - "unassign-entity-view-from-edge": "Disassegna vista entità", - "unassign-entity-views-from-edge-title": "Sei sicuro di voler disassegnare { count, plural, =1 {1 vista entità} other {# viste entità} }?", - "unassign-entity-views-from-edge-text": "Dopo la conferma, tutte le viste entità selezionate verranno disassegnate e non saranno più accessibili dall'edge." + "unassign-entity-view-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione della vista entità '{{entityViewName}}'?", + "unassign-entity-view-from-edge-text": "Dopo la conferma, la vista entità non sarà più assegnata né accessibile dall'edge.", + "unassign-entity-views-from-edge-action-title": "Rimuovi assegnazione di { count, plural, =1 {1 vista entità} other {# viste entità} } dall'edge", + "unassign-entity-view-from-edge": "Rimuovi assegnazione vista entità", + "unassign-entity-views-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, =1 {1 vista entità} other {# viste entità} }?", + "unassign-entity-views-from-edge-text": "Dopo la conferma, tutte le viste entità selezionate non saranno più assegnate né accessibili dall'edge." }, "event": { "events": "Eventi", @@ -4110,6 +4912,7 @@ "result": "Risultato", "no-events-prompt": "Nessun evento trovato", "error": "Errore", + "errors": "Errori", "alarm": "Allarme", "event-time": "Ora evento", "server": "Server", @@ -4130,6 +4933,8 @@ "event": "Evento", "status": "Stato", "success": "Successo", + "warning": "Avviso", + "warnings": "Avvisi", "failed": "Fallito", "messages-processed": "Messaggi elaborati", "max-messages-processed": "Numero massimo di messaggi elaborati", @@ -4199,7 +5004,7 @@ "username": "Nome utente", "password": "Password", "retry-interval": "Intervallo di retry in millisecondi", - "sas": "Firma di accesso condivisa", + "sas": "Firma di accesso condivisa (Shared Access Signature)", "anonymous": "Anonimo", "basic": "Base", "pem": "PEM", @@ -4375,6 +5180,7 @@ "order-priority": "Ordine di visualizzazione", "key-filter": "Filtro chiave", "key-filters": "Filtri chiave", + "or-conditions-disabled": "Le condizioni OR tra i filtri chiave sono disabilitate dall'amministratore di sistema.", "key-name": "Nome chiave", "key-name-required": "Il nome della chiave è obbligatorio.", "key-type": { @@ -4435,8 +5241,37 @@ "create-new-gateway": "Crea un nuovo gateway", "create-new-gateway-text": "Sei sicuro di voler creare un nuovo gateway con il nome: '{{gatewayName}}'?", "launch-command": "Comando di avvio", + "launch-choose-subtitle": "Scegli come eseguire l'IoT Gateway per {{name}} con le credenziali del dispositivo selezionato.", + "launch-recommended": "Consigliato", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "Installa, aggiorna, riavvia e monitora da remoto tramite il cloud — senza SSH né comandi manuali.", + "launch-agent-point-install": "Installazione remota con un clic", + "launch-agent-point-upgrade": "Invia gli upgrade dal cloud", + "launch-agent-point-restart": "Riavvio e ripristino automatici", + "launch-agent-point-monitor": "Monitoraggio dello stato in tempo reale", + "launch-agent-point-bulk": "Azioni in blocco dalla pagina del profilo Agent", + "launch-agent-action": "Distribuisci con Agent", + "launch-docker-title": "Docker Compose manuale", + "launch-docker-desc": "Scarica il file compose ed eseguilo tu stesso sulla macchina di destinazione.", + "launch-docker-point-up": "Esegui docker compose up", + "launch-docker-point-control": "Controllo manuale completo", + "launch-docker-point-updates": "Gestisci tu gli aggiornamenti", + "launch-docker-point-access": "Accesso diretto ai dispositivi", + "launch-docker-action": "Mostra istruzioni", + "launch-back": "Indietro", "no-gateway-found": "Nessun gateway trovato.", - "no-gateway-matching": "'{{item}}' non trovato." + "no-gateway-matching": "'{{item}}' non trovato.", + "auto-provision": "Provisioning automatico", + "add-gateway": "Aggiungi Gateway", + "auto-provision-title": "Provisioning automatico del Gateway", + "auto-provision-info-title": "Come funziona", + "auto-provision-info-body": "Una volta creato un profilo Agent, viene generato un comando Docker run. Quando viene eseguito su una macchina di destinazione, ThingsBoard crea automaticamente l'Agent — e il dispositivo Gateway a esso associato — utilizzando le credenziali incluse nel comando. Il Gateway viene configurato automaticamente in base al profilo applicazione assegnato al profilo Agent. Non è necessario creare manualmente il Gateway.", + "auto-provision-step-select": "Profilo Agent", + "auto-provision-step-script": "Script di provisioning", + "auto-provision-valid": "Pronto per il provisioning — a '{{profile}}' è assegnato un profilo applicazione GATEWAY.", + "auto-provision-invalid-no-edge-app-profile": "A questo profilo non è assegnato alcun profilo applicazione GATEWAY. Usa il pulsante per assegnarne uno.", + "auto-provision-success-message": "Il profilo Agent è pronto. Esegui il comando su qualsiasi macchina di destinazione per effettuare il provisioning di un nuovo Gateway.", + "auto-provision-script-hint": "Esegui questo comando su ogni macchina che deve diventare un Gateway. Ogni esecuzione effettua il provisioning di una coppia Agent + Gateway." }, "grid": { "delete-item-title": "Sei sicuro di voler eliminare questo elemento?", @@ -4461,13 +5296,17 @@ "logout": "Esci", "menu": "Menu", "avatar": "Avatar", - "open-user-menu": "Apri menu utente" + "open-user-menu": "Apri menu utente", + "go-to": "Vai a...", + "crumbs-more": "+{{more}} altri nelle sezioni corrispondenti", + "no-matches": "Nessuna corrispondenza" }, "file-input": { "browse-file": "Sfoglia file", "browse-files": "Sfoglia file" }, "image": { + "images": "Immagini", "gallery": "Galleria immagini", "search": "Cerca immagine", "selected-images": "{ count, plural, =1 {1 immagine} other {# immagini} } selezionate", @@ -4836,7 +5675,7 @@ "type-sigfox": "SigFox", "type-sigfox-description": "Protocollo leggero per la gestione di piccole trasmissioni di dati.", "type-thingpark": "ThingPark", - "type-thingpark-description": "Piattaforma di connettività IoT di Actility.", + "type-thingpark-description": "ThingPark è una piattaforma di connettività IoT di Actility.", "type-loriot": "Loriot", "type-loriot-description": "Infrastruttura LoRaWAN distribuita.", "type-thingpark-enterprise": "ThingParkEnterprise", @@ -4855,6 +5694,7 @@ "type-ttn-description": "Rete LoRaWAN aperta e decentralizzata.", "type-tti": "The Things Stack Industries", "type-tti-description": "Software per reti private LoRaWAN su larga scala.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Server di configurazione per reti LoRaWAN.", "type-particle": "Particle", @@ -5084,7 +5924,7 @@ "topic-name": "Nome topic", "topic-name-required": "Il nome del topic è richiesto", "sub-name": "Nome della sottoscrizione", - "sub-name-required": "Il nome della sottoscrizione è richiesto", + "sub-name-required": "Il nome della sottoscrizione è obbligatorio", "downlink-connection-string": "Stringa di connessione downlink", "downlink-connection-string-required": "La stringa di connessione downlink è richiesta", "downlink-topic-name": "Nome topic downlink", @@ -5389,6 +6229,7 @@ "third-phase-voltage": "Tensione terza fase", "phase-voltage-hint": "Valore decimale che indica la tensione della fase corrente", "voltage-hint": "Valore decimale che indica la tensione corrente", + "current-voltage": "Tensione attuale", "phase-indicator-color": "Colore indicatore di fase", "measured": "Misurato", "measured-hint": "Valore decimale che indica l'energia consumata in kilowattora", @@ -5429,7 +6270,281 @@ } }, "item": { - "selected": "Selezionato" + "type-widget": "Widget", + "type-widget-plural": "Widget", + "type-solution-template": "Modello di soluzione", + "type-solution-template-plural": "Modelli di soluzione", + "type-calculated-field": "Campo calcolato", + "type-calculated-field-plural": "Campi calcolati", + "type-alarm-rule": "Regola di allarme", + "type-alarm-rule-plural": "Regole di allarme", + "type-rule-chain": "Catena di regole", + "type-rule-chain-plural": "Catene di regole", + "type-device": "Dispositivo", + "type-device-plural": "Dispositivi" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "Genera valore casuale", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "Scopri risorse pronte all'uso:", + "and-devices": "& dispositivi", + "search-placeholder": "Cerca in IoT Hub...", + "search": "Cerca...", + "search-published-items": "Cerca elementi pubblicati...", + "see-all-results": "Vedi tutti i risultati", + "see-all-results-for": "Vedi tutti i {{ count }} risultati per \"{{ search }}\"", + "see-results-for": "Vedi i risultati per \"{{ search }}\"", + "no-search-results": "Nessun risultato trovato per '{{ search }}'", + "no-items-available": "Nessun elemento disponibile", + "search-results": "Risultati della ricerca", + "search-results-for": "Risultati della ricerca per ", + "try-adjusting-search": "Prova a modificare la ricerca", + "add-widget-from-iot-hub": "Aggiungi widget da IoT Hub", + "all-widgets": "Tutti i widget", + "all-iot-hub-widgets": "Tutti i widget di IoT Hub", + "installed-from-iot-hub": "Installato da IoT Hub", + "item-link-unavailable": "Elemento non disponibile", + "include-deprecated": "Includi deprecati", + "widget-category-value": "Widget {{ category }}", + "search-categories": "Cerca categorie...", + "search-in-category": "Cerca widget...", + "search-bundles": "Cerca bundle...", + "search-widgets": "Cerca widget...", + "add-item-from-iot-hub": "Aggiungi {{ type }} da IoT Hub", + "add-from-iot-hub": "Aggiungi da IoT Hub", + "filters": "Filtri", + "type": "Tipo", + "items-per-page": "Elementi per pagina", + "filter": "Filtro", + "clear-filters": "Cancella filtri", + "available": "Disponibile", + "items-page-desc-widgets": "Dai il via al tuo percorso IoT con widget preconfigurati, progettati per il tuo settore. Distribuisci all'istante architetture collaudate e concentra le tue energie su ciò che conta: la logica specifica del tuo business.", + "items-page-desc-solution-templates": "Pacchetti completi di soluzioni IoT con dashboard, catene di regole e configurazioni dei dispositivi. Inizia con architetture collaudate.", + "items-page-desc-calculated-fields": "Usa campi calcolati preconfigurati per automatizzare metriche complesse come l'efficienza del carburante o il fattore di potenza. Evita di scrivere la logica a mano e mantieni le tue dashboard pulite e utili.", + "items-page-desc-alarm-rules": "Usa modelli di regole di allarme predefiniti per rilevare condizioni critiche come batteria scarica, superamento di soglie o dispositivi che vanno offline. Evita di scrivere la logica delle regole e inizia a reagire agli incidenti nel momento stesso in cui si verificano.", + "items-page-desc-rule-chains": "Dall'elaborazione avanzata dei dati alle integrazioni API fluide, i modelli di catene di regole forniscono le basi architetturali necessarie per scalare senza partire da zero.", + "items-page-desc-devices": "Esplora la libreria dei dispositivi per trovare modelli di connettività preconfigurati che puoi distribuire in pochi minuti per collegare subito il tuo hardware.", + "device-library": "Libreria dei dispositivi", + "most-popular-in-iot-hub": "Più popolari in IoT Hub", + "upgrade-required-title": "Upgrade di ThingsBoard necessario", + "upgrade-required-message": "Questo elemento richiede ThingsBoard {{minVersion}} o una versione successiva. Al momento stai usando {{currentVersion}}. Effettua l'upgrade della tua istanza per installarlo.", + "upgrade-instance": "Effettua l'upgrade dell'istanza", + "become-creator-text": "Invia i tuoi modelli a ThingsBoard IoT Hub per metterli in evidenza e presentare le tue soluzioni alla nostra community globale.", + "contribute": "Contribuisci", + "creator-profile": "Profilo del creatore", + "title-widgets": "Widget", + "title-calculated-fields": "Campi calcolati", + "title-alarm-rules": "Regole di allarme", + "title-rule-chains": "Catene di regole", + "title-devices": "Dispositivi", + "title-solution-templates": "Modelli di soluzione", + "subtitle-widgets": "Sfoglia i widget della community per le tue dashboard", + "subtitle-solution-templates": "Sfoglia pacchetti completi di soluzioni IoT", + "subtitle-calculated-fields": "Sfoglia i modelli di campi calcolati", + "subtitle-alarm-rules": "Sfoglia i modelli di regole di allarme", + "subtitle-rule-chains": "Sfoglia i modelli di catene di regole", + "subtitle-devices": "Sfoglia le configurazioni dei dispositivi", + "search-solution-templates": "Cerca modelli di soluzione...", + "search-calculated-fields": "Cerca campi calcolati...", + "search-alarm-rules": "Cerca regole di allarme...", + "search-rule-chains": "Cerca catene di regole...", + "search-devices": "Cerca dispositivi...", + "sort-most-relevant": "Più pertinenti", + "sort-most-installed": "Più installati", + "sort-newest": "Più recenti", + "sort-name": "Nome (A-Z)", + "type-filter-label": "Tipo", + "verified-creators-only": "Solo creatori verificati", + "category": "Categoria", + "use-case": "Caso d'uso", + "vendor": "Produttore", + "view-setup-guide": "Visualizza la guida alla configurazione", + "hardware-type": "Tipo di hardware", + "connectivity": "Connettività", + "clear-all-filters": "Cancella tutti i filtri", + "clear-all": "Cancella tutto", + "results-count": "{{count}} risultati", + "unable-to-load": "Impossibile caricare", + "unable-to-load-text": "Si è verificato un problema durante il caricamento degli elementi. Riprova.", + "network-server-unavailable": "Rete o server non disponibile", + "network-server-unavailable-text": "Non siamo riusciti a raggiungere il catalogo. Riprova tra qualche istante.", + "try-again": "Riprova", + "retry": "Riprova", + "no-items-found": "Nessun elemento trovato", + "no-items-found-text": "Prova a modificare la ricerca o i filtri.", + "no-widgets-found": "Nessun widget trovato", + "browse-tip-prefix": "Non trovi ciò che ti serve?", + "browse-tip-link": "Esplora IoT Hub", + "browse-tip-suffix": "per altri widget.", + "creator": "Creatore", + "manage": "Gestisci", + "details": "Dettagli", + "become-a-creator": "Diventa un creatore", + "back-to-iot-hub": "Torna a IoT Hub", + "verified-creator": "Creatore verificato", + "published-items": "Elementi pubblicati", + "by-creator": "di {{name}}", + "installs": "installazioni", + "more": "altro", + "categories": "Categorie", + "use-cases": "Casi d'uso", + "changelog": "Registro delle modifiche", + "created-by": "Creato da {{name}}", + "install-confirm": "Installare {{name}} v{{version}}?", + "install-confirm-title": "Installare '{{name}}'?", + "install-desc": "L'installazione creerà e configurerà automaticamente le risorse necessarie nel tuo tenant", + "install-success-desc": "'{{name}}' è stato installato correttamente", + "remove": "Rimuovi", + "remove-confirm-title": "Rimuovere '{{name}}'?", + "remove-desc": "La rimozione eliminerà anche l'entità installata e le risorse associate nel tuo tenant", + "remove-desc-solution-template": "La rimozione di questo modello di soluzione eliminerà anche tutte le entità create, incluse dashboard, catene di regole, dispositivi e altre risorse associate nel tuo tenant", + "remove-anyway": "Rimuovi comunque", + "select-entity-for-cf": "Seleziona l'entità per il campo calcolato '{{name}}'", + "select-entity-for-alarm-rule": "Seleziona l'entità per la regola di allarme '{{name}}'", + "rule-chain-install-subtitle": "L'installazione crea automaticamente la catena di regole nel tuo tenant. Facoltativamente, impostala come catena di regole predefinita di un profilo, così che le entità di quel profilo instradino i messaggi attraverso di essa.", + "rule-chain-set-as-profile-default-toggle": "Imposta come catena di regole predefinita del profilo", + "rule-chain-set-as-profile-default-tooltip": "Se abilitato, tutte le entità del profilo selezionato instraderanno i messaggi attraverso questa catena di regole.", + "rule-chain-overwrite-title": "Sostituire la catena di regole predefinita esistente?", + "rule-chain-overwrite-body": "Il profilo {{profile}} utilizza attualmente {{existing}} come catena di regole predefinita. L'installazione la sostituirà con questa catena di regole.", + "rule-chain-overwrite-replace": "Sostituisci", + "install": "Installa", + "open": "Apri", + "built-in": "Integrato", + "built-in-lookup-failed-title": "Impossibile verificare questo componente", + "built-in-lookup-failed-text": "Impossibile verificare se '{{name}}' è già presente in questa istanza. Non è stato installato nulla — riprova.", + "built-in-missing-title": "Non disponibile in questa istanza", + "built-in-missing-text": "'{{name}}' è normalmente incluso in ThingsBoard, ma non è presente in questa istanza — potrebbe essere stato eliminato dall'amministratore di sistema. Puoi invece installarlo da IoT Hub.", + "connect": "Connetti", + "connect-device": "Connetti dispositivo", + "installing": "Installazione in corso...", + "installing-title": "Installazione di '{{name}}'", + "installed": "Installato", + "install-success": "{{name}} installato correttamente", + "install-success-title": "Installazione completata", + "install-success-message": "'{{name}}' v{{version}} è stato installato correttamente.", + "install-error": "Impossibile installare {{name}}", + "solution-install-title": "Modello di soluzione installato correttamente", + "solution-instructions": "Istruzioni della soluzione", + "goto-main-dashboard": "Vai alla dashboard principale", + "install-error-title": "Installazione non riuscita", + "install-error-message": "Impossibile installare '{{name}}'.", + "install-dependency-error": "Impossibile installare la dipendenza '{{name}}': {{error}}", + "install-plan-title": "Installa '{{name}}' e le sue dipendenze", + "install-plan-will-install": "Elementi da installare: {{count}}.", + "install-plan-will-update": "Elementi già installati che verranno saltati: {{count}}.", + "install-plan-missing-warning": "Elementi richiesti non trovati nel marketplace: {{count}}. '{{ name }}' potrebbe non funzionare completamente senza di essi.", + "install-plan-status-will": "Da installare", + "install-plan-status-installed": "Già installato", + "install-plan-status-missing": "Mancante", + "install-plan-confirm": "Installa", + "install-partial-title": "Installato con avvisi", + "install-partial-desc": "'{{name}}' è stato installato, ma mancavano alcuni elementi obbligatori.", + "install-rollback-partial": "Non è stato possibile rimuovere automaticamente alcuni degli elementi installati prima dell'errore: potrebbe essere necessario eliminarli manualmente.", + "check-for-updates": "Verifica aggiornamenti", + "updates": "Aggiornamenti", + "up-to-date": "Aggiornato", + "update": "Aggiorna", + "update-to-version": "Aggiorna alla v {{ version }}", + "update-item-title": "Aggiorna elemento", + "update-confirm": "Aggiornare '{{name}}' alla versione {{version}}?", + "update-confirm-title": "Aggiornare '{{name}}'?", + "update-desc": "L'aggiornamento sostituirà la versione corrente con la più recente e riconfigurerà le risorse associate nel tuo tenant", + "update-desc-solution-template": "L'aggiornamento di questo modello di soluzione eliminerà e ricreerà tutte le entità che ha creato, incluse dashboard, catene di regole, dispositivi e altre risorse associate nel tuo tenant. Tutte le modifiche che hai apportato andranno perse", + "update-success-desc": "'{{name}}' è stato aggiornato correttamente", + "updating": "Aggiornamento in corso...", + "update-success-title": "Aggiornamento completato", + "update-success-message": "'{{name}}' è stato aggiornato alla versione {{version}}.", + "entity-modified-title": "Entità modificata", + "entity-modified-text": "L'elemento {{type}} è stato modificato localmente. Vuoi comunque aggiornarlo?", + "update-error-title": "Aggiornamento non riuscito", + "update-error-message": "Impossibile aggiornare '{{name}}'.", + "update-error": "Impossibile aggiornare {{name}}", + "most-popular": "Più popolari", + "all": "Tutti", + "installed-items": "Elementi installati", + "installed-items-for": "Elementi installati per \"{{name}}\"", + "search-installed-items": "Cerca elementi installati...", + "item-name": "Nome", + "item-type": "Tipo", + "item-version": "Versione", + "installed-date": "Installato", + "no-installed-items": "Nessun elemento installato trovato", + "no-installed-items-text": "Prova a modificare la ricerca o i filtri.", + "remove-installed-item-title": "Rimuovi elemento installato", + "remove-installed-item-text": "Sei sicuro di voler rimuovere '{{name}}'? Verrà rimossa anche l'entità installata.", + "installed-item-removed": "'{{name}}' è stato rimosso", + "installed-item-remove-error": "Impossibile rimuovere '{{name}}'", + "open-installed-entity": "Apri l'entità installata", + "view-item-details": "Visualizza i dettagli dell'elemento", + "review-device-instructions": "Consulta le istruzioni del dispositivo", + "open-item-type": "Apri {{type}}", + "back-to-marketplace": "Torna al Marketplace", + "device-install-select-connectivity": "Scegli un metodo di connessione per il tuo dispositivo", + "connection-method": "Metodo di connessione", + "step-prerequisites": "Prerequisiti", + "step-configuration": "Configurazione", + "step-provisioning": "Provisioning", + "device-install-step-error": "Non riuscito", + "device-install-step-pending": "In attesa", + "device-install-step-running": "Creazione in corso...", + "device-install-step-success": "Creato", + "device-install-step-type-DASHBOARD": "Dashboard", + "device-install-step-type-DEVICE": "Dispositivo", + "device-install-step-type-DEVICE_PROFILE": "Profilo dispositivo", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Connettore Gateway", + "device-install-step-type-RULE_CHAIN": "Catena di regole", + "device-install-step-type-UPLINK_CONVERTER": "Convertitore uplink", + "device-install-step-type-DOWNLINK_CONVERTER": "Convertitore downlink", + "device-install-step-type-INTEGRATION": "Integrazione", + "use-secret": "Usa segreto", + "use-plain-text": "Usa testo in chiaro", + "device-install-conflict-exists": "Esiste già un elemento di tipo {{type}} con questo nome", + "device-install-use-existing": "Usa quello esistente", + "device-install-overwrite": "Sovrascrivi", + "device-install-create-copy": "Crea copia", + "device-install-resolution-created": "Creato", + "device-install-resolution-use-existing": "Esistente riutilizzato", + "device-install-resolution-overwrite": "Sovrascritto", + "device-install-resolution-create-copy": "Copia creata", + "device-install-title": "Connetti \"{{name}}\"", + "device-installing-title": "Installazione di \"{{name}}\"", + "done": "Completato", + "in-progress": "In corso", + "item-detail": "Elemento IoT Hub", + "unpublished-warning-title": "Contenuto non pubblicato", + "unpublished-warning-text": "Questa è un'anteprima di un contenuto non pubblicato. Non è stato verificato da IoT Hub. L'installazione di contenuti non verificati può comportare rischi per la sicurezza e la stabilità — continua solo se ti fidi dell'autore.", + "unpublished-warning-confirm": "Comprendo il rischio, continua", + "unpublished-preview": "Anteprima non pubblicata", + "deep-link-invalid-id": "Link all'elemento IoT Hub non valido.", + "deep-link-not-found": "Questo elemento IoT Hub non esiste o è stato rimosso.", + "deep-link-fetch-failed": "Impossibile caricare l'elemento IoT Hub. Riprova.", + "export-to-iot-hub": "Esporta in IoT Hub" + }, + "item-data": { + "widget-type-timeseries": "Serie temporali", + "widget-type-latest": "Ultimi valori", + "widget-type-rpc": "Controllo", + "widget-type-alarm": "Allarme", + "widget-type-static": "Statico", + "cf-type-simple": "Semplice", + "cf-type-script": "Script", + "cf-type-geofencing": "Geofencing", + "cf-type-alarm": "Allarme", + "cf-type-propagation": "Propagazione", + "cf-type-related-entities-aggregation": "Aggregazione delle entità correlate", + "cf-type-entity-aggregation": "Aggregazione di entità", + "rule-chain-type-core": "Core", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "Arricchimento", + "node-type-filter": "Filtro", + "node-type-transformation": "Trasformazione", + "node-type-action": "Azione", + "node-type-analytics": "Analisi", + "node-type-external": "Esterno", + "node-type-flow": "Flusso", + "node-type-unknown": "Sconosciuto" }, "js-func": { "no-return-error": "La funzione deve restituire un valore!", @@ -5462,6 +6577,8 @@ "no-data": "Nessuna voce" }, "layout": { + "switch-to-html-page-title": "Passare alla pagina HTML?", + "switch-to-html-page-text": "La pagina HTML sostituisce la griglia dei widget di questo stato. { count, plural, one {# widget posizionato nei suoi layout verrà rimosso} other {# widget posizionati nei suoi layout verranno rimossi} } da questo stato.", "layout": "Layout", "layouts": "Layout", "manage": "Gestisci layout", @@ -5688,6 +6805,7 @@ "min-version": "Versione minima", "invalid-version-pattern": "Formato versione non valido. Usa il formato: major.minor.patch (es. 1.0.0).", "mobile-center": "Centro mobile", + "mobile-apps": "App mobile", "mobile-package": "Pacchetto applicazione", "mobile-package-max-length": "Il pacchetto applicazione deve essere inferiore a 256 caratteri", "mobile-package-required": "Il pacchetto applicazione è obbligatorio.", @@ -5807,6 +6925,9 @@ "reset-self-registration-text": "Attenzione, dopo la conferma tutte le impostazioni saranno perse e non potranno essere recuperate." } }, + "monitor": { + "monitor": "Monitoraggio" + }, "notification": { "ai-assistant-initial-prompt-placeholder": "Descrivi cosa vuoi configurare...", "ai-assistant-example-explain-label": "Come funzionano le notifiche", @@ -5913,8 +7034,8 @@ "inactive": "Inattivo", "inbox": "Posta in arrivo", "notification-inbox": "Notifiche / Posta in arrivo", - "input-field-support-templatization": "Il campo di input supporta la templificazione.", - "input-fields-support-templatization": "I campi di input supportano la templificazione.", + "input-field-support-templatization": "Il campo di input supporta i template.", + "input-fields-support-templatization": "I campi di input supportano i template.", "integration-action-trigger-settings": "Impostazioni trigger eventi integrazione", "integration-list-rule-hint": "Se il campo è vuoto, il trigger verrà applicato a tutte le integrazioni", "link": "Link", @@ -5943,19 +7064,20 @@ "no-recipients-text": "Nessun destinatario trovato", "no-rule": "Nessuna regola configurata", "no-rules-notification": "Nessuna regola di notifica", - "no-severity-found": "Nessuna severità trovata", - "no-severity-matching": "'{{severity}}' non trovato.", + "no-severity-found": "Nessuna gravità trovata", + "no-severity-matching": "Gravità '{{severity}}' non trovata.", "no-template-matching": "Nessuna risorsa corrispondente a '{{template}}' trovata.", "create-new-template": "Creane uno nuovo!", "not-found-slack-recipient": "Destinatario Slack non trovato", "notification": "Notifica", + "notifications": "Notifiche", "notification-center": "Centro notifiche", "notification-tap-action": "Azione al tocco della notifica", "notification-tap-action-hint": "Se non abilitata, verrà utilizzata la dashboard di default dell'allarme", "notify": "notifica", "notify-again": "Notifica di nuovo", "notify-alarm-action": { - "acknowledged": "Allarme riconosciuto", + "acknowledged": "Allarme confermato", "assigned": "Allarme assegnato", "cleared": "Allarme risolto", "created": "Allarme creato", @@ -6055,6 +7177,8 @@ "entities-limit": "Limite entità", "entities-limit-increase-request": "Richiesta aumento limite entità", "addon-access-error": "Errore accesso add-on/feature", + "addon-access-request": "Richiesta di accesso a componente aggiuntivo/funzionalità", + "plan-upgrade-request": "Richiesta di upgrade del piano", "entity-action": "Azione entità", "general": "Generale", "integration-lifecycle-event": "Evento ciclo di vita integrazione", @@ -6374,6 +7498,7 @@ "resource-library-details": "Dettagli risorsa", "resource-type": "Tipo di risorsa", "resources-library": "Libreria risorse", + "files": "File", "search": "Cerca risorse", "selected-resources": "{ count, plural, =1 {1 risorsa} other {# risorse} } selezionata", "system": "Sistema", @@ -6416,6 +7541,8 @@ "drop-resource-file-or": "Trascina un file JavaScript o", "javascript-library": "Libreria JavaScript", "javascript-type": "Tipo JavaScript", + "scripts": "Script", + "script-type": "Tipo di script", "javascript-resource-details": "Dettagli risorsa JavaScript", "javascript-resource-is-in-use": "La risorsa JavaScript è utilizzata da altre entità", "javascript-resources-are-in-use": "Le risorse JavaScript sono utilizzate da altre entità", @@ -6467,6 +7594,7 @@ "create-new-rulechain": "Crea nuova catena di regole", "rulechain-file": "File catena di regole", "invalid-rulechain-file-error": "Impossibile importare la catena di regole: struttura dati non valida.", + "rulechain-not-found-warning": "Catena di regole predefinita non trovata. Il profilo è stato salvato senza catena di regole — puoi assegnarla nelle impostazioni del profilo.", "copyId": "Copia ID catena di regole", "idCopiedMessage": "ID catena di regole copiato negli appunti", "select-rulechain": "Seleziona catena di regole", @@ -6480,9 +7608,9 @@ "edge-template-root": "Modello radice", "assign-to-edge": "Assegna all'Edge", "edge-rulechain": "Catena di regole Edge", - "unassign-rulechain-from-edge-text": "Dopo la conferma la catena di regole sarà disassegnata e non sarà più accessibile dall'edge.", - "unassign-rulechains-from-edge-title": "Sei sicuro di voler disassegnare { count, plural, =1 {1 catena} other {# catene} }?", - "unassign-rulechains-from-edge-text": "Dopo la conferma tutte le catene di regole selezionate saranno disassegnate e non saranno più accessibili dall'edge.", + "unassign-rulechain-from-edge-text": "Dopo la conferma la catena di regole non sarà più assegnata né accessibile dall'edge.", + "unassign-rulechains-from-edge-title": "Sei sicuro di voler rimuovere l'assegnazione di { count, plural, =1 {1 catena} other {# catene} }?", + "unassign-rulechains-from-edge-text": "Dopo la conferma tutte le catene di regole selezionate non saranno più assegnate né accessibili dall'edge.", "assign-rulechain-to-edge-title": "Assegna catena(e) di regole all'Edge", "assign-rulechain-to-edge-text": "Seleziona le catene di regole da assegnare all'edge", "set-edge-template-root-rulechain": "Rendi catena di regole come modello radice edge", @@ -6494,10 +7622,20 @@ "set-auto-assign-to-edge-title": "Vuoi assegnare automaticamente la catena '{{ruleChainName}}' all'edge alla creazione?", "set-auto-assign-to-edge-text": "Dopo la conferma la catena sarà assegnata automaticamente all'edge alla creazione.", "unset-auto-assign-to-edge": "Non assegnare catena all'edge alla creazione", - "unset-auto-assign-to-edge-title": "Vuoi disabilitare l'assegnazione automatica della catena '{{ruleChainName}}'?", + "unset-auto-assign-to-edge-title": "Sei sicuro di non voler assegnare la catena di regole Edge '{{ruleChainName}}' agli Edge al momento della creazione?", "unset-auto-assign-to-edge-text": "Dopo la conferma, la catena non sarà più assegnata automaticamente agli edge in fase di creazione.", - "unassign-rulechain-title": "Sei sicuro di voler disassegnare la catena '{{ruleChainName}}'?", - "unassign-rulechains": "Disassegna catene di regole" + "unassign-rulechain-title": "Sei sicuro di voler rimuovere l'assegnazione della catena '{{ruleChainName}}'?", + "unassign-rulechains": "Rimuovi assegnazione catene di regole", + "add-note": "Aggiungi nota", + "paste-note": "Incolla nota", + "note": "Nota", + "edit-note": "Modifica nota", + "note-content": "Contenuto Markdown/HTML", + "note-details": "Dettagli della nota", + "note-background-color": "Colore di sfondo", + "note-border": "Bordo", + "note-apply-default-markdown-style": "Applica lo stile Markdown predefinito", + "note-custom-css": "CSS del contenuto della nota" }, "rulenode": { "rule-node-events": "Eventi del nodo regola", @@ -6747,8 +7885,8 @@ "short-templatization-tooltip": "Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata.", "fields-mapping-required": "È necessario specificare almeno una mappatura dei campi.", "at-least-one-field-required": "Almeno un campo di input deve avere un valore.", - "originator-fields-sv-map-hint": "I campi della chiave di destinazione supportano la templificazione. Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata.", - "sv-map-hint": "Solo i campi della chiave di destinazione supportano la templificazione. Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata.", + "originator-fields-sv-map-hint": "I campi della chiave di destinazione supportano i template. Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata.", + "sv-map-hint": "Solo i campi della chiave di destinazione supportano i template. Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata.", "source-field": "Campo sorgente", "source-field-required": "Campo sorgente richiesto.", "originator-source": "Origine dell’origine", @@ -6778,14 +7916,14 @@ "period-seconds-required": "Periodo richiesto.", "generation-frequency-seconds": "Frequenza generazione in secondi", "generation-frequency-required": "Frequenza generazione richiesta.", - "min-generation-frequency-message": "È consentito solo un minimo di 60 secondi.", + "min-generation-frequency-message": "È consentito solo un minimo di 1 secondo.", "script-lang-tbel": "TBEL", "script-lang-js": "JS", "use-metadata-period-in-seconds-patterns": "Utilizza il pattern periodo in secondi", "use-metadata-period-in-seconds-patterns-hint": "Se selezionato, il nodo regola utilizzerà il pattern periodo in secondi dai metadati del messaggio o dai dati, assumendo che gli intervalli siano espressi in secondi.", "period-in-seconds-pattern": "Pattern periodo in secondi", "period-in-seconds-pattern-required": "Pattern periodo in secondi richiesto", - "min-period-seconds-message": "È consentito solo un periodo minimo di 60 secondi.", + "min-period-seconds-message": "È consentito solo un periodo minimo di 1 secondo.", "originator": "Originatore", "message-body": "Corpo del messaggio", "message-metadata": "Metadati del messaggio", @@ -6803,7 +7941,7 @@ "transformer": "Trasformatore", "alarm-create-condition": "Condizione di creazione allarme", "test-condition-function": "Test funzione condizione", - "alarm-clear-condition": "Condizione di cancellazione allarme", + "alarm-clear-condition": "Condizione di risoluzione allarme", "alarm-details-builder": "Generatore dettagli allarme", "test-details-function": "Test funzione dettagli", "alarm-type": "Tipo di allarme", @@ -6854,8 +7992,9 @@ "endpoint-url-pattern": "Pattern URL endpoint", "endpoint-url-pattern-required": "Pattern URL endpoint richiesto", "request-method": "Metodo richiesta", - "use-simple-client-http-factory": "Utilizza client HTTP semplice", "ignore-request-body": "Senza corpo richiesta", + "request-body-template": "Modello del corpo della richiesta", + "request-body-template-hint": "Usa ${metadataKey} per i metadati, $[messageKey] per i valori del messaggio. Se vuoto, il payload del messaggio viene usato come corpo della richiesta. Per i payload non JSON, abilita 'Analizza come testo semplice'.

    Puoi inserire un segreto usando il segnaposto ${secret:name;type:TYPE}, dove 'name' è l'identificatore del segreto e 'type' è TEXT o TEXT_FILE. È utile nei campi di configurazione dei nodi regola che non supportano direttamente 'Usa segreto'. Esempio: ${secret:tenant password;type:TEXT}.", "parse-to-plain-text": "Analizza come testo semplice", "parse-to-plain-text-hint": "Se selezionato, il payload del corpo del messaggio della richiesta verrà trasformato da stringa JSON a testo semplice, ad esempio msg = \"Hello,\\t\"world\"\" verrà analizzato come Hello, \"world\"", "read-timeout": "Timeout di lettura in millisecondi", @@ -6879,6 +8018,7 @@ "bootstrap-servers": "Server bootstrap", "bootstrap-servers-required": "Valore dei server bootstrap richiesto", "other-properties": "Altre proprietà", + "other-properties-empty": "Nessun'altra proprietà configurata", "key": "Chiave", "key-required": "Chiave richiesta", "retries": "Numero di tentativi automatici in caso di errore", @@ -6916,6 +8056,7 @@ "handshake-timeout-ms": "Timeout handshake (ms)", "min-handshake-timeout-ms-message": "È consentito solo un valore minimo di 0 ms.", "client-properties": "Proprietà client", + "client-properties-empty": "Nessuna proprietà del client configurata", "queue-url-pattern": "Pattern URL della coda", "queue-url-pattern-required": "Pattern URL della coda richiesto", "delay-seconds": "Ritardo (secondi)", @@ -6933,6 +8074,7 @@ "pubsub-topic-name": "Nome topic", "pubsub-topic-name-required": "Nome topic richiesto", "message-attributes": "Attributi del messaggio", + "message-attributes-empty": "Nessun attributo del messaggio configurato", "message-attributes-hint": "Usa ${metadataKey} per il valore dai metadati, $[messageKey] per il valore dal corpo del messaggio nei campi nome/valore", "connect-timeout": "Timeout di connessione (sec)", "connect-timeout-required": "Timeout di connessione richiesto.", @@ -6953,7 +8095,7 @@ "credentials-pem": "PEM", "credentials-pem-hint": "È richiesto almeno il file del certificato Server CA oppure una coppia formata da certificato client e chiave privata client", "credentials-sas": "Shared Access Signature", - "secret-placeholder-hint": "È possibile inserire un secret utilizzando il placeholder ${secret:name;type:TYPE}, dove 'name' è l’identificatore del secret e 'type' può essere TEXT oppure TEXT_FILE. Questo è utile nei campi di configurazione dei rule node che non supportano direttamente l’opzione 'Use Secret'. Esempio: ${secret:Header;type:TEXT}", + "secret-placeholder-hint": "È possibile inserire un segreto utilizzando il segnaposto ${secret:name;type:TYPE}, dove 'name' è l'identificatore del segreto e 'type' può essere TEXT oppure TEXT_FILE. Questo è utile nei campi di configurazione dei nodi regola che non supportano direttamente l'opzione 'Usa segreto'. Esempio: ${secret:Header;type:TEXT}", "sas-key": "SAS Key", "sas-key-required": "La SAS Key è obbligatoria.", "hostname": "Nome host", @@ -6973,7 +8115,7 @@ "use-metadata-interval-patterns-hint": "Se selezionato, il nodo regola utilizza i pattern dell'intervallo iniziale e finale dai metadati o dati del messaggio, assumendo che siano in millisecondi.", "use-message-alarm-data": "Usa i dati dell'allarme dal messaggio", "overwrite-alarm-details": "Sovrascrivi i dettagli dell'allarme", - "use-alarm-severity-pattern": "Usa pattern per la severità dell'allarme", + "use-alarm-severity-pattern": "Usa pattern di gravità dell'allarme", "check-all-keys": "Verifica che tutti i campi specificati siano presenti", "check-all-keys-hint": "Se selezionato, controlla che tutte le chiavi specificate siano presenti nei dati e metadati del messaggio.", "check-relation-to-specific-entity": "Verifica relazione con entità specifica", @@ -7010,7 +8152,9 @@ "group-cache-expiration-hint": "Specifica l’intervallo massimo di tempo consentito per memorizzare i record dei gruppi trovati. Il valore 0 indica che i record non scadranno mai.", "remove-from-current-groups": "Rimuovi dai gruppi attuali", "use-report-config-from-message": "Usa configurazione report dal messaggio", + "use-report-config-from-message-hint": "Se abilitato, il nodo regola recupererà la configurazione di generazione del report dal messaggio in arrivo; altrimenti viene usata la configurazione specificata di seguito.", "use-system-reports-server": "Usa server di report di sistema", + "use-system-reports-server-hint": "Se abilitato, il nodo regola userà l'URL dell'endpoint del server dei report dalla configurazione di sistema; altrimenti viene usato l'URL specificato di seguito.", "reports-server-endpoint-url": "URL endpoint server report", "reports-server-endpoint-url-is-required": "URL endpoint server report richiesto.", "tls-version": "Versione TLS", @@ -7023,7 +8167,6 @@ "proxy-port-range": "La porta proxy deve essere compresa tra 1 e 65535.", "proxy-user": "Utente proxy", "proxy-password": "Password proxy", - "proxy-scheme": "Schema proxy", "numbers-to-template": "Numeri di telefono al template", "numbers-to-template-required": "Numeri di telefono al template richiesti", "numbers-to-template-hint": "Numeri di telefono separati da virgola, usa ${metadataKey} per il valore dai metadati, $[messageKey] per il valore dal corpo del messaggio", @@ -7101,13 +8244,13 @@ "all-alarms": "Tutti gli allarmi", "for": "per", "status-filter": "Filtro stato", - "severity-filter": "Filtro severità", + "severity-filter": "Filtro gravità", "type-filter": "Filtro tipo", "all-statuses": "Tutti gli stati", - "all-severities": "Tutte le severità", + "all-severities": "Tutte le gravità", "all-types": "Tutti i tipi", "add-alarm-status": "+Stato allarme", - "add-alarm-severity": "+Severità allarme", + "add-alarm-severity": "+Gravità allarme", "add-alarm-type": "+Tipo allarme", "specify-interval": "Specifica intervallo", "interval-seconds": "Intervallo in secondi", @@ -7301,10 +8444,10 @@ "add-mapped-latest-telemetry-to": "Aggiungi ultima telemetria mappata a", "add-mapped-fields-to": "Aggiungi campi mappati a", "add-selected-details-to": "Aggiungi dettagli selezionati a", - "clear-selected-types": "Pulisci tipi selezionati", - "clear-selected-details": "Pulisci dettagli selezionati", - "clear-selected-fields": "Pulisci campi selezionati", - "clear-selected-keys": "Pulisci chiavi selezionate", + "clear-selected-types": "Cancella tipi selezionati", + "clear-selected-details": "Cancella dettagli selezionati", + "clear-selected-fields": "Cancella campi selezionati", + "clear-selected-keys": "Cancella chiavi selezionate", "geofence-configuration": "Configurazione geofence", "coordinate-field-names": "Nomi dei campi di coordinate", "coordinate-field-hint": "Il nodo regola cerca di recuperare i campi specificati dal messaggio. Se non presenti, li cerca nei metadati.", @@ -7340,7 +8483,7 @@ "fetch-interval": "Intervallo di recupero", "fetch-strategy": "Strategia di recupero", "fetch-timeseries-from-to": "Recupera serie temporale da {{startInterval}} {{startIntervalTimeUnit}} fa a {{endInterval}} {{endIntervalTimeUnit}} fa.", - "fetch-timeseries-from-to-invalid": "Recupero serie temporale non valido (\"Intervallo iniziale\" deve essere inferiore a \"Intervallo finale\").", + "fetch-timeseries-from-to-invalid": "Recupero serie temporale non valido (\"Inizio intervallo\" deve essere inferiore a \"Fine intervallo\").", "use-metadata-dynamic-interval-tooltip": "Se selezionato, il nodo regola utilizzerà un intervallo dinamico basato su modelli di messaggio e metadati.", "all-mode-hint": "Se selezionata la modalità 'Tutto', il nodo regola recupererà la telemetria dall'intervallo di recupero con parametri configurabili.", "first-mode-hint": "Se selezionata la modalità 'Primo', il nodo regola recupererà la telemetria più vicina all'inizio dell'intervallo.", @@ -7376,14 +8519,14 @@ "add-key": "Aggiungi chiave", "recipients": "Destinatari", "message-subject-and-content": "Oggetto e contenuto del messaggio", - "template-rules-hint": "Entrambi i campi di input supportano la templificazione. Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata del messaggio.", + "template-rules-hint": "Entrambi i campi di input supportano i template. Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata del messaggio.", "originator-customer-desc": "Utilizza il customer dell’originatore del messaggio in ingresso come nuovo originatore.", "originator-tenant-desc": "Utilizza il tenant corrente come nuovo originatore.", "originator-related-entity-desc": "Utilizza l’entità correlata come nuovo originatore. La ricerca si basa sul tipo di relazione configurato e sulla direzione.", "originator-alarm-originator-desc": "Utilizza l’originatore dell’allarme come nuovo originatore. Solo se l’originatore del messaggio in ingresso è un’entità allarme.", "originator-entity-by-name-pattern-desc": "Utilizza l’entità recuperata dal DB come nuovo originatore. La ricerca si basa sul tipo di entità e sul pattern del nome specificato.", "email-from-template-hint": "Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata.", - "recipients-block-main-hint": "Elenco di indirizzi separati da virgola. Tutti i campi di input supportano la templificazione. Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata.", + "recipients-block-main-hint": "Elenco di indirizzi separati da virgola. Tutti i campi di input supportano i template. Usa $[messageKey] per estrarre il valore dal messaggio e ${metadataKey} per estrarre il valore dai metadata.", "search-entity-group-for-tenant-only-hint": "Per impostazione predefinita, la ricerca del gruppo inizia allo stesso livello del proprietario dell’originatore del messaggio e risale la gerarchia fino al livello Tenant se il gruppo non viene trovato. Se abilitato, la ricerca viene limitata al livello Tenant, ignorando il comportamento predefinito.", "entity-group-is-message-originator-hint": "Se abilitato, l’originatore del messaggio verrà considerato come gruppo di entità utilizzato per recuperare le entità. In tal caso, il messaggio in ingresso verrà instradato tramite la Failure chain se il tipo dell’originatore non è un gruppo di entità.", "forward-msg-default-rule-chain": "Inoltra il messaggio alla default rule chain dell’originatore", @@ -7419,6 +8562,17 @@ "tell-failure-aws-lambda-hint": "Il rule node forza un failure dell’elaborazione del messaggio se l’esecuzione della funzione AWS Lambda genera un’eccezione.", "basic-mode": "Base", "advanced-mode": "Avanzato", + "url-hint": "Inserisci l'URL della richiesta. Assicurati che i caratteri speciali siano codificati in percentuale.", + "query-params": "Parametri di query", + "query-params-hint": "Parametri di query aggiuntivi da includere nell'URL della richiesta. Sia i nomi sia i valori supportano i modelli e vengono codificati in modo rigoroso (RFC 3986) dopo la risoluzione del modello.", + "query-params-empty": "Nessun parametro di query configurato", + "query-params-name": "Nome", + "query-params-value": "Valore", + "query-params-name-required": "Il nome è obbligatorio", + "query-params-value-required": "Il valore è obbligatorio", + "headers-empty": "Nessuna intestazione configurata", + "request-url": "URL della richiesta", + "url": "URL", "save-time-series": { "processing-settings": "Impostazioni di elaborazione", "processing-settings-hint": "Definisci come vengono elaborati i messaggi in ingresso. Le impostazioni di elaborazione di base consentono di selezionare strategie preconfigurate, mentre le impostazioni avanzate permettono di selezionare strategie di elaborazione individuali per ciascuna azione.", @@ -7480,11 +8634,11 @@ "after-template-evaluation-hint": "Dopo la valutazione del template il valore deve essere true per HTML e false per testo semplice." }, "ai": { - "ai-model": "Modello AI", + "ai-model": "Modello IA", "model": "Modello", - "ai-model-hint": "Seleziona il modello AI preconfigurato per elaborare le richieste inviate da questo rule node, oppure utilizza \"Create new\" per configurarene uno nuovo.", + "ai-model-hint": "Seleziona il modello di IA preconfigurato che elaborerà le richieste inviate da questo nodo regola, oppure usa \"Crea nuovo\" per configurarne uno nuovo.", "prompt-settings": "Impostazioni prompt", - "prompt-settings-hint": "Il system prompt opzionale definisce il ruolo generale e i vincoli dell’AI, mentre lo user prompt definisce il compito specifico da eseguire. Entrambi i campi supportano la templificazione.", + "prompt-settings-hint": "Il system prompt facoltativo definisce il ruolo generale e i vincoli dell'IA, mentre lo user prompt definisce l'attività specifica da svolgere. Entrambi i campi supportano anche l'uso di template.", "system-prompt": "System prompt", "system-prompt-max-length": "Il system prompt deve contenere 500000 caratteri o meno.", "system-prompt-blank": "Il system prompt non può essere vuoto.", @@ -7503,12 +8657,12 @@ "response-json-schema-required": "JSON Schema è obbligatorio", "advanced-settings": "Impostazioni avanzate", "timeout": "Timeout", - "timeout-hint": "Tempo massimo di attesa per una risposta \ndal modello AI prima che la richiesta venga interrotta.", + "timeout-hint": "Tempo massimo di attesa di una risposta dal modello di IA prima che la richiesta venga terminata.", "timeout-required": "Il timeout è obbligatorio", "timeout-validation": "Deve essere compreso tra 1 secondo e 10 minuti.", "force-acknowledgement": "Forza acknowledgement", "force-acknowledgement-hint": "Se abilitato, il messaggio in ingresso viene confermato immediatamente. La risposta del modello viene quindi aggiunta in coda come nuovo messaggio separato.", - "ai-resources": "Risorse AI" + "ai-resources": "Risorse IA" } }, "role": { @@ -7551,6 +8705,7 @@ "copyId": "Copia ID ruolo", "idCopiedMessage": "ID ruolo copiato negli appunti", "permissions": "Permessi", + "excluded-permissions": "Permessi esclusi", "role-required": "Ruolo richiesto", "roles-required": "Ruoli richiesti", "display-type": { @@ -7584,10 +8739,14 @@ "no-owners-matching": "Nessun proprietario corrispondente a '{{owner}}' trovato.", "target-owner-required": "Il proprietario del gruppo di entità è obbligatorio.", "target-user-group-owner-required": "Il proprietario del gruppo utenti è obbligatorio.", - "no-group-permissions-text": "Nessun permesso di gruppo trovato" + "no-group-permissions-text": "Nessun permesso di gruppo trovato", + "permissions-merge-hint": "Per i ruoli generici, le operazioni negate hanno effetto solo all'interno dello stesso ruolo. Se un altro ruolo consente un'operazione, l'accesso verrà concesso." }, "permission": { "permissions-required": "Deve essere specificata almeno una voce di autorizzazione.", + "resource-duplicate": "Questa risorsa è già selezionata", + "operations-required": "Deve essere specificata almeno un'operazione consentita o negata.", + "operation-overlap": "Le operazioni consentite e negate non devono sovrapporsi.", "remove-permission": "Rimuovi voce di autorizzazione", "add-permission": "Aggiungi voce di autorizzazione", "other": "Altro", @@ -7602,8 +8761,8 @@ "ADMIN_SETTINGS": "Impostazioni di amministrazione", "ALARM": "Allarme", "DEVICE": "Dispositivo", - "DEVICE_PROFILE": "Profilo del dispositivo", - "ASSET": "Risorsa", + "DEVICE_PROFILE": "Profilo dispositivo", + "ASSET": "Asset", "CUSTOMER": "Cliente", "DASHBOARD": "Dashboard", "ENTITY_VIEW": "Vista entità", @@ -7646,13 +8805,23 @@ "OAUTH2_CLIENT": "Client OAuth 2.0", "SECRET": "Secret", "JOB": "Attività", - "AI_MODEL": "Modello AI", - "API_KEY": "Chiave API" + "AI_MODEL": "Modello IA", + "AI": "IA", + "API_KEY": "Chiave API", + "AGENT": "Agent", + "AGENT_GROUP": "Gruppo di Agent", + "AGENT_PROFILE": "Profilo Agent", + "AGENT_APPLICATION": "Applicazione Agent", + "AGENT_APP_PROFILE": "Profilo applicazione Agent", + "AGENT_APP_UNIT": "Unità applicazione Agent" } }, "operation": { "operation": "Operazione", "operations": "Operazioni", + "allowed": "Consentita", + "denied": "Negata", + "not-set": "Non impostata", "operations-required": "Deve essere specificata almeno un'operazione.", "enter-operation": "Inserisci operazione", "no-operations-matching": "Nessuna operazione corrispondente a '{{operation}}' trovata.", @@ -7782,8 +8951,6 @@ "single-entity": "Entità singola", "group-entities": "Gruppo di entità", "entities-group-owner": "Proprietario del gruppo di entità", - "single-device": "Dispositivo singolo", - "group-of-devices": "Gruppo di dispositivi", "devices-group-owner": "Proprietario del gruppo di dispositivi", "message-body": "Corpo del messaggio", "target": "Destinatario", @@ -7867,7 +9034,14 @@ "download": "Scarica report", "report-filter": "Filtro report", "no-reports-matching": "Nessun report corrispondente a '{{entity}}' trovato.", - "report-required": "Il report è obbligatorio" + "report-required": "Il report è obbligatorio", + "generate-report": "Genera report", + "generate-report-started": "La generazione del report è iniziata. Aggiorna la pagina se il report non viene visualizzato.", + "public-status": "Accesso pubblico", + "manage-public-access": "Gestisci accesso pubblico", + "public-status-hint": "Se abilitato, chiunque abbia il link pubblico del report può scaricare il report.", + "public-link-text": "Questo report è pubblico. Condividi il link qui sotto: chiunque lo abbia può scaricare il report senza autorizzazione.", + "copy-public-link": "Copia link" }, "report-template": { "report-template": "Modello di report", @@ -8362,12 +9536,21 @@ "maximum-scheduler-events": "Numero massimo di eventi dello scheduler", "maximum-scheduler-events-required": "Il numero massimo di eventi dello scheduler è obbligatorio.", "maximum-scheduler-events-range": "Il numero massimo di eventi dello scheduler non può essere negativo", + "maximum-agents": "Numero massimo di Agent", + "maximum-agents-required": "Il numero massimo di Agent è obbligatorio.", + "maximum-agents-range": "Il numero massimo di Agent non può essere negativo", + "maximum-agent-applications": "Numero massimo di applicazioni Agent", + "maximum-agent-applications-required": "Il numero massimo di applicazioni Agent è obbligatorio.", + "maximum-agent-applications-range": "Il numero massimo di applicazioni Agent non può essere negativo", "maximum-resources-sum-data-size": "Dimensione totale massima dei file delle risorse (byte)", "maximum-resources-sum-data-size-required": "La dimensione totale massima dei file delle risorse è obbligatoria.", "maximum-resources-sum-data-size-range": "La dimensione totale massima dei file delle risorse non può essere negativa", "maximum-resource-size": "Dimensione massima del file risorsa (byte)", "maximum-resource-size-required": "La dimensione massima del file risorsa è obbligatoria", "maximum-resource-size-range": "La dimensione massima del file risorsa non può essere negativa", + "maximum-report-size": "Dimensione massima del file di report (byte)", + "maximum-report-size-required": "La dimensione massima del file di report è obbligatoria", + "maximum-report-size-range": "La dimensione massima del file di report non può essere negativa", "maximum-ota-packages-sum-data-size": "Dimensione totale massima dei file dei pacchetti OTA (byte)", "maximum-ota-package-sum-data-size-required": "La dimensione totale massima dei file dei pacchetti OTA è obbligatoria.", "maximum-ota-package-sum-data-size-range": "La dimensione totale massima dei file dei pacchetti OTA non può essere negativa", @@ -8507,6 +9690,10 @@ "relation-search-entity-limit-hint": "Limita il numero di entità risolte all'ultimo livello del percorso di relazione. Si applica agli argomenti 'Entità correlate' e ai campi di propagazione.", "relation-search-entity-limit-required": "Il limite delle entità nella ricerca di relazione è obbligatorio", "relation-search-entity-limit-range": "Il limite delle entità nella ricerca di relazione non può essere inferiore a '1'", + "ai": "IA", + "max-ai-credits": "Numero massimo di crediti IA", + "max-ai-credits-required": "Il numero massimo di crediti IA è obbligatorio.", + "max-ai-credits-range": "Il numero massimo di crediti IA non può essere negativo", "rate-limits": { "add-limit": "Aggiungi limite", "and-also-less-than": "e anche inferiore a", @@ -8548,6 +9735,16 @@ "edit-edge-uplink-messages-per-edge-rate-limit": "Modifica i limiti dei messaggi uplink edge per edge", "edge-uplink-messages-rate-limit": "Messaggi uplink edge", "edge-uplink-messages-per-edge-rate-limit": "Messaggi uplink edge per edge", + "edit-agent-events-rate-limit": "Modifica limiti di frequenza degli eventi Agent", + "edit-agent-events-per-agent-rate-limit": "Modifica limiti di frequenza degli eventi Agent per Agent", + "agent-events-rate-limit": "Eventi Agent", + "agent-events-per-agent-rate-limit": "Eventi per singolo Agent", + "edit-agent-log-chunks-rate-limit": "Modifica limiti di frequenza dei blocchi di log Agent", + "edit-agent-log-chunks-per-agent-rate-limit": "Modifica limiti di frequenza dei blocchi di log Agent per Agent", + "agent-log-chunks-rate-limit": "Blocchi di log Agent", + "agent-log-chunks-per-agent-rate-limit": "Blocchi di log per singolo Agent", + "ai-chat-requests-rate-limit": "Richieste chat IA", + "edit-ai-chat-requests-rate-limit": "Modifica limiti di frequenza delle richieste chat IA", "messages-per": "messaggi per", "not-set": "Non impostato", "number-of-messages": "Numero di messaggi", @@ -8629,13 +9826,13 @@ "timewindow": { "timewindow": "Finestra temporale", "timewindow-settings": "Impostazioni della finestra temporale", - "years": "{ years, plural, =1 { anno } other {# anni } }", + "years": "{ years, plural, =1 {1 anno } other {# anni } }", "years-short": "{{ years }}a", - "months": "{ months, plural, =1 { mese } other {# mesi } }", + "months": "{ months, plural, =1 {1 mese } other {# mesi } }", "months-short": "{{ months }}M", - "weeks": "{ weeks, plural, =1 { settimana } other {# settimane } }", + "weeks": "{ weeks, plural, =1 {1 settimana } other {# settimane } }", "weeks-short": "{{ weeks }}s", - "days": "{ days, plural, =1 { giorno } other {# giorni } }", + "days": "{ days, plural, =1 {1 giorno } other {# giorni } }", "days-short": "{{ days }}g", "hours": "{ hours, plural, =0 { ora } =1 {1 ora } other {# ore } }", "hr": "{{ hr }} ore", @@ -9155,6 +10352,7 @@ "cubic-foot-per-minute": "Piede cubo al minuto", "cubic-meters-per-hour": "Metri cubi all’ora", "cubic-meters-per-second": "Metri cubi al secondo", + "cubic-meters-per-minute": "Metri cubi al minuto", "liter-per-second": "Litri al secondo", "liter-per-minute": "Litri al minuto", "gallons-per-minute": "Galloni al minuto", @@ -9391,7 +10589,7 @@ "diff-entity-with-version": "Differenze con la versione '{{versionName}}'", "previous-difference": "Differenza precedente", "next-difference": "Prossima differenza", - "current": "Attuale", + "current": "Corrente", "differences": "{ count, plural, =1 {1 differenza} other {# differenze} }", "create-entities-version": "Crea versione entità multiple", "default-sync-strategy": "Strategia di sincronizzazione predefinita", @@ -9494,6 +10692,7 @@ "widget-bundle": "Bundle di widget", "all-bundles": "Tutti i bundle", "select-widgets-bundle": "Seleziona bundle di widget", + "installed": "Installati", "widgets": "Widget", "all-widgets": "Tutti i widget", "widget": "Widget", @@ -9515,7 +10714,7 @@ "timeseries": "Serie temporali", "search-data": "Cerca dati", "no-data-found": "Nessun dato trovato", - "latest": "Valori recenti", + "latest": "Ultimi valori", "rpc": "Widget di controllo", "alarm": "Widget allarme", "static": "Widget statico", @@ -9524,6 +10723,11 @@ "rpc-short": "controllo", "alarm-short": "allarme", "static-short": "statico", + "type-timeseries": "Serie temporali", + "type-latest": "Ultimi valori", + "type-rpc": "Controllo", + "type-alarm": "Allarme", + "type-static": "Statico", "select-widget-type": "Seleziona tipo di widget", "missing-widget-title-error": "Il titolo del widget deve essere specificato!", "widget-saved": "Widget salvato", @@ -9560,7 +10764,7 @@ "data-key-settings-form-selector": "Selettore modulo chiavi dati", "latest-data-key-settings-form-selector": "Selettore modulo dati recenti", "all": "Tutti", - "actual": "Attuale", + "actual": "Attuali", "scada": "Simbolo SCADA", "deprecated": "Obsoleto", "has-basic-mode": "Ha modalità base", @@ -9679,7 +10883,89 @@ "auto": "Auto", "wi-fi": "Wi-Fi", "ble": "BLE", - "soft-ap": "Soft AP" + "soft-ap": "Soft AP", + "save-to-entity": "Salva posizione nell'entità", + "target-panel-title": "Destinazione", + "target-save-to": "Salva in", + "target-mode-entity": "Entità", + "target-current-entity": "Entità dall'origine dati del widget", + "target-current-user": "Utente corrente", + "target-entity-alias": "Alias entità", + "target-from-attribute": "Da attributo", + "target-entity-alias-name": "Nome alias", + "target-entity-alias-name-required": "Il nome alias è obbligatorio", + "target-attribute-source": "Leggi attributo da", + "target-attribute-key": "Chiave attributo server", + "target-attribute-key-required": "La chiave attributo server è obbligatoria", + "target-attribute-value-hint": "L'attributo deve contenere un oggetto Entity Id con entrambi i campi, ad esempio {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}. Una semplice stringa id non è accettata.", + "location-save-failed": "Impossibile salvare la posizione: {{error}}", + "start-live-location": "Avvia tracciamento della posizione in tempo reale", + "stop-live-location": "Interrompi tracciamento della posizione in tempo reale", + "accuracy": "Precisione", + "accuracy-hint": "Compromesso tra la precisione di ogni posizione e la quantità di batteria consumata dal tracciamento.", + "accuracy-high": "Alta", + "accuracy-high-hint": "Usa il GPS per la posizione più precisa, circa 5 m. Ideale per il tracciamento di veicoli o operatori sul campo, ma consuma la batteria più rapidamente.", + "accuracy-balanced": "Bilanciata", + "accuracy-balanced-hint": "Usa Wi-Fi e celle della rete mobile, ricorrendo al GPS solo quando necessario, circa 40 m. Una buona scelta predefinita per check-in periodici con un consumo moderato della batteria.", + "accuracy-low": "Bassa", + "accuracy-low-hint": "Usa solo i celle della rete mobile, circa 500 m o peggio. Ideale per rilevare la presenza a livello di città per lunghi periodi con un consumo minimo della batteria.", + "live-location-advanced-settings": "Impostazioni avanzate", + "distance-filter": "Limita gli aggiornamenti in base alla distanza percorsa", + "distance-filter-hint": "Ignora gli aggiornamenti finché il dispositivo non si è spostato almeno di questa distanza dall'ultima posizione segnalata.", + "distance-filter-value": "Distanza", + "distance-filter-value-min": "La distanza deve essere di almeno 1 metro", + "distance-filter-value-pattern": "La distanza deve essere un numero intero", + "distance-filter-value-required": "La distanza è obbligatoria", + "interval": "Limita gli aggiornamenti in base all'intervallo di tempo", + "interval-hint": "Richiede una nuova posizione al massimo con questa frequenza. Senza questa impostazione, gli aggiornamenti arrivano alla stessa velocità con cui il dispositivo li segnala.", + "interval-value": "Intervallo", + "interval-value-min": "L'intervallo deve essere di almeno 1 secondo", + "interval-value-required": "L'intervallo è obbligatorio", + "max-duration": "Interrompi il tracciamento dopo una durata massima", + "max-duration-hint": "Il tracciamento si interrompe automaticamente una volta trascorso questo tempo dal suo avvio.", + "max-duration-value": "Durata", + "max-duration-value-min": "La durata deve essere di almeno 1 minuto", + "max-duration-value-required": "La durata è obbligatoria" + }, + "location": { + "saved-keys": "Chiavi salvate nell'entità", + "argument": "Argomento", + "key-name": "Chiave dati", + "value-type": "Tipo", + "add-key": "Aggiungi chiave", + "remove-key": "Rimuovi chiave", + "duplicate-key-names": "Le chiavi dati devono essere univoche", + "key-latitude": "Latitudine", + "key-longitude": "Longitudine", + "key-accuracy": "Precisione", + "key-altitude": "Altitudine", + "key-speed": "Velocità", + "key-heading": "Direzione", + "key-gps-active": "GPS attivo", + "key-gps-tracked-by": "GPS tracciato dall'utente", + "value-type-attribute": "Attributo server", + "value-type-timeseries": "Serie temporale", + "error-no-current-entity": "L'azione del widget non ha un'entità corrente", + "error-no-current-user": "Impossibile determinare l'utente corrente", + "error-save-failed": "Errore imprevisto del server", + "error-permission-denied": "Permesso negato", + "error-alias-not-found": "Alias entità '{{alias}}' non trovato nella dashboard", + "error-alias-not-resolved": "L'alias entità '{{alias}}' non corrisponde ad alcuna entità", + "error-attribute-not-found": "Attributo '{{key}}' non trovato nell'entità di origine", + "error-attribute-not-object": "L'attributo '{{key}}' non è un oggetto Entity Id. Sono attesi entrambi i campi entityType e id, ad esempio {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}.", + "error-attribute-incomplete": "Nell'attributo '{{key}}' manca il campo entityType o id dell'oggetto Entity Id", + "error-attribute-unknown-entity-type": "L'attributo '{{key}}' fa riferimento a un tipo di entità sconosciuto '{{entityType}}'", + "error-unknown-target-type": "Origine dell'entità di destinazione sconosciuta '{{type}}'" + }, + "save-browser-location": "Salva la posizione del browser", + "browser-location": { + "location-saved": "Posizione del browser salvata", + "location-save-failed": "Impossibile salvare la posizione del browser: {{error}}", + "error-unsupported": "Questo browser non supporta il rilevamento della posizione", + "error-insecure-context": "La posizione del browser richiede una connessione sicura (HTTPS)", + "error-permission-denied": "L'autorizzazione alla posizione è stata negata", + "error-position-unavailable": "La posizione corrente non è disponibile", + "error-timeout": "Tempo scaduto durante il rilevamento della posizione corrente" }, "custom-action-function": "Funzione azione personalizzata", "custom-pretty-function": "Funzione azione personalizzata (con template HTML)", @@ -9804,13 +11090,33 @@ "add-action": "Aggiungi azione", "search-actions": "Cerca azioni", "no-actions-text": "Nessuna azione trovata", + "import-actions": "Importa azioni", + "export-actions": "Esporta azioni", + "export-action": "Esporta azione", + "duplicate-action": "Duplica azione", + "copy-action": "Copia azione", + "copy-all-actions": "Copia tutte le azioni", + "action-copied": "Azione copiata", + "actions-copied": "Azioni copiate", + "paste-actions": "Incolla azioni", + "clear-actions": "Cancella tutte le azioni", + "clear-actions-title": "Cancella tutte le azioni", + "clear-actions-text": "Sei sicuro di voler rimuovere tutte le azioni del widget?", + "actions-file": "File delle azioni del widget", + "actions-json-content": "Contenuto JSON delle azioni", + "invalid-actions-file-error": "Impossibile importare le azioni del widget: struttura dati delle azioni del widget non valida.", + "import-actions-imported": "{ count, plural, =0 {Nessuna azione è stata importata} one {# azione è stata importata} other {# azioni sono state importate} }", + "paste-actions-pasted": "{ count, plural, =0 {Nessuna azione è stata incollata} one {# azione è stata incollata} other {# azioni sono state incollate} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {Nessuna azione è stata duplicata} one {# azione è stata duplicata} other {# azioni sono state duplicate} }", + "import-actions-skipped": "{ count, plural, one {# azione è stata ignorata perché non applicabile o già configurata per questo widget} other {# azioni sono state ignorate perché non applicabili o già configurate per questo widget} }", + "import-actions-columns-reset": "{ count, plural, one {# azione di clic sulla cella non ha alcuna colonna assegnata. Modifica l'azione per assegnare una colonna.} other {# azioni di clic sulla cella non hanno alcuna colonna assegnata. Modifica le azioni per assegnare una colonna.} }", "action-source": "Fonte dell'azione", "select-action-source": "Seleziona fonte dell'azione", "action-source-required": "La fonte dell'azione è obbligatoria.", "column-index": "Indice colonna", "select-column-index": "Seleziona indice colonna", "column-index-required": "L'indice colonna è obbligatorio.", - "entity-group-row-click-hint": "Per usare l'azione personalizzata \"Al clic sulla riga,\" assicurati che l'opzione \"Apri dettagli entità su\" nella scheda impostazioni sia impostata su un valore diverso da \"Al clic sulla riga\".", + "entity-group-row-click-hint": "Per usare l'azione personalizzata \"Al clic sulla riga\", assicurati che l'opzione \"Apri i dettagli dell'entità su\" nella scheda impostazioni sia impostata su un valore diverso da \"Al clic sulla riga\".", "not-set": "Non impostato", "action-name": "Nome", "action-name-required": "Il nome dell'azione è obbligatorio.", @@ -9931,21 +11237,130 @@ "recaptcha-enterprise-service-account-file": "File JSON delle credenziali dell'account reCAPTCHA Enterprise", "select-recaptcha-enterprise-service-account-file": "Trascina e rilascia il file delle credenziali dell'account" }, - "solution-template": { - "solution-template": "Template di soluzione", - "solution-templates": "Template di soluzioni", - "management": "Gestisci template di soluzioni", - "details": "Dettagli", - "install": "Installa", - "level": "Livello", - "install-title": "Template di soluzione installato con successo", - "install-failed-title": "Installazione del template di soluzione fallita", - "instructions": "Istruzioni", - "goto-main-dashboard": "Vai alla dashboard principale", - "delete": "Elimina", - "delete-solution-title": "Sei sicuro di voler eliminare la soluzione '{{solutionTitle}}'?", - "delete-solution-text": "Attenzione, dopo la conferma la soluzione e tutti i dati correlati saranno irrimediabilmente cancellati.", - "installing": "Installazione del template di soluzione in corso..." + "solution-creator": { + "ai-solution-creator": "Creatore di soluzioni IA", + "describe-solution-you-want": "Descrivi la soluzione che vuoi creare", + "enter-your-prompt": "Inserisci il tuo prompt", + "target": "Destinazione", + "install-solution": "Installa", + "solution-overview": "Panoramica della soluzione: {{ name }}", + "dashboards-overview": "Panoramica delle dashboard: {{ name }}", + "entity-profile": "Profilo entità", + "entity-profiles": "Profili entità", + "name": "Nome", + "iam": "IAM", + "iam-full": "Gestione delle identità e degli accessi", + "table-view": "Tabella", + "schema-view": "Schema", + "iam-info": "Info IAM", + "operation": { + "C": "Crea", + "R": "Leggi", + "U": "Modifica", + "D": "Elimina" + }, + "alarm-info": "Informazioni sull'allarme", + "description": "Descrizione", + "data": "Dati", + "entity-info": "Informazioni sull'entità", + "calculated-field-info": "Informazioni sul campo calcolato", + "field-type": "Tipo di campo", + "scope": "Ambito", + "delete-alarm-title": "Eliminare questo allarme suggerito?", + "delete-alarm-text": "Questo allarme, suggerito in base alla tua descrizione, non verrà aggiunto alla soluzione proposta.
    Puoi sempre modificare o ricreare gli allarmi manualmente in seguito. Questa azione non può essere annullata.", + "basic-mode": "Base", + "advanced-mode": "Avanzato", + "create-solution": "Crea soluzione", + "go-dashboard-manager": "Avanti: progettazione della dashboard", + "success-generate-title": "La soluzione è pronta!", + "success-generate-sub-title": "Puoi installarla sul tuo account facendo clic sul pulsante qui sotto", + "success-generate-install-title": "Soluzione installata!", + "success-generate-install-sub-title": "Per modificare la soluzione, disinstalla prima l'istanza esistente", + "main-title": "Ciao! Sono il tuo assistente IA", + "sub-title": "Ti aiuto a trasformare i tuoi requisiti in una soluzione IoT completamente funzionante.\nDescrivi semplicemente cosa vuoi ottenere e al resto penso io.", + "solutions": "Soluzioni", + "new-solution": "Nuova soluzione", + "uninstall-solution": "Disinstalla", + "uninstall-solution-dialog-title": "Sei sicuro di voler disinstallare ‘{{ name }}’?", + "uninstall-solution-dialog-text": "Tutte le entità e le dashboard correlate verranno eliminate dal tuo account", + "uninstall-solution-dialog-confirm": "Sì, disinstalla", + "delete-solution-title": "Sei sicuro di voler eliminare ‘{{ name }}’?", + "delete-solution-text": "Tutti i tuoi dati andranno persi", + "delete-solution-confirm": "Sì, elimina", + "copy-solution": "Copia soluzione", + "expand-sidebar": "Espandi barra laterale", + "collapse-sidebar": "Comprimi barra laterale", + "solution-id": "ID soluzione", + "solution-id-required": "L'ID soluzione è obbligatorio", + "rename-solution-title": "Rinomina questa soluzione", + "generate-again": "Genera di nuovo", + "skip-interview": "Salta intervista", + "update-solution": "Aggiorna soluzione", + "finish-edit": "Termina modifica", + "lorawan-tracking": "Tracciamento LoRaWAN", + "smart-parking": "Parcheggio intelligente", + "weather-monitoring": "Monitoraggio meteo", + "water-metering": "Misurazione dei consumi idrici", + "coffee-machine-monitoring": "Monitoraggio macchine del caffè", + "fleet-geofencing": "Geofencing della flotta", + "more-examples": "Altri esempi", + "hide": "Nascondi", + "solution-info": "Informazioni sulla soluzione", + "solution-info-with-name": "Informazioni sulla soluzione: {{ name }}", + "status": "Stato", + "only-failures": "Solo errori", + "failed-create-entity": "Impossibile creare l'entità", + "failed-install-entity": "Impossibile installare l'entità", + "copy-id": "Copia ID", + "id-copied-message": "L'ID della soluzione è stato copiato negli appunti", + "credits": "Crediti", + "info": "Info", + "main-dashboard": "Dashboard principale", + "view-as": "Visualizza come {{ name }}", + "generated-by-calculated-field-name": "Generato dal campo calcolato ‘{{ name }}’", + "estimate-wait-time": "Il tempo di attesa stimato è di ~{{ time }}", + "analyzing-your-request": "Analisi della tua richiesta in corso...", + "condition": "Condizione", + "installing": "Installazione della soluzione in corso...", + "step-architecture-design": "Progettazione dell'architettura", + "step-dashboard-design": "Progettazione della dashboard", + "step-solution-installation": "Installazione della soluzione", + "step-reading-device-data": "Lettura dei dati del dispositivo…", + "step-analyzing-telemetry-attributes": "Analisi di telemetria e attributi…", + "step-selecting-widgets": "Selezione dei widget per i tuoi dati…", + "step-configuring-titles-units-ranges": "Configurazione di titoli, unità e intervalli…", + "step-designing-layout": "Progettazione del layout…", + "step-arranging-widgets": "Disposizione dei widget nella dashboard…", + "generate-dashboard": "Genera dashboard", + "generate-dashboard-with-ai": "Genera dashboard con l'IA", + "no-telemetry-title": "Nessun dato di telemetria trovato", + "no-telemetry-message": "Questo dispositivo non ha ancora inviato alcuna telemetria.\nInvia prima la telemetria dal dispositivo, poi genera la dashboard.", + "send-telemetry": "Invia telemetria", + "step-loading-updating-entities": "Aggiornamento delle entità…", + "step-loading-restructuring-roles": "Ristrutturazione dei ruoli…", + "step-loading-rebuilding-alarm-rules": "Ricostruzione delle regole di allarme…", + "step-loading-reassembling-dashboards": "Riassemblaggio delle dashboard…", + "step-loading-updating-solution": "Aggiornamento della tua soluzione…", + "step-loading-designing-dashboards-structure": "Progettazione della struttura delle dashboard…", + "step-loading-designing-dashboards-states": "Progettazione degli stati delle dashboard…", + "step-loading-designing-widgets": "Progettazione dei widget…", + "step-loading-adding-finishing-touches": "Aggiunta degli ultimi ritocchi…", + "step-loading-evaluating-solution-changes": "Valutazione delle modifiche alla soluzione…", + "step-loading-reevaluating-use-cases": "Rivalutazione dei casi d'uso…", + "step-loading-finalizing": "Finalizzazione…", + "step-loading-creating-entities": "Creazione delle entità…", + "step-loading-configuring-devices": "Configurazione dei dispositivi…", + "step-loading-setting-up-relations": "Impostazione delle relazioni…", + "step-loading-structuring-access-controls": "Strutturazione dei controlli di accesso…", + "step-loading-building-calculated-fields": "Creazione dei campi calcolati…", + "step-loading-building-alarm-rules": "Creazione delle regole di allarme…", + "step-loading-assembling-dashboards": "Assemblaggio delle dashboard…", + "step-loading-preparing-states": "Preparazione degli stati…", + "step-loading-initializing-solution": "Inizializzazione della soluzione…", + "ai-credits": "Crediti IA", + "ai-credits-update": "Cambia piano", + "ai-credits-usage": "Crediti IA: {{ used }} di {{ max }} utilizzati", + "ai-credits-description": "Hai utilizzato {{ used }} dei tuoi {{ max }} crediti IA questo mese. Il limite si azzera il {{ date }}. Per aumentare la tua disponibilità di crediti IA, contatta l'amministratore di sistema." }, "markdown": { "edit": "Modifica", @@ -9962,24 +11377,27 @@ "preview": "Anteprima", "app-title": "Titolo dell'applicazione", "favicon": "Icona del sito web", - "favicon-description": "Immagine *.ico, *.gif o *.png con dimensione massima {{kbSize}} KByte.", - "favicon-size-error": "L'immagine del sito è troppo grande. La dimensione massima consentita è {{kbSize}} KByte.", - "favicon-type-error": "Formato immagine non valido. Sono accettate solo immagini ICO, GIF o PNG.", - "drop-favicon-image": "Trascina un'icona o fai clic per selezionare un file da caricare.", - "drop-favicon-image-or": "Trascina e rilascia un'icona oppure", - "no-favicon-image": "Nessuna icona selezionata", + "favicon-desc": "Icona nella scheda del browser e nei segnalibri. PNG o ICO, dimensioni consigliate: 32×32 px", "logo": "Logo", - "logo-description": "Qualsiasi immagine con dimensione massima di {{kbSize}} KByte.", - "logo-size-error": "L'immagine del logo è troppo grande. La dimensione massima consentita è {{kbSize}} KByte.", - "logo-type-error": "Formato file del logo non valido. Sono accettate solo immagini.", - "drop-logo-image": "Trascina un'immagine del logo o fai clic per selezionare un file da caricare.", - "drop-logo-image-or": "Trascina e rilascia un'immagine del logo oppure", - "no-logo-image": "Nessun logo selezionato", + "logo-desc": "SVG o PNG, altezza minima 96px, fino a 200 KB", "logo-height": "Altezza logo, px", + "logo-height-desc": "Ridimensiona il logo in proporzione e lo centra. Aumenta l'altezza (fino a 200px) per i loghi alti", + "collapsed-logo": "Logo della barra laterale compressa", + "collapsed-logo-desc": "SVG o PNG quadrato, almeno 48×48 px, fino a 100 KB", + "appearance": "Aspetto", + "application-shell": "Struttura dell'applicazione", + "application-shell-desc": "Scegli come applicare il colore primario alla barra laterale, alla barra dell'app e ai titoli delle pagine", + "light": "Chiaro", + "primary": "Primario", "primary-palette": "Palette primaria", + "primary-palette-desc": "Colore principale del brand. Barra laterale, barra dell'app, titoli delle pagine, pulsanti, link e voci di menu attive", "accent-palette": "Palette secondaria", + "accent-palette-desc": "Caselle di controllo, pulsanti di opzione, interruttori, cursori, barre di avanzamento e badge", "customize-palette": "Personalizza", "advanced-css": "CSS avanzato", + "advanced-css-desc": "CSS personalizzato per perfezionare qualsiasi elemento dell'interfaccia oltre le palette: icone, caratteri, sfondi, barre di scorrimento e altro. Le modifiche si applicano all'intera piattaforma, quindi usalo con cautela. Per utenti esperti", + "add-custom-css": "Aggiungi CSS personalizzato", + "edit-custom-css": "Modifica CSS personalizzato", "edit-palette": "Modifica palette", "save-palette": "Salva palette", "primary-background": "Sfondo primario", @@ -9988,19 +11406,26 @@ "hue2": "HUE 2", "hue3": "HUE 3", "page-background-color": "Colore di sfondo della pagina", + "page-background-color-desc": "Riempie l'area dei contenuti principale dietro le pagine", "dark-foreground": "Primo piano scuro", + "dark-foreground-desc": "Rende scuri il testo e le icone della pagina di accesso. Da usare con sfondi chiari", "domain-name": "Nome del dominio", "base-url": "URL base", "base-url-required": "L'URL base è obbligatorio", "prohibit-different-url": "Proibisci l'uso del nome host dalle intestazioni della richiesta del client", "prohibit-different-url-hint": "Questa impostazione dovrebbe essere abilitata negli ambienti di produzione. Può causare problemi di sicurezza se disabilitata", "help-link-base-url": "URL base dei link di aiuto", + "help-link-base-url-desc": "L'URL di base del portale di documentazione esterno. Gli utenti vengono reindirizzati qui per le guide dettagliate", "ui-help-base-url": "URL base dell'aiuto UI", + "ui-help-base-url-desc": "L'URL del repository di origine da cui il sistema recupera e mostra dinamicamente brevi suggerimenti nell'app", "enable-help-links": "Abilita i link di aiuto", + "enable-help-links-desc": "Mostra icone di aiuto contestuale (?) in tutta l'interfaccia della piattaforma", "error-verification-url": "Il nome di dominio non deve contenere i simboli '/' e ':'. Esempio: thingsboard.io", - "hide-connectivity-dialog": "Nascondi dialogo di connettività", + "show-connectivity-dialog": "Mostra finestra di connettività", + "show-connectivity-dialog-desc": "Mostra la finestra di connettività del dispositivo con le istruzioni di connessione dopo la creazione di un dispositivo", "override-trendz-add-on-name": "Sostituisci il nome dell'add-on Trendz analytics", - "override-trendz-add-on-name-hint": "Quando abilitato, 'Trendz analytics' sarà visualizzato come 'Analisi avanzate' in tutta la piattaforma.", + "override-trendz-add-on-name-desc": "Rinomina il componente aggiuntivo \"Trendz\" in \"Advanced analytics\" in tutta la piattaforma", + "show-platform-name-version-bottom-left-corner": "Mostra nome e versione della piattaforma nell'angolo in basso a sinistra", "show-platform-name-version": "Mostra nome e versione della piattaforma", "platform-name": "Nome della piattaforma", "platform-version": "Versione della piattaforma", @@ -10014,7 +11439,10 @@ "reset-white-label-text": "Fai attenzione, dopo la conferma tutte le impostazioni personalizzate andranno perse e non potranno essere recuperate.", "reset-login-white-label-title": "Sei sicuro di voler ripristinare le impostazioni di white labeling della schermata di login ai valori predefiniti?", "reset-login-white-label-text": "Fai attenzione, dopo la conferma tutte le impostazioni personalizzate andranno perse e non potranno essere recuperate.", - "app-title-max-length": "Il titolo dell’applicazione deve contenere meno di 256 caratteri" + "app-title-max-length": "Il titolo dell’applicazione deve contenere meno di 256 caratteri", + "logo-and-titles": "Logo e titoli", + "interface-options": "Opzioni dell'interfaccia", + "domain": "Dominio" }, "widgets": { "mobile-app-qr-code": { @@ -10459,7 +11887,7 @@ "autofill-state-layout": "Compila automaticamente altezza layout stato per impostazione predefinita", "default-margin": "Margine predefinito dei widget", "default-background-color": "Colore di sfondo predefinito", - "sync-parent-state-params": "Sincronizza parametri dello stato con il dashboard padre" + "sync-parent-state-params": "Sincronizza parametri dello stato con la dashboard padre" }, "date-range-navigator": { "date-range-picker-settings": "Impostazioni selezione intervallo date", @@ -11077,6 +12505,11 @@ "rpc": { "value-settings": "Impostazioni valore", "initial-value": "Valore iniziale", + "initial-value-hint": "Definisce il valore iniziale prima della ricezione del primo valore.", + "initial-led-state": "Stato iniziale del LED", + "initial-led-state-hint": "Definisce lo stato iniziale del LED prima della ricezione del primo valore.", + "on": "Acceso", + "off": "Spento", "retrieve-value-settings": "Impostazioni per recupero valore on/off", "retrieve-value-method": "Recupera valore usando metodo", "retrieve-value-method-none": "Non recuperare", @@ -11202,6 +12635,7 @@ "roadmap": "Stradale", "satellite": "Satellitare", "hybrid": "Ibrido", + "webgl-not-available": "Il livello della mappa selezionato richiede l'accelerazione grafica per essere visualizzato. Abilita 'Accelerazione hardware' nelle impostazioni del browser oppure passa a un altro livello.", "reference": { "reference-layer": "Livello di riferimento", "no-layer": "Nessun livello", @@ -11217,9 +12651,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -11243,7 +12680,18 @@ }, "custom": { "title": "Personalizzato", - "tile-url": "URL tile" + "tile-url": "URL tile", + "style-url": "URL dello stile", + "vector-tiles": "Tile vettoriali", + "vector-tiles-hint": "Abilita quando usi un URL dello stile di provider come OpenFreeMap o MapTiler.", + "attribution": "Testo del copyright", + "attribution-hint": "Visualizzato nella parte inferiore della mappa. Richiesto dalla maggior parte dei provider di tile." + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -11253,7 +12701,7 @@ }, "overlays": { "overlays": "Overlay", - "overlays-hint": "Configura sorgenti dati, aspetto, comportamento, opzioni di modifica e raggruppamento per le entità della mappa", + "overlays-hint": "Configura origini dati, aspetto, comportamento, opzioni di modifica e raggruppamento per le entità della mappa", "trips": "Percorsi", "markers": "Marker", "polygons": "Poligoni", @@ -11264,13 +12712,13 @@ "source": "Sorgente", "filter": "Filtro", "additional-data-keys": "Chiavi dati aggiuntive", - "additional-datasources": "Sorgenti dati aggiuntive", - "additional-datasources-hint": "Sorgenti dati per accedere ad attributi o telemetria da entità non visualizzate sulla mappa, utilizzabili nelle funzioni degli overlay.", - "more-datasources": "Altre sorgenti dati", + "additional-datasources": "Origini dati aggiuntive", + "additional-datasources-hint": "Origini dati per accedere ad attributi o telemetria da entità non visualizzate sulla mappa, utilizzabili nelle funzioni degli overlay.", + "more-datasources": "Altre origini dati", "data-keys": "Chiavi dati", - "add-datasource": "Aggiungi sorgente dati", - "no-datasources": "Nessuna sorgente dati configurata", - "remove-datasource": "Rimuovi sorgente dati", + "add-datasource": "Aggiungi origine dati", + "no-datasources": "Nessuna origine dati configurata", + "remove-datasource": "Rimuovi origine dati", "behavior": "Comportamento", "on-click": "Al clic", "on-click-hint": "Azione invocata quando l'utente clicca sull'elemento della mappa.", @@ -11286,18 +12734,18 @@ "color-range": "Intervallo colori", "color-function": "Funzione colore", "label": "Etichetta", - "tooltip": "Suggerimento", + "tooltip": "Tooltip", "pattern-type-pattern": "Modello", "pattern-type-function": "Funzione", "label-pattern": "Etichetta (esempi di modello: '${entityName}', '${entityName}: (Testo ${keyName} unità.)')", "label-function": "Funzione etichetta", - "tooltip-pattern": "Suggerimento (per es. 'Testo ${keyName} unità.' oppure Testo link)", - "tooltip-function": "Funzione suggerimento", - "tooltip-trigger": "Attivatore suggerimento", - "tooltip-trigger-click": "Mostra suggerimento al clic", - "tooltip-trigger-hover": "Mostra suggerimento al passaggio del mouse", - "auto-close-tooltips": "Chiudi automaticamente i suggerimenti", - "tooltip-offset": "Scostamento suggerimento", + "tooltip-pattern": "Tooltip (per es. 'Testo ${keyName} unità.' oppure Testo link)", + "tooltip-function": "Funzione tooltip", + "tooltip-trigger": "Attivazione tooltip", + "tooltip-trigger-click": "Mostra tooltip al clic", + "tooltip-trigger-hover": "Mostra tooltip al passaggio del mouse", + "auto-close-tooltips": "Chiusura automatica dei tooltip", + "tooltip-offset": "Offset tooltip", "tooltip-offset-horizontal": "Orizzontale", "tooltip-offset-vertical": "Verticale", "tooltip-tag-actions": "Azioni tag", @@ -11389,7 +12837,7 @@ }, "points": { "points": "Punti", - "point-tooltip": "Suggerimento punto" + "point-tooltip": "Tooltip del punto" }, "shape": { "fill": "Riempimento", @@ -11540,10 +12988,7 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Credenziali", - "here-app-id": "ID app HERE", - "here-app-code": "Codice app HERE", "here-api-key": "Chiave API HERE", - "here-use-new-version-api-3": "Usa API versione 3", "tencent-maps-api-key": "Chiave API Tencent Maps", "tencent-map-type-roadmap": "Stradale", "tencent-map-type-satelite": "Satellitare", @@ -11965,7 +13410,7 @@ "enable-alarm-filter": "Abilita filtro allarmi", "display-alarm-details": "Mostra dettagli allarmi", "allow-alarms-ack": "Consenti conferma allarmi", - "allow-alarms-clear": "Consenti eliminazione allarmi", + "allow-alarms-clear": "Consenti risoluzione allarmi", "display-alarm-activity": "Mostra attività degli allarmi", "allow-alarms-assign": "Consenti assegnazione allarmi", "blob-entities-table-title": "Titolo tabella entità blob", @@ -12033,6 +13478,8 @@ "chart": "Grafico", "chart-style": "Stile grafico", "data-zoom": "Zoom dati", + "data-zoom-update-timewindow": "Aggiorna la finestra temporale con lo zoom", + "reset-timewindow": "Torna alla finestra temporale originale", "stack-mode": "Modalità impilamento", "stack-mode-hint": "Impila le serie nel grafico. Le serie con la stessa unità verranno sovrapposte.", "axes": "Assi", @@ -12371,6 +13818,9 @@ "no-links-matching": "Nessun link corrispondente a '{{name}}' trovato.", "columns": "Colonne" }, + "iot-hub": { + "title-text": "Sviluppa più velocemente con le risorse collaudate dalla community su" + }, "recent-dashboards": { "title": "Dashboard", "last": "Ultima visualizzazione", @@ -12394,11 +13844,11 @@ "version-info": { "title": "Versione", "contact-us": "Contattaci", - "current-version": "Versione attuale", - "current": "Attuale", + "current-version": "Versione corrente", + "current": "Corrente", "available-version": "Versione disponibile", "available": "Disponibile", - "upgrade": "Aggiorna", + "upgrade": "Effettua l'upgrade", "version-is-up-to-date": "La versione è aggiornata" }, "license-info": { @@ -12407,6 +13857,7 @@ "license-portal": "Portale licenze", "devices-info": "{count} / { max, plural, =0 {∞} other {#} } Dispositivi", "assets-info": "{count} / { max, plural, =0 {∞} other {#} } Asset", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edge", "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } Dashboard", "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } Integrazioni", "community-support": "Supporto della community", @@ -12433,7 +13884,6 @@ "roles-and-permissions": "Ruoli e permessi", "groups": "Gruppi", "integrations": "Integrazioni", - "solution-templates": "Template di soluzioni", "scheduler": "Pianificatore", "white-labeling": "Personalizzazione del marchio" }, @@ -12448,11 +13898,6 @@ "assigned-to-me": "Assegnato a me", "total": "Totale" }, - "solution-templates": { - "title": "Template di soluzioni", - "prototype-plan": "Piano prototipo", - "startup-plan": "Piano startup" - }, "getting-started": { "get-started": "Inizia", "finish": "Fine", @@ -12542,6 +13987,18 @@ } } }, + "html-container": { + "java-script": "JavaScript", + "js-function": "Funzione JavaScript", + "html": "HTML", + "angular-html-template": "Template HTML Angular", + "css": "CSS", + "container-type": "Tipo di contenitore", + "type-plain": "HTML semplice", + "type-angular": "Angular", + "resources": "Risorse", + "no-resources": "Nessuna risorsa configurata" + }, "api-usage": { "api-usage": "Uso API", "label": "Etichetta", @@ -12564,11 +14021,219 @@ "icons": "Icone", "custom": "Personalizzato", "select-icon": "Seleziona icona", - "material-icons": "Icone Material", + "material-icons": "Material icons", "show-all": "Mostra tutte le icone", "search-icon": "Cerca icona", "no-icons-found": "Nessuna icona trovata per '{{iconSearch}}'" }, + "subscription": { + "entity-limit-text": "Tuttavia puoi effettuare l'upgrade del tuo piano di abbonamento per aumentare i limiti.", + "upgrade-your-plan": "Passa a un piano di abbonamento superiore", + "license-management": "Gestione licenze", + "perpetual-license": "Licenza perpetua", + "subscription": "Abbonamento", + "perpetual": "Perpetua", + "manage-license": "Gestisci licenza", + "updated-ago": "Aggiornato {{ago}}", + "usage-and-limits": "Utilizzo e limiti", + "add-ons": "Componenti aggiuntivi", + "included": "Incluso", + "not-included": "Non incluso", + "add-to-license": "Aggiungi alla licenza", + "change-key-title": "Passi a una licenza diversa?", + "change-key-text": "Passa a una licenza diversa o attiva un'installazione air‑gapped tramite una chiave offline.", + "enter-key": "Inserisci una chiave", + "enter-license-key": "Inserisci una chiave di licenza", + "applying-key-text": "L'applicazione di una chiave modifica le funzionalità coperte dalla licenza di questa installazione.", + "keys-issued-text": "Le chiavi vengono emesse nel {{licensePortal}}. Accedi da qualsiasi dispositivo e copiane una da lì.", + "check-key": "Verifica chiave", + "checking-key": "Verifica della chiave in corso...", + "current": "Attuale", + "this-key": "Questa chiave", + "replace-license": "Sostituisci licenza", + "new-license-applied": "La nuova chiave di licenza è stata applicata.", + "updates-and-support-until": "Aggiornamenti e supporto fino al {{date}}.", + "next-charge-and-due-date": "Prossimo addebito di {{total}} il {{date}}, da pagare entro il {{dueDate}}.", + "refresh-license-info": "Aggiorna informazioni sulla licenza", + "non-production-mode": "Modalità di sviluppo — solo per uso non in produzione", + "non-production-mode-details": "Le quote di dispositivi, asset ed Edge sono illimitate; il white labeling non è disponibile. Non usare questa istanza in produzione.", + "offline-mode": "Modalità offline", + "devices": "Dispositivi", + "number-of-devices": "{ count, plural, =1 {1 dispositivo} one {# dispositivo} other {# dispositivi} }", + "unlimited-devices": "Dispositivi illimitati", + "add-devices": "Aggiungi dispositivi", + "device-limit-warn": "I dispositivi hanno raggiunto il {{ percent }} del tuo limite.", + "device-limit-critical": "I dispositivi hanno raggiunto il limite. I nuovi dispositivi non vengono registrati finché il limite non viene aumentato.", + "assets": "Asset", + "add-assets": "Aggiungi asset", + "prod-instances": "Istanze di produzione", + "add-instances": "Aggiungi istanze", + "ai-credits": "Crediti IA", + "add-credits": "Aggiungi crediti", + "white-labeling": "White labeling", + "edge": "Edge Computing", + "edges": "Edge", + "add-edges": "Aggiungi Edge", + "agents": "Remote Agent", + "add-agents": "Aggiungi Remote Agent", + "trendz": "Trendz Analytics", + "name-addon": "Componente aggiuntivo {{name}}", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { Aggiungi il {name} } other { Aggiungi {name} } }", + "add-addon-subscription": "{{name}} è un componente aggiuntivo a pagamento e aumenta il tuo addebito mensile.", + "add-addon-perpetual": "{{name}} è un componente aggiuntivo a pagamento, acquistato una sola volta per questa licenza.", + "upgrade-plan-devices": "Con {{plan}}, il limite di dispositivi è incluso nel piano.", + "upgrade-plan-instances": "Con {{plan}}, il limite di istanze di produzione è incluso nel piano.", + "upgrade-plan-credits": "Con {{plan}}, i crediti IA mensili sono inclusi nel piano.", + "upgrade-plan-edges": "Con {{plan}}, il limite di Edge è incluso nel piano.", + "upgrade-plan-agents": "Con {{plan}}, il limite di Remote Agent è incluso nel piano.", + "upgrade-plan-white-labeling": "Ogni piano a pagamento include il white labeling.", + "upgrade-plan-addon": "{{name}} è un componente aggiuntivo a pagamento. I componenti aggiuntivi richiedono un piano a pagamento.", + "ce-grant-case": "Qualsiasi acquisto converte il tuo Community Grant in una licenza commerciale perpetua. Paghi ciò che aggiungi, non ciò che il Community Grant copre già.", + "pe-pack-case": "Il Professional Pack è un acquisto una tantum, con lo stesso prezzo per ogni titolare del Community Grant.", + "ce-grant-white-label": "Ciò che personalizzi già in white label resta gratuito con il tuo Community Grant.", + "open-portal-manage-license": "Apriremo la licenza di questa installazione nel portale licenze. Potrebbe essere necessario accedere. Al ritorno, premi Aggiorna.", + "open-portal-upgrade-plan": "Apriremo il portale licenze e ti suggeriremo un piano. Potrebbe essere necessario accedere. Al ritorno, premi Aggiorna.", + "open-portal": "Apri il portale", + "add-license-item-title": "Per {{ action }} {{ item }}, devi aggiornare il tuo {{ package }} nel portale licenze ThingsBoard.", + "action-add": "aggiungere", + "action-enable": "abilitare", + "package-subscription": "abbonamento", + "package-perpetual": "pacchetto di licenze", + "go-to-license-portal": "Vai al portale licenze", + "add-license-item-step-first": "Ti reindirizzeremo al portale licenze.", + "add-license-item-step-second": "Dopo l'accesso, apriremo automaticamente i dettagli corrispondenti del tuo {{ package }}.", + "add-license-item-step-third": "Aggiungi \"{{ item }}\" al tuo {{ package }}.", + "add-license-item-step-fourth": "Al termine, fai clic su \"Aggiorna informazioni sulla licenza\" qui sotto per aggiornare subito il tuo {{ package }}.", + "request-feature-sysadmin-text": "Sei l'amministratore di sistema?", + "login-here": "Accedi qui", + "to-get-addon": "per ottenere il componente aggiuntivo.", + "request-edge-title": "Mantieni operativi i tuoi siti anche quando la rete non lo è", + "request-edge-text": "Distribuisci istanze Edge per ripartire l'elaborazione e l'analisi sulla tua infrastruttura. Funzionalità principali:", + "edge-card-autonomy-title": "Autonomia", + "edge-card-autonomy-text": "Garantisce il funzionamento locale immediato anche in caso di guasti di rete", + "edge-card-filtering-title": "Filtraggio", + "edge-card-filtering-text": "Riduce il traffico e i costi del cloud inviando solo dati convalidati e utili", + "edge-card-latency-title": "Latenza", + "edge-card-latency-text": "Consente il controllo in tempo reale e risposte rapide elaborando i dati localmente", + "edge-card-security-title": "Sicurezza", + "edge-card-security-text": "Fornisce un livello di protezione tra i dispositivi OT e il cloud pubblico", + "edge-card-efficiency-title": "Efficienza", + "edge-card-efficiency-text": "Normalizza e aggrega i dati vicino alla sorgente, alleggerendo il carico sul cloud", + "request-edge-action-text": "Edge Management è disponibile come componente aggiuntivo. Contatta l'amministratore di sistema per abilitarlo.", + "request-access": "Richiedi accesso", + "requested": "Richiesto", + "upgrade-plan": "Passa a un piano superiore", + "learn-more": "Scopri di più", + "feature-request-sent-title": "Abbiamo inviato una richiesta automatica all'amministratore di sistema per abilitare {{addonName}}", + "feature-request-sent-text": "Attendi che esamini la richiesta e aggiorni le impostazioni. Potrebbe essere necessario aggiornare questa pagina per vedere le modifiche.", + "request-trendz-title": "Trasforma i dataset IoT in insight e semplifica il processo decisionale con {{name}}", + "request-trendz-text": "Sblocca potenti analisi IoT no-code con uno spazio di lavoro unificato basato sull'IA che ti permette di esplorare la telemetria, creare logiche, rilevare anomalie, generare previsioni e trasformare i dati grezzi in insight chiari e concreti", + "request-trendz-action-text": "{{name}} è disponibile come componente aggiuntivo. Contatta l'amministratore di sistema per abilitarlo.", + "trendz-card-metric-explorer-title": "Esplora metriche", + "trendz-card-metric-explorer-text": "Analizza a fondo la telemetria con analisi no-code, metriche personalizzate e insight visivi immediati", + "trendz-card-anomaly-title": "Rilevamento anomalie", + "trendz-card-anomaly-text": "Rileva automaticamente comportamenti anomali nei tuoi dati", + "trendz-card-calculation-title": "Campi calcolati", + "trendz-card-calculation-text": "Definisci la logica di business, trasforma la telemetria e crea nuove metriche", + "trendz-card-prediction-title": "Modelli di previsione", + "trendz-card-prediction-text": "Prevedi valori futuri e individua tendenze con modelli di ML integrati", + "trendz-card-views-title": "Viste", + "trendz-card-views-text": "Crea dashboard di analisi condivisibili per team e clienti — tutto in un unico posto.", + "trendz-card-ai-assistant-title": "Assistente IA", + "trendz-card-ai-assistant-text": "Genera logica, perfeziona formule e automatizza la creazione di metriche con l'IA in linguaggio naturale.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Integrazioni, pianificatore, report e white labeling.", + "pe-pack-desc": "Estende il tuo Community Grant all'intero set di funzionalità.", + "request-pe-pack": "Richiedi il Professional Pack completo", + "add-pe-pack": "Aggiungi il Professional Pack completo", + "pe-pack-extend-ce": "Estende il tuo Community Grant all'intero set di funzionalità.", + "sys-admin-pe-pack-note": "Sei l'amministratore di sistema? Accedi e aggiungi il Professional Pack in Gestione licenze.", + "pe-pack-requested": "Il Professional Pack è stato richiesto al tuo amministratore di sistema.", + "white-labeling-promo": "Imposta logo, colori e titoli da una pagina di impostazioni.", + "white-labeling-promo-try": "Imposta logo, colori e titoli da una pagina di impostazioni. Aprila per provare.", + "integrations": "Integrazioni", + "integrations-promo": "Importa dati da LoRaWAN, MQTT, Kafka e altre piattaforme IoT.", + "scheduler": "Pianificatore", + "scheduler-promo": "Esegui aggiornamenti e invia eventi alle catene di regole in base a una pianificazione.", + "reports": "Report", + "reports-promo": "Crea report con tabelle, grafici e il tuo branding, e inviali in base a una pianificazione." + }, + "platform-feature": { + "overview": "Panoramica", + "white-labeling": { + "not-in-plan": "Il white labeling non è incluso nel tuo piano", + "not-in-ce-grant": "Il white labeling non è incluso nel tuo Community Grant.", + "add": "Aggiungi white labeling", + "request": "Richiedi white labeling", + "offer-title": "Il tuo brand, la tua schermata di accesso, i tuoi menu, le tue etichette", + "offer-with-plan-lede": "Il white labeling è incluso dal piano Pilot in su. Tutto ciò che imposti qui sostituisce quello di ThingsBoard — nella pagina di accesso, nelle email che invii e in ogni pagina in cui lavorano i tuoi clienti.", + "offer-lede": "Con il white labeling, tutto ciò che imposti qui sostituisce quello di ThingsBoard — nella pagina di accesso, nelle email che invii e in ogni pagina in cui lavorano i tuoi clienti.", + "pack-offer-lede": "Il white labeling è incluso nel Professional Pack, il componente aggiuntivo a pagamento del tuo Community Grant. Con il Professional Pack attivo, tutto ciò che imposti qui sostituisce quello di ThingsBoard — nella pagina di accesso, nelle email che invii e in ogni pagina in cui lavorano i tuoi clienti.", + "sys-admin-wl-note": "Sei un amministratore di sistema? Accedi e aggiungi il white labeling in Gestione licenze." + }, + "integrations": { + "not-in-ce-grant": "Le integrazioni non sono incluse nel tuo Community Grant.", + "pack-offer-title": "Importa dati da LoRaWAN, MQTT, Kafka e altre piattaforme IoT", + "pack-offer-lede": "Le integrazioni fanno parte del Professional Pack, il componente aggiuntivo a pagamento del tuo Community Grant. Ognuna legge da un LoRaWAN Network Server, da un broker MQTT o Kafka o da un'altra piattaforma IoT — creando automaticamente i dispositivi man mano che compaiono e salvando ciò che inviano come telemetria.", + "overview": { + "brokers-and-platforms": "Broker e piattaforme", + "brokers-and-platforms-desc": "Un'integrazione per ogni sorgente, configurata e monitorata dall'interfaccia utente.", + "data-converters": "Convertitori dati", + "data-converters-desc": "Decodifica il payload specifico di un dispositivo — inclusi i codec LoRaWAN — con uno script, senza modificare ciò che il dispositivo invia.", + "downlink": "Downlink", + "downlink-desc": "Invia comandi e configurazione al dispositivo tramite la stessa connessione.", + "remote-integrations": "Integrazioni remote", + "remote-integrations-desc": "Eseguine una in locale, su un tuo host — continua a mettere i dati in buffer mentre il collegamento con ThingsBoard è interrotto." + }, + "dozen-protocols-brokers-and-platforms": "Decine di protocolli, broker e piattaforme", + "browse-setup-guides-note": "Consulta le guide di configurazione nella nostra documentazione." + }, + "scheduler": { + "not-in-ce-grant": "Il pianificatore non è incluso nel tuo Community Grant.", + "pack-offer-title": "Esegui aggiornamenti e invia eventi alle catene di regole secondo una pianificazione", + "pack-offer-lede": "Il pianificatore fa parte del Professional Pack, il componente aggiuntivo a pagamento del tuo Community Grant. Esegui aggiornamenti firmware e invia eventi alle catene di regole — ogni voce ha un orario di inizio, una regola di ripetizione e il proprio fuso orario, e la piattaforma la esegue che qualcosa di tuo sia ancora in esecuzione o no.", + "overview": { + "repeats-and-timezones": "Ripetizioni e fusi orari", + "repeats-and-timezones-desc": "Una volta, oppure ogni giorno o ogni settimana nei giorni che scegli — e ogni evento viene elaborato nel proprio fuso orario.", + "device-commands": "Comandi ai dispositivi", + "device-commands-desc": "Invia un comando a un dispositivo a un orario stabilito, senza un cron job che conservi un token API.", + "firmware-and-software": "Firmware e software", + "firmware-and-software-desc": "Distribuisci un pacchetto OTA a un dispositivo o a un intero gruppo a un'ora in cui nessuno sta guardando.", + "rule-chain-triggers": "Trigger delle catene di regole", + "rule-chain-triggers-desc": "Invia messaggi a una catena di regole, così tutto ciò che una catena di regole può fare viene eseguito senza supervisione." + } + }, + "reporting": { + "not-in-ce-grant": "I report non sono inclusi nel tuo Community Grant.", + "pack-offer-title": "Crea un report una volta e consegnalo a ogni esecuzione pianificata", + "pack-offer-lede": "I report fanno parte del Professional Pack, il componente aggiuntivo a pagamento del tuo Community Grant. Il layout del report lo imposti tu — tabelle, grafici, testo e il tuo branding — e ogni esecuzione raggiunge i destinatari secondo la pianificazione o quando scatta un allarme.", + "overview": { + "your-own-layout": "Il tuo layout", + "your-own-layout-desc": "Trascina tabelle, grafici, testo e immagini al loro posto, e un unico modello salvato serve ogni cliente.", + "pdf-or-csv": "PDF o CSV", + "pdf-or-csv-desc": "Un documento pronto per la stampa con i grafici già disegnati, oppure i dati grezzi per chi vuole i numeri.", + "channel": "Email, Slack, Teams o SMS", + "channel-desc": "Scegli il canale per destinatario o per gruppo di utenti — la piattaforma consegna ogni esecuzione pianificata.", + "attached-to-alarm": "Allegato all'allarme", + "attached-to-alarm-desc": "Una notifica include il report, generato quando scatta l'allarme, con i dati di quel momento." + } + } + }, + "subscription-error": { + "title": "Violazione dell'abbonamento", + "warning-title": "Avviso sull'abbonamento", + "upgrade-subscription-plan": "Passa a un piano di abbonamento superiore", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} è disponibile a partire dal piano {{planName}}. Per procedere, chiedi al tuo amministratore di sistema di effettuare l'upgrade del piano.", + "limit-reached": { + "device-count": "Hai raggiunto il numero massimo di dispositivi ({{value}}) consentito dal tuo piano di abbonamento!", + "asset-count": "Hai raggiunto il numero massimo di asset ({{value}}) consentito dal tuo piano di abbonamento!", + "edge-count": "Hai raggiunto il numero massimo di istanze Edge ({{value}}) consentito dal tuo piano di abbonamento!", + "agent-count": "Hai raggiunto il numero massimo di Remote Agent ({{value}}) consentito dal tuo piano di abbonamento!" + }, + "feature-disabled": { + "white-labeling": "La funzionalità di white labeling non è consentita dal tuo piano di abbonamento!" + } + }, "phone-input": { "phone-input-label": "Numero di telefono", "phone-input-required": "Il numero di telefono è obbligatorio", @@ -12604,7 +14269,7 @@ }, "trendz-analytics": { "add-new": "+ Aggiungi nuovo", - "ai-assistant": "Assistente AI", + "ai-assistant": "Assistente IA", "ai-assistant-description": "Approfondimenti conversazionali e reportistica automatizzata", "anomaly-detection": "Rilevamento anomalie", "anomaly-detection-description": "Modelli attivi di rilevamento anomalie", @@ -12616,7 +14281,7 @@ "disabled": "Disabilitato", "enabled": "Abilitato", "explore": "Esplora", - "loading-ai-assistant": "Caricamento chat AI...", + "loading-ai-assistant": "Caricamento chat IA...", "loading-anomaly-model": "Caricamento modelli di rilevamento anomalie...", "loading-calculation-field": "Caricamento campi calcolati...", "loading-metric-explorer": "Caricamento esploratore metriche...", @@ -12667,6 +14332,7 @@ "trendz-internal-url-invalid": "URL interno di Trendz non valido", "trendz-internal-url-required": "URL interno di Trendz è obbligatorio", "trendz-settings": "Impostazioni Trendz", + "trendz": "Trendz", "views": "Viste", "views-description": "Gruppi di visualizzazione e report configurati", "trendz-synced": "Sincronizzazione completata con successo", @@ -12674,7 +14340,7 @@ "trendz-unavailable": "Servizio non rilevato", "view-all": "Visualizza tutto", "view-type": { - "ai-card": "Scheda AI", + "ai-card": "Scheda IA", "bar": "Barra", "card": "Scheda", "card-with-line": "Scheda con Linea", From 77c7f5a7dce2eef5791ea918fc9a4deced1fc99f Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Tue, 20 Oct 2026 16:21:46 +0200 Subject: [PATCH 233/559] Fixed page scrollbar in AI Solution Creator hiding prompt input and AI Credits (#16355) * Fixed page scrollbar in AI Solution Creator hiding prompt input and AI Credits * Additional fix --- ui-ngx/src/app/modules/home/home.component.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-ngx/src/app/modules/home/home.component.scss b/ui-ngx/src/app/modules/home/home.component.scss index 6843152ada..4c0cc7c88d 100644 --- a/ui-ngx/src/app/modules/home/home.component.scss +++ b/ui-ngx/src/app/modules/home/home.component.scss @@ -168,6 +168,7 @@ position: relative; overflow: clip; flex: 1; + min-height: 0; display: flex; } From c783200a55752c52256290de66a1ae939feadc9d Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Tue, 20 Oct 2026 16:23:12 +0200 Subject: [PATCH 234/559] Fixed license usage bar overflowing its track when usage exceeds the limit (#16368) --- .../home/pages/admin/license-management.component.html | 2 +- .../home/pages/admin/license-management.component.scss | 1 + .../home/pages/admin/license-management.component.ts | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html index d573ab3d11..23d92bcf89 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html +++ b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html @@ -28,7 +28,7 @@
    {{ usageItemTypeTranslationMap.get(itemType) | translate }} - + @if (max !== 0) { diff --git a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.scss b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.scss index 4eb20f5443..f4536d03b0 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.scss +++ b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.scss @@ -296,6 +296,7 @@ height: 8px; border-radius: 6px; background: rgba(0, 105, 92, 0.10); + overflow: hidden; i { display: block; height: 100%; diff --git a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.ts b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.ts index d46a2c54c4..6f096ba324 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.ts @@ -194,7 +194,17 @@ export class LicenseManagementComponent extends PageComponent implements OnInit, return false; } + itemMeterWidth(count: number, max: number): number { + if (count > 0 && max > 0) { + return Math.min(count / max, 1) * 100; + } + return 0; + } + itemLimitClass(itemType: UsageItemType, count: number, max: number): string { + if (max > 0 && count > max) { + return 'item-critical'; + } if ([UsageItemType.DEVICES, UsageItemType.ASSETS, UsageItemType.AI_CREDITS].includes(itemType)) { if (this.itemLimitCritical(count, max)) { return 'item-critical'; From 542910a5aab692bcce21e9ed8e33aa7b1bc2e0a1 Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Tue, 20 Oct 2026 17:59:53 +0300 Subject: [PATCH 235/559] Update Brazilian Portuguese translation for 4.4: missing keys, terminology, consistency (#16370) * Update Brazilian Portuguese translation for 4.4: missing keys, terminology, consistency * Remove Brazilian Portuguese keys that en_US no longer has --- .../assets/locale/locale.constant-pt_BR.json | 2926 +++++++++++++---- 1 file changed, 2296 insertions(+), 630 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index 206107ccca..19c6659bf6 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "Ativar o ThingsBoard", + "initial": { + "welcome": "Bem-vindo ao ThingsBoard {{version}}", + "title": "Obtenha sua licença gratuita e comece a criar", + "desc": "Alguns minutos no Portal de licenças — você criará uma conta, escolherá uma licença e esta instância será ativada automaticamente.", + "open-license-portal": "Abrir o Portal de licenças", + "already-have-license": "Já tem uma licença?", + "free-no-credit-card": "Gratuito para sempre. Sem necessidade de cartão de crédito.", + "source-available": "Código-fonte disponível sob a licença" + }, + "waiting": { + "live-eyebrow": "Aguardando a ativação", + "title": "Continue no Portal de licenças", + "desc": "Entre ou crie uma conta, escolha uma licença e aceite os termos. Esta instância será ativada automaticamente assim que a licença for emitida.", + "nothing-opened": "Nada abriu?", + "paste-link-or-scan-qr-code": "Cole o link de texto em qualquer dispositivo com internet ou escaneie o código QR com um celular.", + "text-link": "Link de texto", + "qr-code": "Código QR", + "qr-code-hint": "Aponte a câmera de um celular para o código e abra o link. O celular precisa ter sua própria conexão com a internet.", + "have-key": "Tem uma chave de licença?", + "activate-key": "Ativar licença com uma chave" + }, + "offline": { + "eyebrow": "Offline", + "title": "Ativar a partir de outro dispositivo", + "desc": "Este servidor não consegue acessar o Portal de licenças, por isso, a ativação é feita em duas etapas: obtenha sua licença lá em um dispositivo conectado e insira a chave aqui.", + "get-your-license": "Obtenha sua licença no portal", + "open-link": "Abra este link em qualquer dispositivo com internet. Você entrará ou criará uma conta, escolherá uma licença e aceitará os termos. Em seguida, o portal mostrará uma chave de licença.", + "paste-key": "Cole a chave aqui", + "no-connected-device": "Não tem nenhum dispositivo conectado?" + }, + "have-key": { + "title": "Ativar licença com uma chave", + "enter-license-key": "Insira sua chave de licença", + "enter-license-key-note": "Ela está na sua conta do Portal de licenças: entre em {{hostName}} em qualquer dispositivo e copie-a de lá.", + "no-account": "Sem conta e sem dispositivo conectado?", + "contact-support": "Entre em contato com o suporte" + }, + "key-form": { + "placeholder": "Cole sua chave de licença", + "invalid": "Essa chave não é válida para esta instância. Verifique se falta algum caractere ou entre em contato com o suporte.", + "activate": "Ativar", + "activating": "Ativando" + }, + "account": { + "title": "Esta instância está ativada", + "desc": "Sua licença está salva neste servidor e na sua conta do Portal de licenças.", + "create-sys-admin-account": "Criar uma conta de administrador do sistema", + "create-sys-admin-account-hint": "Com ela, você entra neste servidor — é separada da conta do Portal de licenças que guarda sua licença.", + "email-label": "E-mail", + "email-required": "Insira um endereço de e-mail.", + "email-invalid": "Insira um endereço de e-mail válido.", + "password-label": "Senha", + "password-required": "Insira uma senha.", + "password-min-length": "A senha deve ter pelo menos 6 caracteres.", + "confirm-label": "Confirmar senha", + "confirm-required": "Confirme sua senha.", + "confirm-mismatch": "As senhas não coincidem.", + "demo-tenant-title": "Configurar um locatário de demonstração", + "demo-tenant-desc": "A maneira mais rápida de ver a plataforma em ação. Dashboards, dispositivos e cadeias de regras já estão configurados, com usuários do locatário e do cliente prontos para entrar. Você também pode abri-lo em Locatários como administrador do sistema.", + "create": "Criar conta", + "creating": "Criando conta" + }, + "demo-tenant": { + "signed-in-as": "Sua conta de administrador do sistema foi criada e você está conectado como {{email}}.", + "title": "Quer explorar o locatário de demonstração?", + "desc": "O básico já está configurado — abra um dashboard, altere uma regra ou conecte um dispositivo seu.", + "dashboards": "Dashboards — criados com base nos dispositivos abaixo, com as vinculações de widgets já feitas", + "devices": "Dispositivos — com seus perfis de dispositivo e regras de alarme; nenhum enviou dados ainda", + "rule-chains": "Cadeias de regras — onde é definido quando esses alarmes são disparados", + "explore": "Explorar o locatário de demonstração", + "not-now": "Agora não", + "not-now-hint": "A opção “Agora não” leva você à administração do sistema.", + "signing-in-later": "Para entrar mais tarde", + "demo-tenant-hint": "O próprio administrador do locatário. Como administrador do sistema, você também pode abrir o locatário em Locatários, sem senha." + }, + "non-production": { + "eyebrow": "Reconfirmação obrigatória", + "title": "Confirme que esta implantação ainda não é de produção.", + "desc": "Esta instância usa uma licença gratuita que não é de produção, reconfirmada periodicamente por um administrador do sistema. A confirmação não afeta seus dados, usuários nem a conectividade dos dispositivos.", + "confirm": "Confirmar", + "confirming": "Confirmando", + "sysadmin-required": "Somente um administrador do sistema pode confirmar isso.", + "login-as-sysadmin": "Entrar como administrador do sistema", + "state-verify-failed": "Confirmado, mas não foi possível verificar o estado. Atualize a página.", + "state-not-updated": "Esta instância ainda informa que a confirmação está pendente. Atualize a página e confirme novamente." + }, + "errors": { + "signin-failed": "Conta criada, mas o login automático falhou. Atualize a página e entre manualmente.", + "state-not-updated": "Configuração concluída, mas o estado não foi atualizado. Atualize a página.", + "state-verify-failed": "Configuração concluída, mas não foi possível verificar o estado. Atualize a página.", + "no-sign-up-url": "Esta instância respondeu sem um link, portanto não há nada para abrir.", + "link-expired": "Esse link expirou. Abra o Portal de licenças novamente para obter um novo.", + "activated-state-verify-failed": "Esta instância está licenciada, mas ainda não foi possível ler a próxima etapa. Tentando novamente — você também pode atualizar a página.", + "no-connection": "Sem conexão com o servidor. Tente novamente mais tarde.", + "request-failed": "A solicitação falhou. Tente novamente." + } + }, "access": { "unauthorized": "Não autorizado", "unauthorized-access": "Acesso não autorizado", @@ -31,7 +130,7 @@ "search": "Pesquisar", "clear-search": "Limpar pesquisa", "assign": "Atribuir", - "unassign": "Desatribuir", + "unassign": "Cancelar atribuição", "share": "Compartilhar", "make-private": "Tornar privado", "make-public": "Tornar público", @@ -53,6 +152,7 @@ "refresh": "Atualizar", "undo": "Desfazer", "copy": "Copiar", + "copied": "Copiado", "paste": "Colar", "copy-reference": "Copiar referência", "paste-reference": "Colar referência", @@ -80,6 +180,7 @@ "reset-default": "Redefinir para o padrão", "show-more": "Mostrar mais", "dont-show-again": "Não mostrar novamente", + "dont-show-this-again": "Não mostrar novamente", "see-documentation": "Ver documentação", "see-debug-events": "Ver eventos de depuração", "clear": "Limpar", @@ -89,7 +190,9 @@ "set": "Definir", "duplicate": "Duplicar", "disable": "Desativar", - "enable": "Ativar" + "enable": "Ativar", + "rename": "Renomear", + "retry": "Tentar novamente" }, "aggregation": { "aggregation": "Agregação", @@ -105,14 +208,15 @@ }, "admin": { "settings": "Configurações", + "platform": "Plataforma", "general": "Geral", "general-settings": "Configurações gerais", "home-settings": "Configurações da página inicial", "home": "Início", - "outgoing-mail": "Servidor de email", - "outgoing-mail-settings": "Configurações do servidor de email de saída", + "outgoing-mail": "Servidor de e-mail", + "outgoing-mail-settings": "Configurações do servidor de e-mail de saída", "system-settings": "Configurações do sistema", - "test-mail-sent": "Email de teste enviado com sucesso!", + "test-mail-sent": "E-mail de teste enviado com sucesso!", "base-url": "URL base", "base-url-required": "URL base é obrigatória.", "prohibit-different-url": "Proibir o uso de hostname dos cabeçalhos de requisição do cliente", @@ -134,8 +238,8 @@ "port-pattern": "A porta deve ser um número inteiro positivo.", "port-range": "A porta deve estar no intervalo de 1 a 65535." }, - "mail-from": "Remetente do email", - "mail-from-required": "Remetente do email é obrigatório.", + "mail-from": "Remetente do e-mail", + "mail-from-required": "O remetente do e-mail é obrigatório.", "smtp-protocol": "Protocolo SMTP", "smtp-host": "Host SMTP", "smtp-host-required": "Host SMTP é obrigatório.", @@ -156,14 +260,14 @@ "proxy-user": "Usuário do proxy", "proxy-password": "Senha do proxy", "change-password": "Alterar senha", - "send-test-mail": "Enviar email de teste", - "use-system-mail-settings": "Usar configurações do servidor de email do sistema", - "mail-templates": "Modelos de email", - "mail-template-settings": "Configurações dos modelos de email", - "use-system-mail-template-settings": "Usar modelos de email do sistema", + "send-test-mail": "Enviar e-mail de teste", + "use-system-mail-settings": "Usar configurações do servidor de e-mail do sistema", + "mail-templates": "Modelos de e-mail", + "mail-template-settings": "Configurações dos modelos de e-mail", + "use-system-mail-template-settings": "Usar modelos de e-mail do sistema", "mail-template": { - "mail-template": "Modelo de email", - "test": "Mensagem de email de teste", + "mail-template": "Modelo de e-mail", + "test": "Mensagem de e-mail de teste", "activation": "Mensagem de ativação da conta", "account-activated": "Mensagem de conta ativada", "account-lockout": "Mensagem de bloqueio de conta", @@ -174,8 +278,8 @@ "api-usage-state-disabled": "Estado de uso da API desabilitado", "two-fa-verification": "Mensagem de verificação 2FA" }, - "mail-subject": "Assunto do email", - "mail-body": "Corpo do email", + "mail-subject": "Assunto do e-mail", + "mail-body": "Corpo do e-mail", "sms-provider": "Provedor de SMS", "sms-provider-settings": "Configurações do provedor de SMS", "use-system-sms-settings": "Usar configurações do provedor de SMS do sistema", @@ -229,11 +333,11 @@ "password-reuse-frequency-days-range": "A frequência de reutilização de senha em dias não pode ser negativa", "allow-whitespace": "Permitir espaço em branco", "force-reset-password-if-no-valid": "Forçar redefinição de senha se não for válida", - "force-reset-password-if-no-valid-hint": "Tenha cuidado ao habilitar este recurso: ele exigirá que usuários com senha inválida redefinam sua senha por email.", + "force-reset-password-if-no-valid-hint": "Tenha cuidado ao habilitar este recurso: ele exigirá que usuários com senha inválida redefinam sua senha por e-mail.", "general-policy": "Política geral", "max-failed-login-attempts": "Número máximo de tentativas de login falhas antes de bloquear a conta", "minimum-max-failed-login-attempts-range": "O número máximo de tentativas de login falhas não pode ser negativo", - "user-lockout-notification-email": "Em caso de bloqueio de conta do usuário, enviar notificação por email", + "user-lockout-notification-email": "Em caso de bloqueio de conta do usuário, enviar notificação por e-mail", "user-activation-token-ttl": "TTL do link de ativação do usuário em horas", "user-activation-token-ttl-range": "O TTL do link de ativação do usuário deve estar no intervalo de 1 a 24 horas", "password-reset-token-ttl": "TTL do link de redefinição de senha em horas", @@ -292,15 +396,15 @@ "customer-name-pattern-max-length": "O padrão de nome do cliente deve ter menos de 256 caracteres", "parent-customer-name-pattern": "Padrão de nome do cliente pai", "user-groups-name-pattern": "Padrão de nome dos grupos de usuários", - "default-dashboard-name": "Nome do Dashboard padrão", - "default-dashboard-name-max-length": "O nome do Dashboard padrão deve ter menos de 256 caracteres", + "default-dashboard-name": "Nome do dashboard padrão", + "default-dashboard-name-max-length": "O nome do dashboard padrão deve ter menos de 256 caracteres", "delete-domain-text": "Atenção: após a confirmação, o domínio e todos os dados do provedor ficarão indisponíveis.", "delete-domain-title": "Tem certeza de que deseja excluir o domínio '{{domainName}}'?", "delete-registration-text": "Atenção: após a confirmação, os dados do provedor ficarão indisponíveis.", "delete-registration-title": "Tem certeza de que deseja excluir o provedor '{{name}}'?", - "email-attribute-key": "Chave de atributo de email", - "email-attribute-key-required": "Chave de atributo de email é obrigatória.", - "email-attribute-key-max-length": "A chave de atributo de email deve ter menos de 32 caracteres", + "email-attribute-key": "Chave de atributo de e-mail", + "email-attribute-key-required": "A chave de atributo de e-mail é obrigatória.", + "email-attribute-key-max-length": "A chave de atributo de e-mail deve ter menos de 32 caracteres", "first-name-attribute-key": "Chave de atributo de nome", "first-name-attribute-key-max-length": "A chave de atributo de nome deve ter menos de 32 caracteres", "general": "Geral", @@ -321,12 +425,12 @@ "registration-id": "ID de registro", "registration-id-required": "ID de registro é obrigatório.", "registration-id-unique": "O ID de registro precisa ser único no sistema.", - "scope": "Scope", + "scope": "Escopo", "scope-required": "Scope é obrigatório.", - "tenant-name-pattern": "Padrão de nome do tenant", - "tenant-name-pattern-required": "Padrão de nome do tenant é obrigatório.", - "tenant-name-pattern-max-length": "O padrão de nome do tenant deve ter menos de 256 caracteres", - "tenant-name-strategy": "Estratégia de nome do tenant", + "tenant-name-pattern": "Modelo de nome do locatário", + "tenant-name-pattern-required": "O modelo de nome do locatário é obrigatório.", + "tenant-name-pattern-max-length": "O modelo de nome do locatário deve ter menos de 256 caracteres", + "tenant-name-strategy": "Estratégia de nome do locatário", "type": "Tipo de mapeador", "uri-pattern-error": "Formato de URI inválido.", "url": "URL", @@ -378,8 +482,8 @@ "domain-name": "Nome de domínio", "domain-name-required": "Nome de domínio é obrigatório", "redirect-url-template": "Redirect URI template", - "microsoft-tenant-id": "ID do diretório (tenant)", - "microsoft-tenant-id-required": "ID do diretório (tenant) é obrigatório", + "microsoft-tenant-id": "ID do diretório (locatário)", + "microsoft-tenant-id-required": "O ID do diretório (locatário) é obrigatório", "token-uri": "Token URI", "token-uri-required": "Token URI é obrigatório", "redirect-uri": "Redirect URI", @@ -601,6 +705,7 @@ "delete-chat-confirm": "Sim, excluir", "action-approval-required": "Aprovação da ação necessária", "approve": "Aprovar", + "approve-all": "Aprovar todas as próximas ações", "deny": "Negar", "processing": "Processando...", "approved": "Concluído", @@ -608,6 +713,7 @@ "error": "Falhou", "thinking": "Pensando...", "rename-chat-title": "Renomear este chat", + "export-chat": "Exportar chat", "main-title": "Olá! Eu sou seu assistente de IA" }, "alarm": { @@ -626,15 +732,15 @@ "search-status": { "ANY": "Qualquer", "ACTIVE": "Ativo", - "CLEARED": "Limpo", + "CLEARED": "Resolvido", "ACK": "Reconhecido", "UNACK": "Não reconhecido" }, "display-status": { "ACTIVE_UNACK": "Ativo não reconhecido", "ACTIVE_ACK": "Ativo reconhecido", - "CLEARED_UNACK": "Limpo não reconhecido", - "CLEARED_ACK": "Limpo reconhecido" + "CLEARED_UNACK": "Resolvido não reconhecido", + "CLEARED_ACK": "Resolvido reconhecido" }, "no-alarms-prompt": "Nenhum alarme encontrado", "created-time": "Hora de criação", @@ -650,7 +756,7 @@ "assignee-id": "Id do responsável", "assignee-first-name": "Nome do responsável", "assignee-last-name": "Sobrenome do responsável", - "assignee-email": "Email do responsável", + "assignee-email": "E-mail do responsável", "unassigned": "Não atribuído", "user-deleted": "Usuário excluído", "assignee-not-set": "Todos", @@ -659,8 +765,8 @@ "start-time": "Hora de início", "assign-time": "Hora de atribuição", "end-time": "Hora de término", - "ack-time": "Hora de reconhecimento", - "clear-time": "Hora de limpeza", + "ack-time": "Reconhecido em", + "clear-time": "Resolvido em", "duration": "Duração", "alarm-severity": "Severidade do alarme", "alarm-severity-list": "Lista de severidades de alarme", @@ -671,7 +777,7 @@ "severity-warning": "Aviso", "severity-indeterminate": "Indeterminado", "acknowledge": "Reconhecer", - "clear": "Limpar", + "clear": "Resolver", "delete": "Excluir", "search": "Pesquisar alarmes", "selected-alarms": "{ count, plural, =1 {1 alarme} other {# alarmes} } selecionado(s)", @@ -684,13 +790,13 @@ "aknowledge-alarm-title": "Reconhecer alarme", "aknowledge-alarm-text": "Tem certeza de que deseja reconhecer o alarme?", "selected-alarms-are-acknowledged": "Os alarmes selecionados já estão reconhecidos", - "clear-alarms-title": "Limpar { count, plural, =1 {1 alarme} other {# alarmes} }", - "clear-alarms-text": "Tem certeza de que deseja limpar { count, plural, =1 {1 alarme} other {# alarmes} }?", - "clear-alarm-title": "Limpar alarme", - "clear-alarm-text": "Tem certeza de que deseja limpar o alarme?", + "clear-alarms-title": "Resolver { count, plural, =1 {1 alarme} other {# alarmes} }", + "clear-alarms-text": "Tem certeza de que deseja resolver { count, plural, =1 {1 alarme} other {# alarmes} }?", + "clear-alarm-title": "Resolver alarme", + "clear-alarm-text": "Tem certeza de que deseja resolver o alarme?", "delete-alarms-title": "Excluir { count, plural, =1 {1 alarme} other {# alarmes} }", "delete-alarms-text": "Tem certeza de que deseja excluir { count, plural, =1 {1 alarme} other {# alarmes} }?", - "selected-alarms-are-cleared": "Os alarmes selecionados já estão limpos", + "selected-alarms-are-cleared": "Os alarmes selecionados já estão resolvidos", "alarm-status-filter": "Filtro de status de alarme", "alarm-filter-title": "Filtro de alarme", "assigned": "Atribuído", @@ -716,10 +822,10 @@ "alarm-type-list-empty": "Nenhum tipo de alarme selecionado.", "system-comments": { "acked-by-user": "O alarme foi reconhecido pelo usuário {{userName}}", - "cleared-by-user": "O alarme foi limpo pelo usuário {{userName}}", + "cleared-by-user": "O alarme foi resolvido pelo usuário {{userName}}", "assigned-to-user": "O alarme foi atribuído pelo usuário {{userName}} ao usuário {{assigneeName}}", - "unassigned-to-user": "O alarme foi desatribuído pelo usuário {{userName}}", - "unassigned-from-deleted-user": "O alarme foi desatribuído porque o usuário {{userName}} - foi excluído", + "unassigned-to-user": "A atribuição do alarme foi cancelada pelo usuário {{userName}}", + "unassigned-from-deleted-user": "A atribuição do alarme foi cancelada porque o usuário {{userName}} - foi excluído", "comment-deleted": "O usuário {{userName}} excluiu seu comentário", "severity-changed": "A severidade do alarme foi atualizada de {{oldSeverity}} para {{newSeverity}}" } @@ -775,12 +881,12 @@ "filter-type-entity-view-type": "Tipo de visualização de entidade", "filter-type-entity-view-type-description": "Visualizações de entidade do tipo '{{entityViewTypes}}'", "filter-type-entity-view-type-and-name-description": "Visualizações de entidade do tipo '{{entityViewTypes}}' e com nome começando com '{{prefix}}'", - "filter-type-edge-type": "Tipo de edge", + "filter-type-edge-type": "Tipo de Edge", "filter-type-edge-type-description": "Edges do tipo '{{edgeTypes}}'", "filter-type-edge-type-and-name-description": "Edges do tipo '{{edgeTypes}}' e com nome começando com '{{prefix}}'", "filter-type-relations-query": "Consulta de relações", "filter-type-relations-query-description": "{{entities}} que têm relação {{relationType}} {{direction}} {{rootEntity}}", - "filter-type-edge-search-query": "Consulta de pesquisa de edge", + "filter-type-edge-search-query": "Consulta de pesquisa de Edge", "filter-type-edge-search-query-description": "Edges com tipos {{edgeTypes}} que têm relação {{relationType}} {{direction}} {{rootEntity}}", "filter-type-scheduler-event": "Eventos do agendador", "filter-type-scheduler-event-type-description": "Eventos do agendador do tipo '{{eventType}}'", @@ -856,7 +962,7 @@ "assignedToCustomer": "Atribuído ao cliente", "make-public": "Tornar ativo público", "make-private": "Tornar ativo privado", - "unassign-from-customer": "Desatribuir do cliente", + "unassign-from-customer": "Cancelar atribuição ao cliente", "delete": "Excluir ativo", "asset-public": "Ativo é público", "asset-type": "Tipo de ativo", @@ -884,8 +990,8 @@ "assign-asset-to-edge-title": "Atribuir ativo(s) ao Edge", "assign-asset-to-edge-text": "Selecione os ativos a serem atribuídos ao Edge", "delete-assets": "Excluir ativos", - "unassign-assets": "Desatribuir ativos", - "unassign-assets-action-title": "Desatribuir { count, plural, =1 {1 ativo} other {# ativos} } do cliente", + "unassign-assets": "Cancelar atribuição de ativos", + "unassign-assets-action-title": "Cancelar atribuição de { count, plural, =1 {1 ativo} other {# ativos} } ao cliente", "assign-new-asset": "Atribuir novo ativo", "delete-asset-title": "Tem certeza de que deseja excluir o ativo '{{assetName}}'?", "delete-asset-text": "Atenção: após a confirmação, o ativo e todos os dados relacionados se tornarão irrecuperáveis.", @@ -896,11 +1002,11 @@ "make-public-asset-text": "Após a confirmação, o ativo e todos os seus dados serão tornados públicos e acessíveis por outros.", "make-private-asset-title": "Tem certeza de que deseja tornar o ativo '{{assetName}}' privado?", "make-private-asset-text": "Após a confirmação, o ativo e todos os seus dados serão tornados privados e não estarão acessíveis por outros.", - "unassign-asset-title": "Tem certeza de que deseja desatribuir o ativo '{{assetName}}'?", - "unassign-asset-text": "Após a confirmação, o ativo será desatribuído e não estará acessível pelo cliente.", - "unassign-asset": "Desatribuir ativo", - "unassign-assets-title": "Tem certeza de que deseja desatribuir { count, plural, =1 {1 ativo} other {# ativos} }?", - "unassign-assets-text": "Após a confirmação, todos os ativos selecionados serão desatribuídos e não estarão acessíveis pelo cliente.", + "unassign-asset-title": "Tem certeza de que deseja cancelar a atribuição do ativo '{{assetName}}'?", + "unassign-asset-text": "Após a confirmação, o ativo terá a atribuição cancelada e não ficará mais acessível para o cliente.", + "unassign-asset": "Cancelar atribuição do ativo", + "unassign-assets-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 ativo} other {# ativos} }?", + "unassign-assets-text": "Após a confirmação, todos os ativos selecionados terão a atribuição cancelada e não ficarão mais acessíveis para o cliente.", "copyId": "Copiar ID do ativo", "idCopiedMessage": "O ID do ativo foi copiado para a área de transferência", "select-asset": "Selecionar ativo", @@ -918,12 +1024,12 @@ "import": "Importar ativos", "asset-file": "Arquivo de ativo", "label": "Rótulo", - "assign-asset-to-edge": "Atribuir ativo(s) ao edge", - "unassign-asset-from-edge": "Desatribuir ativo", - "unassign-asset-from-edge-title": "Tem certeza de que deseja desatribuir o ativo '{{assetName}}'?", - "unassign-asset-from-edge-text": "Após a confirmação, o ativo será desatribuído e não estará acessível pelo edge.", - "unassign-assets-from-edge-title": "Tem certeza de que deseja desatribuir { count, plural, =1 {1 ativo} other {# ativos} }?", - "unassign-assets-from-edge-text": "Após a confirmação, todos os ativos selecionados serão desatribuídos e não estarão acessíveis pelo edge.", + "assign-asset-to-edge": "Atribuir ativo(s) ao Edge", + "unassign-asset-from-edge": "Cancelar atribuição do ativo", + "unassign-asset-from-edge-title": "Tem certeza de que deseja cancelar a atribuição do ativo '{{assetName}}'?", + "unassign-asset-from-edge-text": "Após a confirmação, o ativo terá a atribuição cancelada e não ficará mais acessível para o Edge.", + "unassign-assets-from-edge-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 ativo} other {# ativos} }?", + "unassign-assets-from-edge-text": "Após a confirmação, todos os ativos selecionados terão a atribuição cancelada e não ficarão mais acessíveis para o Edge.", "selected-assets": "{ count, plural, =1 {1 ativo} other {# ativos} } selecionado(s)" }, "attribute": { @@ -961,6 +1067,7 @@ "prev-widget": "Widget anterior", "add-to-dashboard": "Adicionar ao dashboard", "add-widget-to-dashboard": "Adicionar widget ao dashboard", + "no-widget-grid-in-dashboard": "Todos os estados deste dashboard são páginas HTML, portanto o widget não pode ser adicionado a ele.", "selected-attributes": "{ count, plural, =1 {1 atributo} other {# atributos} } selecionado(s)", "selected-telemetry": "{ count, plural, =1 {1 unidade de telemetria} other {# unidades de telemetria} } selecionada(s)", "no-attributes-text": "Nenhum atributo encontrado", @@ -1000,10 +1107,10 @@ "data-points-storage-days-daily-activity": "Atividade diária de dias de armazenamento de pontos de dados", "data-points-storage-days-monthly-activity": "Atividade mensal de dias de armazenamento de pontos de dados", "device-api": "API do dispositivo", - "email": "Email", - "email-messages": "Mensagens de email", - "email-messages-daily-activity": "Atividade diária de mensagens de email", - "email-messages-monthly-activity": "Atividade mensal de mensagens de email", + "email": "E-mail", + "email-messages": "Mensagens de e-mail", + "email-messages-daily-activity": "Atividade diária de mensagens de e-mail", + "email-messages-monthly-activity": "Atividade mensal de mensagens de e-mail", "executions": "Execuções", "scripts": "Scripts", "scripts-hourly-activity": "Atividade horária de scripts", @@ -1016,7 +1123,7 @@ "latest-error": "Último erro", "messages": "Mensagens", "notifications": "Notificações", - "notifications-email-sms": "Notificações (Email/SMS)", + "notifications-email-sms": "Notificações (E-mail/SMS)", "notifications-hourly-activity": "Atividade horária de notificações", "permanent-failures": "${entityName} Falhas permanentes", "permanent-timeouts": "${entityName} Tempos Limite permanentes", @@ -1067,19 +1174,23 @@ "created-reports-hourly-activity": "Atividade horária de relatórios criados", "created-reports-daily-activity": "Atividade diária de relatórios criados", "created-reports-monthly-activity": "Atividade mensal de relatórios criados", - "emails": "Emails", - "emails-hourly-activity": "Atividade horária de emails", - "emails-daily-activity": "Atividade diária de emails", - "emails-monthly-activity": "Atividade mensal de emails", + "emails": "E-mails", + "emails-hourly-activity": "Atividade horária de e-mails", + "emails-daily-activity": "Atividade diária de e-mails", + "emails-monthly-activity": "Atividade mensal de e-mails", "status": { - "enabled": "Ativado", - "disabled": "Desativado", + "enabled": "Habilitado", + "disabled": "Desabilitado", "warning": "Aviso" }, "reports-created": "Relatórios criados", "reports-created-hourly-activity": "Atividade horária de relatórios criados", "reports-created-daily-activity": "Atividade diária de relatórios criados", - "reports-created-monthly-activity": "Atividade mensal de relatórios criados" + "reports-created-monthly-activity": "Atividade mensal de relatórios criados", + "ai-credits": "Créditos de IA", + "ai-credits-hourly-activity": "Atividade horária de créditos de IA", + "ai-credits-daily-activity": "Atividade diária de créditos de IA", + "ai-credits-monthly-activity": "Atividade mensal de créditos de IA" }, "api-limit": { "cassandra-write-queries-core": "Consultas de escrita Cassandra da API Rest", @@ -1102,10 +1213,10 @@ "transport-messages-per-gateway": "Mensagens de transporte por gateway", "transport-messages-per-gateway-device": "Mensagens de transporte por dispositivo de gateway", "ws-updates-per-session": "Atualizações WS por sessão", - "edge-events": "Eventos de edge", - "edge-events-per-edge": "Eventos de edge por edge", - "edge-uplink-messages": "Mensagens uplink de edge", - "edge-uplink-messages-per-edge": "Mensagens uplink de edge por edge" + "edge-events": "Eventos do Edge", + "edge-events-per-edge": "Eventos do Edge por Edge", + "edge-uplink-messages": "Mensagens de uplink do Edge", + "edge-uplink-messages-per-edge": "Mensagens de uplink do Edge por Edge" }, "api-key": { "api-key": "Chave de API", @@ -1158,10 +1269,10 @@ "type-attributes-deleted": "Atributos excluídos", "type-rpc-call": "Chamada RPC", "type-credentials-updated": "Credenciais atualizadas", - "type-assigned-to-customer": "Atribuído ao Cliente", - "type-unassigned-from-customer": "Desatribuído do Cliente", + "type-assigned-to-customer": "Atribuído ao cliente", + "type-unassigned-from-customer": "Atribuição ao cliente cancelada", "type-assigned-to-edge": "Atribuído ao Edge", - "type-unassigned-from-edge": "Desatribuído do Edge", + "type-unassigned-from-edge": "Atribuição ao Edge cancelada", "type-activated": "Ativado", "type-suspended": "Suspenso", "type-credentials-read": "Credenciais lidas", @@ -1172,10 +1283,10 @@ "type-relation-delete": "Relação excluída", "type-relations-delete": "Todas as relações excluídas", "type-alarm-ack": "Alarme reconhecido", - "type-alarm-clear": "Alarme limpo", + "type-alarm-clear": "Alarme resolvido", "type-alarm-delete": "Alarme excluído", "type-alarm-assign": "Alarme atribuído", - "type-alarm-unassign": "Alarme desatribuído", + "type-alarm-unassign": "Atribuição do alarme cancelada", "type-added-comment": "Comentário adicionado", "type-updated-comment": "Comentário atualizado", "type-deleted-comment": "Comentário excluído", @@ -1193,18 +1304,20 @@ "failure-details": "Detalhes da falha", "search": "Pesquisar logs de auditoria", "clear-search": "Limpar pesquisa", - "type-assigned-from-tenant": "Atribuído do Tenant", - "type-assigned-to-tenant": "Atribuído ao Tenant", + "type-assigned-from-tenant": "Atribuído a partir do locatário", + "type-assigned-to-tenant": "Atribuído ao locatário", "type-provision-success": "Dispositivo provisionado", "type-provision-failure": "Falha no provisionamento do dispositivo", "type-timeseries-updated": "Telemetria atualizada", "type-timeseries-deleted": "Telemetria excluída", "type-owner-changed": "Proprietário alterado", "type-sms-sent": "SMS enviado", + "type-non-production-confirmed": "Uso fora de produção confirmado", "any-type": "Qualquer tipo", "audit-log-filter-title": "Filtro de log de auditoria", "filter-title": "Filtro", - "filter-types": "Tipos de log de auditoria" + "filter-types": "Tipos de log de auditoria", + "action": "Ação" }, "debug-settings": { "label": "Configuração de depuração", @@ -1255,11 +1368,11 @@ "no-arguments": "É necessário pelo menos um argumento.", "argument-settings": "Configurações do argumento", "argument-current": "Entidade atual", - "argument-current-tenant": "Tenant atual", + "argument-current-tenant": "Locatário atual", "argument-device": "Dispositivo", "argument-asset": "Ativo", "argument-customer": "Cliente", - "argument-tenant": "Tenant atual", + "argument-tenant": "Locatário atual", "argument-owner": "Proprietário atual", "argument-relation-query": "Entidades relacionadas", "argument-type": "Tipo de argumento", @@ -1409,7 +1522,7 @@ "process-rule-chains": "Processar via Cadeias de regras", "save-time-series": "Salvar em série temporal", "save-database": "Salvar no banco de dados", - "save-latest-values": "Salvar nos valores mais recentes", + "save-latest-values": "Salvar nos últimos valores", "send-web-sockets": "Enviar para WebSockets", "save-calculated-fields": "Enviar para Campos calculados", "update-attribute-only-on-value-change": "Atualizar atributo somente na mudança de valor", @@ -1431,7 +1544,7 @@ "send-web-sockets-time-series": "Notifica as assinaturas WebSocket sobre atualizações nos dados de série temporal.", "save-calculated-fields-attribute": "Notifica os campos calculados sobre atualizações nos dados de atributos.", "save-calculated-fields-time-series": "Notifica os campos calculados sobre atualizações nos dados de série temporal.", - "ttl": "Define o período de retenção dos dados de série temporal. Se desabilitado, o TTL do Perfil do tenant é usado." + "ttl": "Define o período de retenção para dados de série temporal. Se desabilitado, será usado o TTL do perfil do locatário." } }, "aggregate-interval-type": "Tipo de intervalo de agregação", @@ -1519,9 +1632,9 @@ "zone-group-refresh-interval": "Define com que frequência os grupos de zonas configurados via entidades relacionadas são atualizados.", "zone-group-refresh-interval-required": "O intervalo de atualização dos grupos de zonas é obrigatório.", "zone-group-refresh-interval-min": "O intervalo de atualização do grupo de zonas deve ser de pelo menos {{ min }} segundos.", - "propagation-path-related-entities": "Define um caminho direto de nível único para uma entidade relacionada com base na direção selecionada e no tipo de relação. Apenas relações entre entidades de dispositivo, ativo, cliente e tenant são suportadas. O máximo de entidades resolvidas pelo caminho de relação é {{ max }}.", + "propagation-path-related-entities": "Define um caminho direto, de nível único, até uma entidade relacionada com base na direção e no tipo de relação selecionados. Somente relações entre entidades de dispositivo, ativo, cliente e locatário são suportadas. O máximo de entidades resolvidas pelo caminho de relação é {{ max }}.", "data-propagate": "Define os dados a serem propagados a partir dos argumentos configurados abaixo. 'Somente argumentos' usa os dados recuperados diretamente, enquanto 'Resultado do cálculo' calcula um novo valor a partir desses dados.", - "aggregation-path-related-entities": "Define um caminho de agregação de nível único via relações diretas com entidades pai ou filho, com base na direção e no tipo de relação. Apenas relações entre entidades de dispositivo, ativo, cliente e tenant são suportadas. O máximo de entidades resolvidas pelo caminho de relação é {{ max }}.", + "aggregation-path-related-entities": "Define um caminho de agregação de nível único por meio de relações diretas com entidades pai ou filhas, com base na direção e no tipo de relação. Somente relações entre entidades de dispositivo, ativo, cliente e locatário são suportadas. O máximo de entidades resolvidas pelo caminho de relação é {{ max }}.", "arguments-aggregation": "Define os argumentos de entrada usados para filtragem e agregação.", "setting-arguments-aggregation": "Os dados serão buscados das entidades relacionadas configuradas no caminho de agregação.", "metrics": "Define as métricas agregadas com base nos argumentos configurados.", @@ -1545,7 +1658,7 @@ "alarm-rules-old": "Antigas", "alarm-rules-actual": "Atuais", "severities": "Severidades", - "cleared": "Condição de limpeza", + "cleared": "Condição de resolução", "delete-title": "Tem certeza de que deseja excluir a regra de alarme '{{title}}'?", "delete-text": "Atenção: após a confirmação, a regra de alarme e todos os dados relacionados serão irrecuperáveis.", "delete-multiple-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 regra de alarme} other {# regras de alarme} }?", @@ -1564,11 +1677,11 @@ "entity-type": "Tipo de entidade", "entity-type-required": "O tipo de entidade é obrigatório.", "alarm-type": "Tipo de alarme", - "alarm-type-hint": "Identificador único (ex.: HighTempAlarm) no escopo do originador do alarme (Dispositivo, Ativo, etc.) para evitar conflitos.", + "alarm-type-hint": "Identificador único (por exemplo, HighTempAlarm) no escopo do originador do alarme (dispositivo, ativo etc.) para evitar conflitos.", "alarm-type-required": "O tipo de alarme é obrigatório.", "alarm-type-pattern": "O tipo de alarme é inválido.", "alarm-type-max-length": "O tipo de alarme deve ter menos de 256 caracteres.", - "clear-alarm": "Limpar alarme", + "clear-alarm": "Resolver alarme", "value-argument": "Argumento", "value-argument-required": "O argumento é obrigatório.", "static-settings": "Configurações estáticas", @@ -1625,7 +1738,7 @@ "sunday": "Domingo" }, "schedule-days": "Dias", - "schedule-time": "Horário", + "schedule-time": "Hora", "schedule-time-from": "De", "schedule-time-to": "Até", "schedule-days-of-week-required": "Pelo menos um dia da semana deve ser selecionado.", @@ -1646,7 +1759,7 @@ }, "alarm-rule-additional-info": "Informações adicionais", "edit-alarm-rule-additional-info": "Editar informações adicionais", - "alarm-rule-additional-info-placeholder": "Forneça seus comentários e ajustes aqui para exibi-los nos detalhes do Alarme em Informações adicionais", + "alarm-rule-additional-info-placeholder": "Insira aqui seus comentários e ajustes para exibi-los em Detalhes do alarme, na seção Informações adicionais", "alarm-rule-additional-info-hint": "Dica: use ${Argument name} para substituir os valores dos argumentos usados na condição da regra de alarme.", "alarm-rule-additional-info-icon-hint": "Use o nome do argumento para substituir os valores dos argumentos usados na condição da regra de alarme.", "alarm-rule-mobile-dashboard": "Dashboard móvel", @@ -1654,14 +1767,14 @@ "alarm-rule-no-mobile-dashboard": "Nenhum dashboard selecionado", "alarm-rule-condition": "Condição da regra de alarme", "enter-alarm-rule-condition-prompt": "Adicionar condição", - "enter-alarm-rule-clear-condition-prompt": "Adicionar condição de limpeza", + "enter-alarm-rule-clear-condition-prompt": "Adicionar condição de resolução", "edit-alarm-rule-condition": "Condição do alarme", "condition-type": "Tipo de condição", "condition-type-hint": "As opções \"Duração\" e \"Repetição\" não estão disponíveis quando a operação \"Ausente por\" é usada no filtro.", "select-alarm-severity": "Selecionar severidade do alarme", "add-create-alarm-rule-prompt": "É necessária pelo menos uma condição de acionamento.", "add-create-alarm-rule": "Adicionar condição de acionamento", - "add-clear-alarm-rule": "Adicionar condição de limpeza", + "add-clear-alarm-rule": "Adicionar condição de resolução", "condition-duration": "Duração da condição", "condition-duration-value": "Valor da duração", "condition-duration-time-unit": "Unidade de tempo", @@ -1675,15 +1788,15 @@ "condition-repeating-value-pattern": "A contagem de eventos deve ser um número inteiro.", "condition-repeating-value-required": "A contagem de eventos é obrigatória.", "create-conditions": "Condições de acionamento", - "clear-condition": "Condição de limpeza", - "no-clear-alarm-rule": "Nenhuma condição de limpeza configurada.", + "clear-condition": "Condição de resolução", + "no-clear-alarm-rule": "Nenhuma condição de resolução configurada.", "advanced-settings": "Configurações avançadas", "propagate-alarm": "Propagar alarme para entidades relacionadas", "alarm-rule-relation-types-list": "Tipos de relação", "alarm-rule-relation-types-list-hint": "Define os tipos de relação para filtrar as entidades relacionadas. Se não definido, o alarme será propagado para todas as entidades relacionadas.", - "propagate-alarm-to-owner": "Propagar alarme para o proprietário da entidade (Cliente ou Tenant)", + "propagate-alarm-to-owner": "Propagar alarme para o proprietário da entidade (cliente ou locatário)", "propagate-alarm-to-owner-hierarchy": "Propagar alarme para a hierarquia de proprietários da entidade", - "propagate-alarm-to-tenant": "Propagar alarme para o Tenant", + "propagate-alarm-to-tenant": "Propagar alarme para o locatário", "alarm-rule-filter-title": "Filtro de regra de alarme", "filter-title": "Filtro", "debugging": "Depuração de regra de alarme", @@ -1847,7 +1960,7 @@ "authentication-token-hint": "Usa autenticação por token Bearer. O token fornecido será enviado diretamente em um cabeçalho \"Authorization\" a cada solicitação ao servidor Ollama.", "authentication-type": { "none": "Nenhuma", - "basic": "Basic", + "basic": "Básica", "token": "Token" }, "username": "Nome de usuário", @@ -1873,7 +1986,7 @@ "address": "Endereço", "address2": "Endereço 2", "phone": "Telefone", - "email": "Email", + "email": "E-mail", "no-address": "Sem endereço", "no-country-found": "Nenhum país encontrado.", "no-country-matching": "Nenhum país correspondente a '{{country}}' foi encontrado.", @@ -1893,8 +2006,9 @@ "enter-username": "Inserir nome de usuário", "enter-password": "Inserir senha", "enter-search": "Inserir pesquisa", + "all": "Todos", "created-time": "Hora de criação", - "disabled": "Desativado", + "disabled": "Desabilitado", "loading": "Carregando...", "proceed": "Prosseguir", "open-details-page": "Abrir página de detalhes", @@ -2013,14 +2127,16 @@ "content-type": { "json": "Json", "text": "Texto", - "binary": "Binário (Base64)" + "binary": "Binário (Base64)", + "hex": "Binário (Hex)" }, "color": { "color": "Cor", "color-picker": "Seletor de cor", "primary-colors": "Cores primárias", "accent-colors": "Cores de destaque", - "no-color-selected": "Nenhuma cor selecionada" + "no-color-selected": "Nenhuma cor selecionada", + "default": "Padrão" }, "customer": { "all": "Todos", @@ -2030,6 +2146,7 @@ "hierarchy": "Hierarquia", "customer": "Cliente", "customers": "Clientes", + "customers-and-users": "Clientes e usuários", "management": "Gerenciamento de clientes", "dashboard": "Dashboard do cliente", "dashboards": "Dashboards do cliente", @@ -2047,7 +2164,7 @@ "manage-customer-device-groups": "Gerenciar grupos de dispositivos do cliente", "manage-customer-asset-groups": "Gerenciar grupos de ativos do cliente", "manage-customer-entity-view-groups": "Gerenciar grupos de visualizações de entidade do cliente", - "manage-customer-edge-groups": "Gerenciar grupos de edge do cliente", + "manage-customer-edge-groups": "Gerenciar grupos de Edges do cliente", "manage-customer-dashboard-groups": "Gerenciar grupos de dashboards do cliente", "manage-customer-users": "Gerenciar usuários do cliente", "manage-customers": "Gerenciar clientes", @@ -2057,7 +2174,7 @@ "manage-public-devices": "Gerenciar dispositivos públicos", "manage-public-dashboards": "Gerenciar dashboards públicos", "manage-customer-assets": "Gerenciar ativos do cliente", - "manage-customer-edges": "Gerenciar edges do cliente", + "manage-customer-edges": "Gerenciar Edges do cliente", "manage-public-assets": "Gerenciar ativos públicos", "add-customer-text": "Adicionar novo cliente", "no-customers-text": "Nenhum cliente encontrado", @@ -2072,7 +2189,7 @@ "manage-device-groups": "Gerenciar grupos de dispositivos", "manage-dashboard-groups": "Gerenciar grupos de dashboards", "manage-entity-view-groups": "Gerenciar grupos de visualizações de entidade", - "manage-edge-groups": "Gerenciar grupos de edge", + "manage-edge-groups": "Gerenciar grupos de Edges", "manage-users": "Gerenciar usuários", "manage-assets": "Gerenciar ativos", "manage-devices": "Gerenciar dispositivos", @@ -2097,12 +2214,13 @@ "group-name-starts-with": "Grupos de clientes cujos nomes começam com '{{prefix}}'", "select-default-customer": "Selecionar cliente padrão", "default-customer": "Cliente padrão", - "default-customer-required": "O cliente padrão é obrigatório para depurar o dashboard no nível do Tenant", + "default-customer-required": "O cliente padrão é obrigatório para depurar o dashboard no nível do locatário", "allow-white-labeling": "Permitir personalização de marca", "search": "Pesquisar clientes", "selected-customers": "{ count, plural, =1 {1 cliente} other {# clientes} } selecionado(s)", - "edges": "Instâncias de edge do cliente", - "manage-edges": "Gerenciar edges" + "edges": "Instâncias do Edge do cliente", + "manage-edges": "Gerenciar edges", + "manage-agents": "Gerenciar Agents" }, "customers-hierarchy": { "customers-hierarchy": "Hierarquia de clientes", @@ -2123,13 +2241,13 @@ "edit-name": "Editar nome", "scope": "Escopo", "scope-system": "Sistema", - "scope-tenant": "Tenant", + "scope-tenant": "Locatário", "scope-customer": "Cliente", "assignee-type": "Tipo de destinatário", "assignee-no-assign": "Não atribuído", "assignee-customer-all": "Todos os usuários do cliente", "assignee-customers": "Lista de clientes", - "assignee-tenant-all": "Todos os usuários do tenant", + "assignee-tenant-all": "Todos os usuários do locatário", "assignee-users": "Lista de usuários", "assignee-user-group-names": "Nomes dos grupos de usuários", "user-group-name": "Nome do grupo de usuários", @@ -2212,7 +2330,7 @@ "last-update-n-ago-text": "Última atualização {{ agoText }}", "custom-date": "Data personalizada", "format": "Formato", - "preview": "Visualização", + "preview": "Pré-visualização", "auto": "Automático", "time-granularity-formats": "Formatos de granularidade de tempo", "unit-year": "Anos", @@ -2246,7 +2364,7 @@ "management": "Gerenciamento de dashboards", "view-dashboards": "Visualizar Dashboards", "add": "Adicionar dashboard", - "assign-dashboard-to-customer": "Atribuir Dashboard(s) ao Cliente", + "assign-dashboard-to-customer": "Atribuir dashboard(s) ao cliente", "assign-dashboard-to-customer-text": "Selecione os dashboards a serem atribuídos ao cliente", "assign-to-customer-text": "Selecione o cliente ao qual atribuir o(s) dashboard(s)", "assign-to-customer": "Atribuir ao cliente", @@ -2255,14 +2373,16 @@ "make-private": "Tornar dashboard privado", "manage-assigned-customers": "Gerenciar clientes atribuídos", "assigned-customers": "Clientes atribuídos", - "assign-to-customers": "Atribuir Dashboard(s) aos Clientes", + "assign-to-customers": "Atribuir dashboard(s) aos clientes", "assign-to-customers-text": "Selecione os clientes aos quais atribuir o(s) dashboard(s)", - "unassign-from-customers": "Cancelar atribuição de Dashboard(s) dos Clientes", + "unassign-from-customers": "Cancelar atribuição de dashboard(s) aos clientes", "unassign-from-customers-text": "Selecione os clientes para cancelar a atribuição do(s) dashboard(s)", "no-dashboards-text": "Nenhum dashboard encontrado", "no-widgets": "Nenhum widget configurado", "add-widget": "Adicionar novo widget", "add-widget-button-text": "Adicionar widget", + "edit-html-page": "Editar página HTML", + "html-page": "Página HTML", "title": "Título", "image": "Imagem do dashboard", "mobile-app-settings": "Configurações do aplicativo móvel", @@ -2272,6 +2392,7 @@ "update-new-version": "Carregar nova versão", "upload-file-to-update": "Carregar arquivo para atualizar", "take-screenshot": "Tirar captura de tela", + "take-screenshot-failed": "Falha ao fazer a captura de tela do dashboard. Tente novamente.", "select-widget-title": "Selecionar widget", "select-widget-value": "{{title}}: selecionar widget", "select-widget-subtitle": "Lista de tipos de widgets disponíveis", @@ -2285,17 +2406,17 @@ "assign-dashboards": "Atribuir dashboards", "assign-new-dashboard": "Atribuir novo dashboard", "assign-dashboards-text": "Atribuir { count, plural, =1 {1 dashboard} other {# dashboards} } aos clientes", - "unassign-dashboards-action-text": "Cancelar atribuição de { count, plural, =1 {1 dashboard} other {# dashboards} } dos clientes", + "unassign-dashboards-action-text": "Cancelar atribuição de { count, plural, =1 {1 dashboard} other {# dashboards} } aos clientes", "delete-dashboards": "Excluir dashboards", "unassign-dashboards": "Cancelar atribuição de dashboards", - "unassign-dashboards-action-title": "Cancelar atribuição de { count, plural, =1 {1 dashboard} other {# dashboards} } do cliente", + "unassign-dashboards-action-title": "Cancelar atribuição de { count, plural, =1 {1 dashboard} other {# dashboards} } ao cliente", "delete-dashboard-title": "Tem certeza de que deseja excluir o dashboard '{{dashboardTitle}}'?", "delete-dashboard-text": "Cuidado, após a confirmação o dashboard e todos os dados relacionados se tornarão irrecuperáveis.", "delete-dashboards-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 dashboard} other {# dashboards} }?", "delete-dashboards-action-title": "Excluir { count, plural, =1 {1 dashboard} other {# dashboards} }", "delete-dashboards-text": "Cuidado, após a confirmação todos os dashboards selecionados serão removidos e todos os dados relacionados se tornarão irrecuperáveis.", "unassign-dashboard-title": "Tem certeza de que deseja cancelar a atribuição do dashboard '{{dashboardTitle}}'?", - "unassign-dashboard-text": "Após a confirmação o dashboard terá sua atribuição cancelada e não estará mais acessível pelo cliente.", + "unassign-dashboard-text": "Após a confirmação o dashboard terá a atribuição cancelada e não ficará mais acessível para o cliente.", "unassign-dashboard": "Cancelar atribuição do dashboard", "unassign-dashboards-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 dashboard} other {# dashboards} }?", "unassign-dashboards-text": "Após a confirmação todos os dashboards selecionados terão suas atribuições canceladas e não estarão mais acessíveis pelo cliente.", @@ -2335,6 +2456,7 @@ "layout-type-default": "Padrão", "layout-type-scada": "SCADA", "layout-type-divider": "Divisor", + "layout-type-html": "Página HTML", "layout-settings-type": "Configurações de layout: ponto de interrupção {{ type }}", "columns-count": "Quantidade de colunas", "columns-count-required": "A quantidade de colunas é obrigatória.", @@ -2378,6 +2500,7 @@ "display-dashboard-timewindow": "Exibir janela de tempo", "display-dashboard-export": "Exibir exportação", "display-update-dashboard-image": "Exibir atualização de imagem do dashboard", + "display-configure-with-ai": "Exibir o botão \"Configurar com IA\"", "dashboard-logo-settings": "Configurações do logotipo do dashboard", "display-dashboard-logo": "Exibir logotipo no modo de tela cheia do dashboard", "dashboard-logo-image": "Imagem do logotipo do dashboard", @@ -2448,11 +2571,11 @@ "group": "Grupo de dashboards", "list-of-groups": "{ count, plural, =1 {Um grupo de dashboards} other {Lista de # grupos de dashboards} }", "group-name-starts-with": "Grupos de dashboards cujos nomes começam com '{{prefix}}'", - "unassign-dashboard-from-edge-text": "Após a confirmação o dashboard terá sua atribuição cancelada e não estará mais acessível pelo edge.", + "unassign-dashboard-from-edge-text": "Após a confirmação, o dashboard terá a atribuição cancelada e não ficará mais acessível para o Edge.", "unassign-dashboards-from-edge-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 dashboard} other {# dashboards} }?", - "unassign-dashboards-from-edge-text": "Após a confirmação todos os dashboards selecionados terão suas atribuições canceladas e não estarão mais acessíveis pelo edge.", + "unassign-dashboards-from-edge-text": "Após a confirmação, todos os dashboards selecionados terão a atribuição cancelada e não ficarão mais acessíveis para o Edge.", "assign-dashboard-to-edge": "Atribuir Dashboard(s) ao Edge", - "assign-dashboard-to-edge-text": "Selecione os dashboards a serem atribuídos ao edge", + "assign-dashboard-to-edge-text": "Selecione os dashboards a serem atribuídos ao Edge", "non-existent-dashboard-state-error": "O estado do dashboard com ID \"{{ stateId }}\" não foi encontrado", "edit-mode": "Modo de edição", "duplicate-state-action": "Duplicar estado", @@ -2482,7 +2605,7 @@ "data-generation-func": "Função de geração de dados", "use-data-post-processing-func": "Usar função de pós-processamento de dados", "configuration": "Configuração da chave de dados", - "timeseries": "Séries temporais", + "timeseries": "Série temporal", "attributes": "Atributos", "entity-field": "Campo da entidade", "alarm": "Campos de alarme", @@ -2606,8 +2729,8 @@ "unassign-devices": "Cancelar atribuição de dispositivos", "unassign-devices-action-title": "Cancelar atribuição de { count, plural, =1 {1 dispositivo} other {# dispositivos} } ao cliente", "unassign-device-from-edge-title": "Tem certeza de que deseja cancelar a atribuição do dispositivo '{{deviceName}}'?", - "unassign-device-from-edge-text": "Após a confirmação, a atribuição do dispositivo será cancelada e ele não estará acessível pelo edge.", - "unassign-devices-from-edge": "Cancelar atribuição de dispositivos do edge", + "unassign-device-from-edge-text": "Após a confirmação, o dispositivo terá a atribuição cancelada e não ficará mais acessível para o Edge.", + "unassign-devices-from-edge": "Cancelar atribuição de dispositivos ao Edge", "assign-new-device": "Atribuir novo dispositivo", "make-public-device-title": "Tem certeza de que deseja tornar o dispositivo '{{deviceName}}' público?", "make-public-device-text": "Após a confirmação, o dispositivo e todos os seus dados serão tornados públicos e acessíveis por outros.", @@ -2677,7 +2800,7 @@ "client-id-pattern": "Contém caractere inválido.", "user-name": "Nome de usuário", "user-name-required": "O nome de usuário é obrigatório.", - "client-id-or-user-name-necessary": "Client ID e/ou nome de usuário são necessários", + "client-id-or-user-name-necessary": "O Client ID e/ou o nome de usuário são obrigatórios", "password": "Senha", "secret": "Secret", "secret-required": "O secret é obrigatório.", @@ -2735,7 +2858,7 @@ "device-details": "Detalhes do dispositivo" }, "unassign-devices-from-edge-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 dispositivo} other {# dispositivos} }?", - "unassign-devices-from-edge-text": "Após a confirmação, a atribuição de todos os dispositivos selecionados será cancelada e eles não estarão acessíveis pelo edge.", + "unassign-devices-from-edge-text": "Após a confirmação, todos os dispositivos selecionados terão a atribuição cancelada e não ficarão mais acessíveis para o Edge.", "time": "Tempo", "connectivity": { "check-connectivity": "Verificar conectividade", @@ -2743,6 +2866,8 @@ "loading-check-connectivity-command": "Carregando comandos de verificação de conectividade...", "use-following-instructions": "Use as instruções a seguir para enviar telemetria em nome do dispositivo usando shell", "execute-following-command": "Execute o seguinte comando", + "step-execute-following-command": "Etapa 2. Execute o seguinte comando", + "step-install-necessary-client-tools": "Etapa 1. Instale as ferramentas de cliente necessárias", "install-curl-windows": "A partir do Windows 10 b17063, o cURL está disponível por padrão", "install-curl-macos": "A partir do Mac OS X 10.2 6C115 (Jaguar), o cURL está disponível por padrão", "install-mqtt-windows": "Use as instruções para baixar, instalar, configurar e executar o mosquitto_pub", @@ -2869,8 +2994,8 @@ "description": "Descrição", "default": "Padrão", "default-rule-chain": "Cadeia de regras padrão", - "default-edge-rule-chain": "Cadeia de regras padrão do edge", - "default-edge-rule-chain-hint": "Usada no edge como cadeia de regras para processar dados recebidos de ativos deste perfil do ativo", + "default-edge-rule-chain": "Cadeia de regras padrão do Edge", + "default-edge-rule-chain-hint": "Usada no Edge como cadeia de regras para processar os dados recebidos dos ativos deste perfil do ativo", "mobile-dashboard": "Dashboard móvel", "mobile-dashboard-hint": "Usado pelo aplicativo móvel como dashboard de detalhes do ativo", "select-queue-hint": "Selecione em uma lista suspensa.", @@ -2930,8 +3055,8 @@ "profile-configuration": "Configuração do perfil", "transport-configuration": "Configuração de transporte", "default-rule-chain": "Cadeia de regras padrão", - "default-edge-rule-chain": "Cadeia de regras padrão do edge", - "default-edge-rule-chain-hint": "Usada no edge como cadeia de regras para processar dados recebidos de dispositivos deste perfil do dispositivo", + "default-edge-rule-chain": "Cadeia de regras padrão do Edge", + "default-edge-rule-chain-hint": "Usada no Edge como cadeia de regras para processar os dados recebidos dos dispositivos deste perfil do dispositivo", "mobile-dashboard": "Dashboard móvel", "mobile-dashboard-hint": "Usado pelo aplicativo móvel como dashboard de detalhes do dispositivo", "select-queue-hint": "Selecione em uma lista suspensa.", @@ -3010,10 +3135,10 @@ "create-alarm-rules": "Criar regras de alarme", "no-create-alarm-rules": "Nenhuma condição de criação configurada", "add-create-alarm-rule-prompt": "Adicione uma regra de criação de alarme", - "clear-alarm-rule": "Limpar regra de alarme", - "no-clear-alarm-rule": "Nenhuma condição de limpeza configurada", + "clear-alarm-rule": "Regra de resolução do alarme", + "no-clear-alarm-rule": "Nenhuma condição de resolução configurada", "add-create-alarm-rule": "Adicionar condição de criação", - "add-clear-alarm-rule": "Adicionar condição de limpeza", + "add-clear-alarm-rule": "Adicionar condição de resolução", "select-alarm-severity": "Selecionar severidade do alarme", "alarm-severity-required": "A severidade do alarme é obrigatória.", "condition-duration": "Duração da condição", @@ -3026,7 +3151,7 @@ "advanced-settings": "Configurações avançadas", "alarm-rule-additional-info": "Informações adicionais", "edit-alarm-rule-additional-info": "Editar informações adicionais", - "alarm-rule-additional-info-placeholder": "Insira seus comentários e ajustes aqui para exibi-los nos detalhes do Alarme em Informações adicionais", + "alarm-rule-additional-info-placeholder": "Insira aqui seus comentários e ajustes para exibi-los em Detalhes do alarme, na seção Informações adicionais", "alarm-rule-additional-info-hint": "Dica: use ${keyName} para substituir valores dos atributos ou chaves de telemetria usados na condição da regra de alarme.", "alarm-rule-mobile-dashboard": "Dashboard móvel", "alarm-rule-mobile-dashboard-hint": "Usado pelo aplicativo móvel como dashboard de detalhes do alarme", @@ -3034,9 +3159,9 @@ "propagate-alarm": "Propagar alarme para entidades relacionadas", "alarm-rule-relation-types-list": "Tipos de relação", "alarm-rule-relation-types-list-hint": "Define os tipos de relação para filtrar as entidades relacionadas. Se não definido, o alarme será propagado para todas as entidades relacionadas.", - "propagate-alarm-to-owner": "Propagar alarme para o proprietário da entidade (Cliente ou Tenant)", + "propagate-alarm-to-owner": "Propagar alarme para o proprietário da entidade (cliente ou locatário)", "propagate-alarm-to-owner-hierarchy": "Propagar alarme para a hierarquia de proprietários da entidade", - "propagate-alarm-to-tenant": "Propagar alarme para o Tenant", + "propagate-alarm-to-tenant": "Propagar alarme para o locatário", "alarm-rule-condition": "Condição da regra de alarme", "enter-alarm-rule-condition-prompt": "Adicione uma condição de regra de alarme", "edit-alarm-rule-condition": "Editar condição da regra de alarme", @@ -3141,6 +3266,9 @@ "observe-label": "Observar", "attribute-label": "Atributo", "telemetry-label": "Telemetria", + "select-all-attribute": "Selecionar todos os atributos", + "select-all-telemetry": "Selecionar toda a telemetria", + "select-all-observe": "Selecionar todos os observados", "edit-observe-select": "Para editar observar, selecione telemetria ou atributo", "edit-attributes-select": "Para editar atributos, selecione telemetria ou atributo", "no-attributes-set": "Nenhum atributo definido", @@ -3329,143 +3457,149 @@ }, "edge": { "all": "Todos", - "all-edges": "Todos os edges", + "all-edges": "Todos os Edges", "groups": "Grupos", "shared": "Compartilhado", "edge": "Edge", - "edge-instances": "Instâncias do edge", + "edge-instances": "Instâncias do Edge", "instances": "Instâncias", - "edge-file": "Arquivo do edge", + "edges": "Edges", + "profiles": "Perfis", + "templates": "Modelos", + "rule-chain": "Cadeia de regras", + "integration": "Integração", + "converter": "Conversor", + "edge-file": "Arquivo do Edge", "name-max-length": "O nome deve ter menos de 256 caracteres", "label-max-length": "O rótulo deve ter menos de 256 caracteres", "type-max-length": "O tipo deve ter menos de 256 caracteres", - "management": "Gerenciamento do edge", + "management": "Gerenciamento do Edge", "no-edges-matching": "Nenhum edge correspondente a '{{entity}}' foi encontrado.", "add": "Adicionar edge", "no-edges-text": "Nenhum edge encontrado", - "edge-details": "Detalhes do edge", + "edge-details": "Detalhes do Edge", "add-edge-text": "Adicionar novo edge", "delete": "Excluir edge", - "delete-edge-title": "Tem certeza de que deseja excluir o edge '{{edgeName}}'?", - "delete-edge-text": "Atenção: após a confirmação, o edge e todos os dados relacionados serão irrecuperáveis.", + "delete-edge-title": "Tem certeza de que deseja excluir o Edge '{{edgeName}}'?", + "delete-edge-text": "Cuidado, após a confirmação o Edge e todos os dados relacionados se tornarão irrecuperáveis.", "delete-edges-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 edge} other {# edges} }?", - "delete-edges-text": "Atenção: após a confirmação, todos os edges selecionados serão removidos e todos os dados relacionados serão irrecuperáveis.", + "delete-edges-text": "Cuidado, após a confirmação todos os Edges selecionados serão removidos e todos os dados relacionados se tornarão irrecuperáveis.", "name": "Nome", - "name-starts-with": "Nome do edge começa com", + "name-starts-with": "Nome do Edge começa com", "name-required": "O nome é obrigatório.", - "edge-license-key": "Edge License Key", - "edge-license-key-required": "Edge License Key é obrigatória.", - "edge-license-key-max-length": "Edge License Key deve ter menos de 31 caracteres", - "edge-license-key-hint": "NOTA IMPORTANTE: a chave de licença padrão do edge é fornecida apenas para fins de avaliação.
    Esta chave está ativa somente por 30 dias após a ativação. O recurso de Personalização de marca está desativado.
    Para obter sua chave de licença, acesse a página de preços e selecione a melhor opção de licença para o seu caso.", + "edge-license-key": "Chave de licença do Edge", + "edge-license-key-required": "A chave de licença do Edge é obrigatória.", + "edge-license-key-max-length": "A chave de licença do Edge deve ter menos de 31 caracteres", + "edge-license-key-hint": "NOTA IMPORTANTE: a chave de licença padrão do Edge é fornecida apenas para fins de avaliação.
    Esta chave fica ativa apenas por 30 dias após a ativação. O recurso de personalização de marca está desabilitado.
    Para obter sua chave de licença, acesse a página de preços e selecione a melhor opção de licença para o seu caso.", "cloud-endpoint": "Cloud Endpoint", "cloud-endpoint-required": "Cloud Endpoint é obrigatório.", "cloud-endpoint-max-length": "Cloud Endpoint deve ter menos de 256 caracteres", - "cloud-endpoint-hint": "O edge requer acesso HTTP(s) à nuvem (ThingsBoard) para verificar a chave de licença. Especifique a URL da nuvem à qual o edge pode se conectar.", + "cloud-endpoint-hint": "O Edge requer acesso HTTP(s) à Cloud (ThingsBoard) para verificar a chave de licença. Especifique a URL da Cloud à qual o Edge consegue se conectar.", "description": "Descrição", "details": "Detalhes", "events": "Eventos", - "copy-id": "Copiar ID do edge", - "id-copied-message": "ID do edge copiado para a área de transferência", + "copy-id": "Copiar ID do Edge", + "id-copied-message": "O ID do Edge foi copiado para a área de transferência", "sync": "Sincronizar edge", "edge-required": "Edge é obrigatório", - "edge-type": "Tipo do edge", - "edge-type-required": "O tipo do edge é obrigatório.", + "edge-type": "Tipo de Edge", + "edge-type-required": "O tipo de Edge é obrigatório.", "event-action": "Ação do evento", "entity-id": "ID da entidade", - "select-edge-type": "Selecionar tipo do edge", + "select-edge-type": "Selecionar tipo de Edge", "assign-to-customer": "Atribuir ao cliente", "assign-to-customer-text": "Selecione o cliente ao qual deseja atribuir o(s) edge(s)", "assign-edge-to-customer": "Atribuir edge(s) ao cliente", - "assign-edge-to-customer-text": "Selecione os edges a serem atribuídos ao cliente", + "assign-edge-to-customer-text": "Selecione os Edges a serem atribuídos ao cliente", "assignedToCustomer": "Atribuído ao cliente", "edge-public": "Edge é público", "assigned-to-customer": "Atribuído a: {{customerTitle}}", - "unassign-from-customer": "Desatribuir do cliente", - "unassign-edge-title": "Tem certeza de que deseja desatribuir o edge '{{edgeName}}'?", - "unassign-edge-text": "Após a confirmação, o edge será desatribuído e não estará mais acessível pelo cliente.", - "unassign-edges-title": "Tem certeza de que deseja desatribuir { count, plural, =1 {1 edge} other {# edges} }?", - "unassign-edges-text": "Após a confirmação, todos os edges selecionados serão desatribuídos e não estarão mais acessíveis pelo cliente.", + "unassign-from-customer": "Cancelar atribuição ao cliente", + "unassign-edge-title": "Tem certeza de que deseja cancelar a atribuição do Edge '{{edgeName}}'?", + "unassign-edge-text": "Após a confirmação, a atribuição do Edge será cancelada e ele não estará acessível ao cliente.", + "unassign-edges-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 edge} other {# edges} }?", + "unassign-edges-text": "Após a confirmação, a atribuição de todos os Edges selecionados será cancelada e eles não estarão acessíveis ao cliente.", "make-public": "Tornar edge público", - "make-public-edge-title": "Tem certeza de que deseja tornar o edge '{{edgeName}}' público?", - "make-public-edge-text": "Após a confirmação, o edge e todos os seus dados serão tornados públicos e acessíveis por outros.", + "make-public-edge-title": "Tem certeza de que deseja tornar o Edge '{{edgeName}}' público?", + "make-public-edge-text": "Após a confirmação, o Edge e todos os seus dados se tornarão públicos e acessíveis a outros.", "make-private": "Tornar edge privado", "public": "Público", - "make-private-edge-title": "Tem certeza de que deseja tornar o edge '{{edgeName}}' privado?", - "make-private-edge-text": "Após a confirmação, o edge e todos os seus dados serão tornados privados e não estarão mais acessíveis por outros.", + "make-private-edge-title": "Tem certeza de que deseja tornar o Edge '{{edgeName}}' privado?", + "make-private-edge-text": "Após a confirmação, o Edge e todos os seus dados se tornarão privados e não estarão acessíveis a outros.", "import": "Importar edge", "install-connect-instructions": "Instruções de instalação e conexão", "install-connect-instructions-edge-created": "Edge criado! Veja as instruções de instalação e conexão", - "loading-edge-instructions": "Carregando instruções do edge...", + "loading-edge-instructions": "Carregando instruções do Edge...", "label": "Rótulo", "load-entity-error": "Falha ao carregar os dados. A entidade foi excluída.", "assign-new-edge": "Atribuir novo edge", - "unassign-from-edge": "Desatribuir do edge", - "edge-key": "Chave do edge", - "copy-edge-key": "Copiar chave do edge", - "edge-key-copied-message": "Chave do edge copiada para a área de transferência", - "edge-secret": "Segredo do edge", - "copy-edge-secret": "Copiar segredo do edge", - "edge-secret-copied-message": "Segredo do edge copiado para a área de transferência", + "unassign-from-edge": "Cancelar atribuição ao Edge", + "edge-key": "Chave do Edge", + "copy-edge-key": "Copiar chave do Edge", + "edge-key-copied-message": "A chave do Edge foi copiada para a área de transferência", + "edge-secret": "Segredo do Edge", + "copy-edge-secret": "Copiar segredo do Edge", + "edge-secret-copied-message": "O segredo do Edge foi copiado para a área de transferência", "manage-assets": "Gerenciar ativos", "manage-devices": "Gerenciar dispositivos", "manage-entity-views": "Gerenciar visualizações de entidade", "manage-dashboards": "Gerenciar dashboards", "manage-rulechains": "Gerenciar cadeias de regras", - "assets": "Ativos do edge", - "devices": "Dispositivos do edge", - "entity-views": "Visualizações de entidade do edge", - "dashboard": "Dashboard do edge", - "dashboards": "Dashboards do edge", + "assets": "Ativos do Edge", + "devices": "Dispositivos do Edge", + "entity-views": "Visualizações de entidade do Edge", + "dashboard": "Dashboard do Edge", + "dashboards": "Dashboards do Edge", "rulechain-templates": "Modelos de cadeia de regras", - "edge-rulechain-templates": "Modelos de cadeia de regras do edge", + "edge-rulechain-templates": "Modelos de cadeias de regras do Edge", "converter-templates": "Modelos de conversor", - "edge-converter-templates": "Modelos de conversor do edge", + "edge-converter-templates": "Modelos de conversores do Edge", "integration-templates": "Modelos de integração", - "edge-integration-templates": "Modelos de integração do edge", - "rulechains": "Cadeias de regras do edge", + "edge-integration-templates": "Modelos de integrações do Edge", + "rulechains": "Cadeias de regras do Edge", "integrations": "Integrações", "search": "Pesquisar edges", "selected-edges": "{ count, plural, =1 {1 edge} other {# edges} } selecionado(s)", "any-edge": "Qualquer edge", - "no-edge-types-matching": "Nenhum tipo de edge correspondente a '{{entitySubtype}}' foi encontrado.", - "edge-type-list-empty": "Nenhum tipo de edge selecionado.", - "edge-types": "Tipos de edge", - "enter-edge-type": "Inserir tipo do edge", + "no-edge-types-matching": "Nenhum tipo de Edge correspondente a '{{entitySubtype}}' foi encontrado.", + "edge-type-list-empty": "Nenhum tipo de Edge selecionado.", + "edge-types": "Tipos de Edge", + "enter-edge-type": "Insira o tipo de Edge", "deployed": "Implantado", "pending": "Pendente", "downlinks": "Downlinks", "no-downlinks-prompt": "Nenhum downlink encontrado", "sync-process-started-successfully": "Processo de sincronização iniciado com sucesso!", "missing-related-rule-chains-title": "O edge possui cadeia(s) de regras relacionada(s) ausente(s)", - "missing-related-rule-chains-text": "A(s) cadeia(s) de regras atribuída(s) ao edge utiliza(m) nós de regra que encaminham mensagem(s) para cadeia(s) de regras que não estão atribuídas a este edge.

    Lista de cadeia(s) de regras ausente(s):
    {{missingRuleChains}}", + "missing-related-rule-chains-text": "As cadeias de regras atribuídas ao Edge usam nós de regra que encaminham mensagem(ns) para cadeia(s) de regras que não estão atribuídas a este Edge.

    Lista de cadeias de regras ausentes:
    {{missingRuleChains}}", "widget-datasource-error": "Este widget suporta apenas a fonte de dados da entidade EDGE", - "assign-to-edge": "Atribuir ao edge", - "assign-to-edge-title": "Atribuir grupo(s) de entidades ao edge", - "manage-edge-user-groups": "Gerenciar grupos de usuários do edge", - "manage-edge-asset-groups": "Gerenciar grupos de ativos do edge", - "manage-edge-device-groups": "Gerenciar grupos de dispositivos do edge", - "manage-edge-entity-view-groups": "Gerenciar grupos de visualizações de entidade do edge", - "manage-edge-dashboard-groups": "Gerenciar grupos de dashboards do edge", - "manage-edge-rule-chains": "Gerenciar cadeias de regras do edge", - "manage-edge-integrations": "Gerenciar integrações do edge", - "manage-edge-scheduler-events": "Gerenciar eventos do agendador do edge", - "select-group-to-add": "Selecionar grupo de destino para adicionar os edges selecionados", - "select-group-to-move": "Selecionar grupo de destino para mover os edges selecionados", + "assign-to-edge": "Atribuir ao Edge", + "assign-to-edge-title": "Atribuir grupo(s) de entidades ao Edge", + "manage-edge-user-groups": "Gerenciar grupos de usuários do Edge", + "manage-edge-asset-groups": "Gerenciar grupos de ativos do Edge", + "manage-edge-device-groups": "Gerenciar grupos de dispositivos do Edge", + "manage-edge-entity-view-groups": "Gerenciar grupos de visualizações de entidade do Edge", + "manage-edge-dashboard-groups": "Gerenciar grupos de dashboards do Edge", + "manage-edge-rule-chains": "Gerenciar cadeias de regras do Edge", + "manage-edge-integrations": "Gerenciar integrações do Edge", + "manage-edge-scheduler-events": "Gerenciar eventos do agendador do Edge", + "select-group-to-add": "Selecione o grupo de destino para adicionar os Edges selecionados", + "select-group-to-move": "Selecione o grupo de destino para mover os Edges selecionados", "remove-edges-from-group": "Tem certeza de que deseja remover { count, plural, =1 {1 edge} other {# edges} } do grupo '{entityGroup}'?", - "group": "Grupo de edges", - "list-of-groups": "{ count, plural, =1 {Um grupo de edges} other {Lista de # grupos de edges} }", - "group-name-starts-with": "Grupos de edges cujos nomes começam com '{{prefix}}'", - "unassign-entity-group-from-edge-title": "Tem certeza de que deseja desatribuir o grupo de entidades '{{ entityGroupName }}'?", - "unassign-entity-group-from-edge-text": "Após a confirmação, o grupo de entidades será desatribuído e não estará mais acessível pelo edge.", - "unassign-entity-group-from-edge": "Desatribuir grupo de entidades do edge", - "unassign-entity-groups-from-edge-title": "Tem certeza de que deseja desatribuir {{count}} grupos de entidades?", - "unassign-entity-groups-from-edge-text": "Após a confirmação, os grupos de entidades serão desatribuídos e não estarão mais acessíveis pelo edge.", - "unassign-entity-groups-from-edge": "Desatribuir grupos de entidades do edge", - "unassign-scheduler-events-from-edge": "Desatribuir eventos do agendador do edge", - "unassign-scheduler-event-from-edge-title": "Tem certeza de que deseja desatribuir o evento do agendador '{{schedulerEventName}}'?", - "unassign-scheduler-event-from-edge-text": "Após a confirmação, o evento do agendador será desatribuído e não estará mais acessível pelo edge.", - "unassign-scheduler-events-from-edge-title": "Tem certeza de que deseja desatribuir { count, plural, =1 {1 evento do agendador} other {# eventos do agendador} }?", - "unassign-scheduler-events-from-edge-text": "Após a confirmação, todos os eventos do agendador selecionados serão desatribuídos e não estarão mais acessíveis pelo edge.", + "group": "Grupo de Edges", + "list-of-groups": "{ count, plural, =1 {Um grupo de Edges} other {Lista de # grupos de Edges} }", + "group-name-starts-with": "Grupos de Edges cujos nomes começam com '{{prefix}}'", + "unassign-entity-group-from-edge-title": "Tem certeza de que deseja cancelar a atribuição do grupo de entidades '{{ entityGroupName }}'?", + "unassign-entity-group-from-edge-text": "Após a confirmação, o grupo de entidades terá a atribuição cancelada e não ficará mais acessível para o Edge.", + "unassign-entity-group-from-edge": "Cancelar atribuição do grupo de entidades ao Edge", + "unassign-entity-groups-from-edge-title": "Tem certeza de que deseja cancelar a atribuição de {{count}} grupos de entidades?", + "unassign-entity-groups-from-edge-text": "Após a confirmação, os grupos de entidades terão a atribuição cancelada e não ficarão mais acessíveis para o Edge.", + "unassign-entity-groups-from-edge": "Cancelar atribuição de grupos de entidades ao Edge", + "unassign-scheduler-events-from-edge": "Cancelar atribuição de eventos do agendador ao Edge", + "unassign-scheduler-event-from-edge-title": "Tem certeza de que deseja cancelar a atribuição do evento do agendador '{{schedulerEventName}}'?", + "unassign-scheduler-event-from-edge-text": "Após a confirmação, o evento do agendador terá a atribuição cancelada e não ficará mais acessível para o Edge.", + "unassign-scheduler-events-from-edge-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 evento do agendador} other {# eventos do agendador} }?", + "unassign-scheduler-events-from-edge-text": "Após a confirmação, todos os eventos do agendador selecionados terão a atribuição cancelada e não ficarão mais acessíveis para o Edge.", "manage-user-groups": "Gerenciar grupos de usuários", "manage-asset-groups": "Gerenciar grupos de ativos", "manage-device-groups": "Gerenciar grupos de dispositivos", @@ -3473,19 +3607,658 @@ "manage-entity-view-groups": "Gerenciar grupos de visualizações de entidade", "manage-scheduler-events": "Gerenciar eventos do agendador", "manage-integrations": "Gerenciar integrações", - "assign-scheduler-event-to-edge-title": "Atribuir eventos do agendador ao edge", - "assign-scheduler-event-to-edge-text": "Selecione os eventos do agendador a serem atribuídos ao edge", - "assign-entity-groups-to-edge-text": "Selecione os grupos de entidades a serem atribuídos ao edge", - "assign-integration-to-edge-title": "Atribuir integrações ao edge", - "assign-integration-to-edge-text": "Selecione as integrações a serem atribuídas ao edge", + "assign-scheduler-event-to-edge-title": "Atribuir eventos do agendador ao Edge", + "assign-scheduler-event-to-edge-text": "Selecione os eventos do agendador a serem atribuídos ao Edge", + "assign-entity-groups-to-edge-text": "Selecione os grupos de entidades a serem atribuídos ao Edge", + "assign-integration-to-edge-title": "Atribuir integrações ao Edge", + "assign-integration-to-edge-text": "Selecione as integrações a serem atribuídas ao Edge", "missing-attributes-title": "O edge possui atributo(s) ausente(s)", - "missing-attributes-text": "A(s) integração(ões) atribuída(s) ao edge possui(em) espaços reservados de atributos que não estão disponíveis neste edge.

    Lista de atributo(s) do edge ausente(s):
    {{missingEdgeAttributes}}", + "missing-attributes-text": "As integrações atribuídas ao Edge têm placeholders de atributos que não estão disponíveis neste Edge.

    Lista de atributos ausentes do Edge:
    {{missingEdgeAttributes}}", "missing-all-related-attributes-title": "O(s) edge(s) possui(em) atributo(s) ausente(s)", - "missing-all-related-attributes-text": "O(s) edge(s) relacionado(s) à integração não possui(em) os atributos presentes na configuração da integração como espaços reservados de atributos.

    Lista de atributo(s) do edge ausente(s):
    {{missingEdgeAttributes}}", + "missing-all-related-attributes-text": "Os Edges relacionados à integração não têm atributos que estão presentes na configuração da integração como placeholders de atributos.

    Lista de atributos ausentes do Edge:
    {{missingEdgeAttributes}}", "quick-overview-widget-header": "Visão geral rápida de {{edgeName}}", "upgrade-instructions": "Instruções de atualização", + "managed-application": "Aplicação gerenciada", + "app-upgrade-available": "Atualização de versão disponível", "connected": "Conectado", - "disconnected": "Desconectado" + "disconnected": "Desconectado", + "auto-provision": "Provisionamento automático", + "auto-provision-title": "Provisionamento automático do Edge", + "auto-provision-subtitle": "Gere um comando Docker run — o Edge e seu Agent são criados automaticamente quando o comando é executado na máquina de destino.", + "auto-provision-step-select": "Perfil do Agent", + "auto-provision-step-script": "Script de provisionamento", + "auto-provision-agent-profile-label": "Perfil do Agent", + "auto-provision-agent-profile-placeholder": "Selecione ou crie um perfil do Agent", + "auto-provision-no-eligible-profiles": "Nenhum perfil elegível encontrado. Use o botão à direita para criar um.", + "auto-provision-create-profile": "Criar perfil", + "auto-provision-validating": "Validando perfil do Agent…", + "auto-provision-valid": "Pronto para provisionar — '{{profile}}' tem um perfil de aplicação do Edge atribuído.", + "auto-provision-invalid-strategy": "A estratégia de provisionamento deste perfil não instala aplicações automaticamente. Escolha um perfil com uma estratégia de instalação automática.", + "auto-provision-invalid-no-edge-app-profile": "Este perfil não tem um perfil de aplicação do Edge atribuído. Use o botão para atribuir um.", + "auto-provision-info-title": "Como funciona", + "auto-provision-info-body": "Depois que um perfil do Agent é criado, um comando Docker run é gerado. Quando executado em uma máquina de destino, o ThingsBoard cria automaticamente o Agent — e a entidade Edge vinculada a ele — usando as credenciais incorporadas no comando. O Edge é configurado automaticamente com base no perfil de aplicação atribuído ao perfil do Agent. Não é necessário criar o Edge manualmente.", + "auto-provision-success-message": "O perfil do Agent está pronto. Execute o comando em qualquer máquina de destino para provisionar um novo Edge.", + "auto-provision-script-hint": "Execute este comando em cada máquina que deve se tornar um Edge. Cada execução provisiona um par Agent + Edge.", + "auto-provision-open-profile": "Abrir perfil", + "auto-provision-no-script": "As credenciais de provisionamento estão ausentes neste perfil. Abra o perfil para gerá-las novamente." + }, + "agent": { + "agents": "Agents", + "agent-profiles": "Perfis do Agent", + "app-profiles": "Perfis de aplicação", + "templates": "Modelos", + "agent-templates": "Modelos do Agent", + "add": "Adicionar Agent", + "add-agent-text": "Adicionar novo Agent", + "auto-provision": "Provisionamento automático", + "auto-provision-title": "Provisionamento automático do Agent", + "auto-provision-step-select": "Perfil do Agent", + "auto-provision-step-script": "Script de provisionamento", + "auto-provision-valid": "Pronto para provisionar — '{{profile}}' tem o provisionamento habilitado.", + "auto-provision-info-title": "Como funciona", + "auto-provision-info-body": "Depois que um perfil do Agent é criado, um comando Docker run é gerado. Quando ele é executado em uma máquina de destino, o ThingsBoard cria automaticamente o Agent usando as credenciais incorporadas no comando. O Agent é configurado automaticamente com base no perfil do Agent. Não é necessário criar o Agent manualmente.", + "auto-provision-success-message": "O perfil do Agent está pronto. Execute o comando em qualquer máquina de destino para provisionar um novo Agent.", + "auto-provision-script-hint": "Execute este comando em cada máquina que deve executar um Agent. Cada execução provisiona um Agent.", + "add-profile": "Adicionar perfil do Agent", + "add-app-profile": "Adicionar perfil de aplicação", + "add-application": "Adicionar aplicação", + "agent-details": "Detalhes do Agent", + "profile-details": "Detalhes do perfil do Agent", + "app-profile-details": "Detalhes do perfil de aplicação", + "template-details": "Detalhes do modelo do Agent", + "application-details": "Detalhes da aplicação", + "no-agents-text": "Nenhum Agent encontrado", + "no-agent-profiles-text": "Nenhum perfil do Agent encontrado", + "no-app-profiles-text": "Nenhum perfil de aplicação encontrado", + "no-templates-text": "Nenhum modelo do Agent encontrado", + "no-applications-text": "Nenhuma aplicação encontrada", + "no-events-text": "Nenhum evento encontrado", + "search": "Pesquisar Agents", + "search-profiles": "Pesquisar perfis do Agent", + "search-app-profiles": "Pesquisar perfis de aplicação", + "search-templates": "Pesquisar modelos", + "search-applications": "Pesquisar aplicações", + "search-events": "Pesquisar eventos", + "selected-agents": "{ count, plural, =1 {1 Agent selecionado} other {# Agents selecionados} }", + "selected-agent-profiles": "{ count, plural, =1 {1 perfil do Agent selecionado} other {# perfis do Agent selecionados} }", + "selected-app-profiles": "{ count, plural, =1 {1 perfil de aplicação selecionado} other {# perfis de aplicação selecionados} }", + "selected-applications": "{ count, plural, =1 {1 aplicação selecionada} other {# aplicações selecionadas} }", + "name": "Nome", + "name-required": "O nome é obrigatório.", + "name-max-length": "O nome deve ter menos de 256 caracteres", + "routing-key": "Chave de roteamento", + "secret": "Segredo", + "description": "Descrição", + "profile-name": "Nome do perfil", + "profile-name-placeholder": "Agents de produção", + "profile-name-required": "O nome do perfil é obrigatório.", + "provision-type": "Tipo de provisionamento", + "provision-key": "Chave de provisionamento", + "provision-secret": "Segredo de provisionamento", + "app-type": "Tipo de aplicação", + "current-version": "Versão atual", + "next-version": "Próxima versão", + "assigned-to-customer": "Atribuído ao cliente", + "assign-to-customer": "Atribuir ao cliente", + "unassign-from-customer": "Cancelar atribuição ao cliente", + "assign-agents-to-customer": "Atribuir Agent(s) ao cliente", + "assign-to-customer-text": "Selecione o cliente ao qual atribuir o(s) Agent(s)", + "unassign-agents-from-customer": "Cancelar atribuição de Agent(s) ao cliente", + "delete": "Excluir Agent", + "delete-profile": "Excluir perfil", + "set-default-profile": "Definir perfil do Agent como padrão", + "set-default-profile-title": "Tem certeza de que deseja definir o perfil do Agent '{{profileName}}' como padrão?", + "set-default-profile-text": "Após a confirmação, o perfil do Agent será marcado como padrão e será usado para novos Agents sem perfil especificado.", + "default-profile": "Padrão", + "agent-profile-required": "O perfil do Agent é obrigatório.", + "edit-profile": "Editar perfil do Agent", + "no-agent-profiles-found": "Nenhum perfil do Agent encontrado", + "no-agent-profiles-matching": "Nenhum perfil do Agent correspondente a '{{entity}}' encontrado", + "create-new-agent-profile": "Criar novo perfil do Agent", + "add-profile-step-details": "Detalhes do perfil", + "add-profile-step-app-profiles": "Perfis de aplicação", + "add-profile-app-profiles-hint-title": "Por que atribuir perfis de aplicação?", + "add-profile-app-profiles-hint": "Os perfis de aplicação atribuídos orientam as operações em massa (atualização, atualização de versão, exclusão) nas aplicações que os referenciam — aplicações gerenciadas por Agents que usam o perfil '{{profileName}}'. Selecione perfis de aplicação existentes ou crie novos aqui mesmo.", + "application-profiles": "Perfis de aplicação", + "create-new-application-profile": "Criar novo perfil de aplicação", + "create-new": "Criar novo", + "delete-app-profile": "Excluir perfil de aplicação", + "copy-profile-id": "Copiar ID do perfil", + "profile-id-copied-message": "O ID do perfil foi copiado para a área de transferência", + "app-profile-wizard-title": "Criar perfil de aplicação", + "app-profile-wizard-edit-title": "Editar perfil de aplicação", + "app-update-current-config": "Configuração atual da aplicação", + "app-update-future-config": "Configuração futura da aplicação", + "app-update-edit-profile": "Editar perfil", + "app-update-compare-hint": "Comparação somente leitura entre a configuração atual desta aplicação (à esquerda) e a configuração que ela receberá do perfil atribuído, com as credenciais mescladas (à direita).", + "app-install-custom-config": "Avançado", + "app-install-from-profile": "Padrão", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "Um ThingsBoard Agent instala, atualiza a versão e monitora esta implantação remotamente a partir da nuvem — sem comandos manuais do Docker nem manutenção na máquina de destino.", + "deploy-select-agent-step": "Selecionar Agent", + "deploy-intro": "Implante em uma máquina remota usando um ThingsBoard Agent. Selecione um Agent existente em execução na máquina de destino ou crie um novo.", + "deploy-agent": "Agent", + "deploy-create-new": "Criar novo", + "deploy-no-agents": "Nenhum Agent encontrado", + "deploy-no-agents-matching": "Nenhum Agent corresponde a '{{entity}}'", + "deploy-already-managed": "Esta entidade já é gerenciada pela aplicação do Agent \"{{name}}\".", + "deploy-open-agent": "Ir para o Agent", + "deploy-open-app": "Ir para a aplicação do Agent", + "deploy-install-step": "Instalar", + "deploy-status-hero": "Um ThingsBoard Agent está instalando, atualizando a versão e monitorando esta implantação remotamente a partir da nuvem — sem comandos manuais do Docker nem manutenção na máquina de destino.", + "deploy-status-online-title": "Seu Agent está online", + "deploy-status-offline-title": "Seu Agent está offline", + "deploy-status-managing": "está gerenciando esta implantação. Não há mais nada para você fazer aqui.", + "deploy-status-managing-for": "gerencia esta implantação há {{duration}}. Não há mais nada para você fazer aqui.", + "deploy-status-offline-desc": "não está acessível no momento. A conexão será retomada automaticamente assim que o Agent se reconectar.", + "deploy-status-duration-days": "{{count}} dia(s)", + "deploy-status-duration-hours": "{{count}} hora(s)", + "deploy-status-duration-minutes": "{{count}} minuto(s)", + "deploy-status-healthy": "Saudável", + "deploy-status-unhealthy": "Offline", + "deploy-status-need-reinstall": "Precisa reinstalar?", + "deploy-status-show-install": "Mostrar comando de instalação", + "deploy-status-hide-install": "Ocultar", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "O dispositivo Agent que gerencia esta implantação — telemetria e ciclo de vida.", + "deploy-status-card-app-title": "Aplicação do Agent", + "deploy-status-card-app-desc": "A aplicação que este Agent está executando — serviços, status e logs.", + "deploy-status-card-events-title": "Eventos do Agent", + "deploy-status-card-events-desc": "Fluxo ao vivo de instalações, atualizações de versão, reinicializações e erros.", + "deploy-status-edge-ui-title": "Abrir a interface do ThingsBoard Edge", + "deploy-status-edge-ui-desc": "Depois que o serviço do Edge for iniciado, abra a interface web do Edge em http://localhost:8080 ou em http://localhost:18080, caso você tenha alterado a configuração da porta de bind HTTP na etapa anterior. Faça login com as credenciais do seu locatário no seu ThingsBoard Server local ou no ThingsBoard Cloud.", + "app-install-select-profile": "Perfil de aplicação", + "app-install-no-profiles": "Nenhum perfil de aplicação encontrado", + "app-install-virtual-profile-badge": "Predefinido", + "app-install-virtual-profile-hint": "Este perfil ainda não existe. Ele será criado automaticamente a partir do modelo quando você selecioná-lo.", + "app-install-profile-materialize-failed": "Falha ao criar o perfil de aplicação predefinido.", + "quick-start-title": "Início rápido — perfis predefinidos", + "quick-start-subtitle": "Crie um perfil de Edge ou Gateway pronto para uso com um clique. Nenhuma configuração necessária.", + "quick-start-filter-all": "Todos", + "quick-start-all-created": "Todos os perfis predefinidos foram criados.", + "quick-start-no-match": "Nenhum perfil predefinido corresponde a este filtro.", + "quick-start-profile-created": "Perfil de aplicação \"{{profileName}}\" criado", + "add-profile-assignments-load-failed": "Falha ao carregar os perfis de aplicação atribuídos no momento. Ao salvar, as atribuições existentes serão mantidas sem alterações.", + "app-profile-wizard-cta": "Criar perfil", + "app-profile-wizard-confirm-info": "O perfil de aplicação será criado com o modelo e a configuração compose selecionados. Você pode modificá-lo depois na página de detalhes do perfil.", + "app-profile-name": "Nome do perfil", + "app-profile-name-placeholder-edge": "Perfil de aplicação Silo Edge", + "app-profile-name-placeholder-gateway": "Perfil de aplicação Silo Gateway", + "app-profile-name-placeholder-generic": "Perfil de aplicação Silo", + "app-profile-step-save": "Salvar perfil", + "app-profile-description": "Descrição", + "copy-id": "Copiar ID do Agent", + "copy-routing-key": "Copiar chave de roteamento", + "copy-secret": "Copiar segredo", + "copy-provision-key": "Copiar chave de provisionamento", + "copy-provision-secret": "Copiar segredo de provisionamento", + "id-copied-message": "O ID do Agent foi copiado para a área de transferência", + "routing-key-copied-message": "A chave de roteamento foi copiada para a área de transferência", + "secret-copied-message": "O segredo foi copiado para a área de transferência", + "provision-key-copied-message": "A chave de provisionamento foi copiada para a área de transferência", + "provision-secret-copied-message": "O segredo de provisionamento foi copiado para a área de transferência", + "delete-agent-title": "Tem certeza de que deseja excluir o Agent '{{agentName}}'?", + "delete-agent-text": "Cuidado: após a confirmação, o Agent e todos os dados relacionados se tornarão irrecuperáveis.", + "delete-agents-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 Agent} other {# Agents} }?", + "delete-agents-text": "Cuidado, após a confirmação todos os Agents selecionados serão removidos e todos os dados relacionados se tornarão irrecuperáveis.", + "unassign-agent-title": "Tem certeza de que deseja cancelar a atribuição do Agent '{{agentName}}'?", + "unassign-agent-text": "Após a confirmação, a atribuição do Agent será cancelada e ele não estará acessível ao cliente.", + "unassign-agents-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 Agent} other {# Agents} }?", + "unassign-agents-text": "Após a confirmação, a atribuição de todos os Agents selecionados será cancelada e eles não estarão acessíveis ao cliente.", + "delete-profile-title": "Tem certeza de que deseja excluir o perfil '{{profileName}}'?", + "delete-profile-text": "Cuidado, após a confirmação o perfil e todos os dados relacionados se tornarão irrecuperáveis.", + "delete-profiles-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 perfil} other {# perfis} }?", + "delete-profiles-text": "Cuidado, após a confirmação todos os perfis selecionados serão removidos e todos os dados relacionados se tornarão irrecuperáveis.", + "delete-app-profile-title": "Tem certeza de que deseja excluir o perfil de aplicação '{{profileName}}'?", + "delete-app-profile-text": "Cuidado, após a confirmação o perfil de aplicação e todos os dados relacionados se tornarão irrecuperáveis.", + "delete-app-profiles-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 perfil de aplicação} other {# perfis de aplicação} }?", + "delete-app-profiles-text": "Cuidado, após a confirmação todos os perfis de aplicação selecionados serão removidos e todos os dados relacionados se tornarão irrecuperáveis.", + "status": "Status", + "online": "Online", + "offline": "Offline", + "app-errors": "Erros", + "app-errors-recent": "Últimos eventos de erro ({{count}}):", + "app-errors-open-events": "Clique para abrir a aba de eventos", + "online-hint": "O Agent está conectado à plataforma no momento", + "offline-hint": "O Agent não está conectado à plataforma", + "agent-profile": "Perfil do Agent", + "no-profile": "Sem perfil", + "applications": "Aplicações", + "manage-applications": "Gerenciar aplicações", + "app-name": "Nome", + "app-template": "Modelo", + "app-units": "Unidades", + "app-origin": "Origem", + "app-profile-in-sync": "Sincronizado com o perfil de aplicação", + "app-profile-in-sync-yes": "Sincronizado com o perfil de aplicação", + "app-profile-in-sync-no": "Não sincronizado com o perfil de aplicação", + "app-profile-in-sync-na": "Nenhum perfil de aplicação atribuído", + "app-upgrade-to": "Atualizar para a versão {{version}}", + "app-restart": "Reiniciar", + "app-upgrade": "Atualizar versão", + "app-delete": "Excluir", + "app-update": "Atualizar", + "app-update-title": "Atualizar {{name}}?", + "app-update-text": "Envie a configuração salva para o Agent. O Agent fará a reimplantação usando o compose salvo mais recente.", + "app-version-upgrade-available-title": "Atualização de versão disponível", + "app-version-mismatch-title": "Incompatibilidade de versão do modelo", + "app-assign-upgrade-available-text": "O perfil '{{profileName}}' está na versão {{profileVersion}} do modelo, enquanto esta aplicação está na {{appVersion}}. Uma atualização de versão para {{profileVersion}} está disponível para esta aplicação. Atribuir o perfil diretamente mudará a aplicação para {{profileVersion}} sem executar as etapas de atualização de versão (por exemplo, scripts de atualização do banco de dados). Use a ação Atualizar versão para mudar de versão com segurança.", + "app-assign-version-mismatch-text": "O perfil '{{profileName}}' usa a versão {{profileVersion}} do modelo, mas esta aplicação está na versão {{appVersion}}. Atribuí-lo mudará a aplicação para {{profileVersion}} sem executar nenhuma etapa de atualização de versão ou reversão de versão e pode deixá-la em um estado inconsistente. Use a ação Atualizar versão para mudar de versão com segurança.", + "app-assign-anyway": "Atribuir mesmo assim", + "app-assign-upgrade-first": "Atualizar versão primeiro", + "app-update-drift-title": "A versão do perfil atribuído é diferente", + "app-update-drift-text": "O perfil atribuído '{{profileName}}' está na versão do modelo {{profileVersion}}, enquanto esta aplicação está na {{appVersion}}. A ação Atualizar reimplantará a aplicação com sua configuração atual — a configuração do perfil não será aplicada. Use a ação Atualizar versão para migrar para a {{profileVersion}}.", + "app-update-anyway": "Atualizar mesmo assim", + "app-profile-drifted-hint": "O perfil está na versão {{version}} do modelo. A ação «Atualizar» não aplica essa versão — use «Atualizar versão».", + "app-arguments-profile-managed-hint": "Os argumentos personalizados são gerenciados pelo perfil de aplicação atribuído. Edite-os na página do perfil.", + "app-current-version": "Versão atual", + "app-profile-version": "Versão do perfil", + "app-name-required": "O nome da aplicação é obrigatório.", + "app-compose": "Configuração do Docker Compose", + "arguments": "Argumentos personalizados", + "arguments-hint-prefix": "Placeholders resolvidos no momento da implantação. Referencie-os no compose como", + "arguments-empty": "Nenhum argumento personalizado definido.", + "arguments-empty-read-title": "Nenhum argumento personalizado definido", + "arguments-empty-read-hint": "O compose é implantado com os valores originais, sem substituições.", + "arguments-empty-write-title": "Ainda não há argumentos personalizados", + "arguments-empty-write-hint": "Adicione um placeholder para injetar um atributo ou valor de telemetria da entidade no compose no momento da implantação.", + "argument-settings": "Configurações do argumento", + "argument-add": "Adicionar argumento", + "argument-remove": "Remover argumento", + "argument-name": "Nome", + "argument-name-required": "O nome do argumento é obrigatório.", + "argument-name-pattern": "Somente letras, dígitos e sublinhados são permitidos.", + "argument-name-duplicate": "Nome de argumento já utilizado.", + "argument-referenced-as": "Referencie-o na configuração do Docker Compose como", + "argument-source": "Tipo de fonte", + "argument-target-entity": "Entidade de destino", + "argument-source-agent": "Agent", + "argument-source-owner": "Proprietário", + "argument-source-related-entity": "Entidade relacionada", + "argument-source-tenant": "Locatário atual", + "argument-source-device": "Dispositivo", + "argument-source-asset": "Ativo", + "argument-source-customer": "Cliente", + "argument-source-edge": "Edge", + "argument-source-entity-device": "Dispositivo", + "argument-source-entity-asset": "Ativo", + "argument-source-entity-customer": "Cliente", + "argument-source-entity-edge": "Edge", + "argument-value-type": "Tipo de valor", + "argument-value-type-attribute": "Atributo", + "argument-value-type-latest-telemetry": "Telemetria mais recente", + "argument-scope": "Escopo do atributo", + "argument-type-server-attribute": "Atributo do servidor", + "argument-type-shared-attribute": "Atributo compartilhado", + "argument-type-client-attribute": "Atributo do cliente", + "argument-key": "Chave", + "argument-attribute-key": "Chave do atributo", + "argument-telemetry-key": "Chave da telemetria mais recente", + "argument-key-required": "A chave é obrigatória.", + "argument-default-value": "Valor padrão", + "argument-format": "Formato do valor", + "argument-format-string": "Texto", + "argument-format-json": "JSON", + "argument-format-hint-json": "\"JSON\" insere arrays/objetos/números como estão, mas somente quando o placeholder é o valor inteiro.", + "argument-format-hint-embedded": "Se o placeholder estiver incorporado em uma string, esta opção será ignorada e o valor será sempre inserido como texto entre aspas.", + "argument-format-hint-text": "\"Texto\" sempre insere uma string entre aspas.", + "app-compose-creds-overridden-hint": "Os campos de credenciais no compose são gerenciados pela entidade vinculada e serão substituídos ao salvar. Para alterá-los, reatribua a entidade.", + "app-profile-compose-creds-hint": "Os campos de credenciais no compose são gerenciados pela entidade vinculada e serão substituídos ao salvar. Para alterá-los, atribua a entidade ao criar/editar a aplicação.", + "app-related-entity": "Entidade relacionada", + "app-related-entity-none": "Nenhuma entidade correspondente encontrada", + "app-related-entity-none-create": "Nenhuma entidade correspondente encontrada. Use o botão 'Criar novo' para criar uma.", + "app-related-entity-required": "A entidade relacionada é obrigatória para aplicações Edge e Gateway.", + "app-step-applied-stage-hint": "As alterações feitas aqui são aplicadas durante a etapa '{{stage}}' no Agent.", + "app-restart-title": "Reiniciar {{name}}?", + "app-restart-text": "O Agent executará novamente as etapas de inicialização da aplicação. Os dados e a configuração existentes são preservados.", + "app-assign-compare-title": "Atribuir perfil de aplicação", + "app-assign-compare-hint": "Atribuir o perfil '{{profileName}}' substituirá a configuração do compose de '{{appName}}'. Revise as alterações acima e confirme.", + "app-assign-compare-cta": "Atribuir perfil", + "app-upgrade-title": "Atualizar versão da aplicação", + "app-upgrade-step1": "Revisar alterações", + "app-upgrade-step2": "Configurar e confirmar", + "app-upgrade-heading": "Atualizando a versão de {{name}}: {{from}} → {{to}}", + "app-upgrade-template-new": "Modelo ({{version}}) — novo", + "app-upgrade-current": "Seu compose (atual, com a nova imagem mesclada automaticamente)", + "app-upgrade-diff-hint": "Comparação lado a lado: o painel esquerdo mostra o novo modelo original, e o painel direito mostra seu compose atual com a nova imagem mesclada automaticamente. Revise as diferenças antes de continuar.", + "app-upgrade-steps-list": "Etapas de atualização de versão que serão executadas:", + "app-upgrade-backup-volumes-hint": "Selecione os volumes que terão backup antes da atualização de versão. Os backups permitem a reversão automática se a atualização de versão falhar.", + "app-upgrade-no-volumes": "Nenhum volume detectado na configuração do compose.", + "app-upgrade-summary-versions": "Atualização de versão", + "app-upgrade-summary-volumes-label": "Volumes para backup", + "app-upgrade-summary-volumes": "{ count, plural, =1 {1 selecionado} other {# selecionados} }", + "app-upgrade-rollback-info": "Se alguma etapa falhar, o Agent reverterá automaticamente para a versão anterior usando os volumes com backup.", + "app-upgrade-cta": "Atualizar versão", + "app-upgrade-loading": "Carregando modelo…", + "app-upgrade-no-template": "A aplicação não tem um modelo definido; não é possível atualizar a versão.", + "app-upgrade-no-next-version": "Nenhuma versão mais recente do modelo está disponível.", + "app-upgrade-load-failed": "Falha ao carregar o modelo de atualização de versão.", + "app-upgrade-merge-failed": "Falha ao calcular a pré-visualização da atualização de versão.", + "app-compose-invalid-yaml": "A configuração do Docker Compose não é um YAML válido. Corrija-a antes de salvar.", + "app-profile-saved-title": "Perfil de aplicação salvo", + "app-profile-saved-propagation-text": "As aplicações já atribuídas a este perfil não foram atualizadas automaticamente. Para aplicar as alterações, execute uma atualização ou atualização de versão em massa na página do perfil do Agent ou atualize cada aplicação individualmente na página dele.", + "app-upgrade-profile-step": "Atualizar versão do perfil", + "app-upgrade-profile-loading": "Carregando perfil…", + "app-upgrade-profile-name": "Perfil", + "app-upgrade-profile-current": "Compose do perfil (atual com a nova imagem mesclada automaticamente)", + "app-upgrade-profile-hint": "Esta aplicação está vinculada a um perfil que ainda aponta para a versão anterior do modelo. Atualize primeiro a versão do perfil para que a aplicação possa adotar a nova configuração.", + "app-upgrade-profile-cta": "Atualizar versão do perfil", + "app-profile-load-failed": "Falha ao carregar o perfil de aplicação.", + "app-install-title": "Instalar aplicação", + "app-install-on-agent": "no Agent {{name}}", + "app-install-pick-type": "Escolha o que você deseja implantar neste Agent.", + "app-install-step1": "Selecionar tipo", + "app-install-step3": "Revisar e personalizar", + "app-install-step4": "Salvar aplicação", + "app-install-type-generic": "Genérico", + "app-install-type-generic-desc": "Implante qualquer aplicação Docker Compose", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "Implante o ThingsBoard Edge", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "Implante o ThingsBoard Gateway", + "app-install-name": "Nome da aplicação", + "app-install-yaml": "Configuração do Docker Compose", + "app-compose-template-select": "Modelo do compose", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "Híbrido", + "compose-type-in-memory": "Em memória", + "app-install-diff-template": "Modelo — somente leitura", + "app-install-diff-editable": "Seu compose — editável, será salvo", + "app-install-diff-hint": "O painel esquerdo mostra o compose bruto do modelo. Edite o painel direito para ajustá-lo; somente o lado direito é salvo.", + "app-diff-sync-scroll": "Sincronizar rolagem entre os painéis", + "app-diff-read-only": "Somente leitura", + "app-install-cred-title": "Credenciais", + "app-install-cred-hint": "Somente estes campos podem ser editados ao usar um perfil. Eles são gravados de volta na pré-visualização do compose abaixo.", + "app-install-cred-routing-key": "Chave de roteamento", + "app-install-cred-routing-secret": "Segredo de roteamento", + "app-install-cred-security-type": "Tipo de segurança", + "app-install-cred-security-access-token": "Token de acesso", + "app-install-cred-security-username-password": "Nome de usuário / senha", + "app-install-cred-access-token": "Token de acesso", + "app-install-cred-client-id": "Client ID", + "app-install-cred-username": "Nome de usuário", + "app-install-cred-password": "Senha", + "app-install-pull-images": "Baixar imagens antes de iniciar", + "app-image-pull-policy-if-not-present": "Se não estiver presente", + "app-image-pull-policy-always": "Sempre", + "app-install-cta": "Salvar", + "app-update-wizard-title": "Atualizar aplicação", + "app-update-cta": "Atualizar", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "Proposto (mesclado com o modelo) — somente leitura", + "app-update-diff-current": "Compose atual — editável, será salvo", + "app-update-diff-hint": "Revise as alterações propostas à esquerda. Use as setas entre os painéis para mesclar os trechos selecionados no compose atual à direita. Somente o lado direito é salvo.", + "app-update-cred-hint": "Aplicações gerenciadas por perfil exibem aqui apenas os campos de credenciais. Outras alterações no compose são feitas pelo perfil.", + "app-profile-outdated-hint": "A configuração do perfil está desatualizada. Use «Atualizar» para buscá-la novamente.", + "app-project-name": "Nome do projeto", + "app-update-skip-profile-refetch": "Não buscar novamente a configuração do perfil", + "app-update-skip-profile-refetch-hint": "Quando marcado, a aplicação do Agent mantém o compose atual e apenas os valores de credenciais acima são aplicados. Use para rotacionar credenciais ou — com a política de pull acima definida como Sempre — para baixar novamente as imagens mais recentes, sem aplicar a configuração mais recente do perfil.", + "app-update-skip-profile-refetch-drift-hint": "O perfil atribuído está na versão {{version}} do modelo — «Atualizar» não aplicará a configuração dele. A aplicação mantém o compose atual; apenas os valores de credenciais acima são aplicados. Use «Atualizar versão» para mudar de versão.", + "app-install-confirm-info": "O Agent fará o download e iniciará os contêineres. Você pode acompanhar o progresso na aba Eventos.", + "app-install-loading-template": "Carregando modelo…", + "app-install-template-failed": "Falha ao carregar o modelo da aplicação.", + "app-install-merge-failed": "Falha ao calcular a pré-visualização mesclada.", + "app-delete-title-header": "Excluir aplicação", + "app-delete-warning": "Tem certeza de que deseja excluir '{{name}}'? Isso vai interromper e remover todos os contêineres na máquina remota.", + "app-delete-remove-volumes": "Remover também os volumes", + "app-delete-remove-volumes-hint": "Atenção: isso exclui permanentemente todos os dados armazenados nos volumes da aplicação.", + "app-delete-no-volumes": "Nenhum volume detectado na configuração do compose.", + "app-delete-cta": "Excluir", + "agents-count": "Agents", + "profiles-count": "Perfis", + "template": "Modelo", + "previous-version": "Versão anterior", + "config-type": "Tipo de configuração", + "install-instructions": "Instruções de instalação", + "install-instructions-hint": "Execute o seguinte comando na máquina de destino para iniciar o Agent. O Agent se conectará ao servidor ThingsBoard e aparecerá como Online.", + "install-instructions-replace-hint": "O Agent aparecerá como Online na lista de Agents assim que estiver conectado.", + "install-step-docker": "Certifique-se de que o Docker esteja instalado na máquina de destino", + "install-step-run": "Execute o contêiner do Agent", + "install-command-copied-message": "O comando de instalação foi copiado para a área de transferência", + "agent-credentials": "Credenciais do Agent", + "agent-created-successfully": "Agent criado com sucesso", + "go-to-agent": "Ir para o Agent", + "app-type-generic": "Genérico", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "Configuração", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "Perfil de aplicação mais recente do Edge", + "preset-gateway-description": "Perfil de aplicação mais recente do Gateway", + "preset-edge-gateway-description": "Ambos os perfis de aplicação mais recentes", + "preset-name-edge": "Perfil do Agent do Edge", + "preset-name-gateway": "Perfil do Agent do Gateway", + "preset-name-edge-gateway": "Perfil do Agent do Edge + Gateway", + "preset-advanced": "Avançado", + "preset-advanced-description": "Defina uma estratégia de provisionamento e selecione ou crie perfis de aplicação", + "preset-advanced-configure": "Configurar", + "preset-summary-title": "Predefinição: {{label}}", + "preset-summary-body": "Cria o perfil do Agent, atribui {{apps}} e define a estratégia de provisionamento \"uma aplicação por tipo\".", + "preset-summary-apps-two": "{{first}} e {{second}}", + "preset-templates-load-failed": "Falha ao carregar os modelos de aplicação mais recentes para: {{types}}. As predefinições que dependem deles estão desabilitadas.", + "app-type-required": "O tipo de aplicação é obrigatório.", + "provision-type-disabled": "Desabilitado", + "provision-type-no-auto-install": "Provisionar apenas os Agents", + "provision-type-per-app-type": "Uma aplicação por tipo", + "provision-type-per-app-profile": "Uma aplicação por perfil atribuído", + "provisioning-strategy": "Estratégia de provisionamento", + "provisioning-strategy-label": "Estratégia: {{strategy}}", + "provision-type-disabled-description": "O provisionamento de Agents está desabilitado. Selecione uma estratégia de provisionamento para habilitar o registro automático de Agents. Quando habilitado, os Agents podem se registrar automaticamente usando uma chave e um segredo de provisionamento compartilhados — sem necessidade de criar cada Agent manualmente.", + "provision-type-no-auto-install-description": "Quando um novo Agent é provisionado com este perfil, o servidor registra o Agent, mas não instala nenhuma aplicação automaticamente. Os perfis de aplicação atribuídos são ignorados durante o provisionamento — as aplicações podem ser instaladas no Agent manualmente.", + "provision-type-per-app-type-description": "Quando um novo Agent é provisionado com este perfil, o servidor cria aplicações automaticamente com base nos perfis de aplicação atribuídos. As aplicações Edge/Gateway são instaladas somente se o Agent ainda não tiver uma aplicação desse tipo (no máximo uma por tipo por Agent); para aplicações genéricas, a correspondência é feita por perfil (uma aplicação por perfil por Agent). Por exemplo, com dois perfis Edge e dois perfis genéricos atribuídos, o Agent recebe uma aplicação Edge e duas aplicações genéricas. Se um tipo de aplicação exigir uma entidade relacionada (por exemplo, Edge ou Gateway), o servidor tentará criá-la e atribuí-la.", + "provision-type-per-app-profile-description": "Quando um novo Agent é provisionado com este perfil, o servidor cria aplicações automaticamente com base nos perfis de aplicação atribuídos. Cada aplicação é instalada somente se o Agent ainda não tiver uma correspondente — para aplicações Edge/Gateway, a correspondência é feita por modelo ou pelo perfil de origem (uma por modelo por Agent); para aplicações genéricas, a correspondência é feita por perfil (uma aplicação por perfil por Agent). Por exemplo, com dois perfis Edge atribuídos, o Agent recebe duas aplicações Edge se os perfis forem baseados em modelos diferentes, mas apenas um se eles compartilharem o mesmo modelo. Se um tipo de aplicação exigir uma entidade relacionada (por exemplo, Edge ou Gateway), o servidor tentará criá-la e atribuí-la.", + "agent-profile-created": "Perfil do Agent criado", + "agent-profile-created-hint": "Execute este comando em cada máquina onde você deseja implantar um Agent. Cada Agent irá:", + "agent-profile-created-step-1": "Registrar-se automaticamente no servidor usando as credenciais de provisionamento", + "agent-profile-created-step-2": "Receber uma chave de roteamento e um segredo exclusivos para conexão persistente", + "agent-profile-created-step-3": "Instalar automaticamente as aplicações definidas nos perfis de aplicação atribuídos", + "provisioning-credentials": "Credenciais de provisionamento", + "provisioning": "Provisionamento do Agent", + "docker-run-command": "Comando Docker run", + "assigned-profiles": "Perfis de aplicação", + "assign-profile": "Atribuir perfil", + "unassign-profile": "Cancelar atribuição do perfil", + "no-profiles-assigned": "Nenhum perfil de aplicação atribuído a este perfil ainda.", + "go-to-profile": "Ir para o perfil", + "profiles-bulk-hint": "Esta ação em massa se aplica a todas as aplicações correspondentes ao perfil \"{{appProfile}}\" cujo Agent usa o perfil \"{{agentProfile}}\"", + "auto-install-template-dedup-note": "A estratégia de provisionamento deste perfil do Agent habilita a instalação automática. Quando um Agent é provisionado automaticamente, cada perfil abaixo é instalado somente se o Agent ainda não tiver uma aplicação correspondente. Para perfis Edge/Gateway, a correspondência é feita por modelo ou pelo perfil de origem (uma por modelo por Agent); para perfis genéricos, a correspondência é feita por perfil (uma aplicação por perfil por Agent).", + "auto-install-per-type-note": "A estratégia de provisionamento deste perfil do Agent habilita a instalação automática. Quando um Agent é provisionado automaticamente, os perfis Edge/Gateway abaixo são instalados somente se o Agent ainda não tiver uma aplicação desse tipo (no máximo uma por tipo por Agent); para perfis genéricos, a correspondência é feita por perfil (uma aplicação por perfil por Agent).", + "app-profile": "Perfil de aplicação", + "no-profiles-available": "Não há mais perfis disponíveis para atribuir.", + "unassign-profile-confirm": "Tem certeza de que deseja cancelar a atribuição do perfil de aplicação '{{profile}}' a este perfil do Agent?", + "relate-on-auto-discovery": "Relacionar na descoberta automática", + "relate-on-auto-discovery-tooltip": "Atribuir este perfil de aplicação a todas as novas aplicações descobertas automaticamente com imagens Edge/Gateway correspondentes.", + "relate-on-auto-discovery-confirm-title": "Tem certeza de que deseja continuar?", + "relate-on-auto-discovery-enable-confirm": "Novas aplicações descobertas automaticamente com uma imagem Edge/Gateway correspondente ao modelo de '{{profile}}' receberão automaticamente este perfil de aplicação. Em caso de divergência de configuração, a configuração do perfil (compose) substituirá a configuração descoberta automaticamente da aplicação (compose).", + "relate-on-auto-discovery-disable-confirm": "Novas aplicações descobertas automaticamente correspondentes ao modelo de '{{profile}}' não receberão mais automaticamente este perfil de aplicação. As atribuições existentes não são afetadas.", + "provisioning-saved": "Configurações de provisionamento salvas", + "bulk-actions": "Ações em massa", + "assigned-applications": "Aplicações atribuídas", + "application-profiles-and-bulk-actions": "Perfis de aplicação e ações em massa", + "recent-bulk-actions": "Ações em massa recentes", + "no-recent-bulk-actions": "Ainda não há ações em massa para este perfil de aplicação.", + "executions": "Execuções", + "view-bulk-action-details": "Abrir todos os detalhes", + "agents-reporting-success": "{{ok}}/{{total}} Agents relatando sucesso", + "bulk-action-type": "Ação", + "bulk-action-status": "Status", + "bulk-action-counts": "Enviado", + "bulk-action-error": "Erro", + "bulk-action-details": "Detalhes da ação em massa", + "bulk-restart": "Reinicialização em massa", + "bulk-update": "Atualização em massa", + "bulk-upgrade": "Atualização de versão em massa", + "bulk-delete": "Exclusão em massa", + "bulk-restart-title": "Reinicialização em massa — {{profile}}", + "bulk-update-title": "Atualização em massa — {{profile}}", + "bulk-upgrade-title": "Atualização de versão em massa — {{profile}}", + "bulk-delete-title": "Exclusão em massa — {{profile}}", + "bulk-action-title": "Ação em massa", + "bulk-restart-cta": "Reiniciar todos", + "bulk-update-cta": "Atualizar todos", + "bulk-upgrade-cta": "Atualizar a versão de todos", + "bulk-delete-cta": "Excluir todos", + "bulk-preview": "Pré-visualização", + "bulk-preview-total": "Total de aplicações", + "bulk-preview-eligible": "Elegíveis", + "bulk-preview-skipped": "Ignorados", + "bulk-skipped-version-mismatch": "Ignorado — versão do modelo incompatível", + "bulk-skipped-active-event": "Ignorado — outra operação já está em execução", + "bulk-skipped-rate-limit": "Ignorado — limite de taxa de eventos excedido", + "bulk-skipped-error": "Ignorado — erro ao avaliar a aplicação", + "bulk-skipped-more": "…e mais {{count}} — veja os detalhes da execução", + "bulk-no-eligible": "Nenhuma aplicação é elegível para esta operação.", + "bulk-backup-volumes-hint": "Selecione os volumes para backup antes de atualizar a versão. As entradas se aplicam a todas as aplicações elegíveis.", + "bulk-no-volumes-in-profile": "O compose do perfil não tem volumes.", + "bulk-submitted": "Enviado", + "bulk-skipped": "Ignorado", + "bulk-processing-started": "Processamento iniciado", + "bulk-events": "Eventos", + "bulk-event-current-step": "Etapa atual", + "bulk-event-updated": "Atualizado", + "bulk-event-filter-status": "Status", + "bulk-event-filter-all": "Todos", + "bulk-no-events": "Nenhum evento encontrado para esta ação em massa.", + "no-bulk-actions": "Nenhuma ação em massa ainda.", + "origin-installed": "Instalado", + "origin-discovered": "Descoberto", + "origin-auto-provisioned": "Provisionado automaticamente", + "event-action-install": "Instalação", + "event-action-update": "Atualização", + "event-action-delete": "Exclusão", + "event-action-restart": "Reinicialização", + "event-action-rollback": "Reversão", + "event-action-upgrade": "Atualização de versão", + "event-action-agent-upgrade": "Atualização de versão do Agent", + "event-status-pending": "Pendente", + "event-status-queued": "Na fila", + "event-status-processing": "Processando", + "event-status-finished": "Concluído", + "event-status-error": "Erro", + "event-status-start-failed": "Falha ao iniciar", + "bulk-status-queued": "Na fila", + "bulk-status-in-progress": "Em andamento", + "bulk-status-started": "Iniciado", + "bulk-status-start-failed": "Falha ao iniciar", + "unit-type-container": "Contêiner", + "unit-type-volume": "Volume", + "unit-type-network": "Rede", + "app-events": "Eventos", + "app-metrics": "Métricas", + "app-copy-id": "Copiar ID da aplicação", + "app-id-copied-message": "O ID da aplicação foi copiado para a área de transferência", + "app-upgrade-available": "Atualização de versão disponível: {{version}}", + "app-unit-identifier": "Identificador", + "app-unit-image": "Imagem", + "app-unit-state": "Estado", + "app-unit-filter": "Filtro de unidades", + "app-unit-filter-with-values": "Filtro: {{values}}", + "app-unit-logs": "Logs do contêiner", + "app-unit-view-logs": "Ver logs do contêiner", + "filter-all-count": "Todos ({{count}})", + "filter-errors-count": "Erros ({{count}})", + "filter-running-count": "Em execução ({{count}})", + "log-agent-offline-paused": "Agent offline · fluxo pausado", + "log-agent-online": "Agent online", + "log-back-to-application": "Voltar à aplicação", + "log-buffered": "+ {{count}} em buffer", + "log-chip-app": "Aplicação", + "log-clear": "Limpar log", + "log-clear-highlight": "Limpar destaque", + "log-copy-all": "Copiar tudo", + "log-copy-all-lines": "Copiar todas as linhas do log", + "log-download": "Baixar log", + "log-dropped": "{{count}} descartadas", + "log-dropped-hint": "Linhas de log que o Agent descartou antes de chegarem a este visualizador", + "log-dropped-total": "Total de linhas descartadas", + "log-follow-latest": "Acompanhar o mais recente", + "log-gap": "{ count, plural, =1 {1 bloco de log descartado} other {# blocos de log descartados} } (limite do buffer atingido)", + "log-highlight": "Destacar…", + "log-highlight-lines": "Destacar linhas do log", + "log-jump-to-latest": "Ir para o mais recente", + "log-lines-unit": "{ count, plural, =1 {linha} other {linhas} }", + "log-live": "Ao vivo", + "log-pause-resume-stream": "Pausar ou retomar o fluxo", + "log-pause-stream": "Pausar fluxo", + "log-paused": "Pausado", + "log-resume-stream": "Retomar fluxo", + "log-stream-paused": "Fluxo pausado", + "log-waiting": "Aguardando linhas de log…", + "metrics-all-containers": "Todos os contêineres", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{percent}}% de {{cores}} núcleos (limite {{cap}}%)", + "metrics-disk": "Disco", + "metrics-memory": "Memória", + "metrics-show-charts": "Mostrar gráficos", + "metrics-updated-at": "Atualizado às {{time}}", + "metrics-used-of-total": "{{used}} de {{total}} ({{percent}}%)", + "metrics-volumes": "Volumes", + "stats-done": "Concluídos: {{count}}", + "stats-error": "Erros: {{count}}", + "stats-pending": "Pendentes: {{count}}", + "stats-running": "Em execução: {{count}}", + "app-no-units": "Nenhuma unidade encontrada.", + "app-no-events": "Nenhum evento encontrado.", + "app-event-app-name": "Aplicação", + "app-event-agent-name": "Agent", + "app-event-action": "Ação", + "app-event-status": "Status de execução", + "app-event-execution": "Execução", + "app-event-execution-not-started": "Não iniciado", + "app-event-execution-started": "Iniciado", + "app-event-execution-delivery-failed": "Falha na entrega", + "app-event-filter": "Filtro de eventos", + "app-event-filter-with-values": "Filtro: {{values}}", + "app-event-current-activity": "Atividade atual", + "app-event-show-error": "Mostrar erro", + "app-event-error-title": "Erro do evento", + "upgrade-agent-action": "Atualizar versão do Agent", + "image": "Imagem", + "version-unknown": "não informada", + "up-to-date": "Atualizado", + "upgrade-to": "Atualizar para a versão {{version}}", + "upgrade-agent-title": "Atualizar versão do Agent", + "upgrade-agent-text": "O Agent {{agentName}} substituirá o próprio contêiner pela imagem abaixo. Ele permanece acessível durante todo o processo, e os comandos da aplicação ficam pausados até que a atualização seja concluída.", + "upgrade-agent-hint": "Uma imagem mais recente do Agent foi publicada", + "upgrade-agent-hint-unavailable": "Nenhuma imagem mais recente do Agent é conhecida — o Agent pode já estar atualizado ou não foi possível determinar a versão dele", + "upgrade-current-image": "Imagem atual", + "upgrade-target-image": "Imagem de destino", + "upgrade-target-image-hint": "Uma tag ou uma referência fixada por digest, por exemplo, thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "A imagem de destino é obrigatória.", + "agent-upgrade-subject": "Atualização de versão do Agent", + "agent-upgrade-subject-label": "Ação", + "agent-upgrade-step-prepare": "Preparar o contêiner substituto", + "agent-upgrade-step-finalize": "Transferir o controle e remover o contêiner anterior", + "app-event-progress-title": "Progresso do evento", + "app-event-progress-loading": "Carregando modelo...", + "app-event-progress-load-failed": "Falha ao carregar o progresso do evento.", + "app-event-progress-no-template": "Nenhum modelo vinculado a esta aplicação.", + "app-event-step-completed": "Concluído", + "app-event-step-processing": "Processando", + "app-event-step-error": "Falhou", + "app-event-step-waiting": "Aguardando", + "app-event-current-step": "Etapa atual", + "app-event-created": "Criado", + "app-event-updated": "Atualizado", + "app-event-cancel": "Cancelar", + "app-event-cancel-title": "Cancelar evento?", + "app-event-cancel-text": "O evento em andamento será cancelado no Agent.", + "app-event-view-in-events": "Ver em eventos", + "app-save-update-hint-title": "Alterações salvas", + "app-save-update-hint": "As alterações foram salvas no ThingsBoard, mas o Agent ainda está executando a configuração anterior. Clique no botão de ação 'Atualizar' desta aplicação para aplicar as alterações no Agent.", + "app-save-update-hint-action": "Atualizar agora", + "app-deleted": "Aplicação excluída", + "group": "Grupo de Agents", + "list-of-groups": "{ count, plural, =1 {Um grupo de Agents} other {Lista de # grupos de Agents} }", + "group-name-starts-with": "Grupos de Agents cujos nomes começam com '{{prefix}}'", + "application-group": "Grupo de aplicações", + "list-of-application-groups": "{ count, plural, =1 {Um grupo de aplicações} other {Lista de # grupos de aplicações} }", + "application-group-name-starts-with": "Grupos de aplicações cujos nomes começam com '{{prefix}}'", + "all": "Todos", + "all-agents": "Todos os Agents", + "groups": "Grupos", + "shared": "Compartilhado" }, "edge-event": { "type-dashboard": "Dashboard", @@ -3500,8 +4273,8 @@ "type-rule-chain-metadata": "Metadados da cadeia de regras", "type-edge": "Edge", "type-user": "Usuário", - "type-tenant": "Tenant", - "type-tenant-profile": "Perfil do tenant", + "type-tenant": "Locatário", + "type-tenant-profile": "Perfil do locatário", "type-customer": "Cliente", "type-relation": "Relação", "type-widgets-bundle": "Conjunto de widgets", @@ -3526,16 +4299,16 @@ "action-type-timeseries-updated": "Séries temporais atualizadas", "action-type-credentials-updated": "Credenciais atualizadas", "action-type-assigned-to-customer": "Atribuído ao cliente", - "action-type-unassigned-from-customer": "Desatribuído do cliente", + "action-type-unassigned-from-customer": "Atribuição ao cliente cancelada", "action-type-relation-add-or-update": "Adição ou atualização de relação", "action-type-relation-deleted": "Relação excluída", "action-type-rpc-call": "Chamada RPC", "action-type-alarm-ack": "Confirmação de alarme", - "action-type-alarm-clear": "Limpeza de alarme", + "action-type-alarm-clear": "Alarme resolvido", "action-type-alarm-assigned": "Alarme atribuído", - "action-type-alarm-unassigned": "Alarme desatribuído", - "action-type-assigned-to-edge": "Atribuído ao edge", - "action-type-unassigned-from-edge": "Desatribuído do edge", + "action-type-alarm-unassigned": "Atribuição do alarme cancelada", + "action-type-assigned-to-edge": "Atribuído ao Edge", + "action-type-unassigned-from-edge": "Atribuição ao Edge cancelada", "action-type-credentials-request": "Solicitação de credenciais", "action-type-entity-merge-request": "Solicitação de mesclagem de entidade", "action-type-added-to-entity-group": "Adicionado ao grupo de entidades", @@ -3545,6 +4318,7 @@ "disconnected": "Desconectado" }, "error": { + "data-export-failed": "Falha na exportação de dados: não foi possível determinar o modo de implantação. Tente novamente.", "unable-to-connect": "Não foi possível conectar ao servidor! Verifique sua conexão com a internet.", "unhandled-error-code": "Código de erro não tratado: {{errorCode}}", "unknown-error": "Erro desconhecido" @@ -3552,6 +4326,8 @@ "entity": { "entity": "Entidade", "entities": "Entidades", + "devices-and-assets": "Dispositivos e ativos", + "data-processing": "Processamento de dados", "entities-count": "Contagem de entidades", "alarms-count": "Contagem de alarmes", "aliases": "Aliases de entidade", @@ -3627,14 +4403,14 @@ "type-plugins": "Plugins", "list-of-plugins": "{ count, plural, =1 {Um plugin} other {Lista de # plugins} }", "plugin-name-starts-with": "Plugins cujos nomes começam com '{{prefix}}'", - "type-tenant": "Tenant", - "type-tenants": "Tenants", - "list-of-tenants": "{ count, plural, =1 {Um tenant} other {Lista de # tenants} }", - "tenant-name-starts-with": "Tenants cujos nomes começam com '{{prefix}}'", - "type-tenant-profile": "Perfil do tenant", - "type-tenant-profiles": "Perfis do tenant", - "list-of-tenant-profiles": "{ count, plural, =1 {Um perfil do tenant} other {Lista de # perfis do tenant} }", - "tenant-profile-name-starts-with": "Perfis do tenant cujos nomes começam com '{{prefix}}'", + "type-tenant": "Locatário", + "type-tenants": "Locatários", + "list-of-tenants": "{ count, plural, =1 {Um locatário} other {Lista de # locatários} }", + "tenant-name-starts-with": "Locatários cujos nomes começam com '{{prefix}}'", + "type-tenant-profile": "Perfil do locatário", + "type-tenant-profiles": "Perfis do locatário", + "list-of-tenant-profiles": "{ count, plural, =1 {Um perfil do locatário} other {Lista de # perfis do locatário} }", + "tenant-profile-name-starts-with": "Perfis do locatário cujos nomes começam com '{{prefix}}'", "type-customer": "Cliente", "type-customers": "Clientes", "list-of-customers": "{ count, plural, =1 {Um cliente} other {Lista de # clientes} }", @@ -3678,7 +4454,7 @@ "type-api-key": "Chave de API", "type-api-keys": "Chaves de API", "type-current-customer": "Cliente atual", - "type-current-tenant": "Tenant atual", + "type-current-tenant": "Locatário atual", "type-current-user": "Usuário atual", "type-current-user-owner": "Proprietário do usuário atual", "type-calculated-field": "Campo calculado", @@ -3703,6 +4479,7 @@ "columns-to-display": "Colunas a exibir", "type-api-usage-state": "Estado de uso da API", "type-entity-group": "Grupo de entidades", + "type-entity-groups": "Grupos de entidades", "type-converter": "Conversor de dados", "type-converters": "Conversores de dados", "list-of-converters": "{ count, plural, =1 {Um conversor de dados} other {Lista de # conversores de dados} }", @@ -3720,6 +4497,28 @@ "type-edges": "Edges", "list-of-edges": "{ count, plural, =1 {Um edge} other {Lista de # edges} }", "edge-name-starts-with": "Edges cujos nomes começam com '{{prefix}}'", + "type-agent": "Agent", + "type-agents": "Agents", + "list-of-agents": "{ count, plural, =1 {Um Agent} other {Lista de # Agents} }", + "agent-name-starts-with": "Agents cujos nomes começam com '{{prefix}}'", + "type-agent-profile": "Perfil do Agent", + "type-agent-profiles": "Perfis do Agent", + "list-of-agent-profiles": "{ count, plural, =1 {Um perfil do Agent} other {Lista de # perfis do Agent} }", + "agent-profile-name-starts-with": "Perfis do Agent cujos nomes começam com '{{prefix}}'", + "type-agent-application": "Aplicação", + "type-agent-applications": "Aplicações", + "list-of-agent-applications": "{ count, plural, =1 {Uma aplicação} other {Lista de # aplicações} }", + "agent-application-name-starts-with": "Aplicações cujos nomes começam com '{{prefix}}'", + "type-agent-app-profile": "Perfil de aplicação", + "type-agent-app-profiles": "Perfis de aplicação", + "list-of-agent-app-profiles": "{ count, plural, =1 {Um perfil de aplicação} other {Lista de # perfis de aplicação} }", + "agent-app-profile-name-starts-with": "Perfis de aplicação cujos nomes começam com '{{prefix}}'", + "type-agent-app-event": "Evento de aplicação do Agent", + "type-agent-app-events": "Eventos de aplicação do Agent", + "type-agent-app-unit": "Unidade de aplicação do Agent", + "type-agent-app-units": "Unidades de aplicação do Agent", + "type-agent-bulk-action": "Ação em massa", + "type-agent-bulk-actions": "Ações em massa", "version-conflict": { "message": "Deseja sobrescrever a versão existente ou descartar as alterações e carregar a versão mais recente?", "link": "Você pode baixar sua versão do {{entityType}} usando este", @@ -3830,19 +4629,22 @@ "entity-view-groups": "Grupos de visualizações de entidade", "shared-entity-view-groups": "Grupos de visualizações de entidade compartilhados", "entity-view-group": "Grupo de visualizações de entidade", - "edge-groups": "Grupos de edges", - "shared-edge-groups": "Grupos de edges compartilhados", - "edge-group": "Grupo de edges", + "edge-groups": "Grupos de Edges", + "shared-edge-groups": "Grupos de Edges compartilhados", + "edge-group": "Grupo de Edges", "dashboard-groups": "Grupos de dashboards", "shared-dashboard-groups": "Grupos de dashboards compartilhados", "dashboard-group": "Grupo de dashboards", + "agent-groups": "Grupos de Agents", + "shared-agent-groups": "Grupos de Agents compartilhados", + "agent-group": "Grupo de Agents", "fetch-more": "Carregar mais", "column-type": { "column-type": "Tipo de coluna", "client-attribute": "Atributo do cliente", "shared-attribute": "Atributo compartilhado", "server-attribute": "Atributo do servidor", - "timeseries": "Séries temporais", + "timeseries": "Série temporal", "entity-field": "Campo de entidade" }, "column-type-required": "O tipo de coluna é obrigatório.", @@ -3856,7 +4658,7 @@ "authority": "Autoridade", "first_name": "Nome", "last_name": "Sobrenome", - "email": "Email", + "email": "E-mail", "title": "Título", "country": "País", "state": "Estado", @@ -3914,7 +4716,7 @@ "enable-assets-management": "Habilitar gerenciamento de ativos", "enable-devices-management": "Habilitar gerenciamento de dispositivos", "enable-entity-views-management": "Habilitar gerenciamento de visualizações de entidade", - "enable-edges-management": "Habilitar gerenciamento de edges", + "enable-edges-management": "Habilitar o gerenciamento de Edges", "enable-dashboards-management": "Habilitar gerenciamento de dashboards", "enable-scheduler-events-management": "Habilitar gerenciamento de eventos do agendador", "open-details-on": "Abrir detalhes da entidade em", @@ -3952,7 +4754,7 @@ "type": "Tipo", "first-name": "Nome", "last-name": "Sobrenome", - "email": "Email", + "email": "E-mail", "title": "Título", "country": "País", "state": "Estado", @@ -4020,9 +4822,9 @@ "delete-entity-views": "Excluir visualizações de entidade", "make-public": "Tornar visualização de entidade pública", "make-private": "Tornar visualização de entidade privada", - "unassign-from-customer": "Desatribuir do cliente", - "unassign-entity-views": "Desatribuir visualizações de entidade", - "unassign-entity-views-action-title": "Desatribuir { count, plural, =1 {1 visualização de entidade} other {# visualizações de entidade} } do cliente", + "unassign-from-customer": "Cancelar atribuição ao cliente", + "unassign-entity-views": "Cancelar atribuição de visualizações de entidade", + "unassign-entity-views-action-title": "Cancelar atribuição de { count, plural, =1 {1 visualização de entidade} other {# visualizações de entidade} } ao cliente", "assign-new-entity-view": "Atribuir nova visualização de entidade", "delete-entity-view-title": "Tem certeza de que deseja excluir a visualização de entidade '{{entityViewName}}'?", "delete-entity-view-text": "Atenção: após a confirmação, a visualização de entidade e todos os dados relacionados se tornarão irrecuperáveis.", @@ -4033,11 +4835,11 @@ "make-public-entity-view-text": "Após a confirmação, a visualização de entidade e todos os seus dados serão tornados públicos e acessíveis por outros.", "make-private-entity-view-title": "Tem certeza de que deseja tornar a visualização de entidade '{{entityViewName}}' privada?", "make-private-entity-view-text": "Após a confirmação, a visualização de entidade e todos os seus dados serão tornados privados e não serão acessíveis por outros.", - "unassign-entity-view-title": "Tem certeza de que deseja desatribuir a visualização de entidade '{{entityViewName}}'?", - "unassign-entity-view-text": "Após a confirmação, a visualização de entidade será desatribuída e não estará acessível ao cliente.", - "unassign-entity-view": "Desatribuir visualização de entidade", - "unassign-entity-views-title": "Tem certeza de que deseja desatribuir { count, plural, =1 {1 visualização de entidade} other {# visualizações de entidade} }?", - "unassign-entity-views-text": "Após a confirmação, todas as visualizações de entidade selecionadas serão desatribuídas e não estarão acessíveis ao cliente.", + "unassign-entity-view-title": "Tem certeza de que deseja cancelar a atribuição da visualização de entidade '{{entityViewName}}'?", + "unassign-entity-view-text": "Após a confirmação, a visualização de entidade terá a atribuição cancelada e não ficará mais acessível para o cliente.", + "unassign-entity-view": "Cancelar atribuição da visualização de entidade", + "unassign-entity-views-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 visualização de entidade} other {# visualizações de entidade} }?", + "unassign-entity-views-text": "Após a confirmação, todas as visualizações de entidade selecionadas terão a atribuição cancelada e não ficarão mais acessíveis para o cliente.", "entity-view-type": "Tipo de visualização de entidade", "entity-view-type-required": "O tipo de visualização de entidade é obrigatório.", "select-entity-view-type": "Selecionar tipo de visualização de entidade", @@ -4066,11 +4868,11 @@ "client-attributes": "Atributos do cliente", "shared-attributes": "Atributos compartilhados", "server-attributes": "Atributos do servidor", - "timeseries": "Séries temporais", + "timeseries": "Série temporal", "client-attributes-placeholder": "Atributos do cliente", "shared-attributes-placeholder": "Atributos compartilhados", "server-attributes-placeholder": "Atributos do servidor", - "timeseries-placeholder": "Séries temporais", + "timeseries-placeholder": "Série temporal", "target-entity": "Entidade de destino", "attributes-propagation": "Propagação de atributos", "attributes-propagation-hint": "A visualização de entidade copiará automaticamente os atributos especificados da entidade de destino cada vez que você salvar ou atualizar esta visualização de entidade. Por razões de desempenho, os atributos da entidade de destino não são propagados para a visualização de entidade a cada alteração de atributo. Você pode habilitar a propagação automática configurando o nó de regra \"copy to view\" na sua cadeia de regras e vinculando as mensagens \"Post attributes\" e \"Attributes Updated\" ao novo nó de regra.", @@ -4085,13 +4887,13 @@ "search": "Pesquisar visualizações de entidade", "selected-entity-views": "{ count, plural, =1 {1 visualização de entidade} other {# visualizações de entidade} } selecionada(s)", "assign-entity-view-to-edge": "Atribuir visualização(ões) de entidade ao Edge", - "assign-entity-view-to-edge-text": "Selecione as visualizações de entidade para atribuir ao edge", - "unassign-entity-view-from-edge-title": "Tem certeza de que deseja desatribuir a visualização de entidade '{{entityViewName}}'?", - "unassign-entity-view-from-edge-text": "Após a confirmação, a visualização de entidade será desatribuída e não estará acessível ao edge.", - "unassign-entity-views-from-edge-action-title": "Desatribuir { count, plural, =1 {1 visualização de entidade} other {# visualizações de entidade} } do edge", - "unassign-entity-view-from-edge": "Desatribuir visualização de entidade", - "unassign-entity-views-from-edge-title": "Tem certeza de que deseja desatribuir { count, plural, =1 {1 visualização de entidade} other {# visualizações de entidade} }?", - "unassign-entity-views-from-edge-text": "Após a confirmação, todas as visualizações de entidade selecionadas serão desatribuídas e não estarão acessíveis ao edge." + "assign-entity-view-to-edge-text": "Selecione as visualizações de entidade a serem atribuídas ao Edge", + "unassign-entity-view-from-edge-title": "Tem certeza de que deseja cancelar a atribuição da visualização de entidade '{{entityViewName}}'?", + "unassign-entity-view-from-edge-text": "Após a confirmação, a visualização de entidade terá a atribuição cancelada e não ficará mais acessível para o Edge.", + "unassign-entity-views-from-edge-action-title": "Cancelar atribuição de { count, plural, =1 {1 visualização de entidade} other {# visualizações de entidade} } ao Edge", + "unassign-entity-view-from-edge": "Cancelar atribuição da visualização de entidade", + "unassign-entity-views-from-edge-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 visualização de entidade} other {# visualizações de entidade} }?", + "unassign-entity-views-from-edge-text": "Após a confirmação, todas as visualizações de entidade selecionadas terão a atribuição cancelada e não ficarão mais acessíveis para o Edge." }, "event": { "events": "Eventos", @@ -4110,6 +4912,7 @@ "result": "Resultado", "no-events-prompt": "Nenhum evento encontrado", "error": "Erro", + "errors": "Erros", "alarm": "Alarme", "event-time": "Hora do evento", "server": "Servidor", @@ -4130,6 +4933,8 @@ "event": "Evento", "status": "Status", "success": "Sucesso", + "warning": "Aviso", + "warnings": "Avisos", "failed": "Falhou", "messages-processed": "Mensagens processadas", "max-messages-processed": "Máximo de mensagens processadas", @@ -4186,7 +4991,7 @@ "attributes": "Atributos", "add-attribute": "Adicionar atributo", "add-map": "Adicionar elemento de mapeamento", - "timeseries": "Séries temporais", + "timeseries": "Série temporal", "add-timeseries": "Adicionar séries temporais", "field-required": "Campo é obrigatório", "brokers": "Brokers", @@ -4199,7 +5004,7 @@ "username": "Nome de usuário", "password": "Senha", "retry-interval": "Intervalo de nova tentativa em milissegundos", - "sas": "Assinatura de acesso compartilhado", + "sas": "Shared Access Signature", "anonymous": "Anônimo", "basic": "Básico", "pem": "PEM", @@ -4375,12 +5180,13 @@ "order-priority": "Ordem de exibição", "key-filter": "Filtro de chave", "key-filters": "Filtros de chave", + "or-conditions-disabled": "As condições OU entre filtros de chave estão desabilitadas pelo administrador do sistema.", "key-name": "Nome da chave", "key-name-required": "O nome da chave é obrigatório.", "key-type": { "key-type": "Tipo de chave", "attribute": "Atributo", - "timeseries": "Séries temporais", + "timeseries": "Série temporal", "entity-field": "Campo de entidade", "constant": "Constante", "client-attribute": "Atributo do cliente", @@ -4403,7 +5209,7 @@ "edit-key-filter": "Editar filtro de chave", "date": "Data", "time": "Hora", - "current-tenant": "Tenant atual", + "current-tenant": "Locatário atual", "current-customer": "Cliente atual", "current-user": "Usuário atual", "current-device": "Dispositivo atual", @@ -4435,8 +5241,37 @@ "create-new-gateway": "Criar um novo gateway", "create-new-gateway-text": "Tem certeza de que deseja criar um novo gateway com o nome: '{{gatewayName}}'?", "launch-command": "Comando de inicialização", + "launch-choose-subtitle": "Escolha como executar o IoT Gateway para {{name}} com as credenciais do dispositivo selecionado.", + "launch-recommended": "Recomendado", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "Instale, atualize a versão, reinicie e monitore remotamente a partir da nuvem — sem SSH ou comandos manuais.", + "launch-agent-point-install": "Instalação remota com um clique", + "launch-agent-point-upgrade": "Envie atualizações de versão a partir da nuvem", + "launch-agent-point-restart": "Reinicialização e recuperação automáticas", + "launch-agent-point-monitor": "Monitoramento de integridade em tempo real", + "launch-agent-point-bulk": "Ações em massa na página Perfil do Agent", + "launch-agent-action": "Implantar com o Agent", + "launch-docker-title": "Docker Compose manual", + "launch-docker-desc": "Baixe o arquivo compose e execute-o você mesmo na máquina de destino.", + "launch-docker-point-up": "Execute docker compose up", + "launch-docker-point-control": "Controle manual total", + "launch-docker-point-updates": "Você gerencia as atualizações", + "launch-docker-point-access": "Acesso direto ao dispositivo", + "launch-docker-action": "Mostrar instruções", + "launch-back": "Voltar", "no-gateway-found": "Nenhum gateway encontrado.", - "no-gateway-matching": " '{{item}}' não encontrado." + "no-gateway-matching": " '{{item}}' não encontrado.", + "auto-provision": "Provisionamento automático", + "add-gateway": "Adicionar Gateway", + "auto-provision-title": "Provisionamento automático do Gateway", + "auto-provision-info-title": "Como funciona", + "auto-provision-info-body": "Depois que um perfil do Agent é criado, um comando Docker run é gerado. Quando executado em uma máquina de destino, o ThingsBoard cria automaticamente o Agent — e o dispositivo de Gateway vinculado a ele — usando as credenciais incorporadas ao comando. O Gateway é configurado automaticamente com base no perfil de aplicação atribuído ao perfil do Agent. Não é necessário criar o Gateway manualmente.", + "auto-provision-step-select": "Perfil do Agent", + "auto-provision-step-script": "Script de provisionamento", + "auto-provision-valid": "Pronto para provisionar — '{{profile}}' tem um perfil de aplicação GATEWAY atribuído.", + "auto-provision-invalid-no-edge-app-profile": "Este perfil não tem um perfil de aplicação GATEWAY atribuído. Use o botão para atribuir um.", + "auto-provision-success-message": "O perfil do Agent está pronto. Execute o comando em qualquer máquina de destino para provisionar um novo Gateway.", + "auto-provision-script-hint": "Execute este comando em cada máquina que deve se tornar um Gateway. Cada execução provisiona um par Agent + Gateway." }, "grid": { "delete-item-title": "Tem certeza de que deseja excluir este item?", @@ -4461,13 +5296,17 @@ "logout": "Sair", "menu": "Menu", "avatar": "Avatar", - "open-user-menu": "Abrir menu do usuário" + "open-user-menu": "Abrir menu do usuário", + "go-to": "Ir para...", + "crumbs-more": "+{{more}} mais em seções correspondentes", + "no-matches": "Nenhuma correspondência" }, "file-input": { "browse-file": "Procurar arquivo", "browse-files": "Procurar arquivos" }, "image": { + "images": "Imagens", "gallery": "Galeria de imagens", "search": "Pesquisar imagem", "selected-images": "{ count, plural, =1 {1 imagem} other {# imagens} } selecionada(s)", @@ -4587,8 +5426,8 @@ "description": "Descrição", "edge-license-key": "Chave de licença", "cloud-endpoint": "Cloud Endpoint", - "routing-key": "Chave do edge", - "secret": "Segredo do edge" + "routing-key": "Chave do Edge", + "secret": "Segredo do Edge" }, "stepper-text": { "select-file": "Selecionar um arquivo", @@ -4649,8 +5488,8 @@ "app-id-required": "O Application ID é obrigatório", "app-token": "Token de acesso do aplicativo", "app-token-required": "O Token de acesso do aplicativo é obrigatório", - "email": "Email", - "email-required": "O Email é obrigatório", + "email": "E-mail", + "email-required": "O e-mail é obrigatório", "application-uri": "URI do aplicativo", "as-id": "AS ID", "as-id-required": "O AS ID é obrigatório.", @@ -4855,6 +5694,7 @@ "type-ttn-description": "Rede LoRaWAN aberta e descentralizada.", "type-tti": "The Things Stack Industries", "type-tti-description": "Software para operar redes LoRaWAN privadas em escala.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Servidor de configuração de rede LoRaWAN.", "type-particle": "Particle", @@ -4886,8 +5726,8 @@ "type-tuya-description": "Plataforma de mensagens e dispositivos hospedada na nuvem.", "type-azure-service-bus": "Azure Service Bus", "type-azure-service-bus-description": "Broker de mensagens empresarial totalmente gerenciado com filas de mensagens e tópicos de publicação-assinatura.", - "opc-ua-application-name": "Nome do aplicativo", - "opc-ua-application-uri": "URI do aplicativo", + "opc-ua-application-name": "Nome da aplicação", + "opc-ua-application-uri": "URI da aplicação", "opc-ua-scan-period-in-seconds": "Período de varredura em segundos", "opc-ua-scan-period-in-seconds-required": "O período de varredura é obrigatório", "opc-ua-timeout": "Tempo limite em milissegundos", @@ -5052,11 +5892,11 @@ "coap-dtls-base-url-required": "A URL base DTLS é obrigatória", "coap-dtls-endpoint": "URL do Endpoint CoAP DTLS", "coap-dtls-endpoint-url-copied-message": "A URL do Endpoint CoAP DTLS foi copiada para a área de transferência", - "unassign-integration-title": "Tem certeza de que deseja desatribuir a integração '{{integrationName}}'?", - "unassign-integration-from-edge-text": "Após a confirmação, a integração será desatribuída e não estará mais acessível pelo edge.", - "unassign-integrations-from-edge-title": "Tem certeza de que deseja desatribuir { count, plural, =1 {1 integração} other {# integrações} }?", - "unassign-integrations-from-edge-text": "Após a confirmação, todas as integrações selecionadas serão desatribuídas e não estarão mais acessíveis pelo edge.", - "unassign-integrations": "Desatribuir integrações", + "unassign-integration-title": "Tem certeza de que deseja cancelar a atribuição da integração '{{integrationName}}'?", + "unassign-integration-from-edge-text": "Após a confirmação, a integração terá a atribuição cancelada e não ficará mais acessível para o Edge.", + "unassign-integrations-from-edge-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 integração} other {# integrações} }?", + "unassign-integrations-from-edge-text": "Após a confirmação, todas as integrações selecionadas terão a atribuição cancelada e não ficarão mais acessíveis para o Edge.", + "unassign-integrations": "Cancelar atribuição de integrações", "edge-placeholder-hint": "Você pode usar o placeholder ${{ATTRIBUTE_KEY}} para substituir o campo da integração pelo valor do atributo de uma entidade Edge específica. Por exemplo, 'Edge A' possui o atributo 'baseUrl' com o valor 'http://localhost:9999'. Você pode definir ${{baseUrl}} como um dos campos da integração, e ele será substituído por 'http://localhost:9999' durante a atribuição desta integração ao 'Edge A'. Além disso, se o atributo 'baseUrl' do 'Edge A' for atualizado, a integração com o novo valor atualizado será automaticamente provisionada ao 'Edge A'.", "status": { "status": "Status", @@ -5123,7 +5963,7 @@ "cols": "colunas", "rows": "linhas", "state-render-function": "Função de renderização de estado", - "preview": "Visualização", + "preview": "Pré-visualização", "preview-widget-action-text": "Ação do widget '{{type}}' invocada com sucesso!", "no-symbol": "Nenhum símbolo SCADA", "no-symbol-selected": "Nenhum símbolo SCADA selecionado", @@ -5389,6 +6229,7 @@ "third-phase-voltage": "Tensão da terceira fase", "phase-voltage-hint": "Valor decimal que indica o valor de tensão para a fase atual", "voltage-hint": "Valor decimal que indica a tensão atual", + "current-voltage": "Tensão atual", "phase-indicator-color": "Cor do indicador de fase", "measured": "Medido", "measured-hint": "Valor decimal que indica o consumo de energia em quilowatt-hora", @@ -5429,7 +6270,281 @@ } }, "item": { - "selected": "Selecionado" + "type-widget": "Widget", + "type-widget-plural": "Widgets", + "type-solution-template": "Modelo de solução", + "type-solution-template-plural": "Modelos de solução", + "type-calculated-field": "Campo calculado", + "type-calculated-field-plural": "Campos calculados", + "type-alarm-rule": "Regra de alarme", + "type-alarm-rule-plural": "Regras de alarme", + "type-rule-chain": "Cadeia de regras", + "type-rule-chain-plural": "Cadeias de regras", + "type-device": "Dispositivo", + "type-device-plural": "Dispositivos" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "Gerar valor aleatório", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "Descubra recursos prontos para uso:", + "and-devices": "& dispositivos", + "search-placeholder": "Pesquisar no IoT Hub...", + "search": "Pesquisar...", + "search-published-items": "Pesquisar itens publicados...", + "see-all-results": "Ver todos os resultados", + "see-all-results-for": "Ver todos os {{ count }} resultados para \"{{ search }}\"", + "see-results-for": "Ver resultados para \"{{ search }}\"", + "no-search-results": "Nenhum resultado encontrado para '{{ search }}'", + "no-items-available": "Nenhum item disponível", + "search-results": "Resultados da pesquisa", + "search-results-for": "Resultados da pesquisa para ", + "try-adjusting-search": "Tente ajustar sua pesquisa", + "add-widget-from-iot-hub": "Adicionar widget do IoT Hub", + "all-widgets": "Todos os widgets", + "all-iot-hub-widgets": "Todos os widgets do IoT Hub", + "installed-from-iot-hub": "Instalado do IoT Hub", + "item-link-unavailable": "Item indisponível", + "include-deprecated": "Incluir obsoletos", + "widget-category-value": "Widgets de {{ category }}", + "search-categories": "Pesquisar categorias...", + "search-in-category": "Pesquisar widgets...", + "search-bundles": "Pesquisar pacotes...", + "search-widgets": "Pesquisar widgets...", + "add-item-from-iot-hub": "Adicionar {{ type }} do IoT Hub", + "add-from-iot-hub": "Adicionar do IoT Hub", + "filters": "Filtros", + "type": "Tipo", + "items-per-page": "Itens por página", + "filter": "Filtro", + "clear-filters": "Limpar filtros", + "available": "Disponível", + "items-page-desc-widgets": "Comece sua jornada de IoT com widgets pré-configurados projetados para o seu setor. Implante arquiteturas comprovadas instantaneamente e concentre sua energia no que importa: a lógica exclusiva do seu negócio.", + "items-page-desc-solution-templates": "Pacotes completos de soluções de IoT com dashboards, cadeias de regras e configurações de dispositivos. Comece com arquiteturas comprovadas.", + "items-page-desc-calculated-fields": "Use campos calculados pré-configurados para automatizar métricas complexas, como eficiência de combustível ou fator de potência. Dispense a lógica manual e mantenha seus dashboards limpos e acionáveis.", + "items-page-desc-alarm-rules": "Use modelos de regras de alarme prontos para detectar condições críticas, como bateria fraca, violações de limite ou dispositivos que ficam offline. Dispense a escrita da lógica das regras e comece a reagir a incidentes no momento em que acontecem.", + "items-page-desc-rule-chains": "Do processamento de dados sofisticado a integrações de API perfeitas, os modelos de cadeias de regras fornecem a base arquitetônica de que você precisa para escalar sem construir do zero.", + "items-page-desc-devices": "Explore a biblioteca de dispositivos para encontrar modelos de conectividade pré-configurados que você pode implantar em minutos para conectar seu hardware instantaneamente.", + "device-library": "Biblioteca de dispositivos", + "most-popular-in-iot-hub": "Mais populares no IoT Hub", + "upgrade-required-title": "É necessário atualizar a versão do ThingsBoard", + "upgrade-required-message": "Este item requer o ThingsBoard {{minVersion}} ou mais recente. No momento, você está executando o {{currentVersion}}. Atualize sua instância para instalá-lo.", + "upgrade-instance": "Atualizar versão da instância", + "become-creator-text": "Envie seus modelos para o ThingsBoard IoT Hub para ganhar destaque e apresentar suas soluções à nossa comunidade global.", + "contribute": "Contribuir", + "creator-profile": "Perfil do criador", + "title-widgets": "Widgets", + "title-calculated-fields": "Campos calculados", + "title-alarm-rules": "Regras de alarme", + "title-rule-chains": "Cadeias de regras", + "title-devices": "Dispositivos", + "title-solution-templates": "Modelos de solução", + "subtitle-widgets": "Explore widgets da comunidade para seus dashboards", + "subtitle-solution-templates": "Explore pacotes completos de soluções IoT", + "subtitle-calculated-fields": "Explore modelos de campos calculados", + "subtitle-alarm-rules": "Explore modelos de regras de alarme", + "subtitle-rule-chains": "Explore modelos de cadeias de regras", + "subtitle-devices": "Explore configurações de dispositivos", + "search-solution-templates": "Pesquisar modelos de solução...", + "search-calculated-fields": "Pesquisar campos calculados...", + "search-alarm-rules": "Pesquisar regras de alarme...", + "search-rule-chains": "Pesquisar cadeias de regras...", + "search-devices": "Pesquisar dispositivos...", + "sort-most-relevant": "Mais relevantes", + "sort-most-installed": "Mais instalados", + "sort-newest": "Mais recentes", + "sort-name": "Nome (A-Z)", + "type-filter-label": "Tipo", + "verified-creators-only": "Somente criadores verificados", + "category": "Categoria", + "use-case": "Caso de uso", + "vendor": "Fornecedor", + "view-setup-guide": "Ver guia de configuração", + "hardware-type": "Tipo de hardware", + "connectivity": "Conectividade", + "clear-all-filters": "Limpar todos os filtros", + "clear-all": "Limpar tudo", + "results-count": "{{count}} resultados", + "unable-to-load": "Não foi possível carregar", + "unable-to-load-text": "Ocorreu um problema ao carregar os itens. Tente novamente.", + "network-server-unavailable": "Rede ou servidor indisponível", + "network-server-unavailable-text": "Não foi possível acessar o catálogo. Tente novamente em instantes.", + "try-again": "Tentar novamente", + "retry": "Tentar novamente", + "no-items-found": "Nenhum item encontrado", + "no-items-found-text": "Tente ajustar sua pesquisa ou os filtros.", + "no-widgets-found": "Nenhum widget encontrado", + "browse-tip-prefix": "Não encontrou o que precisa?", + "browse-tip-link": "Explore o IoT Hub", + "browse-tip-suffix": "para ver mais widgets.", + "creator": "Criador", + "manage": "Gerenciar", + "details": "Detalhes", + "become-a-creator": "Torne-se um criador", + "back-to-iot-hub": "Voltar ao IoT Hub", + "verified-creator": "Criador verificado", + "published-items": "Itens publicados", + "by-creator": "por {{name}}", + "installs": "instalações", + "more": "mais", + "categories": "Categorias", + "use-cases": "Casos de uso", + "changelog": "Registro de alterações", + "created-by": "Criado por {{name}}", + "install-confirm": "Instalar {{name}} v{{version}}?", + "install-confirm-title": "Instalar '{{name}}'?", + "install-desc": "A instalação criará e configurará automaticamente os recursos necessários no seu locatário", + "install-success-desc": "'{{name}}' foi instalado com sucesso", + "remove": "Remover", + "remove-confirm-title": "Remover '{{name}}'?", + "remove-desc": "A remoção também removerá a entidade instalada e os recursos associados a ela no seu locatário", + "remove-desc-solution-template": "A remoção deste modelo de solução também removerá todas as entidades criadas, incluindo dashboards, cadeias de regras, dispositivos e outros recursos associados no seu locatário", + "remove-anyway": "Remover mesmo assim", + "select-entity-for-cf": "Selecione a entidade para o campo calculado '{{name}}'", + "select-entity-for-alarm-rule": "Selecione a entidade para a regra de alarme '{{name}}'", + "rule-chain-install-subtitle": "A instalação cria automaticamente a cadeia de regras no seu locatário. Opcionalmente, defina-a como padrão de um perfil para que as entidades desse perfil sejam roteadas por ela.", + "rule-chain-set-as-profile-default-toggle": "Definir como cadeia de regras padrão do perfil", + "rule-chain-set-as-profile-default-tooltip": "Se habilitado, todas as entidades do perfil selecionado encaminharão as mensagens por esta cadeia de regras.", + "rule-chain-overwrite-title": "Substituir a cadeia de regras padrão existente?", + "rule-chain-overwrite-body": "O perfil {{profile}} usa atualmente {{existing}} como cadeia de regras padrão. A instalação vai substituí-la por esta cadeia de regras.", + "rule-chain-overwrite-replace": "Substituir", + "install": "Instalar", + "open": "Abrir", + "built-in": "Integrado", + "built-in-lookup-failed-title": "Não foi possível verificar este componente", + "built-in-lookup-failed-text": "Falha ao verificar se '{{name}}' já está presente nesta instância. Nada foi instalado — tente novamente.", + "built-in-missing-title": "Não disponível nesta instância", + "built-in-missing-text": "'{{name}}' normalmente vem incluído no ThingsBoard, mas não está presente nesta instância — pode ter sido excluído pelo administrador do sistema. Em vez disso, você pode instalá-lo pelo IoT Hub.", + "connect": "Conectar", + "connect-device": "Conectar dispositivo", + "installing": "Instalando...", + "installing-title": "Instalando '{{name}}'", + "installed": "Instalado", + "install-success": "{{name}} instalado com sucesso", + "install-success-title": "Instalação concluída com sucesso", + "install-success-message": "'{{name}}' v{{version}} foi instalado com sucesso.", + "install-error": "Falha ao instalar {{name}}", + "solution-install-title": "Modelo de solução instalado com sucesso", + "solution-instructions": "Instruções da solução", + "goto-main-dashboard": "Ir para o dashboard principal", + "install-error-title": "Falha na instalação", + "install-error-message": "Falha ao instalar '{{name}}'.", + "install-dependency-error": "Falha ao instalar a dependência '{{name}}': {{error}}", + "install-plan-title": "Instalar '{{name}}' e suas dependências", + "install-plan-will-install": "Serão instalados {{count}} item(ns).", + "install-plan-will-update": "{{count}} item(ns) já instalado(s) será(ão) ignorado(s).", + "install-plan-missing-warning": "Não foi possível encontrar {{count}} item(ns) obrigatório(s) no marketplace. '{{ name }}' pode não funcionar totalmente sem eles.", + "install-plan-status-will": "Instalar", + "install-plan-status-installed": "Já instalado", + "install-plan-status-missing": "Ausente", + "install-plan-confirm": "Instalar", + "install-partial-title": "Instalado com avisos", + "install-partial-desc": "'{{name}}' foi instalado, mas alguns itens obrigatórios estavam ausentes.", + "install-rollback-partial": "Alguns dos itens instalados antes da falha não puderam ser removidos automaticamente e talvez precisem ser excluídos manualmente.", + "check-for-updates": "Verificar atualizações", + "updates": "Atualizações", + "up-to-date": "Atualizado", + "update": "Atualizar", + "update-to-version": "Atualizar para v {{ version }}", + "update-item-title": "Atualizar item", + "update-confirm": "Atualizar '{{name}}' para a versão {{version}}?", + "update-confirm-title": "Atualizar '{{name}}'?", + "update-desc": "A atualização substituirá a versão atual pela mais recente e reconfigurará os recursos associados no seu locatário", + "update-desc-solution-template": "A atualização deste modelo de solução excluirá e recriará todas as entidades que ele criou, incluindo dashboards, cadeias de regras, dispositivos e outros recursos associados no seu locatário. Todas as alterações que você fez nelas serão perdidas", + "update-success-desc": "'{{name}}' foi atualizado com sucesso", + "updating": "Atualizando...", + "update-success-title": "Atualização concluída", + "update-success-message": "'{{name}}' foi atualizado para a versão {{version}}.", + "entity-modified-title": "Entidade modificada", + "entity-modified-text": "A entidade {{type}} foi modificada localmente. Ainda deseja atualizá-la?", + "update-error-title": "Falha na atualização", + "update-error-message": "Falha ao atualizar '{{name}}'.", + "update-error": "Falha ao atualizar {{name}}", + "most-popular": "Mais populares", + "all": "Todos", + "installed-items": "Itens instalados", + "installed-items-for": "Itens instalados para \"{{name}}\"", + "search-installed-items": "Pesquisar itens instalados...", + "item-name": "Nome", + "item-type": "Tipo", + "item-version": "Versão", + "installed-date": "Instalado em", + "no-installed-items": "Nenhum item instalado encontrado", + "no-installed-items-text": "Tente ajustar sua pesquisa ou os filtros.", + "remove-installed-item-title": "Remover item instalado", + "remove-installed-item-text": "Tem certeza de que deseja remover '{{name}}'? A entidade instalada também será removida.", + "installed-item-removed": "'{{name}}' foi removido", + "installed-item-remove-error": "Falha ao remover '{{name}}'", + "open-installed-entity": "Abrir entidade instalada", + "view-item-details": "Ver detalhes do item", + "review-device-instructions": "Revisar instruções do dispositivo", + "open-item-type": "Abrir {{type}}", + "back-to-marketplace": "Voltar ao Marketplace", + "device-install-select-connectivity": "Escolha um método de conexão para o seu dispositivo", + "connection-method": "Método de conexão", + "step-prerequisites": "Pré-requisitos", + "step-configuration": "Configuração", + "step-provisioning": "Provisionamento", + "device-install-step-error": "Falhou", + "device-install-step-pending": "Pendente", + "device-install-step-running": "Criando...", + "device-install-step-success": "Criado", + "device-install-step-type-DASHBOARD": "Dashboard", + "device-install-step-type-DEVICE": "Dispositivo", + "device-install-step-type-DEVICE_PROFILE": "Perfil do dispositivo", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Conector do Gateway", + "device-install-step-type-RULE_CHAIN": "Cadeia de regras", + "device-install-step-type-UPLINK_CONVERTER": "Conversor uplink", + "device-install-step-type-DOWNLINK_CONVERTER": "Conversor downlink", + "device-install-step-type-INTEGRATION": "Integração", + "use-secret": "Usar segredo", + "use-plain-text": "Usar texto simples", + "device-install-conflict-exists": "{{type}} com este nome já existe", + "device-install-use-existing": "Usar existente", + "device-install-overwrite": "Substituir", + "device-install-create-copy": "Criar cópia", + "device-install-resolution-created": "Criado", + "device-install-resolution-use-existing": "Existente reutilizado", + "device-install-resolution-overwrite": "Substituído", + "device-install-resolution-create-copy": "Cópia criada", + "device-install-title": "Conectar \"{{name}}\"", + "device-installing-title": "Instalando \"{{name}}\"", + "done": "Concluído", + "in-progress": "Em andamento", + "item-detail": "Item do IoT Hub", + "unpublished-warning-title": "Conteúdo não publicado", + "unpublished-warning-text": "Esta é uma pré-visualização de conteúdo não publicado. Ele não foi revisado pelo IoT Hub. Instalar conteúdo não verificado pode introduzir riscos de segurança e estabilidade — continue somente se você confiar no criador.", + "unpublished-warning-confirm": "Entendo o risco, continuar", + "unpublished-preview": "Pré-visualização não publicada", + "deep-link-invalid-id": "Link de item do IoT Hub inválido.", + "deep-link-not-found": "Este item do IoT Hub não existe ou foi removido.", + "deep-link-fetch-failed": "Não foi possível carregar o item do IoT Hub. Tente novamente.", + "export-to-iot-hub": "Exportar para o IoT Hub" + }, + "item-data": { + "widget-type-timeseries": "Série temporal", + "widget-type-latest": "Mais recente", + "widget-type-rpc": "Controle", + "widget-type-alarm": "Alarme", + "widget-type-static": "Estático", + "cf-type-simple": "Simples", + "cf-type-script": "Script", + "cf-type-geofencing": "Geofencing", + "cf-type-alarm": "Alarme", + "cf-type-propagation": "Propagação", + "cf-type-related-entities-aggregation": "Agregação de entidades relacionadas", + "cf-type-entity-aggregation": "Agregação de entidades", + "rule-chain-type-core": "Núcleo", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "Enriquecimento", + "node-type-filter": "Filtro", + "node-type-transformation": "Transformação", + "node-type-action": "Ação", + "node-type-analytics": "Análise", + "node-type-external": "Externo", + "node-type-flow": "Fluxo", + "node-type-unknown": "Desconhecido" }, "js-func": { "no-return-error": "A função deve retornar um valor!", @@ -5462,6 +6577,8 @@ "no-data": "Nenhuma entrada" }, "layout": { + "switch-to-html-page-title": "Mudar para página HTML?", + "switch-to-html-page-text": "A página HTML substitui a grade de widgets deste estado. { count, plural, =1 {1 widget colocado nos seus layouts será removido} other {# widgets colocados nos seus layouts serão removidos} } deste estado.", "layout": "Layout", "layouts": "Layouts", "manage": "Gerenciar layouts", @@ -5540,7 +6657,7 @@ "passwords-mismatch-error": "As senhas inseridas devem ser iguais!", "password-again": "Confirmar senha", "sign-in": "Entrar", - "username": "Nome de usuário (email)", + "username": "Nome de usuário (e-mail)", "remember-me": "Lembrar de mim", "forgot-password": "Esqueceu sua senha?", "password-reset": "Redefinição de senha", @@ -5548,8 +6665,8 @@ "new-password": "Nova senha", "new-password-again": "Confirmar nova senha", "password-link-sent-message": "Link de redefinição foi enviado", - "email": "Email", - "invalid-email-format": "Formato de email inválido.", + "email": "E-mail", + "invalid-email-format": "Formato de e-mail inválido.", "no-account": "Não tem uma conta?", "create-account": "Criar uma conta", "sign-in-with": "Entrar com {{name}}", @@ -5565,15 +6682,15 @@ "totp-auth-placeholder": "Código", "sms-auth-description": "Um código de segurança foi enviado para o seu telefone em {{contact}}.", "sms-auth-placeholder": "Código SMS", - "email-auth-description": "Um código de segurança foi enviado para o seu endereço de email em {{contact}}.", - "email-auth-placeholder": "Código de email", + "email-auth-description": "Um código de segurança foi enviado para o seu endereço de e-mail em {{contact}}.", + "email-auth-placeholder": "Código de e-mail", "backup-code-auth-description": "Insira um dos seus códigos de backup.", "backup-code-auth-placeholder": "Código de backup", "version-mask": "{{name}} v.{{version}}", "activation-link-expired": "O link de ativação expirou", - "activation-link-expired-message": "O link para ativar seu perfil expirou. Você pode retornar à página de login para receber um novo email.", + "activation-link-expired-message": "O link para ativar seu perfil expirou. Você pode retornar à página de login para receber um novo e-mail.", "reset-password-link-expired": "O link de redefinição de senha expirou", - "reset-password-link-expired-message": "O link para redefinir sua senha expirou. Você pode retornar à página de login para receber um novo email.", + "reset-password-link-expired-message": "O link para redefinir sua senha expirou. Você pode retornar à página de login para receber um novo e-mail.", "two-fa": "Autenticação de dois fatores", "two-fa-required": "A autenticação de dois fatores é obrigatória", "set-up-verification-method": "Configurar um método de verificação para continuar", @@ -5582,8 +6699,8 @@ "enable-authenticator-app-description": "Insira o código de segurança do seu aplicativo autenticador", "enable-authenticator-sms": "Habilitar autenticador SMS", "enable-authenticator-sms-description": "Insira o código de 6 dígitos que acabamos de enviar para ", - "enable-authenticator-email": "Habilitar autenticador de email", - "enable-authenticator-email-description": "Um código de segurança foi enviado para o seu endereço de email em ", + "enable-authenticator-email": "Habilitar autenticador de e-mail", + "enable-authenticator-email-description": "Um código de segurança foi enviado para o seu endereço de e-mail em ", "enter-key-manually": "ou insira esta chave de 32 dígitos manualmente:", "continue": "Continuar", "confirm": "Confirmar", @@ -5591,16 +6708,16 @@ "authenticator-app-success-description": "Na próxima vez que fizer login, será necessário fornecer um código de autenticação de dois fatores", "authenticator-sms-success": "Autenticador SMS habilitado com sucesso", "authenticator-sms-success-description": "Na próxima vez que fizer login, será solicitado que insira o código de segurança que será enviado para o número de telefone", - "authenticator-email-success": "Autenticador de email habilitado com sucesso", - "authenticator-email-success-description": "Na próxima vez que fizer login, será solicitado que insira o código de segurança que será enviado para o seu endereço de email", + "authenticator-email-success": "Autenticador de e-mail habilitado com sucesso", + "authenticator-email-success-description": "Na próxima vez que fizer login, será solicitado que insira o código de segurança que será enviado para o seu endereço de e-mail", "authenticator-backup-code-success": "Código de backup habilitado com sucesso", "authenticator-backup-code-success-description": "Na próxima vez que fizer login, será solicitado que insira o código de segurança ou use um dos códigos de backup.", "add-verification-method": "Adicionar método de verificação", "get-backup-code": "Obter código de backup", "copy-key": "Copiar chave", "send-code": "Enviar código", - "email-label": "Email", - "email-description": "Insira um email para usar como autenticador.", + "email-label": "E-mail", + "email-description": "Insira um e-mail para usar como autenticador.", "sms-description": "Insira um número de telefone para usar como autenticador.", "backup-code-description": "Imprima os códigos para tê-los à mão quando precisar usá-los para entrar na sua conta. Cada código de backup pode ser usado uma vez.", "backup-code-warn": "Após sair desta página, esses códigos não poderão ser exibidos novamente. Armazene-os com segurança usando as opções abaixo.", @@ -5622,7 +6739,7 @@ "signup": { "firstname": "Nome", "lastname": "Sobrenome", - "email": "Email", + "email": "E-mail", "signup": "Cadastrar", "create-password": "Criar uma senha", "repeat-password": "Repetir sua senha", @@ -5630,14 +6747,14 @@ "signin": "Entrar", "no-captcha-message": "Você deve confirmar que não é um robô", "password-length-message": "Sua senha deve ter pelo menos 6 caracteres", - "email-verification": "Verificação de email", - "email-verification-message": "Um email com detalhes de verificação foi enviado para o endereço de email especificado.
    Siga as instruções fornecidas no email para concluir o procedimento de cadastro.
    Observação: se não visualizar o email por algum tempo, verifique a pasta 'spam' ou tente reenviar o email clicando no botão 'Reenviar'.", + "email-verification": "Verificação de e-mail", + "email-verification-message": "Um e-mail com detalhes de verificação foi enviado para o endereço de e-mail especificado.
    Siga as instruções fornecidas no e-mail para concluir o procedimento de cadastro.
    Observação: se não visualizar o e-mail por algum tempo, verifique a pasta 'spam' ou tente reenviar o e-mail clicando no botão 'Reenviar'.", "account-activation-title": "Ativação de conta", "account-activated": "Conta ativada com sucesso!", "account-activated-text": "Parabéns!
    Sua conta foi ativada.", "resend": "Reenviar", "inactive-user-exists-title": "Usuário inativo já existe", - "inactive-user-exists-text": "Já existe um usuário registrado com endereço de email não verificado.
    Clique no botão 'Reenviar' se desejar reenviar o email de verificação.", + "inactive-user-exists-text": "Já existe um usuário registrado com endereço de e-mail não verificado.
    Clique no botão 'Reenviar' se desejar reenviar o e-mail de verificação.", "activating-account": "Ativando conta...", "activating-account-text": "Sua conta está sendo ativada. Aguarde...", "accept-privacy-policy": "Aceitar Política de Privacidade", @@ -5655,30 +6772,30 @@ "lastname-required": "O sobrenome é obrigatório" }, "mobile": { - "add-application": "Adicionar aplicação", + "add-application": "Adicionar aplicativo", "app-id": "ID de associação do site do aplicativo", "app-id-required": "O ID de associação do site do aplicativo é obrigatório", "app-id-pattern": "Formato inválido do ID de associação do site do aplicativo", "app-store-link": "Link da App Store", "app-store-link-required": "O link da App Store é obrigatório", - "application-details": "Detalhes da aplicação", - "application-package": "Pacote da aplicação", + "application-details": "Detalhes do aplicativo", + "application-package": "Pacote do aplicativo", "application-secret": "Application Secret", "application-secret-required": "O Application Secret é obrigatório", - "application": "Aplicação", - "applications": "Aplicações", + "application": "Aplicativo", + "applications": "Aplicativos", "copy-app-id": "Copiar ID do aplicativo", "copy-app-store-link": "Copiar link da App Store", - "copy-application-package": "Copiar pacote da aplicação", + "copy-application-package": "Copiar pacote do aplicativo", "copy-application-secret": "Copiar Application Secret", "copy-google-play-link": "Copiar link do Google Play", "copy-sha256-certificate-fingerprints": "Copiar impressões digitais do certificado SHA256", - "delete-application": "Excluir aplicação", - "delete-application-button-text": "Entendo as consequências, excluir aplicação", - "delete-application-text": "Esta ação não pode ser desfeita. Isso excluirá permanentemente sua aplicação.
    Se não quiser excluí-la permanentemente, você pode suspender a aplicação temporariamente.
    Para excluir a aplicação mesmo assim, digite \"{{phrase}}\" para confirmar.", - "delete-application-title-short": "Tem certeza de que deseja excluir a aplicação '{{name}}'?", - "delete-application-text-short": "Tenha cuidado, após a confirmação, as aplicações e todos os dados relacionados serão irrecuperáveis.", - "delete-application-phrase": "excluir aplicação", + "delete-application": "Excluir aplicativo", + "delete-application-button-text": "Entendo as consequências, excluir aplicativo", + "delete-application-text": "Esta ação não pode ser desfeita. Isso excluirá permanentemente seu aplicativo.
    Se não quiser excluí-lo permanentemente, você pode suspender o aplicativo temporariamente.
    Para excluir o aplicativo mesmo assim, digite \"{{phrase}}\" para confirmar.", + "delete-application-title-short": "Tem certeza de que deseja excluir o aplicativo '{{name}}'?", + "delete-application-text-short": "Tenha cuidado, após a confirmação, os aplicativos e todos os dados relacionados serão irrecuperáveis.", + "delete-application-phrase": "excluir aplicativo", "delete-applications-bundle-text": "Tenha cuidado, após a confirmação, o conjunto mobile e todos os dados relacionados serão irrecuperáveis.", "delete-applications-bundle-title": "Tem certeza de que deseja excluir o conjunto mobile '{{bundleName}}'?", "generate-application-secret": "Gerar Application Secret", @@ -5688,16 +6805,17 @@ "min-version": "Versão mínima", "invalid-version-pattern": "Formato de versão inválido. Use o formato: major.minor.patch (ex.: 1.0.0).", "mobile-center": "Central móvel", - "mobile-package": "Pacote da aplicação", - "mobile-package-max-length": "O pacote da aplicação deve ter menos de 256 caracteres", - "mobile-package-required": "O pacote da aplicação é obrigatório.", - "mobile-package-pattern": "Formato inválido do pacote da aplicação", - "mobile-package-title": "Título da aplicação", - "mobile-package-title-max-length": "O título da aplicação deve ter menos de 256 caracteres", - "no-application": "Nenhuma aplicação encontrada", + "mobile-apps": "Aplicativos móveis", + "mobile-package": "Pacote do aplicativo", + "mobile-package-max-length": "O pacote do aplicativo deve ter menos de 256 caracteres", + "mobile-package-required": "O pacote do aplicativo é obrigatório.", + "mobile-package-pattern": "Formato inválido do pacote do aplicativo", + "mobile-package-title": "Título do aplicativo", + "mobile-package-title-max-length": "O título do aplicativo deve ter menos de 256 caracteres", + "no-application": "Nenhum aplicativo encontrado", "no-bundles": "Nenhum conjunto encontrado", "platform-type": "Tipo de plataforma", - "search-application": "Pesquisar aplicações", + "search-application": "Pesquisar aplicativos", "search-bundles": "Pesquisar conjuntos", "set": "Definir", "sha256-certificate-fingerprints": "Impressões digitais do certificado SHA256", @@ -5724,20 +6842,20 @@ "title-max-length": "O título deve ter menos de 256 caracteres", "oauth-clients": "Clientes OAuth 2.0", "android-app": "Aplicativo Android", - "android-application": "Aplicação Android", + "android-application": "Aplicativo Android", "ios-app": "Aplicativo iOS", - "ios-application": "Aplicação iOS", + "ios-application": "Aplicativo iOS", "invalid-store-link": "Link da loja inválido", "enable-oauth": "Habilitar OAuth 2.0", "enable-self-registration": "Habilitar autorregistro", "edit-bundle": "Editar conjunto", "description": "Descrição", "basic-settings": "Configurações básicas", - "no-application-matching": "Nenhuma aplicação correspondente a '{{entity}}' foi encontrada.", + "no-application-matching": "Nenhum aplicativo correspondente a '{{entity}}' foi encontrado.", "no-bundle-matching": "Nenhum conjunto correspondente a '{{entity}}' foi encontrado.", - "application-required": "A aplicação é obrigatória.", + "application-required": "O aplicativo é obrigatório.", "bundle-required": "O conjunto é obrigatório.", - "no-application-text": "Nenhuma aplicação encontrada", + "no-application-text": "Nenhum aplicativo encontrado", "no-bundle-text": "Nenhum conjunto encontrado", "layout": "Layout", "pages": "Páginas", @@ -5771,13 +6889,13 @@ "qr-code-widget": "Widget de código QR", "type-here": "Digite aqui", "configuration-dialog": "Diálogo de configuração", - "configuration-app": "Aplicação de configuração", + "configuration-app": "Aplicativo de configuração", "configuration-step": { "prepare-environment-title": "Preparar ambiente de desenvolvimento", "prepare-environment-text": "O Flutter ThingsBoard Mobile Application requer o Flutter SDK. Siga as instruções para configurar o Flutter SDK.", "get-source-code-title": "Obter código-fonte do aplicativo", "get-source-code-text": "Você pode obter o código-fonte do Flutter ThingsBoard Mobile Application clonando-o do repositório GitHub:", - "configure-app-settings-title": "Configurar as definições do aplicativo", + "configure-app-settings-title": "Definir as configurações do aplicativo", "configure-app-settings-text": "Baixe o arquivo de configuração e coloque-o no diretório raiz do projeto clonado na etapa anterior.", "download-file": "Baixar arquivo", "run-app-title": "Executar o aplicativo", @@ -5807,6 +6925,9 @@ "reset-self-registration-text": "Tenha cuidado, após a confirmação, todas as configurações serão perdidas e não poderão ser recuperadas." } }, + "monitor": { + "monitor": "Monitoramento" + }, "notification": { "ai-assistant-initial-prompt-placeholder": "Descreva o que você gostaria de configurar...", "ai-assistant-example-explain-label": "Como as notificações funcionam", @@ -5872,8 +6993,8 @@ "deleted": "Excluído", "delivery-method": { "delivery-method": "Método de entrega", - "email": "Email", - "email-preview": "Visualização de notificação por Email", + "email": "E-mail", + "email-preview": "Pré-visualização da notificação por e-mail", "slack": "Slack", "slack-preview": "Visualização de notificação do Slack", "microsoft-teams": "Microsoft Teams", @@ -5889,7 +7010,7 @@ "delivery-method-not-configure-contact": "O método de entrega não está configurado. Entre em contato com o administrador do sistema.", "delivery-methods": "Métodos de entrega", "attach-report": "Anexar relatório", - "attach-report-hint": "Gerar e anexar arquivo de relatório ao Email ou mensagem do Slack. Atualmente aceito apenas para os métodos de entrega 'Email' e 'Slack'.", + "attach-report-hint": "Gerar e anexar um arquivo de relatório a um e-mail ou a uma mensagem do Slack. Atualmente, esse recurso está disponível apenas para os métodos de entrega 'E-mail' e 'Slack'.", "description": "Descrição", "device-activity-trigger-settings": "Configurações do gatilho de atividade do dispositivo", "device-list-rule-hint": "Se o campo estiver vazio, o gatilho será aplicado a todos os dispositivos", @@ -5949,9 +7070,10 @@ "create-new-template": "Criar um novo!", "not-found-slack-recipient": "Destinatário Slack não encontrado", "notification": "Notificação", + "notifications": "Notificações", "notification-center": "Central de notificações", "notification-tap-action": "Ação ao tocar na notificação", - "notification-tap-action-hint": "Se não estiver habilitado, o Dashboard de alarme padrão será usado", + "notification-tap-action-hint": "Se não estiver habilitado, será usado o dashboard de alarmes padrão", "notify": "notificar", "notify-again": "Notificar novamente", "notify-alarm-action": { @@ -5977,12 +7099,12 @@ "recipient": "Destinatário", "recipient-group": "Grupo de destinatários", "recipient-type": { - "affected-tenant-administrators": "Administradores do tenant afetado", + "affected-tenant-administrators": "Administradores dos locatários afetados", "affected-user": "Usuário afetado", "all-users": "Todos os usuários", "customer-users": "Usuários do cliente", "system-administrators": "Administradores do sistema", - "tenant-administrators": "Administradores do tenant", + "tenant-administrators": "Administradores do locatário", "user-filters": "Filtro de usuário", "user-group-list": "Lista de grupos de usuários", "user-list": "Lista de usuários", @@ -6029,7 +7151,7 @@ "sent": "Enviado", "setup": "Configurar", "notification-sent": "Notificações / Enviadas", - "set-entity-from-notification": "Definir entidade da notificação para o estado do Dashboard", + "set-entity-from-notification": "Definir a entidade da notificação no estado do dashboard", "slack-chanel-type": "Tipo de canal do Slack", "slack-chanel-types": { "direct": "Mensagem direta", @@ -6055,6 +7177,8 @@ "entities-limit": "Limite de entidades", "entities-limit-increase-request": "Solicitação de aumento do limite de entidades", "addon-access-error": "Erro de acesso a complemento/funcionalidade", + "addon-access-request": "Solicitação de acesso a complemento/funcionalidade", + "plan-upgrade-request": "Solicitação de upgrade de plano", "entity-action": "Ação de entidade", "general": "Geral", "integration-lifecycle-event": "Evento de ciclo de vida de integração", @@ -6072,8 +7196,8 @@ }, "templates": "Modelos", "notification-templates": "Notificações / Modelos", - "tenant-profiles-list-rule-hint": "Se o campo estiver vazio, o gatilho será aplicado a todos os perfis de tenant", - "tenants-list-rule-hint": "Se o campo estiver vazio, o gatilho será aplicado a todos os tenants", + "tenant-profiles-list-rule-hint": "Se o campo estiver vazio, o gatilho será aplicado a todos os perfis do locatário", + "tenants-list-rule-hint": "Se o campo estiver vazio, o gatilho será aplicado a todos os locatários", "threshold": "Limite", "theme-color": "Cor do tema", "time": "Hora", @@ -6232,16 +7356,16 @@ "get-new-code": "Obter novo código", "main-2fa-method": "Usar como método principal de autenticação de dois fatores", "dialog": { - "activation-step-description-email": "Na próxima vez que fizer login, será solicitado que insira o código de segurança que será enviado para seu endereço de email.", + "activation-step-description-email": "Na próxima vez que fizer login, será solicitado que insira o código de segurança que será enviado para seu endereço de e-mail.", "activation-step-description-sms": "Na próxima vez que fizer login, será solicitado que insira o código de segurança que será enviado para o número de telefone.", "activation-step-description-totp": "Na próxima vez que fizer login, será necessário fornecer um código de autenticação de dois fatores.", "activation-step-label": "Ativação", "backup-code-description": "Imprima os códigos para tê-los à mão quando precisar usá-los para fazer login em sua conta. Você pode usar cada código de backup uma vez.", "backup-code-warn": "Ao sair desta página, esses códigos não poderão ser exibidos novamente. Armazene-os com segurança usando as opções abaixo.", "download-txt": "Baixar (txt)", - "email-step-description": "Insira um email para usar como autenticador.", - "email-step-label": "Email", - "enable-email-title": "Ativar autenticador por email", + "email-step-description": "Insira um e-mail para usar como autenticador.", + "email-step-label": "E-mail", + "enable-email-title": "Ativar autenticador por e-mail", "enable-sms-title": "Ativar autenticador por SMS", "enable-totp-title": "Ativar aplicativo autenticador", "enter-verification-code": "Insira o código de 6 dígitos aqui", @@ -6263,9 +7387,9 @@ "verification-step-label": "Verificação" }, "provider": { - "email": "Email", - "email-description": "Use um código de segurança enviado para seu endereço de email para autenticar.", - "email-hint": "Códigos de autenticação são enviados por email para {{ info }}", + "email": "E-mail", + "email-description": "Use um código de segurança enviado para seu endereço de e-mail para autenticar.", + "email-hint": "Códigos de autenticação são enviados por e-mail para {{ info }}", "sms": "SMS", "sms-description": "Use seu telefone para autenticar. Enviaremos um código de segurança via SMS quando você fizer login.", "sms-hint": "Códigos de autenticação são enviados por mensagem de texto para {{ info }}", @@ -6374,11 +7498,12 @@ "resource-library-details": "Detalhes do recurso", "resource-type": "Tipo de recurso", "resources-library": "Biblioteca de recursos", + "files": "Arquivos", "search": "Pesquisar recursos", "selected-resources": "{ count, plural, =1 {1 recurso} other {# recursos} } selecionado(s)", "system": "Sistema", "title": "Título", - "title-required": "Título é obrigatório.", + "title-required": "O título é obrigatório.", "title-max-length": "Título deve ter menos de 256 caracteres", "type": { "jks": "JKS", @@ -6416,6 +7541,8 @@ "drop-resource-file-or": "Arraste e solte um arquivo JavaScript ou", "javascript-library": "Biblioteca JavaScript", "javascript-type": "Tipo JavaScript", + "scripts": "Scripts", + "script-type": "Tipo de script", "javascript-resource-details": "Detalhes do recurso JavaScript", "javascript-resource-is-in-use": "Recurso JavaScript está sendo usado por outras entidades", "javascript-resources-are-in-use": "Recursos JavaScript estão sendo usados por outras entidades", @@ -6467,6 +7594,7 @@ "create-new-rulechain": "Criar nova cadeia de regras", "rulechain-file": "Arquivo de cadeia de regras", "invalid-rulechain-file-error": "Não foi possível importar a cadeia de regras: estrutura de dados da cadeia de regras inválida.", + "rulechain-not-found-warning": "Cadeia de regras padrão não encontrada. O perfil foi salvo sem ela — você pode atribuí-la nas configurações do perfil.", "copyId": "Copiar ID da cadeia de regras", "idCopiedMessage": "ID da cadeia de regras foi copiado para a área de transferência", "select-rulechain": "Selecionar cadeia de regras", @@ -6478,26 +7606,36 @@ "selected-rulechains": "{ count, plural, =1 {1 cadeia de regras} other {# cadeias de regras} } selecionada(s)", "open-rulechain": "Abrir cadeia de regras", "edge-template-root": "Raiz do template", - "assign-to-edge": "Atribuir ao edge", - "edge-rulechain": "Cadeia de regras do edge", - "unassign-rulechain-from-edge-text": "Após a confirmação, a cadeia de regras será desatribuída e não estará acessível pelo edge.", - "unassign-rulechains-from-edge-title": "Tem certeza de que deseja desatribuir { count, plural, =1 {1 cadeia de regras} other {# cadeias de regras} }?", - "unassign-rulechains-from-edge-text": "Após a confirmação, todas as cadeias de regras selecionadas serão desatribuídas e não estarão acessíveis pelo edge.", - "assign-rulechain-to-edge-title": "Atribuir cadeia(s) de regras ao edge", - "assign-rulechain-to-edge-text": "Selecione as cadeias de regras para atribuir ao edge", - "set-edge-template-root-rulechain": "Definir cadeia de regras como raiz do template do edge", - "set-edge-tscheduler-eventemplate-root-rulechain": "Definir cadeia de regras como raiz do template do edge", - "set-edge-template-root-rulechain-title": "Tem certeza de que deseja definir a cadeia de regras '{{ruleChainName}}' como raiz do template do edge?", - "set-edge-template-root-rulechain-text": "Após a confirmação, a cadeia de regras se tornará a raiz do template do edge e será a cadeia de regras raiz para os edges criados.", + "assign-to-edge": "Atribuir ao Edge", + "edge-rulechain": "Cadeia de regras do Edge", + "unassign-rulechain-from-edge-text": "Após a confirmação, a atribuição da cadeia de regras será removida e ela não estará acessível pelo Edge.", + "unassign-rulechains-from-edge-title": "Tem certeza de que deseja cancelar a atribuição de { count, plural, =1 {1 cadeia de regras} other {# cadeias de regras} }?", + "unassign-rulechains-from-edge-text": "Após a confirmação, todas as cadeias de regras selecionadas terão a atribuição cancelada e não ficarão mais acessíveis para o Edge.", + "assign-rulechain-to-edge-title": "Atribuir cadeia(s) de regras ao Edge", + "assign-rulechain-to-edge-text": "Selecione as cadeias de regras a serem atribuídas ao Edge", + "set-edge-template-root-rulechain": "Definir a cadeia de regras como raiz do modelo do Edge", + "set-edge-tscheduler-eventemplate-root-rulechain": "Definir a cadeia de regras como raiz do modelo do Edge", + "set-edge-template-root-rulechain-title": "Tem certeza de que deseja definir a cadeia de regras '{{ruleChainName}}' como raiz do modelo do Edge?", + "set-edge-template-root-rulechain-text": "Após a confirmação, a cadeia de regras se tornará a raiz do modelo do Edge e será a cadeia de regras raiz dos Edges recém-criados.", "invalid-rulechain-type-error": "Não foi possível importar a cadeia de regras: tipo de cadeia de regras inválido. O tipo esperado é {{expectedRuleChainType}}.", "set-auto-assign-to-edge": "Atribuir cadeia de regras ao(s) edge(s) na criação", - "set-auto-assign-to-edge-title": "Tem certeza de que deseja atribuir a cadeia de regras do edge '{{ruleChainName}}' ao(s) edge(s) na criação?", - "set-auto-assign-to-edge-text": "Após a confirmação, a cadeia de regras do edge será automaticamente atribuída ao(s) edge(s) na criação.", + "set-auto-assign-to-edge-title": "Tem certeza de que deseja atribuir a cadeia de regras do Edge '{{ruleChainName}}' ao(s) Edge(s) na criação?", + "set-auto-assign-to-edge-text": "Após a confirmação, a cadeia de regras do Edge será atribuída automaticamente ao(s) Edge(s) na criação.", "unset-auto-assign-to-edge": "Não atribuir cadeia de regras ao(s) edge(s) na criação", - "unset-auto-assign-to-edge-title": "Tem certeza de que não deseja atribuir a cadeia de regras do edge '{{ruleChainName}}' ao(s) edge(s) na criação?", - "unset-auto-assign-to-edge-text": "Após a confirmação, a cadeia de regras do edge não será mais automaticamente atribuída ao(s) edge(s) na criação.", - "unassign-rulechain-title": "Tem certeza de que deseja desatribuir a cadeia de regras '{{ruleChainName}}'?", - "unassign-rulechains": "Desatribuir cadeias de regras" + "unset-auto-assign-to-edge-title": "Tem certeza de que não deseja atribuir a cadeia de regras do Edge '{{ruleChainName}}' ao(s) Edge(s) na criação?", + "unset-auto-assign-to-edge-text": "Após a confirmação, a cadeia de regras do Edge não será mais atribuída automaticamente ao(s) Edge(s) na criação.", + "unassign-rulechain-title": "Tem certeza de que deseja cancelar a atribuição da cadeia de regras '{{ruleChainName}}'?", + "unassign-rulechains": "Cancelar atribuição de cadeias de regras", + "add-note": "Adicionar nota", + "paste-note": "Colar nota", + "note": "Nota", + "edit-note": "Editar nota", + "note-content": "Conteúdo Markdown/HTML", + "note-details": "Detalhes da nota", + "note-background-color": "Cor de fundo", + "note-border": "Borda", + "note-apply-default-markdown-style": "Aplicar estilo Markdown padrão", + "note-custom-css": "CSS do conteúdo da nota" }, "rulenode": { "rule-node-events": "Eventos do nó de regra", @@ -6591,8 +7729,8 @@ "entity-view-name-pattern": "Nome da visualização de entidade", "customer-title-pattern": "Título do cliente", "dashboard-name-pattern": "Título do dashboard", - "user-name-pattern": "Email do usuário", - "edge-name-pattern": "Nome do edge", + "user-name-pattern": "E-mail do usuário", + "edge-name-pattern": "Nome do Edge", "entity-name-pattern-required": "O padrão de nome é obrigatório", "entity-name-pattern-hint": "O campo de padrão de nome suporta templatização. Use $[messageKey] para extrair o valor da mensagem e ${metadataKey} para extrair o valor dos metadados.", "copy-message-type": "Copiar tipo de mensagem", @@ -6610,8 +7748,8 @@ "customer-name-pattern-required": "O título do cliente é obrigatório", "customer-name-pattern-hint": "Use $[messageKey] para extrair o valor da mensagem e ${metadataKey} para extrair o valor dos metadados.", "create-customer-if-not-exists": "Criar novo cliente se não existir", - "unassign-from-customer": "Desatribuir de cliente específico se o originador for um dashboard", - "unassign-from-customer-tooltip": "Apenas dashboards podem ser atribuídos a múltiplos clientes ao mesmo tempo. \nSe o originador da mensagem for um dashboard, é necessário especificar explicitamente o título do cliente para desatribuir.", + "unassign-from-customer": "Cancelar atribuição a cliente específico se o originador for um dashboard", + "unassign-from-customer-tooltip": "Apenas dashboards podem ser atribuídos a múltiplos clientes ao mesmo tempo. \nSe o originador da mensagem for um dashboard, é necessário especificar explicitamente o título do cliente cuja atribuição será cancelada.", "customer-cache-expiration": "Tempo de expiração do cache de clientes (seg)", "customer-cache-expiration-hint": "Especifica o intervalo de tempo máximo permitido para armazenar os registros de clientes encontrados. O valor 0 significa que os registros nunca expirarão.", "customer-cache-expiration-required": "O tempo de expiração do cache de clientes é obrigatório.", @@ -6754,7 +7892,7 @@ "originator-source": "Fonte do originador", "new-originator": "Novo originador", "originator-customer": "Cliente", - "originator-tenant": "Tenant", + "originator-tenant": "Locatário", "originator-related": "Entidade relacionada", "originator-alarm-originator": "Originador do alarme", "originator-entity": "Entidade por padrão de nome", @@ -6767,7 +7905,7 @@ "transform": "Transformar", "default-ttl": "TTL padrão", "default-ttl-required": "O TTL padrão é obrigatório.", - "default-ttl-hint": "O nó de regra buscará o valor de Time-to-Live (TTL) nos metadados da mensagem. Se nenhum valor estiver presente, o padrão será o TTL especificado na configuração. Se o valor for definido como 0, o TTL da configuração do perfil do tenant será aplicado.", + "default-ttl-hint": "O nó de regra obterá o valor de tempo de vida (TTL) dos metadados da mensagem. Se nenhum valor estiver presente, será usado o TTL especificado na configuração. Se o valor for definido como 0, será aplicado o TTL da configuração do perfil do locatário.", "default-ttl-zero-hint": "O TTL não será aplicado se seu valor for definido como 0.", "min-default-ttl-message": "Apenas o TTL mínimo de 0 é permitido.", "generation-parameters": "Parâmetros de geração", @@ -6778,20 +7916,20 @@ "period-seconds-required": "O período é obrigatório.", "generation-frequency-seconds": "Frequência de geração em segundos", "generation-frequency-required": "A frequência de geração é obrigatória.", - "min-generation-frequency-message": "O mínimo permitido é 60 segundos.", + "min-generation-frequency-message": "É permitido no mínimo 1 segundo.", "script-lang-tbel": "TBEL", "script-lang-js": "JS", "use-metadata-period-in-seconds-patterns": "Usar padrão de período em segundos", "use-metadata-period-in-seconds-patterns-hint": "Se selecionado, o nó de regra usa o padrão de intervalo de período em segundos dos metadados ou dados da mensagem, assumindo que os intervalos estão em segundos.", "period-in-seconds-pattern": "Padrão de período em segundos", "period-in-seconds-pattern-required": "O padrão de período em segundos é obrigatório", - "min-period-seconds-message": "O período mínimo permitido é 60 segundos.", + "min-period-seconds-message": "É permitido um período mínimo de 1 segundo.", "originator": "Originador", "message-body": "Corpo da mensagem", "message-metadata": "Metadados da mensagem", "generate": "Gerar", "current-rule-node": "Nó de regra atual", - "current-tenant": "Tenant atual", + "current-tenant": "Locatário atual", "generator-function": "Função geradora", "test-generator-function": "Testar função geradora", "generator": "Gerador", @@ -6803,7 +7941,7 @@ "transformer": "Transformador", "alarm-create-condition": "Condição de criação de alarme", "test-condition-function": "Testar função de condição", - "alarm-clear-condition": "Condição de limpeza de alarme", + "alarm-clear-condition": "Condição de resolução do alarme", "alarm-details-builder": "Construtor de detalhes do alarme", "test-details-function": "Testar função de detalhes", "alarm-type": "Tipo de alarme", @@ -6817,9 +7955,9 @@ "no-alarm-status-matching": "Nenhum status de alarme correspondente foi encontrado.", "no-alarm-severity-matching": "Nenhuma severidade de alarme correspondente foi encontrada.", "propagate": "Propagar alarme para entidades relacionadas", - "propagate-to-owner": "Propagar alarme para o proprietário da entidade (Cliente ou Tenant)", + "propagate-to-owner": "Propagar alarme para o proprietário da entidade (cliente ou locatário)", "propagate-to-owner-hierarchy": "Propagar alarme para a hierarquia de proprietários da entidade", - "propagate-to-tenant": "Propagar alarme para o Tenant", + "propagate-to-tenant": "Propagar alarme para o locatário", "condition": "Condição", "details": "Detalhes", "to-string": "Para string", @@ -6839,8 +7977,8 @@ "subject-template-required": "O template de Assunto é obrigatório", "body-template": "Corpo", "body-template-required": "O template de Corpo é obrigatório", - "dynamic-mail-body-type": "Tipo de corpo de email dinâmico", - "mail-body-type": "Tipo de corpo do email", + "dynamic-mail-body-type": "Tipo de corpo de e-mail dinâmico", + "mail-body-type": "Tipo de corpo do e-mail", "body-type-template": "Template de tipo de corpo", "reply-routing-configuration": "Configuração de roteamento de resposta", "rpc-reply-routing-configuration-hint": "Estes parâmetros de configuração especificam os nomes das chaves de metadados usados para identificar o serviço, a sessão e a solicitação para o envio de uma resposta.", @@ -6854,8 +7992,9 @@ "endpoint-url-pattern": "Padrão de URL do Endpoint", "endpoint-url-pattern-required": "O padrão de URL do Endpoint é obrigatório", "request-method": "Método da solicitação", - "use-simple-client-http-factory": "Usar factory HTTP de cliente simples", "ignore-request-body": "Sem corpo de solicitação", + "request-body-template": "Modelo do corpo da requisição", + "request-body-template-hint": "Use ${metadataKey} para metadados e $[messageKey] para valores da mensagem. Se estiver vazio, o payload da mensagem será usado como corpo da requisição. Para payloads que não sejam JSON, habilite 'Converter para texto simples'.

    Você pode injetar um segredo usando o placeholder ${secret:name;type:TYPE}, em que 'name' é o identificador do segredo e 'type' é TEXT ou TEXT_FILE. Isso é útil em campos de configuração do nó de regra que não oferecem suporte direto a 'Usar segredo'. Exemplo: ${secret:senha do locatário;type:TEXT}.", "parse-to-plain-text": "Converter para texto simples", "parse-to-plain-text-hint": "Se selecionado, o payload da mensagem do corpo da solicitação será transformado de string JSON para texto simples, por exemplo, msg = \"Hello,\\t\"world\"\" será convertido para Hello, \"world\"", "read-timeout": "Tempo Limite de leitura em milissegundos", @@ -6865,7 +8004,7 @@ "max-response-size": "Tamanho máximo de resposta (em KB)", "max-response-size-hint": "A quantidade máxima de memória alocada para armazenamento em buffer de dados ao decodificar ou codificar mensagens HTTP, como payloads JSON ou XML", "headers": "Cabeçalhos", - "headers-hint": "Use ${metadataKey} para valor dos metadados, $[messageKey] para valor do corpo da mensagem nos campos de cabeçalho/valor", + "headers-hint": "Use ${metadataKey} para o valor dos metadados e $[messageKey] para o valor do corpo da mensagem nos campos de cabeçalho/valor.

    Você pode injetar um segredo usando o placeholder ${secret:name;type:TYPE}, onde 'name' é o identificador do segredo e 'type' é TEXT ou TEXT_FILE. Isso é útil em campos de configuração do nó de regra que não oferecem suporte direto a 'Usar segredo'. Exemplo: ${secret:Header;type:TEXT}.", "header": "Cabeçalho", "header-required": "O cabeçalho é obrigatório", "value": "Valor", @@ -6879,6 +8018,7 @@ "bootstrap-servers": "Servidores de bootstrap", "bootstrap-servers-required": "O valor dos servidores bootstrap é obrigatório", "other-properties": "Outras propriedades", + "other-properties-empty": "Nenhuma outra propriedade configurada", "key": "Chave", "key-required": "A chave é obrigatória", "retries": "Número de tentativas automáticas em caso de falha", @@ -6916,6 +8056,7 @@ "handshake-timeout-ms": "Tempo Limite de handshake (ms)", "min-handshake-timeout-ms-message": "Apenas 0 ms como valor mínimo é permitido.", "client-properties": "Propriedades do cliente", + "client-properties-empty": "Nenhuma propriedade do cliente configurada", "queue-url-pattern": "Padrão de URL da fila", "queue-url-pattern-required": "O padrão de URL da fila é obrigatório", "delay-seconds": "Atraso (segundos)", @@ -6933,6 +8074,7 @@ "pubsub-topic-name": "Nome do tópico", "pubsub-topic-name-required": "O nome do tópico é obrigatório", "message-attributes": "Atributos da mensagem", + "message-attributes-empty": "Nenhum atributo da mensagem configurado", "message-attributes-hint": "Use ${metadataKey} para valor dos metadados, $[messageKey] para valor do corpo da mensagem nos campos de nome/valor", "connect-timeout": "Tempo limite de conexão (seg)", "connect-timeout-required": "O tempo limite de conexão é obrigatório.", @@ -7010,7 +8152,9 @@ "group-cache-expiration-hint": "Especifica o intervalo de tempo máximo permitido para armazenar os registros de grupos de entidades encontrados. O valor 0 significa que os registros nunca expirarão.", "remove-from-current-groups": "Remover dos grupos atuais", "use-report-config-from-message": "Usar configuração de relatório da mensagem", + "use-report-config-from-message-hint": "Se habilitado, o nó de regra obterá a configuração de geração do relatório a partir da mensagem recebida; caso contrário, será usada a configuração especificada abaixo.", "use-system-reports-server": "Usar servidor de relatórios do sistema", + "use-system-reports-server-hint": "Se habilitado, o nó de regra usará a URL do endpoint do servidor de relatórios definida na configuração do sistema; caso contrário, será usada a URL especificada abaixo.", "reports-server-endpoint-url": "URL do Endpoint do servidor de relatórios", "reports-server-endpoint-url-is-required": "A URL do Endpoint do servidor de relatórios é obrigatória.", "tls-version": "Versão TLS", @@ -7023,7 +8167,6 @@ "proxy-port-range": "A porta do proxy deve estar no intervalo de 1 a 65535.", "proxy-user": "Usuário do proxy", "proxy-password": "Senha do proxy", - "proxy-scheme": "Esquema do proxy", "numbers-to-template": "Números de telefone para o template", "numbers-to-template-required": "Números de telefone para o template são obrigatórios", "numbers-to-template-hint": "Números de telefone separados por vírgula. Use ${metadataKey} para valor de metadados, $[messageKey] para valor do corpo da mensagem", @@ -7124,7 +8267,7 @@ "create-owner-if-not-exists-hint": "Se habilitado e o cliente com o título especificado não existir, o nó de regra criará um novo cliente como cliente de nível superior.", "create-new-customer-if-not-exists-hint": "Se habilitado e o cliente com o título especificado não existir, o nó de regra criará um novo cliente.", "create-owner-on-originator-level": "Criar novo cliente no mesmo nível que o originador da mensagem", - "create-owner-on-originator-level-hint": "Se habilitado e o proprietário do originador for um tenant, o nó de regra criará um cliente de nível superior. Se habilitado e o proprietário do originador for um cliente, o nó de regra criará seu sub-cliente.", + "create-owner-on-originator-level-hint": "Se habilitado e o proprietário do originador for o locatário, o nó de regra criará um cliente de nível superior. Se habilitado e o proprietário do originador for um cliente, o nó de regra criará um subcliente dele.", "owner-cache-expiration": "Tempo de expiração do cache de proprietários (seg)", "owner-cache-expiration-required": "O tempo de expiração do cache de proprietários é obrigatório.", "owner-cache-expiration-range": "O tempo de expiração do cache de proprietários deve ser maior ou igual a 0.", @@ -7140,8 +8283,8 @@ "entity-details-address2": "Endereço2", "entity-details-additional_info": "Informações adicionais", "entity-details-phone": "Telefone", - "entity-details-email": "Email", - "email-sender": "Remetente do email", + "entity-details-email": "E-mail", + "email-sender": "Remetente do e-mail", "fields-to-check": "Campos a verificar", "add-detail": "Adicionar detalhe", "check-all-keys-tooltip": "Se habilitado, verifica a presença de todos os campos listados nos nomes de campos da mensagem e dos metadados dentro da mensagem recebida e seus metadados.", @@ -7180,7 +8323,7 @@ "range-unit-nautical-mile": "Milha náutica", "range-units": "Unidades de alcance", "range-units-required": "As unidades de alcance são obrigatórias.", - "range": "Alcance", + "range": "Intervalo", "range-required": "O alcance é obrigatório.", "polygon-definition": "Definição do polígono", "polygon-definition-required": "A definição do polígono é obrigatória.", @@ -7226,9 +8369,9 @@ "use-cache": "Usar cache para o valor mais recente", "tell-failure-if-delta-is-negative": "Indicar falha se o delta for negativo", "add-period-between-msgs": "Adicionar período entre mensagens", - "search-entity-group-for-tenant-only": "Pesquisar grupo de entidades somente no nível do Tenant", + "search-entity-group-for-tenant-only": "Pesquisar grupo de entidades somente no nível do locatário", "consider-message-originator-as-a-group-owner": "Considerar o originador como proprietário do grupo", - "consider-message-originator-as-a-group-owner-hint": "Por padrão, a pesquisa de grupo começa no mesmo nível do proprietário do originador da mensagem e sobe na hierarquia até o nível do tenant se o grupo não for encontrado. Se habilitado e o originador for um Tenant ou Cliente, a pesquisa começa a partir do nível do originador.", + "consider-message-originator-as-a-group-owner-hint": "Por padrão, a pesquisa de grupo começa no mesmo nível do proprietário do originador da mensagem e sobe na hierarquia até o nível do locatário se o grupo não for encontrado. Se habilitado e o originador for um locatário ou cliente, a pesquisa começa no nível do originador.", "input-value-key": "Chave do valor de entrada", "input-value-key-required": "A chave do valor de entrada é obrigatória.", "output-value-key": "Chave do valor de saída", @@ -7362,7 +8505,7 @@ "related-device-attributes": "Atributos de dispositivos relacionados", "add-selected-attributes-to": "Adicionar atributos selecionados a", "device-profiles": "Perfis do dispositivo", - "mapping-of-tenant": "Mapeamento do tenant", + "mapping-of-tenant": "Mapeamento do locatário", "add-attribute-key": "Adicionar chave de atributo", "message-template": "Template da mensagem", "message-template-required": "O template da mensagem é obrigatório", @@ -7378,13 +8521,13 @@ "message-subject-and-content": "Assunto e conteúdo da mensagem", "template-rules-hint": "Ambos os campos de entrada suportam templatização. Use $[messageKey] para extrair o valor da mensagem e ${metadataKey} para extrair o valor dos metadados da mensagem.", "originator-customer-desc": "Usar o cliente do originador da mensagem recebida como novo originador.", - "originator-tenant-desc": "Usar o tenant atual como novo originador.", + "originator-tenant-desc": "Usar o locatário atual como novo originador.", "originator-related-entity-desc": "Usar entidade relacionada como novo originador. Busca baseada no tipo de relação e direção configurados.", "originator-alarm-originator-desc": "Usar o originador do alarme como novo originador. Somente se o originador da mensagem recebida for uma entidade de alarme.", "originator-entity-by-name-pattern-desc": "Usar entidade buscada do banco de dados como novo originador. Busca baseada no tipo de entidade e no padrão de nome especificado.", "email-from-template-hint": "Use $[messageKey] para extrair o valor da mensagem e ${metadataKey} para extrair o valor dos metadados.", "recipients-block-main-hint": "Lista de endereços separados por vírgula. Todos os campos de entrada suportam templatização. Use $[messageKey] para extrair o valor da mensagem e ${metadataKey} para extrair o valor dos metadados.", - "search-entity-group-for-tenant-only-hint": "Por padrão, a pesquisa de grupo começa no mesmo nível do proprietário do originador da mensagem e sobe na hierarquia até o nível do tenant se o grupo não for encontrado. Se habilitado, a pesquisa é restrita apenas ao nível do tenant, ignorando o comportamento padrão.", + "search-entity-group-for-tenant-only-hint": "Por padrão, a pesquisa de grupo começa no mesmo nível do proprietário do originador da mensagem e sobe na hierarquia até o nível do locatário se o grupo não for encontrado. Se habilitado, a pesquisa fica restrita somente ao nível do locatário, ignorando o comportamento padrão.", "entity-group-is-message-originator-hint": "Se habilitado, o originador da mensagem será considerado como o grupo de entidades usado para buscar entidades. Neste caso, a mensagem recebida será roteada pela cadeia de Falha se o tipo de originador não for um grupo de entidades.", "forward-msg-default-rule-chain": "Encaminhar mensagem para a cadeia de regras padrão do originador", "forward-msg-default-rule-chain-tooltip": "Se habilitado, a mensagem será encaminhada para a cadeia de regras padrão do originador, ou para a cadeia de regras da configuração, se o originador não tiver cadeia de regras padrão definida no perfil da entidade.", @@ -7419,6 +8562,17 @@ "tell-failure-aws-lambda-hint": "O nó de regra força a falha no processamento da mensagem se a execução da função AWS Lambda lançar exceção.", "basic-mode": "Básico", "advanced-mode": "Avançado", + "url-hint": "Insira a URL da requisição. Certifique-se de que os caracteres especiais estejam com codificação percentual.", + "query-params": "Parâmetros de consulta", + "query-params-hint": "Parâmetros de consulta adicionais a serem incluídos na URL da requisição. Tanto os nomes quanto os valores suportam modelos e são codificados de forma estrita (RFC 3986) após a resolução do modelo.", + "query-params-empty": "Nenhum parâmetro de consulta configurado", + "query-params-name": "Nome", + "query-params-value": "Valor", + "query-params-name-required": "O nome é obrigatório", + "query-params-value-required": "O valor é obrigatório", + "headers-empty": "Nenhum cabeçalho configurado", + "request-url": "URL da requisição", + "url": "URL", "save-time-series": { "processing-settings": "Configurações de processamento", "processing-settings-hint": "Defina como as mensagens recebidas são processadas. As configurações básicas de processamento permitem selecionar estratégias pré-configuradas, enquanto as configurações avançadas permitem selecionar estratégias de processamento individuais para cada ação.", @@ -7434,7 +8588,7 @@ "web-sockets-only": "Somente WebSockets" }, "time-series": "Série temporal", - "latest": "Valores mais recentes", + "latest": "Últimos valores", "web-sockets": "WebSockets", "calculated-fields-and-alarm-rules": "Campos calculados e regras de alarme" }, @@ -7475,7 +8629,7 @@ "dynamic": "Dinâmico", "use-body-type-template": "Usar template de tipo de corpo", "plain-text-description": "Texto simples sem formatação especial ou estilização.", - "html-text-description": "Permite usar tags HTML para formatação, links e imagens no corpo do email.", + "html-text-description": "Permite usar tags HTML para formatação, links e imagens no corpo do e-mail.", "dynamic-text-description": "Permite usar o tipo de corpo Texto Simples ou HTML dinamicamente com base no recurso de templatização.", "after-template-evaluation-hint": "Após a avaliação do template, o valor deve ser true para HTML e false para texto simples." }, @@ -7551,6 +8705,7 @@ "copyId": "Copiar ID da função", "idCopiedMessage": "O ID da função foi copiado para a área de transferência", "permissions": "Permissões", + "excluded-permissions": "Permissões excluídas", "role-required": "Função obrigatória", "roles-required": "Funções obrigatórias", "display-type": { @@ -7584,10 +8739,14 @@ "no-owners-matching": "Nenhum proprietário correspondente a '{{owner}}' foi encontrado.", "target-owner-required": "O proprietário do grupo de entidades é obrigatório.", "target-user-group-owner-required": "O proprietário do grupo de usuários é obrigatório.", - "no-group-permissions-text": "Nenhuma permissão de grupo encontrada" + "no-group-permissions-text": "Nenhuma permissão de grupo encontrada", + "permissions-merge-hint": "Para funções genéricas, as operações negadas só têm efeito dentro da mesma função. Se qualquer outra função permitir uma operação, o acesso será concedido." }, "permission": { "permissions-required": "Pelo menos uma entrada de permissão deve ser especificada.", + "resource-duplicate": "Este recurso já foi selecionado", + "operations-required": "É necessário especificar pelo menos uma operação permitida ou negada.", + "operation-overlap": "As operações permitidas e negadas não devem se sobrepor.", "remove-permission": "Remover entrada de permissão", "add-permission": "Adicionar entrada de permissão", "other": "Outro", @@ -7608,8 +8767,8 @@ "DASHBOARD": "Dashboard", "ENTITY_VIEW": "Visualização de entidade", "EDGE": "Edge", - "TENANT": "Tenant", - "TENANT_PROFILE": "Perfil do tenant", + "TENANT": "Locatário", + "TENANT_PROFILE": "Perfil do locatário", "RULE_CHAIN": "Cadeia de regras", "USER": "Usuário", "WIDGETS_BUNDLE": "Conjunto de widgets", @@ -7647,12 +8806,22 @@ "SECRET": "Segredo", "JOB": "Tarefa", "AI_MODEL": "Modelo de IA", - "API_KEY": "Chave de API" + "AI": "IA", + "API_KEY": "Chave de API", + "AGENT": "Agent", + "AGENT_GROUP": "Grupo de Agents", + "AGENT_PROFILE": "Perfil do Agent", + "AGENT_APPLICATION": "Aplicação do Agent", + "AGENT_APP_PROFILE": "Perfil de aplicação do Agent", + "AGENT_APP_UNIT": "Unidade da aplicação do Agent" } }, "operation": { "operation": "Operação", "operations": "Operações", + "allowed": "Permitida", + "denied": "Negada", + "not-set": "Não definida", "operations-required": "Pelo menos uma operação deve ser especificada.", "enter-operation": "Inserir operação", "no-operations-matching": "Nenhuma operação correspondente a '{{operation}}' foi encontrada.", @@ -7663,7 +8832,7 @@ "WRITE": "Escrever", "DELETE": "Excluir", "ASSIGN_TO_CUSTOMER": "Atribuir ao cliente", - "UNASSIGN_FROM_CUSTOMER": "Remover atribuição do cliente", + "UNASSIGN_FROM_CUSTOMER": "Cancelar atribuição ao cliente", "RPC_CALL": "Chamada RPC", "READ_CREDENTIALS": "Ler credenciais", "WRITE_CREDENTIALS": "Escrever credenciais", @@ -7677,7 +8846,7 @@ "ADD_TO_GROUP": "Adicionar ao grupo", "REMOVE_FROM_GROUP": "Remover do grupo", "SHARE_GROUP": "Compartilhar grupo", - "ASSIGN_TO_TENANT": "Atribuir ao tenant", + "ASSIGN_TO_TENANT": "Atribuir ao locatário", "READ_CALCULATED_FIELD": "Ler campo calculado e regras de alarme", "WRITE_CALCULATED_FIELD": "Escrever campo calculado e regras de alarme" } @@ -7782,8 +8951,6 @@ "single-entity": "Entidade única", "group-entities": "Entidades do grupo", "entities-group-owner": "Proprietário do grupo de entidades", - "single-device": "Dispositivo único", - "group-of-devices": "Grupo de dispositivos", "devices-group-owner": "Proprietário do grupo de dispositivos", "message-body": "Corpo da mensagem", "target": "Destino", @@ -7814,7 +8981,7 @@ "report": { "general-report-settings": "Configurações gerais do relatório", "target-dashboard": "Dashboard de destino", - "email-config": "Configuração de email", + "email-config": "Configuração de e-mail", "dashboard-state-param": "Valor do parâmetro de estado do dashboard", "base-url": "URL base", "base-url-required": "A URL base é obrigatória.", @@ -7827,7 +8994,7 @@ "customer-user-credentials": "Credenciais do usuário cliente", "customer-user-credentials-required": "As credenciais do usuário cliente são obrigatórias", "generate-test-report": "Gerar relatório de teste", - "send-email": "Enviar email", + "send-email": "Enviar e-mail", "from": "De", "from-required": "O campo 'De' é obrigatório.", "to": "Para", @@ -7867,7 +9034,14 @@ "download": "Baixar relatório", "report-filter": "Filtro de relatório", "no-reports-matching": "Nenhum relatório correspondente a '{{entity}}' foi encontrado.", - "report-required": "O relatório é obrigatório" + "report-required": "O relatório é obrigatório", + "generate-report": "Gerar relatório", + "generate-report-started": "A geração do relatório foi iniciada. Atualize a página se o relatório não aparecer.", + "public-status": "Acesso público", + "manage-public-access": "Gerenciar acesso público", + "public-status-hint": "Quando habilitado, qualquer pessoa com o link público do relatório pode baixar o relatório.", + "public-link-text": "Este relatório é público. Compartilhe o link abaixo - qualquer pessoa com ele pode baixar o relatório sem autorização.", + "copy-public-link": "Copiar link" }, "report-template": { "report-template": "Modelo de relatório", @@ -8203,8 +9377,8 @@ "strategies": { "sequential-by-originator-label": "Sequencial por originador", "sequential-by-originator-hint": "A nova mensagem para, por ex., o dispositivo A não é enviada até que a mensagem anterior para o dispositivo A seja confirmada", - "sequential-by-tenant-label": "Sequencial por tenant", - "sequential-by-tenant-hint": "A nova mensagem para, por ex., o tenant A não é enviada até que a mensagem anterior para o tenant A seja confirmada", + "sequential-by-tenant-label": "Sequencial por locatário", + "sequential-by-tenant-hint": "A nova mensagem para, por ex., o locatário A não é enviada até que a mensagem anterior para o locatário A seja confirmada", "sequential-label": "Sequencial", "sequential-hint": "A nova mensagem não é enviada até que a mensagem anterior seja confirmada", "burst-label": "Burst", @@ -8238,7 +9412,7 @@ "general": "Erro geral do servidor", "authentication": "Erro de autenticação", "jwt-token-expired": "Token JWT expirado", - "tenant-trial-expired": "Período de avaliação do tenant expirado", + "tenant-trial-expired": "Período de avaliação do locatário expirado", "credentials-expired": "Credenciais expiradas", "permission-denied": "Permissão negada", "invalid-arguments": "Argumentos inválidos", @@ -8249,77 +9423,77 @@ "entities-limit-exceeded": "Limite de entidades excedido" }, "tenant": { - "tenant": "Tenant", - "tenants": "Tenants", - "management": "Gerenciamento de tenants", - "add": "Adicionar tenant", + "tenant": "Locatário", + "tenants": "Locatários", + "management": "Gerenciamento de locatários", + "add": "Adicionar locatário", "admins": "Administradores", - "manage-tenant-admins": "Gerenciar administradores do tenant", - "delete": "Excluir tenant", - "add-tenant-text": "Adicionar novo tenant", - "no-tenants-text": "Nenhum tenant encontrado", - "tenant-details": "Detalhes do tenant", + "manage-tenant-admins": "Gerenciar administradores do locatário", + "delete": "Excluir locatário", + "add-tenant-text": "Adicionar novo locatário", + "no-tenants-text": "Nenhum locatário encontrado", + "tenant-details": "Detalhes do locatário", "title-max-length": "O título deve ter menos de 256 caracteres", - "delete-tenant-title": "Tem certeza de que deseja excluir o tenant '{{tenantTitle}}'?", - "delete-tenant-text": "Atenção: após a confirmação, o tenant e todos os dados relacionados se tornarão irrecuperáveis.", - "delete-tenants-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 tenant} other {# tenants} }?", - "delete-tenants-action-title": "Excluir { count, plural, =1 {1 tenant} other {# tenants} }", - "delete-tenants-text": "Atenção: após a confirmação, todos os tenants selecionados serão removidos e todos os dados relacionados se tornarão irrecuperáveis.", + "delete-tenant-title": "Tem certeza de que deseja excluir o locatário '{{tenantTitle}}'?", + "delete-tenant-text": "Cuidado, após a confirmação o locatário e todos os dados relacionados se tornarão irrecuperáveis.", + "delete-tenants-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 locatário} other {# locatários} }?", + "delete-tenants-action-title": "Excluir { count, plural, =1 {1 locatário} other {# locatários} }", + "delete-tenants-text": "Cuidado, após a confirmação todos os locatários selecionados serão removidos e todos os dados relacionados se tornarão irrecuperáveis.", "title": "Título", "title-required": "O título é obrigatório.", "description": "Descrição", "details": "Detalhes", "events": "Eventos", - "copyId": "Copiar ID do tenant", - "idCopiedMessage": "O ID do tenant foi copiado para a área de transferência", - "select-tenant": "Selecionar tenant", - "no-tenants-matching": "Nenhum tenant correspondente a '{{entity}}' foi encontrado.", - "tenant-required": "Tenant é obrigatório", + "copyId": "Copiar ID do locatário", + "idCopiedMessage": "O ID do locatário foi copiado para a área de transferência", + "select-tenant": "Selecionar locatário", + "no-tenants-matching": "Nenhum locatário correspondente a '{{entity}}' foi encontrado.", + "tenant-required": "O locatário é obrigatório", "allow-white-labeling": "Permitir personalização de marca", "allow-customer-white-labeling": "Permitir personalização de marca pelo cliente", - "search": "Pesquisar tenants", - "selected-tenants": "{ count, plural, =1 {1 tenant} other {# tenants} } selecionado(s)", + "search": "Pesquisar locatários", + "selected-tenants": "{ count, plural, =1 {1 locatário selecionado} other {# locatários selecionados} }", "isolated-tb-rule-engine": "Usar filas isoladas do ThingsBoard Motor de regras", - "isolated-tb-rule-engine-details": "Cada tenant terá filas dedicadas do Motor de regras" + "isolated-tb-rule-engine-details": "Cada locatário terá filas dedicadas do mecanismo de regras" }, "tenant-profile": { - "tenant-profile": "Perfil do tenant", - "tenant-profiles": "Perfis do tenant", - "add": "Adicionar perfil do tenant", + "tenant-profile": "Perfil do locatário", + "tenant-profiles": "Perfis do locatário", + "add": "Adicionar perfil do locatário", "add-profile": "Adicionar perfil", "debug": "Depuração", - "edit": "Editar perfil do tenant", - "tenant-profile-details": "Detalhes do perfil do tenant", - "no-tenant-profiles-text": "Nenhum perfil do tenant encontrado", + "edit": "Editar perfil do locatário", + "tenant-profile-details": "Detalhes do perfil do locatário", + "no-tenant-profiles-text": "Nenhum perfil do locatário encontrado", "name-max-length": "O nome deve ter menos de 256 caracteres", - "search": "Pesquisar perfis do tenant", - "selected-tenant-profiles": "{ count, plural, =1 {1 perfil do tenant} other {# perfis do tenant} } selecionado(s)", - "no-tenant-profiles-matching": "Nenhum perfil do tenant correspondente a '{{entity}}' foi encontrado.", - "tenant-profile-required": "Perfil do tenant é obrigatório", - "idCopiedMessage": "O ID do perfil do tenant foi copiado para a área de transferência", - "set-default": "Definir perfil do tenant como padrão", - "delete": "Excluir perfil do tenant", - "copyId": "Copiar ID do perfil do tenant", + "search": "Pesquisar perfis do locatário", + "selected-tenant-profiles": "{ count, plural, =1 {1 perfil do locatário selecionado} other {# perfis do locatário selecionados} }", + "no-tenant-profiles-matching": "Nenhum perfil do locatário correspondente a '{{entity}}' foi encontrado.", + "tenant-profile-required": "O perfil do locatário é obrigatório", + "idCopiedMessage": "O ID do perfil do locatário foi copiado para a área de transferência", + "set-default": "Definir como perfil do locatário padrão", + "delete": "Excluir perfil do locatário", + "copyId": "Copiar ID do perfil do locatário", "name": "Nome", "name-required": "O nome é obrigatório.", "data": "Dados do perfil", "profile-configuration": "Configuração do perfil", "description": "Descrição", "default": "Padrão", - "delete-tenant-profile-title": "Tem certeza de que deseja excluir o perfil do tenant '{{tenantProfileName}}'?", - "delete-tenant-profile-text": "Atenção: após a confirmação, o perfil do tenant e todos os dados relacionados se tornarão irrecuperáveis.", - "delete-tenant-profiles-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 perfil do tenant} other {# perfis do tenant} }?", - "delete-tenant-profiles-text": "Atenção: após a confirmação, todos os perfis do tenant selecionados serão removidos e todos os dados relacionados se tornarão irrecuperáveis.", - "set-default-tenant-profile-title": "Tem certeza de que deseja tornar o perfil do tenant '{{tenantProfileName}}' o padrão?", - "set-default-tenant-profile-text": "Após a confirmação, o perfil do tenant será marcado como padrão e será utilizado para novos tenants sem perfil especificado.", - "no-tenant-profiles-found": "Nenhum perfil do tenant encontrado.", + "delete-tenant-profile-title": "Tem certeza de que deseja excluir o perfil do locatário '{{tenantProfileName}}'?", + "delete-tenant-profile-text": "Cuidado: após a confirmação, o perfil do locatário e todos os dados relacionados se tornarão irrecuperáveis.", + "delete-tenant-profiles-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 perfil do locatário} other {# perfis do locatário} }?", + "delete-tenant-profiles-text": "Cuidado, após a confirmação todos os perfis do locatário selecionados serão removidos e todos os dados relacionados se tornarão irrecuperáveis.", + "set-default-tenant-profile-title": "Tem certeza de que deseja tornar o perfil do locatário '{{tenantProfileName}}' padrão?", + "set-default-tenant-profile-text": "Após a confirmação, o perfil do locatário será marcado como padrão e será usado para novos locatários sem perfil especificado.", + "no-tenant-profiles-found": "Nenhum perfil do locatário encontrado.", "create-new-tenant-profile": "Criar um novo!", - "create-tenant-profile": "Criar novo perfil do tenant", - "import": "Importar perfil do tenant", - "export": "Exportar perfil do tenant", - "export-failed-error": "Não foi possível exportar o perfil do tenant: {{error}}", - "tenant-profile-file": "Arquivo de perfil do tenant", - "invalid-tenant-profile-file-error": "Não foi possível importar o perfil do tenant: estrutura de dados do perfil do tenant inválida.", + "create-tenant-profile": "Criar novo perfil do locatário", + "import": "Importar perfil do locatário", + "export": "Exportar perfil do locatário", + "export-failed-error": "Não foi possível exportar o perfil do locatário: {{error}}", + "tenant-profile-file": "Arquivo do perfil do locatário", + "invalid-tenant-profile-file-error": "Não foi possível importar o perfil do locatário: estrutura de dados do perfil do locatário inválida.", "advanced-settings": "Configurações avançadas", "entities": "Entidades", "rule-engine": "Motor de regras", @@ -8344,9 +9518,9 @@ "maximum-dashboards": "Número máximo de dashboards", "maximum-dashboards-required": "O número máximo de dashboards é obrigatório.", "maximum-dashboards-range": "O número máximo de dashboards não pode ser negativo", - "maximum-edges": "Número máximo de edges", - "maximum-edges-required": "O número máximo de edges é obrigatório.", - "maximum-edges-range": "O número máximo de edges não pode ser negativo", + "maximum-edges": "Número máximo de Edges", + "maximum-edges-required": "O número máximo de Edges é obrigatório.", + "maximum-edges-range": "O número máximo de Edges não pode ser negativo", "maximum-rule-chains": "Número máximo de cadeias de regras", "maximum-rule-chains-required": "O número máximo de cadeias de regras é obrigatório.", "maximum-rule-chains-range": "O número máximo de cadeias de regras não pode ser negativo", @@ -8362,20 +9536,29 @@ "maximum-scheduler-events": "Número máximo de eventos do agendador", "maximum-scheduler-events-required": "O número máximo de eventos do agendador é obrigatório.", "maximum-scheduler-events-range": "O número máximo de eventos do agendador não pode ser negativo", + "maximum-agents": "Número máximo de Agents", + "maximum-agents-required": "O número máximo de Agents é obrigatório.", + "maximum-agents-range": "O número máximo de Agents não pode ser negativo", + "maximum-agent-applications": "Número máximo de aplicações do Agent", + "maximum-agent-applications-required": "O número máximo de aplicações do Agent é obrigatório.", + "maximum-agent-applications-range": "O número máximo de aplicações do Agent não pode ser negativo", "maximum-resources-sum-data-size": "Tamanho total máximo dos arquivos de recursos (bytes)", "maximum-resources-sum-data-size-required": "O tamanho total máximo dos arquivos de recursos é obrigatório.", "maximum-resources-sum-data-size-range": "O tamanho total máximo dos arquivos de recursos não pode ser negativo", "maximum-resource-size": "Tamanho máximo do arquivo de recurso (bytes)", "maximum-resource-size-required": "O tamanho máximo do arquivo de recurso é obrigatório", "maximum-resource-size-range": "O tamanho máximo do arquivo de recurso não pode ser negativo", + "maximum-report-size": "Tamanho máximo do arquivo de relatório (bytes)", + "maximum-report-size-required": "O tamanho máximo do arquivo de relatório é obrigatório", + "maximum-report-size-range": "O tamanho máximo do arquivo de relatório não pode ser negativo", "maximum-ota-packages-sum-data-size": "Tamanho total máximo dos arquivos de pacotes OTA (bytes)", "maximum-ota-package-sum-data-size-required": "O tamanho total máximo dos arquivos de pacotes OTA é obrigatório.", "maximum-ota-package-sum-data-size-range": "O tamanho total máximo dos arquivos de pacotes OTA não pode ser negativo", "maximum-debug-duration-min": "Duração máxima de depuração (min)", "maximum-debug-duration-min-range": "A duração máxima de depuração não pode ser negativa", - "rest-requests-for-tenant": "Requisições REST para tenant", - "transport-tenant-telemetry-msg-rate-limit": "Mensagens de telemetria do tenant de transporte", - "transport-tenant-telemetry-data-points-rate-limit": "Pontos de dados de telemetria do tenant de transporte", + "rest-requests-for-tenant": "Requisições REST do locatário", + "transport-tenant-telemetry-msg-rate-limit": "Mensagens de telemetria de transporte do locatário", + "transport-tenant-telemetry-data-points-rate-limit": "Pontos de dados de telemetria de transporte do locatário", "transport-device-msg-rate-limit": "Mensagens de dispositivo de transporte", "transport-device-telemetry-msg-rate-limit": "Mensagens de telemetria do dispositivo de transporte", "transport-device-telemetry-data-points-rate-limit": "Pontos de dados de telemetria do dispositivo de transporte", @@ -8389,7 +9572,7 @@ "tenant-entity-import-rate-limit": "Carregamento de versão de entidade", "tenant-notification-request-rate-limit": "Requisições de notificação", "tenant-notification-requests-per-rule-rate-limit": "Requisições de notificação por regra de notificação", - "integration-msgs-per-tenant-rate-limit": "Mensagens de integração do tenant", + "integration-msgs-per-tenant-rate-limit": "Mensagens de integração do locatário", "integration-msgs-per-device-rate-limit": "Mensagens de integração do dispositivo", "integration-msgs-per-asset-rate-limit": "Mensagens de integração do ativo", "max-calculated-fields": "Número máximo de campos calculados por entidade", @@ -8470,9 +9653,9 @@ "max-rule-node-executions-per-message": "Número máximo de execuções de nó de regra por mensagem", "max-rule-node-executions-per-message-required": "O número máximo de execuções de nó de regra por mensagem é obrigatório.", "max-rule-node-executions-per-message-range": "O número máximo de execuções de nó de regra por mensagem não pode ser negativo", - "max-emails": "Número máximo de emails enviados", - "max-emails-required": "O número máximo de emails enviados é obrigatório.", - "max-emails-range": "O número máximo de emails enviados não pode ser negativo", + "max-emails": "Número máximo de e-mails enviados", + "max-emails-required": "O número máximo de e-mails enviados é obrigatório.", + "max-emails-range": "O número máximo de e-mails enviados não pode ser negativo", "sms-enabled": "SMS ativado", "max-sms": "Número máximo de SMS enviados", "max-sms-required": "O número máximo de SMS enviados é obrigatório.", @@ -8483,7 +9666,7 @@ "no-queue": "Nenhuma fila configurada", "add-queue": "Adicionar fila", "queues-with-count": "Filas ({{count}})", - "tenant-rest-limits": "Requisições REST para tenant", + "tenant-rest-limits": "Requisições REST do locatário", "customer-rest-limits": "Requisições REST para cliente", "incorrect-pattern-for-rate-limits": "O formato são pares separados por vírgula de capacidade e período (em segundos) com dois-pontos entre eles, ex.: 100:1,2000:60", "too-small-value-zero": "O valor deve ser maior que 0", @@ -8493,12 +9676,12 @@ "cassandra-read-tenant-core-limits-configuration": "Consultas de leitura Cassandra da API REST e telemetria WS", "cassandra-write-tenant-rule-engine-limits-configuration": "Consultas de gravação Cassandra de telemetria do Motor de regras", "cassandra-read-tenant-rule-engine-limits-configuration": "Consultas de leitura Cassandra de telemetria do Motor de regras", - "ws-limit-max-sessions-per-tenant": "Número máximo de sessões por tenant", + "ws-limit-max-sessions-per-tenant": "Número máximo de sessões por locatário", "ws-limit-max-sessions-per-customer": "Número máximo de sessões por cliente", "ws-limit-max-sessions-per-regular-user": "Número máximo de sessões por usuário regular", "ws-limit-max-sessions-per-public-user": "Número máximo de sessões por usuário público", "ws-limit-queue-per-session": "Tamanho máximo da fila de mensagens por sessão", - "ws-limit-max-subscriptions-per-tenant": "Número máximo de assinaturas por tenant", + "ws-limit-max-subscriptions-per-tenant": "Número máximo de assinaturas por locatário", "ws-limit-max-subscriptions-per-customer": "Número máximo de assinaturas por cliente", "ws-limit-max-subscriptions-per-regular-user": "Número máximo de assinaturas por usuário regular", "ws-limit-max-subscriptions-per-public-user": "Número máximo de assinaturas por usuário público", @@ -8507,6 +9690,10 @@ "relation-search-entity-limit-hint": "Limita o número de entidades resolvidas no último nível do caminho de relação. Aplica-se aos argumentos de 'Entidades relacionadas' e campos de Propagação.", "relation-search-entity-limit-required": "Limite de entidades na pesquisa de relações", "relation-search-entity-limit-range": "O limite de entidades na pesquisa de relações não pode ser menor que '1'", + "ai": "IA", + "max-ai-credits": "Número máximo de créditos de IA", + "max-ai-credits-required": "O número máximo de créditos de IA é obrigatório.", + "max-ai-credits-range": "O número máximo de créditos de IA não pode ser negativo", "rate-limits": { "add-limit": "Adicionar limite", "and-also-less-than": "e também menor que", @@ -8514,9 +9701,9 @@ "edit-limit": "Editar limite", "calculated-field-debug-event-rate-limit": "Eventos de depuração do campo calculado", "edit-calculated-field-debug-event-rate-limit": "Editar limites de taxa de eventos de depuração do campo calculado", - "edit-transport-tenant-msg-title": "Editar limites de taxa de mensagens do tenant de transporte", - "edit-transport-tenant-telemetry-msg-title": "Editar limites de taxa de mensagens de telemetria do tenant de transporte", - "edit-transport-tenant-telemetry-data-points-title": "Editar limites de taxa de pontos de dados de telemetria do tenant de transporte", + "edit-transport-tenant-msg-title": "Editar limites de taxa de mensagens de transporte do locatário", + "edit-transport-tenant-telemetry-msg-title": "Editar limites de taxa de mensagens de telemetria de transporte do locatário", + "edit-transport-tenant-telemetry-data-points-title": "Editar limites de taxa de pontos de dados de telemetria de transporte do locatário", "edit-transport-device-msg-title": "Editar limites de taxa de mensagens de dispositivo de transporte", "edit-transport-device-telemetry-msg-title": "Editar limites de taxa de mensagens de telemetria do dispositivo de transporte", "edit-transport-device-telemetry-data-points-title": "Editar limites de taxa de pontos de dados de telemetria do dispositivo de transporte", @@ -8526,7 +9713,7 @@ "edit-transport-gateway-device-msg-title": "Editar limites de taxa de mensagens de dispositivo do gateway de transporte", "edit-transport-gateway-device-telemetry-msg-title": "Editar limites de taxa de mensagens de telemetria do dispositivo do gateway de transporte", "edit-transport-gateway-device-telemetry-data-points-title": "Editar limites de taxa de pontos de dados de telemetria do dispositivo do gateway de transporte", - "edit-tenant-rest-limits-title": "Editar limites de taxa de requisições REST para tenant", + "edit-tenant-rest-limits-title": "Editar limites de taxa de requisições REST do locatário", "edit-customer-rest-limits-title": "Editar limites de taxa de requisições REST para cliente", "edit-ws-limit-updates-per-session-title": "Editar limites de taxa de atualizações WS por sessão", "edit-cassandra-write-tenant-core-limits-configuration": "Editar consultas de gravação Cassandra da API REST", @@ -8537,32 +9724,42 @@ "edit-tenant-entity-import-rate-limit-title": "Editar limites de taxa de carregamento de versão de entidade", "edit-tenant-notification-request-rate-limit-title": "Editar limites de taxa de requisições de notificação", "edit-tenant-notification-requests-per-rule-rate-limit-title": "Editar limites de taxa de requisições de notificação por regra de notificação", - "edit-integration-msgs-per-tenant-rate-limit-title": "Editar limites de taxa de mensagens de integração por tenant", + "edit-integration-msgs-per-tenant-rate-limit-title": "Editar limites de taxa de mensagens de integração por locatário", "edit-integration-msgs-per-device-rate-limit-title": "Editar limites de taxa de mensagens de integração por dispositivo", "edit-integration-msgs-per-asset-rate-limit-title": "Editar limites de taxa de mensagens de integração por ativo", - "edit-edge-events-rate-limit": "Editar limites de taxa de eventos de edge", - "edit-edge-events-per-edge-rate-limit": "Editar limites de taxa de eventos de edge por edge", - "edge-events-rate-limit": "Eventos de edge", - "edge-events-per-edge-rate-limit": "Eventos de edge por edge", - "edit-edge-uplink-messages-rate-limit": "Editar limites de taxa de mensagens uplink de edge", - "edit-edge-uplink-messages-per-edge-rate-limit": "Editar limites de taxa de mensagens uplink de edge por edge", - "edge-uplink-messages-rate-limit": "Mensagens uplink de edge", - "edge-uplink-messages-per-edge-rate-limit": "Mensagens uplink de edge por edge", + "edit-edge-events-rate-limit": "Editar limites de taxa de eventos do Edge", + "edit-edge-events-per-edge-rate-limit": "Editar limites de taxa de eventos do Edge por Edge", + "edge-events-rate-limit": "Eventos do Edge", + "edge-events-per-edge-rate-limit": "Eventos do Edge por Edge", + "edit-edge-uplink-messages-rate-limit": "Editar limites de taxa de mensagens de uplink do Edge", + "edit-edge-uplink-messages-per-edge-rate-limit": "Editar limites de taxa de mensagens de uplink do Edge por Edge", + "edge-uplink-messages-rate-limit": "Mensagens de uplink do Edge", + "edge-uplink-messages-per-edge-rate-limit": "Mensagens de uplink do Edge por Edge", + "edit-agent-events-rate-limit": "Editar limites de taxa de eventos do Agent", + "edit-agent-events-per-agent-rate-limit": "Editar limites de taxa de eventos do Agent por Agent", + "agent-events-rate-limit": "Eventos do Agent", + "agent-events-per-agent-rate-limit": "Eventos do Agent por Agent", + "edit-agent-log-chunks-rate-limit": "Editar limites de taxa de blocos de log do Agent", + "edit-agent-log-chunks-per-agent-rate-limit": "Editar limites de taxa de blocos de log do Agent por Agent", + "agent-log-chunks-rate-limit": "Blocos de log do Agent", + "agent-log-chunks-per-agent-rate-limit": "Blocos de log do Agent por Agent", + "ai-chat-requests-rate-limit": "Solicitações de chat de IA", + "edit-ai-chat-requests-rate-limit": "Editar limites de taxa de solicitações de chat de IA", "messages-per": "mensagens por", "not-set": "Não definido", "number-of-messages": "Número de mensagens", "number-of-messages-required": "O número de mensagens é obrigatório.", "number-of-messages-min": "O valor mínimo é 1.", - "preview": "Visualizar", + "preview": "Pré-visualização", "per-seconds": "Por segundos", "per-seconds-required": "A taxa de tempo é obrigatória.", "per-seconds-min": "O valor mínimo é 1.", "per-seconds-duplicate": "Taxa de tempo duplicada. Cada intervalo de tempo deve ser único.", "rate-limits": "Limites de taxa", "remove-limit": "Remover limite", - "transport-tenant-msg": "Mensagens do tenant de transporte", - "transport-tenant-telemetry-msg": "Mensagens de telemetria do tenant de transporte", - "transport-tenant-telemetry-data-points": "Pontos de dados de telemetria do tenant de transporte", + "transport-tenant-msg": "Mensagens de transporte do locatário", + "transport-tenant-telemetry-msg": "Mensagens de telemetria de transporte do locatário", + "transport-tenant-telemetry-data-points": "Pontos de dados de telemetria de transporte do locatário", "transport-device-msg": "Mensagens de dispositivo de transporte", "transport-device-telemetry-msg": "Mensagens de telemetria do dispositivo de transporte", "transport-device-telemetry-data-points": "Pontos de dados de telemetria do dispositivo de transporte", @@ -9155,6 +10352,7 @@ "cubic-foot-per-minute": "Pé cúbico por minuto", "cubic-meters-per-hour": "Metros cúbicos por hora", "cubic-meters-per-second": "Metros cúbicos por segundo", + "cubic-meters-per-minute": "Metros cúbicos por minuto", "liter-per-second": "Litro por segundo", "liter-per-minute": "Litro por minuto", "gallons-per-minute": "Galões por minuto", @@ -9270,9 +10468,9 @@ "users": "Usuários", "management": "Gerenciamento de usuários", "customer-users": "Usuários do cliente", - "tenant-admins": "Administradores do tenant", + "tenant-admins": "Administradores do locatário", "sys-admin": "Administrador do sistema", - "tenant-admin": "Administrador do tenant", + "tenant-admin": "Administrador do locatário", "customer": "Cliente", "anonymous": "Anônimo", "add": "Adicionar usuário", @@ -9286,11 +10484,11 @@ "delete-users-title": "Tem certeza de que deseja excluir { count, plural, =1 {1 usuário} other {# usuários} }?", "delete-users-action-title": "Excluir { count, plural, =1 {1 usuário} other {# usuários} }", "delete-users-text": "Atenção: após a confirmação, todos os usuários selecionados serão removidos e todos os dados relacionados serão irrecuperáveis.", - "activation-email-sent-message": "Email de ativação enviado com sucesso!", + "activation-email-sent-message": "E-mail de ativação enviado com sucesso!", "resend-activation": "Reenviar ativação", - "email": "Email", - "email-required": "Email é obrigatório.", - "invalid-email-format": "Formato de email inválido.", + "email": "E-mail", + "email-required": "O e-mail é obrigatório.", + "invalid-email-format": "Formato de e-mail inválido.", "first-name": "Nome", "last-name": "Sobrenome", "description": "Descrição", @@ -9301,13 +10499,13 @@ "user-required": "Usuário é obrigatório", "activation-method": "Método de ativação", "display-activation-link": "Exibir link de ativação", - "send-activation-mail": "Enviar email de ativação", + "send-activation-mail": "Enviar e-mail de ativação", "activation-link": "Link de ativação do usuário", "activation-link-text": "Para ativar o usuário, utilize o seguinte link de ativação (expira em {{activationLinkTtl}}) :", "copy-activation-link": "Copiar link de ativação", "activation-link-copied-message": "Link de ativação do usuário copiado para a área de transferência", "details": "Detalhes", - "login-as-tenant-admin": "Entrar como administrador do tenant", + "login-as-tenant-admin": "Entrar como administrador do locatário", "login-as-customer-user": "Entrar como usuário do cliente", "select-group-to-add": "Selecionar grupo de destino para adicionar os usuários selecionados", "select-group-to-move": "Selecionar grupo de destino para mover os usuários selecionados", @@ -9494,6 +10692,7 @@ "widget-bundle": "Conjunto de widgets", "all-bundles": "Todos os conjuntos", "select-widgets-bundle": "Selecionar conjunto de widgets", + "installed": "Instalados", "widgets": "Widgets", "all-widgets": "Todos os widgets", "widget": "Widget", @@ -9524,6 +10723,11 @@ "rpc-short": "controle", "alarm-short": "alarme", "static-short": "estático", + "type-timeseries": "Série temporal", + "type-latest": "Mais recente", + "type-rpc": "Controle", + "type-alarm": "Alarme", + "type-static": "Estático", "select-widget-type": "Selecionar tipo de widget", "missing-widget-title-error": "O título do widget deve ser especificado!", "widget-saved": "Widget salvo", @@ -9679,7 +10883,89 @@ "auto": "Automático", "wi-fi": "Wi-Fi", "ble": "BLE", - "soft-ap": "Soft AP" + "soft-ap": "Soft AP", + "save-to-entity": "Salvar localização na entidade", + "target-panel-title": "Destino", + "target-save-to": "Salvar em", + "target-mode-entity": "Entidade", + "target-current-entity": "Entidade da fonte de dados do widget", + "target-current-user": "Usuário atual", + "target-entity-alias": "Alias de entidade", + "target-from-attribute": "Do atributo", + "target-entity-alias-name": "Nome do alias", + "target-entity-alias-name-required": "O nome do alias é obrigatório", + "target-attribute-source": "Ler atributo de", + "target-attribute-key": "Chave do atributo do servidor", + "target-attribute-key-required": "A chave do atributo do servidor é obrigatória", + "target-attribute-value-hint": "O atributo deve conter um objeto de ID de entidade com ambos os campos, por exemplo {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}. Uma string de ID simples não é aceita.", + "location-save-failed": "Falha ao salvar a localização: {{error}}", + "start-live-location": "Iniciar rastreamento de localização em tempo real", + "stop-live-location": "Parar rastreamento de localização em tempo real", + "accuracy": "Precisão", + "accuracy-hint": "Equilíbrio entre a precisão de cada posição e o consumo de bateria do rastreamento.", + "accuracy-high": "Alta", + "accuracy-high-hint": "Usa GPS para obter a posição mais precisa, cerca de 5 m. Ideal para rastreamento de veículos ou de trabalhadores em campo, mas consome a bateria mais rapidamente.", + "accuracy-balanced": "Equilibrada", + "accuracy-balanced-hint": "Usa Wi-Fi e torres de celular, recorrendo ao GPS apenas quando necessário, cerca de 40 m. Boa opção padrão para check-ins periódicos com consumo moderado de bateria.", + "accuracy-low": "Baixa", + "accuracy-low-hint": "Usa apenas torres de celular, com precisão de cerca de 500 m ou pior. Ideal para presença em nível de cidade por longos períodos com consumo mínimo de bateria.", + "live-location-advanced-settings": "Configurações avançadas", + "distance-filter": "Limitar atualizações pela distância percorrida", + "distance-filter-hint": "Ignora atualizações até que o dispositivo tenha se deslocado pelo menos essa distância desde a última posição informada.", + "distance-filter-value": "Distância", + "distance-filter-value-min": "A distância deve ser de pelo menos 1 metro", + "distance-filter-value-pattern": "A distância deve ser um número inteiro", + "distance-filter-value-required": "A distância é obrigatória", + "interval": "Limitar atualizações por intervalo de tempo", + "interval-hint": "Solicita uma nova posição no máximo com esta frequência. Sem isso, as atualizações chegam tão rápido quanto o dispositivo as informa.", + "interval-value": "Intervalo", + "interval-value-min": "O intervalo deve ser de pelo menos 1 segundo", + "interval-value-required": "O intervalo é obrigatório", + "max-duration": "Parar o rastreamento após uma duração máxima", + "max-duration-hint": "O rastreamento para automaticamente quando esse tempo tiver passado desde o início.", + "max-duration-value": "Duração", + "max-duration-value-min": "A duração deve ser de pelo menos 1 minuto", + "max-duration-value-required": "A duração é obrigatória" + }, + "location": { + "saved-keys": "Chaves salvas na entidade", + "argument": "Argumento", + "key-name": "Chave de dados", + "value-type": "Tipo", + "add-key": "Adicionar chave", + "remove-key": "Remover chave", + "duplicate-key-names": "As chaves de dados devem ser únicas", + "key-latitude": "Latitude", + "key-longitude": "Longitude", + "key-accuracy": "Precisão", + "key-altitude": "Altitude", + "key-speed": "Velocidade", + "key-heading": "Direção", + "key-gps-active": "GPS ativo", + "key-gps-tracked-by": "GPS rastreado pelo usuário", + "value-type-attribute": "Atributo do servidor", + "value-type-timeseries": "Série temporal", + "error-no-current-entity": "A ação do widget não tem entidade atual", + "error-no-current-user": "Não foi possível determinar o usuário atual", + "error-save-failed": "Erro inesperado do servidor", + "error-permission-denied": "Permissão negada", + "error-alias-not-found": "Alias de entidade '{{alias}}' não encontrado no dashboard", + "error-alias-not-resolved": "O alias de entidade '{{alias}}' não foi resolvido para uma entidade", + "error-attribute-not-found": "Atributo '{{key}}' não encontrado na entidade de origem", + "error-attribute-not-object": "O atributo '{{key}}' não é um objeto de ID de entidade. Eram esperados os campos entityType e id, por exemplo, {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}.", + "error-attribute-incomplete": "O atributo '{{key}}' não tem o campo entityType ou id do objeto de ID de entidade", + "error-attribute-unknown-entity-type": "O atributo '{{key}}' se refere ao tipo de entidade desconhecido '{{entityType}}'", + "error-unknown-target-type": "Fonte de entidade de destino desconhecida '{{type}}'" + }, + "save-browser-location": "Salvar localização do navegador", + "browser-location": { + "location-saved": "Localização do navegador salva", + "location-save-failed": "Falha ao salvar a localização do navegador: {{error}}", + "error-unsupported": "Este navegador não oferece suporte à detecção de localização", + "error-insecure-context": "A localização do navegador requer uma conexão segura (HTTPS)", + "error-permission-denied": "A permissão de localização foi negada", + "error-position-unavailable": "A localização atual não está disponível", + "error-timeout": "Tempo esgotado ao obter a localização atual" }, "custom-action-function": "Função de ação personalizada", "custom-pretty-function": "Função de ação personalizada (com template HTML)", @@ -9693,7 +10979,7 @@ }, "place-map-item": "Posicionar item no mapa", "map-item-tooltip": { - "customize-map-item-tooltips": "Personalizar tooltips de itens do mapa", + "customize-map-item-tooltips": "Personalizar dicas de ferramenta dos itens do mapa", "place-marker": "Posicionar marcador", "start-draw-rectangle": "Iniciar desenho de retângulo", "finish-draw-rectangle": "Finalizar desenho de retângulo", @@ -9753,7 +11039,7 @@ "widget-card": "Card do widget", "mobile": "Mobile", "title": "Título", - "title-tooltip": "Tooltip do título", + "title-tooltip": "Dica de ferramenta do título", "general-settings": "Configurações gerais", "display-title": "Exibir título do widget", "card-title": "Título do card", @@ -9804,6 +11090,26 @@ "add-action": "Adicionar ação", "search-actions": "Pesquisar ações", "no-actions-text": "Nenhuma ação encontrada", + "import-actions": "Importar ações", + "export-actions": "Exportar ações", + "export-action": "Exportar ação", + "duplicate-action": "Duplicar ação", + "copy-action": "Copiar ação", + "copy-all-actions": "Copiar todas as ações", + "action-copied": "Ação copiada", + "actions-copied": "Ações copiadas", + "paste-actions": "Colar ações", + "clear-actions": "Limpar todas as ações", + "clear-actions-title": "Limpar todas as ações", + "clear-actions-text": "Tem certeza de que deseja remover todas as ações do widget?", + "actions-file": "Arquivo de ações do widget", + "actions-json-content": "Conteúdo JSON das ações", + "invalid-actions-file-error": "Não foi possível importar as ações do widget: estrutura de dados de ações do widget inválida.", + "import-actions-imported": "{ count, plural, =0 {Nenhuma ação foi importada} =1 {1 ação foi importada} other {# ações foram importadas} }", + "paste-actions-pasted": "{ count, plural, =0 {Nenhuma ação foi colada} =1 {1 ação foi colada} other {# ações foram coladas} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {Nenhuma ação foi duplicada} =1 {1 ação foi duplicada} other {# ações foram duplicadas} }", + "import-actions-skipped": "{ count, plural, =1 {1 ação foi ignorada por não ser aplicável ou já estar configurada para este widget} other {# ações foram ignoradas por não serem aplicáveis ou já estarem configuradas para este widget} }", + "import-actions-columns-reset": "{ count, plural, =1 {1 ação de clique na célula não tem coluna atribuída. Edite a ação para atribuir uma coluna.} other {# ações de clique na célula não têm coluna atribuída. Edite as ações para atribuir uma coluna.} }", "action-source": "Fonte da ação", "select-action-source": "Selecionar fonte da ação", "action-source-required": "A fonte da ação é obrigatória.", @@ -9866,7 +11172,7 @@ "card-padding": "Espaçamento interno do card", "card-appearance": "Aparência do card", "color": "Cor", - "tooltip": "Tooltip", + "tooltip": "Dica de ferramenta", "units-required": "A unidade é obrigatória.", "list-layout": "Layout de lista", "layout": "Layout", @@ -9931,25 +11237,134 @@ "recaptcha-enterprise-service-account-file": "Arquivo JSON de credenciais da conta reCAPTCHA Enterprise", "select-recaptcha-enterprise-service-account-file": "Arraste e solte seu arquivo de credenciais da conta" }, - "solution-template": { - "solution-template": "Modelo de solução", - "solution-templates": "Modelos de solução", - "management": "Gerenciar modelos de solução", - "details": "Detalhes", - "install": "Instalar", - "level": "Nível", - "install-title": "Modelo de solução instalado com sucesso", - "install-failed-title": "Falha na instalação do modelo de solução", - "instructions": "Instruções", - "goto-main-dashboard": "Ir para o dashboard principal", - "delete": "Excluir", - "delete-solution-title": "Tem certeza de que deseja excluir a solução '{{solutionTitle}}'?", - "delete-solution-text": "Atenção: após a confirmação, a solução e todos os dados relacionados se tornarão irrecuperáveis.", - "installing": "Instalando modelo de solução..." + "solution-creator": { + "ai-solution-creator": "Criador de soluções com IA", + "describe-solution-you-want": "Descreva a solução que você deseja criar", + "enter-your-prompt": "Insira seu prompt", + "target": "Destino", + "install-solution": "Instalar", + "solution-overview": "Visão geral da solução: {{ name }}", + "dashboards-overview": "Visão geral dos dashboards: {{ name }}", + "entity-profile": "Perfil de entidade", + "entity-profiles": "Perfis de entidade", + "name": "Nome", + "iam": "IAM", + "iam-full": "Gerenciamento de identidade e acesso", + "table-view": "Tabela", + "schema-view": "Esquema", + "iam-info": "Informações de IAM", + "operation": { + "C": "Criar", + "R": "Ler", + "U": "Modificar", + "D": "Excluir" + }, + "alarm-info": "Informações do alarme", + "description": "Descrição", + "data": "Dados", + "entity-info": "Informações da entidade", + "calculated-field-info": "Informações do campo calculado", + "field-type": "Tipo de campo", + "scope": "Escopo", + "delete-alarm-title": "Excluir este alarme sugerido?", + "delete-alarm-text": "Este alarme, sugerido com base na sua descrição, não será adicionado à solução proposta.
    Você sempre pode editar ou recriar alarmes manualmente mais tarde. Esta ação não pode ser desfeita.", + "basic-mode": "Básico", + "advanced-mode": "Avançado", + "create-solution": "Criar solução", + "go-dashboard-manager": "Próximo: design do dashboard", + "success-generate-title": "A solução está pronta!", + "success-generate-sub-title": "Você pode instalá-la na sua conta clicando no botão abaixo", + "success-generate-install-title": "Solução instalada!", + "success-generate-install-sub-title": "Para editar a solução, primeiro desinstale a instância existente", + "main-title": "Olá! Sou seu assistente de IA", + "sub-title": "Ajudo você a transformar seus requisitos em uma solução de IoT totalmente funcional.\nBasta descrever o que deseja alcançar, e eu cuido do resto.", + "solutions": "Soluções", + "new-solution": "Nova solução", + "uninstall-solution": "Desinstalar", + "uninstall-solution-dialog-title": "Tem certeza de que deseja desinstalar ‘{{ name }}’?", + "uninstall-solution-dialog-text": "Todas as entidades e dashboards relacionados serão excluídos da sua conta", + "uninstall-solution-dialog-confirm": "Sim, desinstalar", + "delete-solution-title": "Tem certeza de que deseja excluir ‘{{ name }}’?", + "delete-solution-text": "Todos os seus dados serão perdidos", + "delete-solution-confirm": "Sim, excluir", + "copy-solution": "Copiar solução", + "expand-sidebar": "Expandir barra lateral", + "collapse-sidebar": "Recolher barra lateral", + "solution-id": "ID da solução", + "solution-id-required": "O ID da solução é obrigatório", + "rename-solution-title": "Renomear esta solução", + "generate-again": "Gerar novamente", + "skip-interview": "Ignorar entrevista", + "update-solution": "Atualizar solução", + "finish-edit": "Concluir edição", + "lorawan-tracking": "Rastreamento LoRaWAN", + "smart-parking": "Estacionamento inteligente", + "weather-monitoring": "Monitoramento meteorológico", + "water-metering": "Medição de água", + "coffee-machine-monitoring": "Monitoramento de máquinas de café", + "fleet-geofencing": "Geofencing de frota", + "more-examples": "Mais exemplos", + "hide": "Ocultar", + "solution-info": "Informações da solução", + "solution-info-with-name": "Informações da solução: {{ name }}", + "status": "Status", + "only-failures": "Somente falhas", + "failed-create-entity": "Falha ao criar a entidade", + "failed-install-entity": "Falha ao instalar a entidade", + "copy-id": "Copiar ID", + "id-copied-message": "O ID da solução foi copiado para a área de transferência", + "credits": "Créditos", + "info": "Informações", + "main-dashboard": "Dashboard principal", + "view-as": "Visualizar como {{ name }}", + "generated-by-calculated-field-name": "Gerado pelo campo calculado ‘{{ name }}’", + "estimate-wait-time": "O tempo de espera estimado é de ~{{ time }}", + "analyzing-your-request": "Analisando sua solicitação...", + "condition": "Condição", + "installing": "Instalando a solução...", + "step-architecture-design": "Design da arquitetura", + "step-dashboard-design": "Design do dashboard", + "step-solution-installation": "Instalação da solução", + "step-reading-device-data": "Lendo dados do dispositivo…", + "step-analyzing-telemetry-attributes": "Analisando telemetria e atributos…", + "step-selecting-widgets": "Selecionando widgets para seus dados…", + "step-configuring-titles-units-ranges": "Configurando títulos, unidades e intervalos…", + "step-designing-layout": "Projetando o layout…", + "step-arranging-widgets": "Organizando widgets no dashboard…", + "generate-dashboard": "Gerar dashboard", + "generate-dashboard-with-ai": "Gerar dashboard com IA", + "no-telemetry-title": "Nenhum dado de telemetria encontrado", + "no-telemetry-message": "Este dispositivo ainda não enviou nenhuma telemetria.\nEnvie primeiro a telemetria do dispositivo e depois gere o dashboard.", + "send-telemetry": "Enviar telemetria", + "step-loading-updating-entities": "Atualizando entidades…", + "step-loading-restructuring-roles": "Reestruturando funções…", + "step-loading-rebuilding-alarm-rules": "Reconstruindo regras de alarme…", + "step-loading-reassembling-dashboards": "Remontando dashboards…", + "step-loading-updating-solution": "Atualizando sua solução…", + "step-loading-designing-dashboards-structure": "Projetando a estrutura dos dashboards…", + "step-loading-designing-dashboards-states": "Projetando os estados dos dashboards…", + "step-loading-designing-widgets": "Projetando widgets…", + "step-loading-adding-finishing-touches": "Adicionando os toques finais…", + "step-loading-evaluating-solution-changes": "Avaliando as alterações da solução…", + "step-loading-reevaluating-use-cases": "Reavaliando casos de uso…", + "step-loading-finalizing": "Finalizando…", + "step-loading-creating-entities": "Criando entidades…", + "step-loading-configuring-devices": "Configurando dispositivos…", + "step-loading-setting-up-relations": "Configurando relações…", + "step-loading-structuring-access-controls": "Estruturando controles de acesso…", + "step-loading-building-calculated-fields": "Construindo campos calculados…", + "step-loading-building-alarm-rules": "Construindo regras de alarme…", + "step-loading-assembling-dashboards": "Montando dashboards…", + "step-loading-preparing-states": "Preparando estados…", + "step-loading-initializing-solution": "Inicializando a solução…", + "ai-credits": "Créditos de IA", + "ai-credits-update": "Alterar plano", + "ai-credits-usage": "Créditos de IA: {{ used }} de {{ max }} usados", + "ai-credits-description": "Você usou {{ used }} dos seus {{ max }} créditos de IA este mês. O limite será redefinido em {{ date }}. Para aumentar sua cota de créditos de IA, entre em contato com o administrador do sistema." }, "markdown": { "edit": "Editar", - "preview": "Visualizar", + "preview": "Pré-visualização", "copy-code": "Clique para copiar", "copied": "Copiado!" }, @@ -9962,24 +11377,27 @@ "preview": "Pré-visualização", "app-title": "Título da aplicação", "favicon": "Ícone do site", - "favicon-description": "Imagem *.ico, *.gif ou *.png com tamanho máximo de {{kbSize}} KBytes.", - "favicon-size-error": "A imagem do site é muito grande. O tamanho máximo permitido é {{kbSize}} KBytes.", - "favicon-type-error": "Formato de arquivo de imagem do site inválido. Somente imagens ICO, GIF ou PNG são aceitas.", - "drop-favicon-image": "Arraste um ícone do site ou clique para selecionar um arquivo para enviar.", - "drop-favicon-image-or": "Arraste e solte um ícone do site ou", - "no-favicon-image": "Nenhum ícone selecionado", + "favicon-desc": "Ícone na aba do navegador e nos favoritos. PNG ou ICO, recomendado 32×32 px", "logo": "Logo", - "logo-description": "Qualquer imagem com tamanho máximo de {{kbSize}} KBytes.", - "logo-size-error": "A imagem do logo é muito grande. O tamanho máximo permitido é {{kbSize}} KBytes.", - "logo-type-error": "Formato de arquivo do logo inválido. Somente imagens são aceitas.", - "drop-logo-image": "Arraste uma imagem do logo ou clique para selecionar um arquivo para enviar.", - "drop-logo-image-or": "Arraste e solte uma imagem do logo ou", - "no-logo-image": "Nenhum logo selecionado", + "logo-desc": "SVG ou PNG, altura mínima de 96px, até 200 KB", "logo-height": "Altura do logo, px", + "logo-height-desc": "Dimensiona o logotipo proporcionalmente e o centraliza. Aumente a altura (até 200px) para logotipos altos", + "collapsed-logo": "Logotipo da barra lateral recolhida", + "collapsed-logo-desc": "SVG ou PNG quadrado, no mínimo 48×48 px, até 100 KB", + "appearance": "Aparência", + "application-shell": "Estrutura do aplicativo", + "application-shell-desc": "Escolha como a cor primária é aplicada à barra lateral, à barra do aplicativo e aos títulos das páginas", + "light": "Claro", + "primary": "Primária", "primary-palette": "Paleta primária", + "primary-palette-desc": "Cor principal da marca. Barra lateral, barra do aplicativo, títulos das páginas, botões, links e itens de menu ativos", "accent-palette": "Paleta de destaque", + "accent-palette-desc": "Caixas de seleção, botões de opção, botões de alternância, controles deslizantes, barras de progresso e badges", "customize-palette": "Personalizar", "advanced-css": "CSS avançado", + "advanced-css-desc": "CSS personalizado para ajustar com precisão qualquer elemento da interface além das paletas — ícones, fontes, planos de fundo, barras de rolagem e mais. As alterações se aplicam a toda a plataforma, portanto use com cuidado. Para usuários avançados", + "add-custom-css": "Adicionar CSS personalizado", + "edit-custom-css": "Editar CSS personalizado", "edit-palette": "Editar paleta", "save-palette": "Salvar paleta", "primary-background": "Plano de fundo primário", @@ -9988,19 +11406,26 @@ "hue2": "HUE 2", "hue3": "HUE 3", "page-background-color": "Cor do plano de fundo da página", + "page-background-color-desc": "Preenche a área de conteúdo principal atrás das páginas", "dark-foreground": "Primeiro plano escuro", + "dark-foreground-desc": "Torna escuros o texto e os ícones da página de login. Use com fundos claros", "domain-name": "Nome do domínio", - "base-url": "Base URL", + "base-url": "URL base", "base-url-required": "Base URL é obrigatória", "prohibit-different-url": "Proibir o uso do nome de host dos cabeçalhos de requisição do cliente", "prohibit-different-url-hint": "Esta configuração deve ser habilitada em ambientes de produção. Pode causar problemas de segurança quando desabilitada", "help-link-base-url": "URL base dos links de ajuda", + "help-link-base-url-desc": "A URL base do seu portal de documentação externo. Os usuários são redirecionados para cá para consultar guias detalhados", "ui-help-base-url": "URL base de ajuda da UI", + "ui-help-base-url-desc": "A URL do repositório de origem usada pelo sistema para buscar e exibir dinamicamente dicas rápidas no aplicativo", "enable-help-links": "Habilitar links de ajuda", + "enable-help-links-desc": "Exibe ícones de ajuda contextual (?) em toda a interface da plataforma", "error-verification-url": "O nome do domínio não deve conter os símbolos '/' e ':'. Exemplo: thingsboard.io", - "hide-connectivity-dialog": "Ocultar diálogo de conectividade", + "show-connectivity-dialog": "Mostrar diálogo de conectividade", + "show-connectivity-dialog-desc": "Mostra o diálogo de conectividade do dispositivo com instruções de conexão após a criação de um dispositivo", "override-trendz-add-on-name": "Substituir o nome do complemento Trendz analytics", - "override-trendz-add-on-name-hint": "Quando habilitado, 'Trendz analytics' será exibido como 'Advanced analytics' em toda a plataforma.", + "override-trendz-add-on-name-desc": "Renomeia o complemento \"Trendz\" para \"Analytics avançado\" em toda a plataforma", + "show-platform-name-version-bottom-left-corner": "Mostrar nome e versão da plataforma no canto inferior esquerdo", "show-platform-name-version": "Exibir nome e versão da plataforma", "platform-name": "Nome da plataforma", "platform-version": "Versão da plataforma", @@ -10014,7 +11439,10 @@ "reset-white-label-text": "Atenção: após a confirmação, todas as configurações personalizadas serão perdidas e não poderão ser recuperadas.", "reset-login-white-label-title": "Tem certeza de que deseja redefinir as configurações de personalização de marca do login para o padrão?", "reset-login-white-label-text": "Atenção: após a confirmação, todas as configurações personalizadas serão perdidas e não poderão ser recuperadas.", - "app-title-max-length": "O título da aplicação deve ter menos de 256 caracteres" + "app-title-max-length": "O título da aplicação deve ter menos de 256 caracteres", + "logo-and-titles": "Logotipo e títulos", + "interface-options": "Opções de interface", + "domain": "Domínio" }, "widgets": { "mobile-app-qr-code": { @@ -10043,8 +11471,8 @@ "power-on-hint": "Ação executada para ligar o componente.", "power-off": "Desligar 'Off'", "power-off-hint": "Ação executada para desligar o componente.", - "on-label": "On", - "off-label": "Off", + "on-label": "Ligado", + "off-label": "Desligado", "layout": "Layout", "layout-default": "Padrão", "layout-simplified": "Simplificado", @@ -10108,7 +11536,7 @@ "shadow": "Sombra", "enabled": "Habilitado", "disabled": "Desabilitado", - "preview": "Visualização", + "preview": "Pré-visualização", "copy-style-from": "Copiar estilo de" }, "value-stepper": { @@ -10219,8 +11647,8 @@ "layout-default": "Padrão", "layout-center": "Centro", "layout-icon": "Ícone", - "on": "On", - "off": "Off", + "on": "Ligado", + "off": "Desligado", "label": "Rótulo", "status": "Status", "icon": "Ícone", @@ -10248,13 +11676,13 @@ "default-font-size": "Tamanho da fonte padrão", "default-font-color": "Cor da fonte padrão", "thresholds-line-width": "Largura de linha padrão para todos os limites", - "tooltip-settings": "Configurações de tooltip", - "tooltip": "Tooltip", - "show-tooltip": "Exibir tooltip", + "tooltip-settings": "Configurações da dica de ferramenta", + "tooltip": "Dica de ferramenta", + "show-tooltip": "Mostrar dica de ferramenta", "hover-individual-points": "Passar o cursor sobre pontos individuais", "show-cumulative-values": "Exibir valores cumulativos no modo de empilhamento", - "hide-zero-false-values": "Ocultar valores zero/falso do tooltip", - "tooltip-value-format-function": "Função de formatação do valor do tooltip", + "hide-zero-false-values": "Ocultar valores zero/falsos na dica de ferramenta", + "tooltip-value-format-function": "Função de formatação do valor da dica de ferramenta", "grid-settings": "Configurações de grade", "show-vertical-lines": "Exibir linhas verticais", "show-horizontal-lines": "Exibir linhas horizontais", @@ -10406,7 +11834,7 @@ "key-value": "Chave / Valor", "value-required": "Valor é obrigatório.", "entity-key-required": "Chave de entidade é obrigatória.", - "key-required": "Chave é obrigatória.", + "key-required": "A chave é obrigatória.", "scale-limits": "Limites de escala", "scale-appearance": "Aparência da escala", "scale": "Escala", @@ -10454,12 +11882,12 @@ "gradient-type": "Tipo de gradiente" }, "dashboard-state": { - "dashboard-state-settings": "Configurações de estado do Dashboard", - "dashboard-state": "ID do estado do Dashboard", + "dashboard-state-settings": "Configurações de estado do dashboard", + "dashboard-state": "ID do estado do dashboard", "autofill-state-layout": "Preenchimento automático da altura do layout do estado por padrão", "default-margin": "Margem padrão dos widgets", "default-background-color": "Cor de fundo padrão", - "sync-parent-state-params": "Sincronizar parâmetros de estado com o Dashboard pai" + "sync-parent-state-params": "Sincronizar parâmetros de estado com o dashboard pai" }, "date-range-navigator": { "date-range-picker-settings": "Configurações do seletor de intervalo de datas", @@ -11024,15 +12452,15 @@ "timeout-error": "O valor mínimo de tempo limite é 5000 (5 segundos).", "white-space-error": "Espaço em branco não é permitido.", "rpc-status": { - "QUEUED": "QUEUED", - "SENT": "SENT", - "DELIVERED": "DELIVERED", - "SUCCESSFUL": "SUCCESSFUL", - "TIMEOUT": "TEMPO LIMITE", - "EXPIRED": "EXPIRED", - "FAILED": "FAILED" + "QUEUED": "NA FILA", + "SENT": "ENVIADO", + "DELIVERED": "ENTREGUE", + "SUCCESSFUL": "BEM-SUCEDIDO", + "TIMEOUT": "TEMPO ESGOTADO", + "EXPIRED": "EXPIRADO", + "FAILED": "COM FALHA" }, - "rpc-search-status-all": "ALL", + "rpc-search-status-all": "TODOS", "message-types": { "false": "Bidirecional", "true": "Unidirecional" @@ -11077,6 +12505,11 @@ "rpc": { "value-settings": "Configurações de valor", "initial-value": "Valor inicial", + "initial-value-hint": "Define o valor inicial antes que o primeiro valor seja recebido.", + "initial-led-state": "Estado inicial do LED", + "initial-led-state-hint": "Define o estado inicial do LED antes que o primeiro valor seja recebido.", + "on": "Ligado", + "off": "Desligado", "retrieve-value-settings": "Configurações de recuperação do valor ligado/desligado", "retrieve-value-method": "Recuperar valor usando método", "retrieve-value-method-none": "Não recuperar", @@ -11202,6 +12635,7 @@ "roadmap": "Mapa de ruas", "satellite": "Satélite", "hybrid": "Híbrido", + "webgl-not-available": "A camada de mapa selecionada requer aceleração gráfica para ser exibida. Ative a 'Aceleração de hardware' nas configurações do navegador ou mude para outra camada.", "reference": { "reference-layer": "Camada de referência", "no-layer": "Sem camada", @@ -11217,9 +12651,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -11243,7 +12680,18 @@ }, "custom": { "title": "Personalizado", - "tile-url": "URL de tile" + "tile-url": "URL de tile", + "style-url": "URL de estilo", + "vector-tiles": "Tiles vetoriais", + "vector-tiles-hint": "Ative ao usar uma URL de estilo de provedores como OpenFreeMap ou MapTiler.", + "attribution": "Texto de direitos autorais", + "attribution-hint": "Exibido na parte inferior do mapa. Exigido pela maioria dos provedores de tiles." + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -11286,18 +12734,18 @@ "color-range": "Intervalo de cores", "color-function": "Função de cor", "label": "Rótulo", - "tooltip": "Tooltip", + "tooltip": "Dica de ferramenta", "pattern-type-pattern": "Padrão", "pattern-type-function": "Função", "label-pattern": "Rótulo (exemplos de padrão: '${entityName}', '${entityName}: (Texto ${keyName} unidades.)' )", "label-function": "Função de rótulo", - "tooltip-pattern": "Tooltip (ex.: 'Texto ${keyName} unidades.' ou Texto do link)", - "tooltip-function": "Função de tooltip", - "tooltip-trigger": "Acionador do tooltip", - "tooltip-trigger-click": "Exibir tooltip ao clicar", - "tooltip-trigger-hover": "Exibir tooltip ao passar o mouse", - "auto-close-tooltips": "Fechar tooltips automaticamente", - "tooltip-offset": "Deslocamento do tooltip", + "tooltip-pattern": "Dica de ferramenta (por ex. 'Texto ${keyName} unidades.' ou Texto do link)", + "tooltip-function": "Função da dica de ferramenta", + "tooltip-trigger": "Gatilho da dica de ferramenta", + "tooltip-trigger-click": "Mostrar dica de ferramenta ao clicar", + "tooltip-trigger-hover": "Mostrar dica de ferramenta ao passar o mouse", + "auto-close-tooltips": "Fechar dicas de ferramenta automaticamente", + "tooltip-offset": "Deslocamento da dica de ferramenta", "tooltip-offset-horizontal": "Horizontal", "tooltip-offset-vertical": "Vertical", "tooltip-tag-actions": "Ações de tag", @@ -11389,7 +12837,7 @@ }, "points": { "points": "Pontos", - "point-tooltip": "Tooltip do ponto" + "point-tooltip": "Dica de ferramenta do ponto" }, "shape": { "fill": "Preenchimento", @@ -11540,10 +12988,7 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Credenciais", - "here-app-id": "ID do app HERE", - "here-app-code": "Código do app HERE", "here-api-key": "Chave de API HERE", - "here-use-new-version-api-3": "Usar versão 3 da API", "tencent-maps-api-key": "Chave de API do Tencent Maps", "tencent-map-type-roadmap": "Mapa de ruas", "tencent-map-type-satelite": "Satélite", @@ -11575,17 +13020,17 @@ "use-label-function": "Usar função de rótulo", "label-pattern": "Rótulo (exemplos de padrão: '${entityName}', '${entityName}: (Texto ${keyName} unidades.)' )", "label-function": "Função de rótulo", - "tooltip": "Tooltip", - "show-tooltip": "Exibir tooltip", - "show-tooltip-action": "Ação para exibir o tooltip", - "show-tooltip-action-click": "Exibir tooltip ao clicar (Padrão)", - "show-tooltip-action-hover": "Exibir tooltip ao passar o mouse", - "auto-close-tooltips": "Fechar tooltips automaticamente", - "use-tooltip-function": "Usar função de tooltip", - "tooltip-pattern": "Tooltip (ex.: 'Texto ${keyName} unidades.' ou Texto do link')", - "tooltip-function": "Função de tooltip", - "tooltip-offset-x": "Deslocamento X do tooltip relativo à âncora do marcador multiplicado pela largura do marcador", - "tooltip-offset-y": "Deslocamento Y do tooltip relativo à âncora do marcador multiplicado pela altura do marcador", + "tooltip": "Dica de ferramenta", + "show-tooltip": "Mostrar dica de ferramenta", + "show-tooltip-action": "Ação para exibir a dica de ferramenta", + "show-tooltip-action-click": "Mostrar dica de ferramenta ao clicar (Padrão)", + "show-tooltip-action-hover": "Mostrar dica de ferramenta ao passar o mouse", + "auto-close-tooltips": "Fechar automaticamente as dicas de ferramenta", + "use-tooltip-function": "Usar função de dica de ferramenta", + "tooltip-pattern": "Dica de ferramenta (por ex. 'Texto ${keyName} unidades.' ou Texto do link')", + "tooltip-function": "Função de dica de ferramenta", + "tooltip-offset-x": "Deslocamento X da dica de ferramenta em relação à âncora do marcador, multiplicado pela largura do marcador", + "tooltip-offset-y": "Deslocamento Y da dica de ferramenta em relação à âncora do marcador, multiplicado pela altura do marcador", "color": "Cor", "use-color-function": "Usar função de cor", "color-function": "Função de cor", @@ -11604,12 +13049,12 @@ "use-polygon-label-function": "Usar função de rótulo do polígono", "polygon-label-pattern": "Rótulo do polígono (exemplos de padrão: '${entityName}', '${entityName}: (Texto ${keyName} unidades.)' )", "polygon-label-function": "Função de rótulo do polígono", - "polygon-tooltip": "Tooltip do polígono", - "show-polygon-tooltip": "Exibir tooltip do polígono", - "auto-close-polygon-tooltips": "Fechar tooltips do polígono automaticamente", - "use-polygon-tooltip-function": "Usar função de tooltip do polígono", - "polygon-tooltip-pattern": "Tooltip (ex.: 'Texto ${keyName} unidades.' ou Texto do link')", - "polygon-tooltip-function": "Função de tooltip do polígono", + "polygon-tooltip": "Dica de ferramenta do polígono", + "show-polygon-tooltip": "Mostrar dica de ferramenta do polígono", + "auto-close-polygon-tooltips": "Fechar automaticamente as dicas de ferramenta dos polígonos", + "use-polygon-tooltip-function": "Usar função de dica de ferramenta do polígono", + "polygon-tooltip-pattern": "Dica de ferramenta (por ex. 'Texto ${keyName} unidades.' ou Texto do link')", + "polygon-tooltip-function": "Função de dica de ferramenta do polígono", "polygon-color": "Cor do polígono", "polygon-opacity": "Opacidade do polígono", "use-polygon-color-function": "Usar função de cor do polígono", @@ -11629,12 +13074,12 @@ "use-circle-label-function": "Usar função de rótulo do círculo", "circle-label-pattern": "Rótulo do círculo (exemplos de padrão: '${entityName}', '${entityName}: (Texto ${keyName} unidades.)' )", "circle-label-function": "Função de rótulo do círculo", - "circle-tooltip": "Tooltip do círculo", - "show-circle-tooltip": "Exibir tooltip do círculo", - "auto-close-circle-tooltips": "Fechar tooltips do círculo automaticamente", - "use-circle-tooltip-function": "Usar função de tooltip do círculo", - "circle-tooltip-pattern": "Tooltip (ex.: 'Texto ${keyName} unidades.' ou Texto do link')", - "circle-tooltip-function": "Função de tooltip do círculo", + "circle-tooltip": "Dica de ferramenta do círculo", + "show-circle-tooltip": "Mostrar dica de ferramenta do círculo", + "auto-close-circle-tooltips": "Fechar automaticamente as dicas de ferramenta dos círculos", + "use-circle-tooltip-function": "Usar função de dica de ferramenta do círculo", + "circle-tooltip-pattern": "Dica de ferramenta (por ex. 'Texto ${keyName} unidades.' ou Texto do link')", + "circle-tooltip-function": "Função de dica de ferramenta do círculo", "circle-fill-color": "Cor de preenchimento do círculo", "circle-fill-color-opacity": "Opacidade da cor de preenchimento do círculo", "use-circle-fill-color-function": "Usar função de cor de preenchimento do círculo", @@ -11663,10 +13108,10 @@ "route-map-settings": "Configurações do mapa de rotas", "trip-animation-settings": "Configurações de animação de viagem", "normalization-step": "Passo de normalização de dados (ms)", - "tooltip-background-color": "Cor de fundo do tooltip", - "tooltip-font-color": "Cor da fonte do tooltip", - "tooltip-opacity": "Opacidade do tooltip (0-1)", - "auto-close-tooltip": "Fechar tooltip automaticamente", + "tooltip-background-color": "Cor de fundo da dica de ferramenta", + "tooltip-font-color": "Cor da fonte da dica de ferramenta", + "tooltip-opacity": "Opacidade da dica de ferramenta (0-1)", + "auto-close-tooltip": "Fechar automaticamente a dica de ferramenta", "rotation-angle": "Definir ângulo de rotação adicional para o marcador (graus)", "path-settings": "Configurações de caminho", "path-color": "Cor do caminho", @@ -11691,7 +13136,7 @@ "point-color-function": "Função de cor do ponto", "use-point-as-anchor": "Usar ponto como âncora", "point-as-anchor-function": "Função de ponto como âncora", - "independent-point-tooltip": "Tooltip de ponto independente", + "independent-point-tooltip": "Dica de ferramenta independente por ponto", "clustering-markers": "Agrupamento de marcadores", "use-icon-create-function": "Usar função de cor dos marcadores", "marker-color-function": "Função de cor do marcador" @@ -11719,8 +13164,8 @@ "label": "Rótulo", "icon": "Ícone", "switch-color": "Cor do switch", - "on": "On", - "off": "Off", + "on": "Ligado", + "off": "Desligado", "disabled": "Desabilitado", "tumbler-color": "Cor do botão", "on-label": "Rótulo ligado", @@ -11953,8 +13398,8 @@ "column-visibility-hidden": "Oculto", "column-visibility-hidden-mobile": "Oculto no modo móvel", "column-selection-to-display": "Seleção de coluna em 'Colunas para exibir'", - "column-selection-to-display-enabled": "Ativado", - "column-selection-to-display-disabled": "Desativado", + "column-selection-to-display-enabled": "Habilitado", + "column-selection-to-display-disabled": "Desabilitado", "column-export-option": "Incluir coluna na exportação", "column-export-option-always": "Sempre", "column-export-option-only-visible": "Somente se a coluna estiver visível", @@ -11965,7 +13410,7 @@ "enable-alarm-filter": "Ativar filtro de alarme", "display-alarm-details": "Exibir detalhes do alarme", "allow-alarms-ack": "Permitir confirmação de alarmes", - "allow-alarms-clear": "Permitir limpar alarmes", + "allow-alarms-clear": "Permitir resolver alarmes", "display-alarm-activity": "Exibir atividade do alarme", "allow-alarms-assign": "Permitir atribuição de alarmes", "blob-entities-table-title": "Título da tabela de entidades blob", @@ -12033,6 +13478,8 @@ "chart": "Gráfico", "chart-style": "Estilo do gráfico", "data-zoom": "Zoom de dados", + "data-zoom-update-timewindow": "Atualizar a janela de tempo ao aplicar zoom", + "reset-timewindow": "Voltar à janela de tempo original", "stack-mode": "Modo de empilhamento", "stack-mode-hint": "Empilha séries no gráfico. As séries com a mesma unidade serão sobrepostas.", "axes": "Eixos", @@ -12109,7 +13556,7 @@ }, "grid": { "grid": "Grade", - "background-color": "Cor do plano de fundo", + "background-color": "Cor de fundo", "border": "Borda" }, "axis": { @@ -12232,8 +13679,8 @@ "turn-on-hint": "Ação acionada quando o controle deslizante é alternado para 'On'", "turn-off": "Desligar 'Off'", "turn-off-hint": "Ação acionada quando o controle deslizante é alternado para 'Off'", - "on": "On", - "off": "Off", + "on": "Ligado", + "off": "Desligado", "disabled": "Desabilitado" }, "value-action": { @@ -12243,18 +13690,18 @@ "set-attribute": "Definir atributo", "get-time-series": "Obter série temporal", "get-alarm-status": "Obter status do alarme", - "get-dashboard-state": "Obter id do estado do Dashboard", - "get-dashboard-state-object": "Obter objeto de estado do Dashboard", + "get-dashboard-state": "Obter ID do estado do dashboard", + "get-dashboard-state-object": "Obter objeto de estado do dashboard", "add-time-series": "Adicionar série temporal", "execute-rpc-text": "Executar método RPC '{{methodName}}'", "get-time-series-text": "Usar série temporal '{{key}}'", "get-attribute-text": "Usar atributo '{{key}}'", "get-alarm-status-text": "Usar status do alarme", - "get-dashboard-state-text": "Usar estado do Dashboard", - "get-dashboard-state-object-text": "Usar objeto de estado do Dashboard", - "when-dashboard-state-is-text": "Quando o id do estado do Dashboard for '{{state}}'", - "when-dashboard-state-function-is-text": "Quando f(id do estado do Dashboard) for '{{state}}'", - "when-dashboard-state-object-function-is-text": "Quando f(objeto de estado do Dashboard) for '{{state}}'", + "get-dashboard-state-text": "Usar estado do dashboard", + "get-dashboard-state-object-text": "Usar objeto de estado do dashboard", + "when-dashboard-state-is-text": "Quando o ID do estado do dashboard for '{{state}}'", + "when-dashboard-state-function-is-text": "Quando f(ID do estado do dashboard) for '{{state}}'", + "when-dashboard-state-object-function-is-text": "Quando f(objeto de estado do dashboard) for '{{state}}'", "set-attribute-to-value-text": "Definir atributo '{{key}}' como: {{value}}", "add-time-series-value-text": "Adicionar valor da série temporal '{{key}}': {{value}}", "set-attribute-text": "Definir atributo '{{key}}'", @@ -12308,7 +13755,7 @@ "font-weight-lighter": "Mais leve", "color": "Cor", "shadow-color": "Cor da sombra", - "preview": "Visualização", + "preview": "Pré-visualização", "line-height": "Altura da linha", "auto": "Automático" }, @@ -12371,6 +13818,9 @@ "no-links-matching": "Nenhum link correspondente a '{{name}}' foi encontrado.", "columns": "Colunas" }, + "iot-hub": { + "title-text": "Desenvolva mais rápido com recursos comprovados pela comunidade do" + }, "recent-dashboards": { "title": "Dashboards", "last": "Últimos visualizados", @@ -12383,7 +13833,7 @@ "title": "Recursos configurados", "info": "Status dos recursos que requerem configuração", "white-labeling-feature": "Personalização de marca", - "email-feature": "Email", + "email-feature": "E-mail", "sms-feature": "SMS", "slack-feature": "Slack", "oauth2-feature": "OAuth 2", @@ -12398,7 +13848,7 @@ "current": "Atual", "available-version": "Versão disponível", "available": "Disponível", - "upgrade": "Atualizar", + "upgrade": "Atualizar versão", "version-is-up-to-date": "Versão está atualizada" }, "license-info": { @@ -12407,6 +13857,7 @@ "license-portal": "Portal de licenças", "devices-info": "{count} / { max, plural, =0 {∞} other {#} } Dispositivos", "assets-info": "{count} / { max, plural, =0 {∞} other {#} } Ativos", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edges", "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } Dashboards", "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } Integrações", "community-support": "Suporte da comunidade", @@ -12433,7 +13884,6 @@ "roles-and-permissions": "Funções & Permissões", "groups": "Grupos", "integrations": "Integrações", - "solution-templates": "Modelos de solução", "scheduler": "Agendador", "white-labeling": "Personalização de marca" }, @@ -12448,11 +13898,6 @@ "assigned-to-me": "Atribuído a mim", "total": "Total" }, - "solution-templates": { - "title": "Modelos de solução", - "prototype-plan": "Plano protótipo", - "startup-plan": "Plano startup" - }, "getting-started": { "get-started": "Começar", "finish": "Concluir", @@ -12460,14 +13905,14 @@ "done-welcome-text": "Você se saiu muito bem!", "sys-admin": { "step1": { - "title": "Criar Tenant e Administrador do Tenant", - "content": "

    Um tenant é um indivíduo ou organização que possui ou produz dispositivos e ativos. O tenant pode ter múltiplos usuários administradores de tenant, clientes, dispositivos e ativos.

    O Administrador do Tenant pode criar e gerenciar dispositivos, ativos, clientes e dashboards dentro da conta do tenant.

    Siga a documentação sobre como fazer isso:

    ", - "how-to-create-tenant": "Como criar Tenant e Administrador do Tenant" + "title": "Criar locatário e administrador do locatário", + "content": "

    Um locatário é uma pessoa ou organização que possui ou produz dispositivos e ativos. O locatário pode ter vários usuários administradores do locatário, clientes, dispositivos e ativos.

    O administrador do locatário pode criar e gerenciar dispositivos, ativos, clientes e dashboards na conta do locatário.

    Siga a documentação para saber como fazer isso:

    ", + "how-to-create-tenant": "Como criar locatário e administrador do locatário" }, "step2": { - "title": "Configurar recurso: Servidor de email", - "content": "

    A configuração do servidor de email é essencial para ativação de usuários, recuperação de senha e entrega de notificações de alarme.

    Siga a documentação sobre como fazer isso:

    ", - "how-to-configure-mail-server": "Como configurar o servidor de email" + "title": "Configurar recurso: Servidor de e-mail", + "content": "

    A configuração do servidor de e-mail é essencial para ativação de usuários, recuperação de senha e entrega de notificações de alarme.

    Siga a documentação sobre como fazer isso:

    ", + "how-to-configure-mail-server": "Como configurar o servidor de e-mail" }, "step3": { "title": "Configurar recurso: Provedor de SMS", @@ -12486,12 +13931,12 @@ }, "step6": { "title": "Configurar recurso: OAuth 2", - "content": "

    Simplifique o login para usuários de tenant e clientes com a funcionalidade de Single Sign-On via OAuth 2.0.

    Siga a documentação sobre como fazer isso:

    ", + "content": "

    Simplifique o login dos usuários do locatário e do cliente com a funcionalidade de Single Sign-On via OAuth 2.0.

    Siga a documentação para saber como fazer isso:

    ", "how-to-configure-oauth2": "Como configurar o OAuth 2" }, "step7": { "title": "Configurar recurso: Slack", - "content": "

    Distribua notificações para usuários de tenant e clientes via Slack de acordo com as regras de notificação definidas.

    Siga a documentação sobre como fazer isso:

    ", + "content": "

    Distribua notificações aos usuários do locatário e do cliente via Slack de acordo com as regras de notificação que você definir.

    Siga a documentação para saber como fazer isso:

    ", "how-to-configure-notifications": "Como configurar o Slack" } }, @@ -12542,6 +13987,18 @@ } } }, + "html-container": { + "java-script": "JavaScript", + "js-function": "Função JavaScript", + "html": "HTML", + "angular-html-template": "Modelo HTML do Angular", + "css": "CSS", + "container-type": "Tipo de contêiner", + "type-plain": "HTML simples", + "type-angular": "Angular", + "resources": "Recursos", + "no-resources": "Nenhum recurso configurado" + }, "api-usage": { "api-usage": "Uso de API", "label": "Rótulo", @@ -12555,7 +14012,7 @@ "add-key": "Adicionar chave", "no-key": "Sem chave", "delete-key": "Excluir chave", - "target-dashboard-state": "Estado do Dashboard de destino", + "target-dashboard-state": "Estado do dashboard de destino", "go-to-main-state": "Ir para a visualização padrão" } }, @@ -12569,6 +14026,214 @@ "search-icon": "Pesquisar ícone", "no-icons-found": "Nenhum ícone encontrado para '{{iconSearch}}'" }, + "subscription": { + "entity-limit-text": "No entanto, você pode fazer upgrade do plano de assinatura para aumentar seus limites.", + "upgrade-your-plan": "Fazer upgrade do plano de assinatura", + "license-management": "Gerenciamento de licenças", + "perpetual-license": "Licença perpétua", + "subscription": "Assinatura", + "perpetual": "Perpétua", + "manage-license": "Gerenciar licença", + "updated-ago": "Atualizado {{ago}}", + "usage-and-limits": "Uso e limites", + "add-ons": "Complementos", + "included": "Incluído", + "not-included": "Não incluído", + "add-to-license": "Adicionar à licença", + "change-key-title": "Mudando para outra licença?", + "change-key-text": "Mude para outra licença ou ative uma implantação isolada da rede por meio de uma chave offline.", + "enter-key": "Insira uma chave", + "enter-license-key": "Insira uma chave de licença", + "applying-key-text": "Aplicar uma chave altera o que está licenciado nesta implantação.", + "keys-issued-text": "As chaves são emitidas no {{licensePortal}}. Faça login em qualquer dispositivo e copie uma chave de lá.", + "check-key": "Verificar chave", + "checking-key": "Verificando esta chave...", + "current": "Atual", + "this-key": "Esta chave", + "replace-license": "Substituir licença", + "new-license-applied": "A nova chave de licença foi aplicada.", + "updates-and-support-until": "Atualizações e suporte até {{date}}.", + "next-charge-and-due-date": "Próxima cobrança de {{total}} em {{date}}, com vencimento até {{dueDate}}.", + "refresh-license-info": "Atualizar informações da licença", + "non-production-mode": "Modo de desenvolvimento — somente para uso fora de produção", + "non-production-mode-details": "As cotas de dispositivos, ativos e Edges são ilimitadas; a personalização de marca não está disponível. Não use esta instância em produção.", + "offline-mode": "Modo offline", + "devices": "Dispositivos", + "number-of-devices": "{ count, plural, =1 {1 dispositivo} other {# dispositivos} }", + "unlimited-devices": "Dispositivos ilimitados", + "add-devices": "Adicionar dispositivos", + "device-limit-warn": "Você já usou {{ percent }} do seu limite de dispositivos.", + "device-limit-critical": "Você atingiu o limite de dispositivos. Novos dispositivos não serão registrados até que o limite seja aumentado.", + "assets": "Ativos", + "add-assets": "Adicionar ativos", + "prod-instances": "Instâncias de produção", + "add-instances": "Adicionar instâncias", + "ai-credits": "Créditos de IA", + "add-credits": "Adicionar créditos", + "white-labeling": "Personalização de marca", + "edge": "Edge Computing", + "edges": "Edges", + "add-edges": "Adicionar Edges", + "agents": "Remote Agents", + "add-agents": "Adicionar Remote Agents", + "trendz": "Trendz Analytics", + "name-addon": "Complemento {{name}}", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { Adicionar o {name} } other { Adicionar {name} } }", + "add-addon-subscription": "{{name}} é um complemento pago e aumenta sua cobrança mensal.", + "add-addon-perpetual": "{{name}} é um complemento pago, comprado uma única vez para esta licença.", + "upgrade-plan-devices": "No plano {{plan}}, seu limite de dispositivos está incluído no plano.", + "upgrade-plan-instances": "No plano {{plan}}, seu limite de instâncias de produção está incluído no plano.", + "upgrade-plan-credits": "No plano {{plan}}, seus créditos mensais de IA estão incluídos no plano.", + "upgrade-plan-edges": "No plano {{plan}}, seu limite de Edges está incluído no plano.", + "upgrade-plan-agents": "No plano {{plan}}, seu limite de Remote Agents está incluído no plano.", + "upgrade-plan-white-labeling": "Todos os planos pagos incluem personalização de marca.", + "upgrade-plan-addon": "{{name}} é um complemento pago. Complementos exigem um plano pago.", + "ce-grant-case": "Qualquer compra converte seu Community Grant em uma licença comercial perpétua. Você paga pelo que adicionar, não pelo que o Community Grant já cobre.", + "pe-pack-case": "O Professional Pack é uma compra única, com o mesmo preço para todos os titulares do Community Grant.", + "ce-grant-white-label": "A personalização de marca que você já usa continua gratuita no seu Community Grant.", + "open-portal-manage-license": "Vamos abrir a licença desta implantação no Portal de licenças. Talvez seja necessário fazer login. Clique em Atualizar quando voltar.", + "open-portal-upgrade-plan": "Vamos abrir o Portal de licenças e sugerir um plano. Talvez seja necessário fazer login. Clique em Atualizar quando voltar.", + "open-portal": "Abrir o portal", + "add-license-item-title": "Para {{ action }} {{ item }}, é necessário atualizar {{ package }} no Portal de licenças do ThingsBoard.", + "action-add": "adicionar", + "action-enable": "ativar", + "package-subscription": "sua assinatura", + "package-perpetual": "seu pacote de licenças", + "go-to-license-portal": "Ir para o Portal de licenças", + "add-license-item-step-first": "Redirecionaremos você para o Portal de licenças.", + "add-license-item-step-second": "Assim que você fizer login, abriremos automaticamente os detalhes de {{ package }}.", + "add-license-item-step-third": "Adicione \"{{ item }}\" a {{ package }}.", + "add-license-item-step-fourth": "Após concluir, clique em \"Atualizar informações da licença\" abaixo para atualizar {{ package }} imediatamente.", + "request-feature-sysadmin-text": "Você é o administrador do sistema?", + "login-here": "Faça login aqui", + "to-get-addon": "para obter o complemento.", + "request-edge-title": "Mantenha suas instalações funcionando mesmo quando a rede falha", + "request-edge-text": "Implante instâncias do Edge para distribuir o processamento e a análise pela sua infraestrutura. Principais recursos:", + "edge-card-autonomy-title": "Autonomia", + "edge-card-autonomy-text": "Garante a operação local instantânea mesmo durante falhas de rede", + "edge-card-filtering-title": "Filtragem", + "edge-card-filtering-text": "Reduz o tráfego e os custos de nuvem enviando apenas dados validados e relevantes", + "edge-card-latency-title": "Latência", + "edge-card-latency-text": "Permite controle em tempo real e respostas rápidas processando os dados localmente", + "edge-card-security-title": "Segurança", + "edge-card-security-text": "Oferece uma camada intermediária segura entre os dispositivos OT e a nuvem pública", + "edge-card-efficiency-title": "Eficiência", + "edge-card-efficiency-text": "Normaliza e agrega os dados perto da fonte, reduzindo a carga de trabalho na nuvem", + "request-edge-action-text": "O gerenciamento do Edge está disponível como complemento. Entre em contato com o administrador do sistema para ativá-lo.", + "request-access": "Solicitar acesso", + "requested": "Solicitado", + "upgrade-plan": "Fazer upgrade do plano", + "learn-more": "Saiba mais", + "feature-request-sent-title": "Enviamos uma solicitação automática ao administrador do sistema para habilitar {{addonName}}", + "feature-request-sent-text": "Aguarde um pouco enquanto a solicitação é analisada e as configurações são atualizadas. Talvez seja necessário atualizar esta página para ver as alterações.", + "request-trendz-title": "Transforme conjuntos de dados de IoT em insights e simplifique o processo de tomada de decisão com {{name}}", + "request-trendz-text": "Desbloqueie análises de IoT avançadas sem código com um espaço de trabalho unificado e orientado por IA que permite explorar a telemetria, criar lógica, detectar anomalias, gerar previsões e transformar dados brutos em insights claros e acionáveis", + "request-trendz-action-text": "{{name}} está disponível como complemento. Entre em contato com o administrador do sistema para habilitá-lo.", + "trendz-card-metric-explorer-title": "Explorador de métricas", + "trendz-card-metric-explorer-text": "Analise a telemetria em profundidade com análises sem código, métricas personalizadas e insights visuais instantâneos", + "trendz-card-anomaly-title": "Detecção de anomalias", + "trendz-card-anomaly-text": "Detecte automaticamente comportamentos incomuns nos seus dados", + "trendz-card-calculation-title": "Campos calculados", + "trendz-card-calculation-text": "Defina a lógica de negócios, transforme a telemetria e crie novas métricas", + "trendz-card-prediction-title": "Modelos de previsão", + "trendz-card-prediction-text": "Preveja valores futuros e detecte tendências usando modelos de ML integrados", + "trendz-card-views-title": "Visualizações", + "trendz-card-views-text": "Crie dashboards analíticos compartilháveis para equipes e clientes — tudo em um só lugar.", + "trendz-card-ai-assistant-title": "Assistente de IA", + "trendz-card-ai-assistant-text": "Gere lógica, refine fórmulas e automatize a criação de métricas usando IA em linguagem natural.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Integrações, o agendador, relatórios e personalização de marca.", + "pe-pack-desc": "Estende seu Community Grant ao conjunto completo de recursos.", + "request-pe-pack": "Solicitar o Professional Pack completo", + "add-pe-pack": "Adicionar o Professional Pack completo", + "pe-pack-extend-ce": "Estende seu Community Grant ao conjunto completo de recursos.", + "sys-admin-pe-pack-note": "Administrador do sistema? Faça login e adicione o Professional Pack em Gerenciamento de licenças.", + "pe-pack-requested": "O Professional Pack foi solicitado ao administrador do sistema.", + "white-labeling-promo": "Defina o logotipo, as cores e os títulos em uma página de configurações.", + "white-labeling-promo-try": "Defina o logotipo, as cores e os títulos em uma página de configurações. Abra-a para experimentar.", + "integrations": "Integrações", + "integrations-promo": "Receba dados de LoRaWAN, MQTT, Kafka e outras plataformas de IoT.", + "scheduler": "Agendador", + "scheduler-promo": "Execute atualizações e envie eventos para cadeias de regras de forma agendada.", + "reports": "Relatórios", + "reports-promo": "Crie relatórios com tabelas, gráficos e sua própria marca e envie-os de forma agendada." + }, + "platform-feature": { + "overview": "Visão geral", + "white-labeling": { + "not-in-plan": "A personalização de marca não está incluída no seu plano", + "not-in-ce-grant": "A personalização de marca não está incluída no seu Community Grant.", + "add": "Adicionar personalização de marca", + "request": "Solicitar personalização de marca", + "offer-title": "Sua marca, sua tela de login, seus menus, seus rótulos", + "offer-with-plan-lede": "A personalização de marca está disponível a partir do plano Pilot. Tudo o que você definir aqui substitui o padrão do ThingsBoard — na página de login, nos e-mails que você envia e em todas as páginas em que seus clientes trabalham.", + "offer-lede": "Com a personalização de marca, tudo o que você definir aqui substitui o padrão do ThingsBoard — na página de login, nos e-mails que você envia e em todas as páginas em que seus clientes trabalham.", + "pack-offer-lede": "A personalização de marca vem com o Professional Pack, o complemento pago do seu Community Grant. Com o Professional Pack ativado, tudo o que você definir aqui substitui o padrão do ThingsBoard — na página de login, nos e-mails que você envia e em todas as páginas em que seus clientes trabalham.", + "sys-admin-wl-note": "Administrador do sistema? Faça login e adicione a personalização de marca em Gerenciamento de licenças." + }, + "integrations": { + "not-in-ce-grant": "As integrações não estão incluídas no seu Community Grant.", + "pack-offer-title": "Receba dados de LoRaWAN, MQTT, Kafka e outras plataformas de IoT", + "pack-offer-lede": "As integrações fazem parte do Professional Pack, o complemento pago do seu Community Grant. Cada uma lê dados de um LoRaWAN Network Server, de um broker MQTT ou Kafka, ou de outra plataforma de IoT — criando dispositivos automaticamente à medida que aparecem e gravando o que eles enviam como telemetria.", + "overview": { + "brokers-and-platforms": "Brokers e plataformas", + "brokers-and-platforms-desc": "Uma integração por fonte, configurada e monitorada pela interface.", + "data-converters": "Conversores de dados", + "data-converters-desc": "Decodifique o payload próprio de um dispositivo — incluindo codecs LoRaWAN — com um script, sem alterar o que o dispositivo envia.", + "downlink": "Downlink", + "downlink-desc": "Envie comandos e configurações de volta ao dispositivo pela mesma conexão.", + "remote-integrations": "Integrações remotas", + "remote-integrations-desc": "Execute uma na borda, em um host próprio — ela continua armazenando dados em buffer enquanto o link com o ThingsBoard estiver inativo." + }, + "dozen-protocols-brokers-and-platforms": "Dezenas de protocolos, brokers e plataformas", + "browse-setup-guides-note": "Consulte os guias de configuração na nossa documentação." + }, + "scheduler": { + "not-in-ce-grant": "O agendador não está incluído no seu Community Grant.", + "pack-offer-title": "Execute atualizações e envie eventos para cadeias de regras de forma agendada", + "pack-offer-lede": "O agendador faz parte do Professional Pack, o complemento pago do seu Community Grant. Execute atualizações de firmware e envie eventos para cadeias de regras — cada entrada tem uma hora de início, uma regra de repetição e seu próprio fuso horário, e a plataforma a dispara independentemente de algo seu ainda estar em execução.", + "overview": { + "repeats-and-timezones": "Repetições e fusos horários", + "repeats-and-timezones-desc": "Uma vez, ou diariamente ou semanalmente nos dias que você escolher — e cada evento é processado em seu próprio fuso horário.", + "device-commands": "Comandos de dispositivo", + "device-commands-desc": "Envie um comando a um dispositivo em um horário definido, sem um cron job que armazene um token de API.", + "firmware-and-software": "Firmware e software", + "firmware-and-software-desc": "Distribua um pacote OTA para um dispositivo ou um grupo inteiro em um horário em que ninguém está acompanhando.", + "rule-chain-triggers": "Gatilhos de cadeia de regras", + "rule-chain-triggers-desc": "Publique em uma cadeia de regras, para que tudo o que uma cadeia de regras pode fazer seja executado sem supervisão." + } + }, + "reporting": { + "not-in-ce-grant": "Os relatórios não estão incluídos no seu Community Grant.", + "pack-offer-title": "Crie um relatório uma vez e entregue-o em cada execução agendada", + "pack-offer-lede": "Os relatórios fazem parte do Professional Pack, o complemento pago do seu Community Grant. Você mesmo monta o relatório — tabelas, gráficos, texto e sua própria marca — e cada execução chega aos destinatários conforme o agendamento ou quando um alarme é disparado.", + "overview": { + "your-own-layout": "Seu próprio layout", + "your-own-layout-desc": "Arraste tabelas, gráficos, texto e imagens para o lugar, e um único modelo salvo atende a todos os clientes.", + "pdf-or-csv": "PDF ou CSV", + "pdf-or-csv-desc": "Um documento pronto para impressão com os gráficos já desenhados, ou as linhas brutas para quem quiser os números.", + "channel": "E-mail, Slack, Teams ou SMS", + "channel-desc": "Escolha o canal por destinatário ou por grupo de usuários — a plataforma entrega cada execução agendada.", + "attached-to-alarm": "Anexado ao alarme", + "attached-to-alarm-desc": "Uma notificação leva o relatório consigo, gerado no momento em que o alarme é disparado, com os dados daquele instante." + } + } + }, + "subscription-error": { + "title": "Violação de assinatura", + "warning-title": "Aviso de assinatura", + "upgrade-subscription-plan": "Fazer upgrade do plano de assinatura", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} está disponível a partir do plano {{planName}}. Para continuar, peça ao administrador do sistema que faça upgrade do plano.", + "limit-reached": { + "device-count": "Você atingiu o número máximo de dispositivos ({{value}}) permitido pelo seu plano de assinatura!", + "asset-count": "Você atingiu o número máximo de ativos ({{value}}) permitido pelo seu plano de assinatura!", + "edge-count": "Você atingiu o número máximo de instâncias do Edge ({{value}}) permitido pelo seu plano de assinatura!", + "agent-count": "Você atingiu o número máximo de Remote Agents ({{value}}) permitido pelo seu plano de assinatura!" + }, + "feature-disabled": { + "white-labeling": "A personalização de marca não é permitida pelo seu plano de assinatura!" + } + }, "phone-input": { "phone-input-label": "Número de telefone", "phone-input-required": "O número de telefone é obrigatório", @@ -12584,7 +14249,7 @@ "polygon-click": "Ao clicar no polígono", "marker-click": "Ao clicar no marcador", "circle-click": "Ao clicar no círculo", - "tooltip-tag-action": "Ação da tag de tooltip", + "tooltip-tag-action": "Ação de tag da dica de ferramenta", "node-selected": "Ao selecionar o nó", "element-click": "Ao clicar no elemento HTML", "pie-slice-click": "Ao clicar na fatia", @@ -12613,8 +14278,8 @@ "contact-admin-message": "Aguarde algum tempo para que a solicitação seja analisada e as configurações sejam atualizadas. Pode ser necessário atualizar esta página para ver as alterações.", "contact-admin-title": "Seu Administrador do Sistema foi alertado sobre este erro", "contact-sys-admin": "Contatar o Administrador do Sistema", - "disabled": "Desativado", - "enabled": "Ativado", + "disabled": "Desabilitado", + "enabled": "Habilitado", "explore": "Explorar", "loading-ai-assistant": "Carregando chats de IA...", "loading-anomaly-model": "Carregando modelos de detecção de anomalias...", @@ -12667,6 +14332,7 @@ "trendz-internal-url-invalid": "A URL interna do Trendz é inválida", "trendz-internal-url-required": "A URL interna do Trendz é obrigatória", "trendz-settings": "Configurações do Trendz", + "trendz": "Trendz", "views": "Visualizações", "views-description": "Grupos de visualização e relatórios configurados", "trendz-synced": "Sincronização concluída com sucesso", @@ -12674,7 +14340,7 @@ "trendz-unavailable": "Serviço não detectado", "view-all": "Ver todos", "view-type": { - "ai-card": "AI Card", + "ai-card": "Card de IA", "bar": "Barra", "card": "Card", "card-with-line": "Card com Linha", From 2d3dc29045045b26fbf4b916d5aa3f23d51eba3a Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Tue, 20 Oct 2026 17:22:57 +0200 Subject: [PATCH 236/559] Fixed overflow of value/action settings popovers (#15885) * Simplified fix * Additional fix * Fixed licensee headers * Fixed license headers --- .../main/python/license-headers/curations.json | 18 ------------------ .../action-settings-panel.component.scss | 6 +++++- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index e393f6e739..ecc5bb95de 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -475,18 +475,6 @@ "reason": "PE-specific data/configuration type IntegrationLifecycleEventTrigger.java. Reviewed fields, type discriminators and serialization hooks describe PE entities or PE behavior; matching CE types supply only the common DTO/interface pattern. Resolved as PE-authored consistently with the maintainer decision for PE entity wrappers. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/rule/trigger/RuleEngineComponentLifecycleEventTrigger.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob e4c967c19792ecf5fa6409973459efe5ce73cb8d).", "contentHash": "sha256:c5da9a11ed196635c09972733cf511bee2bd111242c0d084d115d37e2e7524c5" }, - { - "path": "common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserGroupListFilter.java", - "header": "busl", - "reason": "PE user group notification target filter UserGroupListFilter.java; the path has never existed in CE history. Similarity to the CE candidate is the shared filter shape, not a relocation of the CE implementation. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserListFilter.java at aeaf9d1e299 (blob 07cd0280ba84ab71b6823242e18c7c7285296b84).", - "contentHash": "sha256:64563fbc6ee416025b555c14cf3c517c5027bfc112a883078cc717ed471c5b52" - }, - { - "path": "common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserRoleFilter.java", - "header": "busl", - "reason": "PE role-based notification target filter UserRoleFilter.java; the path has never existed in CE history. Similarity to the CE candidate is the shared filter shape, not a relocation of the CE implementation. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/notification/targets/platform/UserListFilter.java at aeaf9d1e299 (blob 07cd0280ba84ab71b6823242e18c7c7285296b84).", - "contentHash": "sha256:007e94e798f25a9d0ccd1716b8a68eada4fe3ced71e531bd0538c2c56e24ecb7" - }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java", "header": "ce-modified", @@ -505,12 +493,6 @@ "reason": "PE-specific data/configuration type EntityGroupNameFilter.java. Reviewed fields, type discriminators and serialization hooks describe PE entities or PE behavior; matching CE types supply only the common DTO/interface pattern. Resolved as PE-authored consistently with the maintainer decision for PE entity wrappers. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/query/EntityNameFilter.java at 0d3b41e002f958887a317ca8366fdc4efa549058 (blob a3889bc7c07de44917eac165a9c4e8578bbbcd62).", "contentHash": "sha256:46cc0073210fb81fb1a71f44604042da6056f78f62468cf45bdc78cdaf8cdd09" }, - { - "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/StateEntityFilter.java", - "header": "busl", - "reason": "PE entity filter StateEntityFilter.java; the path has never existed in CE history. Similarity to the CE candidate is the shared filter shape, not a relocation of the CE implementation. Reviewed candidate common/data/src/main/java/org/thingsboard/server/common/data/query/SingleEntityFilter.java at aeaf9d1e299 (blob dacd7de6eae6cd80cfd63047dad8951d76aeb455).", - "contentHash": "sha256:46835b82b0320007209a5d53528f9fdb534af41c2fcb5a528754c316c530394a" - }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/StateEntityOwnerFilter.java", "header": "busl", diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/action-settings-panel.component.scss b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/action-settings-panel.component.scss index a58e3bd973..260b3d150a 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/action-settings-panel.component.scss +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/action-settings-panel.component.scss @@ -1,9 +1,11 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @import '../../../../../../../../../scss/constants'; .tb-action-settings-panel { width: 530px; + max-height: 90vh; display: flex; flex-direction: column; gap: 16px; @@ -15,6 +17,8 @@ flex-direction: column; gap: 16px; overflow: auto; + flex: 1; + min-height: 0; } .tb-action-settings-title { font-size: 16px; From 3de6e81c0fc8f03897a234a659fc5ca0d6ac71d3 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Tue, 20 Oct 2026 17:29:40 +0200 Subject: [PATCH 237/559] Fixed false "Unsaved changes" popup on the Alarm rule details page when a clear condition is present (#15868) * Fixed false "Unsaved changes" popup on the Alarm rule details page * Fixed false "Unsaved changes" popup on the Alarm rule details page when a clear condition is present * Fixed dashboardId being corrupted and dirty-check bypassed in alarm rule form * PR comments fix * Moved alarm rule argument validation to a configuration group validator --- .../services/calculated-field-form.service.ts | 21 +++++++- .../cf-alarm-rule-condition.component.ts | 54 +++---------------- .../alarm-rules/cf-alarm-rule.component.ts | 41 +++++++------- .../create-cf-alarm-rules.component.ts | 8 --- .../app/shared/models/alarm-rule.models.ts | 17 ++++++ 5 files changed, 62 insertions(+), 79 deletions(-) diff --git a/ui-ngx/src/app/core/services/calculated-field-form.service.ts b/ui-ngx/src/app/core/services/calculated-field-form.service.ts index db84823575..2075c0fee1 100644 --- a/ui-ngx/src/app/core/services/calculated-field-form.service.ts +++ b/ui-ngx/src/app/core/services/calculated-field-form.service.ts @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: Copyright The Thingsboard Authors // SPDX-License-Identifier: Apache-2.0 import { DestroyRef, inject, Injectable } from '@angular/core'; -import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { AbstractControl, FormBuilder, FormGroup, ValidationErrors, ValidatorFn, Validators } from '@angular/forms'; import { pairwise, switchMap } from 'rxjs/operators'; import { Observable } from 'rxjs'; import { @@ -14,6 +14,7 @@ import { import { isDefined } from '@core/utils'; import { CalculatedFieldsService } from '@core/http/calculated-fields.service'; import { CalculatedFieldsTableEntity } from '@home/components/calculated-fields/calculated-fields-table-config'; +import { AlarmRule, areAlarmRuleArgumentsValid } from '@shared/models/alarm-rule.models'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { getTimezoneInfo } from '@shared/models/time/time.models'; @@ -47,10 +48,26 @@ export class CalculatedFieldFormService { propagateRelationTypes: [null], createRules: [null, Validators.required], clearRule: [null], - }), + }, {validators: this.alarmRulesArgumentsValidator()}), }); } + private alarmRulesArgumentsValidator(): ValidatorFn { + return (configuration: AbstractControl): ValidationErrors | null => { + const args = configuration.get('arguments').value; + const createRulesControl = configuration.get('createRules'); + const clearRuleControl = configuration.get('clearRule'); + const rules: AlarmRule[] = []; + if (createRulesControl.enabled) { + rules.push(...Object.values(createRulesControl.value ?? {})); + } + if (clearRuleControl.enabled) { + rules.push(clearRuleControl.value); + } + return rules.every(rule => areAlarmRuleArgumentsValid(rule, args)) ? null : {alarmRuleArguments: {valid: false}}; + }; + } + setupTypeChange(form: FormGroup, destroyRef: DestroyRef, isEditActive?: () => boolean): void { form.get('type').valueChanges.pipe( pairwise(), diff --git a/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule-condition.component.ts b/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule-condition.component.ts index bdcaad5b0e..4a9609eacc 100644 --- a/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule-condition.component.ts +++ b/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule-condition.component.ts @@ -29,7 +29,8 @@ import { AlarmRuleExpressionType, AlarmRuleSchedule, AlarmRuleScheduleType, - checkPredicates + areAlarmRuleConditionFilterArgumentsValid, + isAlarmRuleConditionScheduleArgumentValid } from "@shared/models/alarm-rule.models"; import { CalculatedFieldArgument } from "@shared/models/calculated-field.models"; import { @@ -93,7 +94,6 @@ export class CfAlarmRuleConditionComponent implements ControlValueAccessor, Vali private modelValue: AlarmRuleCondition; private propagateChange = (v: any) => { }; - private onValidatorChange = () => { }; constructor(private dialog: MatDialog, private fb: FormBuilder, @@ -108,10 +108,6 @@ export class CfAlarmRuleConditionComponent implements ControlValueAccessor, Vali registerOnTouched(fn: any): void { } - registerOnValidatorChange(fn: () => void): void { - this.onValidatorChange = fn; - } - setDisabledState(isDisabled: boolean): void { this.disabled = isDisabled; if (this.disabled) { @@ -129,46 +125,18 @@ export class CfAlarmRuleConditionComponent implements ControlValueAccessor, Vali ngOnChanges(changes: SimpleChanges) { if (changes.arguments && !changes.arguments.firstChange) { - if (this.recalculateArgumentValidity()) { - this.onValidatorChange(); - } + this.recalculateArgumentValidity(); } } - private recalculateArgumentValidity(): boolean { - const prevFiltersValid = this.filtersArgumentsValid; - const prevSchedulerValid = this.schedulerArgumentsValid; + private recalculateArgumentValidity(): void { if (!this.modelValue || !this.arguments) { this.filtersArgumentsValid = true; this.schedulerArgumentsValid = true; } else { - this.filtersArgumentsValid = this.areFilterAndPredicateArgumentsValid(this.modelValue, this.arguments); - this.schedulerArgumentsValid = this.isScheduleArgumentValid(this.modelValue, Object.keys(this.arguments)); + this.filtersArgumentsValid = areAlarmRuleConditionFilterArgumentsValid(this.modelValue, this.arguments); + this.schedulerArgumentsValid = isAlarmRuleConditionScheduleArgumentValid(this.modelValue, this.arguments); } - return prevFiltersValid !== this.filtersArgumentsValid || prevSchedulerValid !== this.schedulerArgumentsValid; - } - - private isScheduleArgumentValid(obj: any, validArguments: string[]): boolean { - const arg = obj?.schedule?.dynamicValueArgument; - return !arg || validArguments.includes(arg); - } - - private areFilterAndPredicateArgumentsValid(obj: any, args: Record): boolean { - const validSet = new Set(Object.keys(args)); - const filters = obj?.expression?.filters || obj?.filters || []; - for (const filter of filters) { - if (filter.argument && !validSet.has(filter.argument)) { - return false; - } - } - for (const filter of filters) { - if (Array.isArray(filter.predicates)) { - if (!checkPredicates(filter.predicates, validSet)) { - return false; - } - } - } - return true; } public conditionSet(): boolean { @@ -176,9 +144,7 @@ export class CfAlarmRuleConditionComponent implements ControlValueAccessor, Vali } public validate(control: AbstractControl): ValidationErrors | null { - const hasCondition = this.conditionSet(); - const argsValid = this.filtersArgumentsValid && this.schedulerArgumentsValid; - return (hasCondition && argsValid) ? null : { alarmRuleCondition: { valid: false } }; + return this.conditionSet() ? null : { alarmRuleCondition: { valid: false } }; } public openFilterDialog($event: Event) { @@ -266,7 +232,6 @@ export class CfAlarmRuleConditionComponent implements ControlValueAccessor, Vali this.updateConditionInfo(); this.recalculateArgumentValidity(); this.propagateChange(this.modelValue); - this.onValidatorChange(); this.cd.detectChanges(); } @@ -285,10 +250,7 @@ export class CfAlarmRuleConditionComponent implements ControlValueAccessor, Vali } }).afterClosed().subscribe((result) => { if (result) { - if (!this.modelValue) { - this.modelValue = {} as AlarmRuleCondition; - } - this.modelValue.schedule = result; + this.modelValue = {...this.modelValue, schedule: result} as AlarmRuleCondition; this.updateModel(); } }); diff --git a/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule.component.ts b/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule.component.ts index 51fc4ec8a2..a0d4db2a40 100644 --- a/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule.component.ts +++ b/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule.component.ts @@ -65,12 +65,11 @@ export class CfAlarmRuleComponent implements ControlValueAccessor, OnInit, Valid alarmRuleFormGroup = this.fb.group({ condition: this.fb.control(null, Validators.required), - alarmDetails: [null], - dashboardId: [null] + alarmDetails: this.fb.control(null), + dashboardId: this.fb.control(null) }); private propagateChange = (v: any) => { }; - private onValidatorChange = () => { }; constructor(private dialog: MatDialog, private fb: FormBuilder, @@ -84,20 +83,11 @@ export class CfAlarmRuleComponent implements ControlValueAccessor, OnInit, Valid registerOnTouched(fn: any): void { } - registerOnValidatorChange(fn: () => void): void { - this.onValidatorChange = fn; - } - ngOnInit() { this.alarmRuleFormGroup.valueChanges.pipe( takeUntilDestroyed(this.destroyRef) - ).subscribe(() => { - this.updateModel(); - }); - this.alarmRuleFormGroup.statusChanges.pipe( - takeUntilDestroyed(this.destroyRef) - ).subscribe(() => { - this.onValidatorChange(); + ).subscribe((value) => { + this.updateModel(value); }); } @@ -111,12 +101,14 @@ export class CfAlarmRuleComponent implements ControlValueAccessor, OnInit, Valid } writeValue(value: AlarmRule): void { - this.modelValue = value; - const model = this.modelValue ? { - ...this.modelValue, - dashboardId: this.modelValue.dashboardId?.id - } : null; - this.alarmRuleFormGroup.patchValue(model, {emitEvent: false}); + this.alarmRuleFormGroup.reset(undefined, {emitEvent: false}); + if (value) { + this.alarmRuleFormGroup.patchValue({ + ...value, + dashboardId: value.dashboardId?.id + }, {emitEvent: false}); + } + this.modelValue = value ? this.toModel(this.alarmRuleFormGroup.value) : null; } public openEditDetailsDialog($event: Event) { @@ -146,9 +138,12 @@ export class CfAlarmRuleComponent implements ControlValueAccessor, OnInit, Valid }; } - private updateModel() { - const value = this.alarmRuleFormGroup.value; - this.modelValue = {...value, dashboardId: value.dashboardId ? new DashboardId(value.dashboardId) : null} as AlarmRule; + private updateModel(value: typeof this.alarmRuleFormGroup.value): void { + this.modelValue = this.toModel(value); this.propagateChange(this.modelValue); } + + private toModel(value: typeof this.alarmRuleFormGroup.value): AlarmRule { + return {...value, dashboardId: value.dashboardId ? new DashboardId(value.dashboardId) : null} as AlarmRule; + } } diff --git a/ui-ngx/src/app/modules/home/components/alarm-rules/create-cf-alarm-rules.component.ts b/ui-ngx/src/app/modules/home/components/alarm-rules/create-cf-alarm-rules.component.ts index 5c83d1598f..77f600e5c0 100644 --- a/ui-ngx/src/app/modules/home/components/alarm-rules/create-cf-alarm-rules.component.ts +++ b/ui-ngx/src/app/modules/home/components/alarm-rules/create-cf-alarm-rules.component.ts @@ -63,16 +63,12 @@ export class CreateCfAlarmRulesComponent implements ControlValueAccessor, Valida private usedSeverities: AlarmSeverity[] = []; private propagateChange = (v: any) => { }; - private onValidatorChange = () => { }; constructor(private fb: FormBuilder, private destroyRef: DestroyRef) { this.createAlarmRulesFormGroup.valueChanges.pipe( takeUntilDestroyed(this.destroyRef) ).subscribe(() => this.updateModel()); - this.createAlarmRulesFormGroup.statusChanges.pipe( - takeUntilDestroyed(this.destroyRef) - ).subscribe(() => this.onValidatorChange()); } registerOnChange(fn: any): void { @@ -82,10 +78,6 @@ export class CreateCfAlarmRulesComponent implements ControlValueAccessor, Valida registerOnTouched(fn: any): void { } - registerOnValidatorChange(fn: () => void): void { - this.onValidatorChange = fn; - } - createAlarmRulesFormArray(): UntypedFormArray { return this.createAlarmRulesFormGroup.get('createAlarmRules') as UntypedFormArray; } diff --git a/ui-ngx/src/app/shared/models/alarm-rule.models.ts b/ui-ngx/src/app/shared/models/alarm-rule.models.ts index 950c0f9259..e2f563c119 100644 --- a/ui-ngx/src/app/shared/models/alarm-rule.models.ts +++ b/ui-ngx/src/app/shared/models/alarm-rule.models.ts @@ -285,6 +285,23 @@ export function areFiltersAndPredicateArgumentsValid(obj: any, args: Record): boolean { + return areFiltersAndPredicateArgumentsValid(condition?.expression?.filters, args); +} + +export function isAlarmRuleConditionScheduleArgumentValid(condition: AlarmRuleCondition, + args: Record): boolean { + const arg = condition?.schedule?.dynamicValueArgument; + return !arg || Object.keys(args).includes(arg); +} + +export function areAlarmRuleArgumentsValid(alarmRule: AlarmRule, args: Record): boolean { + const condition = alarmRule?.condition; + return !condition || !args || + (areAlarmRuleConditionFilterArgumentsValid(condition, args) && isAlarmRuleConditionScheduleArgumentValid(condition, args)); +} + export function isPredicateArgumentsValid(predicates: any, args: Record): boolean { const validSet = new Set(Object.keys(args)); if (Array.isArray(predicates)) { From d525b5fd9a30bdb207d0aa228b34fee07da0838b Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Tue, 20 Oct 2026 17:40:26 +0200 Subject: [PATCH 238/559] Fixed gauge widgets showing NaN or 0 instead of "N/A" or "Not supported" for missing or non-numeric values (#15903) * Added show "Not supported"/"N/A" text for non-numeric or empty telemetry values * PR comments fix * Additional fixes * License headers fix --- .../widget/lib/analogue-gauge.models.ts | 35 ++++++++------ .../widget/lib/canvas-digital-gauge.ts | 16 +++++-- .../components/widget/lib/digital-gauge.ts | 46 +++++++++++-------- 3 files changed, 59 insertions(+), 38 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/analogue-gauge.models.ts b/ui-ngx/src/app/modules/home/components/widget/lib/analogue-gauge.models.ts index 8f7c64ab74..3383f28df6 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/analogue-gauge.models.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/analogue-gauge.models.ts @@ -4,13 +4,14 @@ import * as CanvasGauges from 'canvas-gauges'; import { FontSettings, getFontFamily } from '@home/components/widget/lib/settings.models'; import { WidgetContext } from '@home/models/widget-component.models'; -import { isDefined, isDefinedAndNotNull } from '@core/utils'; +import { isDefined, isDefinedAndNotNull, isNumeric } from '@core/utils'; import tinycolor from 'tinycolor2'; import { TbUnit } from '@shared/models/unit.models'; import { ValueFormatProcessor } from '@shared/models/widget-settings.models'; import { UnitService } from '@core/services/unit.service'; import { DataKey } from '@shared/models/widget.models'; import { CustomTranslatePipe } from '@shared/pipe/custom-translate.pipe'; +import { NOT_SUPPORTED } from '@shared/models/telemetry/telemetry.models'; import Highlight = CanvasGauges.Highlight; import BaseGauge = CanvasGauges.BaseGauge; import GenericOptions = CanvasGauges.GenericOptions; @@ -61,6 +62,9 @@ interface BaseGaugeModel extends BaseGauge { _value?: number; } +export const getGaugeValueText = (value: any): string => + !isDefinedAndNotNull(value) || value === '' ? 'N/A' : !isNumeric(value) ? NOT_SUPPORTED : ''; + export abstract class TbBaseGauge { private gauge: BaseGaugeModel; @@ -80,20 +84,23 @@ export abstract class TbBaseGauge { update() { if (this.ctx.data.length > 0) { const cellData = this.ctx.data[0]; - if (cellData.data.length > 0) { - const tvPair = cellData.data[cellData.data.length - 1]; - let value = parseFloat(tvPair[1]); - if (this.formatValue) { - value = parseFloat(this.formatValue.format(value)); - } - if (value !== this.gauge.value) { - if (!this.gauge.options.animation) { - this.gauge._value = value; - } else { - delete this.gauge._value; - } - this.gauge.value = value; + const origValue = cellData.data.length > 0 ? cellData.data[cellData.data.length - 1][1] : null; + let value = parseFloat(origValue); + if (this.formatValue) { + value = parseFloat(this.formatValue.format(value)); + } + const valueText = getGaugeValueText(origValue); + if (this.gauge.options.valueText !== valueText) { + this.gauge.update({valueText} as GenericOptions); + } + const gaugeValue = valueText ? this.gauge.options.minValue : value; + if (!isNaN(gaugeValue) && gaugeValue !== this.gauge.value) { + if (!this.gauge.options.animation) { + this.gauge._value = gaugeValue; + } else { + delete this.gauge._value; } + this.gauge.value = gaugeValue; } } } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/canvas-digital-gauge.ts b/ui-ngx/src/app/modules/home/components/widget/lib/canvas-digital-gauge.ts index 9c864a578e..29b617e619 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/canvas-digital-gauge.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/canvas-digital-gauge.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import * as CanvasGauges from 'canvas-gauges'; import { FontStyle, FontWeight } from '@home/components/widget/lib/settings.models'; import tinycolor from 'tinycolor2'; @@ -750,19 +751,26 @@ function drawDigitalValue(context: DigitalGaugeCanvasRenderingContext2D, options return; } - const {valueY, baseX, width, fontSizeFactor, fontValueBaseline} = + const {valueY, baseX, width, Ri, fontSizeFactor, fontValueBaseline} = context.barDimensions; const textX = Math.round(baseX + width / 2); const textY = valueY; - let text = options.valueText || padValue(options.valueFormat.format(value), options.valueDec); - text += options.symbol; + const text = options.valueText ? options.valueText : padValue(options.valueFormat.format(value), options.valueDec) + options.symbol; context.save(); context.textAlign = 'center'; context.textBaseline = fontValueBaseline; context.font = Drawings.font(options, 'Value', fontSizeFactor); + if (options.valueText) { + const isRound = options.gaugeType === 'donut' || options.gaugeType === 'arc'; + const maxTextWidth = (isRound ? Ri * 2 : width) * 0.9; + const textWidth = context.measureText(text).width; + if (textWidth > maxTextWidth) { + context.font = Drawings.font(options, 'Value', fontSizeFactor * maxTextWidth / textWidth); + } + } context.lineWidth = 0; drawText(context, options, 'Value', text, textX, textY); context.restore(); diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/digital-gauge.ts b/ui-ngx/src/app/modules/home/components/widget/lib/digital-gauge.ts index 09a207752d..ffb8ecbf86 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/digital-gauge.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/digital-gauge.ts @@ -23,6 +23,7 @@ import { UnitService } from '@core/services/unit.service'; import { isNotEmptyTbUnits } from '@shared/models/unit.models'; import { CustomTranslatePipe } from '@shared/pipe/custom-translate.pipe'; import GenericOptions = CanvasGauges.GenericOptions; +import { getGaugeValueText } from '@home/components/widget/lib/analogue-gauge.models'; // @dynamic export class TbCanvasDigitalGauge { @@ -247,27 +248,32 @@ export class TbCanvasDigitalGauge { update() { if (this.ctx.data.length > 0) { const cellData = this.ctx.data[0]; - if (cellData.data.length > 0) { - const tvPair = cellData.data[cellData.data.length - - 1]; - let timestamp: number; - if (this.localSettings.showTimestamp) { - timestamp = tvPair[0]; - const filter = this.ctx.$injector.get(DatePipe); - (this.gauge.options as CanvasDigitalGaugeOptions).labelTimestamp = - filter.transform(timestamp, this.localSettings.timestampFormat); - } - const value = parseFloat(tvPair[1]); - if (value !== this.gauge.value) { - if (!this.gauge.options.animation) { - this.gauge._value = value; - } else { - delete this.gauge._value; - } - this.gauge.value = value; - } else if (this.localSettings.showTimestamp && this.gauge.timestamp !== timestamp) { - this.gauge.timestamp = timestamp; + const tvPair = cellData.data.length > 0 ? cellData.data[cellData.data.length - 1] : null; + let timestamp: number; + if (this.localSettings.showTimestamp && tvPair) { + timestamp = tvPair[0]; + const filter = this.ctx.$injector.get(DatePipe); + (this.gauge.options as CanvasDigitalGaugeOptions).labelTimestamp = + filter.transform(timestamp, this.localSettings.timestampFormat); + } + const origValue = tvPair ? tvPair[1] : null; + const value = parseFloat(origValue); + const options = this.gauge.options as CanvasDigitalGaugeOptions; + const valueText = getGaugeValueText(origValue); + if (options.valueText !== valueText) { + options.valueText = valueText; + this.gauge.update({} as CanvasDigitalGaugeOptions); + } + const gaugeValue = valueText ? options.minValue : value; + if (!isNaN(gaugeValue) && gaugeValue !== this.gauge.value) { + if (!this.gauge.options.animation) { + this.gauge._value = gaugeValue; + } else { + delete this.gauge._value; } + this.gauge.value = gaugeValue; + } else if (this.localSettings.showTimestamp && tvPair && this.gauge.timestamp !== timestamp) { + this.gauge.timestamp = timestamp; } } } From 0325f4e519bc45eb043e9d2d1d499d82900ecb96 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Tue, 20 Oct 2026 17:57:51 +0200 Subject: [PATCH 239/559] Fixed dashboard keeping a deleted or renamed state as current after editing states in "Manage dashboard states" (#15912) * Fixed stale dashboard state after state deletion/rename * Resolved PR comments * Moved removed-state handling from dashboard page to state controllers --- .../dashboard-page.component.ts | 8 ++-- .../default-state-controller.component.ts | 41 ++++++----------- .../entity-state-controller.component.ts | 44 +++++++------------ .../states/state-controller.component.ts | 14 +++++- 4 files changed, 46 insertions(+), 61 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts index fe1d2663c9..c0b63eb8d9 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts @@ -104,6 +104,7 @@ import { } from '@home/components/dashboard-page/states/manage-dashboard-states-dialog.component'; import { ImportExportService } from '@shared/import-export/import-export.service'; import { AuthState } from '@app/core/auth/auth.models'; +import { IStateControllerComponent } from '@home/components/dashboard-page/states/state-controller.models'; import { DashboardReportService } from '@core/http/dashboard-report.service'; import { EntityGroupInfo, resolveGroupParams } from '@shared/models/entity-group.models'; import { UserPermissionsService } from '@core/http/user-permissions.service'; @@ -1198,11 +1199,10 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC private updateStates(states: {[id: string]: DashboardState }) { this.dashboard.configuration.states = states; this.dashboardUtils.removeUnusedWidgets(this.dashboard); - let targetState = this.dashboardCtx.state; - if (!this.dashboard.configuration.states[targetState]) { - targetState = this.dashboardUtils.getRootStateId(this.dashboardConfiguration.states); + if (states[this.dashboardCtx.state]) { + this.openDashboardState(this.dashboardCtx.state); } - this.openDashboardState(targetState); + (this.dashboardCtx.stateController as IStateControllerComponent).states = states; } public importWidget($event: Event) { diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/states/default-state-controller.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/states/default-state-controller.component.ts index 10c2cc4522..a8e96124c3 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/states/default-state-controller.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/states/default-state-controller.component.ts @@ -36,9 +36,9 @@ export class DefaultStateControllerComponent extends StateControllerComponent im protected utils: UtilsService, private entityService: EntityService, private mobileService: MobileService, - private dashboardUtils: DashboardUtilsService, + dashboardUtils: DashboardUtilsService, private breadcrumbService: BreadcrumbService) { - super(router, route, utils, window, ngZone, statesControllerService); + super(router, route, utils, window, ngZone, statesControllerService, dashboardUtils); } ngOnInit(): void { @@ -51,7 +51,7 @@ export class DefaultStateControllerComponent extends StateControllerComponent im public init() { if (this.preservedState) { - this.stateObject = this.preservedState; + this.stateObject = this.normalizeStateObject(this.preservedState); setTimeout(() => { this.gotoState(this.stateObject[0].id, true); }, 1); @@ -71,6 +71,13 @@ export class DefaultStateControllerComponent extends StateControllerComponent im } protected onStatesChanged() { + const prevStateId = this.getStateId(); + this.stateObject = this.normalizeStateObject(this.stateObject); + const newStateId = this.getStateId(); + if (newStateId !== prevStateId) { + this.gotoState(newStateId, false); + this.updateStateParam(objToBase64(this.stateObject), true); + } } protected onStateChanged() { @@ -204,33 +211,13 @@ export class DefaultStateControllerComponent extends StateControllerComponent im try { result = base64toObj(stateBase64); } catch (e) { - result = [ { id: null, params: {} } ]; + result = []; } } - if (!result) { - result = []; - } - if (!result.length) { - result[0] = { id: null, params: {} }; - } else if (result.length > 1) { - const newResult = []; - newResult.push(result[result.length - 1]); - result = newResult; - } - const rootStateId = this.dashboardUtils.getRootStateId(this.states); - if (!result[0].id) { - result[0].id = rootStateId; - } - if (!this.states[result[0].id]) { - result[0].id = rootStateId; - } - let i = result.length; - while (i--) { - if (!result[i].id || !this.states[result[i].id]) { - result.splice(i, 1); - } + if (result && result.length > 1) { + result = [ result[result.length - 1] ]; } - return result; + return this.normalizeStateObject(result); } private gotoState(stateId: string, update: boolean, openRightLayout?: boolean) { diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/states/entity-state-controller.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/states/entity-state-controller.component.ts index ed14502b39..03917752a3 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/states/entity-state-controller.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/states/entity-state-controller.component.ts @@ -41,9 +41,9 @@ export class EntityStateControllerComponent extends StateControllerComponent imp protected utils: UtilsService, private entityService: EntityService, private mobileService: MobileService, - private dashboardUtils: DashboardUtilsService, + dashboardUtils: DashboardUtilsService, private breadcrumbService: BreadcrumbService) { - super(router, route, utils, window, ngZone, statesControllerService); + super(router, route, utils, window, ngZone, statesControllerService, dashboardUtils); } ngOnInit(): void { @@ -56,7 +56,7 @@ export class EntityStateControllerComponent extends StateControllerComponent imp public init() { if (this.preservedState) { - this.stateObject = this.preservedState; + this.stateObject = this.normalizeStateObject(this.preservedState); this.selectedStateIndex = this.stateObject.length - 1; setTimeout(() => { this.gotoState(this.stateObject[this.stateObject.length - 1].id, true); @@ -78,6 +78,13 @@ export class EntityStateControllerComponent extends StateControllerComponent imp } protected onStatesChanged() { + const prevStateId = this.getStateId(); + this.stateObject = this.normalizeStateObject(this.stateObject); + this.selectedStateIndex = this.stateObject.length - 1; + const newStateId = this.getStateId(); + if (newStateId !== prevStateId) { + this.gotoState(newStateId, true, undefined, true); + } } protected onStateChanged() { @@ -248,32 +255,13 @@ export class EntityStateControllerComponent extends StateControllerComponent imp try { result = base64toObj(stateBase64); } catch (e) { - result = [ { id: null, params: {} } ]; - } - } - if (!result) { - result = []; - } - if (!result.length) { - result[0] = { id: null, params: {} }; - } - const rootStateId = this.dashboardUtils.getRootStateId(this.states); - if (!result[0].id) { - result[0].id = rootStateId; - } - if (!this.states[result[0].id]) { - result[0].id = rootStateId; - } - let i = result.length; - while (i--) { - if (!result[i].id || !this.states[result[i].id]) { - result.splice(i, 1); + result = []; } } - return result; + return this.normalizeStateObject(result); } - private gotoState(stateId: string, update: boolean, openRightLayout?: boolean) { + private gotoState(stateId: string, update: boolean, openRightLayout?: boolean, replaceCurrentHistoryUrl?: boolean) { const isStateIdChanged = this.dashboardCtrl.dashboardCtx.state !== stateId; this.dashboardCtrl.openDashboardState(stateId, openRightLayout); if (isStateIdChanged) { @@ -283,11 +271,11 @@ export class EntityStateControllerComponent extends StateControllerComponent imp this.mobileService.handleDashboardStateName(this.getStateName(this.stateObject.length - 1)); } if (update) { - this.updateLocation(isStateIdChanged); + this.updateLocation(replaceCurrentHistoryUrl ?? !isStateIdChanged); } } - private updateLocation(isStateIdChanged: boolean) { + private updateLocation(replaceCurrentHistoryUrl: boolean) { if (this.stateObject[this.stateObject.length - 1].id) { let newState; if (this.isDefaultState()) { @@ -295,7 +283,7 @@ export class EntityStateControllerComponent extends StateControllerComponent imp } else { newState = objToBase64(this.stateObject); } - this.updateStateParam(newState, !isStateIdChanged); + this.updateStateParam(newState, replaceCurrentHistoryUrl); } } diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/states/state-controller.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/states/state-controller.component.ts index c4615bd0c2..8f33c61860 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/states/state-controller.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/states/state-controller.component.ts @@ -4,12 +4,13 @@ import { IStateControllerComponent, StateControllerState } from '@home/components/dashboard-page/states/state-controller.models'; import { IDashboardController } from '../dashboard-page.models'; import { DashboardState } from '@app/shared/models/dashboard.models'; -import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs'; +import { Observable, Subject, Subscription } from 'rxjs'; import { NgZone, OnDestroy, OnInit, Directive } from '@angular/core'; import { ActivatedRoute, Params, Router } from '@angular/router'; import { StatesControllerService } from '@home/components/dashboard-page/states/states-controller.service'; import { EntityId } from '@app/shared/models/id/entity-id'; import { StateObject, StateParams } from '@app/core/api/widget-api.models'; +import { DashboardUtilsService } from '@core/services/dashboard-utils.service'; import { WindowMessage } from '@shared/models/window-message.model'; import { UtilsService } from '@core/services/utils.service'; @@ -91,7 +92,8 @@ export abstract class StateControllerComponent implements IStateControllerCompon protected utils: UtilsService, protected window: Window, protected ngZone: NgZone, - protected statesControllerService: StatesControllerService) { + protected statesControllerService: StatesControllerService, + protected dashboardUtils: DashboardUtilsService) { } ngOnInit(): void { @@ -123,6 +125,14 @@ export abstract class StateControllerComponent implements IStateControllerCompon this.stateChangedSubject.complete(); } + protected normalizeStateObject(stateObject: StateControllerState): StateControllerState { + const result = (stateObject || []).filter((stateObj) => stateObj.id && this.states[stateObj.id]); + if (!result.length) { + result.push({ id: this.dashboardUtils.getRootStateId(this.states), params: {} }); + } + return result; + } + protected updateStateParam(newState: string, replaceCurrentHistoryUrl = false) { this.currentState = newState; if (this.syncStateWithQueryParam) { From e5378bd01ff652c7bdb82ec7a458484b719c21d8 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 21 Oct 2026 15:42:28 +0300 Subject: [PATCH 240/559] Add chat with saved AI models by ID for API clients --- .../upgrade/lts/4.4.1.0/schema_update.sql | 2 + .../server/controller/AiModelController.java | 70 ++++++- .../service/ai/TbAiModelChatRequest.java | 32 +++ .../install/lts/V4_4_1_0Migration.java | 106 +++++++++- .../permission/CustomerUserPermissions.java | 19 ++ .../trendz/DefaultTrendzSyncService.java | 1 + .../controller/AiModelControllerTest.java | 192 ++++++++++++++++++ .../install/lts/V4_4_1_0MigrationTest.java | 151 ++++++++++++++ .../service/trendz/TrendzSyncServiceTest.java | 11 + .../server/dao/ai/AiModelService.java | 2 + .../server/common/data/ai/AiModel.java | 10 + .../common/data/permission/Operation.java | 3 +- .../common/data/permission/Resource.java | 6 +- .../thingsboard/server/dao/ai/AiModelDao.java | 4 + .../server/dao/ai/AiModelServiceImpl.java | 7 +- .../server/dao/model/ModelConstants.java | 1 + .../server/dao/model/sql/AiModelEntity.java | 5 + .../server/dao/sql/ai/AiModelRepository.java | 7 +- .../server/dao/sql/ai/JpaAiModelDao.java | 7 +- .../main/resources/sql/schema-entities.sql | 15 +- .../ai-model/ai-model-dialog.component.html | 6 + .../ai-model/ai-model-dialog.component.ts | 1 + .../src/app/shared/models/ai-model.models.ts | 1 + .../src/app/shared/models/security.models.ts | 3 +- .../assets/locale/locale.constant-en_US.json | 5 +- 25 files changed, 641 insertions(+), 26 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java create mode 100644 application/src/test/java/org/thingsboard/server/service/install/lts/V4_4_1_0MigrationTest.java diff --git a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql index 7d857eb6b2..78aa309ba5 100644 --- a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql +++ b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql @@ -6,3 +6,5 @@ -- Tenant-scoped paging over calculated fields (WHERE tenant_id = ? ORDER BY id LIMIT ?), issued for every tenant -- when the calculated field actors initialize, otherwise scans the whole table and sorts on each call. CREATE INDEX IF NOT EXISTS idx_calculated_field_tenant_id_id ON calculated_field(tenant_id, id); + +ALTER TABLE ai_model ADD COLUMN IF NOT EXISTS available_via_api BOOLEAN NOT NULL DEFAULT FALSE; diff --git a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java index 646e3e06af..5db4b29a7f 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java @@ -20,10 +20,12 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.request.async.DeferredResult; +import org.thingsboard.rule.engine.ai.TbResponseFormat; import org.thingsboard.server.common.data.ai.AiModel; import org.thingsboard.server.common.data.ai.dto.TbChatRequest; import org.thingsboard.server.common.data.ai.dto.TbChatResponse; import org.thingsboard.server.common.data.ai.model.chat.AiChatModelConfig; +import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.page.PageData; @@ -32,6 +34,8 @@ import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.config.annotations.ApiOperation; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.AiChatModelService; +import org.thingsboard.server.service.ai.TbAiModelChatRequest; +import org.thingsboard.server.service.security.model.SecurityUser; import java.time.Duration; import java.util.Optional; @@ -45,6 +49,7 @@ import static org.thingsboard.server.controller.ControllerConstants.PAGE_SIZE_DE import static org.thingsboard.server.controller.ControllerConstants.SORT_ORDER_DESCRIPTION; import static org.thingsboard.server.controller.ControllerConstants.SORT_PROPERTY_DESCRIPTION; import static org.thingsboard.server.controller.ControllerConstants.TENANT_AUTHORITY_PARAGRAPH; +import static org.thingsboard.server.controller.ControllerConstants.TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH; @Validated @RestController @@ -107,12 +112,14 @@ class AiModelController extends BaseController { @Parameter(description = SORT_PROPERTY_DESCRIPTION, schema = @Schema(allowableValues = {"createdTime", "name", "provider", "modelId"})) @RequestParam(required = false) String sortProperty, @Parameter(description = SORT_ORDER_DESCRIPTION, schema = @Schema(allowableValues = {"ASC", "DESC"})) - @RequestParam(required = false) String sortOrder + @RequestParam(required = false) String sortOrder, + @Parameter(description = "Filter by the 'available via API' flag; all models are returned when omitted") + @RequestParam(required = false) Boolean availableViaApi ) throws ThingsboardException { var user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.READ); var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); - return aiModelService.findAiModelsByTenantId(user.getTenantId(), pageLink); + return aiModelService.findAiModelsByTenantId(user.getTenantId(), availableViaApi, pageLink); } @ApiOperation( @@ -152,15 +159,66 @@ class AiModelController extends BaseController { @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/chat") public DeferredResult sendChatRequest(@Valid @RequestBody TbChatRequest tbChatRequest) throws ThingsboardException { - ChatRequest langChainChatRequest = tbChatRequest.toLangChainChatRequest(); - AiChatModelConfig chatModelConfig = tbChatRequest.chatModelConfig(); + return executeChatRequest(tbChatRequest.chatModelConfig(), tbChatRequest.toLangChainChatRequest()); + } + + @ApiOperation( + value = "Send request to a saved AI chat model (sendChatRequestToAiModel)", + notes = "Submits a single prompt - made up of an optional system message and a required user message - to the AI chat model " + + "with the specified `id`, using its saved configuration, and returns either the generated answer or an error envelope. " + + "The model must be marked as available via API, and the user must have the 'INVOKE' permission for AI models. " + + "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE', " + + "so marking a model as available via API makes it callable by every user with such a role." + + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH + ) + @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") + @PostMapping("/{modelUuid}/chat") + public DeferredResult sendChatRequestToAiModel( + @Parameter( + description = "ID of the AI model record", + required = true, + example = "de7900d4-30e2-11f0-9cd2-0242ac120002" + ) + @PathVariable UUID modelUuid, + @Valid @RequestBody TbAiModelChatRequest request + ) throws ThingsboardException { + AiModel model = checkAiModelId(new AiModelId(modelUuid), Operation.INVOKE); + if (!model.isAvailableViaApi()) { + throw new ThingsboardException("AI model with id [" + modelUuid + "] is not available via API", ThingsboardErrorCode.PERMISSION_DENIED); + } + if (!(model.getConfiguration() instanceof AiChatModelConfig chatModelConfig)) { + throw new ThingsboardException("AI model with id [" + modelUuid + "] is not a chat model", ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } - ListenableFuture future = aiChatModelService.sendChatRequestAsync(getTenantId(), chatModelConfig, langChainChatRequest) + ChatRequest chatRequest = new TbChatRequest(request.systemMessage(), request.userMessage(), chatModelConfig).toLangChainChatRequest(); + TbResponseFormat responseFormat = request.responseFormat(); + if (responseFormat != null) { + if (!responseFormat.isSupportedBy(chatModelConfig)) { + throw new ThingsboardException("AI model with id [" + modelUuid + "] does not support '" + responseFormat.type() + "' response format", + ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } + chatRequest = chatRequest.toBuilder().responseFormat(responseFormat.toLangChainResponseFormat()).build(); + } + return executeChatRequest(chatModelConfig, chatRequest); + } + + private DeferredResult executeChatRequest(AiChatModelConfig chatModelConfig, ChatRequest chatRequest) throws ThingsboardException { + SecurityUser user = getCurrentUser(); + ListenableFuture future = aiChatModelService.sendChatRequestAsync(user.getTenantId(), chatModelConfig, chatRequest) .transform(chatResponse -> (TbChatResponse) new TbChatResponse.Success(chatResponse.aiMessage().text()), directExecutor()) - .catching(Throwable.class, ex -> new TbChatResponse.Failure(ex.getMessage()), directExecutor()); + .catching(Throwable.class, ex -> toFailure(user, ex), directExecutor()); Integer requestTimeoutSeconds = chatModelConfig.timeoutSeconds(); return requestTimeoutSeconds != null ? wrapFuture(future, Duration.ofSeconds(requestTimeoutSeconds).toMillis()) : wrapFuture(future); } + private TbChatResponse.Failure toFailure(SecurityUser user, Throwable ex) { + if (!user.isCustomerUser()) { + return new TbChatResponse.Failure(ex.getMessage()); + } + // Provider errors may reveal configuration details that customer users must not see + log.debug("[{}] Chat request of customer user [{}] failed", user.getTenantId(), user.getId(), ex); + return new TbChatResponse.Failure("Failed to get a response from the AI model"); + } + } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java b/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java new file mode 100644 index 0000000000..11210d593a --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.ai; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotNull; +import org.thingsboard.rule.engine.ai.TbResponseFormat; +import org.thingsboard.server.common.data.ai.dto.TbUserMessage; + +public record TbAiModelChatRequest( + @Schema( + requiredMode = Schema.RequiredMode.NOT_REQUIRED, + description = "A system-level instruction that frames the user's input, setting the persona, tone, and constraints for the generated response", + example = "You are a helpful assistant. Only output valid JSON." + ) + String systemMessage, + + @Schema( + requiredMode = Schema.RequiredMode.REQUIRED, + description = "The actual user prompt that will be answered by the AI model" + ) + @NotNull @Valid + TbUserMessage userMessage, + + @Schema( + requiredMode = Schema.RequiredMode.NOT_REQUIRED, + description = "Format of the generated response; plain text when omitted" + ) + @Valid + TbResponseFormat responseFormat +) {} diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java index 7b79bc59be..05583e5744 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java @@ -2,29 +2,125 @@ // SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.server.service.install.lts; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.permission.Operation; +import org.thingsboard.server.common.data.permission.Resource; +import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.pat.ApiKeyService; import org.thingsboard.server.queue.util.TbCoreComponent; +import java.util.EnumSet; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import static org.thingsboard.server.dao.trendz.TrendzSyncService.TRENDZ_API_KEY_DESCRIPTION; + /** - * Registration-only migration with no {@link #apply()} (no data migration). + * Migration for version {@code 4.4.1.0}. *

    - * {@link MigrationService} selects migrations from the injected {@link Migration} beans, not from the - * on-disk {@code data/upgrade/lts//} directories. So this bean is what makes the runner discover - * version {@code 4.4.1.0} and execute its {@code data/upgrade/lts/4.4.1.0/schema_update.sql}, which adds the - * {@code idx_calculated_field_tenant_id_id} index used by tenant-scoped calculated field paging. + * {@link MigrationService} selects migrations from the injected {@link Migration} beans, not from the on-disk + * {@code data/upgrade/lts//} directories, so this bean is what makes the runner discover version + * {@code 4.4.1.0} and execute its {@code data/upgrade/lts/4.4.1.0/schema_update.sql}. *

    * It needs a slot of its own rather than {@code 4.4.0.0}: that version is already released, and * {@link Version#isInRange} is exclusive at the lower bound, so an installation already on {@code 4.4.0.0} * would never pick up a change added there. *

    * The dir/bean consistency (both ways) is guarded by a test in {@code MigrationIntegrationTest}. + *

    + * Each thing this version migrates lives in its own private method called from {@link #apply()}, with the constants + * it needs declared inside it, so a further change means one more method and one more line in {@code apply()}. */ +@Slf4j @Component @TbCoreComponent +@RequiredArgsConstructor public class V4_4_1_0Migration implements Migration { + private final ApiKeyService apiKeyService; + @Override public String getVersion() { return "4.4.1.0"; } + + /** + * Runs in the same transaction as the version's schema SQL on the no-downtime path, and outside any transaction + * on the offline path (see {@link Migration#apply}). Every step below must therefore be light enough to sit in + * a schema transaction, and idempotent, since a crash before the version is recorded re-runs it. + */ + @Override + public void apply() { + grantAiModelReadAndInvokeToTrendzApiKey(); + } + + /** + * Grants {@link Operation#READ} and {@link Operation#INVOKE} on {@link Resource#AI_MODEL} to the internal Trendz API key. + *

    + * Trendz lists AI models and sends chat requests to them through that key, but keys minted before this version were + * created from a {@code buildTrendzPermissions()} that did not include the resource, so every AI model endpoint + * answered 403. New keys get it from {@code DefaultTrendzSyncService.buildTrendzPermissions()}, which is the source + * of truth this method mirrors -- keep the two in step. + *

    + * Expressed against the {@link Resource} and {@link Operation} enums rather than as SQL over the permissions JSON, + * so renaming an enum constant breaks the build instead of silently matching nothing. + *

    + * Idempotent: an operation already present is never added twice, and the key is saved only when something actually + * changed, so a re-run is a no-op. + */ + private void grantAiModelReadAndInvokeToTrendzApiKey() { + // The operations Trendz needs to list AI models and send chat requests to them. + Set aiModelOperations = EnumSet.of(Operation.READ, Operation.INVOKE); + // SYS_ADMIN is deliberately absent: AI models are tenant entities. + List authorities = List.of(Authority.TENANT_ADMIN, Authority.CUSTOMER_USER); + + ApiKey trendzApiKey = apiKeyService.findInternalApiKeyByDescription(TenantId.SYS_TENANT_ID, TRENDZ_API_KEY_DESCRIPTION); + if (trendzApiKey == null || trendzApiKey.getPermissions() == null + || trendzApiKey.getPermissions().getOperationsByResource() == null) { + log.debug("No internal Trendz API key with stored permissions, nothing to grant"); + return; + } + + Map>> byAuthority = + new HashMap<>(trendzApiKey.getPermissions().getOperationsByResource()); + boolean changed = false; + + for (Authority authority : authorities) { + Map> byResource = byAuthority.get(authority); + if (byResource == null) { + continue; + } + // Copy rather than mutate in place: the deserialized maps and sets carry no mutability guarantee. + Map> updatedByResource = new HashMap<>(byResource); + Set operations = updatedByResource.get(Resource.AI_MODEL); + if (operations != null && operations.containsAll(aiModelOperations)) { + continue; + } + // An authority the key covers gets the resource even if it was never granted: AI models are new to the key. + Set updated = EnumSet.copyOf(aiModelOperations); + if (operations != null) { + updated.addAll(operations); + } + updatedByResource.put(Resource.AI_MODEL, updated); + changed = true; + byAuthority.put(authority, updatedByResource); + } + + if (!changed) { + log.debug("Internal Trendz API key already grants {} on {}", aiModelOperations, Resource.AI_MODEL); + return; + } + + trendzApiKey.getPermissions().setOperationsByResource(byAuthority); + // Preserves the key's value, so Trendz keeps authenticating with the secret it already holds, and evicts the + // key from the cache, which would otherwise keep serving the old permissions for the rest of its TTL. + apiKeyService.saveApiKey(TenantId.SYS_TENANT_ID, trendzApiKey); + log.info("Granted {} on {} to the internal Trendz API key", aiModelOperations, Resource.AI_MODEL); + } } diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index 2eab59f385..14223b4321 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -93,6 +93,7 @@ public class CustomerUserPermissions extends AbstractPermissions { put(Resource.REPORT_TEMPLATE, reportTemplatePermissionChecker); put(Resource.REPORT, customerStandaloneEntityPermissionChecker); put(Resource.API_KEY, apiKeysPermissionChecker); + put(Resource.AI_MODEL, aiModelPermissionChecker); } private final PermissionChecker customerAlarmPermissionChecker = new PermissionChecker<>() { @@ -487,6 +488,24 @@ public class CustomerUserPermissions extends AbstractPermissions { } }; + // Only INVOKE is grantable: reading the model would expose the provider credentials stored in its configuration. + // Roles granting ALL include INVOKE, so the model's 'availableViaApi' flag decides which models such users can call. + private static final PermissionChecker aiModelPermissionChecker = new PermissionChecker() { + + @Override + public boolean hasPermission(SecurityUser user, Resource resource, Operation operation) { + return operation == Operation.INVOKE && user.getUserPermissions().hasGenericPermission(resource, operation); + } + + @Override + public boolean hasPermission(SecurityUser user, Operation operation, EntityId entityId, TenantEntity entity) { + if (operation != Operation.INVOKE || !user.getTenantId().equals(entity.getTenantId())) { + return false; + } + return user.getUserPermissions().hasGenericPermission(Resource.AI_MODEL, operation); + } + }; + private static final PermissionChecker apiKeysPermissionChecker = new PermissionChecker() { @Override diff --git a/application/src/main/java/org/thingsboard/server/service/trendz/DefaultTrendzSyncService.java b/application/src/main/java/org/thingsboard/server/service/trendz/DefaultTrendzSyncService.java index dbf379f658..fbb88fd12a 100644 --- a/application/src/main/java/org/thingsboard/server/service/trendz/DefaultTrendzSyncService.java +++ b/application/src/main/java/org/thingsboard/server/service/trendz/DefaultTrendzSyncService.java @@ -385,6 +385,7 @@ public class DefaultTrendzSyncService implements TrendzSyncService { tenantCustomerPermissions.put(Resource.WHITE_LABELING, Set.of(Operation.READ)); tenantCustomerPermissions.put(Resource.DEVICE_PROFILE, Set.of(Operation.READ, Operation.READ_CALCULATED_FIELD)); tenantCustomerPermissions.put(Resource.ASSET_PROFILE, Set.of(Operation.READ, Operation.READ_CALCULATED_FIELD)); + tenantCustomerPermissions.put(Resource.AI_MODEL, Set.of(Operation.READ, Operation.INVOKE)); permissions.put(Authority.TENANT_ADMIN, tenantCustomerPermissions); permissions.put(Authority.CUSTOMER_USER, tenantCustomerPermissions); diff --git a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java index 84ce79e571..f35a6ed923 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java @@ -28,6 +28,7 @@ import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.page.SortOrder; import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.service.ai.TbAiModelChatRequest; import java.util.List; @@ -90,9 +91,26 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(savedModel.getTenantId()).isEqualTo(tenantId); assertThat(savedModel.getName()).isEqualTo("Test model"); assertThat(savedModel.getConfiguration()).isEqualTo(model.getConfiguration()); + assertThat(savedModel.isAvailableViaApi()).isFalse(); assertThat(savedModel.getExternalId()).isNull(); } + @Test + public void saveAiModel_whenAvailableViaApiIsSet_shouldPersistIt() throws Exception { + // GIVEN + loginTenantAdmin(); + + AiModel model = constructValidOpenAiModel("Test model"); + model.setAvailableViaApi(true); + + // WHEN + var savedModel = doPost("/api/ai/model", model, AiModel.class); + + // THEN + assertThat(savedModel.isAvailableViaApi()).isTrue(); + assertThat(doGet("/api/ai/model/" + savedModel.getId(), AiModel.class).isAvailableViaApi()).isTrue(); + } + @Test public void saveAiModel_whenUpdatingExistingModelAsTenantAdmin_shouldSucceed() throws Exception { // GIVEN @@ -244,6 +262,132 @@ public class AiModelControllerTest extends AbstractControllerTest { } } + /* --- Chat with saved model API tests --- */ + + @Test + public void sendChatRequestToAiModel_whenUserIsSysAdmin_shouldReturnForbidden() throws Exception { + // GIVEN + loginSysAdmin(); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + Uuids.timeBased() + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isForbidden()).andExpect(statusReason(equalTo(msgErrorPermission))); + } + + @Test + public void sendChatRequestToAiModel_whenModelDoesNotExist_shouldReturnNotFound() throws Exception { + // GIVEN + loginTenantAdmin(); + + var nonexistentModelId = new AiModelId(Uuids.timeBased()); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + nonexistentModelId + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isNotFound()) + .andExpect(statusReason(is("AI model with id [" + nonexistentModelId + "] is not found"))); + } + + @Test + public void sendChatRequestToAiModel_whenModelIsNotAvailableViaApi_shouldReturnForbidden() throws Exception { + // GIVEN + loginTenantAdmin(); + + var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + model.getId() + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isForbidden()) + .andExpect(statusReason(is("AI model with id [" + model.getId() + "] is not available via API"))); + } + + @Test + public void sendChatRequestToAiModel_whenTenantAdmin_shouldUseStoredConfigurationAndReturnProviderError() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + SsrfProtectionValidator.setEnabled(true); + + try { + // WHEN + TbChatResponse response = doPostAsync("/api/ai/model/" + model.getId() + "/chat", constructChatRequest(), TbChatResponse.class, status().isOk()); + + // THEN + assertThat(response).isInstanceOf(TbChatResponse.Failure.class); + assertThat(((TbChatResponse.Failure) response).errorDetails()).contains("URI is invalid"); + } finally { + SsrfProtectionValidator.setEnabled(false); + } + } + + @Test + public void sendChatRequestToAiModel_whenCustomerAdmin_shouldBeAllowedAndHideProviderError() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + loginCustomerAdminUser(); + SsrfProtectionValidator.setEnabled(true); + + try { + // WHEN + TbChatResponse response = doPostAsync("/api/ai/model/" + model.getId() + "/chat", constructChatRequest(), TbChatResponse.class, status().isOk()); + + // THEN + assertThat(response).isInstanceOf(TbChatResponse.Failure.class); + assertThat(((TbChatResponse.Failure) response).errorDetails()).isEqualTo("Failed to get a response from the AI model"); + } finally { + SsrfProtectionValidator.setEnabled(false); + } + } + + @Test + public void sendChatRequestToAiModel_whenCustomerUserWithoutInvokePermission_shouldReturnForbidden() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + loginCustomerUser(); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + model.getId() + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isForbidden()) + .andExpect(statusReason(equalTo("You don't have permission to perform 'INVOKE' operation with AI_MODEL 'Test model'!"))); + } + + /* --- Customer permission tests --- */ + + @Test + public void aiModelPermission_whenCustomerAdminGrantedAll_shouldAllowInvokeOnly() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + loginCustomerAdminUser(); + + // WHEN / THEN + assertThat(hasAiModelPermission(model, "INVOKE")).isTrue(); + assertThat(hasAiModelPermission(model, "READ")).isFalse(); + assertThat(hasAiModelPermission(model, "WRITE")).isFalse(); + assertThat(hasAiModelPermission(model, "DELETE")).isFalse(); + } + + @Test + public void aiModelPermission_whenCustomerUserGrantedReadOnAllResources_shouldDenyReadAndInvoke() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + loginCustomerUser(); + + // WHEN / THEN + assertThat(hasAiModelPermission(model, "READ")).isFalse(); + assertThat(hasAiModelPermission(model, "INVOKE")).isFalse(); + } + /* --- Get by ID API tests --- */ @Test @@ -442,6 +586,27 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(result4.hasNext()).isFalse(); } + @Test + public void getAiModels_testFilterByAvailableViaApi() throws Exception { + // GIVEN + loginTenantAdmin(); + + var available = constructValidOpenAiModel("Available model"); + available.setAvailableViaApi(true); + available = doPost("/api/ai/model", available, AiModel.class); + var unavailable = doPost("/api/ai/model", constructValidOpenAiModel("Unavailable model"), AiModel.class); + + // WHEN + PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model?availableViaApi=true&", new TypeReference<>() {}, new PageLink(10)); + PageData onlyUnavailable = doGetTypedWithPageLink("/api/ai/model?availableViaApi=false&", new TypeReference<>() {}, new PageLink(10)); + PageData all = doGetTypedWithPageLink("/api/ai/model?", new TypeReference<>() {}, new PageLink(10)); + + // THEN + assertThat(onlyAvailable.getData()).containsExactly(available); + assertThat(onlyUnavailable.getData()).containsExactly(unavailable); + assertThat(all.getData()).containsExactlyInAnyOrder(available, unavailable); + } + @Test public void getAiModels_testSortingByCreatedTime() throws Exception { // GIVEN @@ -703,6 +868,33 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(deleted).isFalse(); } + private AiModel saveModelAvailableViaApiWithBlockedBaseUrl() throws Exception { + var modelConfig = OpenAiChatModelConfig.builder() + .providerConfig(OpenAiProviderConfig.builder() + .baseUrl("http://10.0.0.1:8080/") + .apiKey("test-api-key") + .build()) + .modelId("gpt-4o") + .build(); + + var model = AiModel.builder() + .tenantId(tenantId) + .name("Test model") + .configuration(modelConfig) + .availableViaApi(true) + .build(); + + return doPost("/api/ai/model", model, AiModel.class); + } + + private TbAiModelChatRequest constructChatRequest() { + return new TbAiModelChatRequest(null, new TbUserMessage(List.of(new TbContent.TbTextContent("hi"))), null); + } + + private boolean hasAiModelPermission(AiModel model, String operation) throws Exception { + return doGet("/api/permission/AI_MODEL/" + model.getId() + "/" + operation, Boolean.class); + } + private AiModel constructValidOpenAiModel(String name) { var modelConfig = OpenAiChatModelConfig.builder() .providerConfig(OpenAiProviderConfig.builder() diff --git a/application/src/test/java/org/thingsboard/server/service/install/lts/V4_4_1_0MigrationTest.java b/application/src/test/java/org/thingsboard/server/service/install/lts/V4_4_1_0MigrationTest.java new file mode 100644 index 0000000000..fe239caf6a --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/install/lts/V4_4_1_0MigrationTest.java @@ -0,0 +1,151 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.install.lts; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.ArgumentCaptor; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.thingsboard.server.common.data.id.ApiKeyId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.pat.ApiKeyInfo; +import org.thingsboard.server.common.data.permission.AuthorityPermissionsInfo; +import org.thingsboard.server.common.data.permission.Operation; +import org.thingsboard.server.common.data.permission.Resource; +import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.pat.ApiKeyService; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.UUID; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; +import static org.thingsboard.server.dao.trendz.TrendzSyncService.TRENDZ_API_KEY_DESCRIPTION; + +@ExtendWith(MockitoExtension.class) +class V4_4_1_0MigrationTest { + + private static final List AUTHORITIES = List.of(Authority.TENANT_ADMIN, Authority.CUSTOMER_USER); + + @Mock + private ApiKeyService apiKeyService; + + @InjectMocks + private V4_4_1_0Migration migration; + + @Test + void grantsAiModelReadAndInvokeWithoutDroppingExistingOperations() { + givenTrendzApiKey(byAuthority(legacyPermissions(), AUTHORITIES)); + + migration.apply(); + + Map>> byAuthority = savedPermissions(); + for (Authority authority : AUTHORITIES) { + assertEquals(Set.of(Operation.READ, Operation.INVOKE), byAuthority.get(authority).get(Resource.AI_MODEL), + "expected READ and INVOKE on AI_MODEL for " + authority); + } + assertEquals(Set.of(Operation.READ, Operation.READ_TELEMETRY), + byAuthority.get(Authority.TENANT_ADMIN).get(Resource.DEVICE), + "the operations the key already had must survive"); + } + + @Test + void keepsOperationsTheKeyAlreadyHadOnAiModel() { + Map> permissions = legacyPermissions(); + permissions.put(Resource.AI_MODEL, Set.of(Operation.READ, Operation.WRITE)); + givenTrendzApiKey(byAuthority(permissions, AUTHORITIES)); + + migration.apply(); + + Map>> byAuthority = savedPermissions(); + for (Authority authority : AUTHORITIES) { + assertEquals(Set.of(Operation.READ, Operation.WRITE, Operation.INVOKE), byAuthority.get(authority).get(Resource.AI_MODEL), + "expected the existing AI_MODEL operations plus INVOKE for " + authority); + } + } + + /** + * {@link Migration#apply()} re-runs when a node crashes before the version is recorded, so a key that already + * carries the operations must not be written again. + */ + @Test + void alreadyGrantedKeyIsNotSavedAgain() { + Map> permissions = legacyPermissions(); + permissions.put(Resource.AI_MODEL, Set.of(Operation.READ, Operation.INVOKE)); + givenTrendzApiKey(byAuthority(permissions, AUTHORITIES)); + + migration.apply(); + + verify(apiKeyService, never()).saveApiKey(any(), any()); + } + + @Test + void authorityTheKeyDoesNotCoverIsNotAdded() { + givenTrendzApiKey(byAuthority(legacyPermissions(), List.of(Authority.TENANT_ADMIN))); + + migration.apply(); + + Map>> byAuthority = savedPermissions(); + assertEquals(Set.of(Operation.READ, Operation.INVOKE), byAuthority.get(Authority.TENANT_ADMIN).get(Resource.AI_MODEL)); + assertFalse(byAuthority.containsKey(Authority.CUSTOMER_USER), "an authority the key never covered must stay absent"); + } + + @Test + void missingTrendzApiKeyIsNoOp() { + when(apiKeyService.findInternalApiKeyByDescription(TenantId.SYS_TENANT_ID, TRENDZ_API_KEY_DESCRIPTION)) + .thenReturn(null); + + migration.apply(); + + verify(apiKeyService, never()).saveApiKey(any(), any()); + } + + private Map>> savedPermissions() { + ArgumentCaptor saved = ArgumentCaptor.forClass(ApiKeyInfo.class); + verify(apiKeyService).saveApiKey(eq(TenantId.SYS_TENANT_ID), saved.capture()); + return saved.getValue().getPermissions().getOperationsByResource(); + } + + private void givenTrendzApiKey(Map>> byAuthority) { + ApiKey apiKey = new ApiKey(new ApiKeyId(UUID.randomUUID())); + apiKey.setTenantId(TenantId.SYS_TENANT_ID); + apiKey.setInternal(true); + apiKey.setDescription(TRENDZ_API_KEY_DESCRIPTION); + + AuthorityPermissionsInfo permissions = new AuthorityPermissionsInfo(); + permissions.setOperationsByResource(byAuthority); + apiKey.setPermissions(permissions); + + when(apiKeyService.findInternalApiKeyByDescription(TenantId.SYS_TENANT_ID, TRENDZ_API_KEY_DESCRIPTION)) + .thenReturn(apiKey); + } + + // Separate map instances per authority, the way a key deserialized from the permissions column arrives -- + // buildTrendzPermissions() shares one instance, but that sharing does not survive the JSON round trip. + private Map>> byAuthority(Map> permissions, List authorities) { + Map>> byAuthority = new HashMap<>(); + authorities.forEach(authority -> byAuthority.put(authority, new HashMap<>(permissions))); + return byAuthority; + } + + // What a key created before 4.4.1.0 holds. Immutable inner sets on purpose: the migration must copy what it reads + // rather than mutate it. + private Map> legacyPermissions() { + Map> permissions = new HashMap<>(); + permissions.put(Resource.DEVICE, Set.of(Operation.READ, Operation.READ_TELEMETRY)); + permissions.put(Resource.ASSET, Set.of(Operation.READ, Operation.READ_TELEMETRY)); + permissions.put(Resource.DEVICE_PROFILE, Set.of(Operation.READ)); + return permissions; + } +} diff --git a/application/src/test/java/org/thingsboard/server/service/trendz/TrendzSyncServiceTest.java b/application/src/test/java/org/thingsboard/server/service/trendz/TrendzSyncServiceTest.java index 5ed6c7d49e..bf60ccce85 100644 --- a/application/src/test/java/org/thingsboard/server/service/trendz/TrendzSyncServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/trendz/TrendzSyncServiceTest.java @@ -21,6 +21,9 @@ import org.springframework.web.client.RestTemplate; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.permission.Operation; +import org.thingsboard.server.common.data.permission.Resource; +import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.data.trendz.TrendzConfiguration; import org.thingsboard.server.common.data.trendz.TrendzHealthcheckResult; import org.thingsboard.server.common.data.trendz.TrendzSettings; @@ -33,6 +36,9 @@ import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.dao.trendz.TrendzSettingsService; import org.thingsboard.server.service.security.system.SystemSecurityService; +import java.util.List; +import java.util.Set; + import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -219,6 +225,11 @@ public class TrendzSyncServiceTest extends AbstractControllerTest { assertNotNull(apiKeyByDescription); assertTrue(apiKeyByDescription.isInternal()); assertEquals(DefaultTrendzSyncService.TRENDZ_API_KEY_DESCRIPTION, apiKeyByDescription.getDescription()); + for (Authority authority : List.of(Authority.TENANT_ADMIN, Authority.CUSTOMER_USER)) { + assertEquals(Set.of(Operation.READ, Operation.INVOKE), + apiKeyByDescription.getPermissions().getPermissionsForAuthority(authority).get(Resource.AI_MODEL), + "expected READ and INVOKE on AI_MODEL for " + authority); + } } @Test diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java index 0f17fae25d..d3ca8f0d66 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java @@ -22,6 +22,8 @@ public interface AiModelService extends EntityDaoService { PageData findAiModelsByTenantId(TenantId tenantId, PageLink pageLink); + PageData findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + Optional findAiModelByTenantIdAndId(TenantId tenantId, AiModelId modelId); FluentFuture> findAiModelByTenantIdAndIdAsync(TenantId tenantId, AiModelId modelId); diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java index 0438ee585b..9aa973da81 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java @@ -70,6 +70,15 @@ public final class AiModel extends BaseData implements TenantEntity, ) private AiModelConfig configuration; + @Schema( + requiredMode = Schema.RequiredMode.NOT_REQUIRED, + accessMode = Schema.AccessMode.READ_WRITE, + description = "Whether the model can be used via the AI model chat API by users with the 'INVOKE' permission. " + + "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE'", + defaultValue = "false" + ) + private boolean availableViaApi; + private AiModelId externalId; public AiModel() {} @@ -85,6 +94,7 @@ public final class AiModel extends BaseData implements TenantEntity, version = model.getVersion(); name = model.getName(); configuration = model.getConfiguration(); + availableViaApi = model.isAvailableViaApi(); externalId = model.getExternalId() == null ? null : new AiModelId(model.getExternalId().getId()); } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java b/common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java index 4998ae736a..a030e713d0 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java @@ -31,7 +31,8 @@ public enum Operation { SHARE_GROUP(true), ASSIGN_TO_TENANT, READ_CALCULATED_FIELD(true), - WRITE_CALCULATED_FIELD(true); + WRITE_CALCULATED_FIELD(true), + INVOKE; public static Set defaultEntityOperations = new HashSet<>(Arrays.asList(ALL, READ, WRITE, CREATE, DELETE, READ_ATTRIBUTES, WRITE_ATTRIBUTES, READ_TELEMETRY, WRITE_TELEMETRY, CHANGE_OWNER)); diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java b/common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java index 9d4ca7f810..1d6c6480d4 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java @@ -157,7 +157,8 @@ public enum Resource { operationsByResource.put(Resource.SECRET, Operation.crudOperations); operationsByResource.put(Resource.REPORT_TEMPLATE, Operation.crudOperations); operationsByResource.put(Resource.REPORT, Operation.crudOperations); - operationsByResource.put(Resource.AI_MODEL, Operation.crudOperations); + operationsByResource.put(Resource.AI_MODEL, Set.of(Operation.ALL, Operation.READ, Operation.WRITE, + Operation.CREATE, Operation.DELETE, Operation.INVOKE)); operationsByResource.put(Resource.AI, Set.of(Operation.ALL)); operationsByResource.put(Resource.CUSTOM_MENU, Set.of(Operation.ALL, Operation.READ, Operation.WRITE, Operation.DELETE)); operationsByResource.put(Resource.API_KEY, Operation.crudOperations); @@ -283,7 +284,8 @@ public enum Resource { Resource.REPORT_TEMPLATE, Resource.REPORT, Resource.JOB, - Resource.API_KEY + Resource.API_KEY, + Resource.AI_MODEL )); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java index 58fcb92b16..b8902a0f05 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java @@ -5,6 +5,8 @@ package org.thingsboard.server.dao.ai; import org.thingsboard.server.common.data.ai.AiModel; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.dao.ExportableEntityDao; import org.thingsboard.server.dao.TenantEntityDao; @@ -15,6 +17,8 @@ public interface AiModelDao extends TenantEntityDao, ExportableEntityDa Optional findByTenantIdAndId(TenantId tenantId, AiModelId modelId); + PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + boolean deleteById(TenantId tenantId, AiModelId modelId); Set deleteByTenantId(TenantId tenantId); diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java index ae0f575d44..012c133b9d 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java @@ -91,8 +91,13 @@ class AiModelServiceImpl extends CachedVersionedEntityService findAiModelsByTenantId(TenantId tenantId, PageLink pageLink) { + return findAiModelsByTenantId(tenantId, null, pageLink); + } + + @Override + public PageData findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { validatePageLink(pageLink, AiModelEntity.ALLOWED_SORT_PROPERTIES); - return aiModelDao.findAllByTenantId(tenantId, pageLink); + return aiModelDao.findByTenantId(tenantId, availableViaApi, pageLink); } @Override diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java index 08e4d29d8d..b32788a06a 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java @@ -1085,6 +1085,7 @@ public class ModelConstants { public static final String AI_MODEL_TENANT_ID_COLUMN_NAME = TENANT_ID_COLUMN; public static final String AI_MODEL_NAME_COLUMN_NAME = NAME_PROPERTY; public static final String AI_MODEL_CONFIGURATION_COLUMN_NAME = "configuration"; + public static final String AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME = "available_via_api"; /** * Api Key constants. diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java index eaed13c0a8..83798e6bb7 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java @@ -53,6 +53,9 @@ public class AiModelEntity extends BaseVersionedEntity { @Column(name = ModelConstants.AI_MODEL_CONFIGURATION_COLUMN_NAME, nullable = false, columnDefinition = "JSONB") private AiModelConfig configuration; + @Column(name = ModelConstants.AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME, nullable = false) + private boolean availableViaApi; + @Column(name = ModelConstants.EXTERNAL_ID_PROPERTY, columnDefinition = "UUID") private UUID externalId; @@ -63,6 +66,7 @@ public class AiModelEntity extends BaseVersionedEntity { tenantId = getTenantUuid(aiModel.getTenantId()); name = aiModel.getName(); configuration = aiModel.getConfiguration(); + availableViaApi = aiModel.isAvailableViaApi(); externalId = getUuid(aiModel.getExternalId()); } @@ -74,6 +78,7 @@ public class AiModelEntity extends BaseVersionedEntity { model.setTenantId(TenantId.fromUUID(tenantId)); model.setName(name); model.setConfiguration(configuration); + model.setAvailableViaApi(availableViaApi); model.setExternalId(getEntityId(externalId, AiModelId::new)); return model; } diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java index 4c25202970..25e6589a1f 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java @@ -30,6 +30,7 @@ interface AiModelRepository extends JpaRepository, Exportab SELECT * FROM ai_model model WHERE model.tenant_id = :tenantId + AND (CAST(:availableViaApi AS BOOLEAN) IS NULL OR model.available_via_api = CAST(:availableViaApi AS BOOLEAN)) AND (:textSearch IS NULL OR model.name ILIKE '%' || :textSearch || '%' OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' @@ -39,6 +40,7 @@ interface AiModelRepository extends JpaRepository, Exportab SELECT COUNT(*) FROM ai_model model WHERE model.tenant_id = :tenantId + AND (CAST(:availableViaApi AS BOOLEAN) IS NULL OR model.available_via_api = CAST(:availableViaApi AS BOOLEAN)) AND (:textSearch IS NULL OR model.name ILIKE '%' || :textSearch || '%' OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' @@ -46,7 +48,10 @@ interface AiModelRepository extends JpaRepository, Exportab """, nativeQuery = true ) - Page findByTenantId(@Param("tenantId") UUID tenantId, @Param("textSearch") String textSearch, Pageable pageable); + Page findByTenantId(@Param("tenantId") UUID tenantId, + @Param("availableViaApi") Boolean availableViaApi, + @Param("textSearch") String textSearch, + Pageable pageable); @Query("SELECT ai_model.id FROM AiModelEntity ai_model WHERE ai_model.tenantId = :tenantId") Page findIdsByTenantId(@Param("tenantId") UUID tenantId, Pageable pageable); diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java index f9b735429d..92d9829b68 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java @@ -61,8 +61,13 @@ class JpaAiModelDao extends JpaAbstractDao implements Ai @Override public PageData findByTenantId(UUID tenantId, PageLink pageLink) { + return findByTenantId(TenantId.fromUUID(tenantId), null, pageLink); + } + + @Override + public PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { return DaoUtil.toPageData(aiModelRepository.findByTenantId( - tenantId, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), toPageRequest(pageLink)) + tenantId.getId(), availableViaApi, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), toPageRequest(pageLink)) ); } diff --git a/dao/src/main/resources/sql/schema-entities.sql b/dao/src/main/resources/sql/schema-entities.sql index 0f55b4fae0..9de7393439 100644 --- a/dao/src/main/resources/sql/schema-entities.sql +++ b/dao/src/main/resources/sql/schema-entities.sql @@ -1369,13 +1369,14 @@ CREATE TABLE IF NOT EXISTS report ( ) PARTITION BY RANGE (created_time); CREATE TABLE IF NOT EXISTS ai_model ( - id UUID NOT NULL PRIMARY KEY, - external_id UUID, - created_time BIGINT NOT NULL, - tenant_id UUID NOT NULL, - version BIGINT NOT NULL DEFAULT 1, - name VARCHAR(255) NOT NULL, - configuration JSONB NOT NULL, + id UUID NOT NULL PRIMARY KEY, + external_id UUID, + created_time BIGINT NOT NULL, + tenant_id UUID NOT NULL, + version BIGINT NOT NULL DEFAULT 1, + name VARCHAR(255) NOT NULL, + configuration JSONB NOT NULL, + available_via_api BOOLEAN NOT NULL DEFAULT FALSE, CONSTRAINT ai_model_name_unq_key UNIQUE (tenant_id, name), CONSTRAINT ai_model_external_id_unq_key UNIQUE (tenant_id, external_id) ); diff --git a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html index 1c6ff6ddd1..e40df84fc0 100644 --- a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html @@ -39,6 +39,12 @@ } +

    + + {{ 'ai-models.available-via-api' | translate }} + +
    diff --git a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts index 8e9e8e4744..fe89bbea4c 100644 --- a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts @@ -90,6 +90,7 @@ export class AIModelDialogComponent extends DialogComponent, 'label'>, HasTenantId, ExportableEntity { modelType: ModelType; + availableViaApi?: boolean; configuration: { provider: AiProvider providerConfig: { diff --git a/ui-ngx/src/app/shared/models/security.models.ts b/ui-ngx/src/app/shared/models/security.models.ts index c18ad2897f..127044e6e2 100644 --- a/ui-ngx/src/app/shared/models/security.models.ts +++ b/ui-ngx/src/app/shared/models/security.models.ts @@ -37,7 +37,8 @@ export enum Operation { SHARE_GROUP = 'SHARE_GROUP', ASSIGN_TO_TENANT = 'ASSIGN_TO_TENANT', READ_CALCULATED_FIELD = 'READ_CALCULATED_FIELD', - WRITE_CALCULATED_FIELD = 'WRITE_CALCULATED_FIELD' + WRITE_CALCULATED_FIELD = 'WRITE_CALCULATED_FIELD', + INVOKE = 'INVOKE' } const operationTypeTranslations = new Map(); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index ac6c6aa10b..b181c50576 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -1880,6 +1880,8 @@ "model": "Model", "name": "Name", "ai-provider": "AI provider", + "available-via-api": "Available via API", + "available-via-api-hint": "Allows users with the 'Invoke' permission for AI models to send chat requests to this model via REST API, e.g. from Trendz Analytics. Roles that grant all operations, such as the default 'Customer Administrator' role, include 'Invoke', so every user with such a role can call this model. The model configuration and credentials are never exposed. Customer users can only be granted the 'Invoke' operation for AI models.", "no-found": "No AI models found", "list": "{ count, plural, =1 {One model} other {List of # models} }", "selected-fields": "{ count, plural, =1 {1 model} other {# models} } selected", @@ -8848,7 +8850,8 @@ "SHARE_GROUP": "Share Group", "ASSIGN_TO_TENANT": "Assign to Tenant", "READ_CALCULATED_FIELD": "Read Calculated Field and Alarm Rules", - "WRITE_CALCULATED_FIELD": "Write Calculated Field and Alarm Rules" + "WRITE_CALCULATED_FIELD": "Write Calculated Field and Alarm Rules", + "INVOKE": "Invoke" } } }, From ca11bd6fcdb88a72937c5a915ee6156c52e66100 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 21 Oct 2026 15:51:21 +0300 Subject: [PATCH 241/559] Add translations --- ui-ngx/src/assets/locale/locale.constant-ar_AE.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-ca_ES.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-da_DK.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-de_DE.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-el_GR.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-es_ES.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-fr_FR.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-hi_IN.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-it_IT.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-ja_JP.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-ka_GE.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-ko_KR.json | 2 ++ ui-ngx/src/assets/locale/locale.constant-lt_LT.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-lv_LV.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-nl_BE.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-nl_NL.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-no_NO.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-pl_PL.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-pt_BR.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-tr_TR.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-uk_UA.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-zh_CN.json | 5 ++++- 22 files changed, 74 insertions(+), 21 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json index 7df242b8fc..a51b420b32 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json @@ -4806,7 +4806,8 @@ "ADD_TO_GROUP": "إضافة إلى المجموعة", "REMOVE_FROM_GROUP": "إزالة من المجموعة", "SHARE_GROUP": "مشاركة المجموعة", - "ASSIGN_TO_TENANT": "تعيين للمستأجر" + "ASSIGN_TO_TENANT": "تعيين للمستأجر", + "INVOKE": "استدعاء" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json index a3fd019569..cd83d0c96b 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json @@ -3836,7 +3836,8 @@ "ADD_TO_GROUP": "Afegeix al grup", "REMOVE_FROM_GROUP": "Elimina del grup", "SHARE_GROUP": "Comparteix el grup", - "ASSIGN_TO_TENANT": "Assigna a l'arrendatari" + "ASSIGN_TO_TENANT": "Assigna a l'arrendatari", + "INVOKE": "Invoca" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index fb4c1f5b0f..302826f355 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -1767,6 +1767,8 @@ "model": "Model", "name": "Navn", "ai-provider": "AI-udbyder", + "available-via-api": "Tilgængelig via API", + "available-via-api-hint": "Giver brugere med tilladelsen 'Kald' for AI-modeller mulighed for at sende chatforespørgsler til denne model via REST API, f.eks. fra Trendz Analytics. Roller, der giver alle handlinger, såsom standardrollen 'Customer Administrator', omfatter 'Kald', så alle brugere med en sådan rolle kan kalde denne model. Modellens konfiguration og legitimationsoplysninger vises aldrig. Kundebrugere kan kun tildeles handlingen 'Kald' for AI-modeller.", "no-found": "Ingen AI-modeller fundet", "list": "{ count, plural, =1 {Én model} other {Liste med # modeller} }", "selected-fields": "{ count, plural, =1 {1 model} other {# modeller} } valgt", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Del gruppe", "ASSIGN_TO_TENANT": "Tildel til lejer", "READ_CALCULATED_FIELD": "Læs beregnet felt", - "WRITE_CALCULATED_FIELD": "Skriv beregnet felt" + "WRITE_CALCULATED_FIELD": "Skriv beregnet felt", + "INVOKE": "Kald" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index 87d88383a8..828e53496b 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -1880,6 +1880,8 @@ "model": "Modell", "name": "Name", "ai-provider": "KI-Anbieter", + "available-via-api": "Über API verfügbar", + "available-via-api-hint": "Erlaubt Benutzern mit der Berechtigung 'Aufrufen' für KI-Modelle, über die REST-API Chat-Anfragen an dieses Modell zu senden, z. B. aus Trendz Analytics. Rollen, die alle Operationen gewähren, wie die Standardrolle 'Customer Administrator', enthalten 'Aufrufen', sodass jeder Benutzer mit einer solchen Rolle dieses Modell aufrufen kann. Die Modellkonfiguration und die Zugangsdaten werden nie offengelegt. Kundenbenutzern kann für KI-Modelle nur die Operation 'Aufrufen' gewährt werden.", "no-found": "Keine KI-Modelle gefunden", "list": "{ count, plural, one {Ein Modell} other {Liste von # Modellen} }", "selected-fields": "{ count, plural, one {# Modell} other {# Modelle} } ausgewählt", @@ -8848,7 +8850,8 @@ "SHARE_GROUP": "Gruppe teilen", "ASSIGN_TO_TENANT": "Mandanten zuweisen", "READ_CALCULATED_FIELD": "Berechnetes Feld lesen", - "WRITE_CALCULATED_FIELD": "Berechnetes Feld schreiben" + "WRITE_CALCULATED_FIELD": "Berechnetes Feld schreiben", + "INVOKE": "Aufrufen" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index 5151ff67bb..eace9b01f5 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -1767,6 +1767,8 @@ "model": "Μοντέλο", "name": "Όνομα", "ai-provider": "Πάροχος AI", + "available-via-api": "Διαθέσιμο μέσω API", + "available-via-api-hint": "Επιτρέπει σε χρήστες με το δικαίωμα 'Κλήση' για μοντέλα AI να στέλνουν αιτήματα συνομιλίας σε αυτό το μοντέλο μέσω REST API, π.χ. από το Trendz Analytics. Οι ρόλοι που παρέχουν όλες τις λειτουργίες, όπως ο προεπιλεγμένος ρόλος 'Customer Administrator', περιλαμβάνουν την 'Κλήση', οπότε κάθε χρήστης με τέτοιο ρόλο μπορεί να καλέσει αυτό το μοντέλο. Η διαμόρφωση και τα διαπιστευτήρια του μοντέλου δεν εκτίθενται ποτέ. Στους χρήστες πελατών μπορεί να εκχωρηθεί μόνο η λειτουργία 'Κλήση' για μοντέλα AI.", "no-found": "Δεν βρέθηκαν μοντέλα AI", "list": "{ count, plural, =1 {Ένα μοντέλο} other {Λίστα με # μοντέλα} }", "selected-fields": "{ count, plural, =1 {1 μοντέλο} other {# μοντέλα} } επιλεγμένα", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Κοινή χρήση ομάδας", "ASSIGN_TO_TENANT": "Ανάθεση σε ενοικιαστή", "READ_CALCULATED_FIELD": "Ανάγνωση υπολογιζόμενου πεδίου", - "WRITE_CALCULATED_FIELD": "Εγγραφή υπολογιζόμενου πεδίου" + "WRITE_CALCULATED_FIELD": "Εγγραφή υπολογιζόμενου πεδίου", + "INVOKE": "Κλήση" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index fb6eb7a139..a9d7fbce26 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -1767,6 +1767,8 @@ "model": "Modelo", "name": "Nombre", "ai-provider": "Proveedor de IA", + "available-via-api": "Disponible mediante API", + "available-via-api-hint": "Permite a los usuarios con el permiso 'Invocar' para modelos de IA enviar solicitudes de chat a este modelo mediante la API REST, p. ej., desde Trendz Analytics. Los roles que conceden todas las operaciones, como el rol predeterminado 'Customer Administrator', incluyen 'Invocar', por lo que cualquier usuario con dicho rol puede llamar a este modelo. La configuración y las credenciales del modelo nunca se exponen. A los usuarios de cliente solo se les puede conceder la operación 'Invocar' para modelos de IA.", "no-found": "No se encontraron modelos de IA", "list": "{ count, plural, =1 {Un modelo} other {Lista de # modelos} }", "selected-fields": "{ count, plural, =1 {1 modelo} other {# modelos} } seleccionados", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Compartir grupo", "ASSIGN_TO_TENANT": "Asignar al arrendatario", "READ_CALCULATED_FIELD": "Leer campo calculado", - "WRITE_CALCULATED_FIELD": "Escribir campo calculado" + "WRITE_CALCULATED_FIELD": "Escribir campo calculado", + "INVOKE": "Invocar" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index bc5617bed3..136c4b31a3 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -1880,6 +1880,8 @@ "model": "Modèle", "name": "Nom", "ai-provider": "Fournisseur d’IA", + "available-via-api": "Disponible via l’API", + "available-via-api-hint": "Permet aux utilisateurs disposant de l’autorisation « Invoquer » pour les modèles d’IA d’envoyer des requêtes de chat à ce modèle via l’API REST, par exemple depuis Trendz Analytics. Les rôles qui accordent toutes les opérations, comme le rôle par défaut « Customer Administrator », incluent « Invoquer » : tout utilisateur disposant d’un tel rôle peut donc appeler ce modèle. La configuration et les identifiants du modèle ne sont jamais exposés. Les utilisateurs client ne peuvent recevoir que l’opération « Invoquer » pour les modèles d’IA.", "no-found": "Aucun modèle d’IA trouvé", "list": "{ count, plural, =1 {Un modèle} one {Liste de # modèle} other {Liste de # modèles} }", "selected-fields": "{ count, plural, one {# modèle sélectionné} other {# modèles sélectionnés} }", @@ -8848,7 +8850,8 @@ "SHARE_GROUP": "Partager le groupe", "ASSIGN_TO_TENANT": "Assigner à un locataire", "READ_CALCULATED_FIELD": "Lire le champ calculé et les règles d’alarme", - "WRITE_CALCULATED_FIELD": "Écrire le champ calculé et les règles d’alarme" + "WRITE_CALCULATED_FIELD": "Écrire le champ calculé et les règles d’alarme", + "INVOKE": "Invoquer" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json index 19cbeac585..9284cbafd5 100644 --- a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json +++ b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json @@ -1767,6 +1767,8 @@ "model": "मॉडल", "name": "नाम", "ai-provider": "AI प्रदाता", + "available-via-api": "API के माध्यम से उपलब्ध", + "available-via-api-hint": "AI मॉडल के लिए 'इनवोक करें' अनुमति वाले उपयोगकर्ताओं को REST API के माध्यम से इस मॉडल को चैट अनुरोध भेजने की अनुमति देता है, जैसे Trendz Analytics से। सभी ऑपरेशन प्रदान करने वाली भूमिकाएँ, जैसे डिफ़ॉल्ट 'Customer Administrator' भूमिका, में 'इनवोक करें' शामिल है, इसलिए ऐसी भूमिका वाला हर उपयोगकर्ता इस मॉडल को कॉल कर सकता है। मॉडल का कॉन्फ़िगरेशन और क्रेडेंशियल कभी प्रकट नहीं किए जाते। ग्राहक उपयोगकर्ताओं को AI मॉडल के लिए केवल 'इनवोक करें' ऑपरेशन दिया जा सकता है।", "no-found": "कोई AI मॉडल नहीं मिला", "list": "{ count, plural, =1 {एक मॉडल} other {# मॉडलों की सूची} }", "selected-fields": "{ count, plural, =1 {1 मॉडल} other {# मॉडल्स} } चयनित", @@ -7680,7 +7682,8 @@ "SHARE_GROUP": "समूह साझा करें", "ASSIGN_TO_TENANT": "टेनेंट को असाइन करें", "READ_CALCULATED_FIELD": "कैलक्युलेटेड फ़ील्ड पढ़ें", - "WRITE_CALCULATED_FIELD": "कैलक्युलेटेड फ़ील्ड लिखें" + "WRITE_CALCULATED_FIELD": "कैलक्युलेटेड फ़ील्ड लिखें", + "INVOKE": "इनवोक करें" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index 9349219ccb..2dd62125bf 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -1767,6 +1767,8 @@ "model": "Modello", "name": "Nome", "ai-provider": "Fornitore AI", + "available-via-api": "Disponibile tramite API", + "available-via-api-hint": "Consente agli utenti con il permesso 'Invocare' per i modelli AI di inviare richieste di chat a questo modello tramite REST API, ad es. da Trendz Analytics. I ruoli che concedono tutte le operazioni, come il ruolo predefinito 'Customer Administrator', includono 'Invocare', quindi ogni utente con tale ruolo può chiamare questo modello. La configurazione e le credenziali del modello non vengono mai esposte. Agli utenti cliente può essere concessa solo l'operazione 'Invocare' per i modelli AI.", "no-found": "Nessun modello AI trovato", "list": "{ count, plural, =1 {Un modello} other {Elenco di # modelli} }", "selected-fields": "{ count, plural, =1 {1 modello} other {# modelli} } selezionati", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Condividi gruppo", "ASSIGN_TO_TENANT": "Assegna a tenant", "READ_CALCULATED_FIELD": "Leggi campo calcolato", - "WRITE_CALCULATED_FIELD": "Scrivi campo calcolato" + "WRITE_CALCULATED_FIELD": "Scrivi campo calcolato", + "INVOKE": "Invocare" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index 9d6e50d666..eda154ae1d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -1767,6 +1767,8 @@ "model": "モデル", "name": "名前", "ai-provider": "AIプロバイダー", + "available-via-api": "API経由で利用可能", + "available-via-api-hint": "AIモデルの「呼び出し」権限を持つユーザーが、REST APIを介して(例:Trendz Analyticsから)このモデルにチャットリクエストを送信できるようにします。デフォルトの「Customer Administrator」ロールなど、すべての操作を許可するロールには「呼び出し」が含まれるため、そのようなロールを持つすべてのユーザーがこのモデルを呼び出せます。モデルの設定と認証情報が公開されることはありません。顧客ユーザーには、AIモデルに対して「呼び出し」操作のみを付与できます。", "no-found": "AIモデルが見つかりません", "list": "{ count, plural, =1 {AIモデル} other {AIモデル一覧 # 件} }", "selected-fields": "{ count, plural, =1 {1 件のAIモデル} other {# 件のAIモデル} } を選択", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "グループを共有", "ASSIGN_TO_TENANT": "テナントに割り当て", "READ_CALCULATED_FIELD": "計算フィールドを読み取り", - "WRITE_CALCULATED_FIELD": "計算フィールドを書き込み" + "WRITE_CALCULATED_FIELD": "計算フィールドを書き込み", + "INVOKE": "呼び出し" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-ka_GE.json b/ui-ngx/src/assets/locale/locale.constant-ka_GE.json index 7114caed08..09c624d946 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ka_GE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ka_GE.json @@ -2211,7 +2211,8 @@ "IMPERSONATE": "განასახიერე", "CHANGE_OWNER": "მფლობელის ცვლილება", "ADD_TO_GROUP": "ჯგუფში დამატება", - "REMOVE_FROM_GROUP": "ჯგუფიდან წაშლა" + "REMOVE_FROM_GROUP": "ჯგუფიდან წაშლა", + "INVOKE": "გამოძახება" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json index 5b323f1625..09d7fa0677 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json +++ b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json @@ -1607,6 +1607,8 @@ "model": "모델", "name": "이름", "ai-provider": "AI 제공자", + "available-via-api": "API를 통해 사용 가능", + "available-via-api-hint": "AI 모델에 대한 'Invoke' 권한이 있는 사용자가 REST API를 통해(예: Trendz Analytics에서) 이 모델에 채팅 요청을 보낼 수 있도록 합니다. 기본 'Customer Administrator' 역할처럼 모든 작업을 허용하는 역할에는 'Invoke'가 포함되므로 해당 역할을 가진 모든 사용자가 이 모델을 호출할 수 있습니다. 모델 구성과 자격 증명은 절대 노출되지 않습니다. 고객 사용자에게는 AI 모델에 대해 'Invoke' 작업만 부여할 수 있습니다.", "no-found": "AI 모델이 없습니다", "list": "{ count, plural, =1 {1개 모델} other {#개 모델 목록} }", "selected-fields": "{ count, plural, =1 {1개 모델} other {#개 모델} } 선택됨", diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index 2214699f92..fda78b2d40 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -1301,6 +1301,8 @@ "model": "Modelis", "name": "Pavadinimas", "ai-provider": "AI tiekėjas", + "available-via-api": "Pasiekiama per API", + "available-via-api-hint": "Leidžia naudotojams, turintiems AI modelių leidimą „Iškviesti“, siųsti pokalbių užklausas šiam modeliui per REST API, pvz., iš Trendz Analytics. Rolės, suteikiančios visas operacijas, pvz., numatytoji rolė „Customer Administrator“, apima „Iškviesti“, todėl kiekvienas naudotojas, turintis tokią rolę, gali iškviesti šį modelį. Modelio konfigūracija ir prisijungimo duomenys niekada neatskleidžiami. Kliento naudotojams AI modeliams gali būti suteikta tik operacija „Iškviesti“.", "no-found": "AI modelių nerasta", "list": "{ count, plural, =1 {Vienas modelis} other {# modelių sąrašas} }", "selected-fields": "{ count, plural, =1 {1 modelis} other {# modeliai} } pasirinkta", @@ -7097,7 +7099,8 @@ "SHARE_GROUP": "Bendrinti grupę", "ASSIGN_TO_TENANT": "Priskirti valdytojui", "READ_CALCULATED_FIELD": "Skaityti apskaičiuotą lauką", - "WRITE_CALCULATED_FIELD": "Rašyti į apskaičiuotą lauką" + "WRITE_CALCULATED_FIELD": "Rašyti į apskaičiuotą lauką", + "INVOKE": "Iškviesti" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-lv_LV.json b/ui-ngx/src/assets/locale/locale.constant-lv_LV.json index be3c003ee3..322581da3d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lv_LV.json +++ b/ui-ngx/src/assets/locale/locale.constant-lv_LV.json @@ -2038,7 +2038,8 @@ "IMPERSONATE": "Personificēt", "CHANGE_OWNER": "Mainīt īpašnieku", "ADD_TO_GROUP": "Pievienot grupai", - "REMOVE_FROM_GROUP": "Noņemt no grupas" + "REMOVE_FROM_GROUP": "Noņemt no grupas", + "INVOKE": "Izsaukt" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json index f28f6a6ff5..b400cab3db 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json @@ -4739,7 +4739,8 @@ "ADD_TO_GROUP": "Voeg toe aan groep", "REMOVE_FROM_GROUP": "Verwijderen uit groep", "SHARE_GROUP": "Groep delen", - "ASSIGN_TO_TENANT": "Toewijzen aan tenant" + "ASSIGN_TO_TENANT": "Toewijzen aan tenant", + "INVOKE": "Aanroepen" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index 621b47ab69..a036f23506 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -1767,6 +1767,8 @@ "model": "Model", "name": "Naam", "ai-provider": "AI-provider", + "available-via-api": "Beschikbaar via API", + "available-via-api-hint": "Hiermee kunnen gebruikers met de machtiging 'Aanroepen' voor AI-modellen chatverzoeken naar dit model sturen via de REST API, bijvoorbeeld vanuit Trendz Analytics. Rollen die alle bewerkingen toestaan, zoals de standaardrol 'Customer Administrator', bevatten 'Aanroepen', zodat elke gebruiker met zo'n rol dit model kan aanroepen. De modelconfiguratie en inloggegevens worden nooit vrijgegeven. Klantgebruikers kunnen voor AI-modellen alleen de bewerking 'Aanroepen' krijgen.", "no-found": "Geen AI-modellen gevonden", "list": "{ count, plural, =1 {Eén model} other {Lijst van # modellen} }", "selected-fields": "{ count, plural, =1 {1 model} other {# modellen} } geselecteerd", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Groep delen", "ASSIGN_TO_TENANT": "Toewijzen aan huurder", "READ_CALCULATED_FIELD": "Berekend veld lezen", - "WRITE_CALCULATED_FIELD": "Berekend veld schrijven" + "WRITE_CALCULATED_FIELD": "Berekend veld schrijven", + "INVOKE": "Aanroepen" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-no_NO.json b/ui-ngx/src/assets/locale/locale.constant-no_NO.json index 7346a5386f..084fff172f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-no_NO.json +++ b/ui-ngx/src/assets/locale/locale.constant-no_NO.json @@ -1767,6 +1767,8 @@ "model": "Modell", "name": "Navn", "ai-provider": "AI-leverandør", + "available-via-api": "Tilgjengelig via API", + "available-via-api-hint": "Lar brukere med tillatelsen 'Kall' for AI-modeller sende chatforespørsler til denne modellen via REST API, f.eks. fra Trendz Analytics. Roller som gir alle operasjoner, som standardrollen 'Customer Administrator', inkluderer 'Kall', så alle brukere med en slik rolle kan kalle denne modellen. Modellens konfigurasjon og legitimasjon blir aldri eksponert. Kundebrukere kan bare få operasjonen 'Kall' for AI-modeller.", "no-found": "Fant ingen AI-modeller", "list": "{ count, plural, =1 {Én modell} other {Liste over # modeller} }", "selected-fields": "{ count, plural, =1 {1 modell} other {# modeller} } valgt", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Del gruppe", "ASSIGN_TO_TENANT": "Tildel til leietaker", "READ_CALCULATED_FIELD": "Les kalkulert felt", - "WRITE_CALCULATED_FIELD": "Skriv kalkulert felt" + "WRITE_CALCULATED_FIELD": "Skriv kalkulert felt", + "INVOKE": "Kall" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json index 7f9e26bd09..16bac4a035 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json +++ b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json @@ -4726,7 +4726,8 @@ "ADD_TO_GROUP": "Dodaj do grupy", "REMOVE_FROM_GROUP": "Usuń z grupy", "SHARE_GROUP": "Udostępnij grupę", - "ASSIGN_TO_TENANT": "Przypisz do tenanta" + "ASSIGN_TO_TENANT": "Przypisz do tenanta", + "INVOKE": "Wywołaj" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index 206107ccca..e65f9c2b94 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -1767,6 +1767,8 @@ "model": "Modelo", "name": "Nome", "ai-provider": "Provedor de IA", + "available-via-api": "Disponível via API", + "available-via-api-hint": "Permite que usuários com a permissão 'Invocar' para modelos de IA enviem solicitações de chat a este modelo via API REST, por exemplo, a partir do Trendz Analytics. Funções que concedem todas as operações, como a função padrão 'Customer Administrator', incluem 'Invocar', portanto qualquer usuário com essa função pode chamar este modelo. A configuração e as credenciais do modelo nunca são expostas. Usuários de cliente só podem receber a operação 'Invocar' para modelos de IA.", "no-found": "Nenhum modelo de IA encontrado", "list": "{ count, plural, =1 {Um modelo} other {Lista de # modelos} }", "selected-fields": "{ count, plural, =1 {1 modelo} other {# modelos} } selecionado(s)", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Compartilhar grupo", "ASSIGN_TO_TENANT": "Atribuir ao tenant", "READ_CALCULATED_FIELD": "Ler campo calculado e regras de alarme", - "WRITE_CALCULATED_FIELD": "Escrever campo calculado e regras de alarme" + "WRITE_CALCULATED_FIELD": "Escrever campo calculado e regras de alarme", + "INVOKE": "Invocar" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index 1a8d8bd7b7..e4987c325d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -1767,6 +1767,8 @@ "model": "Model", "name": "Ad", "ai-provider": "Yapay Zeka Sağlayıcısı", + "available-via-api": "API üzerinden kullanılabilir", + "available-via-api-hint": "Yapay zeka modelleri için 'Çağır' iznine sahip kullanıcıların REST API üzerinden, örneğin Trendz Analytics'ten, bu modele sohbet istekleri göndermesine olanak tanır. Varsayılan 'Customer Administrator' rolü gibi tüm işlemleri veren roller 'Çağır' iznini içerir; bu nedenle böyle bir role sahip her kullanıcı bu modeli çağırabilir. Modelin yapılandırması ve kimlik bilgileri asla açığa çıkarılmaz. Müşteri kullanıcılarına yapay zeka modelleri için yalnızca 'Çağır' işlemi verilebilir.", "no-found": "Yapay zeka modeli bulunamadı", "list": "{ count, plural, =1 {Bir model} other {# model listesi} }", "selected-fields": "{ count, plural, =1 {1 model} other {# model seçildi} }", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Grubu paylaş", "ASSIGN_TO_TENANT": "Kiracıya ata", "READ_CALCULATED_FIELD": "Hesaplanan alanı oku", - "WRITE_CALCULATED_FIELD": "Hesaplanan alanı yaz" + "WRITE_CALCULATED_FIELD": "Hesaplanan alanı yaz", + "INVOKE": "Çağır" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index 8d62a64dc2..6f4c138a35 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -1880,6 +1880,8 @@ "model": "Модель", "name": "Назва", "ai-provider": "Постачальник ШІ", + "available-via-api": "Доступна через API", + "available-via-api-hint": "Дозволяє користувачам із дозволом «Виклик» для моделей ШІ надсилати чат-запити до цієї моделі через REST API, наприклад із Trendz Analytics. Ролі, що надають усі операції, як-от типова роль «Customer Administrator», містять «Виклик», тому кожен користувач із такою роллю може викликати цю модель. Конфігурація та облікові дані моделі ніколи не розкриваються. Користувачам клієнта для моделей ШІ можна надати лише операцію «Виклик».", "no-found": "Моделей ШІ не знайдено", "list": "{ count, plural, =1 {Одна модель} few {Список із # моделей} many {Список із # моделей} other {Список із # моделі} }", "selected-fields": "Вибрано { count, plural, one {# модель} few {# моделі} other {# моделей} }", @@ -8848,7 +8850,8 @@ "SHARE_GROUP": "Поділитися групою", "ASSIGN_TO_TENANT": "Призначити орендарю", "READ_CALCULATED_FIELD": "Читати розрахункові поля та правила тривог", - "WRITE_CALCULATED_FIELD": "Записати розрахункові поля та правила тривог" + "WRITE_CALCULATED_FIELD": "Записати розрахункові поля та правила тривог", + "INVOKE": "Виклик" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index 3b3fa8a1d0..ac98416ffb 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -1767,6 +1767,8 @@ "model": "模型", "name": "名称", "ai-provider": "AI 提供商", + "available-via-api": "可通过 API 使用", + "available-via-api-hint": "允许拥有 AI 模型“调用”权限的用户通过 REST API(例如从 Trendz Analytics)向此模型发送聊天请求。授予所有操作的角色(例如默认的“Customer Administrator”角色)包含“调用”,因此拥有此类角色的每个用户都可以调用此模型。模型的配置和凭据永远不会被公开。客户用户只能被授予 AI 模型的“调用”操作。", "no-found": "未找到 AI 模型", "list": "{ count, plural, =1 {1 个模型} other {# 个模型列表} }", "selected-fields": "已选择{ count, plural, =1 {1 个模型} other {# 个模型} }", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "共享组", "ASSIGN_TO_TENANT": "分配给租户", "READ_CALCULATED_FIELD": "读取计算字段和告警规则", - "WRITE_CALCULATED_FIELD": "写入计算字段和告警规则" + "WRITE_CALCULATED_FIELD": "写入计算字段和告警规则", + "INVOKE": "调用" } } }, From 5de14bbc8fb1ed50353c613ee8405c69c7e366e3 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 21 Oct 2026 16:17:09 +0300 Subject: [PATCH 242/559] Fix headers --- .../java/org/thingsboard/server/dao/ai/AiModelService.java | 3 ++- .../main/java/org/thingsboard/server/dao/ai/AiModelDao.java | 3 ++- .../org/thingsboard/server/dao/ai/AiModelServiceImpl.java | 3 ++- .../org/thingsboard/server/dao/model/sql/AiModelEntity.java | 3 ++- tools/src/main/python/license-headers/curations.json | 4 ++-- ui-ngx/src/app/shared/models/ai-model.models.ts | 3 ++- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java index d3ca8f0d66..d944480fb9 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.ai; import com.google.common.util.concurrent.FluentFuture; diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java index b8902a0f05..84be4e779e 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.ai; import org.thingsboard.server.common.data.ai.AiModel; diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java index 012c133b9d..95f1ea7ab8 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.ai; import com.google.common.util.concurrent.FluentFuture; diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java index 83798e6bb7..a809bf1808 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.model.sql; import io.hypersistence.utils.hibernate.type.json.JsonBinaryType; diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index ecc5bb95de..cc51e0723f 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -479,13 +479,13 @@ "path": "common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java", "header": "ce-modified", "reason": "Reviewed relocation from application/src/main/java/org/thingsboard/server/service/security/permission/Operation.java in PE commit d97b2f71224e96c27fbdf287f592a08b6fa0407b. The source exists in shared CE ancestry 4c2aa4a60368318eafc2dea155b93721668654c4. The relocated CE permission enum has PE permission/group extensions. Compared with CE fa82445a7078506defbaadc5bea07227dc1b016d (blob b481176e53d5d4e1460882c578b4e4c00f895b3b); a move alone does not imply PE authorship.", - "contentHash": "sha256:d4bcb4e694df750984b311d786923a3a68291c5e1e45cb7715a0db9541d9dbe7" + "contentHash": "sha256:f57a3606b1303177721db29d33490e8a763f02a7a660c1358c55d4efff6f9e6b" }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java", "header": "ce-modified", "reason": "Reviewed relocation from application/src/main/java/org/thingsboard/server/service/security/permission/Resource.java in PE commit d97b2f71224e96c27fbdf287f592a08b6fa0407b. The source exists in shared CE ancestry 4c2aa4a60368318eafc2dea155b93721668654c4. The relocated CE permission enum has PE permission/group extensions. Compared with CE fa82445a7078506defbaadc5bea07227dc1b016d (blob d8b4dd8f4ef95df06ba22fd584813f437a8b453a); a move alone does not imply PE authorship.", - "contentHash": "sha256:635cb50f3945d1bca662a7100a6129bea1270755bf4fe7cd6bc9849f228a4f08" + "contentHash": "sha256:0f4157c5bea567a4fc31dfd45e793fe111a26e520a27442bf9f72b18348beb7d" }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/EntityGroupNameFilter.java", diff --git a/ui-ngx/src/app/shared/models/ai-model.models.ts b/ui-ngx/src/app/shared/models/ai-model.models.ts index 5428d452df..ced4b4c023 100644 --- a/ui-ngx/src/app/shared/models/ai-model.models.ts +++ b/ui-ngx/src/app/shared/models/ai-model.models.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { BaseData, ExportableEntity } from '@shared/models/base-data'; import { HasTenantId } from '@shared/models/entity.models'; import { AiModelId } from '@shared/models/id/ai-model-id'; From c4482472eaa6d9aca16c5c368bf4f458f8ed9604 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 21 Oct 2026 16:48:31 +0200 Subject: [PATCH 243/559] Merge pull request #16377 from mtsymbarov-del/fix/outline-input Fixed form fields to use outline appearance in custom action resource input --- .../action/custom-action-pretty-resources-tabs.component.html | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-action-pretty-resources-tabs.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-action-pretty-resources-tabs.component.html index 4df63e0fb8..0643ecdc02 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-action-pretty-resources-tabs.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/custom-action-pretty-resources-tabs.component.html @@ -12,6 +12,7 @@
    Date: Wed, 21 Oct 2026 17:31:57 +0200 Subject: [PATCH 244/559] Fixed "Add new widget" button text breaking onto two lines when a widgets bundle has a long title (#16371) * Fixed "Add new widget" button label wrapping on narrow widgets bundle page * Used tbTruncateWithTooltip for bundle title and dropped redundant nowrap rule --- .../home/pages/widget/widgets-bundle-widgets.component.html | 2 +- .../home/pages/widget/widgets-bundle-widgets.component.scss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-widgets.component.html b/ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-widgets.component.html index dab8dd55f0..278886f5a6 100644 --- a/ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-widgets.component.html +++ b/ui-ngx/src/app/modules/home/pages/widget/widgets-bundle-widgets.component.html @@ -15,7 +15,7 @@ (click)="goBack()"> arrow_back - {{ widgetsBundle.title }}: {{ 'widget.widgets' | translate }} + {{ widgetsBundle.title }}: {{ 'widget.widgets' | translate }} @if (!isReadOnly) { From 8fb5ac10c851503f56dbbdee8ab7e1d8939ff964 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 12:39:26 +0200 Subject: [PATCH 252/559] Fixed CVE-2026-102992 and CVE-2026-102422 --- ui-ngx/package.json | 10 +- ....34.patch => @angular+build+20.3.38.patch} | 0 ui-ngx/yarn.lock | 159 +++++++++--------- 3 files changed, 82 insertions(+), 87 deletions(-) rename ui-ngx/patches/{@angular+build+20.3.34.patch => @angular+build+20.3.38.patch} (100%) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index f72456f0a3..f4fd5c5cf3 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -95,11 +95,11 @@ }, "devDependencies": { "@angular-builders/custom-esbuild": "20.0.0", - "@angular-devkit/build-angular": "20.3.34", - "@angular-devkit/core": "20.3.34", - "@angular-devkit/schematics": "20.3.34", - "@angular/build": "20.3.34", - "@angular/cli": "20.3.34", + "@angular-devkit/build-angular": "20.3.38", + "@angular-devkit/core": "20.3.38", + "@angular-devkit/schematics": "20.3.38", + "@angular/build": "20.3.38", + "@angular/cli": "20.3.38", "@angular/compiler-cli": "20.3.28", "@angular/language-service": "20.3.28", "@types/ace-diff": "^2.1.4", diff --git a/ui-ngx/patches/@angular+build+20.3.34.patch b/ui-ngx/patches/@angular+build+20.3.38.patch similarity index 100% rename from ui-ngx/patches/@angular+build+20.3.34.patch rename to ui-ngx/patches/@angular+build+20.3.38.patch diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index fdb5a6da01..24bd814308 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -160,24 +160,24 @@ "@angular-devkit/core" "^20.0.0" "@angular/build" "^20.0.0" -"@angular-devkit/architect@0.2003.34", "@angular-devkit/architect@>= 0.2000.0 < 0.2100.0", "@angular-devkit/architect@>=0.2000.0 < 0.2100.0": - version "0.2003.34" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.2003.34.tgz#4346108edc5084cf37a6f719b27d91ecfee7ff9a" - integrity sha512-JX68qGFvv8Duy5UL21IJCived83tOZBVCxNcOS2XCII0CS8Z5nCEndRre73JfDsleTNkeS3fo2P5tjqN+/S80A== +"@angular-devkit/architect@0.2003.38", "@angular-devkit/architect@>= 0.2000.0 < 0.2100.0", "@angular-devkit/architect@>=0.2000.0 < 0.2100.0": + version "0.2003.38" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.2003.38.tgz#664ca34aab57f2c3ba6abd8f7b3345683cf4afda" + integrity sha512-zBEQdAbKSnH9mqOpZwWj/QNojsWwdq9UM9zTzvc93qMnS+4iN/3EfwExt+i11RQGc6KSmXXmrZ56DiMTAUuJtQ== dependencies: - "@angular-devkit/core" "20.3.34" + "@angular-devkit/core" "20.3.38" rxjs "7.8.2" -"@angular-devkit/build-angular@20.3.34": - version "20.3.34" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-20.3.34.tgz#19611effcfae1e3170132560b7d4a4f2283dfe50" - integrity sha512-0pkzrPfFurAJdVzOi3xrsdv4Hraz/G+RrO7SXlwEGpvu/DUy/lZvsnk0kcg2/eZttoQfOLTMwnM8I6TeZx/IcQ== +"@angular-devkit/build-angular@20.3.38": + version "20.3.38" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-20.3.38.tgz#1ab1edf5d64523c6347fb8b78e0b2a7e624632ae" + integrity sha512-g8T2cGijVwCHb5sEJ7XiYrmWWYJOOK+Gt1mzH7NC5bmr8Mu3by7pxGHv+xGgXLmMH0tzsU9a+bCGfWFH7fIgIA== dependencies: "@ampproject/remapping" "2.3.0" - "@angular-devkit/architect" "0.2003.34" - "@angular-devkit/build-webpack" "0.2003.34" - "@angular-devkit/core" "20.3.34" - "@angular/build" "20.3.34" + "@angular-devkit/architect" "0.2003.38" + "@angular-devkit/build-webpack" "0.2003.38" + "@angular-devkit/core" "20.3.38" + "@angular/build" "20.3.38" "@babel/core" "7.29.7" "@babel/generator" "7.28.3" "@babel/helper-annotate-as-pure" "7.27.3" @@ -188,7 +188,7 @@ "@babel/preset-env" "7.28.3" "@babel/runtime" "7.28.3" "@discoveryjs/json-ext" "0.6.3" - "@ngtools/webpack" "20.3.34" + "@ngtools/webpack" "20.3.38" ansi-colors "4.1.3" autoprefixer "10.4.21" babel-loader "10.0.0" @@ -201,7 +201,7 @@ istanbul-lib-instrument "6.0.3" jsonc-parser "3.3.1" karma-source-map-support "1.4.0" - less "4.4.0" + less "4.9.0" less-loader "12.3.0" license-webpack-plugin "4.0.2" loader-utils "3.3.1" @@ -209,7 +209,7 @@ open "10.2.0" ora "8.2.0" picomatch "4.0.4" - piscina "5.2.0" + piscina "5.3.2" postcss "8.5.23" postcss-loader "8.1.1" resolve-url-loader "5.0.0" @@ -224,24 +224,24 @@ tslib "2.8.1" webpack "5.105.0" webpack-dev-middleware "7.4.2" - webpack-dev-server "5.2.5" + webpack-dev-server "5.2.6" webpack-merge "6.0.1" webpack-subresource-integrity "5.1.0" optionalDependencies: esbuild "0.28.1" -"@angular-devkit/build-webpack@0.2003.34": - version "0.2003.34" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.2003.34.tgz#148e55c7bbe7b12749bf4e7a168ccf04dcb5550c" - integrity sha512-IHl8e5dClTfzpqeqanBi4s5dti6i+kueIlfASl/cfyBYW7ASr+FDLbffIonpLYvb3uyucFdo22ND9+/HZZdrKQ== +"@angular-devkit/build-webpack@0.2003.38": + version "0.2003.38" + resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.2003.38.tgz#921fda33efd7256dd2e091dfbc3e93d5819f82cb" + integrity sha512-mCtjY1XB3uXa/9mO5mYLqpsQJNwNfhxd6oNB9DRiMhUmGffauQtplOSuACm6mbuNg6TPc9jvLCdbMJW6KAJcWg== dependencies: - "@angular-devkit/architect" "0.2003.34" + "@angular-devkit/architect" "0.2003.38" rxjs "7.8.2" -"@angular-devkit/core@20.3.34", "@angular-devkit/core@>= 20.0.0 < 21.0.0", "@angular-devkit/core@^20.0.0": - version "20.3.34" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-20.3.34.tgz#10beedd0c5af94f3115a16f1244acf004c741b0a" - integrity sha512-vcDaXzF3E+gGD62gdPa0AZlEertqB3raufEjT5Y0bl9MO4t2CCanEbbIfIyPtpLp22SJOyOErx/39weeEbfmjQ== +"@angular-devkit/core@20.3.38", "@angular-devkit/core@>= 20.0.0 < 21.0.0", "@angular-devkit/core@^20.0.0": + version "20.3.38" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-20.3.38.tgz#2b304416ea48e8e12251faae48613162058bca92" + integrity sha512-hQq4AI9unFacN+CJx9ziGnZOqd1YkjmnEREipcFtIiWh66pTd7PFYj3Gp7fihLR39TBgUmd3MhNnZcK1yVhMKg== dependencies: ajv "8.18.0" ajv-formats "3.0.1" @@ -250,12 +250,12 @@ rxjs "7.8.2" source-map "0.7.6" -"@angular-devkit/schematics@20.3.34", "@angular-devkit/schematics@>= 20.0.0 < 21.0.0": - version "20.3.34" - resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-20.3.34.tgz#2628c1319f56f3506ce8c60da0594d2dbe5c78e1" - integrity sha512-JW+RmDOeCGrzcdiTthw/ZlYMmsI3n2akWAdOUeczMdnbWfygMcbft3r8D+k1uefuxfAhJ4PgTtvECKhDqLN67g== +"@angular-devkit/schematics@20.3.38", "@angular-devkit/schematics@>= 20.0.0 < 21.0.0": + version "20.3.38" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-20.3.38.tgz#bb0fa3548386c98840810a7ab37ba65b6d1b96e2" + integrity sha512-LZQAFPHavIXAi6fx7gxjsgEPy+E+A7z0/Ha0X4OcucBW+nYICCqR6NpTWi6VaxXDZNkCKmSK/UyKR3NNU8mHYw== dependencies: - "@angular-devkit/core" "20.3.34" + "@angular-devkit/core" "20.3.38" jsonc-parser "3.3.1" magic-string "0.30.17" ora "8.2.0" @@ -328,13 +328,13 @@ dependencies: tslib "^2.3.0" -"@angular/build@20.3.34", "@angular/build@^20.0.0": - version "20.3.34" - resolved "https://registry.yarnpkg.com/@angular/build/-/build-20.3.34.tgz#1cd20f8b87faf033e563d1ca0b216d950e474a0a" - integrity sha512-uV7zgmvbLwaT/blpYqVVWkrJnHBGSjkuB+ADCruIou7j+/kmo9k/dXCnXVAlP22nR/gdKi24NBahDBNXxrBpzg== +"@angular/build@20.3.38", "@angular/build@^20.0.0": + version "20.3.38" + resolved "https://registry.yarnpkg.com/@angular/build/-/build-20.3.38.tgz#717553c68eaf0d6267e39d93b923bc55cbab5e8c" + integrity sha512-q+ZWxKmiv9borXEgdTm9yh8UsNrBVWBPyPr43dj/uBo+BRbr20RuIraZSMVx0zyR3W1xii3MJgIuKNhKu+WxmQ== dependencies: "@ampproject/remapping" "2.3.0" - "@angular-devkit/architect" "0.2003.34" + "@angular-devkit/architect" "0.2003.38" "@babel/core" "7.29.7" "@babel/helper-annotate-as-pure" "7.27.3" "@babel/helper-split-export-declaration" "7.24.7" @@ -351,7 +351,7 @@ mrmime "2.0.1" parse5-html-rewriting-stream "8.0.0" picomatch "4.0.4" - piscina "5.2.0" + piscina "5.3.2" rollup "4.59.0" sass "1.90.0" semver "7.7.2" @@ -370,18 +370,18 @@ parse5 "^8.0.0" tslib "^2.3.0" -"@angular/cli@20.3.34": - version "20.3.34" - resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-20.3.34.tgz#0b9f674b1a316c7c07ea2fd97453e0ca9998b4f0" - integrity sha512-Q/6dR2TmVTt9GT4tczREqg3DOlqkkMWI+5AVXgM1EcJRbt91XVlbooXw1GKr6gefxCtbdIi1fXjY4Yled/r23A== +"@angular/cli@20.3.38": + version "20.3.38" + resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-20.3.38.tgz#075b75ca47d46b754e160cacc28e73868ef5850f" + integrity sha512-4CsE0X9e0LMgmTyhryi11LjXOmAehOw2FzyP+VuWsxn0HT5JuJBV/5P97iwCbjoldBxlUeMEKrczBmviLV1ggA== dependencies: - "@angular-devkit/architect" "0.2003.34" - "@angular-devkit/core" "20.3.34" - "@angular-devkit/schematics" "20.3.34" + "@angular-devkit/architect" "0.2003.38" + "@angular-devkit/core" "20.3.38" + "@angular-devkit/schematics" "20.3.38" "@inquirer/prompts" "7.8.2" "@listr2/prompt-adapter-inquirer" "3.0.1" "@modelcontextprotocol/sdk" "1.30.0" - "@schematics/angular" "20.3.34" + "@schematics/angular" "20.3.38" "@yarnpkg/lockfile" "1.1.0" algoliasearch "5.35.0" ini "5.0.0" @@ -2423,10 +2423,10 @@ dependencies: tslib "^2.0.0" -"@ngtools/webpack@20.3.34": - version "20.3.34" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-20.3.34.tgz#22ed9dd4afec7285cb944aa773e7889997314eee" - integrity sha512-YLnHgzZUmR8zYAD77HUK6rE49/6KYgvTx0aNRGqEV3r67Iue3CcQdbulwNUCtJbX/tWhW4E0j9WpjVhx9Ulb7A== +"@ngtools/webpack@20.3.38": + version "20.3.38" + resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-20.3.38.tgz#be8d58256e8170de9f147be3807ad3ff01ce326e" + integrity sha512-CEuKFsFEP00HIut2SFbAdYZTSXW40xdAPItfsKLo3pJF7MYZC1enNqgqsIUrK4xV/MLVNfBuhTd/5FTd0tpinw== "@ngx-translate/core@^17.0.0": version "17.0.0" @@ -2912,13 +2912,13 @@ resolved "https://registry.yarnpkg.com/@sanity/diff-match-patch/-/diff-match-patch-3.2.0.tgz#7ce587273f7372a146308cb1075ba26177d42cdb" integrity sha512-4hPADs0qUThFZkBK/crnfKKHg71qkRowfktBljH2UIxGHHTxIzt8g8fBiXItyCjxkuNy+zpYOdRMifQNv8+Yww== -"@schematics/angular@20.3.34": - version "20.3.34" - resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-20.3.34.tgz#900f8d33eb3bf3c815361080a76178192363d523" - integrity sha512-Yja14zhlb59TaADWx2/4FptSJ85FuhSfSlB6RgQx9t8N7mVLNyUVhxBw6RaCcgazhSP4i4XcgOvY9pMiqO8a2g== +"@schematics/angular@20.3.38": + version "20.3.38" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-20.3.38.tgz#c06fee4df58f3249bf539f107332258eb0e52cfc" + integrity sha512-H7jE0nAgHAay7Sbg5d2CP4dHtoiPcWdblGrF5OYk/OtkNLpD9bUzhX25jPKjpgxJCVKVWNaetwBDgnAp5SAUjA== dependencies: - "@angular-devkit/core" "20.3.34" - "@angular-devkit/schematics" "20.3.34" + "@angular-devkit/core" "20.3.38" + "@angular-devkit/schematics" "20.3.38" jsonc-parser "3.3.1" "@sigstore/bundle@^4.0.0": @@ -4596,12 +4596,7 @@ camelcase@^5.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -caniuse-lite@^1.0.30001702, caniuse-lite@^1.0.30001760: - version "1.0.30001775" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001775.tgz#9572266e3f7f77efee5deac1efeb4795879d1b7f" - integrity sha512-s3Qv7Lht9zbVKE9XoTyRG6wVDCKdtOFIjBGg3+Yhn6JaytuNKPIjBMTMIY1AnOH3seL5mvF+x33oGAyK3hVt3A== - -caniuse-lite@^1.0.30001810: +caniuse-lite@^1.0.30001702, caniuse-lite@^1.0.30001760, caniuse-lite@^1.0.30001810: version "1.0.30001810" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz#4970b477dea3278374de9bc43aa8f5d39fc3cda2" integrity sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg== @@ -7508,13 +7503,13 @@ langium@^4.0.0: vscode-languageserver-textdocument "~1.0.11" vscode-uri "~3.1.0" -launch-editor@^2.6.1: - version "2.9.1" - resolved "https://registry.yarnpkg.com/launch-editor/-/launch-editor-2.9.1.tgz#253f173bd441e342d4344b4dae58291abb425047" - integrity sha512-Gcnl4Bd+hRO9P9icCP/RVVT2o8SFlPXofuCxvA2SaZuH45whSvf5p8x5oih5ftLiVhEI4sp5xDY+R+b3zJBh5w== +launch-editor@^2.14.1: + version "2.14.2" + resolved "https://registry.yarnpkg.com/launch-editor/-/launch-editor-2.14.2.tgz#d476a1cb09159d9aee6ca225a8c7c6c1d94d6331" + integrity sha512-NHJEb30MGBCkmZXLZwz25t37QR4aY03ZzPYUJXOJaOa92uWwExI9SBQUuIznBYc1xkD7cJNGX7oc3Nl3sq2kQQ== dependencies: - picocolors "^1.0.0" - shell-quote "^1.8.1" + picocolors "^1.1.1" + shell-quote "^1.10.0" layout-base@^1.0.0: version "1.0.2" @@ -7563,7 +7558,7 @@ less-loader@12.3.0: resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-12.3.0.tgz#d4a00361568be86a97da3df4f16954b0d4c15340" integrity sha512-0M6+uYulvYIWs52y0LqN4+QM9TqWAohYSNTo4htE8Z7Cn3G/qQMEmktfHmyJT23k+20kU9zHH2wrfFXkxNLtVw== -less@4.4.0, less@>=4.9.0: +less@4.9.0, less@>=4.9.0: version "4.9.0" resolved "https://registry.yarnpkg.com/less/-/less-4.9.0.tgz#df49f940f89a1d158c315609735d3ca12da3e740" integrity sha512-umRhrCH7fCi8Uj2RcwKjJdvUORTjeWqkdKx0LbcZvjIwsAVsnIAGcxHaqowPeBFBjQuWOeC/bve0AlpFzF/+SQ== @@ -8805,7 +8800,7 @@ photoswipe@^5.4.4: resolved "https://registry.yarnpkg.com/photoswipe/-/photoswipe-5.4.4.tgz#e045dc036453493188d5c8665b0e8f1000ac4d6e" integrity sha512-WNFHoKrkZNnvFFhbHL93WDkW3ifwVOXSW3w1UuZZelSmgXpIGiZSNlZJq37rR8YejqME2rHs9EhH9ZvlvFH2NA== -picocolors@^1.0.0, picocolors@^1.1.1: +picocolors@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== @@ -8830,10 +8825,10 @@ pirates@^4.0.1: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.7.tgz#643b4a18c4257c8a65104b73f3049ce9a0a15e22" integrity sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA== -piscina@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/piscina/-/piscina-5.2.0.tgz#3a9a568ab9e3a0556b5c94522ba305962de13e3b" - integrity sha512-DszUCKeVN/5G5QKo6jAVHL8fmKnkJvQ0ACiVgY7YGCq3TUB2oznAOayvZPIAdEThvhczkXR+qm3IHsNXpFCYfA== +piscina@5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/piscina/-/piscina-5.3.2.tgz#ea9376457c47f54d01ecd7556eed94c49160f400" + integrity sha512-vv7l/mM7B9WgrhDaudIqv1x6v4LOBRYYmpWGdWushhpbCmVHp11sUB2v4hj1CAeTGXVxuZFz6xOU1RalAiPKfQ== optionalDependencies: "@napi-rs/nice" "^1.0.4" @@ -9729,10 +9724,10 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shell-quote@^1.8.1: - version "1.10.0" - resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.10.0.tgz#482033e192e4f5c07151521ffa03400ec71b1b0f" - integrity sha512-w1aiOKwKuRgtwAReIIj89puqg+I7GvX4IbLrvmhXbzQsj1+Zwi4VO3+fa6ZF91TWSjIxoEkKnMeHcLEODK5ZXA== +shell-quote@^1.10.0: + version "1.12.0" + resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.12.0.tgz#e98fdfd2e921d8a58ae2820f4fc0f75c39f09675" + integrity sha512-PcByqNyT/38F2kDNi006HAMRJaULuBzq/FOsw3qdZvX/GA9W/jamDaRskgHjubHiftXK5sIFxLNkvrXUwcof6Q== side-channel-list@^1.0.1: version "1.0.1" @@ -10791,10 +10786,10 @@ webpack-dev-middleware@^7.4.2: range-parser "^1.2.1" schema-utils "^4.0.0" -webpack-dev-server@5.2.5: - version "5.2.5" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-5.2.5.tgz#648fceaac6a5736b0935e5c1e55d6aa1d0626119" - integrity sha512-4wZtCquSuv9CKX8oybo+mqxtxZqWz47uM1Ch94lxowBztOhWCbhqvRbfC/mODOwxgV2brY+JGZpHq58/SuVFYg== +webpack-dev-server@5.2.6: + version "5.2.6" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-5.2.6.tgz#3a5d41233cbb7504f814d19e59a59173fb8ae23d" + integrity sha512-HNLRmamRvVavZQ+avceZifmv8hmdUjg43t6MI4SqJDwFdW7RPQwH5vzGhDRZSX59SgfbeHhLnq3g+uooWo7pVw== dependencies: "@types/bonjour" "^3.5.13" "@types/connect-history-api-fallback" "^1.5.4" @@ -10814,7 +10809,7 @@ webpack-dev-server@5.2.5: graceful-fs "^4.2.6" http-proxy-middleware "^2.0.9" ipaddr.js "^2.1.0" - launch-editor "^2.6.1" + launch-editor "^2.14.1" open "^10.0.3" p-retry "^6.2.0" schema-utils "^4.2.0" From ba7e1fd0635b1a96d85ab400e73c712362462935 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 12:51:08 +0200 Subject: [PATCH 253/559] Fixed CVE-2026-93748 --- ui-ngx/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 24bd814308..0fcbb27889 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -6695,9 +6695,9 @@ htmlparser2@^10.0.0: entities "^7.0.1" http-cache-semantics@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" - integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== + version "4.3.0" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz#09eead3b16c6d85552857cc3fbd888d8353a2aaf" + integrity sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA== http-deceiver@^1.2.7: version "1.2.7" From 018a33285c486dd7fe0fb25fc06e87b1f4dadac5 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 12:52:00 +0200 Subject: [PATCH 254/559] Fixed CVE-2026-93749 --- ui-ngx/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 0fcbb27889..44bfc08f86 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -9844,9 +9844,9 @@ sorted-btree@^1.8.1: integrity sha512-395+XIP+wqNn3USkFSrNz7G3Ss/MXlZEqesxvzCRFwL14h6e8LukDHdLBePn5pwbm5OQ9vGu8mDyz2lLDIqamQ== "source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.2, source-map-js@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" - integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== + version "1.2.2" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.2.tgz#79fb88d97535a21cb27162cb05d211b67acea4ab" + integrity sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw== source-map-loader@5.0.0: version "5.0.0" From 0b3e9a8657a9bca21e9e8cab89ebc9d405627332 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 12:56:18 +0200 Subject: [PATCH 255/559] Fixed CVE-2026-111767 --- ui-ngx/package.json | 3 ++- ui-ngx/yarn.lock | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index f4fd5c5cf3..ba88708969 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -141,6 +141,7 @@ "esbuild": "0.28.1", "rollup": "4.59.0", "less": ">=4.9.0", - "js-beautify/**/minimatch": "^9.0.7" + "js-beautify/**/minimatch": "^9.0.7", + "@angular/cli/@modelcontextprotocol/sdk": "1.32.1" } } diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 44bfc08f86..15dc27c305 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -2234,10 +2234,10 @@ dependencies: make-plural "^7.0.0" -"@modelcontextprotocol/sdk@1.30.0": - version "1.30.0" - resolved "https://registry.yarnpkg.com/@modelcontextprotocol/sdk/-/sdk-1.30.0.tgz#dfa8a48347ec2d2c0d47917d7dc57f754e37f5ff" - integrity sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA== +"@modelcontextprotocol/sdk@1.30.0", "@modelcontextprotocol/sdk@1.32.1": + version "1.32.1" + resolved "https://registry.yarnpkg.com/@modelcontextprotocol/sdk/-/sdk-1.32.1.tgz#853286b3240b6d8143f5f8e6d58af85c77d475ab" + integrity sha512-2DdE+SJDtzLEEWzY1ZjY7Q+VcPhcV1KisD3zI4u0XZyktsjHum1mwbMI+JaulUBi2OZk+KJAi2uPXzxichPkdw== dependencies: "@hono/node-server" "^1.19.9 || ^2.0.5" ajv "^8.17.1" From 267a7227cd2c6063c28f33159f733026665f71d5 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 12:58:26 +0200 Subject: [PATCH 256/559] Fixed CVE-2026-111756 and CVE-2026-111755 --- msa/web-ui/yarn.lock | 6 +++--- ui-ngx/yarn.lock | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/msa/web-ui/yarn.lock b/msa/web-ui/yarn.lock index ca2d727bf8..2cfa8c164a 100644 --- a/msa/web-ui/yarn.lock +++ b/msa/web-ui/yarn.lock @@ -780,9 +780,9 @@ fn.name@1.x.x: integrity sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw== follow-redirects@^1.0.0: - version "1.16.0" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.16.0.tgz#28474a159d3b9d11ef62050a14ed60e4df6d61bc" - integrity sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw== + version "1.16.1" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.16.1.tgz#6e0efa40a727fb369b98dab15883ec34787d675e" + integrity sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg== forwarded@0.2.0: version "0.2.0" diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 15dc27c305..5e7018178c 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -6354,9 +6354,9 @@ flatted@^3.2.9: resolved "https://github.com/thingsboard/flot.git#c2734540477d8b261d04ee18d4d38af3b0ecb81b" follow-redirects@^1.0.0: - version "1.16.0" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.16.0.tgz#28474a159d3b9d11ef62050a14ed60e4df6d61bc" - integrity sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw== + version "1.16.1" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.16.1.tgz#6e0efa40a727fb369b98dab15883ec34787d675e" + integrity sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg== font-awesome@^4.7.0: version "4.7.0" From b86e96d39bfa6c397f37adebf40b8e25ffa4c920 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 13:13:06 +0200 Subject: [PATCH 257/559] Fixed CVE-2026-111752 and CVE-2026-101896 --- ui-ngx/package.json | 20 ++--- ...3.28.patch => @angular+core+20.3.34.patch} | 0 ui-ngx/yarn.lock | 80 +++++++++---------- 3 files changed, 50 insertions(+), 50 deletions(-) rename ui-ngx/patches/{@angular+core+20.3.28.patch => @angular+core+20.3.34.patch} (100%) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index ba88708969..9d9ad13211 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -13,16 +13,16 @@ }, "private": true, "dependencies": { - "@angular/animations": "20.3.28", + "@angular/animations": "20.3.34", "@angular/cdk": "20.2.14", - "@angular/common": "20.3.28", - "@angular/compiler": "20.3.28", - "@angular/core": "20.3.28", - "@angular/forms": "20.3.28", + "@angular/common": "20.3.34", + "@angular/compiler": "20.3.34", + "@angular/core": "20.3.34", + "@angular/forms": "20.3.34", "@angular/material": "20.2.14", - "@angular/platform-browser": "20.3.28", - "@angular/platform-browser-dynamic": "20.3.28", - "@angular/router": "20.3.28", + "@angular/platform-browser": "20.3.34", + "@angular/platform-browser-dynamic": "20.3.34", + "@angular/router": "20.3.34", "@auth0/angular-jwt": "^5.2.0", "@flowjs/flow.js": "^2.14.1", "@flowjs/ngx-flow": "20.0.2", @@ -100,8 +100,8 @@ "@angular-devkit/schematics": "20.3.38", "@angular/build": "20.3.38", "@angular/cli": "20.3.38", - "@angular/compiler-cli": "20.3.28", - "@angular/language-service": "20.3.28", + "@angular/compiler-cli": "20.3.34", + "@angular/language-service": "20.3.34", "@types/ace-diff": "^2.1.4", "@types/canvas-gauges": "^2.1.8", "@types/flot": "^0.0.36", diff --git a/ui-ngx/patches/@angular+core+20.3.28.patch b/ui-ngx/patches/@angular+core+20.3.34.patch similarity index 100% rename from ui-ngx/patches/@angular+core+20.3.28.patch rename to ui-ngx/patches/@angular+core+20.3.34.patch diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 5e7018178c..04d1a40533 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -321,10 +321,10 @@ dependencies: "@angular-eslint/bundled-angular-compiler" "20.7.0" -"@angular/animations@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-20.3.28.tgz#d0a75dcb0ad859ba4be9cdabb5a18706e196c39f" - integrity sha512-cd0zEamoqHT94JG/ejUCkZLRxty9sD3nD9yWrwdymCBI5l6Fdfk5tp5QdhU8qjKy9FAMFxnCTjz3stPByrDgBQ== +"@angular/animations@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-20.3.34.tgz#5a81e2dc33df16cf5ad73d67abfe17f3d17d91da" + integrity sha512-HdDfbLwpxzx49wAWz4oOUQKSkZcFNRpWEGsDEgufZ3ExwxRk1/2QPJuvZ2CbhKeEcLPrLKUorQ8XlGrNsJmNiQ== dependencies: tslib "^2.3.0" @@ -394,17 +394,17 @@ yargs "18.0.0" zod "4.1.13" -"@angular/common@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-20.3.28.tgz#c3b639fe112b62498913cdca8b82330d469df8ef" - integrity sha512-vvMrBI0POHYeUE8EnN4ohYOqLkmZXI6oKJnMvarfukySnw7mZ4VuY4DNAnRSbEZEqO55sOmVCQ7jbxDDt34tZw== +"@angular/common@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-20.3.34.tgz#44a342d381f5b7a16d9f11a99f36028855585f08" + integrity sha512-OhB/l0cNldOvQeICqbWqRUzK5fF6zNYy44Q4cIGJZql8HXL/invGiqWLE9f+kU8z4jRisofHIGTBtyJQYYOudg== dependencies: tslib "^2.3.0" -"@angular/compiler-cli@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-20.3.28.tgz#07af1834005bfe4630500761e3f16840305f3807" - integrity sha512-HZH4HH02mMOlZuXOXnnnHWK39bsPjbKRK6XJhLTu7T/0/iUFOiH0NTkkWrpjKXwn5eSDYhmJGCmWcJyW/LUaLQ== +"@angular/compiler-cli@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-20.3.34.tgz#0e6ad2f56cc26d150297c1c1337acfc1a86b9ce2" + integrity sha512-PKHzhSOyDUFh64Ull3fUwgFlxnsQNEAuRyz4KqQ8FsTGZ4pOpUaZntO+2Xn1nX/gT2whSyGBJhD3H37zA8ZGEQ== dependencies: "@babel/core" "7.29.7" "@jridgewell/sourcemap-codec" "^1.4.14" @@ -415,31 +415,31 @@ tslib "^2.3.0" yargs "^18.0.0" -"@angular/compiler@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-20.3.28.tgz#d5f6c12a7686fcd4ddb197771b19749eef1c7d79" - integrity sha512-3iSkIWJEVrdG4Zv0vQs0ieO185aJfb5Vn3whi/D7QEDUNEsHGZSxRDxT1hyDGIaj52FN6+Qo5SFSSsDf+vgUAA== +"@angular/compiler@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-20.3.34.tgz#2cb3f68e7a051a07e39af1f47722a02313123bb0" + integrity sha512-8agPW384c/JER1ersPTmJJfcCOnlYcBbdj0MYRxNdiYe+7gtnspF3ORuJmxqCEpMS17AljSmk2skwUcYnHB6xA== dependencies: tslib "^2.3.0" -"@angular/core@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-20.3.28.tgz#ece2fdf6bf0af1b4d76e768eacb3d0bf90cb419c" - integrity sha512-R28TMoEr+mBUswemFWZdHAuK2WDSs+6eYFBg6XrBmlMlmG4YkWeNFxRbJNYDkF8RH+fpguS+iUH63yLpts22dA== +"@angular/core@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-20.3.34.tgz#341b148c6fcd894fac1b3ec2775536315ee28f49" + integrity sha512-xOvSmGoao3SVPz//R7zTrq7+WdrIGi+WNpAdxJEvJJXuSpLGS3kSUqukjY4kOMochg2v0NCEPIdCyH+yPs8JSw== dependencies: tslib "^2.3.0" -"@angular/forms@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-20.3.28.tgz#45246be5023ba1bb5ffbe79338d863c948b41527" - integrity sha512-at81TpBs/NxvOyR5IhtUClG+2WVMLVDieFRz+rAH+ok9dtRrDHoKPQOgMAEw9q5N4yO4CZKhfAPq+5P/gnnjsw== +"@angular/forms@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-20.3.34.tgz#73d148e08c6f386a105179533576a22de170eec4" + integrity sha512-DndQJEoORsdthFFVRvT9WHn8YcA85jkjMxCLtXyf+TDVk0zbqObbFDfrloRnJwsINqfDNsJrz23ko3YU6sjnTw== dependencies: tslib "^2.3.0" -"@angular/language-service@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-20.3.28.tgz#0f5768108615ef06251e9f4316ae66d4cc5c9515" - integrity sha512-7jx5mXLCmOC6Tub8+r+3GYBFF5IcntsBu7F2oTV9Pg6FuZnbMd2ooBRk9dtn1btX0sK/vqTiUsjjTyQ5vXRJVA== +"@angular/language-service@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-20.3.34.tgz#7d47a3bc7ec27e3850ba64fda7137cc627ccb291" + integrity sha512-ennTeEZiNrTgidBw7cyAfyO9+0ijaop10V+stInzhpn2Se+h9kDJKT7IXWqc6v4E6DNJinzazN68/QwSZoZW1A== "@angular/material@20.2.14": version "20.2.14" @@ -448,24 +448,24 @@ dependencies: tslib "^2.3.0" -"@angular/platform-browser-dynamic@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-20.3.28.tgz#139b0fc545e5c6ddde31b1e6f678e2402de3bb10" - integrity sha512-wy3694EfbGyDsnppaoNy4X/JGH3auDFMB4c+B7GZzVAtCO3eNanoNctAKKkkmN0FMAdzGHHEPhIIyJj702S+rw== +"@angular/platform-browser-dynamic@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-20.3.34.tgz#d58f17a52ae2f468636f7da4529aaf85c98d4565" + integrity sha512-vqKzExmUDf5jpIlNZRuICsLzaLWY5yTvuXsJhe97KTbC29BD71LhRGhEu7fjmR5uYy+LForpWYm5IsYlJcJAGQ== dependencies: tslib "^2.3.0" -"@angular/platform-browser@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-20.3.28.tgz#785008d8d0293176c9938a63ee45f700626fefc2" - integrity sha512-TER/xSXlDsqlbM4Eufkjzm7HvB88K6pbudl7Xs6H3huTkg9Lw4zuFIpnk+fpLOGcc7/rpFIb00k/LhzkwuQiIw== +"@angular/platform-browser@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-20.3.34.tgz#8791d8d5e02d5dd5a7fc14b722fc043028d19bb1" + integrity sha512-0bd2Bj05WPoBTFM0A13IwbzxKVQPstx/N+7X0ZWKCifliyydIc7DBHu+r37ybJpl8ZsCVBe7DoR9Gon4lZ+zlw== dependencies: tslib "^2.3.0" -"@angular/router@20.3.28": - version "20.3.28" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-20.3.28.tgz#5ab760f5e37db5bdbb98ab157f6c41d935eae2f1" - integrity sha512-W4sNTrYT2oavpJ/MgUYpnCkhJ0vBS3KXZVRNruURUI/wLirF+AoXvMSlke9SlytrdvPAx8Www+nq0dyY2Ln96Q== +"@angular/router@20.3.34": + version "20.3.34" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-20.3.34.tgz#00fd332cf00c905cd70ddcc102bf37280891dc1e" + integrity sha512-vQo2f/94nUoNMZaxGY0+fK1t9Oe7zJuxHhoMVYhDbCqKxINVmxMX/9uEHlHeu9UIE7JMazepQjRzBLo7bf9xCw== dependencies: tslib "^2.3.0" From 9033a5e96d54ec9d852b45456a9dcd990f83b019 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 13:25:08 +0200 Subject: [PATCH 258/559] Fixed CVE-2026-102276 and CVE-2026-102278 --- ui-ngx/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 04d1a40533..ee1877203a 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -4492,9 +4492,9 @@ brace-expansion@^1.1.7: concat-map "0.0.1" brace-expansion@^5.0.2: - version "5.0.9" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-5.0.9.tgz#7c72438809b5fa5babf54199a1f1c281a6984fcf" - integrity sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg== + version "5.0.12" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-5.0.12.tgz#995fbb4750a77c4d16a7dc942ff2ca6ef8e675ec" + integrity sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ== dependencies: balanced-match "^4.0.2" From 7ec2e65a59e43c615a771bdce53bdf78f4225dc3 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 16:02:30 +0200 Subject: [PATCH 259/559] Fixed CVE-2026-93687 and CVE-2026-76844 - msa/js-executor, msa/web-ui: replace nodemon with node --watch and remove it, dropping chokidar 3 and braces (CVE-2026-93687) - ui-ngx: migrate from deprecated @angular-devkit/build-angular to @angular/build, dropping the webpack toolchain incl. webpack-dev-middleware (CVE-2026-76844) - ui-ngx: bump Angular CLI/build tooling to 20.3.40, make the @modelcontextprotocol/sdk 1.32.1 resolution global, remove unused less resolution - ui-ngx: bump @svgdotjs/svg.js to 3.2.8 (prototype pollution fix), svg.filter.js to 3.0.10, svg.panzoom.js to 2.1.3, @messageformat/core to 3.4.1, eslint to 9.39.5 - ui-ngx: fix invalid JSON in locale.constant-ro_RO.json (trailing comma) --- msa/js-executor/package.json | 5 +- msa/js-executor/yarn.lock | 186 +- msa/web-ui/package.json | 5 +- msa/web-ui/yarn.lock | 186 +- ui-ngx/esbuild/tb-html-fallback-middleware.ts | 3 +- ui-ngx/package.json | 22 +- ....38.patch => @angular+build+20.3.40.patch} | 0 .../assets/locale/locale.constant-ro_RO.json | 2 +- ui-ngx/yarn.lock | 3141 +---------------- 9 files changed, 180 insertions(+), 3370 deletions(-) rename ui-ngx/patches/{@angular+build+20.3.38.patch => @angular+build+20.3.40.patch} (100%) diff --git a/msa/js-executor/package.json b/msa/js-executor/package.json index 30cecc62e7..36489cf891 100644 --- a/msa/js-executor/package.json +++ b/msa/js-executor/package.json @@ -8,8 +8,8 @@ "scripts": { "pkg": "tsc && pkg -t node22-linux-x64 --output ./target/thingsboard-js-executor-linux ./target/src && pkg -t node22-win-x64 --no-bytecode --public-packages \"*\" --public --output ./target/thingsboard-js-executor-win.exe ./target/src && node install.js", "test": "mkdir -p target/surefire-reports && node --require ts-node/register --test --test-reporter=spec --test-reporter-destination=stdout --test-reporter=junit --test-reporter-destination=target/surefire-reports/TEST-js-executor.xml test/jsExecutor.test.ts", - "start": "nodemon --watch '.' --ext 'ts' --exec 'ts-node server.ts'", - "start-prod": "nodemon --watch '.' --ext 'ts' --exec 'NODE_ENV=production ts-node server.ts'", + "start": "node --watch --watch-preserve-output -r ts-node/register server.ts", + "start-prod": "NODE_ENV=production node --watch --watch-preserve-output -r ts-node/register server.ts", "build": "tsc" }, "dependencies": { @@ -38,7 +38,6 @@ "@types/uuid-parse": "^1.0.2", "@yao-pkg/pkg": "^6.6.0", "fs-extra": "^11.3.1", - "nodemon": "^3.1.10", "ts-node": "^10.9.2", "typescript": "~5.9.3" }, diff --git a/msa/js-executor/yarn.lock b/msa/js-executor/yarn.lock index bb1095b947..a91ab1d4db 100644 --- a/msa/js-executor/yarn.lock +++ b/msa/js-executor/yarn.lock @@ -379,14 +379,6 @@ ansi-styles@^4.0.0: dependencies: color-convert "^2.0.1" -anymatch@~3.1.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - arg@^4.1.0: version "4.1.3" resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" @@ -402,21 +394,11 @@ async@^3.2.3: resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - base64-js@^1.3.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -binary-extensions@^2.0.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" - integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== - bl@^4.0.3: version "4.1.0" resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" @@ -446,21 +428,6 @@ body-parser@^2.2.0: raw-body "^3.0.0" type-is "^2.0.0" -brace-expansion@^1.1.7: - version "1.1.18" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.18.tgz#3ce74d89885136be1535341f8c3d4425c29a5cab" - integrity sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@~3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" - integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== - dependencies: - fill-range "^7.1.1" - buffer@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" @@ -490,21 +457,6 @@ call-bound@^1.0.2: call-bind-apply-helpers "^1.0.2" get-intrinsic "^1.3.0" -chokidar@^3.5.2: - version "3.6.0" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" - integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - chownr@^1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -572,11 +524,6 @@ colorspace@1.1.x: color "^3.1.3" text-hex "1.0.x" -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - config@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/config/-/config-4.1.1.tgz#798f636e2a5b7baa7050280d1eb21f8e10abb8c9" @@ -616,7 +563,7 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -debug@4, debug@^4, debug@^4.3.5, debug@^4.4.0: +debug@4, debug@^4.3.5, debug@^4.4.0: version "4.4.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== @@ -780,13 +727,6 @@ file-stream-rotator@^0.6.1: dependencies: moment "^2.29.1" -fill-range@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" - integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== - dependencies: - to-regex-range "^5.0.1" - finalhandler@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.0.tgz#72306373aa89d05a8242ed569ed86a1bff7c561f" @@ -836,11 +776,6 @@ fs-extra@^11.2.0, fs-extra@^11.3.1: jsonfile "^6.0.1" universalify "^2.0.0" -fsevents@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - function-bind@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" @@ -880,13 +815,6 @@ github-from-package@0.0.0: resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" integrity sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw== -glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - gopd@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" @@ -897,11 +825,6 @@ graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== - has-symbols@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" @@ -945,11 +868,6 @@ ieee754@^1.1.13: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -ignore-by-default@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" - integrity sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA== - inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" @@ -978,13 +896,6 @@ is-arrayish@^0.3.1: resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - is-core-module@^2.16.0: version "2.16.1" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" @@ -992,28 +903,11 @@ is-core-module@^2.16.0: dependencies: hasown "^2.0.2" -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - is-promise@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3" @@ -1140,13 +1034,6 @@ mimic-response@^3.1.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== -minimatch@^3.1.2: - version "3.1.5" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e" - integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w== - dependencies: - brace-expansion "^1.1.7" - minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.6: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" @@ -1216,27 +1103,6 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -nodemon@^3.1.10: - version "3.1.10" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-3.1.10.tgz#5015c5eb4fffcb24d98cf9454df14f4fecec9bc1" - integrity sha512-WDjw3pJ0/0jMFmyNDp3gvY2YizjLmmOUQo6DEBY+JgdvW/yQ9mEeSw6H5ythl5Ny2ytb7f9C2nIbjSxMNzbJXw== - dependencies: - chokidar "^3.5.2" - debug "^4" - ignore-by-default "^1.0.1" - minimatch "^3.1.2" - pstree.remy "^1.1.8" - semver "^7.5.3" - simple-update-notifier "^2.0.0" - supports-color "^5.5.0" - touch "^3.1.0" - undefsafe "^2.0.5" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - object-hash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" @@ -1293,11 +1159,6 @@ picocolors@^1.1.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== -picomatch@^2.0.4, picomatch@^2.2.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.2.tgz#5a942915e26b372dc0f0e6753149a16e6b1c5601" - integrity sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA== - picomatch@^4.0.2: version "4.0.4" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" @@ -1339,11 +1200,6 @@ proxy-addr@^2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" -pstree.remy@^1.1.8: - version "1.1.8" - resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" - integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== - pump@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.3.tgz#151d979f1a29668dc0025ec589a455b53282268d" @@ -1406,13 +1262,6 @@ readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0, readable string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -1458,7 +1307,7 @@ safe-stable-stringify@^2.3.1: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -semver@^7.3.5, semver@^7.5.3: +semver@^7.3.5: version "7.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== @@ -1556,13 +1405,6 @@ simple-swizzle@^0.2.2: dependencies: is-arrayish "^0.3.1" -simple-update-notifier@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz#d70b92bdab7d6d90dfd73931195a30b6e3d7cebb" - integrity sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w== - dependencies: - semver "^7.5.3" - stack-trace@0.0.x: version "0.0.10" resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" @@ -1620,13 +1462,6 @@ strip-json-comments@~2.0.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== -supports-color@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -1677,23 +1512,11 @@ tinyglobby@^0.2.11: fdir "^6.4.4" picomatch "^4.0.2" -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - toidentifier@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== -touch@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.1.tgz#097a23d7b161476435e5c1344a95c0f75b4a5694" - integrity sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA== - tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" @@ -1744,11 +1567,6 @@ typescript@~5.9.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.3.tgz#5b4f59e15310ab17a216f5d6cf53ee476ede670f" integrity sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw== -undefsafe@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" - integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA== - undici-types@~6.21.0: version "6.21.0" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" diff --git a/msa/web-ui/package.json b/msa/web-ui/package.json index 21c54f180f..7a835cdf28 100644 --- a/msa/web-ui/package.json +++ b/msa/web-ui/package.json @@ -8,8 +8,8 @@ "scripts": { "pkg": "tsc && pkg -t node22-linux-x64 --output ./target/thingsboard-web-ui-linux ./target/src && pkg -t node22-win-x64 --no-bytecode --public-packages \"*\" --public --output ./target/thingsboard-web-ui-win.exe ./target/src && node install.js", "test": "echo \"Error: no test specified\" && exit 1", - "start": "nodemon --watch '.' --ext 'ts' --exec 'WEB_FOLDER=./target/web ts-node server.ts'", - "start-prod": "nodemon --watch '.' --ext 'ts' --exec 'WEB_FOLDER=./target/web NODE_ENV=production ts-node server.ts'", + "start": "WEB_FOLDER=./target/web node --watch --watch-preserve-output -r ts-node/register server.ts", + "start-prod": "WEB_FOLDER=./target/web NODE_ENV=production node --watch --watch-preserve-output -r ts-node/register server.ts", "build": "tsc" }, "dependencies": { @@ -40,7 +40,6 @@ "@types/node": "~22.17.2", "@yao-pkg/pkg": "^6.6.0", "fs-extra": "^11.3.1", - "nodemon": "^3.1.10", "ts-node": "^10.9.2", "typescript": "~5.9.3" }, diff --git a/msa/web-ui/yarn.lock b/msa/web-ui/yarn.lock index 2cfa8c164a..2cf05740b6 100644 --- a/msa/web-ui/yarn.lock +++ b/msa/web-ui/yarn.lock @@ -311,14 +311,6 @@ ansi-styles@^4.0.0: dependencies: color-convert "^2.0.1" -anymatch@~3.1.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - arg@^4.1.0: version "4.1.3" resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" @@ -334,21 +326,11 @@ async@^3.2.3: resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - base64-js@^1.3.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -binary-extensions@^2.0.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" - integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== - bl@^4.0.3: version "4.1.0" resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" @@ -378,21 +360,6 @@ body-parser@^2.2.0: raw-body "^3.0.0" type-is "^2.0.0" -brace-expansion@^1.1.7: - version "1.1.18" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.18.tgz#3ce74d89885136be1535341f8c3d4425c29a5cab" - integrity sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@~3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" - integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== - dependencies: - fill-range "^7.1.1" - buffer@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" @@ -422,21 +389,6 @@ call-bound@^1.0.2: call-bind-apply-helpers "^1.0.2" get-intrinsic "^1.3.0" -chokidar@^3.5.2: - version "3.6.0" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" - integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - chownr@^1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -525,11 +477,6 @@ compression@^1.8.2: safe-buffer "5.2.1" vary "~1.1.2" -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - config@^3.3.12: version "3.3.12" resolved "https://registry.yarnpkg.com/config/-/config-3.3.12.tgz#a10ae66efcc3e48c1879fbb657c86c4ef6c7b25e" @@ -581,7 +528,7 @@ debug@2.6.9: dependencies: ms "2.0.0" -debug@4, debug@^4, debug@^4.3.5, debug@^4.4.0: +debug@4, debug@^4.3.5, debug@^4.4.0: version "4.4.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== @@ -755,13 +702,6 @@ file-stream-rotator@^0.6.1: dependencies: moment "^2.29.1" -fill-range@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" - integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== - dependencies: - to-regex-range "^5.0.1" - finalhandler@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.0.tgz#72306373aa89d05a8242ed569ed86a1bff7c561f" @@ -816,11 +756,6 @@ fs-extra@^11.2.0, fs-extra@^11.3.1: jsonfile "^6.0.1" universalify "^2.0.0" -fsevents@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - function-bind@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" @@ -860,13 +795,6 @@ github-from-package@0.0.0: resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" integrity sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw== -glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - gopd@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" @@ -877,11 +805,6 @@ graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== - has-symbols@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" @@ -939,11 +862,6 @@ ieee754@^1.1.13: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -ignore-by-default@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" - integrity sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA== - inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" @@ -972,13 +890,6 @@ is-arrayish@^0.3.1: resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - is-core-module@^2.16.0: version "2.16.1" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" @@ -986,28 +897,11 @@ is-core-module@^2.16.0: dependencies: hasown "^2.0.2" -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - is-promise@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3" @@ -1103,13 +997,6 @@ mimic-response@^3.1.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== -minimatch@^3.1.2: - version "3.1.5" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e" - integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w== - dependencies: - brace-expansion "^1.1.7" - minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.6: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" @@ -1189,27 +1076,6 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -nodemon@^3.1.10: - version "3.1.10" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-3.1.10.tgz#5015c5eb4fffcb24d98cf9454df14f4fecec9bc1" - integrity sha512-WDjw3pJ0/0jMFmyNDp3gvY2YizjLmmOUQo6DEBY+JgdvW/yQ9mEeSw6H5ythl5Ny2ytb7f9C2nIbjSxMNzbJXw== - dependencies: - chokidar "^3.5.2" - debug "^4" - ignore-by-default "^1.0.1" - minimatch "^3.1.2" - pstree.remy "^1.1.8" - semver "^7.5.3" - simple-update-notifier "^2.0.0" - supports-color "^5.5.0" - touch "^3.1.0" - undefsafe "^2.0.5" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - object-hash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" @@ -1271,11 +1137,6 @@ picocolors@^1.1.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== -picomatch@^2.0.4, picomatch@^2.2.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.2.tgz#5a942915e26b372dc0f0e6753149a16e6b1c5601" - integrity sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA== - picomatch@^4.0.2: version "4.0.4" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" @@ -1317,11 +1178,6 @@ proxy-addr@^2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" -pstree.remy@^1.1.8: - version "1.1.8" - resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" - integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== - pump@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.3.tgz#151d979f1a29668dc0025ec589a455b53282268d" @@ -1384,13 +1240,6 @@ readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0, readable string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -1441,7 +1290,7 @@ safe-stable-stringify@^2.3.1: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -semver@^7.3.5, semver@^7.5.3: +semver@^7.3.5: version "7.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== @@ -1539,13 +1388,6 @@ simple-swizzle@^0.2.2: dependencies: is-arrayish "^0.3.1" -simple-update-notifier@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz#d70b92bdab7d6d90dfd73931195a30b6e3d7cebb" - integrity sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w== - dependencies: - semver "^7.5.3" - stack-trace@0.0.x: version "0.0.10" resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" @@ -1603,13 +1445,6 @@ strip-json-comments@~2.0.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== -supports-color@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -1660,23 +1495,11 @@ tinyglobby@^0.2.11: fdir "^6.4.4" picomatch "^4.0.2" -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - toidentifier@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== -touch@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.1.tgz#097a23d7b161476435e5c1344a95c0f75b4a5694" - integrity sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA== - tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" @@ -1727,11 +1550,6 @@ typescript@~5.9.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.3.tgz#5b4f59e15310ab17a216f5d6cf53ee476ede670f" integrity sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw== -undefsafe@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" - integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA== - undici-types@~6.21.0: version "6.21.0" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" diff --git a/ui-ngx/esbuild/tb-html-fallback-middleware.ts b/ui-ngx/esbuild/tb-html-fallback-middleware.ts index 4692ccd35a..af72bfd223 100644 --- a/ui-ngx/esbuild/tb-html-fallback-middleware.ts +++ b/ui-ngx/esbuild/tb-html-fallback-middleware.ts @@ -2,9 +2,8 @@ // SPDX-License-Identifier: Apache-2.0 import type { ServerResponse } from 'node:http'; import type { Connect } from 'vite'; -import type { NextHandleFunction } from 'connect'; -const tbHtmlFallbackMiddleware: NextHandleFunction = ( +const tbHtmlFallbackMiddleware: Connect.NextHandleFunction = ( req: Connect.IncomingMessage, _res: ServerResponse, next: Connect.NextFunction diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 3731b111a5..7fc48ad156 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -31,14 +31,14 @@ "@iplab/ngx-color-picker": "^20.0.0", "@mat-datetimepicker/core": "~16.0.1", "@mdi/svg": "^7.4.47", - "@messageformat/core": "^3.4.0", + "@messageformat/core": "^3.4.1", "@ngrx/effects": "^20.1.0", "@ngrx/store": "^20.1.0", "@ngrx/store-devtools": "^20.1.0", "@ngx-translate/core": "^17.0.0", - "@svgdotjs/svg.filter.js": "^3.0.9", - "@svgdotjs/svg.js": "3.2.4", - "@svgdotjs/svg.panzoom.js": "^2.1.2", + "@svgdotjs/svg.filter.js": "^3.0.10", + "@svgdotjs/svg.js": "3.2.8", + "@svgdotjs/svg.panzoom.js": "^2.1.3", "ace-builds": "1.43.6", "ace-diff": "^3.3.0", "angular-gridster2": "~20.2.4", @@ -95,11 +95,10 @@ }, "devDependencies": { "@angular-builders/custom-esbuild": "20.0.0", - "@angular-devkit/build-angular": "20.3.38", - "@angular-devkit/core": "20.3.38", - "@angular-devkit/schematics": "20.3.38", - "@angular/build": "20.3.38", - "@angular/cli": "20.3.38", + "@angular-devkit/core": "20.3.40", + "@angular-devkit/schematics": "20.3.40", + "@angular/build": "20.3.40", + "@angular/cli": "20.3.40", "@angular/compiler-cli": "20.3.34", "@angular/language-service": "20.3.34", "@types/ace-diff": "^2.1.4", @@ -122,7 +121,7 @@ "angular-eslint": "~20.7.0", "autoprefixer": "^10.4.23", "directory-tree": "^3.5.2", - "eslint": "9.39.4", + "eslint": "9.39.5", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jsdoc": "^62.4.1", "eslint-plugin-prefer-arrow": "^1.2.3", @@ -140,8 +139,7 @@ "@babel/core": "7.29.7", "esbuild": "0.28.1", "rollup": "4.59.0", - "less": ">=4.9.0", "js-beautify/**/minimatch": "^9.0.7", - "@angular/cli/@modelcontextprotocol/sdk": "1.32.1" + "@modelcontextprotocol/sdk": "1.32.1" } } diff --git a/ui-ngx/patches/@angular+build+20.3.38.patch b/ui-ngx/patches/@angular+build+20.3.40.patch similarity index 100% rename from ui-ngx/patches/@angular+build+20.3.38.patch rename to ui-ngx/patches/@angular+build+20.3.40.patch diff --git a/ui-ngx/src/assets/locale/locale.constant-ro_RO.json b/ui-ngx/src/assets/locale/locale.constant-ro_RO.json index 1054b812a1..0730a65084 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ro_RO.json +++ b/ui-ngx/src/assets/locale/locale.constant-ro_RO.json @@ -1400,7 +1400,7 @@ "metadata-required": "Intrările metadata nu pot fi vide", "output": "Ieşire", "test": "Test", - "help": "Ajutor", + "help": "Ajutor" }, "tenant": { "tenant": "Locatar", diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 6ae6453723..abbc0e9a25 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -160,88 +160,18 @@ "@angular-devkit/core" "^20.0.0" "@angular/build" "^20.0.0" -"@angular-devkit/architect@0.2003.38", "@angular-devkit/architect@>= 0.2000.0 < 0.2100.0", "@angular-devkit/architect@>=0.2000.0 < 0.2100.0": - version "0.2003.38" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.2003.38.tgz#664ca34aab57f2c3ba6abd8f7b3345683cf4afda" - integrity sha512-zBEQdAbKSnH9mqOpZwWj/QNojsWwdq9UM9zTzvc93qMnS+4iN/3EfwExt+i11RQGc6KSmXXmrZ56DiMTAUuJtQ== +"@angular-devkit/architect@0.2003.40", "@angular-devkit/architect@>= 0.2000.0 < 0.2100.0", "@angular-devkit/architect@>=0.2000.0 < 0.2100.0": + version "0.2003.40" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.2003.40.tgz#e9d06cc8728241f1677865a9ccf1760548250ed0" + integrity sha512-8XPEUuwzyvaBzTO4e7DZskgDyLepfJI39/blAGzKqsob3NRlbtP/2+6lk9VgwkwuKF1KPJgmU1Sa67MB0qFNUA== dependencies: - "@angular-devkit/core" "20.3.38" + "@angular-devkit/core" "20.3.40" rxjs "7.8.2" -"@angular-devkit/build-angular@20.3.38": - version "20.3.38" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-20.3.38.tgz#1ab1edf5d64523c6347fb8b78e0b2a7e624632ae" - integrity sha512-g8T2cGijVwCHb5sEJ7XiYrmWWYJOOK+Gt1mzH7NC5bmr8Mu3by7pxGHv+xGgXLmMH0tzsU9a+bCGfWFH7fIgIA== - dependencies: - "@ampproject/remapping" "2.3.0" - "@angular-devkit/architect" "0.2003.38" - "@angular-devkit/build-webpack" "0.2003.38" - "@angular-devkit/core" "20.3.38" - "@angular/build" "20.3.38" - "@babel/core" "7.29.7" - "@babel/generator" "7.28.3" - "@babel/helper-annotate-as-pure" "7.27.3" - "@babel/helper-split-export-declaration" "7.24.7" - "@babel/plugin-transform-async-generator-functions" "7.28.0" - "@babel/plugin-transform-async-to-generator" "7.27.1" - "@babel/plugin-transform-runtime" "7.28.3" - "@babel/preset-env" "7.28.3" - "@babel/runtime" "7.28.3" - "@discoveryjs/json-ext" "0.6.3" - "@ngtools/webpack" "20.3.38" - ansi-colors "4.1.3" - autoprefixer "10.4.21" - babel-loader "10.0.0" - browserslist "^4.21.5" - copy-webpack-plugin "14.0.0" - css-loader "7.1.2" - esbuild-wasm "0.28.1" - fast-glob "3.3.3" - http-proxy-middleware "3.0.7" - istanbul-lib-instrument "6.0.3" - jsonc-parser "3.3.1" - karma-source-map-support "1.4.0" - less "4.9.0" - less-loader "12.3.0" - license-webpack-plugin "4.0.2" - loader-utils "3.3.1" - mini-css-extract-plugin "2.9.4" - open "10.2.0" - ora "8.2.0" - picomatch "4.0.4" - piscina "5.3.2" - postcss "8.5.23" - postcss-loader "8.1.1" - resolve-url-loader "5.0.0" - rxjs "7.8.2" - sass "1.90.0" - sass-loader "16.0.5" - semver "7.7.2" - source-map-loader "5.0.0" - source-map-support "0.5.21" - terser "5.43.1" - tree-kill "1.2.2" - tslib "2.8.1" - webpack "5.105.0" - webpack-dev-middleware "7.4.2" - webpack-dev-server "5.2.6" - webpack-merge "6.0.1" - webpack-subresource-integrity "5.1.0" - optionalDependencies: - esbuild "0.28.1" - -"@angular-devkit/build-webpack@0.2003.38": - version "0.2003.38" - resolved "https://registry.yarnpkg.com/@angular-devkit/build-webpack/-/build-webpack-0.2003.38.tgz#921fda33efd7256dd2e091dfbc3e93d5819f82cb" - integrity sha512-mCtjY1XB3uXa/9mO5mYLqpsQJNwNfhxd6oNB9DRiMhUmGffauQtplOSuACm6mbuNg6TPc9jvLCdbMJW6KAJcWg== - dependencies: - "@angular-devkit/architect" "0.2003.38" - rxjs "7.8.2" - -"@angular-devkit/core@20.3.38", "@angular-devkit/core@>= 20.0.0 < 21.0.0", "@angular-devkit/core@^20.0.0": - version "20.3.38" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-20.3.38.tgz#2b304416ea48e8e12251faae48613162058bca92" - integrity sha512-hQq4AI9unFacN+CJx9ziGnZOqd1YkjmnEREipcFtIiWh66pTd7PFYj3Gp7fihLR39TBgUmd3MhNnZcK1yVhMKg== +"@angular-devkit/core@20.3.40", "@angular-devkit/core@>= 20.0.0 < 21.0.0", "@angular-devkit/core@^20.0.0": + version "20.3.40" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-20.3.40.tgz#8186dd58e5d0e71ad93e72eca943dacdb4d97fc3" + integrity sha512-H7A7p3hP4/6rZmZGrjyipWMFMMW1iWILxAizfGNUEef2ymMIs7uX/uuCdL4BP1vDF8MorLCgeCChLJ2QZuv8UQ== dependencies: ajv "8.18.0" ajv-formats "3.0.1" @@ -250,12 +180,12 @@ rxjs "7.8.2" source-map "0.7.6" -"@angular-devkit/schematics@20.3.38", "@angular-devkit/schematics@>= 20.0.0 < 21.0.0": - version "20.3.38" - resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-20.3.38.tgz#bb0fa3548386c98840810a7ab37ba65b6d1b96e2" - integrity sha512-LZQAFPHavIXAi6fx7gxjsgEPy+E+A7z0/Ha0X4OcucBW+nYICCqR6NpTWi6VaxXDZNkCKmSK/UyKR3NNU8mHYw== +"@angular-devkit/schematics@20.3.40", "@angular-devkit/schematics@>= 20.0.0 < 21.0.0": + version "20.3.40" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-20.3.40.tgz#5aef43cac0ac19f3b338d6b08f3cedbf2ef97cdf" + integrity sha512-mGWSkJStNLsLhy+FRxqKHkF7drSfkxrL82/UbQ+aizLHnbUZrir6PPToUmm6xRxKZcwbZegi4jjlyive0/nJcQ== dependencies: - "@angular-devkit/core" "20.3.38" + "@angular-devkit/core" "20.3.40" jsonc-parser "3.3.1" magic-string "0.30.17" ora "8.2.0" @@ -328,13 +258,13 @@ dependencies: tslib "^2.3.0" -"@angular/build@20.3.38", "@angular/build@^20.0.0": - version "20.3.38" - resolved "https://registry.yarnpkg.com/@angular/build/-/build-20.3.38.tgz#717553c68eaf0d6267e39d93b923bc55cbab5e8c" - integrity sha512-q+ZWxKmiv9borXEgdTm9yh8UsNrBVWBPyPr43dj/uBo+BRbr20RuIraZSMVx0zyR3W1xii3MJgIuKNhKu+WxmQ== +"@angular/build@20.3.40", "@angular/build@^20.0.0": + version "20.3.40" + resolved "https://registry.yarnpkg.com/@angular/build/-/build-20.3.40.tgz#777619c9ad8db033197f1eae9f4e01dd48f4fc6e" + integrity sha512-lFa1DVul9/VncuoZgmhEij86jdPC77/mX5QrTB5OPFwQeBrlK1FRwEh46hrtdsW5qnVVMAf+wx5+B/N7FuvcKw== dependencies: "@ampproject/remapping" "2.3.0" - "@angular-devkit/architect" "0.2003.38" + "@angular-devkit/architect" "0.2003.40" "@babel/core" "7.29.7" "@babel/helper-annotate-as-pure" "7.27.3" "@babel/helper-split-export-declaration" "7.24.7" @@ -370,18 +300,18 @@ parse5 "^8.0.0" tslib "^2.3.0" -"@angular/cli@20.3.38": - version "20.3.38" - resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-20.3.38.tgz#075b75ca47d46b754e160cacc28e73868ef5850f" - integrity sha512-4CsE0X9e0LMgmTyhryi11LjXOmAehOw2FzyP+VuWsxn0HT5JuJBV/5P97iwCbjoldBxlUeMEKrczBmviLV1ggA== +"@angular/cli@20.3.40": + version "20.3.40" + resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-20.3.40.tgz#b7cf6428e6ade35aa2ffe7d331387c42dd641c1a" + integrity sha512-Gca1MtSCJiZdzXM/nmXBe6rmv0IauG8x2jO4GMPcpQvqscdGGm5EUWT4fduC/k/uWXHHewr3aOHwFDimtHaPPw== dependencies: - "@angular-devkit/architect" "0.2003.38" - "@angular-devkit/core" "20.3.38" - "@angular-devkit/schematics" "20.3.38" + "@angular-devkit/architect" "0.2003.40" + "@angular-devkit/core" "20.3.40" + "@angular-devkit/schematics" "20.3.40" "@inquirer/prompts" "7.8.2" "@listr2/prompt-adapter-inquirer" "3.0.1" - "@modelcontextprotocol/sdk" "1.30.0" - "@schematics/angular" "20.3.38" + "@modelcontextprotocol/sdk" "1.31.0" + "@schematics/angular" "20.3.40" "@yarnpkg/lockfile" "1.1.0" algoliasearch "5.35.0" ini "5.0.0" @@ -392,7 +322,7 @@ resolve "1.22.10" semver "7.7.2" yargs "18.0.0" - zod "4.1.13" + zod "4.6.6" "@angular/common@20.3.34": version "20.3.34" @@ -484,7 +414,7 @@ dependencies: tslib "^2.0.0" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.29.7": +"@babel/code-frame@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.29.7.tgz#f2fbbfea87c44a21590ec515b778b2c26d8866e7" integrity sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw== @@ -493,7 +423,7 @@ js-tokens "^4.0.0" picocolors "^1.1.1" -"@babel/compat-data@^7.27.7", "@babel/compat-data@^7.28.0", "@babel/compat-data@^7.29.7": +"@babel/compat-data@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.29.7.tgz#6f0237f0f36d2e51c0570a636faed9d2d0efe629" integrity sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg== @@ -519,17 +449,6 @@ json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@7.28.3": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.3.tgz#9626c1741c650cbac39121694a0f2d7451b8ef3e" - integrity sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw== - dependencies: - "@babel/parser" "^7.28.3" - "@babel/types" "^7.28.2" - "@jridgewell/gen-mapping" "^0.3.12" - "@jridgewell/trace-mapping" "^0.3.28" - jsesc "^3.0.2" - "@babel/generator@^7.29.7", "@babel/generator@^7.29.8": version "7.29.8" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.8.tgz#4b0b887885422643339e09022148a4c4ebaa4979" @@ -541,14 +460,14 @@ "@jridgewell/trace-mapping" "^0.3.28" jsesc "^3.0.2" -"@babel/helper-annotate-as-pure@7.27.3", "@babel/helper-annotate-as-pure@^7.27.1", "@babel/helper-annotate-as-pure@^7.27.3": +"@babel/helper-annotate-as-pure@7.27.3": version "7.27.3" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz#f31fd86b915fc4daf1f3ac6976c59be7084ed9c5" integrity sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg== dependencies: "@babel/types" "^7.27.3" -"@babel/helper-compilation-targets@^7.27.1", "@babel/helper-compilation-targets@^7.27.2", "@babel/helper-compilation-targets@^7.28.6", "@babel/helper-compilation-targets@^7.29.7": +"@babel/helper-compilation-targets@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz#7a1def704302401c47f64fa85589e974ae217042" integrity sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g== @@ -559,53 +478,12 @@ lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-create-class-features-plugin@^7.28.6": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.6.tgz#611ff5482da9ef0db6291bcd24303400bca170fb" - integrity sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow== - dependencies: - "@babel/helper-annotate-as-pure" "^7.27.3" - "@babel/helper-member-expression-to-functions" "^7.28.5" - "@babel/helper-optimise-call-expression" "^7.27.1" - "@babel/helper-replace-supers" "^7.28.6" - "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" - "@babel/traverse" "^7.28.6" - semver "^6.3.1" - -"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.27.1", "@babel/helper-create-regexp-features-plugin@^7.28.5": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.28.5.tgz#7c1ddd64b2065c7f78034b25b43346a7e19ed997" - integrity sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.27.3" - regexpu-core "^6.3.1" - semver "^6.3.1" - -"@babel/helper-define-polyfill-provider@^0.6.5": - version "0.6.5" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.5.tgz#742ccf1cb003c07b48859fc9fa2c1bbe40e5f753" - integrity sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg== - dependencies: - "@babel/helper-compilation-targets" "^7.27.2" - "@babel/helper-plugin-utils" "^7.27.1" - debug "^4.4.1" - lodash.debounce "^4.0.8" - resolve "^1.22.10" - -"@babel/helper-globals@^7.28.0", "@babel/helper-globals@^7.29.7": +"@babel/helper-globals@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.29.7.tgz#f04a96fbd8473241b1079243f5b3f03a3010ab7b" integrity sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA== -"@babel/helper-member-expression-to-functions@^7.28.5": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz#f3e07a10be37ed7a63461c63e6929575945a6150" - integrity sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg== - dependencies: - "@babel/traverse" "^7.28.5" - "@babel/types" "^7.28.5" - -"@babel/helper-module-imports@^7.27.1", "@babel/helper-module-imports@^7.28.6", "@babel/helper-module-imports@^7.29.7": +"@babel/helper-module-imports@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz#ef25048a518e828d7393fac5882ddd73921d7396" integrity sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g== @@ -613,7 +491,7 @@ "@babel/traverse" "^7.29.7" "@babel/types" "^7.29.7" -"@babel/helper-module-transforms@^7.27.1", "@babel/helper-module-transforms@^7.28.6", "@babel/helper-module-transforms@^7.29.7": +"@babel/helper-module-transforms@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz#b062747a5997ba138637201328bbff77960574ae" integrity sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg== @@ -622,44 +500,6 @@ "@babel/helper-validator-identifier" "^7.29.7" "@babel/traverse" "^7.29.7" -"@babel/helper-optimise-call-expression@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz#c65221b61a643f3e62705e5dd2b5f115e35f9200" - integrity sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw== - dependencies: - "@babel/types" "^7.27.1" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.27.1", "@babel/helper-plugin-utils@^7.28.6": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz#6f13ea251b68c8532e985fd532f28741a8af9ac8" - integrity sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug== - -"@babel/helper-remap-async-to-generator@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.27.1.tgz#4601d5c7ce2eb2aea58328d43725523fcd362ce6" - integrity sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.27.1" - "@babel/helper-wrap-function" "^7.27.1" - "@babel/traverse" "^7.27.1" - -"@babel/helper-replace-supers@^7.27.1", "@babel/helper-replace-supers@^7.28.6": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.28.6.tgz#94aa9a1d7423a00aead3f204f78834ce7d53fe44" - integrity sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg== - dependencies: - "@babel/helper-member-expression-to-functions" "^7.28.5" - "@babel/helper-optimise-call-expression" "^7.27.1" - "@babel/traverse" "^7.28.6" - -"@babel/helper-skip-transparent-expression-wrappers@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz#62bb91b3abba8c7f1fec0252d9dbea11b3ee7a56" - integrity sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg== - dependencies: - "@babel/traverse" "^7.27.1" - "@babel/types" "^7.27.1" - "@babel/helper-split-export-declaration@7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz#83949436890e07fa3d6873c61a96e3bbf692d856" @@ -672,25 +512,16 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz#7f0871d99824d23137d60f86fcf6130fd5a1b51f" integrity sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw== -"@babel/helper-validator-identifier@^7.28.5", "@babel/helper-validator-identifier@^7.29.7": +"@babel/helper-validator-identifier@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz#bd87084ced0c796ec46bda492de6e83d29e89fc2" integrity sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg== -"@babel/helper-validator-option@^7.27.1", "@babel/helper-validator-option@^7.29.7": +"@babel/helper-validator-option@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz#cf315be940213b354eb4abcc0bd01ebe3f73bc2a" integrity sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw== -"@babel/helper-wrap-function@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.28.6.tgz#4e349ff9222dab69a93a019cc296cdd8442e279a" - integrity sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ== - dependencies: - "@babel/template" "^7.28.6" - "@babel/traverse" "^7.28.6" - "@babel/types" "^7.28.6" - "@babel/helpers@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.29.7.tgz#45abfde7548997e34376c3e69feb475cffb4a607" @@ -699,597 +530,14 @@ "@babel/template" "^7.29.7" "@babel/types" "^7.29.7" -"@babel/parser@^7.23.9", "@babel/parser@^7.28.3", "@babel/parser@^7.29.7", "@babel/parser@^7.29.8": +"@babel/parser@^7.23.9", "@babel/parser@^7.29.7", "@babel/parser@^7.29.8": version "7.29.8" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.8.tgz#9653716a2f10c677b98fbc63d4bfb000c302cf17" integrity sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA== dependencies: "@babel/types" "^7.29.8" -"@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.27.1": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.28.5.tgz#fbde57974707bbfa0376d34d425ff4fa6c732421" - integrity sha512-87GDMS3tsmMSi/3bWOte1UblL+YUTFMV8SZPZ2eSEL17s74Cw/l63rR6NmGVKMYW2GYi85nE+/d6Hw5N0bEk2Q== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - "@babel/traverse" "^7.28.5" - -"@babel/plugin-bugfix-safari-class-field-initializer-scope@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.27.1.tgz#43f70a6d7efd52370eefbdf55ae03d91b293856d" - integrity sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.27.1.tgz#beb623bd573b8b6f3047bd04c32506adc3e58a72" - integrity sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.27.1.tgz#e134a5479eb2ba9c02714e8c1ebf1ec9076124fd" - integrity sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" - "@babel/plugin-transform-optional-chaining" "^7.27.1" - -"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.28.3": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.28.6.tgz#0e8289cec28baaf05d54fd08d81ae3676065f69f" - integrity sha512-a0aBScVTlNaiUe35UtfxAN7A/tehvvG4/ByO6+46VPKTRSlfnAFsgKy0FUh+qAkQrDTmhDkT+IBOKlOoMUxQ0g== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/traverse" "^7.28.6" - -"@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2": - version "7.21.0-placeholder-for-preset-env.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz#7844f9289546efa9febac2de4cfe358a050bd703" - integrity sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w== - -"@babel/plugin-syntax-import-assertions@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.28.6.tgz#ae9bc1923a6ba527b70104dd2191b0cd872c8507" - integrity sha512-pSJUpFHdx9z5nqTSirOCMtYVP2wFgoWhP0p3g8ONK/4IHhLIBd0B9NYqAvIUAhq+OkhO4VM1tENCt0cjlsNShw== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-syntax-import-attributes@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.28.6.tgz#b71d5914665f60124e133696f17cd7669062c503" - integrity sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-syntax-unicode-sets-regex@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz#d49a3b3e6b52e5be6740022317580234a6a47357" - integrity sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-arrow-functions@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.27.1.tgz#6e2061067ba3ab0266d834a9f94811196f2aba9a" - integrity sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-async-generator-functions@7.28.0": - version "7.28.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.28.0.tgz#1276e6c7285ab2cd1eccb0bc7356b7a69ff842c2" - integrity sha512-BEOdvX4+M765icNPZeidyADIvQ1m1gmunXufXxvRESy/jNNyfovIqUyE7MVgGBjWktCoJlzvFA1To2O4ymIO3Q== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - "@babel/helper-remap-async-to-generator" "^7.27.1" - "@babel/traverse" "^7.28.0" - -"@babel/plugin-transform-async-generator-functions@^7.28.0": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.28.6.tgz#80cb86d3eaa2102e18ae90dd05ab87bdcad3877d" - integrity sha512-9knsChgsMzBV5Yh3kkhrZNxH3oCYAfMBkNNaVN4cP2RVlFPe8wYdwwcnOsAbkdDoV9UjFtOXWrWB52M8W4jNeA== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/helper-remap-async-to-generator" "^7.27.1" - "@babel/traverse" "^7.28.6" - -"@babel/plugin-transform-async-to-generator@7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.27.1.tgz#9a93893b9379b39466c74474f55af03de78c66e7" - integrity sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA== - dependencies: - "@babel/helper-module-imports" "^7.27.1" - "@babel/helper-plugin-utils" "^7.27.1" - "@babel/helper-remap-async-to-generator" "^7.27.1" - -"@babel/plugin-transform-async-to-generator@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.28.6.tgz#bd97b42237b2d1bc90d74bcb486c39be5b4d7e77" - integrity sha512-ilTRcmbuXjsMmcZ3HASTe4caH5Tpo93PkTxF9oG2VZsSWsahydmcEHhix9Ik122RcTnZnUzPbmux4wh1swfv7g== - dependencies: - "@babel/helper-module-imports" "^7.28.6" - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/helper-remap-async-to-generator" "^7.27.1" - -"@babel/plugin-transform-block-scoped-functions@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.27.1.tgz#558a9d6e24cf72802dd3b62a4b51e0d62c0f57f9" - integrity sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-block-scoping@^7.28.0": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.6.tgz#e1ef5633448c24e76346125c2534eeb359699a99" - integrity sha512-tt/7wOtBmwHPNMPu7ax4pdPz6shjFrmHDghvNC+FG9Qvj7D6mJcoRQIF5dy4njmxR941l6rgtvfSB2zX3VlUIw== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-class-properties@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.28.6.tgz#d274a4478b6e782d9ea987fda09bdb6d28d66b72" - integrity sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.28.6" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-class-static-block@^7.28.3": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.6.tgz#1257491e8259c6d125ac4d9a6f39f9d2bf3dba70" - integrity sha512-rfQ++ghVwTWTqQ7w8qyDxL1XGihjBss4CmTgGRCTAC9RIbhVpyp4fOeZtta0Lbf+dTNIVJer6ych2ibHwkZqsQ== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.28.6" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-classes@^7.28.3": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.6.tgz#8f6fb79ba3703978e701ce2a97e373aae7dda4b7" - integrity sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q== - dependencies: - "@babel/helper-annotate-as-pure" "^7.27.3" - "@babel/helper-compilation-targets" "^7.28.6" - "@babel/helper-globals" "^7.28.0" - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/helper-replace-supers" "^7.28.6" - "@babel/traverse" "^7.28.6" - -"@babel/plugin-transform-computed-properties@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.28.6.tgz#936824fc71c26cb5c433485776d79c8e7b0202d2" - integrity sha512-bcc3k0ijhHbc2lEfpFHgx7eYw9KNXqOerKWfzbxEHUGKnS3sz9C4CNL9OiFN1297bDNfUiSO7DaLzbvHQQQ1BQ== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/template" "^7.28.6" - -"@babel/plugin-transform-destructuring@^7.28.0", "@babel/plugin-transform-destructuring@^7.28.5": - version "7.28.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.28.5.tgz#b8402764df96179a2070bb7b501a1586cf8ad7a7" - integrity sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - "@babel/traverse" "^7.28.5" - -"@babel/plugin-transform-dotall-regex@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.28.6.tgz#def31ed84e0fb6e25c71e53c124e7b76a4ab8e61" - integrity sha512-SljjowuNKB7q5Oayv4FoPzeB74g3QgLt8IVJw9ADvWy3QnUb/01aw8I4AVv8wYnPvQz2GDDZ/g3GhcNyDBI4Bg== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.28.5" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-duplicate-keys@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.27.1.tgz#f1fbf628ece18e12e7b32b175940e68358f546d1" - integrity sha512-MTyJk98sHvSs+cvZ4nOauwTTG1JeonDjSGvGGUNHreGQns+Mpt6WX/dVzWBHgg+dYZhkC4X+zTDfkTU+Vy9y7Q== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-duplicate-named-capturing-groups-regex@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.28.6.tgz#e0c59ba54f1655dd682f2edf5f101b5910a8f6f3" - integrity sha512-5suVoXjC14lUN6ZL9OLKIHCNVWCrqGqlmEp/ixdXjvgnEl/kauLvvMO/Xw9NyMc95Joj1AeLVPVMvibBgSoFlA== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.28.5" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-dynamic-import@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.27.1.tgz#4c78f35552ac0e06aa1f6e3c573d67695e8af5a4" - integrity sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-explicit-resource-management@^7.28.0": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.28.6.tgz#dd6788f982c8b77e86779d1d029591e39d9d8be7" - integrity sha512-Iao5Konzx2b6g7EPqTy40UZbcdXE126tTxVFr/nAIj+WItNxjKSYTEw3RC+A2/ZetmdJsgueL1KhaMCQHkLPIg== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/plugin-transform-destructuring" "^7.28.5" - -"@babel/plugin-transform-exponentiation-operator@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.28.6.tgz#5e477eb7eafaf2ab5537a04aaafcf37e2d7f1091" - integrity sha512-WitabqiGjV/vJ0aPOLSFfNY1u9U3R7W36B03r5I2KoNix+a3sOhJ3pKFB3R5It9/UiK78NiO0KE9P21cMhlPkw== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-export-namespace-from@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.27.1.tgz#71ca69d3471edd6daa711cf4dfc3400415df9c23" - integrity sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-for-of@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.27.1.tgz#bc24f7080e9ff721b63a70ac7b2564ca15b6c40a" - integrity sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" - -"@babel/plugin-transform-function-name@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.27.1.tgz#4d0bf307720e4dce6d7c30fcb1fd6ca77bdeb3a7" - integrity sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ== - dependencies: - "@babel/helper-compilation-targets" "^7.27.1" - "@babel/helper-plugin-utils" "^7.27.1" - "@babel/traverse" "^7.27.1" - -"@babel/plugin-transform-json-strings@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.28.6.tgz#4c8c15b2dc49e285d110a4cf3dac52fd2dfc3038" - integrity sha512-Nr+hEN+0geQkzhbdgQVPoqr47lZbm+5fCUmO70722xJZd0Mvb59+33QLImGj6F+DkK3xgDi1YVysP8whD6FQAw== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-literals@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.27.1.tgz#baaefa4d10a1d4206f9dcdda50d7d5827bb70b24" - integrity sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-logical-assignment-operators@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.6.tgz#53028a3d77e33c50ef30a8fce5ca17065936e605" - integrity sha512-+anKKair6gpi8VsM/95kmomGNMD0eLz1NQ8+Pfw5sAwWH9fGYXT50E55ZpV0pHUHWf6IUTWPM+f/7AAff+wr9A== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-member-expression-literals@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.27.1.tgz#37b88ba594d852418e99536f5612f795f23aeaf9" - integrity sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-modules-amd@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.27.1.tgz#a4145f9d87c2291fe2d05f994b65dba4e3e7196f" - integrity sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA== - dependencies: - "@babel/helper-module-transforms" "^7.27.1" - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-modules-commonjs@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.28.6.tgz#c0232e0dfe66a734cc4ad0d5e75fc3321b6fdef1" - integrity sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA== - dependencies: - "@babel/helper-module-transforms" "^7.28.6" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-modules-systemjs@^7.27.1": - version "7.29.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.4.tgz#f621105da99919c15cf4bde6fcc7346ef95e7b20" - integrity sha512-N7QmZ0xRZfjHOfZeQLJjwgX2zS9pdGHSVl/cjSGlo4dXMqvurfxXDMKY4RqEKzPozV78VMcd0lxyG13mlbKc4w== - dependencies: - "@babel/helper-module-transforms" "^7.28.6" - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/helper-validator-identifier" "^7.28.5" - "@babel/traverse" "^7.29.0" - -"@babel/plugin-transform-modules-umd@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.27.1.tgz#63f2cf4f6dc15debc12f694e44714863d34cd334" - integrity sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w== - dependencies: - "@babel/helper-module-transforms" "^7.27.1" - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-named-capturing-groups-regex@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.27.1.tgz#f32b8f7818d8fc0cc46ee20a8ef75f071af976e1" - integrity sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.27.1" - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-new-target@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.27.1.tgz#259c43939728cad1706ac17351b7e6a7bea1abeb" - integrity sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-nullish-coalescing-operator@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.28.6.tgz#9bc62096e90ab7a887f3ca9c469f6adec5679757" - integrity sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-numeric-separator@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.28.6.tgz#1310b0292762e7a4a335df5f580c3320ee7d9e9f" - integrity sha512-SJR8hPynj8outz+SlStQSwvziMN4+Bq99it4tMIf5/Caq+3iOc0JtKyse8puvyXkk3eFRIA5ID/XfunGgO5i6w== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-object-rest-spread@^7.28.0": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.6.tgz#fdd4bc2d72480db6ca42aed5c051f148d7b067f7" - integrity sha512-5rh+JR4JBC4pGkXLAcYdLHZjXudVxWMXbB6u6+E9lRL5TrGVbHt1TjxGbZ8CkmYw9zjkB7jutzOROArsqtncEA== - dependencies: - "@babel/helper-compilation-targets" "^7.28.6" - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/plugin-transform-destructuring" "^7.28.5" - "@babel/plugin-transform-parameters" "^7.27.7" - "@babel/traverse" "^7.28.6" - -"@babel/plugin-transform-object-super@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.27.1.tgz#1c932cd27bf3874c43a5cac4f43ebf970c9871b5" - integrity sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - "@babel/helper-replace-supers" "^7.27.1" - -"@babel/plugin-transform-optional-catch-binding@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.28.6.tgz#75107be14c78385978201a49c86414a150a20b4c" - integrity sha512-R8ja/Pyrv0OGAvAXQhSTmWyPJPml+0TMqXlO5w+AsMEiwb2fg3WkOvob7UxFSL3OIttFSGSRFKQsOhJ/X6HQdQ== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-optional-chaining@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.6.tgz#926cf150bd421fc8362753e911b4a1b1ce4356cd" - integrity sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" - -"@babel/plugin-transform-parameters@^7.27.7": - version "7.27.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.27.7.tgz#1fd2febb7c74e7d21cf3b05f7aebc907940af53a" - integrity sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-private-methods@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.28.6.tgz#c76fbfef3b86c775db7f7c106fff544610bdb411" - integrity sha512-piiuapX9CRv7+0st8lmuUlRSmX6mBcVeNQ1b4AYzJxfCMuBfB0vBXDiGSmm03pKJw1v6cZ8KSeM+oUnM6yAExg== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.28.6" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-private-property-in-object@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.28.6.tgz#4fafef1e13129d79f1d75ac180c52aafefdb2811" - integrity sha512-b97jvNSOb5+ehyQmBpmhOCiUC5oVK4PMnpRvO7+ymFBoqYjeDHIU9jnrNUuwHOiL9RpGDoKBpSViarV+BU+eVA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.27.3" - "@babel/helper-create-class-features-plugin" "^7.28.6" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-property-literals@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.27.1.tgz#07eafd618800591e88073a0af1b940d9a42c6424" - integrity sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-regenerator@^7.28.3": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.28.6.tgz#6ca2ed5b76cff87980f96eaacfc2ce833e8e7a1b" - integrity sha512-eZhoEZHYQLL5uc1gS5e9/oTknS0sSSAtd5TkKMUp3J+S/CaUjagc0kOUPsEbDmMeva0nC3WWl4SxVY6+OBuxfw== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-regexp-modifiers@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.28.6.tgz#7ef0163bd8b4a610481b2509c58cf217f065290b" - integrity sha512-QGWAepm9qxpaIs7UM9FvUSnCGlb8Ua1RhyM4/veAxLwt3gMat/LSGrZixyuj4I6+Kn9iwvqCyPTtbdxanYoWYg== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.28.5" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-reserved-words@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.27.1.tgz#40fba4878ccbd1c56605a4479a3a891ac0274bb4" - integrity sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-runtime@7.28.3": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.28.3.tgz#f5990a1b2d2bde950ed493915e0719841c8d0eaa" - integrity sha512-Y6ab1kGqZ0u42Zv/4a7l0l72n9DKP/MKoKWaUSBylrhNZO2prYuqFOLbn5aW5SIFXwSH93yfjbgllL8lxuGKLg== - dependencies: - "@babel/helper-module-imports" "^7.27.1" - "@babel/helper-plugin-utils" "^7.27.1" - babel-plugin-polyfill-corejs2 "^0.4.14" - babel-plugin-polyfill-corejs3 "^0.13.0" - babel-plugin-polyfill-regenerator "^0.6.5" - semver "^6.3.1" - -"@babel/plugin-transform-shorthand-properties@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.27.1.tgz#532abdacdec87bfee1e0ef8e2fcdee543fe32b90" - integrity sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-spread@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.28.6.tgz#40a2b423f6db7b70f043ad027a58bcb44a9757b6" - integrity sha512-9U4QObUC0FtJl05AsUcodau/RWDytrU6uKgkxu09mLR9HLDAtUMoPuuskm5huQsoktmsYpI+bGmq+iapDcriKA== - dependencies: - "@babel/helper-plugin-utils" "^7.28.6" - "@babel/helper-skip-transparent-expression-wrappers" "^7.27.1" - -"@babel/plugin-transform-sticky-regex@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.27.1.tgz#18984935d9d2296843a491d78a014939f7dcd280" - integrity sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-template-literals@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.27.1.tgz#1a0eb35d8bb3e6efc06c9fd40eb0bcef548328b8" - integrity sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-typeof-symbol@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.27.1.tgz#70e966bb492e03509cf37eafa6dcc3051f844369" - integrity sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-unicode-escapes@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.27.1.tgz#3e3143f8438aef842de28816ece58780190cf806" - integrity sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg== - dependencies: - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-unicode-property-regex@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.28.6.tgz#63a7a6c21a0e75dae9b1861454111ea5caa22821" - integrity sha512-4Wlbdl/sIZjzi/8St0evF0gEZrgOswVO6aOzqxh1kDZOl9WmLrHq2HtGhnOJZmHZYKP8WZ1MDLCt5DAWwRo57A== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.28.5" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/plugin-transform-unicode-regex@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.27.1.tgz#25948f5c395db15f609028e370667ed8bae9af97" - integrity sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.27.1" - "@babel/helper-plugin-utils" "^7.27.1" - -"@babel/plugin-transform-unicode-sets-regex@^7.27.1": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.28.6.tgz#924912914e5df9fe615ec472f88ff4788ce04d4e" - integrity sha512-/wHc/paTUmsDYN7SZkpWxogTOBNnlx7nBQYfy6JJlCT7G3mVhltk3e++N7zV0XfgGsrqBxd4rJQt9H16I21Y1Q== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.28.5" - "@babel/helper-plugin-utils" "^7.28.6" - -"@babel/preset-env@7.28.3": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.28.3.tgz#2b18d9aff9e69643789057ae4b942b1654f88187" - integrity sha512-ROiDcM+GbYVPYBOeCR6uBXKkQpBExLl8k9HO1ygXEyds39j+vCCsjmj7S8GOniZQlEs81QlkdJZe76IpLSiqpg== - dependencies: - "@babel/compat-data" "^7.28.0" - "@babel/helper-compilation-targets" "^7.27.2" - "@babel/helper-plugin-utils" "^7.27.1" - "@babel/helper-validator-option" "^7.27.1" - "@babel/plugin-bugfix-firefox-class-in-computed-class-key" "^7.27.1" - "@babel/plugin-bugfix-safari-class-field-initializer-scope" "^7.27.1" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.27.1" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.27.1" - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.28.3" - "@babel/plugin-proposal-private-property-in-object" "7.21.0-placeholder-for-preset-env.2" - "@babel/plugin-syntax-import-assertions" "^7.27.1" - "@babel/plugin-syntax-import-attributes" "^7.27.1" - "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" - "@babel/plugin-transform-arrow-functions" "^7.27.1" - "@babel/plugin-transform-async-generator-functions" "^7.28.0" - "@babel/plugin-transform-async-to-generator" "^7.27.1" - "@babel/plugin-transform-block-scoped-functions" "^7.27.1" - "@babel/plugin-transform-block-scoping" "^7.28.0" - "@babel/plugin-transform-class-properties" "^7.27.1" - "@babel/plugin-transform-class-static-block" "^7.28.3" - "@babel/plugin-transform-classes" "^7.28.3" - "@babel/plugin-transform-computed-properties" "^7.27.1" - "@babel/plugin-transform-destructuring" "^7.28.0" - "@babel/plugin-transform-dotall-regex" "^7.27.1" - "@babel/plugin-transform-duplicate-keys" "^7.27.1" - "@babel/plugin-transform-duplicate-named-capturing-groups-regex" "^7.27.1" - "@babel/plugin-transform-dynamic-import" "^7.27.1" - "@babel/plugin-transform-explicit-resource-management" "^7.28.0" - "@babel/plugin-transform-exponentiation-operator" "^7.27.1" - "@babel/plugin-transform-export-namespace-from" "^7.27.1" - "@babel/plugin-transform-for-of" "^7.27.1" - "@babel/plugin-transform-function-name" "^7.27.1" - "@babel/plugin-transform-json-strings" "^7.27.1" - "@babel/plugin-transform-literals" "^7.27.1" - "@babel/plugin-transform-logical-assignment-operators" "^7.27.1" - "@babel/plugin-transform-member-expression-literals" "^7.27.1" - "@babel/plugin-transform-modules-amd" "^7.27.1" - "@babel/plugin-transform-modules-commonjs" "^7.27.1" - "@babel/plugin-transform-modules-systemjs" "^7.27.1" - "@babel/plugin-transform-modules-umd" "^7.27.1" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.27.1" - "@babel/plugin-transform-new-target" "^7.27.1" - "@babel/plugin-transform-nullish-coalescing-operator" "^7.27.1" - "@babel/plugin-transform-numeric-separator" "^7.27.1" - "@babel/plugin-transform-object-rest-spread" "^7.28.0" - "@babel/plugin-transform-object-super" "^7.27.1" - "@babel/plugin-transform-optional-catch-binding" "^7.27.1" - "@babel/plugin-transform-optional-chaining" "^7.27.1" - "@babel/plugin-transform-parameters" "^7.27.7" - "@babel/plugin-transform-private-methods" "^7.27.1" - "@babel/plugin-transform-private-property-in-object" "^7.27.1" - "@babel/plugin-transform-property-literals" "^7.27.1" - "@babel/plugin-transform-regenerator" "^7.28.3" - "@babel/plugin-transform-regexp-modifiers" "^7.27.1" - "@babel/plugin-transform-reserved-words" "^7.27.1" - "@babel/plugin-transform-shorthand-properties" "^7.27.1" - "@babel/plugin-transform-spread" "^7.27.1" - "@babel/plugin-transform-sticky-regex" "^7.27.1" - "@babel/plugin-transform-template-literals" "^7.27.1" - "@babel/plugin-transform-typeof-symbol" "^7.27.1" - "@babel/plugin-transform-unicode-escapes" "^7.27.1" - "@babel/plugin-transform-unicode-property-regex" "^7.27.1" - "@babel/plugin-transform-unicode-regex" "^7.27.1" - "@babel/plugin-transform-unicode-sets-regex" "^7.27.1" - "@babel/preset-modules" "0.1.6-no-external-plugins" - babel-plugin-polyfill-corejs2 "^0.4.14" - babel-plugin-polyfill-corejs3 "^0.13.0" - babel-plugin-polyfill-regenerator "^0.6.5" - core-js-compat "^3.43.0" - semver "^6.3.1" - -"@babel/preset-modules@0.1.6-no-external-plugins": - version "0.1.6-no-external-plugins" - resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz#ccb88a2c49c817236861fee7826080573b8a923a" - integrity sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/types" "^7.4.4" - esutils "^2.0.2" - -"@babel/runtime@7.28.3": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.28.3.tgz#75c5034b55ba868121668be5d5bb31cc64e6e61a" - integrity sha512-9uIQ10o0WGdpP6GDhXcdOJPJuDgFtIDtN/9+ArJQ2NAfAmiuhTQdzkaTGR33v43GYS2UrSA0eX2pPPHoFVvpxA== - -"@babel/template@^7.28.6", "@babel/template@^7.29.7": +"@babel/template@^7.29.7": version "7.29.7" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.29.7.tgz#4d9d4004f645cdd304de958c725162784ecac700" integrity sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg== @@ -1298,7 +546,7 @@ "@babel/parser" "^7.29.7" "@babel/types" "^7.29.7" -"@babel/traverse@^7.27.1", "@babel/traverse@^7.28.0", "@babel/traverse@^7.28.5", "@babel/traverse@^7.28.6", "@babel/traverse@^7.29.0", "@babel/traverse@^7.29.7": +"@babel/traverse@^7.29.7": version "7.29.8" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.8.tgz#4111014cdc71a0f95d9471907590baa0b8a6b28a" integrity sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg== @@ -1311,7 +559,7 @@ "@babel/types" "^7.29.8" debug "^4.3.1" -"@babel/types@^7.24.7", "@babel/types@^7.27.1", "@babel/types@^7.27.3", "@babel/types@^7.28.2", "@babel/types@^7.28.5", "@babel/types@^7.28.6", "@babel/types@^7.29.7", "@babel/types@^7.29.8", "@babel/types@^7.4.4": +"@babel/types@^7.24.7", "@babel/types@^7.27.3", "@babel/types@^7.29.7", "@babel/types@^7.29.8": version "7.29.8" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.29.8.tgz#1229eef31d85156d70fa3f4cd859376d0eaf6863" integrity sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg== @@ -1361,11 +609,6 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@discoveryjs/json-ext@0.6.3": - version "0.6.3" - resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.6.3.tgz#f13c7c205915eb91ae54c557f5e92bddd8be0e83" - integrity sha512-4B4OijXeVNOPZlYA2oEwWOTkzyltLao+xbotHQeqN++Rv27Y6s818+n2Qkp8q+Fxhn0t/5lA5X1Mxktud8eayQ== - "@es-joy/jsdoccomment@~0.83.0": version "0.83.0" resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.83.0.tgz#db1eda42d7e10d81e2dbc871459d556897ab8b8f" @@ -1547,10 +790,10 @@ dependencies: "@types/json-schema" "^7.0.15" -"@eslint/eslintrc@^3.3.5": - version "3.3.6" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.3.6.tgz#d22bfd6b3a7d8e1f2c0b2f2e6de111b53ec6e13e" - integrity sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA== +"@eslint/eslintrc@^3.3.6": + version "3.3.7" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.3.7.tgz#76d3dedec4a30ea32df797bf8a0085c1311b7316" + integrity sha512-F42g89Qd5oAWtp0k0nnSrjziAKza7w8SVT4mStc18LZMaRb4J1HQAHLCalEtDCxrTuksx7NU9qsmeLwpOfPqWw== dependencies: ajv "^6.14.0" debug "^4.3.2" @@ -1558,14 +801,14 @@ globals "^14.0.0" ignore "^5.2.0" import-fresh "^3.2.1" - js-yaml "^4.3.0" + js-yaml "^4.3.2" minimatch "^3.1.5" strip-json-comments "^3.1.1" -"@eslint/js@9.39.4": - version "9.39.4" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.39.4.tgz#a3f83bfc6fd9bf33a853dfacd0b49b398eb596c1" - integrity sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw== +"@eslint/js@9.39.5": + version "9.39.5" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.39.5.tgz#6f2fbcff75500d229d535e0a949ae13472c84787" + integrity sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A== "@eslint/object-schema@^2.1.7": version "2.1.7" @@ -1879,14 +1122,6 @@ resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== -"@jridgewell/source-map@^0.3.3": - version "0.3.6" - resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.6.tgz#9d71ca886e32502eb9362c9a74a46787c36df81a" - integrity sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ== - dependencies: - "@jridgewell/gen-mapping" "^0.3.5" - "@jridgewell/trace-mapping" "^0.3.25" - "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.5.0": version "1.5.5" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" @@ -1900,7 +1135,7 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25", "@jridgewell/trace-mapping@^0.3.28": +"@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.28": version "0.3.31" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz#db15d6781c931f3a251a3dac39501c98a6082fd0" integrity sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw== @@ -1908,171 +1143,6 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@jsonjoy.com/base64@17.65.0": - version "17.65.0" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/base64/-/base64-17.65.0.tgz#ba3b023c69ab311e5b706289414a44ee46117824" - integrity sha512-Xrh7Fm/M0QAYpekSgmskdZYnFdSGnsxJ/tHaolA4bNwWdG9i65S8m83Meh7FOxyJyQAdo4d4J97NOomBLEfkDQ== - -"@jsonjoy.com/base64@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/base64/-/base64-1.1.2.tgz#cf8ea9dcb849b81c95f14fc0aaa151c6b54d2578" - integrity sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA== - -"@jsonjoy.com/buffers@17.65.0", "@jsonjoy.com/buffers@^17.65.0": - version "17.65.0" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/buffers/-/buffers-17.65.0.tgz#d6890737d9cbc49c17e2c5d1a2d796c57205152c" - integrity sha512-eBrIXd0/Ld3p9lpDDlMaMn6IEfWqtHMD+z61u0JrIiPzsV1r7m6xDZFRxJyvIFTEO+SWdYF9EiQbXZGd8BzPfA== - -"@jsonjoy.com/buffers@^1.0.0", "@jsonjoy.com/buffers@^1.2.0": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/buffers/-/buffers-1.2.1.tgz#8d99c7f67eaf724d3428dfd9826c6455266a5c83" - integrity sha512-12cdlDwX4RUM3QxmUbVJWqZ/mrK6dFQH4Zxq6+r1YXKXYBNgZXndx2qbCJwh3+WWkCSn67IjnlG3XYTvmvYtgA== - -"@jsonjoy.com/codegen@17.65.0": - version "17.65.0" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/codegen/-/codegen-17.65.0.tgz#531524f37fd3e1d1189de18fef346e998eee8952" - integrity sha512-7MXcRYe7n3BG+fo3jicvjB0+6ypl2Y/bQp79Sp7KeSiiCgLqw4Oled6chVv07/xLVTdo3qa1CD0VCCnPaw+RGA== - -"@jsonjoy.com/codegen@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/codegen/-/codegen-1.0.0.tgz#5c23f796c47675f166d23b948cdb889184b93207" - integrity sha512-E8Oy+08cmCf0EK/NMxpaJZmOxPqM+6iSe2S4nlSBrPZOORoDJILxtbSUEDKQyTamm/BVAhIGllOBNU79/dwf0g== - -"@jsonjoy.com/fs-core@4.56.10": - version "4.56.10" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/fs-core/-/fs-core-4.56.10.tgz#320728b4b7bef63abb60e7630351623899237411" - integrity sha512-PyAEA/3cnHhsGcdY+AmIU+ZPqTuZkDhCXQ2wkXypdLitSpd6d5Ivxhnq4wa2ETRWFVJGabYynBWxIijOswSmOw== - dependencies: - "@jsonjoy.com/fs-node-builtins" "4.56.10" - "@jsonjoy.com/fs-node-utils" "4.56.10" - thingies "^2.5.0" - -"@jsonjoy.com/fs-fsa@4.56.10": - version "4.56.10" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/fs-fsa/-/fs-fsa-4.56.10.tgz#02bac88c4968ddf2effbd7452861aaed60ba3557" - integrity sha512-/FVK63ysNzTPOnCCcPoPHt77TOmachdMS422txM4KhxddLdbW1fIbFMYH0AM0ow/YchCyS5gqEjKLNyv71j/5Q== - dependencies: - "@jsonjoy.com/fs-core" "4.56.10" - "@jsonjoy.com/fs-node-builtins" "4.56.10" - "@jsonjoy.com/fs-node-utils" "4.56.10" - thingies "^2.5.0" - -"@jsonjoy.com/fs-node-builtins@4.56.10": - version "4.56.10" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/fs-node-builtins/-/fs-node-builtins-4.56.10.tgz#a32a5bcb093f8b34a99aa8957e993a52ec316662" - integrity sha512-uUnKz8R0YJyKq5jXpZtkGV9U0pJDt8hmYcLRrPjROheIfjMXsz82kXMgAA/qNg0wrZ1Kv+hrg7azqEZx6XZCVw== - -"@jsonjoy.com/fs-node-to-fsa@4.56.10": - version "4.56.10" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/fs-node-to-fsa/-/fs-node-to-fsa-4.56.10.tgz#33fc503e50d283ac5fc510e3accced7fccecf2f4" - integrity sha512-oH+O6Y4lhn9NyG6aEoFwIBNKZeYy66toP5LJcDOMBgL99BKQMUf/zWJspdRhMdn/3hbzQsZ8EHHsuekbFLGUWw== - dependencies: - "@jsonjoy.com/fs-fsa" "4.56.10" - "@jsonjoy.com/fs-node-builtins" "4.56.10" - "@jsonjoy.com/fs-node-utils" "4.56.10" - -"@jsonjoy.com/fs-node-utils@4.56.10": - version "4.56.10" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/fs-node-utils/-/fs-node-utils-4.56.10.tgz#788e95052aa99744f6e8e55b5098afc203df2b9e" - integrity sha512-8EuPBgVI2aDPwFdaNQeNpHsyqPi3rr+85tMNG/lHvQLiVjzoZsvxA//Xd8aB567LUhy4QS03ptT+unkD/DIsNg== - dependencies: - "@jsonjoy.com/fs-node-builtins" "4.56.10" - -"@jsonjoy.com/fs-node@4.56.10": - version "4.56.10" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/fs-node/-/fs-node-4.56.10.tgz#70b18bfaf14544a9820d2016e913dde12c6de991" - integrity sha512-7R4Gv3tkUdW3dXfXiOkqxkElxKNVdd8BDOWC0/dbERd0pXpPY+s2s1Mino+aTvkGrFPiY+mmVxA7zhskm4Ue4Q== - dependencies: - "@jsonjoy.com/fs-core" "4.56.10" - "@jsonjoy.com/fs-node-builtins" "4.56.10" - "@jsonjoy.com/fs-node-utils" "4.56.10" - "@jsonjoy.com/fs-print" "4.56.10" - "@jsonjoy.com/fs-snapshot" "4.56.10" - glob-to-regex.js "^1.0.0" - thingies "^2.5.0" - -"@jsonjoy.com/fs-print@4.56.10": - version "4.56.10" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/fs-print/-/fs-print-4.56.10.tgz#7c181b9aefcc1b268be0e6233bff26310c355335" - integrity sha512-JW4fp5mAYepzFsSGrQ48ep8FXxpg4niFWHdF78wDrFGof7F3tKDJln72QFDEn/27M1yHd4v7sKHHVPh78aWcEw== - dependencies: - "@jsonjoy.com/fs-node-utils" "4.56.10" - tree-dump "^1.1.0" - -"@jsonjoy.com/fs-snapshot@4.56.10": - version "4.56.10" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/fs-snapshot/-/fs-snapshot-4.56.10.tgz#05aadd2c0eaa855b13d6cb17d29b7c8cee239c8c" - integrity sha512-DkR6l5fj7+qj0+fVKm/OOXMGfDFCGXLfyHkORH3DF8hxkpDgIHbhf/DwncBMs2igu/ST7OEkexn1gIqoU6Y+9g== - dependencies: - "@jsonjoy.com/buffers" "^17.65.0" - "@jsonjoy.com/fs-node-utils" "4.56.10" - "@jsonjoy.com/json-pack" "^17.65.0" - "@jsonjoy.com/util" "^17.65.0" - -"@jsonjoy.com/json-pack@^1.11.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pack/-/json-pack-1.21.0.tgz#93f8dd57fe3a3a92132b33d1eb182dcd9e7629fa" - integrity sha512-+AKG+R2cfZMShzrF2uQw34v3zbeDYUqnQ+jg7ORic3BGtfw9p/+N6RJbq/kkV8JmYZaINknaEQ2m0/f693ZPpg== - dependencies: - "@jsonjoy.com/base64" "^1.1.2" - "@jsonjoy.com/buffers" "^1.2.0" - "@jsonjoy.com/codegen" "^1.0.0" - "@jsonjoy.com/json-pointer" "^1.0.2" - "@jsonjoy.com/util" "^1.9.0" - hyperdyperid "^1.2.0" - thingies "^2.5.0" - tree-dump "^1.1.0" - -"@jsonjoy.com/json-pack@^17.65.0": - version "17.65.0" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pack/-/json-pack-17.65.0.tgz#4ea06dd0aee1c29954bd978c4f107401dbf713fb" - integrity sha512-e0SG/6qUCnVhHa0rjDJHgnXnbsacooHVqQHxspjvlYQSkHm+66wkHw6Gql+3u/WxI/b1VsOdUi0M+fOtkgKGdQ== - dependencies: - "@jsonjoy.com/base64" "17.65.0" - "@jsonjoy.com/buffers" "17.65.0" - "@jsonjoy.com/codegen" "17.65.0" - "@jsonjoy.com/json-pointer" "17.65.0" - "@jsonjoy.com/util" "17.65.0" - hyperdyperid "^1.2.0" - thingies "^2.5.0" - tree-dump "^1.1.0" - -"@jsonjoy.com/json-pointer@17.65.0": - version "17.65.0" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pointer/-/json-pointer-17.65.0.tgz#4bad42d86c9ee0ad1758c082b065bd5e16f8dc36" - integrity sha512-uhTe+XhlIZpWOxgPcnO+iSCDgKKBpwkDVTyYiXX9VayGV8HSFVJM67M6pUE71zdnXF1W0Da21AvnhlmdwYPpow== - dependencies: - "@jsonjoy.com/util" "17.65.0" - -"@jsonjoy.com/json-pointer@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pointer/-/json-pointer-1.0.2.tgz#049cb530ac24e84cba08590c5e36b431c4843408" - integrity sha512-Fsn6wM2zlDzY1U+v4Nc8bo3bVqgfNTGcn6dMgs6FjrEnt4ZCe60o6ByKRjOGlI2gow0aE/Q41QOigdTqkyK5fg== - dependencies: - "@jsonjoy.com/codegen" "^1.0.0" - "@jsonjoy.com/util" "^1.9.0" - -"@jsonjoy.com/util@17.65.0", "@jsonjoy.com/util@^17.65.0": - version "17.65.0" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/util/-/util-17.65.0.tgz#b27832bdf7aeaf4a36f9cb8721cb4ffb086f06a1" - integrity sha512-cWiEHZccQORf96q2y6zU3wDeIVPeidmGqd9cNKJRYoVHTV0S1eHPy5JTbHpMnGfDvtvujQwQozOqgO9ABu6h0w== - dependencies: - "@jsonjoy.com/buffers" "17.65.0" - "@jsonjoy.com/codegen" "17.65.0" - -"@jsonjoy.com/util@^1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@jsonjoy.com/util/-/util-1.9.0.tgz#7ee95586aed0a766b746cd8d8363e336c3c47c46" - integrity sha512-pLuQo+VPRnN8hfPqUTLTHk126wuYdXVxE6aDmjSeV4NCAgyxWbiOIeNJVtID3h1Vzpoi9m4jXezf73I6LgabgQ== - dependencies: - "@jsonjoy.com/buffers" "^1.0.0" - "@jsonjoy.com/codegen" "^1.0.0" - -"@leichtgewicht/ip-codec@^2.0.1": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz#4fc56c15c580b9adb7dc3c333a134e540b44bfb1" - integrity sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw== - "@listr2/prompt-adapter-inquirer@3.0.1": version "3.0.1" resolved "https://registry.yarnpkg.com/@listr2/prompt-adapter-inquirer/-/prompt-adapter-inquirer-3.0.1.tgz#7e081b4dcde2f1bd5ac16c620ee2402908f03fe7" @@ -2198,43 +1268,43 @@ dependencies: langium "^4.0.0" -"@messageformat/core@^3.4.0": - version "3.4.0" - resolved "https://registry.yarnpkg.com/@messageformat/core/-/core-3.4.0.tgz#2814c23383dec7bddf535d54f2a03e410165ca9f" - integrity sha512-NgCFubFFIdMWJGN5WuQhHCNmzk7QgiVfrViFxcS99j7F5dDS5EP6raR54I+2ydhe4+5/XTn/YIEppFaqqVWHsw== +"@messageformat/core@^3.4.1": + version "3.4.1" + resolved "https://registry.yarnpkg.com/@messageformat/core/-/core-3.4.1.tgz#85b4dd381c3caf1bb2a5c4984de87c91518c998f" + integrity sha512-98uXHLDjPe2WZ8Xr05MhFQGfpMRbUcJDEYgjLV5ZBTgnntIkKS0VKGE+g8ug/hbgggyPEAeZBRJryIsBUp1vvw== dependencies: - "@messageformat/date-skeleton" "^1.0.0" - "@messageformat/number-skeleton" "^1.0.0" - "@messageformat/parser" "^5.1.0" - "@messageformat/runtime" "^3.0.1" + "@messageformat/date-skeleton" "2.0.0-0" + "@messageformat/number-skeleton" "2.0.0-0" + "@messageformat/parser" "^5.2.0" + "@messageformat/runtime" "^3.0.3" make-plural "^7.0.0" safe-identifier "^0.4.1" -"@messageformat/date-skeleton@^1.0.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@messageformat/date-skeleton/-/date-skeleton-1.1.0.tgz#3bad068cbf5873d14592cfc7a73dd4d8615e2739" - integrity sha512-rmGAfB1tIPER+gh3p/RgA+PVeRE/gxuQ2w4snFWPF5xtb5mbWR7Cbw7wCOftcUypbD6HVoxrVdyyghPm3WzP5A== +"@messageformat/date-skeleton@2.0.0-0": + version "2.0.0-0" + resolved "https://registry.yarnpkg.com/@messageformat/date-skeleton/-/date-skeleton-2.0.0-0.tgz#a2b2038b49d7c5c1972bd56d3deca10ec739e3d4" + integrity sha512-gkCatAK4MYlhjKYWxkfRM6Ql0M1VmA1DK6A9rszUBprZpQox/XqX987AI2w7YoEz0p5DgkPOpI6PK1mW08yNqQ== -"@messageformat/number-skeleton@^1.0.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@messageformat/number-skeleton/-/number-skeleton-1.2.0.tgz#e7c245c41a1b2722bc59dad68f4d454f761bc9b4" - integrity sha512-xsgwcL7J7WhlHJ3RNbaVgssaIwcEyFkBqxHdcdaiJzwTZAWEOD8BuUFxnxV9k5S0qHN3v/KzUpq0IUpjH1seRg== +"@messageformat/number-skeleton@2.0.0-0": + version "2.0.0-0" + resolved "https://registry.yarnpkg.com/@messageformat/number-skeleton/-/number-skeleton-2.0.0-0.tgz#cbb72acbabd76f9258c16de3837ed96cd8b68f1f" + integrity sha512-bDrIrVSKwn0sNrbU+N6tjwljV+Zl9pRCR/D9Xim6Q7lLzZ20nFYtuuKOZ3QKisN+vPxa9sTqu3ufJ+uwKNpHbQ== -"@messageformat/parser@^5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@messageformat/parser/-/parser-5.1.0.tgz#05e4851c782d633ad735791dd0a68ee65d2a7201" - integrity sha512-jKlkls3Gewgw6qMjKZ9SFfHUpdzEVdovKFtW1qRhJ3WI4FW5R/NnGDqr8SDGz+krWDO3ki94boMmQvGke1HwUQ== +"@messageformat/parser@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@messageformat/parser/-/parser-5.2.0.tgz#8a476fadea25e1bb7835aaf806eb3f5ad2fb4f8a" + integrity sha512-sc3hNZ0JtC32GhL5nUgPbh2ilcwji4G+Vmj/vhMd8hZaH//NDOvkfwKK1mFnRWG5h2DpksN8xr/HB5/+vMg3iw== dependencies: moo "^0.5.1" -"@messageformat/runtime@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@messageformat/runtime/-/runtime-3.0.1.tgz#94d1f6c43265c28ef7aed98ecfcc0968c6c849ac" - integrity sha512-6RU5ol2lDtO8bD9Yxe6CZkl0DArdv0qkuoZC+ZwowU+cdRlVE1157wjCmlA5Rsf1Xc/brACnsZa5PZpEDfTFFg== +"@messageformat/runtime@^3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@messageformat/runtime/-/runtime-3.0.3.tgz#38741ccb348d561bd8c556597f43e1e6363a842d" + integrity sha512-FE0hP0m15+9p/ia5HWQ/JsUSNLcxZkl1jl1HlRrWCiMAsgiulg7AuOFLaBR6dpPqtPWWuApY7VLo3rIAcrgrkA== dependencies: make-plural "^7.0.0" -"@modelcontextprotocol/sdk@1.30.0", "@modelcontextprotocol/sdk@1.32.1": +"@modelcontextprotocol/sdk@1.31.0", "@modelcontextprotocol/sdk@1.32.1": version "1.32.1" resolved "https://registry.yarnpkg.com/@modelcontextprotocol/sdk/-/sdk-1.32.1.tgz#853286b3240b6d8143f5f8e6d58af85c77d475ab" integrity sha512-2DdE+SJDtzLEEWzY1ZjY7Q+VcPhcV1KisD3zI4u0XZyktsjHum1mwbMI+JaulUBi2OZk+KJAi2uPXzxichPkdw== @@ -2423,11 +1493,6 @@ dependencies: tslib "^2.0.0" -"@ngtools/webpack@20.3.38": - version "20.3.38" - resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-20.3.38.tgz#be8d58256e8170de9f147be3807ad3ff01ce326e" - integrity sha512-CEuKFsFEP00HIut2SFbAdYZTSXW40xdAPItfsKLo3pJF7MYZC1enNqgqsIUrK4xV/MLVNfBuhTd/5FTd0tpinw== - "@ngx-translate/core@^17.0.0": version "17.0.0" resolved "https://registry.yarnpkg.com/@ngx-translate/core/-/core-17.0.0.tgz#d6c0738c5004b53273bc97e6ca5488f6a6816f25" @@ -2435,11 +1500,6 @@ dependencies: tslib "^2.3.0" -"@noble/hashes@1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426" - integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== - "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -2637,136 +1697,6 @@ "@parcel/watcher-win32-ia32" "2.5.6" "@parcel/watcher-win32-x64" "2.5.6" -"@peculiar/asn1-cms@^2.6.0", "@peculiar/asn1-cms@^2.9.3": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-cms/-/asn1-cms-2.9.3.tgz#6b37ef792477b4af803e1cbcc1ede95281860704" - integrity sha512-N3POfw5RA7efAliAATiudtmvKQqukVEOzrMQuqQY/us2EPKczMy2WiecLt1SX6s3b0OwcFaPUXGF6uIYlBUTbg== - dependencies: - "@peculiar/asn1-schema" "^2.9.3" - "@peculiar/asn1-x509" "^2.9.3" - "@peculiar/asn1-x509-attr" "^2.9.3" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/asn1-csr@^2.6.0": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-csr/-/asn1-csr-2.9.3.tgz#eab9270c844ae894b6123cd03c2dee871772ded3" - integrity sha512-E9zYmC5mk7eiDKqQAOsZGrJ7mUCIDC0031s4Nsl7dj1Za5EBKcHVqY+1vD/a4xbk480PGqvi455W2b4FeHRJ8Q== - dependencies: - "@peculiar/asn1-schema" "^2.9.3" - "@peculiar/asn1-x509" "^2.9.3" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/asn1-ecc@^2.6.0": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-ecc/-/asn1-ecc-2.9.3.tgz#4a167c8ed47d35c95bda10eec8d9db3066e9fb3f" - integrity sha512-4xmeZiZ46VI2qGbiZPzdv6p9IhMtjWdbwZf3VCgN8OAVcued60ej5Ki2FF94srVH4Ot/h45Co7T5C/fpQXP4rA== - dependencies: - "@peculiar/asn1-schema" "^2.9.3" - "@peculiar/asn1-x509" "^2.9.3" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/asn1-pfx@^2.9.3": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-pfx/-/asn1-pfx-2.9.3.tgz#8344148158b056b041e8c2854704f9004072cb8f" - integrity sha512-Nzwoj+fRr1XB9CQuc4AanUuvQ3OIXAY+ngZIYP+eZUqd+Sonj+ZHTnrg+egQuUJ64/iMi9HFPN04MokGrFTK0w== - dependencies: - "@peculiar/asn1-cms" "^2.9.3" - "@peculiar/asn1-pkcs8" "^2.9.3" - "@peculiar/asn1-rsa" "^2.9.3" - "@peculiar/asn1-schema" "^2.9.3" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/asn1-pkcs8@^2.9.3": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-pkcs8/-/asn1-pkcs8-2.9.3.tgz#191b877fb7201798a4d242160230601e422e87f3" - integrity sha512-ecGZpkY6Lq5bSgTFU+LS74WjawzDgjWHcjFMVNPH/1C0j53Xi9dmLcPMdmZyk8gdsd2RKeV1fP9EbLB6W6zZ1g== - dependencies: - "@peculiar/asn1-schema" "^2.9.3" - "@peculiar/asn1-x509" "^2.9.3" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/asn1-pkcs9@^2.6.0": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-pkcs9/-/asn1-pkcs9-2.9.3.tgz#275b4b3e00849e58d17620561f3f2a4e3512390c" - integrity sha512-yjWVrQEmPp2y9lWjLLE28BRHbt7wYdwWvwXjFgNuekP9mDD/ofz31muVI8qOg2as7XZs1bZIZGPPnJ/0osTClQ== - dependencies: - "@peculiar/asn1-cms" "^2.9.3" - "@peculiar/asn1-pfx" "^2.9.3" - "@peculiar/asn1-pkcs8" "^2.9.3" - "@peculiar/asn1-schema" "^2.9.3" - "@peculiar/asn1-x509" "^2.9.3" - "@peculiar/asn1-x509-attr" "^2.9.3" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/asn1-rsa@^2.6.0", "@peculiar/asn1-rsa@^2.9.3": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-rsa/-/asn1-rsa-2.9.3.tgz#9b73ff82e2f88cb2da952e4991cb053df49e5b9d" - integrity sha512-t7m3e9p/Gf9YoMM+hLsHUqB+NhOlifiOkENAIG4RV2BFWVGTATVzbXoR8L0EgNWpiriPaeIjBCS5B9PTtkaxQw== - dependencies: - "@peculiar/asn1-schema" "^2.9.3" - "@peculiar/asn1-x509" "^2.9.3" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/asn1-schema@^2.6.0", "@peculiar/asn1-schema@^2.9.3": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-schema/-/asn1-schema-2.9.3.tgz#13398a990b8b89f003e720db9876511af0974a35" - integrity sha512-SOux4+jikCnOwoJvpBp/grOqzFmJPnNSwe3sAg1Bn93YdmCiDtvolZifJIhiRq0UWMTnLRPj9/ZCMAc2W9VsMQ== - dependencies: - "@peculiar/utils" "^2.0.2" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/asn1-x509-attr@^2.9.3": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-x509-attr/-/asn1-x509-attr-2.9.3.tgz#0f791e33f39b786d74d0485225aa4d061bc205f8" - integrity sha512-v5Oa6p7hCT3ONqYHQyTFQYcycD06eMhHbr0m7evpvPQSpWJIq8GgbdnvA9bVGTUlOx6KOeDrX7Z0W4s/yboNTg== - dependencies: - "@peculiar/asn1-schema" "^2.9.3" - "@peculiar/asn1-x509" "^2.9.3" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/asn1-x509@^2.6.0", "@peculiar/asn1-x509@^2.9.3": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-x509/-/asn1-x509-2.9.3.tgz#e029a18de8f06bf8f061b26a2296193e3af29db3" - integrity sha512-HE+ejy9dX9JP3yLL6CGYoWym4Cted1lGXH7DxsbNDGiq8KabwVR7mzYidwsyNZ/m0hNWjiS+dzSwrsgMB/OIaQ== - dependencies: - "@peculiar/asn1-schema" "^2.9.3" - "@peculiar/utils" "^2.0.2" - asn1js "^3.0.10" - tslib "^2.8.1" - -"@peculiar/utils@^2.0.2": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@peculiar/utils/-/utils-2.0.3.tgz#a27ca4c4b73652e110f19a7d16d664f458a5528e" - integrity sha512-+oL3HPFRIZ1St2K50lWCXiioIgSoxzz7R1J3uF6neO2yl1sgmpgY6XXJH4BdpoDkMWznQTeYF6oWNDZLCdQ4eQ== - dependencies: - tslib "^2.8.1" - -"@peculiar/x509@^1.14.2": - version "1.14.3" - resolved "https://registry.yarnpkg.com/@peculiar/x509/-/x509-1.14.3.tgz#2c44c2b89474346afec38a0c2803ec4fb8ce959e" - integrity sha512-C2Xj8FZ0uHWeCXXqX5B4/gVFQmtSkiuOolzAgutjTfseNOHT3pUjljDZsTSxXFGgio54bCzVFqmEOUrIVk8RDA== - dependencies: - "@peculiar/asn1-cms" "^2.6.0" - "@peculiar/asn1-csr" "^2.6.0" - "@peculiar/asn1-ecc" "^2.6.0" - "@peculiar/asn1-pkcs9" "^2.6.0" - "@peculiar/asn1-rsa" "^2.6.0" - "@peculiar/asn1-schema" "^2.6.0" - "@peculiar/asn1-x509" "^2.6.0" - pvtsutils "^1.3.6" - reflect-metadata "^0.2.2" - tslib "^2.8.1" - tsyringe "^4.10.0" - "@pkgjs/parseargs@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" @@ -2912,13 +1842,13 @@ resolved "https://registry.yarnpkg.com/@sanity/diff-match-patch/-/diff-match-patch-3.2.0.tgz#7ce587273f7372a146308cb1075ba26177d42cdb" integrity sha512-4hPADs0qUThFZkBK/crnfKKHg71qkRowfktBljH2UIxGHHTxIzt8g8fBiXItyCjxkuNy+zpYOdRMifQNv8+Yww== -"@schematics/angular@20.3.38": - version "20.3.38" - resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-20.3.38.tgz#c06fee4df58f3249bf539f107332258eb0e52cfc" - integrity sha512-H7jE0nAgHAay7Sbg5d2CP4dHtoiPcWdblGrF5OYk/OtkNLpD9bUzhX25jPKjpgxJCVKVWNaetwBDgnAp5SAUjA== +"@schematics/angular@20.3.40": + version "20.3.40" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-20.3.40.tgz#e80cc5237ebe2a7432496262fd76828c0bb0a66d" + integrity sha512-jU12K5YJUpK7bsPhWUgxoZf0R1fkt6z+AiOu+qHybQgWRmV8VuwZhPsp4N6lwMUkRrNmPOgk2143xNmTXEBjcQ== dependencies: - "@angular-devkit/core" "20.3.38" - "@angular-devkit/schematics" "20.3.38" + "@angular-devkit/core" "20.3.40" + "@angular-devkit/schematics" "20.3.40" jsonc-parser "3.3.1" "@sigstore/bundle@^4.0.0": @@ -2972,24 +1902,20 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/base62/-/base62-1.0.0.tgz#c47c42410e5212e4fa4657670e118ddfba39acd6" integrity sha512-TeheYy0ILzBEI/CO55CP6zJCSdSWeRtGnHy8U8dWSUH4I68iqTsy7HkMktR4xakThc9jotkPQUXT4ITdbV7cHA== -"@svgdotjs/svg.filter.js@^3.0.9": - version "3.0.9" - resolved "https://registry.yarnpkg.com/@svgdotjs/svg.filter.js/-/svg.filter.js-3.0.9.tgz#758e336b79e73a6797358d655b60842131a9a52b" - integrity sha512-/69XMRCDoam2HgC4ldHIaDgeQf1ViHIsa0Ld4uWgiXtZ+E24DWHe/9Ib6kbNiZ7WRIdlVokUDR1Fg0kjIpkfbw== - dependencies: - "@svgdotjs/svg.js" "^3.2.4" +"@svgdotjs/svg.filter.js@^3.0.10": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@svgdotjs/svg.filter.js/-/svg.filter.js-3.0.10.tgz#c47bb8c0a9c38cc0515337cbd85544e6320e96d8" + integrity sha512-ynuqRmTRiQgy0XDV/aVV63+RMAAGxRa3qRxb0rowTFRfEJ7qJZ/CbMSuH87/TP1j1zauQhE48DFWQcxrxBv5aQ== -"@svgdotjs/svg.js@3.2.4", "@svgdotjs/svg.js@^3.0.16", "@svgdotjs/svg.js@^3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@svgdotjs/svg.js/-/svg.js-3.2.4.tgz#4716be92a64c66b29921b63f7235fcfb953fb13a" - integrity sha512-BjJ/7vWNowlX3Z8O4ywT58DqbNRyYlkk6Yz/D13aB7hGmfQTvGX4Tkgtm/ApYlu9M7lCQi15xUEidqMUmdMYwg== +"@svgdotjs/svg.js@3.2.8": + version "3.2.8" + resolved "https://registry.yarnpkg.com/@svgdotjs/svg.js/-/svg.js-3.2.8.tgz#1b16c8792407f25e265f9326143bcb55fb85754c" + integrity sha512-NUdbI/7FDdqGpzKmqr09IQoy9MUcrAC/3bC8gLgXi6OfJuyri450zMLvJekFUhuq3iN5gpdPjoSoStNl9Eijfg== -"@svgdotjs/svg.panzoom.js@^2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@svgdotjs/svg.panzoom.js/-/svg.panzoom.js-2.1.2.tgz#50e66a861f7c4f9e3992707f8e62e6e8da5c5223" - integrity sha512-0Nzo2TRlTebW3pzfAPtHx8Ye7Y3kuMEkK7hwVJi0SgQUB/vstjg7fvCJxB++EqsuDEetP0/SC+4CpLMVm6Lh2g== - dependencies: - "@svgdotjs/svg.js" "^3.0.16" +"@svgdotjs/svg.panzoom.js@^2.1.3": + version "2.1.3" + resolved "https://registry.yarnpkg.com/@svgdotjs/svg.panzoom.js/-/svg.panzoom.js-2.1.3.tgz#b6f0686f7ef195e8690210f1a71d932df03c9eb8" + integrity sha512-FJY+teGwGV6cQLNn9pTMLJSeLBUtQPcFb0dF4ebmdCZ41DC6kMQBI28aVOKoI6rNq08ovFYjS4iWneBri39YKQ== "@tsconfig/node10@^1.0.7": version "1.0.11" @@ -3191,41 +2117,11 @@ resolved "https://registry.yarnpkg.com/@types/ace-diff/-/ace-diff-2.1.4.tgz#0bf9952c9b23fb3cb6f5cf96f1e8bbed8f603fcd" integrity sha512-Jd9J35hi9PdsQzAAXWzPlXTuxRxnxuaNBMzBNts3EUDoQ8yuWp4Y36GjPASke8D6yVwKrapOnAaVp3km/CxPRw== -"@types/body-parser@*": - version "1.19.5" - resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4" - integrity sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg== - dependencies: - "@types/connect" "*" - "@types/node" "*" - -"@types/bonjour@^3.5.13": - version "3.5.13" - resolved "https://registry.yarnpkg.com/@types/bonjour/-/bonjour-3.5.13.tgz#adf90ce1a105e81dd1f9c61fdc5afda1bfb92956" - integrity sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ== - dependencies: - "@types/node" "*" - "@types/canvas-gauges@^2.1.8": version "2.1.8" resolved "https://registry.yarnpkg.com/@types/canvas-gauges/-/canvas-gauges-2.1.8.tgz#5bdd199c598fd45f8618127bec2e2f4e49d7477f" integrity sha512-sbxlEPEPnEYfvzC/yPIJZNkxKfAJaI45dxnQrkg3g2l3+1lWX6lwduRo8+hrsDw7VdJ5ijuRi1sQ7XBFu1R2qg== -"@types/connect-history-api-fallback@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz#7de71645a103056b48ac3ce07b3520b819c1d5b3" - integrity sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw== - dependencies: - "@types/express-serve-static-core" "*" - "@types/node" "*" - -"@types/connect@*": - version "3.4.38" - resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" - integrity sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug== - dependencies: - "@types/node" "*" - "@types/d3-array@*": version "3.2.2" resolved "https://registry.yarnpkg.com/@types/d3-array/-/d3-array-3.2.2.tgz#e02151464d02d4a1b44646d0fcdb93faf88fde8c" @@ -3436,72 +2332,16 @@ "@types/d3-transition" "*" "@types/d3-zoom" "*" -"@types/eslint-scope@^3.7.7": - version "3.7.7" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5" - integrity sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg== - dependencies: - "@types/eslint" "*" - "@types/estree" "*" - -"@types/eslint@*": - version "9.6.1" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-9.6.1.tgz#d5795ad732ce81715f27f75da913004a56751584" - integrity sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag== - dependencies: - "@types/estree" "*" - "@types/json-schema" "*" - "@types/esrecurse@^4.3.1": version "4.3.1" resolved "https://registry.yarnpkg.com/@types/esrecurse/-/esrecurse-4.3.1.tgz#6f636af962fbe6191b830bd676ba5986926bccec" integrity sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw== -"@types/estree@*", "@types/estree@1.0.8", "@types/estree@^1.0.6", "@types/estree@^1.0.8": +"@types/estree@1.0.8", "@types/estree@^1.0.6", "@types/estree@^1.0.8": version "1.0.8" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== -"@types/express-serve-static-core@*", "@types/express-serve-static-core@^5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-5.0.0.tgz#91f06cda1049e8f17eeab364798ed79c97488a1c" - integrity sha512-AbXMTZGt40T+KON9/Fdxx0B2WK5hsgxcfXJLr5bFpZ7b4JCex2WyQPTEKdXqfHiY5nKKBScZ7yCoO6Pvgxfvnw== - dependencies: - "@types/node" "*" - "@types/qs" "*" - "@types/range-parser" "*" - "@types/send" "*" - -"@types/express-serve-static-core@^4.17.21", "@types/express-serve-static-core@^4.17.33": - version "4.19.8" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.19.8.tgz#99b960322a4d576b239a640ab52ef191989b036f" - integrity sha512-02S5fmqeoKzVZCHPZid4b8JH2eM5HzQLZWN2FohQEy/0eXTq8VXZfSN6Pcr3F6N9R/vNrj7cpgbhjie6m/1tCA== - dependencies: - "@types/node" "*" - "@types/qs" "*" - "@types/range-parser" "*" - "@types/send" "*" - -"@types/express@*": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@types/express/-/express-5.0.0.tgz#13a7d1f75295e90d19ed6e74cab3678488eaa96c" - integrity sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ== - dependencies: - "@types/body-parser" "*" - "@types/express-serve-static-core" "^5.0.0" - "@types/qs" "*" - "@types/serve-static" "*" - -"@types/express@^4.17.25": - version "4.17.25" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.25.tgz#070c8c73a6fee6936d65c195dbbfb7da5026649b" - integrity sha512-dVd04UKsfpINUnK0yBoYHDF3xu7xVH4BuDotC/xGuycx4CgbP48X/KF/586bcObxT0HENHXEU8Nqtu6NR+eKhw== - dependencies: - "@types/body-parser" "*" - "@types/express-serve-static-core" "^4.17.33" - "@types/qs" "*" - "@types/serve-static" "^1" - "@types/flot@^0.0.36": version "0.0.36" resolved "https://registry.yarnpkg.com/@types/flot/-/flot-0.0.36.tgz#59961afa913561236ed7dd2f2c710de0695ec3e2" @@ -3524,18 +2364,6 @@ resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.45.tgz#ffa764bb68a66c08db6efb9c816eb7be850577b1" integrity sha512-qkcUlZmX6c4J8q45taBKTL3p+LbITgyx7qhlPYOdOHZB7B31K0mXbP5YA7i7SgDeEGuI9MnumiKPEMrxg8j3KQ== -"@types/http-errors@*": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.4.tgz#7eb47726c391b7345a6ec35ad7f4de469cf5ba4f" - integrity sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA== - -"@types/http-proxy@^1.17.15", "@types/http-proxy@^1.17.8": - version "1.17.15" - resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.15.tgz#12118141ce9775a6499ecb4c01d02f90fc839d36" - integrity sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ== - dependencies: - "@types/node" "*" - "@types/jquery@*", "@types/jquery@^3.5.29", "@types/jquery@^3.5.33": version "3.5.33" resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.5.33.tgz#f42f40bac3edd84abdc9f6297d28e570fe463b35" @@ -3548,7 +2376,7 @@ resolved "https://registry.yarnpkg.com/@types/js-beautify/-/js-beautify-1.14.3.tgz#6ced76f79935e37e0d613110dea369881d93c1ff" integrity sha512-FMbQHz+qd9DoGvgLHxeqqVPaNRffpIu5ZjozwV8hf9JAGpIOzuAf4wGbRSo8LNITHqGjmmVjaMggTT5P4v4IHg== -"@types/json-schema@*", "@types/json-schema@^7.0.15", "@types/json-schema@^7.0.9": +"@types/json-schema@^7.0.15": version "7.0.15" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== @@ -3598,79 +2426,28 @@ resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.23.tgz#c1bb06db218acc8fc232da0447473fc2fb9d9841" integrity sha512-RDvF6wTulMPjrNdCoYRC8gNR880JNGT8uB+REUpC2Ns4pRqQJhGz90wh7rgdXDPpCczF3VGktDuFGVnz8zP7HA== -"@types/mime@^1": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" - integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== - "@types/mousetrap@^1.6.9": version "1.6.15" resolved "https://registry.yarnpkg.com/@types/mousetrap/-/mousetrap-1.6.15.tgz#f144a0c539a4cef553a631824651d48267e53c86" integrity sha512-qL0hyIMNPow317QWW/63RvL1x5MVMV+Ru3NaY9f/CuEpCqrmb7WeuK2071ZY5hczOnm38qExWM2i2WtkXLSqFw== -"@types/node@*", "@types/node@~22.18.13": +"@types/node@~22.18.13": version "22.18.13" resolved "https://registry.yarnpkg.com/@types/node/-/node-22.18.13.tgz#a037c4f474b860be660e05dbe92a9ef945472e28" integrity sha512-Bo45YKIjnmFtv6I1TuC8AaHBbqXtIo+Om5fE4QiU1Tj8QR/qt+8O3BAtOimG5IFmwaWiPmB3Mv3jtYzBA4Us2A== dependencies: undici-types "~6.21.0" -"@types/qs@*": - version "6.9.16" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.16.tgz#52bba125a07c0482d26747d5d4947a64daf8f794" - integrity sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A== - -"@types/range-parser@*": - version "1.2.7" - resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb" - integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== - "@types/raphael@^2.3.9": version "2.3.9" resolved "https://registry.yarnpkg.com/@types/raphael/-/raphael-2.3.9.tgz#d53bb8930431524f42987a8a19815c0d42a61eb5" integrity sha512-K1dZwoLNvEN+mvleFU/t2swG9Z4SE5Vub7dA5wDYojH0bVTQ8ZAP+lNsl91t1njdu/B+roSEL4QXC67I7Hpiag== -"@types/retry@0.12.2": - version "0.12.2" - resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.2.tgz#ed279a64fa438bb69f2480eda44937912bb7480a" - integrity sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow== - -"@types/send@*", "@types/send@<1": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.6.tgz#aeb5385be62ff58a52cd5459daa509ae91651d25" - integrity sha512-Uqt8rPBE8SY0RK8JB1EzVOIZ32uqy8HwdxCnoCOsYrvnswqmFZ/k+9Ikidlk/ImhsdvBsloHbAlewb2IEBV/Og== - dependencies: - "@types/mime" "^1" - "@types/node" "*" - -"@types/serve-index@^1.9.4": - version "1.9.4" - resolved "https://registry.yarnpkg.com/@types/serve-index/-/serve-index-1.9.4.tgz#e6ae13d5053cb06ed36392110b4f9a49ac4ec898" - integrity sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug== - dependencies: - "@types/express" "*" - -"@types/serve-static@*", "@types/serve-static@^1", "@types/serve-static@^1.15.5": - version "1.15.10" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.10.tgz#768169145a778f8f5dfcb6360aead414a3994fee" - integrity sha512-tRs1dB+g8Itk72rlSI2ZrW6vZg0YrLI81iQSTkMmOqnqCaNr/8Ek4VwWcN5vZgCYWbg/JJSGBlUaYGAOP73qBw== - dependencies: - "@types/http-errors" "*" - "@types/node" "*" - "@types/send" "<1" - "@types/sizzle@*": version "2.3.9" resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.9.tgz#d4597dbd4618264c414d7429363e3f50acb66ea2" integrity sha512-xzLEyKB50yqCUPUJkIsrVvoWNfFUbIZI+RspLWt8u+tIW/BetMBZtgV2LY/2o+tYH8dRvQ+eoPf3NdhQCcLE2w== -"@types/sockjs@^0.3.36": - version "0.3.36" - resolved "https://registry.yarnpkg.com/@types/sockjs/-/sockjs-0.3.36.tgz#ce322cf07bcc119d4cbf7f88954f3a3bd0f67535" - integrity sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q== - dependencies: - "@types/node" "*" - "@types/systemjs@6.15.3": version "6.15.3" resolved "https://registry.yarnpkg.com/@types/systemjs/-/systemjs-6.15.3.tgz#d758dceafee62d2ed4aad7d07342b145d623e260" @@ -3693,13 +2470,6 @@ resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.7.tgz#baccb07a970b91707df3a3e8ba6896c57ead2d11" integrity sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw== -"@types/ws@^8.5.10": - version "8.5.12" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.12.tgz#619475fe98f35ccca2a2f6c137702d85ec247b7e" - integrity sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ== - dependencies: - "@types/node" "*" - "@typescript-eslint/eslint-plugin@8.54.0": version "8.54.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.54.0.tgz#d8899e5c2eccf5c4a20d01c036a193753748454d" @@ -3809,137 +2579,6 @@ resolved "https://registry.yarnpkg.com/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-2.1.0.tgz#c70d2a922bc437f154089d7ef0505db4b383eb7b" integrity sha512-dOxxrhgyDIEUADhb/8OlV9JIqYLgos03YorAueTIeOUskLJSEsfwCByjbu98ctXitUN3znXKp0bYD/WHSudCeA== -"@webassemblyjs/ast@1.14.1", "@webassemblyjs/ast@^1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.14.1.tgz#a9f6a07f2b03c95c8d38c4536a1fdfb521ff55b6" - integrity sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ== - dependencies: - "@webassemblyjs/helper-numbers" "1.13.2" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - -"@webassemblyjs/floating-point-hex-parser@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz#fcca1eeddb1cc4e7b6eed4fc7956d6813b21b9fb" - integrity sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA== - -"@webassemblyjs/helper-api-error@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz#e0a16152248bc38daee76dd7e21f15c5ef3ab1e7" - integrity sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ== - -"@webassemblyjs/helper-buffer@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz#822a9bc603166531f7d5df84e67b5bf99b72b96b" - integrity sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA== - -"@webassemblyjs/helper-numbers@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz#dbd932548e7119f4b8a7877fd5a8d20e63490b2d" - integrity sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA== - dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.13.2" - "@webassemblyjs/helper-api-error" "1.13.2" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/helper-wasm-bytecode@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz#e556108758f448aae84c850e593ce18a0eb31e0b" - integrity sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA== - -"@webassemblyjs/helper-wasm-section@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz#9629dda9c4430eab54b591053d6dc6f3ba050348" - integrity sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-buffer" "1.14.1" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - "@webassemblyjs/wasm-gen" "1.14.1" - -"@webassemblyjs/ieee754@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz#1c5eaace1d606ada2c7fd7045ea9356c59ee0dba" - integrity sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.13.2.tgz#57c5c3deb0105d02ce25fa3fd74f4ebc9fd0bbb0" - integrity sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.13.2": - version "1.13.2" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.13.2.tgz#917a20e93f71ad5602966c2d685ae0c6c21f60f1" - integrity sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ== - -"@webassemblyjs/wasm-edit@^1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz#ac6689f502219b59198ddec42dcd496b1004d597" - integrity sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-buffer" "1.14.1" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - "@webassemblyjs/helper-wasm-section" "1.14.1" - "@webassemblyjs/wasm-gen" "1.14.1" - "@webassemblyjs/wasm-opt" "1.14.1" - "@webassemblyjs/wasm-parser" "1.14.1" - "@webassemblyjs/wast-printer" "1.14.1" - -"@webassemblyjs/wasm-gen@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz#991e7f0c090cb0bb62bbac882076e3d219da9570" - integrity sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - "@webassemblyjs/ieee754" "1.13.2" - "@webassemblyjs/leb128" "1.13.2" - "@webassemblyjs/utf8" "1.13.2" - -"@webassemblyjs/wasm-opt@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz#e6f71ed7ccae46781c206017d3c14c50efa8106b" - integrity sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-buffer" "1.14.1" - "@webassemblyjs/wasm-gen" "1.14.1" - "@webassemblyjs/wasm-parser" "1.14.1" - -"@webassemblyjs/wasm-parser@1.14.1", "@webassemblyjs/wasm-parser@^1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz#b3e13f1893605ca78b52c68e54cf6a865f90b9fb" - integrity sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@webassemblyjs/helper-api-error" "1.13.2" - "@webassemblyjs/helper-wasm-bytecode" "1.13.2" - "@webassemblyjs/ieee754" "1.13.2" - "@webassemblyjs/leb128" "1.13.2" - "@webassemblyjs/utf8" "1.13.2" - -"@webassemblyjs/wast-printer@1.14.1": - version "1.14.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz#3bb3e9638a8ae5fdaf9610e7a06b4d9f9aa6fe07" - integrity sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw== - dependencies: - "@webassemblyjs/ast" "1.14.1" - "@xtuc/long" "4.2.2" - -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== - -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== - "@yarnpkg/lockfile@1.1.0", "@yarnpkg/lockfile@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" @@ -3963,14 +2602,6 @@ accepts@^2.0.0: mime-types "^3.0.0" negotiator "^1.0.0" -accepts@~1.3.4, accepts@~1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" - integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== - dependencies: - mime-types "~2.1.34" - negotiator "0.6.3" - ace-builds@1.43.6: version "1.43.6" resolved "https://registry.yarnpkg.com/ace-builds/-/ace-builds-1.43.6.tgz#6feffd0283da5bbf45a2052470fe0fc3c442831a" @@ -3983,11 +2614,6 @@ ace-diff@^3.3.0: dependencies: "@sanity/diff-match-patch" "3.2.0" -acorn-import-phases@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz#16eb850ba99a056cb7cbfe872ffb8972e18c8bd7" - integrity sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ== - acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" @@ -4000,19 +2626,11 @@ acorn-walk@^8.1.1: dependencies: acorn "^8.11.0" -acorn@^8.11.0, acorn@^8.14.0, acorn@^8.15.0, acorn@^8.16.0, acorn@^8.4.1: +acorn@^8.11.0, acorn@^8.15.0, acorn@^8.16.0, acorn@^8.4.1: version "8.16.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.16.0.tgz#4ce79c89be40afe7afe8f3adb902a1f1ce9ac08a" integrity sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw== -adjust-sourcemap-loader@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz#fc4a0fd080f7d10471f30a7320f25560ade28c99" - integrity sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A== - dependencies: - loader-utils "^2.0.0" - regex-parser "^2.2.11" - agent-base@^7.1.0, agent-base@^7.1.2: version "7.1.4" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.4.tgz#e3cd76d4c548ee895d3c3fd8dc1f6c5b9032e7a8" @@ -4025,21 +2643,7 @@ ajv-formats@3.0.1, ajv-formats@^3.0.1: dependencies: ajv "^8.0.0" -ajv-formats@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" - integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== - dependencies: - ajv "^8.0.0" - -ajv-keywords@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" - integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== - dependencies: - fast-deep-equal "^3.1.3" - -ajv@8.18.0, ajv@^8.0.0, ajv@^8.17.1, ajv@^8.9.0: +ajv@8.18.0, ajv@^8.0.0, ajv@^8.17.1: version "8.18.0" resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.18.0.tgz#8864186b6738d003eb3a933172bb3833e10cefbc" integrity sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A== @@ -4110,11 +2714,6 @@ angular2-hotkeys@^16.0.1: mousetrap "^1.6.5" tslib "^2.3.1" -ansi-colors@4.1.3: - version "4.1.3" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" - integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== - ansi-escapes@^7.0.0: version "7.3.0" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-7.3.0.tgz#5395bb74b2150a4a1d6e3c2565f4aeca78d28627" @@ -4122,11 +2721,6 @@ ansi-escapes@^7.0.0: dependencies: environment "^1.0.0" -ansi-html-community@^0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" - integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw== - ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" @@ -4224,11 +2818,6 @@ array-buffer-byte-length@^1.0.1, array-buffer-byte-length@^1.0.2: call-bound "^1.0.3" is-array-buffer "^3.0.5" -array-flatten@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== - array-includes@^3.1.9: version "3.1.9" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.9.tgz#1f0ccaa08e90cdbc3eb433210f903ad0f17c3f3a" @@ -4289,15 +2878,6 @@ arraybuffer.prototype.slice@^1.0.4: get-intrinsic "^1.2.6" is-array-buffer "^3.0.4" -asn1js@^3.0.10, asn1js@^3.0.6: - version "3.0.10" - resolved "https://registry.yarnpkg.com/asn1js/-/asn1js-3.0.10.tgz#df26c874c8a8b41ca605efea47b2ad07551013dd" - integrity sha512-S2s3aOytiKdFRdulw2qPE51MzjzVOisppcVv7jVFR+Kw0kxwvFrDcYA0h7Ndqbmj0HkMIXYWaoj7fli8kgx1eg== - dependencies: - pvtsutils "^1.3.6" - pvutils "^1.1.5" - tslib "^2.8.1" - async-function@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/async-function/-/async-function-1.0.0.tgz#509c9fca60eaf85034c6829838188e4e4c8ffb2b" @@ -4310,18 +2890,6 @@ async@~2.6.3: dependencies: lodash "^4.17.14" -autoprefixer@10.4.21: - version "10.4.21" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.21.tgz#77189468e7a8ad1d9a37fbc08efc9f480cf0a95d" - integrity sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ== - dependencies: - browserslist "^4.24.4" - caniuse-lite "^1.0.30001702" - fraction.js "^4.3.7" - normalize-range "^0.1.2" - picocolors "^1.1.1" - postcss-value-parser "^4.2.0" - autoprefixer@^10.4.23: version "10.4.23" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.23.tgz#c6aa6db8e7376fcd900f9fd79d143ceebad8c4e6" @@ -4345,37 +2913,6 @@ axobject-query@4.1.0: resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-4.1.0.tgz#28768c76d0e3cff21bc62a9e2d0b6ac30042a1ee" integrity sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ== -babel-loader@10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-10.0.0.tgz#b9743714c0e1e084b3e4adef3cd5faee33089977" - integrity sha512-z8jt+EdS61AMw22nSfoNJAZ0vrtmhPRVi6ghL3rCeRZI8cdNYFiV5xeV3HbE7rlZZNmGH8BVccwWt8/ED0QOHA== - dependencies: - find-up "^5.0.0" - -babel-plugin-polyfill-corejs2@^0.4.14: - version "0.4.14" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.14.tgz#8101b82b769c568835611542488d463395c2ef8f" - integrity sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg== - dependencies: - "@babel/compat-data" "^7.27.7" - "@babel/helper-define-polyfill-provider" "^0.6.5" - semver "^6.3.1" - -babel-plugin-polyfill-corejs3@^0.13.0: - version "0.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.13.0.tgz#bb7f6aeef7addff17f7602a08a6d19a128c30164" - integrity sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.6.5" - core-js-compat "^3.43.0" - -babel-plugin-polyfill-regenerator@^0.6.5: - version "0.6.5" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.5.tgz#32752e38ab6f6767b92650347bf26a31b16ae8c5" - integrity sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.6.5" - balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -4396,11 +2933,6 @@ baseline-browser-mapping@^2.11.20: resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.11.21.tgz#99af73cb8e54007e4f5345e132278e26c2662f2c" integrity sha512-uh8vpY/1/YyFkunIDFH/12p7/7VdPKA1hejMVEbdkEaWnUz0Hesvx5EbiU6XxjyHZIOju+ZMbQJkRh+es3/spQ== -batch@0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" - integrity sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw== - beasties@0.3.5: version "0.3.5" resolved "https://registry.yarnpkg.com/beasties/-/beasties-0.3.5.tgz#a52abea4ead105c1aded66b1a01a74e96585dc81" @@ -4422,11 +2954,6 @@ bidi-js@^1.1.0: dependencies: require-from-string "^2.0.2" -big.js@^5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" - integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== - bignumber.js@^9.1.0: version "9.1.2" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" @@ -4452,32 +2979,6 @@ body-parser@^2.2.1: raw-body "^3.0.1" type-is "^2.0.1" -body-parser@~1.20.5: - version "1.20.6" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.6.tgz#60c789c78e0992d906da0a29d71ae01d15c1ed76" - integrity sha512-p5tAzS57i5MV9fZFDj9LeIiTZEufbSe2eDozP+ElheSUq1m74CRq1jI4mYNDdVs9vQztXFLuk/Gd6BWTdwRJ5g== - dependencies: - bytes "~3.1.2" - content-type "~1.0.5" - debug "2.6.9" - depd "2.0.0" - destroy "~1.2.0" - http-errors "~2.0.1" - iconv-lite "~0.4.24" - on-finished "~2.4.1" - qs "~6.15.1" - raw-body "~2.5.3" - type-is "~1.6.18" - unpipe "~1.0.0" - -bonjour-service@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.2.1.tgz#eb41b3085183df3321da1264719fbada12478d02" - integrity sha512-oSzCS2zV14bh2kji6vNe7vrpJYCHGvcZnlffFQ1MEoX/WOeQ/teD8SYWKR942OI3INjq8OMNJlbPK5LLLUxFDw== - dependencies: - fast-deep-equal "^3.1.3" - multicast-dns "^7.2.5" - boolbase@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" @@ -4505,7 +3006,7 @@ braces@^3.0.3, braces@~3.0.2: dependencies: fill-range "^7.1.1" -browserslist@^4.21.5, browserslist@^4.23.0, browserslist@^4.24.0, browserslist@^4.24.4, browserslist@^4.28.1: +browserslist@^4.23.0, browserslist@^4.24.0, browserslist@^4.28.1: version "4.28.9" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.9.tgz#07ce6b449b90af880eb9bfb7cd39372cc4f71c8c" integrity sha512-EWazOblFYUvlGZcfGhPUPmYh3nikUxBVb+y9MJun5f3hBi812X+8MSQTujLBtgK3cf51fJWbWfOjyeO954d+Eg== @@ -4521,23 +3022,11 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -bundle-name@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/bundle-name/-/bundle-name-4.1.0.tgz#f3b96b34160d6431a19d7688135af7cfb8797889" - integrity sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q== - dependencies: - run-applescript "^7.0.0" - -bytes@3.1.2, bytes@^3.1.2, bytes@~3.1.2: +bytes@^3.1.2, bytes@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -bytestreamjs@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/bytestreamjs/-/bytestreamjs-2.0.1.tgz#a32947c7ce389a6fa11a09a9a563d0a45889535e" - integrity sha512-U1Z/ob71V/bXfVABvNr/Kumf5VyeQRBEm6Txb0PQ6S7V5GpBM3w4Cbqz/xPDicR5tN0uvDifng8C+5qECeGwyQ== - cacache@^20.0.0, cacache@^20.0.1: version "20.0.3" resolved "https://registry.yarnpkg.com/cacache/-/cacache-20.0.3.tgz#bd65205d5e6d86e02bbfaf8e4ce6008f1b81d119" @@ -4596,7 +3085,7 @@ camelcase@^5.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -caniuse-lite@^1.0.30001702, caniuse-lite@^1.0.30001760, caniuse-lite@^1.0.30001810: +caniuse-lite@^1.0.30001760, caniuse-lite@^1.0.30001810: version "1.0.30001810" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz#4970b477dea3278374de9bc43aa8f5d39fc3cda2" integrity sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg== @@ -4678,11 +3167,6 @@ chownr@^3.0.0: resolved "https://registry.yarnpkg.com/chownr/-/chownr-3.0.0.tgz#9855e64ecd240a9cc4267ce8a4aa5d24a1da15e4" integrity sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g== -chrome-trace-event@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz#05bffd7ff928465093314708c93bdfa9bd1f0f5b" - integrity sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ== - ci-info@^3.7.0: version "3.9.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" @@ -4740,15 +3224,6 @@ cliui@^9.0.1: strip-ansi "^7.1.0" wrap-ansi "^9.0.0" -clone-deep@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== - dependencies: - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^3.0.0" - clone@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" @@ -4778,7 +3253,7 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colorette@^2.0.10, colorette@^2.0.20: +colorette@^2.0.20: version "2.0.20" resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== @@ -4813,11 +3288,6 @@ commander@^10.0.0: resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== -commander@^2.20.0: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - commander@^4.0.0: version "4.1.1" resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" @@ -4833,27 +3303,6 @@ comment-parser@1.4.5: resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.4.5.tgz#6c595cd090737a1010fe5ff40d86e1d21b7bd6ce" integrity sha512-aRDkn3uyIlCFfk5NUA+VdwMmMsh8JGhc4hapfV4yxymHGQ3BVskMQfoXGpCo5IoBuQ9tS5iiVKhCpTcB4pW4qw== -compressible@~2.0.18: - version "2.0.18" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" - integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== - dependencies: - mime-db ">= 1.43.0 < 2" - -compression@^1.8.1: - version "1.8.2" - resolved "https://registry.yarnpkg.com/compression/-/compression-1.8.2.tgz#781397127ae2da00c0c5f7c76bda5b2a9b32a49f" - integrity sha512-o8vI5RE5A6EVVOd9o41jKp41aJom+QTEO/Bx8MYNjexMo/Bv2WOjUfZr+aL0WnYSgymUy6zeguqLTsIhV0gMvQ== - dependencies: - bytes "3.1.2" - compressible "~2.0.18" - debug "2.6.9" - destroy "1.2.0" - negotiator "~0.6.4" - on-headers "~1.1.0" - safe-buffer "5.2.1" - vary "~1.1.2" - concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -4872,29 +3321,17 @@ config-chain@^1.1.13: ini "^1.3.4" proto-list "~1.2.1" -connect-history-api-fallback@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz#647264845251a0daf25b97ce87834cace0f5f1c8" - integrity sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA== - content-disposition@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-1.0.1.tgz#a8b7bbeb2904befdfb6787e5c0c086959f605f9b" integrity sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q== -content-disposition@~0.5.4: - version "0.5.4" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" - integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== - dependencies: - safe-buffer "5.2.1" - -content-type@^1.0.5, content-type@~1.0.4, content-type@~1.0.5: +content-type@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== -convert-source-map@^1.5.1, convert-source-map@^1.7.0: +convert-source-map@^1.5.1: version "1.9.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== @@ -4909,41 +3346,11 @@ cookie-signature@^1.2.1: resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.2.2.tgz#57c7fc3cc293acab9fec54d73e15690ebe4a1793" integrity sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg== -cookie-signature@~1.0.6: - version "1.0.7" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.7.tgz#ab5dd7ab757c54e60f37ef6550f481c426d10454" - integrity sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA== - -cookie@^0.7.1, cookie@~0.7.1: +cookie@^0.7.1: version "0.7.2" resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== -copy-anything@^3.0.5: - version "3.0.5" - resolved "https://registry.yarnpkg.com/copy-anything/-/copy-anything-3.0.5.tgz#2d92dce8c498f790fa7ad16b01a1ae5a45b020a0" - integrity sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w== - dependencies: - is-what "^4.1.8" - -copy-webpack-plugin@14.0.0: - version "14.0.0" - resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-14.0.0.tgz#cd253b60e8e55bb41019dfe3ef2979ba705592c7" - integrity sha512-3JLW90aBGeaTLpM7mYQKpnVdgsUZRExY55giiZgLuX/xTQRUs1dOCwbBnWnvY6Q6rfZoXMNwzOQJCSZPppfqXA== - dependencies: - glob-parent "^6.0.1" - normalize-path "^3.0.0" - schema-utils "^4.2.0" - serialize-javascript "^7.0.3" - tinyglobby "^0.2.12" - -core-js-compat@^3.43.0: - version "3.48.0" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.48.0.tgz#7efbe1fc1cbad44008190462217cc5558adaeaa6" - integrity sha512-OM4cAF3D6VtH/WkLtWvyNC56EZVXsZdU3iqaMG2B4WvYrlqU831pc4UtG5yp0sE9z8Y02wVN7PjW5Zf9Gt0f1Q== - dependencies: - browserslist "^4.28.1" - core-js@^3.48.0: version "3.48.0" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.48.0.tgz#1f813220a47bbf0e667e3885c36cd6f0593bf14d" @@ -4976,16 +3383,6 @@ cose-base@^2.2.0: dependencies: layout-base "^2.0.0" -cosmiconfig@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-9.0.0.tgz#34c3fc58287b915f3ae905ab6dc3de258b55ad9d" - integrity sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg== - dependencies: - env-paths "^2.2.1" - import-fresh "^3.3.0" - js-yaml "^4.1.0" - parse-json "^5.2.0" - create-require@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" @@ -5007,20 +3404,6 @@ css-line-break@^2.1.0: dependencies: utrie "^1.0.2" -css-loader@7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-7.1.2.tgz#64671541c6efe06b0e22e750503106bdd86880f8" - integrity sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA== - dependencies: - icss-utils "^5.1.0" - postcss "^8.4.33" - postcss-modules-extract-imports "^3.1.0" - postcss-modules-local-by-default "^4.0.5" - postcss-modules-scope "^3.2.0" - postcss-modules-values "^4.0.0" - postcss-value-parser "^4.2.0" - semver "^7.5.4" - css-select@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/css-select/-/css-select-6.0.0.tgz#7e63f09881ad118084091048ed543786dad96644" @@ -5377,21 +3760,14 @@ dayjs@1.11.20, dayjs@^1.11.19, dayjs@^1.11.5: resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.20.tgz#88d919fd639dc991415da5f4cb6f1b6650811938" integrity sha512-YbwwqR/uYpeoP4pu043q+LTDLFBLApUP6VxRihdfNTqu4ubqMlGDLd6ErXhEgsyvY0K6nCs7nggYumAN+9uEuQ== -debug@2, debug@2.6.9: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@4, debug@^4.1.0, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@^4.3.6, debug@^4.4.0, debug@^4.4.1, debug@^4.4.3: +debug@4, debug@^4.1.0, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@^4.4.0, debug@^4.4.3: version "4.4.3" resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a" integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== dependencies: ms "^2.1.3" -debug@^3.2.6, debug@^3.2.7: +debug@^3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== @@ -5418,19 +3794,6 @@ deep-is@^0.1.3: resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== -default-browser-id@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-5.0.0.tgz#a1d98bf960c15082d8a3fa69e83150ccccc3af26" - integrity sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA== - -default-browser@^5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/default-browser/-/default-browser-5.2.1.tgz#7b7ba61204ff3e425b556869ae6d3e9d9f1712cf" - integrity sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg== - dependencies: - bundle-name "^4.1.0" - default-browser-id "^5.0.0" - defaults@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a" @@ -5447,11 +3810,6 @@ define-data-property@^1.0.1, define-data-property@^1.1.4: es-errors "^1.3.0" gopd "^1.0.1" -define-lazy-prop@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz#dbb19adfb746d7fc6d734a06b72f4a00d021255f" - integrity sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg== - define-properties@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" @@ -5473,31 +3831,16 @@ delegate@^3.1.2: resolved "https://registry.yarnpkg.com/delegate/-/delegate-3.2.0.tgz#b66b71c3158522e8ab5744f720d8ca0c2af59166" integrity sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw== -depd@2.0.0, depd@^2.0.0, depd@~2.0.0: +depd@^2.0.0, depd@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -depd@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== - -destroy@1.2.0, destroy@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" - integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== - detect-libc@^2.0.1, detect-libc@^2.0.3: version "2.1.2" resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.1.2.tgz#689c5dcdc1900ef5583a4cb9f6d7b473742074ad" integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ== -detect-node@^2.0.4: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - didyoumean@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037" @@ -5526,13 +3869,6 @@ dlv@^1.1.3: resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== -dns-packet@^5.2.2: - version "5.6.1" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.6.1.tgz#ae888ad425a9d1478a0674256ab866de1012cf2f" - integrity sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw== - dependencies: - "@leichtgewicht/ip-codec" "^2.0.1" - doctrine@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" @@ -5643,12 +3979,7 @@ emoji-regex@^9.2.2: resolved "https://registry.yarnpkg.com/emoji-toolkit/-/emoji-toolkit-9.0.1.tgz#b3da51a4d9b1e89608b6a8506a5df6dbc3125495" integrity sha512-sMMNqKNLVHXJfIKoPbrRJwtYuysVNC9GlKetr72zE3SSVbHqoeDLWVrxP0uM0AE0qvdl3hbUk+tJhhwXZrDHaw== -emojis-list@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" - integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== - -encodeurl@^2.0.0, encodeurl@~2.0.0: +encodeurl@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-2.0.0.tgz#7b8ea898077d7e409d3ac45474ea38eaf0857a58" integrity sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg== @@ -5660,14 +3991,6 @@ encoding@^0.1.13: dependencies: iconv-lite "^0.6.2" -enhanced-resolve@^5.19.0: - version "5.19.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.19.0.tgz#6687446a15e969eaa63c2fa2694510e17ae6d97c" - integrity sha512-phv3E1Xl4tQOShqSte26C7Fl84EwUdZsyOuSSk9qtAGyyQs2s3jJzComh+Abf4g187lUUAvH+H26omrqia2aGg== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.3.0" - entities@^4.2.0: version "4.5.0" resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" @@ -5683,7 +4006,7 @@ entities@^7.0.1: resolved "https://registry.yarnpkg.com/entities/-/entities-7.0.1.tgz#26e8a88889db63417dcb9a1e79a3f1bc92b5976b" integrity sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA== -env-paths@^2.2.0, env-paths@^2.2.1: +env-paths@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== @@ -5698,20 +4021,6 @@ err-code@^2.0.2: resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== -errno@^0.1.1: - version "0.1.8" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" - integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== - dependencies: - prr "~1.0.1" - -error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - es-abstract@^1.23.2, es-abstract@^1.23.5, es-abstract@^1.23.9, es-abstract@^1.24.0: version "1.24.1" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.24.1.tgz#f0c131ed5ea1bb2411134a8dd94def09c46c7899" @@ -5782,11 +4091,6 @@ es-errors@^1.3.0: resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== -es-module-lexer@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-2.0.0.tgz#f657cd7a9448dcdda9c070a3cb75e5dc1e85f5b1" - integrity sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw== - es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" @@ -5820,11 +4124,6 @@ es-to-primitive@^1.3.0: is-date-object "^1.0.5" is-symbol "^1.0.4" -esbuild-wasm@0.28.1: - version "0.28.1" - resolved "https://registry.yarnpkg.com/esbuild-wasm/-/esbuild-wasm-0.28.1.tgz#b173826abdc645419c3c7ac77e2d9128286a7a79" - integrity sha512-p/GD4E8oYRjg3kjdKrnMb0s4PzXgJF42e0MF4H0+ACyK/kIlFRp3e0fzOleIG+wBBm6MM3XQrbpe7soEA+vJIA== - esbuild@0.28.1, "esbuild@^0.27.0 || ^0.28.0": version "0.28.1" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.28.1.tgz#ef45b4634c9c9d97a296aea4114a5f9840f95578" @@ -5862,7 +4161,7 @@ escalade@^3.1.1, escalade@^3.2.0: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== -escape-html@^1.0.3, escape-html@~1.0.3: +escape-html@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== @@ -5951,14 +4250,6 @@ eslint-plugin-tailwindcss@^3.18.2: fast-glob "^3.2.5" postcss "^8.4.4" -eslint-scope@5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - eslint-scope@^8.4.0: version "8.4.0" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.4.0.tgz#88e646a207fad61436ffa39eb505147200655c82" @@ -5992,18 +4283,18 @@ eslint-visitor-keys@^5.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-5.0.0.tgz#b9aa1a74aa48c44b3ae46c1597ce7171246a94a9" integrity sha512-A0XeIi7CXU7nPlfHS9loMYEKxUaONu/hTEzHTGba9Huu94Cq1hPivf+DE5erJozZOky0LfvXAyrV/tcswpLI0Q== -eslint@9.39.4: - version "9.39.4" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.39.4.tgz#855da1b2e2ad66dc5991195f35e262bcec8117b5" - integrity sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ== +eslint@9.39.5: + version "9.39.5" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.39.5.tgz#2a4e3c8b0f753196efae943c8ffaa8730fc6a3fa" + integrity sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw== dependencies: "@eslint-community/eslint-utils" "^4.8.0" "@eslint-community/regexpp" "^4.12.1" "@eslint/config-array" "^0.21.2" "@eslint/config-helpers" "^0.4.2" "@eslint/core" "^0.17.0" - "@eslint/eslintrc" "^3.3.5" - "@eslint/js" "9.39.4" + "@eslint/eslintrc" "^3.3.6" + "@eslint/js" "9.39.5" "@eslint/plugin-kit" "^0.4.1" "@humanfs/node" "^0.16.6" "@humanwhocodes/module-importer" "^1.0.1" @@ -6064,11 +4355,6 @@ esrecurse@^4.3.0: dependencies: estraverse "^5.2.0" -estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - estraverse@^5.1.0, estraverse@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" @@ -6079,7 +4365,7 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -etag@^1.8.1, etag@~1.8.1: +etag@^1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== @@ -6089,21 +4375,11 @@ eve-raphael@0.5.0: resolved "https://registry.yarnpkg.com/eve-raphael/-/eve-raphael-0.5.0.tgz#17c754b792beef3fa6684d79cf5a47c63c4cda30" integrity sha512-jrxnPsCGqng1UZuEp9DecX/AuSyAszATSjf4oEcRxvfxa1Oux4KkIPKBAAWWnpdwfARtr+Q0o9aPYWjsROD7ug== -eventemitter3@^4.0.0: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - eventemitter3@^5.0.1: version "5.0.4" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.4.tgz#a86d66170433712dde814707ac52b5271ceb1feb" integrity sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw== -events@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - eventsource-parser@^3.0.0, eventsource-parser@^3.0.1: version "3.0.6" resolved "https://registry.yarnpkg.com/eventsource-parser/-/eventsource-parser-3.0.6.tgz#292e165e34cacbc936c3c92719ef326d4aeb4e90" @@ -6129,43 +4405,6 @@ express-rate-limit@^8.2.1: debug "^4.4.3" ip-address "^10.2.0" -express@^4.22.1: - version "4.22.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.22.2.tgz#c17ae0981e5efc24b22272f0e041c4662503b700" - integrity sha512-IuL+Elrou2ZvCFHs18/CIzy2Nzvo25nZ1/D2eIZlz7c+QUayAcYoiM2BthCjs+EBHVpjYjcuLDAiCWgeIX3X1Q== - dependencies: - accepts "~1.3.8" - array-flatten "1.1.1" - body-parser "~1.20.5" - content-disposition "~0.5.4" - content-type "~1.0.4" - cookie "~0.7.1" - cookie-signature "~1.0.6" - debug "2.6.9" - depd "2.0.0" - encodeurl "~2.0.0" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "~1.3.1" - fresh "~0.5.2" - http-errors "~2.0.0" - merge-descriptors "1.0.3" - methods "~1.1.2" - on-finished "~2.4.1" - parseurl "~1.3.3" - path-to-regexp "~0.1.12" - proxy-addr "~2.0.7" - qs "~6.15.1" - range-parser "~1.2.1" - safe-buffer "5.2.1" - send "~0.19.0" - serve-static "~1.16.2" - setprototypeof "1.2.0" - statuses "~2.0.1" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - express@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/express/-/express-5.2.1.tgz#8f21d15b6d327f92b4794ecf8cb08a72f956ac04" @@ -6205,7 +4444,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@3.3.3, fast-glob@^3.2.5, fast-glob@^3.3.2: +fast-glob@^3.2.5, fast-glob@^3.3.2: version "3.3.3" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.3.tgz#d06d585ce8dba90a16b0505c543c3ccfb3aeb818" integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg== @@ -6238,13 +4477,6 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" -faye-websocket@^0.11.3: - version "0.11.4" - resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" - integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== - dependencies: - websocket-driver ">=0.5.1" - fdir@^6.4.4, fdir@^6.5.0: version "6.5.0" resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350" @@ -6284,19 +4516,6 @@ finalhandler@^2.1.0: parseurl "^1.3.3" statuses "^2.0.1" -finalhandler@~1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.3.2.tgz#1ebc2228fc7673aac4a472c310cc05b77d852b88" - integrity sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg== - dependencies: - debug "2.6.9" - encodeurl "~2.0.0" - escape-html "~1.0.3" - on-finished "~2.4.1" - parseurl "~1.3.3" - statuses "~2.0.2" - unpipe "~1.0.0" - find-replace@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/find-replace/-/find-replace-3.0.0.tgz#3e7e23d3b05167a76f770c9fbd5258b0def68c38" @@ -6335,11 +4554,6 @@ flat-cache@^4.0.0: flatted "^3.2.9" keyv "^4.5.4" -flat@^5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" - integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== - flatted@^3.2.9: version "3.4.2" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.4.2.tgz#f5c23c107f0f37de8dbdf24f13722b3b98d52726" @@ -6353,11 +4567,6 @@ flatted@^3.2.9: version "0.9.0-alpha" resolved "https://github.com/thingsboard/flot.git#c2734540477d8b261d04ee18d4d38af3b0ecb81b" -follow-redirects@^1.0.0: - version "1.16.1" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.16.1.tgz#6e0efa40a727fb369b98dab15883ec34787d675e" - integrity sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg== - font-awesome@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133" @@ -6390,11 +4599,6 @@ forwarded@0.2.0: resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== -fraction.js@^4.3.7: - version "4.3.7" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.3.7.tgz#06ca0085157e42fda7f9e726e79fefc4068840f7" - integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew== - fraction.js@^5.3.4: version "5.3.4" resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-5.3.4.tgz#8c0fcc6a9908262df4ed197427bdeef563e0699a" @@ -6405,11 +4609,6 @@ fresh@^2.0.0: resolved "https://registry.yarnpkg.com/fresh/-/fresh-2.0.0.tgz#8dd7df6a1b3a1b3a5cf186c05a5dd267622635a4" integrity sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A== -fresh@~0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== - fs-extra@^10.0.0: version "10.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" @@ -6518,18 +4717,13 @@ glob-parent@^5.1.2, glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob-parent@^6.0.1, glob-parent@^6.0.2: +glob-parent@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== dependencies: is-glob "^4.0.3" -glob-to-regex.js@^1.0.0, glob-to-regex.js@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/glob-to-regex.js/-/glob-to-regex.js-1.2.0.tgz#2b323728271d133830850e32311f40766c5f6413" - integrity sha512-QMwlOQKU/IzqMUOAZWubUOT8Qft+Y0KQWnX9nK3ch0CJg0tTp4TvGZsTfudYKv2NzoQSyPcnA6TYeIQ3jGichQ== - glob-to-regexp@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" @@ -6581,7 +4775,7 @@ gopd@^1.0.1, gopd@^1.2.0: resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== -graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.6: +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.6: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -6596,11 +4790,6 @@ hammerjs@^2.0.8: resolved "https://registry.yarnpkg.com/hammerjs/-/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1" integrity sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ== -handle-thing@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" - integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== - has-bigints@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" @@ -6661,16 +4850,6 @@ hosted-git-info@^9.0.0: dependencies: lru-cache "^11.1.0" -hpack.js@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" - integrity sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ== - dependencies: - inherits "^2.0.1" - obuf "^1.0.0" - readable-stream "^2.0.1" - wbuf "^1.1.0" - html-entities@^2.6.0: version "2.6.0" resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-2.6.0.tgz#7c64f1ea3b36818ccae3d3fb48b6974208e984f8" @@ -6699,12 +4878,7 @@ http-cache-semantics@^4.1.1: resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz#09eead3b16c6d85552857cc3fbd888d8353a2aaf" integrity sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA== -http-deceiver@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" - integrity sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw== - -http-errors@^2.0.0, http-errors@^2.0.1, http-errors@~2.0.0, http-errors@~2.0.1: +http-errors@^2.0.0, http-errors@^2.0.1, http-errors@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.1.tgz#36d2f65bc909c8790018dd36fb4d93da6caae06b" integrity sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ== @@ -6715,21 +4889,6 @@ http-errors@^2.0.0, http-errors@^2.0.1, http-errors@~2.0.0, http-errors@~2.0.1: statuses "~2.0.2" toidentifier "~1.0.1" -http-errors@~1.6.2: - version "1.6.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" - integrity sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A== - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.0" - statuses ">= 1.4.0 < 2" - -http-parser-js@>=0.5.1: - version "0.5.8" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" - integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== - http-proxy-agent@^7.0.0: version "7.0.2" resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz#9a8b1f246866c028509486585f62b8f2c18c270e" @@ -6738,38 +4897,6 @@ http-proxy-agent@^7.0.0: agent-base "^7.1.0" debug "^4.3.4" -http-proxy-middleware@3.0.7: - version "3.0.7" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-3.0.7.tgz#53d3a1fe175bcacc507711cc52a0b32baf2c3442" - integrity sha512-iwbQltVlx8bCrqePUM8C+hllHvdawVhQJaLrj1X7qllkvFQdXFsr16pW/mo9+JDVjN+QO2XUx9jd8SmoFkE5qw== - dependencies: - "@types/http-proxy" "^1.17.15" - debug "^4.3.6" - http-proxy "^1.18.1" - is-glob "^4.0.3" - is-plain-object "^5.0.0" - micromatch "^4.0.8" - -http-proxy-middleware@^2.0.9: - version "2.0.9" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.9.tgz#e9e63d68afaa4eee3d147f39149ab84c0c2815ef" - integrity sha512-c1IyJYLYppU574+YI7R4QyX2ystMtVXZwIdzazUIPIJsHuWNd+mho2j+bKoHftndicGj9yh+xjd+l0yj7VeT1Q== - dependencies: - "@types/http-proxy" "^1.17.8" - http-proxy "^1.18.1" - is-glob "^4.0.1" - is-plain-obj "^3.0.0" - micromatch "^4.0.2" - -http-proxy@^1.18.1: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - https-proxy-agent@7.0.6, https-proxy-agent@^7.0.1: version "7.0.6" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz#da8dfeac7da130b05c2ba4b59c9b6cd66611a6b9" @@ -6783,11 +4910,6 @@ hugerte@~1.0.12: resolved "https://registry.yarnpkg.com/hugerte/-/hugerte-1.0.12.tgz#84337116bd7e76c39e851a51d5dc0214af9882b8" integrity sha512-/JDCdJy1C83a7+RjlfWx6EjRvxqmmHFA5Pzcq8Y0ngdBESiC+2xa4ogsqnRPeadF04Cs95YfTd1SKquDdksjRw== -hyperdyperid@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/hyperdyperid/-/hyperdyperid-1.2.0.tgz#59668d323ada92228d2a869d3e474d5a33b69e6b" - integrity sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A== - iconv-lite@0.6, iconv-lite@^0.6.2, iconv-lite@^0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" @@ -6795,13 +4917,6 @@ iconv-lite@0.6, iconv-lite@^0.6.2, iconv-lite@^0.6.3: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -iconv-lite@^0.4.4, iconv-lite@~0.4.24: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - iconv-lite@^0.7.0, iconv-lite@~0.7.0: version "0.7.2" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.7.2.tgz#d0bdeac3f12b4835b7359c2ad89c422a4d1cc72e" @@ -6809,11 +4924,6 @@ iconv-lite@^0.7.0, iconv-lite@~0.7.0: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -icss-utils@^5.0.0, icss-utils@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" - integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== - ignore-walk@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-8.0.0.tgz#380c173badc3a18c57ff33440753f0052f572b14" @@ -6841,7 +4951,7 @@ immutable@^5.0.2: resolved "https://registry.yarnpkg.com/immutable/-/immutable-5.1.9.tgz#ac23c3a01992ab665e14ac9ffff298f28cd74a0c" integrity sha512-m8nVez3rwrgmWxtLMt1ZYXB2Lv7OKYn/disyxAlSDYAlKSlFoPPfIAmAM/M5xqL4m4C/wAPw7S2/CNaUii1Hxg== -import-fresh@^3.2.1, import-fresh@^3.3.0: +import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -6854,12 +4964,7 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== -inherits@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== - -inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3, inherits@~2.0.4: +inherits@~2.0.3, inherits@~2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -6908,11 +5013,6 @@ ipaddr.js@1.9.1: resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== -ipaddr.js@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.2.0.tgz#d33fa7bac284f4de7af949638c9d68157c6b92e8" - integrity sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA== - is-array-buffer@^3.0.4, is-array-buffer@^3.0.5: version "3.0.5" resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.5.tgz#65742e1e687bd2cc666253068fd8707fe4d44280" @@ -6922,11 +5022,6 @@ is-array-buffer@^3.0.4, is-array-buffer@^3.0.5: call-bound "^1.0.3" get-intrinsic "^1.2.6" -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== - is-async-function@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/is-async-function/-/is-async-function-2.1.1.tgz#3e69018c8e04e73b738793d020bfe884b9fd3523" @@ -6994,11 +5089,6 @@ is-docker@^2.0.0: resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== -is-docker@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" - integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== - is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -7046,13 +5136,6 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" -is-inside-container@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4" - integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA== - dependencies: - is-docker "^3.0.0" - is-interactive@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-2.0.0.tgz#40c57614593826da1100ade6059778d597f16e90" @@ -7068,11 +5151,6 @@ is-negative-zero@^2.0.3: resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz#ced903a027aca6381b777a5743069d7376a49747" integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== -is-network-error@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-network-error/-/is-network-error-1.1.0.tgz#d26a760e3770226d11c169052f266a4803d9c997" - integrity sha512-tUdRRAnhT+OtCZR/LxZelH/C7QtjtFrTu5tXCA8pl55eTUElUHT+GPYV8MBMBvea/j+NxQqVt3LbWMRir7Gx9g== - is-number-object@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.1.1.tgz#144b21e95a1bc148205dcc2814a9134ec41b2541" @@ -7086,23 +5164,6 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-plain-obj@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" - integrity sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA== - -is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-plain-object@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" - integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== - is-promise@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3" @@ -7184,11 +5245,6 @@ is-weakset@^2.0.3: call-bound "^1.0.3" get-intrinsic "^1.2.6" -is-what@^4.1.8: - version "4.1.16" - resolved "https://registry.yarnpkg.com/is-what/-/is-what-4.1.16.tgz#1ad860a19da8b4895ad5495da3182ce2acdd7a6f" - integrity sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A== - is-wsl@^2.1.1: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" @@ -7196,13 +5252,6 @@ is-wsl@^2.1.1: dependencies: is-docker "^2.0.0" -is-wsl@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-3.1.0.tgz#e1c657e39c10090afcbedec61720f6b924c3cbd2" - integrity sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw== - dependencies: - is-inside-container "^1.0.0" - isarray@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" @@ -7223,11 +5272,6 @@ isexe@^3.1.1: resolved "https://registry.yarnpkg.com/isexe/-/isexe-3.1.1.tgz#4a407e2bd78ddfb14bea0c27c6f7072dde775f0d" integrity sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ== -isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== - istanbul-lib-coverage@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" @@ -7253,16 +5297,7 @@ jackspeak@^3.1.2: optionalDependencies: "@pkgjs/parseargs" "^0.11.0" -jest-worker@^27.4.5: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" - integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" - -jiti@^1.20.0, jiti@^1.21.7: +jiti@^1.21.7: version "1.21.7" resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.7.tgz#9dd81043424a3d28458b193d965f0d18a2300ba9" integrity sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A== @@ -7314,7 +5349,7 @@ js-tokens@^4.0.0: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@^4.1.0, js-yaml@^4.3.0: +js-yaml@^4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.3.2.tgz#8e44fb14a2643c59726bb15787b5f1512cb3d3fb" integrity sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA== @@ -7326,7 +5361,7 @@ jsdoc-type-pratt-parser@~7.1.0: resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-7.1.0.tgz#f2d63cbbc3d0d4eaea257eb5f847e8ebc5908dd5" integrity sha512-SX7q7XyCwzM/MEDCYz0l8GgGbJAACGFII9+WfNYr5SLEKukHWRy2Jk3iWRe7P+lpYJNs7oQ+OSei4JtKGUjd7A== -jsesc@^3.0.2, jsesc@~3.1.0: +jsesc@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.1.0.tgz#74d335a234f67ed19907fdadfac7ccf9d409825d" integrity sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA== @@ -7336,11 +5371,6 @@ json-buffer@3.0.1: resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== -json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" - integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== - json-parse-even-better-errors@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-5.0.0.tgz#93c89f529f022e5dadc233409324f0167b1e903e" @@ -7395,7 +5425,7 @@ json5@^1.0.2: dependencies: minimist "^1.2.0" -json5@^2.1.2, json5@^2.2.2, json5@^2.2.3: +json5@^2.2.2, json5@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== @@ -7448,13 +5478,6 @@ jszip@^3.10.1: readable-stream "~2.3.6" setimmediate "^1.0.5" -karma-source-map-support@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/karma-source-map-support/-/karma-source-map-support-1.4.0.tgz#58526ceccf7e8730e56effd97a4de8d712ac0d6b" - integrity sha512-RsBECncGO17KAoJCYXjv+ckIz+Ii9NCi+9enk+rq6XC81ezYkb4/RHE6CTXdA7IOJqoF3wcaLfVG0CPmE5ca6A== - dependencies: - source-map-support "^0.5.5" - katex@^0.16.0, katex@^0.16.25: version "0.16.45" resolved "https://registry.yarnpkg.com/katex/-/katex-0.16.45.tgz#ba60d39c54746b6b8d39ce0e7f6eace07143149c" @@ -7479,11 +5502,6 @@ khroma@^2.1.0: resolved "https://registry.yarnpkg.com/khroma/-/khroma-2.1.0.tgz#45f2ce94ce231a437cf5b63c2e886e6eb42bbbb1" integrity sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw== -kind-of@^6.0.2: - version "6.0.3" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - klaw-sync@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" @@ -7503,14 +5521,6 @@ langium@^4.0.0: vscode-languageserver-textdocument "~1.0.11" vscode-uri "~3.1.0" -launch-editor@^2.14.1: - version "2.14.2" - resolved "https://registry.yarnpkg.com/launch-editor/-/launch-editor-2.14.2.tgz#d476a1cb09159d9aee6ca225a8c7c6c1d94d6331" - integrity sha512-NHJEb30MGBCkmZXLZwz25t37QR4aY03ZzPYUJXOJaOa92uWwExI9SBQUuIznBYc1xkD7cJNGX7oc3Nl3sq2kQQ== - dependencies: - picocolors "^1.1.1" - shell-quote "^1.10.0" - layout-base@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/layout-base/-/layout-base-1.0.2.tgz#1291e296883c322a9dd4c5dd82063721b53e26e2" @@ -7553,27 +5563,6 @@ leaflet@1.9.4: resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.9.4.tgz#23fae724e282fa25745aff82ca4d394748db7d8d" integrity sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA== -less-loader@12.3.0: - version "12.3.0" - resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-12.3.0.tgz#d4a00361568be86a97da3df4f16954b0d4c15340" - integrity sha512-0M6+uYulvYIWs52y0LqN4+QM9TqWAohYSNTo4htE8Z7Cn3G/qQMEmktfHmyJT23k+20kU9zHH2wrfFXkxNLtVw== - -less@4.9.0, less@>=4.9.0: - version "4.9.0" - resolved "https://registry.yarnpkg.com/less/-/less-4.9.0.tgz#df49f940f89a1d158c315609735d3ca12da3e740" - integrity sha512-umRhrCH7fCi8Uj2RcwKjJdvUORTjeWqkdKx0LbcZvjIwsAVsnIAGcxHaqowPeBFBjQuWOeC/bve0AlpFzF/+SQ== - dependencies: - copy-anything "^3.0.5" - parse-node-version "^1.0.1" - optionalDependencies: - errno "^0.1.1" - graceful-fs "^4.1.2" - make-dir "^5.1.0" - mime "^1.4.1" - needle "^3.1.0" - probe-image-size "^7.2.3" - source-map "~0.6.0" - levn@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" @@ -7587,13 +5576,6 @@ libphonenumber-js@^1.12.35: resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.12.35.tgz#149d4a66b2a7a518998c430c6d33465abaed23c4" integrity sha512-T/Cz6iLcsZdb5jDncDcUNhSAJ0VlSC9TnsqtBNdpkaAmy24/R1RhErtNWVWBrcUZKs9hSgaVsBkc7HxYnazIfw== -license-webpack-plugin@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-4.0.2.tgz#1e18442ed20b754b82f1adeff42249b81d11aec6" - integrity sha512-771TFWFD70G1wLTC4oU2Cw4qvtmNrIw+wRvBtn+okgHl7slJVi7zfNcdmqDL72BojM30VNJ2UHylr1o77U37Jw== - dependencies: - webpack-sources "^3.0.0" - lie@~3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" @@ -7642,25 +5624,6 @@ lmdb@3.4.2: "@lmdb/lmdb-win32-arm64" "3.4.2" "@lmdb/lmdb-win32-x64" "3.4.2" -loader-runner@^4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.1.tgz#6c76ed29b0ccce9af379208299f07f876de737e3" - integrity sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q== - -loader-utils@3.3.1: - version "3.3.1" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-3.3.1.tgz#735b9a19fd63648ca7adbd31c2327dfe281304e5" - integrity sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg== - -loader-utils@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" - integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== - dependencies: - big.js "^5.2.2" - emojis-list "^3.0.0" - json5 "^2.1.2" - locate-path@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" @@ -7685,11 +5648,6 @@ lodash.camelcase@^4.3.0: resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== -lodash.debounce@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== - lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" @@ -7743,11 +5701,6 @@ magic-string@0.30.17: dependencies: "@jridgewell/sourcemap-codec" "^1.5.0" -make-dir@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-5.1.0.tgz#59b2d9acf7ffa543d14238617a697458fa8dd5c9" - integrity sha512-IfpFq6UM39dUNiphpA6uDezNx/AvWyhwfICWPR3t1VspkgkMZrL+Rk1RbN1bx+aeNYwOrqGJgEgV3yotk+ZUVw== - make-error@^1.1.1: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" @@ -7810,51 +5763,16 @@ math-intrinsics@^1.1.0: resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9" integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== - media-typer@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.0.tgz#6ab74b8f2d3320f2064b2a87a38e7931ff3a5561" integrity sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw== -memfs@^4.43.1, memfs@^4.6.0: - version "4.56.10" - resolved "https://registry.yarnpkg.com/memfs/-/memfs-4.56.10.tgz#eaf2f6556db10f91f1e9ad9f1274fd988c646202" - integrity sha512-eLvzyrwqLHnLYalJP7YZ3wBe79MXktMdfQbvMrVD80K+NhrIukCVBvgP30zTJYEEDh9hZ/ep9z0KOdD7FSHo7w== - dependencies: - "@jsonjoy.com/fs-core" "4.56.10" - "@jsonjoy.com/fs-fsa" "4.56.10" - "@jsonjoy.com/fs-node" "4.56.10" - "@jsonjoy.com/fs-node-builtins" "4.56.10" - "@jsonjoy.com/fs-node-to-fsa" "4.56.10" - "@jsonjoy.com/fs-node-utils" "4.56.10" - "@jsonjoy.com/fs-print" "4.56.10" - "@jsonjoy.com/fs-snapshot" "4.56.10" - "@jsonjoy.com/json-pack" "^1.11.0" - "@jsonjoy.com/util" "^1.9.0" - glob-to-regex.js "^1.0.1" - thingies "^2.5.0" - tree-dump "^1.0.3" - tslib "^2.0.0" - -merge-descriptors@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.3.tgz#d80319a65f3c7935351e5cfdac8f9318504dbed5" - integrity sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ== - merge-descriptors@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-2.0.0.tgz#ea922f660635a2249ee565e0449f951e6b603808" integrity sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g== -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - merge2@^1.3.0: version "1.4.1" resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" @@ -7887,11 +5805,6 @@ merge2@^1.3.0: ts-dedent "^2.2.0" uuid "^11.1.0" -methods@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== - micromatch@^4.0.2, micromatch@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" @@ -7900,53 +5813,23 @@ micromatch@^4.0.2, micromatch@^4.0.8: braces "^3.0.3" picomatch "^2.3.1" -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -"mime-db@>= 1.43.0 < 2", mime-db@^1.54.0: +mime-db@^1.54.0: version "1.54.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5" integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ== -mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mime-types@^3.0.0, mime-types@^3.0.1, mime-types@^3.0.2: +mime-types@^3.0.0, mime-types@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.2.tgz#39002d4182575d5af036ffa118100f2524b2e2ab" integrity sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A== dependencies: mime-db "^1.54.0" -mime@1.6.0, mime@^1.4.1: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== - mimic-function@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/mimic-function/-/mimic-function-5.0.1.tgz#acbe2b3349f99b9deaca7fb70e48b83e94e67076" integrity sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA== -mini-css-extract-plugin@2.9.4: - version "2.9.4" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.4.tgz#cafa1a42f8c71357f49cd1566810d74ff1cb0200" - integrity sha512-ZWYT7ln73Hptxqxk2DxPU9MmapXRhxkJD6tkSR04dnQxm8BGu2hzgKLugK5yySD97u/8yy7Ma7E76k9ZdvtjkQ== - dependencies: - schema-utils "^4.0.0" - tapable "^2.2.1" - -minimalistic-assert@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - minimatch@9.0.1, minimatch@^9.0.4, minimatch@^9.0.5, minimatch@^9.0.7: version "9.0.7" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.7.tgz#d76c4d0b3b527877016d6cc1b9922fc8e0ffe7b0" @@ -8068,12 +5951,7 @@ mrmime@2.0.1: resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-2.0.1.tgz#bc3e87f7987853a54c9850eeb1f1078cd44adddc" integrity sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ== -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== - -ms@2.1.3, ms@^2.1.1, ms@^2.1.3: +ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -8099,14 +5977,6 @@ msgpackr@^1.11.2: optionalDependencies: msgpackr-extract "^3.0.2" -multicast-dns@^7.2.5: - version "7.2.5" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced" - integrity sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg== - dependencies: - dns-packet "^5.2.2" - thunky "^1.0.2" - murmurhash-js@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/murmurhash-js/-/murmurhash-js-1.0.0.tgz#b06278e21fc6c37fa5313732b0412bcb6ae15f51" @@ -8136,43 +6006,11 @@ natural-compare@^1.4.0: resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== -needle@^2.5.2: - version "2.9.1" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.9.1.tgz#22d1dffbe3490c2b83e301f7709b6736cd8f2684" - integrity sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ== - dependencies: - debug "^3.2.6" - iconv-lite "^0.4.4" - sax "^1.2.4" - -needle@^3.1.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/needle/-/needle-3.3.1.tgz#63f75aec580c2e77e209f3f324e2cdf3d29bd049" - integrity sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q== - dependencies: - iconv-lite "^0.6.3" - sax "^1.2.4" - -negotiator@0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - negotiator@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.0.0.tgz#b6c91bb47172d69f93cfd7c357bbb529019b5f6a" integrity sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg== -negotiator@~0.6.4: - version "0.6.4" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.4.tgz#777948e2452651c570b712dd01c23e262713fff7" - integrity sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w== - -neo-async@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" - integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== - ngrx-store-freeze@^0.2.4: version "0.2.4" resolved "https://registry.yarnpkg.com/ngrx-store-freeze/-/ngrx-store-freeze-0.2.4.tgz#146687cdf7e21244eb9003c7e883f2125847076c" @@ -8326,11 +6164,6 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -normalize-range@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" - integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== - npm-bundled@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-5.0.0.tgz#5025d847cfd06c7b8d9432df01695d0133d9ee80" @@ -8480,23 +6313,13 @@ objectpath@^2.0.0: resolved "https://registry.yarnpkg.com/objectpath/-/objectpath-2.0.0.tgz#c4463123fcf00469be8282a2ea51704fb9469cc1" integrity sha512-IWH9JOBUJz4HHBtXm1qqwoPiDAB8Qp+ZBE4PpXsOlXVEnxGa+fAgfAZFwN6L1cUYvzPpFeJ1HsY1WAhoOqQq7Q== -obuf@^1.0.0, obuf@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" - integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== - -on-finished@^2.4.1, on-finished@~2.4.1: +on-finished@^2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== dependencies: ee-first "1.1.1" -on-headers@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.1.0.tgz#59da4f91c45f5f989c6e4bcedc5a3b0aed70ff65" - integrity sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A== - once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -8511,16 +6334,6 @@ onetime@^7.0.0: dependencies: mimic-function "^5.0.0" -open@10.2.0, open@^10.0.3: - version "10.2.0" - resolved "https://registry.yarnpkg.com/open/-/open-10.2.0.tgz#b9d855be007620e80b6fb05fac98141fe62db73c" - integrity sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA== - dependencies: - default-browser "^5.2.1" - define-lazy-prop "^3.0.0" - is-inside-container "^1.0.0" - wsl-utils "^0.1.0" - open@^7.4.2: version "7.4.2" resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" @@ -8603,15 +6416,6 @@ p-map@^7.0.2: resolved "https://registry.yarnpkg.com/p-map/-/p-map-7.0.4.tgz#b81814255f542e252d5729dca4d66e5ec14935b8" integrity sha512-tkAQEw8ysMzmkhgw8k+1U/iPhWNhykKnSk4Rd5zLoPJCuJaGRPo6YposrZgaxHKzDHdDWWZvE/Sk7hsL2X/CpQ== -p-retry@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-6.2.0.tgz#8d6df01af298750009691ce2f9b3ad2d5968f3bd" - integrity sha512-JA6nkq6hKyWLLasXQXUrO4z8BUZGUt/LjlJxx8Gb2+2ntodU/SS63YZ8b0LUTbQ8ZB9iwOfhEPhg4ykKnn2KsA== - dependencies: - "@types/retry" "0.12.2" - is-network-error "^1.0.0" - retry "^0.13.1" - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -8669,21 +6473,6 @@ parse-imports-exports@^0.2.4: dependencies: parse-statements "1.0.11" -parse-json@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" - integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - -parse-node-version@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parse-node-version/-/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b" - integrity sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA== - parse-statements@1.0.11: version "1.0.11" resolved "https://registry.yarnpkg.com/parse-statements/-/parse-statements-1.0.11.tgz#8787c5d383ae5746568571614be72b0689584344" @@ -8712,7 +6501,7 @@ parse5@^8.0.0: dependencies: entities "^6.0.0" -parseurl@^1.3.3, parseurl@~1.3.2, parseurl@~1.3.3: +parseurl@^1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== @@ -8778,11 +6567,6 @@ path-to-regexp@^8.0.0: resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.4.0.tgz#8e98fcd94826aff01a90c544ef74ffbaca3a78ed" integrity sha512-PuseHIvAnz3bjrM2rGJtSgo1zjgxapTLZ7x2pjhzWwlp4SJQgK3f3iZIQwkpEnBaKz6seKBADpM4B4ySkuYypg== -path-to-regexp@~0.1.12: - version "0.1.13" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.13.tgz#9b22ec16bc3ab88d05a0c7e369869421401ab17d" - integrity sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA== - pathe@^2.0.1, pathe@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/pathe/-/pathe-2.0.3.tgz#3ecbec55421685b70a9da872b2cff3e1cbed1716" @@ -8846,18 +6630,6 @@ pkg-types@^1.3.1: mlly "^1.7.4" pathe "^2.0.1" -pkijs@^3.3.3: - version "3.4.0" - resolved "https://registry.yarnpkg.com/pkijs/-/pkijs-3.4.0.tgz#d9164def30ff6d97be2d88966d5e36192499ca9c" - integrity sha512-emEcLuomt2j03vxD54giVB4SxTjnsqkU692xZOZXHDVoYyypEm+b3jpiTcc+Cf+myooc+/Ly0z01jqeNHVgJGw== - dependencies: - "@noble/hashes" "1.4.0" - asn1js "^3.0.6" - bytestreamjs "^2.0.1" - pvtsutils "^1.3.6" - pvutils "^1.1.3" - tslib "^2.8.1" - pngjs@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb" @@ -8919,48 +6691,11 @@ postcss-js@^4.0.1: dependencies: lilconfig "^3.1.1" -postcss-loader@8.1.1: - version "8.1.1" - resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-8.1.1.tgz#2822589e7522927344954acb55bbf26e8b195dfe" - integrity sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ== - dependencies: - cosmiconfig "^9.0.0" - jiti "^1.20.0" - semver "^7.5.4" - postcss-media-query-parser@^0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz#27b39c6f4d94f81b1a73b8f76351c609e5cef244" integrity sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig== -postcss-modules-extract-imports@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz#b4497cb85a9c0c4b5aabeb759bb25e8d89f15002" - integrity sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q== - -postcss-modules-local-by-default@^4.0.5: - version "4.0.5" - resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.5.tgz#f1b9bd757a8edf4d8556e8d0f4f894260e3df78f" - integrity sha512-6MieY7sIfTK0hYfafw1OMEG+2bg8Q1ocHCpoWLqOKj3JXlKu4G7btkmM/B7lFubYkYWmRSPLZi5chid63ZaZYw== - dependencies: - icss-utils "^5.0.0" - postcss-selector-parser "^6.0.2" - postcss-value-parser "^4.1.0" - -postcss-modules-scope@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.2.0.tgz#a43d28289a169ce2c15c00c4e64c0858e43457d5" - integrity sha512-oq+g1ssrsZOsx9M96c5w8laRmvEu9C3adDSjI8oTcbfkrTE8hx/zfyobUoWIxaKPO8bt6S62kxpw5GqypEw1QQ== - dependencies: - postcss-selector-parser "^6.0.4" - -postcss-modules-values@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c" - integrity sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ== - dependencies: - icss-utils "^5.0.0" - postcss-nested@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-6.2.0.tgz#4c2d22ab5f20b9cb61e2c5c5915950784d068131" @@ -8968,7 +6703,7 @@ postcss-nested@^6.2.0: dependencies: postcss-selector-parser "^6.1.1" -postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.1.1, postcss-selector-parser@^6.1.2: +postcss-selector-parser@^6.1.1, postcss-selector-parser@^6.1.2: version "6.1.2" resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz#27ecb41fb0e3b6ba7a1ec84fff347f734c7929de" integrity sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg== @@ -8976,12 +6711,12 @@ postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector cssesc "^3.0.0" util-deprecate "^1.0.2" -postcss-value-parser@^4.0.0, postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0: +postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@8.5.23, postcss@^8.2.14, postcss@^8.4.33, postcss@^8.4.4, postcss@^8.4.47, postcss@^8.4.49, postcss@^8.5.6: +postcss@^8.4.4, postcss@^8.4.47, postcss@^8.4.49, postcss@^8.5.6: version "8.5.23" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.23.tgz#3493550116f478487298301d2c2e8dc5a56e6594" integrity sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg== @@ -9010,15 +6745,6 @@ prismjs@^1.30.0: resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.30.0.tgz#d9709969d9d4e16403f6f348c63553b19f0975a9" integrity sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw== -probe-image-size@^7.2.3: - version "7.4.0" - resolved "https://registry.yarnpkg.com/probe-image-size/-/probe-image-size-7.4.0.tgz#c189ae04e9aad1e3fa3a0998a956a7e9aab7f66d" - integrity sha512-cdEprVtZxV+awMde9X+4jILBFYh4CARxVrQaMl4wY4YcPWbul9jntXrIW95NInBDyJwcVUP3U0T6yukN8rMBaQ== - dependencies: - lodash.merge "^4.6.2" - needle "^2.5.2" - stream-parser "~0.3.1" - proc-log@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-5.0.0.tgz#e6c93cf37aef33f835c53485f314f50ea906a9d8" @@ -9052,7 +6778,7 @@ protocol-buffers-schema@^3.3.1: resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz#77bc75a48b2ff142c1ad5b5b90c94cd0fa2efd03" integrity sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw== -proxy-addr@^2.0.7, proxy-addr@~2.0.7: +proxy-addr@^2.0.7: version "2.0.8" resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.8.tgz#624e760fd8ab06b1b8320c2f8506d4422cf8e932" integrity sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ== @@ -9060,28 +6786,11 @@ proxy-addr@^2.0.7, proxy-addr@~2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw== - punycode@^2.1.0: version "2.3.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== -pvtsutils@^1.3.6: - version "1.3.6" - resolved "https://registry.yarnpkg.com/pvtsutils/-/pvtsutils-1.3.6.tgz#ec46e34db7422b9e4fdc5490578c1883657d6001" - integrity sha512-PLgQXQ6H2FWCaeRak8vvk1GW462lMxB5s3Jm673N82zI4vqtVUPuZdffdZbPDFRoU8kAhItWFtPCWiPpp4/EDg== - dependencies: - tslib "^2.8.1" - -pvutils@^1.1.3, pvutils@^1.1.5: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pvutils/-/pvutils-1.2.0.tgz#4b5487a9cccd52d275b0538775790a3ca982bc22" - integrity sha512-BbubeCEyTuQjVMakvJQ/Sxbc93F2pwmbsxONT/ZRrwU7Ua38d8unYTwXpTVLAKJ4BDuH9IGztCjQcd/N/39Dvg== - qrcode@^1.5.4: version "1.5.4" resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.4.tgz#5cb81d86eb57c675febb08cf007fff963405da88" @@ -9091,7 +6800,7 @@ qrcode@^1.5.4: pngjs "^5.0.0" yargs "^15.3.1" -qs@^6.14.0, qs@^6.14.1, qs@~6.15.1: +qs@^6.14.0, qs@^6.14.1: version "6.15.3" resolved "https://registry.yarnpkg.com/qs/-/qs-6.15.3.tgz#76852132a58ed5c7c0ef67e4441b9bb5d6061b3b" integrity sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A== @@ -9114,7 +6823,7 @@ quickselect@^3.0.0: resolved "https://registry.yarnpkg.com/quickselect/-/quickselect-3.0.0.tgz#a37fc953867d56f095a20ac71c6d27063d2de603" integrity sha512-XdjUArbK4Bm5fLLvlm5KpTFOiOThgfWWI4axAZDWg4E/0mKdZyI9tNEfds27qCi1ze/vwTR16kvmmGhRra3c2g== -range-parser@^1.2.1, range-parser@~1.2.1: +range-parser@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== @@ -9136,16 +6845,6 @@ raw-body@^3.0.0, raw-body@^3.0.1: iconv-lite "~0.7.0" unpipe "~1.0.0" -raw-body@~2.5.3: - version "2.5.3" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.3.tgz#11c6650ee770a7de1b494f197927de0c923822e2" - integrity sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA== - dependencies: - bytes "~3.1.2" - http-errors "~2.0.1" - iconv-lite "~0.4.24" - unpipe "~1.0.0" - rbush@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/rbush/-/rbush-3.0.1.tgz#5fafa8a79b3b9afdfe5008403a720cc1de882ecf" @@ -9160,7 +6859,7 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -readable-stream@^2.0.1, readable-stream@~2.3.6: +readable-stream@~2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== @@ -9173,15 +6872,6 @@ readable-stream@^2.0.1, readable-stream@~2.3.6: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.0.6: - version "3.6.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" - integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - readdirp@^4.0.1: version "4.1.2" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.1.2.tgz#eb85801435fbf2a7ee58f19e0921b068fc69948d" @@ -9199,7 +6889,7 @@ reduce-flatten@^2.0.0: resolved "https://registry.yarnpkg.com/reduce-flatten/-/reduce-flatten-2.0.0.tgz#734fd84e65f375d7ca4465c69798c25c9d10ae27" integrity sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w== -reflect-metadata@^0.2.0, reflect-metadata@^0.2.2: +reflect-metadata@^0.2.0: version "0.2.2" resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.2.2.tgz#400c845b6cba87a21f2c65c4aeb158f4fa4d9c5b" integrity sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q== @@ -9218,23 +6908,6 @@ reflect.getprototypeof@^1.0.6, reflect.getprototypeof@^1.0.9: get-proto "^1.0.1" which-builtin-type "^1.2.1" -regenerate-unicode-properties@^10.2.2: - version "10.2.2" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.2.tgz#aa113812ba899b630658c7623466be71e1f86f66" - integrity sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g== - dependencies: - regenerate "^1.4.2" - -regenerate@^1.4.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" - integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== - -regex-parser@^2.2.11: - version "2.3.0" - resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.3.0.tgz#4bb61461b1a19b8b913f3960364bb57887f920ee" - integrity sha512-TVILVSz2jY5D47F4mA4MppkBrafEaiUWJO/TcZHEIuI13AqoZMkK1WMA4Om1YkYbTx+9Ki1/tSUXbceyr9saRg== - regexp.prototype.flags@^1.5.4: version "1.5.4" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz#1ad6c62d44a259007e55b3970e00f746efbcaa19" @@ -9247,30 +6920,6 @@ regexp.prototype.flags@^1.5.4: gopd "^1.2.0" set-function-name "^2.0.2" -regexpu-core@^6.3.1: - version "6.4.0" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-6.4.0.tgz#3580ce0c4faedef599eccb146612436b62a176e5" - integrity sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA== - dependencies: - regenerate "^1.4.2" - regenerate-unicode-properties "^10.2.2" - regjsgen "^0.8.0" - regjsparser "^0.13.0" - unicode-match-property-ecmascript "^2.0.0" - unicode-match-property-value-ecmascript "^2.2.1" - -regjsgen@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.8.0.tgz#df23ff26e0c5b300a6470cad160a9d090c3a37ab" - integrity sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q== - -regjsparser@^0.13.0: - version "0.13.0" - resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.13.0.tgz#01f8351335cf7898d43686bc74d2dd71c847ecc0" - integrity sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q== - dependencies: - jsesc "~3.1.0" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -9286,11 +6935,6 @@ require-main-filename@^2.0.0: resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== - reserved-identifiers@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/reserved-identifiers/-/reserved-identifiers-1.2.0.tgz#d2982cd698e317dd3dced1ee1c52412dbd64fc64" @@ -9308,17 +6952,6 @@ resolve-protobuf-schema@^2.1.0: dependencies: protocol-buffers-schema "^3.3.1" -resolve-url-loader@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-5.0.0.tgz#ee3142fb1f1e0d9db9524d539cfa166e9314f795" - integrity sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg== - dependencies: - adjust-sourcemap-loader "^4.0.0" - convert-source-map "^1.7.0" - loader-utils "^2.0.0" - postcss "^8.2.14" - source-map "0.6.1" - resolve@1.22.10: version "1.22.10" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" @@ -9328,7 +6961,7 @@ resolve@1.22.10: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@^1.1.7, resolve@^1.22.10, resolve@^1.22.4, resolve@^1.22.8: +resolve@^1.1.7, resolve@^1.22.4, resolve@^1.22.8: version "1.22.11" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.11.tgz#aad857ce1ffb8bfa9b0b1ac29f1156383f68c262" integrity sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ== @@ -9350,11 +6983,6 @@ retry@^0.12.0: resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== -retry@^0.13.1: - version "0.13.1" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658" - integrity sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg== - reusify@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" @@ -9425,11 +7053,6 @@ router@^2.2.0: parseurl "^1.3.3" path-to-regexp "^8.0.0" -run-applescript@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/run-applescript/-/run-applescript-7.0.0.tgz#e5a553c2bffd620e169d276c1cd8f1b64778fbeb" - integrity sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A== - run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -9460,11 +7083,6 @@ safe-array-concat@^1.1.3: has-symbols "^1.1.0" isarray "^2.0.5" -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" @@ -9492,18 +7110,11 @@ safe-regex-test@^1.1.0: es-errors "^1.3.0" is-regex "^1.2.1" -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": +"safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sass-loader@16.0.5: - version "16.0.5" - resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-16.0.5.tgz#257bc90119ade066851cafe7f2c3f3504c7cda98" - integrity sha512-oL+CMBXrj6BZ/zOq4os+UECPL+bWqt6OAC6DWS8Ln8GZRcMDjlJ4JC3FBDuHJdYaFWIdKNIBYmtZtK2MaMkNIw== - dependencies: - neo-async "^2.6.2" - sass@1.90.0: version "1.90.0" resolved "https://registry.yarnpkg.com/sass/-/sass-1.90.0.tgz#d6fc2be49c7c086ce86ea0b231a35bf9e33cb84b" @@ -9515,11 +7126,6 @@ sass@1.90.0: optionalDependencies: "@parcel/watcher" "^2.4.1" -sax@^1.2.4: - version "1.4.1" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.4.1.tgz#44cc8988377f126304d3b3fc1010c733b929ef0f" - integrity sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg== - schema-inspector@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/schema-inspector/-/schema-inspector-2.1.0.tgz#85096fbc78162a420262ed41b82e60ac927767b2" @@ -9527,39 +7133,16 @@ schema-inspector@^2.1.0: dependencies: async "~2.6.3" -schema-utils@^4.0.0, schema-utils@^4.2.0, schema-utils@^4.3.0, schema-utils@^4.3.3: - version "4.3.3" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.3.3.tgz#5b1850912fa31df90716963d45d9121fdfc09f46" - integrity sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA== - dependencies: - "@types/json-schema" "^7.0.9" - ajv "^8.9.0" - ajv-formats "^2.1.1" - ajv-keywords "^5.1.0" - screenfull@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/screenfull/-/screenfull-6.0.2.tgz#3dbe4b8c4f8f49fb8e33caa8f69d0bca730ab238" integrity sha512-AQdy8s4WhNvUZ6P8F6PB21tSPIYKniic+Ogx0AacBMjKP1GUHN2E9URxQHtCusiwxudnCKkdy4GrHXPPJSkCCw== -select-hose@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" - integrity sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg== - select@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d" integrity sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA== -selfsigned@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-5.5.0.tgz#4c9ab7c7c9f35f18fb6a9882c253eb0e6bd6557b" - integrity sha512-ftnu3TW4+3eBfLRFnDEkzGxSF/10BJBkaLJuBHZX0kiPS7bRdlpZGu6YGt4KngMkdTwJE6MbjavFpqHvqVt+Ew== - dependencies: - "@peculiar/x509" "^1.14.2" - pkijs "^3.3.3" - semver@7.7.2: version "7.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" @@ -9597,43 +7180,6 @@ send@^1.1.0, send@^1.2.0: range-parser "^1.2.1" statuses "^2.0.2" -send@~0.19.0, send@~0.19.1: - version "0.19.2" - resolved "https://registry.yarnpkg.com/send/-/send-0.19.2.tgz#59bc0da1b4ea7ad42736fd642b1c4294e114ff29" - integrity sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg== - dependencies: - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - encodeurl "~2.0.0" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "~0.5.2" - http-errors "~2.0.1" - mime "1.6.0" - ms "2.1.3" - on-finished "~2.4.1" - range-parser "~1.2.1" - statuses "~2.0.2" - -serialize-javascript@^7.0.3: - version "7.0.4" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-7.0.4.tgz#c517735bd5b7631dd1fc191ee19cbb713ff8e05c" - integrity sha512-DuGdB+Po43Q5Jxwpzt1lhyFSYKryqoNjQSA9M92tyw0lyHIOur+XCalOUe0KTJpyqzT8+fQ5A0Jf7vCx/NKmIg== - -serve-index@^1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" - integrity sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw== - dependencies: - accepts "~1.3.4" - batch "0.6.1" - debug "2.6.9" - escape-html "~1.0.3" - http-errors "~1.6.2" - mime-types "~2.1.17" - parseurl "~1.3.2" - serve-static@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.2.1.tgz#7f186a4a4e5f5b663ad7a4294ff1bf37cf0e98a9" @@ -9644,16 +7190,6 @@ serve-static@^2.2.0: parseurl "^1.3.3" send "^1.2.0" -serve-static@~1.16.2: - version "1.16.3" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.3.tgz#a97b74d955778583f3862a4f0b841eb4d5d78cf9" - integrity sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA== - dependencies: - encodeurl "~2.0.0" - escape-html "~1.0.3" - parseurl "~1.3.3" - send "~0.19.1" - set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -9695,23 +7231,11 @@ setimmediate@^1.0.5: resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== -setprototypeof@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" - integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== - -setprototypeof@1.2.0, setprototypeof@~1.2.0: +setprototypeof@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== - dependencies: - kind-of "^6.0.2" - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -9724,11 +7248,6 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shell-quote@^1.10.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.12.0.tgz#e98fdfd2e921d8a58ae2820f4fc0f75c39f09675" - integrity sha512-PcByqNyT/38F2kDNi006HAMRJaULuBzq/FOsw3qdZvX/GA9W/jamDaRskgHjubHiftXK5sIFxLNkvrXUwcof6Q== - side-channel-list@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.1.tgz#c2e0b5a14a540aebee3bbc6c3f8666cc9b509127" @@ -9812,15 +7331,6 @@ smart-buffer@^4.2.0: resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== -sockjs@^0.3.24: - version "0.3.24" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.24.tgz#c9bc8995f33a111bea0395ec30aa3206bdb5ccce" - integrity sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ== - dependencies: - faye-websocket "^0.11.3" - uuid "^8.3.2" - websocket-driver "^0.7.4" - socks-proxy-agent@^8.0.3: version "8.0.5" resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz#b9cdb4e7e998509d7659d689ce7697ac21645bee" @@ -9843,20 +7353,12 @@ sorted-btree@^1.8.1: resolved "https://registry.yarnpkg.com/sorted-btree/-/sorted-btree-1.8.1.tgz#6e6275f7955e5892bb8737149cbe495be10f426f" integrity sha512-395+XIP+wqNn3USkFSrNz7G3Ss/MXlZEqesxvzCRFwL14h6e8LukDHdLBePn5pwbm5OQ9vGu8mDyz2lLDIqamQ== -"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.2, source-map-js@^1.2.1: +"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.2.1: version "1.2.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.2.tgz#79fb88d97535a21cb27162cb05d211b67acea4ab" integrity sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw== -source-map-loader@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-5.0.0.tgz#f593a916e1cc54471cfc8851b905c8a845fc7e38" - integrity sha512-k2Dur7CbSLcAH73sBcIkV5xjPV4SzqO1NJ7+XaQl8if3VODDUj3FNchNGpqgJSKbvUfJuhVdv8K2Eu8/TNl2eA== - dependencies: - iconv-lite "^0.6.3" - source-map-js "^1.0.2" - -source-map-support@0.5.21, source-map-support@^0.5.5, source-map-support@~0.5.20: +source-map-support@0.5.21: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== @@ -9864,16 +7366,16 @@ source-map-support@0.5.21, source-map-support@^0.5.5, source-map-support@~0.5.20 buffer-from "^1.0.0" source-map "^0.6.0" -source-map@0.6.1, source-map@^0.6.0, source-map@~0.6.0: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - source-map@0.7.6: version "0.7.6" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.6.tgz#a3658ab87e5b6429c8a1f3ba0083d4c61ca3ef02" integrity sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ== +source-map@^0.6.0: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + spdx-correct@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.2.0.tgz#4f5ab0668f0059e34f9c00dce331784a12de4e9c" @@ -9908,29 +7410,6 @@ spdx-license-ids@^3.0.0: resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz#e44ed19ed318dd1e5888f93325cee800f0f51b89" integrity sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw== -spdy-transport@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" - integrity sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw== - dependencies: - debug "^4.1.0" - detect-node "^2.0.4" - hpack.js "^2.1.6" - obuf "^1.1.2" - readable-stream "^3.0.6" - wbuf "^1.7.3" - -spdy@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" - integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== - dependencies: - debug "^4.1.0" - handle-thing "^2.0.0" - http-deceiver "^1.2.7" - select-hose "^2.0.0" - spdy-transport "^3.0.0" - splaytree-ts@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/splaytree-ts/-/splaytree-ts-1.0.2.tgz#34963704587aff45eaa09c24713f552bbf56e8f0" @@ -9953,12 +7432,7 @@ ssri@^13.0.0: dependencies: minipass "^7.0.3" -"statuses@>= 1.4.0 < 2": - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== - -statuses@^2.0.1, statuses@^2.0.2, statuses@~2.0.1, statuses@~2.0.2: +statuses@^2.0.1, statuses@^2.0.2, statuses@~2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.2.tgz#8f75eecef765b5e1cfcdc080da59409ed424e382" integrity sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw== @@ -9976,13 +7450,6 @@ stop-iteration-iterator@^1.1.0: es-errors "^1.3.0" internal-slot "^1.1.0" -stream-parser@~0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/stream-parser/-/stream-parser-0.3.1.tgz#1618548694420021a1182ff0af1911c129761773" - integrity sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ== - dependencies: - debug "2" - "string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -10051,13 +7518,6 @@ string.prototype.trimstart@^1.0.8: define-properties "^1.2.1" es-object-atoms "^1.0.0" -string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" @@ -10128,13 +7588,6 @@ supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -supports-color@^8.0.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -10190,11 +7643,6 @@ tailwindcss@^3.4.19: resolve "^1.22.8" sucrase "^3.35.0" -tapable@^2.2.1, tapable@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.3.0.tgz#7e3ea6d5ca31ba8e078b560f0d83ce9a14aa8be6" - integrity sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg== - tar@^7.4.3, tar@^7.5.2: version "7.5.22" resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9" @@ -10206,36 +7654,6 @@ tar@^7.4.3, tar@^7.5.2: minizlib "^3.1.0" yallist "^5.0.0" -terser-webpack-plugin@^5.3.16: - version "5.4.0" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.4.0.tgz#95fc4cf4437e587be11ecf37d08636089174d76b" - integrity sha512-Bn5vxm48flOIfkdl5CaD2+1CiUVbonWQ3KQPyP7/EuIl9Gbzq/gQFOzaMFUEgVjB1396tcK0SG8XcNJ/2kDH8g== - dependencies: - "@jridgewell/trace-mapping" "^0.3.25" - jest-worker "^27.4.5" - schema-utils "^4.3.0" - terser "^5.31.1" - -terser@5.43.1: - version "5.43.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.43.1.tgz#88387f4f9794ff1a29e7ad61fb2932e25b4fdb6d" - integrity sha512-+6erLbBm0+LROX2sPXlUYx/ux5PyE9K/a92Wrt6oA+WDAoFTdpHE5tCYCI5PNzq2y8df4rA+QgHLJuR4jNymsg== - dependencies: - "@jridgewell/source-map" "^0.3.3" - acorn "^8.14.0" - commander "^2.20.0" - source-map-support "~0.5.20" - -terser@^5.31.1: - version "5.46.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.46.0.tgz#1b81e560d584bbdd74a8ede87b4d9477b0ff9695" - integrity sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg== - dependencies: - "@jridgewell/source-map" "^0.3.3" - acorn "^8.15.0" - commander "^2.20.0" - source-map-support "~0.5.20" - text-segmentation@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/text-segmentation/-/text-segmentation-1.0.3.tgz#52a388159efffe746b24a63ba311b6ac9f2d7943" @@ -10257,16 +7675,6 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" -thingies@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/thingies/-/thingies-2.5.0.tgz#5f7b882c933b85989f8466b528a6247a6881e04f" - integrity sha512-s+2Bwztg6PhWUD7XMfeYm5qliDdSiZm7M7n8KjTkIsm3l/2lgVRc2/Gx/v+ZX8lT4FMA+i8aQvhcWylldc+ZNw== - -thunky@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" - integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== - tiny-emitter@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" @@ -10338,16 +7746,6 @@ tooltipster@^4.2.8: resolved "https://registry.yarnpkg.com/tooltipster/-/tooltipster-4.2.8.tgz#ad1970dd71ad853034e64e3fdd1745f7f3485071" integrity sha512-Znmbt5UMzaiFCRlVaRtfRZYQqxrmNlj1+3xX/aT0OiA3xkQZhXYGbLJmZPigx0YiReYZpO7Lm2XKbUxXsiU/pg== -tree-dump@^1.0.3, tree-dump@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/tree-dump/-/tree-dump-1.1.0.tgz#ab29129169dc46004414f5a9d4a3c6e89f13e8a4" - integrity sha512-rMuvhU4MCDbcbnleZTFezWsaZXRFemSqAM+7jPnzUl1fo9w3YEKOxAeui0fz3OI4EU4hf23iyA7uQRVko+UaBA== - -tree-kill@1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - ts-api-utils@^2.1.0, ts-api-utils@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-2.4.0.tgz#2690579f96d2790253bdcf1ca35d569ad78f9ad8" @@ -10411,18 +7809,6 @@ tslib@2.8.1, tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4. resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== -tslib@^1.9.3: - version "1.14.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - -tsyringe@^4.10.0: - version "4.10.0" - resolved "https://registry.yarnpkg.com/tsyringe/-/tsyringe-4.10.0.tgz#d0c95815d584464214060285eaaadd94aa03299c" - integrity sha512-axr3IdNuVIxnaK5XGEUFTu3YmAQ6lllgrvqfEoR16g/HGnYY/6We4oWENtAnzK6/LpJ2ur9PAb80RBt7/U4ugw== - dependencies: - tslib "^1.9.3" - tuf-js@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/tuf-js/-/tuf-js-4.1.0.tgz#ae4ef9afa456fcb4af103dc50a43bc031f066603" @@ -10448,14 +7834,6 @@ type-is@^2.0.1: media-typer "^1.1.0" mime-types "^3.0.0" -type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== - dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" - typed-array-buffer@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz#a72395450a4869ec033fd549371b47af3a2ee536" @@ -10501,11 +7879,6 @@ typed-array-length@^1.0.7: possible-typed-array-names "^1.0.0" reflect.getprototypeof "^1.0.6" -typed-assert@^1.0.8: - version "1.0.9" - resolved "https://registry.yarnpkg.com/typed-assert/-/typed-assert-1.0.9.tgz#8af9d4f93432c4970ec717e3006f33f135b06213" - integrity sha512-KNNZtayBCtmnNmbo5mG47p1XsCyrx6iVqomjcZnec/1Y5GGARaxPs6r49RnSPeUP3YjNYiU9sQHAtY4BBvnZwg== - typeface-roboto@^1.1.13: version "1.1.13" resolved "https://registry.yarnpkg.com/typeface-roboto/-/typeface-roboto-1.1.13.tgz#9c4517cb91e311706c74823e857b4bac9a764ae5" @@ -10556,29 +7929,6 @@ undici-types@~6.21.0: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== -unicode-canonical-property-names-ecmascript@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz#cb3173fe47ca743e228216e4a3ddc4c84d628cc2" - integrity sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg== - -unicode-match-property-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" - integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== - dependencies: - unicode-canonical-property-names-ecmascript "^2.0.0" - unicode-property-aliases-ecmascript "^2.0.0" - -unicode-match-property-value-ecmascript@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.1.tgz#65a7adfad8574c219890e219285ce4c64ed67eaa" - integrity sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg== - -unicode-property-aliases-ecmascript@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" - integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== - unique-filename@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-5.0.0.tgz#8b17bbde1a7ca322dd1a1d23fe17c2b798c43f8f" @@ -10618,16 +7968,11 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" -util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: +util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== - utrie@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/utrie/-/utrie-1.0.2.tgz#d42fe44de9bc0119c25de7f564a6ed1b2c87a645" @@ -10640,11 +7985,6 @@ uuid@^11.1.0: resolved "https://registry.yarnpkg.com/uuid/-/uuid-11.1.0.tgz#9549028be1753bb934fc96e2bca09bb4105ae912" integrity sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A== -uuid@^8.3.2: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - v8-compile-cache-lib@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" @@ -10668,7 +8008,7 @@ validate-npm-package-name@^7.0.0: resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-7.0.2.tgz#e57c3d721a4c8bbff454a246e7f7da811559ea0d" integrity sha512-hVDIBwsRruT73PbK7uP5ebUt+ezEtCmzZz3F59BSr2F6OVFnJ/6h8liuvdLrQ88Xmnk6/+xGGuq+pG9WwTuy3A== -vary@^1, vary@^1.1.2, vary@~1.1.2: +vary@^1, vary@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== @@ -10730,21 +8070,6 @@ watchpack@2.4.4: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" -watchpack@^2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.5.1.tgz#dd38b601f669e0cbf567cb802e75cead82cde102" - integrity sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg== - dependencies: - glob-to-regexp "^0.4.1" - graceful-fs "^4.1.2" - -wbuf@^1.1.0, wbuf@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" - integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== - dependencies: - minimalistic-assert "^1.0.0" - wcwidth@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" @@ -10762,130 +8087,6 @@ web-streams-polyfill@^3.0.3: resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz#2073b91a2fdb1fbfbd401e7de0ac9f8214cecb4b" integrity sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw== -webpack-dev-middleware@7.4.2: - version "7.4.2" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-7.4.2.tgz#40e265a3d3d26795585cff8207630d3a8ff05877" - integrity sha512-xOO8n6eggxnwYpy1NlzUKpvrjfJTvae5/D6WOK0S2LSo7vjmo5gCM1DbLUmFqrMTJP+W/0YZNctm7jasWvLuBA== - dependencies: - colorette "^2.0.10" - memfs "^4.6.0" - mime-types "^2.1.31" - on-finished "^2.4.1" - range-parser "^1.2.1" - schema-utils "^4.0.0" - -webpack-dev-middleware@^7.4.2: - version "7.4.5" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-7.4.5.tgz#d4e8720aa29cb03bc158084a94edb4594e3b7ac0" - integrity sha512-uxQ6YqGdE4hgDKNf7hUiPXOdtkXvBJXrfEGYSx7P7LC8hnUYGK70X6xQXUvXeNyBDDcsiQXpG2m3G9vxowaEuA== - dependencies: - colorette "^2.0.10" - memfs "^4.43.1" - mime-types "^3.0.1" - on-finished "^2.4.1" - range-parser "^1.2.1" - schema-utils "^4.0.0" - -webpack-dev-server@5.2.6: - version "5.2.6" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-5.2.6.tgz#3a5d41233cbb7504f814d19e59a59173fb8ae23d" - integrity sha512-HNLRmamRvVavZQ+avceZifmv8hmdUjg43t6MI4SqJDwFdW7RPQwH5vzGhDRZSX59SgfbeHhLnq3g+uooWo7pVw== - dependencies: - "@types/bonjour" "^3.5.13" - "@types/connect-history-api-fallback" "^1.5.4" - "@types/express" "^4.17.25" - "@types/express-serve-static-core" "^4.17.21" - "@types/serve-index" "^1.9.4" - "@types/serve-static" "^1.15.5" - "@types/sockjs" "^0.3.36" - "@types/ws" "^8.5.10" - ansi-html-community "^0.0.8" - bonjour-service "^1.2.1" - chokidar "^3.6.0" - colorette "^2.0.10" - compression "^1.8.1" - connect-history-api-fallback "^2.0.0" - express "^4.22.1" - graceful-fs "^4.2.6" - http-proxy-middleware "^2.0.9" - ipaddr.js "^2.1.0" - launch-editor "^2.14.1" - open "^10.0.3" - p-retry "^6.2.0" - schema-utils "^4.2.0" - selfsigned "^5.5.0" - serve-index "^1.9.1" - sockjs "^0.3.24" - spdy "^4.0.2" - webpack-dev-middleware "^7.4.2" - ws "^8.18.0" - -webpack-merge@6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-6.0.1.tgz#50c776868e080574725abc5869bd6e4ef0a16c6a" - integrity sha512-hXXvrjtx2PLYx4qruKl+kyRSLc52V+cCvMxRjmKwoA+CBbbF5GfIBtR6kCvl0fYGqTUPKB+1ktVmTHqMOzgCBg== - dependencies: - clone-deep "^4.0.1" - flat "^5.0.2" - wildcard "^2.0.1" - -webpack-sources@^3.0.0, webpack-sources@^3.3.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.3.3.tgz#d4bf7f9909675d7a070ff14d0ef2a4f3c982c723" - integrity sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg== - -webpack-subresource-integrity@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/webpack-subresource-integrity/-/webpack-subresource-integrity-5.1.0.tgz#8b7606b033c6ccac14e684267cb7fb1f5c2a132a" - integrity sha512-sacXoX+xd8r4WKsy9MvH/q/vBtEHr86cpImXwyg74pFIpERKt6FmB8cXpeuh0ZLgclOlHI4Wcll7+R5L02xk9Q== - dependencies: - typed-assert "^1.0.8" - -webpack@5.105.0: - version "5.105.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.105.0.tgz#38b5e6c5db8cbe81debbd16e089335ada05ea23a" - integrity sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw== - dependencies: - "@types/eslint-scope" "^3.7.7" - "@types/estree" "^1.0.8" - "@types/json-schema" "^7.0.15" - "@webassemblyjs/ast" "^1.14.1" - "@webassemblyjs/wasm-edit" "^1.14.1" - "@webassemblyjs/wasm-parser" "^1.14.1" - acorn "^8.15.0" - acorn-import-phases "^1.0.3" - browserslist "^4.28.1" - chrome-trace-event "^1.0.2" - enhanced-resolve "^5.19.0" - es-module-lexer "^2.0.0" - eslint-scope "5.1.1" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.11" - json-parse-even-better-errors "^2.3.1" - loader-runner "^4.3.1" - mime-types "^2.1.27" - neo-async "^2.6.2" - schema-utils "^4.3.3" - tapable "^2.3.0" - terser-webpack-plugin "^5.3.16" - watchpack "^2.5.1" - webpack-sources "^3.3.3" - -websocket-driver@>=0.5.1, websocket-driver@^0.7.4: - version "0.7.5" - resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.5.tgz#569d22764ab21f2de20af0e74b411e8ae5a0fa46" - integrity sha512-ZL2+3c7kMBdIRCMz6l8jQMHyGVxj+UL+xVk74Ombiciboca8rHa15L86B19E5oh1pL9Ii/uj54gtsIrZGMo6zA== - dependencies: - http-parser-js ">=0.5.1" - safe-buffer ">=5.1.0" - websocket-extensions ">=0.1.1" - -websocket-extensions@>=0.1.1: - version "0.1.4" - resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" - integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== - which-boxed-primitive@^1.1.0, which-boxed-primitive@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz#d76ec27df7fa165f18d5808374a5fe23c29b176e" @@ -10958,11 +8159,6 @@ which@^6.0.0: dependencies: isexe "^3.1.1" -wildcard@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.1.tgz#5ab10d02487198954836b6349f74fff961e10f67" - integrity sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ== - word-wrap@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" @@ -11017,18 +8213,6 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== -ws@^8.18.0: - version "8.21.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.21.0.tgz#012e413fc07429945121b0c153158c4343086951" - integrity sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g== - -wsl-utils@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/wsl-utils/-/wsl-utils-0.1.0.tgz#8783d4df671d4d50365be2ee4c71917a0557baab" - integrity sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw== - dependencies: - is-wsl "^3.1.0" - y18n@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" @@ -11121,15 +8305,10 @@ zod-to-json-schema@^3.25.1: resolved "https://registry.yarnpkg.com/zod-to-json-schema/-/zod-to-json-schema-3.25.1.tgz#7f24962101a439ddade2bf1aeab3c3bfec7d84ba" integrity sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA== -zod@4.1.13: - version "4.1.13" - resolved "https://registry.yarnpkg.com/zod/-/zod-4.1.13.tgz#93699a8afe937ba96badbb0ce8be6033c0a4b6b1" - integrity sha512-AvvthqfqrAhNH9dnfmrfKzX5upOdjUVJYFqNSlkmGf64gRaTzlPwz99IHYnVs28qYAybvAlBV+H7pn0saFY4Ig== - -"zod@^3.25 || ^4.0": - version "4.3.6" - resolved "https://registry.yarnpkg.com/zod/-/zod-4.3.6.tgz#89c56e0aa7d2b05107d894412227087885ab112a" - integrity sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg== +zod@4.6.6, "zod@^3.25 || ^4.0": + version "4.6.6" + resolved "https://registry.yarnpkg.com/zod/-/zod-4.6.6.tgz#0bb0cf57b87011a71ec28ed2e1b51f6455563f9a" + integrity sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA== zone.js@~0.15.1: version "0.15.1" From 77b83939866ae66011d1da71f695f9b638f57301 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 16:10:07 +0200 Subject: [PATCH 260/559] Fixed CVE-2026-102276 and CVE-2026-102278 for brace-expansion 1.x --- ui-ngx/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index abbc0e9a25..a0d7328087 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -2985,9 +2985,9 @@ boolbase@^1.0.0: integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== brace-expansion@^1.1.7: - version "1.1.18" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.18.tgz#3ce74d89885136be1535341f8c3d4425c29a5cab" - integrity sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw== + version "1.1.21" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.21.tgz#edf4fab5c64d051aea5a8def49aba1c7522279f3" + integrity sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw== dependencies: balanced-match "^1.0.0" concat-map "0.0.1" From 9ddb0b4a748e0aba1589230911550c16688b6d62 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 16:12:51 +0200 Subject: [PATCH 261/559] Fixed CVE-2026-110816 --- msa/js-executor/yarn.lock | 33 +++++++++++++++++---------------- msa/web-ui/yarn.lock | 33 +++++++++++++++++---------------- ui-ngx/yarn.lock | 6 +++--- 3 files changed, 37 insertions(+), 35 deletions(-) diff --git a/msa/js-executor/yarn.lock b/msa/js-executor/yarn.lock index a91ab1d4db..8324b3a83d 100644 --- a/msa/js-executor/yarn.lock +++ b/msa/js-executor/yarn.lock @@ -1108,7 +1108,7 @@ object-hash@^3.0.0: resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== -object-inspect@^1.13.3: +object-inspect@^1.13.3, object-inspect@^1.13.4: version "1.13.4" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213" integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== @@ -1209,11 +1209,12 @@ pump@^3.0.0: once "^1.3.1" qs@^6.14.0: - version "6.14.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.2.tgz#b5634cf9d9ad9898e31fba3504e866e8efb6798c" - integrity sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q== + version "6.16.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.16.1.tgz#0643e17993e551759c85078e1f0bc4b9fe908020" + integrity sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg== dependencies: - side-channel "^1.1.0" + es-define-property "^1.0.1" + side-channel "^1.1.1" range-parser@^1.2.1: version "1.2.1" @@ -1344,13 +1345,13 @@ setprototypeof@1.2.0: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -side-channel-list@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad" - integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA== +side-channel-list@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.1.tgz#c2e0b5a14a540aebee3bbc6c3f8666cc9b509127" + integrity sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w== dependencies: es-errors "^1.3.0" - object-inspect "^1.13.3" + object-inspect "^1.13.4" side-channel-map@^1.0.1: version "1.0.1" @@ -1373,14 +1374,14 @@ side-channel-weakmap@^1.0.2: object-inspect "^1.13.3" side-channel-map "^1.0.1" -side-channel@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.0.tgz#c3fcff9c4da932784873335ec9765fa94ff66bc9" - integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw== +side-channel@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.1.tgz#ea02c62e05dc4bea67d4442f0fb71ee192f8e0ab" + integrity sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ== dependencies: es-errors "^1.3.0" - object-inspect "^1.13.3" - side-channel-list "^1.0.0" + object-inspect "^1.13.4" + side-channel-list "^1.0.1" side-channel-map "^1.0.1" side-channel-weakmap "^1.0.2" diff --git a/msa/web-ui/yarn.lock b/msa/web-ui/yarn.lock index 2cf05740b6..5b60359934 100644 --- a/msa/web-ui/yarn.lock +++ b/msa/web-ui/yarn.lock @@ -1081,7 +1081,7 @@ object-hash@^3.0.0: resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== -object-inspect@^1.13.3: +object-inspect@^1.13.3, object-inspect@^1.13.4: version "1.13.4" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213" integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== @@ -1187,11 +1187,12 @@ pump@^3.0.0: once "^1.3.1" qs@^6.14.0: - version "6.14.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.2.tgz#b5634cf9d9ad9898e31fba3504e866e8efb6798c" - integrity sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q== + version "6.16.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.16.1.tgz#0643e17993e551759c85078e1f0bc4b9fe908020" + integrity sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg== dependencies: - side-channel "^1.1.0" + es-define-property "^1.0.1" + side-channel "^1.1.1" range-parser@^1.2.1: version "1.2.1" @@ -1327,13 +1328,13 @@ setprototypeof@1.2.0: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -side-channel-list@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad" - integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA== +side-channel-list@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.1.tgz#c2e0b5a14a540aebee3bbc6c3f8666cc9b509127" + integrity sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w== dependencies: es-errors "^1.3.0" - object-inspect "^1.13.3" + object-inspect "^1.13.4" side-channel-map@^1.0.1: version "1.0.1" @@ -1356,14 +1357,14 @@ side-channel-weakmap@^1.0.2: object-inspect "^1.13.3" side-channel-map "^1.0.1" -side-channel@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.0.tgz#c3fcff9c4da932784873335ec9765fa94ff66bc9" - integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw== +side-channel@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.1.tgz#ea02c62e05dc4bea67d4442f0fb71ee192f8e0ab" + integrity sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ== dependencies: es-errors "^1.3.0" - object-inspect "^1.13.3" - side-channel-list "^1.0.0" + object-inspect "^1.13.4" + side-channel-list "^1.0.1" side-channel-map "^1.0.1" side-channel-weakmap "^1.0.2" diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index a0d7328087..7bc71368e8 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -6801,9 +6801,9 @@ qrcode@^1.5.4: yargs "^15.3.1" qs@^6.14.0, qs@^6.14.1: - version "6.15.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.15.3.tgz#76852132a58ed5c7c0ef67e4441b9bb5d6061b3b" - integrity sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A== + version "6.16.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.16.1.tgz#0643e17993e551759c85078e1f0bc4b9fe908020" + integrity sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg== dependencies: es-define-property "^1.0.1" side-channel "^1.1.1" From 9203c5e6066039db83efd949480b416b561d8a7e Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 17:19:12 +0200 Subject: [PATCH 262/559] Fixed CVE-2026-93687, CVE-2026-102276 and CVE-2026-102278 --- msa/web-report/package.json | 5 +- msa/web-report/yarn.lock | 186 +----------------------------------- 2 files changed, 4 insertions(+), 187 deletions(-) diff --git a/msa/web-report/package.json b/msa/web-report/package.json index fe0ec7a8ff..01252ba26c 100644 --- a/msa/web-report/package.json +++ b/msa/web-report/package.json @@ -8,8 +8,8 @@ "scripts": { "pkg": "tsc && pkg -t node22-linux-x64 --output ./target/thingsboard-web-report-linux ./target/src && pkg -t node22-win-x64 --no-bytecode --public-packages \"*\" --public --output ./target/thingsboard-web-report-win.exe ./target/src && node install.js", "test": "echo \"Error: no test specified\" && exit 1", - "start": "nodemon --watch '.' --ext 'ts' --exec 'ts-node server.ts'", - "start-prod": "nodemon --watch '.' --ext 'ts' --exec 'NODE_ENV=production ts-node server.ts'", + "start": "node --watch --watch-preserve-output -r ts-node/register server.ts", + "start-prod": "NODE_ENV=production node --watch --watch-preserve-output -r ts-node/register server.ts", "build": "tsc" }, "dependencies": { @@ -35,7 +35,6 @@ "@types/node": "~22.17.2", "@yao-pkg/pkg": "^6.6.0", "fs-extra": "~11.3.1", - "nodemon": "~3.1.10", "postinstall-postinstall": "^2.1.0", "ts-node": "~10.9.2", "typescript": "~5.9.3" diff --git a/msa/web-report/yarn.lock b/msa/web-report/yarn.lock index d2ee63937d..9111e626ca 100644 --- a/msa/web-report/yarn.lock +++ b/msa/web-report/yarn.lock @@ -288,14 +288,6 @@ ansi-styles@^4.0.0: dependencies: color-convert "^2.0.1" -anymatch@~3.1.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - arg@^4.1.0: version "4.1.3" resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" @@ -311,21 +303,11 @@ async@^3.2.3: resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - base64-js@^1.3.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -binary-extensions@^2.0.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" - integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== - bl@^4.0.3: version "4.1.0" resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" @@ -355,21 +337,6 @@ body-parser@^2.2.0: raw-body "^3.0.0" type-is "^2.0.0" -brace-expansion@^1.1.7: - version "1.1.18" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.18.tgz#3ce74d89885136be1535341f8c3d4425c29a5cab" - integrity sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@~3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" - integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== - dependencies: - fill-range "^7.1.1" - buffer@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" @@ -399,21 +366,6 @@ call-bound@^1.0.2: call-bind-apply-helpers "^1.0.2" get-intrinsic "^1.3.0" -chokidar@^3.5.2: - version "3.6.0" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" - integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - chownr@^1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -481,11 +433,6 @@ colorspace@1.1.x: color "^3.1.3" text-hex "1.0.x" -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - config@~4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/config/-/config-4.1.1.tgz#798f636e2a5b7baa7050280d1eb21f8e10abb8c9" @@ -525,7 +472,7 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -debug@4, debug@^4, debug@^4.3.5, debug@^4.4.0: +debug@4, debug@^4.3.5, debug@^4.4.0: version "4.4.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== @@ -689,13 +636,6 @@ file-stream-rotator@^0.6.1: dependencies: moment "^2.29.1" -fill-range@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" - integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== - dependencies: - to-regex-range "^5.0.1" - finalhandler@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.0.tgz#72306373aa89d05a8242ed569ed86a1bff7c561f" @@ -745,11 +685,6 @@ fs-extra@^11.2.0, fs-extra@~11.3.1: jsonfile "^6.0.1" universalify "^2.0.0" -fsevents@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - function-bind@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" @@ -789,13 +724,6 @@ github-from-package@0.0.0: resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" integrity sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw== -glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - gopd@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" @@ -806,11 +734,6 @@ graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== - has-symbols@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" @@ -854,11 +777,6 @@ ieee754@^1.1.13: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -ignore-by-default@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" - integrity sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA== - inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" @@ -887,13 +805,6 @@ is-arrayish@^0.3.1: resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - is-core-module@^2.16.0: version "2.16.1" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" @@ -901,28 +812,11 @@ is-core-module@^2.16.0: dependencies: hasown "^2.0.2" -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - is-promise@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3" @@ -1018,13 +912,6 @@ mimic-response@^3.1.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== -minimatch@^3.1.2: - version "3.1.5" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e" - integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w== - dependencies: - brace-expansion "^1.1.7" - minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.6: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" @@ -1094,27 +981,6 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -nodemon@~3.1.10: - version "3.1.10" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-3.1.10.tgz#5015c5eb4fffcb24d98cf9454df14f4fecec9bc1" - integrity sha512-WDjw3pJ0/0jMFmyNDp3gvY2YizjLmmOUQo6DEBY+JgdvW/yQ9mEeSw6H5ythl5Ny2ytb7f9C2nIbjSxMNzbJXw== - dependencies: - chokidar "^3.5.2" - debug "^4" - ignore-by-default "^1.0.1" - minimatch "^3.1.2" - pstree.remy "^1.1.8" - semver "^7.5.3" - simple-update-notifier "^2.0.0" - supports-color "^5.5.0" - touch "^3.1.0" - undefsafe "^2.0.5" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - object-hash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" @@ -1171,11 +1037,6 @@ picocolors@^1.1.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== -picomatch@^2.0.4, picomatch@^2.2.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.2.tgz#5a942915e26b372dc0f0e6753149a16e6b1c5601" - integrity sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA== - picomatch@^4.0.2: version "4.0.4" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" @@ -1234,11 +1095,6 @@ proxy-addr@^2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" -pstree.remy@^1.1.8: - version "1.1.8" - resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" - integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== - pump@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.3.tgz#151d979f1a29668dc0025ec589a455b53282268d" @@ -1301,13 +1157,6 @@ readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0, readable string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -1353,7 +1202,7 @@ safe-stable-stringify@^2.3.1: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -semver@^7.3.5, semver@^7.5.3: +semver@^7.3.5: version "7.7.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.4.tgz#28464e36060e991fa7a11d0279d2d3f3b57a7e8a" integrity sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA== @@ -1451,13 +1300,6 @@ simple-swizzle@^0.2.2: dependencies: is-arrayish "^0.3.1" -simple-update-notifier@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz#d70b92bdab7d6d90dfd73931195a30b6e3d7cebb" - integrity sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w== - dependencies: - semver "^7.5.3" - stack-trace@0.0.x: version "0.0.10" resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" @@ -1515,13 +1357,6 @@ strip-json-comments@~2.0.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== -supports-color@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -1572,23 +1407,11 @@ tinyglobby@^0.2.11: fdir "^6.4.4" picomatch "^4.0.2" -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - toidentifier@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== -touch@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.1.tgz#097a23d7b161476435e5c1344a95c0f75b4a5694" - integrity sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA== - tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" @@ -1639,11 +1462,6 @@ typescript@~5.9.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.3.tgz#5b4f59e15310ab17a216f5d6cf53ee476ede670f" integrity sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw== -undefsafe@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" - integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA== - undici-types@~6.21.0: version "6.21.0" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" From df9274e04fcceda41dfab361d0859eada9f9a810 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 22 Oct 2026 17:51:28 +0200 Subject: [PATCH 263/559] Fixed CVE-2021-23358: upgrade underscore 1.10.2 to 1.13.8 in TBEL worker bundle --- .../app/shared/models/ace/tbel/worker-tbel.js | 2146 +++++++++-------- 1 file changed, 1126 insertions(+), 1020 deletions(-) diff --git a/ui-ngx/src/app/shared/models/ace/tbel/worker-tbel.js b/ui-ngx/src/app/shared/models/ace/tbel/worker-tbel.js index c15527f4da..323b8ef874 100644 --- a/ui-ngx/src/app/shared/models/ace/tbel/worker-tbel.js +++ b/ui-ngx/src/app/shared/models/ace/tbel/worker-tbel.js @@ -2410,20 +2410,20 @@ function toNumber(value) { module.exports = slice; -},{}],"/../../jshint/node_modules/underscore/underscore.js":[function(_dereq_,module,exports){ +},{}],"/../../jshint/node_modules/underscore/underscore-umd.js":[function(_dereq_,module,exports){ (function (global){ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define('underscore', factory) : - (function() { - var current = global._; - var exports = factory(); - global._ = exports; - exports.noConflict = function() { global._ = current; return exports; }; - })(); + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (function () { + var current = global._; + var exports = global._ = factory(); + exports.noConflict = function () { global._ = current; return exports; }; + }())); }(this, (function () { - var root = typeof self == 'object' && self.self === self && self || - typeof global == 'object' && global.global === global && global || + var VERSION = '1.13.8'; + var root = (typeof self == 'object' && self.self === self && self) || + (typeof global == 'object' && global.global === global && global) || Function('return this')() || {}; var ArrayProto = Array.prototype, ObjProto = Object.prototype; @@ -2432,49 +2432,18 @@ module.exports = slice; slice = ArrayProto.slice, toString = ObjProto.toString, hasOwnProperty = ObjProto.hasOwnProperty; + var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', + supportsDataView = typeof DataView !== 'undefined'; var nativeIsArray = Array.isArray, nativeKeys = Object.keys, - nativeCreate = Object.create; - var _isNaN = root.isNaN, - _isFinite = root.isFinite; - var Ctor = function(){}; - function _(obj) { - if (obj instanceof _) return obj; - if (!(this instanceof _)) return new _(obj); - this._wrapped = obj; - } - var VERSION = _.VERSION = '1.10.2'; - function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; - } - function baseIteratee(value, context, argCount) { - if (value == null) return identity; - if (isFunction(value)) return optimizeCb(value, context, argCount); - if (isObject(value) && !isArray(value)) return matcher(value); - return property(value); - } - _.iteratee = iteratee; - function iteratee(value, context) { - return baseIteratee(value, context, Infinity); - } - function cb(value, context, argCount) { - if (_.iteratee !== iteratee) return _.iteratee(value, context); - return baseIteratee(value, context, argCount); - } + nativeCreate = Object.create, + nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; + var _isNaN = isNaN, + _isFinite = isFinite; + var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); + var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', + 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; + var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; function restArguments(func, startIndex) { startIndex = startIndex == null ? func.length - 1 : +startIndex; return function() { @@ -2497,469 +2466,598 @@ module.exports = slice; return func.apply(this, args); }; } - function baseCreate(prototype) { - if (!isObject(prototype)) return {}; - if (nativeCreate) return nativeCreate(prototype); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; - } - - function shallowProperty(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; - } - - function _has(obj, path) { - return obj != null && hasOwnProperty.call(obj, path); + function isObject(obj) { + var type = typeof obj; + return type === 'function' || (type === 'object' && !!obj); } - - function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; + function isNull(obj) { + return obj === null; } - var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - var getLength = shallowProperty('length'); - function isArrayLike(collection) { - var length = getLength(collection); - return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX; + function isUndefined(obj) { + return obj === void 0; } - function each(obj, iteratee, context) { - iteratee = optimizeCb(iteratee, context); - var i, length; - if (isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var _keys = keys(obj); - for (i = 0, length = _keys.length; i < length; i++) { - iteratee(obj[_keys[i]], _keys[i], obj); - } - } - return obj; + function isBoolean(obj) { + return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; } - function map(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; + function isElement(obj) { + return !!(obj && obj.nodeType === 1); } - function createReduce(dir) { - var reducer = function(obj, iteratee, memo, initial) { - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[_keys ? _keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = _keys ? _keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function(obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial); + function tagTester(name) { + var tag = '[object ' + name + ']'; + return function(obj) { + return toString.call(obj) === tag; }; } - var reduce = createReduce(1); - var reduceRight = createReduce(-1); - function find(obj, predicate, context) { - var keyFinder = isArrayLike(obj) ? findIndex : findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; + var isString = tagTester('String'); + var isNumber = tagTester('Number'); + var isDate = tagTester('Date'); + var isRegExp = tagTester('RegExp'); + var isError = tagTester('Error'); + var isSymbol = tagTester('Symbol'); + var isArrayBuffer = tagTester('ArrayBuffer'); + var isFunction = tagTester('Function'); + var nodelist = root.document && root.document.childNodes; + if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { + isFunction = function(obj) { + return typeof obj == 'function' || false; + }; } - function filter(obj, predicate, context) { - var results = []; - predicate = cb(predicate, context); - each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; + var isFunction$1 = isFunction; + var hasObjectTag = tagTester('Object'); + var hasDataViewBug = ( + supportsDataView && (!/\[native code\]/.test(String(DataView)) || hasObjectTag(new DataView(new ArrayBuffer(8)))) + ), + isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map)); + var isDataView = tagTester('DataView'); + function alternateIsDataView(obj) { + return obj != null && isFunction$1(obj.getInt8) && isArrayBuffer(obj.buffer); } - function reject(obj, predicate, context) { - return filter(obj, negate(cb(predicate)), context); + var isDataView$1 = (hasDataViewBug ? alternateIsDataView : isDataView); + var isArray = nativeIsArray || tagTester('Array'); + function has$1(obj, key) { + return obj != null && hasOwnProperty.call(obj, key); } - function every(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; + var isArguments = tagTester('Arguments'); + (function() { + if (!isArguments(arguments)) { + isArguments = function(obj) { + return has$1(obj, 'callee'); + }; } - return true; + }()); + var isArguments$1 = isArguments; + function isFinite$1(obj) { + return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj)); } - function some(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; + function isNaN$1(obj) { + return isNumber(obj) && _isNaN(obj); } - function contains(obj, item, fromIndex, guard) { - if (!isArrayLike(obj)) obj = values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return indexOf(obj, item, fromIndex) >= 0; + function constant(value) { + return function() { + return value; + }; } - var invoke = restArguments(function(obj, path, args) { - var contextPath, func; - if (isFunction(path)) { - func = path; - } else if (isArray(path)) { - contextPath = path.slice(0, -1); - path = path[path.length - 1]; + function createSizePropertyCheck(getSizeProperty) { + return function(collection) { + var sizeProperty = getSizeProperty(collection); + return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX; } - return map(obj, function(context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); - }); - function pluck(obj, key) { - return map(obj, property(key)); } - function where(obj, attrs) { - return filter(obj, matcher(attrs)); + function shallowProperty(key) { + return function(obj) { + return obj == null ? void 0 : obj[key]; + }; } - function findWhere(obj, attrs) { - return find(obj, matcher(attrs)); + var getByteLength = shallowProperty('byteLength'); + var isBufferLike = createSizePropertyCheck(getByteLength); + var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; + function isTypedArray(obj) { + return nativeIsView ? (nativeIsView(obj) && !isDataView$1(obj)) : + isBufferLike(obj) && typedArrayPattern.test(toString.call(obj)); } - function max(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } + var isTypedArray$1 = supportsArrayBuffer ? isTypedArray : constant(false); + var getLength = shallowProperty('length'); + function emulatedSet(keys) { + var hash = {}; + for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; + return { + contains: function(key) { return hash[key] === true; }, + push: function(key) { + hash[key] = true; + return keys.push(key); } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; + }; } - function min(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } + function collectNonEnumProps(obj, keys) { + keys = emulatedSet(keys); + var nonEnumIdx = nonEnumerableProps.length; + var constructor = obj.constructor; + var proto = (isFunction$1(constructor) && constructor.prototype) || ObjProto; + var prop = 'constructor'; + if (has$1(obj, prop) && !keys.contains(prop)) keys.push(prop); + while (nonEnumIdx--) { + prop = nonEnumerableProps[nonEnumIdx]; + if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { + keys.push(prop); } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = v; - lastComputed = computed; - } - }); } - return result; } - function shuffle(obj) { - return sample(obj, Infinity); + function keys(obj) { + if (!isObject(obj)) return []; + if (nativeKeys) return nativeKeys(obj); + var keys = []; + for (var key in obj) if (has$1(obj, key)) keys.push(key); + if (hasEnumBug) collectNonEnumProps(obj, keys); + return keys; } - function sample(obj, n, guard) { - if (n == null || guard) { - if (!isArrayLike(obj)) obj = values(obj); - return obj[random(obj.length - 1)]; - } - var sample = isArrayLike(obj) ? clone(obj) : values(obj); - var length = getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); - } - function sortBy(obj, iteratee, context) { - var index = 0; - iteratee = cb(iteratee, context); - return pluck(map(obj, function(value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); - } - function group(behavior, partition) { - return function(obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = cb(iteratee, context); - each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; + function isEmpty(obj) { + if (obj == null) return true; + var length = getLength(obj); + if (typeof length == 'number' && ( + isArray(obj) || isString(obj) || isArguments$1(obj) + )) return length === 0; + return getLength(keys(obj)) === 0; } - var groupBy = group(function(result, value, key) { - if (_has(result, key)) result[key].push(value); else result[key] = [value]; - }); - var indexBy = group(function(result, value, key) { - result[key] = value; - }); - var countBy = group(function(result, value, key) { - if (_has(result, key)) result[key]++; else result[key] = 1; - }); - - var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; - function toArray(obj) { - if (!obj) return []; - if (isArray(obj)) return slice.call(obj); - if (isString(obj)) { - return obj.match(reStrSymbol); + function isMatch(object, attrs) { + var _keys = keys(attrs), length = _keys.length; + if (object == null) return !length; + var obj = Object(object); + for (var i = 0; i < length; i++) { + var key = _keys[i]; + if (attrs[key] !== obj[key] || !(key in obj)) return false; } - if (isArrayLike(obj)) return map(obj, identity); - return values(obj); - } - function size(obj) { - if (obj == null) return 0; - return isArrayLike(obj) ? obj.length : keys(obj).length; - } - var partition = group(function(result, value, pass) { - result[pass ? 0 : 1].push(value); - }, true); - function first(array, n, guard) { - if (array == null || array.length < 1) return n == null ? void 0 : []; - if (n == null || guard) return array[0]; - return initial(array, array.length - n); - } - function initial(array, n, guard) { - return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); - } - function last(array, n, guard) { - if (array == null || array.length < 1) return n == null ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return rest(array, Math.max(0, array.length - n)); - } - function rest(array, n, guard) { - return slice.call(array, n == null || guard ? 1 : n); + return true; } - function compact(array) { - return filter(array, Boolean); + function _$1(obj) { + if (obj instanceof _$1) return obj; + if (!(this instanceof _$1)) return new _$1(obj); + this._wrapped = obj; } - function _flatten(input, shallow, strict, output) { - output = output || []; - var idx = output.length; - for (var i = 0, length = getLength(input); i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (isArray(value) || isArguments(value))) { - if (shallow) { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } else { - _flatten(value, shallow, strict, output); - idx = output.length; + _$1.VERSION = VERSION; + _$1.prototype.value = function() { + return this._wrapped; + }; + _$1.prototype.valueOf = _$1.prototype.toJSON = _$1.prototype.value; + _$1.prototype.toString = function() { + return String(this._wrapped); + }; + function toBufferView(bufferSource) { + return new Uint8Array( + bufferSource.buffer || bufferSource, + bufferSource.byteOffset || 0, + getByteLength(bufferSource) + ); + } + var tagDataView = '[object DataView]'; + function isEqual(a, b) { + var todo = [{a: a, b: b}]; + var aStack = [], bStack = []; + while (todo.length) { + var frame = todo.pop(); + if (frame === true) { + aStack.pop(); + bStack.pop(); + continue; + } + a = frame.a; + b = frame.b; + if (a === b) { + if (a !== 0 || 1 / a === 1 / b) continue; + return false; + } + if (a == null || b == null) return false; + if (a !== a) { + if (b !== b) continue; + return false; + } + var type = typeof a; + if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; + if (a instanceof _$1) a = a._wrapped; + if (b instanceof _$1) b = b._wrapped; + var className = toString.call(a); + if (className !== toString.call(b)) return false; + if (hasDataViewBug && className == '[object Object]' && isDataView$1(a)) { + if (!isDataView$1(b)) return false; + className = tagDataView; + } + switch (className) { + case '[object RegExp]': + case '[object String]': + if ('' + a === '' + b) continue; + return false; + case '[object Number]': + todo.push({a: +a, b: +b}); + continue; + case '[object Date]': + case '[object Boolean]': + if (+a === +b) continue; + return false; + case '[object Symbol]': + if (SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b)) continue; + return false; + case '[object ArrayBuffer]': + case tagDataView: + todo.push({a: toBufferView(a), b: toBufferView(b)}); + continue; + } + var areArrays = className === '[object Array]'; + if (!areArrays && isTypedArray$1(a)) { + var byteLength = getByteLength(a); + if (byteLength !== getByteLength(b)) return false; + if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) continue; + areArrays = true; + } + if (!areArrays) { + if (typeof a != 'object' || typeof b != 'object') return false; + var aCtor = a.constructor, bCtor = b.constructor; + if (aCtor !== bCtor && !(isFunction$1(aCtor) && aCtor instanceof aCtor && + isFunction$1(bCtor) && bCtor instanceof bCtor) + && ('constructor' in a && 'constructor' in b)) { + return false; } - } else if (!strict) { - output[idx++] = value; } - } - return output; - } - function flatten(array, shallow) { - return _flatten(array, shallow, false); - } - var without = restArguments(function(array, otherArrays) { - return difference(array, otherArrays); - }); - function uniq(array, isSorted, iteratee, context) { - if (!isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!contains(seen, computed)) { - seen.push(computed); - result.push(value); + var length = aStack.length; + while (length--) { + if (aStack[length] === a) { + if (bStack[length] === b) break; + return false; + } + } + if (length >= 0) continue; + aStack.push(a); + bStack.push(b); + todo.push(true); + if (areArrays) { + length = a.length; + if (length !== b.length) return false; + while (length--) { + todo.push({a: a[length], b: b[length]}); + } + } else { + var _keys = keys(a), key; + length = _keys.length; + if (keys(b).length !== length) return false; + while (length--) { + key = _keys[length]; + if (!has$1(b, key)) return false; + todo.push({a: a[key], b: b[key]}); } - } else if (!contains(result, value)) { - result.push(value); } } - return result; + return true; } - var union = restArguments(function(arrays) { - return uniq(_flatten(arrays, true, true)); - }); - function intersection(array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = getLength(array); i < length; i++) { - var item = array[i]; - if (contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!contains(arguments[j], item)) break; + function allKeys(obj) { + if (!isObject(obj)) return []; + var keys = []; + for (var key in obj) keys.push(key); + if (hasEnumBug) collectNonEnumProps(obj, keys); + return keys; + } + function ie11fingerprint(methods) { + var length = getLength(methods); + return function(obj) { + if (obj == null) return false; + var keys = allKeys(obj); + if (getLength(keys)) return false; + for (var i = 0; i < length; i++) { + if (!isFunction$1(obj[methods[i]])) return false; } - if (j === argsLength) result.push(item); + return methods !== weakMapMethods || !isFunction$1(obj[forEachName]); + }; + } + var forEachName = 'forEach', + hasName = 'has', + commonInit = ['clear', 'delete'], + mapTail = ['get', hasName, 'set']; + var mapMethods = commonInit.concat(forEachName, mapTail), + weakMapMethods = commonInit.concat(mapTail), + setMethods = ['add'].concat(commonInit, forEachName, hasName); + var isMap = isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map'); + var isWeakMap = isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap'); + var isSet = isIE11 ? ie11fingerprint(setMethods) : tagTester('Set'); + var isWeakSet = tagTester('WeakSet'); + function values(obj) { + var _keys = keys(obj); + var length = _keys.length; + var values = Array(length); + for (var i = 0; i < length; i++) { + values[i] = obj[_keys[i]]; } - return result; + return values; } - var difference = restArguments(function(array, rest) { - rest = _flatten(rest, true, true); - return filter(array, function(value){ - return !contains(rest, value); - }); - }); - function unzip(array) { - var length = array && max(array, getLength).length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = pluck(array, index); + function pairs(obj) { + var _keys = keys(obj); + var length = _keys.length; + var pairs = Array(length); + for (var i = 0; i < length; i++) { + pairs[i] = [_keys[i], obj[_keys[i]]]; } - return result; + return pairs; } - var zip = restArguments(unzip); - function object(list, values) { + function invert(obj) { var result = {}; - for (var i = 0, length = getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } + var _keys = keys(obj); + for (var i = 0, length = _keys.length; i < length; i++) { + result[obj[_keys[i]]] = _keys[i]; } return result; } - function createPredicateIndexFinder(dir) { - return function(array, predicate, context) { - predicate = cb(predicate, context); - var length = getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; + function functions(obj) { + var names = []; + for (var key in obj) { + if (isFunction$1(obj[key])) names.push(key); + } + return names.sort(); + } + function createAssigner(keysFunc, defaults) { + return function(obj) { + var length = arguments.length; + if (defaults) obj = Object(obj); + if (length < 2 || obj == null) return obj; + for (var index = 1; index < length; index++) { + var source = arguments[index], + keys = keysFunc(source), + l = keys.length; + for (var i = 0; i < l; i++) { + var key = keys[i]; + if (!defaults || obj[key] === void 0) obj[key] = source[key]; + } } - return -1; + return obj; }; } - var findIndex = createPredicateIndexFinder(1); - var findLastIndex = createPredicateIndexFinder(-1); - function sortedIndex(array, obj, iteratee, context) { - iteratee = cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; + var extend = createAssigner(allKeys); + var extendOwn = createAssigner(keys); + var defaults = createAssigner(allKeys, true); + function ctor() { + return function(){}; } - function createIndexFinder(dir, predicateFind, sortedIndex) { - return function(array, item, idx) { - var i = 0, length = getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(slice.call(array, i, length), isNaN); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; + function baseCreate(prototype) { + if (!isObject(prototype)) return {}; + if (nativeCreate) return nativeCreate(prototype); + var Ctor = ctor(); + Ctor.prototype = prototype; + var result = new Ctor; + Ctor.prototype = null; + return result; + } + function create(prototype, props) { + var result = baseCreate(prototype); + if (props) extendOwn(result, props); + return result; + } + function clone(obj) { + if (!isObject(obj)) return obj; + return isArray(obj) ? obj.slice() : extend({}, obj); + } + function tap(obj, interceptor) { + interceptor(obj); + return obj; + } + function toPath$1(path) { + return isArray(path) ? path : [path]; + } + _$1.toPath = toPath$1; + function toPath(path) { + return _$1.toPath(path); + } + function deepGet(obj, path) { + var length = path.length; + for (var i = 0; i < length; i++) { + if (obj == null) return void 0; + obj = obj[path[i]]; + } + return length ? obj : void 0; + } + function get(object, path, defaultValue) { + var value = deepGet(object, toPath(path)); + return isUndefined(value) ? defaultValue : value; + } + function has(obj, path) { + path = toPath(path); + var length = path.length; + for (var i = 0; i < length; i++) { + var key = path[i]; + if (!has$1(obj, key)) return false; + obj = obj[key]; + } + return !!length; + } + function identity(value) { + return value; + } + function matcher(attrs) { + attrs = extendOwn({}, attrs); + return function(obj) { + return isMatch(obj, attrs); }; } - var indexOf = createIndexFinder(1, findIndex, sortedIndex); - var lastIndexOf = createIndexFinder(-1, findLastIndex); - function range(start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; + function property(path) { + path = toPath(path); + return function(obj) { + return deepGet(obj, path); + }; + } + function optimizeCb(func, context, argCount) { + if (context === void 0) return func; + switch (argCount == null ? 3 : argCount) { + case 1: return function(value) { + return func.call(context, value); + }; + case 3: return function(value, index, collection) { + return func.call(context, value, index, collection); + }; + case 4: return function(accumulator, value, index, collection) { + return func.call(context, accumulator, value, index, collection); + }; } - if (!step) { - step = stop < start ? -1 : 1; + return function() { + return func.apply(context, arguments); + }; + } + function baseIteratee(value, context, argCount) { + if (value == null) return identity; + if (isFunction$1(value)) return optimizeCb(value, context, argCount); + if (isObject(value) && !isArray(value)) return matcher(value); + return property(value); + } + function iteratee(value, context) { + return baseIteratee(value, context, Infinity); + } + _$1.iteratee = iteratee; + function cb(value, context, argCount) { + if (_$1.iteratee !== iteratee) return _$1.iteratee(value, context); + return baseIteratee(value, context, argCount); + } + function mapObject(obj, iteratee, context) { + iteratee = cb(iteratee, context); + var _keys = keys(obj), + length = _keys.length, + results = {}; + for (var index = 0; index < length; index++) { + var currentKey = _keys[index]; + results[currentKey] = iteratee(obj[currentKey], currentKey, obj); } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; + return results; + } + function noop(){} + function propertyOf(obj) { + if (obj == null) return noop; + return function(path) { + return get(obj, path); + }; + } + function times(n, iteratee, context) { + var accum = Array(Math.max(0, n)); + iteratee = optimizeCb(iteratee, context, 1); + for (var i = 0; i < n; i++) accum[i] = iteratee(i); + return accum; + } + function random(min, max) { + if (max == null) { + max = min; + min = 0; } - - return range; + return min + Math.floor(Math.random() * (max - min + 1)); } - function chunk(array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0, length = array.length; - while (i < length) { - result.push(slice.call(array, i, i += count)); + var now = Date.now || function() { + return new Date().getTime(); + }; + function createEscaper(map) { + var escaper = function(match) { + return map[match]; + }; + var source = '(?:' + keys(map).join('|') + ')'; + var testRegexp = RegExp(source); + var replaceRegexp = RegExp(source, 'g'); + return function(string) { + string = string == null ? '' : '' + string; + return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; + }; + } + var escapeMap = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''', + '`': '`' + }; + var _escape = createEscaper(escapeMap); + var unescapeMap = invert(escapeMap); + var _unescape = createEscaper(unescapeMap); + var templateSettings = _$1.templateSettings = { + evaluate: /<%([\s\S]+?)%>/g, + interpolate: /<%=([\s\S]+?)%>/g, + escape: /<%-([\s\S]+?)%>/g + }; + var noMatch = /(.)^/; + var escapes = { + "'": "'", + '\\': '\\', + '\r': 'r', + '\n': 'n', + '\u2028': 'u2028', + '\u2029': 'u2029' + }; + var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; + function escapeChar(match) { + return '\\' + escapes[match]; + } + var bareIdentifier = /^\s*(\w|\$)+\s*$/; + function template(text, settings, oldSettings) { + if (!settings && oldSettings) settings = oldSettings; + settings = defaults({}, settings, _$1.templateSettings); + var matcher = RegExp([ + (settings.escape || noMatch).source, + (settings.interpolate || noMatch).source, + (settings.evaluate || noMatch).source + ].join('|') + '|$', 'g'); + var index = 0; + var source = "__p+='"; + text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { + source += text.slice(index, offset).replace(escapeRegExp, escapeChar); + index = offset + match.length; + if (escape) { + source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; + } else if (interpolate) { + source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; + } else if (evaluate) { + source += "';\n" + evaluate + "\n__p+='"; + } + return match; + }); + source += "';\n"; + var argument = settings.variable; + if (argument) { + if (!bareIdentifier.test(argument)) throw new Error( + 'variable is not a bare identifier: ' + argument + ); + } else { + source = 'with(obj||{}){\n' + source + '}\n'; + argument = 'obj'; } - return result; + source = "var __t,__p='',__j=Array.prototype.join," + + "print=function(){__p+=__j.call(arguments,'');};\n" + + source + 'return __p;\n'; + var render; + try { + render = new Function(argument, '_', source); + } catch (e) { + e.source = source; + throw e; + } + var template = function(data) { + return render.call(this, data, _$1); + }; + template.source = 'function(' + argument + '){\n' + source + '}'; + return template; + } + function result(obj, path, fallback) { + path = toPath(path); + var length = path.length; + if (!length) { + return isFunction$1(fallback) ? fallback.call(obj) : fallback; + } + for (var i = 0; i < length; i++) { + var prop = obj == null ? void 0 : obj[path[i]]; + if (prop === void 0) { + prop = fallback; + i = length; + } + obj = isFunction$1(prop) ? prop.call(obj) : prop; + } + return obj; + } + var idCounter = 0; + function uniqueId(prefix) { + var id = ++idCounter + ''; + return prefix ? prefix + id : id; + } + function chain(obj) { + var instance = _$1(obj); + instance._chain = true; + return instance; } function executeBound(sourceFunc, boundFunc, context, callingContext, args) { if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); @@ -2968,13 +3066,6 @@ module.exports = slice; if (isObject(result)) return result; return self; } - var bind = restArguments(function(func, context, args) { - if (!isFunction(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function(callArgs) { - return executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; - }); var partial = restArguments(function(func, boundArgs) { var placeholder = partial.placeholder; var bound = function() { @@ -2988,22 +3079,56 @@ module.exports = slice; }; return bound; }); - - partial.placeholder = _; - var bindAll = restArguments(function(obj, _keys) { - _keys = _flatten(_keys, false, false); - var index = _keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = _keys[index]; - obj[key] = bind(obj[key], obj); - } - }); - function memoize(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; + partial.placeholder = _$1; + var bind = restArguments(function(func, context, args) { + if (!isFunction$1(func)) throw new TypeError('Bind must be called on a function'); + var bound = restArguments(function(callArgs) { + return executeBound(func, bound, context, this, args.concat(callArgs)); + }); + return bound; + }); + var isArrayLike = createSizePropertyCheck(getLength); + function flatten$1(input, depth, strict) { + if (!depth && depth !== 0) depth = Infinity; + var output = [], idx = 0, i = 0, length = getLength(input) || 0, stack = []; + while (true) { + if (i >= length) { + if (!stack.length) break; + var frame = stack.pop(); + i = frame.i; + input = frame.v; + length = getLength(input); + continue; + } + var value = input[i++]; + if (stack.length >= depth) { + output[idx++] = value; + } else if (isArrayLike(value) && (isArray(value) || isArguments$1(value))) { + stack.push({i: i, v: input}); + i = 0; + input = value; + length = getLength(input); + } else if (!strict) { + output[idx++] = value; + } + } + return output; + } + var bindAll = restArguments(function(obj, keys) { + keys = flatten$1(keys, false, false); + var index = keys.length; + if (index < 1) throw new Error('bindAll must be passed function names'); + while (index--) { + var key = keys[index]; + obj[key] = bind(obj[key], obj); + } + return obj; + }); + function memoize(func, hasher) { + var memoize = function(key) { + var cache = memoize.cache; var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!_has(cache, address)) cache[address] = func.apply(this, arguments); + if (!has$1(cache, address)) cache[address] = func.apply(this, arguments); return cache[address]; }; memoize.cache = {}; @@ -3014,19 +3139,17 @@ module.exports = slice; return func.apply(null, args); }, wait); }); - var defer = partial(delay, _, 1); + var defer = partial(delay, _$1, 1); function throttle(func, wait, options) { var timeout, context, args, result; var previous = 0; if (!options) options = {}; - var later = function() { previous = options.leading === false ? 0 : now(); timeout = null; result = func.apply(context, args); if (!timeout) context = args = null; }; - var throttled = function() { var _now = now(); if (!previous && options.leading === false) previous = _now; @@ -3046,41 +3169,39 @@ module.exports = slice; } return result; }; - throttled.cancel = function() { clearTimeout(timeout); previous = 0; timeout = context = args = null; }; - return throttled; } function debounce(func, wait, immediate) { - var timeout, result; - - var later = function(context, args) { - timeout = null; - if (args) result = func.apply(context, args); + var timeout, previous, args, result, context; + var later = function() { + var passed = now() - previous; + if (wait > passed) { + timeout = setTimeout(later, wait - passed); + } else { + timeout = null; + if (!immediate) result = func.apply(context, args); + if (!timeout) args = context = null; + } }; - - var debounced = restArguments(function(args) { - if (timeout) clearTimeout(timeout); - if (immediate) { - var callNow = !timeout; + var debounced = restArguments(function(_args) { + context = this; + args = _args; + previous = now(); + if (!timeout) { timeout = setTimeout(later, wait); - if (callNow) result = func.apply(this, args); - } else { - timeout = delay(later, wait, this, args); + if (immediate) result = func.apply(context, args); } - return result; }); - debounced.cancel = function() { clearTimeout(timeout); - timeout = null; + timeout = args = context = null; }; - return debounced; } function wrap(func, wrapper) { @@ -3119,513 +3240,579 @@ module.exports = slice; }; } var once = partial(before, 2); - var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); - var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - - function collectNonEnumProps(obj, _keys) { - var nonEnumIdx = nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = isFunction(constructor) && constructor.prototype || ObjProto; - var prop = 'constructor'; - if (_has(obj, prop) && !contains(_keys, prop)) _keys.push(prop); - - while (nonEnumIdx--) { - prop = nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !contains(_keys, prop)) { - _keys.push(prop); + function findKey(obj, predicate, context) { + predicate = cb(predicate, context); + var _keys = keys(obj), key; + for (var i = 0, length = _keys.length; i < length; i++) { + key = _keys[i]; + if (predicate(obj[key], key, obj)) return key; + } + } + function createPredicateIndexFinder(dir) { + return function(array, predicate, context) { + predicate = cb(predicate, context); + var length = getLength(array); + var index = dir > 0 ? 0 : length - 1; + for (; index >= 0 && index < length; index += dir) { + if (predicate(array[index], index, array)) return index; } + return -1; + }; + } + var findIndex = createPredicateIndexFinder(1); + var findLastIndex = createPredicateIndexFinder(-1); + function sortedIndex(array, obj, iteratee, context) { + iteratee = cb(iteratee, context, 1); + var value = iteratee(obj); + var low = 0, high = getLength(array); + while (low < high) { + var mid = Math.floor((low + high) / 2); + if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; } + return low; } - function keys(obj) { - if (!isObject(obj)) return []; - if (nativeKeys) return nativeKeys(obj); - var _keys = []; - for (var key in obj) if (_has(obj, key)) _keys.push(key); - if (hasEnumBug) collectNonEnumProps(obj, _keys); - return _keys; + function createIndexFinder(dir, predicateFind, sortedIndex) { + return function(array, item, idx) { + var i = 0, length = getLength(array); + if (typeof idx == 'number') { + if (dir > 0) { + i = idx >= 0 ? idx : Math.max(idx + length, i); + } else { + length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; + } + } else if (sortedIndex && idx && length) { + idx = sortedIndex(array, item); + return array[idx] === item ? idx : -1; + } + if (item !== item) { + idx = predicateFind(slice.call(array, i, length), isNaN$1); + return idx >= 0 ? idx + i : -1; + } + for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { + if (array[idx] === item) return idx; + } + return -1; + }; } - function allKeys(obj) { - if (!isObject(obj)) return []; - var _keys = []; - for (var key in obj) _keys.push(key); - if (hasEnumBug) collectNonEnumProps(obj, _keys); - return _keys; + var indexOf = createIndexFinder(1, findIndex, sortedIndex); + var lastIndexOf = createIndexFinder(-1, findLastIndex); + function find(obj, predicate, context) { + var keyFinder = isArrayLike(obj) ? findIndex : findKey; + var key = keyFinder(obj, predicate, context); + if (key !== void 0 && key !== -1) return obj[key]; } - function values(obj) { - var _keys = keys(obj); - var length = _keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[_keys[i]]; + function findWhere(obj, attrs) { + return find(obj, matcher(attrs)); + } + function each(obj, iteratee, context) { + iteratee = optimizeCb(iteratee, context); + var i, length; + if (isArrayLike(obj)) { + for (i = 0, length = obj.length; i < length; i++) { + iteratee(obj[i], i, obj); + } + } else { + var _keys = keys(obj); + for (i = 0, length = _keys.length; i < length; i++) { + iteratee(obj[_keys[i]], _keys[i], obj); + } } - return values; + return obj; } - function mapObject(obj, iteratee, context) { + function map(obj, iteratee, context) { iteratee = cb(iteratee, context); - var _keys = keys(obj), - length = _keys.length, - results = {}; + var _keys = !isArrayLike(obj) && keys(obj), + length = (_keys || obj).length, + results = Array(length); for (var index = 0; index < length; index++) { - var currentKey = _keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); + var currentKey = _keys ? _keys[index] : index; + results[index] = iteratee(obj[currentKey], currentKey, obj); } return results; } - function pairs(obj) { - var _keys = keys(obj); - var length = _keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [_keys[i], obj[_keys[i]]]; + function createReduce(dir) { + var reducer = function(obj, iteratee, memo, initial) { + var _keys = !isArrayLike(obj) && keys(obj), + length = (_keys || obj).length, + index = dir > 0 ? 0 : length - 1; + if (!initial) { + memo = obj[_keys ? _keys[index] : index]; + index += dir; + } + for (; index >= 0 && index < length; index += dir) { + var currentKey = _keys ? _keys[index] : index; + memo = iteratee(memo, obj[currentKey], currentKey, obj); + } + return memo; + }; + return function(obj, iteratee, memo, context) { + var initial = arguments.length >= 3; + return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial); + }; + } + var reduce = createReduce(1); + var reduceRight = createReduce(-1); + function filter(obj, predicate, context) { + var results = []; + predicate = cb(predicate, context); + each(obj, function(value, index, list) { + if (predicate(value, index, list)) results.push(value); + }); + return results; + } + function reject(obj, predicate, context) { + return filter(obj, negate(cb(predicate)), context); + } + function every(obj, predicate, context) { + predicate = cb(predicate, context); + var _keys = !isArrayLike(obj) && keys(obj), + length = (_keys || obj).length; + for (var index = 0; index < length; index++) { + var currentKey = _keys ? _keys[index] : index; + if (!predicate(obj[currentKey], currentKey, obj)) return false; } - return pairs; + return true; } - function invert(obj) { - var result = {}; - var _keys = keys(obj); - for (var i = 0, length = _keys.length; i < length; i++) { - result[obj[_keys[i]]] = _keys[i]; + function some(obj, predicate, context) { + predicate = cb(predicate, context); + var _keys = !isArrayLike(obj) && keys(obj), + length = (_keys || obj).length; + for (var index = 0; index < length; index++) { + var currentKey = _keys ? _keys[index] : index; + if (predicate(obj[currentKey], currentKey, obj)) return true; } - return result; + return false; } - function functions(obj) { - var names = []; - for (var key in obj) { - if (isFunction(obj[key])) names.push(key); + function contains(obj, item, fromIndex, guard) { + if (!isArrayLike(obj)) obj = values(obj); + if (typeof fromIndex != 'number' || guard) fromIndex = 0; + return indexOf(obj, item, fromIndex) >= 0; + } + var invoke = restArguments(function(obj, path, args) { + var contextPath, func; + if (isFunction$1(path)) { + func = path; + } else { + path = toPath(path); + contextPath = path.slice(0, -1); + path = path[path.length - 1]; } - return names.sort(); + return map(obj, function(context) { + var method = func; + if (!method) { + if (contextPath && contextPath.length) { + context = deepGet(context, contextPath); + } + if (context == null) return void 0; + method = context[path]; + } + return method == null ? method : method.apply(context, args); + }); + }); + function pluck(obj, key) { + return map(obj, property(key)); } - function createAssigner(keysFunc, defaults) { - return function(obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - _keys = keysFunc(source), - l = _keys.length; - for (var i = 0; i < l; i++) { - var key = _keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; + function where(obj, attrs) { + return filter(obj, matcher(attrs)); + } + function max(obj, iteratee, context) { + var result = -Infinity, lastComputed = -Infinity, + value, computed; + if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { + obj = isArrayLike(obj) ? obj : values(obj); + for (var i = 0, length = obj.length; i < length; i++) { + value = obj[i]; + if (value != null && value > result) { + result = value; } } - return obj; + } else { + iteratee = cb(iteratee, context); + each(obj, function(v, index, list) { + computed = iteratee(v, index, list); + if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) { + result = v; + lastComputed = computed; + } + }); + } + return result; + } + function min(obj, iteratee, context) { + var result = Infinity, lastComputed = Infinity, + value, computed; + if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { + obj = isArrayLike(obj) ? obj : values(obj); + for (var i = 0, length = obj.length; i < length; i++) { + value = obj[i]; + if (value != null && value < result) { + result = value; + } + } + } else { + iteratee = cb(iteratee, context); + each(obj, function(v, index, list) { + computed = iteratee(v, index, list); + if (computed < lastComputed || (computed === Infinity && result === Infinity)) { + result = v; + lastComputed = computed; + } + }); + } + return result; + } + var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; + function toArray(obj) { + if (!obj) return []; + if (isArray(obj)) return slice.call(obj); + if (isString(obj)) { + return obj.match(reStrSymbol); + } + if (isArrayLike(obj)) return map(obj, identity); + return values(obj); + } + function sample(obj, n, guard) { + if (n == null || guard) { + if (!isArrayLike(obj)) obj = values(obj); + return obj[random(obj.length - 1)]; + } + var sample = toArray(obj); + var length = getLength(sample); + n = Math.max(Math.min(n, length), 0); + var last = length - 1; + for (var index = 0; index < n; index++) { + var rand = random(index, last); + var temp = sample[index]; + sample[index] = sample[rand]; + sample[rand] = temp; + } + return sample.slice(0, n); + } + function shuffle(obj) { + return sample(obj, Infinity); + } + function sortBy(obj, iteratee, context) { + var index = 0; + iteratee = cb(iteratee, context); + return pluck(map(obj, function(value, key, list) { + return { + value: value, + index: index++, + criteria: iteratee(value, key, list) + }; + }).sort(function(left, right) { + var a = left.criteria; + var b = right.criteria; + if (a !== b) { + if (a > b || a === void 0) return 1; + if (a < b || b === void 0) return -1; + } + return left.index - right.index; + }), 'value'); + } + function group(behavior, partition) { + return function(obj, iteratee, context) { + var result = partition ? [[], []] : {}; + iteratee = cb(iteratee, context); + each(obj, function(value, index) { + var key = iteratee(value, index, obj); + behavior(result, value, key); + }); + return result; }; } - var extend = createAssigner(allKeys); - var extendOwn = createAssigner(keys); - function findKey(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = keys(obj), key; - for (var i = 0, length = _keys.length; i < length; i++) { - key = _keys[i]; - if (predicate(obj[key], key, obj)) return key; - } + var groupBy = group(function(result, value, key) { + if (has$1(result, key)) result[key].push(value); else result[key] = [value]; + }); + var indexBy = group(function(result, value, key) { + result[key] = value; + }); + var countBy = group(function(result, value, key) { + if (has$1(result, key)) result[key]++; else result[key] = 1; + }); + var partition = group(function(result, value, pass) { + result[pass ? 0 : 1].push(value); + }, true); + function size(obj) { + if (obj == null) return 0; + return isArrayLike(obj) ? obj.length : keys(obj).length; } function keyInObj(value, key, obj) { return key in obj; } - var pick = restArguments(function(obj, _keys) { - var result = {}, iteratee = _keys[0]; + var pick = restArguments(function(obj, keys) { + var result = {}, iteratee = keys[0]; if (obj == null) return result; - if (isFunction(iteratee)) { - if (_keys.length > 1) iteratee = optimizeCb(iteratee, _keys[1]); - _keys = allKeys(obj); + if (isFunction$1(iteratee)) { + if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]); + keys = allKeys(obj); } else { iteratee = keyInObj; - _keys = _flatten(_keys, false, false); + keys = flatten$1(keys, false, false); obj = Object(obj); } - for (var i = 0, length = _keys.length; i < length; i++) { - var key = _keys[i]; + for (var i = 0, length = keys.length; i < length; i++) { + var key = keys[i]; var value = obj[key]; if (iteratee(value, key, obj)) result[key] = value; } return result; }); - var omit = restArguments(function(obj, _keys) { - var iteratee = _keys[0], context; - if (isFunction(iteratee)) { + var omit = restArguments(function(obj, keys) { + var iteratee = keys[0], context; + if (isFunction$1(iteratee)) { iteratee = negate(iteratee); - if (_keys.length > 1) context = _keys[1]; + if (keys.length > 1) context = keys[1]; } else { - _keys = map(_flatten(_keys, false, false), String); + keys = map(flatten$1(keys, false, false), String); iteratee = function(value, key) { - return !contains(_keys, key); + return !contains(keys, key); }; } return pick(obj, iteratee, context); }); - var defaults = createAssigner(allKeys, true); - function create(prototype, props) { - var result = baseCreate(prototype); - if (props) extendOwn(result, props); - return result; - } - function clone(obj) { - if (!isObject(obj)) return obj; - return isArray(obj) ? obj.slice() : extend({}, obj); - } - function tap(obj, interceptor) { - interceptor(obj); - return obj; - } - function isMatch(object, attrs) { - var _keys = keys(attrs), length = _keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = _keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; - } - function eq(a, b, aStack, bStack) { - if (a === b) return a !== 0 || 1 / a === 1 / b; - if (a == null || b == null) return false; - if (a !== a) return b !== b; - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); - } - function deepEq(a, b, aStack, bStack) { - if (a instanceof _) a = a._wrapped; - if (b instanceof _) b = b._wrapped; - var className = toString.call(a); - if (className !== toString.call(b)) return false; - switch (className) { - case '[object RegExp]': - case '[object String]': - return '' + a === '' + b; - case '[object Number]': - if (+a !== +a) return +b !== +b; - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - return +a === +b; - case '[object Symbol]': - return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b); - } - - var areArrays = className === '[object Array]'; - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor && - isFunction(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - if (aStack[length] === a) return bStack[length] === b; - } - aStack.push(a); - bStack.push(b); - if (areArrays) { - length = a.length; - if (length !== b.length) return false; - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - var _keys = keys(a), key; - length = _keys.length; - if (keys(b).length !== length) return false; - while (length--) { - key = _keys[length]; - if (!(_has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - aStack.pop(); - bStack.pop(); - return true; - } - function isEqual(a, b) { - return eq(a, b); - } - function isEmpty(obj) { - if (obj == null) return true; - if (isArrayLike(obj) && (isArray(obj) || isString(obj) || isArguments(obj))) return obj.length === 0; - return keys(obj).length === 0; - } - function isElement(obj) { - return !!(obj && obj.nodeType === 1); - } - function tagTester(name) { - return function(obj) { - return toString.call(obj) === '[object ' + name + ']'; - }; - } - var isArray = nativeIsArray || tagTester('Array'); - function isObject(obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; - } - var isArguments = tagTester('Arguments'); - var isFunction = tagTester('Function'); - var isString = tagTester('String'); - var isNumber = tagTester('Number'); - var isDate = tagTester('Date'); - var isRegExp = tagTester('RegExp'); - var isError = tagTester('Error'); - var isSymbol = tagTester('Symbol'); - var isMap = tagTester('Map'); - var isWeakMap = tagTester('WeakMap'); - var isSet = tagTester('Set'); - var isWeakSet = tagTester('WeakSet'); - (function() { - if (!isArguments(arguments)) { - isArguments = function(obj) { - return _has(obj, 'callee'); - }; - } - }()); - var nodelist = root.document && root.document.childNodes; - if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { - isFunction = function(obj) { - return typeof obj == 'function' || false; - }; + function initial(array, n, guard) { + return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); } - function isFinite(obj) { - return !isSymbol(obj) && _isFinite(obj) && !_isNaN(parseFloat(obj)); + function first(array, n, guard) { + if (array == null || array.length < 1) return n == null || guard ? void 0 : []; + if (n == null || guard) return array[0]; + return initial(array, array.length - n); } - function isNaN(obj) { - return isNumber(obj) && _isNaN(obj); + function rest(array, n, guard) { + return slice.call(array, n == null || guard ? 1 : n); } - function isBoolean(obj) { - return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; + function last(array, n, guard) { + if (array == null || array.length < 1) return n == null || guard ? void 0 : []; + if (n == null || guard) return array[array.length - 1]; + return rest(array, Math.max(0, array.length - n)); } - function isNull(obj) { - return obj === null; + function compact(array) { + return filter(array, Boolean); } - function isUndefined(obj) { - return obj === void 0; + function flatten(array, depth) { + return flatten$1(array, depth, false); } - function has(obj, path) { - if (!isArray(path)) { - return _has(obj, path); + var difference = restArguments(function(array, rest) { + rest = flatten$1(rest, true, true); + return filter(array, function(value){ + return !contains(rest, value); + }); + }); + var without = restArguments(function(array, otherArrays) { + return difference(array, otherArrays); + }); + function uniq(array, isSorted, iteratee, context) { + if (!isBoolean(isSorted)) { + context = iteratee; + iteratee = isSorted; + isSorted = false; } - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (obj == null || !hasOwnProperty.call(obj, key)) { - return false; + if (iteratee != null) iteratee = cb(iteratee, context); + var result = []; + var seen = []; + for (var i = 0, length = getLength(array); i < length; i++) { + var value = array[i], + computed = iteratee ? iteratee(value, i, array) : value; + if (isSorted && !iteratee) { + if (!i || seen !== computed) result.push(value); + seen = computed; + } else if (iteratee) { + if (!contains(seen, computed)) { + seen.push(computed); + result.push(value); + } + } else if (!contains(result, value)) { + result.push(value); } - obj = obj[key]; } - return !!length; - } - function identity(value) { - return value; - } - function constant(value) { - return function() { - return value; - }; + return result; } - - function noop(){} - function property(path) { - if (!isArray(path)) { - return shallowProperty(path); + var union = restArguments(function(arrays) { + return uniq(flatten$1(arrays, true, true)); + }); + function intersection(array) { + var result = []; + var argsLength = arguments.length; + for (var i = 0, length = getLength(array); i < length; i++) { + var item = array[i]; + if (contains(result, item)) continue; + var j; + for (j = 1; j < argsLength; j++) { + if (!contains(arguments[j], item)) break; + } + if (j === argsLength) result.push(item); } - return function(obj) { - return deepGet(obj, path); - }; + return result; } - function propertyOf(obj) { - if (obj == null) { - return function(){}; + function unzip(array) { + var length = (array && max(array, getLength).length) || 0; + var result = Array(length); + for (var index = 0; index < length; index++) { + result[index] = pluck(array, index); } - return function(path) { - return !isArray(path) ? obj[path] : deepGet(obj, path); - }; - } - function matcher(attrs) { - attrs = extendOwn({}, attrs); - return function(obj) { - return isMatch(obj, attrs); - }; - } - function times(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; + return result; } - function random(min, max) { - if (max == null) { - max = min; - min = 0; + var zip = restArguments(unzip); + function object(list, values) { + var result = {}; + for (var i = 0, length = getLength(list); i < length; i++) { + if (values) { + result[list[i]] = values[i]; + } else { + result[list[i][0]] = list[i][1]; + } } - return min + Math.floor(Math.random() * (max - min + 1)); - } - var now = Date.now || function() { - return new Date().getTime(); - }; - var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' - }; - var unescapeMap = invert(escapeMap); - function createEscaper(map) { - var escaper = function(match) { - return map[match]; - }; - var source = '(?:' + keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; + return result; } - var escape = createEscaper(escapeMap); - var unescape = createEscaper(unescapeMap); - function result(obj, path, fallback) { - if (!isArray(path)) path = [path]; - var length = path.length; - if (!length) { - return isFunction(fallback) ? fallback.call(obj) : fallback; + function range(start, stop, step) { + if (stop == null) { + stop = start || 0; + start = 0; + } + if (!step) { + step = stop < start ? -1 : 1; } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = isFunction(prop) ? prop.call(obj) : prop; + var length = Math.max(Math.ceil((stop - start) / step), 0); + var range = Array(length); + for (var idx = 0; idx < length; idx++, start += step) { + range[idx] = start; } - return obj; - } - var idCounter = 0; - function uniqueId(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; + return range; } - var templateSettings = _.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g - }; - var noMatch = /(.)^/; - var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - - var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - - var escapeChar = function(match) { - return '\\' + escapes[match]; - }; - function template(text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = defaults({}, settings, _.templateSettings); - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source - ].join('|') + '|$', 'g'); - var index = 0; - var source = "__p+='"; - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - return match; - }); - source += "';\n"; - if (!settings.variable) source = 'with(obj||{}){\n' + source + '}\n'; - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - var render; - try { - render = new Function(settings.variable || 'obj', '_', source); - } catch (e) { - e.source = source; - throw e; + function chunk(array, count) { + if (count == null || count < 1) return []; + var result = []; + var i = 0, length = array.length; + while (i < length) { + result.push(slice.call(array, i, i += count)); } - - var template = function(data) { - return render.call(this, data, _); - }; - var argument = settings.variable || 'obj'; - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; - } - function chain(obj) { - var instance = _(obj); - instance._chain = true; - return instance; + return result; } function chainResult(instance, obj) { - return instance._chain ? _(obj).chain() : obj; + return instance._chain ? _$1(obj).chain() : obj; } function mixin(obj) { each(functions(obj), function(name) { - var func = _[name] = obj[name]; - _.prototype[name] = function() { + var func = _$1[name] = obj[name]; + _$1.prototype[name] = function() { var args = [this._wrapped]; push.apply(args, arguments); - return chainResult(this, func.apply(_, args)); + return chainResult(this, func.apply(_$1, args)); }; }); - return _; + return _$1; } each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { var method = ArrayProto[name]; - _.prototype[name] = function() { + _$1.prototype[name] = function() { var obj = this._wrapped; - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) delete obj[0]; + if (obj != null) { + method.apply(obj, arguments); + if ((name === 'shift' || name === 'splice') && obj.length === 0) { + delete obj[0]; + } + } return chainResult(this, obj); }; }); each(['concat', 'join', 'slice'], function(name) { var method = ArrayProto[name]; - _.prototype[name] = function() { - return chainResult(this, method.apply(this._wrapped, arguments)); + _$1.prototype[name] = function() { + var obj = this._wrapped; + if (obj != null) obj = method.apply(obj, arguments); + return chainResult(this, obj); }; }); - _.prototype.value = function() { - return this._wrapped; - }; - _.prototype.valueOf = _.prototype.toJSON = _.prototype.value; - - _.prototype.toString = function() { - return String(this._wrapped); - }; - - var allExports = ({ - 'default': _, + var allExports = { + __proto__: null, VERSION: VERSION, - iteratee: iteratee, restArguments: restArguments, + isObject: isObject, + isNull: isNull, + isUndefined: isUndefined, + isBoolean: isBoolean, + isElement: isElement, + isString: isString, + isNumber: isNumber, + isDate: isDate, + isRegExp: isRegExp, + isError: isError, + isSymbol: isSymbol, + isArrayBuffer: isArrayBuffer, + isDataView: isDataView$1, + isArray: isArray, + isFunction: isFunction$1, + isArguments: isArguments$1, + isFinite: isFinite$1, + isNaN: isNaN$1, + isTypedArray: isTypedArray$1, + isEmpty: isEmpty, + isMatch: isMatch, + isEqual: isEqual, + isMap: isMap, + isWeakMap: isWeakMap, + isSet: isSet, + isWeakSet: isWeakSet, + keys: keys, + allKeys: allKeys, + values: values, + pairs: pairs, + invert: invert, + functions: functions, + methods: functions, + extend: extend, + extendOwn: extendOwn, + assign: extendOwn, + defaults: defaults, + create: create, + clone: clone, + tap: tap, + get: get, + has: has, + mapObject: mapObject, + identity: identity, + constant: constant, + noop: noop, + toPath: toPath$1, + property: property, + propertyOf: propertyOf, + matcher: matcher, + matches: matcher, + times: times, + random: random, + now: now, + escape: _escape, + unescape: _unescape, + templateSettings: templateSettings, + template: template, + result: result, + uniqueId: uniqueId, + chain: chain, + iteratee: iteratee, + partial: partial, + bind: bind, + bindAll: bindAll, + memoize: memoize, + delay: delay, + defer: defer, + throttle: throttle, + debounce: debounce, + wrap: wrap, + negate: negate, + compose: compose, + after: after, + before: before, + once: once, + findKey: findKey, + findIndex: findIndex, + findLastIndex: findLastIndex, + sortedIndex: sortedIndex, + indexOf: indexOf, + lastIndexOf: lastIndexOf, + find: find, + detect: find, + findWhere: findWhere, each: each, forEach: each, map: map, @@ -3635,8 +3822,6 @@ module.exports = slice; inject: reduce, reduceRight: reduceRight, foldr: reduceRight, - find: find, - detect: find, filter: filter, select: filter, reject: reject, @@ -3650,7 +3835,6 @@ module.exports = slice; invoke: invoke, pluck: pluck, where: where, - findWhere: findWhere, max: max, min: min, shuffle: shuffle, @@ -3659,9 +3843,11 @@ module.exports = slice; groupBy: groupBy, indexBy: indexBy, countBy: countBy, + partition: partition, toArray: toArray, size: size, - partition: partition, + pick: pick, + omit: omit, first: first, head: first, take: first, @@ -3679,98 +3865,18 @@ module.exports = slice; intersection: intersection, difference: difference, unzip: unzip, + transpose: unzip, zip: zip, object: object, - findIndex: findIndex, - findLastIndex: findLastIndex, - sortedIndex: sortedIndex, - indexOf: indexOf, - lastIndexOf: lastIndexOf, range: range, chunk: chunk, - bind: bind, - partial: partial, - bindAll: bindAll, - memoize: memoize, - delay: delay, - defer: defer, - throttle: throttle, - debounce: debounce, - wrap: wrap, - negate: negate, - compose: compose, - after: after, - before: before, - once: once, - keys: keys, - allKeys: allKeys, - values: values, - mapObject: mapObject, - pairs: pairs, - invert: invert, - functions: functions, - methods: functions, - extend: extend, - extendOwn: extendOwn, - assign: extendOwn, - findKey: findKey, - pick: pick, - omit: omit, - defaults: defaults, - create: create, - clone: clone, - tap: tap, - isMatch: isMatch, - isEqual: isEqual, - isEmpty: isEmpty, - isElement: isElement, - isArray: isArray, - isObject: isObject, - isArguments: isArguments, - isFunction: isFunction, - isString: isString, - isNumber: isNumber, - isDate: isDate, - isRegExp: isRegExp, - isError: isError, - isSymbol: isSymbol, - isMap: isMap, - isWeakMap: isWeakMap, - isSet: isSet, - isWeakSet: isWeakSet, - isFinite: isFinite, - isNaN: isNaN, - isBoolean: isBoolean, - isNull: isNull, - isUndefined: isUndefined, - has: has, - identity: identity, - constant: constant, - noop: noop, - property: property, - propertyOf: propertyOf, - matcher: matcher, - matches: matcher, - times: times, - random: random, - now: now, - escape: escape, - unescape: unescape, - result: result, - uniqueId: uniqueId, - templateSettings: templateSettings, - template: template, - chain: chain, - mixin: mixin - }); - var _$1 = mixin(allExports); - _$1._ = _$1; - - return _$1; - + mixin: mixin, + 'default': _$1 + }; + var _ = mixin(allExports); + _._ = _; + return _; }))); - - }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],"/../../jshint/src/jshint.js":[function(_dereq_,module,exports){ @@ -9324,7 +9430,7 @@ if (typeof exports === "object" && exports) { exports.JSHINT = JSHINT; } -},{"./lex.js":"/../../jshint/src/lex.js","./messages.js":"/../../jshint/src/messages.js","./options.js":"/../../jshint/src/options.js","./prod-params.js":"/../../jshint/src/prod-params.js","./reg.js":"/../../jshint/src/reg.js","./scope-manager.js":"/../../jshint/src/scope-manager.js","./state.js":"/../../jshint/src/state.js","./style.js":"/../../jshint/src/style.js","./vars.js":"/../../jshint/src/vars.js","console-browserify":"/../../jshint/node_modules/console-browserify/index.js","events":"/../node_modules/events/events.js","lodash.clone":"/../../jshint/node_modules/lodash.clone/index.js","underscore":"/../../jshint/node_modules/underscore/underscore.js"}],"/../../jshint/src/lex.js":[function(_dereq_,module,exports){ +},{"./lex.js":"/../../jshint/src/lex.js","./messages.js":"/../../jshint/src/messages.js","./options.js":"/../../jshint/src/options.js","./prod-params.js":"/../../jshint/src/prod-params.js","./reg.js":"/../../jshint/src/reg.js","./scope-manager.js":"/../../jshint/src/scope-manager.js","./state.js":"/../../jshint/src/state.js","./style.js":"/../../jshint/src/style.js","./vars.js":"/../../jshint/src/vars.js","console-browserify":"/../../jshint/node_modules/console-browserify/index.js","events":"/../node_modules/events/events.js","lodash.clone":"/../../jshint/node_modules/lodash.clone/index.js","underscore":"/../../jshint/node_modules/underscore/underscore-umd.js"}],"/../../jshint/src/lex.js":[function(_dereq_,module,exports){ "use strict"; @@ -11202,7 +11308,7 @@ Lexer.prototype = { exports.Lexer = Lexer; exports.Context = Context; -},{"../data/ascii-identifier-data.js":"/../../jshint/data/ascii-identifier-data.js","../data/es5-identifier-names.js":"/../../jshint/data/es5-identifier-names.js","../data/non-ascii-identifier-part-only.js":"/../../jshint/data/non-ascii-identifier-part-only.js","../data/non-ascii-identifier-start.js":"/../../jshint/data/non-ascii-identifier-start.js","./reg.js":"/../../jshint/src/reg.js","./state.js":"/../../jshint/src/state.js","events":"/../node_modules/events/events.js","underscore":"/../../jshint/node_modules/underscore/underscore.js"}],"/../../jshint/src/messages.js":[function(_dereq_,module,exports){ +},{"../data/ascii-identifier-data.js":"/../../jshint/data/ascii-identifier-data.js","../data/es5-identifier-names.js":"/../../jshint/data/es5-identifier-names.js","../data/non-ascii-identifier-part-only.js":"/../../jshint/data/non-ascii-identifier-part-only.js","../data/non-ascii-identifier-start.js":"/../../jshint/data/non-ascii-identifier-start.js","./reg.js":"/../../jshint/src/reg.js","./state.js":"/../../jshint/src/state.js","events":"/../node_modules/events/events.js","underscore":"/../../jshint/node_modules/underscore/underscore-umd.js"}],"/../../jshint/src/messages.js":[function(_dereq_,module,exports){ "use strict"; var _ = _dereq_("underscore"); @@ -11457,7 +11563,7 @@ _.each(info, function(desc, code) { exports.info[code] = { code: code, desc: desc }; }); -},{"underscore":"/../../jshint/node_modules/underscore/underscore.js"}],"/../../jshint/src/name-stack.js":[function(_dereq_,module,exports){ +},{"underscore":"/../../jshint/node_modules/underscore/underscore-umd.js"}],"/../../jshint/src/name-stack.js":[function(_dereq_,module,exports){ "use strict"; function NameStack() { @@ -12385,7 +12491,7 @@ var scopeManager = function(state, predefined, exported, declared) { module.exports = scopeManager; -},{"events":"/../node_modules/events/events.js","lodash.slice":"/../../jshint/node_modules/lodash.slice/index.js","underscore":"/../../jshint/node_modules/underscore/underscore.js"}],"/../../jshint/src/state.js":[function(_dereq_,module,exports){ +},{"events":"/../node_modules/events/events.js","lodash.slice":"/../../jshint/node_modules/lodash.slice/index.js","underscore":"/../../jshint/node_modules/underscore/underscore-umd.js"}],"/../../jshint/src/state.js":[function(_dereq_,module,exports){ "use strict"; var NameStack = _dereq_("./name-stack.js"); From 7e416c95094379db368d24e503eeb8b996391e58 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Fri, 23 Oct 2026 08:53:30 +0200 Subject: [PATCH 264/559] Integration executor: apply rule engine queue updates and evict tenant routing info Integration executors loaded the rule engine queues only at startup and never evicted the cached tenant routing info. After a tenant switched to or from an isolated rule engine they kept pushing its uplinks to the old queue until restart. - send queue update/delete notifications to integration executors (new repeated fields 2 and 3 in ToIntegrationExecutorNotificationMsg) - apply them in DefaultClusterIntegrationService - evict tenant routing info on TENANT / TENANT_PROFILE events, after the tenant profile caches (new PartitionService.evictTenantProfileInfo) --- .../queue/DefaultTbClusterService.java | 17 ++- .../discovery/HashPartitionServiceTest.java | 24 +++ .../queue/DefaultTbClusterServiceTest.java | 45 ++++++ .../DefaultClusterIntegrationService.java | 30 +++- .../DefaultClusterIntegrationServiceTest.java | 137 ++++++++++++++++++ common/proto/src/main/proto/integration.proto | 2 + .../queue/discovery/HashPartitionService.java | 5 + .../queue/discovery/PartitionService.java | 3 + 8 files changed, 257 insertions(+), 6 deletions(-) create mode 100644 common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/queue/DefaultTbClusterService.java b/application/src/main/java/org/thingsboard/server/service/queue/DefaultTbClusterService.java index 8fddd463ff..9daadc818f 100644 --- a/application/src/main/java/org/thingsboard/server/service/queue/DefaultTbClusterService.java +++ b/application/src/main/java/org/thingsboard/server/service/queue/DefaultTbClusterService.java @@ -1189,7 +1189,8 @@ public class DefaultTbClusterService implements TbClusterService { ToRuleEngineNotificationMsg ruleEngineMsg = ToRuleEngineNotificationMsg.newBuilder().addAllQueueUpdateMsgs(queueUpdateMsgs).build(); ToCoreNotificationMsg coreMsg = ToCoreNotificationMsg.newBuilder().addAllQueueUpdateMsgs(queueUpdateMsgs).build(); ToTransportMsg transportMsg = ToTransportMsg.newBuilder().addAllQueueUpdateMsgs(queueUpdateMsgs).build(); - doSendQueueNotifications(ruleEngineMsg, coreMsg, transportMsg); + ToIntegrationExecutorNotificationMsg integrationExecutorMsg = ToIntegrationExecutorNotificationMsg.newBuilder().addAllQueueUpdateMsgs(queueUpdateMsgs).build(); + doSendQueueNotifications(ruleEngineMsg, coreMsg, transportMsg, integrationExecutorMsg); } @Override @@ -1207,15 +1208,20 @@ public class DefaultTbClusterService implements TbClusterService { ToRuleEngineNotificationMsg ruleEngineMsg = ToRuleEngineNotificationMsg.newBuilder().addAllQueueDeleteMsgs(queueDeleteMsgs).build(); ToCoreNotificationMsg coreMsg = ToCoreNotificationMsg.newBuilder().addAllQueueDeleteMsgs(queueDeleteMsgs).build(); ToTransportMsg transportMsg = ToTransportMsg.newBuilder().addAllQueueDeleteMsgs(queueDeleteMsgs).build(); - doSendQueueNotifications(ruleEngineMsg, coreMsg, transportMsg); + ToIntegrationExecutorNotificationMsg integrationExecutorMsg = ToIntegrationExecutorNotificationMsg.newBuilder().addAllQueueDeleteMsgs(queueDeleteMsgs).build(); + doSendQueueNotifications(ruleEngineMsg, coreMsg, transportMsg, integrationExecutorMsg); } - private void doSendQueueNotifications(ToRuleEngineNotificationMsg ruleEngineMsg, ToCoreNotificationMsg coreMsg, ToTransportMsg transportMsg) { + private void doSendQueueNotifications(ToRuleEngineNotificationMsg ruleEngineMsg, ToCoreNotificationMsg coreMsg, ToTransportMsg transportMsg, + ToIntegrationExecutorNotificationMsg integrationExecutorMsg) { Set tbRuleEngineServices = partitionService.getAllServiceIds(ServiceType.TB_RULE_ENGINE); Set tbCoreServices = partitionService.getAllServiceIds(ServiceType.TB_CORE); Set tbTransportServices = partitionService.getAllServiceIds(ServiceType.TB_TRANSPORT); + Set tbIntegrationExecutorServices = partitionService.getAllServiceIds(ServiceType.TB_INTEGRATION_EXECUTOR); // No need to push notifications twice tbTransportServices.removeAll(tbCoreServices); + tbIntegrationExecutorServices.removeAll(tbCoreServices); + tbIntegrationExecutorServices.removeAll(tbRuleEngineServices); tbCoreServices.removeAll(tbRuleEngineServices); for (String ruleEngineServiceId : tbRuleEngineServices) { @@ -1233,6 +1239,11 @@ public class DefaultTbClusterService implements TbClusterService { producerProvider.getTransportNotificationsMsgProducer().send(tpi, new TbProtoQueueMsg<>(UUID.randomUUID(), transportMsg), null); toTransportNfs.incrementAndGet(); } + for (String integrationExecutorServiceId : tbIntegrationExecutorServices) { + TopicPartitionInfo tpi = topicService.getNotificationsTopic(ServiceType.TB_INTEGRATION_EXECUTOR, integrationExecutorServiceId); + producerProvider.getTbIntegrationExecutorNotificationsMsgProducer().send(tpi, new TbProtoQueueMsg<>(UUID.randomUUID(), integrationExecutorMsg), null); + toIntegrationExecutorNfs.incrementAndGet(); + } } } diff --git a/application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java b/application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java index 2e53d39e8f..44d7291515 100644 --- a/application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java @@ -459,6 +459,30 @@ public class HashPartitionServiceTest { Set.of(tenantId).equals(event.getAffectedTenants())); } + @Test + public void testEvictTenantProfileInfo_reResolvesIsolationOnlyForTenantsOfThatProfile() { + TenantProfileId isolatedProfileId = new TenantProfileId(UUID.randomUUID()); + TenantProfileId otherProfileId = new TenantProfileId(UUID.randomUUID()); + TenantId tenantId = TenantId.fromUUID(UUID.randomUUID()); + TenantId otherTenantId = TenantId.fromUUID(UUID.randomUUID()); + mockQueues(List.of(createQueue(TenantId.SYS_TENANT_ID, 10), createQueue(tenantId, 3), createQueue(otherTenantId, 3))); + mockRoutingInfo(tenantId, isolatedProfileId, false); + mockRoutingInfo(otherTenantId, otherProfileId, false); + HashPartitionService partitionService = createPartitionService(); + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + + // routing info is cached as "not isolated" + assertThat(partitionService.resolve(ServiceType.TB_RULE_ENGINE, tenantId, deviceId).getFullTopicName()).doesNotContain(".isolated."); + assertThat(partitionService.resolve(ServiceType.TB_RULE_ENGINE, otherTenantId, deviceId).getFullTopicName()).doesNotContain(".isolated."); + + mockRoutingInfo(tenantId, isolatedProfileId, true); + mockRoutingInfo(otherTenantId, otherProfileId, true); + partitionService.evictTenantProfileInfo(isolatedProfileId); + + assertThat(partitionService.resolve(ServiceType.TB_RULE_ENGINE, tenantId, deviceId).getFullTopicName()).contains(".isolated." + tenantId.getId()); + assertThat(partitionService.resolve(ServiceType.TB_RULE_ENGINE, otherTenantId, deviceId).getFullTopicName()).doesNotContain(".isolated."); + } + @Test public void testPartitionsDistribution_sameTenantDifferentQueues() { List ruleEngines = new ArrayList<>(); diff --git a/application/src/test/java/org/thingsboard/server/service/queue/DefaultTbClusterServiceTest.java b/application/src/test/java/org/thingsboard/server/service/queue/DefaultTbClusterServiceTest.java index 013a12c26b..bba6e43124 100644 --- a/application/src/test/java/org/thingsboard/server/service/queue/DefaultTbClusterServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/queue/DefaultTbClusterServiceTest.java @@ -51,6 +51,7 @@ import org.thingsboard.server.dao.cf.CalculatedFieldService; import org.thingsboard.server.dao.edge.EdgeService; import org.thingsboard.server.dao.group.EntityGroupService; import org.thingsboard.server.dao.ota.OtaPackageStateService; +import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; import org.thingsboard.server.gen.transport.TransportProtos; import org.thingsboard.server.queue.TbQueueCallback; import org.thingsboard.server.queue.TbQueueProducer; @@ -299,6 +300,50 @@ public class DefaultTbClusterServiceTest { .send(eq(topicService.getNotificationsTopic(ServiceType.TB_TRANSPORT, monolith2)), any(TbProtoQueueMsg.class), isNull()); } + @Test + public void testOnQueuesUpdateIsSentToIntegrationExecutors() { + TbQueueProducer> tbIeQueueProducer = mockQueueNotificationTargetsWithIntegrationExecutors(); + + clusterService.onQueuesUpdate(List.of(createTestQueue())); + + ArgumentCaptor> msgCaptor = ArgumentCaptor.forClass(TbProtoQueueMsg.class); + verify(tbIeQueueProducer).send(eq(topicService.getNotificationsTopic(ServiceType.TB_INTEGRATION_EXECUTOR, "ie1")), msgCaptor.capture(), isNull()); + verifyNoMoreInteractions(tbIeQueueProducer); + ToIntegrationExecutorNotificationMsg ieMsg = msgCaptor.getValue().getValue(); + assertThat(ieMsg.getQueueUpdateMsgsCount()).isEqualTo(1); + assertThat(ieMsg.getQueueUpdateMsgs(0).getQueueName()).isEqualTo(DataConstants.MAIN_QUEUE_NAME); + assertThat(ieMsg.hasComponentLifecycle()).isFalse(); + } + + @Test + public void testOnQueuesDeleteIsSentToIntegrationExecutors() { + TbQueueProducer> tbIeQueueProducer = mockQueueNotificationTargetsWithIntegrationExecutors(); + + clusterService.onQueuesDelete(List.of(createTestQueue())); + + ArgumentCaptor> msgCaptor = ArgumentCaptor.forClass(TbProtoQueueMsg.class); + verify(tbIeQueueProducer).send(eq(topicService.getNotificationsTopic(ServiceType.TB_INTEGRATION_EXECUTOR, "ie1")), msgCaptor.capture(), isNull()); + verifyNoMoreInteractions(tbIeQueueProducer); + ToIntegrationExecutorNotificationMsg ieMsg = msgCaptor.getValue().getValue(); + assertThat(ieMsg.getQueueDeleteMsgsCount()).isEqualTo(1); + assertThat(ieMsg.getQueueDeleteMsgs(0).getQueueName()).isEqualTo(DataConstants.MAIN_QUEUE_NAME); + assertThat(ieMsg.hasComponentLifecycle()).isFalse(); + } + + // The monolith and the core run an integration executor too, but already apply queue updates from their own notifications + private TbQueueProducer> mockQueueNotificationTargetsWithIntegrationExecutors() { + when(partitionService.getAllServiceIds(ServiceType.TB_RULE_ENGINE)).thenReturn(Sets.newHashSet(MONOLITH, RULE_ENGINE)); + when(partitionService.getAllServiceIds(ServiceType.TB_CORE)).thenReturn(Sets.newHashSet(MONOLITH, CORE)); + when(partitionService.getAllServiceIds(ServiceType.TB_TRANSPORT)).thenReturn(Sets.newHashSet(MONOLITH)); + when(partitionService.getAllServiceIds(ServiceType.TB_INTEGRATION_EXECUTOR)).thenReturn(Sets.newHashSet(MONOLITH, CORE, "ie1")); + + when(producerProvider.getRuleEngineNotificationsMsgProducer()).thenReturn(mock(TbQueueProducer.class)); + when(producerProvider.getTbCoreNotificationsMsgProducer()).thenReturn(mock(TbQueueProducer.class)); + TbQueueProducer> tbIeQueueProducer = mock(TbQueueProducer.class); + when(producerProvider.getTbIntegrationExecutorNotificationsMsgProducer()).thenReturn(tbIeQueueProducer); + return tbIeQueueProducer; + } + @Test public void testPushNotificationToCoreWithRestApiCallResponseMsgProto() { TopicPartitionInfo tpi = mock(TopicPartitionInfo.class); diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java index 4e57fc5e6f..68b1c01463 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java @@ -12,6 +12,9 @@ import org.springframework.boot.context.event.ApplicationReadyEvent; import org.springframework.stereotype.Service; import org.thingsboard.common.util.ThingsBoardExecutors; import org.thingsboard.common.util.ThingsBoardThreadFactory; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.TenantProfileId; import org.thingsboard.server.common.data.integration.IntegrationType; import org.thingsboard.server.common.msg.TbActorMsg; import org.thingsboard.server.common.msg.plugin.ComponentLifecycleMsg; @@ -23,6 +26,7 @@ import org.thingsboard.server.gen.integration.ToIntegrationExecutorDownlinkMsg; import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; import org.thingsboard.server.queue.TbQueueConsumer; import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.discovery.PartitionService; import org.thingsboard.server.queue.discovery.TbApplicationEventListener; import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; import org.thingsboard.server.queue.discovery.event.PartitionChangeEvent; @@ -58,6 +62,7 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener private final TbQueueIntegrationExecutorSettings integrationNotificationSettings; private final TbCoreIntegrationExecutorQueueFactory queueFactory; private final IntegrationManagerService integrationManagerService; + private final PartitionService partitionService; @Autowired(required = false) private IntegrationExecutorCacheStartupService cacheStartupService; @@ -67,11 +72,13 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener public DefaultClusterIntegrationService(TbServiceInfoProvider serviceInfoProvider, TbQueueIntegrationExecutorSettings integrationNotificationSettings, TbCoreIntegrationExecutorQueueFactory queueFactory, - IntegrationManagerService integrationManagerService) { + IntegrationManagerService integrationManagerService, + PartitionService partitionService) { this.serviceInfoProvider = serviceInfoProvider; this.integrationNotificationSettings = integrationNotificationSettings; this.queueFactory = queueFactory; this.integrationManagerService = integrationManagerService; + this.partitionService = partitionService; } private volatile ExecutorService consumersExecutor; @@ -332,9 +339,17 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener } } - private void handleNotification(UUID id, TbProtoQueueMsg msg, TbCallback callback) { + void handleNotification(UUID id, TbProtoQueueMsg msg, TbCallback callback) { ToIntegrationExecutorNotificationMsg nf = msg.getValue(); - handleComponentLifecycleMsg(id, ProtoUtils.fromProto(nf.getComponentLifecycle())); + if (nf.hasComponentLifecycle()) { + handleComponentLifecycleMsg(id, ProtoUtils.fromProto(nf.getComponentLifecycle())); + } + if (nf.getQueueUpdateMsgsCount() > 0) { + partitionService.updateQueues(nf.getQueueUpdateMsgsList()); + } + if (nf.getQueueDeleteMsgsCount() > 0) { + partitionService.removeQueues(nf.getQueueDeleteMsgsList()); + } callback.onSuccess(); } @@ -344,10 +359,19 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener componentLifecycleMsg.getEntityId().getEntityType(), componentLifecycleMsg.getEntityId(), componentLifecycleMsg.getEvent()); integrationManagerService.handleComponentLifecycleMsg(componentLifecycleMsg); + // after the tenant profile caches are evicted, so that the routing info is re-read from the updated profile + evictTenantRoutingInfo(componentLifecycleMsg.getEntityId()); } log.trace("[{}] Forwarding message to App Actor {}", id, actorMsg); } + private void evictTenantRoutingInfo(EntityId entityId) { + switch (entityId.getEntityType()) { + case TENANT -> partitionService.evictTenantInfo(TenantId.fromUUID(entityId.getId())); + case TENANT_PROFILE -> partitionService.evictTenantProfileInfo(new TenantProfileId(entityId.getId())); + } + } + private void refreshIntegrationsByType(IntegrationType type) { try { Set partitions = getLatestPartitionsFromQueue(type); diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java new file mode 100644 index 0000000000..25c5ac14c1 --- /dev/null +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java @@ -0,0 +1,137 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.integration; + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InOrder; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.TenantProfileId; +import org.thingsboard.server.common.data.plugin.ComponentLifecycleEvent; +import org.thingsboard.server.common.msg.plugin.ComponentLifecycleMsg; +import org.thingsboard.server.common.msg.queue.TbCallback; +import org.thingsboard.server.common.util.ProtoUtils; +import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; +import org.thingsboard.server.gen.transport.TransportProtos.QueueDeleteMsg; +import org.thingsboard.server.gen.transport.TransportProtos.QueueUpdateMsg; +import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.discovery.PartitionService; +import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; +import org.thingsboard.server.queue.provider.TbCoreIntegrationExecutorQueueFactory; +import org.thingsboard.server.queue.settings.TbQueueIntegrationExecutorSettings; + +import java.util.List; +import java.util.UUID; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.inOrder; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.verifyNoInteractions; + +@ExtendWith(MockitoExtension.class) +class DefaultClusterIntegrationServiceTest { + + @Mock + private TbServiceInfoProvider serviceInfoProvider; + @Mock + private TbQueueIntegrationExecutorSettings integrationNotificationSettings; + @Mock + private TbCoreIntegrationExecutorQueueFactory queueFactory; + @Mock + private IntegrationManagerService integrationManagerService; + @Mock + private PartitionService partitionService; + @Mock + private TbCallback callback; + + private DefaultClusterIntegrationService service; + + private final TenantId tenantId = TenantId.fromUUID(UUID.randomUUID()); + + @BeforeEach + void setUp() { + service = new DefaultClusterIntegrationService(serviceInfoProvider, integrationNotificationSettings, queueFactory, + integrationManagerService, partitionService); + } + + @Test + void givenQueueUpdateNotification_whenHandled_thenQueuesAreUpdatedInPartitionService() { + QueueUpdateMsg queueUpdateMsg = QueueUpdateMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setQueueName("Main") + .setQueueTopic("tb_rule_engine.main") + .setPartitions(3) + .build(); + + handle(ToIntegrationExecutorNotificationMsg.newBuilder().addQueueUpdateMsgs(queueUpdateMsg).build()); + + verify(partitionService).updateQueues(List.of(queueUpdateMsg)); + verify(integrationManagerService, never()).handleComponentLifecycleMsg(any()); + verify(callback).onSuccess(); + } + + @Test + void givenQueueDeleteNotification_whenHandled_thenQueuesAreRemovedFromPartitionService() { + QueueDeleteMsg queueDeleteMsg = QueueDeleteMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setQueueName("Main") + .build(); + + handle(ToIntegrationExecutorNotificationMsg.newBuilder().addQueueDeleteMsgs(queueDeleteMsg).build()); + + verify(partitionService).removeQueues(List.of(queueDeleteMsg)); + verify(integrationManagerService, never()).handleComponentLifecycleMsg(any()); + verify(callback).onSuccess(); + } + + @Test + void givenTenantUpdated_whenHandled_thenTenantRoutingInfoIsEvictedAfterTenantProfileCaches() { + handle(lifecycleNotification(tenantId, tenantId)); + + // the routing info is re-read from the tenant profile cache, so it must be evicted after that cache + InOrder inOrder = inOrder(integrationManagerService, partitionService); + inOrder.verify(integrationManagerService).handleComponentLifecycleMsg(any()); + inOrder.verify(partitionService).evictTenantInfo(tenantId); + verify(callback).onSuccess(); + } + + @Test + void givenTenantProfileUpdated_whenHandled_thenRoutingInfoOfItsTenantsIsEvictedAfterTenantProfileCaches() { + TenantProfileId tenantProfileId = new TenantProfileId(UUID.randomUUID()); + + handle(lifecycleNotification(TenantId.SYS_TENANT_ID, tenantProfileId)); + + InOrder inOrder = inOrder(integrationManagerService, partitionService); + inOrder.verify(integrationManagerService).handleComponentLifecycleMsg(any()); + inOrder.verify(partitionService).evictTenantProfileInfo(tenantProfileId); + verify(callback).onSuccess(); + } + + @Test + void givenIntegrationUpdated_whenHandled_thenRoutingInfoIsKept() { + handle(lifecycleNotification(tenantId, new IntegrationId(UUID.randomUUID()))); + + verify(integrationManagerService).handleComponentLifecycleMsg(any()); + verifyNoInteractions(partitionService); + verify(callback).onSuccess(); + } + + private ToIntegrationExecutorNotificationMsg lifecycleNotification(TenantId tenantId, EntityId entityId) { + ComponentLifecycleMsg msg = new ComponentLifecycleMsg(tenantId, entityId, ComponentLifecycleEvent.UPDATED); + return ToIntegrationExecutorNotificationMsg.newBuilder().setComponentLifecycle(ProtoUtils.toProto(msg)).build(); + } + + private void handle(ToIntegrationExecutorNotificationMsg nf) { + UUID id = UUID.randomUUID(); + service.handleNotification(id, new TbProtoQueueMsg<>(id, nf), callback); + } + +} diff --git a/common/proto/src/main/proto/integration.proto b/common/proto/src/main/proto/integration.proto index 2f6a4b4fe6..2284b1dd70 100644 --- a/common/proto/src/main/proto/integration.proto +++ b/common/proto/src/main/proto/integration.proto @@ -343,6 +343,8 @@ message IntegrationApiResponseMsg { /* High priority messages with low latency are handled by ThingsBoard Integration Executor Service separately */ message ToIntegrationExecutorNotificationMsg { transport.ComponentLifecycleMsgProto componentLifecycle = 1; + repeated transport.QueueUpdateMsg queueUpdateMsgs = 2; + repeated transport.QueueDeleteMsg queueDeleteMsgs = 3; } message IntegrationValidationRequestProto { diff --git a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/HashPartitionService.java b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/HashPartitionService.java index 1675d734cf..6d2371bf4a 100644 --- a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/HashPartitionService.java +++ b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/HashPartitionService.java @@ -616,6 +616,11 @@ public class HashPartitionService implements PartitionService { tenantRoutingInfoMap.remove(tenantId); } + @Override + public void evictTenantProfileInfo(TenantProfileId tenantProfileId) { + tenantRoutingInfoMap.values().removeIf(routingInfo -> tenantProfileId.equals(routingInfo.getProfileId())); + } + @Override public int countTransportsByType(String type) { var list = tbTransportServicesByType.get(type); diff --git a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/PartitionService.java b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/PartitionService.java index 6f57c1e7e2..9d4804e9eb 100644 --- a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/PartitionService.java +++ b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/PartitionService.java @@ -5,6 +5,7 @@ package org.thingsboard.server.queue.discovery; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.TenantProfileId; import org.thingsboard.server.common.msg.queue.ServiceType; import org.thingsboard.server.common.msg.queue.TopicPartitionInfo; import org.thingsboard.server.gen.transport.TransportProtos; @@ -61,6 +62,8 @@ public interface PartitionService { void evictTenantInfo(TenantId tenantId); + void evictTenantProfileInfo(TenantProfileId tenantProfileId); + int countTransportsByType(String type); int getIntegrationExecutorPartitionsCount(); From a158b76b7856acf7c1cc8d991894849294a074be Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Fri, 23 Oct 2026 08:58:39 +0200 Subject: [PATCH 265/559] Integration Executor: apply partition changes after startup DefaultClusterIntegrationService.onTbApplicationEvent() added a PartitionChangeEvent to pendingEvents only while the executor was still starting. Once started, it skipped the add and drained an empty queue, so every partition change after startup was dropped: refresh() did not run and the downlink consumers were not re-subscribed. Each node kept the partition snapshot it held when its startup completed, until the JVM restarted. After a rolling restart, or when a single node restarts while the others keep running, this leaves singleton integrations (MQTT, AWS IoT, Azure, ...) running on two nodes or on none. Brokers that enforce unique client IDs keep disconnecting the two copies, and brokers that allow both process every uplink twice. - Always enqueue the event before draining. Make drainPendingEvents() synchronized, so that snapshots are applied in the order they arrive. - In update(), check ownership against the current partitions before starting or updating an integration (CREATED, STARTED, UPDATED, ACTIVATED), and stop it if it is no longer owned. Ownership can change between scheduling an event and running it. - In reInitIntegrations(), stop FAILED integrations that are no longer owned instead of re-initializing them. - In refresh(), treat an empty partition set as a real snapshot and stop the singletons of that type. Restrict the stop loop to the refreshed integration type, because the owned partitions belong to that type only. Nothing new is created on an empty snapshot. Adds DefaultClusterIntegrationServiceTest and DefaultIntegrationManagerServiceTest, covering partition flip-flops during startup and on long-running nodes. --- .../DefaultClusterIntegrationService.java | 19 +- .../DefaultIntegrationManagerService.java | 25 +- .../DefaultClusterIntegrationServiceTest.java | 143 +++++++ .../DefaultIntegrationManagerServiceTest.java | 351 ++++++++++++++++++ 4 files changed, 524 insertions(+), 14 deletions(-) create mode 100644 common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java create mode 100644 common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java index 4e57fc5e6f..328ab2d61b 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java @@ -124,20 +124,21 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener @Override protected void onTbApplicationEvent(PartitionChangeEvent event) { log.debug("Received partition change event: {}", event); + // Always enqueue first, then drain: the drain below must see this event. Enqueueing only while + // !started dropped every partition change that arrived after startup, so a node kept the snapshot + // it drained at startup forever and singleton integrations ran twice (or nowhere) after a rollout. + pendingEvents.add(event); if (!started) { - // Add to queue FIRST, then check again - pendingEvents.add(event); - if (!started) { - log.debug("Integration Executor not started yet, event queued for later: {}", event); - return; // doStartup() will drain the queue - } - // started became true after we added - fall through to drain + log.debug("Integration Executor not started yet, event queued for later: {}", event); + return; // doStartup() will drain the queue } // Either already started or just became started - drain and process the latest pending drainPendingEvents(); } - private void drainPendingEvents() { + // Synchronized so that the startup thread and an event thread cannot process two snapshots concurrently + // and push them to subscribeEventsMap in reverse order, which would leave the older snapshot applied. + private synchronized void drainPendingEvents() { // Each PartitionChangeEvent carries a full partition snapshot for TB_INTEGRATION_EXECUTOR, // so earlier pending events are superseded — discard them and process only the latest. PartitionChangeEvent latest = null; @@ -198,7 +199,7 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener } finally { // Mark as started and drain pending events even on failure, so that partition change events are not stuck in the queue forever. // After started=true, any new events will drain themselves in onTbApplicationEvent(). - // ConcurrentLinkedQueue.poll() is atomic, so each event is processed exactly once. + // drainPendingEvents() is synchronized, so snapshots are applied in the order they were queued. started = true; drainPendingEvents(); } diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java index 892ea680a4..fed293a6c4 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java @@ -447,9 +447,8 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi if (!supportedIntegrationTypes.contains(integrationType)) { return; } - if (newPartitions.isEmpty()) { - return; - } + // An empty set is a real snapshot (the node lost every partition of this type), not a no-op: + // the singleton integrations of this type must be stopped. Set ownedPartitions = newPartitions.stream() .map(tpi -> tpi.getPartition().orElse(-1)) .filter(p -> p >= 0) @@ -470,10 +469,15 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi ? state.getConfiguration() : configurationService.getIntegration(state.getTenantId(), state.getId()); } - if (integration != null && !isMineForPartitions(integration, ownedPartitions)) { + // ownedPartitions belong to integrationType only; other types are handled by their own refresh. + if (integration != null && integrationType.equals(integration.getType()) && !isMineForPartitions(integration, ownedPartitions)) { scheduleIntegrationEvent(integration.getTenantId(), integration.getId(), ComponentLifecycleEvent.STOPPED); } } + if (newPartitions.isEmpty()) { + // Nothing new to start; keep the previous behaviour for non-singleton integrations on an empty snapshot. + return; + } createIntegrations(configurationService.getActiveIntegrationList(integrationType, false), ownedPartitions); } @@ -583,7 +587,13 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi case UPDATED: case ACTIVATED: Integration configuration = configurationService.getIntegration(state.getTenantId(), state.getId()); - if (configuration != null) { + if (configuration != null && !isMine(configuration)) { + // The event was scheduled while this node owned the partition. Ownership may have moved + // since then, and the refresh that would stop it may already have run or not run yet. + log.info("[{}][{}] Skipping {}: the integration is not mine anymore, stopping it.", state.getTenantId(), state.getId(), pendingEvent); + persistCurrentStatistics(state); + processStop(state, STOPPED); + } else if (configuration != null) { processUpdateEvent(state, configuration); } else { processStop(state, DELETED); @@ -762,6 +772,11 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi if (state.getConfiguration() != null && state.getCurrentState() != null && state.getCurrentState().equals(ComponentLifecycleEvent.FAILED)) { if (state.getUpdateLock().tryLock()) { try { + if (!isMine(state.getConfiguration())) { + log.info("[{}][{}] Skipping re-init: the integration is not mine anymore, stopping it.", state.getTenantId(), state.getId()); + processStop(state, STOPPED); + return; + } processUpdateEvent(state, state.getConfiguration()); } catch (Exception e) { log.trace("[{}][{}] Failed to re-initialize the integration:", state.getTenantId(), state.getId(), e); diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java new file mode 100644 index 0000000000..08bd8ad234 --- /dev/null +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java @@ -0,0 +1,143 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.integration; + +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InOrder; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.mockito.junit.jupiter.MockitoSettings; +import org.mockito.quality.Strictness; +import org.springframework.boot.context.event.ApplicationReadyEvent; +import org.thingsboard.server.common.data.integration.IntegrationType; +import org.thingsboard.server.common.msg.queue.ServiceType; +import org.thingsboard.server.common.msg.queue.TopicPartitionInfo; +import org.thingsboard.server.gen.integration.ToIntegrationExecutorDownlinkMsg; +import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; +import org.thingsboard.server.queue.TbQueueConsumer; +import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.discovery.QueueKey; +import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; +import org.thingsboard.server.queue.discovery.event.PartitionChangeEvent; +import org.thingsboard.server.queue.provider.TbCoreIntegrationExecutorQueueFactory; +import org.thingsboard.server.queue.settings.TbQueueIntegrationExecutorSettings; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.inOrder; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.timeout; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +@MockitoSettings(strictness = Strictness.LENIENT) +class DefaultClusterIntegrationServiceTest { + + private static final long TIMEOUT_MS = 5000; + + @Mock + private TbServiceInfoProvider serviceInfoProvider; + @Mock + private TbQueueIntegrationExecutorSettings settings; + @Mock + private TbCoreIntegrationExecutorQueueFactory queueFactory; + @Mock + private IntegrationManagerService integrationManagerService; + @Mock + private TbQueueConsumer> mqttConsumer; + + private DefaultClusterIntegrationService service; + + @BeforeEach + @SuppressWarnings("unchecked") + void setUp() { + when(serviceInfoProvider.getSupportedIntegrationTypes()).thenReturn(List.of(IntegrationType.MQTT)); + when(queueFactory.createToIntegrationExecutorNotificationsMsgConsumer()) + .thenReturn(mock(TbQueueConsumer.class)); + when(queueFactory.createToIntegrationExecutorDownlinkMsgConsumer(IntegrationType.MQTT)).thenReturn(mqttConsumer); + service = new DefaultClusterIntegrationService(serviceInfoProvider, settings, queueFactory, integrationManagerService) { + @Override + protected void launchMainConsumers() { + } + + @Override + protected void launchNotificationsConsumer() { + } + }; + service.init(); + } + + @AfterEach + void tearDown() { + service.stop(); + } + + @Test + void givenStarted_whenPartitionsChange_thenEveryNewSnapshotIsApplied() { + // Rolling restart: [1] and [0, 2] arrive before startup completes, [1] arrives after it. + service.onApplicationEvent(partitionChangeEvent(1)); + service.onApplicationEvent(partitionChangeEvent(0, 2)); + service.onApplicationEvent((ApplicationReadyEvent) null); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(0, 2)); + + service.onApplicationEvent(partitionChangeEvent(1)); + + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(1)); + verify(mqttConsumer, timeout(TIMEOUT_MS)).subscribe(tpis(1)); + InOrder inOrder = inOrder(integrationManagerService); + inOrder.verify(integrationManagerService).refresh(IntegrationType.MQTT, tpis(0, 2)); + inOrder.verify(integrationManagerService).refresh(IntegrationType.MQTT, tpis(1)); + } + + @Test + void givenLongRunningNode_whenPartitionsFlipFlop_thenLatestSnapshotIsApplied() { + // Long-running node: started long ago with [2], then a neighbour restarts -> [1] -> [2]. + service.onApplicationEvent(partitionChangeEvent(2)); + service.onApplicationEvent((ApplicationReadyEvent) null); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(2)); + + service.onApplicationEvent(partitionChangeEvent(1)); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(1)); + service.onApplicationEvent(partitionChangeEvent(2)); + + verify(integrationManagerService, timeout(TIMEOUT_MS).times(2)).refresh(IntegrationType.MQTT, tpis(2)); + InOrder inOrder = inOrder(integrationManagerService, mqttConsumer); + inOrder.verify(mqttConsumer).subscribe(tpis(1)); + inOrder.verify(mqttConsumer).subscribe(tpis(2)); + } + + @Test + void givenStarted_whenNodeLosesAllPartitions_thenEmptySnapshotIsApplied() { + service.onApplicationEvent(partitionChangeEvent(0)); + service.onApplicationEvent((ApplicationReadyEvent) null); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(0)); + + service.onApplicationEvent(partitionChangeEvent()); + + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(eq(IntegrationType.MQTT), eq(Collections.emptySet())); + } + + private static PartitionChangeEvent partitionChangeEvent(Integer... partitions) { + QueueKey queueKey = new QueueKey(ServiceType.TB_INTEGRATION_EXECUTOR, IntegrationType.MQTT.name()); + return new PartitionChangeEvent(DefaultClusterIntegrationServiceTest.class, ServiceType.TB_INTEGRATION_EXECUTOR, + Map.of(queueKey, tpis(partitions)), Collections.emptyMap()); + } + + private static Set tpis(Integer... partitions) { + return Arrays.stream(partitions) + .map(p -> new TopicPartitionInfo("tb_ie.downlink.mqtt", null, p, true)) + .collect(Collectors.toSet()); + } + +} diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java new file mode 100644 index 0000000000..74278ce84d --- /dev/null +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java @@ -0,0 +1,351 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.integration; + +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.Mock; +import org.mockito.MockedStatic; +import org.mockito.junit.jupiter.MockitoExtension; +import org.mockito.junit.jupiter.MockitoSettings; +import org.mockito.quality.Strictness; +import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.integration.api.IntegrationContext; +import org.thingsboard.integration.api.IntegrationStatisticsService; +import org.thingsboard.integration.api.ThingsboardPlatformIntegration; +import org.thingsboard.integration.api.converter.TBUplinkDataConverter; +import org.thingsboard.integration.api.util.IntegrationUtil; +import org.thingsboard.server.common.data.id.ConverterId; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.integration.IntegrationType; +import org.thingsboard.server.common.data.plugin.ComponentLifecycleEvent; +import org.thingsboard.server.common.msg.notification.NotificationRuleProcessor; +import org.thingsboard.server.common.msg.queue.ServiceType; +import org.thingsboard.server.common.msg.queue.TopicPartitionInfo; +import org.thingsboard.server.queue.discovery.PartitionService; +import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; +import org.thingsboard.server.queue.discovery.TopicService; +import org.thingsboard.server.queue.provider.TbQueueProducerProvider; +import org.thingsboard.server.queue.settings.TbQueueIntegrationExecutorSettings; +import org.thingsboard.server.service.converter.DataConverterService; +import org.thingsboard.server.service.integration.state.IntegrationState; + +import java.util.ArrayDeque; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Queue; +import java.util.Set; +import java.util.UUID; +import java.util.concurrent.ConcurrentMap; +import java.util.concurrent.ScheduledExecutorService; +import java.util.stream.Collectors; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyBoolean; +import static org.mockito.ArgumentMatchers.anyLong; +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.doAnswer; +import static org.mockito.Mockito.doThrow; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.mockStatic; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.times; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +@MockitoSettings(strictness = Strictness.LENIENT) +class DefaultIntegrationManagerServiceTest { + + private static final TenantId TENANT_ID = TenantId.fromUUID(UUID.randomUUID()); + + @Mock + private TbServiceInfoProvider serviceInfoProvider; + @Mock + private PartitionService partitionService; + @Mock + private TopicService topicService; + @Mock + private IntegrationContextProvider integrationContextProvider; + @Mock + private IntegrationConfigurationService configurationService; + @Mock + private DataConverterService dataConverterService; + @Mock + private EventStorageService eventStorageService; + @Mock + private TbQueueProducerProvider producerProvider; + @Mock + private NotificationRuleProcessor notificationRuleProcessor; + @Mock + private IntegrationStatisticsService integrationStatisticsService; + @Mock + private TbQueueIntegrationExecutorSettings integrationExecutorSettings; + + private DefaultIntegrationManagerService service; + private MockedStatic integrationUtil; + + // The partitions this node currently owns, as HashPartitionService.myPartitions would report them. + private final Set livePartitions = new HashSet<>(); + private final Map partitionByEntity = new HashMap<>(); + private final Map configurations = new HashMap<>(); + private final Map> platformIntegrations = new HashMap<>(); + // Tasks submitted to the lifecycle executor; they run only when the test calls runLifecycleTasks(). + private final Queue lifecycleTasks = new ArrayDeque<>(); + + @BeforeEach + void setUp() throws Exception { + service = new DefaultIntegrationManagerService(serviceInfoProvider, partitionService, topicService, integrationContextProvider, + configurationService, dataConverterService, eventStorageService, producerProvider, notificationRuleProcessor, + Optional.empty(), Optional.empty(), integrationStatisticsService, integrationExecutorSettings, + Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + ReflectionTestUtils.setField(service, "reInitEnabled", false); + ReflectionTestUtils.setField(service, "statisticsEnabled", false); + when(serviceInfoProvider.getSupportedIntegrationTypes()).thenReturn(List.of(IntegrationType.MQTT, IntegrationType.HTTP)); + service.init(); + ((ScheduledExecutorService) ReflectionTestUtils.getField(service, "lifecycleExecutorService")).shutdownNow(); + ScheduledExecutorService lifecycleExecutor = mock(ScheduledExecutorService.class); + doAnswer(inv -> { + lifecycleTasks.add(inv.getArgument(0)); + return null; + }).when(lifecycleExecutor).submit(any(Runnable.class)); + doAnswer(inv -> { + lifecycleTasks.add(inv.getArgument(0)); + return null; + }).when(lifecycleExecutor).schedule(any(Runnable.class), anyLong(), any()); + ReflectionTestUtils.setField(service, "lifecycleExecutorService", lifecycleExecutor); + + when(partitionService.resolve(eq(ServiceType.TB_INTEGRATION_EXECUTOR), anyString(), any(TenantId.class), any(EntityId.class))).thenAnswer(inv -> { + EntityId entityId = inv.getArgument(3); + int partition = partitionByEntity.get(entityId.getId()); + return new TopicPartitionInfo("tb_ie.downlink.mqtt", null, partition, livePartitions.contains(partition)); + }); + when(configurationService.getIntegration(any(TenantId.class), any(IntegrationId.class))) + .thenAnswer(inv -> configurations.get((IntegrationId) inv.getArgument(1))); + when(integrationContextProvider.buildIntegrationContext(any())).thenReturn(mock(IntegrationContext.class)); + when(dataConverterService.getUplinkConverterById(any(), any())).thenReturn(Optional.of(mock(TBUplinkDataConverter.class))); + when(dataConverterService.getDownlinkConverterById(any(), any())).thenReturn(Optional.empty()); + + integrationUtil = mockStatic(IntegrationUtil.class); + integrationUtil.when(() -> IntegrationUtil.createPlatformIntegration(any(), any(), anyBoolean(), any())).thenAnswer(inv -> { + Integration configuration = configurations.values().stream() + .filter(i -> i.getConfiguration() == inv.getArgument(1)).findFirst().orElseThrow(); + return platformIntegrations.get(configuration.getId()); + }); + } + + @AfterEach + void tearDown() { + integrationUtil.close(); + service.stop(); + } + + @Test + void givenCreatedScheduledWhileOwned_whenPartitionMovesAwayBeforeItRuns_thenIntegrationIsNotStarted() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + // Rolling restart: this node owns [1], then briefly [0, 2] - the refresh schedules CREATED for the partition 0 singleton. + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + ownPartitions(0, 2); + service.refresh(IntegrationType.MQTT, tpis(0, 2)); + assertThat(lifecycleTasks).isNotEmpty(); + + // Ownership moves back to [1] before the lifecycle executor gets to the CREATED event (it is busy with a + // backlog of slow inits, and the refresh for [1] has not stopped this one yet). + ownPartitions(1); + runLifecycleTasks(); + + verify(platformIntegration, never()).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenCreatedScheduledWhileOwned_whenPartitionMovesAwayAndRefreshRuns_thenIntegrationIsNotStarted() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + ownPartitions(0, 2); + service.refresh(IntegrationType.MQTT, tpis(0, 2)); + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + runLifecycleTasks(); + + verify(platformIntegration, never()).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenRunningIntegration_whenUpdateArrivesAfterPartitionMovedAway_thenIntegrationIsStopped() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(0, 2); + service.refresh(IntegrationType.MQTT, tpis(0, 2)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + // An UPDATED scheduled through a path that captured ownership earlier (e.g. createIntegrations of a stale snapshot) + ownPartitions(1); + ReflectionTestUtils.invokeMethod(service, "scheduleIntegrationEvent", TENANT_ID, integration.getId(), + ComponentLifecycleEvent.UPDATED); + runLifecycleTasks(); + + verify(platformIntegration, never()).update(any()); + verify(platformIntegration).destroy(); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenLongRunningSingleton_whenPartitionMovesAway_thenRefreshStopsIt() throws Exception { + Integration integration = mqttIntegration(1); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + // Hours later a neighbour restarts and partition 1 goes back to it. + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenRunningSingleton_whenRefreshedWithEmptyPartitions_thenIntegrationIsStopped() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(0); + service.refresh(IntegrationType.MQTT, tpis(0)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + ownPartitions(); + service.refresh(IntegrationType.MQTT, Collections.emptySet()); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenEmptyPartitions_whenRefreshed_thenNonSingletonIntegrationsAreNotCreated() throws Exception { + Integration integration = mqttIntegration(0); + integration.setType(IntegrationType.HTTP); + when(configurationService.getActiveIntegrationList(IntegrationType.HTTP, false)).thenReturn(List.of(integration)); + + ownPartitions(); + service.refresh(IntegrationType.HTTP, Collections.emptySet()); + runLifecycleTasks(); + + verify(platformIntegrations.get(integration.getId()), never()).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenRunningSingletonOfAnotherType_whenRefreshedForOtherType_thenItIsNotStopped() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(0); + service.refresh(IntegrationType.MQTT, tpis(0)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + // HTTP partitions say nothing about MQTT ownership. + service.refresh(IntegrationType.HTTP, Collections.emptySet()); + runLifecycleTasks(); + + verify(platformIntegration, never()).destroy(); + assertThat(integrationStates()).containsKey(integration.getId()); + } + + @Test + void givenFailedIntegration_whenPartitionMovedAway_thenReInitStopsItInsteadOfStartingIt() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + doThrow(new RuntimeException("Failed to connect to MQTT broker")).when(platformIntegration).init(any()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(0, 2); + service.refresh(IntegrationType.MQTT, tpis(0, 2)); + runLifecycleTasks(); + verify(platformIntegration, times(1)).init(any()); + assertThat(integrationStates()).containsKey(integration.getId()); + + ownPartitions(1); + ReflectionTestUtils.invokeMethod(service, "reInitIntegrations"); + + verify(platformIntegration, times(1)).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + private Integration mqttIntegration(int partition) { + IntegrationId id = new IntegrationId(UUID.randomUUID()); + Integration integration = new Integration(id); + integration.setTenantId(TENANT_ID); + integration.setName("MQTT " + id); + integration.setType(IntegrationType.MQTT); + integration.setRoutingKey(id.getId().toString()); + integration.setEnabled(true); + integration.setDefaultConverterId(new ConverterId(UUID.randomUUID())); + integration.setConfiguration(JacksonUtil.newObjectNode().put("id", id.getId().toString())); + partitionByEntity.put(id.getId(), partition); + configurations.put(id, integration); + ThingsboardPlatformIntegration platformIntegration = mock(ThingsboardPlatformIntegration.class); + when(platformIntegration.getConfiguration()).thenReturn(integration); + platformIntegrations.put(id, platformIntegration); + return integration; + } + + private void ownPartitions(Integer... partitions) { + livePartitions.clear(); + Collections.addAll(livePartitions, partitions); + } + + private Set tpis(Integer... partitions) { + return Arrays.stream(partitions) + .map(p -> new TopicPartitionInfo("tb_ie.downlink.mqtt", null, p, true)) + .collect(Collectors.toSet()); + } + + private void runLifecycleTasks() { + Runnable task; + while ((task = lifecycleTasks.poll()) != null) { + task.run(); + } + } + + @SuppressWarnings("unchecked") + private ConcurrentMap integrationStates() { + return (ConcurrentMap) ReflectionTestUtils.getField(service, "integrations"); + } + +} From b35a69e78a5aac261dc431b1e928cbc3965f97d2 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 23 Oct 2026 14:32:46 +0300 Subject: [PATCH 266/559] Fixed CVE-2025-13466, CVE-2026-12590 and CVE-2026-24001 in js-executor Updated config, express, js-yaml, winston, @yao-pkg/pkg 6.24.0, fs-extra, @types/express and @types/node. Dropped @types/config (config ships its own types), the unused nyc section and the tar resolution (lockfile resolves 7.5.22). Logger now takes the Transport type from winston. --- msa/js-executor/config/logger.ts | 3 +- msa/js-executor/package.json | 28 +- msa/js-executor/yarn.lock | 1243 ++++++++++++++++++------------ 3 files changed, 766 insertions(+), 508 deletions(-) diff --git a/msa/js-executor/config/logger.ts b/msa/js-executor/config/logger.ts index e4cb26ec6a..95e390d9b5 100644 --- a/msa/js-executor/config/logger.ts +++ b/msa/js-executor/config/logger.ts @@ -5,8 +5,7 @@ import path from 'path'; import DailyRotateFile from 'winston-daily-rotate-file'; import { LogEntry, logLevel } from 'kafkajs'; -import { createLogger, format, transports } from 'winston'; -import * as Transport from 'winston-transport'; +import { createLogger, format, transport as Transport, transports } from 'winston'; const { combine, timestamp, label, printf, splat } = format; diff --git a/msa/js-executor/package.json b/msa/js-executor/package.json index 36489cf891..c40826ef50 100644 --- a/msa/js-executor/package.json +++ b/msa/js-executor/package.json @@ -14,36 +14,24 @@ }, "dependencies": { "@2l/kafkajs-lz4": "^1.3.2", - "config": "^4.1.1", - "express": "^5.1.0", - "js-yaml": "^4.1.1", + "config": "^4.4.2", + "express": "^5.3.0", + "js-yaml": "^4.3.2", "kafkajs": "^2.2.4", "long": "^5.3.2", "uuid-parse": "^1.1.0", - "winston": "^3.17.0", + "winston": "^3.19.0", "winston-daily-rotate-file": "^5.0.0" }, - "nyc": { - "exclude": [ - "test", - "__tests__", - "node_modules", - "target" - ] - }, "devDependencies": { - "@types/config": "^3.3.5", - "@types/express": "~5.0.3", - "@types/node": "~22.17.2", + "@types/express": "~5.0.6", + "@types/node": "~22.20.5", "@types/uuid-parse": "^1.0.2", - "@yao-pkg/pkg": "^6.6.0", - "fs-extra": "^11.3.1", + "@yao-pkg/pkg": "^6.24.0", + "fs-extra": "^11.4.1", "ts-node": "^10.9.2", "typescript": "~5.9.3" }, - "resolutions": { - "@yao-pkg/pkg/tar": ">=7.5.8" - }, "pkg": { "assets": [ "node_modules/config/**/*.*", diff --git a/msa/js-executor/yarn.lock b/msa/js-executor/yarn.lock index 8324b3a83d..f4335b5bd4 100644 --- a/msa/js-executor/yarn.lock +++ b/msa/js-executor/yarn.lock @@ -9,112 +9,173 @@ dependencies: lz4-napi "^2.8.0" -"@antoniomuso/lz4-napi-android-arm-eabi@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-android-arm-eabi/-/lz4-napi-android-arm-eabi-2.9.0.tgz#5ea67847f0a761c9aec22a31212d0e429ca01fb2" - integrity sha512-aeT/9SoWq7rnmzssWuCKUPaxVt3fzE9q+xq/ZHbnUSmrm8/EhLOACMvQeCOnL0IZsmPh8EpuwIE1TZyM9iQPRA== - -"@antoniomuso/lz4-napi-android-arm64@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-android-arm64/-/lz4-napi-android-arm64-2.9.0.tgz#64cb0aac70267bb071bba2d8e382301e058811ca" - integrity sha512-ibQ0qiEvmljXAM97IgOZfh+PeiSQ0Rqf2HErJlZPVm2v4GVJoB67v21v1TUydqNNV5L8bwufVoZ90nheL8X9ZA== - -"@antoniomuso/lz4-napi-darwin-arm64@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-darwin-arm64/-/lz4-napi-darwin-arm64-2.9.0.tgz#669e48b165af11cec20581acc2caa0d1c0f84472" - integrity sha512-1su4K1MWa4bcWoZlHajv+luGmFDV1JwIsvjtDF+0HhUveSDPP+8A4Z34zOZidURIr08Sl7M7ViPth6ZQ9SqnAA== - -"@antoniomuso/lz4-napi-darwin-x64@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-darwin-x64/-/lz4-napi-darwin-x64-2.9.0.tgz#a00ddf021772e26bd01b3ca5e3025f11d1667edf" - integrity sha512-8Lnbm2MkdJtiJ/nbcRS9zRyGp3G0sG6D+Y/x1vTP8nZs3/f8tBwYNsjxCQyyXNNyHcYWwVGbk68onP/pyDljOA== - -"@antoniomuso/lz4-napi-freebsd-x64@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-freebsd-x64/-/lz4-napi-freebsd-x64-2.9.0.tgz#fdc2b292489bd6d4e44eb7bb059fb9bd4b860f14" - integrity sha512-k04EMVOjntKDPrdR4Tf8WyNseuk9PTtSGw8WHyp4CTjoR1s+YJxtp9SMnThe5o2q0TATwk8WGYb/Howrp5OMxw== - -"@antoniomuso/lz4-napi-linux-arm-gnueabihf@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-arm-gnueabihf/-/lz4-napi-linux-arm-gnueabihf-2.9.0.tgz#9fcdf93b3ca5aa24469e4bf11dd7100df8c71975" - integrity sha512-H92F8zPZmgy2r8IhCWh3qIBfLp2BQ5cp18RoDXhtGFWwkh+5gVWrZp11IVznrsdgB0QeW0VR7dAMMHg3WLOPfA== - -"@antoniomuso/lz4-napi-linux-arm64-gnu@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-arm64-gnu/-/lz4-napi-linux-arm64-gnu-2.9.0.tgz#9d22e075a9cb60c3cb415428138618ae4a79f3c5" - integrity sha512-25crh0qs/3Rj3fMI8ulYD0DoaKsidUhMBki2aeO69ZK+F8bmQ/e2++FlgJ6f3EgMP5CNxJtnZXKhPOraQWjwAw== - -"@antoniomuso/lz4-napi-linux-arm64-musl@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-arm64-musl/-/lz4-napi-linux-arm64-musl-2.9.0.tgz#d957bce3accd49199bb6de522f5163efa2068fe4" - integrity sha512-eJtHp38zuLaYI0/cOV/BKcNQiXUBo4GPx53FTf0Y307yUjLsn48LNeN0vD28Ct9YrbUae3bQvMD5AD86She0ww== - -"@antoniomuso/lz4-napi-linux-x64-gnu@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-x64-gnu/-/lz4-napi-linux-x64-gnu-2.9.0.tgz#c86567d5aa23863059afbee829fb9f45895d3869" - integrity sha512-mDjS4dyjRKaZQcAP71SphkYH5r3kufB30ih/VETVu/br2toCfBk6Zr1xhL1r+L7FaVAFzF62B7h30CiqrN0Awg== - -"@antoniomuso/lz4-napi-linux-x64-musl@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-x64-musl/-/lz4-napi-linux-x64-musl-2.9.0.tgz#7d02612dec7d6247645aa321871b15247da0ce7d" - integrity sha512-pvU7Z7qjkjn17NkddBtBQ7C2iRqjtZ7WJ3Jqrjtj4XxolY3Q0HaYMvWjkWhzb9AKGZbj5y+EHYtbVoZJ2TSQhQ== - -"@antoniomuso/lz4-napi-win32-arm64-msvc@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-win32-arm64-msvc/-/lz4-napi-win32-arm64-msvc-2.9.0.tgz#c901bfec718303ed86867129ecc0371eaa883517" - integrity sha512-aioLlbpJl0QPEXLXhh2bzyitc3T7Jot3f1ap6WdKiRa+CIjMHXw1nxJXy07MLXif10r+qVZr86ic8dvwErgqEQ== - -"@antoniomuso/lz4-napi-win32-ia32-msvc@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-win32-ia32-msvc/-/lz4-napi-win32-ia32-msvc-2.9.0.tgz#11e48b18b7923c250735e0130998e5968ae91130" - integrity sha512-VaF4XMTdYb59TsPsiqnWwsNaWKHhgxF33z5p4zg4n0tp20eWozl76hn8B+aXthSs40W0W1N97QhxxV4oXGd8cg== - -"@antoniomuso/lz4-napi-win32-x64-msvc@2.9.0": - version "2.9.0" - resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-win32-x64-msvc/-/lz4-napi-win32-x64-msvc-2.9.0.tgz#20d9f71a638f3277cd0b7662e966f90e53d98af8" - integrity sha512-wfA8ShO3eGLxJ1LDwXJo87XL2D4NkMJV1pfHPvLZpD0MWb9u8VfgS+gKK5YhT7XKjzVdeIna9jgFdn2HBnZBxA== - -"@babel/generator@^7.23.0": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.3.tgz#9626c1741c650cbac39121694a0f2d7451b8ef3e" - integrity sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw== - dependencies: - "@babel/parser" "^7.28.3" - "@babel/types" "^7.28.2" +"@antoniomuso/lz4-napi-android-arm-eabi@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-android-arm-eabi/-/lz4-napi-android-arm-eabi-2.10.0.tgz#40b924454c818e1b6983dc6970f2164e11c9f6f1" + integrity sha512-BmVivZ5OwdM5IogpqHEKGoMEOJ98ZhIf35cBAKlt5axZR1nCy8X6O8B1noyQZETSXw0901Z/uAx0/23+ulyxuQ== + +"@antoniomuso/lz4-napi-android-arm64@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-android-arm64/-/lz4-napi-android-arm64-2.10.0.tgz#252938c535cdf634036f0515642fd96a2aa7c927" + integrity sha512-Oi2nIJvxG0ckK+lQYuuDtBI7mrQoj+glnNp4c19rhm0D0utkuRuI2bzqXOp5uth/IFNlP+W3pepfOCULeydKJw== + +"@antoniomuso/lz4-napi-darwin-arm64@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-darwin-arm64/-/lz4-napi-darwin-arm64-2.10.0.tgz#492a5305d01721351882c13170893c8cf4d30494" + integrity sha512-rrP5B4CJkSgHBAZ8jP/xGdXULDjDMF/DiUPxtBdo23CfkIOvf2VYGDF2vWO+1LDFMqlV4Mu4dZWwvOWklP4t4Q== + +"@antoniomuso/lz4-napi-darwin-x64@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-darwin-x64/-/lz4-napi-darwin-x64-2.10.0.tgz#84e20ce008868e464933d470588b3cc0e70d6bda" + integrity sha512-NytV3XbMC6JCX0uxiYgJV7cTUEWczT6e/rjfnIATsRuOOZLn1nNn1TIpGsAwLPcWoTgBsG0JcvLA1D+t3CLhAQ== + +"@antoniomuso/lz4-napi-freebsd-x64@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-freebsd-x64/-/lz4-napi-freebsd-x64-2.10.0.tgz#50b0b2d467555a577441b5ce9ebc723c7fc16ff7" + integrity sha512-CB7u672akKGZJr0MgH9qrBjcTRRf0yyPCBD0HjSChx+GfKJtQrMXEWLO68X+gTPjnlceywyqmzDA/t6zOavSYw== + +"@antoniomuso/lz4-napi-linux-arm-gnueabihf@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-arm-gnueabihf/-/lz4-napi-linux-arm-gnueabihf-2.10.0.tgz#668f6244a04aa6e22f02b814d736169b28a8e3cf" + integrity sha512-fjUVOWP0YYiaqXsrNAXa5pxdf+C6ql0sJFOZ/LZeID6fx8qle/+zjpJOYK/vE4dFOfxYFpMWXFYr+M/DfFhUdQ== + +"@antoniomuso/lz4-napi-linux-arm64-gnu@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-arm64-gnu/-/lz4-napi-linux-arm64-gnu-2.10.0.tgz#d55902bad3367429a7eb997cc0ab99f53fe7c90c" + integrity sha512-Ai0MfalUR4par5YI0AciKUUGCuMeshU3KLzaCavEgA3VHc//fU37VrbmzU/SgNjcJzdKFB9d3JZZAAe2wZ1tSQ== + +"@antoniomuso/lz4-napi-linux-arm64-musl@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-arm64-musl/-/lz4-napi-linux-arm64-musl-2.10.0.tgz#b20b501f92cc4fd3cffff913b6e69850718d8cfb" + integrity sha512-LNUlCFiTfYUstWcpNP2op9tf6RfxWlB1LmkdGfUvt/L4xgagktDnDy6Bii+ErZfocQ/M8hUDJnA57c4a/uax4A== + +"@antoniomuso/lz4-napi-linux-ppc64-gnu@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-ppc64-gnu/-/lz4-napi-linux-ppc64-gnu-2.10.0.tgz#93d2308a7133425882d1b034589b98eae176ac0a" + integrity sha512-gNTGuwI2aYp+yNvFZe60iKVv/whfhTK3d3n8kbP0WG8nLvfka+wIch67aQM3G4eqB/KlS7fLAJdCvVC5x4CQWw== + +"@antoniomuso/lz4-napi-linux-riscv64-gnu@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-riscv64-gnu/-/lz4-napi-linux-riscv64-gnu-2.10.0.tgz#f5015ea128358cd231cafbd71a5e594f6c23a48f" + integrity sha512-mHh5I55EtfFxS82Cm+HyGt6XezvBVDZV406qvS80FxEhHP4yNititbaGd/uGJ8Hr0+Fh4TDKPyiDZps19FJEoQ== + +"@antoniomuso/lz4-napi-linux-s390x-gnu@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-s390x-gnu/-/lz4-napi-linux-s390x-gnu-2.10.0.tgz#e066bbf5c36d5af824c6eab9f3110e1e7a7f6e8b" + integrity sha512-CVR4x8W5EqypGKsK2ffGxvtDz5NCUN6fx4jQPEMhL6LR66uc8TxKtYzlF+hvQnuVkN3Va+NwTGCurJS9CVPGFA== + +"@antoniomuso/lz4-napi-linux-x64-gnu@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-x64-gnu/-/lz4-napi-linux-x64-gnu-2.10.0.tgz#6246dcb86841fb9b7ee5a44e5754ee22bb165d96" + integrity sha512-UQQZephsIQrEbMM+Wp7SKYUqVR9DJLCMkZkOoLU9DDf2Ctvy6jXuqQoFF3ajh/mPh8gFp/s1WEcnUO8IRBiDpw== + +"@antoniomuso/lz4-napi-linux-x64-musl@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-linux-x64-musl/-/lz4-napi-linux-x64-musl-2.10.0.tgz#323c18db3bcd9e8b9479861a7fc4a26cab2ded3d" + integrity sha512-f30AGLcOsyiQU0EuWYmCZGID/6vcr/1scKaQ2G90QBJ/8aTWTwRDZGT7NPOE6mJ71ioI/ZLJGHiytjbiPjZfng== + +"@antoniomuso/lz4-napi-openharmony-arm64@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-openharmony-arm64/-/lz4-napi-openharmony-arm64-2.10.0.tgz#d2710fc6b48ab755826301d9b43fc10bfc704202" + integrity sha512-LUrHBJcnHqKsCyt0LvgsrRij5VWHXtwUQyJZT+kXSfkW+snIqKqVzucFpMHETFDKQNkMTsmHruVV/UEBbYuw/A== + +"@antoniomuso/lz4-napi-win32-arm64-msvc@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-win32-arm64-msvc/-/lz4-napi-win32-arm64-msvc-2.10.0.tgz#96e70b514f0dac368b6de768967abb05ca111e64" + integrity sha512-6k8Qu3V8fq4QbHS6vPQy8fggOvTUMQsVZP+WZBUMrG6A4ZPiMmPfFF+xJfLJCnOoijkBdRSiS1Y9oEv84lFPDw== + +"@antoniomuso/lz4-napi-win32-ia32-msvc@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-win32-ia32-msvc/-/lz4-napi-win32-ia32-msvc-2.10.0.tgz#96e81babd3f6e9b173b2fac4b8757cdbfea05aa2" + integrity sha512-5zKO7JdZXM/GL5XuTufwtIc3OVLhbRC/5PkcY4XmpU/IjUm4P9OkBAPNqBTgFfZbDc7eCigf92UcPLEk1PIShg== + +"@antoniomuso/lz4-napi-win32-x64-msvc@2.10.0": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@antoniomuso/lz4-napi-win32-x64-msvc/-/lz4-napi-win32-x64-msvc-2.10.0.tgz#8b635f0249813a9256ae0c783863bcad549b58aa" + integrity sha512-YC15uBJQdkXtPpu0JXozeEAO+b4LVjo2gOWKsPNmhNGhtkIAnKJZo+ueO6KNaFx4W6H2DQyAEiP1DsoBND26fw== + +"@babel/code-frame@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.29.7.tgz#f2fbbfea87c44a21590ec515b778b2c26d8866e7" + integrity sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw== + dependencies: + "@babel/helper-validator-identifier" "^7.29.7" + js-tokens "^4.0.0" + picocolors "^1.1.1" + +"@babel/generator@^7.23.0", "@babel/generator@^7.29.8": + version "7.29.8" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.8.tgz#4b0b887885422643339e09022148a4c4ebaa4979" + integrity sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg== + dependencies: + "@babel/parser" "^7.29.8" + "@babel/types" "^7.29.8" "@jridgewell/gen-mapping" "^0.3.12" "@jridgewell/trace-mapping" "^0.3.28" jsesc "^3.0.2" -"@babel/helper-string-parser@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" - integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== - -"@babel/helper-validator-identifier@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" - integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== - -"@babel/parser@^7.23.0", "@babel/parser@^7.28.3": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.3.tgz#d2d25b814621bca5fe9d172bc93792547e7a2a71" - integrity sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA== - dependencies: - "@babel/types" "^7.28.2" - -"@babel/types@^7.23.0", "@babel/types@^7.28.2": - version "7.28.2" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.2.tgz#da9db0856a9a88e0a13b019881d7513588cf712b" - integrity sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ== - dependencies: - "@babel/helper-string-parser" "^7.27.1" - "@babel/helper-validator-identifier" "^7.27.1" - -"@colors/colors@1.6.0", "@colors/colors@^1.6.0": +"@babel/helper-globals@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.29.7.tgz#f04a96fbd8473241b1079243f5b3f03a3010ab7b" + integrity sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA== + +"@babel/helper-string-parser@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz#7f0871d99824d23137d60f86fcf6130fd5a1b51f" + integrity sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw== + +"@babel/helper-validator-identifier@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz#bd87084ced0c796ec46bda492de6e83d29e89fc2" + integrity sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg== + +"@babel/parser@^7.23.0", "@babel/parser@^7.29.7", "@babel/parser@^7.29.8", "@babel/parser@^7.29.9": + version "7.29.9" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.9.tgz#e7ee0a24f752c5296c6455855ccb72662e67ea96" + integrity sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA== + dependencies: + "@babel/types" "^7.29.8" + +"@babel/template@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.29.7.tgz#4d9d4004f645cdd304de958c725162784ecac700" + integrity sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg== + dependencies: + "@babel/code-frame" "^7.29.7" + "@babel/parser" "^7.29.7" + "@babel/types" "^7.29.7" + +"@babel/traverse@^7.23.0": + version "7.29.10" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.10.tgz#08ab387639b4a67304511259c7da6cf23a82e91c" + integrity sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ== + dependencies: + "@babel/code-frame" "^7.29.7" + "@babel/generator" "^7.29.8" + "@babel/helper-globals" "^7.29.7" + "@babel/parser" "^7.29.9" + "@babel/template" "^7.29.7" + "@babel/types" "^7.29.8" + debug "^4.3.1" + +"@babel/types@^7.23.0", "@babel/types@^7.29.7", "@babel/types@^7.29.8": + version "7.29.8" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.29.8.tgz#1229eef31d85156d70fa3f4cd859376d0eaf6863" + integrity sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg== + dependencies: + "@babel/helper-string-parser" "^7.29.7" + "@babel/helper-validator-identifier" "^7.29.7" + +"@colors/colors@1.6.0": version "1.6.0" resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.6.0.tgz#ec6cd237440700bc23ca23087f513c75508958b0" integrity sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA== +"@colors/colors@^1.6.0": + version "1.6.1" + resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.6.1.tgz#8e2827259ada76965b3a051c18a5927fbdac38c2" + integrity sha512-dTmUJzXSuayBK+hZydEaXd2mhx61qWQwkwaBBY6LyEOVx/L9aQU5ac8eFNEsd9nrD1+zb9zvDCphLSe8g1F4Qw== + "@cspotcode/source-map-support@^0.8.0": version "0.8.1" resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" @@ -122,15 +183,145 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@dabh/diagnostics@^2.0.2": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.3.tgz#7f7e97ee9a725dffc7808d93668cc984e1dc477a" - integrity sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA== +"@dabh/diagnostics@^2.0.8": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.9.tgz#0de9e8718e23ab60d1fb1ce0c004079f14f5ad36" + integrity sha512-R6siwR65Hm+3yfgP7o8DKhNvputQAwfoz9zTc3kyDudnomj2/BcLmD+uGQQPICjuFUp8ounPBU+jmKsocwVVAg== dependencies: - colorspace "1.1.x" + "@so-ric/colorspace" "^1.1.6" enabled "2.0.x" kuler "^2.0.0" +"@esbuild/aix-ppc64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz#bf6e10303bcf2e7c686975fa52f937ec2728d8bc" + integrity sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ== + +"@esbuild/android-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz#0c6246bc8d2c4d172aac2db3fb1190d72bd65504" + integrity sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A== + +"@esbuild/android-arm@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.28.2.tgz#2d84ece6a4e2684d92be26ee13d42757d831c381" + integrity sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg== + +"@esbuild/android-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.28.2.tgz#fc38d4d6358d8dc1cf53f09f7589fe436eb64801" + integrity sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q== + +"@esbuild/darwin-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz#f83afeeac1d7dac01c7a2fd012b3e451a0591fcc" + integrity sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw== + +"@esbuild/darwin-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz#510147c055a795588dbbe14fd6b1b8ad0a2f30de" + integrity sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw== + +"@esbuild/freebsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz#093b9200ecf0b115ba4e5e248a7485c9c5f8bd5e" + integrity sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw== + +"@esbuild/freebsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz#0be22b6df925d213e841ea87123af5df80b0faf7" + integrity sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg== + +"@esbuild/linux-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz#1bdbc651cda9ba9995c53ed9c71ceaa65094762d" + integrity sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug== + +"@esbuild/linux-arm@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz#beb12ad72b84f72d28488cc1b8ee9f7eb141d753" + integrity sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w== + +"@esbuild/linux-ia32@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz#b81f9d55529b45c206a46a138214b1aa6879696b" + integrity sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ== + +"@esbuild/linux-loong64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz#598667241a04c99b76ed6ef940ac50038c419f98" + integrity sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ== + +"@esbuild/linux-mips64el@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz#1c51eb9cea903f53d97b5af3b1841db70f5596ca" + integrity sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA== + +"@esbuild/linux-ppc64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz#63dd61f17ceb31a81227f413feac8a71bc2c51f2" + integrity sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ== + +"@esbuild/linux-riscv64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz#3763b08fde5cf25ab1facb8e7752edfe45fbfc27" + integrity sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA== + +"@esbuild/linux-s390x@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz#1a137ff293a82906eb3176385bd7e8e0e5cfb7cb" + integrity sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg== + +"@esbuild/linux-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz#268b36211c146ca54f8fe12c578a8d6ef8979485" + integrity sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ== + +"@esbuild/netbsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz#22571ad951d62bb6accc82d8d1fad5c8c1ac0ba1" + integrity sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw== + +"@esbuild/netbsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz#42fcc57297eb0a0ca3f5fc475291f4c1a3f7c0de" + integrity sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw== + +"@esbuild/openbsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz#9eb32af104ac3dacf4edca01f596664aab0c73ef" + integrity sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ== + +"@esbuild/openbsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz#febed2402d6088225e91f20fb4ce2522ad0a4efd" + integrity sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw== + +"@esbuild/openharmony-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz#85641c3d466428bfbccea5f21c26836663fef5ce" + integrity sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q== + +"@esbuild/sunos-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz#a736f9d8962481045fc4c3e54f5479f22c870fb4" + integrity sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g== + +"@esbuild/win32-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz#ee5ab40fad186201b652a33f8a5eb149e9e42532" + integrity sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ== + +"@esbuild/win32-ia32@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz#c40d28a6d99a127da6711f2afd74b11cb63b06a7" + integrity sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA== + +"@esbuild/win32-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz#b21affb804cc167c133d95f45b3a1dc1323b9a87" + integrity sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g== + "@isaacs/fs-minipass@^4.0.0": version "4.0.1" resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32" @@ -152,9 +343,9 @@ integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.5.0": - version "1.5.5" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" - integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== + version "1.6.0" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz#f4c663e862f06dc98ca4d453862c46902789a18d" + integrity sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw== "@jridgewell/trace-mapping@0.3.9": version "0.3.9" @@ -165,29 +356,30 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.28": - version "0.3.30" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.30.tgz#4a76c4daeee5df09f5d3940e087442fb36ce2b99" - integrity sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q== + version "0.3.31" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz#db15d6781c931f3a251a3dac39501c98a6082fd0" + integrity sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@napi-rs/triples@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@napi-rs/triples/-/triples-1.2.0.tgz#bcd9c936acb93890e7015818e0181f3db421aafa" - integrity sha512-HAPjR3bnCsdXBsATpDIP5WCrw0JcACwhhrwIAQhiR46n+jm+a2F8kBsfseAuWtSyQ+H3Yebt2k43B5dy+04yMA== +"@roberts_lando/vfs@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@roberts_lando/vfs/-/vfs-0.3.3.tgz#6359feed30e3773041279cb11be82ca60f4ff1f1" + integrity sha512-YjkxVSLw5WMZQoARaryRAjcxA+GbBzWMJdwYZX5oLUt9cC/gew9as4Dn7tcLzPp7BPoR221VpTZ+78TRPawnjg== -"@node-rs/helper@^1.3.3": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@node-rs/helper/-/helper-1.6.0.tgz#83e5381de6e898d0b8c92178bb8d897d619e3a3a" - integrity sha512-2OTh/tokcLA1qom1zuCJm2gQzaZljCCbtX1YCrwRVd/toz7KxaDRFeLTAPwhs8m9hWgzrBn5rShRm6IaZofCPw== +"@so-ric/colorspace@^1.1.6": + version "1.1.6" + resolved "https://registry.yarnpkg.com/@so-ric/colorspace/-/colorspace-1.1.6.tgz#62515d8b9f27746b76950a83bde1af812d91923b" + integrity sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw== dependencies: - "@napi-rs/triples" "^1.2.0" + color "^5.0.2" + text-hex "1.0.x" "@tsconfig/node10@^1.0.7": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.11.tgz#6ee46400685f130e278128c7b38b7e031ff5b2f2" - integrity sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw== + version "1.0.13" + resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.13.tgz#56105a9a8c786e8f15e35746879cf2d52275485b" + integrity sha512-gcLdvR9HO1ZJBypsOGqaP6TFEzb6vIta0KSTLt9NAQ6pXQO3cRgSVyCN6pzYqI9DlJgY71XKO0dpDhCf08b3pg== "@tsconfig/node12@^1.0.7": version "1.0.11" @@ -212,11 +404,6 @@ "@types/connect" "*" "@types/node" "*" -"@types/config@^3.3.5": - version "3.3.5" - resolved "https://registry.yarnpkg.com/@types/config/-/config-3.3.5.tgz#91f0a52b10212b9c4254fb0bbc4bedd77cd389b8" - integrity sha512-itq2HtXQBrNUKwMNZnb9mBRE3T99VYCdl1gjST9rq+9kFaB1iMMGuDeZnP88qid73DnpAMKH9ZolqDpS1Lz7+w== - "@types/connect@*": version "3.4.38" resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" @@ -225,52 +412,47 @@ "@types/node" "*" "@types/express-serve-static-core@^5.0.0": - version "5.0.7" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-5.0.7.tgz#2fa94879c9d46b11a5df4c74ac75befd6b283de6" - integrity sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ== + version "5.1.3" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-5.1.3.tgz#9d34c88c0c9ee62b9a6e4d9f8ab8d7e29688e6b4" + integrity sha512-dPfW8NFiOF4wOHc7+N/QSxlY9cfSsenewGbAz8C8U/MULPd/YZ27LvJUIlzaXie7e6Ove9YunJGgC9tbHD2cKw== dependencies: "@types/node" "*" "@types/qs" "*" "@types/range-parser" "*" "@types/send" "*" -"@types/express@~5.0.3": - version "5.0.3" - resolved "https://registry.yarnpkg.com/@types/express/-/express-5.0.3.tgz#6c4bc6acddc2e2a587142e1d8be0bce20757e956" - integrity sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw== +"@types/express@~5.0.6": + version "5.0.6" + resolved "https://registry.yarnpkg.com/@types/express/-/express-5.0.6.tgz#2d724b2c990dcb8c8444063f3580a903f6d500cc" + integrity sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA== dependencies: "@types/body-parser" "*" "@types/express-serve-static-core" "^5.0.0" - "@types/serve-static" "*" + "@types/serve-static" "^2" "@types/http-errors@*": version "2.0.5" resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.5.tgz#5b749ab2b16ba113423feb1a64a95dcd30398472" integrity sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg== -"@types/mime@^1": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" - integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== - "@types/node@*": - version "24.3.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-24.3.0.tgz#89b09f45cb9a8ee69466f18ee5864e4c3eb84dec" - integrity sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow== + version "26.6.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-26.6.5.tgz#cb35209e7767c503551b5fa42a48231c7441d979" + integrity sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg== dependencies: - undici-types "~7.10.0" + undici-types "~8.9.0" -"@types/node@~22.17.2": - version "22.17.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.17.2.tgz#47a93d6f4b79327da63af727e7c54e8cab8c4d33" - integrity sha512-gL6z5N9Jm9mhY+U2KXZpteb+09zyffliRkZyZOHODGATyC5B1Jt/7TzuuiLkFsSUMLbS1OLmlj/E+/3KF4Q/4w== +"@types/node@~22.20.5": + version "22.20.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.20.5.tgz#afa7bde6da81b8b83ea4e2f020487e9b148c11fd" + integrity sha512-U2+DNr+wSjpsTS/wZGYHq7GcwfuSmKiKvoPvK22zwTlRhU91yOniN4qRR5KhIjvif7ysw/dz/hKmfDH0Ris4aA== dependencies: undici-types "~6.21.0" "@types/qs@*": - version "6.14.0" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.14.0.tgz#d8b60cecf62f2db0fb68e5e006077b9178b85de5" - integrity sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ== + version "6.15.1" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.15.1.tgz#8606884272c63f0db96986bd3548650d8a9388bf" + integrity sha512-GZHUBZR9hckSUhrxmp1nG6NwdpM9fCunJwyThLW1X3AyHgd9IlHb6VANpQQqDr2o/qQp6McZ3y/IA2rVzKzSbw== "@types/range-parser@*": version "1.2.7" @@ -278,21 +460,19 @@ integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== "@types/send@*": - version "0.17.5" - resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.5.tgz#d991d4f2b16f2b1ef497131f00a9114290791e74" - integrity sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w== + version "1.2.1" + resolved "https://registry.yarnpkg.com/@types/send/-/send-1.2.1.tgz#6a784e45543c18c774c049bff6d3dbaf045c9c74" + integrity sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ== dependencies: - "@types/mime" "^1" "@types/node" "*" -"@types/serve-static@*": - version "1.15.8" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.8.tgz#8180c3fbe4a70e8f00b9f70b9ba7f08f35987877" - integrity sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg== +"@types/serve-static@^2": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-2.2.0.tgz#d4a447503ead0d1671132d1ab6bd58b805d8de6a" + integrity sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ== dependencies: "@types/http-errors" "*" "@types/node" "*" - "@types/send" "*" "@types/triple-beam@^1.3.2": version "1.3.5" @@ -306,37 +486,40 @@ dependencies: "@types/node" "*" -"@yao-pkg/pkg-fetch@3.5.24": - version "3.5.24" - resolved "https://registry.yarnpkg.com/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.24.tgz#37a671f077fe6446aec0758e6fc7961d183c3445" - integrity sha512-FPESCH1uXCYui6jeDp2aayWuFHR39w+uU1r88nI6JWRvPYOU64cHPUV/p6GSFoQdpna7ip92HnrZKbBC60l0gA== +"@yao-pkg/pkg-fetch@3.6.7": + version "3.6.7" + resolved "https://registry.yarnpkg.com/@yao-pkg/pkg-fetch/-/pkg-fetch-3.6.7.tgz#5fb8a55031846ef105efeaf4beae0d4f4ed47540" + integrity sha512-uEeU5druVgHffruTAXzW6nf0wHfREWlCq5LBtQ4hCdLBDbwTteuym5NrxREur3EgNcqFRenEi6Rivwo723PkHg== dependencies: - https-proxy-agent "^5.0.0" - node-fetch "^2.6.6" picocolors "^1.1.0" progress "^2.0.3" semver "^7.3.5" - tar-fs "^2.1.1" + tar-fs "^3.1.1" + undici "^7.28.0" yargs "^16.2.0" -"@yao-pkg/pkg@^6.6.0": - version "6.6.0" - resolved "https://registry.yarnpkg.com/@yao-pkg/pkg/-/pkg-6.6.0.tgz#e8c38ed5824381c676e6688f93e27f39e1752701" - integrity sha512-3/oiaSm7fS0Fc7dzp22r9B7vFaguGhO9vERgEReRYj2EUzdi5ssyYhe1uYJG4ec/dmo2GG6RRHOUAT8savl79Q== +"@yao-pkg/pkg@^6.24.0": + version "6.24.0" + resolved "https://registry.yarnpkg.com/@yao-pkg/pkg/-/pkg-6.24.0.tgz#c556d2e98e8ac437ac7f08065accec8595a13b98" + integrity sha512-SMwFLic12noHLbqxhhQVClVX6YZlQtzwwez6dq7Xj64rXX6OFgZTTQbPgw4wgec5IoUN+6rCRKgyW/cnVPOwkA== dependencies: "@babel/generator" "^7.23.0" "@babel/parser" "^7.23.0" + "@babel/traverse" "^7.23.0" "@babel/types" "^7.23.0" - "@yao-pkg/pkg-fetch" "3.5.24" - into-stream "^6.0.0" - minimist "^1.2.6" + "@roberts_lando/vfs" "^0.3.3" + "@yao-pkg/pkg-fetch" "3.6.7" + esbuild "^0.28.1" + into-stream "^9.1.0" multistream "^4.1.0" picocolors "^1.1.0" picomatch "^4.0.2" + postject "^1.0.0-alpha.6" prebuild-install "^7.1.1" resolve "^1.22.10" + resolve.exports "^2.0.3" stream-meter "^1.0.4" - tar "^7.4.3" + tar "^7.5.7" tinyglobby "^0.2.11" unzipper "^0.12.3" @@ -349,23 +532,16 @@ accepts@^2.0.0: negotiator "^1.0.0" acorn-walk@^8.1.1: - version "8.3.4" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.4.tgz#794dd169c3977edf4ba4ea47583587c5866236b7" - integrity sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g== + version "8.3.5" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.5.tgz#8a6b8ca8fc5b34685af15dabb44118663c296496" + integrity sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw== dependencies: acorn "^8.11.0" acorn@^8.11.0, acorn@^8.4.1: - version "8.15.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.15.0.tgz#a360898bc415edaac46c8241f6383975b930b816" - integrity sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg== - -agent-base@6: - version "6.0.2" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" + version "8.19.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.19.0.tgz#6b26fd97ce1cc9dc50bdf7ad305e9f1384d4f28a" + integrity sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw== ansi-regex@^5.0.1: version "5.0.1" @@ -394,6 +570,48 @@ async@^3.2.3: resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== +b4a@^1.6.4, b4a@^1.8.1, b4a@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.9.0.tgz#6336313b6e76b299c397afa68676ec6ebc788845" + integrity sha512-dpfcF9fDNR6++cthXR67iyhgqWy9CBouAvIWhIntzBG6cvK/cnIPiZQjBwi/ZqjjBEDGfoNDtmB0kTjroOJ3pQ== + +bare-events@^2.5.4, bare-events@^2.7.0: + version "2.9.2" + resolved "https://registry.yarnpkg.com/bare-events/-/bare-events-2.9.2.tgz#01d377b64c3c7167b28b52da7add3221aecf2d7f" + integrity sha512-AIPKioV7/Y/8KfZ3AAhjPJxLLbY49S64Ym5DakZlUg75qQiTgUq9hEJoEwa4eUezPUlXRy/i5NpsKvo9jgKmoA== + +bare-fs@^4.0.1, bare-fs@^4.8.2: + version "4.8.4" + resolved "https://registry.yarnpkg.com/bare-fs/-/bare-fs-4.8.4.tgz#f342288e7e5d9d8e79917078e1f45950507828c5" + integrity sha512-MPC2eyrpbk3A873sK4y6rk+Iv4o2enxTjHZ8zH3HO0mjrpm5XjnguY2XmfidIsDV6vnjpbMBKUAJpV0ISD2SsQ== + dependencies: + bare-events "^2.5.4" + bare-path "^3.0.0" + bare-stream "^2.6.4" + bare-url "^2.2.2" + fast-fifo "^1.3.2" + +bare-path@^3.0.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/bare-path/-/bare-path-3.1.2.tgz#67261bc74a9ba0105ba139b8638f218c09e8d82e" + integrity sha512-ZyKbsuuqK6Ag0K8pX6V5Txq6XeJRvY+wXucnFGRjiyVYP9YWDpIQugk/b+enRYrEYBJaqLzghRQpXPMR7341Nw== + +bare-stream@^2.6.4: + version "2.13.4" + resolved "https://registry.yarnpkg.com/bare-stream/-/bare-stream-2.13.4.tgz#61d448a268d1efd992103aae6bd729332f278ac0" + integrity sha512-PcrQ8lVLbiJscNm1Kez+Yp4Gy4AHGcN1lzwjvf5NybWen7VvEgUfyfnXYJ2zNqWnzOfCb1Abq6lH8ti0syQszA== + dependencies: + b4a "^1.8.1" + streamx "^2.25.0" + teex "^1.0.1" + +bare-url@^2.2.2: + version "2.5.5" + resolved "https://registry.yarnpkg.com/bare-url/-/bare-url-2.5.5.tgz#2e8c18db11393aa6cae6ff246fdcda34615aacd3" + integrity sha512-iM9qJCruvpt2rPaLsrumVDru9pogI7PHziHIa9kTNRFt8C8HuSa+kI9kFezK+NvHEFnnz71rKGZ1EAilq/3V/Q== + dependencies: + bare-path "^3.0.0" + base64-js@^1.3.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" @@ -413,20 +631,20 @@ bluebird@~3.7.2: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -body-parser@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.2.0.tgz#f7a9656de305249a715b549b7b8fd1ab9dfddcfa" - integrity sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg== +body-parser@^2.3.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.4.0.tgz#337a76249270f83e450ad385a9606ca3b4a75c06" + integrity sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ== dependencies: bytes "^3.1.2" - content-type "^1.0.5" - debug "^4.4.0" - http-errors "^2.0.0" - iconv-lite "^0.6.3" + content-type "^2.1.0" + debug "^4.4.3" + http-errors "^2.0.1" + iconv-lite "^0.7.3" on-finished "^2.4.1" - qs "^6.14.0" - raw-body "^3.0.0" - type-is "^2.0.0" + qs "^6.16.1" + raw-body "^3.0.2" + type-is "^2.1.0" buffer@^5.5.0: version "5.7.1" @@ -436,7 +654,7 @@ buffer@^5.5.0: base64-js "^1.3.1" ieee754 "^1.1.13" -bytes@3.1.2, bytes@^3.1.2: +bytes@^3.1.2, bytes@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== @@ -476,13 +694,6 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -color-convert@^1.9.3: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - color-convert@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" @@ -490,58 +701,59 @@ color-convert@^2.0.1: dependencies: color-name "~1.1.4" -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== +color-convert@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-3.1.3.tgz#db6627b97181cb8facdfce755ae26f97ab0711f1" + integrity sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg== + dependencies: + color-name "^2.0.0" + +color-name@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-2.1.1.tgz#86c00ec98db36705be5bd4428097f13af1175a6d" + integrity sha512-p2FdgwVx1a9yWBHP2wI0VgShkDpgN4kZISkxdNipGBJWpa5G6b04OINlVWCyJj0JmfvcPrgqt95E9k8yvaOJFg== -color-name@^1.0.0, color-name@~1.1.4: +color-name@~1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -color-string@^1.6.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4" - integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg== +color-string@^2.1.3: + version "2.1.4" + resolved "https://registry.yarnpkg.com/color-string/-/color-string-2.1.4.tgz#9dcf566ff976e23368c8bd673f5c35103ab41058" + integrity sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg== dependencies: - color-name "^1.0.0" - simple-swizzle "^0.2.2" + color-name "^2.0.0" -color@^3.1.3: - version "3.2.1" - resolved "https://registry.yarnpkg.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" - integrity sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA== +color@^5.0.2: + version "5.0.3" + resolved "https://registry.yarnpkg.com/color/-/color-5.0.3.tgz#f79390b1b778e222ffbb54304d3dbeaef633f97f" + integrity sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA== dependencies: - color-convert "^1.9.3" - color-string "^1.6.0" + color-convert "^3.1.3" + color-string "^2.1.3" -colorspace@1.1.x: - version "1.1.4" - resolved "https://registry.yarnpkg.com/colorspace/-/colorspace-1.1.4.tgz#8d442d1186152f60453bf8070cd66eb364e59243" - integrity sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w== - dependencies: - color "^3.1.3" - text-hex "1.0.x" +commander@^9.4.0: + version "9.5.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-9.5.0.tgz#bc08d1eb5cedf7ccb797a96199d41c7bc3e60d30" + integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ== -config@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/config/-/config-4.1.1.tgz#798f636e2a5b7baa7050280d1eb21f8e10abb8c9" - integrity sha512-jljfwqNZ7QHwAW9Z9NDZdJARFiu5pjLqQO0K4ooY22iY/bIY78n0afI4ANEawfgQOxri0K/3oTayX8XIauWcLA== +config@^4.4.2: + version "4.4.2" + resolved "https://registry.yarnpkg.com/config/-/config-4.4.2.tgz#adab67a87fcb5f84edcacb3f159ccdb31ad8b901" + integrity sha512-5HJD7TX70gOG2dAd72eDjDeSTYn6D8nOiKgysQQS8mRUo9X1wDtlzb1JlmIWkP+sM9zKRVdYJxmj+qmCsYu6DQ== dependencies: json5 "^2.2.3" -content-disposition@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-1.0.0.tgz#844426cb398f934caefcbb172200126bc7ceace2" - integrity sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg== - dependencies: - safe-buffer "5.2.1" +content-disposition@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-2.0.1.tgz#88a75c7a52ef9c407c96035fe83a66939c2a4dc9" + integrity sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog== -content-type@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" - integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== +content-type@^2.0.0, content-type@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-2.1.0.tgz#d9389c43c0a8cf6a355db464d21e07092a40493a" + integrity sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag== cookie-signature@^1.2.1: version "1.2.2" @@ -563,10 +775,10 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -debug@4, debug@^4.3.5, debug@^4.4.0: - version "4.4.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" - integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== +debug@^4.3.1, debug@^4.4.0, debug@^4.4.3: + version "4.4.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a" + integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== dependencies: ms "^2.1.3" @@ -582,20 +794,20 @@ deep-extend@^0.6.0: resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== -depd@2.0.0, depd@^2.0.0: +depd@^2.0.0, depd@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== detect-libc@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.4.tgz#f04715b8ba815e53b4d8109655b6508a6865a7e8" - integrity sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA== + version "2.1.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.1.2.tgz#689c5dcdc1900ef5583a4cb9f6d7b473742074ad" + integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ== diff@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" - integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + version "4.0.4" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.4.tgz#7a6dbfda325f25f07517e9b518f897c08332e07d" + integrity sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ== dunder-proto@^1.0.1: version "1.0.1" @@ -651,12 +863,44 @@ es-errors@^1.3.0: integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" - integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== + version "1.1.2" + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.2.tgz#a2d0b373205724dfa525d23b0c3e1b1ca582c99b" + integrity sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw== dependencies: es-errors "^1.3.0" +esbuild@^0.28.1: + version "0.28.2" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.28.2.tgz#0f43bd1bad955b72d24e2261e3abe5957ccf0816" + integrity sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA== + optionalDependencies: + "@esbuild/aix-ppc64" "0.28.2" + "@esbuild/android-arm" "0.28.2" + "@esbuild/android-arm64" "0.28.2" + "@esbuild/android-x64" "0.28.2" + "@esbuild/darwin-arm64" "0.28.2" + "@esbuild/darwin-x64" "0.28.2" + "@esbuild/freebsd-arm64" "0.28.2" + "@esbuild/freebsd-x64" "0.28.2" + "@esbuild/linux-arm" "0.28.2" + "@esbuild/linux-arm64" "0.28.2" + "@esbuild/linux-ia32" "0.28.2" + "@esbuild/linux-loong64" "0.28.2" + "@esbuild/linux-mips64el" "0.28.2" + "@esbuild/linux-ppc64" "0.28.2" + "@esbuild/linux-riscv64" "0.28.2" + "@esbuild/linux-s390x" "0.28.2" + "@esbuild/linux-x64" "0.28.2" + "@esbuild/netbsd-arm64" "0.28.2" + "@esbuild/netbsd-x64" "0.28.2" + "@esbuild/openbsd-arm64" "0.28.2" + "@esbuild/openbsd-x64" "0.28.2" + "@esbuild/openharmony-arm64" "0.28.2" + "@esbuild/sunos-x64" "0.28.2" + "@esbuild/win32-arm64" "0.28.2" + "@esbuild/win32-ia32" "0.28.2" + "@esbuild/win32-x64" "0.28.2" + escalade@^3.1.1: version "3.2.0" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" @@ -672,23 +916,31 @@ etag@^1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== +events-universal@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/events-universal/-/events-universal-1.0.1.tgz#b56a84fd611b6610e0a2d0f09f80fdf931e2dfe6" + integrity sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw== + dependencies: + bare-events "^2.7.0" + expand-template@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c" integrity sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg== -express@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/express/-/express-5.1.0.tgz#d31beaf715a0016f0d53f47d3b4d7acf28c75cc9" - integrity sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA== +express@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/express/-/express-5.3.0.tgz#ab72dace89c50c8417bd3f865dad0b4fd1ca1c73" + integrity sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g== dependencies: accepts "^2.0.0" - body-parser "^2.2.0" - content-disposition "^1.0.0" - content-type "^1.0.5" + body-parser "^2.3.0" + content-disposition "^2.0.1" + content-type "^2.0.0" cookie "^0.7.1" cookie-signature "^1.2.1" debug "^4.4.0" + depd "^2.0.0" encodeurl "^2.0.0" escape-html "^1.0.3" etag "^1.8.1" @@ -700,17 +952,22 @@ express@^5.1.0: on-finished "^2.4.1" once "^1.4.0" parseurl "^1.3.3" - proxy-addr "^2.0.7" - qs "^6.14.0" + proxy-addr "^2.0.8" + qs "^6.16.0" range-parser "^1.2.1" router "^2.2.0" send "^1.1.0" serve-static "^2.2.0" statuses "^2.0.1" - type-is "^2.0.1" + type-is "^2.1.0" vary "^1.1.2" -fdir@^6.4.4: +fast-fifo@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.3.2.tgz#286e31de96eb96d38a97899815740ba2a4f3640c" + integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ== + +fdir@^6.5.0: version "6.5.0" resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350" integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg== @@ -728,9 +985,9 @@ file-stream-rotator@^0.6.1: moment "^2.29.1" finalhandler@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.0.tgz#72306373aa89d05a8242ed569ed86a1bff7c561f" - integrity sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q== + version "2.1.1" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.1.tgz#a2c517a6559852bcdb06d1f8bd7f51b68fad8099" + integrity sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA== dependencies: debug "^4.4.0" encodeurl "^2.0.0" @@ -754,20 +1011,12 @@ fresh@^2.0.0: resolved "https://registry.yarnpkg.com/fresh/-/fresh-2.0.0.tgz#8dd7df6a1b3a1b3a5cf186c05a5dd267622635a4" integrity sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A== -from2@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g== - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@^11.2.0, fs-extra@^11.3.1: +fs-extra@11.3.1: version "11.3.1" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.1.tgz#ba7a1f97a85f94c6db2e52ff69570db3671d5a74" integrity sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g== @@ -776,6 +1025,15 @@ fs-extra@^11.2.0, fs-extra@^11.3.1: jsonfile "^6.0.1" universalify "^2.0.0" +fs-extra@^11.4.1: + version "11.4.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.4.1.tgz#6a01ca80008eacf3ca1ffde5ef79088f68203a5a" + integrity sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + function-bind@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" @@ -830,36 +1088,28 @@ has-symbols@^1.1.0: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== -hasown@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" - integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== +hasown@^2.0.2, hasown@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.4.tgz#8c62d8cb90beb2aad5d0a5b67581ad9854c3f003" + integrity sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A== dependencies: function-bind "^1.1.2" -http-errors@2.0.0, http-errors@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" - integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== - dependencies: - depd "2.0.0" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses "2.0.1" - toidentifier "1.0.1" - -https-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== +http-errors@^2.0.0, http-errors@^2.0.1, http-errors@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.1.tgz#36d2f65bc909c8790018dd36fb4d93da6caae06b" + integrity sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ== dependencies: - agent-base "6" - debug "4" + depd "~2.0.0" + inherits "~2.0.4" + setprototypeof "~1.2.0" + statuses "~2.0.2" + toidentifier "~1.0.1" -iconv-lite@0.6.3, iconv-lite@^0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== +iconv-lite@^0.7.3, iconv-lite@~0.7.0: + version "0.7.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.7.3.tgz#84ee12f963e7de50bc01a13e160a078b3b0f415f" + integrity sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ== dependencies: safer-buffer ">= 2.1.2 < 3.0.0" @@ -868,7 +1118,7 @@ ieee754@^1.1.13: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: +inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3, inherits@~2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -878,30 +1128,22 @@ ini@~1.3.0: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -into-stream@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-6.0.0.tgz#4bfc1244c0128224e18b8870e85b2de8e66c6702" - integrity sha512-XHbaOAvP+uFKUFsOgoNPRjLkwB+I22JFPFe5OjTkQ0nwgj6+pSjb4NmB6VMxaPshLiOf+zcpOCBQuLwC1KHhZA== - dependencies: - from2 "^2.3.0" - p-is-promise "^3.0.0" +into-stream@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-9.1.0.tgz#3d49f8dc3aa44c9d5e6007cc07831388542a1326" + integrity sha512-DRsRnQrbzdFjaQ1oe4C6/EIUymIOEix1qROEJTF9dbMq+M4Zrm6VaLp6SD/B9IsiEjPZuBSnWWFN+udajugdWA== ipaddr.js@1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== -is-arrayish@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" - integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== - -is-core-module@^2.16.0: - version "2.16.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" - integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== +is-core-module@^2.17.0: + version "2.17.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.17.0.tgz#75c1c76236c9f7e38ddbfff292e127dc13b21027" + integrity sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA== dependencies: - hasown "^2.0.2" + hasown "^2.0.4" is-fullwidth-code-point@^3.0.0: version "3.0.0" @@ -923,7 +1165,12 @@ isarray@~1.0.0: resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== -js-yaml@^4.1.1: +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.3.2.tgz#8e44fb14a2643c59726bb15787b5f1512cb3d3fb" integrity sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA== @@ -941,9 +1188,9 @@ json5@^2.2.3: integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== jsonfile@^6.0.1: - version "6.2.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.2.0.tgz#7c265bd1b65de6977478300087c99f1c84383f62" - integrity sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg== + version "6.2.1" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.2.1.tgz#b6e31717f22cc37330b081ce0051ed5de53af2f6" + integrity sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q== dependencies: universalify "^2.0.0" optionalDependencies: @@ -977,25 +1224,27 @@ long@^5.3.2: integrity sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA== lz4-napi@^2.8.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/lz4-napi/-/lz4-napi-2.9.0.tgz#4a700974a1154f82b3c0e1b7030fe63140051e7d" - integrity sha512-ZOWqxBMIK5768aD20tYn5B6Pp9WPM9UG/LHk8neG9p0gC1DtjdzhTtlkxhAjvTRpmJvMtnnqLKlT+COlqAt9cQ== - dependencies: - "@node-rs/helper" "^1.3.3" + version "2.10.0" + resolved "https://registry.yarnpkg.com/lz4-napi/-/lz4-napi-2.10.0.tgz#3c281d303e5cdd392f4e8018f18266ce2e357b0a" + integrity sha512-NEW7rrcRA+6928P2X9IB4TCeHXT1VKTz63+lmiKkWBMORI2OtenveC+DsqtYfWMZZ52gULHcon5Z7QgXvDpRHg== optionalDependencies: - "@antoniomuso/lz4-napi-android-arm-eabi" "2.9.0" - "@antoniomuso/lz4-napi-android-arm64" "2.9.0" - "@antoniomuso/lz4-napi-darwin-arm64" "2.9.0" - "@antoniomuso/lz4-napi-darwin-x64" "2.9.0" - "@antoniomuso/lz4-napi-freebsd-x64" "2.9.0" - "@antoniomuso/lz4-napi-linux-arm-gnueabihf" "2.9.0" - "@antoniomuso/lz4-napi-linux-arm64-gnu" "2.9.0" - "@antoniomuso/lz4-napi-linux-arm64-musl" "2.9.0" - "@antoniomuso/lz4-napi-linux-x64-gnu" "2.9.0" - "@antoniomuso/lz4-napi-linux-x64-musl" "2.9.0" - "@antoniomuso/lz4-napi-win32-arm64-msvc" "2.9.0" - "@antoniomuso/lz4-napi-win32-ia32-msvc" "2.9.0" - "@antoniomuso/lz4-napi-win32-x64-msvc" "2.9.0" + "@antoniomuso/lz4-napi-android-arm-eabi" "2.10.0" + "@antoniomuso/lz4-napi-android-arm64" "2.10.0" + "@antoniomuso/lz4-napi-darwin-arm64" "2.10.0" + "@antoniomuso/lz4-napi-darwin-x64" "2.10.0" + "@antoniomuso/lz4-napi-freebsd-x64" "2.10.0" + "@antoniomuso/lz4-napi-linux-arm-gnueabihf" "2.10.0" + "@antoniomuso/lz4-napi-linux-arm64-gnu" "2.10.0" + "@antoniomuso/lz4-napi-linux-arm64-musl" "2.10.0" + "@antoniomuso/lz4-napi-linux-ppc64-gnu" "2.10.0" + "@antoniomuso/lz4-napi-linux-riscv64-gnu" "2.10.0" + "@antoniomuso/lz4-napi-linux-s390x-gnu" "2.10.0" + "@antoniomuso/lz4-napi-linux-x64-gnu" "2.10.0" + "@antoniomuso/lz4-napi-linux-x64-musl" "2.10.0" + "@antoniomuso/lz4-napi-openharmony-arm64" "2.10.0" + "@antoniomuso/lz4-napi-win32-arm64-msvc" "2.10.0" + "@antoniomuso/lz4-napi-win32-ia32-msvc" "2.10.0" + "@antoniomuso/lz4-napi-win32-x64-msvc" "2.10.0" make-error@^1.1.1: version "1.3.6" @@ -1008,9 +1257,9 @@ math-intrinsics@^1.1.0: integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== media-typer@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.0.tgz#6ab74b8f2d3320f2064b2a87a38e7931ff3a5561" - integrity sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw== + version "1.1.1" + resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.1.tgz#6f035400dfe3ab9d5607bc77546ce30cc2f9c6b8" + integrity sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ== merge-descriptors@^2.0.0: version "2.0.0" @@ -1022,10 +1271,10 @@ mime-db@^1.54.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5" integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ== -mime-types@^3.0.0, mime-types@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.1.tgz#b1d94d6997a9b32fd69ebaed0db73de8acb519ce" - integrity sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA== +mime-types@^3.0.0, mime-types@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.2.tgz#39002d4182575d5af036ffa118100f2524b2e2ab" + integrity sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A== dependencies: mime-db "^1.54.0" @@ -1034,15 +1283,15 @@ mimic-response@^3.1.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== -minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.6: +minimist@^1.2.0, minimist@^1.2.3: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== minipass@^7.0.4, minipass@^7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" - integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== + version "7.1.3" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz#79389b4eb1bb2d003a9bba87d492f2bd37bdc65b" + integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A== minizlib@^3.1.0: version "3.1.0" @@ -1080,24 +1329,19 @@ napi-build-utils@^2.0.0: integrity sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA== negotiator@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.0.0.tgz#b6c91bb47172d69f93cfd7c357bbb529019b5f6a" - integrity sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg== + version "1.1.0" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.1.0.tgz#16e003d0db4ac24fd9df168edf871625deeae3df" + integrity sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg== + dependencies: + content-type "^2.1.0" node-abi@^3.3.0: - version "3.75.0" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.75.0.tgz#2f929a91a90a0d02b325c43731314802357ed764" - integrity sha512-OhYaY5sDsIka7H7AtijtI9jwGYLyl29eQn/W623DiN/MIv5sUqc4g7BIDThX+gb7di9f6xK02nkp8sdfFWZLTg== + version "3.100.0" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.100.0.tgz#31aa9623841051d14f52415557e18101bc0de7ca" + integrity sha512-KNU/E0VW9T1ndOAEWNlWtxhoBSF7hqe+dMSrRPK6+PfyL2s2AcfwnXCAOke4DNXOsweivNT6/7eFHwkxWblZew== dependencies: semver "^7.3.5" -node-fetch@^2.6.6: - version "2.7.0" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" - integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== - dependencies: - whatwg-url "^5.0.0" - node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -1114,9 +1358,9 @@ object-inspect@^1.13.3, object-inspect@^1.13.4: integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== on-finished@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" - integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== + version "2.4.2" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.2.tgz#6932b04b95bf6a4828201db10af75fe5c9c38b73" + integrity sha512-ATWUv387i+nLD49EiDoOft5scf32Vsdz3ktrQJG9bi7jRFmaXTssvyvj1EmeKVVgvesbqUtvQQvaS2TpTukAZQ== dependencies: ee-first "1.1.1" @@ -1134,11 +1378,6 @@ one-time@^1.0.0: dependencies: fn.name "1.x.x" -p-is-promise@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-3.0.0.tgz#58e78c7dfe2e163cf2a04ff869e7c1dba64a5971" - integrity sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ== - parseurl@^1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" @@ -1150,19 +1389,26 @@ path-parse@^1.0.7: integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== path-to-regexp@^8.0.0: - version "8.4.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.4.0.tgz#8e98fcd94826aff01a90c544ef74ffbaca3a78ed" - integrity sha512-PuseHIvAnz3bjrM2rGJtSgo1zjgxapTLZ7x2pjhzWwlp4SJQgK3f3iZIQwkpEnBaKz6seKBADpM4B4ySkuYypg== + version "8.4.2" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.4.2.tgz#795c420c4f7ca45c5b887366f622ee0c9852cccd" + integrity sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA== -picocolors@^1.1.0: +picocolors@^1.1.0, picocolors@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== -picomatch@^4.0.2: - version "4.0.4" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" - integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== +picomatch@^4.0.2, picomatch@^4.0.4: + version "4.0.7" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.7.tgz#6313360034ccb36b3dc61ecbdff78121f90fe21f" + integrity sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA== + +postject@^1.0.0-alpha.6: + version "1.0.0-alpha.6" + resolved "https://registry.yarnpkg.com/postject/-/postject-1.0.0-alpha.6.tgz#9d022332272e2cfce8dea4cfce1ee6dd1b2ee135" + integrity sha512-b9Eb8h2eVqNE8edvKdwqkrY6O7kAwmI8kcnBv1NScolYJbo59XUF0noFq+lxbC1yN20bmC0WBEbDC5H/7ASb0A== + dependencies: + commander "^9.4.0" prebuild-install@^7.1.1: version "7.1.3" @@ -1192,7 +1438,7 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -proxy-addr@^2.0.7: +proxy-addr@^2.0.8: version "2.0.8" resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.8.tgz#624e760fd8ab06b1b8320c2f8506d4422cf8e932" integrity sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ== @@ -1201,14 +1447,14 @@ proxy-addr@^2.0.7: ipaddr.js "1.9.1" pump@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.3.tgz#151d979f1a29668dc0025ec589a455b53282268d" - integrity sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA== + version "3.0.4" + resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.4.tgz#1f313430527fa8b905622ebd22fe1444e757ab3c" + integrity sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA== dependencies: end-of-stream "^1.1.0" once "^1.3.1" -qs@^6.14.0: +qs@^6.16.0, qs@^6.16.1: version "6.16.1" resolved "https://registry.yarnpkg.com/qs/-/qs-6.16.1.tgz#0643e17993e551759c85078e1f0bc4b9fe908020" integrity sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg== @@ -1217,19 +1463,19 @@ qs@^6.14.0: side-channel "^1.1.1" range-parser@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== + version "1.3.0" + resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.3.0.tgz#d7f19be812bb62721472b45d3be219ef09572b47" + integrity sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw== -raw-body@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.0.tgz#25b3476f07a51600619dae3fe82ddc28a36e5e0f" - integrity sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g== +raw-body@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.2.tgz#3e3ada5ae5568f9095d84376fd3a49b8fb000a51" + integrity sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA== dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.6.3" - unpipe "1.0.0" + bytes "~3.1.2" + http-errors "~2.0.1" + iconv-lite "~0.7.0" + unpipe "~1.0.0" rc@^1.2.7: version "1.2.8" @@ -1241,7 +1487,7 @@ rc@^1.2.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.1.4: +readable-stream@^2.0.2, readable-stream@^2.1.4: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== @@ -1268,12 +1514,18 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== +resolve.exports@^2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.4.tgz#49921cfd9cd266053a9699e3f43c8bcbdf964331" + integrity sha512-zepuGL0ulf+nt+XaFrlKeaiTJeyPFPLLY62+ncq1/VTHBdt3HsfXOH60priZ6tnXQozdGcDeIF5JVTanvIcYWQ== + resolve@^1.22.10: - version "1.22.10" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" - integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== + version "1.22.13" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.13.tgz#d542f97758d768f36091251a6b07540b4343f7b5" + integrity sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA== dependencies: - is-core-module "^2.16.0" + es-errors "^1.3.0" + is-core-module "^2.17.0" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" @@ -1288,7 +1540,7 @@ router@^2.2.0: parseurl "^1.3.3" path-to-regexp "^8.0.0" -safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -1309,38 +1561,38 @@ safe-stable-stringify@^2.3.1: integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== semver@^7.3.5: - version "7.7.2" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" - integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== + version "7.8.5" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.8.5.tgz#39b646037dd50c14fb451e7e4cac58ed8b863f69" + integrity sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA== send@^1.1.0, send@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/send/-/send-1.2.0.tgz#32a7554fb777b831dfa828370f773a3808d37212" - integrity sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw== + version "1.2.1" + resolved "https://registry.yarnpkg.com/send/-/send-1.2.1.tgz#9eab743b874f3550f40a26867bf286ad60d3f3ed" + integrity sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ== dependencies: - debug "^4.3.5" + debug "^4.4.3" encodeurl "^2.0.0" escape-html "^1.0.3" etag "^1.8.1" fresh "^2.0.0" - http-errors "^2.0.0" - mime-types "^3.0.1" + http-errors "^2.0.1" + mime-types "^3.0.2" ms "^2.1.3" on-finished "^2.4.1" range-parser "^1.2.1" - statuses "^2.0.1" + statuses "^2.0.2" serve-static@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.2.0.tgz#9c02564ee259bdd2251b82d659a2e7e1938d66f9" - integrity sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ== + version "2.2.1" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.2.1.tgz#7f186a4a4e5f5b663ad7a4294ff1bf37cf0e98a9" + integrity sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw== dependencies: encodeurl "^2.0.0" escape-html "^1.0.3" parseurl "^1.3.3" send "^1.2.0" -setprototypeof@1.2.0: +setprototypeof@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== @@ -1399,24 +1651,12 @@ simple-get@^4.0.0: once "^1.3.1" simple-concat "^1.0.0" -simple-swizzle@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" - integrity sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg== - dependencies: - is-arrayish "^0.3.1" - stack-trace@0.0.x: version "0.0.10" resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" integrity sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg== -statuses@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" - integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== - -statuses@^2.0.1: +statuses@^2.0.1, statuses@^2.0.2, statuses@~2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.2.tgz#8f75eecef765b5e1cfcdc080da59409ed424e382" integrity sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw== @@ -1428,6 +1668,15 @@ stream-meter@^1.0.4: dependencies: readable-stream "^2.1.4" +streamx@^2.12.5, streamx@^2.25.0, streamx@^2.28.1: + version "2.28.1" + resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.28.1.tgz#376cd42a089505a69bec0efdb5189aa45586141f" + integrity sha512-zEzXb0s5Cds7tqMH6rhZ05lcJydCWiQPEwiNngVqzsxCc962vLY4Uw+mW7od8kDH258k2Uz/JrOkdIAAhSh9VA== + dependencies: + events-universal "^1.0.0" + fast-fifo "^1.3.2" + text-decoder "^1.1.0" + string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -1468,16 +1717,27 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -tar-fs@^2.0.0, tar-fs@^2.1.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.4.tgz#800824dbf4ef06ded9afea4acafe71c67c76b930" - integrity sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ== +tar-fs@^2.0.0: + version "2.1.5" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.5.tgz#33e9c29413dce0c58ada7ff77db4e5a30afffe70" + integrity sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw== dependencies: chownr "^1.1.1" mkdirp-classic "^0.5.2" pump "^3.0.0" tar-stream "^2.1.4" +tar-fs@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-3.1.3.tgz#05668cc68a30741c3813f9c16593b8dec7dcbcd1" + integrity sha512-/hU4AXnIdZu+Gvl1pk0oI5f5HxWsCJRtY2aFaJdk9VvyL48DWU6iU5WAIPG+wIi1YvWA6eTJvIviP/tMAZZNwQ== + dependencies: + pump "^3.0.0" + tar-stream "^3.1.5" + optionalDependencies: + bare-fs "^4.0.1" + bare-path "^3.0.0" + tar-stream@^2.1.4: version "2.2.0" resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" @@ -1489,7 +1749,17 @@ tar-stream@^2.1.4: inherits "^2.0.3" readable-stream "^3.1.1" -tar@>=7.5.8, tar@^7.4.3: +tar-stream@^3.1.5: + version "3.2.2" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-3.2.2.tgz#aec7f257e712192a177a93aa0450c2e76855c8be" + integrity sha512-+8NeqHRjQWH9nYlwo2gamAMImZCVzI4UoEgDpWorBt9OEfppiZn+uSkskzQKPWIZyji/C8fpWO7u69G0DX0tbg== + dependencies: + b4a "^1.9.0" + bare-fs "^4.8.2" + fast-fifo "^1.3.2" + streamx "^2.28.1" + +tar@^7.5.7: version "7.5.22" resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9" integrity sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA== @@ -1500,29 +1770,38 @@ tar@>=7.5.8, tar@^7.4.3: minizlib "^3.1.0" yallist "^5.0.0" +teex@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/teex/-/teex-1.0.1.tgz#b8fa7245ef8e8effa8078281946c85ab780a0b12" + integrity sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg== + dependencies: + streamx "^2.12.5" + +text-decoder@^1.1.0: + version "1.2.7" + resolved "https://registry.yarnpkg.com/text-decoder/-/text-decoder-1.2.7.tgz#5d073a9a74b9c0a9d28dfadcab96b604af57d8ba" + integrity sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ== + dependencies: + b4a "^1.6.4" + text-hex@1.0.x: version "1.0.0" resolved "https://registry.yarnpkg.com/text-hex/-/text-hex-1.0.0.tgz#69dc9c1b17446ee79a92bf5b884bb4b9127506f5" integrity sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg== tinyglobby@^0.2.11: - version "0.2.14" - resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.14.tgz#5280b0cf3f972b050e74ae88406c0a6a58f4079d" - integrity sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ== + version "0.2.17" + resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.17.tgz#562a9a6c9eb2b3b123d39719f9af5bb44fcd7631" + integrity sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g== dependencies: - fdir "^6.4.4" - picomatch "^4.0.2" + fdir "^6.5.0" + picomatch "^4.0.4" -toidentifier@1.0.1: +toidentifier@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== - triple-beam@^1.3.0, triple-beam@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.4.1.tgz#6fde70271dc6e5d73ca0c3b24e2d92afb7441984" @@ -1554,12 +1833,12 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" -type-is@^2.0.0, type-is@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.0.1.tgz#64f6cf03f92fce4015c2b224793f6bdd4b068c97" - integrity sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw== +type-is@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.1.0.tgz#71d1a7053293582e16ac9f3ebaf1ab9aa49e5570" + integrity sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA== dependencies: - content-type "^1.0.5" + content-type "^2.0.0" media-typer "^1.1.0" mime-types "^3.0.0" @@ -1573,29 +1852,34 @@ undici-types@~6.21.0: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== -undici-types@~7.10.0: - version "7.10.0" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.10.0.tgz#4ac2e058ce56b462b056e629cc6a02393d3ff350" - integrity sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag== +undici-types@~8.9.0: + version "8.9.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-8.9.0.tgz#e240d97c8b5d85e5347ce73d25865c7906c1ec9f" + integrity sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg== + +undici@^7.28.0: + version "7.30.1" + resolved "https://registry.yarnpkg.com/undici/-/undici-7.30.1.tgz#360b3de104b94abc52729aa1a4a07e027aa71f73" + integrity sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg== universalify@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== -unpipe@1.0.0: +unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== unzipper@^0.12.3: - version "0.12.3" - resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.12.3.tgz#31958f5eed7368ed8f57deae547e5a673e984f87" - integrity sha512-PZ8hTS+AqcGxsaQntl3IRBw65QrBI6lxzqDEL7IAo/XCEqRTKGfOX56Vea5TH9SZczRVxuzk1re04z/YjuYCJA== + version "0.12.5" + resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.12.5.tgz#7fc6b4862f3832202d1f5cc3adbee2679deaaf6c" + integrity sha512-tXYOi9R57Uj/2Z25SOs5RRSzq886MBQj2gY8dPL+xl/kv6s6SvByoKfAtvfVeEuhntWDgjd2o9p2lb4TVPAz0A== dependencies: bluebird "~3.7.2" duplexer2 "~0.1.4" - fs-extra "^11.2.0" + fs-extra "11.3.1" graceful-fs "^4.2.2" node-int64 "^0.4.0" @@ -1619,19 +1903,6 @@ vary@^1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - winston-daily-rotate-file@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/winston-daily-rotate-file/-/winston-daily-rotate-file-5.0.0.tgz#8cd94800025490e47c00ec892b655a5821f4266d" @@ -1651,13 +1922,13 @@ winston-transport@^4.7.0, winston-transport@^4.9.0: readable-stream "^3.6.2" triple-beam "^1.3.0" -winston@^3.17.0: - version "3.17.0" - resolved "https://registry.yarnpkg.com/winston/-/winston-3.17.0.tgz#74b8665ce9b4ea7b29d0922cfccf852a08a11423" - integrity sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw== +winston@^3.19.0: + version "3.19.0" + resolved "https://registry.yarnpkg.com/winston/-/winston-3.19.0.tgz#cc1d1262f5f45946904085cfffe73efb4b7a581d" + integrity sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA== dependencies: "@colors/colors" "^1.6.0" - "@dabh/diagnostics" "^2.0.2" + "@dabh/diagnostics" "^2.0.8" async "^3.2.3" is-stream "^2.0.0" logform "^2.7.0" @@ -1698,9 +1969,9 @@ yargs-parser@^20.2.2: integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + version "16.2.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.2.tgz#c56731dca0d2788ae0866dd3c83907d6bab85f7d" + integrity sha512-Nt9ZJjXTv5R8MHbqby/wXQ6Gi0Bb3TcYZkR1bzuL4yB2OxWPkXknz513gEF0GoA6tn00UpbPvERW8rzCuWCA6w== dependencies: cliui "^7.0.2" escalade "^3.1.1" From 4531810471212ef1d154ecea16c34f6f4f41f808 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 23 Oct 2026 14:32:46 +0300 Subject: [PATCH 267/559] Fixed CVE-2025-13466, CVE-2026-12590 and CVE-2026-24001 in web-ui Updated config 4.4.2, connect-history-api-fallback 2.0.0, express, js-yaml, winston, @yao-pkg/pkg 6.24.0, fs-extra, @types/express, @types/http-proxy and @types/node. Dropped the http stub package, @types/config (config ships its own types), the unused nyc section and the tar resolution (lockfile resolves 7.5.22). Logger takes the Transport type from winston; RequestHandler now comes from express. --- msa/web-ui/config/logger.ts | 5 +- msa/web-ui/package.json | 33 +- msa/web-ui/server.ts | 4 +- msa/web-ui/yarn.lock | 1068 ++++++++++++++++++++++------------- 4 files changed, 676 insertions(+), 434 deletions(-) diff --git a/msa/web-ui/config/logger.ts b/msa/web-ui/config/logger.ts index a8871bee9e..1e486db336 100644 --- a/msa/web-ui/config/logger.ts +++ b/msa/web-ui/config/logger.ts @@ -3,11 +3,10 @@ import config from 'config'; import path from 'path'; import DailyRotateFile from 'winston-daily-rotate-file'; -import { createLogger, format, transports } from 'winston'; -import * as Transport from 'winston-transport'; +import { createLogger, format, transport, transports } from 'winston'; const { combine, timestamp, label, printf, splat } = format; -const loggerTransports: Array = []; +const loggerTransports: Array = []; if (process.env.NODE_ENV !== 'production' || process.env.DOCKER_MODE === 'true') { loggerTransports.push(new transports.Console({ diff --git a/msa/web-ui/package.json b/msa/web-ui/package.json index 7a835cdf28..929f30f4a9 100644 --- a/msa/web-ui/package.json +++ b/msa/web-ui/package.json @@ -14,38 +14,25 @@ }, "dependencies": { "compression": "^1.8.2", - "config": "^3.3.12", - "connect-history-api-fallback": "1.6.0", - "express": "^5.1.0", - "http": "0.0.0", + "config": "^4.4.2", + "connect-history-api-fallback": "^2.0.0", + "express": "^5.3.0", "http-proxy": "^1.18.1", - "js-yaml": "^4.1.1", - "winston": "^3.17.0", + "js-yaml": "^4.3.2", + "winston": "^3.19.0", "winston-daily-rotate-file": "^5.0.0" }, - "nyc": { - "exclude": [ - "test", - "__tests__", - "node_modules", - "target" - ] - }, "devDependencies": { "@types/compression": "^1.8.1", - "@types/config": "^3.3.5", "@types/connect-history-api-fallback": "1.5.4", - "@types/express": "~5.0.3", - "@types/http-proxy": "^1.17.16", - "@types/node": "~22.17.2", - "@yao-pkg/pkg": "^6.6.0", - "fs-extra": "^11.3.1", + "@types/express": "~5.0.6", + "@types/http-proxy": "^1.17.17", + "@types/node": "~22.20.5", + "@yao-pkg/pkg": "^6.24.0", + "fs-extra": "^11.4.1", "ts-node": "^10.9.2", "typescript": "~5.9.3" }, - "resolutions": { - "@yao-pkg/pkg/tar": ">=7.5.8" - }, "pkg": { "assets": [ "node_modules/config/**/*.*" diff --git a/msa/web-ui/server.ts b/msa/web-ui/server.ts index c747d0c455..4a84a03907 100644 --- a/msa/web-ui/server.ts +++ b/msa/web-ui/server.ts @@ -9,7 +9,7 @@ import httpProxy from 'http-proxy'; import compression from 'compression'; import historyApiFallback from 'connect-history-api-fallback'; import { Socket } from 'net'; -import { RequestHandler } from 'serve-static'; +import { RequestHandler } from 'express'; const logger = _logger('main'); @@ -118,7 +118,7 @@ let connections: Socket[] = []; const staticServe = express.static(root); - const indexHtmlFallback: RequestHandler = (req, res, next) => { + const indexHtmlFallback: RequestHandler = (req, res, next) => { res.sendFile(path.join(root, 'index.html')); }; diff --git a/msa/web-ui/yarn.lock b/msa/web-ui/yarn.lock index 5b60359934..9b777abdbb 100644 --- a/msa/web-ui/yarn.lock +++ b/msa/web-ui/yarn.lock @@ -2,47 +2,88 @@ # yarn lockfile v1 -"@babel/generator@^7.23.0": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.3.tgz#9626c1741c650cbac39121694a0f2d7451b8ef3e" - integrity sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw== - dependencies: - "@babel/parser" "^7.28.3" - "@babel/types" "^7.28.2" +"@babel/code-frame@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.29.7.tgz#f2fbbfea87c44a21590ec515b778b2c26d8866e7" + integrity sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw== + dependencies: + "@babel/helper-validator-identifier" "^7.29.7" + js-tokens "^4.0.0" + picocolors "^1.1.1" + +"@babel/generator@^7.23.0", "@babel/generator@^7.29.8": + version "7.29.8" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.8.tgz#4b0b887885422643339e09022148a4c4ebaa4979" + integrity sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg== + dependencies: + "@babel/parser" "^7.29.8" + "@babel/types" "^7.29.8" "@jridgewell/gen-mapping" "^0.3.12" "@jridgewell/trace-mapping" "^0.3.28" jsesc "^3.0.2" -"@babel/helper-string-parser@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" - integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== - -"@babel/helper-validator-identifier@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" - integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== - -"@babel/parser@^7.23.0", "@babel/parser@^7.28.3": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.3.tgz#d2d25b814621bca5fe9d172bc93792547e7a2a71" - integrity sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA== - dependencies: - "@babel/types" "^7.28.2" - -"@babel/types@^7.23.0", "@babel/types@^7.28.2": - version "7.28.2" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.2.tgz#da9db0856a9a88e0a13b019881d7513588cf712b" - integrity sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ== - dependencies: - "@babel/helper-string-parser" "^7.27.1" - "@babel/helper-validator-identifier" "^7.27.1" - -"@colors/colors@1.6.0", "@colors/colors@^1.6.0": +"@babel/helper-globals@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.29.7.tgz#f04a96fbd8473241b1079243f5b3f03a3010ab7b" + integrity sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA== + +"@babel/helper-string-parser@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz#7f0871d99824d23137d60f86fcf6130fd5a1b51f" + integrity sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw== + +"@babel/helper-validator-identifier@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz#bd87084ced0c796ec46bda492de6e83d29e89fc2" + integrity sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg== + +"@babel/parser@^7.23.0", "@babel/parser@^7.29.7", "@babel/parser@^7.29.8", "@babel/parser@^7.29.9": + version "7.29.9" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.9.tgz#e7ee0a24f752c5296c6455855ccb72662e67ea96" + integrity sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA== + dependencies: + "@babel/types" "^7.29.8" + +"@babel/template@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.29.7.tgz#4d9d4004f645cdd304de958c725162784ecac700" + integrity sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg== + dependencies: + "@babel/code-frame" "^7.29.7" + "@babel/parser" "^7.29.7" + "@babel/types" "^7.29.7" + +"@babel/traverse@^7.23.0": + version "7.29.10" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.10.tgz#08ab387639b4a67304511259c7da6cf23a82e91c" + integrity sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ== + dependencies: + "@babel/code-frame" "^7.29.7" + "@babel/generator" "^7.29.8" + "@babel/helper-globals" "^7.29.7" + "@babel/parser" "^7.29.9" + "@babel/template" "^7.29.7" + "@babel/types" "^7.29.8" + debug "^4.3.1" + +"@babel/types@^7.23.0", "@babel/types@^7.29.7", "@babel/types@^7.29.8": + version "7.29.8" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.29.8.tgz#1229eef31d85156d70fa3f4cd859376d0eaf6863" + integrity sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg== + dependencies: + "@babel/helper-string-parser" "^7.29.7" + "@babel/helper-validator-identifier" "^7.29.7" + +"@colors/colors@1.6.0": version "1.6.0" resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.6.0.tgz#ec6cd237440700bc23ca23087f513c75508958b0" integrity sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA== +"@colors/colors@^1.6.0": + version "1.6.1" + resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.6.1.tgz#8e2827259ada76965b3a051c18a5927fbdac38c2" + integrity sha512-dTmUJzXSuayBK+hZydEaXd2mhx61qWQwkwaBBY6LyEOVx/L9aQU5ac8eFNEsd9nrD1+zb9zvDCphLSe8g1F4Qw== + "@cspotcode/source-map-support@^0.8.0": version "0.8.1" resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" @@ -50,15 +91,145 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@dabh/diagnostics@^2.0.2": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.3.tgz#7f7e97ee9a725dffc7808d93668cc984e1dc477a" - integrity sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA== +"@dabh/diagnostics@^2.0.8": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.9.tgz#0de9e8718e23ab60d1fb1ce0c004079f14f5ad36" + integrity sha512-R6siwR65Hm+3yfgP7o8DKhNvputQAwfoz9zTc3kyDudnomj2/BcLmD+uGQQPICjuFUp8ounPBU+jmKsocwVVAg== dependencies: - colorspace "1.1.x" + "@so-ric/colorspace" "^1.1.6" enabled "2.0.x" kuler "^2.0.0" +"@esbuild/aix-ppc64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz#bf6e10303bcf2e7c686975fa52f937ec2728d8bc" + integrity sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ== + +"@esbuild/android-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz#0c6246bc8d2c4d172aac2db3fb1190d72bd65504" + integrity sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A== + +"@esbuild/android-arm@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.28.2.tgz#2d84ece6a4e2684d92be26ee13d42757d831c381" + integrity sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg== + +"@esbuild/android-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.28.2.tgz#fc38d4d6358d8dc1cf53f09f7589fe436eb64801" + integrity sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q== + +"@esbuild/darwin-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz#f83afeeac1d7dac01c7a2fd012b3e451a0591fcc" + integrity sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw== + +"@esbuild/darwin-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz#510147c055a795588dbbe14fd6b1b8ad0a2f30de" + integrity sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw== + +"@esbuild/freebsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz#093b9200ecf0b115ba4e5e248a7485c9c5f8bd5e" + integrity sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw== + +"@esbuild/freebsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz#0be22b6df925d213e841ea87123af5df80b0faf7" + integrity sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg== + +"@esbuild/linux-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz#1bdbc651cda9ba9995c53ed9c71ceaa65094762d" + integrity sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug== + +"@esbuild/linux-arm@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz#beb12ad72b84f72d28488cc1b8ee9f7eb141d753" + integrity sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w== + +"@esbuild/linux-ia32@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz#b81f9d55529b45c206a46a138214b1aa6879696b" + integrity sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ== + +"@esbuild/linux-loong64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz#598667241a04c99b76ed6ef940ac50038c419f98" + integrity sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ== + +"@esbuild/linux-mips64el@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz#1c51eb9cea903f53d97b5af3b1841db70f5596ca" + integrity sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA== + +"@esbuild/linux-ppc64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz#63dd61f17ceb31a81227f413feac8a71bc2c51f2" + integrity sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ== + +"@esbuild/linux-riscv64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz#3763b08fde5cf25ab1facb8e7752edfe45fbfc27" + integrity sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA== + +"@esbuild/linux-s390x@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz#1a137ff293a82906eb3176385bd7e8e0e5cfb7cb" + integrity sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg== + +"@esbuild/linux-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz#268b36211c146ca54f8fe12c578a8d6ef8979485" + integrity sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ== + +"@esbuild/netbsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz#22571ad951d62bb6accc82d8d1fad5c8c1ac0ba1" + integrity sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw== + +"@esbuild/netbsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz#42fcc57297eb0a0ca3f5fc475291f4c1a3f7c0de" + integrity sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw== + +"@esbuild/openbsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz#9eb32af104ac3dacf4edca01f596664aab0c73ef" + integrity sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ== + +"@esbuild/openbsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz#febed2402d6088225e91f20fb4ce2522ad0a4efd" + integrity sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw== + +"@esbuild/openharmony-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz#85641c3d466428bfbccea5f21c26836663fef5ce" + integrity sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q== + +"@esbuild/sunos-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz#a736f9d8962481045fc4c3e54f5479f22c870fb4" + integrity sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g== + +"@esbuild/win32-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz#ee5ab40fad186201b652a33f8a5eb149e9e42532" + integrity sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ== + +"@esbuild/win32-ia32@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz#c40d28a6d99a127da6711f2afd74b11cb63b06a7" + integrity sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA== + +"@esbuild/win32-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz#b21affb804cc167c133d95f45b3a1dc1323b9a87" + integrity sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g== + "@isaacs/fs-minipass@^4.0.0": version "4.0.1" resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32" @@ -80,9 +251,9 @@ integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.5.0": - version "1.5.5" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" - integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== + version "1.6.0" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz#f4c663e862f06dc98ca4d453862c46902789a18d" + integrity sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw== "@jridgewell/trace-mapping@0.3.9": version "0.3.9" @@ -93,17 +264,30 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.28": - version "0.3.30" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.30.tgz#4a76c4daeee5df09f5d3940e087442fb36ce2b99" - integrity sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q== + version "0.3.31" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz#db15d6781c931f3a251a3dac39501c98a6082fd0" + integrity sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@roberts_lando/vfs@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@roberts_lando/vfs/-/vfs-0.3.3.tgz#6359feed30e3773041279cb11be82ca60f4ff1f1" + integrity sha512-YjkxVSLw5WMZQoARaryRAjcxA+GbBzWMJdwYZX5oLUt9cC/gew9as4Dn7tcLzPp7BPoR221VpTZ+78TRPawnjg== + +"@so-ric/colorspace@^1.1.6": + version "1.1.6" + resolved "https://registry.yarnpkg.com/@so-ric/colorspace/-/colorspace-1.1.6.tgz#62515d8b9f27746b76950a83bde1af812d91923b" + integrity sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw== + dependencies: + color "^5.0.2" + text-hex "1.0.x" + "@tsconfig/node10@^1.0.7": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.11.tgz#6ee46400685f130e278128c7b38b7e031ff5b2f2" - integrity sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw== + version "1.0.13" + resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.13.tgz#56105a9a8c786e8f15e35746879cf2d52275485b" + integrity sha512-gcLdvR9HO1ZJBypsOGqaP6TFEzb6vIta0KSTLt9NAQ6pXQO3cRgSVyCN6pzYqI9DlJgY71XKO0dpDhCf08b3pg== "@tsconfig/node12@^1.0.7": version "1.0.11" @@ -136,11 +320,6 @@ "@types/express" "*" "@types/node" "*" -"@types/config@^3.3.5": - version "3.3.5" - resolved "https://registry.yarnpkg.com/@types/config/-/config-3.3.5.tgz#91f0a52b10212b9c4254fb0bbc4bedd77cd389b8" - integrity sha512-itq2HtXQBrNUKwMNZnb9mBRE3T99VYCdl1gjST9rq+9kFaB1iMMGuDeZnP88qid73DnpAMKH9ZolqDpS1Lz7+w== - "@types/connect-history-api-fallback@1.5.4": version "1.5.4" resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz#7de71645a103056b48ac3ce07b3520b819c1d5b3" @@ -157,59 +336,54 @@ "@types/node" "*" "@types/express-serve-static-core@*", "@types/express-serve-static-core@^5.0.0": - version "5.0.7" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-5.0.7.tgz#2fa94879c9d46b11a5df4c74ac75befd6b283de6" - integrity sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ== + version "5.1.3" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-5.1.3.tgz#9d34c88c0c9ee62b9a6e4d9f8ab8d7e29688e6b4" + integrity sha512-dPfW8NFiOF4wOHc7+N/QSxlY9cfSsenewGbAz8C8U/MULPd/YZ27LvJUIlzaXie7e6Ove9YunJGgC9tbHD2cKw== dependencies: "@types/node" "*" "@types/qs" "*" "@types/range-parser" "*" "@types/send" "*" -"@types/express@*", "@types/express@~5.0.3": - version "5.0.3" - resolved "https://registry.yarnpkg.com/@types/express/-/express-5.0.3.tgz#6c4bc6acddc2e2a587142e1d8be0bce20757e956" - integrity sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw== +"@types/express@*", "@types/express@~5.0.6": + version "5.0.6" + resolved "https://registry.yarnpkg.com/@types/express/-/express-5.0.6.tgz#2d724b2c990dcb8c8444063f3580a903f6d500cc" + integrity sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA== dependencies: "@types/body-parser" "*" "@types/express-serve-static-core" "^5.0.0" - "@types/serve-static" "*" + "@types/serve-static" "^2" "@types/http-errors@*": version "2.0.5" resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.5.tgz#5b749ab2b16ba113423feb1a64a95dcd30398472" integrity sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg== -"@types/http-proxy@^1.17.16": - version "1.17.16" - resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.16.tgz#dee360707b35b3cc85afcde89ffeebff7d7f9240" - integrity sha512-sdWoUajOB1cd0A8cRRQ1cfyWNbmFKLAqBB89Y8x5iYyG/mkJHc0YUH8pdWBy2omi9qtCpiIgGjuwO0dQST2l5w== +"@types/http-proxy@^1.17.17": + version "1.17.17" + resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.17.tgz#d9e2c4571fe3507343cb210cd41790375e59a533" + integrity sha512-ED6LB+Z1AVylNTu7hdzuBqOgMnvG/ld6wGCG8wFnAzKX5uyW2K3WD52v0gnLCTK/VLpXtKckgWuyScYK6cSPaw== dependencies: "@types/node" "*" -"@types/mime@^1": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" - integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== - "@types/node@*": - version "24.3.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-24.3.0.tgz#89b09f45cb9a8ee69466f18ee5864e4c3eb84dec" - integrity sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow== + version "26.6.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-26.6.5.tgz#cb35209e7767c503551b5fa42a48231c7441d979" + integrity sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg== dependencies: - undici-types "~7.10.0" + undici-types "~8.9.0" -"@types/node@~22.17.2": - version "22.17.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.17.2.tgz#47a93d6f4b79327da63af727e7c54e8cab8c4d33" - integrity sha512-gL6z5N9Jm9mhY+U2KXZpteb+09zyffliRkZyZOHODGATyC5B1Jt/7TzuuiLkFsSUMLbS1OLmlj/E+/3KF4Q/4w== +"@types/node@~22.20.5": + version "22.20.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.20.5.tgz#afa7bde6da81b8b83ea4e2f020487e9b148c11fd" + integrity sha512-U2+DNr+wSjpsTS/wZGYHq7GcwfuSmKiKvoPvK22zwTlRhU91yOniN4qRR5KhIjvif7ysw/dz/hKmfDH0Ris4aA== dependencies: undici-types "~6.21.0" "@types/qs@*": - version "6.14.0" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.14.0.tgz#d8b60cecf62f2db0fb68e5e006077b9178b85de5" - integrity sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ== + version "6.15.1" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.15.1.tgz#8606884272c63f0db96986bd3548650d8a9388bf" + integrity sha512-GZHUBZR9hckSUhrxmp1nG6NwdpM9fCunJwyThLW1X3AyHgd9IlHb6VANpQQqDr2o/qQp6McZ3y/IA2rVzKzSbw== "@types/range-parser@*": version "1.2.7" @@ -217,58 +391,59 @@ integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== "@types/send@*": - version "0.17.5" - resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.5.tgz#d991d4f2b16f2b1ef497131f00a9114290791e74" - integrity sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w== + version "1.2.1" + resolved "https://registry.yarnpkg.com/@types/send/-/send-1.2.1.tgz#6a784e45543c18c774c049bff6d3dbaf045c9c74" + integrity sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ== dependencies: - "@types/mime" "^1" "@types/node" "*" -"@types/serve-static@*": - version "1.15.8" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.8.tgz#8180c3fbe4a70e8f00b9f70b9ba7f08f35987877" - integrity sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg== +"@types/serve-static@^2": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-2.2.0.tgz#d4a447503ead0d1671132d1ab6bd58b805d8de6a" + integrity sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ== dependencies: "@types/http-errors" "*" "@types/node" "*" - "@types/send" "*" "@types/triple-beam@^1.3.2": version "1.3.5" resolved "https://registry.yarnpkg.com/@types/triple-beam/-/triple-beam-1.3.5.tgz#74fef9ffbaa198eb8b588be029f38b00299caa2c" integrity sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw== -"@yao-pkg/pkg-fetch@3.5.24": - version "3.5.24" - resolved "https://registry.yarnpkg.com/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.24.tgz#37a671f077fe6446aec0758e6fc7961d183c3445" - integrity sha512-FPESCH1uXCYui6jeDp2aayWuFHR39w+uU1r88nI6JWRvPYOU64cHPUV/p6GSFoQdpna7ip92HnrZKbBC60l0gA== +"@yao-pkg/pkg-fetch@3.6.7": + version "3.6.7" + resolved "https://registry.yarnpkg.com/@yao-pkg/pkg-fetch/-/pkg-fetch-3.6.7.tgz#5fb8a55031846ef105efeaf4beae0d4f4ed47540" + integrity sha512-uEeU5druVgHffruTAXzW6nf0wHfREWlCq5LBtQ4hCdLBDbwTteuym5NrxREur3EgNcqFRenEi6Rivwo723PkHg== dependencies: - https-proxy-agent "^5.0.0" - node-fetch "^2.6.6" picocolors "^1.1.0" progress "^2.0.3" semver "^7.3.5" - tar-fs "^2.1.1" + tar-fs "^3.1.1" + undici "^7.28.0" yargs "^16.2.0" -"@yao-pkg/pkg@^6.6.0": - version "6.6.0" - resolved "https://registry.yarnpkg.com/@yao-pkg/pkg/-/pkg-6.6.0.tgz#e8c38ed5824381c676e6688f93e27f39e1752701" - integrity sha512-3/oiaSm7fS0Fc7dzp22r9B7vFaguGhO9vERgEReRYj2EUzdi5ssyYhe1uYJG4ec/dmo2GG6RRHOUAT8savl79Q== +"@yao-pkg/pkg@^6.24.0": + version "6.24.0" + resolved "https://registry.yarnpkg.com/@yao-pkg/pkg/-/pkg-6.24.0.tgz#c556d2e98e8ac437ac7f08065accec8595a13b98" + integrity sha512-SMwFLic12noHLbqxhhQVClVX6YZlQtzwwez6dq7Xj64rXX6OFgZTTQbPgw4wgec5IoUN+6rCRKgyW/cnVPOwkA== dependencies: "@babel/generator" "^7.23.0" "@babel/parser" "^7.23.0" + "@babel/traverse" "^7.23.0" "@babel/types" "^7.23.0" - "@yao-pkg/pkg-fetch" "3.5.24" - into-stream "^6.0.0" - minimist "^1.2.6" + "@roberts_lando/vfs" "^0.3.3" + "@yao-pkg/pkg-fetch" "3.6.7" + esbuild "^0.28.1" + into-stream "^9.1.0" multistream "^4.1.0" picocolors "^1.1.0" picomatch "^4.0.2" + postject "^1.0.0-alpha.6" prebuild-install "^7.1.1" resolve "^1.22.10" + resolve.exports "^2.0.3" stream-meter "^1.0.4" - tar "^7.4.3" + tar "^7.5.7" tinyglobby "^0.2.11" unzipper "^0.12.3" @@ -281,23 +456,16 @@ accepts@^2.0.0: negotiator "^1.0.0" acorn-walk@^8.1.1: - version "8.3.4" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.4.tgz#794dd169c3977edf4ba4ea47583587c5866236b7" - integrity sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g== + version "8.3.5" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.5.tgz#8a6b8ca8fc5b34685af15dabb44118663c296496" + integrity sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw== dependencies: acorn "^8.11.0" acorn@^8.11.0, acorn@^8.4.1: - version "8.15.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.15.0.tgz#a360898bc415edaac46c8241f6383975b930b816" - integrity sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg== - -agent-base@6: - version "6.0.2" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" + version "8.19.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.19.0.tgz#6b26fd97ce1cc9dc50bdf7ad305e9f1384d4f28a" + integrity sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw== ansi-regex@^5.0.1: version "5.0.1" @@ -326,6 +494,48 @@ async@^3.2.3: resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== +b4a@^1.6.4, b4a@^1.8.1, b4a@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.9.0.tgz#6336313b6e76b299c397afa68676ec6ebc788845" + integrity sha512-dpfcF9fDNR6++cthXR67iyhgqWy9CBouAvIWhIntzBG6cvK/cnIPiZQjBwi/ZqjjBEDGfoNDtmB0kTjroOJ3pQ== + +bare-events@^2.5.4, bare-events@^2.7.0: + version "2.9.2" + resolved "https://registry.yarnpkg.com/bare-events/-/bare-events-2.9.2.tgz#01d377b64c3c7167b28b52da7add3221aecf2d7f" + integrity sha512-AIPKioV7/Y/8KfZ3AAhjPJxLLbY49S64Ym5DakZlUg75qQiTgUq9hEJoEwa4eUezPUlXRy/i5NpsKvo9jgKmoA== + +bare-fs@^4.0.1, bare-fs@^4.8.2: + version "4.8.4" + resolved "https://registry.yarnpkg.com/bare-fs/-/bare-fs-4.8.4.tgz#f342288e7e5d9d8e79917078e1f45950507828c5" + integrity sha512-MPC2eyrpbk3A873sK4y6rk+Iv4o2enxTjHZ8zH3HO0mjrpm5XjnguY2XmfidIsDV6vnjpbMBKUAJpV0ISD2SsQ== + dependencies: + bare-events "^2.5.4" + bare-path "^3.0.0" + bare-stream "^2.6.4" + bare-url "^2.2.2" + fast-fifo "^1.3.2" + +bare-path@^3.0.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/bare-path/-/bare-path-3.1.2.tgz#67261bc74a9ba0105ba139b8638f218c09e8d82e" + integrity sha512-ZyKbsuuqK6Ag0K8pX6V5Txq6XeJRvY+wXucnFGRjiyVYP9YWDpIQugk/b+enRYrEYBJaqLzghRQpXPMR7341Nw== + +bare-stream@^2.6.4: + version "2.13.4" + resolved "https://registry.yarnpkg.com/bare-stream/-/bare-stream-2.13.4.tgz#61d448a268d1efd992103aae6bd729332f278ac0" + integrity sha512-PcrQ8lVLbiJscNm1Kez+Yp4Gy4AHGcN1lzwjvf5NybWen7VvEgUfyfnXYJ2zNqWnzOfCb1Abq6lH8ti0syQszA== + dependencies: + b4a "^1.8.1" + streamx "^2.25.0" + teex "^1.0.1" + +bare-url@^2.2.2: + version "2.5.5" + resolved "https://registry.yarnpkg.com/bare-url/-/bare-url-2.5.5.tgz#2e8c18db11393aa6cae6ff246fdcda34615aacd3" + integrity sha512-iM9qJCruvpt2rPaLsrumVDru9pogI7PHziHIa9kTNRFt8C8HuSa+kI9kFezK+NvHEFnnz71rKGZ1EAilq/3V/Q== + dependencies: + bare-path "^3.0.0" + base64-js@^1.3.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" @@ -345,20 +555,20 @@ bluebird@~3.7.2: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -body-parser@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.2.0.tgz#f7a9656de305249a715b549b7b8fd1ab9dfddcfa" - integrity sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg== +body-parser@^2.3.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.4.0.tgz#337a76249270f83e450ad385a9606ca3b4a75c06" + integrity sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ== dependencies: bytes "^3.1.2" - content-type "^1.0.5" - debug "^4.4.0" - http-errors "^2.0.0" - iconv-lite "^0.6.3" + content-type "^2.1.0" + debug "^4.4.3" + http-errors "^2.0.1" + iconv-lite "^0.7.3" on-finished "^2.4.1" - qs "^6.14.0" - raw-body "^3.0.0" - type-is "^2.0.0" + qs "^6.16.1" + raw-body "^3.0.2" + type-is "^2.1.0" buffer@^5.5.0: version "5.7.1" @@ -368,7 +578,7 @@ buffer@^5.5.0: base64-js "^1.3.1" ieee754 "^1.1.13" -bytes@3.1.2, bytes@^3.1.2: +bytes@3.1.2, bytes@^3.1.2, bytes@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== @@ -408,13 +618,6 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -color-convert@^1.9.3: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - color-convert@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" @@ -422,39 +625,42 @@ color-convert@^2.0.1: dependencies: color-name "~1.1.4" -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== +color-convert@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-3.1.3.tgz#db6627b97181cb8facdfce755ae26f97ab0711f1" + integrity sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg== + dependencies: + color-name "^2.0.0" + +color-name@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-2.1.1.tgz#86c00ec98db36705be5bd4428097f13af1175a6d" + integrity sha512-p2FdgwVx1a9yWBHP2wI0VgShkDpgN4kZISkxdNipGBJWpa5G6b04OINlVWCyJj0JmfvcPrgqt95E9k8yvaOJFg== -color-name@^1.0.0, color-name@~1.1.4: +color-name@~1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -color-string@^1.6.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4" - integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg== +color-string@^2.1.3: + version "2.1.4" + resolved "https://registry.yarnpkg.com/color-string/-/color-string-2.1.4.tgz#9dcf566ff976e23368c8bd673f5c35103ab41058" + integrity sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg== dependencies: - color-name "^1.0.0" - simple-swizzle "^0.2.2" + color-name "^2.0.0" -color@^3.1.3: - version "3.2.1" - resolved "https://registry.yarnpkg.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" - integrity sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA== +color@^5.0.2: + version "5.0.3" + resolved "https://registry.yarnpkg.com/color/-/color-5.0.3.tgz#f79390b1b778e222ffbb54304d3dbeaef633f97f" + integrity sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA== dependencies: - color-convert "^1.9.3" - color-string "^1.6.0" + color-convert "^3.1.3" + color-string "^2.1.3" -colorspace@1.1.x: - version "1.1.4" - resolved "https://registry.yarnpkg.com/colorspace/-/colorspace-1.1.4.tgz#8d442d1186152f60453bf8070cd66eb364e59243" - integrity sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w== - dependencies: - color "^3.1.3" - text-hex "1.0.x" +commander@^9.4.0: + version "9.5.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-9.5.0.tgz#bc08d1eb5cedf7ccb797a96199d41c7bc3e60d30" + integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ== compressible@~2.0.18: version "2.0.18" @@ -477,29 +683,27 @@ compression@^1.8.2: safe-buffer "5.2.1" vary "~1.1.2" -config@^3.3.12: - version "3.3.12" - resolved "https://registry.yarnpkg.com/config/-/config-3.3.12.tgz#a10ae66efcc3e48c1879fbb657c86c4ef6c7b25e" - integrity sha512-Vmx389R/QVM3foxqBzXO8t2tUikYZP64Q6vQxGrsMpREeJc/aWRnPRERXWsYzOHAumx/AOoILWe6nU3ZJL+6Sw== +config@^4.4.2: + version "4.4.2" + resolved "https://registry.yarnpkg.com/config/-/config-4.4.2.tgz#adab67a87fcb5f84edcacb3f159ccdb31ad8b901" + integrity sha512-5HJD7TX70gOG2dAd72eDjDeSTYn6D8nOiKgysQQS8mRUo9X1wDtlzb1JlmIWkP+sM9zKRVdYJxmj+qmCsYu6DQ== dependencies: json5 "^2.2.3" -connect-history-api-fallback@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" - integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== +connect-history-api-fallback@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz#647264845251a0daf25b97ce87834cace0f5f1c8" + integrity sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA== -content-disposition@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-1.0.0.tgz#844426cb398f934caefcbb172200126bc7ceace2" - integrity sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg== - dependencies: - safe-buffer "5.2.1" +content-disposition@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-2.0.1.tgz#88a75c7a52ef9c407c96035fe83a66939c2a4dc9" + integrity sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog== -content-type@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" - integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== +content-type@^2.0.0, content-type@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-2.1.0.tgz#d9389c43c0a8cf6a355db464d21e07092a40493a" + integrity sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag== cookie-signature@^1.2.1: version "1.2.2" @@ -528,10 +732,10 @@ debug@2.6.9: dependencies: ms "2.0.0" -debug@4, debug@^4.3.5, debug@^4.4.0: - version "4.4.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" - integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== +debug@^4.3.1, debug@^4.4.0, debug@^4.4.3: + version "4.4.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a" + integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== dependencies: ms "^2.1.3" @@ -547,7 +751,7 @@ deep-extend@^0.6.0: resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== -depd@2.0.0, depd@^2.0.0: +depd@^2.0.0, depd@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== @@ -558,14 +762,14 @@ destroy@1.2.0: integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== detect-libc@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.4.tgz#f04715b8ba815e53b4d8109655b6508a6865a7e8" - integrity sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA== + version "2.1.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.1.2.tgz#689c5dcdc1900ef5583a4cb9f6d7b473742074ad" + integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ== diff@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" - integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + version "4.0.4" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.4.tgz#7a6dbfda325f25f07517e9b518f897c08332e07d" + integrity sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ== dunder-proto@^1.0.1: version "1.0.1" @@ -621,12 +825,44 @@ es-errors@^1.3.0: integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" - integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== + version "1.1.2" + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.2.tgz#a2d0b373205724dfa525d23b0c3e1b1ca582c99b" + integrity sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw== dependencies: es-errors "^1.3.0" +esbuild@^0.28.1: + version "0.28.2" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.28.2.tgz#0f43bd1bad955b72d24e2261e3abe5957ccf0816" + integrity sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA== + optionalDependencies: + "@esbuild/aix-ppc64" "0.28.2" + "@esbuild/android-arm" "0.28.2" + "@esbuild/android-arm64" "0.28.2" + "@esbuild/android-x64" "0.28.2" + "@esbuild/darwin-arm64" "0.28.2" + "@esbuild/darwin-x64" "0.28.2" + "@esbuild/freebsd-arm64" "0.28.2" + "@esbuild/freebsd-x64" "0.28.2" + "@esbuild/linux-arm" "0.28.2" + "@esbuild/linux-arm64" "0.28.2" + "@esbuild/linux-ia32" "0.28.2" + "@esbuild/linux-loong64" "0.28.2" + "@esbuild/linux-mips64el" "0.28.2" + "@esbuild/linux-ppc64" "0.28.2" + "@esbuild/linux-riscv64" "0.28.2" + "@esbuild/linux-s390x" "0.28.2" + "@esbuild/linux-x64" "0.28.2" + "@esbuild/netbsd-arm64" "0.28.2" + "@esbuild/netbsd-x64" "0.28.2" + "@esbuild/openbsd-arm64" "0.28.2" + "@esbuild/openbsd-x64" "0.28.2" + "@esbuild/openharmony-arm64" "0.28.2" + "@esbuild/sunos-x64" "0.28.2" + "@esbuild/win32-arm64" "0.28.2" + "@esbuild/win32-ia32" "0.28.2" + "@esbuild/win32-x64" "0.28.2" + escalade@^3.1.1: version "3.2.0" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" @@ -647,23 +883,31 @@ eventemitter3@^4.0.0: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== +events-universal@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/events-universal/-/events-universal-1.0.1.tgz#b56a84fd611b6610e0a2d0f09f80fdf931e2dfe6" + integrity sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw== + dependencies: + bare-events "^2.7.0" + expand-template@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c" integrity sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg== -express@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/express/-/express-5.1.0.tgz#d31beaf715a0016f0d53f47d3b4d7acf28c75cc9" - integrity sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA== +express@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/express/-/express-5.3.0.tgz#ab72dace89c50c8417bd3f865dad0b4fd1ca1c73" + integrity sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g== dependencies: accepts "^2.0.0" - body-parser "^2.2.0" - content-disposition "^1.0.0" - content-type "^1.0.5" + body-parser "^2.3.0" + content-disposition "^2.0.1" + content-type "^2.0.0" cookie "^0.7.1" cookie-signature "^1.2.1" debug "^4.4.0" + depd "^2.0.0" encodeurl "^2.0.0" escape-html "^1.0.3" etag "^1.8.1" @@ -675,17 +919,22 @@ express@^5.1.0: on-finished "^2.4.1" once "^1.4.0" parseurl "^1.3.3" - proxy-addr "^2.0.7" - qs "^6.14.0" + proxy-addr "^2.0.8" + qs "^6.16.0" range-parser "^1.2.1" router "^2.2.0" send "^1.1.0" serve-static "^2.2.0" statuses "^2.0.1" - type-is "^2.0.1" + type-is "^2.1.0" vary "^1.1.2" -fdir@^6.4.4: +fast-fifo@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.3.2.tgz#286e31de96eb96d38a97899815740ba2a4f3640c" + integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ== + +fdir@^6.5.0: version "6.5.0" resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350" integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg== @@ -703,9 +952,9 @@ file-stream-rotator@^0.6.1: moment "^2.29.1" finalhandler@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.0.tgz#72306373aa89d05a8242ed569ed86a1bff7c561f" - integrity sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q== + version "2.1.1" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.1.tgz#a2c517a6559852bcdb06d1f8bd7f51b68fad8099" + integrity sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA== dependencies: debug "^4.4.0" encodeurl "^2.0.0" @@ -734,20 +983,12 @@ fresh@^2.0.0: resolved "https://registry.yarnpkg.com/fresh/-/fresh-2.0.0.tgz#8dd7df6a1b3a1b3a5cf186c05a5dd267622635a4" integrity sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A== -from2@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g== - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@^11.2.0, fs-extra@^11.3.1: +fs-extra@11.3.1: version "11.3.1" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.1.tgz#ba7a1f97a85f94c6db2e52ff69570db3671d5a74" integrity sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g== @@ -756,6 +997,15 @@ fs-extra@^11.2.0, fs-extra@^11.3.1: jsonfile "^6.0.1" universalify "^2.0.0" +fs-extra@^11.4.1: + version "11.4.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.4.1.tgz#6a01ca80008eacf3ca1ffde5ef79088f68203a5a" + integrity sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + function-bind@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" @@ -810,23 +1060,23 @@ has-symbols@^1.1.0: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== -hasown@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" - integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== +hasown@^2.0.2, hasown@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.4.tgz#8c62d8cb90beb2aad5d0a5b67581ad9854c3f003" + integrity sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A== dependencies: function-bind "^1.1.2" -http-errors@2.0.0, http-errors@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" - integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== +http-errors@^2.0.0, http-errors@^2.0.1, http-errors@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.1.tgz#36d2f65bc909c8790018dd36fb4d93da6caae06b" + integrity sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ== dependencies: - depd "2.0.0" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses "2.0.1" - toidentifier "1.0.1" + depd "~2.0.0" + inherits "~2.0.4" + setprototypeof "~1.2.0" + statuses "~2.0.2" + toidentifier "~1.0.1" http-proxy@^1.18.1: version "1.18.1" @@ -837,23 +1087,10 @@ http-proxy@^1.18.1: follow-redirects "^1.0.0" requires-port "^1.0.0" -http@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/http/-/http-0.0.0.tgz#86e6326d29c5d039de9fac584a45689f929f4f72" - integrity sha512-epOGLlKUFT+yxfK9TqXRe7l6CbOk7mbLvzVqAyI05w0xIn+nXcYo0vR4ZBCVJYOyUglOFwtaIbD3d2TmG5ejJQ== - -https-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== - dependencies: - agent-base "6" - debug "4" - -iconv-lite@0.6.3, iconv-lite@^0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== +iconv-lite@^0.7.3, iconv-lite@~0.7.0: + version "0.7.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.7.3.tgz#84ee12f963e7de50bc01a13e160a078b3b0f415f" + integrity sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ== dependencies: safer-buffer ">= 2.1.2 < 3.0.0" @@ -862,7 +1099,7 @@ ieee754@^1.1.13: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: +inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3, inherits@~2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -872,30 +1109,22 @@ ini@~1.3.0: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -into-stream@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-6.0.0.tgz#4bfc1244c0128224e18b8870e85b2de8e66c6702" - integrity sha512-XHbaOAvP+uFKUFsOgoNPRjLkwB+I22JFPFe5OjTkQ0nwgj6+pSjb4NmB6VMxaPshLiOf+zcpOCBQuLwC1KHhZA== - dependencies: - from2 "^2.3.0" - p-is-promise "^3.0.0" +into-stream@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-9.1.0.tgz#3d49f8dc3aa44c9d5e6007cc07831388542a1326" + integrity sha512-DRsRnQrbzdFjaQ1oe4C6/EIUymIOEix1qROEJTF9dbMq+M4Zrm6VaLp6SD/B9IsiEjPZuBSnWWFN+udajugdWA== ipaddr.js@1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== -is-arrayish@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" - integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== - -is-core-module@^2.16.0: - version "2.16.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" - integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== +is-core-module@^2.17.0: + version "2.17.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.17.0.tgz#75c1c76236c9f7e38ddbfff292e127dc13b21027" + integrity sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA== dependencies: - hasown "^2.0.2" + hasown "^2.0.4" is-fullwidth-code-point@^3.0.0: version "3.0.0" @@ -917,7 +1146,12 @@ isarray@~1.0.0: resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== -js-yaml@^4.1.1: +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.3.2.tgz#8e44fb14a2643c59726bb15787b5f1512cb3d3fb" integrity sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA== @@ -935,9 +1169,9 @@ json5@^2.2.3: integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== jsonfile@^6.0.1: - version "6.2.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.2.0.tgz#7c265bd1b65de6977478300087c99f1c84383f62" - integrity sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg== + version "6.2.1" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.2.1.tgz#b6e31717f22cc37330b081ce0051ed5de53af2f6" + integrity sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q== dependencies: universalify "^2.0.0" optionalDependencies: @@ -971,9 +1205,9 @@ math-intrinsics@^1.1.0: integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== media-typer@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.0.tgz#6ab74b8f2d3320f2064b2a87a38e7931ff3a5561" - integrity sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw== + version "1.1.1" + resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.1.tgz#6f035400dfe3ab9d5607bc77546ce30cc2f9c6b8" + integrity sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ== merge-descriptors@^2.0.0: version "2.0.0" @@ -985,10 +1219,10 @@ merge-descriptors@^2.0.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5" integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ== -mime-types@^3.0.0, mime-types@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.1.tgz#b1d94d6997a9b32fd69ebaed0db73de8acb519ce" - integrity sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA== +mime-types@^3.0.0, mime-types@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.2.tgz#39002d4182575d5af036ffa118100f2524b2e2ab" + integrity sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A== dependencies: mime-db "^1.54.0" @@ -997,15 +1231,15 @@ mimic-response@^3.1.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== -minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.6: +minimist@^1.2.0, minimist@^1.2.3: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== minipass@^7.0.4, minipass@^7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" - integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== + version "7.1.3" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz#79389b4eb1bb2d003a9bba87d492f2bd37bdc65b" + integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A== minizlib@^3.1.0: version "3.1.0" @@ -1048,9 +1282,11 @@ napi-build-utils@^2.0.0: integrity sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA== negotiator@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.0.0.tgz#b6c91bb47172d69f93cfd7c357bbb529019b5f6a" - integrity sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg== + version "1.1.0" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.1.0.tgz#16e003d0db4ac24fd9df168edf871625deeae3df" + integrity sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg== + dependencies: + content-type "^2.1.0" negotiator@~0.6.4: version "0.6.4" @@ -1058,19 +1294,12 @@ negotiator@~0.6.4: integrity sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w== node-abi@^3.3.0: - version "3.75.0" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.75.0.tgz#2f929a91a90a0d02b325c43731314802357ed764" - integrity sha512-OhYaY5sDsIka7H7AtijtI9jwGYLyl29eQn/W623DiN/MIv5sUqc4g7BIDThX+gb7di9f6xK02nkp8sdfFWZLTg== + version "3.100.0" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.100.0.tgz#31aa9623841051d14f52415557e18101bc0de7ca" + integrity sha512-KNU/E0VW9T1ndOAEWNlWtxhoBSF7hqe+dMSrRPK6+PfyL2s2AcfwnXCAOke4DNXOsweivNT6/7eFHwkxWblZew== dependencies: semver "^7.3.5" -node-fetch@^2.6.6: - version "2.7.0" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" - integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== - dependencies: - whatwg-url "^5.0.0" - node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -1087,9 +1316,9 @@ object-inspect@^1.13.3, object-inspect@^1.13.4: integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== on-finished@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" - integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== + version "2.4.2" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.2.tgz#6932b04b95bf6a4828201db10af75fe5c9c38b73" + integrity sha512-ATWUv387i+nLD49EiDoOft5scf32Vsdz3ktrQJG9bi7jRFmaXTssvyvj1EmeKVVgvesbqUtvQQvaS2TpTukAZQ== dependencies: ee-first "1.1.1" @@ -1112,11 +1341,6 @@ one-time@^1.0.0: dependencies: fn.name "1.x.x" -p-is-promise@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-3.0.0.tgz#58e78c7dfe2e163cf2a04ff869e7c1dba64a5971" - integrity sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ== - parseurl@^1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" @@ -1128,19 +1352,26 @@ path-parse@^1.0.7: integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== path-to-regexp@^8.0.0: - version "8.4.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.4.0.tgz#8e98fcd94826aff01a90c544ef74ffbaca3a78ed" - integrity sha512-PuseHIvAnz3bjrM2rGJtSgo1zjgxapTLZ7x2pjhzWwlp4SJQgK3f3iZIQwkpEnBaKz6seKBADpM4B4ySkuYypg== + version "8.4.2" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.4.2.tgz#795c420c4f7ca45c5b887366f622ee0c9852cccd" + integrity sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA== -picocolors@^1.1.0: +picocolors@^1.1.0, picocolors@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== -picomatch@^4.0.2: - version "4.0.4" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" - integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== +picomatch@^4.0.2, picomatch@^4.0.4: + version "4.0.7" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.7.tgz#6313360034ccb36b3dc61ecbdff78121f90fe21f" + integrity sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA== + +postject@^1.0.0-alpha.6: + version "1.0.0-alpha.6" + resolved "https://registry.yarnpkg.com/postject/-/postject-1.0.0-alpha.6.tgz#9d022332272e2cfce8dea4cfce1ee6dd1b2ee135" + integrity sha512-b9Eb8h2eVqNE8edvKdwqkrY6O7kAwmI8kcnBv1NScolYJbo59XUF0noFq+lxbC1yN20bmC0WBEbDC5H/7ASb0A== + dependencies: + commander "^9.4.0" prebuild-install@^7.1.1: version "7.1.3" @@ -1170,7 +1401,7 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -proxy-addr@^2.0.7: +proxy-addr@^2.0.8: version "2.0.8" resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.8.tgz#624e760fd8ab06b1b8320c2f8506d4422cf8e932" integrity sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ== @@ -1179,14 +1410,14 @@ proxy-addr@^2.0.7: ipaddr.js "1.9.1" pump@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.3.tgz#151d979f1a29668dc0025ec589a455b53282268d" - integrity sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA== + version "3.0.4" + resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.4.tgz#1f313430527fa8b905622ebd22fe1444e757ab3c" + integrity sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA== dependencies: end-of-stream "^1.1.0" once "^1.3.1" -qs@^6.14.0: +qs@^6.16.0, qs@^6.16.1: version "6.16.1" resolved "https://registry.yarnpkg.com/qs/-/qs-6.16.1.tgz#0643e17993e551759c85078e1f0bc4b9fe908020" integrity sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg== @@ -1195,19 +1426,19 @@ qs@^6.14.0: side-channel "^1.1.1" range-parser@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== + version "1.3.0" + resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.3.0.tgz#d7f19be812bb62721472b45d3be219ef09572b47" + integrity sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw== -raw-body@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.0.tgz#25b3476f07a51600619dae3fe82ddc28a36e5e0f" - integrity sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g== +raw-body@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.2.tgz#3e3ada5ae5568f9095d84376fd3a49b8fb000a51" + integrity sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA== dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.6.3" - unpipe "1.0.0" + bytes "~3.1.2" + http-errors "~2.0.1" + iconv-lite "~0.7.0" + unpipe "~1.0.0" rc@^1.2.7: version "1.2.8" @@ -1219,7 +1450,7 @@ rc@^1.2.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.1.4: +readable-stream@^2.0.2, readable-stream@^2.1.4: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== @@ -1251,12 +1482,18 @@ requires-port@^1.0.0: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== +resolve.exports@^2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.4.tgz#49921cfd9cd266053a9699e3f43c8bcbdf964331" + integrity sha512-zepuGL0ulf+nt+XaFrlKeaiTJeyPFPLLY62+ncq1/VTHBdt3HsfXOH60priZ6tnXQozdGcDeIF5JVTanvIcYWQ== + resolve@^1.22.10: - version "1.22.10" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" - integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== + version "1.22.13" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.13.tgz#d542f97758d768f36091251a6b07540b4343f7b5" + integrity sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA== dependencies: - is-core-module "^2.16.0" + es-errors "^1.3.0" + is-core-module "^2.17.0" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" @@ -1292,38 +1529,38 @@ safe-stable-stringify@^2.3.1: integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== semver@^7.3.5: - version "7.7.2" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" - integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== + version "7.8.5" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.8.5.tgz#39b646037dd50c14fb451e7e4cac58ed8b863f69" + integrity sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA== send@^1.1.0, send@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/send/-/send-1.2.0.tgz#32a7554fb777b831dfa828370f773a3808d37212" - integrity sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw== + version "1.2.1" + resolved "https://registry.yarnpkg.com/send/-/send-1.2.1.tgz#9eab743b874f3550f40a26867bf286ad60d3f3ed" + integrity sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ== dependencies: - debug "^4.3.5" + debug "^4.4.3" encodeurl "^2.0.0" escape-html "^1.0.3" etag "^1.8.1" fresh "^2.0.0" - http-errors "^2.0.0" - mime-types "^3.0.1" + http-errors "^2.0.1" + mime-types "^3.0.2" ms "^2.1.3" on-finished "^2.4.1" range-parser "^1.2.1" - statuses "^2.0.1" + statuses "^2.0.2" serve-static@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.2.0.tgz#9c02564ee259bdd2251b82d659a2e7e1938d66f9" - integrity sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ== + version "2.2.1" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.2.1.tgz#7f186a4a4e5f5b663ad7a4294ff1bf37cf0e98a9" + integrity sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw== dependencies: encodeurl "^2.0.0" escape-html "^1.0.3" parseurl "^1.3.3" send "^1.2.0" -setprototypeof@1.2.0: +setprototypeof@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== @@ -1382,24 +1619,12 @@ simple-get@^4.0.0: once "^1.3.1" simple-concat "^1.0.0" -simple-swizzle@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" - integrity sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg== - dependencies: - is-arrayish "^0.3.1" - stack-trace@0.0.x: version "0.0.10" resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" integrity sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg== -statuses@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" - integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== - -statuses@^2.0.1: +statuses@^2.0.1, statuses@^2.0.2, statuses@~2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.2.tgz#8f75eecef765b5e1cfcdc080da59409ed424e382" integrity sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw== @@ -1411,6 +1636,15 @@ stream-meter@^1.0.4: dependencies: readable-stream "^2.1.4" +streamx@^2.12.5, streamx@^2.25.0, streamx@^2.28.1: + version "2.28.1" + resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.28.1.tgz#376cd42a089505a69bec0efdb5189aa45586141f" + integrity sha512-zEzXb0s5Cds7tqMH6rhZ05lcJydCWiQPEwiNngVqzsxCc962vLY4Uw+mW7od8kDH258k2Uz/JrOkdIAAhSh9VA== + dependencies: + events-universal "^1.0.0" + fast-fifo "^1.3.2" + text-decoder "^1.1.0" + string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -1451,16 +1685,27 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -tar-fs@^2.0.0, tar-fs@^2.1.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.4.tgz#800824dbf4ef06ded9afea4acafe71c67c76b930" - integrity sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ== +tar-fs@^2.0.0: + version "2.1.5" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.5.tgz#33e9c29413dce0c58ada7ff77db4e5a30afffe70" + integrity sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw== dependencies: chownr "^1.1.1" mkdirp-classic "^0.5.2" pump "^3.0.0" tar-stream "^2.1.4" +tar-fs@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-3.1.3.tgz#05668cc68a30741c3813f9c16593b8dec7dcbcd1" + integrity sha512-/hU4AXnIdZu+Gvl1pk0oI5f5HxWsCJRtY2aFaJdk9VvyL48DWU6iU5WAIPG+wIi1YvWA6eTJvIviP/tMAZZNwQ== + dependencies: + pump "^3.0.0" + tar-stream "^3.1.5" + optionalDependencies: + bare-fs "^4.0.1" + bare-path "^3.0.0" + tar-stream@^2.1.4: version "2.2.0" resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" @@ -1472,7 +1717,17 @@ tar-stream@^2.1.4: inherits "^2.0.3" readable-stream "^3.1.1" -tar@>=7.5.8, tar@^7.4.3: +tar-stream@^3.1.5: + version "3.2.2" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-3.2.2.tgz#aec7f257e712192a177a93aa0450c2e76855c8be" + integrity sha512-+8NeqHRjQWH9nYlwo2gamAMImZCVzI4UoEgDpWorBt9OEfppiZn+uSkskzQKPWIZyji/C8fpWO7u69G0DX0tbg== + dependencies: + b4a "^1.9.0" + bare-fs "^4.8.2" + fast-fifo "^1.3.2" + streamx "^2.28.1" + +tar@^7.5.7: version "7.5.22" resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9" integrity sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA== @@ -1483,29 +1738,38 @@ tar@>=7.5.8, tar@^7.4.3: minizlib "^3.1.0" yallist "^5.0.0" +teex@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/teex/-/teex-1.0.1.tgz#b8fa7245ef8e8effa8078281946c85ab780a0b12" + integrity sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg== + dependencies: + streamx "^2.12.5" + +text-decoder@^1.1.0: + version "1.2.7" + resolved "https://registry.yarnpkg.com/text-decoder/-/text-decoder-1.2.7.tgz#5d073a9a74b9c0a9d28dfadcab96b604af57d8ba" + integrity sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ== + dependencies: + b4a "^1.6.4" + text-hex@1.0.x: version "1.0.0" resolved "https://registry.yarnpkg.com/text-hex/-/text-hex-1.0.0.tgz#69dc9c1b17446ee79a92bf5b884bb4b9127506f5" integrity sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg== tinyglobby@^0.2.11: - version "0.2.14" - resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.14.tgz#5280b0cf3f972b050e74ae88406c0a6a58f4079d" - integrity sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ== + version "0.2.17" + resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.17.tgz#562a9a6c9eb2b3b123d39719f9af5bb44fcd7631" + integrity sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g== dependencies: - fdir "^6.4.4" - picomatch "^4.0.2" + fdir "^6.5.0" + picomatch "^4.0.4" -toidentifier@1.0.1: +toidentifier@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== - triple-beam@^1.3.0, triple-beam@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.4.1.tgz#6fde70271dc6e5d73ca0c3b24e2d92afb7441984" @@ -1537,12 +1801,12 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" -type-is@^2.0.0, type-is@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.0.1.tgz#64f6cf03f92fce4015c2b224793f6bdd4b068c97" - integrity sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw== +type-is@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.1.0.tgz#71d1a7053293582e16ac9f3ebaf1ab9aa49e5570" + integrity sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA== dependencies: - content-type "^1.0.5" + content-type "^2.0.0" media-typer "^1.1.0" mime-types "^3.0.0" @@ -1556,29 +1820,34 @@ undici-types@~6.21.0: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== -undici-types@~7.10.0: - version "7.10.0" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.10.0.tgz#4ac2e058ce56b462b056e629cc6a02393d3ff350" - integrity sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag== +undici-types@~8.9.0: + version "8.9.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-8.9.0.tgz#e240d97c8b5d85e5347ce73d25865c7906c1ec9f" + integrity sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg== + +undici@^7.28.0: + version "7.30.1" + resolved "https://registry.yarnpkg.com/undici/-/undici-7.30.1.tgz#360b3de104b94abc52729aa1a4a07e027aa71f73" + integrity sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg== universalify@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== -unpipe@1.0.0: +unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== unzipper@^0.12.3: - version "0.12.3" - resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.12.3.tgz#31958f5eed7368ed8f57deae547e5a673e984f87" - integrity sha512-PZ8hTS+AqcGxsaQntl3IRBw65QrBI6lxzqDEL7IAo/XCEqRTKGfOX56Vea5TH9SZczRVxuzk1re04z/YjuYCJA== + version "0.12.5" + resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.12.5.tgz#7fc6b4862f3832202d1f5cc3adbee2679deaaf6c" + integrity sha512-tXYOi9R57Uj/2Z25SOs5RRSzq886MBQj2gY8dPL+xl/kv6s6SvByoKfAtvfVeEuhntWDgjd2o9p2lb4TVPAz0A== dependencies: bluebird "~3.7.2" duplexer2 "~0.1.4" - fs-extra "^11.2.0" + fs-extra "11.3.1" graceful-fs "^4.2.2" node-int64 "^0.4.0" @@ -1597,19 +1866,6 @@ vary@^1.1.2, vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - winston-daily-rotate-file@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/winston-daily-rotate-file/-/winston-daily-rotate-file-5.0.0.tgz#8cd94800025490e47c00ec892b655a5821f4266d" @@ -1629,13 +1885,13 @@ winston-transport@^4.7.0, winston-transport@^4.9.0: readable-stream "^3.6.2" triple-beam "^1.3.0" -winston@^3.17.0: - version "3.17.0" - resolved "https://registry.yarnpkg.com/winston/-/winston-3.17.0.tgz#74b8665ce9b4ea7b29d0922cfccf852a08a11423" - integrity sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw== +winston@^3.19.0: + version "3.19.0" + resolved "https://registry.yarnpkg.com/winston/-/winston-3.19.0.tgz#cc1d1262f5f45946904085cfffe73efb4b7a581d" + integrity sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA== dependencies: "@colors/colors" "^1.6.0" - "@dabh/diagnostics" "^2.0.2" + "@dabh/diagnostics" "^2.0.8" async "^3.2.3" is-stream "^2.0.0" logform "^2.7.0" @@ -1676,9 +1932,9 @@ yargs-parser@^20.2.2: integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + version "16.2.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.2.tgz#c56731dca0d2788ae0866dd3c83907d6bab85f7d" + integrity sha512-Nt9ZJjXTv5R8MHbqby/wXQ6Gi0Bb3TcYZkR1bzuL4yB2OxWPkXknz513gEF0GoA6tn00UpbPvERW8rzCuWCA6w== dependencies: cliui "^7.0.2" escalade "^3.1.1" From b602bb38b010e66d942dd8a91352b314431df00c Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 23 Oct 2026 14:38:50 +0200 Subject: [PATCH 268/559] Make edge inactive write atomic with same-node reconnect --- .../service/edge/rpc/EdgeGrpcService.java | 25 +++++++++++-------- .../service/edge/rpc/EdgeGrpcServiceTest.java | 25 +++++++++++++++++++ 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java index ba80a4cf2b..b4919f2298 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java @@ -550,18 +550,11 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i log.info("[{}][{}] edge disconnected!", edgeId, sessionId); EdgeGrpcSession toRemove = detachSession(edgeId, current -> current.getSessionId().equals(sessionId)); if (toRemove != null) { - // sessionNewEvents is deliberately left as is: clearing it here could wipe the flag a - // reconnecting session has just set, and updateSessionEventsFlag only lifts FALSE, not a - // missing entry, which would leave the check loop idle forever. deleteEdge still clears it sessionsById.remove(sessionId); TenantId tenantId = toRemove.getEdge().getTenantId(); - // A newer session may already own the edge, on this node or on another live one. In that case the edge - // is connected, so skip all disconnect side effects: active=false, lastDisconnectTime, DISCONNECT_EVENT - // (its payload can write active=false back via Save Attributes) and the disconnect notification. - // Unknown ownership (no cache entry) still counts as disconnected. The local map is read last, after - // the cache round-trip, to see a same-node replacement as late as possible. - if (!isOwnedByAnotherNode(edgeId) && !sessions.containsKey(edgeId)) { - save(tenantId, edgeId, ACTIVITY_STATE, false); + // Skip all disconnect side effects if a newer session already owns the edge, on this or another node. + // The local check and the inactive write are atomic with attachSession. + if (!isOwnedByAnotherNode(edgeId) && markInactiveIfNoSession(tenantId, edgeId)) { long lastDisconnectTs = System.currentTimeMillis(); save(tenantId, edgeId, LAST_DISCONNECT_TIME, lastDisconnectTs); pushStateEventToRuleEngine(tenantId, edge, lastDisconnectTs, TbMsgType.DISCONNECT_EVENT); @@ -610,6 +603,18 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i return replaced.get(); } + private boolean markInactiveIfNoSession(TenantId tenantId, EdgeId edgeId) { + AtomicBoolean marked = new AtomicBoolean(); + sessions.compute(edgeId, (id, current) -> { + if (current == null) { + save(tenantId, edgeId, ACTIVITY_STATE, false); + marked.set(true); + } + return current; + }); + return marked.get(); + } + private EdgeGrpcSession detachSession(EdgeId edgeId) { return detachSession(edgeId, s -> true); } diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java index ab89068f24..7089ac0a92 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcServiceTest.java @@ -34,6 +34,7 @@ import java.util.Set; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicBoolean; import java.util.UUID; import java.util.concurrent.ConcurrentMap; @@ -252,6 +253,30 @@ public class EdgeGrpcServiceTest { verify(edgeIdServiceIdCache, never()).evict(edgeId); } + @Test + public void givenReconnectDuringInactiveWrite_whenDisconnect_thenAttachWaitsForTheWrite() throws Exception { + // a same-node reconnect racing the guard must be ordered after the inactive write, so its active=true wins + UUID sessionId = UUID.randomUUID(); + sessions().put(edgeId, sessionFor(sessionId)); + when(edgeIdServiceIdCache.get(edgeId)).thenReturn(null); + EdgeGrpcSession replacement = mock(EdgeGrpcSession.class); + Thread attach = new Thread(() -> ReflectionTestUtils.invokeMethod(edgeGrpcService, "attachSession", edgeId, replacement)); + AtomicBoolean attachBlockedDuringWrite = new AtomicBoolean(); + lenient().doAnswer(invocation -> { + attach.start(); + attach.join(200); + attachBlockedDuringWrite.set(attach.isAlive()); + return null; + }).when(tsSubService).saveAttributes(argThat(inactiveStateWrite())); + + onEdgeDisconnect(sessionId); + attach.join(5000); + + assertThat(attachBlockedDuringWrite).isTrue(); + assertThat(sessions()).containsEntry(edgeId, replacement); + verify(tsSubService, times(1)).saveAttributes(argThat(lastDisconnectTimeWrite())); + } + @Test public void givenEdgeReconnectedToAnotherNode_whenDisconnect_thenDisconnectEventNotPushed() { // DISCONNECT_EVENT carries active=false, a Save Attributes node would write it back From d7fcabf372c06273aa4316e26863a8ff267a0cd7 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 23 Oct 2026 14:42:04 +0200 Subject: [PATCH 269/559] Do not clear edge activity state when a newer session owns the edge --- .../edge/rpc/service/EdgeGrpcService.java | 35 ++- .../edge/rpc/session/EdgeSessionsHolder.java | 17 ++ .../edge/rpc/service/EdgeGrpcServiceTest.java | 225 ++++++++++++++++++ .../rpc/session/EdgeSessionsHolderTest.java | 39 +++ 4 files changed, 310 insertions(+), 6 deletions(-) create mode 100644 application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java index ff4d3c95fb..bfbdf5193f 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java @@ -39,9 +39,11 @@ import org.thingsboard.server.common.msg.edge.EdgeHighPriorityMsg; import org.thingsboard.server.common.msg.edge.EdgeSessionMsg; import org.thingsboard.server.common.msg.edge.FromEdgeSyncResponse; import org.thingsboard.server.common.msg.edge.ToEdgeSyncRequest; +import org.thingsboard.server.common.msg.queue.ServiceType; import org.thingsboard.server.gen.edge.v1.EdgeRpcServiceGrpc; import org.thingsboard.server.gen.edge.v1.RequestMsg; import org.thingsboard.server.gen.edge.v1.ResponseMsg; +import org.thingsboard.server.queue.discovery.PartitionService; import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.EdgeContextComponent; @@ -94,6 +96,7 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i private final TbServiceInfoProvider serviceInfoProvider; private final TelemetrySubscriptionService tsSubService; private final TbTransactionalCache edgeIdServiceIdCache; + private final PartitionService partitionService; private final ConcurrentMap pendingDisconnectNotifications = new ConcurrentHashMap<>(); private final ConcurrentMap> localSyncEdgeRequests = new ConcurrentHashMap<>(); @@ -208,10 +211,12 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i } } sessions.put(edgeSession); + // Claim ownership before active=true: the previous node reads this entry on disconnect to decide + // whether to clear the flag. + edgeIdServiceIdCache.put(edgeId, serviceInfoProvider.getServiceId()); save(tenantId, edgeId, ACTIVITY_STATE, true); long lastConnectTs = System.currentTimeMillis(); save(tenantId, edgeId, LAST_CONNECT_TIME, lastConnectTs); - edgeIdServiceIdCache.put(edgeId, serviceInfoProvider.getServiceId()); // If the edge reconnected within the disconnect-notification delay window, suppress the pending // "disconnected" notification - the drop was transient (debounce for flapping edges). cancelPendingDisconnectNotification(edgeId); @@ -228,11 +233,14 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i EdgeGrpcSessionManager toRemove = sessions.removeByEdgeIdIfCurrent(edgeId, sessionId); if (toRemove != null) { sessions.removeBySessionId(sessionId); - save(tenantId, edgeId, ACTIVITY_STATE, false); - long lastDisconnectTs = System.currentTimeMillis(); - save(tenantId, edgeId, LAST_DISCONNECT_TIME, lastDisconnectTs); - pushRuleEngineMessage(tenantId, edge, lastDisconnectTs, TbMsgType.DISCONNECT_EVENT); - scheduleDisconnectNotification(edge); + // Skip all disconnect side effects if a newer session already owns the edge, on this or another node. + // The local check and the inactive write are atomic with a same-node reconnect. + if (!isOwnedByAnotherNode(edgeId) && sessions.runIfNoSession(edgeId, () -> save(tenantId, edgeId, ACTIVITY_STATE, false))) { + long lastDisconnectTs = System.currentTimeMillis(); + save(tenantId, edgeId, LAST_DISCONNECT_TIME, lastDisconnectTs); + pushRuleEngineMessage(tenantId, edge, lastDisconnectTs, TbMsgType.DISCONNECT_EVENT); + scheduleDisconnectNotification(edge); + } toRemove.onEdgeDisconnect(); // keep the slow teardown last, after the state transition is fully recorded toRemove.destroyAndMarkAsZombieIfFailed(); @@ -427,6 +435,21 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i return wrapper != null && serviceInfoProvider.getServiceId().equals(wrapper.get()); } + // The edge's cache entry names another node that is still a live TB-Core service. No entry, or an entry naming + // a node that has left the cluster, does not count: the cache has no TTL by default and only the owner evicts it, + // so honouring a dead owner would keep the edge marked active forever. + private boolean isOwnedByAnotherNode(EdgeId edgeId) { + TbCacheValueWrapper wrapper = edgeIdServiceIdCache.get(edgeId); + if (wrapper == null) { + return false; + } + String ownerServiceId = wrapper.get(); + if (ownerServiceId == null || serviceInfoProvider.getServiceId().equals(ownerServiceId)) { + return false; + } + return partitionService.getAllServiceIds(ServiceType.TB_CORE).contains(ownerServiceId); + } + // The edge has a live owner somewhere in the cluster (the cache is cluster-wide), regardless of which node. private boolean isConnectedClusterWide(EdgeId edgeId) { return edgeIdServiceIdCache.get(edgeId) != null; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java index 8b7e34f1a6..79b80bacf5 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java @@ -16,6 +16,7 @@ import java.util.Set; import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; +import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Consumer; @@ -88,6 +89,22 @@ public class EdgeSessionsHolder { return removed.get(); } + /** + * Runs the action only if no session is registered for the edge, as one atomic step with {@link #put}. + * Returns whether it ran. The action holds the bin lock of {@link #sessions}, so it must be cheap and non-blocking. + */ + public boolean runIfNoSession(EdgeId id, Runnable action) { + AtomicBoolean ran = new AtomicBoolean(); + sessions.compute(id, (edgeId, current) -> { + if (current == null) { + action.run(); + ran.set(true); + } + return current; + }); + return ran.get(); + } + public EdgeGrpcSessionManager removeBySessionId(UUID sessionId) { return sessionsById.remove(sessionId); } diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java new file mode 100644 index 0000000000..201034bca9 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java @@ -0,0 +1,225 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.edge.rpc.service; + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.ArgumentMatcher; +import org.mockito.InOrder; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.springframework.context.ApplicationContext; +import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.rule.engine.api.AttributesSaveRequest; +import org.thingsboard.server.cache.SimpleTbCacheValueWrapper; +import org.thingsboard.server.cache.TbTransactionalCache; +import org.thingsboard.server.cluster.TbClusterService; +import org.thingsboard.server.common.data.edge.Edge; +import org.thingsboard.server.common.data.id.EdgeId; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.notification.rule.trigger.EdgeConnectionTrigger; +import org.thingsboard.server.common.data.notification.rule.trigger.NotificationRuleTrigger; +import org.thingsboard.server.common.msg.TbMsg; +import org.thingsboard.server.common.msg.notification.NotificationRuleProcessor; +import org.thingsboard.server.common.msg.queue.ServiceType; +import org.thingsboard.server.queue.discovery.PartitionService; +import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; +import org.thingsboard.server.service.edge.EdgeContextComponent; +import org.thingsboard.server.service.edge.rpc.EdgeSessionState; +import org.thingsboard.server.service.edge.rpc.session.EdgeSessionsHolder; +import org.thingsboard.server.service.edge.rpc.session.manager.EdgeGrpcSessionManager; +import org.thingsboard.server.service.telemetry.TelemetrySubscriptionService; + +import java.util.Set; +import java.util.UUID; +import java.util.concurrent.atomic.AtomicBoolean; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.argThat; +import static org.mockito.ArgumentMatchers.isNull; +import static org.mockito.Mockito.inOrder; +import static org.mockito.Mockito.lenient; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.times; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; +import static org.thingsboard.server.service.state.DefaultDeviceStateService.ACTIVITY_STATE; +import static org.thingsboard.server.service.state.DefaultDeviceStateService.LAST_DISCONNECT_TIME; + +@ExtendWith(MockitoExtension.class) +class EdgeGrpcServiceTest { + + private static final String THIS_NODE = "tb-core-1"; + private static final String OTHER_NODE = "tb-core-2"; + + @Mock + private ApplicationContext applicationContext; + @Mock + private TbClusterService clusterService; + @Mock + private TbServiceInfoProvider serviceInfoProvider; + @Mock + private TelemetrySubscriptionService tsSubService; + @Mock + private TbTransactionalCache edgeIdServiceIdCache; + @Mock + private PartitionService partitionService; + @Mock + private EdgeContextComponent ctx; + @Mock + private NotificationRuleProcessor ruleProcessor; + + private EdgeSessionsHolder sessions; + private EdgeGrpcService edgeGrpcService; + private Edge edge; + private EdgeId edgeId; + + @BeforeEach + void setUp() { + sessions = new EdgeSessionsHolder(); + edgeGrpcService = new EdgeGrpcService(sessions, applicationContext, clusterService, serviceInfoProvider, + tsSubService, edgeIdServiceIdCache, partitionService); + ReflectionTestUtils.setField(edgeGrpcService, "ctx", ctx); + edgeId = new EdgeId(UUID.randomUUID()); + edge = new Edge(edgeId); + edge.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + edge.setName("test-edge"); + lenient().when(ctx.getRuleProcessor()).thenReturn(ruleProcessor); + } + + @Test + void givenNoCacheEntry_whenDisconnect_thenAllDisconnectSideEffectsRun() { + EdgeGrpcSessionManager session = registerSession(); + when(edgeIdServiceIdCache.get(edgeId)).thenReturn(null); + + onEdgeDisconnect(session); + + verify(tsSubService, times(1)).saveAttributes(argThat(activeStateWrite(false))); + verify(tsSubService, times(1)).saveAttributes(argThat(lastDisconnectTimeWrite())); + verify(clusterService, times(1)).pushMsgToRuleEngine(any(TenantId.class), any(EntityId.class), any(TbMsg.class), isNull()); + verify(ruleProcessor, times(1)).process(argThat(disconnectTrigger())); + } + + @Test + void givenEdgeOwnedByAnotherLiveNode_whenDisconnect_thenNoDisconnectSideEffects() { + EdgeGrpcSessionManager session = registerSession(); + when(serviceInfoProvider.getServiceId()).thenReturn(THIS_NODE); + when(edgeIdServiceIdCache.get(edgeId)).thenReturn(SimpleTbCacheValueWrapper.wrap(OTHER_NODE)); + when(partitionService.getAllServiceIds(ServiceType.TB_CORE)).thenReturn(Set.of(THIS_NODE, OTHER_NODE)); + + onEdgeDisconnect(session); + + verifyNoDisconnectSideEffects(); + } + + @Test + void givenOwnerNodeLeftCluster_whenDisconnect_thenInactiveStateIsPersisted() { + // the cache has no TTL by default, so a dead owner's claim must not keep the edge active forever + EdgeGrpcSessionManager session = registerSession(); + when(serviceInfoProvider.getServiceId()).thenReturn(THIS_NODE); + when(edgeIdServiceIdCache.get(edgeId)).thenReturn(SimpleTbCacheValueWrapper.wrap(OTHER_NODE)); + when(partitionService.getAllServiceIds(ServiceType.TB_CORE)).thenReturn(Set.of(THIS_NODE)); + + onEdgeDisconnect(session); + + verify(tsSubService, times(1)).saveAttributes(argThat(activeStateWrite(false))); + } + + @Test + void givenSameNodeReconnectDuringOwnershipCheck_whenDisconnect_thenNoDisconnectSideEffects() { + // the edge reconnects to this node after the stale session was removed, so the cache names this node + EdgeGrpcSessionManager session = registerSession(); + when(serviceInfoProvider.getServiceId()).thenReturn(THIS_NODE); + when(edgeIdServiceIdCache.get(edgeId)).thenAnswer(invocation -> { + sessions.put(newSession()); + return SimpleTbCacheValueWrapper.wrap(THIS_NODE); + }); + + onEdgeDisconnect(session); + + verifyNoDisconnectSideEffects(); + } + + @Test + void givenReconnectDuringInactiveWrite_whenDisconnect_thenReconnectWaitsForTheWrite() throws Exception { + // a same-node reconnect racing the guard must be ordered after the inactive write, so its active=true wins + EdgeGrpcSessionManager session = registerSession(); + when(edgeIdServiceIdCache.get(edgeId)).thenReturn(null); + EdgeGrpcSessionManager replacement = newSession(); + Thread reconnect = new Thread(() -> sessions.put(replacement)); + AtomicBoolean reconnectBlockedDuringWrite = new AtomicBoolean(); + lenient().doAnswer(invocation -> { + reconnect.start(); + reconnect.join(200); + reconnectBlockedDuringWrite.set(reconnect.isAlive()); + return null; + }).when(tsSubService).saveAttributes(argThat(activeStateWrite(false))); + + onEdgeDisconnect(session); + reconnect.join(5000); + + assertThat(reconnectBlockedDuringWrite).isTrue(); + assertThat(sessions.getByEdgeId(edgeId)).isSameAs(replacement); + } + + @Test + void givenConnect_whenClaimingOwnership_thenCachePutHappensBeforeActiveStateWrite() { + // the previous node reads this cache entry on disconnect, so the claim must be visible before active=true + EdgeGrpcSessionManager session = newSession(); + when(serviceInfoProvider.getServiceId()).thenReturn(THIS_NODE); + + ReflectionTestUtils.invokeMethod(edgeGrpcService, "onEdgeConnect", edgeId, session); + + InOrder inOrder = inOrder(edgeIdServiceIdCache, tsSubService); + inOrder.verify(edgeIdServiceIdCache).put(edgeId, THIS_NODE); + inOrder.verify(tsSubService).saveAttributes(argThat(activeStateWrite(true))); + } + + private void verifyNoDisconnectSideEffects() { + verify(tsSubService, never()).saveAttributes(argThat(activeStateWrite(false))); + verify(tsSubService, never()).saveAttributes(argThat(lastDisconnectTimeWrite())); + verify(clusterService, never()).pushMsgToRuleEngine(any(TenantId.class), any(EntityId.class), any(TbMsg.class), isNull()); + verify(ruleProcessor, never()).process(argThat(disconnectTrigger())); + } + + private void onEdgeDisconnect(EdgeGrpcSessionManager session) { + ReflectionTestUtils.invokeMethod(edgeGrpcService, "onEdgeDisconnect", edge, session.getState().getSessionId()); + } + + private EdgeGrpcSessionManager registerSession() { + EdgeGrpcSessionManager session = newSession(); + sessions.put(session); + return session; + } + + private EdgeGrpcSessionManager newSession() { + EdgeSessionState state = new EdgeSessionState(); + state.setEdge(edge); + EdgeGrpcSessionManager session = mock(EdgeGrpcSessionManager.class); + lenient().when(session.getState()).thenReturn(state); + return session; + } + + private ArgumentMatcher activeStateWrite(boolean active) { + return request -> request != null + && edgeId.equals(request.getEntityId()) + && request.getEntries().stream().anyMatch(entry -> + ACTIVITY_STATE.equals(entry.getKey()) + && Boolean.valueOf(active).equals(entry.getBooleanValue().orElse(null))); + } + + private ArgumentMatcher lastDisconnectTimeWrite() { + return request -> request != null + && edgeId.equals(request.getEntityId()) + && request.getEntries().stream().anyMatch(entry -> LAST_DISCONNECT_TIME.equals(entry.getKey())); + } + + private ArgumentMatcher disconnectTrigger() { + return trigger -> trigger instanceof EdgeConnectionTrigger edgeTrigger && !edgeTrigger.isConnected(); + } + +} diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java index 0cf28a8962..7389b51ce3 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java @@ -11,6 +11,7 @@ import org.thingsboard.server.service.edge.rpc.EdgeSessionState; import org.thingsboard.server.service.edge.rpc.session.manager.EdgeGrpcSessionManager; import java.util.UUID; +import java.util.concurrent.atomic.AtomicBoolean; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; @@ -81,6 +82,44 @@ class EdgeSessionsHolderTest { assertThat(holder.isCurrent(newSession())).isFalse(); } + @Test + void runIfNoSessionRunsTheActionWhenTheEdgeHasNoSession() { + AtomicBoolean ran = new AtomicBoolean(); + + assertThat(holder.runIfNoSession(edgeId, () -> ran.set(true))).isTrue(); + assertThat(ran).isTrue(); + } + + @Test + void runIfNoSessionSkipsTheActionWhenTheEdgeHasASession() { + holder.put(newSession()); + AtomicBoolean ran = new AtomicBoolean(); + + assertThat(holder.runIfNoSession(edgeId, () -> ran.set(true))).isFalse(); + assertThat(ran).isFalse(); + } + + @Test + void putWaitsForARunningRunIfNoSessionAction() throws Exception { + EdgeGrpcSessionManager session = newSession(); + Thread put = new Thread(() -> holder.put(session)); + AtomicBoolean putBlockedDuringAction = new AtomicBoolean(); + + holder.runIfNoSession(edgeId, () -> { + put.start(); + try { + put.join(200); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + } + putBlockedDuringAction.set(put.isAlive()); + }); + put.join(5000); + + assertThat(putBlockedDuringAction).isTrue(); + assertThat(holder.getByEdgeId(edgeId)).isSameAs(session); + } + private EdgeGrpcSessionManager newSession() { EdgeSessionState state = new EdgeSessionState(); state.setEdge(edge); From 2bc4bdc8f9e946c83bb976b3f67663374480513a Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Fri, 23 Oct 2026 15:43:58 +0300 Subject: [PATCH 270/559] Refactor settings API --- .../server/controller/AdminController.java | 4 ++-- .../server/controller/AdminControllerTest.java | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/AdminController.java b/application/src/main/java/org/thingsboard/server/controller/AdminController.java index 4b54eca8f2..8f6ff14d60 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AdminController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AdminController.java @@ -132,7 +132,7 @@ public class AdminController extends BaseController { public AdminSettings getAdminSettings( @Parameter(description = "A string value of the key (e.g. 'general' or 'mail').") @PathVariable("key") String key, - @Parameter(description = "Use system settings if settings are not defined on tenant level.") + @Parameter(description = "Deprecated, not used.") @RequestParam(required = false, defaultValue = "false") boolean systemByDefault) throws Exception { Authority authority = getCurrentUser().getAuthority(); AdminSettings adminSettings; @@ -141,7 +141,7 @@ public class AdminController extends BaseController { adminSettings = checkNotNull(adminSettingsService.findAdminSettingsByKey(TenantId.SYS_TENANT_ID, key), "No Administration settings found for key: " + key); } else { accessControlService.checkPermission(getCurrentUser(), Resource.WHITE_LABELING, Operation.READ); - adminSettings = getTenantAdminSettings(getTenantId(), key, systemByDefault); + adminSettings = getTenantAdminSettings(getTenantId(), key, false); } if (adminSettings.getKey().equals(MAIL_SETTINGS_KEY)) { ((ObjectNode) adminSettings.getJsonValue()).remove("refreshToken"); diff --git a/application/src/test/java/org/thingsboard/server/controller/AdminControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AdminControllerTest.java index 33b13b1339..b571440e70 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AdminControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AdminControllerTest.java @@ -175,6 +175,17 @@ public class AdminControllerTest extends AbstractControllerTest { loginTenantAdmin(); } + @Test + public void testGetTenantAdminSettings() throws Exception { + loginTenantAdmin(); + for (String key : new String[]{"jwt", "mail", "general"}) { + AdminSettings adminSettings = doGet("/api/admin/settings/" + key + "?systemByDefault=true", AdminSettings.class); + assertThat(adminSettings.getTenantId()).isEqualTo(tenantId); + assertThat(adminSettings.getKey()).isEqualTo(key); + assertThat(adminSettings.getJsonValue().isEmpty()).isTrue(); + } + } + @Test public void testGetAndSaveDefaultJwtSettings() throws Exception { JwtSettings jwtSettings; From 22f9791bd5376cde951375ba8826a0eecca8615d Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 23 Oct 2026 15:47:40 +0300 Subject: [PATCH 271/559] Fixed npm dependency vulnerabilities in ui-ngx Fixed CVEs: - vite 7.3.7 (via @angular/build 20.3.41): CVE-2026-112942, CVE-2026-112943, CVE-2026-112944, CVE-2026-112945, CVE-2026-112946 - mermaid 11.17.2: CVE-2026-41148, CVE-2026-41149, CVE-2026-41150, CVE-2026-41159, CVE-2026-50159, CVE-2026-71436, CVE-2026-71437, CVE-2026-71438, CVE-2026-71439 - dompurify 3.4.17: CVE-2026-49458, CVE-2026-49459, CVE-2026-49978, CVE-2026-65898, CVE-2026-65899, CVE-2026-65900, CVE-2026-65901, CVE-2026-65902, CVE-2026-66010 - hono 4.13.13: CVE-2026-59895, CVE-2026-59896, CVE-2026-59897, CVE-2026-69207, CVE-2026-71848, CVE-2026-71849, CVE-2026-71850, CVE-2026-84363, CVE-2026-84364, CVE-2026-84365, CVE-2026-93981, CVE-2026-111757 - ip-address 10.7.4: CVE-2026-101910, CVE-2026-101911, CVE-2026-101912, CVE-2026-101913, CVE-2026-111997 - fast-uri 3.1.9: CVE-2026-86472 - uuid 14.0.3 (via mermaid): CVE-2026-41907 - protocol-buffers-schema 3.6.1: CVE-2026-5758 - postcss-selector-parser 6.1.5: CVE-2026-9358 - body-parser 2.4.0: CVE-2026-12590 - diff 4.0.4: CVE-2026-24001 - yaml 2.9.1: CVE-2026-33532 - @humanfs/node 0.16.8 Updated Angular CLI/build tooling to 20.3.41 (renamed the @angular/build patch), ace-builds 1.45.2, maplibre-gl 6.15.0, @geoman-io/leaflet-geoman-free 2.20.4, jquery.terminal 2.48.1, libphonenumber-js 1.13.15, @iplab/ngx-color-picker 20.1.0, ngx-translate-messageformat-compiler 7.3.0, dayjs, jszip, hugerte, core-js, postcss, autoprefixer, directory-tree, typescript-eslint, eslint-plugin-jsdoc, eslint-plugin-tailwindcss and @types/* within their current majors. Dropped the @modelcontextprotocol/sdk and @babel/core resolutions: Angular tooling now pins the same versions itself. Deduplicated the lockfile so every package that can resolve to a single version does. --- ui-ngx/package.json | 66 +- ....40.patch => @angular+build+20.3.41.patch} | 0 ui-ngx/yarn.lock | 1249 +++++++++-------- 3 files changed, 679 insertions(+), 636 deletions(-) rename ui-ngx/patches/{@angular+build+20.3.40.patch => @angular+build+20.3.41.patch} (100%) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 7fc48ad156..4e4fb34cde 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -26,9 +26,9 @@ "@auth0/angular-jwt": "^5.2.0", "@flowjs/flow.js": "^2.14.1", "@flowjs/ngx-flow": "20.0.2", - "@geoman-io/leaflet-geoman-free": "2.19.3", + "@geoman-io/leaflet-geoman-free": "2.20.4", "@hugerte/hugerte-angular": "~1.1.1", - "@iplab/ngx-color-picker": "^20.0.0", + "@iplab/ngx-color-picker": "^20.1.0", "@mat-datetimepicker/core": "~16.0.1", "@mdi/svg": "^7.4.47", "@messageformat/core": "^3.4.1", @@ -39,33 +39,33 @@ "@svgdotjs/svg.filter.js": "^3.0.10", "@svgdotjs/svg.js": "3.2.8", "@svgdotjs/svg.panzoom.js": "^2.1.3", - "ace-builds": "1.43.6", + "ace-builds": "1.45.2", "ace-diff": "^3.3.0", "angular-gridster2": "~20.2.4", "angular2-hotkeys": "^16.0.1", "canvas-gauges": "^2.1.7", - "core-js": "^3.48.0", - "dayjs": "1.11.20", + "core-js": "^3.51.0", + "dayjs": "1.11.23", "echarts": "https://github.com/thingsboard/echarts/archive/5.5.2-TB.tar.gz", "flot": "https://github.com/thingsboard/flot.git#0.9-work", "flot.curvedlines": "https://github.com/MichaelZinsmaier/CurvedLines.git#master", "font-awesome": "^4.7.0", "html2canvas": "^1.4.1", - "hugerte": "~1.0.12", + "hugerte": "~1.0.14", "jquery": "^3.7.1", - "jquery.terminal": "^2.45.2", + "jquery.terminal": "^2.48.1", "js-beautify": "1.15.4", "json-schema-defaults": "^0.4.0", "jstree": "^3.3.17", "jstree-bootstrap-theme": "^1.0.1", - "jszip": "^3.10.1", + "jszip": "^3.10.2", "leaflet": "1.9.4", "leaflet-polylinedecorator": "1.6.0", "leaflet-providers": "4.0.0", "leaflet.gridlayer.googlemutant": "0.15.0", "leaflet.markercluster": "1.5.3", - "libphonenumber-js": "^1.12.35", - "maplibre-gl": "6.11.2", + "libphonenumber-js": "^1.13.15", + "maplibre-gl": "6.15.0", "marked": "~16.4.2", "moment": "^2.31.0", "moment-timezone": "^0.6.5", @@ -76,7 +76,7 @@ "ngx-hm-carousel": "^19.0.0", "ngx-markdown": "^20.1.0", "ngx-sharebuttons": "^17.0.0", - "ngx-translate-messageformat-compiler": "^7.2.0", + "ngx-translate-messageformat-compiler": "^7.3.0", "objectpath": "^2.0.0", "photoswipe": "^5.4.4", "qrcode": "^1.5.4", @@ -95,51 +95,49 @@ }, "devDependencies": { "@angular-builders/custom-esbuild": "20.0.0", - "@angular-devkit/core": "20.3.40", - "@angular-devkit/schematics": "20.3.40", - "@angular/build": "20.3.40", - "@angular/cli": "20.3.40", + "@angular-devkit/core": "20.3.41", + "@angular-devkit/schematics": "20.3.41", + "@angular/build": "20.3.41", + "@angular/cli": "20.3.41", "@angular/compiler-cli": "20.3.34", "@angular/language-service": "20.3.34", "@types/ace-diff": "^2.1.4", "@types/canvas-gauges": "^2.1.8", "@types/flot": "^0.0.36", "@types/flowjs": "^2.13.14", - "@types/jquery": "^3.5.33", + "@types/jquery": "^3.5.34", "@types/js-beautify": "^1.14.3", - "@types/leaflet": "1.9.14", - "@types/leaflet-polylinedecorator": "1.6.4", - "@types/leaflet-providers": "1.2.4", - "@types/leaflet.gridlayer.googlemutant": "0.4.9", - "@types/leaflet.markercluster": "1.5.5", - "@types/lodash": "^4.17.22", - "@types/node": "~22.18.13", - "@types/raphael": "^2.3.9", - "@types/systemjs": "6.15.3", + "@types/leaflet": "1.9.22", + "@types/leaflet-polylinedecorator": "1.6.5", + "@types/leaflet-providers": "1.2.5", + "@types/leaflet.gridlayer.googlemutant": "0.4.11", + "@types/leaflet.markercluster": "1.5.6", + "@types/lodash": "^4.17.27", + "@types/node": "~22.20.5", + "@types/raphael": "^2.3.10", + "@types/systemjs": "6.15.4", "@types/tinycolor2": "^1.4.6", "@types/tooltipster": "^0.0.35", "angular-eslint": "~20.7.0", - "autoprefixer": "^10.4.23", - "directory-tree": "^3.5.2", + "autoprefixer": "^10.6.1", + "directory-tree": "^3.6.0", "eslint": "9.39.5", "eslint-plugin-import": "^2.32.0", - "eslint-plugin-jsdoc": "^62.4.1", + "eslint-plugin-jsdoc": "^62.9.0", "eslint-plugin-prefer-arrow": "^1.2.3", - "eslint-plugin-tailwindcss": "^3.18.2", + "eslint-plugin-tailwindcss": "^3.18.3", "ngrx-store-freeze": "^0.2.4", "patch-package": "^8.0.1", - "postcss": "^8.5.6", + "postcss": "^8.5.31", "postinstall-prepare": "^2.0.0", "tailwindcss": "^3.4.19", "ts-node": "^10.9.2", "typescript": "~5.9.3", - "typescript-eslint": "^8.54.0" + "typescript-eslint": "^8.72.0" }, "resolutions": { - "@babel/core": "7.29.7", "esbuild": "0.28.1", "rollup": "4.59.0", - "js-beautify/**/minimatch": "^9.0.7", - "@modelcontextprotocol/sdk": "1.32.1" + "js-beautify/**/minimatch": "^9.0.7" } } diff --git a/ui-ngx/patches/@angular+build+20.3.40.patch b/ui-ngx/patches/@angular+build+20.3.41.patch similarity index 100% rename from ui-ngx/patches/@angular+build+20.3.40.patch rename to ui-ngx/patches/@angular+build+20.3.41.patch diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 7bc71368e8..e1754f4b70 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -160,18 +160,18 @@ "@angular-devkit/core" "^20.0.0" "@angular/build" "^20.0.0" -"@angular-devkit/architect@0.2003.40", "@angular-devkit/architect@>= 0.2000.0 < 0.2100.0", "@angular-devkit/architect@>=0.2000.0 < 0.2100.0": - version "0.2003.40" - resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.2003.40.tgz#e9d06cc8728241f1677865a9ccf1760548250ed0" - integrity sha512-8XPEUuwzyvaBzTO4e7DZskgDyLepfJI39/blAGzKqsob3NRlbtP/2+6lk9VgwkwuKF1KPJgmU1Sa67MB0qFNUA== +"@angular-devkit/architect@0.2003.41", "@angular-devkit/architect@>= 0.2000.0 < 0.2100.0", "@angular-devkit/architect@>=0.2000.0 < 0.2100.0": + version "0.2003.41" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.2003.41.tgz#fe89faf41b0a226f8f94ceab86881e5c5bf5040b" + integrity sha512-gKZUuuNA0EY32AvdRpMKXTvjyOcxUN4ay4eo73Eq1HnO4hBrvMf6i9VptyoMp9HKzEm1mlYaRjDXykCt921ZPg== dependencies: - "@angular-devkit/core" "20.3.40" + "@angular-devkit/core" "20.3.41" rxjs "7.8.2" -"@angular-devkit/core@20.3.40", "@angular-devkit/core@>= 20.0.0 < 21.0.0", "@angular-devkit/core@^20.0.0": - version "20.3.40" - resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-20.3.40.tgz#8186dd58e5d0e71ad93e72eca943dacdb4d97fc3" - integrity sha512-H7A7p3hP4/6rZmZGrjyipWMFMMW1iWILxAizfGNUEef2ymMIs7uX/uuCdL4BP1vDF8MorLCgeCChLJ2QZuv8UQ== +"@angular-devkit/core@20.3.41", "@angular-devkit/core@>= 20.0.0 < 21.0.0", "@angular-devkit/core@^20.0.0": + version "20.3.41" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-20.3.41.tgz#91b409f5bb464d08fbc2ea13d49bd9f09f08a012" + integrity sha512-zkAUfR+uH+KAOZwEAx4PAFGvdM449JoWF0JN7ViXnlSX/kNavKCZ2ZbZjeIOUiuN1KCPx81n6UbeyesmxrLudw== dependencies: ajv "8.18.0" ajv-formats "3.0.1" @@ -180,12 +180,12 @@ rxjs "7.8.2" source-map "0.7.6" -"@angular-devkit/schematics@20.3.40", "@angular-devkit/schematics@>= 20.0.0 < 21.0.0": - version "20.3.40" - resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-20.3.40.tgz#5aef43cac0ac19f3b338d6b08f3cedbf2ef97cdf" - integrity sha512-mGWSkJStNLsLhy+FRxqKHkF7drSfkxrL82/UbQ+aizLHnbUZrir6PPToUmm6xRxKZcwbZegi4jjlyive0/nJcQ== +"@angular-devkit/schematics@20.3.41", "@angular-devkit/schematics@>= 20.0.0 < 21.0.0": + version "20.3.41" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-20.3.41.tgz#9223e0ac3fdcde5d83efc693f2a479227d123ff6" + integrity sha512-cDT/j0wI2GfQLBKws1icGZm3Nsn1SfvBd8FLqmwzMQrR9yyoopwPVCaoFHuFad1bMKO/YzW7z95bIcIEJ7wXwQ== dependencies: - "@angular-devkit/core" "20.3.40" + "@angular-devkit/core" "20.3.41" jsonc-parser "3.3.1" magic-string "0.30.17" ora "8.2.0" @@ -258,13 +258,13 @@ dependencies: tslib "^2.3.0" -"@angular/build@20.3.40", "@angular/build@^20.0.0": - version "20.3.40" - resolved "https://registry.yarnpkg.com/@angular/build/-/build-20.3.40.tgz#777619c9ad8db033197f1eae9f4e01dd48f4fc6e" - integrity sha512-lFa1DVul9/VncuoZgmhEij86jdPC77/mX5QrTB5OPFwQeBrlK1FRwEh46hrtdsW5qnVVMAf+wx5+B/N7FuvcKw== +"@angular/build@20.3.41", "@angular/build@^20.0.0": + version "20.3.41" + resolved "https://registry.yarnpkg.com/@angular/build/-/build-20.3.41.tgz#9ba43ee37863b8a61f3846074855b18900cab912" + integrity sha512-kjIQqJpx8ULyXCN2aLSnTEoFmvlzYfzzptA/4Vvmb93hdekN8agYsIUbOsrjYx3A1n9mE7pT06z0qUiH51UAYg== dependencies: "@ampproject/remapping" "2.3.0" - "@angular-devkit/architect" "0.2003.40" + "@angular-devkit/architect" "0.2003.41" "@babel/core" "7.29.7" "@babel/helper-annotate-as-pure" "7.27.3" "@babel/helper-split-export-declaration" "7.24.7" @@ -287,7 +287,7 @@ semver "7.7.2" source-map-support "0.5.21" tinyglobby "0.2.14" - vite "7.3.6" + vite "7.3.7" watchpack "2.4.4" optionalDependencies: lmdb "3.4.2" @@ -300,18 +300,18 @@ parse5 "^8.0.0" tslib "^2.3.0" -"@angular/cli@20.3.40": - version "20.3.40" - resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-20.3.40.tgz#b7cf6428e6ade35aa2ffe7d331387c42dd641c1a" - integrity sha512-Gca1MtSCJiZdzXM/nmXBe6rmv0IauG8x2jO4GMPcpQvqscdGGm5EUWT4fduC/k/uWXHHewr3aOHwFDimtHaPPw== +"@angular/cli@20.3.41": + version "20.3.41" + resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-20.3.41.tgz#81c9a8ae8a46d36c14d8b8a7f3160455e1d3a96e" + integrity sha512-mSHC//2Mi3aDk3kdGKFhwuHCEcqHW5FlbdnKB1jycOg/ptgd1lysRSGLqRBc6ZNRSAgBrfIrWRR+nnQg7o0Ozw== dependencies: - "@angular-devkit/architect" "0.2003.40" - "@angular-devkit/core" "20.3.40" - "@angular-devkit/schematics" "20.3.40" + "@angular-devkit/architect" "0.2003.41" + "@angular-devkit/core" "20.3.41" + "@angular-devkit/schematics" "20.3.41" "@inquirer/prompts" "7.8.2" "@listr2/prompt-adapter-inquirer" "3.0.1" - "@modelcontextprotocol/sdk" "1.31.0" - "@schematics/angular" "20.3.40" + "@modelcontextprotocol/sdk" "1.32.1" + "@schematics/angular" "20.3.41" "@yarnpkg/lockfile" "1.1.0" algoliasearch "5.35.0" ini "5.0.0" @@ -567,40 +567,15 @@ "@babel/helper-string-parser" "^7.29.7" "@babel/helper-validator-identifier" "^7.29.7" -"@braintree/sanitize-url@^7.1.1": +"@braintree/sanitize-url@^7.1.2": version "7.1.2" resolved "https://registry.yarnpkg.com/@braintree/sanitize-url/-/sanitize-url-7.1.2.tgz#ca2035b0fefe956a8676ff0c69af73e605fcd81f" integrity sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA== -"@chevrotain/cst-dts-gen@12.0.0": - version "12.0.0" - resolved "https://registry.yarnpkg.com/@chevrotain/cst-dts-gen/-/cst-dts-gen-12.0.0.tgz#ec068e1e83c5fdad69d81773556cae97f0b5dcdb" - integrity sha512-fSL4KXjTl7cDgf0B5Rip9Q05BOrYvkJV/RrBTE/bKDN096E4hN/ySpcBK5B24T76dlQ2i32Zc3PAE27jFnFrKg== - dependencies: - "@chevrotain/gast" "12.0.0" - "@chevrotain/types" "12.0.0" - -"@chevrotain/gast@12.0.0": - version "12.0.0" - resolved "https://registry.yarnpkg.com/@chevrotain/gast/-/gast-12.0.0.tgz#0e0cbf8eee01c7a4449b9caf19e5f3834dba2c35" - integrity sha512-1ne/m3XsIT8aEdrvT33so0GUC+wkctpUPK6zU9IlOyJLUbR0rg4G7ZiApiJbggpgPir9ERy3FRjT6T7lpgetnQ== - dependencies: - "@chevrotain/types" "12.0.0" - -"@chevrotain/regexp-to-ast@12.0.0", "@chevrotain/regexp-to-ast@~12.0.0": - version "12.0.0" - resolved "https://registry.yarnpkg.com/@chevrotain/regexp-to-ast/-/regexp-to-ast-12.0.0.tgz#a90bc4b4f5337a883a88dddd0cca7c38cfe66a7a" - integrity sha512-p+EW9MaJwgaHguhoqwOtx/FwuGr+DnNn857sXWOi/mClXIkPGl3rn7hGNWvo31HA3vyeQxjqe+H36yZJwYU8cA== - -"@chevrotain/types@12.0.0": - version "12.0.0" - resolved "https://registry.yarnpkg.com/@chevrotain/types/-/types-12.0.0.tgz#a762b5c2b4f07496b56c93c30ce224b3637cc2c8" - integrity sha512-S+04vjFQKeuYw0/eW3U52LkAHQsB1ASxsPGsLPUyQgrZ2iNNibQrsidruDzjEX2JYfespXMG0eZmXlhA6z7nWA== - -"@chevrotain/utils@12.0.0": - version "12.0.0" - resolved "https://registry.yarnpkg.com/@chevrotain/utils/-/utils-12.0.0.tgz#9aab2055df43d0bb55919eaca76a9cda45e52b89" - integrity sha512-lB59uJoaGIfOOL9knQqQRfhl9g7x8/wqFkp13zTdkRu1huG9kg6IJs1O8hqj9rs6h7orGxHJUKb+mX3rPbWGhA== +"@chevrotain/types@~11.1.2": + version "11.1.2" + resolved "https://registry.yarnpkg.com/@chevrotain/types/-/types-11.1.2.tgz#e83a1a2704f0c5e49e7592b214031a0f4a34d7e5" + integrity sha512-U+HFai5+zmJCkK86QsaJtoITlboZHBqrVketcO2ROv865xfCMSFpELQoz1GkX5GzME8pTa+3kbKrZHQtI0gdbw== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" @@ -609,16 +584,16 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@es-joy/jsdoccomment@~0.83.0": - version "0.83.0" - resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.83.0.tgz#db1eda42d7e10d81e2dbc871459d556897ab8b8f" - integrity sha512-e1MHSEPJ4m35zkBvNT6kcdeH1SvMaJDsPC3Xhfseg3hvF50FUE3f46Yn36jgbrPYYXezlWUQnevv23c+lx2MCA== +"@es-joy/jsdoccomment@~0.86.0": + version "0.86.0" + resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.86.0.tgz#f7276904ed73bf2136993627033aeb5183b4392a" + integrity sha512-ukZmRQ81WiTpDWO6D/cTBM7XbrNtutHKvAVnZN/8pldAwLoJArGOvkNyxPTBGsPjsoaQBJxlH+tE2TNA/92Qgw== dependencies: "@types/estree" "^1.0.8" - "@typescript-eslint/types" "^8.53.1" - comment-parser "1.4.5" + "@typescript-eslint/types" "^8.58.0" + comment-parser "1.4.6" esquery "^1.7.0" - jsdoc-type-pratt-parser "~7.1.0" + jsdoc-type-pratt-parser "~7.2.0" "@es-joy/resolve.exports@1.2.0": version "1.2.0" @@ -840,15 +815,15 @@ resolved "https://registry.yarnpkg.com/@gar/promise-retry/-/promise-retry-1.0.3.tgz#65e726428e794bc4453948e0a41e6de4215ce8b0" integrity sha512-GmzA9ckNokPypTg10pgpeHNQe7ph+iIKKmhKu3Ob9ANkswreCx7R3cKmY781K8QK3AqVL3xVh9A42JvIAbkkSA== -"@geoman-io/leaflet-geoman-free@2.19.3": - version "2.19.3" - resolved "https://registry.yarnpkg.com/@geoman-io/leaflet-geoman-free/-/leaflet-geoman-free-2.19.3.tgz#42ea4d10be3a76c64376cdd8736b191dd0c5ae2d" - integrity sha512-HjbEpfAEUs0NyI1Dhvz3SMVG6m0pAN/1Eo0tRKsz9cpaROTrFtmJGY22swEir1Uj/8IeGF1NJId38C5Fu+nZGQ== +"@geoman-io/leaflet-geoman-free@2.20.4": + version "2.20.4" + resolved "https://registry.yarnpkg.com/@geoman-io/leaflet-geoman-free/-/leaflet-geoman-free-2.20.4.tgz#013944de8b4124cc5871112a166c6bf9a5df361c" + integrity sha512-f47wwSZAz6W01FnBTbDbeNgjhDuGFYvzQG2t91YljRWU45MAAzLayfy8JIC7GIRd6wohLKB3LZUkR3vgv6qMqg== dependencies: - "@turf/boolean-contains" "^7.3.3" - "@turf/kinks" "^7.3.3" - "@turf/line-intersect" "^7.3.3" - "@turf/line-split" "^7.3.3" + "@turf/boolean-contains" "^7.4.0" + "@turf/kinks" "^7.4.0" + "@turf/line-intersect" "^7.4.0" + "@turf/line-split" "^7.4.0" lodash "4.18.1" polyclip-ts "^0.16.8" @@ -870,30 +845,33 @@ "@hugerte/framework-integration-shared" "^1.0.1" tslib "^2.3.0" -"@humanfs/core@^0.19.1": - version "0.19.1" - resolved "https://registry.yarnpkg.com/@humanfs/core/-/core-0.19.1.tgz#17c55ca7d426733fe3c561906b8173c336b40a77" - integrity sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA== +"@humanfs/core@^0.19.2": + version "0.19.2" + resolved "https://registry.yarnpkg.com/@humanfs/core/-/core-0.19.2.tgz#a8272ca03b2acf492670222b2320b6c421bfde60" + integrity sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA== + dependencies: + "@humanfs/types" "^0.15.0" "@humanfs/node@^0.16.6": - version "0.16.6" - resolved "https://registry.yarnpkg.com/@humanfs/node/-/node-0.16.6.tgz#ee2a10eaabd1131987bf0488fd9b820174cd765e" - integrity sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw== + version "0.16.8" + resolved "https://registry.yarnpkg.com/@humanfs/node/-/node-0.16.8.tgz#8f800cccc13f4f8cd3116e2d9c0a94939da3e3ed" + integrity sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ== dependencies: - "@humanfs/core" "^0.19.1" - "@humanwhocodes/retry" "^0.3.0" + "@humanfs/core" "^0.19.2" + "@humanfs/types" "^0.15.0" + "@humanwhocodes/retry" "^0.4.0" + +"@humanfs/types@^0.15.0": + version "0.15.0" + resolved "https://registry.yarnpkg.com/@humanfs/types/-/types-0.15.0.tgz#f2a09f62012390b2bff3fc6fb248ddec8c09a090" + integrity sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q== "@humanwhocodes/module-importer@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/retry@^0.3.0": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.3.1.tgz#c72a5c76a9fbaf3488e231b13dc52c0da7bab42a" - integrity sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA== - -"@humanwhocodes/retry@^0.4.2": +"@humanwhocodes/retry@^0.4.0", "@humanwhocodes/retry@^0.4.2": version "0.4.3" resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.4.3.tgz#c2b9d2e374ee62c586d3adbea87199b1d7a7a6ba" integrity sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ== @@ -1065,10 +1043,10 @@ resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-3.0.10.tgz#11ed564ec78432a200ea2601a212d24af8150d50" integrity sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA== -"@iplab/ngx-color-picker@^20.0.0": - version "20.0.0" - resolved "https://registry.yarnpkg.com/@iplab/ngx-color-picker/-/ngx-color-picker-20.0.0.tgz#55ce7edc2f16b6f4a8d589e3c190f9200b139535" - integrity sha512-nxPMHl+MZgH7HHLMi8lC+Se+K5EGKpAvmc7Oub191h9VvQj+C+cIFdxJ/KfWET3NFiff6DTbpgfgskjck32tzA== +"@iplab/ngx-color-picker@^20.1.0": + version "20.1.0" + resolved "https://registry.yarnpkg.com/@iplab/ngx-color-picker/-/ngx-color-picker-20.1.0.tgz#89f97a85a2f1f6c60181e32345d659ce92408348" + integrity sha512-g/ZbHRjgXeGx1wvWWakPu5S4C/LEbch0oUuBITmXHUl31cfZnn+3k5KLrii0C2875n3u8Zx4Q/uXcQlK1i9oLQ== dependencies: tslib "^2.3.0" @@ -1195,10 +1173,10 @@ resolved "https://registry.yarnpkg.com/@mapbox/point-geometry/-/point-geometry-1.1.0.tgz#3328fb54b3a1273bc619bf0a6baad8de37181749" integrity sha512-YGcBz1cg4ATXDCM/71L9xveh4dynfGmcLDqufR+nQQy3fKwsAZsWd/x4621/6uJaeB9mwOHE6hPeDgXz9uViUQ== -"@mapbox/tiny-sdf@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@mapbox/tiny-sdf/-/tiny-sdf-2.2.0.tgz#95dae0dc371b8c55c53d70f3e25d56823427f4c8" - integrity sha512-LVL4wgI9YAum5V+LNVQO6QgFBPw7/MIIY4XJPNsPDMrjEwcE+JfKk1LuIl8GnF197ejVdC9QdPaxrx5gfgdGXg== +"@mapbox/tiny-sdf@^2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@mapbox/tiny-sdf/-/tiny-sdf-2.3.0.tgz#d924ab814606bb2882ca18f320e139dbf3a7d33f" + integrity sha512-gBvcNDBBB66bgQYvnaJ6Jk+VCaMmVq5+IZR2kWPisT88Z8s0kBQt6hfVi8QgRW8Vpg0UWZzBA4ZSyzHHC+VeRA== "@mapbox/unitbezier@^1.0.0": version "1.0.0" @@ -1214,10 +1192,10 @@ "@types/geojson" "^7946.0.16" pbf "^5.0.0" -"@maplibre/geojson-vt@^6.1.1": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@maplibre/geojson-vt/-/geojson-vt-6.1.1.tgz#25a032435b4ce2236ea0ba911aff5fb6d5454fc1" - integrity sha512-FVMOcmSP/yqol45t7StApEyTL5/vmqBCuFhH9n+fFuINenhaX+YgHHIt1yJ86S8kln3uJLcMvmEU2cfn6E2eCQ== +"@maplibre/geojson-vt@^6.3.0": + version "6.3.0" + resolved "https://registry.yarnpkg.com/@maplibre/geojson-vt/-/geojson-vt-6.3.0.tgz#468783ab2726b678751f20e9ac0766ac6ee375a5" + integrity sha512-3Zw2jsU9pIJG3G2CQFbLjWj2MlAHodhD7cSY+15iywUuLmmkgzcKRnueVRZ4AcC/5wOtfhidcJAAzBpoBNs3Xg== dependencies: kdbush "^4.1.0" @@ -1261,12 +1239,12 @@ resolved "https://registry.yarnpkg.com/@mdi/svg/-/svg-7.4.47.tgz#f8e5516aae129764a76d1bb2f27e55bee03e6e90" integrity sha512-WQ2gDll12T9WD34fdRFgQVgO8bag3gavrAgJ0frN4phlwdJARpE6gO1YvLEMJR0KKgoc+/Ea/A0Pp11I00xBvw== -"@mermaid-js/parser@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@mermaid-js/parser/-/parser-1.1.0.tgz#8f96c35ddab34a1b12af58f2c59f5abb7d4743fc" - integrity sha512-gxK9ZX2+Fex5zu8LhRQoMeMPEHbc73UKZ0FQ54YrQtUxE1VVhMwzeNtKRPAu5aXks4FasbMe4xB4bWrmq6Jlxw== +"@mermaid-js/parser@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@mermaid-js/parser/-/parser-1.2.1.tgz#94cc40416137bb10d2bc1b0a49c623d716e76233" + integrity sha512-n12NohV3mrUyUL2o93IgG/ifeW9FTyeJn3zDxkhwa8MJ9Fxg3HQMlA3RiGmD/3UnJvheztkjjQAjA2T4LmUcpw== dependencies: - langium "^4.0.0" + "@chevrotain/types" "~11.1.2" "@messageformat/core@^3.4.1": version "3.4.1" @@ -1304,7 +1282,7 @@ dependencies: make-plural "^7.0.0" -"@modelcontextprotocol/sdk@1.31.0", "@modelcontextprotocol/sdk@1.32.1": +"@modelcontextprotocol/sdk@1.32.1": version "1.32.1" resolved "https://registry.yarnpkg.com/@modelcontextprotocol/sdk/-/sdk-1.32.1.tgz#853286b3240b6d8143f5f8e6d58af85c77d475ab" integrity sha512-2DdE+SJDtzLEEWzY1ZjY7Q+VcPhcV1KisD3zI4u0XZyktsjHum1mwbMI+JaulUBi2OZk+KJAi2uPXzxichPkdw== @@ -1702,6 +1680,11 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== +"@pkgr/core@^0.3.6": + version "0.3.6" + resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.3.6.tgz#3569708bd4be4d8870ba32bf1c456dac81600d97" + integrity sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA== + "@rollup/rollup-android-arm-eabi@4.59.0": version "4.59.0" resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.59.0.tgz#a6742c74c7d9d6d604ef8a48f99326b4ecda3d82" @@ -1842,13 +1825,13 @@ resolved "https://registry.yarnpkg.com/@sanity/diff-match-patch/-/diff-match-patch-3.2.0.tgz#7ce587273f7372a146308cb1075ba26177d42cdb" integrity sha512-4hPADs0qUThFZkBK/crnfKKHg71qkRowfktBljH2UIxGHHTxIzt8g8fBiXItyCjxkuNy+zpYOdRMifQNv8+Yww== -"@schematics/angular@20.3.40": - version "20.3.40" - resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-20.3.40.tgz#e80cc5237ebe2a7432496262fd76828c0bb0a66d" - integrity sha512-jU12K5YJUpK7bsPhWUgxoZf0R1fkt6z+AiOu+qHybQgWRmV8VuwZhPsp4N6lwMUkRrNmPOgk2143xNmTXEBjcQ== +"@schematics/angular@20.3.41": + version "20.3.41" + resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-20.3.41.tgz#4ed6c92b2c4f427ac4cf59060f1cec1d5959bc79" + integrity sha512-aAHinMqMQup5MMiXvQgTrNeHAkyFp2QJ0TfF/cNFaW01kliKAjJFJfRwM030uvIfcYDyVnG1c5V1HUFreuiYoQ== dependencies: - "@angular-devkit/core" "20.3.40" - "@angular-devkit/schematics" "20.3.40" + "@angular-devkit/core" "20.3.41" + "@angular-devkit/schematics" "20.3.41" jsonc-parser "3.3.1" "@sigstore/bundle@^4.0.0": @@ -1950,165 +1933,166 @@ "@tufjs/canonical-json" "2.0.0" minimatch "^10.1.1" -"@turf/bbox@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/bbox/-/bbox-7.3.5.tgz#bf93e0a81aa98ca8809bea1bfa6cdfd03ce2470a" - integrity sha512-oG1ya/HtBjAIg4TimbWx+nOYPbY0bCvt82Bq8tm6sBw3qqtbOyRSfDz79Sq90TnH7DXJprJ1qnVGKNtZ6jemfw== +"@turf/bbox@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/bbox/-/bbox-7.4.0.tgz#29a3d64231741e323d63009bc50f1fc2b827e8be" + integrity sha512-yOX9lALc2GmjYUIE99+nRj7eZA7eDtx7Ixu/hrgIo+YqHvL1reaPVTC9rQWMHMm0pH0/WHjzk8uOpAHjptrudQ== dependencies: - "@turf/helpers" "7.3.5" - "@turf/meta" "7.3.5" + "@turf/helpers" "7.4.0" + "@turf/meta" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/boolean-contains@^7.3.3": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/boolean-contains/-/boolean-contains-7.3.5.tgz#8f3d3bd996b98a23953c42a5db932f17bcb98b68" - integrity sha512-P4JUAHgvJkD+8ybQ6d1OHp9TBsGsjJxF5lWeXJgp0k4+Hd/D0CVy4/mhLkZdNa6QdljVdwNcfU0CTqy1WsSQig== - dependencies: - "@turf/bbox" "7.3.5" - "@turf/boolean-point-in-polygon" "7.3.5" - "@turf/boolean-point-on-line" "7.3.5" - "@turf/helpers" "7.3.5" - "@turf/invariant" "7.3.5" - "@turf/line-split" "7.3.5" +"@turf/boolean-contains@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/boolean-contains/-/boolean-contains-7.4.0.tgz#fa8e0adac94102421d0fe27e6c9addbd50280db8" + integrity sha512-vR8sfdKhSlDy6Jd6UAI2Bt27ZAU287G8lhLieIGfxKCpoUa2V8v3y0I9FH+ZpFen07I33aysHIZ4dMH92hBO3Q== + dependencies: + "@turf/bbox" "7.4.0" + "@turf/boolean-point-in-polygon" "7.4.0" + "@turf/boolean-point-on-line" "7.4.0" + "@turf/helpers" "7.4.0" + "@turf/invariant" "7.4.0" + "@turf/line-split" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/boolean-point-in-polygon@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/boolean-point-in-polygon/-/boolean-point-in-polygon-7.3.5.tgz#4416dbde721225153590cc2204f614e44f388b55" - integrity sha512-ba7+B0wzaS9GtERZOoXUZ6oW8IcIJHNQZf3c+tiD9ESjcsPO1Q/4qIJGTKl92nBLhhracHJxMWBM/U6hAVkaRg== +"@turf/boolean-point-in-polygon@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/boolean-point-in-polygon/-/boolean-point-in-polygon-7.4.0.tgz#8b773bba216fc054600fce55d56e824f7b241fe9" + integrity sha512-GQrHc6WSDHhf32GB/b9AGyOeC05AQ3nGN7ooWTrlCYefKn7X9/2wG9BNexF47AuyDq5jPdOvITVR26BLFWV+mA== dependencies: - "@turf/helpers" "7.3.5" - "@turf/invariant" "7.3.5" + "@turf/helpers" "7.4.0" + "@turf/invariant" "7.4.0" "@types/geojson" "^7946.0.10" point-in-polygon-hao "^1.1.0" tslib "^2.8.1" -"@turf/boolean-point-on-line@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/boolean-point-on-line/-/boolean-point-on-line-7.3.5.tgz#9ae059b836240c5e4619c5632682db8acbe511b6" - integrity sha512-TuWfrAT63W43BDzgYc94UzQ5/PjF1aTnh4AIzmQwez1YnimShYcOTwo8OIHzDaB6gbbvFsfxYMuOA5JOp942Kg== +"@turf/boolean-point-on-line@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/boolean-point-on-line/-/boolean-point-on-line-7.4.0.tgz#2fc5bb7bbbaf0fe437c3eff49af901c67953c4b9" + integrity sha512-5i5UBeZf/LuzgavkIj8L8L5/8SYWItWzQQcE9ymFZr60lV5lM8eFvQDfzAz2R3WQFCrxXExPqNvAVZOKGUyvoA== dependencies: - "@turf/helpers" "7.3.5" - "@turf/invariant" "7.3.5" + "@turf/helpers" "7.4.0" + "@turf/invariant" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/distance@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/distance/-/distance-7.3.5.tgz#3aa16a1fde30e5cf4cf40b7e497be8cc5d6bbaaf" - integrity sha512-uQAC63zg/l91KUxzfhqio7Ii3+UXTrPOVJScIdRj6EO6+9XHI4kC+AdyIS4cPAv14sZfJLIBxzMnzcGrss+kEA== +"@turf/distance@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/distance/-/distance-7.4.0.tgz#7ddbc863f6e510749b60f02780f3c96fb8d2db06" + integrity sha512-ODkopQDG1m/U6Mx7OMmShncaCvneomwX3lZY1CDA7x40bhDdTTRYP/n/6LicZVyIO4/oK+aXkov4NOtWYthA2g== dependencies: - "@turf/helpers" "7.3.5" - "@turf/invariant" "7.3.5" + "@turf/helpers" "7.4.0" + "@turf/invariant" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/geojson-rbush@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/geojson-rbush/-/geojson-rbush-7.3.5.tgz#32e38b0b85b4dcf9af5aa433ddbb2e2702048e0a" - integrity sha512-30/hQqc+ErnlcavvDdxGfgm8VtsJDEzSYpf3mPqYxOyI976l49T6+1jCQD5xKswml6o8zZAaTSe6ZcSKF+SCNw== +"@turf/geojson-rbush@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/geojson-rbush/-/geojson-rbush-7.4.0.tgz#2351cb75ab4398327c9a52e39b333344f639eb3f" + integrity sha512-o+debVj+6KQ2p0VebH+FgcTig2jUuG6mWMgLYvb34c7cOHoEuY6ICvKRKtHn/XcHa6eyoSk0TvnLEJAfFTQDMg== dependencies: - "@turf/bbox" "7.3.5" - "@turf/helpers" "7.3.5" - "@turf/meta" "7.3.5" + "@turf/bbox" "7.4.0" + "@turf/helpers" "7.4.0" + "@turf/meta" "7.4.0" "@types/geojson" "^7946.0.10" rbush "^3.0.1" tslib "^2.8.1" -"@turf/helpers@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/helpers/-/helpers-7.3.5.tgz#051928c03cdf9ffcc7ae36581c317afc49bfd999" - integrity sha512-E/NMGV5MwbjjP7AJXBtsanC3yY8N2MQ87IGdIgkB2ji5AtBpwnH4L3gEqpYN4RlCJJWbLbzO91BbKv2waUd0eg== +"@turf/helpers@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/helpers/-/helpers-7.4.0.tgz#5589f04812ac95f8985e9396db01d9e70f4a35d5" + integrity sha512-7PAwLZqOdRzTI5g9bHvUwlloAXPDH/mlajtryk0tw4ZwGMtmXsAyF4QundsAMfy4u48Fyd3AUqMXY0SMxqJGWg== dependencies: "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/invariant@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/invariant/-/invariant-7.3.5.tgz#5619d0e0ef3755e2be69855bad47e10158a1820b" - integrity sha512-ZVIvsBvjr8lO7WxC5zYNjRsjSDvyGvWkJMjuWaJjTU8x+1tmfNnw3gDX/TI2Sit83gcRYLYkNo23lB/udqx/Hg== +"@turf/invariant@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/invariant/-/invariant-7.4.0.tgz#b96eb3a1965cca126fcf15571058d126cc7a32e2" + integrity sha512-OAsc3qdNx+tRqzWmMNFMnVlWWACIqnYqIejZKvb2oKkKPYJJrURPXZ6OdrGD58ljJMolLoqwIZGSx3VndaEjxg== dependencies: - "@turf/helpers" "7.3.5" + "@turf/helpers" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/kinks@^7.3.3": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/kinks/-/kinks-7.3.5.tgz#746c2295dd8e7ddc8822d13fc6b9ae8d4148babc" - integrity sha512-dPW8d4vs1v8WMobjyq/TVqajjPwkMsl94IF58yp1UYlmJDQrW4iNRUmI9fFzww+fl7epCKNwY+jZhXf1DRi93w== +"@turf/kinks@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/kinks/-/kinks-7.4.0.tgz#281c7bb9f71ea9076daaf4527fbb12e82bc95951" + integrity sha512-M2deZpJq45WASRru5MmGwDJkVIj+JL/rcS6LLZBQyhSna47pxOQIVDC/tIx6xyFezxXw3lhX9VsoRst3irDdAQ== dependencies: - "@turf/helpers" "7.3.5" + "@turf/helpers" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/line-intersect@7.3.5", "@turf/line-intersect@^7.3.3": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/line-intersect/-/line-intersect-7.3.5.tgz#841f8f713218cbd4532269754e3e1f6a15d4e374" - integrity sha512-2Cl4oPsjaDdfIwz/5IRDdG2fNdfp3W6atICm81vnzl/GwURoVP+CLjXJ64QWWzpzIbgX2XprJQTmamByDt5MDw== +"@turf/line-intersect@7.4.0", "@turf/line-intersect@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/line-intersect/-/line-intersect-7.4.0.tgz#de6ee1f56451c9bc3c52e6886e00812aaa01bfca" + integrity sha512-5qNmEJ/0tQEaUUKSt2zIZGIS6eYGn3T7Z32yN6+Py0ANs8ln3dQNWaDyOEMms/qVY7BFvSaO+8iBmD8vlHdNcA== dependencies: - "@turf/helpers" "7.3.5" + "@turf/helpers" "7.4.0" "@types/geojson" "^7946.0.10" - sweepline-intersections "^1.5.0" + robust-predicates "^2.0.4" + tinyqueue "^2.0.3" tslib "^2.8.1" -"@turf/line-segment@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/line-segment/-/line-segment-7.3.5.tgz#275f03fd86640fce44b40d6806b95dc842801156" - integrity sha512-TM1aCu7utM6fllAEHO8PNqBJZ/uoFJVNp2A0YI7FyWN928hPbacsvNtLeVz/Kq1ZbeqQ1ZIKRxo9FdVjaj8hGg== +"@turf/line-segment@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/line-segment/-/line-segment-7.4.0.tgz#09f61150747fcb17c38e2698206d8f54f93f817b" + integrity sha512-v4Gnxpj6XqWbl4d/aVZHYwvSFzaTGGBW4eQQ9Ozqcgt+bvignOMdtVogFDHSWKDj9Gr2tbS2jYp57c8OTa+Olw== dependencies: - "@turf/helpers" "7.3.5" - "@turf/invariant" "7.3.5" - "@turf/meta" "7.3.5" + "@turf/helpers" "7.4.0" + "@turf/invariant" "7.4.0" + "@turf/meta" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/line-split@7.3.5", "@turf/line-split@^7.3.3": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/line-split/-/line-split-7.3.5.tgz#63aa7c5d3fc606db7c4beff33dccc8786fc9c07b" - integrity sha512-GEuy+LdbbaqtYjHk/i1G8sK51wfCdPqTO8uH0dJZ6WlcIcZQfRcKKI4ksFm7NkVyfmw8gXWbpMJD8lO380GFBQ== - dependencies: - "@turf/bbox" "7.3.5" - "@turf/geojson-rbush" "7.3.5" - "@turf/helpers" "7.3.5" - "@turf/invariant" "7.3.5" - "@turf/line-intersect" "7.3.5" - "@turf/line-segment" "7.3.5" - "@turf/meta" "7.3.5" - "@turf/nearest-point-on-line" "7.3.5" - "@turf/truncate" "7.3.5" +"@turf/line-split@7.4.0", "@turf/line-split@^7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/line-split/-/line-split-7.4.0.tgz#ccb08c3a6fbce4c57bfdc2022bf3657772dc3b65" + integrity sha512-bAij7u19sFVdYoAp3bQnu/cVzlORxM/W3FM+WeFN/VvGkZ6YiAtcPq/lLP4WwK3WxthTcavED3wbd32iXGpzZw== + dependencies: + "@turf/bbox" "7.4.0" + "@turf/geojson-rbush" "7.4.0" + "@turf/helpers" "7.4.0" + "@turf/invariant" "7.4.0" + "@turf/line-intersect" "7.4.0" + "@turf/line-segment" "7.4.0" + "@turf/meta" "7.4.0" + "@turf/nearest-point-on-line" "7.4.0" + "@turf/truncate" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/meta@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/meta/-/meta-7.3.5.tgz#c498a6f1e8603e014e8bfbc9a4b2760b6219edb9" - integrity sha512-r+ohqxoyqeigFB0oFrQx/YEHIkOKqcKpCjvZkvZs7Tkv+IFco5MezAd2zd4rzK+0DfFgDP3KpJc7HqrYjvEjhg== +"@turf/meta@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/meta/-/meta-7.4.0.tgz#99c3b3af4c2e5a7ef0b4f99c9f42120e82a91e62" + integrity sha512-3cLUvlEyDuSnMSzrjhaLAEiYR8xhbfWyTVQlrlEw40xL81d4KF4PqUWbjTXKpXZStdYbet2GCurl79KMypNw6g== dependencies: - "@turf/helpers" "7.3.5" + "@turf/helpers" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/nearest-point-on-line@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/nearest-point-on-line/-/nearest-point-on-line-7.3.5.tgz#e74515e017feff2c8d7c208b634a5cbfdbebe998" - integrity sha512-MZn6OkEFZpjS6BNUANfqiHMIbQSivu7TNji3a+OAIrnPJ71vp8cbz0N2aVEa5M7I8ipvxoxAPIV3eqg3h280Vg== +"@turf/nearest-point-on-line@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/nearest-point-on-line/-/nearest-point-on-line-7.4.0.tgz#b4d46251eb6335ffc794eae315dd22932362d951" + integrity sha512-eKTKf/qODIsPankYMZrNfI3LjLaVtQvYV/1hcj9kH/Zr3GfLUszevjhTRDZtMgTFrv8+awW3+MyhmN+PJGuLdQ== dependencies: - "@turf/distance" "7.3.5" - "@turf/helpers" "7.3.5" - "@turf/invariant" "7.3.5" - "@turf/meta" "7.3.5" + "@turf/distance" "7.4.0" + "@turf/helpers" "7.4.0" + "@turf/invariant" "7.4.0" + "@turf/meta" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" -"@turf/truncate@7.3.5": - version "7.3.5" - resolved "https://registry.yarnpkg.com/@turf/truncate/-/truncate-7.3.5.tgz#d57a856994e2928e798fc7929e42cc2890d1b201" - integrity sha512-Qx2iv3KIqKuDAUduMfaJ5fFegEWBeRve5zePalRevS16bMUqEX+jnKPK9fWGyUuPqT61qP1Kybz0PTWPbUbljQ== +"@turf/truncate@7.4.0": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@turf/truncate/-/truncate-7.4.0.tgz#6060d6c74893442c22b543afc84929922f9cb678" + integrity sha512-eTXO62l1mD++mKlhUqLNHGcgCQvhxXJGB/EUL1KSzpVIeMYtgcmItAneWdHW+gEpmHfjeDjBuvtbZWA23r7Eig== dependencies: - "@turf/helpers" "7.3.5" - "@turf/meta" "7.3.5" + "@turf/helpers" "7.4.0" + "@turf/meta" "7.4.0" "@types/geojson" "^7946.0.10" tslib "^2.8.1" @@ -2364,13 +2348,25 @@ resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.45.tgz#ffa764bb68a66c08db6efb9c816eb7be850577b1" integrity sha512-qkcUlZmX6c4J8q45taBKTL3p+LbITgyx7qhlPYOdOHZB7B31K0mXbP5YA7i7SgDeEGuI9MnumiKPEMrxg8j3KQ== -"@types/jquery@*", "@types/jquery@^3.5.29", "@types/jquery@^3.5.33": +"@types/jquery@*": version "3.5.33" resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.5.33.tgz#f42f40bac3edd84abdc9f6297d28e570fe463b35" integrity sha512-SeyVJXlCZpEki5F0ghuYe+L+PprQta6nRZqhONt9F13dWBtR/ftoaIbdRQ7cis7womE+X2LKhsDdDtkkDhJS6g== dependencies: "@types/sizzle" "*" +"@types/jquery@^3.5.34": + version "3.5.34" + resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.5.34.tgz#c1993eaac0db03cf9db974976dd8f07bbf7c5708" + integrity sha512-3m3939S3erqmTLJANS/uy0B6V7BorKx7RorcGZVjZ62dF5PAGbKEDZK1CuLtKombJkFA2T1jl8LAIIs7IV6gBQ== + dependencies: + "@types/sizzle" "*" + +"@types/jquery@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-4.0.1.tgz#7c08ca6492876b70e11e4724af35b347069038cd" + integrity sha512-9a59A/tycXgYuPABcp6/3spSShn0NT2UOM4EfHvMumjYi4lJWTsK5SZWjhx3yRm9IHGCeWXdV2YfNsrWrft/CA== + "@types/js-beautify@^1.14.3": version "1.14.3" resolved "https://registry.yarnpkg.com/@types/js-beautify/-/js-beautify-1.14.3.tgz#6ced76f79935e37e0d613110dea369881d93c1ff" @@ -2386,72 +2382,72 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== -"@types/leaflet-polylinedecorator@1.6.4": - version "1.6.4" - resolved "https://registry.yarnpkg.com/@types/leaflet-polylinedecorator/-/leaflet-polylinedecorator-1.6.4.tgz#2270b84585bd28bbf1fef237be8480196c44ac06" - integrity sha512-meH/jC58Drt/9aqLhuzMCUQjHgMTud+UuQBK5gT6E8M6OfM/rftz/VgvdxOCCAQC9isrp4pqahDgEswesb5X3A== +"@types/leaflet-polylinedecorator@1.6.5": + version "1.6.5" + resolved "https://registry.yarnpkg.com/@types/leaflet-polylinedecorator/-/leaflet-polylinedecorator-1.6.5.tgz#58d308c933f5d79dcd3858dae391ae9f7144cb40" + integrity sha512-m3hMuCyii8t7N/t1xc9aMzpA/tTnc/WFq63yR334Fgbw4jDytTCUcTNvACmod6bnZl5oCigqyTd7Pbb+VQtGZQ== dependencies: - "@types/leaflet" "*" + "@types/leaflet" "^1.9" -"@types/leaflet-providers@1.2.4": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@types/leaflet-providers/-/leaflet-providers-1.2.4.tgz#284e8a197d4c2dbfeda436842e03b2adb502be16" - integrity sha512-4wYEpreixp+G5t510s202eQ5eubOmxHevIfCNrzUZbzp50XQsC9lSetX7MnPl3ANRJnUBbCWOzZ9EQFiH0Jm+g== +"@types/leaflet-providers@1.2.5": + version "1.2.5" + resolved "https://registry.yarnpkg.com/@types/leaflet-providers/-/leaflet-providers-1.2.5.tgz#4cfb7cb6cde634ae72751e28391e37a870ae839c" + integrity sha512-R/zwnR20yTRf7i3q6wzbQSXtIz5Yfkpi+XH12NLbSA5YLcOqHjyU63+6GU9bfiEMxsHO3mvTr4kVJ+0dARSS5A== dependencies: - "@types/leaflet" "*" + "@types/leaflet" "^1.9" -"@types/leaflet.gridlayer.googlemutant@0.4.9": - version "0.4.9" - resolved "https://registry.yarnpkg.com/@types/leaflet.gridlayer.googlemutant/-/leaflet.gridlayer.googlemutant-0.4.9.tgz#9090ddf4578ce631d22b8aafc5ed12525b4fbf90" - integrity sha512-u/5Avs1KKkeABRDixGbGp2ldFs67+fYIATpkvvFgN+LQPNfq7dFd5adkksshiQBfYJ4SaQg1VJgN2dNirIC0aQ== +"@types/leaflet.gridlayer.googlemutant@0.4.11": + version "0.4.11" + resolved "https://registry.yarnpkg.com/@types/leaflet.gridlayer.googlemutant/-/leaflet.gridlayer.googlemutant-0.4.11.tgz#3d0b438d351660ce3752cbfd734aa2e36f78c1ae" + integrity sha512-ODwQEOFqp6GW2UsTbjUSfXwp49ksSeT0XYpI83rsMElcvq20S283Oy/lRFbyJv6CAOW0LUA2R3RoroqlGF8Jcg== dependencies: - "@types/leaflet" "*" + "@types/leaflet" "^1.9" -"@types/leaflet.markercluster@1.5.5": - version "1.5.5" - resolved "https://registry.yarnpkg.com/@types/leaflet.markercluster/-/leaflet.markercluster-1.5.5.tgz#e420caf5b9f6300ab4869fc877d08a9eaf200eec" - integrity sha512-TkWOhSHDM1ANxmLi+uK0PjsVcjIKBr8CLV2WoF16dIdeFmC0Cj5P5axkI3C1Xsi4+ht6EU8+BfEbbqEF9icPrg== +"@types/leaflet.markercluster@1.5.6": + version "1.5.6" + resolved "https://registry.yarnpkg.com/@types/leaflet.markercluster/-/leaflet.markercluster-1.5.6.tgz#3fff147abeee2303b3814d5799151ae14d72654e" + integrity sha512-I7hZjO2+isVXGYWzKxBp8PsCzAYCJBc29qBdFpquOCkS7zFDqUsUvkEOyQHedsk/Cy5tocQzf+Ndorm5W9YKTQ== dependencies: - "@types/leaflet" "*" + "@types/leaflet" "^1.9" -"@types/leaflet@*", "@types/leaflet@1.9.14": - version "1.9.14" - resolved "https://registry.yarnpkg.com/@types/leaflet/-/leaflet-1.9.14.tgz#f008fef281a05e457bbae9f00a82c836af1b9b03" - integrity sha512-sx2q6MDJaajwhKeVgPSvqXd8rhNJSTA3tMidQGduZn9S6WBYxDkCpSpV5xXEmSg7Cgdk/5vJGhVF1kMYLzauBg== +"@types/leaflet@1.9.22", "@types/leaflet@^1.9": + version "1.9.22" + resolved "https://registry.yarnpkg.com/@types/leaflet/-/leaflet-1.9.22.tgz#d46d501e5bcdf5a99374cf113ab33562cb887783" + integrity sha512-h3lhECYEKDasG7LFHu+GiHqAvsgLuQvlJvVZzJDGONo3sEL+wUOqSFLnwkZlK0qVxnxbuGFW8iBlJNYs5wgndA== dependencies: "@types/geojson" "*" -"@types/lodash@^4.17.22": - version "4.17.23" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.23.tgz#c1bb06db218acc8fc232da0447473fc2fb9d9841" - integrity sha512-RDvF6wTulMPjrNdCoYRC8gNR880JNGT8uB+REUpC2Ns4pRqQJhGz90wh7rgdXDPpCczF3VGktDuFGVnz8zP7HA== +"@types/lodash@^4.17.27": + version "4.17.27" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.27.tgz#15fb73275b64dbfe49e2ae8376bb469b352a47a7" + integrity sha512-VenMRv/eKNrspX9v3H4dbmjsrnCOYdYBG3kxXKk3dG6X+urBGcj2Prww3xw1U5K4FV/mE4h5GbWd0szEKf+9ew== "@types/mousetrap@^1.6.9": version "1.6.15" resolved "https://registry.yarnpkg.com/@types/mousetrap/-/mousetrap-1.6.15.tgz#f144a0c539a4cef553a631824651d48267e53c86" integrity sha512-qL0hyIMNPow317QWW/63RvL1x5MVMV+Ru3NaY9f/CuEpCqrmb7WeuK2071ZY5hczOnm38qExWM2i2WtkXLSqFw== -"@types/node@~22.18.13": - version "22.18.13" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.18.13.tgz#a037c4f474b860be660e05dbe92a9ef945472e28" - integrity sha512-Bo45YKIjnmFtv6I1TuC8AaHBbqXtIo+Om5fE4QiU1Tj8QR/qt+8O3BAtOimG5IFmwaWiPmB3Mv3jtYzBA4Us2A== +"@types/node@~22.20.5": + version "22.20.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.20.5.tgz#afa7bde6da81b8b83ea4e2f020487e9b148c11fd" + integrity sha512-U2+DNr+wSjpsTS/wZGYHq7GcwfuSmKiKvoPvK22zwTlRhU91yOniN4qRR5KhIjvif7ysw/dz/hKmfDH0Ris4aA== dependencies: undici-types "~6.21.0" -"@types/raphael@^2.3.9": - version "2.3.9" - resolved "https://registry.yarnpkg.com/@types/raphael/-/raphael-2.3.9.tgz#d53bb8930431524f42987a8a19815c0d42a61eb5" - integrity sha512-K1dZwoLNvEN+mvleFU/t2swG9Z4SE5Vub7dA5wDYojH0bVTQ8ZAP+lNsl91t1njdu/B+roSEL4QXC67I7Hpiag== +"@types/raphael@^2.3.10": + version "2.3.10" + resolved "https://registry.yarnpkg.com/@types/raphael/-/raphael-2.3.10.tgz#059d7c3b1ed985714a8545cef1be6326c0f1580d" + integrity sha512-sgELhCMN2RihpyuqUFd+KBQ8QQQNrncCvWuuyIowKAU2tfa1CYz8IHqz0BtZXW0DdD2mTq4HWaq8aaoQMftKaA== "@types/sizzle@*": version "2.3.9" resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.9.tgz#d4597dbd4618264c414d7429363e3f50acb66ea2" integrity sha512-xzLEyKB50yqCUPUJkIsrVvoWNfFUbIZI+RspLWt8u+tIW/BetMBZtgV2LY/2o+tYH8dRvQ+eoPf3NdhQCcLE2w== -"@types/systemjs@6.15.3": - version "6.15.3" - resolved "https://registry.yarnpkg.com/@types/systemjs/-/systemjs-6.15.3.tgz#d758dceafee62d2ed4aad7d07342b145d623e260" - integrity sha512-STyj2LUevlyVqEQ1wjOORLQTJbNnM2V1DNzmemxVHlOovdKBKqccALDbR9aCcTRThhcXzew88SMbN4SMm6JOcw== +"@types/systemjs@6.15.4": + version "6.15.4" + resolved "https://registry.yarnpkg.com/@types/systemjs/-/systemjs-6.15.4.tgz#52a492b5cf7db75fadcd7b355f796244dc41803d" + integrity sha512-GUosUMKBP5ZH2xvB6bqSccmjcX0Jz0SMM9i+AjefCucIQQ8Hi0yWIGLLuyuvTF6kgFJkLXxldD31DSu4R5Eq0w== "@types/tinycolor2@^1.4.6": version "1.4.6" @@ -2470,101 +2466,101 @@ resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.7.tgz#baccb07a970b91707df3a3e8ba6896c57ead2d11" integrity sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw== -"@typescript-eslint/eslint-plugin@8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.54.0.tgz#d8899e5c2eccf5c4a20d01c036a193753748454d" - integrity sha512-hAAP5io/7csFStuOmR782YmTthKBJ9ND3WVL60hcOjvtGFb+HJxH4O5huAcmcZ9v9G8P+JETiZ/G1B8MALnWZQ== +"@typescript-eslint/eslint-plugin@8.72.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.0.tgz#9855d73bcc4e9d074cac3a0b8c244a4966e519ba" + integrity sha512-aysKgysPX9XOv/dk95UkvUDe++Q3n3dJPG9CEWT3RUccxfkPJ+Qn6nhKPDhZXU6Ofo9kgwGWwKyQCnZIXTgngg== dependencies: "@eslint-community/regexpp" "^4.12.2" - "@typescript-eslint/scope-manager" "8.54.0" - "@typescript-eslint/type-utils" "8.54.0" - "@typescript-eslint/utils" "8.54.0" - "@typescript-eslint/visitor-keys" "8.54.0" + "@typescript-eslint/scope-manager" "8.72.0" + "@typescript-eslint/type-utils" "8.72.0" + "@typescript-eslint/utils" "8.72.0" + "@typescript-eslint/visitor-keys" "8.72.0" ignore "^7.0.5" natural-compare "^1.4.0" - ts-api-utils "^2.4.0" + ts-api-utils "^2.5.0" -"@typescript-eslint/parser@8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.54.0.tgz#3d01a6f54ed247deb9982621f70e7abf1810bd97" - integrity sha512-BtE0k6cjwjLZoZixN0t5AKP0kSzlGu7FctRXYuPAm//aaiZhmfq1JwdYpYr1brzEspYyFeF+8XF5j2VK6oalrA== +"@typescript-eslint/parser@8.72.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.72.0.tgz#e90d951ba97c6e2d8f1032f048292b7e39d8a019" + integrity sha512-0O+x3ynciD6zuXb1CKSu165haQV6ey53DKhHHUnujP7U+XlltJG+/keT0Xhd1HXCze+IHf7Tvt39ovyepX/LNw== dependencies: - "@typescript-eslint/scope-manager" "8.54.0" - "@typescript-eslint/types" "8.54.0" - "@typescript-eslint/typescript-estree" "8.54.0" - "@typescript-eslint/visitor-keys" "8.54.0" + "@typescript-eslint/scope-manager" "8.72.0" + "@typescript-eslint/types" "8.72.0" + "@typescript-eslint/typescript-estree" "8.72.0" + "@typescript-eslint/visitor-keys" "8.72.0" debug "^4.4.3" -"@typescript-eslint/project-service@8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.54.0.tgz#f582aceb3d752544c8e1b11fea8d95d00cf9adc6" - integrity sha512-YPf+rvJ1s7MyiWM4uTRhE4DvBXrEV+d8oC3P9Y2eT7S+HBS0clybdMIPnhiATi9vZOYDc7OQ1L/i6ga6NFYK/g== +"@typescript-eslint/project-service@8.72.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.72.0.tgz#7667745dee47f92eaf12082b0e33b76db4338423" + integrity sha512-bzHngBbmIgzj6TsTjVUCntGx6FFLgE7mPjpO0PzHycOaZHXqS43XnrkFIHRS16LLr/xO6FHSXG3GJFo/F4bSBQ== dependencies: - "@typescript-eslint/tsconfig-utils" "^8.54.0" - "@typescript-eslint/types" "^8.54.0" + "@typescript-eslint/tsconfig-utils" "^8.72.0" + "@typescript-eslint/types" "^8.72.0" debug "^4.4.3" -"@typescript-eslint/scope-manager@8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.54.0.tgz#307dc8cbd80157e2772c2d36216857415a71ab33" - integrity sha512-27rYVQku26j/PbHYcVfRPonmOlVI6gihHtXFbTdB5sb6qA0wdAQAbyXFVarQ5t4HRojIz64IV90YtsjQSSGlQg== +"@typescript-eslint/scope-manager@8.72.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.72.0.tgz#673cf580ef6e2377a5ef42a7bee7c7808e0fb886" + integrity sha512-JewPyJOYcXBSAS7PIgufscHOwZqhTGyBRiQJhhuDln66tMchxvvt7nJ90JKKIoOelmdHA3kAQbm9cEUHc4JSEA== dependencies: - "@typescript-eslint/types" "8.54.0" - "@typescript-eslint/visitor-keys" "8.54.0" + "@typescript-eslint/types" "8.72.0" + "@typescript-eslint/visitor-keys" "8.72.0" -"@typescript-eslint/tsconfig-utils@8.54.0", "@typescript-eslint/tsconfig-utils@^8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.54.0.tgz#71dd7ba1674bd48b172fc4c85b2f734b0eae3dbc" - integrity sha512-dRgOyT2hPk/JwxNMZDsIXDgyl9axdJI3ogZ2XWhBPsnZUv+hPesa5iuhdYt2gzwA9t8RE5ytOJ6xB0moV0Ujvw== +"@typescript-eslint/tsconfig-utils@8.72.0", "@typescript-eslint/tsconfig-utils@^8.72.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.0.tgz#a71e770c420ccbd7afc081f388bfa87d1958dc16" + integrity sha512-0vbxCf7xLVPSjcOdm6eQbgViH8EDJ8xnl1laLT9yoqSz2YmcSfSg5Vdl0JUvZf6rcuJ0ZivJIuMD4edTg8obaA== -"@typescript-eslint/type-utils@8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.54.0.tgz#64965317dd4118346c2fa5ee94492892200e9fb9" - integrity sha512-hiLguxJWHjjwL6xMBwD903ciAwd7DmK30Y9Axs/etOkftC3ZNN9K44IuRD/EB08amu+Zw6W37x9RecLkOo3pMA== +"@typescript-eslint/type-utils@8.72.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.72.0.tgz#b66543c7a5cb3c1447bc455222b8c02b7499a8ea" + integrity sha512-gEXxmmbSTSOVTC37IYYvremOM31v+UN2W772bJxmVYPhAOPSUxtacyb7wkm1EhkYKU6KzFJsdU44DCV4to0LWw== dependencies: - "@typescript-eslint/types" "8.54.0" - "@typescript-eslint/typescript-estree" "8.54.0" - "@typescript-eslint/utils" "8.54.0" + "@typescript-eslint/types" "8.72.0" + "@typescript-eslint/typescript-estree" "8.72.0" + "@typescript-eslint/utils" "8.72.0" debug "^4.4.3" - ts-api-utils "^2.4.0" - -"@typescript-eslint/types@8.54.0", "@typescript-eslint/types@^8.0.0", "@typescript-eslint/types@^8.53.1", "@typescript-eslint/types@^8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.54.0.tgz#c12d41f67a2e15a8a96fbc5f2d07b17331130889" - integrity sha512-PDUI9R1BVjqu7AUDsRBbKMtwmjWcn4J3le+5LpcFgWULN3LvHC5rkc9gCVxbrsrGmO1jfPybN5s6h4Jy+OnkAA== - -"@typescript-eslint/typescript-estree@8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.54.0.tgz#3c7716905b2b811fadbd2114804047d1bfc86527" - integrity sha512-BUwcskRaPvTk6fzVWgDPdUndLjB87KYDrN5EYGetnktoeAvPtO4ONHlAZDnj5VFnUANg0Sjm7j4usBlnoVMHwA== - dependencies: - "@typescript-eslint/project-service" "8.54.0" - "@typescript-eslint/tsconfig-utils" "8.54.0" - "@typescript-eslint/types" "8.54.0" - "@typescript-eslint/visitor-keys" "8.54.0" + ts-api-utils "^2.5.0" + +"@typescript-eslint/types@8.72.0", "@typescript-eslint/types@^8.0.0", "@typescript-eslint/types@^8.58.0", "@typescript-eslint/types@^8.72.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.72.0.tgz#d90bb9954fefa13acbcdb43bb7c0155f74d60fca" + integrity sha512-Adfoy59kxNEjT5E5fnyrp7GpHYuWs8ONbdohu4ez6IU46qDq8LltG90tLmkucZB2uhYL8mqBjtXqGd8yhfjXqQ== + +"@typescript-eslint/typescript-estree@8.72.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.0.tgz#e20f08b852484a49af7fe621d264e8e73138308b" + integrity sha512-gwLfFgWcw15tN2KXDCJvxEOQjPn+P3j/n3eSqkZ5sX4VpW9Cosodr+tWwBZRvJT3TcKx6HnPRGZMCNAiP1Xhug== + dependencies: + "@typescript-eslint/project-service" "8.72.0" + "@typescript-eslint/tsconfig-utils" "8.72.0" + "@typescript-eslint/types" "8.72.0" + "@typescript-eslint/visitor-keys" "8.72.0" debug "^4.4.3" - minimatch "^9.0.5" + minimatch "^10.2.2" semver "^7.7.3" tinyglobby "^0.2.15" - ts-api-utils "^2.4.0" + ts-api-utils "^2.5.0" -"@typescript-eslint/utils@8.54.0", "@typescript-eslint/utils@^8.0.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.54.0.tgz#c79a4bcbeebb4f571278c0183ed1cb601d84c6c8" - integrity sha512-9Cnda8GS57AQakvRyG0PTejJNlA2xhvyNtEVIMlDWOOeEyBkYWhGPnfrIAnqxLMTSTo6q8g12XVjjev5l1NvMA== +"@typescript-eslint/utils@8.72.0", "@typescript-eslint/utils@^8.0.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.72.0.tgz#12de2367030571a0b1d855999cdd5d614cfe7e8b" + integrity sha512-0up3oArJZBYnzOaEXKo8DmI43QvMZyPoFEt9LWzRJcyl/RcJjfKKPebknN1VbTgXBf3M/KggUh5uUMdURLnseg== dependencies: "@eslint-community/eslint-utils" "^4.9.1" - "@typescript-eslint/scope-manager" "8.54.0" - "@typescript-eslint/types" "8.54.0" - "@typescript-eslint/typescript-estree" "8.54.0" + "@typescript-eslint/scope-manager" "8.72.0" + "@typescript-eslint/types" "8.72.0" + "@typescript-eslint/typescript-estree" "8.72.0" -"@typescript-eslint/visitor-keys@8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.54.0.tgz#0e4b50124b210b8600b245dd66cbad52deb15590" - integrity sha512-VFlhGSl4opC0bprJiItPQ1RfUhGDIBokcPwaFH4yiBCaNPeld/9VeXbiPO1cLyorQi1G1vL+ecBk1x8o1axORA== +"@typescript-eslint/visitor-keys@8.72.0": + version "8.72.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.0.tgz#e96d7faafae685e0a0f276dc59b00e9c0ad95869" + integrity sha512-E2mroviasaWecDzTGiGMtuEguuLVOeRggnrIn93CJuxYJzQBHbyymlT08aVQydbBal5538o+JkBKXh2sRuCyIA== dependencies: - "@typescript-eslint/types" "8.54.0" - eslint-visitor-keys "^4.2.1" + "@typescript-eslint/types" "8.72.0" + eslint-visitor-keys "^5.0.0" "@upsetjs/venn.js@^2.0.0": version "2.0.0" @@ -2602,10 +2598,10 @@ accepts@^2.0.0: mime-types "^3.0.0" negotiator "^1.0.0" -ace-builds@1.43.6: - version "1.43.6" - resolved "https://registry.yarnpkg.com/ace-builds/-/ace-builds-1.43.6.tgz#6feffd0283da5bbf45a2052470fe0fc3c442831a" - integrity sha512-L1ddibQ7F3vyXR2k2fg+I8TQTPWVA6CKeDQr/h2+8CeyTp3W6EQL8xNFZRTztuP8xNOAqL3IYPqdzs31GCjDvg== +ace-builds@1.45.2: + version "1.45.2" + resolved "https://registry.yarnpkg.com/ace-builds/-/ace-builds-1.45.2.tgz#3c1721d1b6a5e8253d91a0c12b682dd0db5fb015" + integrity sha512-a0IADaETGBnBW5CIkniUJn7F+NyTuHWKqlv1A8FXaMmFflJsMGnU3TzkiyslInqIZ3odfcVKOdXBGIKBefzFDA== ace-diff@^3.3.0: version "3.3.0" @@ -2890,13 +2886,13 @@ async@~2.6.3: dependencies: lodash "^4.17.14" -autoprefixer@^10.4.23: - version "10.4.23" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.23.tgz#c6aa6db8e7376fcd900f9fd79d143ceebad8c4e6" - integrity sha512-YYTXSFulfwytnjAPlw8QHncHJmlvFKtczb8InXaAx9Q0LbfDnfEYDE55omerIJKihhmU61Ft+cAOSzQVaBUmeA== +autoprefixer@^10.6.1: + version "10.6.1" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.6.1.tgz#437cea1a0b96cedc4065c05327b728b1594faf27" + integrity sha512-cL1Qz6ADZhcEbny/8HPfe99J6HhNoYtpX2LFLIbhgGE7Q1hlQVkYFdetDN7Id3KiQxhDrHwzlHr/YQCnZ8+xSA== dependencies: - browserslist "^4.28.1" - caniuse-lite "^1.0.30001760" + browserslist "^4.28.9" + caniuse-lite "^1.0.30001810" fraction.js "^5.3.4" picocolors "^1.1.1" postcss-value-parser "^4.2.0" @@ -2928,10 +2924,10 @@ base64-arraybuffer@^1.0.2: resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz#1c37589a7c4b0746e34bd1feb951da2df01c1bdc" integrity sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ== -baseline-browser-mapping@^2.11.20: - version "2.11.21" - resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.11.21.tgz#99af73cb8e54007e4f5345e132278e26c2662f2c" - integrity sha512-uh8vpY/1/YyFkunIDFH/12p7/7VdPKA1hejMVEbdkEaWnUz0Hesvx5EbiU6XxjyHZIOju+ZMbQJkRh+es3/spQ== +baseline-browser-mapping@^2.11.29: + version "2.11.31" + resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.11.31.tgz#09d43ad2aafb3da96c82c8478e70e679ee1235a8" + integrity sha512-b0k7wXlWjpuL/Uxb/pYlpjY0ej5BjAmurtPUk3eRGuloI4yjK32m8TiKUQ81l1ptcLjKS/KH2+uqIolZti1x4Q== beasties@0.3.5: version "0.3.5" @@ -2965,19 +2961,19 @@ binary-extensions@^2.0.0: integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== body-parser@^2.2.1: - version "2.2.2" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.2.2.tgz#1a32cdb966beaf68de50a9dfbe5b58f83cb8890c" - integrity sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA== + version "2.4.0" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.4.0.tgz#337a76249270f83e450ad385a9606ca3b4a75c06" + integrity sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ== dependencies: bytes "^3.1.2" - content-type "^1.0.5" + content-type "^2.1.0" debug "^4.4.3" - http-errors "^2.0.0" - iconv-lite "^0.7.0" + http-errors "^2.0.1" + iconv-lite "^0.7.3" on-finished "^2.4.1" - qs "^6.14.1" - raw-body "^3.0.1" - type-is "^2.0.1" + qs "^6.16.1" + raw-body "^3.0.2" + type-is "^2.1.0" boolbase@^1.0.0: version "1.0.0" @@ -2992,7 +2988,7 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -brace-expansion@^5.0.2: +brace-expansion@^5.0.2, brace-expansion@^5.0.8: version "5.0.12" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-5.0.12.tgz#995fbb4750a77c4d16a7dc942ff2ca6ef8e675ec" integrity sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ== @@ -3006,16 +3002,16 @@ braces@^3.0.3, braces@~3.0.2: dependencies: fill-range "^7.1.1" -browserslist@^4.23.0, browserslist@^4.24.0, browserslist@^4.28.1: - version "4.28.9" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.9.tgz#07ce6b449b90af880eb9bfb7cd39372cc4f71c8c" - integrity sha512-EWazOblFYUvlGZcfGhPUPmYh3nikUxBVb+y9MJun5f3hBi812X+8MSQTujLBtgK3cf51fJWbWfOjyeO954d+Eg== +browserslist@^4.23.0, browserslist@^4.24.0, browserslist@^4.28.9: + version "4.29.4" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.29.4.tgz#c1efdbce30bc57a44e5a4bd849ff8e64d6a141b2" + integrity sha512-2TcbbiwXEq+N0kD36tykpCfyyQigUXmuwNQbnPp4Xk4PX9JOqVIKjJlIDjpH7uY6tmRGoAd+apeT1p60T8wsdA== dependencies: - baseline-browser-mapping "^2.11.20" - caniuse-lite "^1.0.30001810" - electron-to-chromium "^1.5.420" - node-releases "^2.0.54" - update-browserslist-db "^1.3.2" + baseline-browser-mapping "^2.11.29" + caniuse-lite "^1.0.30001816" + electron-to-chromium "^1.5.459" + node-releases "^2.0.59" + update-browserslist-db "^1.3.4" buffer-from@^1.0.0: version "1.1.2" @@ -3085,10 +3081,10 @@ camelcase@^5.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -caniuse-lite@^1.0.30001760, caniuse-lite@^1.0.30001810: - version "1.0.30001810" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz#4970b477dea3278374de9bc43aa8f5d39fc3cda2" - integrity sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg== +caniuse-lite@^1.0.30001810, caniuse-lite@^1.0.30001816: + version "1.0.30001819" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001819.tgz#4a0f8d7552a15909ce8a0c1dc2ccad9c8c0fab9d" + integrity sha512-LFUqIIAwpzsIuevnKnsR9qnStBcgzPShTX61lBwN9uFkkf8o8zLiebEjbW8AYtZiF+1YKDWfdt/pWDtMuG8Xwg== canvas-gauges@^2.1.7: version "2.1.7" @@ -3122,24 +3118,6 @@ chardet@^2.1.1: resolved "https://registry.yarnpkg.com/chardet/-/chardet-2.1.1.tgz#5c75593704a642f71ee53717df234031e65373c8" integrity sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ== -chevrotain-allstar@~0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/chevrotain-allstar/-/chevrotain-allstar-0.4.1.tgz#04e1429faca94a14d4572e0107c4865beac36298" - integrity sha512-PvVJm3oGqrveUVW2Vt/eZGeiAIsJszYweUcYwcskg9e+IubNYKKD+rHHem7A6XVO22eDAL+inxNIGAzZ/VIWlA== - dependencies: - lodash-es "^4.17.21" - -chevrotain@~12.0.0: - version "12.0.0" - resolved "https://registry.yarnpkg.com/chevrotain/-/chevrotain-12.0.0.tgz#8ebefe0a0516b1b314a8d9c7f4e948a509098d1c" - integrity sha512-csJvb+6kEiQaqo1woTdSAuOWdN0WTLIydkKrBnS+V5gZz0oqBrp4kQ35519QgK6TpBThiG3V1vNSHlIkv4AglQ== - dependencies: - "@chevrotain/cst-dts-gen" "12.0.0" - "@chevrotain/gast" "12.0.0" - "@chevrotain/regexp-to-ast" "12.0.0" - "@chevrotain/types" "12.0.0" - "@chevrotain/utils" "12.0.0" - chokidar@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" @@ -3298,10 +3276,10 @@ commander@^8.3.0: resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== -comment-parser@1.4.5: - version "1.4.5" - resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.4.5.tgz#6c595cd090737a1010fe5ff40d86e1d21b7bd6ce" - integrity sha512-aRDkn3uyIlCFfk5NUA+VdwMmMsh8JGhc4hapfV4yxymHGQ3BVskMQfoXGpCo5IoBuQ9tS5iiVKhCpTcB4pW4qw== +comment-parser@1.4.6: + version "1.4.6" + resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.4.6.tgz#49a6b1d53fa563324f7577ab8c0b26db4e7d1f9a" + integrity sha512-ObxuY6vnbWTN6Od72xfwN9DbzC7Y2vv8u1Soi9ahRKL37gb6y1qk6/dgjs+3JWuXJHWvsg3BXIwzd/rkmAwavg== concat-map@0.0.1: version "0.0.1" @@ -3313,6 +3291,11 @@ confbox@^0.1.8: resolved "https://registry.yarnpkg.com/confbox/-/confbox-0.1.8.tgz#820d73d3b3c82d9bd910652c5d4d599ef8ff8b06" integrity sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w== +confbox@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/confbox/-/confbox-0.3.1.tgz#79aa91893791a202fb349fb367e7320423f7c76e" + integrity sha512-cKUSoKa8YxFZZSmraVi7onONx3amu77ngK3kGpsYHDH7drPwCRkQE1RYMPlLRrMtnciRj274XNRxcHxnKmDSnA== + config-chain@^1.1.13: version "1.1.13" resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" @@ -3331,6 +3314,11 @@ content-type@^1.0.5: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== +content-type@^2.0.0, content-type@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-2.1.0.tgz#d9389c43c0a8cf6a355db464d21e07092a40493a" + integrity sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag== + convert-source-map@^1.5.1: version "1.9.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" @@ -3351,10 +3339,10 @@ cookie@^0.7.1: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== -core-js@^3.48.0: - version "3.48.0" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.48.0.tgz#1f813220a47bbf0e667e3885c36cd6f0593bf14d" - integrity sha512-zpEHTy1fjTMZCKLHUZoVeylt9XrzaIN2rbPXEt0k+q7JE5CkCZdo6bNq55bn24a69CH7ErAVLKijxJja4fw+UQ== +core-js@^3.51.0: + version "3.51.0" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.51.0.tgz#9a7b197159ab83173b50efbe0c4846bec94b3abb" + integrity sha512-7bDKx/5jm5MxzsXxc93g6Z2+4ZsuT/MddrfRmTDJNAkWsYWHU8EVNEsBiIEWnMAMCHMmRfUEjkuo3jeNBOIHRw== core-util-is@~1.0.0: version "1.0.3" @@ -3439,10 +3427,10 @@ cytoscape-fcose@^2.2.0: dependencies: cose-base "^2.2.0" -cytoscape@^3.33.1: - version "3.33.2" - resolved "https://registry.yarnpkg.com/cytoscape/-/cytoscape-3.33.2.tgz#3a58906b4002b7c237f54dfc9b971983757da791" - integrity sha512-sj4HXd3DokGhzZAdjDejGvTPLqlt84vNFN8m7bGsOzDY5DyVcxIb2ejIXat2Iy7HxWhdT/N1oKyheJ5YdpsGuw== +cytoscape@^3.34.0: + version "3.34.4" + resolved "https://registry.yarnpkg.com/cytoscape/-/cytoscape-3.34.4.tgz#20cbd1b1f8cb2e25699bdf68887564fc3c74b375" + integrity sha512-msY99tMY8iWTg+sIPGfSqDcPNOt4xcj+v/K/7qUFaCUxxlqnMkUYLBjRUzn9W5CU/R2hrmtJa5+UtovrEM2ctg== "d3-array@1 - 2": version "2.12.1" @@ -3755,10 +3743,10 @@ data-view-byte-offset@^1.0.1: es-errors "^1.3.0" is-data-view "^1.0.1" -dayjs@1.11.20, dayjs@^1.11.19, dayjs@^1.11.5: - version "1.11.20" - resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.20.tgz#88d919fd639dc991415da5f4cb6f1b6650811938" - integrity sha512-YbwwqR/uYpeoP4pu043q+LTDLFBLApUP6VxRihdfNTqu4ubqMlGDLd6ErXhEgsyvY0K6nCs7nggYumAN+9uEuQ== +dayjs@1.11.23, dayjs@^1.11.21, dayjs@^1.11.5: + version "1.11.23" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.23.tgz#b0a363506dde5f36cf5075e42ebe8115165a8c79" + integrity sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ== debug@4, debug@^4.1.0, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@^4.4.0, debug@^4.4.3: version "4.4.3" @@ -3847,19 +3835,19 @@ didyoumean@^1.2.2: integrity sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw== diff@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" - integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + version "4.0.4" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.4.tgz#7a6dbfda325f25f07517e9b518f897c08332e07d" + integrity sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ== dijkstrajs@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/dijkstrajs/-/dijkstrajs-1.0.3.tgz#4c8dbdea1f0f6478bff94d9c49c784d623e4fc23" integrity sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA== -directory-tree@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/directory-tree/-/directory-tree-3.5.2.tgz#bdc4948ec6b357cb1afdf63c719acc8d9e42ce30" - integrity sha512-DsOqeZEHkZnZrVOJG3mE/J9M6J8PulImiC6I1ZpoprVlfno8GvLOPDMkxiJihklLK7B9aVudG463L1+S/kzjiw== +directory-tree@^3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/directory-tree/-/directory-tree-3.6.0.tgz#f8530bff482c8c420e01874aea3bb95744f5a5e4" + integrity sha512-rTMWs+zxr0QEbzQKRfwV6SeEy+zIHFkorskI4bhG2o7ayr82c+FC7yWg3yLpurgp6Hs2NGy1NWrKIaDodr2r8A== dependencies: command-line-args "^5.2.0" command-line-usage "^6.1.1" @@ -3897,10 +3885,10 @@ domhandler@^5.0.2, domhandler@^5.0.3: dependencies: domelementtype "^2.3.0" -dompurify@^3.3.1: - version "3.4.0" - resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.4.0.tgz#b1fc33ebdadb373241621e0a30e4ad81573dfd0b" - integrity sha512-nolgK9JcaUXMSmW+j1yaSvaEaoXYHwWyGJlkoCTghc97KgGDDSnpoU/PlEnw63Ah+TGKFOyY+X5LnxaWbCSfXg== +dompurify@^3.3.3: + version "3.4.17" + resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.4.17.tgz#074bbb24eaa419535ac19ffe7f663104b0e1543d" + integrity sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w== optionalDependencies: "@types/trusted-types" "^2.0.7" @@ -3922,10 +3910,10 @@ dunder-proto@^1.0.0, dunder-proto@^1.0.1: es-errors "^1.3.0" gopd "^1.2.0" -earcut@^3.2.3: - version "3.2.3" - resolved "https://registry.yarnpkg.com/earcut/-/earcut-3.2.3.tgz#74aec19555a7e28773429826729d2e4bfeb19022" - integrity sha512-vnS4AVwp1KHAF13i1vp1/2D5evWy3k5u/iW/B81QVsUZtV8cv2tU0b2VNFlqvh4kYwrFMDdjPCfAmfyJW9y14Q== +earcut@^3.2.4: + version "3.2.4" + resolved "https://registry.yarnpkg.com/earcut/-/earcut-3.2.4.tgz#a030635fbb9a639984ce0e319b0f16e17e6e15ad" + integrity sha512-FHc6yNpnTORB0tM5kmZ03iD2mDuNakDE2lvf4Hw1XkfxtEHIGVi01B/GqUSwx+NcC1WGjidAfpTXzeALtPtfpg== eastasianwidth@^0.2.0: version "0.2.0" @@ -3954,10 +3942,10 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== -electron-to-chromium@^1.5.420: - version "1.5.423" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.423.tgz#a889901c162e1de2830b456d1c61d323ad2887bf" - integrity sha512-rRZfTSY8ptHYMQxa+uIycJMFKmY1T0GIApNMXJYGehguTZa56TEEl19pKPCoBqk5Gpf7QizZn/jt7xur+DYxag== +electron-to-chromium@^1.5.459: + version "1.5.463" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.463.tgz#c50be24baa76934f377198071e76b53e9685a301" + integrity sha512-nVWNU6ltFjopvOdD44J4zoBkgO0M+WZiFKKFV7EjebOH9z0KNphk6bCEjplXtJofL21ARIuuwWOCsFkBVklm6w== emoji-regex@^10.3.0: version "10.6.0" @@ -3991,6 +3979,14 @@ encoding@^0.1.13: dependencies: iconv-lite "^0.6.2" +enhanced-resolve@^5.18.1: + version "5.26.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz#9dfb47d050ed6c87f2c6d43b4d7e30f8c0a91ed7" + integrity sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.3.3" + entities@^4.2.0: version "4.5.0" resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" @@ -4124,6 +4120,11 @@ es-to-primitive@^1.3.0: is-date-object "^1.0.5" is-symbol "^1.0.4" +es-toolkit@^1.45.1: + version "1.52.0" + resolved "https://registry.yarnpkg.com/es-toolkit/-/es-toolkit-1.52.0.tgz#71eaf1a8b18834ef77637eccbb885ba4c03cd6dd" + integrity sha512-XTNEJQh1tY1ZJVcf6ayP/2n4ZPyaHlW2FWs7xvw5ddPuhUVjLD3olQVQS7kf58JbAB48iL0uL/jerTrjtV3lDA== + esbuild@0.28.1, "esbuild@^0.27.0 || ^0.28.0": version "0.28.1" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.28.1.tgz#ef45b4634c9c9d97a296aea4114a5f9840f95578" @@ -4217,23 +4218,23 @@ eslint-plugin-import@^2.32.0: string.prototype.trimend "^1.0.9" tsconfig-paths "^3.15.0" -eslint-plugin-jsdoc@^62.4.1: - version "62.4.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-62.4.1.tgz#6ad51350c364597dadf820e690f846d5b43b4e07" - integrity sha512-HgX2iN4j104D/mCUqRbhtzSZbph+KO9jfMHiIJjJ19Q+IwLQ5Na2IqvOJYq4S+4kgvEk1w6KYF4vVus6H2wcHg== +eslint-plugin-jsdoc@^62.9.0: + version "62.9.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-62.9.0.tgz#a4902f6978b1e7cc5c5d1a528ecf7d8c7ce716d9" + integrity sha512-PY7/X4jrVgoIDncUmITlUqK546Ltmx/Pd4Hdsu4CvSjryQZJI2mEV4vrdMufyTetMiZ5taNSqvK//BTgVUlNkA== dependencies: - "@es-joy/jsdoccomment" "~0.83.0" + "@es-joy/jsdoccomment" "~0.86.0" "@es-joy/resolve.exports" "1.2.0" are-docs-informative "^0.0.2" - comment-parser "1.4.5" + comment-parser "1.4.6" debug "^4.4.3" escape-string-regexp "^4.0.0" - espree "^11.1.0" + espree "^11.2.0" esquery "^1.7.0" html-entities "^2.6.0" object-deep-merge "^2.0.0" parse-imports-exports "^0.2.4" - semver "^7.7.3" + semver "^7.7.4" spdx-expression-parse "^4.0.0" to-valid-identifier "^1.0.0" @@ -4242,13 +4243,15 @@ eslint-plugin-prefer-arrow@^1.2.3: resolved "https://registry.yarnpkg.com/eslint-plugin-prefer-arrow/-/eslint-plugin-prefer-arrow-1.2.3.tgz#e7fbb3fa4cd84ff1015b9c51ad86550e55041041" integrity sha512-J9I5PKCOJretVuiZRGvPQxCbllxGAV/viI20JO3LYblAodofBxyMnZAJ+WGeClHgANnSJberTNoFWWjrWKBuXQ== -eslint-plugin-tailwindcss@^3.18.2: - version "3.18.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.18.2.tgz#c67ff432cfad470dae54998b3bc6811af81f9087" - integrity sha512-QbkMLDC/OkkjFQ1iz/5jkMdHfiMu/uwujUHLAJK5iwNHD8RTxVTlsUezE0toTZ6VhybNBsk+gYGPDq2agfeRNA== +eslint-plugin-tailwindcss@^3.18.3: + version "3.18.3" + resolved "https://registry.yarnpkg.com/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.18.3.tgz#64716cd4baf8231181fae254a1a6bf20ebc61860" + integrity sha512-lqjNX7mt1Ip2qR236hvhbZ9ff2TFLUWou+tBHz82SA1nWFzOZSoEOI+9UBZmuf2977r2MMp9/y3/broyz8AYig== dependencies: fast-glob "^3.2.5" postcss "^8.4.4" + synckit "^0.11.4" + tailwind-api-utils "^1.0.3" eslint-scope@^8.4.0: version "8.4.0" @@ -4283,6 +4286,11 @@ eslint-visitor-keys@^5.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-5.0.0.tgz#b9aa1a74aa48c44b3ae46c1597ce7171246a94a9" integrity sha512-A0XeIi7CXU7nPlfHS9loMYEKxUaONu/hTEzHTGba9Huu94Cq1hPivf+DE5erJozZOky0LfvXAyrV/tcswpLI0Q== +eslint-visitor-keys@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz#9e3c9489697824d2d4ce3a8ad12628f91e9f59be" + integrity sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA== + eslint@9.39.5: version "9.39.5" resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.39.5.tgz#2a4e3c8b0f753196efae943c8ffaa8730fc6a3fa" @@ -4332,14 +4340,14 @@ espree@^10.0.1, espree@^10.4.0: acorn-jsx "^5.3.2" eslint-visitor-keys "^4.2.1" -espree@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/espree/-/espree-11.1.0.tgz#7d0c82a69f8df670728dba256264b383fbf73e8f" - integrity sha512-WFWYhO1fV4iYkqOOvq8FbqIhr2pYfoDY0kCotMkDeNtGpiGGkZ1iov2u8ydjtgM8yF8rzK7oaTbw2NAzbAbehw== +espree@^11.2.0: + version "11.2.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-11.2.0.tgz#01d5e47dc332aaba3059008362454a8cc34ccaa5" + integrity sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw== dependencies: - acorn "^8.15.0" + acorn "^8.16.0" acorn-jsx "^5.3.2" - eslint-visitor-keys "^5.0.0" + eslint-visitor-keys "^5.0.1" esquery@^1.5.0, esquery@^1.7.0: version "1.7.0" @@ -4439,6 +4447,11 @@ express@^5.2.1: type-is "^2.0.1" vary "^1.1.2" +exsolve@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/exsolve/-/exsolve-1.1.3.tgz#175a6336d6cb1c9cfee822a092665ee0b79e716d" + integrity sha512-kuzL9zherLQoqDeQaS55AiiIg1kb4KYXaSusTtgZTPlvKP2gGCI82LNmBNh5RjDVUXIcmgx+/Mx7vPwRzBbhJA== + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" @@ -4466,9 +4479,16 @@ fast-levenshtein@^2.0.6: integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== fast-uri@^3.0.1: - version "3.1.7" - resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.7.tgz#743157d957f3cbb4c65310e033dc2ad4ad7dc60a" - integrity sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg== + version "3.1.9" + resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.9.tgz#f1deba822b1d6ac79da2f860e872a63470cff203" + integrity sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ== + +fastdom@1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/fastdom/-/fastdom-1.0.12.tgz#ae43d55af017252ae499b2e186511ab97412de39" + integrity sha512-LB+xjSTEbjHE1cWsxu+tN2Xqr1kpi+V9aADI7sVM5ZMaXyYGPHULQMzpJMYqOTULK/73pUkWVzzObFRBkPr+hg== + dependencies: + strictdom "^1.0.1" fastq@^1.6.0: version "1.17.1" @@ -4775,7 +4795,7 @@ gopd@^1.0.1, gopd@^1.2.0: resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== -graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.6: +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -4839,9 +4859,9 @@ hasown@^2.0.2: function-bind "^1.1.2" hono@^4.11.4: - version "4.12.25" - resolved "https://registry.yarnpkg.com/hono/-/hono-4.12.25.tgz#f2d9996a54e8c9c0c5f5de1c8f3a962e43a98c4e" - integrity sha512-2NFaIyNVgJmBs/ecmtGzlmluTFs5cHEWGTdu0t1HBwYzoGXOL5nUQBRMXsXWla5i4KkG//QMzVP88m1+I3fdAQ== + version "4.13.13" + resolved "https://registry.yarnpkg.com/hono/-/hono-4.13.13.tgz#8dd5459ce4aa44b3e297f0b350f86b0f6d4a79f0" + integrity sha512-CQ46U0ZkAGmbT/4UxdzzGJpacP2IeKgY4a5/tOI9AABbpOMfK739wfDXmv1usCk+3RkKj1hQy4/fjhiwa2xlrA== hosted-git-info@^9.0.0: version "9.0.2" @@ -4905,10 +4925,10 @@ https-proxy-agent@7.0.6, https-proxy-agent@^7.0.1: agent-base "^7.1.2" debug "4" -hugerte@~1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/hugerte/-/hugerte-1.0.12.tgz#84337116bd7e76c39e851a51d5dc0214af9882b8" - integrity sha512-/JDCdJy1C83a7+RjlfWx6EjRvxqmmHFA5Pzcq8Y0ngdBESiC+2xa4ogsqnRPeadF04Cs95YfTd1SKquDdksjRw== +hugerte@~1.0.14: + version "1.0.14" + resolved "https://registry.yarnpkg.com/hugerte/-/hugerte-1.0.14.tgz#584c0b4524eb6e6bf55214d27a9dae3b88ec7beb" + integrity sha512-pwJAt+o6PLH2+jJkyl5kHG54GozXfeaXiyF66khdUqiOUijYhXygK1tgktUZYTk+9ALItrTeX9Icj34JHzMA0A== iconv-lite@0.6, iconv-lite@^0.6.2, iconv-lite@^0.6.3: version "0.6.3" @@ -4924,6 +4944,13 @@ iconv-lite@^0.7.0, iconv-lite@~0.7.0: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" +iconv-lite@^0.7.3: + version "0.7.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.7.3.tgz#84ee12f963e7de50bc01a13e160a078b3b0f415f" + integrity sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + ignore-walk@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-8.0.0.tgz#380c173badc3a18c57ff33440753f0052f572b14" @@ -5004,9 +5031,9 @@ internmap@^1.0.0: integrity sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw== ip-address@^10.0.1, ip-address@^10.2.0: - version "10.5.0" - resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-10.5.0.tgz#fcd6d7dfe9e68416b7cb71afe9bc960b3e38c13b" - integrity sha512-R5SnVLJmgYYvf2F2ZgwSBnelz5G4q5AxIC277GDfUaNbrZKNANcBC7RHqYYePlszf4kBolVkJauG0ZjHHFh55g== + version "10.7.4" + resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-10.7.4.tgz#a5e493fabce725c5d4b8b8f4d2ebb9009fbcf2e8" + integrity sha512-DWBMKyeM25D70nrIiTkgQth59/G+naKOTep6huF9j+GmeK3DMD60Zvxg5d5qQnz+38AHgou6ean2LECX+lrKDg== ipaddr.js@1.9.1: version "1.9.1" @@ -5302,18 +5329,23 @@ jiti@^1.21.7: resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.7.tgz#9dd81043424a3d28458b193d965f0d18a2300ba9" integrity sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A== +jiti@^2.4.2: + version "2.7.0" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-2.7.0.tgz#974228f2f4ca2bc21885a1797b45fea68e950c64" + integrity sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ== + jose@^6.1.3: version "6.1.3" resolved "https://registry.yarnpkg.com/jose/-/jose-6.1.3.tgz#8453d7be88af7bb7d64a0481d6a35a0145ba3ea5" integrity sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ== -jquery.terminal@^2.45.2: - version "2.46.2" - resolved "https://registry.yarnpkg.com/jquery.terminal/-/jquery.terminal-2.46.2.tgz#c508e98f3c617bdc542e2b8bf8d7f063785e80bf" - integrity sha512-/ytW0vxgKGt01ws05DAYsfFtg67fHuqYFRX+30rs6cgfcNt3gHGppyROyOCA6XRBbju5rQSbw4PdfidyA+pfIQ== +jquery.terminal@^2.48.1: + version "2.48.1" + resolved "https://registry.yarnpkg.com/jquery.terminal/-/jquery.terminal-2.48.1.tgz#e7593962e2cdbdf9e2196196b45cca9e255ebb2d" + integrity sha512-yN5Jqn0Ud8X8f4Ha1RRL+GngqSZ7STYgRmRLRc/VFeeZeu3Jo6SSicOSSMddNG2U2PU8v79jM/s/yk+Qy1Uhvg== dependencies: "@jcubic/lily" "^0.3.0" - "@types/jquery" "^3.5.29" + "@types/jquery" "^4.0.1" ansidec "^0.3.4" iconv-lite "^0.6.3" jquery "^3.7.1" @@ -5356,10 +5388,10 @@ js-yaml@^4.3.2: dependencies: argparse "^2.0.1" -jsdoc-type-pratt-parser@~7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-7.1.0.tgz#f2d63cbbc3d0d4eaea257eb5f847e8ebc5908dd5" - integrity sha512-SX7q7XyCwzM/MEDCYz0l8GgGbJAACGFII9+WfNYr5SLEKukHWRy2Jk3iWRe7P+lpYJNs7oQ+OSei4JtKGUjd7A== +jsdoc-type-pratt-parser@~7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-7.2.0.tgz#0a29c27bd4e01e85e4617625e34e797be1486a9b" + integrity sha512-dh140MMgjyg3JhJZY/+iEzW+NO5xR2gpbDFKHqotCmexElVntw7GjWjt511+C/Ef02RU5TKYrJo/Xlzk+OLaTw== jsesc@^3.0.2: version "3.1.0" @@ -5468,20 +5500,20 @@ jstree@^3.3.17: dependencies: jquery "^3.5.0" -jszip@^3.10.1: - version "3.10.1" - resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.10.1.tgz#34aee70eb18ea1faec2f589208a157d1feb091c2" - integrity sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g== +jszip@^3.10.2: + version "3.10.2" + resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.10.2.tgz#9fee8cfaaffb601f6c8796ecc522e4f81cbe88bf" + integrity sha512-3l+rb15IOWtUhU0H5MFqES/T6Kh7abYwjosBey/vD6hDt8zoEffkSC5Ws5SGtgVw3gBx2NEbhTeSW1+kWkpyTQ== dependencies: lie "~3.3.0" pako "~1.0.2" readable-stream "~2.3.6" setimmediate "^1.0.5" -katex@^0.16.0, katex@^0.16.25: - version "0.16.45" - resolved "https://registry.yarnpkg.com/katex/-/katex-0.16.45.tgz#ba60d39c54746b6b8d39ce0e7f6eace07143149c" - integrity sha512-pQpZbdBu7wCTmQUh7ufPmLr0pFoObnGUoL/yhtwJDgmmQpbkg/0HSVti25Fu4rmd1oCR6NGWe9vqTWuWv3GcNA== +katex@^0.16.0, katex@^0.16.47: + version "0.16.47" + resolved "https://registry.yarnpkg.com/katex/-/katex-0.16.47.tgz#0a13a42c2deb4f74e61f162d440b9165a548030f" + integrity sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg== dependencies: commander "^8.3.0" @@ -5509,18 +5541,6 @@ klaw-sync@^6.0.0: dependencies: graceful-fs "^4.1.11" -langium@^4.0.0: - version "4.2.2" - resolved "https://registry.yarnpkg.com/langium/-/langium-4.2.2.tgz#d7409c23475d591ed6fc7d123c396e4fa4134e60" - integrity sha512-JUshTRAfHI4/MF9dH2WupvjSXyn8JBuUEWazB8ZVJUtXutT0doDlAv1XKbZ1Pb5sMexa8FF4CFBc0iiul7gbUQ== - dependencies: - "@chevrotain/regexp-to-ast" "~12.0.0" - chevrotain "~12.0.0" - chevrotain-allstar "~0.4.1" - vscode-languageserver "~9.0.1" - vscode-languageserver-textdocument "~1.0.11" - vscode-uri "~3.1.0" - layout-base@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/layout-base/-/layout-base-1.0.2.tgz#1291e296883c322a9dd4c5dd82063721b53e26e2" @@ -5571,10 +5591,10 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" -libphonenumber-js@^1.12.35: - version "1.12.35" - resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.12.35.tgz#149d4a66b2a7a518998c430c6d33465abaed23c4" - integrity sha512-T/Cz6iLcsZdb5jDncDcUNhSAJ0VlSC9TnsqtBNdpkaAmy24/R1RhErtNWVWBrcUZKs9hSgaVsBkc7HxYnazIfw== +libphonenumber-js@^1.13.15: + version "1.13.15" + resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.13.15.tgz#da973cc4b7cf178acff24bece8b9c2eefdf98818" + integrity sha512-AHdhEQeDFEJ4GKDAQ9AwxChy+v2kUILUB3TGQRpkXMkWePjXTU/WQEzWVQoIx/Gz8fE73Wr5SEuZCy2vk8jrMQ== lie@~3.3.0: version "3.3.0" @@ -5624,6 +5644,15 @@ lmdb@3.4.2: "@lmdb/lmdb-win32-arm64" "3.4.2" "@lmdb/lmdb-win32-x64" "3.4.2" +local-pkg@^1.1.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/local-pkg/-/local-pkg-1.2.1.tgz#9628389399851d78f3b50c9236eddb02f0c31b2b" + integrity sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q== + dependencies: + mlly "^1.7.4" + pkg-types "^2.3.0" + quansync "^0.2.11" + locate-path@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" @@ -5638,7 +5667,7 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash-es@^4.17.21, lodash-es@^4.17.23: +lodash-es@^4.17.21: version "4.18.1" resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.18.1.tgz#b962eeb80d9d983a900bf342961fb7418ca10b1d" integrity sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A== @@ -5729,22 +5758,22 @@ make-plural@^7.0.0: resolved "https://registry.yarnpkg.com/make-plural/-/make-plural-7.4.0.tgz#fa6990dd550dea4de6b20163f74e5ed83d8a8d6d" integrity sha512-4/gC9KVNTV6pvYg2gFeQYTW3mWaoJt7WZE5vrp1KnQDgW92JtYZnzmZT81oj/dUTqAIu0ufI2x3dkgu3bB1tYg== -maplibre-gl@6.11.2: - version "6.11.2" - resolved "https://registry.yarnpkg.com/maplibre-gl/-/maplibre-gl-6.11.2.tgz#25f1266666c16f6b935cabccba554c238a3cf394" - integrity sha512-Xh06pxoipjX/Ad1sUPGhiNh9go9naCNGZZ1IJm3sIeqK1kYGuMaMDSTIGDQ2igOLfVyukJU7kvEOA089VO7Z7g== +maplibre-gl@6.15.0: + version "6.15.0" + resolved "https://registry.yarnpkg.com/maplibre-gl/-/maplibre-gl-6.15.0.tgz#58e9c7d4eb37baad6e78a1a689930ce2c50d26b7" + integrity sha512-kxFetbvUHDOVaAP1CYb226Mdk2QhzIPddqM0xJTFD35wu78Mpd6NM7+H68ALjc6Oa0kAOX5EAdMKyvD2u3qfcg== dependencies: "@mapbox/point-geometry" "^1.1.0" - "@mapbox/tiny-sdf" "^2.2.0" + "@mapbox/tiny-sdf" "^2.3.0" "@mapbox/unitbezier" "^1.0.0" "@mapbox/vector-tile" "^3.0.0" - "@maplibre/geojson-vt" "^6.1.1" + "@maplibre/geojson-vt" "^6.3.0" "@maplibre/maplibre-gl-style-spec" "^26.4.4" "@maplibre/mlt" "^1.3.0" "@maplibre/vt-pbf" "^4.3.2" "@types/geojson" "^7946.0.16" bidi-js "^1.1.0" - earcut "^3.2.3" + earcut "^3.2.4" gl-matrix "^3.4.4" kdbush "^4.1.0" murmurhash-js "^1.0.0" @@ -5779,31 +5808,32 @@ merge2@^1.3.0: integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== "mermaid@>= 10.6.0 < 12.0.0": - version "11.14.0" - resolved "https://registry.yarnpkg.com/mermaid/-/mermaid-11.14.0.tgz#ce81b22bc10f3117ef7737406ef2d10ee1741769" - integrity sha512-GSGloRsBs+JINmmhl0JDwjpuezCsHB4WGI4NASHxL3fHo3o/BRXTxhDLKnln8/Q0lRFRyDdEjmk1/d5Sn1Xz8g== + version "11.17.2" + resolved "https://registry.yarnpkg.com/mermaid/-/mermaid-11.17.2.tgz#e3caf3717582c0e44e5d04cff043e025caec7cba" + integrity sha512-V6K3C8EBdEsPFZXSKMJe6ppQOENxuHARr9GvHX4hh47lAbhMRD9qf4oEK7LoaRQxULMa80/qt5gHO73aCleBBg== dependencies: - "@braintree/sanitize-url" "^7.1.1" + "@braintree/sanitize-url" "^7.1.2" "@iconify/utils" "^3.0.2" - "@mermaid-js/parser" "^1.1.0" + "@mermaid-js/parser" "^1.2.1" "@types/d3" "^7.4.3" "@upsetjs/venn.js" "^2.0.0" - cytoscape "^3.33.1" + cytoscape "^3.34.0" cytoscape-cose-bilkent "^4.1.0" cytoscape-fcose "^2.2.0" d3 "^7.9.0" d3-sankey "^0.12.3" dagre-d3-es "7.0.14" - dayjs "^1.11.19" - dompurify "^3.3.1" - katex "^0.16.25" + dayjs "^1.11.21" + dompurify "^3.3.3" + es-toolkit "^1.45.1" + fastdom "1.0.12" + katex "^0.16.47" khroma "^2.1.0" - lodash-es "^4.17.23" marked "^16.3.0" roughjs "^4.6.6" stylis "^4.3.6" ts-dedent "^2.2.0" - uuid "^11.1.0" + uuid "^11.1.0 || ^12 || ^13 || ^14.0.0" micromatch@^4.0.2, micromatch@^4.0.8: version "4.0.8" @@ -5830,7 +5860,7 @@ mimic-function@^5.0.0: resolved "https://registry.yarnpkg.com/mimic-function/-/mimic-function-5.0.1.tgz#acbe2b3349f99b9deaca7fb70e48b83e94e67076" integrity sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA== -minimatch@9.0.1, minimatch@^9.0.4, minimatch@^9.0.5, minimatch@^9.0.7: +minimatch@9.0.1, minimatch@^9.0.4, minimatch@^9.0.7: version "9.0.7" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.7.tgz#d76c4d0b3b527877016d6cc1b9922fc8e0ffe7b0" integrity sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg== @@ -5844,6 +5874,13 @@ minimatch@^10.0.3, minimatch@^10.1.1: dependencies: brace-expansion "^5.0.2" +minimatch@^10.2.2: + version "10.2.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.2.6.tgz#fd956bbe0b77241e9f15ac5dccb1c638060968ef" + integrity sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A== + dependencies: + brace-expansion "^5.0.8" + minimatch@^3.1.2, minimatch@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e" @@ -5996,10 +6033,10 @@ mz@^2.7.0: object-assign "^4.0.1" thenify-all "^1.0.0" -nanoid@^3.3.16: - version "3.3.18" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.18.tgz#f66a2de1199ffde0fcf21c8a5f13106b1c081913" - integrity sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w== +nanoid@^3.3.20: + version "3.3.20" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.20.tgz#dfd4444d85aa10111ef66ba85ed72e08ba0855d8" + integrity sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ== natural-compare@^1.4.0: version "1.4.0" @@ -6077,10 +6114,10 @@ ngx-sharebuttons@^17.0.0: dependencies: tslib "^2.3.0" -ngx-translate-messageformat-compiler@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/ngx-translate-messageformat-compiler/-/ngx-translate-messageformat-compiler-7.2.0.tgz#35dad9122fa6dd0888c3075da285dabe970cc359" - integrity sha512-RxYPc5S75xdPzGP7/ON2fwvHlyD4S9tWaDuustqkYVsRSQ0lDNtIsNnTA5n8g1PodXfw7t+h6ha4cwcxMlRN5A== +ngx-translate-messageformat-compiler@^7.3.0: + version "7.3.0" + resolved "https://registry.yarnpkg.com/ngx-translate-messageformat-compiler/-/ngx-translate-messageformat-compiler-7.3.0.tgz#686b3519e7f05efb1058cb9851b15b7d2dcd7c5e" + integrity sha512-bLDlOgyV8BKoxnBM0A4/D9mGxEOlmOavVwPhX/hPtejrKUVc3aWwhbJFUd9lwqVjmWfjb88GaPp46GRXWGfWHw== dependencies: tslib "2.8.1" optionalDependencies: @@ -6140,10 +6177,10 @@ node-gyp@^12.1.0: tinyglobby "^0.2.12" which "^6.0.0" -node-releases@^2.0.54: - version "2.0.54" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.54.tgz#09af17d5647aa9f221ec5cf2becb95b68a981afe" - integrity sha512-YHs7BmmcsdAI5Ozuf8JZo6PT0mv2GIWC9vMfvUC3dp65M8hn7Ux8CPL+2oBI7juNuj9d0ndhTcznq2ODBps9cQ== +node-releases@^2.0.59: + version "2.0.60" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.60.tgz#e3104c3ceb4530578f546bcfda551a4a2de06939" + integrity sha512-OmO8+GM1JUZqXET720VrJCwkjUCXmCMQm0Z3UDDRbfNLHS4NEAvY60j5jiFv0tkKw2PNNlqOLhahVmwJIOLDIQ== nopt@^7.2.1: version "7.2.1" @@ -6630,6 +6667,15 @@ pkg-types@^1.3.1: mlly "^1.7.4" pathe "^2.0.1" +pkg-types@^2.3.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-2.4.0.tgz#ee04a5b53e64a689e4c10a82404f8549a861e316" + integrity sha512-07Fys7iVx0X6TcviMOgogM1Lk33ZyqOezMnU79S+kffWqwolG/5W9V8EgQSeYCIfFTYVgssRbnH630Oa2+soBA== + dependencies: + confbox "^0.3.1" + exsolve "^1.1.3" + pathe "^2.0.3" + pngjs@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb" @@ -6704,9 +6750,9 @@ postcss-nested@^6.2.0: postcss-selector-parser "^6.1.1" postcss-selector-parser@^6.1.1, postcss-selector-parser@^6.1.2: - version "6.1.2" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz#27ecb41fb0e3b6ba7a1ec84fff347f734c7929de" - integrity sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg== + version "6.1.5" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.1.5.tgz#20e988ce8eab87575d54824d9800236c5fd872ca" + integrity sha512-TEHFzb5KRDKaOgJ4TYE+0jyJtFbjLvkdVOu0fZ2b6MTWzoqZd4Le+61aEppWkvTlYePgOX4ATL1wsAIPMLTw6Q== dependencies: cssesc "^3.0.0" util-deprecate "^1.0.2" @@ -6716,14 +6762,14 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@^8.4.4, postcss@^8.4.47, postcss@^8.4.49, postcss@^8.5.6: - version "8.5.23" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.23.tgz#3493550116f478487298301d2c2e8dc5a56e6594" - integrity sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg== +postcss@^8.4.4, postcss@^8.4.47, postcss@^8.4.49, postcss@^8.5.31, postcss@^8.5.6: + version "8.5.31" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.31.tgz#d44731fa02f8ae8371629ec7220e2ae0dbdf23ec" + integrity sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg== dependencies: - nanoid "^3.3.16" + nanoid "^3.3.20" picocolors "^1.1.1" - source-map-js "^1.2.1" + source-map-js "^1.2.2" postinstall-prepare@^2.0.0: version "2.0.0" @@ -6774,9 +6820,9 @@ proto-list@~1.2.1: integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== protocol-buffers-schema@^3.3.1: - version "3.6.0" - resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz#77bc75a48b2ff142c1ad5b5b90c94cd0fa2efd03" - integrity sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw== + version "3.6.1" + resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.6.1.tgz#fd9a58a5c4e96385b964808f3ddd58f9ef18c3c8" + integrity sha512-VG2K63Igkiv9p76tk1lilczEK1cT+kCjKtkdhw1dQZV3k3IXJbd3o6Ho8b9zJZaHSnT2hKe4I+ObmX9w6m5SmQ== proxy-addr@^2.0.7: version "2.0.8" @@ -6800,7 +6846,7 @@ qrcode@^1.5.4: pngjs "^5.0.0" yargs "^15.3.1" -qs@^6.14.0, qs@^6.14.1: +qs@^6.14.0, qs@^6.16.1: version "6.16.1" resolved "https://registry.yarnpkg.com/qs/-/qs-6.16.1.tgz#0643e17993e551759c85078e1f0bc4b9fe908020" integrity sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg== @@ -6808,6 +6854,11 @@ qs@^6.14.0, qs@^6.14.1: es-define-property "^1.0.1" side-channel "^1.1.1" +quansync@^0.2.11: + version "0.2.11" + resolved "https://registry.yarnpkg.com/quansync/-/quansync-0.2.11.tgz#f9c3adda2e1272e4f8cf3f1457b04cbdb4ee692a" + integrity sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA== + queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" @@ -6835,7 +6886,7 @@ raphael@^2.3.0: dependencies: eve-raphael "0.5.0" -raw-body@^3.0.0, raw-body@^3.0.1: +raw-body@^3.0.0, raw-body@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.2.tgz#3e3ada5ae5568f9095d84376fd3a49b8fb000a51" integrity sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA== @@ -6993,6 +7044,11 @@ rfdc@^1.4.1: resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.4.1.tgz#778f76c4fb731d93414e8f925fbecf64cce7f6ca" integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA== +robust-predicates@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/robust-predicates/-/robust-predicates-2.0.4.tgz#0a2367a93abd99676d075981707f29cfb402248b" + integrity sha512-l4NwboJM74Ilm4VKfbAtFeGq7aEjWL+5kVFcmgFA2MrdnQWx9iE/tUGvxY5HyMI7o/WpSIUFLbC5fbeaHgSCYg== + robust-predicates@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/robust-predicates/-/robust-predicates-3.0.2.tgz#d5b28528c4824d20fc48df1928d41d9efa1ad771" @@ -7163,6 +7219,11 @@ semver@^7.0.0, semver@^7.1.1, semver@^7.3.5, semver@^7.5.3, semver@^7.5.4, semve resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.4.tgz#28464e36060e991fa7a11d0279d2d3f3b57a7e8a" integrity sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA== +semver@^7.7.4: + version "7.8.5" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.8.5.tgz#39b646037dd50c14fb451e7e4cac58ed8b863f69" + integrity sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA== + send@^1.1.0, send@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/send/-/send-1.2.1.tgz#9eab743b874f3550f40a26867bf286ad60d3f3ed" @@ -7353,7 +7414,7 @@ sorted-btree@^1.8.1: resolved "https://registry.yarnpkg.com/sorted-btree/-/sorted-btree-1.8.1.tgz#6e6275f7955e5892bb8737149cbe495be10f426f" integrity sha512-395+XIP+wqNn3USkFSrNz7G3Ss/MXlZEqesxvzCRFwL14h6e8LukDHdLBePn5pwbm5OQ9vGu8mDyz2lLDIqamQ== -"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.2.1: +"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.2.tgz#79fb88d97535a21cb27162cb05d211b67acea4ab" integrity sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw== @@ -7450,6 +7511,11 @@ stop-iteration-iterator@^1.1.0: es-errors "^1.3.0" internal-slot "^1.1.0" +strictdom@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/strictdom/-/strictdom-1.0.1.tgz#189de91649f73d44d59b8432efa68ef9d2659460" + integrity sha512-cEmp9QeXXRmjj/rVp9oyiqcvyocWab/HaoN4+bwFeZ7QzykJD6L3yD4v12K1x0tHpqRqVpJevN3gW7kyM39Bqg== + "string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -7593,12 +7659,12 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -sweepline-intersections@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/sweepline-intersections/-/sweepline-intersections-1.5.0.tgz#85ab3629a291875926fae0acd508496430d8a647" - integrity sha512-AoVmx72QHpKtItPu72TzFL+kcYjd67BPLDoR0LarIk+xyaRg+pDTMFXndIEvZf9xEKnJv6JdhgRMnocoG0D3AQ== +synckit@^0.11.4: + version "0.11.13" + resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.11.13.tgz#062a5ea57d81befc35892f8254de5c567e97c80a" + integrity sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg== dependencies: - tinyqueue "^2.0.0" + "@pkgr/core" "^0.3.6" systemjs@6.15.1: version "6.15.1" @@ -7615,6 +7681,15 @@ table-layout@^1.0.2: typical "^5.2.0" wordwrapjs "^4.0.0" +tailwind-api-utils@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/tailwind-api-utils/-/tailwind-api-utils-1.0.3.tgz#8315b86addf55ac1e3624e971546dc680e4b3275" + integrity sha512-KpzUHkH1ug1sq4394SLJX38ZtpeTiqQ1RVyFTTSY2XuHsNSTWUkRo108KmyyrMWdDbQrLYkSHaNKj/a3bmA4sQ== + dependencies: + enhanced-resolve "^5.18.1" + jiti "^2.4.2" + local-pkg "^1.1.1" + tailwindcss@^3.4.19: version "3.4.19" resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.4.19.tgz#af2a0a4ae302d52ebe078b6775e799e132500ee2" @@ -7643,6 +7718,11 @@ tailwindcss@^3.4.19: resolve "^1.22.8" sucrase "^3.35.0" +tapable@^2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.3.3.tgz#5da7c9992c46038221267985ab28421a8879f160" + integrity sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A== + tar@^7.4.3, tar@^7.5.2: version "7.5.22" resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9" @@ -7706,7 +7786,7 @@ tinyglobby@^0.2.11, tinyglobby@^0.2.12, tinyglobby@^0.2.15: fdir "^6.5.0" picomatch "^4.0.3" -tinyqueue@^2.0.0: +tinyqueue@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/tinyqueue/-/tinyqueue-2.0.3.tgz#64d8492ebf39e7801d7bd34062e29b45b2035f08" integrity sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA== @@ -7746,10 +7826,10 @@ tooltipster@^4.2.8: resolved "https://registry.yarnpkg.com/tooltipster/-/tooltipster-4.2.8.tgz#ad1970dd71ad853034e64e3fdd1745f7f3485071" integrity sha512-Znmbt5UMzaiFCRlVaRtfRZYQqxrmNlj1+3xX/aT0OiA3xkQZhXYGbLJmZPigx0YiReYZpO7Lm2XKbUxXsiU/pg== -ts-api-utils@^2.1.0, ts-api-utils@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-2.4.0.tgz#2690579f96d2790253bdcf1ca35d569ad78f9ad8" - integrity sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA== +ts-api-utils@^2.1.0, ts-api-utils@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-2.5.0.tgz#4acd4a155e22734990a5ed1fe9e97f113bcb37c1" + integrity sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA== ts-dedent@^2.2.0: version "2.2.0" @@ -7825,12 +7905,12 @@ type-check@^0.4.0, type-check@~0.4.0: dependencies: prelude-ls "^1.2.1" -type-is@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.0.1.tgz#64f6cf03f92fce4015c2b224793f6bdd4b068c97" - integrity sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw== +type-is@^2.0.1, type-is@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.1.0.tgz#71d1a7053293582e16ac9f3ebaf1ab9aa49e5570" + integrity sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA== dependencies: - content-type "^1.0.5" + content-type "^2.0.0" media-typer "^1.1.0" mime-types "^3.0.0" @@ -7884,15 +7964,15 @@ typeface-roboto@^1.1.13: resolved "https://registry.yarnpkg.com/typeface-roboto/-/typeface-roboto-1.1.13.tgz#9c4517cb91e311706c74823e857b4bac9a764ae5" integrity sha512-YXvbd3a1QTREoD+FJoEkl0VQNJoEjewR2H11IjVv4bp6ahuIcw0yyw/3udC4vJkHw3T3cUh85FTg8eWef3pSaw== -typescript-eslint@^8.54.0: - version "8.54.0" - resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.54.0.tgz#f4ef3b8882a5ddc2a41968e014194c178ab23f6a" - integrity sha512-CKsJ+g53QpsNPqbzUsfKVgd3Lny4yKZ1pP4qN3jdMOg/sisIDLGyDMezycquXLE5JsEU0wp3dGNdzig0/fmSVQ== +typescript-eslint@^8.72.0: + version "8.72.0" + resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.72.0.tgz#50a8fd6d4304ffd1e7fd375f8a439c6f15488071" + integrity sha512-r26Fkc8As+mZvqp7SLsMmNFyYUup/6CjK7/eHBHmhOw6GH6n6YFxHVFrG0jN1c5CMpDzelLPxvgeCOzx7BjN+A== dependencies: - "@typescript-eslint/eslint-plugin" "8.54.0" - "@typescript-eslint/parser" "8.54.0" - "@typescript-eslint/typescript-estree" "8.54.0" - "@typescript-eslint/utils" "8.54.0" + "@typescript-eslint/eslint-plugin" "8.72.0" + "@typescript-eslint/parser" "8.72.0" + "@typescript-eslint/typescript-estree" "8.72.0" + "@typescript-eslint/utils" "8.72.0" typescript@~5.9.3: version "5.9.3" @@ -7953,10 +8033,10 @@ unpipe@~1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== -update-browserslist-db@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.3.2.tgz#9d99fbff56c50bb11ba5fd35cece5916da595836" - integrity sha512-UQ+MSxlhRm1bzjhU+DcuXfjFO1FzNtqhK5+9Yvlp90ItDLk5vT932A0rFu619nf7RVS+Y/VeaUW1jaRDqZ8VJw== +update-browserslist-db@^1.3.4: + version "1.3.4" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz#e8bd4596f6900805f9f12c5a5200c83c59c38faf" + integrity sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A== dependencies: escalade "^3.2.0" picocolors "^1.1.1" @@ -7980,10 +8060,10 @@ utrie@^1.0.2: dependencies: base64-arraybuffer "^1.0.2" -uuid@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-11.1.0.tgz#9549028be1753bb934fc96e2bca09bb4105ae912" - integrity sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A== +"uuid@^11.1.0 || ^12 || ^13 || ^14.0.0": + version "14.0.3" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-14.0.3.tgz#48c9b0dcf5a42d983c23162399eeb9af8b2cc617" + integrity sha512-Sc5u1VVln93y1Xnz4R+CunOZc7R9LUcTmhj7Rc7Eg3HVcf7rVn2FOoa812fe0W8p3jD7xeoGSYbfqCGGH2B6xw== v8-compile-cache-lib@^3.0.1: version "3.0.1" @@ -8013,10 +8093,10 @@ vary@^1, vary@^1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -vite@7.3.6: - version "7.3.6" - resolved "https://registry.yarnpkg.com/vite/-/vite-7.3.6.tgz#0547a395e68d3746e9a505f1fd4469fe09b49cc4" - integrity sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg== +vite@7.3.7: + version "7.3.7" + resolved "https://registry.yarnpkg.com/vite/-/vite-7.3.7.tgz#017a80fdce051003a4aa290dddd0b159aa769282" + integrity sha512-AHEzTORMbi7/7aXp7w7KZ5+DCUdSeLsJz0grY8xHpc9DHdYb0vQu6DqJfm2tOw3gDExNgPgnJTXxM6syYFHaCA== dependencies: esbuild "^0.27.0 || ^0.28.0" fdir "^6.5.0" @@ -8027,41 +8107,6 @@ vite@7.3.6: optionalDependencies: fsevents "~2.3.3" -vscode-jsonrpc@8.2.0: - version "8.2.0" - resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz#f43dfa35fb51e763d17cd94dcca0c9458f35abf9" - integrity sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA== - -vscode-languageserver-protocol@3.17.5: - version "3.17.5" - resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz#864a8b8f390835572f4e13bd9f8313d0e3ac4bea" - integrity sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg== - dependencies: - vscode-jsonrpc "8.2.0" - vscode-languageserver-types "3.17.5" - -vscode-languageserver-textdocument@~1.0.11: - version "1.0.12" - resolved "https://registry.yarnpkg.com/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz#457ee04271ab38998a093c68c2342f53f6e4a631" - integrity sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA== - -vscode-languageserver-types@3.17.5: - version "3.17.5" - resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz#3273676f0cf2eab40b3f44d085acbb7f08a39d8a" - integrity sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg== - -vscode-languageserver@~9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz#500aef82097eb94df90d008678b0b6b5f474015b" - integrity sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g== - dependencies: - vscode-languageserver-protocol "3.17.5" - -vscode-uri@~3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-3.1.0.tgz#dd09ec5a66a38b5c3fffc774015713496d14e09c" - integrity sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ== - watchpack@2.4.4: version "2.4.4" resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.4.tgz#473bda72f0850453da6425081ea46fc0d7602947" @@ -8239,9 +8284,9 @@ yallist@^5.0.0: integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw== yaml@^2.2.2: - version "2.6.1" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.6.1.tgz#42f2b1ba89203f374609572d5349fb8686500773" - integrity sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg== + version "2.9.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.9.1.tgz#c16233fb31944e705cfefaff38795587f57588ce" + integrity sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw== yargs-parser@^18.1.2: version "18.1.3" From fdd9481a01276ccef0a232958aad6e60031ce524 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 23 Oct 2026 15:10:01 +0200 Subject: [PATCH 272/559] Swap the edge session before destroying the one it replaces --- .../edge/rpc/service/EdgeGrpcService.java | 17 ++++++------- .../edge/rpc/session/EdgeSessionsHolder.java | 7 ++++-- .../edge/rpc/service/EdgeGrpcServiceTest.java | 25 +++++++++++++++++++ .../rpc/session/EdgeSessionsHolderTest.java | 10 ++++++++ 4 files changed, 48 insertions(+), 11 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java index bfbdf5193f..95fb193f3d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java @@ -201,16 +201,15 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i Edge edge = state.getEdge(); TenantId tenantId = state.getTenantId(); log.info("[{}][{}] edge [{}] connected successfully.", tenantId, state.getSessionId(), edgeId); - if (sessions.hasByEdgeId(edgeId)) { - EdgeGrpcSessionManager existingSession = sessions.getByEdgeId(edgeId); - if (existingSession != null) { - UUID sessionId = existingSession.getState().getSessionId(); - log.info("[{}][{}] Replacing existing session [{}] for edge [{}]", tenantId, state.getSessionId(), sessionId, edgeId); - existingSession.destroyAndMarkAsZombieIfFailed(); - sessions.removeBySessionId(sessionId); - } + // Swap first, destroy after: while the slow teardown runs, the replaced session is no longer current, so its own + // late disconnect takes the stale-session path instead of clearing the state of this connect. + EdgeGrpcSessionManager replaced = sessions.put(edgeSession); + if (replaced != null) { + UUID replacedSessionId = replaced.getState().getSessionId(); + log.info("[{}][{}] Replacing existing session [{}] for edge [{}]", tenantId, state.getSessionId(), replacedSessionId, edgeId); + sessions.removeBySessionId(replacedSessionId); + replaced.destroyAndMarkAsZombieIfFailed(); } - sessions.put(edgeSession); // Claim ownership before active=true: the previous node reads this entry on disconnect to decide // whether to clear the flag. edgeIdServiceIdCache.put(edgeId, serviceInfoProvider.getServiceId()); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java index 79b80bacf5..058f0d5d50 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java @@ -37,11 +37,14 @@ public class EdgeSessionsHolder { unique.forEach(consumer); } - public void put(EdgeGrpcSessionManager session) { + /** + * Registers the session as the current one for its edge and returns the session it replaced, or null. + */ + public EdgeGrpcSessionManager put(EdgeGrpcSessionManager session) { UUID sessionId = session.getState().getSessionId(); EdgeId edgeId = session.getState().getEdgeId(); sessionsById.put(sessionId, session); - sessions.put(edgeId, session); + return sessions.put(edgeId, session); } public EdgeGrpcSessionManager getByEdgeId(EdgeId id) { diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java index 201034bca9..08943159da 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java @@ -19,6 +19,7 @@ import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.msg.TbMsgType; import org.thingsboard.server.common.data.notification.rule.trigger.EdgeConnectionTrigger; import org.thingsboard.server.common.data.notification.rule.trigger.NotificationRuleTrigger; import org.thingsboard.server.common.msg.TbMsg; @@ -40,6 +41,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.argThat; import static org.mockito.ArgumentMatchers.isNull; +import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.inOrder; import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.mock; @@ -166,6 +168,29 @@ class EdgeGrpcServiceTest { assertThat(sessions.getByEdgeId(edgeId)).isSameAs(replacement); } + @Test + void givenReplacedSessionDisconnectsDuringItsTeardown_whenConnect_thenNoDisconnectSideEffects() { + // the edge reconnects before its old stream is noticed dead; the old session's close fires while it is destroyed + EdgeGrpcSessionManager old = registerSession(); + doAnswer(invocation -> { + onEdgeDisconnect(old); + return null; + }).when(old).destroyAndMarkAsZombieIfFailed(); + EdgeGrpcSessionManager replacement = newSession(); + when(serviceInfoProvider.getServiceId()).thenReturn(THIS_NODE); + + ReflectionTestUtils.invokeMethod(edgeGrpcService, "onEdgeConnect", edgeId, replacement); + + verify(tsSubService, never()).saveAttributes(argThat(activeStateWrite(false))); + verify(tsSubService, never()).saveAttributes(argThat(lastDisconnectTimeWrite())); + verify(clusterService, never()).pushMsgToRuleEngine(any(TenantId.class), any(EntityId.class), + argThat(msg -> TbMsgType.DISCONNECT_EVENT.equals(msg.getInternalType())), isNull()); + verify(ruleProcessor, never()).process(argThat(disconnectTrigger())); + verify(edgeIdServiceIdCache, never()).evict(edgeId); + assertThat(sessions.getByEdgeId(edgeId)).isSameAs(replacement); + assertThat(sessions.getSessionsById()).doesNotContainKey(old.getState().getSessionId()); + } + @Test void givenConnect_whenClaimingOwnership_thenCachePutHappensBeforeActiveStateWrite() { // the previous node reads this cache entry on disconnect, so the claim must be visible before active=true diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java index 7389b51ce3..325f5ba689 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java @@ -82,6 +82,16 @@ class EdgeSessionsHolderTest { assertThat(holder.isCurrent(newSession())).isFalse(); } + @Test + void putReturnsTheSessionItReplaced() { + EdgeGrpcSessionManager first = newSession(); + EdgeGrpcSessionManager second = newSession(); + + assertThat(holder.put(first)).isNull(); + assertThat(holder.put(second)).isSameAs(first); + assertThat(holder.getByEdgeId(edgeId)).isSameAs(second); + } + @Test void runIfNoSessionRunsTheActionWhenTheEdgeHasNoSession() { AtomicBoolean ran = new AtomicBoolean(); From cafa34c77ae1a4ca63261756adf9672607719b9e Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 23 Oct 2026 16:11:00 +0300 Subject: [PATCH 273/559] Fixed CVE-2026-41907, CVE-2026-102276, CVE-2026-102277 and CVE-2026-102278 in ui-ngx Updated exceljs-hardened to 5.1.0, which drops uuid 8.3.2 and the archiver chain with the vulnerable brace-expansion, flag-icons to 7.6.0 and @fullcalendar/* to 6.1.22. --- ui-ngx/package.json | 4 +- ui-ngx/yarn.lock | 532 +++++++++++++++++++------------------------- 2 files changed, 235 insertions(+), 301 deletions(-) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 62b5747dc7..4aab25a751 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -56,8 +56,8 @@ "core-js": "^3.51.0", "dayjs": "1.11.23", "echarts": "https://github.com/thingsboard/echarts/archive/5.5.2-TB.tar.gz", - "exceljs-hardened": "~5.0.0", - "flag-icons": "7.2.3", + "exceljs-hardened": "~5.1.0", + "flag-icons": "7.6.0", "flot": "https://github.com/thingsboard/flot.git#0.9-work", "flot.curvedlines": "https://github.com/MichaelZinsmaier/CurvedLines.git#master", "font-awesome": "^4.7.0", diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 8f725a6544..8a843cae7c 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -836,45 +836,45 @@ tslib "^2.3.0" "@fullcalendar/angular@^6.1.20": - version "6.1.20" - resolved "https://registry.yarnpkg.com/@fullcalendar/angular/-/angular-6.1.20.tgz#1e8773d1aaa41c19c1c423cfdde332dcf9be5971" - integrity sha512-/V5wZuZSzWZxD3dnVteqY844Onv6we5ah0RU9ZJdRIeNbBFknHLeVYpIjYKsAPwkGigYX7UGOJR6NNpyarBLlQ== + version "6.1.22" + resolved "https://registry.yarnpkg.com/@fullcalendar/angular/-/angular-6.1.22.tgz#0820b2cd38154418b30278acd359f7be91206fc2" + integrity sha512-lc3Ua8R5EAHBjnQP1/qfsXEgUHhOkLmgRUBm5okbnLktMKGYvYIISI2zU0Q+j6TQMZGSxSRSXL5poEIHAjsqrQ== dependencies: tslib "^2.3.0" "@fullcalendar/core@^6.1.20": - version "6.1.20" - resolved "https://registry.yarnpkg.com/@fullcalendar/core/-/core-6.1.20.tgz#e4cfa767a9b8b7dad015b33fcb8acb0fac986a85" - integrity sha512-1cukXLlePFiJ8YKXn/4tMKsy0etxYLCkXk8nUCFi11nRONF2Ba2CD5b21/ovtOO2tL6afTJfwmc1ed3HG7eB1g== + version "6.1.22" + resolved "https://registry.yarnpkg.com/@fullcalendar/core/-/core-6.1.22.tgz#446b9011d4f019b1e75c163bf1d2cae3b16e3098" + integrity sha512-ju5PJUE++zr8XXCGtlXlrodF6doUy9BDfzx+VmE0B+XDBM2A5cUi/aU3M1ANfw/StmKhwqew7Ps7bXMiv/JREg== dependencies: preact "~10.12.1" -"@fullcalendar/daygrid@^6.1.20", "@fullcalendar/daygrid@~6.1.20": - version "6.1.20" - resolved "https://registry.yarnpkg.com/@fullcalendar/daygrid/-/daygrid-6.1.20.tgz#fcf33af4ea908b46fd755414278341811e01bdf8" - integrity sha512-AO9vqhkLP77EesmJzuU+IGXgxNulsA8mgQHynclJ8U70vSwAVnbcLG9qftiTAFSlZjiY/NvhE7sflve6cJelyQ== +"@fullcalendar/daygrid@^6.1.20", "@fullcalendar/daygrid@~6.1.22": + version "6.1.22" + resolved "https://registry.yarnpkg.com/@fullcalendar/daygrid/-/daygrid-6.1.22.tgz#6a5db3e194e88ddf09aad34fb7f2c1f1739a4473" + integrity sha512-cpom5+bAvsGG5nX+snsCtpMIyyhAr+QlseD9mhz5Vq7rMBTzx43mSkz6IBvQ3vz5h2idbDmT1cggEn/dzZwt9Q== "@fullcalendar/interaction@^6.1.20": - version "6.1.20" - resolved "https://registry.yarnpkg.com/@fullcalendar/interaction/-/interaction-6.1.20.tgz#a73a53af5f93ac261f864b025ae80201609f1cd7" - integrity sha512-p6txmc5txL0bMiPaJxe2ip6o0T384TyoD2KGdsU6UjZ5yoBlaY+dg7kxfnYKpYMzEJLG58n+URrHr2PgNL2fyA== + version "6.1.22" + resolved "https://registry.yarnpkg.com/@fullcalendar/interaction/-/interaction-6.1.22.tgz#c06c6be7714c8e8900546965e7ca81ef53699232" + integrity sha512-r8Njw8aPNFGRwDjVAh9NTh3ZJib5tcUoLi/BM4uYJt5Cs9tDiirmImaqxhx56hclVFX7ktd5CdaMX0+ArSbm5A== "@fullcalendar/list@^6.1.20": - version "6.1.20" - resolved "https://registry.yarnpkg.com/@fullcalendar/list/-/list-6.1.20.tgz#d218906f0c50e1a7232a176df2426269f8601319" - integrity sha512-7Hzkbb7uuSqrXwTyD0Ld/7SwWNxPD6SlU548vtkIpH55rZ4qquwtwYdMPgorHos5OynHA4OUrZNcH51CjrCf2g== + version "6.1.22" + resolved "https://registry.yarnpkg.com/@fullcalendar/list/-/list-6.1.22.tgz#15bbf9ba4d8109e48ed8f1d1f25ab5d7a0eff41a" + integrity sha512-7e5kZbeT3fhtXsts6VMQxbGtpoCFOZCxrIckHfn5VTrRh8Up0TKoYj/AOaIj94uz0qebWgaLXwd9Ijiu3uTwjg== "@fullcalendar/moment@^6.1.20": - version "6.1.20" - resolved "https://registry.yarnpkg.com/@fullcalendar/moment/-/moment-6.1.20.tgz#7993491ea47bdd252eb9f9fcbc00dd2b2fcd33b3" - integrity sha512-GS6gY/LKu/65TiRSW6qUJFW9SPYGkPERyOOJMrCHeoOP4sE8Ewl7g0N1H4S6HHFHDrI40T0x2bYAiPEhYZpIJA== + version "6.1.22" + resolved "https://registry.yarnpkg.com/@fullcalendar/moment/-/moment-6.1.22.tgz#edbc51fbada37d1313f2eb103ada33a97f8d18d7" + integrity sha512-xEkIur60PmaWK7yvkjf/sdHwEE0L5JlaZTZt4o4B1oJJgoof2nt4pJXkE0G0yF+Fwawgujk32zpCOiyATMJ9fQ== "@fullcalendar/timegrid@^6.1.20": - version "6.1.20" - resolved "https://registry.yarnpkg.com/@fullcalendar/timegrid/-/timegrid-6.1.20.tgz#929813235375c2fa3b387691ef5b1dcbb7b86dde" - integrity sha512-4H+/MWbz3ntA50lrPif+7TsvMeX3R1GSYjiLULz0+zEJ7/Yfd9pupZmAwUs/PBpA6aAcFmeRr0laWfcz1a9V1A== + version "6.1.22" + resolved "https://registry.yarnpkg.com/@fullcalendar/timegrid/-/timegrid-6.1.22.tgz#87d5b1ac7fabe9c2ab289e535af852e689322fb2" + integrity sha512-gNMtkXrkfN3iszXty+pYbJwGxcozL0xBVKYmEd1lm0DMEbrffpVJyV+vifmtl/eIbWCNRWrMWUtGLbYy/ukykA== dependencies: - "@fullcalendar/daygrid" "~6.1.20" + "@fullcalendar/daygrid" "~6.1.22" "@gar/promise-retry@^1.0.0", "@gar/promise-retry@^1.0.2": version "1.0.3" @@ -2679,6 +2679,13 @@ abbrev@^4.0.0: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-4.0.0.tgz#ec933f0e27b6cd60e89b5c6b2a304af42209bb05" integrity sha512-a1wflyaL0tHtJSmLSOVybYhy22vRih4eduhhrkcjgrWGnRfrZtovJ2FRjxuTtkkj47O/baf0R86QU5OuYpz8fA== +abort-controller@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392" + integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg== + dependencies: + event-target-shim "^5.0.0" + accepts@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/accepts/-/accepts-2.0.0.tgz#bbcf4ba5075467f3f2131eab3cffc73c2f5d7895" @@ -2862,50 +2869,20 @@ anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" -archiver-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/archiver-utils/-/archiver-utils-2.1.0.tgz#e8a460e94b693c3e3da182a098ca6285ba9249e2" - integrity sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw== - dependencies: - glob "^7.1.4" - graceful-fs "^4.2.0" - lazystream "^1.0.0" - lodash.defaults "^4.2.0" - lodash.difference "^4.5.0" - lodash.flatten "^4.4.0" - lodash.isplainobject "^4.0.6" - lodash.union "^4.6.0" - normalize-path "^3.0.0" - readable-stream "^2.0.0" - -archiver-utils@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/archiver-utils/-/archiver-utils-3.0.4.tgz#a0d201f1cf8fce7af3b5a05aea0a337329e96ec7" - integrity sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw== +archiver@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/archiver/-/archiver-8.0.0.tgz#b02b8d0b978488e6dbebf1e0ebbc4103f5ffae3b" + integrity sha512-fV1orZfsnPn9BaSByR/qE67rJCLJEy2Ox5bq7nJh+jquWaNh6Sfec75kJ2T6PtdGUbPQlrVoSVCEOa5SdiTQ1g== dependencies: - glob "^7.2.3" - graceful-fs "^4.2.0" + async "^3.2.4" + buffer-crc32 "^1.0.0" + is-stream "^4.0.0" lazystream "^1.0.0" - lodash.defaults "^4.2.0" - lodash.difference "^4.5.0" - lodash.flatten "^4.4.0" - lodash.isplainobject "^4.0.6" - lodash.union "^4.6.0" normalize-path "^3.0.0" - readable-stream "^3.6.0" - -archiver@^5.0.0: - version "5.3.2" - resolved "https://registry.yarnpkg.com/archiver/-/archiver-5.3.2.tgz#99991d5957e53bd0303a392979276ac4ddccf3b0" - integrity sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw== - dependencies: - archiver-utils "^2.1.0" - async "^3.2.4" - buffer-crc32 "^0.2.1" - readable-stream "^3.6.0" - readdir-glob "^1.1.2" - tar-stream "^2.2.0" - zip-stream "^4.1.0" + readable-stream "^4.0.0" + readdir-glob "^3.0.0" + tar-stream "^3.0.0" + zip-stream "^7.0.2" are-docs-informative@^0.0.2: version "0.0.2" @@ -3057,6 +3034,11 @@ axobject-query@4.1.0: resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-4.1.0.tgz#28768c76d0e3cff21bc62a9e2d0b6ac30042a1ee" integrity sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ== +b4a@^1.6.4, b4a@^1.8.1, b4a@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.9.0.tgz#6336313b6e76b299c397afa68676ec6ebc788845" + integrity sha512-dpfcF9fDNR6++cthXR67iyhgqWy9CBouAvIWhIntzBG6cvK/cnIPiZQjBwi/ZqjjBEDGfoNDtmB0kTjroOJ3pQ== + balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -3067,6 +3049,43 @@ balanced-match@^4.0.2: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-4.0.4.tgz#bfb10662feed8196a2c62e7c68e17720c274179a" integrity sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA== +bare-events@^2.5.4, bare-events@^2.7.0: + version "2.9.2" + resolved "https://registry.yarnpkg.com/bare-events/-/bare-events-2.9.2.tgz#01d377b64c3c7167b28b52da7add3221aecf2d7f" + integrity sha512-AIPKioV7/Y/8KfZ3AAhjPJxLLbY49S64Ym5DakZlUg75qQiTgUq9hEJoEwa4eUezPUlXRy/i5NpsKvo9jgKmoA== + +bare-fs@^4.8.2: + version "4.8.4" + resolved "https://registry.yarnpkg.com/bare-fs/-/bare-fs-4.8.4.tgz#f342288e7e5d9d8e79917078e1f45950507828c5" + integrity sha512-MPC2eyrpbk3A873sK4y6rk+Iv4o2enxTjHZ8zH3HO0mjrpm5XjnguY2XmfidIsDV6vnjpbMBKUAJpV0ISD2SsQ== + dependencies: + bare-events "^2.5.4" + bare-path "^3.0.0" + bare-stream "^2.6.4" + bare-url "^2.2.2" + fast-fifo "^1.3.2" + +bare-path@^3.0.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/bare-path/-/bare-path-3.1.2.tgz#67261bc74a9ba0105ba139b8638f218c09e8d82e" + integrity sha512-ZyKbsuuqK6Ag0K8pX6V5Txq6XeJRvY+wXucnFGRjiyVYP9YWDpIQugk/b+enRYrEYBJaqLzghRQpXPMR7341Nw== + +bare-stream@^2.6.4: + version "2.13.4" + resolved "https://registry.yarnpkg.com/bare-stream/-/bare-stream-2.13.4.tgz#61d448a268d1efd992103aae6bd729332f278ac0" + integrity sha512-PcrQ8lVLbiJscNm1Kez+Yp4Gy4AHGcN1lzwjvf5NybWen7VvEgUfyfnXYJ2zNqWnzOfCb1Abq6lH8ti0syQszA== + dependencies: + b4a "^1.8.1" + streamx "^2.25.0" + teex "^1.0.1" + +bare-url@^2.2.2: + version "2.5.5" + resolved "https://registry.yarnpkg.com/bare-url/-/bare-url-2.5.5.tgz#2e8c18db11393aa6cae6ff246fdcda34615aacd3" + integrity sha512-iM9qJCruvpt2rPaLsrumVDru9pogI7PHziHIa9kTNRFt8C8HuSa+kI9kFezK+NvHEFnnz71rKGZ1EAilq/3V/Q== + dependencies: + bare-path "^3.0.0" + base64-arraybuffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz#1c37589a7c4b0746e34bd1feb951da2df01c1bdc" @@ -3103,11 +3122,6 @@ bidi-js@^1.1.0: dependencies: require-from-string "^2.0.2" -big-integer@^1.6.17: - version "1.6.52" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.52.tgz#60a887f3047614a8e1bffe5d7173490a97dc8c85" - integrity sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg== - bignumber.js@^9.1.0: version "9.1.2" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" @@ -3118,27 +3132,10 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== -binary@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/binary/-/binary-0.3.0.tgz#9f60553bc5ce8c3386f3b553cff47462adecaa79" - integrity sha512-D4H1y5KYwpJgK8wk1Cue5LLPgmwHKYSChkbspQg5JtVuR5ulGckxfR62H3AE9UDkdMC8yyXlqYihuz3Aqg2XZg== - dependencies: - buffers "~0.1.1" - chainsaw "~0.1.0" - -bl@^4.0.3: - version "4.1.0" - resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" - integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== - dependencies: - buffer "^5.5.0" - inherits "^2.0.4" - readable-stream "^3.4.0" - -bluebird@~3.4.1: - version "3.4.7" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.4.7.tgz#f72d760be09b7f76d08ed8fae98b289a8d05fab3" - integrity sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA== +bluebird@~3.7.2: + version "3.7.2" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" + integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== body-parser@^2.2.1: version "2.4.0" @@ -3168,13 +3165,6 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -brace-expansion@^2.0.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.4.tgz#589dab11c0018d0366be64cd8bf12c8dbecc8326" - integrity sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg== - dependencies: - balanced-match "^1.0.0" - brace-expansion@^5.0.2, brace-expansion@^5.0.8: version "5.0.12" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-5.0.12.tgz#995fbb4750a77c4d16a7dc942ff2ca6ef8e675ec" @@ -3200,33 +3190,23 @@ browserslist@^4.23.0, browserslist@^4.24.0, browserslist@^4.28.9: node-releases "^2.0.59" update-browserslist-db "^1.3.4" -buffer-crc32@^0.2.1, buffer-crc32@^0.2.13: - version "0.2.13" - resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" - integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ== +buffer-crc32@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-1.0.0.tgz#a10993b9055081d55304bd9feb4a072de179f405" + integrity sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w== buffer-from@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-indexof-polyfill@~1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz#d2732135c5999c64b277fcf9b1abe3498254729c" - integrity sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A== - -buffer@^5.5.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== +buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== dependencies: base64-js "^1.3.1" - ieee754 "^1.1.13" - -buffers@~0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/buffers/-/buffers-0.1.1.tgz#b24579c3bed4d6d396aeee6d9a8ae7f5482ab7bb" - integrity sha512-9q/rDEGSb/Qsvv2qvzIzdluL5k7AaJOTrw23z9reQthrbF7is4CtlT0DXyO1oei2DCp4uojjzQ7igaSHp1kAEQ== + ieee754 "^1.2.1" bytes@^3.1.2, bytes@~3.1.2: version "3.1.2" @@ -3301,13 +3281,6 @@ canvas-gauges@^2.1.7: resolved "https://registry.yarnpkg.com/canvas-gauges/-/canvas-gauges-2.1.7.tgz#9f8d96960a19c64879083e72e66b773ed1ec8079" integrity sha512-z9cXBVTZdaUIOh32g21NU8gwxEeaxpEMvkZr9t8Y0QDbZiCDq05SJ17aIt+DM12oTJAlWGluN21D+bQ0NCv5GA== -chainsaw@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/chainsaw/-/chainsaw-0.1.0.tgz#5eab50b28afe58074d0d58291388828b5e5fbc98" - integrity sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ== - dependencies: - traverse ">=0.3.0 <0.4" - chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -3498,15 +3471,16 @@ comment-parser@1.4.6: resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.4.6.tgz#49a6b1d53fa563324f7577ab8c0b26db4e7d1f9a" integrity sha512-ObxuY6vnbWTN6Od72xfwN9DbzC7Y2vv8u1Soi9ahRKL37gb6y1qk6/dgjs+3JWuXJHWvsg3BXIwzd/rkmAwavg== -compress-commons@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/compress-commons/-/compress-commons-4.1.2.tgz#6542e59cb63e1f46a8b21b0e06f9a32e4c8b06df" - integrity sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg== +compress-commons@^7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/compress-commons/-/compress-commons-7.0.1.tgz#280665524f98e02d704b0df511842c2da19077fd" + integrity sha512-g0S8KAD8qf4+V//pr3BfB1aBnARLXNz2Gx+jmHU0LEriUuoQUOPOulVquHKTJ8+EAIIO7fhseNDr9wK5Q9FKBQ== dependencies: - buffer-crc32 "^0.2.13" - crc32-stream "^4.0.2" + crc-32 "^1.2.0" + crc32-stream "^7.0.1" + is-stream "^4.0.0" normalize-path "^3.0.0" - readable-stream "^3.6.0" + readable-stream "^4.0.0" concat-map@0.0.1: version "0.0.1" @@ -3603,13 +3577,13 @@ crc-32@^1.2.0: resolved "https://registry.yarnpkg.com/crc-32/-/crc-32-1.2.2.tgz#3cad35a934b8bf71f25ca524b6da51fb7eace2ff" integrity sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ== -crc32-stream@^4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/crc32-stream/-/crc32-stream-4.0.3.tgz#85dd677eb78fa7cad1ba17cc506a597d41fc6f33" - integrity sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw== +crc32-stream@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/crc32-stream/-/crc32-stream-7.0.1.tgz#e573ff657b789e8b5a131cb298f731d7d12e0f42" + integrity sha512-IBWsY8xznyQrcHn8h4bC8/4ErNke5elzgG8GcqF4RFPw6aHkWWRc7Tgw6upjaTX/CT/yQgqYENkxYsTYN+hW2g== dependencies: crc-32 "^1.2.0" - readable-stream "^3.4.0" + readable-stream "^4.0.0" create-require@^1.1.0: version "1.1.1" @@ -4257,13 +4231,6 @@ encoding@^0.1.13: dependencies: iconv-lite "^0.6.2" -end-of-stream@^1.4.1: - version "1.4.5" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.5.tgz#7344d711dea40e0b74abc2ed49778743ccedb08c" - integrity sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg== - dependencies: - once "^1.4.0" - enhanced-resolve@^5.18.1: version "5.26.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz#9dfb47d050ed6c87f2c6d43b4d7e30f8c0a91ed7" @@ -4668,11 +4635,28 @@ eve-raphael@0.5.0: resolved "https://registry.yarnpkg.com/eve-raphael/-/eve-raphael-0.5.0.tgz#17c754b792beef3fa6684d79cf5a47c63c4cda30" integrity sha512-jrxnPsCGqng1UZuEp9DecX/AuSyAszATSjf4oEcRxvfxa1Oux4KkIPKBAAWWnpdwfARtr+Q0o9aPYWjsROD7ug== +event-target-shim@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" + integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== + eventemitter3@^5.0.1: version "5.0.4" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.4.tgz#a86d66170433712dde814707ac52b5271ceb1feb" integrity sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw== +events-universal@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/events-universal/-/events-universal-1.0.1.tgz#b56a84fd611b6610e0a2d0f09f80fdf931e2dfe6" + integrity sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw== + dependencies: + bare-events "^2.7.0" + +events@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + eventsource-parser@^3.0.0, eventsource-parser@^3.0.1: version "3.0.6" resolved "https://registry.yarnpkg.com/eventsource-parser/-/eventsource-parser-3.0.6.tgz#292e165e34cacbc936c3c92719ef326d4aeb4e90" @@ -4685,20 +4669,19 @@ eventsource@^3.0.2: dependencies: eventsource-parser "^3.0.1" -exceljs-hardened@~5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/exceljs-hardened/-/exceljs-hardened-5.0.0.tgz#262723b35941dfde21f3ab5f1ecdcfebfe9bbf53" - integrity sha512-qRWOd+qudmL+PYN50jktguyngu4cDNWmvJTd2YeGNwgLJy+1+dmAQIVS0ZOF5YphefzgW4288gjIvJn1ZkUZTQ== +exceljs-hardened@~5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/exceljs-hardened/-/exceljs-hardened-5.1.0.tgz#fac5fd6473bfc6c65491f1ab9c82f0ac3247edbe" + integrity sha512-PYTxqFDr2eigpnBrJCo+bswmm1UL5QlKO4RQ/L9MXzX1zdhe/jIqMn+xa0X/ePzrriMxaHA40EOXdtzBI6sT4w== dependencies: - archiver "^5.0.0" + archiver "^8.0.0" dayjs "^1.8.34" fast-csv "^4.3.1" jszip "^3.10.1" readable-stream "^3.6.0" saxes "^5.0.1" tmp "^0.2.0" - unzipper "^0.10.11" - uuid "^8.3.0" + unzipper "^0.12.5" exponential-backoff@^3.1.1: version "3.1.1" @@ -4765,6 +4748,11 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== +fast-fifo@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.3.2.tgz#286e31de96eb96d38a97899815740ba2a4f3640c" + integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ== + fast-glob@^3.2.5, fast-glob@^3.3.2: version "3.3.3" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.3.tgz#d06d585ce8dba90a16b0505c543c3ccfb3aeb818" @@ -4874,10 +4862,10 @@ find-yarn-workspace-root@^2.0.0: dependencies: micromatch "^4.0.2" -flag-icons@7.2.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/flag-icons/-/flag-icons-7.2.3.tgz#b67f379fa0ef28c4e605319a78035131bdd8ced7" - integrity sha512-X2gUdteNuqdNqob2KKTJTS+ZCvyWeLCtDz9Ty8uJP17Y4o82Y+U/Vd4JNrdwTAjagYsRznOn9DZ+E/Q52qbmqg== +flag-icons@7.6.0: + version "7.6.0" + resolved "https://registry.yarnpkg.com/flag-icons/-/flag-icons-7.6.0.tgz#79668a719f1ca591002ddda20dbe7e364bb96621" + integrity sha512-hir/PsXwr0EESyizKrXJzmkzpLIMf+1vlNKLqAfvdh+bsU94a7LYWTiubkHKqptGoCPzOUGcm6c4PfC9/BaGSQ== flat-cache@^4.0.0: version "4.0.1" @@ -4942,10 +4930,14 @@ fresh@^2.0.0: resolved "https://registry.yarnpkg.com/fresh/-/fresh-2.0.0.tgz#8dd7df6a1b3a1b3a5cf186c05a5dd267622635a4" integrity sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A== -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== +fs-extra@11.3.1: + version "11.3.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.1.tgz#ba7a1f97a85f94c6db2e52ff69570db3671d5a74" + integrity sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" fs-extra@^10.0.0: version "10.1.0" @@ -4963,26 +4955,11 @@ fs-minipass@^3.0.0: dependencies: minipass "^7.0.3" -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - fsevents@^2.3.2, fsevents@~2.3.2, fsevents@~2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== -fstream@^1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.12.tgz#4e8ba8ee2d48be4f7d0de505455548eae5932045" - integrity sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg== - dependencies: - graceful-fs "^4.1.2" - inherits "~2.0.0" - mkdirp ">=0.5 0" - rimraf "2" - function-bind@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" @@ -5103,18 +5080,6 @@ glob@^13.0.0: minipass "^7.1.2" path-scurry "^2.0.0" -glob@^7.1.3, glob@^7.1.4, glob@^7.2.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - globals@^14.0.0: version "14.0.0" resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e" @@ -5303,7 +5268,7 @@ iconv-lite@^0.7.3: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -ieee754@^1.1.13: +ieee754@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== @@ -5348,15 +5313,7 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.0, inherits@~2.0.3, inherits@~2.0.4: +inherits@^2.0.3, inherits@~2.0.3, inherits@~2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -5583,6 +5540,11 @@ is-shared-array-buffer@^1.0.4: dependencies: call-bound "^1.0.3" +is-stream@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-4.0.1.tgz#375cf891e16d2e4baec250b85926cffc14720d9b" + integrity sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A== + is-string@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.1.1.tgz#92ea3f3d5c5b6e039ca8677e5ac8d07ea773cbb9" @@ -5990,11 +5952,6 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -listenercount@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/listenercount/-/listenercount-1.0.1.tgz#84c8a72ab59c4725321480c975e6508342e70937" - integrity sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ== - listr2@9.0.1: version "9.0.1" resolved "https://registry.yarnpkg.com/listr2/-/listr2-9.0.1.tgz#3cad12d81d998f8024621d9b35c969dba5da4103" @@ -6059,26 +6016,11 @@ lodash.camelcase@^4.3.0: resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== -lodash.defaults@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c" - integrity sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ== - -lodash.difference@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c" - integrity sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA== - lodash.escaperegexp@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz#64762c48618082518ac3df4ccf5d5886dae20347" integrity sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw== -lodash.flatten@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" - integrity sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g== - lodash.groupby@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.groupby/-/lodash.groupby-4.6.0.tgz#0b08a1dcf68397c397855c3239783832df7403d1" @@ -6104,11 +6046,6 @@ lodash.isnil@^4.0.0: resolved "https://registry.yarnpkg.com/lodash.isnil/-/lodash.isnil-4.0.0.tgz#49e28cd559013458c814c5479d3c663a21bfaa6c" integrity sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng== -lodash.isplainobject@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" - integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== - lodash.isundefined@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz#23ef3d9535565203a66cefd5b830f848911afb48" @@ -6119,11 +6056,6 @@ lodash.merge@^4.6.2: resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash.union@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" - integrity sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw== - lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" @@ -6328,20 +6260,13 @@ minimatch@^10.2.2: dependencies: brace-expansion "^5.0.8" -minimatch@^3.1.1, minimatch@^3.1.2, minimatch@^3.1.5: +minimatch@^3.1.2, minimatch@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e" integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w== dependencies: brace-expansion "^1.1.7" -minimatch@^5.1.0: - version "5.1.9" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.9.tgz#1293ef15db0098b394540e8f9f744f9fda8dee4b" - integrity sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw== - dependencies: - brace-expansion "^2.0.1" - minimist@^1.2.0, minimist@^1.2.6, minimist@^1.2.8: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" @@ -6405,13 +6330,6 @@ minizlib@^3.0.1, minizlib@^3.1.0: dependencies: minipass "^7.1.2" -"mkdirp@>=0.5 0": - version "0.5.6" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" - integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== - dependencies: - minimist "^1.2.6" - mlly@^1.7.4, mlly@^1.8.0: version "1.8.2" resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.8.2.tgz#e7f7919a82d13b174405613117249a3f449d78bb" @@ -6645,6 +6563,11 @@ node-gyp@^12.1.0: tinyglobby "^0.2.12" which "^6.0.0" +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + node-releases@^2.0.59: version "2.0.60" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.60.tgz#e3104c3ceb4530578f546bcfda551a4a2de06939" @@ -6825,7 +6748,7 @@ on-finished@^2.4.1: dependencies: ee-first "1.1.1" -once@^1.3.0, once@^1.4.0: +once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== @@ -7041,11 +6964,6 @@ path-exists@^4.0.0: resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" @@ -7284,6 +7202,11 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== +process@^0.11.10: + version "0.11.10" + resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" + integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== + promise-retry@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" @@ -7388,7 +7311,7 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@~2.3.6: +readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@~2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== @@ -7401,7 +7324,7 @@ readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.5, readable string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: +readable-stream@^3.6.0: version "3.6.2" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== @@ -7410,12 +7333,23 @@ readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdir-glob@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/readdir-glob/-/readdir-glob-1.1.3.tgz#c3d831f51f5e7bfa62fa2ffbe4b508c640f09584" - integrity sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA== +readable-stream@^4.0.0: + version "4.8.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-4.8.0.tgz#22af894e6d60cb0064410fc376367ec4ce470adb" + integrity sha512-2jhTTU3Eilp/2DMT71gbcoqC35eQHasMJH0RHkYxwlxIv3+FR6Y5xAFZIwEGLxKkjZYEFlsiMNIdwUqjK2lLHQ== dependencies: - minimatch "^5.1.0" + abort-controller "^3.0.0" + buffer "^6.0.3" + events "^3.3.0" + process "^0.11.10" + string_decoder "^1.3.0" + +readdir-glob@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/readdir-glob/-/readdir-glob-3.0.0.tgz#a3545e0cef84d88c30fe44118d1a7e20496e9245" + integrity sha512-AhNB2KgKeVJr16nK9LLZbJNWnYoT23ZrumNKFDebHBdkC8KHSqWo871JAUhoWC/RtjEVdqNMFpM6qrwRbaUqpw== + dependencies: + minimatch "^10.2.2" readdirp@^4.0.1: version "4.1.2" @@ -7538,13 +7472,6 @@ rfdc@^1.4.1: resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.4.1.tgz#778f76c4fb731d93414e8f925fbecf64cce7f6ca" integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA== -rimraf@2: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - robust-predicates@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/robust-predicates/-/robust-predicates-2.0.4.tgz#0a2367a93abd99676d075981707f29cfb402248b" @@ -7800,7 +7727,7 @@ set-proto@^1.0.0: es-errors "^1.3.0" es-object-atoms "^1.0.0" -setimmediate@^1.0.5, setimmediate@~1.0.4: +setimmediate@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== @@ -8024,6 +7951,15 @@ stop-iteration-iterator@^1.1.0: es-errors "^1.3.0" internal-slot "^1.1.0" +streamx@^2.12.5, streamx@^2.25.0, streamx@^2.28.1: + version "2.28.1" + resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.28.1.tgz#376cd42a089505a69bec0efdb5189aa45586141f" + integrity sha512-zEzXb0s5Cds7tqMH6rhZ05lcJydCWiQPEwiNngVqzsxCc962vLY4Uw+mW7od8kDH258k2Uz/JrOkdIAAhSh9VA== + dependencies: + events-universal "^1.0.0" + fast-fifo "^1.3.2" + text-decoder "^1.1.0" + strictdom@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/strictdom/-/strictdom-1.0.1.tgz#189de91649f73d44d59b8432efa68ef9d2659460" @@ -8097,7 +8033,7 @@ string.prototype.trimstart@^1.0.8: define-properties "^1.2.1" es-object-atoms "^1.0.0" -string_decoder@^1.1.1: +string_decoder@^1.1.1, string_decoder@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== @@ -8243,16 +8179,15 @@ tapable@^2.3.3: resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.3.3.tgz#5da7c9992c46038221267985ab28421a8879f160" integrity sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A== -tar-stream@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" - integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== +tar-stream@^3.0.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-3.2.2.tgz#aec7f257e712192a177a93aa0450c2e76855c8be" + integrity sha512-+8NeqHRjQWH9nYlwo2gamAMImZCVzI4UoEgDpWorBt9OEfppiZn+uSkskzQKPWIZyji/C8fpWO7u69G0DX0tbg== dependencies: - bl "^4.0.3" - end-of-stream "^1.4.1" - fs-constants "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.1.1" + b4a "^1.9.0" + bare-fs "^4.8.2" + fast-fifo "^1.3.2" + streamx "^2.28.1" tar@^7.4.3, tar@^7.5.2: version "7.5.22" @@ -8265,6 +8200,20 @@ tar@^7.4.3, tar@^7.5.2: minizlib "^3.1.0" yallist "^5.0.0" +teex@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/teex/-/teex-1.0.1.tgz#b8fa7245ef8e8effa8078281946c85ab780a0b12" + integrity sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg== + dependencies: + streamx "^2.12.5" + +text-decoder@^1.1.0: + version "1.2.7" + resolved "https://registry.yarnpkg.com/text-decoder/-/text-decoder-1.2.7.tgz#5d073a9a74b9c0a9d28dfadcab96b604af57d8ba" + integrity sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ== + dependencies: + b4a "^1.6.4" + text-segmentation@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/text-segmentation/-/text-segmentation-1.0.3.tgz#52a388159efffe746b24a63ba311b6ac9f2d7943" @@ -8362,11 +8311,6 @@ transformation-matrix@^2.16.1: resolved "https://registry.yarnpkg.com/transformation-matrix/-/transformation-matrix-2.16.1.tgz#4a2de06331b94ae953193d1b9a5ba002ec5f658a" integrity sha512-tdtC3wxVEuzU7X/ydL131Q3JU5cPMEn37oqVLITjRDSDsnSHVFzW2JiCLfZLIQEgWzZHdSy3J6bZzvKEN24jGA== -"traverse@>=0.3.0 <0.4": - version "0.3.9" - resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.3.9.tgz#717b8f220cc0bb7b44e40514c22b2e8bbc70d8b9" - integrity sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ== - ts-api-utils@^2.1.0, ts-api-utils@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-2.5.0.tgz#4acd4a155e22734990a5ed1fe9e97f113bcb37c1" @@ -8579,21 +8523,16 @@ unpipe@~1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== -unzipper@^0.10.11: - version "0.10.14" - resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.10.14.tgz#d2b33c977714da0fbc0f82774ad35470a7c962b1" - integrity sha512-ti4wZj+0bQTiX2KmKWuwj7lhV+2n//uXEotUmGuQqrbVZSEGFMbI68+c6JCQ8aAmUWYvtHEz2A8K6wXvueR/6g== +unzipper@^0.12.5: + version "0.12.5" + resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.12.5.tgz#7fc6b4862f3832202d1f5cc3adbee2679deaaf6c" + integrity sha512-tXYOi9R57Uj/2Z25SOs5RRSzq886MBQj2gY8dPL+xl/kv6s6SvByoKfAtvfVeEuhntWDgjd2o9p2lb4TVPAz0A== dependencies: - big-integer "^1.6.17" - binary "~0.3.0" - bluebird "~3.4.1" - buffer-indexof-polyfill "~1.0.0" + bluebird "~3.7.2" duplexer2 "~0.1.4" - fstream "^1.0.12" + fs-extra "11.3.1" graceful-fs "^4.2.2" - listenercount "~1.0.1" - readable-stream "~2.3.6" - setimmediate "~1.0.4" + node-int64 "^0.4.0" update-browserslist-db@^1.3.4: version "1.3.4" @@ -8627,11 +8566,6 @@ utrie@^1.0.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-14.0.3.tgz#48c9b0dcf5a42d983c23162399eeb9af8b2cc617" integrity sha512-Sc5u1VVln93y1Xnz4R+CunOZc7R9LUcTmhj7Rc7Eg3HVcf7rVn2FOoa812fe0W8p3jD7xeoGSYbfqCGGH2B6xw== -uuid@^8.3.0: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - v8-compile-cache-lib@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" @@ -8950,14 +8884,14 @@ yoctocolors-cjs@^2.1.3: resolved "https://registry.yarnpkg.com/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz#7e4964ea8ec422b7a40ac917d3a344cfd2304baa" integrity sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw== -zip-stream@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-4.1.1.tgz#1337fe974dbaffd2fa9a1ba09662a66932bd7135" - integrity sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ== +zip-stream@^7.0.2: + version "7.0.5" + resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-7.0.5.tgz#57b25db7c1be3cb4934ab480338dea490eb5ab8c" + integrity sha512-dSvYKdvLsAHCDqPOhIwk/q5CvuWtTB3Dgpoe0uVEFjTzIOAmsQpprX25InCvrvJsirEbu1OHyy67n/kAj1Sw/w== dependencies: - archiver-utils "^3.0.4" - compress-commons "^4.1.2" - readable-stream "^3.6.0" + compress-commons "^7.0.0" + normalize-path "^3.0.0" + readable-stream "^4.0.0" zod-to-json-schema@^3.25.1: version "3.25.1" From 155cfb7101a4b6fccf46a0419de494434930a83d Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 23 Oct 2026 16:13:16 +0300 Subject: [PATCH 274/559] Fixed CVE-2026-48038, CVE-2026-84367, CVE-2026-84368, CVE-2026-90771 and CVE-2026-92599 in js-executor Updated joi, pulled in by simple-oauth2, to 17.13.8. --- msa/js-executor/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/msa/js-executor/yarn.lock b/msa/js-executor/yarn.lock index 20f33031f6..0a2998a69f 100644 --- a/msa/js-executor/yarn.lock +++ b/msa/js-executor/yarn.lock @@ -1248,9 +1248,9 @@ isarray@~1.0.0: integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== joi@^17.6.4: - version "17.13.3" - resolved "https://registry.yarnpkg.com/joi/-/joi-17.13.3.tgz#0f5cc1169c999b30d344366d384b12d92558bcec" - integrity sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA== + version "17.13.8" + resolved "https://registry.yarnpkg.com/joi/-/joi-17.13.8.tgz#92069d521eea09fd709d8abbb86b0ef02862224f" + integrity sha512-iPKOGmiRw1jxf/JOPwxmCcUQAOdF359mdzYiP2DJ+TMX0YK2zjK3D+zYOaGjpumWxOFF/l2xVWjRVK5bGSLdEw== dependencies: "@hapi/hoek" "^9.3.0" "@hapi/topo" "^5.1.0" From 815ebec5ddb97d5783e7589dbac1169301464471 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 23 Oct 2026 16:14:19 +0300 Subject: [PATCH 275/559] Renamed ngx-color-picker patch to match version 20.1.0 The HSVA scaling bug fixed by the patch is still present in 20.1.0 and the patch applies to the same code. --- ...r-picker+20.0.0.patch => @iplab+ngx-color-picker+20.1.0.patch} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename ui-ngx/patches/{@iplab+ngx-color-picker+20.0.0.patch => @iplab+ngx-color-picker+20.1.0.patch} (100%) diff --git a/ui-ngx/patches/@iplab+ngx-color-picker+20.0.0.patch b/ui-ngx/patches/@iplab+ngx-color-picker+20.1.0.patch similarity index 100% rename from ui-ngx/patches/@iplab+ngx-color-picker+20.0.0.patch rename to ui-ngx/patches/@iplab+ngx-color-picker+20.1.0.patch From c2f385e03a77f6dcf302ee6718298c5a369966ae Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Fri, 23 Oct 2026 15:24:38 +0200 Subject: [PATCH 276/559] Restamp license headers for edge session changes --- .../server/service/edge/rpc/service/EdgeGrpcService.java | 3 ++- .../server/service/edge/rpc/session/EdgeSessionsHolder.java | 3 ++- .../server/service/edge/rpc/service/EdgeGrpcServiceTest.java | 4 ++-- .../service/edge/rpc/session/EdgeSessionsHolderTest.java | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java index 95fb193f3d..b2b7ea6cf0 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcService.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.edge.rpc.service; import com.fasterxml.jackson.databind.node.ObjectNode; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java index 058f0d5d50..0f1f224e3c 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.edge.rpc.session; import lombok.Data; diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java index 08943159da..dce6ef5aa6 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/service/EdgeGrpcServiceTest.java @@ -1,5 +1,5 @@ -// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.server.service.edge.rpc.service; import org.junit.jupiter.api.BeforeEach; diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java index 325f5ba689..72e142939f 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolderTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.edge.rpc.session; import org.junit.jupiter.api.BeforeEach; From c194d9b357f68f2fdce91bab95f62ccb315c41c8 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 23 Oct 2026 16:32:36 +0300 Subject: [PATCH 277/559] Fixed CVE-2025-13466, CVE-2026-12590, CVE-2026-24001, CVE-2026-8723, CVE-2026-82417 and CVE-2026-82562 in web-report Updated config, express, js-yaml, winston, @yao-pkg/pkg 6.24.0, fs-extra, @types/express and @types/node to match js-executor and web-ui, playwright to 1.64.1 (same Chromium 156.0.8078.4), and regenerated the lockfile. Dropped @types/config and the unused nyc section. Logger takes the Transport type from winston. --- msa/web-report/config/logger.ts | 5 +- msa/web-report/package.json | 29 +- msa/web-report/yarn.lock | 1100 +++++++++++++++++++------------ 3 files changed, 693 insertions(+), 441 deletions(-) diff --git a/msa/web-report/config/logger.ts b/msa/web-report/config/logger.ts index 0091a920d3..17e543a528 100644 --- a/msa/web-report/config/logger.ts +++ b/msa/web-report/config/logger.ts @@ -3,11 +3,10 @@ import config from 'config'; import path from 'path'; import DailyRotateFile from 'winston-daily-rotate-file'; -import { createLogger, format, transports } from 'winston'; -import * as Transport from 'winston-transport'; +import { createLogger, format, transport, transports } from 'winston'; const { combine, timestamp, label, printf, splat } = format; -const loggerTransports: Array = []; +const loggerTransports: Array = []; if (process.env.NODE_ENV !== 'production' || process.env.DOCKER_MODE === 'true') { loggerTransports.push(new transports.Console({ diff --git a/msa/web-report/package.json b/msa/web-report/package.json index 01252ba26c..2884a8ca97 100644 --- a/msa/web-report/package.json +++ b/msa/web-report/package.json @@ -13,28 +13,19 @@ "build": "tsc" }, "dependencies": { - "config": "~4.1.1", - "express": "~5.1.0", - "js-yaml": "^4.1.1", - "playwright-chromium": "~1.64.0", - "playwright-core": "~1.64.0", - "winston": "~3.17.0", + "config": "~4.4.2", + "express": "~5.3.0", + "js-yaml": "^4.3.2", + "playwright-chromium": "~1.64.1", + "playwright-core": "~1.64.1", + "winston": "~3.19.0", "winston-daily-rotate-file": "~5.0.0" }, - "nyc": { - "exclude": [ - "test", - "__tests__", - "node_modules", - "target" - ] - }, "devDependencies": { - "@types/config": "~3.3.5", - "@types/express": "~5.0.3", - "@types/node": "~22.17.2", - "@yao-pkg/pkg": "^6.6.0", - "fs-extra": "~11.3.1", + "@types/express": "~5.0.6", + "@types/node": "~22.20.5", + "@yao-pkg/pkg": "^6.24.0", + "fs-extra": "~11.4.1", "postinstall-postinstall": "^2.1.0", "ts-node": "~10.9.2", "typescript": "~5.9.3" diff --git a/msa/web-report/yarn.lock b/msa/web-report/yarn.lock index 9111e626ca..f79b3d41d1 100644 --- a/msa/web-report/yarn.lock +++ b/msa/web-report/yarn.lock @@ -2,47 +2,88 @@ # yarn lockfile v1 -"@babel/generator@^7.23.0": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.3.tgz#9626c1741c650cbac39121694a0f2d7451b8ef3e" - integrity sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw== - dependencies: - "@babel/parser" "^7.28.3" - "@babel/types" "^7.28.2" +"@babel/code-frame@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.29.7.tgz#f2fbbfea87c44a21590ec515b778b2c26d8866e7" + integrity sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw== + dependencies: + "@babel/helper-validator-identifier" "^7.29.7" + js-tokens "^4.0.0" + picocolors "^1.1.1" + +"@babel/generator@^7.23.0", "@babel/generator@^7.29.8": + version "7.29.8" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.29.8.tgz#4b0b887885422643339e09022148a4c4ebaa4979" + integrity sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg== + dependencies: + "@babel/parser" "^7.29.8" + "@babel/types" "^7.29.8" "@jridgewell/gen-mapping" "^0.3.12" "@jridgewell/trace-mapping" "^0.3.28" jsesc "^3.0.2" -"@babel/helper-string-parser@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" - integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== - -"@babel/helper-validator-identifier@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" - integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== - -"@babel/parser@^7.23.0", "@babel/parser@^7.28.3": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.3.tgz#d2d25b814621bca5fe9d172bc93792547e7a2a71" - integrity sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA== - dependencies: - "@babel/types" "^7.28.2" - -"@babel/types@^7.23.0", "@babel/types@^7.28.2": - version "7.28.2" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.2.tgz#da9db0856a9a88e0a13b019881d7513588cf712b" - integrity sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ== - dependencies: - "@babel/helper-string-parser" "^7.27.1" - "@babel/helper-validator-identifier" "^7.27.1" - -"@colors/colors@1.6.0", "@colors/colors@^1.6.0": +"@babel/helper-globals@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.29.7.tgz#f04a96fbd8473241b1079243f5b3f03a3010ab7b" + integrity sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA== + +"@babel/helper-string-parser@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz#7f0871d99824d23137d60f86fcf6130fd5a1b51f" + integrity sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw== + +"@babel/helper-validator-identifier@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz#bd87084ced0c796ec46bda492de6e83d29e89fc2" + integrity sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg== + +"@babel/parser@^7.23.0", "@babel/parser@^7.29.7", "@babel/parser@^7.29.8", "@babel/parser@^7.29.9": + version "7.29.9" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.9.tgz#e7ee0a24f752c5296c6455855ccb72662e67ea96" + integrity sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA== + dependencies: + "@babel/types" "^7.29.8" + +"@babel/template@^7.29.7": + version "7.29.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.29.7.tgz#4d9d4004f645cdd304de958c725162784ecac700" + integrity sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg== + dependencies: + "@babel/code-frame" "^7.29.7" + "@babel/parser" "^7.29.7" + "@babel/types" "^7.29.7" + +"@babel/traverse@^7.23.0": + version "7.29.10" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.29.10.tgz#08ab387639b4a67304511259c7da6cf23a82e91c" + integrity sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ== + dependencies: + "@babel/code-frame" "^7.29.7" + "@babel/generator" "^7.29.8" + "@babel/helper-globals" "^7.29.7" + "@babel/parser" "^7.29.9" + "@babel/template" "^7.29.7" + "@babel/types" "^7.29.8" + debug "^4.3.1" + +"@babel/types@^7.23.0", "@babel/types@^7.29.7", "@babel/types@^7.29.8": + version "7.29.8" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.29.8.tgz#1229eef31d85156d70fa3f4cd859376d0eaf6863" + integrity sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg== + dependencies: + "@babel/helper-string-parser" "^7.29.7" + "@babel/helper-validator-identifier" "^7.29.7" + +"@colors/colors@1.6.0": version "1.6.0" resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.6.0.tgz#ec6cd237440700bc23ca23087f513c75508958b0" integrity sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA== +"@colors/colors@^1.6.0": + version "1.6.1" + resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.6.1.tgz#8e2827259ada76965b3a051c18a5927fbdac38c2" + integrity sha512-dTmUJzXSuayBK+hZydEaXd2mhx61qWQwkwaBBY6LyEOVx/L9aQU5ac8eFNEsd9nrD1+zb9zvDCphLSe8g1F4Qw== + "@cspotcode/source-map-support@^0.8.0": version "0.8.1" resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" @@ -50,15 +91,145 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@dabh/diagnostics@^2.0.2": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.3.tgz#7f7e97ee9a725dffc7808d93668cc984e1dc477a" - integrity sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA== +"@dabh/diagnostics@^2.0.8": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.9.tgz#0de9e8718e23ab60d1fb1ce0c004079f14f5ad36" + integrity sha512-R6siwR65Hm+3yfgP7o8DKhNvputQAwfoz9zTc3kyDudnomj2/BcLmD+uGQQPICjuFUp8ounPBU+jmKsocwVVAg== dependencies: - colorspace "1.1.x" + "@so-ric/colorspace" "^1.1.6" enabled "2.0.x" kuler "^2.0.0" +"@esbuild/aix-ppc64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz#bf6e10303bcf2e7c686975fa52f937ec2728d8bc" + integrity sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ== + +"@esbuild/android-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz#0c6246bc8d2c4d172aac2db3fb1190d72bd65504" + integrity sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A== + +"@esbuild/android-arm@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.28.2.tgz#2d84ece6a4e2684d92be26ee13d42757d831c381" + integrity sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg== + +"@esbuild/android-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.28.2.tgz#fc38d4d6358d8dc1cf53f09f7589fe436eb64801" + integrity sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q== + +"@esbuild/darwin-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz#f83afeeac1d7dac01c7a2fd012b3e451a0591fcc" + integrity sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw== + +"@esbuild/darwin-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz#510147c055a795588dbbe14fd6b1b8ad0a2f30de" + integrity sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw== + +"@esbuild/freebsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz#093b9200ecf0b115ba4e5e248a7485c9c5f8bd5e" + integrity sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw== + +"@esbuild/freebsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz#0be22b6df925d213e841ea87123af5df80b0faf7" + integrity sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg== + +"@esbuild/linux-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz#1bdbc651cda9ba9995c53ed9c71ceaa65094762d" + integrity sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug== + +"@esbuild/linux-arm@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz#beb12ad72b84f72d28488cc1b8ee9f7eb141d753" + integrity sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w== + +"@esbuild/linux-ia32@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz#b81f9d55529b45c206a46a138214b1aa6879696b" + integrity sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ== + +"@esbuild/linux-loong64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz#598667241a04c99b76ed6ef940ac50038c419f98" + integrity sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ== + +"@esbuild/linux-mips64el@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz#1c51eb9cea903f53d97b5af3b1841db70f5596ca" + integrity sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA== + +"@esbuild/linux-ppc64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz#63dd61f17ceb31a81227f413feac8a71bc2c51f2" + integrity sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ== + +"@esbuild/linux-riscv64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz#3763b08fde5cf25ab1facb8e7752edfe45fbfc27" + integrity sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA== + +"@esbuild/linux-s390x@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz#1a137ff293a82906eb3176385bd7e8e0e5cfb7cb" + integrity sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg== + +"@esbuild/linux-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz#268b36211c146ca54f8fe12c578a8d6ef8979485" + integrity sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ== + +"@esbuild/netbsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz#22571ad951d62bb6accc82d8d1fad5c8c1ac0ba1" + integrity sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw== + +"@esbuild/netbsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz#42fcc57297eb0a0ca3f5fc475291f4c1a3f7c0de" + integrity sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw== + +"@esbuild/openbsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz#9eb32af104ac3dacf4edca01f596664aab0c73ef" + integrity sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ== + +"@esbuild/openbsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz#febed2402d6088225e91f20fb4ce2522ad0a4efd" + integrity sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw== + +"@esbuild/openharmony-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz#85641c3d466428bfbccea5f21c26836663fef5ce" + integrity sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q== + +"@esbuild/sunos-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz#a736f9d8962481045fc4c3e54f5479f22c870fb4" + integrity sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g== + +"@esbuild/win32-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz#ee5ab40fad186201b652a33f8a5eb149e9e42532" + integrity sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ== + +"@esbuild/win32-ia32@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz#c40d28a6d99a127da6711f2afd74b11cb63b06a7" + integrity sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA== + +"@esbuild/win32-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz#b21affb804cc167c133d95f45b3a1dc1323b9a87" + integrity sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g== + "@isaacs/fs-minipass@^4.0.0": version "4.0.1" resolved "https://registry.yarnpkg.com/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz#2d59ae3ab4b38fb4270bfa23d30f8e2e86c7fe32" @@ -80,9 +251,9 @@ integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.5.0": - version "1.5.5" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" - integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== + version "1.6.0" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz#f4c663e862f06dc98ca4d453862c46902789a18d" + integrity sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw== "@jridgewell/trace-mapping@0.3.9": version "0.3.9" @@ -93,17 +264,30 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.28": - version "0.3.30" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.30.tgz#4a76c4daeee5df09f5d3940e087442fb36ce2b99" - integrity sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q== + version "0.3.31" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz#db15d6781c931f3a251a3dac39501c98a6082fd0" + integrity sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@roberts_lando/vfs@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@roberts_lando/vfs/-/vfs-0.3.3.tgz#6359feed30e3773041279cb11be82ca60f4ff1f1" + integrity sha512-YjkxVSLw5WMZQoARaryRAjcxA+GbBzWMJdwYZX5oLUt9cC/gew9as4Dn7tcLzPp7BPoR221VpTZ+78TRPawnjg== + +"@so-ric/colorspace@^1.1.6": + version "1.1.6" + resolved "https://registry.yarnpkg.com/@so-ric/colorspace/-/colorspace-1.1.6.tgz#62515d8b9f27746b76950a83bde1af812d91923b" + integrity sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw== + dependencies: + color "^5.0.2" + text-hex "1.0.x" + "@tsconfig/node10@^1.0.7": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.11.tgz#6ee46400685f130e278128c7b38b7e031ff5b2f2" - integrity sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw== + version "1.0.13" + resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.13.tgz#56105a9a8c786e8f15e35746879cf2d52275485b" + integrity sha512-gcLdvR9HO1ZJBypsOGqaP6TFEzb6vIta0KSTLt9NAQ6pXQO3cRgSVyCN6pzYqI9DlJgY71XKO0dpDhCf08b3pg== "@tsconfig/node12@^1.0.7": version "1.0.11" @@ -128,11 +312,6 @@ "@types/connect" "*" "@types/node" "*" -"@types/config@~3.3.5": - version "3.3.5" - resolved "https://registry.yarnpkg.com/@types/config/-/config-3.3.5.tgz#91f0a52b10212b9c4254fb0bbc4bedd77cd389b8" - integrity sha512-itq2HtXQBrNUKwMNZnb9mBRE3T99VYCdl1gjST9rq+9kFaB1iMMGuDeZnP88qid73DnpAMKH9ZolqDpS1Lz7+w== - "@types/connect@*": version "3.4.38" resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" @@ -141,52 +320,47 @@ "@types/node" "*" "@types/express-serve-static-core@^5.0.0": - version "5.0.7" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-5.0.7.tgz#2fa94879c9d46b11a5df4c74ac75befd6b283de6" - integrity sha512-R+33OsgWw7rOhD1emjU7dzCDHucJrgJXMA5PYCzJxVil0dsyx5iBEPHqpPfiKNJQb7lZ1vxwoLR4Z87bBUpeGQ== + version "5.1.3" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-5.1.3.tgz#9d34c88c0c9ee62b9a6e4d9f8ab8d7e29688e6b4" + integrity sha512-dPfW8NFiOF4wOHc7+N/QSxlY9cfSsenewGbAz8C8U/MULPd/YZ27LvJUIlzaXie7e6Ove9YunJGgC9tbHD2cKw== dependencies: "@types/node" "*" "@types/qs" "*" "@types/range-parser" "*" "@types/send" "*" -"@types/express@~5.0.3": - version "5.0.3" - resolved "https://registry.yarnpkg.com/@types/express/-/express-5.0.3.tgz#6c4bc6acddc2e2a587142e1d8be0bce20757e956" - integrity sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw== +"@types/express@~5.0.6": + version "5.0.6" + resolved "https://registry.yarnpkg.com/@types/express/-/express-5.0.6.tgz#2d724b2c990dcb8c8444063f3580a903f6d500cc" + integrity sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA== dependencies: "@types/body-parser" "*" "@types/express-serve-static-core" "^5.0.0" - "@types/serve-static" "*" + "@types/serve-static" "^2" "@types/http-errors@*": version "2.0.5" resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.5.tgz#5b749ab2b16ba113423feb1a64a95dcd30398472" integrity sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg== -"@types/mime@^1": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" - integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== - "@types/node@*": - version "24.3.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-24.3.0.tgz#89b09f45cb9a8ee69466f18ee5864e4c3eb84dec" - integrity sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow== + version "26.6.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-26.6.5.tgz#cb35209e7767c503551b5fa42a48231c7441d979" + integrity sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg== dependencies: - undici-types "~7.10.0" + undici-types "~8.9.0" -"@types/node@~22.17.2": - version "22.17.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.17.2.tgz#47a93d6f4b79327da63af727e7c54e8cab8c4d33" - integrity sha512-gL6z5N9Jm9mhY+U2KXZpteb+09zyffliRkZyZOHODGATyC5B1Jt/7TzuuiLkFsSUMLbS1OLmlj/E+/3KF4Q/4w== +"@types/node@~22.20.5": + version "22.20.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.20.5.tgz#afa7bde6da81b8b83ea4e2f020487e9b148c11fd" + integrity sha512-U2+DNr+wSjpsTS/wZGYHq7GcwfuSmKiKvoPvK22zwTlRhU91yOniN4qRR5KhIjvif7ysw/dz/hKmfDH0Ris4aA== dependencies: undici-types "~6.21.0" "@types/qs@*": - version "6.14.0" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.14.0.tgz#d8b60cecf62f2db0fb68e5e006077b9178b85de5" - integrity sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ== + version "6.15.1" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.15.1.tgz#8606884272c63f0db96986bd3548650d8a9388bf" + integrity sha512-GZHUBZR9hckSUhrxmp1nG6NwdpM9fCunJwyThLW1X3AyHgd9IlHb6VANpQQqDr2o/qQp6McZ3y/IA2rVzKzSbw== "@types/range-parser@*": version "1.2.7" @@ -194,58 +368,59 @@ integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== "@types/send@*": - version "0.17.5" - resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.5.tgz#d991d4f2b16f2b1ef497131f00a9114290791e74" - integrity sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w== + version "1.2.1" + resolved "https://registry.yarnpkg.com/@types/send/-/send-1.2.1.tgz#6a784e45543c18c774c049bff6d3dbaf045c9c74" + integrity sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ== dependencies: - "@types/mime" "^1" "@types/node" "*" -"@types/serve-static@*": - version "1.15.8" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.8.tgz#8180c3fbe4a70e8f00b9f70b9ba7f08f35987877" - integrity sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg== +"@types/serve-static@^2": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-2.2.0.tgz#d4a447503ead0d1671132d1ab6bd58b805d8de6a" + integrity sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ== dependencies: "@types/http-errors" "*" "@types/node" "*" - "@types/send" "*" "@types/triple-beam@^1.3.2": version "1.3.5" resolved "https://registry.yarnpkg.com/@types/triple-beam/-/triple-beam-1.3.5.tgz#74fef9ffbaa198eb8b588be029f38b00299caa2c" integrity sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw== -"@yao-pkg/pkg-fetch@3.5.24": - version "3.5.24" - resolved "https://registry.yarnpkg.com/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.24.tgz#37a671f077fe6446aec0758e6fc7961d183c3445" - integrity sha512-FPESCH1uXCYui6jeDp2aayWuFHR39w+uU1r88nI6JWRvPYOU64cHPUV/p6GSFoQdpna7ip92HnrZKbBC60l0gA== +"@yao-pkg/pkg-fetch@3.6.7": + version "3.6.7" + resolved "https://registry.yarnpkg.com/@yao-pkg/pkg-fetch/-/pkg-fetch-3.6.7.tgz#5fb8a55031846ef105efeaf4beae0d4f4ed47540" + integrity sha512-uEeU5druVgHffruTAXzW6nf0wHfREWlCq5LBtQ4hCdLBDbwTteuym5NrxREur3EgNcqFRenEi6Rivwo723PkHg== dependencies: - https-proxy-agent "^5.0.0" - node-fetch "^2.6.6" picocolors "^1.1.0" progress "^2.0.3" semver "^7.3.5" - tar-fs "^2.1.1" + tar-fs "^3.1.1" + undici "^7.28.0" yargs "^16.2.0" -"@yao-pkg/pkg@^6.6.0": - version "6.6.0" - resolved "https://registry.yarnpkg.com/@yao-pkg/pkg/-/pkg-6.6.0.tgz#e8c38ed5824381c676e6688f93e27f39e1752701" - integrity sha512-3/oiaSm7fS0Fc7dzp22r9B7vFaguGhO9vERgEReRYj2EUzdi5ssyYhe1uYJG4ec/dmo2GG6RRHOUAT8savl79Q== +"@yao-pkg/pkg@^6.24.0": + version "6.24.0" + resolved "https://registry.yarnpkg.com/@yao-pkg/pkg/-/pkg-6.24.0.tgz#c556d2e98e8ac437ac7f08065accec8595a13b98" + integrity sha512-SMwFLic12noHLbqxhhQVClVX6YZlQtzwwez6dq7Xj64rXX6OFgZTTQbPgw4wgec5IoUN+6rCRKgyW/cnVPOwkA== dependencies: "@babel/generator" "^7.23.0" "@babel/parser" "^7.23.0" + "@babel/traverse" "^7.23.0" "@babel/types" "^7.23.0" - "@yao-pkg/pkg-fetch" "3.5.24" - into-stream "^6.0.0" - minimist "^1.2.6" + "@roberts_lando/vfs" "^0.3.3" + "@yao-pkg/pkg-fetch" "3.6.7" + esbuild "^0.28.1" + into-stream "^9.1.0" multistream "^4.1.0" picocolors "^1.1.0" picomatch "^4.0.2" + postject "^1.0.0-alpha.6" prebuild-install "^7.1.1" resolve "^1.22.10" + resolve.exports "^2.0.3" stream-meter "^1.0.4" - tar "^7.4.3" + tar "^7.5.7" tinyglobby "^0.2.11" unzipper "^0.12.3" @@ -258,23 +433,16 @@ accepts@^2.0.0: negotiator "^1.0.0" acorn-walk@^8.1.1: - version "8.3.4" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.4.tgz#794dd169c3977edf4ba4ea47583587c5866236b7" - integrity sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g== + version "8.3.5" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.5.tgz#8a6b8ca8fc5b34685af15dabb44118663c296496" + integrity sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw== dependencies: acorn "^8.11.0" acorn@^8.11.0, acorn@^8.4.1: - version "8.14.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.0.tgz#063e2c70cac5fb4f6467f0b11152e04c682795b0" - integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA== - -agent-base@6: - version "6.0.2" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" + version "8.19.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.19.0.tgz#6b26fd97ce1cc9dc50bdf7ad305e9f1384d4f28a" + integrity sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw== ansi-regex@^5.0.1: version "5.0.1" @@ -303,6 +471,48 @@ async@^3.2.3: resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== +b4a@^1.6.4, b4a@^1.8.1, b4a@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.9.0.tgz#6336313b6e76b299c397afa68676ec6ebc788845" + integrity sha512-dpfcF9fDNR6++cthXR67iyhgqWy9CBouAvIWhIntzBG6cvK/cnIPiZQjBwi/ZqjjBEDGfoNDtmB0kTjroOJ3pQ== + +bare-events@^2.5.4, bare-events@^2.7.0: + version "2.9.2" + resolved "https://registry.yarnpkg.com/bare-events/-/bare-events-2.9.2.tgz#01d377b64c3c7167b28b52da7add3221aecf2d7f" + integrity sha512-AIPKioV7/Y/8KfZ3AAhjPJxLLbY49S64Ym5DakZlUg75qQiTgUq9hEJoEwa4eUezPUlXRy/i5NpsKvo9jgKmoA== + +bare-fs@^4.0.1, bare-fs@^4.8.2: + version "4.8.4" + resolved "https://registry.yarnpkg.com/bare-fs/-/bare-fs-4.8.4.tgz#f342288e7e5d9d8e79917078e1f45950507828c5" + integrity sha512-MPC2eyrpbk3A873sK4y6rk+Iv4o2enxTjHZ8zH3HO0mjrpm5XjnguY2XmfidIsDV6vnjpbMBKUAJpV0ISD2SsQ== + dependencies: + bare-events "^2.5.4" + bare-path "^3.0.0" + bare-stream "^2.6.4" + bare-url "^2.2.2" + fast-fifo "^1.3.2" + +bare-path@^3.0.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/bare-path/-/bare-path-3.1.2.tgz#67261bc74a9ba0105ba139b8638f218c09e8d82e" + integrity sha512-ZyKbsuuqK6Ag0K8pX6V5Txq6XeJRvY+wXucnFGRjiyVYP9YWDpIQugk/b+enRYrEYBJaqLzghRQpXPMR7341Nw== + +bare-stream@^2.6.4: + version "2.13.4" + resolved "https://registry.yarnpkg.com/bare-stream/-/bare-stream-2.13.4.tgz#61d448a268d1efd992103aae6bd729332f278ac0" + integrity sha512-PcrQ8lVLbiJscNm1Kez+Yp4Gy4AHGcN1lzwjvf5NybWen7VvEgUfyfnXYJ2zNqWnzOfCb1Abq6lH8ti0syQszA== + dependencies: + b4a "^1.8.1" + streamx "^2.25.0" + teex "^1.0.1" + +bare-url@^2.2.2: + version "2.5.5" + resolved "https://registry.yarnpkg.com/bare-url/-/bare-url-2.5.5.tgz#2e8c18db11393aa6cae6ff246fdcda34615aacd3" + integrity sha512-iM9qJCruvpt2rPaLsrumVDru9pogI7PHziHIa9kTNRFt8C8HuSa+kI9kFezK+NvHEFnnz71rKGZ1EAilq/3V/Q== + dependencies: + bare-path "^3.0.0" + base64-js@^1.3.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" @@ -322,20 +532,20 @@ bluebird@~3.7.2: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -body-parser@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.2.0.tgz#f7a9656de305249a715b549b7b8fd1ab9dfddcfa" - integrity sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg== +body-parser@^2.3.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.4.0.tgz#337a76249270f83e450ad385a9606ca3b4a75c06" + integrity sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ== dependencies: bytes "^3.1.2" - content-type "^1.0.5" - debug "^4.4.0" - http-errors "^2.0.0" - iconv-lite "^0.6.3" + content-type "^2.1.0" + debug "^4.4.3" + http-errors "^2.0.1" + iconv-lite "^0.7.3" on-finished "^2.4.1" - qs "^6.14.0" - raw-body "^3.0.0" - type-is "^2.0.0" + qs "^6.16.1" + raw-body "^3.0.2" + type-is "^2.1.0" buffer@^5.5.0: version "5.7.1" @@ -345,7 +555,7 @@ buffer@^5.5.0: base64-js "^1.3.1" ieee754 "^1.1.13" -bytes@3.1.2, bytes@^3.1.2: +bytes@^3.1.2, bytes@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== @@ -385,13 +595,6 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -color-convert@^1.9.3: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - color-convert@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" @@ -399,58 +602,59 @@ color-convert@^2.0.1: dependencies: color-name "~1.1.4" -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== +color-convert@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-3.1.3.tgz#db6627b97181cb8facdfce755ae26f97ab0711f1" + integrity sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg== + dependencies: + color-name "^2.0.0" + +color-name@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-2.1.1.tgz#86c00ec98db36705be5bd4428097f13af1175a6d" + integrity sha512-p2FdgwVx1a9yWBHP2wI0VgShkDpgN4kZISkxdNipGBJWpa5G6b04OINlVWCyJj0JmfvcPrgqt95E9k8yvaOJFg== -color-name@^1.0.0, color-name@~1.1.4: +color-name@~1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -color-string@^1.6.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4" - integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg== +color-string@^2.1.3: + version "2.1.4" + resolved "https://registry.yarnpkg.com/color-string/-/color-string-2.1.4.tgz#9dcf566ff976e23368c8bd673f5c35103ab41058" + integrity sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg== dependencies: - color-name "^1.0.0" - simple-swizzle "^0.2.2" + color-name "^2.0.0" -color@^3.1.3: - version "3.2.1" - resolved "https://registry.yarnpkg.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" - integrity sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA== +color@^5.0.2: + version "5.0.3" + resolved "https://registry.yarnpkg.com/color/-/color-5.0.3.tgz#f79390b1b778e222ffbb54304d3dbeaef633f97f" + integrity sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA== dependencies: - color-convert "^1.9.3" - color-string "^1.6.0" + color-convert "^3.1.3" + color-string "^2.1.3" -colorspace@1.1.x: - version "1.1.4" - resolved "https://registry.yarnpkg.com/colorspace/-/colorspace-1.1.4.tgz#8d442d1186152f60453bf8070cd66eb364e59243" - integrity sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w== - dependencies: - color "^3.1.3" - text-hex "1.0.x" +commander@^9.4.0: + version "9.5.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-9.5.0.tgz#bc08d1eb5cedf7ccb797a96199d41c7bc3e60d30" + integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ== -config@~4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/config/-/config-4.1.1.tgz#798f636e2a5b7baa7050280d1eb21f8e10abb8c9" - integrity sha512-jljfwqNZ7QHwAW9Z9NDZdJARFiu5pjLqQO0K4ooY22iY/bIY78n0afI4ANEawfgQOxri0K/3oTayX8XIauWcLA== +config@~4.4.2: + version "4.4.2" + resolved "https://registry.yarnpkg.com/config/-/config-4.4.2.tgz#adab67a87fcb5f84edcacb3f159ccdb31ad8b901" + integrity sha512-5HJD7TX70gOG2dAd72eDjDeSTYn6D8nOiKgysQQS8mRUo9X1wDtlzb1JlmIWkP+sM9zKRVdYJxmj+qmCsYu6DQ== dependencies: json5 "^2.2.3" -content-disposition@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-1.0.0.tgz#844426cb398f934caefcbb172200126bc7ceace2" - integrity sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg== - dependencies: - safe-buffer "5.2.1" +content-disposition@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-2.0.1.tgz#88a75c7a52ef9c407c96035fe83a66939c2a4dc9" + integrity sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog== -content-type@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" - integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== +content-type@^2.0.0, content-type@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-2.1.0.tgz#d9389c43c0a8cf6a355db464d21e07092a40493a" + integrity sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag== cookie-signature@^1.2.1: version "1.2.2" @@ -472,10 +676,10 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -debug@4, debug@^4.3.5, debug@^4.4.0: - version "4.4.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b" - integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ== +debug@^4.3.1, debug@^4.4.0, debug@^4.4.3: + version "4.4.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a" + integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== dependencies: ms "^2.1.3" @@ -491,20 +695,20 @@ deep-extend@^0.6.0: resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== -depd@2.0.0, depd@^2.0.0: +depd@^2.0.0, depd@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== detect-libc@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.4.tgz#f04715b8ba815e53b4d8109655b6508a6865a7e8" - integrity sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA== + version "2.1.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.1.2.tgz#689c5dcdc1900ef5583a4cb9f6d7b473742074ad" + integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ== diff@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" - integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + version "4.0.4" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.4.tgz#7a6dbfda325f25f07517e9b518f897c08332e07d" + integrity sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ== dunder-proto@^1.0.1: version "1.0.1" @@ -560,12 +764,44 @@ es-errors@^1.3.0: integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" - integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== + version "1.1.2" + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.2.tgz#a2d0b373205724dfa525d23b0c3e1b1ca582c99b" + integrity sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw== dependencies: es-errors "^1.3.0" +esbuild@^0.28.1: + version "0.28.2" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.28.2.tgz#0f43bd1bad955b72d24e2261e3abe5957ccf0816" + integrity sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA== + optionalDependencies: + "@esbuild/aix-ppc64" "0.28.2" + "@esbuild/android-arm" "0.28.2" + "@esbuild/android-arm64" "0.28.2" + "@esbuild/android-x64" "0.28.2" + "@esbuild/darwin-arm64" "0.28.2" + "@esbuild/darwin-x64" "0.28.2" + "@esbuild/freebsd-arm64" "0.28.2" + "@esbuild/freebsd-x64" "0.28.2" + "@esbuild/linux-arm" "0.28.2" + "@esbuild/linux-arm64" "0.28.2" + "@esbuild/linux-ia32" "0.28.2" + "@esbuild/linux-loong64" "0.28.2" + "@esbuild/linux-mips64el" "0.28.2" + "@esbuild/linux-ppc64" "0.28.2" + "@esbuild/linux-riscv64" "0.28.2" + "@esbuild/linux-s390x" "0.28.2" + "@esbuild/linux-x64" "0.28.2" + "@esbuild/netbsd-arm64" "0.28.2" + "@esbuild/netbsd-x64" "0.28.2" + "@esbuild/openbsd-arm64" "0.28.2" + "@esbuild/openbsd-x64" "0.28.2" + "@esbuild/openharmony-arm64" "0.28.2" + "@esbuild/sunos-x64" "0.28.2" + "@esbuild/win32-arm64" "0.28.2" + "@esbuild/win32-ia32" "0.28.2" + "@esbuild/win32-x64" "0.28.2" + escalade@^3.1.1: version "3.2.0" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" @@ -581,23 +817,31 @@ etag@^1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== +events-universal@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/events-universal/-/events-universal-1.0.1.tgz#b56a84fd611b6610e0a2d0f09f80fdf931e2dfe6" + integrity sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw== + dependencies: + bare-events "^2.7.0" + expand-template@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c" integrity sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg== -express@~5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/express/-/express-5.1.0.tgz#d31beaf715a0016f0d53f47d3b4d7acf28c75cc9" - integrity sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA== +express@~5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/express/-/express-5.3.0.tgz#ab72dace89c50c8417bd3f865dad0b4fd1ca1c73" + integrity sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g== dependencies: accepts "^2.0.0" - body-parser "^2.2.0" - content-disposition "^1.0.0" - content-type "^1.0.5" + body-parser "^2.3.0" + content-disposition "^2.0.1" + content-type "^2.0.0" cookie "^0.7.1" cookie-signature "^1.2.1" debug "^4.4.0" + depd "^2.0.0" encodeurl "^2.0.0" escape-html "^1.0.3" etag "^1.8.1" @@ -609,17 +853,22 @@ express@~5.1.0: on-finished "^2.4.1" once "^1.4.0" parseurl "^1.3.3" - proxy-addr "^2.0.7" - qs "^6.14.0" + proxy-addr "^2.0.8" + qs "^6.16.0" range-parser "^1.2.1" router "^2.2.0" send "^1.1.0" serve-static "^2.2.0" statuses "^2.0.1" - type-is "^2.0.1" + type-is "^2.1.0" vary "^1.1.2" -fdir@^6.4.4: +fast-fifo@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.3.2.tgz#286e31de96eb96d38a97899815740ba2a4f3640c" + integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ== + +fdir@^6.5.0: version "6.5.0" resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350" integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg== @@ -637,9 +886,9 @@ file-stream-rotator@^0.6.1: moment "^2.29.1" finalhandler@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.0.tgz#72306373aa89d05a8242ed569ed86a1bff7c561f" - integrity sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q== + version "2.1.1" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.1.tgz#a2c517a6559852bcdb06d1f8bd7f51b68fad8099" + integrity sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA== dependencies: debug "^4.4.0" encodeurl "^2.0.0" @@ -663,20 +912,12 @@ fresh@^2.0.0: resolved "https://registry.yarnpkg.com/fresh/-/fresh-2.0.0.tgz#8dd7df6a1b3a1b3a5cf186c05a5dd267622635a4" integrity sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A== -from2@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g== - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@^11.2.0, fs-extra@~11.3.1: +fs-extra@11.3.1: version "11.3.1" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.1.tgz#ba7a1f97a85f94c6db2e52ff69570db3671d5a74" integrity sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g== @@ -685,6 +926,15 @@ fs-extra@^11.2.0, fs-extra@~11.3.1: jsonfile "^6.0.1" universalify "^2.0.0" +fs-extra@~11.4.1: + version "11.4.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.4.1.tgz#6a01ca80008eacf3ca1ffde5ef79088f68203a5a" + integrity sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + function-bind@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" @@ -739,36 +989,28 @@ has-symbols@^1.1.0: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== -hasown@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" - integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== +hasown@^2.0.2, hasown@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.4.tgz#8c62d8cb90beb2aad5d0a5b67581ad9854c3f003" + integrity sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A== dependencies: function-bind "^1.1.2" -http-errors@2.0.0, http-errors@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" - integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== - dependencies: - depd "2.0.0" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses "2.0.1" - toidentifier "1.0.1" - -https-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== +http-errors@^2.0.0, http-errors@^2.0.1, http-errors@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.1.tgz#36d2f65bc909c8790018dd36fb4d93da6caae06b" + integrity sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ== dependencies: - agent-base "6" - debug "4" + depd "~2.0.0" + inherits "~2.0.4" + setprototypeof "~1.2.0" + statuses "~2.0.2" + toidentifier "~1.0.1" -iconv-lite@0.6.3, iconv-lite@^0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== +iconv-lite@^0.7.3, iconv-lite@~0.7.0: + version "0.7.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.7.3.tgz#84ee12f963e7de50bc01a13e160a078b3b0f415f" + integrity sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ== dependencies: safer-buffer ">= 2.1.2 < 3.0.0" @@ -777,7 +1019,7 @@ ieee754@^1.1.13: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: +inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3, inherits@~2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -787,30 +1029,22 @@ ini@~1.3.0: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -into-stream@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-6.0.0.tgz#4bfc1244c0128224e18b8870e85b2de8e66c6702" - integrity sha512-XHbaOAvP+uFKUFsOgoNPRjLkwB+I22JFPFe5OjTkQ0nwgj6+pSjb4NmB6VMxaPshLiOf+zcpOCBQuLwC1KHhZA== - dependencies: - from2 "^2.3.0" - p-is-promise "^3.0.0" +into-stream@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-9.1.0.tgz#3d49f8dc3aa44c9d5e6007cc07831388542a1326" + integrity sha512-DRsRnQrbzdFjaQ1oe4C6/EIUymIOEix1qROEJTF9dbMq+M4Zrm6VaLp6SD/B9IsiEjPZuBSnWWFN+udajugdWA== ipaddr.js@1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== -is-arrayish@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" - integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== - -is-core-module@^2.16.0: - version "2.16.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" - integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== +is-core-module@^2.17.0: + version "2.17.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.17.0.tgz#75c1c76236c9f7e38ddbfff292e127dc13b21027" + integrity sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA== dependencies: - hasown "^2.0.2" + hasown "^2.0.4" is-fullwidth-code-point@^3.0.0: version "3.0.0" @@ -832,7 +1066,12 @@ isarray@~1.0.0: resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== -js-yaml@^4.1.1: +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.3.2.tgz#8e44fb14a2643c59726bb15787b5f1512cb3d3fb" integrity sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA== @@ -850,9 +1089,9 @@ json5@^2.2.3: integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== jsonfile@^6.0.1: - version "6.2.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.2.0.tgz#7c265bd1b65de6977478300087c99f1c84383f62" - integrity sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg== + version "6.2.1" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.2.1.tgz#b6e31717f22cc37330b081ce0051ed5de53af2f6" + integrity sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q== dependencies: universalify "^2.0.0" optionalDependencies: @@ -886,9 +1125,9 @@ math-intrinsics@^1.1.0: integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== media-typer@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.0.tgz#6ab74b8f2d3320f2064b2a87a38e7931ff3a5561" - integrity sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw== + version "1.1.1" + resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.1.tgz#6f035400dfe3ab9d5607bc77546ce30cc2f9c6b8" + integrity sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ== merge-descriptors@^2.0.0: version "2.0.0" @@ -900,10 +1139,10 @@ mime-db@^1.54.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5" integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ== -mime-types@^3.0.0, mime-types@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.1.tgz#b1d94d6997a9b32fd69ebaed0db73de8acb519ce" - integrity sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA== +mime-types@^3.0.0, mime-types@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.2.tgz#39002d4182575d5af036ffa118100f2524b2e2ab" + integrity sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A== dependencies: mime-db "^1.54.0" @@ -912,15 +1151,15 @@ mimic-response@^3.1.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== -minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.6: +minimist@^1.2.0, minimist@^1.2.3: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== minipass@^7.0.4, minipass@^7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" - integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== + version "7.1.3" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.3.tgz#79389b4eb1bb2d003a9bba87d492f2bd37bdc65b" + integrity sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A== minizlib@^3.1.0: version "3.1.0" @@ -958,24 +1197,19 @@ napi-build-utils@^2.0.0: integrity sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA== negotiator@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.0.0.tgz#b6c91bb47172d69f93cfd7c357bbb529019b5f6a" - integrity sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg== + version "1.1.0" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.1.0.tgz#16e003d0db4ac24fd9df168edf871625deeae3df" + integrity sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg== + dependencies: + content-type "^2.1.0" node-abi@^3.3.0: - version "3.75.0" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.75.0.tgz#2f929a91a90a0d02b325c43731314802357ed764" - integrity sha512-OhYaY5sDsIka7H7AtijtI9jwGYLyl29eQn/W623DiN/MIv5sUqc4g7BIDThX+gb7di9f6xK02nkp8sdfFWZLTg== + version "3.100.0" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.100.0.tgz#31aa9623841051d14f52415557e18101bc0de7ca" + integrity sha512-KNU/E0VW9T1ndOAEWNlWtxhoBSF7hqe+dMSrRPK6+PfyL2s2AcfwnXCAOke4DNXOsweivNT6/7eFHwkxWblZew== dependencies: semver "^7.3.5" -node-fetch@^2.6.6: - version "2.7.0" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" - integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== - dependencies: - whatwg-url "^5.0.0" - node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -986,15 +1220,15 @@ object-hash@^3.0.0: resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== -object-inspect@^1.13.3: +object-inspect@^1.13.3, object-inspect@^1.13.4: version "1.13.4" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213" integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== on-finished@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" - integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== + version "2.4.2" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.2.tgz#6932b04b95bf6a4828201db10af75fe5c9c38b73" + integrity sha512-ATWUv387i+nLD49EiDoOft5scf32Vsdz3ktrQJG9bi7jRFmaXTssvyvj1EmeKVVgvesbqUtvQQvaS2TpTukAZQ== dependencies: ee-first "1.1.1" @@ -1012,11 +1246,6 @@ one-time@^1.0.0: dependencies: fn.name "1.x.x" -p-is-promise@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-3.0.0.tgz#58e78c7dfe2e163cf2a04ff869e7c1dba64a5971" - integrity sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ== - parseurl@^1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" @@ -1028,37 +1257,44 @@ path-parse@^1.0.7: integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== path-to-regexp@^8.0.0: - version "8.4.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.4.0.tgz#8e98fcd94826aff01a90c544ef74ffbaca3a78ed" - integrity sha512-PuseHIvAnz3bjrM2rGJtSgo1zjgxapTLZ7x2pjhzWwlp4SJQgK3f3iZIQwkpEnBaKz6seKBADpM4B4ySkuYypg== + version "8.4.2" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.4.2.tgz#795c420c4f7ca45c5b887366f622ee0c9852cccd" + integrity sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA== -picocolors@^1.1.0: +picocolors@^1.1.0, picocolors@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== -picomatch@^4.0.2: - version "4.0.4" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589" - integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A== +picomatch@^4.0.2, picomatch@^4.0.4: + version "4.0.7" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.7.tgz#6313360034ccb36b3dc61ecbdff78121f90fe21f" + integrity sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA== -playwright-chromium@~1.64.0: - version "1.64.0" - resolved "https://registry.yarnpkg.com/playwright-chromium/-/playwright-chromium-1.64.0.tgz#8280d7916bb7d8b758080e17935cebaaebb3b5aa" - integrity sha512-w56jKvqiCLa0/Nb6BltYER4r89EG0L9v1MI2g7PZV6gGKrRH7oSfwUqMlHBnZ7t6gd6WfFdAg2+rECSNRE43sQ== +playwright-chromium@~1.64.1: + version "1.64.1" + resolved "https://registry.yarnpkg.com/playwright-chromium/-/playwright-chromium-1.64.1.tgz#81aec8925514050c0ac5bc08fa231ed189ab0e86" + integrity sha512-lvAzvvIRtbHaeLwl7XoUkhSNuWHKshbrYv2sjqYgLQS4SsTTwgSTlg9BwU5LeGxYkHxBXTnKtNDEQdZSOj/01g== dependencies: - playwright-core "1.64.0" + playwright-core "1.64.1" -playwright-core@1.64.0, playwright-core@~1.64.0: - version "1.64.0" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.64.0.tgz#a765f91dabd2b2cadd67e87439842c1d6c72c652" - integrity sha512-T9r+MZkTECl2+oUcZ26YgZzTrYidTsIhYYkJix+6iDOymOb1FB2RLLSOxRGnZGv5DStt+aduIVbt+E8WygXYpg== +playwright-core@1.64.1, playwright-core@~1.64.1: + version "1.64.1" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.64.1.tgz#ca9ec82d7da6ced1b2326ec59ef097aaa9a29f94" + integrity sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ== postinstall-postinstall@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/postinstall-postinstall/-/postinstall-postinstall-2.1.0.tgz#4f7f77441ef539d1512c40bd04c71b06a4704ca3" integrity sha512-7hQX6ZlZXIoRiWNrbMQaLzUUfH+sSx39u8EJ9HYuDc1kLo9IXKWjM5RSquZN1ad5GnH8CGFM78fsAAQi3OKEEQ== +postject@^1.0.0-alpha.6: + version "1.0.0-alpha.6" + resolved "https://registry.yarnpkg.com/postject/-/postject-1.0.0-alpha.6.tgz#9d022332272e2cfce8dea4cfce1ee6dd1b2ee135" + integrity sha512-b9Eb8h2eVqNE8edvKdwqkrY6O7kAwmI8kcnBv1NScolYJbo59XUF0noFq+lxbC1yN20bmC0WBEbDC5H/7ASb0A== + dependencies: + commander "^9.4.0" + prebuild-install@^7.1.1: version "7.1.3" resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.1.3.tgz#d630abad2b147443f20a212917beae68b8092eec" @@ -1087,7 +1323,7 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -proxy-addr@^2.0.7: +proxy-addr@^2.0.8: version "2.0.8" resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.8.tgz#624e760fd8ab06b1b8320c2f8506d4422cf8e932" integrity sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ== @@ -1096,34 +1332,35 @@ proxy-addr@^2.0.7: ipaddr.js "1.9.1" pump@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.3.tgz#151d979f1a29668dc0025ec589a455b53282268d" - integrity sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA== + version "3.0.4" + resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.4.tgz#1f313430527fa8b905622ebd22fe1444e757ab3c" + integrity sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA== dependencies: end-of-stream "^1.1.0" once "^1.3.1" -qs@^6.14.0: - version "6.14.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.2.tgz#b5634cf9d9ad9898e31fba3504e866e8efb6798c" - integrity sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q== +qs@^6.16.0, qs@^6.16.1: + version "6.16.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.16.1.tgz#0643e17993e551759c85078e1f0bc4b9fe908020" + integrity sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg== dependencies: - side-channel "^1.1.0" + es-define-property "^1.0.1" + side-channel "^1.1.1" range-parser@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== + version "1.3.0" + resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.3.0.tgz#d7f19be812bb62721472b45d3be219ef09572b47" + integrity sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw== -raw-body@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.0.tgz#25b3476f07a51600619dae3fe82ddc28a36e5e0f" - integrity sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g== +raw-body@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.2.tgz#3e3ada5ae5568f9095d84376fd3a49b8fb000a51" + integrity sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA== dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.6.3" - unpipe "1.0.0" + bytes "~3.1.2" + http-errors "~2.0.1" + iconv-lite "~0.7.0" + unpipe "~1.0.0" rc@^1.2.7: version "1.2.8" @@ -1135,7 +1372,7 @@ rc@^1.2.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.1.4: +readable-stream@^2.0.2, readable-stream@^2.1.4: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== @@ -1162,12 +1399,18 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== +resolve.exports@^2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.4.tgz#49921cfd9cd266053a9699e3f43c8bcbdf964331" + integrity sha512-zepuGL0ulf+nt+XaFrlKeaiTJeyPFPLLY62+ncq1/VTHBdt3HsfXOH60priZ6tnXQozdGcDeIF5JVTanvIcYWQ== + resolve@^1.22.10: - version "1.22.10" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" - integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== + version "1.22.13" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.13.tgz#d542f97758d768f36091251a6b07540b4343f7b5" + integrity sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA== dependencies: - is-core-module "^2.16.0" + es-errors "^1.3.0" + is-core-module "^2.17.0" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" @@ -1182,7 +1425,7 @@ router@^2.2.0: parseurl "^1.3.3" path-to-regexp "^8.0.0" -safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -1203,49 +1446,49 @@ safe-stable-stringify@^2.3.1: integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== semver@^7.3.5: - version "7.7.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.4.tgz#28464e36060e991fa7a11d0279d2d3f3b57a7e8a" - integrity sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA== + version "7.8.5" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.8.5.tgz#39b646037dd50c14fb451e7e4cac58ed8b863f69" + integrity sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA== send@^1.1.0, send@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/send/-/send-1.2.0.tgz#32a7554fb777b831dfa828370f773a3808d37212" - integrity sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw== + version "1.2.1" + resolved "https://registry.yarnpkg.com/send/-/send-1.2.1.tgz#9eab743b874f3550f40a26867bf286ad60d3f3ed" + integrity sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ== dependencies: - debug "^4.3.5" + debug "^4.4.3" encodeurl "^2.0.0" escape-html "^1.0.3" etag "^1.8.1" fresh "^2.0.0" - http-errors "^2.0.0" - mime-types "^3.0.1" + http-errors "^2.0.1" + mime-types "^3.0.2" ms "^2.1.3" on-finished "^2.4.1" range-parser "^1.2.1" - statuses "^2.0.1" + statuses "^2.0.2" serve-static@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.2.0.tgz#9c02564ee259bdd2251b82d659a2e7e1938d66f9" - integrity sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ== + version "2.2.1" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.2.1.tgz#7f186a4a4e5f5b663ad7a4294ff1bf37cf0e98a9" + integrity sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw== dependencies: encodeurl "^2.0.0" escape-html "^1.0.3" parseurl "^1.3.3" send "^1.2.0" -setprototypeof@1.2.0: +setprototypeof@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -side-channel-list@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad" - integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA== +side-channel-list@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.1.tgz#c2e0b5a14a540aebee3bbc6c3f8666cc9b509127" + integrity sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w== dependencies: es-errors "^1.3.0" - object-inspect "^1.13.3" + object-inspect "^1.13.4" side-channel-map@^1.0.1: version "1.0.1" @@ -1268,14 +1511,14 @@ side-channel-weakmap@^1.0.2: object-inspect "^1.13.3" side-channel-map "^1.0.1" -side-channel@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.0.tgz#c3fcff9c4da932784873335ec9765fa94ff66bc9" - integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw== +side-channel@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.1.tgz#ea02c62e05dc4bea67d4442f0fb71ee192f8e0ab" + integrity sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ== dependencies: es-errors "^1.3.0" - object-inspect "^1.13.3" - side-channel-list "^1.0.0" + object-inspect "^1.13.4" + side-channel-list "^1.0.1" side-channel-map "^1.0.1" side-channel-weakmap "^1.0.2" @@ -1293,24 +1536,12 @@ simple-get@^4.0.0: once "^1.3.1" simple-concat "^1.0.0" -simple-swizzle@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" - integrity sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg== - dependencies: - is-arrayish "^0.3.1" - stack-trace@0.0.x: version "0.0.10" resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" integrity sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg== -statuses@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" - integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== - -statuses@^2.0.1: +statuses@^2.0.1, statuses@^2.0.2, statuses@~2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.2.tgz#8f75eecef765b5e1cfcdc080da59409ed424e382" integrity sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw== @@ -1322,6 +1553,15 @@ stream-meter@^1.0.4: dependencies: readable-stream "^2.1.4" +streamx@^2.12.5, streamx@^2.25.0, streamx@^2.28.1: + version "2.28.1" + resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.28.1.tgz#376cd42a089505a69bec0efdb5189aa45586141f" + integrity sha512-zEzXb0s5Cds7tqMH6rhZ05lcJydCWiQPEwiNngVqzsxCc962vLY4Uw+mW7od8kDH258k2Uz/JrOkdIAAhSh9VA== + dependencies: + events-universal "^1.0.0" + fast-fifo "^1.3.2" + text-decoder "^1.1.0" + string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -1362,16 +1602,27 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -tar-fs@^2.0.0, tar-fs@^2.1.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.4.tgz#800824dbf4ef06ded9afea4acafe71c67c76b930" - integrity sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ== +tar-fs@^2.0.0: + version "2.1.5" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.5.tgz#33e9c29413dce0c58ada7ff77db4e5a30afffe70" + integrity sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw== dependencies: chownr "^1.1.1" mkdirp-classic "^0.5.2" pump "^3.0.0" tar-stream "^2.1.4" +tar-fs@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-3.1.3.tgz#05668cc68a30741c3813f9c16593b8dec7dcbcd1" + integrity sha512-/hU4AXnIdZu+Gvl1pk0oI5f5HxWsCJRtY2aFaJdk9VvyL48DWU6iU5WAIPG+wIi1YvWA6eTJvIviP/tMAZZNwQ== + dependencies: + pump "^3.0.0" + tar-stream "^3.1.5" + optionalDependencies: + bare-fs "^4.0.1" + bare-path "^3.0.0" + tar-stream@^2.1.4: version "2.2.0" resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" @@ -1383,7 +1634,17 @@ tar-stream@^2.1.4: inherits "^2.0.3" readable-stream "^3.1.1" -tar@^7.4.3: +tar-stream@^3.1.5: + version "3.2.2" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-3.2.2.tgz#aec7f257e712192a177a93aa0450c2e76855c8be" + integrity sha512-+8NeqHRjQWH9nYlwo2gamAMImZCVzI4UoEgDpWorBt9OEfppiZn+uSkskzQKPWIZyji/C8fpWO7u69G0DX0tbg== + dependencies: + b4a "^1.9.0" + bare-fs "^4.8.2" + fast-fifo "^1.3.2" + streamx "^2.28.1" + +tar@^7.5.7: version "7.5.22" resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.22.tgz#a696f998136e71487dc3f869a85bba2c67971ba9" integrity sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA== @@ -1394,29 +1655,38 @@ tar@^7.4.3: minizlib "^3.1.0" yallist "^5.0.0" +teex@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/teex/-/teex-1.0.1.tgz#b8fa7245ef8e8effa8078281946c85ab780a0b12" + integrity sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg== + dependencies: + streamx "^2.12.5" + +text-decoder@^1.1.0: + version "1.2.7" + resolved "https://registry.yarnpkg.com/text-decoder/-/text-decoder-1.2.7.tgz#5d073a9a74b9c0a9d28dfadcab96b604af57d8ba" + integrity sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ== + dependencies: + b4a "^1.6.4" + text-hex@1.0.x: version "1.0.0" resolved "https://registry.yarnpkg.com/text-hex/-/text-hex-1.0.0.tgz#69dc9c1b17446ee79a92bf5b884bb4b9127506f5" integrity sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg== tinyglobby@^0.2.11: - version "0.2.14" - resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.14.tgz#5280b0cf3f972b050e74ae88406c0a6a58f4079d" - integrity sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ== + version "0.2.17" + resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.17.tgz#562a9a6c9eb2b3b123d39719f9af5bb44fcd7631" + integrity sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g== dependencies: - fdir "^6.4.4" - picomatch "^4.0.2" + fdir "^6.5.0" + picomatch "^4.0.4" -toidentifier@1.0.1: +toidentifier@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== - triple-beam@^1.3.0, triple-beam@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.4.1.tgz#6fde70271dc6e5d73ca0c3b24e2d92afb7441984" @@ -1448,12 +1718,12 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" -type-is@^2.0.0, type-is@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.0.1.tgz#64f6cf03f92fce4015c2b224793f6bdd4b068c97" - integrity sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw== +type-is@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.1.0.tgz#71d1a7053293582e16ac9f3ebaf1ab9aa49e5570" + integrity sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA== dependencies: - content-type "^1.0.5" + content-type "^2.0.0" media-typer "^1.1.0" mime-types "^3.0.0" @@ -1467,29 +1737,34 @@ undici-types@~6.21.0: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== -undici-types@~7.10.0: - version "7.10.0" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.10.0.tgz#4ac2e058ce56b462b056e629cc6a02393d3ff350" - integrity sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag== +undici-types@~8.9.0: + version "8.9.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-8.9.0.tgz#e240d97c8b5d85e5347ce73d25865c7906c1ec9f" + integrity sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg== + +undici@^7.28.0: + version "7.30.1" + resolved "https://registry.yarnpkg.com/undici/-/undici-7.30.1.tgz#360b3de104b94abc52729aa1a4a07e027aa71f73" + integrity sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg== universalify@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== -unpipe@1.0.0: +unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== unzipper@^0.12.3: - version "0.12.3" - resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.12.3.tgz#31958f5eed7368ed8f57deae547e5a673e984f87" - integrity sha512-PZ8hTS+AqcGxsaQntl3IRBw65QrBI6lxzqDEL7IAo/XCEqRTKGfOX56Vea5TH9SZczRVxuzk1re04z/YjuYCJA== + version "0.12.5" + resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.12.5.tgz#7fc6b4862f3832202d1f5cc3adbee2679deaaf6c" + integrity sha512-tXYOi9R57Uj/2Z25SOs5RRSzq886MBQj2gY8dPL+xl/kv6s6SvByoKfAtvfVeEuhntWDgjd2o9p2lb4TVPAz0A== dependencies: bluebird "~3.7.2" duplexer2 "~0.1.4" - fs-extra "^11.2.0" + fs-extra "11.3.1" graceful-fs "^4.2.2" node-int64 "^0.4.0" @@ -1508,19 +1783,6 @@ vary@^1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - winston-daily-rotate-file@~5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/winston-daily-rotate-file/-/winston-daily-rotate-file-5.0.0.tgz#8cd94800025490e47c00ec892b655a5821f4266d" @@ -1540,13 +1802,13 @@ winston-transport@^4.7.0, winston-transport@^4.9.0: readable-stream "^3.6.2" triple-beam "^1.3.0" -winston@~3.17.0: - version "3.17.0" - resolved "https://registry.yarnpkg.com/winston/-/winston-3.17.0.tgz#74b8665ce9b4ea7b29d0922cfccf852a08a11423" - integrity sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw== +winston@~3.19.0: + version "3.19.0" + resolved "https://registry.yarnpkg.com/winston/-/winston-3.19.0.tgz#cc1d1262f5f45946904085cfffe73efb4b7a581d" + integrity sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA== dependencies: "@colors/colors" "^1.6.0" - "@dabh/diagnostics" "^2.0.2" + "@dabh/diagnostics" "^2.0.8" async "^3.2.3" is-stream "^2.0.0" logform "^2.7.0" @@ -1587,9 +1849,9 @@ yargs-parser@^20.2.2: integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + version "16.2.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.2.tgz#c56731dca0d2788ae0866dd3c83907d6bab85f7d" + integrity sha512-Nt9ZJjXTv5R8MHbqby/wXQ6Gi0Bb3TcYZkR1bzuL4yB2OxWPkXknz513gEF0GoA6tn00UpbPvERW8rzCuWCA6w== dependencies: cliui "^7.0.2" escalade "^3.1.1" From 576552641c35fa73a04c077c4fa50bec0dfa68d5 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 23 Oct 2026 16:46:08 +0300 Subject: [PATCH 278/559] Updated license header curation for web-report logger msa/web-report/config/logger.ts changed together with CE msa/web-ui/config/logger.ts and its body is still identical to it, so the busl decision stands; refreshed contentHash. --- tools/src/main/python/license-headers/curations.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index ecc5bb95de..22866c534f 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -1181,7 +1181,7 @@ "path": "msa/web-report/config/logger.ts", "header": "busl", "reason": "New PE module for the PE web-report service. Its body is identical to CE msa/web-ui/config/logger.ts, which PE still carries and which is a week older; the PE file is a copy for a PE-only service, not the CE file. Maintainer rule (2026-09-09): a file that exists in CE and carries PE changes is modified CE; a file that does not exist in CE and implements a PE feature is PE-only, however closely it resembles a CE file.", - "contentHash": "sha256:aec71ee9557d9b8f0691e46617d923403e73b03cb204c3e8c837200487337398" + "contentHash": "sha256:611c34e6267c2f0511b2a830289dbc9effd5225e89d2498c8ac7bf0cfd8b03e8" }, { "path": "msa/web-report/config/tb-web-report.conf", From f5a146413b4f0cf5aec3dda4f4d15c0d2f3603c5 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 23 Oct 2026 17:50:54 +0300 Subject: [PATCH 279/559] Reverted ace-builds to 1.43.6 Ace 1.44 replaced the JSHint-based JavaScript worker with a new analyzer and removed its changeOptions command. js-func.component relies on it to declare function arguments as globals, so with 1.45.2 every JavaScript function editor reported its arguments as "is not defined" and marked valid functions as invalid. --- ui-ngx/package.json | 2 +- ui-ngx/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 4e4fb34cde..681f583003 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -39,7 +39,7 @@ "@svgdotjs/svg.filter.js": "^3.0.10", "@svgdotjs/svg.js": "3.2.8", "@svgdotjs/svg.panzoom.js": "^2.1.3", - "ace-builds": "1.45.2", + "ace-builds": "1.43.6", "ace-diff": "^3.3.0", "angular-gridster2": "~20.2.4", "angular2-hotkeys": "^16.0.1", diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index e1754f4b70..3107bf85b5 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -2598,10 +2598,10 @@ accepts@^2.0.0: mime-types "^3.0.0" negotiator "^1.0.0" -ace-builds@1.45.2: - version "1.45.2" - resolved "https://registry.yarnpkg.com/ace-builds/-/ace-builds-1.45.2.tgz#3c1721d1b6a5e8253d91a0c12b682dd0db5fb015" - integrity sha512-a0IADaETGBnBW5CIkniUJn7F+NyTuHWKqlv1A8FXaMmFflJsMGnU3TzkiyslInqIZ3odfcVKOdXBGIKBefzFDA== +ace-builds@1.43.6: + version "1.43.6" + resolved "https://registry.yarnpkg.com/ace-builds/-/ace-builds-1.43.6.tgz#6feffd0283da5bbf45a2052470fe0fc3c442831a" + integrity sha512-L1ddibQ7F3vyXR2k2fg+I8TQTPWVA6CKeDQr/h2+8CeyTp3W6EQL8xNFZRTztuP8xNOAqL3IYPqdzs31GCjDvg== ace-diff@^3.3.0: version "3.3.0" From d32eb231586efb3ae2fcc067ed3be8aa29072679 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Fri, 23 Oct 2026 18:25:25 +0200 Subject: [PATCH 280/559] Integration Executor: merge pending partition change events per queue key A PartitionChangeEvent carries only the queue keys whose partitions changed (and the removed ones), not a full snapshot. Keeping only the last pending event dropped the changes of every other integration type: e.g. on a node whose neighbours support different integration types, an MQTT-only event queued after a first event with all types left HTTP, KAFKA, ... unsubscribed and not refreshed until their partitions changed again. This could happen at startup and, since events are now drained after startup too, while an event thread waits for the synchronized drain. Merge the pending events per queue key instead; the latest partitions of each key win. --- .../DefaultClusterIntegrationService.java | 30 ++++++++++--------- .../DefaultClusterIntegrationServiceTest.java | 29 ++++++++++++++++-- 2 files changed, 42 insertions(+), 17 deletions(-) diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java index 328ab2d61b..15859394f9 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java @@ -23,6 +23,7 @@ import org.thingsboard.server.gen.integration.ToIntegrationExecutorDownlinkMsg; import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; import org.thingsboard.server.queue.TbQueueConsumer; import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.discovery.QueueKey; import org.thingsboard.server.queue.discovery.TbApplicationEventListener; import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; import org.thingsboard.server.queue.discovery.event.PartitionChangeEvent; @@ -34,6 +35,7 @@ import org.thingsboard.server.queue.util.TbPackCallback; import org.thingsboard.server.queue.util.TbPackProcessingContext; import org.thingsboard.server.service.cache.IntegrationExecutorCacheStartupService; +import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Queue; @@ -125,39 +127,39 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener protected void onTbApplicationEvent(PartitionChangeEvent event) { log.debug("Received partition change event: {}", event); // Always enqueue first, then drain: the drain below must see this event. Enqueueing only while - // !started dropped every partition change that arrived after startup, so a node kept the snapshot + // !started dropped every partition change that arrived after startup, so a node kept the partitions // it drained at startup forever and singleton integrations ran twice (or nowhere) after a rollout. pendingEvents.add(event); if (!started) { log.debug("Integration Executor not started yet, event queued for later: {}", event); return; // doStartup() will drain the queue } - // Either already started or just became started - drain and process the latest pending + // Either already started or just became started - drain and process the pending changes drainPendingEvents(); } - // Synchronized so that the startup thread and an event thread cannot process two snapshots concurrently - // and push them to subscribeEventsMap in reverse order, which would leave the older snapshot applied. + // Synchronized so that the startup thread and an event thread cannot process two drains concurrently + // and push them to subscribeEventsMap in reverse order, which would leave older partitions applied. private synchronized void drainPendingEvents() { - // Each PartitionChangeEvent carries a full partition snapshot for TB_INTEGRATION_EXECUTOR, - // so earlier pending events are superseded — discard them and process only the latest. - PartitionChangeEvent latest = null; + // A PartitionChangeEvent carries only the queue keys whose partitions changed (an empty set for a removed key), + // not a full snapshot: merge the pending events per queue key, the latest partitions of each key win. + Map> latestPartitions = new HashMap<>(); PartitionChangeEvent event; while ((event = pendingEvents.poll()) != null) { - latest = event; + latestPartitions.putAll(event.getNewPartitions()); } - if (latest == null) { + if (latestPartitions.isEmpty()) { return; } try { - processPartitionChangeEvent(latest); + processPartitionChanges(latestPartitions); } catch (Throwable t) { - log.error("Failed to handle partition change event: {}", latest, t); + log.error("Failed to handle partition changes: {}", latestPartitions, t); } } - private void processPartitionChangeEvent(PartitionChangeEvent event) { - event.getNewPartitions().forEach(((queueKey, partitions) -> { + private void processPartitionChanges(Map> newPartitions) { + newPartitions.forEach(((queueKey, partitions) -> { IntegrationType type = IntegrationType.valueOf(queueKey.getQueueName()); subscribeEventsMap.computeIfAbsent(type, t -> new ConcurrentLinkedQueue<>()).add(partitions); queueExecutor.submit(() -> refreshIntegrationsByType(type)); @@ -199,7 +201,7 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener } finally { // Mark as started and drain pending events even on failure, so that partition change events are not stuck in the queue forever. // After started=true, any new events will drain themselves in onTbApplicationEvent(). - // drainPendingEvents() is synchronized, so snapshots are applied in the order they were queued. + // drainPendingEvents() is synchronized, so partition changes are applied in the order they were queued. started = true; drainPendingEvents(); } diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java index 08bd8ad234..112971e221 100644 --- a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java @@ -36,6 +36,7 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.inOrder; import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; import static org.mockito.Mockito.timeout; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @@ -56,16 +57,19 @@ class DefaultClusterIntegrationServiceTest { private IntegrationManagerService integrationManagerService; @Mock private TbQueueConsumer> mqttConsumer; + @Mock + private TbQueueConsumer> httpConsumer; private DefaultClusterIntegrationService service; @BeforeEach @SuppressWarnings("unchecked") void setUp() { - when(serviceInfoProvider.getSupportedIntegrationTypes()).thenReturn(List.of(IntegrationType.MQTT)); + when(serviceInfoProvider.getSupportedIntegrationTypes()).thenReturn(List.of(IntegrationType.MQTT, IntegrationType.HTTP)); when(queueFactory.createToIntegrationExecutorNotificationsMsgConsumer()) .thenReturn(mock(TbQueueConsumer.class)); when(queueFactory.createToIntegrationExecutorDownlinkMsgConsumer(IntegrationType.MQTT)).thenReturn(mqttConsumer); + when(queueFactory.createToIntegrationExecutorDownlinkMsgConsumer(IntegrationType.HTTP)).thenReturn(httpConsumer); service = new DefaultClusterIntegrationService(serviceInfoProvider, settings, queueFactory, integrationManagerService) { @Override protected void launchMainConsumers() { @@ -128,10 +132,29 @@ class DefaultClusterIntegrationServiceTest { verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(eq(IntegrationType.MQTT), eq(Collections.emptySet())); } + @Test + void givenEventsForDifferentTypesPendingAtStartup_whenStarted_thenEveryTypeGetsItsLatestPartitions() { + // An event carries only the queue keys whose partitions changed: a later MQTT-only event must not hide HTTP. + service.onApplicationEvent(partitionChangeEvent(Map.of(IntegrationType.MQTT, tpis(0), IntegrationType.HTTP, tpis(1)))); + service.onApplicationEvent(partitionChangeEvent(Map.of(IntegrationType.MQTT, tpis(2)))); + service.onApplicationEvent((ApplicationReadyEvent) null); + + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.HTTP, tpis(1)); + verify(httpConsumer, timeout(TIMEOUT_MS)).subscribe(tpis(1)); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(2)); + verify(mqttConsumer, timeout(TIMEOUT_MS)).subscribe(tpis(2)); + verify(integrationManagerService, never()).refresh(IntegrationType.MQTT, tpis(0)); + } + private static PartitionChangeEvent partitionChangeEvent(Integer... partitions) { - QueueKey queueKey = new QueueKey(ServiceType.TB_INTEGRATION_EXECUTOR, IntegrationType.MQTT.name()); + return partitionChangeEvent(Map.of(IntegrationType.MQTT, tpis(partitions))); + } + + private static PartitionChangeEvent partitionChangeEvent(Map> partitionsByType) { + Map> newPartitions = partitionsByType.entrySet().stream().collect(Collectors.toMap( + e -> new QueueKey(ServiceType.TB_INTEGRATION_EXECUTOR, e.getKey().name()), Map.Entry::getValue)); return new PartitionChangeEvent(DefaultClusterIntegrationServiceTest.class, ServiceType.TB_INTEGRATION_EXECUTOR, - Map.of(queueKey, tpis(partitions)), Collections.emptyMap()); + newPartitions, Collections.emptyMap()); } private static Set tpis(Integer... partitions) { From 3851cfe47af485c836182c58559d8bb516627653 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Fri, 23 Oct 2026 19:26:34 +0200 Subject: [PATCH 281/559] Integration Executor: re-check ownership when a stale STOPPED runs refresh() schedules STOPPED for a singleton whose partition moved away, and skips integrations that are still running when the partition comes back. If the lifecycle executor ran that STOPPED only after the partition came back (busy pool, or tryUpdate rescheduled after a lost tryLock), it destroyed the integration on the node that owned it again, and nothing restarted it until the next partition change. When STOPPED runs, fetch the configuration and check the current ownership: - skip the stop if the integration is running, enabled, not remote and mine; - otherwise stop it, and if it is mine again after the stop (the partition came back while it was being stopped) schedule CREATED. processStop() removes the state first, so CREATED starts from a fresh state. If the configuration can't be fetched or the ownership can't be resolved, the integration is stopped as before. Stops for integrations switched to remote or disabled are not affected. --- .../DefaultIntegrationManagerService.java | 38 +++++++++ .../DefaultIntegrationManagerServiceTest.java | 83 +++++++++++++++++++ 2 files changed, 121 insertions(+) diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java index fed293a6c4..0e603d11b4 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java @@ -600,6 +600,8 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi } break; case STOPPED: + processStopUnlessMine(state); + break; case SUSPENDED: case DELETED: persistCurrentStatistics(state); @@ -610,6 +612,42 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi } } + // A STOPPED scheduled because the partition moved away can be stale: the partition may come back before the event + // runs, and refresh() skips integrations that are still running. Ownership is checked again when the stop runs, and + // once more after it, because the partition may also come back while the integration is being stopped. + private void processStopUnlessMine(IntegrationState state) { + Integration configuration; + try { + configuration = configurationService.getIntegration(state.getTenantId(), state.getId()); + } catch (Exception e) { + // Without the configuration the ownership can't be checked: stop it, as before the check existed. + log.warn("[{}][{}] Failed to fetch the integration before stopping it: {}", state.getTenantId(), state.getId(), e.getMessage()); + configuration = null; + } + if (state.getIntegration() != null && shouldRunHere(configuration)) { + log.info("[{}][{}] Skipping STOPPED: the integration is mine again.", state.getTenantId(), state.getId()); + return; + } + persistCurrentStatistics(state); + processStop(state, STOPPED); + if (shouldRunHere(configuration)) { + log.info("[{}][{}] The integration is mine again after the stop, starting it.", state.getTenantId(), state.getId()); + scheduleIntegrationEvent(state.getTenantId(), state.getId(), ComponentLifecycleEvent.CREATED); + } + } + + private boolean shouldRunHere(Integration configuration) { + if (configuration == null || !configuration.isEnabled() || configuration.isRemote()) { + return false; + } + try { + return isMine(configuration); + } catch (Exception e) { + log.debug("[{}][{}] Failed to resolve integration ownership", configuration.getTenantId(), configuration.getId(), e); + return false; + } + } + private void processUpdateEvent(IntegrationState state, Integration configuration) throws Exception { state.setConfiguration(configuration); if (log.isDebugEnabled()) { diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java index 74278ce84d..2fd8d6d93b 100644 --- a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java @@ -215,6 +215,89 @@ class DefaultIntegrationManagerServiceTest { assertThat(integrationStates()).doesNotContainKey(integration.getId()); } + @Test + void givenStopQueuedForLostPartition_whenPartitionComesBackBeforeItRuns_thenIntegrationKeepsRunning() throws Exception { + Integration integration = mqttIntegration(2); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + // A neighbour restarts: [1] queues STOPPED, [2] arrives before the lifecycle executor runs it. + // refresh([2]) skips the integration because it is still running. + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + verify(platformIntegration, never()).destroy(); + assertThat(integrationStates().get(integration.getId()).getCurrentState()).isEqualTo(ComponentLifecycleEvent.STARTED); + } + + @Test + void givenSingletonBeingStopped_whenPartitionComesBackDuringStop_thenIntegrationIsCreatedAgain() throws Exception { + Integration integration = mqttIntegration(2); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + // The partition comes back while the stop is in progress, after its ownership check. + doAnswer(inv -> { + ownPartitions(2); + return null; + }).when(platformIntegration).destroy(); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + verify(platformIntegration, times(2)).init(any()); + assertThat(integrationStates().get(integration.getId()).getCurrentState()).isEqualTo(ComponentLifecycleEvent.STARTED); + } + + @Test + void givenStopQueued_whenConfigurationFetchFails_thenIntegrationIsStopped() throws Exception { + Integration integration = mqttIntegration(2); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + ownPartitions(2); + when(configurationService.getIntegration(any(TenantId.class), any(IntegrationId.class))).thenThrow(new RuntimeException("timeout")); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenRunningSingletonSwitchedToRemote_whenStopRuns_thenItIsStoppedAlthoughPartitionIsMine() throws Exception { + Integration integration = mqttIntegration(2); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + integration.setRemote(true); + ReflectionTestUtils.invokeMethod(service, "scheduleIntegrationEvent", TENANT_ID, integration.getId(), + ComponentLifecycleEvent.STOPPED); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + verify(platformIntegration).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + @Test void givenLongRunningSingleton_whenPartitionMovesAway_thenRefreshStopsIt() throws Exception { Integration integration = mqttIntegration(1); From 663615d191ffd08fe5c0c87b24b44c729fe0a4d7 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Sat, 24 Oct 2026 14:31:13 +0200 Subject: [PATCH 282/559] Adapt edge mail/SMS/notification uplink handling to the 4.4 codebase --- .../wl/WhiteLabelingEdgeProcessor.java | 12 ++++++ .../server/service/mail/EdgeMailRequest.java | 2 +- .../notification/EdgeNotificationRequest.java | 2 +- .../server/service/sms/EdgeSmsRequest.java | 2 +- .../server/edge/SendEmailEdgeTest.java | 21 +++++----- .../server/edge/SendNotificationEdgeTest.java | 30 ++++++-------- .../server/edge/SendSmsEdgeTest.java | 7 ++-- .../AdminSettingsEdgeProcessorTest.java | 2 +- .../wl/WhiteLabelingEdgeProcessorTest.java | 40 +++++++++++++++++++ 9 files changed, 83 insertions(+), 35 deletions(-) create mode 100644 application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/wl/WhiteLabelingEdgeProcessorTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/wl/WhiteLabelingEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/wl/WhiteLabelingEdgeProcessor.java index ebed77616f..26841f770e 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/wl/WhiteLabelingEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/wl/WhiteLabelingEdgeProcessor.java @@ -65,6 +65,9 @@ public class WhiteLabelingEdgeProcessor extends BaseEdgeProcessor { if (whiteLabeling == null) { return null; } + if (isSystemMailTemplates(whiteLabeling.getType(), tenantId)) { + return null; + } UpdateMsgType msgType = getUpdateMsgType(edgeEvent.getAction()); WhiteLabelingProto whiteLabelingProto = EdgeMsgConstructorUtils.constructWhiteLabeling(msgType, whiteLabeling); DownlinkMsg.Builder builder = DownlinkMsg.newBuilder() @@ -80,6 +83,9 @@ public class WhiteLabelingEdgeProcessor extends BaseEdgeProcessor { } case DELETED -> { WhiteLabeling whiteLabeling = JacksonUtil.convertValue(edgeEvent.getBody(), WhiteLabeling.class); + if (whiteLabeling != null && isSystemMailTemplates(whiteLabeling.getType(), whiteLabeling.getTenantId())) { + return null; + } WhiteLabelingProto whiteLabelingProto = EdgeMsgConstructorUtils.constructWhiteLabeling(UpdateMsgType.ENTITY_DELETED_RPC_MESSAGE, whiteLabeling); return DownlinkMsg.newBuilder() .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) @@ -92,6 +98,12 @@ public class WhiteLabelingEdgeProcessor extends BaseEdgeProcessor { return null; } + private boolean isSystemMailTemplates(WhiteLabelingType type, TenantId tenantId) { + // System mail templates are not synced to the Edge. The Edge is a thin mail client: it + // delegates every send to the Cloud, which renders with its own templates. + return WhiteLabelingType.MAIL_TEMPLATES.equals(type) && TenantId.SYS_TENANT_ID.equals(tenantId); + } + private WhiteLabelingType getWhiteLabelingType(EdgeEventType type) { return switch (type) { case WHITE_LABELING -> WhiteLabelingType.GENERAL; diff --git a/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java index 2f2c020ab4..0115ec7069 100644 --- a/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/mail/EdgeMailRequest.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.mail; diff --git a/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java index 50a06aad49..03ded08ed9 100644 --- a/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/notification/EdgeNotificationRequest.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.notification; diff --git a/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java index c3696b21be..ac6ca8c7ff 100644 --- a/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/sms/EdgeSmsRequest.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.sms; diff --git a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java index d8c35b1676..287d12ddbb 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendEmailEdgeTest.java @@ -1,5 +1,6 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.edge; import com.fasterxml.jackson.databind.JsonNode; @@ -79,7 +80,7 @@ public class SendEmailEdgeTest extends AbstractEdgeTest { sendEmailUplink(request); verify(mailService, timeout(30000)) - .sendActivationEmail(eq("http://localhost/activate?token=abc"), eq(60000L), eq("recipient@thingsboard.io")); + .sendActivationEmail(eq(tenantId), eq("http://localhost/activate?token=abc"), eq(60000L), eq("recipient@thingsboard.io")); } @Test @@ -93,7 +94,7 @@ public class SendEmailEdgeTest extends AbstractEdgeTest { sendEmailUplink(request); verify(mailService, timeout(30000)) - .sendAccountActivatedEmail(eq("http://localhost/login"), eq("recipient@thingsboard.io")); + .sendAccountActivatedEmail(eq(tenantId), eq("http://localhost/login"), eq("recipient@thingsboard.io")); } @Test @@ -108,7 +109,7 @@ public class SendEmailEdgeTest extends AbstractEdgeTest { sendEmailUplink(request); verify(mailService, timeout(30000)) - .sendResetPasswordEmail(eq("http://localhost/reset?token=abc"), eq(60000L), eq("recipient@thingsboard.io")); + .sendResetPasswordEmail(eq(tenantId), eq("http://localhost/reset?token=abc"), eq(60000L), eq("recipient@thingsboard.io")); } @Test @@ -122,7 +123,7 @@ public class SendEmailEdgeTest extends AbstractEdgeTest { sendEmailUplink(request); verify(mailService, timeout(30000)) - .sendPasswordWasResetEmail(eq("http://localhost/login"), eq("recipient@thingsboard.io")); + .sendPasswordWasResetEmail(eq(tenantId), eq("http://localhost/login"), eq("recipient@thingsboard.io")); } @Test @@ -137,7 +138,7 @@ public class SendEmailEdgeTest extends AbstractEdgeTest { sendEmailUplink(request); verify(mailService, timeout(30000)) - .sendTwoFaVerificationEmail(eq("recipient@thingsboard.io"), eq("123456"), eq(120)); + .sendTwoFaVerificationEmail(eq(tenantId), eq("recipient@thingsboard.io"), eq("123456"), eq(120)); } @Test @@ -152,7 +153,7 @@ public class SendEmailEdgeTest extends AbstractEdgeTest { sendEmailUplink(request); verify(mailService, timeout(30000)) - .sendAccountLockoutEmail(eq("locked@thingsboard.io"), eq("recipient@thingsboard.io"), eq(5)); + .sendAccountLockoutEmail(eq(tenantId), eq("locked@thingsboard.io"), eq("recipient@thingsboard.io"), eq(5)); } @Test @@ -167,7 +168,7 @@ public class SendEmailEdgeTest extends AbstractEdgeTest { sendEmailUplink(request); verify(mailService, timeout(30000)) - .sendApiFeatureStateEmail(eq(ApiFeature.EMAIL), eq(ApiUsageStateValue.DISABLED), eq("recipient@thingsboard.io"), isNull()); + .sendApiFeatureStateEmail(eq(tenantId), eq(ApiFeature.EMAIL), eq(ApiUsageStateValue.DISABLED), eq("recipient@thingsboard.io"), isNull()); } @Test @@ -182,7 +183,7 @@ public class SendEmailEdgeTest extends AbstractEdgeTest { sendEmailUplink(request); verify(mailService, timeout(30000)) - .sendTestMail(any(JsonNode.class), eq("recipient@thingsboard.io")); + .sendTestMail(eq(tenantId), any(JsonNode.class), eq("recipient@thingsboard.io")); } private void sendEmailUplink(EdgeMailRequest request) throws Exception { diff --git a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java index 3d4fffd693..0c5731ccf5 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendNotificationEdgeTest.java @@ -1,5 +1,6 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.edge; import org.junit.Test; @@ -8,7 +9,6 @@ import org.springframework.test.context.bean.override.mockito.MockitoBean; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.rule.engine.api.notification.FirebaseService; import org.thingsboard.rule.engine.api.notification.SlackService; -import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.notification.NotificationDeliveryMethod; import org.thingsboard.server.common.data.notification.settings.MobileAppNotificationDeliveryMethodConfig; import org.thingsboard.server.common.data.notification.settings.NotificationDeliveryMethodConfig; @@ -48,23 +48,18 @@ public class SendNotificationEdgeTest extends AbstractEdgeTest { private NotificationSettingsService notificationSettingsService; private void prepareNotificationSettings() { - // Slack is configured at tenant level. SlackNotificationDeliveryMethodConfig slack = new SlackNotificationDeliveryMethodConfig(); slack.setBotToken("xoxb-edge-test-token"); - NotificationSettings tenantSettings = new NotificationSettings(); - Map tenantConfigs = new HashMap<>(); - tenantConfigs.put(NotificationDeliveryMethod.SLACK, slack); - tenantSettings.setDeliveryMethodsConfigs(tenantConfigs); - notificationSettingsService.saveNotificationSettings(tenantId, tenantSettings); - - // Mobile app credentials can only be configured at system level. MobileAppNotificationDeliveryMethodConfig mobile = new MobileAppNotificationDeliveryMethodConfig(); + mobile.setUseSystemSettings(false); mobile.setFirebaseServiceAccountCredentials("{\"type\":\"service_account\"}"); - NotificationSettings systemSettings = new NotificationSettings(); - Map systemConfigs = new HashMap<>(); - systemConfigs.put(NotificationDeliveryMethod.MOBILE_APP, mobile); - systemSettings.setDeliveryMethodsConfigs(systemConfigs); - notificationSettingsService.saveNotificationSettings(TenantId.SYS_TENANT_ID, systemSettings); + + NotificationSettings settings = new NotificationSettings(); + Map configs = new HashMap<>(); + configs.put(NotificationDeliveryMethod.SLACK, slack); + configs.put(NotificationDeliveryMethod.MOBILE_APP, mobile); + settings.setDeliveryMethodsConfigs(configs); + notificationSettingsService.saveNotificationSettings(tenantId, settings); } @Test @@ -79,7 +74,7 @@ public class SendNotificationEdgeTest extends AbstractEdgeTest { sendNotificationUplink(request); verify(slackService, timeout(30000)) - .sendMessage(eq(tenantId), anyString(), eq("C0123456789"), eq("Edge Slack notification")); + .sendMessage(eq(tenantId), anyString(), eq("C0123456789"), eq("Edge Slack notification"), any()); } @Test @@ -105,7 +100,6 @@ public class SendNotificationEdgeTest extends AbstractEdgeTest { .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) .setRequest(JacksonUtil.toString(request)) .build(); - sendUplinkMsgAndWaitForResponse(builder -> builder.addSendNotificationUplinkMsg(sendNotificationUplinkMsg)); } diff --git a/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java index 408bbfc43d..e61838c47f 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SendSmsEdgeTest.java @@ -1,5 +1,6 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.edge; import org.junit.Test; @@ -56,7 +57,7 @@ public class SendSmsEdgeTest extends AbstractEdgeTest { sendSmsUplink(request); - verify(smsService, timeout(30000)).sendTestSms(any(TestSmsRequest.class)); + verify(smsService, timeout(30000)).sendTestSms(eq(tenantId), any(TestSmsRequest.class)); } private void sendSmsUplink(EdgeSmsRequest request) throws Exception { diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java index 70598f6c67..3c66d7bf06 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge.rpc.processor.settings; diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/wl/WhiteLabelingEdgeProcessorTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/wl/WhiteLabelingEdgeProcessorTest.java new file mode 100644 index 0000000000..eb1933654f --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/wl/WhiteLabelingEdgeProcessorTest.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.edge.rpc.processor.wl; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.wl.WhiteLabelingType; + +import java.util.UUID; + +public class WhiteLabelingEdgeProcessorTest { + + private final WhiteLabelingEdgeProcessor processor = new WhiteLabelingEdgeProcessor(); + private final TenantId tenantId = new TenantId(UUID.randomUUID()); + + @Test + public void testSystemMailTemplatesAreNotSyncedToEdge() { + // System mail templates are rendered on the cloud, so they must never be pushed to the edge. + Assertions.assertTrue(isSystemMailTemplates(WhiteLabelingType.MAIL_TEMPLATES, TenantId.SYS_TENANT_ID)); + } + + @Test + public void testTenantMailTemplatesAreStillSyncedToEdge() { + // Only system-scoped mail templates are skipped; tenant-scoped ones keep syncing. + Assertions.assertFalse(isSystemMailTemplates(WhiteLabelingType.MAIL_TEMPLATES, tenantId)); + } + + @Test + public void testSystemNonMailTemplatesAreStillSyncedToEdge() { + // Other system white-labeling (e.g. GENERAL) is not affected by the mail-templates skip. + Assertions.assertFalse(isSystemMailTemplates(WhiteLabelingType.GENERAL, TenantId.SYS_TENANT_ID)); + } + + private boolean isSystemMailTemplates(WhiteLabelingType type, TenantId tenantId) { + return Boolean.TRUE.equals(ReflectionTestUtils.invokeMethod(processor, "isSystemMailTemplates", type, tenantId)); + } + +} From c2190d387376bd51d08af59108262db6e69d3343 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Sat, 24 Oct 2026 17:38:14 +0200 Subject: [PATCH 283/559] Keep syncing system general and connectivity settings to edge --- .../service/edge/rpc/EdgeSyncCursor.java | 5 +++-- .../settings/AdminSettingsEdgeProcessor.java | 4 +--- .../server/controller/EdgeControllerTest.java | 18 +++++++++++++++++ .../server/edge/AbstractEdgeTest.java | 8 ++++---- .../AdminSettingsEdgeProcessorTest.java | 20 ++++++++++++++++--- 5 files changed, 43 insertions(+), 12 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java index 0bf73d7b92..a35c88be07 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeSyncCursor.java @@ -8,6 +8,7 @@ import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.service.edge.EdgeContextComponent; +import org.thingsboard.server.service.edge.rpc.fetch.AdminSettingsEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.AssetProfilesEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.AssetsEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.CustomerEdgeEventFetcher; @@ -49,8 +50,8 @@ public class EdgeSyncCursor { fetchers.add(new TenantEdgeEventFetcher(ctx.getTenantService())); fetchers.add(new QueuesEdgeEventFetcher(ctx.getQueueService())); fetchers.add(new RuleChainsEdgeEventFetcher(ctx.getRuleChainService())); - // Admin settings are not synced to the edge: 'general'/'connectivity' are system-scoped and the edge - // auto-generates its own on install, while 'mail'/'sms'/'notifications' are delegated to the cloud. + fetchers.add(new AdminSettingsEdgeEventFetcher(ctx.getAdminSettingsService(), TenantId.SYS_TENANT_ID)); + fetchers.add(new AdminSettingsEdgeEventFetcher(ctx.getAdminSettingsService(), edge.getTenantId())); fetchers.add(new TenantAdminUsersEdgeEventFetcher(ctx.getUserService())); } Customer publicCustomer = ctx.getCustomerService().findPublicCustomer(edge.getTenantId()); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java index a43808d2da..f1e0400100 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessor.java @@ -10,7 +10,6 @@ import org.thingsboard.server.common.data.EdgeUtils; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.id.AdminSettingsId; -import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; import org.thingsboard.server.gen.edge.v1.DownlinkMsg; import org.thingsboard.server.gen.edge.v1.EdgeVersion; @@ -39,8 +38,7 @@ public class AdminSettingsEdgeProcessor extends BaseEdgeProcessor { if (adminSettings == null) { return null; } - if (TenantId.SYS_TENANT_ID.equals(adminSettings.getTenantId()) - || !EDGE_SYNCED_SETTINGS_KEYS.contains(adminSettings.getKey())) { + if (!EDGE_SYNCED_SETTINGS_KEYS.contains(adminSettings.getKey())) { log.trace("Skipping admin settings [{}] sync to edge [{}] - not in the edge allow-list", adminSettings.getKey(), edgeEvent.getEdgeId()); return null; diff --git a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java index 379d038577..080d5ecf63 100644 --- a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java @@ -29,6 +29,7 @@ import org.springframework.test.context.TestPropertySource; import org.springframework.test.util.TestSocketUtils; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.ThingsBoardExecutors; +import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Device; @@ -65,6 +66,7 @@ import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.dao.model.ModelConstants; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.edge.imitator.EdgeImitator; +import org.thingsboard.server.gen.edge.v1.AdminSettingsUpdateMsg; import org.thingsboard.server.gen.edge.v1.AssetProfileUpdateMsg; import org.thingsboard.server.gen.edge.v1.AssetUpdateMsg; import org.thingsboard.server.gen.edge.v1.CustomerUpdateMsg; @@ -997,6 +999,8 @@ public class EdgeControllerTest extends AbstractControllerTest { Assert.assertTrue(popQueueMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "Main")); Assert.assertTrue(popRuleChainMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "Edge Root Rule Chain")); Assert.assertTrue(popRuleChainMetadataMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, getEdgeRootRuleChainId(edgeImitator))); + Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "general")); + Assert.assertTrue(popAdminSettingsMsg(edgeImitator.getDownlinkMsgsDeque(), "connectivity")); Assert.assertTrue(popDeviceProfileMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "default")); Assert.assertTrue(popDeviceProfileMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "default")); Assert.assertTrue(popAssetProfileMsg(edgeImitator.getDownlinkMsgsDeque(), UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, "default")); @@ -1060,6 +1064,20 @@ public class EdgeControllerTest extends AbstractControllerTest { return false; } + private boolean popAdminSettingsMsg(Deque messages, String key) { + for (AbstractMessage message : messages) { + if (message instanceof AdminSettingsUpdateMsg adminSettingsUpdateMsg) { + AdminSettings adminSettings = JacksonUtil.fromString(adminSettingsUpdateMsg.getEntity(), AdminSettings.class, true); + Assert.assertNotNull(adminSettings); + if (key.equals(adminSettings.getKey())) { + messages.remove(message); + return true; + } + } + } + return false; + } + private boolean popDeviceProfileMsg(Deque messages, UpdateMsgType msgType, String name) { for (AbstractMessage message : messages) { if (message instanceof DeviceProfileUpdateMsg deviceProfileUpdateMsg) { diff --git a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java index d6dfa1a953..8066eadde3 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java @@ -118,7 +118,7 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { registry.add("edges.rpc.port", () -> EDGE_PORT); } - public static final Integer CONNECT_MESSAGE_COUNT = 13; + public static final Integer CONNECT_MESSAGE_COUNT = 15; public static final Integer INSTALLATION_MESSAGE_COUNT = 8; public static final Integer SYNC_MESSAGE_COUNT = CONNECT_MESSAGE_COUNT + INSTALLATION_MESSAGE_COUNT; private static final String THERMOSTAT_DEVICE_PROFILE_NAME = "Thermostat"; @@ -279,9 +279,9 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { validateMsgsCnt(RuleChainMetadataUpdateMsg.class, 1); validateRuleChainMetadataUpdates(ruleChainUUID); - // No admin settings are synced to the edge: 'general'/'connectivity' are system-scoped and the edge - // auto-generates its own, while 'mail'/'sms'/'notifications' are delegated to the cloud. - validateMsgsCnt(AdminSettingsUpdateMsg.class, 0); + // 2 messages ('general', 'connectivity') + validateMsgsCnt(AdminSettingsUpdateMsg.class, 2); + validateAdminSettings(2); // 4 messages // - 1 from default profile fetcher diff --git a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java index 70598f6c67..308bc83696 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/rpc/processor/settings/AdminSettingsEdgeProcessorTest.java @@ -6,6 +6,8 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.test.util.ReflectionTestUtils; @@ -69,9 +71,21 @@ public class AdminSettingsEdgeProcessorTest { } @Test - public void testSystemScopedAllowListedKeyIsNotSyncedToEdge() { - AdminSettings general = adminSettings(TenantId.SYS_TENANT_ID, "general"); - when(adminSettingsService.findAdminSettingsById(any(), any())).thenReturn(general); + public void testSystemScopedAllowListedKeyIsSyncedToEdge() { + AdminSettings connectivity = adminSettings(TenantId.SYS_TENANT_ID, "connectivity"); + when(adminSettingsService.findAdminSettingsById(any(), any())).thenReturn(connectivity); + + DownlinkMsg downlink = processor.convertEdgeEventToDownlink(edgeEvent(TenantId.SYS_TENANT_ID), EdgeVersion.V_4_2_2_4); + + Assertions.assertNotNull(downlink); + Assertions.assertEquals(1, downlink.getAdminSettingsUpdateMsgCount()); + } + + @ParameterizedTest + @ValueSource(strings = {"mail", "jwt", "sms", "notifications"}) + public void testSystemScopedNonAllowListedKeyIsNotSyncedToEdge(String key) { + AdminSettings settings = adminSettings(TenantId.SYS_TENANT_ID, key); + when(adminSettingsService.findAdminSettingsById(any(), any())).thenReturn(settings); DownlinkMsg downlink = processor.convertEdgeEventToDownlink(edgeEvent(TenantId.SYS_TENANT_ID), EdgeVersion.V_4_2_2_4); From 00af0acb7c325a03d4d377062c62242c30886eb5 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 10:38:47 +0200 Subject: [PATCH 284/559] Refactor js-executor sandbox --- msa/js-executor/api/jsExecutor.ts | 159 +++++++++++++++++++++++- msa/js-executor/test/coldPathProbe.ts | 29 +++++ msa/js-executor/test/jsExecutor.test.ts | 118 ++++++++++++++++++ 3 files changed, 302 insertions(+), 4 deletions(-) create mode 100644 msa/js-executor/test/coldPathProbe.ts diff --git a/msa/js-executor/api/jsExecutor.ts b/msa/js-executor/api/jsExecutor.ts index f977468d6f..6975fc5def 100644 --- a/msa/js-executor/api/jsExecutor.ts +++ b/msa/js-executor/api/jsExecutor.ts @@ -4,11 +4,164 @@ import vm, { Script } from 'vm'; import atob from 'atob'; import btoa from 'btoa'; -import {TextDecoder} from "util"; +import {TextDecoder, types} from "util"; import { _logger } from '../config/logger'; export type TbScript = Script | Function; +type SandboxErrors = { + Error: ErrorConstructor; + TypeError: TypeErrorConstructor; + RangeError: RangeErrorConstructor; +}; + +// The only values host helpers may return to the sandbox. +type SandboxPrimitive = string | boolean | undefined; + +const typedArrayPrototype = Object.getPrototypeOf(Uint8Array.prototype); + +function intrinsicGetter(prototype: object, name: string): (this: unknown) => any { + return Object.getOwnPropertyDescriptor(prototype, name)!.get!; +} + +const typedArrayBuffer = intrinsicGetter(typedArrayPrototype, 'buffer'); +const typedArrayByteOffset = intrinsicGetter(typedArrayPrototype, 'byteOffset'); +const typedArrayByteLength = intrinsicGetter(typedArrayPrototype, 'byteLength'); +const dataViewBuffer = intrinsicGetter(DataView.prototype, 'buffer'); +const dataViewByteOffset = intrinsicGetter(DataView.prototype, 'byteOffset'); +const dataViewByteLength = intrinsicGetter(DataView.prototype, 'byteLength'); + +// Sandbox-realm btoa, atob and TextDecoder delegating to the host helpers of installSandboxGlobals. +// Arguments must be coerced here, with intrinsics captured before user code runs. +// invoke() rethrows sandbox-realm errors only; anything else becomes a sandbox RangeError. +const sandboxGlobalsShim = new vm.Script(`(function (h) { + 'use strict'; + var S = String; + var getPrototypeOf = Object.getPrototypeOf; + var errorPrototype = Error.prototype; + var SandboxRangeError = RangeError; + function isSandboxError(e) { + if (e === null || typeof e !== 'object') { + return false; + } + for (var p = getPrototypeOf(e); p !== null; p = getPrototypeOf(p)) { + if (p === errorPrototype) { + return true; + } + } + return false; + } + function invoke(fn, a, b, c, d) { + try { + return fn(a, b, c, d); + } catch (e) { + if (isSandboxError(e)) { + throw e; + } + throw new SandboxRangeError('Maximum call stack size exceeded'); + } + } + globalThis.btoa = function btoa(data) { return invoke(h.btoa, S(data)); }; + globalThis.atob = function atob(data) { return invoke(h.atob, S(data)); }; + class TextDecoder { + constructor(label, options) { invoke(h.create, this, label === undefined ? 'utf-8' : S(label), !!(options && options.fatal), !!(options && options.ignoreBOM)); } + get encoding() { return invoke(h.prop, this, 'encoding'); } + get fatal() { return invoke(h.prop, this, 'fatal'); } + get ignoreBOM() { return invoke(h.prop, this, 'ignoreBOM'); } + decode(input, options) { return invoke(h.decode, this, input, !!(options && options.stream)); } + } + Object.defineProperty(TextDecoder.prototype, Symbol.toStringTag, {value: 'TextDecoder', configurable: true}); + globalThis.TextDecoder = TextDecoder; +})`); + +function toSandboxError(errors: SandboxErrors, hostError: unknown): Error { + const source = hostError instanceof Error ? hostError : new Error(String(hostError)); + const errorType = source instanceof RangeError ? errors.RangeError : source instanceof TypeError ? errors.TypeError : errors.Error; + const err = new errorType(source.message); + const code = (source as NodeJS.ErrnoException).code; + if (typeof code === 'string') { + Object.defineProperty(err, 'code', {value: code, writable: true, enumerable: true, configurable: true}); + } + return err; +} + +function requireString(value: unknown, name: string): string { + if (typeof value !== 'string') { + throw new TypeError(`The "${name}" argument must be of type string`); + } + return value; +} + +// Reads the input through host intrinsics only; the value itself is never passed on or property-accessed. +function toHostBytes(input: unknown): Uint8Array | undefined { + if (input === undefined) { + return undefined; + } + if (types.isAnyArrayBuffer(input)) { + return new Uint8Array(input); + } + if (types.isTypedArray(input)) { + return new Uint8Array(typedArrayBuffer.call(input), typedArrayByteOffset.call(input), typedArrayByteLength.call(input)); + } + if (types.isDataView(input)) { + return new Uint8Array(dataViewBuffer.call(input), dataViewByteOffset.call(input), dataViewByteLength.call(input)); + } + throw new TypeError('The "input" argument must be an instance of ArrayBuffer or ArrayBufferView'); +} + +function installSandboxGlobals(sandbox: vm.Context): void { + // Captured before user code runs, so later monkeypatching inside the sandbox has no effect. + const errors: SandboxErrors = vm.runInContext('({Error: Error, TypeError: TypeError, RangeError: RangeError})', sandbox); + const decoders = new WeakMap(); // host realm: user code cannot patch it + const decoderOf = (self: unknown): TextDecoder => { + const decoder = typeof self === 'object' && self !== null ? decoders.get(self) : undefined; + if (!decoder) { + throw new TypeError('Illegal invocation'); + } + return decoder; + }; + // The one place host results and errors cross into the sandbox. + const guard = (fn: (...args: A) => R) => (...args: A): R => { + let result: R; + try { + result = fn(...args); + } catch (e) { + throw toSandboxError(errors, e); + } + if ((typeof result === 'object' && result !== null) || typeof result === 'function') { + throw new errors.Error('Host value must not be returned to the sandbox'); + } + return result; + }; + const host = Object.assign(Object.create(null), { + btoa: guard((data: unknown) => btoa(requireString(data, 'data'))), + atob: guard((data: unknown) => atob(requireString(data, 'data'))), + create: guard((self: unknown, label: unknown, fatal: unknown, ignoreBOM: unknown) => { + if (typeof self !== 'object' || self === null || decoders.has(self)) { + throw new TypeError('Illegal invocation'); + } + decoders.set(self, new TextDecoder(requireString(label, 'label'), {fatal: fatal === true, ignoreBOM: ignoreBOM === true})); + return undefined; + }), + prop: guard((self: unknown, name: unknown): SandboxPrimitive => { + const decoder = decoderOf(self); + switch (name) { + case 'encoding': + return decoder.encoding; + case 'fatal': + return decoder.fatal; + case 'ignoreBOM': + return decoder.ignoreBOM; + default: + return undefined; + } + }), + decode: guard((self: unknown, input: unknown, stream: unknown) => + decoderOf(self).decode(toHostBytes(input), {stream: stream === true})), + }); + sandboxGlobalsShim.runInContext(sandbox)(host); +} + export class JsExecutor { useSandbox: boolean; private logger = _logger('JsExecutor'); @@ -62,9 +215,7 @@ export class JsExecutor { ctxArgs[i] = String(args[i]); } sandbox.args = ctxArgs; - sandbox.btoa = btoa; - sandbox.atob = atob; - sandbox.TextDecoder = TextDecoder; + installSandboxGlobals(sandbox); const result = script.runInContext(sandbox, {timeout: timeout}); resolve(result); } catch (err) { diff --git a/msa/js-executor/test/coldPathProbe.ts b/msa/js-executor/test/coldPathProbe.ts new file mode 100644 index 0000000000..44249382ae --- /dev/null +++ b/msa/js-executor/test/coldPathProbe.ts @@ -0,0 +1,29 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +import { JsExecutor } from '../api/jsExecutor'; + +// Runs one probe as the first sandbox execution of a fresh process and reports +// whether any error caught on stack overflow came from outside the sandbox realm. +const call = process.argv[2]; + +(async () => { + const exec = new JsExecutor(true); + const script = await exec.compileScript(`function(msg, metadata, msgType){ + var foreign; + function attempt() { + if (foreign) return; + try { ${call}; } catch (e) { + if (e === null || typeof e !== 'object' || (e.constructor !== RangeError && e.constructor !== TypeError && e.constructor !== Error)) { + foreign = String(e && e.name); + } + } + } + function recurse() { try { recurse(); } catch (e) {} attempt(); } + recurse(); + return foreign ? 'foreign error: ' + foreign : 'isolated'; + }`); + const out = await exec.executeScript(script, ['{}', '{}', 'X'], 20000); + process.stdout.write(String(out)); +})().catch((err) => { + process.stdout.write('probe failed: ' + String(err && err.message)); +}); diff --git a/msa/js-executor/test/jsExecutor.test.ts b/msa/js-executor/test/jsExecutor.test.ts index 061fd90623..1d74bf251a 100644 --- a/msa/js-executor/test/jsExecutor.test.ts +++ b/msa/js-executor/test/jsExecutor.test.ts @@ -3,6 +3,9 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { describe, test } from 'node:test'; import assert from 'node:assert/strict'; +import { execFile } from 'node:child_process'; +import path from 'node:path'; +import { promisify } from 'node:util'; import { JsExecutor } from '../api/jsExecutor'; import { oauthBearerProvider } from '../queue/oAuthBearerProvider'; @@ -39,6 +42,121 @@ test('sandbox passes string args through unchanged', async () => { assert.equal(out.first, 'hello'); }); +const sandboxRealmProbes: [string, string][] = [ + ['btoa', 'btoa.constructor'], + ['atob', 'atob.constructor'], + ['TextDecoder', 'TextDecoder.constructor'], + ['TextDecoder instance', 'new TextDecoder().constructor.constructor'], + ['TextDecoder.prototype.decode', 'TextDecoder.prototype.decode.constructor'], + ['TextDecoder getter', 'Object.getOwnPropertyDescriptor(TextDecoder.prototype, "encoding").get.constructor'], + ['TextDecoder constructor error', '(function(){ try { new TextDecoder("no-such-encoding"); } catch (e) { return e.constructor.constructor; } })()'], + ['TextDecoder decode error', '(function(){ try { new TextDecoder().decode("not a buffer"); } catch (e) { return e.constructor.constructor; } })()'], + ['TextDecoder fatal decode error', '(function(){ try { new TextDecoder("utf-8", {fatal: true}).decode(new Uint8Array([0xff])); } catch (e) { return e.constructor.constructor; } })()'], + ['getter on foreign receiver', '(function(){ try { Object.getOwnPropertyDescriptor(TextDecoder.prototype, "fatal").get.call({}); } catch (e) { return e.constructor.constructor; } })()'], + ['patched WeakMap/String', '(function(){ var leak; WeakMap.prototype.get = function(k){ leak = this; }; String = function(x){ return x; }; var d = new TextDecoder(); d.decode(new Uint8Array([104])); try { btoa("\\u0100"); } catch (e) {} return leak ? leak.constructor.constructor : Function; })()'], + ['Error.prepareStackTrace', '(function(){ var fr; Error.prepareStackTrace = function(e, s){ fr = s; return ""; }; try { new TextDecoder("nope"); } catch (e) { e.stack; } for (var i = 0; fr && i < fr.length; i++) { var f = fr[i].getFunction && fr[i].getFunction(); if (f) return f.constructor; var t = fr[i].getThis && fr[i].getThis(); if (t && t.constructor) return t.constructor.constructor; } return Function; })()'], + // Node formats some ERR_INVALID_ARG_TYPE messages with util.inspect, which calls a custom inspect hook. + ...['utf-8', 'latin1', 'utf-16le'].map((encoding): [string, string] => [`TextDecoder.decode inspect hook (${encoding})`, + `(function(){ var F; var o = Object.create(null); o[Symbol.for("nodejs.util.inspect.custom")] = function(d, opts, insp){ F = insp && insp.constructor; return "x"; }; + try { new TextDecoder("${encoding}").decode(o); } catch (e) {} + var p = {}; Object.setPrototypeOf(p, ArrayBuffer.prototype); Object.defineProperty(p, "constructor", {value: ArrayBuffer}); p[Symbol.for("nodejs.util.inspect.custom")] = o[Symbol.for("nodejs.util.inspect.custom")]; + try { new TextDecoder("${encoding}").decode(p); } catch (e) {} + return F || Function; })()`]), + ...['btoa', 'atob'].map((fn): [string, string] => [`${fn} with patched String returning an inspectable object`, + `(function(){ var F; String = function(x){ var o = Object.create(null); o[Symbol.for("nodejs.util.inspect.custom")] = function(d, opts, insp){ F = insp && insp.constructor; return "x"; }; return o; }; + try { ${fn}("a"); } catch (e) {} + return F || Function; })()`]), +]; + +for (const [name, functionCtor] of sandboxRealmProbes) { + test(`sandbox globals belong to the sandbox realm: ${name}`, async () => { + const exec = new JsExecutor(true); + const script = await exec.compileScript(`function(msg, metadata, msgType){ + var F = ${functionCtor}; + return F('return process')(); + }`); + await assert.rejects( + exec.executeScript(script, ['{}', '{}', 'X'], 5000), + /process is not defined/, + 'host process must not be reachable from inside the sandbox', + ); + }); +} + +test('sandbox globals belong to the sandbox realm: resolving functions of a returned thenable', async () => { + const exec = new JsExecutor(true); + const script = await exec.compileScript(`function(msg, metadata, msgType){ + return {then: function(resolve){ resolve(resolve.constructor.constructor('return process')()); }}; + }`); + await assert.rejects( + exec.executeScript(script, ['{}', '{}', 'X'], 5000), + /process is not defined/, + ); +}); + +// A stack overflow inside a helper reproduces only while its host code path is cold, +// so each probe runs as the first sandbox execution of a fresh process. +const coldPathCalls = [ + "btoa('a')", + "atob('YQ==')", + "new TextDecoder('nope')", + "new TextDecoder().decode(new Uint8Array([104]))", + "new TextDecoder().encoding", + "Object.getOwnPropertyDescriptor(TextDecoder.prototype, 'fatal').get.call({})", +]; + +test('sandbox helpers rethrow only sandbox-realm errors on stack overflow in cold host code', async () => { + const run = promisify(execFile); + const results = await Promise.all(coldPathCalls.map(async (call) => { + const {stdout} = await run(process.execPath, ['--require', 'ts-node/register', path.join(__dirname, 'coldPathProbe.ts'), call], + {cwd: path.join(__dirname, '..'), env: {...process.env, TS_NODE_TRANSPILE_ONLY: 'true'}, timeout: 60000}); + return [call, stdout]; + })); + assert.deepEqual(results, coldPathCalls.map((call) => [call, 'isolated'])); +}); + +test('sandbox btoa/atob encode, decode and coerce like the browser API', async () => { + const exec = new JsExecutor(true); + const script = await exec.compileScript(`function(msg, metadata, msgType){ + return JSON.stringify([btoa('hello'), atob('aGVsbG8='), atob(btoa('\\u00ff\\u0000x')) === '\\u00ff\\u0000x', btoa(123), + btoa.name, atob.name, Object.getPrototypeOf(btoa) === Function.prototype]); + }`); + const out = await exec.executeScript(script, ['{}', '{}', 'X'], 5000); + assert.equal(out, JSON.stringify(['aGVsbG8=', 'hello', true, 'MTIz', 'btoa', 'atob', true])); +}); + +test('sandbox TextDecoder decodes like the host TextDecoder', async () => { + const exec = new JsExecutor(true); + const script = await exec.compileScript(`function(msg, metadata, msgType){ + var bytes = new Uint8Array([0xEF, 0xBB, 0xBF, 0x68, 0xC3, 0xA9, 0xE2, 0x82, 0xAC]); + var d = new TextDecoder(); + var stream = new TextDecoder(); + var streamed = stream.decode(new Uint8Array([0xE2, 0x82]), {stream: true}) + stream.decode(new Uint8Array([0xAC])); + var latin = new TextDecoder('latin1'); + function errorType(fn) { try { fn(); return 'none'; } catch (e) { return e instanceof RangeError ? 'RangeError' : e instanceof TypeError ? 'TypeError' : 'other'; } } + return JSON.stringify([ + d.decode(bytes), d.decode(bytes.buffer), d.decode(new DataView(bytes.buffer, 3)), d.decode(), + d.decode(bytes.subarray(3)), d.decode(bytes.subarray(4, 6)), d.decode(new Uint16Array(bytes.buffer, 2, 2)), + new TextDecoder('utf-8', {ignoreBOM: true}).decode(bytes).length, streamed, + d.encoding, d.fatal, d.ignoreBOM, new TextDecoder('UTF8', {fatal: true}).fatal, + latin.encoding, latin.decode(new Uint8Array([0xE9])), + errorType(function(){ new TextDecoder('utf-8', {fatal: true}).decode(new Uint8Array([0xFF])); }), + errorType(function(){ new TextDecoder('no-such-encoding'); }), + errorType(function(){ TextDecoder.prototype.decode.call({}, bytes); }), + errorType(function(){ TextDecoder(); }), + d instanceof TextDecoder, Object.prototype.toString.call(d)]); + }`); + const out = await exec.executeScript(script, ['{}', '{}', 'X'], 5000); + assert.equal(out, JSON.stringify([ + 'hé€', 'hé€', 'hé€', '', + 'hé€', 'é', '\uFFFDhé', + 4, '€', + 'utf-8', false, false, true, + 'windows-1252', 'é', + 'TypeError', 'RangeError', 'TypeError', 'TypeError', + true, '[object TextDecoder]'])); +}); + // The use_sandbox=false path is intentionally non-isolating: scripts compile // and run in the host realm via vm.compileFunction. The two tests below codify // that documented contract so any future behavior change shows up as a test From ac4ff949205bb11fdd30b1d066a3d6bb4ec569b2 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 10:40:45 +0200 Subject: [PATCH 285/559] Bump tomcat from 10.1.60 to 10.1.61 to fix CVE-2026-101296 and CVE-2026-101356 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9cfa2be932..8b8ed092b1 100755 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,7 @@ 3.5.13 3.18.0 4.1.138.Final - 10.1.60 + 10.1.61 5.4.3 1.5.38 2.21.7 From 2b1c5d92f3a8fd8057cdcbfa365c8759065b9d67 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 26 Oct 2026 09:49:28 +0100 Subject: [PATCH 286/559] Bumped Node.js version from 22.22.2 to 22.23.4 in Maven builds --- msa/js-executor/pom.xml | 2 +- msa/web-report/pom.xml | 0 msa/web-ui/pom.xml | 2 +- ui-ngx/pom.xml | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 msa/web-report/pom.xml diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml index 82128b0e0e..4257ef99f5 100644 --- a/msa/js-executor/pom.xml +++ b/msa/js-executor/pom.xml @@ -89,7 +89,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 diff --git a/msa/web-report/pom.xml b/msa/web-report/pom.xml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml index 311b4b976b..7a8efea15d 100644 --- a/msa/web-ui/pom.xml +++ b/msa/web-ui/pom.xml @@ -71,7 +71,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index c577e62fdc..a53d805f91 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -48,7 +48,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 From a14be4db83dc86346adabd6d59cba3c0e67a0dc1 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 26 Oct 2026 10:00:07 +0100 Subject: [PATCH 287/559] Bumped Node.js version from 22.22.2 to 22.23.4 in Web report --- msa/web-report/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msa/web-report/pom.xml b/msa/web-report/pom.xml index 05f3813996..3c13863a91 100644 --- a/msa/web-report/pom.xml +++ b/msa/web-report/pom.xml @@ -86,7 +86,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 From bb60e2d4c69ce83a632ddf83f80e1270cb0c14cf Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 26 Oct 2026 10:11:04 +0100 Subject: [PATCH 288/559] Bumped Node.js version from 22.22.2 to 22.23.4 in Web report --- msa/js-executor/pom.xml | 2 +- msa/web-ui/pom.xml | 2 +- ui-ngx/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml index 82128b0e0e..4257ef99f5 100644 --- a/msa/js-executor/pom.xml +++ b/msa/js-executor/pom.xml @@ -89,7 +89,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml index 311b4b976b..7a8efea15d 100644 --- a/msa/web-ui/pom.xml +++ b/msa/web-ui/pom.xml @@ -71,7 +71,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index c577e62fdc..a53d805f91 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -48,7 +48,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 From b9cf2380ff35244ad6b77e00bbce94e8e3caa81a Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 26 Oct 2026 10:16:41 +0100 Subject: [PATCH 289/559] Bumped Node.js version from 22.22.2 to 22.23.4 --- msa/js-executor/pom.xml | 2 +- msa/web-ui/pom.xml | 2 +- ui-ngx/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml index e8b0dfb949..2893d54307 100644 --- a/msa/js-executor/pom.xml +++ b/msa/js-executor/pom.xml @@ -89,7 +89,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml index be5bff4f85..d3b29ca438 100644 --- a/msa/web-ui/pom.xml +++ b/msa/web-ui/pom.xml @@ -71,7 +71,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index f7c130d606..129ea01e60 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -48,7 +48,7 @@ install-node-and-yarn - v22.22.2 + v22.23.4 v1.22.22 From 7a83ef30738ee2da0be7c3a787087f974a06f641 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 12:15:48 +0200 Subject: [PATCH 290/559] Version set to 4.2.2.8-SNAPSHOT --- application/pom.xml | 2 +- common/actor/pom.xml | 2 +- common/cache/pom.xml | 2 +- common/cluster-api/pom.xml | 2 +- common/coap-server/pom.xml | 2 +- common/dao-api/pom.xml | 2 +- common/data/pom.xml | 2 +- common/discovery-api/pom.xml | 2 +- common/edge-api/pom.xml | 2 +- common/edge-api/src/main/proto/edge.proto | 1 + common/edqs/pom.xml | 2 +- common/message/pom.xml | 2 +- common/pom.xml | 2 +- common/proto/pom.xml | 2 +- common/queue/pom.xml | 2 +- common/script/pom.xml | 2 +- common/script/remote-js-client/pom.xml | 2 +- common/script/script-api/pom.xml | 2 +- common/stats/pom.xml | 2 +- common/transport/coap/pom.xml | 2 +- common/transport/http/pom.xml | 2 +- common/transport/lwm2m/pom.xml | 2 +- common/transport/mqtt/pom.xml | 2 +- common/transport/pom.xml | 2 +- common/transport/snmp/pom.xml | 2 +- common/transport/transport-api/pom.xml | 2 +- common/util/pom.xml | 2 +- common/version-control/pom.xml | 2 +- dao/pom.xml | 2 +- edqs/pom.xml | 2 +- monitoring/pom.xml | 2 +- msa/black-box-tests/pom.xml | 2 +- msa/edqs/pom.xml | 2 +- msa/js-executor/package.json | 2 +- msa/js-executor/pom.xml | 2 +- msa/monitoring/pom.xml | 2 +- msa/pom.xml | 2 +- msa/tb-node/pom.xml | 2 +- msa/tb/pom.xml | 2 +- msa/transport/coap/pom.xml | 2 +- msa/transport/http/pom.xml | 2 +- msa/transport/lwm2m/pom.xml | 2 +- msa/transport/mqtt/pom.xml | 2 +- msa/transport/pom.xml | 2 +- msa/transport/snmp/pom.xml | 2 +- msa/vc-executor-docker/pom.xml | 2 +- msa/vc-executor/pom.xml | 2 +- msa/web-ui/package.json | 2 +- msa/web-ui/pom.xml | 2 +- netty-mqtt/pom.xml | 4 ++-- pom.xml | 2 +- rest-client/pom.xml | 2 +- rule-engine/pom.xml | 2 +- rule-engine/rule-engine-api/pom.xml | 2 +- rule-engine/rule-engine-components/pom.xml | 2 +- tools/pom.xml | 2 +- transport/coap/pom.xml | 2 +- transport/http/pom.xml | 2 +- transport/lwm2m/pom.xml | 2 +- transport/mqtt/pom.xml | 2 +- transport/pom.xml | 2 +- transport/snmp/pom.xml | 2 +- ui-ngx/package.json | 2 +- ui-ngx/pom.xml | 2 +- 64 files changed, 65 insertions(+), 64 deletions(-) diff --git a/application/pom.xml b/application/pom.xml index 60a83d1873..59bc549af1 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard application diff --git a/common/actor/pom.xml b/common/actor/pom.xml index 32255fa155..808dfab5d1 100644 --- a/common/actor/pom.xml +++ b/common/actor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/cache/pom.xml b/common/cache/pom.xml index a70bdc5b66..2cf6bd7d2d 100644 --- a/common/cache/pom.xml +++ b/common/cache/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/cluster-api/pom.xml b/common/cluster-api/pom.xml index e28c419b43..d3acfc7d3a 100644 --- a/common/cluster-api/pom.xml +++ b/common/cluster-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/coap-server/pom.xml b/common/coap-server/pom.xml index 395d041726..57ed51925e 100644 --- a/common/coap-server/pom.xml +++ b/common/coap-server/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/dao-api/pom.xml b/common/dao-api/pom.xml index a99d0be727..1c7e2716c1 100644 --- a/common/dao-api/pom.xml +++ b/common/dao-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/data/pom.xml b/common/data/pom.xml index 191efcd66b..2800181cce 100644 --- a/common/data/pom.xml +++ b/common/data/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/discovery-api/pom.xml b/common/discovery-api/pom.xml index 5abb4d44e5..18409e9e7f 100644 --- a/common/discovery-api/pom.xml +++ b/common/discovery-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/edge-api/pom.xml b/common/edge-api/pom.xml index 74f3ca69ef..649a568e63 100644 --- a/common/edge-api/pom.xml +++ b/common/edge-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index 1855c66457..9eb00490ab 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -40,6 +40,7 @@ enum EdgeVersion { V_4_2_2_5 = 4225; V_4_2_2_6 = 4226; V_4_2_2_7 = 4227; + V_4_2_2_8 = 4228; V_LATEST = 99999; } diff --git a/common/edqs/pom.xml b/common/edqs/pom.xml index 7ae1bf1598..ab2a7739b9 100644 --- a/common/edqs/pom.xml +++ b/common/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/message/pom.xml b/common/message/pom.xml index 8fce218c6a..779d03f413 100644 --- a/common/message/pom.xml +++ b/common/message/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/pom.xml b/common/pom.xml index dd63b4e36f..baeac2355d 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard common diff --git a/common/proto/pom.xml b/common/proto/pom.xml index 142cd17a6f..c6ebedaf0d 100644 --- a/common/proto/pom.xml +++ b/common/proto/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/queue/pom.xml b/common/queue/pom.xml index 58cddea1ea..33a07c68f4 100644 --- a/common/queue/pom.xml +++ b/common/queue/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/script/pom.xml b/common/script/pom.xml index 0aaf8d8b24..67f973a213 100644 --- a/common/script/pom.xml +++ b/common/script/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/script/remote-js-client/pom.xml b/common/script/remote-js-client/pom.xml index d09969f843..2745b2494e 100644 --- a/common/script/remote-js-client/pom.xml +++ b/common/script/remote-js-client/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT script org.thingsboard.common.script diff --git a/common/script/script-api/pom.xml b/common/script/script-api/pom.xml index cc8779b22c..ac3a2c8ce0 100644 --- a/common/script/script-api/pom.xml +++ b/common/script/script-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT script org.thingsboard.common.script diff --git a/common/stats/pom.xml b/common/stats/pom.xml index a5a98e3402..1ca785c74b 100644 --- a/common/stats/pom.xml +++ b/common/stats/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/transport/coap/pom.xml b/common/transport/coap/pom.xml index 7b1a0f8abe..99e5352a6e 100644 --- a/common/transport/coap/pom.xml +++ b/common/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/http/pom.xml b/common/transport/http/pom.xml index 16c955712b..789dea2438 100644 --- a/common/transport/http/pom.xml +++ b/common/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/lwm2m/pom.xml b/common/transport/lwm2m/pom.xml index 7bf3023aa6..a928c2a1b8 100644 --- a/common/transport/lwm2m/pom.xml +++ b/common/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/mqtt/pom.xml b/common/transport/mqtt/pom.xml index feabe3f909..4137ca9796 100644 --- a/common/transport/mqtt/pom.xml +++ b/common/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/pom.xml b/common/transport/pom.xml index 8078084815..5bb3d0ce21 100644 --- a/common/transport/pom.xml +++ b/common/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/transport/snmp/pom.xml b/common/transport/snmp/pom.xml index 563d582719..9f985b4182 100644 --- a/common/transport/snmp/pom.xml +++ b/common/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.common - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport diff --git a/common/transport/transport-api/pom.xml b/common/transport/transport-api/pom.xml index 6e03562191..b7a914c344 100644 --- a/common/transport/transport-api/pom.xml +++ b/common/transport/transport-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/util/pom.xml b/common/util/pom.xml index 034569ab4e..74d62be1f5 100644 --- a/common/util/pom.xml +++ b/common/util/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/common/version-control/pom.xml b/common/version-control/pom.xml index 7ef0fbcd84..61241550a5 100644 --- a/common/version-control/pom.xml +++ b/common/version-control/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT common org.thingsboard.common diff --git a/dao/pom.xml b/dao/pom.xml index e1e4f2d2e8..af8bc35424 100644 --- a/dao/pom.xml +++ b/dao/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard dao diff --git a/edqs/pom.xml b/edqs/pom.xml index 6b58673bcc..c0f241042d 100644 --- a/edqs/pom.xml +++ b/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard edqs diff --git a/monitoring/pom.xml b/monitoring/pom.xml index 90b1f61e71..a88c0fc8c4 100644 --- a/monitoring/pom.xml +++ b/monitoring/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard diff --git a/msa/black-box-tests/pom.xml b/msa/black-box-tests/pom.xml index 66056d7d58..818fb4539c 100644 --- a/msa/black-box-tests/pom.xml +++ b/msa/black-box-tests/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/edqs/pom.xml b/msa/edqs/pom.xml index a1442f1c05..1576d062e1 100644 --- a/msa/edqs/pom.xml +++ b/msa/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/js-executor/package.json b/msa/js-executor/package.json index c40826ef50..61b49d854d 100644 --- a/msa/js-executor/package.json +++ b/msa/js-executor/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-js-executor", "private": true, - "version": "4.2.2.7", + "version": "4.2.2.8", "description": "ThingsBoard JavaScript Executor Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml index 631b400dde..acebc9dc51 100644 --- a/msa/js-executor/pom.xml +++ b/msa/js-executor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/monitoring/pom.xml b/msa/monitoring/pom.xml index adf227e017..ae6bb05401 100644 --- a/msa/monitoring/pom.xml +++ b/msa/monitoring/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa diff --git a/msa/pom.xml b/msa/pom.xml index 2ab82bc8ea..346e4b0a19 100644 --- a/msa/pom.xml +++ b/msa/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard msa diff --git a/msa/tb-node/pom.xml b/msa/tb-node/pom.xml index d4aa6d9f88..5b6294d88b 100644 --- a/msa/tb-node/pom.xml +++ b/msa/tb-node/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/tb/pom.xml b/msa/tb/pom.xml index b85074fce2..920a1055f2 100644 --- a/msa/tb/pom.xml +++ b/msa/tb/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/transport/coap/pom.xml b/msa/transport/coap/pom.xml index d179d79956..15c09b85f0 100644 --- a/msa/transport/coap/pom.xml +++ b/msa/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/http/pom.xml b/msa/transport/http/pom.xml index 16d23afaf8..d8b04667ca 100644 --- a/msa/transport/http/pom.xml +++ b/msa/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/lwm2m/pom.xml b/msa/transport/lwm2m/pom.xml index 0534236f2d..89798003a1 100644 --- a/msa/transport/lwm2m/pom.xml +++ b/msa/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/mqtt/pom.xml b/msa/transport/mqtt/pom.xml index 763b098c24..5858b3f8a9 100644 --- a/msa/transport/mqtt/pom.xml +++ b/msa/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/pom.xml b/msa/transport/pom.xml index 6b03fd6b89..30560a4696 100644 --- a/msa/transport/pom.xml +++ b/msa/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/transport/snmp/pom.xml b/msa/transport/snmp/pom.xml index 566cc1c87c..714e09a8bf 100644 --- a/msa/transport/snmp/pom.xml +++ b/msa/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa transport - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT org.thingsboard.msa.transport diff --git a/msa/vc-executor-docker/pom.xml b/msa/vc-executor-docker/pom.xml index 8e471e5bf9..e36a380931 100644 --- a/msa/vc-executor-docker/pom.xml +++ b/msa/vc-executor-docker/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/vc-executor/pom.xml b/msa/vc-executor/pom.xml index 7e6e273780..89665afdee 100644 --- a/msa/vc-executor/pom.xml +++ b/msa/vc-executor/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/web-ui/package.json b/msa/web-ui/package.json index 929f30f4a9..7ea7bbef68 100644 --- a/msa/web-ui/package.json +++ b/msa/web-ui/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-web-ui", "private": true, - "version": "4.2.2.7", + "version": "4.2.2.8", "description": "ThingsBoard Web UI Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml index fc2ea08592..09028dc901 100644 --- a/msa/web-ui/pom.xml +++ b/msa/web-ui/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT msa org.thingsboard.msa diff --git a/netty-mqtt/pom.xml b/netty-mqtt/pom.xml index 6d58ab0147..bee910e06f 100644 --- a/netty-mqtt/pom.xml +++ b/netty-mqtt/pom.xml @@ -8,11 +8,11 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard netty-mqtt - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT jar Netty MQTT Client diff --git a/pom.xml b/pom.xml index 8b8ed092b1..f661615c45 100755 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT pom Thingsboard diff --git a/rest-client/pom.xml b/rest-client/pom.xml index d05f486d0a..603ac70832 100644 --- a/rest-client/pom.xml +++ b/rest-client/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard rest-client diff --git a/rule-engine/pom.xml b/rule-engine/pom.xml index fd804d77d3..e4643d15b9 100644 --- a/rule-engine/pom.xml +++ b/rule-engine/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard rule-engine diff --git a/rule-engine/rule-engine-api/pom.xml b/rule-engine/rule-engine-api/pom.xml index dbb6c6f578..30b58b11f4 100644 --- a/rule-engine/rule-engine-api/pom.xml +++ b/rule-engine/rule-engine-api/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT rule-engine org.thingsboard.rule-engine diff --git a/rule-engine/rule-engine-components/pom.xml b/rule-engine/rule-engine-components/pom.xml index 35868dba47..4268431e93 100644 --- a/rule-engine/rule-engine-components/pom.xml +++ b/rule-engine/rule-engine-components/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT rule-engine org.thingsboard.rule-engine diff --git a/tools/pom.xml b/tools/pom.xml index c9601d4d8d..36807000eb 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard tools diff --git a/transport/coap/pom.xml b/transport/coap/pom.xml index bd252f5e60..22e6786113 100644 --- a/transport/coap/pom.xml +++ b/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/http/pom.xml b/transport/http/pom.xml index a820157ff4..f00a7562ea 100644 --- a/transport/http/pom.xml +++ b/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/lwm2m/pom.xml b/transport/lwm2m/pom.xml index 6bbdbac259..89eb572a63 100644 --- a/transport/lwm2m/pom.xml +++ b/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/mqtt/pom.xml b/transport/mqtt/pom.xml index 573bf9f121..e944238986 100644 --- a/transport/mqtt/pom.xml +++ b/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/pom.xml b/transport/pom.xml index f825e2be3e..8848af0ce5 100644 --- a/transport/pom.xml +++ b/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard transport diff --git a/transport/snmp/pom.xml b/transport/snmp/pom.xml index fecb700a87..73e8b70827 100644 --- a/transport/snmp/pom.xml +++ b/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT transport diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 681f583003..9835eb893c 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -1,6 +1,6 @@ { "name": "thingsboard", - "version": "4.2.2.7", + "version": "4.2.2.8", "scripts": { "ng": "ng", "start": "node --max_old_space_size=8048 ./node_modules/@angular/cli/bin/ng serve --configuration development --host 0.0.0.0 --open", diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index caa7e43505..1052d07b19 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.2.2.7-SNAPSHOT + 4.2.2.8-SNAPSHOT thingsboard org.thingsboard From 9bd3bbfa5e4d2f9e2313f6c435d19dd79beb6659 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 12:16:21 +0200 Subject: [PATCH 291/559] Version set to 4.3.1.8-SNAPSHOT --- application/pom.xml | 2 +- common/actor/pom.xml | 2 +- common/cache/pom.xml | 2 +- common/cluster-api/pom.xml | 2 +- common/coap-server/pom.xml | 2 +- common/dao-api/pom.xml | 2 +- common/data/pom.xml | 2 +- common/discovery-api/pom.xml | 2 +- common/edge-api/pom.xml | 2 +- common/edge-api/src/main/proto/edge.proto | 1 + common/edqs/pom.xml | 2 +- common/message/pom.xml | 2 +- common/pom.xml | 2 +- common/proto/pom.xml | 2 +- common/queue/pom.xml | 2 +- common/script/pom.xml | 2 +- common/script/remote-js-client/pom.xml | 2 +- common/script/script-api/pom.xml | 2 +- common/stats/pom.xml | 2 +- common/transport/coap/pom.xml | 2 +- common/transport/http/pom.xml | 2 +- common/transport/lwm2m/pom.xml | 2 +- common/transport/mqtt/pom.xml | 2 +- common/transport/pom.xml | 2 +- common/transport/snmp/pom.xml | 2 +- common/transport/transport-api/pom.xml | 2 +- common/util/pom.xml | 2 +- common/version-control/pom.xml | 2 +- dao/pom.xml | 2 +- edqs/pom.xml | 2 +- monitoring/pom.xml | 2 +- msa/black-box-tests/pom.xml | 2 +- msa/edqs/pom.xml | 2 +- msa/js-executor/package.json | 2 +- msa/js-executor/pom.xml | 2 +- msa/monitoring/pom.xml | 2 +- msa/pom.xml | 2 +- msa/tb-node/pom.xml | 2 +- msa/tb/pom.xml | 2 +- msa/transport/coap/pom.xml | 2 +- msa/transport/http/pom.xml | 2 +- msa/transport/lwm2m/pom.xml | 2 +- msa/transport/mqtt/pom.xml | 2 +- msa/transport/pom.xml | 2 +- msa/transport/snmp/pom.xml | 2 +- msa/vc-executor-docker/pom.xml | 2 +- msa/vc-executor/pom.xml | 2 +- msa/web-ui/package.json | 2 +- msa/web-ui/pom.xml | 2 +- netty-mqtt/pom.xml | 4 ++-- pom.xml | 2 +- rest-client/pom.xml | 2 +- rule-engine/pom.xml | 2 +- rule-engine/rule-engine-api/pom.xml | 2 +- rule-engine/rule-engine-components/pom.xml | 2 +- tools/pom.xml | 2 +- transport/coap/pom.xml | 2 +- transport/http/pom.xml | 2 +- transport/lwm2m/pom.xml | 2 +- transport/mqtt/pom.xml | 2 +- transport/pom.xml | 2 +- transport/snmp/pom.xml | 2 +- ui-ngx/package.json | 2 +- ui-ngx/pom.xml | 2 +- 64 files changed, 65 insertions(+), 64 deletions(-) diff --git a/application/pom.xml b/application/pom.xml index 6dc44433f9..bb4cb6595f 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard application diff --git a/common/actor/pom.xml b/common/actor/pom.xml index 10f5bb5fa4..e6e009c943 100644 --- a/common/actor/pom.xml +++ b/common/actor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/cache/pom.xml b/common/cache/pom.xml index 77861f9675..122d415dc9 100644 --- a/common/cache/pom.xml +++ b/common/cache/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/cluster-api/pom.xml b/common/cluster-api/pom.xml index 1df31d4a53..e0ce47aad4 100644 --- a/common/cluster-api/pom.xml +++ b/common/cluster-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/coap-server/pom.xml b/common/coap-server/pom.xml index 7d7e725a7e..f2049b758f 100644 --- a/common/coap-server/pom.xml +++ b/common/coap-server/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/dao-api/pom.xml b/common/dao-api/pom.xml index 5bc2030203..7dc02218e3 100644 --- a/common/dao-api/pom.xml +++ b/common/dao-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/data/pom.xml b/common/data/pom.xml index 6e30c03734..26527cf1ef 100644 --- a/common/data/pom.xml +++ b/common/data/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/discovery-api/pom.xml b/common/discovery-api/pom.xml index dd24f5d1ee..f0e1b776c3 100644 --- a/common/discovery-api/pom.xml +++ b/common/discovery-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/edge-api/pom.xml b/common/edge-api/pom.xml index 6d2a9b9aad..d8aed53d6e 100644 --- a/common/edge-api/pom.xml +++ b/common/edge-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index 7a3875db52..d97652ae7e 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -51,6 +51,7 @@ enum EdgeVersion { V_4_3_1_5 = 4315; V_4_3_1_6 = 4316; V_4_3_1_7 = 4317; + V_4_3_1_8 = 4318; V_LATEST = 99999; } diff --git a/common/edqs/pom.xml b/common/edqs/pom.xml index 9c3c0205bc..6107e2b4fe 100644 --- a/common/edqs/pom.xml +++ b/common/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/message/pom.xml b/common/message/pom.xml index 6d7d70c76c..bc63d9aa6a 100644 --- a/common/message/pom.xml +++ b/common/message/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/pom.xml b/common/pom.xml index 5f9887435e..5476af4de2 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard common diff --git a/common/proto/pom.xml b/common/proto/pom.xml index 6ebb95f965..ab85c9e1b4 100644 --- a/common/proto/pom.xml +++ b/common/proto/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/queue/pom.xml b/common/queue/pom.xml index 063c8fb97f..4ebe75c1e4 100644 --- a/common/queue/pom.xml +++ b/common/queue/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/script/pom.xml b/common/script/pom.xml index 69ec57f099..f87736920a 100644 --- a/common/script/pom.xml +++ b/common/script/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/script/remote-js-client/pom.xml b/common/script/remote-js-client/pom.xml index 34bad4c937..f2f993dc00 100644 --- a/common/script/remote-js-client/pom.xml +++ b/common/script/remote-js-client/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT script org.thingsboard.common.script diff --git a/common/script/script-api/pom.xml b/common/script/script-api/pom.xml index aa740fd6e9..8c4aed3611 100644 --- a/common/script/script-api/pom.xml +++ b/common/script/script-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT script org.thingsboard.common.script diff --git a/common/stats/pom.xml b/common/stats/pom.xml index 54899d513d..f898edb95f 100644 --- a/common/stats/pom.xml +++ b/common/stats/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/transport/coap/pom.xml b/common/transport/coap/pom.xml index 04ef7414f3..3f3fe4a065 100644 --- a/common/transport/coap/pom.xml +++ b/common/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/http/pom.xml b/common/transport/http/pom.xml index a5d1d80138..c4358412a1 100644 --- a/common/transport/http/pom.xml +++ b/common/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/lwm2m/pom.xml b/common/transport/lwm2m/pom.xml index d7a019b50b..1795c3d2a0 100644 --- a/common/transport/lwm2m/pom.xml +++ b/common/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/mqtt/pom.xml b/common/transport/mqtt/pom.xml index 810645bf4d..baf8a8ec99 100644 --- a/common/transport/mqtt/pom.xml +++ b/common/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/transport/pom.xml b/common/transport/pom.xml index aaf91d43ed..8aac3ac3cd 100644 --- a/common/transport/pom.xml +++ b/common/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/transport/snmp/pom.xml b/common/transport/snmp/pom.xml index face915573..13670dff1f 100644 --- a/common/transport/snmp/pom.xml +++ b/common/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.common - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport diff --git a/common/transport/transport-api/pom.xml b/common/transport/transport-api/pom.xml index 75231178bc..97be2c8867 100644 --- a/common/transport/transport-api/pom.xml +++ b/common/transport/transport-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.common.transport diff --git a/common/util/pom.xml b/common/util/pom.xml index 565180b346..3441c8a23f 100644 --- a/common/util/pom.xml +++ b/common/util/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/common/version-control/pom.xml b/common/version-control/pom.xml index 067fafe7d9..22e9bc1ca3 100644 --- a/common/version-control/pom.xml +++ b/common/version-control/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT common org.thingsboard.common diff --git a/dao/pom.xml b/dao/pom.xml index 081d33ad5b..9d71087d63 100644 --- a/dao/pom.xml +++ b/dao/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard dao diff --git a/edqs/pom.xml b/edqs/pom.xml index 2025f9c907..14e1db87cd 100644 --- a/edqs/pom.xml +++ b/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard edqs diff --git a/monitoring/pom.xml b/monitoring/pom.xml index f5e26129b0..6a59464c16 100644 --- a/monitoring/pom.xml +++ b/monitoring/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard diff --git a/msa/black-box-tests/pom.xml b/msa/black-box-tests/pom.xml index 4e6333db20..707dafd8e7 100644 --- a/msa/black-box-tests/pom.xml +++ b/msa/black-box-tests/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/edqs/pom.xml b/msa/edqs/pom.xml index 4e00abdf90..c24c2595e7 100644 --- a/msa/edqs/pom.xml +++ b/msa/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/js-executor/package.json b/msa/js-executor/package.json index c782f123e9..fc6814a8bf 100644 --- a/msa/js-executor/package.json +++ b/msa/js-executor/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-js-executor", "private": true, - "version": "4.3.1.7", + "version": "4.3.1.8", "description": "ThingsBoard JavaScript Executor Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml index 2893d54307..7c3adb0233 100644 --- a/msa/js-executor/pom.xml +++ b/msa/js-executor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/monitoring/pom.xml b/msa/monitoring/pom.xml index 5c18c3e215..7903895515 100644 --- a/msa/monitoring/pom.xml +++ b/msa/monitoring/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa diff --git a/msa/pom.xml b/msa/pom.xml index 5ec171bd05..12b4d93a1b 100644 --- a/msa/pom.xml +++ b/msa/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard msa diff --git a/msa/tb-node/pom.xml b/msa/tb-node/pom.xml index d40d203086..ee64056321 100644 --- a/msa/tb-node/pom.xml +++ b/msa/tb-node/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/tb/pom.xml b/msa/tb/pom.xml index b44ecf5143..db709ebcc3 100644 --- a/msa/tb/pom.xml +++ b/msa/tb/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/transport/coap/pom.xml b/msa/transport/coap/pom.xml index 0f4a69e1e0..f7170ca978 100644 --- a/msa/transport/coap/pom.xml +++ b/msa/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/http/pom.xml b/msa/transport/http/pom.xml index cc88bda654..23d46a1c97 100644 --- a/msa/transport/http/pom.xml +++ b/msa/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/lwm2m/pom.xml b/msa/transport/lwm2m/pom.xml index 047c811fea..bdbb0ac1b8 100644 --- a/msa/transport/lwm2m/pom.xml +++ b/msa/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/mqtt/pom.xml b/msa/transport/mqtt/pom.xml index ae81270032..59b0159c53 100644 --- a/msa/transport/mqtt/pom.xml +++ b/msa/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.msa.transport diff --git a/msa/transport/pom.xml b/msa/transport/pom.xml index ed92e37fc4..4d329580c5 100644 --- a/msa/transport/pom.xml +++ b/msa/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/transport/snmp/pom.xml b/msa/transport/snmp/pom.xml index 92de363fa9..dad9811938 100644 --- a/msa/transport/snmp/pom.xml +++ b/msa/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa transport - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT org.thingsboard.msa.transport diff --git a/msa/vc-executor-docker/pom.xml b/msa/vc-executor-docker/pom.xml index 706ab1f216..7c83bd32c3 100644 --- a/msa/vc-executor-docker/pom.xml +++ b/msa/vc-executor-docker/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/vc-executor/pom.xml b/msa/vc-executor/pom.xml index 76cb986471..fdb077ec4b 100644 --- a/msa/vc-executor/pom.xml +++ b/msa/vc-executor/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa org.thingsboard.msa diff --git a/msa/web-ui/package.json b/msa/web-ui/package.json index 8111667310..0f707a216a 100644 --- a/msa/web-ui/package.json +++ b/msa/web-ui/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-web-ui", "private": true, - "version": "4.3.1.7", + "version": "4.3.1.8", "description": "ThingsBoard Web UI Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml index d3b29ca438..3b402e2081 100644 --- a/msa/web-ui/pom.xml +++ b/msa/web-ui/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT msa org.thingsboard.msa diff --git a/netty-mqtt/pom.xml b/netty-mqtt/pom.xml index b09f3a92b0..535098bd40 100644 --- a/netty-mqtt/pom.xml +++ b/netty-mqtt/pom.xml @@ -8,11 +8,11 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard netty-mqtt - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT jar Netty MQTT Client diff --git a/pom.xml b/pom.xml index c0a6bb2840..454b17e84f 100755 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT pom Thingsboard diff --git a/rest-client/pom.xml b/rest-client/pom.xml index 9b301219a8..e76b66f399 100644 --- a/rest-client/pom.xml +++ b/rest-client/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard rest-client diff --git a/rule-engine/pom.xml b/rule-engine/pom.xml index 2a4aed144d..da03f67a7b 100644 --- a/rule-engine/pom.xml +++ b/rule-engine/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard rule-engine diff --git a/rule-engine/rule-engine-api/pom.xml b/rule-engine/rule-engine-api/pom.xml index f0f09b57b9..9499a72abf 100644 --- a/rule-engine/rule-engine-api/pom.xml +++ b/rule-engine/rule-engine-api/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT rule-engine org.thingsboard.rule-engine diff --git a/rule-engine/rule-engine-components/pom.xml b/rule-engine/rule-engine-components/pom.xml index 65f5448f05..7aad9bedc4 100644 --- a/rule-engine/rule-engine-components/pom.xml +++ b/rule-engine/rule-engine-components/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT rule-engine org.thingsboard.rule-engine diff --git a/tools/pom.xml b/tools/pom.xml index 27570c45a3..2259506fe0 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard tools diff --git a/transport/coap/pom.xml b/transport/coap/pom.xml index 8455ae9e50..e94ebe5f20 100644 --- a/transport/coap/pom.xml +++ b/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/http/pom.xml b/transport/http/pom.xml index f0ce64ad4c..e92c9f7ee3 100644 --- a/transport/http/pom.xml +++ b/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/lwm2m/pom.xml b/transport/lwm2m/pom.xml index 804deea8f0..e7529c74ed 100644 --- a/transport/lwm2m/pom.xml +++ b/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/mqtt/pom.xml b/transport/mqtt/pom.xml index 79d3f97f69..00805a92af 100644 --- a/transport/mqtt/pom.xml +++ b/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport org.thingsboard.transport diff --git a/transport/pom.xml b/transport/pom.xml index 5ea01754cd..50a2003b1c 100644 --- a/transport/pom.xml +++ b/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard transport diff --git a/transport/snmp/pom.xml b/transport/snmp/pom.xml index 1aad5403b4..0ebbcc412e 100644 --- a/transport/snmp/pom.xml +++ b/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT transport diff --git a/ui-ngx/package.json b/ui-ngx/package.json index e2254332fe..e7b15f6288 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -1,6 +1,6 @@ { "name": "thingsboard", - "version": "4.3.1.7", + "version": "4.3.1.8", "scripts": { "ng": "ng", "start": "node --max_old_space_size=8048 ./node_modules/@angular/cli/bin/ng serve --configuration development --host 0.0.0.0 --open", diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index 129ea01e60..f1f5004c90 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.3.1.7-SNAPSHOT + 4.3.1.8-SNAPSHOT thingsboard org.thingsboard From b21bbebaa370eaf07058d0fa6eb474af9609a9ff Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 12:16:54 +0200 Subject: [PATCH 292/559] Replace removed es_ES solution-template key in translation tests --- .../server/controller/TranslationControllerTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/TranslationControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/TranslationControllerTest.java index ad9edd430c..e28baac8ad 100644 --- a/application/src/test/java/org/thingsboard/server/controller/TranslationControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/TranslationControllerTest.java @@ -80,7 +80,7 @@ public class TranslationControllerTest extends AbstractControllerTest { JsonNode fullSystemTranslation = doGet("/api/translation/full/" + ES_ES, JsonNode.class); assertThat(fullSystemTranslation.get("save").asText()).isEqualTo("system"); assertThat(fullSystemTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(fullSystemTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(fullSystemTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); // get full tenant translation loginTenantAdmin(); @@ -88,7 +88,7 @@ public class TranslationControllerTest extends AbstractControllerTest { assertThat(fullTenantTranslation.get("save").asText()).isEqualTo("system"); assertThat(fullTenantTranslation.get("update").asText()).isEqualTo("tenant"); assertThat(fullTenantTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(fullTenantTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(fullTenantTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); // get full customer custom translation loginCustomerAdminUser(); @@ -97,7 +97,7 @@ public class TranslationControllerTest extends AbstractControllerTest { assertThat(fullCustomerTranslation.get("update").asText()).isEqualTo("tenant"); assertThat(fullCustomerTranslation.get("remove").asText()).isEqualTo("customer"); assertThat(fullCustomerTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(fullCustomerTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(fullCustomerTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); // get full subcustomer custom translation loginSubCustomerAdminUser(); @@ -107,7 +107,7 @@ public class TranslationControllerTest extends AbstractControllerTest { assertThat(fullSubCustomerTranslation.get("remove").asText()).isEqualTo("customer"); assertThat(fullSubCustomerTranslation.get("search").asText()).isEqualTo("subCustomer"); assertThat(fullSubCustomerTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(fullSubCustomerTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(fullSubCustomerTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); } @Test @@ -396,7 +396,7 @@ public class TranslationControllerTest extends AbstractControllerTest { assertThat(downloadedCustomTranslation.get("save").asText()).isEqualTo("system"); assertThat(downloadedCustomTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(downloadedCustomTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(downloadedCustomTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); } @Test From c57a6f91cea5cafa9119bae4bd6b7728a3f16aa6 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 12:23:39 +0200 Subject: [PATCH 293/559] Fix license headers --- msa/web-report/pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/msa/web-report/pom.xml b/msa/web-report/pom.xml index 3c13863a91..05320a93a5 100644 --- a/msa/web-report/pom.xml +++ b/msa/web-report/pom.xml @@ -1,7 +1,8 @@ Date: Mon, 26 Oct 2026 12:36:11 +0200 Subject: [PATCH 294/559] Curate web-report pom.xml as BUSL --- msa/web-report/pom.xml | 5 ++--- tools/src/main/python/license-headers/curations.json | 6 ++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/msa/web-report/pom.xml b/msa/web-report/pom.xml index 05320a93a5..3c13863a91 100644 --- a/msa/web-report/pom.xml +++ b/msa/web-report/pom.xml @@ -1,8 +1,7 @@ Date: Mon, 26 Oct 2026 12:43:36 +0200 Subject: [PATCH 295/559] fix: AI Assistant follows a reply after a dropped connection, a reload or a reopened panel, keeps the user's message, shows a readable connection-lost notice, tells TB AI when the browser leaves a turn, and restores approval cards and unfinished-request notices from history (PROD-9070) --- .../server/controller/AiChatController.java | 14 ++ .../server/service/ai/DefaultTbAiService.java | 11 +- .../server/service/ai/TbAiService.java | 13 +- .../server/service/ai/chat/AiChatService.java | 2 + .../service/ai/chat/DefaultAiChatService.java | 20 ++- .../ai/transport/ChannelTbAiTransport.java | 48 ++++++- .../ai/transport/TbAiPooledConnection.java | 12 ++ .../service/ai/transport/TbAiTransport.java | 8 +- .../service/ai/transport/TbAiTurnLink.java | 41 ++++++ .../controller/AbstractAiControllerTest.java | 7 + .../AiChatControllerOnPremiseTest.java | 12 +- .../controller/AiChatControllerTest.java | 42 +++++- .../service/ai/DefaultTbAiServiceTest.java | 51 +++++++ .../ai/chat/DefaultAiChatServiceTest.java | 48 +++++-- .../transport/ChannelTbAiTransportTest.java | 95 +++++++++++++- .../service/ai/transport/FakeTbAiServer.java | 10 +- ui-ngx/src/app/core/http/ai-chat.service.ts | 14 +- .../ai/ai-assistant-panel.component.ts | 124 ++++++++++++++++-- .../ai/ai-chat-messages.component.html | 5 + .../ai/ai-chat-messages.component.scss | 16 +++ .../src/app/shared/models/ai-chat.models.ts | 8 +- .../shared/models/solution-creator.models.ts | 4 +- .../assets/locale/locale.constant-en_US.json | 2 + 23 files changed, 557 insertions(+), 50 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTurnLink.java diff --git a/application/src/main/java/org/thingsboard/server/controller/AiChatController.java b/application/src/main/java/org/thingsboard/server/controller/AiChatController.java index 8b14c71743..bbd9366776 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiChatController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiChatController.java @@ -109,6 +109,20 @@ class AiChatController extends BaseController { return withTraceLogging(chatId, aiChatService.sendChatMessage(chatId, request, tbAccessToken, acceptLanguage, clientOrigin, user)); } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @PostMapping(value = "/{chatId}/resume", produces = MediaType.TEXT_EVENT_STREAM_VALUE) + public Flux> resumeChat( + @PathVariable UUID chatId, + @RequestHeader(AUTHORIZATION_HEADER) String tbAccessToken, + @RequestHeader(value = HttpHeaders.ACCEPT_LANGUAGE, required = false) String acceptLanguage, + HttpServletRequest httpRequest + ) throws ThingsboardException { + SecurityUser user = getCurrentUser(); + accessControlService.checkPermission(user, Resource.AI, Operation.WRITE); + String clientOrigin = systemSecurityService.getBaseUrl(user.getTenantId(), user.getCustomerId(), httpRequest); + return withTraceLogging(chatId, aiChatService.resumeChat(chatId, tbAccessToken, acceptLanguage, clientOrigin, user)); + } + private Flux> withTraceLogging(UUID chatId, Flux> events) { return events.doOnNext(event -> { if (log.isTraceEnabled()) { diff --git a/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java b/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java index fbd6764cec..694e2a4c6b 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java @@ -25,6 +25,7 @@ import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.apiusage.TbApiUsageStateService; import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.ai.transport.TbAiTurnLink; import reactor.core.publisher.Flux; import reactor.core.publisher.Sinks; @@ -57,9 +58,12 @@ class DefaultTbAiService implements TbAiService { } @Override - public Flux> processStream(UUID chatId, TbAiCall>> call, SecurityUser user) { + public Flux> processStream(UUID chatId, TbAiCall>> call, SecurityUser user, + TbAiTurnLink link, boolean checkCredits) { checkEnabled(); - checkApiUsage(user); + if (checkCredits) { + checkApiUsage(user); + } TbAiClient.TokenProvider tokenProvider = createCheckedTokenProvider(user); return Flux.defer(() -> { // Eager subscribe so client cancel does not drop the trailing creditsUsed event. @@ -85,7 +89,8 @@ class DefaultTbAiService implements TbAiService { clientSink::tryEmitComplete ); - return clientSink.asFlux(); + Flux> client = clientSink.asFlux(); + return link != null ? client.doOnCancel(link::clientLeft) : client; }); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/TbAiService.java b/application/src/main/java/org/thingsboard/server/service/ai/TbAiService.java index 6473d29bcc..26f3497385 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/TbAiService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/TbAiService.java @@ -7,6 +7,7 @@ import org.springframework.http.codec.ServerSentEvent; import org.thingsboard.ai.common.client.TbAiClient; import org.thingsboard.ai.common.data.usage.ApiUsageInfo; import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.ai.transport.TbAiTurnLink; import reactor.core.publisher.Flux; import java.util.UUID; @@ -19,7 +20,17 @@ public interface TbAiService { JsonNode process(TbAiCall action, SecurityUser user, boolean checkCredits); - Flux> processStream(UUID chatId, TbAiCall>> action, SecurityUser user); + default Flux> processStream(UUID chatId, TbAiCall>> action, SecurityUser user) { + return processStream(chatId, action, user, null, true); + } + + /** + * Streams a chat turn to the browser. {@code link}, when given, is told when the browser stops listening, which + * ThingsBoard itself never does before the turn ends. {@code checkCredits} is false for following a turn that has + * already been paid for. + */ + Flux> processStream(UUID chatId, TbAiCall>> action, SecurityUser user, + TbAiTurnLink link, boolean checkCredits); boolean isEnabled(); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/chat/AiChatService.java b/application/src/main/java/org/thingsboard/server/service/ai/chat/AiChatService.java index 2e989304af..2eae20227a 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/chat/AiChatService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/chat/AiChatService.java @@ -26,4 +26,6 @@ public interface AiChatService { SecurityUser user ); + Flux> resumeChat(UUID chatId, String tbAccessToken, String acceptLanguage, String clientOrigin, SecurityUser user); + } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/chat/DefaultAiChatService.java b/application/src/main/java/org/thingsboard/server/service/ai/chat/DefaultAiChatService.java index cb60ca296a..1b15fc8045 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/chat/DefaultAiChatService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/chat/DefaultAiChatService.java @@ -8,12 +8,14 @@ import org.springframework.http.codec.ServerSentEvent; import org.springframework.stereotype.Service; import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.ai.common.channel.ChatOperationRequest; +import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.TbAiService; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.ai.transport.TbAiTransport; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; +import org.thingsboard.server.service.ai.transport.TbAiTurnLink; import org.thingsboard.server.service.security.model.SecurityUser; import reactor.core.publisher.Flux; @@ -24,6 +26,8 @@ import java.util.UUID; @RequiredArgsConstructor class DefaultAiChatService implements AiChatService { + private static final JsonNode TOOL_CARDS = JacksonUtil.newObjectNode().put("toolCards", true); + private final TbAiService tbAiService; private final TbAiTransport tbAiTransport; private final TbAiOperations operations; @@ -49,7 +53,7 @@ class DefaultAiChatService implements AiChatService { @Override public JsonNode getChatMessages(UUID chatId, SecurityUser user) { return tbAiService.process(tokenProvider -> operations.execute( - new TbAiOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, null)), user, tokenProvider), user, false); + new TbAiOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, TOOL_CARDS)), user, tokenProvider), user, false); } @Override @@ -63,10 +67,20 @@ class DefaultAiChatService implements AiChatService { UUID chatId, JsonNode request, String tbAccessToken, String acceptLanguage, String clientOrigin, SecurityUser user ) { + var link = new TbAiTurnLink(); + return tbAiService.processStream(chatId, tokenProvider -> { + var context = new TbAiTurnContext(user, tbAccessToken, acceptLanguage, tokenProvider, clientOrigin); + return tbAiTransport.sendChatMessage(chatId, request, context, link); + }, user, link, true); + } + + @Override + public Flux> resumeChat(UUID chatId, String tbAccessToken, String acceptLanguage, String clientOrigin, SecurityUser user) { + var link = new TbAiTurnLink(); return tbAiService.processStream(chatId, tokenProvider -> { var context = new TbAiTurnContext(user, tbAccessToken, acceptLanguage, tokenProvider, clientOrigin); - return tbAiTransport.sendChatMessage(chatId, request, context); - }, user); + return tbAiTransport.resumeChat(chatId, context, link); + }, user, link, false); } } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java index c7b3dbabf5..c8e49e4797 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransport.java @@ -39,10 +39,22 @@ class ChannelTbAiTransport implements TbAiTransport { private final TbAiRequestExecutor requestExecutor; @Override - public Flux> sendChatMessage(UUID chatId, JsonNode request, TbAiTurnContext context) { + public Flux> sendChatMessage(UUID chatId, JsonNode request, TbAiTurnContext context, TbAiTurnLink link) { + return turn(ChannelProtocol.CHAT_SEND, chatId, request, context, link); + } + + @Override + public Flux> resumeChat(UUID chatId, TbAiTurnContext context, TbAiTurnLink link) { + return turn(ChannelProtocol.CHAT_RESUME, chatId, null, context, link); + } + + private Flux> turn(String type, UUID chatId, JsonNode request, TbAiTurnContext context, TbAiTurnLink link) { return Flux.create(sink -> { - var turn = new ChannelTurn(chatId, request, context, sink); + var turn = new ChannelTurn(type, chatId, request, context, sink); sink.onDispose(turn::abandon); + if (link != null) { + link.onClientLeft(turn::detach); + } turn.start(false); }); } @@ -56,6 +68,7 @@ class ChannelTbAiTransport implements TbAiTransport { private final class ChannelTurn implements TbAiChannelExchange { + private final String type; private final UUID chatId; private final JsonNode request; private final TbAiTurnContext context; @@ -65,8 +78,10 @@ class ChannelTbAiTransport implements TbAiTransport { private volatile String op; private volatile boolean frameSeen; private volatile boolean retried; + private volatile boolean detached; - private ChannelTurn(UUID chatId, JsonNode request, TbAiTurnContext context, FluxSink> sink) { + private ChannelTurn(String type, UUID chatId, JsonNode request, TbAiTurnContext context, FluxSink> sink) { + this.type = type; this.chatId = chatId; this.request = request; this.context = context; @@ -98,6 +113,23 @@ class ChannelTbAiTransport implements TbAiTransport { end(null); } + void detach() { + detached = true; + sendDetach(); + } + + private void sendDetach() { + TbAiPooledConnection current = connection; + if (finished.get() || current == null || !current.supports(ChannelProtocol.TURN_RESUME_CAPABILITY)) { + return; + } + try { + current.send(new ChannelFrame(ChannelProtocol.CHAT_DETACH, null, null, null, op)); + } catch (ChannelException e) { + log.debug("[{}] Failed to detach from the AI turn: {}", chatId, e.getMessage()); + } + } + @Override public void onFrame(TbAiPooledConnection frameConnection, ChannelFrame frame) { try { @@ -153,13 +185,21 @@ class ChannelTbAiTransport implements TbAiTransport { acquired.unreserve(System.nanoTime()); return; } - ChannelFrame start = ChannelFrame.request(ChannelProtocol.CHAT_SEND, + if (ChannelProtocol.CHAT_RESUME.equals(type) && !acquired.supports(ChannelProtocol.TURN_RESUME_CAPABILITY)) { + acquired.unreserve(System.nanoTime()); + end(null); + return; + } + ChannelFrame start = ChannelFrame.request(type, acquired.codec().toPayload(new ChatTurnRequest(chatId, request, context.acceptLanguage()))) .withOrigin(context.clientOrigin()); op = start.id(); connection = acquired; try { acquired.start(this, start); + if (detached) { + sendDetach(); + } } catch (ChannelException e) { connection = null; acquired.finish(op, System.nanoTime()); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java index c5bb359d08..3b77aad205 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnection.java @@ -53,6 +53,7 @@ final class TbAiPooledConnection implements ChannelFrameListener { private volatile ChannelSession session; private volatile int maxFrameBytes = TbAiChannelClient.DEFAULT_MAX_FRAME_BYTES; + private volatile List serverCapabilities = List.of(); /** * Created with one reservation for the caller that opens it, so callers waiting on the same handshake cannot @@ -108,6 +109,14 @@ final class TbAiPooledConnection implements ChannelFrameListener { return ready; } + /** + * Whether TB AI listed {@code capability} in its hello. Frames a capability adds must not be sent without it: an + * older TB AI closes the connection on a frame type it does not know. + */ + boolean supports(String capability) { + return serverCapabilities.contains(capability); + } + /** * The session arrived. If the handshake already failed (the connect timed out), the session is closed: it is * stored first and {@link #failed} closes whatever is stored after failing {@code ready}, so one of the two always @@ -293,6 +302,9 @@ final class TbAiPooledConnection implements ChannelFrameListener { if (hello.maxFrameBytes() != null && hello.maxFrameBytes() > 0 && hello.maxFrameBytes() < Integer.MAX_VALUE) { maxFrameBytes = hello.maxFrameBytes().intValue(); } + if (hello.capabilities() != null) { + serverCapabilities = List.copyOf(hello.capabilities()); + } ready.complete(this); } case ChannelProtocol.ERROR -> { diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTransport.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTransport.java index 1a1e700a22..da40a9de62 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTransport.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTransport.java @@ -10,6 +10,12 @@ import java.util.UUID; public interface TbAiTransport { - Flux> sendChatMessage(UUID chatId, JsonNode request, TbAiTurnContext context); + Flux> sendChatMessage(UUID chatId, JsonNode request, TbAiTurnContext context, TbAiTurnLink link); + + /** + * Follows the turn running in the chat: a {@code turnResumed} event, every event of the turn so far, then the live + * ones. Completes at once when no turn is running or when TB AI cannot resume turns. + */ + Flux> resumeChat(UUID chatId, TbAiTurnContext context, TbAiTurnLink link); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTurnLink.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTurnLink.java new file mode 100644 index 0000000000..c4014cdbe7 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiTurnLink.java @@ -0,0 +1,41 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.ai.transport; + +/** + * Connects the browser end of an AI chat stream to its turn on TB AI. ThingsBoard keeps listening to a turn after the + * browser leaves (the turn bills its credits at its end), so leaving is reported separately: TB AI then knows nobody + * follows the turn, and a pending approval expires soon instead of waiting its full timeout for a user who left. + */ +public final class TbAiTurnLink { + + private final Object lock = new Object(); + private Runnable onClientLeft; + private boolean clientLeft; + + public void onClientLeft(Runnable listener) { + boolean leftAlready; + synchronized (lock) { + onClientLeft = listener; + leftAlready = clientLeft; + } + if (leftAlready) { + listener.run(); + } + } + + public void clientLeft() { + Runnable listener; + synchronized (lock) { + if (clientLeft) { + return; + } + clientLeft = true; + listener = onClientLeft; + } + if (listener != null) { + listener.run(); + } + } + +} diff --git a/application/src/test/java/org/thingsboard/server/controller/AbstractAiControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AbstractAiControllerTest.java index 3f3b1d13d8..d587ff5e8d 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AbstractAiControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AbstractAiControllerTest.java @@ -127,6 +127,13 @@ public abstract class AbstractAiControllerTest extends AbstractControllerTest { .put("content", content); } + protected MockHttpServletRequestBuilder resumeRequest(UUID chatId) { + MockHttpServletRequestBuilder request = post("/api/ai/chats/" + chatId + "/resume") + .accept(MediaType.TEXT_EVENT_STREAM); + setJwtToken(request); + return request; + } + protected MockHttpServletRequestBuilder sendMessageRequest(UUID chatId, JsonNode body, String acceptLanguage) { MockHttpServletRequestBuilder request = post("/api/ai/chats/" + chatId + "/messages") .contentType(MediaType.APPLICATION_JSON) diff --git a/application/src/test/java/org/thingsboard/server/controller/AiChatControllerOnPremiseTest.java b/application/src/test/java/org/thingsboard/server/controller/AiChatControllerOnPremiseTest.java index 04554f1494..27da3f6e79 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiChatControllerOnPremiseTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiChatControllerOnPremiseTest.java @@ -3,8 +3,10 @@ package org.thingsboard.server.controller; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; +import org.thingsboard.server.service.ai.transport.TbAiTurnLink; import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.ai.common.channel.ChatOperationRequest; +import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml.jackson.databind.node.TextNode; import org.junit.Test; @@ -29,6 +31,8 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @DaoSqlTest public class AiChatControllerOnPremiseTest extends AbstractOnPremiseAiControllerTest { + private static final JsonNode TOOL_CARDS = JacksonUtil.newObjectNode().put("toolCards", true); + @Test public void shouldCreateChatWithOnPremiseToken_whenTenantAdmin() throws Exception { // GIVEN @@ -83,13 +87,13 @@ public class AiChatControllerOnPremiseTest extends AbstractOnPremiseAiController loginTenantAdmin(); givenSubscriptionProvidesAiToken(); UUID chatId = UUID.randomUUID(); - givenOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, null), success(JacksonUtil.newArrayNode())); + givenOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, TOOL_CARDS), success(JacksonUtil.newArrayNode())); // WHEN doGet("/api/ai/chats/" + chatId + "/messages").andExpect(status().isOk()); // THEN - TbAiTurnContext context = verifyOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, null)); + TbAiTurnContext context = verifyOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, TOOL_CARDS)); assertTokenProviderBelongsToTenantAdmin(context.tokenProvider()); } @@ -117,7 +121,7 @@ public class AiChatControllerOnPremiseTest extends AbstractOnPremiseAiController UUID chatId = UUID.randomUUID(); ObjectNode requestBody = sendMessageBody("What is the device status?", null); String acceptLanguage = "es-ES"; - given(tbAiTransport.sendChatMessage(eq(chatId), eq(requestBody), any(TbAiTurnContext.class))) + given(tbAiTransport.sendChatMessage(eq(chatId), eq(requestBody), any(TbAiTurnContext.class), any(TbAiTurnLink.class))) .willReturn(Flux.just(ServerSentEvent.builder().event("message").data("Checking device status...").build())); // WHEN @@ -128,7 +132,7 @@ public class AiChatControllerOnPremiseTest extends AbstractOnPremiseAiController // THEN ArgumentCaptor context = ArgumentCaptor.forClass(TbAiTurnContext.class); - verify(tbAiTransport).sendChatMessage(eq(chatId), eq(requestBody), context.capture()); + verify(tbAiTransport).sendChatMessage(eq(chatId), eq(requestBody), context.capture(), any(TbAiTurnLink.class)); assertThat(context.getValue().tbAccessToken()).isEqualTo("Bearer " + token); assertThat(context.getValue().acceptLanguage()).isEqualTo(acceptLanguage); assertTokenProviderBelongsToTenantAdmin(context.getValue().tokenProvider()); diff --git a/application/src/test/java/org/thingsboard/server/controller/AiChatControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiChatControllerTest.java index 52de635b06..5af2769ff6 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiChatControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiChatControllerTest.java @@ -3,6 +3,7 @@ package org.thingsboard.server.controller; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; +import org.thingsboard.server.service.ai.transport.TbAiTurnLink; import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.ai.common.channel.ChatOperationRequest; import com.fasterxml.jackson.databind.JsonNode; @@ -40,6 +41,8 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @DaoSqlTest public class AiChatControllerTest extends AbstractAiControllerTest { + private static final JsonNode TOOL_CARDS = JacksonUtil.newObjectNode().put("toolCards", true); + @MockitoBean private TbApiUsageReportClient apiUsageReportClient; @@ -103,14 +106,14 @@ public class AiChatControllerTest extends AbstractAiControllerTest { loginTenantAdmin(); UUID chatId = UUID.randomUUID(); ArrayNode messages = chatMessages(); - givenOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, null), success(messages)); + givenOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, TOOL_CARDS), success(messages)); // WHEN JsonNode result = doGet("/api/ai/chats/" + chatId + "/messages", JsonNode.class); // THEN assertThat(result).isEqualTo(messages); - verifyOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, null)); + verifyOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, TOOL_CARDS)); } @Test @@ -138,7 +141,7 @@ public class AiChatControllerTest extends AbstractAiControllerTest { ServerSentEvent.builder().event("message").data("Creating a high-temperature alarm rule...").build(), ServerSentEvent.builder().event("creditsUsed").data("{\"creditsUsed\":5}").build() ); - given(tbAiTransport.sendChatMessage(eq(chatId), eq(requestBody), any(TbAiTurnContext.class))).willReturn(upstream); + given(tbAiTransport.sendChatMessage(eq(chatId), eq(requestBody), any(TbAiTurnContext.class), any(TbAiTurnLink.class))).willReturn(upstream); // WHEN MvcResult asyncStart = mockMvc.perform(sendMessageRequest(chatId, requestBody, acceptLanguage)) @@ -156,12 +159,39 @@ public class AiChatControllerTest extends AbstractAiControllerTest { verify(apiUsageReportClient).report(any(), any(), eq(ApiUsageRecordKey.AI_CREDITS_COUNT), eq(5L)); ArgumentCaptor context = ArgumentCaptor.forClass(TbAiTurnContext.class); - verify(tbAiTransport).sendChatMessage(eq(chatId), eq(requestBody), context.capture()); + verify(tbAiTransport).sendChatMessage(eq(chatId), eq(requestBody), context.capture(), any(TbAiTurnLink.class)); assertThat(context.getValue().tbAccessToken()).isEqualTo("Bearer " + token); assertThat(context.getValue().acceptLanguage()).isEqualTo(acceptLanguage); assertTokenProviderBelongsToTenantAdmin(context.getValue().tokenProvider()); } + @Test + public void shouldStreamTheResumedTurnWithoutCheckingCredits_whenResumeChat() throws Exception { + // GIVEN — the browser reloaded while the assistant was still working, and AI credits ran out meanwhile + loginTenantAdmin(); + UUID chatId = UUID.randomUUID(); + givenAiCreditsExhausted(); + Flux> upstream = Flux.just( + ServerSentEvent.builder().event("turnResumed").data("{}").build(), + ServerSentEvent.builder().event("assistantMessage").data("{\"message\":\"Done.\"}").build() + ); + given(tbAiTransport.resumeChat(eq(chatId), any(TbAiTurnContext.class), any(TbAiTurnLink.class))).willReturn(upstream); + + // WHEN + MvcResult asyncStart = mockMvc.perform(resumeRequest(chatId)) + .andExpect(request().asyncStarted()) + .andReturn(); + String body = mockMvc.perform(asyncDispatch(asyncStart)) + .andExpect(status().isOk()) + .andReturn().getResponse().getContentAsString(); + + // THEN + assertThat(body).contains("event:turnResumed", "Done."); + ArgumentCaptor context = ArgumentCaptor.forClass(TbAiTurnContext.class); + verify(tbAiTransport).resumeChat(eq(chatId), context.capture(), any(TbAiTurnLink.class)); + assertThat(context.getValue().tbAccessToken()).isEqualTo("Bearer " + token); + } + // ------------------------------------------------------------------------ // AI credit-check semantics // ------------------------------------------------------------------------ @@ -224,7 +254,7 @@ public class AiChatControllerTest extends AbstractAiControllerTest { loginTenantAdmin(); UUID chatId = UUID.randomUUID(); String error = "Chat service unavailable"; - givenOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, null), failure(error)); + givenOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, TOOL_CARDS), failure(error)); // WHEN doGet("/api/ai/chats/" + chatId + "/messages") @@ -232,7 +262,7 @@ public class AiChatControllerTest extends AbstractAiControllerTest { .andExpect(statusReason(equalTo(error))); // THEN - verifyOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, null)); + verifyOperation(ChannelProtocol.CHAT_MESSAGES, new ChatOperationRequest(chatId, TOOL_CARDS)); } // ------------------------------------------------------------------------ diff --git a/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java index f1bc2bf74c..e64ec390f0 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java @@ -33,18 +33,21 @@ import org.thingsboard.server.service.ai.transport.TbAiChannelRejectedException; import org.thingsboard.server.service.ai.transport.TbAiChannelUnavailableException; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; +import org.thingsboard.server.service.ai.transport.TbAiTurnLink; import org.thingsboard.server.service.apiusage.TbApiUsageStateService; import org.thingsboard.server.service.security.model.SecurityUser; import reactor.core.Disposable; import reactor.core.publisher.Flux; import reactor.core.publisher.Sinks; +import java.time.Duration; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.UUID; import java.util.concurrent.TimeoutException; +import java.util.concurrent.atomic.AtomicBoolean; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.catchThrowable; @@ -493,6 +496,54 @@ class DefaultTbAiServiceTest { new TbAiSettings(enabled, sseInactivityTimeoutSeconds, sseLogMaxDataLength), operations); } + @Test + void shouldTellTheTurnTheBrowserLeft_andStillReportCredits_whenClientCancelsMidStream() { + // GIVEN + given(apiUsageStateService.getApiUsageState(tenantId)).willReturn(enabledApiUsageState()); + upstream = Sinks.many().unicast().onBackpressureBuffer(); + AtomicBoolean left = new AtomicBoolean(); + TbAiTurnLink link = new TbAiTurnLink(); + link.onClientLeft(() -> left.set(true)); + Disposable client = service.processStream(chatId, tokenProvider -> upstream.asFlux(), user, link, true).subscribe(); + upstream.tryEmitNext(assistantMessage("hello")); + + // WHEN + client.dispose(); + upstream.tryEmitNext(creditsUsedEvent(150)); + upstream.tryEmitComplete(); + + // THEN + assertThat(left).isTrue(); + then(apiUsageReportClient).should().report(tenantId, customerId, ApiUsageRecordKey.AI_CREDITS_COUNT, 150L); + } + + @Test + void shouldNotTellTheTurnTheBrowserLeft_whenTheStreamEnds() { + // GIVEN + given(apiUsageStateService.getApiUsageState(tenantId)).willReturn(enabledApiUsageState()); + AtomicBoolean left = new AtomicBoolean(); + TbAiTurnLink link = new TbAiTurnLink(); + link.onClientLeft(() -> left.set(true)); + + // WHEN + service.processStream(chatId, tokenProvider -> Flux.just(assistantMessage("hello")), user, link, true) + .collectList().block(Duration.ofSeconds(5)); + + // THEN + assertThat(left).isFalse(); + } + + @Test + void shouldFollowTheTurnWithoutLookingAtCredits_whenCreditsAreNotChecked() { + // WHEN + List> events = service.processStream(chatId, tokenProvider -> Flux.just(assistantMessage("hello")), user, + new TbAiTurnLink(), false).collectList().block(Duration.ofSeconds(5)); + + // THEN + assertThat(events).extracting(ServerSentEvent::event).containsExactly("assistantMessage"); + then(apiUsageStateService).shouldHaveNoInteractions(); + } + private SecurityUser newUser(TenantId tenant) { SecurityUser u = new SecurityUser(); u.setId(userId); diff --git a/application/src/test/java/org/thingsboard/server/service/ai/chat/DefaultAiChatServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/chat/DefaultAiChatServiceTest.java index 5f3dcc12cf..a5606a95bf 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/chat/DefaultAiChatServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/chat/DefaultAiChatServiceTest.java @@ -20,6 +20,7 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.service.ai.TbAiService; import org.thingsboard.server.service.ai.transport.TbAiTransport; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; +import org.thingsboard.server.service.ai.transport.TbAiTurnLink; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.security.model.SecurityUser; @@ -133,7 +134,8 @@ class DefaultAiChatServiceTest { assertThat(captureProcessCall().apply(tokenProvider)).isSameAs(tbAiResponse); then(operations).should().execute(argThat(operation -> ChannelProtocol.CHAT_MESSAGES.equals(operation.type()) - && Objects.equals(new ChatOperationRequest(chatId, null), operation.payload())), same(user), same(tokenProvider)); + && Objects.equals(new ChatOperationRequest(chatId, JacksonUtil.newObjectNode().put("toolCards", true)), operation.payload())), + same(user), same(tokenProvider)); then(tbAiService).shouldHaveNoMoreInteractions(); } @@ -164,10 +166,10 @@ class DefaultAiChatServiceTest { .event("assistantMessage") .data("{\"message\":\"ok\"}") .build()); - given(tbAiService.processStream(eq(chatId), any(), same(user))).willReturn(expectedStream); + given(tbAiService.processStream(eq(chatId), any(), same(user), any(TbAiTurnLink.class), eq(true))).willReturn(expectedStream); var clientOrigin = "https://tb.example.com"; var expectedContext = new TbAiTurnContext(user, tbAccessToken, acceptLanguage, tokenProvider, clientOrigin); - given(tbAiTransport.sendChatMessage(eq(chatId), same(request), eq(expectedContext))).willReturn(expectedStream); + given(tbAiTransport.sendChatMessage(eq(chatId), same(request), eq(expectedContext), any(TbAiTurnLink.class))).willReturn(expectedStream); // WHEN Flux> result = service.sendChatMessage(chatId, request, tbAccessToken, acceptLanguage, clientOrigin, user); @@ -175,8 +177,35 @@ class DefaultAiChatServiceTest { // THEN assertThat(result).isSameAs(expectedStream); - assertThat(captureProcessStreamCall(chatId).apply(tokenProvider)).isSameAs(expectedStream); - then(tbAiTransport).should().sendChatMessage(eq(chatId), same(request), eq(expectedContext)); + ProcessStreamCall call = captureProcessStreamCall(chatId, true); + assertThat(call.action().apply(tokenProvider)).isSameAs(expectedStream); + then(tbAiTransport).should().sendChatMessage(eq(chatId), same(request), eq(expectedContext), same(call.link())); + then(tbAiTransport).shouldHaveNoMoreInteractions(); + then(tbAiService).shouldHaveNoMoreInteractions(); + } + + @Test + void shouldFollowTheRunningTurnWithoutCreditCheck_whenResumeChatCalled() { + // GIVEN + UUID chatId = UUID.randomUUID(); + Flux> expectedStream = Flux.just(ServerSentEvent.builder() + .event("turnResumed") + .data("{}") + .build()); + given(tbAiService.processStream(eq(chatId), any(), same(user), any(TbAiTurnLink.class), eq(false))).willReturn(expectedStream); + var clientOrigin = "https://tb.example.com"; + var expectedContext = new TbAiTurnContext(user, "tb-access-token", "en-US", tokenProvider, clientOrigin); + given(tbAiTransport.resumeChat(eq(chatId), eq(expectedContext), any(TbAiTurnLink.class))).willReturn(expectedStream); + + // WHEN + Flux> result = service.resumeChat(chatId, "tb-access-token", "en-US", clientOrigin, user); + + // THEN + assertThat(result).isSameAs(expectedStream); + + ProcessStreamCall call = captureProcessStreamCall(chatId, false); + assertThat(call.action().apply(tokenProvider)).isSameAs(expectedStream); + then(tbAiTransport).should().resumeChat(eq(chatId), eq(expectedContext), same(call.link())); then(tbAiTransport).shouldHaveNoMoreInteractions(); then(tbAiService).shouldHaveNoMoreInteractions(); } @@ -188,11 +217,14 @@ class DefaultAiChatServiceTest { return callCaptor.getValue(); } + private record ProcessStreamCall(TbAiService.TbAiCall>> action, TbAiTurnLink link) {} + @SuppressWarnings({"rawtypes", "unchecked"}) - private TbAiService.TbAiCall>> captureProcessStreamCall(UUID chatId) { + private ProcessStreamCall captureProcessStreamCall(UUID chatId, boolean checkCredits) { ArgumentCaptor callCaptor = ArgumentCaptor.forClass(TbAiService.TbAiCall.class); - then(tbAiService).should().processStream(eq(chatId), callCaptor.capture(), same(user)); - return callCaptor.getValue(); + ArgumentCaptor linkCaptor = ArgumentCaptor.forClass(TbAiTurnLink.class); + then(tbAiService).should().processStream(eq(chatId), callCaptor.capture(), same(user), linkCaptor.capture(), eq(checkCredits)); + return new ProcessStreamCall(callCaptor.getValue(), linkCaptor.getValue()); } private static ObjectNode createChatRequest(String title) { diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java index 8a2c16db71..3f4c906824 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java @@ -118,7 +118,7 @@ class ChannelTbAiTransportTest { AtomicBoolean heartbeat = new AtomicBoolean(); // WHEN - Disposable subscription = transport.sendChatMessage(UUID.randomUUID(), request, context).subscribe(event -> heartbeat.set(true)); + Disposable subscription = transport.sendChatMessage(UUID.randomUUID(), request, context, null).subscribe(event -> heartbeat.set(true)); await().atMost(Duration.ofSeconds(5)).untilTrue(heartbeat); subscription.dispose(); @@ -129,6 +129,97 @@ class ChannelTbAiTransportTest { assertThat(server.openConnections.get()).isEqualTo(1); } + @Test + void shouldDetachButKeepListening_whenBrowserLeavesAndServerCanResumeTurns() { + // GIVEN + server = FakeTbAiServer.start(List.of(ChannelProtocol.TURN_RESUME_CAPABILITY), (connection, frame) -> { + if (ChannelProtocol.CHAT_SEND.equals(frame.type())) { + connection.sendFor(frame, ChannelProtocol.CHAT_EVENT, new ChatEventPayload("heartbeat", null)); + } + }); + pool = pool(); + var transport = new ChannelTbAiTransport(pool, requestExecutor); + var link = new TbAiTurnLink(); + AtomicBoolean heartbeat = new AtomicBoolean(); + transport.sendChatMessage(UUID.randomUUID(), request, context, link).subscribe(event -> heartbeat.set(true)); + await().atMost(Duration.ofSeconds(5)).untilTrue(heartbeat); + + // WHEN + link.clientLeft(); + + // THEN + await().atMost(Duration.ofSeconds(5)).until(() -> !server.received(ChannelProtocol.CHAT_DETACH).isEmpty()); + assertThat(server.received(ChannelProtocol.CHAT_DETACH).getFirst().op()) + .isEqualTo(server.received(ChannelProtocol.CHAT_SEND).getFirst().id()); + assertThat(server.received(ChannelProtocol.CANCEL)).isEmpty(); + } + + @Test + void shouldNotSendDetach_whenServerCannotResumeTurns() { + // GIVEN + server = FakeTbAiServer.start((connection, frame) -> { + if (ChannelProtocol.CHAT_SEND.equals(frame.type())) { + connection.sendFor(frame, ChannelProtocol.CHAT_EVENT, new ChatEventPayload("heartbeat", null)); + } + }); + pool = pool(); + var transport = new ChannelTbAiTransport(pool, requestExecutor); + var link = new TbAiTurnLink(); + AtomicBoolean heartbeat = new AtomicBoolean(); + transport.sendChatMessage(UUID.randomUUID(), request, context, link).subscribe(event -> heartbeat.set(true)); + await().atMost(Duration.ofSeconds(5)).untilTrue(heartbeat); + + // WHEN + link.clientLeft(); + transport.sendChatMessage(UUID.randomUUID(), request, context, null).subscribe(); + + // THEN + await().atMost(Duration.ofSeconds(5)).until(() -> server.received(ChannelProtocol.CHAT_SEND).size() == 2); + assertThat(server.received(ChannelProtocol.CHAT_DETACH)).isEmpty(); + assertThat(server.openConnections.get()).isEqualTo(1); + } + + @Test + void shouldRelayTheResumedTurn_whenServerCanResumeTurns() { + // GIVEN + UUID chatId = UUID.randomUUID(); + server = FakeTbAiServer.start(List.of(ChannelProtocol.TURN_RESUME_CAPABILITY), (connection, frame) -> { + if (ChannelProtocol.CHAT_RESUME.equals(frame.type())) { + connection.sendFor(frame, ChannelProtocol.CHAT_EVENT, new ChatEventPayload("turnResumed", JacksonUtil.newObjectNode())); + connection.sendFor(frame, ChannelProtocol.CHAT_EVENT, new ChatEventPayload("assistantMessage", + JacksonUtil.newObjectNode().put("message", "Done."))); + connection.sendFor(frame, ChannelProtocol.TURN_END, new TurnEnd(TurnEnd.Status.COMPLETED)); + } + }); + pool = pool(); + + // WHEN + List> events = new ChannelTbAiTransport(pool, requestExecutor) + .resumeChat(chatId, context, new TbAiTurnLink()) + .collectList().block(Duration.ofSeconds(10)); + + // THEN + assertThat(events).extracting(ServerSentEvent::event).containsExactly("turnResumed", "assistantMessage"); + ChatTurnRequest resume = server.codec.fromPayload(server.received(ChannelProtocol.CHAT_RESUME).getFirst().payload(), ChatTurnRequest.class); + assertThat(resume).isEqualTo(new ChatTurnRequest(chatId, null, context.acceptLanguage())); + } + + @Test + void shouldEndAtOnceWithoutAsking_whenServerCannotResumeTurns() { + // GIVEN + server = FakeTbAiServer.start((connection, frame) -> {}); + pool = pool(); + + // WHEN + List> events = new ChannelTbAiTransport(pool, requestExecutor) + .resumeChat(UUID.randomUUID(), context, new TbAiTurnLink()) + .collectList().block(Duration.ofSeconds(10)); + + // THEN + assertThat(events).isEmpty(); + assertThat(server.received(ChannelProtocol.CHAT_RESUME)).isEmpty(); + } + @Test void shouldSignalChannelUnavailable_whenServerHasNoChannelEndpoint() { // GIVEN @@ -159,7 +250,7 @@ class ChannelTbAiTransportTest { TbAiTurnContext turnContext = new TbAiTurnContext(context.tenantId(), context.userId(), context.user(), "Bearer user-jwt", "de-DE", context.tokenProvider(), "https://tb.example.com"); return new ChannelTbAiTransport(pool, requestExecutor) - .sendChatMessage(UUID.randomUUID(), request, turnContext) + .sendChatMessage(UUID.randomUUID(), request, turnContext, null) .collectList() .block(Duration.ofSeconds(10)); } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java index 3a7224e30d..b843494a48 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java @@ -38,7 +38,7 @@ class FakeTbAiServer implements AutoCloseable { final AtomicInteger openConnections = new AtomicInteger(); private final DisposableServer server; - private FakeTbAiServer(Script script) { + private FakeTbAiServer(List capabilities, Script script) { server = HttpServer.create().host("127.0.0.1").port(0) .route(routes -> routes.ws(ChannelProtocol.WS_PATH, (inbound, outbound) -> { connections.incrementAndGet(); @@ -49,7 +49,7 @@ class FakeTbAiServer implements AutoCloseable { received.add(frame); if (ChannelProtocol.HELLO.equals(frame.type())) { connection.send(ChannelFrame.of(ChannelProtocol.HELLO, codec.toPayload( - new ChannelHello(1, null, null, (long) TbAiChannelClient.DEFAULT_MAX_FRAME_BYTES)))); + new ChannelHello(1, capabilities, null, (long) TbAiChannelClient.DEFAULT_MAX_FRAME_BYTES)))); } else { script.onFrame(connection, frame); } @@ -63,7 +63,11 @@ class FakeTbAiServer implements AutoCloseable { } static FakeTbAiServer start(Script script) { - return new FakeTbAiServer(script); + return new FakeTbAiServer(null, script); + } + + static FakeTbAiServer start(List capabilities, Script script) { + return new FakeTbAiServer(capabilities, script); } static FakeTbAiServer rejecting(int status) { diff --git a/ui-ngx/src/app/core/http/ai-chat.service.ts b/ui-ngx/src/app/core/http/ai-chat.service.ts index 1fa17f17f0..76b343c072 100644 --- a/ui-ngx/src/app/core/http/ai-chat.service.ts +++ b/ui-ngx/src/app/core/http/ai-chat.service.ts @@ -54,9 +54,21 @@ export class AiChatService { } public sendChatMessage(chatId: string, request: SendChatMessageRequest, config?: RequestConfig): Observable { + return this.streamEvents(`/api/ai/chats/${chatId}/messages`, request, config); + } + + /** + * Follows the reply still running in the chat: a 'turnResumed' event, every event of the reply so far, then the + * live ones. Completes with no events when nothing is running. + */ + public resumeChat(chatId: string, config?: RequestConfig): Observable { + return this.streamEvents(`/api/ai/chats/${chatId}/resume`, null, config); + } + + private streamEvents(url: string, body: any, config?: RequestConfig): Observable { let lastLength = 0; let buffer = ''; - return this.http.post(`/api/ai/chats/${chatId}/messages`, request, { + return this.http.post(url, body, { ...defaultHttpOptions(config?.ignoreLoading, config?.ignoreErrors), observe: 'events', reportProgress: true, diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts index 806f8bc4b8..c43a019591 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts @@ -10,11 +10,13 @@ import { OnInit, SecurityContext, signal, + untracked, ViewChild } from '@angular/core'; -import { ChatMessage } from '@shared/models/solution-creator.models'; -import { Observable, of, Subject } from 'rxjs'; -import { concatMap, finalize, switchMap, takeUntil, tap } from 'rxjs/operators'; +import { ApprovalChatMessage, ChatMessage } from '@shared/models/solution-creator.models'; +import { Observable, of, Subject, throwError, timer } from 'rxjs'; +import { concatMap, finalize, retry, switchMap, takeUntil, tap } from 'rxjs/operators'; +import { HttpErrorResponse } from '@angular/common/http'; import { AiChatService } from '@core/http/ai-chat.service'; import { AiAssistantPromptExample, @@ -145,11 +147,20 @@ export class AiAssistantPanelComponent implements OnInit { private cancelMessage$ = new Subject(); private sessionAffectedEntities: EntityId[] = []; private messageCancelled = false; + private resumeOnOpen = false; + + private static readonly RESUME_ATTEMPTS = 4; + private static readonly RESUME_DELAY_MS = 2000; private openEffect = effect(() => { if (this.panelService.open()) { this.dropChatFromOtherContext(); this.loadChats(); + const chatId = untracked(() => this.chatId()); + if (this.resumeOnOpen && chatId) { + this.resumeOnOpen = false; + this.loadChat$.next(chatId); + } } else { this.slideDone.set(false); this.suspendOnClose(); @@ -177,7 +188,8 @@ export class AiAssistantPanelComponent implements OnInit { }), takeUntilDestroyed(this.destroyRef) ).subscribe(messages => { - this.messages.set(messages); + this.showHistory(messages); + this.resumeTurn(this.chatId()); }); } @@ -224,10 +236,16 @@ export class AiAssistantPanelComponent implements OnInit { } sendMsgFromUser(msg: string): void { - this.messages.update(list => [...list, {from: 'USER', content: msg}]); + const userMessage: ChatMessage = {from: 'USER', content: msg}; + this.messages.update(list => [...list, userMessage]); this.sendMessage(msg).subscribe({ error: (err) => { - this.messages.update(list => list.slice(0, -1)); + if (this.isConnectionLost(err) && this.chatId()) { + this.showErrorToast(this.translate.instant('ai-assistant.connection-lost')); + this.resumeTurn(this.chatId(), true); + return; + } + this.messages.update(list => list.filter(message => message !== userMessage)); setTimeout(() => { this.showErrorMessage(err); }, 0); @@ -254,13 +272,11 @@ export class AiAssistantPanelComponent implements OnInit { this.promptInput?.reset(); } - // Keeps the open chat so reopening shows it right away, unless an interrupted reply left it stale. + // Keeps the open chat so reopening shows it right away. A reply interrupted by closing keeps running on the + // server, so reopening reloads the chat and follows that reply. private suspendOnClose(): void { - if (this.loading()) { - this.reset(); - } else { - this.cancelActiveMessage(); - } + this.resumeOnOpen = this.loading(); + this.cancelActiveMessage(); } private dropChatFromOtherContext(): void { @@ -379,6 +395,90 @@ export class AiAssistantPanelComponent implements OnInit { return (!chatId || !isEqual(currentContext, alreadySent)) ? currentContext : undefined; } + private showHistory(messages: ChatMessage[]): void { + const completed: Record = {}; + for (const message of messages) { + if (message.from === 'APPROVAL' && (message as ApprovalChatMessage).result) { + const result = (message as ApprovalChatMessage).result; + completed[result.executionId] = result; + } + } + this.completedExecutions.set(completed); + this.messages.set(messages); + } + + // Follows the reply still running in the chat, if any: after a reload, a reopened panel or a lost connection. + // The server replays the whole reply, so what the history already shows of it is dropped first. + private resumeTurn(chatId: string, afterConnectionLoss = false): void { + if (!chatId) { + return; + } + let resumed = false; + this.messageCancelled = false; + this.sessionAffectedEntities = []; + const attempt$ = timer(afterConnectionLoss ? AiAssistantPanelComponent.RESUME_DELAY_MS : 0).pipe( + tap(() => { + if (afterConnectionLoss) { + this.initLoadingState(); + } + }), + switchMap(() => this.aiChat.resumeChat(chatId, {ignoreLoading: true, ignoreErrors: true})) + ); + attempt$.pipe( + retry({ + count: afterConnectionLoss ? AiAssistantPanelComponent.RESUME_ATTEMPTS : 0, + delay: (error, attempt) => this.isConnectionLost(error) + ? timer(attempt * AiAssistantPanelComponent.RESUME_DELAY_MS) + : throwError(() => error) + }), + takeUntil(this.cancelMessage$), + concatMap(event => { + if (event.event === 'turnResumed') { + resumed = true; + this.initLoadingState(); + this.dropRunningReply(); + return of(event); + } + return this.handleChatEvent(event); + }), + finalize(() => { + if (resumed || afterConnectionLoss) { + this.stopLoadingState(); + } + }) + ).subscribe({ + error: () => { + if (afterConnectionLoss) { + this.showErrorToast(this.translate.instant('ai-assistant.reconnect-failed')); + } + }, + complete: () => { + if (this.messageCancelled || this.chatId() !== chatId) { + return; + } + if (this.sessionAffectedEntities.length) { + this.panelService.emitUpdatedData(this.sessionAffectedEntities); + } + if (resumed || afterConnectionLoss) { + this.aiChat.getChatMessages(chatId, {ignoreLoading: true, ignoreErrors: true}) + .pipe(takeUntil(this.cancelMessage$)) + .subscribe(messages => this.showHistory(messages)); + } + } + }); + } + + private dropRunningReply(): void { + this.messages.update(list => { + const lastUser = list.map(message => message.from).lastIndexOf('USER'); + return lastUser >= 0 ? list.slice(0, lastUser + 1) : list; + }); + } + + private isConnectionLost(error: any): boolean { + return error instanceof HttpErrorResponse && error.status === 0; + } + private handleChatEvent(chatMsg: ChatEvent): Observable { switch (chatMsg.event) { case 'assistantMessage': diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html index fdab2fc333..6aa2044848 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html @@ -18,6 +18,11 @@ [autoApprove]="autoApprove" (approvalAction)="approval($event)"> + } @else if (msg.status === 'INCOMPLETE') { +
    + warning_amber + {{ msg.content }} +
    } @else { } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.scss b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.scss index 098ee389ce..ca71bcf0e0 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.scss +++ b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.scss @@ -41,6 +41,22 @@ } } + .incomplete { + padding: 10px 14px; + border-radius: 12px; + line-height: 20px; + color: rgba(0, 0, 0, 0.76); + background: rgba(255, 152, 0, 0.08); + + .incomplete-icon { + flex: none; + color: #FF9800; + font-size: 20px; + width: 20px; + height: 20px; + } + } + .generating { transition: all 0.3s ease-in-out; diff --git a/ui-ngx/src/app/shared/models/ai-chat.models.ts b/ui-ngx/src/app/shared/models/ai-chat.models.ts index 30ba1fc60a..988f370fec 100644 --- a/ui-ngx/src/app/shared/models/ai-chat.models.ts +++ b/ui-ngx/src/app/shared/models/ai-chat.models.ts @@ -85,6 +85,11 @@ export interface ChatTitleGeneratedEvent extends BaseChatEvent { }; } +export interface TurnResumedEvent extends BaseChatEvent { + event: 'turnResumed'; + data: Record; +} + export interface ApprovalResult { executionId: string; approved: boolean; @@ -97,7 +102,8 @@ export enum ToolApprovalResult { TIMEOUT = 'TIMEOUT' } -export type ChatEvent = AssistantChatEvent | ToolExecutionRequestedEvent | ToolExecutionResultEvent | ErrorEvent | ChatTitleGeneratedEvent; +export type ChatEvent = AssistantChatEvent | ToolExecutionRequestedEvent | ToolExecutionResultEvent | ErrorEvent | ChatTitleGeneratedEvent + | TurnResumedEvent; export enum AiAssistantViewType { DASHBOARD = 'DASHBOARD', diff --git a/ui-ngx/src/app/shared/models/solution-creator.models.ts b/ui-ngx/src/app/shared/models/solution-creator.models.ts index b95dabb76b..f3a58718c8 100644 --- a/ui-ngx/src/app/shared/models/solution-creator.models.ts +++ b/ui-ngx/src/app/shared/models/solution-creator.models.ts @@ -7,7 +7,7 @@ import { EntityId } from '@shared/models/id/entity-id'; import { BaseData } from '@shared/models/base-data'; import { CalculatedFieldType } from '@shared/models/calculated-field.models'; import { AlarmSeverity } from '@shared/models/alarm.models'; -import { ToolExecutionRequested } from '@shared/models/ai-chat.models'; +import { ToolExecutionRequested, ToolExecutionResult } from '@shared/models/ai-chat.models'; export interface SolutionInfo { id: string; @@ -177,11 +177,13 @@ export type ChatMessage = GeneralChatMessage | ApprovalChatMessage; export interface GeneralChatMessage { from: 'USER' | 'AI' | 'SYSTEM' | 'GENERATE'; content: string; + status?: 'INCOMPLETE'; } export interface ApprovalChatMessage { from: 'APPROVAL'; data: ToolExecutionRequested; + result?: ToolExecutionResult; } export enum AiMetricType { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 9cb49bc927..0a52b2ebf5 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -712,6 +712,8 @@ "denied": "Denied", "error": "Failed", "thinking": "Thinking...", + "connection-lost": "Connection to the AI Assistant was lost. Reconnecting...", + "reconnect-failed": "Couldn't reconnect to the AI Assistant. Reopen the chat to see its reply.", "rename-chat-title": "Rename this chat", "export-chat": "Export chat", "main-title": "Hello! I'm your AI Assistant" From dc7d7c51a86c023e395b1c915d75f3f43833068b Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 12:48:57 +0200 Subject: [PATCH 296/559] Add pull request title guidelines to CONTRIBUTING.md --- CONTRIBUTING.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 52bba5966c..be90d4c4bc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -157,6 +157,25 @@ Open a pull request against `master`. Fill out the pull request template, and ma - The change builds cleanly: `mvn -pl -am -DskipTests -Dpkg.skip=true test-compile` at minimum for the modules you touched. - You have signed the Contributor License Agreement (see below). +### Pull request titles + +The release notes are generated from pull request titles, word for word. Write the title for the +people who read them — users and customers, not reviewers: + +- **Describe the change in behavior, as a user sees it.** Name the feature or screen and what now + works differently. Leave out class names, exceptions, library versions and other internals a + user can't relate to; they belong in the description. +- **Use the past tense, starting with a verb:** `Fixed`, `Added`, `Updated`, `Improved`, + `Removed`. Not `Fix`, `Add` or `Update`. +- **Leave out prefixes and suffixes** such as `fix(ui):`, ticket keys or branch names + (`(lts-4.3)`). + +| Instead of | Write | +|----------------------------------------------------------------|------------------------------------------------------------------------------------------------| +| `fix(ui): update moment-timezone to 0.6.5 (tzdata 2026e)` | `Updated UI time zone data to reflect 2026 daylight saving time changes in Canada, Morocco and Moldova` | +| `Warn that updating a solution template recreates everything it installed` | `Added a warning that updating a solution template recreates everything it installed` | +| `Fix empty Provisioning step in the device install wizard` | `Fixed empty Provisioning step in the device install wizard` | + ## Contributor License Agreement Before we can merge your pull request, you need to sign the ThingsBoard From d1cbfff0904680fc7f3e78824ed0dccdfc930372 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Mon, 26 Oct 2026 12:58:26 +0200 Subject: [PATCH 297/559] Fix flag-icons 7.6 build: configure sass variables via @use with --- ui-ngx/src/scss/flags.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/scss/flags.scss b/ui-ngx/src/scss/flags.scss index 9cd9194e75..8b6edd26a7 100644 --- a/ui-ngx/src/scss/flags.scss +++ b/ui-ngx/src/scss/flags.scss @@ -1,8 +1,8 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 -@import 'flag-icons/sass/_variables'; -$flag-icons-path: '/assets/flags'; -$flag-icons-rect-path: ''; -$flag-icons-use-square: false; -@import 'flag-icons/sass/_flag-icons-base'; -@import 'flag-icons/sass/_flag-icons-list'; +@use 'flag-icons/sass/variables' with ( + $flag-icons-path: '/assets/flags', + $flag-icons-rect-path: '', + $flag-icons-use-square: false +); +@use 'flag-icons/sass/flag-icons-list'; From f6ec23243b682c6ef0cabe6a7e78f548d13f105d Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Mon, 26 Oct 2026 13:01:28 +0200 Subject: [PATCH 298/559] Clarify pull request title guidelines: labels, area prefixes, verb examples --- CONTRIBUTING.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index be90d4c4bc..cc17339e74 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -165,16 +165,22 @@ people who read them — users and customers, not reviewers: - **Describe the change in behavior, as a user sees it.** Name the feature or screen and what now works differently. Leave out class names, exceptions, library versions and other internals a user can't relate to; they belong in the description. -- **Use the past tense, starting with a verb:** `Fixed`, `Added`, `Updated`, `Improved`, - `Removed`. Not `Fix`, `Add` or `Update`. -- **Leave out prefixes and suffixes** such as `fix(ui):`, ticket keys or branch names - (`(lts-4.3)`). +- **Use the past tense, starting with a verb** such as `Fixed`, `Added`, `Updated`, `Improved`, + `Removed`, `Renamed` or `Made`. Not `Fix`, `Add` or `Update`. +- **Leave out code-scope prefixes and suffixes** such as `fix(ui):`, ticket keys or branch names + (`(lts-4.3)`). A product-area prefix a user recognizes is fine, followed by the verb: + `IoT Hub: added filtering of the catalogue by the creator's verification status`. + +The section an entry appears under (`UI`, `Bug: UI`, `Edge`, …) comes from the pull request's +labels, not its title, so don't repeat the area or the change type in the title. Changes users +don't see — CI, build, docs, refactoring, a second backport of the same fix — get the +`Ignore for release` label and stay out of the release notes. | Instead of | Write | |----------------------------------------------------------------|------------------------------------------------------------------------------------------------| | `fix(ui): update moment-timezone to 0.6.5 (tzdata 2026e)` | `Updated UI time zone data to reflect 2026 daylight saving time changes in Canada, Morocco and Moldova` | | `Warn that updating a solution template recreates everything it installed` | `Added a warning that updating a solution template recreates everything it installed` | -| `Fix empty Provisioning step in the device install wizard` | `Fixed empty Provisioning step in the device install wizard` | +| `Fix empty Provisioning step when navigating the device install wizard via the stepper header` | `Fixed empty Provisioning step when navigating the device install wizard via the stepper header` | ## Contributor License Agreement From 3a1ca8d57ef1fd911f9308ef6beb134fbd639fc3 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Mon, 26 Oct 2026 13:04:43 +0200 Subject: [PATCH 299/559] Leave the release-notes decision for docs and refactoring to the contributor --- CONTRIBUTING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cc17339e74..9054be4e7b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -173,8 +173,9 @@ people who read them — users and customers, not reviewers: The section an entry appears under (`UI`, `Bug: UI`, `Edge`, …) comes from the pull request's labels, not its title, so don't repeat the area or the change type in the title. Changes users -don't see — CI, build, docs, refactoring, a second backport of the same fix — get the -`Ignore for release` label and stay out of the release notes. +don't see — CI, build, a second backport of the same fix — get the `Ignore for release` label +and stay out of the release notes. For anything else, such as docs or refactoring, decide +whether users would want to read about it in the release notes, and add the label if not. | Instead of | Write | |----------------------------------------------------------------|------------------------------------------------------------------------------------------------| From 98c3aad861afaf466002e46d6a89d03c70b9c97e Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 26 Oct 2026 13:00:55 +0100 Subject: [PATCH 300/559] Set edge's tenantId on user save --- .../rpc/processor/user/BaseUserProcessor.java | 13 +++- .../thingsboard/server/edge/UserEdgeTest.java | 74 +++++++++++++++++++ 2 files changed, 85 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java index 5efc3eed3c..8d746cb6c1 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java @@ -14,8 +14,10 @@ import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.common.data.msg.TbMsgType; import org.thingsboard.server.common.data.security.UserCredentials; +import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.msg.TbMsgMetaData; import org.thingsboard.server.dao.service.DataValidator; +import org.thingsboard.server.exception.DataValidationException; import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; @@ -35,8 +37,15 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { if (user == null) { throw new IllegalArgumentException(String.format("[%s] Failed to parse User from UserUpdateMsg: %s", tenantId, userUpdateMsg)); } + if (user.getAuthority() != Authority.TENANT_ADMIN && user.getAuthority() != Authority.CUSTOMER_USER) { + throw new DataValidationException("User authority " + user.getAuthority() + " is not allowed!"); + } + user.setTenantId(tenantId); User userById = edgeCtx.getUserService().findUserById(tenantId, userId); + if (userById != null && !tenantId.equals(userById.getTenantId())) { + throw new DataValidationException("User " + userId + " belongs to a different tenant!"); + } if (userById == null) { isCreated = true; user.setId(null); @@ -95,7 +104,7 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { private User deleteUser(TenantId tenantId, UserId userId) { User userById = edgeCtx.getUserService().findUserById(tenantId, userId); - if (userById == null) { + if (userById == null || !tenantId.equals(userById.getTenantId())) { log.trace("[{}] User with id {} does not exist", tenantId, userId); return null; } @@ -109,7 +118,7 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { throw new IllegalArgumentException(String.format("[%s] Failed to parse UserCredentials from updateMsg: %s", tenantId, updateMsg)); } User user = edgeCtx.getUserService().findUserById(tenantId, userCredentials.getUserId()); - if (user == null) { + if (user == null || !tenantId.equals(user.getTenantId())) { log.warn("[{}] Can't find user by id [{}] skipping credentials update. UserCredentialsUpdateMsg [{}]", tenantId, userCredentials.getUserId(), updateMsg); return; diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index 38714c688d..38e90670ac 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -15,11 +15,13 @@ import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.User; import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.id.CustomerId; +import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserCredentialsId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.data.security.UserCredentials; import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.dao.user.UserService; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; @@ -41,6 +43,9 @@ public class UserEdgeTest extends AbstractEdgeTest { @Autowired private BCryptPasswordEncoder passwordEncoder; + @Autowired + private UserService userService; + private static final String DEFAULT_FIRST_NAME = "Boris"; private static final String DEFAULT_LAST_NAME = "Johnson"; private static final String UPDATED_LAST_NAME = "Borisov"; @@ -275,6 +280,75 @@ public class UserEdgeTest extends AbstractEdgeTest { Assert.assertEquals(savedTenantAdmin.getUuidId().getLeastSignificantBits(), userUpdateMsg.getIdLSB()); } + @Test + public void testSendUserWithUnsupportedAuthorityFromEdgeToCloud() throws Exception { + UserId userId = new UserId(UUID.randomUUID()); + User sysAdmin = buildUser(Authority.SYS_ADMIN, null); + sysAdmin.setId(userId); + sysAdmin.setTenantId(TenantId.SYS_TENANT_ID); + UserCredentials userCredentials = buildCredentials(new UserCredentialsId(UUID.randomUUID()), userId, true); + userCredentials.setPassword(passwordEncoder.encode("password")); + + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserUpdateMsg(EdgeMsgConstructorUtils.constructUserUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, sysAdmin)) + .addUserCredentialsUpdateMsg(EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentials)) + .build()); + + Assert.assertNull(userService.findUserById(TenantId.SYS_TENANT_ID, userId)); + } + + @Test + public void testSendUserWithDifferentTenantIdFromEdgeToCloud() throws Exception { + UserId userId = new UserId(UUID.randomUUID()); + User tenantAdmin = buildUser(Authority.TENANT_ADMIN, null); + tenantAdmin.setId(userId); + tenantAdmin.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + UserCredentials userCredentials = buildCredentials(new UserCredentialsId(UUID.randomUUID()), userId, false); + + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserUpdateMsg(EdgeMsgConstructorUtils.constructUserUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, tenantAdmin)) + .addUserCredentialsUpdateMsg(EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentials)) + .build()); + + User userFromCloud = doGet("/api/user/" + userId, User.class); + Assert.assertEquals(tenantId, userFromCloud.getTenantId()); + } + + @Test + public void testSendUserMsgsForUserOfAnotherTenantFromEdgeToCloud() throws Exception { + User sysAdmin = userService.findUserByEmail(TenantId.SYS_TENANT_ID, SYS_ADMIN_EMAIL); + UserCredentials sysAdminCredentials = userService.findUserCredentialsByUserId(TenantId.SYS_TENANT_ID, sysAdmin.getId()); + + // update, credentials update and delete for a user outside of edge's tenant + User tenantAdmin = buildUser(Authority.TENANT_ADMIN, null); + tenantAdmin.setId(sysAdmin.getId()); + UserCredentials userCredentials = buildCredentials(new UserCredentialsId(UUID.randomUUID()), sysAdmin.getId(), true); + userCredentials.setPassword(passwordEncoder.encode("password")); + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserUpdateMsg(EdgeMsgConstructorUtils.constructUserUpdatedMsg(UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, tenantAdmin)) + .build()); + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserCredentialsUpdateMsg(EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentials)) + .build()); + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserUpdateMsg(EdgeMsgConstructorUtils.constructUserDeleteMsg(sysAdmin.getId())) + .build()); + + User sysAdminAfter = userService.findUserById(TenantId.SYS_TENANT_ID, sysAdmin.getId()); + Assert.assertNotNull(sysAdminAfter); + Assert.assertEquals(Authority.SYS_ADMIN, sysAdminAfter.getAuthority()); + Assert.assertEquals(TenantId.SYS_TENANT_ID, sysAdminAfter.getTenantId()); + UserCredentials sysAdminCredentialsAfter = userService.findUserCredentialsByUserId(TenantId.SYS_TENANT_ID, sysAdmin.getId()); + Assert.assertEquals(sysAdminCredentials.getId(), sysAdminCredentialsAfter.getId()); + Assert.assertEquals(sysAdminCredentials.getPassword(), sysAdminCredentialsAfter.getPassword()); + } + + private void sendUplinkMsg(UplinkMsg uplinkMsg) throws Exception { + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + } + private UplinkMsg buildUserUplinkMsg(UserId userId, CustomerId customerId, UserCredentialsId userCredentialsUuid) { User customerUser = buildUser(Authority.CUSTOMER_USER, customerId); customerUser.setId(userId); From 6859887a1b844f9351bb166cb57c6cb0d5219c8b Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:36:16 +0200 Subject: [PATCH 301/559] Tighten device claiming permission checks --- .../permission/CustomerUserPermissions.java | 7 ++- .../controller/DeviceControllerTest.java | 57 +++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index bf55bc66a1..d9ae780daa 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -8,6 +8,7 @@ import org.thingsboard.server.common.data.HasCustomerId; import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.TbResourceInfo; import org.thingsboard.server.common.data.User; +import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TbResourceId; @@ -68,7 +69,11 @@ public class CustomerUserPermissions extends AbstractPermissions { if (!(entity instanceof HasCustomerId)) { return false; } - return operation.equals(Operation.CLAIM_DEVICES) || user.getCustomerId().equals(((HasCustomerId) entity).getCustomerId()); + CustomerId customerId = ((HasCustomerId) entity).getCustomerId(); + if (operation.equals(Operation.CLAIM_DEVICES) && (customerId == null || customerId.isNullUid())) { + return true; + } + return user.getCustomerId().equals(customerId); } }; diff --git a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java index d0aa60e131..3edfaf36c3 100644 --- a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java @@ -25,6 +25,7 @@ import org.springframework.test.context.ContextConfiguration; import org.testcontainers.shaded.org.awaitility.Awaitility; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.ThingsBoardExecutors; +import org.thingsboard.server.common.data.ClaimRequest; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceInfo; @@ -1638,6 +1639,62 @@ public class DeviceControllerTest extends AbstractControllerTest { assertThat(device.getVersion()).isEqualTo(3); } + @Test + public void testReclaimDeviceByCustomerUser() throws Exception { + Device device = createCustomerDevice("Reclaim own device"); + + loginCustomerUser(); + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(NULL_UUID, foundDevice.getCustomerId().getId()); + } + + @Test + public void testReclaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + Device device = createCustomerDevice("Reclaim device of different customer"); + + loginDifferentCustomer(); + doDelete("/api/customer/device/" + device.getName() + "/claim") + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msgErrorPermission))); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(customerId, foundDevice.getCustomerId()); + } + + @Test + public void testClaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + Device device = createCustomerDevice("Claim device of different customer"); + + loginDifferentCustomer(); + doPost("/api/customer/device/" + device.getName() + "/claim", new ClaimRequest(null)) + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msgErrorPermission))); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(customerId, foundDevice.getCustomerId()); + } + + @Test + public void testReclaimDeviceByTenantAdmin() throws Exception { + Device device = createCustomerDevice("Reclaim device by tenant admin"); + + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(NULL_UUID, foundDevice.getCustomerId().getId()); + } + + private Device createCustomerDevice(String name) throws Exception { + loginTenantAdmin(); + Device device = createDevice(name); + return doPost("/api/customer/" + customerId.getId() + "/device/" + device.getUuidId(), Device.class); + } + private Device createDevice(String name) { Device device = new Device(); device.setName(name); From 9ad2af59997e8a4d77f9dec3fc69276b0810764d Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:36:16 +0200 Subject: [PATCH 302/559] Fix repeated login in different customer test helpers --- .../server/controller/AbstractWebTest.java | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java b/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java index a18297909e..8ed68d71c7 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java @@ -511,10 +511,12 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { } protected void loginDifferentCustomer() throws Exception { - if (savedDifferentCustomer != null) { - login(savedDifferentCustomer.getEmail(), CUSTOMER_USER_PASSWORD); + if (differentCustomerUser != null) { + login(DIFFERENT_CUSTOMER_USER_EMAIL, DIFFERENT_CUSTOMER_USER_PASSWORD); } else { - createDifferentCustomer(); + if (savedDifferentCustomer == null) { + createDifferentCustomer(); + } loginTenantAdmin(); differentCustomerUser = new User(); @@ -529,10 +531,12 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { } protected void loginDifferentTenantCustomer() throws Exception { - if (savedDifferentTenantCustomer != null) { - login(savedDifferentTenantCustomer.getEmail(), CUSTOMER_USER_PASSWORD); + if (differentTenantCustomerUser != null) { + login(DIFFERENT_TENANT_CUSTOMER_USER_EMAIL, DIFFERENT_CUSTOMER_USER_PASSWORD); } else { - createDifferentTenantCustomer(); + if (savedDifferentTenantCustomer == null) { + createDifferentTenantCustomer(); + } loginDifferentTenant(); differentTenantCustomerUser = new User(); @@ -575,6 +579,8 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { loginSysAdmin(); deleteTenant(savedDifferentTenant.getId()); savedDifferentTenant = null; + savedDifferentTenantCustomer = null; + differentTenantCustomerUser = null; } } From f8316b9fcb9972edd48b741921f0eec488ebde23 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:36:16 +0200 Subject: [PATCH 303/559] Tighten device claiming permission checks --- .../permission/CustomerUserPermissions.java | 2 +- .../controller/DeviceControllerTest.java | 96 +++++++++++++++++++ 2 files changed, 97 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index 2eab59f385..ce173a460b 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -227,7 +227,7 @@ public class CustomerUserPermissions extends AbstractPermissions { } } } else { - if (operation == Operation.CLAIM_DEVICES) { + if (operation == Operation.CLAIM_DEVICES && user.getTenantId().equals(((HasOwnerId) entity).getOwnerId())) { return user.getUserPermissions().hasGenericPermission(resource, operation); } if (entity.getEntityType() == EntityType.CUSTOMER && user.getCustomerId().equals(entityId) || diff --git a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java index 3ddf6b3223..aea1317fd1 100644 --- a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java @@ -27,6 +27,7 @@ import org.testcontainers.shaded.org.awaitility.Awaitility; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.ThingsBoardExecutors; import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.ClaimRequest; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceProfile; @@ -60,6 +61,8 @@ import org.thingsboard.server.common.data.sync.ie.importing.csv.BulkImportColumn import org.thingsboard.server.common.data.sync.ie.importing.csv.BulkImportRequest; import org.thingsboard.server.common.data.sync.ie.importing.csv.BulkImportResult; import org.thingsboard.server.dao.device.DeviceDao; +import org.thingsboard.server.dao.device.claim.ClaimResponse; +import org.thingsboard.server.dao.device.claim.ClaimResult; import org.thingsboard.server.dao.exception.DeviceCredentialsValidationException; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.exception.DataValidationException; @@ -1518,4 +1521,97 @@ public class DeviceControllerTest extends AbstractControllerTest { assertThat(resavedSecondDevice.getExternalId()).isEqualTo(secondExternalId); } + @Test + public void testReclaimDeviceByCustomerUser() throws Exception { + Device device = createTenantDevice("Customer device to reclaim", customerId); + + loginCustomerAdminUser(); + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + loginTenantAdmin(); + Device reclaimedDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(reclaimedDevice.getOwnerId()).isEqualTo(tenantId); + } + + @Test + public void testReclaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + createDifferentCustomer(); + Device device = createTenantDevice("Different customer device", differentCustomerId); + + loginCustomerAdminUser(); + doDelete("/api/customer/device/" + device.getName() + "/claim").andExpect(status().isForbidden()); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(foundDevice.getOwnerId()).isEqualTo(differentCustomerId); + } + + @Test + public void testReclaimSubCustomerDeviceByParentCustomerUser() throws Exception { + Device device = createTenantDevice("Sub-customer device to reclaim", subCustomerId); + + loginCustomerAdminUser(); + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + loginTenantAdmin(); + Device reclaimedDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(reclaimedDevice.getOwnerId()).isEqualTo(tenantId); + } + + @Test + public void testReclaimParentCustomerDeviceBySubCustomerUser() throws Exception { + Device device = createTenantDevice("Parent customer device", customerId); + + loginSubCustomerAdminUser(); + doDelete("/api/customer/device/" + device.getName() + "/claim").andExpect(status().isForbidden()); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(foundDevice.getOwnerId()).isEqualTo(customerId); + } + + @Test + public void testReclaimDeviceByTenantAdmin() throws Exception { + Device device = createTenantDevice("Customer device to reclaim by tenant", customerId); + + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + Device reclaimedDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(reclaimedDevice.getOwnerId()).isEqualTo(tenantId); + } + + @Test + public void testClaimUnassignedDeviceByCustomerUser() throws Exception { + Device device = createTenantDevice("Unassigned device to claim", null); + claimDevicesService.registerClaimingInfo(tenantId, device.getId(), "secret", TimeUnit.MINUTES.toMillis(1)).get(); + + loginCustomerAdminUser(); + ClaimResult claimResult = doPostClaimAsync("/api/customer/device/" + device.getName() + "/claim", + new ClaimRequest("secret"), ClaimResult.class, status().isOk()); + assertThat(claimResult.getResponse()).isEqualTo(ClaimResponse.SUCCESS); + assertThat(claimResult.getDevice().getOwnerId()).isEqualTo(customerId); + } + + @Test + public void testClaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + createDifferentCustomer(); + Device device = createTenantDevice("Different customer device to claim", differentCustomerId); + + loginCustomerAdminUser(); + doPost("/api/customer/device/" + device.getName() + "/claim", new ClaimRequest(null)).andExpect(status().isForbidden()); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(foundDevice.getOwnerId()).isEqualTo(differentCustomerId); + } + + private Device createTenantDevice(String name, CustomerId ownerId) throws Exception { + loginTenantAdmin(); + Device device = new Device(); + device.setName(name); + device.setType("default"); + device.setCustomerId(ownerId); + return doPost("/api/device", device, Device.class); + } + } From 29e305393ec480b7c34e954283780ac159e6f428 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:45:41 +0200 Subject: [PATCH 304/559] Tighten device claiming permission checks --- .../permission/CustomerUserPermissions.java | 7 ++- .../controller/DeviceControllerTest.java | 57 +++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index cd9f1b2c66..0544bdc75a 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -9,6 +9,7 @@ import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.TbResourceInfo; import org.thingsboard.server.common.data.User; import org.thingsboard.server.common.data.id.ApiKeyId; +import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TbResourceId; @@ -71,7 +72,11 @@ public class CustomerUserPermissions extends AbstractPermissions { if (!(entity instanceof HasCustomerId)) { return false; } - return operation.equals(Operation.CLAIM_DEVICES) || user.getCustomerId().equals(((HasCustomerId) entity).getCustomerId()); + CustomerId customerId = ((HasCustomerId) entity).getCustomerId(); + if (operation.equals(Operation.CLAIM_DEVICES) && (customerId == null || customerId.isNullUid())) { + return true; + } + return user.getCustomerId().equals(customerId); } }; diff --git a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java index 52e16ca1eb..0ef72ae19e 100644 --- a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java @@ -26,6 +26,7 @@ import org.testcontainers.shaded.org.awaitility.Awaitility; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.ThingsBoardExecutors; import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.ClaimRequest; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceInfo; @@ -1695,6 +1696,62 @@ public class DeviceControllerTest extends AbstractControllerTest { assertThat(device.getVersion()).isEqualTo(3); } + @Test + public void testReclaimDeviceByCustomerUser() throws Exception { + Device device = createCustomerDevice("Reclaim own device"); + + loginCustomerUser(); + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(NULL_UUID, foundDevice.getCustomerId().getId()); + } + + @Test + public void testReclaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + Device device = createCustomerDevice("Reclaim device of different customer"); + + loginDifferentCustomer(); + doDelete("/api/customer/device/" + device.getName() + "/claim") + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msgErrorPermission))); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(customerId, foundDevice.getCustomerId()); + } + + @Test + public void testClaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + Device device = createCustomerDevice("Claim device of different customer"); + + loginDifferentCustomer(); + doPost("/api/customer/device/" + device.getName() + "/claim", new ClaimRequest(null)) + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msgErrorPermission))); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(customerId, foundDevice.getCustomerId()); + } + + @Test + public void testReclaimDeviceByTenantAdmin() throws Exception { + Device device = createCustomerDevice("Reclaim device by tenant admin"); + + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(NULL_UUID, foundDevice.getCustomerId().getId()); + } + + private Device createCustomerDevice(String name) throws Exception { + loginTenantAdmin(); + Device device = createDevice(name); + return doPost("/api/customer/" + customerId.getId() + "/device/" + device.getUuidId(), Device.class); + } + @Test public void testSaveDeviceWithUniquifyStrategy() throws Exception { Device device = new Device(); From 33c59ded38d27fd829526d203c334bf93cba8391 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:45:41 +0200 Subject: [PATCH 305/559] Fix repeated login in different customer test helpers --- .../server/controller/AbstractWebTest.java | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java b/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java index a97f5d5b9d..9168908040 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java @@ -533,10 +533,12 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { } protected void loginDifferentCustomer() throws Exception { - if (savedDifferentCustomer != null) { - login(savedDifferentCustomer.getEmail(), CUSTOMER_USER_PASSWORD); + if (differentCustomerUser != null) { + login(DIFFERENT_CUSTOMER_USER_EMAIL, DIFFERENT_CUSTOMER_USER_PASSWORD); } else { - createDifferentCustomer(); + if (savedDifferentCustomer == null) { + createDifferentCustomer(); + } loginTenantAdmin(); differentCustomerUser = new User(); @@ -551,10 +553,12 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { } protected void loginDifferentTenantCustomer() throws Exception { - if (savedDifferentTenantCustomer != null) { - login(savedDifferentTenantCustomer.getEmail(), CUSTOMER_USER_PASSWORD); + if (differentTenantCustomerUser != null) { + login(DIFFERENT_TENANT_CUSTOMER_USER_EMAIL, DIFFERENT_CUSTOMER_USER_PASSWORD); } else { - createDifferentTenantCustomer(); + if (savedDifferentTenantCustomer == null) { + createDifferentTenantCustomer(); + } loginDifferentTenant(); differentTenantCustomerUser = new User(); @@ -597,6 +601,8 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { loginSysAdmin(); deleteTenant(savedDifferentTenant.getId()); savedDifferentTenant = null; + savedDifferentTenantCustomer = null; + differentTenantCustomerUser = null; } } From c82d1ce1562d94cbdab01c26e454387b4cbe2566 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 26 Oct 2026 14:49:57 +0100 Subject: [PATCH 306/559] Check entity tenant in edge request msgs processing --- .../rpc/sync/DefaultEdgeRequestsService.java | 37 +++++++- .../server/edge/RequestMsgEdgeTest.java | 94 +++++++++++++++++++ 2 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index 96964f59f8..3e90c2394b 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -34,6 +34,7 @@ import org.thingsboard.server.common.data.edge.EdgeEventActionType; import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.id.DeviceId; import org.thingsboard.server.common.data.id.EdgeId; +import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.EntityIdFactory; import org.thingsboard.server.common.data.id.RuleChainId; @@ -57,6 +58,7 @@ import org.thingsboard.server.common.data.widget.WidgetsBundle; import org.thingsboard.server.dao.attributes.AttributesService; import org.thingsboard.server.dao.cf.CalculatedFieldService; import org.thingsboard.server.dao.edge.EdgeEventService; +import org.thingsboard.server.dao.entity.EntityService; import org.thingsboard.server.dao.notification.NotificationSettingsService; import org.thingsboard.server.dao.relation.RelationService; import org.thingsboard.server.dao.timeseries.TimeseriesService; @@ -110,6 +112,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Autowired private RelationService relationService; + @Autowired + private EntityService entityService; + @Lazy @Autowired private TbEntityViewService entityViewService; @@ -168,6 +173,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return Futures.immediateFuture(null); } RuleChainId ruleChainId = new RuleChainId(new UUID(ruleChainMetadataRequestMsg.getRuleChainIdMSB(), ruleChainMetadataRequestMsg.getRuleChainIdLSB())); + if (!isTenantEntity(tenantId, ruleChainId)) { + return Futures.immediateFuture(null); + } return saveEdgeEvent(tenantId, edge.getId(), EdgeEventType.RULE_CHAIN_METADATA, EdgeEventActionType.ADDED, ruleChainId, null); } @@ -182,6 +190,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { log.warn("[{}] Type doesn't supported {}", tenantId, entityId.getEntityType()); return Futures.immediateFuture(null); } + if (!isTenantEntity(tenantId, entityId)) { + return Futures.immediateFuture(null); + } String scope = attributesRequestMsg.getScope(); ListenableFuture> findAttrFuture = attributesService.findAll(tenantId, entityId, AttributeScope.valueOf(scope)); return Futures.transformAsync(findAttrFuture, ssAttributes @@ -275,6 +286,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { EntityId entityId = EntityIdFactory.getByTypeAndUuid( EntityType.valueOf(relationRequestMsg.getEntityType()), new UUID(relationRequestMsg.getEntityIdMSB(), relationRequestMsg.getEntityIdLSB())); + if (!isTenantEntity(tenantId, entityId)) { + return Futures.immediateFuture(null); + } List>> futures = new ArrayList<>(); futures.add(findRelationByQuery(tenantId, edge, entityId, EntitySearchDirection.FROM)); @@ -398,6 +412,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return Futures.immediateFuture(null); } DeviceId deviceId = new DeviceId(new UUID(deviceCredentialsRequestMsg.getDeviceIdMSB(), deviceCredentialsRequestMsg.getDeviceIdLSB())); + if (!isTenantEntity(tenantId, deviceId)) { + return Futures.immediateFuture(null); + } return saveEdgeEvent(tenantId, edge.getId(), EdgeEventType.DEVICE, EdgeEventActionType.CREDENTIALS_UPDATED, deviceId, null); } @@ -409,6 +426,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return Futures.immediateFuture(null); } UserId userId = new UserId(new UUID(userCredentialsRequestMsg.getUserIdMSB(), userCredentialsRequestMsg.getUserIdLSB())); + if (!isTenantEntity(tenantId, userId)) { + return Futures.immediateFuture(null); + } return saveEdgeEvent(tenantId, edge.getId(), EdgeEventType.USER, EdgeEventActionType.CREDENTIALS_UPDATED, userId, null); } @@ -421,7 +441,7 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { if (widgetBundleTypesRequestMsg.getWidgetBundleIdMSB() != 0 && widgetBundleTypesRequestMsg.getWidgetBundleIdLSB() != 0) { WidgetsBundleId widgetsBundleId = new WidgetsBundleId(new UUID(widgetBundleTypesRequestMsg.getWidgetBundleIdMSB(), widgetBundleTypesRequestMsg.getWidgetBundleIdLSB())); WidgetsBundle widgetsBundleById = widgetsBundleService.findWidgetsBundleById(tenantId, widgetsBundleId); - if (widgetsBundleById != null) { + if (widgetsBundleById != null && (TenantId.SYS_TENANT_ID.equals(widgetsBundleById.getTenantId()) || tenantId.equals(widgetsBundleById.getTenantId()))) { List widgetTypesToPush = widgetTypeService.findWidgetTypesByWidgetsBundleId(widgetsBundleById.getTenantId(), widgetsBundleId); for (WidgetType widgetType : widgetTypesToPush) { @@ -623,6 +643,21 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return request != null ? JacksonUtil.IGNORE_UNKNOWN_PROPERTIES_JSON_MAPPER.readValue(request, clazz) : null; } + private boolean isTenantEntity(TenantId tenantId, EntityId entityId) { + try { + boolean tenantEntity = entityService.fetchEntity(tenantId, entityId) + .map(entity -> entity instanceof HasTenantId hasTenantId && tenantId.equals(hasTenantId.getTenantId())) + .orElse(false); + if (!tenantEntity) { + log.warn("[{}] Entity {} not found, skipping request", tenantId, entityId); + } + return tenantEntity; + } catch (IllegalArgumentException e) { + log.warn("[{}] Unsupported entity {}, skipping request", tenantId, entityId); + return false; + } + } + private ListenableFuture saveEdgeEvent(TenantId tenantId, EdgeId edgeId, EdgeEventType type, diff --git a/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java new file mode 100644 index 0000000000..76e38457d8 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java @@ -0,0 +1,94 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.edge; + +import org.junit.Assert; +import org.junit.Test; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.DataConstants; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.asset.Asset; +import org.thingsboard.server.common.data.relation.EntityRelation; +import org.thingsboard.server.common.data.relation.RelationTypeGroup; +import org.thingsboard.server.common.data.rule.RuleChain; +import org.thingsboard.server.common.data.rule.RuleChainType; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.AttributesRequestMsg; +import org.thingsboard.server.gen.edge.v1.DeviceCredentialsRequestMsg; +import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; +import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; + +import java.util.UUID; + +@DaoSqlTest +public class RequestMsgEdgeTest extends AbstractEdgeTest { + + @Test + public void testSendRequestsForEntitiesOfAnotherTenantToCloud() throws Exception { + loginDifferentTenant(); + try { + Device device = new Device(); + device.setName("Different Tenant Device"); + device.setType("default"); + device = doPost("/api/device", device, Device.class); + doPost("/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/attributes/" + DataConstants.SERVER_SCOPE, + JacksonUtil.toJsonNode("{\"key1\":\"value1\"}")); + + Asset asset = new Asset(); + asset.setName("Different Tenant Asset"); + asset.setType("default"); + asset = doPost("/api/asset", asset, Asset.class); + + EntityRelation relation = new EntityRelation(); + relation.setType("test"); + relation.setFrom(device.getId()); + relation.setTo(asset.getId()); + relation.setTypeGroup(RelationTypeGroup.COMMON); + doPost("/api/v2/relation", relation, EntityRelation.class); + + RuleChain ruleChain = new RuleChain(); + ruleChain.setName("Different Tenant Rule Chain"); + ruleChain.setType(RuleChainType.CORE); + ruleChain = doPost("/api/ruleChain", ruleChain, RuleChain.class); + + UUID deviceUuid = device.getUuidId(); + UUID userUuid = savedDifferentTenantUser.getUuidId(); + UUID ruleChainUuid = ruleChain.getUuidId(); + loginTenantAdmin(); + + UplinkMsg uplinkMsg = UplinkMsg.newBuilder() + .addUserCredentialsRequestMsg(UserCredentialsRequestMsg.newBuilder() + .setUserIdMSB(userUuid.getMostSignificantBits()) + .setUserIdLSB(userUuid.getLeastSignificantBits()).build()) + .addDeviceCredentialsRequestMsg(DeviceCredentialsRequestMsg.newBuilder() + .setDeviceIdMSB(deviceUuid.getMostSignificantBits()) + .setDeviceIdLSB(deviceUuid.getLeastSignificantBits()).build()) + .addAttributesRequestMsg(AttributesRequestMsg.newBuilder() + .setEntityType(EntityType.DEVICE.name()) + .setEntityIdMSB(deviceUuid.getMostSignificantBits()) + .setEntityIdLSB(deviceUuid.getLeastSignificantBits()) + .setScope(DataConstants.SERVER_SCOPE).build()) + .addRelationRequestMsg(RelationRequestMsg.newBuilder() + .setEntityType(EntityType.DEVICE.name()) + .setEntityIdMSB(deviceUuid.getMostSignificantBits()) + .setEntityIdLSB(deviceUuid.getLeastSignificantBits()).build()) + .addRuleChainMetadataRequestMsg(RuleChainMetadataRequestMsg.newBuilder() + .setRuleChainIdMSB(ruleChainUuid.getMostSignificantBits()) + .setRuleChainIdLSB(ruleChainUuid.getLeastSignificantBits()).build()) + .build(); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.expectMessageAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + Assert.assertFalse(edgeImitator.waitForMessages(5)); + } finally { + deleteDifferentTenant(); + loginTenantAdmin(); + } + } + +} From 1c36cbf21b12594cc5e419fc515fe8dcdee763c1 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Mon, 26 Oct 2026 16:32:03 +0200 Subject: [PATCH 307/559] feat: AI resources: attach images, PDFs, text and Office files to AI Assistant and Solution Creator messages - New /api/ai/resources endpoints (config, upload, download, delete) proxy file uploads to TB AI over the channel. - Solution Creator messages go through a new JSON endpoint /api/ai/solution/{id}/{step}/messages carrying the attached resource ids; the plain-text chat endpoint stays unchanged. - The chat composer gets a + button, drag and drop onto the chat, paste of screenshots, image downscaling before upload, previews with upload progress and remove, and a toolbar layout below the text; sent messages show image thumbnails with a preview dialog and file chips that download the file. --- .../controller/AiResourceController.java | 88 +++++ .../controller/AiSolutionController.java | 19 ++ .../ai/resource/AiResourceService.java | 24 ++ .../ai/resource/DefaultAiResourceService.java | 73 ++++ .../ai/solution/AiSolutionService.java | 3 + .../ai/solution/DefaultAiSolutionService.java | 9 +- .../controller/AiResourceControllerTest.java | 195 +++++++++++ .../src/app/core/http/ai-resource.service.ts | 96 ++++++ .../core/http/solutions-creator.service.ts | 6 +- .../ai/ai-assistant-panel.component.html | 4 +- .../ai/ai-assistant-panel.component.ts | 16 +- ...i-attachment-preview-dialog.component.html | 27 ++ ...i-attachment-preview-dialog.component.scss | 32 ++ .../ai-attachment-preview-dialog.component.ts | 35 ++ .../components/ai/ai-attachment.models.ts | 112 ++++++ .../ai/ai-attachments.component.html | 48 +++ .../ai/ai-attachments.component.scss | 155 +++++++++ .../components/ai/ai-attachments.component.ts | 78 +++++ .../ai/ai-chat-messages.component.html | 7 +- .../ai/ai-chat-messages.component.scss | 17 +- .../ai/ai-prompt-input.component.html | 46 ++- .../ai/ai-prompt-input.component.scss | 48 ++- .../ai/ai-prompt-input.component.ts | 321 +++++++++++++++++- .../modules/home/components/ai/ai.module.ts | 9 +- .../solution-creator.component.html | 4 +- .../solution-creator.component.ts | 15 +- .../src/app/shared/models/ai-chat.models.ts | 23 ++ .../shared/models/solution-creator.models.ts | 3 +- .../assets/locale/locale.constant-en_US.json | 9 + 29 files changed, 1471 insertions(+), 51 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/controller/AiResourceController.java create mode 100644 application/src/main/java/org/thingsboard/server/service/ai/resource/AiResourceService.java create mode 100644 application/src/main/java/org/thingsboard/server/service/ai/resource/DefaultAiResourceService.java create mode 100644 application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java create mode 100644 ui-ngx/src/app/core/http/ai-resource.service.ts create mode 100644 ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.html create mode 100644 ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.scss create mode 100644 ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts create mode 100644 ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts create mode 100644 ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.html create mode 100644 ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.scss create mode 100644 ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.ts diff --git a/application/src/main/java/org/thingsboard/server/controller/AiResourceController.java b/application/src/main/java/org/thingsboard/server/controller/AiResourceController.java new file mode 100644 index 0000000000..ed3339f64f --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/controller/AiResourceController.java @@ -0,0 +1,88 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.controller; + +import com.fasterxml.jackson.databind.JsonNode; +import lombok.RequiredArgsConstructor; +import org.springframework.http.CacheControl; +import org.springframework.http.ContentDisposition; +import org.springframework.http.HttpHeaders; +import org.springframework.http.HttpStatus; +import org.springframework.http.MediaType; +import org.springframework.http.ResponseEntity; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestPart; +import org.springframework.web.bind.annotation.ResponseStatus; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.multipart.MultipartFile; +import org.thingsboard.server.common.data.exception.ThingsboardException; +import org.thingsboard.server.common.data.permission.Operation; +import org.thingsboard.server.common.data.permission.Resource; +import org.thingsboard.server.queue.util.TbCoreComponent; +import org.thingsboard.server.service.ai.resource.AiResourceService; +import org.thingsboard.server.service.security.model.SecurityUser; + +import java.nio.charset.StandardCharsets; +import java.time.Duration; +import java.util.UUID; + +@RequiredArgsConstructor +@RestController +@TbCoreComponent +@RequestMapping("/api/ai/resources") +class AiResourceController extends BaseController { + + private final AiResourceService aiResourceService; + + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @GetMapping("/config") + public JsonNode getConfig() throws ThingsboardException { + SecurityUser user = getCurrentUser(); + accessControlService.checkPermission(user, Resource.AI, Operation.READ); + return aiResourceService.getConfig(user); + } + + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE) + @ResponseStatus(HttpStatus.CREATED) + public JsonNode uploadResource(@RequestPart("file") MultipartFile file) throws ThingsboardException { + SecurityUser user = getCurrentUser(); + accessControlService.checkPermission(user, Resource.AI, Operation.WRITE); + return aiResourceService.upload(file, user); + } + + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @GetMapping("/{resourceId}") + public ResponseEntity downloadResource(@PathVariable UUID resourceId) throws ThingsboardException { + SecurityUser user = getCurrentUser(); + accessControlService.checkPermission(user, Resource.AI, Operation.READ); + AiResourceService.AiResourceContent content = aiResourceService.download(resourceId, user); + return ResponseEntity.ok() + .contentType(MediaType.parseMediaType(content.mediaType())) + .header(HttpHeaders.CONTENT_DISPOSITION, disposition(content.name())) + .header("X-Content-Type-Options", "nosniff") + .cacheControl(CacheControl.maxAge(Duration.ofHours(1)).cachePrivate()) + .body(content.data()); + } + + private static String disposition(String name) { + ContentDisposition.Builder builder = ContentDisposition.attachment(); + boolean ascii = StandardCharsets.US_ASCII.newEncoder().canEncode(name); + return (ascii ? builder.filename(name) : builder.filename(name, StandardCharsets.UTF_8)).build().toString(); + } + + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @DeleteMapping("/{resourceId}") + @ResponseStatus(HttpStatus.NO_CONTENT) + public void deleteResource(@PathVariable UUID resourceId) throws ThingsboardException { + SecurityUser user = getCurrentUser(); + accessControlService.checkPermission(user, Resource.AI, Operation.WRITE); + aiResourceService.delete(resourceId, user); + } + +} diff --git a/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java b/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java index 0bd771ecee..f68fe5358b 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java @@ -5,6 +5,7 @@ package org.thingsboard.server.controller; import com.fasterxml.jackson.databind.JsonNode; import jakarta.servlet.http.HttpServletRequest; import lombok.RequiredArgsConstructor; +import org.springframework.http.MediaType; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; @@ -16,6 +17,7 @@ import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.thingsboard.ai.common.data.solution.SolutionStep; +import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.permission.Operation; import org.thingsboard.server.common.data.permission.Resource; @@ -24,6 +26,7 @@ import org.thingsboard.server.service.ai.solution.AiSolutionService; import org.thingsboard.server.service.security.model.SecurityUser; import org.thingsboard.server.service.security.system.SystemSecurityService; +import java.util.List; import java.util.UUID; import static org.thingsboard.server.config.ThingsboardSecurityConfiguration.AUTHORIZATION_HEADER; @@ -71,6 +74,22 @@ public class AiSolutionController extends BaseController { return aiSolutionService.chat(solutionId, step, message, user); } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @PostMapping(value = "/{solutionId}/{step}/messages", consumes = MediaType.APPLICATION_JSON_VALUE) + public JsonNode sendMessage(@PathVariable UUID solutionId, + @PathVariable SolutionStep step, + @RequestBody SolutionChatMessage request) throws ThingsboardException { + SecurityUser user = getCurrentUser(); + accessControlService.checkPermission(user, Resource.AI, Operation.WRITE); + String message = request.message() != null ? request.message() : ""; + if (message.isBlank() && (request.resources() == null || request.resources().isEmpty())) { + throw new ThingsboardException("Message cannot be blank", ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } + return aiSolutionService.chat(solutionId, step, message, request.resources(), user); + } + + record SolutionChatMessage(String message, List resources) {} + @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/{solutionId}/create") public JsonNode createSolution(@PathVariable UUID solutionId) throws ThingsboardException { diff --git a/application/src/main/java/org/thingsboard/server/service/ai/resource/AiResourceService.java b/application/src/main/java/org/thingsboard/server/service/ai/resource/AiResourceService.java new file mode 100644 index 0000000000..ece2210823 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/ai/resource/AiResourceService.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.ai.resource; + +import com.fasterxml.jackson.databind.JsonNode; +import org.springframework.web.multipart.MultipartFile; +import org.thingsboard.server.common.data.exception.ThingsboardException; +import org.thingsboard.server.service.security.model.SecurityUser; + +import java.util.UUID; + +public interface AiResourceService { + + JsonNode getConfig(SecurityUser user); + + JsonNode upload(MultipartFile file, SecurityUser user) throws ThingsboardException; + + AiResourceContent download(UUID resourceId, SecurityUser user); + + void delete(UUID resourceId, SecurityUser user); + + record AiResourceContent(String name, String mediaType, byte[] data) {} + +} diff --git a/application/src/main/java/org/thingsboard/server/service/ai/resource/DefaultAiResourceService.java b/application/src/main/java/org/thingsboard/server/service/ai/resource/DefaultAiResourceService.java new file mode 100644 index 0000000000..d52edb196a --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/ai/resource/DefaultAiResourceService.java @@ -0,0 +1,73 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.ai.resource; + +import com.fasterxml.jackson.databind.JsonNode; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; +import org.springframework.web.multipart.MultipartFile; +import org.thingsboard.ai.common.channel.ChannelProtocol; +import org.thingsboard.ai.common.channel.ResourceOperationRequest; +import org.thingsboard.ai.common.channel.ResourceUploadRequest; +import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; +import org.thingsboard.server.common.data.exception.ThingsboardException; +import org.thingsboard.server.queue.util.TbCoreComponent; +import org.thingsboard.server.service.ai.TbAiService; +import org.thingsboard.server.service.ai.transport.TbAiOperation; +import org.thingsboard.server.service.ai.transport.TbAiOperations; +import org.thingsboard.server.service.security.model.SecurityUser; + +import java.io.IOException; +import java.util.Base64; +import java.util.UUID; + +@Service +@TbCoreComponent +@RequiredArgsConstructor +class DefaultAiResourceService implements AiResourceService { + + static final long MAX_UPLOAD_BYTES = 7L * 1024 * 1024; + + private final TbAiService tbAiService; + private final TbAiOperations operations; + + @Override + public JsonNode getConfig(SecurityUser user) { + return tbAiService.process(tokenProvider -> operations.execute( + new TbAiOperation(ChannelProtocol.RESOURCE_CONFIG, null), user, tokenProvider), user, false); + } + + @Override + public JsonNode upload(MultipartFile file, SecurityUser user) throws ThingsboardException { + if (file == null || file.isEmpty()) { + throw new ThingsboardException("The file is empty", ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } + if (file.getSize() > MAX_UPLOAD_BYTES) { + throw new ThingsboardException("The file is too large: " + file.getOriginalFilename(), ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } + String data; + try { + data = Base64.getEncoder().encodeToString(file.getBytes()); + } catch (IOException e) { + throw new ThingsboardException("Failed to read the file", e, ThingsboardErrorCode.GENERAL); + } + var request = new ResourceUploadRequest(file.getOriginalFilename(), file.getContentType(), data); + return tbAiService.process(tokenProvider -> operations.execute( + new TbAiOperation(ChannelProtocol.RESOURCE_UPLOAD, request), user, tokenProvider), user, false); + } + + @Override + public AiResourceContent download(UUID resourceId, SecurityUser user) { + JsonNode content = tbAiService.process(tokenProvider -> operations.execute( + new TbAiOperation(ChannelProtocol.RESOURCE_GET, new ResourceOperationRequest(resourceId)), user, tokenProvider), user, false); + return new AiResourceContent(content.path("name").asText(), content.path("mediaType").asText(), + Base64.getDecoder().decode(content.path("data").asText())); + } + + @Override + public void delete(UUID resourceId, SecurityUser user) { + tbAiService.process(tokenProvider -> operations.execute( + new TbAiOperation(ChannelProtocol.RESOURCE_DELETE, new ResourceOperationRequest(resourceId)), user, tokenProvider), user, false); + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java b/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java index 514672a782..123cea7398 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java @@ -6,6 +6,7 @@ import com.fasterxml.jackson.databind.JsonNode; import org.thingsboard.ai.common.data.solution.SolutionStep; import org.thingsboard.server.service.security.model.SecurityUser; +import java.util.List; import java.util.UUID; public interface AiSolutionService { @@ -18,6 +19,8 @@ public interface AiSolutionService { JsonNode chat(UUID solutionId, SolutionStep step, String message, SecurityUser user); + JsonNode chat(UUID solutionId, SolutionStep step, String message, List resources, SecurityUser user); + JsonNode createSolution(UUID solutionId, SecurityUser user); JsonNode updateData(UUID solutionId, String dataKey, JsonNode value, SecurityUser user); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java b/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java index a93b1c6872..c5c154c000 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java @@ -18,6 +18,7 @@ import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.ai.transport.TbAiTurnContext; import org.thingsboard.server.service.security.model.SecurityUser; +import java.util.List; import java.util.UUID; @Service @@ -48,8 +49,14 @@ public class DefaultAiSolutionService implements AiSolutionService { @Override public JsonNode chat(UUID solutionId, SolutionStep step, String message, SecurityUser user) { + return chat(solutionId, step, message, null, user); + } + + @Override + public JsonNode chat(UUID solutionId, SolutionStep step, String message, List resources, SecurityUser user) { + List attached = resources == null || resources.isEmpty() ? null : resources; return tbAiService.process(tokenProvider -> operations.execute( - new TbAiOperation(ChannelProtocol.SOLUTION_CHAT, new SolutionChatRequest(solutionId, step, message)), user, tokenProvider), user); + new TbAiOperation(ChannelProtocol.SOLUTION_CHAT, new SolutionChatRequest(solutionId, step, message, attached)), user, tokenProvider), user); } @Override diff --git a/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java new file mode 100644 index 0000000000..567ad2b763 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java @@ -0,0 +1,195 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.controller; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import org.junit.Test; +import org.springframework.http.HttpHeaders; +import org.springframework.http.HttpMethod; +import org.springframework.http.MediaType; +import org.springframework.mock.web.MockMultipartFile; +import org.springframework.test.web.servlet.MvcResult; +import org.springframework.test.web.servlet.ResultActions; +import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; +import org.thingsboard.ai.common.channel.ChannelProtocol; +import org.thingsboard.ai.common.channel.ResourceOperationRequest; +import org.thingsboard.ai.common.channel.ResourceUploadRequest; +import org.thingsboard.ai.common.channel.SolutionChatRequest; +import org.thingsboard.ai.common.data.solution.SolutionStep; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.service.ai.transport.TbAiTurnContext; + +import java.nio.charset.StandardCharsets; +import java.util.Base64; +import java.util.List; +import java.util.UUID; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.hamcrest.Matchers.equalTo; +import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; + +@DaoSqlTest +public class AiResourceControllerTest extends AbstractAiControllerTest { + + private static final byte[] PNG = Base64.getDecoder().decode("iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="); + + @Test + public void shouldForwardTheFileBase64Encoded_whenUploadingAResource() throws Exception { + // GIVEN + loginTenantAdmin(); + UUID resourceId = UUID.randomUUID(); + ObjectNode info = resourceInfo(resourceId, "chart.png", "image/png", PNG.length); + var request = new ResourceUploadRequest("chart.png", "image/png", Base64.getEncoder().encodeToString(PNG)); + givenOperation(ChannelProtocol.RESOURCE_UPLOAD, request, success(info)); + + // WHEN + JsonNode result = readResponse(upload("chart.png", "image/png", PNG).andExpect(status().isCreated()), JsonNode.class); + + // THEN + assertThat(result).isEqualTo(info); + TbAiTurnContext context = verifyOperation(ChannelProtocol.RESOURCE_UPLOAD, request); + assertTokenProviderBelongsToTenantAdmin(context.tokenProvider()); + } + + @Test + public void shouldRejectAFileOverTheUploadLimit_withoutCallingTheAiService() throws Exception { + // GIVEN + loginTenantAdmin(); + + // WHEN + upload("huge.png", "image/png", new byte[7 * 1024 * 1024 + 1]) + .andExpect(status().isBadRequest()) + .andExpect(statusReason(equalTo("The file is too large: huge.png"))); + + // THEN + verifyNoAiCalls(); + } + + @Test + public void shouldServeTheFileWithItsTypeAndName_whenDownloadingAResource() throws Exception { + // GIVEN + loginTenantAdmin(); + UUID resourceId = UUID.randomUUID(); + ObjectNode content = JacksonUtil.newObjectNode() + .put("name", "chart.png") + .put("mediaType", "image/png") + .put("data", Base64.getEncoder().encodeToString(PNG)); + givenOperation(ChannelProtocol.RESOURCE_GET, new ResourceOperationRequest(resourceId), success(content)); + + // WHEN + MvcResult result = doGet("/api/ai/resources/" + resourceId).andExpect(status().isOk()).andReturn(); + + // THEN + assertThat(result.getResponse().getContentAsByteArray()).isEqualTo(PNG); + assertThat(result.getResponse().getContentType()).isEqualTo("image/png"); + assertThat(result.getResponse().getHeader(HttpHeaders.CONTENT_DISPOSITION)).isEqualTo("attachment; filename=\"chart.png\""); + assertThat(result.getResponse().getHeader("X-Content-Type-Options")).isEqualTo("nosniff"); + } + + @Test + public void shouldDeleteAnUnsentResource() throws Exception { + // GIVEN + loginTenantAdmin(); + UUID resourceId = UUID.randomUUID(); + givenOperation(ChannelProtocol.RESOURCE_DELETE, new ResourceOperationRequest(resourceId), success()); + + // WHEN + doDelete("/api/ai/resources/" + resourceId).andExpect(status().isNoContent()); + + // THEN + verifyOperation(ChannelProtocol.RESOURCE_DELETE, new ResourceOperationRequest(resourceId)); + } + + @Test + public void shouldReturnTheAcceptedFiles_whenGettingTheConfig() throws Exception { + // GIVEN + loginTenantAdmin(); + JsonNode limits = JacksonUtil.toJsonNode(""" + {"maxSize": 5242880, "maxPerMessage": 5, "mediaTypes": ["image/png"], "extensions": [".png"]} + """); + givenOperation(ChannelProtocol.RESOURCE_CONFIG, null, success(limits)); + + // WHEN + JsonNode result = doGet("/api/ai/resources/config", JsonNode.class); + + // THEN + assertThat(result).isEqualTo(limits); + } + + @Test + public void shouldSendTheAttachedResources_whenSendingASolutionMessage() throws Exception { + // GIVEN + loginTenantAdmin(); + UUID solutionId = UUID.randomUUID(); + UUID resourceId = UUID.randomUUID(); + var request = new SolutionChatRequest(solutionId, SolutionStep.DASHBOARDS_CONFIGURATION, "Like this", List.of(resourceId)); + ObjectNode solution = JacksonUtil.newObjectNode().put("id", solutionId.toString()); + givenOperation(ChannelProtocol.SOLUTION_CHAT, request, success(solution)); + + // WHEN + JsonNode result = readResponse(solutionMessage(solutionId, SolutionStep.DASHBOARDS_CONFIGURATION, """ + {"message": "Like this", "resources": ["%s"]} + """.formatted(resourceId)).andExpect(status().isOk()), JsonNode.class); + + // THEN + assertThat(result).isEqualTo(solution); + verifyOperation(ChannelProtocol.SOLUTION_CHAT, request); + } + + @Test + public void shouldRejectASolutionMessage_whenItHasNeitherTextNorFiles() throws Exception { + // GIVEN + loginTenantAdmin(); + + // WHEN + solutionMessage(UUID.randomUUID(), SolutionStep.INITIAL_CONFIGURATION, """ + {"message": " ", "resources": []} + """) + .andExpect(status().isBadRequest()) + .andExpect(statusReason(equalTo("Message cannot be blank"))); + + // THEN + verifyNoAiCalls(); + } + + @Test + public void shouldReturnForbiddenAndNotCallClient_whenCustomerUserUploads() throws Exception { + // GIVEN + loginCustomerUser(); + + // WHEN + upload("chart.png", "image/png", PNG) + .andExpect(status().isForbidden()) + .andExpect(statusReason(equalTo(msgErrorPermission))); + + // THEN + verifyNoAiCalls(); + } + + private ResultActions upload(String name, String mediaType, byte[] content) throws Exception { + var request = MockMvcRequestBuilders.multipart(HttpMethod.POST, "/api/ai/resources") + .file(new MockMultipartFile("file", name, mediaType, content)); + setJwtToken(request); + return mockMvc.perform(request); + } + + private ResultActions solutionMessage(UUID solutionId, SolutionStep step, String body) throws Exception { + var request = post("/api/ai/solution/" + solutionId + "/" + step + "/messages") + .contentType(MediaType.APPLICATION_JSON) + .content(body.getBytes(StandardCharsets.UTF_8)); + setJwtToken(request); + return mockMvc.perform(request); + } + + private static ObjectNode resourceInfo(UUID id, String name, String mediaType, int size) { + return JacksonUtil.newObjectNode() + .put("id", id.toString()) + .put("name", name) + .put("mediaType", mediaType) + .put("size", size); + } + +} diff --git a/ui-ngx/src/app/core/http/ai-resource.service.ts b/ui-ngx/src/app/core/http/ai-resource.service.ts new file mode 100644 index 0000000000..467fddd1b5 --- /dev/null +++ b/ui-ngx/src/app/core/http/ai-resource.service.ts @@ -0,0 +1,96 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +import { Injectable } from '@angular/core'; +import { HttpClient, HttpEvent, HttpEventType } from '@angular/common/http'; +import { defaultHttpOptions, defaultHttpUploadOptions } from '@core/http/http-utils'; +import { Observable, of } from 'rxjs'; +import { catchError, filter, map, shareReplay, tap } from 'rxjs/operators'; +import { AiResourceConfig, AiResourceInfo } from '@shared/models/ai-chat.models'; + +export type AiResourceUploadEvent = + { type: 'progress'; progress: number } | + { type: 'done'; resource: AiResourceInfo }; + +@Injectable({ + providedIn: 'root' +}) +export class AiResourceService { + + private config$: Observable; + + private readonly urls = new Map>(); + + constructor(private http: HttpClient) { + } + + getConfig(): Observable { + if (!this.config$) { + this.config$ = this.http.get('/api/ai/resources/config', defaultHttpOptions(true, true)).pipe( + catchError(() => { + this.config$ = null; + return of(null); + }), + shareReplay(1) + ); + } + return this.config$; + } + + upload(file: File): Observable { + const formData = new FormData(); + formData.append('file', file, file.name); + return this.http.post('/api/ai/resources', formData, { + ...defaultHttpUploadOptions(true, true), + observe: 'events', + reportProgress: true + }).pipe( + filter((event: HttpEvent) => event.type === HttpEventType.UploadProgress || event.type === HttpEventType.Response), + map((event: HttpEvent): AiResourceUploadEvent => { + if (event.type === HttpEventType.UploadProgress) { + return {type: 'progress', progress: event.total ? Math.round(100 * event.loaded / event.total) : 0}; + } + return {type: 'done', resource: (event as any).body as AiResourceInfo}; + }) + ); + } + + delete(resourceId: string): Observable { + this.urls.delete(resourceId); + return this.http.delete(`/api/ai/resources/${resourceId}`, defaultHttpOptions(true, true)); + } + + rememberUrl(resourceId: string, url: string): void { + this.urls.set(resourceId, of(url)); + } + + getUrl(resourceId: string): Observable { + let url$ = this.urls.get(resourceId); + if (!url$) { + url$ = this.http.get(`/api/ai/resources/${resourceId}`, {...defaultHttpOptions(true, true), responseType: 'blob'}).pipe( + map(blob => URL.createObjectURL(blob)), + catchError(error => { + this.urls.delete(resourceId); + throw error; + }), + shareReplay(1) + ); + this.urls.set(resourceId, url$); + } + return url$; + } + + download(resource: AiResourceInfo): Observable { + return this.getUrl(resource.id).pipe( + tap(url => { + const link = document.createElement('a'); + link.href = url; + link.download = resource.name; + document.body.appendChild(link); + link.click(); + link.remove(); + }), + map(() => undefined) + ); + } + +} diff --git a/ui-ngx/src/app/core/http/solutions-creator.service.ts b/ui-ngx/src/app/core/http/solutions-creator.service.ts index bcf5655b7f..2cfc4b2bb2 100644 --- a/ui-ngx/src/app/core/http/solutions-creator.service.ts +++ b/ui-ngx/src/app/core/http/solutions-creator.service.ts @@ -39,8 +39,10 @@ export class SolutionsCreatorService { return this.http.post(`/api/ai/solution/${solutionId}/create`, '', defaultHttpOptionsFromConfig(config)); } - public chatSolution(solutionId: string, step: SolutionStep, msg: string, config?: RequestConfig): Observable { - return this.http.post(`/api/ai/solution/${solutionId}/${step}/chat`, msg, defaultHttpOptionsFromConfig(config)); + public chatSolution(solutionId: string, step: SolutionStep, msg: string, config?: RequestConfig, + resources: string[] = []): Observable { + return this.http.post(`/api/ai/solution/${solutionId}/${step}/messages`, + {message: msg, resources}, defaultHttpOptionsFromConfig(config)); } public updateSolutionData(solutionId: string, dataKey: SolutionDataKey, msg: SolutionDataValues, config?: RequestConfig): Observable { diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.html index db6b0dad5c..1634a63779 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.html @@ -4,7 +4,7 @@ SPDX-License-Identifier: BUSL-1.1 --> -
    @@ -100,6 +100,8 @@ class="flex" [placeholder]="activePlaceholder()" [loading]="loading()" + toastTarget="aiAssistant" + [dropZone]="chatContainer" (messageSent)="sendMsgFromUser($event)">
    diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts index c43a019591..c9fec14c1d 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts @@ -21,6 +21,7 @@ import { AiChatService } from '@core/http/ai-chat.service'; import { AiAssistantPromptExample, AiChatClientContext, + AiPromptMessage, ApprovalResult, ChatEvent, ChatInfo, @@ -235,10 +236,12 @@ export class AiAssistantPanelComponent implements OnInit { this.promptInput?.setValue(example.message); } - sendMsgFromUser(msg: string): void { - const userMessage: ChatMessage = {from: 'USER', content: msg}; + sendMsgFromUser(prompt: AiPromptMessage): void { + const userMessage: ChatMessage = prompt.resources.length + ? {from: 'USER', content: prompt.message, resources: prompt.resources} + : {from: 'USER', content: prompt.message}; this.messages.update(list => [...list, userMessage]); - this.sendMessage(msg).subscribe({ + this.sendMessage(prompt).subscribe({ error: (err) => { if (this.isConnectionLost(err) && this.chatId()) { this.showErrorToast(this.translate.instant('ai-assistant.connection-lost')); @@ -351,7 +354,7 @@ export class AiAssistantPanelComponent implements OnInit { } } - private sendMessage(msg: string): Observable { + private sendMessage(prompt: AiPromptMessage): Observable { this.initLoadingState(); this.sessionAffectedEntities = []; this.messageCancelled = false; @@ -368,9 +371,12 @@ export class AiAssistantPanelComponent implements OnInit { ); const request: SendChatMessageRequest = { - message: msg, + message: prompt.message, clientContext: this.resolveClientContextToSend() }; + if (prompt.resources.length) { + request.resources = prompt.resources.map(resource => resource.id); + } return startOrContinue$.pipe( switchMap(() => this.aiChat.sendChatMessage(this.chatId(), request, {ignoreLoading: true, ignoreErrors: true})), diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.html new file mode 100644 index 0000000000..a58261f352 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.html @@ -0,0 +1,27 @@ + + +

    {{ data.item.name }}

    + + @if (data.item.resource) { + + } + +
    +
    + @if (data.item.url$ | async; as url) { + + } @else { + + } +
    diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.scss b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.scss new file mode 100644 index 0000000000..d872016784 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.scss @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +:host { + display: flex; + flex-direction: column; + min-width: min(360px, 90vw); + max-height: 90vh; + + .preview-title { + margin: 0; + font-size: 16px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + + .preview-content { + display: flex; + align-items: center; + justify-content: center; + padding: 0 16px 16px; + max-height: calc(90vh - 64px); + overflow: auto; + + img { + max-width: 100%; + max-height: calc(90vh - 96px); + object-fit: contain; + border-radius: 8px; + } + } +} diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts new file mode 100644 index 0000000000..377cd59165 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +import { Component, Inject } from '@angular/core'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { AiResourceService } from '@core/http/ai-resource.service'; +import { AiAttachmentItem } from '@home/components/ai/ai-attachment.models'; + +export interface AiAttachmentPreviewDialogData { + item: AiAttachmentItem; +} + +@Component({ + selector: 'tb-ai-attachment-preview-dialog', + templateUrl: './ai-attachment-preview-dialog.component.html', + styleUrls: ['./ai-attachment-preview-dialog.component.scss'], + standalone: false +}) +export class AiAttachmentPreviewDialogComponent { + + constructor(@Inject(MAT_DIALOG_DATA) public data: AiAttachmentPreviewDialogData, + private dialogRef: MatDialogRef, + private aiResourceService: AiResourceService) { + } + + download(): void { + if (this.data.item.resource) { + this.aiResourceService.download(this.data.item.resource).subscribe({error: () => {}}); + } + } + + close(): void { + this.dialogRef.close(); + } + +} diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts b/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts new file mode 100644 index 0000000000..9af001b8e8 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts @@ -0,0 +1,112 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +import { Observable } from 'rxjs'; +import { AiResourceInfo } from '@shared/models/ai-chat.models'; + +export interface AiAttachmentItem { + key: string; + name: string; + mediaType: string; + size: number; + image: boolean; + url$?: Observable; + resource?: AiResourceInfo; + status?: 'uploading' | 'ready' | 'error'; + progress?: number; +} + +const MAX_IMAGE_SIDE = 2560; +const RESIZABLE_IMAGE_TYPES = ['image/png', 'image/jpeg', 'image/webp']; + +export const aiAttachmentIcon = (mediaType: string, name: string): string => { + const extension = name.split('.').pop()?.toLowerCase(); + if (mediaType === 'application/pdf' || extension === 'pdf') { + return 'picture_as_pdf'; + } + if (extension === 'xlsx' || extension === 'csv') { + return 'table_chart'; + } + if (extension === 'pptx') { + return 'slideshow'; + } + if (['json', 'xml', 'yaml', 'yml', 'html', 'htm'].includes(extension)) { + return 'code'; + } + return 'description'; +}; + +export const aiAttachmentExtension = (name: string): string => { + const dot = name.lastIndexOf('.'); + return dot > 0 ? name.substring(dot + 1).toUpperCase() : ''; +}; + +export const isAiAttachmentAccepted = (file: File, extensions: string[]): boolean => { + const name = file.name.toLowerCase(); + return extensions.some(extension => name.endsWith(extension.toLowerCase())); +}; + +export const namePastedImage = (file: File): File => { + if (!RESIZABLE_IMAGE_TYPES.includes(file.type) || (file.name && file.name !== 'image.png')) { + return file; + } + const stamp = new Date().toISOString().replace(/[-:]/g, '').replace('T', '-').substring(0, 15); + const extension = file.type === 'image/jpeg' ? 'jpg' : file.type.split('/')[1]; + return new File([file], `screenshot-${stamp}.${extension}`, {type: file.type, lastModified: file.lastModified}); +}; + +const loadImage = (file: File): Promise => new Promise((resolve, reject) => { + const url = URL.createObjectURL(file); + const image = new Image(); + image.onload = () => { + URL.revokeObjectURL(url); + resolve(image); + }; + image.onerror = () => { + URL.revokeObjectURL(url); + reject(new Error('Image could not be decoded')); + }; + image.src = url; +}); + +const encode = (canvas: HTMLCanvasElement, type: string, quality?: number): Promise => new Promise((resolve, reject) => + canvas.toBlob(blob => blob ? resolve(blob) : reject(new Error('Image could not be encoded')), type, quality)); + +export const fitAiImage = async (file: File, maxSize: number): Promise => { + if (!RESIZABLE_IMAGE_TYPES.includes(file.type)) { + return file; + } + let image: HTMLImageElement; + try { + image = await loadImage(file); + } catch { + return file; + } + const scale = Math.min(1, MAX_IMAGE_SIDE / Math.max(image.naturalWidth, image.naturalHeight)); + if (scale === 1 && file.size <= maxSize) { + return file; + } + const canvas = document.createElement('canvas'); + canvas.width = Math.max(1, Math.round(image.naturalWidth * scale)); + canvas.height = Math.max(1, Math.round(image.naturalHeight * scale)); + const context = canvas.getContext('2d'); + if (file.type === 'image/jpeg') { + context.fillStyle = '#fff'; + context.fillRect(0, 0, canvas.width, canvas.height); + } + context.drawImage(image, 0, 0, canvas.width, canvas.height); + let blob = await encode(canvas, file.type, 0.92); + let type = file.type; + if (blob.size > maxSize) { + context.globalCompositeOperation = 'destination-over'; + context.fillStyle = '#fff'; + context.fillRect(0, 0, canvas.width, canvas.height); + blob = await encode(canvas, 'image/jpeg', 0.85); + type = 'image/jpeg'; + } + if (blob.size >= file.size && scale === 1) { + return file; + } + const base = file.name.replace(/\.[^.]+$/, ''); + const name = type === file.type ? file.name : `${base}.jpg`; + return new File([blob], name, {type, lastModified: file.lastModified}); +}; diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.html new file mode 100644 index 0000000000..f8967bbc3a --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.html @@ -0,0 +1,48 @@ + +
    + @for (item of shown; track item.key) { +
    + @if (item.image) { + @if (item.url$ | async; as url) { + + } @else { + image + } + } @else { +
    {{ icon(item.mediaType, item.name) }}
    +
    + {{ item.name }} + {{ extension(item.name) }}@if (extension(item.name)) { · }{{ item.size | fileSize }} +
    + } + @if (item.status === 'uploading') { +
    + +
    + } @else if (item.status === 'error') { +
    error_outline
    + } + @if (removable) { + + } +
    + } +
    diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.scss b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.scss new file mode 100644 index 0000000000..0e7ca14fd2 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.scss @@ -0,0 +1,155 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +:host { + display: block; + max-width: 100%; + + .attachments { + display: flex; + flex-wrap: wrap; + gap: 8px; + justify-content: inherit; + } + + .attachment { + position: relative; + display: flex; + align-items: center; + border-radius: 10px; + border: 1px solid rgba(0, 0, 0, 0.12); + background: #fff; + overflow: hidden; + flex: none; + + &.clickable { + cursor: pointer; + + &:hover { + border-color: var(--tb-primary-500); + } + } + + &.image { + width: 64px; + height: 64px; + justify-content: center; + background: rgba(0, 0, 0, 0.04); + + img { + width: 100%; + height: 100%; + object-fit: cover; + } + + .placeholder { + color: rgba(0, 0, 0, 0.38); + } + } + + &.file { + gap: 8px; + height: 48px; + max-width: 220px; + padding: 0 28px 0 8px; + + .file-icon { + display: flex; + align-items: center; + justify-content: center; + flex: none; + width: 32px; + height: 32px; + border-radius: 8px; + color: var(--tb-primary-500); + position: relative; + + &:before { + content: ""; + position: absolute; + inset: 0; + border-radius: inherit; + background: var(--tb-primary-500); + opacity: 0.1; + } + + mat-icon { + font-size: 20px; + width: 20px; + height: 20px; + } + } + + .file-meta { + display: flex; + flex-direction: column; + min-width: 0; + line-height: 16px; + + .file-name { + font-size: 13px; + color: rgba(0, 0, 0, 0.87); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + + .file-info { + font-size: 11px; + color: rgba(0, 0, 0, 0.54); + white-space: nowrap; + } + } + } + + &.failed { + border-color: rgba(209, 39, 48, 0.6); + } + + .state { + position: absolute; + inset: 0; + display: flex; + align-items: center; + justify-content: center; + background: rgba(255, 255, 255, 0.7); + + .error-icon { + color: rgb(209, 39, 48); + } + } + + .remove { + position: absolute; + top: 4px; + right: 4px; + width: 20px; + height: 20px; + padding: 0; + border: none; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + color: #fff; + background: rgba(0, 0, 0, 0.6); + opacity: 0.9; + + &:hover { + opacity: 1; + background: rgba(0, 0, 0, 0.8); + } + + mat-icon { + font-size: 14px; + width: 14px; + height: 14px; + } + } + + &.file .remove { + top: 50%; + transform: translateY(-50%); + } + } +} diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.ts new file mode 100644 index 0000000000..30260b230f --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.ts @@ -0,0 +1,78 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core'; +import { MatDialog } from '@angular/material/dialog'; +import { AiResourceInfo, isAiImageResource } from '@shared/models/ai-chat.models'; +import { AiResourceService } from '@core/http/ai-resource.service'; +import { + aiAttachmentExtension, + aiAttachmentIcon, + AiAttachmentItem +} from '@home/components/ai/ai-attachment.models'; +import { + AiAttachmentPreviewDialogComponent, + AiAttachmentPreviewDialogData +} from '@home/components/ai/ai-attachment-preview-dialog.component'; + +@Component({ + selector: 'tb-ai-attachments', + templateUrl: './ai-attachments.component.html', + styleUrls: ['./ai-attachments.component.scss'], + standalone: false +}) +export class AiAttachmentsComponent implements OnChanges { + + @Input() resources: AiResourceInfo[]; + + @Input() items: AiAttachmentItem[]; + + @Input() removable = false; + + @Output() removed = new EventEmitter(); + + shown: AiAttachmentItem[] = []; + + readonly icon = aiAttachmentIcon; + + readonly extension = aiAttachmentExtension; + + constructor(private aiResourceService: AiResourceService, + private dialog: MatDialog) { + } + + ngOnChanges(changes: SimpleChanges): void { + if (changes.items || changes.resources) { + this.shown = this.items ?? (this.resources ?? []).map(resource => ({ + key: resource.id, + name: resource.name, + mediaType: resource.mediaType, + size: resource.size, + image: isAiImageResource(resource), + url$: isAiImageResource(resource) ? this.aiResourceService.getUrl(resource.id) : undefined, + resource, + status: 'ready' + })); + } + } + + open(item: AiAttachmentItem): void { + if (item.status === 'uploading' || item.status === 'error') { + return; + } + if (item.image && item.url$) { + this.dialog.open(AiAttachmentPreviewDialogComponent, { + panelClass: ['tb-dialog', 'tb-ai-attachment-preview-dialog'], + maxWidth: '92vw', + data: {item} + }); + } else if (item.resource) { + this.aiResourceService.download(item.resource).subscribe({error: () => {}}); + } + } + + remove(event: Event, item: AiAttachmentItem): void { + event.stopPropagation(); + this.removed.emit(item); + } + +} diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html index 6aa2044848..348db6778f 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html @@ -7,7 +7,12 @@ @for (msg of messages; track $index) { @if (msg.from === 'USER') {
    -
    {{ msg.content }}
    + @if (msg.resources?.length) { + + } + @if (msg.content) { +
    {{ msg.content }}
    + }
    } @else {
    diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.scss b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.scss index ca71bcf0e0..c9b42e734e 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.scss +++ b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.scss @@ -15,7 +15,22 @@ .user { display: flex; - justify-content: end; + flex-direction: column; + align-items: flex-end; + gap: 6px; + + .user-attachments { + max-width: 80%; + + ::ng-deep .attachments { + justify-content: flex-end; + + .attachment.image { + width: 120px; + height: 90px; + } + } + } .msg { max-width: 80%; diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.html index ad930b3c4b..04682fe714 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.html @@ -5,26 +5,48 @@ -->
    - + @if (attachments().length) { + + + } + - +
    + @if (attachEnabled()) { + + + } + + +
    diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss index 5eabeb4234..479a9779cf 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss @@ -4,27 +4,59 @@ width: 100%; .prompt-input { - border-radius: 12px; + border-radius: 16px; border: 1px solid rgba(0, 0, 0, 0.2); background-color: #fff; - position: relative; display: flex; + flex-direction: column; flex: 1; + transition: border-color 0.15s ease, box-shadow 0.15s ease; --mat-form-field-outlined-outline-width: 0px; --mat-form-field-outlined-focus-outline-width: 0px; - .send-button { - position: absolute; - right: 10px; - bottom: 10px; + &:focus-within { + border-color: rgba(0, 0, 0, 0.32); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); + } + + .pending-attachments { + padding: 12px 12px 0; + } + + .prompt-field { + width: 100%; + } + + .prompt-toolbar { + display: flex; + align-items: center; + gap: 4px; + padding: 0 8px 8px; + } + + .attach-button { + color: rgba(0, 0, 0, 0.6); + border: 1px solid rgba(0, 0, 0, 0.16); + + &:hover { + color: rgba(0, 0, 0, 0.87); + border-color: rgba(0, 0, 0, 0.32); + } } } } :host::ng-deep { - .prompt-input { + .prompt-input .prompt-field { .mdc-text-field--outlined { - padding-right: 8px; + padding-left: 16px; + padding-right: 16px; + } + + .mat-mdc-form-field-infix { + padding-top: 14px; + padding-bottom: 6px; + min-height: 0; } } } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts index 57efd86bcf..422e510d36 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts @@ -1,8 +1,46 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 -import { Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core'; +import { + AfterViewInit, + Component, + computed, + ElementRef, + EventEmitter, + inject, + Input, + OnChanges, + OnDestroy, + Output, + Renderer2, + signal, + SimpleChanges, + untracked, + ViewChild +} from '@angular/core'; import { FormControl } from '@angular/forms'; import { CdkTextareaAutosize } from '@angular/cdk/text-field'; +import { toSignal } from '@angular/core/rxjs-interop'; +import { of, Subscription } from 'rxjs'; +import { Store } from '@ngrx/store'; +import { TranslateService } from '@ngx-translate/core'; +import { DomSanitizer } from '@angular/platform-browser'; +import { AppState } from '@core/core.state'; +import { ActionNotificationShow } from '@core/notification/notification.actions'; +import { guid, isNotEmptyStr, parseHttpErrorMessage } from '@core/utils'; +import { AiResourceService } from '@core/http/ai-resource.service'; +import { AiPromptMessage, AiResourceConfig } from '@shared/models/ai-chat.models'; +import { FileSizePipe } from '@shared/pipe/file-size.pipe'; +import { + AiAttachmentItem, + fitAiImage, + isAiAttachmentAccepted, + namePastedImage +} from '@home/components/ai/ai-attachment.models'; + +interface PendingAttachment extends AiAttachmentItem { + previewUrl?: string; + upload?: Subscription; +} @Component({ selector: 'tb-ai-prompt-input', @@ -10,20 +48,66 @@ import { CdkTextareaAutosize } from '@angular/cdk/text-field'; styleUrls: ['./ai-prompt-input.component.scss'], standalone: false }) -export class AiPromptInputComponent { +export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestroy { + + private aiResourceService = inject(AiResourceService); + private store = inject>(Store); + private translate = inject(TranslateService); + private sanitizer = inject(DomSanitizer); + private renderer = inject(Renderer2); + private host = inject>(ElementRef); + private fileSize = new FileSizePipe(); @Input() placeholder = ''; @Input() loading: boolean; - @Output() messageSent = new EventEmitter(); + @Input() toastTarget: string; + + @Input() dropZone: HTMLElement; + + @Output() messageSent = new EventEmitter(); @ViewChild('autosize') autosize!: CdkTextareaAutosize; @ViewChild('textarea') textarea!: ElementRef; + @ViewChild('fileInput') fileInput!: ElementRef; + message = new FormControl(''); + config = toSignal(this.aiResourceService.getConfig(), {initialValue: null as AiResourceConfig | null}); + + attachments = signal([]); + + attachEnabled = computed(() => !!this.config()); + + accept = computed(() => this.config()?.extensions.join(',') ?? ''); + + uploading = computed(() => this.attachments().some(attachment => attachment.status === 'uploading')); + + private dropTarget: HTMLElement; + private dropOverlay: HTMLElement; + private dragDepth = 0; + private unlisten: Array<() => void> = []; + + ngOnChanges(changes: SimpleChanges): void { + if (changes.dropZone) { + this.listenForDrops(this.dropZone ?? this.host.nativeElement); + } + } + + ngAfterViewInit(): void { + if (!this.dropTarget) { + this.listenForDrops(this.host.nativeElement); + } + } + + ngOnDestroy(): void { + this.stopListening(); + this.clearAttachments(true); + } + onEnter(event: Event): void { const ke = event as KeyboardEvent; if (!ke.shiftKey) { @@ -33,17 +117,19 @@ export class AiPromptInputComponent { } send(): void { - const msg = this.message.value?.trim(); - if (msg && !this.loading) { - this.reset(); - this.messageSent.emit(msg); + const msg = this.message.value?.trim() ?? ''; + const ready = this.attachments().filter(attachment => attachment.status === 'ready'); + if (this.loading || this.uploading() || (!msg && !ready.length)) { + return; } + this.clearText(); + this.clearAttachments(false); + this.messageSent.emit({message: msg, resources: ready.map(attachment => attachment.resource)}); } reset(): void { - this.message.reset(''); - // Not autosize.reset(): it restores a height captured before the placeholder was known. - this.autosize?.resizeToFitContent(true); + this.clearText(); + this.clearAttachments(true); } focus(): void { @@ -57,4 +143,219 @@ export class AiPromptInputComponent { this.autosize?.resizeToFitContent(true); }); } + + openFilePicker(): void { + this.fileInput?.nativeElement.click(); + } + + onFilesPicked(event: Event): void { + const input = event.target as HTMLInputElement; + this.addFiles(Array.from(input.files ?? [])); + input.value = ''; + } + + onPaste(event: ClipboardEvent): void { + const files = Array.from(event.clipboardData?.files ?? []); + if (files.length && this.attachEnabled()) { + event.preventDefault(); + this.addFiles(files.map(namePastedImage)); + } + } + + removeAttachment(item: AiAttachmentItem): void { + const attachment = this.attachments().find(candidate => candidate.key === item.key); + if (!attachment) { + return; + } + this.discard(attachment); + this.attachments.update(list => list.filter(candidate => candidate !== attachment)); + } + + async addFiles(files: File[]): Promise { + const config = this.config(); + if (!config || !files.length) { + return; + } + for (const original of files) { + if (this.attachments().length >= config.maxPerMessage) { + this.showError(this.translate.instant('ai-assistant.attachments-limit', {count: config.maxPerMessage})); + return; + } + if (!isAiAttachmentAccepted(original, config.extensions)) { + this.showError(this.translate.instant('ai-assistant.attachment-not-supported', {name: original.name})); + continue; + } + const file = await fitAiImage(original, config.maxSize); + if (file.size > config.maxSize) { + this.showError(this.translate.instant('ai-assistant.attachment-too-large', + {name: original.name, size: this.fileSize.transform(config.maxSize)})); + continue; + } + this.startUpload(file, config); + } + } + + private startUpload(file: File, config: AiResourceConfig): void { + const image = ['image/png', 'image/jpeg', 'image/webp'].includes(file.type); + const previewUrl = image ? URL.createObjectURL(file) : undefined; + const attachment: PendingAttachment = { + key: guid(), + name: file.name, + mediaType: file.type || config.mediaTypes[0], + size: file.size, + image, + previewUrl, + url$: previewUrl ? of(previewUrl) : undefined, + status: 'uploading', + progress: 0 + }; + this.attachments.update(list => [...list, attachment]); + const upload = this.aiResourceService.upload(file).subscribe({ + next: event => { + if (event.type === 'progress') { + this.patch(attachment.key, {progress: event.progress}); + } else { + if (previewUrl) { + this.aiResourceService.rememberUrl(event.resource.id, previewUrl); + } + this.patch(attachment.key, {status: 'ready', resource: event.resource, progress: 100}); + } + }, + error: error => { + this.patch(attachment.key, {status: 'error'}); + this.showError(this.errorMessage(error, file.name)); + } + }); + this.patch(attachment.key, {upload}); + } + + private patch(key: string, changes: Partial): void { + this.attachments.update(list => list.map(attachment => attachment.key === key ? {...attachment, ...changes} : attachment)); + } + + private clearText(): void { + this.message.reset(''); + // Not autosize.reset(): it restores a height captured before the placeholder was known. + this.autosize?.resizeToFitContent(true); + } + + private clearAttachments(discard: boolean): void { + const attachments = untracked(() => this.attachments()); + if (!attachments.length) { + return; + } + if (discard) { + attachments.forEach(attachment => this.discard(attachment)); + } + this.attachments.set([]); + } + + private discard(attachment: PendingAttachment): void { + attachment.upload?.unsubscribe(); + if (attachment.resource) { + this.aiResourceService.delete(attachment.resource.id).subscribe({error: () => {}}); + } + if (attachment.previewUrl) { + URL.revokeObjectURL(attachment.previewUrl); + } + } + + private errorMessage(error: any, name: string): string { + const responseType = isNotEmptyStr(error?.error) ? 'text' : undefined; + const message = error ? parseHttpErrorMessage(error, this.translate, responseType, this.sanitizer).message : null; + return message || this.translate.instant('ai-assistant.attachment-upload-failed', {name}); + } + + private showError(message: string): void { + this.store.dispatch(new ActionNotificationShow({ + message, + target: this.toastTarget, + modern: true, + type: 'error', + verticalPosition: 'bottom', + horizontalPosition: 'center' + })); + } + + private listenForDrops(target: HTMLElement): void { + this.stopListening(); + this.dropTarget = target; + const hasFiles = (event: DragEvent) => Array.from(event.dataTransfer?.types ?? []).includes('Files'); + this.unlisten = [ + this.renderer.listen(target, 'dragenter', (event: DragEvent) => { + if (!hasFiles(event) || !this.attachEnabled()) { + return; + } + event.preventDefault(); + if (this.dragDepth++ === 0) { + this.showDropOverlay(); + } + }), + this.renderer.listen(target, 'dragover', (event: DragEvent) => { + if (hasFiles(event) && this.attachEnabled()) { + event.preventDefault(); + event.dataTransfer.dropEffect = 'copy'; + } + }), + this.renderer.listen(target, 'dragleave', (event: DragEvent) => { + if (hasFiles(event) && this.dragDepth > 0 && --this.dragDepth === 0) { + this.hideDropOverlay(); + } + }), + this.renderer.listen(target, 'drop', (event: DragEvent) => { + if (!hasFiles(event) || !this.attachEnabled()) { + return; + } + event.preventDefault(); + this.dragDepth = 0; + this.hideDropOverlay(); + this.addFiles(Array.from(event.dataTransfer.files ?? [])); + }) + ]; + } + + private stopListening(): void { + this.unlisten.forEach(unlisten => unlisten()); + this.unlisten = []; + this.dragDepth = 0; + this.hideDropOverlay(); + } + + private showDropOverlay(): void { + if (this.dropOverlay || !this.dropTarget) { + return; + } + const overlay: HTMLElement = this.renderer.createElement('div'); + overlay.className = 'tb-ai-drop-overlay'; + Object.assign(overlay.style, { + position: 'absolute', inset: '8px', zIndex: '20', display: 'flex', flexDirection: 'column', gap: '8px', + alignItems: 'center', justifyContent: 'center', borderRadius: '12px', pointerEvents: 'none', + border: '2px dashed var(--tb-primary-500)', background: 'rgba(255, 255, 255, 0.92)', + color: 'var(--tb-primary-500)', fontSize: '16px', fontWeight: '500', textAlign: 'center', padding: '16px' + }); + const icon: HTMLElement = this.renderer.createElement('span'); + icon.className = 'material-icons'; + icon.style.fontSize = '40px'; + icon.textContent = 'upload_file'; + const title: HTMLElement = this.renderer.createElement('span'); + title.textContent = this.translate.instant('ai-assistant.drop-files'); + const hint: HTMLElement = this.renderer.createElement('span'); + Object.assign(hint.style, {fontSize: '13px', fontWeight: '400', color: 'rgba(0, 0, 0, 0.54)'}); + hint.textContent = this.translate.instant('ai-assistant.attachments-hint', + {size: this.fileSize.transform(this.config()?.maxSize ?? 0)}); + overlay.append(icon, title, hint); + if (getComputedStyle(this.dropTarget).position === 'static') { + this.renderer.setStyle(this.dropTarget, 'position', 'relative'); + } + this.renderer.appendChild(this.dropTarget, overlay); + this.dropOverlay = overlay; + } + + private hideDropOverlay(): void { + if (this.dropOverlay) { + this.dropOverlay.remove(); + this.dropOverlay = null; + } + } + } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai.module.ts b/ui-ngx/src/app/modules/home/components/ai/ai.module.ts index 3d873e174f..41c417bf77 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai.module.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai.module.ts @@ -12,6 +12,8 @@ import { AiCreditsComponent } from '@home/components/ai/ai-credits.component'; import { AiCreditsPopupComponent } from '@home/components/ai/ai-credits-popup.component'; import { AiLoadingModalComponent } from '@home/components/ai/ai-loading-modal.component'; import { AiNoTelemetryModalComponent } from '@home/components/ai/ai-no-telemetry-modal.component'; +import { AiAttachmentsComponent } from '@home/components/ai/ai-attachments.component'; +import { AiAttachmentPreviewDialogComponent } from '@home/components/ai/ai-attachment-preview-dialog.component'; @NgModule({ declarations: [ @@ -23,7 +25,9 @@ import { AiNoTelemetryModalComponent } from '@home/components/ai/ai-no-telemetry AiCreditsComponent, AiCreditsPopupComponent, AiLoadingModalComponent, - AiNoTelemetryModalComponent + AiNoTelemetryModalComponent, + AiAttachmentsComponent, + AiAttachmentPreviewDialogComponent ], imports: [ CommonModule, @@ -37,7 +41,8 @@ import { AiNoTelemetryModalComponent } from '@home/components/ai/ai-no-telemetry AiRenameDialogComponent, AiCreditsComponent, AiLoadingModalComponent, - AiNoTelemetryModalComponent + AiNoTelemetryModalComponent, + AiAttachmentsComponent ] }) export class AiModule {} diff --git a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html index 09bd0a1763..e62faa3ee5 100644 --- a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html +++ b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html @@ -38,7 +38,7 @@ @switch (creatorStep()) { @case ('chat') {
    -
    @if (isInitialEmpty()) {
    @@ -72,6 +72,8 @@ @if (isInitialEmpty()) { diff --git a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.ts b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.ts index 0592b8270c..8dd5e75b91 100644 --- a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.ts +++ b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.ts @@ -16,6 +16,7 @@ import { SolutionStepStatus } from '@shared/models/solution-creator.models'; import { AiPromptInputComponent } from '@home/components/ai/ai-prompt-input.component'; +import { AiPromptMessage } from '@shared/models/ai-chat.models'; import { SolutionsCreatorService } from '@core/http/solutions-creator.service'; import { catchError, @@ -507,7 +508,7 @@ export class SolutionCreatorComponent extends PageComponent implements OnInit, O startCreateSolution(key: string) { const example = this.solutionExamples.find(ex => ex.key === key); if (example) { - this.sendMsgFromUser(example.message); + this.sendMsgFromUser({message: example.message, resources: []}); } } @@ -531,7 +532,7 @@ export class SolutionCreatorComponent extends PageComponent implements OnInit, O }).afterClosed().subscribe(() => {}); } - private sendMessage(msg: string): Observable { + private sendMessage(msg: string, resources: string[] = []): Observable { this.initLoadingState(); const startOrContinue$ = this.solutionId @@ -550,7 +551,7 @@ export class SolutionCreatorComponent extends PageComponent implements OnInit, O return startOrContinue$.pipe( switchMap(() => - this.solutionCreator.chatSolution(this.solutionId, this.solutionStep(), msg, {ignoreLoading: true, ignoreErrors: true}) + this.solutionCreator.chatSolution(this.solutionId, this.solutionStep(), msg, {ignoreLoading: true, ignoreErrors: true}, resources) ), tap(solution => { this.solutionInfo = solution; @@ -709,9 +710,11 @@ export class SolutionCreatorComponent extends PageComponent implements OnInit, O this.sendMessage('').subscribe(() => {}); } - sendMsgFromUser(msg: string): void { - this.messages.update(list => [...list, {from: 'USER', content: msg}]); - this.sendMessage(msg).subscribe(() => {}); + sendMsgFromUser(prompt: AiPromptMessage): void { + this.messages.update(list => [...list, prompt.resources.length + ? {from: 'USER', content: prompt.message, resources: prompt.resources} + : {from: 'USER', content: prompt.message}]); + this.sendMessage(prompt.message, prompt.resources.map(resource => resource.id)).subscribe(() => {}); } private initLoadingState(): void { diff --git a/ui-ngx/src/app/shared/models/ai-chat.models.ts b/ui-ngx/src/app/shared/models/ai-chat.models.ts index 988f370fec..1ee675c627 100644 --- a/ui-ngx/src/app/shared/models/ai-chat.models.ts +++ b/ui-ngx/src/app/shared/models/ai-chat.models.ts @@ -138,8 +138,31 @@ export interface AiChatClientContext { export interface SendChatMessageRequest { message: string; clientContext?: AiChatClientContext; + resources?: string[]; } +export interface AiResourceInfo { + id: string; + name: string; + mediaType: string; + size: number; +} + +export interface AiResourceConfig { + maxSize: number; + maxPerMessage: number; + mediaTypes: string[]; + extensions: string[]; +} + +export interface AiPromptMessage { + message: string; + resources: AiResourceInfo[]; +} + +export const isAiImageResource = (resource: Pick): boolean => + ['image/png', 'image/jpeg', 'image/webp'].includes(resource.mediaType); + export interface AiAssistantViewConfig { listView: AiAssistantViewType; listEntityId?: EntityId; diff --git a/ui-ngx/src/app/shared/models/solution-creator.models.ts b/ui-ngx/src/app/shared/models/solution-creator.models.ts index f3a58718c8..5257dd27fb 100644 --- a/ui-ngx/src/app/shared/models/solution-creator.models.ts +++ b/ui-ngx/src/app/shared/models/solution-creator.models.ts @@ -7,7 +7,7 @@ import { EntityId } from '@shared/models/id/entity-id'; import { BaseData } from '@shared/models/base-data'; import { CalculatedFieldType } from '@shared/models/calculated-field.models'; import { AlarmSeverity } from '@shared/models/alarm.models'; -import { ToolExecutionRequested, ToolExecutionResult } from '@shared/models/ai-chat.models'; +import { ToolExecutionRequested, ToolExecutionResult, AiResourceInfo } from '@shared/models/ai-chat.models'; export interface SolutionInfo { id: string; @@ -178,6 +178,7 @@ export interface GeneralChatMessage { from: 'USER' | 'AI' | 'SYSTEM' | 'GENERATE'; content: string; status?: 'INCOMPLETE'; + resources?: AiResourceInfo[]; } export interface ApprovalChatMessage { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 0a52b2ebf5..0a39075052 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -714,6 +714,15 @@ "thinking": "Thinking...", "connection-lost": "Connection to the AI Assistant was lost. Reconnecting...", "reconnect-failed": "Couldn't reconnect to the AI Assistant. Reopen the chat to see its reply.", + "attach-files": "Attach files", + "drop-files": "Drop files to attach", + "attachments-hint": "Images, PDF, text and Office files up to {{size}} each", + "remove-attachment": "Remove attachment", + "attachment-failed": "Upload failed", + "attachment-upload-failed": "Failed to upload {{name}}", + "attachment-not-supported": "{{name}} can't be attached: use images (PNG, JPEG, WebP), PDF, text files or Word, Excel and PowerPoint documents", + "attachment-too-large": "{{name}} is larger than {{size}}", + "attachments-limit": "A message can carry at most {{count}} files", "rename-chat-title": "Rename this chat", "export-chat": "Export chat", "main-title": "Hello! I'm your AI Assistant" From 4a4e42750d291f23831ec8bf7836f0532dcfe4d9 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Mon, 26 Oct 2026 17:09:14 +0200 Subject: [PATCH 308/559] fix: AI Assistant panel keeps loading chat history after a failed load, showing the error instead of ignoring every later chat selection until the page reloads --- .../components/ai/ai-assistant-panel.component.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts index c9fec14c1d..9b68272d22 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts @@ -14,8 +14,8 @@ import { ViewChild } from '@angular/core'; import { ApprovalChatMessage, ChatMessage } from '@shared/models/solution-creator.models'; -import { Observable, of, Subject, throwError, timer } from 'rxjs'; -import { concatMap, finalize, retry, switchMap, takeUntil, tap } from 'rxjs/operators'; +import { EMPTY, Observable, of, Subject, throwError, timer } from 'rxjs'; +import { catchError, concatMap, finalize, retry, switchMap, takeUntil, tap } from 'rxjs/operators'; import { HttpErrorResponse } from '@angular/common/http'; import { AiChatService } from '@core/http/ai-chat.service'; import { @@ -184,9 +184,12 @@ export class AiAssistantPanelComponent implements OnInit { ngOnInit() { this.loadChat$.pipe( - switchMap(id => { - return this.aiChat.getChatMessages(id, {ignoreLoading: true, ignoreErrors: true}); - }), + switchMap(id => this.aiChat.getChatMessages(id, {ignoreLoading: true, ignoreErrors: true}).pipe( + catchError(err => { + this.showErrorMessage(err); + return EMPTY; + }) + )), takeUntilDestroyed(this.destroyRef) ).subscribe(messages => { this.showHistory(messages); From 979e2d5f8130fc0781c222e3884e940632d5a83f Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 26 Oct 2026 16:29:13 +0100 Subject: [PATCH 309/559] Check user tenant before sending user to edge --- .../service/edge/rpc/processor/user/UserEdgeProcessor.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java index a2f8b9abd0..6e5b0c1b54 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java @@ -29,7 +29,7 @@ public class UserEdgeProcessor extends BaseEdgeProcessor { switch (edgeEvent.getAction()) { case ADDED, UPDATED -> { User user = edgeCtx.getUserService().findUserById(edgeEvent.getTenantId(), userId); - if (user != null) { + if (user != null && edgeEvent.getTenantId().equals(user.getTenantId())) { UpdateMsgType msgType = getUpdateMsgType(edgeEvent.getAction()); DownlinkMsg.Builder builder = DownlinkMsg.newBuilder() .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) @@ -48,6 +48,9 @@ public class UserEdgeProcessor extends BaseEdgeProcessor { .build(); } case CREDENTIALS_UPDATED -> { + if (!isEntityExists(edgeEvent.getTenantId(), userId)) { + return null; + } UserCredentials userCredentialsByUserId = edgeCtx.getUserService().findUserCredentialsByUserId(edgeEvent.getTenantId(), userId); if (userCredentialsByUserId != null && userCredentialsByUserId.isEnabled()) { UserCredentialsUpdateMsg userCredentialsUpdateMsg = EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentialsByUserId); From 8f963e63a0fb9e39875134745acc3282c0ee45e8 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 26 Oct 2026 16:29:13 +0100 Subject: [PATCH 310/559] Check entity tenant in edge uplink msgs processing --- .../edge/rpc/processor/BaseEdgeProcessor.java | 16 +++- .../processor/alarm/BaseAlarmProcessor.java | 12 ++- .../processor/asset/AssetEdgeProcessor.java | 2 +- .../processor/asset/BaseAssetProcessor.java | 2 + .../profile/BaseAssetProfileProcessor.java | 2 + .../cf/BaseCalculatedFieldProcessor.java | 14 +++ .../cf/CalculatedFieldEdgeProcessor.java | 2 +- .../dashboard/BaseDashboardProcessor.java | 2 + .../dashboard/DashboardEdgeProcessor.java | 2 +- .../processor/device/BaseDeviceProcessor.java | 2 + .../processor/device/DeviceEdgeProcessor.java | 10 +- .../profile/BaseDeviceProfileProcessor.java | 2 + .../entityview/BaseEntityViewProcessor.java | 6 ++ .../entityview/EntityViewEdgeProcessor.java | 2 +- .../relation/BaseRelationProcessor.java | 4 +- .../resource/BaseResourceProcessor.java | 2 + .../rule/BaseRuleChainProcessor.java | 7 ++ .../rule/RuleChainEdgeProcessor.java | 2 +- .../server/edge/AbstractEdgeTest.java | 17 ++++ .../server/edge/AlarmEdgeTest.java | 17 ++++ .../server/edge/CalculatedFieldEdgeTest.java | 18 ++++ .../server/edge/DashboardEdgeTest.java | 18 ++++ .../server/edge/DeviceEdgeTest.java | 50 ++++++++++ .../server/edge/EntityViewEdgeTest.java | 17 ++++ .../server/edge/RelationEdgeTest.java | 35 +++++++ .../server/edge/RequestMsgEdgeTest.java | 94 ------------------- .../server/edge/ResourceEdgeTest.java | 17 ++++ .../server/edge/RuleChainEdgeTest.java | 41 ++++++++ .../server/edge/TelemetryEdgeTest.java | 40 ++++++++ .../thingsboard/server/edge/UserEdgeTest.java | 11 +++ 30 files changed, 362 insertions(+), 104 deletions(-) delete mode 100644 application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java index 2219e88692..f58150d2f8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java @@ -12,6 +12,7 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.EdgeUtils; import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventActionType; @@ -40,6 +41,7 @@ import org.thingsboard.server.common.msg.TbMsgDataType; import org.thingsboard.server.common.msg.TbMsgMetaData; import org.thingsboard.server.dao.edge.EdgeSynchronizationManager; import org.thingsboard.server.dao.entity.EntityDaoRegistry; +import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.transport.TransportProtos; import org.thingsboard.server.queue.TbQueueCallback; @@ -323,7 +325,19 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { } protected boolean isEntityExists(TenantId tenantId, EntityId entityId) { - return entityDaoRegistry.getDao(entityId.getEntityType()).existsById(tenantId, entityId.getId()); + return tenantId.equals(findEntityTenantId(tenantId, entityId)); + } + + protected void checkEntityTenant(TenantId tenantId, EntityId entityId) { + TenantId entityTenantId = findEntityTenantId(tenantId, entityId); + if (entityTenantId != null && !tenantId.equals(entityTenantId)) { + throw new DataValidationException(entityId.getEntityType() + " " + entityId.getId() + " belongs to a different tenant!"); + } + } + + private TenantId findEntityTenantId(TenantId tenantId, EntityId entityId) { + Object entity = entityDaoRegistry.getDao(entityId.getEntityType()).findById(tenantId, entityId.getId()); + return entity instanceof HasTenantId hasTenantId ? hasTenantId.getTenantId() : null; } protected void createRelationFromEdge(TenantId tenantId, EdgeId edgeId, EntityId entityId) { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java index 1b9502a090..7c8a5675b3 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java @@ -43,11 +43,13 @@ public abstract class BaseAlarmProcessor extends BaseEdgeProcessor { if (alarm == null) { throw new RuntimeException("[{" + tenantId + "}] alarmUpdateMsg {" + alarmUpdateMsg + "} cannot be converted to alarm"); } - if (alarm.getOriginator() == null) { + if (alarm.getOriginator() == null || !isEntityExists(tenantId, alarm.getOriginator())) { log.warn("[{}] Originator not found for the alarm msg {}", tenantId, alarmUpdateMsg); return Futures.immediateFuture(null); } + alarm.setTenantId(tenantId); try { + checkEntityTenant(tenantId, alarmId); switch (alarmUpdateMsg.getMsgType()) { case ENTITY_CREATED_RPC_MESSAGE: edgeCtx.getAlarmService().createAlarm(AlarmCreateOrUpdateActiveRequest.fromAlarm(alarm, null, alarmId)); @@ -92,9 +94,15 @@ public abstract class BaseAlarmProcessor extends BaseEdgeProcessor { } try { Alarm alarm = edgeCtx.getAlarmService().findAlarmById(tenantId, new AlarmId(alarmComment.getAlarmId().getId())); - if (alarm == null) { + if (alarm == null || !tenantId.equals(alarm.getTenantId())) { return Futures.immediateFuture(null); } + if (alarmComment.getId() != null) { + AlarmComment alarmCommentById = edgeCtx.getAlarmCommentService().findAlarmCommentById(tenantId, alarmComment.getId()); + if (alarmCommentById != null && !alarm.getId().equals(alarmCommentById.getAlarmId())) { + return Futures.immediateFuture(null); + } + } switch (alarmCommentUpdateMsg.getMsgType()) { case ENTITY_CREATED_RPC_MESSAGE: alarmCommentDao.save(tenantId, alarmComment); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java index fbc5a0fab9..376504a4fe 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java @@ -49,7 +49,7 @@ public class AssetEdgeProcessor extends BaseAssetProcessor implements AssetProce return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: Asset assetToDelete = edgeCtx.getAssetService().findAssetById(tenantId, assetId); - if (assetToDelete != null) { + if (assetToDelete != null && tenantId.equals(assetToDelete.getTenantId())) { edgeCtx.getAssetService().unassignAssetFromEdge(tenantId, assetId, edge.getId()); } return Futures.immediateFuture(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/BaseAssetProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/BaseAssetProcessor.java index 2570a21f70..f328e66d31 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/BaseAssetProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/BaseAssetProcessor.java @@ -30,6 +30,8 @@ public abstract class BaseAssetProcessor extends BaseEdgeProcessor { if (asset == null) { throw new RuntimeException("[{" + tenantId + "}] assetUpdateMsg {" + assetUpdateMsg + " } cannot be converted to asset"); } + checkEntityTenant(tenantId, assetId); + asset.setTenantId(tenantId); Asset assetById = edgeCtx.getAssetService().findAssetById(tenantId, assetId); if (assetById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/profile/BaseAssetProfileProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/profile/BaseAssetProfileProcessor.java index 733a41d93e..098b9ab5ba 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/profile/BaseAssetProfileProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/profile/BaseAssetProfileProcessor.java @@ -31,6 +31,8 @@ public abstract class BaseAssetProfileProcessor extends BaseEdgeProcessor { if (assetProfile == null) { throw new RuntimeException("[{" + tenantId + "}] assetProfileUpdateMsg {" + assetProfileUpdateMsg + "} cannot be converted to asset profile"); } + checkEntityTenant(tenantId, assetProfileId); + assetProfile.setTenantId(tenantId); AssetProfile assetProfileById = edgeCtx.getAssetProfileService().findAssetProfileById(tenantId, assetProfileId); if (assetProfileById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/BaseCalculatedFieldProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/BaseCalculatedFieldProcessor.java index d868f0e96f..b5bfeacde1 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/BaseCalculatedFieldProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/BaseCalculatedFieldProcessor.java @@ -10,7 +10,9 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.cf.CalculatedField; import org.thingsboard.server.common.data.id.CalculatedFieldId; +import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.dao.service.DataValidator; import org.thingsboard.server.gen.edge.v1.CalculatedFieldUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; @@ -30,6 +32,18 @@ public abstract class BaseCalculatedFieldProcessor extends BaseEdgeProcessor { throw new RuntimeException("[{" + tenantId + "}] calculatedFieldUpdateMsg {" + calculatedFieldUpdateMsg + " } cannot be converted to calculatedField"); } + checkEntityTenant(tenantId, calculatedFieldId); + calculatedField.setTenantId(tenantId); + if (calculatedField.getEntityId() == null || !isEntityExists(tenantId, calculatedField.getEntityId())) { + throw new DataValidationException("Calculated field is referencing to non-existent entity!"); + } + if (calculatedField.getConfiguration() != null) { + for (EntityId referencedEntityId : calculatedField.getConfiguration().getReferencedEntities()) { + if (!isEntityExists(tenantId, referencedEntityId)) { + throw new DataValidationException("Calculated field argument is referencing to non-existent entity!"); + } + } + } CalculatedField calculatedFieldById = edgeCtx.getCalculatedFieldService().findById(tenantId, calculatedFieldId); if (calculatedFieldById == null) { calculatedField.setCreatedTime(Uuids.unixTimestamp(calculatedFieldId.getId())); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/CalculatedFieldEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/CalculatedFieldEdgeProcessor.java index fe337e6d70..c2fe4c26ba 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/CalculatedFieldEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/CalculatedFieldEdgeProcessor.java @@ -52,7 +52,7 @@ public class CalculatedFieldEdgeProcessor extends BaseCalculatedFieldProcessor i return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: CalculatedField calculatedField = edgeCtx.getCalculatedFieldService().findById(tenantId, calculatedFieldId); - if (calculatedField != null) { + if (calculatedField != null && tenantId.equals(calculatedField.getTenantId())) { edgeCtx.getCalculatedFieldService().deleteCalculatedField(tenantId, calculatedFieldId); } return Futures.immediateFuture(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/BaseDashboardProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/BaseDashboardProcessor.java index 35ad014e34..67a3b17089 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/BaseDashboardProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/BaseDashboardProcessor.java @@ -33,6 +33,8 @@ public abstract class BaseDashboardProcessor extends BaseEdgeProcessor { if (dashboard.getAssignedCustomers() != null && !dashboard.getAssignedCustomers().isEmpty()) { newAssignedCustomers.addAll(dashboard.getAssignedCustomers()); } + checkEntityTenant(tenantId, dashboardId); + dashboard.setTenantId(tenantId); Dashboard dashboardById = edgeCtx.getDashboardService().findDashboardById(tenantId, dashboardId); if (dashboardById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java index 97a9398d8f..c4913c05c8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java @@ -50,7 +50,7 @@ public class DashboardEdgeProcessor extends BaseDashboardProcessor implements Da return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: Dashboard dashboardToDelete = edgeCtx.getDashboardService().findDashboardById(tenantId, dashboardId); - if (dashboardToDelete != null) { + if (dashboardToDelete != null && tenantId.equals(dashboardToDelete.getTenantId())) { edgeCtx.getDashboardService().unassignDashboardFromEdge(tenantId, dashboardId, edge.getId()); } return Futures.immediateFuture(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java index e066e67bbf..0c5d73cf6f 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java @@ -32,6 +32,8 @@ public abstract class BaseDeviceProcessor extends BaseEdgeProcessor { if (device == null) { throw new RuntimeException("[{" + tenantId + "}] deviceUpdateMsg {" + deviceUpdateMsg + "} cannot be converted to device"); } + checkEntityTenant(tenantId, deviceId); + device.setTenantId(tenantId); Device deviceById = edgeCtx.getDeviceService().findDeviceById(tenantId, deviceId); if (deviceById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index 7ad1125533..6d2a2fe903 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -143,7 +143,7 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr private ListenableFuture processDeviceRpcStatusFromEdge(TenantId tenantId, Edge edge, DeviceRpcCallMsg deviceRpcCallMsg) { RpcId rpcId = new RpcId(new UUID(deviceRpcCallMsg.getRequestUuidMSB(), deviceRpcCallMsg.getRequestUuidLSB())); Rpc existingRpc = edgeCtx.getTbRpcService().findRpcById(tenantId, rpcId); - if (existingRpc == null) { + if (existingRpc == null || !tenantId.equals(existingRpc.getTenantId())) { // RPC is unknown to the cloud (edge-originated or already deleted) - nothing to sync log.debug("[{}][{}] Ignoring RPC status [{}] from edge - RPC not found", tenantId, rpcId, deviceRpcCallMsg.getRpcStatus()); return Futures.immediateFuture(null); @@ -184,6 +184,10 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr SettableFuture futureToSet = SettableFuture.create(); UUID requestUuid = new UUID(deviceRpcCallMsg.getRequestUuidMSB(), deviceRpcCallMsg.getRequestUuidLSB()); DeviceId deviceId = new DeviceId(new UUID(deviceRpcCallMsg.getDeviceIdMSB(), deviceRpcCallMsg.getDeviceIdLSB())); + if (!isEntityExists(tenantId, deviceId)) { + log.warn("[{}] Skipping RPC response because device doesn't exist, {}", tenantId, deviceRpcCallMsg); + return Futures.immediateFuture(null); + } FromDeviceRpcResponse response; if (!StringUtils.isEmpty(deviceRpcCallMsg.getResponseMsg().getError())) { @@ -213,6 +217,10 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr private ListenableFuture processDeviceRpcRequestFromEdge(TenantId tenantId, Edge edge, DeviceRpcCallMsg deviceRpcCallMsg) { DeviceId deviceId = new DeviceId(new UUID(deviceRpcCallMsg.getDeviceIdMSB(), deviceRpcCallMsg.getDeviceIdLSB())); + if (!isEntityExists(tenantId, deviceId)) { + log.warn("[{}] Skipping RPC request because device doesn't exist, {}", tenantId, deviceRpcCallMsg); + return Futures.immediateFuture(null); + } try { TbMsgMetaData metaData = new TbMsgMetaData(); String requestId = Integer.toString(deviceRpcCallMsg.getRequestId()); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/profile/BaseDeviceProfileProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/profile/BaseDeviceProfileProcessor.java index f5191c5544..af1d2b2a91 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/profile/BaseDeviceProfileProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/profile/BaseDeviceProfileProcessor.java @@ -31,6 +31,8 @@ public abstract class BaseDeviceProfileProcessor extends BaseEdgeProcessor { if (deviceProfile == null) { throw new RuntimeException("[{" + tenantId + "}] deviceProfileUpdateMsg {" + deviceProfileUpdateMsg + "} cannot be converted to device profile"); } + checkEntityTenant(tenantId, deviceProfileId); + deviceProfile.setTenantId(tenantId); DeviceProfile deviceProfileById = edgeCtx.getDeviceProfileService().findDeviceProfileById(tenantId, deviceProfileId); if (deviceProfileById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/BaseEntityViewProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/BaseEntityViewProcessor.java index c4c3acdd3d..01e39247a8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/BaseEntityViewProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/BaseEntityViewProcessor.java @@ -11,6 +11,7 @@ import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.EntityViewId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.dao.service.DataValidator; import org.thingsboard.server.gen.edge.v1.EntityViewUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; @@ -28,6 +29,11 @@ public abstract class BaseEntityViewProcessor extends BaseEdgeProcessor { if (entityView == null) { throw new RuntimeException("[{" + tenantId + "}] entityViewUpdateMsg {" + entityViewUpdateMsg + "} cannot be converted to entity view"); } + checkEntityTenant(tenantId, entityViewId); + entityView.setTenantId(tenantId); + if (entityView.getEntityId() == null || !isEntityExists(tenantId, entityView.getEntityId())) { + throw new DataValidationException("Entity view is referencing to non-existent entity!"); + } EntityView entityViewById = edgeCtx.getEntityViewService().findEntityViewById(tenantId, entityViewId); if (entityViewById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java index 5279dd676a..b4eb1a8413 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java @@ -48,7 +48,7 @@ public class EntityViewEdgeProcessor extends BaseEntityViewProcessor implements return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: EntityView entityViewToDelete = edgeCtx.getEntityViewService().findEntityViewById(tenantId, entityViewId); - if (entityViewToDelete != null) { + if (entityViewToDelete != null && tenantId.equals(entityViewToDelete.getTenantId())) { edgeCtx.getEntityViewService().unassignEntityViewFromEdge(tenantId, entityViewId, edge.getId()); } return Futures.immediateFuture(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/relation/BaseRelationProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/relation/BaseRelationProcessor.java index 2d8d863e82..02c2f331e8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/relation/BaseRelationProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/relation/BaseRelationProcessor.java @@ -31,7 +31,9 @@ public abstract class BaseRelationProcessor extends BaseEdgeProcessor { } break; case ENTITY_DELETED_RPC_MESSAGE: - edgeCtx.getRelationService().deleteRelation(tenantId, entityRelation); + if (isEntityExists(tenantId, entityRelation.getTo()) && isEntityExists(tenantId, entityRelation.getFrom())) { + edgeCtx.getRelationService().deleteRelation(tenantId, entityRelation); + } break; case UNRECOGNIZED: default: diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/resource/BaseResourceProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/resource/BaseResourceProcessor.java index 931bbf256a..db6ac5b7d8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/resource/BaseResourceProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/resource/BaseResourceProcessor.java @@ -31,6 +31,8 @@ public abstract class BaseResourceProcessor extends BaseEdgeProcessor { throw new RuntimeException("[{" + tenantId + "}] resourceUpdateMsg {" + resourceUpdateMsg + " } cannot be converted to resource"); } boolean created = false; + checkEntityTenant(tenantId, tbResourceId); + resource.setTenantId(tenantId); TbResource resourceById = edgeCtx.getResourceService().findResourceById(tenantId, tbResourceId); if (resourceById == null) { resource.setCreatedTime(Uuids.unixTimestamp(tbResourceId.getId())); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/BaseRuleChainProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/BaseRuleChainProcessor.java index bbf01ae4b5..45d98bc391 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/BaseRuleChainProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/BaseRuleChainProcessor.java @@ -12,6 +12,7 @@ import org.thingsboard.server.common.data.rule.RuleChain; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.rule.RuleChainType; import org.thingsboard.server.common.data.rule.RuleNode; +import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.dao.service.DataValidator; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataUpdateMsg; import org.thingsboard.server.gen.edge.v1.RuleChainUpdateMsg; @@ -27,6 +28,7 @@ public class BaseRuleChainProcessor extends BaseEdgeProcessor { protected Pair saveOrUpdateRuleChain(TenantId tenantId, RuleChainId ruleChainId, RuleChainUpdateMsg ruleChainUpdateMsg, RuleChainType ruleChainType) { boolean created = false; + checkEntityTenant(tenantId, ruleChainId); RuleChain ruleChainFromDb = edgeCtx.getRuleChainService().findRuleChainById(tenantId, ruleChainId); if (ruleChainFromDb == null) { created = true; @@ -36,6 +38,8 @@ public class BaseRuleChainProcessor extends BaseEdgeProcessor { if (ruleChain == null) { throw new RuntimeException("[{" + tenantId + "}] ruleChainUpdateMsg {" + ruleChainUpdateMsg + "} cannot be converted to rule chain"); } + ruleChain.setTenantId(tenantId); + ruleChain.setId(created ? null : ruleChainId); boolean isRoot = ruleChain.isRoot(); if (RuleChainType.CORE.equals(ruleChainType)) { ruleChain.setRoot(false); @@ -57,6 +61,9 @@ public class BaseRuleChainProcessor extends BaseEdgeProcessor { if (ruleChainMetadata == null) { throw new RuntimeException("[{" + tenantId + "}] ruleChainMetadataUpdateMsg {" + ruleChainMetadataUpdateMsg + "} cannot be converted to rule chain metadata"); } + if (ruleChainMetadata.getRuleChainId() == null || !isEntityExists(tenantId, ruleChainMetadata.getRuleChainId())) { + throw new DataValidationException("Rule chain metadata is referencing to non-existent rule chain!"); + } if (!ruleChainMetadata.getNodes().isEmpty()) { ruleChainMetadata.setVersion(null); for (RuleNode ruleNode : ruleChainMetadata.getNodes()) { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/RuleChainEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/RuleChainEdgeProcessor.java index 2b2a46ffcc..7af9989b6d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/RuleChainEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/RuleChainEdgeProcessor.java @@ -48,7 +48,7 @@ public class RuleChainEdgeProcessor extends BaseRuleChainProcessor { return saveOrUpdateRuleChain(tenantId, ruleChainId, ruleChainUpdateMsg, edge); case ENTITY_DELETED_RPC_MESSAGE: RuleChain ruleChainToDelete = edgeCtx.getRuleChainService().findRuleChainById(tenantId, ruleChainId); - if (ruleChainToDelete != null) { + if (ruleChainToDelete != null && tenantId.equals(ruleChainToDelete.getTenantId())) { edgeCtx.getRuleChainService().unassignRuleChainFromEdge(tenantId, ruleChainId, edge.getId(), false); } return Futures.immediateFuture(null); diff --git a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java index 8066eadde3..d7898a99cb 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java @@ -167,6 +167,7 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { @After public void teardownEdgeTest() { try { + deleteDifferentTenant(); loginTenantAdmin(); doDelete("/api/edge/" + edge.getId().toString()) @@ -608,6 +609,22 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { return savedDevice; } + protected Device saveDifferentTenantDevice() throws Exception { + loginDifferentTenant(); + Device device = new Device(); + device.setName("Different Tenant Device"); + device.setType("default"); + Device savedDevice = doPost("/api/device", device, Device.class); + loginTenantAdmin(); + return savedDevice; + } + + protected void sendUplinkMsgAndVerifyNoDownlink(Consumer customizer) throws Exception { + edgeImitator.expectMessageAmount(1); + sendUplinkMsgAndWaitForResponse(customizer); + Assert.assertFalse(edgeImitator.waitForMessages(5)); + } + protected Device findDeviceByName(String deviceName) throws Exception { List edgeDevices = doGetTypedWithPageLink("/api/edge/" + edge.getUuidId() + "/devices?", new TypeReference>() { diff --git a/application/src/test/java/org/thingsboard/server/edge/AlarmEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AlarmEdgeTest.java index a0db04c912..a7409d27b5 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AlarmEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AlarmEdgeTest.java @@ -27,6 +27,7 @@ import org.thingsboard.server.gen.edge.v1.AlarmCommentUpdateMsg; import org.thingsboard.server.gen.edge.v1.AlarmUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.List; import java.util.Optional; @@ -222,4 +223,20 @@ public class AlarmEdgeTest extends AbstractEdgeTest { return alarmComment; } + @Test + public void testSendAlarmForEntityOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + Alarm alarm = new Alarm(); + alarm.setId(new AlarmId(Uuids.timeBased())); + alarm.setTenantId(differentTenantId); + alarm.setOriginator(device.getId()); + alarm.setType("Edge Alarm"); + alarm.setSeverity(AlarmSeverity.CRITICAL); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addAlarmUpdateMsg( + EdgeMsgConstructorUtils.constructAlarmUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, alarm))); + + loginDifferentTenant(); + doGet("/api/alarm/" + alarm.getUuidId()).andExpect(status().isNotFound()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/CalculatedFieldEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/CalculatedFieldEdgeTest.java index 8428839566..94b9c441d3 100644 --- a/application/src/test/java/org/thingsboard/server/edge/CalculatedFieldEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/CalculatedFieldEdgeTest.java @@ -7,6 +7,7 @@ import com.google.protobuf.AbstractMessage; import com.google.protobuf.InvalidProtocolBufferException; import org.junit.Assert; import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.cf.CalculatedField; @@ -18,13 +19,16 @@ import org.thingsboard.server.common.data.cf.configuration.OutputType; import org.thingsboard.server.common.data.cf.configuration.ReferencedEntityKey; import org.thingsboard.server.common.data.cf.configuration.SimpleCalculatedFieldConfiguration; import org.thingsboard.server.common.data.debug.DebugSettings; +import org.thingsboard.server.common.data.id.CalculatedFieldId; import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.dao.cf.CalculatedFieldService; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.CalculatedFieldRequestMsg; import org.thingsboard.server.gen.edge.v1.CalculatedFieldUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.Map; import java.util.Optional; @@ -34,6 +38,9 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @DaoSqlTest public class CalculatedFieldEdgeTest extends AbstractEdgeTest { + + @Autowired + private CalculatedFieldService calculatedFieldService; private static final String DEFAULT_CF_NAME = "Edge Test CalculatedField"; private static final String UPDATED_CF_NAME = "Updated Edge Test CalculatedField"; @@ -251,4 +258,15 @@ public class CalculatedFieldEdgeTest extends AbstractEdgeTest { Assert.assertEquals(resourceTitle, calculatedField.getName()); } + @Test + public void testSendCalculatedFieldForEntityOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + CalculatedField calculatedField = createSimpleCalculatedField(device.getId(), new SimpleCalculatedFieldConfiguration()); + calculatedField.setId(new CalculatedFieldId(Uuids.timeBased())); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addCalculatedFieldUpdateMsg( + EdgeMsgConstructorUtils.constructCalculatedFieldUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, calculatedField))); + + Assert.assertNull(calculatedFieldService.findById(tenantId, calculatedField.getId())); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/DashboardEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/DashboardEdgeTest.java index a8e789ba4a..460ebf4993 100644 --- a/application/src/test/java/org/thingsboard/server/edge/DashboardEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/DashboardEdgeTest.java @@ -26,6 +26,7 @@ import org.thingsboard.server.gen.edge.v1.EdgeConfiguration; import org.thingsboard.server.gen.edge.v1.ResourceUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.List; import java.util.Optional; @@ -303,4 +304,21 @@ public class DashboardEdgeTest extends AbstractEdgeTest { return dashboard; } + @Test + public void testSendDashboardUpdateForDashboardOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + Dashboard dashboard = new Dashboard(); + dashboard.setTitle("Different Tenant Dashboard"); + dashboard = doPost("/api/dashboard", dashboard, Dashboard.class); + loginTenantAdmin(); + + Dashboard dashboardUpdate = new Dashboard(dashboard); + dashboardUpdate.setTitle("Updated Title"); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDashboardUpdateMsg( + EdgeMsgConstructorUtils.constructDashboardUpdatedMsg(UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, dashboardUpdate))); + + loginDifferentTenant(); + Assert.assertEquals(dashboard.getTitle(), doGet("/api/dashboard/" + dashboard.getUuidId(), Dashboard.class).getTitle()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java index 9137724ef8..c75647b0a8 100644 --- a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java @@ -63,6 +63,7 @@ import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; import org.thingsboard.server.gen.transport.TransportProtos; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import org.thingsboard.server.transport.mqtt.mqttv3.MqttTestCallback; import org.thingsboard.server.transport.mqtt.mqttv3.MqttTestClient; @@ -1024,4 +1025,53 @@ public class DeviceEdgeTest extends AbstractEdgeTest { }); } + @Test + public void testSendDeviceCredentialsRequestForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceCredentialsRequestMsg(DeviceCredentialsRequestMsg.newBuilder() + .setDeviceIdMSB(device.getUuidId().getMostSignificantBits()) + .setDeviceIdLSB(device.getUuidId().getLeastSignificantBits()).build())); + } + + @Test + public void testSendAttributesRequestForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + loginDifferentTenant(); + doPost("/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/attributes/" + DataConstants.SERVER_SCOPE, + JacksonUtil.toJsonNode("{\"key1\":\"value1\"}")); + loginTenantAdmin(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addAttributesRequestMsg(AttributesRequestMsg.newBuilder() + .setEntityType(EntityType.DEVICE.name()) + .setEntityIdMSB(device.getUuidId().getMostSignificantBits()) + .setEntityIdLSB(device.getUuidId().getLeastSignificantBits()) + .setScope(DataConstants.SERVER_SCOPE).build())); + } + + @Test + public void testSendDeviceUpdateForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + Device deviceUpdate = new Device(device); + deviceUpdate.setName("Updated Name"); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg( + EdgeMsgConstructorUtils.constructDeviceUpdatedMsg(UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, deviceUpdate))); + + loginDifferentTenant(); + Assert.assertEquals(device.getName(), doGet("/api/device/" + device.getUuidId(), Device.class).getName()); + } + + @Test + public void testSendDeviceWithTenantIdOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + Device device = new Device(); + device.setId(new DeviceId(Uuids.timeBased())); + device.setTenantId(differentTenantId); + device.setName("Edge Device With Different Tenant"); + device.setType("default"); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg( + EdgeMsgConstructorUtils.constructDeviceUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, device))); + + Assert.assertEquals(tenantId, doGet("/api/device/" + device.getUuidId(), Device.class).getTenantId()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/EntityViewEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/EntityViewEdgeTest.java index 6a8f20f6a2..7542acb4aa 100644 --- a/application/src/test/java/org/thingsboard/server/edge/EntityViewEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/EntityViewEdgeTest.java @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.edge; +import com.datastax.oss.driver.api.core.uuid.Uuids; import com.fasterxml.jackson.core.type.TypeReference; import com.google.protobuf.AbstractMessage; import com.google.protobuf.InvalidProtocolBufferException; @@ -26,6 +27,7 @@ import org.thingsboard.server.gen.edge.v1.EntityViewsRequestMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.List; import java.util.Optional; @@ -298,4 +300,19 @@ public class EntityViewEdgeTest extends AbstractEdgeTest { return entityView; } + @Test + public void testSendEntityViewForEntityOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + EntityView entityView = new EntityView(); + entityView.setId(new EntityViewId(Uuids.timeBased())); + entityView.setTenantId(tenantId); + entityView.setName("Edge Entity View"); + entityView.setType("default"); + entityView.setEntityId(device.getId()); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addEntityViewUpdateMsg( + EdgeMsgConstructorUtils.constructEntityViewUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, entityView))); + + doGet("/api/entityView/" + entityView.getUuidId()).andExpect(status().isNotFound()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/RelationEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/RelationEdgeTest.java index f82be9739d..3e7d50dc07 100644 --- a/application/src/test/java/org/thingsboard/server/edge/RelationEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/RelationEdgeTest.java @@ -19,9 +19,12 @@ import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; import org.thingsboard.server.gen.edge.v1.RelationUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.UUID; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; + @DaoSqlTest public class RelationEdgeTest extends AbstractEdgeTest { @@ -197,4 +200,36 @@ public class RelationEdgeTest extends AbstractEdgeTest { return relation; } + @Test + public void testSendRelationRequestForEntityOfDifferentTenantToCloud() throws Exception { + EntityRelation relation = saveDifferentTenantRelation(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addRelationRequestMsg(RelationRequestMsg.newBuilder() + .setEntityType(EntityType.DEVICE.name()) + .setEntityIdMSB(relation.getFrom().getId().getMostSignificantBits()) + .setEntityIdLSB(relation.getFrom().getId().getLeastSignificantBits()).build())); + } + + @Test + public void testSendRelationDeleteForEntitiesOfDifferentTenantToCloud() throws Exception { + EntityRelation relation = saveDifferentTenantRelation(); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addRelationUpdateMsg( + EdgeMsgConstructorUtils.constructRelationUpdatedMsg(UpdateMsgType.ENTITY_DELETED_RPC_MESSAGE, relation))); + + loginDifferentTenant(); + doGet("/api/relation?fromId=" + relation.getFrom().getId() + "&fromType=DEVICE&relationType=test&toId=" + + relation.getTo().getId() + "&toType=ASSET").andExpect(status().isOk()); + } + + private EntityRelation saveDifferentTenantRelation() throws Exception { + Device device = saveDifferentTenantDevice(); + loginDifferentTenant(); + Asset asset = new Asset(); + asset.setName("Different Tenant Asset"); + asset.setType("default"); + asset = doPost("/api/asset", asset, Asset.class); + EntityRelation relation = doPost("/api/v2/relation", new EntityRelation(device.getId(), asset.getId(), "test"), EntityRelation.class); + loginTenantAdmin(); + return relation; + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java deleted file mode 100644 index 76e38457d8..0000000000 --- a/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java +++ /dev/null @@ -1,94 +0,0 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors -// SPDX-License-Identifier: Apache-2.0 -package org.thingsboard.server.edge; - -import org.junit.Assert; -import org.junit.Test; -import org.thingsboard.common.util.JacksonUtil; -import org.thingsboard.server.common.data.DataConstants; -import org.thingsboard.server.common.data.Device; -import org.thingsboard.server.common.data.EntityType; -import org.thingsboard.server.common.data.asset.Asset; -import org.thingsboard.server.common.data.relation.EntityRelation; -import org.thingsboard.server.common.data.relation.RelationTypeGroup; -import org.thingsboard.server.common.data.rule.RuleChain; -import org.thingsboard.server.common.data.rule.RuleChainType; -import org.thingsboard.server.dao.service.DaoSqlTest; -import org.thingsboard.server.gen.edge.v1.AttributesRequestMsg; -import org.thingsboard.server.gen.edge.v1.DeviceCredentialsRequestMsg; -import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; -import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; -import org.thingsboard.server.gen.edge.v1.UplinkMsg; -import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; - -import java.util.UUID; - -@DaoSqlTest -public class RequestMsgEdgeTest extends AbstractEdgeTest { - - @Test - public void testSendRequestsForEntitiesOfAnotherTenantToCloud() throws Exception { - loginDifferentTenant(); - try { - Device device = new Device(); - device.setName("Different Tenant Device"); - device.setType("default"); - device = doPost("/api/device", device, Device.class); - doPost("/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/attributes/" + DataConstants.SERVER_SCOPE, - JacksonUtil.toJsonNode("{\"key1\":\"value1\"}")); - - Asset asset = new Asset(); - asset.setName("Different Tenant Asset"); - asset.setType("default"); - asset = doPost("/api/asset", asset, Asset.class); - - EntityRelation relation = new EntityRelation(); - relation.setType("test"); - relation.setFrom(device.getId()); - relation.setTo(asset.getId()); - relation.setTypeGroup(RelationTypeGroup.COMMON); - doPost("/api/v2/relation", relation, EntityRelation.class); - - RuleChain ruleChain = new RuleChain(); - ruleChain.setName("Different Tenant Rule Chain"); - ruleChain.setType(RuleChainType.CORE); - ruleChain = doPost("/api/ruleChain", ruleChain, RuleChain.class); - - UUID deviceUuid = device.getUuidId(); - UUID userUuid = savedDifferentTenantUser.getUuidId(); - UUID ruleChainUuid = ruleChain.getUuidId(); - loginTenantAdmin(); - - UplinkMsg uplinkMsg = UplinkMsg.newBuilder() - .addUserCredentialsRequestMsg(UserCredentialsRequestMsg.newBuilder() - .setUserIdMSB(userUuid.getMostSignificantBits()) - .setUserIdLSB(userUuid.getLeastSignificantBits()).build()) - .addDeviceCredentialsRequestMsg(DeviceCredentialsRequestMsg.newBuilder() - .setDeviceIdMSB(deviceUuid.getMostSignificantBits()) - .setDeviceIdLSB(deviceUuid.getLeastSignificantBits()).build()) - .addAttributesRequestMsg(AttributesRequestMsg.newBuilder() - .setEntityType(EntityType.DEVICE.name()) - .setEntityIdMSB(deviceUuid.getMostSignificantBits()) - .setEntityIdLSB(deviceUuid.getLeastSignificantBits()) - .setScope(DataConstants.SERVER_SCOPE).build()) - .addRelationRequestMsg(RelationRequestMsg.newBuilder() - .setEntityType(EntityType.DEVICE.name()) - .setEntityIdMSB(deviceUuid.getMostSignificantBits()) - .setEntityIdLSB(deviceUuid.getLeastSignificantBits()).build()) - .addRuleChainMetadataRequestMsg(RuleChainMetadataRequestMsg.newBuilder() - .setRuleChainIdMSB(ruleChainUuid.getMostSignificantBits()) - .setRuleChainIdLSB(ruleChainUuid.getLeastSignificantBits()).build()) - .build(); - - edgeImitator.expectResponsesAmount(1); - edgeImitator.expectMessageAmount(1); - edgeImitator.sendUplinkMsg(uplinkMsg); - Assert.assertTrue(edgeImitator.waitForResponses()); - Assert.assertFalse(edgeImitator.waitForMessages(5)); - } finally { - deleteDifferentTenant(); - loginTenantAdmin(); - } - } - -} diff --git a/application/src/test/java/org/thingsboard/server/edge/ResourceEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/ResourceEdgeTest.java index 884f2ae84e..c2ea217887 100644 --- a/application/src/test/java/org/thingsboard/server/edge/ResourceEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/ResourceEdgeTest.java @@ -11,11 +11,15 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.ResourceType; import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.TbResource; +import org.thingsboard.server.common.data.TbResourceInfo; +import org.thingsboard.server.common.data.id.TbResourceId; +import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.ResourceUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.Optional; import java.util.UUID; @@ -180,4 +184,17 @@ public class ResourceEdgeTest extends AbstractEdgeTest { Assert.assertEquals(TEST_DATA, tb.getEncodedData()); } + @Test + public void testSendResourceWithSystemTenantIdToCloud() throws Exception { + TbResource resource = createTbResource(); + resource.setId(new TbResourceId(Uuids.timeBased())); + resource.setTenantId(TenantId.SYS_TENANT_ID); + resource.setResourceKey("system_" + FILE_NAME); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addResourceUpdateMsg( + EdgeMsgConstructorUtils.constructResourceUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, resource))); + + TbResourceInfo resourceInfo = doGet("/api/resource/info/" + resource.getUuidId(), TbResourceInfo.class); + Assert.assertEquals(tenantId, resourceInfo.getTenantId()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/RuleChainEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/RuleChainEdgeTest.java index 2780adbbfa..5d6c930cab 100644 --- a/application/src/test/java/org/thingsboard/server/edge/RuleChainEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/RuleChainEdgeTest.java @@ -3,6 +3,7 @@ package org.thingsboard.server.edge; import com.datastax.oss.driver.api.core.uuid.Uuids; +import com.fasterxml.jackson.core.type.TypeReference; import org.junit.Assert; import org.junit.Test; import org.thingsboard.common.util.JacksonUtil; @@ -11,16 +12,21 @@ import org.thingsboard.rule.engine.util.TbMsgSource; import org.thingsboard.server.common.data.debug.DebugSettings; import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.id.RuleChainId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.rule.RuleChain; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.rule.RuleChainType; import org.thingsboard.server.common.data.rule.RuleNode; import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.EdgeVersion; +import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataUpdateMsg; import org.thingsboard.server.gen.edge.v1.RuleChainUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.ArrayList; import java.util.Collections; @@ -259,4 +265,39 @@ public class RuleChainEdgeTest extends AbstractEdgeTest { Assert.assertTrue(edgeImitator.waitForMessages(5)); } + @Test + public void testSendRuleChainMetadataRequestForRuleChainOfDifferentTenantToCloud() throws Exception { + RuleChainId ruleChainId = getDifferentTenantRootRuleChainId(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addRuleChainMetadataRequestMsg(RuleChainMetadataRequestMsg.newBuilder() + .setRuleChainIdMSB(ruleChainId.getId().getMostSignificantBits()) + .setRuleChainIdLSB(ruleChainId.getId().getLeastSignificantBits()).build())); + } + + @Test + public void testSendRuleChainMetadataForRuleChainOfDifferentTenantToCloud() throws Exception { + RuleChainId ruleChainId = getDifferentTenantRootRuleChainId(); + loginDifferentTenant(); + RuleChainMetaData metaData = doGet("/api/ruleChain/" + ruleChainId.getId() + "/metadata", RuleChainMetaData.class); + int nodesCount = metaData.getNodes().size(); + loginTenantAdmin(); + + metaData.setNodes(List.of(metaData.getNodes().get(0))); + metaData.setConnections(null); + metaData.setFirstNodeIndex(0); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addRuleChainMetadataUpdateMsg( + EdgeMsgConstructorUtils.constructRuleChainMetadataUpdatedMsg(UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, metaData, EdgeVersion.V_LATEST))); + + loginDifferentTenant(); + RuleChainMetaData metaDataAfter = doGet("/api/ruleChain/" + ruleChainId.getId() + "/metadata", RuleChainMetaData.class); + Assert.assertEquals(nodesCount, metaDataAfter.getNodes().size()); + } + + private RuleChainId getDifferentTenantRootRuleChainId() throws Exception { + loginDifferentTenant(); + RuleChain rootRuleChain = doGetTypedWithPageLink("/api/ruleChains?type={type}&", new TypeReference>() {}, + new PageLink(100), RuleChainType.CORE.name()).getData().stream().filter(RuleChain::isRoot).findFirst().orElseThrow(); + loginTenantAdmin(); + return rootRuleChain.getId(); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/TelemetryEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/TelemetryEdgeTest.java index 3eb4ed288e..c1a164a731 100644 --- a/application/src/test/java/org/thingsboard/server/edge/TelemetryEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/TelemetryEdgeTest.java @@ -304,4 +304,44 @@ public class TelemetryEdgeTest extends AbstractEdgeTest { }); } + @Test + public void testSendTelemetryForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + loginDifferentTenant(); + String attributesUrl = "/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/attributes/"; + doPost(attributesUrl + DataConstants.SHARED_SCOPE, JacksonUtil.toJsonNode("{\"key1\":\"value1\"}")); + doPost(attributesUrl + DataConstants.SERVER_SCOPE, JacksonUtil.toJsonNode("{\"key2\":\"value2\"}")); + loginTenantAdmin(); + + TransportProtos.PostAttributeMsg attributesMsg = TransportProtos.PostAttributeMsg.newBuilder() + .addKv(TransportProtos.KeyValueProto.newBuilder() + .setKey("key1") + .setType(TransportProtos.KeyValueType.STRING_V) + .setStringV("updatedValue1").build()) + .build(); + EntityDataProto entityData = EntityDataProto.newBuilder() + .setEntityIdMSB(device.getUuidId().getMostSignificantBits()) + .setEntityIdLSB(device.getUuidId().getLeastSignificantBits()) + .setEntityType(device.getId().getEntityType().name()) + .setAttributesUpdatedMsg(attributesMsg) + .setPostAttributeScope(DataConstants.SHARED_SCOPE) + .setAttributeDeleteMsg(AttributeDeleteMsg.newBuilder() + .setScope(DataConstants.SERVER_SCOPE) + .addAttributeNames("key2").build()) + .build(); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addEntityData(entityData)); + + loginDifferentTenant(); + String valuesUrl = "/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/values/attributes/"; + Awaitility.await() + .pollDelay(3, TimeUnit.SECONDS) + .atMost(10, TimeUnit.SECONDS) + .untilAsserted(() -> { + JsonNode sharedAttributes = doGetAsync(valuesUrl + DataConstants.SHARED_SCOPE, JsonNode.class); + Assert.assertEquals("value1", sharedAttributes.get(0).get("value").asText()); + JsonNode serverAttributes = doGetAsync(valuesUrl + DataConstants.SERVER_SCOPE, JsonNode.class); + Assert.assertTrue(serverAttributes.findValuesAsText("key").contains("key2")); + }); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index e01d002b1b..649bdc3923 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -22,6 +22,7 @@ import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; import org.thingsboard.server.service.security.model.ChangePasswordRequest; import java.util.Optional; +import java.util.UUID; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; @@ -248,4 +249,14 @@ public class UserEdgeTest extends AbstractEdgeTest { testAutoGeneratedCodeByProtobuf(userCredentialsUpdateMsg); } + @Test + public void testSendUserCredentialsRequestForUserOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + UUID userUuid = savedDifferentTenantUser.getUuidId(); + loginTenantAdmin(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addUserCredentialsRequestMsg(UserCredentialsRequestMsg.newBuilder() + .setUserIdMSB(userUuid.getMostSignificantBits()) + .setUserIdLSB(userUuid.getLeastSignificantBits()).build())); + } + } From 819afbc91888385e49461b60116141fd8fa17cb2 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 11:46:20 +0100 Subject: [PATCH 311/559] Push system context edge events of tenant entities to entity tenant edges --- .../edge/rpc/processor/BaseEdgeProcessor.java | 26 ++++++++-- .../rpc/processor/user/UserEdgeProcessor.java | 3 -- .../thingsboard/server/edge/UserEdgeTest.java | 49 +++++++++++++++++++ .../common/data/edge/EdgeEventType.java | 37 ++++++++------ 4 files changed, 93 insertions(+), 22 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java index f58150d2f8..2dade4705e 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java @@ -30,8 +30,10 @@ import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.common.data.kv.AttributeKvEntry; import org.thingsboard.server.common.data.msg.TbMsgType; +import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageDataIterable; import org.thingsboard.server.common.data.page.PageDataIterableByTenantIdEntityId; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.relation.EntityRelation; import org.thingsboard.server.common.data.relation.RelationTypeGroup; import org.thingsboard.server.common.data.rule.RuleChain; @@ -148,9 +150,19 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { JsonNode body, EdgeId sourceEdgeId) { List> futures = new ArrayList<>(); if (TenantId.SYS_TENANT_ID.equals(tenantId)) { - PageDataIterable edges = new PageDataIterable<>(link -> edgeCtx.getEdgeService().findActiveEdges(link), 1024); - for (Edge edge : edges) { - futures.add(saveEdgeEvent(edge.getTenantId(), edge.getId(), type, actionType, entityId, body, false)); + if (type.isSystemLevelSupported()) { + PageDataIterable edges = new PageDataIterable<>(this::getActiveEdges, 1024); + for (Edge edge : edges) { + futures.add(saveEdgeEvent(edge.getTenantId(), edge.getId(), type, actionType, entityId, body, false)); + } + } else { + // tenant entity updated in system context + TenantId entityTenantId = entityId != null ? findEntityTenantId(tenantId, entityId) : null; + if (entityTenantId != null && !entityTenantId.isSysTenantId()) { + futures = processActionForAllEdgesByTenantId(entityTenantId, type, actionType, entityId, body, sourceEdgeId); + } else { + log.debug("[{}] Skipping {} event for entity {} that does not belong to a tenant", tenantId, type, entityId); + } } } else { futures = processActionForAllEdgesByTenantId(tenantId, type, actionType, entityId, null, sourceEdgeId); @@ -158,6 +170,10 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { return Futures.transform(Futures.allAsList(futures), voids -> null, dbCallbackExecutorService); } + private PageData getActiveEdges(PageLink link) { + return edgeCtx.getEdgeService().findActiveEdges(link); + } + private List> processActionForAllEdgesByTenantId(TenantId tenantId, EdgeEventType type, EdgeEventActionType actionType, @@ -198,9 +214,9 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { EdgeEventActionType actionType = EdgeEventActionType.valueOf(edgeNotificationMsg.getAction()); EntityId entityId = EntityIdFactory.getByEdgeEventTypeAndUuid(type, new UUID(edgeNotificationMsg.getEntityIdMSB(), edgeNotificationMsg.getEntityIdLSB())); EdgeId originatorEdgeId = safeGetEdgeId(edgeNotificationMsg.getOriginatorEdgeIdMSB(), edgeNotificationMsg.getOriginatorEdgeIdLSB()); - if (type.isAllEdgesRelated()) { + if (type.isAllTenantEdgesRelated()) { return processEntityNotificationForAllEdges(tenantId, type, actionType, entityId, originatorEdgeId); - } else { + } else { // Edge-assigned: device, asset, dashboard, entity view, rule chain, alarm.. JsonNode body = JacksonUtil.toJsonNode(edgeNotificationMsg.getBody()); EdgeId edgeId = safeGetEdgeId(edgeNotificationMsg.getEdgeIdMSB(), edgeNotificationMsg.getEdgeIdLSB()); switch (actionType) { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java index 6e5b0c1b54..9ad9d126da 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java @@ -48,9 +48,6 @@ public class UserEdgeProcessor extends BaseEdgeProcessor { .build(); } case CREDENTIALS_UPDATED -> { - if (!isEntityExists(edgeEvent.getTenantId(), userId)) { - return null; - } UserCredentials userCredentialsByUserId = edgeCtx.getUserService().findUserCredentialsByUserId(edgeEvent.getTenantId(), userId); if (userCredentialsByUserId != null && userCredentialsByUserId.isEnabled()) { UserCredentialsUpdateMsg userCredentialsUpdateMsg = EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentialsByUserId); diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index 649bdc3923..8558793469 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -3,6 +3,7 @@ package org.thingsboard.server.edge; import com.google.protobuf.AbstractMessage; +import org.awaitility.Awaitility; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; @@ -11,6 +12,10 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.User; import org.thingsboard.server.common.data.edge.Edge; +import org.thingsboard.server.common.data.edge.EdgeEvent; +import org.thingsboard.server.common.data.id.UserId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.TimePageLink; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.data.security.UserCredentials; import org.thingsboard.server.dao.service.DaoSqlTest; @@ -23,6 +28,7 @@ import org.thingsboard.server.service.security.model.ChangePasswordRequest; import java.util.Optional; import java.util.UUID; +import java.util.concurrent.TimeUnit; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; @@ -259,4 +265,47 @@ public class UserEdgeTest extends AbstractEdgeTest { .setUserIdLSB(userUuid.getLeastSignificantBits()).build())); } + @Test + public void testUserActivationInDifferentTenant() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + verifyNoEdgeEvents(savedDifferentTenantUser.getId()); + } + + @Test + public void testSysAdminCredentialsUpdate() throws Exception { + loginSysAdmin(); + UserId sysAdminId = doGet("/api/auth/user", User.class).getId(); + resetTokens(); + doPost("/api/noauth/resetPasswordByEmail", JacksonUtil.newObjectNode().put("email", SYS_ADMIN_EMAIL)) + .andExpect(status().isOk()); + loginTenantAdmin(); + verifyNoEdgeEvents(sysAdminId); + } + + @Test + public void testTenantUserCredentialsUpdate() throws Exception { + resetTokens(); + edgeImitator.expectMessageAmount(1); + doPost("/api/noauth/resetPasswordByEmail", JacksonUtil.newObjectNode().put("email", TENANT_ADMIN_EMAIL)) + .andExpect(status().isOk()); + Assert.assertTrue(edgeImitator.waitForMessages()); + AbstractMessage latestMessage = edgeImitator.getLatestMessage(); + Assert.assertTrue(latestMessage instanceof UserCredentialsUpdateMsg); + UserCredentials userCredentials = JacksonUtil.fromString(((UserCredentialsUpdateMsg) latestMessage).getEntity(), UserCredentials.class, true); + Assert.assertNotNull(userCredentials); + Assert.assertEquals(tenantAdminUserId, userCredentials.getUserId()); + loginTenantAdmin(); + } + + private void verifyNoEdgeEvents(UserId userId) { + Awaitility.await() + .pollDelay(3, TimeUnit.SECONDS) + .atMost(10, TimeUnit.SECONDS) + .untilAsserted(() -> { + PageData edgeEvents = edgeEventService.findEdgeEvents(tenantId, edge.getId(), 0L, Long.MAX_VALUE, new TimePageLink(1000)); + Assert.assertTrue(edgeEvents.getData().stream().noneMatch(edgeEvent -> userId.getId().equals(edgeEvent.getEntityId()))); + }); + } + } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeEventType.java b/common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeEventType.java index 1bdbcd4faa..5dc2c2a07b 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeEventType.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeEventType.java @@ -22,27 +22,36 @@ public enum EdgeEventType { CUSTOMER(true, EntityType.CUSTOMER), RELATION(true, null), TENANT(true, EntityType.TENANT), - TENANT_PROFILE(true, EntityType.TENANT_PROFILE), - WIDGETS_BUNDLE(true, EntityType.WIDGETS_BUNDLE), - WIDGET_TYPE(true, EntityType.WIDGET_TYPE), - ADMIN_SETTINGS(true, EntityType.ADMIN_SETTINGS), + TENANT_PROFILE(true, true, EntityType.TENANT_PROFILE), + WIDGETS_BUNDLE(true, true, EntityType.WIDGETS_BUNDLE), + WIDGET_TYPE(true, true, EntityType.WIDGET_TYPE), + ADMIN_SETTINGS(true, true, EntityType.ADMIN_SETTINGS), OTA_PACKAGE(true, EntityType.OTA_PACKAGE), - QUEUE(true, EntityType.QUEUE), - NOTIFICATION_RULE(true, EntityType.NOTIFICATION_RULE), - NOTIFICATION_TARGET(true, EntityType.NOTIFICATION_TARGET), - NOTIFICATION_TEMPLATE(true, EntityType.NOTIFICATION_TEMPLATE), - TB_RESOURCE(true, EntityType.TB_RESOURCE), - OAUTH2_CLIENT(true, EntityType.OAUTH2_CLIENT), - DOMAIN(true, EntityType.DOMAIN), + QUEUE(true, true, EntityType.QUEUE), + NOTIFICATION_RULE(true, true, EntityType.NOTIFICATION_RULE), + NOTIFICATION_TARGET(true, true, EntityType.NOTIFICATION_TARGET), + NOTIFICATION_TEMPLATE(true, true, EntityType.NOTIFICATION_TEMPLATE), + TB_RESOURCE(true, true, EntityType.TB_RESOURCE), + OAUTH2_CLIENT(true, true, EntityType.OAUTH2_CLIENT), + DOMAIN(true, true, EntityType.DOMAIN), CALCULATED_FIELD(false, EntityType.CALCULATED_FIELD); - private final boolean allEdgesRelated; + // entity is pushed to all edges of its tenant, otherwise only to edges it's assigned to + private final boolean allTenantEdgesRelated; + + // entity can be owned by system tenant, so system level events are pushed to all edges + private final boolean systemLevelSupported; private final EntityType entityType; - EdgeEventType(boolean allEdgesRelated, EntityType entityType) { - this.allEdgesRelated = allEdgesRelated; + EdgeEventType(boolean allTenantEdgesRelated, EntityType entityType) { + this(allTenantEdgesRelated, false, entityType); + } + + EdgeEventType(boolean allTenantEdgesRelated, boolean systemLevelSupported, EntityType entityType) { + this.allTenantEdgesRelated = allTenantEdgesRelated; + this.systemLevelSupported = systemLevelSupported; this.entityType = entityType; } } From b5726ccb7c6786d78697845ee84b3f3c7d702b48 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 12:58:52 +0100 Subject: [PATCH 312/559] Process system context notifications of edge assigned entities in entity tenant --- .../service/edge/rpc/processor/BaseEdgeProcessor.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java index 2dade4705e..d405e0374f 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java @@ -217,6 +217,12 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { if (type.isAllTenantEdgesRelated()) { return processEntityNotificationForAllEdges(tenantId, type, actionType, entityId, originatorEdgeId); } else { // Edge-assigned: device, asset, dashboard, entity view, rule chain, alarm.. + if (tenantId.isSysTenantId()) { + // tenant entity updated in system context + TenantId entityTenantId = findEntityTenantId(tenantId, entityId); + return entityTenantId != null && !entityTenantId.isSysTenantId() ? + processEntityNotification(entityTenantId, edgeNotificationMsg) : Futures.immediateFuture(null); + } JsonNode body = JacksonUtil.toJsonNode(edgeNotificationMsg.getBody()); EdgeId edgeId = safeGetEdgeId(edgeNotificationMsg.getEdgeIdMSB(), edgeNotificationMsg.getEdgeIdLSB()); switch (actionType) { From c2f08027328a0769d7584dd78642a73bd515ba50 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 13:41:51 +0100 Subject: [PATCH 313/559] Check entity tenant in edge api key, ai model and user credentials msgs processing --- .../processor/ai/BaseAiModelProcessor.java | 2 ++ .../processor/apikey/BaseApiKeyProcessor.java | 9 +++++- .../rpc/processor/user/BaseUserProcessor.java | 7 +++++ .../server/edge/AiModelEdgeTest.java | 23 ++++++++++++++ .../server/edge/ApiKeyEdgeTest.java | 16 ++++++++++ .../thingsboard/server/edge/UserEdgeTest.java | 30 +++++++++++++++++++ .../server/dao/user/UserService.java | 2 ++ .../server/dao/user/UserServiceImpl.java | 7 +++++ 8 files changed, 95 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index c75d2f97f4..6727013852 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -34,6 +34,8 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { throw new RuntimeException("[{" + tenantId + "}] aiModelUpdateMsg {" + aiModelUpdateMsg + " } cannot be converted to aiModel"); } + checkEntityTenant(tenantId, aiModelId); + aiModel.setTenantId(tenantId); Optional aiModelById = edgeCtx.getAiModelService().findAiModelById(tenantId, aiModelId); if (aiModelById.isEmpty()) { aiModel.setCreatedTime(Uuids.unixTimestamp(aiModelId.getId())); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java index 786200f5e4..e7a9df03bf 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java @@ -10,6 +10,7 @@ import org.thingsboard.server.common.data.id.ApiKeyId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.msg.TbMsgType; import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.exception.DataValidationException; import org.thingsboard.server.gen.edge.v1.ApiKeyUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; @@ -24,6 +25,12 @@ public abstract class BaseApiKeyProcessor extends BaseEdgeProcessor { throw new RuntimeException("[{" + tenantId + "}] apiKeyUpdateMsg {" + apiKeyUpdateMsg + " } cannot be converted to apiKey"); } + checkEntityTenant(tenantId, apiKeyId); + apiKey.setTenantId(tenantId); + if (apiKey.getUserId() == null || !isEntityExists(tenantId, apiKey.getUserId())) { + throw new DataValidationException("API key is referencing to non-existent user!"); + } + ApiKey existingApiKey = edgeCtx.getApiKeyService().findApiKeyById(tenantId, apiKeyId); if (existingApiKey == null) { apiKey.setCreatedTime(Uuids.unixTimestamp(apiKeyId.getId())); @@ -41,7 +48,7 @@ public abstract class BaseApiKeyProcessor extends BaseEdgeProcessor { protected void deleteApiKey(TenantId tenantId, Edge edge, ApiKeyId apiKeyId) { ApiKey apiKey = edgeCtx.getApiKeyService().findApiKeyById(tenantId, apiKeyId); - if (apiKey != null) { + if (apiKey != null && tenantId.equals(apiKey.getTenantId())) { edgeCtx.getApiKeyService().deleteApiKey(tenantId, apiKey, false); pushEntityEventToRuleEngine(tenantId, edge, apiKey, TbMsgType.ENTITY_DELETED); } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java index 8d746cb6c1..7cf15764de 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java @@ -123,6 +123,13 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { tenantId, userCredentials.getUserId(), updateMsg); return; } + if (userCredentials.getId() != null) { + UserCredentials userCredentialsById = edgeCtx.getUserService().findUserCredentialsById(tenantId, userCredentials.getId()); + if (userCredentialsById != null && !user.getId().equals(userCredentialsById.getUserId())) { + log.warn("[{}] User credentials [{}] belong to a different user, skipping credentials update", tenantId, userCredentials.getId()); + return; + } + } log.debug("[{}] Updating user credentials for user [{}]. New credentials Id [{}], enabled [{}]", tenantId, user.getName(), userCredentials.getId(), userCredentials.isEnabled()); try { diff --git a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java index d916065e51..e34e5e9436 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java @@ -7,10 +7,13 @@ import com.google.protobuf.AbstractMessage; import com.google.protobuf.InvalidProtocolBufferException; import org.junit.Assert; import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.ai.AiModel; import org.thingsboard.server.common.data.ai.model.chat.OpenAiChatModelConfig; import org.thingsboard.server.common.data.ai.provider.OpenAiProviderConfig; +import org.thingsboard.server.common.data.id.AiModelId; +import org.thingsboard.server.dao.ai.AiModelService; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.AiModelUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; @@ -28,6 +31,9 @@ import static org.thingsboard.server.gen.edge.v1.UpdateMsgType.ENTITY_DELETED_RP @DaoSqlTest public class AiModelEdgeTest extends AbstractEdgeTest { + @Autowired + private AiModelService aiModelService; + private static final String DEFAULT_AI_MODEL_NAME = "Edge Test AiModel"; private static final String UPDATED_AI_MODEL_NAME = "Updated Edge Test AiModel"; @@ -200,4 +206,21 @@ public class AiModelEdgeTest extends AbstractEdgeTest { Assert.assertEquals(resourceTitle, aiModel.getName()); } + @Test + public void testSendAiModelWithTenantIdOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + UUID uuid = Uuids.timeBased(); + AiModel aiModel = createSimpleAiModel("Edge AI Model With Different Tenant"); + aiModel.setTenantId(differentTenantId); + UplinkMsg uplinkMsg = getUplinkMsg(uuid, aiModel, UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE); + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + + Optional aiModelFromCloud = aiModelService.findAiModelById(tenantId, new AiModelId(uuid)); + Assert.assertTrue(aiModelFromCloud.isPresent()); + Assert.assertEquals(tenantId, aiModelFromCloud.get().getTenantId()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java index 91117b826f..cf71e3f3a7 100644 --- a/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java @@ -222,4 +222,20 @@ public class ApiKeyEdgeTest extends AbstractEdgeTest { Assert.assertEquals(description, apiKey.getDescription()); } + @Test + public void testSendApiKeyForUserOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + UUID uuid = Uuids.timeBased(); + ApiKey apiKey = createSimpleApiKey("Different Tenant User Key"); + apiKey.setTenantId(differentTenantId); + apiKey.setUserId(savedDifferentTenantUser.getId()); + UplinkMsg uplinkMsg = getUplinkMsg(uuid, apiKey, UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE); + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + + Assert.assertNull(apiKeyService.findApiKeyById(tenantId, new ApiKeyId(uuid))); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index 75f96d0805..a339ca3f8f 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -284,6 +284,19 @@ public class UserEdgeTest extends AbstractEdgeTest { Assert.assertEquals(savedTenantAdmin.getUuidId().getLeastSignificantBits(), userUpdateMsg.getIdLSB()); } + @Test + public void testSendUserWithTokenAuthorityFromEdgeToCloud() throws Exception { + UserId userId = new UserId(UUID.randomUUID()); + User user = buildUser(Authority.REFRESH_TOKEN, null); + user.setId(userId); + + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserUpdateMsg(EdgeMsgConstructorUtils.constructUserUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, user)) + .build()); + + Assert.assertNull(userService.findUserById(tenantId, userId)); + } + @Test public void testSendUserWithUnsupportedAuthorityFromEdgeToCloud() throws Exception { UserId userId = new UserId(UUID.randomUUID()); @@ -476,4 +489,21 @@ public class UserEdgeTest extends AbstractEdgeTest { }); } + @Test + public void testSendUserCredentialsWithIdOfDifferentTenantUserToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + UserCredentials differentTenantCredentials = userService.findUserCredentialsByUserId(differentTenantId, savedDifferentTenantUser.getId()); + UserCredentials userCredentials = buildCredentials(differentTenantCredentials.getId(), tenantAdminUserId, true); + userCredentials.setPassword(passwordEncoder.encode("password")); + + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserCredentialsUpdateMsg(EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentials)) + .build()); + + UserCredentials differentTenantCredentialsAfter = userService.findUserCredentialsByUserId(differentTenantId, savedDifferentTenantUser.getId()); + Assert.assertNotNull(differentTenantCredentialsAfter); + Assert.assertEquals(differentTenantCredentials.getPassword(), differentTenantCredentialsAfter.getPassword()); + } + } diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java index 48b4532bca..ad8edcb710 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java @@ -39,6 +39,8 @@ public interface UserService extends EntityDaoService { UserCredentials findUserCredentialsByUserId(TenantId tenantId, UserId userId); + UserCredentials findUserCredentialsById(TenantId tenantId, UserCredentialsId userCredentialsId); + UserCredentials findUserCredentialsByActivateToken(TenantId tenantId, String activateToken); UserCredentials findUserCredentialsByResetToken(TenantId tenantId, String resetToken); diff --git a/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java index 0212903880..cfc49bb6ee 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java @@ -210,6 +210,13 @@ public class UserServiceImpl extends AbstractCachedEntityService INCORRECT_USER_CREDENTIALS_ID + id); + return userCredentialsDao.findById(tenantId, userCredentialsId.getId()); + } + @Override public UserCredentials findUserCredentialsByUserId(TenantId tenantId, UserId userId) { log.trace("Executing findUserCredentialsByUserId [{}]", userId); From 15f8c2c750a39996a91e5359b7b6a93cbca0e69b Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 14:23:05 +0100 Subject: [PATCH 314/559] Check device tenant on edge device delete --- .../rpc/processor/device/DeviceEdgeProcessor.java | 2 +- .../org/thingsboard/server/edge/DeviceEdgeTest.java | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index 6d2a2fe903..4cd8d9dc1c 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -68,7 +68,7 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: Device deviceToDelete = edgeCtx.getDeviceService().findDeviceById(tenantId, deviceId); - if (deviceToDelete != null) { + if (deviceToDelete != null && tenantId.equals(deviceToDelete.getTenantId())) { edgeCtx.getDeviceService().unassignDeviceFromEdge(tenantId, deviceId, edge.getId()); } return Futures.immediateFuture(null); diff --git a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java index c75647b0a8..46944e9edc 100644 --- a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java @@ -1059,6 +1059,19 @@ public class DeviceEdgeTest extends AbstractEdgeTest { Assert.assertEquals(device.getName(), doGet("/api/device/" + device.getUuidId(), Device.class).getName()); } + @Test + public void testSendDeviceDeleteForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + DeviceUpdateMsg.Builder deviceDeleteMsgBuilder = DeviceUpdateMsg.newBuilder(); + deviceDeleteMsgBuilder.setMsgType(UpdateMsgType.ENTITY_DELETED_RPC_MESSAGE); + deviceDeleteMsgBuilder.setIdMSB(device.getUuidId().getMostSignificantBits()); + deviceDeleteMsgBuilder.setIdLSB(device.getUuidId().getLeastSignificantBits()); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg(deviceDeleteMsgBuilder.build())); + + loginDifferentTenant(); + doGet("/api/device/" + device.getUuidId()).andExpect(status().isOk()); + } + @Test public void testSendDeviceWithTenantIdOfDifferentTenantToCloud() throws Exception { loginDifferentTenant(); From db7795eecb331e8105dbde1ac29d37e4f33de67b Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 27 Oct 2026 14:57:45 +0200 Subject: [PATCH 315/559] feat(iot-hub): device install form for LoRaWAN packages - The device install form shows placeholders, templated defaults, an Advanced section and a ThingsBoard connection section with the MQTT host and port, cleans pasted values, shows errors after the user leaves a field and does not let the browser autofill ThingsBoard credentials. - A field marked by the package checks the integration connection. - The TTN and TTI install methods are named The Things Stack Sandbox and The Things Stack Cloud. - The TTN converter metadata includes the coding rate and the gateway channel. - Deleting or updating a device package keeps the integrations, converters and other entities that another installed device package uses, and the delete dialog names them before the user confirms. - The Open button of an installed item names what it opens. --- .../server/controller/IotHubController.java | 16 +- .../service/iot_hub/DefaultIotHubService.java | 62 ++- .../iot_hub/InstalledItemKeptEntities.java | 30 ++ .../server/service/iot_hub/IotHubService.java | 3 + .../system/DefaultSystemSecurityService.java | 9 +- .../security/system/ResolvedBaseUrl.java | 10 + .../system/SystemSecurityService.java | 2 + .../iot_hub/DefaultIotHubServiceTest.java | 94 +++- .../DefaultSystemSecurityServiceTest.java | 51 ++ .../device/DeviceConnectivityHostSource.java | 15 + .../dao/device/DeviceConnectivityService.java | 14 +- .../ThingsStackConverterUnwrapper.java | 15 + .../wrapper/ConverterUnwrapperTest.java | 16 + common/integration/mqtt-integrations/pom.xml | 5 + .../mqtt/basic/BasicMqttIntegration.java | 2 + .../TtnIntegrationCheckConnectionTest.java | 62 +++ .../device/DeviceConnectivityServiceImpl.java | 20 +- .../ResolvedDeviceConnectivityInfo.java | 11 + .../DeviceConnectivityServiceImplTest.java | 119 +++++ .../src/app/core/http/iot-hub-api.service.ts | 15 +- .../device-install-dialog.component.html | 42 +- .../device-install-dialog.component.scss | 17 + .../device-install-dialog.component.ts | 453 +++++++++++++++++- .../install-form-renderer.component.html | 136 +++++- .../install-form-renderer.component.scss | 7 - .../install-form-renderer.component.ts | 126 ++++- .../iot-hub/iot-hub-actions.service.ts | 26 +- .../iot-hub-delete-dialog.component.html | 5 +- .../iot-hub-delete-dialog.component.scss | 8 +- .../iot-hub-delete-dialog.component.ts | 27 +- ...t-hub-installed-items-table.component.html | 16 +- ...iot-hub-installed-items-table.component.ts | 23 + .../iot-hub/iot-hub-markdown.component.ts | 12 +- .../models/iot-hub/device-package.models.ts | 36 +- .../iot-hub/iot-hub-installed-item.models.ts | 25 +- .../src/app/shared/models/settings.models.ts | 9 + .../en_US/iot-hub/device-connection-host.md | 12 + .../assets/locale/locale.constant-ar_AE.json | 4 +- .../assets/locale/locale.constant-ca_ES.json | 4 +- .../assets/locale/locale.constant-da_DK.json | 4 +- .../assets/locale/locale.constant-de_DE.json | 4 +- .../assets/locale/locale.constant-el_GR.json | 4 +- .../assets/locale/locale.constant-en_US.json | 34 +- .../assets/locale/locale.constant-es_ES.json | 4 +- .../assets/locale/locale.constant-fr_FR.json | 4 +- .../assets/locale/locale.constant-hi_IN.json | 4 +- .../assets/locale/locale.constant-it_IT.json | 4 +- .../assets/locale/locale.constant-ja_JP.json | 4 +- .../assets/locale/locale.constant-ka_GE.json | 2 +- .../assets/locale/locale.constant-lt_LT.json | 4 +- .../assets/locale/locale.constant-lv_LV.json | 2 +- .../assets/locale/locale.constant-nl_NL.json | 4 +- .../assets/locale/locale.constant-no_NO.json | 4 +- .../assets/locale/locale.constant-pl_PL.json | 4 +- .../assets/locale/locale.constant-pt_BR.json | 4 +- .../assets/locale/locale.constant-tr_TR.json | 4 +- .../assets/locale/locale.constant-uk_UA.json | 4 +- .../assets/locale/locale.constant-zh_CN.json | 4 +- 58 files changed, 1506 insertions(+), 155 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java create mode 100644 application/src/main/java/org/thingsboard/server/service/security/system/ResolvedBaseUrl.java create mode 100644 common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityHostSource.java create mode 100644 common/integration/mqtt-integrations/src/test/java/org/thingsboard/integration/mqtt/ttn/TtnIntegrationCheckConnectionTest.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/device/ResolvedDeviceConnectivityInfo.java create mode 100644 dao/src/test/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImplTest.java create mode 100644 ui-ngx/src/assets/help/en_US/iot-hub/device-connection-host.md diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index f3d32fedc8..1645505c00 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -32,10 +32,13 @@ import java.util.UUID; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.permission.Operation; import org.thingsboard.server.common.data.permission.Resource; +import org.thingsboard.server.dao.device.DeviceConnectivityHostSource; import org.thingsboard.server.dao.device.DeviceConnectivityService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.queue.util.TbCoreComponent; +import org.thingsboard.server.service.security.system.ResolvedBaseUrl; import org.thingsboard.server.service.security.system.SystemSecurityService; +import org.thingsboard.server.service.iot_hub.InstalledItemKeptEntities; import org.thingsboard.server.service.iot_hub.InstallItemVersionResult; import org.thingsboard.server.service.iot_hub.InstallPlan; import org.thingsboard.server.service.iot_hub.InstallPlanResult; @@ -153,13 +156,22 @@ public class IotHubController extends BaseController { iotHubService.deleteInstalledItem(getCurrentUser(), new IotHubInstalledItemId(installedItemId)); } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @GetMapping("/installedItems/{installedItemId}/keptEntities") + @ResponseBody + public InstalledItemKeptEntities getInstalledItemKeptEntities(@PathVariable UUID installedItemId) throws ThingsboardException { + checkAllPermissions(); + return iotHubService.findKeptEntities(getTenantId(), new IotHubInstalledItemId(installedItemId)); + } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") @GetMapping("/connectivity") @ResponseBody public JsonNode getConnectivitySettings(HttpServletRequest request) throws Exception { checkAllPermissions(); - String baseUrl = systemSecurityService.getBaseUrl(getTenantId(), getCurrentUser().getCustomerId(), request); - return deviceConnectivityService.getConnectivityInfo(baseUrl); + ResolvedBaseUrl baseUrl = systemSecurityService.resolveBaseUrl(getTenantId(), getCurrentUser().getCustomerId(), request); + return deviceConnectivityService.getConnectivityInfo(baseUrl.url(), + baseUrl.fromRequest() ? DeviceConnectivityHostSource.REQUEST : DeviceConnectivityHostSource.BASE_URL); } private void checkAllPermissions() throws ThingsboardException { diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 06ef375109..a3cf0599fa 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -42,6 +42,8 @@ import org.thingsboard.server.common.data.iot_hub.SolutionTemplateInstalledItemD import org.thingsboard.server.common.data.iot_hub.WidgetInstalledItemDescriptor; import org.thingsboard.server.common.data.subscription.SubscriptionException; import org.thingsboard.server.exception.EntitiesLimitExceededException; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.service.solutions.SolutionService; import org.thingsboard.server.service.solutions.data.solution.SolutionInstallResponse; import org.thingsboard.server.common.data.permission.Operation; @@ -58,6 +60,7 @@ import org.thingsboard.server.dao.dashboard.DashboardService; import org.thingsboard.server.dao.device.DeviceProfileService; import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.group.EntityGroupService; +import org.thingsboard.server.dao.entity.EntityService; import org.thingsboard.server.dao.integration.IntegrationService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.dao.rule.RuleChainService; @@ -79,10 +82,12 @@ import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.util.ArrayList; import java.util.Collections; +import java.util.HashMap; import java.util.HashSet; import java.util.HexFormat; import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import java.util.Set; import java.util.UUID; @@ -118,6 +123,7 @@ public class DefaultIotHubService implements IotHubService { private final CalculatedFieldService calculatedFieldService; private final DeviceProfileService deviceProfileService; private final DeviceService deviceService; + private final EntityService entityService; private final TbDeviceService tbDeviceService; private final SolutionService solutionService; private final EntityGroupService entityGroupService; @@ -456,7 +462,7 @@ public class DefaultIotHubService implements IotHubService { case "RULE_CHAIN" -> updateRuleChain(tenantId, (RuleChainInstalledItemDescriptor) descriptor, fileData); case "DEVICE" -> { DeviceInstalledItemDescriptor dd = (DeviceInstalledItemDescriptor) descriptor; - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, installedItemId, dd.getCreatedEntityIds(), user); dd.setCreatedEntityIds(null); dd.setDashboardId(null); } @@ -704,13 +710,24 @@ public class DefaultIotHubService implements IotHubService { } } - private void deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + /** + * Deletes what a device package created, except the entities another installed device package + * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package. + */ + private void deleteDevicePackageEntities(TenantId tenantId, IotHubInstalledItemId installedItemId, + List createdEntityIds, SecurityUser user) { if (createdEntityIds == null || createdEntityIds.isEmpty()) { return; } + Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); for (EntityId entityId : reversed) { + Set usedBy = usedByOtherPackages.get(entityId.getId()); + if (usedBy != null) { + log.info("[{}] Kept {} {}: installed device packages {} use it", tenantId, entityId.getEntityType(), entityId.getId(), usedBy); + continue; + } try { deleteDevicePackageEntity(tenantId, entityId, user); } catch (Exception e) { @@ -719,6 +736,45 @@ public class DefaultIotHubService implements IotHubService { } } + /** The delete dialog shows these before the user confirms, so they must match what {@link #deleteDevicePackageEntities} keeps. */ + @Override + public InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId) { + IotHubInstalledItem installedItem = iotHubInstalledItemService.findById(tenantId, installedItemId); + if (installedItem == null) { + throw new IllegalArgumentException("Installed item not found"); + } + List kept = new ArrayList<>(); + Set usedByItems = new HashSet<>(); + if (installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { + Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); + for (EntityId entityId : dd.getCreatedEntityIds()) { + Set usedBy = usedByOtherPackages.get(entityId.getId()); + if (usedBy != null) { + kept.add(new InstalledItemKeptEntities.KeptEntity(entityId, entityService.fetchEntityName(tenantId, entityId).orElse(null))); + usedByItems.addAll(usedBy); + } + } + } + return new InstalledItemKeptEntities(kept, usedByItems.size()); + } + + private Map> findEntitiesOfOtherDevicePackages(TenantId tenantId, IotHubInstalledItemId installedItemId) { + Map> usedBy = new HashMap<>(); + PageLink pageLink = new PageLink(100); + PageData page; + do { + page = iotHubInstalledItemService.findByTenantId(tenantId, List.of("DEVICE"), null, pageLink); + for (IotHubInstalledItem item : page.getData()) { + if (!item.getId().equals(installedItemId) + && item.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { + dd.getCreatedEntityIds().forEach(id -> usedBy.computeIfAbsent(id.getId(), k -> new HashSet<>()).add(item.getId())); + } + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext()); + return usedBy; + } + private void deleteDevicePackageEntity(TenantId tenantId, EntityId entityId, SecurityUser user) throws ThingsboardException { switch (entityId.getEntityType()) { case DEVICE -> { @@ -797,7 +853,7 @@ public class DefaultIotHubService implements IotHubService { } } } else if (descriptor instanceof DeviceInstalledItemDescriptor dd) { - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, installedItemId, dd.getCreatedEntityIds(), user); } else if (descriptor instanceof SolutionTemplateInstalledItemDescriptor st) { try { solutionService.deleteSolution(tenantId, st, user); diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java new file mode 100644 index 0000000000..021cfe5be5 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java @@ -0,0 +1,30 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.iot_hub; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.server.common.data.id.EntityId; + +import java.util.List; + +/** What deleting an installed item keeps, because other installed items use it too. */ +@Data +@NoArgsConstructor +@AllArgsConstructor +public class InstalledItemKeptEntities { + + private List entities; + // How many other installed items use at least one of the kept entities + private int usedByItemsCount; + + @Data + @NoArgsConstructor + @AllArgsConstructor + public static class KeptEntity { + private EntityId entityId; + private String name; + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index b934344e91..e1d0cd666b 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -7,6 +7,7 @@ import com.fasterxml.jackson.databind.JsonNode; import jakarta.servlet.http.HttpServletRequest; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; +import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.service.security.model.SecurityUser; @@ -20,6 +21,8 @@ public interface IotHubService { void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); + InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId); + InstallPlan resolveInstallPlan(SecurityUser user, String versionId); InstallPlanResult installPlan(SecurityUser user, InstallPlan plan, JsonNode data, HttpServletRequest request); diff --git a/application/src/main/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityService.java b/application/src/main/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityService.java index 57ada98db3..5a582026fd 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityService.java +++ b/application/src/main/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityService.java @@ -249,6 +249,11 @@ public class DefaultSystemSecurityService implements SystemSecurityService { @Override public String getBaseUrl(TenantId tenantId, CustomerId customerId, HttpServletRequest httpServletRequest) { + return resolveBaseUrl(tenantId, customerId, httpServletRequest).url(); + } + + @Override + public ResolvedBaseUrl resolveBaseUrl(TenantId tenantId, CustomerId customerId, HttpServletRequest httpServletRequest) { String baseUrl = null; AdminSettings generalSettings = adminSettingsService.findAdminSettingsByKey(TenantId.SYS_TENANT_ID, "general"); @@ -262,10 +267,10 @@ public class DefaultSystemSecurityService implements SystemSecurityService { } if (StringUtils.isEmpty(baseUrl) && httpServletRequest != null) { - baseUrl = MiscUtils.constructBaseUrl(httpServletRequest); + return new ResolvedBaseUrl(MiscUtils.constructBaseUrl(httpServletRequest), true); } - return formatBaseUrl(baseUrl); + return new ResolvedBaseUrl(formatBaseUrl(baseUrl), false); } @Override diff --git a/application/src/main/java/org/thingsboard/server/service/security/system/ResolvedBaseUrl.java b/application/src/main/java/org/thingsboard/server/service/security/system/ResolvedBaseUrl.java new file mode 100644 index 0000000000..33b7c49e47 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/security/system/ResolvedBaseUrl.java @@ -0,0 +1,10 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.security.system; + +/** + * Base URL as returned by {@link SystemSecurityService#getBaseUrl}, and whether it was built from + * the request rather than taken from the Base URL in General settings. + */ +public record ResolvedBaseUrl(String url, boolean fromRequest) { +} diff --git a/application/src/main/java/org/thingsboard/server/service/security/system/SystemSecurityService.java b/application/src/main/java/org/thingsboard/server/service/security/system/SystemSecurityService.java index df462aaf77..d1394bf280 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/system/SystemSecurityService.java +++ b/application/src/main/java/org/thingsboard/server/service/security/system/SystemSecurityService.java @@ -33,6 +33,8 @@ public interface SystemSecurityService { String getBaseUrl(TenantId tenantId, CustomerId customerId, HttpServletRequest httpServletRequest); + ResolvedBaseUrl resolveBaseUrl(TenantId tenantId, CustomerId customerId, HttpServletRequest httpServletRequest); + void logLoginAction(User user, Object authenticationDetails, ActionType actionType, Exception e); void logLoginAction(User user, Object authenticationDetails, ActionType actionType, String provider, Exception e); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 2f1a0ada5b..0f0068872c 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.iot_hub; import com.fasterxml.jackson.databind.JsonNode; @@ -13,14 +14,27 @@ import org.mockito.Mock; import org.mockito.Spy; import org.mockito.junit.jupiter.MockitoExtension; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceService; +import org.thingsboard.server.dao.entity.EntityService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; +import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; +import org.thingsboard.server.service.entitiy.device.TbDeviceService; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.List; +import java.util.Optional; import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; @@ -48,6 +62,16 @@ class DefaultIotHubServiceTest { private IotHubRestClient iotHubRestClient; @Mock private IotHubInstalledItemService iotHubInstalledItemService; + @Mock + private DeviceService deviceService; + @Mock + private EntityService entityService; + @Mock + private TbDeviceService tbDeviceService; + @Mock + private DashboardService dashboardService; + @Mock + private TbDashboardService tbDashboardService; @Spy @InjectMocks @@ -411,4 +435,72 @@ class DefaultIotHubServiceTest { assertThat(result.isRolledBack()).isFalse(); assertThat(result.getErrorMessage()).contains("install failed"); } + + @Test + void deleteInstalledItem_devicePackage_keepsEntitiesAnotherDevicePackageUses() { + mockTenant(); + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + DashboardId sharedDashboardId = new DashboardId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(deviceId, sharedDashboardId); + IotHubInstalledItem other = devicePackage(sharedDashboardId); + other.setItemName("Other package"); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted, other), 1, 2, false)); + Device device = new Device(deviceId); + when(deviceService.findDeviceById(tenantId, deviceId)).thenReturn(device); + + service.deleteInstalledItem(user, deleted.getId()); + + verify(tbDeviceService).delete(device, user); + verify(dashboardService, never()).findDashboardById(any(), any()); + verify(tbDashboardService, never()).delete(any(), any()); + verify(iotHubInstalledItemService).deleteById(tenantId, deleted.getId()); + } + + @Test + void findKeptEntities_devicePackage_namesTheSharedEntitiesAndCountsTheOtherPackages() { + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + DashboardId sharedDashboardId = new DashboardId(UUID.randomUUID()); + DeviceProfileId sharedProfileId = new DeviceProfileId(UUID.randomUUID()); + IotHubInstalledItem checked = devicePackage(sharedProfileId, deviceId, sharedDashboardId); + IotHubInstalledItem first = devicePackage(sharedProfileId, sharedDashboardId); + IotHubInstalledItem second = devicePackage(sharedDashboardId); + IotHubInstalledItem unrelated = devicePackage(new DeviceId(UUID.randomUUID())); + when(iotHubInstalledItemService.findById(tenantId, checked.getId())).thenReturn(checked); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(checked, first, second, unrelated), 1, 4, false)); + when(entityService.fetchEntityName(tenantId, sharedProfileId)).thenReturn(Optional.of("Shared profile")); + when(entityService.fetchEntityName(tenantId, sharedDashboardId)).thenReturn(Optional.of("Shared dashboard")); + + InstalledItemKeptEntities kept = service.findKeptEntities(tenantId, checked.getId()); + + assertThat(kept.getEntities()).containsExactly( + new InstalledItemKeptEntities.KeptEntity(sharedProfileId, "Shared profile"), + new InstalledItemKeptEntities.KeptEntity(sharedDashboardId, "Shared dashboard")); + assertThat(kept.getUsedByItemsCount()).isEqualTo(2); + } + + @Test + void findKeptEntities_devicePackageSharingNothing_keepsNothing() { + IotHubInstalledItem checked = devicePackage(new DeviceId(UUID.randomUUID())); + IotHubInstalledItem other = devicePackage(new DeviceId(UUID.randomUUID())); + when(iotHubInstalledItemService.findById(tenantId, checked.getId())).thenReturn(checked); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(checked, other), 1, 2, false)); + + InstalledItemKeptEntities kept = service.findKeptEntities(tenantId, checked.getId()); + + assertThat(kept.getEntities()).isEmpty(); + assertThat(kept.getUsedByItemsCount()).isZero(); + } + + private IotHubInstalledItem devicePackage(EntityId... createdEntityIds) { + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(createdEntityIds)); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setDescriptor(descriptor); + return item; + } + } diff --git a/application/src/test/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityServiceTest.java b/application/src/test/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityServiceTest.java index 8ffd947991..9a46775ede 100644 --- a/application/src/test/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityServiceTest.java @@ -8,11 +8,14 @@ import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; +import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.security.authentication.DisabledException; import org.springframework.security.authentication.LockedException; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; +import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.rule.engine.api.MailService; +import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; @@ -30,6 +33,7 @@ import org.thingsboard.server.service.security.permission.UserPermissionsService import java.util.UUID; +import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; @@ -201,4 +205,51 @@ public class DefaultSystemSecurityServiceTest { verify(mailService).sendAccountLockoutEmail(eq(tenantId), eq(username), eq(notificationEmail), eq(5)); } + @Test + public void resolveBaseUrlTakesRequestUrlWhenDifferentUrlsAreAllowed() { + givenGeneralSettings("https://tb.example.com", false); + + ResolvedBaseUrl baseUrl = systemSecurityService.resolveBaseUrl(tenantId, null, request()); + + assertThat(baseUrl.url()).isEqualTo("http://192.168.1.10:8080"); + assertThat(baseUrl.fromRequest()).isTrue(); + } + + @Test + public void resolveBaseUrlTakesSettingsUrlWhenDifferentUrlsAreProhibited() { + givenGeneralSettings("https://tb.example.com", true); + + ResolvedBaseUrl baseUrl = systemSecurityService.resolveBaseUrl(tenantId, null, request()); + + assertThat(baseUrl.url()).isEqualTo("https://tb.example.com"); + assertThat(baseUrl.fromRequest()).isFalse(); + } + + @Test + public void resolveBaseUrlFallsBackToRequestWhenSettingsUrlIsEmpty() { + givenGeneralSettings("", true); + + ResolvedBaseUrl baseUrl = systemSecurityService.resolveBaseUrl(tenantId, null, request()); + + assertThat(baseUrl.url()).isEqualTo("http://192.168.1.10:8080"); + assertThat(baseUrl.fromRequest()).isTrue(); + assertThat(systemSecurityService.getBaseUrl(tenantId, null, request())).isEqualTo(baseUrl.url()); + } + + private void givenGeneralSettings(String baseUrl, boolean prohibitDifferentUrl) { + AdminSettings generalSettings = new AdminSettings(); + generalSettings.setJsonValue(JacksonUtil.newObjectNode() + .put("baseUrl", baseUrl) + .put("prohibitDifferentUrl", prohibitDifferentUrl)); + when(adminSettingsService.findAdminSettingsByKey(TenantId.SYS_TENANT_ID, "general")).thenReturn(generalSettings); + } + + private static MockHttpServletRequest request() { + MockHttpServletRequest request = new MockHttpServletRequest(); + request.setScheme("http"); + request.setServerName("192.168.1.10"); + request.setServerPort(8080); + return request; + } + } diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityHostSource.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityHostSource.java new file mode 100644 index 0000000000..4091794979 --- /dev/null +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityHostSource.java @@ -0,0 +1,15 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.device; + +/** + * Where the host of a transport in the device connectivity info comes from. + */ +public enum DeviceConnectivityHostSource { + /** Set explicitly in the Device connectivity settings. */ + DEVICE_CONNECTIVITY, + /** Taken from the Base URL in General settings. */ + BASE_URL, + /** Taken from the address of the request. */ + REQUEST +} diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java index 4bd0ab255d..48da435d32 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java @@ -13,7 +13,19 @@ public interface DeviceConnectivityService { JsonNode findDevicePublishTelemetryCommands(String baseUrl, Device device) throws URISyntaxException; - JsonNode getConnectivityInfo(String baseUrl) throws URISyntaxException; + /** + * Resolved host and port of each enabled transport, with the source of the host. + * A blank port is replaced with the standard port of the protocol. + */ + JsonNode getConnectivityInfo(String baseUrl, DeviceConnectivityHostSource baseUrlSource) throws URISyntaxException; + + /** + * Same as {@link #getConnectivityInfo(String, DeviceConnectivityHostSource)}, with a base URL + * built from the request. + */ + default JsonNode getConnectivityInfo(String baseUrl) throws URISyntaxException { + return getConnectivityInfo(baseUrl, DeviceConnectivityHostSource.REQUEST); + } Resource getPemCertFile(String protocol); diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/wrapper/ThingsStackConverterUnwrapper.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/wrapper/ThingsStackConverterUnwrapper.java index b7d0f67211..c26ecaffd3 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/wrapper/ThingsStackConverterUnwrapper.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/wrapper/ThingsStackConverterUnwrapper.java @@ -58,9 +58,24 @@ public class ThingsStackConverterUnwrapper extends AbstractConverterUnwrapper { .put("simulated", "/simulated") .put("rssi", "") .put("snr", "") + .put("channel", "") .build(); } + @Override + protected void addGatewayAdditionalInfo(Map kvMap, JsonNode payloadJson) { + super.addGatewayAdditionalInfo(kvMap, payloadJson); + JsonNode rxMetadata = findByMaxRssi(payloadJson.at(getGatewayInfoPath())); + if (rxMetadata != null && rxMetadata.has("channel_index")) { + kvMap.put("channel", rxMetadata.get("channel_index").asInt()); + } + // The Things Stack moved the coding rate from the settings into the LoRa data rate + JsonNode loraCodingRate = payloadJson.at("/uplink_message/settings/data_rate/lora/coding_rate"); + if (!kvMap.containsKey("codeRate") && loraCodingRate.isTextual()) { + kvMap.put("codeRate", loraCodingRate.asText()); + } + } + @Override protected String getGatewayInfoPath() { return "/uplink_message/rx_metadata"; diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/wrapper/ConverterUnwrapperTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/wrapper/ConverterUnwrapperTest.java index c3c154ad2f..7463b97003 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/wrapper/ConverterUnwrapperTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/wrapper/ConverterUnwrapperTest.java @@ -196,6 +196,22 @@ public class ConverterUnwrapperTest { assertEquals(ContentType.JSON, result.getSecond().getContentType()); } + @Test + public void thingsStackConverterWrapperTakesCodingRateFromLoraDataRateAndChannelFromStrongestGateway() throws Exception { + ConverterUnwrapper wrapper = ConverterUnwrapperFactory.getUnwrapper(IntegrationType.TTN).get(); + ObjectNode payloadMsg = JacksonUtil.fromString(readPayloadFromFile("ThingsStackPayload.json"), ObjectNode.class); + ObjectNode settings = (ObjectNode) payloadMsg.at("/uplink_message/settings"); + settings.remove("coding_rate"); + ((ObjectNode) settings.at("/data_rate/lora")).put("coding_rate", "4/6"); + ((ObjectNode) payloadMsg.at("/uplink_message/rx_metadata/0")).put("channel_index", 3); + ((ObjectNode) payloadMsg.at("/uplink_message/rx_metadata/1")).put("channel_index", 5); + + Map kvMap = wrapper.unwrap(JacksonUtil.writeValueAsBytes(payloadMsg), + new UplinkMetaData<>(ContentType.JSON, Map.of())).getSecond().getKvMap(); + + assertThat(kvMap).containsEntry("codeRate", "4/6").containsEntry("channel", 3).containsEntry("rssi", -22); + } + @Test public void thingsParkConverterWrapperTest() throws Exception { ConverterUnwrapper wrapper = ConverterUnwrapperFactory.getUnwrapper(IntegrationType.THINGPARK).get(); diff --git a/common/integration/mqtt-integrations/pom.xml b/common/integration/mqtt-integrations/pom.xml index 89b3025891..b3d3a1dcb0 100644 --- a/common/integration/mqtt-integrations/pom.xml +++ b/common/integration/mqtt-integrations/pom.xml @@ -70,6 +70,11 @@ 4.13.2 test + + org.mockito + mockito-core + test + diff --git a/common/integration/mqtt-integrations/src/main/java/org/thingsboard/integration/mqtt/basic/BasicMqttIntegration.java b/common/integration/mqtt-integrations/src/main/java/org/thingsboard/integration/mqtt/basic/BasicMqttIntegration.java index f82aabcb56..33020d91cf 100644 --- a/common/integration/mqtt-integrations/src/main/java/org/thingsboard/integration/mqtt/basic/BasicMqttIntegration.java +++ b/common/integration/mqtt-integrations/src/main/java/org/thingsboard/integration/mqtt/basic/BasicMqttIntegration.java @@ -101,6 +101,8 @@ public class BasicMqttIntegration extends AbstractMqttIntegration ctx.getIntegrationConnectTimeoutSec() && ctx.getIntegrationConnectTimeoutSec() > 0) { log.debug("Reduce connection timeout sec down to the limit [{}]", mqttClientConfiguration.getConnectTimeoutSec()); mqttClientConfiguration.setConnectTimeoutSec(ctx.getIntegrationConnectTimeoutSec()); diff --git a/common/integration/mqtt-integrations/src/test/java/org/thingsboard/integration/mqtt/ttn/TtnIntegrationCheckConnectionTest.java b/common/integration/mqtt-integrations/src/test/java/org/thingsboard/integration/mqtt/ttn/TtnIntegrationCheckConnectionTest.java new file mode 100644 index 0000000000..2270fa22e6 --- /dev/null +++ b/common/integration/mqtt-integrations/src/test/java/org/thingsboard/integration/mqtt/ttn/TtnIntegrationCheckConnectionTest.java @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.integration.mqtt.ttn; + +import io.netty.channel.nio.NioEventLoopGroup; +import org.junit.After; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import org.mockito.Mockito; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.integration.api.IntegrationContext; +import org.thingsboard.server.common.data.exception.ThingsboardException; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.integration.IntegrationType; + +import java.util.UUID; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; + +public class TtnIntegrationCheckConnectionTest { + + private NioEventLoopGroup eventLoopGroup; + private ExecutorService executor; + private IntegrationContext context; + + @Before + public void setUp() { + eventLoopGroup = new NioEventLoopGroup(1); + executor = Executors.newSingleThreadExecutor(); + context = Mockito.mock(IntegrationContext.class); + Mockito.when(context.getEventLoopGroup()).thenReturn(eventLoopGroup); + Mockito.when(context.getExecutorService()).thenReturn(executor); + Mockito.when(context.getIntegrationConnectTimeoutSec()).thenReturn(1); + Mockito.when(context.getMqttClientRetransmissionMaxAttempts()).thenReturn(1); + Mockito.when(context.getMqttClientRetransmissionInitialDelayMillis()).thenReturn(1000L); + Mockito.when(context.getMqttClientRetransmissionJitterFactor()).thenReturn(0.1); + } + + @After + public void tearDown() { + eventLoopGroup.shutdownGracefully(); + executor.shutdownNow(); + } + + // The check runs the same TTN setup as a running integration, which refuses empty credentials + @Test + public void checkRefusesEmptyCredentialsBeforeConnecting() { + Integration integration = new Integration(); + integration.setId(new IntegrationId(UUID.randomUUID())); + integration.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + integration.setType(IntegrationType.TTN); + integration.setConfiguration(JacksonUtil.toJsonNode("{\"clientConfiguration\":{\"host\":\"eu1\",\"port\":8883," + + "\"connectTimeoutSec\":1,\"ssl\":true,\"credentials\":{\"type\":\"basic\",\"username\":\"\",\"password\":\"\"}}}")); + + ThingsboardException e = Assert.assertThrows(ThingsboardException.class, + () -> new TtnIntegration().doCheckConnection(integration, context)); + Assert.assertTrue(e.getMessage(), e.getMessage().contains("Application Credentials")); + } +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java index 8cb6d64c00..50ae0fcd43 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java @@ -63,6 +63,13 @@ public class DeviceConnectivityServiceImpl implements DeviceConnectivityService public static final String DEFAULT_DEVICE_TELEMETRY_TOPIC = "v1/devices/me/telemetry"; public static final String HTTP_DEFAULT_PORT = "80"; public static final String HTTPS_DEFAULT_PORT = "443"; + private static final Map STANDARD_PORTS = Map.of( + HTTP, HTTP_DEFAULT_PORT, + HTTPS, HTTPS_DEFAULT_PORT, + MQTT, "1883", + MQTTS, "8883", + COAP, "5683", + COAPS, "5684"); private final Map certs = new ConcurrentHashMap<>(); @@ -199,17 +206,16 @@ public class DeviceConnectivityServiceImpl implements DeviceConnectivityService } @Override - public JsonNode getConnectivityInfo(String baseUrl) throws URISyntaxException { + public JsonNode getConnectivityInfo(String baseUrl, DeviceConnectivityHostSource baseUrlSource) throws URISyntaxException { String[] protocols = {HTTP, HTTPS, MQTT, MQTTS, COAP, COAPS}; - Map result = new LinkedHashMap<>(); + Map result = new LinkedHashMap<>(); for (String protocol : protocols) { DeviceConnectivityInfo info = getConnectivity(protocol); if (info != null && info.isEnabled()) { - DeviceConnectivityInfo resolved = new DeviceConnectivityInfo(); - resolved.setEnabled(true); - resolved.setHost(getHost(baseUrl, info, protocol)); - resolved.setPort(getPort(info)); - result.put(protocol, resolved); + result.put(protocol, new ResolvedDeviceConnectivityInfo(true, + getHost(baseUrl, info, protocol), + StringUtils.isBlank(info.getPort()) ? STANDARD_PORTS.get(protocol) : info.getPort(), + StringUtils.isNotBlank(info.getHost()) ? DeviceConnectivityHostSource.DEVICE_CONNECTIVITY : baseUrlSource)); } } return JacksonUtil.valueToTree(result); diff --git a/dao/src/main/java/org/thingsboard/server/dao/device/ResolvedDeviceConnectivityInfo.java b/dao/src/main/java/org/thingsboard/server/dao/device/ResolvedDeviceConnectivityInfo.java new file mode 100644 index 0000000000..64325ce821 --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/device/ResolvedDeviceConnectivityInfo.java @@ -0,0 +1,11 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.device; + +/** + * Host and port of an enabled transport as returned by {@link DeviceConnectivityService#getConnectivityInfo}, + * with the source of the host. Kept apart from {@link DeviceConnectivityInfo}, which models the stored settings. + */ +public record ResolvedDeviceConnectivityInfo(boolean enabled, String host, String port, + DeviceConnectivityHostSource hostSource) { +} diff --git a/dao/src/test/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImplTest.java b/dao/src/test/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImplTest.java new file mode 100644 index 0000000000..2a91a14654 --- /dev/null +++ b/dao/src/test/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImplTest.java @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.device; + +import com.fasterxml.jackson.databind.JsonNode; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.AdminSettings; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.dao.settings.AdminSettingsService; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +class DeviceConnectivityServiceImplTest { + + private static final String BASE_URL = "http://192.168.1.10:8080"; + + @Mock + private AdminSettingsService adminSettingsService; + @Mock + private DeviceCredentialsService deviceCredentialsService; + @Mock + private DeviceProfileService deviceProfileService; + @InjectMocks + private DeviceConnectivityServiceImpl service; + + @Test + void configuredHostIsReportedAsDeviceConnectivity() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "10.0.0.5", "port": "1884"}}"""); + + JsonNode mqtt = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST).get("mqtt"); + + assertThat(mqtt.get("host").asText()).isEqualTo("10.0.0.5"); + assertThat(mqtt.get("port").asText()).isEqualTo("1884"); + assertThat(mqtt.get("hostSource").asText()).isEqualTo("DEVICE_CONNECTIVITY"); + } + + @Test + void blankHostTakesBaseUrlAndItsSource() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "", "port": "1883"}}"""); + + JsonNode fromRequest = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST).get("mqtt"); + JsonNode fromBaseUrl = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.BASE_URL).get("mqtt"); + + assertThat(fromRequest.get("host").asText()).isEqualTo("192.168.1.10"); + assertThat(fromRequest.get("hostSource").asText()).isEqualTo("REQUEST"); + assertThat(fromBaseUrl.get("hostSource").asText()).isEqualTo("BASE_URL"); + } + + @Test + void blankPortIsReplacedWithStandardPort() throws Exception { + givenConnectivity(""" + {"http": {"enabled": true, "host": "", "port": ""}, + "https": {"enabled": true, "host": "", "port": ""}, + "mqtt": {"enabled": true, "host": "", "port": ""}, + "mqtts": {"enabled": true, "host": "", "port": ""}, + "coap": {"enabled": true, "host": "", "port": ""}, + "coaps": {"enabled": true, "host": "", "port": ""}}"""); + + JsonNode info = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST); + + assertThat(info.get("http").get("port").asText()).isEqualTo("80"); + assertThat(info.get("https").get("port").asText()).isEqualTo("443"); + assertThat(info.get("mqtt").get("port").asText()).isEqualTo("1883"); + assertThat(info.get("mqtts").get("port").asText()).isEqualTo("8883"); + assertThat(info.get("coap").get("port").asText()).isEqualTo("5683"); + assertThat(info.get("coaps").get("port").asText()).isEqualTo("5684"); + } + + @Test + void disabledProtocolIsLeftOut() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "", "port": "1883"}, + "coap": {"enabled": false, "host": "", "port": "5683"}}"""); + + JsonNode info = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST); + + assertThat(info.has("mqtt")).isTrue(); + assertThat(info.has("coap")).isFalse(); + } + + @Test + void responseHasTheFieldsTheUiReads() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "10.0.0.5", "port": "1884"}}"""); + + JsonNode mqtt = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST).get("mqtt"); + + assertThat(mqtt.fieldNames()).toIterable() + .containsExactlyInAnyOrder("enabled", "host", "port", "hostSource"); + assertThat(mqtt.get("enabled").asBoolean()).isTrue(); + } + + @Test + void overloadWithoutSourceReportsRequest() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "", "port": "1883"}}"""); + + JsonNode mqtt = service.getConnectivityInfo(BASE_URL).get("mqtt"); + + assertThat(mqtt.get("host").asText()).isEqualTo("192.168.1.10"); + assertThat(mqtt.get("hostSource").asText()).isEqualTo("REQUEST"); + } + + private void givenConnectivity(String json) { + AdminSettings settings = new AdminSettings(); + settings.setJsonValue(JacksonUtil.toJsonNode(json)); + when(adminSettingsService.findAdminSettingsByKey(TenantId.SYS_TENANT_ID, "connectivity")).thenReturn(settings); + } + +} diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 439976d6c5..49da0f4e6a 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -13,13 +13,13 @@ import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { CreatorView } from '@shared/models/iot-hub/iot-hub-creator.models'; -import { IotHubInstalledItem, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { IotHubInstalledItem, IotHubInstalledItemKeptEntities, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { ItemType, ItemTypeFilterInfo, WidgetCategory } from '@shared/models/iot-hub/iot-hub-item.models'; import { InterceptorHttpParams } from '@core/interceptors/interceptor-http-params'; import { InterceptorConfig } from '@core/interceptors/interceptor-config'; import { AppState } from '@core/core.state'; import { getCurrentAuthState } from '@core/auth/auth.selectors'; -import { DeviceConnectivitySettings } from '@shared/models/settings.models'; +import { ResolvedDeviceConnectivitySettings } from '@shared/models/settings.models'; import { environment as env } from '@env/environment'; export function tbVersionToInt(version: string): number { @@ -170,8 +170,8 @@ export class IotHubApiService { }); } - public getConnectivitySettings(config?: IotHubRequestConfig): Observable { - return this.http.get( + public getConnectivitySettings(config?: IotHubRequestConfig): Observable { + return this.http.get( `/api/iot-hub/connectivity`, { params: this.buildParams(config) } ); @@ -269,6 +269,13 @@ export class IotHubApiService { ); } + public getInstalledItemKeptEntities(installedItemId: string, config?: IotHubRequestConfig): Observable { + return this.http.get( + `/api/iot-hub/installedItems/${installedItemId}/keptEntities`, + { params: this.buildParams(config) } + ); + } + public getItemsPublishedVersions(itemIds: string[], config?: IotHubRequestConfig): Observable { return this.http.post( `${this.baseUrl}/api/versions/publishedVersions`, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 3bc2fbcbd4..8f36545817 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -49,13 +49,43 @@ } @case ('form') { -
    +
    + [reviewMode]="reviewMode" + [checkConnectionTemplate]="connectionCheckOf(ws) && hasCheckConnectionField(ws) ? checkConnectionTpl : null"> + +
    + + @switch (connectionCheckMessage(ws)) { + @case ('checking') { + + } + @case ('success') { + + check_circle + {{ 'iot-hub.connection-check-success' | translate }} + + } + @case ('error') { + + error + {{ 'iot-hub.connection-check-failed' | translate }} + + } + } +
    +
    + @if (connectionCheckOf(ws) && !hasCheckConnectionField(ws)) { + + }
    } @@ -207,7 +237,7 @@ @for (ws of wizardSteps; track ws.label) { {{ ws.label }} @@ -252,7 +282,11 @@ @case ('form') { } @case ('progress') { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss index 9ab0b87e94..c57e41aebd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss @@ -195,6 +195,23 @@ } } +.tb-connection-check-result { + font-size: 14px; + color: #198038; + + mat-icon { + color: #198038; + } + + &.tb-connection-check-error { + color: #dd2c00; + + mat-icon { + color: #dd2c00; + } + } +} + .tb-progress-divider { width: 1px; height: 16px; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ee4a325742..9b265718b4 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -7,10 +7,10 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { DialogComponent } from '@shared/components/dialog.component'; -import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { AbstractControl, UntypedFormControl, UntypedFormGroup, ValidationErrors, Validators } from '@angular/forms'; import { MatStepper } from '@angular/material/stepper'; import { StepperSelectionEvent } from '@angular/cdk/stepper'; -import { firstValueFrom } from 'rxjs'; +import { firstValueFrom, Subscription } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { PageLink } from '@shared/models/page/page-link'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; @@ -29,6 +29,7 @@ import { IntegrationService } from '@core/http/integration.service'; import { Converter, ConverterType } from '@shared/models/converter.models'; import { AiDashboardGenerationService } from '@home/components/ai/ai-dashboard-generation.service'; import { + cleanFormFieldValue, DeviceInstallStep, DevicePackageInfo, ENTITY_STEP_TYPES, @@ -38,10 +39,16 @@ import { FormFieldType, installMethodIcons as INSTALL_METHOD_ICONS, installMethodLabels as INSTALL_METHOD_LABELS, + InstallMethod, InstallStepType, stepTypeAliasMap } from '@shared/models/iot-hub/device-package.models'; import { mergeMap } from 'rxjs/operators'; +import { + DeviceConnectivityHostSource, + DeviceConnectivityProtocol, + ResolvedDeviceConnectivityInfo +} from '@shared/models/settings.models'; export interface DeviceInstallDialogData { item: MpItemVersionView; @@ -63,15 +70,127 @@ export interface WizardStep { markdown?: string; // Form formFields?: FormFieldDefinition[]; + // Fields the dialog adds on top of the package's form file + extraFormFields?: FormFieldDefinition[]; + // Key of the step's form values in the install state; the label when not set + stateKey?: string; formGroup?: UntypedFormGroup; + // Connection check of the integration the form configures; null when the form configures none + connectionCheck?: ConnectionCheck | null; // Progress entitySteps?: EntityStepProgress[]; progressError?: string; progressDone?: boolean; } +export interface ConnectionCheck { + // The INTEGRATION step template that the form values fill + template: string; + status: 'idle' | 'checking' | 'success' | 'error'; + // The values the status is for, as JSON: only the fields the integration template uses + checkedValues?: string; + // The result shows next to the button for a few seconds after the check + resultVisible?: boolean; + resultTimer?: ReturnType; +} + const ENTITY_STEP_MIN_DELAY = 2000; +const CONNECTION_CHECK_RESULT_MS = 5000; const DEFAULT_RANDOM_SIZE = 20; +const TRANSPORT_HOST_FIELD_KEY = 'tbTransportHost'; +const TRANSPORT_PORT_FIELD_KEY = 'tbTransportPort'; +// Not the translated label, so review mode finds the values in any UI language +const TRANSPORT_STEP_STATE_KEY = 'tbTransportConnection'; + +/** + * A transport whose ${.host} / ${.port} the install form lets the user check, + * with the translation keys of its fields. The wording is per transport (the label, the hints and + * the help popup name the protocol and its default port), so each entry brings its own keys. + */ +interface HostFieldTransport { + protocol: DeviceConnectivityProtocol; + hostLabel: string; + portLabel: string; + // Hint by the source of the host; REQUEST is used when the source is unknown + hostHints: Partial> & { REQUEST: string }; + // Hint by the source of a host that resolved to a loopback address; loopbackHint when there is none + loopbackHints: Partial>; + loopbackHint: string; + // Review mode: the stored value is shown without its source + reviewHostHint: string; + // Host set in Device connectivity: the fields are read-only + configuredHint: string; + hostError: string; + portError: string; + helpPopupId: string; + helpPopupText: string; +} + +// Install methods whose packages get the transport fields. Other methods use the host differently +// (a ChirpStack package builds the ThingsBoard URL from it, a gateway puts it into docker-compose) +// and keep the resolved value until they are handled separately. +const HOST_FIELD_TRANSPORTS = new Map([ + [InstallMethod.DIRECT_MQTT, { + protocol: 'mqtt', + hostLabel: 'iot-hub.device-install-mqtt-host', + portLabel: 'iot-hub.device-install-mqtt-port', + hostHints: { + REQUEST: 'iot-hub.device-install-mqtt-host-request-hint', + BASE_URL: 'iot-hub.device-install-mqtt-host-base-url-hint' + }, + loopbackHints: { + REQUEST: 'iot-hub.device-install-mqtt-host-opened-via-loopback-hint', + BASE_URL: 'iot-hub.device-install-mqtt-host-base-url-loopback-hint' + }, + loopbackHint: 'iot-hub.device-install-mqtt-host-loopback-hint', + reviewHostHint: 'iot-hub.device-install-mqtt-host-hint', + configuredHint: 'iot-hub.device-install-mqtt-host-configured-hint', + hostError: 'iot-hub.device-install-transport-host-error', + portError: 'iot-hub.device-install-transport-port-error', + helpPopupId: 'iot-hub/device-connection-host', + helpPopupText: 'iot-hub.device-install-which-host' + }] +]); + +/** + * Reduces what a user may paste (a URL, host:port, [IPv6]:port) to the bare host: the port is + * a separate setting, and the scheme or path would end up in the firmware as part of the host. + */ +const toBareHost = (value: string): string => { + const hostPort = value.trim().replace(/^[a-z][a-z\d+.-]*:\/\//i, '').replace(/[/?#].*$/, ''); + const bracketed = hostPort.match(/^\[([^\]]*)](:\d*)?$/); + if (bracketed) { + return bracketed[1]; + } + // A bare IPv6 address has several colons; a single one separates the port. + const parts = hostPort.split(':'); + return parts.length === 2 ? parts[0] : hostPort; +}; + +// localhost, 127.0.0.0/8, ::1 and 0.0.0.0: a device can't reach the server at any of them. +// Unlike DeviceConnectivityUtil.isLocalhost this doesn't resolve hostnames, and it also +// rejects 0.0.0.0, which isn't a loopback address but is just as unreachable. +// Takes a bare host (see toBareHost). +const isLoopbackHost = (host: string): boolean => { + const h = host.toLowerCase(); + return h === 'localhost' || h === '::1' || h === '0.0.0.0' || /^127(\.\d{1,3}){3}$/.test(h); +}; + +// Host name, IPv4 or IPv6 characters only: the value goes into C string literals and JSON templates. +const HOST_PATTERN = /^[a-z\d._:-]+$/i; + +const transportHostValidator = (control: AbstractControl): ValidationErrors | null => { + if (!control.value) { + return null; + } + const host = toBareHost(control.value); + return !HOST_PATTERN.test(host) || isLoopbackHost(host) ? { transportHost: true } : null; +}; + +const isValidPort = (port: number): boolean => Number.isInteger(port) && port >= 1 && port <= 65535; + +const transportPortValidator = (control: AbstractControl): ValidationErrors | null => + control.value === null || control.value === '' || isValidPort(Number(control.value)) ? null : { transportPort: true }; @Component({ selector: 'tb-device-install-dialog', @@ -108,15 +227,20 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; + private formTemplateSubscriptions: Subscription[] = []; entityOutputs = new Map(); transportVars: Record = {}; // Routing key pre-allocated for the in-flight INTEGRATION step so ${routingKey} // placeholders (e.g. inside clientConfiguration.httpEndpoint emitted by the // export pipeline) substitute to the value we'll save. private pendingRoutingKey: string | undefined; + // protocol → where the server took its host from + private transportHostSources: Partial> = {}; // form-field key → declared type. Used by resolveTemplateJson() to emit BOOLEAN/INTEGER // placeholders as raw JSON values instead of quoted strings. private fieldTypes = new Map(); + // Transport whose ${.host} the transport host field overrides + private hostFieldProtocol: DeviceConnectivityProtocol | null = null; gatewayDockerComposeContent: string | null = null; resolveMarkdownVariable: (key: string) => string | undefined = this._resolveMarkdownVariable.bind(this); @@ -175,10 +299,11 @@ export class TbDeviceInstallDialogComponent extends DialogComponent subscription.unsubscribe()); + this.wizardSteps?.forEach(ws => clearTimeout(ws.connectionCheck?.resultTimer)); for (const url of this.zipImages.values()) { URL.revokeObjectURL(url); } @@ -299,7 +428,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { const step = this.currentWizardStep; if (!step) { return; @@ -308,6 +437,14 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.checkConnection); + } + + /** The result of the last check, while the form still has the values it checked. */ + connectionCheckResult(ws: WizardStep): ConnectionCheck['status'] | undefined { + const check = this.connectionCheckOf(ws); + if (!check || check.status === 'idle') { + return undefined; + } + if (check.status === 'checking' || check.checkedValues === this.checkedValuesOf(ws, check)) { + return check.status; + } + return undefined; + } + + async checkConnection(ws: WizardStep): Promise { + const check = this.connectionCheckOf(ws); + if (!check) { + return true; + } + if (ws.formGroup.invalid) { + ws.formGroup.markAllAsTouched(); + return false; + } + this.cleanFormStep(ws); + const values = ws.formGroup.getRawValue(); + check.status = 'checking'; + this.cdr.detectChanges(); + const committedValues = this.formValues; + let body: any; + try { + // The integration is built the way Provisioning builds it, from the values not committed yet + this.formValues = { ...committedValues, ...values }; + body = this.resolveTemplateJson(this.zipFiles.get(check.template)); + } finally { + this.formValues = committedValues; + } + // The check requires a routing key; Provisioning adds one the same way + if (!body.routingKey) body.routingKey = this.generateUuid(); + if (!body.configuration) body.configuration = {}; + if (body.configuration.metadata == null) body.configuration.metadata = {}; + try { + await firstValueFrom(this.integrationService.checkIntegrationConnection(body, { ignoreErrors: true })); + check.status = 'success'; + } catch { + check.status = 'error'; + } + check.checkedValues = this.checkedValuesOf(ws, check); + check.resultVisible = true; + clearTimeout(check.resultTimer); + check.resultTimer = setTimeout(() => { + check.resultVisible = false; + this.cdr.detectChanges(); + }, CONNECTION_CHECK_RESULT_MS); + this.cdr.detectChanges(); + return check.status === 'success'; + } + + /** What shows next to the button: the spinner while checking, then the result for a few seconds. */ + connectionCheckMessage(ws: WizardStep): ConnectionCheck['status'] | undefined { + const check = this.connectionCheckOf(ws); + if (check?.status === 'checking') { + return 'checking'; + } + return check?.resultVisible && check.checkedValues === this.checkedValuesOf(ws, check) ? check.status : undefined; + } + + /** True when the last check of the current values failed, so Next continues anyway. */ + get continueAnyway(): boolean { + const step = this.currentWizardStep; + return !!step && this.connectionCheckResult(step) === 'error'; + } + + /** + * The values of the connection fields: the ones the integration template puts into its configuration + * (host, port, credentials), not e.g. its name. Other fields don't reset the check result. + */ + private checkedValuesOf(ws: WizardStep, check: ConnectionCheck): string { + const content = this.zipFiles.get(check.template) ?? ''; + const configurationStart = content.indexOf('"configuration"'); + const template = configurationStart >= 0 ? content.substring(configurationStart) : content; + const values = this.cleanedFormValues(ws); + const used = ws.formFields + .filter(field => template.includes(`\${${field.key}}`)) + .map(field => [field.key, values[field.key]]); + return JSON.stringify(used); + } + + private findIntegrationTemplate(ws: WizardStep): string | undefined { + for (const step of this.wizardSteps.flatMap(w => w.rawSteps)) { + if (step.type !== InstallStepType.INTEGRATION || !step.template) { + continue; + } + const content = this.zipFiles.get(step.template) ?? ''; + if (ws.formFields.some(field => content.includes(`\${${field.key}}`))) { + return step.template; + } + } + return undefined; + } + onStepSelectionChange(event: StepperSelectionEvent): void { if (event.selectedIndex <= event.previouslySelectedIndex) { return; } // Forward moves can come from the stepper header, which bypasses nextStep(), // so commit every step being passed over here. + let formValuesChanged = false; for (let i = event.previouslySelectedIndex; i < event.selectedIndex; i++) { const ws = this.wizardSteps[i]; if (ws.type === 'form') { + // Keep the bare host, so the stored state and the form after Back show what the device gets + const hostControl = ws.formGroup.get(TRANSPORT_HOST_FIELD_KEY); + if (hostControl?.enabled && hostControl.value) { + hostControl.setValue(toBareHost(hostControl.value), { emitEvent: false }); + } + this.cleanFormStep(ws); Object.assign(this.formValues, ws.formGroup.getRawValue()); + formValuesChanged = true; } ws.completed = true; } + if (formValuesChanged) { + // Instruction steps stay rendered, and their markdown only changes when the resolver does: + // after Back and a corrected value, they would otherwise keep showing the old one. + this.resolveMarkdownVariable = this._resolveMarkdownVariable.bind(this); + } this.onStepActivated(this.wizardSteps[event.selectedIndex]); } @@ -498,6 +762,18 @@ export class TbDeviceInstallDialogComponent extends DialogComponent s.type === 'GATEWAY'); if (gatewayStep?.dockerCompose) { const raw = this.zipFiles.get(gatewayStep.dockerCompose); @@ -665,6 +943,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent.host} and ${.port} into sketches and templates. Show them + * in the last form before the host is first used. When the system administrator set the host in + * Device connectivity, they are read-only. Otherwise the user can correct them — and must, when + * the host resolved to localhost, which on the device is the device itself. + */ + private addTransportFields(fromIndex: number): void { + this.hostFieldProtocol = null; + const transport = HOST_FIELD_TRANSPORTS.get(this.selectedInstallMethod); + const protocol = transport?.protocol; + const resolvedHost = protocol ? this.transportVars[`${protocol}.host`] : undefined; + if (resolvedHost === undefined) { + return; + } + const steps = this.wizardSteps.slice(fromIndex); + const firstUse = steps.findIndex(ws => this.usesVariable(ws, `${protocol}.host`)); + if (firstUse < 0) { + return; + } + const loopback = !resolvedHost || isLoopbackHost(resolvedHost); + const hostSource = this.transportHostSources[protocol]; + const readOnly = hostSource === 'DEVICE_CONNECTIVITY' && !loopback; + let formStep = steps.slice(0, firstUse).reverse().find(ws => ws.type === 'form'); + if (!formStep) { + formStep = { + type: 'form', + label: this.translate.instant('iot-hub.device-install-transport-host-step'), + stateKey: TRANSPORT_STEP_STATE_KEY, + rawSteps: [], + completed: this.reviewMode + }; + this.wizardSteps.splice(fromIndex + firstUse, 0, formStep); + } + let hostHint: string; + if (readOnly) { + hostHint = transport.configuredHint; + } else if (this.reviewMode) { + hostHint = transport.reviewHostHint; + } else if (loopback) { + hostHint = (hostSource && transport.loopbackHints[hostSource]) || transport.loopbackHint; + } else { + hostHint = (hostSource && transport.hostHints[hostSource]) || transport.hostHints.REQUEST; + } + const helpPopupId = readOnly ? undefined : transport.helpPopupId; + const group = this.translate.instant('iot-hub.device-install-thingsboard-connection'); + formStep.extraFormFields = [{ + key: TRANSPORT_HOST_FIELD_KEY, + label: this.translate.instant(transport.hostLabel), + type: FormFieldType.STRING, + defaultValue: loopback ? '' : resolvedHost, + required: true, + readOnly, + helpText: this.translate.instant(hostHint, { host: resolvedHost }), + // Shown on the transportHost error of transportHostValidator + errorMessage: this.translate.instant(transport.hostError), + helpPopupId, + helpPopupText: helpPopupId ? this.translate.instant(transport.helpPopupText) : undefined, + group, + row: TRANSPORT_HOST_FIELD_KEY + }]; + if (steps.some(ws => this.usesVariable(ws, `${protocol}.port`))) { + const resolvedPort = Number(this.transportVars[`${protocol}.port`]); + formStep.extraFormFields.push({ + key: TRANSPORT_PORT_FIELD_KEY, + label: this.translate.instant(transport.portLabel), + type: FormFieldType.INTEGER, + defaultValue: isValidPort(resolvedPort) ? resolvedPort : '', + required: true, + readOnly, + // Shown on the transportPort error of transportPortValidator + errorMessage: this.translate.instant(transport.portError), + group, + row: TRANSPORT_HOST_FIELD_KEY, + width: 200 + }); + } + this.hostFieldProtocol = protocol; + } + + private usesVariable(ws: WizardStep, key: string): boolean { + const placeholder = `\${${key}}`; + return ws.rawSteps.some(step => + [step.file, step.template, step.serverAttributes, step.sharedAttributes, step.credentials, step.dockerCompose] + .some(file => file && this.zipFiles.get(file)?.includes(placeholder))); + } + private initFormStep(ws: WizardStep): void { - const formJson = this.zipFiles.get(ws.rawSteps[0].file) || '[]'; - ws.formFields = JSON.parse(formJson) as FormFieldDefinition[]; + const formJson = (ws.rawSteps[0] && this.zipFiles.get(ws.rawSteps[0].file)) || '[]'; + // These are for the fields the dialog adds; a package can't set them + const packageFields = (JSON.parse(formJson) as FormFieldDefinition[]) + .map(({ helpPopupId, helpPopupText, errorMessage, ...field }) => field); + ws.formFields = [...packageFields, ...(ws.extraFormFields ?? [])]; const controls: Record = {}; // In review mode, use stored values; otherwise use defaults - const storedValues = this.reviewMode && this.data.installState?.[ws.label]?.formValues; + const storedValues = this.reviewMode && this.data.installState?.[ws.stateKey ?? ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); const validators = []; @@ -723,16 +1092,78 @@ export class TbDeviceInstallDialogComponent extends DialogComponent 0) { - validators.push(Validators.pattern(field.validators[0].pattern)); + const pattern = Validators.pattern(field.validators[0].pattern); + validators.push((control: AbstractControl) => + pattern({ value: cleanFormFieldValue(field, control.value) } as AbstractControl)); + } + if (field.key === TRANSPORT_HOST_FIELD_KEY) { + validators.push(transportHostValidator); + } else if (field.key === TRANSPORT_PORT_FIELD_KEY) { + validators.push(transportPortValidator); } const initialValue = this.resolveInitialFieldValue(field, storedValues?.[field.key]); - controls[field.key] = new UntypedFormControl(initialValue, validators); + controls[field.key] = new UntypedFormControl({ value: initialValue, disabled: !!field.readOnly }, validators); } ws.formGroup = new UntypedFormGroup(controls); if (this.reviewMode) { ws.formGroup.disable(); ws.completed = true; + } else { + this.applyDefaultValueTemplates(ws, storedValues); + } + } + + /** + * Keeps each field with a defaultValueTemplate filled from the other fields until the user edits it. + * A template with an empty field gives an empty value, so the placeholder shows instead. + */ + private applyDefaultValueTemplates(ws: WizardStep, storedValues: Record | undefined): void { + const templated = ws.formFields.filter(field => field.defaultValueTemplate && storedValues?.[field.key] === undefined); + if (!templated.length) { + return; + } + const update = () => { + for (const field of templated) { + const control = ws.formGroup.controls[field.key]; + if (!control.dirty) { + control.setValue(this.renderFormTemplate(field.defaultValueTemplate, this.cleanedFormValues(ws)), { emitEvent: false }); + } + } + }; + update(); + this.formTemplateSubscriptions.push(ws.formGroup.valueChanges.subscribe(update)); + } + + /** Applies each field's cleanupPattern to its control, so the stored values are the cleaned ones. */ + private cleanFormStep(ws: WizardStep): void { + for (const field of ws.formFields) { + const control = ws.formGroup.controls[field.key]; + const cleaned = cleanFormFieldValue(field, control?.value); + if (control?.enabled && cleaned !== control.value) { + control.setValue(cleaned, { emitEvent: false }); + } + } + } + + private cleanedFormValues(ws: WizardStep): Record { + const values = ws.formGroup.getRawValue(); + for (const field of ws.formFields) { + values[field.key] = cleanFormFieldValue(field, values[field.key]); } + return values; + } + + private renderFormTemplate(template: string, values: Record): string { + let missing = false; + const result = template.replace(/\$\{([^}]+)}/g, (_, key: string) => { + const value = values[key]; + if (value === undefined || value === null || value === '') { + missing = true; + return ''; + } + return String(value); + }); + return missing ? '' : result; } private resolveInitialFieldValue(field: FormFieldDefinition, storedValue: any): any { @@ -1252,7 +1683,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; for (const ws of this.wizardSteps) { if (ws.type === 'form' && ws.formGroup) { - state[ws.label] = { formValues: ws.formGroup.getRawValue() }; + state[ws.stateKey ?? ws.label] = { formValues: ws.formGroup.getRawValue() }; } else if (ws.type === 'progress' && ws.entitySteps) { for (const ep of ws.entitySteps) { if (ep.status === 'success' && ep.entityOutput) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html index cdd06ae7b2..b7d1b7a978 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html @@ -7,19 +7,78 @@ --> @if (formGroup) { - @for (field of fields; track field.key; let i = $index) { + + @if (advancedSections.length) { +
    + + + {{ 'iot-hub.advanced-settings' | translate }} + +
    + +
    +
    +
    + } + + + @for (section of sections; track $index) { + @if (section.title) { +
    +

    {{ section.title }}

    + +
    + } @else { + + } + } +
    - @if (shouldRenderGroupHeader(field, i)) { -

    {{ field.group }}

    + + @for (row of rows; track row.fields[0].key) { +
    + @if (row.fields.length > 1) { +
    + @for (field of row.fields; track field.key) { +
    + +
    + } +
    + } @else { + + } + + @for (field of row.fields; track field.key) { + @if (hasHintBox(field)) { +
    +
    {{ helpTextOf(field) }}
    +
    +
    + } + } + @if (checkConnectionTemplate && hasCheckConnectionField(row.fields)) { + + } +
    } +
    + @if (isSecretWidget(field)) { } @else { @@ -29,15 +88,16 @@ {{ field.label }} } @case (FormFieldType.SELECT) { - + {{ field.label }} @for (opt of field.options; track opt.value) { {{ opt.label }} } - @if (field.helpText) { - {{ field.helpText }} + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -45,16 +105,19 @@ } @case (FormFieldType.STRING_AUTOCOMPLETE) { - + {{ field.label }} - + @for (opt of field.options; track opt.value) { {{ opt.label }} } - @if (field.helpText) { - {{ field.helpText }} + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -62,13 +125,19 @@ @if (formGroup.controls[field.key]?.hasError('pattern')) { {{ getPatternErrorMessage(field) }} } + @if (field.errorMessage && hasFieldError(field)) { + {{ field.errorMessage }} + } } @case (FormFieldType.PASSWORD) { - + {{ field.label }} + [formControlName]="field.key" [placeholder]="field.placeholder ?? ''" + [errorStateMatcher]="errorStateMatcher" (focus)="onFocus(field)" (blur)="onBlur(field)" + autocomplete="new-password" data-lpignore="true" data-1p-ignore data-bwignore> } - @if (field.helpText) { - {{ field.helpText }} + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -90,14 +159,20 @@ @if (formGroup.controls[field.key]?.hasError('pattern')) { {{ getPatternErrorMessage(field) }} } + @if (field.errorMessage && hasFieldError(field)) { + {{ field.errorMessage }} + } } @case (FormFieldType.INTEGER) { - + {{ field.label }} - - @if (field.helpText) { - {{ field.helpText }} + + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -105,12 +180,18 @@ @if (formGroup.controls[field.key]?.hasError('pattern')) { {{ getPatternErrorMessage(field) }} } + @if (field.errorMessage && hasFieldError(field)) { + {{ field.errorMessage }} + } } @default { - + {{ field.label }} - + @if (field.randomGenerator) { } - @if (field.helpText) { - {{ field.helpText }} + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -128,17 +209,20 @@ @if (formGroup.controls[field.key]?.hasError('pattern')) { {{ getPatternErrorMessage(field) }} } + @if (field.errorMessage && hasFieldError(field)) { + {{ field.errorMessage }} + } } } } - @if (field.type === FormFieldType.BOOLEAN && field.helpText) { -
    {{ field.helpText }}
    + @if (field.type === FormFieldType.BOOLEAN && helpTextOf(field)) { +
    {{ helpTextOf(field) }}
    } @if (field.helpImage) { } - } +
    } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index 960c886f7b..9acd239c18 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -5,13 +5,6 @@ display: block; } -.tb-install-form-group-header { - margin: 16px 0 8px 0; - font-size: 14px; - font-weight: 600; - color: rgba(0, 0, 0, 0.6); -} - .tb-install-form-secret-toggle { margin-left: 4px; align-self: center; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index 4e4c813ae7..fedef617df 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -1,13 +1,25 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 -import { Component, Input, OnChanges, SimpleChanges } from '@angular/core'; -import { UntypedFormGroup } from '@angular/forms'; -import { FormFieldDefinition, FormFieldType } from '@shared/models/iot-hub/device-package.models'; +import { Component, Input, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; +import { AbstractControl, UntypedFormGroup } from '@angular/forms'; +import { ErrorStateMatcher } from '@angular/material/core'; +import { cleanFormFieldValue, FormFieldDefinition, FormFieldType } from '@shared/models/iot-hub/device-package.models'; import { generateSecret } from '@core/utils'; const DEFAULT_RANDOM_SIZE = 20; +/** Fields shown on one line. */ +interface FormRow { + fields: FormFieldDefinition[]; +} + +/** Consecutive rows of one group, shown in a panel with the group as its title; no title for ungrouped fields. */ +interface FormSection { + title?: string; + rows: FormRow[]; +} + /** * Reusable form renderer for the device install dialog's SHOW_FORM step. Consumes * the FormFieldDefinition[] parsed from the package's form.json directly — both @@ -32,10 +44,49 @@ export class InstallFormRendererComponent implements OnChanges { @Input() resolveImagePath?: (path: string) => string; /** When true, PASSWORD inputs render unmasked by default (used by review mode). */ @Input() reviewMode = false; + /** Rendered under the field marked with checkConnection; the dialog supplies it. */ + @Input() checkConnectionTemplate?: TemplateRef | null; passwordVisible: Record = {}; + // Fields in render order: consecutive fields of a group form a section, and consecutive fields + // with the same `row` share one line + sections: FormSection[] = []; + // The same for the fields of the collapsed Advanced settings panel + advancedSections: FormSection[] = []; + private rowOf = new Map(); + private focusedControl: AbstractControl | null = null; + private keepFocusedError = false; + + /** + * A new error shows only after the user leaves the field, so a value is not called wrong while it + * is typed. An error already shown when the user enters the field stays until the value is valid. + */ + readonly errorStateMatcher: ErrorStateMatcher = { + isErrorState: (control, form) => { + if (control && control === this.focusedControl) { + this.keepFocusedError = this.keepFocusedError && control.invalid; + return this.keepFocusedError; + } + return !!control?.invalid && (control.touched || !!form?.submitted); + } + }; + + readonly FormFieldType = FormFieldType; + + /** Render this field via the Secret picker widget (tb-secret-key-input). The picker + * itself accepts both plaintext and Secret references, so secretSupport=true means + * "this field MAY hold a Secret reference and the picker UI should be shown". */ + isSecretWidget(field: FormFieldDefinition): boolean { + return field.secretSupport === true; + } ngOnChanges(changes: SimpleChanges): void { + if (changes.fields) { + this.rowOf.clear(); + const fields = this.fields ?? []; + this.sections = this.buildSections(fields.filter(field => field.section !== 'advanced')); + this.advancedSections = this.buildSections(fields.filter(field => field.section === 'advanced')); + } if (changes.fields || changes.reviewMode) { this.passwordVisible = {}; if (this.reviewMode) { @@ -48,20 +99,33 @@ export class InstallFormRendererComponent implements OnChanges { } } - readonly FormFieldType = FormFieldType; + private buildSections(fields: FormFieldDefinition[]): FormSection[] { + const sections: FormSection[] = []; + let previous: FormFieldDefinition | undefined; + for (const field of fields) { + if (!previous || field.group !== previous.group) { + sections.push({ title: field.group, rows: [] }); + } + const rows = sections[sections.length - 1].rows; + const last = rows[rows.length - 1]; + if (field.row && last?.fields[0].row === field.row) { + last.fields.push(field); + } else { + rows.push({ fields: [field] }); + } + this.rowOf.set(field.key, rows[rows.length - 1]); + previous = field; + } + return sections; + } - /** Render this field via the Secret picker widget (tb-secret-key-input). The picker - * itself accepts both plaintext and Secret references, so secretSupport=true means - * "this field MAY hold a Secret reference and the picker UI should be shown". */ - isSecretWidget(field: FormFieldDefinition): boolean { - return field.secretSupport === true; + hasCheckConnectionField(fields: FormFieldDefinition[]): boolean { + return fields.some(field => field.checkConnection); } - /** True when the previous field belonged to a different group (for header rendering). */ - shouldRenderGroupHeader(field: FormFieldDefinition, index: number): boolean { - if (!field.group) return false; - if (index === 0) return true; - return this.fields[index - 1].group !== field.group; + /** The hint of a field that a defaultValueTemplate fills describes the filled value. */ + helpTextOf(field: FormFieldDefinition): string | undefined { + return field.defaultValueTemplate && field.defaultValueTemplateHelpText ? field.defaultValueTemplateHelpText : field.helpText; } togglePasswordVisible(key: string): void { @@ -75,10 +139,44 @@ export class InstallFormRendererComponent implements OnChanges { control.markAsDirty(); } + onFocus(field: FormFieldDefinition): void { + const control = this.formGroup.controls[field.key]; + this.focusedControl = control ?? null; + this.keepFocusedError = !!control?.invalid && control.touched; + } + + onBlur(field: FormFieldDefinition): void { + this.focusedControl = null; + const control = this.formGroup.controls[field.key]; + const cleaned = cleanFormFieldValue(field, control?.value); + if (control && cleaned !== control.value) { + control.setValue(cleaned); + } + } + getPatternErrorMessage(field: FormFieldDefinition): string { return field.validators?.[0]?.message || 'Invalid format'; } + /** Fields with a help popup show their hint in a box under the row, with the popup trigger. */ + hasHintBox(field: FormFieldDefinition): boolean { + return !!field.helpPopupId && !this.reviewMode; + } + + /** + * True for the fields of a row that has a hint box. They don't reserve space for a hint or an + * error, so the box sits right under them. + */ + isInHintBoxRow(field: FormFieldDefinition): boolean { + return !!this.rowOf.get(field.key)?.fields.some(f => this.hasHintBox(f)); + } + + /** True when the field fails a validator other than required and pattern (one the dialog added). */ + hasFieldError(field: FormFieldDefinition): boolean { + const errors = this.formGroup.controls[field.key]?.errors; + return !!errors && Object.keys(errors).some(key => key !== 'required' && key !== 'pattern'); + } + imagePath(path: string): string { return this.resolveImagePath ? this.resolveImagePath(path) : path; } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index a3ad857308..b04932040d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -4,12 +4,13 @@ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { Observable, of, EMPTY } from 'rxjs'; -import { map, switchMap } from 'rxjs/operators'; +import { catchError, map, switchMap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { ItemType } from '@shared/models/iot-hub/iot-hub-item.models'; -import { DeviceInstalledItemDescriptor, IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { DeviceInstalledItemDescriptor, IotHubInstalledItem, IotHubInstalledItemKeptEntities } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { EntityId } from '@shared/models/id/entity-id'; import { TbIotHubAddItemDialogComponent, IotHubAddItemDialogData, IotHubAddItemDialogResult } from './iot-hub-add-item-dialog.component'; import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData, IotHubItemDetailDialogMode } from './iot-hub-item-detail-dialog.component'; @@ -35,7 +36,8 @@ export class IotHubActionsService { private dialog: MatDialog, private dialogService: DialogService, private translate: TranslateService, - private builtInService: IotHubBuiltInService + private builtInService: IotHubBuiltInService, + private iotHubApiService: IotHubApiService ) {} openItemDetail(item: MpItemVersionView, installedItem?: IotHubInstalledItem, installedItemsCount?: number, @@ -166,12 +168,18 @@ export class IotHubActionsService { if (!installedItem) { return of(false); } - return this.dialog.open(TbIotHubDeleteDialogComponent, { - panelClass: ['tb-dialog'], - disableClose: true, - autoFocus: false, - data: { installedItemId: installedItem.id.id, itemName: installedItem.itemName, itemType: installedItem.itemType } - }).afterClosed(); + // A device package keeps what other installed packages use: the dialog opens with that already known + const keptEntities$: Observable = installedItem.itemType === 'DEVICE' ? + this.iotHubApiService.getInstalledItemKeptEntities(installedItem.id.id, {ignoreErrors: true}).pipe(catchError(() => of(null))) : + of(null); + return keptEntities$.pipe( + switchMap(keptEntities => this.dialog.open(TbIotHubDeleteDialogComponent, { + panelClass: ['tb-dialog'], + disableClose: true, + autoFocus: false, + data: { installedItemId: installedItem.id.id, itemName: installedItem.itemName, itemType: installedItem.itemType, keptEntities } + }).afterClosed()) + ); } // Reached only for items whose action mode is 'connect', i.e. never for built-in content: diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html index 3270cfd641..60eb673a23 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html @@ -1,12 +1,13 @@

    {{ 'iot-hub.remove-confirm-title' | translate:{ name: data.itemName } }}

    -

    {{ (data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc') | translate }}

    +

    {{ description }}

    diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss index 86ad80c197..63fa684164 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss @@ -1,5 +1,11 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +:host { + display: block; + max-width: 600px; +} + .tb-iot-hub-delete-title { font-size: 20px; font-weight: 600; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts index 4447dc8a23..56a9c82543 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts @@ -1,18 +1,21 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { Router } from '@angular/router'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { DialogComponent } from '@shared/components/dialog.component'; -import { IotHubInstalledItem } from 'src/app/shared/models/iot-hub/iot-hub-installed-item.models'; +import { IotHubInstalledItemKeptEntities } from 'src/app/shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { TranslateService } from '@ngx-translate/core'; export interface IotHubDeleteDialogData { installedItemId: string; itemName: string; itemType?: string; + keptEntities?: IotHubInstalledItemKeptEntities | null; } @Component({ @@ -23,14 +26,19 @@ export interface IotHubDeleteDialogData { }) export class TbIotHubDeleteDialogComponent extends DialogComponent { + description: string; + constructor( protected store: Store, protected router: Router, protected dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: IotHubDeleteDialogData, - private iotHubApiService: IotHubApiService + private iotHubApiService: IotHubApiService, + private translate: TranslateService ) { super(store, router, dialogRef); + this.description = data.keptEntities?.entities.length ? this.describeKeptEntities(data.keptEntities) : + this.translate.instant(data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc'); } confirm(): void { @@ -44,4 +52,17 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent { + const key = `iot-hub.remove-kept-entity.${entity.entityId.entityType}`; + const named = this.translate.instant(key, { name: entity.name }); + return named === key ? `'${entity.name}'` : named; + }); + const entities = names.length === 1 ? names[0] : + this.translate.instant('iot-hub.remove-kept-entities', { first: names.slice(0, -1).join(', '), last: names[names.length - 1] }); + return this.translate.instant('iot-hub.remove-desc-kept', + { entities, count: kept.usedByItemsCount, kept: kept.entities.length }); + } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index f4885183cd..ab41384640 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -1,7 +1,8 @@
    @@ -88,9 +89,12 @@ info_outline } - + + + + @@ -107,9 +111,9 @@ {{ (item.itemType === 'DEVICE' ? 'iot-hub.review-device-instructions' : 'iot-hub.view-item-details') | translate }} } -
    } @else { - + } @for (field of row.fields; track field.key) { - @if (hasHintBox(field)) { + @if (row.hasHintBox && field.helpPopupId) {
    {{ helpTextOf(field) }}
    - + @if (isSecretWidget(field)) { {{ field.label }} } @case (FormFieldType.SELECT) { - {{ field.label }} @@ -96,7 +96,7 @@ {{ opt.label }} } - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { @@ -105,7 +105,7 @@ } @case (FormFieldType.STRING_AUTOCOMPLETE) { - {{ field.label }} {{ opt.label }} } - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { @@ -131,7 +131,7 @@ } @case (FormFieldType.PASSWORD) { - {{ field.label }} autorenew } - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { @@ -165,13 +165,13 @@ } @case (FormFieldType.INTEGER) { - {{ field.label }} - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { @@ -186,7 +186,7 @@ } @default { - {{ field.label }} autorenew } - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index fedef617df..e1c525c770 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -9,9 +9,14 @@ import { generateSecret } from '@core/utils'; const DEFAULT_RANDOM_SIZE = 20; -/** Fields shown on one line. */ +/** + * Fields shown on one line. When one of them has a help popup (outside review mode), the row shows + * the field's hint in a box under it, next to the popup trigger, and its fields don't reserve space + * for a hint or an error, so the box sits right under them. + */ interface FormRow { fields: FormFieldDefinition[]; + hasHintBox: boolean; } /** Consecutive rows of one group, shown in a panel with the group as its title; no title for ungrouped fields. */ @@ -53,7 +58,6 @@ export class InstallFormRendererComponent implements OnChanges { sections: FormSection[] = []; // The same for the fields of the collapsed Advanced settings panel advancedSections: FormSection[] = []; - private rowOf = new Map(); private focusedControl: AbstractControl | null = null; private keepFocusedError = false; @@ -81,8 +85,8 @@ export class InstallFormRendererComponent implements OnChanges { } ngOnChanges(changes: SimpleChanges): void { - if (changes.fields) { - this.rowOf.clear(); + // The hint boxes depend on reviewMode too + if (changes.fields || changes.reviewMode) { const fields = this.fields ?? []; this.sections = this.buildSections(fields.filter(field => field.section !== 'advanced')); this.advancedSections = this.buildSections(fields.filter(field => field.section === 'advanced')); @@ -108,12 +112,13 @@ export class InstallFormRendererComponent implements OnChanges { } const rows = sections[sections.length - 1].rows; const last = rows[rows.length - 1]; + const hasHintBox = !!field.helpPopupId && !this.reviewMode; if (field.row && last?.fields[0].row === field.row) { last.fields.push(field); + last.hasHintBox ||= hasHintBox; } else { - rows.push({ fields: [field] }); + rows.push({ fields: [field], hasHintBox }); } - this.rowOf.set(field.key, rows[rows.length - 1]); previous = field; } return sections; @@ -158,19 +163,6 @@ export class InstallFormRendererComponent implements OnChanges { return field.validators?.[0]?.message || 'Invalid format'; } - /** Fields with a help popup show their hint in a box under the row, with the popup trigger. */ - hasHintBox(field: FormFieldDefinition): boolean { - return !!field.helpPopupId && !this.reviewMode; - } - - /** - * True for the fields of a row that has a hint box. They don't reserve space for a hint or an - * error, so the box sits right under them. - */ - isInHintBoxRow(field: FormFieldDefinition): boolean { - return !!this.rowOf.get(field.key)?.fields.some(f => this.hasHintBox(f)); - } - /** True when the field fails a validator other than required and pattern (one the dialog added). */ hasFieldError(field: FormFieldDefinition): boolean { const errors = this.formGroup.controls[field.key]?.errors; diff --git a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts index d45e5d1964..a717d97a0d 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts @@ -279,7 +279,7 @@ export interface FormFieldDefinition { // (tb-secret-key-input); false / undefined → render the typed widget. secretSupport?: boolean; secretType?: SecretType; - // Fields with the same group get one header above the first of them + // Consecutive fields with the same group are shown in one panel titled with the group group?: string; readOnly?: boolean; // Shown inside the empty field; the label then always stays above it From e662441d252adf11127c4c663634870049392483 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 26 Oct 2026 12:50:26 +0200 Subject: [PATCH 318/559] refactor(iot-hub): build the form rows and the unmasked passwords in one ngOnChanges block (cherry picked from commit ce741cf2deee263628c33cecad84dd669a4d6709) --- .../install-form-renderer.component.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index e1c525c770..e1c73ecafa 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -85,18 +85,16 @@ export class InstallFormRendererComponent implements OnChanges { } ngOnChanges(changes: SimpleChanges): void { - // The hint boxes depend on reviewMode too + // The hint boxes and the unmasked passwords depend on reviewMode too if (changes.fields || changes.reviewMode) { const fields = this.fields ?? []; this.sections = this.buildSections(fields.filter(field => field.section !== 'advanced')); this.advancedSections = this.buildSections(fields.filter(field => field.section === 'advanced')); - } - if (changes.fields || changes.reviewMode) { this.passwordVisible = {}; if (this.reviewMode) { - for (const f of this.fields) { - if (f.type === FormFieldType.PASSWORD) { - this.passwordVisible[f.key] = true; + for (const field of fields) { + if (field.type === FormFieldType.PASSWORD) { + this.passwordVisible[field.key] = true; } } } From db90d151e9cd22fc5a794a708195704b29b13fe8 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 15:19:55 +0100 Subject: [PATCH 319/559] Check entity group and owner tenant in edge msgs processing --- .../edge/rpc/processor/BaseEdgeProcessor.java | 12 ++- .../processor/asset/AssetEdgeProcessor.java | 2 +- .../dashboard/DashboardEdgeProcessor.java | 2 +- .../processor/device/DeviceEdgeProcessor.java | 2 +- .../entityview/EntityViewEdgeProcessor.java | 2 +- .../rpc/processor/user/UserEdgeProcessor.java | 2 +- .../rpc/sync/DefaultEdgeRequestsService.java | 5 ++ .../server/edge/DeviceEdgeTest.java | 18 +++++ .../server/edge/EntityGroupEdgeTest.java | 79 +++++++++++++++++++ 9 files changed, 118 insertions(+), 6 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java index 764fd14830..e3207f422d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java @@ -503,6 +503,9 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { protected void changeOwnerIfRequired(TenantId tenantId, CustomerId customerId, EntityId entityId) throws ThingsboardException { EntityId newOwnerId = getOwnerId(tenantId, customerId); + if (!isEntityExists(tenantId, newOwnerId)) { + throw new DataValidationException("Owner " + newOwnerId + " belongs to a different tenant!"); + } EntityId currentOwnerId; switch (entityId.getEntityType()) { case DEVICE -> { @@ -564,12 +567,19 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { protected void safeAddEntityToGroup(TenantId tenantId, EntityGroupId entityGroupId, EntityId entityId) { if (entityGroupId != null && !ModelConstants.NULL_UUID.equals(entityGroupId.getId())) { EntityGroup entityGroup = edgeCtx.getEntityGroupService().findEntityGroupById(tenantId, entityGroupId); - if (entityGroup != null) { + if (entityGroup != null && isEntityExists(tenantId, entityGroup.getOwnerId())) { edgeCtx.getEntityGroupService().addEntityToEntityGroup(tenantId, entityGroupId, entityId); } } } + protected void safeRemoveEntityFromGroup(TenantId tenantId, EntityGroupId entityGroupId, EntityId entityId) { + EntityGroup entityGroup = edgeCtx.getEntityGroupService().findEntityGroupById(tenantId, entityGroupId); + if (entityGroup != null && isEntityExists(tenantId, entityGroup.getOwnerId())) { + edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, entityId); + } + } + protected boolean isSaveRequired(HasVersion current, HasVersion updated) { if (current != null) { current.setVersion(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java index c39a57e635..c72acdec48 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java @@ -55,7 +55,7 @@ public class AssetEdgeProcessor extends BaseAssetProcessor implements AssetProce if (assetUpdateMsg.hasEntityGroupIdMSB() && assetUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(assetUpdateMsg.getEntityGroupIdMSB(), assetUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, assetId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, assetId); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteAsset(tenantId, edge, assetId); } else { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java index 64960cde69..a8b66aebab 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java @@ -51,7 +51,7 @@ public class DashboardEdgeProcessor extends BaseDashboardProcessor implements Da if (dashboardUpdateMsg.hasEntityGroupIdMSB() && dashboardUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(dashboardUpdateMsg.getEntityGroupIdMSB(), dashboardUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, dashboardId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, dashboardId); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteDashboard(tenantId, edge, dashboardId); } else { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index 19cf68bcf2..eb14b48895 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -76,7 +76,7 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr if (deviceUpdateMsg.hasEntityGroupIdMSB() && deviceUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(deviceUpdateMsg.getEntityGroupIdMSB(), deviceUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, deviceId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, deviceId); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteDevice(tenantId, edge, deviceId); } else { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java index ee3aafb725..a40416ad9b 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java @@ -54,7 +54,7 @@ public class EntityViewEdgeProcessor extends BaseEntityViewProcessor implements if (entityViewUpdateMsg.hasEntityGroupIdMSB() && entityViewUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(entityViewUpdateMsg.getEntityGroupIdMSB(), entityViewUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, entityViewId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, entityViewId); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteEntityView(tenantId, edge, entityViewId); } else { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java index 731a70c63f..8c06c38f70 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java @@ -63,7 +63,7 @@ public class UserEdgeProcessor extends BaseUserProcessor implements UserProcesso if (userUpdateMsg.hasEntityGroupIdMSB() && userUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(userUpdateMsg.getEntityGroupIdMSB(), userUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, userId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, userId); yield Futures.immediateFuture(null); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteUserAndPushEntityDeletedEventToRuleEngine(tenantId, userId, edge); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index a0515446b9..1a3d5aa9cb 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -39,6 +39,7 @@ import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventActionType; import org.thingsboard.server.common.data.edge.EdgeEventType; +import org.thingsboard.server.common.data.group.EntityGroup; import org.thingsboard.server.common.data.id.AssetId; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; @@ -561,6 +562,10 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { log.trace("[{}] processEntityGroupEntitiesRequest [{}][{}]", tenantId, edge.getName(), entityGroupEntitiesRequestMsg); if (entityGroupEntitiesRequestMsg.getEntityGroupIdMSB() != 0 && entityGroupEntitiesRequestMsg.getEntityGroupIdLSB() != 0) { EntityGroupId entityGroupId = new EntityGroupId(new UUID(entityGroupEntitiesRequestMsg.getEntityGroupIdMSB(), entityGroupEntitiesRequestMsg.getEntityGroupIdLSB())); + EntityGroup entityGroup = entityGroupService.findEntityGroupById(tenantId, entityGroupId); + if (entityGroup == null || !isTenantEntity(tenantId, entityGroup.getOwnerId())) { + return Futures.immediateFuture(null); + } ListenableFuture> entityIdsFuture; try { // TODO: refactor this to pagination diff --git a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java index f09f35a47d..55b116a125 100644 --- a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java @@ -20,6 +20,7 @@ import org.springframework.test.context.DynamicPropertySource; import org.springframework.test.context.TestPropertySource; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.adaptor.JsonConverter; +import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.DataConstants; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceInfo; @@ -1136,4 +1137,21 @@ public class DeviceEdgeTest extends AbstractEdgeTest { Assert.assertEquals(tenantId, doGet("/api/device/" + device.getUuidId(), Device.class).getTenantId()); } + @Test + public void testSendDeviceUpdateWithCustomerOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + Customer customer = new Customer(); + customer.setTitle("Different Tenant Customer"); + Customer savedCustomer = doPost("/api/customer", customer, Customer.class); + loginTenantAdmin(); + + Device device = saveDeviceOnCloudAndVerifyDeliveryToEdge(); + Device deviceUpdate = new Device(device); + deviceUpdate.setCustomerId(savedCustomer.getId()); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg( + EdgeMsgConstructorUtils.constructDeviceUpdatedMsg(UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, deviceUpdate, null))); + + Assert.assertEquals(tenantId, doGet("/api/device/" + device.getUuidId(), Device.class).getOwnerId()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java index 6e507ab2e1..3d2d51c44e 100644 --- a/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.databind.node.TextNode; import org.awaitility.Awaitility; import org.junit.Assert; import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Dashboard; @@ -21,12 +22,15 @@ import org.thingsboard.server.common.data.group.EntityGroupInfo; import org.thingsboard.server.common.data.id.AssetId; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.EntityGroupId; import org.thingsboard.server.common.data.id.EntityViewId; import org.thingsboard.server.common.data.id.RoleId; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.permission.GroupPermission; import org.thingsboard.server.common.data.role.Role; import org.thingsboard.server.common.data.role.RoleType; +import org.thingsboard.server.dao.group.EntityGroupService; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.AssetUpdateMsg; import org.thingsboard.server.gen.edge.v1.DashboardUpdateMsg; @@ -35,6 +39,7 @@ import org.thingsboard.server.gen.edge.v1.EntityGroupRequestMsg; import org.thingsboard.server.gen.edge.v1.EntityViewUpdateMsg; import org.thingsboard.server.gen.edge.v1.GroupPermissionProto; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; +import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import java.util.List; @@ -47,6 +52,9 @@ import static org.thingsboard.server.dao.customer.CustomerServiceImpl.PUBLIC_CUS @DaoSqlTest public class EntityGroupEdgeTest extends AbstractEdgeTest { + @Autowired + private EntityGroupService entityGroupService; + @Test public void testAllEdgeEntityGroup_autoAssignedToEdgeAfterUnAssign() throws Exception { sendAssetCreateMsgToCloud("Asset From Edge"); @@ -149,6 +157,77 @@ public class EntityGroupEdgeTest extends AbstractEdgeTest { } } + @Test + public void testSendDeviceDeleteFromGroupOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + Device device = new Device(); + device.setName("Different Tenant Group Device"); + device.setType("default"); + Device savedDevice = doPost("/api/device", device, Device.class); + EntityGroup deviceGroup = saveDifferentTenantGroup(EntityType.DEVICE, savedDevice.getId()); + loginTenantAdmin(); + + DeviceUpdateMsg deviceDeleteMsg = DeviceUpdateMsg.newBuilder() + .setMsgType(UpdateMsgType.ENTITY_DELETED_RPC_MESSAGE) + .setIdMSB(savedDevice.getUuidId().getMostSignificantBits()) + .setIdLSB(savedDevice.getUuidId().getLeastSignificantBits()) + .setEntityGroupIdMSB(deviceGroup.getUuidId().getMostSignificantBits()) + .setEntityGroupIdLSB(deviceGroup.getUuidId().getLeastSignificantBits()) + .build(); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg(deviceDeleteMsg)); + + Assert.assertTrue(findGroupEntityIds(deviceGroup).contains(savedDevice.getId())); + } + + @Test + public void testSendUserDeleteFromGroupOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + EntityGroup userGroup = saveDifferentTenantGroup(EntityType.USER, savedDifferentTenantUser.getId()); + loginTenantAdmin(); + + UserUpdateMsg userDeleteMsg = UserUpdateMsg.newBuilder() + .setMsgType(UpdateMsgType.ENTITY_DELETED_RPC_MESSAGE) + .setIdMSB(savedDifferentTenantUser.getUuidId().getMostSignificantBits()) + .setIdLSB(savedDifferentTenantUser.getUuidId().getLeastSignificantBits()) + .setEntityGroupIdMSB(userGroup.getUuidId().getMostSignificantBits()) + .setEntityGroupIdLSB(userGroup.getUuidId().getLeastSignificantBits()) + .build(); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addUserUpdateMsg(userDeleteMsg)); + + Assert.assertTrue(findGroupEntityIds(userGroup).contains(savedDifferentTenantUser.getId())); + } + + @Test + public void testSendEntityGroupEntitiesRequestForGroupOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + Device device = new Device(); + device.setName("Different Tenant Requested Device"); + device.setType("default"); + Device savedDevice = doPost("/api/device", device, Device.class); + EntityGroup deviceGroup = saveDifferentTenantGroup(EntityType.DEVICE, savedDevice.getId()); + loginTenantAdmin(); + + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addEntityGroupEntitiesRequestMsg(EntityGroupRequestMsg.newBuilder() + .setEntityGroupIdMSB(deviceGroup.getUuidId().getMostSignificantBits()) + .setEntityGroupIdLSB(deviceGroup.getUuidId().getLeastSignificantBits()) + .setType(EntityType.DEVICE.name()) + .build())); + } + + private EntityGroup saveDifferentTenantGroup(EntityType groupType, EntityId entityId) throws Exception { + EntityGroup entityGroup = new EntityGroup(); + entityGroup.setType(groupType); + entityGroup.setName("Different Tenant " + groupType.name() + " Group"); + entityGroup.setOwnerId(differentTenantId); + EntityGroup savedGroup = doPost("/api/entityGroup", entityGroup, EntityGroup.class); + addEntitiesToEntityGroup(List.of(entityId), savedGroup.getId()); + return savedGroup; + } + + private List findGroupEntityIds(EntityGroup entityGroup) throws Exception { + return entityGroupService.findAllEntityIdsAsync(differentTenantId, entityGroup.getId(), new PageLink(100)).get(); + } + private EntityGroup createUserGroup() { EntityGroup entityGroup = new EntityGroup(); entityGroup.setType(EntityType.USER); From 5e0ce94fbb6db11a16014d68831178e79c064a1a Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 15:19:55 +0100 Subject: [PATCH 320/559] Check entity tenant in edge report template and scheduler event msgs processing --- .../report/BaseReportTemplateProcessor.java | 4 +- .../BaseSchedulerEventProcessor.java | 17 ++++++ .../SchedulerEventEdgeProcessor.java | 2 +- .../server/edge/ReportTemplateEdgeTest.java | 39 +++++++++++- .../server/edge/SchedulerEventEdgeTest.java | 60 +++++++++++++++++++ 5 files changed, 119 insertions(+), 3 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/report/BaseReportTemplateProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/report/BaseReportTemplateProcessor.java index 237c6ce5bc..c059a9974e 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/report/BaseReportTemplateProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/report/BaseReportTemplateProcessor.java @@ -29,6 +29,8 @@ public abstract class BaseReportTemplateProcessor extends BaseEdgeProcessor { if (reportTemplate == null) { throw new RuntimeException("[{" + tenantId + "}] reportTemplateUpdateMsg {" + reportTemplateUpdateMsg + "} cannot be converted to report template"); } + checkEntityTenant(tenantId, reportTemplateId); + reportTemplate.setTenantId(tenantId); ReportTemplate reportTemplateById = edgeCtx.getReportTemplateService().findReportTemplateById(tenantId, reportTemplateId); if (reportTemplateById == null) { created = true; @@ -48,7 +50,7 @@ public abstract class BaseReportTemplateProcessor extends BaseEdgeProcessor { protected void deleteReportTemplate(TenantId tenantId, ReportTemplateId reportTemplateId) { ReportTemplate reportTemplateToDelete = edgeCtx.getReportTemplateService().findReportTemplateById(tenantId, reportTemplateId); - if (reportTemplateToDelete != null) { + if (reportTemplateToDelete != null && tenantId.equals(reportTemplateToDelete.getTenantId())) { edgeCtx.getReportTemplateService().deleteReportTemplate(tenantId, reportTemplateId); pushReportTemplateDeletedEventToRuleEngine(tenantId, reportTemplateToDelete); } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/BaseSchedulerEventProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/BaseSchedulerEventProcessor.java index fb938c2aa9..166216bdea 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/BaseSchedulerEventProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/BaseSchedulerEventProcessor.java @@ -8,12 +8,16 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.SchedulerEventId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.report.ReportConfig; import org.thingsboard.server.common.data.scheduler.SchedulerEvent; import org.thingsboard.server.common.data.scheduler.SchedulerEventInfo; import org.thingsboard.server.dao.service.DataValidator; +import org.thingsboard.server.exception.DataValidationException; import org.thingsboard.server.gen.edge.v1.SchedulerEventUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; +import static org.thingsboard.server.common.data.DataConstants.GENERATE_REPORT; + @Slf4j public abstract class BaseSchedulerEventProcessor extends BaseEdgeProcessor { @@ -27,6 +31,9 @@ public abstract class BaseSchedulerEventProcessor extends BaseEdgeProcessor { if (schedulerEvent == null) { throw new RuntimeException("[{" + tenantId + "}] schedulerEventUpdateMsg {" + schedulerEventUpdateMsg + "} cannot be converted to scheduler event"); } + checkEntityTenant(tenantId, schedulerEventId); + schedulerEvent.setTenantId(tenantId); + checkReportConfig(tenantId, schedulerEvent); SchedulerEvent existingSchedulerEvent = edgeCtx.getSchedulerEventService().findSchedulerEventById(tenantId, schedulerEventId); if (existingSchedulerEvent == null) { created = true; @@ -48,6 +55,16 @@ public abstract class BaseSchedulerEventProcessor extends BaseEdgeProcessor { return created; } + private void checkReportConfig(TenantId tenantId, SchedulerEvent schedulerEvent) { + if (GENERATE_REPORT.equals(schedulerEvent.getType())) { + ReportConfig reportConfig = JacksonUtil.treeToValue(schedulerEvent.getConfiguration(), ReportConfig.class); + if (reportConfig == null || reportConfig.getReportTemplateId() == null || !isEntityExists(tenantId, reportConfig.getReportTemplateId()) + || reportConfig.getUserId() == null || !isEntityExists(tenantId, reportConfig.getUserId())) { + throw new DataValidationException("Scheduler event is referencing to non-existent report template or user!"); + } + } + } + private void updateEnabledBasedOnCreationRules(SchedulerEvent newSchedulerEvent) { boolean isEnabled = newSchedulerEvent.isEnabled() && isEnabledDuringCreation(); newSchedulerEvent.setEnabled(isEnabled); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/SchedulerEventEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/SchedulerEventEdgeProcessor.java index e9398cb5dd..1889ea4954 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/SchedulerEventEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/SchedulerEventEdgeProcessor.java @@ -46,7 +46,7 @@ public class SchedulerEventEdgeProcessor extends BaseSchedulerEventProcessor imp } case ENTITY_DELETED_RPC_MESSAGE -> { SchedulerEvent schedulerEventToDelete = edgeCtx.getSchedulerEventService().findSchedulerEventById(tenantId, schedulerEventId); - if (schedulerEventToDelete != null) { + if (schedulerEventToDelete != null && tenantId.equals(schedulerEventToDelete.getTenantId())) { edgeCtx.getSchedulerEventService().unassignSchedulerEventFromEdge(tenantId, schedulerEventId, edge.getId()); } yield Futures.immediateFuture(null); diff --git a/application/src/test/java/org/thingsboard/server/edge/ReportTemplateEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/ReportTemplateEdgeTest.java index def2ccb2ea..6532ec9455 100644 --- a/application/src/test/java/org/thingsboard/server/edge/ReportTemplateEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/ReportTemplateEdgeTest.java @@ -244,5 +244,42 @@ public class ReportTemplateEdgeTest extends AbstractEdgeTest { private CustomerId normalizeCustomerId(CustomerId customerId) { return customerId == null || customerId.isNullUid() ? null : customerId; } -} + @Test + public void testReportTemplateWithTenantIdOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + ReportTemplate reportTemplate = createReportTemplate("Edge Report Template With Different Tenant", tenantId); + reportTemplate.setId(new ReportTemplateId(UUID.randomUUID())); + reportTemplate.setTenantId(differentTenantId); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(createUplinkMsg(reportTemplate)); + Assert.assertTrue(edgeImitator.waitForResponses()); + + ReportTemplate foundReportTemplate = doGet("/api/reportTemplate/" + reportTemplate.getId().getId(), ReportTemplate.class); + Assert.assertEquals(tenantId, foundReportTemplate.getTenantId()); + } + + @Test + public void testReportTemplateUpdateAndDeleteOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + ReportTemplate reportTemplate = createReportTemplate("Different Tenant Report Template", differentTenantId); + reportTemplate.setTenantId(differentTenantId); + ReportTemplate savedReportTemplate = doPost("/api/reportTemplate", reportTemplate, ReportTemplate.class); + loginTenantAdmin(); + + ReportTemplate reportTemplateUpdate = createReportTemplate("Updated From Edge", tenantId); + reportTemplateUpdate.setId(savedReportTemplate.getId()); + edgeImitator.expectResponsesAmount(2); + edgeImitator.sendUplinkMsg(createUpdateUplinkMsg(reportTemplateUpdate)); + edgeImitator.sendUplinkMsg(createDeleteUplinkMsg(savedReportTemplate)); + Assert.assertTrue(edgeImitator.waitForResponses()); + + loginDifferentTenant(); + ReportTemplate foundReportTemplate = doGet("/api/reportTemplate/" + savedReportTemplate.getUuidId(), ReportTemplate.class); + Assert.assertEquals(savedReportTemplate.getName(), foundReportTemplate.getName()); + Assert.assertEquals(differentTenantId, foundReportTemplate.getTenantId()); + } + +} diff --git a/application/src/test/java/org/thingsboard/server/edge/SchedulerEventEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SchedulerEventEdgeTest.java index b09d9a12f9..5f00a00ba3 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SchedulerEventEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SchedulerEventEdgeTest.java @@ -12,6 +12,12 @@ import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.SchedulerEventId; import org.thingsboard.server.common.data.msg.TbMsgType; import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.report.ReportConfig; +import org.thingsboard.server.common.data.report.ReportTemplate; +import org.thingsboard.server.common.data.report.ReportTemplateType; +import org.thingsboard.server.common.data.report.TbReportFormat; +import org.thingsboard.server.common.data.report.configuration.CsvReportTemplateConfig; +import org.thingsboard.server.common.data.report.configuration.components.HeadingComponent; import org.thingsboard.server.common.data.scheduler.MonthlyRepeat; import org.thingsboard.server.common.data.scheduler.SchedulerEvent; import org.thingsboard.server.common.data.scheduler.SchedulerEventInfo; @@ -23,11 +29,14 @@ import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; +import java.util.ArrayList; +import java.util.List; import java.util.Optional; import java.util.UUID; import java.util.concurrent.TimeUnit; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; +import static org.thingsboard.server.common.data.DataConstants.GENERATE_REPORT; @DaoSqlTest public class SchedulerEventEdgeTest extends AbstractEdgeTest { @@ -287,4 +296,55 @@ public class SchedulerEventEdgeTest extends AbstractEdgeTest { return schedulerEvent; } + @Test + public void testSchedulerEventWithTenantIdOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + SchedulerEvent schedulerEvent = createSchedulerEvent("Edge Scheduler Event With Different Tenant", tenantId); + schedulerEvent.setId(new SchedulerEventId(UUID.randomUUID())); + schedulerEvent.setTenantId(differentTenantId); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(createUplinkMsg(schedulerEvent)); + Assert.assertTrue(edgeImitator.waitForResponses()); + + SchedulerEvent foundSchedulerEvent = doGet("/api/schedulerEvent/" + schedulerEvent.getUuidId(), SchedulerEvent.class); + Assert.assertEquals(tenantId, foundSchedulerEvent.getTenantId()); + } + + @Test + public void testGenerateReportSchedulerEventWithUserOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + ReportTemplate reportTemplate = new ReportTemplate(); + reportTemplate.setTenantId(tenantId); + reportTemplate.setOwnerId(tenantId); + reportTemplate.setName("Scheduler Report Template"); + reportTemplate.setType(ReportTemplateType.REPORT); + reportTemplate.setFormat(TbReportFormat.CSV); + CsvReportTemplateConfig reportTemplateConfig = new CsvReportTemplateConfig(); + reportTemplateConfig.setEntityAliases(new ArrayList<>()); + reportTemplateConfig.setFilters(new ArrayList<>()); + HeadingComponent headingComponent = new HeadingComponent(); + headingComponent.setValue("Heading"); + reportTemplateConfig.setComponents(List.of(headingComponent)); + reportTemplate.setConfiguration(reportTemplateConfig); + ReportTemplate savedReportTemplate = doPost("/api/reportTemplate", reportTemplate, ReportTemplate.class); + + ReportConfig reportConfig = new ReportConfig(); + reportConfig.setReportTemplateId(savedReportTemplate.getId()); + reportConfig.setUserId(savedDifferentTenantUser.getId()); + reportConfig.setTimezone("UTC"); + SchedulerEvent schedulerEvent = createSchedulerEvent("Edge Report Scheduler Event", tenantId); + schedulerEvent.setId(new SchedulerEventId(UUID.randomUUID())); + schedulerEvent.setType(GENERATE_REPORT); + schedulerEvent.setConfiguration(JacksonUtil.valueToTree(reportConfig)); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(createUplinkMsg(schedulerEvent)); + Assert.assertTrue(edgeImitator.waitForResponses()); + + doGet("/api/schedulerEvent/" + schedulerEvent.getUuidId()).andExpect(status().isNotFound()); + } + } From e614d5d307416f6482681442af181562fa762917 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 15:19:55 +0100 Subject: [PATCH 321/559] Add test for internal api key from edge --- .../server/edge/ApiKeyEdgeTest.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java index 45f7c0c024..5d419c493d 100644 --- a/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java @@ -15,6 +15,9 @@ import org.thingsboard.server.common.data.group.EntityGroupInfo; import org.thingsboard.server.common.data.id.ApiKeyId; import org.thingsboard.server.common.data.pat.ApiKey; import org.thingsboard.server.common.data.pat.ApiKeyInfo; +import org.thingsboard.server.common.data.permission.AuthorityPermissionsInfo; +import org.thingsboard.server.common.data.permission.Operation; +import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.dao.pat.ApiKeyService; import org.thingsboard.server.dao.service.DaoSqlTest; @@ -25,7 +28,9 @@ import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; +import java.util.Map; import java.util.Optional; +import java.util.Set; import java.util.UUID; import java.util.concurrent.TimeUnit; @@ -241,4 +246,23 @@ public class ApiKeyEdgeTest extends AbstractEdgeTest { Assert.assertNull(apiKeyService.findApiKeyById(tenantId, new ApiKeyId(uuid))); } + @Test + public void testSendInternalApiKeyWithPermissionsToCloud() throws Exception { + UUID uuid = Uuids.timeBased(); + ApiKey apiKey = createSimpleApiKey("Internal Key From Edge"); + apiKey.setInternal(true); + AuthorityPermissionsInfo permissions = new AuthorityPermissionsInfo(); + permissions.setOperationsByResource(Map.of(Authority.SYS_ADMIN, Map.of(Resource.ALL, Set.of(Operation.ALL)))); + apiKey.setPermissions(permissions); + UplinkMsg uplinkMsg = getUplinkMsg(uuid, apiKey, UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE); + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + + ApiKey savedApiKey = apiKeyService.findApiKeyById(tenantId, new ApiKeyId(uuid)); + Assert.assertNotNull(savedApiKey); + Assert.assertFalse(savedApiKey.isInternal()); + Assert.assertNull(savedApiKey.getPermissions()); + } + } From 41143a17564961e9bfb59806481874075b0062b3 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 27 Oct 2026 18:56:19 +0200 Subject: [PATCH 322/559] feat(iot-hub): the device install form checks the connection on Next, splits a pasted port and shows toggles - A form field with checkConnection makes Next: Provisioning check the integration connection. The form waits while it runs, and a failed check opens an alert titled with the install method that shows the field's checkConnectionFailedText (or a general text) and keeps the user on the form. The separate Check connection button is gone. - A field with portField moves a port pasted at the end of its value into the named field. - BOOLEAN fields render as a slide toggle in a form row, with the help text in the hint icon. --- .../device-install-dialog.component.html | 46 +++--------- .../device-install-dialog.component.scss | 17 +---- .../device-install-dialog.component.ts | 73 ++++++++----------- .../install-form-renderer.component.html | 16 ++-- .../install-form-renderer.component.scss | 6 -- .../install-form-renderer.component.ts | 16 ++-- .../models/iot-hub/device-package.models.ts | 26 ++++++- 7 files changed, 81 insertions(+), 119 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 8f36545817..11499fe154 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -49,43 +49,14 @@ } @case ('form') { -
    +
    + [reviewMode]="reviewMode"> - -
    - - @switch (connectionCheckMessage(ws)) { - @case ('checking') { - - } - @case ('success') { - - check_circle - {{ 'iot-hub.connection-check-success' | translate }} - - } - @case ('error') { - - error - {{ 'iot-hub.connection-check-failed' | translate }} - - } - } -
    -
    - @if (connectionCheckOf(ws) && !hasCheckConnectionField(ws)) { - - }
    } @@ -256,7 +227,7 @@ @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { @@ -281,9 +252,12 @@ } @case ('form') { -
    } } - @if (checkConnectionTemplate && hasCheckConnectionField(row.fields)) { - - }
    } @@ -85,7 +82,15 @@ @switch (field.type) { @case (FormFieldType.BOOLEAN) { - {{ field.label }} +
    + + @if (helpTextOf(field)) { +
    {{ field.label }}
    + } @else { + {{ field.label }} + } +
    +
    } @case (FormFieldType.SELECT) { {{ helpTextOf(field) }}
    - } @if (field.helpImage) { } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index 9acd239c18..f99f29ebca 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -10,12 +10,6 @@ align-self: center; } -.tb-install-form-field-help { - font-size: 12px; - color: rgba(0, 0, 0, 0.6); - margin-top: 4px; -} - .tb-install-form-field-help-image { max-width: 100%; margin-top: 8px; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index e1c73ecafa..6965009871 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 -import { Component, Input, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; +import { Component, Input, OnChanges, SimpleChanges } from '@angular/core'; import { AbstractControl, UntypedFormGroup } from '@angular/forms'; import { ErrorStateMatcher } from '@angular/material/core'; -import { cleanFormFieldValue, FormFieldDefinition, FormFieldType } from '@shared/models/iot-hub/device-package.models'; +import { cleanFormFieldValue, FormFieldDefinition, FormFieldType, pastedPortOf } from '@shared/models/iot-hub/device-package.models'; import { generateSecret } from '@core/utils'; const DEFAULT_RANDOM_SIZE = 20; @@ -49,8 +49,6 @@ export class InstallFormRendererComponent implements OnChanges { @Input() resolveImagePath?: (path: string) => string; /** When true, PASSWORD inputs render unmasked by default (used by review mode). */ @Input() reviewMode = false; - /** Rendered under the field marked with checkConnection; the dialog supplies it. */ - @Input() checkConnectionTemplate?: TemplateRef | null; passwordVisible: Record = {}; // Fields in render order: consecutive fields of a group form a section, and consecutive fields @@ -122,10 +120,6 @@ export class InstallFormRendererComponent implements OnChanges { return sections; } - hasCheckConnectionField(fields: FormFieldDefinition[]): boolean { - return fields.some(field => field.checkConnection); - } - /** The hint of a field that a defaultValueTemplate fills describes the filled value. */ helpTextOf(field: FormFieldDefinition): string | undefined { return field.defaultValueTemplate && field.defaultValueTemplateHelpText ? field.defaultValueTemplateHelpText : field.helpText; @@ -151,6 +145,12 @@ export class InstallFormRendererComponent implements OnChanges { onBlur(field: FormFieldDefinition): void { this.focusedControl = null; const control = this.formGroup.controls[field.key]; + const port = pastedPortOf(field, control?.value); + const portControl = field.portField ? this.formGroup.controls[field.portField] : undefined; + if (port !== undefined && portControl) { + portControl.setValue(port); + portControl.markAsDirty(); + } const cleaned = cleanFormFieldValue(field, control?.value); if (control && cleaned !== control.value) { control.setValue(cleaned); diff --git a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts index a717d97a0d..b707ac353d 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts @@ -110,7 +110,7 @@ export const installMethodLabels = new Map( [InstallMethod.INTEGRATION_TCP, 'TCP Integration'], [InstallMethod.INTEGRATION_THINGPARK, 'ThingPark Wireless'], [InstallMethod.INTEGRATION_THINGPARK_ENTERPRISE, 'ThingPark Enterprise'], - [InstallMethod.INTEGRATION_TTI, 'The Things Stack Cloud'], + [InstallMethod.INTEGRATION_TTI, 'The Things Stack Cloud & Enterprise'], [InstallMethod.INTEGRATION_TTN, 'The Things Stack Sandbox'], [InstallMethod.INTEGRATION_TUYA, 'Tuya'], [InstallMethod.INTEGRATION_UDP, 'UDP Integration'] @@ -291,12 +291,16 @@ export interface FormFieldDefinition { defaultValueTemplateHelpText?: string; // 'advanced' puts the field into the collapsed Advanced settings panel below the form section?: FormFieldSection; - // Shows the Check connection button of the integration the form configures under this field + // Next checks the connection of the integration the form configures and stops on a failure checkConnection?: boolean; + // With checkConnection: the text of the dialog a failed check shows + checkConnectionFailedText?: string; // A regular expression whose matches are removed from the value when the user leaves the field // and before the step is committed, e.g. "@ttn$" for an ID copied with its suffix. // validators check the cleaned value. cleanupPattern?: string; + // Key of the field that takes the port pasted at the end of this field's value, e.g. "host:8883" + portField?: string; // Set by the install dialog for the fields it adds, not by packages: // help popup shown under the field, and the text of its trigger helpPopupId?: string; @@ -311,8 +315,22 @@ export interface FormFieldDefinition { export type FormFieldSection = 'advanced'; -export const cleanFormFieldValue = (field: FormFieldDefinition, value: any): any => - field.cleanupPattern && typeof value === 'string' ? value.replace(new RegExp(field.cleanupPattern, 'g'), '') : value; +const PASTED_PORT_PATTERN = /:(\d{1,5})\/*\s*$/; + +/** The value without the port that portField takes, then without the cleanupPattern matches. */ +export const cleanFormFieldValue = (field: FormFieldDefinition, value: any): any => { + if (typeof value !== 'string') { + return value; + } + const withoutPort = field.portField ? value.replace(PASTED_PORT_PATTERN, '') : value; + return field.cleanupPattern ? withoutPort.replace(new RegExp(field.cleanupPattern, 'g'), '') : withoutPort; +}; + +/** The port at the end of the value of a field with portField, e.g. 8883 for "eu1.example.com:8883". */ +export const pastedPortOf = (field: FormFieldDefinition, value: any): number | undefined => { + const match = field.portField && typeof value === 'string' ? PASTED_PORT_PATTERN.exec(value) : null; + return match ? Number(match[1]) : undefined; +}; export interface EntityStepOutput { id: string; From 082fc3205844035c90e8ed0fbfd07cad7d20276b Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 27 Oct 2026 18:56:19 +0200 Subject: [PATCH 323/559] feat(iot-hub): name the TTI install method and integration type The Things Stack Cloud & Enterprise --- ui-ngx/src/assets/locale/locale.constant-ar_AE.json | 2 +- ui-ngx/src/assets/locale/locale.constant-ca_ES.json | 2 +- ui-ngx/src/assets/locale/locale.constant-da_DK.json | 2 +- ui-ngx/src/assets/locale/locale.constant-de_DE.json | 2 +- ui-ngx/src/assets/locale/locale.constant-el_GR.json | 2 +- ui-ngx/src/assets/locale/locale.constant-en_US.json | 10 +++++----- ui-ngx/src/assets/locale/locale.constant-es_ES.json | 2 +- ui-ngx/src/assets/locale/locale.constant-fr_FR.json | 2 +- ui-ngx/src/assets/locale/locale.constant-hi_IN.json | 2 +- ui-ngx/src/assets/locale/locale.constant-it_IT.json | 2 +- ui-ngx/src/assets/locale/locale.constant-ja_JP.json | 2 +- ui-ngx/src/assets/locale/locale.constant-lt_LT.json | 2 +- ui-ngx/src/assets/locale/locale.constant-nl_NL.json | 2 +- ui-ngx/src/assets/locale/locale.constant-no_NO.json | 2 +- ui-ngx/src/assets/locale/locale.constant-pl_PL.json | 2 +- ui-ngx/src/assets/locale/locale.constant-pt_BR.json | 2 +- ui-ngx/src/assets/locale/locale.constant-tr_TR.json | 2 +- ui-ngx/src/assets/locale/locale.constant-uk_UA.json | 2 +- ui-ngx/src/assets/locale/locale.constant-zh_CN.json | 2 +- 19 files changed, 23 insertions(+), 23 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json index 238062e445..9b25b862d7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json @@ -3626,7 +3626,7 @@ "type-ibm-watson-iot-description": "خدمة مُدارة بالكامل على السحابة.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "شبكة LoRaWAN المفتوحة والمركزة.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "برنامج لتشغيل شبكات LoRaWAN الخاصة بنطاق واسع.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "خادم تكوين شبكة LoRaWAN.", diff --git a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json index 2f6d4040d9..75557d2ed8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json @@ -3050,7 +3050,7 @@ "type-aws-kinesis": "AWS Kinesis", "type-ibm-watson-iot": "IBM Watson IoT", "type-ttn": "The Things Stack Sandbox", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-chirpstack": "ChirpStack", "type-azure-event-hub": "Azure Event Hub", "type-azure-iot-hub": "Azure IoT Hub", diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index b3c53700be..2fb93d0171 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Tjeneste til realtids video- og datastrømme.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Åbent og decentraliseret LoRaWAN-netværk.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software til drift af private LoRaWAN-netværk i stor skala.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN-netværkskonfigurationstjeneste.", diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index 3db3ab6800..0be24c2909 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Dienst für Echtzeit-Video- und Datenströme.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Offenes und dezentrales LoRaWAN-Netzwerk.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software zum Betrieb privater LoRaWAN-Netzwerke im großen Maßstab.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index fbea64bf30..928afe9da8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Υπηρεσία ροής δεδομένων και βίντεο σε πραγματικό χρόνο.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Ανοιχτό και αποκεντρωμένο δίκτυο LoRaWAN.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Λογισμικό για ιδιωτικά δίκτυα LoRaWAN.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Διακομιστής διαμόρφωσης δικτύου LoRaWAN.", diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 19822cadae..0e0b2c893c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -5694,7 +5694,7 @@ "type-aws-kinesis-description": "Service for real-time video and data streams.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Open and decentralized LoRaWAN network.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software to operate private LoRaWAN networks at scale.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", @@ -6287,10 +6287,10 @@ }, "iot-hub": { "advanced-settings": "Advanced settings", - "check-connection": "Check connection", - "connection-check-success": "Connected.", - "connection-check-failed": "Could not connect. Check the connection settings and the credentials.", - "continue-anyway": "Continue anyway", + "back-to-configuration": "Back to configuration", + "checking-connection": "Checking connection…", + "connection-check-failed-title": "Failed to connect to {{method}}", + "connection-check-failed-text": "Check the connection settings, then try again.", "iot-hub": "IoT Hub", "generate-random-value": "Generate random value", "home-title": "ThingsBoard IoT Hub", diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index 1f94ccd579..341bdfa40e 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Servicio para transmisión de datos y video en tiempo real.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Red LoRaWAN abierta y descentralizada.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software para operar redes LoRaWAN privadas a escala.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index 4185c7d673..4fd4b3e797 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Service pour le traitement de flux vidéo et de données en temps réel.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Réseau LoRaWAN ouvert et décentralisé.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Logiciel pour exploiter des réseaux LoRaWAN privés à grande échelle.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json index 7cb1ee68e0..2b3d37af18 100644 --- a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json +++ b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json @@ -4854,7 +4854,7 @@ "type-aws-kinesis-description": "रीयल-टाइम वीडियो और डेटा स्ट्रीम्स के लिए सेवा.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "ओपन और डिसेंट्रलाइज़्ड LoRaWAN नेटवर्क.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "बड़े स्तर पर प्राइवेट LoRaWAN नेटवर्क ऑपरेट करने के लिए सॉफ़्टवेयर.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN नेटवर्क कॉन्फ़िगरेशन सर्वर.", diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index 09376d0cec..d89c64c08f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Servizio per flussi video e dati in tempo reale.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Rete LoRaWAN aperta e decentralizzata.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software per reti private LoRaWAN su larga scala.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index 569d17f7a5..1cc5650d1d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "リアルタイムのビデオおよびデータストリームサービス。", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "オープンで分散型のLoRaWANネットワーク。", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "スケールでプライベートLoRaWANネットワークを運用するためのソフトウェア。", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWANネットワーク構成サーバー。", diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index b13f82cd5c..3bdf99f170 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -4341,7 +4341,7 @@ "type-aws-kinesis-description": "Realaus laiko vaizdo ir duomenų srautai.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Atviras ir decentralizuotas LoRaWAN tinklas.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Programinė įranga privačioms LoRaWAN tinklams masteliuoti.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN tinklo konfigūravimo serveris.", diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index 53150314c1..9c32ca6fcc 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Dienst voor realtime video- en datastromen.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Open en gedecentraliseerd LoRaWAN-netwerk.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software om privé LoRaWAN-netwerken op schaal te beheren.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN-netwerkconfiguratieserver.", diff --git a/ui-ngx/src/assets/locale/locale.constant-no_NO.json b/ui-ngx/src/assets/locale/locale.constant-no_NO.json index ff10d16752..3d5a817173 100644 --- a/ui-ngx/src/assets/locale/locale.constant-no_NO.json +++ b/ui-ngx/src/assets/locale/locale.constant-no_NO.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Tjeneste for sanntidsvideo og datastrømmer.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Åpent og desentralisert LoRaWAN-nettverk.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Programvare for å drive private LoRaWAN-nettverk i stor skala.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Konfigurasjonsserver for LoRaWAN-nettverk.", diff --git a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json index ddae826d81..be600a572c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json +++ b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json @@ -3543,7 +3543,7 @@ "type-ibm-watson-iot-description": "W pełni zarządzana usługa hostowana w chmurze.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Otwarta i zdecentralizowana sieć LoRaWAN.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Oprogramowanie do obsługi prywatnych sieci LoRaWAN na dużą skalę.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Serwer konfiguracji sieci LoRaWAN.", diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index a39b81493a..352563c216 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Serviço para streams de vídeo e dados em tempo real.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Rede LoRaWAN aberta e descentralizada.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software para operar redes LoRaWAN privadas em escala.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index 5174a42982..11af893b7c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Gerçek zamanlı video ve veri akış hizmeti.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Açık ve merkeziyetsiz LoRaWAN ağı.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Ölçeklenebilir özel LoRaWAN ağlarını çalıştırmak için yazılım.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN ağı yapılandırma sunucusu.", diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index a44b237554..73aa65c360 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Сервіс для потоків відео та даних у реальному часі.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Відкрита та децентралізована мережа LoRaWAN.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Програмне забезпечення для масштабованої експлуатації приватних мереж LoRaWAN.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index ced59136bb..2583e70fc1 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "实时视频和数据流服务。", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "开放去中心化的 LoRaWAN 网络。", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "用于大规模运营私有 LoRaWAN 网络的软件。", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN 网络配置服务器。", From df75ff67e8ea45a258924fe0ffc0f9f77113d7f8 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Tue, 27 Oct 2026 19:06:40 +0100 Subject: [PATCH 324/559] Evict API key cache entry by its old value on rotation --- .../controller/ApiKeyControllerTest.java | 78 +++++++++++++++++++ .../server/dao/pat/ApiKeyServiceImpl.java | 3 +- .../server/dao/service/ApiKeyServiceTest.java | 16 ++++ 3 files changed, 96 insertions(+), 1 deletion(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ApiKeyControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ApiKeyControllerTest.java index d84e7f5659..b0cca491a3 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ApiKeyControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ApiKeyControllerTest.java @@ -7,6 +7,8 @@ import com.fasterxml.jackson.core.type.TypeReference; import org.junit.Assert; import org.junit.Before; import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.pat.ApiKey; @@ -15,6 +17,7 @@ import org.thingsboard.server.common.data.permission.AuthorityPermissionsInfo; import org.thingsboard.server.common.data.permission.Operation; import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.pat.ApiKeyService; import org.thingsboard.server.dao.service.DaoSqlTest; import java.util.HashMap; @@ -27,6 +30,9 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @DaoSqlTest public class ApiKeyControllerTest extends AbstractControllerTest { + @Autowired + private ApiKeyService apiKeyService; + @Before public void setUp() throws Exception { loginTenantAdmin(); @@ -152,6 +158,68 @@ public class ApiKeyControllerTest extends AbstractControllerTest { doDelete("/api/apiKey/" + savedApiKey.getId()).andExpect(status().isOk()); } + @Test + public void testRotateInternalApiKey_oldValueNoLongerAuthenticates() throws Exception { + loginSysAdmin(); + ApiKeyInfo apiKeyInfo = constructApiKeyInfo(sysAdminPermissionsInfo()); + apiKeyInfo.setTenantId(TenantId.SYS_TENANT_ID); + // internal keys cannot be created via REST, so build it directly through the service + ApiKey internalApiKey = apiKeyService.saveApiKey(TenantId.SYS_TENANT_ID, apiKeyInfo); + String originalValue = internalApiKey.getValue(); + try { + // authenticate with the original value to warm up the API key cache + setApiKey(originalValue); + doGetWithApiKey("/api/auth/user").andExpect(status().isOk()); + + ApiKey rotatedApiKey = doPost("/api/apiKey/" + internalApiKey.getId().getId() + "/rotate", ApiKey.class); + Assert.assertNotNull(rotatedApiKey); + Assert.assertNotNull(rotatedApiKey.getValue()); + Assert.assertNotEquals(originalValue, rotatedApiKey.getValue()); + + doGetWithApiKey("/api/auth/user").andExpect(status().isUnauthorized()); + + setApiKey(rotatedApiKey.getValue()); + doGetWithApiKey("/api/auth/user").andExpect(status().isOk()); + } finally { + resetApiKey(); + apiKeyService.deleteApiKey(TenantId.SYS_TENANT_ID, apiKeyService.findApiKeyById(TenantId.SYS_TENANT_ID, internalApiKey.getId()), true); + } + } + + @Test + public void testRotateApiKeyAsTenantAdmin_shouldBeForbidden() throws Exception { + ApiKeyInfo apiKeyInfo = constructApiKeyInfo("Tenant admin API key", true); + ApiKey apiKey = doPost("/api/apiKey", apiKeyInfo, ApiKey.class); + + doPost("/api/apiKey/" + apiKey.getId().getId() + "/rotate").andExpect(status().isForbidden()); + + doDelete("/api/apiKey/" + apiKey.getId()).andExpect(status().isOk()); + } + + @Test + public void testRotateApiKeyAsCustomerUser_shouldBeForbidden() throws Exception { + ApiKeyInfo apiKeyInfo = constructApiKeyInfo("Tenant admin API key", true); + ApiKey apiKey = doPost("/api/apiKey", apiKeyInfo, ApiKey.class); + + loginCustomerUser(); + doPost("/api/apiKey/" + apiKey.getId().getId() + "/rotate").andExpect(status().isForbidden()); + + loginTenantAdmin(); + doDelete("/api/apiKey/" + apiKey.getId()).andExpect(status().isOk()); + } + + @Test + public void testRotateRegularApiKeyOfAnotherUserAsSysAdmin_shouldBeBadRequest() throws Exception { + ApiKeyInfo apiKeyInfo = constructApiKeyInfo("Tenant admin API key", true); + ApiKey apiKey = doPost("/api/apiKey", apiKeyInfo, ApiKey.class); + + loginSysAdmin(); + doPost("/api/apiKey/" + apiKey.getId().getId() + "/rotate").andExpect(status().isBadRequest()); + + loginTenantAdmin(); + doDelete("/api/apiKey/" + apiKey.getId()).andExpect(status().isOk()); + } + @Test public void testDeleteApiKey() throws Exception { doDelete("/api/apiKey/" + UUID.randomUUID()).andExpect(status().isNotFound()); @@ -174,6 +242,16 @@ public class ApiKeyControllerTest extends AbstractControllerTest { return apiKeyInfo; } + private AuthorityPermissionsInfo sysAdminPermissionsInfo() { + Map> permissions = new HashMap<>(); + permissions.put(Resource.DEVICE, Set.of(Operation.READ)); + Map>> operationsByResource = new HashMap<>(); + operationsByResource.put(Authority.SYS_ADMIN, permissions); + AuthorityPermissionsInfo authorityPermissionsInfo = new AuthorityPermissionsInfo(); + authorityPermissionsInfo.setOperationsByResource(operationsByResource); + return authorityPermissionsInfo; + } + private ApiKeyInfo constructApiKeyInfo(AuthorityPermissionsInfo info) { ApiKeyInfo apiKeyInfo = new ApiKeyInfo(); apiKeyInfo.setDescription("API key description for internal API key"); diff --git a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java index d37126c0cf..32cd12823c 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java @@ -112,7 +112,8 @@ public class ApiKeyServiceImpl extends AbstractCachedEntityService Date: Tue, 27 Oct 2026 19:10:47 +0100 Subject: [PATCH 325/559] Evict stale API key cache entry when the key value changes --- .../server/dao/pat/ApiKeyServiceImpl.java | 24 ++++++++++++-- .../server/dao/service/ApiKeyServiceTest.java | 33 +++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java index 7a2fbda4bf..a1843b72a5 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java @@ -27,6 +27,7 @@ import org.thingsboard.server.dao.eventsourcing.SaveEntityEvent; import org.thingsboard.server.dao.service.validator.ApiKeyDataValidator; import java.util.List; +import java.util.Objects; import java.util.Optional; import java.util.Set; import java.util.UUID; @@ -82,8 +83,13 @@ public class ApiKeyServiceImpl extends AbstractCachedEntityService + * Authentication resolves a key by value straight from the cache, so both the enabled flag and the value must + * trigger an eviction. A regular update preserves the value, but a save with an explicit value (e.g. an edge + * applying a key rotated on the cloud) replaces it, leaving the old value to authenticate from the cache. + */ + private static boolean isPublishEvictRequired(ApiKey old, ApiKey apiKey) { + return old != null + && (old.isEnabled() != apiKey.isEnabled() + || !Objects.equals(old.getValue(), apiKey.getValue())); + } + @Override public EntityType getEntityType() { return EntityType.API_KEY; diff --git a/dao/src/test/java/org/thingsboard/server/dao/service/ApiKeyServiceTest.java b/dao/src/test/java/org/thingsboard/server/dao/service/ApiKeyServiceTest.java index 157012d1c9..4fb8942142 100644 --- a/dao/src/test/java/org/thingsboard/server/dao/service/ApiKeyServiceTest.java +++ b/dao/src/test/java/org/thingsboard/server/dao/service/ApiKeyServiceTest.java @@ -130,6 +130,39 @@ public class ApiKeyServiceTest extends AbstractServiceTest { Assert.assertEquals(savedApiKey.getValue(), foundApiKey.getValue()); } + @Test + public void testSaveApiKeyWithNewValue_oldValueEvictedFromCache() { + ApiKeyInfo apiKeyInfo = createApiKeyInfo(TEST_API_KEY_DESCRIPTION); + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, apiKeyInfo); + String originalValue = savedApiKey.getValue(); + // authentication resolves the key by value and caches the lookup + Assert.assertNotNull(apiKeyService.findApiKeyByValue(originalValue)); + + String newValue = "new-api-key-value-" + StringUtils.randomAlphanumeric(32); + apiKeyService.saveApiKey(tenantId, savedApiKey, newValue, false); + + Assert.assertNull("Old API key value must not resolve after the value changed", apiKeyService.findApiKeyByValue(originalValue)); + ApiKey foundByNewValue = apiKeyService.findApiKeyByValue(newValue); + Assert.assertNotNull(foundByNewValue); + Assert.assertEquals(savedApiKey.getId(), foundByNewValue.getId()); + } + + @Test + public void testSaveApiKeyWithNewValue_cachedMissForNewValueEvicted() { + ApiKeyInfo apiKeyInfo = createApiKeyInfo(TEST_API_KEY_DESCRIPTION); + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, apiKeyInfo); + + String newValue = "new-api-key-value-" + StringUtils.randomAlphanumeric(32); + // a failed authentication attempt caches the miss for the not-yet-saved value + Assert.assertNull(apiKeyService.findApiKeyByValue(newValue)); + + apiKeyService.saveApiKey(tenantId, savedApiKey, newValue, false); + + ApiKey foundByNewValue = apiKeyService.findApiKeyByValue(newValue); + Assert.assertNotNull("New API key value must resolve after it is saved", foundByNewValue); + Assert.assertEquals(savedApiKey.getId(), foundByNewValue.getId()); + } + @Test public void testFindApiKeysByUserId() { int size = 3; From 192836945ff1ca81a6953da11459002438439ba9 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Tue, 27 Oct 2026 20:00:51 +0100 Subject: [PATCH 326/559] Verify exact API key cache evictions and call counts --- .../dao/pat/ApiKeyCacheEvictionTest.java | 105 ++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java diff --git a/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java b/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java new file mode 100644 index 0000000000..ee6ab565b2 --- /dev/null +++ b/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java @@ -0,0 +1,105 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.dao.pat; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.mockito.Mockito; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; +import org.thingsboard.server.cache.TbTransactionalCache; +import org.thingsboard.server.common.data.StringUtils; +import org.thingsboard.server.common.data.User; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.UserId; +import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.pat.ApiKeyInfo; +import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.service.AbstractServiceTest; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.dao.user.UserService; + +/** + * Verifies the exact cache interactions of {@link ApiKeyService} saves: which {@link ApiKeyCacheKey}s are evicted + * and how many times. Lives in this package because {@link ApiKeyCacheKey} is package-private. + */ +@DaoSqlTest +public class ApiKeyCacheEvictionTest extends AbstractServiceTest { + + @Autowired + ApiKeyService apiKeyService; + + @Autowired + UserService userService; + + @MockitoSpyBean + TbTransactionalCache apiKeyCache; + + private UserId userId; + + @Before + public void before() { + User tenantAdmin = new User(); + tenantAdmin.setAuthority(Authority.TENANT_ADMIN); + tenantAdmin.setTenantId(tenantId); + tenantAdmin.setEmail("tenant-api-key-cache@thingsboard.org"); + User user = userService.saveUser(TenantId.SYS_TENANT_ID, tenantAdmin); + userId = user.getId(); + } + + @After + public void after() { + apiKeyService.deleteByTenantId(tenantId); + User user = userService.findUserById(tenantId, userId); + userService.deleteUser(tenantId, user); + } + + @Test + public void testSaveApiKeyWithNewValue_evictsOldAndNewValueExactlyOnce() { + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, createApiKeyInfo()); + String originalValue = savedApiKey.getValue(); + String newValue = "new-api-key-value-" + StringUtils.randomAlphanumeric(32); + Mockito.clearInvocations(apiKeyCache); + + apiKeyService.saveApiKey(tenantId, savedApiKey, newValue, false); + + Mockito.verify(apiKeyCache).evict(ApiKeyCacheKey.of(originalValue)); + Mockito.verify(apiKeyCache).evict(ApiKeyCacheKey.of(newValue)); + Mockito.verify(apiKeyCache, Mockito.times(2)).evict(Mockito.any(ApiKeyCacheKey.class)); + } + + @Test + public void testDisableApiKey_evictsValueExactlyOnce() { + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, createApiKeyInfo()); + String value = savedApiKey.getValue(); + savedApiKey.setEnabled(false); + Mockito.clearInvocations(apiKeyCache); + + apiKeyService.saveApiKey(tenantId, savedApiKey); + + Mockito.verify(apiKeyCache).evict(ApiKeyCacheKey.of(value)); + Mockito.verify(apiKeyCache, Mockito.times(1)).evict(Mockito.any(ApiKeyCacheKey.class)); + } + + @Test + public void testUpdateApiKeyDescription_noEviction() { + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, createApiKeyInfo()); + savedApiKey.setDescription("Updated description, cached state unchanged"); + Mockito.clearInvocations(apiKeyCache); + + apiKeyService.saveApiKey(tenantId, savedApiKey); + + Mockito.verify(apiKeyCache, Mockito.never()).evict(Mockito.any(ApiKeyCacheKey.class)); + } + + private ApiKeyInfo createApiKeyInfo() { + ApiKeyInfo apiKeyInfo = new ApiKeyInfo(); + apiKeyInfo.setTenantId(tenantId); + apiKeyInfo.setUserId(userId); + apiKeyInfo.setDescription("API key cache eviction test"); + apiKeyInfo.setEnabled(true); + return apiKeyInfo; + } + +} From 91c1d9a619b8f045704542e02b378d13f131731a Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Tue, 27 Oct 2026 20:00:51 +0100 Subject: [PATCH 327/559] Shorten isPublishEvictRequired javadoc --- .../org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java index a1843b72a5..717466e034 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java @@ -187,12 +187,8 @@ public class ApiKeyServiceImpl extends AbstractCachedEntityService - * Authentication resolves a key by value straight from the cache, so both the enabled flag and the value must - * trigger an eviction. A regular update preserves the value, but a save with an explicit value (e.g. an edge - * applying a key rotated on the cloud) replaces it, leaving the old value to authenticate from the cache. + * Authentication resolves keys by value straight from the cache, so a changed enabled flag or value (explicit-value + * save, e.g. edge sync) requires eviction. A newly created key has nothing cached yet, hence the null check. */ private static boolean isPublishEvictRequired(ApiKey old, ApiKey apiKey) { return old != null From 42bb47e625b413d05752e52b798de5f09e641d12 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Tue, 27 Oct 2026 20:01:48 +0100 Subject: [PATCH 328/559] Verify exact API key cache eviction and call count on rotation --- .../dao/pat/ApiKeyCacheEvictionTest.java | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java diff --git a/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java b/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java new file mode 100644 index 0000000000..70e95f31f6 --- /dev/null +++ b/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java @@ -0,0 +1,76 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +package org.thingsboard.server.dao.pat; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.mockito.Mockito; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; +import org.thingsboard.server.cache.TbTransactionalCache; +import org.thingsboard.server.common.data.User; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.UserId; +import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.pat.ApiKeyInfo; +import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.service.AbstractServiceTest; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.dao.user.UserService; + +/** + * Verifies the exact cache interactions of {@link ApiKeyService} rotation: which {@link ApiKeyCacheKey}s are evicted + * and how many times. Lives in this package because {@link ApiKeyCacheKey} is package-private. + */ +@DaoSqlTest +public class ApiKeyCacheEvictionTest extends AbstractServiceTest { + + @Autowired + ApiKeyService apiKeyService; + + @Autowired + UserService userService; + + @MockitoSpyBean + TbTransactionalCache apiKeyCache; + + private UserId userId; + + @Before + public void before() { + User tenantAdmin = new User(); + tenantAdmin.setAuthority(Authority.TENANT_ADMIN); + tenantAdmin.setTenantId(tenantId); + tenantAdmin.setEmail("tenant-api-key-cache@thingsboard.org"); + User user = userService.saveUser(TenantId.SYS_TENANT_ID, tenantAdmin); + userId = user.getId(); + } + + @After + public void after() { + apiKeyService.deleteByTenantId(tenantId); + User user = userService.findUserById(tenantId, userId); + userService.deleteUser(tenantId, user); + } + + @Test + public void testRotateInternalApiKey_evictsOldValueExactlyOnce() { + ApiKeyInfo apiKeyInfo = new ApiKeyInfo(); + apiKeyInfo.setTenantId(TenantId.SYS_TENANT_ID); + apiKeyInfo.setUserId(userId); + apiKeyInfo.setDescription("Internal key for rotation eviction counting"); + apiKeyInfo.setEnabled(true); + apiKeyInfo.setInternal(true); + ApiKey savedApiKey = apiKeyService.saveApiKey(TenantId.SYS_TENANT_ID, apiKeyInfo); + String originalValue = savedApiKey.getValue(); + Mockito.clearInvocations(apiKeyCache); + + apiKeyService.rotateInternalApiKey(TenantId.SYS_TENANT_ID, savedApiKey); + + Mockito.verify(apiKeyCache).evict(ApiKeyCacheKey.of(originalValue)); + Mockito.verify(apiKeyCache, Mockito.times(1)).evict(Mockito.any(ApiKeyCacheKey.class)); + } + +} From d53982905a1f2e2a4c76274e3e9af2bb5543092b Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 28 Oct 2026 12:58:29 +0200 Subject: [PATCH 329/559] fix(iot-hub): update a device package in place instead of deleting its entities Updating an installed device package deleted everything the package created, the device included, so its telemetry and attributes were lost, and nothing was installed again. Now the update opens the install wizard of the new version over the installed package. It keeps the install method and the form values, finds the entities by the ids in the install state (so a renamed profile is still found), keeps the device and gateway as they are (id, credentials, history) and overwrites the device profile, converters, integration, dashboard and rule chain with the new templates under their current names. The installed item then takes the new version through registerDeviceUpdate. The server no longer updates a device package by itself. PROD-9096 --- .../server/controller/IotHubController.java | 4 + .../service/iot_hub/DefaultIotHubService.java | 45 ++++- .../server/service/iot_hub/IotHubService.java | 2 + .../iot_hub/DefaultIotHubServiceTest.java | 55 ++++++ .../src/app/core/http/iot-hub-api.service.ts | 7 +- .../device-install-dialog.component.ts | 166 +++++++++++++++--- .../iot-hub/iot-hub-actions.service.ts | 20 ++- 7 files changed, 265 insertions(+), 34 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index 1645505c00..e5388bd28b 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -92,9 +92,13 @@ public class IotHubController extends BaseController { @ResponseBody public InstallItemVersionResult registerDeviceInstall( @RequestParam String versionId, + @RequestParam(required = false) UUID installedItemId, @RequestBody JsonNode body) throws ThingsboardException { checkAllPermissions(); DeviceInstalledItemDescriptor descriptor = JacksonUtil.treeToValue(body, DeviceInstalledItemDescriptor.class); + if (installedItemId != null) { + return iotHubService.registerDeviceUpdate(getCurrentUser(), new IotHubInstalledItemId(installedItemId), versionId, descriptor); + } return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor); } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index a3cf0599fa..6f0f9db86f 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -416,6 +416,10 @@ public class DefaultIotHubService implements IotHubService { } String itemType = installedItem.getItemType(); + if ("DEVICE".equals(itemType)) { + // The install wizard of the new version changes the package's entities in place, see registerDeviceUpdate + throw new IllegalArgumentException("A device package is updated by the install wizard of the new version"); + } IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor(); // Skip checksum validation for solution templates @@ -460,12 +464,6 @@ public class DefaultIotHubService implements IotHubService { case "CALCULATED_FIELD" -> updateCalculatedField(user, tenantId, (CalculatedFieldInstalledItemDescriptor) descriptor, fileData); case "ALARM_RULE" -> updateAlarmRule(user, tenantId, (AlarmRuleInstalledItemDescriptor) descriptor, fileData); case "RULE_CHAIN" -> updateRuleChain(tenantId, (RuleChainInstalledItemDescriptor) descriptor, fileData); - case "DEVICE" -> { - DeviceInstalledItemDescriptor dd = (DeviceInstalledItemDescriptor) descriptor; - deleteDevicePackageEntities(tenantId, installedItemId, dd.getCreatedEntityIds(), user); - dd.setCreatedEntityIds(null); - dd.setDashboardId(null); - } case "SOLUTION_TEMPLATE" -> { SolutionTemplateInstalledItemDescriptor stDescriptor = (SolutionTemplateInstalledItemDescriptor) descriptor; solutionService.deleteSolution(tenantId, stDescriptor, user); @@ -710,6 +708,41 @@ public class DefaultIotHubService implements IotHubService { } } + @Override + public InstallItemVersionResult registerDeviceUpdate(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, + DeviceInstalledItemDescriptor descriptor) { + TenantId tenantId = user.getTenantId(); + log.info("[{}] Registering device package update of {} to version: {}", tenantId, installedItemId, versionId); + + try { + IotHubInstalledItem installedItem = iotHubInstalledItemService.findById(tenantId, installedItemId); + if (installedItem == null || !"DEVICE".equals(installedItem.getItemType())) { + throw new IllegalArgumentException("Installed device package not found"); + } + + JsonNode versionInfo = iotHubRestClient.getVersionInfo(versionId); + if (versionInfo == null) { + throw new IllegalArgumentException("Failed to get version info from IoT Hub"); + } + if (!installedItem.getItemId().toString().equals(versionInfo.get("itemId").asText())) { + throw new IllegalArgumentException("The version belongs to another item"); + } + + // The wizard has already changed the entities in place: a failure here must not delete them + installedItem.setItemVersionId(UUID.fromString(versionId)); + installedItem.setItemName(versionInfo.get("name").asText()); + installedItem.setVersion(versionInfo.get("version").asText()); + installedItem.setDescriptor(descriptor); + iotHubInstalledItemService.save(tenantId, installedItem); + log.info("[{}] Registered device package update: {} (version {})", tenantId, installedItem.getItemName(), installedItem.getVersion()); + + return InstallItemVersionResult.success(descriptor); + } catch (Exception e) { + log.error("[{}] Failed to register device package update of {} to version: {}", tenantId, installedItemId, versionId, e); + return InstallItemVersionResult.error(e.getMessage()); + } + } + /** * Deletes what a device package created, except the entities another installed device package * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index e1d0cd666b..3a3fd372b0 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -19,6 +19,8 @@ public interface IotHubService { InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor); + InstallItemVersionResult registerDeviceUpdate(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, DeviceInstalledItemDescriptor descriptor); + void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 0f0068872c..cf4f25bfd7 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -495,6 +495,61 @@ class DefaultIotHubServiceTest { assertThat(kept.getUsedByItemsCount()).isZero(); } + @Test + void updateItemVersion_devicePackage_deletesNothing() { + mockTenant(); + IotHubInstalledItem installed = devicePackage(new DeviceId(UUID.randomUUID()), new DashboardId(UUID.randomUUID())); + installed.setItemType("DEVICE"); + when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); + + UpdateItemVersionResult result = service.updateItemVersion(user, installed.getId(), UUID.randomUUID().toString(), true, null); + + assertThat(result.isSuccess()).isFalse(); + verify(tbDeviceService, never()).delete(any(Device.class), any()); + verify(tbDashboardService, never()).delete(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void registerDeviceUpdate_keepsTheInstalledItemAndRecordsTheNewVersion() { + mockTenant(); + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + IotHubInstalledItem installed = devicePackage(deviceId); + installed.setItemType("DEVICE"); + installed.setItemId(UUID.randomUUID()); + installed.setVersion("1.0"); + when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); + String versionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, installed.getItemId().toString(), "DEVICE", "AM308", "1.1")); + DeviceInstalledItemDescriptor updated = new DeviceInstalledItemDescriptor(); + updated.setCreatedEntityIds(List.of(deviceId)); + + InstallItemVersionResult result = service.registerDeviceUpdate(user, installed.getId(), versionId, updated); + + assertThat(result.isSuccess()).isTrue(); + verify(iotHubInstalledItemService).save(tenantId, installed); + assertThat(installed.getItemVersionId()).isEqualTo(UUID.fromString(versionId)); + assertThat(installed.getVersion()).isEqualTo("1.1"); + assertThat(installed.getDescriptor()).isSameAs(updated); + verify(tbDeviceService, never()).delete(any(Device.class), any()); + } + + @Test + void registerDeviceUpdate_versionOfAnotherItem_isRejected() { + mockTenant(); + IotHubInstalledItem installed = devicePackage(new DeviceId(UUID.randomUUID())); + installed.setItemType("DEVICE"); + installed.setItemId(UUID.randomUUID()); + when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); + String versionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, UUID.randomUUID().toString(), "DEVICE", "Other", "1.0")); + + InstallItemVersionResult result = service.registerDeviceUpdate(user, installed.getId(), versionId, new DeviceInstalledItemDescriptor()); + + assertThat(result.isSuccess()).isFalse(); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + private IotHubInstalledItem devicePackage(EntityId... createdEntityIds) { DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); descriptor.setCreatedEntityIds(List.of(createdEntityIds)); diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 49da0f4e6a..639127e075 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -180,10 +180,13 @@ export class IotHubApiService { public registerDeviceInstall( versionId: string, descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, - config?: IotHubRequestConfig + config?: IotHubRequestConfig, + // Set for an update: the installed item takes the version and the descriptor + installedItemId?: string ): Observable { + const installedItemParam = installedItemId ? `&installedItemId=${installedItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}`, + `/api/iot-hub/device/register?versionId=${versionId}${installedItemParam}`, { type: 'DEVICE', ...descriptor }, { params: this.buildParams(config) } ); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 0f2a99df36..ea37b3bbe5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -14,6 +14,7 @@ import { firstValueFrom, Subscription } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { PageLink } from '@shared/models/page/page-link'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; +import { DeviceInstalledItemDescriptor } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; import { DeviceService } from '@core/http/device.service'; @@ -57,6 +58,17 @@ export interface DeviceInstallDialogData { installState?: Record; entityGroupId?: string; customerId?: string; + // Set when the wizard updates an installed package to the item version + update?: DeviceInstallUpdate; +} + +/** + * The installed package an update changes. The steps of the new version change the entities + * the package created in place, so the device keeps its id, credentials and history. + */ +export interface DeviceInstallUpdate { + installedItemId: string; + descriptor: DeviceInstalledItemDescriptor; } export type WizardStepType = 'connectivity' | 'placeholder' | 'instruction' | 'form' | 'progress'; @@ -318,6 +330,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field); ws.formFields = [...packageFields, ...(ws.extraFormFields ?? [])]; const controls: Record = {}; - // In review mode, use stored values; otherwise use defaults - const storedValues = this.reviewMode && this.data.installState?.[ws.stateKey ?? ws.label]?.formValues; + // In review mode, use stored values; an update starts from the values of the installed version; otherwise use defaults + const storedState = this.reviewMode ? this.data.installState : this.data.update?.descriptor.installState; + const storedValues = storedState?.[ws.stateKey ?? ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); const validators = []; @@ -1250,17 +1259,26 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + /** keepName: the entity keeps its current name instead of the template's, e.g. a device profile the user renamed. */ + private async overwriteEntity(step: DeviceInstallStep, existing: EntityStepOutput, keepName = false): Promise { const raw = this.zipFiles.get(step.template); if (!raw) throw new Error(`Template file not found: ${step.template}`); // Overwriting an existing integration reuses its routingKey, so resolve @@ -1563,6 +1583,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + if (step.type !== InstallStepType.DEVICE && step.type !== InstallStepType.GATEWAY) { + return existing; + } + const creds = await firstValueFrom(this.deviceService.getDeviceCredentials(existing.id, false, {ignoreErrors: true})); + const output: EntityStepOutput = { ...existing, token: creds.credentialsId }; + if (step.type === InstallStepType.GATEWAY) { + output.dockerComposeUrl = `/api/device-connectivity/gateway-launch/${output.id}/docker-compose/download`; + // As createEntity does: the docker-compose template resolves ${gateway.token} + this.entityOutputs.set('gateway', output); + if (step.dockerCompose) { + const dcRaw = this.zipFiles.get(step.dockerCompose); + if (dcRaw) this.gatewayDockerComposeContent = this.resolveVariables(dcRaw); + } + } + return output; + } + + /** + * Update: the entity the installed version created for this step. It is found by the id kept in + * the install state, not by name, so an entity the user renamed is still found. Null when this + * is not an update, when the installed version had no such step, or when the entity was deleted since. + */ + private async findPreviousEntity(step: DeviceInstallStep): Promise { + const installState = this.data.update?.descriptor.installState; + // A connector lives in the gateway's attributes: its step runs again over the same gateway + if (!installState || step.type === InstallStepType.GATEWAY_CONNECTOR) { + return null; + } + const id: string = (installState[step.name] || installState[this.resolveVariables(step.name)])?.entityOutput?.id; + if (!id) { + return null; + } + const config = {ignoreErrors: true}; + try { + switch (step.type) { + case InstallStepType.DEVICE_PROFILE: { + const profile = await firstValueFrom(this.deviceProfileService.getDeviceProfileInfo(id, config)); + return { id, name: profile.name, url: `/profiles/deviceProfiles/${id}` }; + } + case InstallStepType.DEVICE: { + const device = await firstValueFrom(this.deviceService.getDevice(id, config)); + return { id, name: device.name, url: `/entities/devices/all/${id}` }; + } + case InstallStepType.GATEWAY: { + const gateway = await firstValueFrom(this.deviceService.getDevice(id, config)); + return { id, name: gateway.name, url: '/entities/gateways' }; + } + case InstallStepType.DASHBOARD: { + const dashboard = await firstValueFrom(this.dashboardService.getDashboardInfo(id, config)); + return { id, name: dashboard.title, url: `/dashboards/all/${id}` }; + } + case InstallStepType.RULE_CHAIN: { + const ruleChain = await firstValueFrom(this.ruleChainService.getRuleChain(id, config)); + return { id, name: ruleChain.name, url: `/ruleChains/${id}` }; + } + case InstallStepType.UPLINK_CONVERTER: + case InstallStepType.DOWNLINK_CONVERTER: { + const converter = await firstValueFrom(this.converterService.getConverter(id, config)); + const type = step.type === InstallStepType.UPLINK_CONVERTER ? ConverterType.UPLINK : ConverterType.DOWNLINK; + return converter.type === type ? { id, name: converter.name, url: `/converters/${id}` } : null; + } + case InstallStepType.INTEGRATION: { + const integration = await firstValueFrom(this.integrationService.getIntegration(id, config)); + return { id, name: integration.name, url: `/integrations/${id}`, routingKey: integration.routingKey }; + } + default: + return null; + } + } catch (_e) { + // Deleted since: the step creates it again + return null; + } + } + + /** + * Update: a device or gateway is kept as it is, so its credentials, which the firmware uses, don't change. + * Other entities take the new version's template and keep their id and current name. + */ + private updatePreviousEntity(step: DeviceInstallStep, previous: EntityStepOutput): Promise { + if (step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { + return this.useExistingEntity(step, previous); + } + return this.overwriteEntity(step, previous, true); + } + private async preCheckEntity(step: DeviceInstallStep): Promise { const raw = this.zipFiles.get(step.template); if (!raw) return null; @@ -1711,6 +1822,13 @@ export class TbDeviceInstallDialogComponent extends DialogComponent id.id === previousId.id)) { + ids.push(previousId); + } + } return ids; } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index b04932040d..fb5c9125d0 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -17,7 +17,7 @@ import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData, IotHubIt import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from './iot-hub-install-dialog.component'; import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from './iot-hub-update-dialog.component'; import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from './iot-hub-delete-dialog.component'; -import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from './device-install-dialog/device-install-dialog.component'; +import { TbDeviceInstallDialogComponent, DeviceInstallDialogData, DeviceInstallUpdate } from './device-install-dialog/device-install-dialog.component'; import { TbIotHubInstalledItemsDialogComponent, IotHubInstalledItemsDialogData } from './iot-hub-installed-items-dialog.component'; import { IotHubBuiltInService } from './iot-hub-built-in.service'; import { isBuiltInItem } from './iot-hub-utils'; @@ -150,6 +150,9 @@ export class IotHubActionsService { if (!installedItem) { return of(false); } + if (installedItem.itemType === ItemType.DEVICE) { + return this.updateDevice(installedItem, versionId); + } return this.dialog.open(TbIotHubUpdateDialogComponent, { panelClass: ['tb-dialog'], disableClose: true, @@ -199,9 +202,22 @@ export class IotHubActionsService { }); } + /** + * A device package is updated by the install wizard of the new version: its steps change what + * the package created in place, so the device and its history stay. + */ + private updateDevice(installedItem: IotHubInstalledItem, versionId: string): Observable { + return this.iotHubApiService.getVersionInfo(versionId).pipe( + switchMap(item => this.openDeviceInstallDialog(item, { + update: { installedItemId: installedItem.id.id, descriptor: installedItem.descriptor as DeviceInstalledItemDescriptor } + })), + map(result => result === 'installed' ? 'updated' : result) + ); + } + private openDeviceInstallDialog(item: MpItemVersionView, options?: { reviewMode?: boolean; selectedInstallMethod?: string; installState?: any; - entityGroupId?: string; customerId?: string}): Observable { + entityGroupId?: string; customerId?: string; update?: DeviceInstallUpdate}): Observable { return this.dialog.open(TbDeviceInstallDialogComponent, { panelClass: ['tb-dialog', 'tb-fullscreen-dialog-lt-md'], disableClose: true, From 12deaf57287f78cadc2ac47aed9a5a523a7d66e3 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 28 Oct 2026 13:41:41 +0200 Subject: [PATCH 330/559] fix(iot-hub): keep what the user chose at install when updating a device package - An entity the user took with "Use existing" at install is kept as it is on update instead of being overwritten with the package's template. - Only a 404 counts as "deleted since"; any other failure to load a previous entity fails the step, so a transient error can't create a second device with new credentials. - A rejected update registration (success=false) is shown on the step and can be retried instead of closing as updated. - An overwritten dashboard keeps its owner. - Ids of entities deleted since are no longer re-tracked. - The transport fields take the current Device connectivity settings. - A version without a dashboard step keeps the installed dashboardId. - A failed version lookup on update no longer errors unhandled. PROD-9096 --- .../device-install-dialog.component.ts | 141 +++++++++++------- .../iot-hub/iot-hub-actions.service.ts | 4 +- 2 files changed, 93 insertions(+), 52 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ea37b3bbe5..3daae22f31 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -66,6 +66,12 @@ export interface DeviceInstallDialogData { * The installed package an update changes. The steps of the new version change the entities * the package created in place, so the device keeps its id, credentials and history. */ +/** Update: an entity the installed version has for a step, and whether the user kept it as it was at install. */ +interface PreviousEntity { + output: EntityStepOutput; + useExisting: boolean; +} + export interface DeviceInstallUpdate { installedItemId: string; descriptor: DeviceInstalledItemDescriptor; @@ -236,6 +242,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent(); // Variable resolution state formValues: Record = {}; @@ -1093,8 +1101,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field); ws.formFields = [...packageFields, ...(ws.extraFormFields ?? [])]; const controls: Record = {}; - // In review mode, use stored values; an update starts from the values of the installed version; otherwise use defaults - const storedState = this.reviewMode ? this.data.installState : this.data.update?.descriptor.installState; + // In review mode, use stored values; an update starts from the values of the installed version, + // except the transport fields, which take the current Device connectivity settings; otherwise use defaults + const storedState = this.reviewMode ? this.data.installState : + ws.stateKey !== TRANSPORT_STEP_STATE_KEY ? this.data.update?.descriptor.installState : undefined; const storedValues = storedState?.[ws.stateKey ?? ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); @@ -1265,7 +1275,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent id.id === previousDashboardId) ? { entityType: 'DASHBOARD', id: previousDashboardId } : undefined); + const result = await firstValueFrom( this.iotHubApiService.registerDeviceInstall( this.data.item.id as string, { createdEntityIds, dashboardId, selectedInstallMethod: this.selectedInstallMethod, installState: this.buildInstallState() }, @@ -1310,10 +1324,19 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + private async findPreviousEntity(step: DeviceInstallStep): Promise { const installState = this.data.update?.descriptor.installState; // A connector lives in the gateway's attributes: its step runs again over the same gateway if (!installState || step.type === InstallStepType.GATEWAY_CONNECTOR) { return null; } - const id: string = (installState[step.name] || installState[this.resolveVariables(step.name)])?.entityOutput?.id; + const stored = installState[step.name] || installState[this.resolveVariables(step.name)]; + const id: string = stored?.entityOutput?.id; if (!id) { return null; } - const config = {ignoreErrors: true}; try { - switch (step.type) { - case InstallStepType.DEVICE_PROFILE: { - const profile = await firstValueFrom(this.deviceProfileService.getDeviceProfileInfo(id, config)); - return { id, name: profile.name, url: `/profiles/deviceProfiles/${id}` }; - } - case InstallStepType.DEVICE: { - const device = await firstValueFrom(this.deviceService.getDevice(id, config)); - return { id, name: device.name, url: `/entities/devices/all/${id}` }; - } - case InstallStepType.GATEWAY: { - const gateway = await firstValueFrom(this.deviceService.getDevice(id, config)); - return { id, name: gateway.name, url: '/entities/gateways' }; - } - case InstallStepType.DASHBOARD: { - const dashboard = await firstValueFrom(this.dashboardService.getDashboardInfo(id, config)); - return { id, name: dashboard.title, url: `/dashboards/all/${id}` }; - } - case InstallStepType.RULE_CHAIN: { - const ruleChain = await firstValueFrom(this.ruleChainService.getRuleChain(id, config)); - return { id, name: ruleChain.name, url: `/ruleChains/${id}` }; - } - case InstallStepType.UPLINK_CONVERTER: - case InstallStepType.DOWNLINK_CONVERTER: { - const converter = await firstValueFrom(this.converterService.getConverter(id, config)); - const type = step.type === InstallStepType.UPLINK_CONVERTER ? ConverterType.UPLINK : ConverterType.DOWNLINK; - return converter.type === type ? { id, name: converter.name, url: `/converters/${id}` } : null; - } - case InstallStepType.INTEGRATION: { - const integration = await firstValueFrom(this.integrationService.getIntegration(id, config)); - return { id, name: integration.name, url: `/integrations/${id}`, routingKey: integration.routingKey }; - } - default: - return null; + const output = await this.loadPreviousEntity(step, id); + // The user chose to keep an entity they already had: the update doesn't overwrite it either + return output ? { output, useExisting: stored.resolution === 'use-existing' } : null; + } catch (e: any) { + if (e?.status === 404) { + // Deleted since: the step creates it again, and the package no longer tracks the old id + this.deletedPreviousIds.add(id); + return null; } - } catch (_e) { - // Deleted since: the step creates it again - return null; + throw e; + } + } + + private async loadPreviousEntity(step: DeviceInstallStep, id: string): Promise { + const config = {ignoreErrors: true}; + switch (step.type) { + case InstallStepType.DEVICE_PROFILE: { + const profile = await firstValueFrom(this.deviceProfileService.getDeviceProfileInfo(id, config)); + return { id, name: profile.name, url: `/profiles/deviceProfiles/${id}` }; + } + case InstallStepType.DEVICE: { + const device = await firstValueFrom(this.deviceService.getDevice(id, config)); + return { id, name: device.name, url: `/entities/devices/all/${id}` }; + } + case InstallStepType.GATEWAY: { + const gateway = await firstValueFrom(this.deviceService.getDevice(id, config)); + return { id, name: gateway.name, url: '/entities/gateways' }; + } + case InstallStepType.DASHBOARD: { + const dashboard = await firstValueFrom(this.dashboardService.getDashboardInfo(id, config)); + return { id, name: dashboard.title, url: `/dashboards/all/${id}` }; + } + case InstallStepType.RULE_CHAIN: { + const ruleChain = await firstValueFrom(this.ruleChainService.getRuleChain(id, config)); + return { id, name: ruleChain.name, url: `/ruleChains/${id}` }; + } + case InstallStepType.UPLINK_CONVERTER: + case InstallStepType.DOWNLINK_CONVERTER: { + const converter = await firstValueFrom(this.converterService.getConverter(id, config)); + const type = step.type === InstallStepType.UPLINK_CONVERTER ? ConverterType.UPLINK : ConverterType.DOWNLINK; + return converter.type === type ? { id, name: converter.name, url: `/converters/${id}` } : null; + } + case InstallStepType.INTEGRATION: { + const integration = await firstValueFrom(this.integrationService.getIntegration(id, config)); + return { id, name: integration.name, url: `/integrations/${id}`, routingKey: integration.routingKey }; + } + default: + return null; } } @@ -1753,11 +1792,11 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { - return this.useExistingEntity(step, previous); + private updatePreviousEntity(step: DeviceInstallStep, previous: PreviousEntity): Promise { + if (previous.useExisting || step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { + return this.useExistingEntity(step, previous.output); } - return this.overwriteEntity(step, previous, true); + return this.overwriteEntity(step, previous.output, true); } private async preCheckEntity(step: DeviceInstallStep): Promise { @@ -1825,7 +1864,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent id.id === previousId.id)) { + if (!this.deletedPreviousIds.has(previousId.id) && !ids.some(id => id.id === previousId.id)) { ids.push(previousId); } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index fb5c9125d0..4c6fa566e8 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -211,7 +211,9 @@ export class IotHubActionsService { switchMap(item => this.openDeviceInstallDialog(item, { update: { installedItemId: installedItem.id.id, descriptor: installedItem.descriptor as DeviceInstalledItemDescriptor } })), - map(result => result === 'installed' ? 'updated' : result) + map(result => result === 'installed' ? 'updated' : result), + // The request has already shown the error + catchError(() => of(false)) ); } From 777689652b1a88845c3bb7c3a222ce47317bcd65 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 13:42:54 +0200 Subject: [PATCH 331/559] Add AiModelInfo + Reuse TbChatRequest --- .../server/controller/AiModelController.java | 55 +++++--- .../service/ai/TbAiModelChatRequest.java | 32 ----- .../controller/AiModelControllerTest.java | 121 +++++++++++++++++- .../server/dao/ai/AiModelService.java | 3 + .../server/common/data/ai/AiModel.java | 80 ++++-------- .../server/common/data/ai/AiModelInfo.java | 102 +++++++++++++++ .../common/data/ai/dto/TbChatRequest.java | 10 +- .../data/ai/model/chat/AiChatModelConfig.java | 5 +- .../server/common/data/ai/AiModelTest.java | 54 ++++++++ .../server/dao/ai/AiModelInfoDao.java | 15 +++ .../server/dao/ai/AiModelServiceImpl.java | 8 ++ .../dao/model/sql/AiModelInfoEntity.java | 59 +++++++++ .../dao/sql/ai/AiModelInfoRepository.java | 27 ++++ .../server/dao/sql/ai/JpaAiModelInfoDao.java | 45 +++++++ .../python/license-headers/curations.json | 6 + 15 files changed, 508 insertions(+), 114 deletions(-) delete mode 100644 application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java create mode 100644 common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java create mode 100644 common/data/src/test/java/org/thingsboard/server/common/data/ai/AiModelTest.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java diff --git a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java index 5db4b29a7f..ef060cda0d 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java @@ -4,7 +4,6 @@ package org.thingsboard.server.controller; import com.google.common.util.concurrent.ListenableFuture; -import dev.langchain4j.model.chat.request.ChatRequest; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; @@ -20,8 +19,8 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.request.async.DeferredResult; -import org.thingsboard.rule.engine.ai.TbResponseFormat; import org.thingsboard.server.common.data.ai.AiModel; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.ai.dto.TbChatRequest; import org.thingsboard.server.common.data.ai.dto.TbChatResponse; import org.thingsboard.server.common.data.ai.model.chat.AiChatModelConfig; @@ -34,7 +33,6 @@ import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.config.annotations.ApiOperation; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.AiChatModelService; -import org.thingsboard.server.service.ai.TbAiModelChatRequest; import org.thingsboard.server.service.security.model.SecurityUser; import java.time.Duration; @@ -122,6 +120,34 @@ class AiModelController extends BaseController { return aiModelService.findAiModelsByTenantId(user.getTenantId(), availableViaApi, pageLink); } + @ApiOperation( + value = "Get AI model infos (getAiModelInfos)", + notes = "Returns a page of AI model infos: AI models without the configuration and its provider credentials. " + + "Requires the 'INVOKE' permission for AI models, so it lists the models a user can choose from to send chat requests to. " + + PAGE_DATA_PARAMETERS + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH + ) + @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") + @GetMapping("/infos") + public PageData getAiModelInfos( + @Parameter(description = PAGE_SIZE_DESCRIPTION, required = true) + @RequestParam int pageSize, + @Parameter(description = PAGE_NUMBER_DESCRIPTION, required = true) + @RequestParam int page, + @Parameter(description = AI_MODEL_TEXT_SEARCH_DESCRIPTION) + @RequestParam(required = false) String textSearch, + @Parameter(description = SORT_PROPERTY_DESCRIPTION, schema = @Schema(allowableValues = {"createdTime", "name", "provider", "modelId"})) + @RequestParam(required = false) String sortProperty, + @Parameter(description = SORT_ORDER_DESCRIPTION, schema = @Schema(allowableValues = {"ASC", "DESC"})) + @RequestParam(required = false) String sortOrder, + @Parameter(description = "Filter by the 'available via API' flag; all models are returned when omitted") + @RequestParam(required = false) Boolean availableViaApi + ) throws ThingsboardException { + var user = getCurrentUser(); + accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.INVOKE); + var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); + return aiModelService.findAiModelInfosByTenantId(user.getTenantId(), availableViaApi, pageLink); + } + @ApiOperation( value = "Delete AI model by ID (deleteAiModelById)", notes = "Deletes the AI model record by its `id`. " + @@ -159,7 +185,10 @@ class AiModelController extends BaseController { @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/chat") public DeferredResult sendChatRequest(@Valid @RequestBody TbChatRequest tbChatRequest) throws ThingsboardException { - return executeChatRequest(tbChatRequest.chatModelConfig(), tbChatRequest.toLangChainChatRequest()); + if (tbChatRequest.chatModelConfig() == null) { + throw new ThingsboardException("Validation error: chatModelConfig must not be null", ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } + return executeChatRequest(tbChatRequest.chatModelConfig(), tbChatRequest); } @ApiOperation( @@ -180,7 +209,7 @@ class AiModelController extends BaseController { example = "de7900d4-30e2-11f0-9cd2-0242ac120002" ) @PathVariable UUID modelUuid, - @Valid @RequestBody TbAiModelChatRequest request + @Valid @RequestBody TbChatRequest tbChatRequest ) throws ThingsboardException { AiModel model = checkAiModelId(new AiModelId(modelUuid), Operation.INVOKE); if (!model.isAvailableViaApi()) { @@ -189,22 +218,12 @@ class AiModelController extends BaseController { if (!(model.getConfiguration() instanceof AiChatModelConfig chatModelConfig)) { throw new ThingsboardException("AI model with id [" + modelUuid + "] is not a chat model", ThingsboardErrorCode.BAD_REQUEST_PARAMS); } - - ChatRequest chatRequest = new TbChatRequest(request.systemMessage(), request.userMessage(), chatModelConfig).toLangChainChatRequest(); - TbResponseFormat responseFormat = request.responseFormat(); - if (responseFormat != null) { - if (!responseFormat.isSupportedBy(chatModelConfig)) { - throw new ThingsboardException("AI model with id [" + modelUuid + "] does not support '" + responseFormat.type() + "' response format", - ThingsboardErrorCode.BAD_REQUEST_PARAMS); - } - chatRequest = chatRequest.toBuilder().responseFormat(responseFormat.toLangChainResponseFormat()).build(); - } - return executeChatRequest(chatModelConfig, chatRequest); + return executeChatRequest(chatModelConfig, tbChatRequest); } - private DeferredResult executeChatRequest(AiChatModelConfig chatModelConfig, ChatRequest chatRequest) throws ThingsboardException { + private DeferredResult executeChatRequest(AiChatModelConfig chatModelConfig, TbChatRequest tbChatRequest) throws ThingsboardException { SecurityUser user = getCurrentUser(); - ListenableFuture future = aiChatModelService.sendChatRequestAsync(user.getTenantId(), chatModelConfig, chatRequest) + ListenableFuture future = aiChatModelService.sendChatRequestAsync(user.getTenantId(), chatModelConfig, tbChatRequest.toLangChainChatRequest()) .transform(chatResponse -> (TbChatResponse) new TbChatResponse.Success(chatResponse.aiMessage().text()), directExecutor()) .catching(Throwable.class, ex -> toFailure(user, ex), directExecutor()); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java b/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java deleted file mode 100644 index 11210d593a..0000000000 --- a/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java +++ /dev/null @@ -1,32 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -package org.thingsboard.server.service.ai; - -import io.swagger.v3.oas.annotations.media.Schema; -import jakarta.validation.Valid; -import jakarta.validation.constraints.NotNull; -import org.thingsboard.rule.engine.ai.TbResponseFormat; -import org.thingsboard.server.common.data.ai.dto.TbUserMessage; - -public record TbAiModelChatRequest( - @Schema( - requiredMode = Schema.RequiredMode.NOT_REQUIRED, - description = "A system-level instruction that frames the user's input, setting the persona, tone, and constraints for the generated response", - example = "You are a helpful assistant. Only output valid JSON." - ) - String systemMessage, - - @Schema( - requiredMode = Schema.RequiredMode.REQUIRED, - description = "The actual user prompt that will be answered by the AI model" - ) - @NotNull @Valid - TbUserMessage userMessage, - - @Schema( - requiredMode = Schema.RequiredMode.NOT_REQUIRED, - description = "Format of the generated response; plain text when omitted" - ) - @Valid - TbResponseFormat responseFormat -) {} diff --git a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java index f35a6ed923..ad7e102683 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java @@ -10,6 +10,7 @@ import org.springframework.test.web.servlet.ResultActions; import org.thingsboard.common.util.SsrfProtectionValidator; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.ai.AiModel; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.ai.dto.TbChatRequest; import org.thingsboard.server.common.data.ai.dto.TbChatResponse; import org.thingsboard.server.common.data.ai.dto.TbContent; @@ -18,6 +19,7 @@ import org.thingsboard.server.common.data.ai.model.chat.AnthropicChatModelConfig import org.thingsboard.server.common.data.ai.model.chat.GoogleAiGeminiChatModelConfig; import org.thingsboard.server.common.data.ai.model.chat.GoogleVertexAiGeminiChatModelConfig; import org.thingsboard.server.common.data.ai.model.chat.OpenAiChatModelConfig; +import org.thingsboard.server.common.data.ai.provider.AiProvider; import org.thingsboard.server.common.data.ai.provider.AnthropicProviderConfig; import org.thingsboard.server.common.data.ai.provider.GoogleAiGeminiProviderConfig; import org.thingsboard.server.common.data.ai.provider.GoogleVertexAiGeminiProviderConfig; @@ -28,7 +30,6 @@ import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.page.SortOrder; import org.thingsboard.server.dao.service.DaoSqlTest; -import org.thingsboard.server.service.ai.TbAiModelChatRequest; import java.util.List; @@ -262,6 +263,19 @@ public class AiModelControllerTest extends AbstractControllerTest { } } + @Test + public void sendChatRequest_whenChatModelConfigIsMissing_shouldReturnBadRequest() throws Exception { + // GIVEN + loginTenantAdmin(); + + // WHEN + ResultActions result = doPost("/api/ai/model/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isBadRequest()) + .andExpect(statusReason(is("Validation error: chatModelConfig must not be null"))); + } + /* --- Chat with saved model API tests --- */ @Test @@ -607,6 +621,107 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(all.getData()).containsExactlyInAnyOrder(available, unavailable); } + /* --- Get infos API tests --- */ + + @Test + public void getAiModelInfos_whenUserIsSysAdmin_shouldReturnForbidden() throws Exception { + // GIVEN + loginSysAdmin(); + + // WHEN + ResultActions result = doGet("/api/ai/model/infos?pageSize=10&page=0"); + + // THEN + result.andExpect(status().isForbidden()).andExpect(statusReason(equalTo(msgErrorPermission))); + } + + @Test + public void getAiModelInfos_whenCustomerUserWithoutInvokePermission_shouldReturnForbidden() throws Exception { + // GIVEN + loginCustomerUser(); + + // WHEN + ResultActions result = doGet("/api/ai/model/infos?pageSize=10&page=0"); + + // THEN + result.andExpect(status().isForbidden()); + } + + @Test + public void getAiModelInfos_whenTenantAdmin_shouldReturnInfosFilteredByAvailableViaApi() throws Exception { + // GIVEN + loginTenantAdmin(); + + var available = constructValidOpenAiModel("Available model"); + available.setAvailableViaApi(true); + available = doPost("/api/ai/model", available, AiModel.class); + var unavailable = doPost("/api/ai/model", constructValidOpenAiModel("Unavailable model"), AiModel.class); + + // WHEN + PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model/infos?availableViaApi=true&", new TypeReference<>() {}, new PageLink(10)); + PageData all = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, new PageLink(10)); + + // THEN + assertThat(onlyAvailable.getData()).containsExactly(new AiModelInfo(available)); + assertThat(all.getData()).containsExactlyInAnyOrder(new AiModelInfo(available), new AiModelInfo(unavailable)); + assertThat(onlyAvailable.getData().get(0).getProvider()).isEqualTo(AiProvider.OPENAI); + assertThat(onlyAvailable.getData().get(0).getModelId()).isEqualTo("gpt-4o"); + } + + @Test + public void getAiModelInfos_testSearchAndSortByProviderAndModelId() throws Exception { + // GIVEN + loginTenantAdmin(); + + var anthropicModel = doPost("/api/ai/model", AiModel.builder() + .tenantId(tenantId) + .name("Test model 1") + .configuration(AnthropicChatModelConfig.builder() + .providerConfig(new AnthropicProviderConfig("test-api-key")) + .modelId("claude-sonnet-4-0") + .build()) + .build(), AiModel.class); + var geminiModel = doPost("/api/ai/model", AiModel.builder() + .tenantId(tenantId) + .name("Test model 2") + .configuration(GoogleAiGeminiChatModelConfig.builder() + .providerConfig(new GoogleAiGeminiProviderConfig("test-api-key")) + .modelId("gemini-2.5-pro") + .build()) + .build(), AiModel.class); + + // WHEN + PageData byProviderDesc = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, + new PageLink(10, 0, null, SortOrder.of("provider", SortOrder.Direction.DESC))); + PageData byModelIdAsc = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, + new PageLink(10, 0, null, SortOrder.of("modelId", SortOrder.Direction.ASC))); + PageData searchByProvider = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, + new PageLink(10, 0, "google ai")); + PageData searchByModelId = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, + new PageLink(10, 0, "sonnet")); + + // THEN + assertThat(byProviderDesc.getData()).containsExactly(new AiModelInfo(geminiModel), new AiModelInfo(anthropicModel)); + assertThat(byModelIdAsc.getData()).containsExactly(new AiModelInfo(anthropicModel), new AiModelInfo(geminiModel)); + assertThat(searchByProvider.getData()).containsExactly(new AiModelInfo(geminiModel)); + assertThat(searchByModelId.getData()).containsExactly(new AiModelInfo(anthropicModel)); + } + + @Test + public void getAiModelInfos_whenCustomerAdmin_shouldReturnInfosWithoutConfiguration() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + loginCustomerAdminUser(); + + // WHEN + String response = doGet("/api/ai/model/infos?pageSize=10&page=0").andExpect(status().isOk()) + .andReturn().getResponse().getContentAsString(); + + // THEN + assertThat(response).contains(model.getId().getId().toString()).doesNotContain("test-api-key"); + } + @Test public void getAiModels_testSortingByCreatedTime() throws Exception { // GIVEN @@ -887,8 +1002,8 @@ public class AiModelControllerTest extends AbstractControllerTest { return doPost("/api/ai/model", model, AiModel.class); } - private TbAiModelChatRequest constructChatRequest() { - return new TbAiModelChatRequest(null, new TbUserMessage(List.of(new TbContent.TbTextContent("hi"))), null); + private TbChatRequest constructChatRequest() { + return new TbChatRequest(null, new TbUserMessage(List.of(new TbContent.TbTextContent("hi"))), null); } private boolean hasAiModelPermission(AiModel model, String operation) throws Exception { diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java index d944480fb9..8b0796cfff 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java @@ -5,6 +5,7 @@ package org.thingsboard.server.dao.ai; import com.google.common.util.concurrent.FluentFuture; import org.thingsboard.server.common.data.ai.AiModel; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.page.PageData; @@ -25,6 +26,8 @@ public interface AiModelService extends EntityDaoService { PageData findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + Optional findAiModelByTenantIdAndId(TenantId tenantId, AiModelId modelId); FluentFuture> findAiModelByTenantIdAndIdAsync(TenantId tenantId, AiModelId modelId); diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java index 9aa973da81..dbd3d941e0 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java @@ -3,64 +3,29 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.common.data.ai; +import com.fasterxml.jackson.annotation.JsonIgnore; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; -import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; -import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; -import org.thingsboard.server.common.data.BaseData; -import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.ExportableEntity; -import org.thingsboard.server.common.data.HasVersion; -import org.thingsboard.server.common.data.TenantEntity; import org.thingsboard.server.common.data.ai.model.AiModelConfig; +import org.thingsboard.server.common.data.ai.model.chat.AiChatModelConfig; +import org.thingsboard.server.common.data.ai.provider.AiProvider; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.validation.Length; -import org.thingsboard.server.common.data.validation.NoNullChar; -import org.thingsboard.server.common.data.validation.NoXss; import java.io.Serial; @Data -@Builder -@AllArgsConstructor @EqualsAndHashCode(callSuper = true) -public final class AiModel extends BaseData implements TenantEntity, HasVersion, ExportableEntity { +public final class AiModel extends AiModelInfo implements ExportableEntity { @Serial private static final long serialVersionUID = 9017108678716011604L; - @Schema( - accessMode = Schema.AccessMode.READ_ONLY, - description = "JSON object representing the ID of the tenant associated with this AI model", - example = "e3c4b7d2-5678-4a9b-0c1d-2e3f4a5b6c7d" - ) - private TenantId tenantId; - - @Schema( - accessMode = Schema.AccessMode.READ_ONLY, - description = "Version of the AI model record; increments automatically whenever the record is changed", - example = "7", - defaultValue = "1" - ) - private Long version; - - @NotBlank - @NoNullChar - @Length(min = 1, max = 255) - @NoXss - @Schema( - requiredMode = Schema.RequiredMode.REQUIRED, - accessMode = Schema.AccessMode.READ_WRITE, - description = "Display name for this AI model configuration; not the technical model identifier", - example = "Fast and cost-efficient model" - ) - private String name; - @NotNull @Valid @Schema( @@ -70,15 +35,6 @@ public final class AiModel extends BaseData implements TenantEntity, ) private AiModelConfig configuration; - @Schema( - requiredMode = Schema.RequiredMode.NOT_REQUIRED, - accessMode = Schema.AccessMode.READ_WRITE, - description = "Whether the model can be used via the AI model chat API by users with the 'INVOKE' permission. " + - "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE'", - defaultValue = "false" - ) - private boolean availableViaApi; - private AiModelId externalId; public AiModel() {} @@ -87,20 +43,32 @@ public final class AiModel extends BaseData implements TenantEntity, super(id); } + @Builder + public AiModel(TenantId tenantId, Long version, String name, AiModelConfig configuration, boolean availableViaApi, AiModelId externalId) { + setTenantId(tenantId); + setVersion(version); + setName(name); + setAvailableViaApi(availableViaApi); + this.configuration = configuration; + this.externalId = externalId; + } + public AiModel(AiModel model) { - super(model.getId()); - createdTime = model.getCreatedTime(); - tenantId = model.getTenantId(); - version = model.getVersion(); - name = model.getName(); + super(model); configuration = model.getConfiguration(); - availableViaApi = model.isAvailableViaApi(); externalId = model.getExternalId() == null ? null : new AiModelId(model.getExternalId().getId()); } @Override - public EntityType getEntityType() { - return EntityType.AI_MODEL; + @JsonIgnore + public AiProvider getProvider() { + return configuration != null ? configuration.provider() : null; + } + + @Override + @JsonIgnore + public String getModelId() { + return configuration instanceof AiChatModelConfig chatModelConfig ? chatModelConfig.modelId() : null; } } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java new file mode 100644 index 0000000000..2d24c0e209 --- /dev/null +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java @@ -0,0 +1,102 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.common.data.ai; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.constraints.NotBlank; +import lombok.Data; +import lombok.EqualsAndHashCode; +import org.thingsboard.server.common.data.BaseData; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.HasName; +import org.thingsboard.server.common.data.HasVersion; +import org.thingsboard.server.common.data.TenantEntity; +import org.thingsboard.server.common.data.ai.provider.AiProvider; +import org.thingsboard.server.common.data.id.AiModelId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.validation.Length; +import org.thingsboard.server.common.data.validation.NoNullChar; +import org.thingsboard.server.common.data.validation.NoXss; + +import java.io.Serial; + +@Schema +@Data +@EqualsAndHashCode(callSuper = true) +public class AiModelInfo extends BaseData implements TenantEntity, HasName, HasVersion { + + @Serial + private static final long serialVersionUID = -2349470521862370137L; + + @Schema( + accessMode = Schema.AccessMode.READ_ONLY, + description = "JSON object representing the ID of the tenant associated with this AI model", + example = "e3c4b7d2-5678-4a9b-0c1d-2e3f4a5b6c7d" + ) + private TenantId tenantId; + + @Schema( + accessMode = Schema.AccessMode.READ_ONLY, + description = "Version of the AI model record; increments automatically whenever the record is changed", + example = "7", + defaultValue = "1" + ) + private Long version; + + @NotBlank + @NoNullChar + @Length(min = 1, max = 255) + @NoXss + @Schema( + requiredMode = Schema.RequiredMode.REQUIRED, + accessMode = Schema.AccessMode.READ_WRITE, + description = "Display name for this AI model configuration; not the technical model identifier", + example = "Fast and cost-efficient model" + ) + private String name; + + @Schema( + requiredMode = Schema.RequiredMode.NOT_REQUIRED, + accessMode = Schema.AccessMode.READ_WRITE, + description = "Whether the model can be used via the AI model chat API by users with the 'INVOKE' permission. " + + "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE'", + defaultValue = "false" + ) + private boolean availableViaApi; + + @Schema( + accessMode = Schema.AccessMode.READ_ONLY, + description = "AI provider, taken from the model configuration", + example = "OPENAI" + ) + private AiProvider provider; + + @Schema( + accessMode = Schema.AccessMode.READ_ONLY, + description = "Technical model identifier used by the provider, taken from the model configuration", + example = "gpt-4o-mini" + ) + private String modelId; + + public AiModelInfo() {} + + public AiModelInfo(AiModelId id) { + super(id); + } + + public AiModelInfo(AiModelInfo modelInfo) { + super(modelInfo); + tenantId = modelInfo.getTenantId(); + version = modelInfo.getVersion(); + name = modelInfo.getName(); + availableViaApi = modelInfo.isAvailableViaApi(); + provider = modelInfo.getProvider(); + modelId = modelInfo.getModelId(); + } + + @Override + public EntityType getEntityType() { + return EntityType.AI_MODEL; + } + +} diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatRequest.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatRequest.java index e4bd9dd1c9..185da345bf 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatRequest.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatRequest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.common.data.ai.dto; import dev.langchain4j.data.message.ChatMessage; @@ -33,11 +34,12 @@ public record TbChatRequest( TbUserMessage userMessage, @Schema( - requiredMode = Schema.RequiredMode.REQUIRED, + requiredMode = Schema.RequiredMode.NOT_REQUIRED, accessMode = Schema.AccessMode.READ_WRITE, - description = "Configuration of the AI chat model that should execute the request" + description = "Configuration of the AI chat model that should execute the request. " + + "Required when sending to an unsaved model; ignored when sending to a saved model by ID, which uses its saved configuration" ) - @NotNull @Valid + @Valid AiChatModelConfig chatModelConfig ) { diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/model/chat/AiChatModelConfig.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/model/chat/AiChatModelConfig.java index 894bc6dbab..a3a107e89e 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/model/chat/AiChatModelConfig.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/model/chat/AiChatModelConfig.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.common.data.ai.model.chat; import com.fasterxml.jackson.annotation.JsonProperty; @@ -21,6 +22,8 @@ public sealed interface AiChatModelConfig> extend return AiModelType.CHAT; } + String modelId(); + Integer timeoutSeconds(); Integer maxRetries(); diff --git a/common/data/src/test/java/org/thingsboard/server/common/data/ai/AiModelTest.java b/common/data/src/test/java/org/thingsboard/server/common/data/ai/AiModelTest.java new file mode 100644 index 0000000000..6dba47cbdd --- /dev/null +++ b/common/data/src/test/java/org/thingsboard/server/common/data/ai/AiModelTest.java @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.common.data.ai; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import org.junit.jupiter.api.Test; +import org.thingsboard.server.common.data.ai.model.chat.OpenAiChatModelConfig; +import org.thingsboard.server.common.data.ai.provider.AiProvider; +import org.thingsboard.server.common.data.ai.provider.OpenAiProviderConfig; + +import static org.assertj.core.api.Assertions.assertThat; + +class AiModelTest { + + private final ObjectMapper mapper = new ObjectMapper(); + + @Test + void modelJsonCarriesProviderAndModelIdOnlyInsideConfiguration() { + JsonNode json = mapper.valueToTree(openAiModel()); + + assertThat(json.has("provider")).isFalse(); + assertThat(json.has("modelId")).isFalse(); + assertThat(json.get("configuration").get("provider").asText()).isEqualTo("OPENAI"); + assertThat(json.get("configuration").get("modelId").asText()).isEqualTo("gpt-4o"); + } + + @Test + void infoCopiedFromModelCarriesProviderAndModelId() { + AiModelInfo info = new AiModelInfo(openAiModel()); + + assertThat(info.getProvider()).isEqualTo(AiProvider.OPENAI); + assertThat(info.getModelId()).isEqualTo("gpt-4o"); + + JsonNode json = mapper.valueToTree(info); + assertThat(json.get("provider").asText()).isEqualTo("OPENAI"); + assertThat(json.get("modelId").asText()).isEqualTo("gpt-4o"); + assertThat(json.has("configuration")).isFalse(); + } + + private static AiModel openAiModel() { + return AiModel.builder() + .name("Test model") + .configuration(OpenAiChatModelConfig.builder() + .providerConfig(OpenAiProviderConfig.builder() + .baseUrl(OpenAiProviderConfig.OPENAI_OFFICIAL_BASE_URL) + .apiKey("test-api-key") + .build()) + .modelId("gpt-4o") + .build()) + .build(); + } + +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java new file mode 100644 index 0000000000..057a4fb1e6 --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java @@ -0,0 +1,15 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.ai; + +import org.thingsboard.server.common.data.ai.AiModelInfo; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; +import org.thingsboard.server.dao.Dao; + +public interface AiModelInfoDao extends Dao { + + PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java index 95f1ea7ab8..cff4f2855d 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java @@ -10,6 +10,7 @@ import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.event.TransactionalEventListener; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.ai.AiModel; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.HasId; @@ -38,6 +39,7 @@ class AiModelServiceImpl extends CachedVersionedEntityService findAiModelInfosByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + validatePageLink(pageLink, AiModelEntity.ALLOWED_SORT_PROPERTIES); + return aiModelInfoDao.findByTenantId(tenantId, availableViaApi, pageLink); + } + @Override public Optional findAiModelByTenantIdAndId(TenantId tenantId, AiModelId modelId) { var cacheKey = AiModelCacheKey.of(tenantId, modelId); diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java new file mode 100644 index 0000000000..d7ef8070e4 --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java @@ -0,0 +1,59 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.model.sql; + +import jakarta.persistence.Column; +import jakarta.persistence.Entity; +import jakarta.persistence.Table; +import lombok.Data; +import lombok.EqualsAndHashCode; +import org.hibernate.annotations.Formula; +import org.hibernate.annotations.Immutable; +import org.thingsboard.server.common.data.ai.AiModelInfo; +import org.thingsboard.server.common.data.ai.provider.AiProvider; +import org.thingsboard.server.common.data.id.AiModelId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.dao.model.BaseVersionedEntity; +import org.thingsboard.server.dao.model.ModelConstants; + +import java.util.UUID; + +// Leaves the configuration column unmapped, so listing infos never loads provider credentials +@Data +@EqualsAndHashCode(callSuper = true) +@Entity +@Immutable +@Table(name = ModelConstants.AI_MODEL_TABLE_NAME) +public class AiModelInfoEntity extends BaseVersionedEntity { + + @Column(name = ModelConstants.AI_MODEL_TENANT_ID_COLUMN_NAME, columnDefinition = "UUID") + private UUID tenantId; + + @Column(name = ModelConstants.AI_MODEL_NAME_COLUMN_NAME) + private String name; + + @Column(name = ModelConstants.AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME) + private boolean availableViaApi; + + @Formula("configuration ->> 'provider'") + private String provider; + + @Formula("configuration ->> 'modelId'") + private String modelId; + + public AiModelInfoEntity() {} + + @Override + public AiModelInfo toData() { + var modelInfo = new AiModelInfo(new AiModelId(id)); + modelInfo.setCreatedTime(createdTime); + modelInfo.setVersion(version); + modelInfo.setTenantId(TenantId.fromUUID(tenantId)); + modelInfo.setName(name); + modelInfo.setAvailableViaApi(availableViaApi); + modelInfo.setProvider(provider != null ? AiProvider.valueOf(provider) : null); + modelInfo.setModelId(modelId); + return modelInfo; + } + +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java new file mode 100644 index 0000000000..49610c224c --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.sql.ai; + +import org.springframework.data.domain.Page; +import org.springframework.data.domain.Pageable; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.query.Param; +import org.thingsboard.server.dao.model.sql.AiModelInfoEntity; + +import java.util.UUID; + +interface AiModelInfoRepository extends JpaRepository { + + @Query("SELECT m FROM AiModelInfoEntity m WHERE m.tenantId = :tenantId " + + "AND (:availableViaApi IS NULL OR m.availableViaApi = :availableViaApi) " + + "AND (:textSearch IS NULL " + + "OR ilike(m.name, CONCAT('%', :textSearch, '%')) = true " + + "OR ilike(REPLACE(m.provider, '_', ' '), CONCAT('%', :textSearch, '%')) = true " + + "OR ilike(m.modelId, CONCAT('%', :textSearch, '%')) = true)") + Page findByTenantId(@Param("tenantId") UUID tenantId, + @Param("availableViaApi") Boolean availableViaApi, + @Param("textSearch") String textSearch, + Pageable pageable); + +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java new file mode 100644 index 0000000000..cfd3ec9d4a --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java @@ -0,0 +1,45 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.sql.ai; + +import lombok.RequiredArgsConstructor; +import org.apache.commons.lang3.StringUtils; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.stereotype.Component; +import org.thingsboard.server.common.data.ai.AiModelInfo; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; +import org.thingsboard.server.dao.DaoUtil; +import org.thingsboard.server.dao.ai.AiModelInfoDao; +import org.thingsboard.server.dao.model.sql.AiModelInfoEntity; +import org.thingsboard.server.dao.sql.JpaAbstractDao; +import org.thingsboard.server.dao.util.SqlDao; + +import java.util.UUID; + +@SqlDao +@Component +@RequiredArgsConstructor +class JpaAiModelInfoDao extends JpaAbstractDao implements AiModelInfoDao { + + private final AiModelInfoRepository aiModelInfoRepository; + + @Override + public PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + return DaoUtil.toPageData(aiModelInfoRepository.findByTenantId( + tenantId.getId(), availableViaApi, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), DaoUtil.toPageable(pageLink)) + ); + } + + @Override + protected Class getEntityClass() { + return AiModelInfoEntity.class; + } + + @Override + protected JpaRepository getRepository() { + return aiModelInfoRepository; + } + +} diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index b48fb72b22..6b7f549c86 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -271,6 +271,12 @@ "reason": "PE agent installation instructions model added in e0db7ac7154 as part of the PE agent feature introduced on lts-4.4, which has no counterpart in CE. The candidate CE common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeInstructions.java shares only the instructions model boilerplate. Reviewed candidate at a0aff29ef42d3636473b017115a9334b48d54d15 (blob 409985284c6).", "contentHash": "sha256:ce067f7aad61fb79c44ac80ceda3b26e9908a8a648380097754ff9ee097256b1" }, + { + "path": "common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java", + "header": "busl", + "reason": "New PE file that does not exist in CE. It is the superclass of AiModel holding the fields shared with the configuration-free info view, so its field declarations and schema annotations repeat those of AiModel. Reviewed similarity candidate common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java at 269bc8dc73a.", + "contentHash": "sha256:d7b2034b532aa029c9ff49e794c57ba62fe674c0b502f73999b4204d5aa3b704" + }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/BlobEntityFields.java", "header": "busl", From 7351515978fee4a807bcc52907c472ef25496a56 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 28 Oct 2026 14:03:06 +0200 Subject: [PATCH 332/559] fix(iot-hub): keep entities other packages use and report a failed registration on device update - Entities other installed device packages use are kept as they are on update, as deleting the package already does, instead of being overwritten with this package's templates. - A version without a dashboard step keeps the installed dashboard only if it still exists; a deleted one is no longer tracked. - On update, Close reports the update as done only once the new version is registered. - A kept integration keeps httpEndpoint and baseUrl for the instructions. - The gateway output and docker-compose resolution are in one helper. PROD-9096 --- .../device-install-dialog.component.ts | 116 ++++++++++++------ 1 file changed, 79 insertions(+), 37 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 3daae22f31..c400003c26 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -62,16 +62,19 @@ export interface DeviceInstallDialogData { update?: DeviceInstallUpdate; } -/** - * The installed package an update changes. The steps of the new version change the entities - * the package created in place, so the device keeps its id, credentials and history. - */ -/** Update: an entity the installed version has for a step, and whether the user kept it as it was at install. */ +/** Update: an entity the installed version has for a step. */ interface PreviousEntity { output: EntityStepOutput; - useExisting: boolean; + // Taken as it is instead of overwritten: the user kept it at install, or another installed package uses it + keepAsIs: boolean; + // What the install state records for it, so that the next update decides again + resolution: string; } +/** + * The installed package an update changes. The steps of the new version change the entities + * the package created in place, so the device keeps its id, credentials and history. + */ export interface DeviceInstallUpdate { installedItemId: string; descriptor: DeviceInstalledItemDescriptor; @@ -244,6 +247,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent(); + // Update: ids of the package's entities that other installed device packages use, loaded once + private sharedEntityIds: Promise> | null = null; // Variable resolution state formValues: Record = {}; @@ -666,7 +671,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent id.id === previousDashboardId) ? { entityType: 'DASHBOARD', id: previousDashboardId } : undefined); const result = await firstValueFrom( this.iotHubApiService.registerDeviceInstall( this.data.item.id as string, @@ -1390,15 +1392,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent> { + if (!this.sharedEntityIds) { + this.sharedEntityIds = firstValueFrom( + this.iotHubApiService.getInstalledItemKeptEntities(this.data.update.installedItemId, {ignoreLoading: true}) + ).then(kept => new Set(kept.entities.map(e => e.entityId.id))); + // A failed request is asked again on retry instead of being remembered + this.sharedEntityIds.catch(() => this.sharedEntityIds = null); + } + return this.sharedEntityIds; + } + private async loadPreviousEntity(step: DeviceInstallStep, id: string): Promise { const config = {ignoreErrors: true}; switch (step.type) { @@ -1780,8 +1801,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (previous.useExisting || step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { + if (previous.keepAsIs || step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { return this.useExistingEntity(step, previous.output); } return this.overwriteEntity(step, previous.output, true); @@ -1871,6 +1892,27 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + const previousDashboardId = this.data.update?.descriptor.dashboardId?.id; + if (!previousDashboardId || this.deletedPreviousIds.has(previousDashboardId)) { + return undefined; + } + try { + await firstValueFrom(this.dashboardService.getDashboardInfo(previousDashboardId, {ignoreErrors: true})); + return { entityType: 'DASHBOARD', id: previousDashboardId }; + } catch (e: any) { + if (e?.status === 404) { + this.deletedPreviousIds.add(previousDashboardId); + return undefined; + } + throw e; + } + } + private findCreatedDashboardId(): { entityType: string; id: string } | undefined { for (const ws of this.wizardSteps) { if (ws.type === 'progress' && ws.entitySteps) { From 671b3e77a975f1bb7c1121fa0edba446675eda96 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 14:13:27 +0200 Subject: [PATCH 333/559] Change from availableViaApi to customerAccessEnabled. Exclude by default invoke from readonly roles --- .../upgrade/lts/4.4.1.0/schema_update.sql | 2 +- .../server/controller/AiModelController.java | 22 ++--- .../permission/CustomerUserPermissions.java | 11 ++- .../controller/AiModelControllerTest.java | 98 ++++++++++++++----- .../server/dao/ai/AiModelService.java | 4 +- .../server/common/data/ai/AiModel.java | 4 +- .../server/common/data/ai/AiModelInfo.java | 9 +- .../thingsboard/server/dao/ai/AiModelDao.java | 2 +- .../server/dao/ai/AiModelInfoDao.java | 2 +- .../server/dao/ai/AiModelServiceImpl.java | 8 +- .../server/dao/model/ModelConstants.java | 2 +- .../server/dao/model/sql/AiModelEntity.java | 8 +- .../dao/model/sql/AiModelInfoEntity.java | 6 +- .../dao/sql/ai/AiModelInfoRepository.java | 4 +- .../server/dao/sql/ai/AiModelRepository.java | 6 +- .../server/dao/sql/ai/JpaAiModelDao.java | 4 +- .../server/dao/sql/ai/JpaAiModelInfoDao.java | 4 +- .../main/resources/sql/schema-entities.sql | 16 +-- .../python/license-headers/curations.json | 2 +- .../ai-model/ai-model-dialog.component.html | 6 +- .../ai-model/ai-model-dialog.component.ts | 2 +- .../src/app/shared/models/ai-model.models.ts | 2 +- .../assets/locale/locale.constant-da_DK.json | 4 +- .../assets/locale/locale.constant-de_DE.json | 4 +- .../assets/locale/locale.constant-el_GR.json | 4 +- .../assets/locale/locale.constant-en_US.json | 4 +- .../assets/locale/locale.constant-es_ES.json | 4 +- .../assets/locale/locale.constant-fr_FR.json | 4 +- .../assets/locale/locale.constant-hi_IN.json | 4 +- .../assets/locale/locale.constant-it_IT.json | 4 +- .../assets/locale/locale.constant-ja_JP.json | 4 +- .../assets/locale/locale.constant-ko_KR.json | 4 +- .../assets/locale/locale.constant-lt_LT.json | 4 +- .../assets/locale/locale.constant-nl_NL.json | 4 +- .../assets/locale/locale.constant-no_NO.json | 4 +- .../assets/locale/locale.constant-pt_BR.json | 4 +- .../assets/locale/locale.constant-tr_TR.json | 4 +- .../assets/locale/locale.constant-uk_UA.json | 4 +- .../assets/locale/locale.constant-zh_CN.json | 4 +- .../assets/locale/locale.constant-zh_TW.json | 4 +- 40 files changed, 174 insertions(+), 122 deletions(-) diff --git a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql index 78aa309ba5..8779620567 100644 --- a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql +++ b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql @@ -7,4 +7,4 @@ -- when the calculated field actors initialize, otherwise scans the whole table and sorts on each call. CREATE INDEX IF NOT EXISTS idx_calculated_field_tenant_id_id ON calculated_field(tenant_id, id); -ALTER TABLE ai_model ADD COLUMN IF NOT EXISTS available_via_api BOOLEAN NOT NULL DEFAULT FALSE; +ALTER TABLE ai_model ADD COLUMN IF NOT EXISTS customer_access_enabled BOOLEAN NOT NULL DEFAULT FALSE; diff --git a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java index ef060cda0d..d0102a4ecf 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java @@ -111,19 +111,20 @@ class AiModelController extends BaseController { @RequestParam(required = false) String sortProperty, @Parameter(description = SORT_ORDER_DESCRIPTION, schema = @Schema(allowableValues = {"ASC", "DESC"})) @RequestParam(required = false) String sortOrder, - @Parameter(description = "Filter by the 'available via API' flag; all models are returned when omitted") - @RequestParam(required = false) Boolean availableViaApi + @Parameter(description = "Filter by the 'customer access enabled' flag; all models are returned when omitted") + @RequestParam(required = false) Boolean customerAccessEnabled ) throws ThingsboardException { var user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.READ); var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); - return aiModelService.findAiModelsByTenantId(user.getTenantId(), availableViaApi, pageLink); + return aiModelService.findAiModelsByTenantId(user.getTenantId(), customerAccessEnabled, pageLink); } @ApiOperation( value = "Get AI model infos (getAiModelInfos)", notes = "Returns a page of AI model infos: AI models without the configuration and its provider credentials. " + - "Requires the 'INVOKE' permission for AI models, so it lists the models a user can choose from to send chat requests to. " + + "Requires the 'INVOKE' permission for AI models. " + + "Customer users only get the models with customer access enabled, which are the ones they can send chat requests to. " + PAGE_DATA_PARAMETERS + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH ) @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") @@ -139,13 +140,13 @@ class AiModelController extends BaseController { @RequestParam(required = false) String sortProperty, @Parameter(description = SORT_ORDER_DESCRIPTION, schema = @Schema(allowableValues = {"ASC", "DESC"})) @RequestParam(required = false) String sortOrder, - @Parameter(description = "Filter by the 'available via API' flag; all models are returned when omitted") - @RequestParam(required = false) Boolean availableViaApi + @Parameter(description = "Filter by the 'customer access enabled' flag; all models are returned when omitted. Ignored for customer users") + @RequestParam(required = false) Boolean customerAccessEnabled ) throws ThingsboardException { var user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.INVOKE); var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); - return aiModelService.findAiModelInfosByTenantId(user.getTenantId(), availableViaApi, pageLink); + return aiModelService.findAiModelInfosByTenantId(user.getTenantId(), user.isCustomerUser() ? Boolean.TRUE : customerAccessEnabled, pageLink); } @ApiOperation( @@ -195,9 +196,9 @@ class AiModelController extends BaseController { value = "Send request to a saved AI chat model (sendChatRequestToAiModel)", notes = "Submits a single prompt - made up of an optional system message and a required user message - to the AI chat model " + "with the specified `id`, using its saved configuration, and returns either the generated answer or an error envelope. " + - "The model must be marked as available via API, and the user must have the 'INVOKE' permission for AI models. " + + "The user must have the 'INVOKE' permission for AI models, and customer users additionally require the model to have customer access enabled. " + "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE', " + - "so marking a model as available via API makes it callable by every user with such a role." + + "so enabling customer access makes the model callable by every customer user with such a role." + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH ) @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") @@ -212,9 +213,6 @@ class AiModelController extends BaseController { @Valid @RequestBody TbChatRequest tbChatRequest ) throws ThingsboardException { AiModel model = checkAiModelId(new AiModelId(modelUuid), Operation.INVOKE); - if (!model.isAvailableViaApi()) { - throw new ThingsboardException("AI model with id [" + modelUuid + "] is not available via API", ThingsboardErrorCode.PERMISSION_DENIED); - } if (!(model.getConfiguration() instanceof AiChatModelConfig chatModelConfig)) { throw new ThingsboardException("AI model with id [" + modelUuid + "] is not a chat model", ThingsboardErrorCode.BAD_REQUEST_PARAMS); } diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index 14223b4321..e2da30f57f 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -11,6 +11,7 @@ import org.thingsboard.server.common.data.HasOwnerId; import org.thingsboard.server.common.data.ResourceType; import org.thingsboard.server.common.data.TbResourceInfo; import org.thingsboard.server.common.data.TenantEntity; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.alarm.Alarm; import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; import org.thingsboard.server.common.data.exception.ThingsboardException; @@ -489,7 +490,7 @@ public class CustomerUserPermissions extends AbstractPermissions { }; // Only INVOKE is grantable: reading the model would expose the provider credentials stored in its configuration. - // Roles granting ALL include INVOKE, so the model's 'availableViaApi' flag decides which models such users can call. + // Roles granting ALL include INVOKE, so the model's 'customerAccessEnabled' flag decides which models such users can call. private static final PermissionChecker aiModelPermissionChecker = new PermissionChecker() { @Override @@ -499,7 +500,13 @@ public class CustomerUserPermissions extends AbstractPermissions { @Override public boolean hasPermission(SecurityUser user, Operation operation, EntityId entityId, TenantEntity entity) { - if (operation != Operation.INVOKE || !user.getTenantId().equals(entity.getTenantId())) { + if (operation != Operation.INVOKE) { + return false; + } + if (!user.getTenantId().equals(entity.getTenantId())) { + return false; + } + if (!(entity instanceof AiModelInfo model) || !model.isCustomerAccessEnabled()) { return false; } return user.getUserPermissions().hasGenericPermission(Resource.AI_MODEL, operation); diff --git a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java index ad7e102683..fde826c47a 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java @@ -92,24 +92,24 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(savedModel.getTenantId()).isEqualTo(tenantId); assertThat(savedModel.getName()).isEqualTo("Test model"); assertThat(savedModel.getConfiguration()).isEqualTo(model.getConfiguration()); - assertThat(savedModel.isAvailableViaApi()).isFalse(); + assertThat(savedModel.isCustomerAccessEnabled()).isFalse(); assertThat(savedModel.getExternalId()).isNull(); } @Test - public void saveAiModel_whenAvailableViaApiIsSet_shouldPersistIt() throws Exception { + public void saveAiModel_whenCustomerAccessEnabledIsSet_shouldPersistIt() throws Exception { // GIVEN loginTenantAdmin(); AiModel model = constructValidOpenAiModel("Test model"); - model.setAvailableViaApi(true); + model.setCustomerAccessEnabled(true); // WHEN var savedModel = doPost("/api/ai/model", model, AiModel.class); // THEN - assertThat(savedModel.isAvailableViaApi()).isTrue(); - assertThat(doGet("/api/ai/model/" + savedModel.getId(), AiModel.class).isAvailableViaApi()).isTrue(); + assertThat(savedModel.isCustomerAccessEnabled()).isTrue(); + assertThat(doGet("/api/ai/model/" + savedModel.getId(), AiModel.class).isCustomerAccessEnabled()).isTrue(); } @Test @@ -306,25 +306,44 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void sendChatRequestToAiModel_whenModelIsNotAvailableViaApi_shouldReturnForbidden() throws Exception { + public void sendChatRequestToAiModel_whenTenantAdminAndCustomerAccessDisabled_shouldBeAllowed() throws Exception { // GIVEN loginTenantAdmin(); + var model = saveModelWithBlockedBaseUrl(false); + SsrfProtectionValidator.setEnabled(true); - var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + try { + // WHEN + TbChatResponse response = doPostAsync("/api/ai/model/" + model.getId() + "/chat", constructChatRequest(), TbChatResponse.class, status().isOk()); + + // THEN + assertThat(response).isInstanceOf(TbChatResponse.Failure.class); + assertThat(((TbChatResponse.Failure) response).errorDetails()).contains("URI is invalid"); + } finally { + SsrfProtectionValidator.setEnabled(false); + } + } + + @Test + public void sendChatRequestToAiModel_whenCustomerAdminAndCustomerAccessDisabled_shouldReturnForbidden() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelWithBlockedBaseUrl(false); + loginCustomerAdminUser(); // WHEN ResultActions result = doPost("/api/ai/model/" + model.getId() + "/chat", constructChatRequest()); // THEN result.andExpect(status().isForbidden()) - .andExpect(statusReason(is("AI model with id [" + model.getId() + "] is not available via API"))); + .andExpect(statusReason(equalTo("You don't have permission to perform 'INVOKE' operation with AI_MODEL 'Test model'!"))); } @Test public void sendChatRequestToAiModel_whenTenantAdmin_shouldUseStoredConfigurationAndReturnProviderError() throws Exception { // GIVEN loginTenantAdmin(); - var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + var model = saveModelWithBlockedBaseUrl(); SsrfProtectionValidator.setEnabled(true); try { @@ -343,7 +362,7 @@ public class AiModelControllerTest extends AbstractControllerTest { public void sendChatRequestToAiModel_whenCustomerAdmin_shouldBeAllowedAndHideProviderError() throws Exception { // GIVEN loginTenantAdmin(); - var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + var model = saveModelWithBlockedBaseUrl(); loginCustomerAdminUser(); SsrfProtectionValidator.setEnabled(true); @@ -363,7 +382,7 @@ public class AiModelControllerTest extends AbstractControllerTest { public void sendChatRequestToAiModel_whenCustomerUserWithoutInvokePermission_shouldReturnForbidden() throws Exception { // GIVEN loginTenantAdmin(); - var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + var model = saveModelWithBlockedBaseUrl(); loginCustomerUser(); // WHEN @@ -380,7 +399,9 @@ public class AiModelControllerTest extends AbstractControllerTest { public void aiModelPermission_whenCustomerAdminGrantedAll_shouldAllowInvokeOnly() throws Exception { // GIVEN loginTenantAdmin(); - var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + var modelConfig = constructValidOpenAiModel("Test model"); + modelConfig.setCustomerAccessEnabled(true); + var model = doPost("/api/ai/model", modelConfig, AiModel.class); loginCustomerAdminUser(); // WHEN / THEN @@ -390,6 +411,20 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(hasAiModelPermission(model, "DELETE")).isFalse(); } + @Test + public void aiModelPermission_whenCustomerAccessDisabled_shouldDenyInvokeForCustomerAdminOnly() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + + // WHEN / THEN + assertThat(model.isCustomerAccessEnabled()).isFalse(); + assertThat(hasAiModelPermission(model, "INVOKE")).isTrue(); + + loginCustomerAdminUser(); + assertThat(hasAiModelPermission(model, "INVOKE")).isFalse(); + } + @Test public void aiModelPermission_whenCustomerUserGrantedReadOnAllResources_shouldDenyReadAndInvoke() throws Exception { // GIVEN @@ -601,18 +636,18 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void getAiModels_testFilterByAvailableViaApi() throws Exception { + public void getAiModels_testFilterByCustomerAccessEnabled() throws Exception { // GIVEN loginTenantAdmin(); var available = constructValidOpenAiModel("Available model"); - available.setAvailableViaApi(true); + available.setCustomerAccessEnabled(true); available = doPost("/api/ai/model", available, AiModel.class); var unavailable = doPost("/api/ai/model", constructValidOpenAiModel("Unavailable model"), AiModel.class); // WHEN - PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model?availableViaApi=true&", new TypeReference<>() {}, new PageLink(10)); - PageData onlyUnavailable = doGetTypedWithPageLink("/api/ai/model?availableViaApi=false&", new TypeReference<>() {}, new PageLink(10)); + PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model?customerAccessEnabled=true&", new TypeReference<>() {}, new PageLink(10)); + PageData onlyUnavailable = doGetTypedWithPageLink("/api/ai/model?customerAccessEnabled=false&", new TypeReference<>() {}, new PageLink(10)); PageData all = doGetTypedWithPageLink("/api/ai/model?", new TypeReference<>() {}, new PageLink(10)); // THEN @@ -648,17 +683,17 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void getAiModelInfos_whenTenantAdmin_shouldReturnInfosFilteredByAvailableViaApi() throws Exception { + public void getAiModelInfos_whenTenantAdmin_shouldReturnInfosFilteredByCustomerAccessEnabled() throws Exception { // GIVEN loginTenantAdmin(); var available = constructValidOpenAiModel("Available model"); - available.setAvailableViaApi(true); + available.setCustomerAccessEnabled(true); available = doPost("/api/ai/model", available, AiModel.class); var unavailable = doPost("/api/ai/model", constructValidOpenAiModel("Unavailable model"), AiModel.class); // WHEN - PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model/infos?availableViaApi=true&", new TypeReference<>() {}, new PageLink(10)); + PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model/infos?customerAccessEnabled=true&", new TypeReference<>() {}, new PageLink(10)); PageData all = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, new PageLink(10)); // THEN @@ -708,18 +743,21 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void getAiModelInfos_whenCustomerAdmin_shouldReturnInfosWithoutConfiguration() throws Exception { + public void getAiModelInfos_whenCustomerAdmin_shouldReturnOnlyCustomerAccessibleInfosWithoutConfiguration() throws Exception { // GIVEN loginTenantAdmin(); - var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + var accessible = saveModelWithBlockedBaseUrl("Accessible model", true); + var notAccessible = saveModelWithBlockedBaseUrl("Not accessible model", false); loginCustomerAdminUser(); // WHEN - String response = doGet("/api/ai/model/infos?pageSize=10&page=0").andExpect(status().isOk()) + String response = doGet("/api/ai/model/infos?pageSize=10&page=0&customerAccessEnabled=false").andExpect(status().isOk()) .andReturn().getResponse().getContentAsString(); // THEN - assertThat(response).contains(model.getId().getId().toString()).doesNotContain("test-api-key"); + assertThat(response).contains(accessible.getId().getId().toString()) + .doesNotContain(notAccessible.getId().getId().toString()) + .doesNotContain("test-api-key"); } @Test @@ -983,7 +1021,15 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(deleted).isFalse(); } - private AiModel saveModelAvailableViaApiWithBlockedBaseUrl() throws Exception { + private AiModel saveModelWithBlockedBaseUrl() throws Exception { + return saveModelWithBlockedBaseUrl(true); + } + + private AiModel saveModelWithBlockedBaseUrl(boolean customerAccessEnabled) throws Exception { + return saveModelWithBlockedBaseUrl("Test model", customerAccessEnabled); + } + + private AiModel saveModelWithBlockedBaseUrl(String name, boolean customerAccessEnabled) throws Exception { var modelConfig = OpenAiChatModelConfig.builder() .providerConfig(OpenAiProviderConfig.builder() .baseUrl("http://10.0.0.1:8080/") @@ -994,9 +1040,9 @@ public class AiModelControllerTest extends AbstractControllerTest { var model = AiModel.builder() .tenantId(tenantId) - .name("Test model") + .name(name) .configuration(modelConfig) - .availableViaApi(true) + .customerAccessEnabled(customerAccessEnabled) .build(); return doPost("/api/ai/model", model, AiModel.class); diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java index 8b0796cfff..f61b54f291 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java @@ -24,9 +24,9 @@ public interface AiModelService extends EntityDaoService { PageData findAiModelsByTenantId(TenantId tenantId, PageLink pageLink); - PageData findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findAiModelsByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink); - PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink); Optional findAiModelByTenantIdAndId(TenantId tenantId, AiModelId modelId); diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java index dbd3d941e0..8f8231c6ef 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java @@ -44,11 +44,11 @@ public final class AiModel extends AiModelInfo implements ExportableEntity implements TenantEntity, Ha @Schema( requiredMode = Schema.RequiredMode.NOT_REQUIRED, accessMode = Schema.AccessMode.READ_WRITE, - description = "Whether the model can be used via the AI model chat API by users with the 'INVOKE' permission. " + - "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE'", + description = "Whether customer users with the 'INVOKE' permission for AI models can send chat requests to the model, " + + "such as users with the default 'Customer Administrator' role, which grants all operations. " + + "Tenant administrators with the 'INVOKE' permission can use the model regardless of this flag", defaultValue = "false" ) - private boolean availableViaApi; + private boolean customerAccessEnabled; @Schema( accessMode = Schema.AccessMode.READ_ONLY, @@ -89,7 +90,7 @@ public class AiModelInfo extends BaseData implements TenantEntity, Ha tenantId = modelInfo.getTenantId(); version = modelInfo.getVersion(); name = modelInfo.getName(); - availableViaApi = modelInfo.isAvailableViaApi(); + customerAccessEnabled = modelInfo.isCustomerAccessEnabled(); provider = modelInfo.getProvider(); modelId = modelInfo.getModelId(); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java index 84be4e779e..0614aabf82 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java @@ -18,7 +18,7 @@ public interface AiModelDao extends TenantEntityDao, ExportableEntityDa Optional findByTenantIdAndId(TenantId tenantId, AiModelId modelId); - PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink); boolean deleteById(TenantId tenantId, AiModelId modelId); diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java index 057a4fb1e6..06617a7b49 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java @@ -10,6 +10,6 @@ import org.thingsboard.server.dao.Dao; public interface AiModelInfoDao extends Dao { - PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java index cff4f2855d..400cb0b1df 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java @@ -98,15 +98,15 @@ class AiModelServiceImpl extends CachedVersionedEntityService findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + public PageData findAiModelsByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink) { validatePageLink(pageLink, AiModelEntity.ALLOWED_SORT_PROPERTIES); - return aiModelDao.findByTenantId(tenantId, availableViaApi, pageLink); + return aiModelDao.findByTenantId(tenantId, customerAccessEnabled, pageLink); } @Override - public PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + public PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink) { validatePageLink(pageLink, AiModelEntity.ALLOWED_SORT_PROPERTIES); - return aiModelInfoDao.findByTenantId(tenantId, availableViaApi, pageLink); + return aiModelInfoDao.findByTenantId(tenantId, customerAccessEnabled, pageLink); } @Override diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java index b32788a06a..d69f97d11c 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java @@ -1085,7 +1085,7 @@ public class ModelConstants { public static final String AI_MODEL_TENANT_ID_COLUMN_NAME = TENANT_ID_COLUMN; public static final String AI_MODEL_NAME_COLUMN_NAME = NAME_PROPERTY; public static final String AI_MODEL_CONFIGURATION_COLUMN_NAME = "configuration"; - public static final String AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME = "available_via_api"; + public static final String AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME = "customer_access_enabled"; /** * Api Key constants. diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java index a809bf1808..8393fdc485 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java @@ -54,8 +54,8 @@ public class AiModelEntity extends BaseVersionedEntity { @Column(name = ModelConstants.AI_MODEL_CONFIGURATION_COLUMN_NAME, nullable = false, columnDefinition = "JSONB") private AiModelConfig configuration; - @Column(name = ModelConstants.AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME, nullable = false) - private boolean availableViaApi; + @Column(name = ModelConstants.AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME, nullable = false) + private boolean customerAccessEnabled; @Column(name = ModelConstants.EXTERNAL_ID_PROPERTY, columnDefinition = "UUID") private UUID externalId; @@ -67,7 +67,7 @@ public class AiModelEntity extends BaseVersionedEntity { tenantId = getTenantUuid(aiModel.getTenantId()); name = aiModel.getName(); configuration = aiModel.getConfiguration(); - availableViaApi = aiModel.isAvailableViaApi(); + customerAccessEnabled = aiModel.isCustomerAccessEnabled(); externalId = getUuid(aiModel.getExternalId()); } @@ -79,7 +79,7 @@ public class AiModelEntity extends BaseVersionedEntity { model.setTenantId(TenantId.fromUUID(tenantId)); model.setName(name); model.setConfiguration(configuration); - model.setAvailableViaApi(availableViaApi); + model.setCustomerAccessEnabled(customerAccessEnabled); model.setExternalId(getEntityId(externalId, AiModelId::new)); return model; } diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java index d7ef8070e4..447e9ab38e 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java @@ -32,8 +32,8 @@ public class AiModelInfoEntity extends BaseVersionedEntity { @Column(name = ModelConstants.AI_MODEL_NAME_COLUMN_NAME) private String name; - @Column(name = ModelConstants.AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME) - private boolean availableViaApi; + @Column(name = ModelConstants.AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME) + private boolean customerAccessEnabled; @Formula("configuration ->> 'provider'") private String provider; @@ -50,7 +50,7 @@ public class AiModelInfoEntity extends BaseVersionedEntity { modelInfo.setVersion(version); modelInfo.setTenantId(TenantId.fromUUID(tenantId)); modelInfo.setName(name); - modelInfo.setAvailableViaApi(availableViaApi); + modelInfo.setCustomerAccessEnabled(customerAccessEnabled); modelInfo.setProvider(provider != null ? AiProvider.valueOf(provider) : null); modelInfo.setModelId(modelId); return modelInfo; diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java index 49610c224c..df8906ea36 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java @@ -14,13 +14,13 @@ import java.util.UUID; interface AiModelInfoRepository extends JpaRepository { @Query("SELECT m FROM AiModelInfoEntity m WHERE m.tenantId = :tenantId " + - "AND (:availableViaApi IS NULL OR m.availableViaApi = :availableViaApi) " + + "AND (:customerAccessEnabled IS NULL OR m.customerAccessEnabled = :customerAccessEnabled) " + "AND (:textSearch IS NULL " + "OR ilike(m.name, CONCAT('%', :textSearch, '%')) = true " + "OR ilike(REPLACE(m.provider, '_', ' '), CONCAT('%', :textSearch, '%')) = true " + "OR ilike(m.modelId, CONCAT('%', :textSearch, '%')) = true)") Page findByTenantId(@Param("tenantId") UUID tenantId, - @Param("availableViaApi") Boolean availableViaApi, + @Param("customerAccessEnabled") Boolean customerAccessEnabled, @Param("textSearch") String textSearch, Pageable pageable); diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java index 25e6589a1f..b033d13d42 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java @@ -30,7 +30,7 @@ interface AiModelRepository extends JpaRepository, Exportab SELECT * FROM ai_model model WHERE model.tenant_id = :tenantId - AND (CAST(:availableViaApi AS BOOLEAN) IS NULL OR model.available_via_api = CAST(:availableViaApi AS BOOLEAN)) + AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN)) AND (:textSearch IS NULL OR model.name ILIKE '%' || :textSearch || '%' OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' @@ -40,7 +40,7 @@ interface AiModelRepository extends JpaRepository, Exportab SELECT COUNT(*) FROM ai_model model WHERE model.tenant_id = :tenantId - AND (CAST(:availableViaApi AS BOOLEAN) IS NULL OR model.available_via_api = CAST(:availableViaApi AS BOOLEAN)) + AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN)) AND (:textSearch IS NULL OR model.name ILIKE '%' || :textSearch || '%' OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' @@ -49,7 +49,7 @@ interface AiModelRepository extends JpaRepository, Exportab nativeQuery = true ) Page findByTenantId(@Param("tenantId") UUID tenantId, - @Param("availableViaApi") Boolean availableViaApi, + @Param("customerAccessEnabled") Boolean customerAccessEnabled, @Param("textSearch") String textSearch, Pageable pageable); diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java index 92d9829b68..1312376ef2 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java @@ -65,9 +65,9 @@ class JpaAiModelDao extends JpaAbstractDao implements Ai } @Override - public PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + public PageData findByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink) { return DaoUtil.toPageData(aiModelRepository.findByTenantId( - tenantId.getId(), availableViaApi, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), toPageRequest(pageLink)) + tenantId.getId(), customerAccessEnabled, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), toPageRequest(pageLink)) ); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java index cfd3ec9d4a..3bf3be8d52 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java @@ -26,9 +26,9 @@ class JpaAiModelInfoDao extends JpaAbstractDao i private final AiModelInfoRepository aiModelInfoRepository; @Override - public PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + public PageData findByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink) { return DaoUtil.toPageData(aiModelInfoRepository.findByTenantId( - tenantId.getId(), availableViaApi, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), DaoUtil.toPageable(pageLink)) + tenantId.getId(), customerAccessEnabled, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), DaoUtil.toPageable(pageLink)) ); } diff --git a/dao/src/main/resources/sql/schema-entities.sql b/dao/src/main/resources/sql/schema-entities.sql index 9de7393439..cce079ace3 100644 --- a/dao/src/main/resources/sql/schema-entities.sql +++ b/dao/src/main/resources/sql/schema-entities.sql @@ -1369,14 +1369,14 @@ CREATE TABLE IF NOT EXISTS report ( ) PARTITION BY RANGE (created_time); CREATE TABLE IF NOT EXISTS ai_model ( - id UUID NOT NULL PRIMARY KEY, - external_id UUID, - created_time BIGINT NOT NULL, - tenant_id UUID NOT NULL, - version BIGINT NOT NULL DEFAULT 1, - name VARCHAR(255) NOT NULL, - configuration JSONB NOT NULL, - available_via_api BOOLEAN NOT NULL DEFAULT FALSE, + id UUID NOT NULL PRIMARY KEY, + external_id UUID, + created_time BIGINT NOT NULL, + tenant_id UUID NOT NULL, + version BIGINT NOT NULL DEFAULT 1, + name VARCHAR(255) NOT NULL, + configuration JSONB NOT NULL, + customer_access_enabled BOOLEAN NOT NULL DEFAULT FALSE, CONSTRAINT ai_model_name_unq_key UNIQUE (tenant_id, name), CONSTRAINT ai_model_external_id_unq_key UNIQUE (tenant_id, external_id) ); diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index 6b7f549c86..e4e74bdb44 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -275,7 +275,7 @@ "path": "common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java", "header": "busl", "reason": "New PE file that does not exist in CE. It is the superclass of AiModel holding the fields shared with the configuration-free info view, so its field declarations and schema annotations repeat those of AiModel. Reviewed similarity candidate common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java at 269bc8dc73a.", - "contentHash": "sha256:d7b2034b532aa029c9ff49e794c57ba62fe674c0b502f73999b4204d5aa3b704" + "contentHash": "sha256:650bd82c42a513c19af48ba986481cd5a56f9f3491a9282deff76fccec64c4d0" }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/BlobEntityFields.java", diff --git a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html index e40df84fc0..e78aede310 100644 --- a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html @@ -40,9 +40,9 @@ }
    - - {{ 'ai-models.available-via-api' | translate }} + tb-hint-tooltip-icon="{{ 'ai-models.customer-access-hint' | translate }}"> + + {{ 'ai-models.customer-access' | translate }}
    diff --git a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts index fe89bbea4c..472c3502b1 100644 --- a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts @@ -90,7 +90,7 @@ export class AIModelDialogComponent extends DialogComponent, 'label'>, HasTenantId, ExportableEntity { modelType: ModelType; - availableViaApi?: boolean; + customerAccessEnabled?: boolean; configuration: { provider: AiProvider providerConfig: { diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index 302826f355..61e57435a2 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -1767,8 +1767,8 @@ "model": "Model", "name": "Navn", "ai-provider": "AI-udbyder", - "available-via-api": "Tilgængelig via API", - "available-via-api-hint": "Giver brugere med tilladelsen 'Kald' for AI-modeller mulighed for at sende chatforespørgsler til denne model via REST API, f.eks. fra Trendz Analytics. Roller, der giver alle handlinger, såsom standardrollen 'Customer Administrator', omfatter 'Kald', så alle brugere med en sådan rolle kan kalde denne model. Modellens konfiguration og legitimationsoplysninger vises aldrig. Kundebrugere kan kun tildeles handlingen 'Kald' for AI-modeller.", + "customer-access": "Kundeadgang", + "customer-access-hint": "Giver kundebrugere med tilladelsen 'Kald' for AI-modeller mulighed for at sende chatforespørgsler til denne model via REST API, f.eks. fra Trendz Analytics. Roller, der giver alle handlinger, såsom standardrollen 'Customer Administrator', omfatter 'Kald', så alle kundebrugere med en sådan rolle kan kalde denne model. Lejeradministratorer med tilladelsen 'Kald' kan kalde modellen uanset denne indstilling. Modellens konfiguration og legitimationsoplysninger eksponeres aldrig.", "no-found": "Ingen AI-modeller fundet", "list": "{ count, plural, =1 {Én model} other {Liste med # modeller} }", "selected-fields": "{ count, plural, =1 {1 model} other {# modeller} } valgt", diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index 828e53496b..fa001cf17f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -1880,8 +1880,8 @@ "model": "Modell", "name": "Name", "ai-provider": "KI-Anbieter", - "available-via-api": "Über API verfügbar", - "available-via-api-hint": "Erlaubt Benutzern mit der Berechtigung 'Aufrufen' für KI-Modelle, über die REST-API Chat-Anfragen an dieses Modell zu senden, z. B. aus Trendz Analytics. Rollen, die alle Operationen gewähren, wie die Standardrolle 'Customer Administrator', enthalten 'Aufrufen', sodass jeder Benutzer mit einer solchen Rolle dieses Modell aufrufen kann. Die Modellkonfiguration und die Zugangsdaten werden nie offengelegt. Kundenbenutzern kann für KI-Modelle nur die Operation 'Aufrufen' gewährt werden.", + "customer-access": "Kundenzugriff", + "customer-access-hint": "Erlaubt Kundenbenutzern mit der Berechtigung 'Aufrufen' für KI-Modelle, über die REST-API Chat-Anfragen an dieses Modell zu senden, z. B. aus Trendz Analytics. Rollen, die alle Operationen gewähren, wie die Standardrolle 'Customer Administrator', enthalten 'Aufrufen', sodass jeder Kundenbenutzer mit einer solchen Rolle dieses Modell aufrufen kann. Mandantenadministratoren mit der Berechtigung 'Aufrufen' können das Modell unabhängig von dieser Einstellung aufrufen. Die Modellkonfiguration und die Zugangsdaten werden nie offengelegt.", "no-found": "Keine KI-Modelle gefunden", "list": "{ count, plural, one {Ein Modell} other {Liste von # Modellen} }", "selected-fields": "{ count, plural, one {# Modell} other {# Modelle} } ausgewählt", diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index eace9b01f5..a7b89e995d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -1767,8 +1767,8 @@ "model": "Μοντέλο", "name": "Όνομα", "ai-provider": "Πάροχος AI", - "available-via-api": "Διαθέσιμο μέσω API", - "available-via-api-hint": "Επιτρέπει σε χρήστες με το δικαίωμα 'Κλήση' για μοντέλα AI να στέλνουν αιτήματα συνομιλίας σε αυτό το μοντέλο μέσω REST API, π.χ. από το Trendz Analytics. Οι ρόλοι που παρέχουν όλες τις λειτουργίες, όπως ο προεπιλεγμένος ρόλος 'Customer Administrator', περιλαμβάνουν την 'Κλήση', οπότε κάθε χρήστης με τέτοιο ρόλο μπορεί να καλέσει αυτό το μοντέλο. Η διαμόρφωση και τα διαπιστευτήρια του μοντέλου δεν εκτίθενται ποτέ. Στους χρήστες πελατών μπορεί να εκχωρηθεί μόνο η λειτουργία 'Κλήση' για μοντέλα AI.", + "customer-access": "Πρόσβαση πελατών", + "customer-access-hint": "Επιτρέπει σε χρήστες πελατών με το δικαίωμα 'Κλήση' για μοντέλα AI να στέλνουν αιτήματα συνομιλίας σε αυτό το μοντέλο μέσω REST API, π.χ. από το Trendz Analytics. Οι ρόλοι που παρέχουν όλες τις λειτουργίες, όπως ο προεπιλεγμένος ρόλος 'Customer Administrator', περιλαμβάνουν την 'Κλήση', οπότε κάθε χρήστης πελάτη με τέτοιο ρόλο μπορεί να καλεί αυτό το μοντέλο. Οι διαχειριστές μισθωτή με το δικαίωμα 'Κλήση' μπορούν να καλούν το μοντέλο ανεξάρτητα από αυτή τη ρύθμιση. Η διαμόρφωση του μοντέλου και τα διαπιστευτήρια δεν εκτίθενται ποτέ.", "no-found": "Δεν βρέθηκαν μοντέλα AI", "list": "{ count, plural, =1 {Ένα μοντέλο} other {Λίστα με # μοντέλα} }", "selected-fields": "{ count, plural, =1 {1 μοντέλο} other {# μοντέλα} } επιλεγμένα", diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 1e00a8cefb..4dae7f4ca8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -1882,8 +1882,8 @@ "model": "Model", "name": "Name", "ai-provider": "AI provider", - "available-via-api": "Available via API", - "available-via-api-hint": "Allows users with the 'Invoke' permission for AI models to send chat requests to this model via REST API, e.g. from Trendz Analytics. Roles that grant all operations, such as the default 'Customer Administrator' role, include 'Invoke', so every user with such a role can call this model. The model configuration and credentials are never exposed. Customer users can only be granted the 'Invoke' operation for AI models.", + "customer-access": "Customer access", + "customer-access-hint": "Allows customer users with the 'Invoke' permission for AI models to send chat requests to this model via REST API, e.g. from Trendz Analytics. Roles that grant all operations, such as the default 'Customer Administrator' role, include 'Invoke', so every customer user with such a role can call this model. Tenant administrators with the 'Invoke' permission can call the model regardless of this setting. The model configuration and credentials are never exposed.", "no-found": "No AI models found", "list": "{ count, plural, =1 {One model} other {List of # models} }", "selected-fields": "{ count, plural, =1 {1 model} other {# models} } selected", diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index f7299e6a82..65ec4db177 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -1880,8 +1880,8 @@ "model": "Modelo", "name": "Nombre", "ai-provider": "Proveedor de IA", - "available-via-api": "Disponible mediante API", - "available-via-api-hint": "Permite a los usuarios con el permiso 'Invocar' para modelos de IA enviar solicitudes de chat a este modelo mediante la API REST, p. ej., desde Trendz Analytics. Los roles que conceden todas las operaciones, como el rol predeterminado 'Customer Administrator', incluyen 'Invocar', por lo que cualquier usuario con dicho rol puede llamar a este modelo. La configuración y las credenciales del modelo nunca se exponen. A los usuarios de cliente solo se les puede conceder la operación 'Invocar' para modelos de IA.", + "customer-access": "Acceso de clientes", + "customer-access-hint": "Permite a los usuarios de clientes con el permiso 'Invocar' para modelos de IA enviar solicitudes de chat a este modelo mediante la API REST, p. ej., desde Trendz Analytics. Los roles que conceden todas las operaciones, como el rol predeterminado 'Customer Administrator', incluyen 'Invocar', por lo que cualquier usuario de cliente con dicho rol puede llamar a este modelo. Los administradores de inquilino con el permiso 'Invocar' pueden llamar al modelo independientemente de esta configuración. La configuración del modelo y las credenciales nunca se exponen.", "no-found": "No se encontraron modelos de IA", "list": "{ count, plural, =1 {Un modelo} other {Lista de # modelos} }", "selected-fields": "{ count, plural, =1 {1 modelo} other {# modelos} } seleccionados", diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index 136c4b31a3..b5f3f8af40 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -1880,8 +1880,8 @@ "model": "Modèle", "name": "Nom", "ai-provider": "Fournisseur d’IA", - "available-via-api": "Disponible via l’API", - "available-via-api-hint": "Permet aux utilisateurs disposant de l’autorisation « Invoquer » pour les modèles d’IA d’envoyer des requêtes de chat à ce modèle via l’API REST, par exemple depuis Trendz Analytics. Les rôles qui accordent toutes les opérations, comme le rôle par défaut « Customer Administrator », incluent « Invoquer » : tout utilisateur disposant d’un tel rôle peut donc appeler ce modèle. La configuration et les identifiants du modèle ne sont jamais exposés. Les utilisateurs client ne peuvent recevoir que l’opération « Invoquer » pour les modèles d’IA.", + "customer-access": "Accès client", + "customer-access-hint": "Permet aux utilisateurs clients disposant de l’autorisation « Invoquer » pour les modèles d’IA d’envoyer des requêtes de chat à ce modèle via l’API REST, par exemple depuis Trendz Analytics. Les rôles qui accordent toutes les opérations, comme le rôle par défaut « Customer Administrator », incluent « Invoquer » : tout utilisateur client disposant d’un tel rôle peut donc appeler ce modèle. Les administrateurs de locataire disposant de l’autorisation « Invoquer » peuvent appeler le modèle quel que soit ce paramètre. La configuration du modèle et les identifiants ne sont jamais exposés.", "no-found": "Aucun modèle d’IA trouvé", "list": "{ count, plural, =1 {Un modèle} one {Liste de # modèle} other {Liste de # modèles} }", "selected-fields": "{ count, plural, one {# modèle sélectionné} other {# modèles sélectionnés} }", diff --git a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json index 9284cbafd5..f67167d274 100644 --- a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json +++ b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json @@ -1767,8 +1767,8 @@ "model": "मॉडल", "name": "नाम", "ai-provider": "AI प्रदाता", - "available-via-api": "API के माध्यम से उपलब्ध", - "available-via-api-hint": "AI मॉडल के लिए 'इनवोक करें' अनुमति वाले उपयोगकर्ताओं को REST API के माध्यम से इस मॉडल को चैट अनुरोध भेजने की अनुमति देता है, जैसे Trendz Analytics से। सभी ऑपरेशन प्रदान करने वाली भूमिकाएँ, जैसे डिफ़ॉल्ट 'Customer Administrator' भूमिका, में 'इनवोक करें' शामिल है, इसलिए ऐसी भूमिका वाला हर उपयोगकर्ता इस मॉडल को कॉल कर सकता है। मॉडल का कॉन्फ़िगरेशन और क्रेडेंशियल कभी प्रकट नहीं किए जाते। ग्राहक उपयोगकर्ताओं को AI मॉडल के लिए केवल 'इनवोक करें' ऑपरेशन दिया जा सकता है।", + "customer-access": "ग्राहक पहुंच", + "customer-access-hint": "AI मॉडल के लिए 'इनवोक करें' अनुमति वाले ग्राहक उपयोगकर्ताओं को REST API के माध्यम से इस मॉडल को चैट अनुरोध भेजने की अनुमति देता है, जैसे Trendz Analytics से। सभी ऑपरेशन देने वाली भूमिकाएं, जैसे डिफ़ॉल्ट 'Customer Administrator' भूमिका, 'इनवोक करें' शामिल करती हैं, इसलिए ऐसी भूमिका वाला हर ग्राहक उपयोगकर्ता इस मॉडल को कॉल कर सकता है। 'इनवोक करें' अनुमति वाले टेनेंट व्यवस्थापक इस सेटिंग की परवाह किए बिना मॉडल को कॉल कर सकते हैं। मॉडल का कॉन्फ़िगरेशन और क्रेडेंशियल कभी उजागर नहीं होते।", "no-found": "कोई AI मॉडल नहीं मिला", "list": "{ count, plural, =1 {एक मॉडल} other {# मॉडलों की सूची} }", "selected-fields": "{ count, plural, =1 {1 मॉडल} other {# मॉडल्स} } चयनित", diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index f35c4d7105..e29b2aab04 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -1880,8 +1880,8 @@ "model": "Modello", "name": "Nome", "ai-provider": "Fornitore IA", - "available-via-api": "Disponibile tramite API", - "available-via-api-hint": "Consente agli utenti con il permesso 'Invocare' per i modelli IA di inviare richieste di chat a questo modello tramite REST API, ad es. da Trendz Analytics. I ruoli che concedono tutte le operazioni, come il ruolo predefinito 'Customer Administrator', includono 'Invocare', quindi ogni utente con tale ruolo può chiamare questo modello. La configurazione e le credenziali del modello non vengono mai esposte. Agli utenti cliente può essere concessa solo l'operazione 'Invocare' per i modelli IA.", + "customer-access": "Accesso clienti", + "customer-access-hint": "Consente agli utenti dei clienti con il permesso 'Invocare' per i modelli IA di inviare richieste di chat a questo modello tramite REST API, ad es. da Trendz Analytics. I ruoli che concedono tutte le operazioni, come il ruolo predefinito 'Customer Administrator', includono 'Invocare', quindi ogni utente cliente con tale ruolo può chiamare questo modello. Gli amministratori del tenant con il permesso 'Invocare' possono chiamare il modello indipendentemente da questa impostazione. La configurazione del modello e le credenziali non vengono mai esposte.", "no-found": "Nessun modello IA trovato", "list": "{ count, plural, =1 {Un modello} other {Elenco di # modelli} }", "selected-fields": "{ count, plural, =1 {1 modello} other {# modelli} } selezionati", diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index eda154ae1d..e9abfc45ec 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -1767,8 +1767,8 @@ "model": "モデル", "name": "名前", "ai-provider": "AIプロバイダー", - "available-via-api": "API経由で利用可能", - "available-via-api-hint": "AIモデルの「呼び出し」権限を持つユーザーが、REST APIを介して(例:Trendz Analyticsから)このモデルにチャットリクエストを送信できるようにします。デフォルトの「Customer Administrator」ロールなど、すべての操作を許可するロールには「呼び出し」が含まれるため、そのようなロールを持つすべてのユーザーがこのモデルを呼び出せます。モデルの設定と認証情報が公開されることはありません。顧客ユーザーには、AIモデルに対して「呼び出し」操作のみを付与できます。", + "customer-access": "顧客アクセス", + "customer-access-hint": "AIモデルの「呼び出し」権限を持つ顧客ユーザーが、REST APIを介して(例:Trendz Analyticsから)このモデルにチャットリクエストを送信できるようにします。デフォルトの「Customer Administrator」ロールなど、すべての操作を許可するロールには「呼び出し」が含まれるため、そのようなロールを持つすべての顧客ユーザーがこのモデルを呼び出せます。「呼び出し」権限を持つテナント管理者は、この設定に関係なくモデルを呼び出せます。モデルの設定と認証情報が公開されることはありません。", "no-found": "AIモデルが見つかりません", "list": "{ count, plural, =1 {AIモデル} other {AIモデル一覧 # 件} }", "selected-fields": "{ count, plural, =1 {1 件のAIモデル} other {# 件のAIモデル} } を選択", diff --git a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json index 09d7fa0677..afbf4eb62f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json +++ b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json @@ -1607,8 +1607,8 @@ "model": "모델", "name": "이름", "ai-provider": "AI 제공자", - "available-via-api": "API를 통해 사용 가능", - "available-via-api-hint": "AI 모델에 대한 'Invoke' 권한이 있는 사용자가 REST API를 통해(예: Trendz Analytics에서) 이 모델에 채팅 요청을 보낼 수 있도록 합니다. 기본 'Customer Administrator' 역할처럼 모든 작업을 허용하는 역할에는 'Invoke'가 포함되므로 해당 역할을 가진 모든 사용자가 이 모델을 호출할 수 있습니다. 모델 구성과 자격 증명은 절대 노출되지 않습니다. 고객 사용자에게는 AI 모델에 대해 'Invoke' 작업만 부여할 수 있습니다.", + "customer-access": "고객 액세스", + "customer-access-hint": "AI 모델에 대한 'Invoke' 권한이 있는 고객 사용자가 REST API를 통해(예: Trendz Analytics에서) 이 모델에 채팅 요청을 보낼 수 있도록 합니다. 기본 'Customer Administrator' 역할처럼 모든 작업을 허용하는 역할에는 'Invoke'가 포함되므로 해당 역할을 가진 모든 고객 사용자가 이 모델을 호출할 수 있습니다. 'Invoke' 권한이 있는 테넌트 관리자는 이 설정과 관계없이 모델을 호출할 수 있습니다. 모델 구성과 자격 증명은 절대 노출되지 않습니다.", "no-found": "AI 모델이 없습니다", "list": "{ count, plural, =1 {1개 모델} other {#개 모델 목록} }", "selected-fields": "{ count, plural, =1 {1개 모델} other {#개 모델} } 선택됨", diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index fda78b2d40..7c318a15e7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -1301,8 +1301,8 @@ "model": "Modelis", "name": "Pavadinimas", "ai-provider": "AI tiekėjas", - "available-via-api": "Pasiekiama per API", - "available-via-api-hint": "Leidžia naudotojams, turintiems AI modelių leidimą „Iškviesti“, siųsti pokalbių užklausas šiam modeliui per REST API, pvz., iš Trendz Analytics. Rolės, suteikiančios visas operacijas, pvz., numatytoji rolė „Customer Administrator“, apima „Iškviesti“, todėl kiekvienas naudotojas, turintis tokią rolę, gali iškviesti šį modelį. Modelio konfigūracija ir prisijungimo duomenys niekada neatskleidžiami. Kliento naudotojams AI modeliams gali būti suteikta tik operacija „Iškviesti“.", + "customer-access": "Klientų prieiga", + "customer-access-hint": "Leidžia klientų naudotojams, turintiems AI modelių leidimą „Iškviesti“, siųsti pokalbių užklausas šiam modeliui per REST API, pvz., iš Trendz Analytics. Rolės, suteikiančios visas operacijas, pvz., numatytoji rolė „Customer Administrator“, apima „Iškviesti“, todėl kiekvienas kliento naudotojas, turintis tokią rolę, gali iškviesti šį modelį. Nuomininko administratoriai, turintys leidimą „Iškviesti“, gali iškviesti modelį nepriklausomai nuo šio nustatymo. Modelio konfigūracija ir prisijungimo duomenys niekada neatskleidžiami.", "no-found": "AI modelių nerasta", "list": "{ count, plural, =1 {Vienas modelis} other {# modelių sąrašas} }", "selected-fields": "{ count, plural, =1 {1 modelis} other {# modeliai} } pasirinkta", diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index a036f23506..eab1e11434 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -1767,8 +1767,8 @@ "model": "Model", "name": "Naam", "ai-provider": "AI-provider", - "available-via-api": "Beschikbaar via API", - "available-via-api-hint": "Hiermee kunnen gebruikers met de machtiging 'Aanroepen' voor AI-modellen chatverzoeken naar dit model sturen via de REST API, bijvoorbeeld vanuit Trendz Analytics. Rollen die alle bewerkingen toestaan, zoals de standaardrol 'Customer Administrator', bevatten 'Aanroepen', zodat elke gebruiker met zo'n rol dit model kan aanroepen. De modelconfiguratie en inloggegevens worden nooit vrijgegeven. Klantgebruikers kunnen voor AI-modellen alleen de bewerking 'Aanroepen' krijgen.", + "customer-access": "Klanttoegang", + "customer-access-hint": "Hiermee kunnen klantgebruikers met de machtiging 'Aanroepen' voor AI-modellen chatverzoeken naar dit model sturen via de REST API, bijvoorbeeld vanuit Trendz Analytics. Rollen die alle bewerkingen toestaan, zoals de standaardrol 'Customer Administrator', bevatten 'Aanroepen', zodat elke klantgebruiker met zo'n rol dit model kan aanroepen. Tenantbeheerders met de machtiging 'Aanroepen' kunnen het model aanroepen ongeacht deze instelling. De modelconfiguratie en inloggegevens worden nooit vrijgegeven.", "no-found": "Geen AI-modellen gevonden", "list": "{ count, plural, =1 {Eén model} other {Lijst van # modellen} }", "selected-fields": "{ count, plural, =1 {1 model} other {# modellen} } geselecteerd", diff --git a/ui-ngx/src/assets/locale/locale.constant-no_NO.json b/ui-ngx/src/assets/locale/locale.constant-no_NO.json index 084fff172f..f17be73ad2 100644 --- a/ui-ngx/src/assets/locale/locale.constant-no_NO.json +++ b/ui-ngx/src/assets/locale/locale.constant-no_NO.json @@ -1767,8 +1767,8 @@ "model": "Modell", "name": "Navn", "ai-provider": "AI-leverandør", - "available-via-api": "Tilgjengelig via API", - "available-via-api-hint": "Lar brukere med tillatelsen 'Kall' for AI-modeller sende chatforespørsler til denne modellen via REST API, f.eks. fra Trendz Analytics. Roller som gir alle operasjoner, som standardrollen 'Customer Administrator', inkluderer 'Kall', så alle brukere med en slik rolle kan kalle denne modellen. Modellens konfigurasjon og legitimasjon blir aldri eksponert. Kundebrukere kan bare få operasjonen 'Kall' for AI-modeller.", + "customer-access": "Kundetilgang", + "customer-access-hint": "Lar kundebrukere med tillatelsen 'Kall' for AI-modeller sende chatforespørsler til denne modellen via REST API, f.eks. fra Trendz Analytics. Roller som gir alle operasjoner, som standardrollen 'Customer Administrator', inkluderer 'Kall', så alle kundebrukere med en slik rolle kan kalle denne modellen. Leietakeradministratorer med tillatelsen 'Kall' kan kalle modellen uavhengig av denne innstillingen. Modellens konfigurasjon og legitimasjon blir aldri eksponert.", "no-found": "Fant ingen AI-modeller", "list": "{ count, plural, =1 {Én modell} other {Liste over # modeller} }", "selected-fields": "{ count, plural, =1 {1 modell} other {# modeller} } valgt", diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index 833e095066..be5e0341f8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -1880,8 +1880,8 @@ "model": "Modelo", "name": "Nome", "ai-provider": "Provedor de IA", - "available-via-api": "Disponível via API", - "available-via-api-hint": "Permite que usuários com a permissão 'Invocar' para modelos de IA enviem solicitações de chat a este modelo via API REST, por exemplo, a partir do Trendz Analytics. Funções que concedem todas as operações, como a função padrão 'Customer Administrator', incluem 'Invocar', portanto qualquer usuário com essa função pode chamar este modelo. A configuração e as credenciais do modelo nunca são expostas. Usuários de cliente só podem receber a operação 'Invocar' para modelos de IA.", + "customer-access": "Acesso de clientes", + "customer-access-hint": "Permite que usuários de clientes com a permissão 'Invocar' para modelos de IA enviem solicitações de chat a este modelo via API REST, por exemplo, a partir do Trendz Analytics. Funções que concedem todas as operações, como a função padrão 'Customer Administrator', incluem 'Invocar', portanto qualquer usuário de cliente com essa função pode chamar este modelo. Administradores de tenant com a permissão 'Invocar' podem chamar o modelo independentemente desta configuração. A configuração do modelo e as credenciais nunca são expostas.", "no-found": "Nenhum modelo de IA encontrado", "list": "{ count, plural, =1 {Um modelo} other {Lista de # modelos} }", "selected-fields": "{ count, plural, =1 {1 modelo} other {# modelos} } selecionado(s)", diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index e4987c325d..10c9f99c5e 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -1767,8 +1767,8 @@ "model": "Model", "name": "Ad", "ai-provider": "Yapay Zeka Sağlayıcısı", - "available-via-api": "API üzerinden kullanılabilir", - "available-via-api-hint": "Yapay zeka modelleri için 'Çağır' iznine sahip kullanıcıların REST API üzerinden, örneğin Trendz Analytics'ten, bu modele sohbet istekleri göndermesine olanak tanır. Varsayılan 'Customer Administrator' rolü gibi tüm işlemleri veren roller 'Çağır' iznini içerir; bu nedenle böyle bir role sahip her kullanıcı bu modeli çağırabilir. Modelin yapılandırması ve kimlik bilgileri asla açığa çıkarılmaz. Müşteri kullanıcılarına yapay zeka modelleri için yalnızca 'Çağır' işlemi verilebilir.", + "customer-access": "Müşteri erişimi", + "customer-access-hint": "Yapay zeka modelleri için 'Çağır' iznine sahip müşteri kullanıcılarının REST API üzerinden, örneğin Trendz Analytics'ten, bu modele sohbet istekleri göndermesine olanak tanır. Varsayılan 'Customer Administrator' rolü gibi tüm işlemleri veren roller 'Çağır' iznini içerir; bu nedenle böyle bir role sahip her müşteri kullanıcısı bu modeli çağırabilir. 'Çağır' iznine sahip kiracı yöneticileri bu ayardan bağımsız olarak modeli çağırabilir. Model yapılandırması ve kimlik bilgileri asla açığa çıkarılmaz.", "no-found": "Yapay zeka modeli bulunamadı", "list": "{ count, plural, =1 {Bir model} other {# model listesi} }", "selected-fields": "{ count, plural, =1 {1 model} other {# model seçildi} }", diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index 2ea20f2ad1..00db57b3f5 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -1880,8 +1880,8 @@ "model": "Модель", "name": "Назва", "ai-provider": "Постачальник ШІ", - "available-via-api": "Доступна через API", - "available-via-api-hint": "Дозволяє користувачам із дозволом «Виклик» для моделей ШІ надсилати чат-запити до цієї моделі через REST API, наприклад із Trendz Analytics. Ролі, що надають усі операції, як-от типова роль «Customer Administrator», містять «Виклик», тому кожен користувач із такою роллю може викликати цю модель. Конфігурація та облікові дані моделі ніколи не розкриваються. Користувачам клієнта для моделей ШІ можна надати лише операцію «Виклик».", + "customer-access": "Доступ для клієнтів", + "customer-access-hint": "Дозволяє користувачам клієнтів із дозволом «Виклик» для моделей ШІ надсилати чат-запити до цієї моделі через REST API, наприклад із Trendz Analytics. Ролі, що надають усі операції, як-от типова роль «Customer Administrator», містять «Виклик», тож кожен користувач клієнта з такою роллю може викликати цю модель. Адміністратори тенанта з дозволом «Виклик» можуть викликати модель незалежно від цього налаштування. Конфігурація моделі та облікові дані ніколи не розкриваються.", "no-found": "Моделей ШІ не знайдено", "list": "{ count, plural, =1 {Одна модель} few {Список із # моделей} many {Список із # моделей} other {Список із # моделі} }", "selected-fields": "Вибрано { count, plural, one {# модель} few {# моделі} other {# моделей} }", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index ac98416ffb..61c65ffde9 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -1767,8 +1767,8 @@ "model": "模型", "name": "名称", "ai-provider": "AI 提供商", - "available-via-api": "可通过 API 使用", - "available-via-api-hint": "允许拥有 AI 模型“调用”权限的用户通过 REST API(例如从 Trendz Analytics)向此模型发送聊天请求。授予所有操作的角色(例如默认的“Customer Administrator”角色)包含“调用”,因此拥有此类角色的每个用户都可以调用此模型。模型的配置和凭据永远不会被公开。客户用户只能被授予 AI 模型的“调用”操作。", + "customer-access": "客户访问", + "customer-access-hint": "允许拥有 AI 模型“调用”权限的客户用户通过 REST API(例如从 Trendz Analytics)向此模型发送聊天请求。授予所有操作的角色(例如默认的“Customer Administrator”角色)包含“调用”,因此拥有此类角色的每个客户用户都可以调用此模型。拥有“调用”权限的租户管理员可以调用此模型,不受此设置影响。模型的配置和凭据永远不会被公开。", "no-found": "未找到 AI 模型", "list": "{ count, plural, =1 {1 个模型} other {# 个模型列表} }", "selected-fields": "已选择{ count, plural, =1 {1 个模型} other {# 个模型} }", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json index 45de046b80..0b3172ac52 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json @@ -8617,8 +8617,8 @@ "model": "模型", "name": "名稱", "ai-provider": "AI 提供者", - "available-via-api": "可透過 API 使用", - "available-via-api-hint": "允許擁有 AI 模型「呼叫」權限的使用者透過 REST API(例如從 Trendz Analytics)向此模型傳送聊天請求。授予所有操作的角色(例如預設的「Customer Administrator」角色)包含「呼叫」,因此擁有此類角色的每位使用者都能呼叫此模型。模型的設定與憑證永遠不會被公開。客戶使用者只能被授予 AI 模型的「呼叫」操作。", + "customer-access": "客戶存取", + "customer-access-hint": "允許擁有 AI 模型「呼叫」權限的客戶使用者透過 REST API(例如從 Trendz Analytics)向此模型傳送聊天請求。授予所有操作的角色(例如預設的「Customer Administrator」角色)包含「呼叫」,因此擁有此類角色的每位客戶使用者都能呼叫此模型。擁有「呼叫」權限的租戶管理員可呼叫此模型,不受此設定影響。模型的設定與憑證永遠不會被公開。", "no-found": "找不到 AI 模型", "list": "{ count, plural, =1 {1 個模型} other {模型清單(# 個)} }", "selected-fields": "已選擇 { count, plural, =1 {1 個模型} other {# 個模型} }", From 579b8ccc6884f23bababa19c0bd9017f57cf2404 Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Wed, 28 Oct 2026 15:41:58 +0200 Subject: [PATCH 334/559] Merge pull request #16441 from Ultrazombie/locales/zh-4.4 Updated Chinese (Simplified) locale translations for 4.4 --- .../assets/locale/locale.constant-zh_CN.json | 2183 +++++++++++++++-- 1 file changed, 1926 insertions(+), 257 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index 3b3fa8a1d0..10b6c65977 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "激活 ThingsBoard", + "initial": { + "welcome": "欢迎使用 ThingsBoard {{version}}", + "title": "获取免费许可证,开始构建", + "desc": "只需在许可证门户中花几分钟:创建账户、选择许可证,此实例即会自动激活。", + "open-license-portal": "打开许可证门户", + "already-have-license": "已有许可证?", + "free-no-credit-card": "永久免费。无需信用卡。", + "source-available": "源代码公开,遵循" + }, + "waiting": { + "live-eyebrow": "正在等待激活", + "title": "在许可证门户中继续", + "desc": "登录或创建账户,选择许可证并接受条款。许可证签发后,此实例将自动激活。", + "nothing-opened": "没有打开任何页面?", + "paste-link-or-scan-qr-code": "在任意联网设备上粘贴文本链接,或用手机扫描二维码。", + "text-link": "文本链接", + "qr-code": "二维码", + "qr-code-hint": "将手机摄像头对准二维码,然后打开链接。手机需要自行连接互联网。", + "have-key": "已有许可证密钥?", + "activate-key": "使用密钥激活许可证" + }, + "offline": { + "eyebrow": "离线", + "title": "从其他设备激活", + "desc": "此服务器无法访问许可证门户,因此需要两步:先在联网设备上通过门户获取许可证,再在此处输入密钥。", + "get-your-license": "在门户中获取许可证", + "open-link": "在任意联网设备上打开此链接。登录或创建账户,选择许可证并接受条款。随后门户会显示许可证密钥。", + "paste-key": "在此处粘贴密钥", + "no-connected-device": "没有任何联网设备?" + }, + "have-key": { + "title": "使用密钥激活许可证", + "enter-license-key": "输入您的许可证密钥", + "enter-license-key-note": "密钥位于您的许可证门户账户中:在任意设备上登录 {{hostName}},然后从中复制。", + "no-account": "没有账户,也没有联网设备?", + "contact-support": "联系技术支持" + }, + "key-form": { + "placeholder": "粘贴您的许可证密钥", + "invalid": "该密钥对此实例无效。请检查是否缺少字符,或联系技术支持。", + "activate": "激活", + "activating": "正在激活" + }, + "account": { + "title": "此实例已激活", + "desc": "您的许可证已保存在此服务器和您的许可证门户账户中。", + "create-sys-admin-account": "创建系统管理员账户", + "create-sys-admin-account-hint": "该账户用于登录此服务器,与存放您许可证的许可证门户账户相互独立。", + "email-label": "邮箱", + "email-required": "请输入邮箱地址。", + "email-invalid": "请输入有效的邮箱地址。", + "password-label": "密码", + "password-required": "请输入密码。", + "password-min-length": "密码长度至少为 6 个字符。", + "confirm-label": "确认密码", + "confirm-required": "请确认您的密码。", + "confirm-mismatch": "两次输入的密码不一致。", + "demo-tenant-title": "设置演示租户", + "demo-tenant-desc": "这是体验平台功能最快的方式。仪表板、设备和规则链均已设置好,租户用户和客户用户可直接登录。您也可以以系统管理员身份从“租户”中打开它。", + "create": "创建账户", + "creating": "正在创建账户" + }, + "demo-tenant": { + "signed-in-as": "您的系统管理员账户已创建,您已以 {{email}} 身份登录。", + "title": "要探索演示租户吗?", + "desc": "基础配置已完成——您可以打开仪表板、修改规则,或连接您自己的设备。", + "dashboards": "仪表板——基于下方设备构建,部件绑定已完成", + "devices": "设备——含设备配置和告警规则;尚未发送任何数据", + "rule-chains": "规则链——在此判定这些告警", + "explore": "探索演示租户", + "not-now": "暂不", + "not-now-hint": "选择“暂不”将进入系统管理。", + "signing-in-later": "稍后登录", + "demo-tenant-hint": "该租户自己的管理员。作为系统管理员,您也可以从“租户”中打开该租户,无需密码。" + }, + "non-production": { + "eyebrow": "需要重新确认", + "title": "请确认此部署仍为非生产环境。", + "desc": "此实例使用免费的非生产许可证运行,需由系统管理员定期重新确认。确认不会影响您的数据、用户或设备连接。", + "confirm": "确认", + "confirming": "正在确认", + "sysadmin-required": "只有系统管理员可以确认此操作。", + "login-as-sysadmin": "以系统管理员身份登录", + "state-verify-failed": "已确认,但无法验证状态。请刷新页面。", + "state-not-updated": "此实例仍显示确认未完成。请刷新页面并再次确认。" + }, + "errors": { + "signin-failed": "账户已创建,但自动登录失败。请刷新页面并手动登录。", + "state-not-updated": "设置已完成,但状态未更新。请刷新页面。", + "state-verify-failed": "设置已完成,但无法验证状态。请刷新页面。", + "no-sign-up-url": "此实例未返回链接,因此没有可打开的内容。", + "link-expired": "该链接已过期。请重新打开许可证门户以获取新链接。", + "activated-state-verify-failed": "此实例已获得许可,但暂时无法读取下一步。正在重试——您也可以刷新页面。", + "no-connection": "无法连接到服务器。请稍后重试。", + "request-failed": "请求失败。请重试。" + } + }, "access": { "unauthorized": "未授权", "unauthorized-access": "未授权访问", @@ -53,6 +152,7 @@ "refresh": "刷新", "undo": "撤销", "copy": "复制", + "copied": "已复制", "paste": "粘贴", "copy-reference": "复制引用", "paste-reference": "粘贴引用", @@ -80,6 +180,7 @@ "reset-default": "重置为默认", "show-more": "显示更多", "dont-show-again": "不再显示", + "dont-show-this-again": "不再显示", "see-documentation": "查看文档", "see-debug-events": "查看调试事件", "clear": "清除", @@ -89,7 +190,9 @@ "set": "设置", "duplicate": "复制", "disable": "禁用", - "enable": "启用" + "enable": "启用", + "rename": "重命名", + "retry": "重试" }, "aggregation": { "aggregation": "聚合", @@ -105,6 +208,7 @@ }, "admin": { "settings": "设置", + "platform": "平台", "general": "常规", "general-settings": "常规设置", "home-settings": "首页设置", @@ -163,7 +267,7 @@ "use-system-mail-template-settings": "使用系统邮件模板", "mail-template": { "mail-template": "邮件模板", - "test": "测试 email 消息", + "test": "测试邮件", "activation": "账户激活消息", "account-activated": "账户已激活消息", "account-lockout": "账户锁定消息", @@ -229,11 +333,11 @@ "password-reuse-frequency-days-range": "密码重用频率(天)不能为负数", "allow-whitespace": "允许空格", "force-reset-password-if-no-valid": "密码无效时强制重置", - "force-reset-password-if-no-valid-hint": "启用此功能时请谨慎:这将要求密码无效的用户通过 email 重置密码。", + "force-reset-password-if-no-valid-hint": "启用此功能时请谨慎:这将要求密码无效的用户通过邮件重置密码。", "general-policy": "通用策略", "max-failed-login-attempts": "账户锁定前允许的最大登录失败次数", "minimum-max-failed-login-attempts-range": "最大登录失败次数不能为负数", - "user-lockout-notification-email": "用户账户锁定时,发送通知到 email", + "user-lockout-notification-email": "用户账户锁定时,发送通知到邮箱", "user-activation-token-ttl": "用户激活链接 TTL(小时)", "user-activation-token-ttl-range": "用户激活链接 TTL 必须在 1 到 24 小时范围内", "password-reset-token-ttl": "密码重置链接 TTL(小时)", @@ -298,9 +402,9 @@ "delete-domain-title": "确定要删除域名“{{domainName}}”吗?", "delete-registration-text": "请注意,确认后提供商数据将不可用。", "delete-registration-title": "确定要删除提供商“{{name}}”吗?", - "email-attribute-key": "Email 属性键", - "email-attribute-key-required": "Email 属性键为必填项。", - "email-attribute-key-max-length": "Email 属性键应少于 32 个字符", + "email-attribute-key": "邮箱属性键", + "email-attribute-key-required": "邮箱属性键为必填项。", + "email-attribute-key-max-length": "邮箱属性键应少于 32 个字符", "first-name-attribute-key": "名字属性键", "first-name-attribute-key-max-length": "名字属性键应少于 32 个字符", "general": "常规", @@ -356,13 +460,13 @@ "mobile-package-required": "应用包为必填项。", "mobile-package-max-length": "应用包应少于 256 个字符", "mobile-package-spaces": "应用包不应包含空格", - "mobile-app-secret": "Application secret", + "mobile-app-secret": "应用密钥", "mobile-app-secret-hint": "Base64 编码的字符串,至少表示 512 位数据。", - "mobile-app-secret-required": "Application secret 为必填项。", - "mobile-app-secret-min-length": "Application secret 必须至少为 512 位数据。", - "mobile-app-secret-base64": "Application secret 必须为 base64 格式。", - "invalid-mobile-app-secret": "Application secret 只能包含字母和数字字符,长度必须在 16 到 2048 个字符之间。", - "copy-mobile-app-secret": "复制 Application secret", + "mobile-app-secret-required": "应用密钥为必填项。", + "mobile-app-secret-min-length": "应用密钥必须至少为 512 位数据。", + "mobile-app-secret-base64": "应用密钥必须为 base64 格式。", + "invalid-mobile-app-secret": "应用密钥只能包含字母和数字字符,长度必须在 16 到 2048 个字符之间。", + "copy-mobile-app-secret": "复制应用密钥", "delete-mobile-app": "删除应用信息", "providers": "提供商", "platform-web": "Web", @@ -378,8 +482,8 @@ "domain-name": "域名", "domain-name-required": "域名为必填项", "redirect-url-template": "Redirect URI 模板", - "microsoft-tenant-id": "Directory (tenant) Id", - "microsoft-tenant-id-required": "Directory (tenant) Id 为必填项", + "microsoft-tenant-id": "目录(租户)ID", + "microsoft-tenant-id-required": "目录(租户)ID 为必填项", "token-uri": "Token URI", "token-uri-required": "Token URI 为必填项", "redirect-uri": "Redirect URI", @@ -582,8 +686,8 @@ "slack": "Slack", "slack-settings": "Slack 设置", "mobile-settings": "移动端设置", - "firebase-service-account-file": "Firebase 服务账户凭证 JSON 文件", - "select-firebase-service-account-file": "拖放您的 Firebase 服务账户凭证文件或", + "firebase-service-account-file": "Firebase 服务账户凭据 JSON 文件", + "select-firebase-service-account-file": "拖放您的 Firebase 服务账户凭据文件或", "use-system-mobile-settings": "使用系统移动端设置" }, "ai-assistant": { @@ -601,13 +705,17 @@ "delete-chat-confirm": "是,删除", "action-approval-required": "操作需要审批", "approve": "批准", + "approve-all": "批准后续所有操作", "deny": "拒绝", "processing": "处理中...", "approved": "完成", "denied": "已拒绝", "error": "失败", "thinking": "思考中...", + "connection-lost": "与 AI 助手的连接已断开。正在重新连接...", + "reconnect-failed": "无法重新连接到 AI 助手。请重新打开对话以查看其回复。", "rename-chat-title": "重命名此对话", + "export-chat": "导出对话", "main-title": "您好!我是您的 AI 助手" }, "alarm": { @@ -639,7 +747,7 @@ "no-alarms-prompt": "未找到告警", "created-time": "创建时间", "type": "类型", - "severity": "严重程度", + "severity": "级别", "originator": "发起者", "originator-type": "发起者类型", "details": "详情", @@ -650,7 +758,7 @@ "assignee-id": "受理人 ID", "assignee-first-name": "受理人名字", "assignee-last-name": "受理人姓氏", - "assignee-email": "受理人 email", + "assignee-email": "受理人邮箱", "unassigned": "未分配", "user-deleted": "用户已删除", "assignee-not-set": "全部", @@ -662,9 +770,9 @@ "ack-time": "确认时间", "clear-time": "清除时间", "duration": "持续时间", - "alarm-severity": "告警严重程度", - "alarm-severity-list": "告警严重程度列表", - "any-severity": "任意严重程度", + "alarm-severity": "告警级别", + "alarm-severity-list": "告警级别列表", + "any-severity": "任意级别", "severity-critical": "严重", "severity-major": "重要", "severity-minor": "次要", @@ -721,7 +829,7 @@ "unassigned-to-user": "告警已由用户 {{userName}} 取消分配", "unassigned-from-deleted-user": "告警已取消分配,因为用户 {{userName}} 已被删除", "comment-deleted": "用户 {{userName}} 删除了评论", - "severity-changed": "告警严重程度已从 {{oldSeverity}} 更新为 {{newSeverity}}" + "severity-changed": "告警级别已从 {{oldSeverity}} 更新为 {{newSeverity}}" } }, "alarm-activity": { @@ -756,16 +864,16 @@ "filter-type-entities-by-group-name": "按组名称的实体", "filter-type-state-entity": "来自仪表板状态的实体", "filter-type-state-entity-originator": "发起者实体", - "filter-type-state-entity-master-report": "来自主报表的实体", + "filter-type-state-entity-master-report": "来自主报告的实体", "filter-type-state-entity-description": "从仪表板状态参数获取的实体", "filter-type-state-entity-originator-description": "发起者实体", - "filter-type-state-entity-master-report-description": "由主报表设置的实体", + "filter-type-state-entity-master-report-description": "由主报告设置的实体", "filter-type-state-entity-owner": "仪表板状态实体的所有者", "filter-type-state-entity-owner-originator": "发起者实体的所有者", - "filter-type-state-entity-owner-master-report": "主报表实体的所有者", + "filter-type-state-entity-owner-master-report": "主报告实体的所有者", "filter-type-state-entity-owner-description": "从仪表板状态参数获取的实体的所有者", "filter-type-state-entity-owner-originator-description": "发起者实体的所有者", - "filter-type-state-entity-owner-master-report-description": "由主报表设置的实体的所有者", + "filter-type-state-entity-owner-master-report-description": "由主报告设置的实体的所有者", "filter-type-asset-type": "资产类型", "filter-type-asset-type-description": "类型为“{{assetTypes}}”的资产", "filter-type-asset-type-and-name-description": "类型为“{{assetTypes}}”且名称以“{{prefix}}”开头的资产", @@ -802,38 +910,38 @@ "no-entity-filter-specified": "未指定实体过滤器", "root-state-entity": "使用仪表板状态实体作为根", "root-originator-entity": "使用发起者实体作为根", - "root-master-report-entity": "使用主报表实体作为根", + "root-master-report-entity": "使用主报告实体作为根", "group-state-entity": "使用仪表板状态实体作为实体组", "group-originator-entity": "使用发起者实体作为实体组", - "group-master-report-entity": "使用主报表实体作为实体组", + "group-master-report-entity": "使用主报告实体作为实体组", "group-state-entity-owner": "使用仪表板状态实体作为实体组所有者", "group-originator-entity-owner": "使用发起者实体作为实体组所有者", - "group-master-report-entity-owner": "使用主报表实体作为实体组所有者", + "group-master-report-entity-owner": "使用主报告实体作为实体组所有者", "last-level-relation": "仅获取最后一级关联", "root-entity": "根实体", "state-entity-parameter-name": "状态实体参数名称", "default-state-entity": "默认状态实体", "default-originator-entity": "默认发起者实体", - "default-master-report-entity": "默认主报表实体", + "default-master-report-entity": "默认主报告实体", "default-state-entity-group": "默认状态实体组", "default-originator-entity-group": "默认发起者实体组", - "default-master-report-entity-group": "默认主报表实体组", + "default-master-report-entity-group": "默认主报告实体组", "default-entity-parameter-name": "默认", "query-options": "查询选项", "max-relation-level": "最大关联层级", "unlimited-level": "无限层级", "state-entity": "仪表板状态实体", "originator-entity": "发起者实体", - "master-report-entity": "主报表实体", + "master-report-entity": "主报告实体", "entities-of-group-state-entity": "来自仪表板状态实体组的实体", "entities-of-group-originator-entity": "来自发起者实体组的实体", - "entities-of-group-master-report-entity": "来自主报表实体组的实体", + "entities-of-group-master-report-entity": "来自主报告实体组的实体", "all-entities": "所有实体", "any-relation": "任意", "originator": "发起者", "originator-state-entity": "使用仪表板状态实体作为发起者", "originator-from-originator-entity": "使用发起者实体作为事件发起者", - "originator-master-report-entity": "使用主报表实体作为发起者", + "originator-master-report-entity": "使用主报告实体作为发起者", "scheduler-event-type": "调度器事件类型" }, "asset": { @@ -911,7 +1019,7 @@ "search": "搜索资产", "select-group-to-add": "选择目标组以添加所选资产", "select-group-to-move": "选择目标组以移动所选资产", - "remove-assets-from-group": "确定要从组“{{entityGroup}}”中移除 { count, plural, =1 {1 个资产} other {# 个资产} }吗?", + "remove-assets-from-group": "确定要从组“'{{entityGroup}}'”中移除 { count, plural, =1 {1 个资产} other {# 个资产} }吗?", "group": "资产组", "list-of-groups": "{ count, plural, =1 {一个资产组} other {# 个资产组列表} }", "group-name-starts-with": "名称以“{{prefix}}”开头的资产组", @@ -961,6 +1069,7 @@ "prev-widget": "上一个部件", "add-to-dashboard": "添加到仪表板", "add-widget-to-dashboard": "将部件添加到仪表板", + "no-widget-grid-in-dashboard": "此仪表板的所有状态均为 HTML 页面,因此无法向其添加部件。", "selected-attributes": "{ count, plural, =1 {1 个属性} other {# 个属性} }已选择", "selected-telemetry": "{ count, plural, =1 {1 个遥测单元} other {# 个遥测单元} }已选择", "no-attributes-text": "未找到属性", @@ -984,9 +1093,9 @@ "api-features": "API 功能", "api-usage": "API 使用量", "alarm": "告警", - "alarm-and-report": "告警和报表", - "alarms-and-reports-created": "已创建的告警和报表", - "alarms-and-reports-hourly-activity": "告警和报表创建每小时活动", + "alarm-and-report": "告警和报告", + "alarms-and-reports-created": "已创建的告警和报告", + "alarms-and-reports-hourly-activity": "告警和报告创建每小时活动", "alarms-created": "已创建的告警", "queue-stats": "队列统计", "processing-failures-and-timeouts": "处理失败和超时", @@ -1000,10 +1109,10 @@ "data-points-storage-days-daily-activity": "数据点存储天数每日活动", "data-points-storage-days-monthly-activity": "数据点存储天数每月活动", "device-api": "设备 API", - "email": "Email", - "email-messages": "Email 消息", - "email-messages-daily-activity": "Email 消息每日活动", - "email-messages-monthly-activity": "Email 消息每月活动", + "email": "邮件", + "email-messages": "邮件", + "email-messages-daily-activity": "邮件每日活动", + "email-messages-monthly-activity": "邮件每月活动", "executions": "执行次数", "scripts": "脚本", "scripts-hourly-activity": "脚本每小时活动", @@ -1030,11 +1139,11 @@ "rule-engine-monthly-activity": "规则引擎每月活动", "rule-engine-statistics": "规则引擎统计", "rule-node": "规则节点", - "sms": "SMS", - "sms-messages": "SMS 消息", - "sms-messages-hourly-activity": "SMS 消息每小时活动", - "sms-messages-daily-activity": "SMS 消息每日活动", - "sms-messages-monthly-activity": "SMS 消息每月活动", + "sms": "短信", + "sms-messages": "短信", + "sms-messages-hourly-activity": "短信每小时活动", + "sms-messages-daily-activity": "短信每日活动", + "sms-messages-monthly-activity": "短信每月活动", "successful": "${entityName} 成功", "telemetry": "遥测", "telemetry-persistence": "遥测持久化", @@ -1063,23 +1172,27 @@ "tbel-function-executions-hourly-activity": "TBEL 函数执行每小时活动", "tbel-function-executions-daily-activity": "TBEL 函数执行每日活动", "tbel-function-executions-monthly-activity": "TBEL 函数执行每月活动", - "created-reports": "已创建的报表", - "created-reports-hourly-activity": "已创建报表每小时活动", - "created-reports-daily-activity": "已创建报表每日活动", - "created-reports-monthly-activity": "已创建报表每月活动", - "emails": "Emails", - "emails-hourly-activity": "Emails 每小时活动", - "emails-daily-activity": "Emails 每日活动", - "emails-monthly-activity": "Emails 每月活动", + "created-reports": "已创建的报告", + "created-reports-hourly-activity": "已创建报告每小时活动", + "created-reports-daily-activity": "已创建报告每日活动", + "created-reports-monthly-activity": "已创建报告每月活动", + "emails": "邮件", + "emails-hourly-activity": "邮件每小时活动", + "emails-daily-activity": "邮件每日活动", + "emails-monthly-activity": "邮件每月活动", "status": { "enabled": "已启用", "disabled": "已禁用", "warning": "警告" }, - "reports-created": "已创建的报表", - "reports-created-hourly-activity": "已创建报表每小时活动", - "reports-created-daily-activity": "已创建报表每日活动", - "reports-created-monthly-activity": "已创建报表每月活动" + "reports-created": "已创建的报告", + "reports-created-hourly-activity": "已创建报告每小时活动", + "reports-created-daily-activity": "已创建报告每日活动", + "reports-created-monthly-activity": "已创建报告每月活动", + "ai-credits": "AI 额度", + "ai-credits-hourly-activity": "AI 额度每小时活动", + "ai-credits-daily-activity": "AI 额度每日活动", + "ai-credits-monthly-activity": "AI 额度每月活动" }, "api-limit": { "cassandra-write-queries-core": "Rest API Cassandra 写入查询", @@ -1094,7 +1207,7 @@ "integration-messages-per-device": "每设备集成消息", "notification-requests": "通知请求", "notification-requests-per-rule": "每规则通知请求", - "reports-generation": "报表生成", + "reports-generation": "报告生成", "rest-api-requests": "REST API 请求", "rest-api-requests-per-customer": "每客户 REST API 请求", "transport-messages": "传输消息", @@ -1157,14 +1270,14 @@ "type-attributes-updated": "属性已更新", "type-attributes-deleted": "属性已删除", "type-rpc-call": "RPC 调用", - "type-credentials-updated": "凭证已更新", + "type-credentials-updated": "凭据已更新", "type-assigned-to-customer": "已分配给客户", "type-unassigned-from-customer": "已从客户取消分配", "type-assigned-to-edge": "已分配给 Edge", "type-unassigned-from-edge": "已从 Edge 取消分配", "type-activated": "已激活", "type-suspended": "已停用", - "type-credentials-read": "凭证已读取", + "type-credentials-read": "凭据已读取", "type-attributes-read": "属性已读取", "type-added-to-entity-group": "已添加到组", "type-removed-from-entity-group": "已从组移除", @@ -1200,11 +1313,13 @@ "type-timeseries-updated": "遥测已更新", "type-timeseries-deleted": "遥测已删除", "type-owner-changed": "所有者已变更", - "type-sms-sent": "SMS 已发送", + "type-sms-sent": "短信已发送", + "type-non-production-confirmed": "已确认非生产用途", "any-type": "任意类型", "audit-log-filter-title": "审计日志过滤器", "filter-title": "过滤器", - "filter-types": "审计日志类型" + "filter-types": "审计日志类型", + "action": "操作" }, "debug-settings": { "label": "调试配置", @@ -1544,7 +1659,7 @@ "alarm-rules": "告警规则", "alarm-rules-old": "旧版", "alarm-rules-actual": "当前", - "severities": "严重程度", + "severities": "级别", "cleared": "清除条件", "delete-title": "确定要删除告警规则“{{title}}”吗?", "delete-text": "请注意,确认后告警规则及所有相关数据将无法恢复。", @@ -1658,7 +1773,7 @@ "edit-alarm-rule-condition": "告警条件", "condition-type": "条件类型", "condition-type-hint": "当过滤器中使用了“缺失超过”操作时,“持续时间”和“重复”选项不可用。", - "select-alarm-severity": "选择告警严重程度", + "select-alarm-severity": "选择告警级别", "add-create-alarm-rule-prompt": "至少需要一个触发条件。", "add-create-alarm-rule": "添加触发条件", "add-clear-alarm-rule": "添加清除条件", @@ -1873,7 +1988,7 @@ "address": "地址", "address2": "地址 2", "phone": "电话", - "email": "Email", + "email": "邮箱", "no-address": "无地址", "no-country-found": "未找到国家。", "no-country-matching": "未找到匹配“{{country}}”的国家。", @@ -1893,6 +2008,7 @@ "enter-username": "输入用户名", "enter-password": "输入密码", "enter-search": "输入搜索内容", + "all": "全部", "created-time": "创建时间", "disabled": "已禁用", "loading": "加载中...", @@ -2013,14 +2129,16 @@ "content-type": { "json": "Json", "text": "文本", - "binary": "二进制 (Base64)" + "binary": "二进制 (Base64)", + "hex": "二进制(Hex)" }, "color": { "color": "颜色", "color-picker": "颜色选择器", "primary-colors": "主色", "accent-colors": "强调色", - "no-color-selected": "未选择颜色" + "no-color-selected": "未选择颜色", + "default": "默认" }, "customer": { "all": "全部", @@ -2030,6 +2148,7 @@ "hierarchy": "层级", "customer": "客户", "customers": "客户", + "customers-and-users": "客户和用户", "management": "客户管理", "dashboard": "客户仪表板", "dashboards": "客户仪表板", @@ -2091,7 +2210,7 @@ "customer-required": "客户为必填项。", "select-group-to-add": "选择目标分组以添加选中的客户", "select-group-to-move": "选择目标分组以移动选中的客户", - "remove-customers-from-group": "确定要从分组“{{entityGroup}}”中移除{ count, plural, =1 {1 个客户} other {# 个客户} }吗?", + "remove-customers-from-group": "确定要从分组“'{{entityGroup}}'”中移除 { count, plural, =1 {1 个客户} other {# 个客户} }吗?", "group": "客户分组", "list-of-groups": "{ count, plural, =1 {1 个客户分组} other {# 个客户分组列表} }", "group-name-starts-with": "名称以“{{prefix}}”开头的客户分组", @@ -2102,7 +2221,8 @@ "search": "搜索客户", "selected-customers": "已选择{ count, plural, =1 {1 个客户} other {# 个客户} }", "edges": "客户 Edge 实例", - "manage-edges": "管理 Edge" + "manage-edges": "管理 Edge", + "manage-agents": "管理 Agent" }, "customers-hierarchy": { "customers-hierarchy": "客户层级", @@ -2263,6 +2383,8 @@ "no-widgets": "未配置部件", "add-widget": "添加新部件", "add-widget-button-text": "添加部件", + "edit-html-page": "编辑 HTML 页面", + "html-page": "HTML 页面", "title": "标题", "image": "仪表板图片", "mobile-app-settings": "移动应用设置", @@ -2272,6 +2394,7 @@ "update-new-version": "上传新版本", "upload-file-to-update": "上传文件以更新", "take-screenshot": "截图", + "take-screenshot-failed": "仪表板截图失败,请重试。", "select-widget-title": "选择部件", "select-widget-value": "{{title}}:选择部件", "select-widget-subtitle": "可用部件类型列表", @@ -2335,6 +2458,7 @@ "layout-type-default": "默认", "layout-type-scada": "SCADA", "layout-type-divider": "分隔线", + "layout-type-html": "HTML 页面", "layout-settings-type": "布局设置:{{ type }} 断点", "columns-count": "列数", "columns-count-required": "列数为必填项。", @@ -2378,6 +2502,7 @@ "display-dashboard-timewindow": "显示时间窗口", "display-dashboard-export": "显示导出", "display-update-dashboard-image": "显示更新仪表板图片", + "display-configure-with-ai": "显示“使用 AI 配置”按钮", "dashboard-logo-settings": "仪表板 Logo 设置", "display-dashboard-logo": "在仪表板全屏模式下显示 Logo", "dashboard-logo-image": "仪表板 Logo 图片", @@ -2444,7 +2569,7 @@ "home-dashboard-hide-toolbar": "隐藏主页仪表板工具栏", "select-group-to-add": "选择目标分组以添加选中的仪表板", "select-group-to-move": "选择目标分组以移动选中的仪表板", - "remove-dashboards-from-group": "确定要从分组“{{entityGroup}}”中移除{ count, plural, =1 {1 个仪表板} other {# 个仪表板} }吗?", + "remove-dashboards-from-group": "确定要从分组“'{{entityGroup}}'”中移除 { count, plural, =1 {1 个仪表板} other {# 个仪表板} }吗?", "group": "仪表板分组", "list-of-groups": "{ count, plural, =1 {1 个仪表板分组} other {# 个仪表板分组列表} }", "group-name-starts-with": "名称以“{{prefix}}”开头的仪表板分组", @@ -2596,8 +2721,8 @@ "assign-to-customer-text": "请选择要分配设备的客户", "device-details": "设备详情", "add-device-text": "添加新设备", - "credentials": "凭证", - "manage-credentials": "管理凭证", + "credentials": "凭据", + "manage-credentials": "管理凭据", "delete": "删除设备", "assign-devices": "分配设备", "assign-devices-text": "将{ count, plural, =1 {1 个设备} other {# 个设备} }分配给客户", @@ -2613,7 +2738,7 @@ "make-public-device-text": "确认后设备及其所有数据将设为公开,其他人可访问。", "make-private-device-title": "确定要将设备“{{deviceName}}”设为私有吗?", "make-private-device-text": "确认后设备及其所有数据将设为私有,其他人将无法访问。", - "view-credentials": "查看凭证", + "view-credentials": "查看凭据", "delete-device-title": "确定要删除设备“{{deviceName}}”吗?", "delete-device-text": "请注意,确认后设备及所有相关数据将无法恢复。", "delete-devices-title": "确定要删除{ count, plural, =1 {1 个设备} other {# 个设备} }吗?", @@ -2624,9 +2749,9 @@ "unassign-device": "取消分配设备", "unassign-devices-title": "确定要取消分配{ count, plural, =1 {1 个设备} other {# 个设备} }吗?", "unassign-devices-text": "确认后所有选中的设备将被取消分配,客户将无法访问。", - "device-credentials": "设备凭证", - "loading-device-credentials": "正在加载设备凭证...", - "credentials-type": "凭证类型", + "device-credentials": "设备凭据", + "loading-device-credentials": "正在加载设备凭据...", + "credentials-type": "凭据类型", "access-token": "访问 Token", "access-token-required": "访问 Token 为必填项。", "access-token-invalid": "访问 Token 长度必须在 1 到 32 个字符之间。", @@ -2700,14 +2825,14 @@ "details": "详情", "copyId": "复制设备 Id", "copyAccessToken": "复制访问 Token", - "copy-mqtt-authentication": "复制 MQTT 凭证", + "copy-mqtt-authentication": "复制 MQTT 凭据", "idCopiedMessage": "设备 Id 已复制到剪贴板", "accessTokenCopiedMessage": "设备访问 Token 已复制到剪贴板", "mqtt-authentication-copied-message": "设备 MQTT 认证信息已复制到剪贴板", "assignedToCustomer": "已分配给客户", "unable-delete-device-alias-title": "无法删除设备别名", "unable-delete-device-alias-text": "设备别名“{{deviceAlias}}”无法删除,因为以下部件正在使用它:
    {{widgetsList}}", - "is-gateway": "是否为 Gateway", + "is-gateway": "Gateway", "overwrite-activity-time": "覆盖已连接设备的活动时间", "device-filter-title": "设备过滤器", "filter-title": "过滤器", @@ -2721,7 +2846,7 @@ "select-device": "选择设备", "select-group-to-add": "选择目标分组以添加选中的设备", "select-group-to-move": "选择目标分组以移动选中的设备", - "remove-devices-from-group": "确定要从分组“{{entityGroup}}”中移除{ count, plural, =1 {1 个设备} other {# 个设备} }吗?", + "remove-devices-from-group": "确定要从分组“'{{entityGroup}}'”中移除 { count, plural, =1 {1 个设备} other {# 个设备} }吗?", "group": "设备分组", "list-of-groups": "{ count, plural, =1 {1 个设备分组} other {# 个设备分组列表} }", "group-name-starts-with": "名称以“{{prefix}}”开头的设备分组", @@ -2743,6 +2868,8 @@ "loading-check-connectivity-command": "正在加载检查连接命令...", "use-following-instructions": "使用以下说明通过 shell 代表设备发送遥测数据", "execute-following-command": "执行以下命令", + "step-execute-following-command": "步骤 2:执行以下命令", + "step-install-necessary-client-tools": "步骤 1:安装必要的客户端工具", "install-curl-windows": "从 Windows 10 b17063 开始,cURL 默认可用", "install-curl-macos": "从 Mac OS X 10.2 6C115 (Jaguar) 开始,cURL 默认可用", "install-mqtt-windows": "使用说明下载、安装、设置和运行 mosquitto_pub", @@ -2855,7 +2982,7 @@ "search": "搜索资产配置", "selected-asset-profiles": "已选择{ count, plural, =1 {1 个资产配置} other {# 个资产配置} }", "no-asset-profiles-matching": "未找到匹配“{{entity}}”的资产配置。", - "asset-profile-required": "资产配置为必填项", + "asset-profile-required": "资产配置为必填项。", "idCopiedMessage": "资产配置 Id 已复制到剪贴板", "set-default": "设为默认资产配置", "delete": "删除资产配置", @@ -2900,7 +3027,7 @@ "search": "搜索设备配置", "selected-device-profiles": "{ count, plural, =1 {1 个设备配置} other {# 个设备配置} }已选择", "no-device-profiles-matching": "未找到与 '{{entity}}' 匹配的设备配置。", - "device-profile-required": "设备配置为必填项", + "device-profile-required": "设备配置为必填项。", "idCopiedMessage": "设备配置 Id 已复制到剪贴板", "set-default": "设为默认设备配置", "delete": "删除设备配置", @@ -3014,8 +3141,8 @@ "no-clear-alarm-rule": "未配置清除条件", "add-create-alarm-rule": "添加创建条件", "add-clear-alarm-rule": "添加清除条件", - "select-alarm-severity": "选择告警严重程度", - "alarm-severity-required": "告警严重程度为必填项。", + "select-alarm-severity": "选择告警级别", + "alarm-severity-required": "告警级别为必填项。", "condition-duration": "条件持续时间", "condition-duration-value": "持续时间值", "condition-duration-time-unit": "时间单位", @@ -3040,23 +3167,23 @@ "alarm-rule-condition": "告警规则条件", "enter-alarm-rule-condition-prompt": "请添加告警规则条件", "edit-alarm-rule-condition": "编辑告警规则条件", - "device-provisioning": "设备预配置", - "provision-strategy": "预配置策略", - "provision-strategy-required": "预配置策略为必填项。", + "device-provisioning": "设备预配", + "provision-strategy": "预配策略", + "provision-strategy-required": "预配策略为必填项。", "provision-strategy-disabled": "已禁用", "provision-strategy-created-new": "允许创建新设备", - "provision-strategy-check-pre-provisioned": "检查预配置设备", - "provision-device-key": "设备预配置密钥", - "provision-device-key-required": "设备预配置密钥为必填项。", - "copy-provision-key": "复制预配置密钥", - "provision-key-copied-message": "预配置密钥已复制到剪贴板", - "provision-device-secret": "设备预配置密码", - "provision-device-secret-required": "设备预配置密码为必填项。", - "copy-provision-secret": "复制预配置密码", - "provision-secret-copied-message": "预配置密码已复制到剪贴板", + "provision-strategy-check-pre-provisioned": "检查已预配的设备", + "provision-device-key": "设备预配密钥", + "provision-device-key-required": "设备预配密钥为必填项。", + "copy-provision-key": "复制预配密钥", + "provision-key-copied-message": "预配密钥已复制到剪贴板", + "provision-device-secret": "设备预配密码", + "provision-device-secret-required": "设备预配密码为必填项。", + "copy-provision-secret": "复制预配密码", + "provision-secret-copied-message": "预配密码已复制到剪贴板", "provision-strategy-x509": { "certificate-chain": "X509 证书链", - "certificate-chain-hint": "X.509 证书策略用于在双向 TLS 通信中通过客户端证书预配置设备。", + "certificate-chain-hint": "X.509 证书策略用于在双向 TLS 通信中通过客户端证书预配设备。", "allow-create-new-devices": "创建新设备", "allow-create-new-devices-hint": "如果选中,将创建新设备,并使用客户端证书作为设备凭据。", "certificate-value": "PEM 格式证书", @@ -3141,6 +3268,9 @@ "observe-label": "观察", "attribute-label": "属性", "telemetry-label": "遥测", + "select-all-attribute": "选择所有属性", + "select-all-telemetry": "选择所有遥测", + "select-all-observe": "选择所有观察项", "edit-observe-select": "要编辑观察,请选择遥测或属性", "edit-attributes-select": "要编辑属性,请选择遥测或属性", "no-attributes-set": "未设置属性", @@ -3335,6 +3465,12 @@ "edge": "Edge", "edge-instances": "Edge 实例", "instances": "实例", + "edges": "Edge", + "profiles": "配置", + "templates": "模板", + "rule-chain": "规则链", + "integration": "集成", + "converter": "转换器", "edge-file": "Edge 文件", "name-max-length": "名称长度不能超过 256", "label-max-length": "标签长度不能超过 256", @@ -3484,8 +3620,647 @@ "missing-all-related-attributes-text": "与集成关联的 Edge 缺少集成配置中作为属性占位符出现的属性。

    缺少的 Edge 属性列表:
    {{missingEdgeAttributes}}", "quick-overview-widget-header": "{{edgeName}} 快速概览", "upgrade-instructions": "升级说明", + "managed-application": "托管应用", + "app-upgrade-available": "有可用升级", "connected": "已连接", - "disconnected": "已断开" + "disconnected": "已断开", + "auto-provision": "自动预配", + "auto-provision-title": "自动预配 Edge", + "auto-provision-subtitle": "生成 Docker run 命令——在目标机器上执行该命令时,将自动创建 Edge 及其 Agent。", + "auto-provision-step-select": "Agent 配置", + "auto-provision-step-script": "预配脚本", + "auto-provision-agent-profile-label": "Agent 配置", + "auto-provision-agent-profile-placeholder": "选择或创建 Agent 配置", + "auto-provision-no-eligible-profiles": "未找到符合条件的配置。请使用右侧按钮创建。", + "auto-provision-create-profile": "创建配置", + "auto-provision-validating": "正在验证 Agent 配置…", + "auto-provision-valid": "已就绪,可以预配:“{{profile}}”已分配 Edge 应用配置。", + "auto-provision-invalid-strategy": "此配置的预配策略不会自动安装应用。请选择具有自动安装策略的配置。", + "auto-provision-invalid-no-edge-app-profile": "此配置未分配 Edge 应用配置。请使用该按钮分配。", + "auto-provision-info-title": "工作原理", + "auto-provision-info-body": "创建 Agent 配置后,将生成 Docker run 命令。在目标机器上执行该命令时,ThingsBoard 会使用命令中嵌入的凭据自动创建 Agent 及与之关联的 Edge 实体。Edge 将根据分配给 Agent 配置的应用配置自动完成配置。无需手动创建 Edge。", + "auto-provision-success-message": "Agent 配置已就绪。在任意目标机器上运行该命令即可预配新的 Edge。", + "auto-provision-script-hint": "在每台需要成为 Edge 的机器上运行此命令。每次运行将预配一对 Agent 和 Edge。", + "auto-provision-open-profile": "打开配置", + "auto-provision-no-script": "此配置缺少预配凭据。请打开该配置以重新生成凭据。" + }, + "agent": { + "agents": "Agent", + "agent-profiles": "Agent 配置", + "app-profiles": "应用配置", + "templates": "模板", + "agent-templates": "Agent 模板", + "add": "添加 Agent", + "add-agent-text": "添加新 Agent", + "auto-provision": "自动预配", + "auto-provision-title": "自动预配 Agent", + "auto-provision-step-select": "Agent 配置", + "auto-provision-step-script": "预配脚本", + "auto-provision-valid": "准备就绪,可以预配:“{{profile}}”已启用预配。", + "auto-provision-info-title": "工作原理", + "auto-provision-info-body": "创建 Agent 配置后,系统会生成一条 Docker run 命令。在目标机器上执行该命令时,ThingsBoard 会使用命令中嵌入的凭据自动创建 Agent。Agent 会根据 Agent 配置自动完成配置。无需手动创建 Agent。", + "auto-provision-success-message": "Agent 配置已就绪。在任意目标机器上运行该命令即可预配新的 Agent。", + "auto-provision-script-hint": "在每台需要运行 Agent 的机器上运行此命令。每次运行预配一个 Agent。", + "add-profile": "添加 Agent 配置", + "add-app-profile": "添加应用配置", + "add-application": "添加应用", + "agent-details": "Agent 详情", + "profile-details": "Agent 配置详情", + "app-profile-details": "应用配置详情", + "template-details": "Agent 模板详情", + "application-details": "应用详情", + "no-agents-text": "未找到 Agent", + "no-agent-profiles-text": "未找到 Agent 配置", + "no-app-profiles-text": "未找到应用配置", + "no-templates-text": "未找到 Agent 模板", + "no-applications-text": "未找到应用", + "no-events-text": "未找到事件", + "search": "搜索 Agent", + "search-profiles": "搜索 Agent 配置", + "search-app-profiles": "搜索应用配置", + "search-templates": "搜索模板", + "search-applications": "搜索应用", + "search-events": "搜索事件", + "selected-agents": "已选择 { count, plural, =1 {1 个 Agent} other {# 个 Agent} }", + "selected-agent-profiles": "已选择 { count, plural, =1 {1 个 Agent 配置} other {# 个 Agent 配置} }", + "selected-app-profiles": "已选择 { count, plural, =1 {1 个应用配置} other {# 个应用配置} }", + "selected-applications": "已选择 { count, plural, =1 {1 个应用} other {# 个应用} }", + "name": "名称", + "name-required": "名称为必填项。", + "name-max-length": "名称长度应小于 256", + "routing-key": "路由密钥", + "secret": "密码", + "description": "描述", + "profile-name": "配置名称", + "profile-name-placeholder": "生产环境 Agent", + "profile-name-required": "配置名称为必填项。", + "provision-type": "预配类型", + "provision-key": "预配密钥", + "provision-secret": "预配密码", + "app-type": "应用类型", + "current-version": "当前版本", + "next-version": "下一版本", + "assigned-to-customer": "已分配给客户", + "assign-to-customer": "分配给客户", + "unassign-from-customer": "取消分配客户", + "assign-agents-to-customer": "将 Agent 分配给客户", + "assign-to-customer-text": "请选择要分配 Agent 的客户", + "unassign-agents-from-customer": "从客户取消分配 Agent", + "delete": "删除 Agent", + "delete-profile": "删除配置", + "set-default-profile": "将 Agent 配置设为默认", + "set-default-profile-title": "确定要将 Agent 配置“{{profileName}}”设为默认吗?", + "set-default-profile-text": "确认后,该 Agent 配置将被标记为默认,并用于未指定配置的新 Agent。", + "default-profile": "默认", + "agent-profile-required": "Agent 配置为必填项。", + "edit-profile": "编辑 Agent 配置", + "no-agent-profiles-found": "未找到 Agent 配置", + "no-agent-profiles-matching": "未找到与“{{entity}}”匹配的 Agent 配置", + "create-new-agent-profile": "创建新 Agent 配置", + "add-profile-step-details": "配置详情", + "add-profile-step-app-profiles": "应用配置", + "add-profile-app-profiles-hint-title": "为什么要分配应用配置?", + "add-profile-app-profiles-hint": "分配的应用配置用于对引用它们的应用执行批量操作(更新、升级、删除),即由使用“{{profileName}}”配置的 Agent 管理的应用。可选择现有的应用配置,或直接在此创建新配置。", + "application-profiles": "应用配置", + "create-new-application-profile": "创建新应用配置", + "create-new": "新建", + "delete-app-profile": "删除应用配置", + "copy-profile-id": "复制配置 ID", + "profile-id-copied-message": "配置 ID 已复制到剪贴板", + "app-profile-wizard-title": "创建应用配置", + "app-profile-wizard-edit-title": "更新应用配置", + "app-update-current-config": "当前应用配置", + "app-update-future-config": "更新后的应用配置", + "app-update-edit-profile": "更新配置", + "app-update-compare-hint": "只读对比:左侧为此应用的当前配置,右侧为其将从所分配的应用配置获得的 Compose 配置(已合并凭据)。", + "app-install-custom-config": "高级", + "app-install-from-profile": "默认", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "ThingsBoard Agent 从云端远程安装、升级和监控此部署,无需在目标机器上手动执行 Docker 命令或进行维护。", + "deploy-select-agent-step": "选择 Agent", + "deploy-intro": "使用 ThingsBoard Agent 在远程机器上部署。选择目标机器上正在运行的现有 Agent,或新建一个 Agent。", + "deploy-agent": "Agent", + "deploy-create-new": "新建", + "deploy-no-agents": "未找到 Agent", + "deploy-no-agents-matching": "没有与“{{entity}}”匹配的 Agent", + "deploy-already-managed": "此实体已由 Agent 应用“{{name}}”管理。", + "deploy-open-agent": "前往 Agent", + "deploy-open-app": "前往 Agent 应用", + "deploy-install-step": "安装", + "deploy-status-hero": "ThingsBoard Agent 正在从云端远程安装、升级和监控此部署,无需在目标机器上手动执行 Docker 命令或进行维护。", + "deploy-status-online-title": "您的 Agent 已在线", + "deploy-status-offline-title": "您的 Agent 已离线", + "deploy-status-managing": "正在管理此部署。您无需在此进行其他操作。", + "deploy-status-managing-for": "已管理此部署 {{duration}}。您无需在此进行其他操作。", + "deploy-status-offline-desc": "当前无法访问。Agent 重新连接后,连接将自动恢复。", + "deploy-status-duration-days": "{{count}} 天", + "deploy-status-duration-hours": "{{count}} 小时", + "deploy-status-duration-minutes": "{{count}} 分钟", + "deploy-status-healthy": "正常", + "deploy-status-unhealthy": "离线", + "deploy-status-need-reinstall": "需要重新安装?", + "deploy-status-show-install": "显示安装命令", + "deploy-status-hide-install": "隐藏", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "管理此部署的 Agent 设备——遥测和生命周期。", + "deploy-status-card-app-title": "Agent 应用", + "deploy-status-card-app-desc": "此 Agent 正在运行的应用——服务、状态和日志。", + "deploy-status-card-events-title": "Agent 事件", + "deploy-status-card-events-desc": "安装、升级、重启和错误的实时流。", + "deploy-status-edge-ui-title": "打开 ThingsBoard Edge 界面", + "deploy-status-edge-ui-desc": "Edge 服务启动后,打开 Edge Web 界面
    http://localhost:8080;如果您在上一步中修改了 HTTP 绑定端口配置,则打开 http://localhost:18080。使用本地 ThingsBoard 服务器或 ThingsBoard Cloud 中的租户凭据登录。", + "app-install-select-profile": "应用配置", + "app-install-no-profiles": "未找到应用配置", + "app-install-virtual-profile-badge": "预定义", + "app-install-virtual-profile-hint": "此配置尚不存在。选择后将根据模板自动创建。", + "app-install-profile-materialize-failed": "创建预定义应用配置失败。", + "quick-start-title": "快速开始——预定义配置", + "quick-start-subtitle": "一键创建现成的 Edge 或 Gateway 配置。无需手动配置。", + "quick-start-filter-all": "全部", + "quick-start-all-created": "所有预定义配置均已创建。", + "quick-start-no-match": "没有与此过滤器匹配的预定义配置。", + "quick-start-profile-created": "应用配置“{{profileName}}”已创建", + "add-profile-assignments-load-failed": "无法加载当前已分配的应用配置。保存时将保持现有分配不变。", + "app-profile-wizard-cta": "创建配置", + "app-profile-wizard-confirm-info": "将使用所选模板和 Compose 配置创建应用配置。之后可在配置详情页中修改。", + "app-profile-name": "配置名称", + "app-profile-name-placeholder-edge": "Silo Edge 应用配置", + "app-profile-name-placeholder-gateway": "Silo Gateway 应用配置", + "app-profile-name-placeholder-generic": "Silo 应用配置", + "app-profile-step-save": "保存配置", + "app-profile-description": "描述", + "copy-id": "复制 Agent ID", + "copy-routing-key": "复制路由密钥", + "copy-secret": "复制密码", + "copy-provision-key": "复制预配密钥", + "copy-provision-secret": "复制预配密码", + "id-copied-message": "Agent ID 已复制到剪贴板", + "routing-key-copied-message": "路由密钥已复制到剪贴板", + "secret-copied-message": "密码已复制到剪贴板", + "provision-key-copied-message": "预配密钥已复制到剪贴板", + "provision-secret-copied-message": "预配密码已复制到剪贴板", + "delete-agent-title": "确定要删除 Agent“{{agentName}}”吗?", + "delete-agent-text": "请注意,确认后该 Agent 及所有相关数据将无法恢复。", + "delete-agents-title": "确定要删除 { count, plural, =1 {1 个 Agent} other {# 个 Agent} } 吗?", + "delete-agents-text": "请注意,确认后所有选定的 Agent 将被移除,所有相关数据将无法恢复。", + "unassign-agent-title": "确定要取消分配 Agent “{{agentName}}”吗?", + "unassign-agent-text": "确认后,该 Agent 将被取消分配,客户将无法访问。", + "unassign-agents-title": "确定要取消分配 { count, plural, =1 {1 个 Agent} other {# 个 Agent} } 吗?", + "unassign-agents-text": "确认后,所有选定的 Agent 将被取消分配,客户将无法访问。", + "delete-profile-title": "确定要删除配置“{{profileName}}”吗?", + "delete-profile-text": "请注意,确认后该配置及所有相关数据将无法恢复。", + "delete-profiles-title": "确定要删除 { count, plural, =1 {1 个配置} other {# 个配置} }吗?", + "delete-profiles-text": "请注意,确认后所有选定的配置将被移除,所有相关数据将无法恢复。", + "delete-app-profile-title": "确定要删除应用配置“{{profileName}}”吗?", + "delete-app-profile-text": "请注意,确认后该应用配置及所有相关数据将无法恢复。", + "delete-app-profiles-title": "确定要删除 { count, plural, =1 {1 个应用配置} other {# 个应用配置} }吗?", + "delete-app-profiles-text": "请注意,确认后所有选定的应用配置将被移除,所有相关数据将无法恢复。", + "status": "状态", + "online": "在线", + "offline": "离线", + "app-errors": "错误", + "app-errors-recent": "最近 {{count}} 个错误事件:", + "app-errors-open-events": "点击打开“事件”选项卡", + "online-hint": "Agent 当前已连接到平台", + "offline-hint": "Agent 未连接到平台", + "agent-profile": "Agent 配置", + "no-profile": "无配置", + "applications": "应用", + "manage-applications": "管理应用", + "app-name": "名称", + "app-template": "模板", + "app-units": "单元", + "app-origin": "来源", + "app-profile-in-sync": "与应用配置同步", + "app-profile-in-sync-yes": "与应用配置同步", + "app-profile-in-sync-no": "与应用配置不同步", + "app-profile-in-sync-na": "未分配应用配置", + "app-upgrade-to": "升级到 {{version}}", + "app-restart": "重启", + "app-upgrade": "升级", + "app-delete": "删除", + "app-update": "更新", + "app-update-title": "更新 {{name}}?", + "app-update-text": "将已保存的配置推送到 Agent。Agent 将使用最新保存的 Compose 重新部署。", + "app-version-upgrade-available-title": "有可用升级", + "app-version-mismatch-title": "模板版本不匹配", + "app-assign-upgrade-available-text": "配置“{{profileName}}”使用模板版本 {{profileVersion}},而此应用的版本为 {{appVersion}}。此应用可升级到 {{profileVersion}}。直接分配该配置会将应用切换到 {{profileVersion}},但不会执行升级步骤(例如数据库升级脚本)。请使用“升级”操作安全地切换版本。", + "app-assign-version-mismatch-text": "配置“{{profileName}}”使用模板版本 {{profileVersion}},但此应用的版本为 {{appVersion}}。分配该配置会将应用切换到 {{profileVersion}},但不会执行任何升级或降级步骤,可能导致应用处于不一致状态。请使用“升级”操作安全地切换版本。", + "app-assign-anyway": "仍然分配", + "app-assign-upgrade-first": "先升级", + "app-update-drift-title": "已分配配置的版本不一致", + "app-update-drift-text": "已分配的配置“{{profileName}}”的模板版本为 {{profileVersion}},而此应用的版本为 {{appVersion}}。“更新”将使用应用的当前配置重新部署该应用,不会应用该配置中的 Compose 配置。请使用“升级”操作迁移到 {{profileVersion}}。", + "app-update-anyway": "仍然更新", + "app-profile-drifted-hint": "该配置的模板版本为 {{version}}。“更新”不会应用该版本,请使用“升级”。", + "app-arguments-profile-managed-hint": "自定义参数由已分配的应用配置管理。请在该配置的页面上编辑。", + "app-current-version": "当前版本", + "app-profile-version": "配置版本", + "app-name-required": "应用名称为必填项。", + "app-compose": "Docker Compose 配置", + "arguments": "自定义参数", + "arguments-hint-prefix": "占位符在部署时解析。在 Compose 中的引用方式为", + "arguments-empty": "未定义自定义参数。", + "arguments-empty-read-title": "未定义自定义参数", + "arguments-empty-read-hint": "Compose 将按原样使用其中的值进行部署。", + "arguments-empty-write-title": "暂无自定义参数", + "arguments-empty-write-hint": "添加占位符,在部署时将实体属性或遥测值注入 Compose。", + "argument-settings": "参数设置", + "argument-add": "添加参数", + "argument-remove": "移除参数", + "argument-name": "名称", + "argument-name-required": "参数名称为必填项。", + "argument-name-pattern": "仅允许使用字母、数字和下划线。", + "argument-name-duplicate": "参数名称已被使用。", + "argument-referenced-as": "在 Docker Compose 配置中的引用方式为", + "argument-source": "来源类型", + "argument-target-entity": "目标实体", + "argument-source-agent": "Agent", + "argument-source-owner": "所有者", + "argument-source-related-entity": "关联实体", + "argument-source-tenant": "当前租户", + "argument-source-device": "设备", + "argument-source-asset": "资产", + "argument-source-customer": "客户", + "argument-source-edge": "Edge", + "argument-source-entity-device": "设备", + "argument-source-entity-asset": "资产", + "argument-source-entity-customer": "客户", + "argument-source-entity-edge": "Edge", + "argument-value-type": "值类型", + "argument-value-type-attribute": "属性", + "argument-value-type-latest-telemetry": "最新遥测", + "argument-scope": "属性范围", + "argument-type-server-attribute": "服务端属性", + "argument-type-shared-attribute": "共享属性", + "argument-type-client-attribute": "客户端属性", + "argument-key": "键", + "argument-attribute-key": "属性键", + "argument-telemetry-key": "最新遥测键", + "argument-key-required": "键为必填项。", + "argument-default-value": "默认值", + "argument-format": "值格式", + "argument-format-string": "文本", + "argument-format-json": "JSON", + "argument-format-hint-json": "“JSON”会按原样注入数组/对象/数字,但仅当占位符为整个值时生效。", + "argument-format-hint-embedded": "如果占位符嵌入在字符串中,则忽略此选项,值始终作为带引号的文本注入。", + "argument-format-hint-text": "“文本”始终注入带引号的字符串。", + "app-compose-creds-overridden-hint": "Compose 配置中的凭据字段由关联实体管理,保存时将被覆盖。如需更改,请重新分配该实体。", + "app-profile-compose-creds-hint": "Compose 配置中的凭据字段由关联实体管理,保存时将被覆盖。如需更改,请在创建/编辑应用时分配实体。", + "app-related-entity": "关联实体", + "app-related-entity-none": "未找到匹配的实体", + "app-related-entity-none-create": "未找到匹配的实体。请使用“新建”按钮创建。", + "app-related-entity-required": "Edge 和 Gateway 应用的关联实体为必填项。", + "app-step-applied-stage-hint": "此处的更改将在 Agent 上的“{{stage}}”阶段应用。", + "app-restart-title": "重启 {{name}}?", + "app-restart-text": "Agent 将重新执行应用的启动步骤。现有数据和配置将保留。", + "app-assign-compare-title": "分配应用配置", + "app-assign-compare-hint": "分配应用配置“{{profileName}}”将替换应用“{{appName}}”的 Compose 配置。请查看上方更改并确认。", + "app-assign-compare-cta": "分配配置", + "app-upgrade-title": "升级应用", + "app-upgrade-step1": "查看更改", + "app-upgrade-step2": "配置并确认", + "app-upgrade-heading": "正在升级 {{name}}:{{from}} → {{to}}", + "app-upgrade-template-new": "模板({{version}})— 新", + "app-upgrade-current": "您的 Compose(当前,已自动合并新镜像)", + "app-upgrade-diff-hint": "并排对比:左侧窗格显示原始新模板,右侧窗格显示已自动合并新镜像的当前 Compose。继续之前请检查差异。", + "app-upgrade-steps-list": "将执行的升级步骤:", + "app-upgrade-backup-volumes-hint": "选择升级前要备份的卷。升级失败时,可通过备份自动回滚。", + "app-upgrade-no-volumes": "Compose 配置中未检测到卷。", + "app-upgrade-summary-versions": "升级", + "app-upgrade-summary-volumes-label": "要备份的卷", + "app-upgrade-summary-volumes": "{ count, plural, =1 {已选 1 个} other {已选 # 个} }", + "app-upgrade-rollback-info": "如果任何步骤失败,Agent 将使用已备份的卷自动回滚到上一版本。", + "app-upgrade-cta": "升级", + "app-upgrade-loading": "正在加载模板…", + "app-upgrade-no-template": "应用未设置模板,无法升级。", + "app-upgrade-no-next-version": "没有可用的新模板版本。", + "app-upgrade-load-failed": "加载升级模板失败。", + "app-upgrade-merge-failed": "计算升级预览失败。", + "app-compose-invalid-yaml": "Docker Compose 配置不是有效的 YAML。请先修正再保存。", + "app-profile-saved-title": "应用配置已保存", + "app-profile-saved-propagation-text": "已分配到此配置的应用未自动更新。要应用这些更改,请在 Agent 配置页面执行批量更新/升级,或在各应用自己的页面逐个更新。", + "app-upgrade-profile-step": "升级配置", + "app-upgrade-profile-loading": "正在加载配置…", + "app-upgrade-profile-name": "配置", + "app-upgrade-profile-current": "配置 Compose(当前,已自动合并新镜像)", + "app-upgrade-profile-hint": "此应用关联的配置仍指向上一个模板版本。请先升级该配置,以便应用采用新的配置。", + "app-upgrade-profile-cta": "升级配置", + "app-profile-load-failed": "加载应用配置失败。", + "app-install-title": "安装应用", + "app-install-on-agent": "在 Agent {{name}} 上", + "app-install-pick-type": "选择要在此 Agent 上部署的内容。", + "app-install-step1": "选择类型", + "app-install-step3": "检查并自定义", + "app-install-step4": "保存应用", + "app-install-type-generic": "通用", + "app-install-type-generic-desc": "部署任意 Docker Compose 应用", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "部署 ThingsBoard Edge", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "部署 ThingsBoard Gateway", + "app-install-name": "应用名称", + "app-install-yaml": "Docker Compose 配置", + "app-compose-template-select": "Compose 模板", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "混合", + "compose-type-in-memory": "内存", + "app-install-diff-template": "模板——只读", + "app-install-diff-editable": "您的 Compose——可编辑,将被保存", + "app-install-diff-hint": "左侧窗格显示原始模板 Compose。编辑右侧窗格进行调整;仅保存右侧内容。", + "app-diff-sync-scroll": "窗格同步滚动", + "app-diff-read-only": "只读", + "app-install-cred-title": "凭据", + "app-install-cred-hint": "使用应用配置时,仅可编辑这些字段。它们会写回下方的 Compose 预览。", + "app-install-cred-routing-key": "路由密钥", + "app-install-cred-routing-secret": "路由密码", + "app-install-cred-security-type": "安全类型", + "app-install-cred-security-access-token": "访问 Token", + "app-install-cred-security-username-password": "用户名 / 密码", + "app-install-cred-access-token": "访问 Token", + "app-install-cred-client-id": "客户端 ID", + "app-install-cred-username": "用户名", + "app-install-cred-password": "密码", + "app-install-pull-images": "启动前拉取镜像", + "app-image-pull-policy-if-not-present": "不存在时", + "app-image-pull-policy-always": "始终", + "app-install-cta": "保存", + "app-update-wizard-title": "更新应用", + "app-update-cta": "更新", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "建议版本(已合并模板)— 只读", + "app-update-diff-current": "当前 Compose — 可编辑,将被保存", + "app-update-diff-hint": "请在左侧查看建议的更改。使用两个窗格之间的箭头,将选中的块合并到右侧的当前 Compose 中。仅保存右侧内容。", + "app-update-cred-hint": "由应用配置管理的应用在此仅显示凭据字段。其他 Compose 更改请在应用配置中完成。", + "app-profile-outdated-hint": "应用配置的内容已过期。请运行“更新”以重新获取。", + "app-project-name": "项目名称", + "app-update-skip-profile-refetch": "跳过重新获取应用配置的内容", + "app-update-skip-profile-refetch-hint": "勾选后,Agent 应用将保留当前的 Compose,仅应用上方的凭据值。可用于轮换凭据,或在上方拉取策略设为“始终”时重新拉取最新镜像,而不采用应用配置中较新的 Compose 配置。", + "app-update-skip-profile-refetch-drift-hint": "已分配的配置处于模板版本 {{version}},“更新”不会应用其 Compose 配置。应用将保留当前的 Compose,仅应用上方的凭据值。如需切换版本,请使用“升级”。", + "app-install-confirm-info": "Agent 将下载并启动容器。您可以在“事件”选项卡中查看进度。", + "app-install-loading-template": "正在加载模板…", + "app-install-template-failed": "加载应用模板失败。", + "app-install-merge-failed": "计算合并预览失败。", + "app-delete-title-header": "删除应用", + "app-delete-warning": "确定要删除“{{name}}”吗?这将停止并移除远程机器上的所有容器。", + "app-delete-remove-volumes": "同时移除卷", + "app-delete-remove-volumes-hint": "警告:此操作将永久删除应用卷中存储的所有数据。", + "app-delete-no-volumes": "在 Compose 配置中未检测到卷。", + "app-delete-cta": "删除", + "agents-count": "Agent", + "profiles-count": "配置", + "template": "模板", + "previous-version": "上一版本", + "config-type": "配置类型", + "install-instructions": "安装说明", + "install-instructions-hint": "在目标机器上运行以下命令以启动 Agent。Agent 将连接到 ThingsBoard 服务器并显示为“在线”。", + "install-instructions-replace-hint": "连接后,Agent 将在 Agent 列表中显示为“在线”。", + "install-step-docker": "确保目标机器上已安装 Docker", + "install-step-run": "运行 Agent 容器", + "install-command-copied-message": "安装命令已复制到剪贴板", + "agent-credentials": "Agent 凭据", + "agent-created-successfully": "Agent 创建成功", + "go-to-agent": "前往 Agent", + "app-type-generic": "通用", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "设置", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "最新的 Edge 应用配置", + "preset-gateway-description": "最新的 Gateway 应用配置", + "preset-edge-gateway-description": "两个最新的应用配置", + "preset-name-edge": "Edge Agent 配置", + "preset-name-gateway": "Gateway Agent 配置", + "preset-name-edge-gateway": "Edge + Gateway Agent 配置", + "preset-advanced": "高级", + "preset-advanced-description": "设置预配策略,并选择或创建应用配置", + "preset-advanced-configure": "配置", + "preset-summary-title": "预置:{{label}}", + "preset-summary-body": "创建已分配 {{apps}} 的 Agent 配置,并采用“每种类型一个应用”的预配策略。", + "preset-summary-apps-two": "{{first}} 和 {{second}}", + "preset-templates-load-failed": "无法加载以下类型的最新应用模板:{{types}}。依赖这些模板的预置已禁用。", + "app-type-required": "应用类型为必填项。", + "provision-type-disabled": "已禁用", + "provision-type-no-auto-install": "仅预配 Agent", + "provision-type-per-app-type": "每种类型一个应用", + "provision-type-per-app-profile": "每个已分配的配置一个应用", + "provisioning-strategy": "预配策略", + "provisioning-strategy-label": "策略:{{strategy}}", + "provision-type-disabled-description": "Agent 预配已禁用。选择预配策略以启用 Agent 自动注册。启用后,Agent 可使用共享的预配密钥和密码自行注册,无需逐个手动创建 Agent。", + "provision-type-no-auto-install-description": "当新 Agent 使用此配置进行预配时,服务器会注册该 Agent,但不会自动安装任何应用。预配期间会忽略已分配的应用配置——可以在 Agent 上手动安装应用。", + "provision-type-per-app-type-description": "当新 Agent 使用此配置进行预配时,服务器会根据已分配的应用配置自动创建应用。仅当 Agent 尚无该类型的应用时,才会安装 Edge/Gateway 应用(每个 Agent 每种类型最多一个);通用应用按配置匹配(每个 Agent 每个配置一个应用)。例如,如果分配了两个 Edge 配置和两个通用配置,Agent 将获得一个 Edge 应用和两个通用应用。如果某种应用类型需要关联实体(例如 Edge 或 Gateway),服务器将尝试创建并分配该实体。", + "provision-type-per-app-profile-description": "当新 Agent 使用此配置进行预配时,服务器会根据已分配的应用配置自动创建应用。仅当 Agent 尚无匹配的应用时,才会安装每个应用——Edge/Gateway 应用按模板或其源配置匹配(每个 Agent 每个模板一个);通用应用按配置匹配(每个 Agent 每个配置一个应用)。例如,如果分配了两个 Edge 配置,当这些配置基于不同模板时,Agent 将获得两个 Edge 应用;如果它们共用同一模板,则只获得一个。如果某种应用类型需要关联实体(例如 Edge 或 Gateway),服务器将尝试创建并分配该实体。", + "agent-profile-created": "Agent 配置已创建", + "agent-profile-created-hint": "在每台要部署 Agent 的机器上运行此命令。每个 Agent 将:", + "agent-profile-created-step-1": "使用预配凭据自动向服务器注册", + "agent-profile-created-step-2": "获取用于持久连接的唯一路由密钥和密码", + "agent-profile-created-step-3": "自动安装已分配应用配置中定义的应用", + "provisioning-credentials": "预配凭据", + "provisioning": "Agent 预配", + "docker-run-command": "Docker run 命令", + "assigned-profiles": "应用配置", + "assign-profile": "分配配置", + "unassign-profile": "取消分配配置", + "no-profiles-assigned": "此配置尚未分配任何应用配置。", + "go-to-profile": "前往配置", + "profiles-bulk-hint": "此批量操作针对所有与配置“{{appProfile}}”匹配、且其 Agent 使用“{{agentProfile}}”配置的应用", + "auto-install-template-dedup-note": "此 Agent 配置的预配策略启用了自动安装。当 Agent 自动预配时,仅当 Agent 尚无匹配的应用时,才会安装下面的每个配置。Edge/Gateway 配置按模板或其源配置匹配(每个 Agent 每个模板一个);通用配置按配置匹配(每个 Agent 每个配置一个应用)。", + "auto-install-per-type-note": "此 Agent 配置的预配策略已启用自动安装。Agent 自动预配时,只有在该 Agent 还没有此类型的应用时,才会安装下方的 Edge/Gateway 配置(每个 Agent 每种类型最多一个);通用配置按配置匹配(每个 Agent 每个配置一个应用)。", + "app-profile": "应用配置", + "no-profiles-available": "没有更多可分配的配置。", + "unassign-profile-confirm": "确定要从此 Agent 配置中取消分配应用配置“{{profile}}”吗?", + "relate-on-auto-discovery": "自动发现时关联", + "relate-on-auto-discovery-tooltip": "将此应用配置分配给所有使用匹配 Edge/Gateway 镜像的新自动发现应用。", + "relate-on-auto-discovery-confirm-title": "确定要继续吗?", + "relate-on-auto-discovery-enable-confirm": "Edge/Gateway 镜像与“{{profile}}”模板匹配的新自动发现应用将自动分配此应用配置。如果配置不一致,应用配置中的配置(Compose)将覆盖应用自动发现的配置(Compose)。", + "relate-on-auto-discovery-disable-confirm": "与“{{profile}}”模板匹配的新自动发现应用将不再自动分配此应用配置。现有分配不受影响。", + "provisioning-saved": "预配设置已保存", + "bulk-actions": "批量操作", + "assigned-applications": "已分配的应用", + "application-profiles-and-bulk-actions": "应用配置和批量操作", + "recent-bulk-actions": "最近的批量操作", + "no-recent-bulk-actions": "此应用配置暂无批量操作。", + "executions": "执行记录", + "view-bulk-action-details": "打开完整详情", + "agents-reporting-success": "{{ok}}/{{total}} 个 Agent 报告成功", + "bulk-action-type": "操作", + "bulk-action-status": "状态", + "bulk-action-counts": "已提交", + "bulk-action-error": "错误", + "bulk-action-details": "批量操作详情", + "bulk-restart": "批量重启", + "bulk-update": "批量更新", + "bulk-upgrade": "批量升级", + "bulk-delete": "批量删除", + "bulk-restart-title": "批量重启 — {{profile}}", + "bulk-update-title": "批量更新 — {{profile}}", + "bulk-upgrade-title": "批量升级 — {{profile}}", + "bulk-delete-title": "批量删除 — {{profile}}", + "bulk-action-title": "批量操作", + "bulk-restart-cta": "全部重启", + "bulk-update-cta": "全部更新", + "bulk-upgrade-cta": "全部升级", + "bulk-delete-cta": "全部删除", + "bulk-preview": "预览", + "bulk-preview-total": "应用总数", + "bulk-preview-eligible": "符合条件", + "bulk-preview-skipped": "已跳过", + "bulk-skipped-version-mismatch": "已跳过 — 模板版本不匹配", + "bulk-skipped-active-event": "已跳过 — 已有其他操作正在运行", + "bulk-skipped-rate-limit": "已跳过 — 超出事件速率限制", + "bulk-skipped-error": "已跳过 — 评估应用时出错", + "bulk-skipped-more": "……另有 {{count}} 个 — 请查看运行详情", + "bulk-no-eligible": "没有符合此操作条件的应用。", + "bulk-backup-volumes-hint": "选择升级前要备份的卷。输入项将应用于所有符合条件的应用。", + "bulk-no-volumes-in-profile": "该配置的 Compose 中没有卷。", + "bulk-submitted": "已提交", + "bulk-skipped": "已跳过", + "bulk-processing-started": "已开始处理", + "bulk-events": "事件", + "bulk-event-current-step": "当前步骤", + "bulk-event-updated": "更新时间", + "bulk-event-filter-status": "状态", + "bulk-event-filter-all": "全部", + "bulk-no-events": "未找到此批量操作的事件。", + "no-bulk-actions": "暂无批量操作。", + "origin-installed": "已安装", + "origin-discovered": "已发现", + "origin-auto-provisioned": "自动预配", + "event-action-install": "安装", + "event-action-update": "更新", + "event-action-delete": "删除", + "event-action-restart": "重启", + "event-action-rollback": "回滚", + "event-action-upgrade": "升级", + "event-action-agent-upgrade": "Agent 升级", + "event-status-pending": "待处理", + "event-status-queued": "已排队", + "event-status-processing": "处理中", + "event-status-finished": "已完成", + "event-status-error": "错误", + "event-status-start-failed": "启动失败", + "bulk-status-queued": "已排队", + "bulk-status-in-progress": "进行中", + "bulk-status-started": "已启动", + "bulk-status-start-failed": "启动失败", + "unit-type-container": "容器", + "unit-type-volume": "卷", + "unit-type-network": "网络", + "app-events": "事件", + "app-metrics": "指标", + "app-copy-id": "复制应用 ID", + "app-id-copied-message": "应用 ID 已复制到剪贴板", + "app-upgrade-available": "有可用升级:{{version}}", + "app-unit-identifier": "标识符", + "app-unit-image": "镜像", + "app-unit-state": "状态", + "app-unit-filter": "单元过滤器", + "app-unit-filter-with-values": "过滤器:{{values}}", + "app-unit-logs": "容器日志", + "app-unit-view-logs": "查看容器日志", + "filter-all-count": "全部({{count}})", + "filter-errors-count": "错误({{count}})", + "filter-running-count": "运行中({{count}})", + "log-agent-offline-paused": "Agent 离线 · 日志流已暂停", + "log-agent-online": "Agent 在线", + "log-back-to-application": "返回应用", + "log-buffered": "+ {{count}} 条已缓冲", + "log-chip-app": "应用", + "log-clear": "清除日志", + "log-clear-highlight": "清除高亮", + "log-copy-all": "全部复制", + "log-copy-all-lines": "复制所有日志行", + "log-download": "下载日志", + "log-dropped": "已丢弃 {{count}} 条", + "log-dropped-hint": "到达此查看器之前被 Agent 丢弃的日志行", + "log-dropped-total": "丢弃行总数", + "log-follow-latest": "跟随最新", + "log-gap": "{ count, plural, =1 {已丢弃 1 个日志块} other {已丢弃 # 个日志块} }(已达到缓冲区上限)", + "log-highlight": "高亮…", + "log-highlight-lines": "高亮日志行", + "log-jump-to-latest": "跳转到最新", + "log-lines-unit": "{ count, plural, other {行} }", + "log-live": "实时", + "log-pause-resume-stream": "暂停或恢复日志流", + "log-pause-stream": "暂停日志流", + "log-paused": "已暂停", + "log-resume-stream": "恢复日志流", + "log-stream-paused": "日志流已暂停", + "log-waiting": "正在等待日志行…", + "metrics-all-containers": "所有容器", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{percent}}%(共 {{cores}} 个核心,上限 {{cap}}%)", + "metrics-disk": "磁盘", + "metrics-memory": "内存", + "metrics-show-charts": "显示图表", + "metrics-updated-at": "更新于 {{time}}", + "metrics-used-of-total": "{{used}} / {{total}} ({{percent}}%)", + "metrics-volumes": "卷", + "stats-done": "{{count}} 个已完成", + "stats-error": "{{count}} 个错误", + "stats-pending": "{{count}} 个待处理", + "stats-running": "{{count}} 个运行中", + "app-no-units": "未找到单元。", + "app-no-events": "未找到事件。", + "app-event-app-name": "应用", + "app-event-agent-name": "Agent", + "app-event-action": "操作", + "app-event-status": "执行状态", + "app-event-execution": "执行", + "app-event-execution-not-started": "未开始", + "app-event-execution-started": "已开始", + "app-event-execution-delivery-failed": "投递失败", + "app-event-filter": "事件过滤器", + "app-event-filter-with-values": "过滤器:{{values}}", + "app-event-current-activity": "当前活动", + "app-event-show-error": "显示错误", + "app-event-error-title": "事件错误", + "upgrade-agent-action": "升级 Agent", + "image": "镜像", + "version-unknown": "未上报", + "up-to-date": "已是最新", + "upgrade-to": "升级到 {{version}}", + "upgrade-agent-title": "升级 Agent", + "upgrade-agent-text": "Agent {{agentName}} 将用下方镜像替换其自身容器。升级期间 Agent 始终可访问,应用命令将暂停,直至升级完成。", + "upgrade-agent-hint": "已发布更新的 Agent 镜像", + "upgrade-agent-hint-unavailable": "未发现更新的 Agent 镜像——Agent 可能已是最新版本,或无法确定其版本", + "upgrade-current-image": "当前镜像", + "upgrade-target-image": "目标镜像", + "upgrade-target-image-hint": "标签或按摘要固定的引用,例如 thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "目标镜像为必填项。", + "agent-upgrade-subject": "Agent 升级", + "agent-upgrade-subject-label": "操作", + "agent-upgrade-step-prepare": "准备替换容器", + "agent-upgrade-step-finalize": "交接并移除旧容器", + "app-event-progress-title": "事件进度", + "app-event-progress-loading": "正在加载模板...", + "app-event-progress-load-failed": "加载事件进度失败。", + "app-event-progress-no-template": "此应用未关联模板。", + "app-event-step-completed": "已完成", + "app-event-step-processing": "处理中", + "app-event-step-error": "失败", + "app-event-step-waiting": "等待中", + "app-event-current-step": "当前步骤", + "app-event-created": "创建时间", + "app-event-updated": "更新时间", + "app-event-cancel": "取消", + "app-event-cancel-title": "取消事件?", + "app-event-cancel-text": "将在 Agent 上取消正在进行的事件。", + "app-event-view-in-events": "在事件中查看", + "app-save-update-hint-title": "更改已保存", + "app-save-update-hint": "更改已保存到 ThingsBoard,但 Agent 仍在运行之前的配置。点击此应用的“更新”操作按钮,以在 Agent 上应用更改。", + "app-save-update-hint-action": "立即更新", + "app-deleted": "应用已删除", + "group": "Agent 组", + "list-of-groups": "{ count, plural, =1 {1 个 Agent 组} other {# 个 Agent 组的列表} }", + "group-name-starts-with": "名称以“{{prefix}}”开头的 Agent 组", + "application-group": "应用组", + "list-of-application-groups": "{ count, plural, =1 {1 个应用组} other {# 个应用组的列表} }", + "application-group-name-starts-with": "名称以“{{prefix}}”开头的应用组", + "all": "全部", + "all-agents": "所有 Agent", + "groups": "组", + "shared": "共享" }, "edge-event": { "type-dashboard": "仪表板", @@ -3545,6 +4320,7 @@ "disconnected": "已断开" }, "error": { + "data-export-failed": "数据导出失败:无法确定部署模式。请重试。", "unable-to-connect": "无法连接到服务器!请检查您的网络连接。", "unhandled-error-code": "未处理的错误代码:{{errorCode}}", "unknown-error": "未知错误" @@ -3552,6 +4328,8 @@ "entity": { "entity": "实体", "entities": "实体", + "devices-and-assets": "设备和资产", + "data-processing": "数据处理", "entities-count": "实体数量", "alarms-count": "告警数量", "aliases": "实体别名", @@ -3703,6 +4481,7 @@ "columns-to-display": "显示列", "type-api-usage-state": "API 使用状态", "type-entity-group": "实体组", + "type-entity-groups": "实体组", "type-converter": "数据转换器", "type-converters": "数据转换器", "list-of-converters": "{ count, plural, =1 {1 个数据转换器} other {# 个数据转换器列表} }", @@ -3720,6 +4499,28 @@ "type-edges": "Edge", "list-of-edges": "{ count, plural, =1 {1 个 Edge} other {# 个 Edge 列表} }", "edge-name-starts-with": "名称以 '{{prefix}}' 开头的 Edge", + "type-agent": "Agent", + "type-agents": "Agent", + "list-of-agents": "{ count, plural, =1 {1 个 Agent} other {# 个 Agent} }", + "agent-name-starts-with": "名称以“{{prefix}}”开头的 Agent", + "type-agent-profile": "Agent 配置", + "type-agent-profiles": "Agent 配置", + "list-of-agent-profiles": "{ count, plural, =1 {1 个 Agent 配置} other {# 个 Agent 配置} }", + "agent-profile-name-starts-with": "名称以“{{prefix}}”开头的 Agent 配置", + "type-agent-application": "应用", + "type-agent-applications": "应用", + "list-of-agent-applications": "{ count, plural, =1 {1 个应用} other {# 个应用} }", + "agent-application-name-starts-with": "名称以“{{prefix}}”开头的应用", + "type-agent-app-profile": "应用配置", + "type-agent-app-profiles": "应用配置", + "list-of-agent-app-profiles": "{ count, plural, =1 {1 个应用配置} other {# 个应用配置} }", + "agent-app-profile-name-starts-with": "名称以“{{prefix}}”开头的应用配置", + "type-agent-app-event": "Agent 应用事件", + "type-agent-app-events": "Agent 应用事件", + "type-agent-app-unit": "Agent 应用单元", + "type-agent-app-units": "Agent 应用单元", + "type-agent-bulk-action": "批量操作", + "type-agent-bulk-actions": "批量操作", "version-conflict": { "message": "您要覆盖现有版本还是放弃更改并加载最新版本?", "link": "您可以使用此链接下载您的 {{entityType}} 版本", @@ -3836,6 +4637,9 @@ "dashboard-groups": "仪表板组", "shared-dashboard-groups": "共享仪表板组", "dashboard-group": "仪表板组", + "agent-groups": "Agent 组", + "shared-agent-groups": "共享 Agent 组", + "agent-group": "Agent 组", "fetch-more": "加载更多", "column-type": { "column-type": "列类型", @@ -3856,7 +4660,7 @@ "authority": "权限", "first_name": "名", "last_name": "姓", - "email": "Email", + "email": "邮箱", "title": "标题", "country": "国家", "state": "省/州", @@ -3952,7 +4756,7 @@ "type": "类型", "first-name": "名", "last-name": "姓", - "email": "Email", + "email": "邮箱", "title": "标题", "country": "国家", "state": "省/州", @@ -4022,7 +4826,7 @@ "make-private": "将实体视图设为私有", "unassign-from-customer": "取消分配客户", "unassign-entity-views": "取消分配实体视图", - "unassign-entity-views-action-title": "取消分配 { count, plural, =1 {1 个实体视图} other {# 个实体视图} }", + "unassign-entity-views-action-title": "从客户取消分配 { count, plural, =1 {1 个实体视图} other {# 个实体视图} }", "assign-new-entity-view": "分配新实体视图", "delete-entity-view-title": "确定要删除实体视图 '{{entityViewName}}' 吗?", "delete-entity-view-text": "请注意,确认后实体视图及所有相关数据将无法恢复。", @@ -4088,7 +4892,7 @@ "assign-entity-view-to-edge-text": "请选择要分配到 Edge 的实体视图", "unassign-entity-view-from-edge-title": "确定要取消分配实体视图 '{{entityViewName}}' 吗?", "unassign-entity-view-from-edge-text": "确认后,实体视图将被取消分配,Edge 将无法访问。", - "unassign-entity-views-from-edge-action-title": "取消分配 { count, plural, =1 {1 个实体视图} other {# 个实体视图} }", + "unassign-entity-views-from-edge-action-title": "从 Edge 取消分配 { count, plural, =1 {1 个实体视图} other {# 个实体视图} }", "unassign-entity-view-from-edge": "取消分配实体视图", "unassign-entity-views-from-edge-title": "确定要取消分配 { count, plural, =1 {1 个实体视图} other {# 个实体视图} } 吗?", "unassign-entity-views-from-edge-text": "确认后,所有选中的实体视图将被取消分配,Edge 将无法访问。" @@ -4110,6 +4914,7 @@ "result": "结果", "no-events-prompt": "未找到事件", "error": "错误", + "errors": "错误", "alarm": "告警", "event-time": "事件时间", "server": "服务器", @@ -4130,6 +4935,8 @@ "event": "事件", "status": "状态", "success": "成功", + "warning": "警告", + "warnings": "警告", "failed": "失败", "messages-processed": "已处理消息数", "max-messages-processed": "最大已处理消息数", @@ -4199,7 +5006,7 @@ "username": "用户名", "password": "密码", "retry-interval": "重试间隔(毫秒)", - "sas": "共享访问签名", + "sas": "Shared Access Signature", "anonymous": "匿名", "basic": "基本", "pem": "PEM", @@ -4375,6 +5182,7 @@ "order-priority": "显示顺序", "key-filter": "键过滤器", "key-filters": "键过滤器", + "or-conditions-disabled": "系统管理员已禁用键过滤器之间的 OR 条件。", "key-name": "键名称", "key-name-required": "键名称为必填项。", "key-type": { @@ -4431,12 +5239,41 @@ "gateway": { "gateway-name": "Gateway 名称", "gateway-name-required": "Gateway 名称为必填项。", - "gateways": "Gateways", + "gateways": "Gateway", "create-new-gateway": "创建新 Gateway", "create-new-gateway-text": "确定要创建名为“{{gatewayName}}”的新 Gateway 吗?", "launch-command": "启动命令", + "launch-choose-subtitle": "选择如何使用所选设备的凭据为 {{name}} 运行 IoT Gateway。", + "launch-recommended": "推荐", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "从云端远程安装、升级、重启和监控,无需 SSH 或手动命令。", + "launch-agent-point-install": "一键远程安装", + "launch-agent-point-upgrade": "从云端推送升级", + "launch-agent-point-restart": "自动重启与恢复", + "launch-agent-point-monitor": "实时健康监控", + "launch-agent-point-bulk": "在 Agent 配置页面执行批量操作", + "launch-agent-action": "使用 Agent 部署", + "launch-docker-title": "手动 Docker Compose", + "launch-docker-desc": "下载 Compose 文件,并在目标机器上自行运行。", + "launch-docker-point-up": "运行 docker compose up", + "launch-docker-point-control": "完全手动控制", + "launch-docker-point-updates": "由您自行管理更新", + "launch-docker-point-access": "直接访问设备", + "launch-docker-action": "显示说明", + "launch-back": "返回", "no-gateway-found": "未找到 Gateway。", - "no-gateway-matching": " 未找到“{{item}}”。" + "no-gateway-matching": " 未找到“{{item}}”。", + "auto-provision": "自动预配", + "add-gateway": "添加 Gateway", + "auto-provision-title": "自动预配 Gateway", + "auto-provision-info-title": "工作原理", + "auto-provision-info-body": "创建 Agent 配置后,系统会生成一条 Docker run 命令。在目标机器上执行该命令时,ThingsBoard 会使用命令中嵌入的凭据自动创建 Agent 以及与之关联的 Gateway 设备。Gateway 会根据分配给 Agent 配置的应用配置自动完成配置。无需手动创建 Gateway。", + "auto-provision-step-select": "Agent 配置", + "auto-provision-step-script": "预配脚本", + "auto-provision-valid": "已就绪,可以预配:“{{profile}}”已分配 Gateway 应用配置。", + "auto-provision-invalid-no-edge-app-profile": "此配置未分配 Gateway 应用配置。请使用该按钮分配。", + "auto-provision-success-message": "Agent 配置已就绪。在任意目标机器上运行该命令即可预配新的 Gateway。", + "auto-provision-script-hint": "在每台要作为 Gateway 的机器上运行此命令。每次运行将预配一组 Agent 和 Gateway。" }, "grid": { "delete-item-title": "确定要删除此项目吗?", @@ -4461,13 +5298,17 @@ "logout": "退出登录", "menu": "菜单", "avatar": "头像", - "open-user-menu": "打开用户菜单" + "open-user-menu": "打开用户菜单", + "go-to": "转到…", + "crumbs-more": "匹配的分区中还有 +{{more}} 项", + "no-matches": "无匹配项" }, "file-input": { "browse-file": "浏览文件", "browse-files": "浏览文件" }, "image": { + "images": "图片", "gallery": "图片库", "search": "搜索图片", "selected-images": "已选择 { count, plural, =1 {1 张图片} other {# 张图片} }", @@ -4539,7 +5380,7 @@ "column-title": "标题", "column-example": "示例值数据", "column-key": "属性/遥测键", - "credentials": "凭证", + "credentials": "凭据", "csv-delimiter": "CSV 分隔符", "csv-first-line-header": "第一行包含列名", "csv-update-data": "更新属性/遥测", @@ -4588,7 +5429,7 @@ "edge-license-key": "许可证密钥", "cloud-endpoint": "Cloud Endpoint", "routing-key": "Edge 密钥", - "secret": "Edge 密钥" + "secret": "Edge 密码" }, "stepper-text": { "select-file": "选择文件", @@ -4649,8 +5490,8 @@ "app-id-required": "Application ID 为必填项", "app-token": "应用程序访问 Token", "app-token-required": "应用程序访问 Token 为必填项", - "email": "Email", - "email-required": "Email 为必填项", + "email": "邮箱", + "email-required": "邮箱为必填项", "application-uri": "应用程序 URI", "as-id": "AS ID", "as-id-required": "AS ID 为必填项。", @@ -4726,17 +5567,17 @@ "application-server-api-token": "应用服务器 API Token", "application-server-api-token-required": "应用服务器 API Token 为必填项。", "use-api-four-plus": "使用 ChirpStack 4+ 版本 API", - "bootstrap-servers": "引导服务器", - "bootstrap-servers-required": "引导服务器为必填项。", + "bootstrap-servers": "Bootstrap 服务器", + "bootstrap-servers-required": "Bootstrap 服务器为必填项。", "poll-interval": "轮询间隔", "poll-interval-required": "轮询间隔为必填项。", "poll-interval-min-value": "轮询间隔值不能小于 1", "auto-create-topics": "自动创建主题", "clean-session": "清除会话", "enable-ssl": "启用 SSL", - "credentials": "凭证", - "credentials-type": "凭证类型", - "credentials-type-required": "凭证类型为必填项。", + "credentials": "凭据", + "credentials-type": "凭据类型", + "credentials-type-required": "凭据类型为必填项。", "username": "用户名", "username-required": "用户名为必填项。", "password": "密码", @@ -4774,13 +5615,13 @@ "aws-region": "区域", "aws-iot-endpoint": "AWS IoT Endpoint", "aws-iot-endpoint-required": "AWS IoT Endpoint 为必填项。", - "aws-iot-credentials": "AWS IoT 凭证", + "aws-iot-credentials": "AWS IoT 凭据", "aws-sqs-polling-period-in-seconds": "轮询周期(秒)", "aws-sqs-queue-url": "SQS 队列 URL", "aws-sqs-queue-url-required": "SQS 队列 URL 为必填项", "aws-sqs-access-key-id-required": "访问密钥 ID 为必填项", "aws-sqs-secret-access-key-required": "秘密访问密钥为必填项", - "application-credentials": "应用程序凭证", + "application-credentials": "应用程序凭据", "api-key": "API 密钥", "api-key-required": "API 密钥为必填项。", "api-key-format": "无效的 API 密钥格式。", @@ -4855,6 +5696,7 @@ "type-ttn-description": "开放去中心化的 LoRaWAN 网络。", "type-tti": "The Things Stack Industries", "type-tti-description": "用于大规模运营私有 LoRaWAN 网络的软件。", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN 网络配置服务器。", "type-particle": "Particle", @@ -4926,7 +5768,7 @@ "kinesis-secret-access-key": "秘密访问密钥", "kinesis-secret-access-key-required": "秘密访问密钥为必填项", "kinesis-use-consumers-with-enhanced-fan-out": "使用增强扇出消费者", - "kinesis-use-credentials-from-instance-metadata": "使用 Amazon EC2 实例元数据服务中的凭证", + "kinesis-use-credentials-from-instance-metadata": "使用 Amazon EC2 实例元数据服务中的凭据", "kinesis-application-name": "应用程序名称(默认与流名称相同)", "kinesis-initial-position-in-stream": "流中的初始位置", "kinesis-initial-position-in-stream-required": "流中的初始位置为必填项", @@ -5031,8 +5873,8 @@ "system-line-separator": "系统换行符", "nul-delimiter": "Nul 分隔符", "custom-separator": "自定义分隔符", - "byte-order-little-endian": "小端序", - "byte-order-big-endian": "大端序" + "byte-order-little-endian": "小端序(Little Endian)", + "byte-order-big-endian": "大端序(Big Endian)" }, "cache-size": "缓存大小", "cache-time-to-live": "缓存生存时间(分钟)", @@ -5389,6 +6231,7 @@ "third-phase-voltage": "第三相电压", "phase-voltage-hint": "表示当前相电压值的双精度值", "voltage-hint": "表示当前电压的双精度值", + "current-voltage": "当前电压", "phase-indicator-color": "相位指示器颜色", "measured": "测量值", "measured-hint": "表示千瓦时能耗的双精度值", @@ -5429,7 +6272,281 @@ } }, "item": { - "selected": "已选择" + "type-widget": "部件", + "type-widget-plural": "部件", + "type-solution-template": "解决方案模板", + "type-solution-template-plural": "解决方案模板", + "type-calculated-field": "计算字段", + "type-calculated-field-plural": "计算字段", + "type-alarm-rule": "告警规则", + "type-alarm-rule-plural": "告警规则", + "type-rule-chain": "规则链", + "type-rule-chain-plural": "规则链", + "type-device": "设备", + "type-device-plural": "设备" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "生成随机值", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "探索现成可用的", + "and-devices": "及设备", + "search-placeholder": "在 IoT Hub 中搜索…", + "search": "搜索…", + "search-published-items": "搜索已发布项…", + "see-all-results": "查看全部结果", + "see-all-results-for": "查看“{{ search }}”的全部 {{ count }} 条结果", + "see-results-for": "查看“{{ search }}”的结果", + "no-search-results": "未找到与“{{ search }}”相关的结果", + "no-items-available": "暂无可用项目", + "search-results": "搜索结果", + "search-results-for": "搜索结果:", + "try-adjusting-search": "请尝试调整搜索条件", + "add-widget-from-iot-hub": "从 IoT Hub 添加部件", + "all-widgets": "所有部件", + "all-iot-hub-widgets": "所有 IoT Hub 部件", + "installed-from-iot-hub": "已从 IoT Hub 安装", + "item-link-unavailable": "项目不可用", + "include-deprecated": "包含已弃用项", + "widget-category-value": "{{ category }}部件", + "search-categories": "搜索类别...", + "search-in-category": "搜索部件...", + "search-bundles": "搜索部件包...", + "search-widgets": "搜索部件...", + "add-item-from-iot-hub": "从 IoT Hub 添加{{ type }}", + "add-from-iot-hub": "从 IoT Hub 添加", + "filters": "过滤器", + "type": "类型", + "items-per-page": "每页项目数", + "filter": "过滤器", + "clear-filters": "清除过滤器", + "available": "可用", + "items-page-desc-widgets": "借助专为您所在行业预配置的部件,快速开启您的 IoT 之旅。即刻部署经过验证的架构,将精力集中在真正重要的事情上:您独特的业务逻辑。", + "items-page-desc-solution-templates": "包含仪表板、规则链和设备配置的完整 IoT 解决方案包。基于经过验证的架构快速上手。", + "items-page-desc-calculated-fields": "使用预配置的计算字段自动计算燃油效率或功率因数等复杂指标。无需手动编写逻辑,让您的仪表板保持简洁、实用。", + "items-page-desc-alarm-rules": "使用预构建的告警规则模板检测低电量、超出阈值或设备离线等关键情况。无需编写规则逻辑,事件一发生即可响应。", + "items-page-desc-rule-chains": "从复杂的数据处理到无缝的 API 集成,规则链模板为您提供扩展所需的架构基础,无需从零开始构建。", + "items-page-desc-devices": "浏览设备库,查找可在几分钟内部署的预配置连接模板,立即连接您的硬件。", + "device-library": "设备库", + "most-popular-in-iot-hub": "IoT Hub 中最受欢迎", + "upgrade-required-title": "需要升级 ThingsBoard", + "upgrade-required-message": "此项需要 ThingsBoard {{minVersion}} 或更高版本。您当前运行的版本为 {{currentVersion}}。请升级您的实例后再安装。", + "upgrade-instance": "升级实例", + "become-creator-text": "将您的模板提交到 ThingsBoard IoT Hub,获得推荐展示机会,向我们的全球社区展示您的解决方案。", + "contribute": "贡献", + "creator-profile": "创作者资料", + "title-widgets": "部件", + "title-calculated-fields": "计算字段", + "title-alarm-rules": "告警规则", + "title-rule-chains": "规则链", + "title-devices": "设备", + "title-solution-templates": "解决方案模板", + "subtitle-widgets": "浏览适用于仪表板的社区部件", + "subtitle-solution-templates": "浏览完整的 IoT 解决方案包", + "subtitle-calculated-fields": "浏览计算字段模板", + "subtitle-alarm-rules": "浏览告警规则模板", + "subtitle-rule-chains": "浏览规则链模板", + "subtitle-devices": "浏览设备接入配置", + "search-solution-templates": "搜索解决方案模板...", + "search-calculated-fields": "搜索计算字段...", + "search-alarm-rules": "搜索告警规则...", + "search-rule-chains": "搜索规则链...", + "search-devices": "搜索设备...", + "sort-most-relevant": "最相关", + "sort-most-installed": "安装最多", + "sort-newest": "最新", + "sort-name": "名称(A-Z)", + "type-filter-label": "类型", + "verified-creators-only": "仅限已认证创作者", + "category": "类别", + "use-case": "应用场景", + "vendor": "厂商", + "view-setup-guide": "查看设置指南", + "hardware-type": "硬件类型", + "connectivity": "连接方式", + "clear-all-filters": "清除所有过滤器", + "clear-all": "全部清除", + "results-count": "{{count}} 条结果", + "unable-to-load": "无法加载", + "unable-to-load-text": "加载项目时出现问题。请重试。", + "network-server-unavailable": "网络或服务器不可用", + "network-server-unavailable-text": "无法连接到目录。请稍后重试。", + "try-again": "重试", + "retry": "重试", + "no-items-found": "未找到项目", + "no-items-found-text": "请尝试调整搜索条件或过滤器。", + "no-widgets-found": "未找到部件", + "browse-tip-prefix": "找不到所需内容?", + "browse-tip-link": "浏览 IoT Hub", + "browse-tip-suffix": "以获取更多部件。", + "creator": "创作者", + "manage": "管理", + "details": "详情", + "become-a-creator": "成为创作者", + "back-to-iot-hub": "返回 IoT Hub", + "verified-creator": "认证创作者", + "published-items": "已发布项目", + "by-creator": "作者:{{name}}", + "installs": "次安装", + "more": "更多", + "categories": "类别", + "use-cases": "应用场景", + "changelog": "更新日志", + "created-by": "由 {{name}} 创建", + "install-confirm": "安装 {{name}} v{{version}}?", + "install-confirm-title": "安装“{{name}}”?", + "install-desc": "安装后将在您的租户内自动创建并配置所需资源", + "install-success-desc": "“{{name}}”已成功安装", + "remove": "移除", + "remove-confirm-title": "移除“{{name}}”?", + "remove-desc": "移除后,您租户内已安装的实体及其关联资源也将一并移除", + "remove-desc-solution-template": "移除此解决方案模板后,您租户内创建的所有实体也将一并移除,包括仪表板、规则链、设备及其他关联资源", + "remove-anyway": "仍然移除", + "select-entity-for-cf": "为计算字段“{{name}}”选择实体", + "select-entity-for-alarm-rule": "为告警规则“{{name}}”选择实体", + "rule-chain-install-subtitle": "安装后会自动在您的租户内创建该规则链。可选择将其设为某个配置的默认规则链,使该配置下的实体通过它路由。", + "rule-chain-set-as-profile-default-toggle": "设为配置的默认规则链", + "rule-chain-set-as-profile-default-tooltip": "启用后,所选配置下的所有实体都将通过此规则链路由消息。", + "rule-chain-overwrite-title": "替换现有的默认规则链?", + "rule-chain-overwrite-body": "配置 {{profile}} 当前使用 {{existing}} 作为默认规则链。安装后将以此规则链替换它。", + "rule-chain-overwrite-replace": "替换", + "install": "安装", + "open": "打开", + "built-in": "内置", + "built-in-lookup-failed-title": "无法检查此组件", + "built-in-lookup-failed-text": "无法检查“{{name}}”是否已存在于此实例中。未安装任何内容——请重试。", + "built-in-missing-title": "此实例中不可用", + "built-in-missing-text": "“{{name}}”通常随 ThingsBoard 一起提供,但此实例中不存在——可能已被系统管理员删除。您可以改为从 IoT Hub 安装。", + "connect": "连接", + "connect-device": "连接设备", + "installing": "正在安装...", + "installing-title": "正在安装“{{name}}”", + "installed": "已安装", + "install-success": "{{name}} 安装成功", + "install-success-title": "安装成功", + "install-success-message": "“{{name}}” v{{version}} 已成功安装。", + "install-error": "{{name}} 安装失败", + "solution-install-title": "解决方案模板安装成功", + "solution-instructions": "解决方案说明", + "goto-main-dashboard": "前往主仪表板", + "install-error-title": "安装失败", + "install-error-message": "“{{name}}”安装失败。", + "install-dependency-error": "依赖项“{{name}}”安装失败:{{error}}", + "install-plan-title": "安装“{{name}}”及其依赖项", + "install-plan-will-install": "将安装 {{count}} 个项目。", + "install-plan-will-update": "{{count}} 个项目已安装,将被跳过。", + "install-plan-missing-warning": "在市场中找不到 {{count}} 个必需项目。缺少这些项目,“{{ name }}”可能无法完全正常运行。", + "install-plan-status-will": "安装", + "install-plan-status-installed": "已安装", + "install-plan-status-missing": "缺失", + "install-plan-confirm": "安装", + "install-partial-title": "安装完成,但有警告", + "install-partial-desc": "“{{name}}”已安装,但缺少部分必需项。", + "install-rollback-partial": "部分在失败前已安装的项无法自动移除,可能需要手动删除。", + "check-for-updates": "检查更新", + "updates": "更新", + "up-to-date": "已是最新", + "update": "更新", + "update-to-version": "更新到 v {{ version }}", + "update-item-title": "更新项目", + "update-confirm": "将“{{name}}”更新到版本 {{version}}?", + "update-confirm-title": "更新“{{name}}”?", + "update-desc": "更新后将以最新版本替换当前版本,并重新配置您租户中的相关资源", + "update-desc-solution-template": "更新此解决方案模板将删除并重新创建其创建的所有实体,包括仪表板、规则链、设备及您租户中的其他相关资源。您对它们所做的任何更改都将丢失", + "update-success-desc": "“{{name}}”已成功更新", + "updating": "正在更新...", + "update-success-title": "更新成功", + "update-success-message": "“{{name}}”已更新到版本 {{version}}。", + "entity-modified-title": "实体已修改", + "entity-modified-text": "此{{type}}已在本地修改。是否仍要更新?", + "update-error-title": "更新失败", + "update-error-message": "更新“{{name}}”失败。", + "update-error": "更新 {{name}} 失败", + "most-popular": "最受欢迎", + "all": "全部", + "installed-items": "已安装项目", + "installed-items-for": "“{{name}}”的已安装项目", + "search-installed-items": "搜索已安装项目...", + "item-name": "名称", + "item-type": "类型", + "item-version": "版本", + "installed-date": "安装日期", + "no-installed-items": "未找到已安装项目", + "no-installed-items-text": "请尝试调整搜索条件或过滤器。", + "remove-installed-item-title": "移除已安装项目", + "remove-installed-item-text": "确定要移除“{{name}}”吗?已安装的实体也将被移除。", + "installed-item-removed": "“{{name}}”已移除", + "installed-item-remove-error": "移除“{{name}}”失败", + "open-installed-entity": "打开已安装的实体", + "view-item-details": "查看项目详情", + "review-device-instructions": "查看设备说明", + "open-item-type": "打开{{type}}", + "back-to-marketplace": "返回市场", + "device-install-select-connectivity": "为您的设备选择连接方式", + "connection-method": "连接方式", + "step-prerequisites": "前提条件", + "step-configuration": "配置", + "step-provisioning": "预配", + "device-install-step-error": "失败", + "device-install-step-pending": "等待中", + "device-install-step-running": "正在创建...", + "device-install-step-success": "已创建", + "device-install-step-type-DASHBOARD": "仪表板", + "device-install-step-type-DEVICE": "设备", + "device-install-step-type-DEVICE_PROFILE": "设备配置", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Gateway 连接器", + "device-install-step-type-RULE_CHAIN": "规则链", + "device-install-step-type-UPLINK_CONVERTER": "上行转换器", + "device-install-step-type-DOWNLINK_CONVERTER": "下行转换器", + "device-install-step-type-INTEGRATION": "集成", + "use-secret": "使用密钥", + "use-plain-text": "使用明文", + "device-install-conflict-exists": "同名{{type}}已存在", + "device-install-use-existing": "使用现有", + "device-install-overwrite": "覆盖", + "device-install-create-copy": "创建副本", + "device-install-resolution-created": "已创建", + "device-install-resolution-use-existing": "已使用现有", + "device-install-resolution-overwrite": "已覆盖", + "device-install-resolution-create-copy": "已创建副本", + "device-install-title": "连接“{{name}}”", + "device-installing-title": "正在安装“{{name}}”", + "done": "完成", + "in-progress": "进行中", + "item-detail": "IoT Hub 项目", + "unpublished-warning-title": "未发布的内容", + "unpublished-warning-text": "这是未发布内容的预览。该内容尚未经过 IoT Hub 审核。安装未经验证的内容可能带来安全性和稳定性风险——仅在您信任创建者时继续。", + "unpublished-warning-confirm": "我了解风险,继续", + "unpublished-preview": "未发布预览", + "deep-link-invalid-id": "无效的 IoT Hub 项目链接。", + "deep-link-not-found": "此 IoT Hub 项目不存在或已被移除。", + "deep-link-fetch-failed": "无法加载 IoT Hub 项目。请重试。", + "export-to-iot-hub": "导出到 IoT Hub" + }, + "item-data": { + "widget-type-timeseries": "时间序列", + "widget-type-latest": "最新值", + "widget-type-rpc": "控制", + "widget-type-alarm": "告警", + "widget-type-static": "静态", + "cf-type-simple": "简单", + "cf-type-script": "脚本", + "cf-type-geofencing": "地理围栏", + "cf-type-alarm": "告警", + "cf-type-propagation": "传播", + "cf-type-related-entities-aggregation": "关联实体聚合", + "cf-type-entity-aggregation": "实体聚合", + "rule-chain-type-core": "核心", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "数据补充", + "node-type-filter": "过滤", + "node-type-transformation": "转换", + "node-type-action": "操作", + "node-type-analytics": "分析", + "node-type-external": "外部", + "node-type-flow": "流程", + "node-type-unknown": "未知" }, "js-func": { "no-return-error": "函数必须返回值!", @@ -5462,6 +6579,8 @@ "no-data": "无条目" }, "layout": { + "switch-to-html-page-title": "切换到 HTML 页面?", + "switch-to-html-page-text": "HTML 页面将替换此状态的部件网格。其布局中的 { count, plural, =1 {1 个部件} other {# 个部件} }将从此状态中移除。", "layout": "布局", "layouts": "布局", "manage": "管理布局", @@ -5548,8 +6667,8 @@ "new-password": "新密码", "new-password-again": "确认新密码", "password-link-sent-message": "重置链接已发送", - "email": "Email", - "invalid-email-format": "无效的 Email 格式。", + "email": "邮箱", + "invalid-email-format": "邮箱格式无效。", "no-account": "还没有账户?", "create-account": "创建账户", "sign-in-with": "使用 {{name}} 登录", @@ -5565,15 +6684,15 @@ "totp-auth-placeholder": "验证码", "sms-auth-description": "安全码已发送到您的手机号码 {{contact}}。", "sms-auth-placeholder": "短信验证码", - "email-auth-description": "安全码已发送到您的 Email 地址 {{contact}}。", - "email-auth-placeholder": "Email 验证码", + "email-auth-description": "安全码已发送到您的邮箱 {{contact}}。", + "email-auth-placeholder": "邮箱验证码", "backup-code-auth-description": "请输入您的备用验证码之一。", "backup-code-auth-placeholder": "备用验证码", "version-mask": "{{name}} v.{{version}}", "activation-link-expired": "激活链接已过期", - "activation-link-expired-message": "激活您个人资料的链接已过期。您可以返回登录页面以接收新的 Email。", + "activation-link-expired-message": "激活您个人资料的链接已过期。您可以返回登录页面以接收新邮件。", "reset-password-link-expired": "密码重置链接已过期", - "reset-password-link-expired-message": "重置密码的链接已过期。您可以返回登录页面以接收新的 Email。", + "reset-password-link-expired-message": "重置密码的链接已过期。您可以返回登录页面以接收新邮件。", "two-fa": "双因素认证", "two-fa-required": "需要双因素认证", "set-up-verification-method": "设置验证方式以继续", @@ -5582,8 +6701,8 @@ "enable-authenticator-app-description": "请输入您的身份验证器应用中的安全码", "enable-authenticator-sms": "启用短信验证", "enable-authenticator-sms-description": "请输入我们刚发送到以下号码的 6 位验证码:", - "enable-authenticator-email": "启用 Email 验证", - "enable-authenticator-email-description": "安全码已发送到您的 Email 地址:", + "enable-authenticator-email": "启用邮箱验证", + "enable-authenticator-email-description": "安全码已发送到您的邮箱:", "enter-key-manually": "或手动输入此 32 位密钥:", "continue": "继续", "confirm": "确认", @@ -5591,16 +6710,16 @@ "authenticator-app-success-description": "下次登录时,您需要提供双因素认证验证码", "authenticator-sms-success": "短信验证已成功启用", "authenticator-sms-success-description": "下次登录时,系统将提示您输入发送到该手机号码的安全码", - "authenticator-email-success": "Email 验证已成功启用", - "authenticator-email-success-description": "下次登录时,系统将提示您输入发送到您 Email 地址的安全码", + "authenticator-email-success": "邮箱验证已成功启用", + "authenticator-email-success-description": "下次登录时,系统将提示您输入发送到您邮箱的安全码", "authenticator-backup-code-success": "备用验证码已成功启用", "authenticator-backup-code-success-description": "下次登录时,系统将提示您输入安全码或使用备用验证码之一。", "add-verification-method": "添加验证方式", "get-backup-code": "获取备用验证码", "copy-key": "复制密钥", "send-code": "发送验证码", - "email-label": "Email", - "email-description": "输入用于身份验证的 Email。", + "email-label": "邮箱", + "email-description": "输入用于身份验证的邮箱。", "sms-description": "输入用于身份验证的手机号码。", "backup-code-description": "打印这些验证码,以便在需要登录账户时随时使用。每个备用验证码只能使用一次。", "backup-code-warn": "离开此页面后,这些验证码将无法再次显示。请使用以下选项安全保存。", @@ -5622,7 +6741,7 @@ "signup": { "firstname": "名", "lastname": "姓", - "email": "Email", + "email": "邮箱", "signup": "注册", "create-password": "创建密码", "repeat-password": "重复您的密码", @@ -5630,14 +6749,14 @@ "signin": "登录", "no-captcha-message": "您必须确认您不是机器人", "password-length-message": "密码长度至少为 6 个字符", - "email-verification": "Email 验证", - "email-verification-message": "一封包含验证信息的 Email 已发送到指定的 Email 地址。
    请按照 Email 中的说明完成注册流程。
    注意:如果长时间未收到 Email,请检查“垃圾邮件”文件夹或点击“重新发送”按钮重新发送 Email。", + "email-verification": "邮箱验证", + "email-verification-message": "一封包含验证信息的邮件已发送到指定的邮箱。
    请按照邮件中的说明完成注册流程。
    注意:如果长时间未收到邮件,请检查“垃圾邮件”文件夹或点击“重新发送”按钮重新发送邮件。", "account-activation-title": "账户激活", "account-activated": "账户已成功激活!", "account-activated-text": "恭喜!
    您的账户已激活。", "resend": "重新发送", "inactive-user-exists-title": "未激活的用户已存在", - "inactive-user-exists-text": "已有一个 Email 地址未验证的注册用户。
    如需重新发送验证 Email,请点击“重新发送”按钮。", + "inactive-user-exists-text": "已有一个邮箱未验证的注册用户。
    如需重新发送验证邮件,请点击“重新发送”按钮。", "activating-account": "正在激活账户…", "activating-account-text": "您的账户正在激活中,请稍候…", "accept-privacy-policy": "接受隐私政策", @@ -5688,6 +6807,7 @@ "min-version": "最低版本", "invalid-version-pattern": "无效的版本格式。请使用格式:主版本.次版本.修订版本(例如 1.0.0)。", "mobile-center": "移动中心", + "mobile-apps": "移动应用", "mobile-package": "应用程序包", "mobile-package-max-length": "应用程序包应少于 256 个字符", "mobile-package-required": "应用程序包为必填项。", @@ -5807,6 +6927,9 @@ "reset-self-registration-text": "请注意,确认后所有设置将丢失且无法恢复。" } }, + "monitor": { + "monitor": "监控" + }, "notification": { "ai-assistant-initial-prompt-placeholder": "描述您想要设置的内容...", "ai-assistant-example-explain-label": "通知的工作原理", @@ -5872,14 +6995,14 @@ "deleted": "已删除", "delivery-method": { "delivery-method": "发送方式", - "email": "Email", - "email-preview": "Email 通知预览", + "email": "邮件", + "email-preview": "邮件通知预览", "slack": "Slack", "slack-preview": "Slack 通知预览", "microsoft-teams": "Microsoft Teams", "microsoft-teams-preview": "Microsoft Teams 通知预览", - "sms": "SMS", - "sms-preview": "SMS 通知预览", + "sms": "短信", + "sms-preview": "短信通知预览", "web": "Web", "web-preview": "Web 通知预览", "mobile-app": "移动应用", @@ -5889,7 +7012,7 @@ "delivery-method-not-configure-contact": "发送方式未配置。请联系系统管理员。", "delivery-methods": "发送方式", "attach-report": "附加报告", - "attach-report-hint": "生成并将报告文件附加到 Email 或 Slack 消息中。目前仅支持“Email”和“Slack”发送方式。", + "attach-report-hint": "生成并将报告文件附加到邮件或 Slack 消息中。目前仅支持“邮件”和“Slack”发送方式。", "description": "描述", "device-activity-trigger-settings": "设备活跃触发器设置", "device-list-rule-hint": "如果该字段为空,触发器将应用于所有设备", @@ -5908,7 +7031,7 @@ "escalation-chain": "升级链", "failed-send": "发送失败", "fails": "{ count, plural, =1 {1 次失败} other {# 次失败} }", - "filter": "过滤", + "filter": "过滤器", "first-recipient": "第一收件人", "inactive": "不活跃", "inbox": "收件箱", @@ -5943,12 +7066,13 @@ "no-recipients-text": "未找到收件人", "no-rule": "未配置规则", "no-rules-notification": "暂无规则通知", - "no-severity-found": "未找到严重程度", + "no-severity-found": "未找到级别", "no-severity-matching": "未找到“{{severity}}”。", "no-template-matching": "未找到与“{{template}}”匹配的资源。", "create-new-template": "创建一个新模板!", "not-found-slack-recipient": "未找到 Slack 收件人", "notification": "通知", + "notifications": "通知", "notification-center": "通知中心", "notification-tap-action": "通知点击操作", "notification-tap-action-hint": "如果未启用,将使用默认告警仪表板", @@ -5959,7 +7083,7 @@ "assigned": "告警已分配", "cleared": "告警已清除", "created": "告警已创建", - "severity-changed": "告警严重程度已变更", + "severity-changed": "告警级别已变更", "unassigned": "告警已取消分配" }, "notify-on": "通知条件", @@ -6054,7 +7178,9 @@ "device-activity": "设备活跃", "entities-limit": "实体限制", "entities-limit-increase-request": "实体限制提升请求", - "addon-access-error": "附加组件/功能访问错误", + "addon-access-error": "附加功能访问错误", + "addon-access-request": "附加功能访问请求", + "plan-upgrade-request": "套餐升级请求", "entity-action": "实体操作", "general": "通用", "integration-lifecycle-event": "集成生命周期事件", @@ -6232,17 +7358,17 @@ "get-new-code": "获取新验证码", "main-2fa-method": "设为主要双因素认证方式", "dialog": { - "activation-step-description-email": "下次登录时,系统将提示您输入发送到您 Email 地址的安全码。", + "activation-step-description-email": "下次登录时,系统将提示您输入发送到您邮箱的安全码。", "activation-step-description-sms": "下次登录时,系统将提示您输入发送到该手机号码的安全码。", "activation-step-description-totp": "下次登录时,您需要提供双因素认证码。", "activation-step-label": "激活", "backup-code-description": "请打印这些验证码,以便在需要登录账户时使用。每个备用验证码只能使用一次。", "backup-code-warn": "离开此页面后,这些验证码将无法再次显示。请使用以下选项安全存储。", "download-txt": "下载(txt)", - "email-step-description": "输入要用作认证器的 Email 地址。", - "email-step-label": "Email", - "enable-email-title": "启用 Email 认证器", - "enable-sms-title": "启用 SMS 认证器", + "email-step-description": "输入要用作认证器的邮箱。", + "email-step-label": "邮箱", + "enable-email-title": "启用邮箱认证器", + "enable-sms-title": "启用短信认证器", "enable-totp-title": "启用认证器应用", "enter-verification-code": "在此输入 6 位验证码", "get-backup-code-title": "获取备用验证码", @@ -6263,11 +7389,11 @@ "verification-step-label": "验证" }, "provider": { - "email": "Email", - "email-description": "使用发送到您 Email 地址的安全码进行认证。", - "email-hint": "认证码通过 Email 发送至 {{ info }}", - "sms": "SMS", - "sms-description": "使用手机进行认证。登录时我们将通过 SMS 短信向您发送安全码。", + "email": "邮箱", + "email-description": "使用发送到您邮箱的安全码进行认证。", + "email-hint": "认证码通过邮件发送至 {{ info }}", + "sms": "短信", + "sms-description": "使用手机进行认证。登录时我们将通过短信向您发送安全码。", "sms-hint": "认证码通过短信发送至 {{ info }}", "totp": "认证器应用", "totp-description": "使用手机上的 Google Authenticator、Authy 或 Duo 等应用进行认证。它将生成登录所需的安全码。", @@ -6374,6 +7500,7 @@ "resource-library-details": "资源详情", "resource-type": "资源类型", "resources-library": "资源库", + "files": "文件", "search": "搜索资源", "selected-resources": "已选择 { count, plural, =1 {1 个资源} other {# 个资源} }", "system": "系统", @@ -6416,6 +7543,8 @@ "drop-resource-file-or": "拖放 JavaScript 文件或", "javascript-library": "JavaScript 库", "javascript-type": "JavaScript 类型", + "scripts": "脚本", + "script-type": "脚本类型", "javascript-resource-details": "JavaScript 资源详情", "javascript-resource-is-in-use": "JavaScript 资源正被其他实体使用", "javascript-resources-are-in-use": "JavaScript 资源正被其他实体使用", @@ -6467,6 +7596,7 @@ "create-new-rulechain": "创建新规则链", "rulechain-file": "规则链文件", "invalid-rulechain-file-error": "无法导入规则链:无效的规则链数据结构。", + "rulechain-not-found-warning": "未找到默认规则链。配置已在未指定规则链的情况下保存——您可以在配置设置中进行分配。", "copyId": "复制规则链 Id", "idCopiedMessage": "规则链 Id 已复制到剪贴板", "select-rulechain": "选择规则链", @@ -6497,7 +7627,17 @@ "unset-auto-assign-to-edge-title": "确定不在创建时将 Edge 规则链“{{ruleChainName}}”分配到 Edge 吗?", "unset-auto-assign-to-edge-text": "确认后,该 Edge 规则链将不再在创建时自动分配到 Edge。", "unassign-rulechain-title": "确定要取消分配规则链“{{ruleChainName}}”吗?", - "unassign-rulechains": "取消分配规则链" + "unassign-rulechains": "取消分配规则链", + "add-note": "添加备注", + "paste-note": "粘贴备注", + "note": "备注", + "edit-note": "编辑备注", + "note-content": "Markdown/HTML 内容", + "note-details": "备注详情", + "note-background-color": "背景颜色", + "note-border": "边框", + "note-apply-default-markdown-style": "应用默认 Markdown 样式", + "note-custom-css": "备注内容 CSS" }, "rulenode": { "rule-node-events": "规则节点事件", @@ -6591,7 +7731,7 @@ "entity-view-name-pattern": "实体视图名称", "customer-title-pattern": "客户标题", "dashboard-name-pattern": "仪表板标题", - "user-name-pattern": "用户 Email", + "user-name-pattern": "用户邮箱", "edge-name-pattern": "Edge 名称", "entity-name-pattern-required": "名称模式为必填项", "entity-name-pattern-hint": "名称模式字段支持模板化。使用 $[messageKey] 从消息中提取值,使用 ${metadataKey} 从元数据中提取值。", @@ -6809,13 +7949,13 @@ "alarm-type": "告警类型", "select-entity-types": "选择实体类型", "alarm-type-required": "告警类型为必填项。", - "alarm-severity": "告警严重程度", - "alarm-severity-required": "告警严重程度为必填项", - "alarm-severity-pattern": "告警严重程度模式", + "alarm-severity": "告警级别", + "alarm-severity-required": "告警级别为必填项", + "alarm-severity-pattern": "告警级别模式", "alarm-status-filter": "告警状态过滤器", "alarm-status-list-empty": "告警状态列表为空", "no-alarm-status-matching": "未找到匹配的告警状态。", - "no-alarm-severity-matching": "未找到匹配的告警严重程度。", + "no-alarm-severity-matching": "未找到匹配的告警级别。", "propagate": "将告警传播到关联实体", "propagate-to-owner": "将告警传播到实体所有者(客户或租户)", "propagate-to-owner-hierarchy": "将告警传播到实体所有者层级", @@ -6854,8 +7994,9 @@ "endpoint-url-pattern": "Endpoint URL 模式", "endpoint-url-pattern-required": "Endpoint URL 模式为必填项", "request-method": "请求方法", - "use-simple-client-http-factory": "使用简单客户端 HTTP 工厂", "ignore-request-body": "无请求体", + "request-body-template": "请求体模板", + "request-body-template-hint": "使用 ${metadataKey} 引用元数据,使用 $[messageKey] 引用消息值。如果为空,则将消息负载用作请求体。对于非 JSON 负载,请启用“解析为纯文本”。

    您可以使用占位符 ${secret:name;type:TYPE} 注入密钥,其中“name”为密钥标识符,“type”为 TEXT 或 TEXT_FILE。这适用于不直接支持“使用密钥”的规则节点配置字段。示例:${secret:tenant password;type:TEXT}。", "parse-to-plain-text": "解析为纯文本", "parse-to-plain-text-hint": "如果选中,请求体消息载荷将从 JSON 字符串转换为纯文本,例如 msg = \"Hello,\\t\"world\"\" 将解析为 Hello, \"world\"", "read-timeout": "读取超时时间(毫秒)", @@ -6879,6 +8020,7 @@ "bootstrap-servers": "Bootstrap 服务器", "bootstrap-servers-required": "Bootstrap 服务器值为必填项", "other-properties": "其他属性", + "other-properties-empty": "未配置其他属性", "key": "键", "key-required": "键为必填项", "retries": "失败时自动重试次数", @@ -6916,6 +8058,7 @@ "handshake-timeout-ms": "握手超时时间(毫秒)", "min-handshake-timeout-ms-message": "最小值仅允许为 0 毫秒。", "client-properties": "客户端属性", + "client-properties-empty": "未配置客户端属性", "queue-url-pattern": "队列 URL 模式", "queue-url-pattern-required": "队列 URL 模式为必填项", "delay-seconds": "延迟(秒)", @@ -6933,6 +8076,7 @@ "pubsub-topic-name": "主题名称", "pubsub-topic-name-required": "主题名称为必填项", "message-attributes": "消息属性", + "message-attributes-empty": "未配置消息属性", "message-attributes-hint": "在名称/值字段中使用 ${metadataKey} 获取元数据中的值,使用 $[messageKey] 获取消息体中的值", "connect-timeout": "连接超时时间(秒)", "connect-timeout-required": "连接超时时间为必填项。", @@ -6952,7 +8096,7 @@ "credentials-basic": "基本", "credentials-pem": "PEM", "credentials-pem-hint": "至少需要服务器 CA 证书文件或客户端证书和客户端私钥文件对", - "credentials-sas": "共享访问签名", + "credentials-sas": "Shared Access Signature", "secret-placeholder-hint": "您可以使用占位符 ${secret:name;type:TYPE} 注入密钥,其中 'name' 是密钥标识符,'type' 为 TEXT 或 TEXT_FILE。这在不直接支持“使用密钥”的规则节点配置字段中非常有用。示例:${secret:Header;type:TEXT}", "sas-key": "SAS 密钥", "sas-key-required": "SAS 密钥为必填项。", @@ -6973,7 +8117,7 @@ "use-metadata-interval-patterns-hint": "如果选中,规则节点将使用消息元数据或数据中的开始和结束间隔模式(假设间隔以毫秒为单位)。", "use-message-alarm-data": "使用消息告警数据", "overwrite-alarm-details": "覆盖告警详情", - "use-alarm-severity-pattern": "使用告警严重程度模式", + "use-alarm-severity-pattern": "使用告警级别模式", "check-all-keys": "检查所有指定字段是否存在", "check-all-keys-hint": "如果选中,将检查所有指定的键是否存在于消息数据和元数据中。", "check-relation-to-specific-entity": "检查与特定实体的关联", @@ -7010,7 +8154,9 @@ "group-cache-expiration-hint": "指定存储已找到的实体组记录的最大时间间隔。值为 0 表示记录永不过期。", "remove-from-current-groups": "从当前组中移除", "use-report-config-from-message": "使用消息中的报告配置", + "use-report-config-from-message-hint": "如果启用,规则节点将从传入消息中获取报告生成配置;否则使用下方指定的配置。", "use-system-reports-server": "使用系统报告服务器", + "use-system-reports-server-hint": "如果启用,规则节点将使用系统配置中的报告服务器端点 URL;否则使用下方指定的 URL。", "reports-server-endpoint-url": "报告服务器 Endpoint URL", "reports-server-endpoint-url-is-required": "报告服务器 Endpoint URL 为必填项。", "tls-version": "TLS 版本", @@ -7023,7 +8169,6 @@ "proxy-port-range": "代理端口应在 1 到 65535 的范围内。", "proxy-user": "代理用户", "proxy-password": "代理密码", - "proxy-scheme": "代理方案", "numbers-to-template": "电话号码收件人模板", "numbers-to-template-required": "电话号码收件人模板为必填项", "numbers-to-template-hint": "逗号分隔的电话号码,使用 ${metadataKey} 获取元数据中的值,使用 $[messageKey] 获取消息体中的值", @@ -7101,13 +8246,13 @@ "all-alarms": "所有告警", "for": "针对", "status-filter": "状态过滤器", - "severity-filter": "严重程度过滤器", + "severity-filter": "级别过滤器", "type-filter": "类型过滤器", "all-statuses": "所有状态", - "all-severities": "所有严重程度", + "all-severities": "所有级别", "all-types": "所有类型", "add-alarm-status": "+告警状态", - "add-alarm-severity": "+告警严重程度", + "add-alarm-severity": "+告警级别", "add-alarm-type": "+告警类型", "specify-interval": "指定间隔", "interval-seconds": "间隔(秒)", @@ -7140,8 +8285,8 @@ "entity-details-address2": "地址2", "entity-details-additional_info": "附加信息", "entity-details-phone": "电话", - "entity-details-email": "Email", - "email-sender": "Email 发送者", + "entity-details-email": "邮箱", + "email-sender": "发件人", "fields-to-check": "要检查的字段", "add-detail": "添加详情", "check-all-keys-tooltip": "如果启用,将检查消息和元数据字段名称中列出的所有字段是否存在于传入消息及其元数据中。", @@ -7244,7 +8389,7 @@ "period-value-key": "周期值键", "period-value-key-required": "周期值键为必填项。", "general-pattern-hint": "使用 ${metadataKey} 获取元数据中的值,使用 $[messageKey] 获取消息体中的值。", - "alarm-severity-pattern-hint": "使用 ${metadataKey} 获取元数据中的值,使用 $[messageKey] 获取消息体中的值。告警严重程度应为系统值(CRITICAL、MAJOR 等)", + "alarm-severity-pattern-hint": "使用 ${metadataKey} 获取元数据中的值,使用 $[messageKey] 获取消息体中的值。告警级别应为系统值(CRITICAL、MAJOR 等)", "output-node-name-hint": "规则节点名称对应于出站消息的关联类型,用于将消息转发到调用者规则链中的其他规则节点。", "use-server-ts": "使用服务器时间戳", "use-server-ts-hint": "对缺少显式时间戳的时间序列数据使用服务器当前时间戳。这有助于在处理来自多个源的消息或消息乱序到达时保持正确的排序。", @@ -7419,6 +8564,17 @@ "tell-failure-aws-lambda-hint": "如果 AWS Lambda 函数执行引发异常,规则节点将强制消息处理失败。", "basic-mode": "基本", "advanced-mode": "高级", + "url-hint": "输入请求 URL。请确保特殊字符已进行百分号编码。", + "query-params": "查询参数", + "query-params-hint": "要添加到请求 URL 中的附加查询参数。名称和值均支持模板化,并在模板解析后严格按照 RFC 3986 进行编码。", + "query-params-empty": "未配置查询参数", + "query-params-name": "名称", + "query-params-value": "值", + "query-params-name-required": "名称为必填项。", + "query-params-value-required": "值为必填项。", + "headers-empty": "未配置请求头", + "request-url": "请求 URL", + "url": "URL", "save-time-series": { "processing-settings": "处理设置", "processing-settings-hint": "定义传入消息的处理方式。基本处理设置允许您选择预配置的策略,而高级设置允许您为每个操作选择单独的处理策略。", @@ -7551,6 +8707,7 @@ "copyId": "复制角色 Id", "idCopiedMessage": "角色 Id 已复制到剪贴板", "permissions": "权限", + "excluded-permissions": "排除的权限", "role-required": "角色为必填项", "roles-required": "角色为必填项", "display-type": { @@ -7584,10 +8741,14 @@ "no-owners-matching": "未找到匹配“{{owner}}”的所有者。", "target-owner-required": "实体组所有者为必填项。", "target-user-group-owner-required": "用户组所有者为必填项。", - "no-group-permissions-text": "未找到组权限" + "no-group-permissions-text": "未找到组权限", + "permissions-merge-hint": "对于通用角色,被拒绝的操作仅在同一角色内生效。如果任何其他角色允许某项操作,则将授予访问权限。" }, "permission": { "permissions-required": "至少应指定一个权限条目。", + "resource-duplicate": "此资源已被选择", + "operations-required": "必须至少指定一个允许或拒绝的操作。", + "operation-overlap": "允许和拒绝的操作不应重叠。", "remove-permission": "移除权限条目", "add-permission": "添加权限条目", "other": "其他", @@ -7647,12 +8808,22 @@ "SECRET": "密钥", "JOB": "任务", "AI_MODEL": "AI 模型", - "API_KEY": "API 密钥" + "AI": "AI", + "API_KEY": "API 密钥", + "AGENT": "Agent", + "AGENT_GROUP": "Agent 组", + "AGENT_PROFILE": "Agent 配置", + "AGENT_APPLICATION": "Agent 应用", + "AGENT_APP_PROFILE": "Agent 应用配置", + "AGENT_APP_UNIT": "Agent 应用单元" } }, "operation": { "operation": "操作", "operations": "操作", + "allowed": "允许", + "denied": "拒绝", + "not-set": "未设置", "operations-required": "至少应指定一个操作。", "enter-operation": "输入操作", "no-operations-matching": "未找到匹配“{{operation}}”的操作。", @@ -7782,8 +8953,6 @@ "single-entity": "单个实体", "group-entities": "实体组", "entities-group-owner": "实体组所有者", - "single-device": "单个设备", - "group-of-devices": "设备组", "devices-group-owner": "设备组所有者", "message-body": "消息体", "target": "目标", @@ -7814,7 +8983,7 @@ "report": { "general-report-settings": "通用报告设置", "target-dashboard": "目标仪表板", - "email-config": "Email 配置", + "email-config": "邮件配置", "dashboard-state-param": "仪表板状态参数值", "base-url": "基础 URL", "base-url-required": "基础 URL 为必填项。", @@ -7827,7 +8996,7 @@ "customer-user-credentials": "客户用户凭据", "customer-user-credentials-required": "客户用户凭据为必填项", "generate-test-report": "生成测试报告", - "send-email": "发送 Email", + "send-email": "发送邮件", "from": "发件人", "from-required": "发件人为必填项。", "to": "收件人", @@ -7867,7 +9036,14 @@ "download": "下载报告", "report-filter": "报告过滤器", "no-reports-matching": "未找到匹配“{{entity}}”的报告。", - "report-required": "报告为必填项" + "report-required": "报告为必填项", + "generate-report": "生成报告", + "generate-report-started": "报告生成已开始。如果报告未显示,请刷新页面。", + "public-status": "公开访问", + "manage-public-access": "管理公开访问", + "public-status-hint": "启用后,任何拥有公开报告链接的人都可以下载该报告。", + "public-link-text": "此报告已公开。分享以下链接——任何拥有该链接的人都无需授权即可下载该报告。", + "copy-public-link": "复制链接" }, "report-template": { "report-template": "报告模板", @@ -8239,7 +9415,7 @@ "authentication": "认证错误", "jwt-token-expired": "JWT Token 已过期", "tenant-trial-expired": "租户试用已过期", - "credentials-expired": "凭证已过期", + "credentials-expired": "凭据已过期", "permission-denied": "权限被拒绝", "invalid-arguments": "参数无效", "bad-request-params": "请求参数错误", @@ -8362,12 +9538,21 @@ "maximum-scheduler-events": "调度器事件最大数量", "maximum-scheduler-events-required": "调度器事件最大数量为必填项。", "maximum-scheduler-events-range": "调度器事件最大数量不能为负数", + "maximum-agents": "Agent 最大数量", + "maximum-agents-required": "Agent 最大数量为必填项。", + "maximum-agents-range": "Agent 最大数量不能为负数", + "maximum-agent-applications": "Agent 应用最大数量", + "maximum-agent-applications-required": "Agent 应用最大数量为必填项。", + "maximum-agent-applications-range": "Agent 应用最大数量不能为负数", "maximum-resources-sum-data-size": "资源文件最大总大小(字节)", "maximum-resources-sum-data-size-required": "资源文件最大总大小为必填项。", "maximum-resources-sum-data-size-range": "资源文件最大总大小不能为负数", "maximum-resource-size": "单个资源文件最大大小(字节)", "maximum-resource-size-required": "单个资源文件最大大小为必填项", "maximum-resource-size-range": "单个资源文件最大大小不能为负数", + "maximum-report-size": "最大报告文件大小(字节)", + "maximum-report-size-required": "最大报告文件大小为必填项", + "maximum-report-size-range": "最大报告文件大小不能为负数", "maximum-ota-packages-sum-data-size": "OTA 软件包文件最大总大小(字节)", "maximum-ota-package-sum-data-size-required": "OTA 软件包文件最大总大小为必填项。", "maximum-ota-package-sum-data-size-range": "OTA 软件包文件最大总大小不能为负数", @@ -8470,13 +9655,13 @@ "max-rule-node-executions-per-message": "每条消息的规则节点执行最大次数", "max-rule-node-executions-per-message-required": "每条消息的规则节点执行最大次数为必填项。", "max-rule-node-executions-per-message-range": "每条消息的规则节点执行最大次数不能为负数", - "max-emails": "Email 发送最大数量", - "max-emails-required": "Email 发送最大数量为必填项。", - "max-emails-range": "Email 发送最大数量不能为负数", - "sms-enabled": "SMS 已启用", - "max-sms": "SMS 发送最大数量", - "max-sms-required": "SMS 发送最大数量为必填项。", - "max-sms-range": "SMS 发送最大数量不能为负数", + "max-emails": "邮件发送最大数量", + "max-emails-required": "邮件发送最大数量为必填项。", + "max-emails-range": "邮件发送最大数量不能为负数", + "sms-enabled": "启用短信", + "max-sms": "短信发送最大数量", + "max-sms-required": "短信发送最大数量为必填项。", + "max-sms-range": "短信发送最大数量不能为负数", "max-created-alarms": "告警创建最大数量", "max-created-alarms-required": "告警创建最大数量为必填项。", "max-created-alarms-range": "告警创建最大数量不能为负数", @@ -8507,6 +9692,10 @@ "relation-search-entity-limit-hint": "限制关联路径最后一级解析的实体数量。适用于“关联实体”参数和传播字段。", "relation-search-entity-limit-required": "关联搜索实体限制", "relation-search-entity-limit-range": "关联搜索实体限制不能小于“1”", + "ai": "AI", + "max-ai-credits": "AI 额度上限", + "max-ai-credits-required": "AI 额度上限为必填项。", + "max-ai-credits-range": "AI 额度上限不能为负数", "rate-limits": { "add-limit": "添加限制", "and-also-less-than": "且小于", @@ -8548,6 +9737,16 @@ "edit-edge-uplink-messages-per-edge-rate-limit": "编辑每个 Edge 的 Edge 上行消息速率限制", "edge-uplink-messages-rate-limit": "Edge 上行消息", "edge-uplink-messages-per-edge-rate-limit": "每个 Edge 的 Edge 上行消息", + "edit-agent-events-rate-limit": "编辑 Agent 事件速率限制", + "edit-agent-events-per-agent-rate-limit": "编辑单个 Agent 的事件速率限制", + "agent-events-rate-limit": "Agent 事件", + "agent-events-per-agent-rate-limit": "单个 Agent 的事件", + "edit-agent-log-chunks-rate-limit": "编辑 Agent 日志块速率限制", + "edit-agent-log-chunks-per-agent-rate-limit": "编辑单个 Agent 的日志块速率限制", + "agent-log-chunks-rate-limit": "Agent 日志块", + "agent-log-chunks-per-agent-rate-limit": "单个 Agent 的日志块", + "ai-chat-requests-rate-limit": "AI 聊天请求", + "edit-ai-chat-requests-rate-limit": "编辑 AI 聊天请求速率限制", "messages-per": "消息每", "not-set": "未设置", "number-of-messages": "消息数量", @@ -9155,6 +10354,7 @@ "cubic-foot-per-minute": "立方英尺每分钟", "cubic-meters-per-hour": "立方米每小时", "cubic-meters-per-second": "立方米每秒", + "cubic-meters-per-minute": "立方米每分钟", "liter-per-second": "升每秒", "liter-per-minute": "升每分钟", "gallons-per-minute": "加仑每分钟", @@ -9286,11 +10486,11 @@ "delete-users-title": "确定要删除 { count, plural, =1 {1 个用户} other {# 个用户} }吗?", "delete-users-action-title": "删除 { count, plural, =1 {1 个用户} other {# 个用户} }", "delete-users-text": "请注意,确认后所有选中的用户将被移除,且所有相关数据将无法恢复。", - "activation-email-sent-message": "激活 Email 已成功发送!", + "activation-email-sent-message": "激活邮件已成功发送!", "resend-activation": "重新发送激活", - "email": "Email", - "email-required": "Email 为必填项。", - "invalid-email-format": "Email 格式无效。", + "email": "邮箱", + "email-required": "邮箱为必填项。", + "invalid-email-format": "邮箱格式无效。", "first-name": "名", "last-name": "姓", "description": "描述", @@ -9311,7 +10511,7 @@ "login-as-customer-user": "以客户用户身份登录", "select-group-to-add": "选择目标分组以添加选中的用户", "select-group-to-move": "选择目标分组以移动选中的用户", - "remove-users-from-group": "确定要从分组“{{entityGroup}}”中移除 { count, plural, =1 {1 个用户} other {# 个用户} }吗?", + "remove-users-from-group": "确定要从分组“'{{entityGroup}}'”中移除 { count, plural, =1 {1 个用户} other {# 个用户} }吗?", "group": "用户组", "list-of-groups": "{ count, plural, =1 {1 个用户组} other {# 个用户组列表} }", "group-name-starts-with": "名称以“{{prefix}}”开头的用户组", @@ -9340,8 +10540,8 @@ "double-value-required": "双精度浮点数值为必填项", "boolean": "布尔值", "boolean-value": "布尔值", - "false": "False", - "true": "True", + "false": "假", + "true": "真", "long": "长整数", "json": "JSON", "json-value": "JSON 值", @@ -9362,7 +10562,7 @@ "author": "作者", "export-relations": "导出关联", "export-attributes": "导出属性", - "export-credentials": "导出凭证", + "export-credentials": "导出凭据", "export-group-entities": "导出分组实体", "export-roles": "导出角色", "export-calculated-fields": "导出计算字段\n及告警规则", @@ -9382,7 +10582,7 @@ "restoring-entity-version": "正在恢复实体版本…请稍候", "load-relations": "加载关联", "load-attributes": "加载属性", - "load-credentials": "加载凭证", + "load-credentials": "加载凭据", "load-calculated-fields": "加载计算字段和告警规则", "load-alarm-rules": "加载告警规则", "load-group-entities": "加载分组实体", @@ -9422,7 +10622,7 @@ "default-create-entity-version-name": "{{entityName}} 更新", "sync-strategy-merge-hint": "在仓库中创建或更新选中的实体。所有其他仓库实体不会被修改。", "sync-strategy-overwrite-hint": "在仓库中创建或更新选中的实体。所有其他仓库实体将被删除。", - "device-credentials-conflict": "无法加载外部 ID 为 {{entityId}} 的设备,
    因为数据库中另一个设备已存在相同的凭证。
    请考虑在恢复表单中禁用加载凭证设置。", + "device-credentials-conflict": "无法加载外部 ID 为 {{entityId}} 的设备,
    因为数据库中另一个设备已存在相同的凭据。
    请考虑在恢复表单中禁用加载凭据设置。", "missing-referenced-entity": "无法加载外部 ID 为 {{sourceEntityId}} 的 {{sourceEntityTypeName}},
    因为它引用了缺失的 ID 为 {{targetEntityId}} 的 {{targetEntityTypeName}}。", "add-entity-groups": "添加实体分组", "entity-groups": "实体分组", @@ -9494,6 +10694,7 @@ "widget-bundle": "部件包", "all-bundles": "所有包", "select-widgets-bundle": "选择部件包", + "installed": "已安装", "widgets": "部件", "all-widgets": "所有部件", "widget": "部件", @@ -9524,6 +10725,11 @@ "rpc-short": "控制", "alarm-short": "告警", "static-short": "静态", + "type-timeseries": "时间序列", + "type-latest": "最新值", + "type-rpc": "控制", + "type-alarm": "告警", + "type-static": "静态", "select-widget-type": "选择部件类型", "missing-widget-title-error": "必须指定部件标题!", "widget-saved": "部件已保存", @@ -9679,7 +10885,89 @@ "auto": "自动", "wi-fi": "Wi-Fi", "ble": "BLE", - "soft-ap": "Soft AP" + "soft-ap": "Soft AP", + "save-to-entity": "将位置保存到实体", + "target-panel-title": "目标", + "target-save-to": "保存到", + "target-mode-entity": "实体", + "target-current-entity": "部件数据源中的实体", + "target-current-user": "当前用户", + "target-entity-alias": "实体别名", + "target-from-attribute": "来自属性", + "target-entity-alias-name": "别名名称", + "target-entity-alias-name-required": "别名名称为必填项。", + "target-attribute-source": "从以下对象读取属性", + "target-attribute-key": "服务端属性键", + "target-attribute-key-required": "服务端属性键为必填项。", + "target-attribute-value-hint": "该属性必须包含一个同时带有两个字段的实体 ID 对象,例如 {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}。不接受纯 ID 字符串。", + "location-save-failed": "保存位置失败:{{error}}", + "start-live-location": "开始实时位置跟踪", + "stop-live-location": "停止实时位置跟踪", + "accuracy": "精度", + "accuracy-hint": "在每次定位的精确程度与跟踪耗电量之间进行权衡。", + "accuracy-high": "高", + "accuracy-high-hint": "使用 GPS 获取最精确的位置,误差约 5 米。最适合车辆或外勤人员跟踪,但耗电最快。", + "accuracy-balanced": "均衡", + "accuracy-balanced-hint": "使用 Wi-Fi 和基站定位,仅在需要时回退到 GPS,精度约 40 米。适合作为定期上报位置的默认选项,耗电适中。", + "accuracy-low": "低", + "accuracy-low-hint": "仅使用基站定位,精度约 500 米或更差。最适合长时间的城市级位置感知,耗电最少。", + "live-location-advanced-settings": "高级设置", + "distance-filter": "按移动距离限制更新", + "distance-filter-hint": "在设备距上次上报的位置移动至少该距离之前,跳过更新。", + "distance-filter-value": "距离", + "distance-filter-value-min": "距离应至少为 1 米。", + "distance-filter-value-pattern": "距离应为整数。", + "distance-filter-value-required": "距离为必填项。", + "interval": "按时间间隔限制更新", + "interval-hint": "请求新位置的频率不超过此值。未设置时,更新将按设备上报的速度到达。", + "interval-value": "间隔", + "interval-value-min": "间隔应至少为 1 秒。", + "interval-value-required": "间隔为必填项。", + "max-duration": "达到最长时长后停止跟踪", + "max-duration-hint": "自跟踪开始起经过该时长后,跟踪将自动停止。", + "max-duration-value": "时长", + "max-duration-value-min": "时长应至少为 1 分钟。", + "max-duration-value-required": "时长为必填项。" + }, + "location": { + "saved-keys": "保存到实体的键", + "argument": "参数", + "key-name": "数据键", + "value-type": "类型", + "add-key": "添加键", + "remove-key": "移除键", + "duplicate-key-names": "数据键必须唯一。", + "key-latitude": "纬度", + "key-longitude": "经度", + "key-accuracy": "精度", + "key-altitude": "海拔", + "key-speed": "速度", + "key-heading": "航向", + "key-gps-active": "GPS 已启用", + "key-gps-tracked-by": "执行 GPS 跟踪的用户", + "value-type-attribute": "服务端属性", + "value-type-timeseries": "时间序列", + "error-no-current-entity": "部件操作没有当前实体。", + "error-no-current-user": "无法确定当前用户。", + "error-save-failed": "服务器意外错误", + "error-permission-denied": "权限被拒绝", + "error-alias-not-found": "在仪表板中未找到实体别名“{{alias}}”。", + "error-alias-not-resolved": "实体别名“{{alias}}”未解析到任何实体。", + "error-attribute-not-found": "在源实体上未找到属性“{{key}}”。", + "error-attribute-not-object": "属性“{{key}}”不是实体 ID 对象。应同时包含 entityType 和 id 字段,例如 {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}。", + "error-attribute-incomplete": "属性“{{key}}”缺少实体 ID 对象的 entityType 或 id 字段。", + "error-attribute-unknown-entity-type": "属性“{{key}}”引用了未知的实体类型“{{entityType}}”。", + "error-unknown-target-type": "未知的目标实体来源“{{type}}”" + }, + "save-browser-location": "保存浏览器位置", + "browser-location": { + "location-saved": "浏览器位置已保存", + "location-save-failed": "保存浏览器位置失败:{{error}}", + "error-unsupported": "此浏览器不支持位置检测", + "error-insecure-context": "浏览器位置需要安全(HTTPS)连接", + "error-permission-denied": "位置权限被拒绝", + "error-position-unavailable": "当前位置不可用", + "error-timeout": "获取当前位置超时" }, "custom-action-function": "自定义操作函数", "custom-pretty-function": "自定义操作(带 HTML 模板)函数", @@ -9693,7 +10981,7 @@ }, "place-map-item": "放置地图项目", "map-item-tooltip": { - "customize-map-item-tooltips": "自定义地图项目提示", + "customize-map-item-tooltips": "自定义地图项提示框", "place-marker": "放置标记", "start-draw-rectangle": "开始绘制矩形", "finish-draw-rectangle": "完成绘制矩形", @@ -9753,7 +11041,7 @@ "widget-card": "部件卡片", "mobile": "移动端", "title": "标题", - "title-tooltip": "标题提示", + "title-tooltip": "标题提示框", "general-settings": "常规设置", "display-title": "显示部件标题", "card-title": "卡片标题", @@ -9804,6 +11092,26 @@ "add-action": "添加操作", "search-actions": "搜索操作", "no-actions-text": "未找到操作", + "import-actions": "导入操作", + "export-actions": "导出操作", + "export-action": "导出操作", + "duplicate-action": "创建操作副本", + "copy-action": "复制操作", + "copy-all-actions": "复制所有操作", + "action-copied": "操作已复制", + "actions-copied": "操作已复制", + "paste-actions": "粘贴操作", + "clear-actions": "清除所有操作", + "clear-actions-title": "清除所有操作", + "clear-actions-text": "确定要移除所有部件操作吗?", + "actions-file": "部件操作文件", + "actions-json-content": "操作 JSON 内容", + "invalid-actions-file-error": "无法导入部件操作:部件操作数据结构无效。", + "import-actions-imported": "{ count, plural, =0 {未导入任何操作} =1 {已导入 1 个操作} other {已导入 # 个操作} }", + "paste-actions-pasted": "{ count, plural, =0 {未粘贴任何操作} =1 {已粘贴 1 个操作} other {已粘贴 # 个操作} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {未创建任何操作副本} =1 {已创建 1 个操作副本} other {已创建 # 个操作副本} }", + "import-actions-skipped": "{ count, plural, =1 {1 个操作因不适用或已为此部件配置而被跳过} other {# 个操作因不适用或已为此部件配置而被跳过} }", + "import-actions-columns-reset": "{ count, plural, =1 {1 个单元格点击操作未分配列。请编辑该操作以分配列。} other {# 个单元格点击操作未分配列。请编辑这些操作以分配列。} }", "action-source": "操作来源", "select-action-source": "选择操作来源", "action-source-required": "操作来源为必填项。", @@ -9866,7 +11174,7 @@ "card-padding": "卡片内边距", "card-appearance": "卡片外观", "color": "颜色", - "tooltip": "提示", + "tooltip": "提示框", "units-required": "单位为必填项。", "list-layout": "列表布局", "layout": "布局", @@ -9911,9 +11219,9 @@ "mobile-package-placeholder": "例如:my.example.app", "mobile-package-hint": "Android:您自己的唯一 Application ID。iOS:产品 Bundle Identifier。", "mobile-package-required": "应用包名为必填项", - "mobile-app-secret": "Application secret", - "invalid-mobile-app-secret": "Application secret 只能包含字母数字字符,长度必须在 16 到 2048 个字符之间。", - "copy-mobile-app-secret": "复制 Application secret", + "mobile-app-secret": "应用密钥", + "invalid-mobile-app-secret": "应用密钥只能包含字母数字字符,长度必须在 16 到 2048 个字符之间。", + "copy-mobile-app-secret": "复制应用密钥", "mobile-app-scheme": "应用 URL Scheme", "mobile-app-scheme-placeholder": "例如:customscheme", "mobile-app-scheme-required": "应用 URL Scheme 为必填项", @@ -9928,24 +11236,133 @@ "show-terms-of-use": "显示使用条款", "domain-settings": "域名设置", "general-settings": "常规设置", - "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterprise 账户凭证 JSON 文件", - "select-recaptcha-enterprise-service-account-file": "拖放您的账户凭证文件" + "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterprise 账户凭据 JSON 文件", + "select-recaptcha-enterprise-service-account-file": "拖放您的账户凭据文件" }, - "solution-template": { - "solution-template": "解决方案模板", - "solution-templates": "解决方案模板", - "management": "管理解决方案模板", - "details": "详情", - "install": "安装", - "level": "级别", - "install-title": "解决方案模板安装成功", - "install-failed-title": "解决方案模板安装失败", - "instructions": "说明", - "goto-main-dashboard": "前往主仪表板", - "delete": "删除", - "delete-solution-title": "确定要删除解决方案 '{{solutionTitle}}' 吗?", - "delete-solution-text": "请注意,确认后该解决方案及所有相关数据将无法恢复。", - "installing": "正在安装解决方案模板..." + "solution-creator": { + "ai-solution-creator": "AI 解决方案创建器", + "describe-solution-you-want": "描述您要创建的解决方案", + "enter-your-prompt": "输入提示词", + "target": "目标", + "install-solution": "安装", + "solution-overview": "解决方案概览:{{ name }}", + "dashboards-overview": "仪表板概览:{{ name }}", + "entity-profile": "实体配置", + "entity-profiles": "实体配置", + "name": "名称", + "iam": "IAM", + "iam-full": "身份和访问管理", + "table-view": "表格", + "schema-view": "架构", + "iam-info": "IAM 信息", + "operation": { + "C": "创建", + "R": "读取", + "U": "更新", + "D": "删除" + }, + "alarm-info": "告警信息", + "description": "描述", + "data": "数据", + "entity-info": "实体信息", + "calculated-field-info": "计算字段信息", + "field-type": "字段类型", + "scope": "范围", + "delete-alarm-title": "删除此建议告警?", + "delete-alarm-text": "此告警是根据您的描述建议的,删除后将不会添加到拟构建的解决方案中。
    您以后随时可以手动编辑或重新创建告警。此操作无法撤销。", + "basic-mode": "基础", + "advanced-mode": "高级", + "create-solution": "创建解决方案", + "go-dashboard-manager": "下一步:仪表板设计", + "success-generate-title": "解决方案已就绪!", + "success-generate-sub-title": "点击下方按钮,即可将其安装到您的账户", + "success-generate-install-title": "解决方案已安装!", + "success-generate-install-sub-title": "如需编辑该解决方案,请先卸载现有实例", + "main-title": "您好!我是您的 AI 助手", + "sub-title": "我可以帮助您将需求转化为功能完备的物联网解决方案。\n只需描述您想实现的目标,其余的交给我。", + "solutions": "解决方案", + "new-solution": "新建解决方案", + "uninstall-solution": "卸载", + "uninstall-solution-dialog-title": "确定要卸载“{{ name }}”吗?", + "uninstall-solution-dialog-text": "所有相关实体和仪表板都将从您的账户中删除", + "uninstall-solution-dialog-confirm": "是,卸载", + "delete-solution-title": "确定要删除“{{ name }}”吗?", + "delete-solution-text": "您的所有数据都将丢失。", + "delete-solution-confirm": "是,删除", + "copy-solution": "复制解决方案", + "expand-sidebar": "展开侧边栏", + "collapse-sidebar": "收起侧边栏", + "solution-id": "解决方案 ID", + "solution-id-required": "解决方案 ID 为必填项。", + "rename-solution-title": "重命名此解决方案", + "generate-again": "重新生成", + "skip-interview": "跳过问答", + "update-solution": "更新解决方案", + "finish-edit": "完成编辑", + "lorawan-tracking": "LoRaWAN 跟踪", + "smart-parking": "智慧停车", + "weather-monitoring": "气象监测", + "water-metering": "水表计量", + "coffee-machine-monitoring": "咖啡机监控", + "fleet-geofencing": "车队地理围栏", + "more-examples": "更多示例", + "hide": "隐藏", + "solution-info": "解决方案信息", + "solution-info-with-name": "解决方案信息:{{ name }}", + "status": "状态", + "only-failures": "仅失败项", + "failed-create-entity": "创建实体失败", + "failed-install-entity": "安装实体失败", + "copy-id": "复制 ID", + "id-copied-message": "解决方案 ID 已复制到剪贴板", + "credits": "额度", + "info": "信息", + "main-dashboard": "主仪表板", + "view-as": "以 {{ name }} 身份查看", + "generated-by-calculated-field-name": "由计算字段“{{ name }}”生成", + "estimate-wait-time": "预计等待时间约为 {{ time }}", + "analyzing-your-request": "正在分析您的请求...", + "condition": "条件", + "installing": "正在安装解决方案...", + "step-architecture-design": "架构设计", + "step-dashboard-design": "仪表板设计", + "step-solution-installation": "解决方案安装", + "step-reading-device-data": "正在读取设备数据…", + "step-analyzing-telemetry-attributes": "正在分析遥测和属性…", + "step-selecting-widgets": "正在为您的数据选择部件…", + "step-configuring-titles-units-ranges": "正在配置标题、单位和范围…", + "step-designing-layout": "正在设计布局…", + "step-arranging-widgets": "正在仪表板上排列部件…", + "generate-dashboard": "生成仪表板", + "generate-dashboard-with-ai": "使用 AI 生成仪表板", + "no-telemetry-title": "未找到遥测数据", + "no-telemetry-message": "该设备尚未发送任何遥测数据。\n请先从设备发送遥测数据,然后再生成仪表板。", + "send-telemetry": "发送遥测数据", + "step-loading-updating-entities": "正在更新实体…", + "step-loading-restructuring-roles": "正在重构角色…", + "step-loading-rebuilding-alarm-rules": "正在重建告警规则…", + "step-loading-reassembling-dashboards": "正在重新组装仪表板…", + "step-loading-updating-solution": "正在更新您的解决方案…", + "step-loading-designing-dashboards-structure": "正在设计仪表板结构…", + "step-loading-designing-dashboards-states": "正在设计仪表板状态…", + "step-loading-designing-widgets": "正在设计部件…", + "step-loading-adding-finishing-touches": "正在进行最后的完善…", + "step-loading-evaluating-solution-changes": "正在评估解决方案变更…", + "step-loading-reevaluating-use-cases": "正在重新评估用例…", + "step-loading-finalizing": "正在完成…", + "step-loading-creating-entities": "正在创建实体…", + "step-loading-configuring-devices": "正在配置设备…", + "step-loading-setting-up-relations": "正在设置关联…", + "step-loading-structuring-access-controls": "正在构建访问控制…", + "step-loading-building-calculated-fields": "正在构建计算字段…", + "step-loading-building-alarm-rules": "正在构建告警规则…", + "step-loading-assembling-dashboards": "正在组装仪表板…", + "step-loading-preparing-states": "正在准备状态…", + "step-loading-initializing-solution": "正在初始化解决方案…", + "ai-credits": "AI 额度", + "ai-credits-update": "更改套餐", + "ai-credits-usage": "AI 额度:已使用 {{ used }}/{{ max }}", + "ai-credits-description": "本月您已使用 AI 额度 {{ used }}/{{ max }}。额度将于 {{ date }} 重置。如需提高 AI 额度,请联系系统管理员。" }, "markdown": { "edit": "编辑", @@ -9962,24 +11379,27 @@ "preview": "预览", "app-title": "应用标题", "favicon": "网站图标", - "favicon-description": "*.ico、*.gif 或 *.png 图片,最大 {{kbSize}} KB。", - "favicon-size-error": "网站图片过大。允许的最大网站图片大小为 {{kbSize}} KB。", - "favicon-type-error": "无效的网站图片文件格式。仅接受 ICO、GIF 或 PNG 图片。", - "drop-favicon-image": "拖放网站图标图片或点击选择要上传的文件。", - "drop-favicon-image-or": "拖放网站图标图片或", - "no-favicon-image": "未选择图标", + "favicon-desc": "浏览器标签页和书签中的图标。PNG 或 ICO,建议 32×32 px", "logo": "Logo", - "logo-description": "任意图片,最大 {{kbSize}} KB。", - "logo-size-error": "Logo 图片过大。允许的最大 Logo 图片大小为 {{kbSize}} KB。", - "logo-type-error": "无效的 Logo 文件格式。仅接受图片文件。", - "drop-logo-image": "拖放 Logo 图片或点击选择要上传的文件。", - "drop-logo-image-or": "拖放 Logo 图片或", - "no-logo-image": "未选择 Logo", + "logo-desc": "SVG 或 PNG,高度至少 96px,不超过 200 KB", "logo-height": "Logo 高度(px)", + "logo-height-desc": "按比例缩放 Logo 并居中。Logo 较高时可增大高度(最高 200px)", + "collapsed-logo": "侧边栏折叠时的 Logo", + "collapsed-logo-desc": "正方形 SVG 或 PNG,至少 48×48 px,不超过 100 KB", + "appearance": "外观", + "application-shell": "应用框架", + "application-shell-desc": "选择主色在侧边栏、应用栏和页面标题上的应用方式", + "light": "浅色", + "primary": "主色", "primary-palette": "主色调", + "primary-palette-desc": "主品牌色。用于侧边栏、应用栏、页面标题、按钮、链接和活动菜单项", "accent-palette": "强调色调", + "accent-palette-desc": "复选框、单选按钮、开关、滑块、进度条和徽章", "customize-palette": "自定义", "advanced-css": "高级 CSS", + "advanced-css-desc": "自定义 CSS,用于在调色板之外微调任意 UI 元素——图标、字体、背景、滚动条等。更改将应用于整个平台,请谨慎使用。适用于高级用户", + "add-custom-css": "添加自定义 CSS", + "edit-custom-css": "编辑自定义 CSS", "edit-palette": "编辑色调", "save-palette": "保存色调", "primary-background": "主背景", @@ -9988,19 +11408,26 @@ "hue2": "HUE 2", "hue3": "HUE 3", "page-background-color": "页面背景颜色", + "page-background-color-desc": "填充页面后方的主内容区域", "dark-foreground": "深色前景", + "dark-foreground-desc": "将登录页面的文本和图标设为深色。适用于浅色背景", "domain-name": "域名", "base-url": "基础 URL", "base-url-required": "基础 URL 为必填项", "prohibit-different-url": "禁止使用客户端请求头中的主机名", "prohibit-different-url-hint": "此设置应在生产环境中启用。禁用时可能导致安全问题", "help-link-base-url": "帮助链接基础 URL", + "help-link-base-url-desc": "外部文档门户的基础 URL。用户将被重定向到此处查看详细指南", "ui-help-base-url": "UI 帮助基础 URL", + "ui-help-base-url-desc": "系统用于动态获取并显示应用内简短提示框的源仓库 URL", "enable-help-links": "启用帮助链接", + "enable-help-links-desc": "在平台界面各处显示上下文帮助图标 (?)", "error-verification-url": "域名不应包含 '/' 和 ':' 符号。示例:thingsboard.io", - "hide-connectivity-dialog": "隐藏连接对话框", - "override-trendz-add-on-name": "覆盖 Trendz Analytics 附加组件名称", - "override-trendz-add-on-name-hint": "启用后,“Trendz analytics”将在整个平台中显示为“Advanced analytics”。", + "show-connectivity-dialog": "显示连接对话框", + "show-connectivity-dialog-desc": "创建设备后显示包含连接说明的设备连接对话框", + "override-trendz-add-on-name": "覆盖 Trendz 分析附加功能名称", + "override-trendz-add-on-name-desc": "在整个平台中将“Trendz”附加功能重命名为“高级分析”", + "show-platform-name-version-bottom-left-corner": "在左下角显示平台名称和版本", "show-platform-name-version": "显示平台名称和版本", "platform-name": "平台名称", "platform-version": "平台版本", @@ -10014,7 +11441,10 @@ "reset-white-label-text": "请注意,确认后所有自定义设置将丢失且无法恢复。", "reset-login-white-label-title": "确定要将登录白标设置重置为默认值吗?", "reset-login-white-label-text": "请注意,确认后所有自定义设置将丢失且无法恢复。", - "app-title-max-length": "应用标题不能超过 256 个字符" + "app-title-max-length": "应用标题不能超过 256 个字符", + "logo-and-titles": "Logo 和标题", + "interface-options": "界面选项", + "domain": "域名" }, "widgets": { "mobile-app-qr-code": { @@ -11077,6 +12507,11 @@ "rpc": { "value-settings": "值设置", "initial-value": "初始值", + "initial-value-hint": "定义收到第一个值之前的初始值。", + "initial-led-state": "LED 初始状态", + "initial-led-state-hint": "定义收到第一个值之前的 LED 初始状态。", + "on": "开", + "off": "关", "retrieve-value-settings": "获取开/关值设置", "retrieve-value-method": "使用方法获取值", "retrieve-value-method-none": "不获取", @@ -11202,6 +12637,7 @@ "roadmap": "路线图", "satellite": "卫星图", "hybrid": "混合图", + "webgl-not-available": "所选地图图层需要图形加速才能显示。请在浏览器设置中启用“硬件加速”,或切换到其他图层。", "reference": { "reference-layer": "参考图层", "no-layer": "无图层", @@ -11217,9 +12653,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -11243,7 +12682,18 @@ }, "custom": { "title": "自定义", - "tile-url": "瓦片 URL" + "tile-url": "瓦片 URL", + "style-url": "样式 URL", + "vector-tiles": "矢量瓦片", + "vector-tiles-hint": "使用 OpenFreeMap 或 MapTiler 等提供商的样式 URL 时启用。", + "attribution": "版权文本", + "attribution-hint": "显示在地图底部。大多数瓦片提供商要求显示此信息。" + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -11540,10 +12990,7 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "凭据", - "here-app-id": "HERE 应用 ID", - "here-app-code": "HERE 应用代码", "here-api-key": "HERE API 密钥", - "here-use-new-version-api-3": "使用 API 版本 3", "tencent-maps-api-key": "腾讯地图 API 密钥", "tencent-map-type-roadmap": "路线图", "tencent-map-type-satelite": "卫星图", @@ -11881,7 +13328,7 @@ "counter-color": "颜色", "notification-button": "通知按钮", "button-view-all": "查看全部", - "button-filter": "筛选", + "button-filter": "过滤器", "type-filter": "类型筛选", "button-mark-read": "全部标记为已读", "notification-types": "通知类型", @@ -12033,6 +13480,8 @@ "chart": "图表", "chart-style": "图表样式", "data-zoom": "数据缩放", + "data-zoom-update-timewindow": "缩放时更新时间窗口", + "reset-timewindow": "返回原始时间窗口", "stack-mode": "堆叠模式", "stack-mode-hint": "在图表上堆叠系列。具有相同单位的系列将叠放在一起。", "axes": "轴", @@ -12286,6 +13735,7 @@ "state-when-result-is": "当结果为“{{state}}”时", "parameters": "参数", "convert-value-function": "转换值函数", + "rpc-params-function": "RPC 参数函数", "error": { "target-entity-is-not-set": "未设置目标实体!", "failed-to-perform-action": "执行 {{ actionLabel }} 操作失败。", @@ -12371,6 +13821,9 @@ "no-links-matching": "未找到与“{{name}}”匹配的链接。", "columns": "列数" }, + "iot-hub": { + "title-text": "借助经社区验证的资源更快构建,资源来自" + }, "recent-dashboards": { "title": "仪表板", "last": "最近查看", @@ -12383,7 +13836,7 @@ "title": "已配置功能", "info": "需要配置的功能状态", "white-labeling-feature": "白标", - "email-feature": "Email", + "email-feature": "邮件", "sms-feature": "短信", "slack-feature": "Slack", "oauth2-feature": "OAuth 2", @@ -12407,6 +13860,7 @@ "license-portal": "许可证门户", "devices-info": "{count} / { max, plural, =0 {∞} other {#} } 设备", "assets-info": "{count} / { max, plural, =0 {∞} other {#} } 资产", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edge", "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } 仪表板", "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } 集成", "community-support": "社区支持", @@ -12433,7 +13887,6 @@ "roles-and-permissions": "角色与权限", "groups": "分组", "integrations": "集成", - "solution-templates": "解决方案模板", "scheduler": "调度器", "white-labeling": "白标" }, @@ -12448,11 +13901,6 @@ "assigned-to-me": "分配给我", "total": "总计" }, - "solution-templates": { - "title": "解决方案模板", - "prototype-plan": "原型方案", - "startup-plan": "创业方案" - }, "getting-started": { "get-started": "开始使用", "finish": "完成", @@ -12503,7 +13951,7 @@ }, "step2": { "title": "连接设备", - "content-before": "

    要连接设备,您需要获取设备凭据。本指南建议使用默认自动生成的凭据,即访问令牌。

    • 前往设备列表
    • 点击设备行以打开设备详情
    • 点击“复制访问令牌”按钮

    使用简单命令通过 HTTP 发布数据。请将 $ACCESS_TOKEN 替换为您的设备访问令牌:

    ", + "content-before": "

    要连接设备,您需要获取设备凭据。本指南建议使用默认自动生成的凭据,即访问 Token。

    • 前往设备列表
    • 点击设备行以打开设备详情
    • 点击“复制访问 Token”按钮

    使用简单命令通过 HTTP 发布数据。请将 $ACCESS_TOKEN 替换为您的设备访问 Token:

    ", "ubuntu": { "install-curl": "为 Ubuntu 安装 cURL:" }, @@ -12542,6 +13990,18 @@ } } }, + "html-container": { + "java-script": "JavaScript", + "js-function": "JavaScript 函数", + "html": "HTML", + "angular-html-template": "Angular HTML 模板", + "css": "CSS", + "container-type": "容器类型", + "type-plain": "纯 HTML", + "type-angular": "Angular", + "resources": "资源", + "no-resources": "未配置资源" + }, "api-usage": { "api-usage": "API 使用情况", "label": "标签", @@ -12564,11 +14024,219 @@ "icons": "图标", "custom": "自定义", "select-icon": "选择图标", - "material-icons": "Material 图标", + "material-icons": "Material icons", "show-all": "显示全部图标", "search-icon": "搜索图标", "no-icons-found": "未找到与“{{iconSearch}}”匹配的图标" }, + "subscription": { + "entity-limit-text": "不过,您可以升级套餐以提高限额。", + "upgrade-your-plan": "升级套餐", + "license-management": "许可证管理", + "perpetual-license": "永久许可证", + "subscription": "订阅", + "perpetual": "永久", + "manage-license": "管理许可证", + "updated-ago": "更新于 {{ago}}", + "usage-and-limits": "用量和限制", + "add-ons": "附加功能", + "included": "已包含", + "not-included": "未包含", + "add-to-license": "添加到许可证", + "change-key-title": "要更换为其他许可证吗?", + "change-key-text": "更换为其他许可证,或通过离线密钥激活隔离网络部署。", + "enter-key": "输入密钥", + "enter-license-key": "输入许可证密钥", + "applying-key-text": "应用密钥将更改此部署的许可范围。", + "keys-issued-text": "密钥由{{licensePortal}}签发。在任意设备上登录,然后从中复制一个密钥。", + "check-key": "检查密钥", + "checking-key": "正在检查此密钥……", + "current": "当前", + "this-key": "此密钥", + "replace-license": "替换许可证", + "new-license-applied": "已应用新的许可证密钥。", + "updates-and-support-until": "更新和技术支持有效期至 {{date}}。", + "next-charge-and-due-date": "下次扣款 {{total}},扣款日期 {{date}},付款截止日期 {{dueDate}}。", + "refresh-license-info": "刷新许可证信息", + "non-production-mode": "开发模式——仅限非生产用途", + "non-production-mode-details": "设备、资产和 Edge 配额不受限制;白标不可用。请勿在生产环境中使用此实例。", + "offline-mode": "离线模式", + "devices": "设备", + "number-of-devices": "{ count, plural, =1 {1 个设备} other {# 个设备} }", + "unlimited-devices": "设备数量不限", + "add-devices": "添加设备", + "device-limit-warn": "设备数量已达到上限的 {{ percent }}。", + "device-limit-critical": "设备数量已达到上限。在提高上限之前,新设备将无法注册。", + "assets": "资产", + "add-assets": "添加资产", + "prod-instances": "生产实例", + "add-instances": "添加实例", + "ai-credits": "AI 额度", + "add-credits": "增加额度", + "white-labeling": "白标", + "edge": "Edge 边缘计算", + "edges": "Edge", + "add-edges": "添加 Edge", + "agents": "Remote Agent", + "add-agents": "添加 Remote Agent", + "trendz": "Trendz 分析", + "name-addon": "{{name}} 附加功能", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE {添加 {name}} other {添加 {name}} }", + "add-addon-subscription": "{{name}} 是付费附加功能,会增加您的月度费用。", + "add-addon-perpetual": "{{name}} 是付费附加功能,针对此许可证一次性购买。", + "upgrade-plan-devices": "在 {{plan}} 套餐中,设备上限由套餐决定。", + "upgrade-plan-instances": "在 {{plan}} 套餐中,生产实例上限由套餐决定。", + "upgrade-plan-credits": "在 {{plan}} 套餐中,每月 AI 额度由套餐决定。", + "upgrade-plan-edges": "在 {{plan}} 套餐中,Edge 数量上限由套餐决定。", + "upgrade-plan-agents": "在 {{plan}} 套餐中,Remote Agent 数量上限由套餐决定。", + "upgrade-plan-white-labeling": "所有付费套餐均包含白标功能。", + "upgrade-plan-addon": "{{name}} 是付费附加功能。附加功能需要付费套餐。", + "ce-grant-case": "任何购买都会将您的 Community Grant 转换为永久商业许可证。您只需为新增的内容付费,Community Grant 已涵盖的部分无需付费。", + "pe-pack-case": "Professional Pack 为一次性购买,对所有 Community Grant 持有者价格相同。", + "ce-grant-white-label": "您已在使用的白标功能在 Community Grant 下仍然免费。", + "open-portal-manage-license": "我们将在许可证门户中打开此部署的许可证。您可能需要登录。返回后请点击“更新”。", + "open-portal-upgrade-plan": "我们将打开许可证门户并为您推荐套餐。您可能需要登录。返回后请点击“更新”。", + "open-portal": "打开门户", + "add-license-item-title": "要{{ action }} {{ item }},您需要在 ThingsBoard 许可证门户中更新您的{{ package }}。", + "action-add": "添加", + "action-enable": "启用", + "package-subscription": "订阅", + "package-perpetual": "许可证包", + "go-to-license-portal": "前往许可证门户", + "add-license-item-step-first": "我们将把您重定向到许可证门户。", + "add-license-item-step-second": "登录后,我们将自动打开相应的{{ package }}详情。", + "add-license-item-step-third": "将“{{ item }}”添加到您的{{ package }}中。", + "add-license-item-step-fourth": "完成后,点击下方的“刷新许可证信息”以立即刷新{{ package }}。", + "request-feature-sysadmin-text": "您是系统管理员吗?", + "login-here": "在此登录", + "to-get-addon": "以获取该附加功能。", + "request-edge-title": "即使网络中断,站点也能持续运行", + "request-edge-text": "部署 Edge 实例,将处理和分析分布到整个基础设施中。主要功能:", + "edge-card-autonomy-title": "自主运行", + "edge-card-autonomy-text": "即使网络故障,也能确保本地即时运行", + "edge-card-filtering-title": "过滤", + "edge-card-filtering-text": "仅发送经过验证的有价值数据,降低云端流量和成本", + "edge-card-latency-title": "延迟", + "edge-card-latency-text": "通过在本地处理数据,实现实时控制和快速响应", + "edge-card-security-title": "安全", + "edge-card-security-text": "在 OT 设备与公有云之间提供安全缓冲", + "edge-card-efficiency-title": "效率", + "edge-card-efficiency-text": "在靠近数据源处对数据进行规范化和聚合,减轻云端工作负载", + "request-edge-action-text": "Edge 管理以附加功能形式提供。请联系系统管理员启用。", + "request-access": "申请访问权限", + "requested": "已申请", + "upgrade-plan": "升级套餐", + "learn-more": "了解更多", + "feature-request-sent-title": "我们已向系统管理员发送自动请求,以启用 {{addonName}}", + "feature-request-sent-text": "请等待管理员审核请求并更新设置。您可能需要刷新此页面才能看到更改。", + "request-trendz-title": "借助 {{name}} 将 IoT 数据集转化为洞察,简化决策流程", + "request-trendz-text": "解锁强大的无代码 IoT 分析功能:统一的 AI 驱动工作区,可帮助您探索遥测数据、构建逻辑、检测异常、生成预测,并将原始数据转化为清晰、可执行的洞察", + "request-trendz-action-text": "{{name}} 以附加功能形式提供。请联系系统管理员启用。", + "trendz-card-metric-explorer-title": "指标浏览器", + "trendz-card-metric-explorer-text": "借助无代码分析、自定义指标和即时可视化洞察,深入挖掘遥测数据", + "trendz-card-anomaly-title": "异常检测", + "trendz-card-anomaly-text": "自动检测数据中的异常行为", + "trendz-card-calculation-title": "计算字段", + "trendz-card-calculation-text": "定义业务逻辑、转换遥测数据并创建新指标", + "trendz-card-prediction-title": "预测模型", + "trendz-card-prediction-text": "使用内置 ML 模型预测未来值并检测趋势", + "trendz-card-views-title": "视图", + "trendz-card-views-text": "为团队和客户构建可共享的分析仪表板——一切尽在一处。", + "trendz-card-ai-assistant-title": "AI 助手", + "trendz-card-ai-assistant-text": "借助自然语言 AI 生成逻辑、优化公式并自动创建指标。", + "pe-pack": "Professional Pack", + "pe-pack-note": "集成、调度器、报告和白标。", + "pe-pack-desc": "将您的 Community Grant 扩展至完整功能集。", + "request-pe-pack": "申请完整的 Professional Pack", + "add-pe-pack": "添加完整的 Professional Pack", + "pe-pack-extend-ce": "将您的 Community Grant 扩展至完整功能集。", + "sys-admin-pe-pack-note": "您是系统管理员?请登录并在“许可证管理”中添加 Professional Pack。", + "pe-pack-requested": "已向您的系统管理员申请 Professional Pack。", + "white-labeling-promo": "在设置页面中设置徽标、颜色和标题。", + "white-labeling-promo-try": "在设置页面中设置徽标、颜色和标题。打开该页面即可试用。", + "integrations": "集成", + "integrations-promo": "从 LoRaWAN、MQTT、Kafka 及其他 IoT 平台接入数据。", + "scheduler": "调度器", + "scheduler-promo": "按计划执行更新,并向规则链提交事件。", + "reports": "报告", + "reports-promo": "使用表格、图表和您自己的品牌标识生成报告,并按计划发送。" + }, + "platform-feature": { + "overview": "概览", + "white-labeling": { + "not-in-plan": "您的套餐不包含白标", + "not-in-ce-grant": "您的 Community Grant 不包含白标。", + "add": "添加白标", + "request": "申请白标", + "offer-title": "您的品牌、您的登录界面、您的菜单、您的标签", + "offer-with-plan-lede": "Pilot 及以上套餐包含白标。您在此处设置的所有内容都将替换 ThingsBoard 的默认内容——包括登录页面、您发送的邮件,以及您的客户使用的每个页面。", + "offer-lede": "启用白标后,您在此处设置的所有内容都将替换 ThingsBoard 的默认内容——包括登录页面、您发送的邮件,以及您的客户使用的每个页面。", + "pack-offer-lede": "白标包含在 Professional Pack 中,这是 Community Grant 的付费附加功能。启用 Professional Pack 后,您在此处设置的所有内容都将替换 ThingsBoard 的默认内容——包括登录页面、您发送的邮件,以及您的客户使用的每个页面。", + "sys-admin-wl-note": "您是系统管理员?请登录并在“许可证管理”中添加白标。" + }, + "integrations": { + "not-in-ce-grant": "您的 Community Grant 不包含集成。", + "pack-offer-title": "接入来自 LoRaWAN、MQTT、Kafka 及其他 IoT 平台的数据", + "pack-offer-lede": "集成是 Professional Pack 的一部分,这是 Community Grant 的付费附加功能。每个集成从 LoRaWAN 网络服务器、MQTT 或 Kafka 消息代理或其他 IoT 平台读取数据——设备出现时自动创建,并将其发送的数据保存为遥测。", + "overview": { + "brokers-and-platforms": "消息代理与平台", + "brokers-and-platforms-desc": "每个数据源对应一个集成,在界面中配置和监控。", + "data-converters": "数据转换器", + "data-converters-desc": "使用脚本解码设备自有的数据负载(包括 LoRaWAN 编解码器),无需更改设备发送的内容。", + "downlink": "下行", + "downlink-desc": "通过同一连接向设备回传命令和配置。", + "remote-integrations": "远程集成", + "remote-integrations-desc": "可在现场、您自己的主机上运行——与 ThingsBoard 的连接中断时,它会持续缓冲数据。" + }, + "dozen-protocols-brokers-and-platforms": "数十种协议、消息代理和平台", + "browse-setup-guides-note": "请浏览我们文档中的设置指南。" + }, + "scheduler": { + "not-in-ce-grant": "您的 Community Grant 不包含调度器。", + "pack-offer-title": "按调度计划执行更新并向规则链提交事件", + "pack-offer-lede": "调度器是 Professional Pack 的一部分,Professional Pack 是 Community Grant 的付费附加功能。可执行固件更新并向规则链提交事件——每个条目都有开始时间、重复规则和独立的时区,无论您自己的程序是否仍在运行,平台都会按时触发。", + "overview": { + "repeats-and-timezones": "重复与时区", + "repeats-and-timezones-desc": "单次执行,或每天、每周在您选定的日期执行——每个事件都按其自身的时区处理。", + "device-commands": "设备命令", + "device-commands-desc": "在设定时间向设备发送命令,无需借助持有 API 令牌的 cron 任务。", + "firmware-and-software": "固件和软件", + "firmware-and-software-desc": "在无人值守的时段,将 OTA 包推送到单个设备或整个设备组。", + "rule-chain-triggers": "规则链触发", + "rule-chain-triggers-desc": "向规则链推送消息,让规则链能做的一切都可以无人值守地运行。" + } + }, + "reporting": { + "not-in-ce-grant": "您的 Community Grant 不包含报告。", + "pack-offer-title": "报告只需构建一次,每次调度运行都会自动交付", + "pack-offer-lede": "报告是 Professional Pack 的一部分,Professional Pack 是 Community Grant 的付费附加功能。报告布局由您自行设计——表格、图表、文本以及您自己的品牌标识——每次运行都会按调度计划或在告警触发时送达收件人。", + "overview": { + "your-own-layout": "自定义布局", + "your-own-layout-desc": "将表格、图表、文本和图片拖放到位,一个已保存的模板即可服务所有客户。", + "pdf-or-csv": "PDF 或 CSV", + "pdf-or-csv-desc": "可直接打印、已绘制图表的文档,或供需要数字的人使用的原始数据行。", + "channel": "邮件、Slack、Teams 或短信", + "channel-desc": "按收件人或用户组选择渠道——平台会交付每次调度运行的结果。", + "attached-to-alarm": "附加到告警", + "attached-to-alarm-desc": "通知会附带报告,该报告在告警触发时根据当时的数据生成。" + } + } + }, + "subscription-error": { + "title": "订阅违规", + "warning-title": "订阅警告", + "upgrade-subscription-plan": "请升级您的订阅套餐", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} 自 {{planName}} 套餐起可用。如需继续,请联系系统管理员升级套餐。", + "limit-reached": { + "device-count": "您已达到订阅套餐允许的最大设备数({{value}})!", + "asset-count": "您已达到订阅套餐允许的最大资产数({{value}})!", + "edge-count": "您已达到订阅套餐允许的最大 Edge 实例数({{value}})!", + "agent-count": "您已达到订阅套餐允许的最大 Remote Agent 数量({{value}})!" + }, + "feature-disabled": { + "white-labeling": "您的订阅套餐不支持白标功能!" + } + }, "phone-input": { "phone-input-label": "电话号码", "phone-input-required": "电话号码为必填项", @@ -12584,7 +14252,7 @@ "polygon-click": "单击多边形时", "marker-click": "单击标记时", "circle-click": "单击圆形时", - "tooltip-tag-action": "提示标签操作", + "tooltip-tag-action": "提示框标签操作", "node-selected": "选中节点时", "element-click": "单击 HTML 元素时", "pie-slice-click": "单击扇区时", @@ -12667,6 +14335,7 @@ "trendz-internal-url-invalid": "Trendz 内部 URL 无效", "trendz-internal-url-required": "Trendz 内部 URL 为必填项", "trendz-settings": "Trendz 设置", + "trendz": "Trendz", "views": "视图", "views-description": "已配置的可视化分组与报告", "trendz-synced": "同步成功完成", From af083d37747e6df4dcd6ad526104697ca209363b Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Wed, 28 Oct 2026 15:42:22 +0200 Subject: [PATCH 335/559] Merge pull request #16422 from Ultrazombie/locales/ja-4.4 Updated Japanese locale translations for 4.4: missing keys and consistent terminology --- .../assets/locale/locale.constant-ja_JP.json | 2415 ++++++++++++++--- 1 file changed, 2041 insertions(+), 374 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index 9d6e50d666..dcb8ff122f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "ThingsBoardを有効化", + "initial": { + "welcome": "ThingsBoard {{version}}へようこそ", + "title": "無料ライセンスを取得して構築を始めましょう", + "desc": "ライセンスポータルでの作業は数分で終わります。アカウントを作成してライセンスを選択すると、このインスタンスは自動的に有効化されます。", + "open-license-portal": "ライセンスポータルを開く", + "already-have-license": "すでにライセンスをお持ちですか?", + "free-no-credit-card": "永久無料です。クレジットカードは不要です。", + "source-available": "ソース公開ライセンス" + }, + "waiting": { + "live-eyebrow": "有効化を待機中", + "title": "ライセンスポータルで続行", + "desc": "サインインするかアカウントを作成し、ライセンスを選択して利用規約に同意してください。ライセンスが発行されると、このインスタンスは自動的に有効化されます。", + "nothing-opened": "何も開きませんでしたか?", + "paste-link-or-scan-qr-code": "インターネットに接続された任意のデバイスにテキストリンクを貼り付けるか、スマートフォンでQRコードをスキャンしてください。", + "text-link": "テキストリンク", + "qr-code": "QRコード", + "qr-code-hint": "スマートフォンのカメラをコードに向けてから、リンクを開いてください。スマートフォン自体がインターネットに接続されている必要があります。", + "have-key": "ライセンスキーをお持ちですか?", + "activate-key": "キーでライセンスを有効化" + }, + "offline": { + "eyebrow": "オフライン", + "title": "別のデバイスから有効化", + "desc": "このサーバーはライセンスポータルに接続できないため、2つの手順で行います。まずインターネットに接続されたデバイスでライセンスを取得し、次にここでキーを入力してください。", + "get-your-license": "ポータルでライセンスを取得", + "open-link": "インターネットに接続された任意のデバイスでこのリンクを開いてください。サインインするかアカウントを作成し、ライセンスを選択して利用規約に同意します。その後、ポータルにライセンスキーが表示されます。", + "paste-key": "ここにキーを貼り付け", + "no-connected-device": "インターネットに接続されたデバイスが一台もありませんか?" + }, + "have-key": { + "title": "キーでライセンスを有効化", + "enter-license-key": "ライセンスキーを入力", + "enter-license-key-note": "ライセンスキーはライセンスポータルのアカウントにあります。任意のデバイスで{{hostName}}にサインインし、そこからコピーしてください。", + "no-account": "アカウントも、インターネットに接続されたデバイスもありませんか?", + "contact-support": "サポートに問い合わせ" + }, + "key-form": { + "placeholder": "ライセンスキーを貼り付け", + "invalid": "このキーはこのインスタンスでは無効です。文字の抜けがないか確認するか、サポートにお問い合わせください。", + "activate": "有効化", + "activating": "有効化中" + }, + "account": { + "title": "このインスタンスは有効化されています", + "desc": "ライセンスはこのサーバーとライセンスポータルのアカウントに保存されています。", + "create-sys-admin-account": "システム管理者アカウントを作成", + "create-sys-admin-account-hint": "このサーバーへのサインインに使用します。ライセンスを保持するライセンスポータルのアカウントとは別のものです。", + "email-label": "メールアドレス", + "email-required": "メールアドレスを入力してください。", + "email-invalid": "有効なメールアドレスを入力してください。", + "password-label": "パスワード", + "password-required": "パスワードを入力してください。", + "password-min-length": "パスワードは6文字以上にしてください。", + "confirm-label": "パスワードの確認", + "confirm-required": "パスワードを再入力してください。", + "confirm-mismatch": "パスワードが一致しません。", + "demo-tenant-title": "デモテナントを設定", + "demo-tenant-desc": "プラットフォームの動作を最も手早く確認できる方法です。ダッシュボード、デバイス、ルールチェーンは設定済みで、テナントユーザーと顧客ユーザーはすぐにサインインできます。システム管理者として「テナント」から開くこともできます。", + "create": "アカウントを作成", + "creating": "アカウントを作成中" + }, + "demo-tenant": { + "signed-in-as": "システム管理者アカウントが作成され、{{email}}としてサインインしています。", + "title": "デモテナントを見てみますか?", + "desc": "基本的な設定は完了しています。ダッシュボードを開く、ルールを変更する、または独自のデバイスを接続してみてください。", + "dashboards": "ダッシュボード — 下記のデバイスを基に構築済みで、ウィジェットのバインドも完了しています", + "devices": "デバイス — デバイスプロファイルとアラームルールは設定済みですが、データはまだ送信されていません", + "rule-chains": "ルールチェーン — これらのアラームの発生を判定する場所", + "explore": "デモテナントを見る", + "not-now": "後で", + "not-now-hint": "「後で」を選択すると、システム管理画面に移動します。", + "signing-in-later": "後でサインインするには", + "demo-tenant-hint": "テナント自身の管理者です。システム管理者として、パスワードなしで「テナント」からテナントを開くこともできます。" + }, + "non-production": { + "eyebrow": "再確認が必要", + "title": "このデプロイメントが引き続き非本番環境であることを確認してください。", + "desc": "このインスタンスは無料の非本番ライセンスで稼働しており、システム管理者による定期的な再確認が必要です。確認しても、データ、ユーザー、デバイスの接続には影響しません。", + "confirm": "確認", + "confirming": "確認中", + "sysadmin-required": "これを確認できるのはシステム管理者のみです。", + "login-as-sysadmin": "システム管理者としてログイン", + "state-verify-failed": "確認しましたが、状態を検証できませんでした。ページを更新してください。", + "state-not-updated": "このインスタンスでは、確認がまだ完了していません。ページを更新して、もう一度確認してください。" + }, + "errors": { + "signin-failed": "アカウントは作成されましたが、自動サインインに失敗しました。ページを更新して、手動でサインインしてください。", + "state-not-updated": "セットアップは完了しましたが、状態が更新されていません。ページを更新してください。", + "state-verify-failed": "セットアップは完了しましたが、状態を検証できませんでした。ページを更新してください。", + "no-sign-up-url": "このインスタンスからリンクが返されなかったため、開くものがありません。", + "link-expired": "このリンクは有効期限が切れています。新しいリンクを取得するには、ライセンスポータルをもう一度開いてください。", + "activated-state-verify-failed": "このインスタンスはライセンス済みですが、次のステップをまだ読み取れませんでした。引き続き試行しています。ページを更新することもできます。", + "no-connection": "サーバーに接続できません。後でもう一度お試しください。", + "request-failed": "リクエストが失敗しました。もう一度お試しください。" + } + }, "access": { "unauthorized": "未認証", "unauthorized-access": "未認証アクセス", @@ -27,7 +126,7 @@ "yes": "はい", "no": "いいえ", "update": "更新", - "remove": "除去", + "remove": "削除", "search": "検索", "clear-search": "検索をクリア", "assign": "割り当て", @@ -53,6 +152,7 @@ "refresh": "更新", "undo": "元に戻す", "copy": "コピー", + "copied": "コピーしました", "paste": "貼り付け", "copy-reference": "参照をコピー", "paste-reference": "参照を貼り付け", @@ -80,6 +180,7 @@ "reset-default": "デフォルトに戻す", "show-more": "もっと表示", "dont-show-again": "今後表示しない", + "dont-show-this-again": "今後表示しない", "see-documentation": "ドキュメントを見る", "see-debug-events": "デバッグイベントを表示", "clear": "クリア", @@ -89,7 +190,9 @@ "set": "設定", "duplicate": "複製", "disable": "無効化", - "enable": "有効化" + "enable": "有効化", + "rename": "名前を変更", + "retry": "再試行" }, "aggregation": { "aggregation": "集計", @@ -105,6 +208,7 @@ }, "admin": { "settings": "設定", + "platform": "プラットフォーム", "general": "一般", "general-settings": "一般設定", "home-settings": "ホーム設定", @@ -163,7 +267,7 @@ "use-system-mail-template-settings": "システムのメールテンプレートを使用", "mail-template": { "mail-template": "メールテンプレート", - "test": "テスト email メッセージ", + "test": "テストメールメッセージ", "activation": "アカウント有効化メッセージ", "account-activated": "アカウント有効化完了メッセージ", "account-lockout": "アカウントロックアウトメッセージ", @@ -229,11 +333,11 @@ "password-reuse-frequency-days-range": "パスワード再利用間隔日数は負の値にはできません", "allow-whitespace": "空白を許可", "force-reset-password-if-no-valid": "無効な場合はパスワードのリセットを強制", - "force-reset-password-if-no-valid-hint": "この機能を有効にする場合は注意してください。有効にすると、無効なパスワードのユーザーはemailでパスワードをリセットする必要があります。", + "force-reset-password-if-no-valid-hint": "この機能を有効にする場合は注意してください。有効にすると、無効なパスワードのユーザーはメールでパスワードをリセットする必要があります。", "general-policy": "一般ポリシー", "max-failed-login-attempts": "アカウントがロックされるまでのログイン失敗回数の上限", "minimum-max-failed-login-attempts-range": "ログイン失敗回数の上限は負の値にはできません", - "user-lockout-notification-email": "ユーザーアカウントがロックアウトされた場合、emailに通知を送信", + "user-lockout-notification-email": "ユーザーアカウントがロックアウトされた場合、メールで通知を送信", "user-activation-token-ttl": "ユーザー有効化リンクのTTL(時間)", "user-activation-token-ttl-range": "ユーザー有効化リンクのTTLは1〜24時間の範囲である必要があります", "password-reset-token-ttl": "パスワードリセットリンクのTTL(時間)", @@ -298,9 +402,9 @@ "delete-domain-title": "ドメイン'{{domainName}}'を削除してもよろしいですか?", "delete-registration-text": "注意: 確認後、プロバイダーデータは利用できなくなります。", "delete-registration-title": "プロバイダー'{{name}}'を削除してもよろしいですか?", - "email-attribute-key": "Email属性キー", - "email-attribute-key-required": "Email属性キーは必須です。", - "email-attribute-key-max-length": "Email属性キーは32未満である必要があります", + "email-attribute-key": "メール属性キー", + "email-attribute-key-required": "メール属性キーは必須です。", + "email-attribute-key-max-length": "メール属性キーは32未満である必要があります", "first-name-attribute-key": "名属性キー", "first-name-attribute-key-max-length": "名属性キーは32未満である必要があります", "general": "一般", @@ -601,6 +705,7 @@ "delete-chat-confirm": "はい、削除します", "action-approval-required": "操作の承認が必要です", "approve": "承認", + "approve-all": "以降のすべてのアクションを承認", "deny": "拒否", "processing": "処理中...", "approved": "完了", @@ -608,6 +713,7 @@ "error": "失敗", "thinking": "考え中...", "rename-chat-title": "このチャットの名前を変更", + "export-chat": "チャットをエクスポート", "main-title": "こんにちは!AI アシスタントです" }, "alarm": { @@ -639,7 +745,7 @@ "no-alarms-prompt": "アラームが見つかりません", "created-time": "作成日時", "type": "タイプ", - "severity": "重要度", + "severity": "重大度", "originator": "発生元", "originator-type": "発生元タイプ", "details": "詳細", @@ -650,7 +756,7 @@ "assignee-id": "担当者ID", "assignee-first-name": "担当者名", "assignee-last-name": "担当者姓", - "assignee-email": "担当者Email", + "assignee-email": "担当者のメールアドレス", "unassigned": "未割り当て", "user-deleted": "ユーザーが削除されました", "assignee-not-set": "すべて", @@ -662,9 +768,9 @@ "ack-time": "確認日時", "clear-time": "クリア日時", "duration": "継続時間", - "alarm-severity": "アラーム重要度", - "alarm-severity-list": "アラーム重要度一覧", - "any-severity": "すべての重要度", + "alarm-severity": "アラーム重大度", + "alarm-severity-list": "アラーム重大度一覧", + "any-severity": "すべての重大度", "severity-critical": "致命的", "severity-major": "重大", "severity-minor": "軽微", @@ -757,13 +863,13 @@ "filter-type-state-entity": "ダッシュボード状態のエンティティ", "filter-type-state-entity-originator": "発生元エンティティ", "filter-type-state-entity-master-report": "マスターレポートのエンティティ", - "filter-type-state-entity-description": "ダッシュボード状態パラメータから取得したエンティティ", + "filter-type-state-entity-description": "ダッシュボード状態パラメーターから取得したエンティティ", "filter-type-state-entity-originator-description": "発生元エンティティ", "filter-type-state-entity-master-report-description": "マスターレポートで設定されたエンティティ", "filter-type-state-entity-owner": "ダッシュボード状態のエンティティの所有者", "filter-type-state-entity-owner-originator": "発生元エンティティの所有者", "filter-type-state-entity-owner-master-report": "マスターレポートのエンティティの所有者", - "filter-type-state-entity-owner-description": "ダッシュボード状態パラメータから取得したエンティティの所有者", + "filter-type-state-entity-owner-description": "ダッシュボード状態パラメーターから取得したエンティティの所有者", "filter-type-state-entity-owner-originator-description": "発生元エンティティの所有者", "filter-type-state-entity-owner-master-report-description": "マスターレポートで設定されたエンティティの所有者", "filter-type-asset-type": "アセットタイプ", @@ -776,22 +882,22 @@ "filter-type-entity-view-type-description": "タイプ '{{entityViewTypes}}' のエンティティビュー", "filter-type-entity-view-type-and-name-description": "タイプ '{{entityViewTypes}}' で、名前が'{{prefix}}'で始まるエンティティビュー", "filter-type-edge-type": "Edgeタイプ", - "filter-type-edge-type-description": "タイプ '{{edgeTypes}}' のEdges", - "filter-type-edge-type-and-name-description": "タイプ '{{edgeTypes}}' で、名前が'{{prefix}}'で始まるEdges", - "filter-type-relations-query": "関係クエリ", - "filter-type-relations-query-description": "{{rootEntity}} {{direction}} の {{relationType}} 関係を持つ {{entities}}", + "filter-type-edge-type-description": "タイプ '{{edgeTypes}}' のEdge", + "filter-type-edge-type-and-name-description": "タイプ '{{edgeTypes}}' で、名前が'{{prefix}}'で始まるEdge", + "filter-type-relations-query": "リレーションクエリ", + "filter-type-relations-query-description": "{{rootEntity}} {{direction}} の {{relationType}} リレーションを持つ {{entities}}", "filter-type-edge-search-query": "Edge検索クエリ", - "filter-type-edge-search-query-description": "{{rootEntity}} {{direction}} の {{relationType}} 関係を持つタイプ {{edgeTypes}} のEdges", + "filter-type-edge-search-query-description": "{{rootEntity}} {{direction}} の {{relationType}} リレーションを持つタイプ {{edgeTypes}} のEdge", "filter-type-scheduler-event": "スケジューラーイベント", "filter-type-scheduler-event-type-description": "タイプ'{{eventType}}'のスケジューラーイベント", "filter-type-scheduler-event-originator-description": "特定の発生元のスケジューラーイベント", "filter-type-scheduler-event-type-originator-description": "特定の発生元のタイプ'{{eventType}}'のスケジューラーイベント", "filter-type-asset-search-query": "アセット検索クエリ", - "filter-type-asset-search-query-description": "{{rootEntity}} {{direction}} の {{relationType}} 関係を持つタイプ {{assetTypes}} のアセット", + "filter-type-asset-search-query-description": "{{rootEntity}} {{direction}} の {{relationType}} リレーションを持つタイプ {{assetTypes}} のアセット", "filter-type-device-search-query": "デバイス検索クエリ", - "filter-type-device-search-query-description": "{{rootEntity}} {{direction}} の {{relationType}} 関係を持つタイプ {{deviceTypes}} のデバイス", + "filter-type-device-search-query-description": "{{rootEntity}} {{direction}} の {{relationType}} リレーションを持つタイプ {{deviceTypes}} のデバイス", "filter-type-entity-view-search-query": "エンティティビュー検索クエリ", - "filter-type-entity-view-search-query-description": "{{rootEntity}} {{direction}} の {{relationType}} 関係を持つタイプ {{entityViewTypes}} のエンティティビュー", + "filter-type-entity-view-search-query-description": "{{rootEntity}} {{direction}} の {{relationType}} リレーションを持つタイプ {{entityViewTypes}} のエンティティビュー", "filter-type-apiUsageState": "API使用状況", "entity-filter": "エンティティフィルター", "resolve-multiple": "複数エンティティとして解決", @@ -809,9 +915,9 @@ "group-state-entity-owner": "ダッシュボード状態のエンティティをエンティティグループ所有者として使用", "group-originator-entity-owner": "発生元エンティティをエンティティグループ所有者として使用", "group-master-report-entity-owner": "マスターレポートのエンティティをエンティティグループ所有者として使用", - "last-level-relation": "最終レベルの関係のみ取得", + "last-level-relation": "最終レベルのリレーションのみ取得", "root-entity": "ルートエンティティ", - "state-entity-parameter-name": "状態エンティティパラメータ名", + "state-entity-parameter-name": "状態エンティティパラメーター名", "default-state-entity": "デフォルト状態エンティティ", "default-originator-entity": "デフォルト発生元エンティティ", "default-master-report-entity": "デフォルトマスターレポートエンティティ", @@ -820,7 +926,7 @@ "default-master-report-entity-group": "デフォルトマスターレポートエンティティグループ", "default-entity-parameter-name": "デフォルト", "query-options": "クエリオプション", - "max-relation-level": "最大関係レベル", + "max-relation-level": "最大リレーションレベル", "unlimited-level": "無制限レベル", "state-entity": "ダッシュボード状態エンティティ", "originator-entity": "発生元エンティティ", @@ -961,6 +1067,7 @@ "prev-widget": "前のウィジェット", "add-to-dashboard": "ダッシュボードに追加", "add-widget-to-dashboard": "ダッシュボードにウィジェットを追加", + "no-widget-grid-in-dashboard": "このダッシュボードのすべての状態はHTMLページのため、ウィジェットを追加できません。", "selected-attributes": "{ count, plural, =1 {1 件の属性} other {# 件の属性} } を選択", "selected-telemetry": "{ count, plural, =1 {1 件のテレメトリユニット} other {# 件のテレメトリユニット} } を選択", "no-attributes-text": "属性が見つかりません", @@ -1000,10 +1107,10 @@ "data-points-storage-days-daily-activity": "データポイント保存日数の日別アクティビティ", "data-points-storage-days-monthly-activity": "データポイント保存日数の月別アクティビティ", "device-api": "デバイスAPI", - "email": "Email", - "email-messages": "Emailメッセージ", - "email-messages-daily-activity": "Emailメッセージの日別アクティビティ", - "email-messages-monthly-activity": "Emailメッセージの月別アクティビティ", + "email": "メール", + "email-messages": "メールメッセージ", + "email-messages-daily-activity": "メールメッセージの日別アクティビティ", + "email-messages-monthly-activity": "メールメッセージの月別アクティビティ", "executions": "実行", "scripts": "スクリプト", "scripts-hourly-activity": "スクリプトの時間別アクティビティ", @@ -1016,7 +1123,7 @@ "latest-error": "最新エラー", "messages": "メッセージ", "notifications": "通知", - "notifications-email-sms": "通知 (Email/SMS)", + "notifications-email-sms": "通知(メール/SMS)", "notifications-hourly-activity": "通知の時間別アクティビティ", "permanent-failures": "${entityName} 永続的な失敗", "permanent-timeouts": "${entityName} 永続的なタイムアウト", @@ -1068,9 +1175,9 @@ "created-reports-daily-activity": "作成済みレポートの日別アクティビティ", "created-reports-monthly-activity": "作成済みレポートの月別アクティビティ", "emails": "Emails", - "emails-hourly-activity": "Emails の時間別アクティビティ", - "emails-daily-activity": "Emails の日別アクティビティ", - "emails-monthly-activity": "Emails の月別アクティビティ", + "emails-hourly-activity": "メールの時間別アクティビティ", + "emails-daily-activity": "メールの日別アクティビティ", + "emails-monthly-activity": "メールの月別アクティビティ", "status": { "enabled": "有効", "disabled": "無効", @@ -1079,7 +1186,11 @@ "reports-created": "作成済みレポート", "reports-created-hourly-activity": "作成済みレポートの時間別アクティビティ", "reports-created-daily-activity": "作成済みレポートの日別アクティビティ", - "reports-created-monthly-activity": "作成済みレポートの月別アクティビティ" + "reports-created-monthly-activity": "作成済みレポートの月別アクティビティ", + "ai-credits": "AIクレジット", + "ai-credits-hourly-activity": "AIクレジットの時間別アクティビティ", + "ai-credits-daily-activity": "AIクレジットの日別アクティビティ", + "ai-credits-monthly-activity": "AIクレジットの月別アクティビティ" }, "api-limit": { "cassandra-write-queries-core": "Rest API Cassandra 書き込みクエリ", @@ -1099,8 +1210,8 @@ "rest-api-requests-per-customer": "顧客あたりのREST APIリクエスト", "transport-messages": "トランスポートメッセージ", "transport-messages-per-device": "デバイスあたりのトランスポートメッセージ", - "transport-messages-per-gateway": "gatewayあたりのトランスポートメッセージ", - "transport-messages-per-gateway-device": "gatewayデバイスあたりのトランスポートメッセージ", + "transport-messages-per-gateway": "Gatewayあたりのトランスポートメッセージ", + "transport-messages-per-gateway-device": "Gatewayデバイスあたりのトランスポートメッセージ", "ws-updates-per-session": "セッションあたりのWS更新", "edge-events": "Edgeイベント", "edge-events-per-edge": "EdgeあたりのEdgeイベント", @@ -1134,7 +1245,7 @@ "manage": "管理", "manage-api-keys": "API キーを管理", "no-found": "API キーが見つかりません", - "selected-api-keys": "{ count, plural, =1 {API キー} other {API キー (# 件)} } を選択", + "selected-api-keys": "{ count, plural, =1 {1 件のAPIキー} other {# 件のAPIキー} } を選択", "search": "API キーを検索", "status": "ステータス", "status-active": "アクティブ", @@ -1168,9 +1279,9 @@ "type-attributes-read": "属性を読み取り", "type-added-to-entity-group": "グループに追加", "type-removed-from-entity-group": "グループから削除", - "type-relation-add-or-update": "関係を更新", - "type-relation-delete": "関係を削除", - "type-relations-delete": "すべての関係を削除", + "type-relation-add-or-update": "リレーションを更新", + "type-relation-delete": "リレーションを削除", + "type-relations-delete": "すべてのリレーションを削除", "type-alarm-ack": "アラームを確認", "type-alarm-clear": "アラームをクリア", "type-alarm-delete": "アラームを削除", @@ -1180,8 +1291,8 @@ "type-updated-comment": "コメントを更新", "type-deleted-comment": "コメントを削除", "type-rest-api-rule-engine-call": "ルールエンジン REST API 呼び出し", - "type-made-public": "公開にしました", - "type-made-private": "非公開にしました", + "type-made-public": "公開に設定", + "type-made-private": "非公開に設定", "type-login": "ログイン", "type-logout": "ログアウト", "type-lockout": "ロックアウト", @@ -1196,15 +1307,17 @@ "type-assigned-from-tenant": "テナントから割り当て", "type-assigned-to-tenant": "テナントに割り当て", "type-provision-success": "デバイスをプロビジョニング", - "type-provision-failure": "デバイスのプロビジョニングに失敗しました", + "type-provision-failure": "デバイスのプロビジョニングに失敗", "type-timeseries-updated": "テレメトリを更新", "type-timeseries-deleted": "テレメトリを削除", "type-owner-changed": "所有者を変更", "type-sms-sent": "SMSを送信", + "type-non-production-confirmed": "非本番環境での使用を確認", "any-type": "すべてのタイプ", "audit-log-filter-title": "監査ログフィルター", "filter-title": "フィルター", - "filter-types": "監査ログタイプ" + "filter-types": "監査ログタイプ", + "action": "アクション" }, "debug-settings": { "label": "デバッグ設定", @@ -1244,7 +1357,7 @@ }, "preview": "プレビュー", "arguments": "引数", - "decimals-by-default": "既定で小数を使用", + "decimals-by-default": "デフォルトで小数を使用", "debugging": "計算フィールドのデバッグ", "calculated-field-details": "計算フィールドの詳細", "argument-name": "引数名", @@ -1274,8 +1387,8 @@ "client-attributes": "クライアント属性", "shared-attributes": "共有属性", "attribute-key": "属性キー", - "default-value": "既定値", - "default-value-required": "既定値は必須です。", + "default-value": "デフォルト値", + "default-value-required": "デフォルト値は必須です。", "limit": "最大値数", "time-window": "時間ウィンドウ", "customer-name": "顧客名", @@ -1519,9 +1632,9 @@ "zone-group-refresh-interval": "関連エンティティ経由で設定されたゾーングループを更新する頻度を定義します。", "zone-group-refresh-interval-required": "ゾーングループ更新間隔は必須です。", "zone-group-refresh-interval-min": "ゾーングループ更新間隔は少なくとも {{ min }} 秒にしてください。", - "propagation-path-related-entities": "選択した方向とリレーションタイプに基づき、関連エンティティへの直接の単一レベルのパスを定義します。", + "propagation-path-related-entities": "選択した方向とリレーションタイプに基づき、関連エンティティへの直接の単一レベルのパスを定義します。デバイス、アセット、顧客、テナントの各エンティティ間のリレーションのみがサポートされます。リレーションパスで解決されるエンティティの最大数は {{ max }} です。", "data-propagate": "下で設定された引数から伝播するデータを定義します。「引数のみ」は取得したデータをそのまま使用し、「計算結果」はそのデータから新しい値を計算します。", - "aggregation-path-related-entities": "方向とリレーションタイプに基づき、親または子エンティティとの直接リレーションを介した単一レベルの集計パスを定義します。デバイス、アセット、顧客、テナントの各エンティティ間のリレーションのみがサポートされます。", + "aggregation-path-related-entities": "方向とリレーションタイプに基づき、親または子エンティティとの直接リレーションを介した単一レベルの集計パスを定義します。デバイス、アセット、顧客、テナントの各エンティティ間のリレーションのみがサポートされます。リレーションパスで解決されるエンティティの最大数は {{ max }} です。", "arguments-aggregation": "フィルタリングと集計に使用する入力引数を定義します。", "setting-arguments-aggregation": "データは、集計パスで設定された関連エンティティから取得されます。", "metrics": "設定された引数に基づいて集計されるメトリクスを定義します。", @@ -1543,7 +1656,7 @@ "alarm-rule": "アラームルール", "alarm-rules": "アラームルール", "alarm-rules-old": "旧", - "alarm-rules-actual": "現在", + "alarm-rules-actual": "現行", "severities": "重大度", "cleared": "クリア条件", "delete-title": "アラームルール '{{title}}' を削除してもよろしいですか?", @@ -1556,7 +1669,7 @@ "details": "アラームルールの詳細", "no-found": "アラームルールが見つかりません", "list": "{ count, plural, =1 {アラームルール} other {アラームルール一覧 (# 件)} }", - "selected-fields": "{ count, plural, =1 {アラームルール} other {アラームルール (# 件)} } を選択", + "selected-fields": "{ count, plural, =1 {1 件のアラームルール} other {# 件のアラームルール} } を選択", "import": "アラームルールをインポート", "file": "アラームルールファイル", "export": "アラームルールをエクスポート", @@ -1873,7 +1986,7 @@ "address": "住所", "address2": "住所2", "phone": "電話番号", - "email": "Email", + "email": "メールアドレス", "no-address": "住所なし", "no-country-found": "国が見つかりません。", "no-country-matching": "'{{country}}'に一致する国が見つかりません。", @@ -1893,6 +2006,7 @@ "enter-username": "ユーザー名を入力", "enter-password": "パスワードを入力", "enter-search": "検索文字列を入力", + "all": "すべて", "created-time": "作成日時", "disabled": "無効", "loading": "読み込み中...", @@ -1960,8 +2074,8 @@ "test-encoder-fuction": "エンコーダー関数をテスト", "test-payload-decoder": "ペイロードデコーダーをテスト", "test-with-this-message": "このメッセージで{{test}}", - "decoder-input-params": "デコーダー入力パラメータ", - "encoder-input-params": "エンコーダー入力パラメータ", + "decoder-input-params": "デコーダー入力パラメーター", + "encoder-input-params": "エンコーダー入力パラメーター", "payload": "ペイロード", "payload-content-type": "ペイロードコンテンツタイプ", "payload-content": "ペイロード内容", @@ -1993,7 +2107,7 @@ "device-name-required": "デバイス名は必須です。", "asset-name": "アセット名", "asset-name-required": "アセット名は必須です。", - "advanced-decoding-parameters": "高度なデコードパラメータ", + "advanced-decoding-parameters": "高度なデコードパラメーター", "customer-name": "顧客名", "group": "グループ", "device-profile-name": "デバイスプロファイル名", @@ -2013,14 +2127,16 @@ "content-type": { "json": "JSON", "text": "テキスト", - "binary": "バイナリ (Base64)" + "binary": "バイナリ (Base64)", + "hex": "バイナリ(Hex)" }, "color": { "color": "色", "color-picker": "カラーピッカー", "primary-colors": "プライマリカラー", "accent-colors": "アクセントカラー", - "no-color-selected": "色が選択されていません" + "no-color-selected": "色が選択されていません", + "default": "デフォルト" }, "customer": { "all": "すべて", @@ -2030,6 +2146,7 @@ "hierarchy": "階層", "customer": "顧客", "customers": "顧客", + "customers-and-users": "顧客とユーザー", "management": "顧客管理", "dashboard": "顧客ダッシュボード", "dashboards": "顧客ダッシュボード", @@ -2101,8 +2218,9 @@ "allow-white-labeling": "ホワイトラベリングを許可", "search": "顧客を検索", "selected-customers": "{ count, plural, =1 {1 件の顧客} other {# 件の顧客} } を選択", - "edges": "顧客edgeインスタンス", - "manage-edges": "Edgesを管理" + "edges": "顧客Edgeインスタンス", + "manage-edges": "Edgeを管理", + "manage-agents": "Agentを管理" }, "customers-hierarchy": { "customers-hierarchy": "顧客階層", @@ -2263,6 +2381,8 @@ "no-widgets": "ウィジェットが設定されていません", "add-widget": "新しいウィジェットを追加", "add-widget-button-text": "ウィジェットを追加", + "edit-html-page": "HTMLページを編集", + "html-page": "HTMLページ", "title": "タイトル", "image": "ダッシュボード画像", "mobile-app-settings": "モバイルアプリケーション設定", @@ -2272,6 +2392,7 @@ "update-new-version": "新しいバージョンをアップロード", "upload-file-to-update": "更新するファイルをアップロード", "take-screenshot": "スクリーンショットを撮る", + "take-screenshot-failed": "ダッシュボードのスクリーンショットを撮影できませんでした。もう一度お試しください。", "select-widget-title": "ウィジェットを選択", "select-widget-value": "{{title}}: ウィジェットを選択", "select-widget-subtitle": "利用可能なウィジェットタイプ一覧", @@ -2288,7 +2409,7 @@ "unassign-dashboards-action-text": "{ count, plural, =1 {1 件のダッシュボード} other {# 件のダッシュボード} } を顧客から割り当て解除", "delete-dashboards": "ダッシュボードを削除", "unassign-dashboards": "ダッシュボードの割り当て解除", - "unassign-dashboards-action-title": "ダッシュボード'{{dashboardTitle}}'を顧客から割り当て解除してもよろしいですか?", + "unassign-dashboards-action-title": "{ count, plural, =1 {1 件のダッシュボード} other {# 件のダッシュボード} } の顧客への割り当てを解除", "delete-dashboard-title": "ダッシュボード'{{dashboardTitle}}'を削除してもよろしいですか?", "delete-dashboard-text": "注意: 確認後、ダッシュボードと関連データはすべて復元できなくなります。", "delete-dashboards-title": "{ count, plural, =1 {1 件のダッシュボード} other {# 件のダッシュボード} } を削除してもよろしいですか?", @@ -2335,6 +2456,7 @@ "layout-type-default": "デフォルト", "layout-type-scada": "SCADA", "layout-type-divider": "区切り", + "layout-type-html": "HTMLページ", "layout-settings-type": "レイアウト設定: {{ type }} ブレークポイント", "columns-count": "列数", "columns-count-required": "列数は必須です。", @@ -2378,6 +2500,7 @@ "display-dashboard-timewindow": "時間ウィンドウを表示", "display-dashboard-export": "エクスポートを表示", "display-update-dashboard-image": "ダッシュボード画像の更新を表示", + "display-configure-with-ai": "「AI で構成」ボタンを表示", "dashboard-logo-settings": "ダッシュボードロゴ設定", "display-dashboard-logo": "ダッシュボード全画面モードでロゴを表示", "dashboard-logo-image": "ダッシュボードロゴ画像", @@ -2448,9 +2571,9 @@ "group": "ダッシュボードグループ", "list-of-groups": "{ count, plural, =1 {ダッシュボードグループ} other {ダッシュボードグループ一覧 # 件} }", "group-name-starts-with": "名前が'{{prefix}}'で始まるダッシュボードグループ", - "unassign-dashboard-from-edge-text": "確認後、ダッシュボードの割り当てが解除され、edgeがアクセスできなくなります。", + "unassign-dashboard-from-edge-text": "確認後、ダッシュボードの割り当てが解除され、Edgeからアクセスできなくなります。", "unassign-dashboards-from-edge-title": "{ count, plural, =1 {ダッシュボード 1 件} other {ダッシュボード # 件} } の割り当てを解除してもよろしいですか?", - "unassign-dashboards-from-edge-text": "確認後、選択したすべてのダッシュボードの割り当てが解除され、edgeがアクセスできなくなります。", + "unassign-dashboards-from-edge-text": "確認後、選択したすべてのダッシュボードの割り当てが解除され、Edgeからアクセスできなくなります。", "assign-dashboard-to-edge": "Edgeにダッシュボードを割り当て", "assign-dashboard-to-edge-text": "Edgeに割り当てるダッシュボードを選択してください", "non-existent-dashboard-state-error": "ID \"{{ stateId }}\" のダッシュボード状態が見つかりません", @@ -2606,7 +2729,7 @@ "unassign-devices": "デバイスの割り当て解除", "unassign-devices-action-title": "顧客から { count, plural, =1 {1 件のデバイス} other {# 件のデバイス} } の割り当てを解除", "unassign-device-from-edge-title": "デバイス'{{deviceName}}'の割り当てを解除してもよろしいですか?", - "unassign-device-from-edge-text": "確認後、デバイスの割り当てが解除され、edgeからアクセスできなくなります。", + "unassign-device-from-edge-text": "確認後、デバイスの割り当てが解除され、Edgeからアクセスできなくなります。", "unassign-devices-from-edge": "Edgeからデバイスの割り当てを解除", "assign-new-device": "新しいデバイスを割り当て", "make-public-device-title": "デバイス'{{deviceName}}'を公開にしてもよろしいですか?", @@ -2707,7 +2830,7 @@ "assignedToCustomer": "顧客に割り当て", "unable-delete-device-alias-title": "デバイスエイリアスを削除できません", "unable-delete-device-alias-text": "デバイスエイリアス'{{deviceAlias}}'は次のウィジェットで使用されているため削除できません:
    {{widgetsList}}", - "is-gateway": "Gatewayかどうか", + "is-gateway": "Gateway", "overwrite-activity-time": "接続されたデバイスのアクティビティ時刻を上書き", "device-filter-title": "デバイスフィルター", "filter-title": "フィルター", @@ -2735,7 +2858,7 @@ "device-details": "デバイス詳細" }, "unassign-devices-from-edge-title": "{ count, plural, =1 {デバイス 1 件} other {デバイス # 件} } の割り当てを解除してもよろしいですか?", - "unassign-devices-from-edge-text": "確認後、選択したすべてのデバイスの割り当てが解除され、edgeからアクセスできなくなります。", + "unassign-devices-from-edge-text": "確認後、選択したすべてのデバイスの割り当てが解除され、Edgeからアクセスできなくなります。", "time": "時間", "connectivity": { "check-connectivity": "接続を確認", @@ -2743,6 +2866,8 @@ "loading-check-connectivity-command": "接続確認コマンドを読み込み中...", "use-following-instructions": "シェルを使用してデバイスの代わりにテレメトリを送信するには、以下の手順を使用してください", "execute-following-command": "次のコマンドを実行", + "step-execute-following-command": "ステップ2. 次のコマンドを実行", + "step-install-necessary-client-tools": "ステップ1. 必要なクライアントツールをインストール", "install-curl-windows": "Windows 10 b17063以降では、cURLがデフォルトで利用できます", "install-curl-macos": "Mac OS X 10.2 6C115 (Jaguar)以降では、cURLがデフォルトで利用できます", "install-mqtt-windows": "手順に従ってmosquitto_pubをダウンロード、インストール、設定して実行してください", @@ -2869,7 +2994,7 @@ "description": "説明", "default": "デフォルト", "default-rule-chain": "デフォルトルールチェーン", - "default-edge-rule-chain": "デフォルトedgeルールチェーン", + "default-edge-rule-chain": "デフォルトEdgeルールチェーン", "default-edge-rule-chain-hint": "Edgeで、このアセットプロファイルのアセットの受信データを処理するルールチェーンとして使用されます", "mobile-dashboard": "モバイルダッシュボード", "mobile-dashboard-hint": "モバイルアプリケーションでアセット詳細ダッシュボードとして使用されます", @@ -2930,19 +3055,19 @@ "profile-configuration": "プロファイル設定", "transport-configuration": "トランスポート設定", "default-rule-chain": "デフォルトルールチェーン", - "default-edge-rule-chain": "デフォルトedgeルールチェーン", + "default-edge-rule-chain": "デフォルトEdgeルールチェーン", "default-edge-rule-chain-hint": "Edgeで、このデバイスプロファイルのデバイスの受信データを処理するルールチェーンとして使用されます", "mobile-dashboard": "モバイルダッシュボード", "mobile-dashboard-hint": "モバイルアプリケーションでデバイス詳細ダッシュボードとして使用されます", "select-queue-hint": "ドロップダウンリストから選択してください。", - "delete-device-profile-title": "デバイスプロファイル'{{deviceProfileName}}'を削除してもよろしいですか?", + "delete-device-profile-title": "デバイスプロファイル'{{deviceProfileName}}'を削除してもよろしいですか?", "delete-device-profile-text": "注意: 確認後、デバイスプロファイルと関連データ(関連するOTAアップデートを含む)はすべて復元できなくなります。", - "delete-device-profiles-title": "{ count, plural, =1 {デバイスプロファイル 1 件} other {デバイスプロファイル # 件} } を削除してもよろしいですか?", + "delete-device-profiles-title": "{ count, plural, =1 {デバイスプロファイル 1 件} other {デバイスプロファイル # 件} } を削除してもよろしいですか?", "delete-device-profiles-text": "注意: 確認後、選択したすべてのデバイスプロファイルが削除され、関連データ(関連するOTAアップデートを含む)はすべて復元できなくなります。", - "set-default-device-profile-title": "デバイスプロファイル'{{deviceProfileName}}'をデフォルトにしてもよろしいですか?", + "set-default-device-profile-title": "デバイスプロファイル'{{deviceProfileName}}'をデフォルトにしてもよろしいですか?", "set-default-device-profile-text": "確認後、このデバイスプロファイルはデフォルトとしてマークされ、プロファイル未指定の新しいデバイスに使用されます。", "no-device-profiles-found": "デバイスプロファイルが見つかりません。", - "create-new-device-profile": "新しく作成します!", + "create-new-device-profile": "新しく作成します!", "mqtt-device-topic-filters": "MQTTデバイストピックフィルター", "mqtt-device-topic-filters-unique": "MQTTデバイストピックフィルターは一意である必要があります。", "mqtt-device-topic-filters-spark-plug": "MQTT Sparkplug B Edge of Network (EoN) ノード。", @@ -2991,7 +3116,7 @@ "rpc-response-topic-filter-required": "RPCレスポンストピックフィルターは必須です。", "rpc-request-proto-schema": "RPCリクエストprotoスキーマ", "rpc-request-proto-schema-required": "RPCリクエストprotoスキーマは必須です。", - "rpc-request-proto-schema-hint": "RPCリクエストメッセージには常にフィールドが必要です: string method = 1; int32 requestId = 2; and params = 3 of any data type.", + "rpc-request-proto-schema-hint": "RPCリクエストメッセージには常にフィールドが必要です: string method = 1; int32 requestId = 2; および任意のデータ型の params = 3.", "not-valid-pattern-topic-filter": "無効なトピックフィルターパターン", "not-valid-single-character": "単一レベルのワイルドカード文字の使用が無効です", "not-valid-multi-character": "マルチレベルのワイルドカード文字の使用が無効です", @@ -3141,6 +3266,9 @@ "observe-label": "監視", "attribute-label": "属性", "telemetry-label": "テレメトリ", + "select-all-attribute": "すべての属性を選択", + "select-all-telemetry": "すべてのテレメトリを選択", + "select-all-observe": "すべての監視対象を選択", "edit-observe-select": "監視を編集するには、テレメトリまたは属性を選択してください", "edit-attributes-select": "属性を編集するには、テレメトリまたは属性を選択してください", "no-attributes-set": "属性が設定されていません", @@ -3158,7 +3286,7 @@ "view-attribute": "属性を表示", "remove-attribute": "属性を削除", "delete-server-text": "注意: 確認後、サーバー設定は復元できなくなります。", - "delete-server-title": "サーバーを削除してもよろしいですか?", + "delete-server-title": "サーバーを削除してもよろしいですか?", "mode": "セキュリティ設定モード", "bootstrap-tab": "ブートストラップ", "bootstrap-server-legend": "ブートストラップサーバー (ShortId...)", @@ -3175,7 +3303,7 @@ "lifetime-required": "クライアント登録の有効期間は必須です。", "lifetime-pattern": "クライアント登録の有効期間は正の整数である必要があります。", "default-min-period": "2つの通知間の最小期間 (s)", - "default-min-period-tooltip": "このパラメータがObservationに含まれていない場合に、LwM2MクライアントがObservationのMinimum Periodとして使用すべきデフォルト値。", + "default-min-period-tooltip": "このパラメーターがObservationに含まれていない場合に、LwM2MクライアントがObservationのMinimum Periodとして使用すべきデフォルト値。", "default-min-period-required": "最小期間は必須です。", "default-min-period-pattern": "最小期間は正の整数である必要があります。", "notification-storing": "無効またはオフライン時の通知保存", @@ -3197,7 +3325,7 @@ "bootstrap-server": "ブートストラップサーバー", "lwm2m-server": "LwM2Mサーバー", "include-bootstrap-server": "ブートストラップサーバーの更新を含める", - "bootstrap-update-title": "ブートストラップサーバーはすでに設定されています。更新を除外してもよろしいですか?", + "bootstrap-update-title": "ブートストラップサーバーはすでに設定されています。更新を除外してもよろしいですか?", "bootstrap-update-text": "注意: 確認後、ブートストラップサーバーの設定データは復元できなくなります。", "server-host": "ホスト", "server-host-required": "ホストは必須です。", @@ -3329,34 +3457,40 @@ }, "edge": { "all": "すべて", - "all-edges": "すべての edges", + "all-edges": "すべての Edge", "groups": "グループ", "shared": "共有", "edge": "Edge", "edge-instances": "Edge インスタンス", "instances": "インスタンス", + "edges": "Edge", + "profiles": "プロファイル", + "templates": "テンプレート", + "rule-chain": "ルールチェーン", + "integration": "統合", + "converter": "コンバーター", "edge-file": "Edge ファイル", "name-max-length": "名前は256未満である必要があります", "label-max-length": "ラベルは256未満である必要があります", "type-max-length": "タイプは256未満である必要があります", "management": "Edge 管理", - "no-edges-matching": "'{{entity}}' に一致する edges が見つかりませんでした。", + "no-edges-matching": "'{{entity}}' に一致する Edge が見つかりませんでした。", "add": "Edge を追加", - "no-edges-text": "Edges が見つかりませんでした", + "no-edges-text": "Edge が見つかりませんでした", "edge-details": "Edge 詳細", "add-edge-text": "新しい Edge を追加", "delete": "Edge を削除", - "delete-edge-title": "Edge '{{edgeName}}' を削除してもよろしいですか?", + "delete-edge-title": "Edge '{{edgeName}}' を削除してもよろしいですか?", "delete-edge-text": "注意: 確認後、Edge と関連するすべてのデータは復元できなくなります。", - "delete-edges-title": "{ count, plural, =1 {1 edge} other {# edges} } を削除してもよろしいですか?", - "delete-edges-text": "注意: 確認後、選択した edges はすべて削除され、関連するすべてのデータは復元できなくなります。", + "delete-edges-title": "{ count, plural, =1 {1 件のEdge} other {# 件のEdge} } を削除してもよろしいですか?", + "delete-edges-text": "注意: 確認後、選択した Edge はすべて削除され、関連するすべてのデータは復元できなくなります。", "name": "名前", "name-starts-with": "Edge 名が次で始まる", "name-required": "名前は必須です。", "edge-license-key": "Edge ライセンスキー", "edge-license-key-required": "Edge ライセンスキーは必須です。", "edge-license-key-max-length": "Edge ライセンスキーは31未満である必要があります", - "edge-license-key-hint": "重要な注意: デフォルトの edge ライセンスキーは評価目的のみに提供されます。
    このキーは有効化後 30 日間のみ有効です。ホワイトラベリング 機能は無効です。
    ライセンスキーを取得するには 料金ページ に移動し、用途に最適なライセンスオプションを選択してください。", + "edge-license-key-hint": "重要な注意: デフォルトの Edge ライセンスキーは評価目的のみに提供されます。
    このキーは有効化後 30 日間のみ有効です。ホワイトラベリング 機能は無効です。
    ライセンスキーを取得するには 料金ページ に移動し、用途に最適なライセンスオプションを選択してください。", "cloud-endpoint": "Cloud エンドポイント", "cloud-endpoint-required": "Cloud エンドポイントは必須です。", "cloud-endpoint-max-length": "Cloud エンドポイントは256未満である必要があります", @@ -3376,29 +3510,29 @@ "assign-to-customer": "顧客に割り当て", "assign-to-customer-text": "Edge(s) を割り当てる顧客を選択してください", "assign-edge-to-customer": "Edge(s) を顧客に割り当て", - "assign-edge-to-customer-text": "顧客に割り当てる edges を選択してください", + "assign-edge-to-customer-text": "顧客に割り当てる Edge を選択してください", "assignedToCustomer": "顧客に割り当て", "edge-public": "Edge は公開されています", "assigned-to-customer": "割り当て先: {{customerTitle}}", "unassign-from-customer": "顧客から割り当て解除", - "unassign-edge-title": "Edge '{{edgeName}}' の割り当てを解除してもよろしいですか?", - "unassign-edge-text": "確認後、edge の割り当ては解除され、顧客からアクセスできなくなります。", - "unassign-edges-title": "{ count, plural, =1 {1 edge} other {# edges} } の割り当てを解除してもよろしいですか?", - "unassign-edges-text": "確認後、選択した edges の割り当てはすべて解除され、顧客からアクセスできなくなります。", + "unassign-edge-title": "Edge '{{edgeName}}' の割り当てを解除してもよろしいですか?", + "unassign-edge-text": "確認後、Edgeの割り当ては解除され、顧客からアクセスできなくなります。", + "unassign-edges-title": "{ count, plural, =1 {1 件のEdge} other {# 件のEdge} } の割り当てを解除してもよろしいですか?", + "unassign-edges-text": "確認後、選択したすべてのEdgeの割り当てが解除され、顧客からアクセスできなくなります。", "make-public": "Edge を公開する", - "make-public-edge-title": "Edge '{{edgeName}}' を公開してもよろしいですか?", - "make-public-edge-text": "確認後、edge とそのすべてのデータは公開され、他のユーザーがアクセスできるようになります。", + "make-public-edge-title": "Edge '{{edgeName}}' を公開してもよろしいですか?", + "make-public-edge-text": "確認後、Edge とそのすべてのデータは公開され、他のユーザーがアクセスできるようになります。", "make-private": "Edge を非公開にする", "public": "公開", - "make-private-edge-title": "Edge '{{edgeName}}' を非公開にしてもよろしいですか?", - "make-private-edge-text": "確認後、edge とそのすべてのデータは非公開になり、他のユーザーはアクセスできなくなります。", + "make-private-edge-title": "Edge '{{edgeName}}' を非公開にしてもよろしいですか?", + "make-private-edge-text": "確認後、Edge とそのすべてのデータは非公開になり、他のユーザーはアクセスできなくなります。", "import": "Edge をインポート", "install-connect-instructions": "インストール & 接続手順", - "install-connect-instructions-edge-created": "Edge を作成しました! インストール & 接続手順を確認してください", + "install-connect-instructions-edge-created": "Edge を作成しました! インストール & 接続手順を確認してください", "loading-edge-instructions": "Edge 手順を読み込み中...", "label": "ラベル", "load-entity-error": "データの読み込みに失敗しました。エンティティは削除されました。", - "assign-new-edge": "新しい edge を割り当て", + "assign-new-edge": "新しい Edge を割り当て", "unassign-from-edge": "Edge から割り当て解除", "edge-key": "Edge キー", "copy-edge-key": "Edge キーをコピー", @@ -3425,10 +3559,10 @@ "rulechains": "Edge ルールチェーン", "integrations": "統合", "search": "Edge を検索", - "selected-edges": "{ count, plural, =1 {1 edge} other {# edges} } 選択済み", - "any-edge": "任意の edge", - "no-edge-types-matching": "'{{entitySubtype}}' に一致する edge タイプは見つかりませんでした。", - "edge-type-list-empty": "選択した edge タイプはありません。", + "selected-edges": "{ count, plural, =1 {1 件のEdge} other {# 件のEdge} } 選択済み", + "any-edge": "任意の Edge", + "no-edge-types-matching": "'{{entitySubtype}}' に一致する Edge タイプは見つかりませんでした。", + "edge-type-list-empty": "選択した Edge タイプはありません。", "edge-types": "Edge タイプ", "enter-edge-type": "Edge タイプを入力", "deployed": "展開済み", @@ -3448,24 +3582,24 @@ "manage-edge-dashboard-groups": "Edge ダッシュボードグループを管理", "manage-edge-rule-chains": "Edge ルールチェーンを管理", "manage-edge-integrations": "Edge 統合を管理", - "manage-edge-scheduler-events": "Edge スケジューライベントを管理", + "manage-edge-scheduler-events": "Edge スケジューラーイベントを管理", "select-group-to-add": "選択した Edge を追加する対象グループを選択", "select-group-to-move": "選択した Edge を移動する対象グループを選択", - "remove-edges-from-group": "{ count, plural, =1 {1 edge} other {# edges} } をグループ '{entityGroup}' から削除してもよろしいですか?", + "remove-edges-from-group": "{ count, plural, =1 {1 件のEdge} other {# 件のEdge} } をグループ '{entityGroup}' から削除してもよろしいですか?", "group": "Edge グループ", "list-of-groups": "{ count, plural, =1 {1 Edge グループ} other {# Edge グループのリスト} }", "group-name-starts-with": "'{{prefix}}' で始まる Edge グループ", - "unassign-entity-group-from-edge-title": "エンティティグループ '{{ entityGroupName }}' を Edge から解除しますか?", - "unassign-entity-group-from-edge-text": "確認後、エンティティグループは解除され、Edge ではアクセスできなくなります。", - "unassign-entity-group-from-edge": "エンティティグループを Edge から解除", - "unassign-entity-groups-from-edge-title": "{{count}} 個のエンティティグループを解除しますか?", - "unassign-entity-groups-from-edge-text": "確認後、エンティティグループは解除され、Edge ではアクセスできなくなります。", - "unassign-entity-groups-from-edge": "エンティティグループを Edge から解除", - "unassign-scheduler-events-from-edge": "スケジューラーイベントを Edge から解除", - "unassign-scheduler-event-from-edge-title": "スケジューラーイベント '{{schedulerEventName}}' を Edge から解除しますか?", - "unassign-scheduler-event-from-edge-text": "確認後、スケジューラーイベントは解除され、Edge ではアクセスできなくなります。", - "unassign-scheduler-events-from-edge-title": "{ count, plural, =1 {1 スケジューラーイベント} other {# スケジューラーイベント} } を Edge から解除しますか?", - "unassign-scheduler-events-from-edge-text": "確認後、すべての選択されたスケジューラーイベントが解除され、Edge ではアクセスできなくなります。", + "unassign-entity-group-from-edge-title": "エンティティグループ '{{ entityGroupName }}' の割り当てを解除してもよろしいですか?", + "unassign-entity-group-from-edge-text": "確認後、エンティティグループの割り当ては解除され、Edgeからアクセスできなくなります。", + "unassign-entity-group-from-edge": "エンティティグループのEdgeへの割り当てを解除", + "unassign-entity-groups-from-edge-title": "{{count}} 個のエンティティグループの割り当てを解除してもよろしいですか?", + "unassign-entity-groups-from-edge-text": "確認後、エンティティグループの割り当ては解除され、Edgeからアクセスできなくなります。", + "unassign-entity-groups-from-edge": "エンティティグループのEdgeへの割り当てを解除", + "unassign-scheduler-events-from-edge": "スケジューラーイベントのEdgeへの割り当てを解除", + "unassign-scheduler-event-from-edge-title": "スケジューラーイベント '{{schedulerEventName}}' の割り当てを解除してもよろしいですか?", + "unassign-scheduler-event-from-edge-text": "確認後、スケジューラーイベントの割り当ては解除され、Edgeからアクセスできなくなります。", + "unassign-scheduler-events-from-edge-title": "{ count, plural, =1 {1 件のスケジューラーイベント} other {# 件のスケジューラーイベント} } の割り当てを解除してもよろしいですか?", + "unassign-scheduler-events-from-edge-text": "確認後、選択したすべてのスケジューラーイベントの割り当てが解除され、Edgeからアクセスできなくなります。", "manage-user-groups": "ユーザーグループを管理", "manage-asset-groups": "アセットグループを管理", "manage-device-groups": "デバイスグループを管理", @@ -3474,18 +3608,657 @@ "manage-scheduler-events": "スケジューラーイベントを管理", "manage-integrations": "統合を管理", "assign-scheduler-event-to-edge-title": "スケジューラーイベントを Edge に割り当て", - "assign-scheduler-event-to-edge-text": "割り当てるスケジューラーイベントを選択してください", - "assign-entity-groups-to-edge-text": "割り当てるエンティティグループを選択してください", + "assign-scheduler-event-to-edge-text": "Edgeに割り当てるスケジューラーイベントを選択してください", + "assign-entity-groups-to-edge-text": "Edgeに割り当てるエンティティグループを選択してください", "assign-integration-to-edge-title": "統合を Edge に割り当て", - "assign-integration-to-edge-text": "割り当てる統合を選択してください", + "assign-integration-to-edge-text": "Edgeに割り当てる統合を選択してください", "missing-attributes-title": "Edge に不足している属性があります", "missing-attributes-text": "Edge に割り当てられた統合は、この Edge で利用できない属性プレースホルダーを持っています。

    不足している属性のリスト:
    {{missingEdgeAttributes}}", "missing-all-related-attributes-title": "Edge に不足している属性があります", "missing-all-related-attributes-text": "統合に関連する Edge には、統合設定内の属性プレースホルダーに含まれている属性がありません。

    不足している属性のリスト:
    {{missingEdgeAttributes}}", "quick-overview-widget-header": "{{edgeName}} クイックオーバービュー", "upgrade-instructions": "アップグレード手順", + "managed-application": "管理対象アプリケーション", + "app-upgrade-available": "アップグレード可能", "connected": "接続済み", - "disconnected": "接続解除" + "disconnected": "接続解除", + "auto-provision": "自動プロビジョニング", + "auto-provision-title": "Edgeの自動プロビジョニング", + "auto-provision-subtitle": "Docker実行コマンドを生成します。対象マシンでコマンドを実行すると、EdgeとそのAgentが自動的に作成されます。", + "auto-provision-step-select": "Agentプロファイル", + "auto-provision-step-script": "プロビジョニングスクリプト", + "auto-provision-agent-profile-label": "Agentプロファイル", + "auto-provision-agent-profile-placeholder": "Agentプロファイルを選択または作成", + "auto-provision-no-eligible-profiles": "対象となるプロファイルが見つかりません。右側のボタンを使用して作成してください。", + "auto-provision-create-profile": "プロファイルを作成", + "auto-provision-validating": "Agentプロファイルを検証しています…", + "auto-provision-valid": "プロビジョニングの準備ができました。'{{profile}}'にはEdgeアプリケーションプロファイルが割り当てられています。", + "auto-provision-invalid-strategy": "このプロファイルのプロビジョニング戦略では、アプリケーションは自動インストールされません。自動インストール戦略を持つプロファイルを選択してください。", + "auto-provision-invalid-no-edge-app-profile": "このプロファイルにはEdgeアプリケーションプロファイルが割り当てられていません。ボタンを使用して割り当ててください。", + "auto-provision-info-title": "仕組み", + "auto-provision-info-body": "Agentプロファイルを作成すると、Docker実行コマンドが生成されます。このコマンドを対象マシンで実行すると、ThingsBoardはコマンドに埋め込まれた認証情報を使用して、Agentとそれに紐づくEdgeエンティティを自動的に作成します。Edgeは、Agentプロファイルに割り当てられたアプリケーションプロファイルに基づいて自動的に設定されます。Edgeを手動で作成する必要はありません。", + "auto-provision-success-message": "Agentプロファイルの準備ができました。任意の対象マシンでコマンドを実行して、新しいEdgeをプロビジョニングしてください。", + "auto-provision-script-hint": "Edgeにする各マシンでこのコマンドを実行してください。実行するたびに、AgentとEdgeのペアが1組プロビジョニングされます。", + "auto-provision-open-profile": "プロファイルを開く", + "auto-provision-no-script": "このプロファイルにはプロビジョニング認証情報がありません。プロファイルを開いて再生成してください。" + }, + "agent": { + "agents": "Agent", + "agent-profiles": "Agentプロファイル", + "app-profiles": "アプリケーションプロファイル", + "templates": "テンプレート", + "agent-templates": "Agentテンプレート", + "add": "Agentを追加", + "add-agent-text": "新しいAgentを追加", + "auto-provision": "自動プロビジョニング", + "auto-provision-title": "Agentの自動プロビジョニング", + "auto-provision-step-select": "Agentプロファイル", + "auto-provision-step-script": "プロビジョニングスクリプト", + "auto-provision-valid": "プロビジョニングの準備ができました。'{{profile}}'ではプロビジョニングが有効になっています。", + "auto-provision-info-title": "仕組み", + "auto-provision-info-body": "Agentプロファイルを作成すると、Docker実行コマンドが生成されます。対象マシンでこのコマンドを実行すると、ThingsBoardはコマンドに埋め込まれた認証情報を使用してAgentを自動的に作成します。Agentは、Agentプロファイルに基づいて自動的に設定されます。Agentを手動で作成する必要はありません。", + "auto-provision-success-message": "Agentプロファイルの準備ができました。任意の対象マシンでコマンドを実行して、新しいAgentをプロビジョニングしてください。", + "auto-provision-script-hint": "Agentを実行する各マシンでこのコマンドを実行してください。1回の実行で1つのAgentがプロビジョニングされます。", + "add-profile": "Agentプロファイルを追加", + "add-app-profile": "アプリケーションプロファイルを追加", + "add-application": "アプリケーションを追加", + "agent-details": "Agentの詳細", + "profile-details": "Agentプロファイルの詳細", + "app-profile-details": "アプリケーションプロファイルの詳細", + "template-details": "Agentテンプレートの詳細", + "application-details": "アプリケーションの詳細", + "no-agents-text": "Agentが見つかりません", + "no-agent-profiles-text": "Agentプロファイルが見つかりません", + "no-app-profiles-text": "アプリケーションプロファイルが見つかりません", + "no-templates-text": "Agentテンプレートが見つかりません", + "no-applications-text": "アプリケーションが見つかりません", + "no-events-text": "イベントが見つかりません", + "search": "Agentを検索", + "search-profiles": "Agentプロファイルを検索", + "search-app-profiles": "アプリケーションプロファイルを検索", + "search-templates": "テンプレートを検索", + "search-applications": "アプリケーションを検索", + "search-events": "イベントを検索", + "selected-agents": "{ count, plural, =1 {1 件のAgent} other {# 件のAgent} }を選択済み", + "selected-agent-profiles": "{ count, plural, =1 {1 件のAgentプロファイル} other {# 件のAgentプロファイル} }を選択済み", + "selected-app-profiles": "{ count, plural, =1 {1 件のアプリケーションプロファイル} other {# 件のアプリケーションプロファイル} }を選択済み", + "selected-applications": "{ count, plural, =1 {1 件のアプリケーション} other {# 件のアプリケーション} }を選択済み", + "name": "名前", + "name-required": "名前は必須です。", + "name-max-length": "名前は256文字未満にしてください。", + "routing-key": "ルーティングキー", + "secret": "シークレット", + "description": "説明", + "profile-name": "プロファイル名", + "profile-name-placeholder": "本番環境のAgent", + "profile-name-required": "プロファイル名は必須です。", + "provision-type": "プロビジョニングタイプ", + "provision-key": "プロビジョニングキー", + "provision-secret": "プロビジョニングシークレット", + "app-type": "アプリケーションタイプ", + "current-version": "現行バージョン", + "next-version": "次のバージョン", + "assigned-to-customer": "顧客に割り当て済み", + "assign-to-customer": "顧客に割り当て", + "unassign-from-customer": "顧客から割り当て解除", + "assign-agents-to-customer": "Agentを顧客に割り当て", + "assign-to-customer-text": "Agentを割り当てる顧客を選択してください。", + "unassign-agents-from-customer": "顧客からAgentの割り当てを解除", + "delete": "Agentを削除", + "delete-profile": "プロファイルを削除", + "set-default-profile": "Agentプロファイルをデフォルトに設定", + "set-default-profile-title": "Agentプロファイル'{{profileName}}'をデフォルトに設定してもよろしいですか?", + "set-default-profile-text": "確認後、このAgentプロファイルはデフォルトとしてマークされ、プロファイルが指定されていない新しいAgentに使用されます。", + "default-profile": "デフォルト", + "agent-profile-required": "Agentプロファイルは必須です。", + "edit-profile": "Agentプロファイルを編集", + "no-agent-profiles-found": "Agentプロファイルが見つかりません", + "no-agent-profiles-matching": "'{{entity}}'に一致するAgentプロファイルが見つかりません", + "create-new-agent-profile": "新しいAgentプロファイルを作成", + "add-profile-step-details": "プロファイルの詳細", + "add-profile-step-app-profiles": "アプリケーションプロファイル", + "add-profile-app-profiles-hint-title": "アプリケーションプロファイルを割り当てる理由は?", + "add-profile-app-profiles-hint": "割り当てられたアプリケーションプロファイルは、それを参照するアプリケーション('{{profileName}}'プロファイルを使用するAgentが管理するアプリケーション)に対する一括操作(更新、アップグレード、削除)を制御します。既存のアプリケーションプロファイルを選択するか、その場で新規作成してください。", + "application-profiles": "アプリケーションプロファイル", + "create-new-application-profile": "新しいアプリケーションプロファイルを作成", + "create-new": "新規作成", + "delete-app-profile": "アプリケーションプロファイルを削除", + "copy-profile-id": "プロファイルIDをコピー", + "profile-id-copied-message": "プロファイルIDがクリップボードにコピーされました。", + "app-profile-wizard-title": "アプリケーションプロファイルを作成", + "app-profile-wizard-edit-title": "アプリケーションプロファイルを更新", + "app-update-current-config": "現在のアプリケーション設定", + "app-update-future-config": "適用予定のアプリケーション設定", + "app-update-edit-profile": "プロファイルを更新", + "app-update-compare-hint": "このアプリケーションの現在の設定(左)と、割り当てられたプロファイルから受け取る設定(認証情報をマージ済み、右)を読み取り専用で比較します。", + "app-install-custom-config": "詳細設定", + "app-install-from-profile": "デフォルト", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "ThingsBoard Agentが、このデプロイメントのインストール、アップグレード、監視をクラウドからリモートで行います。対象マシンで手動のDockerコマンドやメンテナンスは不要です。", + "deploy-select-agent-step": "Agentを選択", + "deploy-intro": "ThingsBoard Agentを使用してリモートマシンにデプロイします。対象マシンで実行中の既存のAgentを選択するか、新しいAgentを作成してください。", + "deploy-agent": "Agent", + "deploy-create-new": "新規作成", + "deploy-no-agents": "Agentが見つかりません", + "deploy-no-agents-matching": "'{{entity}}'に一致するAgentはありません", + "deploy-already-managed": "このエンティティは既にAgentアプリケーション\"{{name}}\"によって管理されています。", + "deploy-open-agent": "Agentへ移動", + "deploy-open-app": "Agentアプリケーションへ移動", + "deploy-install-step": "インストール", + "deploy-status-hero": "ThingsBoard Agentが、このデプロイメントのインストール、アップグレード、監視をクラウドからリモートで実行しています。対象マシンで手動のDockerコマンドやメンテナンスは不要です。", + "deploy-status-online-title": "Agentはオンラインです", + "deploy-status-offline-title": "Agentはオフラインです", + "deploy-status-managing": "がこのデプロイメントを管理しています。ここで行う操作は他にありません。", + "deploy-status-managing-for": "が{{duration}}にわたってこのデプロイメントを管理しています。ここで行う操作はほかにありません。", + "deploy-status-offline-desc": "には現在接続できません。Agentが再接続すると、接続は自動的に再開されます。", + "deploy-status-duration-days": "{{count}}日", + "deploy-status-duration-hours": "{{count}}時間", + "deploy-status-duration-minutes": "{{count}}分", + "deploy-status-healthy": "正常", + "deploy-status-unhealthy": "オフライン", + "deploy-status-need-reinstall": "再インストールが必要ですか?", + "deploy-status-show-install": "インストールコマンドを表示", + "deploy-status-hide-install": "非表示", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "このデプロイメントを管理するAgentデバイス — テレメトリとライフサイクル。", + "deploy-status-card-app-title": "Agentアプリケーション", + "deploy-status-card-app-desc": "このAgentが実行しているアプリケーション — サービス、ステータス、ログ。", + "deploy-status-card-events-title": "Agentイベント", + "deploy-status-card-events-desc": "インストール、アップグレード、再起動、エラーのライブストリーム。", + "deploy-status-edge-ui-title": "ThingsBoard Edge UIを開く", + "deploy-status-edge-ui-desc": "Edgeサービスが起動したら、http://localhost:8080でEdgeのWebインターフェースを開いてください。前の手順でHTTPバインドポートの設定を変更した場合は、http://localhost:18080を開いてください。ローカルのThingsBoardサーバーまたはThingsBoard Cloudのテナント認証情報を使用してログインしてください。", + "app-install-select-profile": "アプリケーションプロファイル", + "app-install-no-profiles": "アプリケーションプロファイルが見つかりません", + "app-install-virtual-profile-badge": "定義済み", + "app-install-virtual-profile-hint": "このプロファイルはまだ存在しません。選択すると、テンプレートから自動的に作成されます。", + "app-install-profile-materialize-failed": "定義済みアプリケーションプロファイルの作成に失敗しました。", + "quick-start-title": "クイックスタート — 定義済みプロファイル", + "quick-start-subtitle": "既製のEdgeまたはGatewayプロファイルをワンクリックで作成できます。設定は不要です。", + "quick-start-filter-all": "すべて", + "quick-start-all-created": "定義済みのプロファイルはすべて作成されました。", + "quick-start-no-match": "このフィルターに一致する定義済みプロファイルはありません。", + "quick-start-profile-created": "アプリケーションプロファイル\"{{profileName}}\"が作成されました", + "add-profile-assignments-load-failed": "現在割り当てられているアプリケーションプロファイルを読み込めませんでした。保存しても既存の割り当ては変更されません。", + "app-profile-wizard-cta": "プロファイルを作成", + "app-profile-wizard-confirm-info": "アプリケーションプロファイルは、選択したテンプレートとCompose設定で作成されます。後でプロファイルの詳細ページから変更できます。", + "app-profile-name": "プロファイル名", + "app-profile-name-placeholder-edge": "Silo Edgeアプリケーションプロファイル", + "app-profile-name-placeholder-gateway": "Silo Gatewayアプリケーションプロファイル", + "app-profile-name-placeholder-generic": "Siloアプリケーションプロファイル", + "app-profile-step-save": "プロファイルを保存", + "app-profile-description": "説明", + "copy-id": "Agent IDをコピー", + "copy-routing-key": "ルーティングキーをコピー", + "copy-secret": "シークレットをコピー", + "copy-provision-key": "プロビジョニングキーをコピー", + "copy-provision-secret": "プロビジョニングシークレットをコピー", + "id-copied-message": "Agent IDがクリップボードにコピーされました", + "routing-key-copied-message": "ルーティングキーがクリップボードにコピーされました", + "secret-copied-message": "シークレットがクリップボードにコピーされました", + "provision-key-copied-message": "プロビジョニングキーがクリップボードにコピーされました", + "provision-secret-copied-message": "プロビジョニングシークレットがクリップボードにコピーされました", + "delete-agent-title": "Agent '{{agentName}}'を削除してもよろしいですか?", + "delete-agent-text": "注意してください。確認後、Agentと関連するすべてのデータは復元できなくなります。", + "delete-agents-title": "{ count, plural, =1 {1 件のAgent} other {# 件のAgent} }を削除してもよろしいですか?", + "delete-agents-text": "注意してください。確認後、選択したすべてのAgentが削除され、関連するすべてのデータは復元できなくなります。", + "unassign-agent-title": "Agent '{{agentName}}'の割り当てを解除してもよろしいですか?", + "unassign-agent-text": "確認後、Agentの割り当ては解除され、顧客はアクセスできなくなります。", + "unassign-agents-title": "{ count, plural, =1 {1 件のAgent} other {# 件のAgent} }の割り当てを解除してもよろしいですか?", + "unassign-agents-text": "確認後、選択したすべてのAgentの割り当ては解除され、顧客はアクセスできなくなります。", + "delete-profile-title": "プロファイル'{{profileName}}'を削除してもよろしいですか?", + "delete-profile-text": "注意してください。確認後、プロファイルと関連するすべてのデータは復元できなくなります。", + "delete-profiles-title": "{ count, plural, =1 {1 件のプロファイル} other {# 件のプロファイル} }を削除してもよろしいですか?", + "delete-profiles-text": "注意してください。確認後、選択したすべてのプロファイルが削除され、関連するすべてのデータは復元できなくなります。", + "delete-app-profile-title": "アプリケーションプロファイル'{{profileName}}'を削除してもよろしいですか?", + "delete-app-profile-text": "注意してください。確認後、アプリケーションプロファイルと関連するすべてのデータは復元できなくなります。", + "delete-app-profiles-title": "{ count, plural, =1 {1 件のアプリケーションプロファイル} other {# 件のアプリケーションプロファイル} }を削除してもよろしいですか?", + "delete-app-profiles-text": "注意してください。確認後、選択したすべてのアプリケーションプロファイルが削除され、関連するすべてのデータは復元できなくなります。", + "status": "ステータス", + "online": "オンライン", + "offline": "オフライン", + "app-errors": "エラー", + "app-errors-recent": "直近{{count}}件のエラーイベント:", + "app-errors-open-events": "クリックしてイベントタブを開く", + "online-hint": "Agentは現在プラットフォームに接続されています", + "offline-hint": "Agentはプラットフォームに接続されていません", + "agent-profile": "Agentプロファイル", + "no-profile": "プロファイルなし", + "applications": "アプリケーション", + "manage-applications": "アプリケーションを管理", + "app-name": "名前", + "app-template": "テンプレート", + "app-units": "ユニット", + "app-origin": "作成元", + "app-profile-in-sync": "プロファイルと同期済み", + "app-profile-in-sync-yes": "アプリケーションプロファイルと同期済み", + "app-profile-in-sync-no": "アプリケーションプロファイルと未同期", + "app-profile-in-sync-na": "アプリケーションプロファイルが割り当てられていません", + "app-upgrade-to": "{{version}}にアップグレード", + "app-restart": "再起動", + "app-upgrade": "アップグレード", + "app-delete": "削除", + "app-update": "更新", + "app-update-title": "{{name}}を更新しますか?", + "app-update-text": "保存された設定をAgentにプッシュします。Agentは最新の保存済みComposeを使用して再デプロイします。", + "app-version-upgrade-available-title": "アップグレード可能", + "app-version-mismatch-title": "テンプレートバージョンの不一致", + "app-assign-upgrade-available-text": "プロファイル'{{profileName}}'はテンプレートバージョン{{profileVersion}}ですが、このアプリケーションは{{appVersion}}です。このアプリケーションでは{{profileVersion}}へのアップグレードが利用可能です。プロファイルを直接割り当てると、アップグレード手順(データベースのアップグレードスクリプトなど)を実行せずに{{profileVersion}}に切り替わります。バージョンを安全に移行するには「アップグレード」アクションを使用してください。", + "app-assign-version-mismatch-text": "プロファイル'{{profileName}}'はテンプレートバージョン{{profileVersion}}を使用していますが、このアプリケーションはバージョン{{appVersion}}です。割り当てると、アップグレードやダウングレードの手順を一切実行せずにアプリケーションが{{profileVersion}}に切り替わり、不整合な状態になる可能性があります。バージョンを安全に移行するには「アップグレード」アクションを使用してください。", + "app-assign-anyway": "このまま割り当て", + "app-assign-upgrade-first": "先にアップグレード", + "app-update-drift-title": "割り当てられたプロファイルのバージョンが異なります", + "app-update-drift-text": "割り当てられたプロファイル'{{profileName}}'はテンプレートバージョン{{profileVersion}}ですが、このアプリケーションは{{appVersion}}です。更新すると、アプリケーションは現在の設定のまま再デプロイされ、プロファイルの設定は適用されません。{{profileVersion}}に移行するには、「アップグレード」アクションを使用してください。", + "app-update-anyway": "このまま更新", + "app-profile-drifted-hint": "プロファイルはテンプレートバージョン{{version}}です。更新では適用されません。「アップグレード」を使用してください。", + "app-arguments-profile-managed-hint": "カスタム引数は割り当てられたアプリケーションプロファイルで管理されています。プロファイルページで編集してください。", + "app-current-version": "現行バージョン", + "app-profile-version": "プロファイルバージョン", + "app-name-required": "アプリケーション名は必須です。", + "app-compose": "Docker Compose設定", + "arguments": "カスタム引数", + "arguments-hint-prefix": "デプロイ時に解決されるプレースホルダーです。Compose内では次の形式で参照してください:", + "arguments-empty": "カスタム引数が定義されていません。", + "arguments-empty-read-title": "カスタム引数が定義されていません", + "arguments-empty-read-hint": "Composeは記述された値のままデプロイされます。", + "arguments-empty-write-title": "カスタム引数はまだありません", + "arguments-empty-write-hint": "プレースホルダーを追加すると、デプロイ時にエンティティの属性またはテレメトリの値をComposeに挿入できます。", + "argument-settings": "引数の設定", + "argument-add": "引数を追加", + "argument-remove": "引数を削除", + "argument-name": "名前", + "argument-name-required": "引数名は必須です。", + "argument-name-pattern": "使用できるのは英字、数字、アンダースコアのみです。", + "argument-name-duplicate": "引数名はすでに使用されています。", + "argument-referenced-as": "Docker Composeの設定では次の名前で参照します", + "argument-source": "ソースタイプ", + "argument-target-entity": "対象エンティティ", + "argument-source-agent": "Agent", + "argument-source-owner": "所有者", + "argument-source-related-entity": "関連エンティティ", + "argument-source-tenant": "現在のテナント", + "argument-source-device": "デバイス", + "argument-source-asset": "アセット", + "argument-source-customer": "顧客", + "argument-source-edge": "Edge", + "argument-source-entity-device": "デバイス", + "argument-source-entity-asset": "アセット", + "argument-source-entity-customer": "顧客", + "argument-source-entity-edge": "Edge", + "argument-value-type": "値の型", + "argument-value-type-attribute": "属性", + "argument-value-type-latest-telemetry": "最新のテレメトリ", + "argument-scope": "属性スコープ", + "argument-type-server-attribute": "サーバー属性", + "argument-type-shared-attribute": "共有属性", + "argument-type-client-attribute": "クライアント属性", + "argument-key": "キー", + "argument-attribute-key": "属性キー", + "argument-telemetry-key": "最新のテレメトリキー", + "argument-key-required": "キーは必須です。", + "argument-default-value": "デフォルト値", + "argument-format": "値の形式", + "argument-format-string": "テキスト", + "argument-format-json": "JSON", + "argument-format-hint-json": "「JSON」は配列/オブジェクト/数値をそのまま挿入しますが、プレースホルダーが値全体である場合に限ります。", + "argument-format-hint-embedded": "プレースホルダーが文字列内に埋め込まれている場合、この選択は無視され、値は常に引用符付きのテキストとして挿入されます。", + "argument-format-hint-text": "「テキスト」は常に引用符付きの文字列を挿入します。", + "app-compose-creds-overridden-hint": "Compose内の認証情報フィールドはリンクされたエンティティによって管理され、保存時に上書きされます。変更するには、エンティティを再割り当てしてください。", + "app-profile-compose-creds-hint": "Compose内の認証情報フィールドはリンクされたエンティティによって管理され、保存時に上書きされます。変更するには、アプリケーションの作成/編集時にエンティティを割り当ててください。", + "app-related-entity": "関連エンティティ", + "app-related-entity-none": "一致するエンティティが見つかりません", + "app-related-entity-none-create": "一致するエンティティが見つかりません。「新規作成」ボタンを使用して作成してください。", + "app-related-entity-required": "EdgeおよびGatewayアプリケーションでは関連エンティティは必須です。", + "app-step-applied-stage-hint": "ここでの変更は、Agentの'{{stage}}'ステージで適用されます。", + "app-restart-title": "{{name}}を再起動しますか?", + "app-restart-text": "Agentはアプリケーションの起動ステップを再実行します。既存のデータと設定は保持されます。", + "app-assign-compare-title": "アプリケーションプロファイルを割り当て", + "app-assign-compare-hint": "プロファイル'{{profileName}}'を割り当てると、'{{appName}}'のCompose設定が置き換えられます。上記の変更内容を確認して、確定してください。", + "app-assign-compare-cta": "プロファイルを割り当て", + "app-upgrade-title": "アプリケーションをアップグレード", + "app-upgrade-step1": "変更内容の確認", + "app-upgrade-step2": "設定と確定", + "app-upgrade-heading": "{{name}}をアップグレード中: {{from}} → {{to}}", + "app-upgrade-template-new": "テンプレート({{version}})— 新規", + "app-upgrade-current": "お使いのCompose(現在の内容に新しいイメージを自動マージ済み)", + "app-upgrade-diff-hint": "左右比較: 左側のペインには新しいテンプレートがそのまま表示され、右側のペインには新しいイメージが自動マージされた現在のComposeが表示されます。続行する前に差分を確認してください。", + "app-upgrade-steps-list": "実行されるアップグレード手順:", + "app-upgrade-backup-volumes-hint": "アップグレード前にバックアップするボリュームを選択してください。バックアップがあれば、アップグレードに失敗した場合に自動的にロールバックできます。", + "app-upgrade-no-volumes": "Compose設定にボリュームが検出されませんでした。", + "app-upgrade-summary-versions": "アップグレード", + "app-upgrade-summary-volumes-label": "バックアップするボリューム", + "app-upgrade-summary-volumes": "{ count, plural, =1 {1 件選択済み} other {# 件選択済み} }", + "app-upgrade-rollback-info": "いずれかの手順が失敗した場合、Agentはバックアップされたボリュームを使用して以前のバージョンに自動的にロールバックします。", + "app-upgrade-cta": "アップグレード", + "app-upgrade-loading": "テンプレートを読み込み中…", + "app-upgrade-no-template": "アプリケーションにテンプレートが設定されていないため、アップグレードできません。", + "app-upgrade-no-next-version": "利用可能な新しいテンプレートバージョンはありません。", + "app-upgrade-load-failed": "アップグレードテンプレートの読み込みに失敗しました。", + "app-upgrade-merge-failed": "アップグレードのプレビューの計算に失敗しました。", + "app-compose-invalid-yaml": "Docker Compose設定が有効なYAMLではありません。保存する前に修正してください。", + "app-profile-saved-title": "アプリケーションプロファイルを保存しました", + "app-profile-saved-propagation-text": "このプロファイルに既に割り当てられているアプリケーションは自動的に更新されていません。変更を適用するには、Agentプロファイルページから一括更新/アップグレードを実行するか、各アプリケーションをそれぞれのページから個別に更新してください。", + "app-upgrade-profile-step": "プロファイルのアップグレード", + "app-upgrade-profile-loading": "プロファイルを読み込み中…", + "app-upgrade-profile-name": "プロファイル", + "app-upgrade-profile-current": "プロファイルのCompose(現在の内容に新しいイメージを自動マージ済み)", + "app-upgrade-profile-hint": "このアプリケーションは、以前のテンプレートバージョンを参照しているプロファイルにリンクされています。アプリケーションが新しい設定を適用できるよう、先にプロファイルをアップグレードしてください。", + "app-upgrade-profile-cta": "プロファイルをアップグレード", + "app-profile-load-failed": "アプリケーションプロファイルの読み込みに失敗しました。", + "app-install-title": "アプリケーションをインストール", + "app-install-on-agent": "Agent「{{name}}」", + "app-install-pick-type": "このAgentにデプロイするものを選択してください。", + "app-install-step1": "タイプを選択", + "app-install-step3": "確認とカスタマイズ", + "app-install-step4": "アプリケーションを保存", + "app-install-type-generic": "汎用", + "app-install-type-generic-desc": "任意のDocker Composeアプリケーションをデプロイ", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "ThingsBoard Edgeをデプロイ", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "ThingsBoard Gatewayをデプロイ", + "app-install-name": "アプリケーション名", + "app-install-yaml": "Docker Compose設定", + "app-compose-template-select": "Composeテンプレート", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "ハイブリッド", + "compose-type-in-memory": "インメモリ", + "app-install-diff-template": "テンプレート — 読み取り専用", + "app-install-diff-editable": "お使いのCompose — 編集可能、保存されます", + "app-install-diff-hint": "左ペインには元のテンプレートのComposeが表示されます。右ペインを編集して調整してください。保存されるのは右側のみです。", + "app-diff-sync-scroll": "ペイン間でスクロールを同期", + "app-diff-read-only": "読み取り専用", + "app-install-cred-title": "認証情報", + "app-install-cred-hint": "プロファイルを使用する場合、編集できるのはこれらのフィールドのみです。入力した値は下のComposeプレビューに書き戻されます。", + "app-install-cred-routing-key": "ルーティングキー", + "app-install-cred-routing-secret": "ルーティングシークレット", + "app-install-cred-security-type": "セキュリティタイプ", + "app-install-cred-security-access-token": "アクセストークン", + "app-install-cred-security-username-password": "ユーザー名 / パスワード", + "app-install-cred-access-token": "アクセストークン", + "app-install-cred-client-id": "クライアントID", + "app-install-cred-username": "ユーザー名", + "app-install-cred-password": "パスワード", + "app-install-pull-images": "起動前にイメージをプル", + "app-image-pull-policy-if-not-present": "存在しない場合", + "app-image-pull-policy-always": "常に", + "app-install-cta": "保存", + "app-update-wizard-title": "アプリケーションを更新", + "app-update-cta": "更新", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "提案(テンプレートとマージ済み)— 読み取り専用", + "app-update-diff-current": "現在のCompose — 編集可能、保存されます", + "app-update-diff-hint": "左側で提案された変更を確認してください。ペイン間の矢印を使用して、選択したチャンクを右側の現在のComposeにマージします。保存されるのは右側のみです。", + "app-update-cred-hint": "プロファイルで管理されるアプリケーションでは、ここに表示されるのは認証情報フィールドのみです。その他のComposeの変更はプロファイルを通じて行います。", + "app-profile-outdated-hint": "プロファイル設定が古くなっています。再取得するには「更新」を実行してください。", + "app-project-name": "プロジェクト名", + "app-update-skip-profile-refetch": "プロファイル設定の再取得をスキップ", + "app-update-skip-profile-refetch-hint": "オンにすると、Agentアプリケーションは現在のComposeを維持し、上記の認証情報の値のみが適用されます。プロファイルの新しい設定を取り込まずに、認証情報をローテーションする場合、または上のプルポリシーを「常に」に設定して最新のイメージを再プルする場合に使用してください。", + "app-update-skip-profile-refetch-drift-hint": "割り当てられたプロファイルはテンプレートバージョン{{version}}です。「更新」ではその設定は適用されません。アプリケーションは現在のComposeを維持し、上記の認証情報の値のみが適用されます。バージョンを移行するには「アップグレード」を使用してください。", + "app-install-confirm-info": "Agentがコンテナーをダウンロードして起動します。進行状況は「イベント」タブで確認できます。", + "app-install-loading-template": "テンプレートを読み込み中…", + "app-install-template-failed": "アプリケーションテンプレートの読み込みに失敗しました。", + "app-install-merge-failed": "マージされたプレビューの計算に失敗しました。", + "app-delete-title-header": "アプリケーションを削除", + "app-delete-warning": "'{{name}}'を削除してもよろしいですか?リモートマシン上のすべてのコンテナーが停止され、削除されます。", + "app-delete-remove-volumes": "ボリュームも削除", + "app-delete-remove-volumes-hint": "警告: アプリケーションボリュームに保存されているすべてのデータが完全に削除されます。", + "app-delete-no-volumes": "Compose設定にボリュームが検出されませんでした。", + "app-delete-cta": "削除", + "agents-count": "Agent", + "profiles-count": "プロファイル", + "template": "テンプレート", + "previous-version": "以前のバージョン", + "config-type": "設定タイプ", + "install-instructions": "インストール手順", + "install-instructions-hint": "Agentを起動するには、対象マシンで次のコマンドを実行してください。AgentはThingsBoardサーバーに接続し、オンラインとして表示されます。", + "install-instructions-replace-hint": "接続されると、AgentはAgent一覧にオンラインとして表示されます。", + "install-step-docker": "対象マシンにDockerがインストールされていることを確認してください", + "install-step-run": "Agentコンテナーを実行", + "install-command-copied-message": "インストールコマンドをクリップボードにコピーしました。", + "agent-credentials": "Agentの認証情報", + "agent-created-successfully": "Agentが正常に作成されました。", + "go-to-agent": "Agentへ移動", + "app-type-generic": "汎用", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "セットアップ", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "最新のEdgeアプリケーションプロファイル", + "preset-gateway-description": "最新のGatewayアプリケーションプロファイル", + "preset-edge-gateway-description": "両方の最新アプリケーションプロファイル", + "preset-name-edge": "Edge Agentプロファイル", + "preset-name-gateway": "Gateway Agentプロファイル", + "preset-name-edge-gateway": "Edge + Gateway Agentプロファイル", + "preset-advanced": "詳細設定", + "preset-advanced-description": "プロビジョニング戦略を設定し、アプリケーションプロファイルを選択または作成します。", + "preset-advanced-configure": "設定", + "preset-summary-title": "プリセット: {{label}}", + "preset-summary-body": "{{apps}}を割り当て、「タイプごとに1つのアプリケーション」プロビジョニング戦略を使用するAgentプロファイルを作成します。", + "preset-summary-apps-two": "{{first}}と{{second}}", + "preset-templates-load-failed": "次のタイプの最新アプリケーションテンプレートを読み込めませんでした: {{types}}。これらを必要とするプリセットは無効になっています。", + "app-type-required": "アプリケーションタイプは必須です。", + "provision-type-disabled": "無効", + "provision-type-no-auto-install": "Agentのプロビジョニングのみ", + "provision-type-per-app-type": "タイプごとに1つのアプリケーション", + "provision-type-per-app-profile": "割り当てられたプロファイルごとに1つのアプリケーション", + "provisioning-strategy": "プロビジョニング戦略", + "provisioning-strategy-label": "戦略: {{strategy}}", + "provision-type-disabled-description": "Agentのプロビジョニングは無効です。Agentの自動登録を有効にするには、プロビジョニング戦略を選択してください。有効にすると、Agentは共有のプロビジョニングキーとシークレットを使用して自己登録できるため、Agentを1つずつ手動で作成する必要はありません。", + "provision-type-no-auto-install-description": "新しいAgentがこのプロファイルでプロビジョニングされると、サーバーはAgentを登録しますが、アプリケーションは自動的にインストールしません。割り当てられたアプリケーションプロファイルはプロビジョニング時に無視されます。アプリケーションはAgentに手動でインストールできます。", + "provision-type-per-app-type-description": "新しいAgentがこのプロファイルでプロビジョニングされると、サーバーは割り当てられたアプリケーションプロファイルに基づいてアプリケーションを自動的に作成します。Edge/Gatewayアプリケーションは、Agentにそのタイプのアプリケーションがまだない場合にのみインストールされます(Agentごとに各タイプ最大1つ)。汎用アプリケーションはプロファイルで照合されます(Agentごとにプロファイル1つにつきアプリケーション1つ)。たとえば、Edgeプロファイル2つと汎用プロファイル2つが割り当てられている場合、AgentにはEdgeアプリケーション1つと汎用アプリケーション2つが作成されます。アプリケーションタイプに関連エンティティ(例: EdgeやGateway)が必要な場合、サーバーはそのエンティティの作成と割り当てを試みます。", + "provision-type-per-app-profile-description": "新しいAgentがこのプロファイルでプロビジョニングされると、サーバーは割り当てられたアプリケーションプロファイルに基づいてアプリケーションを自動的に作成します。各アプリケーションは、Agentに一致するアプリケーションがまだない場合にのみインストールされます。Edge/Gatewayアプリケーションはテンプレートまたは元のプロファイルで照合されます(Agentごとにテンプレート1つにつき1つ)。汎用アプリケーションはプロファイルで照合されます(Agentごとにプロファイル1つにつきアプリケーション1つ)。たとえば、Edgeプロファイルが2つ割り当てられている場合、プロファイルが異なるテンプレートに基づいていればAgentにはEdgeアプリケーションが2つ作成されますが、同じテンプレートを共有していれば1つだけです。アプリケーションタイプに関連エンティティ(例: EdgeやGateway)が必要な場合、サーバーはそのエンティティの作成と割り当てを試みます。", + "agent-profile-created": "Agentプロファイルが作成されました", + "agent-profile-created-hint": "Agentをデプロイする各マシンでこのコマンドを実行してください。各Agentは次の処理を行います:", + "agent-profile-created-step-1": "プロビジョニング認証情報を使用してサーバーに自動登録", + "agent-profile-created-step-2": "永続的な接続用の一意のルーティングキーとシークレットを受信", + "agent-profile-created-step-3": "割り当てられたアプリケーションプロファイルで定義されたアプリケーションを自動インストール", + "provisioning-credentials": "プロビジョニング認証情報", + "provisioning": "Agentのプロビジョニング", + "docker-run-command": "Docker実行コマンド", + "assigned-profiles": "アプリケーションプロファイル", + "assign-profile": "プロファイルを割り当て", + "unassign-profile": "プロファイルの割り当てを解除", + "no-profiles-assigned": "このプロファイルにはまだアプリケーションプロファイルが割り当てられていません。", + "go-to-profile": "プロファイルへ移動", + "profiles-bulk-hint": "この一括操作は、プロファイル\"{{appProfile}}\"に一致し、Agentが\"{{agentProfile}}\"プロファイルを使用しているすべてのアプリケーションを対象とします", + "auto-install-template-dedup-note": "このAgentプロファイルのプロビジョニング戦略では自動インストールが有効です。Agentが自動プロビジョニングされると、以下の各プロファイルは、Agentに一致するアプリケーションがまだない場合にのみインストールされます。Edge/Gatewayプロファイルはテンプレートまたは元のプロファイルで照合されます(Agentごと、テンプレートごとに1つ)。汎用プロファイルはプロファイルで照合されます(Agentごと、プロファイルごとに1つのアプリケーション)。", + "auto-install-per-type-note": "このAgentプロファイルのプロビジョニング戦略では自動インストールが有効です。Agentが自動プロビジョニングされると、以下のEdge/Gatewayプロファイルは、Agentにそのタイプのアプリケーションがまだない場合にのみインストールされます(Agentごと、タイプごとに最大1つ)。汎用プロファイルはプロファイルで照合されます(Agentごと、プロファイルごとに1つのアプリケーション)。", + "app-profile": "アプリケーションプロファイル", + "no-profiles-available": "割り当て可能なプロファイルはもうありません。", + "unassign-profile-confirm": "このAgentプロファイルからアプリケーションプロファイル'{{profile}}'の割り当てを解除してもよろしいですか?", + "relate-on-auto-discovery": "自動検出時に関連付け", + "relate-on-auto-discovery-tooltip": "一致するEdge/Gatewayイメージを持つ、新たに自動検出されたすべてのアプリケーションにこのアプリケーションプロファイルを割り当てます。", + "relate-on-auto-discovery-confirm-title": "続行してもよろしいですか?", + "relate-on-auto-discovery-enable-confirm": "'{{profile}}'のテンプレートに一致するEdge/Gatewayイメージを持つ、新たに自動検出されたアプリケーションには、このアプリケーションプロファイルが自動的に割り当てられます。設定が一致しない場合は、プロファイルの設定(Compose)がアプリケーションの自動検出された設定(Compose)を上書きします。", + "relate-on-auto-discovery-disable-confirm": "'{{profile}}'のテンプレートに一致する、新たに自動検出されたアプリケーションには、このアプリケーションプロファイルが自動的に割り当てられなくなります。既存の割り当てには影響しません。", + "provisioning-saved": "プロビジョニング設定を保存しました", + "bulk-actions": "一括操作", + "assigned-applications": "割り当て済みアプリケーション", + "application-profiles-and-bulk-actions": "アプリケーションプロファイルと一括操作", + "recent-bulk-actions": "最近の一括操作", + "no-recent-bulk-actions": "このアプリケーションプロファイルの一括操作はまだありません。", + "executions": "実行", + "view-bulk-action-details": "詳細をすべて表示", + "agents-reporting-success": "{{ok}}/{{total}}件のAgentが成功を報告", + "bulk-action-type": "アクション", + "bulk-action-status": "ステータス", + "bulk-action-counts": "送信済み", + "bulk-action-error": "エラー", + "bulk-action-details": "一括操作の詳細", + "bulk-restart": "一括再起動", + "bulk-update": "一括更新", + "bulk-upgrade": "一括アップグレード", + "bulk-delete": "一括削除", + "bulk-restart-title": "一括再起動 — {{profile}}", + "bulk-update-title": "一括更新 — {{profile}}", + "bulk-upgrade-title": "一括アップグレード — {{profile}}", + "bulk-delete-title": "一括削除 — {{profile}}", + "bulk-action-title": "一括操作", + "bulk-restart-cta": "すべて再起動", + "bulk-update-cta": "すべて更新", + "bulk-upgrade-cta": "すべてアップグレード", + "bulk-delete-cta": "すべて削除", + "bulk-preview": "プレビュー", + "bulk-preview-total": "アプリケーション総数", + "bulk-preview-eligible": "対象", + "bulk-preview-skipped": "スキップ", + "bulk-skipped-version-mismatch": "スキップ — テンプレートバージョンの不一致", + "bulk-skipped-active-event": "スキップ — 別の操作が既に実行中", + "bulk-skipped-rate-limit": "スキップ — イベントのレート制限を超過", + "bulk-skipped-error": "スキップ — アプリケーションの評価中にエラー", + "bulk-skipped-more": "…ほか{{count}}件 — 実行の詳細を参照してください", + "bulk-no-eligible": "この操作の対象となるアプリケーションはありません。", + "bulk-backup-volumes-hint": "アップグレード前にバックアップするボリュームを選択してください。入力内容は対象となるすべてのアプリケーションに適用されます。", + "bulk-no-volumes-in-profile": "プロファイルのComposeにボリュームがありません。", + "bulk-submitted": "送信済み", + "bulk-skipped": "スキップ", + "bulk-processing-started": "処理開始", + "bulk-events": "イベント", + "bulk-event-current-step": "現在のステップ", + "bulk-event-updated": "更新日時", + "bulk-event-filter-status": "ステータス", + "bulk-event-filter-all": "すべて", + "bulk-no-events": "この一括操作のイベントが見つかりません。", + "no-bulk-actions": "一括操作はまだありません。", + "origin-installed": "インストール済み", + "origin-discovered": "検出済み", + "origin-auto-provisioned": "自動プロビジョニング済み", + "event-action-install": "インストール", + "event-action-update": "更新", + "event-action-delete": "削除", + "event-action-restart": "再起動", + "event-action-rollback": "ロールバック", + "event-action-upgrade": "アップグレード", + "event-action-agent-upgrade": "Agentのアップグレード", + "event-status-pending": "保留中", + "event-status-queued": "キュー待ち", + "event-status-processing": "処理中", + "event-status-finished": "完了", + "event-status-error": "エラー", + "event-status-start-failed": "開始に失敗", + "bulk-status-queued": "キュー待ち", + "bulk-status-in-progress": "進行中", + "bulk-status-started": "開始済み", + "bulk-status-start-failed": "開始に失敗", + "unit-type-container": "コンテナー", + "unit-type-volume": "ボリューム", + "unit-type-network": "ネットワーク", + "app-events": "イベント", + "app-metrics": "メトリクス", + "app-copy-id": "アプリケーションIDをコピー", + "app-id-copied-message": "アプリケーションIDがクリップボードにコピーされました。", + "app-upgrade-available": "アップグレード可能: {{version}}", + "app-unit-identifier": "識別子", + "app-unit-image": "イメージ", + "app-unit-state": "状態", + "app-unit-filter": "ユニットフィルター", + "app-unit-filter-with-values": "フィルター: {{values}}", + "app-unit-logs": "コンテナーログ", + "app-unit-view-logs": "コンテナーログを表示", + "filter-all-count": "すべて({{count}})", + "filter-errors-count": "エラー({{count}})", + "filter-running-count": "実行中({{count}})", + "log-agent-offline-paused": "Agentオフライン · ストリーム一時停止中", + "log-agent-online": "Agentオンライン", + "log-back-to-application": "アプリケーションに戻る", + "log-buffered": "+ {{count}}件バッファー済み", + "log-chip-app": "アプリケーション", + "log-clear": "ログをクリア", + "log-clear-highlight": "ハイライトをクリア", + "log-copy-all": "すべてコピー", + "log-copy-all-lines": "すべてのログ行をコピー", + "log-download": "ログをダウンロード", + "log-dropped": "{{count}}件破棄", + "log-dropped-hint": "このビューアーに届く前にAgentが破棄したログ行", + "log-dropped-total": "破棄された行の合計", + "log-follow-latest": "最新を追跡", + "log-gap": "{ count, plural, =1 {1 件のログチャンクが破棄されました} other {# 件のログチャンクが破棄されました} }(バッファーの上限に達しました)", + "log-highlight": "ハイライト…", + "log-highlight-lines": "ログ行をハイライト", + "log-jump-to-latest": "最新へ移動", + "log-lines-unit": "{ count, plural, =1 {行} other {行} }", + "log-live": "ライブ", + "log-pause-resume-stream": "ストリームを一時停止または再開", + "log-pause-stream": "ストリームを一時停止", + "log-paused": "一時停止中", + "log-resume-stream": "ストリームを再開", + "log-stream-paused": "ストリーム一時停止中", + "log-waiting": "ログ行を待機しています…", + "metrics-all-containers": "すべてのコンテナー", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{cores}}コア中{{percent}}%(上限{{cap}}%)", + "metrics-disk": "ディスク", + "metrics-memory": "メモリ", + "metrics-show-charts": "グラフを表示", + "metrics-updated-at": "{{time}}に更新", + "metrics-used-of-total": "{{used}} / {{total}}({{percent}}%)", + "metrics-volumes": "ボリューム", + "stats-done": "{{count}}件完了", + "stats-error": "{{count}}件エラー", + "stats-pending": "{{count}}件保留中", + "stats-running": "{{count}}件実行中", + "app-no-units": "ユニットが見つかりません。", + "app-no-events": "イベントが見つかりません。", + "app-event-app-name": "アプリケーション", + "app-event-agent-name": "Agent", + "app-event-action": "アクション", + "app-event-status": "実行ステータス", + "app-event-execution": "実行", + "app-event-execution-not-started": "未開始", + "app-event-execution-started": "開始済み", + "app-event-execution-delivery-failed": "配信失敗", + "app-event-filter": "イベントフィルター", + "app-event-filter-with-values": "フィルター: {{values}}", + "app-event-current-activity": "現在のアクティビティ", + "app-event-show-error": "エラーを表示", + "app-event-error-title": "イベントエラー", + "upgrade-agent-action": "Agentをアップグレード", + "image": "イメージ", + "version-unknown": "未報告", + "up-to-date": "最新", + "upgrade-to": "{{version}}にアップグレード", + "upgrade-agent-title": "Agentのアップグレード", + "upgrade-agent-text": "Agent {{agentName}}は、自身のコンテナーを以下のイメージで置き換えます。その間も接続可能な状態が維持され、アップグレードが完了するまでアプリケーションコマンドは一時停止されます。", + "upgrade-agent-hint": "新しいAgentイメージが公開されています", + "upgrade-agent-hint-unavailable": "新しいAgentイメージは確認されていません — Agentがすでに最新であるか、バージョンを特定できなかった可能性があります", + "upgrade-current-image": "現在のイメージ", + "upgrade-target-image": "ターゲットイメージ", + "upgrade-target-image-hint": "タグまたはダイジェストで固定された参照。例: thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "ターゲットイメージは必須です。", + "agent-upgrade-subject": "Agentのアップグレード", + "agent-upgrade-subject-label": "アクション", + "agent-upgrade-step-prepare": "置き換え用コンテナーを準備", + "agent-upgrade-step-finalize": "引き継ぎを行い、以前のコンテナーを削除", + "app-event-progress-title": "イベントの進行状況", + "app-event-progress-loading": "テンプレートを読み込み中...", + "app-event-progress-load-failed": "イベントの進行状況を読み込めませんでした。", + "app-event-progress-no-template": "このアプリケーションにリンクされたテンプレートはありません。", + "app-event-step-completed": "完了", + "app-event-step-processing": "処理中", + "app-event-step-error": "失敗", + "app-event-step-waiting": "待機中", + "app-event-current-step": "現在のステップ", + "app-event-created": "作成日時", + "app-event-updated": "更新日時", + "app-event-cancel": "キャンセル", + "app-event-cancel-title": "イベントをキャンセルしますか?", + "app-event-cancel-text": "進行中のイベントはAgentでキャンセルされます。", + "app-event-view-in-events": "イベントで表示", + "app-save-update-hint-title": "変更を保存しました", + "app-save-update-hint": "変更はThingsBoardに保存されましたが、Agentはまだ以前の設定で実行されています。変更をAgentに適用するには、このアプリケーションの「更新」アクションボタンをクリックしてください。", + "app-save-update-hint-action": "今すぐ更新", + "app-deleted": "アプリケーションを削除しました", + "group": "Agentグループ", + "list-of-groups": "{ count, plural, =1 {1 件のAgentグループ} other {# 件のAgentグループの一覧} }", + "group-name-starts-with": "名前が'{{prefix}}'で始まるAgentグループ", + "application-group": "アプリケーションのグループ", + "list-of-application-groups": "{ count, plural, =1 {1 件のアプリケーショングループ} other {# 件のアプリケーショングループの一覧} }", + "application-group-name-starts-with": "名前が'{{prefix}}'で始まるアプリケーショングループ", + "all": "すべて", + "all-agents": "すべてのAgent", + "groups": "グループ", + "shared": "共有" }, "edge-event": { "type-dashboard": "ダッシュボード", @@ -3526,16 +4299,16 @@ "action-type-timeseries-updated": "時系列データが更新されました", "action-type-credentials-updated": "認証情報が更新されました", "action-type-assigned-to-customer": "顧客に割り当て", - "action-type-unassigned-from-customer": "顧客から解除", + "action-type-unassigned-from-customer": "顧客から割り当て解除", "action-type-relation-add-or-update": "リレーションの追加または更新", "action-type-relation-deleted": "リレーションが削除されました", "action-type-rpc-call": "RPC呼び出し", "action-type-alarm-ack": "アラーム確認", - "action-type-alarm-clear": "アラーム解除", + "action-type-alarm-clear": "アラームクリア", "action-type-alarm-assigned": "アラーム割り当て", - "action-type-alarm-unassigned": "アラーム解除", + "action-type-alarm-unassigned": "アラームの割り当て解除", "action-type-assigned-to-edge": "Edgeに割り当て", - "action-type-unassigned-from-edge": "Edgeから解除", + "action-type-unassigned-from-edge": "Edgeから割り当て解除", "action-type-credentials-request": "認証情報リクエスト", "action-type-entity-merge-request": "エンティティ統合リクエスト", "action-type-added-to-entity-group": "エンティティグループに追加", @@ -3545,6 +4318,7 @@ "disconnected": "接続解除" }, "error": { + "data-export-failed": "データのエクスポートに失敗しました: デプロイモードを特定できませんでした。もう一度お試しください。", "unable-to-connect": "サーバーに接続できません!インターネット接続を確認してください。", "unhandled-error-code": "処理されていないエラーコード: {{errorCode}}", "unknown-error": "不明なエラー" @@ -3552,6 +4326,8 @@ "entity": { "entity": "エンティティ", "entities": "エンティティ", + "devices-and-assets": "デバイスとアセット", + "data-processing": "データ処理", "entities-count": "エンティティの数", "alarms-count": "アラームの数", "aliases": "エンティティのエイリアス", @@ -3703,6 +4479,7 @@ "columns-to-display": "表示する列", "type-api-usage-state": "API使用状況", "type-entity-group": "エンティティグループ", + "type-entity-groups": "エンティティグループ", "type-converter": "データコンバーター", "type-converters": "データコンバーター", "list-of-converters": "{ count, plural, =1 {データコンバーター 1 件} other {データコンバーター一覧 # 件} }", @@ -3717,9 +4494,31 @@ "role-name-starts-with": "名前が '{{prefix}}' で始まるロール", "type-group-permission": "グループ権限", "type-edge": "Edge", - "type-edges": "Edges", + "type-edges": "Edge", "list-of-edges": "{ count, plural, =1 {edge 1 件} other {edge一覧 # 件} }", - "edge-name-starts-with": "名前が '{{prefix}}' で始まるEdges", + "edge-name-starts-with": "名前が '{{prefix}}' で始まるEdge", + "type-agent": "Agent", + "type-agents": "Agent", + "list-of-agents": "{ count, plural, =1 {1 件のAgent} other {# 件のAgentの一覧} }", + "agent-name-starts-with": "名前が'{{prefix}}'で始まるAgent", + "type-agent-profile": "Agentプロファイル", + "type-agent-profiles": "Agentプロファイル", + "list-of-agent-profiles": "{ count, plural, =1 {1 件のAgentプロファイル} other {# 件のAgentプロファイルの一覧} }", + "agent-profile-name-starts-with": "名前が'{{prefix}}'で始まるAgentプロファイル", + "type-agent-application": "アプリケーション", + "type-agent-applications": "アプリケーション", + "list-of-agent-applications": "{ count, plural, =1 {1 件のアプリケーション} other {# 件のアプリケーションの一覧} }", + "agent-application-name-starts-with": "名前が'{{prefix}}'で始まるアプリケーション", + "type-agent-app-profile": "アプリケーションプロファイル", + "type-agent-app-profiles": "アプリケーションプロファイル", + "list-of-agent-app-profiles": "{ count, plural, =1 {1 件のアプリケーションプロファイル} other {# 件のアプリケーションプロファイルの一覧} }", + "agent-app-profile-name-starts-with": "名前が'{{prefix}}'で始まるアプリケーションプロファイル", + "type-agent-app-event": "Agentアプリケーションイベント", + "type-agent-app-events": "Agentアプリケーションイベント", + "type-agent-app-unit": "Agentアプリケーションユニット", + "type-agent-app-units": "Agentアプリケーションユニット", + "type-agent-bulk-action": "一括操作", + "type-agent-bulk-actions": "一括操作", "version-conflict": { "message": "既存のバージョンを上書きしますか、それとも変更を破棄して最新バージョンを読み込みますか?", "link": "これを使用して {{entityType}} のあなたのバージョンをダウンロードできます", @@ -3836,6 +4635,9 @@ "dashboard-groups": "ダッシュボードグループ", "shared-dashboard-groups": "共有ダッシュボードグループ", "dashboard-group": "ダッシュボードグループ", + "agent-groups": "Agentグループ", + "shared-agent-groups": "共有Agentグループ", + "agent-group": "Agentグループ", "fetch-more": "さらに取得", "column-type": { "column-type": "列タイプ", @@ -3856,7 +4658,7 @@ "authority": "権限", "first_name": "名", "last_name": "姓", - "email": "Email", + "email": "メールアドレス", "title": "タイトル", "country": "国", "state": "都道府県", @@ -3952,7 +4754,7 @@ "type": "タイプ", "first-name": "名", "last-name": "姓", - "email": "Email", + "email": "メールアドレス", "title": "タイトル", "country": "国", "state": "都道府県", @@ -4020,9 +4822,9 @@ "delete-entity-views": "エンティティビューを削除", "make-public": "エンティティビューを公開", "make-private": "エンティティビューを非公開", - "unassign-from-customer": "顧客から削除", - "unassign-entity-views": "エンティティビューを削除", - "unassign-entity-views-action-title": "{ count, plural, =1 {1 件のエンティティビュー} other {# 件のエンティティビュー} } を顧客から削除", + "unassign-from-customer": "顧客から割り当て解除", + "unassign-entity-views": "エンティティビューの割り当てを解除", + "unassign-entity-views-action-title": "{ count, plural, =1 {1 件のエンティティビュー} other {# 件のエンティティビュー} } の顧客への割り当てを解除", "assign-new-entity-view": "新しいエンティティビューを割り当て", "delete-entity-view-title": "エンティティビュー '{{entityViewName}}' を削除してもよろしいですか?", "delete-entity-view-text": "確認後、エンティティビューと関連データは復元できなくなります。", @@ -4033,11 +4835,11 @@ "make-public-entity-view-text": "確認後、エンティティビューとそのデータは公開され、他のユーザーがアクセスできるようになります。", "make-private-entity-view-title": "エンティティビュー '{{entityViewName}}' を非公開にしてもよろしいですか?", "make-private-entity-view-text": "確認後、エンティティビューとそのデータは非公開になり、他のユーザーはアクセスできなくなります。", - "unassign-entity-view-title": "エンティティビュー '{{entityViewName}}' を削除してもよろしいですか?", - "unassign-entity-view-text": "確認後、エンティティビューは削除され、顧客はアクセスできなくなります。", - "unassign-entity-view": "エンティティビューを削除", - "unassign-entity-views-title": "{ count, plural, =1 {1 件のエンティティビュー} other {# 件のエンティティビュー} } を削除してもよろしいですか?", - "unassign-entity-views-text": "確認後、選択したすべてのエンティティビューが削除され、顧客はアクセスできなくなります。", + "unassign-entity-view-title": "エンティティビュー '{{entityViewName}}' の割り当てを解除してもよろしいですか?", + "unassign-entity-view-text": "確認後、エンティティビューの割り当ては解除され、顧客はアクセスできなくなります。", + "unassign-entity-view": "エンティティビューの割り当てを解除", + "unassign-entity-views-title": "{ count, plural, =1 {1 件のエンティティビュー} other {# 件のエンティティビュー} } の割り当てを解除してもよろしいですか?", + "unassign-entity-views-text": "確認後、選択したすべてのエンティティビューの割り当てが解除され、顧客はアクセスできなくなります。", "entity-view-type": "エンティティビュータイプ", "entity-view-type-required": "エンティティビュータイプは必須です。", "select-entity-view-type": "エンティティビュータイプを選択", @@ -4086,12 +4888,12 @@ "selected-entity-views": "{ count, plural, =1 {1 件のエンティティビュー} other {# 件のエンティティビュー} } を選択", "assign-entity-view-to-edge": "エンティティビューをEdgeに割り当て", "assign-entity-view-to-edge-text": "Edgeに割り当てるエンティティビューを選択してください", - "unassign-entity-view-from-edge-title": "エンティティビュー '{{entityViewName}}' をEdgeから削除してもよろしいですか?", - "unassign-entity-view-from-edge-text": "確認後、エンティティビューはEdgeから削除され、Edgeではアクセスできなくなります。", - "unassign-entity-views-from-edge-action-title": "Edgeから { count, plural, =1 {1 件のエンティティビュー} other {# 件のエンティティビュー} } を削除", - "unassign-entity-view-from-edge": "エンティティビューをEdgeから削除", - "unassign-entity-views-from-edge-title": "Edgeから { count, plural, =1 {1 件のエンティティビュー} other {# 件のエンティティビュー} } を削除してもよろしいですか?", - "unassign-entity-views-from-edge-text": "確認後、選択したすべてのエンティティビューはEdgeから削除され、Edgeではアクセスできなくなります。" + "unassign-entity-view-from-edge-title": "エンティティビュー '{{entityViewName}}' のEdgeへの割り当てを解除してもよろしいですか?", + "unassign-entity-view-from-edge-text": "確認後、エンティティビューの割り当ては解除され、Edgeからアクセスできなくなります。", + "unassign-entity-views-from-edge-action-title": "{ count, plural, =1 {1 件のエンティティビュー} other {# 件のエンティティビュー} } のEdgeへの割り当てを解除", + "unassign-entity-view-from-edge": "エンティティビューのEdgeへの割り当てを解除", + "unassign-entity-views-from-edge-title": "{ count, plural, =1 {1 件のエンティティビュー} other {# 件のエンティティビュー} } のEdgeへの割り当てを解除してもよろしいですか?", + "unassign-entity-views-from-edge-text": "確認後、選択したすべてのエンティティビューの割り当てが解除され、Edgeからアクセスできなくなります。" }, "event": { "events": "イベント", @@ -4110,6 +4912,7 @@ "result": "結果", "no-events-prompt": "イベントが見つかりません", "error": "エラー", + "errors": "エラー", "alarm": "アラーム", "event-time": "イベント時間", "server": "サーバー", @@ -4130,6 +4933,8 @@ "event": "イベント", "status": "ステータス", "success": "成功", + "warning": "警告", + "warnings": "警告", "failed": "失敗", "messages-processed": "処理されたメッセージ", "max-messages-processed": "処理された最大メッセージ数", @@ -4199,7 +5004,7 @@ "username": "ユーザー名", "password": "パスワード", "retry-interval": "リトライ間隔(ミリ秒単位)", - "sas": "共有アクセス署名", + "sas": "Shared Access Signature", "anonymous": "匿名", "basic": "ベーシック", "pem": "PEM", @@ -4210,7 +5015,7 @@ "drop-file": "ファイルをドロップするか、クリックしてファイルを選択してアップロードしてください。", "mapping": "マッピング", "topic-filter": "トピックフィルター", - "converter-type": "コンバータタイプ", + "converter-type": "コンバータータイプ", "converter-json": "JSON", "json-name-expression": "デバイス名のJSON式", "topic-name-expression": "デバイス名のトピック式", @@ -4226,8 +5031,8 @@ "value-expression": "値式", "topic": "トピック", "timeout": "タイムアウト(ミリ秒単位)", - "converter-json-required": "コンバータJSONは必須です。", - "converter-json-parse": "コンバータJSONの解析に失敗しました。", + "converter-json-required": "コンバーターJSONは必須です。", + "converter-json-parse": "コンバーターJSONの解析に失敗しました。", "filter-expression": "フィルター式", "connect-requests": "接続リクエスト", "add-connect-request": "接続リクエストを追加", @@ -4287,12 +5092,12 @@ "modbus-poll-period-range": "ポーリング周期は正の値である必要があります。", "modbus-tag": "タグ", "modbus-function": "ファンクション", - "modbus-register-address": "レジスタアドレス", - "modbus-register-address-range": "レジスタアドレスは0から65535の範囲である必要があります。", + "modbus-register-address": "レジスターアドレス", + "modbus-register-address-range": "レジスターアドレスは0から65535の範囲である必要があります。", "modbus-register-bit-index": "ビットインデックス", "modbus-register-bit-index-range": "ビットインデックスは0から15の範囲である必要があります。", - "modbus-register-count": "レジスタ数", - "modbus-register-count-range": "レジスタ数は正の値である必要があります。", + "modbus-register-count": "レジスター数", + "modbus-register-count-range": "レジスター数は正の値である必要があります。", "modbus-byte-order": "バイト順序", "sync": { "status": "ステータス", @@ -4366,15 +5171,16 @@ "add-complex": "複雑なフィルターを追加", "complex-filter": "複雑なフィルター", "edit-complex-filter": "複雑なフィルターを編集", - "edit-filter-user-params": "フィルタープレディケートのユーザーパラメータを編集", - "filter-user-params": "フィルタープレディケートのユーザーパラメータ", - "user-parameters": "ユーザーパラメータ", + "edit-filter-user-params": "フィルタープレディケートのユーザーパラメーターを編集", + "filter-user-params": "フィルタープレディケートのユーザーパラメーター", + "user-parameters": "ユーザーパラメーター", "display-label": "表示ラベル", "custom-label": "カスタムラベル", "custom-label-hint": "フィルターに独自のラベルを設定できるようにします。無効にすると、ラベルが自動的に生成されます。", "order-priority": "表示順序", "key-filter": "キー フィルター", "key-filters": "キー フィルター", + "or-conditions-disabled": "キーフィルター間のOR条件はシステム管理者によって無効化されています。", "key-name": "キー名", "key-name-required": "キー名は必須です。", "key-type": { @@ -4431,12 +5237,41 @@ "gateway": { "gateway-name": "Gateway名", "gateway-name-required": "Gateway名は必須です。", - "gateways": "Gateways", + "gateways": "Gateway", "create-new-gateway": "新しいGatewayを作成", "create-new-gateway-text": "名前 '{{gatewayName}}' で新しいGatewayを作成してもよろしいですか?", "launch-command": "コマンドを実行", + "launch-choose-subtitle": "選択したデバイスの認証情報を使用して、{{name}}のIoT Gatewayを実行する方法を選択してください。", + "launch-recommended": "推奨", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "クラウドからリモートでインストール、アップグレード、再起動、監視ができます。SSHや手動コマンドは不要です。", + "launch-agent-point-install": "ワンクリックでリモートインストール", + "launch-agent-point-upgrade": "クラウドからアップグレードを配信", + "launch-agent-point-restart": "自動で再起動・復旧", + "launch-agent-point-monitor": "リアルタイムのヘルスモニタリング", + "launch-agent-point-bulk": "Agentプロファイルページからの一括操作", + "launch-agent-action": "Agentでデプロイ", + "launch-docker-title": "Docker Compose(手動)", + "launch-docker-desc": "Composeファイルをダウンロードし、対象マシン上でご自身で実行してください。", + "launch-docker-point-up": "docker compose upを実行", + "launch-docker-point-control": "完全な手動制御", + "launch-docker-point-updates": "更新はご自身で管理", + "launch-docker-point-access": "デバイスへの直接アクセス", + "launch-docker-action": "手順を表示", + "launch-back": "戻る", "no-gateway-found": "Gatewayは見つかりませんでした。", - "no-gateway-matching": " '{{item}}' は見つかりませんでした。" + "no-gateway-matching": " '{{item}}' は見つかりませんでした。", + "auto-provision": "自動プロビジョニング", + "add-gateway": "Gatewayを追加", + "auto-provision-title": "Gatewayの自動プロビジョニング", + "auto-provision-info-title": "仕組み", + "auto-provision-info-body": "Agentプロファイルを作成すると、Docker実行コマンドが生成されます。このコマンドを対象マシンで実行すると、ThingsBoardはコマンドに埋め込まれた認証情報を使用して、Agentとそれに紐づくGatewayデバイスを自動的に作成します。Gatewayは、Agentプロファイルに割り当てられたアプリケーションプロファイルに基づいて自動的に設定されます。Gatewayを手動で作成する必要はありません。", + "auto-provision-step-select": "Agentプロファイル", + "auto-provision-step-script": "プロビジョニングスクリプト", + "auto-provision-valid": "プロビジョニングの準備ができました。'{{profile}}'にはGatewayアプリケーションプロファイルが割り当てられています。", + "auto-provision-invalid-no-edge-app-profile": "このプロファイルにはGatewayアプリケーションプロファイルが割り当てられていません。ボタンを使用して割り当ててください。", + "auto-provision-success-message": "Agentプロファイルの準備ができました。新しいGatewayをプロビジョニングするには、任意の対象マシンでコマンドを実行してください。", + "auto-provision-script-hint": "Gatewayにする各マシンでこのコマンドを実行してください。1回の実行ごとに、AgentとGatewayのペアが1組プロビジョニングされます。" }, "grid": { "delete-item-title": "このアイテムを削除してもよろしいですか?", @@ -4461,13 +5296,17 @@ "logout": "ログアウト", "menu": "メニュー", "avatar": "アバター", - "open-user-menu": "ユーザーメニューを開く" + "open-user-menu": "ユーザーメニューを開く", + "go-to": "移動先を検索...", + "crumbs-more": "一致するセクション内にさらに{{more}}件", + "no-matches": "一致する項目がありません" }, "file-input": { "browse-file": "ファイルを選択", "browse-files": "ファイルを選択" }, "image": { + "images": "画像", "gallery": "画像ギャラリー", "search": "画像を検索", "selected-images": "{ count, plural, =1 {1 枚の画像} other {# 枚の画像} } が選択されました", @@ -4613,7 +5452,7 @@ "management": "統合管理", "add-integration-text": "新しい統合を追加", "no-integrations-text": "統合が見つかりません", - "data-convertor-name": "{{convertorType}} データコンバーター for {{integrationName}}", + "data-convertor-name": "{{integrationName}}用の{{convertorType}}データコンバーター", "integration-name": "{{integrationType}} 統合", "selected-integrations": "{ count, plural, =1 {1 件の統合} other {# 件の統合} } が選択されました", "delete-integration-title": "統合 '{{integrationName}}' を削除してもよろしいですか?", @@ -4649,8 +5488,8 @@ "app-id-required": "アプリケーションIDは必須です", "app-token": "アプリケーションアクセス・トークン", "app-token-required": "アプリケーションアクセス・トークンは必須です", - "email": "Email", - "email-required": "Emailは必須です", + "email": "メールアドレス", + "email-required": "メールアドレスは必須です", "application-uri": "アプリケーションURI", "as-id": "AS ID", "as-id-required": "AS IDは必須です。", @@ -4796,7 +5635,7 @@ "access-key-required": "アクセスキーは必須です。", "access-key-min-length": "アクセスキーが短すぎます。", "access-key-max-length": "アクセスキーが長すぎます。", - "connection-parameters": "接続パラメータ", + "connection-parameters": "接続パラメーター", "service-bus-namespace-name": "サービスバス名前空間名", "service-bus-namespace-name-required": "サービスバス名前空間名は必須です。", "connection-string": "接続文字列", @@ -4809,8 +5648,8 @@ "enable-persistent-checkpoints-hint": "再起動後、最後のチェックポイントから処理を再開するためにAzure Blob Storageを有効にします。無効にすると、常に最新のイベントから開始します。", "storage-connection-string": "ストレージ接続文字列", "storage-connection-string-required": "ストレージ接続文字列は必須です!", - "container-name": "コンテナ名", - "container-name-required": "コンテナ名は必須です。", + "container-name": "コンテナー名", + "container-name-required": "コンテナー名は必須です。", "sas-key-name": "SASキー名", "sas-key-name-required": "SASキー名は必須です。", "sas-key": "SASキー", @@ -4855,6 +5694,7 @@ "type-ttn-description": "オープンで分散型のLoRaWANネットワーク。", "type-tti": "The Things Stack Industries", "type-tti-description": "スケールでプライベートLoRaWANネットワークを運用するためのソフトウェア。", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWANネットワーク構成サーバー。", "type-particle": "Particle", @@ -4975,12 +5815,12 @@ "so-backlog-option": "ソケットの保留接続数の最大値", "so-backlog-option-required": "ソケットの保留接続数の最大値は必須です。", "so-backlog-option-range": "ソケットの保留接続数の最大値は1から65535の範囲である必要があります。", - "so-rcv-buf": "受信ソケットのバッファサイズ(KB単位)", - "so-rcv-buf-required": "受信ソケットのバッファサイズ(KB単位)は必須です。", - "so-rcv-buf-range": "受信ソケットのバッファサイズ(KB単位)は1から65535の範囲である必要があります。", - "so-snd-buf": "送信ソケットのバッファサイズ(KB単位)", - "so-snd-buf-required": "送信ソケットのバッファサイズ(KB単位)は必須です。", - "so-snd-buf-range": "送信ソケットのバッファサイズ(KB単位)は1から65535の範囲である必要があります。", + "so-rcv-buf": "受信ソケットのバッファーサイズ(KB単位)", + "so-rcv-buf-required": "受信ソケットのバッファーサイズ(KB単位)は必須です。", + "so-rcv-buf-range": "受信ソケットのバッファーサイズ(KB単位)は1から65535の範囲である必要があります。", + "so-snd-buf": "送信ソケットのバッファーサイズ(KB単位)", + "so-snd-buf-required": "送信ソケットのバッファーサイズ(KB単位)は必須です。", + "so-snd-buf-range": "送信ソケットのバッファーサイズ(KB単位)は1から65535の範囲である必要があります。", "charset-name": "文字セット名", "charset-name-required": "文字セット名は必須です。", "message-separator": "メッセージ区切り文字", @@ -5031,8 +5871,8 @@ "system-line-separator": "システム行区切り文字", "nul-delimiter": "ヌルデリミタ", "custom-separator": "カスタム区切り文字", - "byte-order-little-endian": "リトルエンディアン", - "byte-order-big-endian": "ビッグエンディアン" + "byte-order-little-endian": "Little Endian", + "byte-order-big-endian": "Big Endian" }, "cache-size": "キャッシュサイズ", "cache-time-to-live": "キャッシュの有効期限(分単位)", @@ -5052,12 +5892,12 @@ "coap-dtls-base-url-required": "DTLSベースURLは必須です", "coap-dtls-endpoint": "CoAP DTLSエンドポイントURL", "coap-dtls-endpoint-url-copied-message": "CoAP DTLSエンドポイントURLがクリップボードにコピーされました", - "unassign-integration-title": "統合 '{{integrationName}}' を解除してもよろしいですか?", - "unassign-integration-from-edge-text": "確認後、統合は解除され、Edgeからアクセスできなくなります。", - "unassign-integrations-from-edge-title": "{ count, plural, =1 {1 件の統合} other {# 件の統合} } を解除してもよろしいですか?", - "unassign-integrations-from-edge-text": "確認後、選択したすべての統合が解除され、Edgeからアクセスできなくなります。", - "unassign-integrations": "統合を解除", - "edge-placeholder-hint": "プレースホルダ ${{ATTRIBUTE_KEY}} を使用して、特定のEdgeエンティティから属性値で統合フィールドを置き換えることができます。例えば、'Edge A' に属性 'baseUrl' があり、その値が 'http://localhost:9999' である場合、統合フィールドの一つとして ${{baseUrl}} を設定すると、この統合が 'Edge A' に割り当てられる際に 'http://localhost:9999' に置き換えられます。さらに、'Edge A' の属性 'baseUrl' が更新されると、統合は自動的に新しい更新値で 'Edge A' に提供されます。", + "unassign-integration-title": "統合 '{{integrationName}}' の割り当てを解除してもよろしいですか?", + "unassign-integration-from-edge-text": "確認後、統合の割り当ては解除され、Edgeからアクセスできなくなります。", + "unassign-integrations-from-edge-title": "{ count, plural, =1 {1 件の統合} other {# 件の統合} } の割り当てを解除してもよろしいですか?", + "unassign-integrations-from-edge-text": "確認後、選択したすべての統合の割り当てが解除され、Edgeからアクセスできなくなります。", + "unassign-integrations": "統合の割り当てを解除", + "edge-placeholder-hint": "プレースホルダー ${{ATTRIBUTE_KEY}} を使用して、特定のEdgeエンティティの属性値で統合フィールドを置き換えることができます。例えば、'Edge A' に属性 'baseUrl' があり、その値が 'http://localhost:9999' である場合、統合フィールドの一つとして ${{baseUrl}} を設定すると、この統合が 'Edge A' に割り当てられる際に 'http://localhost:9999' に置き換えられます。さらに、'Edge A' の属性 'baseUrl' が更新されると、更新後の値を使用した統合が 'Edge A' に自動的にプロビジョニングされます。", "status": { "status": "ステータス", "active": "アクティブ", @@ -5070,8 +5910,8 @@ "disable-debug-mode": "デバッグモードを無効化", "advanced-settings": "高度な設定", "basic-settings": "基本設定", - "existing-converter": "既存のコンバータを選択", - "new-converter": "新しいコンバータを作成", + "existing-converter": "既存のコンバーターを選択", + "new-converter": "新しいコンバーターを作成", "connection": "接続", "connected": "接続済み", "not-connected": "未接続", @@ -5138,7 +5978,7 @@ "tag": "タグ", "on-click-action": "クリック時のアクション", "no-tags": "タグが設定されていません", - "delete-tag-text": "{{elementType}} 要素からタグ {{tag}} を削除してもよろしいですか?", + "delete-tag-text": "{{elementType}} 要素からタグ
    {{tag}} を削除してもよろしいですか?", "update-tag": "タグを更新", "enter-tag": "タグを入力", "tag-settings": "タグ設定", @@ -5183,7 +6023,7 @@ "forward": "前方", "reverse": "逆方向", "flow-animation-speed": "流れのアニメーション速度", - "flow-animation-speed-hint": "流れのアニメーション速度を示す倍数値。1 - 通常の速度、0 - アニメーションなし、< 1 - より遅いアニメーション、> 1 - より速いアニメーション。", + "flow-animation-speed-hint": "流れのアニメーション速度を示す実数値。1 - 通常の速度、0 - アニメーションなし、< 1 - より遅いアニメーション、> 1 - より速いアニメーション。", "leak": "漏れ", "leak-hint": "パイプ内に漏れがあるかどうかを示します。", "leak-present": "漏れあり", @@ -5206,22 +6046,22 @@ "value": "値", "decimals": "小数点以下の桁数", "units": "単位", - "flow-meter-value-hint": "流量計表示に表示される倍数値", - "value-hint": "現在の値を示す倍数値", + "flow-meter-value-hint": "流量計表示に表示される実数値", + "value-hint": "現在の値を示す実数値", "running": "実行中", "running-hint": "コンポーネントが実行中の状態かどうかを示します。", "warning-state": "警告状態", "warning": "警告", "warning-click": "警告クリック", "warning-state-hint": "コンポーネントが警告状態かどうかを示します。", - "critical-state": "重大状態", - "critical": "重大", - "critical-click": "重大クリック", - "critical-state-hint": "コンポーネントが重大状態かどうかを示します。", - "critical-state-animation": "重大状態アニメーション", - "critical-state-animation-hint": "コンポーネントが重大状態の時に点滅アニメーションを有効にするかどうか。", - "warning-critical-state-animation": "警告/重大状態アニメーション", - "warning-critical-state-animation-hint": "コンポーネントが警告または重大状態の時に点滅アニメーションを有効にするかどうか。", + "critical-state": "致命的状態", + "critical": "致命的", + "critical-click": "致命的状態でのクリック", + "critical-state-hint": "コンポーネントが致命的状態かどうかを示します。", + "critical-state-animation": "致命的状態アニメーション", + "critical-state-animation-hint": "コンポーネントが致命的状態の時に点滅アニメーションを有効にするかどうか。", + "warning-critical-state-animation": "警告/致命的状態アニメーション", + "warning-critical-state-animation-hint": "コンポーネントが警告または致命的状態の時に点滅アニメーションを有効にするかどうか。", "animation": "アニメーション", "broken": "破損", "broken-hint": "コンポーネントが破損しているかどうかを示します。", @@ -5231,28 +6071,28 @@ "default-border-color": "デフォルトの境界線色", "active-border-color": "アクティブ境界線色", "warning-border-color": "警告境界線色", - "critical-border-color": "重大境界線色", + "critical-border-color": "致命的状態の境界線色", "background-color": "背景色", "rotation-animation-speed": "回転アニメーション速度", - "rotation-animation-speed-hint": "回転アニメーションの速度を示す倍数値。1 - 通常の速度、0 - アニメーションなし、< 1 - より遅いアニメーション、> 1 - より速いアニメーション。", + "rotation-animation-speed-hint": "回転アニメーションの速度を示す実数値。1 - 通常の速度、0 - アニメーションなし、< 1 - より遅いアニメーション、> 1 - より速いアニメーション。", "on-click": "クリック時", "on-click-hint": "ユーザーがコンポーネントをクリックした時に発動するアクション。", - "connectors-positions": "コネクタの位置", - "right-connector": "右コネクタ", - "right-top-connector": "右上コネクタ", - "right-bottom-connector": "右下コネクタ", - "left-connector": "左コネクタ", - "left-top-connector": "左上コネクタ", - "left-bottom-connector": "左下コネクタ", - "top-left-connector": "左上コネクタ", - "top-right-connector": "右上コネクタ", - "top-connector": "上コネクタ", - "bottom-connector": "下コネクタ", + "connectors-positions": "コネクターの位置", + "right-connector": "右コネクター", + "right-top-connector": "右上コネクター", + "right-bottom-connector": "右下コネクター", + "left-connector": "左コネクター", + "left-top-connector": "左上コネクター", + "left-bottom-connector": "左下コネクター", + "top-left-connector": "左上コネクター", + "top-right-connector": "右上コネクター", + "top-connector": "上コネクター", + "bottom-connector": "下コネクター", "running-color": "実行中の色", "stopped-color": "停止中の色", "stopped": "停止中", "warning-color": "警告色", - "critical-color": "重大色", + "critical-color": "致命的状態の色", "opened": "開放", "opened-hint": "コンポーネントが開放状態かどうかを示します。", "open": "開く", @@ -5266,9 +6106,9 @@ "opened-rotation-angle": "開放時の回転角度", "closed-rotation-angle": "閉じた時の回転角度", "tank-capacity": "タンク容量", - "tank-capacity-hint": "タンクの総容量を示す倍数値。", + "tank-capacity-hint": "タンクの総容量を示す実数値。", "current-volume": "現在の体積", - "current-volume-hint": "現在の占有体積を示す倍数値。", + "current-volume-hint": "現在の占有体積を示す実数値。", "tank-color": "タンクの色", "value-box": "値ボックス", "value-text": "値テキスト", @@ -5281,7 +6121,7 @@ "minor-ticks": "副目盛り", "minor-ticks-color": "副目盛りの色", "temperature": "温度", - "temperature-hint": "現在の温度を示す倍数値。", + "temperature-hint": "現在の温度を示す実数値。", "update-temperature": "温度を更新", "update-temperature-hint": "ユーザーが現在の温度を変更するためにクリックしたときに発動するアクション。", "run": "実行", @@ -5312,19 +6152,19 @@ "default-color": "デフォルトの色", "leak-color": "漏れの色", "full-value": "満水値", - "full-value-hint": "満水値を示す倍数値。", + "full-value-hint": "満水値を示す実数値。", "label": "ラベル", "icon": "アイコン", "button-color": "ボタンの色", "on-label": "'オン' ラベルテキスト", "off-label": "'オフ' ラベルテキスト", "arrow-presence": "矢印の存在", - "arrow-presence-hint": "コネクタに矢印があるかどうかを示します。", + "arrow-presence-hint": "コネクターに矢印があるかどうかを示します。", "arrow-present": "矢印あり", "arrow-direction": "流れの方向", "arrow-direction-hint": "流れの方向を示します。", "flow-animation": "流れの存在", - "flow-animation-hint": "コネクタ内で流体が流れているかどうかを示します。", + "flow-animation-hint": "コネクター内で流体が流れているかどうかを示します。", "flow": "流れ", "flow-line": "ライン", "flow-line-style": "ラインスタイル", @@ -5346,26 +6186,26 @@ "max-value": "最大", "progress-bar": "プログレスバー", "progress-arrow": "プログレスアロー", - "warning-scale-color": "警告スケールの色", - "critical-scale-color": "重大スケールの色", + "warning-scale-color": "警告域の色", + "critical-scale-color": "危険域の色", "scale-color": "スケールの色", "target": "ターゲット", - "high-warning-state": "高警告状態", - "show-high-warning-scale": "高警告スケールを表示", - "high-warning-scale": "高警告スケール", - "high-warning-state-hint": "倍数値が高警告範囲を示し、最大または高い重大値までです。", - "low-warning-state": "低警告状態", - "show-low-warning-scale": "低警告スケールを表示", - "low-warning-scale": "低警告スケール", - "low-warning-state-hint": "倍数値が低警告範囲を示し、最小または低い重大値までです。", - "high-critical-state": "高重大状態", - "show-high-critical-scale": "高重大スケールを表示", - "high-critical-scale": "高重大スケール", - "high-critical-state-hint": "倍数値が高重大範囲を示し、最大値スケールまでです。", - "low-critical-state": "低重大状態", - "show-low-critical-scale": "低重大状態のスケールを表示", - "low-critical-scale": "低重大状態", - "low-critical-state-hint": "倍数値が低重大範囲を示し、最小値スケールまでです。", + "high-warning-state": "上限警告値", + "show-high-warning-scale": "上限警告域を表示", + "high-warning-scale": "上限警告域", + "high-warning-state-hint": "上限警告域の開始値(実数値)。上限危険値または最大値までの範囲です。", + "low-warning-state": "下限警告値", + "show-low-warning-scale": "下限警告域を表示", + "low-warning-scale": "下限警告域", + "low-warning-state-hint": "下限警告域の開始値(実数値)。下限危険値または最小値までの範囲です。", + "high-critical-state": "上限危険値", + "show-high-critical-scale": "上限危険域を表示", + "high-critical-scale": "上限危険域", + "high-critical-state-hint": "上限危険域の開始値(実数値)。スケールの最大値までの範囲です。", + "low-critical-state": "下限危険値", + "show-low-critical-scale": "下限危険域を表示", + "low-critical-scale": "下限危険域", + "low-critical-state-hint": "下限危険域の開始値(実数値)。スケールの最小値までの範囲です。", "filter-color": "フィルターの色", "colors": "色", "indicator-colors": "インジケーターの色", @@ -5381,17 +6221,18 @@ "off-update-state-hint": "ユーザーがオフに状態を更新するためにクリックしたときに発動するアクション。", "voltage": "電圧", "input-voltage": "入力電圧", - "input-voltage-hint": "入力電圧の値を示す倍数値。", + "input-voltage-hint": "入力電圧の値を示す実数値。", "output-voltage": "出力電圧", - "output-voltage-hint": "出力電圧の値を示す倍数値。", + "output-voltage-hint": "出力電圧の値を示す実数値。", "first-phase-voltage": "第1相電圧", "second-phase-voltage": "第2相電圧", "third-phase-voltage": "第3相電圧", - "phase-voltage-hint": "現在の相の電圧値を示す倍数値。", - "voltage-hint": "現在の電圧を示す倍数値。", + "phase-voltage-hint": "現在の相の電圧値を示す実数値。", + "voltage-hint": "現在の電圧を示す実数値。", + "current-voltage": "現在の電圧", "phase-indicator-color": "相インジケーターの色", "measured": "測定済み", - "measured-hint": "キロワット時でのエネルギー使用量を示す倍数値。", + "measured-hint": "キロワット時でのエネルギー使用量を示す実数値。", "day-rate": "昼間料金", "night-rate": "夜間料金", "off-peak-rate": "オフピーク料金", @@ -5429,7 +6270,281 @@ } }, "item": { - "selected": "選択済み" + "type-widget": "ウィジェット", + "type-widget-plural": "ウィジェット", + "type-solution-template": "ソリューションテンプレート", + "type-solution-template-plural": "ソリューションテンプレート", + "type-calculated-field": "計算フィールド", + "type-calculated-field-plural": "計算フィールド", + "type-alarm-rule": "アラームルール", + "type-alarm-rule-plural": "アラームルール", + "type-rule-chain": "ルールチェーン", + "type-rule-chain-plural": "ルールチェーン", + "type-device": "デバイス", + "type-device-plural": "デバイス" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "ランダムな値を生成", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "すぐに使える", + "and-devices": "とデバイス", + "search-placeholder": "IoT Hubで検索...", + "search": "検索...", + "search-published-items": "公開済みアイテムを検索...", + "see-all-results": "すべての結果を表示", + "see-all-results-for": "「{{ search }}」の全{{ count }}件の結果を表示", + "see-results-for": "\"{{ search }}\"の結果を表示", + "no-search-results": "'{{ search }}'に一致する結果はありません", + "no-items-available": "利用可能なアイテムはありません", + "search-results": "検索結果", + "search-results-for": "検索結果: ", + "try-adjusting-search": "検索条件を調整してください", + "add-widget-from-iot-hub": "IoT Hubからウィジェットを追加", + "all-widgets": "すべてのウィジェット", + "all-iot-hub-widgets": "すべてのIoT Hubウィジェット", + "installed-from-iot-hub": "IoT Hubからインストール済み", + "item-link-unavailable": "アイテムは利用できません", + "include-deprecated": "非推奨を含める", + "widget-category-value": "{{ category }}ウィジェット", + "search-categories": "カテゴリを検索...", + "search-in-category": "ウィジェットを検索...", + "search-bundles": "バンドルを検索...", + "search-widgets": "ウィジェットを検索...", + "add-item-from-iot-hub": "IoT Hubから{{ type }}を追加", + "add-from-iot-hub": "IoT Hubから追加", + "filters": "フィルター", + "type": "タイプ", + "items-per-page": "ページあたりのアイテム数", + "filter": "フィルター", + "clear-filters": "フィルターをクリア", + "available": "利用可能", + "items-page-desc-widgets": "業界向けに事前構成されたウィジェットで、IoTの取り組みをすぐに始めましょう。実績のあるアーキテクチャを即座にデプロイし、本当に重要なこと、つまり独自のビジネスロジックに注力できます。", + "items-page-desc-solution-templates": "ダッシュボード、ルールチェーン、デバイス設定を含む完全なIoTソリューションパッケージです。実績のあるアーキテクチャですぐに始められます。", + "items-page-desc-calculated-fields": "事前構成済みの計算フィールドを使用して、燃費や力率などの複雑なメトリクスを自動化します。手動でのロジック作成をスキップし、ダッシュボードを見やすく実用的に保てます。", + "items-page-desc-alarm-rules": "事前構築済みのアラームルールテンプレートを使用して、バッテリー残量の低下、しきい値の超過、デバイスのオフラインなどの重大な状態を検出します。ルールロジックの作成をスキップし、インシデントが発生した瞬間から対応を開始できます。", + "items-page-desc-rule-chains": "高度なデータ処理からシームレスなAPI連携まで、ルールチェーンテンプレートは、ゼロから構築することなくスケールするために必要なアーキテクチャの基盤を提供します。", + "items-page-desc-devices": "デバイスライブラリを探索して、数分でデプロイしてハードウェアをすぐに接続できる事前構成済みの接続テンプレートを見つけましょう。", + "device-library": "デバイスライブラリ", + "most-popular-in-iot-hub": "IoT Hubで人気の項目", + "upgrade-required-title": "ThingsBoardのアップグレードが必要です", + "upgrade-required-message": "このアイテムにはThingsBoard {{minVersion}}以降が必要です。現在実行中のバージョンは{{currentVersion}}です。インストールするには、インスタンスをアップグレードしてください。", + "upgrade-instance": "インスタンスをアップグレード", + "become-creator-text": "テンプレートをThingsBoard IoT Hubに投稿すると、注目のコンテンツとして紹介され、ソリューションを世界中のコミュニティにアピールできます。", + "contribute": "投稿する", + "creator-profile": "作成者プロフィール", + "title-widgets": "ウィジェット", + "title-calculated-fields": "計算フィールド", + "title-alarm-rules": "アラームルール", + "title-rule-chains": "ルールチェーン", + "title-devices": "デバイス", + "title-solution-templates": "ソリューションテンプレート", + "subtitle-widgets": "ダッシュボード用のコミュニティウィジェットを参照", + "subtitle-solution-templates": "完全なIoTソリューションパッケージを参照", + "subtitle-calculated-fields": "計算フィールドテンプレートを参照", + "subtitle-alarm-rules": "アラームルールテンプレートを参照", + "subtitle-rule-chains": "ルールチェーンテンプレートを参照", + "subtitle-devices": "デバイス設定を参照", + "search-solution-templates": "ソリューションテンプレートを検索...", + "search-calculated-fields": "計算フィールドを検索...", + "search-alarm-rules": "アラームルールを検索...", + "search-rule-chains": "ルールチェーンを検索...", + "search-devices": "デバイスを検索...", + "sort-most-relevant": "関連性の高い順", + "sort-most-installed": "インストール数の多い順", + "sort-newest": "新しい順", + "sort-name": "名前(A-Z)", + "type-filter-label": "タイプ", + "verified-creators-only": "認証済みの作成者のみ", + "category": "カテゴリ", + "use-case": "ユースケース", + "vendor": "ベンダー", + "view-setup-guide": "セットアップガイドを表示", + "hardware-type": "ハードウェアタイプ", + "connectivity": "接続方式", + "clear-all-filters": "すべてのフィルターをクリア", + "clear-all": "すべてクリア", + "results-count": "{{count}}件の結果", + "unable-to-load": "読み込めません", + "unable-to-load-text": "アイテムの読み込み中に問題が発生しました。もう一度お試しください。", + "network-server-unavailable": "ネットワークまたはサーバーを利用できません", + "network-server-unavailable-text": "カタログに接続できませんでした。しばらくしてからもう一度お試しください。", + "try-again": "もう一度試す", + "retry": "再試行", + "no-items-found": "アイテムが見つかりません", + "no-items-found-text": "検索条件またはフィルターを変更してください。", + "no-widgets-found": "ウィジェットが見つかりません", + "browse-tip-prefix": "必要なものが見つかりませんか?", + "browse-tip-link": "IoT Hubを参照", + "browse-tip-suffix": "して、その他のウィジェットを見つけてください。", + "creator": "作成者", + "manage": "管理", + "details": "詳細", + "become-a-creator": "作成者になる", + "back-to-iot-hub": "IoT Hubに戻る", + "verified-creator": "認証済み作成者", + "published-items": "公開済みアイテム", + "by-creator": "作成者: {{name}}", + "installs": "インストール", + "more": "その他", + "categories": "カテゴリ", + "use-cases": "ユースケース", + "changelog": "変更履歴", + "created-by": "作成者: {{name}}", + "install-confirm": "{{name}} v{{version}}をインストールしますか?", + "install-confirm-title": "'{{name}}'をインストールしますか?", + "install-desc": "インストールすると、テナント内に必要なリソースが自動的に作成され、設定されます", + "install-success-desc": "'{{name}}'が正常にインストールされました", + "remove": "削除", + "remove-confirm-title": "'{{name}}'を削除しますか?", + "remove-desc": "削除すると、インストールされたエンティティとテナント内の関連リソースも削除されます", + "remove-desc-solution-template": "このソリューションテンプレートを削除すると、ダッシュボード、ルールチェーン、デバイス、その他のテナント内の関連リソースを含む、作成されたすべてのエンティティも削除されます", + "remove-anyway": "それでも削除", + "select-entity-for-cf": "計算フィールド'{{name}}'のエンティティを選択", + "select-entity-for-alarm-rule": "アラームルール'{{name}}'のエンティティを選択", + "rule-chain-install-subtitle": "インストールすると、テナント内にルールチェーンが自動的に作成されます。必要に応じてプロファイルのデフォルトとして設定すると、そのプロファイルのエンティティはこのルールチェーンを経由します。", + "rule-chain-set-as-profile-default-toggle": "プロファイルのデフォルトルールチェーンとして設定", + "rule-chain-set-as-profile-default-tooltip": "有効にすると、選択したプロファイルのすべてのエンティティがこのルールチェーンを経由してメッセージをルーティングします。", + "rule-chain-overwrite-title": "既存のデフォルトルールチェーンを置き換えますか?", + "rule-chain-overwrite-body": "プロファイル{{profile}}は現在、{{existing}}をデフォルトルールチェーンとして使用しています。インストールすると、このルールチェーンに置き換えられます。", + "rule-chain-overwrite-replace": "置き換え", + "install": "インストール", + "open": "開く", + "built-in": "組み込み", + "built-in-lookup-failed-title": "このコンポーネントを確認できませんでした", + "built-in-lookup-failed-text": "'{{name}}'がこのインスタンスに既に存在するかどうかを確認できませんでした。何もインストールされていません。もう一度お試しください。", + "built-in-missing-title": "このインスタンスでは利用できません", + "built-in-missing-text": "'{{name}}'は通常ThingsBoardに同梱されていますが、このインスタンスには存在しません。システム管理者によって削除された可能性があります。代わりにIoT Hubからインストールできます。", + "connect": "接続", + "connect-device": "デバイスを接続", + "installing": "インストール中...", + "installing-title": "'{{name}}'をインストール中", + "installed": "インストール済み", + "install-success": "{{name}}が正常にインストールされました", + "install-success-title": "インストール成功", + "install-success-message": "'{{name}}' v{{version}}が正常にインストールされました。", + "install-error": "{{name}}のインストールに失敗しました", + "solution-install-title": "ソリューションテンプレートが正常にインストールされました", + "solution-instructions": "ソリューションの手順", + "goto-main-dashboard": "メインダッシュボードに移動", + "install-error-title": "インストール失敗", + "install-error-message": "'{{name}}'のインストールに失敗しました。", + "install-dependency-error": "依存関係'{{name}}'のインストールに失敗しました: {{error}}", + "install-plan-title": "'{{name}}'とその依存関係をインストール", + "install-plan-will-install": "{{count}}件のアイテムがインストールされます。", + "install-plan-will-update": "{{count}}件のアイテムはインストール済みのため、スキップされます。", + "install-plan-missing-warning": "必要な{{count}}件のアイテムがマーケットプレイスで見つかりませんでした。これらがないと、'{{ name }}'は完全には動作しない可能性があります。", + "install-plan-status-will": "インストール", + "install-plan-status-installed": "インストール済み", + "install-plan-status-missing": "不足", + "install-plan-confirm": "インストール", + "install-partial-title": "インストール完了(警告あり)", + "install-partial-desc": "'{{name}}'はインストールされましたが、一部の必須アイテムが不足していました。", + "install-rollback-partial": "失敗前にインストールされた一部のアイテムを自動的に削除できなかったため、手動で削除する必要がある場合があります。", + "check-for-updates": "更新を確認", + "updates": "更新", + "up-to-date": "最新", + "update": "更新", + "update-to-version": "v {{ version }}に更新", + "update-item-title": "アイテムを更新", + "update-confirm": "'{{name}}'をバージョン{{version}}に更新しますか?", + "update-confirm-title": "'{{name}}'を更新しますか?", + "update-desc": "更新すると、現在のバージョンが最新バージョンに置き換えられ、テナント内の関連リソースが再設定されます", + "update-desc-solution-template": "このソリューションテンプレートを更新すると、テンプレートが作成したすべてのエンティティ(ダッシュボード、ルールチェーン、デバイス、その他テナント内の関連リソースを含む)が削除されて再作成されます。それらに加えた変更はすべて失われます", + "update-success-desc": "'{{name}}'は正常に更新されました", + "updating": "更新中...", + "update-success-title": "更新成功", + "update-success-message": "'{{name}}'はバージョン{{version}}に更新されました。", + "entity-modified-title": "エンティティが変更されています", + "entity-modified-text": "{{type}}はローカルで変更されています。それでも更新しますか?", + "update-error-title": "更新失敗", + "update-error-message": "'{{name}}'の更新に失敗しました。", + "update-error": "{{name}}の更新に失敗しました", + "most-popular": "人気順", + "all": "すべて", + "installed-items": "インストール済みアイテム", + "installed-items-for": "\"{{name}}\"のインストール済みアイテム", + "search-installed-items": "インストール済みアイテムを検索...", + "item-name": "名前", + "item-type": "タイプ", + "item-version": "バージョン", + "installed-date": "インストール日", + "no-installed-items": "インストール済みアイテムが見つかりません", + "no-installed-items-text": "検索条件またはフィルターを調整してください。", + "remove-installed-item-title": "インストール済みアイテムを削除", + "remove-installed-item-text": "'{{name}}'を削除してもよろしいですか?インストールされたエンティティも削除されます。", + "installed-item-removed": "'{{name}}'を削除しました", + "installed-item-remove-error": "'{{name}}'の削除に失敗しました", + "open-installed-entity": "インストールされたエンティティを開く", + "view-item-details": "アイテムの詳細を表示", + "review-device-instructions": "デバイスの手順を確認", + "open-item-type": "{{type}}を開く", + "back-to-marketplace": "マーケットプレイスに戻る", + "device-install-select-connectivity": "デバイスの接続方法を選択", + "connection-method": "接続方法", + "step-prerequisites": "前提条件", + "step-configuration": "設定", + "step-provisioning": "プロビジョニング", + "device-install-step-error": "失敗", + "device-install-step-pending": "待機中", + "device-install-step-running": "作成中...", + "device-install-step-success": "作成済み", + "device-install-step-type-DASHBOARD": "ダッシュボード", + "device-install-step-type-DEVICE": "デバイス", + "device-install-step-type-DEVICE_PROFILE": "デバイスプロファイル", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Gatewayコネクター", + "device-install-step-type-RULE_CHAIN": "ルールチェーン", + "device-install-step-type-UPLINK_CONVERTER": "アップリンクコンバーター", + "device-install-step-type-DOWNLINK_CONVERTER": "ダウンリンクコンバーター", + "device-install-step-type-INTEGRATION": "統合", + "use-secret": "シークレットを使用", + "use-plain-text": "プレーンテキストを使用", + "device-install-conflict-exists": "この名前の{{type}}は既に存在します。", + "device-install-use-existing": "既存のものを使用", + "device-install-overwrite": "上書き", + "device-install-create-copy": "コピーを作成", + "device-install-resolution-created": "作成済み", + "device-install-resolution-use-existing": "既存のものを使用", + "device-install-resolution-overwrite": "上書き済み", + "device-install-resolution-create-copy": "コピーを作成済み", + "device-install-title": "「{{name}}」を接続", + "device-installing-title": "「{{name}}」をインストール中", + "done": "完了", + "in-progress": "進行中", + "item-detail": "IoT Hubアイテム", + "unpublished-warning-title": "未公開のコンテンツ", + "unpublished-warning-text": "これは未公開コンテンツのプレビューです。IoT Hubによるレビューは行われていません。未検証のコンテンツをインストールすると、セキュリティや安定性のリスクが生じる可能性があります。作成者を信頼できる場合にのみ続行してください。", + "unpublished-warning-confirm": "リスクを理解したうえで続行", + "unpublished-preview": "未公開のプレビュー", + "deep-link-invalid-id": "IoT Hubアイテムのリンクが無効です。", + "deep-link-not-found": "このIoT Hubアイテムは存在しないか、削除されています。", + "deep-link-fetch-failed": "IoT Hubアイテムを読み込めませんでした。もう一度お試しください。", + "export-to-iot-hub": "IoT Hubにエクスポート" + }, + "item-data": { + "widget-type-timeseries": "時系列", + "widget-type-latest": "最新の値", + "widget-type-rpc": "制御", + "widget-type-alarm": "アラーム", + "widget-type-static": "静的", + "cf-type-simple": "シンプル", + "cf-type-script": "スクリプト", + "cf-type-geofencing": "ジオフェンシング", + "cf-type-alarm": "アラーム", + "cf-type-propagation": "伝播", + "cf-type-related-entities-aggregation": "関連エンティティの集計", + "cf-type-entity-aggregation": "エンティティの集計", + "rule-chain-type-core": "コア", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "エンリッチメント", + "node-type-filter": "フィルター", + "node-type-transformation": "変換", + "node-type-action": "アクション", + "node-type-analytics": "分析", + "node-type-external": "外部", + "node-type-flow": "フロー", + "node-type-unknown": "不明" }, "js-func": { "no-return-error": "関数は値を返さなければなりません!", @@ -5457,11 +6572,13 @@ "key-val": { "key": "キー", "value": "値", - "remove-entry": "エントリーを削除", - "add-entry": "エントリーを追加", - "no-data": "エントリーがありません" + "remove-entry": "エントリを削除", + "add-entry": "エントリを追加", + "no-data": "エントリがありません" }, "layout": { + "switch-to-html-page-title": "HTMLページに切り替えますか?", + "switch-to-html-page-text": "HTMLページは、この状態のウィジェットグリッドを置き換えます。そのレイアウトに配置された{ count, plural, =1 {1 個のウィジェット} other {# 個のウィジェット} }は、この状態から削除されます。", "layout": "レイアウト", "layouts": "レイアウト", "manage": "レイアウトの管理", @@ -5582,7 +6699,7 @@ "enable-authenticator-app-description": "認証アプリのセキュリティコードを入力してください", "enable-authenticator-sms": "SMS 認証を有効化", "enable-authenticator-sms-description": "次に送信した 6 桁のコードを入力してください: ", - "enable-authenticator-email": "email 認証を有効化", + "enable-authenticator-email": "メール認証を有効化", "enable-authenticator-email-description": "セキュリティコードを次のメールアドレスに送信しました: ", "enter-key-manually": "または、この 32 桁のキーを手動で入力してください:", "continue": "続行", @@ -5591,7 +6708,7 @@ "authenticator-app-success-description": "次回ログイン時は、二要素認証コードの入力が必要です", "authenticator-sms-success": "SMS 認証を有効化しました", "authenticator-sms-success-description": "次回ログイン時に、電話番号に送信されるセキュリティコードの入力を求められます", - "authenticator-email-success": "Email 認証を有効化しました", + "authenticator-email-success": "メール認証を有効化しました", "authenticator-email-success-description": "次回ログイン時に、メールアドレスに送信されるセキュリティコードの入力を求められます", "authenticator-backup-code-success": "バックアップコードを有効化しました", "authenticator-backup-code-success-description": "次回ログイン時に、セキュリティコードの入力、またはバックアップコードのいずれか 1 つの使用を求められます。", @@ -5599,7 +6716,7 @@ "get-backup-code": "バックアップコードを取得", "copy-key": "キーをコピー", "send-code": "コードを送信", - "email-label": "Email", + "email-label": "メールアドレス", "email-description": "認証に使用するメールアドレスを入力してください。", "sms-description": "認証に使用する電話番号を入力してください。", "backup-code-description": "アカウントにログインする際に使用できるよう、コードを印刷して手元に保管してください。各バックアップコードは 1 回のみ使用できます。", @@ -5631,7 +6748,7 @@ "no-captcha-message": "ロボットでないことを確認する必要があります", "password-length-message": "パスワードは6文字以上である必要があります", "email-verification": "メール確認", - "email-verification-message": "指定されたメールアドレスに確認詳細を含むメールが送信されました。
    サインアップ手続きを完了するために、メールに記載された指示に従ってください。
    注意: しばらくメールが届かない場合は、'スパム'フォルダを確認するか、'再送信'ボタンをクリックしてメールを再送信してください。", + "email-verification-message": "指定されたメールアドレスに確認詳細を含むメールが送信されました。
    サインアップ手続きを完了するために、メールに記載された指示に従ってください。
    注意: しばらくメールが届かない場合は、'スパム'フォルダーを確認するか、'再送信'ボタンをクリックしてメールを再送信してください。", "account-activation-title": "アカウントのアクティベーション", "account-activated": "アカウントが正常にアクティベートされました!", "account-activated-text": "おめでとうございます!
    あなたのアカウントはアクティベートされました。", @@ -5688,6 +6805,7 @@ "min-version": "最小バージョン", "invalid-version-pattern": "無効なバージョン形式です。形式は major.minor.patch(例:1.0.0)を使用してください。", "mobile-center": "モバイルセンター", + "mobile-apps": "モバイルアプリケーション", "mobile-package": "アプリケーションパッケージ", "mobile-package-max-length": "アプリケーションパッケージは256文字以内である必要があります", "mobile-package-required": "アプリケーションパッケージは必須です。", @@ -5807,6 +6925,9 @@ "reset-self-registration-text": "確認後、すべての設定が失われ、元に戻すことはできませんのでご注意ください。" } }, + "monitor": { + "monitor": "モニター" + }, "notification": { "ai-assistant-initial-prompt-placeholder": "設定したい内容を説明してください...", "ai-assistant-example-explain-label": "通知の仕組み", @@ -5889,7 +7010,7 @@ "delivery-method-not-configure-contact": "配信方法が設定されていません。システム管理者に連絡してください。", "delivery-methods": "配信方法", "attach-report": "レポートを添付", - "attach-report-hint": "レポートファイルを生成して、メールまたはSlackメッセージに添付します。現在、'Email'と'Slack'の配信方法でのみ有効です。", + "attach-report-hint": "レポートファイルを生成して、メールまたはSlackメッセージに添付します。現在、'メール'と'Slack'の配信方法でのみ有効です。", "description": "説明", "device-activity-trigger-settings": "デバイスアクティブトリガー設定", "device-list-rule-hint": "フィールドが空の場合、トリガーはすべてのデバイスに適用されます。", @@ -5949,15 +7070,16 @@ "create-new-template": "新しいテンプレートを作成!", "not-found-slack-recipient": "Slackの受信者が見つかりません", "notification": "通知", + "notifications": "通知", "notification-center": "通知センター", "notification-tap-action": "通知タップアクション", "notification-tap-action-hint": "無効の場合、デフォルトのアラームダッシュボードが使用されます", "notify": "通知", "notify-again": "再度通知", "notify-alarm-action": { - "acknowledged": "アラームが承認されました", + "acknowledged": "アラームが確認されました", "assigned": "アラームが割り当てられました", - "cleared": "アラームが解除されました", + "cleared": "アラームがクリアされました", "created": "アラームが作成されました", "severity-changed": "アラームの重大度が変更されました", "unassigned": "アラームの割り当てが解除されました" @@ -5995,7 +7117,7 @@ "notification-recipients": "通知 / 受信者", "recipients-count": "{ count, plural, =1 {1 受信者} other {# 受信者} }", "recipients-required": "受信者は必須です", - "refresh-allow-delivery-method": "配信方法の許可をリフレッシュ", + "refresh-allow-delivery-method": "配信方法の許可を更新", "request-search": "リクエスト検索", "request-status": { "processing": "処理中", @@ -6055,6 +7177,8 @@ "entities-limit": "エンティティ上限", "entities-limit-increase-request": "エンティティ上限引き上げリクエスト", "addon-access-error": "アドオン/機能アクセスエラー", + "addon-access-request": "アドオン/機能へのアクセスリクエスト", + "plan-upgrade-request": "プランのアップグレードリクエスト", "entity-action": "エンティティアクション", "general": "一般", "integration-lifecycle-event": "統合ライフサイクルイベント", @@ -6100,7 +7224,7 @@ "type": "タイプ", "unread": "未読", "updated": "更新済み", - "use-deprecated-webhook-connectors": "廃止予定のWebhookコネクタを使用", + "use-deprecated-webhook-connectors": "廃止予定のWebhookコネクターを使用", "use-old-api": "古いAPIを使用", "use-template": "テンプレートを使用", "view-all": "すべて表示", @@ -6374,6 +7498,7 @@ "resource-library-details": "リソースの詳細", "resource-type": "リソースタイプ", "resources-library": "リソースライブラリ", + "files": "ファイル", "search": "リソースを検索", "selected-resources": "{ count, plural, =1 {1 リソース} other {# リソース} } 選択済み", "system": "システム", @@ -6416,6 +7541,8 @@ "drop-resource-file-or": "JavaScriptファイルをドラッグ&ドロップするか", "javascript-library": "JavaScriptライブラリ", "javascript-type": "JavaScriptタイプ", + "scripts": "スクリプト", + "script-type": "スクリプトタイプ", "javascript-resource-details": "JavaScriptリソースの詳細", "javascript-resource-is-in-use": "JavaScriptリソースは他のエンティティによって使用されています", "javascript-resources-are-in-use": "JavaScriptリソースは他のエンティティによって使用されています", @@ -6467,6 +7594,7 @@ "create-new-rulechain": "新しいルールチェーンを作成", "rulechain-file": "ルールチェーンファイル", "invalid-rulechain-file-error": "ルールチェーンをインポートできません: 無効なルールチェーンデータ構造", + "rulechain-not-found-warning": "デフォルトのルールチェーンが見つかりません。プロファイルはルールチェーンなしで保存されました。プロファイルの設定で割り当てることができます。", "copyId": "ルールチェーンIDをコピー", "idCopiedMessage": "ルールチェーンIDがクリップボードにコピーされました", "select-rulechain": "ルールチェーンを選択", @@ -6496,8 +7624,18 @@ "unset-auto-assign-to-edge": "作成時にルールチェーンをEdgeに自動的に割り当てない", "unset-auto-assign-to-edge-title": "作成時にEdgeルールチェーン '{{ruleChainName}}' をEdgeに自動的に割り当てないことを確認してもよろしいですか?", "unset-auto-assign-to-edge-text": "確認後、このEdgeルールチェーンは作成時にEdgeに自動的に割り当てられなくなります。", - "unassign-rulechain-title": "ルールチェーン '{{ruleChainName}}' を解除してもよろしいですか?", - "unassign-rulechains": "ルールチェーンを解除" + "unassign-rulechain-title": "ルールチェーン '{{ruleChainName}}' の割り当てを解除してもよろしいですか?", + "unassign-rulechains": "ルールチェーンの割り当てを解除", + "add-note": "メモを追加", + "paste-note": "メモを貼り付け", + "note": "メモ", + "edit-note": "メモを編集", + "note-content": "Markdown/HTMLコンテンツ", + "note-details": "メモの詳細", + "note-background-color": "背景色", + "note-border": "枠線", + "note-apply-default-markdown-style": "デフォルトのMarkdownスタイルを適用", + "note-custom-css": "メモコンテンツのCSS" }, "rulenode": { "rule-node-events": "ルールノードイベント", @@ -6524,7 +7662,7 @@ "rulenode-details": "ルールノードの詳細", "debug-mode": "デバッグモード", "singleton": "シングルトン", - "configuration": "構成", + "configuration": "設定", "link": "リンク", "link-details": "ルールノードリンクの詳細", "add-link": "リンクを追加", @@ -6575,15 +7713,15 @@ "help": "ヘルプ", "reset-debug-settings": "すべてのノードのデバッグ設定をリセット", "test-with-this-message": "このメッセージで{{test}}", - "queue-hint": "メッセージを別キューへ転送するためのキューを選択します。既定では 'Main' キューが使用されます。", - "queue-singleton-hint": "マルチインスタンス環境でメッセージを転送するためのキューを選択します。既定では 'Main' キューが使用されます。" + "queue-hint": "メッセージを別キューへ転送するためのキューを選択します。デフォルトでは 'Main' キューが使用されます。", + "queue-singleton-hint": "マルチインスタンス環境でメッセージを転送するためのキューを選択します。デフォルトでは 'Main' キューが使用されます。" }, "rule-node-config": { "id": "ID", "additional-info": "追加情報", "advanced-settings": "詳細設定", "create-entity-if-not-exists": "エンティティが存在しない場合は新規作成", - "create-entity-if-not-exists-hint": "有効にすると、指定したパラメータの新しいエンティティが、まだ存在しない場合に作成されます。既存のエンティティは、そのままリレーションに使用されます。", + "create-entity-if-not-exists-hint": "有効にすると、指定したパラメーターの新しいエンティティが、まだ存在しない場合に作成されます。既存のエンティティは、そのままリレーションに使用されます。", "select-device-connectivity-event": "デバイス接続イベントを選択", "entity-name-pattern": "名前パターン", "device-name-pattern": "デバイス名", @@ -6591,7 +7729,7 @@ "entity-view-name-pattern": "エンティティビュー名", "customer-title-pattern": "顧客タイトル", "dashboard-name-pattern": "ダッシュボードタイトル", - "user-name-pattern": "ユーザーEmail", + "user-name-pattern": "ユーザーのメールアドレス", "edge-name-pattern": "Edge名", "entity-name-pattern-required": "名前パターンは必須です", "entity-name-pattern-hint": "名前パターンフィールドはテンプレート化をサポートします。$[messageKey] を使用してメッセージから値を抽出し、${metadataKey} を使用してメタデータから値を抽出します。", @@ -6661,15 +7799,15 @@ "update-attributes-only-on-value-change-hint": "値が変化したかどうかに関係なく、受信メッセージごとに属性を更新します。APIの使用量が増え、パフォーマンスが低下します。", "update-attributes-only-on-value-change-hint-enabled": "値が変化した場合にのみ属性を更新します。値が変化していない場合、属性のタイムスタンプ更新も属性変更通知の送信も行われません。", "fetch-credentials-to-metadata": "認証情報をメタデータに取得", - "notify-device-on-update-hint": "有効にすると、共有属性の更新についてデバイスへの通知を強制します。無効の場合、通知動作は受信メッセージのメタデータに含まれる 'notifyDevice' パラメータで制御されます。通知をオフにするには、メタデータに 'notifyDevice' パラメータを含め、値を 'false' に設定する必要があります。それ以外の場合は、デバイスへの通知がトリガーされます。", - "notify-device-on-delete-hint": "有効にすると、共有属性の削除についてデバイスへの通知を強制します。無効の場合、通知動作は受信メッセージのメタデータに含まれる 'notifyDevice' パラメータで制御されます。通知をオンにするには、メタデータに 'notifyDevice' パラメータを含め、値を 'true' に設定する必要があります。それ以外の場合は、デバイスへの通知はトリガーされません。", + "notify-device-on-update-hint": "有効にすると、共有属性の更新についてデバイスへの通知を強制します。無効の場合、通知動作は受信メッセージのメタデータに含まれる 'notifyDevice' パラメーターで制御されます。通知をオフにするには、メタデータに 'notifyDevice' パラメーターを含め、値を 'false' に設定する必要があります。それ以外の場合は、デバイスへの通知がトリガーされます。", + "notify-device-on-delete-hint": "有効にすると、共有属性の削除についてデバイスへの通知を強制します。無効の場合、通知動作は受信メッセージのメタデータに含まれる 'notifyDevice' パラメーターで制御されます。通知をオンにするには、メタデータに 'notifyDevice' パラメーターを含め、値を 'true' に設定する必要があります。それ以外の場合は、デバイスへの通知はトリガーされません。", "latest-timeseries": "最新の時系列データキー", "timeseries-keys": "時系列キー", "timeseries-keys-required": "少なくとも1つの時系列キーを選択してください。", "add-timeseries-key": "時系列キーを追加", "add-message-field": "メッセージフィールドを追加", - "relation-search-parameters": "リレーション検索パラメータ", - "relation-parameters": "リレーションパラメータ", + "relation-search-parameters": "リレーション検索パラメーター", + "relation-parameters": "リレーションパラメーター", "add-metadata-field": "メタデータフィールドを追加", "data-keys": "メッセージフィールド名", "copy-from": "コピー元", @@ -6770,7 +7908,7 @@ "default-ttl-hint": "ルールノードはメッセージメタデータから Time-to-Live(TTL)値を取得します。値が存在しない場合は、構成で指定されたTTLがデフォルトになります。値が0に設定されている場合は、テナントプロファイル構成のTTLが適用されます。", "default-ttl-zero-hint": "値が0に設定されている場合、TTLは適用されません。", "min-default-ttl-message": "最小TTLは0のみ許可されています。", - "generation-parameters": "生成パラメータ", + "generation-parameters": "生成パラメーター", "message-count": "生成メッセージ数の上限(0 - 無制限)", "message-count-required": "生成メッセージ数の上限は必須です。", "min-message-count-message": "最小メッセージ数は0のみ許可されています。", @@ -6778,14 +7916,14 @@ "period-seconds-required": "期間は必須です。", "generation-frequency-seconds": "生成頻度(秒)", "generation-frequency-required": "生成頻度は必須です。", - "min-generation-frequency-message": "最小は60秒のみ許可されています。", + "min-generation-frequency-message": "最小値として許可されるのは1秒のみです。", "script-lang-tbel": "TBEL", "script-lang-js": "JS", "use-metadata-period-in-seconds-patterns": "秒単位の期間パターンを使用", "use-metadata-period-in-seconds-patterns-hint": "選択すると、ルールノードはメッセージのメタデータまたはデータから、間隔が秒であるものとして秒単位の期間パターンを使用します。", "period-in-seconds-pattern": "秒単位の期間パターン", "period-in-seconds-pattern-required": "秒単位の期間パターンは必須です", - "min-period-seconds-message": "期間の最小値は60秒のみ許可されています。", + "min-period-seconds-message": "期間の最小値として許可されるのは1秒のみです。", "originator": "オリジネーター", "message-body": "メッセージ本文", "message-metadata": "メッセージメタデータ", @@ -6843,8 +7981,8 @@ "mail-body-type": "メール本文タイプ", "body-type-template": "本文タイプテンプレート", "reply-routing-configuration": "返信ルーティング設定", - "rpc-reply-routing-configuration-hint": "これらの構成パラメータは、返信を返送するために使用するサービス、セッション、リクエストを識別するメタデータキー名を指定します。", - "reply-routing-configuration-hint": "これらの構成パラメータは、返信を返送するために使用するサービスとリクエストを識別するメタデータキー名を指定します。", + "rpc-reply-routing-configuration-hint": "これらの設定パラメーターは、返信を返送するために使用するサービス、セッション、リクエストを識別するメタデータキー名を指定します。", + "reply-routing-configuration-hint": "これらの設定パラメーターは、返信を返送するために使用するサービスとリクエストを識別するメタデータキー名を指定します。", "request-id-metadata-attribute": "リクエストID", "service-id-metadata-attribute": "サービスID", "session-id-metadata-attribute": "セッションID", @@ -6854,8 +7992,9 @@ "endpoint-url-pattern": "エンドポイントURLパターン", "endpoint-url-pattern-required": "エンドポイントURLパターンは必須です", "request-method": "リクエストメソッド", - "use-simple-client-http-factory": "シンプルクライアントHTTPファクトリーを使用", "ignore-request-body": "リクエスト本文なし", + "request-body-template": "リクエストボディテンプレート", + "request-body-template-hint": "メタデータには${metadataKey}、メッセージの値には$[messageKey]を使用してください。空の場合は、メッセージペイロードがリクエストボディとして使用されます。JSON以外のペイロードの場合は、「プレーンテキストに解析」を有効にしてください。

    プレースホルダー${secret:name;type:TYPE}を使用してシークレットを挿入できます。ここで、'name'はシークレットの識別子、'type'はTEXTまたはTEXT_FILEのいずれかです。これは、「シークレットを使用」を直接サポートしていないルールノード設定フィールドで便利です。例: ${secret:tenant password;type:TEXT}。", "parse-to-plain-text": "プレーンテキストに解析", "parse-to-plain-text-hint": "選択すると、リクエスト本文のメッセージペイロードはJSON文字列からプレーンテキストに変換されます。例: msg = \"Hello,\\t\"world\"\" は Hello, \"world\" に解析されます", "read-timeout": "ミリ秒単位の読み取りタイムアウト", @@ -6865,7 +8004,7 @@ "max-response-size": "最大レスポンスサイズ (in KB)", "max-response-size-hint": "JSONやXMLペイロードなどのHTTPメッセージをデコードまたはエンコードする際に、データをバッファリングするために割り当てられる最大メモリ量", "headers": "ヘッダー", - "headers-hint": "ヘッダー/値フィールドで、メタデータの値には ${metadataKey} を使用し、メッセージ本文の値には $[messageKey] を使用します", + "headers-hint": "ヘッダー/値フィールドで、メタデータの値には ${metadataKey} を使用し、メッセージ本文の値には $[messageKey] を使用します。

    プレースホルダー ${secret:name;type:TYPE} を使用してシークレットを挿入できます。'name' はシークレットの識別子、'type' は TEXT または TEXT_FILE です。これは、「シークレットを使用」を直接サポートしていないルールノードの設定フィールドで便利です。例: ${secret:Header;type:TEXT}。", "header": "ヘッダー", "header-required": "ヘッダーは必須です", "value": "値", @@ -6879,6 +8018,7 @@ "bootstrap-servers": "ブートストラップサーバー", "bootstrap-servers-required": "ブートストラップサーバーの値は必須です", "other-properties": "その他のプロパティ", + "other-properties-empty": "その他のプロパティが設定されていません", "key": "キー", "key-required": "キーは必須です", "retries": "失敗時の自動再試行回数", @@ -6887,9 +8027,9 @@ "min-batch-size-bytes-message": "最小バッチサイズは0のみ許可されています。", "linger-ms": "ローカルでバッファリングする時間(ms)", "min-linger-ms-message": "最小値は0 msのみ許可されています。", - "buffer-memory-bytes": "クライアントバッファの最大サイズ(バイト)", - "min-buffer-memory-message": "最小バッファサイズは0のみ許可されています。", - "memory-buffer-size-range": "メモリバッファサイズは0〜{{max}} KBの範囲である必要があります", + "buffer-memory-bytes": "クライアントバッファーの最大サイズ(バイト)", + "min-buffer-memory-message": "最小バッファーサイズは0のみ許可されています。", + "memory-buffer-size-range": "メモリバッファーサイズは0〜{{max}} KBの範囲である必要があります", "acks": "確認応答数", "topic-arn-pattern": "トピックARNパターン", "topic-arn-pattern-required": "トピックARNパターンは必須です", @@ -6916,6 +8056,7 @@ "handshake-timeout-ms": "ハンドシェイクタイムアウト(ms)", "min-handshake-timeout-ms-message": "最小値は0 msのみ許可されています。", "client-properties": "クライアントプロパティ", + "client-properties-empty": "クライアントプロパティが設定されていません", "queue-url-pattern": "キューURLパターン", "queue-url-pattern-required": "キューURLパターンは必須です", "delay-seconds": "遅延(秒)", @@ -6933,6 +8074,7 @@ "pubsub-topic-name": "トピック名", "pubsub-topic-name-required": "トピック名は必須です", "message-attributes": "メッセージ属性", + "message-attributes-empty": "メッセージ属性が設定されていません", "message-attributes-hint": "名前/値フィールドで、メタデータから値を取得するには ${metadataKey} を使用し、メッセージ本文から値を取得するには $[messageKey] を使用します", "connect-timeout": "接続タイムアウト(秒単位)", "connect-timeout-required": "接続タイムアウトは必須です。", @@ -6952,7 +8094,7 @@ "credentials-basic": "ベーシック", "credentials-pem": "PEM", "credentials-pem-hint": "少なくともサーバーCA証明書ファイル、またはクライアント証明書ファイルとクライアント秘密鍵ファイルのペアが必要です", - "credentials-sas": "共有アクセス署名", + "credentials-sas": "Shared Access Signature", "secret-placeholder-hint": "プレースホルダー ${secret:name;type:TYPE} を使用してシークレットを挿入できます。ここで 'name' はシークレット識別子、'type' は TEXT または TEXT_FILE です。これは 'Use Secret' を直接サポートしないルールノード設定フィールドで便利です。例: ${secret:Header;type:TEXT}", "sas-key": "SASキー", "sas-key-required": "SASキーは必須です。", @@ -7010,7 +8152,9 @@ "group-cache-expiration-hint": "見つかったエンティティグループレコードを保存できる最大時間間隔を指定します。0 は、レコードが期限切れにならないことを意味します。", "remove-from-current-groups": "現在のグループから削除", "use-report-config-from-message": "メッセージのレポート設定を使用", + "use-report-config-from-message-hint": "有効にすると、ルールノードは受信メッセージからレポート生成設定を取得します。無効の場合は、以下で指定した設定が使用されます。", "use-system-reports-server": "システムのレポートサーバーを使用", + "use-system-reports-server-hint": "有効にすると、ルールノードはシステム設定のレポートサーバーエンドポイントURLを使用します。無効の場合は、以下で指定したURLが使用されます。", "reports-server-endpoint-url": "レポートサーバーエンドポイントURL", "reports-server-endpoint-url-is-required": "レポートサーバーエンドポイントURLは必須です。", "tls-version": "TLSバージョン", @@ -7023,7 +8167,6 @@ "proxy-port-range": "プロキシポートは1〜65535の範囲である必要があります。", "proxy-user": "プロキシユーザー", "proxy-password": "プロキシパスワード", - "proxy-scheme": "プロキシスキーム", "numbers-to-template": "送信先電話番号テンプレート", "numbers-to-template-required": "送信先電話番号テンプレートは必須です", "numbers-to-template-hint": "カンマ区切りの電話番号。メタデータの値には ${metadataKey} を使用し、メッセージ本文の値には $[messageKey] を使用します", @@ -7101,13 +8244,13 @@ "all-alarms": "すべてのアラーム", "for": "対象", "status-filter": "ステータスフィルター", - "severity-filter": "重要度フィルター", + "severity-filter": "重大度フィルター", "type-filter": "タイプフィルター", "all-statuses": "すべてのステータス", - "all-severities": "すべての重要度", + "all-severities": "すべての重大度", "all-types": "すべてのタイプ", "add-alarm-status": "+アラームステータス", - "add-alarm-severity": "+アラーム重要度", + "add-alarm-severity": "+アラーム重大度", "add-alarm-type": "+アラームタイプ", "specify-interval": "間隔を指定", "interval-seconds": "秒単位の間隔", @@ -7140,8 +8283,8 @@ "entity-details-address2": "住所2", "entity-details-additional_info": "追加情報", "entity-details-phone": "電話番号", - "entity-details-email": "Email", - "email-sender": "Email送信者", + "entity-details-email": "メールアドレス", + "email-sender": "メール送信者", "fields-to-check": "チェックするフィールド", "add-detail": "詳細を追加", "check-all-keys-tooltip": "有効にすると、受信メッセージとそのメタデータ内の、メッセージおよびメタデータのフィールド名に列挙されたすべてのフィールドの存在を確認します。", @@ -7161,14 +8304,14 @@ "longitude-field-name": "経度フィールド名", "latitude-field-name-required": "緯度フィールド名は必須です。", "longitude-field-name-required": "経度フィールド名は必須です。", - "fetch-perimeter-info-from-metadata": "メタデータからペリメータ情報を取得", - "fetch-perimeter-info-from-metadata-tooltip": "ペリメータタイプが 'Polygon' に設定されている場合、メタデータフィールド '{{perimeterKeyName}}' の値は、追加の解析を行わずにペリメータ定義として設定されます。それ以外の場合、ペリメータタイプが 'Circle' に設定されていると、'{{perimeterKeyName}}' メタデータフィールドの値が解析され、円のペリメータ定義に使用する 'latitude'、'longitude'、'radius'、'radiusUnit' フィールドが抽出されます。", - "perimeter-key-name": "ペリメータキー名", - "perimeter-key-name-hint": "ペリメータ情報を含むメタデータフィールド名。", - "perimeter-key-name-required": "ペリメータキー名は必須です。", + "fetch-perimeter-info-from-metadata": "メタデータからペリメーター情報を取得", + "fetch-perimeter-info-from-metadata-tooltip": "ペリメータータイプが 'Polygon' に設定されている場合、メタデータフィールド '{{perimeterKeyName}}' の値は、追加の解析を行わずにペリメーター定義として設定されます。それ以外の場合、ペリメータータイプが 'Circle' に設定されていると、'{{perimeterKeyName}}' メタデータフィールドの値が解析され、円のペリメーター定義に使用する 'latitude'、'longitude'、'radius'、'radiusUnit' フィールドが抽出されます。", + "perimeter-key-name": "ペリメーターキー名", + "perimeter-key-name-hint": "ペリメーター情報を含むメタデータフィールド名。", + "perimeter-key-name-required": "ペリメーターキー名は必須です。", "perimeter-circle": "円", "perimeter-polygon": "ポリゴン", - "perimeter-type": "ペリメータタイプ", + "perimeter-type": "ペリメータータイプ", "circle-center-latitude": "中心緯度", "circle-center-latitude-required": "中心緯度は必須です。", "circle-center-longitude": "中心経度", @@ -7342,7 +8485,7 @@ "fetch-timeseries-from-to": "{{startInterval}} {{startIntervalTimeUnit}} 前から {{endInterval}} {{endIntervalTimeUnit}} 前までの時系列を取得。", "fetch-timeseries-from-to-invalid": "時系列の取得が無効です(\"間隔開始\" は \"間隔終了\" より小さい必要があります)。", "use-metadata-dynamic-interval-tooltip": "選択すると、ルールノードはメッセージおよびメタデータのパターンに基づいて動的なインターバルの開始と終了を使用します。", - "all-mode-hint": "取得モード \"All\" を選択すると、ルールノードは設定可能なクエリパラメータを使用して取得間隔からテレメトリを取得します。", + "all-mode-hint": "取得モード「すべて」を選択すると、ルールノードは設定可能なクエリパラメーターを使用して、取得間隔内のテレメトリを取得します。", "first-mode-hint": "取得モード \"First\" を選択すると、ルールノードは取得間隔の開始に最も近いテレメトリを取得します。", "last-mode-hint": "取得モード \"Last\" を選択すると、ルールノードは取得間隔の終了に最も近いテレメトリを取得します。", "ascending": "昇順", @@ -7353,8 +8496,8 @@ "sum": "合計", "count": "件数", "none": "なし", - "last-level-relation-tooltip": "選択すると、ルールノードは最大関係レベルで設定されたレベルでのみ関連エンティティを検索します。", - "last-level-device-relation-tooltip": "選択すると、ルールノードは最大関係レベルで設定されたレベルでのみ関連デバイスを検索します。", + "last-level-relation-tooltip": "選択すると、ルールノードは最大リレーションレベルで設定されたレベルでのみ関連エンティティを検索します。", + "last-level-device-relation-tooltip": "選択すると、ルールノードは最大リレーションレベルで設定されたレベルでのみ関連デバイスを検索します。", "data-to-fetch": "取得するデータ", "mapping-of-customers": "顧客のマッピング", "map-fields-required": "すべてのマッピングフィールドは必須です。", @@ -7379,7 +8522,7 @@ "template-rules-hint": "両方の入力フィールドはテンプレート化をサポートします。メッセージから値を抽出するには $[messageKey] を使用し、メッセージメタデータから値を抽出するには ${metadataKey} を使用します。", "originator-customer-desc": "受信メッセージのオリジネーターの顧客を新しいオリジネーターとして使用します。", "originator-tenant-desc": "現在のテナントを新しいオリジネーターとして使用します。", - "originator-related-entity-desc": "関連エンティティを新しいオリジネーターとして使用します。設定された関係タイプと方向に基づいて検索します。", + "originator-related-entity-desc": "関連エンティティを新しいオリジネーターとして使用します。設定されたリレーションタイプと方向に基づいて検索します。", "originator-alarm-originator-desc": "アラームオリジネーターを新しいオリジネーターとして使用します。受信メッセージのオリジネーターがアラームエンティティの場合のみ。", "originator-entity-by-name-pattern-desc": "DBから取得したエンティティを新しいオリジネーターとして使用します。エンティティタイプと指定された名前パターンに基づいて検索します。", "email-from-template-hint": "メッセージから値を抽出するには $[messageKey] を使用し、メタデータから値を抽出するには ${metadataKey} を使用します。", @@ -7419,6 +8562,17 @@ "tell-failure-aws-lambda-hint": "AWS Lambda関数の実行で例外が発生した場合、ルールノードはメッセージ処理を失敗にします。", "basic-mode": "基本", "advanced-mode": "詳細", + "url-hint": "リクエストURLを入力してください。特殊文字はパーセントエンコードしてください。", + "query-params": "クエリパラメーター", + "query-params-hint": "リクエストURLに含める追加のクエリパラメーター。名前と値はどちらもテンプレート化をサポートし、テンプレート解決後に厳密に(RFC 3986)エンコードされます。", + "query-params-empty": "クエリパラメーターが設定されていません", + "query-params-name": "名前", + "query-params-value": "値", + "query-params-name-required": "名前は必須です。", + "query-params-value-required": "値は必須です。", + "headers-empty": "ヘッダーが設定されていません", + "request-url": "リクエストURL", + "url": "URL", "save-time-series": { "processing-settings": "処理設定", "processing-settings-hint": "受信メッセージの処理方法を定義します。基本処理設定では事前設定された戦略を選択でき、高度な設定では各アクションごとに個別の処理戦略を選択できます。", @@ -7551,6 +8705,7 @@ "copyId": "ロールIDをコピー", "idCopiedMessage": "ロールIDがクリップボードにコピーされました", "permissions": "権限", + "excluded-permissions": "除外された権限", "role-required": "ロールは必須です", "roles-required": "ロールは必須です", "display-type": { @@ -7584,10 +8739,14 @@ "no-owners-matching": "'{{owner}}'に一致する所有者が見つかりません。", "target-owner-required": "エンティティグループ所有者は必須です。", "target-user-group-owner-required": "ユーザーグループ所有者は必須です。", - "no-group-permissions-text": "グループ権限が見つかりません" + "no-group-permissions-text": "グループ権限が見つかりません", + "permissions-merge-hint": "汎用ロールでは、拒否された操作は同じロール内でのみ有効です。他のロールでその操作が許可されている場合は、アクセスが許可されます。" }, "permission": { "permissions-required": "少なくとも1つの権限エントリを指定してください。", + "resource-duplicate": "このリソースはすでに選択されています", + "operations-required": "許可または拒否する操作を少なくとも1つ指定してください。", + "operation-overlap": "許可する操作と拒否する操作が重複しないようにしてください。", "remove-permission": "権限エントリを削除", "add-permission": "権限エントリを追加", "other": "その他", @@ -7647,12 +8806,22 @@ "SECRET": "シークレット", "JOB": "タスク", "AI_MODEL": "AIモデル", - "API_KEY": "API キー" + "AI": "AI", + "API_KEY": "API キー", + "AGENT": "Agent", + "AGENT_GROUP": "Agentグループ", + "AGENT_PROFILE": "Agentプロファイル", + "AGENT_APPLICATION": "Agentアプリケーション", + "AGENT_APP_PROFILE": "Agentアプリケーションプロファイル", + "AGENT_APP_UNIT": "Agentアプリケーションユニット" } }, "operation": { "operation": "操作", "operations": "操作", + "allowed": "許可", + "denied": "拒否", + "not-set": "未設定", "operations-required": "少なくとも1つの操作を指定してください。", "enter-operation": "操作を入力", "no-operations-matching": "'{{operation}}'に一致する操作が見つかりません。", @@ -7782,15 +8951,13 @@ "single-entity": "単一エンティティ", "group-entities": "エンティティグループ", "entities-group-owner": "エンティティグループ所有者", - "single-device": "単一デバイス", - "group-of-devices": "デバイスグループ", "devices-group-owner": "デバイスグループ所有者", "message-body": "メッセージ本文", "target": "ターゲット", "rpc-method": "メソッド", "rpc-method-required": "メソッドは必須です", "rpc-method-white-space": "空白は使用できません。", - "rpc-params": "パラメータ", + "rpc-params": "パラメーター", "select-dashboard-state": "ダッシュボード状態を選択", "hours": "時間", "minutes": "分", @@ -7814,8 +8981,8 @@ "report": { "general-report-settings": "一般レポート設定", "target-dashboard": "ターゲットダッシュボード", - "email-config": "Email設定", - "dashboard-state-param": "ダッシュボード状態パラメータ値", + "email-config": "メール設定", + "dashboard-state-param": "ダッシュボード状態パラメーター値", "base-url": "ベースURL", "base-url-required": "ベースURLは必須です。", "use-dashboard-timewindow": "ダッシュボードの時間範囲を使用", @@ -7827,7 +8994,7 @@ "customer-user-credentials": "顧客ユーザー認証情報", "customer-user-credentials-required": "顧客ユーザー認証情報は必須です", "generate-test-report": "テストレポートを生成", - "send-email": "Emailを送信", + "send-email": "メールを送信", "from": "差出人", "from-required": "差出人は必須です。", "to": "宛先", @@ -7867,7 +9034,14 @@ "download": "レポートをダウンロード", "report-filter": "レポートフィルター", "no-reports-matching": "'{{entity}}' に一致するレポートが見つかりません。", - "report-required": "レポートは必須です" + "report-required": "レポートは必須です", + "generate-report": "レポートを生成", + "generate-report-started": "レポートの生成を開始しました。レポートが表示されない場合は、ページを更新してください。", + "public-status": "公開アクセス", + "manage-public-access": "公開アクセスを管理", + "public-status-hint": "有効にすると、公開レポートのリンクを知っている人は誰でもレポートをダウンロードできます。", + "public-link-text": "このレポートは公開されています。以下のリンクを共有してください。リンクを知っている人は誰でも、認証なしでレポートをダウンロードできます。", + "copy-public-link": "リンクをコピー" }, "report-template": { "report-template": "レポートテンプレート", @@ -8174,7 +9348,7 @@ "topic": "トピック", "submit-settings": "送信設定", "submit-strategy": "戦略タイプ *", - "grouping-parameter": "グルーピングパラメータ", + "grouping-parameter": "グルーピングパラメーター", "processing-settings": "リトライ処理設定", "processing-strategy": "処理タイプ *", "retries-settings": "リトライ設定", @@ -8242,7 +9416,7 @@ "credentials-expired": "認証情報の有効期限切れ", "permission-denied": "権限がありません", "invalid-arguments": "引数が無効です", - "bad-request-params": "リクエストパラメータが不正です", + "bad-request-params": "リクエストパラメーターが不正です", "item-not-found": "項目が見つかりません", "too-many-requests": "リクエストが多すぎます", "too-many-updates": "更新が多すぎます", @@ -8362,12 +9536,21 @@ "maximum-scheduler-events": "スケジューラーイベント最大数", "maximum-scheduler-events-required": "スケジューラーイベント最大数は必須です。", "maximum-scheduler-events-range": "スケジューラーイベント最大数は負にできません", + "maximum-agents": "Agentの最大数", + "maximum-agents-required": "Agentの最大数は必須です。", + "maximum-agents-range": "Agentの最大数は負の値にできません。", + "maximum-agent-applications": "Agentアプリケーションの最大数", + "maximum-agent-applications-required": "Agentアプリケーションの最大数は必須です。", + "maximum-agent-applications-range": "Agentアプリケーションの最大数は負の値にできません。", "maximum-resources-sum-data-size": "リソースファイルの合計最大サイズ(バイト)", "maximum-resources-sum-data-size-required": "リソースファイルの合計最大サイズは必須です。", "maximum-resources-sum-data-size-range": "リソースファイルの合計最大サイズは負にできません", "maximum-resource-size": "リソースファイルの最大サイズ(バイト)", "maximum-resource-size-required": "リソースファイルの最大サイズは必須です", "maximum-resource-size-range": "リソースファイルの最大サイズは負にできません", + "maximum-report-size": "最大レポートファイルサイズ(バイト)", + "maximum-report-size-required": "最大レポートファイルサイズは必須です。", + "maximum-report-size-range": "最大レポートファイルサイズは負の値にできません。", "maximum-ota-packages-sum-data-size": "OTAパッケージファイルの合計最大サイズ(バイト)", "maximum-ota-package-sum-data-size-required": "OTAパッケージファイルの合計最大サイズは必須です。", "maximum-ota-package-sum-data-size-range": "OTAパッケージファイルの合計最大サイズは負にできません", @@ -8470,9 +9653,9 @@ "max-rule-node-executions-per-message": "メッセージあたりのルールノード実行最大数", "max-rule-node-executions-per-message-required": "メッセージあたりのルールノード実行最大数は必須です。", "max-rule-node-executions-per-message-range": "メッセージあたりのルールノード実行最大数は負にできません", - "max-emails": "送信 Emails 最大数", - "max-emails-required": "送信 Emails 最大数は必須です。", - "max-emails-range": "送信 Emails 最大数は負にできません", + "max-emails": "送信メールの最大数", + "max-emails-required": "送信メールの最大数は必須です。", + "max-emails-range": "送信メールの最大数は負の値にできません", "sms-enabled": "SMS を有効化", "max-sms": "送信 SMS 最大数", "max-sms-required": "送信 SMS 最大数は必須です。", @@ -8507,6 +9690,10 @@ "relation-search-entity-limit-hint": "リレーションパスの最終レベルで解決されるエンティティ数を制限します。「関連エンティティ」引数および伝播フィールドに適用されます。", "relation-search-entity-limit-required": "リレーション検索エンティティ上限は必須です", "relation-search-entity-limit-range": "リレーション検索エンティティ上限は '1' 未満にできません", + "ai": "AI", + "max-ai-credits": "AIクレジットの最大数", + "max-ai-credits-required": "AIクレジットの最大数は必須です。", + "max-ai-credits-range": "AIクレジットの最大数は負の値にできません。", "rate-limits": { "add-limit": "制限を追加", "and-also-less-than": "かつ次より小さい", @@ -8548,6 +9735,16 @@ "edit-edge-uplink-messages-per-edge-rate-limit": "Edge あたりの Edge アップリンクメッセージのレート制限を編集", "edge-uplink-messages-rate-limit": "Edge アップリンクメッセージ", "edge-uplink-messages-per-edge-rate-limit": "Edge あたりの Edge アップリンクメッセージ", + "edit-agent-events-rate-limit": "Agentイベントのレート制限を編集", + "edit-agent-events-per-agent-rate-limit": "AgentごとのAgentイベントのレート制限を編集", + "agent-events-rate-limit": "Agentイベント", + "agent-events-per-agent-rate-limit": "AgentごとのAgentイベント", + "edit-agent-log-chunks-rate-limit": "Agentログチャンクのレート制限を編集", + "edit-agent-log-chunks-per-agent-rate-limit": "AgentごとのAgentログチャンクのレート制限を編集", + "agent-log-chunks-rate-limit": "Agentログチャンク", + "agent-log-chunks-per-agent-rate-limit": "AgentごとのAgentログチャンク", + "ai-chat-requests-rate-limit": "AIチャットリクエスト", + "edit-ai-chat-requests-rate-limit": "AIチャットリクエストのレート制限を編集", "messages-per": "次あたりのメッセージ数", "not-set": "未設定", "number-of-messages": "メッセージ数", @@ -8697,7 +9894,7 @@ "edit-intervals-list-hint": "利用可能な間隔オプションのリストを指定できます。", "edit-grouping-intervals-list-hint": "グルーピング間隔リストとデフォルトのグルーピング間隔を設定できます。", "all": "すべて", - "save-current-settings-as-default": "現在の設定を既定の時間ウィンドウとして保存", + "save-current-settings-as-default": "現在の設定をデフォルトの時間ウィンドウとして保存", "hide-option-from-end-users": "エンドユーザーにオプションを表示しない" }, "tooltip": { @@ -9155,6 +10352,7 @@ "cubic-foot-per-minute": "立方フィート毎分", "cubic-meters-per-hour": "立方メートル毎時", "cubic-meters-per-second": "立方メートル毎秒", + "cubic-meters-per-minute": "立方メートル毎分", "liter-per-second": "リットル毎秒", "liter-per-minute": "リットル毎分", "gallons-per-minute": "ガロン毎分", @@ -9391,7 +10589,7 @@ "diff-entity-with-version": "エンティティバージョン '{{versionName}}' と差分を表示", "previous-difference": "前の差分", "next-difference": "次の差分", - "current": "現在のバージョン", + "current": "現行バージョン", "differences": "{ count, plural, =1 {1つの差分} other {#個の差分} }", "create-entities-version": "エンティティバージョンを作成", "default-sync-strategy": "デフォルトの同期戦略", @@ -9417,7 +10615,7 @@ "groups-created": "{ created, plural, =1 {1グループが作成されました} other {#グループが作成されました} }", "groups-updated": "{ updated, plural, =1 {1グループが更新されました} other {#グループが更新されました} }", "groups-deleted": "{ deleted, plural, =1 {1グループが削除されました} other {#グループが削除されました} }", - "remove-other-entities-confirm-text": "ご注意ください!これにより現在のすべてのエンティティが削除され、復元したいバージョンには存在しません。

    確認のため、\"remove other entities\" と入力してください。", + "remove-other-entities-confirm-text": "ご注意ください!これにより、現在のすべてのエンティティのうち、
    復元したいバージョンに存在しないものが完全に削除されます。

    確認のため、\"remove other entities\" と入力してください。", "auto-commit-to-branch": "{{ branch }}ブランチに自動コミット", "default-create-entity-version-name": "{{entityName}} の更新", "sync-strategy-merge-hint": "選択したエンティティをリポジトリに作成または更新します。他のリポジトリエンティティは変更されません。", @@ -9452,7 +10650,7 @@ "info": "情報", "failed": "失敗", "no-tasks-prompt": "タスクが見つかりません", - "parameters": "パラメータ", + "parameters": "パラメーター", "progress": "進捗", "reprocess": "{ count, plural, =0 {再処理} =1 {再処理} other {失敗したエンティティを再処理} }", "retry": "再試行", @@ -9463,14 +10661,14 @@ "status": "ステータス", "successful": "成功", "task-info": "タスク情報", - "task-manager": "タスクマネージャ", - "task-parameters": "タスクパラメータ", + "task-manager": "タスクマネージャー", + "task-parameters": "タスクパラメーター", "task-status": { "cancelled": "キャンセル済み", "completed": "完了", "failed": "失敗", - "pending": "保留", - "queued": "キュー中", + "pending": "保留中", + "queued": "キュー待ち", "running": "実行中" }, "task-type": { @@ -9494,6 +10692,7 @@ "widget-bundle": "ウィジェットバンドル", "all-bundles": "すべてのバンドル", "select-widgets-bundle": "ウィジェットバンドルを選択", + "installed": "インストール済み", "widgets": "ウィジェット", "all-widgets": "すべてのウィジェット", "widget": "ウィジェット", @@ -9502,7 +10701,7 @@ "no-widgets": "ウィジェットはまだありません", "no-widgets-text": "ウィジェットが見つかりません", "management": "ウィジェット管理", - "editor": "ウィジェットエディタ", + "editor": "ウィジェットエディター", "confirm-to-exit-editor-html": "未保存のウィジェット設定があります。
    このページを離れますか?", "widget-type-not-found": "ウィジェットの設定の読み込みに問題があります。
    おそらく関連するウィジェットタイプが削除されました。", "widget-type-load-error": "ウィジェットが以下のエラーにより読み込まれませんでした:", @@ -9512,7 +10711,7 @@ "remove-widget-title": "ウィジェット '{{widgetTitle}}' を削除してもよろしいですか?", "remove-widget-text": "確認後、ウィジェットと関連するすべてのデータは回復できなくなります。", "replace-reference-with-widget-copy": "参照をウィジェットのコピーに置き換える", - "timeseries": "タイムシリーズ", + "timeseries": "時系列", "search-data": "データを検索", "no-data-found": "データが見つかりません", "latest": "最新の値", @@ -9524,6 +10723,11 @@ "rpc-short": "コントロール", "alarm-short": "アラーム", "static-short": "静的", + "type-timeseries": "時系列", + "type-latest": "最新の値", + "type-rpc": "制御", + "type-alarm": "アラーム", + "type-static": "静的", "select-widget-type": "ウィジェットタイプを選択", "missing-widget-title-error": "ウィジェットのタイトルは必須です!", "widget-saved": "ウィジェットが保存されました", @@ -9560,7 +10764,7 @@ "data-key-settings-form-selector": "データキー設定フォームの選択", "latest-data-key-settings-form-selector": "最新のデータキー設定フォームの選択", "all": "すべて", - "actual": "実際", + "actual": "現行", "scada": "SCADAシンボル", "deprecated": "非推奨", "has-basic-mode": "基本モードがあります", @@ -9647,7 +10851,7 @@ "popover-width": "ポップオーバーの幅", "popover-height": "ポップオーバーの高さ", "popover-style": "ポップオーバーのスタイル", - "open-new-browser-tab": "新しいブラウザタブで開く", + "open-new-browser-tab": "新しいブラウザータブで開く", "open-URL": "URLを開く", "URL": "URL", "url-required": "URLは必須です。", @@ -9679,7 +10883,89 @@ "auto": "自動", "wi-fi": "Wi-Fi", "ble": "BLE", - "soft-ap": "Soft AP" + "soft-ap": "Soft AP", + "save-to-entity": "位置情報をエンティティに保存", + "target-panel-title": "ターゲット", + "target-save-to": "保存先", + "target-mode-entity": "エンティティ", + "target-current-entity": "ウィジェットのデータソースのエンティティ", + "target-current-user": "現在のユーザー", + "target-entity-alias": "エンティティエイリアス", + "target-from-attribute": "属性から", + "target-entity-alias-name": "エイリアス名", + "target-entity-alias-name-required": "エイリアス名は必須です。", + "target-attribute-source": "属性の読み取り元", + "target-attribute-key": "サーバー属性キー", + "target-attribute-key-required": "サーバー属性キーは必須です。", + "target-attribute-value-hint": "属性には、両方のフィールドを持つエンティティIDオブジェクトを格納する必要があります。例: {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}。IDのみの文字列は使用できません。", + "location-save-failed": "位置情報の保存に失敗しました: {{error}}", + "start-live-location": "ライブ位置情報の追跡を開始", + "stop-live-location": "ライブ位置情報の追跡を停止", + "accuracy": "精度", + "accuracy-hint": "各位置の精度と、追跡によるバッテリー消費量とのトレードオフです。", + "accuracy-high": "高", + "accuracy-high-hint": "GPSを使用して最も正確な位置(約5 m)を取得します。車両や現場作業員の追跡に最適ですが、バッテリーの消耗が最も早くなります。", + "accuracy-balanced": "バランス", + "accuracy-balanced-hint": "Wi-Fiと基地局を使用し、必要な場合のみGPSに切り替えます。精度は約40 mです。バッテリー消費が中程度で、定期的なチェックインに適したデフォルトです。", + "accuracy-low": "低", + "accuracy-low-hint": "基地局のみを使用します。誤差は約500 m以上です。バッテリー消費を最小限に抑え、長期間にわたり市区町村レベルで所在を把握するのに最適です。", + "live-location-advanced-settings": "詳細設定", + "distance-filter": "移動距離で更新を制限", + "distance-filter-hint": "前回報告された位置からデバイスが少なくともこの距離を移動するまで、更新をスキップします。", + "distance-filter-value": "距離", + "distance-filter-value-min": "距離は1メートル以上である必要があります。", + "distance-filter-value-pattern": "距離は整数である必要があります。", + "distance-filter-value-required": "距離は必須です。", + "interval": "時間間隔で更新を制限", + "interval-hint": "新しい位置の要求はこの間隔より頻繁には行いません。設定しない場合、更新はデバイスが報告するたびに届きます。", + "interval-value": "間隔", + "interval-value-min": "間隔は1秒以上である必要があります。", + "interval-value-required": "間隔は必須です。", + "max-duration": "最大継続時間の経過後に追跡を停止", + "max-duration-hint": "追跡は開始からこの時間が経過すると自動的に停止します。", + "max-duration-value": "継続時間", + "max-duration-value-min": "継続時間は1分以上である必要があります。", + "max-duration-value-required": "継続時間は必須です。" + }, + "location": { + "saved-keys": "エンティティに保存されるキー", + "argument": "引数", + "key-name": "データキー", + "value-type": "タイプ", + "add-key": "キーを追加", + "remove-key": "キーを削除", + "duplicate-key-names": "データキーは一意である必要があります。", + "key-latitude": "緯度", + "key-longitude": "経度", + "key-accuracy": "精度", + "key-altitude": "高度", + "key-speed": "速度", + "key-heading": "方位", + "key-gps-active": "GPS有効", + "key-gps-tracked-by": "GPS追跡ユーザー", + "value-type-attribute": "サーバー属性", + "value-type-timeseries": "時系列", + "error-no-current-entity": "ウィジェットアクションに現在のエンティティがありません。", + "error-no-current-user": "現在のユーザーを特定できません。", + "error-save-failed": "予期しないサーバーエラー", + "error-permission-denied": "権限がありません。", + "error-alias-not-found": "エンティティエイリアス'{{alias}}'がダッシュボードに見つかりません。", + "error-alias-not-resolved": "エンティティエイリアス'{{alias}}'をエンティティに解決できませんでした。", + "error-attribute-not-found": "ソースエンティティに属性'{{key}}'が見つかりません。", + "error-attribute-not-object": "属性'{{key}}'はエンティティIDオブジェクトではありません。entityTypeとidの両方のフィールドが必要です。例: {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}。", + "error-attribute-incomplete": "属性'{{key}}'に、エンティティIDオブジェクトのentityTypeまたはidフィールドがありません。", + "error-attribute-unknown-entity-type": "属性'{{key}}'が不明なエンティティタイプ'{{entityType}}'を参照しています。", + "error-unknown-target-type": "ターゲットエンティティソース'{{type}}'は不明です。" + }, + "save-browser-location": "ブラウザーの位置情報を保存", + "browser-location": { + "location-saved": "ブラウザーの位置情報を保存しました。", + "location-save-failed": "ブラウザーの位置情報の保存に失敗しました: {{error}}", + "error-unsupported": "このブラウザーは位置情報の検出をサポートしていません。", + "error-insecure-context": "ブラウザーの位置情報には安全な(HTTPS)接続が必要です。", + "error-permission-denied": "位置情報の許可が拒否されました。", + "error-position-unavailable": "現在の位置情報を取得できません。", + "error-timeout": "現在の位置情報の取得中にタイムアウトしました。" }, "custom-action-function": "カスタムアクション機能", "custom-pretty-function": "カスタムアクション(HTMLテンプレート付き)機能", @@ -9794,7 +11080,7 @@ "maximum-datasources": "最大{ count, plural, =1 {1つのデータソースのみ許可されています。} other {#件のデータソースが許可されています。} }", "timeseries-key-error": "少なくとも1つの時系列データキーを指定する必要があります", "datasource-type": "タイプ", - "datasource-parameters": "パラメータ", + "datasource-parameters": "パラメーター", "remove-datasource": "データソースを削除", "add-datasource": "データソースを追加", "target-device": "ターゲットデバイス", @@ -9804,6 +11090,26 @@ "add-action": "アクションを追加", "search-actions": "アクションを検索", "no-actions-text": "アクションが見つかりません", + "import-actions": "アクションをインポート", + "export-actions": "アクションをエクスポート", + "export-action": "アクションをエクスポート", + "duplicate-action": "アクションを複製", + "copy-action": "アクションをコピー", + "copy-all-actions": "すべてのアクションをコピー", + "action-copied": "アクションをコピーしました。", + "actions-copied": "アクションをコピーしました。", + "paste-actions": "アクションを貼り付け", + "clear-actions": "すべてのアクションをクリア", + "clear-actions-title": "すべてのアクションをクリア", + "clear-actions-text": "すべてのウィジェットアクションを削除してもよろしいですか?", + "actions-file": "ウィジェットアクションファイル", + "actions-json-content": "アクションのJSONコンテンツ", + "invalid-actions-file-error": "ウィジェットアクションをインポートできません: ウィジェットアクションのデータ構造が無効です。", + "import-actions-imported": "{ count, plural, =0 {アクションはインポートされませんでした} =1 {1 件のアクションがインポートされました} other {# 件のアクションがインポートされました} }", + "paste-actions-pasted": "{ count, plural, =0 {アクションは貼り付けられませんでした} =1 {1 件のアクションが貼り付けられました} other {# 件のアクションが貼り付けられました} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {アクションは複製されませんでした} =1 {1 件のアクションが複製されました} other {# 件のアクションが複製されました} }", + "import-actions-skipped": "{ count, plural, =1 {1 件のアクションは、このウィジェットに適用できないか既に設定済みのため、スキップされました} other {# 件のアクションは、このウィジェットに適用できないか既に設定済みのため、スキップされました} }", + "import-actions-columns-reset": "{ count, plural, =1 {1 件のセルクリックアクションに列が割り当てられていません。アクションを編集して列を割り当ててください。} other {# 件のセルクリックアクションに列が割り当てられていません。アクションを編集して列を割り当ててください。} }", "action-source": "アクションソース", "select-action-source": "アクションソースを選択", "action-source-required": "アクションソースは必須です。", @@ -9851,7 +11157,7 @@ "limits": "制限", "no-data-display-message": "\"表示するデータがありません\" の代替メッセージ", "data-page-size": "データソースごとの最大エンティティ数", - "settings-component-not-found": "セレクタ '{{selector}}' の設定フォームコンポーネントが見つかりません", + "settings-component-not-found": "セレクター '{{selector}}' の設定フォームコンポーネントが見つかりません", "preview": "プレビュー", "set": "設定", "set-message": "メッセージを設定", @@ -9931,21 +11237,130 @@ "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterpriseアカウント認証情報JSONファイル", "select-recaptcha-enterprise-service-account-file": "アカウント認証情報ファイルをドラッグ&ドロップ" }, - "solution-template": { - "solution-template": "ソリューションテンプレート", - "solution-templates": "ソリューションテンプレート", - "management": "ソリューションテンプレートの管理", - "details": "詳細", - "install": "インストール", - "level": "レベル", - "install-title": "ソリューションテンプレートが正常にインストールされました", - "install-failed-title": "ソリューションテンプレートのインストールに失敗しました", - "instructions": "インストラクション", - "goto-main-dashboard": "メインダッシュボードに移動", - "delete": "削除", - "delete-solution-title": "ソリューション '{{solutionTitle}}' を削除してもよろしいですか?", - "delete-solution-text": "確認後、ソリューションと関連データは回復できなくなりますのでご注意ください。", - "installing": "ソリューションテンプレートをインストール中..." + "solution-creator": { + "ai-solution-creator": "AIソリューション作成", + "describe-solution-you-want": "作成したいソリューションを説明してください", + "enter-your-prompt": "プロンプトを入力", + "target": "ターゲット", + "install-solution": "インストール", + "solution-overview": "ソリューションの概要: {{ name }}", + "dashboards-overview": "ダッシュボードの概要: {{ name }}", + "entity-profile": "エンティティプロファイル", + "entity-profiles": "エンティティプロファイル", + "name": "名前", + "iam": "IAM", + "iam-full": "IDおよびアクセス管理", + "table-view": "テーブル", + "schema-view": "スキーマ", + "iam-info": "IAM情報", + "operation": { + "C": "作成", + "R": "読み取り", + "U": "更新", + "D": "削除" + }, + "alarm-info": "アラーム情報", + "description": "説明", + "data": "データ", + "entity-info": "エンティティ情報", + "calculated-field-info": "計算フィールド情報", + "field-type": "フィールドタイプ", + "scope": "スコープ", + "delete-alarm-title": "この提案されたアラームを削除しますか?", + "delete-alarm-text": "説明に基づいて提案されたこのアラームは、提案されたソリューションのビルドに追加されません。
    アラームは後からいつでも手動で編集または再作成できます。この操作は元に戻せません。", + "basic-mode": "基本", + "advanced-mode": "詳細", + "create-solution": "ソリューションを作成", + "go-dashboard-manager": "次へ: ダッシュボード設計", + "success-generate-title": "ソリューションの準備ができました!", + "success-generate-sub-title": "下のボタンをクリックすると、お使いのアカウントにインストールできます。", + "success-generate-install-title": "ソリューションがインストールされました!", + "success-generate-install-sub-title": "ソリューションを編集するには、まず既存のインスタンスをアンインストールしてください。", + "main-title": "こんにちは!AIアシスタントです", + "sub-title": "要件を完全に機能するIoTソリューションに変換するお手伝いをします。\n実現したいことを説明していただければ、残りは私が対応します。", + "solutions": "ソリューション", + "new-solution": "新しいソリューション", + "uninstall-solution": "アンインストール", + "uninstall-solution-dialog-title": "‘{{ name }}’をアンインストールしてもよろしいですか?", + "uninstall-solution-dialog-text": "関連するすべてのエンティティとダッシュボードがアカウントから削除されます", + "uninstall-solution-dialog-confirm": "はい、アンインストールします", + "delete-solution-title": "‘{{ name }}’を削除してもよろしいですか?", + "delete-solution-text": "すべてのデータが失われます", + "delete-solution-confirm": "はい、削除します", + "copy-solution": "ソリューションをコピー", + "expand-sidebar": "サイドバーを展開", + "collapse-sidebar": "サイドバーを折りたたむ", + "solution-id": "ソリューションID", + "solution-id-required": "ソリューションIDは必須です。", + "rename-solution-title": "このソリューションの名前を変更", + "generate-again": "再生成", + "skip-interview": "インタビューをスキップ", + "update-solution": "ソリューションを更新", + "finish-edit": "編集を終了", + "lorawan-tracking": "LoRaWANトラッキング", + "smart-parking": "スマートパーキング", + "weather-monitoring": "気象モニタリング", + "water-metering": "水道検針", + "coffee-machine-monitoring": "コーヒーマシンのモニタリング", + "fleet-geofencing": "車両ジオフェンシング", + "more-examples": "その他の例", + "hide": "非表示", + "solution-info": "ソリューション情報", + "solution-info-with-name": "ソリューション情報: {{ name }}", + "status": "ステータス", + "only-failures": "失敗のみ", + "failed-create-entity": "エンティティの作成に失敗しました", + "failed-install-entity": "エンティティのインストールに失敗しました", + "copy-id": "IDをコピー", + "id-copied-message": "ソリューションIDがクリップボードにコピーされました。", + "credits": "クレジット", + "info": "情報", + "main-dashboard": "メインダッシュボード", + "view-as": "{{ name }}として表示", + "generated-by-calculated-field-name": "計算フィールド‘{{ name }}’によって生成", + "estimate-wait-time": "推定待ち時間は約{{ time }}です。", + "analyzing-your-request": "リクエストを分析しています...", + "condition": "条件", + "installing": "ソリューションをインストールしています...", + "step-architecture-design": "アーキテクチャ設計", + "step-dashboard-design": "ダッシュボード設計", + "step-solution-installation": "ソリューションのインストール", + "step-reading-device-data": "デバイスデータを読み取っています…", + "step-analyzing-telemetry-attributes": "テレメトリと属性を分析しています…", + "step-selecting-widgets": "データに適したウィジェットを選択しています…", + "step-configuring-titles-units-ranges": "タイトル、単位、範囲を設定しています…", + "step-designing-layout": "レイアウトを設計しています…", + "step-arranging-widgets": "ダッシュボードにウィジェットを配置しています…", + "generate-dashboard": "ダッシュボードを生成", + "generate-dashboard-with-ai": "AIでダッシュボードを生成", + "no-telemetry-title": "テレメトリデータが見つかりません", + "no-telemetry-message": "このデバイスはまだテレメトリを送信していません。\nまずデバイスからテレメトリを送信してから、ダッシュボードを生成してください。", + "send-telemetry": "テレメトリを送信", + "step-loading-updating-entities": "エンティティを更新しています…", + "step-loading-restructuring-roles": "ロールを再編成しています…", + "step-loading-rebuilding-alarm-rules": "アラームルールを再構築しています…", + "step-loading-reassembling-dashboards": "ダッシュボードを再構成しています…", + "step-loading-updating-solution": "ソリューションを更新しています…", + "step-loading-designing-dashboards-structure": "ダッシュボードの構成を設計しています…", + "step-loading-designing-dashboards-states": "ダッシュボードの状態を設計しています…", + "step-loading-designing-widgets": "ウィジェットを設計しています…", + "step-loading-adding-finishing-touches": "最終調整を行っています…", + "step-loading-evaluating-solution-changes": "ソリューションの変更を評価しています…", + "step-loading-reevaluating-use-cases": "ユースケースを再評価しています…", + "step-loading-finalizing": "最終処理を行っています…", + "step-loading-creating-entities": "エンティティを作成しています…", + "step-loading-configuring-devices": "デバイスを設定しています…", + "step-loading-setting-up-relations": "リレーションを設定しています…", + "step-loading-structuring-access-controls": "アクセス制御を構成しています…", + "step-loading-building-calculated-fields": "計算フィールドを構築しています…", + "step-loading-building-alarm-rules": "アラームルールを構築しています…", + "step-loading-assembling-dashboards": "ダッシュボードを構成しています…", + "step-loading-preparing-states": "状態を準備しています…", + "step-loading-initializing-solution": "ソリューションを初期化しています…", + "ai-credits": "AIクレジット", + "ai-credits-update": "プランを変更", + "ai-credits-usage": "AIクレジット: {{ used }}/{{ max }}使用済み", + "ai-credits-description": "今月はAIクレジット{{ max }}のうち{{ used }}を使用しました。上限は{{ date }}にリセットされます。AIクレジットの上限を増やすには、システム管理者にお問い合わせください。" }, "markdown": { "edit": "編集", @@ -9962,24 +11377,27 @@ "preview": "プレビュー", "app-title": "アプリケーションタイトル", "favicon": "ウェブサイトアイコン", - "favicon-description": "*.ico, *.gif または *.png 画像、最大サイズ {{kbSize}} Kバイト。", - "favicon-size-error": "ウェブサイト画像が大きすぎます。最大許容ウェブサイト画像サイズは {{kbSize}} Kバイトです。", - "favicon-type-error": "無効なウェブサイト画像ファイル形式です。ICO, GIF, PNG 画像のみが受け入れられます。", - "drop-favicon-image": "ウェブサイトアイコン画像をドラッグ&ドロップするか、クリックしてファイルを選択してください。", - "drop-favicon-image-or": "ウェブサイトアイコン画像をドラッグ&ドロップするか、", - "no-favicon-image": "アイコンが選択されていません", + "favicon-desc": "ブラウザーのタブとブックマークに表示されるアイコンです。PNGまたはICO、32×32 px推奨", "logo": "ロゴ", - "logo-description": "最大サイズ {{kbSize}} Kバイトの画像。", - "logo-size-error": "ロゴ画像が大きすぎます。最大許容ロゴ画像サイズは {{kbSize}} Kバイトです。", - "logo-type-error": "無効なロゴファイル形式です。画像のみが受け入れられます。", - "drop-logo-image": "ロゴ画像をドラッグ&ドロップするか、クリックしてファイルを選択してください。", - "drop-logo-image-or": "ロゴ画像をドラッグ&ドロップするか、", - "no-logo-image": "ロゴが選択されていません", + "logo-desc": "SVGまたはPNG、高さ96px以上、200 KBまで", "logo-height": "ロゴの高さ (px)", + "logo-height-desc": "ロゴの縦横比を保ったまま拡大縮小し、中央に配置します。縦長のロゴの場合は高さを上げてください(最大200px)", + "collapsed-logo": "折りたたみ時のサイドバーロゴ", + "collapsed-logo-desc": "正方形のSVGまたはPNG、48×48 px以上、100 KBまで", + "appearance": "外観", + "application-shell": "アプリケーションシェル", + "application-shell-desc": "サイドバー、アプリケーションバー、ページ見出しへのプライマリカラーの適用方法を選択してください", + "light": "ライト", + "primary": "プライマリ", "primary-palette": "プライマリーパレット", + "primary-palette-desc": "メインのブランドカラー。サイドバー、アプリケーションバー、ページ見出し、ボタン、リンク、アクティブなメニュー項目", "accent-palette": "アクセントパレット", + "accent-palette-desc": "チェックボックス、ラジオボタン、トグル、スライダー、プログレスバー、バッジ", "customize-palette": "カスタマイズ", "advanced-css": "高度なCSS", + "advanced-css-desc": "パレットでは調整できないUI要素(アイコン、フォント、背景、スクロールバーなど)を細かく調整するためのカスタムCSS。変更はプラットフォーム全体に適用されるため、慎重に使用してください。上級ユーザー向け", + "add-custom-css": "カスタムCSSを追加", + "edit-custom-css": "カスタムCSSを編集", "edit-palette": "パレットを編集", "save-palette": "パレットを保存", "primary-background": "プライマリ背景", @@ -9988,19 +11406,26 @@ "hue2": "HUE 2", "hue3": "HUE 3", "page-background-color": "ページの背景色", + "page-background-color-desc": "ページの背後にあるメインコンテンツ領域を塗りつぶします", "dark-foreground": "ダークフォアグラウンド", + "dark-foreground-desc": "ログインページのテキストとアイコンを暗い色にします。明るい背景と組み合わせて使用してください", "domain-name": "ドメイン名", "base-url": "ベースURL", "base-url-required": "ベースURLは必須です", "prohibit-different-url": "クライアントリクエストヘッダーからホスト名の使用を禁止", "prohibit-different-url-hint": "この設定は本番環境で有効にすべきです。無効にするとセキュリティ問題が発生する可能性があります", "help-link-base-url": "ヘルプリンクのベースURL", + "help-link-base-url-desc": "外部ドキュメントポータルのベースURLです。ユーザーは詳細なガイドを参照する際にここへリダイレクトされます", "ui-help-base-url": "UIヘルプのベースURL", + "ui-help-base-url-desc": "システムがアプリケーション内の簡潔なツールチップを動的に取得して表示するために使用するソースリポジトリのURL", "enable-help-links": "ヘルプリンクを有効にする", + "enable-help-links-desc": "プラットフォームのインターフェース全体にコンテキストヘルプアイコン(?)を表示します", "error-verification-url": "ドメイン名には '/' や ':' の記号を含めることはできません。例: thingsboard.io", - "hide-connectivity-dialog": "接続ダイアログを非表示", + "show-connectivity-dialog": "接続ダイアログを表示", + "show-connectivity-dialog-desc": "デバイスの作成後に、接続手順を含むデバイス接続ダイアログを表示します", "override-trendz-add-on-name": "Trendz Analytics アドオン名を上書き", - "override-trendz-add-on-name-hint": "有効にすると、プラットフォーム全体で 'Trendz analytics' は 'Advanced analytics' として表示されます。", + "override-trendz-add-on-name-desc": "プラットフォーム全体で「Trendz」アドオンの名前を「高度な分析」に変更します", + "show-platform-name-version-bottom-left-corner": "左下隅にプラットフォーム名とバージョンを表示", "show-platform-name-version": "プラットフォーム名とバージョンを表示", "platform-name": "プラットフォーム名", "platform-version": "プラットフォームバージョン", @@ -10014,7 +11439,10 @@ "reset-white-label-text": "確認後、すべてのカスタマイズされた設定が失われ、回復できなくなりますのでご注意ください。", "reset-login-white-label-title": "ログインホワイトラベリング設定をデフォルトにリセットしてもよろしいですか?", "reset-login-white-label-text": "確認後、すべてのカスタマイズされた設定が失われ、回復できなくなりますのでご注意ください。", - "app-title-max-length": "アプリケーションタイトルは256文字以内である必要があります" + "app-title-max-length": "アプリケーションタイトルは256文字以内である必要があります", + "logo-and-titles": "ロゴとタイトル", + "interface-options": "インターフェースオプション", + "domain": "ドメイン" }, "widgets": { "mobile-app-qr-code": { @@ -10459,7 +11887,7 @@ "autofill-state-layout": "デフォルトで状態レイアウトの高さを自動入力", "default-margin": "デフォルトのウィジェットマージン", "default-background-color": "デフォルトの背景色", - "sync-parent-state-params": "親ダッシュボードと状態パラメータを同期" + "sync-parent-state-params": "親ダッシュボードと状態パラメーターを同期" }, "date-range-navigator": { "date-range-picker-settings": "日付範囲ピッカー設定", @@ -10549,7 +11977,7 @@ }, "entities-hierarchy": { "hierarchy-data-settings": "階層データ設定", - "relations-query-function": "ノード関係クエリ関数", + "relations-query-function": "ノードリレーションクエリ関数", "has-children-function": "ノードに子がいる関数", "node-state-settings": "ノード状態設定", "node-opened-function": "デフォルトのノード開閉関数", @@ -10567,17 +11995,17 @@ "general-settings": "一般設定", "widget-title": "ウィジェットのタイトル", "default-archive-file-name": "デフォルトのアーカイブファイル名", - "device-type-for-new-gateway": "新しいgatewayのデバイスタイプ", + "device-type-for-new-gateway": "新しいGatewayのデバイスタイプ", "messages-settings": "メッセージ設定", - "save-config-success-message": "正常に保存されたgateway構成についてのテキストメッセージ", + "save-config-success-message": "Gateway設定が正常に保存されたことを示すテキストメッセージ", "device-name-exists-message": "入力した名前のデバイスがすでに存在する場合のテキストメッセージ", "gateway-title": "Gatewayフォーム", "read-only": "読み取り専用", "events-title": "Gatewayイベントフォームタイトル", "events-filter": "イベントフィルター", "event-key-contains": "イベントキーに含まれる...", - "show-connector": "コネクタ用に表示", - "connector-state-param-key": "コネクタ状態パラメーターキー", + "show-connector": "コネクター用に表示", + "connector-state-param-key": "コネクター状態パラメーターキー", "message": "メッセージ", "level": "レベル", "created-time": "作成時間" @@ -10763,7 +12191,7 @@ }, "input-widgets": { "attribute-not-allowed": "このウィジェットでは属性パラメーターは使用できません", - "blocked-location": "ブラウザで位置情報がブロックされています", + "blocked-location": "ブラウザーで位置情報がブロックされています", "claim-device": "デバイスをクレーム", "claim-failed": "デバイスのクレームに失敗しました!", "claim-not-found": "デバイスが見つかりません!", @@ -10787,8 +12215,8 @@ "no-coordinate-specified": "緯度/経度のデータキーが指定されていません", "no-entity-selected": "エンティティが選択されていません", "no-image": "画像がありません", - "no-support-geolocation": "ブラウザは位置情報をサポートしていません", - "no-support-web-camera": "ブラウザはカメラをサポートしていません", + "no-support-geolocation": "ブラウザーは位置情報をサポートしていません", + "no-support-web-camera": "ブラウザーはカメラをサポートしていません", "enable-https-use-widget": "このウィジェットを使用するにはHTTPSを有効にしてください", "no-found-your-camera": "カメラが見つかりません", "no-permission-camera": "ユーザーにより許可が拒否されました / このサイトにはカメラ使用の許可がありません", @@ -10820,12 +12248,12 @@ "claim-device-failed-message": "デバイスクレーム失敗のテキストメッセージ", "claim-device-name-required-message": "'デバイス名は必須' エラーメッセージ", "claim-device-secret-key-required-message": "'シークレットキーは必須' エラーメッセージ", - "relations-settings": "関係設定", + "relations-settings": "リレーション設定", "relate-device-to-state-entity": "デバイスを現在の状態エンティティに関連付け", "relate-direction": "関連方向", "relate-direction-from": "開始", "relate-direction-to": "終了", - "relation-type": "関係タイプ", + "relation-type": "リレーションタイプ", "show-label": "ラベルを表示", "label": "ラベル", "required": "必須", @@ -11000,13 +12428,13 @@ "rpc-id": "RPC ID", "message-type": "メッセージタイプ", "method": "メソッド", - "params": "パラメータ", + "params": "パラメーター", "created-time": "作成時間", "expiration-time": "有効期限", "retries": "再試行回数", "status": "ステータス", "filter": "フィルター", - "refresh": "リフレッシュ", + "refresh": "更新", "add": "RPCリクエストを追加", "details": "詳細", "delete": "削除", @@ -11077,6 +12505,11 @@ "rpc": { "value-settings": "値設定", "initial-value": "初期値", + "initial-value-hint": "最初の値を受信するまでの初期値を定義します。", + "initial-led-state": "LEDの初期状態", + "initial-led-state-hint": "最初の値を受信するまでのLEDの初期状態を定義します。", + "on": "オン", + "off": "オフ", "retrieve-value-settings": "値の取得設定(オン/オフ)", "retrieve-value-method": "値を取得する方法", "retrieve-value-method-none": "取得しない", @@ -11127,7 +12560,7 @@ "perform-rpc-status-check": "RPCデバイスステータス確認を実行", "retrieve-led-status-value-method": "方法を使用してLEDステータス値を取得", "led-status-value-attribute": "LEDステータス値を含むデバイス属性", - "led-status-value-timeseries": "LEDステータス値を含むデバイスタイムシリーズ", + "led-status-value-timeseries": "LEDステータス値を含むデバイスの時系列", "check-status-method": "RPCデバイスステータスメソッド", "parse-led-status-value-function": "LEDステータス値解析関数", "knob-title": "ノブタイトル" @@ -11202,6 +12635,7 @@ "roadmap": "道路地図", "satellite": "衛星", "hybrid": "ハイブリッド", + "webgl-not-available": "選択した地図レイヤーを表示するには、グラフィックアクセラレーションが必要です。ブラウザーの設定で「ハードウェアアクセラレーション」を有効にするか、別のレイヤーに切り替えてください。", "reference": { "reference-layer": "参照レイヤー", "no-layer": "レイヤーなし", @@ -11217,9 +12651,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -11243,7 +12680,18 @@ }, "custom": { "title": "カスタム", - "tile-url": "タイルURL" + "tile-url": "タイルURL", + "style-url": "スタイルURL", + "vector-tiles": "ベクタータイル", + "vector-tiles-hint": "OpenFreeMapやMapTilerなどのプロバイダーのスタイルURLを使用する場合に有効にしてください。", + "attribution": "著作権表示", + "attribution-hint": "地図の下部に表示されます。ほとんどのタイルプロバイダーで必須です。" + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -11540,10 +12988,7 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "認証情報", - "here-app-id": "HEREアプリID", - "here-app-code": "HEREアプリコード", "here-api-key": "HERE APIキー", - "here-use-new-version-api-3": "APIバージョン3を使用", "tencent-maps-api-key": "Tencent Maps APIキー", "tencent-map-type-roadmap": "道路地図", "tencent-map-type-satelite": "衛星", @@ -12033,6 +13478,8 @@ "chart": "チャート", "chart-style": "チャートスタイル", "data-zoom": "データズーム", + "data-zoom-update-timewindow": "ズーム時に時間ウィンドウを更新", + "reset-timewindow": "元の時間ウィンドウに戻す", "stack-mode": "スタックモード", "stack-mode-hint": "チャート上で系列を積み重ねます。同じ単位の系列は互いに重ねて表示されます。", "axes": "軸", @@ -12284,8 +13731,9 @@ "converter-value": "値", "parse-value-function": "値解析関数", "state-when-result-is": "結果が'{{state}}'のとき", - "parameters": "パラメータ", + "parameters": "パラメーター", "convert-value-function": "値変換関数", + "rpc-params-function": "RPCパラメーター関数", "error": { "target-entity-is-not-set": "ターゲットエンティティが設定されていません!", "failed-to-perform-action": "{{ actionLabel }}アクションの実行に失敗しました。", @@ -12371,9 +13819,12 @@ "no-links-matching": "'{{name}}' に一致するリンクは見つかりませんでした。", "columns": "列" }, + "iot-hub": { + "title-text": "コミュニティで実証済みのリソースで、より速く構築できる" + }, "recent-dashboards": { "title": "ダッシュボード", - "last": "最後に表示したもの", + "last": "最近表示", "starred": "お気に入り", "name": "名前", "last-viewed": "最後に表示した日時", @@ -12395,7 +13846,7 @@ "title": "バージョン", "contact-us": "お問い合わせ", "current-version": "現在のバージョン", - "current": "現在", + "current": "現行", "available-version": "利用可能なバージョン", "available": "利用可能", "upgrade": "アップグレード", @@ -12407,6 +13858,7 @@ "license-portal": "ライセンスポータル", "devices-info": "{count} / { max, plural, =0 {∞} other {#} } デバイス", "assets-info": "{count} / { max, plural, =0 {∞} other {#} } アセット", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edge", "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } ダッシュボード", "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } 統合", "community-support": "コミュニティサポート", @@ -12433,8 +13885,7 @@ "roles-and-permissions": "ロール & 権限", "groups": "グループ", "integrations": "統合", - "solution-templates": "ソリューションテンプレート", - "scheduler": "スケジューラ", + "scheduler": "スケジューラー", "white-labeling": "ホワイトラベリング" }, "devices": { @@ -12444,15 +13895,10 @@ "total": "合計" }, "alarms": { - "critical": "クリティカル", - "assigned-to-me": "私に割り当てられた", + "critical": "致命的", + "assigned-to-me": "自分に割り当て", "total": "合計" }, - "solution-templates": { - "title": "ソリューションテンプレート", - "prototype-plan": "プロトタイププラン", - "startup-plan": "スタートアッププラン" - }, "getting-started": { "get-started": "始める", "finish": "終了", @@ -12542,6 +13988,18 @@ } } }, + "html-container": { + "java-script": "JavaScript", + "js-function": "JavaScript関数", + "html": "HTML", + "angular-html-template": "Angular HTMLテンプレート", + "css": "CSS", + "container-type": "コンテナーの種類", + "type-plain": "プレーンHTML", + "type-angular": "Angular", + "resources": "リソース", + "no-resources": "リソースが設定されていません" + }, "api-usage": { "api-usage": "API 使用状況", "label": "ラベル", @@ -12556,7 +14014,7 @@ "no-key": "キーがありません", "delete-key": "キーを削除", "target-dashboard-state": "対象ダッシュボード状態", - "go-to-main-state": "既定ビューに移動" + "go-to-main-state": "デフォルトビューに移動" } }, "icon": { @@ -12564,11 +14022,219 @@ "icons": "アイコン", "custom": "カスタム", "select-icon": "アイコンを選択", - "material-icons": "マテリアルアイコン", + "material-icons": "Material icons", "show-all": "すべてのアイコンを表示", "search-icon": "アイコンを検索", "no-icons-found": "'{{iconSearch}}' のアイコンは見つかりませんでした" }, + "subscription": { + "entity-limit-text": "ただし、サブスクリプションプランをアップグレードして制限を引き上げることができます。", + "upgrade-your-plan": "サブスクリプションプランをアップグレード", + "license-management": "ライセンス管理", + "perpetual-license": "永続ライセンス", + "subscription": "サブスクリプション", + "perpetual": "永続", + "manage-license": "ライセンスを管理", + "updated-ago": "{{ago}}に更新", + "usage-and-limits": "使用量と制限", + "add-ons": "アドオン", + "included": "含まれています", + "not-included": "含まれていません", + "add-to-license": "ライセンスに追加", + "change-key-title": "別のライセンスに移行しますか?", + "change-key-text": "別のライセンスに移行するか、オフラインキーを使用してエアギャップ環境のデプロイメントを有効化します。", + "enter-key": "キーを入力", + "enter-license-key": "ライセンスキーを入力", + "applying-key-text": "キーを適用すると、このデプロイメントのライセンス対象が変わります。", + "keys-issued-text": "キーは{{licensePortal}}で発行されます。任意のデバイスでサインインし、そこからキーをコピーしてください。", + "check-key": "キーを確認", + "checking-key": "このキーを確認しています...", + "current": "現在", + "this-key": "このキー", + "replace-license": "ライセンスを置き換え", + "new-license-applied": "新しいライセンスキーが適用されました。", + "updates-and-support-until": "{{date}}までアップデートとサポートが提供されます。", + "next-charge-and-due-date": "次回の請求は{{date}}に{{total}}で、支払期限は{{dueDate}}です。", + "refresh-license-info": "ライセンス情報を更新", + "non-production-mode": "開発モード — 本番環境以外での使用に限ります", + "non-production-mode-details": "デバイス、アセット、Edgeのクォータは無制限です。ホワイトラベリングは利用できません。このインスタンスを本番環境で使用しないでください。", + "offline-mode": "オフラインモード", + "devices": "デバイス", + "number-of-devices": "{ count, plural, =1 {1 台のデバイス} other {# 台のデバイス} }", + "unlimited-devices": "デバイス数無制限", + "add-devices": "デバイスを追加", + "device-limit-warn": "デバイスが上限の{{ percent }}に達しています。", + "device-limit-critical": "デバイスが上限に達しています。上限が引き上げられるまで、新しいデバイスは登録されません。", + "assets": "アセット", + "add-assets": "アセットを追加", + "prod-instances": "本番インスタンス", + "add-instances": "インスタンスを追加", + "ai-credits": "AIクレジット", + "add-credits": "クレジットを追加", + "white-labeling": "ホワイトラベリング", + "edge": "Edgeコンピューティング", + "edges": "Edge", + "add-edges": "Edgeを追加", + "agents": "Remote Agent", + "add-agents": "Remote Agentを追加", + "trendz": "Trendz Analytics", + "name-addon": "{{name}}アドオン", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { {name}を追加 } other { {name}を追加 } }", + "add-addon-subscription": "{{name}}は有料アドオンで、月額料金が増加します。", + "add-addon-perpetual": "{{name}}は有料アドオンで、このライセンスに対して一度だけ購入します。", + "upgrade-plan-devices": "{{plan}}では、デバイス数の上限はプランに含まれます。", + "upgrade-plan-instances": "{{plan}}では、本番インスタンス数の上限はプランに含まれます。", + "upgrade-plan-credits": "{{plan}}では、毎月のAIクレジットはプランに含まれます。", + "upgrade-plan-edges": "{{plan}}では、Edge数の上限はプランに含まれます。", + "upgrade-plan-agents": "{{plan}}では、Remote Agent数の上限はプランに含まれます。", + "upgrade-plan-white-labeling": "すべての有料プランにホワイトラベリングが含まれます。", + "upgrade-plan-addon": "{{name}}は有料アドオンです。アドオンには有料プランが必要です。", + "ce-grant-case": "購入すると、Community Grantは永続的な商用ライセンスに切り替わります。お支払いいただくのは追加した分のみで、Community Grantですでにカバーされている分は含まれません。", + "pe-pack-case": "Professional Packは一回限りの購入で、Community Grantをお持ちのすべての方に同じ価格で提供されます。", + "ce-grant-white-label": "すでにホワイトラベリングしているものは、Community Grantのもとで引き続き無料です。", + "open-portal-manage-license": "このデプロイメントのライセンスをライセンスポータルで開きます。サインインが必要な場合があります。戻ったら「更新」を押してください。", + "open-portal-upgrade-plan": "ライセンスポータルを開き、プランをご提案します。サインインが必要な場合があります。戻ったら「更新」を押してください。", + "open-portal": "ポータルを開く", + "add-license-item-title": "{{ item }}を{{ action }}するには、ThingsBoardライセンスポータルで{{ package }}を更新する必要があります。", + "action-add": "追加", + "action-enable": "有効化", + "package-subscription": "サブスクリプション", + "package-perpetual": "ライセンスパッケージ", + "go-to-license-portal": "ライセンスポータルへ移動", + "add-license-item-step-first": "ライセンスポータルにリダイレクトします。", + "add-license-item-step-second": "ログインすると、該当する{{ package }}の詳細が自動的に開きます。", + "add-license-item-step-third": "{{ package }}に「{{ item }}」を追加してください。", + "add-license-item-step-fourth": "完了したら、下の「ライセンス情報を更新」をクリックして、{{ package }}をすぐに更新してください。", + "request-feature-sysadmin-text": "システム管理者の方ですか?", + "login-here": "こちらからログイン", + "to-get-addon": "してアドオンを入手してください。", + "request-edge-title": "ネットワークが停止しても、サイトの稼働を維持", + "request-edge-text": "Edgeインスタンスをデプロイして、インフラストラクチャ全体に処理と分析を分散します。主な機能: ", + "edge-card-autonomy-title": "自律性", + "edge-card-autonomy-text": "ネットワーク障害時でもローカルで即座に動作します", + "edge-card-filtering-title": "フィルタリング", + "edge-card-filtering-text": "検証済みの価値あるデータのみを送信し、クラウドのトラフィックとコストを削減します", + "edge-card-latency-title": "レイテンシ", + "edge-card-latency-text": "データをローカルで処理し、リアルタイム制御と迅速な応答を実現します", + "edge-card-security-title": "セキュリティ", + "edge-card-security-text": "OTデバイスとパブリッククラウドの間に安全なバッファーを提供します", + "edge-card-efficiency-title": "効率性", + "edge-card-efficiency-text": "データをソースの近くで正規化・集約し、クラウドの負荷を軽減します", + "request-edge-action-text": "Edge Managementはアドオンとして利用できます。有効にするには、システム管理者にお問い合わせください。", + "request-access": "アクセスをリクエスト", + "requested": "リクエスト済み", + "upgrade-plan": "プランをアップグレード", + "learn-more": "詳細を見る", + "feature-request-sent-title": "{{addonName}}を有効にするための自動リクエストをシステム管理者に送信しました", + "feature-request-sent-text": "システム管理者がリクエストを確認して設定を更新するまで、しばらくお待ちください。変更を反映するには、このページの更新が必要な場合があります。", + "request-trendz-title": "{{name}}でIoTデータセットをインサイトに変換し、意思決定プロセスを簡素化", + "request-trendz-text": "AI駆動の統合ワークスペースで、強力なノーコードIoT分析を活用できます。テレメトリの探索、ロジックの構築、異常の検出、予測の生成を行い、生データを明確で実用的なインサイトに変換します", + "request-trendz-action-text": "{{name}}はアドオンとして利用できます。有効にするには、システム管理者にお問い合わせください。", + "trendz-card-metric-explorer-title": "メトリクスエクスプローラー", + "trendz-card-metric-explorer-text": "ノーコード分析、カスタムメトリクス、即座の視覚的インサイトでテレメトリを詳しく分析", + "trendz-card-anomaly-title": "異常検知", + "trendz-card-anomaly-text": "データ内の異常な挙動を自動的に検出", + "trendz-card-calculation-title": "計算フィールド", + "trendz-card-calculation-text": "ビジネスロジックの定義、テレメトリの変換、新しいメトリクスの作成", + "trendz-card-prediction-title": "予測モデル", + "trendz-card-prediction-text": "組み込みのMLモデルで将来の値を予測し、トレンドを検出", + "trendz-card-views-title": "ビュー", + "trendz-card-views-text": "チームや顧客と共有できる分析ダッシュボードを、すべて1か所で構築できます。", + "trendz-card-ai-assistant-title": "AIアシスタント", + "trendz-card-ai-assistant-text": "自然言語AIを使って、ロジックの生成、数式の調整、メトリクス作成の自動化を行えます。", + "pe-pack": "Professional Pack", + "pe-pack-note": "統合、スケジューラー、レポート、ホワイトラベリング。", + "pe-pack-desc": "Community Grantを拡張し、すべての機能を利用できるようにします。", + "request-pe-pack": "完全なProfessional Packをリクエスト", + "add-pe-pack": "完全なProfessional Packを追加", + "pe-pack-extend-ce": "Community Grantを拡張し、すべての機能を利用できるようにします。", + "sys-admin-pe-pack-note": "システム管理者の方ですか?サインインして、ライセンス管理でProfessional Packを追加してください。", + "pe-pack-requested": "Professional Packをシステム管理者にリクエストしました。", + "white-labeling-promo": "設定ページでロゴ、色、タイトルを設定できます。", + "white-labeling-promo-try": "設定ページでロゴ、色、タイトルを設定できます。開いてお試しください。", + "integrations": "統合", + "integrations-promo": "LoRaWAN、MQTT、Kafka、その他のIoTプラットフォームからデータを取り込みます。", + "scheduler": "スケジューラー", + "scheduler-promo": "スケジュールに従って更新を実行し、ルールチェーンにイベントを送信します。", + "reports": "レポート", + "reports-promo": "テーブル、チャート、独自のブランディングを使ってレポートを作成し、スケジュールに従って送信します。" + }, + "platform-feature": { + "overview": "概要", + "white-labeling": { + "not-in-plan": "ホワイトラベリングはご利用のプランに含まれていません", + "not-in-ce-grant": "ホワイトラベリングはご利用のCommunity Grantに含まれていません。", + "add": "ホワイトラベリングを追加", + "request": "ホワイトラベリングをリクエスト", + "offer-title": "自社のブランド、ログイン画面、メニュー、ラベル", + "offer-with-plan-lede": "ホワイトラベリングはPilotプラン以上で利用できます。ここで設定したすべての内容が、ログインページ、送信するメール、顧客が作業するすべてのページで、ThingsBoardの表示を置き換えます。", + "offer-lede": "ホワイトラベリングを使用すると、ここで設定したすべての内容が、ログインページ、送信するメール、顧客が作業するすべてのページで、ThingsBoardの表示を置き換えます。", + "pack-offer-lede": "ホワイトラベリングは、Community Grantの有料アドオンであるProfessional Packに含まれています。Professional Packを有効にすると、ここで設定したすべての内容が、ログインページ、送信するメール、顧客が作業するすべてのページで、ThingsBoardの表示を置き換えます。", + "sys-admin-wl-note": "システム管理者の方は、サインインしてライセンス管理でホワイトラベリングを追加してください。" + }, + "integrations": { + "not-in-ce-grant": "統合はご利用のCommunity Grantに含まれていません。", + "pack-offer-title": "LoRaWAN、MQTT、Kafka、その他のIoTプラットフォームからデータを取り込む", + "pack-offer-lede": "統合は、Community Grantの有料アドオンであるProfessional Packに含まれています。各統合はLoRaWANネットワークサーバー、MQTTまたはKafkaブローカー、あるいは他のIoTプラットフォームからデータを読み取り、新しいデバイスを自動的に作成して、送信されたデータをテレメトリとして保存します。", + "overview": { + "brokers-and-platforms": "ブローカーとプラットフォーム", + "brokers-and-platforms-desc": "ソースごとに1つの統合を作成し、UIから設定・監視します。", + "data-converters": "データコンバーター", + "data-converters-desc": "デバイスが送信する内容を変更せずに、LoRaWANコーデックを含むデバイス独自のペイロードをスクリプトでデコードします。", + "downlink": "ダウンリンク", + "downlink-desc": "同じ接続を介して、コマンドと設定をデバイスに送り返します。", + "remote-integrations": "リモート統合", + "remote-integrations-desc": "ネットワークのエッジにある自社ホストで実行でき、ThingsBoardとの接続が切断されている間もバッファリングを続けます。" + }, + "dozen-protocols-brokers-and-platforms": "数十種類のプロトコル、ブローカー、プラットフォーム", + "browse-setup-guides-note": "ドキュメントでセットアップガイドをご覧ください。" + }, + "scheduler": { + "not-in-ce-grant": "スケジューラーは、ご利用のCommunity Grantに含まれていません。", + "pack-offer-title": "スケジュールに従って更新を実行し、ルールチェーンにイベントを送信", + "pack-offer-lede": "スケジューラーは、Community Grantの有料アドオンであるProfessional Packに含まれています。ファームウェア更新の実行やルールチェーンへのイベント送信が可能です。各エントリには開始時刻、繰り返しルール、独自のタイムゾーンが設定され、ご自身のシステムが稼働しているかどうかにかかわらず、プラットフォームが実行します。", + "overview": { + "repeats-and-timezones": "繰り返しとタイムゾーン", + "repeats-and-timezones-desc": "1回のみ、毎日、または選択した曜日に毎週実行でき、各イベントはそれぞれ独自のタイムゾーンで処理されます。", + "device-commands": "デバイスコマンド", + "device-commands-desc": "APIトークンを保持するcronジョブなしで、指定した時刻にデバイスへコマンドを送信します。", + "firmware-and-software": "ファームウェアとソフトウェア", + "firmware-and-software-desc": "誰も監視していない時間帯に、OTAパッケージをデバイスまたはグループ全体へ配信します。", + "rule-chain-triggers": "ルールチェーントリガー", + "rule-chain-triggers-desc": "ルールチェーンにメッセージを送信するため、ルールチェーンで可能な処理はすべて無人で実行できます。" + } + }, + "reporting": { + "not-in-ce-grant": "レポートは、ご利用のCommunity Grantに含まれていません。", + "pack-offer-title": "レポートを一度作成すれば、スケジュールされた実行のたびに配信", + "pack-offer-lede": "レポートは、Community Grantの有料アドオンであるProfessional Packに含まれています。テーブル、チャート、テキスト、独自のブランディングを使ってレポートを自由にレイアウトでき、各実行結果はスケジュールどおり、またはアラームの発生時に受信者へ届きます。", + "overview": { + "your-own-layout": "独自のレイアウト", + "your-own-layout-desc": "テーブル、チャート、テキスト、画像をドラッグして配置でき、保存した1つのテンプレートですべての顧客に対応できます。", + "pdf-or-csv": "PDFまたはCSV", + "pdf-or-csv-desc": "チャートを描画した印刷用ドキュメント、または数値が必要な方向けの生データ行。", + "channel": "メール、Slack、Teams、またはSMS", + "channel-desc": "受信者ごとまたはユーザーグループごとにチャネルを選択でき、スケジュールされた各実行はプラットフォームが配信します。", + "attached-to-alarm": "アラームに添付", + "attached-to-alarm-desc": "通知にはレポートが添付されます。レポートはアラームの発生時に、その時点のデータから作成されます。" + } + } + }, + "subscription-error": { + "title": "サブスクリプション違反", + "warning-title": "サブスクリプションの警告", + "upgrade-subscription-plan": "サブスクリプションプランをアップグレードしてください", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}}は{{planName}}プラン以上で利用できます。続行するには、システム管理者にプランのアップグレードを依頼してください。", + "limit-reached": { + "device-count": "サブスクリプションプランで許可されているデバイスの最大数({{value}})に達しました!", + "asset-count": "サブスクリプションプランで許可されているアセットの最大数({{value}})に達しました!", + "edge-count": "サブスクリプションプランで許可されているEdgeインスタンスの最大数({{value}})に達しました!", + "agent-count": "サブスクリプションプランで許可されているRemote Agentの最大数({{value}})に達しました!" + }, + "feature-disabled": { + "white-labeling": "ホワイトラベリング機能はご利用のサブスクリプションプランでは許可されていません!" + } + }, "phone-input": { "phone-input-label": "電話番号", "phone-input-required": "電話番号は必須です", @@ -12660,13 +14326,14 @@ "thingsboard-internal-url-required": "ThingsBoard 内部 URL は必須です", "trendz-analytics": "Trendz analytics", "advanced-analytics": "Advanced analytics", - "trendz-configuration": "Trendz 設定", + "trendz-configuration": "Trendz構成", "trendz-configuration-unsaved-message": "Trendz 設定の変更が保存されていません。
    検出を実行する前に保存しますか?", "trendz-configuration-unsaved-continue-without-saving": "保存せずに続行", "trendz-internal-url": "Trendz 内部 URL", "trendz-internal-url-invalid": "Trendz 内部 URL が無効です", "trendz-internal-url-required": "Trendz 内部 URL は必須です", "trendz-settings": "Trendz 設定", + "trendz": "Trendz", "views": "ビュー", "views-description": "設定済みの可視化グループとレポート", "trendz-synced": "同期が正常に完了しました", From 7cfdf061cf2b2e0d3e380ec948ae7fd7a3ecbfe3 Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Wed, 28 Oct 2026 15:42:33 +0200 Subject: [PATCH 336/559] Merge pull request #16403 from Ultrazombie/locales/nl-4.4 Updated Dutch locale translations for 4.4: missing keys and consistent terminology --- .../assets/locale/locale.constant-nl_NL.json | 3689 ++++++++++++----- 1 file changed, 2678 insertions(+), 1011 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index 621b47ab69..770f1a6819 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -1,14 +1,113 @@ { + "setup": { + "activate-platform": "ThingsBoard activeren", + "initial": { + "welcome": "Welkom bij ThingsBoard {{version}}", + "title": "Vraag je gratis licentie aan en begin met bouwen", + "desc": "Een paar minuten in het License Portal — je maakt een account aan, kiest een licentie en deze instantie activeert zichzelf.", + "open-license-portal": "License Portal openen", + "already-have-license": "Heb je al een licentie?", + "free-no-credit-card": "Voor altijd gratis. Geen creditcard nodig.", + "source-available": "Broncode beschikbaar onder" + }, + "waiting": { + "live-eyebrow": "Wachten op activering", + "title": "Ga verder in het License Portal", + "desc": "Meld je aan of maak een account aan, kies een licentie en accepteer de voorwaarden. Deze instantie activeert zichzelf zodra de licentie is uitgegeven.", + "nothing-opened": "Niets geopend?", + "paste-link-or-scan-qr-code": "Plak de tekstlink op een apparaat met internet of scan de QR-code met een telefoon.", + "text-link": "Tekstlink", + "qr-code": "QR-code", + "qr-code-hint": "Richt de camera van een telefoon op de code en open daarna de link. De telefoon heeft een eigen internetverbinding nodig.", + "have-key": "Heb je een licentiesleutel?", + "activate-key": "Licentie activeren met een sleutel" + }, + "offline": { + "eyebrow": "Offline", + "title": "Activeren vanaf een ander apparaat", + "desc": "Deze server kan het License Portal niet bereiken, dus dit gaat in twee stappen: haal daar je licentie op met een apparaat met internetverbinding en voer dan hier de sleutel in.", + "get-your-license": "Je licentie ophalen in het portal", + "open-link": "Open deze link op een apparaat met internet. Je meldt je aan of maakt een account aan, kiest een licentie en accepteert de voorwaarden. Het portal toont je daarna een licentiesleutel.", + "paste-key": "Plak de sleutel hier", + "no-connected-device": "Nergens een verbonden apparaat?" + }, + "have-key": { + "title": "Licentie activeren met een sleutel", + "enter-license-key": "Voer je licentiesleutel in", + "enter-license-key-note": "Je vindt hem in je License Portal-account: meld je op een willekeurig apparaat aan bij {{hostName}} en kopieer hem daar.", + "no-account": "Geen account en geen verbonden apparaat?", + "contact-support": "Contact opnemen met support" + }, + "key-form": { + "placeholder": "Plak je licentiesleutel", + "invalid": "Deze sleutel is niet geldig voor deze instantie. Controleer of er een teken ontbreekt, of neem contact op met support.", + "activate": "Activeren", + "activating": "Bezig met activeren" + }, + "account": { + "title": "Deze instantie is geactiveerd", + "desc": "Je licentie is opgeslagen op deze server en in je License Portal-account.", + "create-sys-admin-account": "Systeembeheerdersaccount aanmaken", + "create-sys-admin-account-hint": "Hiermee meld je je aan bij deze server — los van het License Portal-account waarin je licentie staat.", + "email-label": "E-mail", + "email-required": "Voer een e-mailadres in.", + "email-invalid": "Voer een geldig e-mailadres in.", + "password-label": "Wachtwoord", + "password-required": "Voer een wachtwoord in.", + "password-min-length": "Het wachtwoord moet minstens 6 tekens bevatten.", + "confirm-label": "Wachtwoord bevestigen", + "confirm-required": "Bevestig je wachtwoord.", + "confirm-mismatch": "Deze wachtwoorden komen niet overeen.", + "demo-tenant-title": "Demotenant instellen", + "demo-tenant-desc": "De snelste manier om het platform in actie te zien. Dashboards, apparaten en regelketens zijn al ingericht, en tenant- en klantgebruikers staan klaar om zich aan te melden. Je kunt het als systeembeheerder ook openen via Tenants.", + "create": "Account aanmaken", + "creating": "Account wordt aangemaakt" + }, + "demo-tenant": { + "signed-in-as": "Je systeembeheerdersaccount is aangemaakt en je bent aangemeld als {{email}}.", + "title": "Wil je de demotenant verkennen?", + "desc": "De basis is al ingesteld — open een dashboard, wijzig een regel of verbind een eigen apparaat.", + "dashboards": "Dashboards — gebouwd op de apparaten hieronder, met de widgetkoppelingen al ingesteld", + "devices": "Apparaten — met hun apparaatprofielen en alarmregels; er zijn nog geen gegevens verzonden", + "rule-chains": "Regelketens — waar over die alarmen wordt beslist", + "explore": "Demotenant verkennen", + "not-now": "Niet nu", + "not-now-hint": "Met \"Niet nu\" ga je naar het systeembeheer.", + "signing-in-later": "Later aanmelden", + "demo-tenant-hint": "De eigen beheerder van de tenant. Als systeembeheerder kun je de tenant ook zonder wachtwoord openen via Tenants." + }, + "non-production": { + "eyebrow": "Herbevestiging vereist", + "title": "Bevestig dat deze implementatie nog steeds niet voor productie wordt gebruikt.", + "desc": "Deze instantie draait op een gratis niet-productielicentie die periodiek opnieuw door een systeembeheerder wordt bevestigd. Bevestigen heeft geen invloed op je gegevens, gebruikers of apparaatconnectiviteit.", + "confirm": "Bevestigen", + "confirming": "Wordt bevestigd", + "sysadmin-required": "Alleen een systeembeheerder kan dit bevestigen.", + "login-as-sysadmin": "Inloggen als systeembeheerder", + "state-verify-failed": "Bevestigd, maar de status kon niet worden geverifieerd. Vernieuw de pagina.", + "state-not-updated": "Deze instantie meldt de bevestiging nog steeds als openstaand. Vernieuw de pagina en bevestig opnieuw." + }, + "errors": { + "signin-failed": "Account aangemaakt, maar automatisch aanmelden is mislukt. Vernieuw de pagina en meld je handmatig aan.", + "state-not-updated": "De installatie is voltooid, maar de status is niet bijgewerkt. Vernieuw de pagina.", + "state-verify-failed": "De installatie is voltooid, maar de status kon niet worden geverifieerd. Vernieuw de pagina.", + "no-sign-up-url": "Deze instantie antwoordde zonder link, dus er is niets om te openen.", + "link-expired": "Die link is verlopen. Open het License Portal opnieuw om een nieuwe link te krijgen.", + "activated-state-verify-failed": "Deze instantie heeft een licentie, maar de volgende stap kon nog niet worden gelezen. We blijven het proberen — je kunt de pagina ook vernieuwen.", + "no-connection": "Geen verbinding met de server. Probeer het later opnieuw.", + "request-failed": "Het verzoek is mislukt. Probeer het opnieuw." + } + }, "access": { "unauthorized": "Ongeautoriseerd", "unauthorized-access": "Ongeautoriseerde toegang", - "unauthorized-access-text": "U moet inloggen om toegang tot deze bron te krijgen!", + "unauthorized-access-text": "Je moet je aanmelden om toegang tot deze bron te krijgen!", "access-forbidden": "Toegang verboden", - "access-forbidden-text": "U heeft geen toegangsrechten tot deze locatie!
    Probeer in te loggen met een andere gebruiker als u nog steeds toegang wilt krijgen tot deze locatie.", + "access-forbidden-text": "Je hebt geen toegangsrechten tot deze locatie!
    Probeer je aan te melden met een andere gebruiker als je nog steeds toegang wilt krijgen tot deze locatie.", "refresh-token-expired": "Sessie is verlopen", "refresh-token-failed": "Kan sessie niet vernieuwen", "permission-denied": "Toestemming geweigerd", - "permission-denied-text": "U heeft geen toestemming om deze handeling uit te voeren!" + "permission-denied-text": "Je hebt geen toestemming om deze handeling uit te voeren!" }, "account": { "account": "Account", @@ -31,7 +130,7 @@ "search": "Zoeken", "clear-search": "Zoekopdracht wissen", "assign": "Toewijzen", - "unassign": "Toewijzing ongedaan maken", + "unassign": "Toewijzing intrekken", "share": "Delen", "make-private": "Privé maken", "make-public": "Openbaar maken", @@ -45,7 +144,7 @@ "close": "Sluiten", "back": "Terug", "run": "Uitvoeren", - "sign-in": "Inloggen!", + "sign-in": "Aanmelden!", "edit": "Bewerken", "view": "Bekijken", "create": "Aanmaken", @@ -53,6 +152,7 @@ "refresh": "Vernieuwen", "undo": "Ongedaan maken", "copy": "Kopiëren", + "copied": "Gekopieerd", "paste": "Plakken", "copy-reference": "Referentie kopiëren", "paste-reference": "Referentie plakken", @@ -80,6 +180,7 @@ "reset-default": "Terugzetten naar standaard", "show-more": "Meer weergeven", "dont-show-again": "Niet opnieuw weergeven", + "dont-show-this-again": "Niet meer weergeven", "see-documentation": "Bekijk documentatie", "see-debug-events": "Debuggebeurtenissen bekijken", "clear": "Wissen", @@ -89,7 +190,9 @@ "set": "Instellen", "duplicate": "Dupliceren", "disable": "Uitschakelen", - "enable": "Inschakelen" + "enable": "Inschakelen", + "rename": "Naam wijzigen", + "retry": "Opnieuw proberen" }, "aggregation": { "aggregation": "Aggregatie", @@ -105,6 +208,7 @@ }, "admin": { "settings": "Instellingen", + "platform": "Platform", "general": "Algemeen", "general-settings": "Algemene instellingen", "home-settings": "Startpagina-instellingen", @@ -135,23 +239,23 @@ "port-range": "Poort moet tussen 1 en 65535 liggen." }, "mail-from": "Afzenderadres", - "mail-from-required": "Afzenderadres is vereist.", + "mail-from-required": "Afzenderadres is verplicht.", "smtp-protocol": "SMTP-protocol", "smtp-host": "SMTP-host", - "smtp-host-required": "SMTP-host is vereist.", + "smtp-host-required": "SMTP-host is verplicht.", "smtp-port": "SMTP-poort", - "smtp-port-required": "U moet een SMTP-poort opgeven.", + "smtp-port-required": "Je moet een SMTP-poort opgeven.", "smtp-port-invalid": "Dat lijkt geen geldige SMTP-poort te zijn.", "timeout-msec": "Timeout (msec)", - "timeout-required": "Timeout is vereist.", + "timeout-required": "Timeout is verplicht.", "timeout-invalid": "Dat lijkt geen geldige timeout te zijn.", "enable-tls": "TLS inschakelen", "tls-version": "TLS-versie", "enable-proxy": "Proxy inschakelen", "proxy-host": "Proxy-host", - "proxy-host-required": "Proxy-host is vereist.", + "proxy-host-required": "Proxy-host is verplicht.", "proxy-port": "Proxy-poort", - "proxy-port-required": "Proxy-poort is vereist.", + "proxy-port-required": "Proxy-poort is verplicht.", "proxy-port-range": "Proxy-poort moet liggen tussen 1 en 65535.", "proxy-user": "Proxy-gebruiker", "proxy-password": "Proxy-wachtwoord", @@ -232,7 +336,7 @@ "force-reset-password-if-no-valid-hint": "Wees voorzichtig met deze functie: gebruikers met een ongeldig wachtwoord moeten hun wachtwoord via e-mail opnieuw instellen.", "general-policy": "Algemeen beleid", "max-failed-login-attempts": "Maximaal aantal mislukte inlogpogingen voordat account wordt vergrendeld", - "minimum-max-failed-login-attempts-range": "Maximum aantal mislukte pogingen mag niet negatief zijn", + "minimum-max-failed-login-attempts-range": "Maximaal aantal mislukte pogingen mag niet negatief zijn", "user-lockout-notification-email": "Stuur e-mailmelding bij accountvergrendeling", "user-activation-token-ttl": "Levensduur activatielink gebruiker in uren", "user-activation-token-ttl-range": "Levensduur activatielink moet tussen 1 en 24 uur liggen", @@ -263,9 +367,9 @@ "clients": "OAuth 2.0-clients", "no-oauth2-clients": "Geen OAuth 2.0-clients gevonden", "search-oauth2-clients": "Zoek OAuth 2.0-clients", - "delete-client-title": "Weet u zeker dat u de OAuth 2.0-client '{{clientName}}' wilt verwijderen?", + "delete-client-title": "Weet je zeker dat je de OAuth 2.0-client '{{clientName}}' wilt verwijderen?", "delete-client-text": "Let op: na bevestiging worden de client en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-mobile-app-title": "Weet u zeker dat u de mobiele applicatie '{{applicationName}}' wilt verwijderen?", + "delete-mobile-app-title": "Weet je zeker dat je de mobiele applicatie '{{applicationName}}' wilt verwijderen?", "delete-mobile-app-text": "Let op: na bevestiging worden de mobiele applicatie en alle gerelateerde gegevens onherstelbaar verwijderd.", "title": "Titel", "client-title-required": "Titel is verplicht", @@ -288,16 +392,16 @@ "client-secret-required": "Clientgeheim is verplicht.", "client-secret-max-length": "Clientgeheim mag maximaal 2049 tekens bevatten", "custom-setting": "Aangepaste instellingen", - "customer-name-pattern": "Naam patroon klant", - "customer-name-pattern-max-length": "Naam patroon klant mag maximaal 256 tekens bevatten", - "parent-customer-name-pattern": "Naam patroon bovenliggende klant", - "user-groups-name-pattern": "Naam patroon gebruikersgroepen", + "customer-name-pattern": "Patroon voor klantnaam", + "customer-name-pattern-max-length": "Patroon voor klantnaam mag maximaal 256 tekens bevatten", + "parent-customer-name-pattern": "Patroon voor naam van bovenliggende klant", + "user-groups-name-pattern": "Patroon voor namen van gebruikersgroepen", "default-dashboard-name": "Standaard dashboardnaam", "default-dashboard-name-max-length": "Standaard dashboardnaam mag maximaal 256 tekens bevatten", "delete-domain-text": "Let op: na bevestiging worden het domein en alle providergegevens ontoegankelijk.", - "delete-domain-title": "Weet u zeker dat u het domein '{{domainName}}' wilt verwijderen?", + "delete-domain-title": "Weet je zeker dat je het domein '{{domainName}}' wilt verwijderen?", "delete-registration-text": "Let op: na bevestiging worden de gegevens van de provider ontoegankelijk.", - "delete-registration-title": "Weet u zeker dat u de provider '{{name}}' wilt verwijderen?", + "delete-registration-title": "Weet je zeker dat je de provider '{{name}}' wilt verwijderen?", "email-attribute-key": "Attribuutsleutel e-mailadres", "email-attribute-key-required": "Attribuutsleutel e-mailadres is verplicht.", "email-attribute-key-max-length": "Attribuutsleutel e-mailadres mag maximaal 32 tekens bevatten", @@ -323,9 +427,9 @@ "registration-id-unique": "Registratie-ID moet uniek zijn binnen het systeem.", "scope": "Scope", "scope-required": "Scope is verplicht.", - "tenant-name-pattern": "Naam patroon tenant", - "tenant-name-pattern-required": "Naam patroon tenant is verplicht.", - "tenant-name-pattern-max-length": "Naam patroon tenant mag maximaal 256 tekens bevatten", + "tenant-name-pattern": "Patroon voor tenantnaam", + "tenant-name-pattern-required": "Patroon voor tenantnaam is verplicht.", + "tenant-name-pattern-max-length": "Patroon voor tenantnaam mag maximaal 256 tekens bevatten", "tenant-name-strategy": "Naamstrategie tenant", "type": "Mappertype", "uri-pattern-error": "Ongeldig URI-formaat.", @@ -351,7 +455,7 @@ "mobile-apps": "Mobiele applicaties", "mobile-package": "Applicatiepakket", "mobile-package-placeholder": "Bijv.: my.example.app", - "mobile-package-hint": "Voor Android: uw unieke Applicatie-ID. Voor iOS: Product bundle identifier.", + "mobile-package-hint": "Voor Android: je eigen unieke applicatie-ID. Voor iOS: de Product Bundle Identifier.", "mobile-package-unique": "Applicatiepakket moet uniek zijn.", "mobile-package-required": "Applicatiepakket is verplicht.", "mobile-package-max-length": "Applicatiepakket mag maximaal 256 tekens bevatten", @@ -444,7 +548,7 @@ "scheme-smsc": "0 - SMSC Standaardalfabet (ASCII voor korte/lange code en GSM voor gratis nummers)", "scheme-ia5": "1 - IA5 (ASCII voor korte/lange code, Latin 9 voor gratis nummers (ISO-8859-9))", "scheme-octet-unspecified-2": "2 - Octet Ongespecificeerd (8-bit binair)", - "scheme-latin-1": "3 - Latijn 1 (ISO-8859-1)", + "scheme-latin-1": "3 - Latin 1 (ISO-8859-1)", "scheme-octet-unspecified-4": "4 - Octet Ongespecificeerd (8-bit binair)", "scheme-jis": "5 - JIS (X 0208-1990)", "scheme-cyrillic": "6 - Cyrillisch (ISO-8859-5)", @@ -484,17 +588,17 @@ "change-passphrase": "Wachtwoordzin wijzigen", "check-access": "Toegang controleren", "check-repository-access-success": "Toegang tot repository is succesvol geverifieerd!", - "delete-repository-settings-title": "Weet u zeker dat u de repository-instellingen wilt verwijderen?", + "delete-repository-settings-title": "Weet je zeker dat je de repository-instellingen wilt verwijderen?", "delete-repository-settings-text": "Let op: na bevestiging worden de instellingen verwijderd en is versiebeheer niet meer beschikbaar.", "auto-commit-settings": "Instellingen automatisch vastleggen", "auto-commit": "Automatisch vastleggen", "auto-commit-entities": "Entiteiten voor automatisch vastleggen", "no-auto-commit-entities-prompt": "Geen entiteiten geconfigureerd voor automatisch vastleggen", - "delete-auto-commit-settings-title": "Weet u zeker dat u de instellingen voor automatisch vastleggen wilt verwijderen?", + "delete-auto-commit-settings-title": "Weet je zeker dat je de instellingen voor automatisch vastleggen wilt verwijderen?", "delete-auto-commit-settings-text": "Let op: na bevestiging worden de instellingen verwijderd en wordt automatisch vastleggen voor alle entiteiten uitgeschakeld.", "mobile-app": { "mobile-app": "Mobiele app", - "mobile-app-qr-code-widget-settings": "Mobiele app QR-code widget instellingen", + "mobile-app-qr-code-widget-settings": "Instellingen voor QR-codewidget van mobiele app", "applications": "Applicaties", "default": "Standaard", "custom": "Aangepast", @@ -576,8 +680,8 @@ "info-message": "Wijziging van de JWT-ondertekeningssleutel maakt alle uitgegeven tokens ongeldig. Alle gebruikers moeten opnieuw inloggen. Dit heeft ook invloed op scripts die gebruikmaken van de REST API/Websockets." }, "resources": "Bronnen", - "notifications": "Notificaties", - "notifications-settings": "Notificatie-instellingen", + "notifications": "Meldingen", + "notifications-settings": "Meldingsinstellingen", "slack-api-token": "Slack API-token", "slack": "Slack", "slack-settings": "Slack-instellingen", @@ -589,7 +693,7 @@ "ai-assistant": { "configure-with-ai": "Configureren met AI", "follow-up-prompt-placeholder": "Antwoord...", - "sub-title": "Ik kan u helpen bij het instellen en beheren van uw apparaten, dashboards, berekende velden, alarmregels en meldingen — beschrijf gewoon wat u nodig hebt en ik regel de rest.", + "sub-title": "Ik kan je helpen bij het instellen en beheren van je apparaten, dashboards, berekende velden, alarmregels en meldingen — beschrijf gewoon wat je nodig hebt en ik regel de rest.", "new-chat": "Nieuwe chat", "no-chats": "Nog geen chats", "today": "Vandaag", @@ -601,6 +705,7 @@ "delete-chat-confirm": "Ja, verwijderen", "action-approval-required": "Goedkeuring voor actie vereist", "approve": "Goedkeuren", + "approve-all": "Alle verdere acties goedkeuren", "deny": "Weigeren", "processing": "Bezig met verwerken...", "approved": "Gereed", @@ -608,6 +713,7 @@ "error": "Mislukt", "thinking": "Aan het nadenken...", "rename-chat-title": "Deze chat hernoemen", + "export-chat": "Chat exporteren", "main-title": "Hallo! Ik ben je AI-assistent" }, "alarm": { @@ -626,24 +732,24 @@ "search-status": { "ANY": "Elke", "ACTIVE": "Actief", - "CLEARED": "Gezuiverd", + "CLEARED": "Opgeheven", "ACK": "Bevestigd", "UNACK": "Niet bevestigd" }, "display-status": { "ACTIVE_UNACK": "Actief niet bevestigd", "ACTIVE_ACK": "Actief bevestigd", - "CLEARED_UNACK": "Gezuiverd niet bevestigd", - "CLEARED_ACK": "Gezuiverd bevestigd" + "CLEARED_UNACK": "Opgeheven, niet bevestigd", + "CLEARED_ACK": "Opgeheven, bevestigd" }, "no-alarms-prompt": "Geen alarmen gevonden", "created-time": "Aangemaakt op", "type": "Type", "severity": "Ernst", - "originator": "Oorsprong", - "originator-type": "Type oorsprong", + "originator": "Afzender", + "originator-type": "Type afzender", "details": "Details", - "originator-label": "Label oorsprong", + "originator-label": "Label afzender", "assign": "Toewijzen", "assignments": "Toewijzingen", "assignee": "Toegewezen aan", @@ -660,46 +766,46 @@ "assign-time": "Toewijzingstijd", "end-time": "Eindtijd", "ack-time": "Bevestigingstijd", - "clear-time": "Zuiveringstijd", + "clear-time": "Opgeheven op", "duration": "Duur", "alarm-severity": "Alarmernst", "alarm-severity-list": "Lijst van alarmernst", "any-severity": "Elke ernst", "severity-critical": "Kritiek", - "severity-major": "Groot", - "severity-minor": "Klein", + "severity-major": "Belangrijk", + "severity-minor": "Minder belangrijk", "severity-warning": "Waarschuwing", "severity-indeterminate": "Onbepaald", "acknowledge": "Bevestigen", - "clear": "Zuiveren", + "clear": "Opheffen", "delete": "Verwijderen", "search": "Alarmen zoeken", "selected-alarms": "{ count, plural, =1 {1 alarm} other {# alarmen} } geselecteerd", "no-data": "Geen gegevens om weer te geven", "polling-interval": "Poll-interval voor alarmen (sec)", - "polling-interval-required": "Poll-interval voor alarmen is vereist.", + "polling-interval-required": "Poll-interval voor alarmen is verplicht.", "min-polling-interval-message": "Minimaal 1 seconde poll-interval is toegestaan.", - "aknowledge-alarms-title": "Erken { count, plural, =1 {1 alarm} other {# alarmen} }", - "aknowledge-alarms-text": "Weet u zeker dat u { count, plural, =1 {1 alarm} other {# alarmen} } wilt erkennen?", - "aknowledge-alarm-title": "Alarm erkennen", - "aknowledge-alarm-text": "Weet u zeker dat u dit alarm wilt erkennen?", - "selected-alarms-are-acknowledged": "Geselecteerde alarmen zijn al erkend", - "clear-alarms-title": "Wis { count, plural, =1 {1 alarm} other {# alarmen} }", - "clear-alarms-text": "Weet u zeker dat u { count, plural, =1 {1 alarm} other {# alarmen} } wilt wissen?", - "clear-alarm-title": "Alarm wissen", - "clear-alarm-text": "Weet u zeker dat u dit alarm wilt wissen?", + "aknowledge-alarms-title": "{ count, plural, =1 {1 alarm bevestigen} other {# alarmen bevestigen} }", + "aknowledge-alarms-text": "Weet je zeker dat je { count, plural, =1 {1 alarm} other {# alarmen} } wilt bevestigen?", + "aknowledge-alarm-title": "Alarm bevestigen", + "aknowledge-alarm-text": "Weet je zeker dat je dit alarm wilt bevestigen?", + "selected-alarms-are-acknowledged": "Geselecteerde alarmen zijn al bevestigd", + "clear-alarms-title": "{ count, plural, =1 {1 alarm opheffen} other {# alarmen opheffen} }", + "clear-alarms-text": "Weet je zeker dat je { count, plural, =1 {1 alarm} other {# alarmen} } wilt opheffen?", + "clear-alarm-title": "Alarm opheffen", + "clear-alarm-text": "Weet je zeker dat je dit alarm wilt opheffen?", "delete-alarms-title": "Verwijder { count, plural, =1 {1 alarm} other {# alarmen} }", - "delete-alarms-text": "Weet u zeker dat u { count, plural, =1 {1 alarm} other {# alarmen} } wilt verwijderen?", + "delete-alarms-text": "Weet je zeker dat je { count, plural, =1 {1 alarm} other {# alarmen} } wilt verwijderen?", "selected-alarms-are-cleared": "Geselecteerde alarmen zijn al gewist", "alarm-status-filter": "Alarmstatusfilter", "alarm-filter-title": "Alarmfilter", "assigned": "Toegewezen", "filter-title": "Filter", "max-count-load": "Maximaal aantal te laden alarmen (0 - onbeperkt)", - "max-count-load-required": "Maximaal aantal te laden alarmen is vereist.", + "max-count-load-required": "Maximaal aantal te laden alarmen is verplicht.", "max-count-load-error-min": "Minimale waarde is 0.", "fetch-size": "Ophaalgrootte", - "fetch-size-required": "Ophaalgrootte is vereist.", + "fetch-size-required": "Ophaalgrootte is verplicht.", "fetch-size-error-min": "Minimale waarde is 10.", "alarm-types": "Alarmtypen", "alarm-type-list": "Lijst met alarmtypen", @@ -716,7 +822,7 @@ "alarm-type-list-empty": "Geen alarmtypen geselecteerd.", "system-comments": { "acked-by-user": "Alarm is bevestigd door gebruiker {{userName}}", - "cleared-by-user": "Alarm is beëindigd door gebruiker {{userName}}", + "cleared-by-user": "Alarm is opgeheven door gebruiker {{userName}}", "assigned-to-user": "Alarm is toegewezen door gebruiker {{userName}} aan gebruiker {{assigneeName}}", "unassigned-to-user": "Alarmtoewijzing is verwijderd door gebruiker {{userName}}", "unassigned-from-deleted-user": "Alarmtoewijzing is verwijderd omdat gebruiker {{userName}} - is verwijderd", @@ -728,7 +834,7 @@ "add": "Voeg een opmerking toe...", "alarm-comment": "Alarmopmerking", "comments": "Opmerkingen", - "delete-alarm-comment": "Wilt u deze opmerking verwijderen?", + "delete-alarm-comment": "Wil je deze opmerking verwijderen?", "refresh": "Vernieuwen", "oldest-first": "Oudste eerst", "newest-first": "Nieuwste eerst", @@ -744,7 +850,7 @@ "add": "Alias toevoegen", "edit": "Alias bewerken", "name": "Aliasnaam", - "name-required": "Aliasnaam is vereist", + "name-required": "Aliasnaam is verplicht", "duplicate-alias": "Er bestaat al een alias met dezelfde naam.", "filter-type-single-entity": "Enkele entiteit", "filter-type-entity-group": "Groep entiteiten", @@ -772,9 +878,9 @@ "filter-type-device-type": "Apparaattype", "filter-type-device-type-description": "Apparaten van het type '{{deviceTypes}}'", "filter-type-device-type-and-name-description": "Apparaten van het type '{{deviceTypes}}' met naam die begint met '{{prefix}}'", - "filter-type-entity-view-type": "Type entiteitsoverzicht", - "filter-type-entity-view-type-description": "Entiteitsoverzichten van het type '{{entityViewTypes}}'", - "filter-type-entity-view-type-and-name-description": "Entiteitsoverzichten van het type '{{entityViewTypes}}' met naam die begint met '{{prefix}}'", + "filter-type-entity-view-type": "Type entiteitsweergave", + "filter-type-entity-view-type-description": "Entiteitsweergaven van het type '{{entityViewTypes}}'", + "filter-type-entity-view-type-and-name-description": "Entiteitsweergaven van het type '{{entityViewTypes}}' en met een naam die begint met '{{prefix}}'", "filter-type-edge-type": "Edge-type", "filter-type-edge-type-description": "Edges van het type '{{edgeTypes}}'", "filter-type-edge-type-and-name-description": "Edges van het type '{{edgeTypes}}' met naam die begint met '{{prefix}}'", @@ -790,14 +896,14 @@ "filter-type-asset-search-query-description": "Assets met typen {{assetTypes}} die een {{relationType}}-relatie {{direction}} {{rootEntity}} hebben", "filter-type-device-search-query": "Apparaat zoekquery", "filter-type-device-search-query-description": "Apparaten met typen {{deviceTypes}} die een {{relationType}}-relatie {{direction}} {{rootEntity}} hebben", - "filter-type-entity-view-search-query": "Entiteitsoverzicht zoekquery", - "filter-type-entity-view-search-query-description": "Entiteitsoverzichten met typen {{entityViewTypes}} die een {{relationType}}-relatie {{direction}} {{rootEntity}} hebben", + "filter-type-entity-view-search-query": "Zoekquery voor entiteitsweergaven", + "filter-type-entity-view-search-query-description": "Entiteitsweergaven met typen {{entityViewTypes}} die een {{relationType}}-relatie {{direction}} {{rootEntity}} hebben", "filter-type-apiUsageState": "API-gebruiksstatus", "entity-filter": "Entiteitfilter", "resolve-multiple": "Oplossen als meerdere entiteiten", "resolve-multiple-hint": "Schakel in om gegevens van alle gefilterde entiteiten gelijktijdig weer te geven.\nIndien uitgeschakeld, toont de widget alleen gegevens van de geselecteerde entiteit.", "filter-type": "Filtertype", - "filter-type-required": "Filtertype is vereist.", + "filter-type-required": "Filtertype is verplicht.", "entity-filter-no-entity-matched": "Geen entiteiten gevonden die overeenkomen met het opgegeven filter.", "no-entity-filter-specified": "Geen entiteitfilter gespecificeerd", "root-state-entity": "Gebruik dashboardstatusentiteit als root", @@ -823,17 +929,17 @@ "max-relation-level": "Maximaal relatieniveau", "unlimited-level": "Ongelimiteerd niveau", "state-entity": "Dashboardstatusentiteit", - "originator-entity": "Initiërende entiteit", + "originator-entity": "Afzenderentiteit", "master-report-entity": "Hoofdrapportentiteit", "entities-of-group-state-entity": "Entiteiten van dashboardstatusgroep", "entities-of-group-originator-entity": "Entiteiten van initiërende entiteitengroep", "entities-of-group-master-report-entity": "Entiteiten van hoofdrapportentiteitengroep", "all-entities": "Alle entiteiten", "any-relation": "elke", - "originator": "Initiator", - "originator-state-entity": "Gebruik dashboardstatusentiteit als initiator", - "originator-from-originator-entity": "Gebruik initiërende entiteit als gebeurtenisinitiator", - "originator-master-report-entity": "Gebruik entiteit uit hoofdrapport als initiator", + "originator": "Afzender", + "originator-state-entity": "Gebruik dashboardstatusentiteit als afzender", + "originator-from-originator-entity": "Gebruik afzenderentiteit als afzender van de gebeurtenis", + "originator-master-report-entity": "Gebruik entiteit uit hoofdrapport als afzender", "scheduler-event-type": "Plannertype gebeurtenis" }, "asset": { @@ -849,14 +955,14 @@ "asset-type-max-length": "Assettype mag maximaal 256 tekens bevatten", "assign-to-customer": "Toewijzen aan klant", "assign-asset-to-customer": "Asset(s) aan klant toewijzen", - "assign-asset-to-customer-text": "Selecteer de assets die u aan de klant wilt toewijzen", + "assign-asset-to-customer-text": "Selecteer de assets die je aan de klant wilt toewijzen", "no-assets-text": "Geen assets gevonden", - "assign-to-customer-text": "Selecteer de klant waaraan u de asset(s) wilt toewijzen", + "assign-to-customer-text": "Selecteer de klant aan wie je de asset(s) wilt toewijzen", "public": "Openbaar", "assignedToCustomer": "Toegewezen aan klant", "make-public": "Asset openbaar maken", "make-private": "Asset privé maken", - "unassign-from-customer": "Toewijzing aan klant ongedaan maken", + "unassign-from-customer": "Toewijzing aan klant intrekken", "delete": "Asset verwijderen", "asset-public": "Asset is openbaar", "asset-type": "Assettype", @@ -872,7 +978,7 @@ "name-max-length": "Naam mag maximaal 256 tekens bevatten", "label-max-length": "Label mag maximaal 256 tekens bevatten", "description": "Beschrijving", - "description-required": "Beschrijving is vereist.", + "description-required": "Beschrijving is verplicht.", "type": "Type", "type-required": "Type is verplicht.", "details": "Details", @@ -882,25 +988,25 @@ "assign-assets": "Assets toewijzen", "assign-assets-text": "{ count, plural, =1 {1 asset} other {# assets} } aan klant toewijzen", "assign-asset-to-edge-title": "Asset(s) toewijzen aan Edge", - "assign-asset-to-edge-text": "Selecteer de assets die u aan de Edge wilt toewijzen", + "assign-asset-to-edge-text": "Selecteer de assets die je aan de Edge wilt toewijzen", "delete-assets": "Assets verwijderen", "unassign-assets": "Assets ongedaan maken", "unassign-assets-action-title": "{ count, plural, =1 {1 asset} other {# assets} } toewijzing aan klant ongedaan maken", "assign-new-asset": "Nieuwe asset toewijzen", - "delete-asset-title": "Weet u zeker dat u de asset '{{assetName}}' wilt verwijderen?", + "delete-asset-title": "Weet je zeker dat je de asset '{{assetName}}' wilt verwijderen?", "delete-asset-text": "Let op: na bevestiging worden de asset en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-assets-title": "Weet u zeker dat u { count, plural, =1 {1 asset} other {# assets} } wilt verwijderen?", + "delete-assets-title": "Weet je zeker dat je { count, plural, =1 {1 asset} other {# assets} } wilt verwijderen?", "delete-assets-action-title": "{ count, plural, =1 {1 asset verwijderen} other {# assets verwijderen} }", "delete-assets-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde assets en alle gerelateerde gegevens onherstelbaar verwijderd.", - "make-public-asset-title": "Weet u zeker dat u de asset '{{assetName}}' openbaar wilt maken?", + "make-public-asset-title": "Weet je zeker dat je de asset '{{assetName}}' openbaar wilt maken?", "make-public-asset-text": "Na bevestiging wordt de asset en alle bijbehorende gegevens openbaar en toegankelijk voor anderen.", - "make-private-asset-title": "Weet u zeker dat u de asset '{{assetName}}' privé wilt maken?", + "make-private-asset-title": "Weet je zeker dat je de asset '{{assetName}}' privé wilt maken?", "make-private-asset-text": "Na bevestiging wordt de asset privé en niet meer toegankelijk voor anderen.", - "unassign-asset-title": "Weet u zeker dat u de asset '{{assetName}}' wilt ontkoppelen?", - "unassign-asset-text": "Na bevestiging wordt de asset ontkoppeld en is deze niet meer toegankelijk voor de klant.", + "unassign-asset-title": "Weet je zeker dat je de toewijzing van de asset '{{assetName}}' wilt intrekken?", + "unassign-asset-text": "Na bevestiging is de asset niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", "unassign-asset": "Asset ontkoppelen", - "unassign-assets-title": "Weet u zeker dat u { count, plural, =1 {1 asset} other {# assets} } wilt onttrekken?", - "unassign-assets-text": "Na bevestiging worden alle geselecteerde assets ontkoppeld en zijn niet meer toegankelijk voor de klant.", + "unassign-assets-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {1 asset} other {# assets} } wilt intrekken?", + "unassign-assets-text": "Na bevestiging zijn alle geselecteerde assets niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", "copyId": "Asset-ID kopiëren", "idCopiedMessage": "Asset-ID is gekopieerd naar klembord", "select-asset": "Selecteer asset", @@ -911,7 +1017,7 @@ "search": "Assets zoeken", "select-group-to-add": "Selecteer bestemmingsgroep om geselecteerde assets toe te voegen", "select-group-to-move": "Selecteer bestemmingsgroep om geselecteerde assets te verplaatsen", - "remove-assets-from-group": "Weet u zeker dat u { count, plural, =1 {1 asset} other {# assets} } uit groep '{{entityGroup}}' wilt verwijderen?", + "remove-assets-from-group": "Weet je zeker dat je { count, plural, =1 {1 asset} other {# assets} } uit groep '{{entityGroup}}' wilt verwijderen?", "group": "Assetgroep", "list-of-groups": "{ count, plural, =1 {Eén assetgroep} other {Lijst van # assetgroepen} }", "group-name-starts-with": "Assetgroepen waarvan de naam begint met '{{prefix}}'", @@ -920,10 +1026,10 @@ "label": "Label", "assign-asset-to-edge": "Asset(s) toewijzen aan Edge", "unassign-asset-from-edge": "Asset ontkoppelen", - "unassign-asset-from-edge-title": "Weet u zeker dat u de asset '{{assetName}}' wilt ontkoppelen van Edge?", - "unassign-asset-from-edge-text": "Na bevestiging wordt de asset ontkoppeld en niet meer toegankelijk voor de Edge.", - "unassign-assets-from-edge-title": "Weet u zeker dat u { count, plural, =1 {1 asset} other {# assets} } wilt ontkoppelen?", - "unassign-assets-from-edge-text": "Na bevestiging worden alle geselecteerde assets ontkoppeld en zijn ze niet meer toegankelijk voor de Edge.", + "unassign-asset-from-edge-title": "Weet je zeker dat je de toewijzing van de asset '{{assetName}}' wilt intrekken?", + "unassign-asset-from-edge-text": "Na bevestiging is de asset niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", + "unassign-assets-from-edge-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {1 asset} other {# assets} } wilt intrekken?", + "unassign-assets-from-edge-text": "Na bevestiging zijn alle geselecteerde assets niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", "selected-assets": "{ count, plural, =1 {1 asset} other {# assets} } geselecteerd" }, "attribute": { @@ -951,7 +1057,7 @@ "value-required": "Attribuutwaarde is verplicht.", "telemetry-key-required": "Telemetriesleutel is verplicht", "telemetry-value-required": "Telemetriewaarde is verplicht", - "delete-attributes-title": "Weet u zeker dat u { count, plural, =1 {1 attribuut} other {# attributen} } wilt verwijderen?", + "delete-attributes-title": "Weet je zeker dat je { count, plural, =1 {1 attribuut} other {# attributen} } wilt verwijderen?", "delete-attributes-text": "Let op: na bevestiging worden alle geselecteerde attributen verwijderd.", "delete-attributes": "Attributen verwijderen", "enter-attribute-value": "Voer attribuutwaarde in", @@ -961,6 +1067,7 @@ "prev-widget": "Vorige widget", "add-to-dashboard": "Toevoegen aan dashboard", "add-widget-to-dashboard": "Widget aan dashboard toevoegen", + "no-widget-grid-in-dashboard": "Alle toestanden van dit dashboard zijn HTML-pagina's, dus de widget kan er niet aan worden toegevoegd.", "selected-attributes": "{ count, plural, =1 {1 attribuut} other {# attributen} } geselecteerd", "selected-telemetry": "{ count, plural, =1 {1 telemetrie-eenheid} other {# telemetrie-eenheden} } geselecteerd", "no-attributes-text": "Geen attributen gevonden", @@ -1022,14 +1129,14 @@ "permanent-timeouts": "${entityName} Permanente time-outs", "processing-failures": "${entityName} Verwerkingsfouten", "processing-timeouts": "${entityName} Verwerking time-outs", - "rule-chain": "Rule chain", + "rule-chain": "Regelketen", "rule-engine": "Rule Engine", "rule-engine-executions": "Rule Engine-uitvoeringen", "rule-engine-hourly-activity": "Uurlijkse activiteit Rule Engine", "rule-engine-daily-activity": "Dagelijkse activiteit Rule Engine", "rule-engine-monthly-activity": "Maandelijkse activiteit Rule Engine", "rule-engine-statistics": "Rule Engine-statistieken", - "rule-node": "Rule node", + "rule-node": "Regelnode", "sms": "SMS", "sms-messages": "SMS-berichten", "sms-messages-hourly-activity": "SMS-berichten: uurlijkse activiteit", @@ -1046,7 +1153,7 @@ "transport-msg-daily-activity": "Transportberichten: dagelijkse activiteit", "transport-msg-monthly-activity": "Transportberichten: maandelijkse activiteit", "transport-daily-activity": "Dagelijkse activiteit transport", - "transport-data-points": "Transport datapunten", + "transport-data-points": "Transportdatapunten", "transport-data-points-hourly-activity": "Transportdatapunten: uurlijkse activiteit", "transport-data-points-daily-activity": "Transportdatapunten: dagelijkse activiteit", "transport-data-points-monthly-activity": "Transportdatapunten: maandelijkse activiteit", @@ -1079,7 +1186,11 @@ "reports-created": "Aangemaakte rapporten", "reports-created-hourly-activity": "Aangemaakte rapporten: uurlijkse activiteit", "reports-created-daily-activity": "Aangemaakte rapporten: dagelijkse activiteit", - "reports-created-monthly-activity": "Aangemaakte rapporten: maandelijkse activiteit" + "reports-created-monthly-activity": "Aangemaakte rapporten: maandelijkse activiteit", + "ai-credits": "AI-credits", + "ai-credits-hourly-activity": "Activiteit van AI-credits per uur", + "ai-credits-daily-activity": "Activiteit van AI-credits per dag", + "ai-credits-monthly-activity": "Activiteit van AI-credits per maand" }, "api-limit": { "cassandra-write-queries-core": "Rest API Cassandra schrijfbewerkingen", @@ -1092,8 +1203,8 @@ "entity-version-load": "Laden van entiteitsversie", "integration-messages": "Integratieberichten", "integration-messages-per-device": "Integratieberichten per apparaat", - "notification-requests": "Notificatieverzoeken", - "notification-requests-per-rule": "Notificatieverzoeken per regel", + "notification-requests": "Meldingsverzoeken", + "notification-requests-per-rule": "Meldingsverzoeken per regel", "reports-generation": "Generatie van rapporten", "rest-api-requests": "REST API-verzoeken", "rest-api-requests-per-customer": "REST API-verzoeken per klant", @@ -1110,9 +1221,9 @@ "api-key": { "api-key": "API-sleutel", "api-keys": "API-sleutels", - "delete-api-key-title": "Weet u zeker dat u de API-sleutel '{{name}}' wilt verwijderen?", + "delete-api-key-title": "Weet je zeker dat je de API-sleutel '{{name}}' wilt verwijderen?", "delete-api-key-text": "Let op: na bevestiging kan de sleutel niet meer worden hersteld.", - "delete-api-keys-title": "Weet u zeker dat u { count, plural, =1 {1 API-sleutel} other {# API-sleutels} } wilt verwijderen?", + "delete-api-keys-title": "Weet je zeker dat je { count, plural, =1 {1 API-sleutel} other {# API-sleutels} } wilt verwijderen?", "delete-api-keys-text": "Let op: na bevestiging kunnen alle geselecteerde sleutels niet meer worden hersteld.", "expiration-date": "Vervaldatum", "date": "datum", @@ -1127,9 +1238,9 @@ "generate-title": "API-sleutel genereren", "generate-text": "Opmerking: de API-sleutel erft de machtigingen van de gebruiker waarvoor deze is aangemaakt.", "generated-api-key-title": "API-sleutel gegenereerd. Laten we de connectiviteit controleren!", - "generated-api-key-copy": "Zorg ervoor dat u uw API-sleutel nu kopieert en opslaat, want u kunt deze niet opnieuw bekijken.", - "generated-api-key-command": "Gebruik de volgende instructies om de connectiviteit te controleren. Als resultaat zou u de huidige gebruikersinformatie moeten ontvangen:", - "generated-api-key-insecure-url": "Het uitvoeren van opdrachten via een onveilige HTTP-verbinding verzendt uw API-sleutel onversleuteld, waardoor deze kwetsbaar is voor onderschepping.", + "generated-api-key-copy": "Zorg ervoor dat je je API-sleutel nu kopieert en opslaat, want je kunt deze niet opnieuw bekijken.", + "generated-api-key-command": "Gebruik de volgende instructies om de connectiviteit te controleren. Als resultaat zou je de huidige gebruikersinformatie moeten ontvangen:", + "generated-api-key-insecure-url": "Het uitvoeren van opdrachten via een onveilige HTTP-verbinding verzendt je API-sleutel onversleuteld, waardoor deze kwetsbaar is voor onderschepping.", "list": "{ count, plural, =1 {Eén API-sleutel} other {Lijst met # API-sleutels} }", "manage": "Beheren", "manage-api-keys": "API-sleutels beheren", @@ -1159,9 +1270,9 @@ "type-rpc-call": "RPC-aanroep", "type-credentials-updated": "Inloggegevens bijgewerkt", "type-assigned-to-customer": "Toegewezen aan klant", - "type-unassigned-from-customer": "Ontkoppeld van klant", + "type-unassigned-from-customer": "Toewijzing aan klant ingetrokken", "type-assigned-to-edge": "Toegewezen aan Edge", - "type-unassigned-from-edge": "Ontkoppeld van Edge", + "type-unassigned-from-edge": "Toewijzing aan Edge ingetrokken", "type-activated": "Geactiveerd", "type-suspended": "Opgeschort", "type-credentials-read": "Inloggegevens gelezen", @@ -1172,7 +1283,7 @@ "type-relation-delete": "Relatie verwijderd", "type-relations-delete": "Alle relaties verwijderd", "type-alarm-ack": "Alarm bevestigd", - "type-alarm-clear": "Alarm gewist", + "type-alarm-clear": "Alarm opgeheven", "type-alarm-delete": "Alarm verwijderd", "type-alarm-assign": "Alarm toegewezen", "type-alarm-unassign": "Alarm ontkoppeld", @@ -1201,10 +1312,12 @@ "type-timeseries-deleted": "Telemetrie verwijderd", "type-owner-changed": "Eigenaar gewijzigd", "type-sms-sent": "SMS verzonden", + "type-non-production-confirmed": "Niet-productiegebruik bevestigd", "any-type": "Alle typen", "audit-log-filter-title": "Auditlogfilter", "filter-title": "Filter", - "filter-types": "Auditlogtypen" + "filter-types": "Auditlogtypen", + "action": "Actie" }, "debug-settings": { "label": "Debugconfiguratie", @@ -1222,7 +1335,7 @@ "ai-assistant-example-suggest-fields-label": "Berekende velden voorstellen", "ai-assistant-example-suggest-fields-message": "Bekijk mijn apparaten en stel berekende velden voor die de moeite waard zijn om in te stellen.", "ai-assistant-example-aggregate-label": "Telemetrie aggregeren", - "ai-assistant-example-aggregate-message": "Kies een van mijn apparaten en stel een berekend veld in dat enkele van zijn telemetriesleutels aggregeert. Beschrijf wat u gaat maken en vraag mij eerst om bevestiging.", + "ai-assistant-example-aggregate-message": "Kies een van mijn apparaten en stel een berekend veld in dat enkele van zijn telemetriesleutels aggregeert. Beschrijf wat je gaat maken en vraag mij eerst om bevestiging.", "expression": "Expressie", "no-found": "Geen berekende velden gevonden", "list": "{ count, plural, =1 {Eén berekend veld} other {Lijst van # berekende velden} }", @@ -1275,7 +1388,7 @@ "shared-attributes": "Gedeelde attributen", "attribute-key": "Attribuutsleutel", "default-value": "Standaardwaarde", - "default-value-required": "Standaardwaarde is vereist.", + "default-value-required": "Standaardwaarde is verplicht.", "limit": "Maximale waarden", "time-window": "Tijdsvenster", "customer-name": "Klantnaam", @@ -1290,9 +1403,9 @@ "export": "Berekend veld exporteren", "export-failed-error": "Kan berekend veld niet exporteren: {{error}}", "output-type": "Uitvoertype", - "delete-title": "Weet u zeker dat u het berekend veld '{{title}}' wilt verwijderen?", + "delete-title": "Weet je zeker dat je het berekende veld '{{title}}' wilt verwijderen?", "delete-text": "Let op: na bevestiging worden het berekend veld en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-multiple-title": "Weet u zeker dat u { count, plural, =1 {1 berekend veld} other {# berekende velden} } wilt verwijderen?", + "delete-multiple-title": "Weet je zeker dat je { count, plural, =1 {1 berekend veld} other {# berekende velden} } wilt verwijderen?", "delete-multiple-text": "Let op: na bevestiging worden alle geselecteerde berekende velden verwijderd en zijn de gegevens onherstelbaar.", "test-with-this-message": "Test met dit bericht", "use-latest-timestamp": "Gebruik laatste tijdstempel", @@ -1311,9 +1424,9 @@ "tasks-failed-reprocess": "{{ error }} van {{ total }} entiteiten zijn niet succesvol herberekend", "entity-coordinates": "Entiteitscoördinaten", "latitude-time-series-key": "Tijdreeksleutel voor breedtegraad", - "latitude-time-series-key-required": "Tijdreeksleutel voor breedtegraad is vereist.", + "latitude-time-series-key-required": "Tijdreeksleutel voor breedtegraad is verplicht.", "longitude-time-series-key": "Tijdreeksleutel voor lengtegraad", - "longitude-time-series-key-required": "Tijdreeksleutel voor lengtegraad is vereist.", + "longitude-time-series-key-required": "Tijdreeksleutel voor lengtegraad is verplicht.", "geofencing-zone-groups": "Geofencingzonegroepen", "geofencing-zone-groups-settings": "Instellingen voor geofencingzonegroepen", "target-zone": "Doelzone", @@ -1326,7 +1439,7 @@ "report-presence-status-only": "Alleen aanwezigheidsstatus", "report-transition-event-and-presence": "Aanwezigheidsstatus en overgangsgebeurtenissen", "perimeter-attribute-key": "Perimeterattribuutsleutel", - "perimeter-attribute-key-required": "Perimeterattribuutsleutel is vereist.", + "perimeter-attribute-key-required": "Perimeterattribuutsleutel is verplicht.", "perimeter-attribute-key-pattern": "Perimeterattribuutsleutel is ongeldig.", "entity-zone-relationship": "Pad van entiteit naar zones", "direction": "Relatierichting", @@ -1363,7 +1476,7 @@ "deduplication-interval": "Deduplicatie-interval", "deduplication-interval-min": "Deduplicatie-interval moet ten minste {{ sec }} seconden zijn.", "deduplication-interval-hint": "Minimale tijd tussen telemetrie-aggregaties.", - "deduplication-interval-required": "Deduplicatie-interval is vereist.", + "deduplication-interval-required": "Deduplicatie-interval is verplicht.", "calculated-field-filter-title": "Filter voor berekend veld", "filter-title": "Filter", "calculated-field-types": "Typen berekend veld", @@ -1373,7 +1486,7 @@ "metrics": "Metrieken", "metrics-empty": "Er moet ten minste één metriek zijn geconfigureerd.", "metric-name": "Metrieknaam", - "metric-name-required": "Metrieknaam is vereist.", + "metric-name-required": "Metrieknaam is verplicht.", "metric-name-pattern": "Metrieknaam is ongeldig.", "metric-name-duplicate": "Er bestaat al een metriek met deze naam.", "metric-name-max-length": "Metrieknaam moet korter zijn dan 256 tekens.", @@ -1413,16 +1526,16 @@ "send-web-sockets": "Verzenden naar WebSockets", "save-calculated-fields": "Verzenden naar Berekende velden", "update-attribute-only-on-value-change": "Attribuut alleen bij waardewijziging bijwerken", - "send-attributes-updated-notification": "'Attributes Updated'-notificatie verzenden", + "send-attributes-updated-notification": "'Attributes Updated'-melding verzenden", "ttl": "Aangepaste TTL", - "ttl-required": "TTL is vereist", + "ttl-required": "TTL is verplicht", "ttl-min": "Alleen een minimale TTL van 0 is toegestaan", "processing-parameters": "Verwerkingsparameters", "hint": { "strategy": "Bepaalt of het resultaat onmiddellijk wordt verwerkt of naar een regelketen wordt verzonden voor aanvullende verwerking.", "processing-options": "Verwerkingsopties", "update-attribute-only-on-value-change": "Werkt het attribuut bij bij elk binnenkomend bericht, ongeacht of de waarde is gewijzigd. Dit verhoogt het API-gebruik en verlaagt de prestaties.", - "update-attribute-only-on-value-change-enabled": "Werkt het attribuut alleen bij wanneer de waarde wijzigt. Als de waarde ongewijzigd is, worden tijdstempels niet bijgewerkt en worden er geen notificaties verzonden.", + "update-attribute-only-on-value-change-enabled": "Werkt het attribuut alleen bij wanneer de waarde wijzigt. Als de waarde ongewijzigd is, worden tijdstempels niet bijgewerkt en worden er geen meldingen verzonden.", "send-attributes-updated-notification": "Verzendt een 'Attributes Updated'-gebeurtenis naar de standaardregelketen.", "save-time-series": "Slaat tijdreeksgegevens op in de ts_kv-tabel in de database.", "save-database": "Slaat attribuutgegevens op in de database.", @@ -1436,7 +1549,7 @@ }, "aggregate-interval-type": "Aggregatieintervaltype", "aggregate-interval-value": "Aggregatieintervalwaarde", - "aggregate-interval-value-required": "Aggregatieintervalwaarde is vereist.", + "aggregate-interval-value-required": "Aggregatie-intervalwaarde is verplicht.", "aggregate-interval-value-min": "Aggregatieintervalwaarde moet ten minste { sec, plural, =0 {0 seconde} =1 {1 seconde} other {# seconden} } zijn.", "aggregate-interval-value-step-multiple-of": "Aggregatieintervalwaarde moet een deler of veelvoud van 1 dag zijn.", "aggregate-period": { @@ -1449,8 +1562,8 @@ "year": "Jaar", "custom": "Aangepast" }, - "aggregate-period-hint-offset": "Uw aggregatieinterval is: {{ interval }}", - "aggregate-period-hint-offset-and-so-on": "Uw aggregatieinterval is: {{ interval }} en zo verder.", + "aggregate-period-hint-offset": "Je aggregatie-interval is: {{ interval }}", + "aggregate-period-hint-offset-and-so-on": "Je aggregatie-interval is: {{ interval }} en zo verder.", "entity-aggregation": { "argument-hint": "Gegevens worden opgehaald van de huidige entiteit.", "argument-title-hint": "Bepaalt de invoerargumenten die voor aggregatie worden gebruikt.", @@ -1460,13 +1573,13 @@ "apply-offset": "Offset toepassen op aggregatieinterval", "apply-offset-hint": "Bepaalt hoeveel het begin van elke aggregatieperiode wordt verschoven (bijv. +10 minuten - 00:10, 01:10).", "offset-value": "Offsetwaarde", - "offset-value-required": "Offsetwaarde is vereist.", + "offset-value-required": "Offsetwaarde is verplicht.", "offset-value-min": "Offsetwaarde moet een positief geheel getal zijn.", "offset-value-max": "Offsetwaarde moet kleiner zijn dan de waarde van het aggregatieinterval.", "wait-delay": "Wachttime-out toepassen voor vertraagde telemetrie", "wait-delay-hint": "Bepaalt hoe lang er na het einde van het interval op vertraagde telemetrie wordt gewacht. Als dergelijke telemetrie binnenkomt, wordt het resultaat voor dat interval opnieuw berekend.", "duration": "Duur", - "duration-required": "Duur is vereist.", + "duration-required": "Duur is verplicht.", "duration-min": "Duur moet minimaal 1 minuut zijn.", "duration-hint": "Hoelang er wordt gewacht op vertraagde gegevens nadat het interval is afgelopen.", "produce-intermediate-result": "Tussenresultaat genereren", @@ -1475,30 +1588,30 @@ "hint": { "arguments-simple-with-rolling": "Een berekend veld van het type Eenvoudig mag geen sleutels bevatten met het type 'Time series rolling'.", "arguments-propagate-arguments-with-rolling": "Het type 'Time series rolling' is niet compatibel met propagatie van 'Arguments only'.", - "arguments-propagate-argument-entity-type": "Entiteittype is niet compatibel met propagatie van 'Arguments only'.", + "arguments-propagate-argument-entity-type": "Entiteitstype is niet compatibel met de propagatie 'Alleen argumenten'.", "arguments-propagate-argument-must-current-entity": "Ten minste één argument moet zijn geconfigureerd met het bronentiteittype 'Current entity'.", "arguments-empty": "Er moet ten minste één argument worden opgegeven.", - "expression-required": "Expressie is vereist.", + "expression-required": "Expressie is verplicht.", "expression-invalid": "Expressie is ongeldig", "expression-max-length": "De lengte van de expressie moet minder dan 255 tekens zijn.", - "argument-name-required": "Argumentnaam is vereist.", + "argument-name-required": "Argumentnaam is verplicht.", "argument-name-pattern": "Argumentnaam is ongeldig.", "argument-name-duplicate": "Een argument met deze naam bestaat al.", "argument-name-max-length": "Argumentnaam mag niet langer zijn dan 256 tekens.", "argument-name-forbidden": "Deze argumentnaam is gereserveerd en mag niet worden gebruikt.", - "output-key-required": "Uitvoersleutel is vereist.", + "output-key-required": "Uitvoersleutel is verplicht.", "output-key-pattern": "Uitvoersleutel is ongeldig.", "output-key-duplicate": "Er bestaat al een sleutel met deze naam.", "output-key-max-length": "Uitvoersleutel moet korter zijn dan 256 tekens.", "output-key-forbidden": "Uitvoersleutel is gereserveerd en kan niet worden gebruikt.", - "entity-type-required": "Entiteittype is vereist", - "name-required": "Naam is vereist.", + "entity-type-required": "Entiteitstype is verplicht", + "name-required": "Naam is verplicht.", "name-pattern": "Naam is ongeldig.", "name-duplicate": "Er bestaat al een item met deze naam.", "name-max-length": "Naam moet korter zijn dan 256 tekens.", "name-forbidden": "Naam is gereserveerd en kan niet worden gebruikt.", - "argument-type-required": "Argumenttype is vereist.", - "max-args": "Maximum aantal argumenten bereikt.", + "argument-type-required": "Argumenttype is verplicht.", + "max-args": "Maximaal aantal argumenten bereikt.", "decimals-range": "Het aantal decimalen moet een getal zijn tussen 0 en 15.", "expression": "Standaardexpressie toont hoe temperatuur van Fahrenheit naar Celsius wordt omgerekend.", "arguments-entity-not-found": "Doelentiteit van het argument niet gevonden.", @@ -1509,15 +1622,15 @@ "perimeter-attribute-key": "Stel de attribuutsleutel in die de perimeterdefinitie van de geofencingzone bevat. De perimeter wordt altijd genomen uit server-side-attributen van de zone-entiteit.", "report-strategy": "Aanwezigheidsstatus rapporteert of de entiteit zich momenteel BINNEN of BUITEN de zonegroep bevindt. Overgangsgebeurtenissen rapporteren wanneer de entiteit de zonegroep BETRAD of VERLIET.", "create-relation-with-matched-zones": "Maak automatisch relaties aan en onderhoud deze tussen de entiteit en de zones waarin deze zich momenteel bevindt. Relaties worden verwijderd wanneer de entiteit een zone verlaat en aangemaakt wanneer deze een nieuwe zone binnenkomt.", - "relation-type-required": "Relatietype is vereist.", - "relation-level-required": "Relatieniveau is vereist.", + "relation-type-required": "Relatietype is verplicht.", + "relation-level-required": "Relatieniveau is verplicht.", "relation-level-min": "Minimale waarde voor relatieniveau is 1.", "relation-level-max": "Maximale waarde voor relatieniveau is {{max}}.", "geofencing-empty": "Er moet ten minste één zonegroep zijn geconfigureerd.", "geofencing-entity-not-found": "Geofencingdoelentiteit niet gevonden.", "max-geofencing-zone": "Maximumaantal geofencingzones bereikt.", "zone-group-refresh-interval": "Bepaalt hoe vaak zonegroepen die via gerelateerde entiteiten zijn geconfigureerd, worden vernieuwd.", - "zone-group-refresh-interval-required": "Vernieuwingsinterval voor zonegroepen is vereist.", + "zone-group-refresh-interval-required": "Vernieuwingsinterval voor zonegroepen is verplicht.", "zone-group-refresh-interval-min": "Vernieuwingsinterval voor zonegroepen moet ten minste {{ min }} seconden zijn.", "propagation-path-related-entities": "Definieert een direct pad op één niveau naar een gerelateerde entiteit op basis van de geselecteerde richting en het relatietype. Alleen relaties tussen apparaat-, asset-, klant- en tenantentiteiten worden ondersteund. Het maximumaantal entiteiten dat via het relatiepad wordt opgelost is {{ max }}.", "data-propagate": "Bepaalt de gegevens die moeten worden gepropageerd vanuit de hieronder geconfigureerde argumenten. 'Alleen argumenten' gebruikt de opgehaalde gegevens rechtstreeks, terwijl 'Berekeningsresultaat' een nieuwe waarde berekent op basis van die gegevens.", @@ -1532,7 +1645,7 @@ "simple-arguments": "Rekenkundige expressie die bepaalt hoe de berekende waarde wordt berekend.", "script-arguments": "Bepaalt de invoerargumenten die beschikbaar zijn voor het script." }, - "ai-assistant-initial-prompt-placeholder": "Beschrijf wat u wilt instellen..." + "ai-assistant-initial-prompt-placeholder": "Beschrijf wat je wilt instellen..." }, "alarm-rule": { "ai-assistant-example-suggest-rules-label": "Alarmregels voorstellen", @@ -1546,9 +1659,9 @@ "alarm-rules-actual": "Actueel", "severities": "Ernstniveaus", "cleared": "Beëindigingsvoorwaarde", - "delete-title": "Weet u zeker dat u de alarmregel '{{title}}' wilt verwijderen?", + "delete-title": "Weet je zeker dat je de alarmregel '{{title}}' wilt verwijderen?", "delete-text": "Let op: na bevestiging kunnen de alarmregel en alle gerelateerde gegevens niet meer worden hersteld.", - "delete-multiple-title": "Weet u zeker dat u { count, plural, =1 {1 alarmregel} other {# alarmregels} } wilt verwijderen?", + "delete-multiple-title": "Weet je zeker dat je { count, plural, =1 {1 alarmregel} other {# alarmregels} } wilt verwijderen?", "delete-multiple-text": "Let op: na bevestiging worden alle geselecteerde alarmregels verwijderd en kunnen alle gerelateerde gegevens niet meer worden hersteld.", "create": "Nieuwe alarmregel maken", "add": "Alarmregel toevoegen", @@ -1561,16 +1674,16 @@ "file": "Alarmregelbestand", "export": "Alarmregel exporteren", "export-failed-error": "Kan alarmregel niet exporteren: {{error}}", - "entity-type": "Entiteittype", - "entity-type-required": "Entiteittype is vereist.", + "entity-type": "Entiteitstype", + "entity-type-required": "Entiteitstype is verplicht.", "alarm-type": "Alarmtype", "alarm-type-hint": "Unieke identificatie (bijv. HighTempAlarm) binnen het bereik van de alarminitiator (Apparaat, Asset, enz.) om conflicten te voorkomen.", - "alarm-type-required": "Alarmtype is vereist.", + "alarm-type-required": "Alarmtype is verplicht.", "alarm-type-pattern": "Alarmtype is ongeldig.", "alarm-type-max-length": "Alarmtype moet korter zijn dan 256 tekens.", - "clear-alarm": "Alarm beëindigen", + "clear-alarm": "Alarm opheffen", "value-argument": "Argument", - "value-argument-required": "Argument is vereist.", + "value-argument-required": "Argument is verplicht.", "static-settings": "Statische instellingen", "configuration": "Configuratie", "static-schedule": "Statisch", @@ -1609,7 +1722,7 @@ "schedule-title": "Planning", "edit-schedule": "Alarmplanning bewerken", "schedule-type": "Plannertype", - "schedule-type-required": "Plannertype is vereist.", + "schedule-type-required": "Plannertype is verplicht.", "schedule": { "any-time": "Altijd actief", "specific-time": "Actief op een specifiek tijdstip", @@ -1646,7 +1759,7 @@ }, "alarm-rule-additional-info": "Aanvullende informatie", "edit-alarm-rule-additional-info": "Aanvullende informatie bewerken", - "alarm-rule-additional-info-placeholder": "Geef hier uw opmerkingen en aanpassingen op om ze te tonen in Alarmdetails onder Aanvullende informatie", + "alarm-rule-additional-info-placeholder": "Geef hier je opmerkingen en aanpassingen op om ze te tonen in Alarmdetails onder Aanvullende informatie", "alarm-rule-additional-info-hint": "Tip: gebruik ${Argumentnaam} om waarden te vervangen van de argumenten die in de alarmregelvoorwaarde worden gebruikt.", "alarm-rule-additional-info-icon-hint": "Gebruik Argumentnaam om waarden te vervangen van de argumenten die in de alarmregelvoorwaarde worden gebruikt.", "alarm-rule-mobile-dashboard": "Mobiel dashboard", @@ -1667,13 +1780,13 @@ "condition-duration-time-unit": "Tijdseenheid", "condition-duration-value-range": "Duurwaarde moet in een bereik van 1 tot 2147483647 liggen.", "condition-duration-value-pattern": "Duurwaarde moet een geheel getal zijn.", - "condition-duration-value-required": "Duurwaarde is vereist.", - "condition-duration-time-unit-required": "Tijdseenheid is vereist.", + "condition-duration-value-required": "Duurwaarde is verplicht.", + "condition-duration-time-unit-required": "Tijdseenheid is verplicht.", "condition-repeating-value": "Aantal gebeurtenissen", "condition-repeating-value-hint": "Een update van elk alarmregelargument wordt als gebeurtenis geteld", "condition-repeating-value-range": "Aantal gebeurtenissen moet in een bereik van 1 tot 2147483647 liggen.", "condition-repeating-value-pattern": "Aantal gebeurtenissen moet een geheel getal zijn.", - "condition-repeating-value-required": "Aantal gebeurtenissen is vereist.", + "condition-repeating-value-required": "Aantal gebeurtenissen is verplicht.", "create-conditions": "Triggervoorwaarden", "clear-condition": "Beëindigingsvoorwaarde", "no-clear-alarm-rule": "Geen beëindigingsvoorwaarde geconfigureerd.", @@ -1697,7 +1810,7 @@ "time-unit": "Eenheid", "mode": "Modus", "type": "Type", - "value-required": "Waarde is vereist.", + "value-required": "Waarde is verplicht.", "min-value": "Waarde moet 1 of hoger zijn.", "argument-in-use": "Argument wordt gebruikt als algemeen argument.", "import-invalid-alarm-rule-type": "Kan alarmregel niet importeren: Ongeldige alarmregelstructuur.", @@ -1706,7 +1819,7 @@ "and": "En", "or": "Of" }, - "ai-assistant-initial-prompt-placeholder": "Beschrijf wat u wilt instellen..." + "ai-assistant-initial-prompt-placeholder": "Beschrijf wat je wilt instellen..." }, "secret-storage": { "secrets-storage": "Geheime opslag", @@ -1717,7 +1830,7 @@ "selected-fields": "{ count, plural, =1 {1 geheim} other {# geheimen} } geselecteerd", "type": "Type", "name": "Naam", - "name-required": "Naam is vereist.", + "name-required": "Naam is verplicht.", "name-pattern": "Geheimnaam bevat niet-ondersteunde tekens. Het mag geen \"{\", \"}\", \";\" of controletekens bevatten.", "name-max-length": "Naam moet korter zijn dan 256 tekens.", "description": "Beschrijving", @@ -1728,17 +1841,17 @@ "file": "Bestand" }, "value": "Waarde", - "value-required": "Waarde is vereist.", + "value-required": "Waarde is verplicht.", "delete": "Geheim verwijderen", "delete-secrets": "Geheimen verwijderen", - "delete-secret-title": "Weet u zeker dat u het geheim '{{secretName}}' wilt verwijderen?", + "delete-secret-title": "Weet je zeker dat je het geheim '{{secretName}}' wilt verwijderen?", "delete-secret-text": "Wees voorzichtig, na bevestiging wordt het geheim en alle gerelateerde gegevens permanent verwijderd.", - "delete-secrets-title": "Weet u zeker dat u { count, plural, =1 {1 geheim} other {# geheimen} } wilt verwijderen?", + "delete-secrets-title": "Weet je zeker dat je { count, plural, =1 {1 geheim} other {# geheimen} } wilt verwijderen?", "delete-secrets-action-title": "Verwijder { count, plural, =1 {1 geheim} other {# geheimen} }", "delete-secrets-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde geheimen verwijderd en gerelateerde gegevens permanent gewist.", - "delete-secrets-in-use-text": "Om dit geheim te verwijderen, moet u eerst het gebruik ervan in bovenstaande entiteiten verwijderen.", + "delete-secrets-in-use-text": "Om dit geheim te verwijderen, moet je eerst het gebruik ervan in bovenstaande entiteiten verwijderen.", "secrets-is-in-use-text": "Dit geheim wordt momenteel gebruikt door andere entiteiten in het platform en kan niet worden verwijderd totdat het niet meer in gebruik is:", - "secrets-are-in-use-text": "Niet alle geheimen zijn verwijderd omdat ze worden gebruikt door andere entiteiten.
    U kunt de verwijzende entiteiten bekijken door op de knop Referenties in de betreffende rij te klikken.
    Om deze geheimen te verwijderen, moet u eerst het gebruik ervan in genoemde entiteiten opheffen.", + "secrets-are-in-use-text": "Niet alle geheimen zijn verwijderd omdat ze worden gebruikt door andere entiteiten.
    Je kunt de verwijzende entiteiten bekijken door op de knop Referenties in de betreffende rij te klikken.
    Om deze geheimen te verwijderen, moet je ze eerst verwijderen uit de entiteiten waarin ze worden gebruikt.", "selected-secrets": "{ count, plural, =1 {1 geheim} other {# geheimen} } geselecteerd", "use-secret-storage": "Gebruik geheime opslag", "dialog-title": "Geheim toevoegen", @@ -1749,9 +1862,9 @@ }, "autocomplete-title": { "text": "Geheim", - "text-required": "Geheim is vereist.", + "text-required": "Geheim is verplicht.", "file": "Bestandsgeheim", - "file-required": "Bestandsgeheim is vereist." + "file-required": "Bestandsgeheim is verplicht." }, "used-secret-title": "Geheim wordt gebruikt door andere entiteiten", "no-secrets-matching": "Geen geheimen gevonden die overeenkomen met '{{entity}}'.", @@ -1771,9 +1884,9 @@ "list": "{ count, plural, =1 {Eén model} other {Lijst van # modellen} }", "selected-fields": "{ count, plural, =1 {1 model} other {# modellen} } geselecteerd", "add": "Model toevoegen", - "delete-model-title": "Weet u zeker dat u het model '{{modelName}}' wilt verwijderen?", + "delete-model-title": "Weet je zeker dat je het model '{{modelName}}' wilt verwijderen?", "delete-model-text": "Wees voorzichtig, na bevestiging wordt het model en alle gerelateerde gegevens permanent verwijderd.", - "delete-models-title": "Weet u zeker dat u { count, plural, =1 {1 model} other {# modellen} } wilt verwijderen?", + "delete-models-title": "Weet je zeker dat je { count, plural, =1 {1 model} other {# modellen} } wilt verwijderen?", "delete-models-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde modellen verwijderd en alle gerelateerde gegevens permanent gewist.", "ai-providers": { "openai": "OpenAI", @@ -1783,37 +1896,37 @@ "mistral-ai": "Mistral AI", "anthropic": "Anthropic", "amazon-bedrock": "Amazon Bedrock", - "github-models": "GitHub-modellen", + "github-models": "GitHub Models", "ollama": "Ollama" }, - "name-required": "Naam is vereist.", + "name-required": "Naam is verplicht.", "name-max-length": "Naam mag maximaal 255 tekens bevatten.", "provider": "Provider", "api-key": "API-sleutel", - "api-key-required": "API-sleutel is vereist.", + "api-key-required": "API-sleutel is verplicht.", "api-key-open-ai-required": "API-sleutel is vereist bij gebruik van de officiële OpenAI API.", "project-id": "Project-ID", - "project-id-required": "Project-ID is vereist.", + "project-id-required": "Project-ID is verplicht.", "location": "Locatie", - "location-required": "Locatie is vereist.", + "location-required": "Locatie is verplicht.", "service-account-key-file": "Serviceaccount sleutelbestand", - "service-account-key-file-required": "Serviceaccount sleutelbestand is vereist.", + "service-account-key-file-required": "Sleutelbestand van serviceaccount is verplicht.", "no-file": "Geen bestand geselecteerd.", "drop-file": "Sleep een bestand hierheen of klik om een bestand te selecteren en te uploaden.", "personal-access-token": "Persoonlijke toegangstoken", - "personal-access-token-required": "Persoonlijke toegangstoken is vereist.", + "personal-access-token-required": "Persoonlijke toegangstoken is verplicht.", "configuration": "Configuratie", "model-id": "Model-ID", - "model-id-required": "Model-ID is vereist.", + "model-id-required": "Model-ID is verplicht.", "deployment-name": "Naam van implementatie", - "deployment-name-required": "Naam van implementatie is vereist.", + "deployment-name-required": "Naam van implementatie is verplicht.", "set": "Instellen", "region": "Regio", - "region-required": "Regio is vereist.", + "region-required": "Regio is verplicht.", "access-key-id": "Access key ID", - "access-key-id-required": "Access key ID is vereist.", + "access-key-id-required": "Access key ID is verplicht.", "secret-access-key": "Geheime access key", - "secret-access-key-required": "Geheime access key is vereist.", + "secret-access-key-required": "Geheime access key is verplicht.", "temperature": "Temperature", "temperature-hint": "Bepaalt het niveau van willekeur in de modeloutput. Hogere waarden verhogen de willekeur, lagere waarden verlagen deze.", "temperature-min": "Moet 0 of hoger zijn.", @@ -1832,15 +1945,15 @@ "context-length": "Contextlengte", "context-length-hint": "Bepaalt de grootte van het contextvenster in tokens. Deze waarde stelt de totale geheugenlimiet van het model vast, inclusief zowel de invoer van de gebruiker als de gegenereerde output.", "endpoint": "Endpoint", - "endpoint-required": "Endpoint is vereist.", + "endpoint-required": "Endpoint is verplicht.", "baseurl": "Basis-URL", - "baseurl-required": "Basis-URL is vereist.", + "baseurl-required": "Basis-URL is verplicht.", "service-version": "Serviceversie", "check-connectivity": "Verbinding controleren", "check-connectivity-success": "Testverzoek was succesvol", "check-connectivity-failed": "Testverzoek mislukt", "no-model-matching": "Geen modellen gevonden die overeenkomen met '{{entity}}'.", - "model-required": "Model is vereist.", + "model-required": "Model is verplicht.", "no-model-text": "Geen modellen gevonden.", "authentication": "Authenticatie", "authentication-basic-hint": "Gebruikt standaard HTTP Basic-authenticatie. De gebruikersnaam en het wachtwoord worden gecombineerd, Base64-gecodeerd en verzonden in een \"Authorization\"-header bij elk verzoek aan de Ollama-server.", @@ -1851,15 +1964,15 @@ "token": "Token" }, "username": "Gebruikersnaam", - "username-required": "Gebruikersnaam is vereist.", + "username-required": "Gebruikersnaam is verplicht.", "password": "Wachtwoord", - "password-required": "Wachtwoord is vereist.", + "password-required": "Wachtwoord is verplicht.", "token": "Token", - "token-required": "Token is vereist." + "token-required": "Token is verplicht." }, "confirm-on-exit": { - "message": "U heeft niet-opgeslagen wijzigingen. Weet u zeker dat u deze pagina wilt verlaten?", - "html-message": "U heeft niet-opgeslagen wijzigingen.
    Weet u zeker dat u deze pagina wilt verlaten?", + "message": "Je hebt niet-opgeslagen wijzigingen. Weet je zeker dat je deze pagina wilt verlaten?", + "html-message": "Je hebt niet-opgeslagen wijzigingen.
    Weet je zeker dat je deze pagina wilt verlaten?", "title": "Niet-opgeslagen wijzigingen" }, "contact": { @@ -1893,6 +2006,7 @@ "enter-username": "Voer gebruikersnaam in", "enter-password": "Voer wachtwoord in", "enter-search": "Voer zoekopdracht in", + "all": "Alle", "created-time": "Aanmaaktijd", "disabled": "Uitgeschakeld", "loading": "Laden...", @@ -1929,15 +2043,15 @@ "select-converter": "Selecteer gegevensconverter", "no-converters-matching": "Geen gegevensconverters gevonden die overeenkomen met '{{entity}}'.", "no-converters-found": "Geen gegevensconverters gevonden.", - "converter-required": "Gegevensconverter is vereist", + "converter-required": "Gegevensconverter is verplicht", "delete": "Converter verwijderen", "management": "Beheer van gegevensconverters", "add-converter-text": "Nieuwe gegevensconverter toevoegen", "no-converters-text": "Geen gegevensconverters gevonden", "selected-converters": "{ count, plural, =1 {1 gegevensconverter} other {# gegevensconverters} } geselecteerd", - "delete-converter-title": "Weet u zeker dat u de gegevensconverter '{{converterName}}' wilt verwijderen?", + "delete-converter-title": "Weet je zeker dat je de gegevensconverter '{{converterName}}' wilt verwijderen?", "delete-converter-text": "Wees voorzichtig, na bevestiging worden de gegevensconverter en alle gerelateerde gegevens permanent verwijderd.", - "delete-converters-title": "Weet u zeker dat u { count, plural, =1 {1 gegevensconverter} other {# gegevensconverters} } wilt verwijderen?", + "delete-converters-title": "Weet je zeker dat je { count, plural, =1 {1 gegevensconverter} other {# gegevensconverters} } wilt verwijderen?", "delete-converters-action-title": "Verwijder { count, plural, =1 {1 gegevensconverter} other {# gegevensconverters} }", "delete-converters-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde gegevensconverters verwijderd en gerelateerde gegevens permanent gewist.", "events": "Gebeurtenissen", @@ -1951,7 +2065,7 @@ "debug-mode": "Debugmodus", "created-time": "Aangemaakt op", "name": "Naam", - "name-required": "Naam is vereist.", + "name-required": "Naam is verplicht.", "name-max-length": "Naam moet minder dan 256 tekens bevatten", "description": "Beschrijving", "decoder": "Decoder", @@ -1967,7 +2081,7 @@ "payload-content": "Payload-inhoud", "message": "Bericht", "message-type": "Berichttype", - "message-type-required": "Berichttype is vereist", + "message-type-required": "Berichttype is verplicht", "test": "Test", "metadata": "Metadata", "metadata-required": "Metadata-items mogen niet leeg zijn.", @@ -1981,7 +2095,7 @@ "converter-file": "Converterbestand", "invalid-converter-file-error": "Kan converter niet importeren: Ongeldige datastructuur van converter.", "type": "Type", - "type-required": "Type is vereist.", + "type-required": "Type is verplicht.", "type-uplink": "Uplink", "type-downlink": "Downlink", "update-only-keys-list": "Alleen sleutelwaarden bijwerken", @@ -2013,14 +2127,16 @@ "content-type": { "json": "Json", "text": "Tekst", - "binary": "Binair (Base64)" + "binary": "Binair (Base64)", + "hex": "Binair (Hex)" }, "color": { "color": "Kleur", "color-picker": "Kleurkiezer", "primary-colors": "Primaire kleuren", "accent-colors": "Accentkleuren", - "no-color-selected": "Geen kleur geselecteerd" + "no-color-selected": "Geen kleur geselecteerd", + "default": "Standaard" }, "customer": { "all": "Alles", @@ -2030,29 +2146,30 @@ "hierarchy": "Hiërarchie", "customer": "Klant", "customers": "Klanten", + "customers-and-users": "Klanten & gebruikers", "management": "Klantbeheer", "dashboard": "Klantdashboard", "dashboards": "Klantdashboards", "devices": "Klantapparaten", - "entity-views": "Klantentiteitsoverzichten", + "entity-views": "Klantentiteitsweergaven", "assets": "Klantassets", "public-dashboards": "Openbare dashboards", "public-devices": "Openbare apparaten", "public-assets": "Openbare assets", - "public-entity-views": "Openbare entiteitsoverzichten", + "public-entity-views": "Openbare entiteitsweergaven", "add": "Klant toevoegen", "delete": "Klant verwijderen", "manage-customer-user-groups": "Klantgebruikersgroepen beheren", "manage-customer-groups": "Klantgroepen beheren", "manage-customer-device-groups": "Klantapparaatgroepen beheren", "manage-customer-asset-groups": "Klantassetgroepen beheren", - "manage-customer-entity-view-groups": "Klantentiteitsoverzichtgroepen beheren", + "manage-customer-entity-view-groups": "Entiteitsweergavegroepen van klant beheren", "manage-customer-edge-groups": "Klantedgegroepen beheren", "manage-customer-dashboard-groups": "Klantdashboardgroepen beheren", "manage-customer-users": "Klantgebruikers beheren", "manage-customers": "Klanten beheren", "manage-customer-devices": "Klantapparaten beheren", - "manage-customer-entity-views": "Klantentiteitsoverzichten beheren", + "manage-customer-entity-views": "Klantentiteitsweergaven beheren", "manage-customer-dashboards": "Klantdashboards beheren", "manage-public-devices": "Openbare apparaten beheren", "manage-public-dashboards": "Openbare dashboards beheren", @@ -2062,22 +2179,22 @@ "add-customer-text": "Nieuwe klant toevoegen", "no-customers-text": "Geen klanten gevonden", "customer-details": "Klantdetails", - "delete-customer-title": "Weet u zeker dat u de klant '{{customerTitle}}' wilt verwijderen?", + "delete-customer-title": "Weet je zeker dat je de klant '{{customerTitle}}' wilt verwijderen?", "delete-customer-text": "Let op: na bevestiging worden de klant en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-customers-title": "Weet u zeker dat u { count, plural, =1 {1 klant} other {# klanten} } wilt verwijderen?", + "delete-customers-title": "Weet je zeker dat je { count, plural, =1 {1 klant} other {# klanten} } wilt verwijderen?", "delete-customers-action-title": "{ count, plural, =1 {1 klant verwijderen} other {# klanten verwijderen} }", "delete-customers-text": "Let op: na bevestiging worden alle geselecteerde klanten en hun gegevens onherstelbaar verwijderd.", "manage-user-groups": "Gebruikersgroepen beheren", "manage-asset-groups": "Assetgroepen beheren", "manage-device-groups": "Apparaatgroepen beheren", "manage-dashboard-groups": "Dashboardgroepen beheren", - "manage-entity-view-groups": "Entiteitsoverzichtgroepen beheren", + "manage-entity-view-groups": "Entiteitsweergavegroepen beheren", "manage-edge-groups": "Edgegroepen beheren", "manage-users": "Gebruikers beheren", "manage-assets": "Assets beheren", "manage-devices": "Apparaten beheren", "manage-dashboards": "Dashboards beheren", - "manage-entity-views": "Entiteitsoverzichten beheren", + "manage-entity-views": "Entiteitsweergaven beheren", "title": "Titel", "title-required": "Titel is verplicht.", "title-max-length": "Titel mag maximaal 256 tekens bevatten", @@ -2091,7 +2208,7 @@ "customer-required": "Klant is verplicht", "select-group-to-add": "Selecteer doelgroep om geselecteerde klanten toe te voegen", "select-group-to-move": "Selecteer doelgroep om geselecteerde klanten te verplaatsen", - "remove-customers-from-group": "Weet u zeker dat u { count, plural, =1 {1 klant} other {# klanten} } uit groep '{{entityGroup}}' wilt verwijderen?", + "remove-customers-from-group": "Weet je zeker dat je { count, plural, =1 {1 klant} other {# klanten} } uit groep '{{entityGroup}}' wilt verwijderen?", "group": "Klantgroep", "list-of-groups": "{ count, plural, =1 {Eén klantgroep} other {Lijst van # klantgroepen} }", "group-name-starts-with": "Klantgroepen waarvan de naam begint met '{{prefix}}'", @@ -2102,7 +2219,8 @@ "search": "Klanten zoeken", "selected-customers": "{ count, plural, =1 {1 klant} other {# klanten} } geselecteerd", "edges": "Klant edge-instanties", - "manage-edges": "Edges beheren" + "manage-edges": "Edges beheren", + "manage-agents": "Agents beheren" }, "customers-hierarchy": { "customers-hierarchy": "Klantenhiërarchie", @@ -2116,7 +2234,7 @@ "no-custom-menus-matching": "Geen aangepaste menu's gevonden voor '{{entity}}'.", "search": "Aangepaste menu's zoeken", "add": "Aangepast menu toevoegen", - "delete-custom-menu-title": "Weet u zeker dat u het aangepaste menu '{{customMenuName}}' wilt verwijderen?", + "delete-custom-menu-title": "Weet je zeker dat je het aangepaste menu '{{customMenuName}}' wilt verwijderen?", "delete-custom-menu-text": "Let op: na bevestiging wordt het aangepaste menu en alle bijbehorende gegevens onherstelbaar verwijderd.", "name": "Naam", "name-required": "Naam is verplicht", @@ -2138,8 +2256,8 @@ "manage-config": "Configuratie aangepast menu beheren", "show-hidden-items": "Verborgen items tonen", "delete-custom-menu": "Aangepast menu verwijderen", - "delete-custom-menu-user-list-text": "Dit menu is toegewezen aan de \"Gebruikerslijst\". Als u het verwijdert, wordt het standaardmenu toegepast op de onderstaande gebruikers.", - "delete-custom-menu-customer-list-text": "Dit menu is toegewezen aan de \"Klantenlijst\". Als u het verwijdert, wordt het standaardmenu toegepast op de onderstaande klanten.", + "delete-custom-menu-user-list-text": "Dit menu is toegewezen aan de \"Gebruikerslijst\". Als je het verwijdert, wordt het standaardmenu toegepast op de onderstaande gebruikers.", + "delete-custom-menu-customer-list-text": "Dit menu is toegewezen aan de \"Klantenlijst\". Als je het verwijdert, wordt het standaardmenu toegepast op de onderstaande klanten.", "add-custom-menu-item": "Aangepast menu-item toevoegen", "add-custom-menu-subitem": "Aangepast submenu-item toevoegen", "edit-custom-menu-item": "Aangepast menu-item bewerken", @@ -2170,7 +2288,7 @@ "set-url": "URL instellen", "set-access-token": "Access token instellen", "menu-conflict": "Menuprobleem", - "menu-conflict-message": "Er is een ander standaardmenu met bereik {{scope}}. Weet u zeker dat u het wilt vervangen met uw aangepaste menu?", + "menu-conflict-message": "Er is een ander standaardmenu met bereik {{scope}}. Weet je zeker dat je het wilt vervangen door je aangepaste menu?", "replace": "Vervangen" }, "custom-translation": { @@ -2183,7 +2301,7 @@ "custom-translation": "Aangepaste vertaling", "customized": "Aangepast", "delete-language-text": "Let op: na bevestiging wordt de vertaling '{{language}}' en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-language-title": "Weet u zeker dat u de vertaling '{{language}}' wilt verwijderen?", + "delete-language-title": "Weet je zeker dat je de vertaling '{{language}}' wilt verwijderen?", "delete-translation": "Vertaling verwijderen", "download-translation": "Vertaling downloaden", "drop-json-file": "Sleep JSON-bestand hierheen of", @@ -2232,7 +2350,7 @@ "to": "Tot" }, "dashboard": { - "ai-assistant-initial-prompt-placeholder": "Beschrijf wat u wilt instellen...", + "ai-assistant-initial-prompt-placeholder": "Beschrijf wat je wilt instellen...", "ai-assistant-example-monitor-device-label": "Een apparaat bewaken", "ai-assistant-example-monitor-device-message": "Het apparaat is ... Ik wil dit dashboard instellen als een weergave met één status van dit apparaat, met de nieuwste telemetrie als waardekaarten bovenaan, een tijdreeksgrafiek van die telemetrie daaronder en een tabel met de actieve alarmen onderaan.", "ai-assistant-example-monitor-fleet-label": "Een apparaatvloot bewaken", @@ -2250,19 +2368,21 @@ "assign-dashboard-to-customer-text": "Selecteer de dashboards om toe te wijzen aan de klant", "assign-to-customer-text": "Selecteer de klant om het dashboard toe te wijzen", "assign-to-customer": "Toewijzen aan klant", - "unassign-from-customer": "Ontkoppelen van klant", + "unassign-from-customer": "Toewijzing aan klant intrekken", "make-public": "Dashboard openbaar maken", "make-private": "Dashboard privé maken", "manage-assigned-customers": "Toegewezen klanten beheren", "assigned-customers": "Toegewezen klanten", "assign-to-customers": "Dashboard(s) toewijzen aan klanten", "assign-to-customers-text": "Selecteer de klanten om dashboard(s) toe te wijzen", - "unassign-from-customers": "Dashboard(s) ontkoppelen van klanten", - "unassign-from-customers-text": "Selecteer de klanten om dashboard(s) te ontkoppelen", + "unassign-from-customers": "Toewijzing van dashboard(s) aan klanten intrekken", + "unassign-from-customers-text": "Selecteer de klanten voor wie je de toewijzing van dashboard(s) wilt intrekken", "no-dashboards-text": "Geen dashboards gevonden", "no-widgets": "Geen widgets geconfigureerd", "add-widget": "Nieuwe widget toevoegen", "add-widget-button-text": "Widget toevoegen", + "edit-html-page": "HTML-pagina bewerken", + "html-page": "HTML-pagina", "title": "Titel", "image": "Dashboardafbeelding", "mobile-app-settings": "Mobiele app-instellingen", @@ -2272,6 +2392,7 @@ "update-new-version": "Nieuwe versie uploaden", "upload-file-to-update": "Bestand uploaden om bij te werken", "take-screenshot": "Schermafbeelding maken", + "take-screenshot-failed": "Kan de schermafbeelding van het dashboard niet maken. Probeer het opnieuw.", "select-widget-title": "Selecteer widget", "select-widget-value": "{{title}}: selecteer widget", "select-widget-subtitle": "Beschikbare widgettypes", @@ -2285,27 +2406,27 @@ "assign-dashboards": "Dashboards toewijzen", "assign-new-dashboard": "Nieuw dashboard toewijzen", "assign-dashboards-text": "{ count, plural, =1 {1 dashboard} other {# dashboards} } toewijzen aan klanten", - "unassign-dashboards-action-text": "{ count, plural, =1 {1 dashboard} other {# dashboards} } ontkoppelen van klanten", + "unassign-dashboards-action-text": "Toewijzing van { count, plural, =1 {1 dashboard} other {# dashboards} } aan klanten intrekken", "delete-dashboards": "Dashboards verwijderen", "unassign-dashboards": "Dashboards ontkoppelen", - "unassign-dashboards-action-title": "{ count, plural, =1 {1 dashboard} other {# dashboards} } ontkoppelen van klant", - "delete-dashboard-title": "Weet u zeker dat u het dashboard '{{dashboardTitle}}' wilt verwijderen?", + "unassign-dashboards-action-title": "Toewijzing van { count, plural, =1 {1 dashboard} other {# dashboards} } aan klant intrekken", + "delete-dashboard-title": "Weet je zeker dat je het dashboard '{{dashboardTitle}}' wilt verwijderen?", "delete-dashboard-text": "Let op: na bevestiging worden het dashboard en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-dashboards-title": "Weet u zeker dat u { count, plural, =1 {1 dashboard} other {# dashboards} } wilt verwijderen?", + "delete-dashboards-title": "Weet je zeker dat je { count, plural, =1 {1 dashboard} other {# dashboards} } wilt verwijderen?", "delete-dashboards-action-title": "{ count, plural, =1 {1 dashboard verwijderen} other {# dashboards verwijderen} }", "delete-dashboards-text": "Let op: na bevestiging worden alle geselecteerde dashboards en gerelateerde gegevens onherstelbaar verwijderd.", - "unassign-dashboard-title": "Weet u zeker dat u het dashboard '{{dashboardTitle}}' wilt ontkoppelen?", - "unassign-dashboard-text": "Na bevestiging wordt het dashboard ontkoppeld en is het niet langer toegankelijk voor de klant.", + "unassign-dashboard-title": "Weet je zeker dat je de toewijzing van het dashboard '{{dashboardTitle}}' wilt intrekken?", + "unassign-dashboard-text": "Na bevestiging is het dashboard niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", "unassign-dashboard": "Dashboard ontkoppelen", - "unassign-dashboards-title": "Weet u zeker dat u { count, plural, =1 {1 dashboard} other {# dashboards} } wilt ontkoppelen?", - "unassign-dashboards-text": "Na bevestiging worden alle geselecteerde dashboards ontkoppeld en niet langer toegankelijk voor de klant.", + "unassign-dashboards-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {1 dashboard} other {# dashboards} } wilt intrekken?", + "unassign-dashboards-text": "Na bevestiging zijn alle geselecteerde dashboards niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", "public-dashboard-title": "Dashboard is nu openbaar", - "public-dashboard-text": "Uw dashboard {{dashboardTitle}} is nu openbaar en bereikbaar via deze link:", + "public-dashboard-text": "Je dashboard {{dashboardTitle}} is nu openbaar en bereikbaar via deze link:", "public-dashboard-notice": "Let op: Vergeet niet om gerelateerde apparaten openbaar te maken om toegang tot gegevens te geven.", "public-dashboard-link": "Openbare dashboardlink", - "public-dashboard-link-text": "Uw openbare dashboard {{dashboardTitle}} is bereikbaar via deze link:", - "public-dashboard-link-notice": "Let op: Vergeet niet om gerelateerde apparaten, assets en entiteitsoverzichten openbaar te maken.", - "make-private-dashboard-title": "Weet u zeker dat u het dashboard '{{dashboardTitle}}' privé wilt maken?", + "public-dashboard-link-text": "Je openbare dashboard {{dashboardTitle}} is bereikbaar via deze link:", + "public-dashboard-link-notice": "Let op: Vergeet niet om gerelateerde apparaten, assets en entiteitsweergaven openbaar te maken om toegang te krijgen tot hun gegevens.", + "make-private-dashboard-title": "Weet je zeker dat je het dashboard '{{dashboardTitle}}' privé wilt maken?", "make-private-dashboard-text": "Na bevestiging wordt het dashboard privé en niet langer toegankelijk voor anderen.", "make-private-dashboard": "Dashboard privé maken", "socialshare-text": "'{{dashboardTitle}}' aangedreven door ThingsBoard", @@ -2335,6 +2456,7 @@ "layout-type-default": "Standaard", "layout-type-scada": "SCADA", "layout-type-divider": "Scheiding", + "layout-type-html": "HTML-pagina", "layout-settings-type": "Lay-outinstellingen: {{ type }} breakpoint", "columns-count": "Aantal kolommen", "columns-count-required": "Aantal kolommen is verplicht.", @@ -2358,11 +2480,11 @@ "autofill-height": "Automatisch lay-outhoogte vullen", "mobile-layout": "Instellingen voor mobiel dashboard", "mobile-row-height": "Mobiele rijhoogte", - "mobile-row-height-required": "Waarde voor mobiele rijhoogte is vereist.", + "mobile-row-height-required": "Waarde voor mobiele rijhoogte is verplicht.", "min-mobile-row-height-message": "Minimale toegestane waarde voor mobiele rijhoogte is 5 pixels.", "max-mobile-row-height-message": "Maximale toegestane waarde voor mobiele rijhoogte is 200 pixels.", "row-height": "Rijhoogte", - "row-height-required": "Waarde voor rijhoogte is vereist.", + "row-height-required": "Waarde voor rijhoogte is verplicht.", "min-row-height-message": "Minimale toegestane waarde voor rijhoogte is 5 pixels.", "max-row-height-message": "Maximale toegestane waarde voor rijhoogte is 200 pixels.", "display-first-in-mobile-view": "Als eerste weergeven in mobiele weergave", @@ -2378,6 +2500,7 @@ "display-dashboard-timewindow": "Tijdvenster weergeven", "display-dashboard-export": "Exporteren weergeven", "display-update-dashboard-image": "Dashboardafbeelding bijwerken weergeven", + "display-configure-with-ai": "Knop \"Configureren met AI\" weergeven", "dashboard-logo-settings": "Dashboardlogo-instellingen", "display-dashboard-logo": "Logo weergeven in volledig scherm", "dashboard-logo-image": "Afbeelding dashboardlogo", @@ -2405,7 +2528,7 @@ "close-toolbar": "Werkbalk sluiten", "configuration-error": "Configuratiefout", "alias-resolution-error-title": "Fout in dashboard aliassen", - "invalid-aliases-config": "Kan geen apparaten vinden die overeenkomen met sommige aliasfilters.
    Neem contact op met uw beheerder om dit probleem op te lossen.", + "invalid-aliases-config": "Kan geen apparaten vinden die overeenkomen met sommige aliasfilters.
    Neem contact op met je beheerder om dit probleem op te lossen.", "select-devices": "Apparaten selecteren", "assignedToCustomer": "Toegewezen aan klant", "assignedToCustomers": "Toegewezen aan klanten", @@ -2432,7 +2555,7 @@ "state-id-exists": "Er bestaat al een dashboardtoestand met dezelfde ID.", "is-root-state": "Hoofdtoestand", "delete-state-title": "Dashboardtoestand verwijderen", - "delete-state-text": "Weet u zeker dat u de dashboardtoestand met naam '{{stateName}}' wilt verwijderen?", + "delete-state-text": "Weet je zeker dat je de dashboardtoestand met de naam '{{stateName}}' wilt verwijderen?", "show-details": "Details tonen", "hide-details": "Details verbergen", "select-state": "Selecteer doeltoestand", @@ -2444,13 +2567,13 @@ "home-dashboard-hide-toolbar": "Werkbalk van startdashboard verbergen", "select-group-to-add": "Selecteer doelgroep om geselecteerde dashboards toe te voegen", "select-group-to-move": "Selecteer doelgroep om geselecteerde dashboards te verplaatsen", - "remove-dashboards-from-group": "Weet u zeker dat u { count, plural, =1 {1 dashboard} other {# dashboards} } uit groep '{{entityGroup}}' wilt verwijderen?", + "remove-dashboards-from-group": "Weet je zeker dat je { count, plural, =1 {1 dashboard} other {# dashboards} } uit groep '{{entityGroup}}' wilt verwijderen?", "group": "Dashboardgroep", "list-of-groups": "{ count, plural, =1 {Eén dashboardgroep} other {Lijst van # dashboardgroepen} }", "group-name-starts-with": "Dashboardgroepen met namen die beginnen met '{{prefix}}'", - "unassign-dashboard-from-edge-text": "Na bevestiging wordt het dashboard ontkoppeld en is het niet meer toegankelijk voor de edge.", - "unassign-dashboards-from-edge-title": "Weet u zeker dat u { count, plural, =1 {1 dashboard} other {# dashboards} } wilt ontkoppelen?", - "unassign-dashboards-from-edge-text": "Na bevestiging worden alle geselecteerde dashboards ontkoppeld en niet meer toegankelijk voor de edge.", + "unassign-dashboard-from-edge-text": "Na bevestiging is het dashboard niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", + "unassign-dashboards-from-edge-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {1 dashboard} other {# dashboards} } wilt intrekken?", + "unassign-dashboards-from-edge-text": "Na bevestiging zijn alle geselecteerde dashboards niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", "assign-dashboard-to-edge": "Dashboard(s) toewijzen aan edge", "assign-dashboard-to-edge-text": "Selecteer de dashboards om toe te wijzen aan de edge", "non-existent-dashboard-state-error": "Dashboardtoestand met ID \"{{ stateId }}\" is niet gevonden", @@ -2500,8 +2623,8 @@ "data-key-required": "Gegevenssleutel is verplicht.", "alarm-keys": "Alarmgegevenssleutels", "alarm-key": "Alarmgegevenssleutel", - "alarm-key-functions": "Alarm sleutel functies", - "alarm-key-function": "Alarm sleutel functie", + "alarm-key-functions": "Functies voor alarmsleutel", + "alarm-key-function": "Functie voor alarmsleutel", "latest-keys": "Laatste gegevenssleutels", "latest-key": "Laatste gegevenssleutel", "latest-key-functions": "Functies voor laatste sleutel", @@ -2526,7 +2649,7 @@ "aggregation-type-count-hint": "Totaal aantal gegevenspunten binnen het geselecteerde tijdvenster.", "delta-calculation": "Delta-berekening", "enable-delta-calculation": "Delta-berekening inschakelen", - "enable-delta-calculation-hint": "Indien ingeschakeld, wordt de waarde van de gegevenssleutel berekend op basis van geaggregeerde waarden voor een geselecteerd tijdvenster en een opgegeven vergelijkingsperiode. Om prestatie­redenen is delta-berekening alleen beschikbaar voor historische tijdvensters en niet voor real-time waarden. U kunt bijvoorbeeld het verschil berekenen tussen het energieverbruik van gisteren en dat van eergisteren.", + "enable-delta-calculation-hint": "Indien ingeschakeld, wordt de waarde van de gegevenssleutel berekend op basis van geaggregeerde waarden voor een geselecteerd tijdvenster en een opgegeven vergelijkingsperiode. Om prestatieredenen is delta-berekening alleen beschikbaar voor historische tijdvensters en niet voor realtimewaarden. Je kunt bijvoorbeeld het verschil berekenen tussen het energieverbruik van gisteren en dat van eergisteren.", "delta-calculation-result": "Resultaat van delta-berekening", "delta-calculation-result-previous-value": "Vorige waarde", "delta-calculation-result-delta-absolute": "Delta (absoluut)", @@ -2551,7 +2674,7 @@ "toggle-edit-mode": "Schakel bewerkmodus" }, "device": { - "ai-assistant-initial-prompt-placeholder": "Beschrijf wat u wilt instellen...", + "ai-assistant-initial-prompt-placeholder": "Beschrijf wat je wilt instellen...", "ai-assistant-example-connect-label": "Mijn apparaat verbinden", "ai-assistant-example-connect-message": "Help me een van mijn apparaten met het platform te verbinden zodat het echte telemetrie begint te versturen.", "all": "Alles", @@ -2579,7 +2702,7 @@ "alias-required": "Apparaatalias is verplicht.", "remove-alias": "Apparaatalias verwijderen", "add-alias": "Apparaatalias toevoegen", - "name-starts-with": "Apparaatnaam expressie", + "name-starts-with": "Apparaatnaamexpressie", "help-text": "Gebruik '%' naar behoefte: '%device_name_contains%', '%device_name_ends', 'device_starts_with%'.", "device-list": "Apparatenlijst", "use-device-name-filter": "Filter gebruiken", @@ -2602,28 +2725,28 @@ "assign-devices": "Apparaten toewijzen", "assign-devices-text": "{ count, plural, =1 {1 apparaat} other {# apparaten} } toewijzen aan klant", "delete-devices": "Apparaten verwijderen", - "unassign-from-customer": "Ontkoppelen van klant", + "unassign-from-customer": "Toewijzing aan klant intrekken", "unassign-devices": "Apparaten ontkoppelen", - "unassign-devices-action-title": "{ count, plural, =1 {1 apparaat} other {# apparaten} } ontkoppelen van klant", - "unassign-device-from-edge-title": "Weet u zeker dat u het apparaat '{{deviceName}}' wilt ontkoppelen?", - "unassign-device-from-edge-text": "Na bevestiging wordt het apparaat ontkoppeld en is het niet meer toegankelijk voor de edge.", - "unassign-devices-from-edge": "Apparaten ontkoppelen van edge", + "unassign-devices-action-title": "Toewijzing van { count, plural, =1 {1 apparaat} other {# apparaten} } aan klant intrekken", + "unassign-device-from-edge-title": "Weet je zeker dat je de toewijzing van het apparaat '{{deviceName}}' wilt intrekken?", + "unassign-device-from-edge-text": "Na bevestiging is het apparaat niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", + "unassign-devices-from-edge": "Toewijzing van apparaten aan Edge intrekken", "assign-new-device": "Nieuw apparaat toewijzen", - "make-public-device-title": "Weet u zeker dat u het apparaat '{{deviceName}}' openbaar wilt maken?", + "make-public-device-title": "Weet je zeker dat je het apparaat '{{deviceName}}' openbaar wilt maken?", "make-public-device-text": "Na bevestiging wordt het apparaat en alle bijbehorende gegevens openbaar en toegankelijk voor anderen.", - "make-private-device-title": "Weet u zeker dat u het apparaat '{{deviceName}}' privé wilt maken?", + "make-private-device-title": "Weet je zeker dat je het apparaat '{{deviceName}}' privé wilt maken?", "make-private-device-text": "Na bevestiging wordt het apparaat en alle bijbehorende gegevens privé en niet toegankelijk voor anderen.", "view-credentials": "Referenties bekijken", - "delete-device-title": "Weet u zeker dat u het apparaat '{{deviceName}}' wilt verwijderen?", + "delete-device-title": "Weet je zeker dat je het apparaat '{{deviceName}}' wilt verwijderen?", "delete-device-text": "Let op: na bevestiging wordt het apparaat en alle bijbehorende gegevens onherstelbaar verwijderd.", - "delete-devices-title": "Weet u zeker dat u { count, plural, =1 {1 apparaat} other {# apparaten} } wilt verwijderen?", + "delete-devices-title": "Weet je zeker dat je { count, plural, =1 {1 apparaat} other {# apparaten} } wilt verwijderen?", "delete-devices-action-title": "{ count, plural, =1 {1 apparaat verwijderen} other {# apparaten verwijderen} }", "delete-devices-text": "Let op: na bevestiging worden alle geselecteerde apparaten en gegevens onherstelbaar verwijderd.", - "unassign-device-title": "Weet u zeker dat u het apparaat '{{deviceName}}' wilt ontkoppelen?", - "unassign-device-text": "Na bevestiging wordt het apparaat ontkoppeld en is het niet meer toegankelijk voor de klant.", + "unassign-device-title": "Weet je zeker dat je de toewijzing van het apparaat '{{deviceName}}' wilt intrekken?", + "unassign-device-text": "Na bevestiging is het apparaat niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", "unassign-device": "Apparaat ontkoppelen", - "unassign-devices-title": "Weet u zeker dat u { count, plural, =1 {1 apparaat} other {# apparaten} } wilt ontkoppelen?", - "unassign-devices-text": "Na bevestiging worden alle geselecteerde apparaten ontkoppeld en niet meer toegankelijk voor de klant.", + "unassign-devices-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {1 apparaat} other {# apparaten} } wilt intrekken?", + "unassign-devices-text": "Na bevestiging zijn alle geselecteerde apparaten niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", "device-credentials": "Apparaatreferenties", "loading-device-credentials": "Apparaatreferenties laden...", "credentials-type": "Type referentie", @@ -2688,7 +2811,7 @@ "any-device": "Elk apparaat", "no-device-types-matching": "Geen apparaatprofielen gevonden voor '{{entitySubtype}}'.", "device-type-list-empty": "Geen apparaatprofielen geselecteerd!", - "device-profile-type-list-empty": "Minstens één apparaatprofiel is vereist.", + "device-profile-type-list-empty": "Selecteer minstens één apparaatprofiel.", "device-types": "Apparaattypes", "name": "Naam", "name-required": "Naam is verplicht.", @@ -2721,7 +2844,7 @@ "select-device": "Selecteer apparaat", "select-group-to-add": "Selecteer doeldgroep om geselecteerde apparaten toe te voegen", "select-group-to-move": "Selecteer doeldgroep om geselecteerde apparaten te verplaatsen", - "remove-devices-from-group": "Weet u zeker dat u { count, plural, =1 {1 apparaat} other {# apparaten} } uit groep '{{entityGroup}}' wilt verwijderen?", + "remove-devices-from-group": "Weet je zeker dat je { count, plural, =1 {1 apparaat} other {# apparaten} } uit groep '{{entityGroup}}' wilt verwijderen?", "group": "Apparaatgroep", "list-of-groups": "{ count, plural, =1 {Eén apparaatgroep} other {Lijst van # apparaatgroepen} }", "group-name-starts-with": "Apparaatgroepen waarvan de naam begint met '{{prefix}}'", @@ -2734,8 +2857,8 @@ "wizard": { "device-details": "Apparaatdetails" }, - "unassign-devices-from-edge-title": "Weet u zeker dat u { count, plural, =1 {1 apparaat} other {# apparaten} } wilt ontkoppelen?", - "unassign-devices-from-edge-text": "Na bevestiging worden alle geselecteerde apparaten ontkoppeld en zijn ze niet meer toegankelijk voor de edge.", + "unassign-devices-from-edge-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {1 apparaat} other {# apparaten} } wilt intrekken?", + "unassign-devices-from-edge-text": "Na bevestiging zijn alle geselecteerde apparaten niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", "time": "Tijd", "connectivity": { "check-connectivity": "Controleer connectiviteit", @@ -2743,6 +2866,8 @@ "loading-check-connectivity-command": "Commando's voor connectiviteitscontrole laden...", "use-following-instructions": "Gebruik onderstaande instructies om telemetrie te verzenden namens het apparaat via shell", "execute-following-command": "Voer het volgende commando uit", + "step-execute-following-command": "Stap 2. Voer het volgende commando uit", + "step-install-necessary-client-tools": "Stap 1. Installeer de benodigde clienttools", "install-curl-windows": "Vanaf Windows 10 b17063 is cURL standaard beschikbaar", "install-curl-macos": "Vanaf Mac OS X 10.2 6C115 (Jaguar) is cURL standaard beschikbaar", "install-mqtt-windows": "Gebruik de instructies om mosquitto_pub te downloaden, installeren, configureren en uitvoeren", @@ -2827,7 +2952,7 @@ "datetime-type-time": "Tijd", "datetime-type-datetime": "Datum/tijd", "enable-clear-button": "Wis-knop inschakelen", - "html-section-settings": "HTML-sectie instellingen", + "html-section-settings": "Instellingen voor HTML-sectie", "html-section-classes": "HTML-sectie klassen", "html-section-content": "HTML-sectie inhoud", "array-item": "Array-item", @@ -2837,7 +2962,7 @@ "support-unit-conversion": "Ondersteuning voor eenheidsconversie" }, "clear-form": "Formulier wissen", - "clear-form-prompt": "Weet u zeker dat u alle formulier-eigenschappen wilt verwijderen?", + "clear-form-prompt": "Weet je zeker dat je alle formuliereigenschappen wilt verwijderen?", "import-form": "Formulier importeren uit JSON", "export-form": "Formulier exporteren naar JSON", "json-file": "JSON-bestand", @@ -2850,7 +2975,7 @@ "all-asset-profiles": "Alles", "add": "Assetprofiel toevoegen", "edit": "Assetprofiel bewerken", - "asset-profile-details": "Assetprofiel details", + "asset-profile-details": "Assetprofieldetails", "no-asset-profiles-text": "Geen assetprofielen gevonden", "search": "Assetprofielen zoeken", "selected-asset-profiles": "{ count, plural, =1 {1 assetprofiel} other {# assetprofielen} } geselecteerd", @@ -2874,11 +2999,11 @@ "mobile-dashboard": "Mobiel dashboard", "mobile-dashboard-hint": "Wordt door mobiele app gebruikt als detaildashboard voor asset", "select-queue-hint": "Selecteer uit een keuzelijst.", - "delete-asset-profile-title": "Weet u zeker dat u het assetprofiel '{{assetProfileName}}' wilt verwijderen?", + "delete-asset-profile-title": "Weet je zeker dat je het assetprofiel '{{assetProfileName}}' wilt verwijderen?", "delete-asset-profile-text": "Wees voorzichtig, na bevestiging worden het assetprofiel en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-asset-profiles-title": "Weet u zeker dat u { count, plural, =1 {1 assetprofiel} other {# assetprofielen} } wilt verwijderen?", + "delete-asset-profiles-title": "Weet je zeker dat je { count, plural, =1 {1 assetprofiel} other {# assetprofielen} } wilt verwijderen?", "delete-asset-profiles-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde assetprofielen en gerelateerde gegevens onherstelbaar verwijderd.", - "set-default-asset-profile-title": "Weet u zeker dat u '{{assetProfileName}}' als standaard wilt instellen?", + "set-default-asset-profile-title": "Weet je zeker dat je het assetprofiel '{{assetProfileName}}' als standaard wilt instellen?", "set-default-asset-profile-text": "Na bevestiging wordt het assetprofiel als standaard gemarkeerd en gebruikt voor nieuwe assets zonder gespecificeerd profiel.", "no-asset-profiles-found": "Geen assetprofielen gevonden.", "create-new-asset-profile": "Nieuwe aanmaken!", @@ -2895,7 +3020,7 @@ "all-device-profiles": "Alles", "add": "Apparaatprofiel toevoegen", "edit": "Apparaatprofiel bewerken", - "device-profile-details": "Apparaatprofiel details", + "device-profile-details": "Apparaatprofieldetails", "no-device-profiles-text": "Geen apparaatprofielen gevonden", "search": "Apparaatprofielen zoeken", "selected-device-profiles": "{ count, plural, =1 {1 apparaatprofiel} other {# apparaatprofielen} } geselecteerd", @@ -2923,7 +3048,7 @@ "transport-type-lwm2m": "LWM2M", "transport-type-lwm2m-hint": "LWM2M transporttype", "transport-type-snmp": "SNMP", - "transport-type-snmp-hint": "Specificeer SNMP transportconfiguratie", + "transport-type-snmp-hint": "Geef SNMP-transportconfiguratie op", "transport-type-http": "HTTP", "description": "Beschrijving", "default": "Standaard", @@ -2935,11 +3060,11 @@ "mobile-dashboard": "Mobiel dashboard", "mobile-dashboard-hint": "Gebruikt door de mobiele applicatie als apparaatdetailsdashboard.", "select-queue-hint": "Selecteer uit een vervolgkeuzelijst.", - "delete-device-profile-title": "Weet u zeker dat u het apparaatprofiel '{{deviceProfileName}}' wilt verwijderen?", + "delete-device-profile-title": "Weet je zeker dat je het apparaatprofiel '{{deviceProfileName}}' wilt verwijderen?", "delete-device-profile-text": "Wees voorzichtig, na bevestiging worden het apparaatprofiel en alle gerelateerde gegevens, inclusief bijbehorende OTA-updates, onherstelbaar verwijderd.", - "delete-device-profiles-title": "Weet u zeker dat u { count, plural, =1 {1 apparaatprofiel} other {# apparaatprofielen} } wilt verwijderen?", + "delete-device-profiles-title": "Weet je zeker dat je { count, plural, =1 {1 apparaatprofiel} other {# apparaatprofielen} } wilt verwijderen?", "delete-device-profiles-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde apparaatprofielen verwijderd en alle gerelateerde gegevens, inclusief bijbehorende OTA-updates, onherstelbaar verwijderd.", - "set-default-device-profile-title": "Weet u zeker dat u het apparaatprofiel '{{deviceProfileName}}' als standaard wilt instellen?", + "set-default-device-profile-title": "Weet je zeker dat je het apparaatprofiel '{{deviceProfileName}}' als standaard wilt instellen?", "set-default-device-profile-text": "Na bevestiging wordt het apparaatprofiel als standaard gemarkeerd en gebruikt voor nieuwe apparaten zonder opgegeven profiel.", "no-device-profiles-found": "Geen apparaatprofielen gevonden.", "create-new-device-profile": "Maak een nieuwe aan!", @@ -3010,7 +3135,7 @@ "create-alarm-rules": "Alarmregels aanmaken", "no-create-alarm-rules": "Geen aanmaakvoorwaarden geconfigureerd", "add-create-alarm-rule-prompt": "Voeg een aanmaakvoorwaarde toe", - "clear-alarm-rule": "Wis alarmregel", + "clear-alarm-rule": "Opheffingsregel", "no-clear-alarm-rule": "Geen wisvoorwaarde geconfigureerd", "add-create-alarm-rule": "Aanmaakvoorwaarde toevoegen", "add-clear-alarm-rule": "Wisvoorwaarde toevoegen", @@ -3040,20 +3165,20 @@ "alarm-rule-condition": "Alarmregelvoorwaarde", "enter-alarm-rule-condition-prompt": "Voeg een alarmregelvoorwaarde toe", "edit-alarm-rule-condition": "Bewerk alarmregelvoorwaarde", - "device-provisioning": "Apparaatvoorziening", - "provision-strategy": "Voorzieningsstrategie", - "provision-strategy-required": "Voorzieningsstrategie is verplicht.", + "device-provisioning": "Provisioning van apparaten", + "provision-strategy": "Provisioningstrategie", + "provision-strategy-required": "Provisioningstrategie is verplicht.", "provision-strategy-disabled": "Uitgeschakeld", "provision-strategy-created-new": "Nieuwe apparaten toestaan", "provision-strategy-check-pre-provisioned": "Controleren op vooraf geconfigureerde apparaten", - "provision-device-key": "Voorzieningssleutel", - "provision-device-key-required": "Voorzieningssleutel is verplicht.", - "copy-provision-key": "Voorzieningssleutel kopiëren", - "provision-key-copied-message": "Voorzieningssleutel is gekopieerd naar klembord", - "provision-device-secret": "Voorzieningsgeheim", - "provision-device-secret-required": "Voorzieningsgeheim is verplicht.", - "copy-provision-secret": "Voorzieningsgeheim kopiëren", - "provision-secret-copied-message": "Voorzieningsgeheim is gekopieerd naar klembord", + "provision-device-key": "Provisioningsleutel", + "provision-device-key-required": "Provisioningsleutel is verplicht.", + "copy-provision-key": "Provisioningsleutel kopiëren", + "provision-key-copied-message": "Provisioningsleutel is gekopieerd naar klembord", + "provision-device-secret": "Provisioninggeheim", + "provision-device-secret-required": "Provisioninggeheim is verplicht.", + "copy-provision-secret": "Provisioninggeheim kopiëren", + "provision-secret-copied-message": "Provisioninggeheim is gekopieerd naar klembord", "provision-strategy-x509": { "certificate-chain": "X509 certificaatketen", "certificate-chain-hint": "X.509-certificaatstrategie wordt gebruikt om apparaten te voorzien via clientcertificaten in tweerichtings-TLS-communicatie.", @@ -3106,7 +3231,7 @@ "export-failed-error": "Kan apparaatprofiel niet exporteren: {{error}}", "device-profile-file": "Apparaatprofielbestand", "invalid-device-profile-file-error": "Kan apparaatprofiel niet importeren: Ongeldige datastructuur.", - "power-saving-mode": "Energie besparende modus", + "power-saving-mode": "Energiebesparende modus", "power-saving-mode-type": { "default": "Gebruik energiebesparende modus van profiel", "psm": "Power Saving Mode (PSM)", @@ -3141,6 +3266,9 @@ "observe-label": "Observeer", "attribute-label": "Attribuut", "telemetry-label": "Telemetrie", + "select-all-attribute": "Alle attributen selecteren", + "select-all-telemetry": "Alle telemetrie selecteren", + "select-all-observe": "Alle geobserveerde selecteren", "edit-observe-select": "Om observatie te bewerken, selecteer telemetrie of attribuut", "edit-attributes-select": "Om attributen te bewerken, selecteer telemetrie of attribuut", "no-attributes-set": "Geen attributen ingesteld", @@ -3166,7 +3294,7 @@ "server": "Server", "short-id": "Korte server-ID", "short-id-tooltip": "Korte server-ID. Wordt gebruikt om serverobjectinstanties te koppelen.\nDeze identifier identificeert uniek elke LwM2M-server geconfigureerd voor de LwM2M-client.\nMoet worden ingesteld als de Bootstrap-Server-resource 'false' is.\nWaarden ID:0 en ID:65535 mogen niet worden gebruikt.", - "short-id-tooltip-bootstrap": "Korte server-ID. Vereist voor associatie van objectinstanties.\nMag niet 0 of 65535 zijn.", + "short-id-tooltip-bootstrap": "Korte server-ID. Wordt gebruikt om serverobjectinstanties te koppelen.\nDeze identifier identificeert elke LwM2M-server die voor de LwM2M-client is geconfigureerd op unieke wijze.\nMoet worden ingesteld als de Bootstrap-Server-resource 'false' is.", "short-id-required": "Korte server-ID is verplicht.", "short-id-range": "Korte server-ID moet tussen {{ min }} en {{ max }} liggen.", "short-id-pattern": "Korte server-ID moet een positief geheel getal zijn.", @@ -3175,10 +3303,10 @@ "lifetime-required": "Registratieduur is verplicht.", "lifetime-pattern": "Registratieduur moet een positief geheel getal zijn.", "default-min-period": "Minimale periode tussen meldingen (s)", - "default-min-period-tooltip": "Standaard minimumperiode voor observatie indien geen waarde opgegeven is.", + "default-min-period-tooltip": "De standaardwaarde die de LwM2M-client moet gebruiken voor de minimumperiode van een observatie wanneer deze parameter niet in de observatie is opgenomen.", "default-min-period-required": "Minimale periode is verplicht.", "default-min-period-pattern": "Minimale periode moet een positief geheel getal zijn.", - "notification-storing": "Notificaties opslaan bij uitgeschakeld of offline", + "notification-storing": "Meldingen opslaan wanneer uitgeschakeld of offline", "binding": "Binding", "binding-type": { "u": "U: Client is bereikbaar via UDP-binding.", @@ -3197,7 +3325,7 @@ "bootstrap-server": "Bootstrapserver", "lwm2m-server": "LwM2M-server", "include-bootstrap-server": "Bootstrapserver-updates opnemen", - "bootstrap-update-title": "U hebt al een bootstrapserver geconfigureerd. Weet u zeker dat u de updates wilt uitsluiten?", + "bootstrap-update-title": "Je hebt al een bootstrapserver geconfigureerd. Weet je zeker dat je de updates wilt uitsluiten?", "bootstrap-update-text": "Wees voorzichtig, na bevestiging worden de configuratiegegevens van de bootstrapserver onherstelbaar verwijderd.", "server-host": "Host", "server-host-required": "Host is verplicht.", @@ -3335,6 +3463,12 @@ "edge": "Edge", "edge-instances": "Edge-instanties", "instances": "Instanties", + "edges": "Edges", + "profiles": "Profielen", + "templates": "Sjablonen", + "rule-chain": "Regelketen", + "integration": "Integratie", + "converter": "Converter", "edge-file": "Edge-bestand", "name-max-length": "Naam mag niet langer zijn dan 256 tekens", "label-max-length": "Label mag niet langer zijn dan 256 tekens", @@ -3380,11 +3514,11 @@ "assignedToCustomer": "Toegewezen aan klant", "edge-public": "Edge is openbaar", "assigned-to-customer": "Toegewezen aan: {{customerTitle}}", - "unassign-from-customer": "Toewijzing aan klant ongedaan maken", - "unassign-edge-title": "Weet je zeker dat je de edge '{{edgeName}}' wilt ontkoppelen?", - "unassign-edge-text": "Na bevestiging wordt de edge ontkoppeld en is deze niet meer toegankelijk voor de klant.", - "unassign-edges-title": "Weet je zeker dat je { count, plural, =1 {1 edge} other {# edge-instanties} } wilt ontkoppelen?", - "unassign-edges-text": "Na bevestiging worden alle geselecteerde edge-instanties ontkoppeld en zijn ze niet meer toegankelijk voor de klant.", + "unassign-from-customer": "Toewijzing aan klant intrekken", + "unassign-edge-title": "Weet je zeker dat je de toewijzing van de Edge '{{edgeName}}' wilt intrekken?", + "unassign-edge-text": "Na bevestiging is de Edge niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", + "unassign-edges-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {1 Edge} other {# Edge-instanties} } wilt intrekken?", + "unassign-edges-text": "Na bevestiging zijn alle geselecteerde Edge-instanties niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", "make-public": "Maak edge openbaar", "make-public-edge-title": "Weet je zeker dat je de edge '{{edgeName}}' openbaar wilt maken?", "make-public-edge-text": "Na bevestiging wordt de edge en alle gerelateerde gegevens openbaar gemaakt.", @@ -3399,7 +3533,7 @@ "label": "Label", "load-entity-error": "Kan gegevens niet laden. Entiteit is verwijderd.", "assign-new-edge": "Nieuwe edge toewijzen", - "unassign-from-edge": "Ontkoppelen van edge", + "unassign-from-edge": "Toewijzing aan Edge intrekken", "edge-key": "Edge-sleutel", "copy-edge-key": "Kopieer Edge-sleutel", "edge-key-copied-message": "Edge-sleutel is gekopieerd naar klembord", @@ -3408,15 +3542,15 @@ "edge-secret-copied-message": "Edge-geheim is gekopieerd naar klembord", "manage-assets": "Beheer assets", "manage-devices": "Beheer apparaten", - "manage-entity-views": "Beheer entiteitweergaven", + "manage-entity-views": "Beheer entiteitsweergaven", "manage-dashboards": "Beheer dashboards", "manage-rulechains": "Beheer rule chains", "assets": "Edge-assets", "devices": "Edge-apparaten", - "entity-views": "Edge-entiteitweergaven", + "entity-views": "Edge-entiteitsweergaven", "dashboard": "Edge-dashboard", "dashboards": "Edge-dashboards", - "rulechain-templates": "Rule chain-sjablonen", + "rulechain-templates": "Regelketensjablonen", "edge-rulechain-templates": "Edge rule chain-sjablonen", "converter-templates": "Converter-sjablonen", "edge-converter-templates": "Edge converter-sjablonen", @@ -3444,7 +3578,7 @@ "manage-edge-user-groups": "Beheer edge-gebruikersgroepen", "manage-edge-asset-groups": "Beheer edge-assetgroepen", "manage-edge-device-groups": "Beheer edge-apparaatgroepen", - "manage-edge-entity-view-groups": "Beheer edge-entiteitsweergavegroepen", + "manage-edge-entity-view-groups": "Beheer Edge-entiteitsweergavegroepen", "manage-edge-dashboard-groups": "Beheer edge-dashboardgroepen", "manage-edge-rule-chains": "Beheer edge rule chains", "manage-edge-integrations": "Beheer edge-integraties", @@ -3456,16 +3590,16 @@ "list-of-groups": "{ count, plural, =1 {Eén edgegroep} other {Lijst van # edgegroepen} }", "group-name-starts-with": "Edgegroepen waarvan de naam begint met '{{prefix}}'", "unassign-entity-group-from-edge-title": "Weet je zeker dat je de entiteitsgroep '{{ entityGroupName }}' wilt ontkoppelen?", - "unassign-entity-group-from-edge-text": "Na bevestiging wordt de entiteitsgroep ontkoppeld en is niet meer toegankelijk voor de edge.", - "unassign-entity-group-from-edge": "Ontkoppel entiteitsgroep van edge", + "unassign-entity-group-from-edge-text": "Na bevestiging is de entiteitengroep niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", + "unassign-entity-group-from-edge": "Toewijzing van entiteitengroep aan Edge intrekken", "unassign-entity-groups-from-edge-title": "Weet je zeker dat je {{count}} entiteitsgroepen wilt ontkoppelen?", - "unassign-entity-groups-from-edge-text": "Na bevestiging worden de entiteitsgroepen ontkoppeld en zijn niet meer toegankelijk voor de edge.", - "unassign-entity-groups-from-edge": "Ontkoppel entiteitsgroepen van edge", - "unassign-scheduler-events-from-edge": "Ontkoppel planningsgebeurtenissen van edge", + "unassign-entity-groups-from-edge-text": "Na bevestiging zijn de entiteitengroepen niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", + "unassign-entity-groups-from-edge": "Toewijzing van entiteitengroepen aan Edge intrekken", + "unassign-scheduler-events-from-edge": "Toewijzing van planningsgebeurtenissen aan Edge intrekken", "unassign-scheduler-event-from-edge-title": "Weet je zeker dat je de planningsgebeurtenis '{{schedulerEventName}}' wilt ontkoppelen?", - "unassign-scheduler-event-from-edge-text": "Na bevestiging wordt de planningsgebeurtenis ontkoppeld en is niet meer toegankelijk voor de edge.", + "unassign-scheduler-event-from-edge-text": "Na bevestiging is de planningsgebeurtenis niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", "unassign-scheduler-events-from-edge-title": "Weet je zeker dat je { count, plural, =1 {1 planningsgebeurtenis} other {# planningsgebeurtenissen} } wilt ontkoppelen?", - "unassign-scheduler-events-from-edge-text": "Na bevestiging worden alle geselecteerde planningsgebeurtenissen ontkoppeld en zijn niet meer toegankelijk voor de edge.", + "unassign-scheduler-events-from-edge-text": "Na bevestiging zijn alle geselecteerde planningsgebeurtenissen niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", "manage-user-groups": "Beheer gebruikersgroepen", "manage-asset-groups": "Beheer assetgroepen", "manage-device-groups": "Beheer apparaatgroepen", @@ -3484,8 +3618,647 @@ "missing-all-related-attributes-text": "Edge(s) die aan integratie zijn gekoppeld missen attributen die vereist zijn door de integratieconfiguratie.

    Lijst met ontbrekende edge-attributen:
    {{missingEdgeAttributes}}", "quick-overview-widget-header": "{{edgeName}} Snelle Overzicht", "upgrade-instructions": "Upgrade-instructies", + "managed-application": "Beheerde applicatie", + "app-upgrade-available": "Upgrade beschikbaar", "connected": "Verbonden", - "disconnected": "Verbinding verbroken" + "disconnected": "Verbinding verbroken", + "auto-provision": "Automatische provisioning", + "auto-provision-title": "Automatische Edge-provisioning", + "auto-provision-subtitle": "Genereer een Docker run-opdracht — de Edge en de bijbehorende Agent worden automatisch aangemaakt wanneer de opdracht op de doelmachine wordt uitgevoerd.", + "auto-provision-step-select": "Agent-profiel", + "auto-provision-step-script": "Provisioningscript", + "auto-provision-agent-profile-label": "Agent-profiel", + "auto-provision-agent-profile-placeholder": "Selecteer of maak een Agent-profiel aan", + "auto-provision-no-eligible-profiles": "Geen geschikte profielen gevonden. Gebruik de knop rechts om er een aan te maken.", + "auto-provision-create-profile": "Profiel aanmaken", + "auto-provision-validating": "Agent-profiel wordt gevalideerd…", + "auto-provision-valid": "Klaar voor provisioning — aan '{{profile}}' is een EDGE-applicatieprofiel toegewezen.", + "auto-provision-invalid-strategy": "De provisioningstrategie van dit profiel installeert applicaties niet automatisch. Kies een profiel met een strategie voor automatische installatie.", + "auto-provision-invalid-no-edge-app-profile": "Aan dit profiel is geen EDGE-applicatieprofiel toegewezen. Gebruik de knop om er een toe te wijzen.", + "auto-provision-info-title": "Hoe het werkt", + "auto-provision-info-body": "Zodra een Agent-profiel is aangemaakt, wordt een Docker run-opdracht gegenereerd. Wanneer je die op een doelmachine uitvoert, maakt ThingsBoard automatisch de Agent aan — en de bijbehorende Edge-entiteit — met de inloggegevens die in de opdracht zijn opgenomen. De Edge wordt automatisch geconfigureerd op basis van het applicatieprofiel dat aan het Agent-profiel is toegewezen. Je hoeft de Edge niet handmatig aan te maken.", + "auto-provision-success-message": "Het Agent-profiel is klaar. Voer de opdracht uit op een willekeurige doelmachine om een nieuwe Edge te provisionen.", + "auto-provision-script-hint": "Voer deze opdracht uit op elke machine die een Edge moet worden. Bij elke uitvoering wordt één paar Agent + Edge geprovisioneerd.", + "auto-provision-open-profile": "Profiel openen", + "auto-provision-no-script": "De inloggegevens voor provisioning ontbreken in dit profiel. Open het profiel om ze opnieuw te genereren." + }, + "agent": { + "agents": "Agents", + "agent-profiles": "Agent-profielen", + "app-profiles": "Applicatieprofielen", + "templates": "Sjablonen", + "agent-templates": "Agent-sjablonen", + "add": "Agent toevoegen", + "add-agent-text": "Nieuwe Agent toevoegen", + "auto-provision": "Automatische provisioning", + "auto-provision-title": "Agent automatisch provisionen", + "auto-provision-step-select": "Agent-profiel", + "auto-provision-step-script": "Provisioningscript", + "auto-provision-valid": "Klaar voor provisioning — voor '{{profile}}' is provisioning ingeschakeld.", + "auto-provision-info-title": "Hoe het werkt", + "auto-provision-info-body": "Zodra een Agent-profiel is aangemaakt, wordt er een Docker run-opdracht gegenereerd. Wanneer deze op een doelmachine wordt uitgevoerd, maakt ThingsBoard de Agent automatisch aan met de inloggegevens die in de opdracht zijn opgenomen. De Agent wordt automatisch geconfigureerd op basis van het Agent-profiel. Je hoeft de Agent niet handmatig aan te maken.", + "auto-provision-success-message": "Het Agent-profiel is klaar. Voer de opdracht uit op een willekeurige doelmachine om een nieuwe Agent te provisionen.", + "auto-provision-script-hint": "Voer deze opdracht uit op elke machine waarop een Agent moet draaien. Bij elke uitvoering wordt één Agent geprovisioneerd.", + "add-profile": "Agent-profiel toevoegen", + "add-app-profile": "Applicatieprofiel toevoegen", + "add-application": "Applicatie toevoegen", + "agent-details": "Agent-details", + "profile-details": "Details van Agent-profiel", + "app-profile-details": "Details van applicatieprofiel", + "template-details": "Details van Agent-sjabloon", + "application-details": "Applicatiedetails", + "no-agents-text": "Geen Agents gevonden", + "no-agent-profiles-text": "Geen Agent-profielen gevonden", + "no-app-profiles-text": "Geen applicatieprofielen gevonden", + "no-templates-text": "Geen Agent-sjablonen gevonden", + "no-applications-text": "Geen applicaties gevonden", + "no-events-text": "Geen gebeurtenissen gevonden", + "search": "Agents zoeken", + "search-profiles": "Agent-profielen zoeken", + "search-app-profiles": "Applicatieprofielen zoeken", + "search-templates": "Sjablonen zoeken", + "search-applications": "Applicaties zoeken", + "search-events": "Gebeurtenissen zoeken", + "selected-agents": "{ count, plural, =1 {1 Agent} other {# Agents} } geselecteerd", + "selected-agent-profiles": "{ count, plural, =1 {1 Agent-profiel} other {# Agent-profielen} } geselecteerd", + "selected-app-profiles": "{ count, plural, =1 {1 app-profiel} other {# app-profielen} } geselecteerd", + "selected-applications": "{ count, plural, =1 {1 applicatie} other {# applicaties} } geselecteerd", + "name": "Naam", + "name-required": "Naam is verplicht.", + "name-max-length": "Naam moet korter zijn dan 256 tekens", + "routing-key": "Routeringssleutel", + "secret": "Geheim", + "description": "Beschrijving", + "profile-name": "Profielnaam", + "profile-name-placeholder": "Agents voor productie", + "profile-name-required": "Profielnaam is verplicht.", + "provision-type": "Provisioningtype", + "provision-key": "Provisioningsleutel", + "provision-secret": "Provisioninggeheim", + "app-type": "Applicatietype", + "current-version": "Huidige versie", + "next-version": "Volgende versie", + "assigned-to-customer": "Toegewezen aan klant", + "assign-to-customer": "Aan klant toewijzen", + "unassign-from-customer": "Toewijzing aan klant intrekken", + "assign-agents-to-customer": "Agent(s) aan klant toewijzen", + "assign-to-customer-text": "Selecteer de klant waaraan je de Agent(s) wilt toewijzen", + "unassign-agents-from-customer": "Toewijzing van Agent(s) aan klant intrekken", + "delete": "Agent verwijderen", + "delete-profile": "Profiel verwijderen", + "set-default-profile": "Agent-profiel als standaard instellen", + "set-default-profile-title": "Weet je zeker dat je het Agent-profiel '{{profileName}}' als standaard wilt instellen?", + "set-default-profile-text": "Na bevestiging wordt het Agent-profiel als standaard gemarkeerd en gebruikt voor nieuwe Agents waarvoor geen profiel is opgegeven.", + "default-profile": "Standaard", + "agent-profile-required": "Agent-profiel is verplicht.", + "edit-profile": "Agent-profiel bewerken", + "no-agent-profiles-found": "Geen Agent-profielen gevonden", + "no-agent-profiles-matching": "Geen Agent-profielen gevonden die overeenkomen met '{{entity}}'", + "create-new-agent-profile": "Nieuw Agent-profiel maken", + "add-profile-step-details": "Profielgegevens", + "add-profile-step-app-profiles": "Applicatieprofielen", + "add-profile-app-profiles-hint-title": "Waarom applicatieprofielen toewijzen?", + "add-profile-app-profiles-hint": "De toegewezen applicatieprofielen sturen bulkbewerkingen (bijwerken, upgraden, verwijderen) aan op applicaties die ernaar verwijzen — applicaties die worden beheerd door Agents met het profiel '{{profileName}}'. Kies bestaande applicatieprofielen of maak hier direct nieuwe aan.", + "application-profiles": "Applicatieprofielen", + "create-new-application-profile": "Nieuw applicatieprofiel maken", + "create-new": "Nieuw aanmaken", + "delete-app-profile": "Applicatieprofiel verwijderen", + "copy-profile-id": "Profiel-ID kopiëren", + "profile-id-copied-message": "Profiel-ID is gekopieerd naar het klembord", + "app-profile-wizard-title": "Applicatieprofiel aanmaken", + "app-profile-wizard-edit-title": "Applicatieprofiel bijwerken", + "app-update-current-config": "Huidige applicatieconfiguratie", + "app-update-future-config": "Toekomstige applicatieconfiguratie", + "app-update-edit-profile": "Profiel bijwerken", + "app-update-compare-hint": "Alleen-lezen vergelijking van de huidige configuratie van deze applicatie (links) en de configuratie die ze van het toegewezen profiel ontvangt, met samengevoegde inloggegevens (rechts).", + "app-install-custom-config": "Geavanceerd", + "app-install-from-profile": "Standaard", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "Een ThingsBoard Agent installeert, upgradet en bewaakt deze implementatie op afstand vanuit de cloud — geen handmatige Docker-opdrachten of onderhoud op de doelmachine.", + "deploy-select-agent-step": "Agent selecteren", + "deploy-intro": "Implementeer op een externe machine met een ThingsBoard Agent. Selecteer een bestaande Agent die op de doelmachine draait, of maak een nieuwe aan.", + "deploy-agent": "Agent", + "deploy-create-new": "Nieuw aanmaken", + "deploy-no-agents": "Geen Agents gevonden", + "deploy-no-agents-matching": "Geen Agents die overeenkomen met '{{entity}}'", + "deploy-already-managed": "Deze entiteit wordt al beheerd door de Agent-applicatie \"{{name}}\".", + "deploy-open-agent": "Naar Agent", + "deploy-open-app": "Naar Agent-applicatie", + "deploy-install-step": "Installeren", + "deploy-status-hero": "Een ThingsBoard Agent installeert, upgradet en bewaakt deze implementatie op afstand vanuit de cloud — geen handmatige Docker-opdrachten of onderhoud op de doelmachine.", + "deploy-status-online-title": "Je Agent is online", + "deploy-status-offline-title": "Je Agent is offline", + "deploy-status-managing": "beheert deze implementatie. Je hoeft hier verder niets te doen.", + "deploy-status-managing-for": "beheert deze implementatie al {{duration}}. Je hoeft hier verder niets te doen.", + "deploy-status-offline-desc": "is momenteel niet bereikbaar. De verbinding wordt automatisch hersteld zodra de Agent opnieuw verbinding maakt.", + "deploy-status-duration-days": "{{count}} dag(en)", + "deploy-status-duration-hours": "{{count}} uur", + "deploy-status-duration-minutes": "{{count}} minuut/minuten", + "deploy-status-healthy": "Gezond", + "deploy-status-unhealthy": "Offline", + "deploy-status-need-reinstall": "Opnieuw installeren?", + "deploy-status-show-install": "Installatieopdracht weergeven", + "deploy-status-hide-install": "Verbergen", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "Het Agent-apparaat dat deze implementatie beheert — telemetrie en levenscyclus.", + "deploy-status-card-app-title": "Agent-applicatie", + "deploy-status-card-app-desc": "De applicatie die deze Agent uitvoert — services, status en logs.", + "deploy-status-card-events-title": "Agent-gebeurtenissen", + "deploy-status-card-events-desc": "Livestream van installaties, upgrades, herstarts en fouten.", + "deploy-status-edge-ui-title": "ThingsBoard Edge-UI openen", + "deploy-status-edge-ui-desc": "Zodra de Edge-service is gestart, open je de Edge-webinterface op http://localhost:8080, of op http://localhost:18080 als je in de vorige stap de configuratie van de HTTP-bindpoort hebt gewijzigd. Log in met de inloggegevens van je tenant op je lokale ThingsBoard Server of op ThingsBoard Cloud.", + "app-install-select-profile": "Applicatieprofiel", + "app-install-no-profiles": "Geen applicatieprofielen gevonden", + "app-install-virtual-profile-badge": "Vooraf gedefinieerd", + "app-install-virtual-profile-hint": "Dit profiel bestaat nog niet. Wanneer je het selecteert, wordt het automatisch aangemaakt op basis van het sjabloon.", + "app-install-profile-materialize-failed": "Kan het vooraf gedefinieerde applicatieprofiel niet aanmaken.", + "quick-start-title": "Snel aan de slag — vooraf gedefinieerde profielen", + "quick-start-subtitle": "Maak met één klik een kant-en-klaar Edge- of Gateway-profiel aan. Geen configuratie nodig.", + "quick-start-filter-all": "Alle", + "quick-start-all-created": "Alle vooraf gedefinieerde profielen zijn aangemaakt.", + "quick-start-no-match": "Er komen geen vooraf gedefinieerde profielen overeen met dit filter.", + "quick-start-profile-created": "Applicatieprofiel \"{{profileName}}\" aangemaakt", + "add-profile-assignments-load-failed": "Kan de momenteel toegewezen applicatieprofielen niet laden. Bij opslaan blijven de bestaande toewijzingen ongewijzigd.", + "app-profile-wizard-cta": "Profiel aanmaken", + "app-profile-wizard-confirm-info": "Het applicatieprofiel wordt aangemaakt met het geselecteerde sjabloon en de geselecteerde compose-configuratie. Je kunt het later wijzigen op de detailpagina van het profiel.", + "app-profile-name": "Profielnaam", + "app-profile-name-placeholder-edge": "Silo Edge-applicatieprofiel", + "app-profile-name-placeholder-gateway": "Silo Gateway-applicatieprofiel", + "app-profile-name-placeholder-generic": "Silo-applicatieprofiel", + "app-profile-step-save": "Profiel opslaan", + "app-profile-description": "Beschrijving", + "copy-id": "Agent-ID kopiëren", + "copy-routing-key": "Routeringssleutel kopiëren", + "copy-secret": "Geheim kopiëren", + "copy-provision-key": "Provisioningsleutel kopiëren", + "copy-provision-secret": "Provisioninggeheim kopiëren", + "id-copied-message": "Agent-ID is naar het klembord gekopieerd", + "routing-key-copied-message": "Routeringssleutel is naar het klembord gekopieerd", + "secret-copied-message": "Geheim is naar het klembord gekopieerd", + "provision-key-copied-message": "Provisioningsleutel is naar het klembord gekopieerd", + "provision-secret-copied-message": "Provisioninggeheim is naar het klembord gekopieerd", + "delete-agent-title": "Weet je zeker dat je de Agent '{{agentName}}' wilt verwijderen?", + "delete-agent-text": "Wees voorzichtig, na de bevestiging zijn de Agent en alle gerelateerde gegevens niet meer te herstellen.", + "delete-agents-title": "Weet je zeker dat je { count, plural, =1 {# Agent} other {# Agents} } wilt verwijderen?", + "delete-agents-text": "Wees voorzichtig, na de bevestiging worden alle geselecteerde Agents verwijderd en zijn alle gerelateerde gegevens niet meer te herstellen.", + "unassign-agent-title": "Weet je zeker dat je de toewijzing van de Agent '{{agentName}}' wilt intrekken?", + "unassign-agent-text": "Na bevestiging is de Agent niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", + "unassign-agents-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {# Agent} other {# Agents} } wilt intrekken?", + "unassign-agents-text": "Na bevestiging zijn alle geselecteerde Agents niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", + "delete-profile-title": "Weet je zeker dat je het profiel '{{profileName}}' wilt verwijderen?", + "delete-profile-text": "Wees voorzichtig, na de bevestiging zijn het profiel en alle gerelateerde gegevens niet meer te herstellen.", + "delete-profiles-title": "Weet je zeker dat je { count, plural, =1 {# profiel} other {# profielen} } wilt verwijderen?", + "delete-profiles-text": "Wees voorzichtig, na de bevestiging worden alle geselecteerde profielen verwijderd en zijn alle gerelateerde gegevens niet meer te herstellen.", + "delete-app-profile-title": "Weet je zeker dat je het app-profiel '{{profileName}}' wilt verwijderen?", + "delete-app-profile-text": "Wees voorzichtig, na de bevestiging zijn het app-profiel en alle gerelateerde gegevens niet meer te herstellen.", + "delete-app-profiles-title": "Weet je zeker dat je { count, plural, =1 {# app-profiel} other {# app-profielen} } wilt verwijderen?", + "delete-app-profiles-text": "Wees voorzichtig, na de bevestiging worden alle geselecteerde app-profielen verwijderd en zijn alle gerelateerde gegevens niet meer te herstellen.", + "status": "Status", + "online": "Online", + "offline": "Offline", + "app-errors": "Fouten", + "app-errors-recent": "Laatste {{count}} foutgebeurtenis(sen):", + "app-errors-open-events": "Klik om het tabblad Gebeurtenissen te openen", + "online-hint": "Agent is momenteel verbonden met het platform", + "offline-hint": "Agent is niet verbonden met het platform", + "agent-profile": "Agent-profiel", + "no-profile": "Geen profiel", + "applications": "Applicaties", + "manage-applications": "Applicaties beheren", + "app-name": "Naam", + "app-template": "Sjabloon", + "app-units": "Eenheden", + "app-origin": "Herkomst", + "app-profile-in-sync": "Synchroon met applicatieprofiel", + "app-profile-in-sync-yes": "Synchroon met het applicatieprofiel", + "app-profile-in-sync-no": "Niet synchroon met het applicatieprofiel", + "app-profile-in-sync-na": "Geen applicatieprofiel toegewezen", + "app-upgrade-to": "Upgraden naar {{version}}", + "app-restart": "Herstarten", + "app-upgrade": "Upgraden", + "app-delete": "Verwijderen", + "app-update": "Bijwerken", + "app-update-title": "{{name}} bijwerken?", + "app-update-text": "Stuur de opgeslagen configuratie naar de Agent. De Agent implementeert de applicatie opnieuw met de laatst opgeslagen compose.", + "app-version-upgrade-available-title": "Upgrade beschikbaar", + "app-version-mismatch-title": "Sjabloonversies komen niet overeen", + "app-assign-upgrade-available-text": "Profiel '{{profileName}}' gebruikt sjabloonversie {{profileVersion}}, terwijl deze applicatie versie {{appVersion}} gebruikt. Er is een upgrade naar {{profileVersion}} beschikbaar voor deze applicatie. Als je het profiel direct toewijst, schakelt de applicatie over naar {{profileVersion}} zonder de upgradestappen uit te voeren (bijv. upgradescripts voor de database). Gebruik de actie Upgraden om veilig van versie te wisselen.", + "app-assign-version-mismatch-text": "Profiel '{{profileName}}' gebruikt sjabloonversie {{profileVersion}}, maar deze applicatie gebruikt versie {{appVersion}}. Als je het profiel toewijst, schakelt de applicatie over naar {{profileVersion}} zonder upgrade- of downgradestappen uit te voeren, waardoor de applicatie in een inconsistente toestand kan raken. Gebruik de actie Upgraden om veilig van versie te wisselen.", + "app-assign-anyway": "Toch toewijzen", + "app-assign-upgrade-first": "Eerst upgraden", + "app-update-drift-title": "Versie van toegewezen profiel wijkt af", + "app-update-drift-text": "Het toegewezen profiel '{{profileName}}' gebruikt sjabloonversie {{profileVersion}}, terwijl deze applicatie versie {{appVersion}} gebruikt. Bijwerken implementeert de applicatie opnieuw met de huidige configuratie — de configuratie van het profiel wordt niet toegepast. Gebruik de actie Upgraden om naar {{profileVersion}} te gaan.", + "app-update-anyway": "Toch bijwerken", + "app-profile-drifted-hint": "Profiel gebruikt sjabloonversie {{version}}. Bijwerken past deze niet toe — gebruik Upgraden.", + "app-arguments-profile-managed-hint": "Aangepaste argumenten worden beheerd door het toegewezen applicatieprofiel. Bewerk ze op de profielpagina.", + "app-current-version": "Huidige versie", + "app-profile-version": "Profielversie", + "app-name-required": "Applicatienaam is verplicht.", + "app-compose": "Docker Compose-configuratie", + "arguments": "Aangepaste argumenten", + "arguments-hint-prefix": "Placeholders die tijdens de implementatie worden ingevuld. Verwijs ernaar in de compose als", + "arguments-empty": "Geen aangepaste argumenten gedefinieerd.", + "arguments-empty-read-title": "Geen aangepaste argumenten gedefinieerd", + "arguments-empty-read-hint": "De compose wordt ongewijzigd met de eigen waarden geïmplementeerd.", + "arguments-empty-write-title": "Nog geen aangepaste argumenten", + "arguments-empty-write-hint": "Voeg een placeholder toe om tijdens de implementatie een entiteitsattribuut of telemetriewaarde in de compose te injecteren.", + "argument-settings": "Argumentinstellingen", + "argument-add": "Argument toevoegen", + "argument-remove": "Argument verwijderen", + "argument-name": "Naam", + "argument-name-required": "Argumentnaam is verplicht.", + "argument-name-pattern": "Alleen letters, cijfers en underscores zijn toegestaan.", + "argument-name-duplicate": "Argumentnaam is al in gebruik.", + "argument-referenced-as": "Verwijs ernaar in de Docker Compose-configuratie als", + "argument-source": "Brontype", + "argument-target-entity": "Doelentiteit", + "argument-source-agent": "Agent", + "argument-source-owner": "Eigenaar", + "argument-source-related-entity": "Gerelateerde entiteit", + "argument-source-tenant": "Huidige tenant", + "argument-source-device": "Apparaat", + "argument-source-asset": "Asset", + "argument-source-customer": "Klant", + "argument-source-edge": "Edge", + "argument-source-entity-device": "Apparaat", + "argument-source-entity-asset": "Asset", + "argument-source-entity-customer": "Klant", + "argument-source-entity-edge": "Edge", + "argument-value-type": "Waardetype", + "argument-value-type-attribute": "Attribuut", + "argument-value-type-latest-telemetry": "Laatste telemetrie", + "argument-scope": "Attribuutscope", + "argument-type-server-attribute": "Serverattribuut", + "argument-type-shared-attribute": "Gedeeld attribuut", + "argument-type-client-attribute": "Clientattribuut", + "argument-key": "Sleutel", + "argument-attribute-key": "Attribuutsleutel", + "argument-telemetry-key": "Sleutel van laatste telemetrie", + "argument-key-required": "Sleutel is verplicht.", + "argument-default-value": "Standaardwaarde", + "argument-format": "Waardeformaat", + "argument-format-string": "Tekst", + "argument-format-json": "JSON", + "argument-format-hint-json": "\"JSON\" voegt arrays/objecten/getallen ongewijzigd in, maar alleen als de placeholder de volledige waarde is.", + "argument-format-hint-embedded": "Als de placeholder in een tekenreeks is opgenomen, wordt deze keuze genegeerd en wordt de waarde altijd als tekst tussen aanhalingstekens ingevoegd.", + "argument-format-hint-text": "\"Tekst\" voegt altijd een tekenreeks tussen aanhalingstekens in.", + "app-compose-creds-overridden-hint": "Velden voor inloggegevens in de compose worden beheerd door de gekoppelde entiteit en worden bij het opslaan overschreven. Wijs de entiteit opnieuw toe om ze te wijzigen.", + "app-profile-compose-creds-hint": "Velden voor inloggegevens in de compose worden beheerd door de gekoppelde entiteit en worden bij het opslaan overschreven. Wijs de entiteit toe bij het aanmaken/bewerken van de applicatie om ze te wijzigen.", + "app-related-entity": "Gerelateerde entiteit", + "app-related-entity-none": "Geen overeenkomende entiteiten gevonden", + "app-related-entity-none-create": "Geen overeenkomende entiteiten gevonden. Gebruik de knop 'Nieuw aanmaken' om er een aan te maken.", + "app-related-entity-required": "Gerelateerde entiteit is verplicht voor Edge- en Gateway-applicaties.", + "app-step-applied-stage-hint": "Wijzigingen hier worden toegepast tijdens de fase '{{stage}}' op de Agent.", + "app-restart-title": "{{name}} herstarten?", + "app-restart-text": "De Agent voert de startstappen van de applicatie opnieuw uit. Bestaande gegevens en configuratie blijven behouden.", + "app-assign-compare-title": "Applicatieprofiel toewijzen", + "app-assign-compare-hint": "Als je profiel '{{profileName}}' toewijst, wordt de compose-configuratie van '{{appName}}' vervangen. Bekijk de wijzigingen hierboven en bevestig.", + "app-assign-compare-cta": "Profiel toewijzen", + "app-upgrade-title": "Applicatie upgraden", + "app-upgrade-step1": "Wijzigingen bekijken", + "app-upgrade-step2": "Configureren & bevestigen", + "app-upgrade-heading": "Upgraden van {{name}}: {{from}} → {{to}}", + "app-upgrade-template-new": "Sjabloon ({{version}}) — nieuw", + "app-upgrade-current": "Je compose (huidige versie met automatisch samengevoegde nieuwe image)", + "app-upgrade-diff-hint": "Vergelijking naast elkaar: het linkerdeelvenster toont het onbewerkte nieuwe sjabloon, het rechterdeelvenster toont je huidige compose met de nieuwe image automatisch samengevoegd. Controleer de verschillen voordat je doorgaat.", + "app-upgrade-steps-list": "Upgradestappen die worden uitgevoerd:", + "app-upgrade-backup-volumes-hint": "Selecteer de volumes waarvan vóór de upgrade een back-up moet worden gemaakt. Met back-ups kan de upgrade automatisch worden teruggedraaid als deze mislukt.", + "app-upgrade-no-volumes": "Geen volumes gevonden in de compose-configuratie.", + "app-upgrade-summary-versions": "Upgrade", + "app-upgrade-summary-volumes-label": "Volumes voor back-up", + "app-upgrade-summary-volumes": "{ count, plural, other {# geselecteerd} }", + "app-upgrade-rollback-info": "Als een stap mislukt, zet de Agent automatisch de vorige versie terug met behulp van de back-ups van de volumes.", + "app-upgrade-cta": "Upgraden", + "app-upgrade-loading": "Sjabloon laden…", + "app-upgrade-no-template": "Voor de applicatie is geen sjabloon ingesteld; upgraden is niet mogelijk.", + "app-upgrade-no-next-version": "Er is geen nieuwere sjabloonversie beschikbaar.", + "app-upgrade-load-failed": "Laden van het upgradesjabloon is mislukt.", + "app-upgrade-merge-failed": "Berekenen van het upgradevoorbeeld is mislukt.", + "app-compose-invalid-yaml": "De Docker Compose-configuratie is geen geldige YAML. Corrigeer deze voordat je opslaat.", + "app-profile-saved-title": "Applicatieprofiel opgeslagen", + "app-profile-saved-propagation-text": "Applicaties die al aan dit profiel zijn toegewezen, zijn niet automatisch bijgewerkt. Om de wijzigingen toe te passen, voer je een bulkupdate/-upgrade uit vanaf de pagina van het Agent-profiel, of werk je elke applicatie afzonderlijk bij op de eigen pagina.", + "app-upgrade-profile-step": "Profiel upgraden", + "app-upgrade-profile-loading": "Profiel laden…", + "app-upgrade-profile-name": "Profiel", + "app-upgrade-profile-current": "Compose van het profiel (huidige versie met automatisch samengevoegde nieuwe image)", + "app-upgrade-profile-hint": "Deze applicatie is gekoppeld aan een profiel dat nog naar de vorige sjabloonversie verwijst. Upgrade eerst het profiel, zodat de applicatie de nieuwe configuratie kan overnemen.", + "app-upgrade-profile-cta": "Profiel upgraden", + "app-profile-load-failed": "Laden van het applicatieprofiel is mislukt.", + "app-install-title": "Applicatie installeren", + "app-install-on-agent": "op Agent {{name}}", + "app-install-pick-type": "Kies wat je op deze Agent wilt implementeren.", + "app-install-step1": "Type selecteren", + "app-install-step3": "Controleren en aanpassen", + "app-install-step4": "Applicatie opslaan", + "app-install-type-generic": "Generiek", + "app-install-type-generic-desc": "Elke Docker Compose-applicatie implementeren", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "ThingsBoard Edge implementeren", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "ThingsBoard Gateway implementeren", + "app-install-name": "Applicatienaam", + "app-install-yaml": "Docker Compose-configuratie", + "app-compose-template-select": "Compose-sjabloon", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "Hybride", + "compose-type-in-memory": "In-memory", + "app-install-diff-template": "Sjabloon — alleen-lezen", + "app-install-diff-editable": "Jouw compose — bewerkbaar, wordt opgeslagen", + "app-install-diff-hint": "Het linkerdeelvenster toont de onbewerkte compose uit het sjabloon. Bewerk het rechterdeelvenster om deze aan te passen; alleen de rechterkant wordt opgeslagen.", + "app-diff-sync-scroll": "Scrollen tussen deelvensters synchroniseren", + "app-diff-read-only": "Alleen-lezen", + "app-install-cred-title": "Inloggegevens", + "app-install-cred-hint": "Alleen deze velden zijn bewerkbaar wanneer je een profiel gebruikt. Ze worden teruggeschreven naar de compose-preview hieronder.", + "app-install-cred-routing-key": "Routeringssleutel", + "app-install-cred-routing-secret": "Routeringsgeheim", + "app-install-cred-security-type": "Beveiligingstype", + "app-install-cred-security-access-token": "Toegangstoken", + "app-install-cred-security-username-password": "Gebruikersnaam / wachtwoord", + "app-install-cred-access-token": "Toegangstoken", + "app-install-cred-client-id": "Client-ID", + "app-install-cred-username": "Gebruikersnaam", + "app-install-cred-password": "Wachtwoord", + "app-install-pull-images": "Images ophalen vóór het starten", + "app-image-pull-policy-if-not-present": "Indien niet aanwezig", + "app-image-pull-policy-always": "Altijd", + "app-install-cta": "Opslaan", + "app-update-wizard-title": "Applicatie bijwerken", + "app-update-cta": "Bijwerken", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "Voorgesteld (samengevoegd met sjabloon) — alleen-lezen", + "app-update-diff-current": "Huidige compose — bewerkbaar, wordt opgeslagen", + "app-update-diff-hint": "Bekijk de voorgestelde wijzigingen links. Gebruik de pijlen tussen de deelvensters om geselecteerde blokken samen te voegen in de huidige compose rechts. Alleen de rechterkant wordt opgeslagen.", + "app-update-cred-hint": "Bij apps die via een profiel worden beheerd, zijn hier alleen de velden voor inloggegevens beschikbaar. Andere wijzigingen in de compose verlopen via het profiel.", + "app-profile-outdated-hint": "De profielconfiguratie is verouderd. Voer Bijwerken uit om deze opnieuw op te halen.", + "app-project-name": "Projectnaam", + "app-update-skip-profile-refetch": "Profielconfiguratie niet opnieuw ophalen", + "app-update-skip-profile-refetch-hint": "Als dit is aangevinkt, behoudt de Agent-app de huidige compose en worden alleen de bovenstaande inloggegevens toegepast. Gebruik dit om inloggegevens te roteren, of — met het pullbeleid hierboven ingesteld op Altijd — om de nieuwste images opnieuw op te halen, zonder de nieuwere configuratie van het profiel over te nemen.", + "app-update-skip-profile-refetch-drift-hint": "Het toegewezen profiel gebruikt sjabloonversie {{version}} — Bijwerken past de configuratie ervan niet toe. De app behoudt de huidige compose; alleen de bovenstaande inloggegevens worden toegepast. Gebruik Upgraden om van versie te wisselen.", + "app-install-confirm-info": "De Agent downloadt en start de containers. Je kunt de voortgang volgen op het tabblad Gebeurtenissen.", + "app-install-loading-template": "Sjabloon laden…", + "app-install-template-failed": "Kan het applicatiesjabloon niet laden.", + "app-install-merge-failed": "Kan het samengevoegde voorbeeld niet berekenen.", + "app-delete-title-header": "Applicatie verwijderen", + "app-delete-warning": "Weet je zeker dat je '{{name}}' wilt verwijderen? Hiermee worden alle containers op de externe machine gestopt en verwijderd.", + "app-delete-remove-volumes": "Ook volumes verwijderen", + "app-delete-remove-volumes-hint": "Waarschuwing: hiermee worden alle gegevens in de applicatievolumes definitief verwijderd.", + "app-delete-no-volumes": "Geen volumes gevonden in de compose-configuratie.", + "app-delete-cta": "Verwijderen", + "agents-count": "Agents", + "profiles-count": "Profielen", + "template": "Sjabloon", + "previous-version": "Vorige versie", + "config-type": "Configuratietype", + "install-instructions": "Installatie-instructies", + "install-instructions-hint": "Voer de volgende opdracht uit op de doelmachine om de Agent te starten. De Agent maakt verbinding met de ThingsBoard-server en verschijnt als Online.", + "install-instructions-replace-hint": "De Agent verschijnt als Online in de lijst Agents zodra de verbinding tot stand is gebracht.", + "install-step-docker": "Zorg ervoor dat Docker op de doelmachine is geïnstalleerd", + "install-step-run": "Agent-container starten", + "install-command-copied-message": "Installatieopdracht is naar het klembord gekopieerd", + "agent-credentials": "Agent-referenties", + "agent-created-successfully": "Agent is aangemaakt", + "go-to-agent": "Naar Agent gaan", + "app-type-generic": "Generiek", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "Instellen", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "Nieuwste Edge-applicatieprofiel", + "preset-gateway-description": "Nieuwste Gateway-applicatieprofiel", + "preset-edge-gateway-description": "Beide nieuwste applicatieprofielen", + "preset-name-edge": "Agent-profiel voor Edge", + "preset-name-gateway": "Agent-profiel voor Gateway", + "preset-name-edge-gateway": "Agent-profiel voor Edge + Gateway", + "preset-advanced": "Geavanceerd", + "preset-advanced-description": "Stel een provisioningstrategie in en kies applicatieprofielen of maak ze aan", + "preset-advanced-configure": "Configureren", + "preset-summary-title": "Voorinstelling: {{label}}", + "preset-summary-body": "Maakt het Agent-profiel aan, wijst {{apps}} toe en stelt de provisioningstrategie \"één applicatie per type\" in.", + "preset-summary-apps-two": "{{first}} en {{second}}", + "preset-templates-load-failed": "Kan de nieuwste applicatiesjablonen niet laden voor: {{types}}. Voorinstellingen die ze vereisen, zijn uitgeschakeld.", + "app-type-required": "Applicatietype is verplicht.", + "provision-type-disabled": "Uitgeschakeld", + "provision-type-no-auto-install": "Alleen provisioning van Agents", + "provision-type-per-app-type": "Eén applicatie per type", + "provision-type-per-app-profile": "Eén applicatie per toegewezen profiel", + "provisioning-strategy": "Provisioningstrategie", + "provisioning-strategy-label": "Strategie: {{strategy}}", + "provision-type-disabled-description": "Provisioning van Agents is uitgeschakeld. Selecteer een provisioningstrategie om automatische registratie van Agents in te schakelen. Als dit is ingeschakeld, kunnen Agents zichzelf registreren met een gedeelde provisioningsleutel en een gedeeld geheim — je hoeft niet elke Agent handmatig aan te maken.", + "provision-type-no-auto-install-description": "Wanneer een nieuwe Agent provisioning uitvoert met dit profiel, registreert de server de Agent, maar installeert hij niet automatisch applicaties. Toegewezen applicatieprofielen worden tijdens provisioning genegeerd — applicaties kunnen handmatig op de Agent worden geïnstalleerd.", + "provision-type-per-app-type-description": "Wanneer een nieuwe Agent provisioning uitvoert met dit profiel, maakt de server automatisch applicaties aan op basis van de toegewezen applicatieprofielen. Edge/Gateway-applicaties worden alleen geïnstalleerd als de Agent nog geen applicatie van dat type heeft (maximaal één per type per Agent); generieke applicaties worden op profiel gekoppeld (één app per profiel per Agent). Met bijvoorbeeld twee toegewezen Edge-profielen en twee generieke profielen krijgt de Agent één Edge-applicatie en twee generieke applicaties. Als een applicatietype een gerelateerde entiteit vereist (bijv. Edge of Gateway), probeert de server deze aan te maken en toe te wijzen.", + "provision-type-per-app-profile-description": "Wanneer een nieuwe Agent provisioning uitvoert met dit profiel, maakt de server automatisch applicaties aan op basis van de toegewezen applicatieprofielen. Elke applicatie wordt alleen geïnstalleerd als de Agent nog geen overeenkomende applicatie heeft — Edge/Gateway-applicaties worden gekoppeld op sjabloon of op hun bronprofiel (één per sjabloon per Agent); generieke applicaties worden op profiel gekoppeld (één app per profiel per Agent). Met bijvoorbeeld twee toegewezen Edge-profielen krijgt de Agent twee Edge-applicaties als de profielen op verschillende sjablonen zijn gebaseerd, maar slechts één als ze hetzelfde sjabloon delen. Als een applicatietype een gerelateerde entiteit vereist (bijv. Edge of Gateway), probeert de server deze aan te maken en toe te wijzen.", + "agent-profile-created": "Agent-profiel aangemaakt", + "agent-profile-created-hint": "Voer deze opdracht uit op elke machine waarop je een Agent wilt implementeren. Elke Agent zal:", + "agent-profile-created-step-1": "Zich automatisch bij de server registreren met de provisioninggegevens", + "agent-profile-created-step-2": "Een unieke routeringssleutel en een geheim ontvangen voor een permanente verbinding", + "agent-profile-created-step-3": "De applicaties uit de toegewezen applicatieprofielen automatisch installeren", + "provisioning-credentials": "Provisioninggegevens", + "provisioning": "Agent-provisioning", + "docker-run-command": "Docker run-opdracht", + "assigned-profiles": "Applicatieprofielen", + "assign-profile": "Profiel toewijzen", + "unassign-profile": "Toewijzing van profiel intrekken", + "no-profiles-assigned": "Er zijn nog geen applicatieprofielen aan dit profiel toegewezen.", + "go-to-profile": "Naar profiel gaan", + "profiles-bulk-hint": "Deze bulkactie is gericht op alle applicaties die overeenkomen met profiel \"{{appProfile}}\" en waarvan de Agent het profiel \"{{agentProfile}}\" gebruikt", + "auto-install-template-dedup-note": "Met de provisioningstrategie van dit Agent-profiel is automatische installatie ingeschakeld. Bij automatische provisioning van een Agent wordt elk profiel hieronder alleen geïnstalleerd als de Agent nog geen overeenkomende applicatie heeft. Edge/Gateway-profielen komen overeen op basis van sjabloon of bronprofiel (één per sjabloon per Agent); generieke profielen komen overeen op basis van profiel (één app per profiel per Agent).", + "auto-install-per-type-note": "Met de provisioningstrategie van dit Agent-profiel is automatische installatie ingeschakeld. Bij automatische provisioning van een Agent worden de Edge/Gateway-profielen hieronder alleen geïnstalleerd als de Agent nog geen applicatie van dat type heeft (maximaal één per type per Agent); generieke profielen komen overeen op basis van profiel (één app per profiel per Agent).", + "app-profile": "Applicatieprofiel", + "no-profiles-available": "Er zijn geen profielen meer beschikbaar om toe te wijzen.", + "unassign-profile-confirm": "Weet je zeker dat je de toewijzing van applicatieprofiel '{{profile}}' aan dit Agent-profiel wilt intrekken?", + "relate-on-auto-discovery": "Relateren bij automatische detectie", + "relate-on-auto-discovery-tooltip": "Wijs dit applicatieprofiel toe aan alle nieuwe automatisch gedetecteerde applicaties met overeenkomende Edge/Gateway-images.", + "relate-on-auto-discovery-confirm-title": "Weet je zeker dat je wilt doorgaan?", + "relate-on-auto-discovery-enable-confirm": "Nieuwe automatisch gedetecteerde applicaties met een Edge/Gateway-image die overeenkomt met het sjabloon van '{{profile}}' krijgen automatisch dit applicatieprofiel toegewezen. Als de configuraties niet overeenkomen, overschrijft de configuratie (compose) van het profiel de automatisch gedetecteerde configuratie (compose) van de applicatie.", + "relate-on-auto-discovery-disable-confirm": "Nieuwe automatisch gedetecteerde applicaties die overeenkomen met het sjabloon van '{{profile}}' krijgen dit applicatieprofiel niet meer automatisch toegewezen. Bestaande toewijzingen blijven ongewijzigd.", + "provisioning-saved": "Provisioninginstellingen opgeslagen", + "bulk-actions": "Bulkacties", + "assigned-applications": "Toegewezen apps", + "application-profiles-and-bulk-actions": "Applicatieprofielen en bulkacties", + "recent-bulk-actions": "Recente bulkacties", + "no-recent-bulk-actions": "Nog geen bulkacties voor dit applicatieprofiel.", + "executions": "Uitvoeringen", + "view-bulk-action-details": "Volledige details openen", + "agents-reporting-success": "{{ok}}/{{total}} Agents melden succes", + "bulk-action-type": "Actie", + "bulk-action-status": "Status", + "bulk-action-counts": "Ingediend", + "bulk-action-error": "Fout", + "bulk-action-details": "Details van bulkactie", + "bulk-restart": "In bulk herstarten", + "bulk-update": "In bulk bijwerken", + "bulk-upgrade": "In bulk upgraden", + "bulk-delete": "In bulk verwijderen", + "bulk-restart-title": "In bulk herstarten — {{profile}}", + "bulk-update-title": "In bulk bijwerken — {{profile}}", + "bulk-upgrade-title": "In bulk upgraden — {{profile}}", + "bulk-delete-title": "In bulk verwijderen — {{profile}}", + "bulk-action-title": "Bulkactie", + "bulk-restart-cta": "Alles herstarten", + "bulk-update-cta": "Alles bijwerken", + "bulk-upgrade-cta": "Alles upgraden", + "bulk-delete-cta": "Alles verwijderen", + "bulk-preview": "Voorbeeld", + "bulk-preview-total": "Totaal aantal apps", + "bulk-preview-eligible": "In aanmerking", + "bulk-preview-skipped": "Overgeslagen", + "bulk-skipped-version-mismatch": "Overgeslagen — sjabloonversie komt niet overeen", + "bulk-skipped-active-event": "Overgeslagen — er wordt al een andere bewerking uitgevoerd", + "bulk-skipped-rate-limit": "Overgeslagen — limiet voor het aantal gebeurtenissen overschreden", + "bulk-skipped-error": "Overgeslagen — fout bij het evalueren van de app", + "bulk-skipped-more": "…en nog {{count}} — zie de uitvoeringsdetails", + "bulk-no-eligible": "Geen enkele applicatie komt in aanmerking voor deze bewerking.", + "bulk-backup-volumes-hint": "Selecteer de volumes waarvan je vóór het upgraden een back-up wilt maken. De invoer geldt voor elke applicatie die in aanmerking komt.", + "bulk-no-volumes-in-profile": "Het compose-bestand van het profiel bevat geen volumes.", + "bulk-submitted": "Ingediend", + "bulk-skipped": "Overgeslagen", + "bulk-processing-started": "Verwerking gestart", + "bulk-events": "Gebeurtenissen", + "bulk-event-current-step": "Huidige stap", + "bulk-event-updated": "Bijgewerkt", + "bulk-event-filter-status": "Status", + "bulk-event-filter-all": "Alle", + "bulk-no-events": "Geen gebeurtenissen gevonden voor deze bulkactie.", + "no-bulk-actions": "Nog geen bulkacties.", + "origin-installed": "Geïnstalleerd", + "origin-discovered": "Ontdekt", + "origin-auto-provisioned": "Automatisch geprovisioneerd", + "event-action-install": "Installeren", + "event-action-update": "Bijwerken", + "event-action-delete": "Verwijderen", + "event-action-restart": "Herstarten", + "event-action-rollback": "Terugdraaien", + "event-action-upgrade": "Upgraden", + "event-action-agent-upgrade": "Agent-upgrade", + "event-status-pending": "In afwachting", + "event-status-queued": "In wachtrij", + "event-status-processing": "Wordt verwerkt", + "event-status-finished": "Voltooid", + "event-status-error": "Fout", + "event-status-start-failed": "Starten mislukt", + "bulk-status-queued": "In wachtrij", + "bulk-status-in-progress": "Bezig", + "bulk-status-started": "Gestart", + "bulk-status-start-failed": "Starten mislukt", + "unit-type-container": "Container", + "unit-type-volume": "Volume", + "unit-type-network": "Netwerk", + "app-events": "Gebeurtenissen", + "app-metrics": "Metrieken", + "app-copy-id": "Applicatie-ID kopiëren", + "app-id-copied-message": "Applicatie-ID is naar het klembord gekopieerd", + "app-upgrade-available": "Upgrade beschikbaar: {{version}}", + "app-unit-identifier": "ID", + "app-unit-image": "Image", + "app-unit-state": "Status", + "app-unit-filter": "Eenheidsfilter", + "app-unit-filter-with-values": "Filter: {{values}}", + "app-unit-logs": "Containerlogs", + "app-unit-view-logs": "Containerlogs bekijken", + "filter-all-count": "Alle ({{count}})", + "filter-errors-count": "Fouten ({{count}})", + "filter-running-count": "Actief ({{count}})", + "log-agent-offline-paused": "Agent offline · stream gepauzeerd", + "log-agent-online": "Agent online", + "log-back-to-application": "Terug naar applicatie", + "log-buffered": "+ {{count}} gebufferd", + "log-chip-app": "App", + "log-clear": "Logboek wissen", + "log-clear-highlight": "Markering wissen", + "log-copy-all": "Alles kopiëren", + "log-copy-all-lines": "Alle logregels kopiëren", + "log-download": "Logboek downloaden", + "log-dropped": "{{count}} verloren", + "log-dropped-hint": "Logregels die de Agent heeft verloren voordat ze deze weergave bereikten", + "log-dropped-total": "Totaal aantal verloren regels", + "log-follow-latest": "Nieuwste volgen", + "log-gap": "{ count, plural, =1 {# logblok verloren} other {# logblokken verloren} } (bufferlimiet bereikt)", + "log-highlight": "Markeren…", + "log-highlight-lines": "Logregels markeren", + "log-jump-to-latest": "Naar nieuwste gaan", + "log-lines-unit": "{ count, plural, =1 {regel} other {regels} }", + "log-live": "Live", + "log-pause-resume-stream": "Stream pauzeren of hervatten", + "log-pause-stream": "Stream pauzeren", + "log-paused": "Gepauzeerd", + "log-resume-stream": "Stream hervatten", + "log-stream-paused": "Stream gepauzeerd", + "log-waiting": "Wachten op logregels…", + "metrics-all-containers": "Alle containers", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{percent}}% van {{cores}} cores (limiet {{cap}}%)", + "metrics-disk": "Schijf", + "metrics-memory": "Geheugen", + "metrics-show-charts": "Grafieken weergeven", + "metrics-updated-at": "Bijgewerkt om {{time}}", + "metrics-used-of-total": "{{used}} van {{total}} ({{percent}}%)", + "metrics-volumes": "Volumes", + "stats-done": "{{count}} voltooid", + "stats-error": "{{count}} mislukt", + "stats-pending": "{{count}} in afwachting", + "stats-running": "{{count}} actief", + "app-no-units": "Geen eenheden gevonden.", + "app-no-events": "Geen gebeurtenissen gevonden.", + "app-event-app-name": "Applicatie", + "app-event-agent-name": "Agent", + "app-event-action": "Actie", + "app-event-status": "Uitvoeringsstatus", + "app-event-execution": "Uitvoering", + "app-event-execution-not-started": "Niet gestart", + "app-event-execution-started": "Gestart", + "app-event-execution-delivery-failed": "Levering mislukt", + "app-event-filter": "Gebeurtenisfilter", + "app-event-filter-with-values": "Filter: {{values}}", + "app-event-current-activity": "Huidige activiteit", + "app-event-show-error": "Fout weergeven", + "app-event-error-title": "Gebeurtenisfout", + "upgrade-agent-action": "Agent upgraden", + "image": "Image", + "version-unknown": "niet gerapporteerd", + "up-to-date": "Up-to-date", + "upgrade-to": "Upgraden naar {{version}}", + "upgrade-agent-title": "Agent upgraden", + "upgrade-agent-text": "De Agent {{agentName}} vervangt zijn eigen container door de image hieronder. De Agent blijft tijdens het hele proces bereikbaar en applicatieopdrachten worden gepauzeerd totdat de upgrade is voltooid.", + "upgrade-agent-hint": "Er is een nieuwere Agent-image gepubliceerd", + "upgrade-agent-hint-unavailable": "Er is geen nieuwere Agent-image bekend — de Agent is mogelijk al up-to-date, of de versie kon niet worden bepaald", + "upgrade-current-image": "Huidige image", + "upgrade-target-image": "Doelimage", + "upgrade-target-image-hint": "Een tag of een referentie met vastgezette digest, bijv. thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "Doelimage is verplicht.", + "agent-upgrade-subject": "Agent-upgrade", + "agent-upgrade-subject-label": "Actie", + "agent-upgrade-step-prepare": "Vervangende container voorbereiden", + "agent-upgrade-step-finalize": "Overdragen en de vorige container verwijderen", + "app-event-progress-title": "Voortgang van gebeurtenis", + "app-event-progress-loading": "Sjabloon laden...", + "app-event-progress-load-failed": "Kan de voortgang van de gebeurtenis niet laden.", + "app-event-progress-no-template": "Er is geen sjabloon aan deze applicatie gekoppeld.", + "app-event-step-completed": "Voltooid", + "app-event-step-processing": "Wordt verwerkt", + "app-event-step-error": "Mislukt", + "app-event-step-waiting": "Wachten", + "app-event-current-step": "Huidige stap", + "app-event-created": "Aangemaakt", + "app-event-updated": "Bijgewerkt", + "app-event-cancel": "Annuleren", + "app-event-cancel-title": "Gebeurtenis annuleren?", + "app-event-cancel-text": "De lopende gebeurtenis wordt op de Agent geannuleerd.", + "app-event-view-in-events": "Bekijken in gebeurtenissen", + "app-save-update-hint-title": "Wijzigingen opgeslagen", + "app-save-update-hint": "De wijzigingen zijn opgeslagen in ThingsBoard, maar de Agent draait nog met de vorige configuratie. Klik op de actieknop 'Bijwerken' van deze applicatie om de wijzigingen op de Agent toe te passen.", + "app-save-update-hint-action": "Nu bijwerken", + "app-deleted": "Applicatie verwijderd", + "group": "Groep van Agents", + "list-of-groups": "{ count, plural, =1 {Eén Agent-groep} other {Lijst van # Agent-groepen} }", + "group-name-starts-with": "Agent-groepen waarvan de naam begint met '{{prefix}}'", + "application-group": "Groep van applicaties", + "list-of-application-groups": "{ count, plural, =1 {Eén applicatiegroep} other {Lijst van # applicatiegroepen} }", + "application-group-name-starts-with": "Applicatiegroepen waarvan de naam begint met '{{prefix}}'", + "all": "Alle", + "all-agents": "Alle Agents", + "groups": "Groepen", + "shared": "Gedeeld" }, "edge-event": { "type-dashboard": "Dashboard", @@ -3526,16 +4299,16 @@ "action-type-timeseries-updated": "Tijdreeks bijgewerkt", "action-type-credentials-updated": "Referenties bijgewerkt", "action-type-assigned-to-customer": "Toegewezen aan klant", - "action-type-unassigned-from-customer": "Ontkoppeld van klant", + "action-type-unassigned-from-customer": "Toewijzing aan klant ingetrokken", "action-type-relation-add-or-update": "Relatie toegevoegd/bijgewerkt", "action-type-relation-deleted": "Relatie verwijderd", "action-type-rpc-call": "RPC-oproep", "action-type-alarm-ack": "Alarm bevestigd", - "action-type-alarm-clear": "Alarm gewist", + "action-type-alarm-clear": "Alarm opgeheven", "action-type-alarm-assigned": "Alarm toegewezen", "action-type-alarm-unassigned": "Alarm ontkoppeld", "action-type-assigned-to-edge": "Toegewezen aan edge", - "action-type-unassigned-from-edge": "Ontkoppeld van edge", + "action-type-unassigned-from-edge": "Toewijzing aan Edge ingetrokken", "action-type-credentials-request": "Referentieaanvraag", "action-type-entity-merge-request": "Entiteitsmerge-aanvraag", "action-type-added-to-entity-group": "Toegevoegd aan entiteitsgroep", @@ -3545,13 +4318,16 @@ "disconnected": "Verbinding verbroken" }, "error": { - "unable-to-connect": "Kan geen verbinding maken met de server! Controleer uw internetverbinding.", + "data-export-failed": "Gegevensexport mislukt: de implementatiemodus kon niet worden bepaald. Probeer het opnieuw.", + "unable-to-connect": "Kan geen verbinding maken met de server! Controleer je internetverbinding.", "unhandled-error-code": "Onbehandelde foutcode: {{errorCode}}", "unknown-error": "Onbekende fout" }, "entity": { "entity": "Entiteit", "entities": "Entiteiten", + "devices-and-assets": "Apparaten & assets", + "data-processing": "Gegevensverwerking", "entities-count": "Aantal entiteiten", "alarms-count": "Aantal alarmen", "aliases": "Entiteit-aliasen", @@ -3569,21 +4345,21 @@ "add-alias": "Voeg entiteit-alias toe", "edit-alias": "Bewerk entiteit-alias", "entity-list": "Entiteitenlijst", - "entity-type": "Entiteittype", - "entity-types": "Entiteittypes", - "entity-type-list": "Lijst met entiteittypes", + "entity-type": "Entiteitstype", + "entity-types": "Entiteitstypes", + "entity-type-list": "Lijst met entiteitstypes", "any-entity": "Elke entiteit", - "add-entity-type": "Voeg entiteittype toe", - "enter-entity-type": "Voer entiteittype in", + "add-entity-type": "Voeg entiteitstype toe", + "enter-entity-type": "Voer entiteitstype in", "no-entities-matching": "Geen entiteiten gevonden die overeenkomen met '{{entity}}'.", "no-entities-text": "Geen entiteiten gevonden", - "no-entity-types-matching": "Geen entiteittypes gevonden die overeenkomen met '{{entityType}}'.", + "no-entity-types-matching": "Geen entiteitstypes gevonden die overeenkomen met '{{entityType}}'.", "name-starts-with": "Naamexpressie", "help-text": "Gebruik '%' naar behoefte: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with%'.", "use-entity-name-filter": "Gebruik filter", "entity-list-empty": "Geen entiteiten geselecteerd.", - "entity-type-list-required": "Minstens één entiteittype moet worden geselecteerd.", - "entity-name-filter-required": "Entiteitnaamfilter is vereist.", + "entity-type-list-required": "Selecteer minstens één entiteitstype.", + "entity-name-filter-required": "Entiteitsnaamfilter is verplicht.", "entity-name-filter-no-entity-matched": "Geen entiteiten gevonden die beginnen met '{{entity}}'.", "all-subtypes": "Alle", "select-entities": "Selecteer entiteiten", @@ -3597,7 +4373,7 @@ "no-key-matching": "'{{key}}' niet gevonden.", "create-new-key": "Maak een nieuwe!", "type": "Type", - "type-required": "Entiteittype is vereist.", + "type-required": "Entiteitstype is verplicht.", "type-device": "Apparaat", "type-devices": "Apparaten", "list-of-devices": "{ count, plural, =1 {Een apparaat} other {Lijst van # apparaten} }", @@ -3655,10 +4431,10 @@ "type-rulechains": "Regelketens", "list-of-rulechains": "{ count, plural, =1 {Eén regelketen} other {Lijst van # regelketens} }", "rulechain-name-starts-with": "Regelketens met namen die beginnen met '{{prefix}}'", - "type-scheduler-event": "Planner gebeurtenis", - "type-scheduler-events": "Planner gebeurtenissen", - "list-of-scheduler-events": "{ count, plural, =1 {Eén planner gebeurtenis} other {Lijst van # planner gebeurtenissen} }", - "scheduler-event-name-starts-with": "Planner gebeurtenissen met namen die beginnen met '{{prefix}}'", + "type-scheduler-event": "Plannergebeurtenis", + "type-scheduler-events": "Plannergebeurtenissen", + "list-of-scheduler-events": "{ count, plural, =1 {Eén plannergebeurtenis} other {Lijst van # plannergebeurtenissen} }", + "scheduler-event-name-starts-with": "Plannergebeurtenissen met namen die beginnen met '{{prefix}}'", "type-blob-entity": "Blob-entiteit", "type-blob-entities": "Blob-entiteiten", "list-of-blob-entities": "{ count, plural, =1 {Eén blob-entiteit} other {Lijst van # blob-entiteiten} }", @@ -3671,9 +4447,9 @@ "type-reports": "Rapporten", "list-of-reports": "{ count, plural, =1 {Eén rapport} other {Lijst van # rapporten} }", "report-name-starts-with": "Rapporten waarvan de namen beginnen met '{{prefix}}'", - "type-rulenode": "Regelknoop", + "type-rulenode": "Regelnode", "type-rulenodes": "Regelknopen", - "list-of-rulenodes": "{ count, plural, =1 {Eén regelknoop} other {Lijst van # regelknopen} }", + "list-of-rulenodes": "{ count, plural, =1 {Eén regelnode} other {Lijst van # regelnodes} }", "rulenode-name-starts-with": "Regelknopen waarvan de namen beginnen met '{{prefix}}'", "type-api-key": "API-sleutel", "type-api-keys": "API-sleutels", @@ -3703,6 +4479,7 @@ "columns-to-display": "Kolommen om weer te geven", "type-api-usage-state": "API-gebruikstoestand", "type-entity-group": "Entiteitengroep", + "type-entity-groups": "Entiteitengroepen", "type-converter": "Dataconverter", "type-converters": "Dataconverters", "list-of-converters": "{ count, plural, =1 {Eén dataconverter} other {Lijst van # dataconverters} }", @@ -3720,9 +4497,31 @@ "type-edges": "Edges", "list-of-edges": "{ count, plural, =1 {Eén edge} other {Lijst van # edges} }", "edge-name-starts-with": "Edges met namen die beginnen met '{{prefix}}'", + "type-agent": "Agent", + "type-agents": "Agents", + "list-of-agents": "{ count, plural, =1 {Eén Agent} other {Lijst van # Agents} }", + "agent-name-starts-with": "Agents waarvan de naam begint met '{{prefix}}'", + "type-agent-profile": "Agent-profiel", + "type-agent-profiles": "Agent-profielen", + "list-of-agent-profiles": "{ count, plural, =1 {Eén Agent-profiel} other {Lijst van # Agent-profielen} }", + "agent-profile-name-starts-with": "Agent-profielen waarvan de naam begint met '{{prefix}}'", + "type-agent-application": "Applicatie", + "type-agent-applications": "Applicaties", + "list-of-agent-applications": "{ count, plural, =1 {Eén applicatie} other {Lijst van # applicaties} }", + "agent-application-name-starts-with": "Applicaties waarvan de naam begint met '{{prefix}}'", + "type-agent-app-profile": "Applicatieprofiel", + "type-agent-app-profiles": "Applicatieprofielen", + "list-of-agent-app-profiles": "{ count, plural, =1 {Eén applicatieprofiel} other {Lijst van # applicatieprofielen} }", + "agent-app-profile-name-starts-with": "Applicatieprofielen waarvan de naam begint met '{{prefix}}'", + "type-agent-app-event": "Agent-appgebeurtenis", + "type-agent-app-events": "Agent-appgebeurtenissen", + "type-agent-app-unit": "Agent-appeenheid", + "type-agent-app-units": "Agent-appeenheden", + "type-agent-bulk-action": "Bulkactie", + "type-agent-bulk-actions": "Bulkacties", "version-conflict": { - "message": "Wilt u de bestaande versie overschrijven of de wijzigingen negeren en de laatste versie laden?", - "link": "U kunt uw versie van de {{entityType}} downloaden via deze", + "message": "Wil je de bestaande versie overschrijven of de wijzigingen negeren en de laatste versie laden?", + "link": "Je kunt jouw versie ({{entityType}}) downloaden via deze", "overwrite": "Versie overschrijven", "discard": "Wijzigingen negeren" }, @@ -3770,15 +4569,15 @@ "type-mobile-app-bundle": "Mobiele bundel", "type-mobile-app-bundles": "Mobiele bundels", "list-of-mobile-app-bundles": "{ count, plural, =1 {Eén mobiele bundel} other {Lijst van # mobiele bundels} }", - "type-secret-storage": "Geheugen voor geheimen", + "type-secret-storage": "Geheimenopslag", "limit-reached": "Limiet bereikt", - "limit-reached-text": "U heeft de limiet van {{ entities }} bereikt. Vraag uw systeembeheerder om uw limiet voor {{ entity }} te verhogen en meer toe te voegen.", + "limit-reached-text": "Je hebt de limiet van {{ entities }} bereikt. Vraag je systeembeheerder om je limiet voor {{ entity }} te verhogen als je meer wilt toevoegen.", "request-limit-increase": "Limietverhoging aanvragen", - "request-sysadmin-text": "Bent u de systeembeheerder?", - "login-here": "Hier aanmelden", + "request-sysadmin-text": "Ben je de systeembeheerder?", + "login-here": "Hier inloggen", "to-increase-limit": "om de limiet te verhogen.", - "increase-limit-request-sent-title": "We hebben een geautomatiseerd verzoek naar uw systeembeheerder gestuurd om de limiet te verhogen", - "increase-limit-request-sent-text": "Geef hen de tijd om het verzoek te beoordelen en de instellingen bij te werken. Mogelijk moet u deze pagina vernieuwen om de wijzigingen te zien." + "increase-limit-request-sent-title": "We hebben een automatisch verzoek naar je systeembeheerder gestuurd om de limiet te verhogen", + "increase-limit-request-sent-text": "Geef hen de tijd om het verzoek te beoordelen en de instellingen bij te werken. Mogelijk moet je deze pagina vernieuwen om de wijzigingen te zien." }, "entity-group": { "entity-group": "Entiteitengroep", @@ -3811,9 +4610,9 @@ "entity-group-details": "Entiteitengroepdetails", "selected-entity-groups": "{ count, plural, =1 {1 entiteitengroep} other {# entiteitengroepen} } geselecteerd", "delete-entity-groups": "Entiteitengroepen verwijderen", - "delete-entity-group-title": "Weet u zeker dat u de entiteitengroep '{{entityGroupName}}' wilt verwijderen?", + "delete-entity-group-title": "Weet je zeker dat je de entiteitengroep '{{entityGroupName}}' wilt verwijderen?", "delete-entity-group-text": "Let op, na bevestiging wordt de entiteitengroep en alle gerelateerde gegevens permanent verwijderd.", - "delete-entity-groups-title": "Weet u zeker dat u { count, plural, =1 {1 entiteitengroep} other {# entiteitengroepen} } wilt verwijderen?", + "delete-entity-groups-title": "Weet je zeker dat je { count, plural, =1 {1 entiteitengroep} other {# entiteitengroepen} } wilt verwijderen?", "delete-entity-groups-action-title": "Verwijder { count, plural, =1 {1 entiteitengroep} other {# entiteitengroepen} }", "delete-entity-groups-text": "Let op, na bevestiging worden alle geselecteerde entiteitengroepen verwijderd en alle gerelateerde gegevens permanent verwijderd.", "device-groups": "Apparaatgroepen", @@ -3827,15 +4626,18 @@ "user-group": "Gebruikersgroep", "user-groups": "Gebruikersgroepen", "customer-group": "Klantgroep", - "entity-view-groups": "Entiteitweergavegroepen", - "shared-entity-view-groups": "Gedeelde entiteitweergavegroepen", - "entity-view-group": "Entiteitweergavegroep", + "entity-view-groups": "Entiteitsweergavegroepen", + "shared-entity-view-groups": "Gedeelde entiteitsweergavegroepen", + "entity-view-group": "Entiteitsweergavegroep", "edge-groups": "Edge-groepen", "shared-edge-groups": "Gedeelde edge-groepen", "edge-group": "Edge-groep", "dashboard-groups": "Dashboardgroepen", "shared-dashboard-groups": "Gedeelde dashboardgroepen", "dashboard-group": "Dashboardgroep", + "agent-groups": "Agent-groepen", + "shared-agent-groups": "Gedeelde Agent-groepen", + "agent-group": "Agent-groep", "fetch-more": "Meer ophalen", "column-type": { "column-type": "Kolomtype", @@ -3882,7 +4684,7 @@ "no-owners-matching": "Geen eigenaars gevonden die overeenkomen met '{{owner}}'.", "no-owners-text": "Geen eigenaars gevonden", "target-owner-required": "Doeleigenaar is verplicht.", - "confirm-change-owner-title": "Weet u zeker dat u de eigenaar wilt wijzigen voor { count, plural, =1 {1 geselecteerde entiteit} other {# geselecteerde entiteiten} }?", + "confirm-change-owner-title": "Weet je zeker dat je de eigenaar wilt wijzigen voor { count, plural, =1 {1 geselecteerde entiteit} other {# geselecteerde entiteiten} }?", "confirm-change-owner-text": "Let op, na bevestiging worden alle geselecteerde entiteiten verwijderd van de huidige eigenaar en verplaatst naar groep 'Alle' van de doeleigenaar.", "add-to-group": "Toevoegen aan groep", "move-to-group": "Verplaatsen naar groep", @@ -3913,7 +4715,7 @@ "enable-customers-management": "Klantenbeheer inschakelen", "enable-assets-management": "Assetbeheer inschakelen", "enable-devices-management": "Apparaatbeheer inschakelen", - "enable-entity-views-management": "Entiteitweergavebeheer inschakelen", + "enable-entity-views-management": "Entiteitsweergavebeheer inschakelen", "enable-edges-management": "Edgebeheer inschakelen", "enable-dashboards-management": "Dashboardbeheer inschakelen", "enable-scheduler-events-management": "Beheer van geplande gebeurtenissen inschakelen", @@ -3931,9 +4733,9 @@ "entity-group-public": "Entiteitengroep is openbaar", "make-public": "Entiteitengroep openbaar maken", "make-private": "Entiteitengroep privé maken", - "make-public-entity-group-title": "Weet u zeker dat u de entiteitengroep '{{entityGroupName}}' openbaar wilt maken?", + "make-public-entity-group-title": "Weet je zeker dat je de entiteitengroep '{{entityGroupName}}' openbaar wilt maken?", "make-public-entity-group-text": "Na bevestiging wordt de entiteitengroep en alle entiteiten openbaar en toegankelijk voor anderen.", - "make-private-entity-group-title": "Weet u zeker dat u de entiteitengroep '{{entityGroupName}}' privé wilt maken?", + "make-private-entity-group-title": "Weet je zeker dat je de entiteitengroep '{{entityGroupName}}' privé wilt maken?", "make-private-entity-group-text": "Na bevestiging wordt de entiteitengroep en alle entiteiten privé en niet toegankelijk voor anderen.", "share": "Entiteitengroep delen", "copyId": "Kopieer entiteitengroep-ID", @@ -3974,92 +4776,92 @@ }, "entity-view": { "all": "Alles", - "all-entity-views": "Alle entiteitweergaven", + "all-entity-views": "Alle entiteitsweergaven", "groups": "Groepen", "shared": "Gedeeld", - "entity-view": "Entiteitweergave", - "entity-view-required": "Entiteitweergave is verplicht.", - "entity-views": "Entiteitweergaven", - "management": "Beheer van entiteitweergaven", - "view-entity-views": "Bekijk entiteitweergaven", - "entity-view-alias": "Alias voor entiteitweergave", - "aliases": "Aliassen voor entiteitweergave", + "entity-view": "Entiteitsweergave", + "entity-view-required": "Entiteitsweergave is verplicht.", + "entity-views": "Entiteitsweergaven", + "management": "Beheer van entiteitsweergaven", + "view-entity-views": "Entiteitsweergaven bekijken", + "entity-view-alias": "Alias voor entiteitsweergave", + "aliases": "Aliassen voor entiteitsweergave", "no-alias-matching": "'{{alias}}' niet gevonden.", "no-aliases-found": "Geen aliassen gevonden.", "no-key-matching": "'{{key}}' niet gevonden.", "no-keys-found": "Geen sleutels gevonden.", "create-new-alias": "Maak een nieuwe aan!", "create-new-key": "Maak een nieuwe aan!", - "duplicate-alias-error": "Dubbele alias gevonden '{{alias}}'.
    Aliassen voor entiteitweergaven moeten uniek zijn binnen het dashboard.", + "duplicate-alias-error": "Dubbele alias gevonden '{{alias}}'.
    Aliassen voor entiteitsweergaven moeten uniek zijn binnen het dashboard.", "configure-alias": "Configureer alias '{{alias}}'", - "no-entity-views-matching": "Geen entiteitweergaven gevonden die overeenkomen met '{{entity}}'.", + "no-entity-views-matching": "Geen entiteitsweergaven gevonden die overeenkomen met '{{entity}}'.", "public": "Openbaar", "alias": "Alias", - "alias-required": "Alias voor entiteitweergave is verplicht.", - "remove-alias": "Alias van entiteitweergave verwijderen", - "add-alias": "Alias voor entiteitweergave toevoegen", - "name-starts-with": "Naamexpressie van entiteitweergave", + "alias-required": "Alias voor entiteitsweergave is verplicht.", + "remove-alias": "Alias van entiteitsweergave verwijderen", + "add-alias": "Alias voor entiteitsweergave toevoegen", + "name-starts-with": "Naamexpressie van entiteitsweergave", "help-text": "Gebruik '%' naar behoefte: '%entity-view_name_contains%', '%entity-view_name_ends', 'entity-view_starts_with%'.", - "entity-view-list": "Lijst van entiteitweergaven", + "entity-view-list": "Lijst van entiteitsweergaven", "use-entity-view-name-filter": "Filter gebruiken", - "entity-view-list-empty": "Geen entiteitweergaven geselecteerd.", - "entity-view-name-filter-required": "Naamfilter voor entiteitweergave is verplicht.", - "entity-view-name-filter-no-entity-view-matched": "Geen entiteitweergaven gevonden die beginnen met '{{entityView}}'.", - "add": "Entiteitweergave toevoegen", - "entity-view-public": "Entiteitweergave is openbaar", + "entity-view-list-empty": "Geen entiteitsweergaven geselecteerd.", + "entity-view-name-filter-required": "Naamfilter voor entiteitsweergave is verplicht.", + "entity-view-name-filter-no-entity-view-matched": "Geen entiteitsweergaven gevonden die beginnen met '{{entityView}}'.", + "add": "Entiteitsweergave toevoegen", + "entity-view-public": "Entiteitsweergave is openbaar", "assign-to-customer": "Toewijzen aan klant", - "assign-entity-view-to-customer": "Entiteitweergave(n) toewijzen aan klant", - "assign-entity-view-to-customer-text": "Selecteer de entiteitweergaven die u aan de klant wilt toewijzen", - "no-entity-views-text": "Geen entiteitweergaven gevonden", - "assign-to-customer-text": "Selecteer de klant aan wie u de entiteitweergave(n) wilt toewijzen", - "entity-view-details": "Details van entiteitweergave", - "add-entity-view-text": "Nieuwe entiteitweergave toevoegen", - "delete": "Entiteitweergave verwijderen", - "assign-entity-views": "Entiteitweergaven toewijzen", - "assign-entity-views-text": "{ count, plural, =1 {1 entiteitweergave toewijzen aan klant} other {# entiteitweergaven toewijzen aan klant} }", - "delete-entity-views": "Entiteitweergaven verwijderen", - "make-public": "Maak entiteitweergave openbaar", - "make-private": "Maak entiteitweergave privé", - "unassign-from-customer": "Ontkoppel van klant", - "unassign-entity-views": "Entiteitweergaven ontkoppelen", - "unassign-entity-views-action-title": "{ count, plural, =1 {1 entiteitweergave ontkoppelen van klant} other {# entiteitweergaven ontkoppelen van klant} }", - "assign-new-entity-view": "Nieuwe entiteitweergave toewijzen", - "delete-entity-view-title": "Weet u zeker dat u de entiteitweergave '{{entityViewName}}' wilt verwijderen?", - "delete-entity-view-text": "Let op: na bevestiging wordt de entiteitweergave en alle bijbehorende gegevens permanent verwijderd.", - "delete-entity-views-title": "Weet u zeker dat u { count, plural, =1 {1 entiteitweergave} other {# entiteitweergaven} } wilt verwijderen?", - "delete-entity-views-action-title": "Verwijder { count, plural, =1 {1 entiteitweergave} other {# entiteitweergaven} }", - "delete-entity-views-text": "Let op: na bevestiging worden alle geselecteerde entiteitweergaven en bijbehorende gegevens permanent verwijderd.", - "make-public-entity-view-title": "Weet u zeker dat u de entiteitweergave '{{entityViewName}}' openbaar wilt maken?", - "make-public-entity-view-text": "Na bevestiging wordt de entiteitweergave en alle gegevens openbaar gemaakt en toegankelijk voor anderen.", - "make-private-entity-view-title": "Weet u zeker dat u de entiteitweergave '{{entityViewName}}' privé wilt maken?", - "make-private-entity-view-text": "Na bevestiging wordt de entiteitweergave en alle gegevens privé gemaakt en niet toegankelijk voor anderen.", - "unassign-entity-view-title": "Weet u zeker dat u de entiteitweergave '{{entityViewName}}' wilt ontkoppelen?", - "unassign-entity-view-text": "Na bevestiging wordt de entiteitweergave ontkoppeld en is deze niet langer toegankelijk voor de klant.", - "unassign-entity-view": "Ontkoppel entiteitweergave", - "unassign-entity-views-title": "Weet u zeker dat u { count, plural, =1 {1 entiteitweergave} other {# entiteitweergaven} } wilt ontkoppelen?", - "unassign-entity-views-text": "Na bevestiging worden alle geselecteerde entiteitweergaven ontkoppeld en zijn ze niet langer toegankelijk voor de klant.", - "entity-view-type": "Type entiteitweergave", - "entity-view-type-required": "Type entiteitweergave is verplicht.", - "select-entity-view-type": "Selecteer type entiteitweergave", - "enter-entity-view-type": "Voer type entiteitweergave in", - "any-entity-view": "Elke entiteitweergave", - "no-entity-view-types-matching": "Geen entiteitweergavetypes gevonden die overeenkomen met '{{entitySubtype}}'.", - "entity-view-type-list-empty": "Geen entiteitweergavetypes geselecteerd.", - "entity-view-types": "Entiteitweergavetypes", + "assign-entity-view-to-customer": "Entiteitsweergave(n) toewijzen aan klant", + "assign-entity-view-to-customer-text": "Selecteer de entiteitsweergaven die je aan de klant wilt toewijzen", + "no-entity-views-text": "Geen entiteitsweergaven gevonden", + "assign-to-customer-text": "Selecteer de klant aan wie je de entiteitsweergave(n) wilt toewijzen", + "entity-view-details": "Details van entiteitsweergave", + "add-entity-view-text": "Nieuwe entiteitsweergave toevoegen", + "delete": "Entiteitsweergave verwijderen", + "assign-entity-views": "Entiteitsweergaven toewijzen", + "assign-entity-views-text": "{ count, plural, =1 {1 entiteitsweergave toewijzen aan klant} other {# entiteitsweergaven toewijzen aan klant} }", + "delete-entity-views": "Entiteitsweergaven verwijderen", + "make-public": "Entiteitsweergave openbaar maken", + "make-private": "Entiteitsweergave privé maken", + "unassign-from-customer": "Toewijzing aan klant intrekken", + "unassign-entity-views": "Toewijzing van entiteitsweergaven intrekken", + "unassign-entity-views-action-title": "{ count, plural, =1 {Toewijzing van 1 entiteitsweergave aan klant intrekken} other {Toewijzing van # entiteitsweergaven aan klant intrekken} }", + "assign-new-entity-view": "Nieuwe entiteitsweergave toewijzen", + "delete-entity-view-title": "Weet je zeker dat je de entiteitsweergave '{{entityViewName}}' wilt verwijderen?", + "delete-entity-view-text": "Let op: na bevestiging worden de entiteitsweergave en alle bijbehorende gegevens permanent verwijderd.", + "delete-entity-views-title": "Weet je zeker dat je { count, plural, =1 {1 entiteitsweergave} other {# entiteitsweergaven} } wilt verwijderen?", + "delete-entity-views-action-title": "{ count, plural, =1 {1 entiteitsweergave verwijderen} other {# entiteitsweergaven verwijderen} }", + "delete-entity-views-text": "Let op: na bevestiging worden alle geselecteerde entiteitsweergaven en bijbehorende gegevens permanent verwijderd.", + "make-public-entity-view-title": "Weet je zeker dat je de entiteitsweergave '{{entityViewName}}' openbaar wilt maken?", + "make-public-entity-view-text": "Na bevestiging worden de entiteitsweergave en alle gegevens openbaar gemaakt en toegankelijk voor anderen.", + "make-private-entity-view-title": "Weet je zeker dat je de entiteitsweergave '{{entityViewName}}' privé wilt maken?", + "make-private-entity-view-text": "Na bevestiging worden de entiteitsweergave en alle gegevens privé gemaakt en zijn ze niet toegankelijk voor anderen.", + "unassign-entity-view-title": "Weet je zeker dat je de toewijzing van de entiteitsweergave '{{entityViewName}}' wilt intrekken?", + "unassign-entity-view-text": "Na bevestiging is de entiteitsweergave niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", + "unassign-entity-view": "Toewijzing van entiteitsweergave intrekken", + "unassign-entity-views-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {1 entiteitsweergave} other {# entiteitsweergaven} } wilt intrekken?", + "unassign-entity-views-text": "Na bevestiging zijn alle geselecteerde entiteitsweergaven niet meer aan de klant toegewezen en heeft de klant er geen toegang meer toe.", + "entity-view-type": "Type entiteitsweergave", + "entity-view-type-required": "Type entiteitsweergave is verplicht.", + "select-entity-view-type": "Selecteer type entiteitsweergave", + "enter-entity-view-type": "Voer type entiteitsweergave in", + "any-entity-view": "Elke entiteitsweergave", + "no-entity-view-types-matching": "Geen entiteitsweergavetypes gevonden die overeenkomen met '{{entitySubtype}}'.", + "entity-view-type-list-empty": "Geen entiteitsweergavetypes geselecteerd.", + "entity-view-types": "Entiteitsweergavetypes", "created-time": "Aangemaakt op", "name": "Naam", "name-required": "Naam is verplicht.", "name-max-length": "Naam moet minder dan 256 tekens zijn", - "type-max-length": "Type entiteitweergave moet minder dan 256 tekens zijn", + "type-max-length": "Type entiteitsweergave moet korter zijn dan 256 tekens", "description": "Beschrijving", "events": "Gebeurtenissen", "details": "Details", - "copyId": "Kopieer entiteitweergave-ID", - "idCopiedMessage": "Entiteitweergave-ID is gekopieerd naar het klembord", + "copyId": "Entiteitsweergave-ID kopiëren", + "idCopiedMessage": "Entiteitsweergave-ID is gekopieerd naar het klembord", "assignedToCustomer": "Toegewezen aan klant", - "unable-entity-view-device-alias-title": "Kan alias voor entiteitweergave niet verwijderen", + "unable-entity-view-device-alias-title": "Kan alias voor entiteitsweergave niet verwijderen", "unable-entity-view-device-alias-text": "Apparaatalias '{{entityViewAlias}}' kan niet worden verwijderd omdat deze wordt gebruikt door de volgende widget(s):
    {{widgetsList}}", - "select-entity-view": "Selecteer entiteitweergave", + "select-entity-view": "Selecteer entiteitsweergave", "start-ts": "Starttijd", "end-ts": "Eindtijd", "date-limits": "Datumlimieten", @@ -4073,25 +4875,25 @@ "timeseries-placeholder": "Tijdreeks", "target-entity": "Doelentiteit", "attributes-propagation": "Attribuutpropagatie", - "attributes-propagation-hint": "De entiteitweergave kopieert automatisch opgegeven attributen van de doelentiteit telkens wanneer je deze entiteitweergave opslaat of bijwerkt. Om prestatieredenen worden attributen van de doelentiteit niet bij elke wijziging doorgegeven. Je kunt automatische propagatie inschakelen door een \"copy to view\"-regelnode te configureren in je regelketen en \"Post attributes\" en \"Attributes Updated\" berichten eraan te koppelen.", + "attributes-propagation-hint": "De entiteitsweergave kopieert automatisch opgegeven attributen van de doelentiteit telkens wanneer je deze entiteitsweergave opslaat of bijwerkt. Om prestatieredenen worden attributen van de doelentiteit niet bij elke wijziging doorgegeven. Je kunt automatische propagatie inschakelen door een \"copy to view\"-regelnode te configureren in je regelketen en \"Post attributes\"- en \"Attributes Updated\"-berichten eraan te koppelen.", "timeseries-data": "Tijdreeksgegevens", - "timeseries-data-hint": "Configureer de sleutels van tijdreeksgegevens van de doelentiteit die toegankelijk zullen zijn voor de entiteitweergave. Deze tijdreeksgegevens zijn alleen-lezen.", - "select-group-to-add": "Selecteer doelgroep om geselecteerde entiteitweergaven toe te voegen", - "select-group-to-move": "Selecteer doelgroep om geselecteerde entiteitweergaven te verplaatsen", - "remove-entity-views-from-group": "Weet je zeker dat je { count, plural, =1 {1 entiteitweergave} other {# entiteitweergaven} } uit de groep '{{entityGroup}}' wilt verwijderen?", - "group": "Groep van entiteitweergaven", - "list-of-groups": "{ count, plural, =1 {Eén entiteitweergavegroep} other {Lijst van # entiteitweergavegroepen} }", - "group-name-starts-with": "Entiteitweergavegroepen waarvan de naam begint met '{{prefix}}'", - "search": "Zoek entiteitweergaven", - "selected-entity-views": "{ count, plural, =1 {1 entiteitweergave} other {# entiteitweergaven} } geselecteerd", - "assign-entity-view-to-edge": "Wijs entiteitweergave(n) toe aan edge", - "assign-entity-view-to-edge-text": "Selecteer de entiteitweergaven om toe te wijzen aan de edge", - "unassign-entity-view-from-edge-title": "Weet je zeker dat je de entiteitweergave '{{entityViewName}}' wilt loskoppelen?", - "unassign-entity-view-from-edge-text": "Na bevestiging wordt de entiteitweergave losgekoppeld en is deze niet langer toegankelijk via de edge.", - "unassign-entity-views-from-edge-action-title": "Koppel { count, plural, =1 {1 entiteitweergave} other {# entiteitweergaven} } los van edge", - "unassign-entity-view-from-edge": "Koppel entiteitweergave los", - "unassign-entity-views-from-edge-title": "Weet je zeker dat je { count, plural, =1 {1 entiteitweergave} other {# entiteitweergaven} } wilt loskoppelen?", - "unassign-entity-views-from-edge-text": "Na bevestiging worden alle geselecteerde entiteitweergaven losgekoppeld en zijn ze niet langer toegankelijk via de edge." + "timeseries-data-hint": "Configureer de sleutels van tijdreeksgegevens van de doelentiteit die toegankelijk zullen zijn voor de entiteitsweergave. Deze tijdreeksgegevens zijn alleen-lezen.", + "select-group-to-add": "Selecteer doelgroep om geselecteerde entiteitsweergaven toe te voegen", + "select-group-to-move": "Selecteer doelgroep om geselecteerde entiteitsweergaven te verplaatsen", + "remove-entity-views-from-group": "Weet je zeker dat je { count, plural, =1 {1 entiteitsweergave} other {# entiteitsweergaven} } uit de groep '{{entityGroup}}' wilt verwijderen?", + "group": "Groep van entiteitsweergaven", + "list-of-groups": "{ count, plural, =1 {Eén entiteitsweergavegroep} other {Lijst van # entiteitsweergavegroepen} }", + "group-name-starts-with": "Entiteitsweergavegroepen waarvan de naam begint met '{{prefix}}'", + "search": "Zoek entiteitsweergaven", + "selected-entity-views": "{ count, plural, =1 {1 entiteitsweergave} other {# entiteitsweergaven} } geselecteerd", + "assign-entity-view-to-edge": "Entiteitsweergave(n) toewijzen aan Edge", + "assign-entity-view-to-edge-text": "Selecteer de entiteitsweergaven om toe te wijzen aan de Edge", + "unassign-entity-view-from-edge-title": "Weet je zeker dat je de toewijzing van de entiteitsweergave '{{entityViewName}}' wilt intrekken?", + "unassign-entity-view-from-edge-text": "Na bevestiging is de entiteitsweergave niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", + "unassign-entity-views-from-edge-action-title": "Toewijzing van { count, plural, =1 {1 entiteitsweergave} other {# entiteitsweergaven} } aan Edge intrekken", + "unassign-entity-view-from-edge": "Toewijzing van entiteitsweergave intrekken", + "unassign-entity-views-from-edge-title": "Weet je zeker dat je de toewijzing van { count, plural, =1 {1 entiteitsweergave} other {# entiteitsweergaven} } wilt intrekken?", + "unassign-entity-views-from-edge-text": "Na bevestiging zijn alle geselecteerde entiteitsweergaven niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe." }, "event": { "events": "Gebeurtenissen", @@ -4110,6 +4912,7 @@ "result": "Resultaat", "no-events-prompt": "Geen gebeurtenissen gevonden", "error": "Fout", + "errors": "Fouten", "alarm": "Alarm", "event-time": "Gebeurtenistijd", "server": "Server", @@ -4130,6 +4933,8 @@ "event": "Gebeurtenis", "status": "Status", "success": "Succes", + "warning": "Waarschuwing", + "warnings": "Waarschuwingen", "failed": "Mislukt", "messages-processed": "Verwerkte berichten", "max-messages-processed": "Maximum verwerkte berichten", @@ -4142,10 +4947,10 @@ "has-error": "Heeft fout", "entity-id": "Entiteit-ID", "copy-entity-id": "Kopieer entiteit-ID", - "entity-type": "Entiteittype", + "entity-type": "Entiteitstype", "clear-filter": "Filter wissen", "clear-request-title": "Alle gebeurtenissen wissen", - "clear-request-text": "Weet u zeker dat u alle gebeurtenissen wilt wissen?", + "clear-request-text": "Weet je zeker dat je alle gebeurtenissen wilt wissen?", "started": "Gestart", "updated": "Bijgewerkt", "stopped": "Gestopt" @@ -4165,9 +4970,9 @@ "add": "Voeg extensie toe", "edit": "Bewerk extensie", "view": "Bekijk extensie", - "delete-extension-title": "Weet u zeker dat u de extensie '{{extensionId}}' wilt verwijderen?", + "delete-extension-title": "Weet je zeker dat je de extensie '{{extensionId}}' wilt verwijderen?", "delete-extension-text": "Wees voorzichtig, na bevestiging wordt de extensie en alle gerelateerde gegevens onherroepelijk verwijderd.", - "delete-extensions-title": "Weet u zeker dat u { count, plural, =1 {1 extensie} other {# extensies} } wilt verwijderen?", + "delete-extensions-title": "Weet je zeker dat je { count, plural, =1 {1 extensie} other {# extensies} } wilt verwijderen?", "delete-extensions-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde extensies verwijderd.", "converters": "Converters", "converter-id": "Converter-id", @@ -4199,7 +5004,7 @@ "username": "Gebruikersnaam", "password": "Wachtwoord", "retry-interval": "Herhaalinterval in milliseconden", - "sas": "Gedeeld toegangsteken (SAS)", + "sas": "Shared Access Signature", "anonymous": "Anoniem", "basic": "Basis", "pem": "PEM", @@ -4263,7 +5068,7 @@ "opc-keystore-alias": "Alias", "opc-keystore-key-password": "Sleutelwachtwoord", "opc-device-node-pattern": "Apparaatnodepatroon", - "opc-device-name-pattern": "Apparaatnaam patroon", + "opc-device-name-pattern": "Apparaatnaampatroon", "modbus-server": "Servers/slaves", "modbus-add-server": "Voeg server/slave toe", "modbus-add-server-prompt": "Voeg server/slave toe", @@ -4337,7 +5142,7 @@ "no-filter-matching": "'{{filter}}' niet gevonden.", "create-new-filter": "Maak een nieuwe aan!", "create-new": "Maak nieuw", - "filter-required": "Filter is vereist.", + "filter-required": "Filter is verplicht.", "operation": { "operation": "Operatie", "equal": "gelijk aan", @@ -4375,8 +5180,9 @@ "order-priority": "Weergavevolgorde", "key-filter": "Sleutelfilter", "key-filters": "Sleutelfilters", + "or-conditions-disabled": "OR-voorwaarden tussen sleutelfilters zijn uitgeschakeld door de systeembeheerder.", "key-name": "Sleutelnaam", - "key-name-required": "Sleutelnaam is vereist.", + "key-name-required": "Sleutelnaam is verplicht.", "key-type": { "key-type": "Sleuteltype", "attribute": "Attribuut", @@ -4388,28 +5194,28 @@ "shared-attribute": "Gedeeld attribuut" }, "value-type": { - "value-type": "Waarde type", + "value-type": "Waardetype", "string": "Tekenreeks", "numeric": "Numeriek", "boolean": "Boolean", "date-time": "Datumtijd" }, - "value-type-required": "Waarde type is vereist.", - "key-value-type-change-title": "Weet u zeker dat u het waardetype wilt wijzigen?", - "key-value-type-change-message": "Als u bevestigt, worden alle ingevoerde sleutelfilters verwijderd.", + "value-type-required": "Waardetype is verplicht.", + "key-value-type-change-title": "Weet je zeker dat je het waardetype wilt wijzigen?", + "key-value-type-change-message": "Als je het nieuwe waardetype bevestigt, worden alle ingevoerde sleutelfilters verwijderd.", "no-key-filters": "Geen sleutelfilters geconfigureerd", "add-key-filter": "Sleutelfilter toevoegen", "remove-key-filter": "Sleutelfilter verwijderen", "edit-key-filter": "Sleutelfilter bewerken", "date": "Datum", "time": "Tijd", - "current-tenant": "Huidige huurder", + "current-tenant": "Huidige tenant", "current-customer": "Huidige klant", "current-user": "Huidige gebruiker", "current-device": "Huidig apparaat", "default-value": "Standaardwaarde", "default-comma-separated-values": "Standaard komma-gescheiden waarden", - "dynamic-source-type": "Dynamische bron type", + "dynamic-source-type": "Dynamisch brontype", "dynamic-value": "Dynamische waarde", "no-dynamic-value": "Geen dynamische waarde", "source-attribute": "Bronattribuut", @@ -4429,19 +5235,48 @@ "function": "Functie" }, "gateway": { - "gateway-name": "Gateway naam", - "gateway-name-required": "Gateway naam is vereist.", + "gateway-name": "Gatewaynaam", + "gateway-name-required": "Gatewaynaam is verplicht.", "gateways": "Gateways", "create-new-gateway": "Maak een nieuwe gateway aan", - "create-new-gateway-text": "Weet u zeker dat u een nieuwe gateway wilt aanmaken met naam: '{{gatewayName}}'?", + "create-new-gateway-text": "Weet je zeker dat je een nieuwe gateway met de naam '{{gatewayName}}' wilt aanmaken?", "launch-command": "Startcommando", + "launch-choose-subtitle": "Kies hoe je de IoT Gateway voor {{name}} wilt uitvoeren met de referenties van het geselecteerde apparaat.", + "launch-recommended": "Aanbevolen", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "Installeer, upgrade, herstart en monitor op afstand vanuit de cloud — zonder SSH of handmatige opdrachten.", + "launch-agent-point-install": "Installatie op afstand met één klik", + "launch-agent-point-upgrade": "Upgrades uitrollen vanuit de cloud", + "launch-agent-point-restart": "Automatisch herstarten en herstellen", + "launch-agent-point-monitor": "Live statusmonitoring", + "launch-agent-point-bulk": "Bulkacties vanaf de Agent-profielpagina", + "launch-agent-action": "Implementeren met Agent", + "launch-docker-title": "Handmatig met Docker Compose", + "launch-docker-desc": "Download het compose-bestand en voer het zelf uit op de doelmachine.", + "launch-docker-point-up": "Voer docker compose up uit", + "launch-docker-point-control": "Volledige handmatige controle", + "launch-docker-point-updates": "Je beheert de updates zelf", + "launch-docker-point-access": "Directe toegang tot het apparaat", + "launch-docker-action": "Instructies weergeven", + "launch-back": "Terug", "no-gateway-found": "Geen gateway gevonden.", - "no-gateway-matching": "'{{item}}' niet gevonden." + "no-gateway-matching": "'{{item}}' niet gevonden.", + "auto-provision": "Automatische provisioning", + "add-gateway": "Gateway toevoegen", + "auto-provision-title": "Gateway automatisch provisionen", + "auto-provision-info-title": "Hoe het werkt", + "auto-provision-info-body": "Zodra een Agent-profiel is aangemaakt, wordt er een Docker run-opdracht gegenereerd. Wanneer die op een doelmachine wordt uitgevoerd, maakt ThingsBoard automatisch de Agent aan — en het bijbehorende Gateway-apparaat — met de referenties die in de opdracht zijn opgenomen. De Gateway wordt automatisch geconfigureerd op basis van het applicatieprofiel dat aan het Agent-profiel is toegewezen. Je hoeft de Gateway niet handmatig aan te maken.", + "auto-provision-step-select": "Agent-profiel", + "auto-provision-step-script": "Provisioningscript", + "auto-provision-valid": "Klaar voor provisioning — aan '{{profile}}' is een GATEWAY-applicatieprofiel toegewezen.", + "auto-provision-invalid-no-edge-app-profile": "Aan dit profiel is geen GATEWAY-applicatieprofiel toegewezen. Gebruik de knop om er een toe te wijzen.", + "auto-provision-success-message": "Het Agent-profiel is klaar. Voer de opdracht uit op een willekeurige doelmachine om een nieuwe Gateway te provisionen.", + "auto-provision-script-hint": "Voer deze opdracht uit op elke machine die een Gateway moet worden. Bij elke uitvoering wordt één paar Agent + Gateway geprovisioneerd." }, "grid": { - "delete-item-title": "Weet u zeker dat u dit item wilt verwijderen?", + "delete-item-title": "Weet je zeker dat je dit item wilt verwijderen?", "delete-item-text": "Wees voorzichtig, na bevestiging worden dit item en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-items-title": "Weet u zeker dat u { count, plural, =1 {1 item} other {# items} } wilt verwijderen?", + "delete-items-title": "Weet je zeker dat je { count, plural, =1 {1 item} other {# items} } wilt verwijderen?", "delete-items-action-title": "Verwijder { count, plural, =1 {1 item} other {# items} }", "delete-items-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde items verwijderd en zijn alle gerelateerde gegevens onherstelbaar.", "add-item-text": "Nieuw item toevoegen", @@ -4461,19 +5296,23 @@ "logout": "Uitloggen", "menu": "Menu", "avatar": "Avatar", - "open-user-menu": "Open gebruikersmenu" + "open-user-menu": "Open gebruikersmenu", + "go-to": "Ga naar...", + "crumbs-more": "Nog {{more}} in overeenkomende secties", + "no-matches": "Geen overeenkomsten" }, "file-input": { "browse-file": "Blader bestand", "browse-files": "Blader bestanden" }, "image": { + "images": "Afbeeldingen", "gallery": "Afbeeldingengalerij", "search": "Afbeelding zoeken", "selected-images": "{ count, plural, =1 {1 afbeelding} other {# afbeeldingen} } geselecteerd", "created-time": "Aangemaakt op", "name": "Naam", - "name-required": "Naam is vereist.", + "name-required": "Naam is verplicht.", "resolution": "Resolutie", "size": "Grootte", "system": "Systeem", @@ -4485,9 +5324,9 @@ "image-details": "Afbeeldingsdetails", "no-images": "Geen afbeeldingen gevonden", "delete-image": "Verwijder afbeelding", - "delete-image-title": "Weet u zeker dat u afbeelding '{{imageTitle}}' wilt verwijderen?", + "delete-image-title": "Weet je zeker dat je de afbeelding '{{imageTitle}}' wilt verwijderen?", "delete-image-text": "Wees voorzichtig, na bevestiging wordt de afbeelding onherstelbaar verwijderd.", - "delete-images-title": "Weet u zeker dat u { count, plural, =1 {1 afbeelding} other {# afbeeldingen} } wilt verwijderen?", + "delete-images-title": "Weet je zeker dat je { count, plural, =1 {1 afbeelding} other {# afbeeldingen} } wilt verwijderen?", "delete-images-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde afbeeldingen verwijderd en zijn alle gerelateerde gegevens onherstelbaar.", "list-mode": "Lijstweergave", "grid-mode": "Rasterweergave", @@ -4499,8 +5338,8 @@ "image-is-in-use": "Afbeelding wordt gebruikt door andere entiteiten", "images-are-in-use": "Afbeeldingen worden gebruikt door andere entiteiten", "image-is-in-use-text": "De afbeelding '{{title}}' is niet verwijderd omdat deze wordt gebruikt door de volgende entiteiten:", - "images-are-in-use-text": "Niet alle afbeeldingen zijn verwijderd omdat ze worden gebruikt door andere entiteiten.
    U kunt de verwijzingen bekijken door op de knop Referenties in de overeenkomstige afbeeldingsrij te klikken.
    Als u deze afbeeldingen toch wilt verwijderen, selecteer ze dan in de onderstaande tabel en klik op de knop Geselecteerde verwijderen.", - "delete-image-in-use-text": "Als u de afbeelding toch wilt verwijderen, klik dan op de knop Toch verwijderen.", + "images-are-in-use-text": "Niet alle afbeeldingen zijn verwijderd omdat ze worden gebruikt door andere entiteiten.
    Je kunt de verwijzingen bekijken door op de knop Referenties in de overeenkomstige afbeeldingsrij te klikken.
    Als je deze afbeeldingen toch wilt verwijderen, selecteer ze dan in de onderstaande tabel en klik op de knop Geselecteerde verwijderen.", + "delete-image-in-use-text": "Als je de afbeelding toch wilt verwijderen, klik dan op de knop Toch verwijderen.", "system-entities": "Systeementiteiten:", "entities": "entiteiten:", "references": "Referenties", @@ -4587,7 +5426,7 @@ "description": "Beschrijving", "edge-license-key": "Licentiesleutel", "cloud-endpoint": "Cloud endpoint", - "routing-key": "Edge sleutel", + "routing-key": "Edge-sleutel", "secret": "Edge geheim" }, "stepper-text": { @@ -4608,7 +5447,7 @@ "integrations-center": "Integratiecentrum", "select-integration": "Selecteer integratie", "no-integrations-matching": "Geen integraties gevonden die overeenkomen met '{{entity}}'.", - "integration-required": "Integratie is vereist", + "integration-required": "Integratie is verplicht", "delete": "Verwijder integratie", "management": "Integratiebeheer", "add-integration-text": "Nieuwe integratie toevoegen", @@ -4623,7 +5462,7 @@ "delete-integrations-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde integraties verwijderd en zijn niet meer herstelbaar.", "events": "Gebeurtenissen", "enabled": "Integratie inschakelen", - "allow-create-devices-or-assets": "Aanmaken van apparaten of activa toestaan", + "allow-create-devices-or-assets": "Aanmaken van apparaten of assets toestaan", "all-types": "Alle integratietypen", "add": "Integratie toevoegen", "search": "Zoek integraties", @@ -4638,37 +5477,37 @@ "header": "Header", "no-headers-filter": "Geen headerfilter", "downlink-url": "Downlink URL", - "downlink-url-required": "Downlink URL is vereist", + "downlink-url-required": "Downlink-URL is verplicht", "create-loriot-output": "Loriot Application output maken", "send-downlink": "Verzend downlink", "allow-downlink": "Downlink toestaan", "server": "Server", - "server-required": "Server is vereist", + "server-required": "Server is verplicht", "domain": "Domein", "app-id": "Applicatie-ID", - "app-id-required": "Applicatie-ID is vereist", + "app-id-required": "Applicatie-ID is verplicht", "app-token": "Toegangstoken voor applicatie", - "app-token-required": "Applicatie toegangstoken is vereist", + "app-token-required": "Applicatietoegangstoken is verplicht", "email": "E-mail", - "email-required": "E-mail is vereist", + "email-required": "E-mail is verplicht", "application-uri": "Applicatie-URI", "as-id": "AS-ID", - "as-id-required": "AS-ID is vereist.", + "as-id-required": "AS-ID is verplicht.", "as-key": "AS-sleutel", - "as-key-required": "AS-sleutel is vereist.", + "as-key-required": "AS-sleutel is verplicht.", "client-id-new": "Client-ID", - "client-id-new-required": "Client-ID (login) is vereist.", + "client-id-new-required": "Client-ID (login) is verplicht.", "client-secret": "Clientgeheim", - "client-secret-required": "Clientgeheim (wachtwoord) is vereist.", + "client-secret-required": "Clientgeheim (wachtwoord) is verplicht.", "max-time-diff-in-seconds": "Maximale tijdsverschil (seconden)", - "max-time-diff-in-seconds-required": "Maximale tijdsverschil is vereist.", + "max-time-diff-in-seconds-required": "Maximaal tijdsverschil is verplicht.", "created-time": "Aangemaakt op", "name": "Naam", - "name-required": "Naam is vereist.", + "name-required": "Naam is verplicht.", "name-max-length": "Naam moet minder dan 256 tekens bevatten", "description": "Beschrijving", "base-url": "Basis-URL", - "base-url-required": "Basis-URL is vereist", + "base-url-required": "Basis-URL is verplicht", "security-key": "Beveiligingssleutel", "skip": "Overslaan", "http-endpoint": "HTTP endpoint URL", @@ -4676,44 +5515,44 @@ "copy-http-endpoint-url": "Kopieer HTTP endpoint URL", "http-endpoint-url-copied-message": "HTTP endpoint URL is gekopieerd naar klembord", "host": "Host", - "host-required": "Host is vereist.", + "host-required": "Host is verplicht.", "host-private": "Host moet zich in een openbaar netwerk bevinden.", "url-private": "URL moet zich in een openbaar netwerk bevinden.", "host-type": "Hosttype", - "host-type-required": "Hosttype is vereist.", + "host-type-required": "Hosttype is verplicht.", "api-version": "Gebruik API v3", "custom-host": "Aangepaste host", - "custom-host-required": "Aangepaste host is vereist.", + "custom-host-required": "Aangepaste host is verplicht.", "port": "Poort", - "port-required": "Poort is vereist.", + "port-required": "Poort is verplicht.", "endpoint": "Endpoint", "port-range": "Poort moet tussen 1 en 65535 liggen.", "connect-timeout": "Verbindingstime-out (sec)", - "connect-timeout-required": "Verbindingstime-out is vereist.", + "connect-timeout-required": "Verbindingstime-out is verplicht.", "connect-timeout-range": "Verbindingstime-out moet tussen 1 en 200 liggen.", "client-id": "Client-ID", - "client-id-required": "Client-ID is vereist.", + "client-id-required": "Client-ID is verplicht.", "client-id-hint": "Tip: Optioneel. Laat leeg voor automatisch gegenereerde client-ID. Wees voorzichtig met het opgeven van de Client-ID. De meeste MQTT-brokers staan geen meerdere verbindingen toe met dezelfde client-ID. Om verbinding te maken met dergelijke brokers moet je MQTT client-ID uniek zijn.", "max-bytes-in-message": "Maximale bytes in bericht", "max-bytes-in-message-range": "Maximale bytes in bericht moeten tussen 1 en 256000000 liggen.", "device-id": "Apparaat-ID", - "device-id-required": "Apparaat-ID is vereist.", + "device-id-required": "Apparaat-ID is verplicht.", "device-id-range": "Apparaat-ID moet tussen 1 en 65535 tekens bevatten.", "device-id-pattern": "Apparaat-ID moet uit cijfers en hoofd- en kleine letters bestaan. [MQTT-3.1.3-5]", "group-id": "Groep-ID", - "group-id-required": "Groep-ID is vereist.", + "group-id-required": "Groeps-ID is verplicht.", "topics": "Onderwerpen", - "topics-required": "Onderwerp is vereist.", + "topics-required": "Onderwerp is verplicht.", "routing-keys": "Routeringssleutels", - "routing-keys-required": "Routeringssleutel is vereist.", + "routing-keys-required": "Routeringssleutel is verplicht.", "queue": "Wachtrij", - "queue-required": "Naam van wachtrij is vereist.", + "queue-required": "Naam van wachtrij is verplicht.", "durable": "Duurzaam", "exclusive": "Exclusief", "autoDelete": "Automatisch verwijderen", - "exchange-name": "Uitwisselingsnaam", - "exchange-name-required": "Uitwisselingsnaam is vereist.", - "downlink-topic": "Downlink onderwerp", + "exchange-name": "Exchangenaam", + "exchange-name-required": "Exchangenaam is verplicht.", + "downlink-topic": "Downlinkonderwerp", "connection-timeout": "Verbindingstime-out, ms", "connection-timeout-min": "Ongeldige verbindingstime-outwaarde.", "handshake-timeout": "Handshake-timeout, ms", @@ -4722,27 +5561,27 @@ "rabbit-mq-poll-interval": "Poll-interval, ms", "rabbit-mq-poll-interval-min": "Ongeldige poll-intervalwaarde.", "application-server-url": "Applicatieserver-URL", - "application-server-url-required": "Applicatieserver-URL is vereist.", + "application-server-url-required": "Applicatieserver-URL is verplicht.", "application-server-api-token": "Applicatieserver API-token", - "application-server-api-token-required": "Applicatieserver API-token is vereist.", + "application-server-api-token-required": "API-token van applicatieserver is verplicht.", "use-api-four-plus": "Gebruik API voor ChirpStack 4+", "bootstrap-servers": "Bootstrap-servers", "bootstrap-servers-required": "Bootstrap-servers zijn vereist.", "poll-interval": "Poll-interval", - "poll-interval-required": "Poll-interval is vereist.", + "poll-interval-required": "Poll-interval is verplicht.", "poll-interval-min-value": "Poll-intervalwaarde mag niet kleiner zijn dan 1", "auto-create-topics": "Onderwerpen automatisch aanmaken", "clean-session": "Schone sessie", "enable-ssl": "SSL inschakelen", "credentials": "Inloggegevens", "credentials-type": "Type inloggegevens", - "credentials-type-required": "Type inloggegevens is vereist.", + "credentials-type-required": "Type inloggegevens is verplicht.", "username": "Gebruikersnaam", - "username-required": "Gebruikersnaam is vereist.", + "username-required": "Gebruikersnaam is verplicht.", "password": "Wachtwoord", - "password-required": "Wachtwoord is vereist.", + "password-required": "Wachtwoord is verplicht.", "destination-shared-secret": "Bestemming gedeeld geheim", - "destination-shared-secret-required": "Bestemming gedeeld geheim is vereist", + "destination-shared-secret-required": "Gedeeld geheim van bestemming is verplicht", "customer-id": "Klant-ID", "api-id": "API-ID", "azure-ca-cert": "CA-certificaatbestand", @@ -4761,73 +5600,73 @@ "add-topic-filter-prompt": "Voeg een onderwerpfilter toe", "topic": "Onderwerp", "mqtt-qos": "QoS", - "mqtt-qos-required": "QoS is vereist", + "mqtt-qos-required": "QoS is verplicht", "mqtt-qos-range": "QoS-waarden liggen tussen 0 en 2", "mqtt-qos-at-most-once": "Maximaal eenmaal", "mqtt-qos-at-least-once": "Minstens eenmaal", "mqtt-qos-exactly-once": "Precies eenmaal", - "downlink-topic-pattern": "Downlink onderwerp patroon", - "downlink-topic-pattern-required": "Downlink onderwerp patroon is vereist.", + "downlink-topic-pattern": "Patroon voor downlinkonderwerp", + "downlink-topic-pattern-required": "Patroon van downlinkonderwerp is verplicht.", "retained-message": "Bericht behouden", "aws-access-key-id": "AWS toegangssleutel-ID", "aws-secret-access-key": "AWS geheime toegangssleutel", "aws-region": "Regio", "aws-iot-endpoint": "AWS IoT-eindpunt", - "aws-iot-endpoint-required": "AWS IoT-eindpunt is vereist.", + "aws-iot-endpoint-required": "AWS IoT-eindpunt is verplicht.", "aws-iot-credentials": "AWS IoT-inloggegevens", "aws-sqs-polling-period-in-seconds": "Pollperiode in seconden", "aws-sqs-queue-url": "SQS-wachtrij-URL", - "aws-sqs-queue-url-required": "SQS-wachtrij-URL is vereist", - "aws-sqs-access-key-id-required": "Toegangssleutel-ID is vereist", - "aws-sqs-secret-access-key-required": "Geheime toegangssleutel is vereist", + "aws-sqs-queue-url-required": "SQS-wachtrij-URL is verplicht", + "aws-sqs-access-key-id-required": "Toegangssleutel-ID is verplicht", + "aws-sqs-secret-access-key-required": "Geheime toegangssleutel is verplicht", "application-credentials": "Applicatie-inloggegevens", "api-key": "API-sleutel", - "api-key-required": "API-sleutel is vereist.", + "api-key-required": "API-sleutel is verplicht.", "api-key-format": "Ongeldig API-sleutelformaat.", "auth-token": "Authenticatietoken", - "auth-token-required": "Authenticatietoken is vereist.", + "auth-token-required": "Authenticatietoken is verplicht.", "region": "Regio", - "region-required": "Regio is vereist.", + "region-required": "Regio is verplicht.", "application-id": "Applicatie-ID", - "application-id-required": "Applicatie-ID is vereist.", + "application-id-required": "Applicatie-ID is verplicht.", "access-id": "Toegangs-ID", - "access-id-required": "Toegangs-ID is vereist.", + "access-id-required": "Toegangs-ID is verplicht.", "access-key": "Toegangssleutel", - "access-key-required": "Toegangssleutel is vereist.", + "access-key-required": "Toegangssleutel is verplicht.", "access-key-min-length": "Toegangssleutel is te kort.", "access-key-max-length": "Toegangssleutel is te lang.", "connection-parameters": "Verbindingsparameters", "service-bus-namespace-name": "Service Bus Namespace Naam", - "service-bus-namespace-name-required": "Service Bus Namespace Naam is vereist.", + "service-bus-namespace-name-required": "Naam van Service Bus-namespace is verplicht.", "connection-string": "Verbindingsreeks", "consumer-group": "Consumentengroep", - "connection-string-required": "Verbindingsreeks is vereist!", + "connection-string-required": "Verbindingsreeks is verplicht!", "event-hub-name": "Event Hub Naam", - "event-hub-name-required": "Event Hub Naam is vereist.", + "event-hub-name-required": "Event Hub-naam is verplicht.", "event-iot-hub-name-required": "IoT Hub Naam is vereist voor downlink", "enable-persistent-checkpoints": "Persistent checkpoints inschakelen", "enable-persistent-checkpoints-hint": "Schakel Azure Blob Storage in om na een herstart te hervatten vanaf het laatste checkpoint. Uitschakelen om altijd te starten vanaf het nieuwste evenement.", "storage-connection-string": "Opslagverbindingsreeks", - "storage-connection-string-required": "Opslagverbindingsreeks is vereist!", + "storage-connection-string-required": "Opslagverbindingsreeks is verplicht!", "container-name": "Containernaam", - "container-name-required": "Containernaam is vereist", - "sas-key-name": "SAS Sleutelnaam", - "sas-key-name-required": "SAS Sleutelnaam is vereist.", - "sas-key": "SAS Sleutel", - "sas-key-required": "SAS Sleutel is vereist.", + "container-name-required": "Containernaam is verplicht", + "sas-key-name": "SAS-sleutelnaam", + "sas-key-name-required": "SAS-sleutelnaam is verplicht.", + "sas-key": "SAS-sleutel", + "sas-key-required": "SAS-sleutel is verplicht.", "iot-hub-name": "IoT Hub Naam", "hostname": "Hostnaam", - "hostname-required": "Hostnaam is vereist", + "hostname-required": "Hostnaam is verplicht", "integration-clazz": "Integratieklasse", - "integration-clazz-required": "Integratieklasse is vereist", + "integration-clazz-required": "Integratieklasse is verplicht", "integration-configuration": "Integratie JSON-configuratie", "metadata": "Metadata", "type": "Integratietype", "select-integration-type": "Selecteer integratietype", - "type-required": "Integratietype is vereist.", + "type-required": "Integratietype is verplicht.", "type-not-found": "Integratietype niet gevonden", "uplink-converter": "Uplink dataconverter", - "uplink-converter-required": "Uplink dataconverter is vereist.", + "uplink-converter-required": "Uplink-dataconverter is verplicht.", "downlink-converter": "Downlink dataconverter", "type-http": "HTTP", "type-http-description": "Protocol voor overdracht van tekst- of multimediabestanden.", @@ -4855,6 +5694,7 @@ "type-ttn-description": "Open en gedecentraliseerd LoRaWAN-netwerk.", "type-tti": "The Things Stack Industries", "type-tti-description": "Software om privé LoRaWAN-netwerken op schaal te beheren.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN-netwerkconfiguratieserver.", "type-particle": "Particle", @@ -4889,52 +5729,52 @@ "opc-ua-application-name": "Applicatienaam", "opc-ua-application-uri": "Applicatie-URI", "opc-ua-scan-period-in-seconds": "Scanperiode in seconden", - "opc-ua-scan-period-in-seconds-required": "Scanperiode is vereist", + "opc-ua-scan-period-in-seconds-required": "Scanperiode is verplicht", "opc-ua-timeout": "Timeout in milliseconden", - "opc-ua-timeout-required": "Timeout is vereist", + "opc-ua-timeout-required": "Time-out is verplicht", "opc-ua-security": "Beveiliging", - "opc-ua-security-required": "Beveiliging is vereist", + "opc-ua-security-required": "Beveiliging is verplicht", "opc-ua-identity": "Identiteit", - "opc-ua-identity-required": "Identiteit is vereist", + "opc-ua-identity-required": "Identiteit is verplicht", "opc-ua-keystore": "Keystore", - "add-opc-ua-keystore-prompt": "Gelieve een keystorebestand toe te voegen", - "opc-ua-keystore-required": "Keystore is vereist", + "add-opc-ua-keystore-prompt": "Voeg een keystorebestand toe", + "opc-ua-keystore-required": "Keystore is verplicht", "opc-ua-type": "Type", "opc-ua-keystore-type": "Type", - "opc-ua-keystore-type-required": "Type is vereist", + "opc-ua-keystore-type-required": "Type is verplicht", "opc-ua-keystore-location": "Locatie *", "opc-ua-keystore-password": "Wachtwoord", - "opc-ua-keystore-password-required": "Wachtwoord is vereist", + "opc-ua-keystore-password-required": "Wachtwoord is verplicht", "opc-ua-keystore-alias": "Alias", - "opc-ua-keystore-alias-required": "Alias is vereist", + "opc-ua-keystore-alias-required": "Alias is verplicht", "opc-ua-keystore-key-password": "Sleutelwachtwoord", - "opc-ua-keystore-key-password-required": "Sleutelwachtwoord is vereist", - "opc-ua-mapping": "Toewijzing", - "add-opc-ua-mapping-prompt": "Gelieve toewijzing toe te voegen", - "opc-ua-mapping-type": "Type toewijzing", - "opc-ua-mapping-type-required": "Type toewijzing is vereist", + "opc-ua-keystore-key-password-required": "Sleutelwachtwoord is verplicht", + "opc-ua-mapping": "Mapping", + "add-opc-ua-mapping-prompt": "Voeg een mapping toe", + "opc-ua-mapping-type": "Type mapping", + "opc-ua-mapping-type-required": "Type mapping is verplicht", "opc-ua-device-node-pattern": "Apparaatknooppuntpatroon", - "opc-ua-device-node-pattern-required": "Apparaatknooppuntpatroon is vereist", + "opc-ua-device-node-pattern-required": "Apparaatknooppuntpatroon is verplicht", "opc-ua-namespace": "Namespace", "opc-ua-add-map": "Voeg toewijzingselement toe", "kinesis-stream-name": "Streamnaam", - "kinesis-stream-name-required": "Streamnaam is vereist", + "kinesis-stream-name-required": "Streamnaam is verplicht", "kinesis-region": "Regio", - "kinesis-region-required": "Regio is vereist", + "kinesis-region-required": "Regio is verplicht", "kinesis-access-key-id": "Toegangssleutel-ID", - "kinesis-access-key-id-required": "Toegangssleutel-ID is vereist", + "kinesis-access-key-id-required": "Toegangssleutel-ID is verplicht", "kinesis-secret-access-key": "Geheime toegangssleutel", - "kinesis-secret-access-key-required": "Geheime toegangssleutel is vereist", + "kinesis-secret-access-key-required": "Geheime toegangssleutel is verplicht", "kinesis-use-consumers-with-enhanced-fan-out": "Gebruik consumenten met verbeterde fan-out", "kinesis-use-credentials-from-instance-metadata": "Gebruik referenties van Amazon EC2 Instance Metadata Service", "kinesis-application-name": "Applicatienaam (standaard gelijk aan streamnaam)", "kinesis-initial-position-in-stream": "Initiële positie in stream", - "kinesis-initial-position-in-stream-required": "Initiële positie in stream is vereist", + "kinesis-initial-position-in-stream-required": "Initiële positie in stream is verplicht", "kinesis-max-records": "Maximale aantal records", - "kinesis-max-records-required": "Maximale aantal records is vereist", + "kinesis-max-records-required": "Maximaal aantal records is verplicht", "kinesis-max-records-length-range": "Aantal records moet tussen 1 en 10000 liggen", "kinesis-request-timeout": "Verzoek time-out in seconden", - "kinesis-request-timeout-required": "Verzoek time-out is vereist", + "kinesis-request-timeout-required": "Time-out van verzoek is verplicht", "other-properties": "Andere eigenschappen", "subscription-tags": "Abonnementstags", "remove-subscription-tag": "Verwijder abonnementstag", @@ -4960,79 +5800,79 @@ "fail-fast": "Gooi fout onmiddellijk zodra frame te groot is", "strip-delimiter": "Verwijder scheidingsteken", "length-field-offset": "Offset lengteveld", - "length-field-offset-required": "Offset lengteveld is vereist.", + "length-field-offset-required": "Offset lengteveld is verplicht.", "length-field-offset-range": "Offset lengteveld moet tussen 0 en 8 liggen.", "length-field-length": "Lengte van het lengteveld", - "length-field-length-required": "Lengte van het lengteveld is vereist.", + "length-field-length-required": "Lengte van het lengteveld is verplicht.", "length-field-length-range": "Lengte van het lengteveld moet tussen 0 en 8 liggen.", "length-adjustment": "Lengteaanpassing (compensatiewaarde bij lengteveld)", - "length-adjustment-required": "Lengteaanpassing is vereist.", + "length-adjustment-required": "Lengteaanpassing is verplicht.", "length-adjustment-range": "Lengteaanpassing moet tussen 0 en 8 liggen.", "byte-order": "Bytevolgorde van het lengteveld", "initial-bytes-to-strip": "Aantal te verwijderen bytes van het begin van het frame", - "initial-bytes-to-strip-required": "Aantal te verwijderen beginbytes is vereist.", + "initial-bytes-to-strip-required": "Aantal te verwijderen beginbytes is verplicht.", "initial-bytes-to-strip-range": "Aantal te verwijderen beginbytes moet tussen 0 en 8 liggen.", "so-backlog-option": "Max. aantal wachtrijverbindingen op socket", - "so-backlog-option-required": "Max. aantal wachtrijverbindingen is vereist.", + "so-backlog-option-required": "Max. aantal wachtrijverbindingen is verplicht.", "so-backlog-option-range": "Max. aantal wachtrijverbindingen moet tussen 1 en 65535 liggen.", "so-rcv-buf": "Buffergrootte voor inkomende socket (in KB)", - "so-rcv-buf-required": "Buffergrootte voor inkomende socket is vereist.", + "so-rcv-buf-required": "Buffergrootte voor inkomende socket (in KB) is verplicht.", "so-rcv-buf-range": "Buffergrootte moet tussen 1 en 65535 KB liggen.", "so-snd-buf": "Buffergrootte voor uitgaande socket (in KB)", - "so-snd-buf-required": "Buffergrootte voor uitgaande socket is vereist.", + "so-snd-buf-required": "Buffergrootte voor uitgaande socket (in KB) is verplicht.", "so-snd-buf-range": "Buffergrootte moet tussen 1 en 65535 KB liggen.", "charset-name": "Charsetnaam", - "charset-name-required": "Charsetnaam is vereist.", + "charset-name-required": "Charsetnaam is verplicht.", "message-separator": "Berichtscheidingsteken", - "message-separator-required": "Berichtscheidingsteken is vereist.", + "message-separator-required": "Berichtscheidingsteken is verplicht.", "message-separator-type": "Type berichtscheidingsteken", "separator": "Scheidingsteken", - "separator-required": "Scheidingsteken is vereist.", + "separator-required": "Scheidingsteken is verplicht.", "character-sequence": "Tekenreeks", - "character-sequence-required": "Tekenreeks is vereist.", + "character-sequence-required": "Tekenreeks is verplicht.", "max-frame-length": "Max. framelengte (in bytes)", - "max-frame-length-required": "Max. framelengte is vereist.", + "max-frame-length-required": "Max. framelengte (in bytes) is verplicht.", "max-frame-length-range": "Max. framelengte moet tussen 1 en 65535 bytes liggen.", "handler-type": "Handlertype", "message-size": "Berichtgrootte", - "message-size-required": "Berichtgrootte is vereist.", + "message-size-required": "Berichtgrootte is verplicht.", "service-url": "Service-URL", - "service-url-required": "Service-URL is vereist.", + "service-url-required": "Service-URL is verplicht.", "subscription-name": "Abonnementsnaam", - "subscription-name-required": "Abonnementsnaam is vereist.", + "subscription-name-required": "Abonnementsnaam is verplicht.", "max-num-messages": "Max. aantal berichten", - "max-num-messages-required": "Max. aantal berichten is vereist.", + "max-num-messages-required": "Max. aantal berichten is verplicht.", "max-num-bytes": "Max. aantal bytes", - "max-num-bytes-required": "Max. aantal bytes is vereist.", + "max-num-bytes-required": "Max. aantal bytes is verplicht.", "model": "Model", "select-model": "Selecteer model", "model-not-found": "Model niet gevonden", - "model-required": "Model is vereist", - "model-not-valid": "Selectie vereist: u moet een model kiezen uit de vervolgkeuzelijst.", + "model-required": "Model is verplicht", + "model-not-valid": "Selectie vereist: je moet een model kiezen uit de vervolgkeuzelijst.", "vendor": "Leverancier", "select-vendor": "Selecteer leverancier", "vendor-not-found": "Leverancier niet gevonden", - "vendor-required": "Leverancier is vereist", - "vendor-not-valid": "Selectie vereist: u moet een leverancier kiezen uit de vervolgkeuzelijst.", + "vendor-required": "Leverancier is verplicht", + "vendor-not-valid": "Selectie vereist: je moet een leverancier kiezen uit de vervolgkeuzelijst.", "library": "Bibliotheek", "timeout-in-ms": "Timeout in milliseconden", - "timeout-in-ms-required": "Timeout in milliseconden is vereist.", + "timeout-in-ms-required": "Time-out in milliseconden is verplicht.", "user-id": "Gebruikers-ID", - "user-id-required": "Gebruikers-ID is vereist.", + "user-id-required": "Gebruikers-ID is verplicht.", "token": "Token", - "token-required": "Token is vereist.", + "token-required": "Token is verplicht.", "project-id": "Project-ID", - "project-id-required": "Project-ID is vereist.", + "project-id-required": "Project-ID is verplicht.", "subscription-id": "Abonnement-ID", - "subscription-id-required": "Abonnement-ID is vereist.", + "subscription-id-required": "Abonnement-ID is verplicht.", "service-account-key": "Serviceaccount-sleutelbestand", - "service-account-key-required": "Serviceaccount-sleutelbestand is vereist.", + "service-account-key-required": "Serviceaccount-sleutelbestand is verplicht.", "tcp": { "system-line-separator": "Systeemregelscheidingsteken", "nul-delimiter": "Nul-scheidingsteken", "custom-separator": "Aangepast scheidingsteken", - "byte-order-little-endian": "Kleine endian", - "byte-order-big-endian": "Grote endian" + "byte-order-little-endian": "Little Endian", + "byte-order-big-endian": "Big Endian" }, "cache-size": "Cachegrootte", "cache-time-to-live": "Cache-levensduur in minuten", @@ -5040,7 +5880,7 @@ "min-cache-time-to-live": "Cache-levensduur mag niet kleiner dan 0 zijn", "max-cache-time-to-live": "Ongeldige cache-levensduur, kies tussen 0 en 525600", "coap-security-mode": "Beveiligingsmodus", - "coap-security-mode-required": "Beveiligingsmodus is vereist", + "coap-security-mode-required": "CoAP-beveiligingsmodus is verplicht", "coap-security-mode-no-secure": "GEEN BEVEILIGING", "coap-security-mode-dtls": "DTLS", "coap-security-mode-mixed": "GEMENGD", @@ -5049,15 +5889,15 @@ "copy-coap-endpoint-url": "Kopieer CoAP-eindpunt URL", "copy-coap-dtls-endpoint-url": "Kopieer CoAP DTLS-eindpunt URL", "coap-dtls-base-url": "DTLS-basis URL", - "coap-dtls-base-url-required": "DTLS-basis URL is vereist", + "coap-dtls-base-url-required": "DTLS-basis-URL is verplicht", "coap-dtls-endpoint": "CoAP DTLS-eindpunt URL", "coap-dtls-endpoint-url-copied-message": "CoAP DTLS-eindpunt URL is gekopieerd naar klembord", "unassign-integration-title": "Weet je zeker dat je de integratie '{{integrationName}}' wilt ontkoppelen?", - "unassign-integration-from-edge-text": "Na bevestiging wordt de integratie ontkoppeld en is niet langer toegankelijk voor de edge.", + "unassign-integration-from-edge-text": "Na bevestiging is de integratie niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", "unassign-integrations-from-edge-title": "Weet je zeker dat je { count, plural, =1 {1 integratie} other {# integraties} } wilt ontkoppelen?", - "unassign-integrations-from-edge-text": "Na bevestiging worden alle geselecteerde integraties ontkoppeld en zijn niet langer toegankelijk voor de edge.", + "unassign-integrations-from-edge-text": "Na bevestiging zijn alle geselecteerde integraties niet meer aan de Edge toegewezen en heeft de Edge er geen toegang meer toe.", "unassign-integrations": "Ontkoppel integraties", - "edge-placeholder-hint": "U kunt de placeholder ${{ATTRIBUTE_KEY}} gebruiken om een integratieveld te vervangen door een attribuutwaarde van een specifieke Edge-entiteit. Bijvoorbeeld, 'Edge A' heeft een attribuut 'baseUrl' met waarde 'http://localhost:9999'. U kunt ${{baseUrl}} instellen als een van de integratievelden, en dit wordt vervangen door 'http://localhost:9999' bij toewijzing van deze integratie aan 'Edge A'. Bovendien, als het attribuut 'baseUrl' van 'Edge A' wordt bijgewerkt, wordt de integratie automatisch opnieuw voorzien van de bijgewerkte waarde.", + "edge-placeholder-hint": "Je kunt de placeholder ${{ATTRIBUTE_KEY}} gebruiken om een integratieveld te vervangen door een attribuutwaarde van een specifieke Edge-entiteit. 'Edge A' heeft bijvoorbeeld een attribuut 'baseUrl' met waarde 'http://localhost:9999'. Je kunt ${{baseUrl}} instellen als een van de integratievelden, en dit wordt vervangen door 'http://localhost:9999' bij toewijzing van deze integratie aan 'Edge A'. Bovendien, als het attribuut 'baseUrl' van 'Edge A' wordt bijgewerkt, wordt de integratie met de bijgewerkte waarde automatisch naar 'Edge A' geprovisioneerd.", "status": { "status": "Status", "active": "Actief", @@ -5076,19 +5916,19 @@ "connected": "Verbonden", "not-connected": "Niet verbonden", "environment": "Omgeving", - "environment-required": "Omgeving is vereist.", + "environment-required": "Omgeving is verplicht.", "region-cn": "China", "region-us": "Verenigde Staten", "region-eu": "Europa", "region-in": "India", "topic-name": "Onderwerpnaam", - "topic-name-required": "Onderwerpnaam is vereist", + "topic-name-required": "Onderwerpnaam is verplicht", "sub-name": "Abonnementsnaam", - "sub-name-required": "Abonnementsnaam is vereist", - "downlink-connection-string": "Downlink verbindingsreeks", - "downlink-connection-string-required": "Downlink verbindingsreeks is vereist", - "downlink-topic-name": "Downlink onderwerpnaam", - "downlink-topic-name-required": "Downlink onderwerpnaam is vereist" + "sub-name-required": "Abonnementsnaam is verplicht", + "downlink-connection-string": "Downlinkverbindingsreeks", + "downlink-connection-string-required": "Downlinkverbindingsreeks is verplicht", + "downlink-topic-name": "Downlinkonderwerpnaam", + "downlink-topic-name-required": "Naam van downlinkonderwerp is verplicht" }, "scada": { "symbols": "SCADA-symbolen", @@ -5107,9 +5947,9 @@ "show-hidden-elements": "Toon verborgen elementen", "hide-hidden-elements": "Verberg verborgen elementen", "delete-symbol": "Verwijder SCADA-symbool", - "delete-symbol-title": "Weet u zeker dat u het SCADA-symbool '{{imageTitle}}' wilt verwijderen?", + "delete-symbol-title": "Weet je zeker dat je het SCADA-symbool '{{imageTitle}}' wilt verwijderen?", "delete-symbol-text": "Wees voorzichtig, na bevestiging wordt het SCADA-symbool onherstelbaar verwijderd.", - "delete-symbols-title": "Weet u zeker dat u { count, plural, =1 {1 SCADA-symbool} other {# SCADA-symbolen} } wilt verwijderen?", + "delete-symbols-title": "Weet je zeker dat je { count, plural, =1 {1 SCADA-symbool} other {# SCADA-symbolen} } wilt verwijderen?", "delete-symbols-text": "Wees voorzichtig, na bevestiging worden alle geselecteerde SCADA-symbolen verwijderd en alle gerelateerde gegevens gaan onherroepelijk verloren.", "include-system-symbols": "Inclusief systeem symbolen", "symbol-preview": "Symboolvoorbeeld", @@ -5138,7 +5978,7 @@ "tag": "Tag", "on-click-action": "Actie bij klikken", "no-tags": "Geen tags geconfigureerd", - "delete-tag-text": "Weet u zeker dat u tag
    {{tag}} van {{elementType}} element wilt verwijderen?", + "delete-tag-text": "Weet je zeker dat je de tag
    {{tag}} van het element {{elementType}} wilt verwijderen?", "update-tag": "Tag bijwerken", "enter-tag": "Voer tag in", "tag-settings": "Taginstellingen", @@ -5159,7 +5999,7 @@ "remove-behavior": "Verwijder gedrag", "hint": "Tip", "group-title": "Groepstitel", - "value-type": "Waarde type", + "value-type": "Waardetype", "default-value": "Standaardwaarde", "true-label": "Label voor waar", "false-label": "Label voor onwaar", @@ -5271,7 +6111,7 @@ "current-volume-hint": "Dubbele waarde die het huidige bezette volume aangeeft.", "tank-color": "Tankkleur", "value-box": "Waardeveld", - "value-text": "Waarde tekst", + "value-text": "Waardetekst", "scale": "Schaal", "transparent-mode": "Transparante modus", "major-ticks": "Hoofdindelingen", @@ -5341,7 +6181,7 @@ "arrow-color": "Pijlkleur", "target-value": "Doelwaarde", "target-value-hint": "Geeft het doelpunt op de schaal aan.", - "min-max-value": "Min en max waarde", + "min-max-value": "Min- en maxwaarde", "min-value": "Min", "max-value": "Max", "progress-bar": "Voortgangsbalk", @@ -5389,6 +6229,7 @@ "third-phase-voltage": "Derde fase spanning", "phase-voltage-hint": "Dubbele waarde geeft de spanning voor de huidige fase aan", "voltage-hint": "Dubbele waarde geeft huidige spanning aan", + "current-voltage": "Huidige spanning", "phase-indicator-color": "Fase indicator kleur", "measured": "Gemeten", "measured-hint": "Dubbele waarde geeft energieverbruik in kilowattuur aan", @@ -5429,12 +6270,286 @@ } }, "item": { - "selected": "Geselecteerd" + "type-widget": "Widget", + "type-widget-plural": "Widgets", + "type-solution-template": "Oplossingssjabloon", + "type-solution-template-plural": "Oplossingssjablonen", + "type-calculated-field": "Berekend veld", + "type-calculated-field-plural": "Berekende velden", + "type-alarm-rule": "Alarmregel", + "type-alarm-rule-plural": "Alarmregels", + "type-rule-chain": "Regelketen", + "type-rule-chain-plural": "Regelketens", + "type-device": "Apparaat", + "type-device-plural": "Apparaten" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "Willekeurige waarde genereren", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "Ontdek kant-en-klare", + "and-devices": "& apparaten", + "search-placeholder": "Zoeken in IoT Hub...", + "search": "Zoeken...", + "search-published-items": "Gepubliceerde items zoeken...", + "see-all-results": "Alle resultaten bekijken", + "see-all-results-for": "Alle {{ count }} resultaten voor \"{{ search }}\" bekijken", + "see-results-for": "Resultaten voor \"{{ search }}\" bekijken", + "no-search-results": "Geen resultaten gevonden voor '{{ search }}'", + "no-items-available": "Geen items beschikbaar", + "search-results": "Zoekresultaten", + "search-results-for": "Zoekresultaten voor ", + "try-adjusting-search": "Probeer je zoekopdracht aan te passen", + "add-widget-from-iot-hub": "Widget toevoegen vanuit IoT Hub", + "all-widgets": "Alle widgets", + "all-iot-hub-widgets": "Alle IoT Hub-widgets", + "installed-from-iot-hub": "Geïnstalleerd vanuit IoT Hub", + "item-link-unavailable": "Item niet beschikbaar", + "include-deprecated": "Verouderde opnemen", + "widget-category-value": "{{ category }}-widgets", + "search-categories": "Categorieën zoeken...", + "search-in-category": "Widgets zoeken...", + "search-bundles": "Bundels zoeken...", + "search-widgets": "Widgets zoeken...", + "add-item-from-iot-hub": "{{ type }} toevoegen vanuit IoT Hub", + "add-from-iot-hub": "Toevoegen vanuit IoT Hub", + "filters": "Filters", + "type": "Type", + "items-per-page": "Items per pagina", + "filter": "Filter", + "clear-filters": "Filters wissen", + "available": "Beschikbaar", + "items-page-desc-widgets": "Geef je IoT-traject een vliegende start met vooraf geconfigureerde widgets die voor jouw branche zijn ontworpen. Zet beproefde architecturen direct in en richt je energie op wat ertoe doet: je unieke bedrijfslogica.", + "items-page-desc-solution-templates": "Complete IoT-oplossingspakketten met dashboards, regelketens en apparaatconfiguraties. Ga aan de slag met beproefde architecturen.", + "items-page-desc-calculated-fields": "Gebruik vooraf geconfigureerde berekende velden om complexe meetwaarden zoals brandstofefficiëntie of arbeidsfactor te automatiseren. Sla de handmatige logica over en houd je dashboards overzichtelijk en bruikbaar.", + "items-page-desc-alarm-rules": "Gebruik kant-en-klare sjablonen voor alarmregels om kritieke situaties te detecteren, zoals een lege batterij, overschreden drempelwaarden of apparaten die offline gaan. Sla het schrijven van de regellogica over en reageer op incidenten zodra ze zich voordoen.", + "items-page-desc-rule-chains": "Van geavanceerde gegevensverwerking tot naadloze API-integraties: sjablonen voor regelketens bieden de architecturale basis die je nodig hebt om op te schalen zonder vanaf nul te bouwen.", + "items-page-desc-devices": "Verken de apparaatbibliotheek en vind vooraf geconfigureerde connectiviteitssjablonen die je binnen enkele minuten inzet om je hardware direct te verbinden.", + "device-library": "Apparaatbibliotheek", + "most-popular-in-iot-hub": "Meest populair in IoT Hub", + "upgrade-required-title": "Upgrade van ThingsBoard vereist", + "upgrade-required-message": "Dit item vereist ThingsBoard {{minVersion}} of nieuwer. Je gebruikt momenteel {{currentVersion}}. Upgrade je instantie om het te installeren.", + "upgrade-instance": "Instantie upgraden", + "become-creator-text": "Dien je sjablonen in bij de ThingsBoard IoT Hub om uitgelicht te worden en je oplossingen aan onze wereldwijde community te tonen.", + "contribute": "Bijdragen", + "creator-profile": "Makersprofiel", + "title-widgets": "Widgets", + "title-calculated-fields": "Berekende velden", + "title-alarm-rules": "Alarmregels", + "title-rule-chains": "Regelketens", + "title-devices": "Apparaten", + "title-solution-templates": "Oplossingssjablonen", + "subtitle-widgets": "Bekijk community-widgets voor je dashboards", + "subtitle-solution-templates": "Bekijk complete IoT-oplossingspakketten", + "subtitle-calculated-fields": "Bekijk sjablonen voor berekende velden", + "subtitle-alarm-rules": "Bekijk sjablonen voor alarmregels", + "subtitle-rule-chains": "Bekijk sjablonen voor regelketens", + "subtitle-devices": "Bekijk apparaatconfiguraties", + "search-solution-templates": "Oplossingssjablonen zoeken...", + "search-calculated-fields": "Berekende velden zoeken...", + "search-alarm-rules": "Alarmregels zoeken...", + "search-rule-chains": "Regelketens zoeken...", + "search-devices": "Apparaten zoeken...", + "sort-most-relevant": "Meest relevant", + "sort-most-installed": "Meest geïnstalleerd", + "sort-newest": "Nieuwste", + "sort-name": "Naam (A-Z)", + "type-filter-label": "Type", + "verified-creators-only": "Alleen geverifieerde makers", + "category": "Categorie", + "use-case": "Toepassing", + "vendor": "Leverancier", + "view-setup-guide": "Installatiehandleiding bekijken", + "hardware-type": "Hardwaretype", + "connectivity": "Connectiviteit", + "clear-all-filters": "Alle filters wissen", + "clear-all": "Alles wissen", + "results-count": "{{count}} resultaten", + "unable-to-load": "Kan niet laden", + "unable-to-load-text": "Er is een probleem opgetreden bij het laden van items. Probeer het opnieuw.", + "network-server-unavailable": "Netwerk of server niet beschikbaar", + "network-server-unavailable-text": "We konden de catalogus niet bereiken. Probeer het zo meteen opnieuw.", + "try-again": "Opnieuw proberen", + "retry": "Opnieuw proberen", + "no-items-found": "Geen items gevonden", + "no-items-found-text": "Pas je zoekopdracht of filters aan.", + "no-widgets-found": "Geen widgets gevonden", + "browse-tip-prefix": "Kun je niet vinden wat je zoekt?", + "browse-tip-link": "Bekijk IoT Hub", + "browse-tip-suffix": "voor meer widgets.", + "creator": "Maker", + "manage": "Beheren", + "details": "Details", + "become-a-creator": "Maker worden", + "back-to-iot-hub": "Terug naar IoT Hub", + "verified-creator": "Geverifieerde maker", + "published-items": "Gepubliceerde items", + "by-creator": "door {{name}}", + "installs": "installaties", + "more": "meer", + "categories": "Categorieën", + "use-cases": "Toepassingen", + "changelog": "Wijzigingslogboek", + "created-by": "Gemaakt door {{name}}", + "install-confirm": "{{name}} v{{version}} installeren?", + "install-confirm-title": "'{{name}}' installeren?", + "install-desc": "Bij de installatie worden de benodigde resources automatisch aangemaakt en geconfigureerd binnen je tenant", + "install-success-desc": "'{{name}}' is geïnstalleerd", + "remove": "Verwijderen", + "remove-confirm-title": "'{{name}}' verwijderen?", + "remove-desc": "Hiermee worden ook de geïnstalleerde entiteit en de bijbehorende resources binnen je tenant verwijderd", + "remove-desc-solution-template": "Als je dit oplossingssjabloon verwijdert, worden ook alle aangemaakte entiteiten verwijderd, waaronder dashboards, regelketens, apparaten en andere bijbehorende resources binnen je tenant", + "remove-anyway": "Toch verwijderen", + "select-entity-for-cf": "Entiteit selecteren voor berekend veld '{{name}}'", + "select-entity-for-alarm-rule": "Entiteit selecteren voor alarmregel '{{name}}'", + "rule-chain-install-subtitle": "Bij de installatie wordt de regelketen automatisch aangemaakt binnen je tenant. Stel deze optioneel in als standaard voor een profiel, zodat entiteiten van dat profiel via deze regelketen worden gerouteerd.", + "rule-chain-set-as-profile-default-toggle": "Instellen als standaardregelketen van het profiel", + "rule-chain-set-as-profile-default-tooltip": "Als dit is ingeschakeld, routeren alle entiteiten van het geselecteerde profiel berichten via deze regelketen.", + "rule-chain-overwrite-title": "Bestaande standaardregelketen vervangen?", + "rule-chain-overwrite-body": "Profiel {{profile}} gebruikt momenteel {{existing}} als standaardregelketen. Bij de installatie wordt die vervangen door deze regelketen.", + "rule-chain-overwrite-replace": "Vervangen", + "install": "Installeren", + "open": "Openen", + "built-in": "Ingebouwd", + "built-in-lookup-failed-title": "Dit onderdeel kan niet worden gecontroleerd", + "built-in-lookup-failed-text": "Kan niet controleren of '{{name}}' al aanwezig is in deze instantie. Er is niets geïnstalleerd — probeer het opnieuw.", + "built-in-missing-title": "Niet beschikbaar in deze instantie", + "built-in-missing-text": "'{{name}}' wordt normaal gesproken met ThingsBoard meegeleverd, maar is niet aanwezig in deze instantie — mogelijk is het door de systeembeheerder verwijderd. Je kunt het in plaats daarvan installeren vanuit de IoT Hub.", + "connect": "Verbinden", + "connect-device": "Apparaat verbinden", + "installing": "Installeren...", + "installing-title": "'{{name}}' wordt geïnstalleerd", + "installed": "Geïnstalleerd", + "install-success": "{{name}} is succesvol geïnstalleerd", + "install-success-title": "Installatie geslaagd", + "install-success-message": "'{{name}}' v{{version}} is succesvol geïnstalleerd.", + "install-error": "Installeren van {{name}} mislukt", + "solution-install-title": "Oplossingssjabloon is succesvol geïnstalleerd", + "solution-instructions": "Instructies voor de oplossing", + "goto-main-dashboard": "Naar hoofddashboard", + "install-error-title": "Installatie mislukt", + "install-error-message": "Installeren van '{{name}}' is mislukt.", + "install-dependency-error": "Installeren van de afhankelijkheid '{{name}}' is mislukt: {{error}}", + "install-plan-title": "'{{name}}' en de bijbehorende afhankelijkheden installeren", + "install-plan-will-install": "{{count}} item(s) worden geïnstalleerd.", + "install-plan-will-update": "{{count}} item(s) zijn al geïnstalleerd en worden overgeslagen.", + "install-plan-missing-warning": "{{count}} vereiste item(s) konden niet worden gevonden in de marketplace. '{{ name }}' werkt zonder deze items mogelijk niet volledig.", + "install-plan-status-will": "Installeren", + "install-plan-status-installed": "Al geïnstalleerd", + "install-plan-status-missing": "Ontbreekt", + "install-plan-confirm": "Installeren", + "install-partial-title": "Geïnstalleerd met waarschuwingen", + "install-partial-desc": "'{{name}}' is geïnstalleerd, maar sommige vereiste items ontbraken.", + "install-rollback-partial": "Sommige items die vóór de fout zijn geïnstalleerd, konden niet automatisch worden verwijderd en moeten mogelijk handmatig worden verwijderd.", + "check-for-updates": "Controleren op updates", + "updates": "Updates", + "up-to-date": "Up-to-date", + "update": "Bijwerken", + "update-to-version": "Bijwerken naar v {{ version }}", + "update-item-title": "Item bijwerken", + "update-confirm": "'{{name}}' bijwerken naar versie {{version}}?", + "update-confirm-title": "'{{name}}' bijwerken?", + "update-desc": "Als je dit bijwerkt, wordt de huidige versie vervangen door de nieuwste en worden de bijbehorende resources binnen je tenant opnieuw geconfigureerd", + "update-desc-solution-template": "Als je dit oplossingssjabloon bijwerkt, worden alle entiteiten die het heeft gemaakt verwijderd en opnieuw aangemaakt, inclusief dashboards, regelketens, apparaten en andere bijbehorende resources binnen je tenant. Alle wijzigingen die je erin hebt aangebracht, gaan verloren", + "update-success-desc": "'{{name}}' is bijgewerkt", + "updating": "Bijwerken...", + "update-success-title": "Bijwerken gelukt", + "update-success-message": "'{{name}}' is bijgewerkt naar versie {{version}}.", + "entity-modified-title": "Entiteit gewijzigd", + "entity-modified-text": "{{type}} is lokaal gewijzigd. Wil je toch bijwerken?", + "update-error-title": "Bijwerken mislukt", + "update-error-message": "Kan '{{name}}' niet bijwerken.", + "update-error": "Kan {{name}} niet bijwerken", + "most-popular": "Meest populair", + "all": "Alle", + "installed-items": "Geïnstalleerde items", + "installed-items-for": "Geïnstalleerde items voor \"{{name}}\"", + "search-installed-items": "Geïnstalleerde items zoeken...", + "item-name": "Naam", + "item-type": "Type", + "item-version": "Versie", + "installed-date": "Geïnstalleerd", + "no-installed-items": "Geen geïnstalleerde items gevonden", + "no-installed-items-text": "Pas je zoekopdracht of filters aan.", + "remove-installed-item-title": "Geïnstalleerd item verwijderen", + "remove-installed-item-text": "Weet je zeker dat je '{{name}}' wilt verwijderen? De geïnstalleerde entiteit wordt ook verwijderd.", + "installed-item-removed": "'{{name}}' is verwijderd", + "installed-item-remove-error": "Kan '{{name}}' niet verwijderen", + "open-installed-entity": "Geïnstalleerde entiteit openen", + "view-item-details": "Itemdetails bekijken", + "review-device-instructions": "Apparaatinstructies bekijken", + "open-item-type": "{{type}} openen", + "back-to-marketplace": "Terug naar Marketplace", + "device-install-select-connectivity": "Kies een verbindingsmethode voor je apparaat", + "connection-method": "Verbindingsmethode", + "step-prerequisites": "Vereisten", + "step-configuration": "Configuratie", + "step-provisioning": "Provisioning", + "device-install-step-error": "Mislukt", + "device-install-step-pending": "In afwachting", + "device-install-step-running": "Aanmaken...", + "device-install-step-success": "Aangemaakt", + "device-install-step-type-DASHBOARD": "Dashboard", + "device-install-step-type-DEVICE": "Apparaat", + "device-install-step-type-DEVICE_PROFILE": "Apparaatprofiel", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Gateway-connector", + "device-install-step-type-RULE_CHAIN": "Regelketen", + "device-install-step-type-UPLINK_CONVERTER": "Uplinkconverter", + "device-install-step-type-DOWNLINK_CONVERTER": "Downlinkconverter", + "device-install-step-type-INTEGRATION": "Integratie", + "use-secret": "Geheim gebruiken", + "use-plain-text": "Platte tekst gebruiken", + "device-install-conflict-exists": "{{type}} met deze naam bestaat al", + "device-install-use-existing": "Bestaande gebruiken", + "device-install-overwrite": "Overschrijven", + "device-install-create-copy": "Kopie maken", + "device-install-resolution-created": "Aangemaakt", + "device-install-resolution-use-existing": "Bestaande gebruikt", + "device-install-resolution-overwrite": "Overschreven", + "device-install-resolution-create-copy": "Kopie gemaakt", + "device-install-title": "\"{{name}}\" verbinden", + "device-installing-title": "\"{{name}}\" wordt geïnstalleerd", + "done": "Gereed", + "in-progress": "Bezig", + "item-detail": "IoT Hub-item", + "unpublished-warning-title": "Niet-gepubliceerde inhoud", + "unpublished-warning-text": "Dit is een voorbeeld van niet-gepubliceerde inhoud. Deze is niet beoordeeld door IoT Hub. Het installeren van niet-geverifieerde inhoud kan beveiligings- en stabiliteitsrisico's met zich meebrengen — ga alleen verder als je de maker vertrouwt.", + "unpublished-warning-confirm": "Ik begrijp het risico, doorgaan", + "unpublished-preview": "Niet-gepubliceerd voorbeeld", + "deep-link-invalid-id": "Ongeldige link naar IoT Hub-item.", + "deep-link-not-found": "Dit IoT Hub-item bestaat niet of is verwijderd.", + "deep-link-fetch-failed": "Kan IoT Hub-item niet laden. Probeer het opnieuw.", + "export-to-iot-hub": "Exporteren naar IoT Hub" + }, + "item-data": { + "widget-type-timeseries": "Tijdreeksen", + "widget-type-latest": "Laatste", + "widget-type-rpc": "Besturing", + "widget-type-alarm": "Alarm", + "widget-type-static": "Statisch", + "cf-type-simple": "Eenvoudig", + "cf-type-script": "Script", + "cf-type-geofencing": "Geofencing", + "cf-type-alarm": "Alarm", + "cf-type-propagation": "Propagatie", + "cf-type-related-entities-aggregation": "Aggregatie van gerelateerde entiteiten", + "cf-type-entity-aggregation": "Entiteitsaggregatie", + "rule-chain-type-core": "Kern", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "Verrijking", + "node-type-filter": "Filter", + "node-type-transformation": "Transformatie", + "node-type-action": "Actie", + "node-type-analytics": "Analyse", + "node-type-external": "Extern", + "node-type-flow": "Stroom", + "node-type-unknown": "Onbekend" }, "js-func": { "no-return-error": "Functie moet een waarde retourneren!", "return-type-mismatch": "Functie moet een waarde van het type '{{type}}' retourneren!", - "tidy": "Netjes", + "tidy": "Code opmaken", "mini": "Mini", "modules": "Modules", "remove-module": "Module verwijderen", @@ -5462,6 +6577,8 @@ "no-data": "Geen invoer" }, "layout": { + "switch-to-html-page-title": "Overschakelen naar HTML-pagina?", + "switch-to-html-page-text": "De HTML-pagina vervangt het widgetraster van deze toestand. { count, plural, =1 {1 widget in de lay-outs ervan wordt} other {# widgets in de lay-outs ervan worden} } uit deze toestand verwijderd.", "layout": "Lay-out", "layouts": "Lay-outs", "manage": "Lay-outs beheren", @@ -5479,9 +6596,9 @@ "layout-fixed-width": "Vaste breedte (px)", "value-min-error": "Waarde moet groter zijn dan {{min}}{{unit}}", "value-max-error": "Waarde moet kleiner zijn dan {{max}}{{unit}}", - "layout-fixed-width-required": "Vaste breedte is vereist", - "right-width-percentage-required": "Percentage voor rechts is vereist", - "left-width-percentage-required": "Percentage voor links is vereist", + "layout-fixed-width-required": "Vaste breedte is verplicht", + "right-width-percentage-required": "Percentage voor rechts is verplicht", + "left-width-percentage-required": "Percentage voor links is verplicht", "divider": "Verdeler", "right-side": "Lay-out rechterzijde", "left-side": "Lay-out linkerzijde", @@ -5533,68 +6650,68 @@ }, "login": { "login": "Inloggen", - "request-password-reset": "Wachtwoord reset aanvragen", + "request-password-reset": "Wachtwoordreset aanvragen", "reset-password": "Wachtwoord opnieuw instellen", "create-password": "Wachtwoord aanmaken", - "two-factor-authentication": "Twee-factor authenticatie", + "two-factor-authentication": "Twee-factor-authenticatie", "passwords-mismatch-error": "Ingevoerde wachtwoorden moeten gelijk zijn!", "password-again": "Wachtwoord opnieuw", - "sign-in": "Meld u aan", + "sign-in": "Aanmelden", "username": "Gebruikersnaam (e-mail)", "remember-me": "Onthoud mij", "forgot-password": "Wachtwoord vergeten?", "password-reset": "Wachtwoordherstel", - "expired-password-reset-message": "Uw inloggegevens zijn verlopen! Maak een nieuw wachtwoord aan.", + "expired-password-reset-message": "Je wachtwoord is verlopen! \nMaak een nieuw wachtwoord aan.", "new-password": "Nieuw wachtwoord", "new-password-again": "Bevestig nieuw wachtwoord", "password-link-sent-message": "Resetlink is verzonden", "email": "E-mail", "invalid-email-format": "Ongeldig e-mailformaat.", - "no-account": "Heeft u nog geen account?", + "no-account": "Heb je nog geen account?", "create-account": "Account aanmaken", "sign-in-with": "Aanmelden met {{name}}", - "sign-in-to-your-account": "Aanmelden bij uw account", + "sign-in-to-your-account": "Aanmelden bij je account", "or": "of", "error": "Inlogfout", - "verify-your-identity": "Verifieer uw identiteit", + "verify-your-identity": "Verifieer je identiteit", "select-way-to-verify": "Selecteer een verificatiemethode", "resend-code": "Code opnieuw verzenden", "resend-code-wait": "Code opnieuw verzenden over { time, plural, =1 {1 seconde} other {# seconden} }", "try-another-way": "Probeer een andere manier", - "totp-auth-description": "Voer de beveiligingscode in uit uw authenticator-app.", + "totp-auth-description": "Voer de beveiligingscode in uit je authenticator-app.", "totp-auth-placeholder": "Code", - "sms-auth-description": "Een beveiligingscode is verzonden naar uw telefoon op {{contact}}.", + "sms-auth-description": "Er is een beveiligingscode verzonden naar je telefoonnummer {{contact}}.", "sms-auth-placeholder": "SMS-code", - "email-auth-description": "Een beveiligingscode is verzonden naar uw e-mailadres op {{contact}}.", + "email-auth-description": "Er is een beveiligingscode verzonden naar je e-mailadres {{contact}}.", "email-auth-placeholder": "E-mailcode", - "backup-code-auth-description": "Voer een van uw back-upcodes in.", + "backup-code-auth-description": "Voer een van je back-upcodes in.", "backup-code-auth-placeholder": "Back-upcode", "version-mask": "{{name}} v.{{version}}", "activation-link-expired": "Activatielink is verlopen", - "activation-link-expired-message": "De link om uw profiel te activeren is verlopen. U kunt terugkeren naar de inlogpagina om een nieuwe e-mail te ontvangen.", + "activation-link-expired-message": "De link om je profiel te activeren is verlopen. Je kunt terugkeren naar de inlogpagina om een nieuwe e-mail te ontvangen.", "reset-password-link-expired": "Wachtwoord resetlink is verlopen", - "reset-password-link-expired-message": "De link om uw wachtwoord opnieuw in te stellen is verlopen. U kunt terugkeren naar de inlogpagina om een nieuwe e-mail te ontvangen.", + "reset-password-link-expired-message": "De link om je wachtwoord opnieuw in te stellen is verlopen. Je kunt terugkeren naar de inlogpagina om een nieuwe e-mail te ontvangen.", "two-fa": "Twee-factorauthenticatie", - "two-fa-required": "Twee-factorauthenticatie is vereist", + "two-fa-required": "Tweefactorauthenticatie is verplicht", "set-up-verification-method": "Stel een verificatiemethode in om door te gaan", - "set-up-verification-method-login": "Stel een verificatiemethode in of meld u aan", + "set-up-verification-method-login": "Stel een verificatiemethode in of log in", "enable-authenticator-app": "Authenticator-app inschakelen", - "enable-authenticator-app-description": "Voer de beveiligingscode in uit uw authenticator-app", + "enable-authenticator-app-description": "Voer de beveiligingscode in uit je authenticator-app", "enable-authenticator-sms": "SMS-authenticator inschakelen", "enable-authenticator-sms-description": "Voer een 6-cijferige code in die we zojuist hebben verzonden naar ", "enable-authenticator-email": "E-mailauthenticator inschakelen", - "enable-authenticator-email-description": "Er is een beveiligingscode verzonden naar uw e-mailadres op ", + "enable-authenticator-email-description": "Er is een beveiligingscode verzonden naar je e-mailadres ", "enter-key-manually": "of voer deze 32-cijferige sleutel handmatig in:", "continue": "Doorgaan", "confirm": "Bevestigen", "authenticator-app-success": "Authenticator-app succesvol ingeschakeld", - "authenticator-app-success-description": "De volgende keer dat u zich aanmeldt, moet u een twee-factorauthenticatiecode invoeren", + "authenticator-app-success-description": "De volgende keer dat je inlogt, moet je een tweefactorauthenticatiecode invoeren", "authenticator-sms-success": "SMS-authenticator succesvol ingeschakeld", - "authenticator-sms-success-description": "De volgende keer dat u zich aanmeldt, wordt u gevraagd de beveiligingscode in te voeren die naar het telefoonnummer wordt verzonden", + "authenticator-sms-success-description": "De volgende keer dat je inlogt, word je gevraagd de beveiligingscode in te voeren die naar het telefoonnummer wordt verzonden", "authenticator-email-success": "E-mailauthenticator succesvol ingeschakeld", - "authenticator-email-success-description": "De volgende keer dat u zich aanmeldt, wordt u gevraagd de beveiligingscode in te voeren die naar uw e-mailadres wordt verzonden", + "authenticator-email-success-description": "De volgende keer dat je inlogt, word je gevraagd de beveiligingscode in te voeren die naar je e-mailadres wordt verzonden", "authenticator-backup-code-success": "Back-upcode succesvol ingeschakeld", - "authenticator-backup-code-success-description": "De volgende keer dat u zich aanmeldt, wordt u gevraagd de beveiligingscode in te voeren of een van de back-upcodes te gebruiken.", + "authenticator-backup-code-success-description": "De volgende keer dat je inlogt, word je gevraagd de beveiligingscode in te voeren of een van de back-upcodes te gebruiken.", "add-verification-method": "Verificatiemethode toevoegen", "get-backup-code": "Back-upcode ophalen", "copy-key": "Sleutel kopiëren", @@ -5602,18 +6719,18 @@ "email-label": "E-mail", "email-description": "Voer een e-mail in om als authenticator te gebruiken.", "sms-description": "Voer een telefoonnummer in om als authenticator te gebruiken.", - "backup-code-description": "Druk de codes af zodat u ze bij de hand heeft wanneer u ze nodig heeft om u aan te melden bij uw account. U kunt elke back-upcode één keer gebruiken.", - "backup-code-warn": "Zodra u deze pagina verlaat, kunnen deze codes niet opnieuw worden weergegeven. Bewaar ze veilig met de onderstaande opties.", + "backup-code-description": "Druk de codes af zodat je ze bij de hand hebt wanneer je ze nodig hebt om in te loggen bij je account. Je kunt elke back-upcode één keer gebruiken.", + "backup-code-warn": "Zodra je deze pagina verlaat, kunnen deze codes niet opnieuw worden weergegeven. Bewaar ze veilig met de onderstaande opties.", "download-txt": "Downloaden (txt)", "print": "Afdrukken", "verification-code": "6-cijferige code", "verification-code-invalid": "Ongeldig verificatiecodeformaat", "verification-code-incorrect": "Verificatiecode is onjuist", "verification-code-many-request": "Te veel verzoeken om verificatiecode te controleren", - "scan-qr-code": "Scan deze QR-code met uw verificatie-app", + "scan-qr-code": "Scan deze QR-code met je verificatie-app", "phone-input": { "phone-input-label": "Telefoonnummer", - "phone-input-required": "Telefoonnummer is vereist", + "phone-input-required": "Telefoonnummer is verplicht", "phone-input-validation": "Telefoonnummer is ongeldig of niet mogelijk", "phone-input-pattern": "Ongeldig telefoonnummer. Moet in E.164-formaat zijn, bijv. {{phoneNumber}}", "phone-input-hint": "Telefoonnummer in E.164-formaat, bijv. {{phoneNumber}}" @@ -5623,36 +6740,36 @@ "firstname": "Voornaam", "lastname": "Achternaam", "email": "E-mail", - "signup": "Aanmelden", + "signup": "Registreren", "create-password": "Maak een wachtwoord aan", - "repeat-password": "Herhaal uw wachtwoord", - "have-account": "Heeft u al een account?", - "signin": "Inloggen", - "no-captcha-message": "U moet bevestigen dat u geen robot bent", - "password-length-message": "Uw wachtwoord moet minimaal 6 tekens lang zijn", + "repeat-password": "Herhaal je wachtwoord", + "have-account": "Heb je al een account?", + "signin": "Aanmelden", + "no-captcha-message": "Je moet bevestigen dat je geen robot bent", + "password-length-message": "Je wachtwoord moet minimaal 6 tekens lang zijn", "email-verification": "E-mailverificatie", - "email-verification-message": "Er is een e-mail met verificatiedetails verzonden naar het opgegeven e-mailadres.
    Volg de instructies in de e-mail om uw aanmelding te voltooien.
    Let op: als u de e-mail enige tijd niet ziet, controleer dan uw 'spam'-map of probeer de e-mail opnieuw te verzenden door op 'Opnieuw verzenden' te klikken.", + "email-verification-message": "Er is een e-mail met verificatiedetails verzonden naar het opgegeven e-mailadres.
    Volg de instructies in de e-mail om je registratie te voltooien.
    Let op: als je de e-mail na enige tijd nog niet hebt ontvangen, controleer dan je 'spam'-map of probeer de e-mail opnieuw te verzenden door op 'Opnieuw verzenden' te klikken.", "account-activation-title": "Accountactivatie", "account-activated": "Account succesvol geactiveerd!", - "account-activated-text": "Gefeliciteerd!
    Uw account is geactiveerd.", + "account-activated-text": "Gefeliciteerd!
    Je account is geactiveerd.", "resend": "Opnieuw verzenden", "inactive-user-exists-title": "Inactieve gebruiker bestaat al", - "inactive-user-exists-text": "Er is al een geregistreerde gebruiker met een niet-geverifieerd e-mailadres.
    Klik op 'Opnieuw verzenden' als u de verificatie-e-mail opnieuw wilt verzenden.", + "inactive-user-exists-text": "Er is al een geregistreerde gebruiker met een niet-geverifieerd e-mailadres.
    Klik op 'Opnieuw verzenden' als je de verificatie-e-mail opnieuw wilt verzenden.", "activating-account": "Account activeren...", - "activating-account-text": "Uw account wordt momenteel geactiveerd. Even geduld alstublieft...", + "activating-account-text": "Je account wordt momenteel geactiveerd. Even geduld...", "accept-privacy-policy": "Privacybeleid accepteren", "accept": "Accepteren", "and": "en", "privacy-policy": "Privacybeleid", "terms-of-use": "Gebruiksvoorwaarden", "recaptcha-title": "reCAPTCHA", - "accept-privacy-policy-message": "U moet ons privacybeleid accepteren", - "accept-terms-of-use-message": "U moet onze gebruiksvoorwaarden accepteren", - "accept-privacy-policy-and-terms-of-use-message": "U moet ons privacybeleid en de gebruiksvoorwaarden accepteren", + "accept-privacy-policy-message": "Je moet ons privacybeleid accepteren", + "accept-terms-of-use-message": "Je moet onze gebruiksvoorwaarden accepteren", + "accept-privacy-policy-and-terms-of-use-message": "Je moet ons privacybeleid en de gebruiksvoorwaarden accepteren", "firstname-max-length": "Voornaam moet korter zijn dan 256 tekens", "lastname-max-length": "Achternaam moet korter zijn dan 256 tekens", - "firstname-required": "Voornaam is vereist", - "lastname-required": "Achternaam is vereist" + "firstname-required": "Voornaam is verplicht", + "lastname-required": "Achternaam is verplicht" }, "mobile": { "add-application": "Applicatie toevoegen", @@ -5675,12 +6792,12 @@ "copy-sha256-certificate-fingerprints": "SHA256-certificaatvingerafdrukken kopiëren", "delete-application": "Applicatie verwijderen", "delete-application-button-text": "Ik begrijp de gevolgen, verwijder de applicatie", - "delete-application-text": "Deze actie kan niet ongedaan worden gemaakt. Dit verwijdert uw applicatie permanent.
    Als u het niet permanent wilt verwijderen, kunt u de applicatie tijdelijk opschorten.
    Om de applicatie te verwijderen, typ \"{{phrase}}\" ter bevestiging.", - "delete-application-title-short": "Weet u zeker dat u de applicatie '{{name}}' wilt verwijderen?", + "delete-application-text": "Deze actie kan niet ongedaan worden gemaakt. Dit verwijdert je applicatie permanent.
    Als je de applicatie niet permanent wilt verwijderen, kun je deze tijdelijk opschorten.
    Typ \"{{phrase}}\" ter bevestiging als je de applicatie toch wilt verwijderen.", + "delete-application-title-short": "Weet je zeker dat je de applicatie '{{name}}' wilt verwijderen?", "delete-application-text-short": "Wees voorzichtig, na bevestiging worden de applicatie en alle gerelateerde gegevens onherstelbaar verwijderd.", "delete-application-phrase": "applicatie verwijderen", - "delete-applications-bundle-text": "Wees voorzichtig, na bevestiging worden het mobiele pakket en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-applications-bundle-title": "Weet u zeker dat u het mobiele pakket '{{bundleName}}' wilt verwijderen?", + "delete-applications-bundle-text": "Let op: na bevestiging worden de mobiele bundel en alle gerelateerde gegevens onherstelbaar verwijderd.", + "delete-applications-bundle-title": "Weet je zeker dat je de mobiele bundel '{{bundleName}}' wilt verwijderen?", "generate-application-secret": "Applicatiegeheim genereren", "google-play-link": "Google Play-link", "google-play-link-required": "Google Play-link is verplicht", @@ -5688,6 +6805,7 @@ "min-version": "Minimale versie", "invalid-version-pattern": "Ongeldig versieformaat. Gebruik het formaat: major.minor.patch (bijv. 1.0.0).", "mobile-center": "Mobiel centrum", + "mobile-apps": "Mobiele apps", "mobile-package": "Applicatiepakket", "mobile-package-max-length": "Applicatiepakket mag niet langer zijn dan 256 tekens", "mobile-package-required": "Applicatiepakket is verplicht.", @@ -5695,10 +6813,10 @@ "mobile-package-title": "Applicatietitel", "mobile-package-title-max-length": "Applicatietitel mag niet langer zijn dan 256 tekens", "no-application": "Geen applicaties gevonden", - "no-bundles": "Geen pakketten gevonden", + "no-bundles": "Geen bundels gevonden", "platform-type": "Platformtype", "search-application": "Zoek applicaties", - "search-bundles": "Zoek pakketten", + "search-bundles": "Zoek bundels", "set": "Instellen", "sha256-certificate-fingerprints": "SHA256-certificaatvingerafdrukken", "sha256-certificate-fingerprints-required": "SHA256-certificaatvingerafdrukken zijn verplicht", @@ -5715,9 +6833,9 @@ "version-information": "Versie-informatie", "min-version-release-notes": "Release-opmerkingen voor minimale versie", "latest-version-release-notes": "Release-opmerkingen voor laatste versie", - "bundle": "Pakket", - "bundles": "Pakketten", - "add-bundle": "Pakket toevoegen", + "bundle": "Bundel", + "bundles": "Bundels", + "add-bundle": "Bundel toevoegen", "title": "Titel", "title-required": "Titel is verplicht", "title-cannot-contain-only-spaces": "Titel mag niet alleen spaties bevatten", @@ -5730,15 +6848,15 @@ "invalid-store-link": "Ongeldige winkel-link", "enable-oauth": "OAuth 2.0 inschakelen", "enable-self-registration": "Zelfregistratie inschakelen", - "edit-bundle": "Pakket bewerken", + "edit-bundle": "Bundel bewerken", "description": "Beschrijving", "basic-settings": "Basisinstellingen", "no-application-matching": "Geen overeenkomende applicatie '{{entity}}' gevonden.", - "no-bundle-matching": "Geen overeenkomend pakket '{{entity}}' gevonden.", + "no-bundle-matching": "Geen bundels gevonden die overeenkomen met '{{entity}}'.", "application-required": "Applicatie is verplicht.", - "bundle-required": "Pakket is verplicht.", + "bundle-required": "Bundel is verplicht.", "no-application-text": "Geen applicaties gevonden", - "no-bundle-text": "Geen pakketten gevonden", + "no-bundle-text": "Geen bundels gevonden", "layout": "Indeling", "pages": "Pagina’s", "hide-all-pages": "Alle pagina’s verbergen", @@ -5768,7 +6886,7 @@ "edit-page": "Pagina bewerken", "edit-custom-page": "Aangepaste pagina bewerken", "delete-page": "Pagina verwijderen", - "qr-code-widget": "QR-code widget", + "qr-code-widget": "QR-codewidget", "type-here": "Typ hier", "configuration-dialog": "Configuratiedialoog", "configuration-app": "Configuratie-app", @@ -5803,12 +6921,15 @@ "remove-registration-field": "Registratieveld verwijderen", "required": "Vereist", "self-registration": "Zelfregistratie", - "reset-self-registration-title": "Weet u zeker dat u de instellingen voor zelfregistratie wilt terugzetten naar standaard?", + "reset-self-registration-title": "Weet je zeker dat je de instellingen voor zelfregistratie wilt terugzetten naar standaard?", "reset-self-registration-text": "Wees voorzichtig, na bevestiging gaan alle instellingen verloren en kunnen niet worden hersteld." } }, + "monitor": { + "monitor": "Monitor" + }, "notification": { - "ai-assistant-initial-prompt-placeholder": "Beschrijf wat u wilt instellen...", + "ai-assistant-initial-prompt-placeholder": "Beschrijf wat je wilt instellen...", "ai-assistant-example-explain-label": "Hoe meldingen werken", "ai-assistant-example-explain-message": "Leg uit hoe meldingen werken in ThingsBoard.", "ai-assistant-example-inactivity-label": "E-mail bij offline apparaat", @@ -5842,7 +6963,7 @@ "compose": "Samenstellen", "conversation": "Gesprek", "conversation-required": "Gesprek is verplicht", - "copy-notification-template": "Kopieer notificatiesjabloon", + "copy-notification-template": "Meldingsjabloon kopiëren", "copy-rule": "Kopieer regel", "copy-template": "Kopieer sjabloon", "create-new": "Nieuw aanmaken", @@ -5850,25 +6971,25 @@ "customize-messages": "Berichten aanpassen", "cpu-threshold": "CPU-drempelwaarde", "delete-notification-text": "Wees voorzichtig, na bevestiging is de melding niet meer herstelbaar.", - "delete-notification-title": "Weet u zeker dat u de melding wilt verwijderen?", + "delete-notification-title": "Weet je zeker dat je de melding wilt verwijderen?", "delete-notifications-text": "Wees voorzichtig, na bevestiging zijn meldingen niet meer herstelbaar.", - "delete-notifications-title": "Weet u zeker dat u { count, plural, =1 {1 melding} other {# meldingen} } wilt verwijderen?", + "delete-notifications-title": "Weet je zeker dat je { count, plural, =1 {1 melding} other {# meldingen} } wilt verwijderen?", "delete-recipient-text": "Wees voorzichtig, na bevestiging is de ontvanger niet meer herstelbaar.", - "delete-recipient-title": "Weet u zeker dat u de ontvanger '{{recipientName}}' wilt verwijderen?", + "delete-recipient-title": "Weet je zeker dat je de ontvanger '{{recipientName}}' wilt verwijderen?", "delete-recipients-text": "Wees voorzichtig, na bevestiging zijn ontvangers niet meer herstelbaar.", - "delete-recipients-title": "Weet u zeker dat u { count, plural, =1 {1 ontvanger} other {# ontvangers} } wilt verwijderen?", + "delete-recipients-title": "Weet je zeker dat je { count, plural, =1 {1 ontvanger} other {# ontvangers} } wilt verwijderen?", "delete-request-text": "Wees voorzichtig, na bevestiging is het verzoek niet meer herstelbaar.", - "delete-request-title": "Weet u zeker dat u het verzoek wilt verwijderen?", + "delete-request-title": "Weet je zeker dat je het verzoek wilt verwijderen?", "delete-requests-text": "Wees voorzichtig, na bevestiging zijn verzoeken niet meer herstelbaar.", - "delete-requests-title": "Weet u zeker dat u { count, plural, =1 {1 verzoek} other {# verzoeken} } wilt verwijderen?", + "delete-requests-title": "Weet je zeker dat je { count, plural, =1 {1 verzoek} other {# verzoeken} } wilt verwijderen?", "delete-rule-text": "Wees voorzichtig, na bevestiging is de regel niet meer herstelbaar.", - "delete-rule-title": "Weet u zeker dat u de regel '{{ruleName}}' wilt verwijderen?", + "delete-rule-title": "Weet je zeker dat je de regel '{{ruleName}}' wilt verwijderen?", "delete-rules-text": "Wees voorzichtig, na bevestiging zijn regels niet meer herstelbaar.", - "delete-rules-title": "Weet u zeker dat u { count, plural, =1 {1 regel} other {# regels} } wilt verwijderen?", + "delete-rules-title": "Weet je zeker dat je { count, plural, =1 {1 regel} other {# regels} } wilt verwijderen?", "delete-template-text": "Wees voorzichtig, na bevestiging is het sjabloon niet meer herstelbaar.", - "delete-template-title": "Weet u zeker dat u het sjabloon '{{templateName}}' wilt verwijderen?", + "delete-template-title": "Weet je zeker dat je het sjabloon '{{templateName}}' wilt verwijderen?", "delete-templates-text": "Wees voorzichtig, na bevestiging zijn sjablonen niet meer herstelbaar.", - "delete-templates-title": "Weet u zeker dat u { count, plural, =1 {1 sjabloon} other {# sjablonen} } wilt verwijderen?", + "delete-templates-title": "Weet je zeker dat je { count, plural, =1 {1 sjabloon} other {# sjablonen} } wilt verwijderen?", "deleted": "Verwijderd", "delivery-method": { "delivery-method": "Bezorgmethode", @@ -5904,7 +7025,7 @@ "enabled": "Ingeschakeld", "entities-limit-trigger-settings": "Triggerinstellingen voor entiteitenlimiet", "entity-action-trigger-settings": "Triggerinstellingen voor entiteitacties", - "entity-type": "Entiteittype", + "entity-type": "Entiteitstype", "escalation-chain": "Escalatieketen", "failed-send": "Verzending mislukt", "fails": "{ count, plural, =1 {1 mislukking} other {# mislukkingen} }", @@ -5948,16 +7069,17 @@ "no-template-matching": "Geen bron gevonden die overeenkomt met '{{template}}'.", "create-new-template": "Maak een nieuwe aan!", "not-found-slack-recipient": "Slack-ontvanger niet gevonden", - "notification": "Notificatie", - "notification-center": "Notificatiecentrum", - "notification-tap-action": "Actie bij tikken op notificatie", + "notification": "Melding", + "notifications": "Meldingen", + "notification-center": "Meldingencentrum", + "notification-tap-action": "Actie bij tikken op melding", "notification-tap-action-hint": "Indien niet ingeschakeld, wordt het standaard alarmdashboard gebruikt", "notify": "notificeren", "notify-again": "Opnieuw notificeren", "notify-alarm-action": { "acknowledged": "Alarm bevestigd", "assigned": "Alarm toegewezen", - "cleared": "Alarm gewist", + "cleared": "Alarm opgeheven", "created": "Alarm aangemaakt", "severity-changed": "Alarmernst gewijzigd", "unassigned": "Alarm niet-toegewezen" @@ -5969,7 +7091,7 @@ "notify-only-integrations-errors": "Alleen bij fouten melden", "notify-only-user-comments": "Alleen gebruikersopmerkingen melden", "only-rule-chain-lifecycle-failures": "Alleen fouten in levenscyclus van regelketen", - "only-rule-node-lifecycle-failures": "Alleen fouten in levenscyclus van regelknooppunt", + "only-rule-node-lifecycle-failures": "Alleen fouten in levenscyclus van regelnode", "platform-users": "Platformgebruikers", "ram-threshold": "RAM-drempelwaarde", "rate-limits": "Snelheidslimieten", @@ -6011,7 +7133,7 @@ "rule-name-required": "Naam is verplicht", "rule-disable": "Meldingsregel uitschakelen", "rule-enable": "Meldingsregel inschakelen", - "rule-node-filter": "Regelknooppuntfilter", + "rule-node-filter": "Regelnodefilter", "rules": "Regels", "notification-rules": "Meldingen / Regels", "scheduler-later": "Plan voor later", @@ -6055,11 +7177,13 @@ "entities-limit": "Entiteitenlimiet", "entities-limit-increase-request": "Verzoek om verhoging van entiteitenlimiet", "addon-access-error": "Fout bij toegang tot add-on/functie", + "addon-access-request": "Toegangsverzoek voor add-on/functie", + "plan-upgrade-request": "Verzoek om abonnementsupgrade", "entity-action": "Entiteithandeling", "general": "Algemeen", "integration-lifecycle-event": "Levenscyclusgebeurtenis van integratie", "rule-engine-lifecycle-event": "Levenscyclusgebeurtenis van regelengine", - "rule-node": "Regelknooppunt", + "rule-node": "Regelnode", "new-platform-version": "Nieuwe platformversie", "rate-limits": "Snelheidslimieten overschreden", "edge-communication-failure": "Communicatiefout met edge", @@ -6077,7 +7201,7 @@ "threshold": "Drempelwaarde", "theme-color": "Themakleur", "time": "Tijd", - "track-rule-node-events": "Volg gebeurtenissen van regelknooppunten", + "track-rule-node-events": "Gebeurtenissen van regelnodes volgen", "trigger": { "alarm": "Alarm", "alarm-assignment": "Toewijzing van alarm", @@ -6128,9 +7252,9 @@ "ota-update": { "add": "Pakket toevoegen", "assign-firmware": "Firmware toewijzen", - "assign-firmware-required": "Toegewezen firmware is vereist", + "assign-firmware-required": "Toegewezen firmware is verplicht", "assign-software": "Software toewijzen", - "assign-software-required": "Toegewezen software is vereist", + "assign-software-required": "Toegewezen software is verplicht", "auto-generate-checksum": "Checksum automatisch genereren", "cant-applied-group-all": "Kan niet worden toegepast op groep Alles", "checksum": "Checksum", @@ -6139,7 +7263,7 @@ "checksum-copied-message": "Pakket-checksum is gekopieerd naar het klembord", "change-firmware": "Het wijzigen van de firmware kan leiden tot een update van { count, plural, =1 {1 apparaat} other {# apparaten} }.", "change-software": "Het wijzigen van de software kan leiden tot een update van { count, plural, =1 {1 apparaat} other {# apparaten} }.", - "change-ota-setting-title": "Weet u zeker dat u de OTA-instellingen wilt wijzigen?", + "change-ota-setting-title": "Weet je zeker dat je de OTA-instellingen wilt wijzigen?", "chose-compatible-device-profile": "Het geüploade pakket is alleen beschikbaar voor apparaten met het gekozen profiel.", "chose-firmware-distributed-device": "Kies de firmware die wordt verspreid naar de apparaten", "chose-software-distributed-device": "Kies de software die wordt verspreid naar de apparaten", @@ -6156,7 +7280,7 @@ "description": "Beschrijving", "direct-url": "Directe URL", "direct-url-copied-message": "Directe URL van het pakket is gekopieerd naar het klembord", - "direct-url-required": "Directe URL is vereist", + "direct-url-required": "Directe URL is verplicht", "download": "Pakket downloaden", "drop-file": "Sleep een pakketbestand hierheen of klik om een bestand te selecteren om te uploaden.", "drop-package-file-or": "Sleep een pakketbestand hierheen of", @@ -6170,7 +7294,7 @@ "no-software-matching": "Geen compatibele Software OTA Update pakketten gevonden die overeenkomen met '{{entity}}'.", "no-software-text": "Geen compatibele Software OTA Update pakketten beschikbaar.", "ota-update": "OTA-update", - "ota-update-details": "OTA-update details", + "ota-update-details": "OTA-updatedetails", "ota-updates": "OTA-updates", "package-file": "Pakketbestand", "package-type": "Pakkettype", @@ -6178,7 +7302,7 @@ "search": "Zoek pakketten", "selected-package": "{ count, plural, =1 {1 pakket} other {# pakketten} } geselecteerd", "title": "Titel", - "title-required": "Titel is vereist.", + "title-required": "Titel is verplicht.", "title-max-length": "Titel moet minder dan 256 tekens zijn", "types": { "firmware": "Firmware", @@ -6187,7 +7311,7 @@ "upload-binary-file": "Binair bestand uploaden", "use-external-url": "Externe URL gebruiken", "version": "Versie", - "version-required": "Versie is vereist.", + "version-required": "Versie is verplicht.", "version-tag": "Versietag", "version-tag-hint": "Aangepaste tag moet overeenkomen met de pakketversie die door je apparaat is gerapporteerd.", "version-max-length": "Versie moet minder dan 256 tekens zijn", @@ -6217,11 +7341,11 @@ "security": "Beveiliging", "general-settings": "Algemene beveiligingsinstellingen", "access-token": "Toegangstoken", - "access-token-required": "Toegangstoken is vereist", + "access-token-required": "Toegangstoken is verplicht", "clientId": "Client ID", - "clientId-required": "Client ID is vereist", + "clientId-required": "Client-ID is verplicht", "username": "Gebruikersnaam", - "username-required": "Gebruikersnaam is vereist", + "username-required": "Gebruikersnaam is verplicht", "ca-cert": "CA-certificaat", "2fa": { "2fa": "Twee-factor-authenticatie", @@ -6273,7 +7397,7 @@ "totp-description": "Gebruik apps zoals Google Authenticator, Authy of Duo op je telefoon om te authenticeren. Hiermee wordt een beveiligingscode gegenereerd om in te loggen.", "totp-hint": "Authenticator-app is ingesteld voor je account", "backup_code": "Back-upcode", - "backup-code-description": "Deze afdrukbare eenmalige codes stellen je in staat om in te loggen wanneer je je telefoon niet bij je hebt, bijvoorbeeld tijdens het reizen.", + "backup-code-description": "Met deze afdrukbare eenmalige codes kun je je aanmelden wanneer je je telefoon niet bij je hebt, bijvoorbeeld tijdens het reizen.", "backup-code-hint": "{{ info }} eenmalige codes zijn momenteel actief" } }, @@ -6323,7 +7447,7 @@ "from-entity": "Van entiteit", "delete": "Relatie verwijderen", "relation-type": "Relatietype", - "relation-type-required": "Relatietype is vereist.", + "relation-type-required": "Relatietype is verplicht.", "relation-type-max-length": "Relatietype mag niet langer zijn dan 256 tekens", "any-relation-type": "Elk type", "add": "Relatie toevoegen", @@ -6350,35 +7474,36 @@ "copy-type": "Type kopiëren" }, "resource": { - "add": "Bron toevoegen", + "add": "Resource toevoegen", "all-types": "Alle", - "copyId": "Kopieer bron-ID", - "delete": "Bron verwijderen", - "delete-resource-text": "Wees voorzichtig, na bevestiging wordt de bron onherstelbaar verwijderd.", - "delete-resource-title": "Weet je zeker dat je de bron '{{resourceTitle}}' wilt verwijderen?", - "delete-resources-action-title": "Verwijder { count, plural, =1 {1 bron} other {# bronnen} }", - "delete-resources-text": "Let op: de geselecteerde bronnen worden verwijderd, zelfs als ze worden gebruikt in apparaatsprofielen.", - "delete-resources-title": "Weet je zeker dat je { count, plural, =1 {1 bron} other {# bronnen} } wilt verwijderen?", - "download": "Bron downloaden", + "copyId": "Resource-ID kopiëren", + "delete": "Resource verwijderen", + "delete-resource-text": "Let op: na bevestiging wordt de resource onherstelbaar verwijderd.", + "delete-resource-title": "Weet je zeker dat je de resource '{{resourceTitle}}' wilt verwijderen?", + "delete-resources-action-title": "{ count, plural, =1 {1 resource verwijderen} other {# resources verwijderen} }", + "delete-resources-text": "Let op: de geselecteerde resources worden verwijderd, zelfs als ze worden gebruikt in apparaatprofielen.", + "delete-resources-title": "Weet je zeker dat je { count, plural, =1 {1 resource} other {# resources} } wilt verwijderen?", + "download": "Resource downloaden", "drop-file": "Sleep een bronbestand of klik om een bestand te selecteren om te uploaden.", "drop-resource-file-or": "Sleep een bronbestand of", - "empty": "Bron is leeg", + "empty": "Resource is leeg", "file-name": "Bestandsnaam", - "idCopiedMessage": "Bron-ID is gekopieerd naar klembord", - "no-resource-matching": "Geen bron die overeenkomt met '{{widgetsBundle}}' gevonden.", - "no-resource-text": "Geen bronnen gevonden", + "idCopiedMessage": "Resource-ID is gekopieerd naar klembord", + "no-resource-matching": "Geen resources gevonden die overeenkomen met '{{widgetsBundle}}'.", + "no-resource-text": "Geen resources gevonden", "open-widgets-bundle": "Open widgets bundel", - "resource": "Bron", + "resource": "Resource", "resource-file": "Bronbestand", "resource-files": "Bronbestanden", "resource-library-details": "Brondetails", "resource-type": "Brontype", "resources-library": "Bronbibliotheek", - "search": "Zoek bronnen", - "selected-resources": "{ count, plural, =1 {1 bron} other {# bronnen} } geselecteerd", + "files": "Bestanden", + "search": "Zoek resources", + "selected-resources": "{ count, plural, =1 {1 resource} other {# resources} } geselecteerd", "system": "Systeem", "title": "Titel", - "title-required": "Titel is vereist.", + "title-required": "Titel is verplicht.", "title-max-length": "Titel mag niet langer zijn dan 256 tekens", "type": { "jks": "JKS", @@ -6397,8 +7522,8 @@ "resource-is-in-use": "Resource wordt gebruikt door andere entiteiten", "resources-are-in-use": "Resources worden gebruikt door andere entiteiten", "resource-is-in-use-text": "De resource '{{title}}' is niet verwijderd omdat deze wordt gebruikt door de volgende entiteiten:", - "resources-are-in-use-text": "Niet alle resources zijn verwijderd omdat ze worden gebruikt door andere entiteiten.
    U kunt de verwijzende entiteiten bekijken door op de knop Referenties in de overeenkomstige resource-rij te klikken.
    Als u deze resources toch wilt verwijderen, selecteer ze dan in de onderstaande tabel en klik op de knop Selectie verwijderen.", - "delete-resource-in-use-text": "Als u de resource toch wilt verwijderen, klik dan op de knop Toch verwijderen." + "resources-are-in-use-text": "Niet alle resources zijn verwijderd omdat ze worden gebruikt door andere entiteiten.
    Je kunt de verwijzende entiteiten bekijken door op de knop Referenties in de overeenkomstige resource-rij te klikken.
    Als je deze resources toch wilt verwijderen, selecteer ze dan in de onderstaande tabel en klik op de knop Geselecteerde verwijderen.", + "delete-resource-in-use-text": "Als je de resource toch wilt verwijderen, klik dan op de knop Toch verwijderen." }, "javascript": { "add": "JavaScript-bron toevoegen", @@ -6416,6 +7541,8 @@ "drop-resource-file-or": "Sleep een JavaScript-bestand of", "javascript-library": "JavaScript-bibliotheek", "javascript-type": "JavaScript-type", + "scripts": "Scripts", + "script-type": "Scripttype", "javascript-resource-details": "Details van JavaScript-bron", "javascript-resource-is-in-use": "JavaScript-bron wordt gebruikt door andere entiteiten", "javascript-resources-are-in-use": "JavaScript-bronnen worden gebruikt door andere entiteiten", @@ -6467,6 +7594,7 @@ "create-new-rulechain": "Maak nieuwe regelketen", "rulechain-file": "Regelketenbestand", "invalid-rulechain-file-error": "Kan regelketen niet importeren: Ongeldige gegevensstructuur.", + "rulechain-not-found-warning": "Standaardregelketen niet gevonden. Het profiel is zonder regelketen opgeslagen — je kunt er een toewijzen in de profielinstellingen.", "copyId": "Kopieer regelketen-ID", "idCopiedMessage": "Regelketen-ID is gekopieerd naar klembord", "select-rulechain": "Selecteer regelketen", @@ -6485,9 +7613,9 @@ "unassign-rulechains-from-edge-text": "Na bevestiging worden alle geselecteerde regelketens losgekoppeld en niet meer toegankelijk voor de edge.", "assign-rulechain-to-edge-title": "Regelketen(s) toewijzen aan edge", "assign-rulechain-to-edge-text": "Selecteer de regelketens om aan de edge toe te wijzen", - "set-edge-template-root-rulechain": "Maak regelketen sjabloon-hoofd", - "set-edge-tscheduler-eventemplate-root-rulechain": "Maak regelketen sjabloon-hoofd", - "set-edge-template-root-rulechain-title": "Weet je zeker dat je de regelketen '{{ruleChainName}}' als sjabloon-hoofd wilt instellen?", + "set-edge-template-root-rulechain": "Regelketen instellen als Edge-sjabloonhoofdketen", + "set-edge-tscheduler-eventemplate-root-rulechain": "Regelketen instellen als Edge-sjabloonhoofdketen", + "set-edge-template-root-rulechain-title": "Weet je zeker dat je de regelketen '{{ruleChainName}}' als Edge-sjabloonhoofdketen wilt instellen?", "set-edge-template-root-rulechain-text": "Na bevestiging wordt de regelketen ingesteld als sjabloon-hoofd en gebruikt voor nieuwe edges.", "invalid-rulechain-type-error": "Kan regelketen niet importeren: Ongeldig type. Verwacht type is {{expectedRuleChainType}}.", "set-auto-assign-to-edge": "Regelketen automatisch toewijzen bij edge-creatie", @@ -6497,22 +7625,32 @@ "unset-auto-assign-to-edge-title": "Weet je zeker dat je de regelketen '{{ruleChainName}}' niet automatisch wilt toewijzen bij edge-creatie?", "unset-auto-assign-to-edge-text": "Na bevestiging wordt de edge regelketen niet meer automatisch toegewezen bij edge-creatie.", "unassign-rulechain-title": "Weet je zeker dat je de regelketen '{{ruleChainName}}' wilt loskoppelen?", - "unassign-rulechains": "Regelketens loskoppelen" + "unassign-rulechains": "Regelketens loskoppelen", + "add-note": "Notitie toevoegen", + "paste-note": "Notitie plakken", + "note": "Notitie", + "edit-note": "Notitie bewerken", + "note-content": "Markdown/HTML-inhoud", + "note-details": "Notitiedetails", + "note-background-color": "Achtergrondkleur", + "note-border": "Rand", + "note-apply-default-markdown-style": "Standaard Markdown-stijl toepassen", + "note-custom-css": "CSS voor notitie-inhoud" }, "rulenode": { - "rule-node-events": "Regelknoopgebeurtenissen", + "rule-node-events": "Regelnodegebeurtenissen", "details": "Details", "events": "Gebeurtenissen", "search": "Zoek knopen", "open-node-library": "Open knopenbibliotheek", "close-node-library": "Sluit knopenbibliotheek", - "add": "Voeg regelknoop toe", + "add": "Regelnode toevoegen", "name": "Naam", "name-required": "Naam is verplicht.", "name-max-length": "Naam moet minder dan 256 tekens zijn", "type": "Type", - "rule-node-description": "Beschrijving van regelknoop", - "delete": "Verwijder regelknoop", + "rule-node-description": "Beschrijving van regelnode", + "delete": "Regelnode verwijderen", "select-all-objects": "Selecteer alle knopen en verbindingen", "deselect-all-objects": "Deselecteer alle knopen en verbindingen", "delete-selected-objects": "Verwijder geselecteerde knopen en verbindingen", @@ -6521,12 +7659,12 @@ "select-all": "Selecteer alles", "copy-selected": "Kopieer geselecteerde", "deselect-all": "Deselecteer alles", - "rulenode-details": "Details van regelknoop", + "rulenode-details": "Details van regelnode", "debug-mode": "Debug-modus", "singleton": "Singleton", "configuration": "Configuratie", "link": "Verbinding", - "link-details": "Details van regelknoopverbinding", + "link-details": "Details van regelnodeverbinding", "add-link": "Voeg verbinding toe", "link-label": "Verbindingslabel", "link-label-required": "Verbindingslabel is verplicht.", @@ -6554,13 +7692,13 @@ "type-flow": "Stroom", "type-flow-details": "Organiseert berichtenstroom", "type-input": "Invoer", - "type-input-details": "Logische invoer van regelketen, stuurt berichten door naar volgende regelknoop", + "type-input-details": "Logische invoer van de regelketen; stuurt inkomende berichten door naar de volgende gerelateerde regelnode", "type-unknown": "Onbekend", - "type-unknown-details": "Niet-opgeloste regelknoop", + "type-unknown-details": "Niet-opgeloste regelnode", "directive-is-not-loaded": "Gedefinieerde configuratierichtlijn '{{directiveName}}' is niet beschikbaar.", "ui-resources-load-error": "Kan configuratie UI-bronnen niet laden.", "invalid-target-rulechain": "Kan doelregelketen niet oplossen!", - "test-script-function": "Test scriptfunctie", + "test-script-function": "Scriptfunctie testen", "script-lang-java-script": "JavaScript", "script-lang-tbel": "TBEL", "script-lang-js": "JS", @@ -6585,19 +7723,19 @@ "create-entity-if-not-exists": "Maak nieuwe entiteit aan indien deze niet bestaat", "create-entity-if-not-exists-hint": "Indien ingeschakeld, wordt een nieuwe entiteit met opgegeven parameters aangemaakt tenzij deze al bestaat. Bestaande entiteiten worden gebruikt zoals ze zijn voor de relatie.", "select-device-connectivity-event": "Selecteer apparaatconnectiviteitsgebeurtenis", - "entity-name-pattern": "Naam patroon", + "entity-name-pattern": "Naampatroon", "device-name-pattern": "Apparaatnaam", "asset-name-pattern": "Assetnaam", - "entity-view-name-pattern": "Entity view naam", + "entity-view-name-pattern": "Naam van entiteitsweergave", "customer-title-pattern": "Klanttitel", "dashboard-name-pattern": "Dashboardtitel", "user-name-pattern": "Gebruiker e-mail", "edge-name-pattern": "Edge naam", - "entity-name-pattern-required": "Naam patroon is verplicht", - "entity-name-pattern-hint": "Naam patroon veld ondersteunt templatization. Gebruik $[messageKey] om waarde uit bericht te halen en ${metadataKey} om waarde uit metadata te halen.", + "entity-name-pattern-required": "Naampatroon is verplicht", + "entity-name-pattern-hint": "Naampatroonveld ondersteunt templatization. Gebruik $[messageKey] om waarde uit bericht te halen en ${metadataKey} om waarde uit metadata te halen.", "copy-message-type": "Kopieer berichttype", - "entity-type-pattern": "Type patroon", - "entity-type-pattern-required": "Type patroon is verplicht", + "entity-type-pattern": "Typepatroon", + "entity-type-pattern-required": "Typepatroon is verplicht", "message-type-value": "Berichttype waarde", "message-type-value-required": "Berichttype waarde is verplicht", "message-type-value-max-length": "Berichttype waarde moet minder dan 256 tekens zijn", @@ -6610,14 +7748,14 @@ "customer-name-pattern-required": "Klanttitel is verplicht", "customer-name-pattern-hint": "Gebruik $[messageKey] om waarde uit bericht te halen en ${metadataKey} om waarde uit metadata te halen.", "create-customer-if-not-exists": "Maak nieuwe klant aan indien deze niet bestaat", - "unassign-from-customer": "Ontkoppel van specifieke klant als afzender dashboard is", - "unassign-from-customer-tooltip": "Alleen dashboards kunnen aan meerdere klanten tegelijk worden toegewezen. \nIndien afzender een dashboard is, moet de klanttitel expliciet worden opgegeven om te ontkoppelen.", + "unassign-from-customer": "Toewijzing aan specifieke klant intrekken als de afzender een dashboard is", + "unassign-from-customer-tooltip": "Alleen dashboards kunnen aan meerdere klanten tegelijk worden toegewezen. \nAls de afzender van het bericht een dashboard is, moet je expliciet de naam opgeven van de klant waarvan de toewijzing moet worden ingetrokken.", "customer-cache-expiration": "Vervaltermijn klantencache (sec)", "customer-cache-expiration-hint": "Specificeert maximale tijdsinterval om gevonden klantrecords op te slaan. Waarde 0 betekent dat records nooit vervallen.", "customer-cache-expiration-required": "Vervaltermijn klantencache is verplicht.", "customer-cache-expiration-range": "Vervaltermijn klantencache moet groter dan of gelijk zijn aan 0.", - "interval-start": "Interval start", - "interval-end": "Interval einde", + "interval-start": "Intervalstart", + "interval-end": "Intervaleinde", "time-unit": "Tijdseenheid", "fetch-mode": "Ophaalmodus", "order-by-timestamp": "Orden op tijdstempel", @@ -6631,8 +7769,8 @@ "time-unit-hours": "Uren", "time-unit-days": "Dagen", "time-value-range": "Toegestane bereik van 1 tot 2147483647.", - "start-interval-value-required": "Interval start is verplicht.", - "end-interval-value-required": "Interval einde is verplicht.", + "start-interval-value-required": "Intervalstart is verplicht.", + "end-interval-value-required": "Intervaleinde is verplicht.", "filter": "Filter", "switch": "Schakelaar", "math-templatization-tooltip": "Dit veld ondersteunt templatization. Gebruik $[messageKey] om waarde uit bericht te halen en ${metadataKey} om waarde uit metadata te halen.", @@ -6643,30 +7781,30 @@ "no-message-type-matching": "'{{messageType}}' niet gevonden.", "create-new-message-type": "Maak een nieuwe aan.", "message-types-required": "Berichttypes zijn verplicht.", - "client-attributes": "Client attributen", + "client-attributes": "Clientattributen", "shared-attributes": "Gedeelde attributen", - "server-attributes": "Server attributen", + "server-attributes": "Serverattributen", "attributes-keys": "Attribuutsleutels", "attributes-keys-required": "Attribuutsleutels zijn verplicht", "attributes-scope": "Attribuutscope", "attributes-scope-value": "Attribuutscope waarde", "attributes-scope-value-copy": "Kopieer attribuutscope waarde", - "attributes-scope-hint": "Gebruik de 'scope' metadata sleutel om dynamisch de attribuutscope per bericht te bepalen. Indien opgegeven, overschrijft dit de scope in de configuratie.", - "notify-device": "Forceer notificatie naar apparaat", + "attributes-scope-hint": "Gebruik de 'scope'-metadatasleutel om dynamisch de attribuutscope per bericht te bepalen. Indien opgegeven, overschrijft dit de scope in de configuratie.", + "notify-device": "Melding naar apparaat afdwingen", "send-attributes-updated-notification": "Verzend melding bij bijgewerkte attributen", "send-attributes-updated-notification-hint": "Stuur melding over bijgewerkte attributen als apart bericht naar regelengine wachtrij.", "send-attributes-deleted-notification": "Verzend melding bij verwijderde attributen", "send-attributes-deleted-notification-hint": "Stuur melding over verwijderde attributen als apart bericht naar regelengine wachtrij.", - "update-attributes-only-on-value-change": "Sla attributen alleen op bij waarde wijziging", + "update-attributes-only-on-value-change": "Sla attributen alleen op bij waardewijziging", "update-attributes-only-on-value-change-hint": "Werkt attributen bij bij elk inkomend bericht, ongeacht of de waarde veranderd is. Verhoogt API-gebruik en vermindert prestaties.", "update-attributes-only-on-value-change-hint-enabled": "Werkt attributen alleen bij als hun waarde veranderd is. Geen update indien waarde hetzelfde blijft.", "fetch-credentials-to-metadata": "Haal referenties op naar metadata", - "notify-device-on-update-hint": "Indien ingeschakeld, forceer melding naar apparaat bij update gedeelde attributen. Anders wordt dit geregeld door 'notifyDevice' parameter in metadata.", - "notify-device-on-delete-hint": "Indien ingeschakeld, forceer melding naar apparaat bij verwijdering gedeelde attributen. Anders wordt dit geregeld door 'notifyDevice' parameter in metadata.", - "latest-timeseries": "Laatste tijdreeks gegevenssleutels", - "timeseries-keys": "Tijdreeks sleutels", - "timeseries-keys-required": "Ten minste één tijdreeks sleutel moet worden geselecteerd.", - "add-timeseries-key": "Voeg tijdreeks sleutel toe", + "notify-device-on-update-hint": "Indien ingeschakeld, wordt een melding over het bijwerken van gedeelde attributen geforceerd naar het apparaat verzonden. Indien uitgeschakeld, wordt het meldingsgedrag bepaald door de parameter 'notifyDevice' uit de metadata van het inkomende bericht. Om de melding uit te schakelen, moet de berichtmetadata de parameter 'notifyDevice' met de waarde 'false' bevatten. In alle andere gevallen wordt de melding naar het apparaat verzonden.", + "notify-device-on-delete-hint": "Indien ingeschakeld, wordt een melding over het verwijderen van gedeelde attributen geforceerd naar het apparaat verzonden. Indien uitgeschakeld, wordt het meldingsgedrag bepaald door de parameter 'notifyDevice' uit de metadata van het inkomende bericht. Om de melding in te schakelen, moet de berichtmetadata de parameter 'notifyDevice' met de waarde 'true' bevatten. In alle andere gevallen wordt er geen melding naar het apparaat verzonden.", + "latest-timeseries": "Laatste tijdreeksgegevenssleutels", + "timeseries-keys": "Tijdreekssleutels", + "timeseries-keys-required": "Ten minste één tijdreekssleutel moet worden geselecteerd.", + "add-timeseries-key": "Voeg tijdreekssleutel toe", "add-message-field": "Voeg berichtveld toe", "relation-search-parameters": "Relatie zoekparameters", "relation-parameters": "Relatieparameters", @@ -6720,8 +7858,8 @@ "max-relation-level-error": "Waarde moet groter dan 0 of leeg zijn.", "max-relation-level-invalid": "Waarde moet een geheel getal zijn.", "relation-type": "Relatietype", - "relation-type-pattern": "Relatietype patroon", - "relation-type-pattern-required": "Relatietype patroon is verplicht", + "relation-type-pattern": "Relatietypepatroon", + "relation-type-pattern-required": "Relatietypepatroon is verplicht", "relation-types-list": "Relatietypes om te propageren", "relation-types-list-hint": "Als er geen propagatierelatietypes zijn geselecteerd, worden alarmen zonder filtering gepropageerd.", "unlimited-level": "Onbeperkt niveau", @@ -6731,14 +7869,14 @@ "use-regular-expression-delete-hint": "Gebruik reguliere expressie om sleutels op patroon te verwijderen.\n\nTips & trucs:\nDruk op 'Enter' om veldnaam in te voeren.\nDruk op 'Backspace' om veldnaam te verwijderen.\nMeerdere veldnamen worden ondersteund.", "fetch-into": "Haal op in", "attr-mapping": "Attribuuttoewijzing:", - "source-attribute": "Bronattribuut sleutel", - "source-attribute-required": "Bronattribuut sleutel is verplicht.", + "source-attribute": "Bronattribuutsleutel", + "source-attribute-required": "Bronattribuutsleutel is verplicht.", "source-telemetry": "Brontelemetriesleutel", "source-telemetry-required": "Brontelemetriesleutel is verplicht.", "target-key": "Doelsleutel", "target-key-required": "Doelsleutel is verplicht.", - "attr-mapping-required": "Ten minste één toewijzing moet worden opgegeven.", - "fields-mapping": "Velden toewijzing", + "attr-mapping-required": "Er moet ten minste één mapping worden opgegeven.", + "fields-mapping": "Veldmapping", "fields-mapping-hint": "Indien veld op $entityId staat, wordt ID van afzender opgeslagen in opgegeven tabelkolom.", "relations-query-config-direction-suffix": "afzender", "profile-name": "Profielnaam", @@ -6754,10 +7892,10 @@ "originator-source": "Afzender bron", "new-originator": "Nieuwe afzender", "originator-customer": "Klant", - "originator-tenant": "Huurder", + "originator-tenant": "Tenant", "originator-related": "Gerelateerde entiteit", "originator-alarm-originator": "Afzender van alarm", - "originator-entity": "Entiteit via naam patroon", + "originator-entity": "Entiteit via naampatroon", "clone-message": "Bericht klonen", "no-owners-matching": "Geen eigenaars gevonden die overeenkomen met '{{entity}}'.", "owner-required": "Eigenaar is verplicht.", @@ -6767,7 +7905,7 @@ "transform": "Transformeren", "default-ttl": "Standaard TTL", "default-ttl-required": "Standaard TTL is verplicht.", - "default-ttl-hint": "Rule node haalt de Time-to-Live (TTL) waarde uit de metadata van het bericht. Indien niet aanwezig, wordt de TTL uit de configuratie gebruikt. Bij waarde 0 wordt de TTL uit het tenantprofiel toegepast.", + "default-ttl-hint": "De regelnode haalt de Time-to-Live-waarde (TTL) uit de metadata van het bericht. Indien niet aanwezig, wordt de TTL uit de configuratie gebruikt. Bij waarde 0 wordt de TTL uit het tenantprofiel toegepast.", "default-ttl-zero-hint": "TTL wordt niet toegepast als de waarde 0 is.", "min-default-ttl-message": "Alleen minimale TTL van 0 is toegestaan.", "generation-parameters": "Genereerparameters", @@ -6778,52 +7916,52 @@ "period-seconds-required": "Periode is verplicht.", "generation-frequency-seconds": "Genereerfrequentie in seconden", "generation-frequency-required": "Genereerfrequentie is verplicht.", - "min-generation-frequency-message": "Minimaal 60 seconden is toegestaan.", + "min-generation-frequency-message": "Minimaal 1 seconde is toegestaan.", "script-lang-tbel": "TBEL", "script-lang-js": "JS", - "use-metadata-period-in-seconds-patterns": "Gebruik periode in seconden patroon", - "use-metadata-period-in-seconds-patterns-hint": "Indien geselecteerd, gebruikt de rule node de interval van de metadata of data, aangenomen dat deze in seconden is.", - "period-in-seconds-pattern": "Periode in seconden patroon", - "period-in-seconds-pattern-required": "Periode in seconden patroon is verplicht", - "min-period-seconds-message": "Minimale toegestane periode is 60 seconden.", + "use-metadata-period-in-seconds-patterns": "Gebruik patroon voor periode in seconden", + "use-metadata-period-in-seconds-patterns-hint": "Indien geselecteerd, gebruikt de regelnode het intervalpatroon voor de periode in seconden uit de berichtmetadata of -gegevens, aangenomen dat de intervallen in seconden zijn.", + "period-in-seconds-pattern": "Patroon voor periode in seconden", + "period-in-seconds-pattern-required": "Patroon voor periode in seconden is verplicht", + "min-period-seconds-message": "Minimale toegestane periode is 1 seconde.", "originator": "Afzender", "message-body": "Berichtinhoud", "message-metadata": "Berichtmetadata", "generate": "Genereren", - "current-rule-node": "Huidige Rule Node", - "current-tenant": "Huidige Huurder", + "current-rule-node": "Huidige regelnode", + "current-tenant": "Huidige tenant", "generator-function": "Genereerfunctie", - "test-generator-function": "Test genereerfunctie", + "test-generator-function": "Generatorfunctie testen", "generator": "Generator", - "test-filter-function": "Test filterfunctie", - "test-switch-function": "Test switchfunctie", + "test-filter-function": "Filterfunctie testen", + "test-switch-function": "Switchfunctie testen", "parent-entity": "Bovenliggende entiteiten", "include-root-entity-to-parent-entities": "Voeg hoofdentiteit toe aan lijst met bovenliggende entiteiten", - "test-transformer-function": "Test transformatorfunctie", + "test-transformer-function": "Transformatorfunctie testen", "transformer": "Transformator", "alarm-create-condition": "Voorwaarde voor alarm aanmaken", - "test-condition-function": "Test voorwaarde-functie", - "alarm-clear-condition": "Voorwaarde voor alarm wissen", - "alarm-details-builder": "Alarm details samensteller", - "test-details-function": "Test details functie", + "test-condition-function": "Voorwaardefunctie testen", + "alarm-clear-condition": "Opheffingsvoorwaarde voor alarm", + "alarm-details-builder": "Samensteller voor alarmdetails", + "test-details-function": "Detailfunctie testen", "alarm-type": "Alarmtype", "select-entity-types": "Selecteer entiteitstypen", "alarm-type-required": "Alarmtype is verplicht.", - "alarm-severity": "Alarm ernst", - "alarm-severity-required": "Alarm ernst is verplicht", - "alarm-severity-pattern": "Alarm ernst patroon", + "alarm-severity": "Alarmernst", + "alarm-severity-required": "Alarmernst is verplicht", + "alarm-severity-pattern": "Patroon voor alarmernst", "alarm-status-filter": "Alarmstatusfilter", "alarm-status-list-empty": "Alarmstatuslijst is leeg", "no-alarm-status-matching": "Geen overeenkomende alarmstatus gevonden.", "no-alarm-severity-matching": "Geen overeenkomende alarmernst gevonden.", "propagate": "Alarm propageren naar gerelateerde entiteiten", - "propagate-to-owner": "Propageren naar entiteitseigenaar (Klant of Huurder)", + "propagate-to-owner": "Alarm propageren naar entiteitseigenaar (klant of tenant)", "propagate-to-owner-hierarchy": "Propageren naar eigenaars hiërarchie", - "propagate-to-tenant": "Propageren naar Huurder", + "propagate-to-tenant": "Alarm propageren naar tenant", "condition": "Voorwaarde", "details": "Details", "to-string": "Naar tekenreeks", - "test-to-string-function": "Test naar-tekenreeks functie", + "test-to-string-function": "ToString-functie testen", "from-template": "Van", "from-template-required": "Van is verplicht", "message-to-metadata": "Bericht naar metadata", @@ -6851,11 +7989,12 @@ "timeout-sec": "Timeout in seconden", "timeout-required": "Timeout is verplicht", "min-timeout-message": "Minimale toegestane timeout is 0.", - "endpoint-url-pattern": "Endpoint URL patroon", - "endpoint-url-pattern-required": "Endpoint URL patroon is verplicht", + "endpoint-url-pattern": "Endpoint-URL-patroon", + "endpoint-url-pattern-required": "Endpoint-URL-patroon is verplicht", "request-method": "Aanvraagmethode", - "use-simple-client-http-factory": "Gebruik eenvoudige HTTP-clientfactory", "ignore-request-body": "Zonder request body", + "request-body-template": "Sjabloon voor aanvraagbody", + "request-body-template-hint": "Gebruik ${metadataKey} voor metadata en $[messageKey] voor berichtwaarden. Als dit leeg is, wordt de payload van het bericht als aanvraagbody gebruikt. Schakel voor niet-JSON-payloads 'Omzetten naar platte tekst' in.

    Je kunt een geheim injecteren met de placeholder ${secret:name;type:TYPE}, waarbij 'name' de identificatie van het geheim is en 'type' TEXT of TEXT_FILE is. Dit is handig in configuratievelden van regelnodes die 'Gebruik geheim' niet direct ondersteunen. Voorbeeld: ${secret:tenant password;type:TEXT}.", "parse-to-plain-text": "Omzetten naar platte tekst", "parse-to-plain-text-hint": "Indien geselecteerd, wordt de payload van het bericht als JSON-string omgezet naar platte tekst, bijv. msg = \"Hello,\\t\"world\"\" wordt Hello, \"world\"", "read-timeout": "Leestime-out in milliseconden", @@ -6865,7 +8004,7 @@ "max-response-size": "Maximale responsgrootte (in KB)", "max-response-size-hint": "Maximale geheugengrootte voor het bufferen van gegevens bij decoderen of coderen van HTTP-berichten zoals JSON of XML", "headers": "Headers", - "headers-hint": "Gebruik ${metadataKey} voor waarde uit metadata, $[messageKey] voor waarde uit berichtinhoud", + "headers-hint": "Gebruik ${metadataKey} voor een waarde uit de metadata, $[messageKey] voor een waarde uit de berichtinhoud in header-/waardevelden.

    Je kunt een geheim invoegen met de placeholder ${secret:name;type:TYPE}, waarbij 'name' de identifier van het geheim is en 'type' TEXT of TEXT_FILE. Dit is handig in configuratievelden van regelnodes die 'Gebruik geheim' niet direct ondersteunen. Voorbeeld: ${secret:Header;type:TEXT}.", "header": "Header", "header-required": "Header is verplicht", "value": "Waarde", @@ -6879,6 +8018,7 @@ "bootstrap-servers": "Bootstrap-servers", "bootstrap-servers-required": "Bootstrap-servers zijn verplicht", "other-properties": "Overige eigenschappen", + "other-properties-empty": "Geen andere eigenschappen geconfigureerd", "key": "Sleutel", "key-required": "Sleutel is verplicht", "retries": "Aantal automatische pogingen bij mislukking", @@ -6899,8 +8039,8 @@ "aws-secret-access-key-required": "AWS Secret Access Key is verplicht", "aws-region": "AWS-regio", "aws-region-required": "AWS-regio is verplicht", - "exchange-name-pattern": "Exchange-naam patroon", - "routing-key-pattern": "Routeringssleutel patroon", + "exchange-name-pattern": "Patroon voor exchangenaam", + "routing-key-pattern": "Routeringssleutelpatroon", "message-properties": "Berichteigenschappen", "host": "Host", "host-required": "Host is verplicht", @@ -6916,8 +8056,9 @@ "handshake-timeout-ms": "Handshake-time-out (ms)", "min-handshake-timeout-ms-message": "Minimale waarde is 0 ms", "client-properties": "Clienteigenschappen", - "queue-url-pattern": "Wachtrij URL patroon", - "queue-url-pattern-required": "Wachtrij URL patroon is verplicht", + "client-properties-empty": "Geen clienteigenschappen geconfigureerd", + "queue-url-pattern": "Wachtrij-URL-patroon", + "queue-url-pattern-required": "Wachtrij-URL-patroon is verplicht", "delay-seconds": "Vertraging (seconden)", "min-delay-seconds-message": "Minimale waarde is 0 seconden", "max-delay-seconds-message": "Maximale waarde is 900 seconden", @@ -6933,12 +8074,13 @@ "pubsub-topic-name": "Onderwerpnaam", "pubsub-topic-name-required": "Onderwerpnaam is verplicht", "message-attributes": "Berichtattributen", + "message-attributes-empty": "Geen berichtattributen geconfigureerd", "message-attributes-hint": "Gebruik ${metadataKey} voor waarden uit metadata, $[messageKey] voor waarden uit het berichtlichaam in naam/waarde-velden", "connect-timeout": "Verbindingstime-out (sec)", "connect-timeout-required": "Verbindingstime-out is verplicht.", "connect-timeout-range": "Verbindingstime-out moet tussen 1 en 200 liggen.", "client-id": "Client ID", - "client-id-hint": "Optioneel. Leeg laten voor automatisch gegenereerde ID. Zorg voor unieke ID in microservices-modus. Gebruik de optie hieronder om service-ID als suffix toe te voegen.", + "client-id-hint": "Optioneel. Laat leeg voor een automatisch gegenereerde Client ID. Wees voorzichtig bij het opgeven van de Client ID. De meeste MQTT-brokers staan niet meerdere verbindingen met dezelfde Client ID toe. Om met zulke brokers te verbinden, moet je MQTT Client ID uniek zijn. Wanneer het platform in microservicesmodus draait, wordt in elke microservice een kopie van de regelnode gestart. Dit leidt automatisch tot meerdere MQTT-clients met dezelfde ID en kan storingen van de regelnode veroorzaken. Schakel de optie \"Voeg service-ID toe als suffix aan Client ID\" hieronder in om zulke storingen te voorkomen.", "append-client-id-suffix": "Voeg service-ID toe als suffix aan Client ID", "client-id-suffix-hint": "Optioneel. Alleen van toepassing als 'Client ID' is opgegeven. Toevoegen van service-ID als suffix helpt bij microservices-omgevingen.", "device-id": "Apparaat ID", @@ -6952,8 +8094,8 @@ "credentials-basic": "Basis", "credentials-pem": "PEM", "credentials-pem-hint": "Minstens een Server CA-certificaatbestand of een paar Clientcertificaat en Client private key-bestanden zijn vereist", - "credentials-sas": "Gedeelde Toegangssleutel (SAS)", - "secret-placeholder-hint": "U kunt een geheim invoegen met behulp van de placeholder ${secret:name;type:TYPE}, waarbij 'name' de geheime identifier is en 'type' TEXT of TEXT_FILE. Dit is handig in configuratievelden van regelknooppunten die 'Use Secret' niet direct ondersteunen. Voorbeeld: ${secret:Header;type:TEXT}", + "credentials-sas": "Shared Access Signature", + "secret-placeholder-hint": "Je kunt een geheim invoegen met behulp van de placeholder ${secret:name;type:TYPE}, waarbij 'name' de identifier van het geheim is en 'type' TEXT of TEXT_FILE. Dit is handig in configuratievelden van regelnodes die 'Gebruik geheim' niet direct ondersteunen. Voorbeeld: ${secret:Header;type:TEXT}", "sas-key": "SAS-sleutel", "sas-key-required": "SAS-sleutel is verplicht.", "hostname": "Hostnaam", @@ -6966,18 +8108,18 @@ "cert": "Client certificaatbestand", "no-file": "Geen bestand geselecteerd.", "drop-file": "Sleep een bestand of klik om te selecteren.", - "private-key-password": "Privésleutel wachtwoord", - "use-system-smtp-settings": "Gebruik systeem SMTP-instellingen", + "private-key-password": "Privésleutelwachtwoord", + "use-system-smtp-settings": "Gebruik systeem-SMTP-instellingen", "use-metadata-dynamic-interval": "Gebruik dynamisch interval", - "metadata-dynamic-interval-hint": "De velden voor intervalstart en -einde ondersteunen templatization. De vervangende waarde moet in milliseconden zijn.", - "use-metadata-interval-patterns-hint": "Indien geselecteerd, gebruikt regelknoop start- en eindintervalpatronen uit berichtmetadata of gegevens in milliseconden.", + "metadata-dynamic-interval-hint": "De velden voor intervalstart en -einde ondersteunen templatisering. Houd er rekening mee dat de ingevulde sjabloonwaarde in milliseconden moet worden opgegeven. Gebruik $[messageKey] om een waarde uit het bericht te halen en ${metadataKey} om een waarde uit de metadata te halen.", + "use-metadata-interval-patterns-hint": "Indien geselecteerd, gebruikt de regelnode patronen voor begin en einde van het interval uit de berichtmetadata of -gegevens, waarbij wordt aangenomen dat de intervallen in milliseconden zijn.", "use-message-alarm-data": "Gebruik alarmgegevens uit bericht", "overwrite-alarm-details": "Overschrijf alarmdetails", "use-alarm-severity-pattern": "Gebruik alarmernstpatroon", "check-all-keys": "Controleer dat alle gespecificeerde velden aanwezig zijn", "check-all-keys-hint": "Controleert of alle gespecificeerde sleutels aanwezig zijn in de berichtgegevens en metadata.", "check-relation-to-specific-entity": "Controleer relatie met specifieke entiteit", - "check-relation-to-specific-entity-tooltip": "Indien ingeschakeld, controleert op relatie met specifieke entiteit; anders met een willekeurige entiteit.", + "check-relation-to-specific-entity-tooltip": "Indien ingeschakeld, wordt gecontroleerd of er een relatie met een specifieke entiteit bestaat; anders of er een relatie met een willekeurige entiteit bestaat. In beide gevallen wordt de relatie gezocht op basis van de geconfigureerde richting en het geconfigureerde type.", "check-relation-hint": "Controleert het bestaan van een relatie op basis van richting en type.", "delete-relation-with-specific-entity": "Verwijder relatie met specifieke entiteit", "delete-relation-with-specific-entity-hint": "Verwijdert alleen relatie met één specifieke entiteit als ingeschakeld.", @@ -7001,8 +8143,8 @@ "enter-username": "Voer gebruikersnaam in", "enter-password": "Voer wachtwoord in", "enable-tls": "TLS inschakelen", - "group-name-pattern": "Groepsnaam patroon", - "group-name-pattern-required": "Groepsnaam patroon is verplicht", + "group-name-pattern": "Groepsnaampatroon", + "group-name-pattern-required": "Groepsnaampatroon is verplicht", "create-group-if-not-exists": "Maak nieuwe groep indien niet bestaat", "group-cache-expiration": "Groepscache vervaltijd (sec)", "group-cache-expiration-required": "Groepscache vervaltijd is verplicht.", @@ -7010,7 +8152,9 @@ "group-cache-expiration-hint": "Maximale tijd om gevonden groepsrecords op te slaan. 0 betekent dat records nooit vervallen.", "remove-from-current-groups": "Verwijder uit huidige groepen", "use-report-config-from-message": "Gebruik rapportconfiguratie uit bericht", + "use-report-config-from-message-hint": "Als dit is ingeschakeld, haalt de regelnode de configuratie voor het genereren van rapporten op uit het inkomende bericht; anders wordt de hieronder opgegeven configuratie gebruikt.", "use-system-reports-server": "Gebruik systeemrapportserver", + "use-system-reports-server-hint": "Als dit is ingeschakeld, gebruikt de regelnode de endpoint-URL van de rapportserver uit de systeemconfiguratie; anders wordt de hieronder opgegeven URL gebruikt.", "reports-server-endpoint-url": "Endpoint URL van rapportserver", "reports-server-endpoint-url-is-required": "Endpoint URL van rapportserver is verplicht.", "tls-version": "TLS-versie", @@ -7023,13 +8167,12 @@ "proxy-port-range": "Proxypoort moet tussen 1 en 65535 liggen.", "proxy-user": "Proxygebruiker", "proxy-password": "Proxywachtwoord", - "proxy-scheme": "Proxyschema", - "numbers-to-template": "Telefoonnummers voor template", - "numbers-to-template-required": "Telefoonnummers voor template is verplicht", + "numbers-to-template": "Telefoonnummers naar sjabloon", + "numbers-to-template-required": "Telefoonnummers naar sjabloon is verplicht", "numbers-to-template-hint": "Kommagescheiden telefoonnummers, gebruik ${metadataKey} voor de waarde uit de metadata, $[messageKey] voor de waarde uit de berichtinhoud", "sms-message-template": "SMS-berichttemplate", "sms-message-template-required": "SMS-berichttemplate is verplicht", - "use-system-sms-settings": "Gebruik systeem SMS-instellingen", + "use-system-sms-settings": "Gebruik systeeminstellingen voor SMS-provider", "min-period-0-seconds-message": "Minimale periode is 0 seconden.", "max-pending-messages": "Maximaal aantal wachtrijberichten", "max-pending-messages-required": "Maximaal aantal wachtrijberichten is verplicht.", @@ -7071,7 +8214,7 @@ "single-entity": "Enkele entiteit", "group-of-entities": "Groep van entiteiten", "entities": "Entiteiten", - "root-entity": "Hoofd entiteit", + "root-entity": "Root-entiteit", "child-entities-query": "Query voor onderliggende entiteiten", "child-entities": "Onderliggende entiteiten", "execution-period-value": "Uitvoeringsperiode waarde", @@ -7113,7 +8256,7 @@ "interval-seconds": "Interval in seconden", "interval-seconds-required": "Interval is verplicht.", "int-range": "Waarde mag maximumwaarde van integer niet overschrijden (2147483648)", - "min-interval-seconds-message": "Minimaal 1 seconde interval is vereist.", + "min-interval-seconds-message": "Minimaal toegestaan interval is 1 seconde.", "output-timeseries-key-prefix": "Prefix voor output tijdreeksleutel", "output-timeseries-key-prefix-required": "Prefix voor tijdreeksleutel is verplicht.", "separator-hint": "Druk op \"Enter\" om het veldinvoer te voltooien.", @@ -7124,7 +8267,7 @@ "create-owner-if-not-exists-hint": "Indien ingeschakeld en klant met opgegeven titel bestaat niet, wordt een nieuwe bovenliggende klant aangemaakt.", "create-new-customer-if-not-exists-hint": "Indien ingeschakeld en klant met opgegeven titel bestaat niet, wordt een nieuwe klant aangemaakt.", "create-owner-on-originator-level": "Maak nieuwe klant aan op hetzelfde niveau als berichtbron", - "create-owner-on-originator-level-hint": "Indien ingeschakeld en eigenaar van de oorsprong is huurder, wordt bovenliggende klant aangemaakt. Anders wordt een subklant aangemaakt.", + "create-owner-on-originator-level-hint": "Indien ingeschakeld en de eigenaar van de afzender een tenant is, maakt de regelnode een klant op het hoogste niveau aan. Indien ingeschakeld en de eigenaar van de afzender een klant is, maakt de regelnode een subklant van die klant aan.", "owner-cache-expiration": "Cache-vervaltijd voor eigenaars (seconden)", "owner-cache-expiration-required": "Cache-vervaltijd voor eigenaars is verplicht.", "owner-cache-expiration-range": "Cache-vervaltijd voor eigenaars moet groter zijn dan of gelijk aan 0.", @@ -7163,9 +8306,9 @@ "longitude-field-name-required": "Naam van lengtegraadveld is verplicht.", "fetch-perimeter-info-from-metadata": "Perimeterinformatie ophalen uit metadata", "fetch-perimeter-info-from-metadata-tooltip": "Als het perimetertype is ingesteld op 'Polygon', wordt de waarde van het metagegevensveld '{{perimeterKeyName}}' rechtstreeks gebruikt als perimetrische definitie. Als het perimetertype 'Circle' is, wordt deze waarde geparseerd om 'latitude', 'longitude', 'radius', en 'radiusUnit' te extraheren voor de definitie van de cirkelperimeter.", - "perimeter-key-name": "Perimeter sleutelnaam", + "perimeter-key-name": "Perimetersleutelnaam", "perimeter-key-name-hint": "Naam van het metagegevensveld dat perimeterinformatie bevat.", - "perimeter-key-name-required": "Perimeter sleutelnaam is verplicht.", + "perimeter-key-name-required": "Perimetersleutelnaam is verplicht.", "perimeter-circle": "Cirkel", "perimeter-polygon": "Polygoon", "perimeter-type": "Perimetertype", @@ -7238,21 +8381,21 @@ "failure-if-delta-negative": "Melding bij negatieve delta", "failure-if-delta-negative-tooltip": "De regelnode dwingt een verwerkingsfout af als de deltawaarde negatief is.", "use-caching": "Caching gebruiken", - "use-caching-tooltip": "De regel‑node cacheert de waarde van \"{{inputValueKey}}\" die binnenkomt via het inkomende bericht om de prestaties te verbeteren. Houd er rekening mee dat de cache niet wordt bijgewerkt als u de waarde van \"{{inputValueKey}}\" elders wijzigt.", + "use-caching-tooltip": "De regelnode slaat de waarde van \"{{inputValueKey}}\" uit het inkomende bericht op in de cache om de prestaties te verbeteren. Houd er rekening mee dat de cache niet wordt bijgewerkt als je de waarde van \"{{inputValueKey}}\" elders wijzigt.", "add-time-difference-between-readings": "Tijdsverschil toevoegen tussen \"{{inputValueKey}}\" metingen", - "add-time-difference-between-readings-tooltip": "Indien ingeschakeld, voegt de regel‑node de \"{{periodValueKey}}\" toe aan het uitgaande bericht.", - "period-value-key": "Sleutel voor periode‑waarde", - "period-value-key-required": "Sleutel voor periode‑waarde is verplicht.", + "add-time-difference-between-readings-tooltip": "Indien ingeschakeld, voegt de regelnode de \"{{periodValueKey}}\" toe aan het uitgaande bericht.", + "period-value-key": "Sleutel voor periodewaarde", + "period-value-key-required": "Sleutel voor periodewaarde is verplicht.", "general-pattern-hint": "Gebruik ${metadataKey} voor waarden uit metadata, $[messageKey] voor waarden uit het berichtlichaam.", "alarm-severity-pattern-hint": "Gebruik ${metadataKey} voor een waarde uit metadata, en $[messageKey] voor een waarde uit het berichtlichaam. De alarmernst moet een systeemniveau zijn (CRITICAL, MAJOR, enz.).", - "output-node-name-hint": "De regel‑node‑naam komt overeen met het relatietype van het uitgaande bericht, en wordt gebruikt om berichten door te sturen naar andere regel‑nodes in de oproepende regelketen.", + "output-node-name-hint": "De regelnodenaam komt overeen met het relatietype van het uitgaande bericht, en wordt gebruikt om berichten door te sturen naar andere regelnodes in de oproepende regelketen.", "use-server-ts": "Gebruik de tijdstempel van de server", "use-server-ts-hint": "Gebruik de huidige tijdstempel van de server voor tijdreeksgegevens die geen expliciete tijdstempel bevatten. Dit helpt om de juiste volgorde te behouden wanneer berichten uit meerdere bronnen komen of buiten volgorde binnenkomen.", "kv-map-pattern-hint": "Alle invoervelden ondersteunen templatisering. Gebruik $[messageKey] om een waarde uit het bericht te halen en ${metadataKey} om een waarde uit de metadata te halen.", "kv-map-single-pattern-hint": "Invoerveld ondersteunt templatisering. Gebruik $[messageKey] voor een waarde uit het bericht en ${metadataKey} voor een waarde uit de metadata.", "shared-scope": "Gedeelde scope", - "server-scope": "Server‑scope", - "client-scope": "Client‑scope", + "server-scope": "Serverscope", + "client-scope": "Clientscope", "attribute-type": "Attribuut", "attribute-type-description": "Haal attribuutwaarde op uit de database", "attribute-type-result-description": "Sla resultaat op als entiteitsattribuut in de database", @@ -7260,7 +8403,7 @@ "constant-type-description": "Definieer een constante waarde", "time-series-type": "Tijdreeks", "time-series-type-description": "Haal de laatste tijdreekswaarde op uit de database", - "time-series-type-result-description": "Sla het resultaat op als een entiteits‑tijdreeks in de database", + "time-series-type-result-description": "Sla het resultaat op als een entiteitstijdreeks in de database", "message-body-type": "Bericht", "message-body-type-description": "Waarde uit bericht ophalen", "message-body-type-result-description": "Resultaat toevoegen aan bericht", @@ -7296,7 +8439,7 @@ "custom-expression-field-input-hint": "Bijv. om Fahrenheit naar Celsius om te rekenen", "retained-message": "Behouden bericht", "attributes-mapping": "Attribuuttoewijzing", - "latest-telemetry-mapping": "Laatste telemetrie-toewijzing", + "latest-telemetry-mapping": "Mapping van laatste telemetrie", "add-mapped-attribute-to": "Voeg toegewezen attributen toe aan", "add-mapped-latest-telemetry-to": "Voeg toegewezen telemetrie toe aan", "add-mapped-fields-to": "Voeg toegewezen velden toe aan", @@ -7318,10 +8461,10 @@ "originator-attributes": "Bronattributen", "fetch-latest-telemetry-with-timestamp": "Haal laatste telemetrie op met tijdstempel", "fetch-latest-telemetry-with-timestamp-tooltip": "Voegt tijdstempel toe aan metadata bij laatste telemetrie, bijv: \"{{latestTsKeyName}}\": \"{\"ts\":1574329385897, \"value\":42}\"", - "tell-failure": "Melding van mislukking indien attributen ontbreken", + "tell-failure": "Failure melden als een van de attributen ontbreekt", "tell-failure-tooltip": "Indien ten minste één geselecteerde sleutel ontbreekt, wordt bericht als 'Mislukt' gemarkeerd.", "created-time": "Aangemaakt op", - "chip-help": "Druk op 'Enter' om {{inputName}} in te voeren. Backspace wist invoer. Meerdere waarden ondersteund.", + "chip-help": "Druk op 'Enter' om de invoer van {{inputName}} te voltooien. \nDruk op 'Backspace' om {{inputName}} te verwijderen. \nMeerdere waarden worden ondersteund.", "detail": "detail", "field-name": "veldnaam", "device-profile": "apparaatprofiel", @@ -7332,7 +8475,7 @@ "first-name": "Voornaam", "last-name": "Achternaam", "label": "Label", - "originator-fields-mapping": "Toewijzing oorsprongsvelden", + "originator-fields-mapping": "Mapping van afzendervelden", "add-mapped-originator-fields-to": "Toegevoegde oorsprongsvelden plaatsen in", "fields": "Velden", "skip-empty-fields": "Lege velden overslaan", @@ -7341,10 +8484,10 @@ "fetch-strategy": "Ophaalstrategie", "fetch-timeseries-from-to": "Haal tijdreeksen op van {{startInterval}} {{startIntervalTimeUnit}} geleden tot {{endInterval}} {{endIntervalTimeUnit}} geleden.", "fetch-timeseries-from-to-invalid": "Ophalen tijdreeksen ongeldig (\"Intervalstart\" moet kleiner zijn dan \"Intervaleind\").", - "use-metadata-dynamic-interval-tooltip": "Indien geselecteerd zal de regel‑node dynamische intervalstart en eind gebruiken op basis van berichten- en metadata‑patronen.", - "all-mode-hint": "Indien de ophaalmodus \"Alle\" is geselecteerd, haalt de regel‑node telemetrie op binnen het ophaalinterval met configureerbare query‑parameters.", - "first-mode-hint": "Indien de ophaalmodus \"Eerste\" is geselecteerd, haalt de regel‑node de dichtstbijzijnde telemetrie op ten opzichte van het begin van het ophaalinterval.", - "last-mode-hint": "Indien de ophaalmodus \"Laatste\" is geselecteerd, haalt de regel‑node de dichtstbijzijnde telemetrie op ten opzichte van het einde van het ophaalinterval.", + "use-metadata-dynamic-interval-tooltip": "Indien geselecteerd, gebruikt de regelnode een dynamisch begin en einde van het interval op basis van berichten- en metadatapatronen.", + "all-mode-hint": "Indien de ophaalmodus \"Alle\" is geselecteerd, haalt de regelnode telemetrie op binnen het ophaalinterval met configureerbare queryparameters.", + "first-mode-hint": "Indien de ophaalmodus \"Eerste\" is geselecteerd, haalt de regelnode de dichtstbijzijnde telemetrie op ten opzichte van het begin van het ophaalinterval.", + "last-mode-hint": "Indien de ophaalmodus \"Laatste\" is geselecteerd, haalt de regelnode de dichtstbijzijnde telemetrie op ten opzichte van het einde van het ophaalinterval.", "ascending": "Oplopend", "descending": "Aflopend", "min": "Min", @@ -7353,11 +8496,11 @@ "sum": "Som", "count": "Aantal", "none": "Geen", - "last-level-relation-tooltip": "Als geselecteerd, zoekt de regel‑node gerelateerde entiteiten alleen op het niveau dat is ingesteld in de parameter 'max relation level'.", - "last-level-device-relation-tooltip": "Als geselecteerd, zoekt de regel‑node gerelateerde apparaten alleen op het niveau dat is ingesteld in de parameter 'max relation level'.", + "last-level-relation-tooltip": "Indien geselecteerd, zoekt de regelnode gerelateerde entiteiten alleen op het niveau dat is ingesteld in 'Maximaal relatieniveau'.", + "last-level-device-relation-tooltip": "Indien geselecteerd, zoekt de regelnode gerelateerde apparaten alleen op het niveau dat is ingesteld in 'Maximaal relatieniveau'.", "data-to-fetch": "Op te halen gegevens", "mapping-of-customers": "Mapping van klanten", - "map-fields-required": "Alle mapping‑velden zijn verplicht.", + "map-fields-required": "Alle mappingvelden zijn verplicht.", "attributes": "Attributen", "related-device-attributes": "Gerelateerde apparaatattributen", "add-selected-attributes-to": "Geselecteerde attributen toevoegen aan", @@ -7366,9 +8509,9 @@ "add-attribute-key": "Attribuutsleutel toevoegen", "message-template": "Berichtsjabloon", "message-template-required": "Berichtsjabloon is verplicht", - "use-system-slack-settings": "Systeem‑Slack‑instellingen gebruiken", - "slack-api-token": "Slack API‑token", - "slack-api-token-required": "Slack API‑token is verplicht", + "use-system-slack-settings": "Systeeminstellingen voor Slack gebruiken", + "slack-api-token": "Slack API-token", + "slack-api-token-required": "Slack API-token is verplicht", "deduplication-period-sec": "Deduplicatieperiode (sec)", "deduplication-period-sec-required": "Waarde voor deduplicatieperiode is verplicht.", "deduplication-period-sec-range": "Waarde voor deduplicatieperiode moet liggen tussen 10 en 2147483647.", @@ -7377,30 +8520,30 @@ "recipients": "Ontvangers", "message-subject-and-content": "Onderwerp en inhoud bericht", "template-rules-hint": "Beide invoervelden ondersteunen templatisering. Gebruik $[messageKey] om een waarde uit het bericht te halen en ${metadataKey} om een waarde uit de metadata te halen.", - "originator-customer-desc": "Gebruik klant van de binnenkomende bericht‑afzender als nieuwe afzender.", + "originator-customer-desc": "Gebruik de klant van de afzender van het binnenkomende bericht als nieuwe afzender.", "originator-tenant-desc": "Gebruik huidige tenant als nieuwe afzender.", "originator-related-entity-desc": "Gebruik de gerelateerde entiteit als nieuwe afzender. Lookup op basis van geconfigureerd relatietype en richting.", - "originator-alarm-originator-desc": "Gebruik de alarm‑afzender als nieuwe afzender. Alleen indien de binnenkomende bericht‑afzender een alarm‑entiteit is.", - "originator-entity-by-name-pattern-desc": "Gebruik entiteit opgehaald uit DB als nieuwe afzender. Lookup op basis van entiteitstype en opgegeven naam‑patroon.", + "originator-alarm-originator-desc": "Gebruik de alarmafzender als nieuwe afzender. Alleen als de afzender van het binnenkomende bericht een alarm is.", + "originator-entity-by-name-pattern-desc": "Gebruik een entiteit uit de database als nieuwe afzender. Opzoeken op basis van entiteitstype en opgegeven naampatroon.", "email-from-template-hint": "Gebruik $[messageKey] om een waarde uit het bericht te halen en ${metadataKey} om een waarde uit de metadata te halen.", - "recipients-block-main-hint": "Komma‑gescheiden adressenlijst. Alle invoervelden ondersteunen templatisering. Gebruik $[messageKey] voor waarde uit het bericht en ${metadataKey} voor waarde uit de metadata.", - "search-entity-group-for-tenant-only-hint": "Standaard start het zoeken naar groepen op hetzelfde niveau als de eigenaar van het bericht‑afzender en loopt omhoog naar het tenantniveau indien de groep niet wordt gevonden. Indien ingeschakeld is de zoekactie beperkt tot het tenantniveau alleen, en wordt het standaardgedrag overgeslagen.", - "entity-group-is-message-originator-hint": "Indien ingeschakeld zal de bericht‑afzender worden beschouwd als de entiteitengroep die gebruikt wordt om entiteiten op te halen. In dit geval wordt het bericht doorgestuurd via de Failure‑keten indien de bericht‑afzender niet van het type entiteitengroep is.", + "recipients-block-main-hint": "Kommagescheiden adressenlijst. Alle invoervelden ondersteunen templatisering. Gebruik $[messageKey] voor waarde uit het bericht en ${metadataKey} voor waarde uit de metadata.", + "search-entity-group-for-tenant-only-hint": "Standaard start het zoeken naar groepen op hetzelfde niveau als de eigenaar van de berichtafzender en loopt omhoog naar het tenantniveau indien de groep niet wordt gevonden. Indien ingeschakeld, wordt alleen op tenantniveau gezocht en wordt het standaardgedrag overgeslagen.", + "entity-group-is-message-originator-hint": "Indien ingeschakeld, wordt de berichtafzender beschouwd als de entiteitengroep die gebruikt wordt om entiteiten op te halen. In dit geval wordt het bericht doorgestuurd via de Failure-keten indien de berichtafzender niet van het type entiteitengroep is.", "forward-msg-default-rule-chain": "Stuur bericht door naar de standaard regelketen van de afzender", "forward-msg-default-rule-chain-tooltip": "Indien ingeschakeld wordt het bericht doorgestuurd naar de standaard regelketen van de afzender, of naar de regelketen uit de configuratie. Als de afzender geen standaard regelketen heeft gedefinieerd in het entiteitprofiel.", "fetch-originators-attributes-customer": "Haal attributen van afzender op indien afzender klant is", - "fetch-originators-attributes-customer-hint": "Indien ingeschakeld én de bericht‑afzender is een klant, zal de regel‑node de attribuutmapping van de afzender ophalen en de zoektocht naar een klant overslaan.", + "fetch-originators-attributes-customer-hint": "Indien ingeschakeld en de afzender van het binnenkomende bericht een klant is, haalt de regelnode de {{mappingOfCustomers}} van de afzender op en wordt het zoeken naar een klant overgeslagen.", "parse-originator-if-customer": "Wijzig de afzender niet indien de afzender een klant is", - "parse-originator-if-customer-hint": "Indien ingeschakeld én de bericht‑afzender is een klant, zal de regel‑node **geen** zoektocht naar een nieuwe afzender uitvoeren en de bestaande behouden.", - "exclude-zero-deltas": "Sluit nul‑delta’s uit van het uitgaande bericht", - "exclude-zero-deltas-hint": "Indien ingeschakeld zal de output‑sleutel \"{{outputValueKey}}\" aan het uitgaande bericht worden toegevoegd **als** de waarde **niet** nul is.", - "exclude-zero-deltas-time-difference-hint": "Indien ingeschakeld zullen de output‑sleutels \"{{outputValueKey}}\" en \"{{periodValueKey}}\" alleen aan het uitgaande bericht worden toegevoegd **als** de waarde van \"{{outputValueKey}}\" niet nul is.", - "search-direction-from": "Van afzender naar doel‑entiteit", - "search-direction-to": "Van doel‑entiteit naar afzender", + "parse-originator-if-customer-hint": "Indien ingeschakeld en de afzender van het binnenkomende bericht een klant is, slaat de regelnode het zoeken naar een nieuwe afzender over en behoudt de bestaande.", + "exclude-zero-deltas": "Nuldelta’s uitsluiten van het uitgaande bericht", + "exclude-zero-deltas-hint": "Indien ingeschakeld, wordt de uitvoersleutel \"{{outputValueKey}}\" aan het uitgaande bericht toegevoegd als de waarde niet nul is.", + "exclude-zero-deltas-time-difference-hint": "Indien ingeschakeld, worden de uitvoersleutels \"{{outputValueKey}}\" en \"{{periodValueKey}}\" alleen aan het uitgaande bericht toegevoegd als de waarde van \"{{outputValueKey}}\" niet nul is.", + "search-direction-from": "Van afzender naar doelentiteit", + "search-direction-to": "Van doelentiteit naar afzender", "del-relation-direction-from": "Van afzender", "del-relation-direction-to": "Naar afzender", "target-entity": "Doelentiteit", - "function-configuration": "Functie‑configuratie", + "function-configuration": "Functieconfiguratie", "function-name": "Functienaam", "function-name-required": "Functienaam is verplicht.", "qualifier": "Kwalificatie", @@ -7419,9 +8562,20 @@ "tell-failure-aws-lambda-hint": "Forceert verwerkingsmislukking als de AWS Lambda-functie een uitzondering geeft.", "basic-mode": "Basis", "advanced-mode": "Geavanceerd", + "url-hint": "Voer de aanvraag-URL in. Zorg ervoor dat speciale tekens percent-gecodeerd zijn.", + "query-params": "Queryparameters", + "query-params-hint": "Aanvullende queryparameters die in de aanvraag-URL worden opgenomen. Zowel namen als waarden ondersteunen sjablonen en worden na het verwerken van de sjablonen strikt gecodeerd (RFC 3986).", + "query-params-empty": "Geen queryparameters geconfigureerd", + "query-params-name": "Naam", + "query-params-value": "Waarde", + "query-params-name-required": "Naam is verplicht", + "query-params-value-required": "Waarde is verplicht", + "headers-empty": "Geen headers geconfigureerd", + "request-url": "Aanvraag-URL", + "url": "URL", "save-time-series": { "processing-settings": "Verwerkingsinstellingen", - "processing-settings-hint": "Definieer hoe inkomende berichten worden verwerkt.", + "processing-settings-hint": "Definieer hoe inkomende berichten worden verwerkt. Met de basisinstellingen voor verwerking kun je vooraf geconfigureerde strategieën selecteren, terwijl je met de geavanceerde instellingen voor elke actie afzonderlijke verwerkingsstrategieën kunt selecteren.", "advanced-settings-hint": "Let op met het configureren van strategieën. Onverwacht gedrag mogelijk.", "strategy": "Strategie", "deduplication-interval": "Deduplicatie-interval", @@ -7440,7 +8594,7 @@ }, "save-attribute": { "processing-settings": "Verwerkingsinstellingen", - "processing-settings-hint": "Definieer hoe inkomende berichten worden verwerkt.", + "processing-settings-hint": "Definieer hoe inkomende berichten worden verwerkt. Met de basisinstellingen voor verwerking kun je vooraf geconfigureerde strategieën selecteren, terwijl je met de geavanceerde instellingen voor elke actie afzonderlijke verwerkingsstrategieën kunt selecteren.", "advanced-settings-hint": "Let op met het configureren van strategieën. Onverwacht gedrag mogelijk.", "strategy": "Strategie", "deduplication-interval": "Deduplicatie-interval", @@ -7480,10 +8634,10 @@ "after-template-evaluation-hint": "Na sjabloonevaluatie: true voor HTML, false voor platte tekst." }, "ai": { - "ai-model": "AI‑model", + "ai-model": "AI-model", "model": "Model", - "ai-model-hint": "Selecteer het vooraf geconfigureerde AI‑model voor verwerking van verzoeken door deze regel‑node, of gebruik \"Create new\" om een nieuw model te configureren.", - "prompt-settings": "Prompt‑instellingen", + "ai-model-hint": "Selecteer het vooraf geconfigureerde AI-model dat de verzoeken van deze regelnode verwerkt, of gebruik \"Nieuw aanmaken\" om een nieuw model te configureren.", + "prompt-settings": "Promptinstellingen", "prompt-settings-hint": "De optionele system prompt bepaalt de algemene rol en beperkingen van de AI, terwijl de user prompt de specifieke taak beschrijft. Beide velden ondersteunen ook templatisering.", "system-prompt": "System prompt", "system-prompt-max-length": "System prompt mag maximaal 500000 tekens bevatten.", @@ -7495,20 +8649,20 @@ "response-format": "Antwoordformaat", "response-text": "Tekst", "response-json": "JSON", - "response-json-schema": "JSON‑schema", - "response-format-hint-TEXT": "Staat het model toe willekeurige tekst te genereren, wat **niet** per se een geldig JSON‑object hoeft te zijn. Indien dit geen geldig JSON‑object is, wordt het automatisch ingepakt in een JSON‑object onder de sleutel \"response\".", - "response-format-hint-JSON": "Het model moet een geldig JSON‑object genereren. Indien dit geen geldig JSON‑object is, wordt het automatisch ingepakt in een JSON‑object onder de sleutel \"response\".", - "response-format-hint-JSON_SCHEMA": "Het model moet een JSON genereren die overeenkomt met de gespecificeerde structuur en datatypes van het opgegeven schema. Indien dit geen geldig JSON‑object is, wordt het automatisch ingepakt in een JSON‑object onder de sleutel \"response\".", - "response-json-schema-hint": "Hoewel elk geldig JSON‑schema kan worden ingevoerd, ondersteunt deze regel‑node slechts een beperkte subset van de functies. Zie de documentatie van de node voor details.", - "response-json-schema-required": "JSON‑schema is verplicht", + "response-json-schema": "JSON-schema", + "response-format-hint-TEXT": "Staat het model toe willekeurige tekst te genereren, wat niet per se een geldig JSON-object hoeft te zijn. Indien dit geen geldig JSON-object is, wordt het automatisch ingepakt in een JSON-object onder de sleutel \"response\".", + "response-format-hint-JSON": "Het model moet een geldig JSON-object genereren. Indien dit geen geldig JSON-object is, wordt het automatisch ingepakt in een JSON-object onder de sleutel \"response\".", + "response-format-hint-JSON_SCHEMA": "Het model moet een JSON genereren die overeenkomt met de gespecificeerde structuur en datatypes van het opgegeven schema. Indien dit geen geldig JSON-object is, wordt het automatisch ingepakt in een JSON-object onder de sleutel \"response\".", + "response-json-schema-hint": "Hoewel elk geldig JSON-schema kan worden ingevoerd, ondersteunt deze regelnode slechts een beperkte subset van de functies. Zie de documentatie van de node voor details.", + "response-json-schema-required": "JSON-schema is verplicht", "advanced-settings": "Geavanceerde instellingen", "timeout": "Timeout", - "timeout-hint": "Maximale tijd om te wachten op een antwoord \nvan het AI‑model voordat het verzoek wordt beëindigd.", + "timeout-hint": "Maximale tijd om te wachten op een antwoord \nvan het AI-model voordat het verzoek wordt beëindigd.", "timeout-required": "Timeout is verplicht", "timeout-validation": "Moet tussen 1 seconde en 10 minuten zijn.", "force-acknowledgement": "Verplicht bevestigen", - "force-acknowledgement-hint": "Indien ingeschakeld, wordt het inkomende bericht direct bevestigd. Het ant­woord van het model wordt dan in de wachtrij geplaatst als een afzonderlijk, nieuw bericht.", - "ai-resources": "AI‑resources" + "force-acknowledgement-hint": "Indien ingeschakeld, wordt het inkomende bericht direct bevestigd. Het antwoord van het model wordt dan in de wachtrij geplaatst als een afzonderlijk, nieuw bericht.", + "ai-resources": "AI-resources" } }, "role": { @@ -7551,6 +8705,7 @@ "copyId": "Kopieer rol-ID", "idCopiedMessage": "Rol-ID is gekopieerd naar het klembord", "permissions": "Rechten", + "excluded-permissions": "Uitgesloten permissies", "role-required": "Rol is verplicht", "roles-required": "Rollen zijn verplicht", "display-type": { @@ -7584,10 +8739,14 @@ "no-owners-matching": "Geen overeenkomende eigenaars gevonden voor '{{owner}}'.", "target-owner-required": "Entiteitsgroep eigenaar is verplicht.", "target-user-group-owner-required": "Gebruikersgroep eigenaar is verplicht.", - "no-group-permissions-text": "Geen groepspermissies gevonden" + "no-group-permissions-text": "Geen groepspermissies gevonden", + "permissions-merge-hint": "Bij generieke rollen gelden geweigerde operaties alleen binnen dezelfde rol. Als een andere rol een operatie toestaat, wordt toegang verleend." }, "permission": { "permissions-required": "Er moet minstens één permissie-invoer worden opgegeven.", + "resource-duplicate": "Deze resource is al geselecteerd", + "operations-required": "Er moet minstens één toegestane of geweigerde operatie worden opgegeven.", + "operation-overlap": "Toegestane en geweigerde operaties mogen elkaar niet overlappen.", "remove-permission": "Permissie-invoer verwijderen", "add-permission": "Permissie-invoer toevoegen", "other": "Overige", @@ -7606,7 +8765,7 @@ "ASSET": "Asset", "CUSTOMER": "Klant", "DASHBOARD": "Dashboard", - "ENTITY_VIEW": "Entity View", + "ENTITY_VIEW": "Entiteitsweergave", "EDGE": "Edge", "TENANT": "Tenant", "TENANT_PROFILE": "Tenantprofiel", @@ -7624,7 +8783,7 @@ "DEVICE_GROUP": "Apparaatgroep", "ASSET_GROUP": "Assetgroep", "USER_GROUP": "Gebruikersgroep", - "ENTITY_VIEW_GROUP": "Entity View-groep", + "ENTITY_VIEW_GROUP": "Entiteitsweergavegroep", "DASHBOARD_GROUP": "Dashboardgroep", "ROLE": "Rol", "GROUP_PERMISSION": "Groepsmachtiging", @@ -7638,7 +8797,7 @@ "QUEUE_STATS": "Wachtrijstatistieken", "VERSION_CONTROL": "Versiebeheer", "ASSET_PROFILE": "Assetprofiel", - "NOTIFICATION": "Notificatie", + "NOTIFICATION": "Melding", "MOBILE_APP_SETTINGS": "QR-code widgetinstelling", "MOBILE_APP_BUNDLE": "Mobiele bundel", "MOBILE_APP": "Mobiele app", @@ -7646,13 +8805,23 @@ "OAUTH2_CLIENT": "OAuth 2.0-client", "SECRET": "Geheim", "JOB": "Taak", - "AI_MODEL": "AI‑model", - "API_KEY": "API-sleutel" + "AI_MODEL": "AI-model", + "AI": "AI", + "API_KEY": "API-sleutel", + "AGENT": "Agent", + "AGENT_GROUP": "Agent-groep", + "AGENT_PROFILE": "Agent-profiel", + "AGENT_APPLICATION": "Agent-applicatie", + "AGENT_APP_PROFILE": "Agent-applicatieprofiel", + "AGENT_APP_UNIT": "Agent-applicatie-eenheid" } }, "operation": { "operation": "Operatie", "operations": "Operaties", + "allowed": "Toegestaan", + "denied": "Geweigerd", + "not-set": "Niet ingesteld", "operations-required": "Er moet minstens één operatie worden opgegeven.", "enter-operation": "Voer operatie in", "no-operations-matching": "Geen operaties gevonden die overeenkomen met '{{operation}}'.", @@ -7663,7 +8832,7 @@ "WRITE": "Schrijven", "DELETE": "Verwijderen", "ASSIGN_TO_CUSTOMER": "Toewijzen aan klant", - "UNASSIGN_FROM_CUSTOMER": "Ontkoppelen van klant", + "UNASSIGN_FROM_CUSTOMER": "Toewijzing aan klant intrekken", "RPC_CALL": "RPC-aanroep", "READ_CREDENTIALS": "Referenties lezen", "WRITE_CREDENTIALS": "Referenties schrijven", @@ -7677,7 +8846,7 @@ "ADD_TO_GROUP": "Toevoegen aan groep", "REMOVE_FROM_GROUP": "Verwijderen uit groep", "SHARE_GROUP": "Groep delen", - "ASSIGN_TO_TENANT": "Toewijzen aan huurder", + "ASSIGN_TO_TENANT": "Toewijzen aan tenant", "READ_CALCULATED_FIELD": "Berekend veld lezen", "WRITE_CALCULATED_FIELD": "Berekend veld schrijven" } @@ -7782,8 +8951,6 @@ "single-entity": "Enkelvoudige entiteit", "group-entities": "Groep entiteiten", "entities-group-owner": "Eigenaar van entiteitengroep", - "single-device": "Enkelvoudig apparaat", - "group-of-devices": "Groep apparaten", "devices-group-owner": "Eigenaar van apparaatgroep", "message-body": "Berichtinhoud", "target": "Doel", @@ -7821,8 +8988,8 @@ "use-dashboard-timewindow": "Gebruik dashboardtijdvenster", "use-dashboard-timewindow-description": "Indien ingeschakeld, wordt het tijdvenster van het doeldashboard gebruikt tijdens het genereren van het rapport.", "timewindow": "Tijdvenster", - "name-pattern": "Rapportnaam patroon", - "name-pattern-required": "Rapportnaam patroon is verplicht", + "name-pattern": "Rapportnaampatroon", + "name-pattern-required": "Rapportnaampatroon is verplicht", "type": "Rapporttype", "customer-user-credentials": "Klantgebruikersreferenties", "customer-user-credentials-required": "Klantgebruikersreferenties zijn verplicht", @@ -7867,7 +9034,14 @@ "download": "Rapport downloaden", "report-filter": "Rapportfilter", "no-reports-matching": "Geen rapporten gevonden die overeenkomen met '{{entity}}'.", - "report-required": "Rapport is vereist" + "report-required": "Rapport is verplicht", + "generate-report": "Rapport genereren", + "generate-report-started": "Het genereren van het rapport is gestart. Vernieuw de pagina als het rapport niet verschijnt.", + "public-status": "Openbare toegang", + "manage-public-access": "Openbare toegang beheren", + "public-status-hint": "Als dit is ingeschakeld, kan iedereen met de openbare rapportlink het rapport downloaden.", + "public-link-text": "Dit rapport is openbaar. Deel de onderstaande link - iedereen die de link heeft, kan het rapport zonder autorisatie downloaden.", + "copy-public-link": "Link kopiëren" }, "report-template": { "report-template": "Rapporttemplate", @@ -7911,13 +9085,13 @@ "settings": "Instellingen", "report-template-settings": "Instellingen rapporttemplate", "sub-report-settings": "Instellingen subrapport", - "file-name-pattern": "Bestandsnaam­patroon", - "file-name-pattern-required": "Bestandsnaam­patroon voor rapport is verplicht!", - "default-date-format": "Standaard datum­formaat", - "report-components": "Rapport­componenten", + "file-name-pattern": "Bestandsnaampatroon", + "file-name-pattern-required": "Bestandsnaampatroon voor rapport is verplicht!", + "default-date-format": "Standaard datumformaat", + "report-components": "Rapportcomponenten", "search-components": "Componenten zoeken", - "drop-report-components": "Sleep rapport­componenten vanuit de zijbalk hierheen", - "drop-report-component": "Sleep rapport­component hierheen", + "drop-report-components": "Sleep rapportcomponenten vanuit de zijbalk hierheen", + "drop-report-component": "Sleep rapportcomponent hierheen", "header": "Koptekst", "header-disabled": "Koptekst uitgeschakeld", "first-page-header": "Koptekst eerste pagina", @@ -7931,7 +9105,7 @@ "layout": "Lay-out", "common-settings": "Algemene instellingen", "page-settings": "Pagina-instellingen", - "paper-size": "Papiervoor­maat", + "paper-size": "Papiervoormaat", "orientation": "Oriëntatie", "orientation-portrait": "Staand", "orientation-landscape": "Liggend", @@ -7947,7 +9121,7 @@ "insert-update-image": "Afbeelding invoegen/bijwerken", "edit-image": "Afbeelding bewerken", "image": "Afbeelding", - "image-size": "Afbeeldings­grootte", + "image-size": "Afbeeldingsgrootte", "width": "Breedte", "height": "Hoogte", "preserve-image-proportions": "Geef proporties afbeelding gelijk", @@ -8046,7 +9220,7 @@ "image-source": "Afbeeldingsbron", "source-image": "Afbeelding", "source-entity-key": "Entiteitsleutel", - "image-url-key": "Afbeeldings-URL sleutel", + "image-url-key": "Afbeeldings-URL-sleutel", "image-width": "Afbeeldingsbreedte", "width-fit-width": "Passend maken aan breedte", "width-original": "Origineel", @@ -8353,21 +9527,30 @@ "maximum-integrations": "Maximaal aantal integraties", "maximum-integrations-required": "Maximaal aantal integraties is verplicht.", "maximum-integrations-range": "Maximaal aantal integraties mag niet negatief zijn", - "maximum-reports": "Maximum aantal rapporten", - "maximum-reports-required": "Maximum aantal rapporten is verplicht.", - "maximum-reports-range": "Maximum aantal rapporten mag niet negatief zijn", + "maximum-reports": "Maximaal aantal rapporten", + "maximum-reports-required": "Maximaal aantal rapporten is verplicht.", + "maximum-reports-range": "Maximaal aantal rapporten mag niet negatief zijn", "maximum-converters": "Maximaal aantal converters", "maximum-converters-required": "Maximaal aantal converters is verplicht.", "maximum-converters-range": "Maximaal aantal converters mag niet negatief zijn", "maximum-scheduler-events": "Maximaal aantal geplande gebeurtenissen", "maximum-scheduler-events-required": "Maximaal aantal geplande gebeurtenissen is verplicht.", "maximum-scheduler-events-range": "Maximaal aantal geplande gebeurtenissen mag niet negatief zijn", + "maximum-agents": "Maximaal aantal Agents", + "maximum-agents-required": "Maximaal aantal Agents is verplicht.", + "maximum-agents-range": "Maximaal aantal Agents mag niet negatief zijn", + "maximum-agent-applications": "Maximaal aantal Agent-applicaties", + "maximum-agent-applications-required": "Maximaal aantal Agent-applicaties is verplicht.", + "maximum-agent-applications-range": "Maximaal aantal Agent-applicaties mag niet negatief zijn", "maximum-resources-sum-data-size": "Maximale totale grootte van resourcebestanden (bytes)", "maximum-resources-sum-data-size-required": "Maximale totale grootte van resourcebestanden is verplicht.", "maximum-resources-sum-data-size-range": "Maximale totale grootte van resourcebestanden mag niet negatief zijn", "maximum-resource-size": "Maximale grootte van resourcebestand (bytes)", "maximum-resource-size-required": "Maximale grootte van resourcebestand is verplicht", "maximum-resource-size-range": "Maximale grootte van resourcebestand mag niet negatief zijn", + "maximum-report-size": "Maximale grootte van rapportbestand (bytes)", + "maximum-report-size-required": "Maximale grootte van rapportbestand is verplicht", + "maximum-report-size-range": "Maximale grootte van rapportbestand mag niet negatief zijn", "maximum-ota-packages-sum-data-size": "Maximale totale grootte van OTA-pakketbestanden (bytes)", "maximum-ota-package-sum-data-size-required": "Maximale totale grootte van OTA-pakketbestanden is verplicht.", "maximum-ota-package-sum-data-size-range": "Maximale totale grootte van OTA-pakketbestanden mag niet negatief zijn", @@ -8403,25 +9586,25 @@ "max-arguments-per-cf-required": "Maximaal aantal argumenten is verplicht", "max-related-level-per-argument": "Maximaal relatieniveau per argument 'Gerelateerde entiteiten'", "max-related-level-per-argument-range": "Het maximale relatieniveau per argument 'Gerelateerde entiteiten' mag niet lager zijn dan '1'", - "max-related-level-per-argument-required": "Het maximale relatieniveau per argument 'Gerelateerde entiteiten' is vereist", + "max-related-level-per-argument-required": "Het maximale relatieniveau per argument 'Gerelateerde entiteiten' is verplicht", "min-allowed-scheduled-update-interval": "Minimaal toegestaan update-interval voor argumenten 'Gerelateerde entiteiten' (seconden)", "min-allowed-scheduled-update-interval-range": "De minimale waarde voor het minimaal toegestane update-interval mag niet negatief zijn", "min-allowed-deduplication-interval": "Minimaal toegestaan deduplicatie-interval (seconden)", "min-allowed-deduplication-interval-range": "De waarde van het minimaal toegestane deduplicatie-interval mag niet negatief zijn", - "min-allowed-deduplication-interval-required": "Minimaal toegestaan deduplicatie-interval is vereist", + "min-allowed-deduplication-interval-required": "Minimaal toegestaan deduplicatie-interval is verplicht", "intermediate-aggregation-interval": "Tussentijds aggregatie-interval (seconden)", "intermediate-aggregation-interval-range": "De waarde van het tussentijds aggregatie-interval mag niet lager zijn dan '1'", - "intermediate-aggregation-interval-required": "Tussentijds aggregatie-interval is vereist", + "intermediate-aggregation-interval-required": "Tussentijds aggregatie-interval is verplicht", "reevaluation-check-interval": "Herbeoordelingscontrole-interval (seconden)", "reevaluation-check-interval-range": "De waarde van het herbeoordelingscontrole-interval mag niet lager zijn dan '1'", - "reevaluation-check-interval-required": "Herbeoordelingscontrole-interval is vereist", + "reevaluation-check-interval-required": "Herbeoordelingscontrole-interval is verplicht", "alarms-reevaluation-interval": "Herbeoordelingsinterval voor alarmen (seconden)", "alarms-reevaluation-interval-range": "De waarde van het herbeoordelingsinterval voor alarmen mag niet lager zijn dan '1'", - "alarms-reevaluation-interval-required": "Herbeoordelingsinterval voor alarmen is vereist", + "alarms-reevaluation-interval-required": "Herbeoordelingsinterval voor alarmen is verplicht", "min-allowed-aggregation-interval": "Minimaal toegestaan aggregatie-interval (seconden)", "min-allowed-aggregation-interval-range": "De waarde van het minimaal toegestane aggregatie-interval mag niet negatief zijn", - "min-allowed-aggregation-interval-required": "Minimaal toegestaan aggregatie-interval is vereist", - "min-allowed-scheduled-update-interval-required": "De minimale waarde voor het minimaal toegestane update-interval is vereist", + "min-allowed-aggregation-interval-required": "Minimaal toegestaan aggregatie-interval is verplicht", + "min-allowed-scheduled-update-interval-required": "De minimale waarde voor het minimaal toegestane update-interval is verplicht", "max-state-size": "Maximale staatsgrootte in KB", "max-state-size-range": "Staatsgrootte mag niet negatief zijn", "max-state-size-required": "Staatsgrootte is verplicht", @@ -8467,7 +9650,7 @@ "report-ttl-days": "Rapport TTL-dagen", "report-ttl-days-required": "Rapport TTL-dagen zijn verplicht", "report-ttl-days-range": "Rapport TTL-dagen mogen niet negatief zijn", - "max-rule-node-executions-per-message": "Maximaal aantal rule node-uitvoeringen per bericht", + "max-rule-node-executions-per-message": "Maximaal aantal regelnode-uitvoeringen per bericht", "max-rule-node-executions-per-message-required": "Maximaal aantal uitvoeringen per bericht is verplicht.", "max-rule-node-executions-per-message-range": "Maximaal aantal uitvoeringen per bericht mag niet negatief zijn", "max-emails": "Maximaal aantal verzonden e-mails", @@ -8505,8 +9688,12 @@ "ws-limit-updates-per-session": "WS-updates per sessie", "relation-search-entity-limit": "Relatiezoekentiteitenlimiet", "relation-search-entity-limit-hint": "Beperkt het aantal entiteiten dat op het laatste niveau van het relatiepad wordt opgelost. Van toepassing op argumenten 'Gerelateerde entiteiten' en propagatievelden.", - "relation-search-entity-limit-required": "Relatiezoekentiteitenlimiet is vereist", + "relation-search-entity-limit-required": "Entiteitenlimiet voor relatiezoekopdrachten is verplicht", "relation-search-entity-limit-range": "Relatiezoekentiteitenlimiet kan niet lager zijn dan '1'", + "ai": "AI", + "max-ai-credits": "Maximaal aantal AI-credits", + "max-ai-credits-required": "Maximaal aantal AI-credits is verplicht.", + "max-ai-credits-range": "Maximaal aantal AI-credits mag niet negatief zijn", "rate-limits": { "add-limit": "Limiet toevoegen", "and-also-less-than": "en ook minder dan", @@ -8548,6 +9735,16 @@ "edit-edge-uplink-messages-per-edge-rate-limit": "Bewerk rate-limieten voor uplinkberichten per edge", "edge-uplink-messages-rate-limit": "Edge-uplinkberichten", "edge-uplink-messages-per-edge-rate-limit": "Edge-uplinkberichten per edge", + "edit-agent-events-rate-limit": "Snelheidslimieten voor Agent-gebeurtenissen bewerken", + "edit-agent-events-per-agent-rate-limit": "Snelheidslimieten voor Agent-gebeurtenissen per Agent bewerken", + "agent-events-rate-limit": "Agent-gebeurtenissen", + "agent-events-per-agent-rate-limit": "Agent-gebeurtenissen per Agent", + "edit-agent-log-chunks-rate-limit": "Snelheidslimieten voor Agent-logfragmenten bewerken", + "edit-agent-log-chunks-per-agent-rate-limit": "Snelheidslimieten voor Agent-logfragmenten per Agent bewerken", + "agent-log-chunks-rate-limit": "Agent-logfragmenten", + "agent-log-chunks-per-agent-rate-limit": "Agent-logfragmenten per Agent", + "ai-chat-requests-rate-limit": "AI-chatverzoeken", + "edit-ai-chat-requests-rate-limit": "Snelheidslimieten voor AI-chatverzoeken bewerken", "messages-per": "berichten per", "not-set": "Niet ingesteld", "number-of-messages": "Aantal berichten", @@ -8629,13 +9826,13 @@ "timewindow": { "timewindow": "Tijdvenster", "timewindow-settings": "Tijdvensterinstellingen", - "years": "{ years, plural, =1 { jaar } other {# jaren } }", + "years": "{ years, plural, =1 {1 jaar } other {# jaar } }", "years-short": "{{ years }}j", - "months": "{ months, plural, =1 { maand } other {# maanden } }", + "months": "{ months, plural, =1 {1 maand } other {# maanden } }", "months-short": "{{ months }}M", - "weeks": "{ weeks, plural, =1 { week } other {# weken } }", + "weeks": "{ weeks, plural, =1 {1 week } other {# weken } }", "weeks-short": "{{ weeks }}w", - "days": "{ days, plural, =1 { dag } other {# dagen } }", + "days": "{ days, plural, =1 {1 dag } other {# dagen } }", "days-short": "{{ days }}d", "hours": "{ hours, plural, =0 { uur } =1 {1 uur } other {# uren } }", "hr": "{{ hr }} uur", @@ -8737,7 +9934,7 @@ "HYBRID": "Hybride" }, "measures": { - "absorbed-dose-rate": "Geabsorbeerde dosis per tijdseenheid", + "absorbed-dose-rate": "Geabsorbeerd dosistempo", "acceleration": "Versnelling", "acidity": "Zuurtegraad", "air-quality-index": "Luchtkwaliteitsindex", @@ -9155,6 +10352,7 @@ "cubic-foot-per-minute": "Kubieke voet per minuut", "cubic-meters-per-hour": "Kubieke meter per uur", "cubic-meters-per-second": "Kubieke meter per seconde", + "cubic-meters-per-minute": "Kubieke meter per minuut", "liter-per-second": "Liter per seconde", "liter-per-minute": "Liter per minuut", "gallons-per-minute": "Gallon per minuut", @@ -9327,7 +10525,7 @@ "user-list-required": "Gebruikerslijst is verplicht" }, "value": { - "type": "Waarde type", + "type": "Waardetype", "string": "Tekenreeks", "string-value": "Tekenreekswaarde", "string-value-required": "Tekenreekswaarde is verplicht", @@ -9401,9 +10599,9 @@ "entities-to-restore": "Te herstellen entiteiten", "sync-strategy": "Synchronisatiestrategie", "all-entities": "Alle entiteiten", - "no-entities-to-export-prompt": "Specificeer entiteiten om te exporteren", - "no-entities-to-restore-prompt": "Specificeer entiteiten om te herstellen", - "add-entity-type": "Voeg entiteittype toe", + "no-entities-to-export-prompt": "Geef entiteiten op om te exporteren", + "no-entities-to-restore-prompt": "Geef entiteiten op om te herstellen", + "add-entity-type": "Entiteitstype toevoegen", "remove-all": "Alles verwijderen", "version-create-result": "{ added, plural, =0 {Geen entiteiten} =1 {1 entiteit} other {# entiteiten} } toegevoegd.
    { modified, plural, =0 {Geen entiteiten} =1 {1 entiteit} other {# entiteiten} } aangepast.
    { removed, plural, =0 {Geen entiteiten} =1 {1 entiteit} other {# entiteiten} } verwijderd.", "remove-other-entities": "Andere entiteiten verwijderen", @@ -9417,7 +10615,7 @@ "groups-created": "{ created, plural, =1 {1 groep} other {# groepen} } aangemaakt", "groups-updated": "{ updated, plural, =1 {1 groep} other {# groepen} } bijgewerkt", "groups-deleted": "{ deleted, plural, =1 {1 groep} other {# groepen} } verwijderd", - "remove-other-entities-confirm-text": "Wees voorzichtig! Dit zal permanent alle huidige entiteiten verwijderen
    die niet aanwezig zijn in de versie die u wilt herstellen.

    Typ \"remove other entities\" om te bevestigen.", + "remove-other-entities-confirm-text": "Wees voorzichtig! Dit zal permanent alle huidige entiteiten verwijderen
    die niet aanwezig zijn in de versie die je wilt herstellen.

    Typ \"remove other entities\" om te bevestigen.", "auto-commit-to-branch": "automatisch vastleggen naar {{ branch }} branch", "default-create-entity-version-name": "{{entityName}} update", "sync-strategy-merge-hint": "Maakt of werkt geselecteerde entiteiten bij in de repository. Alle andere entiteiten in de repository worden niet gewijzigd.", @@ -9431,21 +10629,21 @@ "runtime-failed": "Mislukt: {{message}}", "auto-commit-settings-read-only-hint": "De functie voor automatisch vastleggen werkt niet wanneer de optie alleen-lezen is ingeschakeld in de repository-instellingen.", "rollback-on-error": "Rollback bij fout", - "rollback-on-error-hint": "Als u een groot aantal entiteiten moet herstellen, overweeg dan om deze optie uit te schakelen om de prestaties te verbeteren.\n Let op: als er tijdens het laden van de versie een fout optreedt, blijven reeds opgeslagen entiteiten (met relaties, attributen, enz.) ongewijzigd." + "rollback-on-error-hint": "Als je een groot aantal entiteiten moet herstellen, overweeg dan om deze optie uit te schakelen om de prestaties te verbeteren.\n Let op: als er tijdens het laden van de versie een fout optreedt, blijven reeds opgeslagen entiteiten (met relaties, attributen, enz.) ongewijzigd." }, "task": { "add-task-type": "+Taaktype", "cancel-anyway": "Toch annuleren", "cancel-task": "Taak annuleren", "cancel-task-calculated-field-reprocessing-text": "Gegevens die tot nu toe zijn verwerkt worden opgeslagen, items in wachtrij worden geannuleerd", - "cancel-task-calculated-field-reprocessing-title": "Weet u zeker dat u de herverwerking wilt annuleren?", + "cancel-task-calculated-field-reprocessing-title": "Weet je zeker dat je de herverwerking wilt annuleren?", "cancel-task-report-text": "Rapportgeneratie wordt geannuleerd, het rapportbestand wordt niet aangemaakt", - "cancel-task-report-title": "Weet u zeker dat u de rapportgeneratie wilt annuleren?", - "cancel-tasks-text": "Weet u zeker dat u de geselecteerde taken wilt annuleren?", + "cancel-task-report-title": "Weet je zeker dat je de rapportgeneratie wilt annuleren?", + "cancel-tasks-text": "Weet je zeker dat je de geselecteerde taken wilt annuleren?", "cancel-tasks-title": "Annuleer { count, plural, =1 {1 taak} other {# taken} }", - "delete-task-text": "Deze actie verwijdert de taak uit de lijst, maar uw gegevens blijven behouden", - "delete-task-title": "Weet u zeker dat u deze taak wilt verwijderen?", - "delete-tasks-text": "Weet u zeker dat u de geselecteerde taken wilt verwijderen?", + "delete-task-text": "Deze actie verwijdert de taak uit de lijst, maar je gegevens blijven behouden", + "delete-task-title": "Weet je zeker dat je deze taak wilt verwijderen?", + "delete-tasks-text": "Weet je zeker dat je de geselecteerde taken wilt verwijderen?", "delete-tasks-title": "Verwijder { count, plural, =1 {1 taak} other {# taken} }", "discarded": "Genegeerd", "entity": "Entiteit", @@ -9494,6 +10692,7 @@ "widget-bundle": "Widgetbundel", "all-bundles": "Alle bundels", "select-widgets-bundle": "Selecteer widgetbundel", + "installed": "Geïnstalleerd", "widgets": "Widgets", "all-widgets": "Alle widgets", "widget": "Widget", @@ -9503,13 +10702,13 @@ "no-widgets-text": "Geen widgets gevonden", "management": "Widgetbeheer", "editor": "Widget-editor", - "confirm-to-exit-editor-html": "U heeft niet-opgeslagen widgetinstellingen.
    Weet u zeker dat u deze pagina wilt verlaten?", + "confirm-to-exit-editor-html": "Je hebt niet-opgeslagen widgetinstellingen.
    Weet je zeker dat je deze pagina wilt verlaten?", "widget-type-not-found": "Probleem bij het laden van de widgetconfiguratie.
    Waarschijnlijk is het bijbehorende\n widgettype verwijderd.", "widget-type-load-error": "Widget werd niet geladen vanwege de volgende fouten:", "remove": "Widget verwijderen", "delete": "Widget verwijderen", "edit": "Widget bewerken", - "remove-widget-title": "Weet u zeker dat u de widget '{{widgetTitle}}' wilt verwijderen?", + "remove-widget-title": "Weet je zeker dat je de widget '{{widgetTitle}}' wilt verwijderen?", "remove-widget-text": "Na bevestiging wordt de widget en alle gerelateerde gegevens onherroepelijk verwijderd.", "replace-reference-with-widget-copy": "Vervang referentie door widgetkopie", "timeseries": "Tijdreeks", @@ -9524,6 +10723,11 @@ "rpc-short": "bediening", "alarm-short": "alarm", "static-short": "statisch", + "type-timeseries": "Tijdreeksen", + "type-latest": "Laatste", + "type-rpc": "Besturing", + "type-alarm": "Alarm", + "type-static": "Statisch", "select-widget-type": "Selecteer widgettype", "missing-widget-title-error": "Widgettitel moet worden opgegeven!", "widget-saved": "Widget opgeslagen", @@ -9547,7 +10751,7 @@ "remove-resource": "Resource verwijderen", "add-resource": "Resource toevoegen", "html": "HTML", - "tidy": "Netjes maken", + "tidy": "Code opmaken", "css": "CSS", "settings-form": "Instellingenformulier", "data-key-settings-form": "Instellingenformulier voor gegevenssleutel", @@ -9569,9 +10773,9 @@ "advanced-mode": "Geavanceerd", "javascript": "Javascript", "js": "JS", - "delete-widget-title": "Weet u zeker dat u de widget '{{widgetName}}' wilt verwijderen?", + "delete-widget-title": "Weet je zeker dat je de widget '{{widgetName}}' wilt verwijderen?", "delete-widget-text": "Na bevestiging worden de widget en alle gerelateerde gegevens onherstelbaar verwijderd.", - "delete-widgets-title": "Weet u zeker dat u { count, plural, =1 {1 widget} other {# widgets} } wilt verwijderen?", + "delete-widgets-title": "Weet je zeker dat je { count, plural, =1 {1 widget} other {# widgets} } wilt verwijderen?", "delete-widgets-text": "Let op, na bevestiging worden alle geselecteerde widgets verwijderd en worden alle gerelateerde gegevens onherstelbaar verwijderd.", "delete-widget": "Widget verwijderen", "widget-template-load-failed-error": "Kan widgettemplate niet laden!", @@ -9598,7 +10802,7 @@ "search": "Widget zoeken", "filter": "Widgetfiltertype", "loading-widgets": "Widgets laden...", - "widget-template-error": "Ongeldige HTML-template van widget.", + "widget-template-error": "Ongeldig HTML-sjabloon van widget.", "reference": "Referentie" }, "widget-action": { @@ -9679,10 +10883,92 @@ "auto": "Auto", "wi-fi": "Wi-Fi", "ble": "BLE", - "soft-ap": "Soft AP" + "soft-ap": "Soft AP", + "save-to-entity": "Locatie opslaan in entiteit", + "target-panel-title": "Doel", + "target-save-to": "Opslaan in", + "target-mode-entity": "Entiteit", + "target-current-entity": "Entiteit uit gegevensbron van widget", + "target-current-user": "Huidige gebruiker", + "target-entity-alias": "Entiteitsalias", + "target-from-attribute": "Uit attribuut", + "target-entity-alias-name": "Aliasnaam", + "target-entity-alias-name-required": "Aliasnaam is verplicht", + "target-attribute-source": "Attribuut lezen uit", + "target-attribute-key": "Sleutel van serverattribuut", + "target-attribute-key-required": "Sleutel van serverattribuut is verplicht", + "target-attribute-value-hint": "Het attribuut moet een Entity Id-object met beide velden bevatten, bijvoorbeeld {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}. Een losse id-string wordt niet geaccepteerd.", + "location-save-failed": "Locatie opslaan mislukt: {{error}}", + "start-live-location": "Live locatievolging starten", + "stop-live-location": "Live locatievolging stoppen", + "accuracy": "Nauwkeurigheid", + "accuracy-hint": "Afweging tussen hoe nauwkeurig elke positie is en hoeveel batterij het volgen verbruikt.", + "accuracy-high": "Hoog", + "accuracy-high-hint": "Gebruikt GPS voor de nauwkeurigste positie, ongeveer 5 m. Het meest geschikt voor het volgen van voertuigen of buitendienstmedewerkers, maar verbruikt de batterij het snelst.", + "accuracy-balanced": "Gebalanceerd", + "accuracy-balanced-hint": "Gebruikt Wi-Fi en zendmasten en valt alleen indien nodig terug op GPS, ongeveer 40 m. Goede standaardinstelling voor periodieke check-ins bij een gemiddeld batterijverbruik.", + "accuracy-low": "Laag", + "accuracy-low-hint": "Gebruikt alleen zendmasten, ongeveer 500 m of minder nauwkeurig. Het meest geschikt voor aanwezigheid op stadsniveau over lange perioden met minimaal batterijverbruik.", + "live-location-advanced-settings": "Geavanceerde instellingen", + "distance-filter": "Updates beperken op afgelegde afstand", + "distance-filter-hint": "Slaat updates over totdat het apparaat minstens deze afstand heeft afgelegd vanaf de laatst gerapporteerde positie.", + "distance-filter-value": "Afstand", + "distance-filter-value-min": "Afstand moet minimaal 1 meter zijn", + "distance-filter-value-pattern": "Afstand moet een geheel getal zijn", + "distance-filter-value-required": "Afstand is verplicht", + "interval": "Updates beperken op tijdsinterval", + "interval-hint": "Vraagt niet vaker dan dit een nieuwe positie op. Zonder deze instelling komen updates binnen zo snel als het apparaat ze rapporteert.", + "interval-value": "Interval", + "interval-value-min": "Interval moet minimaal 1 seconde zijn", + "interval-value-required": "Interval is verplicht", + "max-duration": "Volgen stoppen na een maximale duur", + "max-duration-hint": "Het volgen stopt automatisch zodra deze tijd sinds de start is verstreken.", + "max-duration-value": "Duur", + "max-duration-value-min": "Duur moet minimaal 1 minuut zijn", + "max-duration-value-required": "Duur is verplicht" + }, + "location": { + "saved-keys": "Sleutels die in de entiteit worden opgeslagen", + "argument": "Argument", + "key-name": "Gegevenssleutel", + "value-type": "Type", + "add-key": "Sleutel toevoegen", + "remove-key": "Sleutel verwijderen", + "duplicate-key-names": "Gegevenssleutels moeten uniek zijn", + "key-latitude": "Breedtegraad", + "key-longitude": "Lengtegraad", + "key-accuracy": "Nauwkeurigheid", + "key-altitude": "Hoogte", + "key-speed": "Snelheid", + "key-heading": "Koers", + "key-gps-active": "GPS actief", + "key-gps-tracked-by": "GPS gevolgd door gebruiker", + "value-type-attribute": "Serverattribuut", + "value-type-timeseries": "Tijdreeks", + "error-no-current-entity": "Widgetactie heeft geen huidige entiteit", + "error-no-current-user": "Kan de huidige gebruiker niet bepalen", + "error-save-failed": "Onverwachte serverfout", + "error-permission-denied": "Toegang geweigerd", + "error-alias-not-found": "Entiteitsalias '{{alias}}' niet gevonden in het dashboard", + "error-alias-not-resolved": "Entiteitsalias '{{alias}}' is niet omgezet naar een entiteit", + "error-attribute-not-found": "Attribuut '{{key}}' niet gevonden op de bronentiteit", + "error-attribute-not-object": "Attribuut '{{key}}' is geen Entity Id-object. Zowel het veld entityType als het veld id wordt verwacht, bijvoorbeeld {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}.", + "error-attribute-incomplete": "Bij attribuut '{{key}}' ontbreekt het veld entityType of id van het Entity Id-object", + "error-attribute-unknown-entity-type": "Attribuut '{{key}}' verwijst naar onbekend entiteitstype '{{entityType}}'", + "error-unknown-target-type": "Onbekende doelentiteitsbron '{{type}}'" + }, + "save-browser-location": "Browserlocatie opslaan", + "browser-location": { + "location-saved": "Browserlocatie opgeslagen", + "location-save-failed": "Opslaan van browserlocatie mislukt: {{error}}", + "error-unsupported": "Deze browser ondersteunt geen locatiebepaling", + "error-insecure-context": "Browserlocatie vereist een beveiligde (HTTPS-)verbinding", + "error-permission-denied": "Toestemming voor locatie is geweigerd", + "error-position-unavailable": "Huidige locatie is niet beschikbaar", + "error-timeout": "Time-out bij het ophalen van de huidige locatie" }, "custom-action-function": "Aangepaste actiefunctie", - "custom-pretty-function": "Aangepaste actie (met HTML-sjabloon) functie", + "custom-pretty-function": "Functie voor aangepaste actie (met HTML-sjabloon)", "map-item-type": "Kaartobjecttype", "map-item": { "marker": "Markering", @@ -9759,8 +11045,8 @@ "card-title": "Kaarttitel", "drop-shadow": "Schaduw", "enable-fullscreen": "Activeer volledig scherm", - "enable-data-export": "Activeer gegevens export", - "data-export": "Gegevens export", + "enable-data-export": "Activeer gegevensexport", + "data-export": "Gegevensexport", "background-color": "Achtergrondkleur", "text-color": "Tekstkleur", "border-radius": "Randradius", @@ -9804,6 +11090,26 @@ "add-action": "Actie toevoegen", "search-actions": "Zoek acties", "no-actions-text": "Geen acties gevonden", + "import-actions": "Acties importeren", + "export-actions": "Acties exporteren", + "export-action": "Actie exporteren", + "duplicate-action": "Actie dupliceren", + "copy-action": "Actie kopiëren", + "copy-all-actions": "Alle acties kopiëren", + "action-copied": "Actie gekopieerd", + "actions-copied": "Acties gekopieerd", + "paste-actions": "Acties plakken", + "clear-actions": "Alle acties wissen", + "clear-actions-title": "Alle acties wissen", + "clear-actions-text": "Weet je zeker dat je alle widgetacties wilt verwijderen?", + "actions-file": "Bestand met widgetacties", + "actions-json-content": "JSON-inhoud van acties", + "invalid-actions-file-error": "Widgetacties kunnen niet worden geïmporteerd: ongeldige gegevensstructuur van widgetacties.", + "import-actions-imported": "{ count, plural, =0 {Er zijn geen acties geïmporteerd} =1 {# actie is geïmporteerd} other {# acties zijn geïmporteerd} }", + "paste-actions-pasted": "{ count, plural, =0 {Er zijn geen acties geplakt} =1 {# actie is geplakt} other {# acties zijn geplakt} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {Er zijn geen acties gedupliceerd} =1 {# actie is gedupliceerd} other {# acties zijn gedupliceerd} }", + "import-actions-skipped": "{ count, plural, =1 {# actie is overgeslagen omdat deze niet van toepassing is of al voor deze widget is geconfigureerd} other {# acties zijn overgeslagen omdat ze niet van toepassing zijn of al voor deze widget zijn geconfigureerd} }", + "import-actions-columns-reset": "{ count, plural, =1 {Aan # celklikactie is geen kolom toegewezen. Bewerk de actie om een kolom toe te wijzen.} other {Aan # celklikacties is geen kolom toegewezen. Bewerk de acties om een kolom toe te wijzen.} }", "action-source": "Actiebron", "select-action-source": "Selecteer actiebron", "action-source-required": "Actiebron is verplicht.", @@ -9833,7 +11139,7 @@ "button-style": "Knopstijl" }, "show-hide-action-using-function": "Toon/verberg actie met behulp van functie", - "show-action-function": "Actie tonen functie", + "show-action-function": "Functie voor het tonen van een actie", "action-type": "Type", "action-type-required": "Actietype is verplicht.", "edit-action": "Actie bewerken", @@ -9850,7 +11156,7 @@ "data-settings": "Gegevensinstellingen", "limits": "Limieten", "no-data-display-message": "Alternatief bericht voor \"Geen gegevens om weer te geven\"", - "data-page-size": "Maximum aantal entiteiten per gegevensbron", + "data-page-size": "Maximaal aantal entiteiten per gegevensbron", "settings-component-not-found": "Instellingenformuliercomponent niet gevonden voor selector '{{selector}}'", "preview": "Voorbeeld", "set": "Instellen", @@ -9904,7 +11210,7 @@ "notification-recipient-required": "Meldingontvanger is verplicht.", "privacy-policy-text": "Privacybeleid-tekst", "terms-of-use-text": "Gebruiksvoorwaarden-tekst", - "text-message-page": "Berichttekst voor aanmeldpagina", + "text-message-page": "Berichttekst voor registratiepagina", "enable-mobile-self-registration": "Zelfregistratie via mobiele app inschakelen", "mobile-self-registration-title": "Instellingen zelfregistratie mobiele app", "mobile-package": "Applicatiepakket", @@ -9931,21 +11237,130 @@ "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterprise accountreferenties JSON-bestand", "select-recaptcha-enterprise-service-account-file": "Sleep je accountreferentiesbestand hierheen" }, - "solution-template": { - "solution-template": "Oplossingssjabloon", - "solution-templates": "Oplossingssjablonen", - "management": "Beheer oplossingssjablonen", - "details": "Details", - "install": "Installeren", - "level": "Niveau", - "install-title": "Oplossingssjabloon succesvol geïnstalleerd", - "install-failed-title": "Installatie van oplossingssjabloon mislukt", - "instructions": "Instructies", - "goto-main-dashboard": "Ga naar hoofd-dashboard", - "delete": "Verwijderen", - "delete-solution-title": "Weet je zeker dat je de oplossing '{{solutionTitle}}' wilt verwijderen?", - "delete-solution-text": "Wees voorzichtig, na bevestiging wordt de oplossing en alle gerelateerde gegevens onherstelbaar verwijderd.", - "installing": "Bezig met installeren van oplossingssjabloon..." + "solution-creator": { + "ai-solution-creator": "AI-oplossingsmaker", + "describe-solution-you-want": "Beschrijf de oplossing die je wilt maken", + "enter-your-prompt": "Voer je prompt in", + "target": "Doel", + "install-solution": "Installeren", + "solution-overview": "Overzicht van oplossing: {{ name }}", + "dashboards-overview": "Overzicht van dashboards: {{ name }}", + "entity-profile": "Entiteitsprofiel", + "entity-profiles": "Entiteitsprofielen", + "name": "Naam", + "iam": "IAM", + "iam-full": "Identiteits- en toegangsbeheer", + "table-view": "Tabel", + "schema-view": "Schema", + "iam-info": "IAM-info", + "operation": { + "C": "Aanmaken", + "R": "Lezen", + "U": "Bijwerken", + "D": "Verwijderen" + }, + "alarm-info": "Alarminformatie", + "description": "Beschrijving", + "data": "Gegevens", + "entity-info": "Entiteitsinformatie", + "calculated-field-info": "Informatie over berekend veld", + "field-type": "Veldtype", + "scope": "Bereik", + "delete-alarm-title": "Dit voorgestelde alarm verwijderen?", + "delete-alarm-text": "Dit alarm, voorgesteld op basis van je beschrijving, wordt niet toegevoegd aan de voorgestelde build van de oplossing.
    Je kunt alarmen later altijd handmatig bewerken of opnieuw aanmaken. Deze actie kan niet ongedaan worden gemaakt.", + "basic-mode": "Basis", + "advanced-mode": "Geavanceerd", + "create-solution": "Oplossing maken", + "go-dashboard-manager": "Volgende: dashboardontwerp", + "success-generate-title": "De oplossing is klaar!", + "success-generate-sub-title": "Je kunt deze in je account installeren door op de knop hieronder te klikken", + "success-generate-install-title": "Oplossing geïnstalleerd!", + "success-generate-install-sub-title": "De-installeer eerst de bestaande instantie om de oplossing te bewerken", + "main-title": "Hallo! Ik ben je AI-assistent", + "sub-title": "Ik help je je eisen om te zetten in een volledig functionele IoT-oplossing.\nBeschrijf gewoon wat je wilt bereiken, en ik doe de rest.", + "solutions": "Oplossingen", + "new-solution": "Nieuwe oplossing", + "uninstall-solution": "De-installeren", + "uninstall-solution-dialog-title": "Weet je zeker dat je ‘{{ name }}’ wilt de-installeren?", + "uninstall-solution-dialog-text": "Alle gerelateerde entiteiten en dashboards worden uit je account verwijderd", + "uninstall-solution-dialog-confirm": "Ja, de-installeren", + "delete-solution-title": "Weet je zeker dat je ‘{{ name }}’ wilt verwijderen?", + "delete-solution-text": "Al je gegevens gaan verloren", + "delete-solution-confirm": "Ja, verwijderen", + "copy-solution": "Oplossing kopiëren", + "expand-sidebar": "Zijbalk uitvouwen", + "collapse-sidebar": "Zijbalk samenvouwen", + "solution-id": "Oplossings-ID", + "solution-id-required": "Oplossings-ID is verplicht", + "rename-solution-title": "Naam van deze oplossing wijzigen", + "generate-again": "Opnieuw genereren", + "skip-interview": "Interview overslaan", + "update-solution": "Oplossing bijwerken", + "finish-edit": "Bewerken voltooien", + "lorawan-tracking": "LoRaWAN-tracking", + "smart-parking": "Slim parkeren", + "weather-monitoring": "Weermonitoring", + "water-metering": "Watermeting", + "coffee-machine-monitoring": "Koffiemachinemonitoring", + "fleet-geofencing": "Geofencing voor wagenpark", + "more-examples": "Meer voorbeelden", + "hide": "Verbergen", + "solution-info": "Oplossingsinfo", + "solution-info-with-name": "Oplossingsinfo: {{ name }}", + "status": "Status", + "only-failures": "Alleen fouten", + "failed-create-entity": "Maken van entiteit mislukt", + "failed-install-entity": "Installeren van entiteit mislukt", + "copy-id": "ID kopiëren", + "id-copied-message": "Oplossings-ID is naar het klembord gekopieerd", + "credits": "Credits", + "info": "Info", + "main-dashboard": "Hoofddashboard", + "view-as": "Bekijken als {{ name }}", + "generated-by-calculated-field-name": "Gegenereerd door berekend veld ‘{{ name }}’", + "estimate-wait-time": "Geschatte wachttijd is ~{{ time }}", + "analyzing-your-request": "Je verzoek wordt geanalyseerd...", + "condition": "Voorwaarde", + "installing": "Oplossing wordt geïnstalleerd...", + "step-architecture-design": "Architectuurontwerp", + "step-dashboard-design": "Dashboardontwerp", + "step-solution-installation": "Installatie van oplossing", + "step-reading-device-data": "Apparaatgegevens worden gelezen…", + "step-analyzing-telemetry-attributes": "Telemetrie & attributen worden geanalyseerd…", + "step-selecting-widgets": "Widgets voor je gegevens worden geselecteerd…", + "step-configuring-titles-units-ranges": "Titels, eenheden en bereiken worden geconfigureerd…", + "step-designing-layout": "De lay-out wordt ontworpen…", + "step-arranging-widgets": "Widgets worden op het dashboard gerangschikt…", + "generate-dashboard": "Dashboard genereren", + "generate-dashboard-with-ai": "Dashboard genereren met AI", + "no-telemetry-title": "Geen telemetriegegevens gevonden", + "no-telemetry-message": "Dit apparaat heeft nog geen telemetrie verzonden.\nVerzend eerst telemetrie vanaf het apparaat en genereer daarna het dashboard.", + "send-telemetry": "Telemetrie verzenden", + "step-loading-updating-entities": "Entiteiten bijwerken…", + "step-loading-restructuring-roles": "Rollen herstructureren…", + "step-loading-rebuilding-alarm-rules": "Alarmregels opnieuw opbouwen…", + "step-loading-reassembling-dashboards": "Dashboards opnieuw samenstellen…", + "step-loading-updating-solution": "Je oplossing bijwerken…", + "step-loading-designing-dashboards-structure": "Structuur van de dashboards ontwerpen…", + "step-loading-designing-dashboards-states": "Toestanden van de dashboards ontwerpen…", + "step-loading-designing-widgets": "Widgets ontwerpen…", + "step-loading-adding-finishing-touches": "De laatste hand leggen…", + "step-loading-evaluating-solution-changes": "Wijzigingen in de oplossing evalueren…", + "step-loading-reevaluating-use-cases": "Use cases opnieuw evalueren…", + "step-loading-finalizing": "Afronden…", + "step-loading-creating-entities": "Entiteiten aanmaken…", + "step-loading-configuring-devices": "Apparaten configureren…", + "step-loading-setting-up-relations": "Relaties instellen…", + "step-loading-structuring-access-controls": "Toegangsbeheer structureren…", + "step-loading-building-calculated-fields": "Berekende velden opbouwen…", + "step-loading-building-alarm-rules": "Alarmregels opbouwen…", + "step-loading-assembling-dashboards": "Dashboards samenstellen…", + "step-loading-preparing-states": "Toestanden voorbereiden…", + "step-loading-initializing-solution": "Oplossing initialiseren…", + "ai-credits": "AI-credits", + "ai-credits-update": "Abonnement wijzigen", + "ai-credits-usage": "AI-credits: {{ used }} van {{ max }} gebruikt", + "ai-credits-description": "Je hebt deze maand {{ used }} van je {{ max }} AI-credits gebruikt. De limiet wordt gereset op {{ date }}. Neem contact op met je systeembeheerder om je AI-credittegoed te verhogen." }, "markdown": { "edit": "Bewerken", @@ -9962,24 +11377,27 @@ "preview": "Voorbeeld", "app-title": "Applicatietitel", "favicon": "Website-icoon", - "favicon-description": "*.ico, *.gif of *.png afbeelding met een maximale grootte van {{kbSize}} KB.", - "favicon-size-error": "Website-afbeelding is te groot. Maximale toegestane grootte is {{kbSize}} KB.", - "favicon-type-error": "Ongeldig afbeeldingsformaat voor website. Alleen ICO, GIF of PNG zijn toegestaan.", - "drop-favicon-image": "Sleep een website-icoon of klik om een bestand te selecteren om te uploaden.", - "drop-favicon-image-or": "Sleep een website-icoon of", - "no-favicon-image": "Geen icoon geselecteerd", + "favicon-desc": "Pictogram in het browsertabblad en in bladwijzers. PNG of ICO, 32×32 px aanbevolen", "logo": "Logo", - "logo-description": "Elke afbeelding met een maximale grootte van {{kbSize}} KB.", - "logo-size-error": "Logo-afbeelding is te groot. Maximale toegestane grootte is {{kbSize}} KB.", - "logo-type-error": "Ongeldig afbeeldingsformaat voor logo. Alleen afbeeldingen zijn toegestaan.", - "drop-logo-image": "Sleep een logo of klik om een bestand te selecteren om te uploaden.", - "drop-logo-image-or": "Sleep een logo of", - "no-logo-image": "Geen logo geselecteerd", + "logo-desc": "SVG of PNG, hoogte minimaal 96px, maximaal 200 KB", "logo-height": "Loghoogte, px", + "logo-height-desc": "Schaalt het logo proportioneel en centreert het. Verhoog de hoogte (tot 200px) voor hoge logo's", + "collapsed-logo": "Logo van ingeklapte zijbalk", + "collapsed-logo-desc": "Vierkante SVG of PNG, minimaal 48×48 px, maximaal 100 KB", + "appearance": "Uiterlijk", + "application-shell": "Applicatieshell", + "application-shell-desc": "Kies hoe de primaire kleur wordt toegepast op de zijbalk, de app-balk en paginakoppen", + "light": "Licht", + "primary": "Primair", "primary-palette": "Primaire palet", + "primary-palette-desc": "Hoofdkleur van het merk. Zijbalk, app-balk, paginakoppen, knoppen, links en actieve menu-items", "accent-palette": "Accentpalet", + "accent-palette-desc": "Selectievakjes, keuzerondjes, schakelaars, schuifregelaars, voortgangsbalken en badges", "customize-palette": "Aanpassen", "advanced-css": "Geavanceerde CSS", + "advanced-css-desc": "Aangepaste CSS om elk UI-element verder te verfijnen dan de paletten toelaten — pictogrammen, lettertypen, achtergronden, schuifbalken en meer. Wijzigingen gelden voor het hele platform, dus wees voorzichtig. Voor gevorderde gebruikers", + "add-custom-css": "Aangepaste CSS toevoegen", + "edit-custom-css": "Aangepaste CSS bewerken", "edit-palette": "Palet bewerken", "save-palette": "Palet opslaan", "primary-background": "Primaire achtergrond", @@ -9988,19 +11406,26 @@ "hue2": "HUE 2", "hue3": "HUE 3", "page-background-color": "Pagina-achtergrondkleur", + "page-background-color-desc": "Vult het hoofdinhoudsgebied achter de pagina's", "dark-foreground": "Donkere voorgrond", + "dark-foreground-desc": "Maakt tekst en pictogrammen op de inlogpagina donker. Gebruik met lichte achtergronden", "domain-name": "Domeinnaam", "base-url": "Basis-URL", "base-url-required": "Basis-URL is verplicht", "prohibit-different-url": "Gebruik van hostnaam uit clientverzoekheaders verbieden", "prohibit-different-url-hint": "Deze instelling moet worden ingeschakeld voor productieomgevingen. Kan beveiligingsproblemen veroorzaken als uitgeschakeld", "help-link-base-url": "Basis-URL voor helplinks", + "help-link-base-url-desc": "De basis-URL van je externe documentatieportaal. Gebruikers worden hierheen doorgestuurd voor uitgebreide handleidingen", "ui-help-base-url": "UI-help basis-URL", + "ui-help-base-url-desc": "De URL van de bronrepository die het systeem gebruikt om korte tooltips in de app dynamisch op te halen en weer te geven", "enable-help-links": "Help-links inschakelen", + "enable-help-links-desc": "Toont contextuele helppictogrammen (?) in de hele platforminterface", "error-verification-url": "Een domeinnaam mag geen '/' of ':' bevatten. Voorbeeld: thingsboard.io", - "hide-connectivity-dialog": "Connectiviteitsdialoog verbergen", + "show-connectivity-dialog": "Connectiviteitsdialoogvenster weergeven", + "show-connectivity-dialog-desc": "Toont het connectiviteitsdialoogvenster met verbindingsinstructies nadat een apparaat is aangemaakt", "override-trendz-add-on-name": "Naam van Trendz Analytics-add-on overschrijven", - "override-trendz-add-on-name-hint": "Wanneer ingeschakeld, wordt 'Trendz analytics' in het hele platform weergegeven als 'Geavanceerde analyse'.", + "override-trendz-add-on-name-desc": "Wijzigt in het hele platform de naam van de add-on \"Trendz\" in \"Advanced analytics\"", + "show-platform-name-version-bottom-left-corner": "Platformnaam en versie linksonder weergeven", "show-platform-name-version": "Platformnaam en versie weergeven", "platform-name": "Platformnaam", "platform-version": "Platformversie", @@ -10014,7 +11439,10 @@ "reset-white-label-text": "Let op: na bevestiging gaan alle aangepaste instellingen verloren en kunnen deze niet worden hersteld.", "reset-login-white-label-title": "Weet je zeker dat je de white-label-instellingen van het login-scherm wilt herstellen naar standaardwaarden?", "reset-login-white-label-text": "Let op: na bevestiging gaan alle aangepaste instellingen verloren en kunnen deze niet worden hersteld.", - "app-title-max-length": "De applicatietitel mag niet meer dan 256 tekens bevatten" + "app-title-max-length": "De applicatietitel mag niet meer dan 256 tekens bevatten", + "logo-and-titles": "Logo en titels", + "interface-options": "Interfaceopties", + "domain": "Domein" }, "widgets": { "mobile-app-qr-code": { @@ -10262,17 +11690,17 @@ "primary-color": "Primaire kleur", "background-color": "Achtergrondkleur", "ticks-color": "Kleur van de ticks", - "xaxis-settings": "X-as instellingen", + "xaxis-settings": "X-asinstellingen", "axis-title": "As titel", "xaxis-tick-labels-settings": "Instellingen voor X-as ticks", "show-tick-labels": "Toon ticks-labels", - "yaxis-settings": "Y-as instellingen", + "yaxis-settings": "Y-asinstellingen", "min-scale-value": "Minimale schaalwaarde", "max-scale-value": "Maximale schaalwaarde", "yaxis-tick-labels-settings": "Instellingen voor Y-as ticks", "tick-step-size": "Stapsgewijs interval tussen ticks", "number-of-decimals": "Aantal decimalen om weer te geven", - "ticks-formatter-function": "Ticks formatter functie", + "ticks-formatter-function": "Opmaakfunctie voor streepjes", "comparison-settings": "Vergelijkingsinstellingen", "enable-comparison": "Vergelijking inschakelen", "time-for-comparison": "Vergelijkingsperiode", @@ -10283,14 +11711,14 @@ "time-for-comparison-years": "Jaar geleden", "time-for-comparison-custom-interval": "Aangepaste interval", "custom-interval-value": "Aangepaste intervalwaarde (ms)", - "comparison-x-axis-settings": "Vergelijking X-as instellingen", + "comparison-x-axis-settings": "Instellingen voor vergelijkings-X-as", "axis-position": "As positie", "axis-position-top": "Boven (standaard)", "axis-position-bottom": "Onder", - "custom-legend-settings": "Aangepaste legenda instellingen", - "enable-custom-legend": "Aangepaste legenda inschakelen (gebruik van attribuut/tijdreekswaarden in sleutel labels)", + "custom-legend-settings": "Instellingen voor aangepaste legenda", + "enable-custom-legend": "Aangepaste legenda inschakelen (gebruik van attribuut/tijdreekswaarden in sleutellabels)", "key-name": "Sleutelnaam", - "key-name-required": "Sleutelnaam is vereist", + "key-name-required": "Sleutelnaam is verplicht", "key-type": "Sleuteltype", "key-type-attribute": "Attribuut", "key-type-timeseries": "Tijdreeks", @@ -10404,9 +11832,9 @@ "limit": "Limiet", "source": "Bron", "key-value": "Sleutel / Waarde", - "value-required": "Waarde is vereist.", - "entity-key-required": "Entiteitsleutel is vereist.", - "key-required": "Sleutel is vereist.", + "value-required": "Waarde is verplicht.", + "entity-key-required": "Entiteitssleutel is verplicht.", + "key-required": "Sleutel is verplicht.", "scale-limits": "Schaallimieten", "scale-appearance": "Schaalweergave", "scale": "Schaal", @@ -10585,7 +12013,7 @@ "gauge": { "default-color": "Standaardkleur", "radial-gauge-settings": "Instellingen radiale meter", - "ticks-settings": "Tikken instellingen", + "ticks-settings": "Instellingen voor verdelingen", "min-value": "Minimumwaarde", "max-value": "Maximumwaarde", "min-value-short": "min", @@ -10609,7 +12037,7 @@ "show-value-box": "Waardeveld weergeven", "value-box": "Waardeveld", "value-int": "Aantal cijfers voor geheel getal", - "value-text": "Waarde tekst", + "value-text": "Waardetekst", "value-text-shadow": "Schaduw tekst waarde", "value-font": "Lettertype waarde", "rect-stroke-color-start": "Kaderkleur - start verloop", @@ -10630,7 +12058,7 @@ "needle-color-end": "Kleur naald - eind verloop", "needle-color-shadow-up": "Bovenste schaduwkleur naald", "needle-color-shadow-down": "Onderschaduw naald", - "highlights-settings": "Markeringen instellingen", + "highlights-settings": "Markeringsinstellingen", "highlights-width": "Breedte markeringen", "highlights": "Markeringen", "highlight-from": "Van", @@ -10654,7 +12082,7 @@ "animation-decycle": "Decyclus", "animation-debounce": "Debounce", "animation-delastic": "Delastisch", - "linear-gauge-settings": "Lineaire meter instellingen", + "linear-gauge-settings": "Instellingen voor lineaire meter", "bar-stroke": "Staafomtrek", "bar-stroke-width": "Staafomtrek breedte", "bar-stroke-color": "Staafomtrek kleur", @@ -10674,7 +12102,7 @@ "animation-target": "Animatiedoel", "animation-target-needle": "Naald", "animation-target-plate": "Plaat", - "common-settings": "Algemene meter instellingen", + "common-settings": "Algemene meterinstellingen", "gauge-type": "Type meter", "gauge-type-arc": "Boog", "gauge-type-donut": "Donut", @@ -10705,7 +12133,7 @@ "show-timestamp": "Tijdstempel", "timestamp-format": "Tijdstempelformaat", "label-font": "Lettertype label onder waarde", - "value-settings": "Waarde instellingen", + "value-settings": "Waarde-instellingen", "show-value": "Toon waardetekst", "min-max-settings": "Instellingen minimum/maximum labels", "show-min-max": "Toon min- en max-waarden", @@ -10787,14 +12215,14 @@ "no-coordinate-specified": "Gegevenssleutel voor breedtegraad/lengtegraad is niet opgegeven", "no-entity-selected": "Geen entiteit geselecteerd", "no-image": "Geen afbeelding", - "no-support-geolocation": "Uw browser ondersteunt geen geolocatie", - "no-support-web-camera": "Uw browser ondersteunt geen camera's", + "no-support-geolocation": "Je browser ondersteunt geen geolocatie", + "no-support-web-camera": "Je browser ondersteunt geen camera's", "enable-https-use-widget": "Schakel HTTPS in om deze widget te gebruiken", - "no-found-your-camera": "Kan uw camera niet vinden", + "no-found-your-camera": "Kan je camera niet vinden", "no-permission-camera": "Toegang geweigerd door gebruiker / Deze site heeft geen toestemming om de camera te gebruiken", "no-timeseries-selected": "Geen tijdreeks geselecteerd", "secret-key": "Geheime sleutel", - "secret-key-required": "Geheime sleutel is vereist", + "secret-key-required": "Geheime sleutel is verplicht", "switch-attribute-value": "Wijzig waarde van entiteitsattribuut", "switch-camera": "Schakel camera", "switch-timeseries-value": "Wijzig waarde van entiteitstijdreeks", @@ -10898,7 +12326,7 @@ "datakey-type-server": "Serverattribuut (standaard)", "datakey-type-shared": "Gedeeld attribuut", "datakey-type-timeseries": "Tijdreeks", - "datakey-value-type": "Waarde type van gegevenssleutel", + "datakey-value-type": "Waardetype van gegevenssleutel", "datakey-value-type-string": "Tekenreeks", "datakey-value-type-double": "Double", "datakey-value-type-integer": "Geheel getal", @@ -10942,10 +12370,10 @@ "use-custom-icon": "Gebruik aangepast pictogram", "input-cell-icon": "Pictogram vóór invoerveld", "value-conversion-settings": "Waardeconversie-instellingen", - "get-value-settings": "Waarde ophalen-instellingen", + "get-value-settings": "Instellingen voor het ophalen van waarden", "use-get-value-function": "Gebruik getValue-functie", "get-value-function": "getValue-functie", - "set-value-settings": "Waarde instellen-instellingen", + "set-value-settings": "Instellingen voor het instellen van waarden", "use-set-value-function": "Gebruik setValue-functie", "set-value-function": "setValue-functie", "json-invalid": "JSON-waarde heeft een ongeldig formaat", @@ -10966,11 +12394,11 @@ }, "invalid-qr-code-text": "Ongeldige invoertekst voor QR-code. Invoer moet van het type string zijn", "qr-code": { - "use-qr-code-text-function": "Gebruik QR-code tekstfunctie", - "qr-code-text-pattern": "QR-code tekstpatroon (bijv. '${entityName} | ${keyName} - some text.')", - "qr-code-text-pattern-hint": "QR-code tekstpatroon gebruikt de waarde van de eerste gevonden sleutel in de entiteiten van de entiteitsalias.", - "qr-code-text-pattern-required": "QR-code tekstpatroon is verplicht.", - "qr-code-text-function": "QR-code tekstfunctie" + "use-qr-code-text-function": "Gebruik QR-codetekstfunctie", + "qr-code-text-pattern": "QR-codetekstpatroon (bijv. '${entityName} | ${keyName} - some text.')", + "qr-code-text-pattern-hint": "QR-codetekstpatroon gebruikt de waarde van de eerste gevonden sleutel in de entiteiten van de entiteitsalias.", + "qr-code-text-pattern-required": "QR-codetekstpatroon is verplicht.", + "qr-code-text-function": "QR-codetekstfunctie" }, "label-widget": { "label-pattern": "Patroon", @@ -11066,7 +12494,7 @@ "behavior": "Gedrag", "initial-value": "Initiële waarde", "initial-value-hint": "Actie om de initiële waarde van de knop op te halen.", - "on-value-change": "Bij waarde wijziging", + "on-value-change": "Bij waardewijziging", "on-value-change-hint": "Actie die wordt uitgevoerd wanneer de waarde van de knop verandert.", "range": "Bereik", "min": "min", @@ -11077,19 +12505,24 @@ "rpc": { "value-settings": "Waardesinstellingen", "initial-value": "Initiële waarde", - "retrieve-value-settings": "Ophalen aan/uit waarde instellingen", + "initial-value-hint": "Bepaalt de initiële waarde voordat de eerste waarde wordt ontvangen.", + "initial-led-state": "Initiële LED-status", + "initial-led-state-hint": "Bepaalt de initiële LED-status voordat de eerste waarde wordt ontvangen.", + "on": "Aan", + "off": "Uit", + "retrieve-value-settings": "Instellingen voor het ophalen van aan-uitwaarden", "retrieve-value-method": "Waarde ophalen via methode", "retrieve-value-method-none": "Niet ophalen", "retrieve-value-method-rpc": "RPC-methode voor ophalen aanroepen", "retrieve-value-method-attribute": "Abonneren op attribuut", "retrieve-value-method-timeseries": "Abonneren op tijdreeks", - "attribute-value-key": "Attribuut sleutel", - "timeseries-value-key": "Tijdreeks sleutel", + "attribute-value-key": "Attribuutsleutel", + "timeseries-value-key": "Tijdreekssleutel", "get-value-method": "RPC methode voor ophalen waarde", - "parse-value-function": "Waarde parsing functie", - "update-value-settings": "Waarde update instellingen", + "parse-value-function": "Waardeparseringsfunctie", + "update-value-settings": "Instellingen voor het bijwerken van waarden", "set-value-method": "RPC methode voor waarde instellen", - "convert-value-function": "Waarde conversie functie", + "convert-value-function": "Waardeconversiefunctie", "rpc-settings": "RPC-instellingen", "request-timeout": "RPC-verzoek time-out (ms)", "persistent-rpc-settings": "Persistente RPC-instellingen", @@ -11129,7 +12562,7 @@ "led-status-value-attribute": "Attribuut met LED-statuswaarde", "led-status-value-timeseries": "Tijdreeks met LED-statuswaarde", "check-status-method": "RPC-methode voor statuscontrole", - "parse-led-status-value-function": "LED-statuswaarde parsing functie", + "parse-led-status-value-function": "Functie voor parsering van LED-statuswaarde", "knob-title": "Knoptitel" }, "maps": { @@ -11143,8 +12576,8 @@ "image-source-image": "Afbeelding", "image-source-entity-key": "Entiteitssleutel", "source-entity-alias": "Alias van bronentiteit", - "image-url-key": "Afbeelding URL sleutel", - "image-url-key-required": "Afbeelding URL sleutel is verplicht" + "image-url-key": "Afbeeldings-URL-sleutel", + "image-url-key-required": "Afbeeldings-URL-sleutel is verplicht" }, "control": { "map-controls": "Kaartbediening", @@ -11202,6 +12635,7 @@ "roadmap": "Wegenkaart", "satellite": "Satelliet", "hybrid": "Hybride", + "webgl-not-available": "De geselecteerde kaartlaag vereist grafische versnelling om te worden weergegeven. Schakel 'Hardwareversnelling' in je browserinstellingen in of kies een andere laag.", "reference": { "reference-layer": "Referentielaag", "no-layer": "Geen laag", @@ -11215,11 +12649,14 @@ "title": "OpenStreet", "mapnik": "Mapnik", "hot": "HOT", - "esri-street": "WereldStraatKaart", - "esri-topo": "WereldTopoKaart", - "esri-imagery": "WereldBeeld", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-street": "WorldStreetMap", + "esri-topo": "WorldTopoMap", + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -11243,7 +12680,18 @@ }, "custom": { "title": "Aangepast", - "tile-url": "Tegel-URL" + "tile-url": "Tegel-URL", + "style-url": "Stijl-URL", + "vector-tiles": "Vectortegels", + "vector-tiles-hint": "Schakel dit in wanneer je een stijl-URL gebruikt van providers zoals OpenFreeMap of MapTiler.", + "attribution": "Copyrighttekst", + "attribution-hint": "Wordt onderaan de kaart weergegeven. Vereist door de meeste tegelproviders." + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -11282,7 +12730,7 @@ "color-type-range": "Bereik", "color-type-function": "Functie", "color-range-source-key": "Kleurbereik bronkey", - "color-range-source-key-required": "Kleurbereik bronkey is vereist", + "color-range-source-key-required": "Bronsleutel voor kleurbereik is verplicht", "color-range": "Kleurbereik", "color-function": "Kleurfunctie", "label": "Label", @@ -11325,10 +12773,10 @@ "longitude-key": "Lengtegraad-key", "x-pos-key": "X-positie-key", "y-pos-key": "Y-positie-key", - "latitude-key-required": "Breedtegraad-key is vereist", - "longitude-key-required": "Lengtegraad-key is vereist", - "x-pos-key-required": "X-positie-key is vereist", - "y-pos-key-required": "Y-positie-key is vereist", + "latitude-key-required": "Sleutel voor breedtegraad is verplicht", + "longitude-key-required": "Sleutel voor lengtegraad is verplicht", + "x-pos-key-required": "Sleutel voor X-positie is verplicht", + "y-pos-key-required": "Sleutel voor Y-positie is verplicht", "no-markers": "Geen markers geconfigureerd", "add-marker": "Marker toevoegen", "marker-configuration": "Markerconfiguratie", @@ -11414,8 +12862,8 @@ "second-stripe": "Tweede streep" }, "polygon": { - "polygon-key": "Polygon sleutel", - "polygon-key-required": "Polygon sleutel is verplicht", + "polygon-key": "Polygoonsleutel", + "polygon-key-required": "Polygoonsleutel is verplicht", "no-polygons": "Geen polygonen geconfigureerd", "add-polygon": "Polygon toevoegen", "polygon-configuration": "Polygonconfiguratie", @@ -11441,8 +12889,8 @@ "finish-rectangle-hint-with-entity": "Rechthoek voor '{{entityName}}': klik om te voltooien en op te slaan" }, "circle": { - "circle-key": "Cirkel sleutel", - "circle-key-required": "Cirkel sleutel is verplicht", + "circle-key": "Cirkelsleutel", + "circle-key-required": "Cirkelsleutel is verplicht", "no-circles": "Geen cirkels geconfigureerd", "add-circle": "Cirkel toevoegen", "circle-configuration": "Cirkelconfiguratie", @@ -11457,7 +12905,7 @@ }, "polyline": { "polyline-key": "Polylijnsleutel", - "polyline-key-required": "Polylijnsleutel is vereist", + "polyline-key-required": "Polylijnsleutel is verplicht", "no-polylines": "Geen polylijnen geconfigureerd", "add-polylines": "Polylijn toevoegen", "polyline-configuration": "Polylijnconfiguratie", @@ -11540,10 +12988,7 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Inloggegevens", - "here-app-id": "HERE app ID", - "here-app-code": "HERE app-code", "here-api-key": "HERE API-sleutel", - "here-use-new-version-api-3": "Gebruik API-versie 3", "tencent-maps-api-key": "Tencent Maps API-sleutel", "tencent-map-type-roadmap": "Wegenkaart", "tencent-map-type-satelite": "Satelliet", @@ -11565,7 +13010,7 @@ "fit-map-bounds": "Pas kaartgrenzen aan om alle markeringen te tonen", "use-default-map-center-position": "Gebruik standaard kaartmiddenpositie", "entities-limit": "Limiet op te laden entiteiten", - "markers-settings": "Markering instellingen", + "markers-settings": "Markeringsinstellingen", "marker-offset-x": "X-offset markering relatief aan breedte", "marker-offset-y": "Y-offset markering relatief aan hoogte", "position-function": "Functie voor positierekening, moet x,y-coördinaten (0-1) teruggeven", @@ -11731,7 +13176,7 @@ "behavior": "Gedrag", "initial-value": "Initiële waarde", "initial-value-hint": "Actie om de initiële waarde van de schuifregelaar op te halen.", - "on-value-change": "Bij waarde wijziging", + "on-value-change": "Bij waardewijziging", "on-value-change-hint": "Actie die wordt uitgevoerd wanneer de waarde van de schuifregelaar wordt gewijzigd.", "layout": "Indeling", "layout-default": "Standaard", @@ -11819,8 +13264,8 @@ "units": "Eenheden", "color-and-font": "Kleur en lettertype", "shape-attribute-name": "Attribuutnaam", - "total-volume-required": "Totaal volume is vereist.", - "attribute-name-required": "Attribuutnaam is vereist.", + "total-volume-required": "Totaal volume is verplicht.", + "attribute-name-required": "Attribuutnaam is verplicht.", "attribute-key-not-set": "Attribuut '{{attributeName}}' is niet ingesteld", "attribute-key-invalid": "Attribuut '{{attributeName}}' is ongeldig" }, @@ -11843,7 +13288,7 @@ "remove-value": "Waarde verwijderen", "no-values": "Geen waarden geconfigureerd", "aggregation": "Aggregatie", - "aggregated-value-card-style": "Samengevoegde waarde kaartstijl", + "aggregated-value-card-style": "Stijl voor kaart met samengevoegde waarde", "auto-scale": "Automatisch schalen" }, "value-chart-card": { @@ -11964,8 +13409,8 @@ "enable-alarms-search": "Alarm zoeken inschakelen", "enable-alarm-filter": "Alarmfilter inschakelen", "display-alarm-details": "Alarmdetails tonen", - "allow-alarms-ack": "Erkenning van alarmen toestaan", - "allow-alarms-clear": "Opruiming van alarmen toestaan", + "allow-alarms-ack": "Bevestigen van alarmen toestaan", + "allow-alarms-clear": "Opheffen van alarmen toestaan", "display-alarm-activity": "Alarmactiviteit weergeven", "allow-alarms-assign": "Toewijzing van alarmen toestaan", "blob-entities-table-title": "Titel van blob-entiteitentabel", @@ -12033,6 +13478,8 @@ "chart": "Diagram", "chart-style": "Diagramstijl", "data-zoom": "Gegevens inzoomen", + "data-zoom-update-timewindow": "Tijdvenster bijwerken bij zoomen", + "reset-timewindow": "Terug naar oorspronkelijk tijdvenster", "stack-mode": "Stapelmethode", "stack-mode-hint": "Stapelt series in het diagram. Series met dezelfde eenheid worden boven elkaar geplaatst.", "axes": "Assen", @@ -12070,9 +13517,9 @@ "type-entity": "Entiteit", "threshold-settings": "Instellingen drempelwaarde", "remove-threshold": "Drempel verwijderen", - "threshold-value-required": "Drempelwaarde is vereist.", - "key-required": "Sleutel is vereist.", - "entity-key-required": "Entiteitssleutel is vereist.", + "threshold-value-required": "Drempelwaarde is verplicht.", + "key-required": "Sleutel is verplicht.", + "entity-key-required": "Entiteitssleutel is verplicht.", "line-appearance": "Lijnweergave", "line-color": "Lijnkleur", "start-symbol": "Startsymbool", @@ -12116,8 +13563,8 @@ "axes": "Assen", "x-axis": "X-as", "y-axis": "Y-as", - "y-axis-settings": "Y-as instellingen", - "comparison-x-axis-settings": "Vergelijkings-X-as instellingen", + "y-axis-settings": "Y-asinstellingen", + "comparison-x-axis-settings": "Instellingen voor vergelijkings-X-as", "remove-y-axis": "Y-as verwijderen", "id": "Id", "label": "Label", @@ -12127,8 +13574,8 @@ "position-top": "Boven", "position-bottom": "Onder", "tick-labels": "Streepjeslabels", - "ticks-formatter-function": "Streepjes formatter functie", - "ticks-generator-function": "Streepjes generator functie", + "ticks-formatter-function": "Opmaakfunctie voor streepjes", + "ticks-generator-function": "Generatorfunctie voor streepjes", "show-ticks": "Streepjes tonen", "show-line": "Lijn tonen", "show-split-lines": "Scheidingslijnen tonen", @@ -12144,7 +13591,7 @@ "add-y-axis": "Y-as toevoegen" }, "series": { - "legend-settings": "Legenda instellingen", + "legend-settings": "Legenda-instellingen", "show-in-legend": "In legenda tonen", "show-in-legend-hint": "Toon seriesnaam en gegevens in de legenda.", "hidden-by-default": "Standaard verborgen", @@ -12243,7 +13690,7 @@ "set-attribute": "Attribuut instellen", "get-time-series": "Tijdreeks ophalen", "get-alarm-status": "Alarmstatus ophalen", - "get-dashboard-state": "Dashboard status-id ophalen", + "get-dashboard-state": "ID van dashboardtoestand ophalen", "get-dashboard-state-object": "Dashboard statusobject ophalen", "add-time-series": "Tijdreeks toevoegen", "execute-rpc-text": "Voer RPC-methode '{{methodName}}' uit", @@ -12253,7 +13700,7 @@ "get-dashboard-state-text": "Gebruik dashboardstatus", "get-dashboard-state-object-text": "Gebruik dashboard statusobject", "when-dashboard-state-is-text": "Wanneer dashboardstatus-id '{{state}}' is", - "when-dashboard-state-function-is-text": "Wanneer f(dashboard status-id) '{{state}}' is", + "when-dashboard-state-function-is-text": "Wanneer f(ID van dashboardtoestand) '{{state}}' is", "when-dashboard-state-object-function-is-text": "Wanneer f(dashboard statusobject) '{{state}}' is", "set-attribute-to-value-text": "Stel attribuut '{{key}}' in op: {{value}}", "add-time-series-value-text": "Voeg '{{key}}' tijdreekswaarde toe: {{value}}", @@ -12286,6 +13733,7 @@ "state-when-result-is": "'{{state}}' wanneer resultaat is", "parameters": "Parameters", "convert-value-function": "Waardeconversiefunctie", + "rpc-params-function": "Functie voor RPC-parameters", "error": { "target-entity-is-not-set": "Doelentiteit is niet ingesteld!", "failed-to-perform-action": "Kon de actie {{ actionLabel }} niet uitvoeren.", @@ -12371,6 +13819,9 @@ "no-links-matching": "Geen links gevonden die overeenkomen met '{{name}}'.", "columns": "Kolommen" }, + "iot-hub": { + "title-text": "Bouw sneller met door de community beproefde bronnen van" + }, "recent-dashboards": { "title": "Dashboards", "last": "Laatst bekeken", @@ -12406,7 +13857,8 @@ "view-all": "Bekijk alles", "license-portal": "Licentieportaal", "devices-info": "{count} / { max, plural, =0 {∞} other {#} } Apparaten", - "assets-info": "{count} / { max, plural, =0 {∞} other {#} } Middelen", + "assets-info": "{count} / { max, plural, =0 {∞} other {#} } assets", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edges", "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } Dashboards", "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } Integraties", "community-support": "Community-ondersteuning", @@ -12433,7 +13885,6 @@ "roles-and-permissions": "Rollen & Rechten", "groups": "Groepen", "integrations": "Integraties", - "solution-templates": "Oplossingssjablonen", "scheduler": "Planner", "white-labeling": "White-labeling" }, @@ -12448,11 +13899,6 @@ "assigned-to-me": "Aan mij toegewezen", "total": "Totaal" }, - "solution-templates": { - "title": "Oplossingssjablonen", - "prototype-plan": "Prototypeplan", - "startup-plan": "Startupprogramma" - }, "getting-started": { "get-started": "Aan de slag", "finish": "Voltooien", @@ -12486,12 +13932,12 @@ }, "step6": { "title": "Configureer functie: OAuth 2", - "content": "

    Vereenvoudig de aanmelding van tenant- en klantgebruikers met Single Sign-On via OAuth 2.0.

    Volg de documentatie om dit in te stellen:

    ", + "content": "

    Vereenvoudig het inloggen van tenant- en klantgebruikers met Single Sign-On via OAuth 2.0.

    Volg de documentatie om dit in te stellen:

    ", "how-to-configure-oauth2": "Hoe OAuth 2 te configureren" }, "step7": { "title": "Configureer functie: Slack", - "content": "

    Verzend meldingen naar tenant- en klantgebruikers via Slack op basis van je notificatieregels.

    Volg de documentatie om dit in te stellen:

    ", + "content": "

    Verzend meldingen naar tenant- en klantgebruikers via Slack op basis van je meldingsregels.

    Volg de documentatie om dit in te stellen:

    ", "how-to-configure-notifications": "Hoe Slack te configureren" } }, @@ -12530,7 +13976,7 @@ }, "step5": { "title": "Alarm aanmaken", - "content-before": "

    Om het alarm te activeren, verzend een nieuwe telemetrie waarde van 26°C of hoger.

    ", + "content-before": "

    Om het alarm te activeren, verzend een nieuwe telemetriewaarde van 26°C of hoger.

    ", "replace-access-token": "Vervang $ACCESS_TOKEN door het toegangstoken van je apparaat:", "content-after": "

    Volg de documentatie om dit te doen:

    ", "how-to-create-alarm": "Hoe een alarm aan te maken" @@ -12542,16 +13988,28 @@ } } }, + "html-container": { + "java-script": "JavaScript", + "js-function": "JavaScript-functie", + "html": "HTML", + "angular-html-template": "Angular HTML-sjabloon", + "css": "CSS", + "container-type": "Containertype", + "type-plain": "Gewone HTML", + "type-angular": "Angular", + "resources": "Resources", + "no-resources": "Geen resources geconfigureerd" + }, "api-usage": { "api-usage": "API-gebruik", "label": "Label", "state-name": "Statusnaam", "status": "Status", - "status-required": "Status is vereist.", + "status-required": "Status is verplicht.", "limit": "Maximale limiet", - "limit-required": "Maximale limiet is vereist.", + "limit-required": "Maximale limiet is verplicht.", "current-number": "Huidig aantal", - "current-number-required": "Huidig aantal is vereist.", + "current-number-required": "Huidig aantal is verplicht.", "add-key": "Sleutel toevoegen", "no-key": "Geen sleutel", "delete-key": "Sleutel verwijderen", @@ -12564,11 +14022,219 @@ "icons": "Pictogrammen", "custom": "Aangepast", "select-icon": "Selecteer pictogram", - "material-icons": "Material pictogrammen", + "material-icons": "Material icons", "show-all": "Toon alle pictogrammen", "search-icon": "Zoek pictogram", "no-icons-found": "Geen pictogrammen gevonden voor '{{iconSearch}}'" }, + "subscription": { + "entity-limit-text": "Je kunt echter je abonnementsplan upgraden om je limieten te verhogen.", + "upgrade-your-plan": "Abonnementsplan upgraden", + "license-management": "Licentiebeheer", + "perpetual-license": "Eeuwigdurende licentie", + "subscription": "Abonnement", + "perpetual": "Eeuwigdurend", + "manage-license": "Licentie beheren", + "updated-ago": "Bijgewerkt {{ago}}", + "usage-and-limits": "Gebruik en limieten", + "add-ons": "Add-ons", + "included": "Inbegrepen", + "not-included": "Niet inbegrepen", + "add-to-license": "Aan licentie toevoegen", + "change-key-title": "Overstappen naar een andere licentie?", + "change-key-text": "Stap over naar een andere licentie of activeer een air-gapped installatie met een offline sleutel.", + "enter-key": "Sleutel invoeren", + "enter-license-key": "Licentiesleutel invoeren", + "applying-key-text": "Als je een sleutel toepast, verandert waarvoor deze installatie een licentie heeft.", + "keys-issued-text": "Sleutels worden uitgegeven in het {{licensePortal}}. Meld je aan op een willekeurig apparaat en kopieer daar een sleutel.", + "check-key": "Sleutel controleren", + "checking-key": "Deze sleutel wordt gecontroleerd...", + "current": "Huidig", + "this-key": "Deze sleutel", + "replace-license": "Licentie vervangen", + "new-license-applied": "Nieuwe licentiesleutel is toegepast.", + "updates-and-support-until": "Updates en ondersteuning tot {{date}}.", + "next-charge-and-due-date": "Volgende afschrijving {{total}} op {{date}}, te betalen vóór {{dueDate}}.", + "refresh-license-info": "Licentie-informatie vernieuwen", + "non-production-mode": "Ontwikkelmodus — alleen voor niet-productiegebruik", + "non-production-mode-details": "Quota voor apparaten, assets en Edges zijn onbeperkt; White Labeling is niet beschikbaar. Gebruik deze instantie niet in productie.", + "offline-mode": "Offlinemodus", + "devices": "Apparaten", + "number-of-devices": "{ count, plural, =1 {1 apparaat} other {# apparaten} }", + "unlimited-devices": "Onbeperkt aantal apparaten", + "add-devices": "Apparaten toevoegen", + "device-limit-warn": "Je zit op {{ percent }} van je apparaatlimiet.", + "device-limit-critical": "Je apparaatlimiet is bereikt. Nieuwe apparaten worden pas geregistreerd als de limiet is verhoogd.", + "assets": "Assets", + "add-assets": "Assets toevoegen", + "prod-instances": "Productie-instanties", + "add-instances": "Instanties toevoegen", + "ai-credits": "AI-credits", + "add-credits": "Credits toevoegen", + "white-labeling": "White labeling", + "edge": "Edge Computing", + "edges": "Edges", + "add-edges": "Edges toevoegen", + "agents": "Remote Agents", + "add-agents": "Remote Agents toevoegen", + "trendz": "Trendz Analytics", + "name-addon": "{{name}}-add-on", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { {name} toevoegen } other { {name} toevoegen } }", + "add-addon-subscription": "{{name}} is een betaalde add-on en verhoogt je maandelijkse kosten.", + "add-addon-perpetual": "{{name}} is een betaalde add-on die je eenmalig voor deze licentie koopt.", + "upgrade-plan-devices": "Bij {{plan}} is je apparaatlimiet onderdeel van het plan.", + "upgrade-plan-instances": "Bij {{plan}} is je limiet voor productie-instanties onderdeel van het plan.", + "upgrade-plan-credits": "Bij {{plan}} zijn je maandelijkse AI-credits onderdeel van het plan.", + "upgrade-plan-edges": "Bij {{plan}} is je Edge-limiet onderdeel van het plan.", + "upgrade-plan-agents": "Bij {{plan}} is je limiet voor Remote Agents onderdeel van het plan.", + "upgrade-plan-white-labeling": "Elk betaald plan bevat White-labeling.", + "upgrade-plan-addon": "{{name}} is een betaalde add-on. Voor add-ons is een betaald plan vereist.", + "ce-grant-case": "Elke aankoop zet je Community Grant om in een eeuwigdurende commerciële licentie. Je betaalt voor wat je toevoegt, niet voor wat de Community Grant al dekt.", + "pe-pack-case": "Het Professional Pack is een eenmalige aankoop, met dezelfde prijs voor elke houder van een Community Grant.", + "ce-grant-white-label": "Wat je al white-labelt, blijft gratis onder je Community Grant.", + "open-portal-manage-license": "We openen de licentie van deze implementatie in het License Portal. Mogelijk moet je je aanmelden. Klik op Bijwerken wanneer je terug bent.", + "open-portal-upgrade-plan": "We openen het License Portal en stellen een plan voor. Mogelijk moet je je aanmelden. Klik op Bijwerken wanneer je terug bent.", + "open-portal": "Portal openen", + "add-license-item-title": "Voor het {{ action }} van {{ item }} moet je je {{ package }} bijwerken in het ThingsBoard License Portal.", + "action-add": "toevoegen", + "action-enable": "inschakelen", + "package-subscription": "abonnement", + "package-perpetual": "licentiepakket", + "go-to-license-portal": "Naar het License Portal", + "add-license-item-step-first": "We sturen je door naar het License Portal.", + "add-license-item-step-second": "Zodra je bent ingelogd, openen we automatisch de bijbehorende gegevens van je {{ package }}.", + "add-license-item-step-third": "Voeg \"{{ item }}\" toe aan je {{ package }}.", + "add-license-item-step-fourth": "Klik daarna hieronder op \"Licentie-informatie vernieuwen\" om je {{ package }} direct te vernieuwen.", + "request-feature-sysadmin-text": "Ben je de systeembeheerder?", + "login-here": "Hier inloggen", + "to-get-addon": "om de add-on te krijgen.", + "request-edge-title": "Houd je locaties draaiende, ook als het netwerk dat niet doet", + "request-edge-text": "Zet Edge-instanties in om verwerking en analyse over je infrastructuur te verdelen. Belangrijkste mogelijkheden:", + "edge-card-autonomy-title": "Autonomie", + "edge-card-autonomy-text": "Zorgt voor directe lokale werking, zelfs bij netwerkstoringen", + "edge-card-filtering-title": "Filtering", + "edge-card-filtering-text": "Vermindert cloudverkeer en -kosten door alleen gevalideerde, waardevolle data te verzenden", + "edge-card-latency-title": "Latentie", + "edge-card-latency-text": "Maakt realtime besturing en snelle reacties mogelijk door data lokaal te verwerken", + "edge-card-security-title": "Beveiliging", + "edge-card-security-text": "Biedt een veilige buffer tussen OT-apparaten en de publieke cloud", + "edge-card-efficiency-title": "Efficiëntie", + "edge-card-efficiency-text": "Normaliseert en aggregeert data dicht bij de bron en ontlast zo de cloud", + "request-edge-action-text": "Edge Management is beschikbaar als add-on. Neem contact op met je systeembeheerder om het in te schakelen.", + "request-access": "Toegang aanvragen", + "requested": "Aangevraagd", + "upgrade-plan": "Plan upgraden", + "learn-more": "Meer informatie", + "feature-request-sent-title": "We hebben een automatisch verzoek naar je systeembeheerder gestuurd om {{addonName}} in te schakelen", + "feature-request-sent-text": "Geef de beheerder even de tijd om het verzoek te beoordelen en de instellingen bij te werken. Mogelijk moet je deze pagina vernieuwen om de wijzigingen te zien.", + "request-trendz-title": "Zet IoT-datasets om in inzichten en vereenvoudig het besluitvormingsproces met {{name}}", + "request-trendz-text": "Ontgrendel krachtige no-code IoT-analyses met een uniforme, AI-gestuurde werkruimte waarin je telemetrie verkent, logica bouwt, afwijkingen detecteert, voorspellingen genereert en ruwe data omzet in heldere, bruikbare inzichten", + "request-trendz-action-text": "{{name}} is beschikbaar als add-on. Neem contact op met je systeembeheerder om het in te schakelen.", + "trendz-card-metric-explorer-title": "Metric Explorer", + "trendz-card-metric-explorer-text": "Duik diep in telemetrie met no-code-analyse, aangepaste metrics en directe visuele inzichten", + "trendz-card-anomaly-title": "Anomaliedetectie", + "trendz-card-anomaly-text": "Detecteer automatisch ongebruikelijk gedrag in je data", + "trendz-card-calculation-title": "Berekende velden", + "trendz-card-calculation-text": "Definieer bedrijfslogica, transformeer telemetrie en maak nieuwe metrics", + "trendz-card-prediction-title": "Voorspellingsmodellen", + "trendz-card-prediction-text": "Voorspel toekomstige waarden en detecteer trends met ingebouwde ML-modellen", + "trendz-card-views-title": "Weergaven", + "trendz-card-views-text": "Bouw deelbare analysedashboards voor teams en klanten — alles op één plek.", + "trendz-card-ai-assistant-title": "AI-assistent", + "trendz-card-ai-assistant-text": "Genereer logica, verfijn formules en automatiseer het maken van metrics met AI in natuurlijke taal.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Integraties, de planner, rapporten en white-labeling.", + "pe-pack-desc": "Breidt je Community Grant uit tot de volledige functieset.", + "request-pe-pack": "Volledig Professional Pack aanvragen", + "add-pe-pack": "Volledig Professional Pack toevoegen", + "pe-pack-extend-ce": "Breidt je Community Grant uit tot de volledige functieset.", + "sys-admin-pe-pack-note": "Systeembeheerder? Meld je aan en voeg het Professional Pack toe in Licentiebeheer.", + "pe-pack-requested": "Het Professional Pack is aangevraagd bij je systeembeheerder.", + "white-labeling-promo": "Stel het logo, de kleuren en de titels in via een instellingenpagina.", + "white-labeling-promo-try": "Stel het logo, de kleuren en de titels in via een instellingenpagina. Open de pagina om het uit te proberen.", + "integrations": "Integraties", + "integrations-promo": "Haal data binnen uit LoRaWAN, MQTT, Kafka en andere IoT-platforms.", + "scheduler": "Planner", + "scheduler-promo": "Voer updates uit en verstuur gebeurtenissen volgens een schema naar regelketens.", + "reports": "Rapporten", + "reports-promo": "Stel rapporten samen uit tabellen, grafieken en je eigen huisstijl, en verstuur ze volgens een schema." + }, + "platform-feature": { + "overview": "Overzicht", + "white-labeling": { + "not-in-plan": "White-labeling is niet inbegrepen in je abonnement", + "not-in-ce-grant": "White-labeling is niet inbegrepen in je Community Grant.", + "add": "White-labeling toevoegen", + "request": "White-labeling aanvragen", + "offer-title": "Jouw merk, jouw inlogscherm, jouw menu's, jouw labels", + "offer-with-plan-lede": "White-labeling is beschikbaar vanaf het Pilot-abonnement. Alles wat je hier instelt, vervangt dat van ThingsBoard — op de inlogpagina, in de e-mails die je verstuurt en op elke pagina waarop je klanten werken.", + "offer-lede": "Met White-labeling vervangt alles wat je hier instelt dat van ThingsBoard — op de inlogpagina, in de e-mails die je verstuurt en op elke pagina waarop je klanten werken.", + "pack-offer-lede": "White-labeling zit in het Professional Pack, de betaalde add-on bij je Community Grant. Als het Professional Pack actief is, vervangt alles wat je hier instelt dat van ThingsBoard — op de inlogpagina, in de e-mails die je verstuurt en op elke pagina waarop je klanten werken.", + "sys-admin-wl-note": "Systeembeheerder? Meld je aan en voeg White-labeling toe in Licentiebeheer." + }, + "integrations": { + "not-in-ce-grant": "Integraties zijn niet inbegrepen in je Community Grant.", + "pack-offer-title": "Haal data binnen uit LoRaWAN, MQTT, Kafka en andere IoT-platforms", + "pack-offer-lede": "Integraties maken deel uit van het Professional Pack, de betaalde add-on bij je Community Grant. Elke integratie leest uit een LoRaWAN Network Server, een MQTT- of Kafka-broker of een ander IoT-platform — maakt automatisch apparaten aan zodra ze verschijnen en slaat op wat ze versturen als telemetrie.", + "overview": { + "brokers-and-platforms": "Brokers en platforms", + "brokers-and-platforms-desc": "Eén integratie per bron, geconfigureerd en bewaakt vanuit de gebruikersinterface.", + "data-converters": "Dataconverters", + "data-converters-desc": "Decodeer de eigen payload van een apparaat — inclusief LoRaWAN-codecs — met een script, zonder te wijzigen wat het apparaat verstuurt.", + "downlink": "Downlink", + "downlink-desc": "Stuur opdrachten en configuratie via dezelfde verbinding terug naar het apparaat.", + "remote-integrations": "Externe integraties", + "remote-integrations-desc": "Draai er een aan de rand van het netwerk, op een eigen host — die blijft bufferen zolang de verbinding met ThingsBoard verbroken is." + }, + "dozen-protocols-brokers-and-platforms": "Tientallen protocollen, brokers en platforms", + "browse-setup-guides-note": "Bekijk de installatiehandleidingen in onze documentatie." + }, + "scheduler": { + "not-in-ce-grant": "De planner is niet inbegrepen in je Community Grant.", + "pack-offer-title": "Updates uitvoeren en gebeurtenissen volgens schema naar regelketens sturen", + "pack-offer-lede": "De planner maakt deel uit van het Professional Pack, de betaalde add-on bij je Community Grant. Voer firmware-updates uit en stuur gebeurtenissen naar regelketens — elk item heeft een starttijd, een herhaalregel en een eigen tijdzone, en het platform voert het uit, ongeacht of er bij jou nog iets draait.", + "overview": { + "repeats-and-timezones": "Herhalingen en tijdzones", + "repeats-and-timezones-desc": "Eenmalig, of dagelijks of wekelijks op de dagen die je kiest — en elke gebeurtenis wordt in haar eigen tijdzone verwerkt.", + "device-commands": "Apparaatopdrachten", + "device-commands-desc": "Stuur op een vast tijdstip een opdracht naar een apparaat, zonder cronjob die een API-token bewaart.", + "firmware-and-software": "Firmware en software", + "firmware-and-software-desc": "Rol een OTA-pakket uit naar een apparaat of een hele groep, op een uur dat niemand meekijkt.", + "rule-chain-triggers": "Regelketentriggers", + "rule-chain-triggers-desc": "Stuur berichten naar een regelketen, zodat alles wat een regelketen kan zonder toezicht kan draaien." + } + }, + "reporting": { + "not-in-ce-grant": "Rapporten zijn niet inbegrepen in je Community Grant.", + "pack-offer-title": "Een rapport één keer opbouwen en bij elke geplande uitvoering afleveren", + "pack-offer-lede": "Rapporten maken deel uit van het Professional Pack, de betaalde add-on bij je Community Grant. Je ontwerpt het rapport zelf — tabellen, grafieken, tekst en je eigen huisstijl — en elke uitvoering bereikt de ontvangers volgens schema of wanneer er een alarm afgaat.", + "overview": { + "your-own-layout": "Je eigen opmaak", + "your-own-layout-desc": "Sleep tabellen, grafieken, tekst en afbeeldingen op hun plek, en één opgeslagen sjabloon dient voor elke klant.", + "pdf-or-csv": "PDF of CSV", + "pdf-or-csv-desc": "Een afdrukklaar document met de grafieken erin, of de ruwe rijen voor wie de cijfers wil hebben.", + "channel": "E-mail, Slack, Teams of SMS", + "channel-desc": "Kies het kanaal per ontvanger of per gebruikersgroep — het platform levert elke geplande uitvoering af.", + "attached-to-alarm": "Als bijlage bij het alarm", + "attached-to-alarm-desc": "Een melding bevat het rapport. Het rapport wordt opgebouwd zodra het alarm afgaat, uit de gegevens van dat moment." + } + } + }, + "subscription-error": { + "title": "Abonnementsschending", + "warning-title": "Abonnementswaarschuwing", + "upgrade-subscription-plan": "Upgrade je abonnementsplan", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} is beschikbaar vanaf het plan {{planName}}. Vraag je systeembeheerder om het plan te upgraden om verder te gaan.", + "limit-reached": { + "device-count": "Je hebt het maximale aantal apparaten ({{value}}) bereikt dat je abonnementsplan toestaat!", + "asset-count": "Je hebt het maximale aantal assets ({{value}}) bereikt dat je abonnementsplan toestaat!", + "edge-count": "Je hebt het maximale aantal Edge-instanties ({{value}}) bereikt dat je abonnementsplan toestaat!", + "agent-count": "Je hebt het maximale aantal Remote Agents ({{value}}) bereikt dat je abonnementsplan toestaat!" + }, + "feature-disabled": { + "white-labeling": "Je abonnementsplan staat de functie White-labeling niet toe!" + } + }, "phone-input": { "phone-input-label": "Telefoonnummer", "phone-input-required": "Telefoonnummer is verplicht", @@ -12610,8 +14276,8 @@ "anomaly-detection-description": "Actieve anomaliedetectiemodellen", "calculated-fields": "Berekende velden", "calculated-fields-description": "Aangepaste bedrijfslogica en berekeningen", - "contact-admin-message": "Geef hen de tijd om het verzoek te beoordelen en de instellingen bij te werken. Mogelijk moet u deze pagina vernieuwen om de wijzigingen te zien.", - "contact-admin-title": "We hebben uw systeembeheerder op de hoogte gebracht van deze fout", + "contact-admin-message": "Geef hen de tijd om het verzoek te beoordelen en de instellingen bij te werken. Mogelijk moet je deze pagina vernieuwen om de wijzigingen te zien.", + "contact-admin-title": "We hebben je systeembeheerder op de hoogte gebracht van deze fout", "contact-sys-admin": "Systeembeheerder contacteren", "disabled": "Uitgeschakeld", "enabled": "Ingeschakeld", @@ -12639,10 +14305,10 @@ "service-connection": "Serviceverbinding", "service-unavailable": "{{ name }} is tijdelijk niet beschikbaar", "service-unavailable-message": "We ondervinden momenteel een technisch probleem waardoor toegang tot de service {{ name }} niet mogelijk is.", - "service-unavailable-incident-reported": "De oorzaak is een configuratie- of connectiviteitsprobleem tussen het platform en de Analytics-servers. Meld dit probleem bij uw systeembeheerder.", + "service-unavailable-incident-reported": "De oorzaak is een configuratie- of connectiviteitsprobleem tussen het platform en de Analytics-servers. Meld dit probleem bij je systeembeheerder.", "service-unavailable-report-issue": "Probleem melden", - "service-unavailable-request-sent-title": "We hebben een geautomatiseerd verzoek naar uw systeembeheerder gestuurd over dit probleem", - "service-unavailable-request-sent-message": "Geef hen de tijd om het verzoek te beoordelen en de instellingen bij te werken. Mogelijk moet u deze pagina vernieuwen om de wijzigingen te zien.", + "service-unavailable-request-sent-title": "We hebben een automatisch verzoek naar je systeembeheerder gestuurd over dit probleem", + "service-unavailable-request-sent-message": "Geef hen de tijd om het verzoek te beoordelen en de instellingen bij te werken. Mogelijk moet je deze pagina vernieuwen om de wijzigingen te zien.", "sync": { "sync-completed": "Synchronisatie succesvol voltooid", "sync-disabled": "Synchronisatie is uitgeschakeld door de Trendz-configuratie", @@ -12657,16 +14323,17 @@ }, "thingsboard-internal-url": "Interne ThingsBoard-URL", "thingsboard-internal-url-invalid": "Interne ThingsBoard-URL is ongeldig", - "thingsboard-internal-url-required": "Interne ThingsBoard-URL is vereist", + "thingsboard-internal-url-required": "Interne ThingsBoard-URL is verplicht", "trendz-analytics": "Trendz analytics", "advanced-analytics": "Geavanceerde analyse", "trendz-configuration": "Trendz-configuratie", - "trendz-configuration-unsaved-message": "Uw wijzigingen in de Trendz-configuratie zijn niet opgeslagen.
    Wilt u ze opslaan voordat u detectie uitvoert?", + "trendz-configuration-unsaved-message": "Je wijzigingen in de Trendz-configuratie zijn niet opgeslagen.
    Wil je ze opslaan voordat je detectie uitvoert?", "trendz-configuration-unsaved-continue-without-saving": "Doorgaan zonder op te slaan", "trendz-internal-url": "Interne Trendz-URL", "trendz-internal-url-invalid": "Interne Trendz-URL is ongeldig", - "trendz-internal-url-required": "Interne Trendz-URL is vereist", + "trendz-internal-url-required": "Interne Trendz-URL is verplicht", "trendz-settings": "Trendz-instellingen", + "trendz": "Trendz", "views": "Weergaven", "views-description": "Geconfigureerde visualisatiegroepen en rapporten", "trendz-synced": "Synchronisatie succesvol voltooid", From 3a1284de00ecd7e30d343a4fa711d9a3a8ed600c Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 16:28:49 +0200 Subject: [PATCH 337/559] Fix review comments --- .../server/controller/AiModelController.java | 5 +- .../permission/CustomerUserPermissions.java | 12 +- .../controller/AiModelControllerTest.java | 132 +++++++++++++++++- .../server/dao/model/ModelConstants.java | 2 + .../server/dao/model/sql/AiModelEntity.java | 4 +- .../dao/model/sql/AiModelInfoEntity.java | 4 +- .../server/dao/sql/ai/AiModelRepository.java | 32 ++--- 7 files changed, 154 insertions(+), 37 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java index d0102a4ecf..a01448b0d9 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java @@ -123,8 +123,7 @@ class AiModelController extends BaseController { @ApiOperation( value = "Get AI model infos (getAiModelInfos)", notes = "Returns a page of AI model infos: AI models without the configuration and its provider credentials. " + - "Requires the 'INVOKE' permission for AI models. " + - "Customer users only get the models with customer access enabled, which are the ones they can send chat requests to. " + + "Customer users only get the models with customer access enabled. " + PAGE_DATA_PARAMETERS + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH ) @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") @@ -144,7 +143,7 @@ class AiModelController extends BaseController { @RequestParam(required = false) Boolean customerAccessEnabled ) throws ThingsboardException { var user = getCurrentUser(); - accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.INVOKE); + accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.READ); var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); return aiModelService.findAiModelInfosByTenantId(user.getTenantId(), user.isCustomerUser() ? Boolean.TRUE : customerAccessEnabled, pageLink); } diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index e2da30f57f..9c9dd8bb3c 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -489,18 +489,18 @@ public class CustomerUserPermissions extends AbstractPermissions { } }; - // Only INVOKE is grantable: reading the model would expose the provider credentials stored in its configuration. - // Roles granting ALL include INVOKE, so the model's 'customerAccessEnabled' flag decides which models such users can call. + // READ only reaches the model infos: endpoints returning the configuration with its provider credentials are tenant administrator only. + // Roles granting ALL include INVOKE, so the model's 'customerAccessEnabled' flag decides which models such users can see and call. private static final PermissionChecker aiModelPermissionChecker = new PermissionChecker() { @Override public boolean hasPermission(SecurityUser user, Resource resource, Operation operation) { - return operation == Operation.INVOKE && user.getUserPermissions().hasGenericPermission(resource, operation); + return isAllowed(operation) && user.getUserPermissions().hasGenericPermission(resource, operation); } @Override public boolean hasPermission(SecurityUser user, Operation operation, EntityId entityId, TenantEntity entity) { - if (operation != Operation.INVOKE) { + if (!isAllowed(operation)) { return false; } if (!user.getTenantId().equals(entity.getTenantId())) { @@ -511,6 +511,10 @@ public class CustomerUserPermissions extends AbstractPermissions { } return user.getUserPermissions().hasGenericPermission(Resource.AI_MODEL, operation); } + + private boolean isAllowed(Operation operation) { + return operation == Operation.READ || operation == Operation.INVOKE; + } }; private static final PermissionChecker apiKeysPermissionChecker = new PermissionChecker() { diff --git a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java index fde826c47a..e17709278e 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java @@ -9,6 +9,7 @@ import org.junit.Test; import org.springframework.test.web.servlet.ResultActions; import org.thingsboard.common.util.SsrfProtectionValidator; import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.User; import org.thingsboard.server.common.data.ai.AiModel; import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.ai.dto.TbChatRequest; @@ -24,13 +25,17 @@ import org.thingsboard.server.common.data.ai.provider.AnthropicProviderConfig; import org.thingsboard.server.common.data.ai.provider.GoogleAiGeminiProviderConfig; import org.thingsboard.server.common.data.ai.provider.GoogleVertexAiGeminiProviderConfig; import org.thingsboard.server.common.data.ai.provider.OpenAiProviderConfig; +import org.thingsboard.server.common.data.group.EntityGroup; +import org.thingsboard.server.common.data.group.EntityGroupInfo; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.page.SortOrder; +import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.dao.service.DaoSqlTest; +import java.util.Arrays; import java.util.List; import static org.assertj.core.api.Assertions.assertThat; @@ -393,10 +398,25 @@ public class AiModelControllerTest extends AbstractControllerTest { .andExpect(statusReason(equalTo("You don't have permission to perform 'INVOKE' operation with AI_MODEL 'Test model'!"))); } + @Test + public void sendChatRequestToAiModel_whenReadOnlyCustomerUser_shouldReturnForbidden() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelWithBlockedBaseUrl(); + loginReadOnlyCustomerUser(); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + model.getId() + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isForbidden()) + .andExpect(statusReason(equalTo("You don't have permission to perform 'INVOKE' operation with AI_MODEL 'Test model'!"))); + } + /* --- Customer permission tests --- */ @Test - public void aiModelPermission_whenCustomerAdminGrantedAll_shouldAllowInvokeOnly() throws Exception { + public void aiModelPermission_whenCustomerAdminGrantedAll_shouldAllowReadAndInvokeOnly() throws Exception { // GIVEN loginTenantAdmin(); var modelConfig = constructValidOpenAiModel("Test model"); @@ -406,30 +426,44 @@ public class AiModelControllerTest extends AbstractControllerTest { // WHEN / THEN assertThat(hasAiModelPermission(model, "INVOKE")).isTrue(); - assertThat(hasAiModelPermission(model, "READ")).isFalse(); + assertThat(hasAiModelPermission(model, "READ")).isTrue(); assertThat(hasAiModelPermission(model, "WRITE")).isFalse(); assertThat(hasAiModelPermission(model, "DELETE")).isFalse(); } @Test - public void aiModelPermission_whenCustomerAccessDisabled_shouldDenyInvokeForCustomerAdminOnly() throws Exception { + public void aiModelPermission_whenCustomerAccessDisabled_shouldDenyReadAndInvokeForCustomerAdminOnly() throws Exception { // GIVEN loginTenantAdmin(); var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); // WHEN / THEN assertThat(model.isCustomerAccessEnabled()).isFalse(); + assertThat(hasAiModelPermission(model, "READ")).isTrue(); assertThat(hasAiModelPermission(model, "INVOKE")).isTrue(); loginCustomerAdminUser(); + assertThat(hasAiModelPermission(model, "READ")).isFalse(); assertThat(hasAiModelPermission(model, "INVOKE")).isFalse(); } @Test - public void aiModelPermission_whenCustomerUserGrantedReadOnAllResources_shouldDenyReadAndInvoke() throws Exception { + public void aiModelPermission_whenReadOnlyCustomerUser_shouldAllowReadOnly() throws Exception { // GIVEN loginTenantAdmin(); - var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + var model = saveModelWithBlockedBaseUrl(); + loginReadOnlyCustomerUser(); + + // WHEN / THEN + assertThat(hasAiModelPermission(model, "READ")).isTrue(); + assertThat(hasAiModelPermission(model, "INVOKE")).isFalse(); + } + + @Test + public void aiModelPermission_whenCustomerUserHasNoRole_shouldDenyReadAndInvoke() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelWithBlockedBaseUrl(); loginCustomerUser(); // WHEN / THEN @@ -671,7 +705,7 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void getAiModelInfos_whenCustomerUserWithoutInvokePermission_shouldReturnForbidden() throws Exception { + public void getAiModelInfos_whenCustomerUserHasNoRole_shouldReturnForbidden() throws Exception { // GIVEN loginCustomerUser(); @@ -682,6 +716,21 @@ public class AiModelControllerTest extends AbstractControllerTest { result.andExpect(status().isForbidden()); } + @Test + public void getAiModelInfos_whenReadOnlyCustomerUser_shouldReturnCustomerAccessibleInfos() throws Exception { + // GIVEN + loginTenantAdmin(); + var accessible = saveModelWithBlockedBaseUrl("Accessible model", true); + saveModelWithBlockedBaseUrl("Not accessible model", false); + loginReadOnlyCustomerUser(); + + // WHEN + PageData infos = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, new PageLink(10)); + + // THEN + assertThat(infos.getData()).containsExactly(new AiModelInfo(accessible)); + } + @Test public void getAiModelInfos_whenTenantAdmin_shouldReturnInfosFilteredByCustomerAccessEnabled() throws Exception { // GIVEN @@ -742,6 +791,64 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(searchByModelId.getData()).containsExactly(new AiModelInfo(anthropicModel)); } + /** + * The infos query mirrors the filter, search and sort rules of the full models query in a separate repository, + * so both endpoints must return the same models in the same order for the same parameters. + */ + @Test + public void getAiModelInfos_shouldMatchGetAiModelsForSameFilterSearchAndSort() throws Exception { + // GIVEN + loginTenantAdmin(); + + doPost("/api/ai/model", AiModel.builder() + .tenantId(tenantId) + .name("Support assistant") + .configuration(AnthropicChatModelConfig.builder() + .providerConfig(new AnthropicProviderConfig("test-api-key")) + .modelId("claude-sonnet-4-0") + .build()) + .customerAccessEnabled(true) + .build(), AiModel.class); + doPost("/api/ai/model", AiModel.builder() + .tenantId(tenantId) + .name("Internal analytics") + .configuration(GoogleAiGeminiChatModelConfig.builder() + .providerConfig(new GoogleAiGeminiProviderConfig("test-api-key")) + .modelId("gemini-2.5-pro") + .build()) + .build(), AiModel.class); + var openAiModel = constructValidOpenAiModel("Report assistant"); + openAiModel.setCustomerAccessEnabled(true); + doPost("/api/ai/model", openAiModel, AiModel.class); + + List filters = List.of("", "customerAccessEnabled=true&", "customerAccessEnabled=false&"); + List searches = Arrays.asList(null, "assistant", "google ai", "sonnet"); + List sortOrders = Arrays.asList(null, + SortOrder.of("createdTime", SortOrder.Direction.DESC), + SortOrder.of("name", SortOrder.Direction.ASC), + SortOrder.of("provider", SortOrder.Direction.DESC), + SortOrder.of("modelId", SortOrder.Direction.ASC)); + + for (String filter : filters) { + for (String search : searches) { + for (SortOrder sortOrder : sortOrders) { + var pageLink = new PageLink(10, 0, search, sortOrder); + + // WHEN + PageData models = doGetTypedWithPageLink("/api/ai/model?" + filter, new TypeReference<>() {}, pageLink); + PageData infos = doGetTypedWithPageLink("/api/ai/model/infos?" + filter, new TypeReference<>() {}, pageLink); + + // THEN + assertThat(infos.getData()) + .as("filter '%s', search '%s', sort %s", filter, search, sortOrder) + .extracting(AiModelInfo::getId) + .containsExactlyElementsOf(models.getData().stream().map(AiModel::getId).toList()); + assertThat(infos.getTotalElements()).isEqualTo(models.getTotalElements()); + } + } + } + } + @Test public void getAiModelInfos_whenCustomerAdmin_shouldReturnOnlyCustomerAccessibleInfosWithoutConfiguration() throws Exception { // GIVEN @@ -1052,6 +1159,19 @@ public class AiModelControllerTest extends AbstractControllerTest { return new TbChatRequest(null, new TbUserMessage(List.of(new TbContent.TbTextContent("hi"))), null); } + // The default Customer User role, which grants read-only operations on all resources + private void loginReadOnlyCustomerUser() throws Exception { + loginTenantAdmin(); + User user = new User(); + user.setAuthority(Authority.CUSTOMER_USER); + user.setTenantId(tenantId); + user.setCustomerId(customerId); + user.setEmail("read-only-customer@thingsboard.org"); + EntityGroupInfo customerUsers = findGroupByOwnerIdTypeAndName(customerId, EntityType.USER, EntityGroup.GROUP_CUSTOMER_USERS_NAME); + createUser(user, "customer", customerUsers.getId()); + login(user.getEmail(), "customer"); + } + private boolean hasAiModelPermission(AiModel model, String operation) throws Exception { return doGet("/api/permission/AI_MODEL/" + model.getId() + "/" + operation, Boolean.class); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java index d69f97d11c..8d6970440e 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java @@ -1086,6 +1086,8 @@ public class ModelConstants { public static final String AI_MODEL_NAME_COLUMN_NAME = NAME_PROPERTY; public static final String AI_MODEL_CONFIGURATION_COLUMN_NAME = "configuration"; public static final String AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME = "customer_access_enabled"; + public static final String AI_MODEL_PROVIDER_EXPRESSION = "(" + AI_MODEL_CONFIGURATION_COLUMN_NAME + " ->> 'provider')"; + public static final String AI_MODEL_MODEL_ID_EXPRESSION = "(" + AI_MODEL_CONFIGURATION_COLUMN_NAME + " ->> 'modelId')"; /** * Api Key constants. diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java index 8393fdc485..e509ec8b6e 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java @@ -36,8 +36,8 @@ public class AiModelEntity extends BaseVersionedEntity { public static final Map COLUMN_MAP = Map.of( "createdTime", "created_time", - "provider", "(configuration ->> 'provider')", - "modelId", "(configuration ->> 'modelId')" + "provider", ModelConstants.AI_MODEL_PROVIDER_EXPRESSION, + "modelId", ModelConstants.AI_MODEL_MODEL_ID_EXPRESSION ); public static final Set ALLOWED_SORT_PROPERTIES = Collections.unmodifiableSet( diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java index 447e9ab38e..c14a3c8121 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java @@ -35,10 +35,10 @@ public class AiModelInfoEntity extends BaseVersionedEntity { @Column(name = ModelConstants.AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME) private boolean customerAccessEnabled; - @Formula("configuration ->> 'provider'") + @Formula(ModelConstants.AI_MODEL_PROVIDER_EXPRESSION) private String provider; - @Formula("configuration ->> 'modelId'") + @Formula(ModelConstants.AI_MODEL_MODEL_ID_EXPRESSION) private String modelId; public AiModelInfoEntity() {} diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java index b033d13d42..551cf34108 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java @@ -19,33 +19,25 @@ import java.util.Optional; import java.util.Set; import java.util.UUID; +import static org.thingsboard.server.dao.model.ModelConstants.AI_MODEL_MODEL_ID_EXPRESSION; +import static org.thingsboard.server.dao.model.ModelConstants.AI_MODEL_PROVIDER_EXPRESSION; + interface AiModelRepository extends JpaRepository, ExportableEntityRepository { + String FIND_BY_TENANT_ID_WHERE = " WHERE model.tenant_id = :tenantId" + + " AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN))" + + " AND (:textSearch IS NULL" + + " OR model.name ILIKE '%' || :textSearch || '%'" + + " OR REPLACE(" + AI_MODEL_PROVIDER_EXPRESSION + ", '_', ' ') ILIKE '%' || :textSearch || '%'" + + " OR " + AI_MODEL_MODEL_ID_EXPRESSION + " ILIKE '%' || :textSearch || '%')"; + Optional findByTenantIdAndId(UUID tenantId, UUID id); Optional findByTenantIdAndName(UUID tenantId, String name); @Query( - value = """ - SELECT * - FROM ai_model model - WHERE model.tenant_id = :tenantId - AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN)) - AND (:textSearch IS NULL - OR model.name ILIKE '%' || :textSearch || '%' - OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' - OR model.configuration ->> 'modelId' ILIKE '%' || :textSearch || '%') - """, - countQuery = """ - SELECT COUNT(*) - FROM ai_model model - WHERE model.tenant_id = :tenantId - AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN)) - AND (:textSearch IS NULL - OR model.name ILIKE '%' || :textSearch || '%' - OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' - OR (model.configuration ->> 'modelId') ILIKE '%' || :textSearch || '%') - """, + value = "SELECT * FROM ai_model model" + FIND_BY_TENANT_ID_WHERE, + countQuery = "SELECT COUNT(*) FROM ai_model model" + FIND_BY_TENANT_ID_WHERE, nativeQuery = true ) Page findByTenantId(@Param("tenantId") UUID tenantId, From d45f8e020ddc92467124eb43d324ee8fcf92f9b6 Mon Sep 17 00:00:00 2001 From: Luka M <50453817+luka-medic@users.noreply.github.com> Date: Wed, 28 Oct 2026 15:47:57 +0100 Subject: [PATCH 338/559] Complete the Slovenian (sl_SI) UI translation (#16411) * Complete the Slovenian (sl_SI) UI translation Translate every en_US key on lts-4.3 (9,955) with consistent terminology, remove the 21 keys that no longer exist in en_US, and keep the en_US key order and line format. Placeholders, HTML tags and ICU plural structures are unchanged; plurals use the Slovenian one/two/few/other categories. Refs #16410 * Use simpler Slovenian terms for the administrator roles --- .../assets/locale/locale.constant-sl_SI.json | 13057 +++++++++++++--- 1 file changed, 10663 insertions(+), 2394 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json index 7b3b1fb197..c6b260636d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json +++ b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json @@ -1,2394 +1,10663 @@ -{ - "access": { - "unauthorized": "Nepooblaščeno", - "unauthorized-access": "Nepooblaščen dostop", - "unauthorized-access-text": "Za dostop do tega vira se morate prijaviti!", - "access-forbidden": "Dostop prepovedan", - "access-forbidden-text": "Nimate pravic dostopa do te lokacije!
    Poskusite se prijaviti z drugim uporabnikom, če še vedno želite dostopati do te lokacije.", - "refresh-token-expired": "Seja je potekla", - "refresh-token-failed": "Seje ni mogoče osvežiti", - "permission-denied": "Dovoljenje zavrnjeno", - "permission-denied-text": "Nimate dovoljenja za izvedbo tega dejanja!" - }, - "action": { - "activate": "Aktiviraj", - "suspend": "Začasno ustavi", - "save": "Shrani", - "saveAs": "Shrani kot", - "cancel": "Prekliči", - "ok": "V redu", - "delete": "Izbriši", - "add": "Dodaj", - "yes": "Da", - "no": "Ne", - "update": "Nadgradnja", - "remove": "Odstrani", - "select": "Izberi", - "search": "Iskanje", - "clear-search": "Počisti iskanje", - "assign": "Dodeli", - "unassign": "Preklic dodelitve", - "share": "Deliti", - "make-private": "Naj bo zasebno", - "apply": "Uporabi", - "apply-changes": "Uporabi spremembe", - "edit-mode": "Način urejanja", - "enter-edit-mode": "Vstopi v način urejanja", - "decline-changes": "Zavrni spremembe", - "close": "Zapri", - "back": "Nazaj", - "run": "Zaženi", - "sign-in": "Prijavite se!", - "edit": "Uredi", - "view": "Pogled", - "create": "Ustvari", - "drag": "Povleci", - "refresh": "Osveži", - "undo": "Razveljavi", - "copy": "Kopiraj", - "paste": "Prilepi", - "copy-reference": "Kopiraj sklic", - "paste-reference": "Prilepi sklic", - "import": "Uvozi", - "export": "Izvozi", - "share-via": "Deli prek {{provider}}", - "continue": "Nadaljuj", - "discard-changes": "Zavrzi spremembe", - "download": "Prenesi", - "next-with-label": "Naslednji: {{label}}", - "read-more": "Preberi več", - "hide": "Skrij", - "done": "Končano" - }, - "aggregation": { - "aggregation": "Združevanje", - "function": "Funkcija združevanja podatkov", - "limit": "Največje vrednosti", - "group-interval": "Interval združevanja", - "min": "Min", - "max": "Max", - "avg": "Povprečje", - "sum": "Vsota", - "count": "Štetje", - "none": "Brez" - }, - "admin": { - "general": "Splošno", - "general-settings": "Splošne nastavitve", - "outgoing-mail": "Poštni strežnik", - "outgoing-mail-settings": "Nastavitve strežnika odhodne pošte", - "system-settings": "Sistemske nastavitve", - "test-mail-sent": "Testna pošta je bila uspešno poslana!", - "base-url": "Osnovni URL", - "base-url-required": "Zahtevan je osnovni URL.", - "prohibit-different-url": "Prohibit to use hostname from the client request headers", - "prohibit-different-url-hint": "This setting should be enabled for production environments. May cause security issues when disabled", - "mail-from": "Pošta od", - "mail-from-required": "Zahtevana je pošta od.", - "smtp-protocol": "Protokol SMTP", - "smtp-host": "SMTP gostitelj", - "smtp-host-required": "Zahtevan je gostitelj SMTP.", - "smtp-port": "Vrata SMTP", - "smtp-port-required": "Navesti morate vrata SMTP.", - "smtp-port-invalid": "To ne izgleda kot veljavna vrata SMTP.", - "timeout-msec": "Časovna omejitev (msec)", - "timeout-required": "Časovna omejitev je potrebna.", - "timeout-invalid": "To ne izgleda kot veljavna časovna omejitev.", - "enable-tls": "Omogoči TLS", - "tls-version": "Različica TLS", - "enable-proxy": "Omogoči proxy", - "proxy-host": "Gostitelj proxy", - "proxy-host-required": "Zahtevan je strežnik proxy.", - "proxy-port": "Proxy vrata", - "proxy-port-required": "Vrata proxy so potrebna.", - "proxy-port-range": "Vrata proxy naj bodo v območju od 1 do 65535.", - "proxy-user": "Uporabnik proxy", - "proxy-password": "Geslo proxy", - "send-test-mail": "Pošlji testno pošto", - "sms-provider": "SMS provider", - "sms-provider-settings": "SMS provider settings", - "sms-provider-type": "SMS provider type", - "sms-provider-type-required": "SMS provider type is required.", - "sms-provider-type-aws-sns": "Amazon SNS", - "sms-provider-type-twilio": "Twilio", - "aws-access-key-id": "AWS Access Key ID", - "aws-access-key-id-required": "AWS Access Key ID is required", - "aws-secret-access-key": "AWS Secret Access Key", - "aws-secret-access-key-required": "AWS Secret Access Key is required", - "aws-region": "AWS Region", - "aws-region-required": "AWS Region is required", - "number-from": "Phone Number From", - "number-from-required": "Phone Number From is required.", - "number-to": "Phone Number To", - "number-to-required": "Phone Number To is required.", - "phone-number-hint": "Phone Number in E.164 format, ex. +19995550123", - "phone-number-pattern": "Invalid phone number. Should be in E.164 format, ex. +19995550123.", - "sms-message": "SMS message", - "sms-message-required": "SMS message is required.", - "sms-message-max-length": "SMS message can't be longer 1600 characters", - "twilio-account-sid": "Twilio Account SID", - "twilio-account-sid-required": "Twilio Account SID is required", - "twilio-account-token": "Twilio Account Token", - "twilio-account-token-required": "Twilio Account Token is required", - "send-test-sms": "Send test SMS", - "test-sms-sent": "Test SMS was successfully sent!", - "security-settings": "Varnostne nastavitve", - "password-policy": "Pravilnik o geslih", - "minimum-password-length": "Najkrajša dolžina gesla", - "minimum-password-length-required": "Zahtevana je najkrajša dolžina gesla", - "minimum-password-length-range": "Minimalna dolžina gesla naj bo v območju od 5 do 50", - "minimum-uppercase-letters": "Najmanjše število velikih črk", - "minimum-uppercase-letters-range": "Najmanjše število velikih črk ne sme biti negativno", - "minimum-lowercase-letters": "Najmanjše število malih črk", - "minimum-lowercase-letters-range": "Najmanjše število malih črk ne sme biti negativno", - "minimum-digits": "Najmanjše število številk", - "minimum-digits-range": "Najmanjše število številk ne sme biti negativno", - "minimum-special-characters": "Najmanjše število posebnih znakov", - "minimum-special-characters-range": "Najmanjše število posebnih znakov ne sme biti negativno", - "password-expiration-period-days": "Obdobje veljavnosti gesla v dneh", - "password-expiration-period-days-range": "Obdobje veljavnosti gesla v dneh ne sme biti negativno", - "password-reuse-frequency-days": "Pogostost ponovne uporabe gesla v dneh", - "password-reuse-frequency-days-range": "Pogostost ponovne uporabe gesla v dneh ne sme biti negativna", - "general-policy": "Splošna politika", - "max-failed-login-attempts": "Največje število neuspelih poskusov prijave, preden se račun zaklene", - "minimum-max-failed-login-attempts-range": "Največje število neuspelih poskusov prijave ne sme biti negativno", - "user-lockout-notification-email": "V primeru zaklepa uporabniškega računa, pošlji obvestilo na e-pošto", - "domain-name": "Domain name", - "domain-name-unique": "Domain name and protocol need to unique.", - "error-verification-url": "A domain name shouldn't contain symbols '/' and ':'. Example: thingsboard.io", - "oauth2": { - "access-token-uri": "Access token URI", - "access-token-uri-required": "Access token URI is required.", - "activate-user": "Activate user", - "add-domain": "Add domain", - "delete-domain": "Delete domain", - "add-provider": "Add provider", - "delete-provider": "Delete provider", - "allow-user-creation": "Allow user creation", - "always-fullscreen": "Always fullscreen", - "authorization-uri": "Authorization URI", - "authorization-uri-required": "Authorization URI is required.", - "client-authentication-method": "Client authentication method", - "client-id": "Client ID", - "client-id-required": "Client ID is required.", - "client-secret": "Client secret", - "client-secret-required": "Client secret is required.", - "custom-setting": "Custom settings", - "customer-name-pattern": "Customer name pattern", - "default-dashboard-name": "Default dashboard name", - "delete-domain-text": "Be careful, after the confirmation a domain and all provider data will be unavailable.", - "delete-domain-title": "Are you sure you want to delete settings the domain '{{domainName}}'?", - "delete-registration-text": "Be careful, after the confirmation a provider data will be unavailable.", - "delete-registration-title": "Are you sure you want to delete the provider '{{name}}'?", - "email-attribute-key": "Email attribute key", - "email-attribute-key-required": "Email attribute key is required.", - "first-name-attribute-key": "First name attribute key", - "general": "General", - "jwk-set-uri": "JSON Web Key URI", - "last-name-attribute-key": "Last name attribute key", - "login-button-icon": "Login button icon", - "login-button-label": "Provider label", - "login-button-label-placeholder": "Login with $(Provider label)", - "login-button-label-required": "Label is required.", - "login-provider": "Login provider", - "mapper": "Mapper", - "new-domain": "New domain", - "oauth2": "OAuth2", - "redirect-uri-template": "Redirect URI template", - "copy-redirect-uri": "Copy redirect URI", - "registration-id": "Registration ID", - "registration-id-required": "Registration ID is required.", - "registration-id-unique": "Registration ID need to unique for the system.", - "scope": "Scope", - "scope-required": "Scope is required.", - "tenant-name-pattern": "Tenant name pattern", - "tenant-name-pattern-required": "Tenant name pattern is required.", - "tenant-name-strategy": "Tenant name strategy", - "type": "Mapper type", - "uri-pattern-error": "Invalid URI format.", - "url": "URL", - "url-pattern": "Invalid URL format.", - "url-required": "URL is required.", - "user-info-uri": "User info URI", - "user-info-uri-required": "User info URI is required.", - "user-name-attribute-name": "User name attribute key", - "user-name-attribute-name-required": "User name attribute key is required", - "protocol": "Protocol", - "domain-schema-http": "HTTP", - "domain-schema-https": "HTTPS", - "domain-schema-mixed": "HTTP+HTTPS", - "enable": "Enable OAuth2 settings" - } - }, - "alarm": { - "alarm": "Alarm", - "alarms": "Alarmi", - "select-alarm": "Izberi alarm", - "no-alarms-matching": "Najdeni niso bili nobeni alarmi, ki se ujemajo z '{{entity}}'.", - "alarm-required": "Potreben je alarm", - "alarm-status": "Stanje alarma", - "alarm-status-list": "Seznam stanja alarma", - "any-status": "Kateri koli status", - "search-status": { - "ANY": "Katerikoli", - "ACTIVE": "Aktivno", - "CLEARED": "Počiščeno", - "ACK": "Potrjeno", - "UNACK": "Nepriznano" - }, - "display-status": { - "ACTIVE_UNACK": "Aktivno nepriznano", - "ACTIVE_ACK": "Aktivno potrjeno", - "CLEARED_UNACK": "Počiščeno nepriznano", - "CLEARED_ACK": "Počiščeno potrjeno" - }, - "no-alarms-prompt": "Ni najdenih alarmov", - "created-time": "Ustvarjeni čas", - "type": "Vrsta", - "severity": "Resnost", - "originator": "Izvirnik", - "originator-type": "Vrsta izvirnika", - "details": "Podrobnosti", - "status": "Stanje", - "alarm-details": "Podrobnosti alarma", - "start-time": "Začetni čas", - "end-time": "Končni čas", - "ack-time": "Priznani čas", - "clear-time": "Očiščen čas", - "alarm-severity-list": "Seznam resnosti alarma", - "any-severity": "Katerakoli resnost", - "severity-critical": "Kritična", - "severity-major": "Visoka", - "severity-minor": "Nizka", - "severity-warning": "Opozorilo", - "severity-indeterminate": "Nedoločeno", - "acknowledge": "Potrdi", - "clear": "Počisti", - "search": "Iskanje alarmov", - "selected-alarms": "{ count, plural, =1 {1 alarm} other {# alarms} } izbran", - "no-data": "Ni podatkov za prikaz", - "polling-interval": "Interval iskanja alarmov (s)", - "polling-interval-required": "Zahtevan je interval glasovanja alarmov.", - "min-polling-interval-message": "Dovoljen je vsaj 1-sekundni interval glasovanja.", - "aknowledge-alarms-title": "Potrdite { count, plural, =1 {1 alarm} other {# alarms} }", - "aknowledge-alarms-text": "Ali ste prepričani, da želite potrditi { count, plural, =1 {1 alarm} other {# alarms} }?", - "aknowledge-alarm-title": "Potrdite alarm", - "aknowledge-alarm-text": "Ali ste prepričani, da želite potrditi alarm?", - "clear-alarms-title": "Počisti { count, plural, =1 {1 alarm} other {# alarmi} }", - "clear-alarms-text": "Ali ste prepričani, da želite počistiti { count, plural, =1 {1 alarm} other {# alarme} }?", - "clear-alarm-title": "Počisti alarm", - "clear-alarm-text": "Ali ste prepričani, da želite počistiti alarm?", - "alarm-status-filter": "Filter stanja alarma", - "alarm-filter": "Alarmni filter", - "max-count-load": "Največje število naloženih alarmov (0 - neomejeno)", - "max-count-load-required": "Zahtevano je največje število alarmov za nalaganje.", - "max-count-load-error-min": "Najmanjša vrednost je 0.", - "fetch-size": "Velikost prenosa", - "fetch-size-required": "Zahtevana je velikost prenosa.", - "fetch-size-error-min": "Najmanjša vrednost je 10.", - "alarm-type-list": "Seznam vrst alarmov", - "any-type": "Katerakoli vrsta", - "search-propagated-alarms": "Iskanje razširjenih alarmov" - }, - "alias": { - "add": "Dodaj vzdevek", - "edit": "Uredi vzdevek", - "name": "Ime vzdevka", - "name-required": "Ime vzdevka je obvezno", - "duplicate-alias": "Vzdevek z istim imenom že obstaja.", - "filter-type-single-entity": "Enota", - "filter-type-entity-list": "Seznam entitet", - "filter-type-entity-name": "Ime entitete", - "filter-type-state-entity": "Subjekt iz stanja nadzorne plošče", - "filter-type-state-entity-description": "Entiteta, vzeta iz parametrov stanja nadzorne plošče", - "filter-type-asset-type": "Vrsta sredstva", - "filter-type-asset-type-description": "Sredstva vrste '{{assetTypes}}'", - "filter-type-asset-type-and-name-description": "Sredstva vrste '{{assetTypes}}' in z imenom, ki se začne z '{{prefix}}'", - "filter-type-device-type": "Vrsta naprave", - "filter-type-device-type-description": "Naprave tipa '{{deviceTypes}}'", - "filter-type-device-type-and-name-description": "Naprave vrste '{{deviceTypes}}' in z imenom, ki se začne z '{{prefix}}'", - "filter-type-entity-view-type": "Vrsta pogleda entitete", - "filter-type-entity-view-type-description": "Pogledi entitet vrste '{{entityViewTypes}}'", - "filter-type-entity-view-type-and-name-description": "Pogledi entitet vrste '{{entityViewTypes}}' in z imenom, ki se začne z '{{prefix}}'", - "filter-type-relations-query": "Poizvedba odnosov", - "filter-type-relations-query-description": "{{entities}}, ki imajo {{relationType}} relacijo {{direction}} {{rootEntity}}", - "filter-type-asset-search-query": "Iskalna poizvedba sredstva", - "filter-type-asset-search-query-description": "Sredstva s tipi {{assetTypes}}, ki imajo {{relationType}} relacijo {{direction}} {{rootEntity}}", - "filter-type-device-search-query": "Iskalna poizvedba naprave", - "filter-type-device-search-query-description": "Naprave s tipi {{deviceTypes}}, ki imajo {{relationType}} relacijo {{direction}} {{rootEntity}}", - "filter-type-entity-view-search-query": "Iskalna poizvedba pogleda entitete", - "filter-type-entity-view-search-query-description": "Pogledi entitet s tipi {{entityViewTypes}}, ki imajo {{relationType}} relacijo {{direction}} {{rootEntity}}", - "filter-type-apiUsageState": "Api Usage State", - "entity-filter": "Filter entitet", - "resolve-multiple": "Reši kot več entitet", - "filter-type": "Vrsta filtra", - "filter-type-required": "Zahtevana je vrsta filtra.", - "entity-filter-no-entity-matched": "Najdenih ni nobenih entitet, ki se ujemajo z navedenim filtrom.", - "no-entity-filter-specified": "Ni določen noben filter entitete", - "root-state-entity": "Uporabi entiteto stanja na nadzorni plošči kot izvorno", - "last-level-relation": "Pridobi samo razmerje na zadnji ravni", - "root-entity": "Izvorna entiteta", - "state-entity-parameter-name": "Ime parametra državne entitete", - "default-state-entity": "Privzeta državna entiteta", - "default-entity-parameter-name": "Privzeto", - "max-relation-level": "Najvišja stopnja relacije", - "unlimited-level": "Neomejena raven", - "state-entity": "Entiteta stanja nadzorne plošče", - "all-entities": "Vsi subjekti", - "any-relation": "katerikoli" - }, - "asset": { - "asset": "Sredstvo", - "assets": "Sredstva", - "management": "Upravljanje sredstev", - "view-assets": "Ogled sredstev", - "add": "Dodaj sredstvo", - "assign-to-customer": "Dodeli stranki", - "assign-asset-to-customer": "Dodeli sredstva stranki", - "assign-asset-to-customer-text": "Izberite sredstva, ki jih želite dodeliti stranki", - "no-assets-text": "Sredstva ni bilo mogoče najti", - "assign-to-customer-text": "Izberite stranko, ki bo dodelila sredstvo (-a)", - "public": "Javno", - "assignedToCustomer": "Dodeljeno stranki", - "make-public": "Naj bo sredstvo javno", - "make-private": "Naj bo sredstvo zasebno", - "unassign-from-customer": "Odjavi od stranke", - "delete": "Izbriši sredstvo", - "asset-public": "Sredstvo je javno", - "asset-type": "Vrsta sredstva", - "asset-type-required": "Zahtevana je vrsta sredstva.", - "select-asset-type": "Izberite vrsto sredstva", - "enter-asset-type": "Vnesite vrsto sredstva", - "any-asset": "Katerokoli sredstvo", - "no-asset-types-matching": "Najdena ni bila nobena vrsta sredstva, ki se ujema z '{{entitySubtype}}'.", - "asset-type-list-empty": "Izbrana ni nobena vrsta sredstva.", - "asset-types": "Vrste sredstev", - "name": "Ime", - "name-required": "Ime je obvezno.", - "description": "Opis", - "type": "Vrsta", - "type-required": "Tip je obvezen.", - "details": "Podrobnosti", - "events": "Dogodki", - "add-asset-text": "Dodaj novo sredstvo", - "asset-details": "Podrobnosti o sredstvih", - "assign-assets": "Dodelitev sredstev", - "assign-assets-text": "Stranki dodeli { count, plural, =1 {1 sredstvo} other {# assets} }", - "delete-assets": "Izbriši sredstva", - "unassign-assets": "Preklic dodelitve sredstev", - "unassign-assets-action-title": "Stranki ne dodeli { count, plural, =1 {1 sredstvo} other {# assets} }", - "assign-new-asset": "Dodeli novo sredstvo", - "delete-asset-title": "Ali ste prepričani, da želite izbrisati sredstvo '{{assetName}}'?", - "delete-asset-text": "Bodite previdni, po potrditvi bo sredstvo in vsi povezani podatki nepopravljivi.", - "delete-assets-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 sredstvo} other {# assets} }?", - "delete-assets-action-title": "Izbriši { count, plural, =1 {1 sredstvo} other {# assets} }", - "delete-assets-text": "Bodite previdni, po potrditvi bodo vsa izbrana sredstva odstranjena in vsi povezani podatki bodo postali nepopravljivi.", - "make-public-asset-title": "Ali ste prepričani, da želite sredstvo '{{assetName}}' objaviti kot javno?", - "make-public-asset-text": "Po potrditvi bodo sredstvo in vsi njegovi podatki javno dostopni in dostopni drugim.", - "make-private-asset-title": "Ali ste prepričani, da želite sredstvo '{{assetName}}' narediti zasebno?", - "make-private-asset-text": "Po potrditvi bodo sredstvo in vsi njegovi podatki postali zasebni in ne bodo dostopni drugim.", - "unassign-asset-title": "Ali ste prepričani, da želite dodeliti sredstvo '{{assetName}}'?", - "unassign-asset-text": "Po potrditvi sredstvo ne bo dodeljeno in stranka ne bo dostopna.", - "unassign-asset": "Preklic dodelitve sredstva", - "unassign-assets-title": "Ali ste prepričani, da želite odpovedati { count, plural, =1 {1 asset} other {# assets} }?", - "unassign-assets-text": "Po potrditvi vsa izbrana sredstva ne bodo dodeljena in stranka ne bo dostopna do njih.", - "copyId": "Kopiraj ID sredstva", - "idCopiedMessage": "ID sredstva je kopiran v odložišče", - "select-asset": "Izberi sredstvo", - "no-assets-matching": "Nobeno sredstvo, ki se ujema z '{{entity}}', ni bilo mogoče najti.", - "asset-required": "Zahtevano je sredstvo", - "name-starts-with": "Ime sredstva se začne z", - "import": "Uvozi sredstva", - "asset-file": "Datoteka sredstva", - "search": "Išči sredstva", - "selected-assets": "{ count, plural, =1 {1 asset} other {# assets} } izbrano", - "label": "Oznaka" - }, - "attribute": { - "attributes": "Lastnosti", - "latest-telemetry": "Najnovejša telemetrija", - "attributes-scope": "Obseg atributov entitete", - "scope-telemetry": "Telemetrija", - "scope-latest-telemetry": "Najnovejša telemetrija", - "scope-client": "Atributi odjemalca", - "scope-server": "Atributi strežnika", - "scope-shared": "Skupni atributi", - "add": "Dodaj atribut", - "key": "Ključ", - "last-update-time": "Čas zadnje posodobitve", - "key-required": "Potreben je ključ atributa.", - "value": "Vrednost", - "value-required": "Vrednost atributa je obvezna.", - "delete-attributes-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 attribute} other {# attributes} }?", - "delete-attributes-text": "Bodite previdni, po potrditvi bodo odstranjeni vsi izbrani atributi.", - "delete-attributes": "Izbriši atribute", - "enter-attribute-value": "Vnesite vrednost atributa", - "show-on-widget": "Pokaži na pripomočku", - "widget-mode": "Način pripomočka", - "next-widget": "Naslednji pripomoček", - "prev-widget": "Prejšnji pripomoček", - "add-to-dashboard": "Dodaj na nadzorno ploščo", - "add-widget-to-dashboard": "Dodaj pripomoček na nadzorno ploščo", - "selected-attributes": "{ count, plural, =1 {1 attribute} other {# attributes} } izbrano", - "selected-telemetry": "{ count, plural, =1 {1 telemetry unit} other {# telemetry units} } izbran", - "no-attributes-text": "Ni najdenih atributov", - "no-telemetry-text": "Telemetrija ni najdena" - }, - "api-usage": { - "api-usage": "Api Usage", - "data-points": "Data points", - "data-points-storage-days": "Data points storage days", - "email": "Email", - "email-messages": "Email messages", - "email-messages-daily-activity": "Email messages daily activity", - "email-messages-hourly-activity": "Email messages hourly activity", - "email-messages-monthly-activity": "Email messages monthly activity", - "exceptions": "Exceptions", - "executions": "Executions", - "javascript": "JavaScript", - "javascript-executions": "JavaScript executions", - "latest-error": "Latest Error", - "messages": "Messages", - "permanent-failures": "${entityName} Permanent Failures", - "permanent-timeouts": "${entityName} Permanent Timeouts", - "processing-failures": "${entityName} Processing Failures", - "processing-failures-and-timeouts": "Processing Failures and Timeouts", - "processing-timeouts": "${entityName} Processing Timeouts", - "queue-stats": "Queue Stats", - "rule-chain": "Rule Chain", - "rule-engine": "Rule Engine", - "rule-engine-daily-activity": "Rule Engine daily activity", - "rule-engine-executions": "Rule Engine executions", - "rule-engine-hourly-activity": "Rule Engine hourly activity", - "rule-engine-monthly-activity": "Rule Engine monthly activity", - "rule-engine-statistics": "Rule Engine Statistics", - "rule-node": "Rule Node", - "sms": "SMS", - "sms-messages": "SMS messages", - "sms-messages-daily-activity": "SMS messages daily activity", - "sms-messages-hourly-activity": "SMS messages hourly activity", - "sms-messages-monthly-activity": "SMS messages monthly activity", - "successful": "${entityName} Successful", - "telemetry": "Telemetry", - "telemetry-persistence": "Telemetry persistence", - "telemetry-persistence-daily-activity": "Telemetry persistence daily activity", - "telemetry-persistence-hourly-activity": "Telemetry persistence hourly activity", - "telemetry-persistence-monthly-activity": "Telemetry persistence monthly activity", - "transport": "Transport", - "transport-daily-activity": "Transport daily activity", - "transport-data-points": "Transport data points", - "transport-hourly-activity": "Transport hourly activity", - "transport-messages": "Transport messages", - "transport-monthly-activity": "Transport monthly activity", - "view-details": "View details", - "view-statistics": "View statistics" - }, - "audit-log": { - "audit": "Revizija", - "audit-logs": "Revizijski dnevniki", - "timestamp": "Časovni žig", - "entity-type": "Vrsta entitete", - "entity-name": "Ime entitete", - "user": "Uporabnik", - "type": "Vrsta", - "status": "Stanje", - "details": "Podrobnosti", - "type-added": "Dodano", - "type-deleted": "Izbrisano", - "type-updated": "Posodobljeno", - "type-attributes-updated": "Atributi posodobljeni", - "type-attributes-deleted": "Atributi izbrisani", - "type-rpc-call": "Klic RPC", - "type-credentials-updated": "Poverilnice posodobljene", - "type-assigned-to-customer": "Dodeljeno kupcu", - "type-unassigned-from-customer": "Odstop od stranke", - "type-activated": "Aktivirano", - "type-suspended": "Suspendirano", - "type-credentials-read": "Poverilnice prebrane", - "type-attributes-read": "Atributi prebrani", - "type-relation-add-or-update": "Razmerje posodobljeno", - "type-relation-delete": "Razmerje izbrisano", - "type-relations-delete": "Vse povezave izbrisane", - "type-alarm-ack": "Potrjeno", - "type-alarm-clear": "Počiščeno", - "type-login": "Vpiši se", - "type-logout": "Odjava", - "type-lockout": "Izključitev", - "status-success": "Uspeh", - "status-failure": "Neuspeh", - "audit-log-details": "Podrobnosti dnevnika revizije", - "no-audit-logs-prompt": "Ni najdenih dnevnikov", - "action-data": "Podatki o dejanju", - "failure-details": "Podrobnosti o napaki", - "search": "Išči dnevnike revizije", - "clear-search": "Počisti iskanje", - "type-assigned-from-tenant": "Dodeljeno od najemnika", - "type-assigned-to-tenant": "Dodeljeno najemniku", - "type-provision-success": "Device provisioned", - "type-provision-failure": "Device provisioning was failed" - }, - "confirm-on-exit": { - "message": "Imate neshranjene spremembe. Ali ste prepričani, da želite zapustiti to stran?", - "html-message": "Imate neshranjene spremembe.
    Ali ste prepričani, da želite zapustiti to stran?", - "title": "Neshranjene spremembe" - }, - "contact": { - "country": "Država", - "city": "Mesto", - "state": "Država / Regija", - "postal-code": "Poštna številka", - "postal-code-invalid": "Neveljavna oblika poštne številke.", - "address": "Naslov", - "address2": "Naslov 2", - "phone": "Telefon", - "email": "E-naslov", - "no-address": "Brez naslova" - }, - "common": { - "username": "Uporabniško ime", - "password": "Geslo", - "enter-username": "Vnesite uporabniško ime", - "enter-password": "Vnesite geslo", - "enter-search": "Vnesite iskanje", - "created-time": "Ustvarjeni čas", - "loading": "Nalaganje..." - }, - "content-type": { - "json": "Json", - "text": "Besedilo", - "binary": "Binarni (Base64)" - }, - "customer": { - "customer": "Stranka", - "customers": "Stranke", - "management": "Upravljanje strank", - "dashboard": "Nadzorna plošča stranke", - "dashboards": "Nadzorne plošče strank", - "devices": "Naprave za stranke", - "entity-views": "Pogledi stranke", - "assets": "Sredstva strank", - "public-dashboards": "Javne nadzorne plošče", - "public-devices": "Javne naprave", - "public-assets": "Javno sredstvo", - "public-entity-views": "Pogledi javnih subjektov", - "add": "Dodaj stranko", - "delete": "Izbriši stranko", - "manage-customer-users": "Upravljanje uporabniških strank", - "manage-customer-devices": "Upravljanje naprav strank", - "manage-customer-dashboards": "Upravljanje nadzornih plošč za stranke", - "manage-public-devices": "Upravljanje javnih naprav", - "manage-public-dashboards": "Upravljanje javnih nadzornih plošč", - "manage-customer-assets": "Upravljanje sredstev strank", - "manage-public-assets": "Upravljanje javnih sredstev", - "add-customer-text": "Dodaj novo stranko", - "no-customers-text": "Nobena stranka ni najdena", - "customer-details": "Podrobnosti o stranki", - "delete-customer-title": "Ali ste prepričani, da želite izbrisati stranko '{{customerTitle}}'?", - "delete-customer-text": "Previdno, po potrditvi bo stranka in vsi povezani podatki postali nepopravljivi.", - "delete-customers-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 customer} other {# customers} }?", - "delete-customers-action-title": "Izbriši { count, plural, =1 {1 customer} other {# customers} }", - "delete-customers-text": "Bodite previdni, po potrditvi bodo vse izbrane stranke odstranjene in vsi povezani podatki bodo postali nepopravljivi.", - "manage-users": "Upravljanje uporabnikov", - "manage-assets": "Upravljanje sredstev", - "manage-devices": "Upravljanje naprav", - "manage-dashboards": "Upravljanje nadzornih plošč", - "title": "Naslov", - "title-required": "Naslov je obvezen.", - "description": "Opis", - "details": "Podrobnosti", - "events": "Dogodki", - "copyId": "Kopiraj ID stranke", - "idCopiedMessage": "Id stranke je kopiran v odložišče", - "select-customer": "Izberi stranko", - "no-customers-matching": "Najdena ni bila nobena stranka, ki se ujema z '{{entity}}'.", - "customer-required": "Stranka je obvezna", - "select-default-customer": "Izberi privzeto stranko", - "default-customer": "Privzeta stranka", - "default-customer-required": "Za razhroščevanje nadzorne plošče na ravni najemnika je potrebna privzeta stranka", - "search": "Iskanje strank", - "selected-customers": "{ count, plural, =1 {1 customer} other {# customers} } izbrano" - }, - "datetime": { - "date-from": "Datum, od", - "time-from": "Čas od", - "date-to": "Datum do", - "time-to": "Čas do" - }, - "dashboard": { - "dashboard": "Nadzorna plošča", - "dashboards": "Nadzorne plošče", - "management": "Upravljanje z nadzorno ploščo", - "view-dashboards": "Ogled nadzornih plošč", - "add": "Dodaj nadzorno ploščo", - "assign-dashboard-to-customer": "Dodeli nadzorne plošče strankam", - "assign-dashboard-to-customer-text": "Izberite nadzorne plošče, ki jih želite dodeliti stranki", - "assign-to-customer-text": "Izberite stranko, ki bo dodelila nadzorno ploščo (-e)", - "assign-to-customer": "Dodeli stranki", - "unassign-from-customer": "Odvzemi stranki", - "make-public": "Naredi nadzorno ploščo javno", - "make-private": "Naj nadzorna plošča postane zasebna", - "manage-assigned-customers": "Upravljanje dodeljenih strank", - "assigned-customers": "Dodeljene stranke", - "assign-to-customers": "Dodeli nadzorne plošče strankam", - "assign-to-customers-text": "Izberite stranke, ki bodo dodelile nadzorno ploščo (-e)", - "unassign-from-customers": "Odstrani nadzorne plošče strankam", - "unassign-from-customers-text": "Na nadzorni plošči izberite stranke, ki jih želite odjaviti", - "no-dashboards-text": "Ni najdenih nadzornih plošč", - "no-widgets": "Pripomočki niso nastavljeni", - "add-widget": "Dodaj nov pripomoček", - "title": "Naslov", - "select-widget-title": "Izberi pripomoček", - "select-widget-subtitle": "Seznam razpoložljivih vrst gradnikov", - "delete": "Izbriši nadzorno ploščo", - "title-required": "Naslov je obvezen.", - "description": "Opis", - "details": "Podrobnosti", - "dashboard-details": "Podrobnosti o nadzorni plošči", - "add-dashboard-text": "Dodaj novo nadzorno ploščo", - "assign-dashboards": "Dodeli nadzorne plošče", - "assign-new-dashboard": "Dodeli novo nadzorno ploščo", - "assign-dashboards-text": "Strankam dodeli { count, plural, =1 {1 dashboard} other {# dashboards} }", - "unassign-dashboards-action-text": "Strankam ne dodeli { count, plural, =1 {1 dashboard} other {# dashboards} }", - "delete-dashboards": "Izbriši nadzorne plošče", - "unassign-dashboards": "Preklic dodelitve nadzornih plošč", - "unassign-dashboards-action-title": "Stranki odstrani { count, plural, =1 {1 dashboard} other {# dashboards} }", - "delete-dashboard-title": "Ali ste prepričani, da želite izbrisati nadzorno ploščo '{{dashboardTitle}}'?", - "delete-dashboard-text": "Previdno, po potrditvi bodo armaturna plošča in vsi povezani podatki nepopravljivi.", - "delete-dashboards-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 dashboard} other {# dashboards} }?", - "delete-dashboards-action-title": "Izbriši { count, plural, =1 {1 dashboard} other {# dashboards} }", - "delete-dashboards-text": "Bodite previdni, po potrditvi bodo vse izbrane nadzorne plošče odstranjene in vsi povezani podatki bodo postali nepopravljivi.", - "unassign-dashboard-title": "Ali ste prepričani, da želite odstraniti nadzorno ploščo '{{dashboardTitle}}'?", - "unassign-dashboard-text": "Po potrditvi bo nadzorna plošča odstranjena in nedostopna stranki.", - "unassign-dashboard": "Preklic dodelitve nadzorne plošče", - "unassign-dashboards-title": "Ali ste prepričani, da želite odstraniti { count, plural, =1 {1 dashboard} other {# dashboards} }?", - "unassign-dashboards-text": "Po potrditvi bodo vse izbrane nadzorne plošče odstranjene in nedostopne stranki.", - "public-dashboard-title": "Nadzorna plošča je zdaj javna", - "public-dashboard-text": "Vaša nadzorna plošča {{dashboardTitle}} je zdaj javna in dostopna prek naslednje javne povezave", - "public-dashboard-notice": "Opomba: Ne pozabite objaviti sorodnih naprav za dostop do njihovih podatkov.", - "make-private-dashboard-title": "Ali ste prepričani, da želite nadzorno ploščo '{{dashboardTitle}}' narediti zasebno?", - "make-private-dashboard-text": "Po potrditvi bo nadzorna plošča postala zasebna in ne bo dostopna drugim.", - "make-private-dashboard": "Naj nadzorna plošča postane zasebna", - "socialshare-text": "'{{dashboardTitle}}' poganja ThingsBoard", - "socialshare-title": "'{{dashboardTitle}}' poganja ThingsBoard", - "select-dashboard": "Izberi nadzorno ploščo", - "no-dashboards-matching": "Najdena ni bila nobena nadzorna plošča, ki se ujema z '{{entity}}'.", - "dashboard-required": "Potrebna je nadzorna plošča.", - "select-existing": "Izberi obstoječo nadzorno ploščo", - "create-new": "Ustvari novo nadzorno ploščo", - "new-dashboard-title": "Nov naslov nadzorne plošče", - "open-dashboard": "Odpri nadzorno ploščo", - "set-background": "Nastavi ozadje", - "background-color": "Barva ozadja", - "background-image": "Slika ozadja", - "background-size-mode": "Način velikosti ozadja", - "no-image": "Izbrana ni nobena slika", - "drop-image": "Spustite sliko ali kliknite, da izberete datoteko za nalaganje.", - "settings": "Nastavitve", - "columns-count": "Število stolpcev", - "columns-count-required": "Število stolpcev je obvezno.", - "min-columns-count-message": "Dovoljeno je samo 10 najmanjših števcev stolpcev.", - "max-columns-count-message": "Dovoljeno je samo 1000 največje število stolpcev.", - "widgets-margins": "Razmik med pripomočki", - "margin-required": "Zahtevana je vrednost razmika.", - "min-margin-message": "Najmanjša dovoljena vrednost razmika je 0.", - "max-margin-message": "Največja dovoljena vrednost razmika je 50.", - "horizontal-margin": "Vodoravni razmik", - "horizontal-margin-required": "Zahtevana je horizontalna vrednost razmika.", - "min-horizontal-margin-message": "Najmanjša dovoljena vrednost vodoravnega razmika je 0.", - "max-horizontal-margin-message": "Največja dovoljena vrednost vodoravnega razmika je 50.", - "vertical-margin": "Navpični razmik", - "vertical-margin-required": "Zahtevana je navpična vrednost razmika.", - "min-vertical-margin-message": "Najmanjša dovoljena vrednost navpičnega razmika je 0.", - "max-vertical-margin-message": "Največja dovoljena vrednost navpičnega razmika je 50.", - "autofill-height": "Samodejno polnjenje višine postavitve", - "mobile-layout": "Nastavitve mobilne postavitve", - "mobile-row-height": "Višina mobilne vrstice, px", - "mobile-row-height-required": "Vrednost višine mobilne vrstice je obvezna.", - "min-mobile-row-height-message": "Najmanjša dovoljena vrednost višine mobilne vrstice je 5 slikovnih pik.", - "max-mobile-row-height-message": "Največja dovoljena vrednost višine mobilne vrstice je 200 slikovnih pik.", - "display-title": "Prikaži naslov nadzorne plošče", - "toolbar-always-open": "Orodna vrstica naj bo odprta", - "title-color": "Barva naslova", - "display-dashboards-selection": "Prikaži izbiro nadzornih plošč", - "display-entities-selection": "Prikaži izbor entitet", - "display-filters": "Prikaži filtre", - "display-dashboard-timewindow": "Prikaži časovno okno", - "display-dashboard-export": "Prikaži izvoz", - "import": "Uvozi nadzorno ploščo", - "export": "Izvozi nadzorno ploščo", - "export-failed-error": "Nadzorne plošče ni mogoče izvoziti: {{error}}", - "create-new-dashboard": "Ustvari novo nadzorno ploščo", - "dashboard-file": "Datoteka nadzorne plošče", - "invalid-dashboard-file-error": "Nadzorne plošče ni mogoče uvoziti: neveljavna struktura podatkov na nadzorni plošči.", - "dashboard-import-missing-aliases-title": "Konfiguriranje vzdevkov, ki jih uporablja uvožena nadzorna plošča", - "create-new-widget": "Ustvari nov pripomoček", - "import-widget": "Uvozi pripomoček", - "widget-file": "Datoteka pripomočka", - "invalid-widget-file-error": "Pripomočka ni mogoče uvoziti: neveljavna struktura podatkov pripomočka.", - "widget-import-missing-aliases-title": "Konfiguriranje vzdevkov, ki jih uporablja uvoženi gradnik", - "open-toolbar": "Odpri orodno vrstico armaturne plošče", - "close-toolbar": "Zapri orodno vrstico", - "configuration-error": "Napaka v konfiguraciji", - "alias-resolution-error-title": "Napaka pri konfiguraciji vzdevkov na nadzorni plošči", - "invalid-aliases-config": "Ni mogoče najti nobene naprave, ki se ujema z nekaterimi filtri vzdevkov.
    Prosimo, obrnite se na skrbnika, da odpravite to težavo.", - "select-devices": "Izberi naprave", - "assignedToCustomer": "Dodeljeno stranki", - "assignedToCustomers": "Dodeljeno strankam", - "public": "Javno", - "public-link": "Javna povezava", - "copy-public-link": "Kopiraj javno povezavo", - "public-link-copied-message": "Javna povezava na nadzorni plošči je bila kopirana v odložišče", - "manage-states": "Upravljanje stanj nadzorne plošče", - "states": "Stanja na nadzorni plošči", - "search-states": "Išči stanja na nadzorni plošči", - "selected-states": "{ count, plural, =1 {1 dashboard state} other {# dashboard state} } izbrano", - "edit-state": "Uredi stanje nadzorne plošče", - "delete-state": "Izbriši stanje armaturne plošče", - "add-state": "Dodaj stanje nadzorne plošče", - "no-states-text": "Ni nobene države", - "state": "Stanje nadzorne plošče", - "state-name": "Ime", - "state-name-required": "Ime stanja nadzorne plošče je obvezno.", - "state-id": "ID države", - "state-id-required": "ID stanja nadzorne plošče je obvezen.", - "state-id-exists": "Stanje nadzorne plošče z istim ID že obstaja.", - "is-root-state": "Izvorno stanje", - "delete-state-title": "Izbriši stanje nadzorne plošče", - "delete-state-text": "Ali ste prepričani, da želite izbrisati stanje nadzorne plošče z imenom '{{stateName}}'?", - "show-details": "Pokaži podrobnosti", - "hide-details": "Skrij podrobnosti", - "select-state": "Izberi ciljno stanje", - "state-controller": "Državni nadzornik", - "search": "Iskanje po nadzornih ploščah", - "selected-dashboards": "{ count, plural, =1 {1 dashboard} other {# dashboards} } izbrano" - }, - "datakey": { - "settings": "Nastavitve", - "advanced": "Napredno", - "label": "Oznaka", - "color": "Barva", - "units": "Poseben simbol za prikaz poleg vrednosti", - "decimals": "Število števk po plavajoči vejici", - "data-generation-func": "Funkcija ustvarjanja podatkov", - "use-data-post-processing-func": "Uporabi funkcijo naknadne obdelave podatkov", - "configuration": "Konfiguracija podatkovnega ključa", - "timeseries": "Časovne serije", - "attributes": "Lastnosti", - "entity-field": "Polje entitete", - "alarm": "Polja alarma", - "timeseries-required": "Potrebni so časovni nizi entitet.", - "timeseries-or-attributes-required": "Potrebni so časovni nizi / atributi entitet.", - "alarm-fields-timeseries-or-attributes-required": "Polja alarma ali časovni nizi / atributi entitet so obvezni.", - "maximum-timeseries-or-attributes": "Največ { count, plural, =1 {1 timeseries / attribute is allowed.} other {# timeseries / attributes are allowed} }", - "alarm-fields-required": "Polja alarma so obvezna.", - "function-types": "Vrste funkcij", - "function-types-required": "Zahtevane so vrste funkcij.", - "maximum-function-types": "Največ dovoljeno je { count, plural, =1 {1 type of function.} other {# vrste funkcij so dovoljene} }", - "time-description": "časovni žig trenutne vrednosti;", - "value-description": "trenutna vrednost;", - "prev-value-description": "rezultat prejšnjega klica funkcije;", - "time-prev-description": "časovni žig prejšnje vrednosti;", - "prev-orig-value-description": "prvotna prejšnja vrednost;" - }, - "datasource": { - "type": "Vrsta vira podatkov", - "name": "Ime", - "add-datasource-prompt": "Prosimo, dodajte vir podatkov" - }, - "details": { - "details": "Podrobnosti", - "edit-mode": "Način urejanja", - "edit-json": "Uredi JSON", - "toggle-edit-mode": "Preklopi način urejanja" - }, - "device": { - "device": "Naprava", - "device-required": "Naprava je potrebna.", - "devices": "Naprave", - "management": "Upravljanje naprav", - "view-devices": "Ogled naprav", - "device-alias": "Vzdevek naprave", - "aliases": "Vzdevki naprav", - "no-alias-matching": "'{{alias}}' ni mogoče najti.", - "no-aliases-found": "Vzdevkov ni bilo mogoče najti.", - "no-key-matching": "'{{key}}' ni mogoče najti.", - "no-keys-found": "Ključev ni bilo mogoče najti.", - "create-new-alias": "Ustvari novega!", - "create-new-key": "Ustvari novega!", - "duplicate-alias-error": "Najden je podvojen vzdevek '{{alias}}'.
    Vzdevki naprav morajo biti na nadzorni plošči edinstveni.", - "configure-alias": "Konfiguriraj vzdevek '{{alias}}'", - "no-devices-matching": "Najdena ni bila nobena naprava, ki se ujema z '{{entity}}'.", - "alias": "Vzdevek", - "alias-required": "Vzdevek naprave je obvezen.", - "remove-alias": "Odstrani vzdevek naprave", - "add-alias": "Dodaj vzdevek naprave", - "name-starts-with": "Ime naprave se začne z", - "device-list": "Seznam naprav", - "use-device-name-filter": "Uporabi filter", - "device-list-empty": "Izbrana ni nobena naprava.", - "device-name-filter-required": "Potreben je filter imena naprave.", - "device-name-filter-no-device-matched": "Najdena ni bila nobena naprava, ki se začne z '{{device}}'.", - "add": "Dodaj napravo", - "assign-to-customer": "Dodeli stranki", - "assign-device-to-customer": "Dodeli naprave strankam", - "assign-device-to-customer-text": "Izberite naprave, ki jih želite dodeliti stranki", - "make-public": "Naredi napravo javno", - "make-private": "Naj bo naprava zasebna", - "no-devices-text": "Naprave ni bilo mogoče najti", - "assign-to-customer-text": "Prosimo, izberite stranko, ki bo dodelila naprave (-e)", - "device-details": "Podrobnosti o napravi", - "add-device-text": "Dodaj novo napravo", - "credentials": "Poverilnice", - "manage-credentials": "Upravljanje poverilnic", - "delete": "Izbriši napravo", - "assign-devices": "Dodeli naprave", - "assign-devices-text": "Kupcu dodeli { count, plural, =1 {1 device} other {# devices} }", - "delete-devices": "Izbriši naprave", - "unassign-from-customer": "Odjavi od stranke", - "unassign-devices": "Odjavi naprave", - "unassign-devices-action-title": "Odstrani { count, plural, =1 {1 device} other {# devices} } od stranke", - "assign-new-device": "Dodeli novo napravo", - "make-public-device-title": "Ali ste prepričani, da želite napravo '{{deviceName}}' narediti javno?", - "make-public-device-text": "Po potrditvi bo naprava in vsi njeni podatki javno dostopni drugim.", - "make-private-device-title": "Ali ste prepričani, da želite napravo '{{deviceName}}' narediti zasebno?", - "make-private-device-text": "Po potrditvi bo naprava in vsi njeni podatki postali zasebni in nedostopni drugim.", - "view-credentials": "Ogled poverilnic", - "delete-device-title": "Ali ste prepričani, da želite izbrisati napravo '{{deviceName}}'?", - "delete-device-text": "Previdno, po potrditvi naprava in vsi povezani podatki postanejo nepopravljivi.", - "delete-devices-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 device} other {# naprav} }?", - "delete-devices-action-title": "Izbriši { count, plural, =1 {1 device} other {# devices} }", - "delete-devices-text": "Bodite previdni, po potrditvi bodo vse izbrane naprave odstranjene in vsi povezani podatki nepopravljivi.", - "unassign-device-title": "Ali ste prepričani, da želite odstraniti napravo '{{deviceName}}'?", - "unassign-device-text": "Po potrditvi naprava ne bo dodeljena in nedostopna stranki.", - "unassign-device": "Preklic dodelitve naprave", - "unassign-devices-title": "Ali ste prepričani, da želite odstraniti { count, plural, =1 {1 device} other {# naprave} }?", - "unassign-devices-text": "Po potrditvi bodo vse izbrane naprave nedodeljene in nedostopne stranki.", - "device-credentials": "Poverilnice naprave", - "credentials-type": "Vrsta poverilnic", - "access-token": "Dostopni žeton", - "access-token-required": "Zahtevan je žeton za dostop.", - "access-token-invalid": "Dolžina žetona za dostop mora biti od 1 do 32 znakov.", - "client-id": "Client ID", - "client-id-pattern": "Contains invalid character.", - "user-name": "User Name", - "user-name-required": "User Name is required.", - "client-id-or-user-name-necessary": "Client ID and/or User Name are necessary", - "password": "Password", - "secret": "Skrivnost", - "secret-required": "Potrebna je skrivnost.", - "device-type": "Vrsta naprave", - "device-type-required": "Zahtevana je vrsta naprave.", - "select-device-type": "Izberite vrsto naprave", - "enter-device-type": "Vnesite vrsto naprave", - "any-device": "Katerakoli naprava", - "no-device-types-matching": "Najdena ni bila nobena vrsta naprave, ki se ujema z '{{entitySubtype}}'.", - "device-type-list-empty": "Izbrana ni nobena vrsta naprave.", - "device-types": "Vrste naprav", - "name": "Ime", - "name-required": "Ime je obvezno.", - "description": "Opis", - "label": "Oznaka", - "events": "Dogodki", - "details": "Podrobnosti", - "copyId": "Kopiraj ID naprave", - "copyAccessToken": "Kopiraj žeton za dostop", - "copy-mqtt-authentication": "Copy MQTT credentials", - "idCopiedMessage": "ID naprave je bil kopiran v odložišče", - "accessTokenCopiedMessage": "Žeton za dostop do naprave je bil kopiran v odložišče", - "mqtt-authentication-copied-message": "Device MQTT authentication has been copied to clipboard", - "assignedToCustomer": "Dodeljeno stranki", - "unable-delete-device-alias-title": "Vzdevka naprave ni mogoče izbrisati", - "unable-delete-device-alias-text": "Vzdevka naprave '{{deviceAlias}}' ni mogoče izbrisati, saj ga uporabljajo naslednji pripomočki:
    {{widgetsList}}", - "is-gateway": "Je prehod", - "public": "Javno", - "device-public": "Naprava je javna", - "select-device": "Izberi napravo", - "import": "Uvozi napravo", - "device-file": "Datoteka naprave", - "search": "Iskalne naprave", - "selected-devices": "{ count, plural, =1 {1 device} other {# devices} } izbrano", - "device-configuration": "Device configuration", - "transport-configuration": "Transport configuration", - "wizard": { - "device-details": "Device details" - } - }, - "device-profile": { - "device-profile": "Device profile", - "device-profiles": "Device profiles", - "all-device-profiles": "All", - "add": "Add device profile", - "edit": "Edit device profile", - "device-profile-details": "Device profile details", - "no-device-profiles-text": "No device profiles found", - "search": "Search device profiles", - "selected-device-profiles": "{ count, plural, =1 {1 device profile} other {# device profiles} } selected", - "no-device-profiles-matching": "No device profile matching '{{entity}}' were found.", - "device-profile-required": "Device profile is required", - "idCopiedMessage": "Device profile Id has been copied to clipboard", - "set-default": "Make device profile default", - "delete": "Delete device profile", - "copyId": "Copy device profile Id", - "name": "Name", - "name-required": "Name is required.", - "type": "Profile type", - "type-required": "Profile type is required.", - "type-default": "Default", - "transport-type": "Transport type", - "transport-type-required": "Transport type is required.", - "transport-type-default": "Default", - "transport-type-default-hint": "Supports basic MQTT, HTTP and CoAP transport", - "transport-type-mqtt": "MQTT", - "transport-type-mqtt-hint": "Enables advanced MQTT transport settings", - "transport-type-lwm2m": "LWM2M", - "transport-type-lwm2m-hint": "LWM2M transport type", - "description": "Description", - "default": "Default", - "profile-configuration": "Profile configuration", - "transport-configuration": "Transport configuration", - "default-rule-chain": "Default rule chain", - "select-queue-hint": "Select from a drop-down list.", - "delete-device-profile-title": "Are you sure you want to delete the device profile '{{deviceProfileName}}'?", - "delete-device-profile-text": "Be careful, after the confirmation the device profile and all related data will become unrecoverable.", - "delete-device-profiles-title": "Are you sure you want to delete { count, plural, =1 {1 device profile} other {# device profiles} }?", - "delete-device-profiles-text": "Be careful, after the confirmation all selected device profiles will be removed and all related data will become unrecoverable.", - "set-default-device-profile-title": "Are you sure you want to make the device profile '{{deviceProfileName}}' default?", - "set-default-device-profile-text": "After the confirmation the device profile will be marked as default and will be used for new devices with no profile specified.", - "no-device-profiles-found": "No device profiles found.", - "create-new-device-profile": "Create a new one!", - "mqtt-device-topic-filters": "MQTT device topic filters", - "mqtt-device-topic-filters-unique": "MQTT device topic filters need to be unique.", - "mqtt-device-payload-type": "MQTT device payload", - "mqtt-device-payload-type-json": "JSON", - "mqtt-device-payload-type-proto": "Protobuf", - "mqtt-payload-type-required": "Payload type is required.", - "support-level-wildcards": "Single [+] and multi-level [#] wildcards supported.", - "telemetry-topic-filter": "Telemetry topic filter", - "telemetry-topic-filter-required": "Telemetry topic filter is required.", - "attributes-topic-filter": "Attributes publish topic filter", - "attributes-subscribe-topic-filter": "Attributes subscribe topic filter", - "attributes-topic-filter-required": "Attributes publish topic filter is required.", - "attributes-subscribe-topic-filter-required": "Attributes subscribe topic is required", - "telemetry-proto-schema": "Telemetry proto schema", - "telemetry-proto-schema-required": "Telemetry proto schema is required.", - "attributes-proto-schema": "Attributes proto schema", - "attributes-proto-schema-required": "Attributes proto schema is required.", - "rpc-response-topic-filter": "RPC response topic filter", - "rpc-response-topic-filter-required": "RPC response topic filter is required.", - "not-valid-pattern-topic-filter": "Not valid pattern topic filter", - "not-valid-single-character": "Invalid use of a single-level wildcard character", - "not-valid-multi-character": "Invalid use of a multi-level wildcard character", - "single-level-wildcards-hint": "[+] is suitable for any topic filter level. Ex.: v1/devices/+/telemetry or +/devices/+/attributes.", - "multi-level-wildcards-hint": "[#] can replace the topic filter itself and must be the last symbol of the topic. Ex.: # or v1/devices/me/#.", - "alarm-rules": "Alarm rules", - "alarm-rules-with-count": "Alarm rules ({{count}})", - "no-alarm-rules": "No alarm rules configured", - "add-alarm-rule": "Add alarm rule", - "edit-alarm-rule": "Edit alarm rule", - "alarm-type": "Alarm type", - "alarm-type-required": "Alarm type is required.", - "alarm-type-unique": "Alarm type must be unique within the device profile alarm rules.", - "create-alarm-pattern": "Create {{alarmType}} alarm", - "create-alarm-rules": "Create alarm rules", - "no-create-alarm-rules": "No create conditions configured", - "add-create-alarm-rule-prompt": "Please add create alarm rule", - "clear-alarm-rule": "Clear alarm rule", - "no-clear-alarm-rule": "No clear condition configured", - "add-create-alarm-rule": "Add create condition", - "add-clear-alarm-rule": "Add clear condition", - "select-alarm-severity": "Select alarm severity", - "alarm-severity-required": "Alarm severity is required.", - "condition-duration": "Condition duration", - "condition-duration-value": "Duration value", - "condition-duration-time-unit": "Time unit", - "condition-duration-value-range": "Duration value should be in a range from 1 to 2147483647.", - "condition-duration-value-pattern": "Duration value should be integers.", - "condition-duration-value-required": "Duration value is required.", - "condition-duration-time-unit-required": "Time unit is required.", - "advanced-settings": "Advanced settings", - "propagate-alarm": "Propagate alarm", - "alarm-rule-relation-types-list": "Relation types", - "alarm-rule-relation-types-list-hint": "Defines relation types to filter the related entities. If not set, the alarm will be propagated to all related entities.", - "alarm-rule-condition": "Alarm rule condition", - "enter-alarm-rule-condition-prompt": "Please add alarm rule condition", - "edit-alarm-rule-condition": "Edit alarm rule condition", - "device-provisioning": "Device provisioning", - "provision-strategy": "Provision strategy", - "provision-strategy-required": "Provision strategy is required.", - "provision-strategy-disabled": "Disabled", - "provision-strategy-created-new": "Allow to create new devices", - "provision-strategy-check-pre-provisioned": "Check for pre-provisioned devices", - "provision-device-key": "Provision device key", - "provision-device-key-required": "Provision device key is required.", - "copy-provision-key": "Copy provision key", - "provision-key-copied-message": "Provision key has been copied to clipboard", - "provision-device-secret": "Provision device secret", - "provision-device-secret-required": "Provision device secret is required.", - "copy-provision-secret": "Copy provision secret", - "provision-secret-copied-message": "Provision secret has been copied to clipboard", - "condition": "Condition", - "condition-type": "Condition type", - "condition-type-simple": "Simple", - "condition-type-duration": "Duration", - "condition-during": "During {{during}}", - "condition-type-repeating": "Repeating", - "condition-type-required": "Condition type is required.", - "condition-repeating-value": "Count of events", - "condition-repeating-value-range": "Count of events should be in a range from 1 to 2147483647.", - "condition-repeating-value-pattern": "Count of events should be integers.", - "condition-repeating-value-required": "Count of events is required.", - "condition-repeat-times": "Repeats { count, plural, =1 {1 time} other {# times} }", - "schedule-type": "Scheduler type", - "schedule-type-required": "Scheduler type is required.", - "schedule": "Schedule", - "edit-schedule": "Edit alarm schedule", - "schedule-any-time": "Active all the time", - "schedule-specific-time": "Active at a specific time", - "schedule-custom": "Custom", - "schedule-day": { - "monday": "Monday", - "tuesday": "Tuesday", - "wednesday": "Wednesday", - "thursday": "Thursday", - "friday": "Friday", - "saturday": "Saturday", - "sunday": "Sunday" - }, - "schedule-days": "Days", - "schedule-time": "Time", - "schedule-time-from": "From", - "schedule-time-to": "To", - "schedule-days-of-week-required": "At least one day of week should be selected." - }, - "dialog": { - "close": "Zapri pogovorno okno" - }, - "direction": { - "column": "Stolpec", - "row": "Vrstica" - }, - "error": { - "unable-to-connect": "Povezave s strežnikom ni mogoče vzpostaviti! Preverite internetno povezavo.", - "unhandled-error-code": "Neobdelana koda napake: {{errorCode}}", - "unknown-error": "Neznana napaka" - }, - "entity": { - "entity": "Entiteta", - "entities": "Subjekti", - "aliases": "Vzdevki entitet", - "entity-alias": "Vzdevek entitete", - "unable-delete-entity-alias-title": "Vzdevka entitete ni mogoče izbrisati", - "unable-delete-entity-alias-text": "Vzdevka entitete '{{entityAlias}}' ni mogoče izbrisati, ker ga uporabljajo naslednji pripomočki:
    {{widgetsList}}", - "duplicate-alias-error": "Najden je podvojen vzdevek '{{alias}}'.
    Vzdevki entitet morajo biti na nadzorni plošči edinstveni.", - "missing-entity-filter-error": "Za vzdevek '{{alias}}' manjka filter.", - "configure-alias": "Konfiguriraj vzdevek '{{alias}}'", - "alias": "Vzdevek", - "alias-required": "Zahtevan je vzdevek entitete.", - "remove-alias": "Odstrani vzdevek entitete", - "add-alias": "Dodaj vzdevek entitete", - "entity-list": "Seznam entitet", - "entity-type": "Vrsta entitete", - "entity-types": "Vrste entitet", - "entity-type-list": "Seznam entitet", - "any-entity": "Katerikoli subjekt", - "enter-entity-type": "Vnesite vrsto entitete", - "no-entities-matching": "Najdena ni bila nobena enota, ki se ujema z '{{entity}}'.", - "no-entity-types-matching": "Najdena ni bila nobena vrsta entitete, ki se ujema z '{{entityType}}'.", - "name-starts-with": "Ime se začne z", - "use-entity-name-filter": "Uporabi filter", - "entity-list-empty": "Nobena entiteta ni izbrana.", - "entity-name-filter-required": "Potreben je filter imena entitete.", - "entity-name-filter-no-entity-matched": "Najti ni bilo nobene entitete, ki se začne z '{{entity}}'.", - "all-subtypes": "Vse", - "select-entities": "Izberi entitete", - "no-aliases-found": "Vzdevkov ni bilo mogoče najti.", - "no-alias-matching": "'{{alias}}' ni mogoče najti.", - "create-new-alias": "Ustvari novega!", - "key": "Ključ", - "key-name": "Ime ključa", - "no-keys-found": "Ključev ni bilo mogoče najti.", - "no-key-matching": "'{{key}}' ni mogoče najti.", - "create-new-key": "Ustvari novega!", - "type": "Vrsta", - "type-required": "Zahteva se vrsta entitete.", - "type-device": "Naprava", - "type-devices": "Naprave", - "list-of-devices": "{ count, plural, =1 {One device} other {List of # devices} }", - "device-name-starts-with": "Naprave, katerih imena se začnejo z '{{prefix}}'", - "type-device-profile": "Device profile", - "type-device-profiles": "Device profiles", - "list-of-device-profiles": "{ count, plural, =1 {One device profile} other {List of # device profiles} }", - "device-profile-name-starts-with": "Device profiles whose names start with '{{prefix}}'", - "type-asset": "Sredstvo", - "type-assets": "Sredstva", - "list-of-assets": "{ count, plural, =1 {One asset} other {Seznam # sredstev} }", - "asset-name-starts-with": "Sredstva, katerih imena se začnejo z '{{prefix}}'", - "type-entity-view": "Pogled entitete", - "type-entity-views": "Pogledi entitet", - "list-of-entity-views": "{ count, plural, =1 {One entity view} other {Seznam # pogledov entitet} }", - "entity-view-name-starts-with": "Pogledi entitet, katerih imena se začnejo z '{{prefix}}'", - "type-rule": "Pravilo", - "type-rules": "Pravila", - "list-of-rules": "{ count, plural, =1 {One rule} other {Seznam # pravil} }", - "rule-name-starts-with": "Pravila, katerih imena se začnejo z '{{prefix}}'", - "type-plugin": "Vključiti", - "type-plugins": "Vtičniki", - "list-of-plugins": "{ count, plural, =1 {One plugin} other {List of # plugins} }", - "plugin-name-starts-with": "Vtičniki, katerih imena se začnejo z '{{prefix}}'", - "type-tenant": "Najemnik", - "type-tenants": "Najemniki", - "list-of-tenants": "{ count, plural, =1 {One najemnik} other {Seznam # najemnikov} }", - "tenant-name-starts-with": "Najemniki, katerih imena se začnejo z '{{prefix}}'", - "type-tenant-profile": "Tenant profile", - "type-tenant-profiles": "Tenant profiles", - "list-of-tenant-profiles": "{ count, plural, =1 {One tenant profile} other {List of # tenant profiles} }", - "tenant-profile-name-starts-with": "Tenant profiles whose names start with '{{prefix}}'", - "type-customer": "Stranka", - "type-customers": "Stranke", - "list-of-customers": "{ count, plural, =1 {One customer} other {List of # customers} }", - "customer-name-starts-with": "Stranke, katerih imena se začnejo z '{{prefix}}'", - "type-user": "Uporabnik", - "type-users": "Uporabniki", - "list-of-users": "{ count, plural, =1 {One user} other {List of # users} }", - "user-name-starts-with": "Uporabniki, katerih imena se začnejo z '{{prefix}}'", - "type-dashboard": "Nadzorna plošča", - "type-dashboards": "Nadzorne plošče", - "list-of-dashboards": "{ count, plural, =1 {One dashboard} other {List of # dashboards} }", - "dashboard-name-starts-with": "Nadzorne plošče, katerih imena se začnejo z '{{prefix}}'", - "type-alarm": "Alarm", - "type-alarms": "Alarmi", - "list-of-alarms": "{ count, plural, =1 {One alarms} other {List of # alarms} }", - "alarm-name-starts-with": "Alarmi, katerih imena se začnejo z '{{prefix}}'", - "type-rulechain": "Veriga pravil", - "type-rulechains": "Pravila", - "list-of-rulechains": "{ count, plural, =1 {One rule chain} other {List of # rule chains} }", - "rulechain-name-starts-with": "Verige pravil, katerih imena se začnejo z '{{prefix}}'", - "type-rulenode": "Vozlišče pravila", - "type-rulenodes": "Vozlišča pravil", - "list-of-rulenodes": "{ count, plural, =1 {One rule node} other {List of # rule nodes} }", - "rulenode-name-starts-with": "Vozlišča pravil, katerih imena se začnejo z '{{prefix}}'", - "type-current-customer": "Trenutna stranka", - "type-current-tenant": "Trenutni najemnik", - "type-current-user": "Trenutni uporabnik", - "type-current-user-owner": "Trenutni lastnik uporabnika", - "search": "Iskanje entitet", - "selected-entities": "{ count, plural, =1 {1 entity} other {# entitet} } izbranih", - "entity-name": "Ime entitete", - "entity-label": "Oznaka entitete", - "details": "Podrobnosti o entiteti", - "no-entities-prompt": "Ni entitet", - "no-data": "Ni podatkov za prikaz", - "columns-to-display": "Stolpci za prikaz", - "type-api-usage-state": "Api Usage State" - }, - "entity-field": { - "created-time": "Čas ustvaritve", - "name": "Ime", - "type": "Vrsta", - "first-name": "Ime", - "last-name": "Priimek", - "email": "E-naslov", - "title": "Naziv", - "country": "Država", - "state": "Država", - "city": "Mesto", - "address": "Naslov", - "address2": "Naslov 2", - "zip": "Poštna številka", - "phone": "Telefon", - "label": "Oznaka" - }, - "entity-view": { - "entity-view": "Pogled entitete", - "entity-view-required": "Zahtevan je pogled entitete.", - "entity-views": "Pogledi entitet", - "management": "Upravljanje entitetnega pogleda", - "view-entity-views": "Ogled pogledov entitete", - "entity-view-alias": "Vzdevek entitetnega pogleda", - "aliases": "Vzdevki entitetnega pogleda", - "no-alias-matching": "'{{alias}}' ni mogoče najti.", - "no-aliases-found": "Vzdevkov ni bilo mogoče najti.", - "no-key-matching": "'{{key}}' ni mogoče najti.", - "no-keys-found": "Ključev ni bilo mogoče najti.", - "create-new-alias": "Ustvari novega!", - "create-new-key": "Ustvari novega!", - "duplicate-alias-error": "Najden je podvojen vzdevek '{{alias}}'.
    Vzdevki entitetnega pogleda na nadzorni plošči morajo biti edinstveni.", - "configure-alias": "Konfiguriraj vzdevek '{{alias}}'", - "no-entity-views-matching": "Najden ni bil noben pogled entitete, ki se ujema z '{{entity}}'.", - "public": "Javno", - "alias": "Vzdevek", - "alias-required": "Zahtevan je vzdevek pogleda entitete.", - "remove-alias": "Odstrani vzdevek pogleda entitete", - "add-alias": "Dodaj vzdevek pogleda entitete", - "name-starts-with": "Ime entitete se začne z", - "entity-view-list": "Seznam entitetnega pogleda", - "use-entity-view-name-filter": "Uporabi filter", - "entity-view-list-empty": "Izbran ni noben pogled entitete.", - "entity-view-name-filter-required": "Potreben je filter imena pogleda entitete.", - "entity-view-name-filter-no-entity-view-matched": "Najden ni bil noben pogled entitete, ki se začne z '{{entityView}}'.", - "add": "Dodaj pogled entitete", - "entity-view-public": "Pogled entitete je javen", - "assign-to-customer": "Dodeli stranki", - "assign-entity-view-to-customer": "Dodelitev pogledov entitet strankam", - "assign-entity-view-to-customer-text": "Izberite poglede entitet, ki jih želite dodeliti stranki", - "no-entity-views-text": "Ni najden noben pogled entitete", - "assign-to-customer-text": "Izberite stranko, ki bo dodelila poglede entitet", - "entity-view-details": "Podrobnosti o pogledu entitete", - "add-entity-view-text": "Dodaj nov pogled entitete", - "delete": "Izbriši pogled entitete", - "assign-entity-views": "Dodelitev pogledov entitete", - "assign-entity-views-text": "Stranki dodeli { count, plural, =1 {1 entity view} other {# entity views} }", - "delete-entity-views": "Izbriši poglede entitet", - "unassign-from-customer": "Odstrani od stranke", - "unassign-entity-views": "Odstrani poglede entitete", - "unassign-entity-views-action-title": "Od stranke odstrani { count, plural, =1 {1 entity view} other {# entity views} }", - "assign-new-entity-view": "Dodeli nov pogled entitete", - "delete-entity-view-title": "Ali ste prepričani, da želite izbrisati pogled entitete '{{entityViewName}}'?", - "delete-entity-view-text": "Bodite previdni, po potrditvi bodo pogled entitete in vsi povezani podatki nepopravljivi.", - "delete-entity-views-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 entity view} other {# entity views} }?", - "delete-entity-views-action-title": "Izbriši { count, plural, =1 {1 entity view} other {# entity views} }", - "delete-entity-views-text": "Bodite previdni, po potrditvi bodo odstranjeni vsi pogledi izbranih entitet in vsi povezani podatki bodo postali nepopravljivi.", - "unassign-entity-view-title": "Ali ste prepričani, da želite odstraniti pogled entitete '{{entityViewName}}?", - "unassign-entity-view-text": "Po potrditvi bo pogled entitete odstranjen in nedostopen stranki.", - "unassign-entity-view": "Odstrani pogled entitete", - "unassign-entity-views-title": "Ali ste prepričani, da želite odstraniti { count, plural, =1 {1 entity view} other {# entity views} }?", - "unassign-entity-views-text": "Po potrditvi bodo vsi pogledi izbranih entitet odstranjeni in stranki nedostopni.", - "entity-view-type": "Vrsta pogleda entitete", - "entity-view-type-required": "Zahteva se vrsta pogleda entitete.", - "select-entity-view-type": "Izberi vrsto pogleda entitete", - "enter-entity-view-type": "Vnesite vrsto pogleda entitete", - "any-entity-view": "Katerikoli pogled entitete", - "no-entity-view-types-matching": "Najdena ni bila nobena vrsta pogleda entitete, ki se ujema z '{{entitySubtype}}'.", - "entity-view-type-list-empty": "Izbrana ni nobena vrsta pogleda entitete.", - "entity-view-types": "Vrste pogleda entitete", - "created-time": "Ustvarjeni čas", - "name": "Ime", - "name-required": "Ime je obvezno.", - "description": "Opis", - "events": "Dogodki", - "details": "Podrobnosti", - "copyId": "Kopiraj ID pogleda entitete", - "idCopiedMessage": "ID entitete je kopiran v odložišče", - "assignedToCustomer": "Dodeljeno stranki", - "unable-entity-view-device-alias-title": "Ni mogoče izbrisati vzdevka pogleda entitete", - "unable-entity-view-device-alias-text": "Vzdevka naprave '{{entityViewAlias}}' ni mogoče izbrisati, saj ga uporabljajo naslednji pripomočki:
    {{widgetsList}}", - "select-entity-view": "Izberi pogled entitete", - "make-public": "Naj bo pogled entitete javen", - "make-private": "Naj bo pogled entitete zaseben", - "start-date": "Začetni datum", - "start-ts": "Začetni čas", - "end-date": "Končni datum", - "end-ts": "Končni čas", - "date-limits": "Datumske omejitve", - "client-attributes": "Atributi odjemalca", - "shared-attributes": "Skupni atributi", - "server-attributes": "Atributi strežnika", - "timeseries": "Časovne serije", - "client-attributes-placeholder": "Atributi odjemalca", - "shared-attributes-placeholder": "Skupni atributi", - "server-attributes-placeholder": "Atributi strežnika", - "timeseries-placeholder": "Časovne serije", - "target-entity": "Ciljna entiteta", - "attributes-propagation": "Propragacija atributov", - "attributes-propagation-hint": "Pogled entitete bo samodejno kopiral določene atribute iz ciljne entitete vsakič, ko shranite ali posodobite ta pogled entitete. Zaradi učinkovitosti se atributi ciljne entitete ne propagirajo v pogled entitete pri vsaki spremembi atributa. Samodejno propagacijo lahko omogočite tako, da konfigurirate \" kopiraj v ogled\" vozlišče pravila v verigi pravil in povezovanje sporočil \"Objavi atribute\" in \"Atributi posodobljeni\" na novo vozlišče pravila.", - "timeseries-data": "Podatki časovnih serij", - "timeseries-data-hint": "Konfigurirajte podatkovne ključe časovnih serij ciljne entitete, ki bodo dostopne pogledu entitete. Ti podatki časovnih serij so samo za branje.", - "make-public-entity-view-title": "Ali ste prepričani, da želite pogled entitete '{{entityViewName}}' narediti javen?", - "make-public-entity-view-text": "Po potrditvi bodo pogled entitete in vsi njegovi podatki javni in dostopni drugim.", - "make-private-entity-view-title": "Ali ste prepričani, da želite pogled entitete '{{entityViewName}}' narediti zaseben?", - "make-private-entity-view-text": "Po potrditvi bodo pogled entitete in vsi njegovi podatki postali zasebni in drugim nedostopni.", - "search": "Išči poglede entitet", - "selected-entity-views": "{ count, plural, =1 {1 entity view} other {# entity views} } izbranih" - }, - "event": { - "event-type": "Vrsta dogodka", - "type-error": "Napaka", - "type-lc-event": "Dogodek življenjskega cikla", - "type-stats": "Statistika", - "type-debug-rule-node": "Odpravljanje napak", - "type-debug-rule-chain": "Odpravljanje napak", - "no-events-prompt": "Ni dogodkov", - "error": "Napaka", - "alarm": "Alarm", - "event-time": "Čas dogodka", - "server": "Strežnik", - "body": "Vsebina", - "method": "Metoda", - "type": "Vrsta", - "message-id": "ID sporočila", - "message-type": "Vrsta sporočila", - "data-type": "Vrsta podatkov", - "relation-type": "Vrsta povezave", - "metadata": "Metapodatki", - "data": "Podatki", - "event": "Dogodek", - "status": "Stanje", - "success": "Uspeh", - "failed": "Ni uspelo", - "messages-processed": "Obdelana sporočila", - "errors-occurred": "Prišlo je do napak", - "all-events": "Vse", - "entity-type": "Vrsta entitete" - }, - "extension": { - "extensions": "Razširitve", - "selected-extensions": "{ count, plural, =1 {1 extension} other {# extensions} } izbrano", - "type": "Vrsta", - "key": "Ključ", - "value": "Vrednost", - "id": "ID", - "extension-id": "ID razširitve", - "extension-type": "Vrsta razširitve", - "transformer-json": "JSON *", - "unique-id-required": "Trenutni ID razširitve že obstaja.", - "delete": "Izbriši razširitev", - "add": "Dodaj razširitev", - "edit": "Uredi razširitev", - "delete-extension-title": "Ali ste prepričani, da želite izbrisati razširitev '{{extensionId}}'?", - "delete-extension-text": "Bodite previdni, po potrditvi podaljšanje in vsi povezani podatki ne bodo več obnovljivi.", - "delete-extensions-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 extension} other {# extensions} }?", - "delete-extensions-text": "Previdno, po potrditvi bodo odstranjene vse izbrane razširitve.", - "converters": "Pretvorniki", - "converter-id": "ID pretvornika", - "configuration": "Konfiguracija", - "converter-configurations": "Konfiguracije pretvornika", - "token": "Varnostni žeton", - "add-converter": "Dodaj pretvornik", - "add-config": "Dodaj konfiguracijo pretvornika", - "device-name-expression": "Izraz imena naprave", - "device-type-expression": "Izraz vrste naprave", - "custom": "Po meri", - "to-double": "Podvojiti", - "transformer": "Transformator", - "json-required": "Transformator json je potreben.", - "json-parse": "Ni mogoče razčleniti transformatorja json.", - "attributes": "Lastnosti", - "add-attribute": "Dodaj atribut", - "add-map": "Dodaj element preslikave", - "timeseries": "Časovne serije", - "add-timeseries": "Dodaj časovne vrste", - "field-required": "Polje je obvezno", - "brokers": "Posredniki", - "add-broker": "Dodaj posrednika", - "host": "Gostitelj", - "port": "Pristanišče", - "port-range": "Vrata naj bodo v območju od 1 do 65535.", - "ssl": "SSL", - "credentials": "Poverilnice", - "username": "Uporabniško ime", - "password": "Geslo", - "retry-interval": "Interval ponovitve v milisekundah", - "anonymous": "Anonimno", - "basic": "Osnovno", - "pem": "PEM", - "ca-cert": "Datoteka potrdila CA *", - "private-key": "Datoteka z zasebnim ključem *", - "cert": "Datoteka s potrdilom *", - "no-file": "Izbrana ni nobena datoteka.", - "drop-file": "Spustite datoteko ali kliknite, da izberete datoteko za nalaganje.", - "mapping": "Preslikava", - "topic-filter": "Glavni filter", - "converter-type": "Vrsta pretvornika", - "converter-json": "Json", - "json-name-expression": "Izraz json imena naprave", - "topic-name-expression": "Izraz teme imena naprave", - "json-type-expression": "Tip naprave json izraz", - "topic-type-expression": "Izraz teme naprave", - "attribute-key-expression": "Izraz ključnega atributa", - "attr-json-key-expression": "Izraz json ključa atributa", - "attr-topic-key-expression": "Atribut ključne besede izraza", - "request-id-expression": "Zahtevaj izraz za id", - "request-id-json-expression": "Zahtevaj izraz json id", - "request-id-topic-expression": "Zahtevaj izraz teme za id", - "response-topic-expression": "Izraz teme odziva", - "value-expression": "Vrednostni izraz", - "topic": "Tema", - "timeout": "Časovna omejitev v milisekundah", - "converter-json-required": "Potreben je pretvornik json.", - "converter-json-parse": "Ni mogoče razčleniti pretvornika json.", - "filter-expression": "Filtriraj izraz", - "connect-requests": "Zahteve za povezovanje", - "add-connect-request": "Dodaj zahtevo za povezavo", - "disconnect-requests": "Prekini zahteve", - "add-disconnect-request": "Dodaj zahtevo za prekinitev povezave", - "attribute-requests": "Zahteve za atribute", - "add-attribute-request": "Dodaj zahtevo za atribut", - "attribute-updates": "Posodobitve atributov", - "add-attribute-update": "Dodaj posodobitev atributa", - "server-side-rpc": "RPC na strežniški strani", - "add-server-side-rpc-request": "Dodaj zahtevo RPC na strani strežnika", - "device-name-filter": "Filter imena naprave", - "attribute-filter": "Filter atributov", - "method-filter": "Filter metode", - "request-topic-expression": "Zahtevaj izraz teme", - "response-timeout": "Časovna omejitev odziva v milisekundah", - "topic-expression": "Izraz teme", - "client-scope": "Obseg stranke", - "add-device": "Dodaj napravo", - "opc-server": "Strežniki", - "opc-add-server": "Dodaj strežnik", - "opc-add-server-prompt": "Prosimo, dodajte strežnik", - "opc-application-name": "Ime aplikacije", - "opc-application-uri": "Uri aplikacije", - "opc-scan-period-in-seconds": "Obdobje skeniranja v sekundah", - "opc-security": "Varnost", - "opc-identity": "Identiteta", - "opc-keystore": "Trgovina s ključi", - "opc-type": "Vrsta", - "opc-keystore-type": "Vrsta", - "opc-keystore-location": "Lokacija *", - "opc-keystore-password": "Geslo", - "opc-keystore-alias": "Vzdevek", - "opc-keystore-key-password": "Ključno geslo", - "opc-device-node-pattern": "Vzorec vozlišča naprave", - "opc-device-name-pattern": "Vzorec imena naprave", - "modbus-server": "Strežniki / podrejeni", - "modbus-add-server": "Dodaj strežnik / podrejen", - "modbus-add-server-prompt": "Prosimo, dodajte strežnik / podrejen", - "modbus-transport": "Prenos", - "modbus-tcp-reconnect": "Samodejno ponovno vzpostavi povezavo", - "modbus-rtu-over-tcp": "RTU prek TCP", - "modbus-port-name": "Ime serijskih vrat", - "modbus-encoding": "Kodiranje", - "modbus-parity": "Parnost", - "modbus-baudrate": "Hitrost prenosa", - "modbus-databits": "Podatkovni bit", - "modbus-stopbits": "Stop bits", - "modbus-databits-range": "Podatkovni bit mora biti v območju od 7 do 8.", - "modbus-stopbits-range": "Stop bitov mora biti v območju od 1 do 2.", - "modbus-unit-id": "ID enote", - "modbus-unit-id-range": "ID enote mora biti v območju od 1 do 247.", - "modbus-device-name": "Ime naprave", - "modbus-poll-period": "Obdobje ankete (ms)", - "modbus-attributes-poll-period": "Obdobje ankete atributov (ms)", - "modbus-timeseries-poll-period": "Obdobje ankete časovnih serij (ms)", - "modbus-poll-period-range": "Obdobje ankete mora imeti pozitivno vrednost.", - "modbus-tag": "Oznaka", - "modbus-function": "Funkcija", - "modbus-register-address": "Registrski naslov", - "modbus-register-address-range": "Naslov registra mora biti v območju od 0 do 65535.", - "modbus-register-bit-index": "Bitni indeks", - "modbus-register-bit-index-range": "Bitni indeks naj bo v območju od 0 do 15.", - "modbus-register-count": "Število registra", - "modbus-register-count-range": "Število registra mora biti pozitivna vrednost.", - "modbus-byte-order": "Vrstni red bajtov", - "sync": { - "status": "Stanje", - "sync": "Sinhronizacija", - "not-sync": "Ni sinhronizacija", - "last-sync-time": "Čas zadnje sinhronizacije", - "not-available": "Ni na voljo" - }, - "export-extensions-configuration": "Izvozi konfiguracijo razširitev", - "import-extensions-configuration": "Uvozi konfiguracijo razširitev", - "import-extensions": "Uvozi razširitve", - "import-extension": "Uvozi razširitev", - "export-extension": "Razširitev izvoza", - "file": "Razširitvena datoteka", - "invalid-file-error": "Neveljavna datoteka razširitve" - }, - "filter": { - "add": "Dodaj filter", - "edit": "Uredi filter", - "name": "Ime filtra", - "name-required": "Ime filtra je obvezno.", - "duplicate-filter": "Filter z istim imenom že obstaja.", - "filters": "Filtri", - "unable-delete-filter-title": "Filtra ni mogoče izbrisati", - "unable-delete-filter-text": "Filtra '{{filter}}' ni mogoče izbrisati, kot ga uporabljajo naslednji pripomočki:
    {{widgetsList}}", - "duplicate-filter-error": "Najden je podvojen filter '{{filter}}'.
    Filtri morajo biti na nadzorni plošči edinstveni.", - "missing-key-filters-error": "Za filter '{{filter}}' manjkajo ključni filtri.", - "filter": "Filter", - "editable": "Urejanje", - "no-filters-found": "Ni najden noben filter.", - "no-filter-text": "No filter specified", - "add-filter-prompt": "Please add filter", - "no-filter-matching": "'{{filter}}' ni mogoče najti.", - "create-new-filter": "Ustvari novega!", - "filter-required": "Potreben je filter.", - "operation": { - "operation": "Dejanje", - "equal": "enako", - "not-equal": "ni enako", - "starts-with": "začne se z", - "ends-with": "konča se z", - "contains": "vsebuje", - "not-contains": "ne vsebuje", - "greater": "večji kot", - "less": "manj kot", - "greater-or-equal": "večje ali enako", - "less-or-equal": "manjše ali enako", - "and": "in", - "or": "ali" - }, - "ignore-case": "Prezri črko", - "value": "Vrednost", - "remove-filter": "Odstrani filter", - "preview": "Predogled filtra", - "no-filters": "Ni nastavljenih filtrov", - "add-filter": "Dodaj filter", - "add-complex-filter": "Dodaj kompleksni filter", - "add-complex": "Dodaj kompleks", - "complex-filter": "Kompleksni filter", - "edit-complex-filter": "Uredi kompleksni filter", - "edit-filter-user-params": "Uredi uporabniške parametre predikata filtra", - "filter-user-params": "Filter predicate user parameters", - "user-parameters": "Uporabniški parametri", - "display-label": "Oznaka za prikaz", - "order-priority": "Prednostni vrstni red", - "key-filter": "Ključni filter", - "key-filters": "Ključni filtri", - "key-name": "Ime ključa", - "key-name-required": "Ime ključa je obvezno.", - "key-type": { - "key-type": "Tip ključa", - "attribute": "Atribut", - "timeseries": "Časovne serije", - "entity-field": "Polje entitete" - }, - "value-type": { - "value-type": "Vrsta vrednosti", - "string": "Niz", - "numeric": "Številska", - "boolean": "Logična", - "date-time": "Datum in čas" - }, - "value-type-required": "Zahtevana je vrsta vrednosti ključa.", - "key-value-type-change-title": "Ali ste prepričani, da želite spremeniti vrsto vrednosti ključa?", - "key-value-type-change-message": "Če potrdite novo vrsto vrednosti, bodo odstranjeni vsi vneseni filtri ključev.", - "no-key-filters": "Noben ključni filter ni konfiguriran", - "add-key-filter": "Dodaj ključni filter", - "remove-key-filter": "Odstrani filter ključev", - "edit-key-filter": "Uredi filter ključev", - "date": "Datum", - "time": "Čas", - "current-tenant": "Trenutni najemnik", - "current-customer": "Trenutna stranka", - "current-user": "Trenutni uporabnik", - "current-device": "Current device", - "default-value": "Privzeta vrednost", - "dynamic-source-type": "Dinamična vrsta vira", - "no-dynamic-value": "Ni dinamične vrednosti", - "source-attribute": "Izvorni atribut", - "switch-to-dynamic-value": "Preklopi na dinamično vrednost", - "switch-to-default-value": "Preklopi na privzeto vrednost" - }, - "fullscreen": { - "expand": "Razširi na celozaslonski način", - "exit": "Izhod iz celozaslonskega načina", - "toggle": "Preklopi na celozaslonski način", - "fullscreen": "Celozaslonski način" - }, - "function": { - "function": "Funkcija" - }, - "gateway": { - "create-new-gateway": "Ustvari nov prehod", - "create-new-gateway-text": "Ali ste prepričani, da želite ustvariti nov prehod z imenom: '{{gatewayName}}'?", - "gateway": "Prehod", - "gateway-exists": "Naprava z istim imenom že obstaja.", - "gateway-name": "Ime prehoda", - "gateway-name-required": "Ime prehoda je obvezno.", - "gateway-saved": "Konfiguracija prehoda je uspešno shranjena.", - "no-gateway-found": "Prehod ni najden.", - "no-gateway-matching": " '{{item}}' ni mogoče najti." - }, - "grid": { - "delete-item-title": "Ali ste prepričani, da želite izbrisati ta element?", - "delete-item-text": "Bodite previdni, po potrditvi bodo ta element in vsi povezani podatki nepopravljivi.", - "delete-items-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 item} other {# items} }?", - "delete-items-action-title": "Izbriši { count, plural, =1 {1 item} other {# items} }", - "delete-items-text": "Bodite previdni, po potrditvi bodo vsi izbrani elementi odstranjeni in vsi povezani podatki nepopravljivi.", - "add-item-text": "Dodaj novo postavko", - "no-items-text": "Ni najdenih postavk", - "item-details": "Podrobnosti o postavki", - "delete-item": "Izbriši postavko", - "delete-items": "Izbriši postavke", - "scroll-to-top": "Pomakni se na vrh" - }, - "help": { - "goto-help-page": "Pojdi na stran s pomočjo" - }, - "home": { - "home": "Domov", - "profile": "Profil", - "logout": "Odjava", - "menu": "Meni", - "avatar": "Avatar", - "open-user-menu": "Odpri uporabniški meni" - }, - "import": { - "no-file": "Izbrana ni nobena datoteka", - "drop-file": "Spustite datoteko JSON ali kliknite, da izberete datoteko za nalaganje.", - "drop-file-csv": "Spustite datoteko CSV ali kliknite, da izberete datoteko za nalaganje.", - "column-value": "Vrednost", - "column-title": "Naslov", - "column-example": "Primer vrednosti podatkov", - "column-key": "Atribut / ključ telemetrije", - "csv-delimiter": "Ločilo CSV", - "csv-first-line-header": "Prva vrstica vsebuje imena stolpcev", - "csv-update-data": "Posodobi atribute / telemetrijo", - "import-csv-number-columns-error": "Datoteka mora vsebovati vsaj dva stolpca", - "import-csv-invalid-format-error": "Neveljavna oblika datoteke. Vrstica: '{{line}}'", - "column-type": { - "name": "Ime", - "type": "Vrsta", - "label": "Oznaka", - "column-type": "Vrsta stolpca", - "client-attribute": "Atribut odjemalca", - "shared-attribute": "Skupni atribut", - "server-attribute": "Atribut strežnika", - "timeseries": "Časovne serije", - "entity-field": "Polje entitete", - "access-token": "Dostopni žeton", - "isgateway": "Je prehod", - "description": "Opis" - }, - "stepper-text": { - "select-file": "Izberi datoteko", - "configuration": "Uvozi konfiguracijo", - "column-type": "Izberi vrsto stolpca", - "creat-entities": "Ustvarjanje novih entitet" - }, - "message": { - "create-entities": "{{count}} novih entitet je bilo uspešno ustvarjenih.", - "update-entities": "{{count}} entitet je bilo uspešno posodobljenih.", - "error-entities": "Prišlo je do napake pri ustvarjanju {{count}} entitet." - } - }, - "item": { - "selected": "Izbrano" - }, - "js-func": { - "no-return-error": "Funkcija mora vrniti vrednost!", - "return-type-mismatch": "Funkcija mora vrniti vrednost vrste '{{type}}'!", - "tidy": "Urejeno", - "mini": "Mini" - }, - "key-val": { - "key": "Ključ", - "value": "Vrednost", - "remove-entry": "Odstrani vnos", - "add-entry": "Dodaj vnos", - "no-data": "Ni vnosov" - }, - "layout": { - "layout": "Postavitev", - "manage": "Upravljanje postavitev", - "settings": "Nastavitve postavitve", - "color": "Barva", - "main": "Glavni", - "right": "Pravi", - "select": "Izberi ciljno postavitev" - }, - "legend": { - "direction": "Smer legende", - "position": "Položaj legende", - "sort-legend": "Sort datakeys in legend", - "show-max": "Prikaži največjo vrednost", - "show-min": "Pokaži najmanjšo vrednost", - "show-avg": "Prikaži povprečno vrednost", - "show-total": "Prikaži skupno vrednost", - "settings": "Nastavitve legende", - "min": "najmanj", - "max": "največ", - "avg": "povprečno", - "total": "skupaj", - "comparison-time-ago": { - "days": "(pretekli dan)", - "weeks": "(pretekli teden)", - "months": "(pretekli mesec)", - "years": "(preteklo leto)" - } - }, - "login": { - "login": "Vpiši se", - "request-password-reset": "Zahtevaj ponastavitev gesla", - "reset-password": "Ponastavitev gesla", - "create-password": "Ustvari geslo", - "passwords-mismatch-error": "Vnesena gesla morajo biti enaka!", - "password-again": "Ponovi geslo", - "username": "Uporabniško ime (e-pošta)", - "remember-me": "Zapomni si me", - "forgot-password": "Ste pozabili geslo?", - "password-reset": "Resetiranje gesla", - "expired-password-reset-message": "Vaše poverilnice so potekle! Ustvarite novo geslo.", - "new-password": "Novo geslo", - "new-password-again": "Ponovi novo geslo", - "password-link-sent-message": "Povezava za ponastavitev gesla je bila uspešno poslana!", - "email": "E-naslov", - "login-with": "Prijava z {{name}}", - "or": "ali", - "error": "Napaka pri prijavi" - }, - "position": { - "top": "Zgoraj", - "bottom": "Spodaj", - "left": "Levo", - "right": "Desno" - }, - "profile": { - "profile": "Profil", - "last-login-time": "Zadnja prijava", - "change-password": "Spremeni geslo", - "current-password": "Trenutno geslo" - }, - "relation": { - "relations": "Odnosi", - "direction": "Smer", - "search-direction": { - "FROM": "Od", - "TO": "Za" - }, - "direction-type": { - "FROM": "od", - "TO": "za" - }, - "from-relations": "Odhodna razmerja", - "to-relations": "Vhodna razmerja", - "selected-relations": "{ count, plural, =1 {1 relationship} other {# Relations} } izbran", - "type": "Vrsta", - "to-entity-type": "Za vrsto entitete", - "to-entity-name": "Za ime entitete", - "from-entity-type": "Od vrste entitete", - "from-entity-name": "Od imena entitete", - "to-entity": "Za entiteto", - "from-entity": "Od entitete", - "delete": "Izbriši relacijo", - "relation-type": "Vrsta relacije", - "relation-type-required": "Vrsta relacije je obvezna.", - "any-relation-type": "Katerakoli vrsta", - "add": "Dodaj relacijo", - "edit": "Uredi relacijo", - "delete-to-relation-title": "Ali ste prepričani, da želite izbrisati relacijo z entiteto '{{entityName}}'?", - "delete-to-relation-text": "Previdno, po potrditvi entiteta '{{entityName}}' ne bo v relaciji s trenutno entiteto.", - "delete-to-relations-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 relacijo} other {# relacije} }?", - "delete-to-relations-text": "Bodite previdni, po potrditvi bodo vse izbrane relacije odstranjene in entitete ne bodo povezane med sabo.", - "delete-from-relation-title": "Ali ste prepričani, da želite izbrisati relacijo iz entitete '{{entityName}}'?", - "delete-from-relation-text": "Bodite previdni, po potrditvi trenutna entiteta ne bo v relacijii z entiteto '{{entityName}}'.", - "delete-from-relations-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 relacija} other {# odnosi} }?", - "delete-from-relations-text": "Bodite previdni, po potrditvi bodo odstranjene vse izbrane relacije in trenutna entiteta ne bo v relaciji z omenjenimi entitetami.", - "remove-relation-filter": "Odstrani relacijski filter", - "add-relation-filter": "Dodaj relacijski filter", - "any-relation": "Kakršnakoli relacija", - "relation-filters": "Relacijski filtri", - "additional-info": "Dodatne informacije (JSON)", - "invalid-additional-info": "Dodatnih informacij json ni mogoče razčleniti.", - "no-relations-text": "Ni najdenih relacij" - }, - "rulechain": { - "rulechain": "Veriga pravil", - "rulechains": "Pravila", - "root": "Izvor", - "delete": "Izbriši verigo pravil", - "name": "Ime", - "name-required": "Ime je obvezno.", - "description": "Opis", - "add": "Dodaj verigo pravil", - "set-root": "Ustvari izvor verige pravil", - "set-root-rulechain-title": "Ali ste prepričani, da želite narediti izvorno verigo pravil '{{ruleChainName}}'?", - "set-root-rulechain-text": "Po potrditvi bo veriga pravil postala izvorna in bo obravnavala vsa dohodna prometna sporočila.", - "delete-rulechain-title": "Ali ste prepričani, da želite izbrisati verigo pravil '{{ruleChainName}}'?", - "delete-rulechain-text": "Bodite previdni, po potrditvi bodo veriga pravil in vsi povezani podatki nepopravljivi.", - "delete-rulechains-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 rule chain} other {# rule chains} }?", - "delete-rulechains-action-title": "Izbriši { count, plural, =1 {1 rule chain} other {# rule chains} }", - "delete-rulechains-text": "Bodite previdni, po potrditvi bodo odstranjene vse izbrane verige pravil in vsi povezani podatki bodo postali nepopravljivi.", - "add-rulechain-text": "Dodaj novo verigo pravil", - "no-rulechains-text": "Nobena veriga pravil ni najdena", - "rulechain-details": "Podrobnosti o verigi pravil", - "details": "Podrobnosti", - "events": "Dogodki", - "system": "Sistem", - "import": "Uvozi verigo pravil", - "export": "Izvozi verigo pravil", - "export-failed-error": "Verige pravil ni mogoče izvoziti: {{error}}", - "create-new-rulechain": "Ustvari novo verigo pravil", - "rulechain-file": "Datoteka verige pravil", - "invalid-rulechain-file-error": "Ni mogoče uvoziti verige pravil: neveljavna struktura podatkov verige pravil.", - "copyId": "Kopiraj ID verige pravil", - "idCopiedMessage": "ID verige pravil je kopiran v odložišče", - "select-rulechain": "Izberi verigo pravil", - "no-rulechains-matching": "Najdena ni bila nobena veriga pravil, ki se ujema z '{{entity}}'.", - "rulechain-required": "Zahtevana je veriga pravil", - "management": "Upravljanje pravil", - "debug-mode": "Način za odpravljanje napak", - "search": "Iskanje verig pravil", - "selected-rulechains": "{ count, plural, =1 {1 rule chain} other {# rule chains} } izbrano", - "open-rulechain": "Odprta veriga pravil" - }, - "rulenode": { - "details": "Podrobnosti", - "events": "Dogodki", - "search": "Iskanje vozlišč", - "open-node-library": "Odpri knjižnico vozlišč", - "add": "Dodaj vozlišče pravila", - "name": "Ime", - "name-required": "Ime je obvezno.", - "type": "Vrsta", - "description": "Opis", - "delete": "Izbriši vozlišče pravila", - "select-all-objects": "Izberi vsa vozlišča in povezave", - "deselect-all-objects": "Prekliči izbiro vseh vozlišč in povezav", - "delete-selected-objects": "Izbriši izbrana vozlišča in povezave", - "delete-selected": "Izbriši izbrano", - "select-all": "Izberi vse", - "copy-selected": "Kopiraj izbrano", - "deselect-all": "Prekliči izbor", - "rulenode-details": "Podrobnosti vozlišča pravila", - "debug-mode": "Način za odpravljanje napak", - "configuration": "Konfiguracija", - "link": "Povezava", - "link-details": "Podrobnosti povezave vozlišča pravila", - "add-link": "Dodaj povezavo", - "link-label": "Oznaka povezave", - "link-label-required": "Oznaka povezave je obvezna.", - "custom-link-label": "Oznaka povezave po meri", - "custom-link-label-required": "Zahtevana je oznaka povezave po meri.", - "link-labels": "Oznake povezav", - "link-labels-required": "Oznake povezav so obvezne.", - "no-link-labels-found": "Oznak povezav ni bilo mogoče najti", - "no-link-label-matching": "'{{label}}' ni mogoče najti.", - "create-new-link-label": "Ustvari novega!", - "type-filter": "Filter", - "type-filter-details": "Filtriraj dohodna sporočila s konfiguriranimi pogoji", - "type-enrichment": "Obogatitev", - "type-enrichment-details": "Dodaj dodatne informacije v metapodatke sporočila", - "type-transformation": "Preobrazba", - "type-transformation-details": "Spremeni koristni tovor sporočila in metapodatke", - "type-action": "Dejanje", - "type-action-details": "Izvedite posebno dejanje", - "type-external": "Zunanji", - "type-external-details": "Interakcija z zunanjim sistemom", - "type-rule-chain": "Veriga pravil", - "type-rule-chain-details": "Posredovanje dohodnih sporočil določeni verigi pravil", - "type-input": "Vnos", - "type-input-details": "Logični vnos verige pravil, posreduje dohodna sporočila naslednjemu povezanemu vozlišču pravila", - "type-unknown": "Neznano", - "type-unknown-details": "Nerazrešeno vozlišče pravila", - "directive-is-not-loaded": "Določena konfiguracijska direktiva '{{DirectiveName}}' ni na voljo.", - "ui-resources-load-error": "Napajanje virov uporabniškega vmesnika ni uspelo.", - "invalid-target-rulechain": "Ni mogoče razrešiti ciljne verige pravil!", - "test-script-function": "Preizkusi funkcijo skripte", - "message": "Sporočilo", - "message-type": "Vrsta sporočila", - "select-message-type": "Izberi vrsto sporočila", - "message-type-required": "Zahtevana je vrsta sporočila", - "metadata": "Metapodatki", - "metadata-required": "Vnosi metapodatkov ne smejo biti prazni.", - "output": "Izdelek", - "test": "Test", - "help": "Pomoč" - }, - "timezone": { - "timezone": "Časovni pas", - "select-timezone": "Izberite časovni pas", - "no-timezones-matching": "Časovnih pasov, ki se ujemajo z '{{timezone}}', ni bilo mogoče najti.", - "timezone-required": "Časovni pas je obvezen." - }, - "queue": { - "select_name": "Izberi ime čakalne vrste", - "name": "Ime čakalne vrste", - "name_required": "Ime čakalne vrste je obvezno!" - }, - "tenant": { - "tenant": "Najemnik", - "tenants": "Najemniki", - "management": "Upravljanje najemnikov", - "add": "Dodaj najemnika", - "admins": "Skrbniki", - "manage-tenant-admins": "Upravljanje skrbnikov najemnikov", - "delete": "Izbriši najemnika", - "add-tenant-text": "Dodaj novega najemnika", - "no-tenants-text": "Najemnikov ni bilo mogoče najti", - "tenant-details": "Podrobnosti o najemniku", - "delete-tenant-title": "Ali ste prepričani, da želite izbrisati najemnika '{{tenantTitle}}'?", - "delete-tenant-text": "Previdno, po potrditvi bodo najemnik in vsi povezani podatki postali nepopravljivi.", - "delete-tenants-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 tenant} other {# tenants} }?", - "delete-tenants-action-title": "Izbriši { count, plural, =1 {1 tenant} other {# tenants} }", - "delete-tenants-text": "Bodite previdni, po potrditvi bodo vsi izbrani najemniki odstranjeni in vsi povezani podatki nepopravljivi.", - "title": "Naslov", - "title-required": "Naslov je obvezen.", - "description": "Opis", - "details": "Podrobnosti", - "events": "Dogodki", - "copyId": "Kopiraj ID najemnika", - "idCopiedMessage": "ID najemnika je kopiran v odložišče", - "select-tenant": "Izberi najemnika", - "no-tenants-matching": "Najden ni bil noben najemnik, ki se ujema z '{{entity}}'.", - "tenant-required": "Najemnik je obvezen", - "search": "Iskanje najemnikov", - "selected-tenants": "{ count, plural, =1 {1 tenant} other {# tenants} } izbran", - "isolated-tb-rule-engine": "Obdelava v izoliranem odlagališču ThingsBoard Rule Engine", - "isolated-tb-rule-engine-details": "Zahteva ločene mikro storitve na izoliranega najemnika" - }, - "tenant-profile": { - "tenant-profile": "Tenant profile", - "tenant-profiles": "Tenant profiles", - "add": "Add tenant profile", - "edit": "Edit tenant profile", - "tenant-profile-details": "Tenant profile details", - "no-tenant-profiles-text": "No tenant profiles found", - "search": "Search tenant profiles", - "selected-tenant-profiles": "{ count, plural, =1 {1 tenant profile} other {# tenant profiles} } selected", - "no-tenant-profiles-matching": "No tenant profile matching '{{entity}}' were found.", - "tenant-profile-required": "Tenant profile is required", - "idCopiedMessage": "Tenant profile Id has been copied to clipboard", - "set-default": "Make tenant profile default", - "delete": "Delete tenant profile", - "copyId": "Copy tenant profile Id", - "name": "Name", - "name-required": "Name is required.", - "data": "Profile data", - "profile-configuration": "Profile configuration", - "description": "Description", - "default": "Default", - "delete-tenant-profile-title": "Are you sure you want to delete the tenant profile '{{tenantProfileName}}'?", - "delete-tenant-profile-text": "Be careful, after the confirmation the tenant profile and all related data will become unrecoverable.", - "delete-tenant-profiles-title": "Are you sure you want to delete { count, plural, =1 {1 tenant profile} other {# tenant profiles} }?", - "delete-tenant-profiles-text": "Be careful, after the confirmation all selected tenant profiles will be removed and all related data will become unrecoverable.", - "set-default-tenant-profile-title": "Are you sure you want to make the tenant profile '{{tenantProfileName}}' default?", - "set-default-tenant-profile-text": "After the confirmation the tenant profile will be marked as default and will be used for new tenants with no profile specified.", - "no-tenant-profiles-found": "No tenant profiles found.", - "create-new-tenant-profile": "Create a new one!", - "maximum-devices": "Maximum number of devices (0 - unlimited)", - "maximum-devices-required": "Maximum number of devices is required.", - "maximum-devices-range": "Minimum number of devices can't be negative", - "maximum-assets": "Maximum number of assets (0 - unlimited)", - "maximum-assets-required": "Maximum number of assets is required.", - "maximum-assets-range": "Maximum number of assets can't be negative", - "maximum-customers": "Maximum number of customers (0 - unlimited)", - "maximum-customers-required": "Maximum number of customers is required.", - "maximum-customers-range": "Maximum number of customers can't be negative", - "maximum-users": "Maximum number of users (0 - unlimited)", - "maximum-users-required": "Maximum number of users is required.", - "maximum-users-range": "Maximum number of users can't be negative", - "maximum-dashboards": "Maximum number of dashboards (0 - unlimited)", - "maximum-dashboards-required": "Maximum number of dashboards is required.", - "maximum-dashboards-range": "Maximum number of dashboards can't be negative", - "maximum-edges": "Edges maximum number (0 - unlimited)", - "maximum-edges-required": "Edges maximum number is required.", - "maximum-edges-range": "Edges maximum number can't be negative", - "maximum-rule-chains": "Maximum number of rule chains (0 - unlimited)", - "maximum-rule-chains-required": "Maximum number of rule chains is required.", - "maximum-rule-chains-range": "Maximum number of rule chains can't be negative", - "transport-tenant-telemetry-msg-rate-limit": "Transport tenant telemetry messages rate limit.", - "transport-tenant-telemetry-data-points-rate-limit": "Transport tenant telemetry data points rate limit.", - "transport-device-msg-rate-limit": "Transport device messages rate limit.", - "transport-device-telemetry-msg-rate-limit": "Transport device telemetry messages rate limit.", - "transport-device-telemetry-data-points-rate-limit": "Transport device telemetry data points rate limit.", - "max-transport-messages": "Maximum number of transport messages (0 - unlimited)", - "max-transport-messages-required": "Maximum number of transport messages is required.", - "max-transport-messages-range": "Maximum number of transport messages can't be negative", - "max-transport-data-points": "Maximum number of transport data points (0 - unlimited)", - "max-transport-data-points-required": "Maximum number of transport data points is required.", - "max-transport-data-points-range": "Maximum number of transport data points can't be negative", - "max-r-e-executions": "Maximum number of Rule Engine executions (0 - unlimited)", - "max-r-e-executions-required": "Maximum number of Rule Engine executions is required.", - "max-r-e-executions-range": "Maximum number of Rule Engine executions can't be negative", - "max-j-s-executions": "Maximum number of JavaScript executions (0 - unlimited)", - "max-j-s-executions-required": "Maximum number of JavaScript executions is required.", - "max-j-s-executions-range": "Maximum number of JavaScript executions can't be negative", - "max-d-p-storage-days": "Maximum number of data points storage days (0 - unlimited)", - "max-d-p-storage-days-required": "Maximum number of data points storage days is required.", - "max-d-p-storage-days-range": "Maximum number of data points storage days can't be negative", - "default-storage-ttl-days": "Default storage TTL days (0 - unlimited)", - "default-storage-ttl-days-required": "Default storage TTL days is required.", - "default-storage-ttl-days-range": "Default storage TTL days can't be negative", - "max-rule-node-executions-per-message": "Maximum number of rule node executions per message (0 - unlimited)", - "max-rule-node-executions-per-message-required": "Maximum number of rule node executions per message is required.", - "max-rule-node-executions-per-message-range": "Maximum number of rule node executions per message can't be negative", - "max-emails": "Maximum number of emails sent (0 - unlimited)", - "max-emails-required": "Maximum number of emails sent is required.", - "max-emails-range": "Maximum number of emails sent can't be negative", - "max-sms": "Maximum number of SMS sent (0 - unlimited)", - "max-sms-required": "Maximum number of SMS sent is required.", - "max-sms-range": "Maximum number of SMS sent can't be negative" - }, - "timeinterval": { - "seconds-interval": "{ seconds, plural, =1 {1 second} other {# seconds} }", - "minutes-interval": "{ minutes, plural, =1 {1 minute} other {# minutes} }", - "hours-interval": "{ hours, plural, =1 {1 hour} other {# hours} }", - "days-interval": "{ days, plural, =1 {1 day} other {# days} }", - "days": "Dnevi", - "hours": "Ure", - "minutes": "Minute", - "seconds": "Sekunde", - "advanced": "Napredno" - }, - "timeunit": { - "seconds": "Seconds", - "minutes": "Minutes", - "hours": "Hours", - "days": "Days" - }, - "timewindow": { - "days": "{ days, plural, =1 {dan} other {# dni} }", - "hours": "{ hours, plural, =0 {hour} =1 {1 hour} other {# hours} }", - "minutes": "{ minute, plural, =0 {minute} =1 {1 minuta} other {# minut} }", - "seconds": "{ seconds, plural, =0 {second} =1 {1 second} other {# seconds} }", - "realtime": "V realnem času", - "history": "Zgodovina", - "last-prefix": "zadnji", - "period": "od {{ startTime }} do {{ endTime }}", - "edit": "Uredi časovno okno", - "date-range": "Časovno obdobje", - "last": "Zadnji", - "time-period": "Časovno obdobje", - "hide": "Skrij" - }, - "user": { - "user": "Uporabnik", - "users": "Uporabniki", - "customer-users": "Uporabniki kupcev", - "tenant-admins": "Skrbniki najemnikov", - "sys-admin": "Sistemski administrator", - "tenant-admin": "Skrbnik najemnika", - "customer": "Stranka", - "anonymous": "Anonimno", - "add": "Dodaj uporabnika", - "delete": "Izbriši uporabnika", - "add-user-text": "Dodaj novega uporabnika", - "no-users-text": "Uporabnikov ni bilo mogoče najti", - "user-details": "Podrobnosti o uporabniku", - "delete-user-title": "Ali ste prepričani, da želite izbrisati uporabnika '{{userEmail}}'?", - "delete-user-text": "Previdno, po potrditvi bodo uporabnik in vsi povezani podatki nepopravljivi.", - "delete-users-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 user} other {# users} }?", - "delete-users-action-title": "Izbriši { count, plural, =1 {1 user} other {# users} }", - "delete-users-text": "Previdno, po potrditvi bodo vsi izbrani uporabniki odstranjeni in vsi povezani podatki nepopravljivi.", - "activation-email-sent-message": "Aktivacijsko e-poštno sporočilo je bilo uspešno poslano!", - "resend-activation": "Znova pošlji aktivacijo", - "email": "E-pošta", - "email-required": "E-pošta je obvezna.", - "invalid-email-format": "Neveljavna oblika e-pošte.", - "first-name": "Ime", - "last-name": "Priimek", - "description": "Opis", - "default-dashboard": "Privzeta nadzorna plošča", - "always-fullscreen": "Vedno v celozaslonskem načinu", - "select-user": "Izberi uporabnika", - "no-users-matching": "Najti ni bilo mogoče nobenega uporabnika, ki se ujema z '{{entity}}'.", - "user-required": "Uporabnik je potreben", - "activation-method": "Način aktiviranja", - "display-activation-link": "Prikaži aktivacijsko povezavo", - "send-activation-mail": "Pošlji aktivacijsko pošto", - "activation-link": "Povezava za aktiviranje uporabnika", - "activation-link-text": "Če želite uporabnika aktivirati, uporabite naslednjo aktivacijsko povezavo :", - "copy-activation-link": "Kopiraj aktivacijsko povezavo", - "activation-link-copied-message": "Povezava za aktiviranje uporabnika je bila kopirana v odložišče", - "details": "Podrobnosti", - "login-as-tenant-admin": "Prijava kot skrbnik najemnika", - "login-as-customer-user": "Prijavi se kot uporabnik stranke", - "search": "Iskanje uporabnikov", - "selected-users": "{ count, plural, =1 {1 user} other {# users} } izbranih", - "disable-account": "Onemogoči uporabniški račun", - "enable-account": "Omogoči uporabniški račun", - "enable-account-message": "Uporabniški račun je bil uspešno omogočen!", - "disable-account-message": "Uporabniški račun je bil uspešno onemogočen!" - }, - "value": { - "type": "Vrsta vrednosti", - "string": "Niz", - "string-value": "Vrednost niza", - "string-value-required": "Vrednost niza je potrebna", - "integer": "Celota", - "integer-value": "Celotna vrednost", - "integer-value-required": "Zahtevana je celoštevilčna vrednost", - "invalid-integer-value": "Neveljavna celoštevilska vrednost", - "double": "Podvojeno", - "double-value": "Podvojena vrednost", - "double-value-required": "Zahtevana je podvojena vrednost", - "boolean": "Logično", - "boolean-value": "Logična vrednost", - "false": "Napačno", - "true": "Pravilno", - "long": "Dolgo", - "json": "JSON", - "json-value": "Vrednost JSON", - "json-value-invalid": "Vrednost JSON ima neveljavno obliko", - "json-value-required": "Vrednost JSON je potrebna." - }, - "widget": { - "widget-library": "Knjižnica pripomočkov", - "widget-bundle": "Paket pripomočkov", - "select-widgets-bundle": "Izberi paket pripomočkov", - "management": "Upravljanje pripomočkov", - "editor": "Urejevalnik pripomočkov", - "widget-type-not-found": "Težava pri nalaganju konfiguracije pripomočka.
    Verjetno je bil povezan tip pripomočka odstranjen.", - "widget-type-load-error": "Pripomoček ni bil naložen zaradi naslednjih napak:", - "remove": "Odstrani pripomoček", - "edit": "Uredi pripomoček", - "remove-widget-title": "Ali ste prepričani, da želite odstraniti pripomoček '{{widgetTitle}}'?", - "remove-widget-text": "Po potrditvi bodo pripomoček in vsi povezani podatki nepopravljivi.", - "timeseries": "Časovne serije", - "search-data": "Iskanje podatkov", - "no-data-found": "Podatkov ni mogoče najti", - "latest": "Najnovejše vrednosti", - "rpc": "Nadzorni pripomoček", - "alarm": "Pripomoček za alarm", - "static": "Statični pripomoček", - "select-widget-type": "Izberi vrsto pripomočka", - "missing-widget-title-error": "Navesti je treba pripomoček!", - "widget-saved": "Pripomoček je shranjen", - "unable-to-save-widget-error": "Pripomočka ni mogoče shraniti! V pripomočku so napake!", - "save": "Shrani pripomoček", - "saveAs": "Shrani pripomoček kot", - "save-widget-type-as": "Shrani vrsto pripomočka kot", - "save-widget-type-as-text": "Vnesite nov naslov pripomočka in / ali izberite paket ciljnih pripomočkov", - "toggle-fullscreen": "Preklop na celozaslonski način", - "run": "Zaženi pripomoček", - "title": "Naslov pripomočka", - "title-required": "Naslov pripomočka je obvezen.", - "type": "Vrsta pripomočka", - "resources": "Viri", - "resource-url": "URL JavaScript / CSS", - "remove-resource": "Odstrani vir", - "add-resource": "Dodaj vir", - "html": "HTML", - "tidy": "Urejeno", - "css": "CSS", - "settings-schema": "Shema nastavitev", - "datakey-settings-schema": "Shema nastavitev podatkovnega ključa", - "javascript": "Javascript", - "js": "JS", - "add-widget-type": "Dodaj novo vrsto pripomočka", - "widget-template-load-failed-error": "Predloge pripomočka ni bilo mogoče naložiti!", - "add": "Dodaj pripomoček", - "undo": "Razveljavi spremembe pripomočka", - "export": "Izvozi pripomoček", - "no-data": "Na pripomočku ni podatkov za prikaz", - "data-overflow": "Pripomoček prikazuje {{count}} od {{total}} entitet", - "alarm-data-overflow": "Pripomoček prikazuje alarme za {{allowedEntities}} (največ dovoljenih) entitet od {{totalEntities}} entitet" - }, - "widget-action": { - "header-button": "Gumb glave pripomočka", - "open-dashboard-state": "Pomakni se do novega stanja na nadzorni plošči", - "update-dashboard-state": "Posodobi trenutno stanje nadzorne plošče", - "open-dashboard": "Pomakni se na drugo nadzorno ploščo", - "custom": "Dejanje po meri", - "custom-pretty": "Dejanje po meri (s predlogo HTML)", - "target-dashboard-state": "Ciljno stanje nadzorne plošče", - "target-dashboard-state-required": "Ciljno stanje nadzorne plošče je potrebno", - "set-entity-from-widget": "Nastavi entiteto iz pripomočka", - "target-dashboard": "Ciljna nadzorna plošča", - "open-right-layout": "Odpri pravilno postavitev nadzorne plošče (mobilni pogled)" - }, - "widgets-bundle": { - "current": "Trenutni paketi", - "widgets-bundles": "Paketi pripomočkov", - "add": "Dodaj paket pripomočkov", - "delete": "Izbriši paket pripomočkov", - "title": "Naslov", - "title-required": "Naslov je obvezen.", - "add-widgets-bundle-text": "Dodaj nov paket pripomočkov", - "no-widgets-bundles-text": "Najden ni bil noben paket pripomočkov", - "empty": "Paket pripomočkov je prazen", - "details": "Podrobnosti", - "widgets-bundle-details": "Podrobnosti o paketu pripomočkov", - "delete-widgets-bundle-title": "Ali ste prepričani, da želite izbrisati paket pripomočkov '{{widgetsBundleTitle}}'?", - "delete-widgets-bundle-text": "Bodite previdni, po potrditvi bodo pripomočki in vsi povezani podatki postali nepopravljivi.", - "delete-widgets-bundles-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 widgets bundle} other {# widgets bundles} }?", - "delete-widgets-bundles-action-title": "Izbriši { count, plural, =1 {1 widgets bundle} other {# widgets bundles} }", - "delete-widgets-bundles-text": "Bodite previdni, po potrditvi bodo odstranjeni vsi paketi pripomočkov, vsi povezani podatki pa bodo postali nepopravljivi.", - "no-widgets-bundles-matching": "Najden ni bil noben paket pripomočkov, ki se ujema z '{{widgetsBundle}}'.", - "widgets-bundle-required": "Paket pripomočkov je potreben.", - "system": "Sistem", - "import": "Uvozi paket pripomočkov", - "export": "Izvozi paket pripomočkov", - "export-failed-error": "Ni mogoče izvoziti paketa pripomočkov: {{error}}", - "create-new-widgets-bundle": "Ustvari nov paket pripomočkov", - "widgets-bundle-file": "Datoteka paketa pripomočkov", - "invalid-widgets-bundle-file-error": "Ni mogoče uvoziti paketa pripomočkov: neveljavna podatkovna struktura paketa pripomočkov.", - "search": "Iskanje po paketih pripomočkov", - "selected-widgets-bundles": "{ count, plural, =1 {1 widgets bundle} other {# widgets bundles} } izbranih", - "open-widgets-bundle": "Odpri paket pripomočkov" - }, - "widget-config": { - "data": "Podatki", - "settings": "Nastavitve", - "advanced": "Napredno", - "title": "Naslov", - "title-tooltip": "Opis naslova", - "general-settings": "Splošne nastavitve", - "display-title": "Prikaži naslov", - "drop-shadow": "Spusti senco", - "enable-fullscreen": "Omogoči celozaslonski način", - "background-color": "Barva ozadja", - "text-color": "Barva besedila", - "padding": "Oblazinjenje", - "margin": "Stopnja", - "widget-style": "Slog pripomočkov", - "title-style": "Slog naslova", - "mobile-mode-settings": "Nastavitve mobilnega načina", - "order": "Naročilo", - "height": "Višina", - "units": "Poseben simbol za prikaz poleg vrednosti", - "decimals": "Število številk po plavajoči vejici", - "timewindow": "Časovno okno", - "use-dashboard-timewindow": "Uporabi časovno okno nadzorne plošče", - "display-timewindow": "Prikaži časovno okno", - "display-legend": "Prikaži legendo", - "datasources": "Viri podatkov", - "maximum-datasources": "Največ { count, plural, =1 {1 vir podatkov je dovoljen.} other {# vir podatkov je dovoljen} }", - "datasource-type": "Vrsta", - "datasource-parameters": "Parametri", - "remove-datasource": "Odstrani vir podatkov", - "add-datasource": "Dodaj vir podatkov", - "target-device": "Ciljna naprava", - "alarm-source": "Vir alarma", - "actions": "Dejanja", - "action": "Dejanje", - "add-action": "Dodaj dejanje", - "search-actions": "Iskanje dejanj", - "no-actions-text": "Ni najdenih dejanj", - "action-source": "Vir dejanja", - "action-source-required": "Zahtevan je vir dejanj.", - "action-name": "Ime", - "action-name-required": "Ime dejanja je obvezno.", - "action-name-not-unique": "Še eno dejanje z istim imenom že obstaja. \n Ime dejanja mora biti enolično v istem viru dejanj.", - "action-icon": "Ikona", - "action-type": "Vrsta", - "action-type-required": "Zahtevana je vrsta dejanja.", - "edit-action": "Uredi dejanje", - "delete-action": "Izbriši dejanje", - "delete-action-title": "Izbriši dejanje pripomočka", - "delete-action-text": "Ali ste prepričani, da želite izbrisati dejanje pripomočka z imenom '{{actionName}}'?", - "display-icon": "Prikaži ikono naslova", - "icon-color": "Barva ikone", - "icon-size": "Velikost ikone" - }, - "widget-type": { - "import": "Uvozi vrsto pripomočka", - "export": "Izvozi vrsto pripomočka", - "export-failed-error": "Ni mogoče izvoziti vrste pripomočka: {{error}}", - "create-new-widget-type": "Ustvari novo vrsto pripomočka", - "widget-type-file": "Datoteka vrste pripomočka", - "invalid-widget-type-file-error": "Ne morem uvoziti vrste gradnika: Neveljavna struktura podatkov vrste pripomočka." - }, - "widgets": { - "date-range-navigator": { - "localizationMap": { - "Sun": "Ned", - "Mon": "Pon", - "Tue": "Tor", - "Wed": "Sre", - "Thu": "Čet", - "Fri": "Pet", - "Sat": "Sob", - "Jan": "Jan", - "Feb": "Feb", - "Mar": "Mar", - "Apr": "Apr", - "May": "Maj", - "Jun": "Jun", - "Jul": "Jul", - "Aug": "Avg", - "Sep": "Sep", - "Oct": "Okt", - "Nov": "Nov", - "Dec": "Dec", - "January": "Januar", - "February": "Februar", - "March": "Marec", - "April": "April", - "June": "Junij", - "July": "Julij", - "August": "Avgust", - "September": "September", - "October": "Oktober", - "November": "November", - "December": "December", - "Custom Date Range": "Časovno obdobje po meri", - "Date Range Template": "Predloga časovnega obdobja", - "Today": "Danes", - "Yesterday": "Včeraj", - "This Week": "Ta teden", - "Last Week": "Prejšnji teden", - "This Month": "Ta mesec", - "Last Month": "Prejšnji mesec", - "Year": "Leto", - "This Year": "To leto", - "Last Year": "Lansko leto", - "Date picker": "Izbirnik datuma", - "Hour": "Ura", - "Day": "Dan", - "Week": "Teden", - "2 weeks": "2 tedna", - "Month": "Mesec", - "3 months": "3 mesece", - "6 months": "6 mesecev", - "Custom interval": "Interval po meri", - "Interval": "Interval", - "Step size": "Velikost koraka", - "Ok": "V redu" - } - }, - "input-widgets": { - "attribute-not-allowed": "Parametra atributa v tem pripomočku ni mogoče uporabiti", - "blocked-location": "Geolokacija je blokirana v vašem brskalniku", - "claim-device": "Zahtevaj napravo", - "claim-failed": "Naprave ni bilo mogoče zahtevati!", - "claim-not-found": "Naprave ni mogoče najti!", - "claim-successful": "Naprava je bila uspešno zahtevana!", - "date": "Datum", - "device-name": "Ime naprave", - "device-name-required": "Ime naprave je obvezno", - "discard-changes": "Zavrzi spremembe", - "entity-attribute-required": "Zahtevan je atribut entitete", - "entity-coordinate-required": "Oba polja, zemljepisna širina in dolžina sta obvezna", - "entity-timeseries-required": "Potreben je časovni niz entitet", - "get-location": "Pridobi trenutno lokacijo", - "invalid-date": "Invalid Date", - "latitude": "Zemljepisna širina", - "longitude": "Zemljepisna dolžina", - "min-value-error": "Min value is {{value}}", - "max-value-error": "Max value is {{value}}", - "not-allowed-entity": "Izbrana entiteta ne sme imeti atributov v skupni rabi", - "no-attribute-selected": "Noben atribut ni izbran", - "no-datakey-selected": "Nobena podatkovna tipka ni izbrana", - "no-coordinate-specified": "Podatkovni ključ za zemljepisno širino / dolžino ni določen", - "no-entity-selected": "Nobena entiteta ni izbrana", - "no-image": "Ni slike", - "no-support-geolocation": "Vaš brskalnik ne podpira geolokacije", - "no-support-web-camera": "Ni podprte spletne kamere", - "enable-https-use-widget": "Please enable HTTPS to use this widget", - "no-found-your-camera": "Can't find your camera", - "no-permission-camera": "Permission was denied by the user / This site doesn't have permission to use the camera", - "no-timeseries-selected": "Izbrana ni nobena časovna serija", - "secret-key": "Skrivni ključ", - "secret-key-required": "Potreben je skrivni ključ", - "switch-attribute-value": "Preklopi vrednost atributa entitete", - "switch-camera": "Preklopi kamero", - "switch-timeseries-value": "Preklopi vrednost časovnega niza entitete", - "take-photo": "Fotografiraj", - "time": "Čas", - "timeseries-not-allowed": "V tem pripomočku ni mogoče uporabiti parametra časovne vrste", - "update-failed": "Posodobitev ni uspela", - "update-successful": "Posodobitev uspešna", - "update-attribute": "Posodobi atribut", - "update-timeseries": "Posodobi časovne vrste", - "value": "Vrednost" - } - }, - "icon": { - "icon": "Ikona", - "select-icon": "Izberi ikono", - "material-icons": "Ikone materiala", - "show-all": "Pokaži vse ikone" - }, - "custom": { - "widget-action": { - "action-cell-button": "Gumb akcijske celice", - "row-click": "Klik na vrstico", - "polygon-click": "Klik na poligon", - "marker-click": "Klik na oznako", - "tooltip-tag-action": "Dejanje oznake orodja", - "node-selected": "Na izbranem vozlišču", - "element-click": "Klik na HTML element", - "pie-slice-click": "Klik na rezino", - "row-double-click": "Dvojni klik na vrstico" - } - }, - "language": { - "language": "Jezik" - } -} +{ + "access": { + "unauthorized": "Nepooblaščeno", + "unauthorized-access": "Nepooblaščen dostop", + "unauthorized-access-text": "Za dostop do tega vira se morate prijaviti!", + "access-forbidden": "Dostop prepovedan", + "access-forbidden-text": "Za to lokacijo nimate pravic dostopa!
    Če še vedno potrebujete dostop, se poskusite prijaviti kot drug uporabnik.", + "refresh-token-expired": "Seja je potekla", + "refresh-token-failed": "Seje ni mogoče osvežiti", + "permission-denied": "Dovoljenje zavrnjeno", + "permission-denied-text": "Nimate dovoljenja za izvedbo te operacije!" + }, + "account": { + "account": "Račun", + "notification-settings": "Nastavitve obvestil" + }, + "action": { + "activate": "Aktiviraj", + "suspend": "Začasno ustavi", + "save": "Shrani", + "saveAs": "Shrani kot", + "move": "Premakni", + "cancel": "Prekliči", + "ok": "V redu", + "delete": "Izbriši", + "add": "Dodaj", + "yes": "Da", + "no": "Ne", + "update": "Posodobi", + "remove": "Odstrani", + "select": "Izberi", + "search": "Iskanje", + "clear-search": "Počisti iskanje", + "assign": "Dodeli", + "unassign": "Prekliči dodelitev", + "share": "Deli z drugimi", + "make-private": "Naredi zasebno", + "apply": "Uporabi", + "apply-changes": "Uporabi spremembe", + "edit-mode": "Način urejanja", + "enter-edit-mode": "Začni urejanje", + "decline-changes": "Zavrni spremembe", + "decline": "Zavrni", + "close": "Zapri", + "back": "Nazaj", + "run": "Zaženi", + "sign-in": "Prijavite se!", + "edit": "Uredi", + "view": "Prikaži", + "create": "Ustvari", + "drag": "Povleci", + "refresh": "Osveži", + "undo": "Razveljavi", + "copy": "Kopiraj", + "paste": "Prilepi", + "copy-reference": "Kopiraj referenco", + "paste-reference": "Prilepi referenco", + "import": "Uvozi", + "export": "Izvozi", + "share-via": "Deli prek {{provider}}", + "continue": "Nadaljuj", + "discard-changes": "Zavrzi spremembe", + "download": "Prenesi", + "next": "Naprej", + "next-with-label": "Naprej: {{label}}", + "read-more": "Preberi več", + "hide": "Skrij", + "test": "Preizkusi", + "done": "Končano", + "print": "Natisni", + "restore": "Obnovi", + "confirm": "Potrdi", + "more": "Več", + "less": "Manj", + "skip": "Preskoči", + "send": "Pošlji", + "reset": "Ponastavi", + "show-more": "Prikaži več", + "dont-show-again": "Ne prikazuj več", + "see-documentation": "Odpri dokumentacijo", + "see-debug-events": "Prikaži dogodke razhroščevanja", + "clear": "Počisti", + "upload": "Naloži", + "delete-anyway": "Vseeno izbriši", + "delete-selected": "Izbriši izbrane", + "set": "Nastavi", + "retry": "Poskusi znova" + }, + "aggregation": { + "aggregation": "Združevanje", + "function": "Funkcija združevanja podatkov", + "limit": "Največje število vrednosti", + "group-interval": "Interval združevanja", + "min": "Minimum", + "max": "Maksimum", + "avg": "Povprečje", + "sum": "Vsota", + "count": "Število", + "none": "Brez" + }, + "admin": { + "settings": "Nastavitve", + "general": "Splošno", + "general-settings": "Splošne nastavitve", + "home-settings": "Nastavitve domače strani", + "home": "Domov", + "outgoing-mail": "Poštni strežnik", + "outgoing-mail-settings": "Nastavitve strežnika za odhodno pošto", + "system-settings": "Sistemske nastavitve", + "test-mail-sent": "Preizkusno e-poštno sporočilo je bilo uspešno poslano!", + "base-url": "Izhodiščni URL", + "base-url-required": "Izhodiščni URL je obvezen.", + "prohibit-different-url": "Prepovej uporabo imena gostitelja iz glav zahteve odjemalca", + "prohibit-different-url-hint": "V produkcijskih okoljih naj bo ta nastavitev omogočena. Če je onemogočena, lahko pride do varnostnih težav", + "device-connectivity": { + "device-connectivity": "Povezljivost naprav", + "http-s": "HTTP(s)", + "mqtt-s": "MQTT(s)", + "coap-s": "COAP(s)", + "http": "HTTP", + "https": "HTTPs", + "mqtt": "MQTT", + "mqtts": "MQTTs", + "coap": "COAP", + "coaps": "COAPs", + "hint": "Če sta polji gostitelja ali vrat prazni, bo uporabljena privzeta vrednost protokola.", + "host": "Gostitelj", + "port": "Vrata", + "port-pattern": "Vrata morajo biti pozitivno celo število.", + "port-range": "Vrata morajo biti med 1 in 65535." + }, + "mail-from": "Pošiljatelj", + "mail-from-required": "Pošiljatelj je obvezen.", + "smtp-protocol": "Protokol SMTP", + "smtp-host": "Gostitelj SMTP", + "smtp-host-required": "Gostitelj SMTP je obvezen.", + "smtp-port": "Vrata SMTP", + "smtp-port-required": "Vrata SMTP so obvezna.", + "smtp-port-invalid": "Neveljavna vrata SMTP.", + "timeout-msec": "Časovna omejitev (ms)", + "timeout-required": "Časovna omejitev je obvezna.", + "timeout-invalid": "Neveljavna časovna omejitev.", + "enable-tls": "Omogoči TLS", + "tls-version": "Različica TLS", + "enable-proxy": "Omogoči posredniški strežnik", + "proxy-host": "Gostitelj posredniškega strežnika", + "proxy-host-required": "Gostitelj posredniškega strežnika je obvezen.", + "proxy-port": "Vrata posredniškega strežnika", + "proxy-port-required": "Vrata posredniškega strežnika so obvezna.", + "proxy-port-range": "Vrata posredniškega strežnika morajo biti med 1 in 65535.", + "proxy-user": "Uporabnik posredniškega strežnika", + "proxy-password": "Geslo posredniškega strežnika", + "change-password": "Spremeni geslo", + "send-test-mail": "Pošlji preizkusno e-poštno sporočilo", + "sms-provider": "Ponudnik SMS", + "sms-provider-settings": "Nastavitve ponudnika SMS", + "sms-provider-type": "Vrsta ponudnika SMS", + "sms-provider-type-required": "Vrsta ponudnika SMS je obvezna.", + "sms-provider-type-aws-sns": "Amazon SNS", + "sms-provider-type-twilio": "Twilio", + "sms-provider-type-smpp": "SMPP", + "aws-access-key-id": "ID ključa za dostop do AWS", + "aws-access-key-id-required": "ID ključa za dostop do AWS je obvezen", + "aws-secret-access-key": "Skrivni ključ za dostop do AWS", + "aws-secret-access-key-required": "Skrivni ključ za dostop do AWS je obvezen", + "aws-region": "Regija AWS", + "aws-region-required": "Regija AWS je obvezna", + "number-from": "Telefonska številka pošiljatelja", + "number-from-required": "Telefonska številka pošiljatelja je obvezna.", + "number-to": "Telefonska številka prejemnika", + "number-to-required": "Telefonska številka prejemnika je obvezna.", + "phone-number-hint": "Telefonska številka v obliki E.164, npr. +19995550123", + "phone-number-hint-twilio": "Telefonska številka v obliki E.164/SID telefonske številke/SID storitve za sporočanje, npr. +19995550123/PNXXX/MGXXX", + "phone-number-pattern": "Neveljavna telefonska številka. Mora biti v obliki E.164, npr. +19995550123.", + "phone-number-pattern-twilio": "Neveljavna telefonska številka. Mora biti v obliki E.164/SID telefonske številke/SID storitve za sporočanje, npr. +19995550123/PNXXX/MGXXX.", + "sms-message": "Sporočilo SMS", + "sms-message-required": "Sporočilo SMS je obvezno.", + "sms-message-max-length": "Sporočilo SMS ne sme biti daljše od 1600 znakov", + "twilio-account-sid": "SID računa Twilio", + "twilio-account-sid-required": "SID računa Twilio je obvezen", + "twilio-account-token": "Žeton računa Twilio", + "twilio-account-token-required": "Žeton računa Twilio je obvezen", + "send-test-sms": "Pošlji preizkusni SMS", + "test-sms-sent": "Preizkusni SMS je bil uspešno poslan!", + "security-settings": "Varnostne nastavitve", + "password-policy": "Politika gesel", + "minimum-password-length": "Najmanjša dolžina gesla", + "minimum-password-length-required": "Najmanjša dolžina gesla je obvezna", + "minimum-password-length-range": "Najmanjša dolžina gesla mora biti med 6 in 50 znaki", + "maximum-password-length": "Največja dolžina gesla", + "maximum-password-length-min": "Največja dovoljena dolžina gesla mora biti najmanj 6 znakov", + "maximum-password-length-less-min": "Največja dolžina gesla mora biti večja od najmanjše dolžine", + "minimum-uppercase-letters": "Najmanjše število velikih črk", + "minimum-uppercase-letters-range": "Najmanjše število velikih črk ne sme biti negativno", + "minimum-lowercase-letters": "Najmanjše število malih črk", + "minimum-lowercase-letters-range": "Najmanjše število malih črk ne sme biti negativno", + "minimum-digits": "Najmanjše število števk", + "minimum-digits-range": "Najmanjše število števk ne sme biti negativno", + "minimum-special-characters": "Najmanjše število posebnih znakov", + "minimum-special-characters-range": "Najmanjše število posebnih znakov ne sme biti negativno", + "password-expiration-period-days": "Obdobje veljavnosti gesla v dnevih", + "password-expiration-period-days-range": "Obdobje veljavnosti gesla v dnevih ne sme biti negativno", + "password-reuse-frequency-days": "Pogostost ponovne uporabe gesla v dnevih", + "password-reuse-frequency-days-range": "Pogostost ponovne uporabe gesla v dnevih ne sme biti negativna", + "allow-whitespace": "Dovoli presledke", + "force-reset-password-if-no-valid": "Vsili ponastavitev gesla, če geslo ni veljavno", + "force-reset-password-if-no-valid-hint": "Pozor! Če omogočite to funkcijo, bodo morali uporabniki z neveljavnim geslom ponastaviti geslo prek e-pošte.", + "general-policy": "Splošna politika", + "max-failed-login-attempts": "Največje število neuspešnih poskusov prijave, preden se račun zaklene", + "minimum-max-failed-login-attempts-range": "Največje število neuspešnih poskusov prijave ne sme biti negativno", + "user-lockout-notification-email": "E-poštni naslov za obvestilo o zaklenitvi uporabniškega računa", + "user-activation-token-ttl": "Veljavnost povezave za aktivacijo uporabnika v urah", + "user-activation-token-ttl-range": "Veljavnost povezave za aktivacijo uporabnika mora biti med 1 in 24 urami", + "password-reset-token-ttl": "Veljavnost povezave za ponastavitev gesla v urah", + "password-reset-token-ttl-range": "Veljavnost povezave za ponastavitev gesla mora biti med 1 in 24 urami", + "mobile-secret-key-length": "Dolžina skrivnega ključa za mobilno aplikacijo", + "mobile-secret-key-length-range": "Dolžina skrivnega ključa za mobilno aplikacijo mora biti pozitivna", + "domain-name": "Ime domene", + "domain-name-unique": "Kombinacija imena domene in protokola mora biti enolična.", + "domain-name-max-length": "Ime domene mora biti krajše od 256 znakov", + "error-verification-url": "Ime domene ne sme vsebovati znakov »/« in »:«. Primer: thingsboard.io", + "connection-settings": "Nastavitve povezav", + "oauth2": { + "access-token-uri": "URI žetona za dostop", + "access-token-uri-required": "URI žetona za dostop je obvezen.", + "activate-user": "Aktiviraj uporabnika", + "add-domain": "Dodaj domeno", + "delete-domain": "Izbriši domeno", + "add-provider": "Dodaj ponudnika", + "delete-provider": "Izbriši ponudnika", + "allow-user-creation": "Dovoli ustvarjanje uporabnikov", + "always-fullscreen": "Vedno v celozaslonskem načinu", + "authorization-uri": "URI za avtorizacijo", + "authorization-uri-required": "URI za avtorizacijo je obvezen.", + "add-client": "Dodaj odjemalca OAuth 2.0", + "client-details": "Podrobnosti odjemalca OAuth 2.0", + "client": "Odjemalec OAuth 2.0", + "clients": "Odjemalci OAuth 2.0", + "no-oauth2-clients": "Ni najdenih odjemalcev OAuth 2.0", + "search-oauth2-clients": "Iskanje odjemalcev OAuth 2.0", + "delete-client-title": "Ali ste prepričani, da želite izbrisati odjemalca OAuth 2.0 »{{clientName}}«?", + "delete-client-text": "Pozor! Ko potrdite, odjemalca in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-mobile-app-title": "Ali ste prepričani, da želite izbrisati mobilno aplikacijo »{{applicationName}}«?", + "delete-mobile-app-text": "Pozor! Ko potrdite, mobilne aplikacije in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "title": "Naslov", + "client-title-required": "Naslov je obvezen", + "client-title-max-length": "Naslov mora biti krajši od 100 znakov", + "advanced-settings": "Napredne nastavitve", + "domain-details": "Podrobnosti domene", + "no-domains": "Ni najdenih domen", + "search-domains": "Iskanje domen", + "mobile-app-details": "Podrobnosti mobilne aplikacije", + "add-mobile-app": "Dodaj mobilno aplikacijo", + "no-mobile-apps": "Ni najdenih mobilnih aplikacij", + "search-mobile-apps": "Iskanje mobilnih aplikacij", + "send-token": "Pošlji žeton", + "create-new": "Ustvari novo", + "client-authentication-method": "Način avtentikacije odjemalca", + "client-id": "ID odjemalca", + "client-id-required": "ID odjemalca je obvezen.", + "client-id-max-length": "ID odjemalca mora biti krajši od 256 znakov", + "client-secret": "Skrivnost odjemalca", + "client-secret-required": "Skrivnost odjemalca je obvezna.", + "client-secret-max-length": "Skrivnost odjemalca mora biti krajša od 2049 znakov", + "custom-setting": "Nastavitve po meri", + "customer-name-pattern": "Vzorec imena stranke", + "customer-name-pattern-max-length": "Vzorec imena stranke mora biti krajši od 256 znakov", + "default-dashboard-name": "Privzeto ime nadzorne plošče", + "default-dashboard-name-max-length": "Privzeto ime nadzorne plošče mora biti krajše od 256 znakov", + "delete-domain-text": "Pozor! Ko potrdite, bodo domena in vsi podatki ponudnikov nedostopni.", + "delete-domain-title": "Ali ste prepričani, da želite izbrisati domeno »{{domainName}}«?", + "delete-registration-text": "Pozor! Ko potrdite, bodo podatki ponudnika nedostopni.", + "delete-registration-title": "Ali ste prepričani, da želite izbrisati ponudnika »{{name}}«?", + "email-attribute-key": "Ključ atributa e-pošte", + "email-attribute-key-required": "Ključ atributa e-pošte je obvezen.", + "email-attribute-key-max-length": "Ključ atributa e-pošte mora biti krajši od 32 znakov", + "first-name-attribute-key": "Ključ atributa imena", + "first-name-attribute-key-max-length": "Ključ atributa imena mora biti krajši od 32 znakov", + "general": "Splošno", + "jwk-set-uri": "JSON Web Key URI", + "last-name-attribute-key": "Ključ atributa priimka", + "last-name-attribute-key-max-length": "Ključ atributa priimka mora biti krajši od 32 znakov", + "login-button-icon": "Ikona gumba za prijavo", + "login-button-label": "Oznaka ponudnika", + "login-button-label-placeholder": "Prijava prek $(Provider label)", + "login-button-label-required": "Oznaka je obvezna.", + "login-provider": "Ponudnik prijave", + "mapper": "Preslikovalnik", + "new-domain": "Nova domena", + "oauth2": "OAuth 2.0", + "password-max-length": "Geslo mora biti krajše od 256 znakov", + "redirect-uri-template": "Predloga URI za preusmeritev", + "copy-redirect-uri": "Kopiraj URI za preusmeritev", + "registration-id": "ID registracije", + "registration-id-required": "ID registracije je obvezen.", + "registration-id-unique": "ID registracije mora biti v sistemu enoličen.", + "scope": "Obseg", + "scope-required": "Obseg je obvezen.", + "tenant-name-pattern": "Vzorec imena najemnika", + "tenant-name-pattern-required": "Vzorec imena najemnika je obvezen.", + "tenant-name-pattern-max-length": "Vzorec imena najemnika mora biti krajši od 256 znakov", + "tenant-name-strategy": "Strategija imena najemnika", + "type": "Vrsta preslikovalnika", + "uri-pattern-error": "Neveljavna oblika URI.", + "url": "URL", + "url-pattern": "Neveljavna oblika URL.", + "url-required": "URL je obvezen.", + "url-max-length": "URL mora biti krajši od 256 znakov", + "user-info-uri": "URI podatkov o uporabniku", + "user-info-uri-required": "URI podatkov o uporabniku je obvezen.", + "username-max-length": "Uporabniško ime mora biti krajše od 256 znakov", + "user-name-attribute-name": "Ključ atributa uporabniškega imena", + "user-name-attribute-name-required": "Ključ atributa uporabniškega imena je obvezen", + "protocol": "Protokol", + "domain-schema-http": "HTTP", + "domain-schema-https": "HTTPS", + "domain-schema-mixed": "HTTP+HTTPS", + "enable": "Omogoči nastavitve OAuth 2.0", + "disable": "Onemogoči nastavitve OAuth 2.0", + "edge": "Posreduj instancam Edge", + "edge-enable": "Omogoči posredovanje instancam Edge", + "edge-disable": "Onemogoči posredovanje instancam Edge", + "domains": "Domene", + "mobile-apps": "Mobilne aplikacije", + "mobile-package": "Paket aplikacije", + "mobile-package-placeholder": "Npr.: my.example.app", + "mobile-package-hint": "Za Android: enolični ID aplikacije. Za iOS: identifikator paketa izdelka.", + "mobile-package-unique": "Paket aplikacije mora biti enoličen.", + "mobile-package-required": "Paket aplikacije je obvezen.", + "mobile-package-max-length": "Paket aplikacije mora biti krajši od 256 znakov", + "mobile-package-spaces": "Paket aplikacije ne sme vsebovati presledkov", + "mobile-app-secret": "Skrivnost aplikacije", + "mobile-app-secret-hint": "Niz, kodiran v Base64, ki predstavlja najmanj 512 bitov podatkov.", + "mobile-app-secret-required": "Skrivnost aplikacije je obvezna.", + "mobile-app-secret-min-length": "Skrivnost aplikacije mora vsebovati najmanj 512 bitov podatkov.", + "mobile-app-secret-base64": "Skrivnost aplikacije mora biti v obliki Base64.", + "invalid-mobile-app-secret": "Skrivnost aplikacije sme vsebovati le alfanumerične znake in mora biti dolga med 16 in 2048 znaki.", + "copy-mobile-app-secret": "Kopiraj skrivnost aplikacije", + "delete-mobile-app": "Izbriši podatke aplikacije", + "providers": "Ponudniki", + "platform-web": "Splet", + "platform-android": "Android", + "platform-ios": "iOS", + "all-platforms": "Vse platforme", + "smtp-provider": "Ponudnik SMTP", + "allowed-platforms": "Dovoljene platforme", + "authentication": "Avtentikacija", + "basic": "Osnovno", + "provider": "Ponudnik", + "redirect-url": "URI za preusmeritev", + "domain-name": "Ime domene", + "domain-name-required": "Ime domene je obvezno", + "redirect-url-template": "Predloga URI za preusmeritev", + "microsoft-tenant-id": "ID imenika (najemnika)", + "microsoft-tenant-id-required": "ID imenika (najemnika) je obvezen", + "token-uri": "URI žetona", + "token-uri-required": "URI žetona je obvezen", + "redirect-uri": "URI za preusmeritev", + "google-provider": "Google", + "microsoft-provider": "Office 365", + "sendgrid-provider": "Sendgrid", + "custom-provider": "Po meri", + "generate-access-token": "Ustvari žeton za dostop", + "update-access-token": "Posodobi žeton za dostop", + "access-token-status": "Stanje žetona za dostop:", + "token-status-generated": "ustvarjen", + "token-status-not-generated": "ni ustvarjen" + }, + "smpp-provider": { + "smpp-version": "Različica SMPP", + "smpp-host": "Gostitelj SMPP", + "smpp-host-required": "Gostitelj SMPP je obvezen", + "smpp-port": "Vrata SMPP", + "smpp-port-required": "Vrata SMPP so obvezna", + "system-id": "ID sistema", + "system-id-required": "ID sistema je obvezen", + "password": "Geslo", + "password-required": "Geslo je obvezno", + "type-settings": "Nastavitve vrste", + "source-settings": "Nastavitve vira", + "destination-settings": "Nastavitve cilja", + "additional-settings": "Dodatne nastavitve", + "system-type": "Vrsta sistema", + "bind-type": "Vrsta vezave", + "service-type": "Vrsta storitve", + "source-address": "Izvorni naslov", + "source-ton": "Izvorni TON", + "source-npi": "Izvorni NPI", + "destination-ton": "Ciljni TON (vrsta številke)", + "destination-npi": "Ciljni NPI (identifikacija načrta številčenja)", + "address-range": "Obseg naslovov", + "coding-scheme": "Shema kodiranja", + "bind-type-tx": "Oddajnik", + "bind-type-rx": "Sprejemnik", + "bind-type-trx": "Oddajnik in sprejemnik", + "ton-unknown": "Neznano", + "ton-international": "Mednarodno", + "ton-national": "Nacionalno", + "ton-network-specific": "Specifično za omrežje", + "ton-subscriber-number": "Naročniška številka", + "ton-alphanumeric": "Alfanumerično", + "ton-abbreviated": "Skrajšano", + "npi-unknown": "0 - Neznano", + "npi-isdn": "1 - Načrt številčenja ISDN/telefonije (E163/E164)", + "npi-data-numbering-plan": "3 - Podatkovni načrt številčenja (X.121)", + "npi-telex-numbering-plan": "4 - Teleksni načrt številčenja (F.69)", + "npi-land-mobile": "6 - Kopenski mobilni (E.212)", + "npi-national-numbering-plan": "8 - Nacionalni načrt številčenja", + "npi-private-numbering-plan": "9 - Zasebni načrt številčenja", + "npi-ermes-numbering-plan": "10 - Načrt številčenja ERMES (ETSI DE/PS 3 01-3)", + "npi-internet": "13 - Internet (IP)", + "npi-wap-client-id": "18 - ID odjemalca WAP (določi WAP Forum)", + "scheme-smsc": "0 - Privzeta abeceda SMSC (ASCII za kratke in dolge kode ter GSM za brezplačne številke)", + "scheme-ia5": "1 - IA5 (ASCII za kratke in dolge kode, Latin 9 za brezplačne številke (ISO-8859-9))", + "scheme-octet-unspecified-2": "2 - Nedoločen oktet (8-bitni binarni zapis)", + "scheme-latin-1": "3 - Latin 1 (ISO-8859-1)", + "scheme-octet-unspecified-4": "4 - Nedoločen oktet (8-bitni binarni zapis)", + "scheme-jis": "5 - JIS (X 0208-1990)", + "scheme-cyrillic": "6 - Cirilica (ISO-8859-5)", + "scheme-latin-hebrew": "7 - Latinica/hebrejščina (ISO-8859-8)", + "scheme-ucs-utf": "8 - UCS2/UTF-16 (ISO/IEC-10646)", + "scheme-pictogram-encoding": "9 - Kodiranje piktogramov", + "scheme-music-codes": "10 - Glasbene kode (ISO-2022-JP)", + "scheme-extended-kanji-jis": "13 - Razširjeni Kanji JIS (X 0212-1990)", + "scheme-korean-graphic-character-set": "14 - Korejski grafični nabor znakov (KS C 5601/KS X 1001)" + }, + "queue-select-name": "Izberite ime čakalne vrste", + "queue-name": "Ime", + "queue-name-required": "Ime čakalne vrste je obvezno!", + "queues": "Čakalne vrste", + "queue-partitions": "Particije", + "queue-submit-strategy": "Strategija oddaje", + "queue-processing-strategy": "Strategija obdelave", + "queue-configuration": "Konfiguracija čakalne vrste", + "repository-settings": "Nastavitve repozitorija", + "repository": "Repozitorij", + "repository-url": "URL repozitorija", + "repository-url-required": "URL repozitorija je obvezen.", + "default-branch": "Ime privzete veje", + "repository-read-only": "Samo za branje", + "show-merge-commits": "Prikaži uveljavitve združitev", + "authentication-settings": "Nastavitve avtentikacije", + "auth-method": "Način avtentikacije", + "auth-method-username-password": "Geslo / žeton za dostop", + "auth-method-username-password-hint": "Uporabniki storitve GitHub morajo uporabiti žetone za dostop z dovoljenjem za pisanje v repozitorij.", + "auth-method-private-key": "Zasebni ključ", + "password-access-token": "Geslo / žeton za dostop", + "change-password-access-token": "Spremeni geslo / žeton za dostop", + "private-key": "Zasebni ključ", + "drop-private-key-file-or": "Povlecite in spustite datoteko zasebnega ključa ali", + "passphrase": "Geselna fraza", + "enter-passphrase": "Vnesite geselno frazo", + "change-passphrase": "Spremeni geselno frazo", + "check-access": "Preveri dostop", + "check-repository-access-success": "Dostop do repozitorija je uspešno preverjen!", + "delete-repository-settings-title": "Ali ste prepričani, da želite izbrisati nastavitve repozitorija?", + "delete-repository-settings-text": "Pozor! Ko potrdite, bodo nastavitve repozitorija odstranjene, funkcija nadzora različic pa ne bo na voljo.", + "auto-commit-settings": "Nastavitve samodejne uveljavitve", + "auto-commit": "Samodejna uveljavitev", + "auto-commit-entities": "Entitete za samodejno uveljavitev", + "no-auto-commit-entities-prompt": "Ni entitet, konfiguriranih za samodejno uveljavitev", + "delete-auto-commit-settings-title": "Ali ste prepričani, da želite izbrisati nastavitve samodejne uveljavitve?", + "delete-auto-commit-settings-text": "Pozor! Ko potrdite, bodo nastavitve samodejne uveljavitve odstranjene, samodejna uveljavitev pa bo onemogočena za vse entitete.", + "mobile-app": { + "mobile-app": "Mobilna aplikacija", + "mobile-app-qr-code-widget-settings": "Nastavitve gradnika s kodo QR za mobilno aplikacijo", + "applications": "Aplikacije", + "default": "Privzeto", + "custom": "Po meri", + "android": "Android", + "ios": "iOS", + "appearance": "Videz", + "appearance-on-home-page": "Videz na domači strani", + "enabled": "Omogočeno", + "disabled": "Onemogočeno", + "badges": "Značke", + "label": "Oznaka", + "label-required": "Oznaka je obvezna", + "label-max-length": "Oznaka ne sme biti daljša od 50 znakov", + "right": "Desno", + "left": "Levo", + "set": "Nastavi", + "preview": "Predogled", + "connect-mobile-app": "Poveži mobilno aplikacijo", + "use-system-settings": "Uporabi sistemske nastavitve" + }, + "2fa": { + "2fa": "Dvostopenjska avtentikacija", + "available-providers": "Razpoložljivi ponudniki", + "available-providers-required": "Konfiguriran mora biti vsaj en ponudnik 2FA.", + "issuer-name": "Ime izdajatelja", + "issuer-name-required": "Ime izdajatelja je obvezno.", + "max-verification-failures-before-user-lockout": "Največje število neuspešnih preverjanj, preden se uporabniški račun zaklene", + "max-verification-failures-before-user-lockout-pattern": "Največje število neuspešnih preverjanj mora biti pozitivno celo število.", + "number-of-checking-attempts": "Število poskusov preverjanja", + "number-of-checking-attempts-pattern": "Število poskusov preverjanja mora biti pozitivno celo število.", + "number-of-checking-attempts-required": "Število poskusov preverjanja je obvezno.", + "number-of-codes": "Število kod", + "number-of-codes-pattern": "Število kod mora biti pozitivno celo število.", + "number-of-codes-required": "Število kod je obvezno.", + "provider": "Ponudnik", + "retry-verification-code-period": "Čas do ponovnega pošiljanja kode za preverjanje", + "retry-verification-code-period-pattern": "Najkrajši čas je 5 s", + "retry-verification-code-period-required": "Čas do ponovnega pošiljanja kode za preverjanje je obvezen.", + "total-allowed-time-for-verification": "Skupni dovoljeni čas za preverjanje", + "total-allowed-time-for-verification-pattern": "Najkrajši dovoljeni skupni čas je 60 s", + "total-allowed-time-for-verification-required": "Skupni dovoljeni čas je obvezen.", + "use-system-two-factor-auth-settings": "Uporabi sistemske nastavitve dvostopenjske avtentikacije", + "verification-code-check-rate-limit": "Omejitev pogostosti preverjanja kode", + "verification-code-lifetime": "Veljavnost kode za preverjanje", + "verification-code-lifetime-pattern": "Veljavnost kode za preverjanje mora biti pozitivno celo število.", + "verification-code-lifetime-required": "Veljavnost kode za preverjanje je obvezna.", + "verification-message-template": "Predloga sporočila za preverjanje", + "verification-limitations": "Omejitve preverjanja", + "verification-message-template-pattern": "Sporočilo za preverjanje mora vsebovati vzorec: ${code}", + "verification-message-template-required": "Predloga sporočila za preverjanje je obvezna.", + "within-time": "Časovno okno", + "within-time-pattern": "Čas mora biti pozitivno celo število.", + "within-time-required": "Čas je obvezen.", + "force-2fa": "Zahtevaj dvostopenjsko avtentikacijo", + "enforce-for": "Zahtevaj za" + }, + "jwt": { + "security-settings": "Varnostne nastavitve JWT", + "issuer-name": "Ime izdajatelja", + "issuer-name-required": "Ime izdajatelja je obvezno.", + "signings-key": "Ključ za podpisovanje", + "signings-key-hint": "Niz, kodiran v Base64, ki predstavlja najmanj 512 bitov podatkov.", + "signings-key-required": "Ključ za podpisovanje je obvezen.", + "signings-key-min-length": "Ključ za podpisovanje mora vsebovati najmanj 512 bitov podatkov.", + "signings-key-base64": "Ključ za podpisovanje mora biti v obliki Base64.", + "expiration-time": "Čas veljavnosti žetona (s)", + "expiration-time-required": "Čas veljavnosti žetona je obvezen.", + "expiration-time-max": "Najdaljši dovoljeni čas je 2147483647 sekund (68 let).", + "expiration-time-min": "Najkrajši dovoljeni čas je 60 sekund (1 minuta).", + "refresh-expiration-time": "Čas veljavnosti žetona za osvežitev (s)", + "refresh-expiration-time-required": "Čas veljavnosti žetona za osvežitev je obvezen.", + "refresh-expiration-time-max": "Najdaljši dovoljeni čas je 2147483647 sekund (68 let).", + "refresh-expiration-time-min": "Najkrajši dovoljeni čas je 900 sekund (15 minut).", + "refresh-expiration-time-less-token": "Čas veljavnosti žetona za osvežitev mora biti daljši od časa veljavnosti žetona.", + "generate-key": "Ustvari ključ", + "info-header": "Vsi uporabniki se bodo morali znova prijaviti", + "info-message": "Zaradi spremembe ključa za podpisovanje JWT bodo vsi izdani žetoni neveljavni. Vsi uporabniki se bodo morali znova prijaviti. To bo vplivalo tudi na skripte, ki uporabljajo API REST/WebSocket." + }, + "resources": "Viri", + "notifications": "Obvestila", + "notifications-settings": "Nastavitve obvestil", + "slack-api-token": "Žeton API za Slack", + "slack": "Slack", + "slack-settings": "Nastavitve za Slack", + "mobile-settings": "Nastavitve mobilne aplikacije", + "firebase-service-account-file": "Datoteka JSON s poverilnicami storitvenega računa Firebase", + "select-firebase-service-account-file": "Povlecite in spustite datoteko s poverilnicami storitvenega računa Firebase ali ", + "trendz": "Trendz", + "trendz-settings": "Nastavitve za Trendz", + "trendz-url": "URL za Trendz", + "trendz-url-required": "URL za Trendz je obvezen", + "trendz-api-key": "Ključ API za Trendz", + "trendz-enable": "Omogoči Trendz" + }, + "alarm": { + "alarm": "Alarm", + "alarm-list": "Seznam alarmov", + "alarms": "Alarmi", + "all-alarms": "Vsi alarmi", + "select-alarm": "Izberite alarm", + "no-alarms-matching": "Ni alarmov, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "alarm-required": "Alarm je obvezen", + "alarm-filter": "Filter alarmov", + "filter": "Filter", + "alarm-status": "Stanje alarma", + "alarm-status-list": "Seznam stanj alarmov", + "any-status": "Vsa stanja", + "search-status": { + "ANY": "Vsi", + "ACTIVE": "Aktiven", + "CLEARED": "Ponastavljen", + "ACK": "Potrjen", + "UNACK": "Nepotrjen" + }, + "display-status": { + "ACTIVE_UNACK": "Aktiven, nepotrjen", + "ACTIVE_ACK": "Aktiven, potrjen", + "CLEARED_UNACK": "Ponastavljen, nepotrjen", + "CLEARED_ACK": "Ponastavljen, potrjen" + }, + "no-alarms-prompt": "Ni najdenih alarmov", + "created-time": "Čas ustvarjanja", + "type": "Vrsta", + "severity": "Resnost", + "originator": "Izvor", + "originator-type": "Vrsta izvora", + "details": "Podrobnosti", + "originator-label": "Oznaka izvora", + "assign": "Dodeli", + "assignments": "Dodelitve", + "assignee": "Dodeljeni uporabnik", + "assignee-id": "ID dodeljenega uporabnika", + "assignee-first-name": "Ime dodeljenega uporabnika", + "assignee-last-name": "Priimek dodeljenega uporabnika", + "assignee-email": "E-poštni naslov dodeljenega uporabnika", + "unassigned": "Ni dodeljeno", + "user-deleted": "Izbrisan uporabnik", + "assignee-not-set": "Vsi", + "status": "Stanje", + "alarm-details": "Podrobnosti alarma", + "start-time": "Začetni čas", + "assign-time": "Čas dodelitve", + "end-time": "Končni čas", + "ack-time": "Čas potrditve", + "clear-time": "Čas ponastavitve", + "duration": "Trajanje", + "alarm-severity": "Resnost alarma", + "alarm-severity-list": "Seznam resnosti alarmov", + "any-severity": "Vse resnosti", + "severity-critical": "Kritična", + "severity-major": "Visoka", + "severity-minor": "Nizka", + "severity-warning": "Opozorilna", + "severity-indeterminate": "Nedoločena", + "acknowledge": "Potrdi", + "clear": "Ponastavi", + "delete": "Izbriši", + "search": "Iskanje alarmov", + "selected-alarms": "Izbrano: { count, plural, one {# alarm} two {# alarma} few {# alarmi} other {# alarmov} }", + "no-data": "Ni podatkov za prikaz", + "polling-interval": "Interval preverjanja alarmov (s)", + "polling-interval-required": "Interval preverjanja alarmov je obvezen.", + "min-polling-interval-message": "Najmanjši dovoljeni interval preverjanja je 1 sekunda.", + "aknowledge-alarms-title": "Potrdi { count, plural, one {# alarm} two {# alarma} few {# alarme} other {# alarmov} }", + "aknowledge-alarms-text": "Ali ste prepričani, da želite potrditi { count, plural, one {# alarm} two {# alarma} few {# alarme} other {# alarmov} }?", + "aknowledge-alarm-title": "Potrdi alarm", + "aknowledge-alarm-text": "Ali ste prepričani, da želite potrditi alarm?", + "selected-alarms-are-acknowledged": "Izbrani alarmi so že potrjeni", + "clear-alarms-title": "Ponastavi { count, plural, one {# alarm} two {# alarma} few {# alarme} other {# alarmov} }", + "clear-alarms-text": "Ali ste prepričani, da želite ponastaviti { count, plural, one {# alarm} two {# alarma} few {# alarme} other {# alarmov} }?", + "clear-alarm-title": "Ponastavi alarm", + "clear-alarm-text": "Ali ste prepričani, da želite ponastaviti alarm?", + "delete-alarms-title": "Izbriši { count, plural, one {# alarm} two {# alarma} few {# alarme} other {# alarmov} }", + "delete-alarms-text": "Ali ste prepričani, da želite izbrisati { count, plural, one {# alarm} two {# alarma} few {# alarme} other {# alarmov} }?", + "selected-alarms-are-cleared": "Izbrani alarmi so že ponastavljeni", + "alarm-status-filter": "Filter stanja alarmov", + "alarm-filter-title": "Filter alarmov", + "assigned": "Dodeljeno", + "filter-title": "Filter", + "max-count-load": "Največje število alarmov za nalaganje (0 - neomejeno)", + "max-count-load-required": "Največje število alarmov za nalaganje je obvezno.", + "max-count-load-error-min": "Najmanjša vrednost je 0.", + "fetch-size": "Velikost pridobivanja", + "fetch-size-required": "Velikost pridobivanja je obvezna.", + "fetch-size-error-min": "Najmanjša vrednost je 10.", + "alarm-types": "Vrste alarmov", + "alarm-type-list": "Seznam vrst alarmov", + "any-type": "Vse vrste", + "assigned-to-current-user": "Dodeljeno trenutnemu uporabniku", + "assigned-to-me": "Dodeljeno meni", + "search-propagated-alarms": "Vključi posredovane alarme", + "comments": "Komentarji alarma", + "show-more": "Prikaži več", + "additional-info": "Dodatne informacije", + "alarm-type": "Vrsta alarma", + "enter-alarm-type": "Vnesite vrsto alarma", + "no-alarm-types-matching": "Ni vrst alarmov, ki bi se ujemale z iskalnim nizom »{{entitySubtype}}«.", + "alarm-type-list-empty": "Ni izbranih vrst alarmov.", + "system-comments": { + "acked-by-user": "Alarm je potrdil uporabnik {{userName}}", + "cleared-by-user": "Alarm je ponastavil uporabnik {{userName}}", + "assigned-to-user": "Alarm je uporabnik {{userName}} dodelil uporabniku {{assigneeName}}", + "unassigned-to-user": "Dodelitev alarma je preklical uporabnik {{userName}}", + "unassigned-from-deleted-user": "Dodelitev alarma je bila preklicana, ker je bil uporabnik {{userName}} izbrisan", + "comment-deleted": "Komentar je izbrisal uporabnik {{userName}}", + "severity-changed": "Resnost alarma je bila spremenjena iz »{{oldSeverity}}« v »{{newSeverity}}«" + } + }, + "alarm-activity": { + "add": "Dodajte komentar...", + "alarm-comment": "Komentar alarma", + "comments": "Komentarji", + "delete-alarm-comment": "Ali želite izbrisati ta komentar?", + "refresh": "Osveži", + "oldest-first": "Najstarejši najprej", + "newest-first": "Najnovejši najprej", + "activity": "Aktivnost", + "export": "Izvozi v CSV", + "author": "Avtor", + "created-date": "Datum ustvarjanja", + "edited-date": "Datum urejanja", + "text": "Besedilo", + "system": "Sistem" + }, + "alias": { + "add": "Dodaj vzdevek", + "edit": "Uredi vzdevek", + "name": "Ime vzdevka", + "name-required": "Ime vzdevka je obvezno", + "duplicate-alias": "Vzdevek z istim imenom že obstaja.", + "filter-type-single-entity": "Posamezna entiteta", + "filter-type-entity-list": "Seznam entitet", + "filter-type-entity-name": "Ime entitete", + "filter-type-entity-type": "Vrsta entitete", + "filter-type-state-entity": "Entiteta iz stanja nadzorne plošče", + "filter-type-state-entity-description": "Entiteta, pridobljena iz parametrov stanja nadzorne plošče", + "filter-type-asset-type": "Vrsta sredstva", + "filter-type-asset-type-description": "Sredstva vrste »{{assetTypes}}«", + "filter-type-asset-type-and-name-description": "Sredstva vrste »{{assetTypes}}« z imenom, ki se začne z nizom »{{prefix}}«", + "filter-type-device-type": "Vrsta naprave", + "filter-type-device-type-description": "Naprave vrste »{{deviceTypes}}«", + "filter-type-device-type-and-name-description": "Naprave vrste »{{deviceTypes}}« z imenom, ki se začne z nizom »{{prefix}}«", + "filter-type-entity-view-type": "Vrsta pogleda entitete", + "filter-type-entity-view-type-description": "Pogledi entitet vrste »{{entityViewTypes}}«", + "filter-type-entity-view-type-and-name-description": "Pogledi entitet vrste »{{entityViewTypes}}« z imenom, ki se začne z nizom »{{prefix}}«", + "filter-type-edge-type": "Vrsta Edge-a", + "filter-type-edge-type-description": "Instance Edge vrste »{{edgeTypes}}«", + "filter-type-edge-type-and-name-description": "Instance Edge vrste »{{edgeTypes}}« z imenom, ki se začne z nizom »{{prefix}}«", + "filter-type-relations-query": "Poizvedba po relacijah", + "filter-type-relations-query-description": "{{entities}}, ki imajo {{relationType}} relacijo {{direction}} {{rootEntity}}", + "filter-type-asset-search-query": "Poizvedba za iskanje sredstev", + "filter-type-asset-search-query-description": "Sredstva vrst {{assetTypes}}, ki imajo {{relationType}} relacijo {{direction}} {{rootEntity}}", + "filter-type-device-search-query": "Poizvedba za iskanje naprav", + "filter-type-device-search-query-description": "Naprave vrst {{deviceTypes}}, ki imajo {{relationType}} relacijo {{direction}} {{rootEntity}}", + "filter-type-entity-view-search-query": "Poizvedba za iskanje pogledov entitet", + "filter-type-entity-view-search-query-description": "Pogledi entitet vrst {{entityViewTypes}}, ki imajo {{relationType}} relacijo {{direction}} {{rootEntity}}", + "filter-type-apiUsageState": "Stanje uporabe API-ja", + "filter-type-edge-search-query": "Poizvedba za iskanje instanc Edge", + "filter-type-edge-search-query-description": "Instance Edge vrst {{edgeTypes}}, ki imajo {{relationType}} relacijo {{direction}} {{rootEntity}}", + "entity-filter": "Filter entitet", + "resolve-multiple": "Razreši kot več entitet", + "resolve-multiple-hint": "Omogočite za hkratni prikaz podatkov vseh filtriranih entitet.\nČe je onemogočeno, gradnik prikaže podatke le iz izbrane entitete.", + "filter-type": "Vrsta filtra", + "filter-type-required": "Vrsta filtra je obvezna.", + "entity-filter-no-entity-matched": "Ni najdenih entitet, ki bi ustrezale navedenemu filtru.", + "no-entity-filter-specified": "Filter entitete ni določen", + "root-state-entity": "Uporabi entiteto stanja nadzorne plošče kot korensko", + "last-level-relation": "Pridobi samo relacije zadnje ravni", + "root-entity": "Korenska entiteta", + "state-entity-parameter-name": "Ime parametra entitete stanja", + "default-state-entity": "Privzeta entiteta stanja", + "default-entity-parameter-name": "Privzeto", + "query-options": "Možnosti poizvedbe", + "max-relation-level": "Največja raven relacije", + "unlimited-level": "Neomejena raven", + "state-entity": "Entiteta stanja nadzorne plošče", + "all-entities": "Vse entitete", + "any-relation": "poljubno" + }, + "asset": { + "asset": "Sredstvo", + "assets": "Sredstva", + "management": "Upravljanje sredstev", + "view-assets": "Ogled sredstev", + "add": "Dodaj sredstvo", + "asset-type-max-length": "Vrsta sredstva mora biti krajša od 256 znakov", + "assign-to-customer": "Dodeli stranki", + "assign-asset-to-customer": "Dodeli sredstva stranki", + "assign-asset-to-customer-text": "Izberite sredstva, ki jih želite dodeliti stranki", + "no-assets-text": "Ni najdenih sredstev", + "assign-to-customer-text": "Izberite stranko, ki ji želite dodeliti sredstva", + "public": "Javno", + "assignedToCustomer": "Dodeljeno stranki", + "make-public": "Naredi sredstvo javno", + "make-private": "Naredi sredstvo zasebno", + "unassign-from-customer": "Prekliči dodelitev stranki", + "delete": "Izbriši sredstvo", + "asset-public": "Sredstvo je javno", + "asset-type": "Vrsta sredstva", + "asset-type-required": "Vrsta sredstva je obvezna.", + "select-asset-type": "Izberite vrsto sredstva", + "enter-asset-type": "Vnesite vrsto sredstva", + "any-asset": "Poljubno sredstvo", + "no-asset-types-matching": "Ni vrst sredstev, ki bi se ujemale z iskalnim nizom »{{entitySubtype}}«.", + "asset-type-list-empty": "Ni izbranih vrst sredstev.", + "asset-types": "Vrste sredstev", + "name": "Ime", + "name-required": "Ime je obvezno.", + "name-max-length": "Ime mora biti krajše od 256 znakov", + "label-max-length": "Oznaka mora biti krajša od 256 znakov", + "description": "Opis", + "description-required": "Opis je obvezen.", + "type": "Vrsta", + "type-required": "Vrsta je obvezna.", + "details": "Podrobnosti", + "events": "Dogodki", + "add-asset-text": "Dodaj novo sredstvo", + "asset-details": "Podrobnosti sredstva", + "assign-assets": "Dodeli sredstva", + "assign-assets-text": "Dodeli { count, plural, one {# sredstvo} two {# sredstvi} few {# sredstva} other {# sredstev} } stranki", + "assign-asset-to-edge-title": "Dodeli sredstva Edge-u", + "assign-asset-to-edge-text":"Izberite sredstva, ki jih želite dodeliti Edge-u", + "delete-assets": "Izbriši sredstva", + "unassign-assets": "Prekliči dodelitev sredstev", + "unassign-assets-action-title": "Prekliči dodelitev { count, plural, one {# sredstva} two {# sredstev} few {# sredstev} other {# sredstev} } stranki", + "assign-new-asset": "Dodeli novo sredstvo", + "delete-asset-title": "Ali ste prepričani, da želite izbrisati sredstvo »{{assetName}}«?", + "delete-asset-text": "Pozor! Ko potrdite, sredstva in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-assets-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# sredstvo} two {# sredstvi} few {# sredstva} other {# sredstev} }?", + "delete-assets-action-title": "Izbriši { count, plural, one {# sredstvo} two {# sredstvi} few {# sredstva} other {# sredstev} }", + "delete-assets-text": "Pozor! Ko potrdite, bodo vsa izbrana sredstva odstranjena, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "make-public-asset-title": "Ali ste prepričani, da želite sredstvo »{{assetName}}« narediti javno?", + "make-public-asset-text": "Ko potrdite, bo sredstvo skupaj z vsemi podatki javno in dostopno drugim.", + "make-private-asset-title": "Ali ste prepričani, da želite sredstvo »{{assetName}}« narediti zasebno?", + "make-private-asset-text": "Ko potrdite, bo sredstvo skupaj z vsemi podatki zasebno in drugim ne bo več dostopno.", + "unassign-asset-title": "Ali ste prepričani, da želite preklicati dodelitev sredstva »{{assetName}}«?", + "unassign-asset-text": "Ko potrdite, sredstvo ne bo več dodeljeno stranki in ji ne bo več dostopno.", + "unassign-asset": "Prekliči dodelitev sredstva", + "unassign-assets-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, one {# sredstva} two {# sredstev} few {# sredstev} other {# sredstev} }?", + "unassign-assets-text": "Ko potrdite, izbrana sredstva ne bodo več dodeljena stranki in ji ne bodo več dostopna.", + "unassign-assets-from-edge": "Prekliči dodelitev sredstev Edge-u", + "copyId": "Kopiraj ID sredstva", + "idCopiedMessage": "ID sredstva je kopiran v odložišče", + "select-asset": "Izberite sredstvo", + "no-assets-matching": "Ni sredstev, ki bi se ujemala z iskalnim nizom »{{entity}}«.", + "asset-required": "Sredstvo je obvezno.", + "name-starts-with": "Izraz za ime sredstva", + "help-text": "Po potrebi uporabite znak '%': '%asset_name_contains%', '%asset_name_ends', 'asset_starts_with%'.", + "import": "Uvozi sredstva", + "asset-file": "Datoteka sredstva", + "label": "Oznaka", + "search": "Iskanje sredstev", + "assign-asset-to-edge": "Dodeli sredstva Edge-u", + "unassign-asset-from-edge": "Prekliči dodelitev sredstva", + "unassign-asset-from-edge-title": "Ali ste prepričani, da želite preklicati dodelitev sredstva »{{assetName}}« Edge-u?", + "unassign-asset-from-edge-text": "Ko potrdite, sredstvo ne bo več dodeljeno Edge-u in mu ne bo več dostopno.", + "unassign-assets-from-edge-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, one {# sredstva} two {# sredstev} few {# sredstev} other {# sredstev} } Edge-u?", + "unassign-assets-from-edge-text": "Ko potrdite, izbrana sredstva ne bodo več dodeljena Edge-u in mu ne bodo več dostopna.", + "selected-assets": "Izbrano: { count, plural, one {# sredstvo} two {# sredstvi} few {# sredstva} other {# sredstev} }" + }, + "attribute": { + "attributes": "Atributi", + "latest-telemetry": "Najnovejša telemetrija", + "no-latest-telemetry": "Ni najnovejše telemetrije", + "attributes-scope": "Obseg atributov entitete", + "scope-telemetry": "Telemetrija", + "scope-latest-telemetry": "Najnovejša telemetrija", + "scope-client": "Atributi odjemalca", + "scope-server": "Atributi strežnika", + "scope-shared": "Skupni atributi", + "scope-client-short": "Odjemalec", + "scope-server-short": "Strežnik", + "scope-shared-short": "Skupno", + "scope-latest-short": "Najnovejše", + "scope-any": "Poljubno", + "add": "Dodaj atribut", + "key": "Ključ", + "key-max-length": "Ključ mora biti krajši od 256 znakov", + "last-update-time": "Čas zadnje posodobitve", + "key-required": "Ključ atributa je obvezen.", + "value": "Vrednost", + "value-required": "Vrednost atributa je obvezna.", + "telemetry-key-required": "Ključ telemetrije je obvezen", + "telemetry-value-required": "Vrednost telemetrije je obvezna", + "delete-attributes-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# atribut} two {# atributa} few {# atribute} other {# atributov} }?", + "delete-attributes-text": "Pozor! Ko potrdite, bodo vsi izbrani atributi odstranjeni.", + "delete-attributes": "Izbriši atribute", + "enter-attribute-value": "Vnesite vrednost atributa", + "show-on-widget": "Prikaži na gradniku", + "widget-mode": "Način gradnika", + "next-widget": "Naslednji gradnik", + "prev-widget": "Prejšnji gradnik", + "add-to-dashboard": "Dodaj na nadzorno ploščo", + "add-widget-to-dashboard": "Dodaj gradnik na nadzorno ploščo", + "selected-attributes": "Izbrano: { count, plural, one {# atribut} two {# atributa} few {# atributi} other {# atributov} }", + "selected-telemetry": "Izbrano: { count, plural, one {# telemetrični podatek} two {# telemetrična podatka} few {# telemetrični podatki} other {# telemetričnih podatkov} }", + "no-attributes-text": "Ni najdenih atributov", + "no-telemetry-text": "Ni najdene telemetrije", + "copy-key": "Kopiraj ključ", + "add-telemetry": "Dodaj telemetrijo", + "copy-value": "Kopiraj vrednost", + "delete-timeseries": { + "start-time": "Začetni čas", + "ends-on": "Končni čas", + "strategy": "Strategija", + "delete-strategy": "Strategija brisanja", + "all-data": "Izbriši vse podatke", + "all-data-except-latest-value": "Izbriši vse podatke razen najnovejše vrednosti", + "latest-value": "Izbriši najnovejšo vrednost", + "all-data-for-time-period": "Izbriši vse podatke za časovno obdobje", + "rewrite-latest-value": "Prepiši najnovejšo vrednost" + } + }, + "api-usage": { + "api-features": "Funkcije API-ja", + "api-usage": "Uporaba API-ja", + "alarm": "Alarm", + "alarms-created": "Ustvarjeni alarmi", + "queue-stats": "Statistika čakalnih vrst", + "processing-failures-and-timeouts": "Neuspešne obdelave in prekoračitve časovne omejitve", + "exceptions": "Izjeme", + "alarms-created-daily-activity": "Ustvarjeni alarmi po dnevih", + "alarms-created-hourly-activity": "Ustvarjeni alarmi po urah", + "alarms-created-monthly-activity": "Ustvarjeni alarmi po mesecih", + "data-points": "Podatkovne točke", + "data-points-storage-days": "Dnevi hrambe podatkovnih točk", + "data-points-storage-days-hourly-activity": "Dnevi hrambe podatkovnih točk po urah", + "data-points-storage-days-daily-activity": "Dnevi hrambe podatkovnih točk po dnevih", + "data-points-storage-days-monthly-activity": "Dnevi hrambe podatkovnih točk po mesecih", + "device-api": "API naprav", + "email": "E-pošta", + "email-messages": "E-poštna sporočila", + "email-messages-daily-activity": "E-poštna sporočila po dnevih", + "email-messages-monthly-activity": "E-poštna sporočila po mesecih", + "executions": "Izvajanja", + "scripts": "Skripti", + "scripts-hourly-activity": "Skripti po urah", + "scripts-daily-activity": "Skripti po dnevih", + "scripts-monthly-activity": "Skripti po mesecih", + "javascript": "JavaScript", + "javascript-executions": "Izvajanja skriptov JavaScript", + "tbel": "TBEL", + "tbel-executions": "Izvajanja skriptov TBEL", + "latest-error": "Zadnja napaka", + "messages": "Sporočila", + "notifications": "Obvestila", + "notifications-email-sms": "Obvestila (e-pošta/SMS)", + "notifications-hourly-activity": "Obvestila po urah", + "permanent-failures": "${entityName} - trajno neuspešne obdelave", + "permanent-timeouts": "${entityName} - trajne prekoračitve časovne omejitve", + "processing-failures": "${entityName} - neuspešne obdelave", + "processing-timeouts": "${entityName} - prekoračitve časovne omejitve pri obdelavi", + "rule-chain": "Veriga pravil", + "rule-engine": "Mehanizem pravil", + "rule-engine-executions": "Izvajanja mehanizma pravil", + "rule-engine-hourly-activity": "Mehanizem pravil po urah", + "rule-engine-daily-activity": "Mehanizem pravil po dnevih", + "rule-engine-monthly-activity": "Mehanizem pravil po mesecih", + "rule-engine-statistics": "Statistika mehanizma pravil", + "rule-node": "Vozlišče pravil", + "sms": "SMS", + "sms-messages": "Sporočila SMS", + "sms-messages-hourly-activity": "Sporočila SMS po urah", + "sms-messages-daily-activity": "Sporočila SMS po dnevih", + "sms-messages-monthly-activity": "Sporočila SMS po mesecih", + "successful": "${entityName} - uspešne obdelave", + "telemetry": "Telemetrija", + "telemetry-persistence": "Hramba telemetrije", + "telemetry-persistence-daily-activity": "Hramba telemetrije po dnevih", + "telemetry-persistence-hourly-activity": "Hramba telemetrije po urah", + "telemetry-persistence-monthly-activity": "Hramba telemetrije po mesecih", + "transport": "Transport", + "transport-msg-hourly-activity": "Transportna sporočila po urah", + "transport-msg-daily-activity": "Transportna sporočila po dnevih", + "transport-msg-monthly-activity": "Transportna sporočila po mesecih", + "transport-daily-activity": "Transport po dnevih", + "transport-data-points": "Podatkovne točke transporta", + "transport-data-points-hourly-activity": "Podatkovne točke transporta po urah", + "transport-data-points-daily-activity": "Podatkovne točke transporta po dnevih", + "transport-data-points-monthly-activity": "Podatkovne točke transporta po mesecih", + "view-details": "Prikaži podrobnosti", + "view-statistics": "Prikaži statistiko", + "transport-messages": "Transportna sporočila", + "transport-messages-hourly-activity": "Transportna sporočila po urah", + "transport-data-point-hourly-activity": "Podatkovne točke transporta po urah", + "javascript-function-executions": "Izvajanja funkcij JavaScript", + "javascript-function-executions-hourly-activity": "Izvajanja funkcij JavaScript po urah", + "javascript-function-executions-daily-activity": "Izvajanja funkcij JavaScript po dnevih", + "javascript-function-executions-monthly-activity": "Izvajanja funkcij JavaScript po mesecih", + "tbel-function-executions": "Izvajanja funkcij TBEL", + "tbel-function-executions-hourly-activity": "Izvajanja funkcij TBEL po urah", + "tbel-function-executions-daily-activity": "Izvajanja funkcij TBEL po dnevih", + "tbel-function-executions-monthly-activity": "Izvajanja funkcij TBEL po mesecih", + "created-reports": "Ustvarjena poročila", + "created-reports-hourly-activity": "Ustvarjena poročila po urah", + "created-reports-daily-activity": "Ustvarjena poročila po dnevih", + "created-reports-monthly-activity": "Ustvarjena poročila po mesecih", + "emails": "E-pošta", + "emails-hourly-activity": "E-pošta po urah", + "emails-daily-activity": "E-pošta po dnevih", + "emails-monthly-activity": "E-pošta po mesecih", + "status": { + "enabled": "Omogočeno", + "disabled": "Onemogočeno", + "warning": "Opozorilo" + } + }, + "api-limit": { + "cassandra-write-queries-core": "Poizvedbe za pisanje v Cassandro za API REST", + "cassandra-read-queries-core": "Poizvedbe za branje iz Cassandre za API REST in telemetrijo WS", + "cassandra-write-queries-rule-engine": "Poizvedbe za pisanje telemetrije v Cassandro iz mehanizma pravil", + "cassandra-read-queries-rule-engine": "Poizvedbe za branje telemetrije iz Cassandre za mehanizem pravil", + "cassandra-write-queries-monolith": "Poizvedbe za pisanje telemetrije v Cassandro iz monolita", + "cassandra-read-queries-monolith": "Poizvedbe za branje telemetrije iz Cassandre za monolit", + "entity-version-creation": "Ustvarjanje različic entitet", + "entity-version-load": "Nalaganje različic entitet", + "notification-requests": "Zahteve za obvestila", + "notification-requests-per-rule": "Zahteve za obvestila na pravilo", + "rest-api-requests": "Zahteve API-ja REST", + "rest-api-requests-per-customer": "Zahteve API-ja REST na stranko", + "transport-messages": "Transportna sporočila", + "transport-messages-per-device": "Transportna sporočila na napravo", + "transport-messages-per-gateway": "Transportna sporočila na prehod", + "transport-messages-per-gateway-device": "Transportna sporočila na napravo prehoda", + "ws-updates-per-session": "Posodobitve WS na sejo", + "edge-events": "Dogodki Edge-a", + "edge-events-per-edge": "Dogodki Edge-a na instanco Edge", + "edge-uplink-messages": "Sporočila navzgor iz Edge-a", + "edge-uplink-messages-per-edge": "Sporočila navzgor iz Edge-a na instanco Edge" + }, + "api-key": { + "api-key": "Ključ API", + "api-keys": "Ključi API", + "delete-api-key-title": "Ali ste prepričani, da želite izbrisati ključ API »{{name}}«?", + "delete-api-key-text": "Pozor! Ko potrdite, ključa API ne bo več mogoče obnoviti.", + "delete-api-keys-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# ključ API} two {# ključa API} few {# ključe API} other {# ključev API} }?", + "delete-api-keys-text": "Pozor! Ko potrdite, izbranih ključev API ne bo več mogoče obnoviti.", + "expiration-date": "Datum poteka veljavnosti", + "date": "Datum in čas", + "description": "Opis", + "disable": "Onemogoči", + "edit-description": "Uredi opis", + "enable": "Omogoči ključ API ", + "expiration-time": "Velja do", + "expiration-time-never": "Nikoli", + "expiration-time-custom": "Po meri", + "generate": "Ustvari", + "generate-title": "Ustvari ključ API", + "generate-text": "Opomba: ključ API podeduje dovoljenja uporabnika, za katerega je ustvarjen.", + "generated-api-key-title": "Ključ API je ustvarjen. Preverimo povezljivost!", + "generated-api-key-copy": "Ključ API takoj kopirajte in shranite, saj si ga pozneje ne boste mogli več ogledati.", + "generated-api-key-command": "Za preverjanje povezljivosti uporabite naslednja navodila. Prejeti bi morali podatke o trenutnem uporabniku:", + "generated-api-key-insecure-url": "Če ukaze izvajate prek nezaščitene povezave HTTP, se bo vaš ključ API poslal nešifrirano, zato ga bo mogoče prestreči.", + "list": "{ count, plural, =1 {En ključ API} one {Seznam # ključa API} two {Seznam # ključev API} few {Seznam # ključev API} other {Seznam # ključev API} }", + "manage": "Upravljaj", + "manage-api-keys": "Upravljanje ključev API", + "no-found": "Ni najdenih ključev API", + "selected-api-keys": "Izbrano: { count, plural, one {# ključ API} two {# ključa API} few {# ključi API} other {# ključev API} }", + "search": "Iskanje ključev API", + "status": "Stanje", + "status-active": "Aktiven", + "status-inactive": "Neaktiven", + "status-expired": "Potekel" + }, + "audit-log": { + "audit": "Revizija", + "audit-logs": "Revizijski dnevniki", + "timestamp": "Časovni žig", + "entity-type": "Vrsta entitete", + "entity-name": "Ime entitete", + "user": "Uporabnik", + "type": "Vrsta", + "status": "Stanje", + "details": "Podrobnosti", + "type-added": "Dodano", + "type-deleted": "Izbrisano", + "type-updated": "Posodobljeno", + "type-attributes-updated": "Atributi posodobljeni", + "type-attributes-deleted": "Atributi izbrisani", + "type-rpc-call": "Klic RPC", + "type-credentials-updated": "Poverilnice posodobljene", + "type-assigned-to-customer": "Dodeljeno stranki", + "type-unassigned-from-customer": "Dodelitev stranki preklicana", + "type-assigned-to-edge": "Dodeljeno Edge-u", + "type-unassigned-from-edge": "Dodelitev Edge-u preklicana", + "type-activated": "Aktivirano", + "type-suspended": "Začasno ustavljeno", + "type-credentials-read": "Poverilnice prebrane", + "type-attributes-read": "Atributi prebrani", + "type-relation-add-or-update": "Relacija posodobljena", + "type-relation-delete": "Relacija izbrisana", + "type-relations-delete": "Vse relacije izbrisane", + "type-alarm-ack": "Alarm potrjen", + "type-alarm-clear": "Alarm ponastavljen", + "type-alarm-delete": "Alarm izbrisan", + "type-alarm-assign": "Alarm dodeljen", + "type-alarm-unassign": "Dodelitev alarma preklicana", + "type-added-comment": "Komentar dodan", + "type-updated-comment": "Komentar posodobljen", + "type-deleted-comment": "Komentar izbrisan", + "type-login": "Prijava", + "type-logout": "Odjava", + "type-lockout": "Zaklenitev računa", + "status-success": "Uspešno", + "status-failure": "Neuspešno", + "audit-log-details": "Podrobnosti revizijskega dnevnika", + "no-audit-logs-prompt": "Ni najdenih revizijskih dnevnikov", + "action-data": "Podatki o dejanju", + "failure-details": "Podrobnosti napake", + "search": "Iskanje revizijskih dnevnikov", + "clear-search": "Počisti iskanje", + "type-assigned-from-tenant": "Dodeljeno od najemnika", + "type-assigned-to-tenant": "Dodeljeno najemniku", + "type-provision-success": "Naprava pripravljena", + "type-provision-failure": "Priprava naprave ni uspela", + "type-timeseries-updated": "Telemetrija posodobljena", + "type-timeseries-deleted": "Telemetrija izbrisana", + "type-sms-sent": "SMS poslan", + "type-community-grant-offline-checker-run": "Community Grant: izvedeno preverjanje brez povezave", + "type-community-grant-request-access": "Community Grant: zahtevan dostop", + "type-community-grant-enrollment": "Community Grant: vpis", + "any-type":"Vse vrste", + "audit-log-filter-title": "Filter revizijskega dnevnika", + "filter-title": "Filter", + "filter-types": "Vrste dejanj" + }, + "debug-settings": { + "label": "Konfiguracija razhroščevanja", + "on-failure": "Samo napake (24/7)", + "all-messages": "Vsa sporočila ({{time}})", + "failures": "Napake", + "entity": "entiteto", + "hint": { + "main-limited": "Zabeleženih bo največ {{msg}} razhroščevalnih sporočil za {{entity}} v obdobju {{time}}.", + "on-failure": "Beleži samo sporočila o napakah.", + "all-messages": "Beleži vsa razhroščevalna sporočila." + } + }, + "calculated-fields": { + "expression": "Izraz", + "no-found": "Ni najdenih izračunanih polj", + "list": "{ count, plural, =1 {Eno izračunano polje} one {Seznam # izračunanega polja} two {Seznam # izračunanih polj} few {Seznam # izračunanih polj} other {Seznam # izračunanih polj} }", + "add": "Dodaj izračunano polje", + "selected-fields": "Izbrano: { count, plural, one {# izračunano polje} two {# izračunani polji} few {# izračunana polja} other {# izračunanih polj} }", + "type": { + "simple": "Preprost", + "simple-hint": "Preprost aritmetični izračun na podlagi vhodnih argumentov.", + "script": "Skript", + "script-hint": "Izračun nad določenimi argumenti z uporabo skripta TBEL.", + "geofencing" : "Geografsko ograjevanje", + "geofencing-hint" : "Ovrednotenje položaja GPS entitete in prehodov glede na konfigurirane skupine con geografske ograje.", + "propagation": "Posredovanje", + "propagation-hint": "Posredovanje podatkov nadrejenim ali podrejenim entitetam glede na smer in vrsto relacije.", + "related-entities-aggregation": "Združevanje povezanih entitet", + "related-entities-aggregation-hint": "Združevanje najnovejših podatkov iz povezanih entitet.", + "time-series-data-aggregation": "Združevanje podatkov časovnih serij", + "time-series-data-aggregation-hint": "Združevanje zgodovinskih podatkov iz trenutne entitete." + }, + "preview": "Predogled", + "arguments": "Argumenti", + "decimals-by-default": "Privzeto število decimalnih mest", + "debugging": "Razhroščevanje izračunanega polja", + "calculated-field-details": "Podrobnosti izračunanega polja", + "argument-name": "Ime argumenta", + "name": "Ime", + "datasource": "Vir podatkov", + "add-argument": "Dodaj argument", + "test-script-function": "Preizkusi funkcijo skripta", + "no-arguments": "Obvezen je vsaj en argument.", + "argument-settings": "Nastavitve argumenta", + "argument-current": "Trenutna entiteta", + "argument-current-tenant": "Trenutni najemnik", + "argument-device": "Naprava", + "argument-asset": "Sredstvo", + "argument-customer": "Stranka", + "argument-tenant": "Trenutni najemnik", + "argument-owner": "Trenutni lastnik", + "argument-relation-query": "Povezane entitete", + "argument-type": "Vrsta argumenta", + "attribute": "Atribut", + "copy-argument-name": "Kopiraj ime argumenta", + "timeseries-key": "Ključ časovne serije", + "device-name": "Ime naprave", + "latest-telemetry": "Najnovejša telemetrija", + "rolling": "Drseča časovna serija", + "attribute-scope": "Obseg atributa", + "server-attributes": "Atributi strežnika", + "client-attributes": "Atributi odjemalca", + "shared-attributes": "Skupni atributi", + "attribute-key": "Ključ atributa", + "default-value": "Privzeta vrednost", + "default-value-required": "Privzeta vrednost je obvezna.", + "limit": "Največje število vrednosti", + "time-window": "Časovno okno", + "customer-name": "Ime stranke", + "asset-name": "Ime sredstva", + "timeseries": "Časovne serije", + "output": "Izhod", + "output-hint": "Določa, kako se obdelajo izhodni podatki.", + "create": "Ustvari novo izračunano polje", + "file": "Datoteka izračunanega polja", + "invalid-file-error": "Neveljavna oblika datoteke. Prepričajte se, da gre za veljavno datoteko JSON.", + "import": "Uvozi izračunano polje", + "export": "Izvozi izračunano polje", + "export-failed-error": "Izračunanega polja ni bilo mogoče izvoziti: {{error}}", + "output-type": "Vrsta izhoda", + "delete-title": "Ali ste prepričani, da želite izbrisati izračunano polje »{{title}}«?", + "delete-text": "Pozor! Ko potrdite, izračunanega polja in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-multiple-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# izračunano polje} two {# izračunani polji} few {# izračunana polja} other {# izračunanih polj} }?", + "delete-multiple-text": "Pozor! Ko potrdite, bodo vsa izbrana izračunana polja odstranjena, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "test-with-this-message": "Preizkusi s tem sporočilom", + "use-latest-timestamp": "Uporabi najnovejši časovni žig", + "entity-coordinates": "Koordinate entitete", + "latitude-time-series-key": "Ključ časovne serije za zemljepisno širino", + "latitude-time-series-key-required": "Ključ časovne serije za zemljepisno širino je obvezen.", + "longitude-time-series-key": "Ključ časovne serije za zemljepisno dolžino", + "longitude-time-series-key-required": "Ključ časovne serije za zemljepisno dolžino je obvezen.", + "geofencing-zone-groups": "Skupine con geografske ograje", + "geofencing-zone-groups-settings": "Nastavitve skupin con geografske ograje", + "target-zone": "Ciljna cona", + "perimeter-key": "Ključ oboda", + "report-strategy": "Strategija poročanja", + "no-zone-configured": "Obvezna je vsaj ena cona.", + "no-zone-configured-required": "Konfigurirana mora biti vsaj ena skupina con.", + "add-zone-group": "Dodaj skupino con", + "report-transition-event-only": "Samo dogodki prehoda", + "report-presence-status-only": "Samo stanje prisotnosti", + "report-transition-event-and-presence": "Stanje prisotnosti in dogodki prehoda", + "perimeter-attribute-key": "Ključ atributa oboda", + "perimeter-attribute-key-required": "Ključ atributa oboda je obvezen.", + "perimeter-attribute-key-pattern": "Ključ atributa oboda ni veljaven.", + "entity-zone-relationship": "Pot od entitete do con", + "direction": "Smer relacije", + "direction-from": "Od entitete do cone", + "direction-to": "Od cone do entitete", + "relation-type": "Vrsta relacije", + "create-relation-with-matched-zones": "Ustvari relacije med izvorno entiteto in ujemajočimi se conami", + "relation-level": "Raven relacije", + "fetch-last-available-level": "Pridobi samo zadnjo razpoložljivo raven", + "zone-group-refresh-interval": "Interval osveževanja skupin con geografske ograje", + "copy-zone-group-name": "Kopiraj ime skupine con", + "open-details-page": "Odpri stran s podrobnostmi entitete", + "level": "Raven", + "direction-level": "Smer", + "direction-up": "Navzgor", + "direction-up-parent": "Navzgor do nadrejene entitete", + "direction-down": "Navzdol", + "direction-down-child": "Navzdol do podrejene entitete", + "add-level": "Dodaj raven", + "delete-level": "Izbriši raven", + "no-level": "Ni konfiguriranih ravni", + "levels-required": "Konfigurirana mora biti vsaj ena raven.", + "max-allowed-levels-error": "Največje dovoljeno število ravni relacije je preseženo.", + "propagation-path-related-entities": "Pot posredovanja do povezanih entitet", + "propagate-type": { + "arguments-only": "Samo argumenti", + "expression-result": "Rezultat izračuna" + }, + "script": "Skript", + "data-propagate": "Podatki za posredovanje", + "output-key": "Izhodni ključ", + "copy-output-key": "Kopiraj izhodni ključ", + "aggregation-path-related-entities": "Pot združevanja do povezanih entitet", + "deduplication-interval": "Interval deduplikacije", + "deduplication-interval-min": "Interval deduplikacije mora biti najmanj {{ sec }} s.", + "deduplication-interval-hint": "Najkrajši čas med združevanji telemetrije.", + "deduplication-interval-required": "Interval deduplikacije je obvezen.", + "calculated-field-filter-title": "Filter izračunanih polj", + "filter-title": "Filter", + "calculated-field-types": "Vrste izračunanih polj", + "events": "Dogodki", + "any-type": "Vse vrste", + "metrics": { + "metrics": "Metrike", + "metrics-empty": "Konfigurirana mora biti vsaj ena metrika.", + "metric-name": "Ime metrike", + "metric-name-required": "Ime metrike je obvezno.", + "metric-name-pattern": "Ime metrike ni veljavno.", + "metric-name-duplicate": "Metrika s tem imenom že obstaja.", + "metric-name-max-length": "Ime metrike mora biti krajše od 256 znakov.", + "metric-name-forbidden": "Ime metrike je rezervirano in ga ni mogoče uporabiti.", + "copy-metric-name": "Kopiraj ime metrike", + "argument-name": "Ime argumenta", + "aggregation": "Združevanje", + "aggregation-type": { + "avg": "Povprečje", + "min": "Minimum", + "max": "Maksimum", + "sum": "Vsota", + "count": "Število", + "count-unique": "Število različnih vrednosti" + }, + "filtered": "Filtrirano", + "value-source": "Vir vrednosti", + "value-source-hint": "Določa, kako se pridobi vrednost za združevanje.", + "value-source-type": { + "key": "Ključ", + "function": "Funkcija" + }, + "no-metrics-configured": "Obvezna je vsaj ena metrika.", + "add-metric": "Dodaj metriko", + "max-metrics": "Doseženo je največje število metrik.", + "metric-settings": "Nastavitve metrike", + "filter": "Filter", + "filter-hint": "Omogoča filtriranje entitet med združevanjem. Funkcija filtra mora vrniti logično vrednost in lahko uporablja vse konfigurirane argumente." + }, + "output-strategy": { + "strategy": "Strategija", + "process-right-away": "Obdelaj takoj", + "process-rule-chains": "Obdelaj prek verig pravil", + "save-time-series": "Shrani v časovne serije", + "save-database": "Shrani v zbirko podatkov", + "save-latest-values": "Shrani v najnovejše vrednosti", + "send-web-sockets": "Pošlji prek povezav WebSocket", + "save-calculated-fields": "Pošlji v izračunana polja", + "update-attribute-only-on-value-change": "Posodobi atribut samo ob spremembi vrednosti", + "send-attributes-updated-notification": "Pošlji obvestilo o posodobljenih atributih", + "ttl": "TTL po meri", + "ttl-required": "TTL je obvezen", + "ttl-min": "Najmanjša dovoljena vrednost TTL je 0", + "processing-parameters": "Parametri obdelave", + "hint": { + "strategy": "Določa, ali se rezultat obdela takoj ali pošlje v verigo pravil za dodatno obdelavo.", + "processing-options": "Možnosti obdelave", + "update-attribute-only-on-value-change": "Posodobi atribut ob vsakem prejetem sporočilu, ne glede na to, ali se je vrednost spremenila. To poveča uporabo API-ja in zmanjša zmogljivost.", + "update-attribute-only-on-value-change-enabled": "Posodobi atribut samo, ko se vrednost spremeni. Če vrednost ostane nespremenjena, se časovni žigi ne posodobijo in obvestila se ne pošljejo.", + "send-attributes-updated-notification": "Pošlje dogodek »Attributes Updated« v privzeto verigo pravil.", + "save-time-series": "Shrani podatke časovnih serij v tabelo ts_kv v zbirki podatkov.", + "save-database": "Shrani podatke atributov v zbirko podatkov.", + "save-latest-values": "Posodobi podatke časovnih serij v tabeli ts_kv_latest v zbirki podatkov, če je nova vrednost novejša.", + "send-web-sockets-attribute": "Obvesti naročnine WebSocket o posodobitvah podatkov atributov.", + "send-web-sockets-time-series": "Obvesti naročnine WebSocket o posodobitvah podatkov časovnih serij.", + "save-calculated-fields-attribute": "Obvesti izračunana polja o posodobitvah podatkov atributov.", + "save-calculated-fields-time-series": "Obvesti izračunana polja o posodobitvah podatkov časovnih serij.", + "ttl": "Določa obdobje hrambe podatkov časovnih serij. Če je onemogočeno, se uporabi TTL profila najemnika." + } + }, + "aggregate-interval-type": "Vrsta intervala združevanja", + "aggregate-interval-value": "Vrednost intervala združevanja", + "aggregate-interval-value-required": "Vrednost intervala združevanja je obvezna.", + "aggregate-interval-value-min": "Vrednost intervala združevanja mora biti najmanj { sec, plural, =0 {0 sekund} =1 {1 sekunda} one {# sekunda} two {# sekundi} few {# sekunde} other {# sekund} }.", + "aggregate-interval-value-step-multiple-of": "Vrednost intervala združevanja mora biti delitelj ali večkratnik 1 dneva.", + "aggregate-period": { + "hour": "Ura", + "day": "Dan", + "week": "Teden (pon - ned)", + "week-sun-sat": "Teden (ned - sob)", + "month": "Mesec", + "quarter": "Četrtletje", + "year": "Leto", + "custom": "Po meri" + }, + "aggregate-period-hint-offset": "Interval združevanja bo: {{ interval }}", + "aggregate-period-hint-offset-and-so-on": "Interval združevanja bo: {{ interval }} itd.", + "entity-aggregation": { + "argument-hint": "Podatki bodo pridobljeni iz trenutne entitete.", + "argument-title-hint": "Določa vhodne argumente, uporabljene za združevanje.", + "argument-setting-hint": "Najnovejša telemetrija je edina razpoložljiva vrsta argumenta za to izračunano polje.", + "aggregation-interval": "Interval združevanja", + "aggregation-interval-hint": "Določa, kako pogosto se izvaja združevanje. Na primer: če je interval nastavljen na 1 uro, se podatki združijo ob 00:00, 01:00, 02:00 itd. Rezultati združevanja se shranijo s časovnim žigom, ki ustreza začetku intervala združevanja.", + "apply-offset": "Uporabi odmik intervala združevanja", + "apply-offset-hint": "Določa, za koliko se premakne začetek vsakega obdobja združevanja (npr. +10 minut: 00:10, 01:10).", + "offset-value": "Vrednost odmika", + "offset-value-required": "Vrednost odmika je obvezna.", + "offset-value-min": "Vrednost odmika mora biti 0 ali pozitivno celo število.", + "offset-value-max": "Vrednost odmika mora biti manjša od vrednosti intervala združevanja.", + "wait-delay": "Uporabi čakalni čas za zakasnjeno telemetrijo", + "wait-delay-hint": "Določa, kako dolgo se po koncu intervala čaka na zakasnjeno telemetrijo. Če taka telemetrija prispe, se rezultat za ta interval znova izračuna.", + "duration": "Trajanje", + "duration-required": "Trajanje je obvezno.", + "duration-min": "Trajanje mora biti najmanj 1 minuta.", + "duration-hint": "Kako dolgo se po koncu intervala čaka na zakasnjene podatke.", + "produce-intermediate-result": "Ustvari vmesni rezultat", + "produce-intermediate-result-hint": "Izračuna metrike med trenutnim intervalom, da ustvari vmesni rezultat. Posodobitve se izvajajo največ enkrat na vsakih {{ time }}." + }, + "hint": { + "arguments-simple-with-rolling": "Izračunano polje vrste »Preprost« ne sme vsebovati argumentov vrste »Časovne serije v drsečem oknu«.", + "arguments-propagate-arguments-with-rolling": "Vrsta »Časovne serije v drsečem oknu« ni združljiva s posredovanjem »Samo argumenti«.", + "arguments-propagate-argument-entity-type": "Vrsta entitete ni združljiva s posredovanjem »Samo argumenti«.", + "arguments-propagate-argument-must-current-entity": "Vsaj en argument mora biti konfiguriran z vrsto izvorne entitete »Trenutna entiteta«.", + "arguments-empty": "Obvezen je vsaj en argument.", + "expression-required": "Izraz je obvezen.", + "expression-invalid": "Izraz ni veljaven", + "expression-max-length": "Dolžina izraza mora biti krajša od 255 znakov.", + "argument-name-required": "Ime argumenta je obvezno.", + "argument-name-pattern": "Ime argumenta ni veljavno.", + "argument-name-duplicate": "Argument s tem imenom že obstaja.", + "argument-name-max-length": "Ime argumenta mora biti krajše od 256 znakov.", + "argument-name-forbidden": "Ime argumenta je rezervirano in ga ni mogoče uporabiti.", + "output-key-required": "Izhodni ključ je obvezen.", + "output-key-pattern": "Izhodni ključ ni veljaven.", + "output-key-duplicate": "Izhodni ključ s tem imenom že obstaja.", + "output-key-max-length": "Izhodni ključ mora biti krajši od 256 znakov.", + "output-key-forbidden": "Izhodni ključ je rezerviran in ga ni mogoče uporabiti.", + "entity-type-required": "Vrsta entitete je obvezna", + "name-required": "Ime skupine con je obvezno.", + "name-pattern": "Ime skupine con je neveljavno.", + "name-duplicate": "Skupina con s tem imenom že obstaja.", + "name-max-length": "Ime skupine con mora biti krajše od 256 znakov.", + "name-forbidden": "Ime skupine con je rezervirano in ga ni mogoče uporabiti.", + "argument-type-required": "Vrsta argumenta je obvezna.", + "max-args": "Doseženo je največje število argumentov.", + "decimals-range": "Privzeto število decimalnih mest mora biti med 0 in 15.", + "expression": "Privzeti izraz prikazuje, kako pretvoriti temperaturo iz stopinj Fahrenheita v stopinje Celzija.", + "arguments-entity-not-found": "Ciljne entitete argumenta ni bilo mogoče najti.", + "use-latest-timestamp": "Če je omogočeno, bo izračunana vrednost shranjena z najnovejšim časovnim žigom iz telemetrije argumentov namesto s časom strežnika.", + "entity-coordinates": "Navedite podatkovna ključa časovnih serij, ki podajata GPS-koordinati entitete (zemljepisno širino in dolžino).", + "geofencing-zone-groups": "Določite eno ali več skupin con geografske ograje za preverjanje (npr. 'allowedZones', 'restrictedZones'). Vsaka skupina mora imeti enolično ime, ki se uporablja kot predpona za izhodne telemetrijske ključe izračunanega polja.", + "perimeter-attribute-key": "Nastavite ključ atributa, ki vsebuje definicijo oboda cone geografske ograje. Obod se vedno prevzame iz atributov strežnika entitete cone.", + "report-strategy": "Stanje prisotnosti poroča, ali je entiteta trenutno ZNOTRAJ ali ZUNAJ skupine con. Dogodki prehoda poročajo, kdaj je entiteta VSTOPILA v skupino con ali jo ZAPUSTILA.", + "create-relation-with-matched-zones": "Samodejno ustvari in vzdržuje relacije med entiteto in conami, v katerih se trenutno nahaja. Relacije se odstranijo, ko entiteta zapusti cono, in ustvarijo, ko vstopi v novo cono.", + "relation-type-required": "Vrsta relacije je obvezna.", + "relation-level-required": "Raven relacije je obvezna.", + "relation-level-min": "Najmanjša vrednost ravni relacije je 1.", + "relation-level-max": "Največja vrednost ravni relacije je {{max}}.", + "geofencing-empty": "Konfigurirana mora biti vsaj ena skupina con.", + "geofencing-entity-not-found": "Ciljne entitete geografske ograje ni bilo mogoče najti.", + "max-geofencing-zone": "Doseženo je največje število con geografske ograje.", + "zone-group-refresh-interval": "Določa, kako pogosto se osvežijo skupine con, konfigurirane prek povezanih entitet.", + "zone-group-refresh-interval-required": "Interval osveževanja skupin con je obvezen.", + "zone-group-refresh-interval-min": "Interval osveževanja skupin con mora biti najmanj {{ min }} s.", + "propagation-path-related-entities": "Določa neposredno enonivojsko pot do povezane entitete glede na izbrano smer in vrsto relacije. Podprte so samo relacije med entitetami vrst naprava, sredstvo, stranka in najemnik. Največje število entitet, razrešenih prek poti relacije, je {{ max }}.", + "data-propagate": "Določa podatke, ki se posredujejo iz spodaj konfiguriranih argumentov. Možnost »Samo argumenti« uporabi pridobljene podatke neposredno, možnost »Rezultat izračuna« pa iz teh podatkov izračuna novo vrednost.", + "aggregation-path-related-entities": "Določa enonivojsko pot združevanja prek neposrednih relacij z nadrejenimi ali podrejenimi entitetami glede na smer in vrsto relacije. Podprte so samo relacije med entitetami vrst naprava, sredstvo, stranka in najemnik. Največje število entitet, razrešenih prek poti relacije, je {{ max }}.", + "arguments-aggregation": "Določa vhodne argumente, uporabljene za filtriranje in združevanje.", + "setting-arguments-aggregation": "Podatki bodo pridobljeni iz povezanih entitet, konfiguriranih v poti združevanja.", + "metrics": "Določa metrike, ki se združujejo na podlagi konfiguriranih argumentov.", + "entity-aggregation-metrics": "Določa metrike, ki se združujejo na podlagi konfiguriranih argumentov v navedenih časovnih intervalih.", + "import-invalid-calculated-field-type": "Izračunanega polja ni mogoče uvoziti: struktura izračunanega polja ni veljavna.", + "simple-expression-title": "Aritmetični izraz, ki določa, kako se izračuna vrednost izračunanega polja.", + "script-title": "Skript TBEL, ki določa logiko izračuna in izhodne vrednosti.", + "simple-arguments": "Določa vhodne argumente, ki so na voljo aritmetičnemu izrazu.", + "script-arguments": "Določa vhodne argumente, ki so na voljo skriptu." + } + }, + "alarm-rule": { + "alarm-rules-tab": "Pravila za alarme", + "alarm-rule": "Pravilo za alarm", + "alarm-rules": "Pravila za alarme", + "alarm-rules-old": "Stara", + "alarm-rules-actual": "Trenutna", + "severities": "Resnosti", + "cleared": "Pogoj za ponastavitev", + "delete-title": "Ali ste prepričani, da želite izbrisati pravilo za alarm »{{title}}«?", + "delete-text": "Pozor! Ko potrdite, pravila za alarm in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-multiple-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# pravilo za alarm} two {# pravili za alarm} few {# pravila za alarm} other {# pravil za alarm} }?", + "delete-multiple-text": "Pozor! Ko potrdite, bodo vsa izbrana pravila za alarme odstranjena, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "create": "Ustvari novo pravilo za alarm", + "add": "Dodaj pravilo za alarm", + "copy": "Kopiraj konfiguracijo pravila za alarm", + "details": "Podrobnosti pravila za alarm", + "no-found": "Ni najdenih pravil za alarme", + "list": "{ count, plural, =1 {Eno pravilo za alarm} one {Seznam # pravila za alarm} two {Seznam # pravil za alarm} few {Seznam # pravil za alarm} other {Seznam # pravil za alarm} }", + "selected-fields": "Izbrano: { count, plural, one {# pravilo za alarm} two {# pravili za alarm} few {# pravila za alarm} other {# pravil za alarm} }", + "import": "Uvozi pravilo za alarm", + "file": "Datoteka pravila za alarm", + "export": "Izvozi pravilo za alarm", + "export-failed-error": "Pravila za alarm ni bilo mogoče izvoziti: {{error}}", + "entity-type": "Vrsta entitete", + "entity-type-required": "Vrsta entitete je obvezna.", + "alarm-type": "Vrsta alarma", + "alarm-type-hint": "Enolični identifikator (npr. HighTempAlarm) v obsegu izvora alarma (naprava, sredstvo itd.) za preprečevanje konfliktov.", + "alarm-type-required": "Vrsta alarma je obvezna.", + "alarm-type-pattern": "Vrsta alarma ni veljavna.", + "alarm-type-max-length": "Vrsta alarma mora biti krajša od 256 znakov.", + "clear-alarm": "Ponastavi alarm", + "value-argument": "Argument", + "value-argument-required": "Argument je obvezen.", + "static-settings": "Statične nastavitve", + "configuration": "Konfiguracija", + "static-schedule": "Statični urnik", + "dynamic-schedule": "Dinamični urnik", + "operation-and": "IN", + "operation-or": "ALI", + "condition-during": "Traja {{during}}", + "condition-during-dynamic": "Traja »{{ attribute }}«", + "condition-repeat-times": "Ponavlja se { count, plural, one {#-krat} two {#-krat} few {#-krat} other {#-krat} }", + "condition-repeat-times-dynamic": "Število ponovitev: »{{ attribute }}«", + "filter-preview": "Predogled filtra", + "condition-settings": "Nastavitve pogoja", + "static": "Statična vrednost", + "dynamic": "Dinamična vrednost", + "argument-filters": "Filtri argumentov", + "argument-name": "Ime argumenta", + "value-type": "Vrsta vrednosti", + "general": "Splošno", + "filters": "Filtri", + "date-time-hint": "Argument mora biti podan v milisekundah od epohe Unix. Primer: 1698839340000 ustreza 2023-11-01 12:49:00 UTC.", + "operation": "Operacija", + "value-source": "Vir vrednosti", + "value": "Vrednost", + "ignore-case": "Ne razlikuj velikih in malih črk", + "condition": "Pogoj", + "script": "Skript", + "add-filter": "Dodaj filter argumenta", + "edit-filter": "Filter argumenta", + "remove-filter": "Odstrani filter argumenta", + "no-filter": "Obvezen je vsaj en filter.", + "conditions": { + "simple": "Enostavno", + "duration": "Trajanje", + "repeating": "Ponavljanje" + }, + "schedule-title": "Urnik", + "edit-schedule": "Uredi urnik alarma", + "schedule-type": "Vrsta urnika", + "schedule-type-required": "Vrsta urnika je obvezna.", + "schedule": { + "any-time": "Vedno aktiven", + "specific-time": "Aktiven ob določenem času", + "custom": "Po meri" + }, + "schedule-day": { + "monday": "Ponedeljek", + "tuesday": "Torek", + "wednesday": "Sreda", + "thursday": "Četrtek", + "friday": "Petek", + "saturday": "Sobota", + "sunday": "Nedelja" + }, + "schedule-days": "Dnevi", + "schedule-time": "Čas", + "schedule-time-from": "Od", + "schedule-time-to": "Do", + "schedule-days-of-week-required": "Izbran mora biti vsaj en dan v tednu.", + "tbel": "TBEL", + "expression-type": { + "simple": "Enostavno", + "script": "Skript" + }, + "operation-type": { + "and": "In", + "or": "Ali" + }, + "filter-predicate-type": { + "string": "Niz", + "numeric": "Številska", + "boolean": "Logična", + "complex": "Sestavljena" + }, + "alarm-rule-additional-info": "Dodatne informacije", + "edit-alarm-rule-additional-info": "Uredi dodatne informacije", + "alarm-rule-additional-info-placeholder": "Tukaj vnesite komentarje in prilagoditve, da bodo prikazani v podrobnostih alarma pod »Dodatne informacije«", + "alarm-rule-additional-info-hint": "Namig: uporabite ${Ime argumenta} za nadomestitev vrednosti argumentov, uporabljenih v pogoju pravila za alarm.", + "alarm-rule-additional-info-icon-hint": "Uporabite ime argumenta za nadomestitev vrednosti argumentov, uporabljenih v pogoju pravila za alarm.", + "alarm-rule-mobile-dashboard": "Mobilna nadzorna plošča", + "alarm-rule-mobile-dashboard-hint": "Mobilna aplikacija jo uporablja kot nadzorno ploščo podrobnosti alarma.", + "alarm-rule-no-mobile-dashboard": "Ni izbrane nadzorne plošče", + "alarm-rule-condition": "Pogoj pravila za alarm", + "enter-alarm-rule-condition-prompt": "Dodaj pogoj", + "enter-alarm-rule-clear-condition-prompt": "Dodaj pogoj za ponastavitev", + "edit-alarm-rule-condition": "Pogoj alarma", + "condition-type": "Vrsta pogoja", + "condition-type-hint": "Možnosti »Trajanje« in »Ponavljanje« nista na voljo, ko je v filtru uporabljena operacija »manjka že«.", + "select-alarm-severity": "Izberite resnost alarma", + "add-create-alarm-rule-prompt": "Obvezen je vsaj en sprožilni pogoj.", + "add-create-alarm-rule": "Dodaj sprožilni pogoj", + "add-clear-alarm-rule": "Dodaj pogoj za ponastavitev", + "condition-duration": "Trajanje pogoja", + "condition-duration-value": "Vrednost trajanja", + "condition-duration-time-unit": "Časovna enota", + "condition-duration-value-range": "Vrednost trajanja mora biti v razponu od 1 do 2147483647.", + "condition-duration-value-pattern": "Vrednost trajanja mora biti celo število.", + "condition-duration-value-required": "Vrednost trajanja je obvezna.", + "condition-duration-time-unit-required": "Časovna enota je obvezna.", + "condition-repeating-value": "Število dogodkov", + "condition-repeating-value-hint": "Posodobitev katerega koli argumenta pravila za alarm bo štela kot dogodek", + "condition-repeating-value-range": "Število dogodkov mora biti v razponu od 1 do 2147483647.", + "condition-repeating-value-pattern": "Število dogodkov mora biti celo število.", + "condition-repeating-value-required": "Število dogodkov je obvezno.", + "create-conditions": "Sprožilni pogoji", + "clear-condition": "Pogoj za ponastavitev", + "no-clear-alarm-rule": "Ni konfiguriranega pogoja za ponastavitev.", + "advanced-settings": "Napredne nastavitve", + "propagate-alarm": "Posreduj alarm povezanim entitetam", + "alarm-rule-relation-types-list": "Vrste relacij", + "alarm-rule-relation-types-list-hint": "Določa vrste relacij za filtriranje povezanih entitet. Če ni nastavljeno, bo alarm posredovan vsem povezanim entitetam.", + "propagate-alarm-to-owner": "Posreduj alarm lastniku entitete (stranki ali najemniku)", + "propagate-alarm-to-tenant": "Posreduj alarm najemniku", + "alarm-rule-filter-title": "Filter pravil za alarme", + "filter-title": "Filter", + "debugging": "Razhroščevanje pravil za alarme", + "any-type": "Vse vrste", + "enter-alarm-rule-type": "Vnesite vrsto alarma", + "no-alarm-rule-types-matching": "Ni vrst alarmov, ki bi se ujemale z iskalnim nizom »{{entitySubtype}}«.", + "alarm-rule-type-list-empty": "Ni izbranih vrst alarmov.", + "alarm-rule-type-list": "Seznam vrst alarmov", + "alarm-rule-entity-list": "Seznam entitet", + "missing-for": "manjka že", + "time-unit": "Enota", + "mode": "Način", + "type": "Vrsta", + "value-required": "Vrednost je obvezna.", + "min-value": "Vrednost mora biti najmanj 1.", + "argument-in-use": "Argument se že uporablja kot splošni argument.", + "import-invalid-alarm-rule-type": "Pravila za alarm ni mogoče uvoziti: neveljavna struktura pravila za alarm.", + "no-filter-preview": "Filter ni določen", + "filter-operation": { + "and": "In", + "or": "Ali" + } + }, + "ai-models": { + "ai-models": "Modeli umetne inteligence", + "ai-model": "Model umetne inteligence", + "model": "Model", + "name": "Ime", + "ai-provider": "Ponudnik umetne inteligence", + "no-found": "Ni najdenih modelov umetne inteligence", + "list": "{ count, plural, =1 {En model umetne inteligence} one {Seznam # modela umetne inteligence} two {Seznam # modelov umetne inteligence} few {Seznam # modelov umetne inteligence} other {Seznam # modelov umetne inteligence} }", + "selected-fields": "Izbrano: { count, plural, one {# model umetne inteligence} two {# modela umetne inteligence} few {# modeli umetne inteligence} other {# modelov umetne inteligence} }", + "add": "Dodaj model", + "delete-model-title": "Ali ste prepričani, da želite izbrisati model »{{modelName}}«?", + "delete-model-text": "Pozor! Ko potrdite, modela in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-models-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# model umetne inteligence} two {# modela umetne inteligence} few {# modele umetne inteligence} other {# modelov umetne inteligence} }?", + "delete-models-text": "Pozor! Ko potrdite, bodo vsi izbrani modeli odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "ai-providers": { + "openai": "OpenAI", + "azure-openai": "Azure OpenAI", + "google-ai-gemini": "Google Gemini (Gemini API)", + "google-vertex-ai-gemini": "Google Gemini (Agent Platform - Vertex AI)", + "mistral-ai": "Mistral AI", + "anthropic": "Anthropic", + "amazon-bedrock": "Amazon Bedrock", + "github-models": "GitHub Models", + "ollama": "Ollama" + }, + "name-required": "Ime je obvezno.", + "name-max-length": "Ime mora vsebovati največ 255 znakov.", + "provider": "Ponudnik", + "api-key": "Ključ API", + "api-key-required": "Ključ API je obvezen.", + "api-key-open-ai-required": "Ključ API je obvezen pri uporabi uradnega API-ja OpenAI.", + "project-id": "ID projekta", + "project-id-required": "ID projekta je obvezen", + "location": "Lokacija", + "location-required": "Lokacija je obvezna.", + "service-account-key-file": "Datoteka s ključem storitvenega računa", + "service-account-key-file-required": "Datoteka s ključem storitvenega računa je obvezna.", + "no-file": "Ni izbrane datoteke.", + "drop-file": "Spustite datoteko sem ali kliknite, da jo izberete za nalaganje.", + "personal-access-token": "Osebni žeton za dostop", + "personal-access-token-required": "Osebni žeton za dostop je obvezen.", + "configuration": "Konfiguracija", + "model-id": "ID modela", + "model-id-required": "ID modela je obvezen.", + "deployment-name": "Ime namestitve", + "deployment-name-required": "Ime namestitve je obvezno", + "set": "Nastavi", + "region": "Regija", + "region-required": "Regija je obvezna.", + "access-key-id": "ID ključa za dostop", + "access-key-id-required": "ID ključa za dostop je obvezen.", + "secret-access-key": "Skrivni ključ za dostop", + "secret-access-key-required": "Skrivni ključ za dostop je obvezen.", + "temperature": "Temperatura", + "temperature-hint": "Določa stopnjo naključnosti v izhodu modela. Višje vrednosti povečajo naključnost, nižje pa jo zmanjšajo.", + "temperature-min": "Vrednost mora biti 0 ali več.", + "top-p": "Top P", + "top-p-hint": "Ustvari nabor najverjetnejših žetonov, med katerimi model izbira. Višje vrednosti ustvarijo večji in bolj raznolik nabor, nižje vrednosti pa manjši nabor.", + "top-p-min-max": "Vrednost mora biti večja od 0 in največ 1.", + "top-k": "Top K", + "top-k-hint": "Omeji izbiro modela na nabor »K« najverjetnejših žetonov.", + "top-k-min": "Vrednost mora biti 0 ali več.", + "presence-penalty": "Kazen za prisotnost", + "presence-penalty-hint": "Določa fiksno kazen za verjetnost žetona, če se je ta že pojavil v besedilu.", + "frequency-penalty": "Kazen za pogostost", + "frequency-penalty-hint": "Določa kazen za verjetnost žetona, ki narašča z njegovo pogostostjo v besedilu.", + "max-output-tokens": "Največje število izhodnih žetonov", + "max-output-tokens-hint": "Določa največje število žetonov, ki jih model\nlahko ustvari v enem samem odgovoru.", + "context-length": "Dolžina konteksta", + "context-length-hint": "Določa velikost kontekstnega okna v žetonih. Ta vrednost določa skupno omejitev pomnilnika modela, vključno z vnosom uporabnika in ustvarjenim odgovorom.", + "endpoint": "Končna točka", + "endpoint-required": "Končna točka je obvezna.", + "baseurl": "Izhodiščni URL", + "baseurl-required": "Izhodiščni URL je obvezen.", + "service-version": "Različica storitve", + "check-connectivity": "Preveri povezljivost", + "check-connectivity-success": "Preizkusna zahteva je uspela", + "check-connectivity-failed": "Preizkusna zahteva ni uspela", + "no-model-matching": "Ni modelov, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "model-required": "Model je obvezen.", + "no-model-text": "Ni najdenih modelov.", + "authentication": "Avtentikacija", + "authentication-basic-hint": "Uporablja standardno avtentikacijo HTTP Basic. Uporabniško ime in geslo se združita, kodirata z Base64 in pošljeta v glavi »Authorization« z vsako zahtevo do strežnika Ollama.", + "authentication-token-hint": "Uporablja avtentikacijo z žetonom Bearer. Podani žeton se pošlje neposredno v glavi »Authorization« z vsako zahtevo do strežnika Ollama.", + "authentication-type": { + "none": "Brez", + "basic": "Basic", + "token": "Žeton" + }, + "username": "Uporabniško ime", + "username-required": "Uporabniško ime je obvezno.", + "password": "Geslo", + "password-required": "Geslo je obvezno.", + "token": "Žeton", + "token-required": "Žeton je obvezen." + }, + "ce-grant": { + "ce-grant": "Community Grant", + "ce-grant-note": "Brezplačen in ne poteče.", + "title": "Registracija za Community Grant", + "load-error-lede": "Stanja registracije te namestitve ni bilo mogoče preveriti.", + "step-account-and-terms": "Račun in pogoji", + "step-verification": "Preverjanje", + "step-ce-grant": "Community Grant", + "step-report-back": "Vrnitev poročila", + "intro-heading": "Vaš Community Grant omogoča brezplačno nadgradnjo na različico 4.4", + "intro-lede": "Od različice 4.4 se izdaji Community in Professional združita v eno platformo z dostopno izvorno kodo, za njeno delovanje pa je potreben licenčni ključ. Tisto, kar uporabljate danes, ostane nespremenjeno: različica 4.3 trajno ostane pod licenco Apache 2.0.", + "intro-read-announcement": "Preberi objavo", + "intro-included-title": "Kaj je vključeno", + "intro-included-devices-and-servers-lead": "Naprave in strežniki, ki ste jih uporabljali ob napovedi različice 4.4, ter dodatnih 10 % rezerve pri številu naprav.", + "intro-included-devices-and-servers-text": "Dodeljenih je vedno vsaj 100 naprav, z rezervo do 1000 naprav, zato običajna rast ostane brezplačna.", + "intro-included-permanent-lead": "Trajno.", + "intro-included-permanent-text": "Community Grant ne poteče, obstoječe prilagajanje blagovne znamke ostane, za preteklo uporabo pa nikoli ne boste plačali.", + "intro-included-security-lead": "SSO, RBAC in skrivnosti.", + "intro-included-security-text": "Napredne varnostne funkcije, ki so bile na voljo samo v izdaji Professional, brez dodatnih stroškov.", + "intro-included-register-lead": "Registrirate se lahko kadar koli do 20. julija 2027.", + "intro-included-register-text": "Tega dne se registracija zaključi in podpora za različico 4.3 preneha.", + "intro-assurance": "V tej namestitvi se danes nič ne spremeni. Z registracijo se v novem zavihku odpre Licenčni portal: tam ustvarite račun, to pogovorno okno pa se bo posodobilo samodejno.", + "register-error-generic": "Pri začetku registracije je prišlo do težave. Poskusite znova. Če se težava ponavlja, se obrnite na podporo.", + "awaiting-title": "Zaključite v Licenčnem portalu", + "awaiting-lede": "Tam ustvarite račun in sprejmite pogoje programa Community Grant.", + "need-link": "Potrebujete povezavo?", + "link-use-note": "Uporabite jo lahko na katerem koli računalniku ali jo pošljete osebi, ki skrbi za licenciranje.", + "link-share-caution": "Povezava registrira to namestitev na ime tistega, ki jo odpre — delite jo previdno.", + "stall-note": "Portal se še ni odzval. Če ima ta namestitev omejeno povezavo, registracijo zaključite s katerega koli računalnika prek zgornje povezave — vezana je na to namestitev, ne glede na to, kje jo odprete.", + "verifying-title": "Preverjanje vaše namestitve", + "verifying-lede": "Preverjanje na tem strežniku samo bere podatke, pri veliki bazi podatkov pa lahko traja nekaj minut.", + "no-report-yet": "Poročila še ni?", + "verifying-stall-note": "Če ima ta namestitev omejeno povezavo, lahko preverjanje namesto tega ročno zaženete tukaj — poročilo nato sami prenesete v portal.", + "privacy-online": "Prebere število entitet, časovne žige ustvarjanja in velikosti tabel — nikoli vrednosti telemetrije, imen naprav ali osebnih podatkov — ter portalu pošlje eno šifrirano poročilo.", + "privacy-offline": "Prebere število entitet, časovne žige ustvarjanja in velikosti tabel — nikoli vrednosti telemetrije, imen naprav ali osebnih podatkov. Nič ne zapusti tega strežnika; šifrirano poročilo sami prenesete nazaj.", + "registered-title": "Ta namestitev je registrirana", + "registered-lede": "Po e-pošti smo vam poslali kopijo tega, kar vam je bilo dodeljeno. Licenčni ključ je v vašem računu v Licenčnem portalu — uporabite ga pri nadgradnji na 4.4; do takrat se v tej namestitvi nič ne spremeni.", + "review-title": "Vašo registracijo pregledujemo", + "review-lede": "Takoj ko bo pregled končan, vam bomo pisali na naslov, naveden v vašem računu na portalu. Do takrat ta namestitev deluje nespremenjeno.", + "offline-title": "Registrirajte se na računalniku z internetno povezavo", + "offline-lede": "Tam odprite to povezavo in ustvarite račun. Portal vas bo enkrat preusmeril nazaj sem, z orodjem, ki ga zaženete na tem strežniku — njegovo poročilo pa prenesete nazaj.", + "offline-caution": "Ta namestitev ne more doseči Licenčnega portala.", + "verify-title": "Preverite to namestitev", + "verify-lede": "Preverjanje samo bere podatke, pri veliki bazi podatkov pa lahko traja nekaj minut.", + "verify-upload-tool": "Naložite orodje za preverjanje namestitve", + "verify-choose-bundle-file": "Izberite datoteko paketa", + "verify-upload-hint": "Naložite jo takšno, kot ste jo prenesli — namestitev datoteko odpre sama in pred kakršnim koli izvajanjem preveri podpis orodja.", + "verify-error-no-file": "Izberite datoteko paketa — tisto, ki ste jo prenesli s portala za platformo tega strežnika.", + "verify-error-not-a-bundle": "Neveljavna datoteka paketa za vpis. Izberite datoteko paketa — tisto, ki ste jo prenesli s portala za platformo tega strežnika.", + "verify-error-malformed": "Nepravilno oblikovana datoteka paketa za vpis. Izberite datoteko paketa — tisto, ki ste jo prenesli s portala za platformo tega strežnika.", + "bundle-expired-warning": "Ta paket je potekel dne {{ date }}. Preverjanje lahko vseeno zaženete — če bo poročilo zavrnjeno, prenesite nov paket.", + "verify-error-failed": "Preverjanje ni moglo prebrati baze podatkov te namestitve. Poskusite znova — če še naprej ne uspe, lahko naša ekipa postopek zaključi ročno: obrnite se na podporo.", + "result-title": "Vrnite to poročilo portalu", + "result-lede": "Prilepite ga na stran portala, s katere ste začeli.", + "result-error-empty": "Vsebina poročila ni bila vrnjena. Poskusite znova.", + "result-safe-to-close": "Še niste prilepili? Poročilo ostane tukaj.", + "expired-title": "Ta povezava za registracijo je potekla", + "expired-lede": "Povezava je potekla ali pa jo je nadomestila novejša.", + "expired-text": "Z gumbom »Začni znova« se za to namestitev izda nova povezava — to ne vpliva na nič drugega.", + "portal-unreachable-title": "Licenčnega portala ni bilo mogoče doseči", + "portal-unreachable-lede": "Ta namestitev od portala ni več prejemala odgovorov, zato registracija ni bila dokončana.", + "portal-unreachable-text": "Nič ni bilo registrirano in tukaj se ni nič spremenilo. Ob ponovnem poskusu se povezava preveri na novo — in če portal še vedno ne bo dosegljiv, vam bo ponujena registracija z drugega računalnika.", + "check-failed-title": "Preverjanja namestitve ni bilo mogoče dokončati", + "check-failed-lede": "Orodje za preverjanje se na tem strežniku tudi po več poskusih ni uspešno zaključilo.", + "check-failed-text": "Poskusite znova — če še naprej ne uspe, lahko naša ekipa postopek zaključi ročno: obrnite se na podporo.", + "already-title": "Ta namestitev je že registrirana", + "already-lede-no-mask": "Za eno namestitev lahko obstaja samo en Community Grant.", + "already-same-organization": "Licenčni ključ je v računu, s katerim je bila namestitev registrirana. Če je ta račun vaš (obnovljena varnostna kopija se registrira pod isto identiteto), se prijavite v Licenčni portal in ga kopirajte od tam.", + "already-someone-else-registered": "Če jo je registriral kdo drug v vaši organizaciji, ga prosite za ključ — ali pa zahtevajte dostop, mi pa bomo po e-pošti obvestili registrirano kontaktno osebo.", + "already-request-sent": "Zahteva je poslana — o nadaljnjih korakih odloči registrirana kontaktna oseba. Če veste, kdo je, jo je hitreje vprašati neposredno.", + "wrong-installation-title": "Te namestitve ni mogoče registrirati", + "wrong-installation-lede": "Evidenčni zapisi te namestitve se ne ujemajo s podatki v Licenčnem portalu, zato registracija za Community Grant tukaj ni mogoča.", + "wrong-installation-text": "V tej namestitvi se ni nič spremenilo in Community Grant ni bil registriran. To se zgodi redko, običajno po obnovitvi ali selitvi baze podatkov — obrnite se na podporo in naša ekipa bo težavo rešila.", + "safe-to-close": "Okno lahko varno zaprete.", + "card-expired-note": "Vaša prejšnja povezava za registracijo je potekla — ponoven začetek traja nekaj sekund.", + "card-check-failed-note": "Preverjanje obsega ni bilo dokončano — ponoven poskus traja nekaj sekund.", + "card-portal-unreachable-note": "Licenčni portal se ni odzval — ob ponovnem poskusu se povezava preveri znova.", + "card-progress-title": "Registracija te namestitve", + "card-awaiting-text": "Registracija se nadaljuje v Licenčnem portalu — ko jo tam zaključite, se ta kartica samodejno posodobi.", + "card-verifying-text": "Preverjanje te namestitve — nekaj minut, v celoti na tem strežniku.", + "card-offline-text": "Registracija se nadaljuje v Licenčnem portalu na drugem računalniku — tukaj nadaljujte, ko bo korak zahteval ta strežnik.", + "card-verify-title": "Preverjanje čaka tukaj", + "card-verify-text": "Naložite paket za vpis s portala in nato tukaj zaženite preverjanje.", + "card-result-title": "Poročilo je pripravljeno za vrnitev", + "card-result-text": "Kopirajte ga v Licenčni portal, da zaključite registracijo.", + "card-registered-title": "Community Grant je registriran", + "card-registered-text": "Tukaj ni treba storiti ničesar več — licenčni ključ uporabite, ko boste to namestitev nadgradili na 4.4.", + "card-registered-link": "Prikaži, kaj je bilo dodeljeno", + "card-handed-over-title": "Poročilo je predano", + "card-handed-over-text": "Registracija se zaključi v Licenčnem portalu — tam sta izid in ključ; ta namestitev o tem ni obveščena.", + "card-handed-over-link": "Spremljaj registracijo", + "card-review-title": "Registracija je v pregledu", + "card-review-text": "Oglasili se vam bomo takoj, ko bo pregled končan. Ta namestitev deluje nespremenjeno.", + "card-wrong-installation-title": "Registracija ni mogoča", + "card-wrong-installation-text": "Evidenčni zapisi te namestitve se ne ujemajo s podatki Licenčnega portala, zato Community Grant ni bil registriran.", + "card-already-title": "Že registrirano", + "card-already-text-no-mask": "Community Grant za to namestitev že obstaja — vsaka namestitev ima lahko samo enega.", + "action-not-now": "Ne zdaj", + "action-register": "Registriraj to namestitev", + "action-close": "Zapri", + "action-copy": "Kopiraj", + "action-copied": "Kopirano", + "action-open": "Odpri", + "action-reissue-link": "Znova izdaj povezavo", + "action-continue-to-verification": "Nadaljuj na preverjanje", + "action-try-again": "Poskusi znova", + "action-back": "Nazaj", + "action-run-verification": "Zaženi preverjanje", + "action-start-again": "Začni znova", + "action-request-access": "Zahtevaj dostop", + "action-continue": "Nadaljuj", + "action-see-options": "Prikaži možnosti", + "action-see-details": "Prikaži podrobnosti", + "action-return-report": "Vrni poročilo", + "action-report-handed-over": "Poročilo je predano", + "action-open-report": "Odpri poročilo", + "action-verify-by-hand-instead": "Raje preveri ročno", + "action-verify-deployment": "Preveri to namestitev" + }, + "confirm-on-exit": { + "message": "Imate neshranjene spremembe. Ali ste prepričani, da želite zapustiti to stran?", + "html-message": "Imate neshranjene spremembe.
    Ali ste prepričani, da želite zapustiti to stran?", + "title": "Neshranjene spremembe" + }, + "contact": { + "country": "Država", + "country-required": "Država je obvezna.", + "country-object-required": "Izberite veljavno državo s seznama.", + "city": "Mesto", + "state": "Regija / pokrajina", + "postal-code": "Poštna številka", + "postal-code-invalid": "Neveljavna oblika poštne številke.", + "address": "Naslov", + "address2": "Naslov 2", + "phone": "Telefon", + "email": "E-pošta", + "no-address": "Brez naslova", + "no-country-found": "Ni najdenih držav.", + "no-country-matching": "Ni držav, ki bi se ujemale z iskalnim nizom »{{country}}«.", + "state-max-length": "Regija / pokrajina mora biti krajša od 256 znakov", + "phone-max-length": "Telefonska številka mora biti krajša od 256 znakov", + "city-max-length": "Mesto mora biti krajše od 256 znakov" + }, + "common": { + "name": "Ime", + "type": "Vrsta", + "general": "Splošno", + "username": "Uporabniško ime", + "password": "Geslo", + "data": "Podatki", + "timestamp": "Časovni žig", + "enter-username": "Vnesite uporabniško ime", + "enter-password": "Vnesite geslo", + "enter-search": "Vnesite iskalni niz", + "created-time": "Čas ustvarjanja", + "disabled": "Onemogočeno", + "loading": "Nalaganje...", + "proceed": "Nadaljuj", + "open-details-page": "Odpri stran s podrobnostmi", + "not-found": "Ni najdeno", + "value": "Vrednost", + "documentation": "Dokumentacija", + "time-left": "Preostalo: {{time}}", + "output": "Izhod", + "sort-asc": "Naraščajoče", + "sort-desc": "Padajoče", + "suffix": { + "s": "s", + "ms": "ms" + }, + "hint": { + "name-required": "Ime je obvezno.", + "name-pattern": "Ime je neveljavno.", + "name-max-length": "Ime mora biti krajše od 256 znakov.", + "title-required": "Naslov je obvezen.", + "title-pattern": "Naslov je neveljaven.", + "title-max-length": "Naslov mora biti krajši od 256 znakov.", + "key-required": "Ključ je obvezen.", + "key-pattern": "Ključ je neveljaven.", + "key-max-length": "Ključ mora biti krajši od 256 znakov." + }, + "required-fields": "Manjkajo obvezna polja" + }, + "content-type": { + "json": "JSON", + "text": "Besedilo", + "binary": "Binarno (Base64)" + }, + "customer": { + "customer": "Stranka", + "customers": "Stranke", + "management": "Upravljanje strank", + "dashboard": "Nadzorna plošča stranke", + "dashboards": "Nadzorne plošče stranke", + "devices": "Naprave stranke", + "entity-views": "Pogledi entitet stranke", + "assets": "Sredstva stranke", + "public-dashboards": "Javne nadzorne plošče", + "public-devices": "Javne naprave", + "public-assets": "Javna sredstva", + "public-edges": "Javne instance Edge", + "public-entity-views": "Javni pogledi entitet", + "add": "Dodaj stranko", + "delete": "Izbriši stranko", + "manage-customer-users": "Upravljaj uporabnike stranke", + "manage-customer-devices": "Upravljaj naprave stranke", + "manage-customer-dashboards": "Upravljaj nadzorne plošče stranke", + "manage-public-devices": "Upravljaj javne naprave", + "manage-public-dashboards": "Upravljaj javne nadzorne plošče", + "manage-customer-assets": "Upravljaj sredstva stranke", + "manage-public-assets": "Upravljaj javna sredstva", + "manage-customer-edges": "Upravljaj instance Edge stranke", + "manage-public-edges": "Upravljaj javne instance Edge", + "add-customer-text": "Dodaj novo stranko", + "no-customers-text": "Ni najdenih strank", + "customer-details": "Podrobnosti stranke", + "delete-customer-title": "Ali ste prepričani, da želite izbrisati stranko »{{customerTitle}}«?", + "delete-customer-text": "Pozor! Ko potrdite, stranke in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-customers-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# stranko} two {# stranki} few {# stranke} other {# strank} }?", + "delete-customers-action-title": "Izbriši { count, plural, one {# stranko} two {# stranki} few {# stranke} other {# strank} }", + "delete-customers-text": "Pozor! Ko potrdite, bodo vse izbrane stranke odstranjene, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "manage-users": "Upravljaj uporabnike", + "manage-assets": "Upravljaj sredstva", + "manage-devices": "Upravljaj naprave", + "manage-dashboards": "Upravljaj nadzorne plošče", + "title": "Naslov", + "title-required": "Naslov je obvezen.", + "title-max-length": "Naslov mora biti krajši od 256 znakov", + "description": "Opis", + "details": "Podrobnosti", + "events": "Dogodki", + "copyId": "Kopiraj ID stranke", + "idCopiedMessage": "ID stranke je kopiran v odložišče", + "select-customer": "Izberi stranko", + "no-customers-matching": "Ni strank, ki bi se ujemale z iskalnim nizom »{{entity}}«.", + "customer-required": "Stranka je obvezna.", + "select-default-customer": "Izberi privzeto stranko", + "default-customer": "Privzeta stranka", + "default-customer-required": "Privzeta stranka je obvezna za razhroščevanje nadzorne plošče na ravni najemnika", + "search": "Iskanje strank", + "selected-customers": "Izbrano: { count, plural, one {# stranka} two {# stranki} few {# stranke} other {# strank} }", + "edges": "Instance Edge stranke", + "manage-edges": "Upravljaj instance Edge" + }, + "css-size": { + "size-value-required": "Vrednost velikosti je obvezna", + "invalid-size-value": "Neveljavna vrednost velikosti" + }, + "date": { + "last-update-n-ago": "Zadnja posodobitev pred N", + "last-update-n-ago-text": "Zadnja posodobitev {{ agoText }}", + "custom-date": "Datum po meri", + "format": "Oblika zapisa", + "preview": "Predogled", + "auto": "Samodejno", + "time-granularity-formats": "Oblike zapisa po časovni zrnatosti", + "unit-year": "Leta", + "unit-month": "Meseci", + "unit-day": "Dnevi", + "unit-hour": "Ure", + "unit-minute": "Minute", + "unit-second": "Sekunde", + "unit-millisecond": "Milisekunde" + }, + "datetime": { + "date-from": "Datum od", + "time-from": "Čas od", + "date-to": "Datum do", + "time-to": "Čas do", + "from": "Od", + "to": "Do" + }, + "dashboard": { + "dashboard": "Nadzorna plošča", + "dashboards": "Nadzorne plošče", + "management": "Upravljanje nadzornih plošč", + "view-dashboards": "Ogled nadzornih plošč", + "add": "Dodaj nadzorno ploščo", + "assign-dashboard-to-customer": "Dodeli nadzorne plošče stranki", + "assign-dashboard-to-customer-text": "Izberite nadzorne plošče, ki jih želite dodeliti stranki", + "assign-dashboard-to-edge-title": "Dodeli nadzorne plošče Edge-u", + "assign-to-customer-text": "Izberite stranko, ki ji želite dodeliti nadzorno ploščo oziroma nadzorne plošče", + "assign-to-customer": "Dodeli stranki", + "unassign-from-customer": "Prekliči dodelitev stranki", + "make-public": "Naredi nadzorno ploščo javno", + "make-private": "Naredi nadzorno ploščo zasebno", + "manage-assigned-customers": "Upravljaj dodeljene stranke", + "assigned-customers": "Dodeljene stranke", + "assign-to-customers": "Dodeli nadzorne plošče strankam", + "assign-to-customers-text": "Izberite stranke, ki jim želite dodeliti nadzorno ploščo oziroma nadzorne plošče", + "unassign-from-customers": "Prekliči dodelitev nadzornih plošč strankam", + "unassign-from-customers-text": "Izberite stranke, ki jim želite preklicati dodelitev nadzorne plošče oziroma nadzornih plošč", + "no-dashboards-text": "Ni najdenih nadzornih plošč", + "no-widgets": "Ni konfiguriranih gradnikov", + "add-widget": "Dodaj nov gradnik", + "add-widget-button-text": "Dodaj gradnik", + "title": "Naslov", + "image": "Slika nadzorne plošče", + "mobile-app-settings": "Nastavitve mobilne aplikacije", + "mobile-order": "Vrstni red nadzorne plošče v mobilni aplikaciji", + "mobile-hide": "Skrij nadzorno ploščo v mobilni aplikaciji", + "update-image": "Posodobi sliko nadzorne plošče", + "update-new-version": "Naloži novo različico", + "upload-file-to-update": "Naloži datoteko za posodobitev", + "take-screenshot": "Zajemi posnetek zaslona", + "select-widget-title": "Izberite gradnik", + "select-widget-value": "{{title}}: izberite gradnik", + "select-widget-subtitle": "Seznam razpoložljivih vrst gradnikov", + "delete": "Izbriši nadzorno ploščo", + "title-required": "Naslov je obvezen.", + "title-max-length": "Naslov mora biti krajši od 256 znakov", + "description": "Opis", + "details": "Podrobnosti", + "dashboard-details": "Podrobnosti nadzorne plošče", + "add-dashboard-text": "Dodaj novo nadzorno ploščo", + "assign-dashboards": "Dodeli nadzorne plošče", + "assign-new-dashboard": "Dodeli novo nadzorno ploščo", + "assign-dashboards-text": "Dodeli { count, plural, one {# nadzorno ploščo} two {# nadzorni plošči} few {# nadzorne plošče} other {# nadzornih plošč} } strankam", + "unassign-dashboards-action-text": "Prekliči dodelitev { count, plural, one {# nadzorne plošče} two {# nadzornih plošč} few {# nadzornih plošč} other {# nadzornih plošč} } strankam", + "delete-dashboards": "Izbriši nadzorne plošče", + "unassign-dashboards": "Prekliči dodelitev nadzornih plošč", + "unassign-dashboards-action-title": "Prekliči dodelitev { count, plural, one {# nadzorne plošče} two {# nadzornih plošč} few {# nadzornih plošč} other {# nadzornih plošč} } stranki", + "delete-dashboard-title": "Ali ste prepričani, da želite izbrisati nadzorno ploščo »{{dashboardTitle}}«?", + "delete-dashboard-text": "Pozor! Ko potrdite, nadzorne plošče in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-dashboards-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# nadzorno ploščo} two {# nadzorni plošči} few {# nadzorne plošče} other {# nadzornih plošč} }?", + "delete-dashboards-action-title": "Izbriši { count, plural, one {# nadzorno ploščo} two {# nadzorni plošči} few {# nadzorne plošče} other {# nadzornih plošč} }", + "delete-dashboards-text": "Pozor! Ko potrdite, bodo vse izbrane nadzorne plošče odstranjene, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "unassign-dashboard-title": "Ali ste prepričani, da želite preklicati dodelitev nadzorne plošče »{{dashboardTitle}}«?", + "unassign-dashboard-text": "Ko potrdite, nadzorna plošča ne bo več dodeljena stranki in ji ne bo več dostopna.", + "unassign-dashboard": "Prekliči dodelitev nadzorne plošče", + "unassign-dashboards-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, one {# nadzorne plošče} two {# nadzornih plošč} few {# nadzornih plošč} other {# nadzornih plošč} }?", + "unassign-dashboards-text": "Ko potrdite, izbrane nadzorne plošče ne bodo več dodeljene stranki in ji ne bodo več dostopne.", + "public-dashboard-title": "Nadzorna plošča je zdaj javna", + "public-dashboard-text": "Vaša nadzorna plošča {{dashboardTitle}} je zdaj javna in dostopna prek naslednje javne povezave:", + "public-dashboard-notice": "Opomba: Ne pozabite povezane naprave narediti javne, da bo mogoč dostop do njihovih podatkov.", + "make-private-dashboard-title": "Ali ste prepričani, da želite nadzorno ploščo »{{dashboardTitle}}« narediti zasebno?", + "make-private-dashboard-text": "Ko potrdite, bo nadzorna plošča postala zasebna in drugim ne bo več dostopna.", + "make-private-dashboard": "Naredi nadzorno ploščo zasebno", + "socialshare-text": "»{{dashboardTitle}}« poganja ThingsBoard", + "socialshare-title": "»{{dashboardTitle}}« poganja ThingsBoard", + "select-dashboard": "Izberite nadzorno ploščo", + "no-dashboards-matching": "Ni nadzornih plošč, ki bi se ujemale z iskalnim nizom »{{entity}}«.", + "dashboard-required": "Nadzorna plošča je obvezna.", + "select-existing": "Izberi obstoječo nadzorno ploščo", + "create-new": "Ustvari novo nadzorno ploščo", + "new-dashboard-title": "Naslov nove nadzorne plošče", + "open-dashboard": "Odpri nadzorno ploščo", + "set-background": "Nastavi ozadje", + "background-color": "Barva ozadja", + "background-image": "Slika ozadja", + "background-size-mode": "Način velikosti ozadja", + "no-image": "Ni izbrane slike", + "empty-image": "Ni slike", + "drop-image": "Spustite sliko ali kliknite, če želite izbrati datoteko za nalaganje.", + "maximum-upload-file-size": "Največja velikost datoteke za nalaganje: {{ size }}", + "cannot-upload-file": "Datoteke ni mogoče naložiti", + "settings": "Nastavitve", + "move-all-widgets": "Premakni vse gradnike", + "move-by": "Premakni za", + "cols": "stolp.", + "rows": "vrst.", + "layout": "Postavitev", + "layout-type-default": "Privzeto", + "layout-type-scada": "SCADA", + "layout-type-divider": "Ločilnik", + "layout-settings-type": "Nastavitve postavitve: prelomna točka {{ type }}", + "columns-count": "Število stolpcev", + "columns-count-required": "Število stolpcev je obvezno.", + "min-columns-count-message": "Dovoljeno je najmanj 10 stolpcev.", + "max-columns-count-message": "Dovoljeno je največ 1000 stolpcev.", + "min-layout-width": "Najmanjša širina postavitve", + "columns-suffix": "stolpcev", + "widgets-margins": "Razmik med gradniki", + "margin-required": "Vrednost razmika je obvezna.", + "min-margin-message": "Najmanjša dovoljena vrednost razmika je 0.", + "max-margin-message": "Največja dovoljena vrednost razmika je 50.", + "horizontal-margin": "Vodoravni razmik", + "horizontal-margin-required": "Vrednost vodoravnega razmika je obvezna.", + "min-horizontal-margin-message": "Najmanjša dovoljena vrednost vodoravnega razmika je 0.", + "max-horizontal-margin-message": "Največja dovoljena vrednost vodoravnega razmika je 50.", + "vertical-margin": "Navpični razmik", + "vertical-margin-required": "Vrednost navpičnega razmika je obvezna.", + "min-vertical-margin-message": "Najmanjša dovoljena vrednost navpičnega razmika je 0.", + "max-vertical-margin-message": "Največja dovoljena vrednost navpičnega razmika je 50.", + "apply-outer-margin": "Uporabi razmik ob robovih postavitve", + "autofill-height": "Samodejno zapolni višino postavitve", + "mobile-layout": "Nastavitve mobilne postavitve", + "mobile-row-height": "Višina mobilne vrstice", + "mobile-row-height-required": "Vrednost višine mobilne vrstice je obvezna.", + "min-mobile-row-height-message": "Najmanjša dovoljena višina mobilne vrstice je 5 slikovnih pik.", + "max-mobile-row-height-message": "Največja dovoljena višina mobilne vrstice je 200 slikovnih pik.", + "row-height": "Višina vrstice", + "row-height-required": "Vrednost višine vrstice je obvezna.", + "min-row-height-message": "Najmanjša dovoljena višina vrstice je 5 slikovnih pik.", + "max-row-height-message": "Največja dovoljena višina vrstice je 200 slikovnih pik.", + "display-first-in-mobile-view": "Najprej prikaži v mobilnem pogledu", + "title-settings": "Nastavitve naslova", + "display-title": "Prikaži naslov nadzorne plošče", + "title-color": "Barva naslova", + "toolbar-settings": "Nastavitve orodne vrstice", + "hide-toolbar": "Skrij orodno vrstico", + "toolbar-always-open": "Ohrani orodno vrstico odprto", + "display-dashboards-selection": "Prikaži izbor nadzornih plošč", + "display-entities-selection": "Prikaži izbor entitet", + "display-filters": "Prikaži filtre", + "display-dashboard-timewindow": "Prikaži časovno okno", + "display-dashboard-export": "Prikaži izvoz", + "display-update-dashboard-image": "Prikaži možnost posodobitve slike nadzorne plošče", + "dashboard-logo-settings": "Nastavitve logotipa nadzorne plošče", + "display-dashboard-logo": "Prikaži logotip v celozaslonskem načinu nadzorne plošče", + "dashboard-logo-image": "Slika logotipa nadzorne plošče", + "advanced-settings": "Napredne nastavitve", + "dashboard-css": "CSS nadzorne plošče", + "import": "Uvozi nadzorno ploščo", + "export": "Izvozi nadzorno ploščo", + "export-failed-error": "Nadzorne plošče ni mogoče izvoziti: {{error}}", + "export-prompt": "Vdelaj slike in vire nadzorne plošče", + "create-new-dashboard": "Ustvari novo nadzorno ploščo", + "dashboard-file": "Datoteka nadzorne plošče", + "invalid-dashboard-file-error": "Nadzorne plošče ni mogoče uvoziti: neveljavna struktura podatkov nadzorne plošče.", + "dashboard-import-missing-aliases-title": "Konfiguriraj vzdevke, ki jih uporablja uvožena nadzorna plošča", + "create-new-widget": "Ustvari nov gradnik", + "import-widget": "Uvozi gradnik", + "widget-file": "Datoteka gradnika", + "invalid-widget-file-error": "Gradnika ni mogoče uvoziti: neveljavna struktura podatkov gradnika.", + "widget-import-missing-aliases-title": "Konfiguriraj vzdevke, ki jih uporablja uvoženi gradnik", + "open-toolbar": "Odpri orodno vrstico nadzorne plošče", + "close-toolbar": "Zapri orodno vrstico", + "configuration-error": "Napaka konfiguracije", + "alias-resolution-error-title": "Napaka konfiguracije vzdevkov nadzorne plošče", + "invalid-aliases-config": "Za nekatere filtre vzdevkov ni najdene nobene ujemajoče se naprave.
    Za rešitev težave se obrnite na skrbnika.", + "select-devices": "Izberi naprave", + "assignedToCustomer": "Dodeljeno stranki", + "assignedToCustomers": "Dodeljeno strankam", + "public": "Javno", + "copyId": "Kopiraj ID nadzorne plošče", + "idCopiedMessage": "ID nadzorne plošče je kopiran v odložišče", + "public-link": "Javna povezava", + "copy-public-link": "Kopiraj javno povezavo", + "public-link-copied-message": "Javna povezava nadzorne plošče je kopirana v odložišče", + "manage-states": "Upravljaj stanja nadzorne plošče", + "states": "Stanja nadzorne plošče", + "states-short": "Stanja", + "search-states": "Iskanje stanj nadzorne plošče", + "selected-states": "Izbrano: { count, plural, one {# stanje nadzorne plošče} two {# stanji nadzorne plošče} few {# stanja nadzorne plošče} other {# stanj nadzorne plošče} }", + "edit-state": "Uredi stanje nadzorne plošče", + "delete-state": "Izbriši stanje nadzorne plošče", + "add-state": "Dodaj stanje nadzorne plošče", + "no-states-text": "Ni najdenih stanj", + "state": "Stanje nadzorne plošče", + "state-name": "Ime", + "state-name-required": "Ime stanja nadzorne plošče je obvezno.", + "state-id": "ID stanja", + "state-id-required": "ID stanja nadzorne plošče je obvezen.", + "state-id-exists": "Stanje nadzorne plošče z istim ID-jem že obstaja.", + "is-root-state": "Korensko stanje", + "delete-state-title": "Izbriši stanje nadzorne plošče", + "delete-state-text": "Ali ste prepričani, da želite izbrisati stanje nadzorne plošče z imenom »{{stateName}}«?", + "show-details": "Prikaži podrobnosti", + "hide-details": "Skrij podrobnosti", + "select-state": "Izberite ciljno stanje", + "state-controller": "Krmilnik stanja", + "state-controller-default": "statično (zastarelo)", + "search": "Iskanje nadzornih plošč", + "selected-dashboards": "Izbrano: { count, plural, one {# nadzorna plošča} two {# nadzorni plošči} few {# nadzorne plošče} other {# nadzornih plošč} }", + "home-dashboard": "Domača nadzorna plošča", + "home-dashboard-hide-toolbar": "Skrij orodno vrstico domače nadzorne plošče", + "unassign-dashboard-from-edge-text": "Ko potrdite, nadzorna plošča ne bo več dodeljena Edge-u in mu ne bo več dostopna.", + "unassign-dashboards-from-edge-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, one {# nadzorne plošče} two {# nadzornih plošč} few {# nadzornih plošč} other {# nadzornih plošč} } Edge-u?", + "unassign-dashboards-from-edge-text": "Ko potrdite, izbrane nadzorne plošče ne bodo več dodeljene Edge-u in mu ne bodo več dostopne.", + "assign-dashboard-to-edge": "Dodeli nadzorne plošče Edge-u", + "assign-dashboard-to-edge-text": "Izberite nadzorne plošče, ki jih želite dodeliti Edge-u", + "non-existent-dashboard-state-error": "Stanja nadzorne plošče z ID-jem »{{ stateId }}« ni mogoče najti", + "edit-mode": "Način urejanja", + "duplicate-state-action": "Podvoji stanje", + "breakpoint-value": "Prelomna točka ({{ value }})", + "breakpoints-id": { + "default": "Privzeto", + "xs": "Mobilna naprava (xs)", + "sm": "Tablični računalnik (sm)", + "md": "Prenosni računalnik (md)", + "lg": "Namizni računalnik (lg)", + "xl": "Namizni računalnik (xl)" + }, + "view-format-type-grid": "Mreža", + "view-format-type-list": "Seznam", + "view-format": "Oblika prikaza" + }, + "datakey": { + "settings": "Nastavitve", + "general": "Splošno", + "advanced": "Napredno", + "key": "Ključ", + "keys": "Ključi", + "label": "Oznaka", + "color": "Barva", + "units": "Poseben simbol ob vrednosti", + "decimals": "Število decimalnih mest", + "data-generation-func": "Funkcija za ustvarjanje podatkov", + "use-data-post-processing-func": "Uporabi funkcijo naknadne obdelave podatkov", + "configuration": "Konfiguracija podatkovnega ključa", + "timeseries": "Časovne serije", + "attributes": "Atributi", + "entity-field": "Polje entitete", + "alarm": "Polja alarma", + "timeseries-required": "Časovne serije entitete so obvezne.", + "timeseries-or-attributes-required": "Časovne serije/atributi entitete so obvezni.", + "alarm-fields-timeseries-or-attributes-required": "Polja alarma ali časovne serije/atributi entitete so obvezni.", + "maximum-timeseries-or-attributes": "Dovoljeno je največ { count, plural, one {# časovna serija/atribut} two {# časovni seriji/atributa} few {# časovne serije/atributi} other {# časovnih serij/atributov} }.", + "alarm-fields-required": "Polja alarma so obvezna.", + "function-types": "Vrste funkcij", + "function-type": "Vrsta funkcije", + "function-types-required": "Vrste funkcij so obvezne.", + "data-keys": "Podatkovni ključi", + "data-key": "Podatkovni ključ", + "data-keys-required": "Podatkovni ključi so obvezni.", + "data-key-required": "Podatkovni ključ je obvezen.", + "alarm-keys": "Podatkovni ključi alarma", + "alarm-key": "Podatkovni ključ alarma", + "alarm-key-functions": "Funkcije ključa alarma", + "alarm-key-function": "Funkcija ključa alarma", + "latest-keys": "Najnovejši podatkovni ključi", + "latest-key": "Najnovejši podatkovni ključ", + "latest-key-functions": "Funkcije najnovejšega ključa", + "latest-key-function": "Funkcija najnovejšega ključa", + "timeseries-keys": "Podatkovni ključi časovnih serij", + "timeseries-key": "Podatkovni ključ časovne serije", + "timeseries-key-functions": "Funkcije ključa časovne serije", + "timeseries-key-function": "Funkcija ključa časovne serije", + "maximum-function-types": "Dovoljeno je največ { count, plural, one {# vrsta funkcije} two {# vrsti funkcij} few {# vrste funkcij} other {# vrst funkcij} }.", + "time-description": "časovni žig trenutne vrednosti;", + "value-description": "trenutna vrednost;", + "prev-value-description": "rezultat prejšnjega klica funkcije;", + "time-prev-description": "časovni žig prejšnje vrednosti;", + "prev-orig-value-description": "izvirna prejšnja vrednost;", + "aggregation": "Združevanje", + "aggregation-type-hint-common": "Zaradi zmogljivosti je izračun združenih vrednosti na voljo samo za fiksne časovne intervale, kot so »trenutni dan«, »trenutni mesec« itd., ni pa na voljo za intervale drsečega okna, kot sta »zadnjih 30 minut« ali »zadnjih 24 ur«.", + "aggregation-type-none-hint": "Uporabi najnovejšo vrednost.", + "aggregation-type-min-hint": "Poišči najmanjšo vrednost med podatkovnimi točkami v izbranem časovnem oknu.", + "aggregation-type-max-hint": "Poišči največjo vrednost med podatkovnimi točkami v izbranem časovnem oknu.", + "aggregation-type-avg-hint": "Izračunaj povprečno vrednost med podatkovnimi točkami v izbranem časovnem oknu.", + "aggregation-type-sum-hint": "Seštej vse vrednosti podatkovnih točk v izbranem časovnem oknu.", + "aggregation-type-count-hint": "Skupno število podatkovnih točk v izbranem časovnem oknu.", + "delta-calculation": "Izračun delte", + "enable-delta-calculation": "Omogoči izračun delte", + "enable-delta-calculation-hint": "Ko je omogočeno, se vrednost podatkovnega ključa izračuna na podlagi združenih vrednosti za izbrano časovno okno in določeno primerjalno obdobje. Zaradi zmogljivosti je izračun delte na voljo samo za zgodovinska časovna okna in ne za vrednosti v realnem času. Izračunate lahko na primer delto med porabo energije včeraj in porabo energije predvčerajšnjim.", + "delta-calculation-result": "Rezultat izračuna delte", + "delta-calculation-result-previous-value": "Prejšnja vrednost", + "delta-calculation-result-delta-absolute": "Delta (absolutna)", + "delta-calculation-result-delta-percent": "Delta (v odstotkih)", + "source": "Vir", + "latest": "Najnovejše", + "latest-value": "Najnovejša vrednost", + "delta": "delta", + "percent": "v odstotkih", + "absolute": "absolutno" + }, + "datasource": { + "type": "Vrsta vira podatkov", + "name": "Ime", + "label": "Oznaka", + "add-datasource-prompt": "Dodajte vir podatkov" + }, + "details": { + "details": "Podrobnosti", + "edit-mode": "Način urejanja", + "edit-json": "Uredi JSON", + "toggle-edit-mode": "Preklopi način urejanja" + }, + "device": { + "device": "Naprava", + "device-required": "Naprava je obvezna.", + "devices": "Naprave", + "management": "Upravljanje naprav", + "view-devices": "Ogled naprav", + "device-alias": "Vzdevek naprave", + "device-type-max-length": "Vrsta naprave mora biti krajša od 256 znakov", + "aliases": "Vzdevki naprav", + "no-alias-matching": "Vzdevka »{{alias}}« ni mogoče najti.", + "no-aliases-found": "Ni najdenih vzdevkov.", + "no-key-matching": "Ključa »{{key}}« ni mogoče najti.", + "no-keys-found": "Ni najdenih ključev.", + "create-new-alias": "Ustvari nov vzdevek!", + "create-new-key": "Ustvari nov ključ!", + "duplicate-alias-error": "Najden je podvojen vzdevek »{{alias}}«.
    Vzdevki naprav morajo biti znotraj nadzorne plošče enolični.", + "configure-alias": "Konfiguriraj vzdevek »{{alias}}«", + "no-devices-matching": "Ni naprav, ki bi se ujemale z iskalnim nizom »{{entity}}«.", + "alias": "Vzdevek", + "alias-required": "Vzdevek naprave je obvezen.", + "remove-alias": "Odstrani vzdevek naprave", + "add-alias": "Dodaj vzdevek naprave", + "name-starts-with": "Izraz za ime naprave", + "help-text": "Po potrebi uporabite '%': '%device_name_contains%', '%device_name_ends', 'device_starts_with%'.", + "device-list": "Seznam naprav", + "use-device-name-filter": "Uporabi filter", + "device-list-empty": "Ni izbranih naprav.", + "device-name-filter-required": "Filter imena naprave je obvezen.", + "device-name-filter-no-device-matched": "Ni najdenih naprav, katerih ime se začne z nizom »{{device}}«.", + "add": "Dodaj napravo", + "assign-to-customer": "Dodeli stranki", + "assign-device-to-customer": "Dodeli naprave stranki", + "assign-device-to-customer-text": "Izberite naprave, ki jih želite dodeliti stranki", + "assign-device-to-edge-title": "Dodeli naprave Edge-u", + "assign-device-to-edge-text":"Izberite naprave, ki jih želite dodeliti Edge-u", + "make-public": "Naredi napravo javno", + "make-private": "Naredi napravo zasebno", + "no-devices-text": "Ni najdenih naprav", + "assign-to-customer-text": "Izberite stranko, ki ji želite dodeliti napravo oziroma naprave", + "device-details": "Podrobnosti naprave", + "add-device-text": "Dodaj novo napravo", + "credentials": "Poverilnice", + "manage-credentials": "Upravljaj poverilnice", + "delete": "Izbriši napravo", + "assign-devices": "Dodeli naprave", + "assign-devices-text": "Stranki dodeli { count, plural, one {# napravo} two {# napravi} few {# naprave} other {# naprav} }", + "delete-devices": "Izbriši naprave", + "unassign-from-customer": "Prekliči dodelitev stranki", + "unassign-devices": "Prekliči dodelitev naprav", + "unassign-devices-action-title": "Prekliči dodelitev { count, plural, one {# naprave} two {# naprav} few {# naprav} other {# naprav} } stranki", + "unassign-device-from-edge-title": "Ali ste prepričani, da želite preklicati dodelitev naprave »{{deviceName}}«?", + "unassign-device-from-edge-text": "Ko potrdite, naprava ne bo več dodeljena Edge-u in mu ne bo več dostopna.", + "unassign-devices-from-edge": "Prekliči dodelitev naprav Edge-u", + "assign-new-device": "Dodeli novo napravo", + "make-public-device-title": "Ali ste prepričani, da želite napravo »{{deviceName}}« narediti javno?", + "make-public-device-text": "Ko potrdite, bo naprava z vsemi svojimi podatki javna in dostopna drugim.", + "make-private-device-title": "Ali ste prepričani, da želite napravo »{{deviceName}}« narediti zasebno?", + "make-private-device-text": "Ko potrdite, bo naprava z vsemi svojimi podatki zasebna in drugim ne bo več dostopna.", + "view-credentials": "Ogled poverilnic", + "delete-device-title": "Ali ste prepričani, da želite izbrisati napravo »{{deviceName}}«?", + "delete-device-text": "Pozor! Ko potrdite, naprave in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-devices-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# napravo} two {# napravi} few {# naprave} other {# naprav} }?", + "delete-devices-action-title": "Izbriši { count, plural, one {# napravo} two {# napravi} few {# naprave} other {# naprav} }", + "delete-devices-text": "Pozor! Ko potrdite, bodo vse izbrane naprave odstranjene, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "unassign-device-title": "Ali ste prepričani, da želite preklicati dodelitev naprave »{{deviceName}}«?", + "unassign-device-text": "Ko potrdite, naprava ne bo več dodeljena stranki in ji ne bo več dostopna.", + "unassign-device": "Prekliči dodelitev naprave", + "unassign-devices-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, one {# naprave} two {# naprav} few {# naprav} other {# naprav} }?", + "unassign-devices-text": "Ko potrdite, izbrane naprave ne bodo več dodeljene stranki in ji ne bodo več dostopne.", + "device-credentials": "Poverilnice naprave", + "loading-device-credentials": "Nalaganje poverilnic naprave...", + "credentials-type": "Vrsta poverilnic", + "access-token": "Žeton za dostop", + "access-token-required": "Žeton za dostop je obvezen.", + "access-token-invalid": "Dolžina žetona za dostop mora biti od 1 do 32 znakov.", + "certificate-pem-format": "Certifikat v obliki PEM", + "certificate-pem-format-required": "Certifikat je obvezen.", + "copy-access-token": "Kopiraj žeton za dostop", + "copy-certificate": "Kopiraj certifikat", + "copy-client-id": "Kopiraj ID odjemalca", + "copy-user-name": "Kopiraj uporabniško ime", + "copy-password": "Kopiraj geslo", + "generate-client-id": "Ustvari ID odjemalca", + "generate-user-name": "Ustvari uporabniško ime", + "generate-password": "Ustvari geslo", + "generate-access-token": "Ustvari žeton za dostop", + "lwm2m-security-config": { + "identity": "Identiteta odjemalca", + "identity-required": "Identiteta odjemalca je obvezna.", + "identity-tooltip": "Identifikator PSK je poljuben identifikator do 128 bajtov, kot je opisano v standardu [RFC7925].\nIdentifikator PSK MORA biti najprej pretvorjen v znakovni niz in nato kodiran v oktete z UTF-8.", + "client-key": "Ključ odjemalca", + "client-key-required": "Ključ odjemalca je obvezen.", + "client-key-tooltip-prk": "Javni ključ ali ID RPK mora biti skladen s standardom [RFC7250] in kodiran v obliki Base64!", + "client-key-tooltip-psk": "Ključ PSK mora biti skladen s standardom [RFC4279] in v obliki HexDec: 32, 64, 128 znakov!", + "endpoint": "Ime končne točke odjemalca", + "endpoint-required": "Ime končne točke odjemalca je obvezno.", + "client-public-key": "Javni ključ odjemalca", + "client-public-key-hint": "Če je javni ključ odjemalca prazen, bo uporabljen zaupanja vreden certifikat", + "client-public-key-tooltip": "Javni ključ X509 mora biti v obliki X509v3 s kodiranjem DER, podpirati mora izključno algoritem EC in biti nato kodiran v obliki Base64!", + "mode": "Način varnostne konfiguracije", + "client-tab": "Varnostna konfiguracija odjemalca", + "client-certificate": "Certifikat odjemalca", + "bootstrap-tab": "Odjemalec Bootstrap", + "bootstrap-server": "Strežnik Bootstrap", + "lwm2m-server": "Strežnik LwM2M", + "client-reboot": "Sproži posodobitev registracije", + "bootstrap-reboot": "Sproži zahtevo Bootstrap", + "client-publicKey-or-id": "Javni ključ ali ID odjemalca", + "client-publicKey-or-id-required": "Javni ključ ali ID odjemalca je obvezen.", + "client-publicKey-or-id-tooltip-psk": "Identifikator PSK je poljuben identifikator do 128 bajtov, kot je opisano v standardu [RFC7925].\nIdentifikator PSK MORA biti najprej pretvorjen v znakovni niz in nato kodiran v oktete z UTF-8.", + "client-publicKey-or-id-tooltip-rpk": "Javni ključ ali ID RPK mora biti skladen s standardom [RFC7250] in kodiran v obliki Base64!", + "client-publicKey-or-id-tooltip-x509": "Javni ključ X509 mora biti v obliki X509v3 s kodiranjem DER, podpirati mora izključno algoritem EC in biti nato kodiran v obliki Base64.", + "client-secret-key": "Skrivni ključ odjemalca", + "client-secret-key-required": "Skrivni ključ odjemalca je obvezen.", + "client-secret-key-tooltip-psk": "Ključ PSK mora biti skladen s standardom [RFC4279] in v obliki HexDec: 32, 64, 128 znakov!", + "client-secret-key-tooltip-prk": "Skrivni ključ RPK mora biti v obliki PKCS_8 (kodiranje DER, standard [RFC5958]) in nato kodiran v obliki Base64!", + "client-secret-key-tooltip-x509": "Skrivni ključ X509 mora biti v obliki PKCS_8 (kodiranje DER, standard [RFC5958]) in nato kodiran v obliki Base64!" + }, + "client-id": "ID odjemalca", + "client-id-pattern": "Vsebuje neveljaven znak.", + "user-name": "Uporabniško ime", + "user-name-required": "Uporabniško ime je obvezno.", + "client-id-or-user-name-necessary": "Potreben je ID odjemalca in/ali uporabniško ime", + "password": "Geslo", + "secret": "Skrivnost", + "secret-required": "Skrivnost je obvezna.", + "device-type": "Profil naprave", + "device-type-required": "Profil naprave je obvezen.", + "select-device-type": "Izberite profil naprave", + "enter-device-type": "Vnesite profil naprave", + "any-device": "Poljubna naprava", + "no-device-types-matching": "Ni profilov naprav, ki bi se ujemali z iskalnim nizom »{{entitySubtype}}«.", + "device-type-list-empty": "Ni izbranih profilov naprav!", + "device-profile-type-list-empty": "Izbran mora biti vsaj en profil naprave.", + "device-types": "Vrste naprav", + "name": "Ime", + "name-required": "Ime je obvezno.", + "name-max-length": "Ime mora biti krajše od 256 znakov", + "label-max-length": "Oznaka mora biti krajša od 256 znakov", + "description": "Opis", + "label": "Oznaka", + "events": "Dogodki", + "details": "Podrobnosti", + "copyId": "Kopiraj ID naprave", + "copyAccessToken": "Kopiraj žeton za dostop", + "copy-mqtt-authentication": "Kopiraj poverilnice MQTT", + "idCopiedMessage": "ID naprave je kopiran v odložišče", + "accessTokenCopiedMessage": "Žeton za dostop naprave je kopiran v odložišče", + "mqtt-authentication-copied-message": "Poverilnice MQTT naprave so kopirane v odložišče", + "assignedToCustomer": "Dodeljeno stranki", + "unable-delete-device-alias-title": "Vzdevka naprave ni mogoče izbrisati", + "unable-delete-device-alias-text": "Vzdevka naprave »{{deviceAlias}}« ni mogoče izbrisati, ker ga uporabljajo naslednji gradniki:
    {{widgetsList}}", + "is-gateway": "Je prehod", + "overwrite-activity-time": "Prepiši čas aktivnosti za povezano napravo", + "device-filter-title": "Filter naprav", + "filter-title": "Filter", + "device-state": "Stanje naprave", + "state": "Stanje", + "any": "Vse", + "active": "Aktivna", + "inactive": "Neaktivna", + "public": "Javna", + "device-public": "Naprava je javna", + "select-device": "Izberite napravo", + "import": "Uvozi napravo", + "device-file": "Datoteka naprave", + "search": "Iskanje naprav", + "selected-devices": "Izbrano: { count, plural, one {# naprava} two {# napravi} few {# naprave} other {# naprav} }", + "device-configuration": "Konfiguracija naprave", + "transport-configuration": "Konfiguracija transporta", + "wizard": { + "device-details": "Podrobnosti naprave" + }, + "unassign-devices-from-edge-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, one {# naprave} two {# naprav} few {# naprav} other {# naprav} }?", + "unassign-devices-from-edge-text": "Ko potrdite, izbrane naprave ne bodo več dodeljene Edge-u in mu ne bodo več dostopne.", + "time": "Čas", + "connectivity": { + "check-connectivity": "Preveri povezljivost", + "device-created-check-connectivity": "Naprava je ustvarjena. Preverite povezljivost!", + "loading-check-connectivity-command": "Nalaganje ukazov za preverjanje povezljivosti...", + "use-following-instructions": "Za pošiljanje telemetrije v imenu naprave prek lupine uporabite naslednja navodila", + "execute-following-command": "Izvedite naslednji ukaz", + "install-curl-windows": "Od različice Windows 10 b17063 naprej je cURL privzeto na voljo", + "install-curl-macos": "Od različice Mac OS X 10.2 6C115 (Jaguar) naprej je cURL privzeto na voljo", + "install-mqtt-windows": "Za prenos, namestitev, nastavitev in zagon mosquitto_pub uporabite navodila", + "install-coap-client": "Za prenos, namestitev, nastavitev in zagon coap-client uporabite navodila", + "install-necessary-client-tools": "Namestite potrebna odjemalska orodja", + "mqtts-x509-command": "Za povezavo naprave prek MQTT z avtentikacijo X509 uporabite naslednjo dokumentacijo", + "coaps-x509-command": "Za povezavo naprave prek protokola CoAP nad DTLS z avtentikacijo X509 uporabite naslednjo dokumentacijo", + "snmp-command": "Za povezavo naprave prek SNMP uporabite naslednjo dokumentacijo.", + "sparkplug-command": "Za povezavo naprave prek MQTT Sparkplug uporabite naslednjo dokumentacijo.", + "lwm2m-command": "Za povezavo naprave prek LwM2M uporabite naslednjo dokumentacijo." + } + }, + "dynamic-form": { + "property": { + "properties": "Lastnosti", + "property": "Lastnost", + "id": "ID", + "name": "Ime", + "type": "Vrsta", + "type-text": "Besedilo", + "type-password": "Geslo", + "type-textarea": "Besedilno območje", + "type-number": "Število", + "type-switch": "Stikalo", + "type-select": "Izbira", + "type-radios": "Izbirni gumbi", + "type-datetime": "Datum/čas", + "type-image": "Slika", + "type-javascript": "JavaScript", + "type-json": "JSON", + "type-html": "HTML", + "type-css": "CSS", + "type-markdown": "Markdown", + "type-color": "Barva", + "type-color-settings": "Nastavitve barve", + "type-font": "Pisava", + "type-units": "Enote", + "type-icon": "Ikona", + "type-fieldset": "Skupina polj", + "type-array": "Seznam", + "type-html-section": "Razdelek HTML", + "group-title": "Naslov skupine", + "no-properties": "Ni konfiguriranih lastnosti", + "add-property": "Dodaj lastnost", + "property-settings": "Nastavitve lastnosti", + "remove-property": "Odstrani lastnost", + "default-value": "Privzeta vrednost", + "value-required": "Vrednost je obvezna", + "number-settings": "Nastavitve števila", + "min": "Min.", + "max": "Maks.", + "step": "Korak", + "selected-options-limit": "Omejitev izbranih možnosti", + "advanced-ui-settings": "Napredne nastavitve uporabniškega vmesnika", + "disable-on-property": "Onemogoči glede na lastnost", + "disable-on-property-none": "Brez (polje je vedno omogočeno)", + "display-condition-function": "Funkcija pogoja prikaza", + "sub-label": "Podoznaka", + "vertical-divider-after": "Navpični ločilnik za poljem", + "input-field-suffix": "Pripona vnosnega polja", + "property-row-classes": "Razredi vrstice lastnosti", + "property-field-classes": "Razredi polja lastnosti", + "not-unique-property-ids-error": "ID-ji lastnosti morajo biti enolični!", + "enable-multiple-select": "Omogoči večkratno izbiro", + "allow-empty-select-option": "Dovoli prazno možnost", + "select-options": "Možnosti izbire", + "not-unique-select-option-value-error": "Vrednosti možnosti izbire morajo biti enolične!", + "value": "Vrednost", + "label": "Oznaka", + "add-option": "Dodaj možnost", + "no-options": "Ni konfiguriranih možnosti", + "remove-option": "Odstrani možnost", + "textarea-rows": "Vrstice besedilnega območja", + "help-id": "ID pomoči", + "buttons-direction": "Smer gumbov", + "direction-row": "Vrstica", + "direction-column": "Stolpec", + "radio-button-options": "Možnosti izbirnih gumbov", + "datetime-type": "Vrsta polja datum/čas", + "datetime-type-date": "Datum", + "datetime-type-time": "Čas", + "datetime-type-datetime": "Datum/čas", + "enable-clear-button": "Omogoči gumb Počisti", + "html-section-settings": "Nastavitve razdelka HTML", + "html-section-classes": "Razredi razdelka HTML", + "html-section-content": "Vsebina razdelka HTML", + "array-item": "Element seznama", + "item-type": "Vrsta elementa", + "item-name": "Ime elementa", + "no-items": "Ni elementov", + "support-unit-conversion": "Podpiraj pretvorbo enot" + }, + "clear-form": "Počisti obrazec", + "clear-form-prompt": "Ali ste prepričani, da želite odstraniti vse lastnosti obrazca?", + "import-form": "Uvozi obrazec iz JSON", + "export-form": "Izvozi obrazec v JSON", + "json-file": "Datoteka JSON", + "json-content": "Vsebina JSON", + "invalid-form-json-file-error": "Obrazca ni mogoče uvoziti iz JSON: neveljavna struktura podatkov JSON obrazca." + }, + "asset-profile": { + "asset-profile": "Profil sredstva", + "asset-profiles": "Profili sredstev", + "all-asset-profiles": "Vsi", + "add": "Dodaj profil sredstva", + "edit": "Uredi profil sredstva", + "asset-profile-details": "Podrobnosti profila sredstva", + "no-asset-profiles-text": "Ni najdenih profilov sredstev", + "search": "Iskanje profilov sredstev", + "selected-asset-profiles": "Izbrano: { count, plural, one {# profil sredstva} two {# profila sredstev} few {# profili sredstev} other {# profilov sredstev} }", + "no-asset-profiles-matching": "Ni profilov sredstev, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "asset-profile-required": "Profil sredstva je obvezen", + "idCopiedMessage": "ID profila sredstva je kopiran v odložišče", + "set-default": "Nastavi kot privzeti profil sredstva", + "delete": "Izbriši profil sredstva", + "copyId": "Kopiraj ID profila sredstva", + "name-max-length": "Ime mora biti krajše od 256 znakov", + "new-device-profile-name": "Ime profila sredstva", + "new-device-profile-name-required": "Ime profila sredstva je obvezno.", + "name": "Ime", + "name-required": "Ime je obvezno.", + "image": "Slika profila sredstva", + "description": "Opis", + "default": "Privzet", + "default-rule-chain": "Privzeta veriga pravil", + "default-edge-rule-chain": "Privzeta veriga pravil za Edge", + "default-edge-rule-chain-hint": "Na Edge-u se uporablja kot veriga pravil za obdelavo vhodnih podatkov sredstev s tem profilom.", + "mobile-dashboard": "Mobilna nadzorna plošča", + "mobile-dashboard-hint": "Mobilna aplikacija jo uporablja kot nadzorno ploščo podrobnosti sredstva.", + "select-queue-hint": "Izberite s spustnega seznama.", + "delete-asset-profile-title": "Ali ste prepričani, da želite izbrisati profil sredstva »{{assetProfileName}}«?", + "delete-asset-profile-text": "Pozor! Ko potrdite, profila sredstva in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-asset-profiles-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# profil sredstva} two {# profila sredstev} few {# profile sredstev} other {# profilov sredstev} }?", + "delete-asset-profiles-text": "Pozor! Ko potrdite, bodo vsi izbrani profili sredstev odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "set-default-asset-profile-title": "Ali ste prepričani, da želite profil sredstva »{{assetProfileName}}« nastaviti kot privzet?", + "set-default-asset-profile-text": "Ko potrdite, bo profil sredstva označen kot privzet in uporabljen za nova sredstva, pri katerih profil ni določen.", + "no-asset-profiles-found": "Ni najdenih profilov sredstev.", + "create-new-asset-profile": "Ustvari nov profil!", + "create-asset-profile": "Ustvari nov profil sredstva", + "import": "Uvozi profil sredstva", + "export": "Izvozi profil sredstva", + "export-failed-error": "Profila sredstva ni bilo mogoče izvoziti: {{error}}", + "asset-profile-file": "Datoteka profila sredstva", + "invalid-asset-profile-file-error": "Profila sredstva ni mogoče uvoziti: neveljavna struktura podatkov profila sredstva." + }, + "device-profile": { + "device-profile": "Profil naprave", + "device-profiles": "Profili naprav", + "all-device-profiles": "Vsi", + "add": "Dodaj profil naprave", + "edit": "Uredi profil naprave", + "device-profile-details": "Podrobnosti profila naprave", + "no-device-profiles-text": "Ni najdenih profilov naprav", + "search": "Iskanje profilov naprav", + "selected-device-profiles": "Izbrano: { count, plural, one {# profil naprave} two {# profila naprav} few {# profili naprav} other {# profilov naprav} }", + "no-device-profiles-matching": "Ni profilov naprav, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "device-profile-required": "Profil naprave je obvezen.", + "idCopiedMessage": "ID profila naprave je kopiran v odložišče", + "set-default": "Nastavi kot privzeti profil naprave", + "delete": "Izbriši profil naprave", + "copyId": "Kopiraj ID profila naprave", + "name-max-length": "Ime mora biti krajše od 256 znakov", + "name": "Ime", + "name-required": "Ime je obvezno.", + "type": "Vrsta profila", + "type-required": "Vrsta profila je obvezna.", + "type-default": "Privzeto", + "image": "Slika profila naprave", + "transport-type": "Vrsta transporta", + "transport-type-required": "Vrsta transporta je obvezna.", + "transport-type-default": "Privzeto", + "transport-type-default-hint": "Podpira osnovni transport MQTT, HTTP in CoAP", + "transport-type-mqtt": "MQTT", + "transport-type-mqtt-hint": "Omogoča napredne nastavitve transporta MQTT", + "transport-type-coap": "CoAP", + "transport-type-coap-hint": "Omogoča napredne nastavitve transporta CoAP", + "transport-type-lwm2m": "LWM2M", + "transport-type-lwm2m-hint": "Vrsta transporta LWM2M", + "transport-type-snmp": "SNMP", + "transport-type-snmp-hint": "Določite konfiguracijo transporta SNMP", + "transport-type-http": "HTTP", + "description": "Opis", + "default": "Privzet", + "profile-configuration": "Konfiguracija profila", + "transport-configuration": "Konfiguracija transporta", + "default-rule-chain": "Privzeta veriga pravil", + "default-edge-rule-chain": "Privzeta veriga pravil za Edge", + "default-edge-rule-chain-hint": "Na Edge-u se uporablja kot veriga pravil za obdelavo vhodnih podatkov naprav s tem profilom naprave.", + "mobile-dashboard": "Mobilna nadzorna plošča", + "mobile-dashboard-hint": "Mobilna aplikacija jo uporablja kot nadzorno ploščo podrobnosti naprave", + "select-queue-hint": "Izberite s spustnega seznama.", + "delete-device-profile-title": "Ali ste prepričani, da želite izbrisati profil naprave »{{deviceProfileName}}«?", + "delete-device-profile-text": "Pozor! Ko potrdite, profila naprave in vseh povezanih podatkov, vključno s povezanimi posodobitvami OTA, ne bo več mogoče obnoviti.", + "delete-device-profiles-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# profil naprave} two {# profila naprav} few {# profile naprav} other {# profilov naprav} }?", + "delete-device-profiles-text": "Pozor! Ko potrdite, bodo vsi izbrani profili naprav odstranjeni, vseh povezanih podatkov, vključno s povezanimi posodobitvami OTA, pa ne bo več mogoče obnoviti.", + "set-default-device-profile-title": "Ali ste prepričani, da želite profil naprave »{{deviceProfileName}}« nastaviti kot privzet?", + "set-default-device-profile-text": "Ko potrdite, bo profil naprave označen kot privzet in uporabljen za nove naprave brez navedenega profila.", + "no-device-profiles-found": "Ni najdenih profilov naprav.", + "create-new-device-profile": "Ustvari nov profil!", + "mqtt-device-topic-filters": "Filtri tem MQTT za naprave", + "mqtt-device-topic-filters-unique": "Filtri tem MQTT za naprave morajo biti enolični.", + "mqtt-device-topic-filters-spark-plug": "Vozlišče MQTT Sparkplug B Edge of Network (EoN).", + "mqtt-device-topic-filters-spark-plug-hint": "Dovoli povezave vozlišč EoN z vsebino sporočil in obliko tem Sparkplug B.", + "mqtt-device-topic-filters-spark-plug-attribute-metric-names": "Metrike SparkPlug, ki se shranijo kot atributi.", + "mqtt-device-topic-filters-spark-plug-attribute-metric-names-hint": "Imena metrik SparkPlug, ki bodo shranjene kot atributi naprave. Vse druge metrike bodo shranjene kot telemetrija naprave.", + "mqtt-device-payload-type": "Vsebina sporočil naprave MQTT", + "mqtt-device-payload-type-json": "JSON", + "mqtt-device-payload-type-proto": "Protobuf", + "mqtt-enable-compatibility-with-json-payload-format": "Omogoči združljivost z drugimi oblikami vsebine sporočil.", + "mqtt-enable-compatibility-with-json-payload-format-hint": "Ko je omogočeno, bo platforma privzeto uporabljala obliko vsebine sporočil Protobuf. Če razčlenjevanje ne uspe, bo poskusila uporabiti obliko JSON. Uporabno za združljivost za nazaj med posodobitvami vdelane programske opreme. Na primer, prva izdaja vdelane programske opreme uporablja JSON, nova izdaja pa Protobuf. Med posodobitvijo vdelane programske opreme na celotni floti naprav je treba hkrati podpirati Protobuf in JSON. Način združljivosti rahlo poslabša zmogljivost, zato ga je priporočljivo onemogočiti, ko so vse naprave posodobljene.", + "mqtt-use-json-format-for-default-downlink-topics": "Uporabi obliko JSON za privzete teme za prenos navzdol", + "mqtt-use-json-format-for-default-downlink-topics-hint": "Ko je omogočeno, bo platforma za pošiljanje atributov in RPC prek naslednjih tem uporabljala obliko vsebine sporočil JSON: v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. Ta nastavitev ne vpliva na naročnine na atribute in RPC, poslane z novimi temami (v2): v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. Pri tem je $request_id celoštevilski identifikator zahteve.", + "mqtt-send-ack-on-validation-exception": "Pošlji PUBACK ob neuspešnem preverjanju veljavnosti sporočila PUBLISH", + "mqtt-send-ack-on-validation-exception-hint": "Privzeto bo platforma ob neuspešnem preverjanju veljavnosti sporočila zaprla sejo MQTT. Če je omogočeno, bo platforma namesto zapiranja seje poslala potrditev objave.", + "mqtt-protocol-version": "Različica protokola", + "snmp-add-mapping": "Dodaj preslikavo SNMP", + "snmp-mapping-not-configured": "Ni konfigurirane preslikave OID v časovne serije ali telemetrijo", + "snmp-timseries-or-attribute-name": "Ime časovne serije/atributa za preslikavo", + "snmp-timseries-or-attribute-type": "Vrsta časovne serije/atributa za preslikavo", + "snmp-method-pdu-type-get-request": "GetRequest", + "snmp-method-pdu-type-get-next-request": "GetNextRequest", + "snmp-oid": "OID", + "transport-device-payload-type-json": "JSON", + "transport-device-payload-type-proto": "Protobuf", + "mqtt-payload-type-required": "Vrsta vsebine sporočil je obvezna.", + "coap-device-type": "Vrsta naprave CoAP", + "coap-device-payload-type": "Vsebina sporočil naprave CoAP", + "coap-device-type-required": "Vrsta naprave CoAP je obvezna.", + "coap-device-type-default": "Privzeto", + "coap-device-type-efento": "Efento NB-IoT", + "support-level-wildcards": "Podprti so enonivojski [+] in večnivojski [#] nadomestni znaki.", + "telemetry-topic-filter": "Filter tem za telemetrijo", + "telemetry-topic-filter-required": "Filter tem za telemetrijo je obvezen.", + "attributes-topic-filter": "Filter tem za objavo atributov", + "attributes-subscribe-topic-filter": "Filter tem za naročanje na atribute", + "attributes-topic-filter-required": "Filter tem za objavo atributov je obvezen.", + "attributes-subscribe-topic-filter-required": "Filter tem za naročanje na atribute je obvezen", + "telemetry-proto-schema": "Proto shema telemetrije", + "telemetry-proto-schema-required": "Proto shema telemetrije je obvezna.", + "attributes-proto-schema": "Proto shema atributov", + "attributes-proto-schema-required": "Proto shema atributov je obvezna.", + "rpc-response-proto-schema": "Proto shema odgovora RPC", + "rpc-response-proto-schema-required": "Proto shema odgovora RPC je obvezna.", + "rpc-response-topic-filter": "Filter tem za odgovor RPC", + "rpc-response-topic-filter-required": "Filter tem za odgovor RPC je obvezen.", + "rpc-request-proto-schema": "Proto shema zahteve RPC", + "rpc-request-proto-schema-required": "Proto shema zahteve RPC je obvezna.", + "rpc-request-proto-schema-hint": "Sporočilo zahteve RPC mora vedno imeti polja: string method = 1; int32 requestId = 2; in params = 3 poljubne podatkovne vrste.", + "not-valid-pattern-topic-filter": "Neveljaven vzorec filtra tem", + "not-valid-single-character": "Neveljavna uporaba enonivojskega nadomestnega znaka", + "not-valid-multi-character": "Neveljavna uporaba večnivojskega nadomestnega znaka", + "single-level-wildcards-hint": "[+] je primeren za vsako raven filtra tem. Primer: v1/devices/+/telemetry ali +/devices/+/attributes.", + "multi-level-wildcards-hint": "[#] lahko nadomesti celoten filter in mora biti zadnji znak teme. Primer: # ali v1/devices/me/#.", + "alarm-rules": "Pravila za alarme", + "alarm-rules-with-count": "Pravila za alarme ({{count}})", + "no-alarm-rules": "Ni konfiguriranih pravil za alarme", + "add-alarm-rule": "Dodaj pravilo za alarm", + "edit-alarm-rule": "Uredi pravilo za alarm", + "alarm-type": "Vrsta alarma", + "alarm-type-required": "Vrsta alarma je obvezna.", + "alarm-type-unique": "Vrsta alarma mora biti enolična znotraj pravil za alarme profila naprave.", + "alarm-type-max-length": "Vrsta alarma mora biti krajša od 256 znakov", + "create-alarm-pattern": "Ustvari alarm {{alarmType}}", + "create-alarm-rules": "Pogoji za ustvarjanje", + "no-create-alarm-rules": "Ni konfiguriranih pogojev za ustvarjanje", + "add-create-alarm-rule-prompt": "Dodajte pogoj za ustvarjanje", + "clear-alarm-rule": "Pogoj za ponastavitev", + "no-clear-alarm-rule": "Ni konfiguriranega pogoja za ponastavitev", + "add-create-alarm-rule": "Dodaj pogoj za ustvarjanje", + "add-clear-alarm-rule": "Dodaj pogoj za ponastavitev", + "select-alarm-severity": "Izberite resnost alarma", + "alarm-severity-required": "Resnost alarma je obvezna.", + "condition-duration": "Trajanje pogoja", + "condition-duration-value": "Vrednost trajanja", + "condition-duration-time-unit": "Časovna enota", + "condition-duration-value-range": "Vrednost trajanja mora biti v razponu od 1 do 2147483647.", + "condition-duration-value-pattern": "Vrednost trajanja mora biti celo število.", + "condition-duration-value-required": "Vrednost trajanja je obvezna.", + "condition-duration-time-unit-required": "Časovna enota je obvezna.", + "advanced-settings": "Napredne nastavitve", + "alarm-rule-additional-info": "Dodatne informacije", + "edit-alarm-rule-additional-info": "Uredi dodatne informacije", + "alarm-rule-additional-info-placeholder": "Tukaj vnesite komentarje in prilagoditve, da bodo prikazani v podrobnostih alarma pod »Dodatne informacije«", + "alarm-rule-additional-info-hint": "Namig: uporabite ${keyName} za nadomestitev vrednosti ključev atributov ali telemetrije, uporabljenih v pogoju pravila za alarm.", + "alarm-rule-mobile-dashboard": "Mobilna nadzorna plošča", + "alarm-rule-mobile-dashboard-hint": "Mobilna aplikacija jo uporablja kot nadzorno ploščo podrobnosti alarma", + "alarm-rule-no-mobile-dashboard": "Ni izbrane nadzorne plošče", + "propagate-alarm": "Posreduj alarm povezanim entitetam", + "alarm-rule-relation-types-list": "Vrste relacij", + "alarm-rule-relation-types-list-hint": "Določa vrste relacij za filtriranje povezanih entitet. Če ni nastavljeno, bo alarm posredovan vsem povezanim entitetam.", + "propagate-alarm-to-owner": "Posreduj alarm lastniku entitete (stranki ali najemniku)", + "propagate-alarm-to-tenant": "Posreduj alarm najemniku", + "alarm-rule-condition": "Pogoj pravila za alarm", + "enter-alarm-rule-condition-prompt": "Dodajte pogoj pravila za alarm", + "edit-alarm-rule-condition": "Uredi pogoj pravila za alarm", + "device-provisioning": "Priprava naprav", + "provision-strategy": "Strategija priprave", + "provision-strategy-required": "Strategija priprave je obvezna.", + "provision-strategy-disabled": "Onemogočeno", + "provision-strategy-created-new": "Dovoli ustvarjanje novih naprav", + "provision-strategy-check-pre-provisioned": "Preveri vnaprej pripravljene naprave", + "provision-device-key": "Ključ za pripravo naprave", + "provision-device-key-required": "Ključ za pripravo naprave je obvezen.", + "copy-provision-key": "Kopiraj ključ za pripravo", + "provision-key-copied-message": "Ključ za pripravo je kopiran v odložišče", + "provision-device-secret": "Skrivnost za pripravo naprave", + "provision-device-secret-required": "Skrivnost za pripravo naprave je obvezna.", + "copy-provision-secret": "Kopiraj skrivnost za pripravo", + "provision-secret-copied-message": "Skrivnost za pripravo je kopirana v odložišče", + "provision-strategy-x509": { + "certificate-chain": "Veriga certifikatov X509", + "certificate-chain-hint": "Strategija certifikatov X.509 se uporablja za pripravo naprav s certifikati odjemalca v dvosmerni komunikaciji TLS.", + "allow-create-new-devices": "Ustvari nove naprave", + "allow-create-new-devices-hint": "Če je izbrano, bodo ustvarjene nove naprave, certifikat odjemalca pa bo uporabljen kot poverilnice naprave.", + "certificate-value": "Certifikat v obliki PEM", + "certificate-value-required": "Certifikat v obliki PEM je obvezen", + "cn-regex-variable": "Spremenljivka regularnega izraza CN", + "cn-regex-variable-required": "Spremenljivka regularnega izraza CN je obvezna", + "cn-regex-variable-hint": "Potrebno za pridobitev imena naprave iz skupnega imena (CN) certifikata X509 naprave." + }, + "condition": "Pogoj", + "condition-type": "Vrsta pogoja", + "condition-type-simple": "Enostavno", + "condition-type-duration": "Trajanje", + "condition-during": "Traja {{during}}", + "condition-during-dynamic": "Traja »{{ attribute }}« ({{during}})", + "condition-type-repeating": "Ponavljanje", + "condition-type-required": "Vrsta pogoja je obvezna.", + "condition-repeating-value": "Število dogodkov", + "condition-repeating-value-range": "Število dogodkov mora biti v razponu od 1 do 2147483647.", + "condition-repeating-value-pattern": "Število dogodkov mora biti celo število.", + "condition-repeating-value-required": "Število dogodkov je obvezno.", + "condition-repeat-times": "Ponavlja se { count, plural, one {#-krat} two {#-krat} few {#-krat} other {#-krat} }", + "condition-repeat-times-dynamic": "Ponavlja se »{ attribute }« ({ count, plural, =1 {1-krat} one {#-krat} two {#-krat} few {#-krat} other {#-krat} })", + "schedule-type": "Vrsta urnika", + "schedule-type-required": "Vrsta urnika je obvezna.", + "schedule": "Urnik", + "edit-schedule": "Uredi urnik alarma", + "schedule-any-time": "Vedno aktiven", + "schedule-specific-time": "Aktiven ob določenem času", + "schedule-custom": "Po meri", + "schedule-day": { + "monday": "Ponedeljek", + "tuesday": "Torek", + "wednesday": "Sreda", + "thursday": "Četrtek", + "friday": "Petek", + "saturday": "Sobota", + "sunday": "Nedelja" + }, + "schedule-days": "Dnevi", + "schedule-time": "Čas", + "schedule-time-from": "Od", + "schedule-time-to": "Do", + "schedule-days-of-week-required": "Izbran mora biti vsaj en dan v tednu.", + "create-device-profile": "Ustvari nov profil naprave", + "import": "Uvozi profil naprave", + "export": "Izvozi profil naprave", + "export-failed-error": "Profila naprave ni bilo mogoče izvoziti: {{error}}", + "device-profile-file": "Datoteka profila naprave", + "invalid-device-profile-file-error": "Profila naprave ni bilo mogoče uvoziti: neveljavna podatkovna struktura profila naprave.", + "power-saving-mode": "Način varčevanja z energijo", + "power-saving-mode-type": { + "default": "Uporabi način varčevanja z energijo profila naprave", + "psm": "Način varčevanja z energijo (PSM)", + "drx": "Nezvezni sprejem (DRX)", + "edrx": "Razširjeni nezvezni sprejem (eDRX)" + }, + "edrx-cycle": "Cikel eDRX", + "edrx-cycle-required": "Cikel eDRX je obvezen.", + "edrx-cycle-pattern": "Cikel eDRX mora biti pozitivno celo število.", + "edrx-cycle-min": "Cikel eDRX mora trajati vsaj {{ min }} s.", + "paging-transmission-window": "Okno prenosa pozivanja", + "paging-transmission-window-required": "Okno prenosa pozivanja je obvezno.", + "paging-transmission-window-pattern": "Okno prenosa pozivanja mora biti pozitivno celo število.", + "paging-transmission-window-min": "Okno prenosa pozivanja mora trajati vsaj {{ min }} s.", + "psm-activity-timer": "Časovnik aktivnosti PSM", + "psm-activity-timer-required": "Časovnik aktivnosti PSM je obvezen.", + "psm-activity-timer-pattern": "Časovnik aktivnosti PSM mora biti pozitivno celo število.", + "psm-activity-timer-min": "Časovnik aktivnosti PSM mora biti nastavljen na vsaj {{ min }} s.", + "lwm2m": { + "object-list": "Seznam objektov", + "object-list-empty": "Ni izbranih objektov.", + "no-objects-found": "Ni najdenih objektov.", + "no-objects-matching": "Ni objektov, ki bi se ujemali z iskalnim nizom »{{object}}«.", + "model-tab": "Model LWM2M", + "add-new-instances": "Dodaj nove instance", + "instances-list": "Seznam instanc", + "instances-list-required": "Seznam instanc je obvezen.", + "instance-id-pattern": "ID instance mora biti pozitivno celo število.", + "instance-id-max": "Največja vrednost ID-ja instance je {{max}}.", + "instance": "Instanca", + "resource-label": "#ID Ime vira", + "observe-label": "Opazovanje", + "attribute-label": "Atribut", + "telemetry-label": "Telemetrija", + "edit-observe-select": "Za urejanje opazovanja izberite telemetrijo ali atribut", + "edit-attributes-select": "Za urejanje atributov izberite telemetrijo ali atribut", + "no-attributes-set": "Ni nastavljenih atributov", + "key-name": "Ime ključa", + "key-name-required": "Ime ključa je obvezno", + "attribute-name": "Ime atributa", + "attribute-name-required": "Ime atributa je obvezno.", + "attribute-value": "Vrednost atributa", + "attribute-value-required": "Vrednost atributa je obvezna.", + "attribute-value-pattern": "Vrednost atributa mora biti pozitivno celo število.", + "edit-attributes": "Uredi atribute: {{ name }}", + "view-attributes": "Prikaži atribute: {{ name }}", + "add-attribute": "Dodaj atribut", + "edit-attribute": "Uredi atribut", + "view-attribute": "Prikaži atribut", + "remove-attribute": "Odstrani atribut", + "delete-server-text": "Pozor! Ko potrdite, konfiguracije strežnika ne bo več mogoče obnoviti.", + "delete-server-title": "Ali ste prepričani, da želite izbrisati strežnik?", + "mode": "Način varnostne konfiguracije", + "bootstrap-tab": "Bootstrap", + "bootstrap-server-legend": "Strežnik Bootstrap (ShortId...)", + "lwm2m-server-legend": "Strežnik LwM2M (ShortId...)", + "server": "Strežnik", + "short-id": "Kratki ID strežnika", + "short-id-tooltip": "Kratki ID strežnika. Uporablja se kot povezava za pridružitev instance objekta strežnika.\nTa identifikator enolično določa vsak strežnik LwM2M, konfiguriran za odjemalca LwM2M.\nVir MORA biti nastavljen, ko ima vir Bootstrap-Server vrednost 'false'.\nVrednosti ID:0 in ID:65535 se NE SMEJO uporabljati za identifikacijo strežnika LwM2M.", + "short-id-tooltip-bootstrap": "Kratki ID strežnika. Uporablja se kot povezava za pridružitev instance objekta strežnika.\nTa identifikator enolično določa vsak strežnik LwM2M, konfiguriran za odjemalca LwM2M.\nVir MORA biti nastavljen, ko ima vir Bootstrap-Server vrednost 'false'.", + "short-id-required": "Kratki ID strežnika je obvezen.", + "short-id-range": "Kratki ID strežnika mora biti v razponu od {{ min }} do {{ max }}.", + "short-id-pattern": "Kratki ID strežnika mora biti pozitivno celo število.", + "short-id-pattern-bs": "Kratki ID strežnika ima lahko samo vrednost null", + "lifetime": "Trajanje registracije odjemalca", + "lifetime-required": "Trajanje registracije odjemalca je obvezno.", + "lifetime-pattern": "Trajanje registracije odjemalca mora biti pozitivno celo število.", + "default-min-period": "Najmanjše obdobje med dvema obvestiloma (s)", + "default-min-period-tooltip": "Privzeta vrednost, ki jo mora odjemalec LwM2M uporabiti za najmanjše obdobje opazovanja, kadar ta parameter ni vključen v opazovanje.", + "default-min-period-required": "Najmanjše obdobje je obvezno.", + "default-min-period-pattern": "Najmanjše obdobje mora biti pozitivno celo število.", + "notification-storing": "Shranjuj obvestila, ko je odjemalec onemogočen ali brez povezave", + "binding": "Vezava", + "binding-type": { + "u": "U: odjemalec je kadar koli dosegljiv prek vezave UDP.", + "m": "M: odjemalec je kadar koli dosegljiv prek vezave MQTT.", + "h": "H: odjemalec je kadar koli dosegljiv prek vezave HTTP.", + "t": "T: odjemalec je kadar koli dosegljiv prek vezave TCP.", + "s": "S: odjemalec je kadar koli dosegljiv prek vezave SMS.", + "n": "N: odjemalec MORA poslati odgovor na takšno zahtevo prek vezave Non-IP (podprto od LWM2M 1.1).", + "uq": "UQ: povezava UDP v načinu čakalne vrste (ni podprto od LWM2M 1.1)", + "uqs": "UQS: aktivni sta povezavi UDP in SMS; UDP v načinu čakalne vrste, SMS v standardnem načinu (ni podprto od LWM2M 1.1)", + "tq": "TQ: povezava TCP v načinu čakalne vrste (ni podprto od LWM2M 1.1)", + "tqs": "TQS: aktivni sta povezavi TCP in SMS; TCP v načinu čakalne vrste, SMS v standardnem načinu (ni podprto od LWM2M 1.1)", + "sq": "SQ: povezava SMS v načinu čakalne vrste (ni podprto od LWM2M 1.1)" + }, + "binding-tooltip": "To je seznam v viru »binding« objekta strežnika LwM2M - /1/x/7.\nOznačuje podprte načine vezave v odjemalcu LwM2M.\nTa vrednost BI MORALA biti enaka vrednosti v viru »Supported Binding and Modes« v objektu naprave (/3/0/16).\nČeprav je podprtih več transportov, se lahko med celotno transportno sejo uporablja samo ena transportna vezava.\nNa primer, ko sta podprta UDP in SMS, se lahko odjemalec LwM2M in strežnik LwM2M odločita za komunikacijo prek UDP ali SMS med celotno transportno sejo.", + "bootstrap-server": "Strežnik Bootstrap", + "lwm2m-server": "Strežnik LwM2M", + "include-bootstrap-server": "Vključi posodobitve strežnika Bootstrap", + "bootstrap-update-title": "Strežnik Bootstrap je že konfiguriran. Ali ste prepričani, da želite izključiti posodobitve?", + "bootstrap-update-text": "Pozor! Ko potrdite, podatkov konfiguracije strežnika Bootstrap ne bo več mogoče obnoviti.", + "server-host": "Gostitelj", + "server-host-required": "Gostitelj je obvezen.", + "server-port": "Vrata", + "server-port-required": "Vrata so obvezna.", + "server-port-pattern": "Vrata morajo biti pozitivno celo število.", + "server-port-range": "Vrata morajo biti med 1 in 65535.", + "server-public-key": "Javni ključ strežnika", + "server-public-key-required": "Javni ključ strežnika je obvezen.", + "client-hold-off-time": "Čas odloga", + "client-hold-off-time-required": "Čas odloga je obvezen.", + "client-hold-off-time-pattern": "Čas odloga mora biti pozitivno celo število.", + "client-hold-off-time-tooltip": "Čas odloga odjemalca, namenjen izključno strežniku Bootstrap", + "account-after-timeout": "Časovna omejitev računa", + "account-after-timeout-required": "Časovna omejitev računa je obvezna.", + "account-after-timeout-pattern": "Časovna omejitev računa mora biti pozitivno celo število.", + "account-after-timeout-tooltip": "Odjemalec LwM2M po izteku časovne omejitve, določene s tem virom, odstrani račun strežnika Bootstrap.", + "server-type": "Vrsta strežnika", + "add-new-server-title": "Dodaj novo konfiguracijo strežnika", + "add-server-config": "Dodaj konfiguracijo strežnika", + "add-lwm2m-server-config": "Dodaj strežnik LwM2M", + "no-config-servers": "Ni konfiguriranih strežnikov", + "others-tab": "Druge nastavitve", + "ota-update": "Posodobitev OTA", + "use-object-19-for-ota-update": "Uporabi objekt 19 za metapodatke datoteke OTA (kontrolna vsota, velikost, različica, ime)", + "use-object-19-for-ota-update-hint": "Uporabite Resource ObjectId = 19 za posodobitve OTA: FirmWare → InstanceId = 65534, SoftWare → InstanceId = 65535. Podatkovna oblika je JSON, ovit v Base64. Ta JSON vsebuje metapodatke datoteke OTA (informacije o datoteki): \"Checksum\" (SHA256). Dodatna polja: \"Title\" (ime OTA), \"Version\" (različica OTA), \"File Name\" (ime datoteke za shranjevanje OTA na odjemalcu), \"File Size\" (velikost OTA v bajtih).", + "client-strategy": "Strategija odjemalca pri povezovanju", + "client-strategy-label": "Strategija", + "client-strategy-only-observe": "Pošlji samo zahtevo Observe odjemalcu po začetni povezavi", + "client-strategy-read-all": "Preberi vse vire in pošlji zahtevo Observe odjemalcu po registraciji", + "fw-update": "Posodobitev vdelane programske opreme", + "fw-update-strategy": "Strategija posodobitve vdelane programske opreme", + "fw-update-strategy-data": "Pošlji posodobitev vdelane programske opreme kot binarno datoteko z uporabo objekta 19 in vira 0 (Data)", + "fw-update-strategy-package": "Pošlji posodobitev vdelane programske opreme kot binarno datoteko z uporabo objekta 5 in vira 0 (Package)", + "fw-update-strategy-package-uri": "Samodejno ustvari enoličen URL CoAP za prenos paketa in pošlji posodobitev vdelane programske opreme z uporabo objekta 5 in vira 1 (Package URI)", + "sw-update": "Posodobitev programske opreme", + "sw-update-strategy": "Strategija posodobitve programske opreme", + "sw-update-strategy-package": "Pošlji binarno datoteko z uporabo objekta 9 in vira 2 (Package)", + "sw-update-strategy-package-uri": "Samodejno ustvari enoličen URL CoAP za prenos paketa in pošlji posodobitev programske opreme z uporabo objekta 9 in vira 3 (Package URI)", + "fw-update-resource": "Vir CoAP za posodobitev vdelane programske opreme", + "fw-update-resource-required": "Vir CoAP za posodobitev vdelane programske opreme je obvezen.", + "sw-update-resource": "Vir CoAP za posodobitev programske opreme", + "sw-update-resource-required": "Vir CoAP za posodobitev programske opreme je obvezen.", + "config-json-tab": "Konfiguracija JSON profila naprave", + "attributes-name": { + "min-period": "Najmanjše obdobje", + "max-period": "Največje obdobje", + "greater-than": "Večje od", + "less-than": "Manjše od", + "step": "Korak", + "min-evaluation-period": "Najmanjše obdobje vrednotenja", + "max-evaluation-period": "Največje obdobje vrednotenja" + }, + "default-object-id": "Privzeta različica objekta (atribut)", + "default-object-id-ver": { + "v1-0": "1.0", + "v1-1": "1.1", + "v1-2": "1.2" + }, + "observe-strategy": { + "observe-strategy": "Strategija Observe", + "single": "Posamično", + "single-description": "Ena zahteva Observe na vir (večja natančnost, več omrežnega prometa)", + "composite-all": "Sestavljeno za vse", + "composite-all-description": "Vsi viri se opazujejo z eno samo zahtevo Composite Observe (učinkovitejše, manj prilagodljivo)", + "composite-by-object": "Sestavljeno po objektih", + "composite-by-object-description": "Viri so združeni po vrsti objekta in se opazujejo z ločenimi zahtevami Composite Observe (uravnotežen pristop)" + }, + "init-attr-tel-as-obs-strategy": "Inicializiraj atribute in telemetrijo s strategijo Observe", + "init-attr-tel-as-obs-strategy-hint": "Če je false, se atributi in telemetrija inicializirajo z branjem njihovih vrednosti eno za drugo.\\nČe je true, se atributi in telemetrija inicializirajo z naročanjem na njihove vrednosti s strategijo Observe." + }, + "snmp": { + "add-communication-config": "Dodaj konfiguracijo komunikacije", + "add-mapping": "Dodaj preslikavo", + "authentication-passphrase": "Geselna fraza za avtentikacijo", + "authentication-passphrase-required": "Geselna fraza za avtentikacijo je obvezna.", + "authentication-protocol": "Protokol avtentikacije", + "authentication-protocol-required": "Protokol avtentikacije je obvezen.", + "communication-configs": "Konfiguracije komunikacije", + "community": "Niz skupnosti", + "community-required": "Niz skupnosti je obvezen.", + "context-name": "Ime konteksta", + "data-key": "Podatkovni ključ", + "data-key-required": "Podatkovni ključ je obvezen.", + "data-type": "Vrsta podatkov", + "data-type-required": "Vrsta podatkov je obvezna.", + "engine-id": "ID mehanizma SNMP", + "host": "Gostitelj", + "host-required": "Gostitelj je obvezen.", + "oid": "OID", + "oid-pattern": "Neveljavna oblika OID.", + "oid-required": "OID je obvezen.", + "please-add-communication-config": "Dodajte konfiguracijo komunikacije", + "please-add-mapping-config": "Dodajte konfiguracijo preslikave", + "port": "Vrata", + "port-format": "Neveljavna oblika vrat.", + "port-required": "Vrata so obvezna.", + "privacy-passphrase": "Geselna fraza za zasebnost", + "privacy-passphrase-required": "Geselna fraza za zasebnost je obvezna.", + "privacy-protocol": "Protokol zasebnosti", + "privacy-protocol-required": "Protokol zasebnosti je obvezen.", + "protocol-version": "Različica protokola", + "protocol-version-required": "Različica protokola je obvezna.", + "querying-frequency": "Pogostost poizvedovanja, ms", + "querying-frequency-invalid-format": "Pogostost poizvedovanja mora biti pozitivno celo število.", + "querying-frequency-required": "Pogostost poizvedovanja je obvezna.", + "retries": "Ponovni poskusi", + "retries-invalid-format": "Število ponovnih poskusov mora biti pozitivno celo število.", + "retries-required": "Število ponovnih poskusov je obvezno.", + "scope": "Obseg", + "scope-required": "Obseg je obvezen.", + "security-name": "Varnostno ime", + "security-name-required": "Varnostno ime je obvezno.", + "timeout-ms": "Časovna omejitev, ms", + "timeout-ms-invalid-format": "Časovna omejitev mora biti pozitivno celo število.", + "timeout-ms-required": "Časovna omejitev je obvezna.", + "user-name": "Uporabniško ime", + "user-name-required": "Uporabniško ime je obvezno." + } + }, + "dialog": { + "close": "Zapri pogovorno okno", + "error-message-title": "Sporočilo o napaki:", + "error-details-title": "Podrobnosti napake" + }, + "direction": { + "column": "Stolpec", + "row": "Vrstica" + }, + "edge": { + "edge": "Edge", + "edge-instances": "Instance Edge", + "instances": "Instance", + "edge-file": "Datoteka Edge-a", + "name-max-length": "Ime mora biti krajše od 256 znakov", + "label-max-length": "Oznaka mora biti krajša od 256 znakov", + "type-max-length": "Vrsta mora biti krajša od 256 znakov", + "management": "Upravljanje instanc Edge", + "no-edges-matching": "Ni instanc Edge, ki bi se ujemale z iskalnim nizom »{{entity}}«.", + "add": "Dodaj Edge", + "no-edges-text": "Ni najdenih instanc Edge", + "edge-details": "Podrobnosti Edge-a", + "add-edge-text": "Dodaj nov Edge", + "delete": "Izbriši Edge", + "delete-edge-title": "Ali ste prepričani, da želite izbrisati Edge »{{edgeName}}«?", + "delete-edge-text": "Pozor! Ko potrdite, Edge-a in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-edges-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 instanco Edge} one {# instanco Edge} two {# instanci Edge} few {# instance Edge} other {# instanc Edge} }?", + "delete-edges-text": "Pozor! Ko potrdite, bodo vse izbrane instance Edge odstranjene, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "name": "Ime", + "name-starts-with": "Ime Edge-a se začne z", + "name-required": "Ime je obvezno.", + "description": "Opis", + "details": "Podrobnosti", + "events": "Dogodki", + "copy-id": "Kopiraj ID Edge-a", + "id-copied-message": "ID Edge-a je kopiran v odložišče", + "sync": "Sinhroniziraj Edge", + "edge-required": "Edge je obvezen", + "edge-type": "Vrsta Edge-a", + "edge-type-required": "Vrsta Edge-a je obvezna.", + "event-action": "Dejanje dogodka", + "entity-id": "ID entitete", + "select-edge-type": "Izberite vrsto Edge-a", + "assign-to-customer": "Dodeli stranki", + "assign-to-customer-text": "Izberite stranko, ki ji želite dodeliti instance Edge", + "assign-edge-to-customer": "Dodeli instance Edge stranki", + "assign-edge-to-customer-text": "Izberite instance Edge, ki jih želite dodeliti stranki", + "assignedToCustomer": "Dodeljeno stranki", + "edge-public": "Edge je javen", + "assigned-to-customer": "Dodeljeno stranki: {{customerTitle}}", + "unassign-from-customer": "Prekliči dodelitev stranki", + "unassign-edge-title": "Ali ste prepričani, da želite preklicati dodelitev Edge-a »{{edgeName}}«?", + "unassign-edge-text": "Ko potrdite, Edge ne bo več dodeljen stranki in ji ne bo več dostopen.", + "unassign-edges-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, =1 {1 instance Edge} one {# instance Edge} two {# instanc Edge} few {# instanc Edge} other {# instanc Edge} }?", + "unassign-edges-text": "Ko potrdite, izbrane instance Edge ne bodo več dodeljene stranki in ji ne bodo več dostopne.", + "make-public": "Naredi Edge javen", + "make-public-edge-title": "Ali ste prepričani, da želite Edge »{{edgeName}}« narediti javen?", + "make-public-edge-text": "Ko potrdite, bodo Edge in vsi njegovi podatki javni in dostopni drugim.", + "make-private": "Naredi Edge zaseben", + "public": "Javno", + "make-private-edge-title": "Ali ste prepričani, da želite Edge »{{edgeName}}« narediti zaseben?", + "make-private-edge-text": "Ko potrdite, bodo Edge in vsi njegovi podatki zasebni in drugim ne bodo več dostopni.", + "import": "Uvozi Edge", + "install-connect-instructions": "Navodila za namestitev in povezavo", + "install-connect-instructions-edge-created": "Edge ustvarjen! Oglejte si navodila za namestitev in povezavo", + "loading-edge-instructions": "Nalaganje navodil za Edge...", + "label": "Oznaka", + "load-entity-error": "Podatkov ni bilo mogoče naložiti. Entiteta je bila izbrisana.", + "assign-new-edge": "Dodeli nov Edge", + "unassign-from-edge": "Prekliči dodelitev Edge-u", + "edge-key": "Ključ Edge-a", + "copy-edge-key": "Kopiraj ključ Edge-a", + "edge-key-copied-message": "Ključ Edge-a je kopiran v odložišče", + "edge-secret": "Skrivnost Edge-a", + "copy-edge-secret": "Kopiraj skrivnost Edge-a", + "edge-secret-copied-message": "Skrivnost Edge-a je kopirana v odložišče", + "manage-assets": "Upravljaj sredstva", + "manage-devices": "Upravljaj naprave", + "manage-entity-views": "Upravljaj poglede entitet", + "manage-dashboards": "Upravljaj nadzorne plošče", + "manage-rulechains": "Upravljaj verige pravil", + "assets": "Sredstva Edge-a", + "devices": "Naprave Edge-a", + "entity-views": "Pogledi entitet Edge-a", + "dashboard": "Nadzorna plošča Edge-a", + "dashboards": "Nadzorne plošče Edge-a", + "rulechain-templates": "Predloge verig pravil", + "edge-rulechain-templates": "Predloge verig pravil za Edge", + "rulechains": "Verige pravil za Edge", + "search": "Iskanje instanc Edge", + "selected-edges": "Izbrano: { count, plural, =1 {1 instanca Edge} one {# instanca Edge} two {# instanci Edge} few {# instance Edge} other {# instanc Edge} }", + "any-edge": "Poljuben Edge", + "no-edge-types-matching": "Ni vrst Edge-a, ki bi se ujemale z iskalnim nizom »{{entitySubtype}}«.", + "edge-type-list-empty": "Ni izbranih vrst Edge-a.", + "edge-types": "Vrste Edge-a", + "enter-edge-type": "Vnesite vrsto Edge-a", + "deployed": "Dostavljeno", + "pending": "Na čakanju", + "downlinks": "Prenosi navzdol", + "no-downlinks-prompt": "Ni najdenih prenosov navzdol", + "sync-process-started-successfully": "Sinhronizacija je uspešno zagnana!", + "missing-related-rule-chains-title": "Edge-u manjkajo povezane verige pravil", + "missing-related-rule-chains-text": "Verige pravil, dodeljene Edge-u, uporabljajo vozlišča pravil, ki posredujejo sporočila verigam pravil, ki niso dodeljene temu Edge-u.

    Seznam manjkajočih verig pravil:
    {{missingRuleChains}}", + "upgrade-instructions": "Navodila za nadgradnjo", + "widget-datasource-error": "Ta gradnik podpira samo vir podatkov entitete EDGE", + "connected": "Povezan", + "disconnected": "Odklopljen" + }, + "edge-event": { + "type-dashboard": "Nadzorna plošča", + "type-asset": "Sredstvo", + "type-device": "Naprava", + "type-device-profile": "Profil naprave", + "type-asset-profile": "Profil sredstva", + "type-entity-view": "Pogled entitete", + "type-alarm": "Alarm", + "type-rule-chain": "Veriga pravil", + "type-rule-chain-metadata": "Metapodatki verige pravil", + "type-edge": "Edge", + "type-user": "Uporabnik", + "type-tenant": "Najemnik", + "type-tenant-profile": "Profil najemnika", + "type-customer": "Stranka", + "type-relation": "Relacija", + "type-widgets-bundle": "Paket gradnikov", + "type-widgets-type": "Vrsta gradnika", + "type-admin-settings": "Administratorske nastavitve", + "type-ota-package": "Paket OTA", + "type-queue": "Čakalna vrsta", + "action-type-added": "Dodano", + "action-type-deleted": "Izbrisano", + "action-type-updated": "Posodobljeno", + "action-type-post-attributes": "Objava atributov", + "action-type-attributes-updated": "Atributi posodobljeni", + "action-type-attributes-deleted": "Atributi izbrisani", + "action-type-timeseries-updated": "Časovne serije posodobljene", + "action-type-credentials-updated": "Poverilnice posodobljene", + "action-type-assigned-to-customer": "Dodeljeno stranki", + "action-type-unassigned-from-customer": "Dodelitev stranki preklicana", + "action-type-relation-add-or-update": "Relacija dodana ali posodobljena", + "action-type-relation-deleted": "Relacija izbrisana", + "action-type-rpc-call": "Klic RPC", + "action-type-alarm-ack": "Alarm potrjen", + "action-type-alarm-clear": "Alarm ponastavljen", + "action-type-alarm-assigned": "Alarm dodeljen", + "action-type-alarm-unassigned": "Dodelitev alarma preklicana", + "action-type-assigned-to-edge": "Dodeljeno Edge-u", + "action-type-unassigned-from-edge": "Dodelitev Edge-u preklicana", + "action-type-credentials-request": "Zahteva za poverilnice", + "action-type-entity-merge-request": "Zahteva za združitev entitet" + }, + "error": { + "unable-to-connect": "Ni mogoče vzpostaviti povezave s strežnikom! Preverite internetno povezavo.", + "unhandled-error-code": "Neobravnavana koda napake: {{errorCode}}", + "unknown-error": "Neznana napaka" + }, + "entity": { + "entity": "Entiteta", + "entities": "Entitete", + "entities-count": "Število entitet", + "alarms-count": "Število alarmov", + "aliases": "Vzdevki entitet", + "aliases-short": "Vzdevki", + "entity-alias": "Vzdevek entitete", + "unable-delete-entity-alias-title": "Vzdevka entitete ni mogoče izbrisati", + "unable-delete-entity-alias-text": "Vzdevka entitete »{{entityAlias}}« ni mogoče izbrisati, ker ga uporabljajo naslednji gradniki:
    {{widgetsList}}", + "duplicate-alias-error": "Najden je podvojen vzdevek »{{alias}}«.
    Vzdevki entitet morajo biti znotraj nadzorne plošče enolični.", + "missing-entity-filter-error": "Za vzdevek »{{alias}}« manjka filter.", + "configure-alias": "Konfiguriraj vzdevek »{{alias}}«", + "alias": "Vzdevek", + "alias-required": "Vzdevek entitete je obvezen.", + "remove-alias": "Odstrani vzdevek entitete", + "add-alias": "Dodaj vzdevek entitete", + "edit-alias": "Uredi vzdevek entitete", + "entity-list": "Seznam entitet", + "entity-type": "Vrsta entitete", + "entity-types": "Vrste entitet", + "entity-type-list": "Seznam vrst entitet", + "any-entity": "Poljubna entiteta", + "add-entity-type": "Dodaj vrsto entitete", + "enter-entity-type": "Vnesite vrsto entitete", + "no-entities-matching": "Ni entitet, ki bi se ujemale z iskalnim nizom »{{entity}}«.", + "no-entities-text": "Ni najdenih entitet", + "no-entity-types-matching": "Ni vrst entitet, ki bi se ujemale z iskalnim nizom »{{entityType}}«.", + "name-starts-with": "Izraz za ime", + "help-text": "Po potrebi uporabite znak '%': '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with%'.", + "use-entity-name-filter": "Uporabi filter", + "entity-list-empty": "Ni izbranih entitet.", + "entity-type-list-required": "Izbrana mora biti vsaj ena vrsta entitete.", + "entity-name-filter-required": "Izraz za ime entitete je obvezen.", + "entity-name-filter-no-entity-matched": "Ni najdenih entitet, katerih ime se začne z nizom »{{entity}}«.", + "all-subtypes": "Vse", + "select-entities": "Izberite entitete", + "no-aliases-found": "Ni najdenih vzdevkov.", + "no-alias-matching": "Vzdevka »{{alias}}« ni mogoče najti.", + "create-new-alias": "Ustvari nov vzdevek!", + "create-new": "Ustvari novo", + "key": "Ključ", + "key-name": "Ime ključa", + "no-keys-found": "Ni najdenih ključev.", + "no-key-matching": "Ključa »{{key}}« ni mogoče najti.", + "create-new-key": "Ustvari nov vnos!", + "type": "Vrsta", + "type-required": "Vrsta entitete je obvezna.", + "type-device": "Naprava", + "type-devices": "Naprave", + "list-of-devices": "{ count, plural, =1 {Ena naprava} one {Seznam # naprave} two {Seznam # naprav} few {Seznam # naprav} other {Seznam # naprav} }", + "device-name-starts-with": "Naprave, katerih imena se začnejo z nizom »{{prefix}}«", + "type-device-profile": "Profil naprave", + "type-device-profiles": "Profili naprav", + "clear-selected-profiles": "Počisti izbrane profile", + "list-of-device-profiles": "{ count, plural, =1 {En profil naprave} one {Seznam # profila naprav} two {Seznam # profilov naprav} few {Seznam # profilov naprav} other {Seznam # profilov naprav} }", + "device-profile-name-starts-with": "Profili naprav, katerih imena se začnejo z nizom »{{prefix}}«", + "type-asset-profile": "Profil sredstva", + "type-asset-profiles": "Profili sredstev", + "list-of-asset-profiles": "{ count, plural, =1 {En profil sredstva} one {Seznam # profila sredstev} two {Seznam # profilov sredstev} few {Seznam # profilov sredstev} other {Seznam # profilov sredstev} }", + "asset-profile-name-starts-with": "Profili sredstev, katerih imena se začnejo z nizom »{{prefix}}«", + "type-asset": "Sredstvo", + "type-assets": "Sredstva", + "list-of-assets": "{ count, plural, =1 {Eno sredstvo} one {Seznam # sredstva} two {Seznam # sredstev} few {Seznam # sredstev} other {Seznam # sredstev} }", + "asset-name-starts-with": "Sredstva, katerih imena se začnejo z nizom »{{prefix}}«", + "type-entity-view": "Pogled entitete", + "type-entity-views": "Pogledi entitet", + "list-of-entity-views": "{ count, plural, =1 {En pogled entitete} one {Seznam # pogleda entitet} two {Seznam # pogledov entitet} few {Seznam # pogledov entitet} other {Seznam # pogledov entitet} }", + "entity-view-name-starts-with": "Pogledi entitet, katerih imena se začnejo z nizom »{{prefix}}«", + "type-rule": "Pravilo", + "type-rules": "Pravila", + "list-of-rules": "{ count, plural, =1 {Eno pravilo} one {Seznam # pravila} two {Seznam # pravil} few {Seznam # pravil} other {Seznam # pravil} }", + "rule-name-starts-with": "Pravila, katerih imena se začnejo z nizom »{{prefix}}«", + "type-plugin": "Vtičnik", + "type-plugins": "Vtičniki", + "list-of-plugins": "{ count, plural, =1 {En vtičnik} one {Seznam # vtičnika} two {Seznam # vtičnikov} few {Seznam # vtičnikov} other {Seznam # vtičnikov} }", + "plugin-name-starts-with": "Vtičniki, katerih imena se začnejo z nizom »{{prefix}}«", + "type-tenant": "Najemnik", + "type-tenants": "Najemniki", + "list-of-tenants": "{ count, plural, =1 {En najemnik} one {Seznam # najemnika} two {Seznam # najemnikov} few {Seznam # najemnikov} other {Seznam # najemnikov} }", + "tenant-name-starts-with": "Najemniki, katerih imena se začnejo z nizom »{{prefix}}«", + "type-tenant-profile": "Profil najemnika", + "type-tenant-profiles": "Profili najemnikov", + "list-of-tenant-profiles": "{ count, plural, =1 {En profil najemnika} one {Seznam # profila najemnikov} two {Seznam # profilov najemnikov} few {Seznam # profilov najemnikov} other {Seznam # profilov najemnikov} }", + "tenant-profile-name-starts-with": "Profili najemnikov, katerih imena se začnejo z nizom »{{prefix}}«", + "type-customer": "Stranka", + "type-customers": "Stranke", + "list-of-customers": "{ count, plural, =1 {Ena stranka} one {Seznam # stranke} two {Seznam # strank} few {Seznam # strank} other {Seznam # strank} }", + "customer-name-starts-with": "Stranke, katerih imena se začnejo z nizom »{{prefix}}«", + "type-user": "Uporabnik", + "type-users": "Uporabniki", + "list-of-users": "{ count, plural, =1 {En uporabnik} one {Seznam # uporabnika} two {Seznam # uporabnikov} few {Seznam # uporabnikov} other {Seznam # uporabnikov} }", + "user-name-starts-with": "Uporabniki, katerih imena se začnejo z nizom »{{prefix}}«", + "type-dashboard": "Nadzorna plošča", + "type-dashboards": "Nadzorne plošče", + "list-of-dashboards": "{ count, plural, =1 {Ena nadzorna plošča} one {Seznam # nadzorne plošče} two {Seznam # nadzornih plošč} few {Seznam # nadzornih plošč} other {Seznam # nadzornih plošč} }", + "dashboard-name-starts-with": "Nadzorne plošče, katerih imena se začnejo z nizom »{{prefix}}«", + "type-alarm": "Alarm", + "type-alarms": "Alarmi", + "list-of-alarms": "{ count, plural, =1 {En alarm} one {Seznam # alarma} two {Seznam # alarmov} few {Seznam # alarmov} other {Seznam # alarmov} }", + "alarm-name-starts-with": "Alarmi, katerih imena se začnejo z nizom »{{prefix}}«", + "type-rulechain": "Veriga pravil", + "type-rulechains": "Verige pravil", + "list-of-rulechains": "{ count, plural, =1 {Ena veriga pravil} one {Seznam # verige pravil} two {Seznam # verig pravil} few {Seznam # verig pravil} other {Seznam # verig pravil} }", + "rulechain-name-starts-with": "Verige pravil, katerih imena se začnejo z nizom »{{prefix}}«", + "type-rulenode": "Vozlišče pravil", + "type-rulenodes": "Vozlišča pravil", + "list-of-rulenodes": "{ count, plural, =1 {Eno vozlišče pravil} one {Seznam # vozlišča pravil} two {Seznam # vozlišč pravil} few {Seznam # vozlišč pravil} other {Seznam # vozlišč pravil} }", + "rulenode-name-starts-with": "Vozlišča pravil, katerih imena se začnejo z nizom »{{prefix}}«", + "type-api-key": "Ključ API", + "type-api-keys": "Ključi API", + "type-current-customer": "Trenutna stranka", + "type-current-tenant": "Trenutni najemnik", + "type-current-user": "Trenutni uporabnik", + "type-current-user-owner": "Lastnik trenutnega uporabnika", + "type-calculated-field": "Izračunano polje", + "type-calculated-fields": "Izračunana polja", + "type-ai-model": "Model umetne inteligence", + "type-ai-models": "Modeli umetne inteligence", + "type-widgets-bundle": "Paket gradnikov", + "type-widgets-bundles": "Paketi gradnikov", + "list-of-widgets-bundles": "{ count, plural, =1 {En paket gradnikov} one {Seznam # paketa gradnikov} two {Seznam # paketov gradnikov} few {Seznam # paketov gradnikov} other {Seznam # paketov gradnikov} }", + "type-widget": "Gradnik", + "type-widgets": "Gradniki", + "list-of-widgets": "{ count, plural, =1 {En gradnik} one {Seznam # gradnika} two {Seznam # gradnikov} few {Seznam # gradnikov} other {Seznam # gradnikov} }", + "search": "Iskanje entitet", + "selected-entities": "Izbrano: { count, plural, one {# entiteta} two {# entiteti} few {# entitete} other {# entitet} }", + "entity-name": "Ime entitete", + "entity-label": "Oznaka entitete", + "details": "Podrobnosti entitete", + "no-entities-prompt": "Ni najdenih entitet", + "no-data": "Ni podatkov za prikaz", + "show-all-columns":"Prikaži vse stolpce", + "columns-to-display": "Stolpci za prikaz", + "type-api-usage-state": "Stanje uporabe API-ja", + "type-edge": "Edge", + "type-edges": "Instance Edge", + "list-of-edges": "{ count, plural, =1 {En Edge} one {Seznam # instance Edge} two {Seznam # instanc Edge} few {Seznam # instanc Edge} other {Seznam # instanc Edge} }", + "edge-name-starts-with": "Instance Edge, katerih imena se začnejo z nizom »{{prefix}}«", + "version-conflict": { + "message": "Ali želite prepisati obstoječo različico ali zavreči spremembe in naložiti najnovejšo različico?", + "link": "Svojo različico ({{entityType}}) lahko prenesete s to", + "overwrite": "Prepiši različico", + "discard": "Zavrzi spremembe" + }, + "type-tb-resource": "Vir", + "type-tb-resources": "Viri", + "list-of-tb-resources": "{ count, plural, =1 {En vir} one {Seznam # vira} two {Seznam # virov} few {Seznam # virov} other {Seznam # virov} }", + "type-ota-package": "Paket OTA", + "type-ota-packages": "Paketi OTA", + "list-of-ota-packages": "{ count, plural, =1 {En paket OTA} one {Seznam # paketa OTA} two {Seznam # paketov OTA} few {Seznam # paketov OTA} other {Seznam # paketov OTA} }", + "type-rpc": "RPC", + "type-queue": "Čakalna vrsta", + "type-queue-stats": "Statistika čakalne vrste", + "type-queues-stats": "Statistike čakalnih vrst", + "type-notification": "Obvestilo", + "type-notification-rule": "Pravilo za obvestila", + "type-notification-rules": "Pravila za obvestila", + "list-of-notification-rules": "{ count, plural, =1 {Eno pravilo za obvestila} one {Seznam # pravila za obvestila} two {Seznam # pravil za obvestila} few {Seznam # pravil za obvestila} other {Seznam # pravil za obvestila} }", + "type-notification-target": "Prejemnik obvestil", + "type-notification-targets": "Prejemniki obvestil", + "list-of-notification-targets": "{ count, plural, =1 {En prejemnik obvestil} one {Seznam # prejemnika obvestil} two {Seznam # prejemnikov obvestil} few {Seznam # prejemnikov obvestil} other {Seznam # prejemnikov obvestil} }", + "type-notification-request": "Zahteva za obvestilo", + "type-notification-template": "Predloga obvestila", + "type-notification-templates": "Predloge obvestil", + "list-of-notification-templates": "{ count, plural, =1 {Ena predloga obvestila} one {Seznam # predloge obvestil} two {Seznam # predlog obvestil} few {Seznam # predlog obvestil} other {Seznam # predlog obvestil} }", + "link": "povezavo", + "type-oauth2-client": "Odjemalec OAuth 2.0", + "type-oauth2-clients": "Odjemalci OAuth 2.0", + "list-of-oauth2-clients": "{ count, plural, =1 {En odjemalec OAuth 2.0} one {Seznam # odjemalca OAuth 2.0} two {Seznam # odjemalcev OAuth 2.0} few {Seznam # odjemalcev OAuth 2.0} other {Seznam # odjemalcev OAuth 2.0} }", + "type-domain": "Domena", + "type-domains": "Domene", + "list-of-domains": "{ count, plural, =1 {Ena domena} one {Seznam # domene} two {Seznam # domen} few {Seznam # domen} other {Seznam # domen} }", + "type-mobile-app": "Mobilna aplikacija", + "type-mobile-apps": "Mobilne aplikacije", + "list-of-mobile-apps": "{ count, plural, =1 {Ena mobilna aplikacija} one {Seznam # mobilne aplikacije} two {Seznam # mobilnih aplikacij} few {Seznam # mobilnih aplikacij} other {Seznam # mobilnih aplikacij} }", + "type-mobile-app-bundle": "Paket mobilnih aplikacij", + "type-mobile-app-bundles": "Paketi mobilnih aplikacij", + "list-of-mobile-app-bundles": "{ count, plural, =1 {En paket mobilnih aplikacij} one {Seznam # paketa mobilnih aplikacij} two {Seznam # paketov mobilnih aplikacij} few {Seznam # paketov mobilnih aplikacij} other {Seznam # paketov mobilnih aplikacij} }", + "limit-reached": "Dosežena omejitev", + "limit-reached-text": "Dosegli ste omejitev: {{ entities }}. Če želite dodati več, prosite sistemskega administratorja, naj poveča omejitev za vrsto entitete »{{ entity }}«.", + "request-limit-increase": "Zahtevaj povečanje omejitve", + "request-sysadmin-text": "Ali ste sistemski administrator?", + "login-here": "Prijavite se tukaj", + "to-increase-limit": "za povečanje omejitve.", + "increase-limit-request-sent-title": "Vašemu sistemskemu administratorju je bila poslana samodejna zahteva za povečanje omejitve", + "increase-limit-request-sent-text": "Počakajte nekaj časa, da zahtevo pregledajo in posodobijo nastavitve. Morda boste morali osvežiti to stran, da bodo spremembe vidne." + }, + "entity-field": { + "created-time": "Čas ustvarjanja", + "name": "Ime", + "type": "Vrsta", + "first-name": "Ime", + "last-name": "Priimek", + "email": "E-pošta", + "title": "Naslov", + "country": "Država", + "state": "Regija / pokrajina", + "city": "Mesto", + "address": "Naslov", + "address2": "Naslov 2", + "zip": "Poštna številka", + "phone": "Telefon", + "label": "Oznaka", + "queue-name": "Ime čakalne vrste", + "service-id": "ID storitve", + "owner-name": "Ime lastnika", + "owner-type": "Vrsta lastnika" + }, + "entity-view": { + "entity-view": "Pogled entitete", + "entity-view-required": "Pogled entitete je obvezen.", + "entity-views": "Pogledi entitet", + "management": "Upravljanje pogledov entitet", + "view-entity-views": "Ogled pogledov entitet", + "entity-view-alias": "Vzdevek pogleda entitete", + "aliases": "Vzdevki pogledov entitet", + "no-alias-matching": "Vzdevka »{{alias}}« ni mogoče najti.", + "no-aliases-found": "Ni najdenih vzdevkov.", + "no-key-matching": "Ključa »{{key}}« ni mogoče najti.", + "no-keys-found": "Ni najdenih ključev.", + "create-new-alias": "Ustvari nov vzdevek!", + "create-new-key": "Ustvari nov ključ!", + "duplicate-alias-error": "Najden je podvojen vzdevek »{{alias}}«.
    Vzdevki pogledov entitet morajo biti znotraj nadzorne plošče enolični.", + "configure-alias": "Konfiguriraj vzdevek »{{alias}}«", + "no-entity-views-matching": "Ni pogledov entitet, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "public": "Javno", + "alias": "Vzdevek", + "alias-required": "Vzdevek pogleda entitete je obvezen.", + "remove-alias": "Odstrani vzdevek pogleda entitete", + "add-alias": "Dodaj vzdevek pogleda entitete", + "name-starts-with": "Izraz za ime pogleda entitete", + "help-text": "Po potrebi uporabite znak '%': '%entity-view_name_contains%', '%entity-view_name_ends', 'entity-view_starts_with%'.", + "entity-view-list": "Seznam pogledov entitet", + "use-entity-view-name-filter": "Uporabi filter", + "entity-view-list-empty": "Ni izbranih pogledov entitet.", + "entity-view-name-filter-required": "Izraz za ime pogleda entitete je obvezen.", + "entity-view-name-filter-no-entity-view-matched": "Ni najdenih pogledov entitet, katerih ime se začne z nizom »{{entityView}}«.", + "add": "Dodaj pogled entitete", + "entity-view-public": "Pogled entitete je javen", + "assign-to-customer": "Dodeli stranki", + "assign-entity-view-to-customer": "Dodeli poglede entitet stranki", + "assign-entity-view-to-customer-text": "Izberite poglede entitet, ki jih želite dodeliti stranki", + "assign-entity-view-to-edge-title": "Dodeli poglede entitet Edge-u", + "no-entity-views-text": "Ni najdenih pogledov entitet", + "assign-to-customer-text": "Izberite stranko, ki ji želite dodeliti poglede entitet", + "entity-view-details": "Podrobnosti pogleda entitete", + "add-entity-view-text": "Dodaj nov pogled entitete", + "delete": "Izbriši pogled entitete", + "assign-entity-views": "Dodeli poglede entitet", + "assign-entity-views-text": "Dodeli { count, plural, one {# pogled entitete} two {# pogleda entitet} few {# poglede entitet} other {# pogledov entitet} } stranki", + "delete-entity-views": "Izbriši poglede entitet", + "unassign-from-customer": "Prekliči dodelitev stranki", + "unassign-entity-views": "Prekliči dodelitev pogledov entitet", + "unassign-entity-views-action-title": "Prekliči dodelitev { count, plural, one {# pogleda entitete} two {# pogledov entitet} few {# pogledov entitet} other {# pogledov entitet} } stranki", + "assign-new-entity-view": "Dodeli nov pogled entitete", + "delete-entity-view-title": "Ali ste prepričani, da želite izbrisati pogled entitete »{{entityViewName}}«?", + "delete-entity-view-text": "Pozor! Ko potrdite, pogleda entitete in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-entity-views-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# pogled entitete} two {# pogleda entitet} few {# poglede entitet} other {# pogledov entitet} }?", + "delete-entity-views-action-title": "Izbriši { count, plural, one {# pogled entitete} two {# pogleda entitet} few {# poglede entitet} other {# pogledov entitet} }", + "delete-entity-views-text": "Pozor! Ko potrdite, bodo vsi izbrani pogledi entitet odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "unassign-entity-view-title": "Ali ste prepričani, da želite preklicati dodelitev pogleda entitete »{{entityViewName}}«?", + "unassign-entity-view-text": "Ko potrdite, pogled entitete ne bo več dodeljen stranki in ji ne bo več dostopen.", + "unassign-entity-view": "Prekliči dodelitev pogleda entitete", + "unassign-entity-views-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, one {# pogleda entitete} two {# pogledov entitet} few {# pogledov entitet} other {# pogledov entitet} }?", + "unassign-entity-views-text": "Ko potrdite, izbrani pogledi entitet ne bodo več dodeljeni stranki in ji ne bodo več dostopni.", + "entity-view-type": "Vrsta pogleda entitete", + "entity-view-type-required": "Vrsta pogleda entitete je obvezna.", + "select-entity-view-type": "Izberite vrsto pogleda entitete", + "enter-entity-view-type": "Vnesite vrsto pogleda entitete", + "any-entity-view": "Poljuben pogled entitete", + "no-entity-view-types-matching": "Ni vrst pogledov entitet, ki bi se ujemale z iskalnim nizom »{{entitySubtype}}«.", + "entity-view-type-list-empty": "Ni izbranih vrst pogledov entitet.", + "entity-view-types": "Vrste pogledov entitet", + "created-time": "Čas ustvarjanja", + "name": "Ime", + "name-required": "Ime je obvezno.", + "name-max-length": "Ime mora biti krajše od 256 znakov", + "type-max-length": "Vrsta pogleda entitete mora biti krajša od 256 znakov", + "description": "Opis", + "events": "Dogodki", + "details": "Podrobnosti", + "copyId": "Kopiraj ID pogleda entitete", + "idCopiedMessage": "ID pogleda entitete je kopiran v odložišče", + "assignedToCustomer": "Dodeljeno stranki", + "unable-entity-view-device-alias-title": "Vzdevka pogleda entitete ni mogoče izbrisati", + "unable-entity-view-device-alias-text": "Vzdevka pogleda entitete »{{entityViewAlias}}« ni mogoče izbrisati, ker ga uporabljajo naslednji gradniki:
    {{widgetsList}}", + "select-entity-view": "Izberite pogled entitete", + "make-public": "Naredi pogled entitete javen", + "make-private": "Naredi pogled entitete zaseben", + "start-ts": "Začetni čas", + "end-ts": "Končni čas", + "date-limits": "Časovne meje", + "client-attributes": "Atributi odjemalca", + "shared-attributes": "Skupni atributi", + "server-attributes": "Atributi strežnika", + "timeseries": "Časovne serije", + "client-attributes-placeholder": "Atributi odjemalca", + "shared-attributes-placeholder": "Skupni atributi", + "server-attributes-placeholder": "Atributi strežnika", + "timeseries-placeholder": "Časovne serije", + "target-entity": "Ciljna entiteta", + "attributes-propagation": "Posredovanje atributov", + "attributes-propagation-hint": "Pogled entitete bo ob vsakem shranjevanju ali posodobitvi tega pogleda entitete samodejno kopiral navedene atribute iz ciljne entitete. Zaradi zmogljivosti se atributi ciljne entitete ob vsaki spremembi atributa ne posredujejo pogledu entitete. Samodejno posredovanje lahko omogočite tako, da v verigi pravil nastavite vozlišče pravil »kopiraj v pogled« in z novim vozliščem pravil povežete sporočili »Objavi atribute« in »Atributi posodobljeni«.", + "timeseries-data": "Podatki časovnih serij", + "timeseries-data-hint": "Konfigurirajte podatkovne ključe časovnih serij ciljne entitete, ki bodo dostopni pogledu entitete. Ti podatki so samo za branje.", + "search": "Iskanje pogledov entitet", + "selected-entity-views": "Izbrano: { count, plural, one {# pogled entitete} two {# pogleda entitet} few {# pogledi entitet} other {# pogledov entitet} }", + "make-public-entity-view-title": "Ali ste prepričani, da želite pogled entitete »{{entityViewName}}« narediti javen?", + "make-public-entity-view-text": "Ko potrdite, bodo pogled entitete in vsi njegovi podatki javno dostopni drugim.", + "make-private-entity-view-title": "Ali ste prepričani, da želite pogled entitete »{{entityViewName}}« narediti zaseben?", + "make-private-entity-view-text": "Ko potrdite, pogled entitete in vsi njegovi podatki ne bodo več dostopni drugim.", + "assign-entity-view-to-edge": "Dodeli poglede entitet Edge-u", + "assign-entity-view-to-edge-text":"Izberite poglede entitet, ki jih želite dodeliti Edge-u", + "unassign-entity-view-from-edge-title": "Ali ste prepričani, da želite preklicati dodelitev pogleda entitete »{{entityViewName}}« Edge-u?", + "unassign-entity-view-from-edge-text": "Ko potrdite, pogled entitete ne bo več dodeljen Edge-u in mu ne bo več dostopen.", + "unassign-entity-views-from-edge-action-title": "Prekliči dodelitev { count, plural, one {# pogleda entitete} two {# pogledov entitet} few {# pogledov entitet} other {# pogledov entitet} } Edge-u", + "unassign-entity-view-from-edge": "Prekliči dodelitev pogleda entitete Edge-u", + "unassign-entity-views-from-edge-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, one {# pogleda entitete} two {# pogledov entitet} few {# pogledov entitet} other {# pogledov entitet} } Edge-u?", + "unassign-entity-views-from-edge-text": "Ko potrdite, izbrani pogledi entitet ne bodo več dodeljeni Edge-u in mu ne bodo več dostopni." + }, + "event": { + "event-type": "Vrsta dogodka", + "events-filter": "Filter dogodkov", + "clean-events": "Počisti dogodke", + "type-error": "Napaka", + "type-lc-event": "Dogodek življenjskega cikla", + "type-stats": "Statistika", + "type-debug-rule-node": "Razhroščevanje", + "type-debug-rule-chain": "Razhroščevanje", + "type-debug-calculated-field": "Razhroščevanje", + "arguments": "Argumenti", + "result": "Rezultat", + "no-events-prompt": "Ni najdenih dogodkov", + "error": "Napaka", + "alarm": "Alarm", + "event-time": "Čas dogodka", + "server": "Strežnik", + "body": "Vsebina", + "method": "Metoda", + "type": "Vrsta", + "message": "Sporočilo", + "message-id": "ID sporočila", + "copy-message-id": "Kopiraj ID sporočila", + "message-type": "Vrsta sporočila", + "data-type": "Vrsta podatkov", + "relation-type": "Vrsta relacije", + "metadata": "Metapodatki", + "data": "Podatki", + "event": "Dogodek", + "status": "Stanje", + "success": "Uspešno", + "failed": "Neuspešno", + "messages-processed": "Obdelana sporočila", + "max-messages-processed": "Največ obdelanih sporočil", + "min-messages-processed": "Najmanj obdelanih sporočil", + "errors-occurred": "Nastale napake", + "max-errors-occurred": "Največ napak", + "min-errors-occurred": "Najmanj napak", + "min-value": "Najmanjša vrednost je 0.", + "all-events": "Vsi", + "has-error": "Ima napako", + "entity-id": "ID entitete", + "copy-entity-id": "Kopiraj ID entitete", + "entity-type": "Vrsta entitete", + "clear-filter": "Počisti filter", + "clear-request-title": "Počisti vse dogodke", + "clear-request-text": "Ali ste prepričani, da želite počistiti vse dogodke?", + "started": "Zagnano", + "updated": "Posodobljeno", + "stopped": "Ustavljeno" + }, + "extension": { + "extensions": "Razširitve", + "selected-extensions": "Izbrano: { count, plural, =1 {1 razširitev} one {# razširitev} two {# razširitvi} few {# razširitve} other {# razširitev} }", + "type": "Vrsta", + "key": "Ključ", + "value": "Vrednost", + "id": "ID", + "extension-id": "ID razširitve", + "extension-type": "Vrsta razširitve", + "transformer-json": "JSON *", + "unique-id-required": "Trenutni ID razširitve že obstaja.", + "delete": "Izbriši razširitev", + "add": "Dodaj razširitev", + "edit": "Uredi razširitev", + "delete-extension-title": "Ali ste prepričani, da želite izbrisati razširitev »{{extensionId}}«?", + "delete-extension-text": "Pozor! Ko potrdite, razširitve in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-extensions-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 razširitev} one {# razširitev} two {# razširitvi} few {# razširitve} other {# razširitev} }?", + "delete-extensions-text": "Pozor! Ko potrdite, bodo vse izbrane razširitve odstranjene.", + "converters": "Pretvorniki", + "converter-id": "ID pretvornika", + "configuration": "Konfiguracija", + "converter-configurations": "Konfiguracije pretvornikov", + "token": "Varnostni žeton", + "add-converter": "Dodaj pretvornik", + "add-config": "Dodaj konfiguracijo pretvornika", + "device-name-expression": "Izraz za ime naprave", + "device-type-expression": "Izraz vrste naprave", + "custom": "Po meri", + "to-double": "Pretvori v Double", + "transformer": "Preoblikovalnik", + "json-required": "JSON preoblikovalnika je obvezen.", + "json-parse": "JSON-a preoblikovalnika ni mogoče razčleniti.", + "attributes": "Atributi", + "add-attribute": "Dodaj atribut", + "add-map": "Dodaj element preslikave", + "timeseries": "Časovne serije", + "add-timeseries": "Dodaj časovno serijo", + "field-required": "Polje je obvezno", + "brokers": "Posredniki", + "add-broker": "Dodaj posrednika", + "host": "Gostitelj", + "port": "Vrata", + "port-range": "Vrata morajo biti med 1 in 65535.", + "ssl": "SSL", + "credentials": "Poverilnice", + "username": "Uporabniško ime", + "password": "Geslo", + "retry-interval": "Interval ponovnega poskusa v milisekundah", + "anonymous": "Anonimno", + "basic": "Osnovno", + "pem": "PEM", + "ca-cert": "Datoteka certifikata CA *", + "private-key": "Datoteka zasebnega ključa *", + "cert": "Datoteka certifikata *", + "no-file": "Ni izbrane datoteke.", + "drop-file": "Spustite datoteko sem ali kliknite, da jo izberete za nalaganje.", + "mapping": "Preslikava", + "topic-filter": "Filter tem", + "converter-type": "Vrsta pretvornika", + "converter-json": "JSON", + "json-name-expression": "Izraz JSON za ime naprave", + "topic-name-expression": "Izraz teme za ime naprave", + "json-type-expression": "Izraz JSON za vrsto naprave", + "topic-type-expression": "Izraz teme za vrsto naprave", + "attribute-key-expression": "Izraz ključa atributa", + "attr-json-key-expression": "Izraz JSON za ključ atributa", + "attr-topic-key-expression": "Izraz teme za ključ atributa", + "request-id-expression": "Izraz za ID zahteve", + "request-id-json-expression": "Izraz JSON za ID zahteve", + "request-id-topic-expression": "Izraz teme za ID zahteve", + "response-topic-expression": "Izraz teme odgovora", + "value-expression": "Izraz vrednosti", + "topic": "Tema", + "timeout": "Časovna omejitev v milisekundah", + "converter-json-required": "JSON pretvornika je obvezen.", + "converter-json-parse": "Pretvornika JSON ni mogoče razčleniti.", + "filter-expression": "Izraz filtra", + "connect-requests": "Zahteve za povezavo", + "add-connect-request": "Dodaj zahtevo za povezavo", + "disconnect-requests": "Zahteve za prekinitev povezave", + "add-disconnect-request": "Dodaj zahtevo za prekinitev povezave", + "attribute-requests": "Zahteve za atribute", + "add-attribute-request": "Dodaj zahtevo za atribut", + "attribute-updates": "Posodobitve atributov", + "add-attribute-update": "Dodaj posodobitev atributa", + "server-side-rpc": "RPC na strani strežnika", + "add-server-side-rpc-request": "Dodaj zahtevo RPC na strani strežnika", + "device-name-filter": "Filter imena naprave", + "attribute-filter": "Filter atributa", + "method-filter": "Filter metode", + "request-topic-expression": "Izraz teme zahteve", + "response-timeout": "Časovna omejitev odgovora v milisekundah", + "topic-expression": "Izraz teme", + "client-scope": "Obseg odjemalca", + "add-device": "Dodaj napravo", + "opc-server": "Strežniki", + "opc-add-server": "Dodaj strežnik", + "opc-add-server-prompt": "Dodajte strežnik", + "opc-application-name": "Ime aplikacije", + "opc-application-uri": "URI aplikacije", + "opc-scan-period-in-seconds": "Interval skeniranja v sekundah", + "opc-security": "Varnost", + "opc-identity": "Identiteta", + "opc-keystore": "Shramba ključev", + "opc-type": "Vrsta", + "opc-keystore-type": "Vrsta", + "opc-keystore-location": "Lokacija *", + "opc-keystore-password": "Geslo", + "opc-keystore-alias": "Vzdevek", + "opc-keystore-key-password": "Geslo ključa", + "opc-device-node-pattern": "Vzorec vozlišča naprave", + "opc-device-name-pattern": "Vzorec imena naprave", + "modbus-server": "Strežniki/podrejene naprave", + "modbus-add-server": "Dodaj strežnik/podrejeno napravo", + "modbus-add-server-prompt": "Dodajte strežnik/podrejeno napravo", + "modbus-transport": "Transport", + "modbus-tcp-reconnect": "Samodejno znova poveži", + "modbus-rtu-over-tcp": "RTU prek TCP", + "modbus-port-name": "Ime serijskih vrat", + "modbus-encoding": "Kodiranje", + "modbus-parity": "Pariteta", + "modbus-baudrate": "Hitrost prenosa (baud)", + "modbus-databits": "Podatkovni biti", + "modbus-stopbits": "Zaustavitveni biti", + "modbus-databits-range": "Podatkovni biti morajo biti med 7 in 8.", + "modbus-stopbits-range": "Zaustavitveni biti morajo biti med 1 in 2.", + "modbus-unit-id": "ID enote", + "modbus-unit-id-range": "ID enote mora biti med 1 in 247.", + "modbus-device-name": "Ime naprave", + "modbus-poll-period": "Interval poizvedovanja (ms)", + "modbus-attributes-poll-period": "Interval poizvedovanja atributov (ms)", + "modbus-timeseries-poll-period": "Interval poizvedovanja časovnih serij (ms)", + "modbus-poll-period-range": "Interval poizvedovanja mora biti pozitivna vrednost.", + "modbus-tag": "Značka", + "modbus-function": "Funkcija", + "modbus-register-address": "Naslov registra", + "modbus-register-address-range": "Naslov registra mora biti med 0 in 65535.", + "modbus-register-bit-index": "Indeks bita", + "modbus-register-bit-index-range": "Indeks bita mora biti med 0 in 15.", + "modbus-register-count": "Število registrov", + "modbus-register-count-range": "Število registrov mora biti pozitivna vrednost.", + "modbus-byte-order": "Vrstni red bajtov", + "sync": { + "status": "Stanje", + "sync": "Sinhronizirano", + "not-sync": "Ni sinhronizirano", + "last-sync-time": "Čas zadnje sinhronizacije", + "not-available": "Ni na voljo" + }, + "export-extensions-configuration": "Izvozi konfiguracijo razširitev", + "import-extensions-configuration": "Uvozi konfiguracijo razširitev", + "import-extensions": "Uvozi razširitve", + "import-extension": "Uvozi razširitev", + "export-extension": "Izvozi razširitev", + "file": "Datoteka z razširitvami", + "invalid-file-error": "Neveljavna datoteka z razširitvami" + }, + "feature": { + "advanced-features": "Napredne funkcije" + }, + "filter": { + "add": "Dodaj filter", + "edit": "Uredi filter", + "name": "Ime filtra", + "name-required": "Ime filtra je obvezno.", + "duplicate-filter": "Filter z enakim imenom že obstaja.", + "filters": "Filtri", + "unable-delete-filter-title": "Filtra ni mogoče izbrisati", + "unable-delete-filter-text": "Filtra »{{filter}}« ni mogoče izbrisati, ker ga uporabljajo naslednji gradniki:
    {{widgetsList}}", + "duplicate-filter-error": "Najden je podvojen filter »{{filter}}«.
    Filtri morajo biti v nadzorni plošči enolični.", + "missing-key-filters-error": "Za filter »{{filter}}« manjkajo filtri ključev.", + "filter": "Filter", + "editable": "Uredljiv", + "editable-hint": "Uporabniku omogoča spreminjanje vrednosti filtra na nadzornih ploščah.", + "no-filters-found": "Ni najdenih filtrov.", + "no-filter-text": "Filter ni določen", + "add-filter-prompt": "Dodajte filter", + "no-filter-matching": "Filtra »{{filter}}« ni mogoče najti.", + "create-new-filter": "Ustvari nov filter!", + "create-new": "Ustvari novo", + "filter-required": "Filter je obvezen.", + "operation": { + "operation": "Operacija", + "equal": "je enako", + "not-equal": "ni enako", + "starts-with": "se začne z", + "ends-with": "se konča z", + "contains": "vsebuje", + "not-contains": "ne vsebuje", + "greater": "je večje od", + "less": "je manjše od", + "greater-or-equal": "je večje ali enako", + "less-or-equal": "je manjše ali enako", + "and": "in", + "or": "ali", + "in": "je v", + "not-in": "ni v" + }, + "ignore-case": "Ne razlikuj velikih in malih črk", + "value": "Vrednost", + "remove-filter": "Odstrani filter", + "duplicate-filter-action": "Podvoji filter", + "preview": "Predogled filtra", + "no-filters": "Ni konfiguriranih filtrov", + "add-filter": "Dodaj filter", + "add-complex-filter": "Dodaj sestavljeni filter", + "add-complex": "Dodaj sestavljeni filter", + "complex-filter": "Sestavljeni filter", + "edit-complex-filter": "Uredi sestavljeni filter", + "edit-filter-user-params": "Uredi uporabniške parametre predikata filtra", + "filter-user-params": "Uporabniški parametri predikata filtra", + "user-parameters": "Uporabniški parametri", + "display-label": "Oznaka za prikaz", + "custom-label": "Oznaka po meri", + "custom-label-hint": "Omogočite, če želite nastaviti lastno oznako filtra. Ko je onemogočeno, se oznaka ustvari samodejno.", + "order-priority": "Vrstni red prikaza", + "key-filter": "Filter ključa", + "key-filters": "Filtri ključev", + "key-name": "Ime ključa", + "key-name-required": "Ime ključa je obvezno.", + "key-type": { + "key-type": "Vrsta ključa", + "attribute": "Atribut", + "timeseries": "Časovna serija", + "entity-field": "Polje entitete", + "constant": "Konstanta", + "client-attribute": "Atribut odjemalca", + "server-attribute": "Atribut strežnika", + "shared-attribute": "Skupni atribut" + }, + "value-type": { + "value-type": "Vrsta vrednosti", + "string": "Niz", + "numeric": "Številska", + "boolean": "Logična", + "date-time": "Datum in čas" + }, + "value-type-required": "Vrsta vrednosti ključa je obvezna.", + "key-value-type-change-title": "Ali ste prepričani, da želite spremeniti vrsto vrednosti ključa?", + "key-value-type-change-message": "Če potrdite novo vrsto vrednosti, bodo vsi vneseni filtri ključev odstranjeni.", + "no-key-filters": "Ni konfiguriranih filtrov ključev", + "add-key-filter": "Dodaj filter ključa", + "remove-key-filter": "Odstrani filter ključa", + "edit-key-filter": "Uredi filter ključa", + "date": "Datum", + "time": "Čas", + "current-tenant": "Trenutni najemnik", + "current-customer": "Trenutna stranka", + "current-user": "Trenutni uporabnik", + "current-device": "Trenutna naprava", + "default-value": "Privzeta vrednost", + "default-comma-separated-values": "Privzete vrednosti, ločene z vejicami", + "dynamic-source-type": "Vrsta dinamičnega vira", + "dynamic-value": "Dinamična vrednost", + "no-dynamic-value": "Ni dinamične vrednosti", + "source-attribute": "Izvorni atribut", + "switch-to-dynamic-value": "Preklopi na dinamično vrednost", + "switch-to-default-value": "Preklopi na privzeto vrednost", + "inherit-owner": "Podeduj od lastnika", + "source-attribute-not-set": "Če izvorni atribut ni nastavljen", + "unit": "Enota" + }, + "fullscreen": { + "expand": "Razširi na celoten zaslon", + "exit": "Zapusti celozaslonski način", + "toggle": "Preklopi celozaslonski način", + "fullscreen": "Celozaslonski prikaz" + }, + "function": { + "function": "Funkcija" + }, + "gateway": { + "gateway-name": "Ime prehoda", + "gateway-name-required": "Ime prehoda je obvezno.", + "gateways": "Prehodi", + "create-new-gateway": "Ustvari nov prehod", + "create-new-gateway-text": "Ali ste prepričani, da želite ustvariti nov prehod z imenom »{{gatewayName}}«?", + "launch-command": "Ukaz za zagon", + "no-gateway-found": "Ni najdenega prehoda.", + "no-gateway-matching": " Prehoda »{{item}}« ni mogoče najti." + }, + "grid": { + "delete-item-title": "Ali ste prepričani, da želite izbrisati ta element?", + "delete-item-text": "Pozor! Ko potrdite, tega elementa in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-items-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# element} two {# elementa} few {# elemente} other {# elementov} }?", + "delete-items-action-title": "Izbriši { count, plural, one {# element} two {# elementa} few {# elemente} other {# elementov} }", + "delete-items-text": "Pozor! Ko potrdite, bodo vsi izbrani elementi odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "add-item-text": "Dodaj nov element", + "no-items-text": "Ni najdenih elementov", + "item-details": "Podrobnosti elementa", + "delete-item": "Izbriši element", + "delete-items": "Izbriši elemente", + "scroll-to-top": "Pomakni na vrh" + }, + "help": { + "goto-help-page": "Pojdi na stran za pomoč", + "show-help": "Prikaži pomoč" + }, + "home": { + "home": "Domov", + "profile": "Profil", + "logout": "Odjava", + "menu": "Meni", + "avatar": "Avatar", + "open-user-menu": "Odpri uporabniški meni" + }, + "file-input": { + "browse-file": "Prebrskaj datoteko", + "browse-files": "Prebrskaj datoteke" + }, + "image": { + "gallery": "Galerija slik", + "search": "Iskanje slik", + "selected-images": "Izbrano: { count, plural, one {# slika} two {# sliki} few {# slike} other {# slik} }", + "created-time": "Čas ustvarjanja", + "name": "Ime", + "name-required": "Ime je obvezno.", + "resolution": "Ločljivost", + "size": "Velikost", + "system": "Sistemska", + "download-image": "Prenesi sliko", + "export-image": "Izvozi sliko v JSON", + "import-image": "Uvozi sliko iz JSON", + "upload-image": "Naloži sliko", + "edit-image": "Uredi sliko", + "image-details": "Podrobnosti slike", + "no-images": "Ni najdenih slik", + "delete-image": "Izbriši sliko", + "delete-image-title": "Ali ste prepričani, da želite izbrisati sliko »{{imageTitle}}«?", + "delete-image-text": "Pozor! Ko potrdite, slike ne bo več mogoče obnoviti.", + "delete-images-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# sliko} two {# sliki} few {# slike} other {# slik} }?", + "delete-images-text": "Pozor! Ko potrdite, bodo vse izbrane slike odstranjene, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "list-mode": "Seznamski pogled", + "grid-mode": "Mrežni pogled", + "image-preview": "Predogled slike", + "update-image": "Posodobi sliko", + "export-failed-error": "Slike ni mogoče izvoziti: {{error}}", + "image-json-file": "Datoteka JSON slike", + "invalid-image-json-file-error": "Slike ni mogoče uvoziti iz JSON: neveljavna podatkovna struktura JSON slike.", + "image-is-in-use": "Sliko uporabljajo druge entitete", + "images-are-in-use": "Slike uporabljajo druge entitete", + "image-is-in-use-text": "Slika »{{title}}« ni bila izbrisana, ker jo uporabljajo naslednje entitete:", + "images-are-in-use-text": "Nekatere slike niso bile izbrisane, ker jih uporabljajo druge entitete.
    Entitete, ki uporabljajo sliko, si lahko ogledate s klikom na gumb Reference v ustrezni vrstici slike.
    Če vseeno želite izbrisati te slike, jih izberite v spodnji tabeli in kliknite gumb Izbriši izbrane.", + "delete-image-in-use-text": "Če vseeno želite izbrisati sliko, kliknite gumb Izbriši vseeno.", + "system-entities": "Sistemske entitete:", + "entities": "entitete:", + "references": "Reference", + "include-system-images": "Vključi sistemske slike", + "clear-image": "Počisti sliko", + "no-image": "Ni slike", + "no-image-selected": "Ni izbrane slike", + "browse-from-gallery": "Izberi iz galerije", + "set-link": "Nastavi povezavo", + "image-link": "Povezava do slike", + "link": "Povezava", + "copy-image-link": "Kopiraj povezavo do slike", + "embed-image": "Vdelaj sliko", + "embed-to-html": "Vdelaj v HTML", + "embed-to-html-hint": "Ta funkcija bo povezavo naredila dostopno vsem nepooblaščenim uporabnikom.", + "embed-to-html-text": "Z naslednjim odlomkom kode lahko sliko vdelate v komponente, ki temeljijo na navadnem HTML-ju.
    Takšne komponente vključujejo gradnike kartic HTML, funkcije vsebine celic itd.", + "embed-to-angular-template": "Vdelaj v predlogo HTML Angular", + "embed-to-angular-template-text": "Z naslednjim odlomkom kode lahko sliko vdelate v predlogo HTML Angular, ki bo uporabljena za komponente.
    Takšne komponente vključujejo gradnik Markdown, razdelek HTML v urejevalniku gradnikov, dejanja po meri itd." + }, + "image-input": { + "drop-images-or": "Povlecite in spustite slike ali", + "drag-and-drop": "Povlecite in spustite", + "or": "ali", + "browse": "Prebrskaj", + "no-images": "Ni izbranih slik", + "images": "Slike" + }, + "import": { + "no-file": "Ni izbrane datoteke", + "drop-file": "Spustite datoteko JSON ali kliknite, da izberete datoteko za nalaganje.", + "drop-json-file-or": "Povlecite in spustite datoteko JSON ali", + "drop-file-csv": "Spustite datoteko CSV ali kliknite, da izberete datoteko za nalaganje.", + "drop-file-csv-or": "Povlecite in spustite datoteko CSV ali", + "column-value": "Vrednost", + "column-title": "Naslov", + "column-example": "Primer podatkovne vrednosti", + "column-key": "Ključ atributa/telemetrije", + "credentials": "Poverilnice", + "csv-delimiter": "Ločilo CSV", + "csv-first-line-header": "Prva vrstica vsebuje imena stolpcev", + "csv-update-data": "Posodobi atribute/telemetrijo", + "details": "Podrobnosti", + "import-csv-number-columns-error": "Datoteka mora vsebovati vsaj dva stolpca", + "import-csv-invalid-format-error": "Neveljavna oblika datoteke. Vrstica: »{{line}}«", + "column-type": { + "name": "Ime", + "type": "Vrsta", + "label": "Oznaka", + "column-type": "Vrsta stolpca", + "client-attribute": "Atribut odjemalca", + "shared-attribute": "Skupni atribut", + "server-attribute": "Atribut strežnika", + "timeseries": "Časovna serija", + "entity-field": "Polje entitete", + "access-token": "Žeton za dostop", + "x509": "X.509", + "mqtt": { + "client-id": "ID odjemalca MQTT", + "user-name": "Uporabniško ime MQTT", + "password": "Geslo MQTT" + }, + "lwm2m": { + "client-endpoint": "Ime končne točke odjemalca LwM2M", + "security-config-mode": "Način varnostne konfiguracije LwM2M", + "client-identity": "Identiteta odjemalca LwM2M", + "client-key": "Ključ odjemalca LwM2M", + "client-cert": "Javni ključ odjemalca LwM2M", + "bootstrap-server-security-mode": "Varnostni način strežnika Bootstrap LwM2M", + "bootstrap-server-secret-key": "Skrivni ključ strežnika Bootstrap LwM2M", + "bootstrap-server-public-key-id": "Javni ključ ali ID strežnika Bootstrap LwM2M", + "lwm2m-server-security-mode": "Varnostni način strežnika LwM2M", + "lwm2m-server-secret-key": "Skrivni ključ strežnika LwM2M", + "lwm2m-server-public-key-id": "Javni ključ ali ID strežnika LwM2M" + }, + "snmp": { + "host": "Gostitelj SNMP", + "port": "Vrata SNMP", + "version": "Različica SNMP (v1, v2c ali v3)", + "community-string": "Niz skupnosti SNMP" + }, + "isgateway": "Je prehod", + "activity-time-from-gateway-device": "Čas aktivnosti iz naprave prehoda", + "description": "Opis", + "routing-key": "Ključ Edge-a", + "secret": "Skrivnost Edge-a" + }, + "stepper-text":{ + "select-file": "Izberite datoteko", + "configuration": "Konfiguracija uvoza", + "column-type": "Izberite vrsto stolpcev", + "creat-entities": "Ustvarjanje novih entitet" + }, + "message": { + "create-entities": "Število uspešno ustvarjenih novih entitet: {{count}}.", + "update-entities": "Število uspešno posodobljenih entitet: {{count}}.", + "error-entities": "Število entitet, pri katerih je ustvarjanje spodletelo: {{count}}." + } + }, + "scada": { + "symbols": "Simboli SCADA", + "search": "Iskanje simbolov", + "selected-symbols": "Izbrano: { count, plural, one {# simbol} two {# simbola} few {# simboli} other {# simbolov} }", + "download-symbol": "Prenesi simbol SCADA", + "export-symbol": "Izvozi simbol SCADA v JSON", + "import-symbol": "Uvozi simbol SCADA iz JSON", + "upload-symbol": "Naloži simbol SCADA", + "update-symbol": "Posodobi simbol SCADA", + "edit-symbol": "Uredi simbol SCADA", + "symbol-details": "Podrobnosti simbola SCADA", + "mode-svg": "SVG", + "mode-xml": "XML", + "no-symbols": "Ni najdenih simbolov", + "show-hidden-elements": "Prikaži skrite elemente", + "hide-hidden-elements": "Skrij skrite elemente", + "delete-symbol": "Izbriši simbol SCADA", + "delete-symbol-title": "Ali ste prepričani, da želite izbrisati simbol SCADA »{{imageTitle}}«?", + "delete-symbol-text": "Pozor! Ko potrdite, simbola SCADA ne bo več mogoče obnoviti.", + "delete-symbols-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# simbol SCADA} two {# simbola SCADA} few {# simbole SCADA} other {# simbolov SCADA} }?", + "delete-symbols-text": "Pozor! Ko potrdite, bodo vsi izbrani simboli SCADA odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "include-system-symbols": "Vključi sistemske simbole", + "symbol-preview": "Predogled simbola", + "general": "Splošno", + "tags": "Značke", + "properties": "Lastnosti", + "title": "Naslov", + "description": "Opis", + "search-tags": "Iskanje značk", + "widget-size": "Velikost gradnika", + "cols": "stolpci", + "rows": "vrstice", + "state-render-function": "Funkcija izrisa stanja", + "preview": "Predogled", + "preview-widget-action-text": "Dejanje gradnika »{{type}}« je bilo uspešno sproženo!", + "no-symbol": "Ni simbola SCADA", + "no-symbol-selected": "Ni izbranega simbola SCADA", + "clear-symbol": "Počisti simbol SCADA", + "browse-symbol-from-gallery": "Izberi simbol SCADA iz galerije", + "zoom-in": "Povečaj", + "zoom-out": "Pomanjšaj", + "create-widget": "Ustvari gradnik", + "create-widget-from-symbol": "Ustvari gradnik iz simbola SCADA", + "hidden": "skrito", + "tag": { + "tag": "Značka", + "on-click-action": "Dejanje ob kliku", + "no-tags": "Ni konfiguriranih značk", + "delete-tag-text": "Ali ste prepričani, da želite izbrisati značko
    {{tag}} iz elementa {{elementType}}?", + "update-tag": "Posodobi značko", + "enter-tag": "Vnesite značko", + "tag-settings": "Nastavitve značke", + "remove-tag": "Odstrani značko", + "add-tag": "Dodaj značko" + }, + "behavior": { + "behavior": "Vedenje", + "id": "ID", + "name": "Ime", + "type": "Vrsta", + "no-behaviors": "Ni konfiguriranih vedenj", + "add-behavior": "Dodaj vedenje", + "type-action": "Dejanje", + "type-value": "Vrednost", + "type-widget-action": "Dejanje gradnika", + "behavior-settings": "Nastavitve vedenja", + "remove-behavior": "Odstrani vedenje", + "hint": "Namig", + "group-title": "Naslov skupine", + "value-type": "Vrsta vrednosti", + "default-value": "Privzeta vrednost", + "true-label": "Oznaka za resnično", + "false-label": "Oznaka za neresnično", + "state-label": "Oznaka stanja", + "default-payload": "Privzeta vsebina sporočila", + "not-unique-behavior-ids-error": "ID-ji vedenj morajo biti enolični!", + "default-settings": "Privzete nastavitve" + }, + "symbol": { + "symbol": "Simbol SCADA", + "fluid-presence": "Prisotnost fluida", + "fluid-presence-hint": "Označuje, ali je fluid prisoten v cevi.", + "fluid-present": "Fluid je prisoten", + "present": "Prisoten", + "absent": "Odsoten", + "flow-presence": "Prisotnost pretoka", + "flow-presence-hint": "Označuje, ali fluid teče v cevi.", + "flow-present": "Pretok je prisoten", + "flow-direction": "Smer pretoka", + "flow-direction-hint": "Označuje smer pretoka fluida.", + "forward": "Naprej", + "reverse": "Obratno", + "flow-animation-speed": "Hitrost animacije pretoka", + "flow-animation-speed-hint": "Decimalna vrednost, ki označuje hitrost animacije pretoka. 1 - normalna hitrost, 0 - brez animacije, < 1 - počasnejša animacija, > 1 - hitrejša animacija.", + "leak": "Puščanje", + "leak-hint": "Označuje, ali je v cevi prisotno puščanje.", + "leak-present": "Puščanje je prisotno", + "fluid-color": "Barva fluida", + "pipe-color": "Barva cevi", + "horizontal-pipe": "Vodoravna cev", + "vertical-pipe": "Navpična cev", + "horizontal-fluid-color": "Barva fluida v vodoravni cevi", + "vertical-fluid-color": "Barva fluida v navpični cevi", + "left-pipe": "Leva cev", + "right-pipe": "Desna cev", + "top-pipe": "Zgornja cev", + "bottom-pipe": "Spodnja cev", + "left-fluid-color": "Barva fluida v levi cevi", + "right-fluid-color": "Barva fluida v desni cevi", + "top-fluid-color": "Barva fluida v zgornji cevi", + "bottom-fluid-color": "Barva fluida v spodnji cevi", + "display": "Prikaz", + "display-format": "Oblika prikaza", + "value": "Vrednost", + "decimals": "Decimalna mesta", + "units": "Enote", + "flow-meter-value-hint": "Decimalna vrednost, prikazana na zaslonu merilnika pretoka", + "value-hint": "Decimalna vrednost, ki označuje trenutno vrednost", + "running": "Deluje", + "running-hint": "Označuje, ali komponenta deluje.", + "warning-state": "Opozorilno stanje", + "warning": "Opozorilo", + "warning-click": "Klik ob opozorilu", + "warning-state-hint": "Označuje, ali je komponenta v opozorilnem stanju.", + "critical-state": "Kritično stanje", + "critical": "Kritično", + "critical-click": "Klik ob kritičnem stanju", + "critical-state-hint": "Označuje, ali je komponenta v kritičnem stanju.", + "critical-state-animation": "Animacija kritičnega stanja", + "critical-state-animation-hint": "Določa, ali naj se omogoči utripajoča animacija, ko je komponenta v kritičnem stanju.", + "warning-critical-state-animation": "Animacija opozorilnega/kritičnega stanja", + "warning-critical-state-animation-hint": "Določa, ali naj se omogoči utripajoča animacija, ko je komponenta v opozorilnem ali kritičnem stanju.", + "animation": "Animacija", + "broken": "Okvarjeno", + "broken-hint": "Označuje, ali je komponenta okvarjena.", + "on-display-click": "Ob kliku na zaslon", + "on-display-click-hint": "Dejanje, ki se sproži, ko uporabnik klikne zaslon.", + "pipe": "Cev", + "default-border-color": "Barva privzete obrobe", + "active-border-color": "Barva aktivne obrobe", + "warning-border-color": "Barva opozorilne obrobe", + "critical-border-color": "Barva kritične obrobe", + "background-color": "Barva ozadja", + "rotation-animation-speed": "Hitrost animacije vrtenja", + "rotation-animation-speed-hint": "Decimalna vrednost, ki označuje hitrost animacije vrtenja. 1 - normalna hitrost, 0 - brez animacije, < 1 - počasnejša animacija, > 1 - hitrejša animacija.", + "on-click": "Ob kliku", + "on-click-hint": "Dejanje, ki se sproži, ko uporabnik klikne komponento.", + "connectors-positions": "Položaji priključkov", + "right-connector": "Desni priključek", + "right-top-connector": "Desni zgornji priključek", + "right-bottom-connector": "Desni spodnji priključek", + "left-connector": "Levi priključek", + "left-top-connector": "Levi zgornji priključek", + "left-bottom-connector": "Levi spodnji priključek", + "top-left-connector": "Zgornji levi priključek", + "top-right-connector": "Zgornji desni priključek", + "top-connector": "Zgornji priključek", + "bottom-connector": "Spodnji priključek", + "running-color": "Barva delujočega stanja", + "stopped-color": "Barva ustavljenega stanja", + "stopped": "Ustavljeno", + "warning-color": "Barva opozorila", + "critical-color": "Barva kritičnega stanja", + "opened": "Odprto", + "opened-hint": "Označuje, ali je komponenta v odprtem stanju.", + "open": "Odpri", + "open-hint": "Dejanje, ki se sproži, ko uporabnik klikne za odprtje komponente.", + "close": "Zapri", + "close-hint": "Dejanje, ki se sproži, ko uporabnik klikne za zaprtje komponente.", + "close-state-animation": "Animacija zaprtega stanja", + "close-state-animation-hint": "Določa, ali naj se omogoči utripajoča animacija, ko je komponenta v zaprtem stanju.", + "opened-color": "Barva odprtega stanja", + "closed-color": "Barva zaprtega stanja", + "opened-rotation-angle": "Kot vrtenja v odprtem stanju", + "closed-rotation-angle": "Kot vrtenja v zaprtem stanju", + "tank-capacity": "Zmogljivost rezervoarja", + "tank-capacity-hint": "Decimalna vrednost, ki označuje skupno zmogljivost rezervoarja.", + "current-volume": "Trenutna prostornina", + "current-volume-hint": "Decimalna vrednost, ki označuje trenutno zasedeno prostornino.", + "tank-color": "Barva rezervoarja", + "value-box": "Polje vrednosti", + "value-text": "Besedilo vrednosti", + "scale": "Skala", + "transparent-mode": "Prosojni način", + "major-ticks": "Glavni razdelki", + "intervals": "Intervali", + "major-ticks-color": "Barva glavnih razdelkov", + "normal": "Normalno", + "minor-ticks": "Pomožni razdelki", + "minor-ticks-color": "Barva pomožnih razdelkov", + "temperature": "Temperatura", + "temperature-hint": "Decimalna vrednost, ki označuje trenutno temperaturo.", + "update-temperature": "Posodobi temperaturo", + "update-temperature-hint": "Dejanje, ki se sproži, ko uporabnik klikne za spremembo trenutne temperature.", + "run": "Zaženi", + "run-hint": "Dejanje, ki se sproži, ko uporabnik klikne za zagon komponente.", + "stop": "Ustavi", + "stop-hint": "Dejanje, ki se sproži, ko uporabnik klikne za ustavitev komponente.", + "temperature-step": "Korak povečanja temperature", + "heat-pump-color": "Barva toplotne črpalke", + "power-button-background": "Ozadje gumba za vklop/izklop", + "value-box-background": "Ozadje polja vrednosti", + "value-units": "Enote vrednosti", + "enable-units-scale": "Omogoči enote na skali", + "filtration-mode": "Način filtracije", + "filtration-mode-hint": "Celoštevilska vrednost, ki označuje trenutni način filtracije.", + "filtration-mode-update": "Posodobitev načina filtracije", + "filtration-mode-update-hint": "Dejanje, ki se sproži, ko uporabnik klikne za spremembo trenutnega načina filtracije.", + "filter-mode": "Filtriranje", + "waste-mode": "Praznjenje", + "backwash-mode": "Povratno izpiranje", + "recirculate-mode": "Recirkulacija", + "rinse-mode": "Izpiranje", + "closed-mode": "Zaprto", + "sand-filter-color": "Barva peščenega filtra", + "mode-box-background": "Ozadje polja načina", + "border-color": "Barva obrobe", + "label-color": "Barva oznake", + "water-leak-hint": "Označuje, ali je prisotno puščanje vode.", + "default-color": "Privzeta barva", + "leak-color": "Barva puščanja", + "full-value": "Največja vrednost", + "full-value-hint": "Decimalna vrednost, ki označuje največjo vrednost.", + "label": "Oznaka", + "icon": "Ikona", + "button-color": "Barva gumba", + "on-label": "Besedilo oznake »Vklop«", + "off-label": "Besedilo oznake »Izklop«", + "arrow-presence": "Prisotnost puščice", + "arrow-presence-hint": "Označuje, ali je v priključku prisotna puščica.", + "arrow-present": "Puščica je prisotna", + "arrow-direction": "Smer puščice/animacije", + "arrow-direction-hint": "Označuje smer puščice oziroma animacije pretoka.", + "flow-animation": "Animacija pretoka", + "flow-animation-hint": "Označuje, ali fluid teče v priključku.", + "flow": "Pretok", + "flow-line": "Črta", + "flow-line-style": "Slog črte", + "flow-style-hint": "Vrednosti črtice in vrzeli nastavite tako, da je njuna vsota brez ostanka deljiva s 100. Tako bo animacija popolnoma sinhronizirana.", + "flow-dash-cap": "Zaključek črtice pretoka", + "dash-cap-butt": "Ravno", + "dash-cap-round": "Zaobljeno", + "dash-cap-square": "Kvadratno", + "dash": "Črtica", + "gap": "Vrzel", + "main-line": "Glavna črta", + "line": "Črta", + "line-color": "Barva črte", + "arrow-color": "Barva puščice", + "target-value": "Ciljna vrednost", + "target-value-hint": "Označuje ciljno točko na skali.", + "min-max-value": "Najmanjša in največja vrednost", + "min-value": "Min.", + "max-value": "Maks.", + "progress-bar": "Vrstica napredka", + "progress-arrow": "Puščica napredka", + "warning-scale-color": "Barva opozorilne skale", + "critical-scale-color": "Barva kritične skale", + "scale-color": "Barva skale", + "target": "Cilj", + "high-warning-state": "Stanje visokega opozorila", + "show-high-warning-scale": "Prikaži skalo visokega opozorila", + "high-warning-scale": "Skala visokega opozorila", + "high-warning-state-hint": "Decimalna vrednost označuje območje visokega opozorila do visoke kritične ali največje vrednosti.", + "low-warning-state": "Stanje nizkega opozorila", + "show-low-warning-scale": "Prikaži skalo nizkega opozorila", + "low-warning-scale": "Skala nizkega opozorila", + "low-warning-state-hint": "Decimalna vrednost označuje območje nizkega opozorila do nizke kritične ali najmanjše vrednosti.", + "high-critical-state": "Stanje visoke kritične vrednosti", + "show-high-critical-scale": "Prikaži skalo visoke kritične vrednosti", + "high-critical-scale": "Skala visoke kritične vrednosti", + "high-critical-state-hint": "Decimalna vrednost označuje visoko kritično območje do največje vrednosti skale.", + "low-critical-state": "Stanje nizke kritične vrednosti", + "show-low-critical-scale": "Prikaži skalo nizke kritične vrednosti", + "low-critical-scale": "Skala nizke kritične vrednosti", + "low-critical-state-hint": "Decimalna vrednost označuje nizko kritično območje do najmanjše vrednosti skale.", + "filter-color": "Barva filtra", + "colors": "Barve", + "indicator-colors": "Barve indikatorjev", + "enabled": "Omogočeno", + "disabled": "Onemogočeno", + "on": "VKLOP", + "off": "IZKLOP", + "on-off-state": "Stanje vklopa/izklopa", + "on-off-state-hint": "Označuje, ali je komponenta v stanju vklopa ali izklopa.", + "on-update-state": "Posodobitev stanja na vklop", + "on-update-state-hint": "Dejanje, ki se sproži, ko uporabnik klikne za posodobitev stanja na vklop.", + "off-update-state": "Posodobitev stanja na izklop", + "off-update-state-hint": "Dejanje, ki se sproži, ko uporabnik klikne za posodobitev stanja na izklop.", + "voltage": "Napetost", + "input-voltage": "Vhodna napetost", + "input-voltage-hint": "Decimalna vrednost, ki označuje vhodno napetost.", + "output-voltage": "Izhodna napetost", + "output-voltage-hint": "Decimalna vrednost, ki označuje izhodno napetost.", + "first-phase-voltage": "Napetost prve faze", + "second-phase-voltage": "Napetost druge faze", + "third-phase-voltage": "Napetost tretje faze", + "phase-voltage-hint": "Decimalna vrednost, ki označuje napetost posamezne faze", + "voltage-hint": "Decimalna vrednost, ki označuje trenutno napetost", + "current-voltage-color": "Barva trenutne napetosti", + "phase-indicator-color": "Barva indikatorja faze", + "measured": "Izmerjeno", + "measured-hint": "Decimalna vrednost, ki označuje porabo energije v kilovatnih urah", + "day-rate": "Dnevna tarifa", + "night-rate": "Nočna tarifa", + "off-peak-rate": "Nižja tarifa", + "peak-rate": "Višja tarifa", + "export-rate": "Izvozna tarifa", + "operating-mode": "Način delovanja", + "bypass-mode": "Obvod", + "operating-mode-hint": "Celoštevilska vrednost, ki označuje trenutni način delovanja (0 - IZKLOP, 1 - VKLOP, 2 - OBVOD)", + "connected": "Povezano", + "connected-hint": "Označuje, ali je komponenta povezana.", + "disconnected": "Nepovezano", + "indicator": "Indikator", + "operation-mode": "Način delovanja", + "operation-mode-hint": "Označuje, ali je razsmernik v omrežnem načinu ali načinu razsmernika.", + "operation-mode-indicators-color": "Barva indikatorjev načina delovanja", + "mains-on-mode": "Omrežje vklopljeno", + "inverter-on-mode": "Razsmernik vklopljen", + "charging-mode": "Način polnjenja", + "charging-mode-hint": "Celoštevilska vrednost, ki označuje trenutni način polnjenja (1 - glavno polnjenje, 2 - absorpcijsko polnjenje, 3 - vzdrževalno polnjenje)", + "charging-mode-indicators-color": "Barva indikatorjev načina polnjenja", + "inverter-faults": "Napake", + "inverter-fault-indicators-color": "Barva indikatorjev napak", + "overload-fault": "Preobremenitev", + "overload-fault-hint": "Označuje, ali je razsmernik v stanju preobremenitve.", + "low-battery-fault": "Nizka napolnjenost baterije", + "low-battery-fault-hint": "Označuje, ali je baterija čezmerno izpraznjena.", + "temperature-fault": "Temperatura", + "temperature-fault-hint": "Označuje, ali je temperatura v razsmerniku previsoka.", + "triangle": "Trikotnik", + "socket": "Vtičnica", + "left-button": "Levi gumb", + "right-button": "Desni gumb", + "alarm-colors": "Barve alarmov", + "hook-color": "Barva kavlja" + } + }, + "item": { + "type-widget": "Gradnik", + "type-widget-plural": "Gradniki", + "type-solution-template": "Predloga rešitve", + "type-solution-template-plural": "Predloge rešitev", + "type-calculated-field": "Izračunano polje", + "type-calculated-field-plural": "Izračunana polja", + "type-alarm-rule": "Pravilo za alarm", + "type-alarm-rule-plural": "Pravila za alarme", + "type-rule-chain": "Veriga pravil", + "type-rule-chain-plural": "Verige pravil", + "type-device": "Naprava", + "type-device-plural": "Naprave" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "Ustvari naključno vrednost", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "Odkrijte vsebine, pripravljene za uporabo:", + "and-devices": "in naprave", + "search-placeholder": "Iskanje v IoT Hubu...", + "search": "Iskanje...", + "search-published-items": "Iskanje objavljenih elementov...", + "see-all-results": "Prikaži vse rezultate", + "see-all-results-for": "Prikaži vse rezultate za »{{ search }}« ({{ count }})", + "see-results-for": "Prikaži rezultate za »{{ search }}«", + "no-search-results": "Ni rezultatov za »{{ search }}«", + "no-items-available": "Ni razpoložljivih elementov", + "search-results": "Rezultati iskanja", + "search-results-for": "Rezultati iskanja za ", + "try-adjusting-search": "Poskusite prilagoditi iskanje", + "add-widget-from-iot-hub": "Dodaj gradnik iz IoT Huba", + "all-widgets": "Vsi gradniki", + "all-iot-hub-widgets": "Vsi gradniki IoT Huba", + "installed-from-iot-hub": "Nameščeno iz IoT Huba", + "item-link-unavailable": "Element ni na voljo", + "include-deprecated": "Vključi zastarele", + "widget-category-value": "Gradniki: {{ category }}", + "search-categories": "Iskanje kategorij...", + "search-in-category": "Iskanje gradnikov...", + "search-bundles": "Iskanje paketov gradnikov...", + "search-widgets": "Iskanje gradnikov...", + "add-item-from-iot-hub": "Dodaj iz IoT Huba: {{ type }}", + "add-from-iot-hub": "Dodaj iz IoT Huba", + "filters": "Filtri", + "type": "Vrsta", + "items-per-page": "Elementov na stran", + "filter": "Filter", + "clear-filters": "Počisti filtre", + "available": "na voljo", + "items-page-desc-widgets": "Pospešite razvoj rešitev IoT s predhodno konfiguriranimi gradniki, prilagojenimi vaši panogi. Preverjene arhitekture uvedite takoj, energijo pa usmerite v tisto, kar šteje: vašo edinstveno poslovno logiko.", + "items-page-desc-solution-templates": "Celoviti paketi rešitev IoT z nadzornimi ploščami, verigami pravil in konfiguracijami naprav. Začnite s preverjenimi arhitekturami.", + "items-page-desc-calculated-fields": "Uporabite predhodno konfigurirana izračunana polja za samodejno izračunavanje zapletenih metrik, kot sta učinkovitost porabe goriva ali faktor moči. Preskočite ročno pisanje logike in ohranite nadzorne plošče pregledne in uporabne.", + "items-page-desc-alarm-rules": "Uporabite vnaprej pripravljene predloge pravil za alarme za zaznavanje kritičnih stanj, kot so nizka raven baterije, prekoračitve pragov ali prekinjena povezava naprav. Preskočite pisanje logike pravil in se na incidente odzovite takoj, ko se zgodijo.", + "items-page-desc-rule-chains": "Od zahtevne obdelave podatkov do brezhibnih integracij API: predloge verig pravil so arhitekturni temelj, ki ga potrebujete za rast, ne da bi morali začeti iz nič.", + "items-page-desc-devices": "Raziščite knjižnico naprav in poiščite predhodno konfigurirane predloge povezljivosti, ki jih lahko v nekaj minutah uvedete in z njimi takoj povežete strojno opremo.", + "device-library": "Knjižnica naprav", + "most-popular-in-iot-hub": "Najbolj priljubljeno v IoT Hubu", + "pe-required-title": "Ni na voljo v vaši različici", + "pe-required-message": "Ta element zahteva ThingsBoard 4.4 ali novejšo različico in v vaši trenutni različici ni na voljo.

    Če je vaša namestitev delovala že pred 29. septembrom 2026, vam Community Grant Program omogoča brezplačno nadgradnjo ob ohranitvi trenutnega obsega.", + "view-upgrade-options": "Prikaži možnosti nadgradnje", + "upgrade-required-title": "Zahtevana je nadgradnja platforme ThingsBoard", + "upgrade-required-message": "Ta element zahteva ThingsBoard {{minVersion}} ali novejšo različico. Trenutno uporabljate {{currentVersion}}. Za namestitev elementa nadgradite ThingsBoard.", + "upgrade-instance": "Nadgradi namestitev", + "become-creator-text": "Oddajte predloge v ThingsBoard IoT Hub, da bodo izpostavljene, svoje rešitve pa predstavite naši svetovni skupnosti.", + "contribute": "Prispevaj", + "creator-profile": "Profil ustvarjalca", + "title-widgets": "Gradniki", + "title-calculated-fields": "Izračunana polja", + "title-alarm-rules": "Pravila za alarme", + "title-rule-chains": "Verige pravil", + "title-devices": "Naprave", + "title-solution-templates": "Predloge rešitev", + "subtitle-widgets": "Prebrskajte gradnike skupnosti za nadzorne plošče", + "subtitle-solution-templates": "Prebrskajte celovite pakete rešitev IoT", + "subtitle-calculated-fields": "Prebrskajte predloge izračunanih polj", + "subtitle-alarm-rules": "Prebrskajte predloge pravil za alarme", + "subtitle-rule-chains": "Prebrskajte predloge verig pravil", + "subtitle-devices": "Prebrskajte konfiguracije naprav", + "search-solution-templates": "Iskanje predlog rešitev...", + "search-calculated-fields": "Iskanje izračunanih polj...", + "search-alarm-rules": "Iskanje pravil za alarme...", + "search-rule-chains": "Iskanje verig pravil...", + "search-devices": "Iskanje naprav...", + "sort-most-relevant": "Najustreznejše", + "sort-most-installed": "Največkrat nameščeno", + "sort-newest": "Najnovejše", + "sort-name": "Ime (A–Ž)", + "type-filter-label": "Vrsta", + "verified-creators-only": "Samo preverjeni ustvarjalci", + "category": "Kategorija", + "use-case": "Primer uporabe", + "vendor": "Proizvajalec", + "view-setup-guide": "Prikaži navodila za nastavitev", + "hardware-type": "Vrsta strojne opreme", + "connectivity": "Povezljivost", + "clear-all-filters": "Počisti vse filtre", + "clear-all": "Počisti vse", + "results-count": "Rezultatov: {{count}}", + "unable-to-load": "Nalaganje ni uspelo", + "unable-to-load-text": "Pri nalaganju elementov je prišlo do težave. Poskusite znova.", + "network-server-unavailable": "Omrežje ali strežnik ni na voljo", + "network-server-unavailable-text": "Kataloga ni bilo mogoče doseči. Poskusite znova čez trenutek.", + "try-again": "Poskusi znova", + "retry": "Poskusi znova", + "no-items-found": "Ni najdenih elementov", + "no-items-found-text": "Poskusite prilagoditi iskanje ali filtre.", + "no-widgets-found": "Ni najdenih gradnikov", + "browse-tip-prefix": "Ne najdete, kar iščete?", + "browse-tip-link": "Prebrskajte IoT Hub", + "browse-tip-suffix": "za več gradnikov.", + "creator": "Ustvarjalec", + "manage": "Upravljaj", + "details": "Podrobnosti", + "become-a-creator": "Postanite ustvarjalec", + "back-to-iot-hub": "Nazaj na IoT Hub", + "verified-creator": "Preverjen ustvarjalec", + "published-items": "Objavljeni elementi", + "by-creator": "avtor: {{name}}", + "installs": "namestitev", + "more": "več", + "categories": "Kategorije", + "use-cases": "Primeri uporabe", + "changelog": "Dnevnik sprememb", + "created-by": "Avtor: {{name}}", + "install-confirm": "Želite namestiti {{name}} v{{version}}?", + "install-confirm-title": "Želite namestiti »{{name}}«?", + "install-desc": "Namestitev bo samodejno ustvarila in konfigurirala potrebne vire v vašem najemniku", + "install-success-desc": "Element »{{name}}« je uspešno nameščen", + "remove": "Odstrani", + "remove-confirm-title": "Želite odstraniti »{{name}}«?", + "remove-desc": "Z odstranitvijo bodo odstranjeni tudi nameščena entiteta in z njo povezani viri v vašem najemniku", + "remove-desc-solution-template": "Z odstranitvijo te predloge rešitve bodo odstranjene tudi vse ustvarjene entitete, vključno z nadzornimi ploščami, verigami pravil, napravami in drugimi povezanimi viri v vašem najemniku", + "remove-anyway": "Vseeno odstrani", + "select-entity-for-cf": "Izberite entiteto za izračunano polje »{{name}}«", + "select-entity-for-alarm-rule": "Izberite entiteto za pravilo za alarm »{{name}}«", + "rule-chain-install-subtitle": "Namestitev samodejno ustvari verigo pravil v vašem najemniku. Po želji jo nastavite kot privzeto za profil, da bodo sporočila entitet tega profila usmerjena skozi njo.", + "rule-chain-set-as-profile-default-toggle": "Nastavi kot privzeto verigo pravil profila", + "rule-chain-set-as-profile-default-tooltip": "Če je omogočeno, bodo vse entitete izbranega profila usmerjale sporočila skozi to verigo pravil.", + "rule-chain-overwrite-title": "Želite zamenjati obstoječo privzeto verigo pravil?", + "rule-chain-overwrite-body": "Profil {{profile}} trenutno kot privzeto verigo pravil uporablja {{existing}}. Namestitev jo bo zamenjala s to verigo pravil.", + "rule-chain-overwrite-replace": "Zamenjaj", + "install": "Namesti", + "open": "Odpri", + "built-in": "Vgrajeno", + "built-in-lookup-failed-title": "Komponente ni bilo mogoče preveriti", + "built-in-lookup-failed-text": "Ni bilo mogoče preveriti, ali komponenta »{{name}}« v tej namestitvi že obstaja. Nič ni bilo nameščeno — poskusite znova.", + "built-in-missing-title": "Ni na voljo v tej namestitvi", + "built-in-missing-text": "Komponenta »{{name}}« je običajno del platforme ThingsBoard, vendar je v tej namestitvi ni — morda jo je izbrisal sistemski administrator. Namesto tega jo lahko namestite iz IoT Huba.", + "connect": "Poveži", + "connect-device": "Poveži napravo", + "installing": "Nameščanje...", + "installing-title": "Nameščanje »{{name}}«", + "installed": "Nameščeno", + "install-success": "Element {{name}} je uspešno nameščen", + "install-success-title": "Namestitev uspešna", + "install-success-message": "Element »{{name}}« v{{version}} je uspešno nameščen.", + "install-error": "Namestitev elementa {{name}} ni uspela", + "solution-install-title": "Predloga rešitve je uspešno nameščena", + "solution-instructions": "Navodila za rešitev", + "goto-main-dashboard": "Pojdi na glavno nadzorno ploščo", + "install-error-title": "Namestitev ni uspela", + "install-error-message": "Namestitev elementa »{{name}}« ni uspela.", + "install-dependency-error": "Namestitev odvisnosti »{{name}}« ni uspela: {{error}}", + "install-plan-title": "Namestitev elementa »{{name}}« in njegovih odvisnosti", + "install-plan-will-install": "Število elementov za namestitev: {{count}}.", + "install-plan-will-update": "Že nameščeni elementi, ki bodo preskočeni: {{count}}.", + "install-plan-missing-warning": "Število zahtevanih elementov, ki jih ni bilo mogoče najti na tržnici: {{count}}. Element »{{ name }}« brez njih morda ne bo v celoti deloval.", + "install-plan-status-will": "Za namestitev", + "install-plan-status-installed": "Že nameščeno", + "install-plan-status-missing": "Manjka", + "install-plan-confirm": "Namesti", + "install-partial-title": "Nameščeno z opozorili", + "install-partial-desc": "Element »{{name}}« je nameščen, vendar nekateri zahtevani elementi manjkajo.", + "install-rollback-partial": "Nekaterih elementov, nameščenih pred napako, ni bilo mogoče samodejno odstraniti, zato jih boste morda morali izbrisati ročno.", + "check-for-updates": "Preveri posodobitve", + "updates": "Posodobitve", + "up-to-date": "Posodobljeno", + "update": "Posodobi", + "update-to-version": "Posodobi na v {{ version }}", + "update-item-title": "Posodobi element", + "update-confirm": "Želite posodobiti »{{name}}« na različico {{version}}?", + "update-confirm-title": "Želite posodobiti »{{name}}«?", + "update-desc": "Posodobitev bo trenutno različico zamenjala z najnovejšo in znova konfigurirala povezane vire v vašem najemniku", + "update-desc-solution-template": "Ob posodobitvi te predloge rešitve bodo vse entitete, ki jih je ustvarila predloga, vključno z nadzornimi ploščami, verigami pravil, napravami in drugimi povezanimi viri v vašem najemniku, izbrisane in znova ustvarjene. Vse spremembe, ki ste jih naredili v njih, bodo izgubljene", + "update-success-desc": "Element »{{name}}« je uspešno posodobljen", + "updating": "Posodabljanje...", + "update-success-title": "Posodobitev uspešna", + "update-success-message": "Element »{{name}}« je posodobljen na različico {{version}}.", + "entity-modified-title": "Entiteta spremenjena", + "entity-modified-text": "Ta entiteta (vrsta: {{type}}) je bila lokalno spremenjena. Ali jo kljub temu želite posodobiti?", + "update-error-title": "Posodobitev ni uspela", + "update-error-message": "Posodobitev elementa »{{name}}« ni uspela.", + "update-error": "Posodobitev elementa {{name}} ni uspela", + "most-popular": "Najbolj priljubljeno", + "all": "Vse", + "installed-items": "Nameščeni elementi", + "installed-items-for": "Nameščeni elementi za »{{name}}«", + "search-installed-items": "Iskanje nameščenih elementov...", + "item-name": "Ime", + "item-type": "Vrsta", + "item-version": "Različica", + "installed-date": "Nameščeno", + "no-installed-items": "Ni najdenih nameščenih elementov", + "no-installed-items-text": "Poskusite prilagoditi iskanje ali filtre.", + "remove-installed-item-title": "Odstrani nameščeni element", + "remove-installed-item-text": "Ali ste prepričani, da želite odstraniti »{{name}}«? Odstranjena bo tudi nameščena entiteta.", + "installed-item-removed": "Element »{{name}}« je odstranjen", + "installed-item-remove-error": "Odstranitev elementa »{{name}}« ni uspela", + "open-installed-entity": "Odpri nameščeno entiteto", + "view-item-details": "Prikaži podrobnosti elementa", + "review-device-instructions": "Preglej navodila za napravo", + "open-item-type": "Odpri: {{type}}", + "back-to-marketplace": "Nazaj na tržnico", + "device-install-select-connectivity": "Izberite način povezave za napravo", + "pe-only": "Samo PE", + "pe-connectivity-prompt-title-suffix": "je na voljo samo v ThingsBoard Professional Edition", + "pe-connectivity-prompt-try-pe": "Preizkusi Professional Edition", + "connection-method": "Način povezave", + "step-prerequisites": "Predpogoji", + "step-configuration": "Konfiguracija", + "step-provisioning": "Priprava", + "device-install-step-error": "Ni uspelo", + "device-install-step-pending": "Na čakanju", + "device-install-step-running": "Ustvarjanje...", + "device-install-step-success": "Ustvarjeno", + "device-install-step-type-DASHBOARD": "Nadzorna plošča", + "device-install-step-type-DEVICE": "Naprava", + "device-install-step-type-DEVICE_PROFILE": "Profil naprave", + "device-install-step-type-GATEWAY": "Prehod", + "device-install-step-type-GATEWAY_CONNECTOR": "Povezovalnik prehoda", + "device-install-step-type-RULE_CHAIN": "Veriga pravil", + "device-install-conflict-exists": "{{type}} s tem imenom že obstaja", + "device-install-use-existing": "Uporabi obstoječe", + "device-install-overwrite": "Prepiši", + "device-install-create-copy": "Ustvari kopijo", + "device-install-resolution-created": "Ustvarjeno", + "device-install-resolution-use-existing": "Uporabljeno obstoječe", + "device-install-resolution-overwrite": "Prepisano", + "device-install-resolution-create-copy": "Ustvarjena kopija", + "device-install-title": "Poveži »{{name}}«", + "device-installing-title": "Nameščanje »{{name}}«", + "done": "Končano", + "in-progress": "V teku", + "item-detail": "Element IoT Huba", + "unpublished-warning-title": "Neobjavljena vsebina", + "unpublished-warning-text": "To je predogled neobjavljene vsebine. IoT Hub je ni pregledal. Nameščanje nepreverjene vsebine lahko povzroči varnostna tveganja in tveganja za stabilnost — nadaljujte le, če zaupate ustvarjalcu.", + "unpublished-warning-confirm": "Razumem tveganje, nadaljuj", + "unpublished-preview": "Neobjavljen predogled", + "deep-link-invalid-id": "Neveljavna povezava do elementa IoT Huba.", + "deep-link-not-found": "Ta element IoT Huba ne obstaja ali je bil odstranjen.", + "deep-link-fetch-failed": "Elementa IoT Huba ni bilo mogoče naložiti. Poskusite znova." + }, + "item-data": { + "widget-type-timeseries": "Časovne serije", + "widget-type-latest": "Najnovejše vrednosti", + "widget-type-rpc": "Krmiljenje", + "widget-type-alarm": "Alarm", + "widget-type-static": "Statično", + "cf-type-simple": "Preprost", + "cf-type-script": "Skript", + "cf-type-geofencing": "Geografsko ograjevanje", + "cf-type-alarm": "Alarm", + "cf-type-propagation": "Posredovanje", + "cf-type-related-entities-aggregation": "Združevanje povezanih entitet", + "cf-type-entity-aggregation": "Združevanje podatkov entitete", + "rule-chain-type-core": "Osnovna", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "Obogatitev", + "node-type-filter": "Filter", + "node-type-transformation": "Transformacija", + "node-type-action": "Dejanje", + "node-type-analytics": "Analitika", + "node-type-external": "Zunanje", + "node-type-flow": "Tok", + "node-type-unknown": "Neznano" + }, + "js-func": { + "no-return-error": "Funkcija mora vrniti vrednost!", + "return-type-mismatch": "Funkcija mora vrniti vrednost vrste »{{type}}«!", + "tidy": "Oblikuj", + "mini": "Minificiraj", + "modules": "Moduli", + "remove-module": "Odstrani modul", + "no-modules": "Ni konfiguriranih modulov", + "add-module": "Dodaj modul", + "module-alias": "Vzdevek", + "invalid-module-alias-name": "Neveljavno ime vzdevka", + "module-resource": "Vir modula JS", + "not-unique-module-aliases-error": "Vzdevki modulov morajo biti enolični!", + "show-module-info": "Prikaži informacije o modulu", + "show-module-source-code": "Prikaži izvorno kodo modula", + "module-members": "Člani modula", + "module-no-members": "Modul nima izvoženih članov", + "module-load-error": "Napaka pri nalaganju modula", + "source-code": "Izvorna koda", + "source-code-load-error": "Napaka pri nalaganju izvorne kode", + "no-js-module-text": "Ni najdenih modulov JS", + "no-js-module-matching": "Ni modulov JS, ki bi se ujemali z iskalnim nizom »{{module}}«." + }, + "key-val": { + "key": "Ključ", + "value": "Vrednost", + "remove-entry": "Odstrani vnos", + "add-entry": "Dodaj vnos", + "no-data": "Ni vnosov" + }, + "layout": { + "layout": "Postavitev", + "layouts": "Postavitve", + "manage": "Upravljaj postavitve", + "settings": "Nastavitve postavitve", + "color": "Barva", + "main": "Glavna", + "right": "Desna", + "left": "Leva", + "select": "Izberite ciljno postavitev", + "percentage-width": "Širina v odstotkih (%)", + "fixed-width": "Fiksna širina (px)", + "left-width": "Levi stolpec (%)", + "right-width": "Desni stolpec (%)", + "pick-fixed-side": "Fiksna stran: ", + "layout-fixed-width": "Fiksna širina (px)", + "value-min-error": "Vrednost mora biti večja od {{min}}{{unit}}", + "value-max-error": "Vrednost mora biti manjša od {{max}}{{unit}}", + "layout-fixed-width-required": "Fiksna širina je obvezna", + "right-width-percentage-required": "Odstotek za desno stran je obvezen", + "left-width-percentage-required": "Odstotek za levo stran je obvezen", + "divider": "Ločilnik", + "right-side": "Postavitev desne strani", + "left-side": "Postavitev leve strani", + "add-new-breakpoint": "Dodaj novo prelomno točko", + "breakpoint": "Prelomna točka", + "breakpoints": "Prelomne točke", + "copy-from": "Kopiraj iz", + "size": "Velikost", + "delete-breakpoint-title": "Ali ste prepričani, da želite izbrisati prelomno točko »{{name}}«?", + "delete-breakpoint-text": "Upoštevajte: ko potrdite, prelomne točke ne bo več mogoče obnoviti, nastavitve pa se bodo povrnile na privzeto prelomno točko." + }, + "legend": { + "direction": "Smer", + "position": "Položaj", + "show-values": "Prikaži vrednosti", + "min-option": "Min.", + "max-option": "Maks.", + "average-option": "Povprečje", + "total-option": "Skupaj", + "latest-option": "Najnovejša", + "sort-legend": "Razvrsti podatkovne ključe v legendi", + "show-max": "Prikaži največjo vrednost", + "show-min": "Prikaži najmanjšo vrednost", + "show-avg": "Prikaži povprečno vrednost", + "show-total": "Prikaži skupno vrednost", + "show-latest": "Prikaži najnovejšo vrednost", + "settings": "Nastavitve legende", + "min": "min.", + "max": "maks.", + "avg": "povpr.", + "total": "skupaj", + "latest": "najnovejša", + "Min": "Min.", + "Max": "Maks.", + "Avg": "Povpr.", + "Total": "Skupaj", + "Latest": "Najnovejša", + "comparison-time-ago": { + "previousInterval": "(prejšnji interval)", + "customInterval": "(interval po meri)", + "days": "(pred enim dnevom)", + "weeks": "(pred enim tednom)", + "months": "(pred enim mesecem)", + "years": "(pred enim letom)" + }, + "column-title": "Naslov stolpca", + "label": "Oznaka", + "value": "Vrednost" + }, + "login": { + "login": "Prijava", + "request-password-reset": "Zahtevaj ponastavitev gesla", + "reset-password": "Ponastavi geslo", + "create-password": "Ustvari geslo", + "two-factor-authentication": "Dvostopenjska avtentikacija", + "passwords-mismatch-error": "Vneseni gesli se morata ujemati!", + "password-again": "Ponovite geslo", + "sign-in": "Prijava", + "username": "Uporabniško ime (e-pošta)", + "remember-me": "Zapomni si me", + "forgot-password": "Ste pozabili geslo?", + "password-reset": "Ponastavitev gesla", + "expired-password-reset-message": "Vaše geslo je poteklo!\nVnesite novo geslo.", + "new-password": "Novo geslo", + "new-password-again": "Potrdite novo geslo", + "password-link-sent-message": "Povezava za ponastavitev je poslana", + "email": "E-pošta", + "invalid-email-format": "Neveljavna oblika e-poštnega naslova.", + "sign-in-with": "Prijava prek {{name}}", + "sign-in-to-your-account": "Prijava v račun", + "or": "ali", + "error": "Napaka pri prijavi", + "verify-your-identity": "Preverite identiteto", + "select-way-to-verify": "Izberite način preverjanja", + "resend-code": "Ponovno pošlji kodo", + "resend-code-wait": "Ponovno pošlji kodo čez { time, plural, =1 {1 sekundo} one {# sekundo} two {# sekundi} few {# sekunde} other {# sekund} }", + "try-another-way": "Poskusite drug način", + "totp-auth-description": "Vnesite varnostno kodo iz aplikacije za avtentikacijo.", + "totp-auth-placeholder": "Koda", + "sms-auth-description": "Varnostna koda je bila poslana na vašo telefonsko številko {{contact}}.", + "sms-auth-placeholder": "Koda SMS", + "email-auth-description": "Varnostna koda je bila poslana na vaš e-poštni naslov {{contact}}.", + "email-auth-placeholder": "E-poštna koda", + "backup-code-auth-description": "Vnesite eno od rezervnih kod.", + "backup-code-auth-placeholder": "Rezervna koda", + "activation-link-expired": "Povezava za aktivacijo je potekla", + "activation-link-expired-message": "Povezava za aktivacijo vašega profila je potekla. Vrnite se na prijavno stran, da prejmete novo e-poštno sporočilo.", + "reset-password-link-expired": "Povezava za ponastavitev gesla je potekla", + "reset-password-link-expired-message": "Povezava za ponastavitev vašega gesla je potekla. Vrnite se na prijavno stran, da prejmete novo e-poštno sporočilo.", + "two-fa": "Dvostopenjska avtentikacija", + "two-fa-required": "Dvostopenjska avtentikacija je obvezna", + "set-up-verification-method": "Za nadaljevanje nastavite način preverjanja", + "set-up-verification-method-login": "Nastavite način preverjanja ali se prijavite", + "enable-authenticator-app": "Omogoči aplikacijo za avtentikacijo", + "enable-authenticator-app-description": "Vnesite varnostno kodo iz aplikacije za avtentikacijo", + "enable-authenticator-sms": "Omogoči avtentikacijo prek SMS-a", + "enable-authenticator-sms-description": "Vnesite 6-mestno kodo, ki smo jo pravkar poslali na ", + "enable-authenticator-email": "Omogoči avtentikacijo prek e-pošte", + "enable-authenticator-email-description": "Varnostna koda je bila poslana na vaš e-poštni naslov ", + "enter-key-manually": "ali ročno vnesite ta 32-mestni ključ:", + "continue": "Nadaljuj", + "confirm": "Potrdi", + "authenticator-app-success": "Aplikacija za avtentikacijo je uspešno omogočena", + "authenticator-app-success-description": "Ob naslednji prijavi boste morali vnesti kodo za dvostopenjsko avtentikacijo", + "authenticator-sms-success": "Avtentikacija prek SMS-a je uspešno omogočena", + "authenticator-sms-success-description": "Ob naslednji prijavi boste morali vnesti varnostno kodo, ki bo poslana na telefonsko številko", + "authenticator-email-success": "Avtentikacija prek e-pošte je uspešno omogočena", + "authenticator-email-success-description": "Ob naslednji prijavi boste morali vnesti varnostno kodo, ki bo poslana na vaš e-poštni naslov", + "authenticator-backup-code-success": "Rezervna koda je uspešno omogočena", + "authenticator-backup-code-success-description": "Ob naslednji prijavi boste morali vnesti varnostno kodo ali uporabiti eno od rezervnih kod.", + "add-verification-method": "Dodaj način preverjanja", + "get-backup-code": "Pridobi rezervno kodo", + "copy-key": "Kopiraj ključ", + "send-code": "Pošlji kodo", + "email-label": "E-pošta", + "email-description": "Vnesite e-poštni naslov, ki ga želite uporabiti za avtentikacijo.", + "sms-description": "Vnesite telefonsko številko, ki jo želite uporabiti za avtentikacijo.", + "backup-code-description": "Natisnite kode, da jih boste imeli pri roki, ko jih boste potrebovali za prijavo v račun. Vsako rezervno kodo lahko uporabite samo enkrat.", + "backup-code-warn": "Ko zapustite to stran, teh kod ne bo več mogoče prikazati. Varno jih shranite s spodnjimi možnostmi.", + "download-txt": "Prenesi (txt)", + "print": "Natisni", + "verification-code": "6-mestna koda", + "verification-code-invalid": "Neveljavna oblika kode za preverjanje", + "verification-code-incorrect": "Koda za preverjanje je napačna", + "verification-code-many-request": "Preveč zahtev za preverjanje kode", + "scan-qr-code": "Skenirajte to kodo QR z aplikacijo za avtentikacijo", + "phone-input": { + "phone-input-label": "Telefonska številka", + "phone-input-required": "Telefonska številka je obvezna", + "phone-input-validation": "Telefonska številka je neveljavna ali neobstoječa", + "phone-input-pattern": "Neveljavna telefonska številka. Mora biti v obliki E.164, npr. {{phoneNumber}}", + "phone-input-hint": "Telefonska številka v obliki E.164, npr. {{phoneNumber}}" + } + }, + "markdown": { + "edit": "Uredi", + "preview": "Predogled", + "copy-code": "Kliknite za kopiranje", + "copied": "Kopirano!" + }, + "mobile": { + "add-application": "Dodaj mobilno aplikacijo", + "app-id": "ID App Site Association", + "app-id-required": "ID App Site Association je obvezen", + "app-id-pattern": "Neveljavna oblika ID-ja App Site Association", + "app-store-link": "Povezava do trgovine App Store", + "app-store-link-required": "Povezava do trgovine App Store je obvezna", + "application-details": "Podrobnosti mobilne aplikacije", + "application-package": "Paket aplikacije", + "application-secret": "Skrivnost aplikacije", + "application-secret-required": "Skrivnost aplikacije je obvezna", + "application": "Mobilna aplikacija", + "applications": "Mobilne aplikacije", + "copy-app-id": "Kopiraj ID aplikacije", + "copy-app-store-link": "Kopiraj povezavo do trgovine App Store", + "copy-application-package": "Kopiraj paket aplikacije", + "copy-application-secret": "Kopiraj skrivnost aplikacije", + "copy-google-play-link": "Kopiraj povezavo do trgovine Google Play", + "copy-sha256-certificate-fingerprints": "Kopiraj prstne odtise certifikata SHA256", + "delete-application": "Izbriši mobilno aplikacijo", + "delete-application-button-text": "Razumem posledice, izbriši mobilno aplikacijo", + "delete-application-text": "Tega dejanja ni mogoče razveljaviti. S tem boste trajno izbrisali aplikacijo.
    Če je ne želite trajno izbrisati, jo lahko začasno ustavite.
    Če želite aplikacijo kljub temu izbrisati, za potrditev vnesite »{{phrase}}«.", + "delete-application-title-short": "Ali ste prepričani, da želite izbrisati mobilno aplikacijo »{{name}}«?", + "delete-application-text-short": "Pozor! Ko potrdite, mobilne aplikacije in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-application-phrase": "izbriši mobilno aplikacijo", + "delete-applications-bundle-text": "Pozor! Ko potrdite, paketa mobilnih aplikacij in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-applications-bundle-title": "Ali ste prepričani, da želite izbrisati paket mobilnih aplikacij »{{bundleName}}«?", + "generate-application-secret": "Ustvari skrivnost aplikacije", + "google-play-link": "Povezava do trgovine Google Play", + "google-play-link-required": "Povezava do trgovine Google Play je obvezna", + "latest-version": "Najnovejša različica", + "min-version": "Najnižja različica", + "invalid-version-pattern": "Neveljavna oblika različice. Uporabite obliko: major.minor.patch (npr. 1.0.0).", + "mobile-center": "Mobilno središče", + "mobile-package": "Paket aplikacije", + "mobile-package-max-length": "Paket aplikacije mora biti krajši od 256 znakov", + "mobile-package-required": "Paket aplikacije je obvezen.", + "mobile-package-pattern": "Neveljavna oblika paketa aplikacije", + "mobile-package-title": "Naslov aplikacije", + "mobile-package-title-max-length": "Naslov aplikacije mora biti krajši od 256 znakov", + "no-application": "Ni najdenih mobilnih aplikacij", + "no-bundles": "Ni najdenih paketov", + "platform-type": "Vrsta platforme", + "search-application": "Iskanje mobilnih aplikacij", + "search-bundles": "Iskanje paketov", + "set": "Nastavi", + "sha256-certificate-fingerprints": "Prstni odtisi certifikata SHA256", + "sha256-certificate-fingerprints-required": "Prstni odtisi certifikata SHA256 so obvezni", + "sha256-certificate-fingerprints-pattern": "Neveljavna oblika prstnega odtisa certifikata SHA256", + "show-hidden-pages": "Prikaži skrite strani", + "status": "Stanje", + "status-type": { + "deprecated": "Zastarelo", + "draft": "Osnutek", + "published": "Objavljeno", + "suspended": "Začasno ustavljeno" + }, + "store-information": "Podatki o trgovini", + "version-information": "Podatki o različici", + "min-version-release-notes": "Opombe ob izdaji najnižje različice", + "latest-version-release-notes": "Opombe ob izdaji za najnovejšo različico", + "bundle": "Paket", + "bundles": "Paketi", + "add-bundle": "Dodaj paket", + "title": "Naslov", + "title-required": "Naslov je obvezen", + "title-cannot-contain-only-spaces": "Naslov ne sme vsebovati samo presledkov", + "title-max-length": "Naslov mora biti krajši od 256 znakov", + "oauth-clients": "Odjemalci OAuth 2.0", + "android-app": "Aplikacija Android", + "android-application": "Aplikacija Android", + "ios-app": "Aplikacija iOS", + "ios-application": "Aplikacija iOS", + "invalid-store-link": "Neveljavna povezava do trgovine", + "enable-oauth" : "Omogoči OAuth 2.0", + "enable-self-registration": "Omogoči samoregistracijo", + "edit-bundle": "Uredi paket", + "description": "Opis", + "basic-settings": "Osnovne nastavitve", + "no-application-matching": "Ni mobilnih aplikacij, ki bi se ujemale z iskalnim nizom »{{entity}}«.", + "no-bundle-matching": "Ni paketov, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "application-required": "Mobilna aplikacija je obvezna.", + "bundle-required": "Paket je obvezen.", + "no-application-text": "Ni najdenih mobilnih aplikacij", + "no-bundle-text": "Ni najdenih paketov", + "layout": "Postavitev", + "pages": "Strani", + "hide-all-pages": "Skrij vse strani", + "reset-to-default-pages": "Ponastavi na privzete strani", + "add-specific-page": "Dodaj določeno stran", + "visible": "Vidno", + "hidden": "Skrito", + "reset-to-page-default": "Ponastavi stran na privzeto", + "mobile-599": "Mobilna naprava (največ 599 px)", + "tablet-959": "Tablica (največ 959 px)", + "max-element-number": "Največje število elementov", + "page-name": "Ime strani", + "page-name-required": "Ime strani je obvezno.", + "page-name-cannot-contain-only-spaces": "Ime strani ne sme vsebovati samo presledkov.", + "page-name-max-length": "Ime strani mora biti krajše od 256 znakov", + "page-type": "Vrsta strani", + "pages-types": { + "dashboard": "Nadzorna plošča", + "web-view": "Spletni pogled", + "custom": "Po meri" + }, + "url": "URL", + "invalid-url-format": "Neveljavna oblika URL", + "path": "Pot", + "invalid-path-format": "Neveljavna oblika poti", + "custom-page": "Stran po meri", + "edit-page": "Uredi stran", + "edit-custom-page": "Uredi stran po meri", + "delete-page": "Izbriši stran", + "qr-code-widget": "Gradnik QR kode", + "type-here": "Vnesite tukaj", + "configuration-dialog": "Pogovorno okno za konfiguracijo", + "configuration-app": "Aplikacija za konfiguracijo", + "configuration-step": { + "prepare-environment-title": "Pripravite razvojno okolje", + "prepare-environment-text": "Mobilna aplikacija ThingsBoard Flutter zahteva Flutter SDK. Sledite navodilom za nastavitev Flutter SDK-ja.", + "get-source-code-title": "Pridobite izvorno kodo aplikacije", + "get-source-code-text": "Izvorno kodo mobilne aplikacije ThingsBoard Flutter lahko pridobite tako, da jo klonirate iz repozitorija GitHub:", + "configure-app-settings-title": "Konfigurirajte nastavitve aplikacije", + "configure-app-settings-text": "Prenesite konfiguracijsko datoteko in jo postavite v korenski imenik projekta, ki ste ga klonirali v prejšnjem koraku.", + "download-file": "Prenesi datoteko", + "run-app-title": "Zaženite aplikacijo", + "run-app-text": "Zaženite aplikacijo, kot je opisano v vašem IDE-ju.\nČe uporabljate terminal, zaženite aplikacijo z naslednjim ukazom:", + "more-information": "Podrobne informacije najdete v naši dokumentaciji za prve korake.", + "getting-started": "Prvi koraki" + } + }, + "notification": { + "action-button": "Gumb za dejanje", + "action-type": "Vrsta dejanja", + "active": "Aktivna", + "add-notification-recipients-group": "Dodaj skupino prejemnikov obvestil", + "add-notification-template": "Dodaj predlogo obvestila", + "add-recipient": "Dodaj prejemnika", + "add-recipients": "Dodaj prejemnike", + "add-rule": "Dodaj pravilo", + "add-stage": "Dodaj stopnjo", + "add-template": "Dodaj predlogo", + "after": "Po", + "alarm-assignment-trigger-settings": "Nastavitve sprožilca dodelitve alarma", + "alarm-comment-trigger-settings": "Nastavitve sprožilca komentarja alarma", + "alarm-trigger-settings": "Nastavitve sprožilca alarma", + "all": "Vse", + "api-feature-hint": "Če je polje prazno, bo sprožilec uporabljen za vse funkcije API-ja", + "api-usage-trigger-settings": "Nastavitve sprožilca uporabe API-ja", + "new-platform-version-trigger-settings": "Nastavitve sprožilca nove različice platforme", + "rate-limits-trigger-settings": "Nastavitve sprožilca preseženih omejitev pogostosti", + "task-processing-failure-trigger-settings": "Nastavitve sprožilca napake pri obdelavi naloge", + "resources-shortage-trigger-settings": "Nastavitve sprožilca pomanjkanja virov", + "at-least-one-should-be-selected": "Izbrana mora biti vsaj ena možnost", + "basic-settings": "Osnovne nastavitve", + "button-text": "Besedilo gumba", + "button-text-required": "Besedilo gumba je obvezno", + "button-text-max-length": "Besedilo gumba ne sme biti daljše od {{ length }} znakov", + "compose": "Sestavi", + "conversation": "Pogovor", + "conversation-required": "Pogovor je obvezen", + "copy-notification-template": "Kopiraj predlogo obvestila", + "copy-rule": "Kopiraj pravilo", + "copy-template": "Kopiraj predlogo", + "create-new": "Ustvari novo", + "created": "Ustvarjeno", + "customize-messages": "Prilagodi sporočila", + "cpu-threshold": "Prag CPU", + "delete-notification-text": "Pozor! Ko potrdite, obvestila ne bo več mogoče obnoviti.", + "delete-notification-title": "Ali ste prepričani, da želite izbrisati obvestilo?", + "delete-notifications-text": "Pozor! Ko potrdite, obvestil ne bo več mogoče obnoviti.", + "delete-notifications-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# obvestilo} two {# obvestili} few {# obvestila} other {# obvestil} }?", + "delete-recipient-text": "Pozor! Ko potrdite, prejemnika ne bo več mogoče obnoviti.", + "delete-recipient-title": "Ali ste prepričani, da želite izbrisati prejemnika »{{recipientName}}«?", + "delete-recipients-text": "Pozor! Ko potrdite, prejemnikov ne bo več mogoče obnoviti.", + "delete-recipients-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# prejemnika} two {# prejemnika} few {# prejemnike} other {# prejemnikov} }?", + "delete-request-text": "Pozor! Ko potrdite, zahteve ne bo več mogoče obnoviti.", + "delete-request-title": "Ali ste prepričani, da želite izbrisati zahtevo?", + "delete-requests-text": "Pozor! Ko potrdite, zahtev ne bo več mogoče obnoviti.", + "delete-requests-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# zahtevo} two {# zahtevi} few {# zahteve} other {# zahtev} }?", + "delete-rule-text": "Pozor! Ko potrdite, pravila ne bo več mogoče obnoviti.", + "delete-rule-title": "Ali ste prepričani, da želite izbrisati pravilo »{{ruleName}}«?", + "delete-rules-text": "Pozor! Ko potrdite, pravil ne bo več mogoče obnoviti.", + "delete-rules-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# pravilo} two {# pravili} few {# pravila} other {# pravil} }?", + "delete-template-text": "Pozor! Ko potrdite, predloge ne bo več mogoče obnoviti.", + "delete-template-title": "Ali ste prepričani, da želite izbrisati predlogo »{{templateName}}«?", + "delete-templates-text": "Pozor! Ko potrdite, predlog ne bo več mogoče obnoviti.", + "delete-templates-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# predlogo} two {# predlogi} few {# predloge} other {# predlog} }?", + "deleted": "Izbrisano", + "delivery-method": { + "delivery-method": "Način dostave", + "email": "E-pošta", + "email-preview": "Predogled e-poštnega obvestila", + "slack": "Slack", + "slack-preview": "Predogled obvestila Slack", + "microsoft-teams": "Microsoft Teams", + "microsoft-teams-preview": "Predogled obvestila Microsoft Teams", + "sms": "SMS", + "sms-preview": "Predogled obvestila SMS", + "web": "Splet", + "web-preview": "Predogled spletnega obvestila", + "mobile-app": "Mobilna aplikacija", + "mobile-app-preview": "Predogled obvestila za mobilno aplikacijo" + }, + "delivery-method-not-configure-click": "Način dostave ni konfiguriran. Kliknite, če ga želite nastaviti.", + "delivery-method-not-configure-contact": "Način dostave ni konfiguriran. Obrnite se na sistemskega administratorja.", + "delivery-methods": "Načini dostave", + "description": "Opis", + "device-activity-trigger-settings": "Nastavitve sprožilca aktivnosti naprave", + "device-list-rule-hint": "Če je polje prazno, bo sprožilec uporabljen za vse naprave", + "device-profiles-list-rule-hint": "Če je polje prazno, bo sprožilec uporabljen za vse profile naprav", + "disabled": "Onemogočeno", + "edge-trigger-settings": "Nastavitve sprožilca Edge", + "edge-list-rule-hint": "Če je polje prazno, bo sprožilec uporabljen za vse instance Edge", + "edit-notification-recipients-group": "Uredi skupino prejemnikov obvestil", + "edit-notification-template": "Uredi predlogo obvestila", + "edit-rule": "Uredi pravilo", + "edit-template": "Uredi predlogo", + "enabled": "Omogočeno", + "entities-limit-trigger-settings": "Nastavitve sprožilca omejitve entitet", + "entity-action-trigger-settings": "Nastavitve sprožilca dejanja entitete", + "entity-type": "Vrsta entitete", + "escalation-chain": "Veriga stopnjevanja", + "failed-send": "Neuspešna pošiljanja", + "fails": "{ count, plural, one {# napaka} two {# napaki} few {# napake} other {# napak} }", + "filter": "Filter", + "first-recipient": "Prvi prejemnik", + "inactive": "Neaktivna", + "inbox": "Prejeto", + "notification-inbox": "Obvestila / Prejeto", + "input-field-support-templatization": "Vnosno polje podpira uporabo predlog.", + "input-fields-support-templatization": "Vnosna polja podpirajo uporabo predlog.", + "link": "Povezava", + "link-required": "Povezava je obvezna", + "link-max-length": "Povezava ne sme biti daljša od {{ length }} znakov", + "link-type": { + "dashboard": "Odpri nadzorno ploščo", + "link": "Odpri povezavo URL" + }, + "loading-notifications": "Nalaganje obvestil...", + "management": "Upravljanje obvestil", + "mark-all-as-read": "Označi vse kot prebrano", + "mark-as-read": "Označi kot prebrano", + "message": "Sporočilo", + "message-required": "Sporočilo je obvezno", + "message-max-length": "Sporočilo ne sme biti daljše od {{ length }} znakov", + "name": "Ime", + "name-required": "Ime je obvezno", + "new-notification": "Novo obvestilo", + "no-inbox-notification": "Ni najdenih obvestil", + "no-notification-request": "Ni zahtev za obvestila", + "no-notification-templates": "Ni najdenih predlog obvestil", + "no-notifications-yet": "Še ni obvestil", + "no-recipients-notification": "Ni prejemnikov obvestil", + "no-recipients-matching": "Ni prejemnikov, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "no-recipients-text": "Ni najdenih prejemnikov", + "no-rule": "Ni konfiguriranega pravila", + "no-rules-notification": "Ni pravil za obvestila", + "no-severity-found": "Ni najdene stopnje resnosti", + "no-severity-matching": "Resnosti »{{severity}}« ni mogoče najti.", + "no-template-matching": "Ni predlog, ki bi se ujemale z iskalnim nizom »{{template}}«.", + "create-new-template": "Ustvari novo predlogo!", + "not-found-slack-recipient": "Prejemnika Slack ni mogoče najti", + "notification": "Obvestilo", + "notification-center": "Središče za obvestila", + "notification-tap-action": "Dejanje ob dotiku obvestila", + "notification-tap-action-hint": "Če ni omogočeno, bo uporabljena privzeta nadzorna plošča alarma", + "notify": "obvesti", + "notify-again": "Znova obvesti", + "notify-alarm-action": { + "acknowledged": "Alarm potrjen", + "assigned": "Alarm dodeljen", + "cleared": "Alarm ponastavljen", + "created": "Alarm ustvarjen", + "severity-changed": "Resnost alarma spremenjena", + "unassigned": "Dodelitev alarma preklicana" + }, + "notify-on": "Obvesti ob", + "notify-on-comment-update": "Obvesti ob posodobitvi komentarja", + "notify-on-required": "Dogodek za obveščanje je obvezen", + "notify-on-unassign": "Obvesti ob preklicu dodelitve", + "notify-only-user-comments": "Obvesti samo o komentarjih uporabnikov", + "only-rule-chain-lifecycle-failures": "Samo napake življenjskega cikla verig pravil", + "only-rule-node-lifecycle-failures": "Samo napake življenjskega cikla vozlišč pravil", + "platform-users": "Uporabniki platforme", + "ram-threshold": "Prag RAM", + "rate-limits": "Omejitve pogostosti", + "rate-limits-hint": "Če je polje prazno, bo sprožilec uporabljen za vse omejitve pogostosti", + "recipient": "Prejemnik", + "recipient-group": "Skupina prejemnikov", + "recipient-type": { + "affected-tenant-administrators": "Prizadeti skrbniki", + "affected-user": "Prizadeti uporabnik", + "all-users": "Vsi uporabniki", + "customer-users": "Uporabniki stranke", + "system-administrators": "Sistemski administratorji", + "tenant-administrators": "Skrbniki", + "user-filters": "Filter uporabnikov", + "user-list": "Seznam uporabnikov", + "users-entity-owner": "Uporabniki lastnika entitete" + }, + "recipients": "Prejemniki", + "notification-recipient": "Prejemnik obvestil", + "notification-recipient-required": "Prejemnik obvestil je obvezen.", + "notification-recipients": "Obvestila / Prejemniki", + "recipients-count": "{ count, plural, one {# prejemnik} two {# prejemnika} few {# prejemniki} other {# prejemnikov} }", + "recipients-required": "Prejemniki so obvezni", + "refresh-allow-delivery-method": "Osveži dovoljene načine dostave", + "request-search": "Iskanje zahtev", + "request-status": { + "processing": "V obdelavi", + "scheduled": "Načrtovano", + "sent": "Poslano" + }, + "review": "Preglej", + "rule": "Pravilo", + "rule-chain-list-rule-hint": "Če je polje prazno, bo sprožilec uporabljen za vse verige pravil", + "rule-engine-events-trigger-settings": "Nastavitve sprožilca dogodkov mehanizma pravil", + "rule-engine-filter": "Filter mehanizma pravil", + "rule-name": "Ime pravila", + "rule-name-required": "Ime je obvezno", + "rule-disable": "Onemogoči pravilo za obvestila", + "rule-enable": "Omogoči pravilo za obvestila", + "rule-node-filter": "Filter vozlišč pravil", + "rules": "Pravila", + "notification-rules": "Obvestila / Pravila", + "scheduler-later": "Načrtuj za pozneje", + "search-notification": "Iskanje obvestil", + "search-recipients": "Iskanje prejemnikov", + "search-rules": "Iskanje pravil", + "search-templates": "Iskanje predlog", + "see-documentation": "Oglejte si dokumentacijo", + "selected-notifications": "Izbrano: { count, plural, one {# obvestilo} two {# obvestili} few {# obvestila} other {# obvestil} }", + "selected-recipients": "Izbrano: { count, plural, one {# prejemnik} two {# prejemnika} few {# prejemniki} other {# prejemnikov} }", + "selected-requests": "Izbrano: { count, plural, one {# zahteva} two {# zahtevi} few {# zahteve} other {# zahtev} }", + "selected-rules": "Izbrano: { count, plural, one {# pravilo} two {# pravili} few {# pravila} other {# pravil} }", + "selected-template": "Izbrano: { count, plural, one {# predloga} two {# predlogi} few {# predloge} other {# predlog} }", + "send-notification": "Pošlji obvestilo", + "sent": "Poslano", + "setup": "Nastavitev", + "notification-sent": "Obvestila / Poslano", + "set-entity-from-notification": "Nastavi entiteto iz obvestila v stanje nadzorne plošče", + "slack-chanel-type": "Vrsta kanala Slack", + "slack-chanel-types": { + "direct": "Neposredno sporočilo", + "private-channel": "Zasebni kanal", + "public-channel": "Javni kanal" + }, + "start-from-scratch": "Začni od začetka", + "status": "Stanje", + "stop-escalation-alarm-status-become": "Ustavi stopnjevanje, ko alarm preide v stanje:", + "storage-threshold": "Prag shrambe", + "subject": "Zadeva", + "subject-required": "Zadeva je obvezna", + "subject-max-length": "Zadeva ne sme biti daljša od {{ length }} znakov", + "template": "Predloga", + "template-name": "Ime predloge", + "template-required": "Predloga je obvezna", + "template-type": { + "alarm": "Alarm", + "alarm-assignment": "Dodelitev alarma", + "alarm-comment": "Komentar alarma", + "api-usage-limit": "Omejitev uporabe API-ja", + "device-activity": "Aktivnost naprave", + "entities-limit": "Omejitev števila entitet", + "entities-limit-increase-request": "Zahteva za povečanje omejitve števila entitet", + "entity-action": "Dejanje na entiteti", + "general": "Splošno", + "rule-engine-lifecycle-event": "Dogodek življenjskega cikla mehanizma pravil", + "rule-node": "Vozlišče pravil", + "new-platform-version": "Nova različica platforme", + "rate-limits": "Presežene omejitve pogostosti", + "edge-communication-failure": "Napaka pri komunikaciji z Edge-em", + "edge-connection": "Povezava Edge-a", + "task-processing-failure": "Napaka pri obdelavi naloge", + "resources-shortage": "Pomanjkanje virov" + }, + "templates": "Predloge", + "notification-templates": "Obvestila / Predloge", + "tenant-profiles-list-rule-hint": "Če je polje prazno, bo sprožilec uporabljen za vse profile najemnikov", + "tenants-list-rule-hint": "Če je polje prazno, bo sprožilec uporabljen za vse najemnike", + "threshold": "Prag", + "theme-color": "Barva teme", + "time": "Čas", + "track-rule-node-events": "Spremljaj dogodke vozlišč pravil", + "trigger": { + "alarm": "Alarm", + "alarm-assignment": "Dodelitev alarma", + "alarm-comment": "Komentar alarma", + "api-usage-limit": "Omejitev uporabe API-ja", + "device-activity": "Aktivnost naprave", + "entities-limit": "Omejitev števila entitet", + "entity-action": "Dejanje na entiteti", + "rule-engine-lifecycle-event": "Dogodek življenjskega cikla mehanizma pravil", + "new-platform-version": "Nova različica platforme", + "rate-limits": "Presežene omejitve pogostosti", + "edge-connection": "Povezava Edge-a", + "edge-communication-failure": "Napaka pri komunikaciji z Edge-em", + "task-processing-failure": "Napaka pri obdelavi naloge", + "resources-shortage": "Pomanjkanje virov", + "trigger": "Sprožilec", + "trigger-required": "Sprožilec je obvezen" + }, + "type": "Vrsta", + "unread": "Neprebrano", + "updated": "Posodobljeno", + "use-deprecated-webhook-connectors": "Uporabi zastarele povezovalnike Webhook", + "use-old-api": "Uporabi stari API", + "use-template": "Uporabi predlogo", + "view-all": "Prikaži vse", + "warning": "Opozorilo", + "webhook-url": "URL Webhooka", + "webhook-url-required": "URL Webhooka je obvezen", + "workflow-url": "URL poteka dela", + "workflow-url-required": "URL poteka dela je obvezen", + "channel-name": "Ime kanala", + "channel-name-required": "Ime kanala je obvezno", + "settings": { + "notification-settings": "Nastavitve obvestil", + "reset-all": "Ponastavi vse nastavitve", + "reset-all-title": "Ali ste prepričani, da želite ponastaviti obrazec?", + "reset-all-text": "Ko potrdite, bo obrazec z nastavitvami ponastavljen na privzete vrednosti in shranjen.", + "type": "Vrsta", + "enable-all": "Omogoči vse", + "disable-all": "Onemogoči vse", + "delivery-not-configured": "Način dostave ni konfiguriran" + } + }, + "ota-update": { + "add": "Dodaj paket", + "assign-firmware": "Dodeljena vdelana programska oprema", + "assign-firmware-required": "Dodeljena vdelana programska oprema je obvezna", + "assign-software": "Dodeljena programska oprema", + "assign-software-required": "Dodeljena programska oprema je obvezna", + "auto-generate-checksum": "Samodejno izračunaj kontrolno vsoto", + "checksum": "Kontrolna vsota", + "checksum-hint": "Če je kontrolna vsota prazna, bo samodejno izračunana", + "checksum-algorithm": "Algoritem kontrolne vsote", + "checksum-copied-message": "Kontrolna vsota paketa je kopirana v odložišče", + "change-firmware": "Sprememba vdelane programske opreme lahko povzroči posodobitev { count, plural, =1 {1 naprave} one {# naprave} two {# naprav} few {# naprav} other {# naprav} }.", + "change-software": "Sprememba programske opreme lahko povzroči posodobitev { count, plural, =1 {1 naprave} one {# naprave} two {# naprav} few {# naprav} other {# naprav} }.", + "change-ota-setting-title": "Ali ste prepričani, da želite spremeniti nastavitve OTA?", + "chose-compatible-device-profile": "Naloženi paket bo na voljo samo za naprave z izbranim profilom.", + "chose-firmware-distributed-device": "Izberite vdelano programsko opremo, ki bo dostavljena napravam", + "chose-software-distributed-device": "Izberite programsko opremo, ki bo dostavljena napravam", + "content-type": "Vrsta vsebine", + "copy-checksum": "Kopiraj kontrolno vsoto", + "copy-direct-url": "Kopiraj neposredni URL", + "copyId": "Kopiraj ID paketa", + "copied": "Kopirano!", + "delete": "Izbriši paket", + "delete-ota-update-text": "Pozor! Ko potrdite, posodobitve OTA ne bo več mogoče obnoviti.", + "delete-ota-update-title": "Ali ste prepričani, da želite izbrisati posodobitev OTA »{{title}}«?", + "delete-ota-updates-text": "Pozor! Ko potrdite, bodo vse izbrane posodobitve OTA odstranjene.", + "delete-ota-updates-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 posodobitev OTA} one {# posodobitev OTA} two {# posodobitvi OTA} few {# posodobitve OTA} other {# posodobitev OTA} }?", + "description": "Opis", + "direct-url": "Neposredni URL", + "direct-url-copied-message": "Neposredni URL paketa je kopiran v odložišče", + "direct-url-required": "Neposredni URL je obvezen", + "download": "Prenesi paket", + "drop-file": "Spustite datoteko paketa ali kliknite in izberite datoteko za nalaganje.", + "drop-package-file-or": "Povlecite in spustite datoteko paketa ali", + "file-name": "Ime datoteke", + "file-size": "Velikost datoteke", + "file-size-bytes": "Velikost datoteke v bajtih", + "idCopiedMessage": "ID paketa je kopiran v odložišče", + "no-firmware-matching": "Ni združljivih paketov posodobitve OTA za vdelano programsko opremo, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "no-firmware-text": "Ni na voljo združljivih paketov posodobitve OTA za vdelano programsko opremo.", + "no-packages-text": "Ni najdenih paketov", + "no-software-matching": "Ni združljivih paketov posodobitve OTA za programsko opremo, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "no-software-text": "Ni na voljo združljivih paketov posodobitve OTA za programsko opremo.", + "ota-update": "Posodobitev OTA", + "ota-update-details": "Podrobnosti posodobitve OTA", + "ota-updates": "Posodobitve OTA", + "package-file": "Datoteka paketa", + "package-type": "Vrsta paketa", + "packages-repository": "Repozitorij paketov", + "search": "Iskanje paketov", + "selected-package": "Izbrano: { count, plural, =1 {1 paket} one {# paket} two {# paketa} few {# paketi} other {# paketov} }", + "title": "Naslov", + "title-required": "Naslov je obvezen.", + "title-max-length": "Naslov mora biti krajši od 256 znakov", + "types": { + "firmware": "Vdelana programska oprema", + "software": "Programska oprema" + }, + "upload-binary-file": "Naloži binarno datoteko", + "use-external-url": "Uporabi zunanji URL", + "version": "Različica", + "version-required": "Različica je obvezna.", + "version-tag": "Oznaka različice", + "version-tag-hint": "Oznaka po meri se mora ujemati z različico paketa, ki jo sporoči vaša naprava.", + "version-max-length": "Različica mora biti krajša od 256 znakov", + "warning-after-save-no-edit": "Ko je paket naložen, ni več mogoče spreminjati naslova, različice, profila naprave in vrste paketa." + }, + "position": { + "top": "Zgoraj", + "bottom": "Spodaj", + "left": "Levo", + "right": "Desno" + }, + "profile": { + "profile": "Profil", + "last-login-time": "Zadnja prijava", + "change-password": "Spremeni geslo", + "current-password": "Trenutno geslo", + "copy-jwt-token": "Kopiraj žeton JWT", + "jwt-token": "Žeton JWT", + "token-valid-till": "Žeton je veljaven do", + "tokenCopiedSuccessMessage": "Žeton JWT je kopiran v odložišče", + "tokenCopiedWarnMessage": "Žeton JWT je potekel! Osvežite stran." + }, + "profiles": { + "profiles": "Profili" + }, + "security": { + "security": "Varnost", + "general-settings": "Splošne varnostne nastavitve", + "access-token": "Žeton za dostop", + "access-token-required": "Žeton za dostop je obvezen", + "clientId": "ID odjemalca", + "clientId-required": "ID odjemalca je obvezen", + "username": "Uporabniško ime", + "username-required": "Uporabniško ime je obvezno", + "ca-cert": "Certifikat CA", + "2fa": { + "2fa": "Dvostopenjska avtentikacija", + "2fa-description": "Dvostopenjska avtentikacija ščiti vaš račun pred nepooblaščenim dostopom. Ob prijavi morate le vnesti varnostno kodo.", + "authenticate-with": "Za avtentikacijo lahko uporabite:", + "disable-2fa-provider-text": "Če onemogočite {{name}}, bo vaš račun manj varen", + "disable-2fa-provider-title": "Ali ste prepričani, da želite onemogočiti {{name}}?", + "get-new-code": "Pridobi novo kodo", + "main-2fa-method": "Uporabi kot glavni način dvostopenjske avtentikacije", + "dialog": { + "activation-step-description-email": "Ob naslednji prijavi boste morali vnesti varnostno kodo, ki bo poslana na vaš e-poštni naslov.", + "activation-step-description-sms": "Ob naslednji prijavi boste morali vnesti varnostno kodo, ki bo poslana na telefonsko številko.", + "activation-step-description-totp": "Ob naslednji prijavi boste morali vnesti kodo za dvostopenjsko avtentikacijo.", + "activation-step-label": "Aktivacija", + "backup-code-description": "Natisnite kode, da jih boste imeli pri roki, ko jih boste potrebovali za prijavo v račun. Vsako rezervno kodo lahko uporabite samo enkrat.", + "backup-code-warn": "Ko zapustite to stran, teh kod ne bo več mogoče prikazati. Varno jih shranite s spodnjimi možnostmi.", + "download-txt": "Prenesi (txt)", + "email-step-description": "Vnesite e-poštni naslov, ki ga želite uporabiti za avtentikacijo.", + "email-step-label": "E-pošta", + "enable-email-title": "Omogoči avtentikacijo prek e-pošte", + "enable-sms-title": "Omogoči avtentikacijo prek SMS-a", + "enable-totp-title": "Omogoči aplikacijo za avtentikacijo", + "enter-verification-code": "Tukaj vnesite 6-mestno kodo", + "get-backup-code-title": "Pridobi rezervno kodo", + "next": "Naprej", + "scan-qr-code": "Skenirajte to kodo QR z aplikacijo za avtentikacijo", + "send-code": "Pošlji kodo", + "sms-step-description": "Vnesite telefonsko številko, ki jo želite uporabiti za avtentikacijo.", + "sms-step-label": "Telefonska številka", + "success": "Uspešno!", + "totp-step-description-install": "Namestite lahko aplikacije, kot so Google Authenticator, Authy ali Duo.", + "totp-step-description-open": "Odprite aplikacijo za avtentikacijo v mobilnem telefonu.", + "totp-step-label": "Pridobi aplikacijo", + "verification-code": "6-mestna koda", + "verification-code-invalid": "Neveljavna oblika kode za preverjanje", + "verification-code-incorrect": "Koda za preverjanje je napačna", + "verification-code-many-request": "Preveč zahtev za preverjanje kode", + "verification-step-description": "Vnesite 6-mestno kodo, ki smo jo pravkar poslali na {{address}}", + "verification-step-label": "Preverjanje" + }, + "provider": { + "email": "E-pošta", + "email-description": "Za avtentikacijo uporabite varnostno kodo, poslano na vaš e-poštni naslov.", + "email-hint": "Kode za avtentikacijo so poslane po e-pošti na {{ info }}", + "sms": "SMS", + "sms-description": "Za avtentikacijo uporabite telefon. Ob prijavi vam bomo poslali varnostno kodo v sporočilu SMS.", + "sms-hint": "Kode za avtentikacijo so poslane v sporočilu SMS na {{ info }}", + "totp": "Aplikacija za avtentikacijo", + "totp-description": "Za avtentikacijo uporabite aplikacijo v telefonu, na primer Google Authenticator, Authy ali Duo. Ustvarila bo varnostno kodo za prijavo.", + "totp-hint": "Aplikacija za avtentikacijo je nastavljena za vaš račun", + "backup_code": "Rezervna koda", + "backup-code-description": "Te natisljive enkratne kode vam omogočajo prijavo, ko pri sebi nimate telefona, na primer na potovanju.", + "backup-code-hint": "Trenutno aktivnih enkratnih kod: {{ info }}" + } + }, + "password-requirement": { + "at-least": "Najmanj:", + "character": "{ count, plural, =1 {1 znak} one {# znak} two {# znaka} few {# znake} other {# znakov} }", + "digit": "{ count, plural, =1 {1 števko} one {# števko} two {# števki} few {# števke} other {# števk} }", + "password-tooltip-min-length": "Dolžina najmanj {{minimumLength}} znakov", + "password-tooltip-max-length": "Dolžina največ {{maximumLength}} znakov", + "password-tooltip-uppercase": "Velike črke: {{minimumUppercaseLetters}}", + "password-tooltip-lowercase": "Male črke: {{minimumLowercaseLetters}}", + "password-tooltip-digit": "Števke: {{minimumDigits}}", + "password-tooltip-special-characters": "Posebni znaki: {{minimumSpecialCharacters}}", + "incorrect-password-try-again": "Napačno geslo. Poskusite znova", + "lowercase-letter": "{ count, plural, =1 {1 malo črko} one {# malo črko} two {# mali črki} few {# male črke} other {# malih črk} }", + "new-passwords-not-match": "Novi gesli se ne ujemata", + "password-should-not-contain-spaces": "Vaše geslo ne sme vsebovati presledkov", + "password-not-meet-requirements": "Geslo ne izpolnjuje zahtev", + "password-requirements": "Zahteve za geslo", + "password-should-difference": "Novo geslo se mora razlikovati od trenutnega", + "special-character": "{ count, plural, =1 {1 poseben znak} one {# poseben znak} two {# posebna znaka} few {# posebne znake} other {# posebnih znakov} }", + "uppercase-letter": "{ count, plural, =1 {1 veliko črko} one {# veliko črko} two {# veliki črki} few {# velike črke} other {# velikih črk} }", + "at-most": "Največ:" + } + }, + "relation": { + "relations": "Relacije", + "direction": "Smer", + "clear-relation-type": "Počisti vrsto relacije", + "search-direction": { + "FROM": "Od", + "TO": "Do" + }, + "direction-type": { + "FROM": "od", + "TO": "do" + }, + "from-relations": "Odhodne relacije", + "to-relations": "Dohodne relacije", + "selected-relations": "Izbrano: { count, plural, one {# relacija} two {# relaciji} few {# relacije} other {# relacij} }", + "type": "Vrsta", + "to-entity-type": "Vrsta ciljne entitete", + "to-entity-name": "Ime ciljne entitete", + "from-entity-type": "Vrsta izvorne entitete", + "from-entity-name": "Ime izvorne entitete", + "to-entity": "Ciljna entiteta", + "from-entity": "Izvorna entiteta", + "delete": "Izbriši relacijo", + "relation-type": "Vrsta relacije", + "relation-type-required": "Vrsta relacije je obvezna.", + "relation-type-max-length": "Vrsta relacije mora biti krajša od 256 znakov", + "any-relation-type": "Poljubna vrsta", + "add": "Dodaj relacijo", + "edit": "Uredi relacijo", + "delete-to-relation-title": "Ali ste prepričani, da želite izbrisati relacijo do entitete »{{entityName}}«?", + "delete-to-relation-text": "Pozor! Ko potrdite, entiteta »{{entityName}}« ne bo več v relaciji s trenutno entiteto.", + "delete-to-relations-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# relacijo} two {# relaciji} few {# relacije} other {# relacij} }?", + "delete-to-relations-text": "Pozor! Ko potrdite, bodo vse izbrane relacije odstranjene, ustrezne entitete pa ne bodo več v relaciji s trenutno entiteto.", + "delete-from-relation-title": "Ali ste prepričani, da želite izbrisati relacijo iz entitete »{{entityName}}«?", + "delete-from-relation-text": "Pozor! Ko potrdite, trenutna entiteta ne bo več v relaciji z entiteto »{{entityName}}«.", + "delete-from-relations-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# relacijo} two {# relaciji} few {# relacije} other {# relacij} }?", + "delete-from-relations-text": "Pozor! Ko potrdite, bodo vse izbrane relacije odstranjene, trenutna entiteta pa ne bo več v relaciji z ustreznimi entitetami.", + "remove-relation-filter": "Odstrani filter relacij", + "remove-filter": "Odstrani filter", + "add-relation-filter": "Dodaj filter relacij", + "any-relation": "Poljubna relacija", + "relation-filters": "Filtri relacij", + "relation-filter": "Filter relacij", + "additional-info": "Dodatne informacije (JSON)", + "invalid-additional-info": "Dodatnih informacij v obliki JSON ni mogoče razčleniti.", + "no-relations-text": "Ni najdenih relacij", + "not": "Ne", + "copy-type": "Kopiraj vrsto" + }, + "resource": { + "add": "Dodaj vir", + "all-types": "Vse", + "copyId": "Kopiraj ID vira", + "delete": "Izbriši vir", + "delete-resource-text": "Pozor! Ko potrdite, vira ne bo več mogoče obnoviti.", + "delete-resource-title": "Ali ste prepričani, da želite izbrisati vir »{{resourceTitle}}«?", + "delete-resources-action-title": "Izbriši { count, plural, =1 {1 vir} one {# vir} two {# vira} few {# vire} other {# virov} }", + "delete-resources-text": "Upoštevajte, da bodo izbrani viri izbrisani, tudi če se uporabljajo v profilih naprav.", + "delete-resources-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 vir} one {# vir} two {# vira} few {# vire} other {# virov} }?", + "download": "Prenesi vir", + "drop-file": "Spustite datoteko vira ali kliknite in izberite datoteko za nalaganje.", + "drop-resource-file-or": "Povlecite in spustite datoteko vira ali", + "empty": "Vir je prazen", + "file-name": "Ime datoteke", + "idCopiedMessage": "ID vira je kopiran v odložišče", + "no-resource-matching": "Ni virov, ki bi se ujemali z iskalnim nizom »{{widgetsBundle}}«.", + "no-resource-text": "Ni najdenih virov", + "open-widgets-bundle": "Odpri paket gradnikov", + "resource": "Vir", + "resource-file": "Datoteka vira", + "resource-files": "Datoteke virov", + "resource-library-details": "Podrobnosti vira", + "resource-type": "Vrsta vira", + "resources-library": "Knjižnica virov", + "search": "Iskanje virov", + "selected-resources": "Izbrano: { count, plural, =1 {1 vir} one {# vir} two {# vira} few {# viri} other {# virov} }", + "system": "Sistemski", + "title": "Naslov", + "title-required": "Naslov je obvezen.", + "title-max-length": "Naslov mora biti krajši od 256 znakov", + "type": { + "jks": "JKS", + "js-module": "Modul JS", + "lwm2m-model": "Model LWM2M", + "pkcs-12": "PKCS #12", + "general": "Splošno" + }, + "resource-sub-type": "Podvrsta", + "sub-type": { + "image": "Slika", + "scada-symbol": "Simbol SCADA", + "extension": "Razširitev", + "module": "Modul" + }, + "resource-is-in-use": "Vir uporabljajo druge entitete", + "resources-are-in-use": "Vire uporabljajo druge entitete", + "resource-is-in-use-text": "Vir »{{title}}« ni bil izbrisan, ker ga uporabljajo naslednje entitete:", + "resources-are-in-use-text": "Nekateri viri niso bili izbrisani, ker jih uporabljajo druge entitete.
    Entitete, ki se sklicujejo nanje, si lahko ogledate s klikom na gumb Reference v ustrezni vrstici vira.
    Če vseeno želite izbrisati te vire, jih izberite v spodnji tabeli in kliknite gumb Izbriši izbrane.", + "delete-resource-in-use-text": "Če vseeno želite izbrisati vir, kliknite gumb Vseeno izbriši." + }, + "javascript": { + "add": "Dodaj vir JavaScript", + "delete": "Izbriši vir JavaScript", + "delete-javascript-resource-text": "Pozor! Ko potrdite, vira JavaScript ne bo več mogoče obnoviti.", + "delete-javascript-resource-title": "Ali ste prepričani, da želite izbrisati vir JavaScript »{{resourceTitle}}«?", + "delete-javascript-resources-action-title": "Izbriši { count, plural, =1 {1 vir JavaScript} one {# vir JavaScript} two {# vira JavaScript} few {# vire JavaScript} other {# virov JavaScript} }", + "delete-javascript-resources-text": "Upoštevajte, da bodo izbrani viri JavaScript izbrisani, tudi če se uporabljajo v funkcijah JavaScript.", + "delete-javascript-resources-title": "Ali ste prepričani, da želite izbrisati { count, plural, =1 {1 vir JavaScript} one {# vir JavaScript} two {# vira JavaScript} few {# vire JavaScript} other {# virov JavaScript} }?", + "delete-javascript-resource-in-use-text": "Če vseeno želite izbrisati vir JavaScript, kliknite gumb Vseeno izbriši.", + "download": "Prenesi vir JavaScript", + "upload-from-file": "Naloži JavaScript iz datoteke", + "resource-file": "Datoteka vira JavaScript", + "drop-file": "Spustite datoteko JavaScript ali kliknite in izberite datoteko za nalaganje.", + "drop-resource-file-or": "Povlecite in spustite datoteko JavaScript ali", + "javascript-library": "Knjižnica JavaScript", + "javascript-type": "Vrsta skripta JavaScript", + "javascript-resource-details": "Podrobnosti vira JavaScript", + "javascript-resource-is-in-use": "Vir JavaScript uporabljajo druge entitete", + "javascript-resources-are-in-use": "Vire JavaScript uporabljajo druge entitete", + "javascript-resource-is-in-use-text": "Vir JavaScript »{{title}}« ni bil izbrisan, ker ga uporabljajo naslednje entitete:", + "javascript-resources-are-in-use-text": "Nekateri viri JavaScript niso bili izbrisani, ker jih uporabljajo druge entitete.
    Entitete, ki se sklicujejo nanje, si lahko ogledate s klikom na gumb Reference v ustrezni vrstici vira.
    Če vseeno želite izbrisati te vire JavaScript, jih izberite v spodnji tabeli in kliknite gumb Izbriši izbrane.", + "search": "Iskanje virov JavaScript", + "selected-javascript-resources": "Izbrano: { count, plural, =1 {1 vir JavaScript} one {# vir JavaScript} two {# vira JavaScript} few {# viri JavaScript} other {# virov JavaScript} }", + "no-javascript-resource-text": "Ni najdenih virov JavaScript", + "all-types": "Vse", + "module-script": "Skript modula" + }, + "rpc": { + "error": { + "target-device-is-not-set": "Ciljna naprava ni nastavljena!", + "invalid-target-entity": "Entiteta {{entityType}} ne podpira ukazov RPC.", + "failed-to-resolve-target-device": "Ciljne naprave ni bilo mogoče določiti!", + "request-timeout": "Potekla je časovna omejitev zahteve", + "rpc-http-error": "Napaka: {{status}} - {{statusText}}" + } + }, + "rulechain": { + "rulechain": "Veriga pravil", + "rulechain-events": "Dogodki verige pravil", + "rulechains": "Verige pravil", + "root": "Korenska", + "delete": "Izbriši verigo pravil", + "name": "Ime", + "name-required": "Ime je obvezno.", + "name-max-length": "Ime mora biti krajše od 256 znakov", + "description": "Opis", + "add": "Dodaj verigo pravil", + "set-root": "Naredi verigo pravil korensko", + "set-root-rulechain-title": "Ali ste prepričani, da želite verigo pravil »{{ruleChainName}}« narediti korensko?", + "set-root-rulechain-text": "Ko potrdite, bo veriga pravil postala korenska in bo obdelovala vsa dohodna transportna sporočila.", + "delete-rulechain-title": "Ali ste prepričani, da želite izbrisati verigo pravil »{{ruleChainName}}«?", + "delete-rulechain-text": "Pozor! Ko potrdite, verige pravil in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-rulechains-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# verigo pravil} two {# verigi pravil} few {# verige pravil} other {# verig pravil} }?", + "delete-rulechains-action-title": "Izbriši { count, plural, one {# verigo pravil} two {# verigi pravil} few {# verige pravil} other {# verig pravil} }", + "delete-rulechains-text": "Pozor! Ko potrdite, bodo vse izbrane verige pravil odstranjene, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "add-rulechain-text": "Dodaj novo verigo pravil", + "no-rulechains-text": "Ni najdenih verig pravil", + "rulechain-details": "Podrobnosti verige pravil", + "details": "Podrobnosti", + "events": "Dogodki", + "system": "Sistem", + "import": "Uvozi verigo pravil", + "export": "Izvozi verigo pravil", + "export-failed-error": "Verige pravil ni mogoče izvoziti: {{error}}", + "create-new-rulechain": "Ustvari novo verigo pravil", + "rulechain-file": "Datoteka verige pravil", + "invalid-rulechain-file-error": "Verige pravil ni mogoče uvoziti: neveljavna podatkovna struktura verige pravil.", + "copyId": "Kopiraj ID verige pravil", + "idCopiedMessage": "ID verige pravil je kopiran v odložišče", + "select-rulechain": "Izberi verigo pravil", + "no-rulechains-matching": "Ni verig pravil, ki bi se ujemale z iskalnim nizom »{{entity}}«.", + "rulechain-required": "Veriga pravil je obvezna", + "management": "Upravljanje pravil", + "debug-mode": "Način razhroščevanja", + "search": "Iskanje verig pravil", + "selected-rulechains": "Izbrano: { count, plural, one {# veriga pravil} two {# verigi pravil} few {# verige pravil} other {# verig pravil} }", + "open-rulechain": "Odpri verigo pravil", + "edge-template-root": "Korenska predloga Edge", + "assign-to-edge": "Dodeli Edge-u", + "edge-rulechain": "Veriga pravil Edge", + "unassign-rulechain-from-edge-text": "Ko potrdite, veriga pravil ne bo več dodeljena Edge-u in mu ne bo več dostopna.", + "unassign-rulechains-from-edge-title": "Ali ste prepričani, da želite preklicati dodelitev { count, plural, one {# verige pravil} two {# verig pravil} few {# verig pravil} other {# verig pravil} } Edge-u?", + "unassign-rulechains-from-edge-text": "Ko potrdite, izbrane verige pravil ne bodo več dodeljene Edge-u in mu ne bodo več dostopne.", + "assign-rulechain-to-edge-title": "Dodeli verige pravil Edge-u", + "assign-rulechain-to-edge-text": "Izberite verige pravil, ki jih želite dodeliti Edge-u", + "set-edge-template-root-rulechain": "Naredi verigo pravil korensko predlogo Edge", + "set-edge-template-root-rulechain-title": "Ali ste prepričani, da želite verigo pravil »{{ruleChainName}}« narediti korensko predlogo Edge?", + "set-edge-template-root-rulechain-text": "Ko potrdite, bo veriga pravil postala korenska predloga Edge in bo korenska veriga pravil za novo ustvarjene instance Edge.", + "invalid-rulechain-type-error": "Verige pravil ni mogoče uvoziti: neveljavna vrsta verige pravil. Pričakovana vrsta je {{expectedRuleChainType}}.", + "set-auto-assign-to-edge": "Ob ustvarjanju dodeli verigo pravil instancam Edge", + "set-auto-assign-to-edge-title": "Ali ste prepričani, da želite verigo pravil Edge »{{ruleChainName}}« ob ustvarjanju samodejno dodeliti instancam Edge?", + "set-auto-assign-to-edge-text": "Ko potrdite, bo veriga pravil Edge ob ustvarjanju samodejno dodeljena instancam Edge.", + "unset-auto-assign-to-edge": "Ob ustvarjanju ne dodeli verige pravil instancam Edge", + "unset-auto-assign-to-edge-title": "Ali ste prepričani, da verige pravil Edge »{{ruleChainName}}« ob ustvarjanju ne želite samodejno dodeliti instancam Edge?", + "unset-auto-assign-to-edge-text": "Ko potrdite, veriga pravil Edge ob ustvarjanju ne bo več samodejno dodeljena instancam Edge.", + "unassign-rulechain-title": "Ali ste prepričani, da želite preklicati dodelitev verige pravil »{{ruleChainName}}«?", + "unassign-rulechains": "Prekliči dodelitev verig pravil" + }, + "rulenode": { + "rule-node-events": "Dogodki vozlišča pravil", + "details": "Podrobnosti", + "events": "Dogodki", + "search": "Iskanje vozlišč", + "open-node-library": "Odpri knjižnico vozlišč", + "close-node-library": "Zapri knjižnico vozlišč", + "add": "Dodaj vozlišče pravil", + "name": "Ime", + "name-required": "Ime je obvezno.", + "name-max-length": "Ime mora biti krajše od 256 znakov", + "type": "Vrsta", + "rule-node-description": "Opis vozlišča pravil", + "delete": "Izbriši vozlišče pravil", + "select-all-objects": "Izberi vsa vozlišča in povezave", + "deselect-all-objects": "Prekliči izbor vseh vozlišč in povezav", + "delete-selected-objects": "Izbriši izbrana vozlišča in povezave", + "delete-selected": "Izbriši izbrane", + "create-nested-rulechain": "Ustvari gnezdeno verigo pravil", + "select-all": "Izberi vse", + "copy-selected": "Kopiraj izbrane", + "deselect-all": "Prekliči izbor vseh", + "rulenode-details": "Podrobnosti vozlišča pravil", + "debug-mode": "Način razhroščevanja", + "singleton": "En primerek", + "configuration": "Konfiguracija", + "link": "Povezava", + "link-details": "Podrobnosti povezave vozlišča pravil", + "add-link": "Dodaj povezavo", + "link-label": "Oznaka povezave", + "link-label-required": "Oznaka povezave je obvezna.", + "custom-link-label": "Oznaka povezave po meri", + "custom-link-label-required": "Oznaka povezave po meri je obvezna.", + "link-labels": "Oznake povezav", + "link-labels-required": "Oznake povezav so obvezne.", + "no-link-labels-found": "Ni najdenih oznak povezav", + "no-link-label-matching": "Oznake »{{label}}« ni mogoče najti.", + "create-new-link-label": "Ustvari novo oznako!", + "type-filter": "Filter", + "type-filter-details": "Filtrira dohodna sporočila z nastavljenimi pogoji", + "type-enrichment": "Obogatitev", + "type-enrichment-details": "Doda dodatne informacije v metapodatke sporočila", + "type-transformation": "Transformacija", + "type-transformation-details": "Spremeni vsebino sporočila in metapodatke", + "type-action": "Dejanje", + "type-action-details": "Izvede posebno dejanje", + "type-external": "Zunanje", + "type-external-details": "Komunicira z zunanjim sistemom", + "type-rule-chain": "Veriga pravil", + "type-rule-chain-details": "Posreduje dohodna sporočila določeni verigi pravil", + "type-flow": "Tok", + "type-flow-details": "Organizira tok sporočil", + "type-input": "Vhod", + "type-input-details": "Logični vhod verige pravil, posreduje dohodna sporočila naslednjemu povezanemu vozlišču pravil", + "type-unknown": "Neznano", + "type-unknown-details": "Nerazrešeno vozlišče pravil", + "directive-is-not-loaded": "Določena konfiguracijska direktiva »{{directiveName}}« ni na voljo.", + "ui-resources-load-error": "Virov konfiguracijskega uporabniškega vmesnika ni bilo mogoče naložiti.", + "invalid-target-rulechain": "Ciljne verige pravil ni bilo mogoče določiti!", + "test-script-function": "Preizkusi funkcijo skripta", + "script-lang-java-script": "JavaScript", + "script-lang-tbel": "TBEL", + "message": "Sporočilo", + "message-type": "Vrsta sporočila", + "select-message-type": "Izberite vrsto sporočila", + "message-type-required": "Vrsta sporočila je obvezna", + "metadata": "Metapodatki", + "metadata-required": "Vnosi metapodatkov ne smejo biti prazni.", + "output": "Izhod", + "test": "Preizkusi", + "help": "Pomoč", + "reset-debug-settings": "Ponastavi nastavitve razhroščevanja v vseh vozliščih", + "test-with-this-message": "{{test}} s tem sporočilom", + "queue-hint": "Izberite čakalno vrsto, v katero naj se posreduje sporočilo. Privzeto se uporablja čakalna vrsta »Main«.", + "queue-singleton-hint": "Izberite čakalno vrsto za posredovanje sporočil v okoljih z več instancami. Privzeto se uporablja čakalna vrsta »Main«." + }, + "rule-node-config": { + "id": "ID", + "additional-info": "Dodatne informacije", + "advanced-settings": "Napredne nastavitve", + "create-entity-if-not-exists": "Ustvari novo entiteto, če ne obstaja", + "create-entity-if-not-exists-hint": "Če je omogočeno, bo ustvarjena nova entiteta z določenimi parametri, razen če že obstaja. Obstoječe entitete bodo za relacijo uporabljene takšne, kot so.", + "select-device-connectivity-event": "Izberite dogodek povezljivosti naprave", + "entity-name-pattern": "Vzorec imena", + "device-name-pattern": "Ime naprave", + "asset-name-pattern": "Ime sredstva", + "entity-view-name-pattern": "Ime pogleda entitete", + "customer-title-pattern": "Naslov stranke", + "dashboard-name-pattern": "Naslov nadzorne plošče", + "user-name-pattern": "E-pošta uporabnika", + "edge-name-pattern": "Ime Edge-a", + "entity-name-pattern-required": "Vzorec imena je obvezen", + "entity-name-pattern-hint": "Polje vzorca imena podpira uporabo predlog. Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "copy-message-type": "Kopiraj vrsto sporočila", + "entity-type-pattern": "Vzorec vrste", + "entity-type-pattern-required": "Vzorec vrste je obvezen", + "message-type-value": "Vrednost vrste sporočila", + "message-type-value-required": "Vrednost vrste sporočila je obvezna", + "message-type-value-max-length": "Vrednost vrste sporočila mora biti krajša od 256 znakov", + "output-message-type": "Vrsta izhodnega sporočila", + "entity-cache-expiration": "Čas poteka predpomnilnika entitet (s)", + "entity-cache-expiration-hint": "Določa največji dovoljeni časovni interval za shranjevanje najdenih zapisov entitet. Vrednost 0 pomeni, da zapisi nikoli ne potečejo.", + "entity-cache-expiration-required": "Čas poteka predpomnilnika entitet je obvezen.", + "entity-cache-expiration-range": "Čas poteka predpomnilnika entitet mora biti večji ali enak 0.", + "customer-name-pattern": "Naslov stranke", + "customer-name-pattern-required": "Naslov stranke je obvezen", + "customer-name-pattern-hint": "Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "create-customer-if-not-exists": "Ustvari novo stranko, če ne obstaja", + "unassign-from-customer": "Prekliči dodelitev določeni stranki, če je izvor nadzorna plošča", + "unassign-from-customer-tooltip": "Samo nadzorne plošče je mogoče hkrati dodeliti več strankam.\nČe je izvor sporočila nadzorna plošča, morate izrecno navesti naslov stranke, za katero želite preklicati dodelitev.", + "customer-cache-expiration": "Čas poteka predpomnilnika strank (s)", + "customer-cache-expiration-hint": "Določa največji dovoljeni časovni interval za shranjevanje najdenih zapisov strank. Vrednost 0 pomeni, da zapisi nikoli ne potečejo.", + "customer-cache-expiration-required": "Čas poteka predpomnilnika strank je obvezen.", + "customer-cache-expiration-range": "Čas poteka predpomnilnika strank mora biti večji ali enak 0.", + "interval-start": "Začetek intervala", + "interval-end": "Konec intervala", + "time-unit": "Časovna enota", + "fetch-mode": "Način pridobivanja", + "order-by-timestamp": "Razvrsti po časovnem žigu", + "limit": "Omejitev", + "limit-hint": "Najmanjša vrednost omejitve je 2, največja pa 1000. Če želite pridobiti en sam vnos, izberite način pridobivanja »Prvi« ali »Zadnji«.", + "limit-required": "Omejitev je obvezna.", + "limit-range": "Omejitev mora biti med 2 in 1000.", + "time-unit-milliseconds": "Milisekunde", + "time-unit-seconds": "Sekunde", + "time-unit-minutes": "Minute", + "time-unit-hours": "Ure", + "time-unit-days": "Dnevi", + "time-value-range": "Dovoljene vrednosti: od 1 do 2147483647.", + "start-interval-value-required": "Začetek intervala je obvezen.", + "end-interval-value-required": "Konec intervala je obvezen.", + "filter": "Filter", + "switch": "Preklopnik", + "math-templatization-tooltip": "To polje podpira uporabo predlog. Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "add-message-type": "Dodaj vrsto sporočila", + "select-message-types-required": "Izbrana mora biti vsaj ena vrsta sporočila.", + "select-message-types": "Izberite vrste sporočil", + "no-message-types-found": "Ni najdenih vrst sporočil", + "no-message-type-matching": "Vrste sporočila »{{messageType}}« ni mogoče najti.", + "create-new-message-type": "Ustvari novo.", + "message-types-required": "Vrste sporočil so obvezne.", + "client-attributes": "Atributi odjemalca", + "shared-attributes": "Skupni atributi", + "server-attributes": "Atributi strežnika", + "attributes-keys": "Ključi atributov", + "attributes-keys-required": "Ključi atributov so obvezni", + "attributes-scope": "Obseg atributov", + "attributes-scope-value": "Vrednost obsega atributov", + "attributes-scope-value-copy": "Kopiraj vrednost obsega atributov", + "attributes-scope-hint": "Uporabite ključ metapodatkov 'scope' za dinamično nastavitev obsega atributov za posamezno sporočilo. Če je naveden, ima prednost pred obsegom, nastavljenim v konfiguraciji.", + "notify-device": "Vsili obvestilo napravi", + "send-attributes-updated-notification": "Pošlji obvestilo o posodobljenih atributih", + "send-attributes-updated-notification-hint": "Pošlji obvestilo o posodobljenih atributih kot ločeno sporočilo v čakalno vrsto mehanizma pravil.", + "send-attributes-deleted-notification": "Pošlji obvestilo o izbrisanih atributih", + "send-attributes-deleted-notification-hint": "Pošlji obvestilo o izbrisanih atributih kot ločeno sporočilo v čakalno vrsto mehanizma pravil.", + "update-attributes-only-on-value-change": "Shrani atribute samo, če se vrednost spremeni", + "update-attributes-only-on-value-change-hint": "Atribute posodobi ob vsakem dohodnem sporočilu, ne glede na to, ali se je njihova vrednost spremenila. To poveča uporabo API-ja in zmanjša zmogljivost.", + "update-attributes-only-on-value-change-hint-enabled": "Atribute posodobi samo, če se je njihova vrednost spremenila. Če se vrednost ni spremenila, ne bo posodobljen časovni žig atributa in ne bo poslano obvestilo o spremembi atributa.", + "fetch-credentials-to-metadata": "Pridobi poverilnice v metapodatke", + "notify-device-on-update-hint": "Če je omogočeno, vsili obvestilo napravi o posodobitvi skupnih atributov. Če je onemogočeno, vedenje obvestil določa parameter 'notifyDevice' iz metapodatkov dohodnega sporočila. Za izklop obvestila morajo metapodatki sporočila vsebovati parameter 'notifyDevice', nastavljen na 'false'. V vseh drugih primerih bo sproženo obvestilo napravi.", + "notify-device-on-delete-hint": "Če je omogočeno, vsili obvestilo napravi o odstranitvi skupnih atributov. Če je onemogočeno, vedenje obvestil določa parameter 'notifyDevice' iz metapodatkov dohodnega sporočila. Za vklop obvestila morajo metapodatki sporočila vsebovati parameter 'notifyDevice', nastavljen na 'true'. V vseh drugih primerih obvestilo napravi ne bo sproženo.", + "latest-timeseries": "Ključi najnovejših podatkov časovnih serij", + "timeseries-keys": "Ključi časovnih serij", + "timeseries-keys-required": "Izbran mora biti vsaj en ključ časovnih serij.", + "add-timeseries-key": "Dodaj ključ časovnih serij", + "add-message-field": "Dodaj polje sporočila", + "relation-search-parameters": "Parametri iskanja relacij", + "relation-parameters": "Parametri relacije", + "add-metadata-field": "Dodaj polje metapodatkov", + "data-keys": "Imena polj sporočila", + "copy-from": "Kopiraj iz", + "data-to-metadata": "Podatki v metapodatke", + "metadata-to-data": "Metapodatki v podatke", + "use-regular-expression-hint": "Uporabite regularni izraz za kopiranje ključev po vzorcu.\n\nNamigi in triki:\nPritisnite »Enter« za dokončanje vnosa imena polja.\nPritisnite »Backspace« za brisanje imena polja. Podprtih je več imen polj.", + "interval": "Interval", + "interval-required": "Interval je obvezen", + "interval-hint": "Interval deduplikacije v sekundah.", + "interval-min-error": "Najmanjša dovoljena vrednost je 1", + "max-pending-msgs": "Največ čakajočih sporočil", + "max-pending-msgs-hint": "Največje število sporočil, ki so shranjena v pomnilniku za vsak enolični ID deduplikacije.", + "max-pending-msgs-required": "Največje število čakajočih sporočil je obvezno", + "max-pending-msgs-max-error": "Največja dovoljena vrednost je 1000", + "max-pending-msgs-min-error": "Najmanjša dovoljena vrednost je 1", + "max-retries": "Največ ponovnih poskusov", + "max-retries-required": "Največje število ponovnih poskusov je obvezno", + "max-retries-hint": "Največje število ponovnih poskusov za vstavljanje dedupliciranih sporočil v čakalno vrsto. Med ponovnimi poskusi se uporabi 10-sekundna zakasnitev", + "max-retries-max-error": "Največja dovoljena vrednost je 100", + "max-retries-min-error": "Najmanjša dovoljena vrednost je 0", + "strategy": "Strategija", + "strategy-required": "Strategija je obvezna", + "strategy-all-hint": "Vrne vsa sporočila, ki so prispela v obdobju deduplikacije, kot eno sporočilo z matriko JSON. Vsak element je objekt z notranjima lastnostma msg in metadata.", + "strategy-first-hint": "Vrne prvo sporočilo, ki je prispelo v obdobju deduplikacije.", + "strategy-last-hint": "Vrne zadnje sporočilo, ki je prispelo v obdobju deduplikacije.", + "first": "Prvi", + "last": "Zadnji", + "all": "Vsi", + "output-msg-type-hint": "Vrsta sporočila rezultata deduplikacije.", + "queue-name-hint": "Ime čakalne vrste, v kateri bo objavljen rezultat deduplikacije.", + "keys": "Ključi", + "keys-required": "Ključi so obvezni", + "rename-keys-in": "Preimenuj ključe v", + "data": "Podatki", + "message": "Sporočilo", + "metadata": "Metapodatki", + "current-key-name": "Trenutno ime ključa", + "key-name-required": "Ime ključa je obvezno", + "new-key-name": "Novo ime ključa", + "new-key-name-required": "Novo ime ključa je obvezno", + "metadata-keys": "Imena polj metapodatkov", + "json-path-expression": "Izraz JSONPath", + "json-path-expression-required": "Izraz JSONPath je obvezen", + "json-path-expression-hint": "JSONPath določa pot do elementa ali nabora elementov v strukturi JSON. '$' predstavlja korenski objekt ali matriko.", + "relations-query": "Poizvedba po relacijah", + "device-relations-query": "Poizvedba po relacijah naprave", + "max-relation-level": "Največja raven relacije", + "max-relation-level-error": "Vrednost mora biti večja od 0 ali nedoločena.", + "max-relation-level-invalid": "Vrednost mora biti celo število.", + "relation-type": "Vrsta relacije", + "relation-type-pattern": "Vzorec vrste relacije", + "relation-type-pattern-required": "Vzorec vrste relacije je obvezen", + "relation-types-list": "Vrste relacij za posredovanje", + "relation-types-list-hint": "Če vrste relacij za posredovanje niso izbrane, bodo alarmi posredovani brez filtriranja po vrsti relacije.", + "unlimited-level": "Neomejena raven", + "latest-telemetry": "Najnovejša telemetrija", + "add-telemetry-key": "Dodaj ključ telemetrije", + "delete-from": "Izbriši iz", + "use-regular-expression-delete-hint": "Uporabite regularni izraz za brisanje ključev po vzorcu.\n\nNamigi in triki:\nPritisnite »Enter« za dokončanje vnosa imena polja.\nPritisnite »Backspace« za brisanje imena polja.\nPodprtih je več imen polj.", + "fetch-into": "Pridobi v", + "attr-mapping": "Preslikava atributov:", + "source-attribute": "Ključ izvornega atributa", + "source-attribute-required": "Ključ izvornega atributa je obvezen.", + "source-telemetry": "Ključ izvorne telemetrije", + "source-telemetry-required": "Ključ izvorne telemetrije je obvezen.", + "target-key": "Ciljni ključ", + "target-key-required": "Ciljni ključ je obvezen.", + "attr-mapping-required": "Naveden mora biti vsaj en vnos preslikave.", + "fields-mapping": "Preslikava polj", + "fields-mapping-hint": "Če je polje sporočila nastavljeno na $entityId, bo ID izvora sporočila shranjen v navedeni stolpec tabele.", + "relations-query-config-direction-suffix": "izvora", + "profile-name": "Ime profila", + "fetch-circle-parameter-info-from-metadata-hint": "Polje metapodatkov »{{perimeterKeyName}}« mora biti določeno v naslednji obliki: {\"latitude\":48.196, \"longitude\":24.6532, \"radius\":100.0, \"radiusUnit\":\"METER\"}", + "fetch-poligon-parameter-info-from-metadata-hint": "Polje metapodatkov »{{perimeterKeyName}}« mora biti določeno v naslednji obliki: [[48.19736,24.65235],[48.19800,24.65060],...,[48.19849,24.65420]]", + "short-templatization-tooltip": "Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "fields-mapping-required": "Navedena mora biti vsaj ena preslikava polja.", + "at-least-one-field-required": "Vsaj eno vhodno polje mora imeti podano vrednost.", + "originator-fields-sv-map-hint": "Polja ciljnega ključa podpirajo uporabo predlog. Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "sv-map-hint": "Samo polja ciljnega ključa podpirajo uporabo predlog. Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "source-field": "Izvorno polje", + "source-field-required": "Izvorno polje je obvezno.", + "originator-source": "Vir izvora", + "new-originator": "Nov izvor", + "originator-customer": "Stranka", + "originator-tenant": "Najemnik", + "originator-related": "Povezana entiteta", + "originator-alarm-originator": "Izvor alarma", + "originator-entity": "Entiteta po vzorcu imena", + "clone-message": "Kloniraj sporočilo", + "transform": "Preoblikuj", + "default-ttl": "Privzeti TTL", + "default-ttl-required": "Privzeti TTL je obvezen.", + "default-ttl-hint": "Vozlišče pravil bo vrednost TTL (Time-to-Live) pridobilo iz metapodatkov sporočila. Če vrednosti ni, se privzeto uporabi TTL, določen v konfiguraciji. Če je vrednost nastavljena na 0, bo uporabljen TTL iz konfiguracije profila najemnika.", + "default-ttl-zero-hint": "TTL ne bo uporabljen, če je njegova vrednost nastavljena na 0.", + "min-default-ttl-message": "Najmanjša dovoljena vrednost TTL je 0.", + "generation-parameters": "Parametri ustvarjanja", + "message-count": "Omejitev ustvarjenih sporočil (0 - neomejeno)", + "message-count-required": "Omejitev ustvarjenih sporočil je obvezna.", + "min-message-count-message": "Najmanjše dovoljeno število sporočil je 0.", + "period-seconds": "Obdobje v sekundah", + "period-seconds-required": "Obdobje je obvezno.", + "generation-frequency-seconds": "Pogostost ustvarjanja v sekundah", + "generation-frequency-required": "Pogostost ustvarjanja je obvezna.", + "min-generation-frequency-message": "Najmanjša dovoljena vrednost je 1 sekunda.", + "script-lang-tbel": "TBEL", + "script-lang-js": "JS", + "use-metadata-period-in-seconds-patterns": "Uporabi vzorec obdobja v sekundah", + "use-metadata-period-in-seconds-patterns-hint": "Če je izbrano, vozlišče pravil uporabi vzorec obdobja v sekundah iz metapodatkov ali podatkov sporočila, pri čemer predpostavi, da so intervali v sekundah.", + "period-in-seconds-pattern": "Vzorec obdobja v sekundah", + "period-in-seconds-pattern-required": "Vzorec obdobja v sekundah je obvezen", + "min-period-seconds-message": "Najmanjša dovoljena vrednost obdobja je 1 sekunda.", + "originator": "Izvor", + "message-body": "Vsebina sporočila", + "message-metadata": "Metapodatki sporočila", + "generate": "Ustvari", + "current-rule-node": "Trenutno vozlišče pravil", + "current-tenant": "Trenutni najemnik", + "generator-function": "Funkcija generatorja", + "test-generator-function": "Preizkusi funkcijo generatorja", + "generator": "Generator", + "test-filter-function": "Preizkusi funkcijo filtra", + "test-switch-function": "Preizkusi funkcijo preklopnika", + "test-transformer-function": "Preizkusi funkcijo preoblikovalnika", + "transformer": "Preoblikovalnik", + "alarm-create-condition": "Pogoj za ustvarjanje alarma", + "test-condition-function": "Preizkusi funkcijo pogoja", + "alarm-clear-condition": "Pogoj za ponastavitev alarma", + "alarm-details-builder": "Sestavljalnik podrobnosti alarma", + "test-details-function": "Preizkusi funkcijo podrobnosti", + "alarm-type": "Vrsta alarma", + "select-entity-types": "Izberite vrste entitet", + "alarm-type-required": "Vrsta alarma je obvezna.", + "alarm-severity": "Resnost alarma", + "alarm-severity-required": "Resnost alarma je obvezna", + "alarm-severity-pattern": "Vzorec resnosti alarma", + "alarm-status-filter": "Filter stanja alarma", + "alarm-status-list-empty": "Seznam stanj alarma je prazen", + "no-alarm-status-matching": "Ni ujemajočih se stanj alarma.", + "propagate": "Posreduj alarm povezanim entitetam", + "propagate-to-owner": "Posreduj alarm lastniku entitete (stranki ali najemniku)", + "propagate-to-tenant": "Posreduj alarm najemniku", + "condition": "Pogoj", + "details": "Podrobnosti", + "to-string": "Pretvori v niz", + "test-to-string-function": "Preizkusi funkcijo pretvorbe v niz", + "from-template": "Od", + "from-template-required": "Polje »Od« je obvezno", + "message-to-metadata": "Sporočilo v metapodatke", + "metadata-to-message": "Metapodatki v sporočilo", + "from-message": "Iz sporočila", + "from-metadata": "Iz metapodatkov", + "to-template": "Za", + "to-template-required": "Polje »Za« je obvezno", + "mail-address-list-template-hint": "Seznam naslovov, ločenih z vejicami; uporabite ${metadataKey} za vrednost iz metapodatkov in $[messageKey] za vrednost iz vsebine sporočila", + "cc-template": "Cc", + "bcc-template": "Bcc", + "subject-template": "Zadeva", + "subject-template-required": "Zadeva je obvezna", + "body-template": "Vsebina", + "body-template-required": "Vsebina je obvezna", + "dynamic-mail-body-type": "Dinamična vrsta vsebine e-pošte", + "mail-body-type": "Vrsta vsebine e-pošte", + "body-type-template": "Predloga vrste vsebine", + "reply-routing-configuration": "Konfiguracija usmerjanja odgovora", + "rpc-reply-routing-configuration-hint": "Ti konfiguracijski parametri določajo imena ključev metapodatkov, s katerimi se prepoznajo storitev, seja in zahteva pri pošiljanju odgovora nazaj.", + "reply-routing-configuration-hint": "Ti konfiguracijski parametri določajo imena ključev metapodatkov, s katerimi se prepoznata storitev in zahteva pri pošiljanju odgovora nazaj.", + "request-id-metadata-attribute": "ID zahteve", + "service-id-metadata-attribute": "ID storitve", + "session-id-metadata-attribute": "ID seje", + "timeout-sec": "Časovna omejitev v sekundah", + "timeout-required": "Časovna omejitev je obvezna", + "min-timeout-message": "Najmanjša dovoljena vrednost časovne omejitve je 0.", + "endpoint-url-pattern": "Vzorec URL-ja končne točke", + "endpoint-url-pattern-required": "Vzorec URL-ja končne točke je obvezen", + "request-method": "Metoda zahteve", + "use-simple-client-http-factory": "Uporabi preprosto tovarno odjemalca HTTP", + "ignore-request-body": "Brez telesa zahteve", + "parse-to-plain-text": "Pretvori v navadno besedilo", + "parse-to-plain-text-hint": "Če je izbrano, bo vsebina sporočila v telesu zahteve pretvorjena iz niza JSON v navadno besedilo, npr. msg = \"Hello,\\t\"world\"\" bo pretvorjeno v Hello, \"world\"", + "read-timeout": "Časovna omejitev branja v milisekundah", + "read-timeout-hint": "Vrednost 0 pomeni, da časovne omejitve ni", + "max-parallel-requests-count": "Največje število vzporednih zahtev", + "max-parallel-requests-count-hint": "Vrednost 0 pomeni, da pri vzporedni obdelavi ni omejitve", + "max-response-size": "Največja velikost odgovora (v KB)", + "max-response-size-hint": "Največja količina pomnilnika, dodeljena za medpomnjenje podatkov pri dekodiranju ali kodiranju sporočil HTTP, na primer vsebine sporočil v obliki JSON ali XML", + "headers": "Glave", + "headers-hint": "Uporabite ${metadataKey} za vrednost iz metapodatkov in $[messageKey] za vrednost iz vsebine sporočila v poljih glave/vrednosti", + "header": "Glava", + "header-required": "Glava je obvezna", + "value": "Vrednost", + "value-required": "Vrednost je obvezna", + "topic-pattern": "Vzorec teme", + "key-pattern": "Vzorec ključa", + "key-pattern-hint": "Izbirno. Če je navedena veljavna številka particije, bo uporabljena pri pošiljanju zapisa. Če particija ni navedena, bo namesto nje uporabljen ključ. Če ni naveden nobeden od njiju, bo particija dodeljena krožno (round-robin).", + "topic-pattern-required": "Vzorec teme je obvezen", + "topic": "Tema", + "topic-required": "Tema je obvezna", + "bootstrap-servers": "Strežniki Bootstrap", + "bootstrap-servers-required": "Vrednost strežnikov Bootstrap je obvezna", + "other-properties": "Druge lastnosti", + "key": "Ključ", + "key-required": "Ključ je obvezen", + "retries": "Število samodejnih ponovnih poskusov ob napaki", + "min-retries-message": "Najmanjše dovoljeno število ponovnih poskusov je 0.", + "batch-size-bytes": "Velikost paketa pri pošiljanju v bajtih", + "min-batch-size-bytes-message": "Najmanjša dovoljena velikost paketa je 0.", + "linger-ms": "Čas lokalnega medpomnjenja (ms)", + "min-linger-ms-message": "Najmanjša dovoljena vrednost je 0 ms.", + "buffer-memory-bytes": "Največja velikost medpomnilnika odjemalca v bajtih", + "min-buffer-memory-message": "Najmanjša dovoljena velikost medpomnilnika je 0.", + "memory-buffer-size-range": "Velikost medpomnilnika mora biti med 0 in {{max}} KB", + "acks": "Število potrditev", + "topic-arn-pattern": "Vzorec ARN teme", + "topic-arn-pattern-required": "Vzorec ARN teme je obvezen", + "aws-access-key-id": "ID ključa za dostop do AWS", + "aws-access-key-id-required": "ID ključa za dostop do AWS je obvezen", + "aws-secret-access-key": "Skrivni ključ za dostop do AWS", + "aws-secret-access-key-required": "Skrivni ključ za dostop do AWS je obvezen", + "aws-region": "Regija AWS", + "aws-region-required": "Regija AWS je obvezna", + "exchange-name-pattern": "Vzorec imena izmenjevalnika (exchange)", + "routing-key-pattern": "Vzorec usmerjevalnega ključa", + "message-properties": "Lastnosti sporočila", + "host": "Gostitelj", + "host-required": "Gostitelj je obvezen", + "port": "Vrata", + "port-required": "Vrata so obvezna", + "port-range": "Vrata morajo biti med 1 in 65535.", + "virtual-host": "Virtualni gostitelj", + "username": "Uporabniško ime", + "password": "Geslo", + "automatic-recovery": "Samodejna obnovitev", + "connection-timeout-ms": "Časovna omejitev povezave (ms)", + "min-connection-timeout-ms-message": "Najmanjša dovoljena vrednost je 0 ms.", + "handshake-timeout-ms": "Časovna omejitev rokovanja (ms)", + "min-handshake-timeout-ms-message": "Najmanjša dovoljena vrednost je 0 ms.", + "client-properties": "Lastnosti odjemalca", + "queue-url-pattern": "Vzorec URL-ja čakalne vrste", + "queue-url-pattern-required": "Vzorec URL-ja čakalne vrste je obvezen", + "delay-seconds": "Zakasnitev (s)", + "min-delay-seconds-message": "Najmanjša dovoljena vrednost je 0 sekund.", + "max-delay-seconds-message": "Največja dovoljena vrednost je 900 sekund.", + "name": "Ime", + "name-required": "Ime je obvezno", + "queue-type": "Vrsta čakalne vrste", + "sqs-queue-standard": "Standardna", + "sqs-queue-fifo": "FIFO", + "gcp-project-id": "ID projekta GCP", + "gcp-project-id-required": "ID projekta GCP je obvezen", + "gcp-service-account-key": "Datoteka ključa storitvenega računa GCP", + "gcp-service-account-key-required": "Datoteka ključa storitvenega računa GCP je obvezna", + "pubsub-topic-name": "Ime teme", + "pubsub-topic-name-required": "Ime teme je obvezno", + "message-attributes": "Atributi sporočila", + "message-attributes-hint": "Uporabite ${metadataKey} za vrednost iz metapodatkov in $[messageKey] za vrednost iz vsebine sporočila v poljih ime/vrednost", + "connect-timeout": "Časovna omejitev povezave (s)", + "connect-timeout-required": "Časovna omejitev povezave je obvezna.", + "connect-timeout-range": "Časovna omejitev povezave mora biti med 1 in 200.", + "client-id": "ID odjemalca", + "client-id-hint": "Izbirno. Pustite prazno za samodejno ustvarjen ID odjemalca. Pozor pri določanju ID-ja odjemalca: večina posrednikov MQTT ne dovoljuje več povezav z istim ID-jem odjemalca. Za povezavo s takšnimi posredniki mora biti vaš ID odjemalca MQTT enoličen. Ko se platforma izvaja v načinu mikrostoritev, se kopija vozlišča pravil zažene v vsaki mikrostoritvi. To samodejno privede do več odjemalcev MQTT z istim ID-jem, kar lahko povzroči napake vozlišča pravil. Da se takšnim napakam izognete, spodaj omogočite možnost »Dodaj ID storitve kot pripono k ID-ju odjemalca«.", + "append-client-id-suffix": "Dodaj ID storitve kot pripono k ID-ju odjemalca", + "client-id-suffix-hint": "Izbirno. Uporabi se, ko je »ID odjemalca« izrecno naveden. Če je izbrano, bo ID storitve dodan kot pripona k ID-ju odjemalca. Pomaga preprečiti napake, ko se platforma izvaja v načinu mikrostoritev.", + "device-id": "ID naprave", + "device-id-required": "ID naprave je obvezen.", + "clean-session": "Čista seja", + "enable-ssl": "Omogoči SSL", + "credentials": "Poverilnice", + "credentials-type": "Vrsta poverilnic", + "credentials-type-required": "Vrsta poverilnic je obvezna.", + "credentials-anonymous": "Anonimno", + "credentials-basic": "Osnovno", + "credentials-pem": "PEM", + "credentials-pem-hint": "Zahtevana je vsaj datoteka certifikata CA strežnika ali par datotek certifikata odjemalca in zasebnega ključa odjemalca", + "credentials-sas": "Podpis za skupni dostop (SAS)", + "sas-key": "Ključ SAS", + "sas-key-required": "Ključ SAS je obvezen.", + "hostname": "Ime gostitelja", + "hostname-required": "Ime gostitelja je obvezno.", + "azure-ca-cert": "Datoteka certifikata CA", + "username-required": "Uporabniško ime je obvezno.", + "password-required": "Geslo je obvezno.", + "ca-cert": "Datoteka certifikata CA strežnika", + "private-key": "Datoteka zasebnega ključa odjemalca", + "cert": "Datoteka certifikata odjemalca", + "no-file": "Ni izbrane datoteke.", + "drop-file": "Spustite datoteko sem ali kliknite, da jo izberete za nalaganje.", + "private-key-password": "Geslo zasebnega ključa", + "use-system-smtp-settings": "Uporabi sistemske nastavitve SMTP", + "use-metadata-dynamic-interval": "Uporabi dinamični interval", + "metadata-dynamic-interval-hint": "Vhodni polji za začetek in konec intervala podpirata uporabo predlog. Upoštevajte, da mora biti nadomeščena vrednost predloge nastavljena v milisekundah. Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "use-metadata-interval-patterns-hint": "Če je izbrano, vozlišče pravil uporabi vzorca začetka in konca intervala iz metapodatkov ali podatkov sporočila, pri čemer predpostavi, da so intervali v milisekundah.", + "use-message-alarm-data": "Uporabi podatke alarma iz sporočila", + "overwrite-alarm-details": "Prepiši podrobnosti alarma", + "use-alarm-severity-pattern": "Uporabi vzorec resnosti alarma", + "check-all-keys": "Preveri, ali so prisotna vsa navedena polja", + "check-all-keys-hint": "Če je izbrano, preveri, ali so vsi navedeni ključi prisotni v podatkih sporočila in metapodatkih.", + "check-relation-to-specific-entity": "Preveri relacijo z določeno entiteto", + "check-relation-to-specific-entity-tooltip": "Če je omogočeno, preveri prisotnost relacije z določeno entiteto; sicer preveri prisotnost relacije s katero koli entiteto. V obeh primerih iskanje relacije temelji na konfigurirani smeri in vrsti.", + "check-relation-hint": "Preveri obstoj relacije z določeno entiteto ali s katero koli entiteto glede na smer in vrsto relacije.", + "delete-relation-with-specific-entity": "Izbriši relacijo z določeno entiteto", + "delete-relation-with-specific-entity-hint": "Če je omogočeno, bo izbrisana relacija samo z eno določeno entiteto. Sicer bo relacija odstranjena pri vseh ujemajočih se entitetah.", + "delete-relation-hint": "Izbriše relacijo od izvora dohodnega sporočila do navedene entitete ali seznama entitet glede na smer in vrsto.", + "remove-current-relations": "Odstrani trenutne relacije", + "remove-current-relations-hint": "Odstrani trenutne relacije izvora dohodnega sporočila glede na smer in vrsto.", + "change-originator-to-related-entity": "Spremeni izvor v povezano entiteto", + "change-originator-to-related-entity-hint": "Uporablja se za obdelavo poslanega sporočila kot sporočila iz druge entitete.", + "start-interval": "Začetek intervala", + "end-interval": "Konec intervala", + "start-interval-required": "Začetek intervala je obvezen.", + "end-interval-required": "Konec intervala je obvezen.", + "smtp-protocol": "Protokol", + "smtp-host": "Gostitelj SMTP", + "smtp-host-required": "Gostitelj SMTP je obvezen.", + "smtp-port": "Vrata SMTP", + "smtp-port-required": "Vrata SMTP so obvezna.", + "smtp-port-range": "Vrata SMTP morajo biti med 1 in 65535.", + "timeout-msec": "Časovna omejitev (ms)", + "min-timeout-msec-message": "Najmanjša dovoljena vrednost je 0 ms.", + "enter-username": "Vnesite uporabniško ime", + "enter-password": "Vnesite geslo", + "enable-tls": "Omogoči TLS", + "tls-version": "Različica TLS", + "enable-proxy": "Omogoči posredniški strežnik", + "use-system-proxy-properties": "Uporabi sistemske lastnosti posredniškega strežnika", + "proxy-host": "Gostitelj posredniškega strežnika", + "proxy-host-required": "Gostitelj posredniškega strežnika je obvezen.", + "proxy-port": "Vrata posredniškega strežnika", + "proxy-port-required": "Vrata posredniškega strežnika so obvezna.", + "proxy-port-range": "Vrata posredniškega strežnika morajo biti med 1 in 65535.", + "proxy-user": "Uporabnik posredniškega strežnika", + "proxy-password": "Geslo posredniškega strežnika", + "proxy-scheme": "Shema posredniškega strežnika", + "numbers-to-template": "Predloga telefonskih številk prejemnikov", + "numbers-to-template-required": "Predloga telefonskih številk prejemnikov je obvezna", + "numbers-to-template-hint": "Telefonske številke, ločene z vejicami; uporabite ${metadataKey} za vrednost iz metapodatkov in $[messageKey] za vrednost iz vsebine sporočila", + "sms-message-template": "Predloga sporočila SMS", + "sms-message-template-required": "Predloga sporočila SMS je obvezna", + "use-system-sms-settings": "Uporabi sistemske nastavitve ponudnika SMS", + "min-period-0-seconds-message": "Najmanjša dovoljena vrednost obdobja je 0 sekund.", + "max-pending-messages": "Največ čakajočih sporočil", + "max-pending-messages-required": "Največje število čakajočih sporočil je obvezno.", + "max-pending-messages-range": "Največje število čakajočih sporočil mora biti med 1 in 100000.", + "originator-types-filter": "Filter vrst izvorov", + "interval-seconds": "Interval v sekundah", + "interval-seconds-required": "Interval je obvezen.", + "int-range": "Vrednost ne sme preseči največje dovoljene vrednosti celega števila (2147483648)", + "min-interval-seconds-message": "Najmanjša dovoljena vrednost intervala je 1 sekunda.", + "output-timeseries-key-prefix": "Predpona izhodnega ključa časovnih serij", + "output-timeseries-key-prefix-required": "Predpona izhodnega ključa časovnih serij je obvezna.", + "separator-hint": "Za dokončanje vnosa polja pritisnite »Enter«.", + "select-details": "Izberite podrobnosti", + "entity-details-id": "ID", + "entity-details-title": "Naslov", + "entity-details-country": "Država", + "entity-details-state": "Regija / pokrajina", + "entity-details-city": "Mesto", + "entity-details-zip": "Poštna številka", + "entity-details-address": "Naslov", + "entity-details-address2": "Naslov 2", + "entity-details-additional_info": "Dodatne informacije", + "entity-details-phone": "Telefon", + "entity-details-email": "E-pošta", + "email-sender": "Pošiljatelj e-pošte", + "fields-to-check": "Polja za preverjanje", + "add-detail": "Dodaj podrobnost", + "check-all-keys-tooltip": "Če je omogočeno, preveri prisotnost vseh polj, navedenih med imeni polj sporočila in metapodatkov, v dohodnem sporočilu in njegovih metapodatkih.", + "fields-to-check-hint": "Pritisnite »Enter« za dokončanje vnosa imena polja. Podprtih je več imen polj.", + "entity-details-list-empty": "Izbrana mora biti vsaj ena podrobnost.", + "alarm-status": "Stanje alarma", + "alarm-required": "Izbrano mora biti vsaj eno stanje alarma.", + "no-entity-details-matching": "Ni ujemajočih se podrobnosti entitete.", + "custom-table-name": "Ime tabele po meri", + "custom-table-name-required": "Ime tabele je obvezno", + "custom-table-hint": "Tabela mora biti ustvarjena v vaši gruči Cassandra, njeno ime pa se mora začeti s predpono 'cs_tb_', da se prepreči vstavljanje podatkov v skupne tabele TB. Tukaj vnesite ime tabele brez predpone 'cs_tb_'.", + "message-field": "Polje sporočila", + "message-field-required": "Polje sporočila je obvezno.", + "table-col": "Stolpec tabele", + "table-col-required": "Stolpec tabele je obvezen.", + "latitude-field-name": "Ime polja zemljepisne širine", + "longitude-field-name": "Ime polja zemljepisne dolžine", + "latitude-field-name-required": "Ime polja zemljepisne širine je obvezno.", + "longitude-field-name-required": "Ime polja zemljepisne dolžine je obvezno.", + "fetch-perimeter-info-from-metadata": "Pridobi podatke o obodu iz metapodatkov", + "fetch-perimeter-info-from-metadata-tooltip": "Če je vrsta oboda nastavljena na »Poligon«, bo vrednost polja metapodatkov »{{perimeterKeyName}}« uporabljena kot definicija oboda brez dodatnega razčlenjevanja vrednosti. V nasprotnem primeru, če je vrsta oboda nastavljena na »Krog«, bo vrednost polja metapodatkov »{{perimeterKeyName}}« razčlenjena, da se izvlečejo polja 'latitude', 'longitude', 'radius' in 'radiusUnit', ki se uporabljajo za definicijo oboda kroga.", + "perimeter-key-name": "Ime ključa oboda", + "perimeter-key-name-hint": "Ime polja metapodatkov, ki vsebuje informacije o obodu.", + "perimeter-key-name-required": "Ime ključa oboda je obvezno.", + "perimeter-circle": "Krog", + "perimeter-polygon": "Poligon", + "perimeter-type": "Vrsta oboda", + "circle-center-latitude": "Zemljepisna širina središča", + "circle-center-latitude-required": "Zemljepisna širina središča je obvezna.", + "circle-center-longitude": "Zemljepisna dolžina središča", + "circle-center-longitude-required": "Zemljepisna dolžina središča je obvezna.", + "range-unit-meter": "Meter", + "range-unit-kilometer": "Kilometer", + "range-unit-foot": "Čevelj", + "range-unit-mile": "Milja", + "range-unit-nautical-mile": "Navtična milja", + "range-units": "Enote razdalje", + "range-units-required": "Enote razdalje so obvezne.", + "range": "Razdalja", + "range-required": "Razdalja je obvezna.", + "polygon-definition": "Definicija poligona", + "polygon-definition-required": "Definicija poligona je obvezna.", + "polygon-definition-hint": "Za ročno definicijo poligona uporabite naslednjo obliko: [[lat1,lon1],[lat2,lon2], ... ,[latN,lonN]].", + "min-inside-duration": "Najkrajše trajanje zadrževanja znotraj", + "min-inside-duration-value-required": "Najkrajše trajanje zadrževanja znotraj je obvezno", + "min-inside-duration-time-unit": "Časovna enota najkrajšega trajanja zadrževanja znotraj", + "min-outside-duration": "Najkrajše trajanje zadrževanja zunaj", + "min-outside-duration-value-required": "Najkrajše trajanje zadrževanja zunaj je obvezno", + "min-outside-duration-time-unit": "Časovna enota najkrajšega trajanja zadrževanja zunaj", + "tell-failure-if-absent": "Javi neuspeh", + "tell-failure-if-absent-hint": "Če vsaj en izbrani ključ ne obstaja, bo odhodno sporočilo poslano po relaciji »Failure«.", + "get-latest-value-with-ts": "Pridobi časovni žig za najnovejše vrednosti telemetrije", + "get-latest-value-with-ts-hint": "Če je izbrano, bodo najnovejše vrednosti telemetrije vsebovale tudi časovni žig, npr.: \"temp\": \"{\"ts\":1574329385897, \"value\":42}\"", + "ignore-null-strings": "Prezri prazne nize", + "ignore-null-strings-hint": "Če je izbrano, bo vozlišče pravil prezrlo polja entitete s prazno vrednostjo.", + "add-metadata-key-values-as-kafka-headers": "Dodaj pare ključ-vrednost iz metapodatkov sporočila v glave zapisov Kafka", + "add-metadata-key-values-as-kafka-headers-hint": "Če je izbrano, bodo pari ključ-vrednost iz metapodatkov sporočila dodani v glave odhodnih zapisov kot polja bajtov z vnaprej določenim kodiranjem nabora znakov.", + "charset-encoding": "Kodiranje nabora znakov", + "charset-encoding-required": "Kodiranje nabora znakov je obvezno.", + "charset-us-ascii": "US-ASCII", + "charset-iso-8859-1": "ISO-8859-1", + "charset-utf-8": "UTF-8", + "charset-utf-16be": "UTF-16BE", + "charset-utf-16le": "UTF-16LE", + "charset-utf-16": "UTF-16", + "select-queue-hint": "Ime čakalne vrste lahko izberete s spustnega seznama ali dodate ime po meri.", + "device-profile-node-hint": "Uporabno, če imate pogoje trajanja ali ponavljanja, da zagotovite neprekinjeno vrednotenje stanja alarma.", + "persist-alarm-rules": "Trajno shrani stanje pravil za alarme", + "persist-alarm-rules-hint": "Če je omogočeno, bo vozlišče pravil shranilo stanje obdelave v zbirko podatkov.", + "fetch-alarm-rules": "Pridobi stanje pravil za alarme", + "fetch-alarm-rules-hint": "Če je omogočeno, bo vozlišče pravil ob inicializaciji obnovilo stanje obdelave in zagotovilo, da se alarmi sprožijo tudi po ponovnih zagonih strežnika. Sicer bo stanje obnovljeno, ko prispe prvo sporočilo iz naprave.", + "input-value-key": "Ključ vhodne vrednosti", + "input-value-key-required": "Ključ vhodne vrednosti je obvezen.", + "output-value-key": "Ključ izhodne vrednosti", + "output-value-key-required": "Ključ izhodne vrednosti je obvezen.", + "number-of-digits-after-floating-point": "Število decimalnih mest", + "number-of-digits-after-floating-point-range": "Število decimalnih mest mora biti med 0 in 15.", + "failure-if-delta-negative": "Javi neuspeh, če je delta negativna", + "failure-if-delta-negative-tooltip": "Vozlišče pravil povzroči neuspeh obdelave sporočila, če je vrednost delta negativna.", + "use-caching": "Uporabi predpomnjenje", + "use-caching-tooltip": "Vozlišče pravil bo za izboljšanje zmogljivosti predpomnilo vrednost »{{inputValueKey}}«, ki prispe iz dohodnega sporočila. Upoštevajte, da se predpomnilnik ne bo posodobil, če vrednost »{{inputValueKey}}« spremenite drugje.", + "add-time-difference-between-readings": "Dodaj časovno razliko med odčitki »{{inputValueKey}}«", + "add-time-difference-between-readings-tooltip": "Če je omogočeno, bo vozlišče pravil dodalo »{{periodValueKey}}« v odhodno sporočilo.", + "period-value-key": "Ključ vrednosti obdobja", + "period-value-key-required": "Ključ vrednosti obdobja je obvezen.", + "general-pattern-hint": "Uporabite ${metadataKey} za vrednost iz metapodatkov in $[messageKey] za vrednost iz vsebine sporočila.", + "alarm-severity-pattern-hint": "Uporabite ${metadataKey} za vrednost iz metapodatkov in $[messageKey] za vrednost iz vsebine sporočila. Resnost alarma mora biti sistemska (CRITICAL, MAJOR itd.)", + "output-node-name-hint": "Ime vozlišča pravil ustreza vrsti relacije izhodnega sporočila in se uporablja za posredovanje sporočil drugim vozliščem pravil v klicni verigi pravil.", + "use-server-ts": "Uporabi časovni žig strežnika", + "use-server-ts-hint": "Uporabite trenutni časovni žig strežnika za podatke časovnih serij, ki nimajo izrecnega časovnega žiga. To pomaga ohraniti pravilno zaporedje pri obdelavi sporočil iz več virov ali ko sporočila prispejo v napačnem vrstnem redu.", + "kv-map-pattern-hint": "Vsa vhodna polja podpirajo uporabo predlog. Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "kv-map-single-pattern-hint": "Vhodno polje podpira uporabo predlog. Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "shared-scope": "Skupni obseg", + "server-scope": "Obseg strežnika", + "client-scope": "Obseg odjemalca", + "attribute-type": "Atribut", + "attribute-type-description": "Pridobi vrednost atributa iz zbirke podatkov", + "attribute-type-result-description": "Shrani rezultat kot atribut entitete v zbirko podatkov", + "constant-type": "Konstanta", + "constant-type-description": "Določi konstantno vrednost", + "time-series-type": "Časovne serije", + "time-series-type-description": "Pridobi najnovejšo vrednost časovnih serij iz zbirke podatkov", + "time-series-type-result-description": "Shrani rezultat kot časovno serijo entitete v zbirko podatkov", + "message-body-type": "Sporočilo", + "message-body-type-description": "Pridobi vrednost argumenta iz dohodnega sporočila", + "message-body-type-result-description": "Dodaj rezultat v odhodno sporočilo", + "message-metadata-type": "Metapodatki", + "message-metadata-type-description": "Pridobi vrednost argumenta iz metapodatkov dohodnega sporočila", + "message-metadata-result-description": "Dodaj rezultat v metapodatke odhodnega sporočila", + "argument-tile": "Argumenti", + "no-arguments-prompt": "Ni konfiguriranih argumentov", + "result-title": "Rezultat", + "functions-field-input": "Funkcije", + "no-option-found": "Ni najdenih možnosti", + "argument-source-field-input": "Vir", + "argument-source-field-input-required": "Vir argumenta je obvezen.", + "argument-key-field-input": "Ključ", + "argument-key-field-input-required": "Ključ argumenta je obvezen.", + "constant-value-field-input": "Konstantna vrednost", + "constant-value-field-input-required": "Konstantna vrednost je obvezna.", + "attribute-scope-field-input": "Obseg atributa", + "attribute-scope-field-input-required": "Obseg atributa je obvezen.", + "default-value-field-input": "Privzeta vrednost", + "type-field-input": "Vrsta", + "type-field-input-required": "Vrsta je obvezna.", + "key-field-input": "Ključ", + "add-entity-type": "Dodaj vrsto entitete", + "add-device-profile": "Dodaj profil naprave", + "key-field-input-required": "Ključ je obvezen.", + "number-floating-point-field-input": "Število decimalnih mest", + "number-floating-point-field-input-hint": "Uporabite 0 za pretvorbo rezultata v celo število", + "add-to-message-field-input": "Dodaj v sporočilo", + "add-to-metadata-field-input": "Dodaj v metapodatke", + "custom-expression-field-input": "Matematični izraz", + "custom-expression-field-input-required": "Matematični izraz je obvezen", + "custom-expression-field-input-hint": "Navedite matematični izraz za vrednotenje. Privzeti izraz prikazuje, kako pretvoriti stopinje Fahrenheita v stopinje Celzija", + "retained-message": "Zadržano", + "attributes-mapping": "Preslikava atributov", + "latest-telemetry-mapping": "Preslikava najnovejše telemetrije", + "add-mapped-attribute-to": "Dodaj preslikane atribute v", + "add-mapped-latest-telemetry-to": "Dodaj preslikano najnovejšo telemetrijo v", + "add-mapped-fields-to": "Dodaj preslikana polja v", + "add-selected-details-to": "Dodaj izbrane podrobnosti v", + "clear-selected-types": "Počisti izbrane vrste", + "clear-selected-details": "Počisti izbrane podrobnosti", + "clear-selected-fields": "Počisti izbrana polja", + "clear-selected-keys": "Počisti izbrane ključe", + "geofence-configuration": "Konfiguracija geografske ograje", + "coordinate-field-names": "Imena koordinatnih polj", + "coordinate-field-hint": "Vozlišče pravil poskuša iz sporočila pridobiti navedena polja. Če jih ni, jih poišče v metapodatkih.", + "presence-monitoring-strategy": "Strategija spremljanja prisotnosti", + "presence-monitoring-strategy-on-first-message": "Ob prvem sporočilu", + "presence-monitoring-strategy-on-each-message": "Ob vsakem sporočilu", + "presence-monitoring-strategy-on-first-message-hint": "Sporoči stanje prisotnosti »Znotraj« ali »Zunaj« ob prvem sporočilu po poteku konfiguriranega najkrajšega trajanja od prejšnje posodobitve stanja prisotnosti »Vstopila« ali »Zapustila«.", + "presence-monitoring-strategy-on-each-message-hint": "Sporoči stanje prisotnosti »Znotraj« ali »Zunaj« ob vsakem sporočilu po posodobitvi stanja prisotnosti »Vstopila« ali »Zapustila«.", + "fetch-credentials-to": "Pridobi poverilnice v", + "add-originator-attributes-to": "Dodaj atribute izvora v", + "originator-attributes": "Atributi izvora", + "fetch-latest-telemetry-with-timestamp": "Pridobi najnovejšo telemetrijo s časovnim žigom", + "fetch-latest-telemetry-with-timestamp-tooltip": "Če je izbrano, bodo najnovejše vrednosti telemetrije dodane v odhodne metapodatke s časovnim žigom, npr.: \"{{latestTsKeyName}}\": \"{\"ts\":1574329385897, \"value\":42}\"", + "tell-failure": "Javi neuspeh, če manjka kateri od atributov", + "tell-failure-tooltip": "Če vsaj en izbrani ključ ne obstaja, bo odhodno sporočilo poslano po relaciji »Failure«.", + "created-time": "Čas ustvarjanja", + "chip-help": "Pritisnite »Enter« za dokončanje vnosa {{inputName}}.\nPritisnite »Backspace« za brisanje {{inputName}}.\nPodprtih je več vrednosti.", + "detail": "podrobnost", + "field-name": "ime polja", + "device-profile": "profil naprave", + "entity-type": "vrsta entitete", + "message-type": "vrsta sporočila", + "timeseries-key": "ključ časovnih serij", + "type": "Vrsta", + "first-name": "Ime", + "last-name": "Priimek", + "label": "Oznaka", + "originator-fields-mapping": "Preslikava polj izvora", + "add-mapped-originator-fields-to": "Dodaj preslikana polja izvora v", + "fields": "Polja", + "skip-empty-fields": "Preskoči prazna polja", + "skip-empty-fields-tooltip": "Polja s praznimi vrednostmi ne bodo dodana v izhodno sporočilo oziroma izhodne metapodatke.", + "fetch-interval": "Interval pridobivanja", + "fetch-strategy": "Strategija pridobivanja", + "fetch-timeseries-from-to": "Pridobi časovne serije za obdobje od {{startInterval}} {{startIntervalTimeUnit}} nazaj do {{endInterval}} {{endIntervalTimeUnit}} nazaj.", + "fetch-timeseries-from-to-invalid": "Neveljaven interval pridobivanja časovnih serij (»Začetek intervala« mora biti manjši od »Konec intervala«).", + "use-metadata-dynamic-interval-tooltip": "Če je izbrano, bo vozlišče pravil uporabilo dinamični začetek in konec intervala glede na vzorce sporočila in metapodatkov.", + "all-mode-hint": "Če je izbran način pridobivanja »Vsi«, bo vozlišče pravil pridobilo telemetrijo iz intervala pridobivanja z nastavljivimi parametri poizvedbe.", + "first-mode-hint": "Če je izbran način pridobivanja »Prvi«, bo vozlišče pravil pridobilo telemetrijo, ki je najbližje začetku intervala pridobivanja.", + "last-mode-hint": "Če je izbran način pridobivanja »Zadnji«, bo vozlišče pravil pridobilo telemetrijo, ki je najbližje koncu intervala pridobivanja.", + "ascending": "Naraščajoče", + "descending": "Padajoče", + "min": "Minimum", + "max": "Maksimum", + "average": "Povprečje", + "sum": "Vsota", + "count": "Število", + "none": "Brez", + "last-level-relation-tooltip": "Če je izbrano, bo vozlišče pravil iskalo povezane entitete samo na ravni, ki je nastavljena kot največja raven relacije.", + "last-level-device-relation-tooltip": "Če je izbrano, bo vozlišče pravil iskalo povezane naprave samo na ravni, ki je nastavljena kot največja raven relacije.", + "data-to-fetch": "Podatki za pridobitev", + "mapping-of-customers": "Preslikava podatkov stranke", + "map-fields-required": "Vsa polja preslikave so obvezna.", + "attributes": "Atributi", + "related-device-attributes": "Atributi povezane naprave", + "add-selected-attributes-to": "Dodaj izbrane atribute v", + "device-profiles": "Profili naprav", + "mapping-of-tenant": "Preslikava podatkov najemnika", + "add-attribute-key": "Dodaj ključ atributa", + "message-template": "Predloga sporočila", + "message-template-required": "Predloga sporočila je obvezna", + "use-system-slack-settings": "Uporabi sistemske nastavitve za Slack", + "slack-api-token": "Žeton API za Slack", + "slack-api-token-required": "Žeton API za Slack je obvezen", + "keys-mapping": "- preslikava ključev", + "add-key": "Dodaj ključ", + "recipients": "Prejemniki", + "message-subject-and-content": "Zadeva in vsebina sporočila", + "template-rules-hint": "Obe vhodni polji podpirata uporabo predlog. Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov sporočila.", + "originator-customer-desc": "Uporabi stranko izvora dohodnega sporočila kot novi izvor.", + "originator-tenant-desc": "Uporabi trenutnega najemnika kot novi izvor.", + "originator-related-entity-desc": "Uporabi povezano entiteto kot novi izvor. Iskanje temelji na konfigurirani vrsti in smeri relacije.", + "originator-alarm-originator-desc": "Uporabi izvor alarma kot novi izvor. Samo če je izvor dohodnega sporočila entiteta alarma.", + "originator-entity-by-name-pattern-desc": "Uporabi entiteto, pridobljeno iz zbirke podatkov, kot novi izvor. Iskanje temelji na vrsti entitete in navedenem vzorcu imena.", + "email-from-template-hint": "Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "recipients-block-main-hint": "Seznam naslovov, ločenih z vejicami. Vsa vhodna polja podpirajo uporabo predlog. Uporabite $[messageKey] za pridobitev vrednosti iz sporočila in ${metadataKey} za pridobitev vrednosti iz metapodatkov.", + "forward-msg-default-rule-chain": "Posreduj sporočilo v privzeto verigo pravil izvora", + "forward-msg-default-rule-chain-tooltip": "Če je omogočeno, bo sporočilo posredovano v privzeto verigo pravil izvora ali v verigo pravil iz konfiguracije, če izvor v profilu entitete nima določene privzete verige pravil.", + "exclude-zero-deltas": "Izključi ničelne delte iz odhodnega sporočila", + "exclude-zero-deltas-hint": "Če je omogočeno, bo izhodni ključ »{{outputValueKey}}« dodan v odhodno sporočilo, če njegova vrednost ni nič.", + "exclude-zero-deltas-time-difference-hint": "Če je omogočeno, bosta izhodna ključa »{{outputValueKey}}« in »{{periodValueKey}}« dodana v odhodno sporočilo samo, če vrednost »{{outputValueKey}}« ni nič.", + "search-direction-from": "Od izvora do ciljne entitete", + "search-direction-to": "Od ciljne entitete do izvora", + "del-relation-direction-from": "Od izvora", + "del-relation-direction-to": "Do izvora", + "target-entity": "Ciljna entiteta", + "function-configuration": "Konfiguracija funkcije", + "function-name": "Ime funkcije", + "function-name-required": "Ime funkcije je obvezno.", + "qualifier": "Kvalifikator", + "qualifier-hint": "Če kvalifikator ni naveden, bo uporabljen privzeti kvalifikator »$LATEST«.", + "aws-credentials": "Poverilnice AWS", + "connection-timeout": "Časovna omejitev povezave", + "connection-timeout-required": "Časovna omejitev povezave je obvezna.", + "connection-timeout-min": "Najmanjša časovna omejitev povezave je 0.", + "connection-timeout-hint": "Čas čakanja v sekundah pri začetnem vzpostavljanju povezave, preden se poskus opusti in nastopi časovna omejitev. Vrednost 0 pomeni neskončno in ni priporočljiva.", + "request-timeout": "Časovna omejitev zahteve", + "request-timeout-required": "Časovna omejitev zahteve je obvezna", + "request-timeout-min": "Najmanjša časovna omejitev zahteve je 0", + "request-timeout-hint": "Čas čakanja v sekundah, da se zahteva dokonča, preden se poskus opusti in nastopi časovna omejitev. Vrednost 0 pomeni neskončno in ni priporočljiva.", + "units": "Enote", + "tell-failure-aws-lambda": "Javi neuspeh, če izvajanje funkcije AWS Lambda sproži izjemo", + "tell-failure-aws-lambda-hint": "Vozlišče pravil označi obdelavo sporočila kot neuspešno, če izvajanje funkcije AWS Lambda sproži izjemo.", + "basic-mode": "Osnovno", + "advanced-mode": "Napredno", + "save-time-series": { + "processing-settings": "Nastavitve obdelave", + "processing-settings-hint": "Določite, kako se obdelujejo vhodna sporočila. Osnovne nastavitve obdelave omogočajo izbiro vnaprej konfiguriranih strategij, napredne nastavitve pa izbiro posameznih strategij obdelave za vsako dejanje.", + "advanced-settings-hint": "Bodite previdni pri konfiguriranju strategij obdelave. Nekatere kombinacije lahko povzročijo nepričakovano vedenje.", + "strategy": "Strategija", + "deduplication-interval": "Interval deduplikacije", + "deduplication-interval-required": "Interval deduplikacije je obvezen", + "deduplication-interval-min-max-range": "Interval deduplikacije mora biti najmanj 1 sekunda in največ 1 dan", + "strategy-type": { + "every-message": "Ob vsakem sporočilu", + "skip": "Preskoči", + "deduplicate": "Dedupliciraj", + "web-sockets-only": "Samo povezave WebSocket" + }, + "time-series": "Časovne serije", + "latest": "Najnovejše vrednosti", + "web-sockets": "Povezave WebSocket", + "calculated-fields-and-alarm-rules": "Izračunana polja in pravila za alarme" + }, + "save-attribute": { + "processing-settings": "Nastavitve obdelave", + "processing-settings-hint": "Določite, kako se obdelujejo vhodna sporočila. Osnovne nastavitve obdelave omogočajo izbiro vnaprej konfiguriranih strategij, napredne nastavitve pa izbiro posameznih strategij obdelave za vsako dejanje.", + "advanced-settings-hint": "Bodite previdni pri konfiguriranju strategij obdelave. Nekatere kombinacije lahko povzročijo nepričakovano vedenje.", + "strategy": "Strategija", + "deduplication-interval": "Interval deduplikacije", + "deduplication-interval-required": "Interval deduplikacije je obvezen", + "deduplication-interval-min-max-range": "Interval deduplikacije mora biti najmanj 1 sekunda in največ 1 dan", + "scope": "Obseg", + "strategy-type": { + "every-message": "Ob vsakem sporočilu", + "skip": "Preskoči", + "deduplicate": "Dedupliciraj", + "web-sockets-only": "Samo povezave WebSocket" + }, + "attributes": "Atributi" + }, + "key-val": { + "key": "Ključ", + "value": "Vrednost", + "see-examples": "Oglejte si primere.", + "remove-entry": "Odstrani vnos", + "remove-mapping-entry": "Odstrani vnos preslikave", + "add-mapping-entry": "Dodaj preslikavo", + "add-entry": "Dodaj vnos", + "copy-key-values-from": "Kopiraj pare ključ-vrednost iz", + "delete-key-values": "Izbriši pare ključ-vrednost", + "delete-key-values-from": "Izbriši pare ključ-vrednost iz", + "at-least-one-key-error": "Izbran mora biti vsaj en ključ.", + "unique-key-value-pair-error": "»{{keyText}}« se mora razlikovati od »{{valText}}«!" + }, + "mail-body-types": { + "plain-text": "Navadno besedilo", + "html": "HTML", + "dynamic": "Dinamično", + "use-body-type-template": "Uporabi predlogo vrste vsebine", + "plain-text-description": "Preprosto, neoblikovano besedilo brez posebnega sloga ali oblikovanja.", + "html-text-description": "Omogoča uporabo značk HTML za oblikovanje ter vstavljanje povezav in slik v vsebino e-poštnega sporočila.", + "dynamic-text-description": "Omogoča dinamično izbiro med navadnim besedilom in HTML na podlagi predloge.", + "after-template-evaluation-hint": "Po vrednotenju predloge mora biti vrednost true za HTML in false za navadno besedilo." + }, + "ai": { + "ai-model": "Model umetne inteligence", + "model": "Model", + "ai-model-hint": "Izberite vnaprej konfiguriran model umetne inteligence za obdelavo zahtev, ki jih pošilja to vozlišče pravil, ali uporabite »Ustvari novo« za konfiguracijo novega.", + "prompt-settings": "Nastavitve pozivov", + "prompt-settings-hint": "Izbirni sistemski poziv določa splošno vlogo in omejitve umetne inteligence, uporabniški poziv pa konkretno nalogo, ki jo je treba opraviti. Obe polji podpirata tudi uporabo predlog.", + "system-prompt": "Sistemski poziv", + "system-prompt-max-length": "Sistemski poziv mora vsebovati največ 500000 znakov.", + "system-prompt-blank": "Sistemski poziv ne sme biti prazen.", + "user-prompt": "Uporabniški poziv", + "user-prompt-required": "Uporabniški poziv je obvezen.", + "user-prompt-max-length": "Uporabniški poziv mora vsebovati največ 500000 znakov.", + "user-prompt-blank": "Uporabniški poziv ne sme biti prazen.", + "response-format": "Oblika odgovora", + "response-text": "Besedilo", + "response-json": "JSON", + "response-json-schema": "Shema JSON", + "response-format-hint-TEXT": "Modelu omogoča ustvarjanje poljubnega besedila, ki je lahko veljaven objekt JSON ali pa ne. Če izhod ni veljaven objekt JSON, bo samodejno ovit v objekt JSON pod ključem \"response\".", + "response-format-hint-JSON": "Model mora ustvariti odgovor, ki je veljaven JSON. Če izhod ni veljaven objekt JSON, bo samodejno ovit v objekt JSON pod ključem \"response\".", + "response-format-hint-JSON_SCHEMA": "Model mora ustvariti JSON, ki ustreza strukturi in vrstam podatkov, določenim v podani shemi. Če izhod ni veljaven objekt JSON, bo samodejno ovit v objekt JSON pod ključem \"response\".", + "response-json-schema-hint": "Čeprav je mogoče vnesti katero koli veljavno shemo JSON, to vozlišče pravil podpira le omejen podnabor njenih funkcij. Za podrobnosti glejte dokumentacijo vozlišča.", + "response-json-schema-required": "Shema JSON je obvezna", + "advanced-settings": "Napredne nastavitve", + "timeout": "Časovna omejitev", + "timeout-hint": "Najdaljši čas čakanja na odgovor \nmodela umetne inteligence, preden se zahteva prekine.", + "timeout-required": "Časovna omejitev je obvezna", + "timeout-validation": "Vrednost mora biti med 1 sekundo in 10 minutami.", + "force-acknowledgement": "Vsili potrditev prejema", + "force-acknowledgement-hint": "Če je omogočeno, je vhodno sporočilo takoj potrjeno. Odgovor modela je nato dodan v čakalno vrsto kot ločeno novo sporočilo.", + "ai-resources": "Viri umetne inteligence" + } + }, + "timezone": { + "timezone": "Časovni pas", + "select-timezone": "Izberite časovni pas", + "no-timezones-matching": "Ni časovnih pasov, ki bi se ujemali z iskalnim nizom »{{timezone}}«.", + "timezone-required": "Časovni pas je obvezen.", + "browser-time": "Čas brskalnika" + }, + "queue": { + "queue-name": "Čakalna vrsta", + "no-queues-found": "Ni najdenih čakalnih vrst.", + "no-queues-matching": "Ni čakalnih vrst, ki bi se ujemale z iskalnim nizom »{{queue}}«.", + "select-name": "Izberite ime čakalne vrste", + "name": "Ime", + "name-required": "Ime čakalne vrste je obvezno!", + "name-unique": "Ime čakalne vrste ni enolično!", + "name-pattern": "Ime čakalne vrste vsebuje znak, ki ni črka ali številka ASCII, '.', '_' ali '-'!", + "queue-required": "Čakalna vrsta je obvezna!", + "topic-required": "Tema čakalne vrste je obvezna!", + "poll-interval-required": "Interval preverjanja je obvezen!", + "poll-interval-min-value": "Vrednost intervala preverjanja ne sme biti manjša od 1", + "partitions-required": "Particije so obvezne!", + "partitions-min-value": "Število particij ne sme biti manjše od 1", + "pack-processing-timeout-required": "Časovna omejitev obdelave je obvezna", + "pack-processing-timeout-min-value": "Vrednost časovne omejitve obdelave ne sme biti manjša od 1", + "batch-size-required": "Velikost paketa je obvezna!", + "batch-size-min-value": "Vrednost velikosti paketa ne sme biti manjša od 1", + "retries-required": "Število ponovnih poskusov je obvezno!", + "retries-min-value": "Število ponovnih poskusov ne sme biti negativno", + "failure-percentage-required": "Odstotek neuspehov je obvezen!", + "failure-percentage-min-value": "Vrednost odstotka neuspehov ne sme biti manjša od 0", + "failure-percentage-max-value": "Vrednost odstotka neuspehov ne sme biti večja od 100", + "pause-between-retries-required": "Premor med ponovnimi poskusi je obvezen!", + "pause-between-retries-min-value": "Vrednost premora med ponovnimi poskusi ne sme biti manjša od 1", + "max-pause-between-retries-required": "Najdaljši premor med ponovnimi poskusi je obvezen!", + "max-pause-between-retries-min-value": "Vrednost najdaljšega premora med ponovnimi poskusi ne sme biti manjša od 1", + "submit-strategy-type-required": "Vrsta strategije oddaje je obvezna!", + "processing-strategy-type-required": "Vrsta strategije obdelave je obvezna!", + "queues": "Čakalne vrste", + "selected-queues": "Izbrano: { count, plural, one {# čakalna vrsta} two {# čakalni vrsti} few {# čakalne vrste} other {# čakalnih vrst} }", + "delete-queue-title": "Ali ste prepričani, da želite izbrisati čakalno vrsto »{{queueName}}«?", + "delete-queues-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# čakalno vrsto} two {# čakalni vrsti} few {# čakalne vrste} other {# čakalnih vrst} }?", + "delete-queue-text": "Pozor! Ko potrdite, čakalne vrste in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-queues-text": "Ko potrdite, bodo vse izbrane čakalne vrste izbrisane in ne bodo več dostopne.", + "search": "Iskanje čakalnih vrst", + "add" : "Dodaj čakalno vrsto", + "details": "Podrobnosti čakalne vrste", + "topic": "Tema", + "submit-settings": "Nastavitve oddaje", + "submit-strategy": "Vrsta strategije oddaje *", + "grouping-parameter": "Parameter združevanja", + "processing-settings": "Nastavitve obdelave ponovnih poskusov", + "processing-strategy": "Vrsta strategije obdelave *", + "retries-settings": "Nastavitve ponovnih poskusov", + "polling-settings": "Nastavitve preverjanja", + "batch-processing": "Paketna obdelava", + "poll-interval": "Interval preverjanja", + "partitions": "Particije", + "immediate-processing": "Takojšnja obdelava", + "consumer-per-partition": "Preverjaj sporočila za vsakega porabnika", + "consumer-per-partition-hint": "Omogoči ločene porabnike za vsako particijo", + "duplicate-msg-to-all-partitions": "Podvoji sporočilo v vse particije", + "processing-timeout": "Časovna omejitev obdelave, ms", + "batch-size": "Velikost paketa", + "retries": "Število ponovnih poskusov (0 – neomejeno)", + "failure-percentage": "Delež neuspešnih sporočil za preskok ponovnih poskusov, %", + "pause-between-retries": "Ponovi po, s", + "max-pause-between-retries": "Dodatni ponovni poskus po, s", + "delete": "Izbriši čakalno vrsto", + "copyId": "Kopiraj ID čakalne vrste", + "idCopiedMessage": "ID čakalne vrste je kopiran v odložišče", + "description": "Opis", + "description-hint": "To besedilo bo prikazano v opisu čakalne vrste namesto izbrane strategije", + "alt-description": "Strategija oddaje: {{submitStrategy}}, strategija obdelave: {{processingStrategy}}", + "custom-properties": "Lastnosti po meri", + "custom-properties-hint": "Lastnosti po meri za ustvarjanje čakalne vrste (teme), npr. 'retention.ms:604800000;retention.bytes:1048576000'", + "strategies": { + "sequential-by-originator-label": "Zaporedno po izvoru", + "sequential-by-originator-hint": "Novo sporočilo za npr. napravo A se ne odda, dokler prejšnje sporočilo za napravo A ni potrjeno", + "sequential-by-tenant-label": "Zaporedno po najemniku", + "sequential-by-tenant-hint": "Novo sporočilo za npr. najemnika A se ne odda, dokler prejšnje sporočilo za najemnika A ni potrjeno", + "sequential-label": "Zaporedno", + "sequential-hint": "Novo sporočilo se ne odda, dokler prejšnje sporočilo ni potrjeno", + "burst-label": "V sunkih", + "burst-hint": "Vsa sporočila se oddajo verigam pravil v vrstnem redu, v katerem prispejo", + "batch-label": "Paketno", + "batch-hint": "Nov paket se ne odda, dokler prejšnji paket ni potrjen", + "skip-all-failures-label": "Preskoči vse napake", + "skip-all-failures-hint": "Prezri vse napake", + "skip-all-failures-and-timeouts-label": "Preskoči vse napake in prekoračitve časovne omejitve", + "skip-all-failures-and-timeouts-hint": "Prezri vse napake in prekoračitve časovne omejitve", + "retry-all-label": "Ponovi vse", + "retry-all-hint": "Ponovi vsa sporočila iz paketa za obdelavo", + "retry-failed-label": "Ponovi neuspešna", + "retry-failed-hint": "Ponovi vsa neuspešna sporočila iz paketa za obdelavo", + "retry-timeout-label": "Ponovi pri časovni omejitvi", + "retry-timeout-hint": "Ponovi vsa sporočila iz paketa za obdelavo, pri katerih je potekla časovna omejitev", + "retry-failed-and-timeout-label": "Ponovi pri napaki ali časovni omejitvi", + "retry-failed-and-timeout-hint": "Ponovi vsa neuspešna sporočila in sporočila, pri katerih je potekla časovna omejitev, iz paketa za obdelavo" + } + }, + "queue-statistics": { + "queue-statistics": "Statistika čakalne vrste", + "no-queue-statistics-matching": "Ni statistik čakalnih vrst, ki bi se ujemale z iskalnim nizom »{{entity}}«.", + "queue-statistics-required": "Statistika čakalne vrste je obvezna.", + "list-of-queue-statistics": "{ count, plural, =1 {Ena statistika čakalne vrste} one {Seznam # statistike čakalne vrste} two {Seznam # statistik čakalnih vrst} few {Seznam # statistik čakalnih vrst} other {Seznam # statistik čakalnih vrst} }", + "selected-queue-statistics": "Izbrano: { count, plural, one {# statistika čakalne vrste} two {# statistiki čakalnih vrst} few {# statistike čakalnih vrst} other {# statistik čakalnih vrst} }", + "no-queue-statistics-text": "Ni najdenih statistik čakalnih vrst", + "queue-statistics-starts-with": "Statistike čakalnih vrst, katerih imena se začnejo z nizom »{{prefix}}«" + }, + "server-error": { + "general": "Splošna napaka strežnika", + "authentication": "Napaka pri avtentikaciji", + "jwt-token-expired": "Žeton JWT je potekel", + "tenant-trial-expired": "Preizkusno obdobje najemnika je poteklo", + "credentials-expired": "Poverilnice so potekle", + "permission-denied": "Dostop zavrnjen", + "invalid-arguments": "Neveljavni argumenti", + "bad-request-params": "Neveljavni parametri zahteve", + "item-not-found": "Elementa ni mogoče najti", + "too-many-requests": "Preveč zahtev", + "too-many-updates": "Preveč posodobitev", + "entities-limit-exceeded": "Omejitev števila entitet je presežena" + }, + "tenant": { + "tenant": "Najemnik", + "tenants": "Najemniki", + "management": "Upravljanje najemnikov", + "add": "Dodaj najemnika", + "admins": "Skrbniki", + "manage-tenant-admins": "Upravljaj skrbnike", + "delete": "Izbriši najemnika", + "add-tenant-text": "Dodaj novega najemnika", + "no-tenants-text": "Ni najdenih najemnikov", + "tenant-details": "Podrobnosti najemnika", + "title-max-length": "Naslov mora biti krajši od 256 znakov", + "delete-tenant-title": "Ali ste prepričani, da želite izbrisati najemnika »{{tenantTitle}}«?", + "delete-tenant-text": "Pozor! Ko potrdite, najemnika in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-tenants-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# najemnika} two {# najemnika} few {# najemnike} other {# najemnikov} }?", + "delete-tenants-action-title": "Izbriši { count, plural, one {# najemnika} two {# najemnika} few {# najemnike} other {# najemnikov} }", + "delete-tenants-text": "Pozor! Ko potrdite, bodo vsi izbrani najemniki odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "title": "Naslov", + "title-required": "Naslov je obvezen.", + "description": "Opis", + "details": "Podrobnosti", + "events": "Dogodki", + "copyId": "Kopiraj ID najemnika", + "idCopiedMessage": "ID najemnika je kopiran v odložišče", + "select-tenant": "Izberi najemnika", + "no-tenants-matching": "Ni najemnikov, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "tenant-required": "Najemnik je obvezen", + "search": "Iskanje najemnikov", + "selected-tenants": "Izbrano: { count, plural, one {# najemnik} two {# najemnika} few {# najemniki} other {# najemnikov} }", + "isolated-tb-rule-engine": "Uporabi izolirane čakalne vrste mehanizma pravil ThingsBoard", + "isolated-tb-rule-engine-details": "Vsak najemnik bo imel namenske čakalne vrste mehanizma pravil" + }, + "tenant-profile": { + "tenant-profile": "Profil najemnika", + "tenant-profiles": "Profili najemnikov", + "add": "Dodaj profil najemnika", + "add-profile": "Dodaj profil", + "debug": "Razhroščevanje", + "edit": "Uredi profil najemnika", + "tenant-profile-details": "Podrobnosti profila najemnika", + "no-tenant-profiles-text": "Ni najdenih profilov najemnikov", + "name-max-length": "Ime mora biti krajše od 256 znakov", + "search": "Iskanje profilov najemnikov", + "selected-tenant-profiles": "Izbrano: { count, plural, one {# profil najemnika} two {# profila najemnikov} few {# profili najemnikov} other {# profilov najemnikov} }", + "no-tenant-profiles-matching": "Ni profilov najemnikov, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "tenant-profile-required": "Profil najemnika je obvezen", + "idCopiedMessage": "ID profila najemnika je kopiran v odložišče", + "set-default": "Naredi profil najemnika privzet", + "delete": "Izbriši profil najemnika", + "copyId": "Kopiraj ID profila najemnika", + "name": "Ime", + "name-required": "Ime je obvezno.", + "data": "Podatki profila", + "profile-configuration": "Konfiguracija profila", + "description": "Opis", + "default": "Privzet", + "delete-tenant-profile-title": "Ali ste prepričani, da želite izbrisati profil najemnika »{{tenantProfileName}}«?", + "delete-tenant-profile-text": "Pozor! Ko potrdite, profila najemnika in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-tenant-profiles-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# profil najemnika} two {# profila najemnikov} few {# profile najemnikov} other {# profilov najemnikov} }?", + "delete-tenant-profiles-text": "Pozor! Ko potrdite, bodo vsi izbrani profili najemnikov odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "set-default-tenant-profile-title": "Ali ste prepričani, da želite profil najemnika »{{tenantProfileName}}« narediti privzet?", + "set-default-tenant-profile-text": "Ko potrdite, bo profil najemnika označen kot privzet in uporabljen za nove najemnike, za katere profil ni določen.", + "no-tenant-profiles-found": "Ni najdenih profilov najemnikov.", + "create-new-tenant-profile": "Ustvari nov profil!", + "create-tenant-profile": "Ustvari nov profil najemnika", + "import": "Uvozi profil najemnika", + "export": "Izvozi profil najemnika", + "export-failed-error": "Profila najemnika ni bilo mogoče izvoziti: {{error}}", + "tenant-profile-file": "Datoteka profila najemnika", + "invalid-tenant-profile-file-error": "Profila najemnika ni mogoče uvoziti: neveljavna struktura podatkov profila najemnika.", + "advanced-settings": "Napredne nastavitve", + "entities": "Entitete", + "rule-engine": "Mehanizem pravil", + "time-to-live": "Trajanje hrambe", + "calculated-fields": "Izračunana polja", + "alarms-and-notifications": "Alarmi in obvestila", + "ota-files-in-bytes": "Datoteke", + "ws-title": "WS", + "unlimited": "(0 - neomejeno)", + "maximum-devices": "Največje število naprav", + "maximum-devices-required": "Največje število naprav je obvezno.", + "maximum-devices-range": "Največje število naprav ne sme biti negativno", + "maximum-assets": "Največje število sredstev", + "maximum-assets-required": "Največje število sredstev je obvezno.", + "maximum-assets-range": "Največje število sredstev ne sme biti negativno", + "maximum-customers": "Največje število strank", + "maximum-customers-required": "Največje število strank je obvezno.", + "maximum-customers-range": "Največje število strank ne sme biti negativno", + "maximum-users": "Največje število uporabnikov", + "maximum-users-required": "Največje število uporabnikov je obvezno.", + "maximum-users-range": "Največje število uporabnikov ne sme biti negativno", + "maximum-dashboards": "Največje število nadzornih plošč", + "maximum-dashboards-required": "Največje število nadzornih plošč je obvezno.", + "maximum-dashboards-range": "Največje število nadzornih plošč ne sme biti negativno", + "maximum-edges": "Največje število instanc Edge", + "maximum-edges-required": "Največje število instanc Edge je obvezno.", + "maximum-edges-range": "Največje število instanc Edge ne sme biti negativno", + "maximum-rule-chains": "Največje število verig pravil", + "maximum-rule-chains-required": "Največje število verig pravil je obvezno.", + "maximum-rule-chains-range": "Največje število verig pravil ne sme biti negativno", + "maximum-resources-sum-data-size": "Največja skupna velikost datotek virov (v bajtih)", + "maximum-resources-sum-data-size-required": "Največja skupna velikost datotek virov je obvezna.", + "maximum-resources-sum-data-size-range": "Največja skupna velikost datotek virov ne sme biti negativna", + "maximum-resource-size": "Največja velikost datoteke vira (v bajtih)", + "maximum-resource-size-required": "Največja velikost datoteke vira je obvezna", + "maximum-resource-size-range": "Največja velikost datoteke vira ne sme biti negativna", + "maximum-ota-packages-sum-data-size": "Največja skupna velikost datotek paketov OTA (v bajtih)", + "maximum-ota-package-sum-data-size-required": "Največja skupna velikost datotek paketov OTA je obvezna.", + "maximum-ota-package-sum-data-size-range": "Največja skupna velikost datotek paketov OTA ne sme biti negativna", + "maximum-debug-duration-min": "Največje trajanje razhroščevanja (min)", + "maximum-debug-duration-min-range": "Največje trajanje razhroščevanja ne sme biti negativno", + "rest-requests-for-tenant": "Zahteve REST za najemnika", + "transport-tenant-telemetry-msg-rate-limit": "Transportna telemetrijska sporočila najemnika", + "transport-tenant-telemetry-data-points-rate-limit": "Transportne telemetrijske podatkovne točke najemnika", + "transport-device-msg-rate-limit": "Transportna sporočila naprave", + "transport-device-telemetry-msg-rate-limit": "Transportna telemetrijska sporočila naprave", + "transport-device-telemetry-data-points-rate-limit": "Transportne telemetrijske podatkovne točke naprave", + "transport-gateway-msg-rate-limit": "Transportna sporočila prehoda", + "transport-gateway-telemetry-msg-rate-limit": "Transportna telemetrijska sporočila prehoda", + "transport-gateway-telemetry-data-points-rate-limit": "Transportne telemetrijske podatkovne točke prehoda", + "transport-gateway-device-msg-rate-limit": "Transportna sporočila naprave prehoda", + "transport-gateway-device-telemetry-msg-rate-limit": "Transportna telemetrijska sporočila naprave prehoda", + "transport-gateway-device-telemetry-data-points-rate-limit": "Transportne telemetrijske podatkovne točke naprave prehoda", + "tenant-entity-export-rate-limit": "Ustvarjanje različic entitet", + "tenant-entity-import-rate-limit": "Nalaganje različic entitet", + "tenant-notification-request-rate-limit": "Zahteve za obvestila", + "tenant-notification-requests-per-rule-rate-limit": "Zahteve za obvestila na pravilo", + "max-calculated-fields": "Največje število izračunanih polj na entiteto", + "max-calculated-fields-range": "Največje število izračunanih polj na entiteto ne sme biti negativno", + "max-calculated-fields-required": "Največje število izračunanih polj na entiteto je obvezno", + "max-data-points-per-rolling-arg": "Največje število podatkovnih točk v argumentih vrste »Časovne serije v drsečem oknu«", + "max-data-points-per-rolling-arg-range": "Največje število podatkovnih točk v argumentih vrste »Časovne serije v drsečem oknu« ne sme biti negativno", + "max-data-points-per-rolling-arg-required": "Največje število podatkovnih točk v argumentih vrste »Časovne serije v drsečem oknu« je obvezno", + "max-arguments-per-cf": "Največje število argumentov na izračunano polje", + "max-arguments-per-cf-range": "Največje število argumentov na izračunano polje ne sme biti negativno", + "max-arguments-per-cf-required": "Največje število argumentov na izračunano polje je obvezno", + "max-related-level-per-argument": "Največja raven relacije na argument vrste »Povezane entitete«", + "max-related-level-per-argument-range": "Največja raven relacije na argument vrste »Povezane entitete« ne sme biti manjša od 1", + "max-related-level-per-argument-required": "Največja raven relacije na argument vrste »Povezane entitete« je obvezna", + "min-allowed-scheduled-update-interval": "Najmanjši dovoljeni interval posodobitve za argumente vrste »Povezane entitete« (s)", + "min-allowed-scheduled-update-interval-range": "Najmanjši dovoljeni interval posodobitve ne sme biti negativen", + "min-allowed-deduplication-interval": "Najmanjši dovoljeni interval deduplikacije (s)", + "min-allowed-deduplication-interval-range": "Vrednost najmanjšega dovoljenega intervala deduplikacije ne sme biti negativna", + "min-allowed-deduplication-interval-required": "Najmanjši dovoljeni interval deduplikacije je obvezen", + "intermediate-aggregation-interval": "Vmesni interval združevanja (s)", + "intermediate-aggregation-interval-range": "Vrednost vmesnega intervala združevanja ne sme biti manjša od 1", + "intermediate-aggregation-interval-required": "Vmesni interval združevanja je obvezen", + "reevaluation-check-interval": "Interval preverjanja ponovnega ovrednotenja (s)", + "reevaluation-check-interval-range": "Vrednost intervala preverjanja ponovnega ovrednotenja ne sme biti manjša od 1", + "reevaluation-check-interval-required": "Interval preverjanja ponovnega ovrednotenja je obvezen", + "alarms-reevaluation-interval": "Interval ponovnega ovrednotenja alarmov (s)", + "alarms-reevaluation-interval-range": "Vrednost intervala ponovnega ovrednotenja alarmov ne sme biti manjša od 1", + "alarms-reevaluation-interval-required": "Interval ponovnega ovrednotenja alarmov je obvezen", + "min-allowed-aggregation-interval": "Najmanjši dovoljeni interval združevanja (s)", + "min-allowed-aggregation-interval-range": "Vrednost najmanjšega dovoljenega intervala združevanja ne sme biti negativna", + "min-allowed-aggregation-interval-required": "Najmanjši dovoljeni interval združevanja je obvezen", + "min-allowed-scheduled-update-interval-required": "Najmanjši dovoljeni interval posodobitve za argumente vrste »Povezane entitete« je obvezen", + "max-state-size": "Največja velikost stanja (v KB)", + "max-state-size-range": "Največja velikost stanja ne sme biti negativna", + "max-state-size-required": "Največja velikost stanja je obvezna", + "max-value-argument-size": "Največja velikost argumenta z eno vrednostjo (v KB)", + "max-value-argument-size-range": "Največja velikost argumenta z eno vrednostjo ne sme biti negativna", + "max-value-argument-size-required": "Največja velikost argumenta z eno vrednostjo je obvezna", + "max-transport-messages": "Največje število transportnih sporočil", + "max-transport-messages-required": "Največje število transportnih sporočil je obvezno.", + "max-transport-messages-range": "Največje število transportnih sporočil ne sme biti negativno", + "max-transport-data-points": "Največje število transportnih podatkovnih točk", + "max-transport-data-points-required": "Največje število transportnih podatkovnih točk je obvezno.", + "max-transport-data-points-range": "Največje število transportnih podatkovnih točk ne sme biti negativno", + "max-r-e-executions": "Največje število izvajanj mehanizma pravil", + "max-r-e-executions-required": "Največje število izvajanj mehanizma pravil je obvezno.", + "max-r-e-executions-range": "Največje število izvajanj mehanizma pravil ne sme biti negativno", + "max-j-s-executions": "Največje število izvajanj JavaScripta", + "max-j-s-executions-required": "Največje število izvajanj JavaScripta je obvezno.", + "max-j-s-executions-range": "Največje število izvajanj JavaScripta ne sme biti negativno", + "max-tbel-executions": "Največje število izvajanj TBEL-a", + "max-tbel-executions-required": "Največje število izvajanj TBEL-a je obvezno.", + "max-tbel-executions-range": "Največje število izvajanj TBEL-a ne sme biti negativno", + "max-d-p-storage-days": "Največje število dni hrambe podatkovnih točk", + "max-d-p-storage-days-required": "Največje število dni hrambe podatkovnih točk je obvezno.", + "max-d-p-storage-days-range": "Največje število dni hrambe podatkovnih točk ne sme biti negativno", + "default-storage-ttl-days": "Privzeto trajanje hrambe (v dnevih)", + "default-storage-ttl-days-required": "Privzeto trajanje hrambe je obvezno.", + "default-storage-ttl-days-range": "Privzeto trajanje hrambe ne sme biti negativno", + "alarms-ttl-days": "Trajanje hrambe alarmov (v dnevih)", + "alarms-ttl-days-required": "Trajanje hrambe alarmov je obvezno", + "alarms-ttl-days-days-range": "Trajanje hrambe alarmov ne sme biti negativno", + "rpc-ttl-days": "Trajanje hrambe RPC (v dnevih)", + "rpc-ttl-days-required": "Trajanje hrambe RPC je obvezno", + "rpc-ttl-days-days-range": "Trajanje hrambe RPC ne sme biti negativno", + "queue-stats-ttl-days": "Trajanje hrambe statistik čakalnih vrst (v dnevih)", + "queue-stats-ttl-days-required": "Trajanje hrambe statistik čakalnih vrst je obvezno", + "queue-stats-ttl-days-range": "Trajanje hrambe statistik čakalnih vrst ne sme biti negativno", + "rule-engine-exceptions-ttl-days": "Trajanje hrambe izjem mehanizma pravil (v dnevih)", + "rule-engine-exceptions-ttl-days-required": "Trajanje hrambe izjem mehanizma pravil je obvezno", + "rule-engine-exceptions-ttl-days-range": "Trajanje hrambe izjem mehanizma pravil ne sme biti negativno", + "max-rule-node-executions-per-message": "Največje število izvajanj vozlišča pravil na sporočilo", + "max-rule-node-executions-per-message-required": "Največje število izvajanj vozlišča pravil na sporočilo je obvezno.", + "max-rule-node-executions-per-message-range": "Največje število izvajanj vozlišča pravil na sporočilo ne sme biti negativno", + "max-emails": "Največje število poslanih e-poštnih sporočil", + "max-emails-required": "Največje število poslanih e-poštnih sporočil je obvezno.", + "max-emails-range": "Največje število poslanih e-poštnih sporočil ne sme biti negativno", + "sms-enabled": "Omogoči SMS", + "max-sms": "Največje število poslanih sporočil SMS", + "max-sms-required": "Največje število poslanih sporočil SMS je obvezno.", + "max-sms-range": "Največje število poslanih sporočil SMS ne sme biti negativno", + "max-created-alarms": "Največje število ustvarjenih alarmov", + "max-created-alarms-required": "Največje število ustvarjenih alarmov je obvezno.", + "max-created-alarms-range": "Največje število ustvarjenih alarmov ne sme biti negativno", + "no-queue": "Ni konfiguriranih čakalnih vrst", + "add-queue": "Dodaj čakalno vrsto", + "queues-with-count": "Čakalne vrste ({{count}})", + "tenant-rest-limits": "Zahteve REST za najemnika", + "customer-rest-limits": "Zahteve REST za stranko", + "incorrect-pattern-for-rate-limits": "Oblika je z vejicami ločen seznam parov zmogljivosti in obdobja (v sekundah), ki sta ločena z dvopičjem, na primer 100:1,2000:60", + "too-small-value-zero": "Vrednost mora biti večja od 0", + "too-small-value-one": "Vrednost mora biti večja od 1", + "queue-size-is-limited-by-system-configuration": "Velikost čakalne vrste je dodatno omejena s sistemsko konfiguracijo.", + "cassandra-write-tenant-core-limits-configuration": "Poizvedbe za pisanje v Cassandro za API REST", + "cassandra-read-tenant-core-limits-configuration": "Poizvedbe za branje iz Cassandre za API REST in telemetrijo WS", + "cassandra-write-tenant-rule-engine-limits-configuration": "Poizvedbe za pisanje telemetrije v Cassandro iz mehanizma pravil", + "cassandra-read-tenant-rule-engine-limits-configuration": "Poizvedbe za branje telemetrije iz Cassandre za mehanizem pravil", + "ws-limit-max-sessions-per-tenant": "Največje število sej na najemnika", + "ws-limit-max-sessions-per-customer": "Največje število sej na stranko", + "ws-limit-max-sessions-per-regular-user": "Največje število sej na običajnega uporabnika", + "ws-limit-max-sessions-per-public-user": "Največje število sej na javnega uporabnika", + "ws-limit-queue-per-session": "Največja velikost čakalne vrste sporočil na sejo", + "ws-limit-max-subscriptions-per-tenant": "Največje število naročnin na najemnika", + "ws-limit-max-subscriptions-per-customer": "Največje število naročnin na stranko", + "ws-limit-max-subscriptions-per-regular-user": "Največje število naročnin na običajnega uporabnika", + "ws-limit-max-subscriptions-per-public-user": "Največje število naročnin na javnega uporabnika", + "ws-limit-updates-per-session": "Posodobitve WS na sejo", + "relation-search-entity-limit": "Omejitev števila entitet pri iskanju po relacijah", + "relation-search-entity-limit-hint": "Omejuje število entitet, ki se razrešijo na zadnji ravni poti relacije. Velja za argumente vrste »Povezane entitete« in polja za posredovanje.", + "relation-search-entity-limit-required": "Omejitev števila entitet pri iskanju po relacijah je obvezna", + "relation-search-entity-limit-range": "Omejitev števila entitet pri iskanju po relacijah ne sme biti manjša od 1", + "rate-limits": { + "add-limit": "Dodaj omejitev", + "and-also-less-than": "in hkrati manj kot", + "advanced-settings": "Napredne nastavitve", + "edit-limit": "Uredi omejitev", + "calculated-field-debug-event-rate-limit": "Dogodki razhroščevanja izračunanih polj", + "edit-calculated-field-debug-event-rate-limit": "Uredi omejitve pogostosti za dogodke razhroščevanja izračunanih polj", + "edit-transport-tenant-msg-title": "Uredi omejitve pogostosti za transportna sporočila najemnika", + "edit-transport-tenant-telemetry-msg-title": "Uredi omejitve pogostosti za transportna telemetrijska sporočila najemnika", + "edit-transport-tenant-telemetry-data-points-title": "Uredi omejitve pogostosti za transportne telemetrijske podatkovne točke najemnika", + "edit-transport-device-msg-title": "Uredi omejitve pogostosti za transportna sporočila naprave", + "edit-transport-device-telemetry-msg-title": "Uredi omejitve pogostosti za transportna telemetrijska sporočila naprave", + "edit-transport-device-telemetry-data-points-title": "Uredi omejitve pogostosti za transportne telemetrijske podatkovne točke naprave", + "edit-transport-gateway-msg-title": "Uredi omejitve pogostosti za transportna sporočila prehoda", + "edit-transport-gateway-telemetry-msg-title": "Uredi omejitve pogostosti za transportna telemetrijska sporočila prehoda", + "edit-transport-gateway-telemetry-data-points-title": "Uredi omejitve pogostosti za transportne telemetrijske podatkovne točke prehoda", + "edit-transport-gateway-device-msg-title": "Uredi omejitve pogostosti za transportna sporočila naprave prehoda", + "edit-transport-gateway-device-telemetry-msg-title": "Uredi omejitve pogostosti za transportna telemetrijska sporočila naprave prehoda", + "edit-transport-gateway-device-telemetry-data-points-title": "Uredi omejitve pogostosti za transportne telemetrijske podatkovne točke naprave prehoda", + "edit-tenant-rest-limits-title": "Uredi omejitve pogostosti zahtev REST za najemnika", + "edit-customer-rest-limits-title": "Uredi omejitve pogostosti zahtev REST za stranko", + "edit-ws-limit-updates-per-session-title": "Uredi omejitve pogostosti za posodobitve WS na sejo", + "edit-cassandra-write-tenant-core-limits-configuration": "Uredi omejitve pogostosti poizvedb za pisanje v Cassandro za API REST", + "edit-cassandra-read-tenant-core-limits-configuration": "Uredi omejitve pogostosti poizvedb za branje iz Cassandre za API REST in telemetrijo WS", + "edit-cassandra-write-tenant-rule-engine-limits-configuration": "Uredi omejitve pogostosti poizvedb za pisanje telemetrije v Cassandro iz mehanizma pravil", + "edit-cassandra-read-tenant-rule-engine-limits-configuration": "Uredi omejitve pogostosti poizvedb za branje telemetrije iz Cassandre za mehanizem pravil", + "edit-tenant-entity-export-rate-limit-title": "Uredi omejitve pogostosti za ustvarjanje različic entitet", + "edit-tenant-entity-import-rate-limit-title": "Uredi omejitve pogostosti za nalaganje različic entitet", + "edit-tenant-notification-request-rate-limit-title": "Uredi omejitve pogostosti zahtev za obvestila", + "edit-tenant-notification-requests-per-rule-rate-limit-title": "Uredi omejitve pogostosti zahtev za obvestila na pravilo", + "edit-edge-events-rate-limit": "Uredi omejitve pogostosti za dogodke Edge-a", + "edit-edge-events-per-edge-rate-limit": "Uredi omejitve pogostosti za dogodke Edge-a na instanco Edge", + "edge-events-rate-limit": "Dogodki Edge-a", + "edge-events-per-edge-rate-limit": "Dogodki Edge-a na instanco Edge", + "edit-edge-uplink-messages-rate-limit": "Uredi omejitve pogostosti za sporočila navzgor iz Edge-a", + "edit-edge-uplink-messages-per-edge-rate-limit": "Uredi omejitve pogostosti za sporočila navzgor iz Edge-a na instanco Edge", + "edge-uplink-messages-rate-limit": "Sporočila navzgor iz Edge-a", + "edge-uplink-messages-per-edge-rate-limit": "Sporočila navzgor iz Edge-a na instanco Edge", + "messages-per": "sporočil na", + "not-set": "Ni nastavljeno", + "number-of-messages": "Število sporočil", + "number-of-messages-required": "Število sporočil je obvezno.", + "number-of-messages-min": "Najmanjša vrednost je 1.", + "preview": "Predogled", + "per-seconds": "Časovni interval (s)", + "per-seconds-required": "Časovni interval je obvezen.", + "per-seconds-min": "Najmanjša vrednost je 1.", + "per-seconds-duplicate": "Podvojen časovni interval. Vsak časovni interval mora biti enoličen.", + "rate-limits": "Omejitve pogostosti", + "remove-limit": "Odstrani omejitev", + "transport-tenant-msg": "Transportna sporočila najemnika", + "transport-tenant-telemetry-msg": "Transportna telemetrijska sporočila najemnika", + "transport-tenant-telemetry-data-points": "Transportne telemetrijske podatkovne točke najemnika", + "transport-device-msg": "Transportna sporočila naprave", + "transport-device-telemetry-msg": "Transportna telemetrijska sporočila naprave", + "transport-device-telemetry-data-points": "Transportne telemetrijske podatkovne točke naprave", + "transport-gateway-msg": "Transportna sporočila prehoda", + "transport-gateway-telemetry-msg": "Transportna telemetrijska sporočila prehoda", + "transport-gateway-telemetry-data-points": "Transportne telemetrijske podatkovne točke prehoda", + "transport-gateway-device-msg": "Transportna sporočila naprave prehoda", + "transport-gateway-device-telemetry-msg": "Transportna telemetrijska sporočila naprave prehoda", + "transport-gateway-device-telemetry-data-points": "Transportne telemetrijske podatkovne točke naprave prehoda", + "sec": "s" + } + }, + "timeinterval": { + "seconds-interval": "{ seconds, plural, one {# sekunda} two {# sekundi} few {# sekunde} other {# sekund} }", + "minutes-interval": "{ minutes, plural, one {# minuta} two {# minuti} few {# minute} other {# minut} }", + "hours-interval": "{ hours, plural, one {# ura} two {# uri} few {# ure} other {# ur} }", + "days-interval": "{ days, plural, one {# dan} two {# dneva} few {# dnevi} other {# dni} }", + "days": "Dnevi", + "hours": "Ure", + "minutes": "Minute", + "seconds": "Sekunde", + "advanced": "Napredno", + "custom": "Po meri", + "predefined": { + "yesterday": "Včeraj", + "day-before-yesterday": "Predvčerajšnjim", + "this-day-last-week": "Isti dan prejšnji teden", + "previous-week": "Prejšnji teden (ned - sob)", + "previous-week-iso": "Prejšnji teden (pon - ned)", + "previous-month": "Prejšnji mesec", + "previous-quarter": "Prejšnje četrtletje", + "previous-half-year": "Prejšnje polletje", + "previous-year": "Prejšnje leto", + "current-hour": "Trenutna ura", + "current-day": "Trenutni dan", + "current-day-so-far": "Trenutni dan do zdaj", + "current-week": "Trenutni teden (ned - sob)", + "current-week-iso": "Trenutni teden (pon - ned)", + "current-week-so-far": "Trenutni teden do zdaj (ned - sob)", + "current-week-iso-so-far": "Trenutni teden do zdaj (pon - ned)", + "current-month": "Trenutni mesec", + "current-month-so-far": "Trenutni mesec do zdaj", + "current-quarter": "Trenutno četrtletje", + "current-quarter-so-far": "Trenutno četrtletje do zdaj", + "current-half-year": "Trenutno polletje", + "current-half-year-so-far": "Trenutno polletje do zdaj", + "current-year": "Trenutno leto", + "current-year-so-far": "Trenutno leto do zdaj" + }, + "type": { + "week": "Teden (ned - sob)", + "week-iso": "Teden (pon - ned)", + "month": "Mesec", + "quarter": "Četrtletje" + } + }, + "timeunit": { + "milliseconds": "Milisekunde", + "seconds": "Sekunde", + "minutes": "Minute", + "hours": "Ure", + "days": "Dnevi" + }, + "timewindow": { + "timewindow": "Časovno okno", + "timewindow-settings": "Nastavitve časovnega okna", + "years": "{ years, plural, one {# leto } two {# leti } few {# leta } other {# let } }", + "years-short": "{{ years }}l", + "months": "{ months, plural, one {# mesec } two {# meseca } few {# meseci } other {# mesecev } }", + "months-short": "{{ months }}mes.", + "weeks": "{ weeks, plural, one {# teden } two {# tedna } few {# tedni } other {# tednov } }", + "weeks-short": "{{ weeks }}t", + "days": "{ days, plural, one {# dan } two {# dneva } few {# dni } other {# dni } }", + "days-short": "{{ days }}d", + "hours": "{ hours, plural, =0 {# ur } one {# uro } two {# uri } few {# ure } other {# ur } }", + "hr": "{{ hr }} h", + "hr-short": "{{ hr }}h", + "minutes": "{ minutes, plural, =0 {# minut } one {# minuto } two {# minuti } few {# minute } other {# minut } }", + "min": "{{ min }} min", + "min-short": "{{ min }}min", + "seconds": "{ seconds, plural, =0 {# sekund } one {# sekundo } two {# sekundi } few {# sekunde } other {# sekund } }", + "sec": "{{ sec }} s", + "sec-short": "{{ sec }}s", + "short": { + "years": "{ years, plural, one {# leto } two {# leti } few {# leta } other {# let } }", + "days": "{ days, plural, one {# dan } two {# dneva } few {# dnevi } other {# dni } }", + "hours": "{ hours, plural, one {# uro } two {# uri } few {# ure } other {# ur } }", + "minutes": "{{minutes}} min ", + "seconds": "{{seconds}} s " + }, + "realtime": "V realnem času", + "history": "Zgodovina", + "last-prefix": "zadnjih", + "period": "od {{ startTime }} do {{ endTime }}", + "edit": "Uredi časovno okno", + "date-range": "Datumski razpon", + "for-all-time": "Za ves čas", + "last": "Zadnjih", + "time-period": "Časovno obdobje", + "hide": "Skrij", + "interval": "Interval", + "just-now": "Pravkar", + "just-now-lower": "pravkar", + "ago": "nazaj", + "style": "Slog časovnega okna", + "icon": "Ikona", + "icon-position": "Položaj ikone", + "icon-position-left": "Levo", + "icon-position-right": "Desno", + "font": "Pisava", + "color": "Barva", + "displayTypePrefix": "Prikaži predpono »V realnem času«/»Zgodovina«", + "preview": "Predogled", + "relative": "Relativno", + "range": "Razpon", + "hide-timewindow-section": "Skrij razdelek časovnega okna pred končnimi uporabniki", + "hide-last-interval": "Skrij zadnji interval pred končnimi uporabniki", + "hide-relative-interval": "Skrij relativni interval pred končnimi uporabniki", + "hide-fixed-interval": "Skrij fiksni interval pred končnimi uporabniki", + "hide-aggregation": "Skrij združevanje pred končnimi uporabniki", + "hide-group-interval": "Skrij interval združevanja pred končnimi uporabniki", + "hide-max-values": "Skrij največje število vrednosti pred končnimi uporabniki", + "hide-timezone": "Skrij časovni pas pred končnimi uporabniki", + "disable-custom-interval": "Onemogoči izbiro intervala po meri", + "edit-aggregation-functions-list": "Uredi seznam funkcij združevanja", + "edit-aggregation-functions-list-hint": "Določiti je mogoče seznam razpoložljivih možnosti.", + "allowed-aggregation-functions": "Dovoljene funkcije združevanja", + "edit-intervals-list": "Uredi seznam intervalov", + "allowed-agg-intervals": "Intervali združevanja", + "default-agg-interval": "Privzeti interval združevanja", + "edit-intervals-list-hint": "Določiti je mogoče seznam razpoložljivih intervalnih možnosti.", + "edit-grouping-intervals-list-hint": "Konfigurirati je mogoče seznam intervalov združevanja in privzeti interval združevanja.", + "all": "Vse", + "save-current-settings-as-default": "Shrani trenutne nastavitve kot privzeto časovno okno", + "hide-option-from-end-users": "Skrij možnost pred končnimi uporabniki" + }, + "tooltip": { + "trigger": "Sprožilec", + "trigger-point": "Točka", + "trigger-axis": "Os", + "label": "Oznaka", + "value": "Vrednost", + "date": "Datum", + "show-date-time-interval": "Prikaži datumsko-časovni interval", + "show-date-time-interval-hint": "Prikaže datumsko-časovni interval glede na združevanje podatkov.", + "hide-zero-tooltip-values": "Skrij ničelne vrednosti", + "show-stack-total": "Prikaži skupno vrednost v načinu zlaganja", + "background-color": "Barva ozadja", + "background-blur": "Zameglitev ozadja" + }, + "unit": { + "set-unit-conversion": "Nastavi pretvorbo enot", + "unit-settings": { + "unit-settings": "Nastavitve enot", + "source-unit": "Izvorna enota", + "source-unit-hint": "To je enota shranjene vrednosti. Enota, iz katere se izvaja pretvorba. Vnesite simbol, ki ga uporabljajo izvorni podatki (npr. m, km, ft, in).", + "target-metric-unit": "Ciljna metrična enota", + "target-metric-unit-hint": "Izberite, v katero metrično enoto (SI) želite pretvoriti izvorno vrednost (npr. cm, mm, km).", + "target-imperial-unit": "Ciljna imperialna enota", + "target-imperial-unit-hint": "Izberite, v katero imperialno enoto želite pretvoriti izvorno vrednost (npr. in, ft, yd).", + "target-hybrid-unit": "Ciljna hibridna enota", + "target-hybrid-unit-hint": "Izberite, v katero hibridno enoto želite pretvoriti izvorno vrednost (npr. cm, in, km). Hibridne enote združujejo metrične in/ali imperialne enote.", + "enable-unit-conversion": "Omogoči pretvorbo enot", + "enable-unit-conversion-hint": "Vklopite, da aktivirate pretvorbo. Ko je izklopljeno, se izvorna vrednost ne spremeni. Onemogočeno je, če je v ustrezni merilni skupini samo ena enota (npr. svetlobni tok, AQI)." + }, + "unit-system": "Sistem enot", + "unit-system-type": { + "AUTO": "Samodejno", + "METRIC": "Metrični", + "IMPERIAL": "Imperialni", + "HYBRID": "Hibridni" + }, + "measures": { + "absorbed-dose-rate": "Hitrost absorbirane doze", + "acceleration": "Pospešek", + "acidity": "Kislost", + "air-quality-index": "Indeks kakovosti zraka", + "amount-of-substance": "Množina snovi", + "angle": "Kot", + "angular-acceleration": "Kotni pospešek", + "area": "Površina", + "area-density": "Površinska gostota", + "capacitance": "Kapacitivnost", + "catalytic-activity": "Katalitska aktivnost", + "catalytic-concentration": "Katalitska koncentracija", + "charge": "Električni naboj", + "current-density": "Gostota električnega toka", + "data-transfer-rate": "Hitrost prenosa podatkov", + "density": "Gostota", + "digital": "Digitalno", + "dimension-ratio": "Razmerje dimenzij", + "dynamic-viscosity": "Dinamična viskoznost", + "earthquake-magnitude": "Magnituda potresa", + "electric-charge-density": "Gostota električnega naboja", + "electric-current": "Električni tok", + "electric-dipole-moment": "Električni dipolni moment", + "electric-field-strength": "Jakost električnega polja", + "electric-flux": "Električni pretok", + "electric-permittivity": "Električna permitivnost", + "electric-polarizability": "Električna polarizabilnost", + "electrical-conductance": "Električna prevodnost", + "electrical-conductivity": "Specifična električna prevodnost", + "energy": "Energija", + "energy-density": "Gostota energije", + "force": "Sila", + "frequency": "Frekvenca", + "fuel-efficiency": "Učinkovitost porabe goriva", + "heat-capacity": "Toplotna kapaciteta", + "illuminance": "Osvetljenost", + "inductance": "Induktivnost", + "kinematic-viscosity": "Kinematična viskoznost", + "length": "Dolžina", + "light-exposure": "Svetlobna izpostavljenost", + "linear-charge-density": "Linearna gostota naboja", + "logarithmic-ratio": "Logaritemsko razmerje", + "luminous-efficacy": "Svetlobni izkoristek", + "luminous-flux": "Svetlobni tok", + "luminous-intensity": "Svetilnost", + "magnetic-field-gradient": "Gradient magnetnega polja", + "magnetic-flux": "Magnetni pretok", + "magnetic-flux-density": "Gostota magnetnega pretoka", + "magnetic-moment": "Magnetni moment", + "magnetic-permeability": "Magnetna permeabilnost", + "mass": "Masa", + "mass-fraction": "Masni delež", + "molar-concentration": "Molarna koncentracija", + "molar-energy": "Molska energija", + "molar-heat-capacity": "Molska toplotna kapaciteta", + "molar-mass": "Molska masa", + "number-concentration": "Številska koncentracija", + "parts-per-million": "Deli na milijon", + "power": "Moč", + "power-density": "Gostota moči", + "pressure": "Tlak", + "radiance": "Sevnost", + "radiant-intensity": "Sevalna jakost", + "radiation-dose": "Doza sevanja", + "radioactive-decay": "Radioaktivni razpad", + "radioactivity": "Radioaktivnost", + "radioactivity-concentration": "Koncentracija radioaktivnosti", + "reciprocal-length": "Recipročna dolžina", + "resistance": "Električna upornost", + "reynolds-number": "Reynoldsovo število", + "signal-level": "Raven signala", + "solid-angle": "Prostorski kot", + "specific-energy": "Specifična energija", + "specific-heat-capacity": "Specifična toplotna kapaciteta", + "specific-humidity": "Specifična vlažnost", + "specific-volume": "Specifična prostornina", + "speed": "Hitrost", + "surface-charge-density": "Površinska gostota naboja", + "surface-tension": "Površinska napetost", + "temperature": "Temperatura", + "thermal-conductivity": "Toplotna prevodnost", + "time": "Čas", + "torque": "Navor", + "turbidity": "Motnost", + "voltage": "Napetost", + "volume": "Prostornina", + "volume-flow": "Prostorninski pretok" + }, + "millimeter": "Milimeter", + "centimeter": "Centimeter", + "decimeter": "Decimeter", + "angstrom": "Angstrem", + "nanometer": "Nanometer", + "micrometer": "Mikrometer", + "meter": "Meter", + "kilometer": "Kilometer", + "inch": "Palec", + "foot": "Čevelj", + "foot-us": "Čevelj (ameriška geodetska mera)", + "yard": "Jard", + "mile": "Milja", + "nautical-mile": "Navtična milja", + "astronomical-unit": "Astronomska enota", + "reciprocal-metre": "Recipročni meter", + "meter-per-meter": "Meter na meter", + "steradian": "Steradian", + "thou": "Thou (tisočinka palca)", + "barleycorn": "Ječmenovo zrno", + "hand": "Dlan", + "chain": "Veriga", + "furlong": "Furlong", + "league": "Liga", + "fathom": "Seženj", + "cable": "Kabelska dolžina", + "link": "Člen", + "rod": "Palica", + "nanogram": "Nanogram", + "microgram": "Mikrogram", + "milligram": "Miligram", + "gram": "Gram", + "kilogram": "Kilogram", + "tonne": "Tona", + "ounce": "Unča", + "pound": "Funt", + "stone": "Stone", + "hundredweight-count": "Hundredweight", + "short-tons": "Kratke tone", + "dalton": "Dalton", + "grain": "Gran", + "drachm": "Drahma", + "quarter": "Quarter", + "slug": "Slug", + "carat": "Karat", + "cubic-millimeter": "Kubični milimeter", + "cubic-centimeter": "Kubični centimeter", + "cubic-meter": "Kubični meter", + "cubic-kilometer": "Kubični kilometer", + "microliter": "Mikroliter", + "milliliter": "Mililiter", + "liter": "Liter", + "hectoliter": "Hektoliter", + "cubic-inch": "Kubični palec", + "cubic-foot": "Kubični čevelj", + "cubic-yard": "Kubični jard", + "fluid-ounce": "Tekočinska unča", + "fluid-ounce-per-second": "Tekočinska unča na sekundo", + "pint": "Pinta", + "quart": "Kvart", + "gallon": "Galona", + "oil-barrels": "Naftni sod", + "cubic-meter-per-kilogram": "Kubični meter na kilogram", + "gill": "Gill", + "hogshead": "Hogshead", + "teaspoon": "Čajna žlička", + "tablespoon": "Jedilna žlica", + "cup": "Skodelica", + "celsius": "Stopinja Celzija", + "kelvin": "Kelvin", + "rankine": "Stopinja Rankina", + "fahrenheit": "Stopinja Fahrenheita", + "percent": "Odstotek", + "meter-per-second": "Meter na sekundo", + "kilometer-per-hour": "Kilometer na uro", + "foot-per-second": "Čevelj na sekundo", + "foot-per-minute": "Čevelj na minuto", + "mile-per-hour": "Milja na uro", + "knot": "Vozel", + "inch-per-second": "Palec na sekundo", + "inch-per-hour": "Palec na uro", + "millimeters-per-minute": "Milimeter na minuto", + "meter-per-minute": "Meter na minuto", + "kilometer-per-hour-squared": "Kilometer na kvadratno uro", + "foot-per-second-squared": "Čevelj na kvadratno sekundo", + "pascal": "Paskal", + "kilopascal": "Kilopaskal", + "megapascal": "Megapaskal", + "gigapascal": "Gigapaskal", + "millibar": "Milibar", + "bar": "Bar", + "kilobar": "Kilobar", + "newton": "Njuten", + "newton-meter": "Njuten meter", + "foot-pounds": "Čevelj-funt", + "inch-pounds": "Palec-funt", + "newton-per-meter": "Njuten na meter", + "atmospheres": "Atmosfere", + "pounds-per-square-inch": "Funti na kvadratni palec", + "kilopound-per-square-inch": "Kilofunt na kvadratni palec", + "torr": "Tor", + "inches-of-mercury": "Palci živega srebra", + "pascal-per-square-meter": "Paskal na kvadratni meter", + "pound-per-square-inch": "Funt na kvadratni palec", + "newton-per-square-meter": "Njuten na kvadratni meter", + "kilogram-force-per-square-meter": "Kilogramska sila na kvadratni meter", + "pascal-per-square-centimeter": "Paskal na kvadratni centimeter", + "ton-force-per-square-inch": "Tonska sila na kvadratni palec", + "kilonewton-per-square-meter": "Kilonjuten na kvadratni meter", + "newton-per-square-millimeter": "Njuten na kvadratni milimeter", + "microjoule": "Mikrodžul", + "millijoule": "Milidžul", + "joule": "Džul", + "kilojoule": "Kilodžul", + "megajoule": "Megadžul", + "gigajoule": "Gigadžul", + "watt-hour": "Vatna ura", + "watt-minute": "Vatna minuta", + "kilowatt-hour": "Kilovatna ura", + "milliwatt-hour": "Milivatna ura", + "megawatt-hour": "Megavatna ura", + "gigawatt-hour": "Gigavatna ura", + "electron-volts": "Elektronvolt", + "joules-per-coulomb": "Džul na kulon", + "british-thermal-unit": "Britanska toplotna enota (BTU)", + "thousand-british-thermal-unit": "Tisoč britanskih toplotnih enot", + "million-british-thermal-unit": "Milijon britanskih toplotnih enot", + "foot-pound": "Čevelj-funt", + "calorie": "Kalorija", + "small-calorie": "Mala kalorija", + "kilocalorie": "Kilokalorija", + "joule-per-kelvin": "Džul na kelvin", + "joule-per-kilogram-kelvin": "Džul na kilogram-kelvin", + "joule-per-kilogram": "Džul na kilogram", + "watt-per-meter-kelvin": "Vat na meter-kelvin", + "joule-per-cubic-meter": "Džul na kubični meter", + "therm": "Therm", + "electric-dipole-moment": "Električni dipolni moment", + "magnetic-dipole-moment": "Magnetni dipolni moment", + "debye": "Debye", + "coulomb-per-square-meter-per-volt": "Kulon na kvadratni meter na volt", + "milliwatt": "Milivat", + "microwatt": "Mikrovat", + "watt": "Vat", + "kilowatt": "Kilovat", + "megawatt": "Megavat", + "gigawatt": "Gigavat", + "metric-horsepower": "Metrična konjska moč", + "milliwatt-per-square-centimeter": "Milivat na kvadratni centimeter", + "watt-per-square-centimeter": "Vat na kvadratni centimeter", + "kilowatt-per-square-centimeter": "Kilovat na kvadratni centimeter", + "milliwatt-per-square-meter": "Milivat na kvadratni meter", + "watt-per-square-meter": "Vat na kvadratni meter", + "kilowatt-per-square-meter": "Kilovat na kvadratni meter", + "watt-per-square-inch": "Vat na kvadratni palec", + "kilowatt-per-square-inch": "Kilovat na kvadratni palec", + "horsepower": "Konjska moč", + "btu-per-hour": "BTU na uro", + "btu-per-second": "BTU na sekundo", + "btu-per-day": "BTU na dan", + "mbtu-per-hour": "Tisoč BTU na uro", + "mbtu-per-second": "Tisoč BTU na sekundo", + "mbtu-per-day": "Tisoč BTU na dan", + "mmbtu-per-hour": "Milijon BTU na uro", + "mmbtu-per-second": "Milijon BTU na sekundo", + "mmbtu-per-day": "Milijon BTU na dan", + "foot-pound-per-second": "Čevelj-funt na sekundo", + "coulomb": "Kulon", + "millicoulomb": "Milikulon", + "microcoulomb": "Mikrokulon", + "nanocoulomb": "Nanokulon", + "picocoulomb": "Pikokulon", + "coulomb-per-meter": "Kulon na meter", + "coulomb-per-cubic-meter": "Kulon na kubični meter", + "coulomb-per-square-meter": "Kulon na kvadratni meter", + "square-millimeter": "Kvadratni milimeter", + "square-centimeter": "Kvadratni centimeter", + "square-meter": "Kvadratni meter", + "hectare": "Hektar", + "square-kilometer": "Kvadratni kilometer", + "square-inch": "Kvadratni palec", + "square-foot": "Kvadratni čevelj", + "square-yard": "Kvadratni jard", + "acre": "Aker", + "square-mile": "Kvadratna milja", + "are": "Ar", + "barn": "Barn", + "circular-inch": "Krožni palec", + "milliampere-hour": "Miliamperska ura", + "ampere-hours": "Amperske ure", + "kiloampere-hours": "Kiloamperske ure", + "nanoampere": "Nanoamper", + "picoampere": "Pikoamper", + "microampere": "Mikroamper", + "milliampere": "Miliamper", + "ampere": "Amper", + "kiloampere": "Kiloamper", + "megaampere": "Megaamper", + "gigaampere": "Gigaamper", + "microampere-per-square-centimeter": "Mikroamper na kvadratni centimeter", + "ampere-per-square-meter": "Amper na kvadratni meter", + "ampere-per-meter": "Amper na meter", + "oersted": "Oersted", + "bohr-magneton": "Bohrov magneton", + "ampere-meter-squared": "Amper kvadratni meter", + "nanovolt": "Nanovolt", + "picovolt": "Pikovolt", + "millivolt": "Milivolt", + "microvolt": "Mikrovolt", + "volt": "Volt", + "kilovolt": "Kilovolt", + "megavolt": "Megavolt", + "dbmV": "Decibel-volt", + "dbm": "Decibel-milivat", + "volt-meter": "Volt meter", + "kilovolt-meter": "Kilovolt meter", + "megavolt-meter": "Megavolt meter", + "microvolt-meter": "Mikrovolt meter", + "millivolt-meter": "Milivolt meter", + "nanovolt-meter": "Nanovolt meter", + "ohm": "Om", + "microohm": "Mikroom", + "milliohm": "Miliom", + "kilohm": "Kiloom", + "megohm": "Megaom", + "gigohm": "Gigaom", + "millihertz": "Miliherc", + "hertz": "Herc", + "kilohertz": "Kiloherc", + "megahertz": "Megaherc", + "gigahertz": "Gigaherc", + "terahertz": "Teraherc", + "rpm": "Obrati na minuto", + "candela-per-square-meter": "Kandela na kvadratni meter", + "candela": "Kandela", + "lumen": "Lumen", + "lux": "Luks", + "foot-candle": "Foot-candle", + "lumen-per-square-meter": "Lumen na kvadratni meter", + "lux-second": "Luks sekunda", + "lumen-second": "Lumen sekunda", + "lumens-per-watt": "Lumen na vat", + "mole": "Mol", + "nanomole": "Nanomol", + "micromole": "Mikromol", + "millimole": "Milimol", + "kilomole": "Kilomol", + "mole-per-cubic-meter": "Mol na kubični meter", + "rssi": "Kazalnik jakosti prejetega signala", + "ppm": "Deli na milijon (ppm)", + "ppb": "Deli na milijardo (ppb)", + "micrograms-per-cubic-meter": "Mikrogram na kubični meter", + "aqi": "Indeks kakovosti zraka (AQI)", + "gram-per-cubic-meter": "Gram na kubični meter", + "gram-per-kilogram": "Specifična vlažnost", + "millimeters-per-second": "Milimeter na sekundo", + "neper": "Neper", + "bel": "Bel", + "decibel": "Decibel", + "meters-per-second-squared": "Meter na kvadratno sekundo", + "becquerel": "Bekerel", + "curie": "Kiri", + "gray": "Grej", + "sievert": "Sivert", + "roentgen": "Rentgen", + "cps": "Štetja na sekundo", + "rad": "Rad", + "rem": "Rem", + "dps": "Razpadi na sekundo", + "rutherford": "Rutherford", + "coulombs-per-kilogram": "Kulon na kilogram", + "becquerels-per-cubic-meter": "Bekerel na kubični meter", + "curies-per-liter": "Kiri na liter", + "becquerels-per-second": "Bekerel na sekundo", + "curies-per-second": "Kiri na sekundo", + "gy-per-second": "Grej na sekundo", + "watt-per-steradian": "Vat na steradian", + "watt-per-square-metre-steradian": "Vat na kvadratni meter-steradian", + "ph-level": "Vrednost pH", + "turbidity": "Motnost", + "mg-per-liter": "Miligram na liter", + "microsiemens-per-centimeter": "Mikrosimens na centimeter", + "millisiemens-per-meter": "Milisimens na meter", + "siemens-per-meter": "Simens na meter", + "kilogram-per-cubic-meter": "Kilogram na kubični meter", + "gram-per-cubic-centimeter": "Gram na kubični centimeter", + "kilogram-per-square-meter": "Kilogram na kvadratni meter", + "milligram-per-milliliter": "Miligram na mililiter", + "milligram-per-cubic-meter": "Miligram na kubični meter", + "pound-per-cubic-foot": "Funt na kubični čevelj", + "ounces-per-cubic-inch": "Unča na kubični palec", + "tons-per-cubic-yard": "Tona na kubični jard", + "particle-density": "Gostota delcev", + "kilometers-per-liter": "Kilometer na liter", + "miles-per-gallon": "Milja na galono", + "liters-per-100-km": "Liter na 100 km", + "gallons-per-mile": "Galona na miljo", + "liters-per-hour": "Liter na uro", + "gallons-per-hour": "Galona na uro", + "beats-per-minute": "Utripi na minuto", + "millimeters-of-mercury": "Milimetri živega srebra", + "milligrams-per-deciliter": "Miligram na deciliter", + "g-force": "G-sila", + "kilonewton": "Kilonjuten", + "kilogram-force": "Kilogramska sila", + "pound-force": "Funt-sila", + "kilopound-force": "Kilofunt-sila", + "dyne": "Dina", + "poundal": "Poundal", + "kip": "Kip", + "gal": "Gal", + "gravity": "Gravitacija", + "hectopascal": "Hektopaskal", + "atmosphere": "Atmosfera", + "millibars": "Milibar", + "inch-of-mercury": "Palec živega srebra", + "richter-scale": "Richterjeva lestvica", + "nanosecond": "Nanosekunda", + "microsecond": "Mikrosekunda", + "millisecond": "Milisekunda", + "second": "Sekunda", + "minute": "Minuta", + "hour": "Ura", + "day": "Dan", + "week": "Teden", + "month": "Mesec", + "year": "Leto", + "cubic-foot-per-minute": "Kubični čevelj na minuto", + "cubic-meters-per-hour": "Kubični meter na uro", + "cubic-meters-per-second": "Kubični meter na sekundo", + "cubic-meters-per-minute": "Kubični meter na minuto", + "liter-per-second": "Liter na sekundo", + "liter-per-minute": "Liter na minuto", + "gallons-per-minute": "Galona na minuto", + "cubic-foot-per-second": "Kubični čevelj na sekundo", + "milliliters-per-minute": "Mililiter na minuto", + "cubic-decimeter-per-second": "Kubični decimeter na sekundo", + "bit": "Bit", + "byte": "Bajt", + "kilobyte": "Kilobajt", + "megabyte": "Megabajt", + "gigabyte": "Gigabajt", + "terabyte": "Terabajt", + "petabyte": "Petabajt", + "exabyte": "Eksabajt", + "zettabyte": "Zetabajt", + "yottabyte": "Jotabajt", + "bit-per-second": "Bit na sekundo", + "kilobit-per-second": "Kilobit na sekundo", + "megabit-per-second": "Megabit na sekundo", + "gigabit-per-second": "Gigabit na sekundo", + "terabit-per-second": "Terabit na sekundo", + "byte-per-second": "Bajt na sekundo", + "kilobyte-per-second": "Kilobajt na sekundo", + "megabyte-per-second": "Megabajt na sekundo", + "gigabyte-per-second": "Gigabajt na sekundo", + "degree": "Stopinja", + "radian": "Radian", + "gradian": "Gradian", + "arcminute": "Ločna minuta", + "arcsecond": "Ločna sekunda", + "milliradian": "Miliradian", + "revolution": "Obrat", + "siemens": "Simens", + "millisiemens": "Milisimens", + "microsiemens": "Mikrosimens", + "kilosiemens": "Kilosimens", + "megasiemens": "Megasimens", + "gigasiemens": "Gigasimens", + "farad": "Farad", + "millifarad": "Milifarad", + "microfarad": "Mikrofarad", + "nanofarad": "Nanofarad", + "picofarad": "Pikofarad", + "kilofarad": "Kilofarad", + "megafarad": "Megafarad", + "gigafarad": "Gigafarad", + "terfarad": "Terafarad", + "farad-per-meter": "Farad na meter", + "tesla": "Tesla", + "gauss": "Gauss", + "kilogauss": "Kilogauss", + "millitesla": "Militesla", + "microtesla": "Mikrotesla", + "nanotesla": "Nanotesla", + "kilotesla": "Kilotesla", + "megatesla": "Megatesla", + "millitesla-square-meters": "Militesla kvadratni meter", + "gamma": "Gama", + "lambda": "Lambda", + "square-meter-per-second": "Kvadratni meter na sekundo", + "square-centimeter-per-second": "Kvadratni centimeter na sekundo", + "stoke": "Stokes", + "centistokes": "Centistokes", + "square-foot-per-second": "Kvadratni čevelj na sekundo", + "square-inch-per-second": "Kvadratni palec na sekundo", + "pascal-second": "Paskal sekunda", + "centipoise": "Centipoise", + "poise": "Poise", + "reynolds": "Reynoldsovo število", + "pound-per-foot-hour": "Funt na čevelj-uro", + "newton-second-per-square-meter": "Njuten sekunda na kvadratni meter", + "dyne-second-per-square-centimeter": "Dina sekunda na kvadratni centimeter", + "kilogram-per-meter-second": "Kilogram na meter-sekundo", + "tesla-square-meters": "Tesla kvadratni meter", + "maxwell": "Maxwell", + "tesla-per-meter": "Tesla na meter", + "gauss-per-centimeter": "Gauss na centimeter", + "weber": "Veber", + "microweber": "Mikroveber", + "milliweber": "Miliveber", + "gauss-square-centimeter": "Gauss kvadratni centimeter", + "kilogauss-square-centimeter": "Kilogauss kvadratni centimeter", + "henry": "Henri", + "millihenry": "Milihenri", + "microhenry": "Mikrohenri", + "nanohenry": "Nanohenri", + "henry-per-meter": "Henri na meter", + "tesla-meter-per-ampere": "Tesla meter na amper", + "gauss-per-oersted": "Gauss na oersted", + "kilogram-per-mole": "Kilogram na mol", + "gram-per-mole": "Gram na mol", + "milligram-per-mole": "Miligram na mol", + "joule-per-mole": "Džul na mol", + "joule-per-mole-kelvin": "Džul na mol-kelvin", + "millivolts-per-meter": "Milivolt na meter", + "volts-per-meter": "Volt na meter", + "kilovolts-per-meter": "Kilovolt na meter", + "radian-per-second": "Radian na sekundo", + "radian-per-second-squared": "Radian na kvadratno sekundo", + "revolutions-per-minute-per-second": "Kotni pospešek", + "deg-per-second": "Stopinja na sekundo", + "rotation-per-minute": "Obrat na minuto", + "degrees-brix": "Stopinja Brix", + "katal": "Katal", + "katal-per-cubic-metre": "Katal na kubični meter", + "paris-inch": "Pariški palec" + }, + "user": { + "user": "Uporabnik", + "users": "Uporabniki", + "customer-users": "Uporabniki stranke", + "tenant-admins": "Skrbniki", + "sys-admin": "Sistemski administrator", + "tenant-admin": "Skrbnik", + "customer": "Stranka", + "anonymous": "Anonimni uporabnik", + "add": "Dodaj uporabnika", + "delete": "Izbriši uporabnika", + "add-user-text": "Dodaj novega uporabnika", + "no-users-text": "Ni najdenih uporabnikov", + "user-details": "Podrobnosti uporabnika", + "delete-user-title": "Ali ste prepričani, da želite izbrisati uporabnika »{{userEmail}}«?", + "delete-user-text": "Pozor! Ko potrdite, uporabnika in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-users-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# uporabnika} two {# uporabnika} few {# uporabnike} other {# uporabnikov} }?", + "delete-users-action-title": "Izbriši { count, plural, one {# uporabnika} two {# uporabnika} few {# uporabnike} other {# uporabnikov} }", + "delete-users-text": "Pozor! Ko potrdite, bodo vsi izbrani uporabniki odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "activation-email-sent-message": "Aktivacijsko e-poštno sporočilo je poslano!", + "resend-activation": "Znova pošlji aktivacijo", + "email": "E-pošta", + "email-required": "E-pošta je obvezna.", + "invalid-email-format": "Neveljavna oblika e-poštnega naslova.", + "first-name": "Ime", + "last-name": "Priimek", + "description": "Opis", + "default-dashboard": "Privzeta nadzorna plošča", + "always-fullscreen": "Vedno v celozaslonskem načinu", + "select-user": "Izberite uporabnika", + "no-users-matching": "Ni uporabnikov, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "user-required": "Uporabnik je obvezen", + "activation-method": "Način aktivacije", + "display-activation-link": "Prikaži aktivacijsko povezavo", + "send-activation-mail": "Pošlji aktivacijsko e-poštno sporočilo", + "activation-link": "Povezava za aktivacijo uporabnika", + "activation-link-text": "Za aktivacijo uporabnika uporabite naslednjo aktivacijsko povezavo (poteče čez {{activationLinkTtl}}):", + "copy-activation-link": "Kopiraj aktivacijsko povezavo", + "activation-link-copied-message": "Povezava za aktivacijo uporabnika je kopirana v odložišče", + "details": "Podrobnosti", + "login-as-tenant-admin": "Prijavi se kot skrbnik", + "login-as-customer-user": "Prijavi se kot uporabnik stranke", + "search": "Iskanje uporabnikov", + "selected-users": "Izbrano: { count, plural, one {# uporabnik} two {# uporabnika} few {# uporabniki} other {# uporabnikov} }", + "disable-account": "Onemogoči uporabniški račun", + "enable-account": "Omogoči uporabniški račun", + "enable-account-message": "Uporabniški račun je omogočen!", + "disable-account-message": "Uporabniški račun je onemogočen!", + "copyId": "Kopiraj ID uporabnika", + "idCopiedMessage": "ID uporabnika je kopiran v odložišče", + "user-list": "Seznam uporabnikov", + "user-list-required": "Seznam uporabnikov je obvezen" + }, + "value": { + "type": "Vrsta vrednosti", + "string": "Niz", + "string-value": "Vrednost niza", + "string-value-required": "Vrednost niza je obvezna", + "integer": "Celo število", + "integer-value": "Celoštevilska vrednost", + "integer-value-required": "Celoštevilska vrednost je obvezna", + "invalid-integer-value": "Neveljavna celoštevilska vrednost", + "double": "Decimalno število", + "double-value": "Decimalna vrednost", + "double-value-required": "Decimalna vrednost je obvezna", + "boolean": "Logično", + "boolean-value": "Logična vrednost", + "false": "Napačno", + "true": "Resnično", + "long": "Dolgo celo število", + "json": "JSON", + "json-value": "Vrednost JSON", + "json-value-invalid": "Vrednost JSON ima neveljavno obliko", + "json-value-required": "Vrednost JSON je obvezna." + }, + "version-control": { + "version-control": "Nadzor različic", + "management": "Upravljanje različic", + "search": "Iskanje različic", + "branch": "Veja", + "default": "Privzeto", + "select-branch": "Izberite vejo", + "branch-required": "Veja je obvezna", + "create-entity-version": "Ustvari različico entitete", + "version-name": "Ime različice", + "version-name-required": "Ime različice je obvezno", + "author": "Avtor", + "export-relations": "Izvozi relacije", + "export-attributes": "Izvozi atribute", + "export-credentials": "Izvozi poverilnice", + "export-calculated-fields": "Izvozi izračunana polja \nin pravila za alarme", + "export-alarm-rules": "Izvozi pravila za alarme", + "entity-versions": "Različice entitet", + "versions": "Različice", + "created-time": "Čas ustvarjanja", + "version-id": "ID različice", + "no-entity-versions-text": "Ni najdenih različic entitet", + "no-versions-text": "Ni najdenih različic", + "copy-full-version-id": "Kopiraj celoten ID različice", + "create-version": "Ustvari različico", + "creating-version": "Ustvarjanje različice... Počakajte", + "nothing-to-commit": "Ni sprememb za uveljavitev", + "restore-version": "Obnovi različico", + "restore-entity-from-version": "Obnovi entiteto iz različice »{{versionName}}«", + "restoring-entity-version": "Obnavljanje različice entitete... Počakajte", + "load-relations": "Naloži relacije", + "load-attributes": "Naloži atribute", + "load-credentials": "Naloži poverilnice", + "load-calculated-fields": "Naloži izračunana polja in pravila za alarme", + "load-alarm-rules": "Naloži pravila za alarme", + "compare-with-current": "Primerjaj s trenutno različico", + "diff-entity-with-version": "Primerjava z različico entitete »{{versionName}}«", + "previous-difference": "Prejšnja razlika", + "next-difference": "Naslednja razlika", + "current": "Trenutna različica", + "differences": "{ count, plural, one {# razlika} two {# razliki} few {# razlike} other {# razlik} }", + "create-entities-version": "Ustvari različico entitet", + "default-sync-strategy": "Privzeta strategija sinhronizacije", + "sync-strategy-merge": "Združi", + "sync-strategy-overwrite": "Prepiši", + "entities-to-export": "Entitete za izvoz", + "entities-to-restore": "Entitete za obnovitev", + "sync-strategy": "Strategija sinhronizacije", + "all-entities": "Vse entitete", + "no-entities-to-export-prompt": "Določite entitete za izvoz", + "no-entities-to-restore-prompt": "Določite entitete za obnovitev", + "add-entity-type": "Dodaj vrsto entitete", + "remove-all": "Odstrani vse", + "version-create-result": "{ added, plural, =0 {Ni dodanih entitet} one {Dodana je # entiteta} two {Dodani sta # entiteti} few {Dodane so # entitete} other {Dodanih je # entitet} }.
    { modified, plural, =0 {Ni spremenjenih entitet} one {Spremenjena je # entiteta} two {Spremenjeni sta # entiteti} few {Spremenjene so # entitete} other {Spremenjenih je # entitet} }.
    { removed, plural, =0 {Ni odstranjenih entitet} one {Odstranjena je # entiteta} two {Odstranjeni sta # entiteti} few {Odstranjene so # entitete} other {Odstranjenih je # entitet} }.", + "remove-other-entities": "Odstrani druge entitete", + "find-existing-entity-by-name": "Poišči obstoječo entiteto po imenu", + "restore-entities-from-version": "Obnovi entitete iz različice »{{versionName}}«", + "restoring-entities-from-version": "Obnavljanje entitet... Počakajte", + "no-entities-restored": "Ni obnovljenih entitet", + "created": "Ustvarjeno: {{created}}", + "updated": "Posodobljeno: {{updated}}", + "deleted": "Izbrisano: {{deleted}}", + "remove-other-entities-confirm-text": "Pozor! S tem boste trajno izbrisali vse trenutne entitete,
    ki jih ni v različici, ki jo želite obnoviti.

    Za potrditev vnesite \"remove other entities\".", + "auto-commit-to-branch": "samodejna uveljavitev v vejo {{ branch }}", + "default-create-entity-version-name": "Posodobitev {{entityName}}", + "sync-strategy-merge-hint": "Ustvari ali posodobi izbrane entitete v repozitoriju. Vse druge entitete repozitorija se ne spremenijo.", + "sync-strategy-overwrite-hint": "Ustvari ali posodobi izbrane entitete v repozitoriju. Vse druge entitete repozitorija se izbrišejo.", + "device-credentials-conflict": "Nalaganje naprave z zunanjim ID-jem {{entityId}} ni uspelo,
    ker so iste poverilnice že dodeljene drugi napravi v podatkovni zbirki.
    Razmislite o onemogočitvi nastavitve naloži poverilnice v obrazcu za obnovitev.", + "missing-referenced-entity": "Nalaganje {{sourceEntityTypeName}} z zunanjim ID-jem {{sourceEntityId}} ni uspelo,
    ker manjka {{targetEntityTypeName}} z ID-jem {{targetEntityId}}.", + "runtime-failed": "Ni uspelo: {{message}}", + "auto-commit-settings-read-only-hint": "Funkcija samodejne uveljavitve ne deluje, če je v nastavitvah repozitorija omogočena možnost samo za branje.", + "rollback-on-error": "Povrni ob napaki", + "rollback-on-error-hint": "Če morate obnoviti veliko število entitet, razmislite o onemogočitvi te možnosti za boljšo zmogljivost.\n Opomba: če med nalaganjem različice pride do napake, že shranjene entitete (z relacijami, atributi itd.) ostanejo nespremenjene." + }, + "widget": { + "widget-library": "Knjižnica gradnikov", + "widget-bundle": "Paket gradnikov", + "all-bundles": "Vsi paketi", + "select-widgets-bundle": "Izberite paket gradnikov", + "installed": "Nameščeno", + "widgets": "Gradniki", + "all-widgets": "Vsi gradniki", + "widget": "Gradnik", + "select-widget": "Izberite gradnik", + "no-widgets-matching": "Ni gradnikov, ki bi se ujemali z iskalnim nizom »{{entity}}«.", + "no-widgets": "Gradnikov še ni", + "no-widgets-text": "Ni najdenih gradnikov", + "management": "Upravljanje gradnikov", + "editor": "Urejevalnik gradnikov", + "confirm-to-exit-editor-html": "Imate neshranjene nastavitve gradnika.
    Ali ste prepričani, da želite zapustiti to stran?", + "widget-type-not-found": "Težava pri nalaganju konfiguracije gradnika.
    Verjetno je bila povezana\n vrsta gradnika odstranjena.", + "widget-type-load-error": "Gradnik ni bil naložen zaradi naslednjih napak:", + "remove": "Odstrani gradnik", + "delete": "Izbriši gradnik", + "edit": "Uredi gradnik", + "remove-widget-title": "Ali ste prepričani, da želite odstraniti gradnik »{{widgetTitle}}«?", + "remove-widget-text": "Ko potrdite, gradnika in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "replace-reference-with-widget-copy": "Zamenjaj sklic s kopijo gradnika", + "timeseries": "Časovne serije", + "search-data": "Iskanje podatkov", + "no-data-found": "Ni najdenih podatkov", + "latest": "Najnovejše vrednosti", + "rpc": "Krmilni gradnik", + "alarm": "Alarmni gradnik", + "static": "Statični gradnik", + "timeseries-short": "serije", + "latest-short": "najnovejše", + "rpc-short": "krmiljenje", + "alarm-short": "alarm", + "static-short": "statično", + "type-timeseries": "Časovne serije", + "type-latest": "Najnovejše vrednosti", + "type-rpc": "Krmiljenje", + "type-alarm": "Alarm", + "type-static": "Statično", + "select-widget-type": "Izberi vrsto gradnika", + "missing-widget-title-error": "Določiti morate naslov gradnika!", + "widget-saved": "Gradnik je shranjen", + "unable-to-save-widget-error": "Gradnika ni mogoče shraniti! Gradnik ima napake!", + "save": "Shrani gradnik", + "saveAs": "Shrani gradnik kot", + "move": "Premakni gradnik", + "save-widget-as": "Shrani gradnik kot", + "save-widget-as-text": "Vnesite nov naslov gradnika", + "toggle-fullscreen": "Preklopi celozaslonski način", + "run": "Zaženi gradnik", + "widget-title": "Naslov gradnika", + "title": "Naslov", + "title-required": "Naslov gradnika je obvezen.", + "title-max-length": "Naslov mora biti krajši od 256 znakov", + "system": "Sistemski", + "type": "Vrsta gradnika", + "resources": "Viri", + "resource-url": "URL JavaScript/CSS", + "resource-is-extension": "Je razširitev", + "remove-resource": "Odstrani vir", + "add-resource": "Dodaj vir", + "html": "HTML", + "tidy": "Oblikuj", + "css": "CSS", + "settings-form": "Obrazec nastavitev", + "data-key-settings-form": "Obrazec nastavitev podatkovnega ključa", + "latest-data-key-settings-form": "Obrazec nastavitev najnovejšega podatkovnega ključa", + "widget-settings": "Nastavitve gradnika", + "description": "Opis", + "tags": "Značke", + "image-preview": "Predogled slike", + "settings-form-selector": "Izbirnik obrazca nastavitev", + "data-key-settings-form-selector": "Izbirnik obrazca nastavitev podatkovnega ključa", + "latest-data-key-settings-form-selector": "Izbirnik obrazca nastavitev najnovejšega podatkovnega ključa", + "all": "Vse", + "actual": "Aktualno", + "scada": "Simbol SCADA", + "deprecated": "Zastarelo", + "has-basic-mode": "Ima osnovni način", + "basic-mode-form-selector": "Izbirnik obrazca za osnovni način", + "basic-mode": "Osnovno", + "advanced-mode": "Napredno", + "javascript": "JavaScript", + "js": "JS", + "delete-widget-title": "Ali ste prepričani, da želite izbrisati gradnik »{{widgetName}}«?", + "delete-widget-text": "Ko potrdite, gradnika in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-widgets-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# gradnik} two {# gradnika} few {# gradnike} other {# gradnikov} }?", + "delete-widgets-text": "Pozor! Ko potrdite, bodo vsi izbrani gradniki odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "delete-widget": "Izbriši gradnik", + "widget-template-load-failed-error": "Nalaganje predloge gradnika ni uspelo!", + "details": "Podrobnosti", + "widget-details": "Podrobnosti gradnika", + "add": "Dodaj gradnik", + "add-existing-widget": "Dodaj obstoječi gradnik", + "add-new-widget": "Dodaj nov gradnik", + "search-widgets": "Iskanje gradnikov", + "selected-widgets": "Izbrano: { count, plural, one {# gradnik} two {# gradnika} few {# gradniki} other {# gradnikov} }", + "undo": "Razveljavi spremembe gradnika", + "export": "Izvozi gradnik", + "export-prompt": "Vdelaj slike in vire gradnika", + "export-widgets": "Izvozi gradnike", + "export-widgets-prompt": "Vdelaj slike in vire gradnikov", + "import": "Uvozi gradnik", + "no-data": "Ni podatkov za prikaz v gradniku", + "data-overflow": "Gradnik prikazuje {{count}} od {{total}} entitet", + "alarm-data-overflow": "Gradnik prikazuje alarme za {{allowedEntities}} od skupno {{totalEntities}} entitet (največje dovoljeno število)", + "search": "Iskanje gradnika", + "filter": "Vrsta filtra gradnika", + "loading-widgets": "Nalaganje gradnikov...", + "widget-template-error": "Neveljavna predloga HTML gradnika.", + "reference": "Sklic" + }, + "widget-action": { + "header-button": "Gumb v glavi gradnika", + "do-nothing": "Brez dejanja", + "open-dashboard-state": "Preklopi na novo stanje nadzorne plošče", + "update-dashboard-state": "Posodobi trenutno stanje nadzorne plošče", + "open-dashboard": "Pojdi na drugo nadzorno ploščo", + "custom": "Dejanje po meri", + "custom-pretty": "Dejanje po meri (s predlogo HTML)", + "custom-pretty-error-title": "Napaka pogovornega okna po meri", + "custom-pretty-template-error": "Neveljavna predloga pogovornega okna po meri.", + "custom-pretty-controller-error": "Pri vrednotenju funkcije pogovornega okna po meri je prišlo do napake.", + "mobile-action": "Mobilno dejanje", + "target-dashboard-state": "Ciljno stanje nadzorne plošče", + "target-dashboard-state-required": "Ciljno stanje nadzorne plošče je obvezno", + "set-entity-from-widget": "Nastavi entiteto iz gradnika", + "target-dashboard": "Ciljna nadzorna plošča", + "select-target-dashboard": "Izberite ciljno nadzorno ploščo", + "target-dashboard-required": "Ciljna nadzorna plošča je obvezna.", + "open-right-layout": "Odpri desno postavitev nadzorne plošče (mobilni pogled)", + "state-display-type": "Možnost prikaza stanja nadzorne plošče", + "open-normal": "Običajno", + "open-in-separate-dialog": "Odpri v ločenem pogovornem oknu", + "open-in-popover": "Odpri v pojavnem oknu", + "dialog-title": "Naslov pogovornega okna", + "dialog-hide-dashboard-toolbar": "Skrij orodno vrstico nadzorne plošče v pogovornem oknu", + "dialog-width": "Širina pogovornega okna v odstotkih glede na širino vidnega polja", + "dialog-height": "Višina pogovornega okna v odstotkih glede na višino vidnega polja", + "dialog-size-range-error": "Odstotna vrednost velikosti pogovornega okna mora biti med 1 in 100.", + "popover-preferred-placement": "Prednostni položaj pojavnega okna", + "popover-placement-top": "Zgoraj", + "popover-placement-topLeft": "Zgoraj levo", + "popover-placement-topRight": "Zgoraj desno", + "popover-placement-right": "Desno", + "popover-placement-rightTop": "Desno zgoraj", + "popover-placement-rightBottom": "Desno spodaj", + "popover-placement-bottom": "Spodaj", + "popover-placement-bottomLeft": "Spodaj levo", + "popover-placement-bottomRight": "Spodaj desno", + "popover-placement-left": "Levo", + "popover-placement-leftTop": "Levo zgoraj", + "popover-placement-leftBottom": "Levo spodaj", + "popover-hide-on-click-outside": "Skrij pojavno okno ob kliku zunaj", + "popover-hide-dashboard-toolbar": "Skrij orodno vrstico nadzorne plošče v pojavnem oknu", + "popover-width": "Širina pojavnega okna", + "popover-height": "Višina pojavnega okna", + "popover-style": "Slog pojavnega okna", + "open-new-browser-tab": "Odpri v novem zavihku brskalnika", + "open-URL": "Odpri URL", + "URL": "URL", + "url-required": "URL je obvezen.", + "mobile": { + "device-provision": "Priprava naprave", + "action-type": "Vrsta mobilnega dejanja", + "select-action-type": "Izberite vrsto mobilnega dejanja", + "action-type-required": "Vrsta mobilnega dejanja je obvezna", + "take-picture-from-gallery": "Izberi sliko iz galerije", + "take-photo": "Posnemi fotografijo", + "map-direction": "Odpri navodila za pot na zemljevidu", + "map-location": "Odpri lokacijo na zemljevidu", + "scan-qr-code": "Skeniraj kodo QR", + "make-phone-call": "Opravi telefonski klic", + "get-location": "Pridobi lokacijo telefona", + "take-screenshot": "Zajemi posnetek zaslona", + "handle-provision-success-function": "Funkcija za obravnavo uspešne priprave naprave", + "get-location-function": "Funkcija za pridobivanje lokacije", + "process-launch-result-function": "Funkcija za obdelavo rezultata zagona", + "get-phone-number-function": "Funkcija za pridobivanje telefonske številke", + "process-image-function": "Funkcija za obdelavo slike", + "process-qr-code-function": "Funkcija za obdelavo kode QR", + "process-location-function": "Funkcija za obdelavo lokacije", + "handle-empty-result-function": "Funkcija za obravnavo praznega rezultata", + "handle-error-function": "Funkcija za obravnavo napake", + "handle-non-mobile-fallback-function": "Funkcija nadomestnega ravnanja zunaj mobilnega okolja", + "save-to-gallery": "Shrani v »Galerijo slik«", + "provision-type": "Vrsta priprave", + "auto": "Samodejno", + "wi-fi": "Wi-Fi", + "ble": "BLE", + "soft-ap": "Soft AP" + }, + "custom-action-function": "Funkcija dejanja po meri", + "custom-pretty-function": "Funkcija dejanja po meri (s predlogo HTML)", + "map-item-type": "Vrsta elementa zemljevida", + "map-item": { + "marker": "Označevalnik", + "polygon": "Poligon", + "rectangle": "Pravokotnik", + "circle": "Krog", + "polyline": "Lomljenka" + }, + "place-map-item": "Postavi element zemljevida", + "map-item-tooltip": { + "customize-map-item-tooltips": "Prilagodi namige za elemente zemljevida", + "place-marker": "Postavi označevalnik", + "start-draw-rectangle": "Začni risanje pravokotnika", + "finish-draw-rectangle": "Končaj risanje pravokotnika", + "start-draw-polygon": "Začni risanje poligona", + "continue-draw-polygon": "Nadaljuj risanje poligona", + "finish-draw-polygon": "Končaj risanje poligona", + "start-draw-circle": "Začni risanje kroga", + "finish-draw-circle": "Končaj risanje kroga", + "start-draw-polyline": "Začni risanje lomljenke", + "finish-draw-polyline": "Končaj risanje lomljenke" + } + }, + "widgets-bundle": { + "current": "Trenutni paket gradnikov", + "widgets-bundles": "Paketi gradnikov", + "widgets-bundle-widgets": "Gradniki v paketu gradnikov", + "add": "Dodaj paket gradnikov", + "delete": "Izbriši paket gradnikov", + "title": "Naslov", + "title-required": "Naslov je obvezen.", + "title-max-length": "Naslov mora biti krajši od 256 znakov", + "description": "Opis", + "image-preview": "Predogled slike", + "scada": "Paket gradnikov SCADA", + "order": "Vrstni red", + "add-widgets-bundle-text": "Dodaj nov paket gradnikov", + "no-widgets-bundles-text": "Ni najdenih paketov gradnikov", + "empty": "Paket gradnikov je prazen", + "details": "Podrobnosti", + "widgets-bundle-details": "Podrobnosti paketa gradnikov", + "delete-widgets-bundle-title": "Ali ste prepričani, da želite izbrisati paket gradnikov »{{widgetsBundleTitle}}«?", + "delete-widgets-bundle-text": "Pozor! Ko potrdite, paketa gradnikov in vseh povezanih podatkov ne bo več mogoče obnoviti.", + "delete-widgets-bundles-title": "Ali ste prepričani, da želite izbrisati { count, plural, one {# paket gradnikov} two {# paketa gradnikov} few {# pakete gradnikov} other {# paketov gradnikov} }?", + "delete-widgets-bundles-action-title": "Izbriši { count, plural, one {# paket gradnikov} two {# paketa gradnikov} few {# pakete gradnikov} other {# paketov gradnikov} }", + "delete-widgets-bundles-text": "Pozor! Ko potrdite, bodo vsi izbrani paketi gradnikov odstranjeni, vseh povezanih podatkov pa ne bo več mogoče obnoviti.", + "no-widgets-bundles-matching": "Ni paketov gradnikov, ki bi se ujemali z iskalnim nizom »{{widgetsBundle}}«.", + "widgets-bundle-required": "Paket gradnikov je obvezen.", + "system": "Sistemski", + "import": "Uvozi paket gradnikov", + "export": "Izvozi paket gradnikov", + "export-widgets-bundle-widgets-prompt": "V izvožene podatke vključi gradnike paketa (sicer se izvozijo samo FQN-ji gradnikov, na katere se paket sklicuje)", + "export-failed-error": "Paketa gradnikov ni mogoče izvoziti: {{error}}", + "create-new-widgets-bundle": "Ustvari nov paket gradnikov", + "widgets-bundle-file": "Datoteka paketa gradnikov", + "invalid-widgets-bundle-file-error": "Paketa gradnikov ni mogoče uvoziti: neveljavna struktura podatkov paketa gradnikov.", + "search": "Iskanje paketov gradnikov", + "selected-widgets-bundles": "Izbrano: { count, plural, one {# paket gradnikov} two {# paketa gradnikov} few {# paketi gradnikov} other {# paketov gradnikov} }", + "open-widgets-bundle": "Odpri paket gradnikov", + "loading-widgets-bundles": "Nalaganje paketov gradnikov...", + "create-new": "Ustvari nov paket gradnikov" + }, + "widget-config": { + "data": "Podatki", + "settings": "Nastavitve", + "advanced": "Napredno", + "appearance": "Videz", + "widget-card": "Kartica gradnika", + "mobile": "Mobilno", + "title": "Naslov", + "title-tooltip": "Namig naslova", + "general-settings": "Splošne nastavitve", + "display-title": "Prikaži naslov gradnika", + "card-title": "Naslov kartice", + "drop-shadow": "Senca", + "enable-fullscreen": "Omogoči celozaslonski način", + "background-color": "Barva ozadja", + "text-color": "Barva besedila", + "border-radius": "Zaobljenost robov", + "padding": "Notranji odmik", + "margin": "Zunanji odmik", + "widget-style": "Slog gradnika", + "widget-css": "CSS gradnika", + "title-style": "Slog naslova", + "mobile-mode-settings": "Mobilni način", + "order": "Vrstni red", + "height": "Višina", + "mobile-hide": "Skrij gradnik v mobilnem načinu", + "desktop-hide": "Skrij gradnik v namiznem načinu", + "units": "Poseben simbol za prikaz ob vrednosti", + "units-by-default": "Privzete enote", + "decimals": "Število decimalnih mest", + "decimals-by-default": "Privzeto število decimalnih mest", + "default-data-key-parameter-hint": "Ta parameter velja za vse vrednosti gradnika, razen če ga preglasi konfiguracija podatkovnega ključa", + "units-short": "Enote", + "decimals-short": "Decimalna mesta", + "decimals-suffix": "decimalnih mest", + "digits-suffix": "števk", + "timewindow": "Časovno okno", + "use-dashboard-timewindow": "Uporabi časovno okno nadzorne plošče", + "use-widget-timewindow": "Uporabi časovno okno gradnika", + "display-timewindow": "Prikaži časovno okno", + "legend": "Legenda", + "display-legend": "Prikaži legendo", + "datasources": "Viri podatkov", + "datasource": "Vir podatkov", + "maximum-datasources": "{ count, plural, one {Dovoljen je največ # vir podatkov.} two {Dovoljena sta največ # vira podatkov.} few {Dovoljeni so največ # viri podatkov.} other {Dovoljenih je največ # virov podatkov.} }", + "timeseries-key-error": "Določiti morate vsaj en podatkovni ključ časovne serije", + "datasource-type": "Vrsta", + "datasource-parameters": "Parametri", + "remove-datasource": "Odstrani vir podatkov", + "add-datasource": "Dodaj vir podatkov", + "target-device": "Ciljna naprava", + "alarm-source": "Vir alarma", + "actions": "Dejanja", + "action": "Dejanje", + "add-action": "Dodaj dejanje", + "search-actions": "Iskanje dejanj", + "no-actions-text": "Ni najdenih dejanj", + "action-source": "Vir dejanja", + "select-action-source": "Izberite vir dejanja", + "action-source-required": "Vir dejanja je obvezen.", + "column-index": "Indeks stolpca", + "select-column-index": "Izberite indeks stolpca", + "column-index-required": "Indeks stolpca je obvezen.", + "not-set": "Ni nastavljeno", + "action-name": "Ime", + "action-name-required": "Ime dejanja je obvezno.", + "action-name-not-unique": "Drugo dejanje z istim imenom že obstaja.\nIme dejanja mora biti enolično znotraj istega vira dejanja.", + "action-icon": "Ikona", + "header-button": { + "button-settings": "Nastavitve gumba", + "button-type": "Vrsta gumba", + "button-type-basic": "Osnovni", + "button-type-raised": "Dvignjeni", + "button-type-stroked": "Obrobljeni", + "button-type-flat": "Ploski", + "button-type-icon": "Ikona", + "button-type-mini-fab": "FAB", + "colors": "Barve", + "color": "Barva", + "background": "Ozadje", + "border": "Obroba", + "advanced-button-style": "Napredni slog gumba", + "button-style": "Slog gumba" + }, + "show-hide-action-using-function": "Prikaži/skrij dejanje s funkcijo", + "show-action-function": "Funkcija za prikaz dejanja", + "action-type": "Vrsta", + "action-type-required": "Vrsta dejanja je obvezna.", + "edit-action": "Uredi dejanje", + "delete-action": "Izbriši dejanje", + "delete-action-title": "Izbriši dejanje gradnika", + "delete-action-text": "Ali ste prepričani, da želite izbrisati dejanje gradnika z imenom »{{actionName}}«?", + "title-icon": "Ikona naslova", + "display-icon": "Prikaži ikono naslova", + "card-icon": "Ikona kartice", + "icon": "Ikona", + "icon-color": "Barva ikone", + "icon-size": "Velikost ikone", + "advanced-settings": "Napredne nastavitve", + "data-settings": "Nastavitve podatkov", + "limits": "Omejitve", + "no-data-display-message": "Nadomestno sporočilo za »Ni podatkov za prikaz«", + "data-page-size": "Največ entitet na vir podatkov", + "settings-component-not-found": "Komponente obrazca nastavitev za izbirnik »{{selector}}« ni mogoče najti", + "preview": "Predogled", + "set": "Nastavi", + "set-message": "Nastavi sporočilo", + "advanced-title-style": "Napredni slog naslova", + "card-style": "Slog kartice", + "text": "Besedilo", + "background": "Ozadje", + "advanced-widget-style": "Napredni slog gradnika", + "card-buttons": "Gumbi kartice", + "show-card-buttons": "Prikaži gumbe kartice", + "card-border-radius": "Zaobljenost robov kartice", + "card-padding": "Notranji odmik kartice", + "card-appearance": "Videz kartice", + "color": "Barva", + "tooltip": "Namig", + "units-required": "Enota je obvezna.", + "list-layout": "Postavitev seznama", + "layout": "Postavitev", + "resize-options": "Možnosti spreminjanja velikosti", + "resizable": "Spremenljiva velikost", + "preserve-aspect-ratio": "Ohrani razmerje stranic" + }, + "widget-type": { + "import": "Uvozi vrsto gradnika", + "export": "Izvozi vrsto gradnika", + "export-failed-error": "Gradnika ni mogoče izvoziti: {{error}}", + "widget-file": "Datoteka gradnika", + "invalid-widget-file-error": "Gradnika ni mogoče uvoziti: neveljavna struktura podatkov gradnika." + }, + "widgets": { + "mobile-app-qr-code": { + "configuration-hint": "Konfiguracija je odvisna od gradnika s kodo QR mobilne aplikacije v glavnih nastavitvah platforme", + "get-it-on-google-play": "Na voljo v Google Play", + "download-on-the-app-store": "Prenesite iz trgovine App Store" + }, + "action-button": { + "behavior": "Vedenje", + "on-click": "Ob kliku", + "on-click-hint": "Dejanje, ki se sproži ob kliku gumba", + "first-button-click": "Klik prvega gumba", + "first-button-click-hint": "Dejanje ob pritisku prvega gumba.", + "second-button-click": "Klik drugega gumba", + "second-button-click-hint": "Dejanje ob pritisku drugega gumba.", + "button-click-hint": "Dejanje ob pritisku na gradnik." + }, + "command-button": { + "behavior": "Vedenje", + "on-click": "Ob kliku", + "on-click-hint": "Dejanje, ki se izvede ob kliku gumba." + }, + "power-button": { + "behavior": "Vedenje", + "power-on": "Vklop", + "power-on-hint": "Dejanje za vklop komponente.", + "power-off": "Izklop", + "power-off-hint": "Dejanje za izklop komponente.", + "on-label": "Vklop", + "off-label": "Izklop", + "layout": "Postavitev", + "layout-default": "Privzeto", + "layout-simplified": "Poenostavljeno", + "layout-outlined": "Obrobljeno", + "layout-default-volume": "Privzeto.Prostorsko", + "layout-simplified-volume": "Poenostavljeno.Prostorsko", + "layout-outlined-volume": "Obrobljeno.Prostorsko", + "layout-default-icon": "Privzeto.Ikona", + "layout-simplified-icon": "Poenostavljeno.Ikona", + "layout-outlined-icon": "Obrobljeno.Ikona", + "main": "Glavna", + "background": "Ozadje", + "button-icon-on": "Ikona gumba »Vklop«", + "button-icon-off": "Ikona gumba »Izklop«", + "power-on-colors": "Barve za vklop", + "power-off-colors": "Barve za izklop", + "disabled-colors": "Barve za onemogočeno stanje", + "button": "Gumb" + }, + "toggle-button": { + "behavior": "Vedenje", + "checked": "Označeno", + "unchecked": "Neoznačeno", + "check": "Označi", + "check-hint": "Dejanje za označitev komponente.", + "uncheck": "Odznači", + "uncheck-hint": "Dejanje za odznačitev komponente.", + "auto-scale": "Samodejno prilagajanje velikosti", + "horizontal-fill": "Vodoravna zapolnitev", + "vertical-fill": "Navpična zapolnitev", + "button-appearance": "Videz gumba" + }, + "segmented-button": { + "layout": "Postavitev", + "layout-squared": "Kvadratno", + "layout-rounded": "Zaobljeno", + "card-border": "Obroba kartice", + "button-appearance": "Videz gumba", + "first": "Prvi", + "second": "Drugi", + "color-styles": "Slogi barv", + "selected": "Izbrano", + "unselected": "Neizbrano" + }, + "button": { + "layout": "Postavitev", + "outlined": "Obrobljeno", + "filled": "Zapolnjeno", + "underlined": "Podčrtano", + "basic": "Osnovno", + "auto-scale": "Samodejno prilagajanje velikosti", + "label": "Oznaka", + "icon": "Ikona", + "border-radius": "Zaobljenost robov", + "color-palette": "Barvna paleta", + "main": "Glavna", + "background": "Ozadje", + "border": "Obroba", + "custom-styles": "Slogi po meri", + "clear-style": "Počisti slog", + "shadow": "Senca", + "enabled": "Omogočeno", + "disabled": "Onemogočeno", + "preview": "Predogled", + "copy-style-from": "Kopiraj slog iz" + }, + "value-stepper": { + "behavior": "Vedenje", + "simplified": "Poenostavljeno", + "filled": "Zapolnjeno", + "outlined": "Obrobljeno", + "volume": "Prostorsko", + "initial-state": "Začetno stanje", + "initial-state-hint": "Dejanje za pridobitev začetne vrednosti.", + "disabled-state": "Onemogočeno stanje", + "disabled-state-hint": "Konfigurirajte pogoj, pri katerem je komponenta onemogočena.", + "right-button-click": "Klik desnega gumba", + "right-button-click-hint": "Dejanje ob pritisku desnega gumba.", + "left-button-click": "Klik levega gumba", + "left-button-click-hint": "Dejanje ob pritisku levega gumba.", + "auto-scale": "Samodejno prilagajanje velikosti", + "value-range": "Razpon", + "min-range": "Min.", + "max-range": "Maks.", + "value-increment-decrement-step": "Korak povečanja/zmanjšanja vrednosti", + "value": "Vrednost", + "value-box-background": "Ozadje polja vrednosti", + "border": "Obroba", + "button-appearance": "Videz gumba", + "left": "Levi", + "right": "Desni", + "left-button": "Levi gumb", + "right-button": "Desni gumb", + "icon": "Ikona", + "color-palette": "Barvna paleta", + "main": "Glavna", + "background": "Ozadje", + "button-icon-on": "Ikona gumba »Vklop«", + "button-on-colors": "Barve za vklop", + "disabled-colors": "Barve za onemogočeno stanje" + }, + "button-state": { + "activated-state": "Aktivno stanje", + "activated-state-hint": "Konfigurirajte pogoj, pri katerem je gumb aktiven.", + "disabled-state": "Onemogočeno stanje", + "disabled-state-hint": "Konfigurirajte pogoj, pri katerem je gumb onemogočen.", + "selected-state": "Izbrano stanje", + "selected-state-hint": "Konfigurirajte pogoj, pri katerem je gumb izbran.", + "enabled": "Omogočeno", + "hovered": "Ob prehodu miške", + "pressed": "Pritisnjeno", + "activated": "Aktivirano", + "disabled": "Onemogočeno", + "initial": "Prvi gumb", + "first": "Prvi", + "second": "Drugi" + }, + "background": { + "background": "Ozadje", + "background-settings": "Nastavitve ozadja", + "background-type-image": "Slika", + "background-type-color": "Barva", + "image-url": "URL slike", + "overlay": "Prekrivni sloj", + "enable-overlay": "Omogoči prekrivni sloj", + "blur": "Zameglitev", + "preview": "Predogled" + }, + "bar-chart": { + "bar-appearance": "Videz stolpcev", + "label-on-bar": "Oznaka na stolpcu", + "value-on-bar": "Vrednost na stolpcu", + "bar-chart-style": "Slog stolpčnega grafikona", + "bar-axis": "Os stolpcev" + }, + "polar-area-chart": { + "polar-axis": "Polarna os", + "start-angle": "Začetni kot", + "polar-area-chart-style": "Slog polarnega ploščinskega grafikona" + }, + "battery-level": { + "layout": "Postavitev", + "layout-vertical-solid": "Navpično. Polno", + "layout-horizontal-solid": "Vodoravno. Polno", + "layout-vertical-divided": "Navpično. Razdeljeno", + "layout-horizontal-divided": "Vodoravno. Razdeljeno", + "icon": "Ikona", + "value": "Vrednost", + "auto-scale": "Samodejno prilagajanje velikosti", + "battery-level-color": "Barva ravni baterije", + "battery-shape-color": "Barva oblike baterije", + "battery-level-card-style": "Slog kartice ravni baterije", + "sections-count": "Število odsekov" + }, + "signal-strength": { + "value": "Vrednost", + "last-update": "Zadnja posodobitev", + "no-signal": "Ni signala", + "layout": "Postavitev", + "layout-wifi": "Wi-Fi", + "layout-cellular-bar": "Mobilni signal", + "icon": "Ikona", + "date": "Datum", + "active-bars-color": "Barva aktivnih črtic signala", + "inactive-bars-color": "Barva neaktivnih črtic signala", + "signal-strength-card-style": "Slog kartice moči signala", + "no-signal-rssi-value": "Vrednost RSSI za »Ni signala«" + }, + "status-widget": { + "behavior": "Vedenje", + "layout": "Postavitev", + "layout-default": "Privzeto", + "layout-center": "Sredinsko", + "layout-icon": "Ikona", + "on": "Vklopljeno", + "off": "Izklopljeno", + "label": "Oznaka", + "status": "Stanje", + "icon": "Ikona", + "color-palette": "Barvna paleta", + "disabled-color-palette": "Barvna paleta za onemogočeno stanje", + "primary": "Primarna", + "primary-color-hint": "Barva ikone in oznake", + "secondary": "Sekundarna", + "secondary-color-hint": "Barva stanja", + "background": "Ozadje" + }, + "chart": { + "common-settings": "Splošne nastavitve", + "enable-stacking-mode": "Omogoči način zlaganja", + "selection": "Izbira časovnega razpona", + "enable-selection-mode": "Omogoči način izbire", + "line-shadow-size": "Velikost sence črte", + "display-smooth-lines": "Prikaži gladke (ukrivljene) črte", + "default-bar-width": "Privzeta širina stolpca za nezdružene podatke (ms)", + "bar-alignment": "Poravnava stolpcev", + "bar-alignment-left": "Levo", + "bar-alignment-right": "Desno", + "bar-alignment-center": "Na sredini", + "default-font": "Privzeta pisava", + "default-font-size": "Privzeta velikost pisave", + "default-font-color": "Privzeta barva pisave", + "thresholds-line-width": "Privzeta širina črte za vse prage", + "tooltip-settings": "Nastavitve namiga", + "tooltip": "Namig", + "show-tooltip": "Prikaži namig", + "hover-individual-points": "Namig za posamezno točko ob prehodu miške", + "show-cumulative-values": "Prikaži kumulativne vrednosti v načinu zlaganja", + "hide-zero-false-values": "Skrij vrednosti nič/false v namigu", + "tooltip-value-format-function": "Funkcija za oblikovanje vrednosti namiga", + "grid-settings": "Nastavitve mreže", + "show-vertical-lines": "Prikaži navpične črte", + "show-horizontal-lines": "Prikaži vodoravne črte", + "grid-outline-border-width": "Širina obrisa/obrobe mreže (px)", + "primary-color": "Primarna barva", + "background-color": "Barva ozadja", + "ticks-color": "Barva razdelkov", + "xaxis-settings": "Nastavitve osi X", + "axis-title": "Naslov osi", + "xaxis-tick-labels-settings": "Nastavitve oznak razdelkov osi X", + "show-tick-labels": "Prikaži oznake razdelkov osi", + "yaxis-settings": "Nastavitve osi Y", + "min-scale-value": "Najmanjša vrednost na lestvici", + "max-scale-value": "Največja vrednost na lestvici", + "yaxis-tick-labels-settings": "Nastavitve oznak razdelkov osi Y", + "tick-step-size": "Velikost koraka med razdelki", + "number-of-decimals": "Število prikazanih decimalnih mest", + "ticks-formatter-function": "Funkcija za oblikovanje razdelkov", + "comparison-settings": "Nastavitve primerjave", + "enable-comparison": "Omogoči primerjavo", + "time-for-comparison": "Obdobje primerjave", + "time-for-comparison-previous-interval": "Prejšnji interval (privzeto)", + "time-for-comparison-days": "Pred enim dnevom", + "time-for-comparison-weeks": "Pred enim tednom", + "time-for-comparison-months": "Pred enim mesecem", + "time-for-comparison-years": "Pred enim letom", + "time-for-comparison-custom-interval": "Interval po meri", + "custom-interval-value": "Vrednost intervala po meri (ms)", + "comparison-x-axis-settings": "Nastavitve osi X za primerjavo", + "axis-position": "Položaj osi", + "axis-position-top": "Zgoraj (privzeto)", + "axis-position-bottom": "Spodaj", + "custom-legend-settings": "Nastavitve legende po meri", + "enable-custom-legend": "Omogoči legendo po meri (to omogoča uporabo vrednosti atributov/časovnih serij v oznakah ključev)", + "key-name": "Ime ključa", + "key-name-required": "Ime ključa je obvezno", + "key-type": "Vrsta ključa", + "key-type-attribute": "Atribut", + "key-type-timeseries": "Časovna serija", + "label-keys-list": "Seznam ključev za uporabo v oznakah", + "no-label-keys": "Ni konfiguriranih ključev", + "add-label-key": "Dodaj nov ključ", + "line-width": "Širina črte", + "color": "Barva", + "data-is-hidden-by-default": "Podatki so privzeto skriti", + "disable-data-hiding": "Onemogoči skrivanje podatkov", + "remove-from-legend": "Odstrani podatkovni ključ iz legende", + "exclude-from-stacking": "Izključi iz zlaganja (na voljo v načinu »Zlaganje«)", + "line-settings": "Nastavitve črte", + "show-line": "Prikaži črto", + "fill-line": "Zapolni črto", + "fill-line-opacity": "Neprosojnost polnila", + "points-settings": "Nastavitve točk", + "show-points": "Prikaži točke", + "points-line-width": "Širina črte točk", + "points-radius": "Polmer točk", + "point-shape": "Oblika točke", + "point-shape-circle": "Krog", + "point-shape-cross": "Križ", + "point-shape-diamond": "Romb", + "point-shape-square": "Kvadrat", + "point-shape-triangle": "Trikotnik", + "point-shape-custom": "Funkcija po meri", + "point-shape-draw-function": "Funkcija za risanje oblike točke", + "show-separate-axis": "Prikaži ločeno os", + "axis-position-left": "Levo", + "axis-position-right": "Desno", + "thresholds": "Pragovi", + "no-thresholds": "Ni konfiguriranih pragov", + "add-threshold": "Dodaj prag", + "show-values-for-comparison": "Prikaži zgodovinske vrednosti za primerjavo", + "comparison-values-label": "Oznaka zgodovinskih vrednosti", + "comparison-line-color": "Barva primerjalne črte", + "threshold-settings": "Nastavitve pragov", + "use-as-threshold": "Uporabi vrednost ključa kot prag", + "threshold-line-width": "Širina črte praga", + "threshold-color": "Barva praga", + "common-pie-settings": "Splošne nastavitve tortnega grafikona", + "radius": "Polmer", + "inner-radius": "Notranji polmer", + "tilt": "Nagib", + "common-pie-settings-range-error": "Vrednost mora biti v razponu od 0 do 1", + "stroke-settings": "Nastavitve obrisa", + "width-pixels": "Širina (px)", + "show-labels": "Prikaži oznake", + "animation-settings": "Nastavitve animacije", + "animated-pie": "Omogoči animacijo tortnega grafikona (poskusno)", + "border-settings": "Nastavitve obrobe", + "border-width": "Širina obrobe", + "border-color": "Barva obrobe", + "legend-settings": "Nastavitve legende", + "display-legend": "Prikaži legendo", + "labels-font-color": "Barva pisave oznak", + "series": "Serije", + "add-series": "Dodaj serijo", + "series-settings": "Nastavitve serije", + "remove-series": "Odstrani serijo", + "no-series": "Ni konfiguriranih serij", + "no-series-error": "Določiti morate vsaj eno serijo", + "chart-appearance": "Videz grafikona", + "vertical-grid-lines": "Navpične črte mreže", + "horizontal-grid-lines": "Vodoravne črte mreže", + "chart-background": "Ozadje grafikona", + "grid-lines-color": "Barva črt mreže", + "border": "Obroba", + "axis": "Os", + "vertical-axis": "Navpična os", + "ticks": "Razdelki", + "horizontal-axis": "Vodoravna os", + "shape-empty-circle": "Prazen krog", + "shape-circle": "Krog", + "shape-rect": "Pravokotnik", + "shape-round-rect": "Zaobljen pravokotnik", + "shape-triangle": "Trikotnik", + "shape-diamond": "Romb", + "shape-pin": "Žebljiček", + "shape-arrow": "Puščica", + "shape-none": "Brez", + "line-type-solid": "Polna", + "line-type-dashed": "Črtkana", + "line-type-dotted": "Pikčasta", + "label-position-top": "Zgoraj", + "label-position-bottom": "Spodaj", + "label-position-outside": "Zunaj", + "label-position-inside": "Znotraj", + "fill": "Polnilo", + "fill-type-none": "Brez", + "fill-type-solid": "Polno", + "fill-type-opacity": "Neprosojnost", + "fill-type-gradient": "Preliv", + "background": "Ozadje", + "opacity": "Neprosojnost", + "gradient-stops": "Točke preliva", + "gradient-start": "začetek", + "gradient-end": "konec", + "animation": { + "animation": "Animacija", + "animation-threshold": "Prag animacije", + "animation-duration": "Trajanje animacije", + "animation-easing": "Krivulja animacije", + "animation-delay": "Zakasnitev animacije", + "update-animation-duration": "Trajanje animacije posodobitve", + "update-animation-easing": "Krivulja animacije posodobitve", + "update-animation-delay": "Zakasnitev animacije posodobitve" + }, + "chart-axis": { + "limit":"Meja", + "source": "Vir", + "key-value": "Ključ / vrednost", + "value-required": "Vrednost je obvezna.", + "entity-key-required": "Ključ entitete je obvezen.", + "key-required": "Ključ je obvezen.", + "scale-limits": "Meje lestvice", + "scale-appearance": "Videz lestvice", + "scale": "Lestvica", + "scale-min": "min.", + "scale-max": "maks.", + "scale-auto": "Samodejno" + }, + "bar": { + "show-border": "Prikaži obrobo", + "border-width": "Širina obrobe", + "border-radius": "Zaobljenost robov", + "bar-width": "Širina stolpca", + "label": "Oznaka", + "label-hint": "Prikaži oznako nad stolpcem.", + "series-label-hint": "Prikaži oznako z vrednostjo nad stolpcem.", + "label-background": "Ozadje oznake" + } + }, + "color": { + "color-settings": "Nastavitve barv", + "color-type-constant": "Konstantna", + "color-type-gradient": "Preliv", + "color-type-range": "Razpon", + "color-type-function": "Funkcija", + "color": "Barva", + "value-range": "Razpon vrednosti", + "from": "Od", + "to": "Do", + "color-function": "Funkcija barve", + "copy-color-settings-from": "Kopiraj nastavitve barv iz", + "copy-from": "Kopiraj iz", + "settings-type": "Vrsta nastavitev", + "basic-mode": "Osnovno", + "advanced-mode": "Napredno", + "entity-alias": "Vzdevek entitete", + "entity-attribute": "Atribut entitete", + "gradient-color": "Barva preliva", + "gradient-color-min": "Barva", + "gradient-start": "Začetna barva preliva", + "gradient-start-min": "Začetek", + "gradient-end": "Končna barva preliva", + "gradient-end-min": "Konec", + "start-value": "Začetna vrednost", + "end-value": "Končna vrednost", + "gradient-type": "Vrsta preliva" + }, + "dashboard-state": { + "dashboard-state-settings": "Nastavitve stanja nadzorne plošče", + "dashboard-state": "ID stanja nadzorne plošče", + "autofill-state-layout": "Privzeto samodejno zapolni višino postavitve stanja", + "default-margin": "Privzeti zunanji odmik gradnikov", + "default-background-color": "Privzeta barva ozadja", + "sync-parent-state-params": "Sinhroniziraj parametre stanja z nadrejeno nadzorno ploščo" + }, + "date-range-navigator": { + "date-range-picker-settings": "Nastavitve izbirnika datumskega razpona", + "hide-date-range-picker": "Skrij izbirnik datumskega razpona", + "picker-one-panel": "Izbirnik datumskega razpona z eno ploščo", + "picker-auto-confirm": "Samodejna potrditev izbirnika datumskega razpona", + "picker-show-template": "Prikaži predlogo izbirnika datumskega razpona", + "first-day-of-week": "Prvi dan v tednu", + "interval-settings": "Nastavitve intervala", + "hide-interval": "Skrij interval", + "initial-interval": "Začetni interval", + "interval-hour": "Ura", + "interval-day": "Dan", + "interval-week": "Teden", + "interval-two-weeks": "2 tedna", + "interval-month": "Mesec", + "interval-three-months": "3 meseci", + "interval-six-months": "6 mesecev", + "step-settings": "Nastavitve koraka", + "hide-step-size": "Skrij velikost koraka", + "initial-step-size": "Začetna velikost koraka", + "hide-labels": "Skrij oznake", + "use-session-storage": "Uporabi shrambo seje", + "localizationMap": { + "Sun": "Ned", + "Mon": "Pon", + "Tue": "Tor", + "Wed": "Sre", + "Thu": "Čet", + "Fri": "Pet", + "Sat": "Sob", + "Jan": "Jan", + "Feb": "Feb", + "Mar": "Mar", + "Apr": "Apr", + "May": "Maj", + "Jun": "Jun", + "Jul": "Jul", + "Aug": "Avg", + "Sep": "Sep", + "Oct": "Okt", + "Nov": "Nov", + "Dec": "Dec", + "January": "Januar", + "February": "Februar", + "March": "Marec", + "April": "April", + "June": "Junij", + "July": "Julij", + "August": "Avgust", + "September": "September", + "October": "Oktober", + "November": "November", + "December": "December", + "Custom Date Range": "Datumski razpon po meri", + "Date Range Template": "Predloga datumskega razpona", + "Today": "Danes", + "Yesterday": "Včeraj", + "This Week": "Ta teden", + "Last Week": "Prejšnji teden", + "This Month": "Ta mesec", + "Last Month": "Prejšnji mesec", + "Year": "Leto", + "This Year": "To leto", + "Last Year": "Prejšnje leto", + "Date picker": "Izbirnik datuma", + "Hour": "Ura", + "Day": "Dan", + "Week": "Teden", + "2 weeks": "2 tedna", + "Month": "Mesec", + "3 months": "3 meseci", + "6 months": "6 mesecev", + "Custom interval": "Interval po meri", + "Interval": "Interval", + "Step size": "Velikost koraka", + "Ok": "V redu" + } + }, + "doughnut": { + "doughnut-appearance": "Videz kolobarnega grafikona", + "layout": "Postavitev", + "layout-default": "Privzeto", + "layout-with-total": "S skupno vrednostjo", + "central-total-value": "Osrednja skupna vrednost", + "doughnut-card-style": "Slog kartice kolobarnega grafikona" + }, + "entities-hierarchy": { + "hierarchy-data-settings": "Nastavitve podatkov hierarhije", + "relations-query-function": "Funkcija poizvedbe relacij vozlišča", + "has-children-function": "Funkcija preverjanja podrejenih vozlišč", + "node-state-settings": "Nastavitve stanja vozlišča", + "node-opened-function": "Funkcija za privzeto odprtje vozlišča", + "node-disabled-function": "Funkcija za onemogočanje vozlišča", + "display-settings": "Nastavitve prikaza", + "node-icon-function": "Funkcija ikone vozlišča", + "node-text-function": "Funkcija besedila vozlišča", + "sort-settings": "Nastavitve razvrščanja", + "nodes-sort-function": "Funkcija razvrščanja vozlišč" + }, + "edge": { + "display-default-title": "Prikaži privzeti naslov" + }, + "gateway": { + "general-settings": "Splošne nastavitve", + "widget-title": "Naslov gradnika", + "default-archive-file-name": "Privzeto ime arhivske datoteke", + "device-type-for-new-gateway": "Vrsta naprave za nov prehod", + "messages-settings": "Nastavitve sporočil", + "save-config-success-message": "Besedilno sporočilo o uspešno shranjeni konfiguraciji prehoda", + "device-name-exists-message": "Besedilno sporočilo, ko naprava z vnesenim imenom že obstaja", + "gateway-title": "Obrazec prehoda", + "read-only": "Samo za branje", + "events-title": "Naslov obrazca dogodkov prehoda", + "events-filter": "Filter dogodkov", + "event-key-contains": "Ključ dogodka vsebuje...", + "show-connector": "Prikaži za povezovalnik", + "connector-state-param-key": "Ključ parametra stanja povezovalnika", + "message": "Sporočilo", + "level": "Raven", + "created-time": "Čas ustvarjanja" + }, + "gauge": { + "default-color": "Privzeta barva", + "radial-gauge-settings": "Nastavitve radialnega merilnika", + "ticks-settings": "Nastavitve razdelkov", + "min-value": "Najmanjša vrednost", + "max-value": "Največja vrednost", + "min-value-short": "min.", + "max-value-short": "maks.", + "start-ticks-angle": "Začetni kot razdelkov", + "ticks-angle": "Kot razdelkov", + "major-ticks": "Glavni razdelki", + "major-ticks-count": "Število glavnih razdelkov", + "major-ticks-color": "Barva glavnih razdelkov", + "minor-ticks": "Pomožni razdelki", + "minor-ticks-count": "Število pomožnih razdelkov", + "minor-ticks-color": "Barva pomožnih razdelkov", + "tick-numbers-font": "Pisava številk razdelkov", + "unit-title-settings": "Nastavitve naslova enote", + "show-unit-title": "Naslov enot", + "unit-title": "Naslov enote", + "title-font": "Pisava besedila naslova", + "units-settings": "Nastavitve enot", + "units-font": "Pisava besedila enot", + "value-box-settings": "Nastavitve polja vrednosti", + "show-value-box": "Prikaži polje vrednosti", + "value-box": "Polje vrednosti", + "value-int": "Število števk za celoštevilski del vrednosti", + "value-text": "Besedilo vrednosti", + "value-text-shadow": "Senca besedila vrednosti", + "value-font": "Pisava besedila vrednosti", + "rect-stroke-color-start": "Barva obrisa pravokotnika - začetek preliva", + "rect-stroke-color-end": "Barva obrisa pravokotnika - konec preliva", + "background-color": "Barva ozadja", + "shadow-color": "Barva sence", + "value-box-rect-stroke-color": "Barva obrisa pravokotnika polja vrednosti", + "value-box-rect-stroke-color-end": "Barva obrisa pravokotnika polja vrednosti - konec preliva", + "value-box-background-color": "Barva ozadja polja vrednosti", + "value-box-shadow-color": "Barva sence polja vrednosti", + "plate-settings": "Nastavitve plošče", + "show-plate-border": "Obroba plošče", + "plate-color": "Barva plošče", + "needle-settings": "Nastavitve kazalca", + "needle-circle-size": "Velikost kroga kazalca", + "needle-color": "Barva kazalca", + "needle-color-start": "Barva kazalca - začetek preliva", + "needle-color-end": "Barva kazalca - konec preliva", + "needle-color-shadow-up": "Barva sence zgornje polovice kazalca", + "needle-color-shadow-down": "Senca", + "highlights-settings": "Nastavitve poudarkov", + "highlights-width": "Širina poudarkov", + "highlights": "Poudarki", + "highlight-from": "Od", + "highlight-to": "Do", + "highlight-color": "Barva", + "no-highlights": "Ni konfiguriranih poudarkov", + "add-highlight": "Dodaj poudarek", + "animation-settings": "Nastavitve animacije", + "enable-animation": "Animacija", + "animation-duration-rule": "Trajanje in krivulja animacije", + "animation-duration": "Trajanje animacije", + "animation-rule": "Krivulja animacije", + "animation-linear": "Linearno", + "animation-quad": "Kvadratno", + "animation-quint": "Kvintično", + "animation-cycle": "Cikel", + "animation-bounce": "Odboj", + "animation-elastic": "Elastično", + "animation-dequad": "Obratno kvadratno", + "animation-dequint": "Obratno kvintično", + "animation-decycle": "Obratni cikel", + "animation-debounce": "Obratni odboj", + "animation-delastic": "Obratno elastično", + "linear-gauge-settings": "Nastavitve linearnega merilnika", + "bar-stroke": "Obris stolpca", + "bar-stroke-width": "Širina obrisa stolpca", + "bar-stroke-color": "Barva obrisa stolpca", + "bar-background-color": "Barva ozadja stolpca - začetek preliva", + "bar-background-color-end": "Barva ozadja stolpca - konec preliva", + "progress-bar-color": "Barva vrstice napredka", + "progress-bar": "Vrstica napredka", + "progress-bar-color-start": "Barva vrstice napredka - začetek preliva", + "progress-bar-color-end": "Barva vrstice napredka - konec preliva", + "major-ticks-names": "Imena glavnih razdelkov", + "show-stroke-ticks": "Prikaži obris razdelkov", + "major-ticks-font": "Pisava glavnih razdelkov", + "border-color": "Barva obrobe", + "border-width": "Širina obrobe", + "needle-circle": "Krog kazalca", + "needle-circle-color": "Barva kroga kazalca", + "animation-target": "Cilj animacije", + "animation-target-needle": "Kazalec", + "animation-target-plate": "Plošča", + "common-settings": "Splošne nastavitve merilnika", + "gauge-type": "Vrsta merilnika", + "gauge-type-arc": "Lok", + "gauge-type-donut": "Kolobar", + "gauge-type-horizontal-bar": "Vodoravni stolpec", + "gauge-type-vertical-bar": "Navpični stolpec", + "donut-start-angle": "Začetni kot (°)", + "bar-settings": "Nastavitve stolpca merilnika", + "relative-bar-width": "Relativna širina stolpca", + "neon-glow-brightness": "Svetlost učinka neonskega sijaja (0-100)", + "neon-glow-brightness-hint": "0 - onemogoči učinek", + "stripes-thickness": "Debelina prog", + "stripes-thickness-hint": "0 - brez prog", + "rounded-line-cap": "Zaobljen zaključek črte", + "bar-color-settings": "Nastavitve barv stolpca", + "use-precise-level-color-values": "Uporabi natančne ravni barv", + "bar-colors": "Barve stolpca, od spodnje do zgornje", + "color": "Barva", + "no-bar-colors": "Ni konfiguriranih barv stolpca", + "add-bar-color": "Dodaj barvo stolpca", + "from": "Od", + "to": "Do", + "fixed-level-colors": "Barve stolpca z mejnimi vrednostmi", + "gauge-title-settings": "Nastavitve naslova merilnika", + "show-gauge-title": "Prikaži naslov merilnika", + "gauge-title": "Naslov merilnika", + "gauge-title-font": "Pisava naslova merilnika", + "unit-title-and-timestamp-settings": "Nastavitve naslova enot in časovnega žiga", + "show-timestamp": "Časovni žig", + "timestamp-format": "Oblika časovnega žiga", + "label-font": "Pisava oznake, prikazane pod vrednostjo", + "value-settings": "Nastavitve vrednosti", + "show-value": "Prikaži besedilo vrednosti", + "min-max-settings": "Nastavitve oznak najmanjše/največje vrednosti", + "show-min-max": "Prikaži najmanjšo in največjo vrednost", + "min-max-font": "Pisava oznak najmanjše in največje vrednosti", + "show-ticks": "Prikaži razdelke", + "tick-width": "Širina razdelkov", + "tick-color": "Barva razdelkov", + "tick-values": "Vrednosti razdelkov", + "no-tick-values": "Ni konfiguriranih vrednosti razdelkov", + "add-tick-value": "Dodaj vrednost razdelka", + "gauge-appearance": "Videz merilnika", + "units-title": "Naslov enot", + "value": "Vrednost", + "ticks": "Razdelki", + "arrow-and-scale-color": "Privzeta barva puščice in lestvice", + "scale-settings": "Nastavitve lestvice", + "scale": "Lestvica", + "scale-color": "Barve lestvice", + "compass-appearance": "Videz kompasa", + "label": "Oznaka", + "labels": "Oznake", + "label-style": "Slog oznake", + "simple-gauge-type": "Vrsta", + "gauge-bar-background": "Ozadje stolpca merilnika", + "bar-color": "Barva stolpca", + "min-and-max-value": "Najmanjša in največja vrednost", + "min-and-max-label": "Oznaka najmanjše in največje vrednosti", + "font": "Pisava", + "tick-width-and-color": "Širina in barva razdelkov", + "min-max-validation-text": "Največja vrednost mora biti večja od najmanjše vrednosti" + }, + "gpio": { + "pin": "Pin", + "label": "Oznaka", + "row": "Vrstica", + "column": "Stolpec", + "color": "Barva", + "panel-settings": "Nastavitve plošče", + "background-color": "Barva ozadja", + "gpio-switches": "Stikala GPIO", + "no-gpio-switches": "Ni konfiguriranih stikal GPIO", + "add-gpio-switch": "Dodaj stikalo GPIO", + "gpio-status-request": "Zahteva za stanje GPIO", + "method-name": "Ime metode", + "method-body": "Telo metode", + "gpio-status-change-request": "Zahteva za spremembo stanja GPIO", + "parse-gpio-status-function": "Funkcija za razčlenjevanje stanja GPIO", + "gpio-leds": "Diode LED GPIO", + "no-gpio-leds": "Ni konfiguriranih diod LED GPIO", + "add-gpio-led": "Dodaj diodo LED GPIO" + }, + "html-card": { + "html": "HTML", + "css": "CSS" + }, + "input-widgets": { + "attribute-not-allowed": "Parametra atributa ni mogoče uporabiti v tem gradniku", + "blocked-location": "Geolokacija je blokirana v vašem brskalniku", + "claim-device": "Prevzemi napravo", + "claim-failed": "Prevzem naprave ni uspel!", + "claim-not-found": "Naprave ni mogoče najti!", + "claim-successful": "Naprava je bila uspešno prevzeta!", + "date": "Datum", + "device-name": "Ime naprave", + "device-name-required": "Ime naprave je obvezno", + "discard-changes": "Zavrzi spremembe", + "entity-attribute-required": "Atribut entitete je obvezen", + "entity-coordinate-required": "Obe polji, zemljepisna širina in zemljepisna dolžina, sta obvezni", + "entity-timeseries-required": "Časovna serija entitete je obvezna", + "get-location": "Pridobi trenutno lokacijo", + "invalid-date": "Neveljaven datum", + "latitude": "Zemljepisna širina", + "longitude": "Zemljepisna dolžina", + "min-value-error": "Najmanjša vrednost je {{value}}", + "max-value-error": "Največja vrednost je {{value}}", + "not-allowed-entity": "Izbrana entiteta ne more imeti skupnih atributov", + "no-attribute-selected": "Ni izbran noben atribut", + "no-datakey-selected": "Ni izbran noben podatkovni ključ", + "no-coordinate-specified": "Podatkovni ključ za zemljepisno širino/dolžino ni določen", + "no-entity-selected": "Ni izbrana nobena entiteta", + "no-image": "Ni slike", + "no-support-geolocation": "Vaš brskalnik ne podpira geolokacije", + "no-support-web-camera": "Vaš brskalnik ne podpira kamer", + "enable-https-use-widget": "Za uporabo tega gradnika omogočite HTTPS", + "no-found-your-camera": "Vaše kamere ni mogoče najti", + "no-permission-camera": "Uporabnik je zavrnil dovoljenje / to spletno mesto nima dovoljenja za uporabo kamere", + "no-timeseries-selected": "Ni izbrana nobena časovna serija", + "secret-key": "Skrivni ključ", + "secret-key-required": "Skrivni ključ je obvezen", + "switch-attribute-value": "Preklopi vrednost atributa entitete", + "switch-camera": "Preklopi kamero", + "switch-timeseries-value": "Preklopi vrednost časovne serije entitete", + "take-photo": "Posnemi fotografijo", + "time": "Čas", + "timeseries-not-allowed": "Parametra časovne serije ni mogoče uporabiti v tem gradniku", + "update-failed": "Posodobitev ni uspela", + "update-successful": "Posodobitev je uspela", + "update-attribute": "Posodobi atribut", + "update-timeseries": "Posodobi časovno serijo", + "value": "Vrednost", + "general-settings": "Splošne nastavitve", + "widget-title": "Naslov gradnika", + "claim-button-label": "Oznaka gumba za prevzem", + "show-secret-key-field": "Prikaži vnosno polje »Skrivni ključ«", + "labels-settings": "Nastavitve oznak", + "show-labels": "Prikaži oznake", + "device-name-label": "Oznaka za vnosno polje imena naprave", + "secret-key-label": "Oznaka za vnosno polje skrivnega ključa", + "messages-settings": "Nastavitve sporočil", + "claim-device-success-message": "Besedilno sporočilo ob uspešnem prevzemu naprave", + "claim-device-not-found-message": "Besedilno sporočilo, ko naprave ni mogoče najti", + "claim-device-failed-message": "Besedilno sporočilo ob neuspešnem prevzemu naprave", + "claim-device-name-required-message": "Sporočilo o napaki »Ime naprave je obvezno«", + "claim-device-secret-key-required-message": "Sporočilo o napaki »Skrivni ključ je obvezen«", + "show-label": "Prikaži oznako", + "label": "Oznaka", + "required": "Obvezno", + "required-error-message": "Sporočilo o napaki »Obvezno«", + "show-result-message": "Prikaži sporočilo rezultata", + "integer-field-settings": "Nastavitve celoštevilskega polja", + "min-value": "Najmanjša vrednost", + "max-value": "Največja vrednost", + "double-field-settings": "Nastavitve polja z decimalnim številom", + "text-field-settings": "Nastavitve besedilnega polja", + "min-length": "Najmanjša dolžina", + "max-length": "Največja dolžina", + "checkbox-settings": "Nastavitve potrditvenega polja", + "true-label": "Oznaka za označeno", + "false-label": "Oznaka za neoznačeno", + "image-input-settings": "Nastavitve vnosa slike", + "display-preview": "Prikaži predogled", + "display-clear-button": "Prikaži gumb »Počisti«", + "display-apply-button": "Prikaži gumb »Uporabi«", + "display-discard-button": "Prikaži gumb »Zavrzi«", + "datetime-field-settings": "Nastavitve polja za datum/čas", + "display-time-input": "Prikaži vnos časa", + "latitude-key-name": "Ime ključa zemljepisne širine", + "longitude-key-name": "Ime ključa zemljepisne dolžine", + "show-get-location-button": "Prikaži gumb »Pridobi trenutno lokacijo«", + "use-high-accuracy": "Uporabi visoko natančnost", + "location-fields-settings": "Nastavitve lokacijskih polj", + "latitude-label": "Oznaka za zemljepisno širino", + "longitude-label": "Oznaka za zemljepisno dolžino", + "input-fields-alignment": "Poravnava vnosnih polj", + "input-fields-alignment-column": "Stolpec (privzeto)", + "input-fields-alignment-row": "Vrstica", + "layout": "Postavitev", + "row-gap": "Razmik med vrsticami v pikslih", + "column-gap": "Razmik med stolpci v pikslih", + "latitude-field-required": "Polje zemljepisne širine je obvezno", + "longitude-field-required": "Polje zemljepisne dolžine je obvezno", + "attribute-settings": "Nastavitve atributa", + "widget-mode": "Način gradnika", + "widget-mode-update-attribute": "Posodobi atribut", + "widget-mode-update-timeseries": "Posodobi časovno serijo", + "attribute-scope": "Obseg atributa", + "attribute-scope-server": "Atribut strežnika", + "attribute-scope-shared": "Skupni atribut", + "value-required": "Vrednost je obvezna", + "image-settings": "Nastavitve izhodne slike", + "image-format": "Oblika slike", + "image-format-jpeg": "JPEG", + "image-format-png": "PNG", + "image-format-webp": "WEBP", + "image-quality": "Kakovost slike", + "max-image-width": "Največja širina", + "max-image-height": "Največja višina", + "action-buttons": "Gumbi za dejanja", + "show-action-buttons": "Prikaži gumbe za dejanja", + "update-all-values": "Posodobi vse vrednosti, ne samo spremenjene", + "save-button-label": "Oznaka gumba »SHRANI«", + "reset-button-label": "Oznaka gumba »RAZVELJAVI«", + "group-settings": "Nastavitve skupine", + "show-group-title": "Prikaži naslov skupine polj, povezanih z različnimi entitetami", + "group-title": "Naslov skupine", + "fields-alignment": "Poravnava polj", + "fields-alignment-row": "Vrstica (privzeto)", + "fields-alignment-column": "Stolpec", + "fields-in-row": "Število polj v vrstici", + "option-value": "Vrednost (za ustvarjanje prazne možnosti vpišite »null«)", + "option-label": "Oznaka", + "hide-input-field": "Skrij vnosno polje", + "datakey-type": "Vrsta podatkovnega ključa", + "datakey-type-server": "Atribut strežnika (privzeto)", + "datakey-type-shared": "Skupni atribut", + "datakey-type-timeseries": "Časovna serija", + "datakey-value-type": "Vrsta vrednosti podatkovnega ključa", + "datakey-value-type-string": "Niz", + "datakey-value-type-double": "Decimalno število", + "datakey-value-type-integer": "Celo število", + "datakey-value-type-json": "JSON", + "datakey-value-type-boolean-checkbox": "Logična vrednost (potrditveno polje)", + "datakey-value-type-boolean-switch": "Logična vrednost (stikalo)", + "datakey-value-type-date-time": "Datum in čas", + "datakey-value-type-date": "Datum", + "datakey-value-type-time": "Čas", + "datakey-value-type-select": "Izbirni seznam", + "datakey-value-type-radio": "Izbirni gumbi", + "datakey-value-type-color": "Barva", + "value-is-required": "Vrednost je obvezna", + "ability-to-edit-attribute": "Možnost urejanja atributa", + "ability-to-edit-attribute-editable": "Uredljivo (privzeto)", + "ability-to-edit-attribute-disabled": "Onemogočeno", + "ability-to-edit-attribute-readonly": "Samo za branje", + "disable-on-datakey-name": "Onemogoči pri vrednosti false drugega podatkovnega ključa (navedite ime podatkovnega ključa)", + "field-appearance": "Videz polja", + "appearance-fill": "Zapolnjeno", + "appearance-outline": "Z obrisom", + "subscript-sizing": "Velikost območja pod poljem", + "subscript-sizing-fixed": "Fiksno", + "subscript-sizing-dynamic": "Dinamično", + "slide-toggle-settings": "Nastavitve drsnega stikala", + "slide-toggle-label-position": "Položaj oznake drsnega stikala", + "slide-toggle-label-position-after": "Za", + "slide-toggle-label-position-before": "Pred", + "select-options": "Možnosti izbirnega seznama", + "no-select-options": "Ni konfiguriranih možnosti izbirnega seznama", + "add-select-option": "Dodaj možnost izbirnega seznama", + "numeric-field-settings": "Nastavitve številskega polja", + "step-interval": "Korak med vrednostmi", + "error-messages": "Sporočila o napakah", + "min-value-error-message": "Sporočilo o napaki »Najmanjša vrednost«", + "max-value-error-message": "Sporočilo o napaki »Največja vrednost«", + "invalid-date-error-message": "Sporočilo o napaki »Neveljaven datum«", + "invalid-JSON-error-message": "Sporočilo o napaki »Neveljaven JSON«", + "icon-settings": "Nastavitve ikone", + "dialog-editor-settings": "Nastavitve urejevalnika v pogovornem oknu", + "use-custom-icon": "Uporabi ikono po meri", + "input-cell-icon": "Ikona, prikazana pred vnosno celico", + "value-conversion-settings": "Nastavitve pretvorbe vrednosti", + "get-value-settings": "Nastavitve pridobivanja vrednosti", + "use-get-value-function": "Uporabi funkcijo getValue", + "get-value-function": "Funkcija getValue", + "set-value-settings": "Nastavitve zapisovanja vrednosti", + "use-set-value-function": "Uporabi funkcijo setValue", + "set-value-function": "Funkcija setValue", + "json-invalid": "Vrednost JSON ima neveljavno obliko", + "title": "Naslov", + "cancel-button-label": "Oznaka gumba »PREKLIČI«", + "radio-button-settings": "Nastavitve izbirnih gumbov", + "color": "Barva", + "columns": "Stolpci", + "radio-options": "Možnosti izbirnih gumbov", + "no-radio-options": "Ni konfiguriranih možnosti izbirnih gumbov", + "add-radio-option": "Dodaj možnost izbirnega gumba", + "radio-label-position": "Položaj oznake", + "radio-label-position-before": "Pred", + "radio-label-position-after": "Za", + "save-image": "Shrani sliko", + "save-to-gallery": "Samodejno shrani zajete slike v galerijo slik", + "public-image": "Sliko naredi dostopno vsem, tudi neprijavljenim uporabnikom" + }, + "invalid-qr-code-text": "Neveljavno vhodno besedilo za kodo QR. Vhod mora biti niz", + "qr-code": { + "use-qr-code-text-function": "Uporabi funkcijo besedila kode QR", + "qr-code-text-pattern": "Vzorec besedila kode QR (npr. '${entityName} | ${keyName} - neko besedilo.')", + "qr-code-text-pattern-hint": "Vzorec besedila kode QR uporabi vrednost prvega najdenega ključa v entitetah iz vzdevka entitete.", + "qr-code-text-pattern-required": "Vzorec besedila kode QR je obvezen.", + "qr-code-text-function": "Funkcija besedila kode QR" + }, + "label-widget": { + "label-pattern": "Vzorec", + "label-pattern-hint": "Namig: npr. 'Besedilo ${keyName} enote.' ali ${#<key index>} enote'", + "label-pattern-required": "Vzorec je obvezen", + "label-position": "Položaj (odstotek glede na ozadje)", + "x-pos": "X", + "y-pos": "Y", + "background-color": "Barva ozadja", + "font-settings": "Nastavitve pisave", + "background-image": "Slika ozadja", + "labels": "Oznake", + "no-labels": "Ni konfiguriranih oznak", + "add-label": "Dodaj oznako" + }, + "navigation": { + "title": "Naslov", + "navigation-path": "Navigacijska pot", + "filter-type": "Vrsta filtra", + "filter-type-all": "Vsi elementi", + "filter-type-include": "Vključi elemente", + "filter-type-exclude": "Izključi elemente", + "items": "Elementi", + "enter-urls-to-filter": "Vnesite URL-je za filtriranje..." + }, + "persistent-table": { + "rpc-id": "ID RPC", + "message-type": "Vrsta sporočila", + "method": "Metoda", + "params": "Parametri", + "created-time": "Čas ustvarjanja", + "expiration-time": "Čas poteka", + "retries": "Ponovni poskusi", + "status": "Stanje", + "filter": "Filter", + "refresh": "Osveži", + "add": "Dodaj zahtevo RPC", + "details": "Podrobnosti", + "delete": "Izbriši", + "delete-request-title": "Izbriši trajno zahtevo RPC", + "delete-request-text": "Ali ste prepričani, da želite izbrisati zahtevo?", + "details-title": "Podrobnosti ID-ja RPC: ", + "additional-info": "Dodatne informacije", + "response": "Odgovor", + "any-status": "Vsa stanja", + "rpc-status-list": "Seznam stanj RPC", + "no-request-prompt": "Ni zahtev za prikaz", + "send-request": "Pošlji zahtevo", + "add-title": "Ustvari trajno zahtevo RPC", + "method-error": "Metoda je obvezna.", + "timeout-error": "Najmanjša vrednost časovne omejitve je 5000 (5 sekund).", + "white-space-error": "Presledki niso dovoljeni.", + "rpc-status": { + "QUEUED": "V ČAKALNI VRSTI", + "SENT": "POSLANO", + "DELIVERED": "DOSTAVLJENO", + "SUCCESSFUL": "USPEŠNO", + "TIMEOUT": "ČASOVNA OMEJITEV", + "EXPIRED": "POTEKLO", + "FAILED": "NEUSPEŠNO" + }, + "rpc-search-status-all": "VSE", + "message-types": { + "false": "Dvosmerno", + "true": "Enosmerno" + }, + "general-settings": "Splošne nastavitve", + "enable-filter": "Omogoči filter", + "enable-sticky-header": "Prikaži glavo med pomikanjem", + "enable-sticky-action": "Prikaži stolpec dejanj med pomikanjem", + "display-request-details": "Prikaži podrobnosti zahteve", + "allow-send-request": "Dovoli pošiljanje zahteve RPC", + "allow-delete-request": "Dovoli brisanje zahteve", + "columns-settings": "Nastavitve stolpcev", + "display-columns": "Stolpci za prikaz", + "column": "Stolpec", + "no-columns-found": "Ni najdenih stolpcev", + "no-columns-matching": "Stolpca »{{column}}« ni mogoče najti." + }, + "range-chart": { + "chart": "Grafikon", + "data-zoom": "Povečava podatkov", + "range-chart-appearance": "Videz grafikona razpona", + "range-colors": "Barve razponov", + "out-of-range-color": "Barva zunaj razpona", + "show-range-thresholds": "Prikaži pragove razponov", + "range-thresholds-settings": "Nastavitve pragov razponov", + "fill-area": "Zapolni območje", + "fill-area-opacity": "Neprosojnost zapolnjenega območja", + "range-chart-style": "Slog grafikona razpona" + }, + "knob": { + "behavior": "Vedenje", + "initial-value": "Začetna vrednost", + "initial-value-hint": "Dejanje za pridobivanje začetne vrednosti vrtljivega gumba.", + "on-value-change": "Ob spremembi vrednosti", + "on-value-change-hint": "Dejanje, ki se sproži, ko se vrednost vrtljivega gumba spremeni.", + "range": "Razpon", + "min": "min.", + "max": "maks.", + "value": "Vrednost", + "fallback-initial-value": "Nadomestna začetna vrednost" + }, + "rpc": { + "value-settings": "Nastavitve vrednosti", + "initial-value": "Začetna vrednost", + "retrieve-value-settings": "Nastavitve pridobivanja vrednosti za vklop/izklop", + "retrieve-value-method": "Pridobi vrednost z metodo", + "retrieve-value-method-none": "Ne pridobi", + "retrieve-value-method-rpc": "Pokliči metodo RPC za pridobivanje vrednosti", + "retrieve-value-method-attribute": "Naroči se na atribut", + "retrieve-value-method-timeseries": "Naroči se na časovno serijo", + "attribute-value-key": "Ključ atributa", + "timeseries-value-key": "Ključ časovne serije", + "get-value-method": "Metoda RPC za pridobivanje vrednosti", + "parse-value-function": "Funkcija za razčlenjevanje vrednosti", + "update-value-settings": "Nastavitve posodabljanja vrednosti", + "set-value-method": "Metoda RPC za nastavljanje vrednosti", + "convert-value-function": "Funkcija za pretvorbo vrednosti", + "rpc-settings": "Nastavitve RPC", + "request-timeout": "Časovna omejitev zahteve RPC (ms)", + "persistent-rpc-settings": "Nastavitve trajnega RPC", + "request-persistent": "Trajna zahteva RPC", + "persistent-polling-interval": "Interval poizvedovanja (ms) za pridobivanje odgovora trajnega ukaza RPC", + "common-settings": "Splošne nastavitve", + "switch-title": "Naslov stikala", + "show-on-off-labels": "Prikaži oznaki za vklop/izklop", + "slide-toggle-label": "Oznaka drsnega stikala", + "label-position": "Položaj oznake", + "label-position-before": "Pred", + "label-position-after": "Za", + "slider-color": "Barva drsnika", + "slider-color-primary": "Primarna", + "slider-color-accent": "Poudarjena", + "slider-color-warn": "Opozorilna", + "button-style": "Slog gumba", + "button-raised": "Dvignjeni gumb", + "button-primary": "Primarna barva", + "button-background-color": "Barva ozadja gumba", + "button-text-color": "Barva besedila gumba", + "widget-title": "Naslov gradnika", + "button-label": "Oznaka gumba", + "device-attribute-scope": "Obseg atributa naprave", + "server-attribute": "Atribut strežnika", + "shared-attribute": "Skupni atribut", + "device-attribute-parameters": "Parametri atributa naprave", + "is-one-way-command": "Enosmerni ukaz", + "rpc-method": "Metoda RPC", + "rpc-method-params": "Parametri metode RPC", + "show-rpc-error": "Prikaži napako pri izvajanju ukaza RPC", + "led-title": "Naslov LED", + "led-color": "Barva LED", + "check-status-settings": "Nastavitve preverjanja stanja", + "perform-rpc-status-check": "Izvedi preverjanje stanja naprave prek RPC", + "retrieve-led-status-value-method": "Pridobi vrednost stanja LED z metodo", + "led-status-value-attribute": "Atribut naprave, ki vsebuje vrednost stanja LED", + "led-status-value-timeseries": "Časovna serija naprave, ki vsebuje vrednost stanja LED", + "check-status-method": "Metoda RPC za preverjanje stanja naprave", + "parse-led-status-value-function": "Funkcija za razčlenjevanje vrednosti stanja LED", + "knob-title": "Naslov vrtljivega gumba" + }, + "maps": { + "map-type": { + "type": "Vrsta zemljevida", + "map": "Zemljevid", + "image": "Slika" + }, + "image": { + "image-source": "Vir slike", + "image-source-image": "Slika", + "image-source-entity-key": "Ključ entitete", + "source-entity-alias": "Vzdevek izvorne entitete", + "image-url-key": "Ključ URL-ja slike", + "image-url-key-required": "Ključ URL-ja slike je obvezen" + }, + "control": { + "map-controls": "Upravljalni elementi zemljevida", + "position": "Položaj", + "position-topleft": "Zgoraj levo", + "position-topright": "Zgoraj desno", + "position-bottomleft": "Spodaj levo", + "position-bottomright": "Spodaj desno", + "zoom-actions": "Dejanja za povečavo", + "zoom-scroll": "Pomikanje", + "zoom-double-click": "Dvojni klik", + "zoom-control-buttons": "Gumbi za upravljanje", + "scale": "Merilo", + "scale-metric": "Metrično", + "scale-imperial": "Imperialno", + "switch-to-drag-mode-using-button": "Preklopi v način vlečenja z gumbom" + }, + "timeline": { + "control-panel": "Plošča za upravljanje časovnice", + "time-step": "Časovni korak", + "speed-options": "Možnosti hitrosti", + "timestamp": "Časovni žig", + "snap-to-real-location": "Pripni na dejansko lokacijo", + "location-snap-filter-function": "Funkcija filtra pripenjanja lokacije", + "no-trips-data-available": "Podatki o poteh niso na voljo" + }, + "map-action": { + "map-action-buttons": "Gumbi za dejanja na zemljevidu", + "label": "Oznaka", + "icon": "Ikona", + "color": "Barva", + "action": "Dejanje", + "add-button": "Dodaj gumb", + "no-action-buttons-configured": "Ni konfiguriranih gumbov za dejanja", + "remove-action-button": "Odstrani gumb za dejanje", + "map-action-button": "Gumb za dejanje na zemljevidu", + "button-requires": "Gumb zahteva oznako ali ikono" + }, + "common": { + "common-map-settings": "Skupne nastavitve zemljevida", + "fit-map-bounds": "Prilagodi meje zemljevida tako, da zajamejo vse označevalnike", + "default-map-center-position": "Privzeti položaj središča zemljevida", + "default-map-zoom-level": "Privzeta raven povečave zemljevida", + "entities-limit": "Omejitev števila entitet za nalaganje" + }, + "layer": { + "label": "Oznaka", + "layer": "Sloj", + "layers": "Sloji", + "map-layers": "Sloji zemljevida", + "add-layer": "Dodaj sloj", + "layer-settings": "Nastavitve sloja", + "remove-layer": "Odstrani sloj", + "no-layers": "Ni konfiguriranih slojev", + "roadmap": "Cestni zemljevid", + "satellite": "Satelitski", + "hybrid": "Hibridni", + "webgl-not-available": "Izbrani sloj zemljevida za prikaz potrebuje grafično pospeševanje. V nastavitvah brskalnika omogočite »Strojno pospeševanje« ali izberite drug sloj.", + "reference": { + "reference-layer": "Referenčni sloj", + "no-layer": "Brez sloja", + "openstreetmap-hybrid": "OpenStreetMap Hybrid", + "world-edition-hybrid": "World Edition Hybrid", + "enhanced-contrast-hybrid": "Hibrid z izboljšanim kontrastom" + }, + "provider": { + "provider": "Ponudnik", + "openstreet": { + "title": "OpenStreet", + "mapnik": "Mapnik", + "hot": "HOT", + "esri-street": "WorldStreetMap", + "esri-topo": "WorldTopoMap", + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" + }, + "google": { + "title": "Google", + "roadmap": "Cestni zemljevid", + "satellite": "Satelitski", + "hybrid": "Hibridni", + "terrain": "Relief" + }, + "here": { + "title": "HERE", + "normal-day": "Običajni (dnevni)", + "normal-night": "Običajni (nočni)", + "hybrid-day": "Hibridni (dnevni)", + "terrain-day": "Relief (dnevni)" + }, + "tencent": { + "title": "Tencent", + "normal": "Običajni", + "satellite": "Satelitski", + "terrain": "Relief" + }, + "custom": { + "title": "Po meri", + "tile-url": "URL ploščic", + "attribution": "Besedilo o avtorskih pravicah", + "attribution-hint": "Prikaže se na dnu zemljevida. Zahteva ga večina ponudnikov ploščic." + } + }, + "credentials": { + "credentials": "Poverilnice", + "api-key": "Ključ API" + } + }, + "overlays": { + "overlays": "Prekrivni sloji", + "overlays-hint": "Konfigurirajte vire podatkov, videz, vedenje, možnosti urejanja in združevanje za entitete zemljevida", + "trips": "Poti", + "markers": "Označevalniki", + "polygons": "Poligoni", + "circles": "Krogi", + "polylines": "Lomljenke" + }, + "data-layer": { + "source": "Vir", + "filter": "Filter", + "additional-data-keys": "Dodatni podatkovni ključi", + "additional-datasources": "Dodatni viri podatkov", + "additional-datasources-hint": "Vir podatkov za dostop do atributov ali telemetrije entitet, ki niso prikazane na zemljevidu. Uporabite ga lahko v funkcijah prekrivnih slojev zemljevida.", + "more-datasources": "Več virov podatkov", + "data-keys": "Podatkovni ključi", + "add-datasource": "Dodaj vir podatkov", + "no-datasources": "Ni konfiguriranih virov podatkov", + "remove-datasource": "Odstrani vir podatkov", + "behavior": "Vedenje", + "on-click": "Ob kliku", + "on-click-hint": "Dejanje, ki se sproži, ko uporabnik klikne element zemljevida.", + "groups": "Skupine", + "groups-hint": "Seznam imen skupin, dodeljenih prekrivnemu sloju, ki se uporabljajo za preklop njegove vidnosti na zemljevidu.", + "color": "Barva", + "color-settings": "Nastavitve barv", + "color-type-constant": "Konstantna", + "color-type-range": "Razpon", + "color-type-function": "Funkcija", + "color-range-source-key": "Ključ vira barvnega razpona", + "color-range-source-key-required": "Ključ vira barvnega razpona je obvezen", + "color-range": "Barvni razpon", + "color-function": "Funkcija barve", + "label": "Oznaka", + "tooltip": "Namig", + "pattern-type-pattern": "Vzorec", + "pattern-type-function": "Funkcija", + "label-pattern": "Oznaka (primeri vzorcev: '${entityName}', '${entityName}: (Besedilo ${keyName} enote.)' )", + "label-function": "Funkcija oznake", + "tooltip-pattern": "Namig (npr. 'Besedilo ${keyName} enote.' ali Besedilo povezave)", + "tooltip-function": "Funkcija namiga", + "tooltip-trigger": "Sprožilec namiga", + "tooltip-trigger-click": "Prikaži namig ob kliku", + "tooltip-trigger-hover": "Prikaži namig ob premiku miške nad element", + "auto-close-tooltips": "Samodejno zapri namige", + "tooltip-offset": "Odmik namiga", + "tooltip-offset-horizontal": "Vodoravno", + "tooltip-offset-vertical": "Navpično", + "tooltip-tag-actions": "Dejanja značk", + "add-tooltip-tag-action": "Dodaj dejanje značke", + "edit-tooltip-tag-action": "Uredi dejanje značke", + "remove-tooltip-tag-action": "Odstrani dejanje značke", + "action-add": "Dodaj", + "action-edit": "Uredi", + "action-move": "Premakni", + "action-remove": "Odstrani", + "edit-instruments": "Orodja za urejanje", + "persist-location-attribute-scope": "Obseg atributa za trajno shranjevanje lokacije", + "enable-snapping": "Omogoči pripenjanje na druga oglišča za natančno risanje", + "enable-snapping-hint": "Samodejno poravna nove točke z obstoječimi oblikami, da je risanje lažje in natančnejše.", + "drag-drop-mode": "Način povleci in spusti", + "trip": { + "no-trips": "Ni konfiguriranih poti", + "add-trip": "Dodaj pot", + "trip-configuration": "Konfiguracija poti", + "remove-trip": "Odstrani pot" + }, + "marker": { + "marker": "Označevalnik", + "latitude-key": "Ključ zemljepisne širine", + "longitude-key": "Ključ zemljepisne dolžine", + "x-pos-key": "Ključ položaja X", + "y-pos-key": "Ključ položaja Y", + "latitude-key-required": "Ključ zemljepisne širine je obvezen", + "longitude-key-required": "Ključ zemljepisne dolžine je obvezen", + "x-pos-key-required": "Ključ položaja X je obvezen", + "y-pos-key-required": "Ključ položaja Y je obvezen", + "no-markers": "Ni konfiguriranih označevalnikov", + "add-marker": "Dodaj označevalnik", + "marker-configuration": "Konfiguracija označevalnika", + "remove-marker": "Odstrani označevalnik", + "marker-type": "Vrsta označevalnika", + "marker-type-shape": "Oblika", + "marker-type-icon": "Ikona", + "marker-type-image": "Slika", + "shape": "Oblika", + "icon": "Ikona", + "image": "Slika", + "marker-shapes": "Oblike označevalnikov", + "marker-icon": "Ikona označevalnika", + "marker-appearance": "Videz označevalnika", + "marker-image": "Slika označevalnika", + "marker-image-type-image": "Slika", + "marker-image-type-function": "Funkcija", + "custom-marker-image-size": "Velikost slike označevalnika po meri", + "marker-image-function": "Funkcija slike označevalnika", + "marker-images": "Slike označevalnikov", + "marker-offset": "Odmik označevalnika", + "offset-horizontal": "Vodoravno", + "offset-vertical": "Navpično", + "rotate-marker": "Zasukaj označevalnik", + "offset-angle": "Kot odmika", + "position-conversion": "Pretvorba položaja", + "position-conversion-function": "Funkcija za pretvorbo položaja mora vrniti koordinati x,y kot števili double v razponu od 0 do 1", + "clustering": { + "use-map-markers-clustering": "Uporabi gručenje označevalnikov zemljevida", + "zoom-on-cluster-click": "Povečaj ob kliku na gručo", + "max-zoom": "Največja raven povečave, pri kateri je označevalnik lahko del gruče (0 - 18)", + "max-radius": "Največji polmer, ki ga pokrije gruča", + "zoom-animation": "Animacija označevalnikov pri povečavi", + "bounds-on-cluster-mouse-over": "Meje označevalnikov ob premiku miške nad gručo", + "spiderfy-max-zoom-level": "Razpri pri največji ravni povečave (za prikaz vseh označevalnikov gruče)", + "load-optimization": "Optimizacija nalaganja", + "chunked-load": "Uporabi nalaganje po delih pri dodajanju označevalnikov, da stran ne zamrzne", + "lazy-load": "Uporabi leno nalaganje pri dodajanju označevalnikov", + "use-cluster-marker-color-function": "Uporabi funkcijo barve označevalnikov gruč", + "marker-color-function": "Funkcija barve označevalnika" + }, + "edit": "Uredi označevalnik", + "remove-marker-for": "Odstrani označevalnik za »{{entityName}}«", + "place-marker": "Postavi označevalnik", + "place-marker-hint": "Kliknite za postavitev označevalnika", + "place-marker-hint-with-entity": "Kliknite, da postavite entiteto »{{entityName}}«" + }, + "path": { + "path": "Pot", + "path-decorator": "Okras poti", + "decorator-symbol": "Simbol okrasa", + "decorator-symbol-arrow-head": "Puščica", + "decorator-symbol-dash": "Črtica", + "decorator-arrangement": "Razporeditev okrasa", + "decorator-offset": "Začetek", + "decorator-end-offset": "Konec", + "decorator-repeat": "Ponovitev" + }, + "points": { + "points": "Točke", + "point-tooltip": "Namig točke" + }, + "shape": { + "fill": "Polnilo", + "fill-type-color": "Barva", + "fill-type-stripe": "Črtasto", + "fill-type-image": "Slika", + "color": "Barva", + "stripe": "Črta", + "image": "Slika", + "stroke": "Obris", + "fill-image": "Slika polnila", + "fill-image-type-image": "Slika", + "fill-image-type-function": "Funkcija", + "preserve-aspect-ratio": "Ohrani razmerje stranic", + "opacity": "Neprosojnost", + "angle": "Kot zasuka", + "scale": "Merilo", + "fill-image-function": "Funkcija slike polnila oblike", + "fill-images": "Slike polnila oblike", + "stripe-pattern": "Črtasti vzorec", + "first-stripe": "Prva črta", + "second-stripe": "Druga črta" + }, + "polygon": { + "polygon-key": "Ključ poligona", + "polygon-key-required": "Ključ poligona je obvezen", + "no-polygons": "Ni konfiguriranih poligonov", + "add-polygon": "Dodaj poligon", + "polygon-configuration": "Konfiguracija poligona", + "remove-polygon": "Odstrani poligon", + "edit": "Uredi poligon", + "remove-polygon-for": "Odstrani poligon za »{{entityName}}«", + "cut": "Izreži območje poligona", + "rotate": "Zasukaj poligon", + "draw-rectangle": "Nariši pravokotnik", + "draw-polygon": "Nariši poligon", + "polygon-place-first-point-cut-hint": "Kliknite za postavitev prve točke", + "continue-polygon-cut-hint": "Kliknite za nadaljevanje risanja", + "finish-polygon-cut-hint": "Kliknite prvi označevalnik za dokončanje in shranitev", + "polygon-place-first-point-hint": "Poligon: kliknite za postavitev prve točke", + "polygon-place-first-point-hint-with-entity": "Poligon za »{{entityName}}«: kliknite za postavitev prve točke", + "continue-polygon-hint": "Poligon: kliknite za nadaljevanje risanja", + "continue-polygon-hint-with-entity": "Poligon za »{{entityName}}«: kliknite za nadaljevanje risanja", + "finish-polygon-hint": "Poligon: kliknite prvi označevalnik za dokončanje risanja", + "finish-polygon-hint-with-entity": "Poligon za »{{entityName}}«: kliknite prvi označevalnik za dokončanje in shranitev", + "rectangle-place-first-point-hint": "Pravokotnik: kliknite za postavitev prve točke", + "rectangle-place-first-point-hint-with-entity": "Pravokotnik za »{{entityName}}«: kliknite za postavitev prve točke", + "finish-rectangle-hint": "Pravokotnik: kliknite za dokončanje risanja", + "finish-rectangle-hint-with-entity": "Pravokotnik za »{{entityName}}«: kliknite za dokončanje in shranitev" + }, + "circle": { + "circle-key": "Ključ kroga", + "circle-key-required": "Ključ kroga je obvezen", + "no-circles": "Ni konfiguriranih krogov", + "add-circle": "Dodaj krog", + "circle-configuration": "Konfiguracija kroga", + "remove-circle": "Odstrani krog", + "edit": "Uredi krog", + "remove-circle-for": "Odstrani krog za »{{entityName}}«", + "draw-circle": "Nariši krog", + "place-circle-center-hint-with-entity": "Krog za »{{entityName}}«: kliknite za postavitev središča kroga", + "place-circle-center-hint": "Krog: kliknite za postavitev središča kroga", + "finish-circle-hint-with-entity": "Krog za »{{entityName}}«: kliknite za dokončanje in shranitev kroga", + "finish-circle-hint": "Krog: kliknite za dokončanje risanja" + }, + "polyline": { + "polyline-key": "Ključ lomljenke", + "polyline-key-required": "Ključ lomljenke je obvezen", + "no-polylines": "Ni konfiguriranih lomljenk", + "add-polylines": "Dodaj lomljenko", + "polyline-configuration": "Konfiguracija lomljenke", + "remove-polyline": "Odstrani lomljenko", + "edit": "Uredi lomljenko", + "cut": "Izreži območje lomljenke", + "rotate": "Zasukaj lomljenko", + "remove-polyline-for": "Odstrani lomljenko za »{{entityName}}«", + "draw-polyline": "Nariši lomljenko", + "polyline-place-first-point-hint-with-entity": "Lomljenka za »{{entityName}}«: kliknite za postavitev prve točke", + "polyline-place-first-point-hint": "Lomljenka: kliknite za postavitev prve točke", + "finish-polyline-hint-with-entity": "Lomljenka za »{{entityName}}«: kliknite za dokončanje risanja", + "finish-polyline-hint": "Lomljenka: kliknite za dokončanje risanja", + "polyline-place-first-point-cut-hint": "Kliknite za postavitev prve točke", + "finish-polyline-cut-hint": "Kliknite prvi označevalnik za dokončanje in shranitev" + }, + "select-entity": "Izberite entiteto", + "select-entity-hint": "Namig: po izbiri kliknite na zemljevid, da nastavite položaj" + }, + "select-entity": "Izberi entiteto", + "select-entity-hint": "Namig: po izbiri kliknite na zemljevid, da nastavite položaj", + "tooltips": { + "placeMarker": "Kliknite, da postavite entiteto »{{entityName}}«", + "firstVertex": "Poligon za »{{entityName}}«: kliknite za postavitev prve točke", + "firstVertex-cut": "Kliknite za postavitev prve točke", + "continueLine": "Poligon za »{{entityName}}«: kliknite za nadaljevanje risanja", + "continueLine-cut": "Kliknite za nadaljevanje risanja", + "finishLine": "Kliknite kateri koli obstoječi označevalnik za dokončanje", + "finishPoly": "Poligon za »{{entityName}}«: kliknite prvi označevalnik za dokončanje in shranitev", + "finishPoly-cut": "Kliknite prvi označevalnik za dokončanje in shranitev", + "finishRect": "Poligon za »{{entityName}}«: kliknite za dokončanje in shranitev", + "startCircle": "Krog za »{{entityName}}«: kliknite za postavitev središča kroga", + "finishCircle": "Krog za »{{entityName}}«: kliknite za dokončanje kroga", + "placeCircleMarker": "Kliknite za postavitev krožnega označevalnika" + }, + "actions": { + "finish": "Dokončaj", + "cancel": "Prekliči", + "removeLastVertex": "Odstrani zadnjo točko" + }, + "buttonTitles": { + "drawMarkerButton": "Postavi entiteto", + "drawPolyButton": "Ustvari poligon", + "drawLineButton": "Ustvari lomljenko", + "drawCircleButton": "Ustvari krog", + "drawRectButton": "Ustvari pravokotnik", + "editButton": "Način urejanja", + "dragButton": "Način povleci in spusti", + "cutButton": "Izreži območje poligona", + "deleteButton": "Odstrani", + "drawCircleMarkerButton": "Ustvari krožni označevalnik", + "rotateButton": "Zasukaj poligon" + }, + "map-provider-settings": "Nastavitve ponudnika zemljevidov", + "map-provider": "Ponudnik zemljevidov", + "map-provider-google": "Google Maps", + "map-provider-openstreet": "OpenStreet Maps", + "map-provider-here": "HERE Maps", + "map-provider-image": "Slikovni zemljevid", + "map-provider-tencent": "Tencent Maps", + "openstreet-provider": "Ponudnik zemljevidov OpenStreet", + "openstreet-provider-mapnik": "OpenStreetMap.Mapnik (privzeto)", + "openstreet-provider-hot": "OpenStreetMap.HOT", + "openstreet-provider-esri-street": "Esri.WorldStreetMap", + "openstreet-provider-esri-topo": "Esri.WorldTopoMap", + "openstreet-provider-esri-imagery": "Esri.WorldImagery", + "openstreet-provider-cartodb-positron": "CartoDB.Positron", + "openstreet-provider-cartodb-dark-matter": "CartoDB.DarkMatter", + "use-custom-provider": "Uporabi ponudnika po meri", + "custom-provider-tile-url": "URL ploščic ponudnika po meri", + "google-maps-api-key": "Ključ API za Google Maps", + "default-map-type": "Privzeta vrsta zemljevida", + "google-map-type-roadmap": "Cestni zemljevid", + "google-map-type-satelite": "Satelitski", + "google-map-type-hybrid": "Hibridni", + "google-map-type-terrain": "Relief", + "map-layer": "Sloj zemljevida", + "here-map-normal-day": "HERE.normalDay (privzeto)", + "here-map-normal-night": "HERE.normalNight", + "here-map-hybrid-day": "HERE.hybridDay", + "here-map-terrain-day": "HERE.terrainDay", + "credentials": "Poverilnice", + "here-api-key": "Ključ API HERE", + "tencent-maps-api-key": "Ključ API za Tencent Maps", + "tencent-map-type-roadmap": "Cestni zemljevid", + "tencent-map-type-satelite": "Satelitski", + "tencent-map-type-hybrid": "Hibridni", + "image-map-background": "Ozadje slikovnega zemljevida", + "image-map-background-from-entity-attribute": "Ozadje slikovnega zemljevida pridobi iz atributa entitete", + "image-url-source-entity-alias": "Vzdevek izvorne entitete za URL slike", + "image-url-source-entity-attribute": "Atribut izvorne entitete za URL slike", + "common-map-settings": "Skupne nastavitve zemljevida", + "x-pos-key-name": "Ime ključa položaja X", + "y-pos-key-name": "Ime ključa položaja Y", + "latitude-key-name": "Ime ključa zemljepisne širine", + "longitude-key-name": "Ime ključa zemljepisne dolžine", + "default-map-zoom-level": "Privzeta raven povečave zemljevida (0 - 20)", + "default-map-center-position": "Privzeti položaj središča zemljevida (0,0)", + "disable-scroll-zooming": "Onemogoči povečavo s pomikanjem", + "disable-double-click-zooming": "Onemogoči povečavo z dvojnim klikom", + "disable-zoom-control-buttons": "Onemogoči gumbe za povečavo", + "fit-map-bounds": "Prilagodi meje zemljevida tako, da zajamejo vse označevalnike", + "use-default-map-center-position": "Uporabi privzeti položaj središča zemljevida", + "entities-limit": "Omejitev števila entitet za nalaganje", + "markers-settings": "Nastavitve označevalnikov", + "marker-offset-x": "Odmik X označevalnika glede na položaj, pomnožen s širino označevalnika", + "marker-offset-y": "Odmik Y označevalnika glede na položaj, pomnožen z višino označevalnika", + "position-function": "Funkcija za pretvorbo položaja mora vrniti koordinati x,y kot števili double v razponu od 0 do 1", + "draggable-marker": "Premakljiv označevalnik", + "label": "Oznaka", + "show-label": "Prikaži oznako", + "use-label-function": "Uporabi funkcijo oznake", + "label-pattern": "Oznaka (primeri vzorcev: '${entityName}', '${entityName}: (Besedilo ${keyName} enote.)' )", + "label-function": "Funkcija oznake", + "tooltip": "Namig", + "show-tooltip": "Prikaži namig", + "show-tooltip-action": "Dejanje za prikaz namiga", + "show-tooltip-action-click": "Prikaži namig ob kliku (privzeto)", + "show-tooltip-action-hover": "Prikaži namig ob premiku miške nad element", + "auto-close-tooltips": "Samodejno zapri namige", + "use-tooltip-function": "Uporabi funkcijo namiga", + "tooltip-pattern": "Namig (npr. 'Besedilo ${keyName} enote.' ali Besedilo povezave)", + "tooltip-function": "Funkcija namiga", + "tooltip-offset-x": "Odmik X namiga glede na sidro označevalnika, pomnožen s širino označevalnika", + "tooltip-offset-y": "Odmik Y namiga glede na sidro označevalnika, pomnožen z višino označevalnika", + "color": "Barva", + "use-color-function": "Uporabi funkcijo barve", + "color-function": "Funkcija barve", + "marker-image": "Slika označevalnika", + "use-marker-image-function": "Uporabi funkcijo slike označevalnika", + "custom-marker-image": "Slika označevalnika po meri", + "custom-marker-image-size": "Velikost slike označevalnika po meri (px)", + "marker-image-function": "Funkcija slike označevalnika", + "marker-images": "Slike označevalnikov", + "polygon-settings": "Nastavitve poligona", + "show-polygon": "Prikaži poligon", + "polygon-key-name": "Ime ključa poligona", + "enable-polygon-edit": "Omogoči urejanje poligona", + "polygon-label": "Oznaka poligona", + "show-polygon-label": "Prikaži oznako poligona", + "use-polygon-label-function": "Uporabi funkcijo oznake poligona", + "polygon-label-pattern": "Oznaka poligona (primeri vzorcev: '${entityName}', '${entityName}: (Besedilo ${keyName} enote.)' )", + "polygon-label-function": "Funkcija oznake poligona", + "polygon-tooltip": "Namig poligona", + "show-polygon-tooltip": "Prikaži namig poligona", + "auto-close-polygon-tooltips": "Samodejno zapri namige poligona", + "use-polygon-tooltip-function": "Uporabi funkcijo namiga poligona", + "polygon-tooltip-pattern": "Namig (npr. 'Besedilo ${keyName} enote.' ali Besedilo povezave)", + "polygon-tooltip-function": "Funkcija namiga poligona", + "polygon-color": "Barva poligona", + "polygon-opacity": "Neprosojnost poligona", + "use-polygon-color-function": "Uporabi funkcijo barve poligona", + "polygon-color-function": "Funkcija barve poligona", + "polygon-stroke": "Obris poligona", + "stroke-color": "Barva obrisa", + "stroke-opacity": "Neprosojnost obrisa", + "stroke-weight": "Debelina obrisa", + "use-polygon-stroke-color-function": "Uporabi funkcijo barve obrisa poligona", + "polygon-stroke-color-function": "Funkcija barve obrisa poligona", + "circle-settings": "Nastavitve kroga", + "show-circle": "Prikaži krog", + "circle-key-name": "Ime ključa kroga", + "enable-circle-edit": "Omogoči urejanje kroga", + "circle-label": "Oznaka kroga", + "show-circle-label": "Prikaži oznako kroga", + "use-circle-label-function": "Uporabi funkcijo oznake kroga", + "circle-label-pattern": "Oznaka kroga (primeri vzorcev: '${entityName}', '${entityName}: (Besedilo ${keyName} enote.)' )", + "circle-label-function": "Funkcija oznake kroga", + "circle-tooltip": "Namig kroga", + "show-circle-tooltip": "Prikaži namig kroga", + "auto-close-circle-tooltips": "Samodejno zapri namige kroga", + "use-circle-tooltip-function": "Uporabi funkcijo namiga kroga", + "circle-tooltip-pattern": "Namig (npr. 'Besedilo ${keyName} enote.' ali Besedilo povezave)", + "circle-tooltip-function": "Funkcija namiga kroga", + "circle-fill-color": "Barva polnila kroga", + "circle-fill-color-opacity": "Neprosojnost barve polnila kroga", + "use-circle-fill-color-function": "Uporabi funkcijo barve polnila kroga", + "circle-fill-color-function": "Funkcija barve polnila kroga", + "circle-stroke": "Obris kroga", + "use-circle-stroke-color-function": "Uporabi funkcijo barve obrisa kroga", + "circle-stroke-color-function": "Funkcija barve obrisa kroga", + "markers-clustering-settings": "Nastavitve gručenja označevalnikov", + "use-map-markers-clustering": "Uporabi gručenje označevalnikov zemljevida", + "zoom-on-cluster-click": "Povečaj ob kliku na gručo", + "max-cluster-zoom": "Največja raven povečave, pri kateri je označevalnik lahko del gruče (0 - 18)", + "max-cluster-radius-pixels": "Največji polmer, ki ga gruča pokrije v slikovnih pikah", + "cluster-zoom-animation": "Prikaži animacijo označevalnikov pri povečavi", + "show-markers-bounds-on-cluster-mouse-over": "Prikaži meje označevalnikov ob premiku miške nad gručo", + "spiderfy-max-zoom-level": "Razpri pri največji ravni povečave (za prikaz vseh označevalnikov gruče)", + "load-optimization": "Optimizacija nalaganja", + "cluster-chunked-loading": "Uporabi nalaganje po delih pri dodajanju označevalnikov, da stran ne zamrzne", + "cluster-markers-lazy-load": "Uporabi leno nalaganje pri dodajanju označevalnikov", + "editor-settings": "Nastavitve urejevalnika", + "enable-snapping": "Omogoči pripenjanje na druga oglišča za natančno risanje", + "init-draggable-mode": "Zaženi zemljevid v načinu vlečenja", + "hide-all-edit-buttons": "Skrij vse upravljalne gumbe za urejanje", + "hide-draw-buttons": "Skrij gumbe za risanje", + "hide-edit-buttons": "Skrij gumbe za urejanje", + "hide-remove-button": "Skrij gumb za odstranjevanje", + "route-map-settings": "Nastavitve zemljevida poti", + "trip-animation-settings": "Nastavitve animacije poti", + "normalization-step": "Korak normalizacije podatkov (ms)", + "tooltip-background-color": "Barva ozadja namiga", + "tooltip-font-color": "Barva pisave namiga", + "tooltip-opacity": "Neprosojnost namiga (0-1)", + "auto-close-tooltip": "Samodejno zapri namig", + "rotation-angle": "Dodatni kot zasuka označevalnika (°)", + "path-settings": "Nastavitve poti", + "path-color": "Barva poti", + "use-path-color-function": "Uporabi funkcijo barve poti", + "path-color-function": "Funkcija barve poti", + "path-decorator": "Okras poti", + "use-path-decorator": "Uporabi okras poti", + "decorator-symbol": "Simbol okrasa", + "decorator-symbol-arrow-head": "Puščica", + "decorator-symbol-dash": "Črtica", + "decorator-symbol-size": "Velikost simbola okrasa (px)", + "use-path-decorator-custom-color": "Uporabi barvo okrasa poti po meri", + "decorator-custom-color": "Barva okrasa po meri", + "decorator-offset": "Odmik okrasa", + "end-decorator-offset": "Končni odmik okrasa", + "decorator-repeat": "Ponovitev okrasa", + "points-settings": "Nastavitve točk", + "show-points": "Prikaži točke", + "point-color": "Barva točke", + "point-size": "Velikost točke (px)", + "use-point-color-function": "Uporabi funkcijo barve točke", + "point-color-function": "Funkcija barve točke", + "use-point-as-anchor": "Uporabi točko kot sidro", + "point-as-anchor-function": "Funkcija točke kot sidra", + "independent-point-tooltip": "Neodvisen namig točke", + "clustering-markers": "Gručenje označevalnikov", + "use-icon-create-function": "Uporabi funkcijo barve označevalnikov", + "marker-color-function": "Funkcija barve označevalnika" + }, + "markdown": { + "use-markdown-text-function": "Uporabi funkcijo vrednosti Markdown/HTML", + "markdown-text-function": "Funkcija vrednosti Markdown/HTML", + "markdown-text-pattern": "Vzorec Markdown/HTML (Markdown ali HTML s spremenljivkami, npr. '${entityName} ali ${keyName} - nekaj besedila.')", + "apply-default-markdown-style": "Uporabi privzeti slog Markdown", + "markdown-css": "CSS za Markdown/HTML" + }, + "simple-card": { + "label": "Oznaka", + "label-position": "Položaj oznake", + "label-position-left": "Levo", + "label-position-top": "Zgoraj" + }, + "single-switch": { + "behavior": "Vedenje", + "layout": "Postavitev", + "layout-right": "Desno", + "layout-left": "Levo", + "layout-centered": "Sredinsko", + "auto-scale": "Samodejno prilagajanje velikosti", + "label": "Oznaka", + "icon": "Ikona", + "switch-color": "Barva stikala", + "on": "Vklopljeno", + "off": "Izklopljeno", + "disabled": "Onemogočeno", + "tumbler-color": "Barva gumba stikala", + "on-label": "Oznaka za vklopljeno", + "off-label": "Oznaka za izklopljeno", + "switch": "Stikalo" + }, + "slider": { + "behavior": "Vedenje", + "initial-value": "Začetna vrednost", + "initial-value-hint": "Dejanje za pridobitev začetne vrednosti drsnika.", + "on-value-change": "Ob spremembi vrednosti", + "on-value-change-hint": "Dejanje, ki se sproži, ko se vrednost drsnika spremeni.", + "layout": "Postavitev", + "layout-default": "Privzeto", + "layout-extended": "Razširjeno", + "layout-simplified": "Poenostavljeno", + "auto-scale": "Samodejno prilagajanje velikosti", + "icon": "Ikona", + "value": "Vrednost", + "range": "Razpon", + "min": "min.", + "max": "maks.", + "range-ticks": "Razdelki razpona", + "tick-marks": "Oznake razdelkov", + "colors": "Barve", + "main": "Glavna", + "background": "Ozadje", + "left-icon": "Leva ikona", + "right-icon": "Desna ikona", + "slider": "Drsnik" + }, + "value-card": { + "layout": "Postavitev", + "layout-square": "Kvadratno", + "layout-vertical": "Navpično", + "layout-centered": "Sredinsko", + "layout-simplified": "Poenostavljeno", + "layout-horizontal": "Vodoravno", + "layout-horizontal-reversed": "Vodoravno obrnjeno", + "label": "Oznaka", + "icon": "Ikona", + "value": "Vrednost", + "date": "Datum", + "value-card-style": "Slog kartice vrednosti", + "auto-scale": "Samodejno prilagajanje velikosti" + }, + "label-card": { + "auto-scale": "Samodejno prilagajanje velikosti", + "label": "Oznaka", + "icon": "Ikona", + "label-card-style": "Slog kartice oznake" + }, + "label-value-card": { + "value": "Vrednost", + "label-value-card-style": "Slog kartice oznake in vrednosti" + }, + "liquid-level-card": { + "layout-simple": "Preprosto", + "layout-percentage": "Odstotno", + "layout-absolute": "Absolutno", + "layout": "Postavitev", + "background-overlay": "Prekrivni sloj ozadja vrednosti", + "total-volume": "Skupna prostornina", + "total-volume-units": "Enote skupne prostornine", + "tank": "Rezervoar", + "shape": "Oblika", + "datasource-units": "Enote vira podatkov", + "widget-units": "Enote gradnika", + "decimals": "Decimalna mesta", + "liquid": "Tekočina", + "liquid-color": "Barva tekočine", + "value": "Vrednost", + "value-font": "Pisava vrednosti", + "level": "Raven", + "last-update": "Zadnja posodobitev", + "shape-by-attribute": "Nastavi obliko rezervoarja glede na ime atributa", + "tooltip-background": "Barva ozadja", + "background-blur": "Zameglitev ozadja", + "tank-color": "Barva rezervoarja", + "static": "Statično", + "see-examples": "Oglejte si primere", + "attribute": "Atribut", + "shape-type": "Vrsta", + "v-oval": "Navpični oval", + "v-cylinder": "Navpični valj", + "v-capsule": "Navpična kapsula", + "rectangle": "Pravokotnik", + "h-oval": "Vodoravni oval", + "h-ellipse": "Vodoravna elipsa", + "h-dish-ends": "Vodoravni rezervoar z izbočenima koncema", + "h-cylinder": "Vodoravni valj", + "h-capsule": "Vodoravna kapsula", + "h-elliptical_2_1": "Vodoravni rezervoar z eliptičnima koncema 2:1", + "icon": "Ikona kartice", + "title": "Naslov kartice", + "units": "Enote", + "color-and-font": "Barva in pisava", + "shape-attribute-name": "Ime atributa", + "total-volume-required": "Skupna prostornina je obvezna.", + "attribute-name-required": "Ime atributa je obvezno.", + "attribute-key-not-set": "Ključ atributa »{{attributeName}}« ni nastavljen", + "attribute-key-invalid": "Ključ atributa »{{attributeName}}« ni veljaven" + }, + "aggregated-value-card": { + "subtitle": "Podnaslov", + "chart": "Grafikon", + "values": "Vrednosti", + "value-appearance": "Videz vrednosti", + "position": "Položaj", + "position-center": "Sredina", + "position-right-top": "Desno zgoraj", + "position-right-bottom": "Desno spodaj", + "position-left-top": "Levo zgoraj", + "position-left-bottom": "Levo spodaj", + "font": "Pisava", + "color": "Barva", + "arrow": "Puščica", + "display-up-down-arrow": "Prikaži puščico gor/dol", + "add-value": "Dodaj vrednost", + "remove-value": "Odstrani vrednost", + "no-values": "Ni konfiguriranih vrednosti", + "aggregation": "Združevanje", + "aggregated-value-card-style": "Slog kartice združene vrednosti", + "auto-scale": "Samodejno prilagajanje velikosti" + }, + "value-chart-card": { + "layout": "Postavitev", + "layout-left": "Levo", + "layout-right": "Desno", + "auto-scale": "Samodejno prilagajanje velikosti", + "icon": "Ikona", + "value": "Vrednost", + "chart": "Grafikon", + "value-chart-card-style": "Slog kartice vrednosti z grafikonom" + }, + "progress-bar": { + "layout": "Postavitev", + "layout-default": "Privzeto", + "layout-simplified": "Poenostavljeno", + "auto-scale": "Samodejno prilagajanje velikosti", + "icon": "Ikona", + "value": "Vrednost", + "range": "Razpon", + "min": "min.", + "max": "maks.", + "range-ticks": "Razdelki razpona", + "bar": "Vrstica", + "bar-color": "Barva vrstice", + "bar-background": "Ozadje vrstice", + "progress-bar-card-style": "Slog kartice vrstice napredka" + }, + "notification": { + "max-notification-display": "Največje število obvestil za prikaz", + "counter": "Števec", + "counter-hint": "Števec bo prikazan, če je omogočen »Naslov gradnika«", + "icon": "Ikona", + "counter-value": "Vrednost", + "counter-color": "Barva", + "notification-button": "Gumbi za obvestila", + "button-view-all": "Prikaži vse", + "button-filter": "Filter", + "type-filter": "Filter vrst", + "button-mark-read": "Označi vse kot prebrano", + "notification-types": "Vrste obvestil", + "notification-type": "Vrsta obvestila", + "search-type": "Iskanje vrste", + "any-type": "Vse vrste" + }, + "alarm-count": { + "alarm-count-card-style": "Slog kartice števila alarmov" + }, + "entity-count": { + "entity-count-card-style": "Slog kartice števila entitet" + }, + "count": { + "layout": "Postavitev", + "layout-column": "Stolpčno", + "layout-row": "Vrstično", + "label": "Oznaka", + "icon": "Ikona", + "icon-background": "Ozadje ikone", + "value": "Vrednost", + "chevron": "Ševron", + "auto-scale": "Samodejno prilagajanje velikosti" + }, + "table": { + "common-table-settings": "Splošne nastavitve tabele", + "enable-search": "Omogoči iskanje", + "enable-sticky-header": "Vedno prikaži glavo", + "enable-sticky-action": "Vedno prikaži stolpec z dejanji", + "hidden-cell-button-display-mode": "Način prikaza skritih gumbov dejanj v celici", + "show-empty-space-hidden-action": "Prikaži prazen prostor namesto skritega dejanja gumba v celici", + "dont-reserve-space-hidden-action": "Ne rezerviraj prostora za skrite gumbe dejanj", + "display-timestamp": "Časovni žig", + "timestamp-column-name":"Časovni žig", + "display-pagination": "Prikaži paginacijo", + "default-page-size": "Privzeta velikost strani", + "page-step-settings": "Nastavitve korakov strani", + "page-step-count": "Število korakov", + "page-step-increment": "Prirastek koraka", + "page-step-count-format-message": "Vrednost mora biti celo število v razponu od 1 do 100.", + "page-step-increment-format-message": "Vrednost mora biti celo število, večje ali enako 1.", + "use-entity-label-tab-name": "Uporabi oznako entitete v imenu zavihka", + "hide-empty-lines": "Skrij prazne vrstice", + "row-style": "Slog vrstice", + "use-row-style-function": "Uporabi funkcijo sloga vrstice", + "row-style-function": "Funkcija sloga vrstice", + "cell-style": "Slog celice", + "use-cell-style-function": "Uporabi funkcijo sloga celice", + "cell-style-function": "Funkcija sloga celice", + "cell-content": "Vsebina celice", + "use-cell-content-function": "Uporabi funkcijo vsebine celice", + "cell-content-function": "Funkcija vsebine celice", + "show-latest-data-column": "Prikaži stolpec najnovejših podatkov", + "latest-data-column-order": "Vrstni red stolpca najnovejših podatkov", + "entities-table-title": "Naslov tabele entitet", + "enable-select-column-display": "Omogoči izbiro stolpcev za prikaz", + "display-entity-name": "Prikaži stolpec imena entitete", + "entity-name-column-title": "Naslov stolpca imena entitete", + "display-entity-label": "Prikaži stolpec oznake entitete", + "entity-label-column-title": "Naslov stolpca oznake entitete", + "display-entity-type": "Prikaži stolpec vrste entitete", + "default-sort-order": "Privzeti vrstni red razvrščanja", + "custom-title": "Naslov glave po meri", + "column-width": "Širina stolpca (px ali %)", + "default-column-visibility": "Privzeta vidnost stolpca", + "column-visibility-visible": "Vidno", + "column-visibility-hidden": "Skrito", + "column-visibility-hidden-mobile": "Skrito v mobilnem načinu", + "column-selection-to-display": "Izbira stolpca v možnosti »Stolpci za prikaz«", + "column-selection-to-display-enabled": "Omogočeno", + "column-selection-to-display-disabled": "Onemogočeno", + "alarms-table-title": "Naslov tabele alarmov", + "enable-alarms-selection": "Omogoči izbiro alarmov", + "enable-alarms-search": "Omogoči iskanje alarmov", + "enable-alarm-filter": "Omogoči filter alarmov", + "display-alarm-details": "Prikaži podrobnosti alarma", + "allow-alarms-ack": "Dovoli potrditev alarmov", + "allow-alarms-clear": "Dovoli ponastavitev alarmov", + "display-alarm-activity": "Prikaži aktivnost alarma", + "allow-alarms-assign": "Dovoli dodelitev alarmov", + "columns": "Stolpci", + "column-settings": "Nastavitve stolpca", + "remove-column": "Odstrani stolpec", + "add-column": "Dodaj stolpec", + "no-columns": "Ni konfiguriranih stolpcev", + "columns-to-display": "Stolpci za prikaz", + "table-header": "Glava tabele", + "header-buttons": "Gumbi glave", + "table-buttons": "Gumbi tabele", + "pagination": "Paginacija", + "rows": "Vrstice", + "timeseries-column-error": "Določen mora biti vsaj en stolpec časovne serije", + "alarm-column-error": "Določen mora biti vsaj en stolpec alarma", + "table-tabs": "Zavihki tabele", + "show-cell-actions-menu-mobile": "Prikaži spustni meni dejanj celic v mobilnem načinu", + "disable-sorting": "Onemogoči razvrščanje", + "sort-by": "Razvrsti zavihke po", + "sort-timestamp-option": "Čas ustvarjanja" + }, + "latest-chart": { + "total": "Skupaj", + "auto-scale": "Samodejno prilagajanje velikosti", + "clockwise-layout": "Postavitev v smeri urinega kazalca", + "sort-series": "Razvrsti serije po oznaki", + "tooltip-value-type-absolute": "Absolutno", + "tooltip-value-type-percentage": "Odstotno" + }, + "pie-chart": { + "pie-chart-appearance": "Videz tortnega grafikona", + "label": "Oznaka", + "border": "Obroba", + "radius": "Polmer", + "pie-chart-card-style": "Slog kartice tortnega grafikona" + }, + "radar-chart": { + "radar-appearance": "Videz radarskega grafikona", + "shape": "Oblika", + "shape-polygon": "Poligon", + "shape-circle": "Krog", + "color": "Barva", + "line": "Črta", + "points": "Točke", + "points-label": "Oznaka točk", + "radar-axis": "Radarska os", + "axis-label": "Oznaka osi", + "ticks-label": "Oznaka razdelkov", + "radar-chart-style": "Slog radarskega grafikona", + "max-axes-scaling": "Skaliranje največjih vrednosti osi", + "max-axes-scaling-hint": "Izberite, ali ima vsaka radarska os svojo največjo vrednost (Ločeno) ali si vse osi delijo najvišjo vrednost iz nabora podatkov gradnika (Skupno).", + "separate": "Ločeno", + "common": "Skupno" + }, + "time-series-chart": { + "chart": "Grafikon", + "chart-style": "Slog grafikona", + "data-zoom": "Povečava podatkov", + "stack-mode": "Način zlaganja", + "stack-mode-hint": "Zloži serije na grafikonu. Serije z isto enoto bodo postavljene druga na drugo.", + "axes": "Osi", + "y-axes": "Osi Y", + "line-type": "Vrsta črte", + "line-width": "Širina črte", + "type-line": "Črta", + "type-bar": "Stolpec", + "type-point": "Točka", + "no-aggregation-bar-width-strategy": "Strategija širine stolpcev za nezdružene podatke", + "no-aggregation-bar-width-strategy-group": "Združeno", + "no-aggregation-bar-width-strategy-separate": "Ločeno", + "bar-group-width": "Širina skupine stolpcev", + "bar-width": "Širina stolpca", + "bar-width-relative": "Odstotek časovnega okna", + "bar-width-absolute": "Absolutno (ms)", + "comparison": { + "comparison": "Primerjava", + "comparison-hint": "Primerjava deluje samo z zgodovinskimi podatki!", + "show": "Prikaži", + "settings": "Nastavitve primerjave", + "show-values-for-comparison": "Prikaži zgodovinske podatke za primerjavo", + "comparison-values-label": "Oznaka primerjalnega ključa", + "comparison-values-label-auto": "Samodejno", + "comparison-data-color": "Barva primerjalnih podatkov" + }, + "threshold": { + "thresholds": "Pragovi", + "source": "Vir", + "key-value": "Ključ / vrednost", + "no-thresholds": "Ni konfiguriranih pragov", + "add-threshold": "Dodaj prag", + "type-constant": "Konstanta", + "type-latest-key": "Ključ", + "type-entity": "Entiteta", + "threshold-settings": "Nastavitve pragov", + "remove-threshold": "Odstrani prag", + "threshold-value-required": "Vrednost praga je obvezna.", + "key-required": "Ključ je obvezen.", + "entity-key-required": "Ključ entitete je obvezen.", + "line-appearance": "Videz črte", + "line-color": "Barva črte", + "start-symbol": "Začetni simbol", + "end-symbol": "Končni simbol", + "symbol-size": "velikost", + "label": "Oznaka", + "label-position-start": "Začetek", + "label-position-middle": "Sredina", + "label-position-end": "Konec", + "label-position-inside-start": "Znotraj na začetku", + "label-position-inside-start-top": "Znotraj na začetku zgoraj", + "label-position-inside-start-bottom": "Znotraj na začetku spodaj", + "label-position-inside-middle": "Znotraj na sredini", + "label-position-inside-middle-top": "Znotraj na sredini zgoraj", + "label-position-inside-middle-bottom": "Znotraj na sredini spodaj", + "label-position-inside-end": "Znotraj na koncu", + "label-position-inside-end-top": "Znotraj na koncu zgoraj", + "label-position-inside-end-bottom": "Znotraj na koncu spodaj", + "label-background": "Ozadje oznake" + }, + "state": { + "states": "Stanja", + "label": "Oznaka", + "ticks-value": "Vrednost razdelka", + "source": "Vir", + "value-range": "Vrednost / razpon", + "no-states": "Ni konfiguriranih stanj", + "add-state": "Dodaj stanje", + "type-constant": "Konstanta", + "type-range": "Razpon", + "from": "Od", + "to": "Do", + "remove-state": "Odstrani stanje" + }, + "grid": { + "grid": "Mreža", + "background-color": "Barva ozadja", + "border": "Obroba" + }, + "axis": { + "axes": "Osi", + "x-axis": "Os X", + "y-axis": "Os Y", + "y-axis-settings": "Nastavitve osi Y", + "comparison-x-axis-settings": "Nastavitve osi X za primerjavo", + "remove-y-axis": "Odstrani os Y", + "id": "ID", + "label": "Oznaka", + "position": "Položaj", + "position-left": "Levo", + "position-right": "Desno", + "position-top": "Zgoraj", + "position-bottom": "Spodaj", + "tick-labels": "Oznake razdelkov", + "ticks-formatter-function": "Funkcija za oblikovanje razdelkov", + "ticks-generator-function": "Funkcija za ustvarjanje razdelkov", + "show-ticks": "Prikaži razdelke", + "show-line": "Prikaži črto", + "show-split-lines": "Prikaži delilne črte", + "show-split-lines-x-axis-hint": "Če je omogočeno, bodo na grafikonu prikazane navpične črte.", + "show-split-lines-y-axis-hint": "Če je omogočeno, bodo na grafikonu prikazane vodoravne črte.", + "ticks-interval": "Interval razdelkov", + "ticks-interval-hint": "Določa fiksen interval razdelitve osi.", + "split-number": "Število delitev", + "split-number-hint": "Število segmentov, na katere je razdeljena os.", + "min": "Min.", + "max": "Maks.", + "show": "Prikaži", + "add-y-axis": "Dodaj os Y" + }, + "series": { + "legend-settings": "Nastavitve legende", + "show-in-legend": "Prikaži v legendi", + "show-in-legend-hint": "Prikaži ime serije in podatke v legendi.", + "hidden-by-default": "Privzeto skrito", + "hidden-by-default-hint": "Serija naj bo privzeto skrita v legendi.", + "series-type": "Vrsta serije", + "type": "Vrsta", + "type-line": "Črta", + "type-bar": "Stolpec", + "line": { + "line": "Črta", + "show-line": "Prikaži črto", + "step-line": "Stopničasta črta", + "step-type-start": "Začetek", + "step-type-middle": "Sredina", + "step-type-end": "Konec", + "smooth-line": "Zglajena črta" + }, + "point": { + "points": "Točke", + "show-points": "Prikaži točke", + "point-label": "Oznaka točke", + "point-label-hint": "Prikaži oznako z vrednostjo nad točko serije.", + "point-label-background": "Ozadje oznake točke", + "point-shape": "Oblika točke", + "point-size": "Velikost točke" + } + } + }, + "wind-speed-direction": { + "layout": "Postavitev", + "layout-default": "Privzeto", + "layout-advanced": "Napredno", + "layout-simplified": "Poenostavljeno", + "values": "Vrednosti", + "wind-direction": "Smer vetra", + "center-value": "Središčna vrednost", + "icon": "Ikona", + "arrow": "Puščica", + "ticks": "Razdelki", + "labels-type": "Vrsta oznak", + "directional-names": "Imena smeri", + "degrees": "Stopinje", + "major-ticks": "Glavni razdelki", + "minor-ticks": "Pomožni razdelki", + "wind-speed-direction-card-style": "Slog kartice hitrosti in smeri vetra", + "ticks-color": "Barva razdelkov", + "ticks-labels-type": "Vrsta oznak razdelkov", + "arrow-color": "Barva puščice" + }, + "value-source": { + "value-source": "Vir vrednosti", + "predefined-value": "Konstanta", + "entity-attribute": "Atribut entitete", + "value": "Vrednost", + "value-required": "Vrednost je obvezna.", + "key-required": "Ključ je obvezen.", + "entity-key-required": "Ključ entitete je obvezen.", + "source-entity-alias": "Vzdevek izvorne entitete", + "source-entity-attribute": "Atribut izvorne entitete", + "type-constant": "Konstanta", + "type-latest-key": "Ključ", + "type-entity": "Entiteta" + }, + "rpc-state": { + "initial-state": "Začetno stanje", + "initial-state-hint": "Dejanje za pridobitev začetnega stanja (vklop/izklop) komponente.", + "disabled-state": "Onemogočeno stanje", + "disabled-state-hint": "Konfigurirajte pogoj, pri katerem je komponenta onemogočena.", + "turn-on": "Vklopi", + "turn-on-hint": "Dejanje, ki se sproži, ko je drsnik preklopljen na »Vklopljeno«", + "turn-off": "Izklopi", + "turn-off-hint": "Dejanje, ki se sproži, ko je drsnik preklopljen na »Izklopljeno«", + "on": "Vklopljeno", + "off": "Izklopljeno", + "disabled": "Onemogočeno" + }, + "value-action": { + "do-nothing": "Ne naredi ničesar", + "execute-rpc": "Izvedi RPC", + "get-attribute": "Pridobi atribut", + "set-attribute": "Nastavi atribut", + "get-time-series": "Pridobi časovno serijo", + "get-alarm-status": "Pridobi stanje alarma", + "get-dashboard-state": "Pridobi ID stanja nadzorne plošče", + "get-dashboard-state-object": "Pridobi objekt stanja nadzorne plošče", + "add-time-series": "Dodaj časovno serijo", + "execute-rpc-text": "Izvedi metodo RPC »{{methodName}}«", + "get-time-series-text": "Uporabi časovno serijo »{{key}}«", + "get-attribute-text": "Uporabi atribut »{{key}}«", + "get-alarm-status-text": "Uporabi stanje alarma", + "get-dashboard-state-text": "Uporabi stanje nadzorne plošče", + "get-dashboard-state-object-text": "Uporabi objekt stanja nadzorne plošče", + "when-dashboard-state-is-text": "Ko je ID stanja nadzorne plošče »{{state}}«", + "when-dashboard-state-function-is-text": "Ko je f(ID stanja nadzorne plošče) enako »{{state}}«", + "when-dashboard-state-object-function-is-text": "Ko je f(objekt stanja nadzorne plošče) enako »{{state}}«", + "set-attribute-to-value-text": "Nastavi atribut »{{key}}« na: {{value}}", + "add-time-series-value-text": "Dodaj vrednost časovne serije »{{key}}«: {{value}}", + "set-attribute-text": "Nastavi atribut »{{key}}«", + "add-time-series-text": "Dodaj časovno serijo »{{key}}«", + "action": "Dejanje", + "value": "Vrednost", + "init-value-hint": "Vrednost, ki bo nastavljena, dokler naprava ne pošlje podatkov.", + "method": "Metoda", + "method-name-required": "Ime metode je obvezno.", + "request-timeout-ms": "Časovna omejitev zahteve RPC (ms)", + "request-timeout-required": "Časovna omejitev zahteve je obvezna.", + "min-request-timeout-error": "Vrednost časovne omejitve zahteve mora biti večja ali enaka 5000 ms (5 sekund).", + "request-persistent": "Trajna zahteva RPC", + "persistent-polling-interval": "Interval poizvedovanja trajne zahteve (ms)", + "persistent-polling-interval-hint": "Interval poizvedovanja (ms) za pridobivanje odgovora trajnega ukaza RPC", + "persistent-polling-interval-required": "Interval poizvedovanja trajne zahteve je obvezen.", + "min-persistent-polling-interval-error": "Vrednost intervala poizvedovanja trajne zahteve mora biti večja ali enaka 1000 ms (1 sekunda).", + "attribute-scope": "Obseg atributa", + "attribute-key": "Ključ atributa", + "attribute-key-required": "Ključ atributa je obvezen.", + "time-series-key": "Ključ časovne serije", + "time-series-key-required": "Ključ časovne serije je obvezen.", + "action-result-converter": "Pretvornik rezultata dejanja", + "converter-none": "Brez", + "converter-function": "Funkcija", + "converter-constant": "Konstanta", + "converter-value": "Vrednost", + "parse-value-function": "Funkcija za razčlenjevanje vrednosti", + "state-when-result-is": "»{{state}}«, ko je rezultat", + "parameters": "Parametri", + "convert-value-function": "Funkcija za pretvorbo vrednosti", + "error": { + "target-entity-is-not-set": "Ciljna entiteta ni nastavljena!", + "failed-to-perform-action": "Dejanja {{ actionLabel }} ni bilo mogoče izvesti.", + "invalid-attribute-scope": "Obseg atributa {{scope}} ni podprt za entiteto {{entityType}}." + } + }, + "widget-font": { + "font-settings": "Nastavitve pisave", + "font-family": "Družina pisav", + "size": "Velikost", + "relative-font-size": "Relativna velikost pisave (v odstotkih)", + "font-style": "Slog", + "font-style-normal": "Navadno", + "font-style-italic": "Ležeče", + "font-style-oblique": "Poševno", + "font-weight": "Debelina", + "font-weight-normal": "Običajna", + "font-weight-bold": "Krepka", + "font-weight-bolder": "Krepkejša", + "font-weight-lighter": "Tanjša", + "color": "Barva", + "shadow-color": "Barva sence", + "preview": "Predogled", + "line-height": "Višina vrstice", + "auto": "Samodejno" + }, + "home": { + "no-data-available": "Podatki niso na voljo" + }, + "system-info": { + "cpu": "CPU", + "ram": "RAM", + "disk": "Disk", + "cpu-warning-text": "Poraba CPU je visoka. Da preprečite izpad sistema, optimizirajte zmogljivost sistema.", + "cpu-critical-text": "Poraba CPU je kritično visoka. Da preprečite izpad sistema, optimizirajte zmogljivost sistema.", + "ram-warning-text": "Rezerva RAM-a je nizka. Da preprečite izpad sistema, optimizirajte zmogljivost sistema ali povečajte količino RAM-a.", + "ram-critical-text": "Rezerva RAM-a je kritično nizka. Da preprečite izpad sistema, optimizirajte zmogljivost sistema ali povečajte količino RAM-a.", + "disk-warning-text": "Na disku primanjkuje prostora. Da preprečite izgubo podatkov, sprostite ali razširite prostor na disku.", + "disk-critical-text": "Prostora na disku je kritično malo. Da preprečite izgubo podatkov, sprostite ali razširite prostor na disku." + }, + "cluster-info": { + "service-id": "ID storitve", + "service-type": "Vrsta storitve", + "no-data": "Ni podatkov" + }, + "transport-messages": { + "title": "Transportna sporočila", + "info": "Vsa sporočila, prejeta iz naprav" + }, + "activity": { + "title": "Aktivnost" + }, + "documentation": { + "title": "Dokumentacija", + "add-link": "Dodaj povezavo", + "add-link-title": "Dodaj povezavo do dokumentacije", + "name": "Ime", + "name-required": "Ime je obvezno.", + "link": "Povezava", + "link-required": "Povezava je obvezna.", + "columns": "Stolpci" + }, + "quick-links": { + "title": "Hitre povezave", + "add-link": "Dodaj povezavo", + "add-link-title": "Dodaj hitro povezavo", + "quick-link": "Hitra povezava", + "quick-link-required": "Hitra povezava je obvezna.", + "no-links-matching": "Ni povezav, ki bi se ujemale z iskalnim nizom »{{name}}«.", + "columns": "Stolpci" + }, + "iot-hub": { + "title-text": "Gradite hitreje s preverjenimi viri skupnosti, ki jih ponuja" + }, + "recent-dashboards": { + "title": "Nadzorne plošče", + "last": "Nazadnje ogledano", + "starred": "Priljubljene", + "name": "Ime", + "last-viewed": "Nazadnje ogledano", + "no-last-viewed-dashboards": "Ogledanih nadzornih plošč še ni" + }, + "configured-features": { + "title": "Konfigurirane funkcije", + "info": "Stanje funkcij, ki zahtevajo konfiguracijo", + "email-feature": "E-pošta", + "sms-feature": "SMS", + "slack-feature": "Slack", + "oauth2-feature": "OAuth 2.0", + "2fa-feature": "Dvostopenjska avtentikacija", + "feature-configured": "Funkcija je konfigurirana.\nKliknite za nastavitev", + "feature-not-configured": "Funkcija ni konfigurirana.\nKliknite za nastavitev" + }, + "version-info": { + "title": "Različica", + "contact-us": "Stik z nami", + "current-version": "Trenutna različica", + "current": "Trenutna", + "version-is-up-to-date": "Različica je posodobljena", + "thingsboard-version-available": "Na voljo je ThingsBoard {{ version }}", + "free-community-grant-text": "Različica 4.4 ima drugačno licenciranje in zahteva licenčni ključ. Vaš Community Grant je brezplačen.", + "get-community-grant": "Pridobi Community Grant", + "community-grant-registration-close": "Registracija se zaključi 20. julija 2027." + }, + "usage-info": { + "title": "Uporaba", + "entities": "Entitete", + "api-calls": "Klici API-ja" + }, + "functions": { + "title": "Funkcije", + "pe-feature-tooltip": "Samo v izdaji ThingsBoard\nProfessional Edition", + "switch-to-pe": "Preklopi na PE", + "alarms": "Alarmi", + "dashboards": "Nadzorne plošče", + "entities-and-relations": "Entitete in relacije", + "profiles": "Profili", + "advanced-features": "Napredne funkcije", + "notification-center": "Središče za obvestila", + "api-usage": "Uporaba API-ja", + "customers": "Stranke", + "customers-hierarchy": "Hierarhija strank", + "roles-and-permissions": "Vloge in dovoljenja", + "groups": "Skupine", + "integrations": "Integracije", + "solution-templates": "Predloge rešitev", + "scheduler": "Razporejevalnik", + "white-labeling": "Prilagajanje blagovne znamke" + }, + "devices": { + "view-docs": "Prikaži dokumentacijo", + "inactive": "Neaktivne", + "active": "Aktivne", + "total": "Skupaj" + }, + "alarms": { + "critical": "Kritični", + "assigned-to-me": "Dodeljeno meni", + "total": "Skupaj" + }, + "getting-started": { + "get-started": "Začnite", + "finish": "Dokončaj", + "done-welcome-title": "Dobrodošli", + "done-welcome-text": "Odlično vam je uspelo!", + "sys-admin": { + "step1": { + "title": "Ustvarite najemnika in skrbnika", + "content": "

    Najemnik je posameznik ali organizacija, ki je lastnik naprav in sredstev ali jih proizvaja. Najemnik ima lahko več skrbnikov, strank, naprav in sredstev.

    Skrbnik lahko v okviru najemnika ustvarja in upravlja naprave, sredstva, stranke in nadzorne plošče.

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-create-tenant": "Kako ustvariti najemnika in skrbnika" + }, + "step2": { + "title": "Konfigurirajte funkcijo: poštni strežnik", + "content": "

    Konfiguracija poštnega strežnika je ključna za aktivacijo uporabnikov, obnovitev gesla in dostavo obvestil o alarmih.

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-configure-mail-server": "Kako konfigurirati poštni strežnik" + }, + "step3": { + "title": "Konfigurirajte funkcijo: ponudnik SMS", + "content": "

    Konfigurirajte ponudnike SMS, da stranke obveščate o alarmih prek SMS-a.

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-configure-sms-provider": "Kako konfigurirati ponudnika SMS" + }, + "step4": { + "title": "Konfigurirajte funkcijo: dvostopenjska avtentikacija", + "content": "

    Izboljšajte varnost računov platforme z dvostopenjsko avtentikacijo.

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-configure-2fa": "Kako konfigurirati 2FA" + }, + "step5": { + "title": "Konfigurirajte funkcijo: OAuth 2.0", + "content": "

    Poenostavite prijavo za uporabnike strank in skrbnike s funkcionalnostjo enotne prijave prek OAuth 2.0.

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-configure-oauth2": "Kako konfigurirati OAuth 2.0" + }, + "step6": { + "title": "Konfigurirajte funkcijo: Slack", + "content": "

    Pošiljajte obvestila uporabnikom strank in skrbnikom prek Slacka v skladu s pravili za obvestila, ki jih nastavite.

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-configure-notifications": "Kako konfigurirati Slack" + } + }, + "tenant-admin": { + "step1": { + "title": "Ustvarite napravo", + "content": "

    Dodajmo prvo napravo v platformo prek uporabniškega vmesnika. Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-create-device": "Kako ustvariti napravo" + }, + "step2": { + "title": "Povežite napravo", + "content-before": "

    Za povezavo naprave morate pridobiti poverilnice naprave. Za ta vodnik priporočamo uporabo privzetih samodejno ustvarjenih poverilnic, to je žetona za dostop.

    • Pojdite v tabelo naprav
    • Kliknite vrstico naprave, da odprete podrobnosti naprave
    • Pritisnite gumb »Kopiraj žeton za dostop«

    Za objavo podatkov prek HTTP uporabite preproste ukaze. Ne pozabite zamenjati $ACCESS_TOKEN z žetonom za dostop naprave:

    ", + "ubuntu": { + "install-curl": "Namestite cURL za Ubuntu:" + }, + "macos": { + "install-curl": "Namestite cURL za macOS:" + }, + "windows": { + "install-curl": "Od različice Windows 10 b17063 naprej je cURL privzeto na voljo." + }, + "replace-access-token": "Zamenjajte $ACCESS_TOKEN z žetonom naprave:", + "content-after": "

    Uporabite lahko tudi druge protokole, kot so MQTT, CoAP itd.

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-connect-device": "Kako povezati napravo" + }, + "step3": { + "title": "Ustvarite nadzorno ploščo", + "content": "

    Ustvarite nadzorno ploščo za vizualizacijo podatkov iz entitet, kot so sredstva, naprave itd.

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-create-dashboard": "Kako ustvariti nadzorno ploščo" + }, + "step4": { + "title": "Konfigurirajte pravila za alarme", + "alarm-rules": "Pravila za alarme", + "content": "

    Sprožimo alarm, ko temperatura doseže 25 °C. Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-configure-alarm-rules": "Kako konfigurirati pravila za alarme" + }, + "step5": { + "title": "Ustvarite alarm", + "content-before": "

    Za sprožitev alarma pošljite novo vrednost telemetrije 26 °C ali več.

    ", + "replace-access-token": "Zamenjajte $ACCESS_TOKEN z žetonom naprave:", + "content-after": "

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-create-alarm": "Kako ustvariti alarm" + }, + "step6": { + "title": "Ustvarite stranko in dodelite nadzorno ploščo", + "content": "

    Z ustvarjanjem nadzornih plošč za končne uporabnike lahko uporabnik stranke vidi samo svoje naprave, podatki druge stranke pa so skriti.

    Sledite dokumentaciji, ki opisuje postopek:

    ", + "how-to-create-customer-and-assign-dashboard": "Kako ustvariti stranko in dodeliti nadzorno ploščo" + } + } + }, + "html-container": { + "java-script": "JavaScript", + "js-function": "Funkcija JavaScript", + "html": "HTML", + "angular-html-template": "Predloga Angular HTML", + "css": "CSS", + "container-type": "Vrsta vsebnika", + "type-plain": "Navaden HTML", + "type-angular": "Angular", + "resources": "Viri", + "no-resources": "Ni konfiguriranih virov" + }, + "api-usage": { + "api-usage": "Uporaba API-ja", + "label": "Oznaka", + "state-name": "Ime stanja", + "status": "Stanje", + "status-required": "Stanje je obvezno.", + "limit": "Največja omejitev", + "limit-required": "Največja omejitev je obvezna.", + "current-number": "Trenutno število", + "current-number-required": "Trenutno število je obvezno.", + "add-key": "Dodaj ključ", + "no-key": "Ni ključa", + "delete-key": "Izbriši ključ", + "target-dashboard-state": "Ciljno stanje nadzorne plošče", + "go-to-main-state": "Pojdi na privzeti pogled" + } + }, + "color": { + "color": "Barva" + }, + "icon": { + "icon": "Ikona", + "icons": "Ikone", + "custom": "Po meri", + "select-icon": "Izberi ikono", + "material-icons": "Ikone Material", + "show-all": "Prikaži vse ikone", + "search-icon": "Iskanje ikon", + "no-icons-found": "Ni najdenih ikon za »{{iconSearch}}«" + }, + "phone-input": { + "phone-input-label": "Telefonska številka", + "phone-input-required": "Telefonska številka je obvezna", + "phone-input-validation": "Telefonska številka je neveljavna ali neobstoječa", + "phone-input-pattern": "Neveljavna telefonska številka. Mora biti v obliki E.164, npr. {{phoneNumber}}", + "phone-input-hint": "Telefonska številka v obliki E.164, npr. {{phoneNumber}}" + }, + "custom": { + "widget-action": { + "action-cell-button": "Gumb dejanja v celici", + "row-click": "Ob kliku na vrstico", + "cell-click": "Ob kliku na celico", + "polygon-click": "Ob kliku na poligon", + "marker-click": "Ob kliku na označevalnik", + "circle-click": "Ob kliku na krog", + "tooltip-tag-action": "Dejanje značke namiga", + "node-selected": "Ob izbiri vozlišča", + "element-click": "Ob kliku na element HTML", + "pie-slice-click": "Ob kliku na izsek", + "row-double-click": "Ob dvojnem kliku na vrstico", + "cell-double-click": "Ob dvojnem kliku na celico", + "card-click": "Ob kliku na kartico", + "click": "Ob kliku" + } + }, + "paginator" : { + "items-per-page": "Elementov na stran:", + "first-page-label": "Prva stran", + "last-page-label": "Zadnja stran", + "next-page-label": "Naslednja stran", + "previous-page-label": "Prejšnja stran", + "items-per-page-separator": "od" + }, + "language": { + "auto": "Samodejno", + "language": "Jezik", + "locales": { + "ar_AE": "العربية (الإمارات العربية المتحدة)", + "ca_ES": "català (Espanya)", + "cs_CZ": "čeština (Česko)", + "da_DK": "dansk (Danmark)", + "de_DE": "Deutsch (Deutschland)", + "el_GR": "Ελληνικά (Ελλάδα)", + "en_US": "English (United States)", + "es_ES": "español (España)", + "fa_IR": "فارسی (ایران)", + "fr_FR": "français (France)", + "hi_IN": "हिन्दी (भारत)", + "it_IT": "italiano (Italia)", + "ja_JP": "日本語 (日本)", + "ka_GE": "ქართული (საქართველო)", + "ko_KR": "한국어 (대한민국)", + "lt_LT": "lietuvių (Lietuva)", + "lv_LV": "latviešu (Latvija)", + "nl_BE": "Nederlands (België)", + "nl_NL": "Nederlands (Nederland)", + "no_NO": "norsk (Norge)", + "pl_PL": "polski (Polska)", + "pt_BR": "português (Brasil)", + "ro_RO": "română (România)", + "sl_SI": "slovenščina (Slovenija)", + "tr_TR": "Türkçe (Türkiye)", + "uk_UA": "українська (Україна)", + "zh_CN": "中文 (中国)", + "zh_TW": "中文 (台灣)" + } + } +} From 90ca87bf970ff0addb3ab8ef3d9399e70d7e92b9 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 17:11:06 +0200 Subject: [PATCH 339/559] Fix for edge backward compatibility --- .../processor/ai/BaseAiModelProcessor.java | 4 ++ .../server/edge/AiModelEdgeTest.java | 47 ++++++++++++++++++- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index bfeea73752..00f94f7c4b 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -41,6 +41,10 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { aiModel.setId(null); } else { aiModel.setId(aiModelId); + // edge versions without customer access support do not send this field + if (!JacksonUtil.toJsonNode(aiModelUpdateMsg.getEntity()).has("customerAccessEnabled")) { + aiModel.setCustomerAccessEnabled(aiModelById.get().isCustomerAccessEnabled()); + } } String aiModelName = aiModel.getName(); diff --git a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java index 2d33eafba7..1f0876efdf 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java @@ -3,6 +3,7 @@ package org.thingsboard.server.edge; import com.datastax.oss.driver.api.core.uuid.Uuids; +import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.protobuf.AbstractMessage; import com.google.protobuf.InvalidProtocolBufferException; import org.junit.Assert; @@ -139,6 +140,46 @@ public class AiModelEdgeTest extends AbstractEdgeTest { Assert.assertNotEquals(DEFAULT_AI_MODEL_NAME, aiModelFromCloud.getName()); } + @Test + public void testAiModelUpdateFromEdgeKeepsCustomerAccessEnabled() throws Exception { + AiModel aiModel = createSimpleAiModel(DEFAULT_AI_MODEL_NAME); + aiModel.setCustomerAccessEnabled(true); + + edgeImitator.expectMessageAmount(1); + AiModel savedAiModel = doPost("/api/ai/model", aiModel, AiModel.class); + Assert.assertTrue(edgeImitator.waitForMessages()); + Assert.assertTrue(savedAiModel.isCustomerAccessEnabled()); + + // edge versions without customerAccessEnabled send the model without this field + savedAiModel.setName(UPDATED_AI_MODEL_NAME); + ObjectNode legacyAiModelJson = (ObjectNode) JacksonUtil.valueToTree(savedAiModel); + legacyAiModelJson.remove("customerAccessEnabled"); + UplinkMsg uplinkMsg = getUplinkMsg(savedAiModel.getUuidId(), JacksonUtil.toString(legacyAiModelJson), UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE); + + checkAiModelOnCloud(uplinkMsg, savedAiModel.getUuidId(), UPDATED_AI_MODEL_NAME); + + AiModel aiModelFromCloud = doGet("/api/ai/model/" + savedAiModel.getUuidId(), AiModel.class); + Assert.assertTrue(aiModelFromCloud.isCustomerAccessEnabled()); + } + + @Test + public void testAiModelUpdateFromEdgeChangesCustomerAccessEnabled() throws Exception { + AiModel aiModel = createSimpleAiModel(DEFAULT_AI_MODEL_NAME); + aiModel.setCustomerAccessEnabled(true); + + edgeImitator.expectMessageAmount(1); + AiModel savedAiModel = doPost("/api/ai/model", aiModel, AiModel.class); + Assert.assertTrue(edgeImitator.waitForMessages()); + + savedAiModel.setCustomerAccessEnabled(false); + UplinkMsg uplinkMsg = getUplinkMsg(savedAiModel.getUuidId(), savedAiModel, UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE); + + checkAiModelOnCloud(uplinkMsg, savedAiModel.getUuidId(), DEFAULT_AI_MODEL_NAME); + + AiModel aiModelFromCloud = doGet("/api/ai/model/" + savedAiModel.getUuidId(), AiModel.class); + Assert.assertFalse(aiModelFromCloud.isCustomerAccessEnabled()); + } + private AiModel createSimpleAiModel(String name) { AiModel aiModel = new AiModel(); aiModel.setTenantId(tenantId); @@ -172,11 +213,15 @@ public class AiModelEdgeTest extends AbstractEdgeTest { } private UplinkMsg getUplinkMsg(UUID uuid, AiModel aiModel, UpdateMsgType updateMsgType) throws InvalidProtocolBufferException { + return getUplinkMsg(uuid, JacksonUtil.toString(aiModel), updateMsgType); + } + + private UplinkMsg getUplinkMsg(UUID uuid, String aiModelJson, UpdateMsgType updateMsgType) throws InvalidProtocolBufferException { UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); AiModelUpdateMsg.Builder aiModelUpdateMsgBuilder = AiModelUpdateMsg.newBuilder(); aiModelUpdateMsgBuilder.setIdMSB(uuid.getMostSignificantBits()); aiModelUpdateMsgBuilder.setIdLSB(uuid.getLeastSignificantBits()); - aiModelUpdateMsgBuilder.setEntity(JacksonUtil.toString(aiModel)); + aiModelUpdateMsgBuilder.setEntity(aiModelJson); aiModelUpdateMsgBuilder.setMsgType(updateMsgType); testAutoGeneratedCodeByProtobuf(aiModelUpdateMsgBuilder); uplinkMsgBuilder.addAiModelUpdateMsg(aiModelUpdateMsgBuilder.build()); From f7dad01a49d8f94c8f800a662b038b6688519406 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 17:23:19 +0200 Subject: [PATCH 340/559] Fix license headers --- .../service/edge/rpc/processor/ai/BaseAiModelProcessor.java | 3 ++- .../java/org/thingsboard/server/edge/AiModelEdgeTest.java | 3 ++- tools/src/main/python/license-headers/curations.json | 6 ------ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index 00f94f7c4b..f609499cc0 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.edge.rpc.processor.ai; import com.datastax.oss.driver.api.core.uuid.Uuids; diff --git a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java index 1f0876efdf..43d89f2585 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.edge; import com.datastax.oss.driver.api.core.uuid.Uuids; diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index e4e74bdb44..b48fb72b22 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -271,12 +271,6 @@ "reason": "PE agent installation instructions model added in e0db7ac7154 as part of the PE agent feature introduced on lts-4.4, which has no counterpart in CE. The candidate CE common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeInstructions.java shares only the instructions model boilerplate. Reviewed candidate at a0aff29ef42d3636473b017115a9334b48d54d15 (blob 409985284c6).", "contentHash": "sha256:ce067f7aad61fb79c44ac80ceda3b26e9908a8a648380097754ff9ee097256b1" }, - { - "path": "common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java", - "header": "busl", - "reason": "New PE file that does not exist in CE. It is the superclass of AiModel holding the fields shared with the configuration-free info view, so its field declarations and schema annotations repeat those of AiModel. Reviewed similarity candidate common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java at 269bc8dc73a.", - "contentHash": "sha256:650bd82c42a513c19af48ba986481cd5a56f9f3491a9282deff76fccec64c4d0" - }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/BlobEntityFields.java", "header": "busl", From d026a392fb3d9d486992d5edf912f7da254634d0 Mon Sep 17 00:00:00 2001 From: Andrii Shvaika Date: Wed, 28 Oct 2026 17:48:28 +0200 Subject: [PATCH 341/559] Add MAINTAINERS.md Co-Authored-By: Claude Opus 5.5 --- MAINTAINERS.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 MAINTAINERS.md diff --git a/MAINTAINERS.md b/MAINTAINERS.md new file mode 100644 index 0000000000..145fd61df5 --- /dev/null +++ b/MAINTAINERS.md @@ -0,0 +1,14 @@ +# Maintainers + +This file lists the maintainers of the ThingsBoard project. +Maintainers review and merge pull requests, triage issues, and drive project releases. + +| Name | GitHub | Email | +|---------------------|--------------------------------------------------------|---------------------------| +| Andrii Shvaika | [@ashvayka](https://github.com/ashvayka) | ashvayka@thingsboard.io | +| Igor Kulikov | [@ikulikov](https://github.com/ikulikov) | ikulikov@thingsboard.io | +| Viacheslav Klimov | [@ViacheslavKlimov](https://github.com/ViacheslavKlimov) | vklimov@thingsboard.io | +| Vladyslav Prykhodko | [@vvlladd28](https://github.com/vvlladd28) | vprykhodko@thingsboard.io | +| Sergey Matvienko | [@smatvienko-tb](https://github.com/smatvienko-tb) | smatvienko@thingsboard.io | + +For security issues, please follow the process described in [security.md](security.md) instead of contacting maintainers directly. From 6d31dfd95854fb68a16a694cdebf520ec2eb6431 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Wed, 28 Oct 2026 16:53:13 +0100 Subject: [PATCH 342/559] Evict cached miss when an API key is created with an explicit value --- .../server/dao/pat/ApiKeyServiceImpl.java | 13 ++++++------ .../dao/pat/ApiKeyCacheEvictionTest.java | 18 +++++++++++++++++ .../server/dao/service/ApiKeyServiceTest.java | 20 +++++++++++++++++++ 3 files changed, 45 insertions(+), 6 deletions(-) diff --git a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java index 717466e034..418b56c9b2 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java @@ -86,10 +86,10 @@ public class ApiKeyServiceImpl extends AbstractCachedEntityService Date: Wed, 28 Oct 2026 18:12:38 +0200 Subject: [PATCH 343/559] IoT Hub: list the entities a device package removal keeps with the references component The remove dialog named the kept converter, integration and other entities inside one sentence, which was hard to read. It now says how many other installed packages use them and lists them with tb-image-references, one per row, each linking to the entity. --- .../iot-hub-delete-dialog.component.html | 3 ++ .../iot-hub-delete-dialog.component.ts | 28 +++++++++---------- .../assets/locale/locale.constant-en_US.json | 11 +------- 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html index 60eb673a23..3de67878aa 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html @@ -8,6 +8,9 @@

    {{ 'iot-hub.remove-confirm-title' | translate:{ name: data.itemName } }}

    {{ description }}

    + @if (keptReferences) { + + }
    diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts index 56a9c82543..81d13800d3 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts @@ -10,6 +10,8 @@ import { DialogComponent } from '@shared/components/dialog.component'; import { IotHubInstalledItemKeptEntities } from 'src/app/shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { TranslateService } from '@ngx-translate/core'; +import { ResourceReferences } from '@shared/models/resource.models'; +import { EntityId } from '@shared/models/id/entity-id'; export interface IotHubDeleteDialogData { installedItemId: string; @@ -28,6 +30,9 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent, protected router: Router, @@ -37,8 +42,14 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent ({ id: entity.entityId as EntityId, name: entity.name })); + this.description = this.translate.instant('iot-hub.remove-desc-kept', + { count: kept.usedByItemsCount, kept: kept.entities.length }); + } else { + this.description = this.translate.instant(data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc'); + } } confirm(): void { @@ -52,17 +63,4 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent { - const key = `iot-hub.remove-kept-entity.${entity.entityId.entityType}`; - const named = this.translate.instant(key, { name: entity.name }); - return named === key ? `'${entity.name}'` : named; - }); - const entities = names.length === 1 ? names[0] : - this.translate.instant('iot-hub.remove-kept-entities', { first: names.slice(0, -1).join(', '), last: names[names.length - 1] }); - return this.translate.instant('iot-hub.remove-desc-kept', - { entities, count: kept.usedByItemsCount, kept: kept.entities.length }); - } } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 0e0b2c893c..030dcad4f8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6405,16 +6405,7 @@ "remove": "Remove", "remove-confirm-title": "Remove '{{name}}'?", "remove-desc": "Removing this will also remove the installed entity and its associated resources within your tenant", - "remove-desc-kept": "Removing this will also remove the installed entity and its associated resources within your tenant, except {entities}. { count, plural, =1 {1 other installed package uses} other {# other installed packages use} } { kept, plural, =1 {it} other {them} }.", - "remove-kept-entities": "{{first}} and {{last}}", - "remove-kept-entity": { - "CONVERTER": "data converter '{{name}}'", - "DASHBOARD": "dashboard '{{name}}'", - "DEVICE": "device '{{name}}'", - "DEVICE_PROFILE": "device profile '{{name}}'", - "INTEGRATION": "integration '{{name}}'", - "RULE_CHAIN": "rule chain '{{name}}'" - }, + "remove-desc-kept": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because it is} other {entities will not be removed, because they are} } used by { count, plural, =1 {1 other installed package} other {# other installed packages} }:", "remove-desc-solution-template": "Removing this solution template will also remove all created entities including dashboards, rule chains, devices, and other associated resources within your tenant", "remove-anyway": "Remove anyway", "select-entity-for-cf": "Select entity for calculated field '{{name}}'", From e8724cc345338b49d9f58da08d6d6c4a40535060 Mon Sep 17 00:00:00 2001 From: Dmytro Skarzhynets Date: Wed, 28 Oct 2026 18:25:36 +0200 Subject: [PATCH 344/559] feat: send TB version to TB AI on every install Add the X-TB-Version header once in TbAiChannelPool, the single place a channel to TB AI is opened, instead of in OnPremiseTbAiTokenProvider only. Installs using LocalTbAiTokenProvider now send it too. --- .../ai/OnPremiseTbAiTokenProvider.java | 5 +-- .../service/ai/transport/TbAiChannelPool.java | 21 +++++++---- .../AbstractOnPremiseAiControllerTest.java | 7 +--- .../ai/OnPremiseTbAiTokenProviderTest.java | 15 +------- .../transport/ChannelTbAiOperationsTest.java | 4 +- .../transport/ChannelTbAiTransportTest.java | 2 +- .../service/ai/transport/FakeTbAiServer.java | 3 ++ .../ai/transport/TbAiChannelPoolTest.java | 37 ++++++++++++++++++- .../transport/TbAiPooledConnectionTest.java | 2 +- 9 files changed, 60 insertions(+), 36 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java b/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java index 18b518b49a..871f34f253 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java @@ -12,7 +12,6 @@ import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.dao.subscription.SubscriptionService; import org.thingsboard.server.exception.ThingsboardRuntimeException; import org.thingsboard.server.queue.util.TbCoreComponent; -import org.thingsboard.server.service.install.ProjectInfo; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.Map; @@ -27,7 +26,6 @@ import java.util.function.Supplier; class OnPremiseTbAiTokenProvider implements TbAiTokenProvider { private final SubscriptionService subscriptionService; - private final ProjectInfo projectInfo; @Override public String getToken(SecurityUser user) { @@ -65,8 +63,7 @@ class OnPremiseTbAiTokenProvider implements TbAiTokenProvider { private Map additionalInfo(UUID userId, TenantId tenantId) { return Map.of( TbAiHeaders.USER_ID, userId.toString(), - TbAiHeaders.TENANT_ID, tenantId.getId().toString(), - TbAiHeaders.TB_VERSION, projectInfo.getProjectVersion() + TbAiHeaders.TENANT_ID, tenantId.getId().toString() ); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java index a79614d9a0..9cb93f24d1 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java @@ -14,10 +14,12 @@ import org.springframework.stereotype.Component; import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.ai.common.channel.TbAiChannelClient; import org.thingsboard.ai.common.client.TbAiClient; +import org.thingsboard.ai.common.client.TbAiHeaders; import org.thingsboard.common.util.ThingsBoardThreadFactory; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.queue.util.TbCoreComponent; +import org.thingsboard.server.service.install.ProjectInfo; import reactor.core.scheduler.Schedulers; import java.time.Duration; @@ -59,6 +61,7 @@ class TbAiChannelPool { private static final int MAX_ACQUIRE_ATTEMPTS = 3; private final TbAiChannelClient channelClient; + private final String tbVersion; private final int maxConnections; private final int maxOperationsPerConnection; private final long idleTimeoutNanos; @@ -71,17 +74,19 @@ class TbAiChannelPool { @Autowired TbAiChannelPool(TbAiChannelClient channelClient, + ProjectInfo projectInfo, @Value("${ai.channel.pool.max_connections:2000}") int maxConnections, @Value("${ai.channel.pool.max_operations_per_connection:20}") int maxOperationsPerConnection, @Value("${ai.channel.pool.idle_timeout_seconds:60}") long idleTimeoutSeconds, @Value("${ai.channel.pool.max_age_minutes:10}") long maxAgeMinutes) { - this(channelClient, maxConnections, maxOperationsPerConnection, Duration.ofSeconds(idleTimeoutSeconds), - Duration.ofMinutes(maxAgeMinutes), System::nanoTime, true); + this(channelClient, projectInfo.getProjectVersion(), maxConnections, maxOperationsPerConnection, + Duration.ofSeconds(idleTimeoutSeconds), Duration.ofMinutes(maxAgeMinutes), System::nanoTime, true); } - TbAiChannelPool(TbAiChannelClient channelClient, int maxConnections, int maxOperationsPerConnection, + TbAiChannelPool(TbAiChannelClient channelClient, String tbVersion, int maxConnections, int maxOperationsPerConnection, Duration idleTimeout, Duration maxAge, LongSupplier nanoClock, boolean startSweeper) { this.channelClient = channelClient; + this.tbVersion = tbVersion; this.maxConnections = maxConnections; this.maxOperationsPerConnection = maxOperationsPerConnection; this.idleTimeoutNanos = idleTimeout.toNanos(); @@ -293,12 +298,9 @@ class TbAiChannelPool { return true; } - private static TbAiClient.TokenProvider handshakeTokenProvider(TbAiTurnContext context) { + private TbAiClient.TokenProvider handshakeTokenProvider(TbAiTurnContext context) { TbAiClient.TokenProvider delegate = context.tokenProvider(); String acceptLanguage = context.acceptLanguage(); - if (acceptLanguage == null || acceptLanguage.isBlank()) { - return delegate; - } return new TbAiClient.TokenProvider() { @Override public String getToken() { @@ -308,7 +310,10 @@ class TbAiChannelPool { @Override public Map getAdditionalInfo() { var headers = new HashMap<>(delegate.getAdditionalInfo()); - headers.put(HttpHeaders.ACCEPT_LANGUAGE, acceptLanguage); + headers.put(TbAiHeaders.TB_VERSION, tbVersion); + if (acceptLanguage != null && !acceptLanguage.isBlank()) { + headers.put(HttpHeaders.ACCEPT_LANGUAGE, acceptLanguage); + } return headers; } }; diff --git a/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java index 4fc327c082..b2e9e86b6d 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java @@ -2,13 +2,11 @@ // SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.server.controller; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.TestPropertySource; import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; import org.thingsboard.ai.common.client.TbAiClient; import org.thingsboard.ai.common.client.TbAiHeaders; import org.thingsboard.server.dao.subscription.SubscriptionService; -import org.thingsboard.server.service.install.ProjectInfo; import java.util.Map; @@ -24,8 +22,6 @@ public abstract class AbstractOnPremiseAiControllerTest extends AbstractAiContro @MockitoSpyBean protected SubscriptionService subscriptionService; - @Autowired - protected ProjectInfo projectInfo; protected void givenSubscriptionProvidesAiToken() { doReturn(AI_TOKEN).when(subscriptionService).getAiToken(); @@ -36,8 +32,7 @@ public abstract class AbstractOnPremiseAiControllerTest extends AbstractAiContro assertThat(tokenProvider.getToken()).isEqualTo(AI_TOKEN); assertThat(tokenProvider.getAdditionalInfo()).containsExactlyInAnyOrderEntriesOf(Map.of( TbAiHeaders.USER_ID, tenantAdminUserId.getId().toString(), - TbAiHeaders.TENANT_ID, tenantId.getId().toString(), - TbAiHeaders.TB_VERSION, projectInfo.getProjectVersion() + TbAiHeaders.TENANT_ID, tenantId.getId().toString() )); } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java b/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java index c1d7c08a2a..3175d5ea05 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java @@ -16,7 +16,6 @@ import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.dao.subscription.SubscriptionService; import org.thingsboard.server.exception.ThingsboardRuntimeException; -import org.thingsboard.server.service.install.ProjectInfo; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.Map; @@ -30,12 +29,9 @@ import static org.mockito.BDDMockito.given; class OnPremiseTbAiTokenProviderTest { private final String aiToken = "on-premise-ai-token"; - private final String tbVersion = "4.3.0-AI-TEST"; @Mock SubscriptionService subscriptionService; - @Mock - ProjectInfo projectInfo; UUID userId; TenantId tenantId; @@ -48,7 +44,7 @@ class OnPremiseTbAiTokenProviderTest { userId = UUID.randomUUID(); tenantId = TenantId.fromUUID(UUID.randomUUID()); user = user(userId, tenantId); - provider = new OnPremiseTbAiTokenProvider(subscriptionService, projectInfo); + provider = new OnPremiseTbAiTokenProvider(subscriptionService); } // --------------------------------------------------------------------------------------------- @@ -89,9 +85,6 @@ class OnPremiseTbAiTokenProviderTest { @Test void shouldBuildHeadersWithoutOrigin_whenCalledForUser() { - // GIVEN - given(projectInfo.getProjectVersion()).willReturn(tbVersion); - // WHEN Map additionalInfo = provider.getAdditionalInfo(user); @@ -149,9 +142,6 @@ class OnPremiseTbAiTokenProviderTest { @Test void shouldBuildHeadersWithoutOrigin_whenCalledWithRawIds() { - // GIVEN - given(projectInfo.getProjectVersion()).willReturn(tbVersion); - // WHEN Map additionalInfo = provider.getAdditionalInfo(tenantId, new UserId(userId)); @@ -166,8 +156,7 @@ class OnPremiseTbAiTokenProviderTest { private Map expectedHeaders() { return Map.of( TbAiHeaders.USER_ID, userId.toString(), - TbAiHeaders.TENANT_ID, tenantId.getId().toString(), - TbAiHeaders.TB_VERSION, tbVersion + TbAiHeaders.TENANT_ID, tenantId.getId().toString() ); } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java index afeeca5223..f9e113184a 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java @@ -247,7 +247,7 @@ class ChannelTbAiOperationsTest { void shouldSendCallOrigin_whenChannelWasOpenedWithAnother() { // GIVEN server = FakeTbAiServer.start((connection, frame) -> connection.result(frame, new OperationResult(200, null, 0))); - TbAiChannelPool sharedPool = new TbAiChannelPool(server.client(), 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); + TbAiChannelPool sharedPool = new TbAiChannelPool(server.client(), "4.4.0", 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); SecurityUser user = TbAiChannelPoolTest.user(); var channelOperations = new ChannelTbAiOperations(sharedPool, requestExecutor); @@ -294,7 +294,7 @@ class ChannelTbAiOperationsTest { ChannelTbAiOperations operations() { if (pool == null) { - pool = new TbAiChannelPool(server.client(), maxConnections, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); + pool = new TbAiChannelPool(server.client(), "4.4.0", maxConnections, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); } return new ChannelTbAiOperations(pool, requestExecutor); } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java index 3f4c906824..a7095f83e3 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java @@ -256,7 +256,7 @@ class ChannelTbAiTransportTest { } TbAiChannelPool pool() { - return new TbAiChannelPool(server.client(), 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); + return new TbAiChannelPool(server.client(), "4.4.0", 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); } void stubExecutor() { diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java index b843494a48..1320677f5b 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java @@ -3,6 +3,7 @@ package org.thingsboard.server.service.ai.transport; import com.fasterxml.jackson.databind.ObjectMapper; +import io.netty.handler.codec.http.HttpHeaders; import org.thingsboard.ai.common.channel.ChannelError; import org.thingsboard.ai.common.channel.ChannelFrame; import org.thingsboard.ai.common.channel.ChannelFrameCodec; @@ -36,12 +37,14 @@ class FakeTbAiServer implements AutoCloseable { final List received = new CopyOnWriteArrayList<>(); final AtomicInteger connections = new AtomicInteger(); final AtomicInteger openConnections = new AtomicInteger(); + final List handshakeHeaders = new CopyOnWriteArrayList<>(); private final DisposableServer server; private FakeTbAiServer(List capabilities, Script script) { server = HttpServer.create().host("127.0.0.1").port(0) .route(routes -> routes.ws(ChannelProtocol.WS_PATH, (inbound, outbound) -> { connections.incrementAndGet(); + handshakeHeaders.add(inbound.headers()); openConnections.incrementAndGet(); var connection = new Connection(); inbound.receive().asString().subscribe(text -> { diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java index 22f964499d..4b5a5e41df 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java @@ -4,7 +4,9 @@ package org.thingsboard.server.service.ai.transport; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Test; +import org.springframework.http.HttpHeaders; import org.thingsboard.ai.common.channel.ChannelProtocol; +import org.thingsboard.ai.common.client.TbAiHeaders; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.service.security.model.SecurityUser; @@ -25,6 +27,8 @@ import static org.mockito.Mockito.mock; class TbAiChannelPoolTest { + static final String TB_VERSION = "4.4.0"; + AtomicLong now = new AtomicLong(1_000_000_000L); FakeTbAiServer server = FakeTbAiServer.start((connection, frame) -> {}); TbAiChannelPool pool; @@ -53,6 +57,37 @@ class TbAiChannelPoolTest { assertThat(pool.pooledConnections()).isEqualTo(1); } + @Test + void shouldSendTbVersionAndAcceptLanguage_whenOpeningChannel() { + // GIVEN + pool = pool(10); + TbAiTurnContext context = new TbAiTurnContext(user(), null, "de-DE", () -> "token", "https://tb.example.com"); + + // WHEN + join(pool.acquire(context, false)); + + // THEN + assertThat(server.handshakeHeaders).singleElement().satisfies(headers -> { + assertThat(headers.get(TbAiHeaders.TB_VERSION)).isEqualTo(TB_VERSION); + assertThat(headers.get(HttpHeaders.ACCEPT_LANGUAGE)).isEqualTo("de-DE"); + }); + } + + @Test + void shouldSendTbVersionWithoutAcceptLanguage_whenContextHasNoLanguage() { + // GIVEN + pool = pool(10); + + // WHEN + join(pool.acquire(context(user(), "https://tb.example.com"), false)); + + // THEN + assertThat(server.handshakeHeaders).singleElement().satisfies(headers -> { + assertThat(headers.get(TbAiHeaders.TB_VERSION)).isEqualTo(TB_VERSION); + assertThat(headers.contains(HttpHeaders.ACCEPT_LANGUAGE)).isFalse(); + }); + } + @Test void shouldReuseChannel_whenSameUserCallsAgain() { // GIVEN @@ -212,7 +247,7 @@ class TbAiChannelPoolTest { } TbAiChannelPool pool(int maxConnections) { - return new TbAiChannelPool(server.client(), maxConnections, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), now::get, false); + return new TbAiChannelPool(server.client(), TB_VERSION, maxConnections, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), now::get, false); } static TbAiPooledConnection join(CompletableFuture future) { diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java index a2ec05d485..b77252bf94 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java @@ -30,7 +30,7 @@ import static org.mockito.Mockito.never; class TbAiPooledConnectionTest { ChannelFrameCodec codec = new ChannelFrameCodec(new ObjectMapper()); - TbAiChannelPool pool = new TbAiChannelPool(mock(TbAiChannelClient.class), 10, 20, Duration.ofSeconds(60), + TbAiChannelPool pool = new TbAiChannelPool(mock(TbAiChannelClient.class), "4.4.0", 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); TbAiChannelPool.PoolKey key = new TbAiChannelPool.PoolKey(TenantId.fromUUID(UUID.randomUUID()), new UserId(UUID.randomUUID())); From 598f4704a94b9da12294af5225ad4b255554e9be Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 28 Oct 2026 18:44:25 +0200 Subject: [PATCH 345/559] TTN and TTI default uplink converter: the IoT Hub LoRaWAN converter A new TTN or TTI integration now starts with the converter the IoT Hub LoRaWAN packages install. A device registered from the LoRaWAN Device Repository gets the profile - and its decoded values as telemetry, with a Milesight-style history list kept at each record's time. Any other device gets the LoRaWAN Device profile and its raw payload as data. The device is named by its end device ID and added to a group named after the application. The TBEL and JS defaults are the same script. ConverterControllerTest runs both through the real default v2 configuration for TTN and TTI, so ui-ngx now also copies that configuration to the classpath. --- .../controller/ConverterControllerTest.java | 73 ++++++---- .../things_stack_manual_device_payload.json | 34 +++++ ...hings_stack_repository_device_payload.json | 64 +++++++++ ui-ngx/pom.xml | 1 + .../default-converters-v2-configuration.json | 64 ++++++--- .../src/assets/converters/js-tti-decoder.raw | 134 ++++-------------- .../src/assets/converters/js-ttn-decoder.raw | 133 ++++------------- .../assets/converters/tbel-tti-decoder.raw | 104 ++++---------- .../assets/converters/tbel-ttn-decoder.raw | 104 ++++---------- 9 files changed, 309 insertions(+), 402 deletions(-) create mode 100644 application/src/test/resources/payload/things_stack_manual_device_payload.json create mode 100644 application/src/test/resources/payload/things_stack_repository_device_payload.json diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index e51e796f11..0d99594197 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -32,6 +32,7 @@ import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.integration.IntegrationType; import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; +import org.thingsboard.server.common.data.script.ScriptLanguage; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.data.tenant.profile.DefaultTenantProfileConfiguration; import org.thingsboard.server.dao.service.DaoSqlTest; @@ -89,13 +90,14 @@ public class ConverterControllerTest extends AbstractControllerTest { private static final String THINGPARK_UPLINK_DECODER = "converter/thingpark_uplink_decoder.raw"; private static final String DEFAULT_TPE_UPLINK_DECODER = "converters/tbel-tpe-decoder.raw"; private static final String TPE_UPLINK_DECODER = "converter/tpe_uplink_decoder.raw"; - private static final String DEFAULT_TTI_UPLINK_DECODER = "converters/tbel-tti-decoder.raw"; private static final String TTI_UPLINK_DECODER = "converter/tti_uplink_decoder.raw"; - private static final String DEFAULT_TTN_UPLINK_DECODER = "converters/tbel-ttn-decoder.raw"; private static final String TTN_UPLINK_DECODER = "converter/ttn_uplink_decoder.raw"; private static final String TTN_UPLINK_JSON_DECODER = "converter/ttn_uplink_json_decoder.raw"; private static final String LORIOT_UPLINK_DECODER_RETURN_ARRAY = "converter/loriot_uplink_decoder_array.raw"; private static final String TTN_DECODED_PAYLOAD = "payload/ttn_payload_with_decoded.json"; + private static final String DEFAULT_V2_CONFIGURATION = "converters/default-converters-v2-configuration.json"; + private static final String THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD = "payload/things_stack_repository_device_payload.json"; + private static final String THINGS_STACK_MANUAL_DEVICE_PAYLOAD = "payload/things_stack_manual_device_payload.json"; @Before public void beforeTest() throws Exception { @@ -673,17 +675,6 @@ public class ConverterControllerTest extends AbstractControllerTest { } } - @Test - public void testTTIDefaultDecoder() throws IOException { - String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"eui-1000000000000001\",\"profile\":\"application-tti-name\"," + - "\"telemetry\":{\"ts\":1684398325906,\"values\":{\"battery\":95,\"temperature\":36.6,\"saturation\":99}},\"attributes\":{\"sn\":32310067,\"devAddr\":\"20000001\",\"fPort\":85,\"eui\":\"1000000000000001\"}}"; - - DedicatedConverterConfig config = createDedicatedConverterConfig(EntityType.DEVICE, "eui-$eui", "$applicationId", Set.of("eui", "fPort", "devAddr")); - Converter converter = createConverter(JacksonUtil.valueToTree(config), IntegrationType.TTI, 2); - - testDecoder(DEFAULT_TTI_UPLINK_DECODER, DEFAULT_TTI_UPLINK_CONVERTER_MESSAGE, expectedDecodedMessage, converter); - } - @Test public void testTTINotDefaultDecoder() throws IOException { String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"eui-1000000000000001\",\"profile\":\"IndustrialSensorProfile\",\"customer\":\"MyCustomer\",\"group\":\"SensorsGroup\"," + @@ -696,14 +687,45 @@ public class ConverterControllerTest extends AbstractControllerTest { } @Test - public void testTTNDefaultDecoder() throws IOException { - String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"eui-1000000000000001\",\"profile\":\"application-tts-name\"," + - "\"telemetry\":{\"ts\":1684474415641,\"values\":{\"battery\":95,\"temperature\":36.6,\"saturation\":99}},\"attributes\":{\"sn\":32310067,\"devAddr\":\"20000001\",\"fPort\":85,\"eui\":\"1000000000000001\"}}"; + public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { + String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + + "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560}}," + + "{\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}]," + + "\"attributes\":{\"eui\":\"24E124707C481005\",\"joinEui\":\"24E124C0002A0001\",\"devAddr\":\"260B1234\",\"deviceId\":\"am308-office\",\"applicationId\":\"my-app\"," + + "\"fPort\":85,\"bandwidth\":125000,\"spreadingFactor\":7,\"codeRate\":\"4/5\",\"frequency\":\"868100000\",\"brandId\":\"milesight-iot\",\"modelId\":\"am308\"," + + "\"hardwareVersion\":\"1.0\",\"firmwareVersion\":\"1.0\",\"bandId\":\"EU_863_870\",\"netId\":\"000013\",\"tenantId\":\"ttn\",\"clusterId\":\"eu1\"," + + "\"clusterAddress\":\"eu1.cloud.thethings.network\"}}"; - DedicatedConverterConfig config = createDedicatedConverterConfig(EntityType.DEVICE, "eui-$eui", "$applicationId", Set.of("eui", "fPort", "devAddr")); - Converter converter = createConverter(JacksonUtil.valueToTree(config), IntegrationType.TTN, 2); + testThingsStackDefaultConverters(THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD, expectedDecodedMessage); + } - testDecoder(DEFAULT_TTN_UPLINK_DECODER, DEFAULT_TTN_UPLINK_CONVERTER_MESSAGE, expectedDecodedMessage, converter); + @Test + public void testThingsStackDefaultConvertersGiveManualDeviceRawData() throws IOException { + String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"manual-node\",\"profile\":\"LoRaWAN Device\",\"label\":\"manual-node\",\"group\":\"my-app\"," + + "\"telemetry\":{\"ts\":1793181600100,\"values\":{\"fCnt\":3,\"data\":\"Ae0DM18OTGM=\",\"rssi\":-70,\"snr\":7.0}}," + + "\"attributes\":{\"eui\":\"70B3D57ED006F370\",\"deviceId\":\"manual-node\",\"applicationId\":\"my-app\",\"fPort\":1,\"bandwidth\":125000," + + "\"spreadingFactor\":9,\"frequency\":\"868300000\"}}"; + + testThingsStackDefaultConverters(THINGS_STACK_MANUAL_DEVICE_PAYLOAD, expectedDecodedMessage); + } + + // The TBEL and JS defaults are two copies of one script, so each of them must give this result for TTN and TTI + private void testThingsStackDefaultConverters(String payloadFile, String expectedResult) throws IOException { + JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); + String payload = readResource(payloadFile); + for (IntegrationType integrationType : List.of(IntegrationType.TTN, IntegrationType.TTI)) { + Converter converter = createConverter(defaultConfigurations.get(integrationType.name()), integrationType, 2); + for (ScriptLanguage scriptLang : ScriptLanguage.values()) { + String decoderFileName = "converters/" + scriptLang.name().toLowerCase() + "-" + integrationType.name().toLowerCase() + "-decoder.raw"; + assertThat(JacksonUtil.toJsonNode(decode(decoderFileName, payload, converter, scriptLang))) + .as("%s %s", integrationType, scriptLang) + .isEqualTo(JacksonUtil.toJsonNode(expectedResult)); + } + } + } + + private String readResource(String name) throws IOException { + return new String(IOUtils.toByteArray(ConverterControllerTest.class.getClassLoader().getResourceAsStream(name)), StandardCharsets.UTF_8); } @Test @@ -870,6 +892,10 @@ public class ConverterControllerTest extends AbstractControllerTest { } public void testDecoder(String decoderFileName, String payloadExample, String expectedResult, Converter converter) throws IOException { + assertThat(decode(decoderFileName, payloadExample, converter, ScriptLanguage.TBEL)).isEqualTo(expectedResult); + } + + private String decode(String decoderFileName, String payloadExample, Converter converter, ScriptLanguage scriptLang) throws IOException { byte[] bytes = IOUtils.toByteArray(ConverterControllerTest.class.getClassLoader().getResourceAsStream(decoderFileName)); String base64Payload = Base64.getEncoder().encodeToString(payloadExample.getBytes(StandardCharsets.UTF_8)); @@ -895,14 +921,11 @@ public class ConverterControllerTest extends AbstractControllerTest { inputParams.set("payload", new TextNode(base64Payload)); } - JsonNode response = doPost("/api/converter/testUpLink?scriptLang=TBEL", inputParams, JsonNode.class); - String output; + JsonNode response = doPost("/api/converter/testUpLink?scriptLang=" + scriptLang, inputParams, JsonNode.class); if (converter != null && converter.getConverterVersion() == 2) { - output = response.get("outputMsg").toString(); - } else { - output = response.get("output").asText(); + return response.get("outputMsg").toString(); } - assertThat(output).isEqualTo(expectedResult); + return response.get("output").asText(); } public DedicatedConverterConfig createDedicatedConverterConfig(EntityType type, String name, String profile, Set attributes) { diff --git a/application/src/test/resources/payload/things_stack_manual_device_payload.json b/application/src/test/resources/payload/things_stack_manual_device_payload.json new file mode 100644 index 0000000000..b8d810a8ea --- /dev/null +++ b/application/src/test/resources/payload/things_stack_manual_device_payload.json @@ -0,0 +1,34 @@ +{ + "end_device_ids": { + "device_id": "manual-node", + "application_ids": { + "application_id": "my-app" + }, + "dev_eui": "70B3D57ED006F370" + }, + "received_at": "2026-10-28T10:00:00.123Z", + "uplink_message": { + "f_port": 1, + "f_cnt": 3, + "frm_payload": "Ae0DM18OTGM=", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "ug56" + }, + "rssi": -70, + "snr": 7 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 9 + } + }, + "frequency": "868300000" + }, + "received_at": "2026-10-28T10:00:00.100Z" + } +} diff --git a/application/src/test/resources/payload/things_stack_repository_device_payload.json b/application/src/test/resources/payload/things_stack_repository_device_payload.json new file mode 100644 index 0000000000..430f685aab --- /dev/null +++ b/application/src/test/resources/payload/things_stack_repository_device_payload.json @@ -0,0 +1,64 @@ +{ + "end_device_ids": { + "device_id": "am308-office", + "application_ids": { + "application_id": "my-app" + }, + "dev_eui": "24E124707C481005", + "join_eui": "24E124C0002A0001", + "dev_addr": "260B1234" + }, + "received_at": "2026-10-28T10:00:00.123Z", + "uplink_message": { + "f_port": 85, + "f_cnt": 12, + "frm_payload": "AXVk", + "decoded_payload": { + "battery": 95, + "temperature": 24.5, + "co2": 560, + "history": [ + { + "timestamp": 1793170000, + "temperature": 24.1, + "co2": 550 + } + ] + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "ug56" + }, + "rssi": -60, + "snr": 9.5, + "channel_index": 2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "received_at": "2026-10-28T10:00:00.100Z", + "consumed_airtime": "0.061696s", + "version_ids": { + "brand_id": "milesight-iot", + "model_id": "am308", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + }, + "network_ids": { + "net_id": "000013", + "tenant_id": "ttn", + "cluster_id": "eu1", + "cluster_address": "eu1.cloud.thethings.network" + } + } +} diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index ac1b07c92c..d41acf2057 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -96,6 +96,7 @@ src/assets/converters **/*.raw + default-converters-v2-configuration.json diff --git a/ui-ngx/src/assets/converters/default-converters-v2-configuration.json b/ui-ngx/src/assets/converters/default-converters-v2-configuration.json index 547095527d..4ee2d652cc 100644 --- a/ui-ngx/src/assets/converters/default-converters-v2-configuration.json +++ b/ui-ngx/src/assets/converters/default-converters-v2-configuration.json @@ -143,12 +143,17 @@ }, "TTN": { "type": "DEVICE", - "name": "Device $eui", - "profile": "$applicationId", + "name": "$deviceId", + "profile": "LoRaWAN Device", "label": "$deviceId", + "customer": "", + "group": "$applicationId", "attributes": [ "eui", + "joinEui", "devAddr", + "deviceId", + "applicationId", "fPort", "bandwidth", "spreadingFactor", @@ -158,23 +163,30 @@ "modelId", "hardwareVersion", "firmwareVersion", - "attributes", - "tenantId" + "bandId", + "netId", + "tenantId", + "clusterId", + "clusterAddress", + "attributes" ], "telemetry": [ "fCnt", "data", - "decoded", "latitude", "longitude", "altitude", "rssi", "snr", - "channel" + "channel", + "consumedAirtime" ], "updateOnlyKeys": [ "eui", + "joinEui", "devAddr", + "deviceId", + "applicationId", "fPort", "bandwidth", "spreadingFactor", @@ -184,18 +196,27 @@ "modelId", "hardwareVersion", "firmwareVersion", - "attributes", - "tenantId" + "bandId", + "netId", + "tenantId", + "clusterId", + "clusterAddress", + "attributes" ] }, "TTI": { "type": "DEVICE", - "name": "Device $eui", - "profile": "$applicationId", + "name": "$deviceId", + "profile": "LoRaWAN Device", "label": "$deviceId", + "customer": "", + "group": "$applicationId", "attributes": [ "eui", + "joinEui", "devAddr", + "deviceId", + "applicationId", "fPort", "bandwidth", "spreadingFactor", @@ -205,23 +226,30 @@ "modelId", "hardwareVersion", "firmwareVersion", - "attributes", - "tenantId" + "bandId", + "netId", + "tenantId", + "clusterId", + "clusterAddress", + "attributes" ], "telemetry": [ "fCnt", "data", - "decoded", "latitude", "longitude", "altitude", "rssi", "snr", - "channel" + "channel", + "consumedAirtime" ], "updateOnlyKeys": [ "eui", + "joinEui", "devAddr", + "deviceId", + "applicationId", "fPort", "bandwidth", "spreadingFactor", @@ -231,8 +259,12 @@ "modelId", "hardwareVersion", "firmwareVersion", - "attributes", - "tenantId" + "bandId", + "netId", + "tenantId", + "clusterId", + "clusterAddress", + "attributes" ] } } diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index 10f09c96ad..5cb10f8db1 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -1,111 +1,35 @@ -/** - * Decodes the incoming payload and returns a structured object containing telemetry data and attributes. - * - * @param {number[]} input - The raw payload received as an array of bytes. - * @returns {Object} output - The structured output with decoded telemetry and attributes. - */ - -function decodePayload(input) { - // Initialize the output object with empty attributes and telemetry for clarity. - var result = { attributes: {}, telemetry: {}}; - - // Detect input type and normalize to byte array. - var bytes; - - if (metadata.payloadFormat == 'JSON') { - // payloadFormat is 'JSON' when The Things Industries payload formatters are configured on the application or device level. - // In that case, decoded_payload is a JSON object produced by your formatter. - // This template assumes the formatter returns { "bytes": [...] } with the raw byte array. - // If your formatter returns pre-decoded values in a different structure, - // update this section to extract the values directly from 'parsed' instead. - var parsed = decodeToJson(input); - if (parsed.bytes == null) { - throw new Error("Payload formatter output does not contain a 'bytes' field. " + - "Update this decoder to match your formatter's output structure."); - } - bytes = parsed.bytes; - } else { - // payloadFormat is 'BINARY' when no payload formatter is configured — raw bytes from frm_payload are passed directly. - bytes = input; +// The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload +// is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. +// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +var values = {}; +var history = []; +if (metadata.payloadFormat == 'JSON') { + values = decodeToJson(payload); + if (Array.isArray(values.history)) { + values.history.forEach(function (record) { + if (record.timestamp != null) { + var ts = record.timestamp * 1000; + delete record.timestamp; + history.push({ ts: ts, values: record }); + } + }); + delete values.history; } - - // Decode serial number (SN) from the first 4 bytes of the payload. - // Press '?' icon in the top right corner to learn more about built in helper functions and capabilities. - result.attributes.sn = parseBytesToInt(bytes, 0, 4); - - // Extract the timestamp from metadata (represented in milliseconds). - var timestamp = metadata.ts; // ts is the timestamp parsed from the incoming message's time, or returns the current time if it cannot be parsed. - - // Initialize an object to store decoded key/value telemetry data. - var values = {}; - - // Decode battery level from the 5th byte of the payload. - values.battery = parseBytesToInt(bytes, 4, 1); - - // Decode temperature from the 6th and 7th bytes of the payload (divided by 100). - values.temperature = parseBytesToInt(bytes, 5, 2) / 100.0; - - // Decode saturation from the 8th byte of the payload. - values.saturation = parseBytesToInt(bytes, 7, 1); - - // Combine the timestamp with values and add it to the telemetry. - result.telemetry = { - ts: timestamp, - values: values - }; - - // Return the fully constructed output object. - return result; - // Same logic, less code: - // return { - // attributes: { - // sn: parseBytesToInt(bytes, 0, 4) - // }, - // telemetry: { - // ts: convertDateToTimestamp(extractDateFromMetadata()), - // values: { - // battery: parseBytesToInt(bytes, 4, 1), - // temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // saturation: parseBytesToInt(bytes, 7, 1) - // } - // } - // }; } +var profile = 'LoRaWAN Device'; +if (metadata.brandId != null && metadata.modelId != null) { + profile = metadata.brandId + '-' + metadata.modelId; +} +// To give a model its own profile name, map it here, for example: +// if (profile == 'milesight-iot-am308') { +// profile = 'AM308'; +// } +if (history.length == 0) { + return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; +} +history.push({ ts: metadata.ts, values: values }); +return { profile: profile, telemetry: history }; -var result = decodePayload(payload); -// Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; -// result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. -// result.name = 'Temperature Sensor'; // Device or asset name (the value must be unique) -// result.profile = 'IndustrialSensorProfile'; // Device or asset profile name. -// result.customer = 'MyCustomer'; // If customer is not null - created entity will be assigned to customer with such name. -// result.group = 'SensorsGroup'; // If group is not null - created entity will be added to the entity group with such name. - -// Return the final result object. -return result; - -/** - * Converts a byte array to a string and parses it as JSON. - * - * @param {number[]} payload - The array of bytes. - * @returns {Object} - The parsed JSON object. - */ function decodeToJson(payload) { return JSON.parse(String.fromCharCode.apply(String, payload)); } - -/** - * Parse a slice of bytes from an array into an integer (big-endian). - * - * @param {number[]} input - The array of bytes. - * @param {number} offset - The starting index. - * @param {number} length - The number of bytes to convert. - * @returns {number} - The resulting integer. - */ -function parseBytesToInt(input, offset, length) { - var result = 0; - for (var i = offset; i < offset + length; i++) { - result = (result << 8) | (input[i] & 0xFF); - } - return result; -} - diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index 478c26140a..5cb10f8db1 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -1,110 +1,35 @@ -/** - * Decodes the incoming payload and returns a structured object containing telemetry data and attributes. - * - * @param {number[]} input - The raw payload received as an array of bytes. - * @returns {Object} output - The structured output with decoded telemetry and attributes. - */ - -function decodePayload(input) { - // Initialize the output object with empty attributes and telemetry for clarity. - var result = { attributes: {}, telemetry: {}}; - - // Detect input type and normalize to byte array. - var bytes; - - if (metadata.payloadFormat == 'JSON') { - // payloadFormat is 'JSON' when The Things Network payload formatters are configured on the application or device level. - // In that case, decoded_payload is a JSON object produced by your formatter. - // This template assumes the formatter returns { "bytes": [...] } with the raw byte array. - // If your formatter returns pre-decoded values in a different structure, - // update this section to extract the values directly from 'parsed' instead. - var parsed = decodeToJson(input); - if (parsed.bytes == null) { - throw new Error("Payload formatter output does not contain a 'bytes' field. " + - "Update this decoder to match your formatter's output structure."); - } - bytes = parsed.bytes; - } else { - // payloadFormat is 'BINARY' when no payload formatter is configured — raw bytes from frm_payload are passed directly. - bytes = input; +// The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload +// is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. +// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +var values = {}; +var history = []; +if (metadata.payloadFormat == 'JSON') { + values = decodeToJson(payload); + if (Array.isArray(values.history)) { + values.history.forEach(function (record) { + if (record.timestamp != null) { + var ts = record.timestamp * 1000; + delete record.timestamp; + history.push({ ts: ts, values: record }); + } + }); + delete values.history; } - - // Decode serial number (SN) from the first 4 bytes of the payload. - // Press '?' icon in the top right corner to learn more about built in helper functions and capabilities. - result.attributes.sn = parseBytesToInt(bytes, 0, 4); - - // Extract the timestamp from metadata (represented in milliseconds). - var timestamp = metadata.ts; // ts is the timestamp parsed from the incoming message's time, or returns the current time if it cannot be parsed. - - // Initialize an object to store decoded key/value telemetry data. - var values = {}; - - // Decode battery level from the 5th byte of the payload. - values.battery = parseBytesToInt(bytes, 4, 1); - - // Decode temperature from the 6th and 7th bytes of the payload (divided by 100). - values.temperature = parseBytesToInt(bytes, 5, 2) / 100.0; - - // Decode saturation from the 8th byte of the payload. - values.saturation = parseBytesToInt(bytes, 7, 1); - - // Combine the timestamp with values and add it to the telemetry. - result.telemetry = { - ts: timestamp, - values: values - }; - - // Return the fully constructed output object. - return result; - // Same logic, less code: - // return { - // attributes: { - // sn: parseBytesToInt(bytes, 0, 4) - // }, - // telemetry: { - // ts: convertDateToTimestamp(extractDateFromMetadata()), - // values: { - // battery: parseBytesToInt(bytes, 4, 1), - // temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // saturation: parseBytesToInt(bytes, 7, 1) - // } - // } - // }; } +var profile = 'LoRaWAN Device'; +if (metadata.brandId != null && metadata.modelId != null) { + profile = metadata.brandId + '-' + metadata.modelId; +} +// To give a model its own profile name, map it here, for example: +// if (profile == 'milesight-iot-am308') { +// profile = 'AM308'; +// } +if (history.length == 0) { + return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; +} +history.push({ ts: metadata.ts, values: values }); +return { profile: profile, telemetry: history }; -var result = decodePayload(payload); -// Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; -// result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. -// result.name = 'Temperature Sensor'; // Device or asset name (the value must be unique) -// result.profile = 'IndustrialSensorProfile'; // Device or asset profile name. -// result.customer = 'MyCustomer'; // If customer is not null - created entity will be assigned to customer with such name. -// result.group = 'SensorsGroup'; // If group is not null - created entity will be added to the entity group with such name. - -// Return the final result object. -return result; - -/** - * Converts a byte array to a string and parses it as JSON. - * - * @param {number[]} payload - The array of bytes. - * @returns {Object} - The parsed JSON object. - */ function decodeToJson(payload) { return JSON.parse(String.fromCharCode.apply(String, payload)); } - -/** - * Parse a slice of bytes from an array into an integer (big-endian). - * - * @param {number[]} input - The array of bytes. - * @param {number} offset - The starting index. - * @param {number} length - The number of bytes to convert. - * @returns {number} - The resulting integer. - */ -function parseBytesToInt(input, offset, length) { - var result = 0; - for (var i = offset; i < offset + length; i++) { - result = (result << 8) | (input[i] & 0xFF); - } - return result; -} diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 3dd4a8fb48..09c75b5aed 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -1,79 +1,31 @@ -/** - * Decodes the incoming payload and returns a structured object containing telemetry data and attributes. - * - * @param {byte[]} input - The raw payload received as an array of bytes. - * @returns {Object} output - The structured output with decoded telemetry and attributes. - */ - -function decodePayload(input) { - // Initialize the output object with empty attributes and telemetry for clarity. - var result = { attributes: {}, telemetry: {}}; - - // Detect input type and normalize to byte array - var bytes; - - if (metadata.payloadFormat == 'JSON') { - // payloadFormat is 'JSON' when The Things Industries payload formatters are configured on the application or device level. - // In that case, decoded_payload is a JSON object produced by your formatter. - // This template assumes the formatter returns { "bytes": [...] } with the raw byte array. - // If your formatter returns pre-decoded values in a different structure, - // update this section to extract the values directly from 'parsed' instead. - var parsed = decodeToJson(input); - if (parsed.bytes == null) { - throw new Error("Payload formatter output does not contain a 'bytes' field. " + - "Update this decoder to match your formatter's output structure."); +// The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload +// is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. +// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +var values = {}; +var history = []; +if (metadata.payloadFormat == "JSON") { + values = decodeToJson(payload); + if (values.history instanceof java.util.List) { + foreach (record : values.history) { + if (record.timestamp != null) { + var ts = record.timestamp * 1000; + record.remove("timestamp"); + history.add({ ts: ts, values: record }); + } } - bytes = parsed.bytes; - } else { - // payloadFormat is 'BINARY' when no payload formatter is configured — raw bytes from frm_payload are passed directly. - bytes = input; + values.remove("history"); } - - // Decode serial number (SN) from the first 4 bytes of the payload. - // Press '?' icon in the top right corner to learn more about built in helper functions and capabilities. - result.attributes.sn = parseBytesToInt(bytes, 0, 4); - - // Extract the timestamp from metadata (represented in milliseconds). - var timestamp = metadata.ts; // ts is the timestamp parsed from the incoming message's time, or returns the current time if it cannot be parsed. - - // Combine the timestamp with decoded values and add it to the telemetry. - result.telemetry = { - ts: timestamp, - values: { - // Decode battery level from the 5th byte of the payload. - battery: parseBytesToInt(bytes, 4, 1), - // Decode temperature from the 6th and 7th bytes of the payload (divided by 100). - temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // Decode saturation from the 8th byte of the payload. - saturation: parseBytesToInt(bytes, 7, 1) - } - }; - - // Return the fully constructed output object. - return result; - // Same logic, less code: - // return { - // attributes: { - // sn: parseBytesToInt(bytes, 0, 4) - // }, - // telemetry: { - // ts: convertDateToTimestamp(extractDateFromMetadata()), - // values: { - // battery: parseBytesToInt(bytes, 4, 1), - // temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // saturation: parseBytesToInt(bytes, 7, 1) - // } - // } - // }; } - -var result = decodePayload(payload); -// Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; -// result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. -// result.name = 'Temperature Sensor'; // Device or asset name (the value must be unique) -// result.profile = 'IndustrialSensorProfile'; // Device or asset profile name. -// result.customer = 'MyCustomer'; // If customer is not null - created entity will be assigned to customer with such name. -// result.group = 'SensorsGroup'; // If group is not null - created entity will be added to the entity group with such name. - -// Return the final result object. -return result; +var profile = "LoRaWAN Device"; +if (metadata.brandId != null && metadata.modelId != null) { + profile = metadata.brandId + "-" + metadata.modelId; +} +// To give a model its own profile name, map it here, for example: +// if (profile == "milesight-iot-am308") { +// profile = "AM308"; +// } +if (history.isEmpty()) { + return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; +} +history.add({ ts: metadata.ts, values: values }); +return { profile: profile, telemetry: history }; diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 12f302274d..09c75b5aed 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -1,79 +1,31 @@ -/** - * Decodes the incoming payload and returns a structured object containing telemetry data and attributes. - * - * @param {byte[]} input - The raw payload received as an array of bytes. - * @returns {Object} output - The structured output with decoded telemetry and attributes. - */ - -function decodePayload(input) { - // Initialize the output object with empty attributes and telemetry for clarity. - var result = { attributes: {}, telemetry: {}}; - - // Detect input type and normalize to byte array - var bytes; - - if (metadata.payloadFormat == 'JSON') { - // payloadFormat is 'JSON' when The Things Network payload formatters are configured on the application or device level. - // In that case, decoded_payload is a JSON object produced by your formatter. - // This template assumes the formatter returns { "bytes": [...] } with the raw byte array. - // If your formatter returns pre-decoded values in a different structure, - // update this section to extract the values directly from 'parsed' instead. - var parsed = decodeToJson(input); - if (parsed.bytes == null) { - throw new Error("Payload formatter output does not contain a 'bytes' field. " + - "Update this decoder to match your formatter's output structure."); +// The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload +// is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. +// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +var values = {}; +var history = []; +if (metadata.payloadFormat == "JSON") { + values = decodeToJson(payload); + if (values.history instanceof java.util.List) { + foreach (record : values.history) { + if (record.timestamp != null) { + var ts = record.timestamp * 1000; + record.remove("timestamp"); + history.add({ ts: ts, values: record }); + } } - bytes = parsed.bytes; - } else { - // payloadFormat is 'BINARY' when no payload formatter is configured — raw bytes from frm_payload are passed directly. - bytes = input; + values.remove("history"); } - - // Decode serial number (SN) from the first 4 bytes of the payload. - // Press '?' icon in the top right corner to learn more about built in helper functions and capabilities. - result.attributes.sn = parseBytesToInt(bytes, 0, 4); - - // Extract the timestamp from metadata (represented in milliseconds). - var timestamp = metadata.ts; // ts is the timestamp parsed from the incoming message's time, or returns the current time if it cannot be parsed. - - // Combine the timestamp with decoded values and add it to the telemetry. - result.telemetry = { - ts: timestamp, - values: { - // Decode battery level from the 5th byte of the payload. - battery: parseBytesToInt(bytes, 4, 1), - // Decode temperature from the 6th and 7th bytes of the payload (divided by 100). - temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // Decode saturation from the 8th byte of the payload. - saturation: parseBytesToInt(bytes, 7, 1) - } - }; - - // Return the fully constructed output object. - return result; - // Same logic, less code: - // return { - // attributes: { - // sn: parseBytesToInt(bytes, 0, 4) - // }, - // telemetry: { - // ts: convertDateToTimestamp(extractDateFromMetadata()), - // values: { - // battery: parseBytesToInt(bytes, 4, 1), - // temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // saturation: parseBytesToInt(bytes, 7, 1) - // } - // } - // }; } - -var result = decodePayload(payload); -// Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; -// result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. -// result.name = 'Temperature Sensor'; // Device or asset name (the value must be unique) -// result.profile = 'IndustrialSensorProfile'; // Device or asset profile name. -// result.customer = 'MyCustomer'; // If customer is not null - created entity will be assigned to customer with such name. -// result.group = 'SensorsGroup'; // If group is not null - created entity will be added to the entity group with such name. - -// Return the final result object. -return result; +var profile = "LoRaWAN Device"; +if (metadata.brandId != null && metadata.modelId != null) { + profile = metadata.brandId + "-" + metadata.modelId; +} +// To give a model its own profile name, map it here, for example: +// if (profile == "milesight-iot-am308") { +// profile = "AM308"; +// } +if (history.isEmpty()) { + return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; +} +history.add({ ts: metadata.ts, values: values }); +return { profile: profile, telemetry: history }; From 2aa823766c19837eb9803894c147b2203bff4ebc Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 28 Oct 2026 19:06:12 +0200 Subject: [PATCH 346/559] Dedicated converter: save metadata telemetry at the uplink time when the script returns a telemetry array The metadata telemetry keys went into a separate array element without ts, so they were saved at the server time, while the script's own values were saved at the uplink time. The element now takes ts from the metadata, the same ts the script reads and the one an object result already uses for these keys. --- .../controller/ConverterControllerTest.java | 2 +- .../api/converter/DedicatedConverterUtil.java | 20 +++++++++- ...edicatedScriptUplinkDataConverterTest.java | 37 +++++++++++++++++++ 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 0d99594197..2a56e51460 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -690,7 +690,7 @@ public class ConverterControllerTest extends AbstractControllerTest { public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560}}," + - "{\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}]," + + "{\"ts\":1793181600100,\"values\":{\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}}]," + "\"attributes\":{\"eui\":\"24E124707C481005\",\"joinEui\":\"24E124C0002A0001\",\"devAddr\":\"260B1234\",\"deviceId\":\"am308-office\",\"applicationId\":\"my-app\"," + "\"fPort\":85,\"bandwidth\":125000,\"spreadingFactor\":7,\"codeRate\":\"4/5\",\"frequency\":\"868100000\",\"brandId\":\"milesight-iot\",\"modelId\":\"am308\"," + "\"hardwareVersion\":\"1.0\",\"firmwareVersion\":\"1.0\",\"bandId\":\"EU_863_870\",\"netId\":\"000013\",\"tenantId\":\"ttn\",\"clusterId\":\"eu1\"," + diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java index 0d270db56d..c8052005f6 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java @@ -40,7 +40,7 @@ public final class DedicatedConverterUtil { if (telemetry.isJsonArray()) { JsonObject telemetryFromMetadata = addKvs(new JsonObject(), kvMap, config.getTelemetry()); if (!telemetryFromMetadata.isEmpty()) { - telemetry.getAsJsonArray().add(telemetryFromMetadata); + telemetry.getAsJsonArray().add(withUplinkTs(telemetryFromMetadata, kvMap)); } } else if (telemetry.isJsonObject()) { var obj = telemetry.getAsJsonObject(); @@ -101,6 +101,24 @@ public final class DedicatedConverterUtil { return defaultValue.get(); } + // An array element without ts is saved at the server time, so the metadata element takes the uplink time when it is known + private static JsonObject withUplinkTs(JsonObject values, Map kvMap) { + Object ts = kvMap.get(TS); + Long uplinkTs = null; + if (ts instanceof Number number) { + uplinkTs = number.longValue(); + } else if (ts instanceof String str && StringUtils.isNumeric(str)) { + uplinkTs = Long.parseLong(str); + } + if (uplinkTs == null) { + return values; + } + JsonObject element = new JsonObject(); + element.addProperty(TS, uplinkTs); + element.add(VALUES, values); + return element; + } + private static JsonObject addKvs(JsonObject kvsObj, Map kvMap, Set keys) { if (CollectionsUtil.isNotEmpty(keys) && !kvMap.isEmpty()) { kvMap.entrySet().stream() diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java index 155b9ac6c8..f764751813 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java @@ -179,6 +179,43 @@ public class DedicatedScriptUplinkDataConverterTest { }); } + @Test + public void parseUplinkDataWithTelemetryArraySavesMetadataAtUplinkTsTest() { + DedicatedConverterConfig config = new DedicatedConverterConfig(); + config.setType(EntityType.DEVICE); + config.setName("Device ${eui}"); + config.setTelemetry(Set.of("rssi")); + + ReflectionTestUtils.setField(uplinkDataConverter, "config", config); + + long historyTs = 1793170000000L; + long uplinkTs = 1793181600100L; + JsonObject historyValues = new JsonObject(); + historyValues.addProperty("temperature", 24.1); + JsonObject history = new JsonObject(); + history.addProperty("ts", historyTs); + history.add("values", historyValues); + + JsonArray telemetryArray = new JsonArray(); + telemetryArray.add(history); + + JsonObject uplinkJson = new JsonObject(); + uplinkJson.add("telemetry", telemetryArray); + + UplinkMetaData uplinkMetaData = new UplinkMetaData(ContentType.JSON, Map.of( + "rssi", "-60", + "eui", "24E124707C481005", + "ts", String.valueOf(uplinkTs))); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(uplinkJson, uplinkMetaData); + + var tsKvLists = uplink.getTelemetry().getTsKvListList(); + assertEquals(2, tsKvLists.size()); + assertEquals(historyTs, tsKvLists.get(0).getTs()); + assertEquals(uplinkTs, tsKvLists.get(1).getTs()); + assertEquals("rssi", tsKvLists.get(1).getKv(0).getKey()); + } + @Test public void parseUplinkDataTest() { DedicatedConverterConfig config = new DedicatedConverterConfig(); From 17278ce2d9ee11cd721955e0d356994bbf8757ff Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 28 Oct 2026 19:14:43 +0200 Subject: [PATCH 347/559] Dedicated converter: metadata telemetry joins the script's array element at the uplink ts With its own element at the uplink ts, a metadata key also returned by the script overwrote the script's value. The metadata keys now go into the script's element at that ts, only where the script has no value, as for an object result. Without such an element they keep their own element at the uplink ts. --- .../controller/ConverterControllerTest.java | 4 +- .../api/converter/DedicatedConverterUtil.java | 52 ++++++++++++++----- ...edicatedScriptUplinkDataConverterTest.java | 44 ++++++++++++++++ 3 files changed, 84 insertions(+), 16 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 2a56e51460..8ab6727c04 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -689,8 +689,8 @@ public class ConverterControllerTest extends AbstractControllerTest { @Test public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + - "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560}}," + - "{\"ts\":1793181600100,\"values\":{\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}}]," + + "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560," + + "\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}}]," + "\"attributes\":{\"eui\":\"24E124707C481005\",\"joinEui\":\"24E124C0002A0001\",\"devAddr\":\"260B1234\",\"deviceId\":\"am308-office\",\"applicationId\":\"my-app\"," + "\"fPort\":85,\"bandwidth\":125000,\"spreadingFactor\":7,\"codeRate\":\"4/5\",\"frequency\":\"868100000\",\"brandId\":\"milesight-iot\",\"modelId\":\"am308\"," + "\"hardwareVersion\":\"1.0\",\"firmwareVersion\":\"1.0\",\"bandId\":\"EU_863_870\",\"netId\":\"000013\",\"tenantId\":\"ttn\",\"clusterId\":\"eu1\"," + diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java index c8052005f6..f23d60a2a3 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java @@ -3,6 +3,7 @@ package org.thingsboard.integration.api.converter; import com.google.gson.Gson; +import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import org.thingsboard.common.util.JacksonUtil; @@ -38,10 +39,7 @@ public final class DedicatedConverterUtil { telemetry = src.get(TELEMETRY); if (telemetry.isJsonArray()) { - JsonObject telemetryFromMetadata = addKvs(new JsonObject(), kvMap, config.getTelemetry()); - if (!telemetryFromMetadata.isEmpty()) { - telemetry.getAsJsonArray().add(withUplinkTs(telemetryFromMetadata, kvMap)); - } + addMetadataTelemetry(telemetry.getAsJsonArray(), kvMap, config.getTelemetry()); } else if (telemetry.isJsonObject()) { var obj = telemetry.getAsJsonObject(); if (obj.has(VALUES)) { @@ -101,22 +99,48 @@ public final class DedicatedConverterUtil { return defaultValue.get(); } - // An array element without ts is saved at the server time, so the metadata element takes the uplink time when it is known - private static JsonObject withUplinkTs(JsonObject values, Map kvMap) { - Object ts = kvMap.get(TS); - Long uplinkTs = null; - if (ts instanceof Number number) { - uplinkTs = number.longValue(); - } else if (ts instanceof String str && StringUtils.isNumeric(str)) { - uplinkTs = Long.parseLong(str); + // The metadata keys join the script's element at the uplink ts, where the script's values win as in an object result. + // Without such an element they get their own one at the uplink ts: an element without ts is saved at the server time. + private static void addMetadataTelemetry(JsonArray telemetry, Map kvMap, Set keys) { + Long uplinkTs = getUplinkTs(kvMap); + if (uplinkTs != null) { + for (JsonElement element : telemetry) { + if (element.isJsonObject() && isValuesAtTs(element.getAsJsonObject(), uplinkTs)) { + addKvs(element.getAsJsonObject().getAsJsonObject(VALUES), kvMap, keys); + return; + } + } + } + JsonObject values = addKvs(new JsonObject(), kvMap, keys); + if (values.isEmpty()) { + return; } if (uplinkTs == null) { - return values; + telemetry.add(values); + return; } JsonObject element = new JsonObject(); element.addProperty(TS, uplinkTs); element.add(VALUES, values); - return element; + telemetry.add(element); + } + + private static boolean isValuesAtTs(JsonObject element, long ts) { + JsonElement elementTs = element.get(TS); + return element.has(VALUES) && element.get(VALUES).isJsonObject() + && elementTs != null && elementTs.isJsonPrimitive() && elementTs.getAsJsonPrimitive().isNumber() + && elementTs.getAsLong() == ts; + } + + private static Long getUplinkTs(Map kvMap) { + Object ts = kvMap.get(TS); + if (ts instanceof Number number) { + return number.longValue(); + } + if (ts instanceof String str && StringUtils.isNumeric(str)) { + return Long.parseLong(str); + } + return null; } private static JsonObject addKvs(JsonObject kvsObj, Map kvMap, Set keys) { diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java index f764751813..5ee41eda4e 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java @@ -216,6 +216,50 @@ public class DedicatedScriptUplinkDataConverterTest { assertEquals("rssi", tsKvLists.get(1).getKv(0).getKey()); } + @Test + public void parseUplinkDataWithTelemetryArrayAddsMetadataToScriptElementAtUplinkTsTest() { + DedicatedConverterConfig config = new DedicatedConverterConfig(); + config.setType(EntityType.DEVICE); + config.setName("Device ${eui}"); + config.setTelemetry(Set.of("rssi", "data")); + + ReflectionTestUtils.setField(uplinkDataConverter, "config", config); + + long uplinkTs = 1793181600100L; + JsonObject currentValues = new JsonObject(); + currentValues.addProperty("temperature", 24.5); + currentValues.addProperty("rssi", -50); + JsonObject current = new JsonObject(); + current.addProperty("ts", uplinkTs); + current.add("values", currentValues); + + JsonArray telemetryArray = new JsonArray(); + telemetryArray.add(current); + + JsonObject uplinkJson = new JsonObject(); + uplinkJson.add("telemetry", telemetryArray); + + UplinkMetaData uplinkMetaData = new UplinkMetaData(ContentType.JSON, Map.of( + "rssi", "-60", + "data", "AXVk", + "eui", "24E124707C481005", + "ts", String.valueOf(uplinkTs))); + + Map expectedTelemetry = Map.of( + "temperature", 24.5, + "rssi", -50L, + "data", "AXVk" + ); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(uplinkJson, uplinkMetaData); + + var tsKvLists = uplink.getTelemetry().getTsKvListList(); + assertEquals(1, tsKvLists.size()); + assertEquals(uplinkTs, tsKvLists.get(0).getTs()); + assertEquals(expectedTelemetry.size(), tsKvLists.get(0).getKvCount()); + tsKvLists.get(0).getKvList().forEach(kv -> assertEquals(expectedTelemetry.get(kv.getKey()), getValue(kv))); + } + @Test public void parseUplinkDataTest() { DedicatedConverterConfig config = new DedicatedConverterConfig(); From 198e87211c39cfc2f203b45df323b5f79a59c909 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 28 Oct 2026 19:37:06 +0200 Subject: [PATCH 348/559] Dedicated converter: a numeric-string ts in a script element counts as the uplink ts A script passes a numeric-string metadata ts through unchanged, and the telemetry parser reads it as a long, so the metadata keys must join that element too. --- .../api/converter/DedicatedConverterUtil.java | 11 ++++++++--- .../DedicatedScriptUplinkDataConverterTest.java | 15 ++++++++++++++- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java index f23d60a2a3..3af0d78e72 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java @@ -6,6 +6,7 @@ import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonPrimitive; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.integration.api.data.UplinkMetaData; import org.thingsboard.server.common.data.EntityType; @@ -127,9 +128,13 @@ public final class DedicatedConverterUtil { private static boolean isValuesAtTs(JsonObject element, long ts) { JsonElement elementTs = element.get(TS); - return element.has(VALUES) && element.get(VALUES).isJsonObject() - && elementTs != null && elementTs.isJsonPrimitive() && elementTs.getAsJsonPrimitive().isNumber() - && elementTs.getAsLong() == ts; + if (!element.has(VALUES) || !element.get(VALUES).isJsonObject() || elementTs == null || !elementTs.isJsonPrimitive()) { + return false; + } + JsonPrimitive primitive = elementTs.getAsJsonPrimitive(); + // A script passes a numeric-string metadata ts through unchanged, and the telemetry parser reads it as a long too + return (primitive.isNumber() || (primitive.isString() && StringUtils.isNumeric(primitive.getAsString()))) + && primitive.getAsLong() == ts; } private static Long getUplinkTs(Map kvMap) { diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java index 5ee41eda4e..6349a9334a 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java @@ -218,6 +218,15 @@ public class DedicatedScriptUplinkDataConverterTest { @Test public void parseUplinkDataWithTelemetryArrayAddsMetadataToScriptElementAtUplinkTsTest() { + testMetadataJoinsScriptElementAtUplinkTs(false); + } + + @Test + public void parseUplinkDataWithTelemetryArrayAddsMetadataToScriptElementAtStringUplinkTsTest() { + testMetadataJoinsScriptElementAtUplinkTs(true); + } + + private void testMetadataJoinsScriptElementAtUplinkTs(boolean scriptTsAsString) { DedicatedConverterConfig config = new DedicatedConverterConfig(); config.setType(EntityType.DEVICE); config.setName("Device ${eui}"); @@ -230,7 +239,11 @@ public class DedicatedScriptUplinkDataConverterTest { currentValues.addProperty("temperature", 24.5); currentValues.addProperty("rssi", -50); JsonObject current = new JsonObject(); - current.addProperty("ts", uplinkTs); + if (scriptTsAsString) { + current.addProperty("ts", String.valueOf(uplinkTs)); + } else { + current.addProperty("ts", uplinkTs); + } current.add("values", currentValues); JsonArray telemetryArray = new JsonArray(); From 46ea9dbd883f7004a88e81b009d661b77e911e2f Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 09:45:27 +0100 Subject: [PATCH 349/559] Remove edge msgs content and secrets from edge failure notifications and logs --- .../service/edge/EdgeMsgSummaryUtils.java | 44 ++++++++++++++++++ .../service/edge/rpc/EdgeGrpcSession.java | 16 ++++--- .../processor/device/BaseDeviceProcessor.java | 11 +++-- .../processor/device/DeviceEdgeProcessor.java | 3 +- .../service/edge/EdgeMsgSummaryUtilsTest.java | 45 +++++++++++++++++++ 5 files changed, 105 insertions(+), 14 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java create mode 100644 application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java new file mode 100644 index 0000000000..7b47f9199a --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.edge; + +import com.google.protobuf.Descriptors.FieldDescriptor; +import com.google.protobuf.Message; + +import java.util.Collection; +import java.util.List; +import java.util.StringJoiner; +import java.util.stream.Collectors; + +/** + * Describes edge protobuf messages without their payloads, so they can be logged or put into notifications + * without exposing entity JSON, credentials, tokens or secrets. + */ +public final class EdgeMsgSummaryUtils { + + private EdgeMsgSummaryUtils() { + } + + // e.g. DownlinkMsg[downlinkMsgId=12, deviceUpdateMsg x2, deviceCredentialsUpdateMsg x1] + public static String toSummary(Message msg) { + if (msg == null) { + return "null"; + } + StringJoiner summary = new StringJoiner(", ", msg.getDescriptorForType().getName() + "[", "]"); + msg.getAllFields().forEach((field, value) -> { + if (field.isRepeated()) { + summary.add(field.getName() + " x" + ((List) value).size()); + } else if (field.getJavaType() == FieldDescriptor.JavaType.INT || field.getJavaType() == FieldDescriptor.JavaType.LONG) { + summary.add(field.getName() + "=" + value); + } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { + summary.add(field.getName()); + } + }); + return summary.toString(); + } + + public static String toSummary(Collection msgs) { + return msgs.stream().map(EdgeMsgSummaryUtils::toSummary).collect(Collectors.joining(", ", "[", "]")); + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java index ec9eedde62..5886b2cae0 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java @@ -76,6 +76,7 @@ import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.WidgetBundleTypesRequestMsg; import org.thingsboard.server.service.edge.EdgeContextComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; +import org.thingsboard.server.service.edge.EdgeMsgSummaryUtils; import org.thingsboard.server.service.edge.rpc.fetch.EdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.GeneralEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.utils.EdgeVersionUtils; @@ -340,7 +341,7 @@ public abstract class EdgeGrpcSession implements Closeable { } private ConnectResponseMsg processConnect(ConnectRequestMsg request) { - log.trace("[{}] processConnect [{}]", sessionId, request); + log.trace("[{}] processConnect, routing key [{}], edge version [{}]", sessionId, request.getEdgeRoutingKey(), request.getEdgeVersion()); Optional optional = ctx.getEdgeService().findEdgeByRoutingKey(TenantId.SYS_TENANT_ID, request.getEdgeRoutingKey()); if (optional.isPresent()) { edge = optional.get(); @@ -358,7 +359,7 @@ public abstract class EdgeGrpcSession implements Closeable { .build(); } String error = "Failed to validate the edge!"; - String failureMsg = String.format("%s Provided request secret: %s", error, request.getEdgeSecret()); + String failureMsg = String.format("%s Provided request secret doesn't match the edge secret.", error); ctx.getRuleProcessor().process(EdgeCommunicationFailureTrigger.builder().tenantId(tenantId).edgeId(edge.getId()) .customerId(edge.getCustomerId()).edgeName(edge.getName()).failureMsg(failureMsg).error(error).build()); return ConnectResponseMsg.newBuilder() @@ -464,7 +465,7 @@ public abstract class EdgeGrpcSession implements Closeable { ctx.getStatsCounterService().ifPresent(statsCounterService -> statsCounterService.recordEvent(EdgeStatsKey.DOWNLINK_MSGS_TMP_FAILED, edge.getTenantId(), edge.getId(), 1)); log.warn("[{}][{}] {} on attempt {}", tenantId, edge.getId(), failureMsg, attempt); - log.debug("[{}][{}] entities in failed batch: {}", tenantId, edge.getId(), copy); + log.debug("[{}][{}] entities in failed batch: {}", tenantId, edge.getId(), EdgeMsgSummaryUtils.toSummary(copy)); } log.trace("[{}][{}][{}] downlink msg(s) are going to be send.", tenantId, edge.getId(), copy.size()); for (DownlinkMsg downlinkMsg : copy) { @@ -473,7 +474,7 @@ public abstract class EdgeGrpcSession implements Closeable { "env variable on the edge and restart it.", clientMaxInboundMessageSize); String message = String.format("Downlink msg size %s exceeds client max inbound message size %s. " + "Please increase value of CLOUD_RPC_MAX_INBOUND_MESSAGE_SIZE env variable on the edge and restart it.", downlinkMsg.getSerializedSize(), clientMaxInboundMessageSize); - log.error("[{}][{}][{}] {} Message {}", tenantId, edge.getId(), sessionId, message, downlinkMsg); + log.error("[{}][{}][{}] {} Message {}", tenantId, edge.getId(), sessionId, message, EdgeMsgSummaryUtils.toSummary(downlinkMsg)); ctx.getRuleProcessor().process(EdgeCommunicationFailureTrigger.builder().tenantId(tenantId) .edgeId(edge.getId()).customerId(edge.getCustomerId()).edgeName(edge.getName()).failureMsg(message).error(error).build()); ctx.getStatsCounterService().ifPresent(statsCounterService -> @@ -488,9 +489,10 @@ public abstract class EdgeGrpcSession implements Closeable { if (attempt < MAX_DOWNLINK_ATTEMPTS) { scheduleDownlinkMsgsPackSend(attempt + 1); } else { - String failureMsg = String.format("Failed to deliver messages: %s", copy); + String failedMsgsSummary = EdgeMsgSummaryUtils.toSummary(copy); + String failureMsg = String.format("Failed to deliver messages: %s", failedMsgsSummary); log.warn("[{}][{}] Failed to deliver the batch after {} attempts. Next messages are going to be discarded {}", - tenantId, edge.getId(), MAX_DOWNLINK_ATTEMPTS, copy); + tenantId, edge.getId(), MAX_DOWNLINK_ATTEMPTS, failedMsgsSummary); ctx.getRuleProcessor().process(EdgeCommunicationFailureTrigger.builder().tenantId(tenantId).edgeId(edge.getId()) .customerId(edge.getCustomerId()).edgeName(edge.getName()).failureMsg(failureMsg) .error("Failed to deliver messages after " + MAX_DOWNLINK_ATTEMPTS + " attempts").build()); @@ -944,7 +946,7 @@ public abstract class EdgeGrpcSession implements Closeable { } } } catch (Exception e) { - String failureMsg = String.format("Can't process uplink msg [%s] from edge", uplinkMsg); + String failureMsg = String.format("Can't process uplink msg [%s] from edge", EdgeMsgSummaryUtils.toSummary(uplinkMsg)); log.trace("[{}][{}] Can't process uplink msg [{}]", tenantId, edge.getId(), uplinkMsg, e); ctx.getRuleProcessor().process(EdgeCommunicationFailureTrigger.builder().tenantId(tenantId).edgeId(edge.getId()) .customerId(edge.getCustomerId()).edgeName(edge.getName()).failureMsg(failureMsg).error(e.getMessage()).build()); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java index 0c5d73cf6f..33fe2a5cec 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java @@ -70,12 +70,12 @@ public abstract class BaseDeviceProcessor extends BaseEdgeProcessor { protected void updateDeviceCredentials(TenantId tenantId, DeviceCredentialsUpdateMsg deviceCredentialsUpdateMsg) { DeviceCredentials deviceCredentials = JacksonUtil.fromString(deviceCredentialsUpdateMsg.getEntity(), DeviceCredentials.class, true); if (deviceCredentials == null) { - throw new RuntimeException("[{" + tenantId + "}] deviceCredentialsUpdateMsg {" + deviceCredentialsUpdateMsg + "} cannot be converted to device credentials"); + throw new RuntimeException("[{" + tenantId + "}] deviceCredentialsUpdateMsg cannot be converted to device credentials"); } Device device = edgeCtx.getDeviceService().findDeviceById(tenantId, deviceCredentials.getDeviceId()); if (device != null) { - log.debug("[{}] Updating device credentials for device [{}]. New device credentials Id [{}], value [{}]", - tenantId, device.getName(), deviceCredentials.getCredentialsId(), deviceCredentials.getCredentialsValue()); + log.debug("[{}] Updating device credentials for device [{}]. New device credentials type [{}]", + tenantId, device.getName(), deviceCredentials.getCredentialsType()); try { DeviceCredentials deviceCredentialsByDeviceId = edgeCtx.getDeviceCredentialsService().findDeviceCredentialsByDeviceId(tenantId, device.getId()); if (deviceCredentialsByDeviceId == null) { @@ -88,12 +88,11 @@ public abstract class BaseDeviceProcessor extends BaseEdgeProcessor { edgeCtx.getDeviceCredentialsService().updateDeviceCredentials(tenantId, deviceCredentialsByDeviceId); } catch (Exception e) { - log.error("[{}] Can't update device credentials for device [{}], deviceCredentialsUpdateMsg [{}]", - tenantId, device.getName(), deviceCredentialsUpdateMsg, e); + log.error("[{}] Can't update device credentials for device [{}]", tenantId, device.getName(), e); throw new RuntimeException(e); } } else { - log.warn("[{}] Can't find device by id [{}], deviceCredentialsUpdateMsg [{}]", tenantId, deviceCredentials.getDeviceId(), deviceCredentialsUpdateMsg); + log.warn("[{}] Can't find device by id [{}], skipping device credentials update", tenantId, deviceCredentials.getDeviceId()); } } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index 4cd8d9dc1c..ff272b1130 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -46,6 +46,7 @@ import org.thingsboard.server.queue.TbQueueCallback; import org.thingsboard.server.queue.TbQueueMsgMetadata; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; +import org.thingsboard.server.service.edge.EdgeMsgSummaryUtils; import java.util.UUID; @@ -90,7 +91,7 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr @Override public ListenableFuture processDeviceCredentialsMsgFromEdge(TenantId tenantId, EdgeId edgeId, DeviceCredentialsUpdateMsg deviceCredentialsUpdateMsg) { - log.debug("[{}] Executing processDeviceCredentialsMsgFromEdge, deviceCredentialsUpdateMsg [{}]", tenantId, deviceCredentialsUpdateMsg); + log.debug("[{}] Executing processDeviceCredentialsMsgFromEdge, deviceCredentialsUpdateMsg [{}]", tenantId, EdgeMsgSummaryUtils.toSummary(deviceCredentialsUpdateMsg)); try { edgeSynchronizationManager.getEdgeId().set(edgeId); diff --git a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java new file mode 100644 index 0000000000..a75dd9ce6f --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java @@ -0,0 +1,45 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.edge; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import org.thingsboard.server.gen.edge.v1.DeviceCredentialsUpdateMsg; +import org.thingsboard.server.gen.edge.v1.DeviceUpdateMsg; +import org.thingsboard.server.gen.edge.v1.DownlinkMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; + +import java.util.List; + +public class EdgeMsgSummaryUtilsTest { + + private static final String SECRET = "secret-access-token"; + + @Test + public void testDownlinkMsgSummaryHasNoPayload() { + DownlinkMsg downlinkMsg = DownlinkMsg.newBuilder() + .setDownlinkMsgId(12) + .addDeviceUpdateMsg(DeviceUpdateMsg.newBuilder().setEntity("{\"name\":\"Device\"}").build()) + .addDeviceUpdateMsg(DeviceUpdateMsg.newBuilder().setEntity("{\"name\":\"Device 2\"}").build()) + .addDeviceCredentialsUpdateMsg(DeviceCredentialsUpdateMsg.newBuilder().setEntity("{\"credentialsId\":\"" + SECRET + "\"}").build()) + .build(); + + String summary = EdgeMsgSummaryUtils.toSummary(downlinkMsg); + + Assertions.assertEquals("DownlinkMsg[downlinkMsgId=12, deviceUpdateMsg x2, deviceCredentialsUpdateMsg x1]", summary); + } + + @Test + public void testUplinkMsgsSummaryHasNoPayload() { + UplinkMsg uplinkMsg = UplinkMsg.newBuilder() + .setUplinkMsgId(3) + .addDeviceCredentialsUpdateMsg(DeviceCredentialsUpdateMsg.newBuilder().setEntity("{\"credentialsId\":\"" + SECRET + "\"}").build()) + .build(); + + String summary = EdgeMsgSummaryUtils.toSummary(List.of(uplinkMsg, uplinkMsg)); + + Assertions.assertEquals("[UplinkMsg[uplinkMsgId=3, deviceCredentialsUpdateMsg x1], UplinkMsg[uplinkMsgId=3, deviceCredentialsUpdateMsg x1]]", summary); + Assertions.assertFalse(summary.contains(SECRET)); + } + +} From 728e0016ad31632bc7264abc815c11b623da15e4 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 09:46:31 +0100 Subject: [PATCH 350/559] Remove activation and reset tokens from user credentials sent to edge --- .../service/edge/EdgeMsgConstructorUtils.java | 5 +++- .../edge/EdgeMsgConstructorUtilsTest.java | 30 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java index 702e43ac3d..dee613c43a 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java @@ -602,7 +602,10 @@ public class EdgeMsgConstructorUtils { } public static UserCredentialsUpdateMsg constructUserCredentialsUpdatedMsg(UserCredentials userCredentials) { - return UserCredentialsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(userCredentials)).build(); + // activation and reset tokens allow taking over the account and are not used by edge + ObjectNode userCredentialsNode = (ObjectNode) JacksonUtil.valueToTree(userCredentials); + userCredentialsNode.remove(List.of("activateToken", "activateTokenExpTime", "resetToken", "resetTokenExpTime")); + return UserCredentialsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(userCredentialsNode)).build(); } public static WidgetsBundleUpdateMsg constructWidgetsBundleUpdateMsg(UpdateMsgType msgType, WidgetsBundle widgetsBundle, List widgets) { diff --git a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtilsTest.java b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtilsTest.java index ed0593dea5..97eebc06b1 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtilsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtilsTest.java @@ -6,6 +6,7 @@ import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -23,14 +24,18 @@ import org.thingsboard.rule.engine.rest.TbSendRestApiCallReplyNode; import org.thingsboard.rule.engine.telemetry.TbCalculatedFieldsNode; import org.thingsboard.rule.engine.telemetry.TbMsgAttributesNode; import org.thingsboard.rule.engine.telemetry.TbMsgTimeseriesNode; +import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.rule.RuleNode; +import org.thingsboard.server.common.data.security.UserCredentials; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; +import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import java.lang.reflect.Constructor; import java.util.List; import java.util.Optional; +import java.util.UUID; import java.util.stream.Stream; import static org.thingsboard.server.service.edge.EdgeMsgConstructorUtils.EXCLUDED_NODES_BY_EDGE_VERSION; @@ -142,4 +147,29 @@ public class EdgeMsgConstructorUtilsTest { String.format("For EdgeVersion '%s', ruleNode '%s' should not be included.", edgeVersion, ruleNode.getType())); } + @Test + public void testUserCredentialsUpdatedMsgWithoutTokens() { + UserCredentials userCredentials = new UserCredentials(); + userCredentials.setUserId(new UserId(UUID.randomUUID())); + userCredentials.setEnabled(true); + userCredentials.setPassword("$2a$10$passwordHash"); + userCredentials.setActivateToken("activateToken"); + userCredentials.setActivateTokenExpTime(System.currentTimeMillis()); + userCredentials.setResetToken("resetToken"); + userCredentials.setResetTokenExpTime(System.currentTimeMillis()); + + UserCredentialsUpdateMsg userCredentialsUpdateMsg = EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentials); + UserCredentials sentUserCredentials = JacksonUtil.fromString(userCredentialsUpdateMsg.getEntity(), UserCredentials.class, true); + + Assertions.assertNotNull(sentUserCredentials); + Assertions.assertEquals(userCredentials.getUserId(), sentUserCredentials.getUserId()); + Assertions.assertEquals(userCredentials.getPassword(), sentUserCredentials.getPassword()); + Assertions.assertTrue(sentUserCredentials.isEnabled()); + Assertions.assertNull(sentUserCredentials.getActivateToken()); + Assertions.assertNull(sentUserCredentials.getActivateTokenExpTime()); + Assertions.assertNull(sentUserCredentials.getResetToken()); + Assertions.assertNull(sentUserCredentials.getResetTokenExpTime()); + Assertions.assertEquals("resetToken", userCredentials.getResetToken()); + } + } From 6af0dd38ce39fff92e453fe535ec634effe8a356 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 10:34:14 +0100 Subject: [PATCH 351/559] Restore missing test annotation in UserEdgeTest --- .../src/test/java/org/thingsboard/server/edge/UserEdgeTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index a339ca3f8f..ade03867a4 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -437,6 +437,7 @@ public class UserEdgeTest extends AbstractEdgeTest { return opt.get(); } + @Test public void testSendUserCredentialsRequestForUserOfDifferentTenantToCloud() throws Exception { loginDifferentTenant(); UUID userUuid = savedDifferentTenantUser.getUuidId(); From 2b7830a03fc8f3894152e8fb5ac0ff51738cb10f Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 10:34:14 +0100 Subject: [PATCH 352/559] Take only password and enabled flag from edge user credentials msg --- .../rpc/processor/user/BaseUserProcessor.java | 44 ++++++++++++++----- .../thingsboard/server/edge/UserEdgeTest.java | 32 ++++++++++++++ .../server/dao/user/UserService.java | 2 + .../server/dao/user/UserServiceImpl.java | 3 +- 4 files changed, 68 insertions(+), 13 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java index 7cf15764de..98a14ca5fc 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java @@ -22,6 +22,8 @@ import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; +import java.util.Objects; + @Slf4j public abstract class BaseUserProcessor extends BaseEdgeProcessor { @@ -113,31 +115,49 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { } protected void updateUserCredentials(TenantId tenantId, UserCredentialsUpdateMsg updateMsg) { - UserCredentials userCredentials = JacksonUtil.fromString(updateMsg.getEntity(), UserCredentials.class, true); - if (userCredentials == null) { + UserCredentials edgeUserCredentials = JacksonUtil.fromString(updateMsg.getEntity(), UserCredentials.class, true); + if (edgeUserCredentials == null) { throw new IllegalArgumentException(String.format("[%s] Failed to parse UserCredentials from updateMsg: %s", tenantId, updateMsg)); } - User user = edgeCtx.getUserService().findUserById(tenantId, userCredentials.getUserId()); + User user = edgeCtx.getUserService().findUserById(tenantId, edgeUserCredentials.getUserId()); if (user == null || !tenantId.equals(user.getTenantId())) { log.warn("[{}] Can't find user by id [{}] skipping credentials update. UserCredentialsUpdateMsg [{}]", - tenantId, userCredentials.getUserId(), updateMsg); + tenantId, edgeUserCredentials.getUserId(), updateMsg); return; } - if (userCredentials.getId() != null) { - UserCredentials userCredentialsById = edgeCtx.getUserService().findUserCredentialsById(tenantId, userCredentials.getId()); + if (edgeUserCredentials.getId() != null) { + UserCredentials userCredentialsById = edgeCtx.getUserService().findUserCredentialsById(tenantId, edgeUserCredentials.getId()); if (userCredentialsById != null && !user.getId().equals(userCredentialsById.getUserId())) { - log.warn("[{}] User credentials [{}] belong to a different user, skipping credentials update", tenantId, userCredentials.getId()); + log.warn("[{}] User credentials [{}] belong to a different user, skipping credentials update", tenantId, edgeUserCredentials.getId()); return; } } log.debug("[{}] Updating user credentials for user [{}]. New credentials Id [{}], enabled [{}]", - tenantId, user.getName(), userCredentials.getId(), userCredentials.isEnabled()); + tenantId, user.getName(), edgeUserCredentials.getId(), edgeUserCredentials.isEnabled()); try { - UserCredentials userCredentialsByUserId = edgeCtx.getUserService().findUserCredentialsByUserId(tenantId, user.getId()); - if (userCredentialsByUserId != null && !userCredentialsByUserId.getId().equals(userCredentials.getId())) { - edgeCtx.getUserService().deleteUserCredentials(tenantId, userCredentialsByUserId); + UserCredentials savedUserCredentials = edgeCtx.getUserService().findUserCredentialsByUserId(tenantId, user.getId()); + if (savedUserCredentials != null && !savedUserCredentials.getId().equals(edgeUserCredentials.getId())) { + edgeCtx.getUserService().deleteUserCredentials(tenantId, savedUserCredentials); + } + // only password and enabled flag come from edge, tokens, login attempts and password history stay as on cloud + UserCredentials updatedUserCredentials = savedUserCredentials != null ? savedUserCredentials : new UserCredentials(); + boolean passwordChanged = !Objects.equals(updatedUserCredentials.getPassword(), edgeUserCredentials.getPassword()); + updatedUserCredentials.setId(edgeUserCredentials.getId()); + updatedUserCredentials.setUserId(user.getId()); + updatedUserCredentials.setEnabled(edgeUserCredentials.isEnabled()); + updatedUserCredentials.setPassword(edgeUserCredentials.getPassword()); + if (passwordChanged && updatedUserCredentials.getPassword() != null) { + edgeCtx.getUserService().updatePasswordHistory(updatedUserCredentials); + } + if (updatedUserCredentials.isEnabled()) { + // user is activated on edge + updatedUserCredentials.setActivateToken(null); + updatedUserCredentials.setActivateTokenExpTime(null); + } else if (edgeUserCredentials.getActivateToken() != null && updatedUserCredentials.getActivateToken() == null) { + // user activation is pending on edge, cloud uses its own token + edgeCtx.getUserService().generateUserActivationToken(updatedUserCredentials); } - edgeCtx.getUserService().saveUserCredentials(tenantId, userCredentials, false); + edgeCtx.getUserService().saveUserCredentials(tenantId, updatedUserCredentials, false); } catch (Exception e) { log.error("[{}] Can't update user credentials for user [{}], userCredentialsUpdateMsg [{}]", tenantId, user.getName(), updateMsg, e); diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index ade03867a4..72b9251f2c 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -40,6 +40,7 @@ import java.util.concurrent.TimeUnit; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.thingsboard.server.dao.user.UserServiceImpl.DEFAULT_TOKEN_LENGTH; +import static org.thingsboard.server.dao.user.UserServiceImpl.USER_PASSWORD_HISTORY; @DaoSqlTest public class UserEdgeTest extends AbstractEdgeTest { @@ -507,4 +508,35 @@ public class UserEdgeTest extends AbstractEdgeTest { Assert.assertEquals(differentTenantCredentials.getPassword(), differentTenantCredentialsAfter.getPassword()); } + @Test + public void testSendUserCredentialsWithTokensAndLoginStateFromEdgeToCloud() throws Exception { + User user = buildUser(Authority.TENANT_ADMIN, null); + user.setEmail("edgeCredentialsUser@thingsboard.org"); + User savedUser = doPost("/api/user?sendActivationMail=false", user, User.class); + UserCredentials cloudCredentials = userService.findUserCredentialsByUserId(tenantId, savedUser.getId()); + cloudCredentials.setResetToken("cloudResetToken"); + cloudCredentials.setResetTokenExpTime(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(1)); + cloudCredentials.setFailedLoginAttempts(3); + userService.saveUserCredentials(tenantId, cloudCredentials, false); + + UserCredentials edgeCredentials = buildCredentials(cloudCredentials.getId(), savedUser.getId(), true); + String edgePassword = passwordEncoder.encode("edgePassword"); + edgeCredentials.setPassword(edgePassword); + edgeCredentials.setActivateToken("edgeActivateToken"); + edgeCredentials.setResetToken("edgeResetToken"); + edgeCredentials.setResetTokenExpTime(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(1)); + edgeCredentials.setFailedLoginAttempts(0); + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserCredentialsUpdateMsg(UserCredentialsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(edgeCredentials)).build()) + .build()); + + UserCredentials cloudCredentialsAfter = userService.findUserCredentialsByUserId(tenantId, savedUser.getId()); + Assert.assertEquals(edgePassword, cloudCredentialsAfter.getPassword()); + Assert.assertTrue(cloudCredentialsAfter.isEnabled()); + Assert.assertNull(cloudCredentialsAfter.getActivateToken()); + Assert.assertEquals("cloudResetToken", cloudCredentialsAfter.getResetToken()); + Assert.assertEquals(Integer.valueOf(3), cloudCredentialsAfter.getFailedLoginAttempts()); + Assert.assertTrue(cloudCredentialsAfter.getAdditionalInfo().get(USER_PASSWORD_HISTORY).toString().contains(edgePassword)); + } + } diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java index ad8edcb710..aea5ac6c10 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java @@ -63,6 +63,8 @@ public interface UserService extends EntityDaoService { UserCredentials replaceUserCredentials(TenantId tenantId, UserCredentials userCredentials); + void updatePasswordHistory(UserCredentials userCredentials); + void deleteUserCredentials(TenantId tenantId, UserCredentials userCredentials); void deleteUser(TenantId tenantId, User user); diff --git a/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java index cfc49bb6ee..02cc440bf9 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java @@ -630,7 +630,8 @@ public class UserServiceImpl extends AbstractCachedEntityService Date: Thu, 29 Oct 2026 11:47:14 +0100 Subject: [PATCH 353/559] Remove user, api key and ai model msgs content from edge logs and exceptions --- .../edge/rpc/processor/ai/BaseAiModelProcessor.java | 4 ++-- .../rpc/processor/apikey/BaseApiKeyProcessor.java | 4 ++-- .../edge/rpc/processor/user/BaseUserProcessor.java | 12 +++++------- .../edge/rpc/processor/user/UserEdgeProcessor.java | 5 +++-- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index 6727013852..3dfa7115c2 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -31,7 +31,7 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { try { AiModel aiModel = JacksonUtil.fromString(aiModelUpdateMsg.getEntity(), AiModel.class, true); if (aiModel == null) { - throw new RuntimeException("[{" + tenantId + "}] aiModelUpdateMsg {" + aiModelUpdateMsg + " } cannot be converted to aiModel"); + throw new RuntimeException("[{" + tenantId + "}] aiModelUpdateMsg for aiModel {" + aiModelId + "} cannot be converted to aiModel"); } checkEntityTenant(tenantId, aiModelId); @@ -63,7 +63,7 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { edgeCtx.getAiModelService().save(aiModel, false); } catch (Exception e) { - log.error("[{}] Failed to process aiModel update msg [{}]", tenantId, aiModelUpdateMsg, e); + log.error("[{}] Failed to process aiModel update msg for aiModel [{}]", tenantId, aiModelId, e); throw e; } return Pair.of(isCreated, isNameUpdated); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java index e7a9df03bf..cf56cfa959 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java @@ -22,7 +22,7 @@ public abstract class BaseApiKeyProcessor extends BaseEdgeProcessor { try { ApiKey apiKey = JacksonUtil.fromString(apiKeyUpdateMsg.getEntity(), ApiKey.class, true); if (apiKey == null) { - throw new RuntimeException("[{" + tenantId + "}] apiKeyUpdateMsg {" + apiKeyUpdateMsg + " } cannot be converted to apiKey"); + throw new RuntimeException("[{" + tenantId + "}] apiKeyUpdateMsg for apiKey {" + apiKeyId + "} cannot be converted to apiKey"); } checkEntityTenant(tenantId, apiKeyId); @@ -40,7 +40,7 @@ public abstract class BaseApiKeyProcessor extends BaseEdgeProcessor { apiKey.setId(apiKeyId); edgeCtx.getApiKeyService().saveApiKey(tenantId, apiKey, apiKey.getValue(), false); } catch (Exception e) { - log.error("[{}] Failed to process apiKey update msg [{}]", tenantId, apiKeyUpdateMsg, e); + log.error("[{}] Failed to process apiKey update msg for apiKey [{}]", tenantId, apiKeyId, e); throw e; } return isCreated; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java index 98a14ca5fc..7c3e36d7c5 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java @@ -37,7 +37,7 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { try { User user = JacksonUtil.fromString(userUpdateMsg.getEntity(), User.class, true); if (user == null) { - throw new IllegalArgumentException(String.format("[%s] Failed to parse User from UserUpdateMsg: %s", tenantId, userUpdateMsg)); + throw new IllegalArgumentException(String.format("[%s] Failed to parse User from UserUpdateMsg for user %s", tenantId, userId)); } if (user.getAuthority() != Authority.TENANT_ADMIN && user.getAuthority() != Authority.CUSTOMER_USER) { throw new DataValidationException("User authority " + user.getAuthority() + " is not allowed!"); @@ -67,7 +67,7 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { edgeCtx.getUserService().saveUser(tenantId, user, false); } } catch (Exception e) { - log.error("[{}] Failed to process user update msg [{}]", tenantId, userUpdateMsg, e); + log.error("[{}] Failed to process user update msg for user [{}]", tenantId, userId, e); throw e; } @@ -117,12 +117,11 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { protected void updateUserCredentials(TenantId tenantId, UserCredentialsUpdateMsg updateMsg) { UserCredentials edgeUserCredentials = JacksonUtil.fromString(updateMsg.getEntity(), UserCredentials.class, true); if (edgeUserCredentials == null) { - throw new IllegalArgumentException(String.format("[%s] Failed to parse UserCredentials from updateMsg: %s", tenantId, updateMsg)); + throw new IllegalArgumentException(String.format("[%s] Failed to parse UserCredentials from UserCredentialsUpdateMsg", tenantId)); } User user = edgeCtx.getUserService().findUserById(tenantId, edgeUserCredentials.getUserId()); if (user == null || !tenantId.equals(user.getTenantId())) { - log.warn("[{}] Can't find user by id [{}] skipping credentials update. UserCredentialsUpdateMsg [{}]", - tenantId, edgeUserCredentials.getUserId(), updateMsg); + log.warn("[{}] Can't find user by id [{}] skipping credentials update", tenantId, edgeUserCredentials.getUserId()); return; } if (edgeUserCredentials.getId() != null) { @@ -159,8 +158,7 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { } edgeCtx.getUserService().saveUserCredentials(tenantId, updatedUserCredentials, false); } catch (Exception e) { - log.error("[{}] Can't update user credentials for user [{}], userCredentialsUpdateMsg [{}]", - tenantId, user.getName(), updateMsg, e); + log.error("[{}] Can't update user credentials for user [{}]", tenantId, user.getName(), e); throw new RuntimeException(e); } } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java index 63c3fb78e8..692aeed59d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java @@ -30,6 +30,7 @@ import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; +import org.thingsboard.server.service.edge.EdgeMsgSummaryUtils; import java.util.List; import java.util.UUID; @@ -59,7 +60,7 @@ public class UserEdgeProcessor extends BaseUserProcessor implements UserProcesso }; } catch (DataValidationException e) { if (e.getMessage().contains("limit reached")) { - log.warn("[{}] Number of allowed users violated {}", tenantId, userUpdateMsg, e); + log.warn("[{}] Number of allowed users violated, user [{}]", tenantId, userId, e); return Futures.immediateFuture(null); } else { return Futures.immediateFailedFuture(e); @@ -71,7 +72,7 @@ public class UserEdgeProcessor extends BaseUserProcessor implements UserProcesso @Override public ListenableFuture processUserCredentialsMsgFromEdge(TenantId tenantId, Edge edge, UserCredentialsUpdateMsg userCredentialsUpdateMsg) { - log.debug("[{}] Executing processUserCredentialsMsgFromEdge, userCredentialsUpdateMsg [{}]", tenantId, userCredentialsUpdateMsg); + log.debug("[{}] Executing processUserCredentialsMsgFromEdge, userCredentialsUpdateMsg [{}]", tenantId, EdgeMsgSummaryUtils.toSummary(userCredentialsUpdateMsg)); try { edgeSynchronizationManager.getEdgeId().set(edge.getId()); From 0475763bba794e8fe421a182ec743b3424ca0624 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 11:59:22 +0100 Subject: [PATCH 354/559] Check user email across all tenants on edge user save --- .../rpc/processor/user/BaseUserProcessor.java | 3 ++- .../thingsboard/server/edge/UserEdgeTest.java | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java index 7c3e36d7c5..4b4e82910d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java @@ -76,7 +76,8 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { private boolean updateUserEmailIfDuplicateExists(TenantId tenantId, UserId userId, User user) { String email = user.getEmail(); - User userByEmail = edgeCtx.getUserService().findUserByTenantIdAndEmail(tenantId, email); + // email is unique across all tenants + User userByEmail = edgeCtx.getUserService().findUserByEmail(tenantId, email); if (userByEmail != null && !userByEmail.getId().equals(user.getId())) { String[] splitEmail = email.split("@"); diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index c8412861f0..ac81903bdd 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -540,4 +540,23 @@ public class UserEdgeTest extends AbstractEdgeTest { Assert.assertTrue(cloudCredentialsAfter.getAdditionalInfo().get(USER_PASSWORD_HISTORY).toString().contains(edgePassword)); } + @Test + public void testSendUserWithEmailOfDifferentTenantUserFromEdgeToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + UserId userId = new UserId(UUID.randomUUID()); + User user = buildUser(Authority.TENANT_ADMIN, null); + user.setId(userId); + user.setEmail(savedDifferentTenantUser.getEmail()); + + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserUpdateMsg(EdgeMsgConstructorUtils.constructUserUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, user)) + .build()); + + User savedUser = userService.findUserById(tenantId, userId); + Assert.assertNotNull(savedUser); + Assert.assertEquals(tenantId, savedUser.getTenantId()); + Assert.assertNotEquals(savedDifferentTenantUser.getEmail(), savedUser.getEmail()); + } + } From dcb9c6dada25f19758e121a42aa9e118ead07547 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 12:39:30 +0100 Subject: [PATCH 355/559] Fix license header in EdgeMsgSummaryUtils --- .../thingsboard/server/service/edge/EdgeMsgSummaryUtils.java | 2 +- .../server/service/edge/EdgeMsgSummaryUtilsTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java index 7b47f9199a..97b4a68dd1 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge; diff --git a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java index a75dd9ce6f..8ab4db4476 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge; From 15a7222f2567e689a8182f01a368a052a81a4eb1 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 29 Oct 2026 13:51:36 +0200 Subject: [PATCH 356/559] fix(iot-hub): apply a device package update in one transaction on the server The wizard no longer saves the entities itself and reverts them from snapshots on a failure. It plans the update and the server applies it. - POST /api/iot-hub/installedItems/{id}/deviceUpdate takes the entity of each step, resolved from the new version's template, and saves all of them with the new version of the installed item in one transaction. Any failure rolls everything back. The audit log, version control and attributes are written after commit. - The server checks the plan: only the package's entities or confirmed conflicts are overwritten, the device and its credentials never change, and an entity changed since the check fails the update (version). - GET .../deviceUpdate/check reports for each entity whether it still exists, is shared with other packages, or was changed since install, by a checksum the server keeps in the install state at install and on update. Packages installed before keep the comparison with the template. - An entity changed since install is overwritten only after a warning, with a link to download its current version. A shared one shows the shared warning. - Only texts changed: the version is recorded without the wizard. - Try again checks the update again. Errors show validation messages and a common message for anything else. --- .../server/controller/IotHubController.java | 26 +- .../DefaultDevicePackageUpdateService.java | 789 +++++++++++++++++ .../service/iot_hub/DefaultIotHubService.java | 40 +- .../iot_hub/DevicePackageEntities.java | 119 +++ .../iot_hub/DevicePackageEntityState.java | 27 + .../iot_hub/DevicePackageUpdateService.java | 19 + .../service/iot_hub/DeviceUpdateRequest.java | 61 ++ .../service/iot_hub/DeviceUpdateResult.java | 37 + .../service/iot_hub/EntityChecksum.java | 110 +++ .../server/service/iot_hub/IotHubService.java | 2 - ...DefaultDevicePackageUpdateServiceTest.java | 376 ++++++++ .../iot_hub/DefaultIotHubServiceTest.java | 40 - .../src/app/core/http/iot-hub-api.service.ts | 26 +- .../device-install-dialog.component.html | 186 +++- .../device-install-dialog.component.scss | 84 ++ .../device-install-dialog.component.ts | 808 +++++++++++++++--- .../iot-hub/iot-hub-actions.service.ts | 10 +- .../models/iot-hub/device-package.models.ts | 3 +- .../iot-hub/iot-hub-installed-item.models.ts | 43 + .../assets/locale/locale.constant-en_US.json | 14 + 20 files changed, 2591 insertions(+), 229 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntities.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntityState.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageUpdateService.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateResult.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java create mode 100644 application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index e5388bd28b..b6d01d3342 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -38,6 +38,10 @@ import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.security.system.ResolvedBaseUrl; import org.thingsboard.server.service.security.system.SystemSecurityService; +import org.thingsboard.server.service.iot_hub.DevicePackageEntityState; +import org.thingsboard.server.service.iot_hub.DevicePackageUpdateService; +import org.thingsboard.server.service.iot_hub.DeviceUpdateRequest; +import org.thingsboard.server.service.iot_hub.DeviceUpdateResult; import org.thingsboard.server.service.iot_hub.InstalledItemKeptEntities; import org.thingsboard.server.service.iot_hub.InstallItemVersionResult; import org.thingsboard.server.service.iot_hub.InstallPlan; @@ -54,6 +58,7 @@ import org.thingsboard.server.service.iot_hub.IotHubService; public class IotHubController extends BaseController { private final IotHubService iotHubService; + private final DevicePackageUpdateService devicePackageUpdateService; private final IotHubInstalledItemService iotHubInstalledItemService; private final DeviceConnectivityService deviceConnectivityService; private final SystemSecurityService systemSecurityService; @@ -92,16 +97,29 @@ public class IotHubController extends BaseController { @ResponseBody public InstallItemVersionResult registerDeviceInstall( @RequestParam String versionId, - @RequestParam(required = false) UUID installedItemId, @RequestBody JsonNode body) throws ThingsboardException { checkAllPermissions(); DeviceInstalledItemDescriptor descriptor = JacksonUtil.treeToValue(body, DeviceInstalledItemDescriptor.class); - if (installedItemId != null) { - return iotHubService.registerDeviceUpdate(getCurrentUser(), new IotHubInstalledItemId(installedItemId), versionId, descriptor); - } return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor); } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @GetMapping("/installedItems/{installedItemId}/deviceUpdate/check") + @ResponseBody + public List checkDeviceUpdate(@PathVariable UUID installedItemId) throws ThingsboardException { + checkAllPermissions(); + return devicePackageUpdateService.check(getCurrentUser(), new IotHubInstalledItemId(installedItemId)); + } + + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @PostMapping("/installedItems/{installedItemId}/deviceUpdate") + @ResponseBody + public DeviceUpdateResult updateDevicePackage(@PathVariable UUID installedItemId, + @RequestBody DeviceUpdateRequest request) throws ThingsboardException { + checkAllPermissions(); + return devicePackageUpdateService.apply(getCurrentUser(), new IotHubInstalledItemId(installedItemId), request); + } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/installedItems/{installedItemId}/update/{versionId}") @ResponseBody diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java new file mode 100644 index 0000000000..1e6d3f776d --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -0,0 +1,789 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import com.fasterxml.jackson.databind.node.TextNode; +import com.google.gson.JsonParser; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; +import org.springframework.transaction.support.TransactionTemplate; +import org.springframework.web.client.RestClientException; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.AttributesSaveRequest; +import org.thingsboard.server.common.adaptor.JsonConverter; +import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.Dashboard; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.DeviceProfile; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.HasName; +import org.thingsboard.server.common.data.HasTenantId; +import org.thingsboard.server.common.data.HasVersion; +import org.thingsboard.server.common.data.audit.ActionType; +import org.thingsboard.server.common.data.converter.Converter; +import org.thingsboard.server.common.data.converter.ConverterType; +import org.thingsboard.server.common.data.exception.EntityVersionMismatchException; +import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; +import org.thingsboard.server.common.data.exception.ThingsboardException; +import org.thingsboard.server.common.data.id.ConverterId; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.IotHubInstalledItemId; +import org.thingsboard.server.common.data.id.RuleChainId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; +import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; +import org.thingsboard.server.common.data.kv.AttributeKvEntry; +import org.thingsboard.server.common.data.rule.RuleChain; +import org.thingsboard.server.common.data.rule.RuleChainMetaData; +import org.thingsboard.server.common.data.security.DeviceCredentials; +import org.thingsboard.server.common.data.security.DeviceCredentialsType; +import org.thingsboard.server.dao.attributes.AttributesService; +import org.thingsboard.server.dao.converter.ConverterService; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceCredentialsService; +import org.thingsboard.server.dao.device.DeviceProfileService; +import org.thingsboard.server.dao.device.DeviceService; +import org.thingsboard.server.dao.entity.EntityService; +import org.thingsboard.server.dao.integration.IntegrationService; +import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; +import org.thingsboard.server.dao.rule.RuleChainService; +import org.thingsboard.server.dao.secret.SecretConfigurationService; +import org.thingsboard.server.exception.DataValidationException; +import org.thingsboard.server.exception.EntitiesLimitExceededException; +import org.thingsboard.server.queue.util.TbCoreComponent; +import org.thingsboard.server.service.entitiy.AbstractTbEntityService; +import org.thingsboard.server.service.integration.IntegrationManagerService; +import org.thingsboard.server.service.rule.TbRuleChainService; +import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.telemetry.TelemetrySubscriptionService; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** + * Applies an update of an installed device package in one transaction. The install wizard resolves the templates + * of the new version (the same way it installs them) and sends the entity of each step; this service checks the + * plan, saves every entity and the new version of the installed item together, and rolls all of it back on a + * failure. The side effects of the saves (actors, integration restart, edge, caches) run after commit, so a + * rollback leaves no trace; the audit log, version control and the attributes, which aren't transactional, + * are written after commit too. + */ +@Service +@TbCoreComponent +@Slf4j +@RequiredArgsConstructor +public class DefaultDevicePackageUpdateService extends AbstractTbEntityService implements DevicePackageUpdateService { + + // Step type of the package -> the alias its templates refer to it by, e.g. ${deviceProfile.id} + private static final Map STEP_ALIASES = Map.of( + "DEVICE_PROFILE", "deviceProfile", + "DEVICE", "device", + "GATEWAY", "gateway", + "DASHBOARD", "dashboard", + "RULE_CHAIN", "ruleChain", + "UPLINK_CONVERTER", "uplinkConverter", + "DOWNLINK_CONVERTER", "downlinkConverter", + "INTEGRATION", "integration"); + private static final Pattern ENTITY_PLACEHOLDER = Pattern.compile("\\$\\{([A-Za-z]+)\\.([A-Za-z]+)}"); + private static final int INTEGRATION_VALIDATION_TIMEOUT_SEC = 20; + private static final String UNEXPECTED_ERROR = "Failed to update the device package"; + + private final IotHubInstalledItemService installedItemService; + private final IotHubRestClient iotHubRestClient; + private final IotHubService iotHubService; + private final DevicePackageEntities packageEntities; + private final DeviceProfileService deviceProfileService; + private final DeviceService deviceService; + private final DeviceCredentialsService deviceCredentialsService; + private final DashboardService dashboardService; + private final RuleChainService ruleChainService; + private final TbRuleChainService tbRuleChainService; + private final ConverterService converterService; + private final IntegrationService integrationService; + private final IntegrationManagerService integrationManagerService; + private final SecretConfigurationService secretConfigurationService; + private final AttributesService attributesService; + private final TelemetrySubscriptionService telemetryService; + private final TransactionTemplate transactionTemplate; + + @Override + public List check(SecurityUser user, IotHubInstalledItemId installedItemId) { + TenantId tenantId = user.getTenantId(); + DeviceInstalledItemDescriptor descriptor = findDevicePackage(tenantId, installedItemId).descriptor(); + Set sharedIds = new HashSet<>(); + iotHubService.findKeptEntities(tenantId, installedItemId).getEntities().forEach(e -> sharedIds.add(e.getEntityId().getId())); + Map createdIds = createdIds(descriptor); + + List states = new ArrayList<>(); + if (descriptor.getInstallState() == null) { + return states; + } + descriptor.getInstallState().forEach((stepName, state) -> { + EntityId entityId = DevicePackageEntities.entityIdOf(state, createdIds); + if (entityId == null || !DevicePackageEntities.CHECKSUM_TYPES.contains(entityId.getEntityType())) { + return; + } + DevicePackageEntities.Snapshot snapshot = packageEntities.load(tenantId, entityId); + JsonNode storedChecksum = state.get("checksum"); + Boolean modified = snapshot == null || storedChecksum == null || !storedChecksum.isTextual() ? null : + !storedChecksum.asText().equals(snapshot.checksum()); + states.add(new DevicePackageEntityState(stepName, entityId, snapshot != null, + snapshot != null ? snapshot.version() : null, modified, sharedIds.contains(entityId.getId()))); + }); + return states; + } + + @Override + public DeviceUpdateResult apply(SecurityUser user, IotHubInstalledItemId installedItemId, DeviceUpdateRequest request) { + TenantId tenantId = user.getTenantId(); + log.info("[{}] Updating device package {} to version {}", tenantId, installedItemId, request.getVersionId()); + Applied applied; + try { + DevicePackage devicePackage = findDevicePackage(tenantId, installedItemId); + JsonNode versionInfo = iotHubRestClient.getVersionInfo(request.getVersionId()); + if (versionInfo == null || !devicePackage.installedItem().getItemId().toString().equals(versionInfo.path("itemId").asText())) { + throw new IllegalArgumentException("The version belongs to another item"); + } + validatePlan(devicePackage, request); + validateIntegrations(tenantId, request); + applied = transactionTemplate.execute(status -> applySteps(tenantId, devicePackage, request, versionInfo)); + } catch (StepFailure e) { + log.warn("[{}] Device package update of {} failed on step [{}], nothing was changed", tenantId, installedItemId, e.stepName, e.getCause()); + return DeviceUpdateResult.error(userMessage(e.getCause()), e.stepName); + } catch (RestClientException e) { + log.error("[{}] IoT Hub request failed while updating device package {}", tenantId, installedItemId, e); + return DeviceUpdateResult.error("IoT Hub is unavailable. Try again later.", null); + } catch (Exception e) { + log.warn("[{}] Device package update of {} failed, nothing was changed", tenantId, installedItemId, e); + return DeviceUpdateResult.error(userMessage(e), null); + } + afterCommit(user, tenantId, applied); + log.info("[{}] Updated device package {} to version {}", tenantId, installedItemId, request.getVersionId()); + return DeviceUpdateResult.success(applied.descriptor(), applied.outputs()); + } + + private DevicePackage findDevicePackage(TenantId tenantId, IotHubInstalledItemId installedItemId) { + IotHubInstalledItem installedItem = installedItemService.findById(tenantId, installedItemId); + if (installedItem == null || !"DEVICE".equals(installedItem.getItemType()) + || !(installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor descriptor)) { + throw new IllegalArgumentException("Installed device package not found"); + } + return new DevicePackage(installedItem, descriptor); + } + + /** + * The update may only change what the package owns, or what the user confirmed. The device and the gateway, + * whose credentials the firmware uses, are never changed. + */ + private void validatePlan(DevicePackage devicePackage, DeviceUpdateRequest request) { + if (request.getSteps() == null || request.getSteps().isEmpty()) { + throw new IllegalArgumentException("The update has no steps"); + } + Set ownedIds = createdIds(devicePackage.descriptor()).keySet(); + for (DeviceUpdateRequest.Step step : request.getSteps()) { + if (step.getName() == null || step.getAction() == null || !isKnownType(step.getType())) { + throw new IllegalArgumentException("Invalid update step: " + step.getName()); + } + boolean deviceOrGateway = "DEVICE".equals(step.getType()) || "GATEWAY".equals(step.getType()); + switch (step.getAction()) { + case KEEP, OVERWRITE -> { + if (step.getEntityId() == null && !"GATEWAY_CONNECTOR".equals(step.getType())) { + throw new IllegalArgumentException("No entity for update step: " + step.getName()); + } + boolean owned = step.getEntityId() != null && ownedIds.contains(step.getEntityId()); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE && !owned && !step.isConfirmed() + && !"GATEWAY_CONNECTOR".equals(step.getType())) { + throw new IllegalArgumentException("Overwriting an entity of another package needs a confirmation: " + step.getName()); + } + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE && deviceOrGateway && owned) { + throw new IllegalArgumentException("The device and its credentials don't change on update"); + } + } + case CREATE -> { + } + } + if (step.getAction() != DeviceUpdateRequest.Action.KEEP && (step.getEntity() == null || !step.getEntity().isObject())) { + throw new IllegalArgumentException("No entity data for update step: " + step.getName()); + } + } + } + + /** The configuration of an integration is checked by a remote call, so before the transaction. */ + private void validateIntegrations(TenantId tenantId, DeviceUpdateRequest request) throws Exception { + for (DeviceUpdateRequest.Step step : request.getSteps()) { + if (!"INTEGRATION".equals(step.getType()) || step.getAction() == DeviceUpdateRequest.Action.KEEP) { + continue; + } + ObjectNode body = step.getEntity().deepCopy(); + // Converters this update creates have no id yet; the configuration doesn't depend on them + body.remove(List.of("id", "defaultConverterId", "downlinkConverterId")); + Integration integration = JacksonUtil.treeToValue(body, Integration.class); + integration.setTenantId(tenantId); + if (integration.isEdgeTemplate()) { + continue; + } + try { + secretConfigurationService.replaceSecretUsages(tenantId, integration.getConfiguration()); + integrationManagerService.validateIntegrationConfiguration(integration).get(INTEGRATION_VALIDATION_TIMEOUT_SEC, TimeUnit.SECONDS); + } catch (ExecutionException e) { + // What the integration reports, e.g. wrong credentials, is what the user has to fix + Throwable cause = e.getCause() != null ? e.getCause() : e; + throw new StepFailure(step.getName(), new IllegalArgumentException(cause.getMessage(), cause)); + } catch (TimeoutException e) { + throw new StepFailure(step.getName(), new IllegalStateException("Timeout to validate the integration configuration")); + } + } + } + + private Applied applySteps(TenantId tenantId, DevicePackage devicePackage, DeviceUpdateRequest request, JsonNode versionInfo) { + DeviceInstalledItemDescriptor previous = devicePackage.descriptor(); + Map aliasOutputs = new HashMap<>(); + Map outputs = new LinkedHashMap<>(); + Map installState = new LinkedHashMap<>(); + if (request.getInstallState() != null) { + request.getInstallState().forEach((key, value) -> { + if (value != null && value.has("formValues")) { + installState.put(key, JacksonUtil.newObjectNode().set("formValues", value.get("formValues"))); + } + }); + } + List stepEntityIds = new ArrayList<>(); + List saved = new ArrayList<>(); + List afterCommitSteps = new ArrayList<>(); + DashboardId dashboardId = null; + + for (DeviceUpdateRequest.Step step : request.getSteps()) { + try { + if ("GATEWAY_CONNECTOR".equals(step.getType())) { + // A connector lives in the gateway's attributes, which aren't transactional: saved after commit + if (step.getAction() != DeviceUpdateRequest.Action.KEEP) { + DeviceUpdateRequest.Step resolved = copyWithEntity(step, resolvePlaceholders(step.getEntity(), aliasOutputs)); + afterCommitSteps.add(resolved); + } + continue; + } + JsonNode entity = step.getEntity() != null ? resolvePlaceholders(step.getEntity(), aliasOutputs) : null; + StepResult result = applyStep(tenantId, step, entity); + ObjectNode output = result.output(); + aliasOutputs.put(STEP_ALIASES.get(step.getType()), output); + outputs.put(step.getName(), output); + ObjectNode state = JacksonUtil.newObjectNode(); + state.set("entityOutput", output); + state.put("resolution", step.getResolution() != null ? step.getResolution() : "created"); + // A kept entity keeps the checksum of what the package left: the current one would take the + // user's changes for the package's, and the next update would overwrite them without a warning + String checksum = step.getAction() == DeviceUpdateRequest.Action.KEEP ? previousChecksum(previous, step.getName()) : result.checksum(); + if (checksum != null) { + state.put("checksum", checksum); + } + installState.put(step.getName(), state); + if (!"use-existing".equals(step.getResolution())) { + stepEntityIds.add(result.entityId()); + } + if (result.entityId() instanceof DashboardId id) { + dashboardId = id; + } + if (result.saved() != null) { + saved.add(result.saved()); + } + if (step.getAction() == DeviceUpdateRequest.Action.CREATE && ("DEVICE".equals(step.getType()) || "GATEWAY".equals(step.getType()))) { + // Its attributes are saved after commit, once the device exists + DeviceUpdateRequest.Step created = copyWithEntity(step, null); + created.setEntityId(result.entityId().getId()); + afterCommitSteps.add(created); + } + } catch (StepFailure e) { + throw e; + } catch (Exception e) { + throw new StepFailure(step.getName(), e); + } + } + + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + // The new version may not offer the method the package was installed with + descriptor.setSelectedInstallMethod(request.getSelectedInstallMethod() != null ? request.getSelectedInstallMethod() : previous.getSelectedInstallMethod()); + descriptor.setCreatedEntityIds(createdEntityIds(tenantId, previous, stepEntityIds)); + descriptor.setDashboardId(dashboardId != null ? dashboardId : existingDashboard(tenantId, previous)); + Map state = new LinkedHashMap<>(installState); + descriptor.setInstallState(state); + + IotHubInstalledItem installedItem = devicePackage.installedItem(); + installedItem.setItemVersionId(UUID.fromString(request.getVersionId())); + installedItem.setItemName(versionInfo.get("name").asText()); + installedItem.setVersion(versionInfo.get("version").asText()); + installedItem.setDescriptor(descriptor); + installedItemService.save(tenantId, installedItem); + return new Applied(descriptor, outputs, saved, afterCommitSteps, aliasOutputs); + } + + private StepResult applyStep(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) throws ThingsboardException { + return switch (step.getType()) { + case "DEVICE_PROFILE" -> saveDeviceProfile(tenantId, step, entity); + case "DEVICE", "GATEWAY" -> saveDevice(tenantId, step, entity); + case "DASHBOARD" -> saveDashboard(tenantId, step, entity); + case "RULE_CHAIN" -> saveRuleChain(tenantId, step, entity); + case "UPLINK_CONVERTER", "DOWNLINK_CONVERTER" -> saveConverter(tenantId, step, entity); + case "INTEGRATION" -> saveIntegration(tenantId, step, entity); + default -> throw new IllegalArgumentException("Unsupported step type: " + step.getType()); + }; + } + + private StepResult saveDeviceProfile(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + DeviceProfileId id = step.getEntityId() != null ? new DeviceProfileId(step.getEntityId()) : null; + DeviceProfile current = id != null ? deviceProfileService.findDeviceProfileById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return kept(id, current.getName()); + } + DeviceProfile profile = JacksonUtil.treeToValue(entity, DeviceProfile.class); + profile.setTenantId(tenantId); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(profile, id, current, step); + // The tenant's default profile stays the default one + profile.setDefault(current.isDefault()); + } else { + profile.setId(null); + profile.setVersion(null); + } + DeviceProfile result = deviceProfileService.saveDeviceProfile(profile); + return savedResult(tenantId, result.getId(), result, step, output(result.getId(), result.getName())); + } + + private StepResult saveDevice(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + DeviceId id = step.getEntityId() != null ? new DeviceId(step.getEntityId()) : null; + Device device; + boolean created = false; + if (step.getAction() == DeviceUpdateRequest.Action.CREATE) { + Device template = JacksonUtil.treeToValue(entity, Device.class); + template.setTenantId(tenantId); + template.setId(null); + template.setVersion(null); + device = deviceService.saveDevice(template); + created = true; + } else { + Device current = id != null ? deviceService.findDeviceById(tenantId, id) : null; + device = existing(tenantId, current, step); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + // Another device the user chose to overwrite; the package's own device never changes + Device template = JacksonUtil.treeToValue(entity, Device.class); + template.setTenantId(tenantId); + prepareOverwrite(template, id, current, step); + device = deviceService.saveDevice(template); + created = true; + } + } + DeviceCredentials credentials = deviceCredentialsService.findDeviceCredentialsByDeviceId(tenantId, device.getId()); + if (created && step.getCredentials() != null && step.getCredentials().isObject()) { + credentials = applyCredentials(tenantId, credentials, step.getCredentials()); + } + ObjectNode output = output(device.getId(), device.getName()); + if (credentials != null) { + output.put("token", credentials.getCredentialsId()); + } + if ("GATEWAY".equals(step.getType())) { + output.put("dockerComposeUrl", "/api/device-connectivity/gateway-launch/" + device.getId().getId() + "/docker-compose/download"); + } + SavedEntity saved = created ? new SavedEntity(device.getId(), device, step.getAction() == DeviceUpdateRequest.Action.CREATE) : null; + return new StepResult(device.getId(), output, null, saved); + } + + private DeviceCredentials applyCredentials(TenantId tenantId, DeviceCredentials credentials, JsonNode template) { + JsonNode type = template.get("credentialsType"); + if (type != null && type.isTextual()) { + credentials.setCredentialsType(DeviceCredentialsType.valueOf(type.asText())); + } + JsonNode value = template.get("credentialsValue"); + if (value != null && !value.isNull()) { + credentials.setCredentialsValue(value.isTextual() ? value.asText() : value.toString()); + } + JsonNode credentialsId = template.get("credentialsId"); + if (credentialsId != null && credentialsId.isTextual()) { + credentials.setCredentialsId(credentialsId.asText()); + } + return deviceCredentialsService.updateDeviceCredentials(tenantId, credentials); + } + + private StepResult saveDashboard(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + DashboardId id = step.getEntityId() != null ? new DashboardId(step.getEntityId()) : null; + Dashboard current = id != null ? dashboardService.findDashboardById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return kept(id, current.getTitle()); + } + Dashboard dashboard = JacksonUtil.treeToValue(entity, Dashboard.class); + dashboard.setTenantId(tenantId); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(dashboard, id, current, step); + // The dashboard keeps its owner and the customers it is assigned to + if (dashboard.getCustomerId() == null) { + dashboard.setCustomerId(current.getCustomerId()); + } + dashboard.setAssignedCustomers(current.getAssignedCustomers()); + } else { + dashboard.setId(null); + dashboard.setVersion(null); + } + Dashboard result = dashboardService.saveDashboard(dashboard); + return savedResult(tenantId, result.getId(), result, step, output(result.getId(), result.getTitle())); + } + + private StepResult saveRuleChain(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) throws ThingsboardException { + RuleChainId id = step.getEntityId() != null ? new RuleChainId(step.getEntityId()) : null; + RuleChain current = id != null ? ruleChainService.findRuleChainById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return kept(id, current.getName()); + } + JsonNode ruleChainJson = entity.has("ruleChain") ? entity.get("ruleChain") : entity; + RuleChain ruleChain = JacksonUtil.treeToValue(ruleChainJson, RuleChain.class); + ruleChain.setTenantId(tenantId); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(ruleChain, id, current, step); + // A rule chain the tenant made its root one stays the root + ruleChain.setRoot(current.isRoot()); + } else { + ruleChain.setId(null); + ruleChain.setVersion(null); + ruleChain.setRoot(false); + } + RuleChain result = ruleChainService.saveRuleChain(ruleChain); + if (entity.has("metadata") && entity.get("metadata").isObject()) { + RuleChainMetaData metadata = JacksonUtil.treeToValue(entity.get("metadata"), RuleChainMetaData.class); + metadata.setRuleChainId(result.getId()); + metadata.setVersion(result.getVersion()); + if (!ruleChainService.saveRuleChainMetaData(tenantId, metadata, tbRuleChainService::updateRuleNodeConfiguration).isSuccess()) { + throw new IllegalStateException("Failed to save the rule chain metadata"); + } + result = ruleChainService.findRuleChainById(tenantId, result.getId()); + } + return savedResult(tenantId, result.getId(), result, step, output(result.getId(), result.getName())); + } + + private StepResult saveConverter(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + ConverterId id = step.getEntityId() != null ? new ConverterId(step.getEntityId()) : null; + Converter current = id != null ? converterService.findConverterById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return kept(id, current.getName()); + } + Converter converter = JacksonUtil.treeToValue(entity, Converter.class); + converter.setTenantId(tenantId); + converter.setType("UPLINK_CONVERTER".equals(step.getType()) ? ConverterType.UPLINK : ConverterType.DOWNLINK); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(converter, id, current, step); + } else { + converter.setId(null); + converter.setVersion(null); + } + Converter result = converterService.saveConverter(converter); + return savedResult(tenantId, result.getId(), result, step, output(result.getId(), result.getName())); + } + + private StepResult saveIntegration(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + IntegrationId id = step.getEntityId() != null ? new IntegrationId(step.getEntityId()) : null; + Integration current = id != null ? integrationService.findIntegrationById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return new StepResult(id, integrationOutput(current), null, null); + } + Integration integration = JacksonUtil.treeToValue(entity, Integration.class); + integration.setTenantId(tenantId); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(integration, id, current, step); + // The devices keep sending to the same endpoint + integration.setRoutingKey(current.getRoutingKey()); + } else { + integration.setId(null); + integration.setVersion(null); + if (integration.getRoutingKey() == null) { + integration.setRoutingKey(UUID.randomUUID().toString()); + } + } + Integration result = integrationService.saveIntegration(integration); + return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); + } + + /** + * The overwritten entity keeps its id and its current name (the user may have renamed it). The version the + * user reviewed makes the save fail if someone changed the entity since. + */ + private void prepareOverwrite(Object entity, EntityId id, Object current, DeviceUpdateRequest.Step step) { + switch (entity) { + case DeviceProfile p -> { p.setId((DeviceProfileId) id); p.setName(((DeviceProfile) current).getName()); } + case Device d -> { d.setId((DeviceId) id); d.setName(((Device) current).getName()); } + case Dashboard d -> { d.setId((DashboardId) id); d.setTitle(((Dashboard) current).getTitle()); } + case RuleChain r -> { r.setId((RuleChainId) id); r.setName(((RuleChain) current).getName()); } + case Converter c -> { c.setId((ConverterId) id); c.setName(((Converter) current).getName()); } + case Integration i -> { i.setId((IntegrationId) id); i.setName(((Integration) current).getName()); } + default -> throw new IllegalArgumentException("Unsupported entity: " + entity.getClass().getSimpleName()); + } + Long currentVersion = ((HasVersion) current).getVersion(); + if (step.getExpectedVersion() != null && !step.getExpectedVersion().equals(currentVersion)) { + throw new EntityVersionMismatchException(id.getEntityType(), null); + } + ((HasVersion) entity).setVersion(currentVersion); + } + + private T existing(TenantId tenantId, T current, DeviceUpdateRequest.Step step) { + if (current == null || !tenantId.equals(((HasTenantId) current).getTenantId())) { + throw new IllegalArgumentException(step.getName() + " was deleted. Check the update again."); + } + return current; + } + + private StepResult kept(EntityId id, String name) { + return new StepResult(id, output(id, name), null, null); + } + + private static String previousChecksum(DeviceInstalledItemDescriptor previous, String stepName) { + JsonNode checksum = previous.getInstallState() != null && previous.getInstallState().get(stepName) != null ? + previous.getInstallState().get(stepName).get("checksum") : null; + return checksum != null && checksum.isTextual() ? checksum.asText() : null; + } + + /** + * The checksum is of the entity the save returned: a profile or an integration read back by id inside the + * transaction may come from the cache, which is evicted only after commit. A rule chain is read back with + * its metadata, which isn't cached. + */ + private StepResult savedResult(TenantId tenantId, EntityId id, Object entity, DeviceUpdateRequest.Step step, ObjectNode output) { + String checksum = entity instanceof RuleChain ? packageEntities.checksum(tenantId, id) : EntityChecksum.of(entity); + return new StepResult(id, output, checksum, new SavedEntity(id, entity, step.getAction() == DeviceUpdateRequest.Action.CREATE)); + } + + private static ObjectNode output(EntityId id, String name) { + ObjectNode output = JacksonUtil.newObjectNode(); + output.put("id", id.getId().toString()); + output.put("name", name); + return output; + } + + /** With what the install instructions resolve: ${integration.routingKey}, ${integration.httpEndpoint}, ${integration.baseUrl}. */ + private static ObjectNode integrationOutput(Integration integration) { + ObjectNode output = output(integration.getId(), integration.getName()); + output.put("routingKey", integration.getRoutingKey()); + JsonNode configuration = integration.getConfiguration() != null ? integration.getConfiguration() : JacksonUtil.newObjectNode(); + JsonNode client = configuration.path("clientConfiguration"); + putText(output, "httpEndpoint", client.path("httpEndpoint"), configuration.path("httpEndpoint")); + putText(output, "baseUrl", client.path("baseUrl"), configuration.path("baseUrl")); + return output; + } + + private static void putText(ObjectNode output, String key, JsonNode first, JsonNode second) { + JsonNode value = first.isTextual() ? first : second; + if (value.isTextual()) { + output.put(key, value.asText()); + } + } + + /** Replaces ${.} of entities this update has saved, e.g. the id of a converter it created. */ + static JsonNode resolvePlaceholders(JsonNode node, Map aliasOutputs) { + if (node == null) { + return null; + } + if (node.isTextual()) { + String text = node.asText(); + Matcher matcher = ENTITY_PLACEHOLDER.matcher(text); + StringBuilder resolved = new StringBuilder(); + boolean changed = false; + while (matcher.find()) { + ObjectNode output = aliasOutputs.get(matcher.group(1)); + JsonNode value = output != null ? output.get(matcher.group(2)) : null; + String replacement = value != null && !value.isNull() ? value.asText() : matcher.group(); + changed |= value != null && !value.isNull(); + matcher.appendReplacement(resolved, Matcher.quoteReplacement(replacement)); + } + matcher.appendTail(resolved); + return changed ? TextNode.valueOf(resolved.toString()) : node; + } + if (node.isObject()) { + ObjectNode copy = JacksonUtil.newObjectNode(); + for (Iterator> it = node.fields(); it.hasNext(); ) { + Map.Entry field = it.next(); + copy.set(field.getKey(), resolvePlaceholders(field.getValue(), aliasOutputs)); + } + return copy; + } + if (node.isArray()) { + ArrayNode copy = JacksonUtil.newArrayNode(); + node.forEach(item -> copy.add(resolvePlaceholders(item, aliasOutputs))); + return copy; + } + return node; + } + + /** + * The ids the package tracks: the entities of this version's steps, and those of the installed version this one + * no longer uses, so deleting the package still deletes them. Entities deleted since are dropped. + */ + private List createdEntityIds(TenantId tenantId, DeviceInstalledItemDescriptor previous, List stepEntityIds) { + List ids = new ArrayList<>(stepEntityIds); + Set known = new HashSet<>(); + ids.forEach(id -> known.add(id.getId())); + if (previous.getCreatedEntityIds() != null) { + for (EntityId id : previous.getCreatedEntityIds()) { + if (known.add(id.getId()) && entityService.fetchEntity(tenantId, id).isPresent()) { + ids.add(id); + } + } + } + return ids; + } + + private DashboardId existingDashboard(TenantId tenantId, DeviceInstalledItemDescriptor previous) { + DashboardId id = previous.getDashboardId(); + return id != null && dashboardService.findDashboardById(tenantId, id) != null ? id : null; + } + + /** What isn't transactional: the audit log, version control and attributes. A failure here doesn't undo the update. */ + private void afterCommit(SecurityUser user, TenantId tenantId, Applied applied) { + for (SavedEntity saved : applied.saved()) { + try { + logEntityActionService.logEntityAction(tenantId, saved.id(), (HasName) saved.entity(), + saved.created() ? ActionType.ADDED : ActionType.UPDATED, user); + if (saved.id().getEntityType() != EntityType.DEVICE) { + autoCommit(user, saved.id()); + } + } catch (Exception e) { + log.warn("[{}] Failed to log the device package update of {}", tenantId, saved.id(), e); + } + } + for (DeviceUpdateRequest.Step step : applied.afterCommitSteps()) { + try { + if ("GATEWAY_CONNECTOR".equals(step.getType())) { + saveConnector(tenantId, applied.aliasOutputs().get("gateway"), step.getEntity()); + } else { + DeviceId deviceId = new DeviceId(step.getEntityId()); + saveAttributes(tenantId, deviceId, AttributeScope.SERVER_SCOPE, step.getServerAttributes()); + saveAttributes(tenantId, deviceId, AttributeScope.SHARED_SCOPE, step.getSharedAttributes()); + } + } catch (Exception e) { + log.warn("[{}] Failed to save the attributes of device package step [{}]", tenantId, step.getName(), e); + } + } + } + + private void saveConnector(TenantId tenantId, ObjectNode gateway, JsonNode connector) throws Exception { + if (gateway == null || connector == null || !connector.has("name")) { + return; + } + DeviceId gatewayId = new DeviceId(UUID.fromString(gateway.get("id").asText())); + String name = connector.get("name").asText(); + List active = new ArrayList<>(); + for (AttributeKvEntry entry : attributesService.find(tenantId, gatewayId, AttributeScope.SHARED_SCOPE, List.of("active_connectors")).get()) { + JsonNode value = JacksonUtil.toJsonNode(entry.getValueAsString()); + if (value != null && value.isArray()) { + value.forEach(v -> active.add(v.asText())); + } + } + if (!active.contains(name)) { + active.add(name); + } + ObjectNode attributes = JacksonUtil.newObjectNode(); + attributes.set("active_connectors", JacksonUtil.valueToTree(active)); + attributes.set(name, connector); + saveAttributes(tenantId, gatewayId, AttributeScope.SHARED_SCOPE, attributes); + } + + private void saveAttributes(TenantId tenantId, EntityId entityId, AttributeScope scope, JsonNode attributes) { + if (attributes == null || !attributes.isObject() || attributes.isEmpty()) { + return; + } + List entries = JsonConverter.convertToAttributes(JsonParser.parseString(attributes.toString())); + telemetryService.saveAttributes(AttributesSaveRequest.builder() + .tenantId(tenantId) + .entityId(entityId) + .scope(scope) + .entries(entries) + .build()); + } + + /** + * The message the wizard shows: the ones validation and limits give, as they are; anything else, e.g. a database + * error, as a common message, with the details in the log. + */ + static String userMessage(Throwable e) { + if (e instanceof EntityVersionMismatchException) { + return "Someone changed it while you were reviewing the update. Check the update again."; + } + if (e instanceof DataValidationException || e instanceof EntitiesLimitExceededException || e instanceof IllegalArgumentException) { + return e.getMessage(); + } + if (e instanceof ThingsboardException te && te.getErrorCode() != ThingsboardErrorCode.GENERAL) { + return te.getMessage(); + } + return UNEXPECTED_ERROR; + } + + private static boolean isKnownType(String type) { + return type != null && (STEP_ALIASES.containsKey(type) || "GATEWAY_CONNECTOR".equals(type)); + } + + private static Map createdIds(DeviceInstalledItemDescriptor descriptor) { + Map ids = new HashMap<>(); + if (descriptor.getCreatedEntityIds() != null) { + descriptor.getCreatedEntityIds().forEach(id -> ids.put(id.getId(), id)); + } + return ids; + } + + private static DeviceUpdateRequest.Step copyWithEntity(DeviceUpdateRequest.Step step, JsonNode entity) { + DeviceUpdateRequest.Step copy = JacksonUtil.treeToValue(JacksonUtil.valueToTree(step), DeviceUpdateRequest.Step.class); + if (entity != null) { + copy.setEntity(entity); + } + return copy; + } + + private record DevicePackage(IotHubInstalledItem installedItem, DeviceInstalledItemDescriptor descriptor) { + } + + private record StepResult(EntityId entityId, ObjectNode output, String checksum, SavedEntity saved) { + } + + private record SavedEntity(EntityId id, Object entity, boolean created) { + } + + private record Applied(DeviceInstalledItemDescriptor descriptor, Map outputs, List saved, + List afterCommitSteps, Map aliasOutputs) { + } + + /** A step that failed: the transaction rolls back, and the wizard shows which step it was. */ + private static class StepFailure extends RuntimeException { + + private final String stepName; + + StepFailure(String stepName, Throwable cause) { + super(cause.getMessage(), cause); + this.stepName = stepName; + } + + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 6f0f9db86f..dcc569b481 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -133,6 +133,7 @@ public class DefaultIotHubService implements IotHubService { private final ConverterService converterService; private final TbConverterService tbConverterService; private final ProjectInfo projectInfo; + private final DevicePackageEntities devicePackageEntities; // Field names of the marketplace version JSON payload. Both the install path and the // install-plan resolver parse the same shape, so the contract lives here in one place. @@ -417,7 +418,7 @@ public class DefaultIotHubService implements IotHubService { String itemType = installedItem.getItemType(); if ("DEVICE".equals(itemType)) { - // The install wizard of the new version changes the package's entities in place, see registerDeviceUpdate + // Updated in one transaction from the install wizard of the new version, see DevicePackageUpdateService throw new IllegalArgumentException("A device package is updated by the install wizard of the new version"); } IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor(); @@ -677,6 +678,8 @@ public class DefaultIotHubService implements IotHubService { installedItem.setItemName(itemName); installedItem.setItemType("DEVICE"); installedItem.setVersion(version); + // So that an update can tell whether someone changed an entity since + devicePackageEntities.addChecksums(tenantId, descriptor); installedItem.setDescriptor(descriptor); try { iotHubInstalledItemService.save(tenantId, installedItem); @@ -708,41 +711,6 @@ public class DefaultIotHubService implements IotHubService { } } - @Override - public InstallItemVersionResult registerDeviceUpdate(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, - DeviceInstalledItemDescriptor descriptor) { - TenantId tenantId = user.getTenantId(); - log.info("[{}] Registering device package update of {} to version: {}", tenantId, installedItemId, versionId); - - try { - IotHubInstalledItem installedItem = iotHubInstalledItemService.findById(tenantId, installedItemId); - if (installedItem == null || !"DEVICE".equals(installedItem.getItemType())) { - throw new IllegalArgumentException("Installed device package not found"); - } - - JsonNode versionInfo = iotHubRestClient.getVersionInfo(versionId); - if (versionInfo == null) { - throw new IllegalArgumentException("Failed to get version info from IoT Hub"); - } - if (!installedItem.getItemId().toString().equals(versionInfo.get("itemId").asText())) { - throw new IllegalArgumentException("The version belongs to another item"); - } - - // The wizard has already changed the entities in place: a failure here must not delete them - installedItem.setItemVersionId(UUID.fromString(versionId)); - installedItem.setItemName(versionInfo.get("name").asText()); - installedItem.setVersion(versionInfo.get("version").asText()); - installedItem.setDescriptor(descriptor); - iotHubInstalledItemService.save(tenantId, installedItem); - log.info("[{}] Registered device package update: {} (version {})", tenantId, installedItem.getItemName(), installedItem.getVersion()); - - return InstallItemVersionResult.success(descriptor); - } catch (Exception e) { - log.error("[{}] Failed to register device package update of {} to version: {}", tenantId, installedItemId, versionId, e); - return InstallItemVersionResult.error(e.getMessage()); - } - } - /** * Deletes what a device package created, except the entities another installed device package * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntities.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntities.java new file mode 100644 index 0000000000..37cc999822 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntities.java @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Component; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.HasTenantId; +import org.thingsboard.server.common.data.HasVersion; +import org.thingsboard.server.common.data.id.ConverterId; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.RuleChainId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; +import org.thingsboard.server.common.data.rule.RuleChain; +import org.thingsboard.server.dao.converter.ConverterService; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceProfileService; +import org.thingsboard.server.dao.integration.IntegrationService; +import org.thingsboard.server.dao.rule.RuleChainService; +import org.thingsboard.server.queue.util.TbCoreComponent; + +import java.util.HashMap; +import java.util.Map; +import java.util.Set; +import java.util.UUID; + +/** + * The entities of a device package whose content an update overwrites, and their checksums. A device, a gateway + * and a gateway connector don't have one: an update never changes them. + */ +@Component +@TbCoreComponent +@RequiredArgsConstructor +public class DevicePackageEntities { + + static final Set CHECKSUM_TYPES = Set.of(EntityType.DEVICE_PROFILE, EntityType.DASHBOARD, + EntityType.RULE_CHAIN, EntityType.CONVERTER, EntityType.INTEGRATION); + + private final DeviceProfileService deviceProfileService; + private final DashboardService dashboardService; + private final RuleChainService ruleChainService; + private final ConverterService converterService; + private final IntegrationService integrationService; + + /** The entity of the tenant, null when there is none, e.g. it was deleted. A rule chain comes with its metadata. */ + public Snapshot load(TenantId tenantId, EntityId entityId) { + Object entity = switch (entityId.getEntityType()) { + case DEVICE_PROFILE -> deviceProfileService.findDeviceProfileById(tenantId, (DeviceProfileId) entityId); + case DASHBOARD -> dashboardService.findDashboardById(tenantId, (DashboardId) entityId); + case RULE_CHAIN -> ruleChainService.findRuleChainById(tenantId, (RuleChainId) entityId); + case CONVERTER -> converterService.findConverterById(tenantId, (ConverterId) entityId); + case INTEGRATION -> integrationService.findIntegrationById(tenantId, (IntegrationId) entityId); + default -> throw new IllegalArgumentException("Unsupported entity type: " + entityId.getEntityType()); + }; + if (entity == null || !tenantId.equals(((HasTenantId) entity).getTenantId())) { + return null; + } + Object metadata = entity instanceof RuleChain ruleChain ? ruleChainService.loadRuleChainMetaData(tenantId, ruleChain.getId()) : null; + return new Snapshot(entity, metadata); + } + + public String checksum(TenantId tenantId, EntityId entityId) { + Snapshot snapshot = load(tenantId, entityId); + return snapshot != null ? snapshot.checksum() : null; + } + + /** + * Adds the checksum of each entity the install state names, so that an update can tell whether someone changed + * it since. Entities the user kept at install are left out: an update never overwrites them. + */ + public void addChecksums(TenantId tenantId, DeviceInstalledItemDescriptor descriptor) { + if (descriptor.getInstallState() == null || descriptor.getCreatedEntityIds() == null) { + return; + } + Map createdIds = new HashMap<>(); + descriptor.getCreatedEntityIds().forEach(id -> createdIds.put(id.getId(), id)); + descriptor.getInstallState().forEach((stepName, state) -> { + EntityId entityId = entityIdOf(state, createdIds); + if (entityId != null && CHECKSUM_TYPES.contains(entityId.getEntityType()) && state.isObject()) { + String checksum = checksum(tenantId, entityId); + if (checksum != null) { + ((ObjectNode) state).put("checksum", checksum); + } + } + }); + } + + /** The package entity an install-state step recorded, with its type from the ids the package created. */ + static EntityId entityIdOf(JsonNode state, Map createdIds) { + JsonNode id = state != null ? state.path("entityOutput").path("id") : null; + if (id == null || !id.isTextual() || "use-existing".equals(state.path("resolution").asText())) { + return null; + } + try { + return createdIds.get(UUID.fromString(id.asText())); + } catch (IllegalArgumentException e) { + return null; + } + } + + public record Snapshot(Object entity, Object metadata) { + + public Long version() { + return ((HasVersion) entity).getVersion(); + } + + public String checksum() { + return metadata != null ? EntityChecksum.of(entity, metadata) : EntityChecksum.of(entity); + } + + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntityState.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntityState.java new file mode 100644 index 0000000000..005727da77 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntityState.java @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.server.common.data.id.EntityId; + +/** An entity of an installed device package as an update finds it, before it changes anything. */ +@Data +@NoArgsConstructor +@AllArgsConstructor +public class DevicePackageEntityState { + + private String stepName; + private EntityId entityId; + private boolean exists; + // Sent back with the update, which fails if someone changed the entity in between + private Long version; + // Changed since the package installed or last updated it; null when the install state has no checksum of it + // (installed before checksums were kept) + private Boolean modified; + // Other installed device packages use it, so overwriting it affects them + private boolean shared; + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageUpdateService.java new file mode 100644 index 0000000000..25a0cdb6ef --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageUpdateService.java @@ -0,0 +1,19 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import org.thingsboard.server.common.data.id.IotHubInstalledItemId; +import org.thingsboard.server.service.security.model.SecurityUser; + +import java.util.List; + +/** Updates an installed device package to another version of its item. */ +public interface DevicePackageUpdateService { + + /** The package's entities as they are now: whether they still exist, changed since, or are shared. */ + List check(SecurityUser user, IotHubInstalledItemId installedItemId); + + /** Applies the update in one transaction, together with the new version of the installed item, or nothing. */ + DeviceUpdateResult apply(SecurityUser user, IotHubInstalledItemId installedItemId, DeviceUpdateRequest request); + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java new file mode 100644 index 0000000000..6e47841e91 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java @@ -0,0 +1,61 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.JsonNode; +import lombok.Data; + +import java.util.List; +import java.util.Map; +import java.util.UUID; + +/** + * The update of an installed device package as the install wizard planned it: the entity of each install step + * of the new version, already resolved from its template, and what to do with it. The server applies all of it + * in one transaction, together with the new version of the installed item, or nothing. + */ +@Data +public class DeviceUpdateRequest { + + private String versionId; + // The install method of the new version's steps; the installed one when not set + private String selectedInstallMethod; + // The form values of the install state, by step: the server adds the entities to it + private Map installState; + private List steps; + + public enum Action { + // Taken as it is: the new version doesn't change it, or the user kept an entity they had + KEEP, + // Takes the entity from the step + OVERWRITE, + // A new entity: new in this version, deleted since install, or a copy next to one with the same name + CREATE + } + + @Data + public static class Step { + private String name; + // InstallStepType of the package: DEVICE_PROFILE, DEVICE, GATEWAY, GATEWAY_CONNECTOR, DASHBOARD, RULE_CHAIN, + // UPLINK_CONVERTER, DOWNLINK_CONVERTER, INTEGRATION + private String type; + private Action action; + // KEEP and OVERWRITE: the entity + private UUID entityId; + // OVERWRITE: the version the user reviewed; a different one means someone changed the entity since + private Long expectedVersion; + // The user confirmed overwriting an entity of another package or one they didn't install with this package + private boolean confirmed; + // OVERWRITE and CREATE: the entity resolved from the template. ${.} of an entity this + // update creates is left for the server, which knows its id only once it is created. + private JsonNode entity; + // DEVICE and GATEWAY: the credentials template, if any + private JsonNode credentials; + // DEVICE and GATEWAY created by this update: attributes, saved after the transaction + private JsonNode serverAttributes; + private JsonNode sharedAttributes; + // The resolution the install state records for it + private String resolution; + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateResult.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateResult.java new file mode 100644 index 0000000000..da73d5de80 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateResult.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.node.ObjectNode; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; + +import java.util.Map; + +/** + * Either everything was applied, or nothing was: on a failure the transaction was rolled back and failedStep + * names the step that failed, if one did. + */ +@Data +@NoArgsConstructor +@AllArgsConstructor +public class DeviceUpdateResult { + + private boolean success; + private String errorMessage; + private String failedStep; + private DeviceInstalledItemDescriptor descriptor; + // By step name: what the install instructions resolve, e.g. ${integration.httpEndpoint}, ${device.token} + private Map outputs; + + public static DeviceUpdateResult success(DeviceInstalledItemDescriptor descriptor, Map outputs) { + return new DeviceUpdateResult(true, null, null, descriptor, outputs); + } + + public static DeviceUpdateResult error(String errorMessage, String failedStep) { + return new DeviceUpdateResult(false, errorMessage, failedStep, null, null); + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java new file mode 100644 index 0000000000..898a222f05 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java @@ -0,0 +1,110 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.rule.RuleChainMetaData; +import org.thingsboard.server.common.data.rule.RuleNode; + +import java.nio.charset.StandardCharsets; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.util.ArrayList; +import java.util.HexFormat; +import java.util.Iterator; +import java.util.List; +import java.util.Set; + +/** + * The checksum of an entity as the server stores it, kept in the install state of a device package. A different + * checksum later means someone changed the entity, even a widget resized. The fields the server sets, and the name, + * which an update keeps, don't count. + */ +final class EntityChecksum { + + private static final Set SKIPPED_KEYS = Set.of("id", "name", "title", "version", "createdTime", "tenantId", + "customerId", "ownerId", "assignedCustomers", "externalId", "ruleChainId", "resources"); + + private EntityChecksum() { + } + + /** A rule chain is checked with its metadata: pass both. */ + static String of(Object... parts) { + StringBuilder canonical = new StringBuilder(); + for (Object part : parts) { + JsonNode node = part instanceof RuleChainMetaData metadata ? ruleChainContent(metadata) : JacksonUtil.valueToTree(part); + appendCanonical(canonical, node, true); + canonical.append('|'); + } + try { + byte[] hash = MessageDigest.getInstance("SHA-256").digest(canonical.toString().getBytes(StandardCharsets.UTF_8)); + return HexFormat.of().formatHex(hash); + } catch (NoSuchAlgorithmException e) { + throw new IllegalStateException(e); + } + } + + /** + * What a rule chain does, as the IoT Hub checksum of a rule chain item takes it: the nodes' type, name and + * configuration, and the connections. Node ids, layout and debug settings change without the user changing + * what the rule chain does, e.g. when it is saved again. + */ + private static JsonNode ruleChainContent(RuleChainMetaData metadata) { + ObjectNode content = JacksonUtil.newObjectNode(); + ArrayNode nodes = content.putArray("nodes"); + if (metadata.getNodes() != null) { + for (RuleNode node : metadata.getNodes()) { + ObjectNode n = nodes.addObject(); + n.put("type", node.getType()); + n.put("name", node.getName()); + n.set("configuration", node.getConfiguration()); + n.put("singletonMode", node.isSingletonMode()); + n.put("queueName", node.getQueueName()); + } + } + content.set("connections", JacksonUtil.valueToTree(metadata.getConnections())); + content.set("ruleChainConnections", JacksonUtil.valueToTree(metadata.getRuleChainConnections())); + content.set("firstNodeIndex", JacksonUtil.valueToTree(metadata.getFirstNodeIndex())); + return content; + } + + /** JSON with the keys sorted, so the same entity always gives the same text. */ + private static void appendCanonical(StringBuilder out, JsonNode node, boolean topLevel) { + if (node == null || node.isNull() || node.isMissingNode()) { + out.append("null"); + } else if (node.isObject()) { + List keys = new ArrayList<>(); + for (Iterator it = node.fieldNames(); it.hasNext(); ) { + String key = it.next(); + if (!topLevel || !SKIPPED_KEYS.contains(key)) { + keys.add(key); + } + } + keys.sort(null); + out.append('{'); + for (int i = 0; i < keys.size(); i++) { + if (i > 0) { + out.append(','); + } + out.append(JacksonUtil.toString(keys.get(i))).append(':'); + appendCanonical(out, node.get(keys.get(i)), false); + } + out.append('}'); + } else if (node.isArray()) { + out.append('['); + for (int i = 0; i < node.size(); i++) { + if (i > 0) { + out.append(','); + } + appendCanonical(out, node.get(i), false); + } + out.append(']'); + } else { + out.append(node.toString()); + } + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 3a3fd372b0..e1d0cd666b 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -19,8 +19,6 @@ public interface IotHubService { InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor); - InstallItemVersionResult registerDeviceUpdate(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, DeviceInstalledItemDescriptor descriptor); - void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java new file mode 100644 index 0000000000..736e6c790d --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -0,0 +1,376 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.node.ObjectNode; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.ArgumentCaptor; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.mockito.junit.jupiter.MockitoSettings; +import org.mockito.quality.Strictness; +import org.springframework.test.util.ReflectionTestUtils; +import org.springframework.transaction.support.TransactionCallback; +import org.springframework.transaction.support.TransactionTemplate; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.Dashboard; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.DeviceProfile; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.converter.Converter; +import org.thingsboard.server.common.data.exception.EntityVersionMismatchException; +import org.thingsboard.server.common.data.id.ConverterId; +import org.thingsboard.server.common.data.id.CustomerId; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.IotHubInstalledItemId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; +import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; +import org.thingsboard.server.dao.converter.ConverterService; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceCredentialsService; +import org.thingsboard.server.dao.device.DeviceProfileService; +import org.thingsboard.server.dao.device.DeviceService; +import org.thingsboard.server.dao.entity.EntityService; +import org.thingsboard.server.dao.integration.IntegrationService; +import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; +import org.thingsboard.server.exception.DataValidationException; +import org.thingsboard.server.service.entitiy.TbLogEntityActionService; +import org.thingsboard.server.service.security.model.SecurityUser; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.UUID; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.verifyNoInteractions; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +@MockitoSettings(strictness = Strictness.LENIENT) +class DefaultDevicePackageUpdateServiceTest { + + private final TenantId tenantId = TenantId.fromUUID(UUID.randomUUID()); + private final SecurityUser user = mock(SecurityUser.class); + private final UUID itemId = UUID.randomUUID(); + private final String versionId = UUID.randomUUID().toString(); + private final DeviceProfileId profileId = new DeviceProfileId(UUID.randomUUID()); + private final DashboardId dashboardId = new DashboardId(UUID.randomUUID()); + private final DeviceId deviceId = new DeviceId(UUID.randomUUID()); + private final IntegrationId integrationId = new IntegrationId(UUID.randomUUID()); + + @Mock + private IotHubInstalledItemService installedItemService; + @Mock + private IotHubRestClient iotHubRestClient; + @Mock + private DevicePackageEntities packageEntities; + @Mock + private DeviceProfileService deviceProfileService; + @Mock + private DashboardService dashboardService; + @Mock + private DeviceService deviceService; + @Mock + private DeviceCredentialsService deviceCredentialsService; + @Mock + private ConverterService converterService; + @Mock + private IntegrationService integrationService; + @Mock + private TransactionTemplate transactionTemplate; + @Mock + private EntityService entityService; + @Mock + private TbLogEntityActionService logEntityActionService; + + @InjectMocks + private DefaultDevicePackageUpdateService service; + + private IotHubInstalledItem installedItem; + // Set when the transaction callback threw, so the transaction would roll back + private final List rolledBack = new ArrayList<>(); + + @BeforeEach + void setUp() { + ReflectionTestUtils.setField(service, "entityService", entityService); + ReflectionTestUtils.setField(service, "logEntityActionService", logEntityActionService); + when(user.getTenantId()).thenReturn(tenantId); + + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setSelectedInstallMethod("INTEGRATION_TTN"); + descriptor.setCreatedEntityIds(List.of(profileId, deviceId, dashboardId, integrationId)); + descriptor.setDashboardId(dashboardId); + descriptor.setInstallState(Map.of()); + installedItem = new IotHubInstalledItem(); + installedItem.setId(new IotHubInstalledItemId(UUID.randomUUID())); + installedItem.setTenantId(tenantId); + installedItem.setItemId(itemId); + installedItem.setItemType("DEVICE"); + installedItem.setVersion("1.0.0"); + installedItem.setDescriptor(descriptor); + when(installedItemService.findById(tenantId, installedItem.getId())).thenReturn(installedItem); + + ObjectNode versionInfo = JacksonUtil.newObjectNode(); + versionInfo.put("itemId", itemId.toString()); + versionInfo.put("name", "AM308"); + versionInfo.put("version", "1.0.1"); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(versionInfo); + + when(transactionTemplate.execute(any())).thenAnswer(invocation -> { + try { + return invocation.>getArgument(0).doInTransaction(null); + } catch (RuntimeException e) { + rolledBack.add(e); + throw e; + } + }); + when(packageEntities.checksum(any(), any())).thenReturn("checksum"); + when(entityService.fetchEntity(any(), any())).thenReturn(Optional.empty()); + Device device = new Device(deviceId); + device.setTenantId(tenantId); + device.setName("AM308"); + when(deviceService.findDeviceById(tenantId, deviceId)).thenReturn(device); + } + + @Test + void overwritesTheEntitiesAndRecordsTheNewVersionInOneTransaction() { + DeviceProfile profile = profile(3L, "AM308 renamed"); + when(deviceProfileService.findDeviceProfileById(tenantId, profileId)).thenReturn(profile); + when(deviceProfileService.saveDeviceProfile(any())).thenAnswer(i -> i.getArgument(0)); + Dashboard dashboard = dashboard(7L); + dashboard.setCustomerId(new CustomerId(UUID.randomUUID())); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard); + when(dashboardService.saveDashboard(any(Dashboard.class))).thenAnswer(i -> i.getArgument(0)); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("AM308 profile", "DEVICE_PROFILE", profileId, 3L, JacksonUtil.newObjectNode().put("name", "milesight-iot-am308").put("description", "new")), + keep("AM308", "DEVICE", deviceId), + overwrite("Dashboard", "DASHBOARD", dashboardId, 7L, JacksonUtil.newObjectNode().put("title", "Template title")))); + + assertThat(result.isSuccess()).isTrue(); + ArgumentCaptor savedProfile = ArgumentCaptor.forClass(DeviceProfile.class); + verify(deviceProfileService).saveDeviceProfile(savedProfile.capture()); + // Same id, the name the user gave it, the version they reviewed + assertThat(savedProfile.getValue().getId()).isEqualTo(profileId); + assertThat(savedProfile.getValue().getName()).isEqualTo("AM308 renamed"); + assertThat(savedProfile.getValue().getDescription()).isEqualTo("new"); + assertThat(savedProfile.getValue().getVersion()).isEqualTo(3L); + ArgumentCaptor savedDashboard = ArgumentCaptor.forClass(Dashboard.class); + verify(dashboardService).saveDashboard(savedDashboard.capture()); + assertThat(savedDashboard.getValue().getCustomerId()).isEqualTo(dashboard.getCustomerId()); + + verify(installedItemService).save(tenantId, installedItem); + assertThat(installedItem.getVersion()).isEqualTo("1.0.1"); + assertThat(installedItem.getItemVersionId()).isEqualTo(UUID.fromString(versionId)); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + // Of the saved dashboard, not read back by id: inside the transaction that may come from the cache + assertThat(descriptor.getInstallState().get("Dashboard").get("checksum").asText()) + .isEqualTo(EntityChecksum.of(savedDashboard.getValue())); + assertThat(descriptor.getCreatedEntityIds()).contains(profileId, deviceId, dashboardId); + } + + @Test + void keptEntity_keepsTheChecksumThePackageLeft() { + // The user changed the dashboard since: its current checksum must not become the package's + ObjectNode dashboardState = JacksonUtil.newObjectNode().put("checksum", "installed").put("resolution", "created"); + dashboardState.set("entityOutput", JacksonUtil.newObjectNode().put("id", dashboardId.getId().toString())); + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", dashboardState)); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + DeviceUpdateRequest request = request(keep("Dashboard", "DASHBOARD", dashboardId)); + request.setSelectedInstallMethod("INTEGRATION_CHIRPSTACK"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Dashboard").get("checksum").asText()).isEqualTo("installed"); + assertThat(descriptor.getSelectedInstallMethod()).isEqualTo("INTEGRATION_CHIRPSTACK"); + verify(dashboardService, never()).saveDashboard(any(Dashboard.class)); + } + + @Test + void failedStep_rollsBackAndReportsTheStep() { + when(deviceProfileService.findDeviceProfileById(tenantId, profileId)).thenReturn(profile(3L, "AM308")); + when(deviceProfileService.saveDeviceProfile(any())).thenAnswer(i -> i.getArgument(0)); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(7L)); + when(dashboardService.saveDashboard(any(Dashboard.class))).thenThrow(new DataValidationException("Dashboards limit reached")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("AM308 profile", "DEVICE_PROFILE", profileId, 3L, JacksonUtil.newObjectNode().put("name", "p")), + overwrite("Dashboard", "DASHBOARD", dashboardId, 7L, JacksonUtil.newObjectNode().put("title", "d")))); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getFailedStep()).isEqualTo("Dashboard"); + assertThat(result.getErrorMessage()).isEqualTo("Dashboards limit reached"); + assertThat(rolledBack).hasSize(1); + verify(installedItemService, never()).save(any(), any()); + verifyNoInteractions(logEntityActionService); + assertThat(installedItem.getVersion()).isEqualTo("1.0.0"); + } + + @Test + void entityChangedSinceTheCheck_isAVersionConflict() { + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(8L)); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("Dashboard", "DASHBOARD", dashboardId, 7L, JacksonUtil.newObjectNode().put("title", "d")))); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getFailedStep()).isEqualTo("Dashboard"); + assertThat(result.getErrorMessage()).contains("Check the update again"); + verify(dashboardService, never()).saveDashboard(any(Dashboard.class)); + } + + @Test + void integrationGetsTheIdOfTheConverterCreatedInTheSameUpdate() throws Exception { + ConverterId converterId = new ConverterId(UUID.randomUUID()); + when(converterService.saveConverter(any())).thenAnswer(i -> { + Converter converter = i.getArgument(0); + converter.setId(converterId); + return converter; + }); + Integration current = new Integration(); + current.setId(integrationId); + current.setTenantId(tenantId); + current.setName("TTN my-app"); + current.setRoutingKey("routing-key"); + current.setVersion(2L); + when(integrationService.findIntegrationById(tenantId, integrationId)).thenReturn(current); + when(integrationService.saveIntegration(any())).thenAnswer(i -> i.getArgument(0)); + ObjectNode integration = JacksonUtil.newObjectNode().put("name", "Template name").put("type", "TTN").put("edgeTemplate", true); + integration.set("defaultConverterId", JacksonUtil.newObjectNode().put("entityType", "CONVERTER").put("id", "${uplinkConverter.id}")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + create("Uplink", "UPLINK_CONVERTER", JacksonUtil.newObjectNode().put("name", "Uplink for TTN")), + overwrite("TTN", "INTEGRATION", integrationId, 2L, integration))); + + assertThat(result.isSuccess()).isTrue(); + ArgumentCaptor saved = ArgumentCaptor.forClass(Integration.class); + verify(integrationService).saveIntegration(saved.capture()); + assertThat(saved.getValue().getDefaultConverterId()).isEqualTo(converterId); + // The devices keep sending to the same endpoint + assertThat(saved.getValue().getRoutingKey()).isEqualTo("routing-key"); + assertThat(saved.getValue().getName()).isEqualTo("TTN my-app"); + assertThat(result.getOutputs().get("TTN").get("routingKey").asText()).isEqualTo("routing-key"); + } + + @Test + void overwritingAnEntityOfAnotherPackage_needsAConfirmation() { + DashboardId foreign = new DashboardId(UUID.randomUUID()); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("Dashboard", "DASHBOARD", foreign, 1L, JacksonUtil.newObjectNode().put("title", "d")))); + + assertThat(result.isSuccess()).isFalse(); + verify(transactionTemplate, never()).execute(any()); + } + + @Test + void theDeviceIsNeverOverwritten() { + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("AM308", "DEVICE", deviceId, 1L, JacksonUtil.newObjectNode().put("name", "d")))); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getErrorMessage()).isEqualTo("The device and its credentials don't change on update"); + verify(transactionTemplate, never()).execute(any()); + } + + @Test + void versionOfAnotherItem_isRejected() { + ObjectNode other = JacksonUtil.newObjectNode().put("itemId", UUID.randomUUID().toString()); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(other); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(keep("AM308", "DEVICE", deviceId))); + + assertThat(result.isSuccess()).isFalse(); + verify(transactionTemplate, never()).execute(any()); + } + + @Test + void userMessage_showsValidationMessagesAndHidesInternalOnes() { + assertThat(DefaultDevicePackageUpdateService.userMessage(new DataValidationException("Rule chains limit reached"))) + .isEqualTo("Rule chains limit reached"); + assertThat(DefaultDevicePackageUpdateService.userMessage(new EntityVersionMismatchException(EntityType.DASHBOARD, null))) + .contains("Check the update again"); + assertThat(DefaultDevicePackageUpdateService.userMessage(new IllegalStateException("could not execute statement; SQL [n/a]"))) + .isEqualTo("Failed to update the device package"); + } + + @Test + void resolvePlaceholders_leavesUnknownAliasesAsTheyAre() { + ObjectNode device = JacksonUtil.newObjectNode().put("id", "123"); + ObjectNode node = JacksonUtil.newObjectNode().put("a", "${device.id}").put("b", "x ${device.id} ${gateway.id}"); + + ObjectNode resolved = (ObjectNode) DefaultDevicePackageUpdateService.resolvePlaceholders(node, Map.of("device", device)); + + assertThat(resolved.get("a").asText()).isEqualTo("123"); + assertThat(resolved.get("b").asText()).isEqualTo("x 123 ${gateway.id}"); + } + + private DeviceProfile profile(Long version, String name) { + DeviceProfile profile = new DeviceProfile(profileId); + profile.setTenantId(tenantId); + profile.setName(name); + profile.setVersion(version); + return profile; + } + + private Dashboard dashboard(Long version) { + Dashboard dashboard = new Dashboard(dashboardId); + dashboard.setTenantId(tenantId); + dashboard.setTitle("AM308 dashboard"); + dashboard.setVersion(version); + return dashboard; + } + + private DeviceUpdateRequest request(DeviceUpdateRequest.Step... steps) { + DeviceUpdateRequest request = new DeviceUpdateRequest(); + request.setVersionId(versionId); + request.setSteps(List.of(steps)); + return request; + } + + private static DeviceUpdateRequest.Step keep(String name, String type, EntityId id) { + DeviceUpdateRequest.Step step = step(name, type, DeviceUpdateRequest.Action.KEEP); + step.setEntityId(id.getId()); + return step; + } + + private static DeviceUpdateRequest.Step overwrite(String name, String type, EntityId id, Long version, ObjectNode entity) { + DeviceUpdateRequest.Step step = step(name, type, DeviceUpdateRequest.Action.OVERWRITE); + step.setEntityId(id.getId()); + step.setExpectedVersion(version); + step.setEntity(entity); + return step; + } + + private static DeviceUpdateRequest.Step create(String name, String type, ObjectNode entity) { + DeviceUpdateRequest.Step step = step(name, type, DeviceUpdateRequest.Action.CREATE); + step.setEntity(entity); + return step; + } + + private static DeviceUpdateRequest.Step step(String name, String type, DeviceUpdateRequest.Action action) { + DeviceUpdateRequest.Step step = new DeviceUpdateRequest.Step(); + step.setName(name); + step.setType(type); + step.setAction(action); + return step; + } + +} diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index cf4f25bfd7..8cc1848797 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -510,46 +510,6 @@ class DefaultIotHubServiceTest { verify(iotHubInstalledItemService, never()).save(any(), any()); } - @Test - void registerDeviceUpdate_keepsTheInstalledItemAndRecordsTheNewVersion() { - mockTenant(); - DeviceId deviceId = new DeviceId(UUID.randomUUID()); - IotHubInstalledItem installed = devicePackage(deviceId); - installed.setItemType("DEVICE"); - installed.setItemId(UUID.randomUUID()); - installed.setVersion("1.0"); - when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); - String versionId = UUID.randomUUID().toString(); - when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, installed.getItemId().toString(), "DEVICE", "AM308", "1.1")); - DeviceInstalledItemDescriptor updated = new DeviceInstalledItemDescriptor(); - updated.setCreatedEntityIds(List.of(deviceId)); - - InstallItemVersionResult result = service.registerDeviceUpdate(user, installed.getId(), versionId, updated); - - assertThat(result.isSuccess()).isTrue(); - verify(iotHubInstalledItemService).save(tenantId, installed); - assertThat(installed.getItemVersionId()).isEqualTo(UUID.fromString(versionId)); - assertThat(installed.getVersion()).isEqualTo("1.1"); - assertThat(installed.getDescriptor()).isSameAs(updated); - verify(tbDeviceService, never()).delete(any(Device.class), any()); - } - - @Test - void registerDeviceUpdate_versionOfAnotherItem_isRejected() { - mockTenant(); - IotHubInstalledItem installed = devicePackage(new DeviceId(UUID.randomUUID())); - installed.setItemType("DEVICE"); - installed.setItemId(UUID.randomUUID()); - when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); - String versionId = UUID.randomUUID().toString(); - when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, UUID.randomUUID().toString(), "DEVICE", "Other", "1.0")); - - InstallItemVersionResult result = service.registerDeviceUpdate(user, installed.getId(), versionId, new DeviceInstalledItemDescriptor()); - - assertThat(result.isSuccess()).isFalse(); - verify(iotHubInstalledItemService, never()).save(any(), any()); - } - private IotHubInstalledItem devicePackage(EntityId... createdEntityIds) { DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); descriptor.setCreatedEntityIds(List.of(createdEntityIds)); diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 639127e075..1bf462ce35 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -13,7 +13,7 @@ import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { CreatorView } from '@shared/models/iot-hub/iot-hub-creator.models'; -import { IotHubInstalledItem, IotHubInstalledItemKeptEntities, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { DevicePackageEntityState, DeviceUpdateRequest, DeviceUpdateResult, IotHubInstalledItem, IotHubInstalledItemKeptEntities, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { ItemType, ItemTypeFilterInfo, WidgetCategory } from '@shared/models/iot-hub/iot-hub-item.models'; import { InterceptorHttpParams } from '@core/interceptors/interceptor-http-params'; import { InterceptorConfig } from '@core/interceptors/interceptor-config'; @@ -180,13 +180,10 @@ export class IotHubApiService { public registerDeviceInstall( versionId: string, descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, - config?: IotHubRequestConfig, - // Set for an update: the installed item takes the version and the descriptor - installedItemId?: string + config?: IotHubRequestConfig ): Observable { - const installedItemParam = installedItemId ? `&installedItemId=${installedItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}${installedItemParam}`, + `/api/iot-hub/device/register?versionId=${versionId}`, { type: 'DEVICE', ...descriptor }, { params: this.buildParams(config) } ); @@ -272,6 +269,23 @@ export class IotHubApiService { ); } + /** The entities of an installed device package as they are now: whether they exist, changed since, or are shared. */ + public checkDeviceUpdate(installedItemId: string, config?: IotHubRequestConfig): Observable { + return this.http.get( + `/api/iot-hub/installedItems/${installedItemId}/deviceUpdate/check`, + { params: this.buildParams(config) } + ); + } + + /** Applies a device package update in one transaction: all of it, or nothing. */ + public updateDevicePackage(installedItemId: string, request: DeviceUpdateRequest, config?: IotHubRequestConfig): Observable { + return this.http.post( + `/api/iot-hub/installedItems/${installedItemId}/deviceUpdate`, + request, + { params: this.buildParams(config) } + ); + } + public getInstalledItemKeptEntities(installedItemId: string, config?: IotHubRequestConfig): Observable { return this.http.get( `/api/iot-hub/installedItems/${installedItemId}/keptEntities`, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 11499fe154..d13e0221d9 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -61,6 +61,9 @@ } @case ('progress') { + @if (data.update) { + + } @else {
    @for (ep of ws.entitySteps; track ep.step.name; let i = $index) { @if (i > 0) { @@ -144,6 +147,142 @@ } }
    + } + } + } +
    + + + + + {{ 'iot-hub.device-update-modified' | translate }} + {{ 'iot-hub.device-update-here' | translate }}. + + + + +
    + @for (ep of ws.entitySteps; track ep.step.name; let i = $index) { + @if (i > 0) { +
    + } + @let plan = updatePlanOf(ep); + @let label = ('iot-hub.device-install-step-type-' + ep.step.type | translate) + ' — ' + (ep.resolvedName || ep.step.name); + @if (ws.reviewing && plan && !plan.confirmed) { +
    +
    +
    + warning +
    +
    + {{ label }} + @if (plan.existing) { + + {{ 'iot-hub.device-install-conflict-exists' | translate:{ type: ('iot-hub.device-install-step-type-' + ep.step.type | translate) } }} + + } + @if (plan.shared) { + {{ 'iot-hub.device-update-shared' | translate }} + } + @if (plan.modified) { + + + + } +
    +
    +
    + @if (plan.existing) { + @if (ep.step.type === 'DASHBOARD') { + + } @else { + + } + + } @else { + + } +
    +
    + } @else if (ep.status === 'error') { +
    +
    + error +
    +
    + {{ label }} + @if (ep.errorMessage) { + {{ ep.errorMessage }} + } +
    + {{ 'iot-hub.device-install-step-error' | translate }} +
    + } @else { +
    +
    + @switch (ep.status) { + @case ('running') { + + } + @case ('success') { + check_circle + } + @default { +
    {{ i + 1 }}
    + } + } +
    +
    +
    + {{ label }} + @if (plan?.action === 'create' && plan.resolution !== 'use-existing') { + {{ 'iot-hub.device-update-new' | translate }} + } +
    + + @if (ws.reviewing && plan?.confirmed) { + @if (plan.existing) { + {{ 'iot-hub.device-update-existing-' + plan.resolution | translate }} + } + @if (plan.shared) { + {{ 'iot-hub.device-update-shared' | translate }} + } + @if (plan.modified) { + + + + } + } +
    + + @switch (ep.status) { + @case ('running') { + {{ 'iot-hub.in-progress' | translate }} + } + @case ('success') { + {{ 'iot-hub.done' | translate }} + } + @case ('skipped') { + {{ 'iot-hub.device-update-skipped' | translate }} + } + @default { + @if (ws.reviewing && plan) { + {{ 'iot-hub.device-update-no-conflicts' | translate }} + } + } + } + +
    } }
    @@ -171,7 +310,14 @@
    } @else {
    -

    {{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }}

    +

    + @if (data.update) { + {{ 'iot-hub.device-update-title' | translate:{ name: packageInfo?.name || data.item.name } }} + {{ data.update.fromVersion }} → {{ data.item.version }} + } @else { + {{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }} + } +

    @@ -225,9 +371,24 @@ } + @if (data.update && currentWizardStep?.type === 'progress') { + @let step = currentWizardStep; + @if (hasUpdateError(step)) { +
    + error + {{ step.progressError }} +
    + } @else if (step.reviewing && !step.checking && unconfirmedUpdateWarnings(step) > 0) { +
    + warning + {{ 'iot-hub.device-update-confirm-warnings' | translate:{ count: unconfirmedUpdateWarnings(step) } }} +
    + } + } + @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { @@ -264,7 +425,26 @@ } @case ('progress') { - @if (step.progressError) { + @if (data.update && (step.reviewing || step.updating || step.progressError)) { + @if (step.progressError && !step.updating) { + + + } @else if (step.updating) { + + + } @else { + + + } + } @else if (step.progressError) {
    - - - - - {{ 'integration.allow-downlink' | translate }} - - - - -
    -
    - integration.credentials -
    - - - - -
    -
    -
    -
    -
    + @if (isSetDownlink) { +
    + integration.downlink-credentials +
    + + + + +
    +
    + } diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts index 96c2777002..011eaee7b7 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts @@ -50,10 +50,24 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont @Input() routingKey: string; + @Input() + set isSetDownlink(value: boolean) { + if (this.isSetDownlinkValue !== value) { + this.isSetDownlinkValue = value; + this.updateCredentialsValidators(); + } + } + + get isSetDownlink(): boolean { + return this.isSetDownlinkValue; + } + private integrationType = IntegrationType.KPN; + private isSetDownlinkValue = false; private propagateChangePending = false; private propagateChange = (v: any) => { }; + private validatorChange = () => { }; constructor(private fb: UntypedFormBuilder, private store: Store, @@ -75,20 +89,14 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont }], enableSecurity: [false], headersFilter: [{}], - allowDownlink: [false], - apiId:[], - apiKey:[] + apiId: [], + apiKey: [] }); this.kpnIntegrationConfigForm.get('baseUrl').valueChanges.pipe( takeUntil(this.destroy$) ).subscribe((value) => { const httpEndpoint = integrationEndPointUrl(this.integrationType, value, this.routingKey); this.kpnIntegrationConfigForm.get('httpEndpoint').patchValue(httpEndpoint); - }); - this.kpnIntegrationConfigForm.get('allowDownlink').valueChanges.pipe( - takeUntil(this.destroy$) - ).subscribe(() => { - this.updateEnableFields(); }); this.kpnIntegrationConfigForm.valueChanges.pipe( takeUntil(this.destroy$) @@ -96,14 +104,12 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont this.updateModels(this.kpnIntegrationConfigForm.getRawValue()); }); this.kpnIntegrationConfigForm.removeControl('replaceNoContentToOk', {emitEvent: false}); + this.updateCredentialsValidators(); } writeValue(value: KpnIntegration) { if (isDefinedAndNotNull(value)) { this.kpnIntegrationConfigForm.reset(value, {emitEvent: false}); - if (!this.disabled) { - this.updateEnableFields(); - } } else { this.propagateChangePending = true; } @@ -121,13 +127,16 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont registerOnTouched(fn: any) { } + registerOnValidatorChange(fn: () => void) { + this.validatorChange = fn; + } + setDisabledState(isDisabled: boolean) { this.disabled = isDisabled; if (isDisabled) { this.kpnIntegrationConfigForm.disable({emitEvent: false}); } else { this.kpnIntegrationConfigForm.enable({emitEvent: false}); - this.updateEnableFields(); this.kpnIntegrationConfigForm.get('httpEndpoint').disable({emitEvent: false}); } } @@ -154,22 +163,14 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont this.propagateChange(value); } - private updateEnableFields() { - const allowDownlink = this.kpnIntegrationConfigForm.get('allowDownlink').value; - if (allowDownlink) { - this.kpnIntegrationConfigForm.get('apiId').enable({emitEvent: false}); - this.kpnIntegrationConfigForm.get('apiKey').enable({emitEvent: false}); - this.kpnIntegrationConfigForm.get('apiId').setValidators(Validators.required); - this.kpnIntegrationConfigForm.get('apiKey').setValidators(Validators.required); - } else { - this.kpnIntegrationConfigForm.get('apiId').disable({emitEvent: false}); - this.kpnIntegrationConfigForm.get('apiKey').disable({emitEvent: false}); - this.kpnIntegrationConfigForm.get('apiId').clearValidators(); - this.kpnIntegrationConfigForm.get('apiKey').clearValidators(); - + private updateCredentialsValidators() { + if (this.kpnIntegrationConfigForm) { + const validators = this.isSetDownlink ? [Validators.required] : []; + this.kpnIntegrationConfigForm.get('apiId').setValidators(validators); + this.kpnIntegrationConfigForm.get('apiKey').setValidators(validators); + this.kpnIntegrationConfigForm.get('apiId').updateValueAndValidity({emitEvent: false}); + this.kpnIntegrationConfigForm.get('apiKey').updateValueAndValidity({emitEvent: false}); + this.validatorChange(); } - this.kpnIntegrationConfigForm.get('apiId').updateValueAndValidity({emitEvent: false}); - this.kpnIntegrationConfigForm.get('apiKey').updateValueAndValidity({emitEvent: false}); - this.kpnIntegrationConfigForm.get('destinationSharedSecret').updateValueAndValidity({emitEvent: false}); } } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index a000ee8696..367b4709eb 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -5578,6 +5578,7 @@ "credentials": "Credentials", "credentials-type": "Credentials type", "credentials-type-required": "Credentials type is required.", + "downlink-credentials": "Downlink credentials", "username": "Username", "username-required": "Username is required.", "password": "Password", From ff7598b40ffc0d6f80220bdb8c3d391ea0183e26 Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Thu, 29 Oct 2026 18:05:08 +0200 Subject: [PATCH 367/559] Updated Turkish locale translations for 4.4 (#16475) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update Turkish translation for 4.4: missing keys, terminology, consistency * Remove Turkish keys that en_US no longer has * Shorten the Turkish «Deprecated» label so the widget library column fits --- .../assets/locale/locale.constant-tr_TR.json | 6105 +++++++++++------ 1 file changed, 3887 insertions(+), 2218 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index 1a8d8bd7b7..c126be96b4 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "ThingsBoard'u etkinleştir", + "initial": { + "welcome": "ThingsBoard {{version}} sürümüne hoş geldiniz", + "title": "Ücretsiz lisansınızı alın ve geliştirmeye başlayın", + "desc": "Lisans Portalı'nda birkaç dakika — bir hesap oluşturacak, bir lisans seçeceksiniz ve bu örnek kendiliğinden etkinleşecek.", + "open-license-portal": "Lisans Portalı'nı aç", + "already-have-license": "Zaten lisansınız var mı?", + "free-no-credit-card": "Sonsuza kadar ücretsiz. Kredi kartı gerekmez.", + "source-available": "Kaynak kodu şu lisansla erişilebilir:" + }, + "waiting": { + "live-eyebrow": "Etkinleştirme bekleniyor", + "title": "Lisans Portalı'nda devam edin", + "desc": "Oturum açın veya bir hesap oluşturun, bir lisans seçin, koşulları kabul edin. Lisans verildiğinde bu örnek kendiliğinden etkinleşir.", + "nothing-opened": "Hiçbir şey açılmadı mı?", + "paste-link-or-scan-qr-code": "Metin bağlantısını internete bağlı herhangi bir cihaza yapıştırın veya QR kodunu bir telefonla tarayın.", + "text-link": "Metin bağlantısı", + "qr-code": "QR kodu", + "qr-code-hint": "Telefonun kamerasını koda doğrultun, ardından bağlantıyı açın. Telefonun kendi internet bağlantısı olmalıdır.", + "have-key": "Lisans anahtarınız var mı?", + "activate-key": "Lisansı bir anahtarla etkinleştir" + }, + "offline": { + "eyebrow": "Çevrimdışı", + "title": "Başka bir cihazdan etkinleştirin", + "desc": "Bu sunucu Lisans Portalı'na erişemiyor, bu nedenle işlem iki adımda yapılır: lisansınızı internete bağlı bir cihazda oradan alın, ardından anahtarı buraya girin.", + "get-your-license": "Lisansınızı portaldan alın", + "open-link": "Bu bağlantıyı internete bağlı herhangi bir cihazda açın. Oturum açacak veya bir hesap oluşturacak, bir lisans seçecek ve koşulları kabul edeceksiniz. Ardından portal size bir lisans anahtarı gösterir.", + "paste-key": "Anahtarı buraya yapıştırın", + "no-connected-device": "Hiçbir yerde bağlı bir cihazınız yok mu?" + }, + "have-key": { + "title": "Lisansı bir anahtarla etkinleştir", + "enter-license-key": "Lisans anahtarınızı girin", + "enter-license-key-note": "Anahtar, Lisans Portalı hesabınızda bulunur: herhangi bir cihazdan {{hostName}} adresinde oturum açın ve anahtarı oradan kopyalayın.", + "no-account": "Hesabınız ve bağlı bir cihazınız yok mu?", + "contact-support": "Destekle iletişime geçin" + }, + "key-form": { + "placeholder": "Lisans anahtarınızı yapıştırın", + "invalid": "Bu anahtar bu örnek için geçerli değil. Eksik bir karakter olup olmadığını kontrol edin veya destekle iletişime geçin.", + "activate": "Etkinleştir", + "activating": "Etkinleştiriliyor" + }, + "account": { + "title": "Bu örnek etkinleştirildi", + "desc": "Lisansınız bu sunucuda ve Lisans Portalı hesabınızda kayıtlıdır.", + "create-sys-admin-account": "Bir sistem yöneticisi hesabı oluşturun", + "create-sys-admin-account-hint": "Bu hesapla bu sunucuda oturum açarsınız — lisansınızın bulunduğu Lisans Portalı hesabından ayrıdır.", + "email-label": "E-posta", + "email-required": "Bir e-posta adresi girin.", + "email-invalid": "Geçerli bir e-posta adresi girin.", + "password-label": "Parola", + "password-required": "Bir parola girin.", + "password-min-length": "Parola en az 6 karakter olmalıdır.", + "confirm-label": "Parolayı onayla", + "confirm-required": "Parolanızı onaylayın.", + "confirm-mismatch": "Bu parolalar eşleşmiyor.", + "demo-tenant-title": "Bir demo kiracı oluşturun", + "demo-tenant-desc": "Platformu iş başında görmenin en hızlı yolu. Panolar, cihazlar ve kural zincirleri önceden kurulmuştur; kiracı ve müşteri kullanıcıları oturum açmaya hazırdır. Sistem yöneticisi olarak bunu Kiracılar bölümünden de açabilirsiniz.", + "create": "Hesap oluştur", + "creating": "Hesap oluşturuluyor" + }, + "demo-tenant": { + "signed-in-as": "Sistem yöneticisi hesabınız oluşturuldu ve {{email}} olarak oturum açtınız.", + "title": "Demo kiracıyı keşfetmek ister misiniz?", + "desc": "Temel ayarlar zaten yapılandırıldı — bir pano açın, bir kuralı değiştirin veya kendi cihazınızı bağlayın.", + "dashboards": "Panolar — aşağıdaki cihazlar üzerine kurulmuştur, widget bağlantıları zaten yapılmıştır", + "devices": "Cihazlar — cihaz profilleri ve alarm kurallarıyla birlikte; henüz hiçbiri veri göndermedi", + "rule-chains": "Kural zincirleri — bu alarmlara burada karar verilir", + "explore": "Demo kiracıyı keşfet", + "not-now": "Şimdi değil", + "not-now-hint": "Şimdi değil seçeneği sizi sistem yönetimine götürür.", + "signing-in-later": "Daha sonra oturum açmak için", + "demo-tenant-hint": "Kiracının kendi yöneticisi. Sistem yöneticisi olarak kiracıyı Kiracılar bölümünden parola olmadan da açabilirsiniz." + }, + "non-production": { + "eyebrow": "Yeniden onay gerekli", + "title": "Bu dağıtımın hâlâ üretim dışı olduğunu onaylayın.", + "desc": "Bu örnek, bir sistem yöneticisi tarafından düzenli aralıklarla yeniden onaylanan ücretsiz, üretim dışı bir lisansla çalışır. Onaylamak verilerinizi, kullanıcılarınızı veya cihaz bağlantınızı etkilemez.", + "confirm": "Onayla", + "confirming": "Onaylanıyor", + "sysadmin-required": "Bunu yalnızca bir sistem yöneticisi onaylayabilir.", + "login-as-sysadmin": "Sistem yöneticisi olarak oturum aç", + "state-verify-failed": "Onaylandı, ancak durum doğrulanamadı. Lütfen sayfayı yenileyin.", + "state-not-updated": "Bu örnek, onayın hâlâ beklemede olduğunu bildiriyor. Lütfen sayfayı yenileyin ve tekrar onaylayın." + }, + "errors": { + "signin-failed": "Hesap oluşturuldu, ancak otomatik oturum açma başarısız oldu. Lütfen sayfayı yenileyin ve manuel olarak oturum açın.", + "state-not-updated": "Kurulum tamamlandı, ancak durum güncellenmedi. Lütfen sayfayı yenileyin.", + "state-verify-failed": "Kurulum tamamlandı, ancak durum doğrulanamadı. Lütfen sayfayı yenileyin.", + "no-sign-up-url": "Bu örnek bağlantı olmadan yanıt verdi, bu nedenle açılacak bir şey yok.", + "link-expired": "Bu bağlantının süresi doldu. Yeni bir bağlantı almak için Lisans Portalı'nı yeniden açın.", + "activated-state-verify-failed": "Bu örnek lisanslı, ancak sonraki adım henüz okunamadı. Hâlâ deneniyor — sayfayı da yenileyebilirsiniz.", + "no-connection": "Sunucuyla bağlantı yok. Daha sonra tekrar deneyin.", + "request-failed": "İstek başarısız oldu. Lütfen tekrar deneyin." + } + }, "access": { "unauthorized": "Yetkisiz", "unauthorized-access": "Yetkisiz Erişim", @@ -34,7 +133,7 @@ "unassign": "Atamayı kaldır", "share": "Paylaş", "make-private": "Özel yap", - "make-public": "Genel yap", + "make-public": "Herkese açık yap", "apply": "Uygula", "apply-changes": "Değişiklikleri uygula", "edit-mode": "Düzenleme modu", @@ -53,6 +152,7 @@ "refresh": "Yenile", "undo": "Geri al", "copy": "Kopyala", + "copied": "Kopyalandı", "paste": "Yapıştır", "copy-reference": "Referansı kopyala", "paste-reference": "Referansı yapıştır", @@ -68,7 +168,7 @@ "read-more": "Daha fazla oku", "hide": "Gizle", "test": "Test Et", - "done": "Tamamlandı", + "done": "Bitti", "print": "Yazdır", "restore": "Geri Yükle", "confirm": "Onayla", @@ -80,6 +180,7 @@ "reset-default": "Varsayılana sıfırla", "show-more": "Daha fazla göster", "dont-show-again": "Bir daha gösterme", + "dont-show-this-again": "Bunu bir daha gösterme", "see-documentation": "Dokümantasyonu görüntüle", "see-debug-events": "Hata Ayıklama Olaylarını Görüntüle", "clear": "Temizle", @@ -89,12 +190,14 @@ "set": "Ayarla", "duplicate": "Çoğalt", "disable": "Devre dışı bırak", - "enable": "Etkinleştir" + "enable": "Etkinleştir", + "rename": "Yeniden adlandır", + "retry": "Yeniden dene" }, "aggregation": { "aggregation": "Toplama", "function": "Veri toplama fonksiyonu", - "limit": "Maksimum değerler", + "limit": "Maksimum değer sayısı", "group-interval": "Gruplama aralığı", "min": "Min", "max": "Maks", @@ -105,6 +208,7 @@ }, "admin": { "settings": "Ayarlar", + "platform": "Platform", "general": "Genel", "general-settings": "Genel ayarlar", "home-settings": "Ana sayfa ayarları", @@ -114,8 +218,8 @@ "system-settings": "Sistem Ayarları", "test-mail-sent": "Test e-postası başarıyla gönderildi!", "base-url": "Temel URL", - "base-url-required": "Temel URL gerekli.", - "prohibit-different-url": "İstemci isteği başlıklarından gelen ana makine adının kullanımını yasakla", + "base-url-required": "Temel URL gereklidir.", + "prohibit-different-url": "İstemci isteği başlıklarındaki ana makine adının kullanılmasını yasakla", "prohibit-different-url-hint": "Bu ayar üretim ortamları için etkinleştirilmelidir. Devre dışı bırakıldığında güvenlik sorunlarına neden olabilir", "device-connectivity": { "device-connectivity": "Cihaz bağlantısı", @@ -128,11 +232,11 @@ "mqtts": "MQTTs", "coap": "COAP", "coaps": "COAPs", - "hint": "Ev sahibi veya port alanları boşsa, varsayılan protokol değeri kullanılacaktır.", + "hint": "Sunucu veya port alanları boşsa, varsayılan protokol değeri kullanılacaktır.", "host": "Sunucu", "port": "Port", "port-pattern": "Port pozitif bir tamsayı olmalıdır.", - "port-range": "Port değeri 1 ile 65535 arasında olmalıdır." + "port-range": "Port 1 ile 65535 arasında olmalıdır." }, "mail-from": "Gönderen E-posta", "mail-from-required": "Gönderen E-posta gereklidir.", @@ -140,22 +244,22 @@ "smtp-host": "SMTP sunucusu", "smtp-host-required": "SMTP sunucusu gereklidir.", "smtp-port": "SMTP portu", - "smtp-port-required": "SMTP portu sağlamalısınız.", + "smtp-port-required": "SMTP portu girilmelidir.", "smtp-port-invalid": "Geçerli bir SMTP portu gibi görünmüyor.", "timeout-msec": "Zaman aşımı (milisaniye)", - "timeout-required": "Zaman aşımı değeri gereklidir.", + "timeout-required": "Zaman aşımı gereklidir.", "timeout-invalid": "Geçerli bir zaman aşımı değeri gibi görünmüyor.", - "enable-tls": "TLS'i etkinleştir", + "enable-tls": "TLS'yi etkinleştir", "tls-version": "TLS sürümü", - "enable-proxy": "Proxy'i etkinleştir", + "enable-proxy": "Proxy'yi etkinleştir", "proxy-host": "Proxy sunucusu", "proxy-host-required": "Proxy sunucusu gereklidir.", "proxy-port": "Proxy portu", "proxy-port-required": "Proxy portu gereklidir.", "proxy-port-range": "Proxy portu 1 ile 65535 arasında olmalıdır.", "proxy-user": "Proxy kullanıcısı", - "proxy-password": "Proxy şifresi", - "change-password": "Şifreyi değiştir", + "proxy-password": "Proxy parolası", + "change-password": "Parolayı değiştir", "send-test-mail": "Test e-postası gönder", "use-system-mail-settings": "Sistem Posta Sunucusu Ayarlarını Kullan", "mail-templates": "E-posta şablonları", @@ -167,8 +271,8 @@ "activation": "Hesap etkinleştirme mesajı", "account-activated": "Hesap etkinleştirildi mesajı", "account-lockout": "Hesap kilitlenme mesajı", - "reset-password": "Şifre sıfırlama mesajı", - "password-was-reset": "Şifre sıfırlandı mesajı", + "reset-password": "Parola sıfırlama mesajı", + "password-was-reset": "Parola sıfırlandı mesajı", "api-usage-state-enabled": "API kullanım durumu etkin", "api-usage-state-warning": "API kullanım durumu uyarısı", "api-usage-state-disabled": "API kullanım durumu devre dışı", @@ -184,10 +288,10 @@ "sms-provider-type-aws-sns": "Amazon SNS", "sms-provider-type-twilio": "Twilio", "sms-provider-type-smpp": "SMPP", - "aws-access-key-id": "AWS Access Key ID", - "aws-access-key-id-required": "AWS Access Key ID gereklidir", - "aws-secret-access-key": "AWS Secret Access Key", - "aws-secret-access-key-required": "AWS Secret Access Key gereklidir", + "aws-access-key-id": "AWS Erişim Anahtarı Kimliği", + "aws-access-key-id-required": "AWS Erişim Anahtarı Kimliği gereklidir", + "aws-secret-access-key": "AWS Gizli Erişim Anahtarı", + "aws-secret-access-key-required": "AWS Gizli Erişim Anahtarı gereklidir", "aws-region": "AWS Bölgesi", "aws-region-required": "AWS Bölgesi gereklidir", "number-from": "Gönderen Telefon Numarası", @@ -203,18 +307,18 @@ "sms-message-max-length": "SMS mesajı 1600 karakterden uzun olamaz", "twilio-account-sid": "Twilio Hesap SID", "twilio-account-sid-required": "Twilio Hesap SID gereklidir", - "twilio-account-token": "Twilio Hesap Token", - "twilio-account-token-required": "Twilio Hesap Token gereklidir", + "twilio-account-token": "Twilio Hesap Belirteci", + "twilio-account-token-required": "Twilio Hesap Belirteci gereklidir", "send-test-sms": "Test SMS gönder", "test-sms-sent": "Test SMS başarıyla gönderildi!", "security-settings": "Güvenlik ayarları", - "password-policy": "Şifre politikası", - "minimum-password-length": "Minimum şifre uzunluğu", - "minimum-password-length-required": "Minimum şifre uzunluğu gereklidir", - "minimum-password-length-range": "Minimum şifre uzunluğu 6 ile 50 arasında olmalıdır", - "maximum-password-length": "Maksimum şifre uzunluğu", - "maximum-password-length-min": "Maksimum şifre uzunluğu en az 6 olmalıdır", - "maximum-password-length-less-min": "Maksimum şifre uzunluğu minimum değerden büyük olmalıdır", + "password-policy": "Parola politikası", + "minimum-password-length": "Minimum parola uzunluğu", + "minimum-password-length-required": "Minimum parola uzunluğu gereklidir", + "minimum-password-length-range": "Minimum parola uzunluğu 6 ile 50 arasında olmalıdır", + "maximum-password-length": "Maksimum parola uzunluğu", + "maximum-password-length-min": "Maksimum parola uzunluğu en az 6 olmalıdır", + "maximum-password-length-less-min": "Maksimum parola uzunluğu minimum değerden büyük olmalıdır", "minimum-uppercase-letters": "Minimum büyük harf sayısı", "minimum-uppercase-letters-range": "Minimum büyük harf sayısı negatif olamaz", "minimum-lowercase-letters": "Minimum küçük harf sayısı", @@ -223,21 +327,21 @@ "minimum-digits-range": "Minimum rakam sayısı negatif olamaz", "minimum-special-characters": "Minimum özel karakter sayısı", "minimum-special-characters-range": "Minimum özel karakter sayısı negatif olamaz", - "password-expiration-period-days": "Şifre geçerlilik süresi (gün)", - "password-expiration-period-days-range": "Şifre geçerlilik süresi negatif olamaz", - "password-reuse-frequency-days": "Şifre tekrar kullanma sıklığı (gün)", - "password-reuse-frequency-days-range": "Şifre tekrar kullanma süresi negatif olamaz", + "password-expiration-period-days": "Parola geçerlilik süresi (gün)", + "password-expiration-period-days-range": "Parola geçerlilik süresi negatif olamaz", + "password-reuse-frequency-days": "Parola tekrar kullanma sıklığı (gün)", + "password-reuse-frequency-days-range": "Parola tekrar kullanma süresi negatif olamaz", "allow-whitespace": "Boşluk karakterine izin ver", - "force-reset-password-if-no-valid": "Geçerli değilse şifre sıfırlamayı zorla", - "force-reset-password-if-no-valid-hint": "Bu özelliği etkinleştirirken dikkatli olun: Geçersiz şifreye sahip kullanıcıların e-posta ile şifre sıfırlaması gerekecektir.", + "force-reset-password-if-no-valid": "Geçerli değilse parola sıfırlamayı zorla", + "force-reset-password-if-no-valid-hint": "Bu özelliği etkinleştirirken dikkatli olun: Geçersiz parolaya sahip kullanıcıların e-posta ile parola sıfırlaması gerekecektir.", "general-policy": "Genel politika", "max-failed-login-attempts": "Hesap kilitlenmeden önce izin verilen maksimum başarısız giriş denemesi", "minimum-max-failed-login-attempts-range": "Maksimum başarısız giriş denemesi negatif olamaz", "user-lockout-notification-email": "Kullanıcı hesabı kilitlenirse e-posta bildirimi gönder", "user-activation-token-ttl": "Kullanıcı etkinleştirme bağlantısı TTL (saat)", "user-activation-token-ttl-range": "Kullanıcı etkinleştirme bağlantısı süresi 1 ile 24 saat arasında olmalıdır", - "password-reset-token-ttl": "Şifre sıfırlama bağlantısı TTL (saat)", - "password-reset-token-ttl-range": "Şifre sıfırlama bağlantısı süresi 1 ile 24 saat arasında olmalıdır", + "password-reset-token-ttl": "Parola sıfırlama bağlantısı TTL (saat)", + "password-reset-token-ttl-range": "Parola sıfırlama bağlantısı süresi 1 ile 24 saat arasında olmalıdır", "mobile-secret-key-length": "Mobil gizli anahtar uzunluğu", "mobile-secret-key-length-range": "Mobil gizli anahtar uzunluğu pozitif olmalıdır", "domain-name": "Alan adı", @@ -258,46 +362,46 @@ "authorization-uri": "Yetkilendirme URI'si", "authorization-uri-required": "Yetkilendirme URI'si gereklidir.", "add-client": "OAuth 2.0 istemcisi ekle", - "client-details": "OAuth 2.0 istemci detayları", - "client": "OAuth 2.0 istemci", + "client-details": "OAuth 2.0 istemci ayrıntıları", + "client": "OAuth 2.0 istemcisi", "clients": "OAuth 2.0 istemcileri", "no-oauth2-clients": "OAuth 2.0 istemcisi bulunamadı", "search-oauth2-clients": "OAuth 2.0 istemcileri ara", - "delete-client-title": "OAuth 2.0 istemcisi '{{clientName}}' silinsin mi?", + "delete-client-title": "'{{clientName}}' adlı OAuth 2.0 istemcisini silmek istediğinizden emin misiniz?", "delete-client-text": "Dikkatli olun, onaydan sonra istemci ve tüm ilişkili veriler geri alınamaz hale gelecektir.", - "delete-mobile-app-title": "Mobil uygulama '{{applicationName}}' silinsin mi?", + "delete-mobile-app-title": "'{{applicationName}}' adlı mobil uygulamayı silmek istediğinizden emin misiniz?", "delete-mobile-app-text": "Dikkatli olun, onaydan sonra mobil uygulama ve tüm ilişkili veriler geri alınamaz hale gelecektir.", "title": "Başlık", "client-title-required": "Başlık gereklidir", "client-title-max-length": "Başlık 100 karakterden kısa olmalıdır", "advanced-settings": "Gelişmiş ayarlar", - "domain-details": "Alan adı detayları", + "domain-details": "Alan adı ayrıntıları", "no-domains": "Alan adı bulunamadı", "search-domains": "Alan adlarını ara", - "mobile-app-details": "Mobil uygulama detayları", + "mobile-app-details": "Mobil uygulama ayrıntıları", "add-mobile-app": "Mobil uygulama ekle", "no-mobile-apps": "Mobil uygulama bulunamadı", "search-mobile-apps": "Mobil uygulama ara", "send-token": "Belirteç gönder", "create-new": "Yeni oluştur", "client-authentication-method": "İstemci kimlik doğrulama yöntemi", - "client-id": "İstemci ID", - "client-id-required": "İstemci ID gereklidir.", + "client-id": "İstemci Kimliği", + "client-id-required": "İstemci Kimliği gereklidir.", "client-id-max-length": "İstemci ID 256 karakterden kısa olmalıdır", "client-secret": "İstemci gizli anahtarı", "client-secret-required": "İstemci gizli anahtarı gereklidir.", "client-secret-max-length": "Gizli anahtar 2049 karakterden kısa olmalıdır", - "custom-setting": "Özel ayar", - "customer-name-pattern": "Müşteri adı desen", + "custom-setting": "Özel ayarlar", + "customer-name-pattern": "Müşteri adı deseni", "customer-name-pattern-max-length": "Müşteri adı deseni 256 karakterden kısa olmalıdır", "parent-customer-name-pattern": "Üst müşteri adı deseni", "user-groups-name-pattern": "Kullanıcı grubu adı deseni", - "default-dashboard-name": "Varsayılan kontrol paneli adı", - "default-dashboard-name-max-length": "Varsayılan kontrol paneli adı 256 karakterden kısa olmalıdır", + "default-dashboard-name": "Varsayılan pano adı", + "default-dashboard-name-max-length": "Varsayılan pano adı 256 karakterden kısa olmalıdır", "delete-domain-text": "Dikkatli olun, onaydan sonra alan adı ve tüm sağlayıcı verileri kullanılamaz hale gelecektir.", - "delete-domain-title": "Alan adı '{{domainName}}' silinsin mi?", + "delete-domain-title": "'{{domainName}}' alan adını silmek istediğinizden emin misiniz?", "delete-registration-text": "Dikkatli olun, onaydan sonra sağlayıcı verisi kullanılamaz hale gelecektir.", - "delete-registration-title": "Sağlayıcı '{{name}}' silinsin mi?", + "delete-registration-title": "'{{name}}' adlı sağlayıcıyı silmek istediğinizden emin misiniz?", "email-attribute-key": "E-posta öznitelik anahtarı", "email-attribute-key-required": "E-posta öznitelik anahtarı gereklidir.", "email-attribute-key-max-length": "E-posta öznitelik anahtarı 32 karakterden kısa olmalıdır", @@ -315,7 +419,7 @@ "mapper": "Eşleyici", "new-domain": "Yeni alan adı", "oauth2": "OAuth 2.0", - "password-max-length": "Şifre 256 karakterden kısa olmalıdır", + "password-max-length": "Parola 256 karakterden kısa olmalıdır", "redirect-uri-template": "Yönlendirme URI şablonu", "copy-redirect-uri": "Yönlendirme URI'sini kopyala", "registration-id": "Kayıt ID'si", @@ -351,13 +455,13 @@ "mobile-apps": "Mobil uygulamalar", "mobile-package": "Uygulama paketi", "mobile-package-placeholder": "Örn.: my.example.app", - "mobile-package-hint": "Android için: kendinize ait benzersiz Uygulama ID'si. iOS için: Ürün paket tanımlayıcısı.", + "mobile-package-hint": "Android için: benzersiz Uygulama Kimliğiniz. iOS için: Ürün paket tanımlayıcısı.", "mobile-package-unique": "Uygulama paketi benzersiz olmalıdır.", "mobile-package-required": "Uygulama paketi gereklidir.", "mobile-package-max-length": "Uygulama paketi 256 karakterden kısa olmalıdır", "mobile-package-spaces": "Uygulama paketi boşluk içeremez", "mobile-app-secret": "Uygulama gizli anahtarı", - "mobile-app-secret-hint": "En az 512 bit veri temsil eden Base64 kodlu string.", + "mobile-app-secret-hint": "En az 512 bitlik veriyi temsil eden Base64 kodlu dize.", "mobile-app-secret-required": "Uygulama gizli anahtarı gereklidir.", "mobile-app-secret-min-length": "Uygulama gizli anahtarı en az 512 bit veri içermelidir.", "mobile-app-secret-base64": "Uygulama gizli anahtarı base64 formatında olmalıdır.", @@ -405,8 +509,8 @@ "smpp-port-required": "SMPP portu gereklidir", "system-id": "Sistem ID", "system-id-required": "Sistem ID gereklidir", - "password": "Şifre", - "password-required": "Şifre gereklidir", + "password": "Parola", + "password-required": "Parola gereklidir", "type-settings": "Tür ayarları", "source-settings": "Kaynak ayarları", "destination-settings": "Hedef ayarları", @@ -443,9 +547,9 @@ "npi-wap-client-id": "18 - WAP İstemci ID (WAP Forumu tarafından tanımlanacak)", "scheme-smsc": "0 - SMSC Varsayılan Alfabe (Kısa ve uzun kod için ASCII, ücretsiz için GSM)", "scheme-ia5": "1 - IA5 (Kısa ve uzun kod için ASCII, ücretsiz için Latin 9 (ISO-8859-9))", - "scheme-octet-unspecified-2": "2 - Oktet Belirsiz (8-bit ikili)", + "scheme-octet-unspecified-2": "2 - Belirtilmemiş Oktet (8-bit ikili)", "scheme-latin-1": "3 - Latin 1 (ISO-8859-1)", - "scheme-octet-unspecified-4": "4 - Oktet Belirsiz (8-bit ikili)", + "scheme-octet-unspecified-4": "4 - Belirtilmemiş Oktet (8-bit ikili)", "scheme-jis": "5 - JIS (X 0208-1990)", "scheme-cyrillic": "6 - Kiril (ISO-8859-5)", "scheme-latin-hebrew": "7 - Latin/İbranice (ISO-8859-8)", @@ -472,11 +576,11 @@ "show-merge-commits": "Birleştirme commit'lerini göster", "authentication-settings": "Kimlik doğrulama ayarları", "auth-method": "Kimlik doğrulama yöntemi", - "auth-method-username-password": "Şifre / erişim belirteci", + "auth-method-username-password": "Parola / erişim belirteci", "auth-method-username-password-hint": "GitHub kullanıcıları mutlaka depo üzerinde yazma yetkisi olan erişim belirteçlerini kullanmalıdır.", "auth-method-private-key": "Özel anahtar", - "password-access-token": "Şifre / erişim belirteci", - "change-password-access-token": "Şifre / erişim belirtecini değiştir", + "password-access-token": "Parola / erişim belirteci", + "change-password-access-token": "Parola / erişim belirtecini değiştir", "private-key": "Özel anahtar", "drop-private-key-file-or": "Bir özel anahtar dosyası sürükleyip bırakın veya", "passphrase": "Parola", @@ -486,15 +590,15 @@ "check-repository-access-success": "Depo erişimi başarıyla doğrulandı!", "delete-repository-settings-title": "Depo ayarlarını silmek istediğinizden emin misiniz?", "delete-repository-settings-text": "Dikkatli olun, onaydan sonra depo ayarları silinecek ve sürüm kontrolü özelliği kullanılamaz hale gelecektir.", - "auto-commit-settings": "Otomatik işlem ayarları", - "auto-commit": "Otomatik işlem", - "auto-commit-entities": "Otomatik işlem varlıkları", - "no-auto-commit-entities-prompt": "Otomatik işlem için yapılandırılmış varlık yok", - "delete-auto-commit-settings-title": "Otomatik işlem ayarlarını silmek istediğinizden emin misiniz?", - "delete-auto-commit-settings-text": "Dikkatli olun, onaydan sonra otomatik işlem ayarları silinecek ve tüm varlıklar için otomatik işlem devre dışı kalacaktır.", + "auto-commit-settings": "Otomatik commit ayarları", + "auto-commit": "Otomatik commit", + "auto-commit-entities": "Otomatik commit öğeleri", + "no-auto-commit-entities-prompt": "Otomatik commit için yapılandırılmış öğe yok", + "delete-auto-commit-settings-title": "Otomatik commit ayarlarını silmek istediğinizden emin misiniz?", + "delete-auto-commit-settings-text": "Dikkatli olun, onaydan sonra otomatik commit ayarları silinecek ve tüm öğeler için otomatik commit devre dışı kalacaktır.", "mobile-app": { "mobile-app": "Mobil uygulama", - "mobile-app-qr-code-widget-settings": "Mobil uygulama QR kod bileşeni ayarları", + "mobile-app-qr-code-widget-settings": "Mobil uygulama QR kod widget'ı ayarları", "applications": "Uygulamalar", "default": "Varsayılan", "custom": "Özel", @@ -514,7 +618,7 @@ "preview": "Önizleme", "connect-mobile-app": "Mobil uygulamayı bağla", "use-system-settings": "Sistem ayarlarını kullan", - "warning-not-set-white-labeling": "Bu ayarlar, Giriş beyaz etiketlemede Temel URL belirtilmeden uygulanamaz. QR kod bileşeni ayarlarını düzenlemeden önce ", + "warning-not-set-white-labeling": "Bu ayarlar, giriş ekranı White labeling bölümünde Temel URL belirtilmeden uygulanamaz. QR kod widget'ı ayarlarını düzenlemeden önce şunu ayarlayın:", "base-url": "Temel URL" }, "2fa": { @@ -532,22 +636,22 @@ "number-of-codes-pattern": "Kod sayısı pozitif bir tamsayı olmalıdır.", "number-of-codes-required": "Kod sayısı gereklidir.", "provider": "Sağlayıcı", - "retry-verification-code-period": "Doğrulama kodu tekrar deneme süresi (sn)", + "retry-verification-code-period": "Doğrulama kodu tekrar deneme süresi", "retry-verification-code-period-pattern": "Minimum süre 5 saniyedir", "retry-verification-code-period-required": "Doğrulama kodu tekrar deneme süresi gereklidir.", - "total-allowed-time-for-verification": "Toplam izin verilen doğrulama süresi (sn)", + "total-allowed-time-for-verification": "Toplam izin verilen doğrulama süresi", "total-allowed-time-for-verification-pattern": "Minimum toplam süre 60 saniyedir", "total-allowed-time-for-verification-required": "Toplam izin verilen süre gereklidir.", "use-system-two-factor-auth-settings": "Sistem iki faktörlü doğrulama ayarlarını kullan", - "verification-code-check-rate-limit": "Doğrulama kodu kontrol sınırı", - "verification-code-lifetime": "Doğrulama kodu geçerlilik süresi (sn)", + "verification-code-check-rate-limit": "Doğrulama kodu kontrol hızı sınırı", + "verification-code-lifetime": "Doğrulama kodu geçerlilik süresi", "verification-code-lifetime-pattern": "Doğrulama kodu geçerlilik süresi pozitif bir tamsayı olmalıdır.", "verification-code-lifetime-required": "Doğrulama kodu geçerlilik süresi gereklidir.", "verification-message-template": "Doğrulama mesajı şablonu", "verification-limitations": "Doğrulama sınırlamaları", "verification-message-template-pattern": "Doğrulama mesajı şu deseni içermelidir: ${code}", "verification-message-template-required": "Doğrulama mesajı şablonu gereklidir.", - "within-time": "Belirli süre içinde (sn)", + "within-time": "Zaman aralığı", "within-time-pattern": "Süre pozitif bir tamsayı olmalıdır.", "within-time-required": "Süre gereklidir.", "force-2fa": "İki Faktörlü Kimlik Doğrulamayı Zorunlu Kıl", @@ -558,7 +662,7 @@ "issuer-name": "Yayımlayıcı adı", "issuer-name-required": "Yayımlayıcı adı gereklidir.", "signings-key": "İmzalama anahtarı", - "signings-key-hint": "En az 512 bit veri temsil eden Base64 kodlu string.", + "signings-key-hint": "En az 512 bitlik veriyi temsil eden Base64 kodlu dize.", "signings-key-required": "İmzalama anahtarı gereklidir.", "signings-key-min-length": "İmzalama anahtarı en az 512 bit veri içermelidir.", "signings-key-base64": "İmzalama anahtarı base64 formatında olmalıdır.", @@ -578,7 +682,7 @@ "resources": "Kaynaklar", "notifications": "Bildirimler", "notifications-settings": "Bildirim ayarları", - "slack-api-token": "Slack API anahtarı", + "slack-api-token": "Slack API belirteci", "slack": "Slack", "slack-settings": "Slack ayarları", "mobile-settings": "Mobil ayarlar", @@ -587,27 +691,31 @@ "use-system-mobile-settings": "Sistem mobil ayarlarını kullan" }, "ai-assistant": { - "configure-with-ai": "AI ile yapılandır", + "configure-with-ai": "Yapay zeka ile yapılandır", "follow-up-prompt-placeholder": "Yanıtla...", - "sub-title": "Cihazlarınızı, panolarınızı, hesaplanan alanlarınızı, alarm kurallarınızı ve bildirimlerinizi kurmanıza ve yönetmenize yardımcı olabilirim — ne istediğinizi açıklamanız yeterli, gerisini ben hallederim.", + "sub-title": "Cihazlarınızı, panolarınızı, hesaplanmış alanlarınızı, alarm kurallarınızı ve bildirimlerinizi kurmanıza ve yönetmenize yardımcı olabilirim — ne istediğinizi açıklamanız yeterli, gerisini ben hallederim.", "new-chat": "Yeni sohbet", "no-chats": "Henüz sohbet yok", "today": "Bugün", "yesterday": "Dün", "last-7-days": "Son 7 gün", "older": "Daha eski", - "delete-chat-title": "'{{name}}' öğesini silmek istediğinizden emin misiniz?", + "delete-chat-title": "'{{name}}' sohbetini silmek istediğinizden emin misiniz?", "delete-chat-text": "Tüm sohbet mesajları kaybolacak", "delete-chat-confirm": "Evet, sil", "action-approval-required": "İşlem onayı gerekli", "approve": "Onayla", + "approve-all": "Sonraki tüm eylemleri onayla", "deny": "Reddet", "processing": "İşleniyor...", "approved": "Tamamlandı", "denied": "Reddedildi", "error": "Başarısız", "thinking": "Düşünüyor...", + "connection-lost": "Yapay zeka asistanı ile bağlantı kesildi. Yeniden bağlanılıyor...", + "reconnect-failed": "Yapay zeka asistanına yeniden bağlanılamadı. Yanıtını görmek için sohbeti yeniden açın.", "rename-chat-title": "Bu sohbeti yeniden adlandır", + "export-chat": "Sohbeti dışa aktar", "main-title": "Merhaba! Ben yapay zeka asistanınızım" }, "alarm": { @@ -631,10 +739,10 @@ "UNACK": "Onaylanmadı" }, "display-status": { - "ACTIVE_UNACK": "Aktif Onaylanmamış", - "ACTIVE_ACK": "Aktif Onaylanmış", - "CLEARED_UNACK": "Temizlendi Onaylanmamış", - "CLEARED_ACK": "Temizlendi Onaylanmış" + "ACTIVE_UNACK": "Aktif, onaylanmadı", + "ACTIVE_ACK": "Aktif, onaylandı", + "CLEARED_UNACK": "Temizlendi, onaylanmadı", + "CLEARED_ACK": "Temizlendi, onaylandı" }, "no-alarms-prompt": "Alarm bulunamadı", "created-time": "Oluşturulma zamanı", @@ -642,20 +750,20 @@ "severity": "Önem derecesi", "originator": "Başlatan", "originator-type": "Başlatan türü", - "details": "Detaylar", + "details": "Ayrıntılar", "originator-label": "Başlatan etiketi", "assign": "Ata", "assignments": "Atamalar", "assignee": "Atanan kişi", - "assignee-id": "Atanan ID", - "assignee-first-name": "Atanan ad", - "assignee-last-name": "Atanan soyad", - "assignee-email": "Atanan e-posta", + "assignee-id": "Atanan kişinin ID'si", + "assignee-first-name": "Atanan kişinin adı", + "assignee-last-name": "Atanan kişinin soyadı", + "assignee-email": "Atanan kişinin e-postası", "unassigned": "Atanmamış", "user-deleted": "Kullanıcı silindi", "assignee-not-set": "Tümü", "status": "Durum", - "alarm-details": "Alarm detayları", + "alarm-details": "Alarm ayrıntıları", "start-time": "Başlama zamanı", "assign-time": "Atanma zamanı", "end-time": "Bitiş zamanı", @@ -666,8 +774,8 @@ "alarm-severity-list": "Alarm önem derecesi listesi", "any-severity": "Herhangi bir önem derecesi", "severity-critical": "Kritik", - "severity-major": "Büyük", - "severity-minor": "Küçük", + "severity-major": "Majör", + "severity-minor": "Minör", "severity-warning": "Uyarı", "severity-indeterminate": "Belirsiz", "acknowledge": "Onayla", @@ -679,17 +787,17 @@ "polling-interval": "Alarm sorgulama aralığı (sn)", "polling-interval-required": "Alarm sorgulama aralığı gereklidir.", "min-polling-interval-message": "En az 1 saniye sorgulama aralığına izin verilir.", - "aknowledge-alarms-title": "{ count, plural, =1 {1 alarm} other {# alarm} } Onayla", - "aknowledge-alarms-text": "{ count, plural, =1 {1 alarm} other {# alarm} } onaylamak istediğinizden emin misiniz?", + "aknowledge-alarms-title": "{ count, plural, =1 {1 alarmı} other {# alarmı} } onayla", + "aknowledge-alarms-text": "{ count, plural, =1 {1 alarmı} other {# alarmı} } onaylamak istediğinizden emin misiniz?", "aknowledge-alarm-title": "Alarmı Onayla", "aknowledge-alarm-text": "Alarmı onaylamak istediğinizden emin misiniz?", "selected-alarms-are-acknowledged": "Seçilen alarmlar zaten onaylanmış", - "clear-alarms-title": "{ count, plural, =1 {1 alarm} other {# alarm} } Temizle", - "clear-alarms-text": "{ count, plural, =1 {1 alarm} other {# alarm} } temizlemek istediğinizden emin misiniz?", + "clear-alarms-title": "{ count, plural, =1 {1 alarmı} other {# alarmı} } temizle", + "clear-alarms-text": "{ count, plural, =1 {1 alarmı} other {# alarmı} } temizlemek istediğinizden emin misiniz?", "clear-alarm-title": "Alarmı Temizle", "clear-alarm-text": "Alarmı temizlemek istediğinizden emin misiniz?", - "delete-alarms-title": "{ count, plural, =1 {1 alarm} other {# alarm} } Sil", - "delete-alarms-text": "{ count, plural, =1 {1 alarm} other {# alarm} } silmek istediğinizden emin misiniz?", + "delete-alarms-title": "{ count, plural, =1 {1 alarmı} other {# alarmı} } sil", + "delete-alarms-text": "{ count, plural, =1 {1 alarmı} other {# alarmı} } silmek istediğinizden emin misiniz?", "selected-alarms-are-cleared": "Seçilen alarmlar zaten temizlenmiş", "alarm-status-filter": "Alarm Durum Filtresi", "alarm-filter-title": "Alarm Filtresi", @@ -705,7 +813,7 @@ "alarm-type-list": "Alarm türü listesi", "any-type": "Herhangi bir tür", "assigned-to-current-user": "Geçerli kullanıcıya atanmış", - "assigned-to-me": "Bana atanmış", + "assigned-to-me": "Bana atanan", "search-propagated-alarms": "Yayılan alarmlarda ara", "comments": "Alarm yorumları", "show-more": "Daha fazla göster", @@ -713,15 +821,15 @@ "alarm-type": "Alarm türü", "enter-alarm-type": "Alarm türünü girin", "no-alarm-types-matching": "'{{entitySubtype}}' ile eşleşen alarm türü bulunamadı.", - "alarm-type-list-empty": "Seçilmiş alarm türü yok.", + "alarm-type-list-empty": "Hiç alarm türü seçilmedi.", "system-comments": { "acked-by-user": "Alarm, {{userName}} adlı kullanıcı tarafından onaylandı", "cleared-by-user": "Alarm, {{userName}} adlı kullanıcı tarafından temizlendi", "assigned-to-user": "Alarm, {{userName}} adlı kullanıcı tarafından {{assigneeName}} adlı kullanıcıya atandı", - "unassigned-to-user": "Alarm, {{userName}} adlı kullanıcı tarafından atamadan çıkarıldı", - "unassigned-from-deleted-user": "{{userName}} adlı kullanıcı silindiği için alarm atamadan çıkarıldı", - "comment-deleted": "{{userName}} adlı kullanıcı yorumunu sildi", - "severity-changed": "Alarm önceliği {{oldSeverity}} değerinden {{newSeverity}} değerine güncellendi" + "unassigned-to-user": "Alarmın ataması {{userName}} adlı kullanıcı tarafından kaldırıldı", + "unassigned-from-deleted-user": "{{userName}} adlı kullanıcı silindiği için alarmın ataması kaldırıldı", + "comment-deleted": "Yorum, {{userName}} adlı kullanıcı tarafından silindi", + "severity-changed": "Alarm önem derecesi {{oldSeverity}} değerinden {{newSeverity}} değerine güncellendi" } }, "alarm-activity": { @@ -730,8 +838,8 @@ "comments": "Yorumlar", "delete-alarm-comment": "Bu yorumu silmek istiyor musunuz?", "refresh": "Yenile", - "oldest-first": "En eskiden", - "newest-first": "En yeniden", + "oldest-first": "Önce en eski", + "newest-first": "Önce en yeni", "activity": "Aktivite", "export": "CSV'ye dışa aktar", "author": "Yazar", @@ -744,97 +852,97 @@ "add": "Takma ad ekle", "edit": "Takma adı düzenle", "name": "Takma ad adı", - "name-required": "Takma ad adı gerekli", + "name-required": "Takma ad gereklidir", "duplicate-alias": "Aynı adda bir takma ad zaten mevcut.", - "filter-type-single-entity": "Tek varlık", - "filter-type-entity-group": "Varlık grubu", - "filter-type-entity-list": "Varlık listesi", - "filter-type-entity-name": "Varlık adı", - "filter-type-entity-type": "Varlık türü", - "filter-type-entity-group-list": "Varlık grubu listesi", - "filter-type-entity-group-name": "Varlık grubu adı", - "filter-type-entities-by-group-name": "Grup adına göre varlıklar", - "filter-type-state-entity": "Pano durumundan varlık", - "filter-type-state-entity-originator": "Başlatan varlık", - "filter-type-state-entity-master-report": "Ana rapordan varlık", - "filter-type-state-entity-description": "Pano durumu parametrelerinden alınan varlık", - "filter-type-state-entity-originator-description": "Başlatan varlık", - "filter-type-state-entity-master-report-description": "Ana rapor tarafından ayarlanan varlık", - "filter-type-state-entity-owner": "Pano durumundan varlığın sahibi", - "filter-type-state-entity-owner-originator": "Başlatan varlığın sahibi", - "filter-type-state-entity-owner-master-report": "Ana rapordan varlığın sahibi", - "filter-type-state-entity-owner-description": "Pano durumu parametrelerinden alınan varlığın sahibi", - "filter-type-state-entity-owner-originator-description": "Başlatan varlığın sahibi", - "filter-type-state-entity-owner-master-report-description": "Ana rapor tarafından ayarlanan varlığın sahibi", + "filter-type-single-entity": "Tek öğe", + "filter-type-entity-group": "Öğe grubu", + "filter-type-entity-list": "Öğe listesi", + "filter-type-entity-name": "Öğe adı", + "filter-type-entity-type": "Öğe türü", + "filter-type-entity-group-list": "Öğe grubu listesi", + "filter-type-entity-group-name": "Öğe grubu adı", + "filter-type-entities-by-group-name": "Grup adına göre öğeler", + "filter-type-state-entity": "Pano durumundan öğe", + "filter-type-state-entity-originator": "Başlatan öğe", + "filter-type-state-entity-master-report": "Ana rapordan öğe", + "filter-type-state-entity-description": "Pano durumu parametrelerinden alınan öğe", + "filter-type-state-entity-originator-description": "Başlatan öğe", + "filter-type-state-entity-master-report-description": "Ana rapor tarafından ayarlanan öğe", + "filter-type-state-entity-owner": "Pano durumundan öğenin sahibi", + "filter-type-state-entity-owner-originator": "Başlatan öğenin sahibi", + "filter-type-state-entity-owner-master-report": "Ana rapordan öğenin sahibi", + "filter-type-state-entity-owner-description": "Pano durumu parametrelerinden alınan öğenin sahibi", + "filter-type-state-entity-owner-originator-description": "Başlatan öğenin sahibi", + "filter-type-state-entity-owner-master-report-description": "Ana rapor tarafından ayarlanan öğenin sahibi", "filter-type-asset-type": "Varlık türü", "filter-type-asset-type-description": "'{{assetTypes}}' türündeki varlıklar", "filter-type-asset-type-and-name-description": "'{{assetTypes}}' türünde ve adı '{{prefix}}' ile başlayan varlıklar", "filter-type-device-type": "Cihaz türü", "filter-type-device-type-description": "'{{deviceTypes}}' türündeki cihazlar", "filter-type-device-type-and-name-description": "'{{deviceTypes}}' türünde ve adı '{{prefix}}' ile başlayan cihazlar", - "filter-type-entity-view-type": "Varlık Görünümü türü", - "filter-type-entity-view-type-description": "'{{entityViewTypes}}' türündeki Varlık Görünümleri", - "filter-type-entity-view-type-and-name-description": "'{{entityViewTypes}}' türünde ve adı '{{prefix}}' ile başlayan Varlık Görünümleri", + "filter-type-entity-view-type": "Öğe görünümü türü", + "filter-type-entity-view-type-description": "'{{entityViewTypes}}' türündeki öğe görünümleri", + "filter-type-entity-view-type-and-name-description": "'{{entityViewTypes}}' türünde ve adı '{{prefix}}' ile başlayan öğe görünümleri", "filter-type-edge-type": "Edge türü", "filter-type-edge-type-description": "'{{edgeTypes}}' türündeki Edge'ler", "filter-type-edge-type-and-name-description": "'{{edgeTypes}}' türünde ve adı '{{prefix}}' ile başlayan Edge'ler", "filter-type-relations-query": "İlişki sorgusu", - "filter-type-relations-query-description": "{{entities}}, {{relationType}} ilişkisine sahip {{direction}} {{rootEntity}}", + "filter-type-relations-query-description": "{{rootEntity}} öğesinin {{direction}} olduğu {{relationType}} ilişkisine sahip {{entities}}", "filter-type-edge-search-query": "Edge arama sorgusu", - "filter-type-edge-search-query-description": "{{edgeTypes}} türündeki ve {{relationType}} ilişkisine sahip {{direction}} {{rootEntity}} Edge'ler", + "filter-type-edge-search-query-description": "{{rootEntity}} öğesinin {{direction}} olduğu {{relationType}} ilişkisine sahip, {{edgeTypes}} türündeki Edge'ler", "filter-type-scheduler-event": "Zamanlayıcı olayları", "filter-type-scheduler-event-type-description": "'{{eventType}}' türündeki zamanlayıcı olayları", "filter-type-scheduler-event-originator-description": "Belirli bir başlatana ait zamanlayıcı olayları", "filter-type-scheduler-event-type-originator-description": "'{{eventType}}' türünde belirli bir başlatana ait zamanlayıcı olayları", "filter-type-asset-search-query": "Varlık arama sorgusu", - "filter-type-asset-search-query-description": "{{assetTypes}} türünde ve {{relationType}} ilişkisine sahip {{direction}} {{rootEntity}} varlıklar", + "filter-type-asset-search-query-description": "{{rootEntity}} öğesinin {{direction}} olduğu {{relationType}} ilişkisine sahip, {{assetTypes}} türündeki varlıklar", "filter-type-device-search-query": "Cihaz arama sorgusu", - "filter-type-device-search-query-description": "{{deviceTypes}} türünde ve {{relationType}} ilişkisine sahip {{direction}} {{rootEntity}} cihazlar", - "filter-type-entity-view-search-query": "Varlık görünümü arama sorgusu", - "filter-type-entity-view-search-query-description": "{{entityViewTypes}} türünde ve {{relationType}} ilişkisine sahip {{direction}} {{rootEntity}} varlık görünümleri", + "filter-type-device-search-query-description": "{{rootEntity}} öğesinin {{direction}} olduğu {{relationType}} ilişkisine sahip, {{deviceTypes}} türündeki cihazlar", + "filter-type-entity-view-search-query": "Öğe görünümü arama sorgusu", + "filter-type-entity-view-search-query-description": "{{entityViewTypes}} türünde ve {{relationType}} ilişkisine sahip {{direction}} {{rootEntity}} öğe görünümleri", "filter-type-apiUsageState": "API Kullanım Durumu", - "entity-filter": "Varlık filtresi", - "resolve-multiple": "Birden fazla varlık olarak çöz", - "resolve-multiple-hint": "Filtrelenen tüm varlıklardan verileri aynı anda göstermek için etkinleştirin. \nDevre dışı bırakıldığında, bileşen yalnızca seçilen varlıktan veri gösterir.", + "entity-filter": "Öğe filtresi", + "resolve-multiple": "Birden fazla öğe olarak çöz", + "resolve-multiple-hint": "Filtrelenen tüm öğelerden verileri aynı anda göstermek için etkinleştirin. \nDevre dışı bırakıldığında, widget yalnızca seçilen öğeden veri gösterir.", "filter-type": "Filtre türü", - "filter-type-required": "Filtre türü gerekli.", - "entity-filter-no-entity-matched": "Belirtilen filtreyle eşleşen varlık bulunamadı.", - "no-entity-filter-specified": "Herhangi bir varlık filtresi belirtilmedi", - "root-state-entity": "Kök olarak pano durumu varlığını kullan", - "root-originator-entity": "Kök olarak başlatan varlığı kullan", - "root-master-report-entity": "Kök olarak ana rapor varlığını kullan", - "group-state-entity": "Varlık grubu olarak pano durumu varlığını kullan", - "group-originator-entity": "Varlık grubu olarak başlatan varlığı kullan", - "group-master-report-entity": "Varlık grubu olarak ana rapor varlığını kullan", - "group-state-entity-owner": "Varlık grubu sahibi olarak pano durumu varlığını kullan", - "group-originator-entity-owner": "Varlık grubu sahibi olarak başlatan varlığı kullan", - "group-master-report-entity-owner": "Varlık grubu sahibi olarak ana rapor varlığını kullan", + "filter-type-required": "Filtre türü gereklidir.", + "entity-filter-no-entity-matched": "Belirtilen filtreyle eşleşen öğe bulunamadı.", + "no-entity-filter-specified": "Herhangi bir öğe filtresi belirtilmedi", + "root-state-entity": "Kök olarak pano durumu öğesini kullan", + "root-originator-entity": "Kök olarak başlatan öğeyi kullan", + "root-master-report-entity": "Kök olarak ana rapor öğesini kullan", + "group-state-entity": "Öğe grubu olarak pano durumu öğesini kullan", + "group-originator-entity": "Öğe grubu olarak başlatan öğeyi kullan", + "group-master-report-entity": "Öğe grubu olarak ana rapor öğesini kullan", + "group-state-entity-owner": "Öğe grubu sahibi olarak pano durumu öğesini kullan", + "group-originator-entity-owner": "Öğe grubu sahibi olarak başlatan öğeyi kullan", + "group-master-report-entity-owner": "Öğe grubu sahibi olarak ana rapor öğesini kullan", "last-level-relation": "Yalnızca son düzey ilişkiyi al", - "root-entity": "Kök varlık", - "state-entity-parameter-name": "Durum varlığı parametre adı", - "default-state-entity": "Varsayılan pano durumu varlığı", - "default-originator-entity": "Varsayılan başlatan varlık", - "default-master-report-entity": "Varsayılan ana rapor varlığı", - "default-state-entity-group": "Varsayılan pano durumu varlık grubu", - "default-originator-entity-group": "Varsayılan başlatan varlık grubu", - "default-master-report-entity-group": "Varsayılan ana rapor varlık grubu", + "root-entity": "Kök öğe", + "state-entity-parameter-name": "Durum öğesi parametre adı", + "default-state-entity": "Varsayılan pano durumu öğesi", + "default-originator-entity": "Varsayılan başlatan öğe", + "default-master-report-entity": "Varsayılan ana rapor öğesi", + "default-state-entity-group": "Varsayılan pano durumu öğe grubu", + "default-originator-entity-group": "Varsayılan başlatan öğe grubu", + "default-master-report-entity-group": "Varsayılan ana rapor öğe grubu", "default-entity-parameter-name": "Varsayılan olarak", "query-options": "Sorgu seçenekleri", "max-relation-level": "Maksimum ilişki düzeyi", "unlimited-level": "Sınırsız düzey", - "state-entity": "Pano durumu varlığı", - "originator-entity": "Başlatan varlık", - "master-report-entity": "Ana rapor varlığı", - "entities-of-group-state-entity": "Pano durumu varlık grubundaki varlıklar", - "entities-of-group-originator-entity": "Başlatan varlık grubundaki varlıklar", - "entities-of-group-master-report-entity": "Ana rapor varlık grubundaki varlıklar", - "all-entities": "Tüm varlıklar", + "state-entity": "Pano durumu öğesi", + "originator-entity": "Başlatan öğe", + "master-report-entity": "Ana rapor öğesi", + "entities-of-group-state-entity": "Pano durumu öğe grubundaki öğeler", + "entities-of-group-originator-entity": "Başlatan öğe grubundaki öğeler", + "entities-of-group-master-report-entity": "Ana rapor öğe grubundaki öğeler", + "all-entities": "Tüm öğeler", "any-relation": "herhangi", "originator": "Başlatan", - "originator-state-entity": "Başlatan olarak pano durumu varlığını kullan", - "originator-from-originator-entity": "Olay başlatanı olarak başlatan varlığı kullan", - "originator-master-report-entity": "Başlatan olarak ana rapordaki varlığı kullan", - "scheduler-event-type": "Zamanlayıcı etkinlik türü" + "originator-state-entity": "Başlatan olarak pano durumu öğesini kullan", + "originator-from-originator-entity": "Olay başlatanı olarak başlatan öğeyi kullan", + "originator-master-report-entity": "Başlatan olarak ana rapordaki öğeyi kullan", + "scheduler-event-type": "Zamanlayıcı olay türü" }, "asset": { "all": "Tümü", @@ -852,13 +960,13 @@ "assign-asset-to-customer-text": "Lütfen müşteriye atanacak varlıkları seçin", "no-assets-text": "Varlık bulunamadı", "assign-to-customer-text": "Lütfen varlık(ları) atayacağınız müşteriyi seçin", - "public": "Genel", + "public": "Herkese açık", "assignedToCustomer": "Müşteriye atanmış", - "make-public": "Varlığı genel yap", + "make-public": "Varlığı herkese açık yap", "make-private": "Varlığı özel yap", "unassign-from-customer": "Müşteriden atamayı kaldır", "delete": "Varlığı sil", - "asset-public": "Varlık geneldir", + "asset-public": "Varlık herkese açıktır", "asset-type": "Varlık türü", "asset-type-required": "Varlık türü gereklidir.", "select-asset-type": "Varlık türü seç", @@ -875,31 +983,31 @@ "description-required": "Açıklama gereklidir.", "type": "Tür", "type-required": "Tür gereklidir.", - "details": "Detaylar", + "details": "Ayrıntılar", "events": "Olaylar", "add-asset-text": "Yeni varlık ekle", - "asset-details": "Varlık detayları", + "asset-details": "Varlık ayrıntıları", "assign-assets": "Varlıkları ata", - "assign-assets-text": "{ count, plural, =1 {1 varlık} other {# varlık} } müşteriye ata", + "assign-assets-text": "{ count, plural, =1 {1 varlığı} other {# varlığı} } müşteriye ata", "assign-asset-to-edge-title": "Varlık(ları) Edge'e Ata", "assign-asset-to-edge-text": "Lütfen Edge'e atanacak varlıkları seçin", "delete-assets": "Varlıkları sil", "unassign-assets": "Varlıkların atamasını kaldır", - "unassign-assets-action-title": "{ count, plural, =1 {1 varlık} other {# varlık} } müşteriden atamasını kaldır", + "unassign-assets-action-title": "{ count, plural, =1 {1 varlığın} other {# varlığın} } müşteriden atamasını kaldır", "assign-new-asset": "Yeni varlık ata", "delete-asset-title": "'{{assetName}}' adlı varlığı silmek istediğinizden emin misiniz?", "delete-asset-text": "Dikkat! Onaydan sonra varlık ve tüm ilgili veriler geri alınamaz şekilde silinecektir.", - "delete-assets-title": "{ count, plural, =1 {1 varlık} other {# varlık} } silmek istediğinizden emin misiniz?", - "delete-assets-action-title": "{ count, plural, =1 {1 varlık} other {# varlık} } sil", + "delete-assets-title": "{ count, plural, =1 {1 varlığı} other {# varlığı} } silmek istediğinizden emin misiniz?", + "delete-assets-action-title": "{ count, plural, =1 {1 varlığı} other {# varlığı} } sil", "delete-assets-text": "Dikkat! Onaydan sonra tüm seçilen varlıklar silinecek ve ilgili tüm veriler geri alınamaz olacaktır.", - "make-public-asset-title": "'{{assetName}}' adlı varlığı genel yapmak istediğinizden emin misiniz?", - "make-public-asset-text": "Onaydan sonra varlık ve tüm verileri genel hale gelecek ve başkaları tarafından erişilebilir olacaktır.", + "make-public-asset-title": "'{{assetName}}' adlı varlığı herkese açık yapmak istediğinizden emin misiniz?", + "make-public-asset-text": "Onaydan sonra varlık ve tüm verileri herkese açık hale gelecek ve başkaları tarafından erişilebilir olacaktır.", "make-private-asset-title": "'{{assetName}}' adlı varlığı özel yapmak istediğinizden emin misiniz?", "make-private-asset-text": "Onaydan sonra varlık ve tüm verileri özel hale gelecek ve başkaları tarafından erişilemez olacaktır.", "unassign-asset-title": "'{{assetName}}' adlı varlığın atamasını kaldırmak istediğinizden emin misiniz?", "unassign-asset-text": "Onaydan sonra varlık atanmamış olacak ve müşteri tarafından erişilemeyecektir.", "unassign-asset": "Varlığın atamasını kaldır", - "unassign-assets-title": "{ count, plural, =1 {1 varlık} other {# varlık} } atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-assets-title": "{ count, plural, =1 {1 varlığın} other {# varlığın} } atamasını kaldırmak istediğinizden emin misiniz?", "unassign-assets-text": "Onaydan sonra seçilen tüm varlıklar atanmamış olacak ve müşteri tarafından erişilemeyecektir.", "copyId": "Varlık ID'sini kopyala", "idCopiedMessage": "Varlık ID'si panoya kopyalandı", @@ -911,7 +1019,7 @@ "search": "Varlıklarda ara", "select-group-to-add": "Seçilen varlıkları eklemek için hedef grubu seçin", "select-group-to-move": "Seçilen varlıkları taşımak için hedef grubu seçin", - "remove-assets-from-group": "{ count, plural, =1 {1 varlık} other {# varlık} } '{{entityGroup}}' grubundan kaldırmak istediğinizden emin misiniz?", + "remove-assets-from-group": "{ count, plural, =1 {1 varlığı} other {# varlığı} } '{{entityGroup}}' grubundan kaldırmak istediğinizden emin misiniz?", "group": "Varlık grubu", "list-of-groups": "{ count, plural, =1 {Bir varlık grubu} other {# varlık grubu listesi} }", "group-name-starts-with": "Adı '{{prefix}}' ile başlayan varlık grupları", @@ -922,7 +1030,7 @@ "unassign-asset-from-edge": "Varlığın atamasını kaldır", "unassign-asset-from-edge-title": "'{{assetName}}' adlı varlığın Edge atamasını kaldırmak istediğinizden emin misiniz?", "unassign-asset-from-edge-text": "Onaydan sonra varlık atanmamış olacak ve Edge tarafından erişilemeyecektir.", - "unassign-assets-from-edge-title": "{ count, plural, =1 {1 varlık} other {# varlık} } atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-assets-from-edge-title": "{ count, plural, =1 {1 varlığın} other {# varlığın} } atamasını kaldırmak istediğinizden emin misiniz?", "unassign-assets-from-edge-text": "Onaydan sonra tüm seçilen varlıklar atanmamış olacak ve Edge tarafından erişilemeyecektir.", "selected-assets": "{ count, plural, =1 {1 varlık} other {# varlık} } seçildi" }, @@ -930,7 +1038,7 @@ "attributes": "Öznitelikler", "latest-telemetry": "En son telemetri", "no-latest-telemetry": "En son telemetri bulunamadı", - "attributes-scope": "Varlık öznitelik kapsamı", + "attributes-scope": "Öğe öznitelik kapsamı", "scope-telemetry": "Telemetri", "scope-latest-telemetry": "En son telemetri", "scope-client": "İstemci öznitelikleri", @@ -955,12 +1063,13 @@ "delete-attributes-text": "Dikkat, onaydan sonra tüm seçilen öznitelikler silinecektir.", "delete-attributes": "Öznitelikleri sil", "enter-attribute-value": "Öznitelik değeri girin", - "show-on-widget": "Bileşende göster", - "widget-mode": "Bileşen modu", - "next-widget": "Sonraki bileşen", - "prev-widget": "Önceki bileşen", - "add-to-dashboard": "Gösterge paneline ekle", - "add-widget-to-dashboard": "Bileşeni gösterge paneline ekle", + "show-on-widget": "Widget'ta göster", + "widget-mode": "Widget modu", + "next-widget": "Sonraki widget", + "prev-widget": "Önceki widget", + "add-to-dashboard": "Panoya ekle", + "add-widget-to-dashboard": "Widget'ı panoya ekle", + "no-widget-grid-in-dashboard": "Bu panonun tüm durumları HTML sayfalarıdır, bu nedenle widget bu panoya eklenemez.", "selected-attributes": "{ count, plural, =1 {1 öznitelik} other {# öznitelik} } seçildi", "selected-telemetry": "{ count, plural, =1 {1 telemetri birimi} other {# telemetri birimi} } seçildi", "no-attributes-text": "Öznitelik bulunamadı", @@ -996,14 +1105,14 @@ "alarms-created-monthly-activity": "Aylık oluşturulan alarmlar", "data-points": "Veri noktaları", "data-points-storage-days": "Veri noktası saklama süresi (gün)", - "data-points-storage-days-hourly-activity": "Veri noktaları depolama günleri saatlik etkinlik", - "data-points-storage-days-daily-activity": "Veri noktaları depolama günleri günlük etkinlik", - "data-points-storage-days-monthly-activity": "Veri noktaları depolama günleri aylık etkinlik", + "data-points-storage-days-hourly-activity": "Veri noktası depolama günlerinin saatlik etkinliği", + "data-points-storage-days-daily-activity": "Veri noktası depolama günlerinin günlük etkinliği", + "data-points-storage-days-monthly-activity": "Veri noktası depolama günlerinin aylık etkinliği", "device-api": "Cihaz API'si", "email": "E-posta", "email-messages": "E-posta mesajları", - "email-messages-daily-activity": "Günlük e-posta mesajları", - "email-messages-monthly-activity": "Aylık e-posta mesajları", + "email-messages-daily-activity": "E-posta mesajlarının günlük etkinliği", + "email-messages-monthly-activity": "E-posta mesajlarının aylık etkinliği", "executions": "Çalıştırmalar", "scripts": "Komut dosyaları", "scripts-hourly-activity": "Saatlik komut dosyası etkinliği", @@ -1025,71 +1134,75 @@ "rule-chain": "Kural Zinciri", "rule-engine": "Kural Motoru", "rule-engine-executions": "Kural Motoru çalıştırmaları", - "rule-engine-hourly-activity": "Kural Motoru saatlik etkinliği", + "rule-engine-hourly-activity": "Kural Motorunun saatlik etkinliği", "rule-engine-daily-activity": "Kural Motoru günlük etkinliği", - "rule-engine-monthly-activity": "Kural Motoru aylık etkinliği", + "rule-engine-monthly-activity": "Kural Motorunun aylık etkinliği", "rule-engine-statistics": "Kural Motoru İstatistikleri", "rule-node": "Kural Düğümü", "sms": "SMS", "sms-messages": "SMS mesajları", - "sms-messages-hourly-activity": "SMS mesajları saatlik etkinlik", - "sms-messages-daily-activity": "Günlük SMS mesajları", - "sms-messages-monthly-activity": "Aylık SMS mesajları", + "sms-messages-hourly-activity": "SMS mesajlarının saatlik etkinliği", + "sms-messages-daily-activity": "SMS mesajlarının günlük etkinliği", + "sms-messages-monthly-activity": "SMS mesajlarının aylık etkinliği", "successful": "${entityName} Başarılı", "telemetry": "Telemetri", "telemetry-persistence": "Telemetri kalıcılığı", - "telemetry-persistence-daily-activity": "Telemetri kalıcılığı günlük etkinliği", - "telemetry-persistence-hourly-activity": "Telemetri kalıcılığı saatlik etkinliği", - "telemetry-persistence-monthly-activity": "Telemetri kalıcılığı aylık etkinliği", - "transport": "İletim", - "transport-msg-hourly-activity": "Taşıma mesajları saatlik etkinlik", - "transport-msg-daily-activity": "Taşıma mesajları günlük etkinlik", - "transport-msg-monthly-activity": "Taşıma mesajları aylık etkinlik", - "transport-daily-activity": "İletim günlük etkinliği", - "transport-data-points": "İletim veri noktaları", - "transport-data-points-hourly-activity": "Taşıma veri noktaları saatlik etkinlik", - "transport-data-points-daily-activity": "Taşıma veri noktaları günlük etkinlik", - "transport-data-points-monthly-activity": "Taşıma veri noktaları aylık etkinlik", - "view-details": "Detayları görüntüle", + "telemetry-persistence-daily-activity": "Telemetri kalıcılığının günlük etkinliği", + "telemetry-persistence-hourly-activity": "Telemetri kalıcılığının saatlik etkinliği", + "telemetry-persistence-monthly-activity": "Telemetri kalıcılığının aylık etkinliği", + "transport": "Taşıma", + "transport-msg-hourly-activity": "Taşıma mesajlarının saatlik etkinliği", + "transport-msg-daily-activity": "Taşıma mesajlarının günlük etkinliği", + "transport-msg-monthly-activity": "Taşıma mesajlarının aylık etkinliği", + "transport-daily-activity": "Taşımanın günlük etkinliği", + "transport-data-points": "Taşıma veri noktaları", + "transport-data-points-hourly-activity": "Taşıma veri noktalarının saatlik etkinliği", + "transport-data-points-daily-activity": "Taşıma veri noktalarının günlük etkinliği", + "transport-data-points-monthly-activity": "Taşıma veri noktalarının aylık etkinliği", + "view-details": "Ayrıntıları görüntüle", "view-statistics": "İstatistikleri görüntüle", "transport-messages": "Taşıma mesajları", - "transport-messages-hourly-activity": "Taşıma mesajları saatlik etkinlik", - "transport-data-point-hourly-activity": "Taşıma veri noktası saatlik etkinlik", + "transport-messages-hourly-activity": "Taşıma mesajlarının saatlik etkinliği", + "transport-data-point-hourly-activity": "Taşıma veri noktalarının saatlik etkinliği", "javascript-function-executions": "JavaScript işlev yürütmeleri", - "javascript-function-executions-hourly-activity": "JavaScript işlev yürütmeleri saatlik etkinlik", - "javascript-function-executions-daily-activity": "JavaScript işlev yürütmeleri günlük etkinlik", - "javascript-function-executions-monthly-activity": "JavaScript işlev yürütmeleri aylık etkinlik", + "javascript-function-executions-hourly-activity": "JavaScript işlev yürütmelerinin saatlik etkinliği", + "javascript-function-executions-daily-activity": "JavaScript işlev yürütmelerinin günlük etkinliği", + "javascript-function-executions-monthly-activity": "JavaScript işlev yürütmelerinin aylık etkinliği", "tbel-function-executions": "TBEL işlev yürütmeleri", - "tbel-function-executions-hourly-activity": "TBEL işlev yürütmeleri saatlik etkinlik", - "tbel-function-executions-daily-activity": "TBEL işlev yürütmeleri günlük etkinlik", - "tbel-function-executions-monthly-activity": "TBEL işlev yürütmeleri aylık etkinlik", + "tbel-function-executions-hourly-activity": "TBEL işlev yürütmelerinin saatlik etkinliği", + "tbel-function-executions-daily-activity": "TBEL işlev yürütmelerinin günlük etkinliği", + "tbel-function-executions-monthly-activity": "TBEL işlev yürütmelerinin aylık etkinliği", "created-reports": "Oluşturulan raporlar", - "created-reports-hourly-activity": "Oluşturulan raporlar saatlik etkinlik", - "created-reports-daily-activity": "Oluşturulan raporlar günlük etkinlik", - "created-reports-monthly-activity": "Oluşturulan raporlar aylık etkinlik", - "emails": "Emails", - "emails-hourly-activity": "Emails saatlik etkinlik", - "emails-daily-activity": "Emails günlük etkinlik", - "emails-monthly-activity": "Emails aylık etkinlik", + "created-reports-hourly-activity": "Oluşturulan raporların saatlik etkinliği", + "created-reports-daily-activity": "Oluşturulan raporların günlük etkinliği", + "created-reports-monthly-activity": "Oluşturulan raporların aylık etkinliği", + "emails": "E-postalar", + "emails-hourly-activity": "E-postaların saatlik etkinliği", + "emails-daily-activity": "E-postaların günlük etkinliği", + "emails-monthly-activity": "E-postaların aylık etkinliği", "status": { "enabled": "Etkin", "disabled": "Devre Dışı", "warning": "Uyarı" }, "reports-created": "Oluşturulan raporlar", - "reports-created-hourly-activity": "Oluşturulan raporlar saatlik etkinlik", - "reports-created-daily-activity": "Oluşturulan raporlar günlük etkinlik", - "reports-created-monthly-activity": "Oluşturulan raporlar aylık etkinlik" + "reports-created-hourly-activity": "Oluşturulan raporların saatlik etkinliği", + "reports-created-daily-activity": "Oluşturulan raporların günlük etkinliği", + "reports-created-monthly-activity": "Oluşturulan raporların aylık etkinliği", + "ai-credits": "Yapay zeka kredileri", + "ai-credits-hourly-activity": "Yapay zeka kredilerinin saatlik etkinliği", + "ai-credits-daily-activity": "Yapay zeka kredilerinin günlük etkinliği", + "ai-credits-monthly-activity": "Yapay zeka kredilerinin aylık etkinliği" }, "api-limit": { "cassandra-write-queries-core": "Rest API Cassandra yazma sorguları", "cassandra-read-queries-core": "Rest API ve WS telemetri Cassandra okuma sorguları", "cassandra-write-queries-rule-engine": "Kural Motoru telemetri Cassandra yazma sorguları", "cassandra-read-queries-rule-engine": "Kural Motoru telemetri Cassandra okuma sorguları", - "cassandra-write-queries-monolith": "Monolith telemetri Cassandra yazma sorguları", - "cassandra-read-queries-monolith": "Monolith telemetri Cassandra okuma sorguları", - "entity-version-creation": "Varlık sürümü oluşturma", - "entity-version-load": "Varlık sürümü yükleme", + "cassandra-write-queries-monolith": "Monolit telemetri Cassandra yazma sorguları", + "cassandra-read-queries-monolith": "Monolit telemetri Cassandra okuma sorguları", + "entity-version-creation": "Öğe sürümü oluşturma", + "entity-version-load": "Öğe sürümü yükleme", "integration-messages": "Entegrasyon mesajları", "integration-messages-per-device": "Cihaz başına entegrasyon mesajları", "notification-requests": "Bildirim istekleri", @@ -1097,10 +1210,10 @@ "reports-generation": "Rapor oluşturma", "rest-api-requests": "REST API istekleri", "rest-api-requests-per-customer": "Müşteri başına REST API istekleri", - "transport-messages": "İletim mesajları", - "transport-messages-per-device": "Cihaz başına iletim mesajları", - "transport-messages-per-gateway": "Ağ geçidi başına iletim mesajları", - "transport-messages-per-gateway-device": "Ağ geçidi cihazı başına iletim mesajları", + "transport-messages": "Taşıma mesajları", + "transport-messages-per-device": "Cihaz başına taşıma mesajları", + "transport-messages-per-gateway": "Gateway başına taşıma mesajları", + "transport-messages-per-gateway-device": "Gateway cihazı başına taşıma mesajları", "ws-updates-per-session": "Oturum başına WS güncellemeleri", "edge-events": "Edge olayları", "edge-events-per-edge": "Edge başına olaylar", @@ -1137,7 +1250,7 @@ "selected-api-keys": "{ count, plural, =1 {1 API anahtarı} other {# API anahtarı} } seçildi", "search": "API anahtarlarını ara", "status": "Durum", - "status-active": "Etkin", + "status-active": "Aktif", "status-inactive": "Etkin Değil", "status-expired": "Süresi Doldu" }, @@ -1145,12 +1258,12 @@ "audit": "Denetim", "audit-logs": "Denetim günlükleri", "timestamp": "Zaman damgası", - "entity-type": "Varlık türü", - "entity-name": "Varlık adı", + "entity-type": "Öğe türü", + "entity-name": "Öğe adı", "user": "Kullanıcı", "type": "Tür", "status": "Durum", - "details": "Detaylar", + "details": "Ayrıntılar", "type-added": "Eklendi", "type-deleted": "Silindi", "type-updated": "Güncellendi", @@ -1180,49 +1293,51 @@ "type-updated-comment": "Yorum güncellendi", "type-deleted-comment": "Yorum silindi", "type-rest-api-rule-engine-call": "Kural motoru REST API çağrısı", - "type-made-public": "Genel yapıldı", + "type-made-public": "Herkese açık yapıldı", "type-made-private": "Özel yapıldı", "type-login": "Giriş", "type-logout": "Çıkış", "type-lockout": "Kilitleme", "status-success": "Başarılı", "status-failure": "Başarısız", - "audit-log-details": "Denetim günlüğü detayları", + "audit-log-details": "Denetim günlüğü ayrıntıları", "no-audit-logs-prompt": "Günlük bulunamadı", "action-data": "İşlem verisi", - "failure-details": "Hata detayları", + "failure-details": "Hata ayrıntıları", "search": "Denetim günlüklerinde ara", "clear-search": "Aramayı temizle", "type-assigned-from-tenant": "Kiracıdan atandı", "type-assigned-to-tenant": "Kiracıya atandı", - "type-provision-success": "Cihaz tedarik edildi", - "type-provision-failure": "Cihaz tedarik işlemi başarısız oldu", + "type-provision-success": "Cihaz sağlandı", + "type-provision-failure": "Cihaz sağlama işlemi başarısız oldu", "type-timeseries-updated": "Telemetri güncellendi", "type-timeseries-deleted": "Telemetri silindi", "type-owner-changed": "Sahip değiştirildi", "type-sms-sent": "SMS gönderildi", + "type-non-production-confirmed": "Üretim dışı kullanım onaylandı", "any-type": "Herhangi Bir Tür", "audit-log-filter-title": "Denetim Günlüğü Filtresi", "filter-title": "Filtre", - "filter-types": "Denetim günlüğü türleri" + "filter-types": "Denetim günlüğü türleri", + "action": "İşlem" }, "debug-settings": { "label": "Hata Ayıklama Yapılandırması", "on-failure": "Sadece hatalar (7/24)", "all-messages": "Tüm mesajlar ({{time}})", "failures": "Hatalar", - "entity": "varlık", + "entity": "öğe", "hint": { - "main-limited": "Her {{time}} en fazla {{msg}} {{entity}} hata ayıklama mesajı kaydedilecektir.", + "main-limited": "{{time}} başına en fazla {{msg}} {{entity}} hata ayıklama mesajı kaydedilecektir.", "on-failure": "Yalnızca hata mesajlarını günlüğe kaydet.", "all-messages": "Tüm hata ayıklama mesajlarını günlüğe kaydet." } }, "calculated-fields": { - "ai-assistant-example-suggest-fields-label": "Hesaplanan alanlar öner", - "ai-assistant-example-suggest-fields-message": "Cihazlarımı incele ve kurmaya değer hesaplanan alanlar öner.", + "ai-assistant-example-suggest-fields-label": "Hesaplanmış alanlar öner", + "ai-assistant-example-suggest-fields-message": "Cihazlarımı incele ve kurmaya değer hesaplanmış alanlar öner.", "ai-assistant-example-aggregate-label": "Telemetriyi topla", - "ai-assistant-example-aggregate-message": "Cihazlarımdan birini seç ve onun birkaç telemetri anahtarını toplayan bir hesaplanan alan kur. Ne oluşturacağını açıkla ve önce benden onay iste.", + "ai-assistant-example-aggregate-message": "Cihazlarımdan birini seç ve onun birkaç telemetri anahtarını toplayan bir hesaplanmış alan kur. Ne oluşturacağını açıkla ve önce benden onay iste.", "expression": "İfade", "no-found": "Hesaplanmış alan bulunamadı", "list": "{ count, plural, =1 {Bir hesaplanmış alan} other {# hesaplanmış alan listesi} }", @@ -1230,45 +1345,45 @@ "selected-fields": "{ count, plural, =1 {1 hesaplanmış alan} other {# hesaplanmış alan} } seçildi", "type": { "simple": "Basit", - "simple-hint": "Girdi bağımsız değişkenlerine dayalı basit aritmetik hesaplama.", + "simple-hint": "Girdi argümanlarına dayalı basit aritmetik hesaplama.", "script": "Betik", - "script-hint": "TBEL betiği kullanılarak tanımlı bağımsız değişkenler üzerinde hesaplama.", - "geofencing": "Coğrafi Çitleme", - "geofencing-hint": "Varlık GPS konumu ve geçişlerinin, yapılandırılmış coğrafi çitleme bölge gruplarına göre değerlendirilmesi.", + "script-hint": "TBEL betiği kullanılarak tanımlı argümanlar üzerinde hesaplama.", + "geofencing": "Coğrafi çitleme", + "geofencing-hint": "Öğe GPS konumu ve geçişlerinin, yapılandırılmış coğrafi çitleme bölge gruplarına göre değerlendirilmesi.", "propagation": "Yayılım", - "propagation-hint": "İlişki yönü ve türüne bağlı olarak verilerin üst veya alt varlıklara yayılması.", - "related-entities-aggregation": "İlgili varlıkların toplulaştırılması", - "related-entities-aggregation-hint": "İlgili varlıklardan en son verilerin toplulaştırılması.", - "time-series-data-aggregation": "Zaman serisi verilerinin toplulaştırılması", - "time-series-data-aggregation-hint": "Geçerli bir varlıktan geçmiş verilerin toplulaştırılması." + "propagation-hint": "İlişki yönü ve türüne bağlı olarak verilerin üst veya alt öğelere yayılması.", + "related-entities-aggregation": "İlişkili öğe toplama", + "related-entities-aggregation-hint": "İlişkili öğelerden en son verilerin toplanması.", + "time-series-data-aggregation": "Zaman serisi verilerinin toplanması", + "time-series-data-aggregation-hint": "Geçerli bir öğeden geçmiş verilerin toplanması." }, "preview": "Önizleme", "arguments": "Argümanlar", - "decimals-by-default": "Varsayılan ondalık", - "debugging": "Hesaplanmış alan hata ayıklama", + "decimals-by-default": "Varsayılan ondalık basamak sayısı", + "debugging": "Hesaplanmış alan hata ayıklaması", "calculated-field-details": "Hesaplanmış alan ayrıntıları", "argument-name": "Argüman adı", "name": "Ad", "datasource": "Veri kaynağı", "add-argument": "Argüman ekle", - "test-script-function": "Komut dosyası işlevini test et", - "no-arguments": "Yapılandırılmış argüman yok", + "test-script-function": "Betik fonksiyonunu test et", + "no-arguments": "En az bir argüman gereklidir.", "argument-settings": "Argüman ayarları", - "argument-current": "Geçerli varlık", + "argument-current": "Geçerli öğe", "argument-current-tenant": "Geçerli kiracı", "argument-device": "Cihaz", "argument-asset": "Varlık", "argument-customer": "Müşteri", "argument-tenant": "Geçerli kiracı", "argument-owner": "Geçerli sahip", - "argument-relation-query": "İlgili varlıklar", + "argument-relation-query": "İlişkili öğeler", "argument-type": "Argüman türü", "attribute": "Öznitelik", "copy-argument-name": "Argüman adını kopyala", "timeseries-key": "Zaman serisi anahtarı", "device-name": "Cihaz adı", "latest-telemetry": "En son telemetri", - "rolling": "Zaman serisi kaydırma", + "rolling": "Kayan zaman serisi", "attribute-scope": "Öznitelik kapsamı", "server-attributes": "Sunucu öznitelikleri", "client-attributes": "İstemci öznitelikleri", @@ -1276,7 +1391,7 @@ "attribute-key": "Öznitelik anahtarı", "default-value": "Varsayılan değer", "default-value-required": "Varsayılan değer gereklidir.", - "limit": "Maksimum değer", + "limit": "Maksimum değer sayısı", "time-window": "Zaman aralığı", "customer-name": "Müşteri adı", "asset-name": "Varlık adı", @@ -1287,29 +1402,29 @@ "file": "Hesaplanmış alan dosyası", "invalid-file-error": "Geçersiz dosya biçimi. Lütfen dosyanın geçerli bir JSON dosyası olduğundan emin olun.", "import": "Hesaplanmış alan içe aktar", - "export": "Hesaplanmış alan dışa aktar", + "export": "Hesaplanmış alanı dışa aktar", "export-failed-error": "Hesaplanmış alan dışa aktarılamadı: {{error}}", "output-type": "Çıktı türü", - "delete-title": "Hesaplanmış alan '{{title}}' silinsin mi?", + "delete-title": "'{{title}}' adlı hesaplanmış alanı silmek istediğinizden emin misiniz?", "delete-text": "Dikkat, onaydan sonra hesaplanmış alan ve ilgili tüm veriler geri alınamaz hale gelecektir.", "delete-multiple-title": "{ count, plural, =1 {1 hesaplanmış alanı} other {# hesaplanmış alanı} } silmek istediğinizden emin misiniz?", "delete-multiple-text": "Dikkat, onaydan sonra seçilen tüm hesaplanmış alanlar ve ilgili tüm veriler geri alınamaz hale gelecektir.", "test-with-this-message": "Bu mesaj ile test et", "use-latest-timestamp": "En son zaman damgasını kullan", - "calculated-field-reprocessing": "Hesaplanmış alan yeniden işleme", + "calculated-field-reprocessing": "Hesaplanmış alanın yeniden işlenmesi", "cancel-reprocessing": "Yeniden işlemeyi iptal et", - "details": "Detaylar", + "details": "Ayrıntılar", "finish": "Bitir", "reprocess-calculated-field": "Hesaplanmış alanı yeniden işle", "reprocessing-cancelled": "Yeniden işleme iptal edildi", "reprocessing-completed": "Yeniden işleme tamamlandı", - "reprocessing-entities-data": "Varlık verileri yeniden işleniyor...", + "reprocessing-entities-data": "Öğe verileri yeniden işleniyor...", "reprocessing-failed": "Yeniden işleme hatalarla tamamlandı", "reprocessing-in-progress": "Yeniden işleme devam ediyor...", "submitting-tasks": "Görevler gönderiliyor...", "task-failed-reprocess": "Görev yeniden işlenemedi", - "tasks-failed-reprocess": "{{ error }} / {{ total }} varlık yeniden işlenemedi", - "entity-coordinates": "Varlık koordinatları", + "tasks-failed-reprocess": "{{ error }} / {{ total }} öğe yeniden işlenemedi", + "entity-coordinates": "Öğe koordinatları", "latitude-time-series-key": "Enlem zaman serisi anahtarı", "latitude-time-series-key-required": "Enlem zaman serisi anahtarı gereklidir.", "longitude-time-series-key": "Boylam zaman serisi anahtarı", @@ -1328,17 +1443,17 @@ "perimeter-attribute-key": "Çevre öznitelik anahtarı", "perimeter-attribute-key-required": "Çevre öznitelik anahtarı gereklidir.", "perimeter-attribute-key-pattern": "Çevre öznitelik anahtarı geçersiz.", - "entity-zone-relationship": "Varlıktan Bölgelere Giden Yol", + "entity-zone-relationship": "Öğeden Bölgelere Giden Yol", "direction": "İlişki yönü", - "direction-from": "Varlıktan bölgeye", - "direction-to": "Bölgeden varlığa", + "direction-from": "Öğeden bölgeye", + "direction-to": "Bölgeden öğeye", "relation-type": "İlişki türü", - "create-relation-with-matched-zones": "Kaynak varlık için eşleşen bölgelerle ilişkiler oluştur", + "create-relation-with-matched-zones": "Kaynak öğe için eşleşen bölgelerle ilişkiler oluştur", "relation-level": "İlişki düzeyi", "fetch-last-available-level": "Yalnızca son kullanılabilir düzeyi getir", "zone-group-refresh-interval": "Bölge grupları yenileme aralığı", "copy-zone-group-name": "Bölge grubu adını kopyala", - "open-details-page": "Varlık ayrıntıları sayfasını aç", + "open-details-page": "Öğe ayrıntıları sayfasını aç", "level": "Düzey", "direction-level": "Yön", "direction-up": "Yukarı", @@ -1350,19 +1465,19 @@ "no-level": "Yapılandırılmış düzey yok", "levels-required": "En az bir düzey yapılandırılmalıdır.", "max-allowed-levels-error": "İlişki düzeyi izin verilen azami değeri aşıyor.", - "propagation-path-related-entities": "İlgili varlıklara yayılım yolu", + "propagation-path-related-entities": "İlişkili öğelere yayılım yolu", "propagate-type": { - "arguments-only": "Yalnızca bağımsız değişkenler", + "arguments-only": "Yalnızca argümanlar", "expression-result": "Hesaplama sonucu" }, "script": "Betik", "data-propagate": "Yayılacak veri", "output-key": "Çıktı anahtarı", "copy-output-key": "Çıktı anahtarını kopyala", - "aggregation-path-related-entities": "İlgili varlıklara toplulaştırma yolu", + "aggregation-path-related-entities": "İlişkili öğelere toplama yolu", "deduplication-interval": "Yinelenenleri ayıklama aralığı", "deduplication-interval-min": "Yinelenenleri ayıklama aralığı en az {{ sec }} saniye olmalıdır.", - "deduplication-interval-hint": "Telemetri toplulaştırmaları arasındaki asgari süre.", + "deduplication-interval-hint": "Telemetri toplamaları arasındaki asgari süre.", "deduplication-interval-required": "Yinelenenleri ayıklama aralığı gereklidir.", "calculated-field-filter-title": "Hesaplanmış alan filtresi", "filter-title": "Filtre", @@ -1379,7 +1494,7 @@ "metric-name-max-length": "Metrik adı 256 karakterden kısa olmalıdır.", "metric-name-forbidden": "Metrik adı rezerve edilmiştir ve kullanılamaz.", "copy-metric-name": "Metrik adını kopyala", - "argument-name": "Bağımsız değişken adı", + "argument-name": "Argüman adı", "aggregation": "Toplama", "aggregation-type": { "avg": "Ortalama", @@ -1401,22 +1516,22 @@ "max-metrics": "Maksimum metrik sayısına ulaşıldı.", "metric-settings": "Metrik ayarları", "filter": "Filtre", - "filter-hint": "Toplama sırasında varlıkların filtrelenmesini sağlar. Filtre fonksiyonu bir boolean değer döndürmeli ve tüm yapılandırılmış bağımsız değişkenleri kullanabilir." + "filter-hint": "Toplama sırasında öğelerin filtrelenmesini sağlar. Filtre fonksiyonu bir boolean değer döndürmeli ve tüm yapılandırılmış argümanları kullanabilir." }, "output-strategy": { "strategy": "Strateji", - "process-right-away": "Hemen işleme", - "process-rule-chains": "Kural Zincirleri ile işleme", + "process-right-away": "Hemen işle", + "process-rule-chains": "Kural zincirleri üzerinden işle", "save-time-series": "Zaman serilerine kaydet", "save-database": "Veritabanına kaydet", "save-latest-values": "Son değerlere kaydet", - "send-web-sockets": "Web Soketlerine gönder", + "send-web-sockets": "WebSockets'e gönder", "save-calculated-fields": "Hesaplanmış alanlara gönder", "update-attribute-only-on-value-change": "Yalnızca değer değiştiğinde özniteliği güncelle", - "send-attributes-updated-notification": "Öznitelik güncelleme bildirimini gönder", + "send-attributes-updated-notification": "Güncellenen öznitelik bildirimi gönder", "ttl": "Özel TTL", "ttl-required": "TTL gereklidir", - "ttl-min": "Sadece 0 minimum TTL izni verilir", + "ttl-min": "TTL en az 0 olmalıdır.", "processing-parameters": "İşleme parametreleri", "hint": { "strategy": "Sonucun hemen işlenip işlenmeyeceğini veya ek işlem için kural zincirine gönderilip gönderilmeyeceğini kontrol eder.", @@ -1426,7 +1541,7 @@ "send-attributes-updated-notification": "Öznitelikler güncellendi olayı, varsayılan kural zincirine gönderilir.", "save-time-series": "Zaman serisi verisi, veritabanındaki ts_kv tablosuna kaydedilir.", "save-database": "Öznitelik verisi veritabanına kaydedilir.", - "save-latest-values": "Yeni değer daha güncelse, zaman serisi verisi veritabanındaki ts_kv_latest tablosuna güncellenir.", + "save-latest-values": "Yeni değer daha güncelse, veritabanındaki ts_kv_latest tablosunda zaman serisi verisini günceller.", "send-web-sockets-attribute": "WebSocket aboneliklerine, öznitelik verisi güncellemeleri hakkında bildirim gönderir.", "send-web-sockets-time-series": "WebSocket aboneliklerine, zaman serisi verisi güncellemeleri hakkında bildirim gönderir.", "save-calculated-fields-attribute": "Hesaplanmış alanlara, öznitelik verisi güncellemeleri hakkında bildirim gönderir.", @@ -1442,7 +1557,7 @@ "aggregate-period": { "hour": "Saat", "day": "Gün", - "week": "Hafta (Pzt - Pazar)", + "week": "Hafta (Pazartesi - Pazar)", "week-sun-sat": "Hafta (Pazar - Cumartesi)", "month": "Ay", "quarter": "Çeyrek", @@ -1450,89 +1565,89 @@ "custom": "Özel" }, "aggregate-period-hint-offset": "Toplama aralığınız: {{ interval }} olacak.", - "aggregate-period-hint-offset-and-so-on": "Toplama aralığınız: {{ interval }} olacak ve devam edecek.", + "aggregate-period-hint-offset-and-so-on": "Toplama aralığınız: {{ interval }} vb. olacak.", "entity-aggregation": { - "argument-hint": "Veri mevcut varlıktan alınacaktır.", - "argument-title-hint": "Toplama için kullanılan giriş bağımsız değişkenlerini tanımlar.", - "argument-setting-hint": "Son telemetri, bu hesaplanmış alan için mevcut tek bağımsız değişken türüdür.", + "argument-hint": "Veri geçerli öğeden alınacaktır.", + "argument-title-hint": "Toplama için kullanılan giriş argümanlarını tanımlar.", + "argument-setting-hint": "Son telemetri, bu hesaplanmış alan için mevcut tek argüman türüdür.", "aggregation-interval": "Toplama aralığı", "aggregation-interval-hint": "Toplamanın ne sıklıkla yapılacağını tanımlar. Örnek: her 1 saat, 00:00, 01:00, 02:00, vb. saatlerde veri toplar. Toplama sonuçları, toplama aralığının başlangıcına karşılık gelen zaman damgası ile saklanır.", - "apply-offset": "Toplama aralığına offset uygula", + "apply-offset": "Toplama aralığına kaydırma uygula", "apply-offset-hint": "Her toplama döneminin başlangıcını ne kadar kaydıracağını tanımlar (örneğin, +10 dakika - 00:10, 01:10).", - "offset-value": "Offset değeri", - "offset-value-required": "Offset değeri gereklidir.", - "offset-value-min": "Offset değeri pozitif bir tam sayı olmalıdır.", - "offset-value-max": "Offset değeri, toplama aralığı değerinden küçük olmalıdır.", + "offset-value": "Kaydırma değeri", + "offset-value-required": "Kaydırma değeri gereklidir.", + "offset-value-min": "Kaydırma değeri pozitif bir tam sayı olmalıdır.", + "offset-value-max": "Kaydırma değeri, toplama aralığı değerinden küçük olmalıdır.", "wait-delay": "Gecikmeli telemetri için bekleme süresi uygula", - "wait-delay-hint": "Aralık bittiğinde gecikmeli telemetriyi beklemek için ne kadar süre bekleyeceğinizi tanımlar. Eğer böyle bir telemetri gelirse, o aralık için sonuç yeniden hesaplanacaktır.", + "wait-delay-hint": "Aralık bittikten sonra gecikmeli telemetrinin ne kadar süre bekleneceğini tanımlar. Bu süre içinde telemetri gelirse, o aralığın sonucu yeniden hesaplanır.", "duration": "Süre", "duration-required": "Süre gereklidir.", "duration-min": "Süre en az 1 dakika olmalıdır.", - "duration-hint": "Aralık bittiğinde gecikmeli veriyi beklemek için ne kadar süre bekleyeceğinizi tanımlar.", + "duration-hint": "Aralık bittikten sonra gecikmeli verinin ne kadar süre bekleneceği.", "produce-intermediate-result": "Ara sonuç üret", - "produce-intermediate-result-hint": "Mevcut aralıkta metrikler hesaplanarak ara sonuç üretilir. Güncellemeler, her {{ time }}'de bir kez yapılacaktır." + "produce-intermediate-result-hint": "Mevcut aralıkta metrikler hesaplanarak ara sonuç üretilir. Güncellemeler, en fazla her {{ time }} süresinde bir kez yapılacaktır." }, "hint": { - "arguments-simple-with-rolling": "Basit türdeki hesaplanmış alan, zaman serisi yuvarlama türüyle anahtarlar içermemelidir.", - "arguments-propagate-arguments-with-rolling": "'Zaman serisi yuvarlama' türü, 'Yalnızca bağımsız değişkenler' yayılımıyla uyumsuzdur.", - "arguments-propagate-argument-entity-type": "Varlık türü, 'Yalnızca bağımsız değişkenler' yayılımıyla uyumsuzdur.", - "arguments-propagate-argument-must-current-entity": "En az bir bağımsız değişken, 'Mevcut varlık' kaynak varlık türü ile yapılandırılmalıdır.", - "arguments-empty": "En az bir bağımsız değişken belirtilmelidir.", + "arguments-simple-with-rolling": "Basit türdeki hesaplanmış alan, kayan zaman serisi türündeki anahtarlar içermemelidir.", + "arguments-propagate-arguments-with-rolling": "'Zaman serisi yuvarlama' türü, 'Yalnızca argümanlar' yayılımıyla uyumsuzdur.", + "arguments-propagate-argument-entity-type": "Öğe türü, 'Yalnızca argümanlar' yayılımıyla uyumsuzdur.", + "arguments-propagate-argument-must-current-entity": "En az bir argüman 'Geçerli öğe' kaynak öğe türüyle yapılandırılmalıdır.", + "arguments-empty": "En az bir argüman belirtilmelidir.", "expression-required": "İfade gereklidir.", "expression-invalid": "İfade geçersiz.", "expression-max-length": "İfade uzunluğu 255 karakterden kısa olmalıdır.", - "argument-name-required": "Bağımsız değişken adı gereklidir.", - "argument-name-pattern": "Bağımsız değişken adı geçersiz.", - "argument-name-duplicate": "Bu isimde bir bağımsız değişken zaten mevcut.", - "argument-name-max-length": "Bağımsız değişken adı 256 karakterden kısa olmalıdır.", - "argument-name-forbidden": "Bağımsız değişken adı rezerve edilmiştir ve kullanılamaz.", + "argument-name-required": "Argüman adı gereklidir.", + "argument-name-pattern": "Argüman adı geçersiz.", + "argument-name-duplicate": "Bu isimde bir argüman zaten mevcut.", + "argument-name-max-length": "Argüman adı 256 karakterden kısa olmalıdır.", + "argument-name-forbidden": "Argüman adı rezerve edilmiştir ve kullanılamaz.", "output-key-required": "Çıktı anahtarı gereklidir.", "output-key-pattern": "Çıktı anahtarı geçersiz.", "output-key-duplicate": "Bu isimde bir anahtar zaten mevcut.", "output-key-max-length": "Çıktı anahtarı 256 karakterden kısa olmalıdır.", "output-key-forbidden": "Çıktı anahtarı rezerve edilmiştir ve kullanılamaz.", - "entity-type-required": "Varlık türü gereklidir.", + "entity-type-required": "Öğe türü gereklidir.", "name-required": "Ad gereklidir.", "name-pattern": "Ad geçersiz.", "name-duplicate": "Bu isimde bir ad zaten mevcut.", "name-max-length": "Ad 256 karakterden kısa olmalıdır.", "name-forbidden": "Ad rezerve edilmiştir ve kullanılamaz.", - "argument-type-required": "Bağımsız değişken türü gereklidir.", - "max-args": "Maksimum bağımsız değişken sayısına ulaşıldı.", - "decimals-range": "Ondalıklar varsayılan olarak 0 ile 15 arasında bir sayı olmalıdır.", + "argument-type-required": "Argüman türü gereklidir.", + "max-args": "Maksimum argüman sayısına ulaşıldı.", + "decimals-range": "Varsayılan ondalık basamak sayısı 0 ile 15 arasında olmalıdır.", "expression": "Varsayılan ifade, bir sıcaklık değerini Fahrenheit'ten Celsius'a nasıl dönüştüreceğini gösterir.", - "arguments-entity-not-found": "Bağımsız değişken hedef varlığı bulunamadı.", - "use-latest-timestamp": "Etkinleştirilirse, hesaplanan değer, bağımsız değişkenlerin telemetrisindeki en son zaman damgası kullanılarak saklanacaktır, sunucu zamanı yerine.", - "reprocessing": "Özel bir zaman damgası önceden tanımlanmışsa, yeniden işleme sonuçları, hesaplamayı tetikleyen ilgili tarihsel telemetri zaman damgası ile kaydedilir.", - "entity-coordinates": "Varlık GPS koordinatlarını (enlem ve boylam) sağlayan zaman serisi anahtarlarını belirtin.", + "arguments-entity-not-found": "Argüman hedef öğesi bulunamadı.", + "use-latest-timestamp": "Etkinleştirilirse, hesaplanan değer, argümanların telemetrisindeki en son zaman damgası kullanılarak saklanacaktır, sunucu zamanı yerine.", + "reprocessing": "Önceden belirli bir zaman damgası tanımlanmamışsa, yeniden işleme sonuçları hesaplamayı tetikleyen ilgili geçmiş telemetrinin zaman damgasıyla kaydedilir.", + "entity-coordinates": "Öğenin GPS koordinatlarını (enlem ve boylam) sağlayan zaman serisi anahtarlarını belirtin.", "geofencing-zone-groups": "Kontrol edilecek bir veya daha fazla coğrafi çitleme bölgesi grubu tanımlayın (örneğin 'allowedZones', 'restrictedZones'). Her grup, hesaplanmış alan çıktısı telemetri anahtarları için önek olarak kullanılacak benzersiz bir ada sahip olmalıdır.", - "perimeter-attribute-key": "Coğrafi çitleme bölgesi çevre tanımını içeren öznitelik anahtarını ayarlayın. Çevre her zaman bölge varlıklarının sunucu tarafı özniteliklerinden alınır.", - "report-strategy": "Bulunma durumu, varlığın şu anda bölge grubunun İÇİNDE mi yoksa DIŞINDA mı olduğunu rapor eder. Geçiş olayları, varlığın bölge grubuna GİRDİĞİ veya ÇIKTIĞI zamanı rapor eder.", - "create-relation-with-matched-zones": "Varlık ile şu anda içinde bulunduğu bölgeler arasında ilişkiler otomatik olarak oluşturulup korunur. Varlık bir bölgeden ayrıldığında ilişkiler kaldırılır ve yeni bir bölgeye girdiğinde oluşturulur.", + "perimeter-attribute-key": "Coğrafi çitleme bölgesi çevre tanımını içeren öznitelik anahtarını ayarlayın. Çevre her zaman bölge öğesinin sunucu tarafı özniteliklerinden alınır.", + "report-strategy": "Bulunma durumu, öğenin şu anda bölge grubunun İÇİNDE mi yoksa DIŞINDA mı olduğunu rapor eder. Geçiş olayları, öğenin bölge grubuna GİRDİĞİ veya ÇIKTIĞI zamanı rapor eder.", + "create-relation-with-matched-zones": "Öğe ile şu anda içinde bulunduğu bölgeler arasında ilişkiler otomatik olarak oluşturulup korunur. Öğe bir bölgeden ayrıldığında ilişkiler kaldırılır ve yeni bir bölgeye girdiğinde oluşturulur.", "relation-type-required": "İlişki türü gereklidir.", "relation-level-required": "İlişki düzeyi gereklidir.", "relation-level-min": "Minimum ilişki düzeyi değeri 1'dir.", - "relation-level-max": "Maksimum ilişki düzeyi değeri {{max}}'dir.", + "relation-level-max": "Maksimum ilişki düzeyi değeri: {{max}}.", "geofencing-empty": "En az bir bölge grubu yapılandırılmalıdır.", - "geofencing-entity-not-found": "Coğrafi çitleme hedef varlığı bulunamadı.", + "geofencing-entity-not-found": "Coğrafi çitleme hedef öğesi bulunamadı.", "max-geofencing-zone": "Maksimum coğrafi çitleme bölgesi sayısına ulaşıldı.", - "zone-group-refresh-interval": "İlgili varlıklar aracılığıyla yapılandırılan bölge gruplarının ne sıklıkla yenileneceğini tanımlar.", + "zone-group-refresh-interval": "İlişkili öğeler aracılığıyla yapılandırılan bölge gruplarının ne sıklıkla yenileneceğini tanımlar.", "zone-group-refresh-interval-required": "Bölge gruplarının yenileme aralığı gereklidir.", "zone-group-refresh-interval-min": "Bölge grubu yenileme aralığı en az {{ min }} saniye olmalıdır.", - "propagation-path-related-entities": "Seçilen yön ve ilişki türüne göre, ilgili bir varlığa doğrudan, tek seviyeli bir yolu tanımlar. Yalnızca cihaz, varlık, müşteri ve kiracı varlıkları arasındaki ilişkiler desteklenir. İlişki yolu ile çözülmüş maksimum varlık sayısı {{ max }}'dir.", - "data-propagate": "Aşağıda yapılandırılan bağımsız değişkenlerden hangi verilerin yayılacağını tanımlar. 'Yalnızca bağımsız değişkenler', alınan verileri doğrudan kullanırken, 'İfade sonucu' bu verilerden yeni bir değer hesaplar.", - "aggregation-path-related-entities": "Yön ve ilişki türüne dayalı olarak, üst veya alt varlıklarla doğrudan ilişkiler aracılığıyla tek seviyeli bir toplama yolunu tanımlar. Yalnızca cihaz, varlık, müşteri ve kiracı varlıkları arasındaki ilişkiler desteklenir. İlişki yolu ile çözülmüş maksimum varlık sayısı {{ max }}'dir.", - "arguments-aggregation": "Filtreleme ve toplama için kullanılan giriş bağımsız değişkenlerini tanımlar.", - "setting-arguments-aggregation": "Veriler, toplama yolunda yapılandırılan ilgili varlıklardan alınacaktır.", - "metrics": "Yapılandırılmış bağımsız değişkenlere dayalı olarak toplanan metrikleri tanımlar.", - "entity-aggregation-metrics": "Belirtilen zaman aralıklarında yapılandırılmış bağımsız değişkenlere dayalı olarak toplanan metrikleri tanımlar.", - "import-invalid-calculated-field-type": "Hesaplanmış alan ithal edilemedi: Geçersiz hesaplanmış alan yapısı.", + "propagation-path-related-entities": "Seçilen yön ve ilişki türüne göre, ilgili bir öğeye doğrudan, tek seviyeli bir yolu tanımlar. Yalnızca cihaz, varlık, müşteri ve kiracı öğeleri arasındaki ilişkiler desteklenir. İlişki yolu ile çözülmüş maksimum öğe sayısı: {{ max }}.", + "data-propagate": "Aşağıda yapılandırılan argümanlardan hangi verilerin yayılacağını tanımlar. 'Yalnızca argümanlar', alınan verileri doğrudan kullanırken, 'İfade sonucu' bu verilerden yeni bir değer hesaplar.", + "aggregation-path-related-entities": "Yön ve ilişki türüne dayalı olarak, üst veya alt öğelerle doğrudan ilişkiler aracılığıyla tek seviyeli bir toplama yolunu tanımlar. Yalnızca cihaz, varlık, müşteri ve kiracı öğeleri arasındaki ilişkiler desteklenir. İlişki yolu ile çözülmüş maksimum öğe sayısı: {{ max }}.", + "arguments-aggregation": "Filtreleme ve toplama için kullanılan giriş argümanlarını tanımlar.", + "setting-arguments-aggregation": "Veriler, toplama yolunda yapılandırılan ilişkili öğelerden alınacaktır.", + "metrics": "Yapılandırılmış argümanlara dayalı olarak toplanan metrikleri tanımlar.", + "entity-aggregation-metrics": "Belirtilen zaman aralıklarında yapılandırılmış argümanlara dayalı olarak toplanan metrikleri tanımlar.", + "import-invalid-calculated-field-type": "Hesaplanmış alan içe aktarılamadı: Geçersiz hesaplanmış alan yapısı.", "simple-expression-title": "Hesaplanan değerin nasıl hesaplanacağını tanımlayan aritmetik ifade.", "script-title": "Hesaplama mantığını ve çıktı değerlerini tanımlayan TBEL betiği.", "simple-arguments": "Hesaplanan değerin nasıl hesaplanacağını tanımlayan aritmetik ifade.", - "script-arguments": "Betiğe mevcut olan giriş bağımsız değişkenlerini tanımlar." + "script-arguments": "Betiğe mevcut olan giriş argümanlarını tanımlar." }, - "ai-assistant-initial-prompt-placeholder": "Neyi kurmak istediğinizi açıklayın..." + "ai-assistant-initial-prompt-placeholder": "Neyi ayarlamak istediğinizi açıklayın..." }, "alarm-rule": { "ai-assistant-example-suggest-rules-label": "Alarm kuralları öner", @@ -1544,8 +1659,8 @@ "alarm-rules": "Alarm kuralları", "alarm-rules-old": "Eski", "alarm-rules-actual": "Geçerli", - "severities": "Öncelikler", - "cleared": "Koşul temizlendi", + "severities": "Önem dereceleri", + "cleared": "Temizleme koşulu", "delete-title": "“{{title}}” alarm kuralını silmek istediğinizden emin misiniz?", "delete-text": "Dikkat, onaydan sonra alarm kuralı ve tüm ilişkili veriler geri getirilemez olacaktır.", "delete-multiple-title": "{ count, plural, =1 {1 alarm kuralı} other {# alarm kuralı} } silmek istediğinizden emin misiniz?", @@ -1557,20 +1672,20 @@ "no-found": "Alarm kuralı bulunamadı", "list": "{ count, plural, =1 {Bir alarm kuralı} other {# alarm kuralı listesi} }", "selected-fields": "{ count, plural, =1 {1 alarm kuralı} other {# alarm kuralı} } seçildi", - "import": "Alarm kuralı içe aktar", + "import": "Alarm kuralını içe aktar", "file": "Alarm kuralı dosyası", - "export": "Alarm kuralı dışa aktar", + "export": "Alarm kuralını dışa aktar", "export-failed-error": "Alarm kuralı dışa aktarılamadı: {{error}}", - "entity-type": "Varlık türü", - "entity-type-required": "Varlık türü gereklidir.", + "entity-type": "Öğe türü", + "entity-type-required": "Öğe türü gereklidir.", "alarm-type": "Alarm türü", "alarm-type-hint": "Alarm kaynağı (Cihaz, Varlık, vb.) kapsamında çakışmaları önlemek için benzersiz tanımlayıcı (örneğin, HighTempAlarm).", "alarm-type-required": "Alarm türü gereklidir.", "alarm-type-pattern": "Alarm türü geçersiz.", "alarm-type-max-length": "Alarm türü 256 karakterden kısa olmalıdır.", "clear-alarm": "Alarmı temizle", - "value-argument": "Bağımsız değişken", - "value-argument-required": "Bağımsız değişken gereklidir.", + "value-argument": "Argüman", + "value-argument-required": "Argüman gereklidir.", "static-settings": "Statik ayarlar", "configuration": "Yapılandırma", "static-schedule": "Statik", @@ -1580,26 +1695,26 @@ "condition-during": "{{during}} süresince", "condition-during-dynamic": "\"{{ attribute }}\" süresince", "condition-repeat-times": "{ count, plural, =1 {1 kez} other {# kez} } tekrarlar", - "condition-repeat-times-dynamic": "\"{{ attribute }}\" kadar tekrarlar", + "condition-repeat-times-dynamic": "\"{{ attribute }}\" kez tekrarlar", "filter-preview": "Filtre önizlemesi", "condition-settings": "Koşul ayarları", "static": "Statik", "dynamic": "Dinamik", - "argument-filters": "Bağımsız değişken filtreleri", - "argument-name": "Bağımsız değişken adı", + "argument-filters": "Argüman filtreleri", + "argument-name": "Argüman adı", "value-type": "Değer türü", "general": "Genel", "filters": "Filtreler", - "date-time-hint": "Bağımsız değişken epoch milisaniye cinsinden olmalıdır. Örnek: 1698839340000, 2023-11-01 12:49:00 UTC'ye eşittir.", + "date-time-hint": "Argüman epoch milisaniye cinsinden olmalıdır. Örnek: 1698839340000, 2023-11-01 12:49:00 UTC'ye eşittir.", "operation": "İşlem", "value-source": "Değer kaynağı", "value": "Değer", "ignore-case": "Büyük/küçük harf duyarlılığını göz ardı et", "condition": "Koşul", "script": "Betik", - "add-filter": "Bağımsız değişken filtresi ekle", - "edit-filter": "Bağımsız değişken filtresi", - "remove-filter": "Bağımsız değişken filtresini kaldır", + "add-filter": "Argüman filtresi ekle", + "edit-filter": "Argüman filtresi", + "remove-filter": "Argüman filtresini kaldır", "no-filter": "En az bir filtre gereklidir.", "conditions": { "simple": "Basit", @@ -1644,21 +1759,21 @@ "boolean": "Mantıksal", "complex": "Karmaşık" }, - "alarm-rule-additional-info": "Ekstra bilgi", - "edit-alarm-rule-additional-info": "Ekstra bilgiyi düzenle", - "alarm-rule-additional-info-placeholder": "Lütfen alarm ayrıntılarında Ekstra bilgi altında görüntülenmesi için yorumlarınızı ve düzenlemelerinizi buraya yazın", - "alarm-rule-additional-info-hint": "İpucu: alarm kuralı koşulunda kullanılan bağımsız değişkenlerin değerlerini yerine koymak için ${Bağımsız değişken adı} kullanın.", - "alarm-rule-additional-info-icon-hint": "Bağımsız değişkenlerin değerlerini yerine koymak için Bağımsız değişken adını kullanın.", - "alarm-rule-mobile-dashboard": "Mobil gösterge paneli", - "alarm-rule-mobile-dashboard-hint": "Mobil uygulama tarafından alarm ayrıntıları gösterge paneli olarak kullanılır.", - "alarm-rule-no-mobile-dashboard": "Hiçbir gösterge paneli seçilmedi", + "alarm-rule-additional-info": "Ek bilgi", + "edit-alarm-rule-additional-info": "Ek bilgiyi düzenle", + "alarm-rule-additional-info-placeholder": "Alarm ayrıntılarında Ek bilgi altında görüntülenecek yorum ve düzenlemeleri buraya girin", + "alarm-rule-additional-info-hint": "İpucu: alarm kuralı koşulunda kullanılan argümanların değerlerini yerine koymak için ${Argüman adı} kullanın.", + "alarm-rule-additional-info-icon-hint": "Argümanların değerlerini yerine koymak için Argüman adını kullanın.", + "alarm-rule-mobile-dashboard": "Mobil pano", + "alarm-rule-mobile-dashboard-hint": "Mobil uygulama tarafından alarm ayrıntıları panosu olarak kullanılır.", + "alarm-rule-no-mobile-dashboard": "Hiçbir pano seçilmedi", "alarm-rule-condition": "Alarm kuralı koşulu", "enter-alarm-rule-condition-prompt": "Koşul ekle", "enter-alarm-rule-clear-condition-prompt": "Temizleme koşulu ekle", "edit-alarm-rule-condition": "Alarm koşulu", "condition-type": "Koşul türü", "condition-type-hint": "\"Süre\" ve \"Tekrarlayan\" seçenekleri, filtrede \"Eksik\" işlemi kullanıldığında mevcut değildir.", - "select-alarm-severity": "Alarm önceliğini seçin", + "select-alarm-severity": "Alarm önem derecesini seçin", "add-create-alarm-rule-prompt": "En az bir tetikleyici koşul gereklidir.", "add-create-alarm-rule": "Tetikleyici koşulu ekle", "add-clear-alarm-rule": "Temizleme koşulu ekle", @@ -1666,11 +1781,11 @@ "condition-duration-value": "Süre değeri", "condition-duration-time-unit": "Zaman birimi", "condition-duration-value-range": "Süre değeri 1 ile 2147483647 arasında olmalıdır.", - "condition-duration-value-pattern": "Süre değeri tamsayı olmalıdır.", + "condition-duration-value-pattern": "Süre değeri tam sayı olmalıdır.", "condition-duration-value-required": "Süre değeri gereklidir.", "condition-duration-time-unit-required": "Zaman birimi gereklidir.", "condition-repeating-value": "Olay sayısı", - "condition-repeating-value-hint": "Herhangi bir alarm kuralı bağımsız değişkeninin güncellenmesi olay olarak sayılır.", + "condition-repeating-value-hint": "Herhangi bir alarm kuralı argümanının güncellenmesi olay olarak sayılır.", "condition-repeating-value-range": "Olay sayısı 1 ile 2147483647 arasında olmalıdır.", "condition-repeating-value-pattern": "Olay sayısı tamsayı olmalıdır.", "condition-repeating-value-required": "Olay sayısı gereklidir.", @@ -1678,35 +1793,35 @@ "clear-condition": "Temizleme koşulu", "no-clear-alarm-rule": "Temizleme koşulu yapılandırılmadı.", "advanced-settings": "Gelişmiş ayarlar", - "propagate-alarm": "Alarmı ilgili varlıklara yay", + "propagate-alarm": "Alarmı ilişkili öğelere yay", "alarm-rule-relation-types-list": "İlişki türleri", - "alarm-rule-relation-types-list-hint": "İlgili varlıkları filtrelemek için ilişki türlerini tanımlar. Belirtilmezse, alarm tüm ilgili varlıklara yayılacaktır.", - "propagate-alarm-to-owner": "Alarmı varlık sahibine yay (Müşteri veya Kiracı)", - "propagate-alarm-to-owner-hierarchy": "Alarmı varlık sahipleri hiyerarşisine yay", - "propagate-alarm-to-tenant": "Alarmı Kiracıya yay", + "alarm-rule-relation-types-list-hint": "İlişkili öğeleri filtrelemek için ilişki türlerini tanımlar. Belirtilmezse, alarm tüm ilişkili öğelere yayılacaktır.", + "propagate-alarm-to-owner": "Alarmı öğe sahibine yay (Müşteri veya Kiracı)", + "propagate-alarm-to-owner-hierarchy": "Alarmı öğe sahipleri hiyerarşisine yay", + "propagate-alarm-to-tenant": "Alarmı kiracıya yay", "alarm-rule-filter-title": "Alarm kuralı filtresi", "filter-title": "Filtre", - "debugging": "Alarm kuralı hata ayıklama", + "debugging": "Alarm kuralı hata ayıklaması", "any-type": "Herhangi bir tür", "enter-alarm-rule-type": "Alarm türünü girin", - "no-alarm-rule-types-matching": "‘{{entitySubtype}}’ için eşleşen alarm türleri bulunamadı.", + "no-alarm-rule-types-matching": "'{{entitySubtype}}' ile eşleşen alarm türü bulunamadı.", "alarm-rule-type-list-empty": "Hiç alarm türü seçilmedi.", "alarm-rule-type-list": "Alarm türü listesi", - "alarm-rule-entity-list": "Varlık listesi", + "alarm-rule-entity-list": "Öğe listesi", "missing-for": "Eksik", "time-unit": "Zaman birimi", "mode": "Mod", "type": "Tür", "value-required": "Değer gereklidir.", "min-value": "Değer 1 veya daha büyük olmalıdır.", - "argument-in-use": "Bağımsız değişken genel bağımsız değişken olarak kullanılıyor.", + "argument-in-use": "Argüman genel argüman olarak kullanılıyor.", "import-invalid-alarm-rule-type": "Alarm kuralı içe aktarılamadı: Geçersiz alarm kuralı yapısı.", "no-filter-preview": "Filtre belirtilmedi", "filter-operation": { "and": "Ve", "or": "Veya" }, - "ai-assistant-initial-prompt-placeholder": "Neyi kurmak istediğinizi açıklayın..." + "ai-assistant-initial-prompt-placeholder": "Neyi ayarlamak istediğinizi açıklayın..." }, "secret-storage": { "secrets-storage": "Gizli veriler deposu", @@ -1733,12 +1848,12 @@ "delete-secrets": "Gizli verileri sil", "delete-secret-title": "'{{secretName}}' adlı gizli veriyi silmek istediğinizden emin misiniz?", "delete-secret-text": "Dikkatli olun, onaydan sonra gizli veri ve ilgili tüm veriler geri alınamaz hale gelecektir.", - "delete-secrets-title": "{ count, plural, =1 {1 gizli veri} other {# gizli veri} } silinsin mi?", - "delete-secrets-action-title": "{ count, plural, =1 {1 gizli veri} other {# gizli veri} } sil", + "delete-secrets-title": "{ count, plural, =1 {1 gizli veriyi} other {# gizli veriyi} } silmek istediğinizden emin misiniz?", + "delete-secrets-action-title": "{ count, plural, =1 {1 gizli veriyi} other {# gizli veriyi} } sil", "delete-secrets-text": "Dikkatli olun, onaydan sonra seçilen tüm gizli veriler ve ilişkili tüm veriler geri alınamaz hale gelecektir.", - "delete-secrets-in-use-text": "Bu gizli veriyi silmek için, önce yukarıdaki varlıklardan kullanımını kaldırın.", - "secrets-is-in-use-text": "Bu gizli veri şu anda platformdaki diğer varlıklar tarafından kullanılıyor ve kullanılmadıkça silinemez:", - "secrets-are-in-use-text": "Tüm gizli veriler silinemedi çünkü bazıları diğer varlıklar tarafından kullanılıyor.
    İlgili varlıkları görmek için ilgili gizli veri satırındaki Referanslar düğmesine tıklayabilirsiniz.
    Bu gizli verileri silmek için önce kullanıldıkları varlıklardan silinmeleri gerekir.", + "delete-secrets-in-use-text": "Bu gizli veriyi silmek için, önce yukarıdaki öğelerden kullanımını kaldırın.", + "secrets-is-in-use-text": "Bu gizli veri şu anda platformdaki diğer öğeler tarafından kullanılıyor ve kullanılmadıkça silinemez:", + "secrets-are-in-use-text": "Tüm gizli veriler silinemedi çünkü bazıları diğer öğeler tarafından kullanılıyor.
    Referans verilen öğeleri görmek için ilgili gizli veri satırındaki Referanslar düğmesine tıklayabilirsiniz.
    Bu gizli verileri silmek için önce kullanıldıkları öğelerden silinmeleri gerekir.", "selected-secrets": "{ count, plural, =1 {1 gizli veri} other {# gizli veri} } seçildi", "use-secret-storage": "Gizli veri deposunu kullan", "dialog-title": "Gizli veri ekle", @@ -1753,7 +1868,7 @@ "file": "Dosya gizli verisi", "file-required": "Dosya gizli verisi gereklidir." }, - "used-secret-title": "Gizli veri diğer varlıklar tarafından kullanılıyor", + "used-secret-title": "Gizli veri diğer öğeler tarafından kullanılıyor", "no-secrets-matching": "'{{entity}}' ile eşleşen gizli veri bulunamadı.", "no-secrets-found": "Gizli veri bulunamadı.", "use-secret": "Gizli veriyi kullan", @@ -1761,15 +1876,15 @@ "action-use": "Kullan" }, "ai-models": { - "ai-models": "Yapay Zeka Modelleri", - "ai-model": "Yapay Zeka Modeli", - "ai-model-view": "Yapay Zeka Modelini Görüntüle", + "ai-models": "Yapay zeka modelleri", + "ai-model": "Yapay zeka modeli", + "ai-model-view": "Yapay zeka modelini görüntüle", "model": "Model", "name": "Ad", - "ai-provider": "Yapay Zeka Sağlayıcısı", + "ai-provider": "Yapay zeka sağlayıcısı", "no-found": "Yapay zeka modeli bulunamadı", "list": "{ count, plural, =1 {Bir model} other {# model listesi} }", - "selected-fields": "{ count, plural, =1 {1 model} other {# model seçildi} }", + "selected-fields": "{ count, plural, =1 {1 model} other {# model} } seçildi", "add": "Model Ekle", "delete-model-title": "'{{modelName}}' modelini silmek istediğinizden emin misiniz?", "delete-model-text": "Dikkatli olun, onaydan sonra model ve tüm ilişkili veriler geri alınamaz hale gelecektir.", @@ -1783,19 +1898,19 @@ "mistral-ai": "Mistral AI", "anthropic": "Anthropic", "amazon-bedrock": "Amazon Bedrock", - "github-models": "GitHub Modelleri", + "github-models": "GitHub Models", "ollama": "Ollama" }, - "name-required": "Ad zorunludur.", + "name-required": "Ad gereklidir.", "name-max-length": "Ad en fazla 255 karakter olmalıdır.", "provider": "Sağlayıcı", "api-key": "API anahtarı", - "api-key-required": "API anahtarı zorunludur.", - "api-key-open-ai-required": "Resmî OpenAI API'si kullanılırken API anahtarı zorunludur.", + "api-key-required": "API anahtarı gereklidir.", + "api-key-open-ai-required": "Resmî OpenAI API'si kullanılırken API anahtarı gereklidir.", "project-id": "Proje Kimliği", - "project-id-required": "Proje Kimliği zorunludur", + "project-id-required": "Proje Kimliği gereklidir", "location": "Konum", - "location-required": "Konum gerekli.", + "location-required": "Konum gereklidir.", "service-account-key-file": "Hizmet hesabı anahtar dosyası", "service-account-key-file-required": "Hizmet hesabı anahtar dosyası gereklidir.", "no-file": "Dosya seçilmedi.", @@ -1823,19 +1938,19 @@ "top-k": "Top K", "top-k-hint": "Modelin seçeneklerini en olası \"K\" belirteçle sınırlar.", "top-k-min": "0 veya daha büyük olmalıdır.", - "presence-penalty": "Varlık cezası", + "presence-penalty": "Bulunma cezası", "presence-penalty-hint": "Bir belirteç metinde zaten bulunuyorsa, olasılığına sabit bir ceza uygular.", "frequency-penalty": "Frekans cezası", "frequency-penalty-hint": "Bir belirtecin metinde geçme sıklığına göre olasılığına ceza uygular.", "max-output-tokens": "Maksimum çıktı belirteçleri", "max-output-tokens-hint": "Modelin tek bir yanıtta üretebileceği maksimum belirteç sayısını ayarlar.", "context-length": "Bağlam uzunluğu", - "context-length-hint": "Token cinsinden bağlam penceresinin boyutunu tanımlar. Bu değer, hem kullanıcının girdisini hem de üretilen yanıtı içeren model için toplam bellek sınırını belirler.", + "context-length-hint": "Belirteç cinsinden bağlam penceresinin boyutunu tanımlar. Bu değer, hem kullanıcının girdisini hem de üretilen yanıtı içeren, model için toplam bellek sınırını belirler.", "endpoint": "Uç nokta", "endpoint-required": "Uç nokta gereklidir.", - "baseurl": "Base URL", - "baseurl-required": "Base URL zorunludur.", - "service-version": "Servis versiyonu", + "baseurl": "Temel URL", + "baseurl-required": "Temel URL gereklidir.", + "service-version": "Hizmet sürümü", "check-connectivity": "Bağlantıyı kontrol et", "check-connectivity-success": "Test isteği başarılı oldu", "check-connectivity-failed": "Test isteği başarısız oldu", @@ -1844,18 +1959,18 @@ "no-model-text": "Model bulunamadı.", "authentication": "Kimlik doğrulama", "authentication-basic-hint": "Standart HTTP Basic kimlik doğrulamasını kullanır. Kullanıcı adı ve parola birleştirilir, Base64 ile kodlanır ve Ollama sunucusuna yapılan her istekte \"Authorization\" başlığında gönderilir.", - "authentication-token-hint": "Bearer token kimlik doğrulamasını kullanır. Sağlanan token, Ollama sunucusuna yapılan her istekte doğrudan \"Authorization\" başlığında gönderilecektir.", + "authentication-token-hint": "Bearer belirteci ile kimlik doğrulama kullanılır. Sağlanan belirteç, Ollama sunucusuna yapılan her istekte doğrudan \"Authorization\" başlığında gönderilecektir.", "authentication-type": { "none": "Yok", "basic": "Basic", - "token": "Token" + "token": "Belirteç" }, "username": "Kullanıcı adı", - "username-required": "Kullanıcı adı zorunludur.", + "username-required": "Kullanıcı adı gereklidir.", "password": "Parola", - "password-required": "Parola zorunludur.", - "token": "Token", - "token-required": "Token zorunludur." + "password-required": "Parola gereklidir.", + "token": "Belirteç", + "token-required": "Belirteç gereklidir." }, "confirm-on-exit": { "message": "Kaydedilmemiş değişiklikleriniz var. Bu sayfadan ayrılmak istediğinizden emin misiniz?", @@ -1893,11 +2008,12 @@ "enter-username": "Kullanıcı adı girin", "enter-password": "Parola girin", "enter-search": "Arama yapın", + "all": "Tümü", "created-time": "Oluşturulma zamanı", "disabled": "Devre dışı", "loading": "Yükleniyor...", "proceed": "Devam et", - "open-details-page": "Detay sayfasını aç", + "open-details-page": "Ayrıntı sayfasını aç", "not-found": "Bulunamadı", "value": "Değer", "documentation": "Dokümantasyon", @@ -1935,10 +2051,10 @@ "add-converter-text": "Yeni veri dönüştürücü ekle", "no-converters-text": "Veri dönüştürücü bulunamadı", "selected-converters": "{ count, plural, =1 {1 veri dönüştürücü} other {# veri dönüştürücü} } seçildi", - "delete-converter-title": "Veri dönüştürücü '{{converterName}}' silinsin mi?", + "delete-converter-title": "'{{converterName}}' veri dönüştürücüsünü silmek istediğinizden emin misiniz?", "delete-converter-text": "Dikkatli olun, onaydan sonra dönüştürücü ve ilişkili tüm veriler geri alınamaz şekilde silinecektir.", - "delete-converters-title": "{ count, plural, =1 {1 veri dönüştürücü} other {# veri dönüştürücü} } silinsin mi?", - "delete-converters-action-title": "{ count, plural, =1 {1 veri dönüştürücü} other {# veri dönüştürücü} } sil", + "delete-converters-title": "{ count, plural, =1 {1 veri dönüştürücüyü} other {# veri dönüştürücüyü} } silmek istediğinizden emin misiniz?", + "delete-converters-action-title": "{ count, plural, =1 {1 veri dönüştürücüyü} other {# veri dönüştürücüyü} } sil", "delete-converters-text": "Dikkatli olun, onaydan sonra seçilen tüm veri dönüştürücüler ve ilişkili veriler kalıcı olarak silinecektir.", "events": "Olaylar", "add": "Veri dönüştürücü ekle", @@ -1997,7 +2113,7 @@ "customer-name": "Müşteri adı", "group": "Grup", "device-profile-name": "Cihaz profil adı", - "asset-profile-name": "Varlık profil adı", + "asset-profile-name": "Varlık profili adı", "asset-label": "Varlık etiketi", "device-label": "Cihaz etiketi", "device-group-name": "Cihaz grup adı", @@ -2013,14 +2129,16 @@ "content-type": { "json": "Json", "text": "Metin", - "binary": "İkili (Base64)" + "binary": "İkili (Base64)", + "hex": "İkili (Hex)" }, "color": { "color": "Renk", "color-picker": "Renk seçici", "primary-colors": "Ana renkler", "accent-colors": "Vurgu renkleri", - "no-color-selected": "Seçili renk yok" + "no-color-selected": "Seçili renk yok", + "default": "Varsayılan" }, "customer": { "all": "Tümü", @@ -2030,38 +2148,39 @@ "hierarchy": "Hiyerarşi", "customer": "Müşteri", "customers": "Müşteriler", + "customers-and-users": "Müşteriler ve kullanıcılar", "management": "Müşteri yönetimi", "dashboard": "Müşteri Panosu", "dashboards": "Müşteri Panoları", "devices": "Müşteri Cihazları", - "entity-views": "Müşteri Varlık Görünümleri", + "entity-views": "Müşteri Öğe Görünümleri", "assets": "Müşteri Varlıkları", - "public-dashboards": "Genel Panolar", - "public-devices": "Genel Cihazlar", - "public-assets": "Genel Varlıklar", - "public-entity-views": "Genel Varlık Görünümleri", + "public-dashboards": "Herkese açık panolar", + "public-devices": "Herkese açık cihazlar", + "public-assets": "Herkese açık varlıklar", + "public-entity-views": "Herkese açık öğe görünümleri", "add": "Müşteri ekle", "delete": "Müşteriyi sil", "manage-customer-user-groups": "Müşteri kullanıcı gruplarını yönet", "manage-customer-groups": "Müşteri gruplarını yönet", "manage-customer-device-groups": "Müşteri cihaz gruplarını yönet", "manage-customer-asset-groups": "Müşteri varlık gruplarını yönet", - "manage-customer-entity-view-groups": "Müşteri varlık görünüm gruplarını yönet", - "manage-customer-edge-groups": "Müşteri uç birim gruplarını yönet", + "manage-customer-entity-view-groups": "Müşteri öğe görünümü gruplarını yönet", + "manage-customer-edge-groups": "Müşteri Edge gruplarını yönet", "manage-customer-dashboard-groups": "Müşteri pano gruplarını yönet", "manage-customer-users": "Müşteri kullanıcılarını yönet", "manage-customers": "Müşterileri yönet", "manage-customer-devices": "Müşteri cihazlarını yönet", - "manage-customer-entity-views": "Müşteri varlık görünümlerini yönet", + "manage-customer-entity-views": "Müşteri öğe görünümlerini yönet", "manage-customer-dashboards": "Müşteri panolarını yönet", - "manage-public-devices": "Genel cihazları yönet", - "manage-public-dashboards": "Genel panoları yönet", + "manage-public-devices": "Herkese açık cihazları yönet", + "manage-public-dashboards": "Herkese açık panoları yönet", "manage-customer-assets": "Müşteri varlıklarını yönet", - "manage-customer-edges": "Müşteri uç birimlerini yönet", - "manage-public-assets": "Genel varlıkları yönet", + "manage-customer-edges": "Müşteri Edge'lerini yönet", + "manage-public-assets": "Herkese açık varlıkları yönet", "add-customer-text": "Yeni müşteri ekle", "no-customers-text": "Hiç müşteri bulunamadı", - "customer-details": "Müşteri detayları", + "customer-details": "Müşteri ayrıntıları", "delete-customer-title": "‘{{customerTitle}}’ adlı müşteriyi silmek istediğinizden emin misiniz?", "delete-customer-text": "Dikkatli olun, onaydan sonra müşteri ve tüm ilgili veriler geri alınamaz şekilde silinecek.", "delete-customers-title": "{ count, plural, =1 {1 müşteriyi} other {# müşteriyi} } silmek istediğinizden emin misiniz?", @@ -2071,38 +2190,39 @@ "manage-asset-groups": "Varlık gruplarını yönet", "manage-device-groups": "Cihaz gruplarını yönet", "manage-dashboard-groups": "Pano gruplarını yönet", - "manage-entity-view-groups": "Varlık görünüm gruplarını yönet", - "manage-edge-groups": "Uç birim gruplarını yönet", + "manage-entity-view-groups": "Öğe görünümü gruplarını yönet", + "manage-edge-groups": "Edge gruplarını yönet", "manage-users": "Kullanıcıları yönet", "manage-assets": "Varlıkları yönet", "manage-devices": "Cihazları yönet", "manage-dashboards": "Panoları yönet", - "manage-entity-views": "Varlık görünümlerini yönet", + "manage-entity-views": "Öğe görünümlerini yönet", "title": "Başlık", - "title-required": "Başlık gerekli.", + "title-required": "Başlık gereklidir.", "title-max-length": "Başlık 256 karakterden kısa olmalıdır", "description": "Açıklama", - "details": "Detaylar", + "details": "Ayrıntılar", "events": "Olaylar", "copyId": "Müşteri Kimliğini kopyala", "idCopiedMessage": "Müşteri Kimliği panoya kopyalandı", "select-customer": "Müşteri seç", "no-customers-matching": "‘{{entity}}’ ile eşleşen müşteri bulunamadı.", - "customer-required": "Müşteri gerekli", + "customer-required": "Müşteri gereklidir.", "select-group-to-add": "Seçilen müşterileri eklemek için hedef grup seçin", "select-group-to-move": "Seçilen müşterileri taşımak için hedef grup seçin", - "remove-customers-from-group": "{ count, plural, =1 {1 müşteriyi} other {# müşteriyi} } ‘{{entityGroup}}’ grubundan çıkarmak istediğinize emin misiniz?", + "remove-customers-from-group": "{ count, plural, =1 {1 müşteriyi} other {# müşteriyi} } '{{entityGroup}}' grubundan çıkarmak istediğinizden emin misiniz?", "group": "Müşteri grubu", "list-of-groups": "{ count, plural, =1 {Bir müşteri grubu} other {# müşteri grubunun listesi} }", "group-name-starts-with": "Adı ‘{{prefix}}’ ile başlayan müşteri grupları", "select-default-customer": "Varsayılan müşteri seç", "default-customer": "Varsayılan müşteri", - "default-customer-required": "Tenant seviyesinde pano hata ayıklaması için varsayılan müşteri gereklidir", - "allow-white-labeling": "Özelleştirmeye izin ver", + "default-customer-required": "Kiracı seviyesinde pano hata ayıklaması için varsayılan müşteri gereklidir", + "allow-white-labeling": "White labeling'e izin ver", "search": "Müşteri ara", "selected-customers": "{ count, plural, =1 {1 müşteri} other {# müşteri} } seçildi", - "edges": "Müşteri uç birimleri", - "manage-edges": "Uç birimleri yönet" + "edges": "Müşteri Edge'leri", + "manage-edges": "Edge'leri yönet", + "manage-agents": "Agent'ları yönet" }, "customers-hierarchy": { "customers-hierarchy": "Müşteri hiyerarşisi", @@ -2116,7 +2236,7 @@ "no-custom-menus-matching": "'{{entity}}' ile eşleşen özel menü bulunamadı.", "search": "Özel menü ara", "add": "Özel menü ekle", - "delete-custom-menu-title": "'{{customMenuName}}' özel menüsünü silmek istediğinize emin misiniz?", + "delete-custom-menu-title": "'{{customMenuName}}' özel menüsünü silmek istediğinizden emin misiniz?", "delete-custom-menu-text": "Dikkatli olun, onaydan sonra özel menü ve tüm ilgili veriler geri alınamaz şekilde silinecek.", "name": "Ad", "name-required": "Ad gereklidir", @@ -2125,15 +2245,15 @@ "scope-system": "Sistem", "scope-tenant": "Kiracı", "scope-customer": "Müşteri", - "assignee-type": "Atama türü", + "assignee-type": "Atanan türü", "assignee-no-assign": "Atanmamış", "assignee-customer-all": "Tüm müşteri kullanıcıları", "assignee-customers": "Müşteri listesi", "assignee-tenant-all": "Tüm kiracı kullanıcıları", "assignee-users": "Kullanıcı listesi", "assignee-user-group-names": "Kullanıcı grup adları", - "user-group-name": "Kullanıcı grup adı", - "assign-to": "Ata", + "user-group-name": "Kullanıcı grubu adı", + "assign-to": "Atama hedefi", "manage-assignees": "Özel menü atamalarını yönet", "manage-config": "Özel menü yapılandırmasını yönet", "show-hidden-items": "Gizli öğeleri göster", @@ -2170,20 +2290,20 @@ "set-url": "URL belirle", "set-access-token": "Erişim belirteci ayarla", "menu-conflict": "Menü çakışması", - "menu-conflict-message": "{{scope}} kapsamına sahip başka bir varsayılan özel menü var. Kendi özel menünüzle değiştirmek istediğinize emin misiniz?", + "menu-conflict-message": "{{scope}} kapsamına sahip başka bir varsayılan özel menü var. Kendi özel menünüzle değiştirmek istediğinizden emin misiniz?", "replace": "Değiştir" }, "custom-translation": { "add-new-key": "Yeni anahtar ekle", "add-new-language": "Yeni dil ekle", - "added-key": "Anahtar eklendi", + "added-key": "Eklenen anahtar", "copy-original-text": "Orijinal metni kopyala", "copy-term-key": "Terim anahtarını kopyala", "country": "Ülke", "custom-translation": "Özel çeviri", "customized": "Özelleştirildi", "delete-language-text": "Dikkatli olun, onaydan sonra '{{language}}' çevirisi ve tüm ilgili veriler geri alınamaz şekilde silinecek.", - "delete-language-title": "'{{language}}' çevirisini silmek istediğinize emin misiniz?", + "delete-language-title": "'{{language}}' çevirisini silmek istediğinizden emin misiniz?", "delete-translation": "Çeviriyi sil", "download-translation": "Çeviriyi indir", "drop-json-file": "JSON dosyasını sürükleyip bırakın veya", @@ -2198,7 +2318,7 @@ "translated": "Çevrildi", "translation-file": "Çeviri dosyası", "translation-map": "Çeviri haritası", - "translation-name": "{{ name }} çeviri - {{ country }}", + "translation-name": "{{ name }} çevirisi - {{ country }}", "translation-progress": "Çeviri ilerlemesi", "untranslated": "Çevrilmemiş", "upload-translation-file": "Çeviri dosyası yükle" @@ -2214,7 +2334,7 @@ "format": "Format", "preview": "Önizleme", "auto": "Otomatik", - "time-granularity-formats": "Zaman ayrıntı formatları", + "time-granularity-formats": "Zaman ayrıntı düzeyi biçimleri", "unit-year": "Yıllar", "unit-month": "Aylar", "unit-day": "Günler", @@ -2232,11 +2352,11 @@ "to": "Bitiş" }, "dashboard": { - "ai-assistant-initial-prompt-placeholder": "Neyi kurmak istediğinizi açıklayın...", + "ai-assistant-initial-prompt-placeholder": "Neyi ayarlamak istediğinizi açıklayın...", "ai-assistant-example-monitor-device-label": "Bir cihazı izle", - "ai-assistant-example-monitor-device-message": "Cihaz ... . Bu panoyu bu cihazın tek durumlu bir görünümü olarak kurmak istiyorum; en üstte en son telemetrisini değer kartları olarak, altında bu telemetrinin zaman serisi grafiğini ve en altta etkin alarmlarının bir tablosunu gösteren.", + "ai-assistant-example-monitor-device-message": "Cihaz ... . Bu panoyu cihazın tek durumlu görünümü olarak kurmak istiyorum: en üstte en son telemetrisi değer kartları olarak, onların altında bu telemetrinin zaman serisi grafiği, en altta ise etkin alarmlarının tablosu gösterilsin.", "ai-assistant-example-monitor-fleet-label": "Bir cihaz filosunu izle", - "ai-assistant-example-monitor-fleet-message": "Cihaz türü ... . Bu panoyu bu tür için iki durumlu kurmak istiyorum. Genel bakış durumu, bu türdeki tüm cihazları bir varlık tablosunda listelemeli ve altında bu cihazların etkin alarmlarının bir tablosu olmalı. Bir cihaz seçildiğinde, en üstte o cihazın en son telemetrisini değer kartları olarak, altında bu telemetrinin zaman serisi grafiğini ve en altta etkin alarmlarının bir tablosunu gösteren bir ayrıntı durumu açılır.", + "ai-assistant-example-monitor-fleet-message": "Cihaz türü ... . Bu panoyu bu tür için iki durumlu kurmak istiyorum. Genel bakış durumu, bu türdeki tüm cihazları bir öğe tablosunda listelemeli ve altında bu cihazların etkin alarmlarının bir tablosu olmalı. Bir cihaz seçildiğinde, en üstte o cihazın en son telemetrisini değer kartları olarak, altında bu telemetrinin zaman serisi grafiğini ve en altta etkin alarmlarının bir tablosunu gösteren bir ayrıntı durumu açılır.", "all": "Tümü", "all-dashboards": "Tüm panolar", "groups": "Gruplar", @@ -2250,19 +2370,21 @@ "assign-dashboard-to-customer-text": "Lütfen müşteriye atamak için panoları seçin", "assign-to-customer-text": "Lütfen pano(ları) atamak için müşteriyi seçin", "assign-to-customer": "Müşteriye ata", - "unassign-from-customer": "Müşteriden kaldır", + "unassign-from-customer": "Müşteriden atamayı kaldır", "make-public": "Panoyu herkese açık yap", "make-private": "Panoyu gizli yap", "manage-assigned-customers": "Atanmış müşterileri yönet", "assigned-customers": "Atanmış müşteriler", "assign-to-customers": "Pano(ları) müşterilere ata", "assign-to-customers-text": "Lütfen pano(ları) atamak için müşterileri seçin", - "unassign-from-customers": "Pano(ları) müşterilerden kaldır", - "unassign-from-customers-text": "Lütfen pano(ları) kaldırmak için müşterileri seçin", + "unassign-from-customers": "Panoların müşterilerden atamasını kaldır", + "unassign-from-customers-text": "Lütfen panoların atamasının kaldırılacağı müşterileri seçin", "no-dashboards-text": "Pano bulunamadı", "no-widgets": "Yapılandırılmış widget yok", "add-widget": "Yeni widget ekle", "add-widget-button-text": "Widget ekle", + "edit-html-page": "HTML sayfasını düzenle", + "html-page": "HTML sayfası", "title": "Başlık", "image": "Pano görseli", "mobile-app-settings": "Mobil uygulama ayarları", @@ -2270,8 +2392,9 @@ "mobile-hide": "Panoyu mobil uygulamada gizle", "update-image": "Pano görselini güncelle", "update-new-version": "Yeni sürüm yükle", - "upload-file-to-update": "Yükseltmek için dosya yükle", + "upload-file-to-update": "Güncellemek için dosya yükle", "take-screenshot": "Ekran görüntüsü al", + "take-screenshot-failed": "Pano ekran görüntüsü alınamadı. Lütfen tekrar deneyin.", "select-widget-title": "Widget seç", "select-widget-value": "{{title}}: widget seç", "select-widget-subtitle": "Mevcut widget türlerinin listesi", @@ -2279,33 +2402,33 @@ "title-required": "Başlık gereklidir.", "title-max-length": "Başlık 256 karakterden kısa olmalıdır", "description": "Açıklama", - "details": "Detaylar", - "dashboard-details": "Pano detayları", + "details": "Ayrıntılar", + "dashboard-details": "Pano ayrıntıları", "add-dashboard-text": "Yeni pano ekle", "assign-dashboards": "Panoları ata", "assign-new-dashboard": "Yeni pano ata", - "assign-dashboards-text": "{ count, plural, =1 {1 pano} other {# pano} } müşterilere ata", - "unassign-dashboards-action-text": "{ count, plural, =1 {1 pano} other {# pano} } müşterilerden kaldır", + "assign-dashboards-text": "{ count, plural, =1 {1 panoyu} other {# panoyu} } müşterilere ata", + "unassign-dashboards-action-text": "{ count, plural, =1 {1 panonun} other {# panonun} } müşterilerden atamasını kaldır", "delete-dashboards": "Panoları sil", - "unassign-dashboards": "Panoları kaldır", - "unassign-dashboards-action-title": "{ count, plural, =1 {1 pano} other {# pano} } müşteriden kaldır", - "delete-dashboard-title": "'{{dashboardTitle}}' panosunu silmek istediğinize emin misiniz?", + "unassign-dashboards": "Panoların atamasını kaldır", + "unassign-dashboards-action-title": "{ count, plural, =1 {1 panonun} other {# panonun} } müşteriden atamasını kaldır", + "delete-dashboard-title": "'{{dashboardTitle}}' panosunu silmek istediğinizden emin misiniz?", "delete-dashboard-text": "Dikkatli olun, onaydan sonra pano ve tüm ilgili veriler geri alınamaz olacak.", - "delete-dashboards-title": "{ count, plural, =1 {1 pano} other {# pano} } silmek istediğinize emin misiniz?", - "delete-dashboards-action-title": "{ count, plural, =1 {1 pano} other {# pano} } sil", + "delete-dashboards-title": "{ count, plural, =1 {1 panoyu} other {# panoyu} } silmek istediğinizden emin misiniz?", + "delete-dashboards-action-title": "{ count, plural, =1 {1 panoyu} other {# panoyu} } sil", "delete-dashboards-text": "Dikkatli olun, onaydan sonra tüm seçili panolar silinecek ve tüm ilgili veriler geri alınamaz olacak.", - "unassign-dashboard-title": "'{{dashboardTitle}}' panosunu kaldırmak istediğinize emin misiniz?", - "unassign-dashboard-text": "Onaydan sonra pano kaldırılacak ve müşteri tarafından erişilemeyecek.", - "unassign-dashboard": "Panoyu kaldır", - "unassign-dashboards-title": "{ count, plural, =1 {1 pano} other {# pano} } kaldırmak istediğinize emin misiniz?", - "unassign-dashboards-text": "Onaydan sonra seçili tüm panolar kaldırılacak ve müşteri tarafından erişilemeyecek.", + "unassign-dashboard-title": "'{{dashboardTitle}}' panosunun atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-dashboard-text": "Onaydan sonra panonun ataması kaldırılacak ve müşteri tarafından erişilemeyecek.", + "unassign-dashboard": "Panonun atamasını kaldır", + "unassign-dashboards-title": "{ count, plural, =1 {1 panonun} other {# panonun} } atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-dashboards-text": "Onaydan sonra seçili tüm panoların ataması kaldırılacak ve müşteri tarafından erişilemeyecek.", "public-dashboard-title": "Pano artık herkese açık", "public-dashboard-text": "{{dashboardTitle}} panonuz artık herkese açık ve aşağıdaki bağlantı üzerinden erişilebilir:", "public-dashboard-notice": "Not: Verilerine erişebilmek için ilgili cihazları herkese açık yapmayı unutmayın.", "public-dashboard-link": "Herkese açık pano bağlantısı", "public-dashboard-link-text": "{{dashboardTitle}} panonuz aşağıdaki bağlantı üzerinden herkese açıktır:", - "public-dashboard-link-notice": "Not: Verilerine erişebilmek için ilgili cihazları, varlıkları ve görünüm varlıklarını herkese açık yapmayı unutmayın.", - "make-private-dashboard-title": "'{{dashboardTitle}}' panosunu gizli yapmak istediğinize emin misiniz?", + "public-dashboard-link-notice": "Not: Verilerine erişebilmek için ilgili cihazları, varlıkları ve öğe görünümlerini herkese açık yapmayı unutmayın.", + "make-private-dashboard-title": "'{{dashboardTitle}}' panosunu gizli yapmak istediğinizden emin misiniz?", "make-private-dashboard-text": "Onaydan sonra pano gizli olacak ve başkaları tarafından erişilemeyecek.", "make-private-dashboard": "Panoyu gizli yap", "socialshare-text": "'{{dashboardTitle}}' ThingsBoard tarafından desteklenmektedir", @@ -2319,9 +2442,9 @@ "open-dashboard": "Panoyu aç", "set-background": "Arka planı ayarla", "background-color": "Arka plan rengi", - "background-image": "Arka plan resmi", + "background-image": "Arka plan görseli", "background-size-mode": "Arka plan boyut modu", - "no-image": "Seçili görsel yok", + "no-image": "Görsel seçilmedi", "empty-image": "Görsel yok", "drop-image": "Bir görsel bırakın veya yüklemek için tıklayın.", "maximum-upload-file-size": "Maksimum dosya boyutu: {{ size }}", @@ -2331,16 +2454,17 @@ "move-by": "Şu kadar taşı", "cols": "sütun", "rows": "satır", - "layout": "Yerleşim", + "layout": "Düzen", "layout-type-default": "Varsayılan", "layout-type-scada": "SCADA", "layout-type-divider": "Bölücü", - "layout-settings-type": "Yerleşim ayarları: {{ type }} kırılım noktası", + "layout-type-html": "HTML sayfası", + "layout-settings-type": "Düzen ayarları: {{ type }} kırılım noktası", "columns-count": "Sütun sayısı", "columns-count-required": "Sütun sayısı gereklidir.", - "min-columns-count-message": "En az 10 sütun değeri girilebilir.", - "max-columns-count-message": "En fazla 1000 sütun değeri girilebilir.", - "min-layout-width": "Minimum yerleşim genişliği", + "min-columns-count-message": "Sütun sayısı en az 10 olabilir.", + "max-columns-count-message": "Sütun sayısı en fazla 1000 olabilir.", + "min-layout-width": "Minimum düzen genişliği", "columns-suffix": "sütun", "widgets-margins": "Widget'lar arası boşluk", "margin-required": "Boşluk değeri gereklidir.", @@ -2354,9 +2478,9 @@ "vertical-margin-required": "Dikey boşluk değeri gereklidir.", "min-vertical-margin-message": "Minimum dikey boşluk değeri yalnızca 0 olabilir.", "max-vertical-margin-message": "Maksimum dikey boşluk değeri yalnızca 50 olabilir.", - "apply-outer-margin": "Yerleşim kenarlarına boşluk uygula", - "autofill-height": "Yerleşim yüksekliğini otomatik doldur", - "mobile-layout": "Mobil yerleşim ayarları", + "apply-outer-margin": "Düzen kenarlarına boşluk uygula", + "autofill-height": "Düzen yüksekliğini otomatik doldur", + "mobile-layout": "Mobil düzen ayarları", "mobile-row-height": "Mobil satır yüksekliği", "mobile-row-height-required": "Mobil satır yüksekliği gereklidir.", "min-mobile-row-height-message": "Minimum mobil satır yüksekliği değeri yalnızca 5 piksel olabilir.", @@ -2373,13 +2497,14 @@ "hide-toolbar": "Araç çubuğunu gizle", "toolbar-always-open": "Araç çubuğunu her zaman açık tut", "display-dashboards-selection": "Pano seçimini göster", - "display-entities-selection": "Varlık seçimini göster", + "display-entities-selection": "Öğe seçimini göster", "display-filters": "Filtreleri göster", "display-dashboard-timewindow": "Zaman aralığını göster", "display-dashboard-export": "Dışa aktarımı göster", "display-update-dashboard-image": "Pano görselini güncelle seçeneğini göster", + "display-configure-with-ai": "\"Yapay zeka ile yapılandır\" düğmesini göster", "dashboard-logo-settings": "Pano logosu ayarları", - "display-dashboard-logo": "Tam ekran modunda logoyu göster", + "display-dashboard-logo": "Pano tam ekran modunda logoyu göster", "dashboard-logo-image": "Pano logosu görseli", "advanced-settings": "Gelişmiş ayarlar", "dashboard-css": "Pano CSS", @@ -2391,7 +2516,7 @@ "export-png": "PNG olarak dışa aktar", "export-jpg": "JPEG olarak dışa aktar", "export-json-config": "JSON yapılandırmasını dışa aktar", - "download-dashboard-progress": "{{reportType}} panosu oluşturuluyor...", + "download-dashboard-progress": "Pano {{reportType}} dosyası oluşturuluyor...", "create-new-dashboard": "Yeni pano oluştur", "dashboard-file": "Pano dosyası", "invalid-dashboard-file-error": "Panoyu içe aktarma başarısız: Geçersiz pano veri yapısı.", @@ -2409,12 +2534,12 @@ "select-devices": "Cihazları seç", "assignedToCustomer": "Müşteriye atanmış", "assignedToCustomers": "Müşterilere atanmış", - "public": "Genel", + "public": "Herkese açık", "copyId": "Pano kimliğini kopyala", - "idCopiedMessage": "Pano kimliği panoya kopyalandı", - "public-link": "Genel bağlantı", - "copy-public-link": "Genel bağlantıyı kopyala", - "public-link-copied-message": "Pano genel bağlantısı panoya kopyalandı", + "idCopiedMessage": "Pano kimliği kopyalandı", + "public-link": "Herkese açık bağlantı", + "copy-public-link": "Herkese açık bağlantıyı kopyala", + "public-link-copied-message": "Panonun herkese açık bağlantısı kopyalandı", "manage-states": "Pano durumlarını yönet", "states": "Pano durumları", "states-short": "Durumlar", @@ -2444,19 +2569,19 @@ "home-dashboard-hide-toolbar": "Ana pano araç çubuğunu gizle", "select-group-to-add": "Seçilen panoları eklemek için hedef grubu seçin", "select-group-to-move": "Seçilen panoları taşımak için hedef grubu seçin", - "remove-dashboards-from-group": "{ count, plural, =1 {1 pano} other {# pano} } '{{entityGroup}}' grubundan kaldırmak istiyor musunuz?", + "remove-dashboards-from-group": "{ count, plural, =1 {1 panoyu} other {# panoyu} } '{{entityGroup}}' grubundan kaldırmak istediğinizden emin misiniz?", "group": "Pano grubu", "list-of-groups": "{ count, plural, =1 {Bir pano grubu} other {# pano grubu listesi} }", "group-name-starts-with": "Adı '{{prefix}}' ile başlayan pano grupları", - "unassign-dashboard-from-edge-text": "Onaydan sonra pano kenardan çıkarılacak ve kenar tarafından erişilemeyecek.", - "unassign-dashboards-from-edge-title": "{ count, plural, =1 {1 pano} other {# pano} } kenardan çıkarılsın mı?", - "unassign-dashboards-from-edge-text": "Onaydan sonra seçilen tüm panolar kenardan çıkarılacak ve erişilemeyecek.", - "assign-dashboard-to-edge": "Pano(lar)ı Kenara Ata", - "assign-dashboard-to-edge-text": "Kenara atanacak panoları seçin", + "unassign-dashboard-from-edge-text": "Onaydan sonra panonun Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "unassign-dashboards-from-edge-title": "{ count, plural, =1 {1 panonun} other {# panonun} } Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-dashboards-from-edge-text": "Onaydan sonra seçilen tüm panoların Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "assign-dashboard-to-edge": "Pano(lar)ı Edge'e Ata", + "assign-dashboard-to-edge-text": "Edge'e atanacak panoları seçin", "non-existent-dashboard-state-error": "\"{{ stateId }}\" kimliğine sahip pano durumu bulunamadı", "edit-mode": "Düzenleme modu", "duplicate-state-action": "Durumu çoğalt", - "breakpoint-value": "Kırılım noktası ({{ value }})", + "breakpoint-value": "Kırılma noktası ({{ value }})", "breakpoints-id": { "default": "Varsayılan", "xs": "Mobil (xs)", @@ -2484,12 +2609,12 @@ "configuration": "Veri anahtarı yapılandırması", "timeseries": "Zaman serisi", "attributes": "Öznitelikler", - "entity-field": "Varlık alanı", + "entity-field": "Öğe alanı", "alarm": "Alarm alanları", - "timeseries-required": "Varlık zaman serisi gereklidir.", - "timeseries-or-attributes-required": "Varlık zaman serisi/öznitelikleri gereklidir.", - "alarm-fields-timeseries-or-attributes-required": "Alarm alanları veya varlık zaman serisi/öznitelikleri gereklidir.", - "maximum-timeseries-or-attributes": "En fazla { count, plural, =1 {1 zaman serisi/öznitelik izin verilir.} other {# zaman serisi/öznitelik izin verilir} }", + "timeseries-required": "Öğe zaman serisi gereklidir.", + "timeseries-or-attributes-required": "Öğe zaman serisi/öznitelikleri gereklidir.", + "alarm-fields-timeseries-or-attributes-required": "Alarm alanları veya öğe zaman serisi/öznitelikleri gereklidir.", + "maximum-timeseries-or-attributes": "En fazla { count, plural, =1 {1 zaman serisine/özniteliğe izin verilir.} other {# zaman serisine/özniteliğe izin verilir} }", "alarm-fields-required": "Alarm alanları gereklidir.", "function-types": "Fonksiyon türleri", "function-type": "Fonksiyon türü", @@ -2516,8 +2641,8 @@ "prev-value-description": "önceki fonksiyon çağrısının sonucu;", "time-prev-description": "önceki değerin zaman damgası;", "prev-orig-value-description": "önceki orijinal değer;", - "aggregation": "Birleştirme", - "aggregation-type-hint-common": "Performans nedenleriyle, birleştirilmiş değer hesaplamaları yalnızca 'mevcut gün', 'mevcut ay' gibi sabit zaman aralıkları için geçerlidir; 'son 30 dakika' veya 'son 24 saat' gibi kayan pencereler için geçerli değildir.", + "aggregation": "Toplama", + "aggregation-type-hint-common": "Performans nedenleriyle, toplanmış değer hesaplamaları yalnızca 'mevcut gün', 'mevcut ay' gibi sabit zaman aralıkları için geçerlidir; 'son 30 dakika' veya 'son 24 saat' gibi kayan pencereler için geçerli değildir.", "aggregation-type-none-hint": "En son değeri al.", "aggregation-type-min-hint": "Seçilen zaman aralığında en küçük değeri bul.", "aggregation-type-max-hint": "Seçilen zaman aralığında en büyük değeri bul.", @@ -2526,7 +2651,7 @@ "aggregation-type-count-hint": "Seçilen zaman aralığındaki veri noktalarının toplam sayısı.", "delta-calculation": "Delta hesaplama", "enable-delta-calculation": "Delta hesaplamayı etkinleştir", - "enable-delta-calculation-hint": "Etkinleştirildiğinde, veri anahtarı değeri, seçilen zaman aralığına ve belirtilen karşılaştırma dönemine göre birleştirilmiş değerler üzerinden hesaplanır. Performans nedenleriyle delta hesaplama yalnızca geçmiş zaman aralıklarında geçerlidir. Örneğin, dün ile önceki gün arasındaki enerji tüketimi farkını hesaplayabilirsiniz.", + "enable-delta-calculation-hint": "Etkinleştirildiğinde, veri anahtarı değeri, seçilen zaman aralığına ve belirtilen karşılaştırma dönemine göre toplanmış değerler üzerinden hesaplanır. Performans nedenleriyle delta hesaplama yalnızca geçmiş zaman aralıklarında kullanılabilir, gerçek zamanlı değerler için kullanılamaz. Örneğin, dünkü enerji tüketimi ile önceki günkü enerji tüketimi arasındaki farkı hesaplayabilirsiniz.", "delta-calculation-result": "Delta hesaplama sonucu", "delta-calculation-result-previous-value": "Önceki değer", "delta-calculation-result-delta-absolute": "Delta (mutlak)", @@ -2551,7 +2676,7 @@ "toggle-edit-mode": "Düzenleme modunu değiştir" }, "device": { - "ai-assistant-initial-prompt-placeholder": "Neyi kurmak istediğinizi açıklayın...", + "ai-assistant-initial-prompt-placeholder": "Neyi ayarlamak istediğinizi açıklayın...", "ai-assistant-example-connect-label": "Cihazımı bağla", "ai-assistant-example-connect-message": "Cihazlarımdan birini platforma bağlamama yardım et, böylece gerçek telemetri göndermeye başlasın.", "all": "Tümü", @@ -2559,7 +2684,7 @@ "groups": "Gruplar", "shared": "Paylaşılan", "device": "Cihaz", - "device-required": "Cihaz gerekli.", + "device-required": "Cihaz gereklidir.", "devices": "Cihazlar", "management": "Cihaz yönetimi", "view-devices": "Cihazları Görüntüle", @@ -2572,11 +2697,11 @@ "no-keys-found": "Hiçbir anahtar bulunamadı.", "create-new-alias": "Yeni bir tane oluştur!", "create-new-key": "Yeni bir tane oluştur!", - "duplicate-alias-error": "Yinelenen takma ad bulundu '{{alias}}'.
    Dashboard içinde cihaz takma adları benzersiz olmalıdır.", + "duplicate-alias-error": "Yinelenen takma ad bulundu '{{alias}}'.
    Pano içinde cihaz takma adları benzersiz olmalıdır.", "configure-alias": "'{{alias}}' takma adını yapılandır", "no-devices-matching": "'{{entity}}' ile eşleşen cihaz bulunamadı.", "alias": "Takma ad", - "alias-required": "Cihaz takma adı gerekli.", + "alias-required": "Cihaz takma adı gereklidir.", "remove-alias": "Cihaz takma adını kaldır", "add-alias": "Cihaz takma adı ekle", "name-starts-with": "Cihaz adı ifadesi", @@ -2584,7 +2709,7 @@ "device-list": "Cihaz listesi", "use-device-name-filter": "Filtre kullan", "device-list-empty": "Hiçbir cihaz seçilmedi.", - "device-name-filter-required": "Cihaz adı filtresi gerekli.", + "device-name-filter-required": "Cihaz adı filtresi gereklidir.", "device-name-filter-no-device-matched": "'{{device}}' ile başlayan cihaz bulunamadı.", "add": "Cihaz ekle", "assign-to-customer": "Müşteriye ata", @@ -2600,51 +2725,51 @@ "manage-credentials": "Kimlik bilgilerini yönet", "delete": "Cihazı sil", "assign-devices": "Cihazları ata", - "assign-devices-text": "{ count, plural, =1 {1 cihaz} other {# cihaz} } müşteriye ata", + "assign-devices-text": "{ count, plural, =1 {1 cihazı} other {# cihazı} } müşteriye ata", "delete-devices": "Cihazları sil", - "unassign-from-customer": "Müşteriden çıkar", + "unassign-from-customer": "Müşteriden atamayı kaldır", "unassign-devices": "Cihazların atamasını kaldır", - "unassign-devices-action-title": "{ count, plural, =1 {1 cihaz} other {# cihaz} } müşteriden çıkar", - "unassign-device-from-edge-title": "'{{deviceName}}' cihazının edge'den çıkarılmasını istiyor musunuz?", - "unassign-device-from-edge-text": "Onaydan sonra cihazın edge erişimi olmayacaktır.", - "unassign-devices-from-edge": "Cihazları edge'den çıkar", + "unassign-devices-action-title": "{ count, plural, =1 {1 cihazın} other {# cihazın} } müşteriden atamasını kaldır", + "unassign-device-from-edge-title": "'{{deviceName}}' cihazının Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-device-from-edge-text": "Onaydan sonra cihazın Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "unassign-devices-from-edge": "Cihazların Edge atamasını kaldır", "assign-new-device": "Yeni cihaz ata", - "make-public-device-title": "'{{deviceName}}' cihazını herkese açık yapmak istediğinize emin misiniz?", + "make-public-device-title": "'{{deviceName}}' cihazını herkese açık yapmak istediğinizden emin misiniz?", "make-public-device-text": "Onaydan sonra cihaz ve tüm verileri herkese açık olacak.", - "make-private-device-title": "'{{deviceName}}' cihazını özel yapmak istediğinize emin misiniz?", + "make-private-device-title": "'{{deviceName}}' cihazını özel yapmak istediğinizden emin misiniz?", "make-private-device-text": "Onaydan sonra cihaz ve tüm verileri özel olacak ve başkaları tarafından erişilemeyecek.", "view-credentials": "Kimlik bilgilerini görüntüle", - "delete-device-title": "'{{deviceName}}' cihazını silmek istediğinize emin misiniz?", + "delete-device-title": "'{{deviceName}}' cihazını silmek istediğinizden emin misiniz?", "delete-device-text": "Dikkatli olun, onaydan sonra cihaz ve tüm ilişkili veriler geri alınamaz hale gelecek.", - "delete-devices-title": "{ count, plural, =1 {1 cihaz} other {# cihaz} } silmek istediğinize emin misiniz?", - "delete-devices-action-title": "{ count, plural, =1 {1 cihaz} other {# cihaz} } sil", + "delete-devices-title": "{ count, plural, =1 {1 cihazı} other {# cihazı} } silmek istediğinizden emin misiniz?", + "delete-devices-action-title": "{ count, plural, =1 {1 cihazı} other {# cihazı} } sil", "delete-devices-text": "Onaydan sonra seçilen tüm cihazlar ve ilgili veriler kalıcı olarak silinecektir.", - "unassign-device-title": "'{{deviceName}}' cihazının atamasını kaldırmak istediğinize emin misiniz?", - "unassign-device-text": "Onaydan sonra cihazın müşteri erişimi olmayacaktır.", + "unassign-device-title": "'{{deviceName}}' cihazının atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-device-text": "Onaydan sonra cihazın ataması kaldırılacak ve müşteri tarafından erişilemeyecek.", "unassign-device": "Cihazın atamasını kaldır", - "unassign-devices-title": "{ count, plural, =1 {1 cihaz} other {# cihaz} } atamasını kaldırmak istediğinize emin misiniz?", - "unassign-devices-text": "Onaydan sonra tüm seçili cihazların müşteri erişimi kaldırılacaktır.", + "unassign-devices-title": "{ count, plural, =1 {1 cihazın} other {# cihazın} } atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-devices-text": "Onaydan sonra seçili tüm cihazların ataması kaldırılacak ve müşteri tarafından erişilemeyecek.", "device-credentials": "Cihaz Kimlik Bilgileri", "loading-device-credentials": "Cihaz kimlik bilgileri yükleniyor...", "credentials-type": "Kimlik bilgisi türü", - "access-token": "Erişim anahtarı", - "access-token-required": "Erişim anahtarı gerekli.", - "access-token-invalid": "Erişim anahtarı uzunluğu 1 ile 32 karakter arasında olmalıdır.", + "access-token": "Erişim belirteci", + "access-token-required": "Erişim belirteci gereklidir.", + "access-token-invalid": "Erişim belirteci uzunluğu 1 ile 32 karakter arasında olmalıdır.", "certificate-pem-format": "PEM formatında sertifika", - "certificate-pem-format-required": "Sertifika gerekli.", - "copy-access-token": "Erişim anahtarını kopyala", + "certificate-pem-format-required": "Sertifika gereklidir.", + "copy-access-token": "Erişim belirtecini kopyala", "copy-certificate": "Sertifikayı kopyala", "copy-client-id": "İstemci Kimliğini kopyala", "copy-user-name": "Kullanıcı adını kopyala", - "copy-password": "Şifreyi kopyala", + "copy-password": "Parolayı kopyala", "generate-client-id": "İstemci Kimliği Oluştur", "generate-user-name": "Kullanıcı Adı Oluştur", - "generate-password": "Şifre Oluştur", - "generate-access-token": "Erişim Anahtarı Oluştur", + "generate-password": "Parola Oluştur", + "generate-access-token": "Erişim Belirteci Oluştur", "lwm2m-security-config": { "identity": "İstemci Kimliği", "identity-required": "İstemci Kimliği gereklidir.", - "identity-tooltip": "PSK tanımlayıcısı, [RFC7925] standardında tanımlandığı gibi en fazla 128 bayt uzunluğunda rastgele bir tanımlayıcıdır.\nTanımlayıcı önce karakter dizisine dönüştürülmeli ve ardından UTF-8 ile baytlara kodlanmalıdır.", + "identity-tooltip": "PSK tanımlayıcısı, [RFC7925] standardında tanımlandığı gibi en fazla 128 bayt uzunluğunda, serbestçe seçilebilen bir tanımlayıcıdır.\nPSK tanımlayıcısı önce karakter dizisine dönüştürülmeli ve ardından UTF-8 ile oktetlere kodlanmalıdır.", "client-key": "İstemci Anahtarı", "client-key-required": "İstemci Anahtarı gereklidir.", "client-key-tooltip-prk": "RPK genel anahtarı veya kimliği [RFC7250] standardında olmalı ve Base64 formatında kodlanmalıdır!", @@ -2657,14 +2782,14 @@ "mode": "Güvenlik yapılandırma modu", "client-tab": "İstemci Güvenlik Yapılandırması", "client-certificate": "İstemci sertifikası", - "bootstrap-tab": "Başlatma İstemcisi", - "bootstrap-server": "Başlatma Sunucusu", + "bootstrap-tab": "Bootstrap İstemcisi", + "bootstrap-server": "Bootstrap Sunucusu", "lwm2m-server": "LwM2M Sunucusu", "client-reboot": "Kayıt Güncelleme Tetikleyicisi", "bootstrap-reboot": "Bootstrap-Request Tetikleyicisi", "client-publicKey-or-id": "İstemci Genel Anahtarı veya Kimliği", "client-publicKey-or-id-required": "İstemci Genel Anahtarı veya Kimliği gereklidir.", - "client-publicKey-or-id-tooltip-psk": "[RFC7925] standardına göre PSK tanımlayıcısı en fazla 128 baytlık rastgele bir tanımlayıcıdır.\nTanımlayıcı önce karakter dizisine çevrilmeli ve ardından UTF-8 ile kodlanmalıdır.", + "client-publicKey-or-id-tooltip-psk": "PSK tanımlayıcısı, [RFC7925] standardında tanımlandığı gibi en fazla 128 bayt uzunluğunda, serbestçe seçilebilen bir tanımlayıcıdır.\nPSK tanımlayıcısı önce karakter dizisine dönüştürülmeli ve ardından UTF-8 ile oktetlere kodlanmalıdır.", "client-publicKey-or-id-tooltip-rpk": "RPK genel anahtarı veya kimliği [RFC7250] standardında olmalı ve Base64 formatında kodlanmalıdır!", "client-publicKey-or-id-tooltip-x509": "X509 genel anahtarı, yalnızca EC algoritmasını destekleyen DER kodlu X509v3 formatında olmalı ve Base64 formatında kodlanmalıdır", "client-secret-key": "İstemci Gizli Anahtarı", @@ -2678,9 +2803,9 @@ "user-name": "Kullanıcı Adı", "user-name-required": "Kullanıcı Adı gereklidir.", "client-id-or-user-name-necessary": "İstemci Kimliği ve/veya Kullanıcı Adı gereklidir", - "password": "Şifre", - "secret": "Gizli", - "secret-required": "Gizli alan gereklidir.", + "password": "Parola", + "secret": "Gizli anahtar", + "secret-required": "Gizli anahtar gereklidir.", "device-type": "Cihaz profili", "device-type-required": "Cihaz türü gereklidir.", "select-device-type": "Cihaz türünü seç", @@ -2692,28 +2817,28 @@ "device-types": "Cihaz türleri", "name": "Ad", "name-required": "Ad gereklidir.", - "name-max-length": "Ad 256 karakterden az olmalıdır", - "label-max-length": "Etiket 256 karakterden az olmalıdır", + "name-max-length": "Ad 256 karakterden kısa olmalıdır", + "label-max-length": "Etiket 256 karakterden kısa olmalıdır", "description": "Açıklama", "label": "Etiket", "events": "Olaylar", "details": "Ayrıntılar", - "copyId": "Cihaz Id kopyala", - "copyAccessToken": "Erişim anahtarını kopyala", + "copyId": "Cihaz kimliğini kopyala", + "copyAccessToken": "Erişim belirtecini kopyala", "copy-mqtt-authentication": "MQTT kimlik bilgilerini kopyala", - "idCopiedMessage": "Cihaz Id panoya kopyalandı", - "accessTokenCopiedMessage": "Cihaz erişim anahtarı panoya kopyalandı", + "idCopiedMessage": "Cihaz kimliği panoya kopyalandı", + "accessTokenCopiedMessage": "Cihaz erişim belirteci panoya kopyalandı", "mqtt-authentication-copied-message": "Cihaz MQTT kimlik doğrulama bilgileri panoya kopyalandı", "assignedToCustomer": "Müşteriye atanmış", "unable-delete-device-alias-title": "Cihaz takma adı silinemiyor", "unable-delete-device-alias-text": "'{{deviceAlias}}' cihaz takma adı aşağıdaki widget(lar) tarafından kullanıldığı için silinemiyor:
    {{widgetsList}}", - "is-gateway": "Ağ geçidi mi", + "is-gateway": "Gateway mi", "overwrite-activity-time": "Bağlı cihaz için etkinlik zamanını üzerine yaz", "device-filter-title": "Cihaz Filtresi", "filter-title": "Filtre", "device-state": "Cihaz durumu", "state": "Durum", - "any": "Herhangi", + "any": "Herhangi biri", "active": "Aktif", "inactive": "Pasif", "public": "Herkese açık", @@ -2721,7 +2846,7 @@ "select-device": "Cihaz seç", "select-group-to-add": "Seçilen cihazları eklemek için hedef grup seçin", "select-group-to-move": "Seçilen cihazları taşımak için hedef grup seçin", - "remove-devices-from-group": "{ count, plural, =1 {1 cihazı} other {# cihazı} } '{{entityGroup}}' grubundan kaldırmak istediğinize emin misiniz?", + "remove-devices-from-group": "{ count, plural, =1 {1 cihazı} other {# cihazı} } '{{entityGroup}}' grubundan kaldırmak istediğinizden emin misiniz?", "group": "Cihaz grubu", "list-of-groups": "{ count, plural, =1 {Bir cihaz grubu} other {# cihaz grubu listesi} }", "group-name-starts-with": "'{{prefix}}' ile başlayan cihaz grupları", @@ -2734,8 +2859,8 @@ "wizard": { "device-details": "Cihaz ayrıntıları" }, - "unassign-devices-from-edge-title": "{ count, plural, =1 {1 cihazı} other {# cihazı} } kaldırmak istediğinize emin misiniz?", - "unassign-devices-from-edge-text": "Onaydan sonra, seçilen tüm cihazlar kaldırılacak ve edge tarafından erişilemeyecektir.", + "unassign-devices-from-edge-title": "{ count, plural, =1 {1 cihazın} other {# cihazın} } Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-devices-from-edge-text": "Onaydan sonra seçilen tüm cihazların Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", "time": "Zaman", "connectivity": { "check-connectivity": "Bağlantıyı kontrol et", @@ -2743,11 +2868,13 @@ "loading-check-connectivity-command": "Bağlantı kontrol komutları yükleniyor...", "use-following-instructions": "Cihaz adına telemetri göndermek için aşağıdaki komutları kullanın", "execute-following-command": "Aşağıdaki komutu çalıştırın", + "step-execute-following-command": "Adım 2. Aşağıdaki komutu çalıştırın", + "step-install-necessary-client-tools": "Adım 1. Gerekli istemci araçlarını kurun", "install-curl-windows": "Windows 10 b17063 itibarıyla cURL varsayılan olarak mevcuttur", "install-curl-macos": "Mac OS X 10.2 6C115 (Jaguar) itibarıyla cURL varsayılan olarak mevcuttur", "install-mqtt-windows": "mosquitto_pub'u indirip kurmak ve çalıştırmak için talimatları kullanın", "install-coap-client": "coap-client'i indirip kurmak ve çalıştırmak için talimatları kullanın", - "install-necessary-client-tools": "Gerekli istemci araçlarını yükleyin", + "install-necessary-client-tools": "Gerekli istemci araçlarını kurun", "mqtts-x509-command": "MQTT üzerinden X509 yetkilendirmesiyle cihazı bağlamak için bu dokümantasyonu kullanın", "coaps-x509-command": "DTLS üzerinden CoAP ile X509 yetkilendirmesiyle cihazı bağlamak için bu dokümantasyonu kullanın", "snmp-command": "Cihazı SNMP aracılığıyla bağlamak için bu dokümantasyonu kullanın.", @@ -2763,14 +2890,14 @@ "name": "Ad", "type": "Tür", "type-text": "Metin", - "type-password": "Şifre", + "type-password": "Parola", "type-textarea": "Metin alanı", "type-number": "Sayı", - "type-switch": "Anahtar", + "type-switch": "Açma/kapama düğmesi", "type-select": "Seçim", "type-radios": "Radyo düğmeleri", "type-datetime": "Tarih/Saat", - "type-image": "Resim", + "type-image": "Görsel", "type-javascript": "JavaScript", "type-json": "JSON", "type-html": "HTML", @@ -2791,7 +2918,7 @@ "property-settings": "Özellik ayarları", "remove-property": "Özelliği kaldır", "default-value": "Varsayılan değer", - "value-required": "Değer gerekli", + "value-required": "Değer gereklidir", "number-settings": "Sayı ayarları", "min": "Min", "max": "Maks", @@ -2806,10 +2933,10 @@ "input-field-suffix": "Girdi alanı soneki", "property-row-classes": "Özellik satır sınıfları", "property-field-classes": "Özellik alanı sınıfları", - "not-unique-property-ids-error": "Özellik Id'leri benzersiz olmalıdır!", - "enable-multiple-select": "Çoklu seçim etkinleştir", - "allow-empty-select-option": "Boş seçenek izin ver", - "select-options": "Seçenekleri seç", + "not-unique-property-ids-error": "Özellik kimlikleri benzersiz olmalıdır!", + "enable-multiple-select": "Çoklu seçimi etkinleştir", + "allow-empty-select-option": "Boş seçeneğe izin ver", + "select-options": "Seçim listesi seçenekleri", "not-unique-select-option-value-error": "Seçenek değerleri benzersiz olmalıdır!", "value": "Değer", "label": "Etiket", @@ -2837,9 +2964,9 @@ "support-unit-conversion": "Birim dönüşümünü destekle" }, "clear-form": "Formu temizle", - "clear-form-prompt": "Tüm form özelliklerini kaldırmak istediğinize emin misiniz?", + "clear-form-prompt": "Tüm form özelliklerini kaldırmak istediğinizden emin misiniz?", "import-form": "JSON'dan form içe aktar", - "export-form": "JSON'a form dışa aktar", + "export-form": "Formu JSON olarak dışa aktar", "json-file": "JSON dosyası", "json-content": "JSON içeriği", "invalid-form-json-file-error": "Form JSON'dan içe aktarılamıyor: Geçersiz form JSON veri yapısı." @@ -2865,18 +2992,18 @@ "new-device-profile-name-required": "Varlık profili adı gereklidir.", "name": "Ad", "name-required": "Ad gereklidir.", - "image": "Varlık profili resmi", + "image": "Varlık profili görseli", "description": "Açıklama", "default": "Varsayılan", "default-rule-chain": "Varsayılan kural zinciri", - "default-edge-rule-chain": "Varsayılan edge kural zinciri", - "default-edge-rule-chain-hint": "Bu varlık profiline sahip varlıklar için gelen verileri işlemek üzere edge üzerinde kullanılan kural zinciri", - "mobile-dashboard": "Mobil kontrol paneli", - "mobile-dashboard-hint": "Mobil uygulama tarafından varlık detay kontrol paneli olarak kullanılır", + "default-edge-rule-chain": "Varsayılan Edge kural zinciri", + "default-edge-rule-chain-hint": "Bu varlık profiline sahip varlıklar için gelen verileri işlemek üzere Edge üzerinde kullanılan kural zinciri", + "mobile-dashboard": "Mobil pano", + "mobile-dashboard-hint": "Mobil uygulama tarafından varlık ayrıntı panosu olarak kullanılır", "select-queue-hint": "Açılır listeden seçin.", "delete-asset-profile-title": "'{{assetProfileName}}' varlık profilini silmek istediğinizden emin misiniz?", "delete-asset-profile-text": "Dikkatli olun, onaydan sonra varlık profili ve ilgili tüm veriler geri alınamaz şekilde silinecektir.", - "delete-asset-profiles-title": "{ count, plural, =1 {1 varlık profili} other {# varlık profili} } silmek istediğinizden emin misiniz?", + "delete-asset-profiles-title": "{ count, plural, =1 {1 varlık profilini} other {# varlık profilini} } silmek istediğinizden emin misiniz?", "delete-asset-profiles-text": "Dikkatli olun, onaydan sonra seçilen tüm varlık profilleri ve ilgili veriler geri alınamaz şekilde silinecektir.", "set-default-asset-profile-title": "'{{assetProfileName}}' varlık profilini varsayılan yapmak istediğinizden emin misiniz?", "set-default-asset-profile-text": "Onaylandıktan sonra bu varlık profili varsayılan olarak işaretlenecek ve profili belirtilmemiş yeni varlıklar için kullanılacaktır.", @@ -2911,7 +3038,7 @@ "type": "Profil türü", "type-required": "Profil türü gereklidir.", "type-default": "Varsayılan", - "image": "Cihaz profili resmi", + "image": "Cihaz profili görseli", "transport-type": "İletim türü", "transport-type-required": "İletim türü gereklidir.", "transport-type-default": "Varsayılan", @@ -2930,14 +3057,14 @@ "profile-configuration": "Profil yapılandırması", "transport-configuration": "İletim yapılandırması", "default-rule-chain": "Varsayılan kural zinciri", - "default-edge-rule-chain": "Varsayılan edge kural zinciri", - "default-edge-rule-chain-hint": "Bu cihaz profiline sahip cihazlar için edge üzerinde gelen verileri işlemek üzere kullanılır", - "mobile-dashboard": "Mobil kontrol paneli", - "mobile-dashboard-hint": "Mobil uygulama tarafından cihaz detay kontrol paneli olarak kullanılır", + "default-edge-rule-chain": "Varsayılan Edge kural zinciri", + "default-edge-rule-chain-hint": "Bu cihaz profiline sahip cihazlar için gelen verileri işlemek üzere Edge üzerinde kural zinciri olarak kullanılır", + "mobile-dashboard": "Mobil pano", + "mobile-dashboard-hint": "Mobil uygulama tarafından cihaz ayrıntı panosu olarak kullanılır", "select-queue-hint": "Açılır listeden seçin.", "delete-device-profile-title": "'{{deviceProfileName}}' cihaz profilini silmek istediğinizden emin misiniz?", "delete-device-profile-text": "Dikkatli olun, onaydan sonra cihaz profili ve ilişkili OTA güncellemeleri dahil tüm veriler geri alınamaz şekilde silinecektir.", - "delete-device-profiles-title": "{ count, plural, =1 {1 cihaz profili} other {# cihaz profili} } silmek istediğinizden emin misiniz?", + "delete-device-profiles-title": "{ count, plural, =1 {1 cihaz profilini} other {# cihaz profilini} } silmek istediğinizden emin misiniz?", "delete-device-profiles-text": "Dikkatli olun, onaydan sonra seçilen tüm cihaz profilleri ve ilişkili veriler (OTA güncellemeleri dahil) geri alınamaz şekilde silinecektir.", "set-default-device-profile-title": "'{{deviceProfileName}}' cihaz profilini varsayılan yapmak istediğinizden emin misiniz?", "set-default-device-profile-text": "Onaylandıktan sonra bu cihaz profili varsayılan olarak işaretlenecek ve profili belirtilmemiş yeni cihazlar için kullanılacaktır.", @@ -2947,22 +3074,22 @@ "mqtt-device-topic-filters-unique": "MQTT cihaz konu filtreleri benzersiz olmalıdır.", "mqtt-device-topic-filters-spark-plug": "MQTT Sparkplug B Edge of Network (EoN) düğümü.", "mqtt-device-topic-filters-spark-plug-hint": "Sparkplug B yükü ve konu formatı ile EoN düğümlerinden bağlantılara izin ver.", - "mqtt-device-topic-filters-spark-plug-attribute-metric-names": "SparkPlug metriklerini özellik olarak kaydet.", - "mqtt-device-topic-filters-spark-plug-attribute-metric-names-hint": "Cihaz özellikleri olarak saklanacak SparkPlug metriklerinin adları. Diğer tüm metrikler cihaz telemetrisi olarak saklanacaktır.", + "mqtt-device-topic-filters-spark-plug-attribute-metric-names": "SparkPlug metriklerini öznitelik olarak kaydet.", + "mqtt-device-topic-filters-spark-plug-attribute-metric-names-hint": "Cihaz öznitelikleri olarak saklanacak SparkPlug metriklerinin adları. Diğer tüm metrikler cihaz telemetrisi olarak saklanacaktır.", "mqtt-device-payload-type": "MQTT cihaz yükü", "mqtt-device-payload-type-json": "JSON", "mqtt-device-payload-type-proto": "Protobuf", "mqtt-enable-compatibility-with-json-payload-format": "Diğer yük formatlarıyla uyumluluğu etkinleştir", - "mqtt-enable-compatibility-with-json-payload-format-hint": "Etkinleştirildiğinde, platform varsayılan olarak Protobuf yük formatını kullanır. Ayrıştırma başarısız olursa JSON yük formatı denenir. Eski ve yeni ürün yazılımları için geçici olarak kullanılabilir. Tüm cihazlar güncellendikten sonra devre dışı bırakılması önerilir.", - "mqtt-use-json-format-for-default-downlink-topics": "Varsayılan downlink konuları için JSON formatını kullan", - "mqtt-use-json-format-for-default-downlink-topics-hint": "Etkinleştirildiğinde platform, belirli konular üzerinden özellik ve RPC iletiminde JSON formatı kullanır. Yeni (v2) konular etkilenmez.", - "mqtt-send-ack-on-validation-exception": "Yayın doğrulama hatasında PUBACK gönder", + "mqtt-enable-compatibility-with-json-payload-format-hint": "Etkinleştirildiğinde platform varsayılan olarak Protobuf yük biçimini kullanır. Ayrıştırma başarısız olursa JSON yük biçimini dener. Ürün yazılımı güncellemeleri sırasında geriye dönük uyumluluk için kullanışlıdır. Örneğin ürün yazılımının ilk sürümü JSON, yeni sürümü ise Protobuf kullanır. Bir cihaz filosunun ürün yazılımı güncellenirken hem Protobuf hem de JSON aynı anda desteklenmelidir. Uyumluluk modu performansı bir miktar düşürür; bu nedenle tüm cihazlar güncellendikten sonra bu modun devre dışı bırakılması önerilir.", + "mqtt-use-json-format-for-default-downlink-topics": "Varsayılan aşağı bağlantı (downlink) konuları için JSON formatını kullan", + "mqtt-use-json-format-for-default-downlink-topics-hint": "Etkinleştirildiğinde platform, öznitelikleri ve RPC'leri şu konular üzerinden JSON yük biçiminde gönderir: v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. Bu ayar, yeni (v2) konular üzerinden gönderilen öznitelik ve RPC aboneliklerini etkilemez: v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. $request_id, tam sayı bir istek tanımlayıcısıdır.", + "mqtt-send-ack-on-validation-exception": "PUBLISH mesajı doğrulanamadığında PUBACK gönder", "mqtt-send-ack-on-validation-exception-hint": "Varsayılan olarak platform, doğrulama hatasında MQTT oturumunu kapatır. Etkinleştirildiğinde oturumu kapatmak yerine yayın onayı gönderilir.", "mqtt-protocol-version": "Protokol sürümü", "snmp-add-mapping": "SNMP eşlemesi ekle", "snmp-mapping-not-configured": "OID ile zaman serisi/telemetri için eşleme yapılandırılmamış", - "snmp-timseries-or-attribute-name": "Zaman serisi/özellik adı", - "snmp-timseries-or-attribute-type": "Zaman serisi/özellik türü", + "snmp-timseries-or-attribute-name": "Zaman serisi/öznitelik adı", + "snmp-timseries-or-attribute-type": "Zaman serisi/öznitelik türü", "snmp-method-pdu-type-get-request": "GetRequest", "snmp-method-pdu-type-get-next-request": "GetNextRequest", "snmp-oid": "OID", @@ -2978,9 +3105,9 @@ "telemetry-topic-filter": "Telemetri konu filtresi", "telemetry-topic-filter-required": "Telemetri konu filtresi gereklidir.", "attributes-topic-filter": "Öznitelik yayın konu filtresi", - "attributes-subscribe-topic-filter": "Öznitelik abone konu filtresi", + "attributes-subscribe-topic-filter": "Öznitelik abonelik konu filtresi", "attributes-topic-filter-required": "Öznitelik yayın konu filtresi gereklidir.", - "attributes-subscribe-topic-filter-required": "Öznitelik abone konusu gereklidir", + "attributes-subscribe-topic-filter-required": "Öznitelik abonelik konusu gereklidir", "telemetry-proto-schema": "Telemetri proto şeması", "telemetry-proto-schema-required": "Telemetri proto şeması gereklidir.", "attributes-proto-schema": "Öznitelik proto şeması", @@ -2996,7 +3123,7 @@ "not-valid-single-character": "Tek seviyeli joker karakterin hatalı kullanımı", "not-valid-multi-character": "Çok seviyeli joker karakterin hatalı kullanımı", "single-level-wildcards-hint": "[+] her konu seviyesi için uygundur. Örn.: v1/devices/+/telemetry veya +/devices/+/attributes.", - "multi-level-wildcards-hint": "[#] konu filtresinin tamamını değiştirebilir ve son karakter olmalıdır. Örn.: # veya v1/devices/me/#.", + "multi-level-wildcards-hint": "[#] konu filtresinin tamamının yerine geçebilir ve konunun son karakteri olmalıdır. Örn.: # veya v1/devices/me/#.", "alarm-rules": "Alarm kuralları", "alarm-rules-with-count": "Alarm kuralları ({{count}})", "no-alarm-rules": "Tanımlı alarm kuralı yok", @@ -3010,12 +3137,12 @@ "create-alarm-rules": "Alarm kuralları oluştur", "no-create-alarm-rules": "Tanımlı oluşturma koşulu yok", "add-create-alarm-rule-prompt": "Lütfen alarm oluşturma kuralı ekleyin", - "clear-alarm-rule": "Alarm kuralını temizle", + "clear-alarm-rule": "Alarm temizleme kuralı", "no-clear-alarm-rule": "Tanımlı temizleme koşulu yok", "add-create-alarm-rule": "Oluşturma koşulu ekle", "add-clear-alarm-rule": "Temizleme koşulu ekle", - "select-alarm-severity": "Alarm şiddetini seç", - "alarm-severity-required": "Alarm şiddeti gereklidir.", + "select-alarm-severity": "Alarm önem derecesini seçin", + "alarm-severity-required": "Alarm önem derecesi gereklidir.", "condition-duration": "Koşul süresi", "condition-duration-value": "Süre değeri", "condition-duration-time-unit": "Zaman birimi", @@ -3026,18 +3153,18 @@ "advanced-settings": "Gelişmiş ayarlar", "alarm-rule-additional-info": "Ek bilgi", "edit-alarm-rule-additional-info": "Ek bilgiyi düzenle", - "alarm-rule-additional-info-placeholder": "Alarm ayrıntılarında Ek bilgi sekmesinde görüntülenecek yorum ve ayarları buraya girin", + "alarm-rule-additional-info-placeholder": "Alarm ayrıntılarında Ek bilgi altında görüntülenecek yorum ve düzenlemeleri buraya girin", "alarm-rule-additional-info-hint": "İpucu: Alarm kural koşulunda kullanılan öznitelik veya telemetri anahtarlarının değerlerini yerleştirmek için ${keyName} kullanın.", - "alarm-rule-mobile-dashboard": "Mobil kontrol paneli", - "alarm-rule-mobile-dashboard-hint": "Mobil uygulama tarafından alarm detay paneli olarak kullanılır", - "alarm-rule-no-mobile-dashboard": "Seçilen kontrol paneli yok", - "propagate-alarm": "Alarmı ilişkili varlıklara yay", + "alarm-rule-mobile-dashboard": "Mobil pano", + "alarm-rule-mobile-dashboard-hint": "Mobil uygulama tarafından alarm ayrıntı panosu olarak kullanılır", + "alarm-rule-no-mobile-dashboard": "Hiçbir pano seçilmedi", + "propagate-alarm": "Alarmı ilişkili öğelere yay", "alarm-rule-relation-types-list": "İlişki türleri", - "alarm-rule-relation-types-list-hint": "İlişkili varlıkları filtrelemek için ilişki türlerini tanımlar. Belirtilmezse alarm tüm ilişkili varlıklara yayılır.", - "propagate-alarm-to-owner": "Alarmı varlık sahibine (Müşteri veya Kiracı) yay", - "propagate-alarm-to-owner-hierarchy": "Alarmı varlık sahipleri hiyerarşisine yay", - "propagate-alarm-to-tenant": "Alarmı Kiracı'ya yay", - "alarm-rule-condition": "Alarm kural koşulu", + "alarm-rule-relation-types-list-hint": "İlişkili öğeleri filtrelemek için ilişki türlerini tanımlar. Belirtilmezse, alarm tüm ilişkili öğelere yayılacaktır.", + "propagate-alarm-to-owner": "Alarmı öğe sahibine yay (Müşteri veya Kiracı)", + "propagate-alarm-to-owner-hierarchy": "Alarmı öğe sahipleri hiyerarşisine yay", + "propagate-alarm-to-tenant": "Alarmı kiracıya yay", + "alarm-rule-condition": "Alarm kuralı koşulu", "enter-alarm-rule-condition-prompt": "Lütfen alarm kuralı koşulu ekleyin", "edit-alarm-rule-condition": "Alarm kuralı koşulunu düzenle", "device-provisioning": "Cihaz sağlama", @@ -3052,8 +3179,8 @@ "provision-key-copied-message": "Sağlama anahtarı panoya kopyalandı", "provision-device-secret": "Cihaz sağlama gizli anahtarı", "provision-device-secret-required": "Cihaz sağlama gizli anahtarı gereklidir.", - "copy-provision-secret": "Gizli sağlama anahtarını kopyala", - "provision-secret-copied-message": "Gizli sağlama anahtarı panoya kopyalandı", + "copy-provision-secret": "Sağlama gizli anahtarını kopyala", + "provision-secret-copied-message": "Sağlama gizli anahtarı panoya kopyalandı", "provision-strategy-x509": { "certificate-chain": "X509 Sertifika Zinciri", "certificate-chain-hint": "X.509 sertifikaları stratejisi, iki yönlü TLS iletişiminde istemci sertifikalarıyla cihaz sağlamak için kullanılır.", @@ -3084,7 +3211,7 @@ "schedule": "Zamanlama", "edit-schedule": "Alarm zamanlamasını düzenle", "schedule-any-time": "Her zaman etkin", - "schedule-specific-time": "Belirli zamanda etkin", + "schedule-specific-time": "Belirli bir zamanda etkin", "schedule-custom": "Özel", "schedule-day": { "monday": "Pazartesi", @@ -3099,7 +3226,7 @@ "schedule-time": "Zaman", "schedule-time-from": "Başlangıç", "schedule-time-to": "Bitiş", - "schedule-days-of-week-required": "En az bir gün seçilmelidir.", + "schedule-days-of-week-required": "En az bir hafta günü seçilmelidir.", "create-device-profile": "Yeni cihaz profili oluştur", "import": "Cihaz profili içe aktar", "export": "Cihaz profili dışa aktar", @@ -3117,10 +3244,10 @@ "edrx-cycle-required": "eDRX döngüsü gereklidir.", "edrx-cycle-pattern": "eDRX döngüsü pozitif tamsayı olmalıdır.", "edrx-cycle-min": "Minimum eDRX döngüsü {{ min }} saniyedir.", - "paging-transmission-window": "Sayfalama Aktarım Penceresi", - "paging-transmission-window-required": "Sayfalama aktarım penceresi gereklidir.", - "paging-transmission-window-pattern": "Sayfalama aktarım penceresi pozitif bir tamsayı olmalıdır.", - "paging-transmission-window-min": "Minimum sayfalama aktarım penceresi değeri {{ min }} saniyedir.", + "paging-transmission-window": "Çağrı Aktarım Penceresi", + "paging-transmission-window-required": "Çağrı aktarım penceresi gereklidir.", + "paging-transmission-window-pattern": "Çağrı aktarım penceresi pozitif bir tamsayı olmalıdır.", + "paging-transmission-window-min": "Minimum çağrı aktarım penceresi değeri {{ min }} saniyedir.", "psm-activity-timer": "PSM Aktivite Zamanlayıcısı", "psm-activity-timer-required": "PSM aktivite zamanlayıcısı gereklidir.", "psm-activity-timer-pattern": "PSM aktivite zamanlayıcısı pozitif bir tamsayı olmalıdır.", @@ -3139,29 +3266,32 @@ "instance": "Örnek", "resource-label": "#ID Kaynak adı", "observe-label": "Gözlemle", - "attribute-label": "Özellik", + "attribute-label": "Öznitelik", "telemetry-label": "Telemetri", - "edit-observe-select": "Gözlemi düzenlemek için telemetri veya özellik seçin", - "edit-attributes-select": "Özellikleri düzenlemek için telemetri veya özellik seçin", - "no-attributes-set": "Tanımlı özellik yok", + "select-all-attribute": "Tüm öznitelikleri seç", + "select-all-telemetry": "Tüm telemetriyi seç", + "select-all-observe": "Tüm gözlemlenenleri seç", + "edit-observe-select": "Gözlemi düzenlemek için telemetri veya öznitelik seçin", + "edit-attributes-select": "Öznitelikleri düzenlemek için telemetri veya öznitelik seçin", + "no-attributes-set": "Tanımlı öznitelik yok", "key-name": "Anahtar adı", "key-name-required": "Anahtar adı gereklidir", - "attribute-name": "Özellik adı", - "attribute-name-required": "Özellik adı gereklidir.", - "attribute-value": "Özellik değeri", - "attribute-value-required": "Özellik değeri gereklidir.", - "attribute-value-pattern": "Özellik değeri pozitif bir tamsayı olmalıdır.", - "edit-attributes": "Özellikleri düzenle: {{ name }}", - "view-attributes": "Özellikleri görüntüle: {{ name }}", - "add-attribute": "Özellik ekle", - "edit-attribute": "Özelliği düzenle", - "view-attribute": "Özelliği görüntüle", - "remove-attribute": "Özelliği kaldır", + "attribute-name": "Öznitelik adı", + "attribute-name-required": "Öznitelik adı gereklidir.", + "attribute-value": "Öznitelik değeri", + "attribute-value-required": "Öznitelik değeri gereklidir.", + "attribute-value-pattern": "Öznitelik değeri pozitif bir tamsayı olmalıdır.", + "edit-attributes": "Öznitelikleri düzenle: {{ name }}", + "view-attributes": "Öznitelikleri görüntüle: {{ name }}", + "add-attribute": "Öznitelik ekle", + "edit-attribute": "Özniteliği düzenle", + "view-attribute": "Özniteliği görüntüle", + "remove-attribute": "Özniteliği kaldır", "delete-server-text": "Dikkatli olun, onaydan sonra sunucu yapılandırması geri alınamaz hale gelecektir.", "delete-server-title": "Sunucuyu silmek istediğinizden emin misiniz?", "mode": "Güvenlik yapılandırma modu", - "bootstrap-tab": "Başlatma", - "bootstrap-server-legend": "Başlatma Sunucusu (ShortId...)", + "bootstrap-tab": "Bootstrap", + "bootstrap-server-legend": "Bootstrap Sunucusu (ShortId...)", "lwm2m-server-legend": "LwM2M Sunucusu (ShortId...)", "server": "Sunucu", "short-id": "Kısa sunucu kimliği", @@ -3193,28 +3323,28 @@ "tqs": "TQS: TCP ve SMS bağlantıları aktif; TCP kuyruk modunda, SMS standart modda (LWM2M 1.1 itibariyle desteklenmemektedir)", "sq": "SQ: Kuyruk modunda SMS bağlantısı (LWM2M 1.1 itibariyle desteklenmemektedir)" }, - "binding-tooltip": "\"binding\" kaynağındaki (LwM2M sunucu nesnesi - /1/x/7) listedir.\nLwM2M İstemcisi tarafından desteklenen bağlanma modlarını belirtir.\nBu değer, Aygıt Nesnesindeki \"Supported Binding and Modes\" kaynağındaki (/3/0/16) değerle aynı OLMALIDIR.\nBirden fazla taşıma protokolü desteklenmesine rağmen, tüm Taşıma Oturumu süresince yalnızca bir bağlantı türü kullanılabilir.\nÖrneğin, UDP ve SMS desteklendiğinde, LwM2M İstemcisi ve Sunucusu tüm oturum boyunca ya UDP ya da SMS üzerinden iletişim kurmalıdır.", - "bootstrap-server": "Başlatma Sunucusu", + "binding-tooltip": "\"binding\" kaynağındaki (LwM2M sunucu nesnesi - /1/x/7) listedir.\nLwM2M İstemcisi tarafından desteklenen bağlanma modlarını belirtir.\nBu değer, Cihaz Nesnesindeki \"Supported Binding and Modes\" kaynağındaki (/3/0/16) değerle aynı OLMALIDIR.\nBirden fazla taşıma protokolü desteklenmesine rağmen, tüm Taşıma Oturumu süresince yalnızca bir bağlantı türü kullanılabilir.\nÖrneğin, UDP ve SMS desteklendiğinde, LwM2M İstemcisi ve Sunucusu tüm Taşıma Oturumu boyunca UDP veya SMS üzerinden iletişim kurmayı seçebilir.", + "bootstrap-server": "Bootstrap Sunucusu", "lwm2m-server": "LwM2M Sunucusu", - "include-bootstrap-server": "Başlatma Sunucusu güncellemelerini dahil et", - "bootstrap-update-title": "Zaten yapılandırılmış bir Başlatma Sunucunuz var. Güncellemeleri hariç tutmak istediğinizden emin misiniz?", - "bootstrap-update-text": "Dikkatli olun, onaydan sonra Başlatma Sunucusu yapılandırma verileri geri alınamaz hale gelecektir.", + "include-bootstrap-server": "Bootstrap Sunucusu güncellemelerini dahil et", + "bootstrap-update-title": "Zaten yapılandırılmış bir Bootstrap Sunucunuz var. Güncellemeleri hariç tutmak istediğinizden emin misiniz?", + "bootstrap-update-text": "Dikkatli olun, onaydan sonra Bootstrap Sunucusu yapılandırma verileri geri alınamaz hale gelecektir.", "server-host": "Sunucu", "server-host-required": "Sunucu gereklidir.", "server-port": "Port", "server-port-required": "Port gereklidir.", "server-port-pattern": "Port pozitif bir tamsayı olmalıdır.", - "server-port-range": "Port değeri 1 ile 65535 arasında olmalıdır.", + "server-port-range": "Port 1 ile 65535 arasında olmalıdır.", "server-public-key": "Sunucu Genel Anahtarı", "server-public-key-required": "Sunucu Genel Anahtarı gereklidir.", "client-hold-off-time": "Bekleme Süresi", "client-hold-off-time-required": "Bekleme süresi gereklidir.", "client-hold-off-time-pattern": "Bekleme süresi pozitif bir tamsayı olmalıdır.", - "client-hold-off-time-tooltip": "Yalnızca Başlatma Sunucusu ile kullanılmak üzere istemci bekleme süresi.", - "account-after-timeout": "Zaman aşımından sonra hesapla", - "account-after-timeout-required": "Zaman aşımından sonra hesaplama gereklidir.", - "account-after-timeout-pattern": "Zaman aşımından sonra hesaplama pozitif bir tamsayı olmalıdır.", - "account-after-timeout-tooltip": "Başlatma Sunucusu tarafından verilen zaman aşımı değeri sonrası hesaplama.", + "client-hold-off-time-tooltip": "Yalnızca Bootstrap Sunucusu ile kullanılmak üzere istemci bekleme süresi.", + "account-after-timeout": "Hesap zaman aşımı", + "account-after-timeout-required": "Hesap zaman aşımı gereklidir.", + "account-after-timeout-pattern": "Hesap zaman aşımı pozitif bir tamsayı olmalıdır.", + "account-after-timeout-tooltip": "Bu kaynakta belirtilen zaman aşımı süresi dolduktan sonra Bootstrap Sunucusu hesabı silinir.", "server-type": "Sunucu türü", "add-new-server-title": "Yeni sunucu yapılandırması ekle", "add-server-config": "Sunucu yapılandırması ekle", @@ -3222,23 +3352,23 @@ "no-config-servers": "Yapılandırılmış sunucu yok", "others-tab": "Diğer ayarlar", "ota-update": "OTA güncellemesi", - "use-object-19-for-ota-update": "OTA dosya meta verileri için Nesne 19'u kullan", + "use-object-19-for-ota-update": "OTA dosya meta verileri (sağlama toplamı, boyut, sürüm, ad) için Nesne 19'u kullan", "use-object-19-for-ota-update-hint": "Nesne ID=19 şu şekilde kullanılır: Firmware → InstanceId=65534, Software → InstanceId=65535. Veri formatı: Base64 içinde JSON. JSON içinde: \"Checksum\" (SHA256), \"Title\", \"Version\", \"File Name\", \"File Size\" alanları yer alır.", "client-strategy": "Bağlanırken istemci stratejisi", "client-strategy-label": "Strateji", "client-strategy-only-observe": "İlk bağlantı sonrası sadece Gözlem isteği", "client-strategy-read-all": "Kayıttan sonra tüm kaynakları oku ve Gözlem isteği gönder", - "fw-update": "Yazılım güncellemesi (Firmware)", - "fw-update-strategy": "Yazılım güncelleme stratejisi", - "fw-update-strategy-data": "Nesne 19 ve Kaynak 0 (Data) kullanarak ikili dosya gönder", - "fw-update-strategy-package": "Nesne 5 ve Kaynak 0 (Package) kullanarak ikili dosya gönder", - "fw-update-strategy-package-uri": "Benzersiz CoAP URL oluştur ve Nesne 5 ile Kaynak 1 (Package URI) üzerinden gönder", - "sw-update": "Yazılım güncellemesi (Software)", + "fw-update": "Ürün yazılımı güncellemesi", + "fw-update-strategy": "Ürün yazılımı güncelleme stratejisi", + "fw-update-strategy-data": "Ürün yazılımı güncellemesini Nesne 19 ve Kaynak 0 (Data) kullanarak ikili dosya olarak gönder", + "fw-update-strategy-package": "Ürün yazılımı güncellemesini Nesne 5 ve Kaynak 0 (Package) kullanarak ikili dosya olarak gönder", + "fw-update-strategy-package-uri": "Paketi indirmek için benzersiz CoAP URL'si otomatik oluştur ve ürün yazılımı güncellemesini Nesne 5 ve Kaynak 1 (Package URI) olarak gönder", + "sw-update": "Yazılım güncellemesi", "sw-update-strategy": "Yazılım güncelleme stratejisi", "sw-update-strategy-package": "Nesne 9 ve Kaynak 2 (Package) ile ikili dosya gönder", - "sw-update-strategy-package-uri": "Benzersiz CoAP URL oluştur ve Nesne 9 ile Kaynak 3 (Package URI) üzerinden yazılım gönder", - "fw-update-resource": "Firmware güncelleme CoAP kaynağı", - "fw-update-resource-required": "Firmware güncelleme CoAP kaynağı gereklidir.", + "sw-update-strategy-package-uri": "Paketi indirmek için benzersiz CoAP URL'si otomatik oluştur ve yazılım güncellemesini Nesne 9 ve Kaynak 3 (Package URI) kullanarak gönder", + "fw-update-resource": "Ürün yazılımı güncelleme CoAP kaynağı", + "fw-update-resource-required": "Ürün yazılımı güncelleme CoAP kaynağı gereklidir.", "sw-update-resource": "Yazılım güncelleme CoAP kaynağı", "sw-update-resource-required": "Yazılım güncelleme CoAP kaynağı gereklidir.", "config-json-tab": "Json Yapılandırma Profil Cihazı", @@ -3251,7 +3381,7 @@ "min-evaluation-period": "Minimum değerlendirme süresi", "max-evaluation-period": "Maksimum değerlendirme süresi" }, - "default-object-id": "Varsayılan Nesne Sürümü (Özellik)", + "default-object-id": "Varsayılan Nesne Sürümü (Öznitelik)", "default-object-id-ver": { "v1-0": "1.0", "v1-1": "1.1", @@ -3329,189 +3459,834 @@ }, "edge": { "all": "Tümü", - "all-edges": "Tüm kenarlar", + "all-edges": "Tüm Edge'ler", "groups": "Gruplar", "shared": "Paylaşılan", - "edge": "Kenar", - "edge-instances": "Kenar örnekleri", + "edge": "Edge", + "edge-instances": "Edge örnekleri", "instances": "Örnekler", - "edge-file": "Kenar dosyası", + "edges": "Edge'ler", + "profiles": "Profiller", + "templates": "Şablonlar", + "rule-chain": "Kural zinciri", + "integration": "Entegrasyon", + "converter": "Dönüştürücü", + "edge-file": "Edge dosyası", "name-max-length": "Ad 256 karakterden kısa olmalıdır", "label-max-length": "Etiket 256 karakterden kısa olmalıdır", "type-max-length": "Tür 256 karakterden kısa olmalıdır", - "management": "Kenar yönetimi", - "no-edges-matching": "'{{entity}}' ile eşleşen kenar bulunamadı.", - "add": "Kenar ekle", - "no-edges-text": "Kenar bulunamadı", - "edge-details": "Kenar ayrıntıları", - "add-edge-text": "Yeni kenar ekle", - "delete": "Kenarı sil", - "delete-edge-title": "'{{edgeName}}' kenarını silmek istediğinizden emin misiniz?", - "delete-edge-text": "Dikkatli olun, onaydan sonra kenar ve ilişkili tüm veriler geri alınamaz hale gelecektir.", - "delete-edges-title": "{ count, plural, =1 {1 kenar} other {# kenar} } silmek istediğinizden emin misiniz?", - "delete-edges-text": "Dikkatli olun, onaydan sonra tüm seçili kenarlar ve ilişkili tüm veriler geri alınamaz hale gelecektir.", + "management": "Edge yönetimi", + "no-edges-matching": "'{{entity}}' ile eşleşen Edge bulunamadı.", + "add": "Edge ekle", + "no-edges-text": "Edge bulunamadı", + "edge-details": "Edge ayrıntıları", + "add-edge-text": "Yeni Edge ekle", + "delete": "Edge'i sil", + "delete-edge-title": "'{{edgeName}}' adlı Edge'i silmek istediğinizden emin misiniz?", + "delete-edge-text": "Dikkatli olun, onaydan sonra Edge ve ilişkili tüm veriler geri alınamaz hale gelecektir.", + "delete-edges-title": "{ count, plural, =1 {1 Edge'i} other {# Edge'i} } silmek istediğinizden emin misiniz?", + "delete-edges-text": "Dikkatli olun, onaydan sonra tüm seçili Edge'ler ve ilişkili tüm veriler geri alınamaz hale gelecektir.", "name": "Ad", - "name-starts-with": "Kenar adı ile başlayan", + "name-starts-with": "Edge adı şu ile başlar", "name-required": "Ad gereklidir.", - "edge-license-key": "Kenar Lisans Anahtarı", - "edge-license-key-required": "Kenar Lisans Anahtarı gereklidir.", - "edge-license-key-max-length": "Kenar Lisans Anahtarı 31 karakterden kısa olmalıdır", - "edge-license-key-hint": "ÖNEMLİ NOT: varsayılan kenar lisans anahtarı yalnızca değerlendirme amaçlı sağlanmaktadır.
    Bu anahtar etkinleştirildikten sonra yalnızca 30 gün geçerlidir. Markasızlaştırma özelliği devre dışıdır.
    Lisans anahtarınızı almak için fiyatlandırma sayfasına gidin ve durumunuza uygun en iyi lisansı seçin.", + "edge-license-key": "Edge Lisans Anahtarı", + "edge-license-key-required": "Edge Lisans Anahtarı gereklidir.", + "edge-license-key-max-length": "Edge Lisans Anahtarı 31 karakterden kısa olmalıdır", + "edge-license-key-hint": "ÖNEMLİ NOT: varsayılan Edge lisans anahtarı yalnızca değerlendirme amaçlı sağlanmaktadır.
    Bu anahtar etkinleştirildikten sonra yalnızca 30 gün geçerlidir. White labeling özelliği devre dışıdır.
    Lisans anahtarınızı almak için fiyatlandırma sayfasına gidin ve durumunuza uygun en iyi lisansı seçin.", "cloud-endpoint": "Bulut Uç Noktası", "cloud-endpoint-required": "Bulut Uç Noktası gereklidir.", "cloud-endpoint-max-length": "Bulut Uç Noktası 256 karakterden kısa olmalıdır", - "cloud-endpoint-hint": "Kenar, lisans anahtarını doğrulamak için Bulut'a (ThingsBoard) HTTP(s) erişimine ihtiyaç duyar. Lütfen kenarın bağlanabileceği Bulut URL'sini belirtin.", + "cloud-endpoint-hint": "Edge, lisans anahtarını doğrulamak için Bulut'a (ThingsBoard) HTTP(s) erişimine ihtiyaç duyar. Lütfen Edge'in bağlanabileceği Bulut URL'sini belirtin.", "description": "Açıklama", "details": "Ayrıntılar", "events": "Olaylar", - "copy-id": "Kenar Kimliğini Kopyala", - "id-copied-message": "Kenar Kimliği panoya kopyalandı", - "sync": "Kenarı Eşitle", - "edge-required": "Kenar gereklidir", - "edge-type": "Kenar türü", - "edge-type-required": "Kenar türü gereklidir.", - "event-action": "Olay eylemi", - "entity-id": "Varlık Kimliği", - "select-edge-type": "Kenar türü seç", + "copy-id": "Edge Kimliğini Kopyala", + "id-copied-message": "Edge Kimliği panoya kopyalandı", + "sync": "Edge'i Eşitle", + "edge-required": "Edge gereklidir", + "edge-type": "Edge türü", + "edge-type-required": "Edge türü gereklidir.", + "event-action": "Olay işlemi", + "entity-id": "Öğe Kimliği", + "select-edge-type": "Edge türü seç", "assign-to-customer": "Müşteriye ata", - "assign-to-customer-text": "Kenarı atamak istediğiniz müşteriyi seçin", - "assign-edge-to-customer": "Kenar(lar)ı müşteriye ata", - "assign-edge-to-customer-text": "Müşteriye atanacak kenarları seçin", - "assignedToCustomer": "Müşteriye atandı", - "edge-public": "Kenar herkese açık", + "assign-to-customer-text": "Edge'i atamak istediğiniz müşteriyi seçin", + "assign-edge-to-customer": "Edge'leri müşteriye ata", + "assign-edge-to-customer-text": "Müşteriye atanacak Edge'leri seçin", + "assignedToCustomer": "Müşteriye atanmış", + "edge-public": "Edge herkese açık", "assigned-to-customer": "Atandığı müşteri: {{customerTitle}}", - "unassign-from-customer": "Müşteriden çıkar", - "unassign-edge-title": "'{{edgeName}}' kenarını müşteriden çıkarmak istediğinizden emin misiniz?", - "unassign-edge-text": "Onaydan sonra kenar müşteriden çıkarılacak ve erişilemeyecek.", - "unassign-edges-title": "{ count, plural, =1 {1 kenar} other {# kenar} } müşteriden çıkarmak istediğinizden emin misiniz?", - "unassign-edges-text": "Onaydan sonra tüm seçilen kenarlar müşteriden çıkarılacak ve erişilemeyecek.", - "make-public": "Kenarı herkese açık yap", - "make-public-edge-title": "'{{edgeName}}' kenarını herkese açık yapmak istediğinizden emin misiniz?", - "make-public-edge-text": "Onaydan sonra kenar ve tüm verileri herkese açık hale gelecektir.", - "make-private": "Kenarı gizli yap", + "unassign-from-customer": "Müşteriden atamayı kaldır", + "unassign-edge-title": "'{{edgeName}}' adlı Edge'in atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-edge-text": "Onaydan sonra Edge'in ataması kaldırılacak ve müşteri tarafından erişilemeyecek.", + "unassign-edges-title": "{ count, plural, =1 {1 Edge'in} other {# Edge'in} } atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-edges-text": "Onaydan sonra seçilen tüm Edge'lerin ataması kaldırılacak ve müşteri tarafından erişilemeyecek.", + "make-public": "Edge'i herkese açık yap", + "make-public-edge-title": "'{{edgeName}}' adlı Edge'i herkese açık yapmak istediğinizden emin misiniz?", + "make-public-edge-text": "Onaydan sonra Edge ve tüm verileri herkese açık hale gelecektir.", + "make-private": "Edge'i gizli yap", "public": "Herkese açık", - "make-private-edge-title": "'{{edgeName}}' kenarını gizli yapmak istediğinizden emin misiniz?", - "make-private-edge-text": "Onaydan sonra kenar ve tüm verileri gizli hale gelecek ve erişilemeyecek.", - "import": "Kenar içe aktar", + "make-private-edge-title": "'{{edgeName}}' adlı Edge'i gizli yapmak istediğinizden emin misiniz?", + "make-private-edge-text": "Onaydan sonra Edge ve tüm verileri gizli hale gelecek ve erişilemeyecek.", + "import": "Edge içe aktar", "install-connect-instructions": "Kurulum ve Bağlantı Talimatları", - "install-connect-instructions-edge-created": "Kenar oluşturuldu! Kurulum ve Bağlantı Talimatlarını kontrol edin", - "loading-edge-instructions": "Kenar talimatları yükleniyor...", + "install-connect-instructions-edge-created": "Edge oluşturuldu! Kurulum ve Bağlantı Talimatlarını kontrol edin", + "loading-edge-instructions": "Edge talimatları yükleniyor...", "label": "Etiket", - "load-entity-error": "Veri yüklenemedi. Varlık silinmiş.", - "assign-new-edge": "Yeni kenar ata", - "unassign-from-edge": "Kenardan çıkar", - "edge-key": "Kenar anahtarı", - "copy-edge-key": "Kenar anahtarını kopyala", - "edge-key-copied-message": "Kenar anahtarı panoya kopyalandı", - "edge-secret": "Kenar gizli anahtarı", - "copy-edge-secret": "Kenar gizli anahtarını kopyala", - "edge-secret-copied-message": "Kenar gizli anahtarı panoya kopyalandı", + "load-entity-error": "Veri yüklenemedi. Öğe silinmiş.", + "assign-new-edge": "Yeni Edge ata", + "unassign-from-edge": "Edge atamasını kaldır", + "edge-key": "Edge anahtarı", + "copy-edge-key": "Edge anahtarını kopyala", + "edge-key-copied-message": "Edge anahtarı panoya kopyalandı", + "edge-secret": "Edge gizli anahtarı", + "copy-edge-secret": "Edge gizli anahtarını kopyala", + "edge-secret-copied-message": "Edge gizli anahtarı panoya kopyalandı", "manage-assets": "Varlıkları yönet", "manage-devices": "Cihazları yönet", - "manage-entity-views": "Varlık görünümlerini yönet", - "manage-dashboards": "Gösterge panellerini yönet", + "manage-entity-views": "Öğe görünümlerini yönet", + "manage-dashboards": "Panoları yönet", "manage-rulechains": "Kural zincirlerini yönet", - "assets": "Kenar varlıkları", - "devices": "Kenar cihazları", - "entity-views": "Kenar varlık görünümleri", - "dashboard": "Kenar gösterge paneli", - "dashboards": "Kenar gösterge panelleri", + "assets": "Edge varlıkları", + "devices": "Edge cihazları", + "entity-views": "Edge öğe görünümleri", + "dashboard": "Edge panosu", + "dashboards": "Edge panoları", "rulechain-templates": "Kural zinciri şablonları", - "edge-rulechain-templates": "Kenar kural zinciri şablonları", + "edge-rulechain-templates": "Edge kural zinciri şablonları", "converter-templates": "Dönüştürücü şablonları", - "edge-converter-templates": "Kenar dönüştürücü şablonları", + "edge-converter-templates": "Edge dönüştürücü şablonları", "integration-templates": "Entegrasyon şablonları", - "edge-integration-templates": "Kenar entegrasyon şablonları", - "rulechains": "Kenar kural zincirleri", + "edge-integration-templates": "Edge entegrasyon şablonları", + "rulechains": "Edge kural zincirleri", "integrations": "Entegrasyonlar", - "search": "Kenarları ara", - "selected-edges": "{ count, plural, =1 {1 kenar} other {# kenar} } seçildi", - "any-edge": "Herhangi bir kenar", - "no-edge-types-matching": "'{{entitySubtype}}' ile eşleşen kenar türü bulunamadı.", - "edge-type-list-empty": "Seçili kenar türü yok.", - "edge-types": "Kenar türleri", - "enter-edge-type": "Kenar türü girin", - "deployed": "Yayında", + "search": "Edge'leri ara", + "selected-edges": "{ count, plural, =1 {1 Edge} other {# Edge} } seçildi", + "any-edge": "Herhangi bir Edge", + "no-edge-types-matching": "'{{entitySubtype}}' ile eşleşen Edge türü bulunamadı.", + "edge-type-list-empty": "Seçili Edge türü yok.", + "edge-types": "Edge türleri", + "enter-edge-type": "Edge türü girin", + "deployed": "Dağıtıldı", "pending": "Beklemede", "downlinks": "Aşağı bağlantılar", "no-downlinks-prompt": "Aşağı bağlantı bulunamadı", "sync-process-started-successfully": "Eşitleme işlemi başarıyla başlatıldı!", - "missing-related-rule-chains-title": "Kenarda eksik ilişkili kural zinciri(leri) var", - "missing-related-rule-chains-text": "Kenara atanan kural zinciri(leri), başka kural zincirlerine mesaj yönlendiren düğümler içeriyor ancak bu kural zincirleri bu kenara atanmamış.

    Eksik kural zincirleri listesi:
    {{missingRuleChains}}", - "widget-datasource-error": "Bu widget yalnızca EDGE varlık veri kaynağını destekler", - "assign-to-edge": "Kenara ata", - "assign-to-edge-title": "Varlık Grubu(ları)nı Kenara Ata", - "manage-edge-user-groups": "Kenar kullanıcı gruplarını yönet", - "manage-edge-asset-groups": "Kenar varlık gruplarını yönet", - "manage-edge-device-groups": "Kenar cihaz gruplarını yönet", - "manage-edge-entity-view-groups": "Kenar varlık görünüm gruplarını yönet", - "manage-edge-dashboard-groups": "Kenar gösterge paneli gruplarını yönet", - "manage-edge-rule-chains": "Kenar kural zincirlerini yönet", - "manage-edge-integrations": "Kenar entegrasyonlarını yönet", - "manage-edge-scheduler-events": "Kenar zamanlayıcı olaylarını yönet", - "select-group-to-add": "Seçilen kenarları eklemek için hedef grup seç", - "select-group-to-move": "Seçilen kenarları taşımak için hedef grup seç", - "remove-edges-from-group": "{ count, plural, =1 {1 kenarı} other {# kenarı} } '{{entityGroup}}' grubundan kaldırmak istediğinizden emin misiniz?", - "group": "Kenar grubu", - "list-of-groups": "{ count, plural, =1 {Bir kenar grubu} other {# kenar grubu listesi} }", - "group-name-starts-with": "'{{prefix}}' ile başlayan kenar grupları", - "unassign-entity-group-from-edge-title": "'{{ entityGroupName }}' varlık grubunu kenardan kaldırmak istediğinizden emin misiniz?", - "unassign-entity-group-from-edge-text": "Onaydan sonra varlık grubu kenardan kaldırılacak ve erişilemeyecek.", - "unassign-entity-group-from-edge": "Varlık grubunu kenardan kaldır", - "unassign-entity-groups-from-edge-title": "{{count}} varlık grubunu kenardan kaldırmak istediğinizden emin misiniz?", - "unassign-entity-groups-from-edge-text": "Onaydan sonra varlık grupları kenardan kaldırılacak ve erişilemeyecek.", - "unassign-entity-groups-from-edge": "Varlık gruplarını kenardan kaldır", - "unassign-scheduler-events-from-edge": "Zamanlayıcı olaylarını kenardan kaldır", - "unassign-scheduler-event-from-edge-title": "'{{schedulerEventName}}' zamanlayıcı olayını kenardan kaldırmak istediğinizden emin misiniz?", - "unassign-scheduler-event-from-edge-text": "Onaydan sonra zamanlayıcı olayı kenardan kaldırılacak ve erişilemeyecek.", - "unassign-scheduler-events-from-edge-title": "{ count, plural, =1 {1 zamanlayıcı olayı} other {# zamanlayıcı olayı} } kenardan kaldırmak istediğinizden emin misiniz?", - "unassign-scheduler-events-from-edge-text": "Onaydan sonra tüm seçili zamanlayıcı olayları kenardan kaldırılacak ve erişilemeyecek.", + "missing-related-rule-chains-title": "Edge'de eksik ilişkili kural zinciri(leri) var", + "missing-related-rule-chains-text": "Edge'e atanan kural zinciri(leri), başka kural zincirlerine mesaj yönlendiren düğümler içeriyor ancak bu kural zincirleri bu Edge'e atanmamış.

    Eksik kural zincirleri listesi:
    {{missingRuleChains}}", + "widget-datasource-error": "Bu widget yalnızca EDGE öğe veri kaynağını destekler", + "assign-to-edge": "Edge'e ata", + "assign-to-edge-title": "Öğe Grubu(ları)nı Edge'e Ata", + "manage-edge-user-groups": "Edge kullanıcı gruplarını yönet", + "manage-edge-asset-groups": "Edge varlık gruplarını yönet", + "manage-edge-device-groups": "Edge cihaz gruplarını yönet", + "manage-edge-entity-view-groups": "Edge öğe görünümü gruplarını yönet", + "manage-edge-dashboard-groups": "Edge pano gruplarını yönet", + "manage-edge-rule-chains": "Edge kural zincirlerini yönet", + "manage-edge-integrations": "Edge entegrasyonlarını yönet", + "manage-edge-scheduler-events": "Edge zamanlayıcı olaylarını yönet", + "select-group-to-add": "Seçilen Edge'leri eklemek için hedef grup seç", + "select-group-to-move": "Seçilen Edge'leri taşımak için hedef grup seç", + "remove-edges-from-group": "{ count, plural, =1 {1 Edge'i} other {# Edge'i} } '{entityGroup}' grubundan kaldırmak istediğinizden emin misiniz?", + "group": "Edge grubu", + "list-of-groups": "{ count, plural, =1 {Bir Edge grubu} other {# Edge grubu listesi} }", + "group-name-starts-with": "'{{prefix}}' ile başlayan Edge grupları", + "unassign-entity-group-from-edge-title": "'{{ entityGroupName }}' öğe grubunun Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-entity-group-from-edge-text": "Onaydan sonra öğe grubunun Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "unassign-entity-group-from-edge": "Öğe grubunun Edge atamasını kaldır", + "unassign-entity-groups-from-edge-title": "{{count}} öğe grubunun Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-entity-groups-from-edge-text": "Onaydan sonra öğe gruplarının Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "unassign-entity-groups-from-edge": "Öğe gruplarının Edge atamasını kaldır", + "unassign-scheduler-events-from-edge": "Zamanlayıcı olaylarının Edge atamasını kaldır", + "unassign-scheduler-event-from-edge-title": "'{{schedulerEventName}}' zamanlayıcı olayının Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-scheduler-event-from-edge-text": "Onaydan sonra zamanlayıcı olayının Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "unassign-scheduler-events-from-edge-title": "{ count, plural, =1 {1 zamanlayıcı olayının} other {# zamanlayıcı olayının} } Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-scheduler-events-from-edge-text": "Onaydan sonra seçili tüm zamanlayıcı olaylarının Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", "manage-user-groups": "Kullanıcı gruplarını yönet", "manage-asset-groups": "Varlık gruplarını yönet", "manage-device-groups": "Cihaz gruplarını yönet", - "manage-dashboard-groups": "Gösterge paneli gruplarını yönet", - "manage-entity-view-groups": "Varlık görünüm gruplarını yönet", + "manage-dashboard-groups": "Pano gruplarını yönet", + "manage-entity-view-groups": "Öğe görünümü gruplarını yönet", "manage-scheduler-events": "Zamanlayıcı olaylarını yönet", "manage-integrations": "Entegrasyonları yönet", - "assign-scheduler-event-to-edge-title": "Zamanlayıcı Olaylarını Kenara Ata", - "assign-scheduler-event-to-edge-text": "Kenara atanacak zamanlayıcı olayları seçin", - "assign-entity-groups-to-edge-text": "Kenara atanacak varlık gruplarını seçin", - "assign-integration-to-edge-title": "Entegrasyonları Kenara Ata", - "assign-integration-to-edge-text": "Kenara atanacak entegrasyonları seçin", - "missing-attributes-title": "Kenarda eksik öznitelik(ler) var", - "missing-attributes-text": "Kenar ile ilişkilendirilmiş entegrasyonlarda kenarda bulunmayan öznitelik yer tutucuları var.

    Eksik kenar öznitelikleri listesi:
    {{missingEdgeAttributes}}", - "missing-all-related-attributes-title": "Kenar(lar)da eksik öznitelik(ler) var", - "missing-all-related-attributes-text": "Entegrasyonla ilişkili kenar(lar), konfigürasyonda yer alan öznitelik yer tutucularına sahip değil.

    Eksik kenar öznitelikleri listesi:
    {{missingEdgeAttributes}}", + "assign-scheduler-event-to-edge-title": "Zamanlayıcı Olaylarını Edge'e Ata", + "assign-scheduler-event-to-edge-text": "Edge'e atanacak zamanlayıcı olayları seçin", + "assign-entity-groups-to-edge-text": "Edge'e atanacak öğe gruplarını seçin", + "assign-integration-to-edge-title": "Entegrasyonları Edge'e Ata", + "assign-integration-to-edge-text": "Edge'e atanacak entegrasyonları seçin", + "missing-attributes-title": "Edge'de eksik öznitelik(ler) var", + "missing-attributes-text": "Edge ile ilişkilendirilmiş entegrasyonlarda Edge'de bulunmayan öznitelik yer tutucuları var.

    Eksik Edge öznitelikleri listesi:
    {{missingEdgeAttributes}}", + "missing-all-related-attributes-title": "Edge'lerde eksik öznitelik(ler) var", + "missing-all-related-attributes-text": "Entegrasyonla ilişkili Edge'ler, konfigürasyonda yer alan öznitelik yer tutucularına sahip değil.

    Eksik Edge öznitelikleri listesi:
    {{missingEdgeAttributes}}", "quick-overview-widget-header": "{{edgeName}} Hızlı Bakış", "upgrade-instructions": "Yükseltme Talimatları", + "managed-application": "Yönetilen uygulama", + "app-upgrade-available": "Yükseltme mevcut", "connected": "Bağlandı", - "disconnected": "Bağlantı kesildi" + "disconnected": "Bağlantı kesildi", + "auto-provision": "Otomatik sağlama", + "auto-provision-title": "Edge'i otomatik sağla", + "auto-provision-subtitle": "Bir Docker run komutu oluşturun — komut hedef makinede çalıştırıldığında Edge ve ona ait Agent otomatik olarak oluşturulur.", + "auto-provision-step-select": "Agent profili", + "auto-provision-step-script": "Sağlama betiği", + "auto-provision-agent-profile-label": "Agent profili", + "auto-provision-agent-profile-placeholder": "Bir Agent profili seçin veya oluşturun", + "auto-provision-no-eligible-profiles": "Uygun profil bulunamadı. Bir profil oluşturmak için sağdaki düğmeyi kullanın.", + "auto-provision-create-profile": "Profil oluştur", + "auto-provision-validating": "Agent profili doğrulanıyor…", + "auto-provision-valid": "Sağlamaya hazır — '{{profile}}' profiline bir EDGE uygulama profili atanmış.", + "auto-provision-invalid-strategy": "Bu profilin sağlama stratejisi uygulamaları otomatik olarak kurmuyor. Otomatik kurulum stratejisine sahip bir profil seçin.", + "auto-provision-invalid-no-edge-app-profile": "Bu profile atanmış bir EDGE uygulama profili yok. Bir tane atamak için düğmeyi kullanın.", + "auto-provision-info-title": "Nasıl çalışır", + "auto-provision-info-body": "Bir Agent profili oluşturulduğunda bir Docker run komutu oluşturulur. Bu komut hedef makinede çalıştırıldığında ThingsBoard, komuta gömülü kimlik bilgilerini kullanarak Agent'ı ve ona bağlı Edge öğesini otomatik olarak oluşturur. Edge, Agent profiline atanan uygulama profiline göre otomatik olarak yapılandırılır. Edge'i manuel olarak oluşturmanız gerekmez.", + "auto-provision-success-message": "Agent profili hazır. Yeni bir Edge sağlamak için komutu herhangi bir hedef makinede çalıştırın.", + "auto-provision-script-hint": "Bu komutu Edge olacak her makinede çalıştırın. Her çalıştırma bir Agent + Edge çifti sağlar.", + "auto-provision-open-profile": "Profili aç", + "auto-provision-no-script": "Bu profilde sağlama kimlik bilgileri eksik. Bunları yeniden oluşturmak için profili açın." + }, + "agent": { + "agents": "Agent'lar", + "agent-profiles": "Agent profilleri", + "app-profiles": "Uygulama profilleri", + "templates": "Şablonlar", + "agent-templates": "Agent şablonları", + "add": "Agent ekle", + "add-agent-text": "Yeni Agent ekle", + "auto-provision": "Otomatik sağlama", + "auto-provision-title": "Agent'ı otomatik sağla", + "auto-provision-step-select": "Agent profili", + "auto-provision-step-script": "Sağlama betiği", + "auto-provision-valid": "Sağlamaya hazır — '{{profile}}' profilinde sağlama etkin.", + "auto-provision-info-title": "Nasıl çalışır", + "auto-provision-info-body": "Bir Agent profili oluşturulduğunda bir Docker run komutu üretilir. Komut hedef makinede çalıştırıldığında ThingsBoard, komuta gömülü kimlik bilgilerini kullanarak Agent'ı otomatik olarak oluşturur. Agent, Agent profiline göre otomatik olarak yapılandırılır. Agent'ı manuel olarak oluşturmanız gerekmez.", + "auto-provision-success-message": "Agent profili hazır. Yeni bir Agent sağlamak için komutu herhangi bir hedef makinede çalıştırın.", + "auto-provision-script-hint": "Bu komutu Agent çalıştırması gereken her makinede çalıştırın. Her çalıştırma bir Agent sağlar.", + "add-profile": "Agent profili ekle", + "add-app-profile": "Uygulama profili ekle", + "add-application": "Uygulama ekle", + "agent-details": "Agent ayrıntıları", + "profile-details": "Agent profili ayrıntıları", + "app-profile-details": "Uygulama profili ayrıntıları", + "template-details": "Agent şablonu ayrıntıları", + "application-details": "Uygulama ayrıntıları", + "no-agents-text": "Agent bulunamadı", + "no-agent-profiles-text": "Agent profili bulunamadı", + "no-app-profiles-text": "Uygulama profili bulunamadı", + "no-templates-text": "Agent şablonu bulunamadı", + "no-applications-text": "Hiç uygulama bulunamadı", + "no-events-text": "Olay bulunamadı", + "search": "Agent ara", + "search-profiles": "Agent profili ara", + "search-app-profiles": "Uygulama profillerini ara", + "search-templates": "Şablonları ara", + "search-applications": "Uygulamaları ara", + "search-events": "Olayları ara", + "selected-agents": "{ count, plural, =1 {1 Agent} other {# Agent} } seçildi", + "selected-agent-profiles": "{ count, plural, =1 {1 Agent profili} other {# Agent profili} } seçildi", + "selected-app-profiles": "{ count, plural, =1 {1 uygulama profili} other {# uygulama profili} } seçildi", + "selected-applications": "{ count, plural, =1 {1 uygulama} other {# uygulama} } seçildi", + "name": "Ad", + "name-required": "Ad gereklidir.", + "name-max-length": "Ad 256 karakterden kısa olmalıdır", + "routing-key": "Yönlendirme anahtarı", + "secret": "Gizli anahtar", + "description": "Açıklama", + "profile-name": "Profil adı", + "profile-name-placeholder": "Üretim Agent'ları", + "profile-name-required": "Profil adı gereklidir.", + "provision-type": "Sağlama türü", + "provision-key": "Sağlama anahtarı", + "provision-secret": "Sağlama gizli anahtarı", + "app-type": "Uygulama türü", + "current-version": "Mevcut sürüm", + "next-version": "Sonraki sürüm", + "assigned-to-customer": "Müşteriye atanmış", + "assign-to-customer": "Müşteriye ata", + "unassign-from-customer": "Müşteriden atamayı kaldır", + "assign-agents-to-customer": "Agent'ları müşteriye ata", + "assign-to-customer-text": "Lütfen Agent'ların atanacağı müşteriyi seçin", + "unassign-agents-from-customer": "Agent'ların müşteriden atamasını kaldır", + "delete": "Agent'ı sil", + "delete-profile": "Profili sil", + "set-default-profile": "Agent profilini varsayılan yap", + "set-default-profile-title": "'{{profileName}}' Agent profilini varsayılan yapmak istediğinizden emin misiniz?", + "set-default-profile-text": "Onaydan sonra Agent profili varsayılan olarak işaretlenecek ve profil belirtilmemiş yeni Agent'lar için kullanılacaktır.", + "default-profile": "Varsayılan", + "agent-profile-required": "Agent profili gereklidir.", + "edit-profile": "Agent profilini düzenle", + "no-agent-profiles-found": "Agent profili bulunamadı", + "no-agent-profiles-matching": "'{{entity}}' ile eşleşen Agent profili bulunamadı", + "create-new-agent-profile": "Yeni Agent profili oluştur", + "add-profile-step-details": "Profil ayrıntıları", + "add-profile-step-app-profiles": "Uygulama profilleri", + "add-profile-app-profiles-hint-title": "Uygulama profilleri neden atanmalı?", + "add-profile-app-profiles-hint": "Atanan uygulama profilleri, kendilerine başvuran uygulamalarda — yani '{{profileName}}' profilini kullanan Agent'ların yönettiği uygulamalarda — toplu işlemleri (güncelleme, yükseltme, silme) yönetir. Mevcut uygulama profillerini seçin veya yenilerini burada oluşturun.", + "application-profiles": "Uygulama profilleri", + "create-new-application-profile": "Yeni uygulama profili oluştur", + "create-new": "Yeni oluştur", + "delete-app-profile": "Uygulama profilini sil", + "copy-profile-id": "Profil kimliğini kopyala", + "profile-id-copied-message": "Profil kimliği panoya kopyalandı", + "app-profile-wizard-title": "Uygulama profili oluştur", + "app-profile-wizard-edit-title": "Uygulama profilini güncelle", + "app-update-current-config": "Mevcut uygulama yapılandırması", + "app-update-future-config": "Gelecekteki uygulama yapılandırması", + "app-update-edit-profile": "Profili güncelle", + "app-update-compare-hint": "Bu uygulamanın mevcut yapılandırması (solda) ile atanmış profilden alacağı, kimlik bilgileri birleştirilmiş yapılandırmanın (sağda) salt okunur karşılaştırması.", + "app-install-custom-config": "Gelişmiş", + "app-install-from-profile": "Varsayılan", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "ThingsBoard Agent bu dağıtımı buluttan uzaktan kurar, yükseltir ve izler — hedef makinede manuel Docker komutları veya bakım gerekmez.", + "deploy-select-agent-step": "Agent seç", + "deploy-intro": "ThingsBoard Agent kullanarak uzak bir makineye dağıtın. Hedef makinede çalışan mevcut bir Agent'ı seçin veya yeni bir tane oluşturun.", + "deploy-agent": "Agent", + "deploy-create-new": "Yeni oluştur", + "deploy-no-agents": "Agent bulunamadı", + "deploy-no-agents-matching": "'{{entity}}' ile eşleşen Agent yok", + "deploy-already-managed": "Bu öğe zaten \"{{name}}\" adlı Agent uygulaması tarafından yönetiliyor.", + "deploy-open-agent": "Agent'a git", + "deploy-open-app": "Agent uygulamasına git", + "deploy-install-step": "Kur", + "deploy-status-hero": "ThingsBoard Agent bu dağıtımı buluttan uzaktan kuruyor, yükseltiyor ve izliyor — hedef makinede manuel Docker komutları veya bakım gerekmez.", + "deploy-status-online-title": "Agent'ınız çevrimiçi", + "deploy-status-offline-title": "Agent'ınız çevrimdışı", + "deploy-status-managing": "bu dağıtımı yönetiyor. Burada yapmanız gereken başka bir şey yok.", + "deploy-status-managing-for": "{{duration}} süredir bu dağıtımı yönetiyor. Burada yapmanız gereken başka bir şey yok.", + "deploy-status-offline-desc": "şu anda erişilemiyor. Agent yeniden bağlandığında bağlantı otomatik olarak devam edecek.", + "deploy-status-duration-days": "{{count}} gün", + "deploy-status-duration-hours": "{{count}} saat", + "deploy-status-duration-minutes": "{{count}} dakika", + "deploy-status-healthy": "Sağlıklı", + "deploy-status-unhealthy": "Çevrimdışı", + "deploy-status-need-reinstall": "Yeniden kurmanız mı gerekiyor?", + "deploy-status-show-install": "Kurulum komutunu göster", + "deploy-status-hide-install": "Gizle", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "Bu dağıtımı yöneten Agent cihazı — telemetri ve yaşam döngüsü.", + "deploy-status-card-app-title": "Agent uygulaması", + "deploy-status-card-app-desc": "Bu Agent'ın çalıştırdığı uygulama — hizmetler, durum ve günlükler.", + "deploy-status-card-events-title": "Agent olayları", + "deploy-status-card-events-desc": "Kurulumların, yükseltmelerin, yeniden başlatmaların ve hataların canlı akışı.", + "deploy-status-edge-ui-title": "ThingsBoard Edge arayüzünü açın", + "deploy-status-edge-ui-desc": "Edge hizmeti başladıktan sonra Edge web arayüzünü http://localhost:8080 adresinde veya önceki adımda HTTP bağlama portu yapılandırmasını değiştirdiyseniz http://localhost:18080 adresinde açın. Yerel ThingsBoard Server'ınızdaki veya ThingsBoard Cloud'daki kiracı kimlik bilgilerinizle oturum açın.", + "app-install-select-profile": "Uygulama profili", + "app-install-no-profiles": "Uygulama profili bulunamadı", + "app-install-virtual-profile-badge": "Önceden tanımlı", + "app-install-virtual-profile-hint": "Bu profil henüz mevcut değil. Seçtiğinizde şablondan otomatik olarak oluşturulacak.", + "app-install-profile-materialize-failed": "Önceden tanımlı uygulama profili oluşturulamadı.", + "quick-start-title": "Hızlı başlangıç — önceden tanımlı profiller", + "quick-start-subtitle": "Tek tıklamayla hazır bir Edge veya Gateway profili oluşturun. Yapılandırma gerekmez.", + "quick-start-filter-all": "Tümü", + "quick-start-all-created": "Önceden tanımlı tüm profiller oluşturuldu.", + "quick-start-no-match": "Bu filtreyle eşleşen önceden tanımlı profil yok.", + "quick-start-profile-created": "\"{{profileName}}\" uygulama profili oluşturuldu", + "add-profile-assignments-load-failed": "Şu anda atanmış uygulama profilleri yüklenemedi. Kaydettiğinizde mevcut atamalar değiştirilmeden korunur.", + "app-profile-wizard-cta": "Profil oluştur", + "app-profile-wizard-confirm-info": "Uygulama profili, seçilen şablon ve compose yapılandırmasıyla oluşturulacak. Daha sonra profil ayrıntıları sayfasından değiştirebilirsiniz.", + "app-profile-name": "Profil adı", + "app-profile-name-placeholder-edge": "Silo Edge uygulama profili", + "app-profile-name-placeholder-gateway": "Silo Gateway uygulama profili", + "app-profile-name-placeholder-generic": "Silo uygulama profili", + "app-profile-step-save": "Profili kaydet", + "app-profile-description": "Açıklama", + "copy-id": "Agent kimliğini kopyala", + "copy-routing-key": "Yönlendirme anahtarını kopyala", + "copy-secret": "Gizli anahtarı kopyala", + "copy-provision-key": "Sağlama anahtarını kopyala", + "copy-provision-secret": "Sağlama gizli anahtarını kopyala", + "id-copied-message": "Agent kimliği panoya kopyalandı", + "routing-key-copied-message": "Yönlendirme anahtarı panoya kopyalandı", + "secret-copied-message": "Gizli anahtar panoya kopyalandı", + "provision-key-copied-message": "Sağlama anahtarı panoya kopyalandı", + "provision-secret-copied-message": "Sağlama gizli anahtarı panoya kopyalandı", + "delete-agent-title": "'{{agentName}}' adlı Agent'ı silmek istediğinizden emin misiniz?", + "delete-agent-text": "Dikkatli olun, onaydan sonra Agent ve ilgili tüm veriler kurtarılamaz hale gelecektir.", + "delete-agents-title": "{ count, plural, =1 {1 Agent'ı} other {# Agent'ı} } silmek istediğinizden emin misiniz?", + "delete-agents-text": "Dikkatli olun, onaydan sonra seçilen tüm Agent'lar kaldırılacak ve ilgili tüm veriler kurtarılamaz hale gelecektir.", + "unassign-agent-title": "'{{agentName}}' adlı Agent'ın atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-agent-text": "Onaydan sonra Agent'ın ataması kaldırılacak ve müşteri tarafından erişilemeyecektir.", + "unassign-agents-title": "{ count, plural, =1 {1 Agent'ın} other {# Agent'ın} } atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-agents-text": "Onaydan sonra seçilen tüm Agent'ların ataması kaldırılacak ve müşteri tarafından erişilemeyecektir.", + "delete-profile-title": "'{{profileName}}' adlı profili silmek istediğinizden emin misiniz?", + "delete-profile-text": "Dikkatli olun, onaydan sonra profil ve ilgili tüm veriler kurtarılamaz hale gelecektir.", + "delete-profiles-title": "{ count, plural, =1 {1 profili} other {# profili} } silmek istediğinizden emin misiniz?", + "delete-profiles-text": "Dikkatli olun, onaydan sonra seçilen tüm profiller kaldırılacak ve ilgili tüm veriler kurtarılamaz hale gelecektir.", + "delete-app-profile-title": "'{{profileName}}' adlı uygulama profilini silmek istediğinizden emin misiniz?", + "delete-app-profile-text": "Dikkatli olun, onaydan sonra uygulama profili ve ilgili tüm veriler kurtarılamaz hale gelecektir.", + "delete-app-profiles-title": "{ count, plural, =1 {1 uygulama profilini} other {# uygulama profilini} } silmek istediğinizden emin misiniz?", + "delete-app-profiles-text": "Dikkatli olun, onaydan sonra seçilen tüm uygulama profilleri kaldırılacak ve ilgili tüm veriler kurtarılamaz hale gelecektir.", + "status": "Durum", + "online": "Çevrimiçi", + "offline": "Çevrimdışı", + "app-errors": "Hatalar", + "app-errors-recent": "Son {{count}} hata olayı:", + "app-errors-open-events": "Olaylar sekmesini açmak için tıklayın", + "online-hint": "Agent şu anda platforma bağlı", + "offline-hint": "Agent platforma bağlı değil", + "agent-profile": "Agent profili", + "no-profile": "Profil yok", + "applications": "Uygulamalar", + "manage-applications": "Uygulamaları yönet", + "app-name": "Ad", + "app-template": "Şablon", + "app-units": "Birimler", + "app-origin": "Kaynak", + "app-profile-in-sync": "Uygulama profiliyle senkronize", + "app-profile-in-sync-yes": "Uygulama profiliyle senkronize", + "app-profile-in-sync-no": "Uygulama profiliyle senkronize değil", + "app-profile-in-sync-na": "Atanmış uygulama profili yok", + "app-upgrade-to": "{{version}} sürümüne yükselt", + "app-restart": "Yeniden başlat", + "app-upgrade": "Yükselt", + "app-delete": "Sil", + "app-update": "Güncelle", + "app-update-title": "{{name}} güncellensin mi?", + "app-update-text": "Kaydedilen yapılandırmayı Agent'a gönderin. Agent, en son kaydedilen compose yapılandırmasını kullanarak yeniden dağıtım yapacaktır.", + "app-version-upgrade-available-title": "Yükseltme mevcut", + "app-version-mismatch-title": "Şablon sürümü uyuşmazlığı", + "app-assign-upgrade-available-text": "'{{profileName}}' profili {{profileVersion}} şablon sürümünü kullanıyor, bu uygulama ise {{appVersion}} sürümünü kullanıyor. Bu uygulama için {{profileVersion}} sürümüne yükseltme mevcut. Profili doğrudan atamak, yükseltme adımlarını (ör. veritabanı yükseltme betikleri) çalıştırmadan uygulamayı {{profileVersion}} sürümüne geçirir. Sürümleri güvenli şekilde değiştirmek için Yükselt eylemini kullanın.", + "app-assign-version-mismatch-text": "'{{profileName}}' profili {{profileVersion}} şablon sürümünü kullanıyor, ancak bu uygulama {{appVersion}} sürümünde. Profili atamak, herhangi bir yükseltme veya düşürme adımı çalıştırmadan uygulamayı {{profileVersion}} sürümüne geçirir ve uygulamayı tutarsız bir durumda bırakabilir. Sürümler arasında güvenle geçiş yapmak için Yükselt eylemini kullanın.", + "app-assign-anyway": "Yine de ata", + "app-assign-upgrade-first": "Önce yükselt", + "app-update-drift-title": "Atanan profil sürümü farklı", + "app-update-drift-text": "Atanan '{{profileName}}' profili {{profileVersion}} şablon sürümünde, bu uygulama ise {{appVersion}} sürümünde. Güncelle işlemi uygulamayı mevcut yapılandırmasıyla yeniden dağıtır — profilin yapılandırması uygulanmaz. {{profileVersion}} sürümüne geçmek için Yükselt eylemini kullanın.", + "app-update-anyway": "Yine de güncelle", + "app-profile-drifted-hint": "Profil {{version}} şablon sürümünde. Güncelle işlemi bunu uygulamaz — Yükselt eylemini kullanın.", + "app-arguments-profile-managed-hint": "Özel argümanlar, atanan uygulama profili tarafından yönetilir. Bunları profil sayfasında düzenleyin.", + "app-current-version": "Mevcut sürüm", + "app-profile-version": "Profil sürümü", + "app-name-required": "Uygulama adı gereklidir.", + "app-compose": "Docker Compose yapılandırması", + "arguments": "Özel argümanlar", + "arguments-hint-prefix": "Dağıtım sırasında çözümlenen yer tutucular. Compose içinde bunlara şu şekilde başvurun", + "arguments-empty": "Tanımlı özel argüman yok.", + "arguments-empty-read-title": "Tanımlı özel argüman yok", + "arguments-empty-read-hint": "Compose, değerleri olduğu gibi dağıtılır.", + "arguments-empty-write-title": "Henüz özel argüman yok", + "arguments-empty-write-hint": "Dağıtım sırasında compose'a bir öğe özniteliği veya telemetri değeri eklemek için bir yer tutucu ekleyin.", + "argument-settings": "Argüman ayarları", + "argument-add": "Argüman ekle", + "argument-remove": "Argümanı kaldır", + "argument-name": "Ad", + "argument-name-required": "Argüman adı gereklidir.", + "argument-name-pattern": "Yalnızca harf, rakam ve alt çizgiye izin verilir.", + "argument-name-duplicate": "Argüman adı zaten kullanılıyor.", + "argument-referenced-as": "Docker Compose yapılandırmasında buna şu şekilde başvurun", + "argument-source": "Kaynak türü", + "argument-target-entity": "Hedef öğe", + "argument-source-agent": "Agent", + "argument-source-owner": "Sahip", + "argument-source-related-entity": "İlişkili öğe", + "argument-source-tenant": "Geçerli kiracı", + "argument-source-device": "Cihaz", + "argument-source-asset": "Varlık", + "argument-source-customer": "Müşteri", + "argument-source-edge": "Edge", + "argument-source-entity-device": "Cihaz", + "argument-source-entity-asset": "Varlık", + "argument-source-entity-customer": "Müşteri", + "argument-source-entity-edge": "Edge", + "argument-value-type": "Değer türü", + "argument-value-type-attribute": "Öznitelik", + "argument-value-type-latest-telemetry": "En son telemetri", + "argument-scope": "Öznitelik kapsamı", + "argument-type-server-attribute": "Sunucu özniteliği", + "argument-type-shared-attribute": "Paylaşılan öznitelik", + "argument-type-client-attribute": "İstemci özniteliği", + "argument-key": "Anahtar", + "argument-attribute-key": "Öznitelik anahtarı", + "argument-telemetry-key": "Son telemetri anahtarı", + "argument-key-required": "Anahtar gereklidir.", + "argument-default-value": "Varsayılan değer", + "argument-format": "Değer biçimi", + "argument-format-string": "Metin", + "argument-format-json": "JSON", + "argument-format-hint-json": "\"JSON\", dizileri/nesneleri/sayıları olduğu gibi ekler, ancak yalnızca yer tutucu değerin tamamı olduğunda.", + "argument-format-hint-embedded": "Yer tutucu bir dizenin içine gömülüyse bu seçim yok sayılır ve değer her zaman tırnak içinde metin olarak eklenir.", + "argument-format-hint-text": "\"Metin\" her zaman tırnak içinde bir dize ekler.", + "app-compose-creds-overridden-hint": "Compose içindeki kimlik bilgisi alanları bağlı öğe tarafından yönetilir ve kaydetme sırasında üzerine yazılır. Bunları değiştirmek için öğeyi yeniden atayın.", + "app-profile-compose-creds-hint": "Compose içindeki kimlik bilgisi alanları bağlı öğe tarafından yönetilir ve kaydetme sırasında üzerine yazılır. Bunları değiştirmek için öğeyi uygulama oluşturma/düzenleme sırasında atayın.", + "app-related-entity": "İlişkili öğe", + "app-related-entity-none": "Eşleşen öğe bulunamadı", + "app-related-entity-none-create": "Eşleşen öğe bulunamadı. Oluşturmak için 'Yeni oluştur' düğmesini kullanın.", + "app-related-entity-required": "Edge ve Gateway uygulamaları için ilişkili öğe gereklidir.", + "app-step-applied-stage-hint": "Buradaki değişiklikler Agent'ta '{{stage}}' aşamasında uygulanır.", + "app-restart-title": "{{name}} yeniden başlatılsın mı?", + "app-restart-text": "Agent, uygulamanın başlatma adımlarını yeniden çalıştıracak. Mevcut veriler ve yapılandırma korunur.", + "app-assign-compare-title": "Uygulama profili ata", + "app-assign-compare-hint": "'{{profileName}}' profilinin atanması, '{{appName}}' uygulamasının compose yapılandırmasını değiştirecektir. Yukarıdaki değişiklikleri inceleyin ve onaylayın.", + "app-assign-compare-cta": "Profil ata", + "app-upgrade-title": "Uygulamayı yükselt", + "app-upgrade-step1": "Değişiklikleri incele", + "app-upgrade-step2": "Yapılandır ve onayla", + "app-upgrade-heading": "{{name}} yükseltiliyor: {{from}} → {{to}}", + "app-upgrade-template-new": "Şablon ({{version}}) — yeni", + "app-upgrade-current": "Compose yapılandırmanız (yeni imajın otomatik birleştirildiği mevcut sürüm)", + "app-upgrade-diff-hint": "Yan yana karşılaştırma: sol bölmede ham yeni şablon, sağ bölmede ise yeni imajın otomatik olarak birleştirildiği mevcut Compose yapılandırmanız gösterilir. Devam etmeden önce farkları inceleyin.", + "app-upgrade-steps-list": "Yürütülecek yükseltme adımları:", + "app-upgrade-backup-volumes-hint": "Yükseltmeden önce yedeklenecek depolama alanlarını seçin. Yedekler, yükseltme başarısız olursa otomatik geri almayı mümkün kılar.", + "app-upgrade-no-volumes": "Compose yapılandırmasında depolama alanı algılanmadı.", + "app-upgrade-summary-versions": "Yükseltme", + "app-upgrade-summary-volumes-label": "Yedeklenecek depolama alanları", + "app-upgrade-summary-volumes": "{ count, plural, =1 {1 seçili} other {# seçili} }", + "app-upgrade-rollback-info": "Herhangi bir adım başarısız olursa Agent, yedeklenen depolama alanlarını kullanarak otomatik olarak önceki sürüme geri döner.", + "app-upgrade-cta": "Yükselt", + "app-upgrade-loading": "Şablon yükleniyor…", + "app-upgrade-no-template": "Uygulama için ayarlanmış bir şablon yok; yükseltme yapılamıyor.", + "app-upgrade-no-next-version": "Daha yeni bir şablon sürümü mevcut değil.", + "app-upgrade-load-failed": "Yükseltme şablonu yüklenemedi.", + "app-upgrade-merge-failed": "Yükseltme önizlemesi hesaplanamadı.", + "app-compose-invalid-yaml": "Docker Compose yapılandırması geçerli bir YAML değil. Kaydetmeden önce düzeltin.", + "app-profile-saved-title": "Uygulama profili kaydedildi", + "app-profile-saved-propagation-text": "Bu profile zaten atanmış uygulamalar otomatik olarak güncellenmedi. Değişiklikleri uygulamak için Agent profili sayfasından toplu güncelleme/yükseltme çalıştırın veya her uygulamayı kendi sayfasından tek tek güncelleyin.", + "app-upgrade-profile-step": "Profili yükselt", + "app-upgrade-profile-loading": "Profil yükleniyor…", + "app-upgrade-profile-name": "Profil", + "app-upgrade-profile-current": "Profil Compose'u (yeni imajın otomatik birleştirildiği güncel sürüm)", + "app-upgrade-profile-hint": "Bu uygulama, hâlâ önceki şablon sürümüne işaret eden bir profile bağlıdır. Uygulamanın yeni yapılandırmaya geçebilmesi için önce profili yükseltin.", + "app-upgrade-profile-cta": "Profili yükselt", + "app-profile-load-failed": "Uygulama profili yüklenemedi.", + "app-install-title": "Uygulama kur", + "app-install-on-agent": "{{name}} adlı Agent üzerinde", + "app-install-pick-type": "Bu Agent üzerinde neyi dağıtmak istediğinizi seçin.", + "app-install-step1": "Tür seç", + "app-install-step3": "İncele ve özelleştir", + "app-install-step4": "Uygulamayı kaydet", + "app-install-type-generic": "Genel", + "app-install-type-generic-desc": "Herhangi bir Docker Compose uygulaması dağıtın", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "ThingsBoard Edge'i dağıtın", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "ThingsBoard Gateway'i dağıtın", + "app-install-name": "Uygulama adı", + "app-install-yaml": "Docker Compose yapılandırması", + "app-compose-template-select": "Compose şablonu", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "Hibrit", + "compose-type-in-memory": "Bellek içi", + "app-install-diff-template": "Şablon — salt okunur", + "app-install-diff-editable": "Compose dosyanız — düzenlenebilir, kaydedilecek", + "app-install-diff-hint": "Sol bölmede ham şablon compose dosyası gösterilir. Uyarlamak için sağ bölmeyi düzenleyin; yalnızca sağ taraf kaydedilir.", + "app-diff-sync-scroll": "Bölmeler arasında kaydırmayı eşitle", + "app-diff-read-only": "Salt okunur", + "app-install-cred-title": "Kimlik bilgileri", + "app-install-cred-hint": "Profil kullanılırken yalnızca bu alanlar düzenlenebilir. Değerleri aşağıdaki compose önizlemesine geri yazılır.", + "app-install-cred-routing-key": "Yönlendirme anahtarı", + "app-install-cred-routing-secret": "Yönlendirme gizli anahtarı", + "app-install-cred-security-type": "Güvenlik türü", + "app-install-cred-security-access-token": "Erişim belirteci", + "app-install-cred-security-username-password": "Kullanıcı adı / parola", + "app-install-cred-access-token": "Erişim belirteci", + "app-install-cred-client-id": "İstemci kimliği", + "app-install-cred-username": "Kullanıcı adı", + "app-install-cred-password": "Parola", + "app-install-pull-images": "Başlatmadan önce imajları çek", + "app-image-pull-policy-if-not-present": "Mevcut değilse", + "app-image-pull-policy-always": "Her zaman", + "app-install-cta": "Kaydet", + "app-update-wizard-title": "Uygulamayı güncelle", + "app-update-cta": "Güncelle", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "Önerilen (şablonla birleştirilmiş) — salt okunur", + "app-update-diff-current": "Geçerli compose — düzenlenebilir, kaydedilecek", + "app-update-diff-hint": "Önerilen değişiklikleri soldaki bölmede inceleyin. Seçili parçaları sağdaki mevcut compose yapılandırmasıyla birleştirmek için bölmeler arasındaki okları kullanın. Yalnızca sağ taraf kaydedilir.", + "app-update-cred-hint": "Profil tarafından yönetilen uygulamalar burada yalnızca kimlik bilgisi alanlarını gösterir. Diğer compose değişiklikleri profil üzerinden yapılır.", + "app-profile-outdated-hint": "Profil yapılandırması güncel değil. Yeniden almak için Güncelle'yi çalıştırın.", + "app-project-name": "Proje adı", + "app-update-skip-profile-refetch": "Profil yapılandırmasını yeniden almayı atla", + "app-update-skip-profile-refetch-hint": "İşaretlendiğinde Agent uygulaması mevcut compose yapılandırmasını korur ve yalnızca yukarıdaki kimlik bilgisi değerleri uygulanır. Kimlik bilgilerini yenilemek veya — yukarıdaki çekme ilkesi «Her zaman» olarak ayarlıyken — profilin daha yeni yapılandırmasını almadan en son imajları yeniden çekmek için kullanın.", + "app-update-skip-profile-refetch-drift-hint": "Atanan profilin şablon sürümü: {{version}} — Güncelle bu profilin yapılandırmasını uygulamaz. Uygulama mevcut compose yapılandırmasını korur; yalnızca yukarıdaki kimlik bilgisi değerleri uygulanır. Sürüm değiştirmek için Yükselt'i kullanın.", + "app-install-confirm-info": "Agent konteynerleri indirip başlatacaktır. İlerlemeyi Olaylar sekmesinde izleyebilirsiniz.", + "app-install-loading-template": "Şablon yükleniyor…", + "app-install-template-failed": "Uygulama şablonu yüklenemedi.", + "app-install-merge-failed": "Birleştirilmiş önizleme hesaplanamadı.", + "app-delete-title-header": "Uygulamayı sil", + "app-delete-warning": "'{{name}}' uygulamasını silmek istediğinizden emin misiniz? Bu işlem uzak makinedeki tüm konteynerleri durdurup kaldıracaktır.", + "app-delete-remove-volumes": "Depolama alanlarını da kaldır", + "app-delete-remove-volumes-hint": "Uyarı: bu işlem uygulamanın depolama alanlarında saklanan tüm verileri kalıcı olarak siler.", + "app-delete-no-volumes": "Compose yapılandırmasında depolama alanı algılanmadı.", + "app-delete-cta": "Sil", + "agents-count": "Agent'lar", + "profiles-count": "Profiller", + "template": "Şablon", + "previous-version": "Önceki sürüm", + "config-type": "Yapılandırma türü", + "install-instructions": "Kurulum talimatları", + "install-instructions-hint": "Agent'ı başlatmak için hedef makinede aşağıdaki komutu çalıştırın. Agent, ThingsBoard sunucusuna bağlanacak ve Çevrimiçi olarak görünecektir.", + "install-instructions-replace-hint": "Agent bağlandığında Agent'lar listesinde Çevrimiçi olarak görünecektir.", + "install-step-docker": "Hedef makinede Docker'ın kurulu olduğundan emin olun", + "install-step-run": "Agent konteynerini çalıştırın", + "install-command-copied-message": "Kurulum komutu panoya kopyalandı", + "agent-credentials": "Agent kimlik bilgileri", + "agent-created-successfully": "Agent başarıyla oluşturuldu", + "go-to-agent": "Agent'a git", + "app-type-generic": "Genel", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "Kurulum", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "En son Edge uygulama profili", + "preset-gateway-description": "En son Gateway uygulama profili", + "preset-edge-gateway-description": "En son uygulama profillerinin ikisi de", + "preset-name-edge": "Edge Agent profili", + "preset-name-gateway": "Gateway Agent profili", + "preset-name-edge-gateway": "Edge + Gateway Agent profili", + "preset-advanced": "Gelişmiş", + "preset-advanced-description": "Bir sağlama stratejisi belirleyin ve uygulama profillerini seçin veya oluşturun", + "preset-advanced-configure": "Yapılandır", + "preset-summary-title": "Ön ayar: {{label}}", + "preset-summary-body": "Agent profilini, {{apps}} atanmış olarak ve \"tür başına bir uygulama\" sağlama stratejisiyle oluşturur.", + "preset-summary-apps-two": "{{first}} ve {{second}}", + "preset-templates-load-failed": "{{types}} için en son uygulama şablonları yüklenemedi. Bunları gerektiren ön ayarlar devre dışı bırakıldı.", + "app-type-required": "Uygulama türü gereklidir.", + "provision-type-disabled": "Devre dışı", + "provision-type-no-auto-install": "Yalnızca Agent'ları sağla", + "provision-type-per-app-type": "Tür başına bir uygulama", + "provision-type-per-app-profile": "Atanan profil başına bir uygulama", + "provisioning-strategy": "Sağlama stratejisi", + "provisioning-strategy-label": "Strateji: {{strategy}}", + "provision-type-disabled-description": "Agent sağlama devre dışı. Otomatik Agent kaydını etkinleştirmek için bir sağlama stratejisi seçin. Etkinleştirildiğinde Agent'lar, paylaşılan bir sağlama anahtarı ve gizli anahtar kullanarak kendilerini kaydedebilir — her Agent'ı manuel olarak oluşturmanıza gerek kalmaz.", + "provision-type-no-auto-install-description": "Bu profille yeni bir Agent sağlandığında sunucu Agent'ı kaydeder, ancak hiçbir uygulamayı otomatik olarak kurmaz. Atanan uygulama profilleri sağlama sırasında yok sayılır — uygulamalar Agent'a manuel olarak kurulabilir.", + "provision-type-per-app-type-description": "Bu profille yeni bir Agent sağlandığında sunucu, atanan uygulama profillerine göre uygulamaları otomatik olarak oluşturur. Edge/Gateway uygulamaları yalnızca Agent'ta o türde bir uygulama yoksa kurulur (Agent başına her türden en fazla bir tane); Genel uygulamalar profile göre eşleşir (Agent başına her profil için bir uygulama). Örneğin iki Edge profili ve iki Genel profili atandığında Agent bir Edge uygulaması ve iki Genel uygulaması alır. Bir uygulama türü ilgili bir öğe gerektiriyorsa (ör. Edge veya Gateway), sunucu bu öğeyi oluşturup atamaya çalışır.", + "provision-type-per-app-profile-description": "Bu profille yeni bir Agent sağlandığında sunucu, atanan uygulama profillerine göre uygulamaları otomatik olarak oluşturur. Her uygulama yalnızca Agent'ta eşleşen bir uygulama yoksa kurulur — Edge/Gateway uygulamaları şablona veya kaynak profillerine göre eşleşir (Agent başına her şablon için bir tane); Genel uygulamalar profile göre eşleşir (Agent başına her profil için bir uygulama). Örneğin iki Edge profili atandığında, profiller farklı şablonlara dayanıyorsa Agent iki Edge uygulaması alır, aynı şablonu paylaşıyorlarsa yalnızca bir tane alır. Bir uygulama türü ilgili bir öğe gerektiriyorsa (ör. Edge veya Gateway), sunucu bu öğeyi oluşturup atamaya çalışır.", + "agent-profile-created": "Agent profili oluşturuldu", + "agent-profile-created-hint": "Bu komutu Agent dağıtmak istediğiniz her makinede çalıştırın. Her Agent:", + "agent-profile-created-step-1": "Sağlama kimlik bilgilerini kullanarak sunucuya otomatik olarak kaydolur", + "agent-profile-created-step-2": "Kalıcı bağlantı için benzersiz bir yönlendirme anahtarı ve gizli anahtar alır", + "agent-profile-created-step-3": "Atanan uygulama profillerinde tanımlı uygulamaları otomatik olarak kurar", + "provisioning-credentials": "Sağlama kimlik bilgileri", + "provisioning": "Agent sağlama", + "docker-run-command": "Docker run komutu", + "assigned-profiles": "Uygulama profilleri", + "assign-profile": "Profil ata", + "unassign-profile": "Profilin atamasını kaldır", + "no-profiles-assigned": "Bu profile henüz atanmış uygulama profili yok.", + "go-to-profile": "Profile git", + "profiles-bulk-hint": "Bu toplu işlem, \"{{appProfile}}\" profiliyle eşleşen ve Agent'ı \"{{agentProfile}}\" profilini kullanan tüm uygulamaları hedefler", + "auto-install-template-dedup-note": "Bu Agent profilinin sağlama stratejisi otomatik kurulumu etkinleştirir. Bir Agent otomatik olarak sağlandığında, aşağıdaki her profil yalnızca Agent'ta eşleşen bir uygulama yoksa kurulur. Edge/Gateway profilleri şablona veya kaynak profillerine göre eşleşir (Agent başına şablon başına bir tane); Genel profiller profile göre eşleşir (Agent başına profil başına bir uygulama).", + "auto-install-per-type-note": "Bu Agent profilinin sağlama stratejisi otomatik kurulumu etkinleştirir. Bir Agent otomatik olarak sağlandığında, aşağıdaki Edge/Gateway profilleri yalnızca Agent'ta o türde bir uygulama yoksa kurulur (Agent başına her türden en fazla bir tane); Genel profiller profile göre eşleşir (Agent başına profil başına bir uygulama).", + "app-profile": "Uygulama profili", + "no-profiles-available": "Atanabilecek başka profil yok.", + "unassign-profile-confirm": "'{{profile}}' uygulama profilinin bu Agent profilinden atamasını kaldırmak istediğinizden emin misiniz?", + "relate-on-auto-discovery": "Otomatik keşifte ilişkilendir", + "relate-on-auto-discovery-tooltip": "Bu uygulama profilini, eşleşen Edge/Gateway imajlarına sahip tüm yeni otomatik keşfedilen uygulamalara atayın.", + "relate-on-auto-discovery-confirm-title": "Devam etmek istediğinizden emin misiniz?", + "relate-on-auto-discovery-enable-confirm": "Edge/Gateway imajı '{{profile}}' profilinin şablonuyla eşleşen yeni otomatik keşfedilen uygulamalara bu uygulama profili otomatik olarak atanır. Yapılandırma uyuşmazlığı durumunda profilin yapılandırması (compose), uygulamanın otomatik keşfedilen yapılandırmasını (compose) geçersiz kılar.", + "relate-on-auto-discovery-disable-confirm": "'{{profile}}' profilinin şablonuyla eşleşen yeni otomatik keşfedilen uygulamalara artık bu uygulama profili otomatik olarak atanmayacak. Mevcut atamalar etkilenmez.", + "provisioning-saved": "Sağlama ayarları kaydedildi", + "bulk-actions": "Toplu işlemler", + "assigned-applications": "Atanan uygulamalar", + "application-profiles-and-bulk-actions": "Uygulama profilleri ve toplu işlemler", + "recent-bulk-actions": "Son toplu işlemler", + "no-recent-bulk-actions": "Bu uygulama profili için henüz toplu işlem yok.", + "executions": "Yürütmeler", + "view-bulk-action-details": "Tüm ayrıntıları aç", + "agents-reporting-success": "{{ok}}/{{total}} Agent başarı bildiriyor", + "bulk-action-type": "İşlem", + "bulk-action-status": "Durum", + "bulk-action-counts": "Gönderilen", + "bulk-action-error": "Hata", + "bulk-action-details": "Toplu işlem ayrıntıları", + "bulk-restart": "Toplu yeniden başlatma", + "bulk-update": "Toplu güncelleme", + "bulk-upgrade": "Toplu yükseltme", + "bulk-delete": "Toplu silme", + "bulk-restart-title": "Toplu yeniden başlatma — {{profile}}", + "bulk-update-title": "Toplu güncelleme — {{profile}}", + "bulk-upgrade-title": "Toplu yükseltme — {{profile}}", + "bulk-delete-title": "Toplu silme — {{profile}}", + "bulk-action-title": "Toplu işlem", + "bulk-restart-cta": "Tümünü yeniden başlat", + "bulk-update-cta": "Tümünü güncelle", + "bulk-upgrade-cta": "Tümünü yükselt", + "bulk-delete-cta": "Tümünü sil", + "bulk-preview": "Önizleme", + "bulk-preview-total": "Toplam uygulama", + "bulk-preview-eligible": "Uygun", + "bulk-preview-skipped": "Atlanan", + "bulk-skipped-version-mismatch": "Atlandı — şablon sürümü uyuşmuyor", + "bulk-skipped-active-event": "Atlandı — başka bir işlem zaten çalışıyor", + "bulk-skipped-rate-limit": "Atlandı — olay hızı sınırı aşıldı", + "bulk-skipped-error": "Atlandı — uygulama değerlendirilirken hata oluştu", + "bulk-skipped-more": "…ve {{count}} tane daha — çalıştırma ayrıntılarına bakın", + "bulk-no-eligible": "Bu işlem için uygun uygulama yok.", + "bulk-backup-volumes-hint": "Yükseltmeden önce yedeklenecek depolama alanlarını seçin. Girdiler her uygun uygulamaya uygulanır.", + "bulk-no-volumes-in-profile": "Profilin compose yapılandırmasında depolama alanı yok.", + "bulk-submitted": "Gönderildi", + "bulk-skipped": "Atlandı", + "bulk-processing-started": "İşlem başlatıldı", + "bulk-events": "Olaylar", + "bulk-event-current-step": "Geçerli adım", + "bulk-event-updated": "Güncellendi", + "bulk-event-filter-status": "Durum", + "bulk-event-filter-all": "Tümü", + "bulk-no-events": "Bu toplu işlem için olay bulunamadı.", + "no-bulk-actions": "Henüz toplu işlem yok.", + "origin-installed": "Kurulu", + "origin-discovered": "Keşfedildi", + "origin-auto-provisioned": "Otomatik sağlandı", + "event-action-install": "Kurulum", + "event-action-update": "Güncelleme", + "event-action-delete": "Silme", + "event-action-restart": "Yeniden başlatma", + "event-action-rollback": "Geri alma", + "event-action-upgrade": "Yükseltme", + "event-action-agent-upgrade": "Agent yükseltme", + "event-status-pending": "Beklemede", + "event-status-queued": "Kuyrukta", + "event-status-processing": "İşleniyor", + "event-status-finished": "Tamamlandı", + "event-status-error": "Hata", + "event-status-start-failed": "Başlatılamadı", + "bulk-status-queued": "Kuyrukta", + "bulk-status-in-progress": "Devam ediyor", + "bulk-status-started": "Başlatıldı", + "bulk-status-start-failed": "Başlatılamadı", + "unit-type-container": "Konteyner", + "unit-type-volume": "Depolama alanı", + "unit-type-network": "Ağ", + "app-events": "Olaylar", + "app-metrics": "Metrikler", + "app-copy-id": "Uygulama kimliğini kopyala", + "app-id-copied-message": "Uygulama kimliği panoya kopyalandı", + "app-upgrade-available": "Yükseltme mevcut: {{version}}", + "app-unit-identifier": "Tanımlayıcı", + "app-unit-image": "İmaj", + "app-unit-state": "Durum", + "app-unit-filter": "Birim filtresi", + "app-unit-filter-with-values": "Filtre: {{values}}", + "app-unit-logs": "Konteyner günlükleri", + "app-unit-view-logs": "Konteyner günlüklerini görüntüle", + "filter-all-count": "Tümü ({{count}})", + "filter-errors-count": "Hatalar ({{count}})", + "filter-running-count": "Çalışan ({{count}})", + "log-agent-offline-paused": "Agent çevrimdışı · akış duraklatıldı", + "log-agent-online": "Agent çevrimiçi", + "log-back-to-application": "Uygulamaya dön", + "log-buffered": "+ {{count}} arabellekte", + "log-chip-app": "Uygulama", + "log-clear": "Günlüğü temizle", + "log-clear-highlight": "Vurgulamayı temizle", + "log-copy-all": "Tümünü kopyala", + "log-copy-all-lines": "Tüm günlük satırlarını kopyala", + "log-download": "Günlüğü indir", + "log-dropped": "{{count}} atıldı", + "log-dropped-hint": "Agent'ın bu görüntüleyiciye ulaşmadan önce attığı günlük satırları", + "log-dropped-total": "Toplam atılan satır", + "log-follow-latest": "En yeniyi takip et", + "log-gap": "{ count, plural, =1 {1 günlük parçası atıldı} other {# günlük parçası atıldı} } (arabellek sınırına ulaşıldı)", + "log-highlight": "Vurgula…", + "log-highlight-lines": "Günlük satırlarını vurgula", + "log-jump-to-latest": "En yeniye git", + "log-lines-unit": "{ count, plural, =1 {satır} other {satır} }", + "log-live": "Canlı", + "log-pause-resume-stream": "Akışı duraklat veya sürdür", + "log-pause-stream": "Akışı duraklat", + "log-paused": "Duraklatıldı", + "log-resume-stream": "Akışı sürdür", + "log-stream-paused": "Akış duraklatıldı", + "log-waiting": "Günlük satırları bekleniyor…", + "metrics-all-containers": "Tüm konteynerler", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent %{{percent}}", + "metrics-cpu-percent-of-cores": "{{cores}} çekirdekte cpuPercent %{{percent}} (sınır %{{cap}})", + "metrics-disk": "Disk", + "metrics-memory": "Bellek", + "metrics-show-charts": "Grafikleri göster", + "metrics-updated-at": "Güncellenme: {{time}}", + "metrics-used-of-total": "{{used}} / {{total}} (%{{percent}})", + "metrics-volumes": "Depolama alanları", + "stats-done": "{{count}} tamamlandı", + "stats-error": "{{count}} hata", + "stats-pending": "{{count}} beklemede", + "stats-running": "{{count}} çalışıyor", + "app-no-units": "Birim bulunamadı.", + "app-no-events": "Olay bulunamadı.", + "app-event-app-name": "Uygulama", + "app-event-agent-name": "Agent", + "app-event-action": "İşlem", + "app-event-status": "Yürütme durumu", + "app-event-execution": "Yürütme", + "app-event-execution-not-started": "Başlatılmadı", + "app-event-execution-started": "Başlatıldı", + "app-event-execution-delivery-failed": "Teslim edilemedi", + "app-event-filter": "Olay filtresi", + "app-event-filter-with-values": "Filtre: {{values}}", + "app-event-current-activity": "Geçerli etkinlik", + "app-event-show-error": "Hatayı göster", + "app-event-error-title": "Olay hatası", + "upgrade-agent-action": "Agent'ı yükselt", + "image": "İmaj", + "version-unknown": "bildirilmedi", + "up-to-date": "Güncel", + "upgrade-to": "{{version}} sürümüne yükselt", + "upgrade-agent-title": "Agent'ı yükselt", + "upgrade-agent-text": "{{agentName}} adlı Agent, kendi konteynerini aşağıdaki imajla değiştirecek. Agent bu süre boyunca erişilebilir kalır ve uygulama komutları yükseltme tamamlanana kadar duraklatılır.", + "upgrade-agent-hint": "Daha yeni bir Agent imajı yayımlandı", + "upgrade-agent-hint-unavailable": "Daha yeni bir Agent imajı bilinmiyor — Agent zaten güncel olabilir veya sürümü belirlenemedi", + "upgrade-current-image": "Geçerli imaj", + "upgrade-target-image": "Hedef imaj", + "upgrade-target-image-hint": "Bir etiket veya digest ile sabitlenmiş bir başvuru, örn. thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "Hedef imaj gereklidir.", + "agent-upgrade-subject": "Agent yükseltmesi", + "agent-upgrade-subject-label": "İşlem", + "agent-upgrade-step-prepare": "Yerine geçecek konteyneri hazırla", + "agent-upgrade-step-finalize": "Görevi devret ve önceki konteyneri kaldır", + "app-event-progress-title": "Olay ilerlemesi", + "app-event-progress-loading": "Şablon yükleniyor...", + "app-event-progress-load-failed": "Olay ilerlemesi yüklenemedi.", + "app-event-progress-no-template": "Bu uygulamaya bağlı şablon yok.", + "app-event-step-completed": "Tamamlandı", + "app-event-step-processing": "İşleniyor", + "app-event-step-error": "Başarısız", + "app-event-step-waiting": "Bekliyor", + "app-event-current-step": "Geçerli adım", + "app-event-created": "Oluşturuldu", + "app-event-updated": "Güncellendi", + "app-event-cancel": "İptal et", + "app-event-cancel-title": "Olay iptal edilsin mi?", + "app-event-cancel-text": "Devam eden olay Agent'ta iptal edilecek.", + "app-event-view-in-events": "Olaylarda görüntüle", + "app-save-update-hint-title": "Değişiklikler kaydedildi", + "app-save-update-hint": "Değişiklikler ThingsBoard'da kaydedildi, ancak Agent hâlâ önceki yapılandırmayı çalıştırıyor. Değişiklikleri Agent'a uygulamak için bu uygulamanın 'Güncelle' işlem düğmesine tıklayın.", + "app-save-update-hint-action": "Şimdi güncelle", + "app-deleted": "Uygulama silindi", + "group": "Agent grubu", + "list-of-groups": "{ count, plural, =1 {1 Agent grubu} other {# Agent grubu listesi} }", + "group-name-starts-with": "Adı '{{prefix}}' ile başlayan Agent grupları", + "application-group": "Uygulama grubu", + "list-of-application-groups": "{ count, plural, =1 {1 uygulama grubu} other {# uygulama grubu listesi} }", + "application-group-name-starts-with": "Adı '{{prefix}}' ile başlayan uygulama grupları", + "all": "Tümü", + "all-agents": "Tüm Agent'lar", + "groups": "Gruplar", + "shared": "Paylaşılan" }, "edge-event": { - "type-dashboard": "Gösterge Paneli", + "type-dashboard": "Pano", "type-asset": "Varlık", "type-device": "Cihaz", "type-device-profile": "Cihaz Profili", "type-asset-profile": "Varlık Profili", - "type-entity-view": "Varlık Görünümü", + "type-entity-view": "Öğe görünümü", "type-alarm": "Alarm", - "type-entity-group": "Varlık Grubu", + "type-entity-group": "Öğe Grubu", "type-rule-chain": "Kural Zinciri", "type-rule-chain-metadata": "Kural Zinciri Metaverisi", - "type-edge": "Kenar", + "type-edge": "Edge", "type-user": "Kullanıcı", "type-tenant": "Kiracı", "type-tenant-profile": "Kiracı Profili", "type-customer": "Müşteri", "type-relation": "İlişki", - "type-widgets-bundle": "Bileşen Paketi", - "type-widgets-type": "Bileşen Türü", + "type-widgets-bundle": "Widget Paketi", + "type-widgets-type": "Widget Türü", "type-admin-settings": "Yönetici Ayarları", "type-ota-package": "OTA Paketi", "type-queue": "Kuyruk", "type-scheduler-event": "Zamanlayıcı Olayı", - "type-white-labeling": "Özelleştirilmiş Etiketleme", - "type-login-white-labeling": "Giriş Özelleştirmesi", + "type-white-labeling": "White labeling", + "type-login-white-labeling": "Giriş ekranı White labeling", "type-custom-translation": "Özel Çeviri", "type-role": "Rol", "type-group-permission": "Grup İzni", @@ -3525,79 +4300,82 @@ "action-type-attributes-deleted": "Öznitelikler Silindi", "action-type-timeseries-updated": "Zaman Serisi Güncellendi", "action-type-credentials-updated": "Kimlik Bilgileri Güncellendi", - "action-type-assigned-to-customer": "Müşteriye Atandı", - "action-type-unassigned-from-customer": "Müşteriden Kaldırıldı", - "action-type-relation-add-or-update": "İlişki Ekle veya Güncelle", + "action-type-assigned-to-customer": "Müşteriye atandı", + "action-type-unassigned-from-customer": "Müşteriden ataması kaldırıldı", + "action-type-relation-add-or-update": "İlişki Eklendi veya Güncellendi", "action-type-relation-deleted": "İlişki Silindi", "action-type-rpc-call": "RPC Çağrısı", "action-type-alarm-ack": "Alarm Onaylandı", "action-type-alarm-clear": "Alarm Temizlendi", "action-type-alarm-assigned": "Alarm Atandı", - "action-type-alarm-unassigned": "Alarm Kaldırıldı", - "action-type-assigned-to-edge": "Kenara Atandı", - "action-type-unassigned-from-edge": "Kenardan Kaldırıldı", + "action-type-alarm-unassigned": "Alarm ataması kaldırıldı", + "action-type-assigned-to-edge": "Edge'e atandı", + "action-type-unassigned-from-edge": "Edge'den ataması kaldırıldı", "action-type-credentials-request": "Kimlik Bilgileri İsteği", - "action-type-entity-merge-request": "Varlık Birleştirme İsteği", - "action-type-added-to-entity-group": "Varlık Grubuna Eklendi", - "action-type-removed-from-entity-group": "Varlık Grubundan Kaldırıldı", - "action-type-change-owner": "Sahip Değiştirildi", + "action-type-entity-merge-request": "Öğe Birleştirme İsteği", + "action-type-added-to-entity-group": "Öğe Grubuna Eklendi", + "action-type-removed-from-entity-group": "Öğe Grubundan Kaldırıldı", + "action-type-change-owner": "Sahip değiştirildi", "connected": "Bağlandı", "disconnected": "Bağlantı Kesildi" }, "error": { + "data-export-failed": "Veri dışa aktarma başarısız oldu: dağıtım modu belirlenemedi. Lütfen tekrar deneyin.", "unable-to-connect": "Sunucuya bağlanılamıyor! Lütfen internet bağlantınızı kontrol edin.", "unhandled-error-code": "İşlenmeyen hata kodu: {{errorCode}}", "unknown-error": "Bilinmeyen hata" }, "entity": { - "entity": "Varlık", - "entities": "Varlıklar", - "entities-count": "Varlık sayısı", + "entity": "Öğe", + "entities": "Öğeler", + "devices-and-assets": "Cihazlar ve varlıklar", + "data-processing": "Veri işleme", + "entities-count": "Öğe sayısı", "alarms-count": "Alarm sayısı", - "aliases": "Varlık takma adları", + "aliases": "Öğe takma adları", "aliases-short": "Takma adlar", - "entity-alias": "Varlık takma adı", - "unable-delete-entity-alias-title": "Varlık takma adı silinemiyor", - "unable-delete-entity-alias-text": "'{{entityAlias}}' takma adı silinemiyor çünkü şu bileşen(ler) tarafından kullanılıyor:
    {{widgetsList}}", - "unable-delete-entity-alias-text-components": "Varlık takma adı ‘{{entityAlias}}’ aşağıdaki bileşen(ler) tarafından kullanıldığı için silinemiyor:
    {{widgetsList}}", - "duplicate-alias-error": "Yinelenen takma ad bulundu '{{alias}}'.
    Gösterge panelinde takma adlar benzersiz olmalıdır.", + "entity-alias": "Öğe takma adı", + "unable-delete-entity-alias-title": "Öğe takma adı silinemiyor", + "unable-delete-entity-alias-text": "'{{entityAlias}}' öğe takma adı silinemiyor çünkü şu widget(lar) tarafından kullanılıyor:
    {{widgetsList}}", + "unable-delete-entity-alias-text-components": "'{{entityAlias}}' öğe takma adı aşağıdaki bileşen(ler) tarafından kullanıldığı için silinemiyor:
    {{widgetsList}}", + "duplicate-alias-error": "Yinelenen takma ad bulundu '{{alias}}'.
    Panoda öğe takma adları benzersiz olmalıdır.", "missing-entity-filter-error": "'{{alias}}' takma adı için filtre eksik.", "configure-alias": "'{{alias}}' takma adını yapılandır", "alias": "Takma ad", - "alias-required": "Varlık takma adı gereklidir.", - "remove-alias": "Varlık takma adını kaldır", - "add-alias": "Varlık takma adı ekle", - "edit-alias": "Varlık takma adını düzenle", - "entity-list": "Varlık listesi", - "entity-type": "Varlık türü", - "entity-types": "Varlık türleri", - "entity-type-list": "Varlık türü listesi", - "any-entity": "Herhangi bir varlık", - "add-entity-type": "Varlık türü ekle", - "enter-entity-type": "Varlık türü girin", - "no-entities-matching": "'{{entity}}' ile eşleşen varlık bulunamadı.", - "no-entities-text": "Varlık bulunamadı", - "no-entity-types-matching": "'{{entityType}}' ile eşleşen varlık türü bulunamadı.", + "alias-required": "Öğe takma adı gereklidir.", + "remove-alias": "Öğe takma adını kaldır", + "add-alias": "Öğe takma adı ekle", + "edit-alias": "Öğe takma adını düzenle", + "entity-list": "Öğe listesi", + "entity-type": "Öğe türü", + "entity-types": "Öğe türleri", + "entity-type-list": "Öğe türü listesi", + "any-entity": "Herhangi bir öğe", + "add-entity-type": "Öğe türü ekle", + "enter-entity-type": "Öğe türü girin", + "no-entities-matching": "'{{entity}}' ile eşleşen öğe bulunamadı.", + "no-entities-text": "Öğe bulunamadı", + "no-entity-types-matching": "'{{entityType}}' ile eşleşen öğe türü bulunamadı.", "name-starts-with": "İsim ifadesi", "help-text": "'%' işaretini ihtiyaca göre kullanın: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with%'.", "use-entity-name-filter": "Filtre kullan", - "entity-list-empty": "Seçilen varlık yok.", - "entity-type-list-required": "En az bir varlık türü seçilmelidir.", - "entity-name-filter-required": "Varlık adı filtresi gereklidir.", - "entity-name-filter-no-entity-matched": "'{{entity}}' ile başlayan varlık bulunamadı.", + "entity-list-empty": "Seçilen öğe yok.", + "entity-type-list-required": "En az bir öğe türü seçilmelidir.", + "entity-name-filter-required": "Öğe adı filtresi gereklidir.", + "entity-name-filter-no-entity-matched": "'{{entity}}' ile başlayan öğe bulunamadı.", "all-subtypes": "Tümü", - "select-entities": "Varlık seç", - "no-aliases-found": "Takma ad bulunamadı.", + "select-entities": "Öğeleri seç", + "no-aliases-found": "Hiçbir takma ad bulunamadı.", "no-alias-matching": "'{{alias}}' bulunamadı.", "create-new-alias": "Yeni bir tane oluştur!", "create-new": "Yeni oluştur", "key": "Anahtar", "key-name": "Anahtar adı", - "no-keys-found": "Anahtar bulunamadı.", + "no-keys-found": "Hiçbir anahtar bulunamadı.", "no-key-matching": "'{{key}}' bulunamadı.", "create-new-key": "Yeni bir tane oluştur!", "type": "Tür", - "type-required": "Varlık türü gereklidir.", + "type-required": "Öğe türü gereklidir.", "type-device": "Cihaz", "type-devices": "Cihazlar", "list-of-devices": "{ count, plural, =1 {Bir cihaz} other {# cihaz listesi} }", @@ -3615,10 +4393,10 @@ "type-assets": "Varlıklar", "list-of-assets": "{ count, plural, =1 {Bir varlık} other {# varlık listesi} }", "asset-name-starts-with": "'{{prefix}}' ile başlayan varlıklar", - "type-entity-view": "Varlık Görünümü", - "type-entity-views": "Varlık Görünümleri", - "list-of-entity-views": "{ count, plural, =1 {Bir varlık görünümü} other {# varlık görünümü listesi} }", - "entity-view-name-starts-with": "'{{prefix}}' ile başlayan varlık görünümleri", + "type-entity-view": "Öğe görünümü", + "type-entity-views": "Öğe Görünümleri", + "list-of-entity-views": "{ count, plural, =1 {Bir öğe görünümü} other {# öğe görünümü listesi} }", + "entity-view-name-starts-with": "'{{prefix}}' ile başlayan öğe görünümleri", "type-rule": "Kural", "type-rules": "Kurallar", "list-of-rules": "{ count, plural, =1 {Bir kural} other {# kural listesi} }", @@ -3643,10 +4421,10 @@ "type-users": "Kullanıcılar", "list-of-users": "{ count, plural, =1 {Bir kullanıcı} other {# kullanıcı listesi} }", "user-name-starts-with": "'{{prefix}}' ile başlayan kullanıcılar", - "type-dashboard": "Gösterge Paneli", - "type-dashboards": "Gösterge Panelleri", - "list-of-dashboards": "{ count, plural, =1 {Bir gösterge paneli} other {# gösterge paneli listesi} }", - "dashboard-name-starts-with": "'{{prefix}}' ile başlayan gösterge panelleri", + "type-dashboard": "Pano", + "type-dashboards": "Panolar", + "list-of-dashboards": "{ count, plural, =1 {Bir pano} other {# pano listesi} }", + "dashboard-name-starts-with": "'{{prefix}}' ile başlayan panolar", "type-alarm": "Alarm", "type-alarms": "Alarmlar", "list-of-alarms": "{ count, plural, =1 {Bir alarm} other {# alarm listesi} }", @@ -3659,10 +4437,10 @@ "type-scheduler-events": "Zamanlayıcı Olayları", "list-of-scheduler-events": "{ count, plural, =1 {Bir zamanlayıcı olayı} other {# zamanlayıcı olayı listesi} }", "scheduler-event-name-starts-with": "'{{prefix}}' ile başlayan zamanlayıcı olayları", - "type-blob-entity": "Blob varlığı", - "type-blob-entities": "Blob varlıkları", - "list-of-blob-entities": "{ count, plural, =1 {Bir blob varlığı} other {# blob varlık listesi} }", - "blob-entity-name-starts-with": "'{{prefix}}' ile başlayan blob varlıkları", + "type-blob-entity": "Blob öğesi", + "type-blob-entities": "Blob öğeleri", + "list-of-blob-entities": "{ count, plural, =1 {Bir blob öğesi} other {# blob öğesi listesi} }", + "blob-entity-name-starts-with": "'{{prefix}}' ile başlayan blob öğeleri", "type-report-template": "Rapor şablonu", "type-report-templates": "Rapor şablonları", "list-of-report-templates": "{ count, plural, =1 {Bir rapor şablonu} other {# rapor şablonu listesi} }", @@ -3677,32 +4455,33 @@ "rulenode-name-starts-with": "'{{prefix}}' ile başlayan kural düğümleri", "type-api-key": "API anahtarı", "type-api-keys": "API anahtarları", - "type-current-customer": "Mevcut Müşteri", - "type-current-tenant": "Mevcut Kiracı", - "type-current-user": "Mevcut Kullanıcı", - "type-current-user-owner": "Mevcut Kullanıcı Sahibi", + "type-current-customer": "Geçerli müşteri", + "type-current-tenant": "Geçerli kiracı", + "type-current-user": "Geçerli Kullanıcı", + "type-current-user-owner": "Geçerli Kullanıcının Sahibi", "type-calculated-field": "Hesaplanmış alan", "type-calculated-fields": "Hesaplanmış alanlar", "type-admin-settings": "Yönetici ayarları", "type-ai-model": "Yapay zeka modeli", "type-ai-models": "Yapay zeka modelleri", - "type-widgets-bundle": "Bileşen paketi", - "type-widgets-bundles": "Bileşen paketleri", - "list-of-widgets-bundles": "{ count, plural, =1 {Bir bileşen paketi} other {# bileşen paketi listesi} }", - "type-widget": "Bileşen", - "type-widgets": "Bileşenler", - "list-of-widgets": "{ count, plural, =1 {Bir bileşen} other {# bileşen listesi} }", - "search": "Varlıkları ara", - "selected-entities": "{ count, plural, =1 {1 varlık} other {# varlık} } seçildi", - "entity-name": "Varlık adı", - "entity-label": "Varlık etiketi", - "details": "Varlık ayrıntıları", - "no-entities-prompt": "Varlık bulunamadı", + "type-widgets-bundle": "Widget paketi", + "type-widgets-bundles": "Widget paketleri", + "list-of-widgets-bundles": "{ count, plural, =1 {Bir widget paketi} other {# widget paketi listesi} }", + "type-widget": "Widget", + "type-widgets": "Widget'lar", + "list-of-widgets": "{ count, plural, =1 {Bir widget} other {# widget listesi} }", + "search": "Öğeleri ara", + "selected-entities": "{ count, plural, =1 {1 öğe} other {# öğe} } seçildi", + "entity-name": "Öğe adı", + "entity-label": "Öğe etiketi", + "details": "Öğe ayrıntıları", + "no-entities-prompt": "Öğe bulunamadı", "no-data": "Görüntülenecek veri yok", "show-all-columns": "Tümünü Göster", "columns-to-display": "Görüntülenecek sütunlar", "type-api-usage-state": "API Kullanım Durumu", - "type-entity-group": "Varlık Grubu", + "type-entity-group": "Öğe Grubu", + "type-entity-groups": "Öğe grupları", "type-converter": "Veri dönüştürücü", "type-converters": "Veri dönüştürücüler", "list-of-converters": "{ count, plural, =1 {Bir veri dönüştürücü} other {# veri dönüştürücü listesi} }", @@ -3716,13 +4495,35 @@ "list-of-roles": "{ count, plural, =1 {Bir rol} other {# rol listesi} }", "role-name-starts-with": "'{{prefix}}' ile başlayan roller", "type-group-permission": "Grup İzni", - "type-edge": "Uç", - "type-edges": "Uçlar", - "list-of-edges": "{ count, plural, =1 {Bir uç} other {# uç listesi} }", - "edge-name-starts-with": "'{{prefix}}' ile başlayan uçlar", + "type-edge": "Edge", + "type-edges": "Edge'ler", + "list-of-edges": "{ count, plural, =1 {Bir Edge} other {# Edge listesi} }", + "edge-name-starts-with": "'{{prefix}}' ile başlayan Edge'ler", + "type-agent": "Agent", + "type-agents": "Agent'lar", + "list-of-agents": "{ count, plural, =1 {1 Agent} other {# Agent listesi} }", + "agent-name-starts-with": "Adı '{{prefix}}' ile başlayan Agent'lar", + "type-agent-profile": "Agent profili", + "type-agent-profiles": "Agent profilleri", + "list-of-agent-profiles": "{ count, plural, =1 {1 Agent profili} other {# Agent profili listesi} }", + "agent-profile-name-starts-with": "Adı '{{prefix}}' ile başlayan Agent profilleri", + "type-agent-application": "Uygulama", + "type-agent-applications": "Uygulamalar", + "list-of-agent-applications": "{ count, plural, =1 {1 uygulama} other {# uygulama listesi} }", + "agent-application-name-starts-with": "Adı '{{prefix}}' ile başlayan uygulamalar", + "type-agent-app-profile": "Uygulama profili", + "type-agent-app-profiles": "Uygulama profilleri", + "list-of-agent-app-profiles": "{ count, plural, =1 {1 uygulama profili} other {# uygulama profili listesi} }", + "agent-app-profile-name-starts-with": "Adı '{{prefix}}' ile başlayan uygulama profilleri", + "type-agent-app-event": "Agent uygulama olayı", + "type-agent-app-events": "Agent uygulama olayları", + "type-agent-app-unit": "Agent uygulama birimi", + "type-agent-app-units": "Agent uygulama birimleri", + "type-agent-bulk-action": "Toplu işlem", + "type-agent-bulk-actions": "Toplu işlemler", "version-conflict": { "message": "Mevcut sürümü üzerine yazmak mı yoksa değişiklikleri iptal edip en son sürümü yüklemek mi istiyorsunuz?", - "link": "{{entityType}} varlığının kendi sürümünü indirmek için bu bağlantıyı kullanabilirsiniz", + "link": "{{entityType}} için kendi sürümünüzü şu bağlantıdan indirebilirsiniz:", "overwrite": "Sürümün üzerine yaz", "discard": "Değişiklikleri iptal et" }, @@ -3738,7 +4539,7 @@ "type-rpc": "RPC", "type-queue": "Kuyruk", "type-queue-stats": "Kuyruk istatistikleri", - "type-queues-stats": "Kuyruklar istatistikleri", + "type-queues-stats": "Kuyrukların istatistikleri", "type-notification": "Bildirim", "type-notification-rule": "Bildirim kuralı", "type-notification-rules": "Bildirim kuralları", @@ -3755,15 +4556,15 @@ "sub-customer-name": "Alt müşteri adı", "parent-customer-name": "Üst müşteri adı", "parent-sub-customer-name": "Üst alt müşteri adı", - "include-customer-entities": "Müşteri varlıklarını dahil et", - "include-sub-customer-entities": "Alt müşteri varlıklarını dahil et", + "include-customer-entities": "Müşteri öğelerini dahil et", + "include-sub-customer-entities": "Alt müşteri öğelerini dahil et", "groups": "Gruplar", "type-oauth2-client": "OAuth 2.0 istemcisi", "type-oauth2-clients": "OAuth 2.0 istemcileri", "list-of-oauth2-clients": "{ count, plural, =1 {Bir OAuth 2.0 istemcisi} other {# OAuth 2.0 istemcisi listesi} }", - "type-domain": "Alan", - "type-domains": "Alanlar", - "list-of-domains": "{ count, plural, =1 {Bir alan} other {# alan listesi} }", + "type-domain": "Alan adı", + "type-domains": "Alan adları", + "list-of-domains": "{ count, plural, =1 {Bir alan adı} other {# alan adı listesi} }", "type-mobile-app": "Mobil uygulama", "type-mobile-apps": "Mobil uygulamalar", "list-of-mobile-apps": "{ count, plural, =1 {Bir mobil uygulama} other {# mobil uygulama listesi} }", @@ -3771,17 +4572,17 @@ "type-mobile-app-bundles": "Mobil paketler", "list-of-mobile-app-bundles": "{ count, plural, =1 {Bir mobil paket} other {# mobil paket listesi} }", "type-secret-storage": "Gizli depolama", - "limit-reached": "Sınır aşıldı", - "limit-reached-text": "{{ entities }} sınırına ulaştınız. Daha fazla eklemek için lütfen Sistem Yöneticinizden {{ entity }} sınırınızı artırmasını isteyin.", + "limit-reached": "Sınıra ulaşıldı", + "limit-reached-text": "{{ entities }} sınırına ulaştınız. Daha fazla öğe eklemek için lütfen Sistem Yöneticinizden {{ entity }} sınırınızı artırmasını isteyin.", "request-limit-increase": "Sınır artışı talep et", - "request-sysadmin-text": "Sistem Yöneticisi misiniz?", + "request-sysadmin-text": "Sistem yöneticisi misiniz?", "login-here": "Buradan giriş yap", "to-increase-limit": "sınırı artırmak için.", "increase-limit-request-sent-title": "Sistem Yöneticinize sınır artışı için otomatik bir talep gönderdik", - "increase-limit-request-sent-text": "Lütfen talepleri inceleyip ayarları güncellemeleri için biraz zaman verin. Değişiklikleri görmek için bu sayfayı yenileyebilirsiniz." + "increase-limit-request-sent-text": "Lütfen talebi inceleyip ayarları güncellemeleri için biraz zaman tanıyın. Değişiklikleri görmek için bu sayfayı yenilemeniz gerekebilir." }, "entity-group": { - "entity-group": "Varlık grubu", + "entity-group": "Öğe grubu", "details": "Ayrıntılar", "columns": "Sütunlar", "add-column": "Sütun ekle", @@ -3792,30 +4593,30 @@ "default-sort-order-required": "Varsayılan sıralama düzeni gereklidir.", "disable-sorting": "Sıralamayı devre dışı bırak", "hide-in-mobile-view": "Mobil görünümde gizle", - "use-cell-style-function": "Hücre stil fonksiyonunu kullan", + "use-cell-style-function": "Hücre stili fonksiyonunu kullan", "use-cell-content-function": "Hücre içeriği fonksiyonunu kullan", "edit-column": "Sütunu düzenle", "column-details": "Sütun ayrıntıları", "actions": "İşlemler", "settings": "Ayarlar", - "search": "Varlık gruplarında ara", - "delete": "Varlık grubunu sil", + "search": "Öğe gruplarında ara", + "delete": "Öğe grubunu sil", "name": "Ad", "name-required": "Ad gereklidir.", "name-max-length": "Ad 256 karakterden kısa olmalıdır", "description": "Açıklama", - "add": "Varlık grubu ekle", - "open-entity-group": "Varlık grubunu aç", - "add-entity-group-text": "Yeni varlık grubu ekle", - "no-entity-groups-text": "Varlık grubu bulunamadı", - "entity-group-details": "Varlık grubu ayrıntıları", - "selected-entity-groups": "{ count, plural, =1 {1 varlık grubu} other {# varlık grubu} } seçildi", - "delete-entity-groups": "Varlık gruplarını sil", - "delete-entity-group-title": "Varlık grubu '{{entityGroupName}}' silinsin mi?", - "delete-entity-group-text": "Dikkatli olun, onaydan sonra varlık grubu ve ilgili tüm veriler geri alınamaz hale gelecektir.", - "delete-entity-groups-title": "{ count, plural, =1 {1 varlık grubu} other {# varlık grubu} } silinsin mi?", - "delete-entity-groups-action-title": "{ count, plural, =1 {1 varlık grubu} other {# varlık grubu} } sil", - "delete-entity-groups-text": "Dikkatli olun, onaydan sonra seçili tüm varlık grupları ve ilgili veriler geri alınamaz hale gelecektir.", + "add": "Öğe grubu ekle", + "open-entity-group": "Öğe grubunu aç", + "add-entity-group-text": "Yeni öğe grubu ekle", + "no-entity-groups-text": "Öğe grubu bulunamadı", + "entity-group-details": "Öğe grubu ayrıntıları", + "selected-entity-groups": "{ count, plural, =1 {1 öğe grubu} other {# öğe grubu} } seçildi", + "delete-entity-groups": "Öğe gruplarını sil", + "delete-entity-group-title": "'{{entityGroupName}}' öğe grubunu silmek istediğinizden emin misiniz?", + "delete-entity-group-text": "Dikkatli olun, onaydan sonra öğe grubu ve ilgili tüm veriler geri alınamaz hale gelecektir.", + "delete-entity-groups-title": "{ count, plural, =1 {1 öğe grubunu} other {# öğe grubunu} } silmek istediğinizden emin misiniz?", + "delete-entity-groups-action-title": "{ count, plural, =1 {1 öğe grubunu} other {# öğe grubunu} } sil", + "delete-entity-groups-text": "Dikkatli olun, onaydan sonra seçili tüm öğe grupları ve ilgili veriler geri alınamaz hale gelecektir.", "device-groups": "Cihaz grupları", "shared-device-groups": "Paylaşılan cihaz grupları", "asset-groups": "Varlık grupları", @@ -3827,23 +4628,26 @@ "user-group": "Kullanıcı grubu", "user-groups": "Kullanıcı grupları", "customer-group": "Müşteri grubu", - "entity-view-groups": "Varlık görünüm grupları", - "shared-entity-view-groups": "Paylaşılan varlık görünüm grupları", - "entity-view-group": "Varlık görünüm grubu", - "edge-groups": "Uç gruplar", - "shared-edge-groups": "Paylaşılan uç gruplar", - "edge-group": "Uç grubu", - "dashboard-groups": "Kontrol paneli grupları", - "shared-dashboard-groups": "Paylaşılan kontrol paneli grupları", - "dashboard-group": "Kontrol paneli grubu", + "entity-view-groups": "Öğe görünümü grupları", + "shared-entity-view-groups": "Paylaşılan öğe görünümü grupları", + "entity-view-group": "Öğe görünümü grubu", + "edge-groups": "Edge grupları", + "shared-edge-groups": "Paylaşılan Edge grupları", + "edge-group": "Edge grubu", + "dashboard-groups": "Pano grupları", + "shared-dashboard-groups": "Paylaşılan pano grupları", + "dashboard-group": "Pano grubu", + "agent-groups": "Agent grupları", + "shared-agent-groups": "Paylaşılan Agent grupları", + "agent-group": "Agent grubu", "fetch-more": "Daha fazlasını getir", "column-type": { "column-type": "Sütun türü", - "client-attribute": "İstemci özelliği", - "shared-attribute": "Paylaşılan özellik", - "server-attribute": "Sunucu özelliği", + "client-attribute": "İstemci özniteliği", + "shared-attribute": "Paylaşılan öznitelik", + "server-attribute": "Sunucu özniteliği", "timeseries": "Zaman serisi", - "entity-field": "Varlık alanı" + "entity-field": "Öğe alanı" }, "column-type-required": "Sütun türü gereklidir.", "entity-field": { @@ -3857,7 +4661,7 @@ "first_name": "Ad", "last_name": "Soyad", "email": "E-posta", - "title": "Unvan", + "title": "Başlık", "country": "Ülke", "state": "Eyalet", "city": "Şehir", @@ -3873,7 +4677,7 @@ "none": "Yok" }, "details-mode": { - "on-row-click": "Satıra tıklayınca", + "on-row-click": "Satıra tıklanınca", "on-action-button-click": "Ayrıntı butonuna tıklayınca", "disabled": "Devre dışı" }, @@ -3882,30 +4686,30 @@ "no-owners-matching": "'{{owner}}' ile eşleşen sahip bulunamadı.", "no-owners-text": "Sahip bulunamadı", "target-owner-required": "Hedef sahibi gereklidir.", - "confirm-change-owner-title": "{ count, plural, =1 {1 seçili varlık} other {# seçili varlık} } için sahip değiştirilsin mi?", - "confirm-change-owner-text": "Dikkatli olun, onaydan sonra tüm seçili varlıklar mevcut sahipten kaldırılacak ve hedef sahibin 'Tümü' grubuna yerleştirilecektir.", + "confirm-change-owner-title": "{ count, plural, =1 {1 seçili öğe} other {# seçili öğe} } için sahip değiştirilsin mi?", + "confirm-change-owner-text": "Dikkatli olun, onaydan sonra tüm seçili öğeler mevcut sahipten kaldırılacak ve hedef sahibin 'Tümü' grubuna yerleştirilecektir.", "add-to-group": "Gruba ekle", "move-to-group": "Gruba taşı", - "select-entity-group": "Varlık grubu seç", - "no-entity-groups-matching": "'{{entityGroup}}' ile eşleşen varlık grubu bulunamadı.", + "select-entity-group": "Öğe grubu seç", + "no-entity-groups-matching": "'{{entityGroup}}' ile eşleşen öğe grubu bulunamadı.", "create-new-entity-group": "Yeni bir tane oluştur!", - "target-entity-group-required": "Hedef varlık grubu gereklidir.", + "target-entity-group-required": "Hedef öğe grubu gereklidir.", "select-user-group": "Kullanıcı grubu seç", "no-user-groups-matching": "'{{entityGroup}}' ile eşleşen kullanıcı grubu bulunamadı.", "target-user-group-required": "Hedef kullanıcı grubu gereklidir.", "remove-from-group": "Gruptan çıkar", "group-table-title": "Grup tablo başlığı", - "enable-search": "Varlık aramayı etkinleştir", - "enable-add": "Varlık eklemeyi etkinleştir", - "enable-delete": "Varlık silmeyi etkinleştir", - "enable-selection": "Varlık seçimini etkinleştir", + "enable-search": "Öğe aramayı etkinleştir", + "enable-add": "Öğe eklemeyi etkinleştir", + "enable-delete": "Öğe silmeyi etkinleştir", + "enable-selection": "Öğe seçimini etkinleştir", "enable-group-transfer": "Grup aktarım işlemlerini etkinleştir", "display-pagination": "Sayfalama göster", "default-page-size": "Varsayılan sayfa boyutu", "page-step-count": "Adım sayısı", "page-step-increment": "Sayfa adım artışı", - "page-step-count-format-message": "1 ile 100 arasında bir tamsayı olmalıdır.", - "page-step-increment-format-message": "1 veya daha büyük bir tamsayı olmalıdır.", + "page-step-count-format-message": "1 ile 100 arasında bir tam sayı olmalıdır.", + "page-step-increment-format-message": "1 veya daha büyük bir tam sayı olmalıdır.", "enable-assignment-actions": "Atama işlemlerini etkinleştir", "enable-credentials-management": "Kimlik bilgisi yönetimini etkinleştir", "enable-login-as-user": "Kullanıcı olarak giriş yapmayı etkinleştir", @@ -3913,32 +4717,32 @@ "enable-customers-management": "Müşteri yönetimini etkinleştir", "enable-assets-management": "Varlık yönetimini etkinleştir", "enable-devices-management": "Cihaz yönetimini etkinleştir", - "enable-entity-views-management": "Varlık görünüm yönetimini etkinleştir", - "enable-edges-management": "Uç yönetimini etkinleştir", - "enable-dashboards-management": "Gösterge paneli yönetimini etkinleştir", - "enable-scheduler-events-management": "Zamanlayıcı etkinlik yönetimini etkinleştir", - "open-details-on": "Varlık ayrıntılarını şurada aç", - "select-existing": "Mevcut varlık grubunu seç", - "create-new": "Yeni varlık grubu oluştur", - "new-entity-group-name": "Yeni varlık grubu adı", - "entity-group-list": "Varlık grubu listesi", - "entity-group-list-empty": "Varlık grubu seçilmedi.", - "name-starts-with": "Varlık grubu adı şu ile başlar", - "entity-group-name-filter-required": "Varlık grubu adı filtresi gereklidir.", + "enable-entity-views-management": "Öğe görünümü yönetimini etkinleştir", + "enable-edges-management": "Edge yönetimini etkinleştir", + "enable-dashboards-management": "Pano yönetimini etkinleştir", + "enable-scheduler-events-management": "Zamanlayıcı etkinlikleri yönetimini etkinleştir", + "open-details-on": "Öğe ayrıntılarını şurada aç", + "select-existing": "Mevcut öğe grubunu seç", + "create-new": "Yeni öğe grubu oluştur", + "new-entity-group-name": "Yeni öğe grubu adı", + "entity-group-list": "Öğe grubu listesi", + "entity-group-list-empty": "Öğe grubu seçilmedi.", + "name-starts-with": "Öğe grubu adı şu ile başlar", + "entity-group-name-filter-required": "Öğe grubu adı filtresi gereklidir.", "roles": "Roller", "permissions": "İzinler", - "public": "Genel", - "entity-group-public": "Varlık grubu geneldir", - "make-public": "Varlık grubunu genel yap", - "make-private": "Varlık grubunu özel yap", - "make-public-entity-group-title": "'{{entityGroupName}}' varlık grubu genel yapılsın mı?", - "make-public-entity-group-text": "Onaydan sonra varlık grubu ve tüm varlıkları genel hale gelecek ve herkes tarafından erişilebilir olacaktır.", - "make-private-entity-group-title": "'{{entityGroupName}}' varlık grubu özel yapılsın mı?", - "make-private-entity-group-text": "Onaydan sonra varlık grubu ve tüm varlıkları özel hale gelecek ve başkaları tarafından erişilemeyecek.", - "share": "Varlık grubunu paylaş", - "copyId": "Varlık grubu kimliğini kopyala", - "idCopiedMessage": "Varlık grubu kimliği panoya kopyalandı", - "entity-group-name": "Varlık grubu adı", + "public": "Herkese açık", + "entity-group-public": "Öğe grubu herkese açıktır", + "make-public": "Öğe grubunu herkese açık yap", + "make-private": "Öğe grubunu özel yap", + "make-public-entity-group-title": "'{{entityGroupName}}' öğe grubunu herkese açık yapmak istediğinizden emin misiniz?", + "make-public-entity-group-text": "Onaydan sonra öğe grubu ve tüm öğeleri herkese açık hale gelecek ve herkes tarafından erişilebilir olacaktır.", + "make-private-entity-group-title": "'{{entityGroupName}}' öğe grubunu özel yapmak istediğinizden emin misiniz?", + "make-private-entity-group-text": "Onaydan sonra öğe grubu ve tüm öğeleri özel hale gelecek ve başkaları tarafından erişilemeyecek.", + "share": "Öğe grubunu paylaş", + "copyId": "Öğe grubu kimliğini kopyala", + "idCopiedMessage": "Öğe grubu kimliği panoya kopyalandı", + "entity-group-name": "Öğe grubu adı", "all-users": "Tüm kullanıcılar", "owner": "Sahip", "owner-required": "Sahip gereklidir.", @@ -3974,124 +4778,124 @@ }, "entity-view": { "all": "Tümü", - "all-entity-views": "Tüm varlık görünümleri", + "all-entity-views": "Tüm öğe görünümleri", "groups": "Gruplar", "shared": "Paylaşılan", - "entity-view": "Varlık görünümü", - "entity-view-required": "Varlık görünümü gereklidir.", - "entity-views": "Varlık görünümleri", - "management": "Varlık Görünümü yönetimi", - "view-entity-views": "Varlık Görünümlerini Görüntüle", - "entity-view-alias": "Varlık Görünümü takma adı", - "aliases": "Varlık Görünümü takma adları", + "entity-view": "Öğe görünümü", + "entity-view-required": "Öğe görünümü gereklidir.", + "entity-views": "Öğe görünümleri", + "management": "Öğe Görünümü yönetimi", + "view-entity-views": "Öğe Görünümlerini Görüntüle", + "entity-view-alias": "Öğe görünümü takma adı", + "aliases": "Öğe Görünümü takma adları", "no-alias-matching": "'{{alias}}' bulunamadı.", "no-aliases-found": "Hiçbir takma ad bulunamadı.", "no-key-matching": "'{{key}}' bulunamadı.", "no-keys-found": "Hiçbir anahtar bulunamadı.", "create-new-alias": "Yeni bir tane oluştur!", "create-new-key": "Yeni bir tane oluştur!", - "duplicate-alias-error": "Yinelenen takma ad bulundu '{{alias}}'.
    Varlık Görünümü takma adları gösterge paneli içinde benzersiz olmalıdır.", + "duplicate-alias-error": "Yinelenen takma ad bulundu '{{alias}}'.
    Öğe görünümü takma adları pano içinde benzersiz olmalıdır.", "configure-alias": "'{{alias}}' takma adını yapılandır", - "no-entity-views-matching": "'{{entity}}' ile eşleşen hiçbir varlık görünümü bulunamadı.", - "public": "Genel", + "no-entity-views-matching": "'{{entity}}' ile eşleşen hiçbir öğe görünümü bulunamadı.", + "public": "Herkese açık", "alias": "Takma ad", - "alias-required": "Varlık Görünümü takma adı gereklidir.", - "remove-alias": "Varlık görünümü takma adını kaldır", - "add-alias": "Varlık görünümü takma adı ekle", - "name-starts-with": "Varlık Görünümü ad ifadesi", - "help-text": "'%' işaretini ihtiyaca göre kullanın: '%entity-view_name_contains%', '%entity-view_name_ends', 'entity-view_starts_with%'.", - "entity-view-list": "Varlık Görünümü listesi", + "alias-required": "Öğe Görünümü takma adı gereklidir.", + "remove-alias": "Öğe görünümü takma adını kaldır", + "add-alias": "Öğe görünümü takma adı ekle", + "name-starts-with": "Öğe Görünümü ad ifadesi", + "help-text": "Öğe adlarında '%' işaretini ihtiyaca göre kullanın: '%entity-view_name_contains%', '%entity-view_name_ends', 'entity-view_starts_with%'.", + "entity-view-list": "Öğe görünümü listesi", "use-entity-view-name-filter": "Filtre kullan", - "entity-view-list-empty": "Seçili varlık görünümü yok.", - "entity-view-name-filter-required": "Varlık görünümü adı filtresi gereklidir.", - "entity-view-name-filter-no-entity-view-matched": "'{{entityView}}' ile başlayan varlık görünümü bulunamadı.", - "add": "Varlık görünümü ekle", - "entity-view-public": "Varlık görünümü herkese açıktır", + "entity-view-list-empty": "Seçili öğe görünümü yok.", + "entity-view-name-filter-required": "Öğe görünümü adı filtresi gereklidir.", + "entity-view-name-filter-no-entity-view-matched": "'{{entityView}}' ile başlayan öğe görünümü bulunamadı.", + "add": "Öğe görünümü ekle", + "entity-view-public": "Öğe görünümü herkese açıktır", "assign-to-customer": "Müşteriye ata", - "assign-entity-view-to-customer": "Varlık Görünümü(leri)ni Müşteriye Ata", - "assign-entity-view-to-customer-text": "Lütfen müşteriye atanacak varlık görünümlerini seçin", - "no-entity-views-text": "Hiçbir varlık görünümü bulunamadı", - "assign-to-customer-text": "Lütfen varlık görünümü(lerini) atamak için müşteri seçin", - "entity-view-details": "Varlık görünümü detayları", - "add-entity-view-text": "Yeni varlık görünümü ekle", - "delete": "Varlık görünümünü sil", - "assign-entity-views": "Varlık görünümlerini ata", - "assign-entity-views-text": "{ count, plural, =1 {1 varlık görünümü} other {# varlık görünümleri} } müşteriye ata", - "delete-entity-views": "Varlık görünümlerini sil", - "make-public": "Varlık görünümünü herkese açık yap", - "make-private": "Varlık görünümünü özel yap", - "unassign-from-customer": "Müşteriden kaldır", - "unassign-entity-views": "Varlık görünümlerini kaldır", - "unassign-entity-views-action-title": "{ count, plural, =1 {1 varlık görünümünü} other {# varlık görünümünü} } müşteriden kaldır", - "assign-new-entity-view": "Yeni varlık görünümü ata", - "delete-entity-view-title": "Varlık görünümünü '{{entityViewName}}' silmek istediğinizden emin misiniz?", - "delete-entity-view-text": "Dikkatli olun, onaydan sonra varlık görünümü ve tüm ilişkili veriler geri alınamaz hale gelecektir.", - "delete-entity-views-title": "{ count, plural, =1 {1 varlık görünümünü} other {# varlık görünümünü} } silmek istediğinizden emin misiniz?", - "delete-entity-views-action-title": "{ count, plural, =1 {1 varlık görünümünü} other {# varlık görünümünü} } sil", - "delete-entity-views-text": "Dikkatli olun, onaydan sonra seçili tüm varlık görünümleri ve ilişkili tüm veriler geri alınamaz hale gelecektir.", - "make-public-entity-view-title": "Varlık görünümünü '{{entityViewName}}' herkese açık yapmak istediğinizden emin misiniz?", - "make-public-entity-view-text": "Onaydan sonra varlık görünümü ve tüm verileri herkese açık olacak ve başkaları tarafından erişilebilir hale gelecektir.", - "make-private-entity-view-title": "Varlık görünümünü '{{entityViewName}}' özel yapmak istediğinizden emin misiniz?", - "make-private-entity-view-text": "Onaydan sonra varlık görünümü ve tüm verileri özel olacak ve başkaları tarafından erişilemeyecektir.", - "unassign-entity-view-title": "Varlık görünümünü '{{entityViewName}}' kaldırmak istediğinizden emin misiniz?", - "unassign-entity-view-text": "Onaydan sonra varlık görünümü müşteriyle ilişkilendirilmemiş olacak ve müşteri tarafından erişilemeyecektir.", - "unassign-entity-view": "Varlık görünümünü kaldır", - "unassign-entity-views-title": "{ count, plural, =1 {1 varlık görünümünü} other {# varlık görünümünü} } kaldırmak istediğinizden emin misiniz?", - "unassign-entity-views-text": "Onaydan sonra seçilen tüm varlık görünümleri kaldırılacak ve müşteri tarafından erişilemeyecektir.", - "entity-view-type": "Varlık görünüm tipi", - "entity-view-type-required": "Varlık görünüm tipi gereklidir.", - "select-entity-view-type": "Varlık görünüm türünü seçin", - "enter-entity-view-type": "Varlık görünüm türünü girin", - "any-entity-view": "Herhangi bir varlık görünümü", - "no-entity-view-types-matching": "'{{entitySubtype}}' ile eşleşen varlık görünüm türü bulunamadı.", - "entity-view-type-list-empty": "Seçili varlık görünüm türü yok.", - "entity-view-types": "Varlık görünüm türleri", + "assign-entity-view-to-customer": "Öğe Görünümü(leri)ni Müşteriye Ata", + "assign-entity-view-to-customer-text": "Lütfen müşteriye atanacak öğe görünümlerini seçin", + "no-entity-views-text": "Hiçbir öğe görünümü bulunamadı", + "assign-to-customer-text": "Lütfen öğe görünüm(ler)ini atamak için müşteri seçin", + "entity-view-details": "Öğe görünümü ayrıntıları", + "add-entity-view-text": "Yeni öğe görünümü ekle", + "delete": "Öğe görünümünü sil", + "assign-entity-views": "Öğe görünümlerini ata", + "assign-entity-views-text": "{ count, plural, =1 {1 öğe görünümünü} other {# öğe görünümünü} } müşteriye ata", + "delete-entity-views": "Öğe görünümlerini sil", + "make-public": "Öğe görünümünü herkese açık yap", + "make-private": "Öğe görünümünü özel yap", + "unassign-from-customer": "Müşteriden atamayı kaldır", + "unassign-entity-views": "Öğe görünümlerinin atamasını kaldır", + "unassign-entity-views-action-title": "{ count, plural, =1 {1 öğe görünümünün} other {# öğe görünümünün} } müşteriden atamasını kaldır", + "assign-new-entity-view": "Yeni öğe görünümü ata", + "delete-entity-view-title": "'{{entityViewName}}' öğe görünümünü silmek istediğinizden emin misiniz?", + "delete-entity-view-text": "Dikkatli olun, onaydan sonra öğe görünümü ve tüm ilişkili veriler geri alınamaz hale gelecektir.", + "delete-entity-views-title": "{ count, plural, =1 {1 öğe görünümünü} other {# öğe görünümünü} } silmek istediğinizden emin misiniz?", + "delete-entity-views-action-title": "{ count, plural, =1 {1 öğe görünümünü} other {# öğe görünümünü} } sil", + "delete-entity-views-text": "Dikkatli olun, onaydan sonra seçili tüm öğe görünümleri ve ilişkili tüm veriler geri alınamaz hale gelecektir.", + "make-public-entity-view-title": "'{{entityViewName}}' öğe görünümünü herkese açık yapmak istediğinizden emin misiniz?", + "make-public-entity-view-text": "Onaydan sonra öğe görünümü ve tüm verileri herkese açık olacak ve başkaları tarafından erişilebilir hale gelecektir.", + "make-private-entity-view-title": "'{{entityViewName}}' öğe görünümünü özel yapmak istediğinizden emin misiniz?", + "make-private-entity-view-text": "Onaydan sonra öğe görünümü ve tüm verileri özel olacak ve başkaları tarafından erişilemeyecektir.", + "unassign-entity-view-title": "'{{entityViewName}}' öğe görünümünün atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-entity-view-text": "Onaydan sonra öğe görünümünün ataması kaldırılacak ve müşteri tarafından erişilemeyecek.", + "unassign-entity-view": "Öğe görünümünün atamasını kaldır", + "unassign-entity-views-title": "{ count, plural, =1 {1 öğe görünümünün} other {# öğe görünümünün} } atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-entity-views-text": "Onaydan sonra seçilen tüm öğe görünümlerinin ataması kaldırılacak ve müşteri tarafından erişilemeyecek.", + "entity-view-type": "Öğe görünümü türü", + "entity-view-type-required": "Öğe görünümü türü gereklidir.", + "select-entity-view-type": "Öğe görünümü türünü seçin", + "enter-entity-view-type": "Öğe görünümü türünü girin", + "any-entity-view": "Herhangi bir öğe görünümü", + "no-entity-view-types-matching": "'{{entitySubtype}}' ile eşleşen öğe görünümü türü bulunamadı.", + "entity-view-type-list-empty": "Seçili öğe görünümü türü yok.", + "entity-view-types": "Öğe görünümü türleri", "created-time": "Oluşturulma zamanı", "name": "Ad", "name-required": "Ad gereklidir.", "name-max-length": "Ad 256 karakterden kısa olmalıdır", - "type-max-length": "Varlık görünüm türü 256 karakterden kısa olmalıdır", + "type-max-length": "Öğe görünümü türü 256 karakterden kısa olmalıdır", "description": "Açıklama", "events": "Olaylar", - "details": "Detaylar", - "copyId": "Varlık görünüm Kimliğini kopyala", - "idCopiedMessage": "Varlık görünüm Kimliği panoya kopyalandı", + "details": "Ayrıntılar", + "copyId": "Öğe görünümü Kimliğini kopyala", + "idCopiedMessage": "Öğe görünümü Kimliği panoya kopyalandı", "assignedToCustomer": "Müşteriye atanmış", - "unable-entity-view-device-alias-title": "Varlık görünüm takma adı silinemiyor", - "unable-entity-view-device-alias-text": "Aygıt takma adı '{{entityViewAlias}}' aşağıdaki bileşen(ler) tarafından kullanıldığı için silinemez:
    {{widgetsList}}", - "select-entity-view": "Varlık görünümünü seçin", + "unable-entity-view-device-alias-title": "Öğe görünümü takma adı silinemiyor", + "unable-entity-view-device-alias-text": "'{{entityViewAlias}}' cihaz takma adı aşağıdaki widget(lar) tarafından kullanıldığı için silinemez:
    {{widgetsList}}", + "select-entity-view": "Öğe görünümünü seçin", "start-ts": "Başlangıç zamanı", "end-ts": "Bitiş zamanı", "date-limits": "Tarih sınırları", - "client-attributes": "İstemci özellikleri", - "shared-attributes": "Paylaşılan özellikler", - "server-attributes": "Sunucu özellikleri", + "client-attributes": "İstemci öznitelikleri", + "shared-attributes": "Paylaşılan öznitelikler", + "server-attributes": "Sunucu öznitelikleri", "timeseries": "Zaman serisi", - "client-attributes-placeholder": "İstemci özellikleri", - "shared-attributes-placeholder": "Paylaşılan özellikler", - "server-attributes-placeholder": "Sunucu özellikleri", + "client-attributes-placeholder": "İstemci öznitelikleri", + "shared-attributes-placeholder": "Paylaşılan öznitelikler", + "server-attributes-placeholder": "Sunucu öznitelikleri", "timeseries-placeholder": "Zaman serisi", - "target-entity": "Hedef varlık", - "attributes-propagation": "Özellik yayılımı", - "attributes-propagation-hint": "Varlık görünümü, bu varlık görünümünü her kaydettiğinizde veya güncellediğinizde, hedef varlıktan belirtilen özellikleri otomatik olarak kopyalar. Performans nedenleriyle, hedef varlık özellikleri her değiştiğinde görünümde otomatik olarak güncellenmez. Otomatik yayılımı etkinleştirmek için kural zincirinizde 'copy to view' kural düğümünü yapılandırıp, 'Post attributes' ve 'Attributes Updated' mesajlarını bu düğüme yönlendirin.", + "target-entity": "Hedef öğe", + "attributes-propagation": "Öznitelik yayılımı", + "attributes-propagation-hint": "Öğe görünümü, bu öğe görünümünü her kaydettiğinizde veya güncellediğinizde, hedef öğeden belirtilen öznitelikleri otomatik olarak kopyalar. Performans nedenleriyle, hedef öğe öznitelikleri her değiştiğinde görünümde otomatik olarak güncellenmez. Otomatik yayılımı etkinleştirmek için kural zincirinizde 'copy to view' kural düğümünü yapılandırıp, 'Post attributes' ve 'Attributes Updated' mesajlarını bu düğüme yönlendirin.", "timeseries-data": "Zaman serisi verisi", - "timeseries-data-hint": "Varlık görünümünde erişilebilir olacak hedef varlığın zaman serisi veri anahtarlarını yapılandırın. Bu zaman serisi verisi yalnızca okunabilir durumdadır.", - "select-group-to-add": "Seçilen varlık görünümlerini eklemek için hedef grubu seçin", - "select-group-to-move": "Seçilen varlık görünümlerini taşımak için hedef grubu seçin", - "remove-entity-views-from-group": "{ count, plural, =1 {1 varlık görünümünü} other {# varlık görünümünü} } '{{entityGroup}}' grubundan kaldırmak istediğinizden emin misiniz?", - "group": "Varlık görünümleri grubu", - "list-of-groups": "{ count, plural, =1 {Bir varlık görünümü grubu} other {# varlık görünümü grubu listesi} }", - "group-name-starts-with": "'{{prefix}}' ile başlayan varlık görünümü grupları", - "search": "Varlık görünümlerinde ara", - "selected-entity-views": "{ count, plural, =1 {1 varlık görünümü} other {# varlık görünümü} } seçildi", - "assign-entity-view-to-edge": "Varlık görünüm(lerini) Uç Cihaza Ata", - "assign-entity-view-to-edge-text": "Uç cihaza atamak için varlık görünümlerini seçin", - "unassign-entity-view-from-edge-title": "'{{entityViewName}}' varlık görünümünün uç cihazdan bağlantısını kaldırmak istediğinizden emin misiniz?", - "unassign-entity-view-from-edge-text": "Onaydan sonra, varlık görünümünün uç cihaza erişimi kaldırılacak.", - "unassign-entity-views-from-edge-action-title": "{ count, plural, =1 {1 varlık görünümünü} other {# varlık görünümünü} } uç cihazdan kaldır", - "unassign-entity-view-from-edge": "Varlık görünümünün bağlantısını kaldır", - "unassign-entity-views-from-edge-title": "{ count, plural, =1 {1 varlık görünümünün} other {# varlık görünümünün} } bağlantısını kaldırmak istediğinizden emin misiniz?", - "unassign-entity-views-from-edge-text": "Onaydan sonra tüm seçili varlık görünümlerinin uç cihaz bağlantıları kaldırılacak ve erişilemeyecekler." + "timeseries-data-hint": "Öğe görünümünde erişilebilir olacak hedef öğenin zaman serisi veri anahtarlarını yapılandırın. Bu zaman serisi verisi yalnızca okunabilir durumdadır.", + "select-group-to-add": "Seçilen öğe görünümlerini eklemek için hedef grubu seçin", + "select-group-to-move": "Seçilen öğe görünümlerini taşımak için hedef grubu seçin", + "remove-entity-views-from-group": "{ count, plural, =1 {1 öğe görünümünü} other {# öğe görünümünü} } '{{entityGroup}}' grubundan kaldırmak istediğinizden emin misiniz?", + "group": "Öğe görünümleri grubu", + "list-of-groups": "{ count, plural, =1 {Bir öğe görünümü grubu} other {# öğe görünümü grubu listesi} }", + "group-name-starts-with": "'{{prefix}}' ile başlayan öğe görünümü grupları", + "search": "Öğe görünümlerinde ara", + "selected-entity-views": "{ count, plural, =1 {1 öğe görünümü} other {# öğe görünümü} } seçildi", + "assign-entity-view-to-edge": "Öğe görünümlerini Edge'e ata", + "assign-entity-view-to-edge-text": "Edge'e atanacak öğe görünümlerini seçin", + "unassign-entity-view-from-edge-title": "'{{entityViewName}}' öğe görünümünün Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-entity-view-from-edge-text": "Onaydan sonra öğe görünümünün Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "unassign-entity-views-from-edge-action-title": "{ count, plural, =1 {1 öğe görünümünün} other {# öğe görünümünün} } Edge atamasını kaldır", + "unassign-entity-view-from-edge": "Öğe görünümünün atamasını kaldır", + "unassign-entity-views-from-edge-title": "{ count, plural, =1 {1 öğe görünümünün} other {# öğe görünümünün} } Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-entity-views-from-edge-text": "Onaydan sonra seçilen tüm öğe görünümlerinin Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek." }, "event": { "events": "Olaylar", @@ -4108,8 +4912,9 @@ "type-debug-calculated-field": "Hata ayıklama", "arguments": "Argümanlar", "result": "Sonuç", - "no-events-prompt": "Hiç olay bulunamadı", + "no-events-prompt": "Olay bulunamadı", "error": "Hata", + "errors": "Hatalar", "alarm": "Alarm", "event-time": "Olay zamanı", "server": "Sunucu", @@ -4120,7 +4925,7 @@ "out": "Çıkış", "metadata": "Meta veriler", "message": "Mesaj", - "entity": "Varlık", + "entity": "Öğe", "message-id": "Mesaj Kimliği", "copy-message-id": "Mesaj Kimliğini kopyala", "message-type": "Mesaj Türü", @@ -4130,19 +4935,21 @@ "event": "Olay", "status": "Durum", "success": "Başarılı", + "warning": "Uyarı", + "warnings": "Uyarılar", "failed": "Başarısız", "messages-processed": "İşlenen mesajlar", "max-messages-processed": "Maksimum işlenen mesaj", "min-messages-processed": "Minimum işlenen mesaj", - "errors-occurred": "Hatalar oluştu", + "errors-occurred": "Oluşan hatalar", "max-errors-occurred": "Maksimum hata", "min-errors-occurred": "Minimum hata", - "min-value": "Minimum değer 0'dır.", + "min-value": "Minimum değer 0 olmalıdır.", "all-events": "Tümü", "has-error": "Hata var", - "entity-id": "Varlık Kimliği", - "copy-entity-id": "Varlık Kimliğini kopyala", - "entity-type": "Varlık türü", + "entity-id": "Öğe Kimliği", + "copy-entity-id": "Öğe Kimliğini kopyala", + "entity-type": "Öğe türü", "clear-filter": "Filtreyi Temizle", "clear-request-title": "Tüm olayları temizle", "clear-request-text": "Tüm olayları temizlemek istediğinizden emin misiniz?", @@ -4160,14 +4967,14 @@ "extension-id": "Uzantı kimliği", "extension-type": "Uzantı türü", "transformer-json": "JSON *", - "unique-id-required": "Geçerli uzantı kimliği zaten mevcut.", + "unique-id-required": "Bu uzantı kimliği zaten mevcut.", "delete": "Uzantıyı sil", "add": "Uzantı ekle", "edit": "Uzantıyı düzenle", "view": "Uzantıyı görüntüle", - "delete-extension-title": "Uzantı '{{extensionId}}' silinsin mi?", + "delete-extension-title": "'{{extensionId}}' uzantısını silmek istediğinizden emin misiniz?", "delete-extension-text": "Dikkatli olun, onaydan sonra uzantı ve tüm ilgili veriler geri alınamaz hale gelecektir.", - "delete-extensions-title": "{ count, plural, =1 {1 uzantı} other {# uzantı} } silinsin mi?", + "delete-extensions-title": "{ count, plural, =1 {1 uzantıyı} other {# uzantıyı} } silmek istediğinizden emin misiniz?", "delete-extensions-text": "Dikkatli olun, onaydan sonra seçilen tüm uzantılar kaldırılacaktır.", "converters": "Dönüştürücüler", "converter-id": "Dönüştürücü kimliği", @@ -4180,7 +4987,7 @@ "device-type-expression": "Cihaz türü ifadesi", "custom": "Özel", "to-double": "Double'a dönüştür", - "transformer": "Dönüştürücü", + "transformer": "Dönüştürme fonksiyonu", "json-required": "Dönüştürücü JSON gereklidir.", "json-parse": "Dönüştürücü JSON ayrıştırılamıyor.", "attributes": "Öznitelikler", @@ -4197,9 +5004,9 @@ "ssl": "SSL", "credentials": "Kimlik bilgileri", "username": "Kullanıcı adı", - "password": "Şifre", + "password": "Parola", "retry-interval": "Yeniden deneme aralığı (ms)", - "sas": "Paylaşılan Erişim İmzası (SAS)", + "sas": "Shared Access Signature (SAS)", "anonymous": "Anonim", "basic": "Temel", "pem": "PEM", @@ -4225,7 +5032,7 @@ "response-topic-expression": "Yanıt konu ifadesi", "value-expression": "Değer ifadesi", "topic": "Konu", - "timeout": "Zaman aşımı (milisaniye cinsinden)", + "timeout": "Zaman aşımı (milisaniye)", "converter-json-required": "Dönüştürücü JSON gereklidir.", "converter-json-parse": "Dönüştürücü JSON ayrıştırılamıyor.", "filter-expression": "Filtre ifadesi", @@ -4252,7 +5059,7 @@ "opc-add-server-prompt": "Lütfen sunucu ekleyin", "opc-application-name": "Uygulama adı", "opc-application-uri": "Uygulama URI'si", - "opc-scan-period-in-seconds": "Taramasüresi (saniye)", + "opc-scan-period-in-seconds": "Tarama süresi (saniye)", "opc-security": "Güvenlik", "opc-identity": "Kimlik", "opc-keystore": "Anahtar deposu", @@ -4287,7 +5094,7 @@ "modbus-poll-period-range": "Sorgu periyodu pozitif bir değer olmalıdır.", "modbus-tag": "Etiket", "modbus-function": "Fonksiyon", - "modbus-register-address": "Kayıt adresi", + "modbus-register-address": "Yazmaç adresi", "modbus-register-address-range": "Kayıt adresi 0 ile 65535 arasında olmalıdır.", "modbus-register-bit-index": "Bit indeksi", "modbus-register-bit-index-range": "Bit indeksi 0 ile 15 arasında olmalıdır.", @@ -4332,7 +5139,7 @@ "editable": "Düzenlenebilir", "editable-hint": "Kullanıcının panolarda filtre değerini değiştirmesine izin ver.", "no-filters-found": "Hiç filtre bulunamadı.", - "no-filter-text": "Herhangi bir filtre belirtilmedi", + "no-filter-text": "Filtre belirtilmedi", "add-filter-prompt": "Lütfen bir filtre ekleyin", "no-filter-matching": "'{{filter}}' bulunamadı.", "create-new-filter": "Yeni bir tane oluştur!", @@ -4355,7 +5162,7 @@ "in": "içinde", "not-in": "içinde değil" }, - "ignore-case": "büyük/küçük harf yok say", + "ignore-case": "büyük/küçük harfi yok say", "value": "Değer", "remove-filter": "Filtreyi kaldır", "duplicate-filter-action": "Filtreyi kopyala", @@ -4375,13 +5182,14 @@ "order-priority": "Görüntüleme sırası", "key-filter": "Anahtar filtresi", "key-filters": "Anahtar filtreleri", + "or-conditions-disabled": "Anahtar filtreleri arasındaki VEYA koşulları sistem yöneticisi tarafından devre dışı bırakılmıştır.", "key-name": "Anahtar adı", "key-name-required": "Anahtar adı gereklidir.", "key-type": { "key-type": "Anahtar türü", "attribute": "Öznitelik", "timeseries": "Zaman serisi", - "entity-field": "Varlık alanı", + "entity-field": "Öğe alanı", "constant": "Sabit", "client-attribute": "İstemci özniteliği", "server-attribute": "Sunucu özniteliği", @@ -4412,11 +5220,11 @@ "dynamic-source-type": "Dinamik kaynak türü", "dynamic-value": "Dinamik değer", "no-dynamic-value": "Dinamik değer yok", - "source-attribute": "Kaynak öznitelik", + "source-attribute": "Kaynak özniteliği", "switch-to-dynamic-value": "Dinamik değere geç", "switch-to-default-value": "Varsayılan değere geç", "inherit-owner": "Sahipten devral", - "source-attribute-not-set": "Kaynak öznitelik ayarlanmazsa", + "source-attribute-not-set": "Kaynak özniteliği ayarlanmazsa", "unit": "Birim" }, "fullscreen": { @@ -4429,14 +5237,43 @@ "function": "Fonksiyon" }, "gateway": { - "gateway-name": "Ağ geçidi adı", - "gateway-name-required": "Ağ geçidi adı gereklidir.", - "gateways": "Ağ geçitleri", - "create-new-gateway": "Yeni ağ geçidi oluştur", - "create-new-gateway-text": "‘{{gatewayName}}’ adında yeni bir ağ geçidi oluşturmak istediğinizden emin misiniz?", + "gateway-name": "Gateway adı", + "gateway-name-required": "Gateway adı gereklidir.", + "gateways": "Gateway'ler", + "create-new-gateway": "Yeni Gateway oluştur", + "create-new-gateway-text": "‘{{gatewayName}}’ adında yeni bir Gateway oluşturmak istediğinizden emin misiniz?", "launch-command": "Başlatma komutu", - "no-gateway-found": "Hiç ağ geçidi bulunamadı.", - "no-gateway-matching": "'{{item}}' bulunamadı." + "launch-choose-subtitle": "Seçilen cihazın kimlik bilgileriyle {{name}} için IoT Gateway'in nasıl çalıştırılacağını seçin.", + "launch-recommended": "Önerilen", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "Buluttan uzaktan kurun, yükseltin, yeniden başlatın ve izleyin — SSH veya manuel komut gerekmez.", + "launch-agent-point-install": "Tek tıkla uzaktan kurulum", + "launch-agent-point-upgrade": "Yükseltmeleri buluttan gönderin", + "launch-agent-point-restart": "Otomatik yeniden başlatma ve kurtarma", + "launch-agent-point-monitor": "Canlı sağlık izleme", + "launch-agent-point-bulk": "Agent profili sayfasından toplu işlemler", + "launch-agent-action": "Agent ile dağıt", + "launch-docker-title": "Manuel Docker Compose", + "launch-docker-desc": "Compose dosyasını indirin ve hedef makinede kendiniz çalıştırın.", + "launch-docker-point-up": "docker compose up komutunu çalıştırın", + "launch-docker-point-control": "Tam manuel kontrol", + "launch-docker-point-updates": "Güncellemeleri siz yönetirsiniz", + "launch-docker-point-access": "Doğrudan cihaz erişimi", + "launch-docker-action": "Talimatları göster", + "launch-back": "Geri", + "no-gateway-found": "Hiç Gateway bulunamadı.", + "no-gateway-matching": "'{{item}}' bulunamadı.", + "auto-provision": "Otomatik sağlama", + "add-gateway": "Gateway ekle", + "auto-provision-title": "Gateway'i otomatik sağla", + "auto-provision-info-title": "Nasıl çalışır", + "auto-provision-info-body": "Bir Agent profili oluşturulduğunda bir Docker run komutu üretilir. Komut bir hedef makinede çalıştırıldığında ThingsBoard, komuta gömülü kimlik bilgilerini kullanarak Agent'ı ve ona bağlı Gateway cihazını otomatik olarak oluşturur. Gateway, Agent profiline atanmış uygulama profiline göre otomatik olarak yapılandırılır. Manuel olarak Gateway oluşturmanız gerekmez.", + "auto-provision-step-select": "Agent profili", + "auto-provision-step-script": "Sağlama betiği", + "auto-provision-valid": "Sağlamaya hazır — '{{profile}}' profiline bir GATEWAY uygulama profili atanmış.", + "auto-provision-invalid-no-edge-app-profile": "Bu profile atanmış bir GATEWAY uygulama profili yok. Atamak için düğmeyi kullanın.", + "auto-provision-success-message": "Agent profili hazır. Yeni bir Gateway sağlamak için komutu herhangi bir hedef makinede çalıştırın.", + "auto-provision-script-hint": "Bu komutu Gateway olacak her makinede çalıştırın. Her çalıştırma bir Agent + Gateway çifti sağlar." }, "grid": { "delete-item-title": "Bu öğeyi silmek istediğinizden emin misiniz?", @@ -4445,8 +5282,8 @@ "delete-items-action-title": "{ count, plural, =1 {1 öğeyi} other {# öğeyi} } sil", "delete-items-text": "Dikkatli olun, onaydan sonra seçilen tüm öğeler ve ilgili veriler geri alınamaz şekilde silinecektir.", "add-item-text": "Yeni öğe ekle", - "no-items-text": "Hiç öğe bulunamadı", - "item-details": "Öğe detayları", + "no-items-text": "Öğe bulunamadı", + "item-details": "Öğe ayrıntıları", "delete-item": "Öğeyi sil", "delete-items": "Öğeleri sil", "scroll-to-top": "Yukarı kaydır" @@ -4461,13 +5298,17 @@ "logout": "Çıkış yap", "menu": "Menü", "avatar": "Avatar", - "open-user-menu": "Kullanıcı menüsünü aç" + "open-user-menu": "Kullanıcı menüsünü aç", + "go-to": "Şuraya git...", + "crumbs-more": "Eşleşen bölümlerde +{{more}} sonuç daha", + "no-matches": "Eşleşme yok" }, "file-input": { - "browse-file": "Dosya gözat", + "browse-file": "Dosyaya göz at", "browse-files": "Dosyalara gözat" }, "image": { + "images": "Görseller", "gallery": "Görsel galerisi", "search": "Görsel ara", "selected-images": "{ count, plural, =1 {1 görsel} other {# görsel} } seçildi", @@ -4482,7 +5323,7 @@ "import-image": "Görseli JSON'dan içe aktar", "upload-image": "Görsel yükle", "edit-image": "Görseli düzenle", - "image-details": "Görsel detayları", + "image-details": "Görsel ayrıntıları", "no-images": "Görsel bulunamadı", "delete-image": "Görseli sil", "delete-image-title": "‘{{imageTitle}}’ adlı görseli silmek istediğinizden emin misiniz?", @@ -4496,13 +5337,13 @@ "export-failed-error": "Görsel dışa aktarılamadı: {{error}}", "image-json-file": "Görsel JSON dosyası", "invalid-image-json-file-error": "Görsel JSON'dan içe aktarılamadı: Geçersiz görsel JSON veri yapısı.", - "image-is-in-use": "Görsel başka varlıklar tarafından kullanılıyor", - "images-are-in-use": "Görseller başka varlıklar tarafından kullanılıyor", - "image-is-in-use-text": "‘{{title}}’ görseli aşağıdaki varlıklar tarafından kullanıldığı için silinmedi:", - "images-are-in-use-text": "Tüm görseller silinemedi çünkü bazıları başka varlıklar tarafından kullanılmakta.
    İlgili görselleri görmek için ilgili satırdaki Referanslar düğmesine tıklayabilirsiniz.
    Yine de bu görselleri silmek istiyorsanız, aşağıdaki tabloda seçin ve Seçilenleri sil düğmesine tıklayın.", + "image-is-in-use": "Görsel başka öğeler tarafından kullanılıyor", + "images-are-in-use": "Görseller başka öğeler tarafından kullanılıyor", + "image-is-in-use-text": "‘{{title}}’ görseli aşağıdaki öğeler tarafından kullanıldığı için silinmedi:", + "images-are-in-use-text": "Tüm görseller silinemedi çünkü bazıları başka öğeler tarafından kullanılmakta.
    Başvurulan öğeleri görmek için ilgili görsel satırındaki Referanslar düğmesine tıklayabilirsiniz.
    Yine de bu görselleri silmek istiyorsanız, aşağıdaki tabloda seçin ve Seçilenleri sil düğmesine tıklayın.", "delete-image-in-use-text": "Görseli silmekte kararlıysanız Yine de sil düğmesine tıklayın.", - "system-entities": "Sistem varlıkları:", - "entities": "varlıklar:", + "system-entities": "Sistem öğeleri:", + "entities": "öğeler:", "references": "Referanslar", "include-system-images": "Sistem görsellerini dahil et", "clear-image": "Görseli temizle", @@ -4516,7 +5357,7 @@ "embed-image": "Görseli göm", "embed-to-html": "HTML'ye göm", "embed-to-html-hint": "Bu özellik bağlantıyı yetkisiz tüm kullanıcılar için erişilebilir yapacaktır.", - "embed-to-html-text": "Aşağıdaki kod parçacığını kullanarak görseli düz HTML tabanlı bileşenlere gömebilirsiniz.
    Bu bileşenler HTML kart widget'ları, hücre içerik fonksiyonları vb. içerir.", + "embed-to-html-text": "Aşağıdaki kod parçacığını kullanarak görseli düz HTML tabanlı bileşenlere gömebilirsiniz.
    Bu tür bileşenler arasında HTML kart widget'ları, hücre içerik fonksiyonları vb. bulunur.", "embed-to-angular-template": "Angular HTML şablonuna göm", "embed-to-angular-template-text": "Aşağıdaki kod parçacığını kullanarak görseli Angular HTML şablonuna gömebilirsiniz.
    Bu bileşenler arasında Markdown widget'ı, widget düzenleyicisindeki HTML bölümü, özel eylemler vb. bulunur." }, @@ -4538,12 +5379,12 @@ "column-value": "Değer", "column-title": "Başlık", "column-example": "Örnek değer verisi", - "column-key": "Özellik/zaman serisi anahtarı", + "column-key": "Öznitelik/zaman serisi anahtarı", "credentials": "Kimlik bilgileri", "csv-delimiter": "CSV ayırıcı", "csv-first-line-header": "İlk satır sütun adlarını içerir", - "csv-update-data": "Özellikleri/zaman serilerini güncelle", - "details": "Detaylar", + "csv-update-data": "Öznitelikleri/zaman serilerini güncelle", + "details": "Ayrıntılar", "import-csv-number-columns-error": "Dosya en az iki sütun içermelidir", "import-csv-invalid-format-error": "Geçersiz dosya formatı. Satır: '{{line}}'", "column-type": { @@ -4551,17 +5392,17 @@ "type": "Tür", "label": "Etiket", "column-type": "Sütun türü", - "client-attribute": "İstemci özelliği", - "shared-attribute": "Paylaşılan özellik", - "server-attribute": "Sunucu özelliği", + "client-attribute": "İstemci özniteliği", + "shared-attribute": "Paylaşılan öznitelik", + "server-attribute": "Sunucu özniteliği", "timeseries": "Zaman serisi", - "entity-field": "Varlık alanı", - "access-token": "Erişim anahtarı", + "entity-field": "Öğe alanı", + "access-token": "Erişim belirteci", "x509": "X.509", "mqtt": { "client-id": "MQTT istemci kimliği", "user-name": "MQTT kullanıcı adı", - "password": "MQTT şifresi" + "password": "MQTT parolası" }, "lwm2m": { "client-endpoint": "LwM2M uç nokta istemci adı", @@ -4582,8 +5423,8 @@ "version": "SNMP sürümü (v1, v2c veya v3)", "community-string": "SNMP topluluk dizesi" }, - "isgateway": "Ağ Geçidi mi", - "activity-time-from-gateway-device": "Ağ geçidi cihazından etkinlik zamanı", + "isgateway": "Gateway mi", + "activity-time-from-gateway-device": "Gateway cihazından etkinlik zamanı", "description": "Açıklama", "edge-license-key": "Lisans Anahtarı", "cloud-endpoint": "Bulut Uç Noktası", @@ -4594,12 +5435,12 @@ "select-file": "Bir dosya seçin", "configuration": "İçe aktarma yapılandırması", "column-type": "Sütun türlerini seçin", - "creat-entities": "Yeni varlıklar oluşturuluyor" + "creat-entities": "Yeni öğeler oluşturuluyor" }, "message": { - "create-entities": "{{count}} yeni varlık başarıyla oluşturuldu.", - "update-entities": "{{count}} varlık başarıyla güncellendi.", - "error-entities": "{{count}} varlık oluşturulurken hata oluştu." + "create-entities": "{{count}} yeni öğe başarıyla oluşturuldu.", + "update-entities": "{{count}} öğe başarıyla güncellendi.", + "error-entities": "{{count}} öğe oluşturulurken hata oluştu." } }, "integration": { @@ -4608,18 +5449,18 @@ "integrations-center": "Entegrasyon merkezi", "select-integration": "Entegrasyon seçin", "no-integrations-matching": "'{{entity}}' ile eşleşen entegrasyon bulunamadı.", - "integration-required": "Entegrasyon gerekli", + "integration-required": "Entegrasyon gereklidir", "delete": "Entegrasyonu sil", "management": "Entegrasyon yönetimi", "add-integration-text": "Yeni entegrasyon ekle", "no-integrations-text": "Entegrasyon bulunamadı", - "data-convertor-name": "{{integrationName}} için {{convertorType}} veri dönüştürücü", + "data-convertor-name": "{{integrationName}} için {{convertorType}} veri dönüştürücüsü", "integration-name": "{{integrationType}} entegrasyonu", "selected-integrations": "{ count, plural, =1 {1 entegrasyon} other {# entegrasyon} } seçildi", "delete-integration-title": "'{{integrationName}}' entegrasyonunu silmek istediğinizden emin misiniz?", "delete-integration-text": "Dikkatli olun, onaydan sonra entegrasyon ve tüm ilgili veriler geri alınamaz hale gelecektir.", - "delete-integrations-title": "{ count, plural, =1 {1 entegrasyon} other {# entegrasyon} } silmek istediğinizden emin misiniz?", - "delete-integrations-action-title": "{ count, plural, =1 {1 entegrasyon} other {# entegrasyon} } sil", + "delete-integrations-title": "{ count, plural, =1 {1 entegrasyonu} other {# entegrasyonu} } silmek istediğinizden emin misiniz?", + "delete-integrations-action-title": "{ count, plural, =1 {1 entegrasyonu} other {# entegrasyonu} } sil", "delete-integrations-text": "Dikkatli olun, onaydan sonra seçilen tüm entegrasyonlar silinecek ve tüm ilgili veriler geri alınamaz hale gelecektir.", "events": "Olaylar", "enabled": "Entegrasyonu etkinleştir", @@ -4627,48 +5468,48 @@ "all-types": "Tüm entegrasyon türleri", "add": "Entegrasyon ekle", "search": "Entegrasyonları ara", - "integration-details": "Entegrasyon detayları", - "details": "Detaylar", + "integration-details": "Entegrasyon ayrıntıları", + "details": "Ayrıntılar", "copyId": "Entegrasyon Kimliğini kopyala", "idCopiedMessage": "Entegrasyon Kimliği panoya kopyalandı", "debug-mode": "Hata ayıklama modu", "enable-security": "Güvenliği etkinleştir", - "enable-security-new": "Otomatik jeton güncellemeleri için güvenliği etkinleştir", + "enable-security-new": "Otomatik belirteç güncellemeleri için güvenliği etkinleştir", "headers-filter": "Başlık filtresi", "header": "Başlık", "no-headers-filter": "Başlık filtresi yok", "downlink-url": "Downlink URL", - "downlink-url-required": "Downlink URL gerekli", + "downlink-url-required": "Downlink URL gereklidir", "create-loriot-output": "Loriot Uygulama çıkışı oluştur", "send-downlink": "Downlink gönder", "allow-downlink": "Downlink'e izin ver", "server": "Sunucu", - "server-required": "Sunucu gerekli", + "server-required": "Sunucu gereklidir", "domain": "Alan adı", "app-id": "Uygulama Kimliği", - "app-id-required": "Uygulama Kimliği gerekli", - "app-token": "Uygulama Erişim Jetonu", - "app-token-required": "Uygulama Erişim Jetonu gerekli", + "app-id-required": "Uygulama Kimliği gereklidir", + "app-token": "Uygulama Erişim Belirteci", + "app-token-required": "Uygulama Erişim Belirteci gereklidir", "email": "E-posta", - "email-required": "E-posta gerekli", + "email-required": "E-posta gereklidir", "application-uri": "Uygulama URI", "as-id": "AS Kimliği", - "as-id-required": "AS Kimliği gerekli.", + "as-id-required": "AS Kimliği gereklidir.", "as-key": "AS Anahtarı", - "as-key-required": "AS Anahtarı gerekli.", + "as-key-required": "AS Anahtarı gereklidir.", "client-id-new": "İstemci Kimliği", - "client-id-new-required": "İstemci Kimliği (giriş) gerekli.", + "client-id-new-required": "İstemci Kimliği (giriş) gereklidir.", "client-secret": "İstemci Gizli Anahtarı", - "client-secret-required": "İstemci Gizli Anahtarı (şifre) gerekli.", + "client-secret-required": "İstemci Gizli Anahtarı (parola) gerekli.", "max-time-diff-in-seconds": "Maksimum zaman farkı (saniye)", - "max-time-diff-in-seconds-required": "Maksimum zaman farkı gerekli.", + "max-time-diff-in-seconds-required": "Maksimum zaman farkı gereklidir.", "created-time": "Oluşturulma zamanı", "name": "Ad", - "name-required": "Ad gerekli.", + "name-required": "Ad gereklidir.", "name-max-length": "Ad 256 karakterden kısa olmalıdır", "description": "Açıklama", "base-url": "Temel URL", - "base-url-required": "Temel URL gerekli", + "base-url-required": "Temel URL gereklidir", "security-key": "Güvenlik anahtarı", "skip": "Atla", "http-endpoint": "HTTP uç noktası URL'si", @@ -4676,63 +5517,63 @@ "copy-http-endpoint-url": "HTTP uç noktası URL'sini kopyala", "http-endpoint-url-copied-message": "HTTP uç noktası URL'si panoya kopyalandı", "host": "Sunucu", - "host-required": "Sunucu gerekli.", + "host-required": "Sunucu gereklidir.", "host-private": "Sunucu genel ağda olmalıdır.", "url-private": "URL genel ağda olmalıdır.", "host-type": "Sunucu türü", - "host-type-required": "Sunucu türü gerekli.", + "host-type-required": "Sunucu türü gereklidir.", "api-version": "API v3 kullan", "custom-host": "Özel sunucu", - "custom-host-required": "Özel sunucu gerekli.", + "custom-host-required": "Özel sunucu gereklidir.", "port": "Port", - "port-required": "Port gerekli.", + "port-required": "Port gereklidir.", "endpoint": "Uç nokta", "port-range": "Port 1 ile 65535 arasında olmalıdır.", "connect-timeout": "Bağlantı zaman aşımı (sn)", - "connect-timeout-required": "Bağlantı zaman aşımı gerekli.", + "connect-timeout-required": "Bağlantı zaman aşımı gereklidir.", "connect-timeout-range": "Bağlantı zaman aşımı 1 ile 200 arasında olmalıdır.", "client-id": "İstemci Kimliği", - "client-id-required": "İstemci Kimliği gerekli.", + "client-id-required": "İstemci Kimliği gereklidir.", "client-id-hint": "İpucu: Opsiyonel. Otomatik oluşturulması için boş bırakın. İstemci Kimliği belirlerken dikkatli olun. Çoğu MQTT sunucusu aynı istemci kimliğiyle birden fazla bağlantıya izin vermez. Böyle bir sunucuya bağlanmak için benzersiz bir MQTT istemci kimliğiniz olmalıdır.", "max-bytes-in-message": "Mesajdaki maksimum bayt", "max-bytes-in-message-range": "Mesajdaki maksimum bayt sayısı 1 ile 256000000 arasında olmalıdır.", "device-id": "Cihaz Kimliği", - "device-id-required": "Cihaz Kimliği gerekli.", + "device-id-required": "Cihaz Kimliği gereklidir.", "device-id-range": "Cihaz Kimliği 1 ile 65535 karakter arasında olmalıdır.", "device-id-pattern": "Cihaz Kimliği sayılar, büyük ve küçük harflerden oluşmalıdır. [MQTT-3.1.3-5]", "group-id": "Grup Kimliği", - "group-id-required": "Grup Kimliği gerekli.", + "group-id-required": "Grup Kimliği gereklidir.", "topics": "Konular", - "topics-required": "Konu gerekli.", + "topics-required": "Konu gereklidir.", "routing-keys": "Yönlendirme anahtarları", - "routing-keys-required": "Yönlendirme anahtarı gerekli.", + "routing-keys-required": "Yönlendirme anahtarı gereklidir.", "queue": "Kuyruk", - "queue-required": "Kuyruk adı gerekli.", + "queue-required": "Kuyruk adı gereklidir.", "durable": "Kalıcı", - "exclusive": "Özel", + "exclusive": "Münhasır", "autoDelete": "Otomatik sil", "exchange-name": "Exchange adı", - "exchange-name-required": "Exchange adı gerekli.", + "exchange-name-required": "Exchange adı gereklidir.", "downlink-topic": "Downlink konusu", "connection-timeout": "Bağlantı zaman aşımı, ms", "connection-timeout-min": "Geçersiz bağlantı zaman aşımı değeri.", "handshake-timeout": "El sıkışma zaman aşımı, ms", "handshake-timeout-min": "Geçersiz el sıkışma zaman aşımı değeri.", "virtual-host": "Sanal sunucu", - "rabbit-mq-poll-interval": "Anket aralığı, ms", - "rabbit-mq-poll-interval-min": "Geçersiz anket aralığı değeri.", + "rabbit-mq-poll-interval": "Yoklama aralığı, ms", + "rabbit-mq-poll-interval-min": "Geçersiz yoklama aralığı değeri.", "application-server-url": "Uygulama sunucusu URL'si", "application-server-url-required": "Uygulama sunucusu URL'si gereklidir.", - "application-server-api-token": "Uygulama sunucusu API Jetonu", - "application-server-api-token-required": "Uygulama sunucusu API Jetonu gereklidir.", + "application-server-api-token": "Uygulama sunucusu API Belirteci", + "application-server-api-token-required": "Uygulama sunucusu API Belirteci gereklidir.", "use-api-four-plus": "ChirpStack 4+ için API kullan", "bootstrap-servers": "Bootstrap sunucuları", "bootstrap-servers-required": "Bootstrap sunucuları gereklidir.", - "poll-interval": "Anket aralığı", - "poll-interval-required": "Anket aralığı gereklidir.", - "poll-interval-min-value": "Anket aralığı değeri 1'den küçük olamaz", + "poll-interval": "Yoklama aralığı", + "poll-interval-required": "Yoklama aralığı gereklidir.", + "poll-interval-min-value": "Yoklama aralığı değeri 1'den küçük olamaz", "auto-create-topics": "Konuları otomatik oluştur", - "clean-session": "Oturumu temizle", + "clean-session": "Temiz oturum", "enable-ssl": "SSL'i etkinleştir", "credentials": "Kimlik bilgileri", "credentials-type": "Kimlik bilgisi türü", @@ -4751,7 +5592,7 @@ "private-key-password": "Özel anahtar parolası", "cert": "Sertifika dosyası", "no-file": "Dosya seçilmedi.", - "drop-file": "Bir dosyayı bırakın veya yüklemek için tıklayın.", + "drop-file": "Bir dosya bırakın veya yüklemek için tıklayın.", "drop-file-or": "Bir dosyayı sürükleyip bırakın veya", "check-connection": "Bağlantıyı kontrol et", "check-success": "Bağlantı kuruldu.", @@ -4775,7 +5616,7 @@ "aws-iot-endpoint": "AWS IoT Uç Noktası", "aws-iot-endpoint-required": "AWS IoT Uç Noktası gereklidir.", "aws-iot-credentials": "AWS IoT Kimlik Bilgileri", - "aws-sqs-polling-period-in-seconds": "Anket süresi (saniye)", + "aws-sqs-polling-period-in-seconds": "Yoklama süresi (saniye)", "aws-sqs-queue-url": "SQS Kuyruk URL'si", "aws-sqs-queue-url-required": "SQS Kuyruk URL'si gereklidir", "aws-sqs-access-key-id-required": "Erişim Anahtar Kimliği gereklidir", @@ -4784,8 +5625,8 @@ "api-key": "API Anahtarı", "api-key-required": "API Anahtarı gereklidir.", "api-key-format": "Geçersiz API Anahtarı formatı.", - "auth-token": "Kimlik Doğrulama Jetonu", - "auth-token-required": "Kimlik Doğrulama Jetonu gereklidir.", + "auth-token": "Kimlik Doğrulama Belirteci", + "auth-token-required": "Kimlik Doğrulama Belirteci gereklidir.", "region": "Bölge", "region-required": "Bölge gereklidir.", "application-id": "Uygulama Kimliği", @@ -4826,9 +5667,9 @@ "select-integration-type": "Entegrasyon türü seçin", "type-required": "Entegrasyon türü gereklidir.", "type-not-found": "Entegrasyon türü bulunamadı", - "uplink-converter": "Uplink veri dönüştürücü", - "uplink-converter-required": "Uplink veri dönüştürücü gereklidir.", - "downlink-converter": "Downlink veri dönüştürücü", + "uplink-converter": "Uplink veri dönüştürücüsü", + "uplink-converter-required": "Uplink veri dönüştürücüsü gereklidir.", + "downlink-converter": "Downlink veri dönüştürücüsü", "type-http": "HTTP", "type-http-description": "Metin veya multimedya dosyalarını aktarma protokolü.", "type-ocean-connect": "OceanConnect", @@ -4836,7 +5677,7 @@ "type-sigfox": "SigFox", "type-sigfox-description": "Küçük veri iletimlerini işlemek için hafif bir protokol.", "type-thingpark": "ThingPark", - "type-thingpark-description": "Actility tarafından sunulan bir IoT bağlantı platformu.", + "type-thingpark-description": "ThingPark, Actility tarafından sunulan bir IoT bağlantı platformudur.", "type-loriot": "Loriot", "type-loriot-description": "Dağıtılmış LoRaWAN altyapısı.", "type-thingpark-enterprise": "ThingParkEnterprise", @@ -4855,10 +5696,11 @@ "type-ttn-description": "Açık ve merkeziyetsiz LoRaWAN ağı.", "type-tti": "The Things Stack Industries", "type-tti-description": "Ölçeklenebilir özel LoRaWAN ağlarını çalıştırmak için yazılım.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN ağı yapılandırma sunucusu.", "type-particle": "Particle", - "type-particle-description": "IoT etkinleştirme platformu olarak hizmet.", + "type-particle-description": "Hizmet olarak sunulan IoT etkinleştirme platformu.", "type-kpn": "KPN Things", "type-kpn-description": "IoT cihazları için sağlam bağlantı ve veri yönetim çözümleri sunan KPN tarafından sağlanan IoT platformu.", "type-azure-event-hub": "Azure Event Hub", @@ -4953,7 +5795,7 @@ "remote": "Uzak", "handler-configuration": "İşleyici Yapılandırması", "handler-configuration-type": "İşleyici Türü", - "so-broadcast": "Yayın etkinleştir - entegrasyon yayın adresi paketlerini kabul edecek", + "so-broadcast": "Yayını etkinleştir - entegrasyon yayın adresi paketlerini kabul eder", "so-keepalive-option": "Bağlantı odaklı soketlerde canlılık mesajlarının gönderimini etkinleştir", "so-reuse-addr": "İşlemi bir bağlantı noktasına bağla", "tcp-no-delay": "Verilerin tamponlanmadan gönderilmesini zorunlu kılar (Nagle algoritmasını devre dışı bırakır)", @@ -5013,16 +5855,16 @@ "select-vendor": "Üretici seçin", "vendor-not-found": "Üretici bulunamadı", "vendor-required": "Üretici gereklidir", - "vendor-not-valid": "Seçim gerekli: Açılır menüden satıcı seçmelisiniz.", + "vendor-not-valid": "Seçim gerekli: Açılır menüden sağlayıcı seçmelisiniz.", "library": "Kütüphane", "timeout-in-ms": "Zaman aşımı (milisaniye)", "timeout-in-ms-required": "Zaman aşımı (milisaniye) gereklidir.", "user-id": "Kullanıcı ID'si", "user-id-required": "Kullanıcı ID'si gereklidir.", - "token": "Jeton", - "token-required": "Jeton gereklidir.", + "token": "Belirteç", + "token-required": "Belirteç gereklidir.", "project-id": "Proje ID'si", - "project-id-required": "Proje ID'si gereklidir.", + "project-id-required": "Proje kimliği gereklidir.", "subscription-id": "Abonelik ID'si", "subscription-id-required": "Abonelik ID'si gereklidir.", "service-account-key": "Servis Hesabı anahtar dosyası", @@ -5031,8 +5873,8 @@ "system-line-separator": "Sistem satır ayırıcı", "nul-delimiter": "Nul ayırıcı", "custom-separator": "Özel ayırıcı", - "byte-order-little-endian": "Küçük Endian", - "byte-order-big-endian": "Büyük Endian" + "byte-order-little-endian": "Little Endian", + "byte-order-big-endian": "Big Endian" }, "cache-size": "Önbellek Boyutu", "cache-time-to-live": "Önbellek geçerlilik süresi (dakika cinsinden)", @@ -5052,12 +5894,12 @@ "coap-dtls-base-url-required": "DTLS Temel URL'si gereklidir", "coap-dtls-endpoint": "CoAP DTLS uç nokta URL'si", "coap-dtls-endpoint-url-copied-message": "CoAP DTLS uç nokta URL'si panoya kopyalandı", - "unassign-integration-title": "Entegrasyonu '{{integrationName}}' kaldırmak istediğinizden emin misiniz?", - "unassign-integration-from-edge-text": "Onay sonrası entegrasyon kaldırılacak ve edge tarafından erişilemeyecek.", - "unassign-integrations-from-edge-title": "{ count, plural, =1 {1 entegrasyon} other {# entegrasyon} } kaldırmak istediğinizden emin misiniz?", - "unassign-integrations-from-edge-text": "Onay sonrası seçilen tüm entegrasyonlar kaldırılacak ve edge tarafından erişilemeyecek.", - "unassign-integrations": "Entegrasyonları kaldır", - "edge-placeholder-hint": "Belirli Edge varlığından alınan attribute değerleriyle entegrasyon alanlarını değiştirmek için ${{ATTRIBUTE_KEY}} yer tutucusunu kullanabilirsiniz. Örneğin, 'Edge A' adlı varlıkta 'baseUrl' adlı bir attribute varsa ve değeri 'http://localhost:9999' ise, entegrasyon alanlarından birini ${{baseUrl}} olarak ayarlayabilirsiniz. Bu durumda bu yer tutucu 'Edge A'ya entegrasyon ataması sırasında otomatik olarak 'http://localhost:9999' ile değiştirilecektir. Ayrıca 'Edge A'nın 'baseUrl' attribute değeri güncellenirse - bu güncellenmiş değer ile entegrasyon otomatik olarak yeniden yapılandırılır.", + "unassign-integration-title": "'{{integrationName}}' entegrasyonunun atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-integration-from-edge-text": "Onaydan sonra entegrasyonun Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "unassign-integrations-from-edge-title": "{ count, plural, =1 {1 entegrasyonun} other {# entegrasyonun} } Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-integrations-from-edge-text": "Onaydan sonra seçilen tüm entegrasyonların Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "unassign-integrations": "Entegrasyonların atamasını kaldır", + "edge-placeholder-hint": "Belirli Edge öğesinden alınan öznitelik değerleriyle entegrasyon alanlarını değiştirmek için ${{ATTRIBUTE_KEY}} yer tutucusunu kullanabilirsiniz. Örneğin, 'Edge A' adlı öğede 'baseUrl' adlı bir öznitelik varsa ve değeri 'http://localhost:9999' ise, entegrasyon alanlarından birini ${{baseUrl}} olarak ayarlayabilirsiniz. Bu durumda bu yer tutucu 'Edge A'ya entegrasyon ataması sırasında otomatik olarak 'http://localhost:9999' ile değiştirilecektir. Ayrıca 'Edge A'nın 'baseUrl' öznitelik değeri güncellenirse - bu güncellenmiş değer ile entegrasyon otomatik olarak yeniden yapılandırılır.", "status": { "status": "Durum", "active": "Aktif", @@ -5100,16 +5942,16 @@ "upload-symbol": "SCADA sembolü yükle", "update-symbol": "SCADA sembolünü güncelle", "edit-symbol": "SCADA sembolünü düzenle", - "symbol-details": "SCADA sembol detayları", + "symbol-details": "SCADA sembol ayrıntıları", "mode-svg": "SVG", "mode-xml": "XML", "no-symbols": "Sembol bulunamadı", "show-hidden-elements": "Gizli öğeleri göster", "hide-hidden-elements": "Gizli öğeleri gizle", "delete-symbol": "SCADA sembolünü sil", - "delete-symbol-title": "SCADA sembolü '{{imageTitle}}' silinsin mi?", + "delete-symbol-title": "'{{imageTitle}}' SCADA sembolünü silmek istediğinizden emin misiniz?", "delete-symbol-text": "Dikkatli olun, onaydan sonra SCADA sembolü kurtarılamaz hale gelecek.", - "delete-symbols-title": "{ count, plural, =1 {1 SCADA sembolü} other {# SCADA sembolü} } silinsin mi?", + "delete-symbols-title": "{ count, plural, =1 {1 SCADA sembolünü} other {# SCADA sembolünü} } silmek istediğinizden emin misiniz?", "delete-symbols-text": "Dikkatli olun, onaydan sonra seçilen tüm SCADA sembolleri ve ilgili veriler geri alınamaz şekilde silinecek.", "include-system-symbols": "Sistem sembollerini dahil et", "symbol-preview": "Sembol önizleme", @@ -5119,20 +5961,20 @@ "title": "Başlık", "description": "Açıklama", "search-tags": "Etiket ara", - "widget-size": "Bileşen boyutu", + "widget-size": "Widget boyutu", "cols": "sütun", "rows": "satır", - "state-render-function": "Durum render fonksiyonu", + "state-render-function": "Durum oluşturma fonksiyonu", "preview": "Önizleme", - "preview-widget-action-text": "Bileşen eylemi '{{type}}' başarıyla çalıştırıldı!", + "preview-widget-action-text": "Widget eylemi '{{type}}' başarıyla çalıştırıldı!", "no-symbol": "SCADA sembolü yok", "no-symbol-selected": "SCADA sembolü seçilmedi", "clear-symbol": "SCADA sembolünü temizle", "browse-symbol-from-gallery": "Galeri üzerinden SCADA sembolü seç", "zoom-in": "Yakınlaştır", "zoom-out": "Uzaklaştır", - "create-widget": "Bileşen oluştur", - "create-widget-from-symbol": "SCADA sembolünden bileşen oluştur", + "create-widget": "Widget oluştur", + "create-widget-from-symbol": "SCADA sembolünden widget oluştur", "hidden": "gizli", "tag": { "tag": "Etiket", @@ -5154,7 +5996,7 @@ "add-behavior": "Davranış ekle", "type-action": "Eylem", "type-value": "Değer", - "type-widget-action": "Bileşen eylemi", + "type-widget-action": "Widget eylemi", "behavior-settings": "Davranış ayarları", "remove-behavior": "Davranışı kaldır", "hint": "İpucu", @@ -5201,8 +6043,8 @@ "right-fluid-color": "Sağ akışkan rengi", "top-fluid-color": "Üst akışkan rengi", "bottom-fluid-color": "Alt akışkan rengi", - "display": "Görüntüle", - "display-format": "Görüntü formatı", + "display": "Ekran", + "display-format": "Görüntüleme biçimi", "value": "Değer", "decimals": "Ondalık basamak", "units": "Birimler", @@ -5252,7 +6094,7 @@ "stopped-color": "Durma rengi", "stopped": "Durdu", "warning-color": "Uyarı rengi", - "critical-color": "Kritik rengi", + "critical-color": "Kritik durum rengi", "opened": "Açık", "opened-hint": "Bileşenin açık durumda olup olmadığını belirtir.", "open": "Aç", @@ -5261,8 +6103,8 @@ "close-hint": "Kullanıcı bileşeni kapatmak için tıkladığında tetiklenen eylem.", "close-state-animation": "Kapalı durum animasyonu", "close-state-animation-hint": "Bileşen kapalı durumdayken yanıp sönme animasyonunun etkinleştirilip etkinleştirilmeyeceği.", - "opened-color": "Açık renk", - "closed-color": "Kapalı renk", + "opened-color": "Açık durum rengi", + "closed-color": "Kapalı durum rengi", "opened-rotation-angle": "Açık konum dönme açısı", "closed-rotation-angle": "Kapalı konum dönme açısı", "tank-capacity": "Tank kapasitesi", @@ -5274,12 +6116,12 @@ "value-text": "Değer metni", "scale": "Ölçek", "transparent-mode": "Şeffaf mod", - "major-ticks": "Büyük işaretler", + "major-ticks": "Ana işaretler", "intervals": "Aralıklar", - "major-ticks-color": "Büyük işaret rengi", + "major-ticks-color": "Ana işaret rengi", "normal": "Normal", "minor-ticks": "Küçük işaretler", - "minor-ticks-color": "Küçük işaret rengi", + "minor-ticks-color": "Alt işaret rengi", "temperature": "Sıcaklık", "temperature-hint": "Geçerli sıcaklığı gösteren ondalık değer.", "update-temperature": "Sıcaklığı güncelle", @@ -5318,7 +6160,7 @@ "button-color": "Düğme rengi", "on-label": "'Açık' etiketi metni", "off-label": "'Kapalı' etiketi metni", - "arrow-presence": "Ok varlığı", + "arrow-presence": "Oku göster", "arrow-presence-hint": "Bağlayıcıda okun olup olmadığını belirtir.", "arrow-present": "Ok mevcut", "arrow-direction": "Akış yönü", @@ -5328,12 +6170,12 @@ "flow": "Akış", "flow-line": "Çizgi", "flow-line-style": "Çizgi stili", - "flow-style-hint": "Animasyonun senkronizasyonu için Dash ve Gap değerlerinin toplamı 100'e tam bölünebilir olmalıdır.", + "flow-style-hint": "Kusursuz animasyon senkronizasyonu için Çizgi parçası ve Boşluk değerlerini, toplamları 100'e kalansız bölünecek şekilde ayarlayın.", "flow-dash-cap": "Çizgi ucu", "dash-cap-butt": "Düz", "dash-cap-round": "Yuvarlak", "dash-cap-square": "Kare", - "dash": "Çizgi", + "dash": "Çizgi parçası", "gap": "Boşluk", "main-line": "Ana çizgi", "line": "Çizgi", @@ -5341,7 +6183,7 @@ "arrow-color": "Ok rengi", "target-value": "Hedef değer", "target-value-hint": "Ölçekteki hedef noktayı belirtir.", - "min-max-value": "Min ve maks değer", + "min-max-value": "Minimum ve maksimum değer", "min-value": "Min", "max-value": "Maks", "progress-bar": "İlerleme çubuğu", @@ -5358,11 +6200,11 @@ "show-low-warning-scale": "Düşük uyarı ölçeğini göster", "low-warning-scale": "Düşük uyarı ölçeği", "low-warning-state-hint": "Ondalık değer, düşük uyarı aralığını düşük kritik veya min değere kadar belirtir.", - "high-critical-state": "Yüksek kritik durumu", - "show-high-critical-scale": "Yüksek kritik ölçeğini göster", - "high-critical-scale": "Yüksek kritik ölçeği", + "high-critical-state": "Yüksek kritik durum", + "show-high-critical-scale": "Yüksek kritik ölçeği göster", + "high-critical-scale": "Yüksek kritik ölçek", "high-critical-state-hint": "Ondalık değer, yüksek kritik aralığını maks ölçek değerine kadar belirtir.", - "low-critical-state": "Düşük kritik durumu", + "low-critical-state": "Düşük kritik durum", "show-low-critical-scale": "Düşük kritik ölçeği göster", "low-critical-scale": "Düşük kritik ölçek", "low-critical-state-hint": "Ondalık değer, düşük kritik aralığını min ölçek değerine kadar belirtir.", @@ -5389,6 +6231,7 @@ "third-phase-voltage": "Üçüncü faz voltajı", "phase-voltage-hint": "Ondalık değer, mevcut faz için voltajı belirtir.", "voltage-hint": "Ondalık değer mevcut voltajı belirtir.", + "current-voltage": "Mevcut gerilim", "phase-indicator-color": "Faz gösterge rengi", "measured": "Ölçülen", "measured-hint": "Ondalık değer kilovat-saat cinsinden enerji kullanımını belirtir.", @@ -5396,7 +6239,7 @@ "night-rate": "Gece tarifesi", "off-peak-rate": "Yoğun olmayan zaman tarifesi", "peak-rate": "Yoğun zaman tarifesi", - "export-rate": "İhracat tarifesi", + "export-rate": "Şebekeye satış tarifesi", "operating-mode": "Çalışma modu", "bypass-mode": "Baypas", "operating-mode-hint": "Tamsayı değeri geçerli çalışma modunu belirtir (0 - KAPALI, 1 - AÇIK, 2 - BAYPAS)", @@ -5410,12 +6253,12 @@ "mains-on-mode": "Şebeke açık", "inverter-on-mode": "İnvertör açık", "charging-mode": "Şarj modu", - "charging-mode-hint": "Tamsayı değeri mevcut şarj modunu belirtir (1 - Hızlı, 2 - Emme, 3 - Yüzen)", + "charging-mode-hint": "Tamsayı değeri mevcut şarj modunu belirtir (1 - Toplu şarj, 2 - Absorpsiyon, 3 - Tampon şarj)", "charging-mode-indicators-color": "Şarj modu gösterge rengi", "inverter-faults": "Hatalar", "inverter-fault-indicators-color": "Hata gösterge rengi", "overload-fault": "Aşırı yük", - "overload-fault-hint": "İnvertör aşırı yük durumundaysa belirtir.", + "overload-fault-hint": "İnvertörün aşırı yük durumunda olup olmadığını belirtir.", "low-battery-fault": "Düşük pil", "low-battery-fault-hint": "Pilin aşırı şekilde boşalmış olup olmadığını belirtir.", "temperature-fault": "Sıcaklık", @@ -5429,19 +6272,293 @@ } }, "item": { - "selected": "Seçili" + "type-widget": "Widget", + "type-widget-plural": "Widget'lar", + "type-solution-template": "Çözüm şablonu", + "type-solution-template-plural": "Çözüm şablonları", + "type-calculated-field": "Hesaplanmış alan", + "type-calculated-field-plural": "Hesaplanmış alanlar", + "type-alarm-rule": "Alarm kuralı", + "type-alarm-rule-plural": "Alarm kuralları", + "type-rule-chain": "Kural zinciri", + "type-rule-chain-plural": "Kural zincirleri", + "type-device": "Cihaz", + "type-device-plural": "Cihazlar" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "Rastgele değer oluştur", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "Keşfedin: kullanıma hazır", + "and-devices": "& cihazlar", + "search-placeholder": "IoT Hub'da ara...", + "search": "Ara...", + "search-published-items": "Yayımlanan öğelerde ara...", + "see-all-results": "Tüm sonuçları gör", + "see-all-results-for": "\"{{ search }}\" için {{ count }} sonucun tümünü gör", + "see-results-for": "\"{{ search }}\" için sonuçları gör", + "no-search-results": "'{{ search }}' için sonuç bulunamadı", + "no-items-available": "Kullanılabilir öğe yok", + "search-results": "Arama sonuçları", + "search-results-for": "Arama sonuçları: ", + "try-adjusting-search": "Aramanızı değiştirmeyi deneyin", + "add-widget-from-iot-hub": "IoT Hub'dan widget ekle", + "all-widgets": "Tüm widget'lar", + "all-iot-hub-widgets": "Tüm IoT Hub widget'ları", + "installed-from-iot-hub": "IoT Hub'dan kuruldu", + "item-link-unavailable": "Öğe kullanılamıyor", + "include-deprecated": "Kullanımdan kaldırılanları dahil et", + "widget-category-value": "{{ category }} widget'ları", + "search-categories": "Kategorilerde ara...", + "search-in-category": "Widget'larda ara...", + "search-bundles": "Paketlerde ara...", + "search-widgets": "Widget'larda ara...", + "add-item-from-iot-hub": "IoT Hub'dan {{ type }} ekle", + "add-from-iot-hub": "IoT Hub'dan ekle", + "filters": "Filtreler", + "type": "Tür", + "items-per-page": "Sayfa başına öğe", + "filter": "Filtre", + "clear-filters": "Filtreleri temizle", + "available": "Mevcut", + "items-page-desc-widgets": "Sektörünüz için tasarlanmış, önceden yapılandırılmış widget'larla IoT yolculuğunuza hızlı bir başlangıç yapın. Kanıtlanmış mimarileri anında devreye alın ve enerjinizi asıl önemli olana odaklayın: size özgü iş mantığınıza.", + "items-page-desc-solution-templates": "Panolar, kural zincirleri ve cihaz yapılandırmaları içeren eksiksiz IoT çözüm paketleri. Kanıtlanmış mimarilerle hemen başlayın.", + "items-page-desc-calculated-fields": "Yakıt verimliliği veya güç faktörü gibi karmaşık metrikleri otomatikleştirmek için önceden yapılandırılmış hesaplanmış alanları kullanın. Manuel mantığı atlayın, panolarınızı sade ve eyleme dönük tutun.", + "items-page-desc-alarm-rules": "Düşük pil, eşik aşımları veya cihazların çevrimdışı olması gibi kritik durumları tespit etmek için hazır alarm kuralı şablonlarını kullanın. Kural mantığını yazmayı atlayın ve olaylara gerçekleştikleri anda müdahale etmeye başlayın.", + "items-page-desc-rule-chains": "Gelişmiş veri işlemeden sorunsuz API entegrasyonlarına kadar, kural zinciri şablonları sıfırdan oluşturmaya gerek kalmadan ölçeklenmeniz için ihtiyaç duyduğunuz mimari temeli sağlar.", + "items-page-desc-devices": "Donanımınızı anında bağlamak için dakikalar içinde dağıtabileceğiniz, önceden yapılandırılmış bağlantı şablonlarını bulmak üzere cihaz kitaplığını keşfedin.", + "device-library": "Cihaz kitaplığı", + "most-popular-in-iot-hub": "IoT Hub'da en popüler", + "upgrade-required-title": "ThingsBoard yükseltmesi gerekli", + "upgrade-required-message": "Bu öğe ThingsBoard {{minVersion}} veya daha yeni bir sürüm gerektirir. Şu anda kullandığınız sürüm: {{currentVersion}}. Kurmak için lütfen örneğinizi yükseltin.", + "upgrade-instance": "Örneği yükselt", + "become-creator-text": "Öne çıkmak ve çözümlerinizi küresel topluluğumuza sergilemek için şablonlarınızı ThingsBoard IoT Hub'a gönderin.", + "contribute": "Katkıda bulun", + "creator-profile": "Oluşturucu profili", + "title-widgets": "Widget'lar", + "title-calculated-fields": "Hesaplanmış alanlar", + "title-alarm-rules": "Alarm kuralları", + "title-rule-chains": "Kural zincirleri", + "title-devices": "Cihazlar", + "title-solution-templates": "Çözüm şablonları", + "subtitle-widgets": "Panolarınız için topluluk widget'larına göz atın", + "subtitle-solution-templates": "Eksiksiz IoT çözüm paketlerine göz atın", + "subtitle-calculated-fields": "Hesaplanmış alan şablonlarına göz atın", + "subtitle-alarm-rules": "Alarm kuralı şablonlarına göz atın", + "subtitle-rule-chains": "Kural zinciri şablonlarına göz atın", + "subtitle-devices": "Cihaz yapılandırmalarına göz atın", + "search-solution-templates": "Çözüm şablonlarında ara...", + "search-calculated-fields": "Hesaplanmış alanlarda ara...", + "search-alarm-rules": "Alarm kurallarında ara...", + "search-rule-chains": "Kural zincirlerinde ara...", + "search-devices": "Cihazlarda ara...", + "sort-most-relevant": "En alakalı", + "sort-most-installed": "En çok kurulan", + "sort-newest": "En yeni", + "sort-name": "Ad (A-Z)", + "type-filter-label": "Tür", + "verified-creators-only": "Yalnızca doğrulanmış oluşturucular", + "category": "Kategori", + "use-case": "Kullanım alanı", + "vendor": "Üretici", + "view-setup-guide": "Kurulum kılavuzunu görüntüle", + "hardware-type": "Donanım türü", + "connectivity": "Bağlantı", + "clear-all-filters": "Tüm filtreleri temizle", + "clear-all": "Tümünü temizle", + "results-count": "{{count}} sonuç", + "unable-to-load": "Yüklenemedi", + "unable-to-load-text": "Öğeler yüklenirken bir sorun oluştu. Lütfen tekrar deneyin.", + "network-server-unavailable": "Ağ veya sunucu kullanılamıyor", + "network-server-unavailable-text": "Kataloğa ulaşamadık. Lütfen birazdan tekrar deneyin.", + "try-again": "Tekrar dene", + "retry": "Yeniden dene", + "no-items-found": "Öğe bulunamadı", + "no-items-found-text": "Aramanızı veya filtrelerinizi değiştirmeyi deneyin.", + "no-widgets-found": "Widget bulunamadı", + "browse-tip-prefix": "Aradığınızı bulamıyor musunuz?", + "browse-tip-link": "IoT Hub'a göz atın", + "browse-tip-suffix": "ve daha fazla widget bulun.", + "creator": "Oluşturucu", + "manage": "Yönet", + "details": "Ayrıntılar", + "become-a-creator": "Oluşturucu olun", + "back-to-iot-hub": "IoT Hub'a dön", + "verified-creator": "Doğrulanmış oluşturucu", + "published-items": "Yayımlanan öğeler", + "by-creator": "{{name}} tarafından", + "installs": "kurulum", + "more": "daha fazla", + "categories": "Kategoriler", + "use-cases": "Kullanım alanları", + "changelog": "Değişiklik günlüğü", + "created-by": "Oluşturan: {{name}}", + "install-confirm": "{{name}} v{{version}} kurulsun mu?", + "install-confirm-title": "'{{name}}' kurulsun mu?", + "install-desc": "Bunu kurmak, kiracınızda gerekli kaynakları otomatik olarak oluşturur ve yapılandırır", + "install-success-desc": "'{{name}}' başarıyla kuruldu", + "remove": "Kaldır", + "remove-confirm-title": "'{{name}}' kaldırılsın mı?", + "remove-desc": "Bunu kaldırmak, kiracınızdaki kurulu öğeyi ve ilişkili kaynaklarını da kaldırır", + "remove-desc-solution-template": "Bu çözüm şablonunu kaldırmak, kiracınızdaki panolar, kural zincirleri, cihazlar ve diğer ilişkili kaynaklar dahil oluşturulan tüm öğeleri de kaldırır", + "remove-anyway": "Yine de kaldır", + "select-entity-for-cf": "'{{name}}' hesaplanmış alanı için öğe seçin", + "select-entity-for-alarm-rule": "'{{name}}' alarm kuralı için öğe seçin", + "rule-chain-install-subtitle": "Kurulum, kural zincirini kiracınızda otomatik olarak oluşturur. İsteğe bağlı olarak bunu bir profilin varsayılanı olarak ayarlayın; böylece o profildeki öğeler bu zincir üzerinden yönlendirilir.", + "rule-chain-set-as-profile-default-toggle": "Profilin varsayılan kural zinciri olarak ayarla", + "rule-chain-set-as-profile-default-tooltip": "Etkinleştirilirse, seçilen profildeki tüm öğeler mesajlarını bu kural zinciri üzerinden yönlendirir.", + "rule-chain-overwrite-title": "Mevcut varsayılan kural zinciri değiştirilsin mi?", + "rule-chain-overwrite-body": "{{profile}} profili şu anda varsayılan kural zinciri olarak {{existing}} kullanıyor. Kurulum, bunu bu kural zinciriyle değiştirecek.", + "rule-chain-overwrite-replace": "Değiştir", + "install": "Kur", + "open": "Aç", + "built-in": "Yerleşik", + "built-in-lookup-failed-title": "Bu bileşen kontrol edilemedi", + "built-in-lookup-failed-text": "'{{name}}' öğesinin bu örnekte zaten mevcut olup olmadığı kontrol edilemedi. Hiçbir şey kurulmadı — lütfen tekrar deneyin.", + "built-in-missing-title": "Bu örnekte mevcut değil", + "built-in-missing-text": "'{{name}}' normalde ThingsBoard ile birlikte gelir, ancak bu örnekte mevcut değil — sistem yöneticisi tarafından silinmiş olabilir. Bunun yerine IoT Hub'dan kurabilirsiniz.", + "connect": "Bağlan", + "connect-device": "Cihaz bağla", + "installing": "Kuruluyor...", + "installing-title": "'{{name}}' kuruluyor", + "installed": "Kurulu", + "install-success": "{{name}} başarıyla kuruldu", + "install-success-title": "Kurulum başarılı", + "install-success-message": "'{{name}}' v{{version}} başarıyla kuruldu.", + "install-error": "{{name}} kurulamadı", + "solution-install-title": "Çözüm şablonu başarıyla kuruldu", + "solution-instructions": "Çözüm talimatları", + "goto-main-dashboard": "Ana panoya git", + "install-error-title": "Kurulum başarısız", + "install-error-message": "'{{name}}' kurulamadı.", + "install-dependency-error": "'{{name}}' bağımlılığı kurulamadı: {{error}}", + "install-plan-title": "'{{name}}' ve bağımlılıklarını kur", + "install-plan-will-install": "{{count}} öğe kurulacak.", + "install-plan-will-update": "{{count}} öğe zaten kurulu ve atlanacak.", + "install-plan-missing-warning": "Gerekli {{count}} öğe pazar yerinde bulunamadı. '{{ name }}' bunlar olmadan tam olarak çalışmayabilir.", + "install-plan-status-will": "Kur", + "install-plan-status-installed": "Zaten kurulu", + "install-plan-status-missing": "Eksik", + "install-plan-confirm": "Kur", + "install-partial-title": "Uyarılarla kuruldu", + "install-partial-desc": "'{{name}}' kuruldu, ancak bazı gerekli öğeler eksikti.", + "install-rollback-partial": "Hatadan önce kurulan öğelerin bazıları otomatik olarak kaldırılamadı ve elle silinmeleri gerekebilir.", + "check-for-updates": "Güncellemeleri denetle", + "updates": "Güncellemeler", + "up-to-date": "Güncel", + "update": "Güncelle", + "update-to-version": "v {{ version }} sürümüne güncelle", + "update-item-title": "Öğeyi güncelle", + "update-confirm": "'{{name}}', {{version}} sürümüne güncellensin mi?", + "update-confirm-title": "'{{name}}' güncellensin mi?", + "update-desc": "Güncelleme, mevcut sürümü en son sürümle değiştirir ve kiracınızdaki ilişkili kaynakları yeniden yapılandırır", + "update-desc-solution-template": "Bu çözüm şablonunu güncellemek, kiracınızdaki panolar, kural zincirleri, cihazlar ve diğer ilişkili kaynaklar dahil olmak üzere şablonun oluşturduğu tüm öğeleri silip yeniden oluşturur. Bunlarda yaptığınız tüm değişiklikler kaybolur", + "update-success-desc": "'{{name}}' başarıyla güncellendi", + "updating": "Güncelleniyor...", + "update-success-title": "Güncelleme başarılı", + "update-success-message": "'{{name}}', {{version}} sürümüne güncellendi.", + "entity-modified-title": "Öğe değiştirildi", + "entity-modified-text": "{{type}} yerel olarak değiştirildi. Yine de güncellemek istiyor musunuz?", + "update-error-title": "Güncelleme başarısız oldu", + "update-error-message": "'{{name}}' güncellenemedi.", + "update-error": "{{name}} güncellenemedi", + "most-popular": "En popüler", + "all": "Tümü", + "installed-items": "Kurulu öğeler", + "installed-items-for": "\"{{name}}\" için kurulu öğeler", + "search-installed-items": "Kurulu öğelerde ara...", + "item-name": "Ad", + "item-type": "Tür", + "item-version": "Sürüm", + "installed-date": "Kurulma tarihi", + "no-installed-items": "Kurulu öğe bulunamadı", + "no-installed-items-text": "Aramanızı veya filtrelerinizi değiştirmeyi deneyin.", + "remove-installed-item-title": "Kurulu öğeyi kaldır", + "remove-installed-item-text": "'{{name}}' adlı öğeyi kaldırmak istediğinizden emin misiniz? Kurulan öğe de kaldırılacaktır.", + "installed-item-removed": "'{{name}}' kaldırıldı", + "installed-item-remove-error": "'{{name}}' kaldırılamadı", + "open-installed-entity": "Kurulan öğeyi aç", + "view-item-details": "Öğe ayrıntılarını görüntüle", + "review-device-instructions": "Cihaz talimatlarını incele", + "open-item-type": "Aç: {{type}}", + "back-to-marketplace": "Pazar yerine dön", + "device-install-select-connectivity": "Cihazınız için bir bağlantı yöntemi seçin", + "connection-method": "Bağlantı yöntemi", + "step-prerequisites": "Ön koşullar", + "step-configuration": "Yapılandırma", + "step-provisioning": "Sağlama", + "device-install-step-error": "Başarısız", + "device-install-step-pending": "Beklemede", + "device-install-step-running": "Oluşturuluyor...", + "device-install-step-success": "Oluşturuldu", + "device-install-step-type-DASHBOARD": "Pano", + "device-install-step-type-DEVICE": "Cihaz", + "device-install-step-type-DEVICE_PROFILE": "Cihaz profili", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Gateway bağlayıcısı", + "device-install-step-type-RULE_CHAIN": "Kural zinciri", + "device-install-step-type-UPLINK_CONVERTER": "Uplink dönüştürücü", + "device-install-step-type-DOWNLINK_CONVERTER": "Downlink dönüştürücü", + "device-install-step-type-INTEGRATION": "Entegrasyon", + "use-secret": "Gizli veriyi kullan", + "use-plain-text": "Düz metin kullan", + "device-install-conflict-exists": "Bu ada sahip bir {{type}} zaten var", + "device-install-use-existing": "Mevcut olanı kullan", + "device-install-overwrite": "Üzerine yaz", + "device-install-create-copy": "Kopya oluştur", + "device-install-resolution-created": "Oluşturuldu", + "device-install-resolution-use-existing": "Mevcut olan kullanıldı", + "device-install-resolution-overwrite": "Üzerine yazıldı", + "device-install-resolution-create-copy": "Kopya oluşturuldu", + "device-install-title": "\"{{name}}\" cihazını bağlayın", + "device-installing-title": "\"{{name}}\" kuruluyor", + "done": "Tamamlandı", + "in-progress": "Devam ediyor", + "item-detail": "IoT Hub öğesi", + "unpublished-warning-title": "Yayımlanmamış içerik", + "unpublished-warning-text": "Bu, yayımlanmamış içeriğin önizlemesidir. IoT Hub tarafından incelenmemiştir. Doğrulanmamış içeriği kurmak güvenlik ve kararlılık riskleri doğurabilir — yalnızca içeriği oluşturana güveniyorsanız devam edin.", + "unpublished-warning-confirm": "Riski anlıyorum, devam et", + "unpublished-preview": "Yayımlanmamış önizleme", + "deep-link-invalid-id": "Geçersiz IoT Hub öğesi bağlantısı.", + "deep-link-not-found": "Bu IoT Hub öğesi mevcut değil veya kaldırıldı.", + "deep-link-fetch-failed": "IoT Hub öğesi yüklenemedi. Lütfen tekrar deneyin.", + "export-to-iot-hub": "IoT Hub'a dışa aktar" + }, + "item-data": { + "widget-type-timeseries": "Zaman serisi", + "widget-type-latest": "Son değerler", + "widget-type-rpc": "Kontrol", + "widget-type-alarm": "Alarm", + "widget-type-static": "Statik", + "cf-type-simple": "Basit", + "cf-type-script": "Betik", + "cf-type-geofencing": "Coğrafi çitleme", + "cf-type-alarm": "Alarm", + "cf-type-propagation": "Yayılım", + "cf-type-related-entities-aggregation": "İlişkili öğe toplama", + "cf-type-entity-aggregation": "Öğe toplama", + "rule-chain-type-core": "Çekirdek", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "Zenginleştirme", + "node-type-filter": "Filtre", + "node-type-transformation": "Dönüştürme", + "node-type-action": "Eylem", + "node-type-analytics": "Analitik", + "node-type-external": "Harici", + "node-type-flow": "Akış", + "node-type-unknown": "Bilinmeyen" }, "js-func": { "no-return-error": "Fonksiyon bir değer döndürmelidir!", "return-type-mismatch": "Fonksiyon '{{type}}' türünde bir değer döndürmelidir!", - "tidy": "Düzenle", + "tidy": "Biçimlendir", "mini": "Mini", "modules": "Modüller", "remove-module": "Modülü kaldır", "no-modules": "Hiçbir modül yapılandırılmadı", "add-module": "Modül ekle", "module-alias": "Takma ad", - "invalid-module-alias-name": "Geçersiz takma ad adı", + "invalid-module-alias-name": "Geçersiz takma ad", "module-resource": "JS modül kaynağı", "not-unique-module-aliases-error": "Modül takma adları benzersiz olmalıdır!", "show-module-info": "Modül bilgisini göster", @@ -5462,15 +6579,17 @@ "no-data": "Girdi yok" }, "layout": { - "layout": "Yerleşim", - "layouts": "Yerleşimler", - "manage": "Yerleşimleri yönet", - "settings": "Yerleşim ayarları", + "switch-to-html-page-title": "HTML sayfasına geçilsin mi?", + "switch-to-html-page-text": "HTML sayfası bu durumun widget ızgarasının yerini alır. Düzenlerine yerleştirilmiş { count, plural, =1 {1 widget} other {# widget} } bu durumdan kaldırılacak.", + "layout": "Düzen", + "layouts": "Düzenler", + "manage": "Düzenleri yönet", + "settings": "Düzen ayarları", "color": "Renk", "main": "Ana", "right": "Sağ", "left": "Sol", - "select": "Hedef yerleşimi seç", + "select": "Hedef düzeni seç", "percentage-width": "Yüzdelik genişlik (%)", "fixed-width": "Sabit genişlik (px)", "left-width": "Sol sütun (%)", @@ -5483,14 +6602,14 @@ "right-width-percentage-required": "Sağ yüzdelik oran gereklidir", "left-width-percentage-required": "Sol yüzdelik oran gereklidir", "divider": "Bölücü", - "right-side": "Sağ taraf yerleşimi", - "left-side": "Sol taraf yerleşimi", + "right-side": "Sağ taraf düzeni", + "left-side": "Sol taraf düzeni", "add-new-breakpoint": "Yeni kırılma noktası ekle", "breakpoint": "Kırılma noktası", "breakpoints": "Kırılma noktaları", - "copy-from": "Kopyala", + "copy-from": "Şuradan kopyala", "size": "Boyut", - "delete-breakpoint-title": "Kırılma noktası '{{name}}' silinsin mi?", + "delete-breakpoint-title": "'{{name}}' kırılma noktasını silmek istediğinizden emin misiniz?", "delete-breakpoint-text": "Lütfen unutmayın, onaydan sonra kırılma noktası geri alınamaz hale gelecektir ve ayarlar varsayılan kırılma noktasına dönecektir." }, "legend": { @@ -5502,13 +6621,13 @@ "average-option": "Ortalama", "total-option": "Toplam", "latest-option": "Son", - "sort-legend": "Açıklamada veri anahtarlarını sırala", + "sort-legend": "Göstergede veri anahtarlarını sırala", "show-max": "Maksimum değeri göster", "show-min": "Minimum değeri göster", "show-avg": "Ortalama değeri göster", "show-total": "Toplam değeri göster", "show-latest": "Son değeri göster", - "settings": "Açıklama ayarları", + "settings": "Gösterge ayarları", "min": "min", "max": "maks", "avg": "ort", @@ -5522,10 +6641,10 @@ "comparison-time-ago": { "previousInterval": "(önceki aralık)", "customInterval": "(özel aralık)", - "days": "(gün önce)", - "weeks": "(hafta önce)", - "months": "(ay önce)", - "years": "(yıl önce)" + "days": "(bir gün önce)", + "weeks": "(bir hafta önce)", + "months": "(bir ay önce)", + "years": "(bir yıl önce)" }, "column-title": "Sütun başlığı", "label": "Etiket", @@ -5533,20 +6652,20 @@ }, "login": { "login": "Giriş", - "request-password-reset": "Şifre Sıfırlama Talebi", - "reset-password": "Şifreyi Sıfırla", - "create-password": "Şifre Oluştur", + "request-password-reset": "Parola sıfırlama iste", + "reset-password": "Parolayı Sıfırla", + "create-password": "Parola Oluştur", "two-factor-authentication": "İki adımlı doğrulama", - "passwords-mismatch-error": "Girilen şifreler aynı olmalıdır!", - "password-again": "Şifre tekrar", + "passwords-mismatch-error": "Girilen parolalar aynı olmalıdır!", + "password-again": "Parola tekrar", "sign-in": "Lütfen giriş yapın", "username": "Kullanıcı adı (e-posta)", "remember-me": "Beni hatırla", - "forgot-password": "Şifrenizi mi unuttunuz?", - "password-reset": "Şifre sıfırlama", - "expired-password-reset-message": "Kimlik bilgilerinizin süresi doldu! Lütfen yeni bir şifre oluşturun.", - "new-password": "Yeni şifre", - "new-password-again": "Yeni şifreyi onayla", + "forgot-password": "Parolanızı mı unuttunuz?", + "password-reset": "Parola sıfırlama", + "expired-password-reset-message": "Parolanızın süresi doldu! Lütfen yeni bir parola girin.", + "new-password": "Yeni parola", + "new-password-again": "Yeni parolayı onayla", "password-link-sent-message": "Sıfırlama bağlantısı gönderildi", "email": "E-posta", "invalid-email-format": "Geçersiz e-posta formatı.", @@ -5563,31 +6682,31 @@ "try-another-way": "Başka bir yol deneyin", "totp-auth-description": "Lütfen kimlik doğrulayıcı uygulamanızdaki güvenlik kodunu girin.", "totp-auth-placeholder": "Kod", - "sms-auth-description": "Telefonunuza {{contact}} numarasına bir güvenlik kodu gönderildi.", + "sms-auth-description": "{{contact}} numaralı telefonunuza bir güvenlik kodu gönderildi.", "sms-auth-placeholder": "SMS kodu", - "email-auth-description": "E-posta adresinize {{contact}} adresine bir güvenlik kodu gönderildi.", + "email-auth-description": "{{contact}} e-posta adresinize bir güvenlik kodu gönderildi.", "email-auth-placeholder": "E-posta kodu", "backup-code-auth-description": "Lütfen yedek kodlarınızdan birini girin.", "backup-code-auth-placeholder": "Yedek kod", "version-mask": "{{name}} v.{{version}}", "activation-link-expired": "Aktivasyon bağlantısının süresi doldu", "activation-link-expired-message": "Profilinizi aktifleştirmek için gönderilen bağlantının süresi doldu. Yeni bir e-posta almak için giriş sayfasına dönebilirsiniz.", - "reset-password-link-expired": "Şifre sıfırlama bağlantısının süresi doldu", - "reset-password-link-expired-message": "Şifre sıfırlama bağlantısının süresi doldu. Yeni bir e-posta almak için giriş sayfasına dönebilirsiniz.", + "reset-password-link-expired": "Parola sıfırlama bağlantısının süresi doldu", + "reset-password-link-expired-message": "Parola sıfırlama bağlantısının süresi doldu. Yeni bir e-posta almak için giriş sayfasına dönebilirsiniz.", "two-fa": "İki faktörlü kimlik doğrulama", "two-fa-required": "İki faktörlü kimlik doğrulama gereklidir", "set-up-verification-method": "Devam etmek için bir doğrulama yöntemi ayarlayın", "set-up-verification-method-login": "Bir doğrulama yöntemi ayarlayın veya giriş yapın", - "enable-authenticator-app": "Authenticator uygulamasını etkinleştir", + "enable-authenticator-app": "Kimlik doğrulayıcı uygulamasını etkinleştir", "enable-authenticator-app-description": "Lütfen doğrulama uygulamanızdan güvenlik kodunu girin", - "enable-authenticator-sms": "SMS doğrulayıcıyı etkinleştir", - "enable-authenticator-sms-description": "Az önce gönderdiğimiz 6 haneli kodu girin", - "enable-authenticator-email": "E-posta doğrulayıcıyı etkinleştir", - "enable-authenticator-email-description": "Bir güvenlik kodu, e-posta adresinize gönderildiği için lütfen kontrol edin", + "enable-authenticator-sms": "SMS kimlik doğrulayıcıyı etkinleştir", + "enable-authenticator-sms-description": "Şu numaraya az önce gönderdiğimiz 6 haneli kodu girin: ", + "enable-authenticator-email": "E-posta kimlik doğrulayıcıyı etkinleştir", + "enable-authenticator-email-description": "Şu e-posta adresinize bir güvenlik kodu gönderildi: ", "enter-key-manually": "veya bu 32 haneli anahtarı manuel olarak girin:", "continue": "Devam et", "confirm": "Onayla", - "authenticator-app-success": "Authenticator uygulaması başarıyla etkinleştirildi", + "authenticator-app-success": "Kimlik doğrulayıcı uygulaması başarıyla etkinleştirildi", "authenticator-app-success-description": "Bir dahaki sefere giriş yaptığınızda, iki faktörlü kimlik doğrulama kodu girmeniz gerekecek", "authenticator-sms-success": "SMS doğrulayıcı başarıyla etkinleştirildi", "authenticator-sms-success-description": "Bir dahaki sefere giriş yaptığınızda, telefon numarasına gönderilecek güvenlik kodunu girmeniz istenecektir", @@ -5600,23 +6719,23 @@ "copy-key": "Anahtarı kopyala", "send-code": "Kodu gönder", "email-label": "E-posta", - "email-description": "Doğrulayıcı olarak kullanmak için bir e-posta adresi girin.", - "sms-description": "Doğrulayıcı olarak kullanmak için bir telefon numarası girin.", - "backup-code-description": "Kodları yazdırarak, hesabınıza giriş yapmak için gerektiğinde kullanabilirsiniz. Her yedek kodu bir kez kullanılabilir.", - "backup-code-warn": "Bu sayfayı terk ettiğinizde, bu kodlar bir daha gösterilemez. Aşağıdaki seçenekleri kullanarak güvenli bir şekilde saklayın.", + "email-description": "Kimlik doğrulayıcı olarak kullanılacak bir e-posta girin.", + "sms-description": "Kimlik doğrulayıcı olarak kullanılacak bir telefon numarası girin.", + "backup-code-description": "Kodları yazdırın; böylece hesabınıza giriş yapmanız gerektiğinde elinizin altında olur. Her yedek kod yalnızca bir kez kullanılabilir.", + "backup-code-warn": "Bu sayfadan ayrıldığınızda, bu kodlar tekrar gösterilemez. Aşağıdaki seçenekleri kullanarak güvenli bir şekilde saklayın.", "download-txt": "İndir (txt)", "print": "Yazdır", "verification-code": "6 haneli kod", - "verification-code-invalid": "Geçersiz doğrulama kodu formatı", + "verification-code-invalid": "Geçersiz doğrulama kodu biçimi", "verification-code-incorrect": "Doğrulama kodu yanlış", - "verification-code-many-request": "Doğrulama kodunu kontrol etmek için çok fazla istek yapıldı", + "verification-code-many-request": "Doğrulama kodunu kontrol etmek için çok fazla istek gönderildi", "scan-qr-code": "Bu QR kodunu doğrulama uygulamanızla tarayın", "phone-input": { "phone-input-label": "Telefon numarası", "phone-input-required": "Telefon numarası gereklidir", - "phone-input-validation": "Telefon numarası geçersiz veya mümkün değil", + "phone-input-validation": "Telefon numarası geçersiz veya olası bir numara değil", "phone-input-pattern": "Geçersiz telefon numarası. E.164 formatında olmalıdır, örn. {{phoneNumber}}", - "phone-input-hint": "Telefon Numarası E.164 formatında olmalıdır, örn. {{phoneNumber}}" + "phone-input-hint": "E.164 formatında telefon numarası, örn. {{phoneNumber}}" } }, "signup": { @@ -5624,12 +6743,12 @@ "lastname": "Soyad", "email": "E-posta", "signup": "Kayıt ol", - "create-password": "Şifre oluştur", - "repeat-password": "Şifrenizi tekrar girin", + "create-password": "Parola oluştur", + "repeat-password": "Parolanızı tekrar girin", "have-account": "Zaten bir hesabınız var mı?", "signin": "Giriş yap", "no-captcha-message": "Robot olmadığınızı onaylamalısınız", - "password-length-message": "Şifreniz en az 6 karakter uzunluğunda olmalıdır", + "password-length-message": "Parolanız en az 6 karakter uzunluğunda olmalıdır", "email-verification": "E-posta doğrulama", "email-verification-message": "Belirtilen e-posta adresine doğrulama bilgilerini içeren bir e-posta gönderildi.
    Lütfen kayıt işlemini tamamlamak için e-postadaki talimatları izleyin.
    Not: Eğer e-postayı görmüyorsanız, 'spam' klasörünüzü kontrol edin ya da 'Yeniden Gönder' düğmesine tıklayarak tekrar göndermeyi deneyin.", "account-activation-title": "Hesap aktivasyonu", @@ -5661,7 +6780,7 @@ "app-id-pattern": "Geçersiz Uygulama Kimliği formatı", "app-store-link": "App Store bağlantısı", "app-store-link-required": "App Store bağlantısı gereklidir", - "application-details": "Uygulama detayları", + "application-details": "Uygulama ayrıntıları", "application-package": "Uygulama paketi", "application-secret": "Uygulama gizli anahtarı", "application-secret-required": "Uygulama gizli anahtarı gereklidir", @@ -5675,19 +6794,20 @@ "copy-sha256-certificate-fingerprints": "SHA256 sertifika parmak izini kopyala", "delete-application": "Uygulamayı sil", "delete-application-button-text": "Sonuçlarını anlıyorum, uygulamayı sil", - "delete-application-text": "Bu işlem geri alınamaz. Bu, uygulamanızı kalıcı olarak silecektir.
    Eğer kalıcı olarak silmek istemiyorsanız uygulamayı geçici olarak askıya alabilirsiniz.
    Silmek için lütfen onaylamak için \"{{phrase}}\" yazın.", - "delete-application-title-short": "‘{{name}}’ adlı uygulamayı silmek istediğinize emin misiniz?", + "delete-application-text": "Bu işlem geri alınamaz. Bu, uygulamanızı kalıcı olarak silecektir.
    Eğer kalıcı olarak silmek istemiyorsanız uygulamayı geçici olarak askıya alabilirsiniz.
    Uygulamayı yine de silmek istiyorsanız, onaylamak için lütfen \"{{phrase}}\" yazın.", + "delete-application-title-short": "‘{{name}}’ adlı uygulamayı silmek istediğinizden emin misiniz?", "delete-application-text-short": "Dikkatli olun, onaydan sonra uygulama ve tüm ilgili veriler geri alınamaz hale gelecektir.", "delete-application-phrase": "uygulamayı sil", "delete-applications-bundle-text": "Dikkatli olun, onaydan sonra mobil paket ve tüm ilgili veriler geri alınamaz hale gelecektir.", - "delete-applications-bundle-title": "‘{{bundleName}}’ adlı mobil paketi silmek istediğinize emin misiniz?", + "delete-applications-bundle-title": "‘{{bundleName}}’ adlı mobil paketi silmek istediğinizden emin misiniz?", "generate-application-secret": "Uygulama gizli anahtarı oluştur", "google-play-link": "Google Play bağlantısı", "google-play-link-required": "Google Play bağlantısı gereklidir", "latest-version": "En son sürüm", "min-version": "Minimum sürüm", "invalid-version-pattern": "Geçersiz sürüm formatı. Lütfen şu formatı kullanın: major.minor.patch (örn., 1.0.0).", - "mobile-center": "Mobil merkezi", + "mobile-center": "Mobil merkez", + "mobile-apps": "Mobil uygulamalar", "mobile-package": "Uygulama paketi", "mobile-package-max-length": "Uygulama paketi 256 karakterden kısa olmalıdır", "mobile-package-required": "Uygulama paketi gereklidir.", @@ -5713,15 +6833,15 @@ }, "store-information": "Mağaza bilgisi", "version-information": "Sürüm bilgisi", - "min-version-release-notes": "Minimum sürüm sürüm notları", - "latest-version-release-notes": "En son sürüm sürüm notları", + "min-version-release-notes": "Minimum sürümün sürüm notları", + "latest-version-release-notes": "En son sürümün sürüm notları", "bundle": "Paket", "bundles": "Paketler", "add-bundle": "Paket ekle", "title": "Başlık", "title-required": "Başlık gereklidir", "title-cannot-contain-only-spaces": "Başlık yalnızca boşluk içeremez", - "title-max-length": "Başlık 256 karakterden az olmalıdır", + "title-max-length": "Başlık 256 karakterden kısa olmalıdır", "oauth-clients": "OAuth 2.0 istemcileri", "android-app": "Android Uygulaması", "android-application": "Android Uygulaması", @@ -5739,7 +6859,7 @@ "bundle-required": "Paket gereklidir.", "no-application-text": "Hiç uygulama bulunamadı", "no-bundle-text": "Hiç paket bulunamadı", - "layout": "Yerleşim", + "layout": "Düzen", "pages": "Sayfalar", "hide-all-pages": "Tüm sayfaları gizle", "reset-to-default-pages": "Sayfaları varsayılana sıfırla", @@ -5756,7 +6876,7 @@ "page-name-max-length": "Sayfa adı 256 karakterden kısa olmalıdır", "page-type": "Sayfa türü", "pages-types": { - "dashboard": "Kontrol paneli", + "dashboard": "Pano", "web-view": "Web görünümü", "custom": "Özel" }, @@ -5768,21 +6888,21 @@ "edit-page": "Sayfayı düzenle", "edit-custom-page": "Özel sayfayı düzenle", "delete-page": "Sayfayı sil", - "qr-code-widget": "QR kod bileşeni", + "qr-code-widget": "QR kod widget'ı", "type-here": "Buraya yazın", "configuration-dialog": "Yapılandırma penceresi", - "configuration-app": "Yapılandırma uygulaması", + "configuration-app": "Uygulamayı yapılandır", "configuration-step": { "prepare-environment-title": "Geliştirme ortamını hazırla", "prepare-environment-text": "Flutter ThingsBoard Mobil Uygulaması, Flutter SDK gerektirir. Flutter SDK'yı kurmak için talimatları izleyin.", "get-source-code-title": "Uygulama kaynak kodunu edinin", - "get-source-code-text": "Flutter ThingsBoard Mobil Uygulaması'nın kaynak kodunu GitHub deposundan klonlayarak edinebilirsiniz:", + "get-source-code-text": "Flutter ThingsBoard Mobil Uygulamasının kaynak kodunu GitHub deposundan klonlayarak edinebilirsiniz:", "configure-app-settings-title": "Uygulama ayarlarını yapılandır", "configure-app-settings-text": "Yapılandırma dosyasını indirip, bir önceki adımda klonladığınız projenin kök dizinine yerleştirin.", "download-file": "Dosyayı indir", "run-app-title": "Uygulamayı çalıştır", "run-app-text": "IDE'nizde açıklandığı şekilde uygulamayı çalıştırın.\nTerminal kullanıyorsanız, aşağıdaki komutla uygulamayı çalıştırın:", - "more-information": "Detaylı bilgiye Başlarken dokümantasyonumuzdan ulaşabilirsiniz.", + "more-information": "Ayrıntılı bilgiye Başlarken dokümantasyonumuzdan ulaşabilirsiniz.", "getting-started": "Başlarken" }, "self-registration": { @@ -5807,8 +6927,11 @@ "reset-self-registration-text": "Dikkatli olun, onayladıktan sonra tüm ayarlar kaybolacak ve geri alınamayacaktır." } }, + "monitor": { + "monitor": "İzleme" + }, "notification": { - "ai-assistant-initial-prompt-placeholder": "Neyi kurmak istediğinizi açıklayın...", + "ai-assistant-initial-prompt-placeholder": "Neyi ayarlamak istediğinizi açıklayın...", "ai-assistant-example-explain-label": "Bildirimler nasıl çalışır", "ai-assistant-example-explain-message": "ThingsBoard'da bildirimlerin nasıl çalıştığını açıkla.", "ai-assistant-example-inactivity-label": "Cihaz çevrimdışı e-postası", @@ -5832,7 +6955,7 @@ "api-usage-trigger-settings": "API kullanım tetikleyici ayarları", "new-platform-version-trigger-settings": "Yeni platform sürümü tetikleyici ayarları", "rate-limits-trigger-settings": "Aşılmış hız sınırı tetikleyici ayarları", - "task-processing-failure-trigger-settings": "Görev işleme hatası tetikleyici ayarları", + "task-processing-failure-trigger-settings": "Görev işleme hatası tetikleyicisi ayarları", "resources-shortage-trigger-settings": "Kaynak yetersizliği tetikleyici ayarları", "at-least-one-should-be-selected": "En az bir tane seçilmelidir", "basic-settings": "Temel ayarlar", @@ -5852,23 +6975,23 @@ "delete-notification-text": "Dikkatli olun, onaydan sonra bildirim geri alınamaz hale gelecektir.", "delete-notification-title": "Bu bildirimi silmek istediğinizden emin misiniz?", "delete-notifications-text": "Dikkatli olun, onaydan sonra bildirimler geri alınamaz hale gelecektir.", - "delete-notifications-title": "{ count, plural, =1 {1 bildirim} other {# bildirim} } silmek istediğinizden emin misiniz?", + "delete-notifications-title": "{ count, plural, =1 {1 bildirimi} other {# bildirimi} } silmek istediğinizden emin misiniz?", "delete-recipient-text": "Dikkatli olun, onaydan sonra alıcı geri alınamaz hale gelecektir.", "delete-recipient-title": "'{{recipientName}}' alıcısını silmek istediğinizden emin misiniz?", "delete-recipients-text": "Dikkatli olun, onaydan sonra alıcılar geri alınamaz hale gelecektir.", - "delete-recipients-title": "{ count, plural, =1 {1 alıcı} other {# alıcı} } silmek istediğinizden emin misiniz?", + "delete-recipients-title": "{ count, plural, =1 {1 alıcıyı} other {# alıcıyı} } silmek istediğinizden emin misiniz?", "delete-request-text": "Dikkatli olun, onaydan sonra istek geri alınamaz hale gelecektir.", "delete-request-title": "Bu isteği silmek istediğinizden emin misiniz?", "delete-requests-text": "Dikkatli olun, onaydan sonra istekler geri alınamaz hale gelecektir.", - "delete-requests-title": "{ count, plural, =1 {1 istek} other {# istek} } silmek istediğinizden emin misiniz?", + "delete-requests-title": "{ count, plural, =1 {1 isteği} other {# isteği} } silmek istediğinizden emin misiniz?", "delete-rule-text": "Dikkatli olun, onaydan sonra kural geri alınamaz hale gelecektir.", "delete-rule-title": "'{{ruleName}}' kuralını silmek istediğinizden emin misiniz?", "delete-rules-text": "Dikkatli olun, onaydan sonra kurallar geri alınamaz hale gelecektir.", - "delete-rules-title": "{ count, plural, =1 {1 kural} other {# kural} } silmek istediğinizden emin misiniz?", + "delete-rules-title": "{ count, plural, =1 {1 kuralı} other {# kuralı} } silmek istediğinizden emin misiniz?", "delete-template-text": "Dikkatli olun, onaydan sonra şablon geri alınamaz hale gelecektir.", "delete-template-title": "'{{templateName}}' şablonunu silmek istediğinizden emin misiniz?", "delete-templates-text": "Dikkatli olun, onaydan sonra şablonlar geri alınamaz hale gelecektir.", - "delete-templates-title": "{ count, plural, =1 {1 şablon} other {# şablon} } silmek istediğinizden emin misiniz?", + "delete-templates-title": "{ count, plural, =1 {1 şablonu} other {# şablonu} } silmek istediğinizden emin misiniz?", "deleted": "Silindi", "delivery-method": { "delivery-method": "Teslimat yöntemi", @@ -5902,9 +7025,9 @@ "edit-rule": "Kuralı düzenle", "edit-template": "Şablonu düzenle", "enabled": "Etkin", - "entities-limit-trigger-settings": "Varlık sınırı tetikleyici ayarları", - "entity-action-trigger-settings": "Varlık eylemi tetikleyici ayarları", - "entity-type": "Varlık tipi", + "entities-limit-trigger-settings": "Öğe sınırı tetikleyici ayarları", + "entity-action-trigger-settings": "Öğe eylemi tetikleyici ayarları", + "entity-type": "Öğe türü", "escalation-chain": "Yükseltme zinciri", "failed-send": "Gönderim hataları", "fails": "{ count, plural, =1 {1 hata} other {# hata} }", @@ -5931,24 +7054,25 @@ "message": "Mesaj", "message-required": "Mesaj gereklidir", "message-max-length": "Mesaj en fazla {{ length }} karakter olmalıdır", - "name": "İsim", - "name-required": "İsim gereklidir", + "name": "Ad", + "name-required": "Ad gereklidir", "new-notification": "Yeni bildirim", "no-inbox-notification": "Bildirim bulunamadı", "no-notification-request": "Bildirim isteği yok", "no-notification-templates": "Bildirim şablonu bulunamadı", "no-notifications-yet": "Henüz bildirim yok", - "no-recipients-notification": "Alıcı bulunamadı bildirimi", + "no-recipients-notification": "Bildirim alıcısı yok", "no-recipients-matching": "'{{entity}}' ile eşleşen alıcı bulunamadı.", "no-recipients-text": "Alıcı bulunamadı", "no-rule": "Kural yapılandırılmamış", - "no-rules-notification": "Kural bildirimi yok", - "no-severity-found": "Önem seviyesi bulunamadı", + "no-rules-notification": "Bildirim kuralı yok", + "no-severity-found": "Önem derecesi bulunamadı", "no-severity-matching": "'{{severity}}' bulunamadı.", - "no-template-matching": "'{{template}}' ile eşleşen kaynak bulunamadı.", + "no-template-matching": "'{{template}}' ile eşleşen şablon bulunamadı.", "create-new-template": "Yeni bir tane oluştur!", "not-found-slack-recipient": "Slack alıcısı bulunamadı", "notification": "Bildirim", + "notifications": "Bildirimler", "notification-center": "Bildirim merkezi", "notification-tap-action": "Bildirim dokunma eylemi", "notification-tap-action-hint": "Etkin değilse, varsayılan alarm panosu kullanılacaktır", @@ -5959,7 +7083,7 @@ "assigned": "Alarm atandı", "cleared": "Alarm temizlendi", "created": "Alarm oluşturuldu", - "severity-changed": "Alarm şiddeti değişti", + "severity-changed": "Alarm önem derecesi değişti", "unassigned": "Alarm ataması kaldırıldı" }, "notify-on": "Bildirim tetikleyicisi", @@ -5987,7 +7111,7 @@ "user-group-list": "Kullanıcı grup listesi", "user-list": "Kullanıcı listesi", "user-role": "Kullanıcı rolü", - "users-entity-owner": "Varlık sahibinin kullanıcıları" + "users-entity-owner": "Öğe sahibinin kullanıcıları" }, "recipients": "Alıcılar", "notification-recipient": "Bildirim alıcısı", @@ -6027,18 +7151,18 @@ "selected-template": "{ count, plural, =1 {1 şablon} other {# şablon} } seçildi", "send-notification": "Bildirim gönder", "sent": "Gönderildi", - "setup": "Kurulum", + "setup": "Ayarlar", "notification-sent": "Bildirimler / Gönderilen", - "set-entity-from-notification": "Bildirimden varlık ayarla ve pano durumuna geçir", + "set-entity-from-notification": "Bildirimden öğe ayarla ve pano durumuna geçir", "slack-chanel-type": "Slack kanal türü", "slack-chanel-types": { "direct": "Doğrudan mesaj", "private-channel": "Özel kanal", - "public-channel": "Genel kanal" + "public-channel": "Herkese açık kanal" }, "start-from-scratch": "Sıfırdan başla", "status": "Durum", - "stop-escalation-alarm-status-become": "Alarm durumu olduğunda artan bildirimleri durdur:", + "stop-escalation-alarm-status-become": "Alarm durumu şunlardan biri olduğunda yükseltmeyi durdur:", "storage-threshold": "Depolama eşiği", "subject": "Konu", "subject-required": "Konu gereklidir", @@ -6052,10 +7176,12 @@ "alarm-comment": "Alarm yorumu", "api-usage-limit": "API kullanım limiti", "device-activity": "Cihaz etkinliği", - "entities-limit": "Varlık sınırı", - "entities-limit-increase-request": "Varlık sınırı artırma talebi", + "entities-limit": "Öğe sınırı", + "entities-limit-increase-request": "Öğe sınırı artırma talebi", "addon-access-error": "Eklenti/Özellik erişim hatası", - "entity-action": "Varlık işlemi", + "addon-access-request": "Eklenti/özellik erişim talebi", + "plan-upgrade-request": "Plan yükseltme talebi", + "entity-action": "Öğe eylemi", "general": "Genel", "integration-lifecycle-event": "Entegrasyon yaşam döngüsü olayı", "rule-engine-lifecycle-event": "Kural motoru yaşam döngüsü olayı", @@ -6084,8 +7210,8 @@ "alarm-comment": "Alarm yorumu", "api-usage-limit": "API kullanım limiti", "device-activity": "Cihaz etkinliği", - "entities-limit": "Varlık sınırı", - "entity-action": "Varlık işlemi", + "entities-limit": "Öğe sınırı", + "entity-action": "Öğe eylemi", "integration-lifecycle-event": "Entegrasyon yaşam döngüsü olayı", "rule-engine-lifecycle-event": "Kural motoru yaşam döngüsü olayı", "new-platform-version": "Yeni platform sürümü", @@ -6150,9 +7276,9 @@ "copied": "Kopyalandı!", "delete": "Paketi sil", "delete-ota-update-text": "Dikkatli olun, onaydan sonra OTA güncellemesi geri alınamaz hale gelecektir.", - "delete-ota-update-title": "OTA güncellemesi '{{title}}' silinsin mi?", + "delete-ota-update-title": "'{{title}}' OTA güncellemesini silmek istediğinizden emin misiniz?", "delete-ota-updates-text": "Dikkatli olun, onaydan sonra seçilen tüm OTA güncellemeleri silinecektir.", - "delete-ota-updates-title": "{ count, plural, =1 {1 OTA güncellemesi} other {# OTA güncellemesi} } silinsin mi?", + "delete-ota-updates-title": "{ count, plural, =1 {1 OTA güncellemesini} other {# OTA güncellemesini} } silmek istediğinizden emin misiniz?", "description": "Açıklama", "direct-url": "Doğrudan URL", "direct-url-copied-message": "Paketin doğrudan URL'si panoya kopyalandı", @@ -6164,10 +7290,10 @@ "file-size": "Dosya boyutu", "file-size-bytes": "Bayt cinsinden dosya boyutu", "idCopiedMessage": "Paket kimliği panoya kopyalandı", - "no-firmware-matching": "Uygun Firmware OTA güncelleme paketi '{{entity}}' için bulunamadı.", - "no-firmware-text": "Uygun Firmware OTA güncelleme paketi yok.", + "no-firmware-matching": "'{{entity}}' ile eşleşen uyumlu ürün yazılımı OTA güncelleme paketi bulunamadı.", + "no-firmware-text": "Uyumlu ürün yazılımı OTA güncelleme paketi yok.", "no-packages-text": "Paket bulunamadı", - "no-software-matching": "Uygun Yazılım OTA güncelleme paketi '{{entity}}' için bulunamadı.", + "no-software-matching": "'{{entity}}' ile eşleşen uyumlu yazılım OTA güncelleme paketi bulunamadı.", "no-software-text": "Uygun Yazılım OTA güncelleme paketi yok.", "ota-update": "OTA güncellemesi", "ota-update-details": "OTA güncelleme ayrıntıları", @@ -6202,13 +7328,13 @@ "profile": { "profile": "Profil", "last-login-time": "Son Giriş", - "change-password": "Şifreyi Değiştir", - "current-password": "Mevcut şifre", - "copy-jwt-token": "JWT jetonunu kopyala", - "jwt-token": "JWT jetonu", - "token-valid-till": "Jeton geçerlilik süresi", - "tokenCopiedSuccessMessage": "JWT jetonu panoya kopyalandı", - "tokenCopiedWarnMessage": "JWT jetonu süresi dolmuş! Lütfen sayfayı yenileyin." + "change-password": "Parolayı Değiştir", + "current-password": "Mevcut parola", + "copy-jwt-token": "JWT belirtecini kopyala", + "jwt-token": "JWT belirteci", + "token-valid-till": "Belirteç geçerlilik süresi", + "tokenCopiedSuccessMessage": "JWT belirteci panoya kopyalandı", + "tokenCopiedWarnMessage": "JWT belirtecinin süresi dolmuş! Lütfen sayfayı yenileyin." }, "profiles": { "profiles": "Profiller" @@ -6236,29 +7362,29 @@ "activation-step-description-sms": "Bir dahaki girişinizde, telefon numaranıza gönderilecek güvenlik kodunu girmeniz istenecek.", "activation-step-description-totp": "Bir dahaki girişinizde, iki faktörlü kimlik doğrulama kodu sağlamanız gerekecek.", "activation-step-label": "Etkinleştirme", - "backup-code-description": "Yedek kodları yazdırın, böylece hesabınıza giriş yapmak için ihtiyaç duyduğunuzda elinizin altında olur. Her bir yedek kod yalnızca bir kez kullanılabilir.", + "backup-code-description": "Kodları yazdırın; böylece hesabınıza giriş yapmanız gerektiğinde elinizin altında olur. Her yedek kod yalnızca bir kez kullanılabilir.", "backup-code-warn": "Bu sayfadan ayrıldığınızda, bu kodlar tekrar gösterilemez. Aşağıdaki seçenekleri kullanarak güvenli bir şekilde saklayın.", "download-txt": "İndir (txt)", "email-step-description": "Kimlik doğrulayıcı olarak kullanılacak bir e-posta girin.", "email-step-label": "E-posta", "enable-email-title": "E-posta kimlik doğrulayıcıyı etkinleştir", "enable-sms-title": "SMS kimlik doğrulayıcıyı etkinleştir", - "enable-totp-title": "Kimlik doğrulama uygulamasını etkinleştir", + "enable-totp-title": "Kimlik doğrulayıcı uygulamasını etkinleştir", "enter-verification-code": "6 haneli kodu buraya girin", - "get-backup-code-title": "Yedek kod al", + "get-backup-code-title": "Yedek kodu al", "next": "İleri", - "scan-qr-code": "Doğrulama uygulamanızla bu QR kodunu tarayın", + "scan-qr-code": "Bu QR kodunu doğrulama uygulamanızla tarayın", "send-code": "Kodu gönder", "sms-step-description": "Kimlik doğrulayıcı olarak kullanılacak bir telefon numarası girin.", "sms-step-label": "Telefon Numarası", "success": "Başarılı!", - "totp-step-description-install": "Google Authenticator, Authy veya Duo gibi uygulamaları yükleyebilirsiniz.", + "totp-step-description-install": "Google Authenticator, Authy veya Duo gibi uygulamaları kurabilirsiniz.", "totp-step-description-open": "Mobil telefonunuzda kimlik doğrulayıcı uygulamasını açın.", - "totp-step-label": "Uygulama edin", + "totp-step-label": "Uygulamayı edinin", "verification-code": "6 haneli kod", "verification-code-invalid": "Geçersiz doğrulama kodu biçimi", "verification-code-incorrect": "Doğrulama kodu yanlış", - "verification-code-many-request": "Çok fazla istek gönderildi, doğrulama kodunu kontrol edin", + "verification-code-many-request": "Doğrulama kodunu kontrol etmek için çok fazla istek gönderildi", "verification-step-description": "{{address}} adresine yeni gönderdiğimiz 6 haneli kodu girin", "verification-step-label": "Doğrulama" }, @@ -6287,13 +7413,13 @@ "password-tooltip-lowercase": "{{minimumLowercaseLetters}} küçük harf karakter", "password-tooltip-digit": "{{minimumDigits}} rakam", "password-tooltip-special-characters": "{{minimumSpecialCharacters}} özel karakter", - "incorrect-password-try-again": "Hatalı şifre. Lütfen tekrar deneyin", + "incorrect-password-try-again": "Hatalı parola. Lütfen tekrar deneyin", "lowercase-letter": "{ count, plural, =1 {1 küçük harf} other {# küçük harf} }", - "new-passwords-not-match": "Yeni şifreler eşleşmedi", - "password-should-not-contain-spaces": "Şifreniz boşluk karakteri içermemelidir", - "password-not-meet-requirements": "Şifre gereksinimlerini karşılamıyor", - "password-requirements": "Şifre gereksinimleri", - "password-should-difference": "Yeni şifre mevcut şifreden farklı olmalıdır", + "new-passwords-not-match": "Yeni parolalar eşleşmedi", + "password-should-not-contain-spaces": "Parolanız boşluk karakteri içermemelidir", + "password-not-meet-requirements": "Parola gereksinimlerini karşılamıyor", + "password-requirements": "Parola gereksinimleri", + "password-should-difference": "Yeni parola mevcut paroladan farklı olmalıdır", "special-character": "{ count, plural, =1 {1 özel karakter} other {# özel karakter} }", "uppercase-letter": "{ count, plural, =1 {1 büyük harf} other {# büyük harf} }", "at-most": "En fazla:" @@ -6315,12 +7441,12 @@ "to-relations": "Gelen ilişkiler", "selected-relations": "{ count, plural, =1 {1 ilişki} other {# ilişki} } seçildi", "type": "Tür", - "to-entity-type": "Hedef varlık türü", - "to-entity-name": "Hedef varlık adı", - "from-entity-type": "Kaynak varlık türü", - "from-entity-name": "Kaynak varlık adı", - "to-entity": "Hedef varlık", - "from-entity": "Kaynak varlık", + "to-entity-type": "Hedef öğe türü", + "to-entity-name": "Hedef öğe adı", + "from-entity-type": "Kaynak öğe türü", + "from-entity-name": "Kaynak öğe adı", + "to-entity": "Hedef öğe", + "from-entity": "Kaynak öğe", "delete": "İlişkiyi sil", "relation-type": "İlişki türü", "relation-type-required": "İlişki türü gereklidir.", @@ -6329,14 +7455,14 @@ "add": "İlişki ekle", "edit": "İlişkiyi düzenle", "view": "İlişkiyi görüntüle", - "delete-to-relation-title": "'{{entityName}}' varlığına olan ilişkiyi silmek istediğinizden emin misiniz?", - "delete-to-relation-text": "Dikkatli olun, onaydan sonra '{{entityName}}' varlığı mevcut varlıkla ilişkilendirilmemiş olacak.", - "delete-to-relations-title": "{ count, plural, =1 {1 ilişki} other {# ilişki} } silmek istediğinizden emin misiniz?", - "delete-to-relations-text": "Dikkatli olun, onaydan sonra tüm seçili ilişkiler silinecek ve karşılık gelen varlıklarla bağlantı kaldırılacak.", - "delete-from-relation-title": "'{{entityName}}' varlığından olan ilişkiyi silmek istediğinizden emin misiniz?", - "delete-from-relation-text": "Dikkatli olun, onaydan sonra mevcut varlık '{{entityName}}' varlığıyla ilişkilendirilmemiş olacak.", - "delete-from-relations-title": "{ count, plural, =1 {1 ilişki} other {# ilişki} } silmek istediğinizden emin misiniz?", - "delete-from-relations-text": "Dikkatli olun, onaydan sonra tüm seçili ilişkiler silinecek ve mevcut varlık, karşılık gelen varlıklarla ilişkilendirilmemiş olacak.", + "delete-to-relation-title": "'{{entityName}}' öğesine olan ilişkiyi silmek istediğinizden emin misiniz?", + "delete-to-relation-text": "Dikkatli olun, onaydan sonra '{{entityName}}' öğesi mevcut öğeyle ilişkilendirilmemiş olacak.", + "delete-to-relations-title": "{ count, plural, =1 {1 ilişkiyi} other {# ilişkiyi} } silmek istediğinizden emin misiniz?", + "delete-to-relations-text": "Dikkatli olun, onaydan sonra tüm seçili ilişkiler silinecek ve karşılık gelen öğelerle bağlantı kaldırılacak.", + "delete-from-relation-title": "'{{entityName}}' öğesinden olan ilişkiyi silmek istediğinizden emin misiniz?", + "delete-from-relation-text": "Dikkatli olun, onaydan sonra mevcut öğe '{{entityName}}' öğesiyle ilişkilendirilmemiş olacak.", + "delete-from-relations-title": "{ count, plural, =1 {1 ilişkiyi} other {# ilişkiyi} } silmek istediğinizden emin misiniz?", + "delete-from-relations-text": "Dikkatli olun, onaydan sonra tüm seçili ilişkiler silinecek ve mevcut öğe, karşılık gelen öğelerle ilişkilendirilmemiş olacak.", "remove-relation-filter": "İlişki filtresini kaldır", "remove-filter": "Filtreyi kaldır", "add-relation-filter": "İlişki filtresi ekle", @@ -6347,7 +7473,7 @@ "invalid-additional-info": "Ek bilgi json'u ayrıştırılamadı.", "no-relations-text": "İlişki bulunamadı", "not": "Değil", - "copy-type": "Kopyalama türü" + "copy-type": "Türü kopyala" }, "resource": { "add": "Kaynak ekle", @@ -6356,9 +7482,9 @@ "delete": "Kaynağı sil", "delete-resource-text": "Dikkatli olun, onaydan sonra kaynak geri alınamaz hale gelecek.", "delete-resource-title": "'{{resourceTitle}}' kaynağını silmek istediğinizden emin misiniz?", - "delete-resources-action-title": "{ count, plural, =1 {1 kaynak} other {# kaynak} } sil", + "delete-resources-action-title": "{ count, plural, =1 {1 kaynağı} other {# kaynağı} } sil", "delete-resources-text": "Lütfen dikkat, seçilen kaynaklar cihaz profillerinde kullanılsa bile silinecektir.", - "delete-resources-title": "{ count, plural, =1 {1 kaynak} other {# kaynak} } silmek istediğinizden emin misiniz?", + "delete-resources-title": "{ count, plural, =1 {1 kaynağı} other {# kaynağı} } silmek istediğinizden emin misiniz?", "download": "Kaynağı indir", "drop-file": "Bir kaynak dosyasını bırakın veya yüklemek için tıklayın.", "drop-resource-file-or": "Bir kaynak dosyasını sürükleyip bırakın ya da", @@ -6374,6 +7500,7 @@ "resource-library-details": "Kaynak ayrıntıları", "resource-type": "Kaynak türü", "resources-library": "Kaynak kitaplığı", + "files": "Dosyalar", "search": "Kaynakları ara", "selected-resources": "{ count, plural, =1 {1 kaynak} other {# kaynak} } seçildi", "system": "Sistem", @@ -6394,10 +7521,10 @@ "extension": "Uzantı", "module": "Modül" }, - "resource-is-in-use": "Kaynak diğer varlıklar tarafından kullanılıyor", - "resources-are-in-use": "Kaynaklar diğer varlıklar tarafından kullanılıyor", - "resource-is-in-use-text": "Kaynak '{{title}}' aşağıdaki varlıklar tarafından kullanıldığı için silinmedi:", - "resources-are-in-use-text": "Tüm kaynaklar silinmedi çünkü bazıları diğer varlıklar tarafından kullanılıyor.
    İlgili varlıkları, ilgili kaynak satırındaki Referanslar düğmesine tıklayarak görüntüleyebilirsiniz.
    Bu kaynakları yine de silmek istiyorsanız, aşağıdaki tabloda onları seçin ve Seçilenleri Sil düğmesine tıklayın.", + "resource-is-in-use": "Kaynak diğer öğeler tarafından kullanılıyor", + "resources-are-in-use": "Kaynaklar diğer öğeler tarafından kullanılıyor", + "resource-is-in-use-text": "'{{title}}' kaynağı aşağıdaki öğeler tarafından kullanıldığı için silinmedi:", + "resources-are-in-use-text": "Tüm kaynaklar silinmedi çünkü bazıları diğer öğeler tarafından kullanılıyor.
    Referans verilen öğeleri, ilgili kaynak satırındaki Referanslar düğmesine tıklayarak görüntüleyebilirsiniz.
    Bu kaynakları yine de silmek istiyorsanız, aşağıdaki tabloda onları seçin ve Seçilenleri Sil düğmesine tıklayın.", "delete-resource-in-use-text": "Kaynağı yine de silmek istiyorsanız Yine de Sil düğmesine tıklayın." }, "javascript": { @@ -6405,9 +7532,9 @@ "delete": "JavaScript kaynağını sil", "delete-javascript-resource-text": "Dikkatli olun, onaydan sonra JavaScript kaynağı geri alınamaz hale gelecek.", "delete-javascript-resource-title": "'{{resourceTitle}}' JavaScript kaynağını silmek istediğinizden emin misiniz?", - "delete-javascript-resources-action-title": "JavaScript { count, plural, =1 {1 kaynak} other {# kaynak} } sil", + "delete-javascript-resources-action-title": "{ count, plural, =1 {1 JavaScript kaynağını} other {# JavaScript kaynağını} } sil", "delete-javascript-resources-text": "Lütfen dikkat, seçilen JavaScript kaynakları JavaScript fonksiyonlarında kullanılsa bile silinecektir.", - "delete-javascript-resources-title": "JavaScript { count, plural, =1 {1 kaynak} other {# kaynak} } silmek istediğinizden emin misiniz?", + "delete-javascript-resources-title": "{ count, plural, =1 {1 JavaScript kaynağını} other {# JavaScript kaynağını} } silmek istediğinizden emin misiniz?", "delete-javascript-resource-in-use-text": "Yine de JavaScript kaynağını silmek istiyorsanız Yine de sil düğmesine tıklayın.", "download": "JavaScript kaynağını indir", "upload-from-file": "Dosyadan JavaScript yükle", @@ -6416,11 +7543,13 @@ "drop-resource-file-or": "Bir JavaScript dosyasını sürükleyip bırakın ya da", "javascript-library": "JavaScript kütüphanesi", "javascript-type": "JavaScript türü", + "scripts": "Betikler", + "script-type": "Betik türü", "javascript-resource-details": "JavaScript kaynağı ayrıntıları", - "javascript-resource-is-in-use": "JavaScript kaynağı başka varlıklar tarafından kullanılıyor", - "javascript-resources-are-in-use": "JavaScript kaynakları başka varlıklar tarafından kullanılıyor", - "javascript-resource-is-in-use-text": "'{{title}}' JavaScript kaynağı silinmedi çünkü aşağıdaki varlıklar tarafından kullanılıyor:", - "javascript-resources-are-in-use-text": "Tüm JavaScript kaynakları silinmedi çünkü bazıları başka varlıklar tarafından kullanılıyor.
    İlgili varlıkları Referanslar düğmesine tıklayarak görebilirsiniz.
    Bu JavaScript kaynaklarını yine de silmek istiyorsanız, tabloda seçim yaparak Seçileni sil düğmesine tıklayın.", + "javascript-resource-is-in-use": "JavaScript kaynağı başka öğeler tarafından kullanılıyor", + "javascript-resources-are-in-use": "JavaScript kaynakları başka öğeler tarafından kullanılıyor", + "javascript-resource-is-in-use-text": "'{{title}}' JavaScript kaynağı silinmedi çünkü aşağıdaki öğeler tarafından kullanılıyor:", + "javascript-resources-are-in-use-text": "Tüm JavaScript kaynakları silinmedi çünkü bazıları başka öğeler tarafından kullanılıyor.
    Referans verilen öğeleri Referanslar düğmesine tıklayarak görebilirsiniz.
    Bu JavaScript kaynaklarını yine de silmek istiyorsanız, tabloda seçim yaparak Seçilenleri sil düğmesine tıklayın.", "search": "JavaScript kaynaklarını ara", "selected-javascript-resources": "{ count, plural, =1 {1 JavaScript kaynağı} other {# JavaScript kaynağı} } seçildi", "no-javascript-resource-text": "Hiç JavaScript kaynağı bulunamadı", @@ -6430,7 +7559,7 @@ "rpc": { "error": { "target-device-is-not-set": "Hedef cihaz ayarlanmadı!", - "invalid-target-entity": "RPC komutları {{entityType}} varlığı tarafından desteklenmiyor.", + "invalid-target-entity": "RPC komutları {{entityType}} öğesi tarafından desteklenmiyor.", "failed-to-resolve-target-device": "Hedef cihaz çözümlenemedi!", "request-timeout": "İstek zaman aşımına uğradı", "rpc-http-error": "Hata: {{status}} - {{statusText}}" @@ -6442,9 +7571,9 @@ "rulechains": "Kural zincirleri", "root": "Kök", "delete": "Kural zincirini sil", - "name": "İsim", - "name-required": "İsim gereklidir.", - "name-max-length": "İsim 256 karakterden kısa olmalıdır", + "name": "Ad", + "name-required": "Ad gereklidir.", + "name-max-length": "Ad 256 karakterden kısa olmalıdır", "description": "Açıklama", "add": "Kural zinciri ekle", "set-root": "Kural zincirini kök yap", @@ -6452,13 +7581,13 @@ "set-root-rulechain-text": "Onaydan sonra bu kural zinciri kök olacak ve tüm gelen taşıma mesajlarını işleyecek.", "delete-rulechain-title": "'{{ruleChainName}}' kural zincirini silmek istediğinizden emin misiniz?", "delete-rulechain-text": "Dikkatli olun, onaydan sonra kural zinciri ve tüm ilgili veriler geri alınamaz hale gelecektir.", - "delete-rulechains-title": "{ count, plural, =1 {1 kural zinciri} other {# kural zinciri} } silmek istediğinizden emin misiniz?", - "delete-rulechains-action-title": "{ count, plural, =1 {1 kural zinciri} other {# kural zinciri} } sil", + "delete-rulechains-title": "{ count, plural, =1 {1 kural zincirini} other {# kural zincirini} } silmek istediğinizden emin misiniz?", + "delete-rulechains-action-title": "{ count, plural, =1 {1 kural zincirini} other {# kural zincirini} } sil", "delete-rulechains-text": "Dikkatli olun, onaydan sonra seçili tüm kural zincirleri ve ilgili veriler silinecektir.", "add-rulechain-text": "Yeni kural zinciri ekle", "no-rulechains-text": "Hiç kural zinciri bulunamadı", - "rulechain-details": "Kural zinciri detayları", - "details": "Detaylar", + "rulechain-details": "Kural zinciri ayrıntıları", + "details": "Ayrıntılar", "events": "Olaylar", "system": "Sistem", "import": "Kural zinciri içe aktar", @@ -6467,8 +7596,9 @@ "create-new-rulechain": "Yeni kural zinciri oluştur", "rulechain-file": "Kural zinciri dosyası", "invalid-rulechain-file-error": "Kural zinciri içe aktarılamadı: Geçersiz kural zinciri veri yapısı.", - "copyId": "Kural zinciri Id'sini kopyala", - "idCopiedMessage": "Kural zinciri Id panoya kopyalandı", + "rulechain-not-found-warning": "Varsayılan kural zinciri bulunamadı. Profil kural zinciri olmadan kaydedildi — bunu profil ayarlarından atayabilirsiniz.", + "copyId": "Kural zinciri kimliğini kopyala", + "idCopiedMessage": "Kural zinciri kimliği panoya kopyalandı", "select-rulechain": "Kural zinciri seç", "no-rulechains-matching": "'{{entity}}' ile eşleşen kural zinciri bulunamadı.", "rulechain-required": "Kural zinciri gereklidir", @@ -6477,39 +7607,49 @@ "search": "Kural zincirlerini ara", "selected-rulechains": "{ count, plural, =1 {1 kural zinciri} other {# kural zinciri} } seçildi", "open-rulechain": "Kural zincirini aç", - "edge-template-root": "Şablon kök", + "edge-template-root": "Şablon kökü", "assign-to-edge": "Edge'e ata", "edge-rulechain": "Edge kural zinciri", - "unassign-rulechain-from-edge-text": "Onaydan sonra bu kural zinciri edge'den kaldırılacak ve erişilemeyecek.", - "unassign-rulechains-from-edge-title": "{ count, plural, =1 {1 kural zinciri} other {# kural zinciri} } kaldırmak istediğinizden emin misiniz?", - "unassign-rulechains-from-edge-text": "Onaydan sonra seçilen tüm kural zincirleri edge'den kaldırılacak ve erişilemeyecek.", + "unassign-rulechain-from-edge-text": "Onaydan sonra kural zincirinin Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", + "unassign-rulechains-from-edge-title": "{ count, plural, =1 {1 kural zincirinin} other {# kural zincirinin} } Edge atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-rulechains-from-edge-text": "Onaydan sonra seçilen tüm kural zincirlerinin Edge ataması kaldırılacak ve Edge tarafından erişilemeyecek.", "assign-rulechain-to-edge-title": "Kural Zinciri(leri)ni Edge'e Ata", - "assign-rulechain-to-edge-text": "Lütfen edge'e atanacak kural zincirlerini seçin", - "set-edge-template-root-rulechain": "Kural zincirini edge şablon kökü yap", - "set-edge-tscheduler-eventemplate-root-rulechain": "Kural zincirini edge şablon kökü yap", - "set-edge-template-root-rulechain-title": "'{{ruleChainName}}' kural zincirini edge şablon kökü yapmak istediğinizden emin misiniz?", - "set-edge-template-root-rulechain-text": "Onaydan sonra bu kural zinciri edge şablon kökü olacak ve yeni oluşturulan edge'ler için kök kural zinciri olacaktır.", + "assign-rulechain-to-edge-text": "Lütfen Edge'e atanacak kural zincirlerini seçin", + "set-edge-template-root-rulechain": "Kural zincirini Edge şablon kökü yap", + "set-edge-tscheduler-eventemplate-root-rulechain": "Kural zincirini Edge şablon kökü yap", + "set-edge-template-root-rulechain-title": "'{{ruleChainName}}' kural zincirini Edge şablon kökü yapmak istediğinizden emin misiniz?", + "set-edge-template-root-rulechain-text": "Onaydan sonra bu kural zinciri Edge şablon kökü olacak ve yeni oluşturulan Edge'ler için kök kural zinciri olacaktır.", "invalid-rulechain-type-error": "Kural zinciri içe aktarılamadı: Geçersiz kural zinciri türü. Beklenen tür {{expectedRuleChainType}}.", - "set-auto-assign-to-edge": "Oluşturulduğunda kural zincirini edge'e ata", - "set-auto-assign-to-edge-title": "'{{ruleChainName}}' edge kural zincirini edge'e otomatik olarak atamak istediğinizden emin misiniz?", - "set-auto-assign-to-edge-text": "Onaydan sonra bu edge kural zinciri oluşturma sırasında edge'lere otomatik olarak atanacaktır.", - "unset-auto-assign-to-edge": "Oluşturulduğunda kural zincirini edge'e atama", - "unset-auto-assign-to-edge-title": "'{{ruleChainName}}' edge kural zincirini edge'lere otomatik olarak atamamak istediğinizden emin misiniz?", - "unset-auto-assign-to-edge-text": "Onaydan sonra bu edge kural zinciri artık edge'lere otomatik olarak atanmayacaktır.", - "unassign-rulechain-title": "'{{ruleChainName}}' kural zincirini kaldırmak istediğinizden emin misiniz?", - "unassign-rulechains": "Kural zincirlerini kaldır" + "set-auto-assign-to-edge": "Kural zincirini yeni oluşturulan Edge'lere ata", + "set-auto-assign-to-edge-title": "'{{ruleChainName}}' Edge kural zincirini yeni oluşturulan Edge'lere otomatik olarak atamak istediğinizden emin misiniz?", + "set-auto-assign-to-edge-text": "Onaydan sonra bu Edge kural zinciri, yeni oluşturulan Edge'lere otomatik olarak atanacaktır.", + "unset-auto-assign-to-edge": "Kural zincirini yeni oluşturulan Edge'lere atamayı durdur", + "unset-auto-assign-to-edge-title": "'{{ruleChainName}}' Edge kural zincirini yeni oluşturulan Edge'lere otomatik olarak atamak istemediğinizden emin misiniz?", + "unset-auto-assign-to-edge-text": "Onaydan sonra bu Edge kural zinciri artık yeni oluşturulan Edge'lere otomatik olarak atanmayacaktır.", + "unassign-rulechain-title": "'{{ruleChainName}}' kural zincirinin atamasını kaldırmak istediğinizden emin misiniz?", + "unassign-rulechains": "Kural zincirlerinin atamasını kaldır", + "add-note": "Not ekle", + "paste-note": "Notu yapıştır", + "note": "Not", + "edit-note": "Notu düzenle", + "note-content": "Markdown/HTML içeriği", + "note-details": "Not ayrıntıları", + "note-background-color": "Arka plan rengi", + "note-border": "Kenarlık", + "note-apply-default-markdown-style": "Varsayılan markdown stilini uygula", + "note-custom-css": "Not içeriği CSS'i" }, "rulenode": { "rule-node-events": "Kural düğümü olayları", - "details": "Detaylar", + "details": "Ayrıntılar", "events": "Olaylar", "search": "Düğümleri ara", "open-node-library": "Düğüm kütüphanesini aç", "close-node-library": "Düğüm kütüphanesini kapat", "add": "Kural düğümü ekle", - "name": "İsim", - "name-required": "İsim gereklidir.", - "name-max-length": "İsim 256 karakterden kısa olmalıdır", + "name": "Ad", + "name-required": "Ad gereklidir.", + "name-max-length": "Ad 256 karakterden kısa olmalıdır", "type": "Tür", "rule-node-description": "Kural düğümü açıklaması", "delete": "Kural düğümünü sil", @@ -6521,12 +7661,12 @@ "select-all": "Tümünü seç", "copy-selected": "Seçilenleri kopyala", "deselect-all": "Tüm seçimleri kaldır", - "rulenode-details": "Kural düğümü detayları", + "rulenode-details": "Kural düğümü ayrıntıları", "debug-mode": "Hata ayıklama modu", "singleton": "Tekil", "configuration": "Yapılandırma", "link": "Bağlantı", - "link-details": "Kural düğüm bağlantı detayları", + "link-details": "Kural düğüm bağlantı ayrıntıları", "add-link": "Bağlantı ekle", "link-label": "Bağlantı etiketi", "link-label-required": "Bağlantı etiketi gereklidir.", @@ -6554,7 +7694,7 @@ "type-flow": "Akış", "type-flow-details": "Mesaj akışını düzenler", "type-input": "Giriş", - "type-input-details": "Kural Zincirinin mantıksal girişi, gelen mesajları ilgili kural düğümüne iletir", + "type-input-details": "Kural Zincirinin mantıksal girişi, gelen mesajları sonraki ilişkili Kural Düğümüne iletir", "type-unknown": "Bilinmeyen", "type-unknown-details": "Çözümlenememiş Kural Düğümü", "directive-is-not-loaded": "Tanımlı yapılandırma yönergesi '{{directiveName}}' mevcut değil.", @@ -6574,7 +7714,7 @@ "test": "Test", "help": "Yardım", "reset-debug-settings": "Tüm düğümlerde hata ayıklama ayarlarını sıfırla", - "test-with-this-message": "Bu mesaj ile {{test}}", + "test-with-this-message": "Bu mesajla {{test}}", "queue-hint": "Mesajı başka bir kuyruğa iletmek için kuyruk seçin. Varsayılan olarak 'Ana' kuyruk kullanılır.", "queue-singleton-hint": "Çoklu örnek ortamlarında mesaj yönlendirme için bir kuyruk seçin. Varsayılan olarak 'Ana' kuyruk kullanılır." }, @@ -6582,15 +7722,15 @@ "id": "Id", "additional-info": "Ek Bilgi", "advanced-settings": "Gelişmiş ayarlar", - "create-entity-if-not-exists": "Varlık yoksa oluştur", - "create-entity-if-not-exists-hint": "Etkinleştirilirse, belirtilen parametrelerle yeni bir varlık oluşturulur; aksi takdirde mevcut varlık kullanılacaktır.", + "create-entity-if-not-exists": "Öğe yoksa oluştur", + "create-entity-if-not-exists-hint": "Etkinleştirilirse, belirtilen parametrelerle yeni bir öğe oluşturulur; aksi takdirde mevcut öğe kullanılacaktır.", "select-device-connectivity-event": "Cihaz bağlantı olayını seç", "entity-name-pattern": "İsim deseni", "device-name-pattern": "Cihaz adı", "asset-name-pattern": "Varlık adı", - "entity-view-name-pattern": "Varlık görünümü adı", + "entity-view-name-pattern": "Öğe görünümü adı", "customer-title-pattern": "Müşteri başlığı", - "dashboard-name-pattern": "Gösterge paneli başlığı", + "dashboard-name-pattern": "Pano başlığı", "user-name-pattern": "Kullanıcı e-posta adresi", "edge-name-pattern": "Edge adı", "entity-name-pattern-required": "İsim deseni gereklidir", @@ -6602,16 +7742,16 @@ "message-type-value-required": "Mesaj türü değeri gereklidir", "message-type-value-max-length": "Mesaj türü değeri 256 karakterden kısa olmalıdır", "output-message-type": "Çıkış mesaj türü", - "entity-cache-expiration": "Varlık önbelleği sonlanma süresi (sn)", - "entity-cache-expiration-hint": "Bulunan varlık kayıtlarının tutulabileceği maksimum süreyi belirtir. 0 değeri, kayıtların hiç süresinin dolmayacağı anlamına gelir.", - "entity-cache-expiration-required": "Varlık önbelleği süresi gereklidir.", - "entity-cache-expiration-range": "Varlık önbelleği süresi 0 veya daha büyük olmalıdır.", + "entity-cache-expiration": "Öğe önbelleği sonlanma süresi (sn)", + "entity-cache-expiration-hint": "Bulunan öğe kayıtlarının tutulabileceği maksimum süreyi belirtir. 0 değeri, kayıtların hiç süresinin dolmayacağı anlamına gelir.", + "entity-cache-expiration-required": "Öğe önbelleği süresi gereklidir.", + "entity-cache-expiration-range": "Öğe önbelleği süresi 0 veya daha büyük olmalıdır.", "customer-name-pattern": "Müşteri başlığı", "customer-name-pattern-required": "Müşteri başlığı gereklidir", - "customer-name-pattern-hint": "Mesajdan değer almak için $[messageKey], meta veriden almak için ${metadataKey} kullanın.", + "customer-name-pattern-hint": "Mesajdan değer çıkarmak için $[messageKey], meta veriden değer çıkarmak için ${metadataKey} kullanın.", "create-customer-if-not-exists": "Müşteri yoksa oluştur", - "unassign-from-customer": "Kaynak gösterge paneliyse müşteriden ayır", - "unassign-from-customer-tooltip": "Sadece gösterge panelleri birden fazla müşteriye atanabilir. \nMesajın kaynağı gösterge paneliyse, müşteri başlığını belirtmeniz gerekir.", + "unassign-from-customer": "Kaynak panoysa belirli bir müşteriden atamayı kaldır", + "unassign-from-customer-tooltip": "Yalnızca panolar aynı anda birden fazla müşteriye atanabilir. \nMesajın kaynağı bir panoysa, atamasının kaldırılacağı müşterinin başlığını açıkça belirtmeniz gerekir.", "customer-cache-expiration": "Müşteri önbelleği sonlanma süresi (sn)", "customer-cache-expiration-hint": "Bulunan müşteri kayıtlarının tutulabileceği maksimum süreyi belirtir. 0 değeri, kayıtların hiç süresinin dolmayacağı anlamına gelir.", "customer-cache-expiration-required": "Müşteri önbelleği süresi gereklidir.", @@ -6643,26 +7783,26 @@ "no-message-type-matching": "'{{messageType}}' bulunamadı.", "create-new-message-type": "Yeni bir tane oluştur.", "message-types-required": "Mesaj türleri gereklidir.", - "client-attributes": "İstemci nitelikleri", - "shared-attributes": "Paylaşılan nitelikler", - "server-attributes": "Sunucu nitelikleri", - "attributes-keys": "Nitelik anahtarları", - "attributes-keys-required": "Nitelik anahtarları gereklidir", - "attributes-scope": "Nitelik kapsamı", - "attributes-scope-value": "Nitelik kapsamı değeri", - "attributes-scope-value-copy": "Nitelik kapsamı değerini kopyala", - "attributes-scope-hint": "'scope' meta veri anahtarını kullanarak her mesaj için nitelik kapsamını dinamik olarak ayarlayın. Sağlanırsa yapılandırmadaki kapsamın yerini alır.", + "client-attributes": "İstemci öznitelikleri", + "shared-attributes": "Paylaşılan öznitelikler", + "server-attributes": "Sunucu öznitelikleri", + "attributes-keys": "Öznitelik anahtarları", + "attributes-keys-required": "Öznitelik anahtarları gereklidir", + "attributes-scope": "Öznitelik kapsamı", + "attributes-scope-value": "Öznitelik kapsamı değeri", + "attributes-scope-value-copy": "Öznitelik kapsamı değerini kopyala", + "attributes-scope-hint": "'scope' meta veri anahtarını kullanarak her mesaj için öznitelik kapsamını dinamik olarak ayarlayın. Sağlanırsa yapılandırmadaki kapsamın yerini alır.", "notify-device": "Cihaza bildirimi zorla", - "send-attributes-updated-notification": "Güncellenen nitelik bildirimi gönder", - "send-attributes-updated-notification-hint": "Güncellenen nitelikler hakkında ayrı bir mesaj olarak kural motoru kuyruğuna bildirim gönder.", - "send-attributes-deleted-notification": "Silinen nitelik bildirimi gönder", - "send-attributes-deleted-notification-hint": "Silinen nitelikler hakkında ayrı bir mesaj olarak kural motoru kuyruğuna bildirim gönder.", - "update-attributes-only-on-value-change": "Yalnızca değer değişirse nitelikleri kaydet", - "update-attributes-only-on-value-change-hint": "Değeri değişip değişmediğine bakılmaksızın her gelen mesajda nitelikleri günceller. API kullanımını artırır ve performansı düşürür.", - "update-attributes-only-on-value-change-hint-enabled": "Yalnızca nitelik değeri değiştiyse günceller. Değer değişmediyse, zaman damgası veya değişiklik bildirimi gönderilmez.", + "send-attributes-updated-notification": "Güncellenen öznitelik bildirimi gönder", + "send-attributes-updated-notification-hint": "Güncellenen öznitelikler hakkında ayrı bir mesaj olarak kural motoru kuyruğuna bildirim gönder.", + "send-attributes-deleted-notification": "Silinen öznitelik bildirimi gönder", + "send-attributes-deleted-notification-hint": "Silinen öznitelikler hakkında ayrı bir mesaj olarak kural motoru kuyruğuna bildirim gönder.", + "update-attributes-only-on-value-change": "Yalnızca değer değişirse öznitelikleri kaydet", + "update-attributes-only-on-value-change-hint": "Değeri değişip değişmediğine bakılmaksızın her gelen mesajda öznitelikleri günceller. API kullanımını artırır ve performansı düşürür.", + "update-attributes-only-on-value-change-hint-enabled": "Yalnızca öznitelik değeri değiştiyse günceller. Değer değişmediyse, zaman damgası veya değişiklik bildirimi gönderilmez.", "fetch-credentials-to-metadata": "Kimlik bilgilerini meta veriye getir", - "notify-device-on-update-hint": "Etkinleştirilirse, paylaşılan nitelik güncellemesi hakkında cihaza bildirim zorlanır. Devre dışıysa, bildirim davranışı gelen mesajın meta verisindeki 'notifyDevice' parametresiyle kontrol edilir. Bildirimi kapatmak için, 'notifyDevice' parametresi 'false' olarak ayarlanmalıdır. Diğer tüm durumlarda cihaza bildirim gönderilir.", - "notify-device-on-delete-hint": "Etkinleştirilirse, paylaşılan nitelik silinmesi hakkında cihaza bildirim zorlanır. Devre dışıysa, bildirim davranışı gelen mesajın meta verisindeki 'notifyDevice' parametresiyle kontrol edilir. Bildirimi açmak için, 'notifyDevice' parametresi 'true' olarak ayarlanmalıdır. Diğer tüm durumlarda bildirim gönderilmez.", + "notify-device-on-update-hint": "Etkinleştirilirse, paylaşılan öznitelik güncellemesi hakkında cihaza bildirim gönderilmesi zorunlu kılınır. Devre dışıysa, bildirim davranışı gelen mesajın meta verisindeki 'notifyDevice' parametresiyle kontrol edilir. Bildirimi kapatmak için, 'notifyDevice' parametresi 'false' olarak ayarlanmalıdır. Diğer tüm durumlarda cihaza bildirim gönderilir.", + "notify-device-on-delete-hint": "Etkinleştirilirse, paylaşılan öznitelik silinmesi hakkında cihaza bildirim gönderilmesi zorunlu kılınır. Devre dışıysa, bildirim davranışı gelen mesajın meta verisindeki 'notifyDevice' parametresiyle kontrol edilir. Bildirimi açmak için, 'notifyDevice' parametresi 'true' olarak ayarlanmalıdır. Diğer tüm durumlarda bildirim gönderilmez.", "latest-timeseries": "En son zaman serisi veri anahtarları", "timeseries-keys": "Zaman serisi anahtarları", "timeseries-keys-required": "En az bir zaman serisi anahtarı seçilmelidir.", @@ -6678,28 +7818,28 @@ "use-regular-expression-hint": "Anahtarları desenle kopyalamak için normal ifade kullanın.\n\nİpuçları:\n'Enter' tuşuna basarak alan adını tamamlayın.\n'Backspace' ile silin. Birden fazla alan adı desteklenir.", "interval": "Aralık", "interval-required": "Aralık gereklidir", - "interval-hint": "Çiftleme önleme aralığı (saniye cinsinden).", + "interval-hint": "Çoğaltmayı önleme aralığı (saniye cinsinden).", "interval-min-error": "İzin verilen minimum değer 1", "max-pending-msgs": "Maksimum bekleyen mesaj", - "max-pending-msgs-hint": "Her benzersiz çiftleme kimliği için bellekte saklanabilecek maksimum mesaj sayısı.", + "max-pending-msgs-hint": "Çoğaltmayı önleme için kullanılan her benzersiz kimlik için bellekte saklanabilecek maksimum mesaj sayısı.", "max-pending-msgs-required": "Maksimum bekleyen mesaj sayısı gereklidir", "max-pending-msgs-max-error": "İzin verilen maksimum değer 1000", "max-pending-msgs-min-error": "İzin verilen minimum değer 1", "max-retries": "Maksimum yeniden deneme", "max-retries-required": "Maksimum yeniden deneme sayısı gereklidir", - "max-retries-hint": "Çiftlenmemiş mesajları kuyruğa itmek için maksimum yeniden deneme sayısı. Yeniden denemeler arasında 10 saniyelik gecikme kullanılır", + "max-retries-hint": "Çoğaltma önlendikten sonra oluşan mesajları kuyruğa itmek için maksimum yeniden deneme sayısı. Yeniden denemeler arasında 10 saniyelik gecikme kullanılır", "max-retries-max-error": "İzin verilen maksimum değer 100", "max-retries-min-error": "İzin verilen minimum değer 0", "strategy": "Strateji", "strategy-required": "Strateji gereklidir", - "strategy-all-hint": "Çiftleme önleme süresi boyunca gelen tüm mesajları tek bir JSON dizi mesajı olarak döndürür. Her öğe, msg ve metadata alt özelliklerine sahip bir nesneyi temsil eder.", - "strategy-first-hint": "Çiftleme önleme süresi boyunca ilk gelen mesajı döndürür.", - "strategy-last-hint": "Çiftleme önleme süresi boyunca son gelen mesajı döndürür.", + "strategy-all-hint": "Çoğaltmayı önleme süresi boyunca gelen tüm mesajları tek bir JSON dizi mesajı olarak döndürür. Her öğe, msg ve metadata alt özelliklerine sahip bir nesneyi temsil eder.", + "strategy-first-hint": "Çoğaltmayı önleme süresi boyunca ilk gelen mesajı döndürür.", + "strategy-last-hint": "Çoğaltmayı önleme süresi boyunca son gelen mesajı döndürür.", "first": "İlk", "last": "Son", "all": "Tümü", - "output-msg-type-hint": "Çiftleme sonucu mesajın türü.", - "queue-name-hint": "Çiftleme sonucu mesajın yayınlanacağı kuyruk adı.", + "output-msg-type-hint": "Çoğaltmayı önleme sonucunda oluşan mesajın türü.", + "queue-name-hint": "Çoğaltmayı önleme sonucunda oluşan mesajın yayınlanacağı kuyruk adı.", "keys": "Anahtarlar", "keys-required": "Anahtarlar gereklidir", "rename-keys-in": "Anahtarları yeniden adlandır", @@ -6716,7 +7856,7 @@ "json-path-expression-hint": "JSONPath, bir JSON yapısındaki öğelere veya öğe kümelerine giden yolu belirtir. '$' kök nesneyi veya diziyi temsil eder.", "relations-query": "İlişki sorgusu", "device-relations-query": "Cihaz ilişkisi sorgusu", - "max-relation-level": "Maksimum ilişki seviyesi", + "max-relation-level": "Maksimum ilişki düzeyi", "max-relation-level-error": "Değer 0'dan büyük veya belirtilmemiş olmalıdır.", "max-relation-level-invalid": "Değer bir tamsayı olmalıdır.", "relation-type": "İlişki türü", @@ -6730,9 +7870,9 @@ "delete-from": "Şuradan sil", "use-regular-expression-delete-hint": "Anahtarları desenle silmek için normal ifade kullanın.\n\nİpuçları:\nAlan adını tamamlamak için 'Enter' tuşuna basın.\nSilmek için 'Backspace' tuşuna basın.\nBirden fazla alan adı desteklenir.", "fetch-into": "Şuraya getir", - "attr-mapping": "Nitelik eşlemesi:", - "source-attribute": "Kaynak nitelik anahtarı", - "source-attribute-required": "Kaynak nitelik anahtarı gereklidir.", + "attr-mapping": "Öznitelik eşlemesi:", + "source-attribute": "Kaynak öznitelik anahtarı", + "source-attribute-required": "Kaynak öznitelik anahtarı gereklidir.", "source-telemetry": "Kaynak telemetri anahtarı", "source-telemetry-required": "Kaynak telemetri anahtarı gereklidir.", "target-key": "Hedef anahtar", @@ -6744,26 +7884,26 @@ "profile-name": "Profil adı", "fetch-circle-parameter-info-from-metadata-hint": "Meta veri alanı '{{perimeterKeyName}}' şu biçimde tanımlanmalıdır: {\"latitude\":48.196, \"longitude\":24.6532, \"radius\":100.0, \"radiusUnit\":\"METER\"}", "fetch-poligon-parameter-info-from-metadata-hint": "Meta veri alanı '{{perimeterKeyName}}' şu biçimde tanımlanmalıdır: [[48.19736,24.65235],[48.19800,24.65060],...,[48.19849,24.65420]]", - "short-templatization-tooltip": "Mesajdan değer almak için $[messageKey], meta veriden almak için ${metadataKey} kullanın.", + "short-templatization-tooltip": "Mesajdan değer çıkarmak için $[messageKey], meta veriden değer çıkarmak için ${metadataKey} kullanın.", "fields-mapping-required": "En az bir alan eşlemesi belirtilmelidir.", "at-least-one-field-required": "En az bir giriş alanı değeri sağlanmalıdır.", "originator-fields-sv-map-hint": "Hedef anahtar alanları şablon desteği sağlar. Mesajdan değer almak için $[messageKey], meta veriden almak için ${metadataKey} kullanın.", "sv-map-hint": "Yalnızca hedef anahtar alanları şablon desteği sağlar. Mesajdan değer almak için $[messageKey], meta veriden almak için ${metadataKey} kullanın.", "source-field": "Kaynak alan", - "source-field-required": "Kaynak alan gereklidir.", - "originator-source": "Kaynak belirleyici", - "new-originator": "Yeni belirleyici", + "source-field-required": "Kaynak alanı gereklidir.", + "originator-source": "Başlatan kaynağı", + "new-originator": "Yeni başlatan", "originator-customer": "Müşteri", "originator-tenant": "Kiracı", - "originator-related": "İlişkili varlık", + "originator-related": "İlişkili öğe", "originator-alarm-originator": "Alarm Kaynağı", - "originator-entity": "Ad desenine göre varlık", + "originator-entity": "Ad desenine göre öğe", "clone-message": "Mesajı klonla", "no-owners-matching": "'{{entity}}' ile eşleşen sahip bulunamadı.", "owner-required": "Sahip gereklidir.", "owner": "Sahip", - "owner-of-entity-group": "Varlık grubunun sahibi", - "entity-group": "Varlık grubu", + "owner-of-entity-group": "Öğe grubunun sahibi", + "entity-group": "Öğe grubu", "transform": "Dönüştür", "default-ttl": "Varsayılan TTL", "default-ttl-required": "Varsayılan TTL gereklidir.", @@ -6786,7 +7926,7 @@ "period-in-seconds-pattern": "Saniye cinsinden periyot deseni", "period-in-seconds-pattern-required": "Saniye cinsinden periyot deseni gereklidir", "min-period-seconds-message": "Minimum 1 saniyelik periyot gereklidir.", - "originator": "Kaynak", + "originator": "Başlatan", "message-body": "Mesaj içeriği", "message-metadata": "Mesaj meta verisi", "generate": "Oluştur", @@ -6797,31 +7937,31 @@ "generator": "Oluşturucu", "test-filter-function": "Filtre fonksiyonunu test et", "test-switch-function": "Anahtar fonksiyonunu test et", - "parent-entity": "Üst varlıklar", - "include-root-entity-to-parent-entities": "Kök varlığı üst varlık listesine dahil et", + "parent-entity": "Üst öğeler", + "include-root-entity-to-parent-entities": "Kök öğeyi üst öğe listesine dahil et", "test-transformer-function": "Dönüştürücü fonksiyonunu test et", "transformer": "Dönüştürücü", "alarm-create-condition": "Alarm oluşturma koşulu", "test-condition-function": "Koşul fonksiyonunu test et", "alarm-clear-condition": "Alarm temizleme koşulu", - "alarm-details-builder": "Alarm detayları oluşturucu", - "test-details-function": "Detay fonksiyonunu test et", + "alarm-details-builder": "Alarm ayrıntıları oluşturucu", + "test-details-function": "Ayrıntı fonksiyonunu test et", "alarm-type": "Alarm türü", - "select-entity-types": "Varlık türlerini seç", + "select-entity-types": "Öğe türlerini seç", "alarm-type-required": "Alarm türü gereklidir.", - "alarm-severity": "Alarm şiddeti", - "alarm-severity-required": "Alarm şiddeti gereklidir", - "alarm-severity-pattern": "Alarm şiddeti deseni", + "alarm-severity": "Alarm önem derecesi", + "alarm-severity-required": "Alarm önem derecesi gereklidir", + "alarm-severity-pattern": "Alarm önem derecesi deseni", "alarm-status-filter": "Alarm durumu filtresi", "alarm-status-list-empty": "Alarm durumu listesi boş", "no-alarm-status-matching": "Eşleşen alarm durumu bulunamadı.", - "no-alarm-severity-matching": "Eşleşen alarm şiddeti bulunamadı.", - "propagate": "Alarmı ilişkili varlıklara yay", - "propagate-to-owner": "Alarmı varlık sahibine (Müşteri veya Kiracı) yay", - "propagate-to-owner-hierarchy": "Alarmı varlık sahibi hiyerarşisine yay", + "no-alarm-severity-matching": "Eşleşen alarm önem derecesi bulunamadı.", + "propagate": "Alarmı ilişkili öğelere yay", + "propagate-to-owner": "Alarmı öğe sahibine yay (Müşteri veya Kiracı)", + "propagate-to-owner-hierarchy": "Alarmı öğe sahipleri hiyerarşisine yay", "propagate-to-tenant": "Alarmı kiracıya yay", "condition": "Koşul", - "details": "Detaylar", + "details": "Ayrıntılar", "to-string": "Metne dönüştür", "test-to-string-function": "Metne dönüştürme fonksiyonunu test et", "from-template": "Kimden", @@ -6831,7 +7971,7 @@ "from-message": "Mesajdan", "from-metadata": "Meta veriden", "to-template": "Kime", - "to-template-required": "Kime Şablonu gereklidir", + "to-template-required": "Kime alanı gereklidir", "mail-address-list-template-hint": "Virgül ile ayrılmış adres listesi, meta veriden değer almak için ${metadataKey}, mesajdan değer almak için $[messageKey] kullanın", "cc-template": "Cc", "bcc-template": "Bcc", @@ -6854,10 +7994,11 @@ "endpoint-url-pattern": "Uç nokta URL deseni", "endpoint-url-pattern-required": "Uç nokta URL deseni gereklidir", "request-method": "İstek yöntemi", - "use-simple-client-http-factory": "Basit HTTP istemci fabrikasını kullan", "ignore-request-body": "İstek içeriği olmadan", + "request-body-template": "İstek gövdesi şablonu", + "request-body-template-hint": "Meta veriler için ${metadataKey}, mesaj değerleri için $[messageKey] kullanın. Boş bırakılırsa istek gövdesi olarak mesaj yükü kullanılır. JSON olmayan yükler için 'Düz metne ayrıştır' seçeneğini etkinleştirin.

    ${secret:name;type:TYPE} yer tutucusuyla bir gizli değer ekleyebilirsiniz; burada 'name' gizli değerin tanımlayıcısıdır, 'type' ise TEXT veya TEXT_FILE olur. Bu, 'Gizli veriyi kullan' seçeneğini doğrudan desteklemeyen kural düğümü yapılandırma alanlarında kullanışlıdır. Örnek: ${secret:tenant password;type:TEXT}.", "parse-to-plain-text": "Düz metne ayrıştır", - "parse-to-plain-text-hint": "Seçilirse, istek gövdesindeki mesaj yükü JSON dizgesinden düz metne dönüştürülür; örn. msg = \"Hello,\\t\"world\"\" ifadesi Hello, \"world\" olarak ayrıştırılır", + "parse-to-plain-text-hint": "Seçilirse, istek gövdesi (mesaj yükü veya gövde şablonu sonucu) JSON olarak ayrıştırılmak yerine düz metin dizesi olarak gönderilir; örn. msg = \"Hello,\\t\"world\"\" ifadesi Hello, \"world\" olarak ayrıştırılır", "read-timeout": "Okuma zaman aşımı (ms cinsinden)", "read-timeout-hint": "0 değeri sonsuz zaman aşımı anlamına gelir", "max-parallel-requests-count": "Maksimum eşzamanlı istek sayısı", @@ -6865,20 +8006,21 @@ "max-response-size": "Maksimum yanıt boyutu (KB cinsinden)", "max-response-size-hint": "HTTP iletilerini (JSON veya XML yükleri gibi) kodlarken ya da kodunu çözerken veri arabelleğe alma için ayrılan maksimum bellek miktarı", "headers": "Üstbilgiler", - "headers-hint": "Üstbilgi/değer alanlarında, meta veriden değer almak için ${metadataKey}, ileti gövdesinden değer almak için $[messageKey] kullanın", + "headers-hint": "Üstbilgi/değer alanlarında meta veriden değer almak için ${metadataKey}, ileti gövdesinden değer almak için $[messageKey] kullanın.

    Gizli veriyi ${secret:name;type:TYPE} yer tutucusuyla ekleyebilirsiniz; burada 'name' gizli verinin tanımlayıcısı, 'type' ise TEXT veya TEXT_FILE değeridir. Bu, 'Gizli veriyi kullan' seçeneğini doğrudan desteklemeyen kural düğümü yapılandırma alanlarında işe yarar. Örnek: ${secret:Header;type:TEXT}.", "header": "Üstbilgi", - "header-required": "Üstbilgi zorunludur", + "header-required": "Üstbilgi gereklidir", "value": "Değer", - "value-required": "Değer zorunludur", + "value-required": "Değer gereklidir", "topic-pattern": "Konu deseni", "key-pattern": "Anahtar deseni", "key-pattern-hint": "İsteğe bağlıdır. Geçerli bir bölüm (partition) numarası belirtilirse, kayıt gönderilirken bu değer kullanılır. Herhangi bir bölüm belirtilmezse, bunun yerine anahtar kullanılır. Her ikisi de belirtilmezse, bölümler döngüsel olarak (round-robin) atanır.", - "topic-pattern-required": "Konu deseni zorunludur", + "topic-pattern-required": "Konu deseni gereklidir", "topic": "Konu", - "topic-required": "Konu zorunludur", - "bootstrap-servers": "Başlangıç sunucuları", - "bootstrap-servers-required": "Başlangıç sunucuları değeri gereklidir", + "topic-required": "Konu gereklidir", + "bootstrap-servers": "Bootstrap sunucuları", + "bootstrap-servers-required": "Bootstrap sunucuları değeri gereklidir", "other-properties": "Diğer özellikler", + "other-properties-empty": "Yapılandırılmış başka özellik yok", "key": "Anahtar", "key-required": "Anahtar gereklidir", "retries": "Başarısızlık durumunda otomatik tekrar deneme sayısı", @@ -6906,7 +8048,7 @@ "host-required": "Sunucu gereklidir", "port": "Port", "port-required": "Port gereklidir", - "port-range": "Port, 1 ile 65535 arasında olmalıdır.", + "port-range": "Port 1 ile 65535 arasında olmalıdır.", "virtual-host": "Sanal sunucu", "username": "Kullanıcı adı", "password": "Parola", @@ -6916,6 +8058,7 @@ "handshake-timeout-ms": "El sıkışma zaman aşımı (ms)", "min-handshake-timeout-ms-message": "Yalnızca minimum 0 ms değeri kabul edilir.", "client-properties": "İstemci özellikleri", + "client-properties-empty": "Yapılandırılmış istemci özelliği yok", "queue-url-pattern": "Kuyruk URL deseni", "queue-url-pattern-required": "Kuyruk URL deseni gereklidir", "delay-seconds": "Gecikme (saniye)", @@ -6933,10 +8076,11 @@ "pubsub-topic-name": "Konu adı", "pubsub-topic-name-required": "Konu adı gereklidir", "message-attributes": "Mesaj öznitelikleri", + "message-attributes-empty": "Yapılandırılmış mesaj özniteliği yok", "message-attributes-hint": "Ad/değer alanlarında meta veriden değer almak için ${metadataKey}, mesaj içeriğinden değer almak için $[messageKey] kullanın", - "connect-timeout": "Bağlantı zaman aşımı (saniye)", + "connect-timeout": "Bağlantı zaman aşımı (sn)", "connect-timeout-required": "Bağlantı zaman aşımı gereklidir.", - "connect-timeout-range": "Bağlantı zaman aşımı 1 ile 200 saniye arasında olmalıdır.", + "connect-timeout-range": "Bağlantı zaman aşımı 1 ile 200 arasında olmalıdır.", "client-id": "İstemci Kimliği", "client-id-hint": "İsteğe bağlı. Otomatik oluşturulan istemci kimliği için boş bırakın. Belirli bir istemci kimliği kullanırken dikkatli olun. Çoğu MQTT sunucusu aynı kimlik ile birden fazla bağlantıya izin vermez. Platform mikro servis modunda çalışırken kural düğümünün kopyaları birden fazla servis üzerinde çalışır, bu da aynı kimlikle birden fazla bağlantıya yol açar ve başarısızlıklara neden olabilir. Bu durumu önlemek için aşağıdaki \"İstemci Kimliğine Servis Kimliği ekle\" seçeneğini etkinleştirin.", "append-client-id-suffix": "İstemci Kimliğine Servis Kimliği ekle", @@ -6952,7 +8096,7 @@ "credentials-basic": "Temel", "credentials-pem": "PEM", "credentials-pem-hint": "En azından Sunucu CA sertifikası veya İstemci sertifikası ile İstemci özel anahtar dosyalarının bir çiftine ihtiyaç vardır", - "credentials-sas": "Paylaşılan Erişim İmzası", + "credentials-sas": "Shared Access Signature (SAS)", "secret-placeholder-hint": "${secret:name;type:TYPE} yer tutucusunu kullanarak bir gizli anahtar enjekte edebilirsiniz. Burada 'name' gizli anahtar tanımlayıcısıdır ve 'type' değeri TEXT veya TEXT_FILE olabilir. Bu yöntem, doğrudan 'Gizli Anahtar Kullan' özelliğini desteklemeyen kural düğümü yapılandırma alanlarında faydalıdır. Örnek: ${secret:Header;type:TEXT}", "sas-key": "SAS Anahtarı", "sas-key-required": "SAS Anahtarı gereklidir.", @@ -6973,23 +8117,23 @@ "use-metadata-interval-patterns-hint": "Seçilirse, başlangıç ve bitiş aralığı desenleri mesaj metaverisi veya verilerinden milisaniye olarak kullanılır.", "use-message-alarm-data": "Mesaj alarm verilerini kullan", "overwrite-alarm-details": "Alarm ayrıntılarını üzerine yaz", - "use-alarm-severity-pattern": "Alarm şiddeti desenini kullan", + "use-alarm-severity-pattern": "Alarm önem derecesi desenini kullan", "check-all-keys": "Tüm belirtilen alanların mevcut olduğunu kontrol et", "check-all-keys-hint": "Seçilirse, tüm belirtilen anahtarların mesaj verisinde ve metaverisinde bulunduğu kontrol edilir.", - "check-relation-to-specific-entity": "Belirli varlıkla ilişkiyi kontrol et", - "check-relation-to-specific-entity-tooltip": "Etkinleştirilirse, belirli bir varlıkla ilişkinin varlığı kontrol edilir; aksi takdirde herhangi bir varlıkla ilişki kontrol edilir. Her iki durumda da ilişki yön ve türüne göre aranır.", - "check-relation-hint": "Belirli bir varlıkla ya da herhangi bir varlıkla yön ve ilişki türüne göre ilişki varlığını kontrol eder.", - "delete-relation-with-specific-entity": "Belirli varlıkla ilişkiyi sil", - "delete-relation-with-specific-entity-hint": "Etkinleştirilirse, yalnızca belirli bir varlıkla olan ilişki silinir. Aksi takdirde, eşleşen tüm varlıklarla ilişkiler silinir.", - "delete-relation-hint": "Gelen mesajın kaynağı ile belirtilen varlık(lar) arasında yön ve tür temelinde ilişkiyi siler.", + "check-relation-to-specific-entity": "Belirli öğeyle ilişkiyi kontrol et", + "check-relation-to-specific-entity-tooltip": "Etkinleştirilirse, belirli bir öğeyle ilişkinin varlığı kontrol edilir; aksi takdirde herhangi bir öğeyle ilişki kontrol edilir. Her iki durumda da ilişki yön ve türüne göre aranır.", + "check-relation-hint": "Belirli bir öğeyle ya da herhangi bir öğeyle yön ve ilişki türüne göre ilişki varlığını kontrol eder.", + "delete-relation-with-specific-entity": "Belirli öğeyle ilişkiyi sil", + "delete-relation-with-specific-entity-hint": "Etkinleştirilirse, yalnızca belirli bir öğeyle olan ilişki silinir. Aksi takdirde, eşleşen tüm öğelerle ilişkiler silinir.", + "delete-relation-hint": "Gelen mesajın kaynağı ile belirtilen öğe(ler) arasında yön ve tür temelinde ilişkiyi siler.", "remove-current-relations": "Mevcut ilişkileri kaldır", "remove-current-relations-hint": "Gelen mesajın kaynağıyla mevcut ilişkileri yön ve tür temelinde kaldırır.", - "change-originator-to-related-entity": "Kaynağı ilgili varlıkla değiştir", - "change-originator-to-related-entity-hint": "Gönderilen mesajı başka bir varlıktan gelen bir mesaj gibi işlemek için kullanılır.", - "start-interval": "Başlangıç aralığı", - "end-interval": "Bitiş aralığı", - "start-interval-required": "Başlangıç aralığı gereklidir.", - "end-interval-required": "Bitiş aralığı gereklidir.", + "change-originator-to-related-entity": "Kaynağı ilişkili öğeyle değiştir", + "change-originator-to-related-entity-hint": "Gönderilen mesajı başka bir öğeden gelen bir mesaj gibi işlemek için kullanılır.", + "start-interval": "Aralık başlangıcı", + "end-interval": "Aralık bitişi", + "start-interval-required": "Aralık başlangıcı gereklidir.", + "end-interval-required": "Aralık bitişi gereklidir.", "smtp-protocol": "Protokol", "smtp-host": "SMTP sunucusu", "smtp-host-required": "SMTP sunucusu gereklidir.", @@ -7007,10 +8151,12 @@ "group-cache-expiration": "Grup önbelleği sona erme süresi (sn)", "group-cache-expiration-required": "Grup önbelleği sona erme süresi gereklidir.", "group-cache-expiration-range": "Grup önbelleği sona erme süresi 0 veya daha büyük olmalıdır.", - "group-cache-expiration-hint": "Bulunan varlık grup kayıtlarının saklanabileceği maksimum süreyi belirtir. 0 değeri, kayıtların süresiz olarak saklanacağı anlamına gelir.", + "group-cache-expiration-hint": "Bulunan öğe grubu kayıtlarının saklanabileceği maksimum süreyi belirtir. 0 değeri, kayıtların süresiz olarak saklanacağı anlamına gelir.", "remove-from-current-groups": "Mevcut gruplardan kaldır", "use-report-config-from-message": "Rapor yapılandırmasını mesajdan kullan", + "use-report-config-from-message-hint": "Etkinleştirilirse kural düğümü, rapor oluşturma yapılandırmasını gelen mesajdan alır; aksi takdirde aşağıda belirtilen yapılandırma kullanılır.", "use-system-reports-server": "Sistem rapor sunucusunu kullan", + "use-system-reports-server-hint": "Etkinleştirilirse kural düğümü, sistem yapılandırmasındaki rapor sunucusu uç nokta URL'sini kullanır; aksi takdirde aşağıda belirtilen URL kullanılır.", "reports-server-endpoint-url": "Rapor sunucusu uç nokta URL'si", "reports-server-endpoint-url-is-required": "Rapor sunucusu uç nokta URL'si gereklidir.", "tls-version": "TLS sürümü", @@ -7023,7 +8169,6 @@ "proxy-port-range": "Proxy portu 1 ile 65535 arasında olmalıdır.", "proxy-user": "Proxy kullanıcısı", "proxy-password": "Proxy parolası", - "proxy-scheme": "Proxy şeması", "numbers-to-template": "Telefon Numaraları Şablonu", "numbers-to-template-required": "Telefon Numaraları Şablonu gereklidir", "numbers-to-template-hint": "Virgülle ayrılmış telefon numaraları, metaveriden değer almak için ${metadataKey}, mesaj gövdesinden almak için $[messageKey] kullanın", @@ -7041,12 +8186,12 @@ "func-sum": "Toplam", "func-avg": "Ortalama", "func-count": "Sayı", - "func-count-unique": "Benzersiz say", + "func-count-unique": "Benzersiz sayım", "agg-interval-value": "Toplama aralığı değeri", "agg-interval-value-required": "Toplama aralığı değeri gereklidir.", "agg-interval-time-unit": "Toplama aralığı zaman birimi", "auto-create-intervals": "Aralıkları otomatik oluştur", - "interval-entities": "Aralık varlıkları", + "interval-entities": "Aralık öğeleri", "interval-persistence": "Aralık kalıcılığı", "interval-persistence-policy": "Zaman aralığı kalıcılık politikası", "interval-persist-policy-on-each-check": "Her kontrolde", @@ -7065,19 +8210,19 @@ "state-persistence-value": "Durum kalıcılık değeri", "state-persistence-value-required": "Durum kalıcılık değeri gereklidir.", "state-persistence-time-unit": "Durum kalıcılık zaman birimi", - "target-entity-group": "Hedef varlık grubu", - "entity-group-is-message-originator": "Varlık grubu mesajın göndericisidir", - "originator-types-filter": "Gönderici türleri filtresi", - "single-entity": "Tek varlık", - "group-of-entities": "Varlık grubu", - "entities": "Varlıklar", - "root-entity": "Kök varlık", - "child-entities-query": "Alt varlık sorgusu", - "child-entities": "Alt varlıklar", + "target-entity-group": "Hedef öğe grubu", + "entity-group-is-message-originator": "Öğe grubu mesajın göndericisidir", + "originator-types-filter": "Kaynak türleri filtresi", + "single-entity": "Tek öğe", + "group-of-entities": "Öğe grubu", + "entities": "Öğeler", + "root-entity": "Kök öğe", + "child-entities-query": "Alt öğe sorgusu", + "child-entities": "Alt öğeler", "execution-period-value": "Yürütme süresi değeri", "execution-period-value-required": "Yürütme süresi değeri gereklidir.", "execution-period-time-unit": "Yürütme süresi zaman birimi", - "agg-latest-mappings": "En son eşlemeleri birleştir", + "agg-latest-mappings": "En son değerleri toplama eşlemeleri", "mappings": "Eşlemeler", "edit-mapping": "Eşlemeyi düzenle", "remove-mapping": "Eşlemeyi kaldır", @@ -7088,15 +8233,15 @@ "default-value-required": "Varsayılan değer gereklidir.", "target-telemetry": "Hedef telemetri", "target-telemetry-required": "Hedef telemetri gereklidir.", - "filter-entities": "Varlıkları filtrele", - "entity-filter": "Varlık filtresi", - "fetch-entity-attributes": "Varlık özniteliklerini getir", - "count-alarms-for-child-entities": "Alt varlıklar için alarmları say", - "count-alarms-for-propagation-entities": "Yayılan varlıklar için alarmları say", + "filter-entities": "Öğeleri filtrele", + "entity-filter": "Öğe filtresi", + "fetch-entity-attributes": "Öğe özniteliklerini getir", + "count-alarms-for-child-entities": "Alt öğeler için alarmları say", + "count-alarms-for-propagation-entities": "Yayılan öğeler için alarmları say", "alarms-count-mappings": "Alarm sayımı eşlemeleri", - "propagation-entity-types": "Yayılan varlık türleri", - "propagation-entity-types-info": "Yayılan varlık türleri seçilirse, yayılan varlıklar seçilen türlere göre filtrelenecek, aksi takdirde filtreleme uygulanmaz.", - "count-alarms-for-propagation-entities-info": "Etkinleştirilirse, alarmın göndericisine ek olarak yayılan tüm varlıklar için de alarmlar sayılır.", + "propagation-entity-types": "Yayılan öğe türleri", + "propagation-entity-types-info": "Yayılan öğe türleri seçilirse, yayılan öğeler seçilen türlere göre filtrelenecek, aksi takdirde filtreleme uygulanmaz.", + "count-alarms-for-propagation-entities-info": "Etkinleştirilirse, alarmın göndericisine ek olarak yayılan tüm öğeler için de alarmlar sayılır.", "and": "ve", "all-alarms": "Tüm alarmlar", "for": "için", @@ -7107,7 +8252,7 @@ "all-severities": "Tüm önem dereceleri", "all-types": "Tüm türler", "add-alarm-status": "+Alarm durumu", - "add-alarm-severity": "+Alarm önemi", + "add-alarm-severity": "+Alarm önem derecesi", "add-alarm-type": "+Alarm türü", "specify-interval": "Zaman aralığını belirtin", "interval-seconds": "Zaman aralığı (saniye)", @@ -7120,16 +8265,16 @@ "owner-type": "Sahip türü", "owner-name-pattern": "Müşteri başlığı", "owner-name-pattern-required": "Müşteri başlığı gereklidir", - "create-owner-if-not-exists": "Yeni müşteri oluştur (yoksa)", + "create-owner-if-not-exists": "Müşteri yoksa oluştur", "create-owner-if-not-exists-hint": "Etkinleştirilirse ve belirtilen başlığa sahip müşteri yoksa, kural düğümü yeni bir üst düzey müşteri oluşturacaktır.", "create-new-customer-if-not-exists-hint": "Etkinleştirilirse ve belirtilen başlığa sahip müşteri yoksa, kural düğümü yeni bir müşteri oluşturacaktır.", - "create-owner-on-originator-level": "Mesaj göndericisi ile aynı düzeyde yeni müşteri oluştur", - "create-owner-on-originator-level-hint": "Etkinleştirilirse ve göndericinin sahibi bir kiracıysa, kural düğümü üst düzey müşteri oluşturur. Sahip müşteri ise alt müşteri oluşturur.", + "create-owner-on-originator-level": "Mesaj kaynağıyla aynı düzeyde yeni müşteri oluştur", + "create-owner-on-originator-level-hint": "Etkinleştirilirse ve kaynağın sahibi kiracıysa, kural düğümü üst düzey bir müşteri oluşturur. Etkinleştirilirse ve kaynağın sahibi müşteriyse, kural düğümü onun alt müşterisini oluşturur.", "owner-cache-expiration": "Sahip önbellek geçerlilik süresi (saniye)", "owner-cache-expiration-required": "Sahip önbellek geçerlilik süresi gereklidir.", "owner-cache-expiration-range": "Sahip önbellek geçerlilik süresi 0 veya daha büyük olmalıdır.", "owner-cache-expiration-hint": "Bulunan sahip kayıtlarının saklanmasına izin verilen maksimum zaman aralığını belirtir. 0 değeri, kayıtların süresiz saklanacağı anlamına gelir.", - "select-details": "Detayları seç", + "select-details": "Ayrıntıları seç", "entity-details-id": "Id", "entity-details-title": "Başlık", "entity-details-country": "Ülke", @@ -7143,13 +8288,13 @@ "entity-details-email": "E-posta", "email-sender": "E-posta gönderen", "fields-to-check": "Kontrol edilecek alanlar", - "add-detail": "Detay ekle", - "check-all-keys-tooltip": "Etkinleştirilirse, gelen mesaj ve metadata içindeki tüm alan adlarının varlığı kontrol edilir.", + "add-detail": "Ayrıntı ekle", + "check-all-keys-tooltip": "Etkinleştirilirse, mesaj ve meta veri alan adlarında listelenen tüm alanların gelen mesajda ve meta verisinde bulunup bulunmadığı kontrol edilir.", "fields-to-check-hint": "Alan adını tamamlamak için \"Enter\" tuşuna basın. Birden fazla alan adı desteklenir.", - "entity-details-list-empty": "En az bir detay seçilmelidir.", + "entity-details-list-empty": "En az bir ayrıntı seçilmelidir.", "alarm-status": "Alarm durumu", "alarm-required": "En az bir alarm durumu seçilmelidir.", - "no-entity-details-matching": "Eşleşen varlık detayı bulunamadı.", + "no-entity-details-matching": "Eşleşen öğe ayrıntısı bulunamadı.", "custom-table-name": "Özel tablo adı", "custom-table-name-required": "Tablo adı gereklidir", "custom-table-hint": "Tablo Cassandra kümenizde oluşturulmuş olmalı ve adı 'cs_tb_' önekiyle başlamalıdır. Ortak TB tablolarına veri eklenmesini önlemek için buraya yalnızca önek olmadan tablo adını girin.", @@ -7161,10 +8306,10 @@ "longitude-field-name": "Boylam alan adı", "latitude-field-name-required": "Enlem alan adı gereklidir.", "longitude-field-name-required": "Boylam alan adı gereklidir.", - "fetch-perimeter-info-from-metadata": "Çevre bilgilerini metadata'dan al", - "fetch-perimeter-info-from-metadata-tooltip": "Çevre türü 'Polygon' olarak ayarlanmışsa, '{{perimeterKeyName}}' metadata alanının değeri ek işlem olmadan çevre tanımı olarak kullanılır. 'Circle' olarak ayarlanmışsa, bu metadata değeri 'latitude', 'longitude', 'radius', 'radiusUnit' alanlarına ayrıştırılır.", + "fetch-perimeter-info-from-metadata": "Çevre bilgilerini meta veriden al", + "fetch-perimeter-info-from-metadata-tooltip": "Çevre türü 'Poligon' olarak ayarlanmışsa, '{{perimeterKeyName}}' meta veri alanının değeri ek ayrıştırma yapılmadan çevre tanımı olarak kullanılır. 'Daire' olarak ayarlanmışsa, '{{perimeterKeyName}}' meta veri alanının değeri daire çevre tanımında kullanılan 'latitude', 'longitude', 'radius', 'radiusUnit' alanlarına ayrıştırılır.", "perimeter-key-name": "Çevre anahtar adı", - "perimeter-key-name-hint": "Çevre bilgilerini içeren metadata alan adı.", + "perimeter-key-name-hint": "Çevre bilgilerini içeren meta veri alan adı.", "perimeter-key-name-required": "Çevre anahtar adı gereklidir.", "perimeter-circle": "Daire", "perimeter-polygon": "Poligon", @@ -7178,9 +8323,9 @@ "range-unit-foot": "Fit", "range-unit-mile": "Mil", "range-unit-nautical-mile": "Deniz mili", - "range-units": "Menzil birimi", + "range-units": "Yarıçap birimi", "range-units-required": "Menzil birimi gereklidir.", - "range": "Menzil", + "range": "Yarıçap", "range-required": "Menzil gereklidir.", "polygon-definition": "Poligon tanımı", "polygon-definition-required": "Poligon tanımı gereklidir.", @@ -7192,21 +8337,21 @@ "min-outside-duration-value-required": "Minimum dışarıda kalma süresi gereklidir", "min-outside-duration-time-unit": "Minimum dışarıda kalma süresi birimi", "tell-failure-if-absent": "Hata bildir", - "tell-failure-if-absent-hint": "Seçilen anahtarlardan en az biri mevcut değilse, çıkan mesaj 'Hata' olarak raporlanacaktır.", + "tell-failure-if-absent-hint": "Seçilen anahtarlardan en az biri mevcut değilse, giden mesaj \"Failure\" ilişkisiyle iletilir.", "get-latest-value-with-ts": "En son telemetri değerleri için zaman damgasını al", "get-latest-value-with-ts-hint": "Seçildiğinde, en son telemetri değerleri zaman damgası ile birlikte verilir, örn: \"temp\": \"{\"ts\":1574329385897, \"value\":42}\"", - "ignore-null-strings": "Boş metinleri yok say", - "ignore-null-strings-hint": "Seçildiğinde, değeri boş olan varlık alanları yok sayılır.", + "ignore-null-strings": "Null değerli metinleri yok say", + "ignore-null-strings-hint": "Seçildiğinde, değeri boş olan öğe alanları yok sayılır.", "aggregate-interval-type": "Toplama aralığı türü", "aggregate-period-hour": "Saat", "aggregate-period-day": "Gün", - "aggregate-period-week": "Hafta (Pzt - Paz)", - "aggregate-period-week-sun-sat": "Hafta (Paz - Cmt)", + "aggregate-period-week": "Hafta (Pazartesi - Pazar)", + "aggregate-period-week-sun-sat": "Hafta (Pazar - Cumartesi)", "aggregate-period-month": "Ay", "aggregate-period-year": "Yıl", "aggregate-period-custom": "Özel", - "add-metadata-key-values-as-kafka-headers": "Mesaj metadata anahtar-değer çiftlerini Kafka başlıklarına ekle", - "add-metadata-key-values-as-kafka-headers-hint": "Seçildiğinde, mesaj metadata'sından gelen anahtar-değer çiftleri, ön tanımlı karakter seti ile bayt dizisi olarak Kafka başlıklarına eklenir.", + "add-metadata-key-values-as-kafka-headers": "Mesaj meta verisindeki anahtar-değer çiftlerini Kafka kayıt başlıklarına ekle", + "add-metadata-key-values-as-kafka-headers-hint": "Seçildiğinde, mesaj meta verisindeki anahtar-değer çiftleri, ön tanımlı karakter kodlamasıyla bayt dizisi olarak giden kayıtların başlıklarına eklenir.", "charset-encoding": "Karakter kodlaması", "charset-encoding-required": "Karakter kodlaması gereklidir.", "charset-us-ascii": "US-ASCII", @@ -7224,18 +8369,18 @@ "round": "Ondalık basamak", "round-range": "Ondalık basamak sayısı 0 ile 15 arasında olmalıdır.", "use-cache": "En son değer için önbellek kullan", - "tell-failure-if-delta-is-negative": "Delta negatifse hata bildir", + "tell-failure-if-delta-is-negative": "Delta negatifse Failure bildir", "add-period-between-msgs": "Mesajlar arası süre ekle", - "search-entity-group-for-tenant-only": "Varlık grubunu yalnızca Kiracı düzeyinde ara", - "consider-message-originator-as-a-group-owner": "Mesajın göndericisini grup sahibi olarak kabul et", - "consider-message-originator-as-a-group-owner-hint": "Varsayılan olarak, grup araması mesaj göndericisinin sahibi düzeyinden başlar ve grup bulunmazsa kiracı düzeyine kadar devam eder. Etkinleştirilirse ve gönderici bir Kiracı veya Müşteri ise, arama göndericinin düzeyinden başlatılır.", + "search-entity-group-for-tenant-only": "Öğe grubunu yalnızca Kiracı düzeyinde ara", + "consider-message-originator-as-a-group-owner": "Mesaj kaynağını grup sahibi olarak kabul et", + "consider-message-originator-as-a-group-owner-hint": "Varsayılan olarak, grup araması mesaj kaynağının sahibiyle aynı düzeyden başlar ve grup bulunamazsa hiyerarşide kiracı düzeyine kadar yukarı çıkar. Etkinleştirilirse ve kaynak bir Kiracı veya Müşteri ise, arama kaynağın düzeyinden başlar.", "input-value-key": "Girdi değer anahtarı", "input-value-key-required": "Girdi değer anahtarı gereklidir.", "output-value-key": "Çıktı değer anahtarı", "output-value-key-required": "Çıktı değer anahtarı gereklidir.", - "number-of-digits-after-floating-point": "Ondalık noktadan sonraki basamak sayısı", + "number-of-digits-after-floating-point": "Ondalık basamak sayısı", "number-of-digits-after-floating-point-range": "Ondalık noktadan sonraki basamak sayısı 0 ile 15 arasında olmalıdır.", - "failure-if-delta-negative": "Delta negatifse Hata bildir", + "failure-if-delta-negative": "Delta negatifse Failure bildir", "failure-if-delta-negative-tooltip": "Delta değeri negatifse, kural düğümü mesaj işlemini başarısız olarak işaretler.", "use-caching": "Önbellek kullan", "use-caching-tooltip": "Kural düğümü gelen mesajdan gelen \"{{inputValueKey}}\" değerini önbelleğe alarak performansı artırır. Ancak, bu değer başka bir yerde değiştirildiyse önbellek güncellenmez.", @@ -7243,30 +8388,30 @@ "add-time-difference-between-readings-tooltip": "Etkinleştirildiğinde, kural düğümü çıkış mesajına \"{{periodValueKey}}\" ekler.", "period-value-key": "Periyot değer anahtarı", "period-value-key-required": "Periyot değer anahtarı gereklidir.", - "general-pattern-hint": "Metadata'dan değer almak için ${metadataKey}, mesaj gövdesinden değer almak için $[messageKey] kullanın.", - "alarm-severity-pattern-hint": "Metadata'dan değer almak için ${metadataKey}, mesaj gövdesinden değer almak için $[messageKey] kullanın. Alarm şiddeti sistem seviyesinde olmalıdır (CRITICAL, MAJOR vb.)", + "general-pattern-hint": "Meta veriden değer almak için ${metadataKey}, mesaj gövdesinden değer almak için $[messageKey] kullanın.", + "alarm-severity-pattern-hint": "Metadata'dan değer almak için ${metadataKey}, mesaj gövdesinden değer almak için $[messageKey] kullanın. Alarm önem derecesi sistemde tanımlı değerlerden biri olmalıdır (CRITICAL, MAJOR vb.)", "output-node-name-hint": "Kural düğümü adı, çağıran kural zincirindeki diğer düğümlere mesaj yönlendirmek için kullanılan ilişki türü ile eşleşir.", "use-server-ts": "Sunucu zaman damgası kullan", "use-server-ts-hint": "Zaman damgası olmayan zaman serisi verileri için sunucunun mevcut zaman damgasını kullanır. Bu, farklı kaynaklardan gelen mesajların sıralı işlenmesini sağlar.", - "kv-map-pattern-hint": "Tüm giriş alanları templatization destekler. Mesajdan değer almak için $[messageKey], metadata'dan almak için ${metadataKey} kullanın.", - "kv-map-single-pattern-hint": "Giriş alanı templatization destekler. Mesajdan değer almak için $[messageKey], metadata'dan almak için ${metadataKey} kullanın.", + "kv-map-pattern-hint": "Tüm giriş alanları şablonlaştırmayı destekler. Mesajdan değer almak için $[messageKey], meta veriden almak için ${metadataKey} kullanın.", + "kv-map-single-pattern-hint": "Giriş alanı şablonlaştırmayı destekler. Mesajdan değer almak için $[messageKey], meta veriden almak için ${metadataKey} kullanın.", "shared-scope": "Paylaşılan kapsam", "server-scope": "Sunucu kapsamı", "client-scope": "İstemci kapsamı", - "attribute-type": "Özellik", - "attribute-type-description": "Veritabanından özellik değeri al", - "attribute-type-result-description": "Sonucu veritabanına varlık özelliği olarak kaydet", + "attribute-type": "Öznitelik", + "attribute-type-description": "Veritabanından öznitelik değeri al", + "attribute-type-result-description": "Sonucu veritabanına öğe özniteliği olarak kaydet", "constant-type": "Sabit", "constant-type-description": "Sabit değer tanımla", "time-series-type": "Zaman serisi", "time-series-type-description": "Veritabanından en son zaman serisi değerini al", - "time-series-type-result-description": "Sonucu veritabanına varlık zaman serisi olarak kaydet", + "time-series-type-result-description": "Sonucu veritabanına öğe zaman serisi olarak kaydet", "message-body-type": "Mesaj", "message-body-type-description": "Gelen mesajdan argüman değerini al", "message-body-type-result-description": "Sonucu giden mesaja ekle", - "message-metadata-type": "Metadata", - "message-metadata-type-description": "Gelen mesaj metadata’sından argüman değerini al", - "message-metadata-result-description": "Sonucu giden mesaj metadata’sına ekle", + "message-metadata-type": "Meta veri", + "message-metadata-type-description": "Gelen mesajın meta verisinden argüman değerini al", + "message-metadata-result-description": "Sonucu giden mesajın meta verisine ekle", "argument-tile": "Argümanlar", "no-arguments-prompt": "Yapılandırılmış argüman yok", "result-title": "Sonuç", @@ -7278,26 +8423,26 @@ "argument-key-field-input-required": "Argüman anahtarı gereklidir.", "constant-value-field-input": "Sabit değer", "constant-value-field-input-required": "Sabit değer gereklidir.", - "attribute-scope-field-input": "Özellik kapsamı", - "attribute-scope-field-input-required": "Özellik kapsamı gereklidir.", + "attribute-scope-field-input": "Öznitelik kapsamı", + "attribute-scope-field-input-required": "Öznitelik kapsamı gereklidir.", "default-value-field-input": "Varsayılan değer", "type-field-input": "Tür", "type-field-input-required": "Tür gereklidir.", "key-field-input": "Anahtar", - "add-entity-type": "Varlık türü ekle", + "add-entity-type": "Öğe türü ekle", "add-device-profile": "Cihaz profili ekle", "key-field-input-required": "Anahtar gereklidir.", "number-floating-point-field-input": "Ondalık basamak sayısı", "number-floating-point-field-input-hint": "Sonucu tam sayıya dönüştürmek için 0 kullanın", "add-to-message-field-input": "Mesaja ekle", - "add-to-metadata-field-input": "Metadata’ya ekle", + "add-to-metadata-field-input": "Meta veriye ekle", "custom-expression-field-input": "Matematiksel İfade", "custom-expression-field-input-required": "Matematiksel ifade gereklidir", "custom-expression-field-input-hint": "Değerlendirilecek bir matematiksel ifade belirtin. Varsayılan ifade Fahrenheit’ı Celsius’a dönüştürmeyi gösterir", "retained-message": "Kalıcı", - "attributes-mapping": "Özellik eşlemesi", + "attributes-mapping": "Öznitelik eşlemesi", "latest-telemetry-mapping": "En son telemetri eşlemesi", - "add-mapped-attribute-to": "Eşlenen özellikleri ekle", + "add-mapped-attribute-to": "Eşlenen öznitelikleri ekle", "add-mapped-latest-telemetry-to": "Eşlenen en son telemetriyi ekle", "add-mapped-fields-to": "Eşlenen alanları ekle", "add-selected-details-to": "Seçilen ayrıntıları ekle", @@ -7305,27 +8450,27 @@ "clear-selected-details": "Seçilen ayrıntıları temizle", "clear-selected-fields": "Seçilen alanları temizle", "clear-selected-keys": "Seçilen anahtarları temizle", - "geofence-configuration": "Coğrafi sınır yapılandırması", + "geofence-configuration": "Coğrafi çit yapılandırması", "coordinate-field-names": "Koordinat alan adları", - "coordinate-field-hint": "Kural düğümü, belirtilen alanları mesajdan almaya çalışır. Eğer mevcut değillerse metadata’dan arar.", - "presence-monitoring-strategy": "Varlık izleme stratejisi", + "coordinate-field-hint": "Kural düğümü, belirtilen alanları mesajdan almaya çalışır. Mevcut değillerse meta veride arar.", + "presence-monitoring-strategy": "Bulunma izleme stratejisi", "presence-monitoring-strategy-on-first-message": "İlk mesajda", "presence-monitoring-strategy-on-each-message": "Her mesajda", - "presence-monitoring-strategy-on-first-message-hint": "Önceki varlık durumu 'Girdi' veya 'Çıktı' güncellemesinden sonra yapılandırılmış minimum süre geçtikten sonra gelen ilk mesajda 'İçeride' veya 'Dışarıda' varlık durumunu bildirir.", - "presence-monitoring-strategy-on-each-message-hint": "'Girdi' veya 'Çıktı' varlık durumundan sonra gelen her mesajda 'İçeride' veya 'Dışarıda' durumunu bildirir.", + "presence-monitoring-strategy-on-first-message-hint": "Önceki 'Girdi' veya 'Çıktı' bulunma durumu güncellemesinden sonra yapılandırılmış minimum süre geçtiğinde gelen ilk mesajda 'İçeride' veya 'Dışarıda' bulunma durumunu bildirir.", + "presence-monitoring-strategy-on-each-message-hint": "'Girdi' veya 'Çıktı' bulunma durumu güncellemesinden sonra gelen her mesajda 'İçeride' veya 'Dışarıda' bulunma durumunu bildirir.", "fetch-credentials-to": "Kimlik bilgilerini buraya al", - "add-originator-attributes-to": "Başlatan özelliklerini buraya ekle", - "originator-attributes": "Başlatan özellikleri", + "add-originator-attributes-to": "Başlatan özniteliklerini buraya ekle", + "originator-attributes": "Başlatan öznitelikleri", "fetch-latest-telemetry-with-timestamp": "Zaman damgası ile en son telemetriyi al", - "fetch-latest-telemetry-with-timestamp-tooltip": "Seçildiğinde, en son telemetri değerleri zaman damgası ile çıkış metadata’sına eklenir, örn: \"{{latestTsKeyName}}\": \"{\"ts\":1574329385897, \"value\":42}\"", - "tell-failure": "Seçilen özelliklerden herhangi biri eksikse Hata bildir", - "tell-failure-tooltip": "Seçilen anahtarlardan en az biri yoksa çıkış mesajı 'Hata' olarak işaretlenir.", + "fetch-latest-telemetry-with-timestamp-tooltip": "Seçildiğinde, en son telemetri değerleri zaman damgasıyla birlikte çıkış meta verisine eklenir, örn: \"{{latestTsKeyName}}\": \"{\"ts\":1574329385897, \"value\":42}\"", + "tell-failure": "Seçilen özniteliklerden herhangi biri eksikse Hata bildir", + "tell-failure-tooltip": "Seçilen anahtarlardan en az biri mevcut değilse, giden mesaj \"Failure\" ilişkisiyle iletilir.", "created-time": "Oluşturulma zamanı", - "chip-help": "'{{inputName}}' girişi tamamlamak için 'Enter' tuşuna basın. \n'{{inputName}}' silmek için 'Backspace' tuşuna basın. \nBirden fazla değer desteklenir.", + "chip-help": "{{inputName}} girişini tamamlamak için 'Enter' tuşuna basın. \n{{inputName}} değerini silmek için 'Backspace' tuşuna basın. \nBirden fazla değer desteklenir.", "detail": "ayrıntı", "field-name": "alan adı", "device-profile": "cihaz profili", - "entity-type": "varlık türü", + "entity-type": "öğe türü", "message-type": "mesaj türü", "timeseries-key": "zaman serisi anahtarı", "type": "Tür", @@ -7336,12 +8481,12 @@ "add-mapped-originator-fields-to": "Eşlenen başlatan alanları buraya ekle", "fields": "Alanlar", "skip-empty-fields": "Boş alanları atla", - "skip-empty-fields-tooltip": "Boş değerlere sahip alanlar çıkış mesajına/metadata’ya eklenmeyecektir.", + "skip-empty-fields-tooltip": "Boş değerlere sahip alanlar çıkış mesajına/meta veriye eklenmeyecektir.", "fetch-interval": "Alım aralığı", "fetch-strategy": "Alım stratejisi", "fetch-timeseries-from-to": "{{startInterval}} {{startIntervalTimeUnit}} öncesinden {{endInterval}} {{endIntervalTimeUnit}} öncesine kadar zaman serisini al.", - "fetch-timeseries-from-to-invalid": "Zaman serisi alımı geçersiz (\"Başlangıç aralığı\", \"Bitiş aralığından\" küçük olmalıdır).", - "use-metadata-dynamic-interval-tooltip": "Seçildiğinde, kural düğümü mesaj ve metadata desenlerine göre dinamik aralık başlangıcı ve bitişi kullanacaktır.", + "fetch-timeseries-from-to-invalid": "Zaman serisi alımı geçersiz (\"Aralık başlangıcı\", \"Aralık bitişi\" değerinden küçük olmalıdır).", + "use-metadata-dynamic-interval-tooltip": "Seçildiğinde, kural düğümü mesaj ve meta veri desenlerine göre dinamik aralık başlangıcı ve bitişi kullanacaktır.", "all-mode-hint": "\"Tümü\" alım modu seçildiğinde, kural düğümü yapılandırılabilir sorgu parametreleri ile alım aralığından telemetri verilerini alacaktır.", "first-mode-hint": "\"İlk\" alım modu seçildiğinde, kural düğümü alım aralığının başlangıcına en yakın telemetri verisini alacaktır.", "last-mode-hint": "\"Son\" alım modu seçildiğinde, kural düğümü alım aralığının sonuna en yakın telemetri verisini alacaktır.", @@ -7353,22 +8498,22 @@ "sum": "Toplam", "count": "Sayı", "none": "Yok", - "last-level-relation-tooltip": "Seçildiğinde, kural düğümü sadece maksimum ilişki düzeyinde tanımlı düzeydeki ilişkili varlıkları arar.", + "last-level-relation-tooltip": "Seçildiğinde, kural düğümü sadece maksimum ilişki düzeyinde tanımlı düzeydeki ilişkili öğeleri arar.", "last-level-device-relation-tooltip": "Seçildiğinde, kural düğümü sadece maksimum ilişki düzeyinde tanımlı düzeydeki ilişkili cihazları arar.", "data-to-fetch": "Alınacak veri", "mapping-of-customers": "Müşteri eşlemesi", "map-fields-required": "Tüm eşleme alanları gereklidir.", - "attributes": "Özellikler", - "related-device-attributes": "İlişkili cihaz özellikleri", - "add-selected-attributes-to": "Seçilen özellikleri buraya ekle", + "attributes": "Öznitelikler", + "related-device-attributes": "İlişkili cihaz öznitelikleri", + "add-selected-attributes-to": "Seçilen öznitelikleri buraya ekle", "device-profiles": "Cihaz profilleri", "mapping-of-tenant": "Kiracı eşlemesi", - "add-attribute-key": "Özellik anahtarı ekle", + "add-attribute-key": "Öznitelik anahtarı ekle", "message-template": "Mesaj şablonu", "message-template-required": "Mesaj şablonu gereklidir", "use-system-slack-settings": "Sistem Slack ayarlarını kullan", - "slack-api-token": "Slack API anahtarı", - "slack-api-token-required": "Slack API anahtarı gereklidir", + "slack-api-token": "Slack API belirteci", + "slack-api-token-required": "Slack API belirteci gereklidir", "deduplication-period-sec": "Çoğaltmayı önleme süresi (sn)", "deduplication-period-sec-required": "Çoğaltmayı önleme süresi değeri gereklidir.", "deduplication-period-sec-range": "Çoğaltmayı önleme süresi değeri 10 ile 2147483647 arasında olmalıdır.", @@ -7376,30 +8521,30 @@ "add-key": "Anahtar ekle", "recipients": "Alıcılar", "message-subject-and-content": "Mesaj konusu ve içeriği", - "template-rules-hint": "Her iki giriş alanı da şablonlaştırmayı destekler. Mesajdan değer çıkarmak için $[messageKey], metadata'dan değer çıkarmak için ${metadataKey} kullanın.", + "template-rules-hint": "Her iki giriş alanı da şablonlaştırmayı destekler. Mesajdan değer çıkarmak için $[messageKey], meta veriden değer çıkarmak için ${metadataKey} kullanın.", "originator-customer-desc": "Gelen mesajın başlatanının müşterisini yeni başlatan olarak kullan.", - "originator-tenant-desc": "Mevcut kiracıyı yeni başlatan olarak kullan.", - "originator-related-entity-desc": "İlgili varlığı yeni başlatan olarak kullan. Yapılandırılmış ilişki türü ve yönüne göre arama yapılır.", - "originator-alarm-originator-desc": "Alarm başlatanını yeni başlatan olarak kullan. Yalnızca gelen mesajın başlatanı alarm varlığı ise geçerlidir.", - "originator-entity-by-name-pattern-desc": "Veritabanından alınan varlığı yeni başlatan olarak kullan. Varlık türüne ve belirtilen ad desenine göre arama yapılır.", - "email-from-template-hint": "Mesajdan değer çıkarmak için $[messageKey], metadata'dan değer çıkarmak için ${metadataKey} kullanın.", - "recipients-block-main-hint": "Virgülle ayrılmış adres listesi. Tüm giriş alanları şablonlaştırmayı destekler.", + "originator-tenant-desc": "Geçerli kiracıyı yeni başlatan olarak kullan.", + "originator-related-entity-desc": "İlişkili öğeyi yeni başlatan olarak kullan. Yapılandırılmış ilişki türü ve yönüne göre arama yapılır.", + "originator-alarm-originator-desc": "Alarm başlatanını yeni başlatan olarak kullan. Yalnızca gelen mesajın başlatanı alarm öğesi ise geçerlidir.", + "originator-entity-by-name-pattern-desc": "Veritabanından alınan öğeyi yeni başlatan olarak kullan. Öğe türüne ve belirtilen ad desenine göre arama yapılır.", + "email-from-template-hint": "Mesajdan değer çıkarmak için $[messageKey], meta veriden değer çıkarmak için ${metadataKey} kullanın.", + "recipients-block-main-hint": "Virgülle ayrılmış adres listesi. Tüm giriş alanları şablon kullanımını destekler. İletiden değer almak için $[messageKey], meta veriden değer almak için ${metadataKey} kullanın.", "search-entity-group-for-tenant-only-hint": "Varsayılan olarak grup araması, mesaj başlatanının sahibi düzeyinde başlar ve grup bulunamazsa kiracı düzeyine kadar yukarı çıkar. Etkinleştirilirse arama yalnızca kiracı düzeyi ile sınırlandırılır.", - "entity-group-is-message-originator-hint": "Etkinleştirilirse, mesaj başlatanı varlık grubu olarak kabul edilir ve varlıklar bu gruptan alınır. Eğer başlatan türü varlık grubu değilse, mesaj Failure zinciri üzerinden yönlendirilir.", + "entity-group-is-message-originator-hint": "Etkinleştirilirse, mesaj başlatanı öğe grubu olarak kabul edilir ve öğeler bu gruptan alınır. Eğer başlatan türü öğe grubu değilse, mesaj Failure zinciri üzerinden yönlendirilir.", "forward-msg-default-rule-chain": "Mesajı başlatanın varsayılan kural zincirine yönlendir", - "forward-msg-default-rule-chain-tooltip": "Etkinleştirilirse, mesaj başlatanın varsayılan kural zincirine ya da yapılandırmadan tanımlanmış zincire yönlendirilir. Eğer başlatanın profilinde varsayılan bir zincir tanımlı değilse, yapılandırmadaki zincir kullanılır.", - "fetch-originators-attributes-customer": "Başlatan müşteri ise özelliklerini getir", - "fetch-originators-attributes-customer-hint": "Etkinleştirilirse ve gelen mesajın başlatanı müşteri ise, müşteri araması yapılmadan başlatanın {{mappingOfCustomers}} özellikleri alınır.", + "forward-msg-default-rule-chain-tooltip": "Etkinleştirilirse, mesaj başlatanın varsayılan kural zincirine ya da yapılandırmadan tanımlanmış zincire yönlendirilir. Eğer başlatanın öğe profilinde varsayılan bir zincir tanımlı değilse, yapılandırmadaki zincir kullanılır.", + "fetch-originators-attributes-customer": "Başlatan müşteri ise özniteliklerini getir", + "fetch-originators-attributes-customer-hint": "Etkinleştirilirse ve gelen mesajın başlatanı müşteri ise, kural düğümü müşteri araması yapmadan başlatanın şu verilerini alır: {{mappingOfCustomers}}.", "parse-originator-if-customer": "Başlatan müşteri ise değiştirme", "parse-originator-if-customer-hint": "Etkinleştirilirse ve başlatan müşteri ise, yeni başlatan araması yapılmaz, mevcut başlatan korunur.", "exclude-zero-deltas": "Sıfır farkları çıkış mesajından hariç tut", "exclude-zero-deltas-hint": "Etkinleştirilirse, \"{{outputValueKey}}\" değeri sıfır değilse çıkış mesajına eklenir.", "exclude-zero-deltas-time-difference-hint": "Etkinleştirilirse, sadece \"{{outputValueKey}}\" değeri sıfır değilse, \"{{outputValueKey}}\" ve \"{{periodValueKey}}\" çıkış anahtarları mesaja eklenir.", - "search-direction-from": "Başlatandan hedef varlığa", - "search-direction-to": "Hedef varlıktan başlatana", + "search-direction-from": "Başlatandan hedef öğeye", + "search-direction-to": "Hedef öğeden başlatana", "del-relation-direction-from": "Başlatandan", "del-relation-direction-to": "Başlatana", - "target-entity": "Hedef varlık", + "target-entity": "Hedef öğe", "function-configuration": "Fonksiyon yapılandırması", "function-name": "Fonksiyon adı", "function-name-required": "Fonksiyon adı gereklidir.", @@ -7419,14 +8564,25 @@ "tell-failure-aws-lambda-hint": "Eğer AWS Lambda fonksiyonu hata dönerse, mesaj işleme Failure olarak işaretlenir.", "basic-mode": "Temel", "advanced-mode": "Gelişmiş", + "url-hint": "İstek URL'sini girin. Özel karakterlerin yüzde kodlamasıyla kodlandığından emin olun.", + "query-params": "Sorgu parametreleri", + "query-params-hint": "İstek URL'sine eklenecek ek sorgu parametreleri. Hem adlar hem de değerler şablon kullanımını destekler ve şablon çözümlendikten sonra katı biçimde (RFC 3986) kodlanır.", + "query-params-empty": "Yapılandırılmış sorgu parametresi yok", + "query-params-name": "Ad", + "query-params-value": "Değer", + "query-params-name-required": "Ad gereklidir", + "query-params-value-required": "Değer gereklidir", + "headers-empty": "Yapılandırılmış üstbilgi yok", + "request-url": "İstek URL'si", + "url": "URL", "save-time-series": { "processing-settings": "İşleme ayarları", - "processing-settings-hint": "Gelen mesajların nasıl işlendiğini tanımlar. Temel ayarlar önceden tanımlı stratejiler sunar, gelişmiş ayarlar ise her eylem için bireysel strateji seçmenize olanak tanır.", + "processing-settings-hint": "Gelen mesajların nasıl işlendiğini tanımlar. Temel işleme ayarları önceden yapılandırılmış stratejileri seçmenize olanak tanır, Gelişmiş ayarlar ise her işlem için ayrı stratejiler belirlemenizi sağlar.", "advanced-settings-hint": "İşleme stratejilerini yapılandırırken dikkatli olun. Bazı kombinasyonlar beklenmeyen sonuçlara neden olabilir.", "strategy": "Strateji", "deduplication-interval": "Çoğaltmayı önleme aralığı", "deduplication-interval-required": "Çoğaltmayı önleme aralığı gereklidir", - "deduplication-interval-min-max-range": "Aralık en az 1 saniye ve en fazla 1 gün olmalıdır", + "deduplication-interval-min-max-range": "Çoğaltmayı önleme aralığı en az 1 saniye ve en fazla 1 gün olmalıdır", "strategy-type": { "every-message": "Her mesajda", "skip": "Atla", @@ -7441,7 +8597,7 @@ "save-attribute": { "processing-settings": "İşleme ayarları", "processing-settings-hint": "Gelen mesajların nasıl işlendiğini tanımlar. Temel işleme ayarları önceden yapılandırılmış stratejileri seçmenize olanak tanır, Gelişmiş ayarlar ise her işlem için ayrı stratejiler belirlemenizi sağlar.", - "advanced-settings-hint": "İşleme stratejilerini yapılandırırken dikkatli olun. Bazı kombinasyonlar beklenmeyen davranışlara yol açabilir.", + "advanced-settings-hint": "İşleme stratejilerini yapılandırırken dikkatli olun. Bazı kombinasyonlar beklenmeyen sonuçlara neden olabilir.", "strategy": "Strateji", "deduplication-interval": "Çoğaltmayı önleme aralığı", "deduplication-interval-required": "Çoğaltmayı önleme aralığı gereklidir", @@ -7463,7 +8619,7 @@ "remove-mapping-entry": "Eşleme girdisini kaldır", "add-mapping-entry": "Eşleme ekle", "add-entry": "Girdi ekle", - "copy-key-values-from": "Anahtar-değer çiftlerini kopyala", + "copy-key-values-from": "Anahtar-değer çiftlerini şuradan kopyala", "delete-key-values": "Anahtar-değer çiftlerini sil", "delete-key-values-from": "Şuradan anahtar-değer çiftlerini sil", "at-least-one-key-error": "En az bir anahtar seçilmelidir.", @@ -7480,35 +8636,35 @@ "after-template-evaluation-hint": "Şablon değerlendirmesinden sonra değer HTML için true, Düz metin için false olmalıdır." }, "ai": { - "ai-model": "Yapay Zeka modeli", + "ai-model": "Yapay zeka modeli", "model": "Model", - "ai-model-hint": "Bu kural düğümü tarafından gönderilen istekleri işlemek için önceden yapılandırılmış Yapay Zeka modelini seçin veya yeni bir tane yapılandırmak için \"Yeni oluştur\" seçeneğini kullanın.", + "ai-model-hint": "Bu kural düğümü tarafından gönderilen istekleri işlemek için önceden yapılandırılmış yapay zeka modelini seçin veya yeni bir tane yapılandırmak için \"Yeni oluştur\" seçeneğini kullanın.", "prompt-settings": "İstem ayarları", - "prompt-settings-hint": "İsteğe bağlı sistem istemi, YZ'nin genel rolünü ve kısıtlarını belirlerken, kullanıcı istemi gerçekleştirilecek belirli görevi tanımlar. Her iki alan da şablonlaştırmayı destekler.", + "prompt-settings-hint": "İsteğe bağlı sistem istemi, yapay zekanın genel rolünü ve kısıtlarını belirlerken, kullanıcı istemi gerçekleştirilecek belirli görevi tanımlar. Her iki alan da şablonlaştırmayı destekler.", "system-prompt": "Sistem istemi", "system-prompt-max-length": "Sistem istemi 500000 karakter veya daha az olmalıdır.", "system-prompt-blank": "Sistem istemi boş bırakılmamalıdır.", "user-prompt": "Kullanıcı istemi", - "user-prompt-required": "Kullanıcı istemi zorunludur.", + "user-prompt-required": "Kullanıcı istemi gereklidir.", "user-prompt-max-length": "Kullanıcı istemi 500000 karakter veya daha az olmalıdır.", "user-prompt-blank": "Kullanıcı istemi boş bırakılmamalıdır.", "response-format": "Yanıt biçimi", "response-text": "Metin", "response-json": "JSON", "response-json-schema": "JSON Şeması", - "response-format-hint-TEXT": "Modelin rastgele metin üretmesine izin verir; bu metin geçerli bir JSON nesnesi olabilir veya olmayabilir. Çıktı geçerli bir JSON nesnesi değilse, otomatik olarak \"response\" anahtarının altında bir JSON nesnesine sarılır.", + "response-format-hint-TEXT": "Modelin serbest biçimli metin üretmesine izin verir; bu metin geçerli bir JSON nesnesi olabilir veya olmayabilir. Çıktı geçerli bir JSON nesnesi değilse, otomatik olarak \"response\" anahtarının altında bir JSON nesnesine sarılır.", "response-format-hint-JSON": "Modelin geçerli bir JSON olan bir yanıt üretmesi gerekir. Çıktı geçerli bir JSON nesnesi değilse, otomatik olarak \"response\" anahtarının altında bir JSON nesnesine sarılır.", "response-format-hint-JSON_SCHEMA": "Modelin, sağlanan şemada tanımlanan belirli yapı ve veri türleriyle eşleşen bir JSON üretmesi gerekir. Çıktı geçerli bir JSON nesnesi değilse, otomatik olarak \"response\" anahtarının altında bir JSON nesnesine sarılır.", "response-json-schema-hint": "Her geçerli JSON Şeması girilebilir, ancak bu kural düğümü bunun özelliklerinin yalnızca sınırlı bir alt kümesini destekler. Ayrıntılar için düğüm belgelerine bakın.", - "response-json-schema-required": "JSON Şeması zorunludur", + "response-json-schema-required": "JSON Şeması gereklidir", "advanced-settings": "Gelişmiş ayarlar", "timeout": "Zaman aşımı", - "timeout-hint": "İstek sonlandırılmadan önce YZ modelinden \nyanıt beklemek için azami süre.", - "timeout-required": "Zaman aşımı zorunludur", + "timeout-hint": "İstek sonlandırılmadan önce yapay zeka modelinden \nyanıt beklemek için azami süre.", + "timeout-required": "Zaman aşımı gereklidir", "timeout-validation": "1 saniye ile 10 dakika arasında olmalıdır.", "force-acknowledgement": "Onayı zorla", "force-acknowledgement-hint": "Etkinleştirilirse, gelen ileti hemen onaylanır. Modelin yanıtı daha sonra ayrı, yeni bir ileti olarak kuyruğa alınır.", - "ai-resources": "Yapay Zeka kaynakları" + "ai-resources": "Yapay zeka kaynakları" } }, "role": { @@ -7524,13 +8680,13 @@ "search": "Rol ara", "selected-roles": "{ count, plural, =1 {1 rol} other {# rol} } seçildi", "no-roles-text": "Hiç rol bulunamadı", - "role-details": "Rol detayları", + "role-details": "Rol ayrıntıları", "add-role-text": "Yeni rol ekle", "delete": "Rolü sil", "delete-roles": "Rolleri sil", - "delete-role-title": "'{{roleName}}' rolünü silmek istediğinize emin misiniz?", + "delete-role-title": "'{{roleName}}' rolünü silmek istediğinizden emin misiniz?", "delete-role-text": "Dikkatli olun, onaydan sonra rol ve ilgili tüm veriler geri alınamaz hale gelecektir.", - "delete-roles-title": "{ count, plural, =1 {1 rolü} other {# rolü} } silmek istediğinize emin misiniz?", + "delete-roles-title": "{ count, plural, =1 {1 rolü} other {# rolü} } silmek istediğinizden emin misiniz?", "delete-roles-action-title": "{ count, plural, =1 {1 rolü sil} other {# rolü sil} }", "delete-roles-text": "Dikkatli olun, onaydan sonra seçilen tüm roller ve ilgili veriler geri alınamaz hale gelecektir.", "role-type": "Rol türü", @@ -7542,15 +8698,16 @@ "role-type-list-empty": "Rol türü seçilmedi.", "role-types": "Rol türleri", "created-time": "Oluşturulma zamanı", - "name": "İsim", - "name-required": "İsim gereklidir.", - "name-max-length": "İsim 256 karakterden kısa olmalıdır", + "name": "Ad", + "name-required": "Ad gereklidir.", + "name-max-length": "Ad 256 karakterden kısa olmalıdır", "description": "Açıklama", "events": "Olaylar", - "details": "Detaylar", + "details": "Ayrıntılar", "copyId": "Rol ID'sini kopyala", "idCopiedMessage": "Rol ID'si panoya kopyalandı", "permissions": "İzinler", + "excluded-permissions": "Hariç tutulan izinler", "role-required": "Rol gereklidir", "roles-required": "Roller gereklidir", "display-type": { @@ -7560,7 +8717,7 @@ }, "group-permission": { "user-group-roles": "Kullanıcı grubu rolleri", - "entity-group-permissions": "Varlık grubu izinleri", + "entity-group-permissions": "Öğe grubu izinleri", "role-type": "Rol türü", "role-name": "Rol adı", "group-type": "Grup türü", @@ -7571,23 +8728,27 @@ "edit": "İzinleri düzenle", "delete": "İzinleri sil", "selected-group-permissions": "{ count, plural, =1 {1 grup izni} other {# grup izni} } seçildi", - "delete-group-permission-title": "'{{roleName}}' grup iznini silmek istediğinize emin misiniz?", + "delete-group-permission-title": "'{{roleName}}' grup iznini silmek istediğinizden emin misiniz?", "delete-group-permission-text": "Dikkatli olun, onaydan sonra grup izni ve ilgili tüm veriler geri alınamaz hale gelecektir.", "delete-group-permission": "Grup iznini sil", - "delete-group-permissions-title": "{ count, plural, =1 {1 grup iznini} other {# grup iznini} } silmek istediğinize emin misiniz?", + "delete-group-permissions-title": "{ count, plural, =1 {1 grup iznini} other {# grup iznini} } silmek istediğinizden emin misiniz?", "delete-group-permissions-text": "Dikkatli olun, onaydan sonra seçilen tüm grup izinleri silinecek ve ilgili kullanıcıların belirtilen kaynaklara erişimi kesilecektir.", "delete-group-permissions": "Grup izinlerini sil", "add-group-permission": "Grup izni ekle", "edit-group-permission": "Grup iznini düzenle", - "entity-group": "Varlık grubu", + "entity-group": "Öğe grubu", "user-group": "Kullanıcı grubu", "no-owners-matching": "'{{owner}}' ile eşleşen sahip bulunamadı.", - "target-owner-required": "Varlık grubu sahibi gereklidir.", + "target-owner-required": "Öğe grubu sahibi gereklidir.", "target-user-group-owner-required": "Kullanıcı grubu sahibi gereklidir.", - "no-group-permissions-text": "Hiç grup izni bulunamadı" + "no-group-permissions-text": "Hiç grup izni bulunamadı", + "permissions-merge-hint": "Genel rollerde reddedilen işlemler yalnızca aynı rol içinde geçerli olur. Başka bir rol bir işleme izin veriyorsa erişim verilir." }, "permission": { - "permissions-required": "En az bir izin girdisi belirtilmelidir.", + "permissions-required": "İzin verilen en az bir işlem belirtilmelidir.", + "resource-duplicate": "Bu kaynak zaten seçili", + "operations-required": "En az bir izin verilen veya reddedilen işlem belirtilmelidir.", + "operation-overlap": "İzin verilen ve reddedilen işlemler çakışmamalıdır.", "remove-permission": "İzin girdisini kaldır", "add-permission": "İzin girdisi ekle", "other": "Diğer", @@ -7605,8 +8766,8 @@ "DEVICE_PROFILE": "Cihaz Profili", "ASSET": "Varlık", "CUSTOMER": "Müşteri", - "DASHBOARD": "Gösterge Paneli", - "ENTITY_VIEW": "Varlık Görünümü", + "DASHBOARD": "Pano", + "ENTITY_VIEW": "Öğe görünümü", "EDGE": "Edge", "TENANT": "Kiracı", "TENANT_PROFILE": "Kiracı Profili", @@ -7617,18 +8778,18 @@ "CONVERTER": "Dönüştürücü", "INTEGRATION": "Entegrasyon", "SCHEDULER_EVENT": "Zamanlayıcı Olayı", - "BLOB_ENTITY": "Blob Varlığı", + "BLOB_ENTITY": "Blob Öğesi", "REPORT_TEMPLATE": "Rapor Şablonu", "REPORT": "Rapor", "CUSTOMER_GROUP": "Müşteri Grubu", "DEVICE_GROUP": "Cihaz Grubu", "ASSET_GROUP": "Varlık Grubu", "USER_GROUP": "Kullanıcı Grubu", - "ENTITY_VIEW_GROUP": "Varlık Görünüm Grubu", - "DASHBOARD_GROUP": "Gösterge Paneli Grubu", + "ENTITY_VIEW_GROUP": "Öğe Görünümü Grubu", + "DASHBOARD_GROUP": "Pano Grubu", "ROLE": "Rol", "GROUP_PERMISSION": "Grup İzni", - "WHITE_LABELING": "Özel Markalama", + "WHITE_LABELING": "White labeling", "AUDIT_LOG": "Denetim Günlüğü", "API_USAGE_STATE": "API Kullanım Durumu", "TB_RESOURCE": "Kaynak", @@ -7646,13 +8807,23 @@ "OAUTH2_CLIENT": "OAuth 2.0 istemcisi", "SECRET": "Gizli anahtar", "JOB": "Görev", - "AI_MODEL": "Yapay Zeka modeli", - "API_KEY": "API anahtarı" + "AI_MODEL": "Yapay zeka modeli", + "AI": "Yapay zeka", + "API_KEY": "API anahtarı", + "AGENT": "Agent", + "AGENT_GROUP": "Agent grubu", + "AGENT_PROFILE": "Agent profili", + "AGENT_APPLICATION": "Agent uygulaması", + "AGENT_APP_PROFILE": "Agent uygulama profili", + "AGENT_APP_UNIT": "Agent uygulama birimi" } }, "operation": { "operation": "İşlem", "operations": "İşlemler", + "allowed": "İzin verilen", + "denied": "Reddedilen", + "not-set": "Belirtilmedi", "operations-required": "En az bir işlem belirtilmelidir.", "enter-operation": "İşlem girin", "no-operations-matching": "'{{operation}}' ile eşleşen işlem bulunamadı.", @@ -7663,7 +8834,7 @@ "WRITE": "Yaz", "DELETE": "Sil", "ASSIGN_TO_CUSTOMER": "Müşteriye ata", - "UNASSIGN_FROM_CUSTOMER": "Müşteriden çıkar", + "UNASSIGN_FROM_CUSTOMER": "Müşteriden atamayı kaldır", "RPC_CALL": "RPC Çağrısı", "READ_CREDENTIALS": "Kimlik bilgilerini oku", "WRITE_CREDENTIALS": "Kimlik bilgilerini yaz", @@ -7678,8 +8849,8 @@ "REMOVE_FROM_GROUP": "Gruptan çıkar", "SHARE_GROUP": "Grubu paylaş", "ASSIGN_TO_TENANT": "Kiracıya ata", - "READ_CALCULATED_FIELD": "Hesaplanan alanı oku", - "WRITE_CALCULATED_FIELD": "Hesaplanan alanı yaz" + "READ_CALCULATED_FIELD": "Hesaplanmış alanları ve alarm kurallarını oku", + "WRITE_CALCULATED_FIELD": "Hesaplanmış alanları ve alarm kurallarını yaz" } } }, @@ -7708,7 +8879,7 @@ "delete-scheduler-event-text": "Dikkatli olun, onaydan sonra zamanlayıcı olayı ve ilgili tüm veriler geri alınamaz şekilde silinecektir.", "delete-scheduler-events-title": "{ count, plural, =1 {1 zamanlayıcı olayı} other {# zamanlayıcı olayı} } silmek istediğinizden emin misiniz?", "delete-scheduler-events-text": "Dikkatli olun, onaydan sonra seçilen tüm zamanlayıcı olayları ve ilgili tüm veriler geri alınamaz şekilde silinecektir.", - "create": "Zamanlayıcı olayı oluştur", + "create": "Zamanlayıcı olayı ekle", "edit": "Zamanlayıcı olayını düzenle", "view": "Zamanlayıcı olayını görüntüle", "configuration": "Yapılandırma", @@ -7727,7 +8898,7 @@ "timer": "Zamana bağlı", "repeats-required": "Tekrar bilgisi gereklidir.", "repeat-on": "Tekrarlama günü", - "repeat-every": "Her tekrarlama", + "repeat-every": "Tekrarlama aralığı", "repeat-every-n-days": "Her N günde tekrar et", "repeat-days-required": "Tekrar edilecek gün sayısı gereklidir.", "invalid-repeat-days-value": "Gün sayısı pozitif bir tam sayı olmalıdır.", @@ -7770,7 +8941,7 @@ "navigate-next": "Sonraki", "starting-from": "Başlangıç", "until": "bitiş", - "on": "tarihinde", + "on": "her", "sunday": "Pazar", "monday": "Pazartesi", "tuesday": "Salı", @@ -7778,12 +8949,10 @@ "thursday": "Perşembe", "friday": "Cuma", "saturday": "Cumartesi", - "originator": "Başlatıcı", - "single-entity": "Tek varlık", - "group-entities": "Varlık grubu", - "entities-group-owner": "Varlık grubunun sahibi", - "single-device": "Tek cihaz", - "group-of-devices": "Cihaz grubu", + "originator": "Başlatan", + "single-entity": "Tek öğe", + "group-entities": "Öğe grubu", + "entities-group-owner": "Öğe grubunun sahibi", "devices-group-owner": "Cihaz grubunun sahibi", "message-body": "Mesaj içeriği", "target": "Hedef", @@ -7791,7 +8960,7 @@ "rpc-method-required": "Yöntem gereklidir", "rpc-method-white-space": "Boşluk karakterine izin verilmez.", "rpc-params": "Parametreler", - "select-dashboard-state": "Gösterge paneli durumu seç", + "select-dashboard-state": "Pano durumu seç", "hours": "Saat", "minutes": "Dakika", "seconds": "Saniye", @@ -7801,7 +8970,7 @@ "every-minute": "her { count, plural, =1 {dakika} other {# dakika} }", "every-second": "her { count, plural, =1 {saniye} other {# saniye} }", "invalid-time": "Geçersiz zaman", - "rpc-request-timeout": "RPC isteği zaman aşımı (ms)", + "rpc-request-timeout": "RPC istek zaman aşımı (ms)", "rpc-request-persistent": "RPC isteği kalıcı", "rpc-request-oneway-command": "Tek yönlü RPC isteği", "rpc-value-min-error": "Değer {{min}} ms'den fazla olmalıdır.", @@ -7852,22 +9021,29 @@ "reports": "Raporlar", "scheduling": "Zamanlama", "generating-report": "Rapor oluşturuluyor...", - "report-details": "Rapor detayları", + "report-details": "Rapor ayrıntıları", "add": "Rapor ekle", "no-reports-text": "Hiç rapor bulunamadı", "search": "Raporları ara", "selected-reports": "{ count, plural, =1 {1 rapor} other {# rapor} } seçildi", "filter-not-set": "Tümü", - "delete-report-title": "Rapor '{{reportName}}' silinsin mi?", + "delete-report-title": "'{{reportName}}' raporunu silmek istediğinizden emin misiniz?", "delete-report-text": "Dikkatli olun, onaydan sonra bu rapor ve ilgili tüm veriler geri alınamaz şekilde silinecek.", - "delete-reports-title": "{ count, plural, =1 {1 rapor} other {# rapor} } silinsin mi?", + "delete-reports-title": "{ count, plural, =1 {1 raporu} other {# raporu} } silmek istediğinizden emin misiniz?", "delete-reports-text": "Dikkatli olun, onaydan sonra seçili tüm raporlar ve ilgili veriler geri alınamaz şekilde silinecek.", "file-name": "Dosya adı", "format": "Biçim", "download": "Raporu indir", "report-filter": "Rapor filtresi", "no-reports-matching": "‘{{entity}}’ ile eşleşen rapor bulunamadı.", - "report-required": "Rapor gereklidir" + "report-required": "Rapor gereklidir", + "generate-report": "Rapor oluştur", + "generate-report-started": "Rapor oluşturma başladı. Rapor görünmezse lütfen sayfayı yenileyin.", + "public-status": "Herkese açık erişim", + "manage-public-access": "Herkese açık erişimi yönet", + "public-status-hint": "Etkinleştirildiğinde, herkese açık rapor bağlantısına sahip olan herkes raporu indirebilir.", + "public-link-text": "Bu rapor herkese açık. Aşağıdaki bağlantıyı paylaşın - bağlantıya sahip olan herkes raporu yetkilendirme olmadan indirebilir.", + "copy-public-link": "Bağlantıyı kopyala" }, "report-template": { "report-template": "Rapor şablonu", @@ -7882,7 +9058,7 @@ "open-report-template-new-tab": "Rapor şablonunu yeni sekmede aç", "select-sub-report": "Alt raporu seç", "open-subreport-new-tab": "Alt raporu yeni sekmede aç", - "report-template-details": "Rapor şablonu detayları", + "report-template-details": "Rapor şablonu ayrıntıları", "selected-report-templates": "{ count, plural, =1 {1 rapor şablonu} other {# rapor şablonu} } seçildi", "type-report": "Rapor", "type-sub-report": "Alt rapor", @@ -7912,7 +9088,7 @@ "report-template-settings": "Rapor şablonu ayarları", "sub-report-settings": "Alt rapor ayarları", "file-name-pattern": "Dosya adı deseni", - "file-name-pattern-required": "Rapor dosya adı deseni zorunludur!", + "file-name-pattern-required": "Rapor dosya adı deseni gereklidir!", "default-date-format": "Varsayılan tarih biçimi", "report-components": "Rapor bileşenleri", "search-components": "Bileşenleri ara", @@ -7928,11 +9104,11 @@ "first-page-footer-disabled": "İlk sayfa altbilgisi devre dışı", "content": "İçerik", "data": "Veri", - "layout": "Yerleşim", + "layout": "Düzen", "common-settings": "Genel ayarlar", "page-settings": "Sayfa ayarları", "paper-size": "Kağıt boyutu", - "orientation": "Yönlendirme", + "orientation": "Yön", "orientation-portrait": "Dikey", "orientation-landscape": "Yatay", "margins": "Kenar boşlukları", @@ -7956,7 +9132,7 @@ "alignment": "Hizalama", "horizontal": "Yatay", "vertical": "Dikey", - "dashboard": "Dashboard", + "dashboard": "Pano", "timewindow": "Zaman aralığı", "export-failed-error": "Rapor şablonu dışa aktarılamadı: {{error}}", "report-template-file": "Rapor şablonu dosyası", @@ -7970,7 +9146,7 @@ "data-and-tables": "Veriler ve tablolar", "charts": "Grafikler", "branding": "Markalama", - "report-info-and-layout": "Rapor bilgileri ve yerleşim" + "report-info-and-layout": "Rapor bilgileri ve düzen" }, "heading": { "type": "Başlık", @@ -8007,7 +9183,7 @@ "sort-none": "Yok" }, "entity-table": { - "type": "Varlık tablosu" + "type": "Öğe tablosu" }, "timeseries-table": { "type": "Zaman serisi tablosu", @@ -8019,12 +9195,12 @@ }, "time-series-chart": { "type": "Zaman serisi grafiği", - "no-datasource-configured": "Zaman serisi grafiği için veri kaynağı yapılandırılmamış", - "no-series-configured": "Zaman serisi grafiği için en az bir seri belirtilmelidir" + "no-datasource-configured": "\"{{chartType}}\" için veri kaynağı yapılandırılmamış", + "no-series-configured": "\"{{chartType}}\" için en az bir seri belirtilmelidir" }, "latest-chart": { - "no-datasource-configured": "Grafik için veri kaynağı yapılandırılmamış", - "no-series-configured": "Grafik için en az bir seri belirtilmelidir" + "no-datasource-configured": "\"{{chartType}}\" için veri kaynağı yapılandırılmamış", + "no-series-configured": "\"{{chartType}}\" için en az bir seri belirtilmelidir" }, "line-chart": "Çizgi grafiği", "bar-chart": "Çubuk grafiği", @@ -8045,7 +9221,7 @@ "type": "Görsel", "image-source": "Görsel kaynağı", "source-image": "Görsel", - "source-entity-key": "Varlık anahtarı", + "source-entity-key": "Öğe anahtarı", "image-url-key": "Görsel URL anahtarı", "image-width": "Görsel genişliği", "width-fit-width": "Genişliğe sığdır", @@ -8057,14 +9233,14 @@ "alignment-right": "Sağ" }, "dashboard": { - "type": "Kontrol paneli", - "no-dashboard": "Kontrol paneli seçilmedi", - "open-dashboard-new-tab": "Kontrol panelini yeni sekmede aç" + "type": "Pano", + "no-dashboard": "Hiçbir pano seçilmedi", + "open-dashboard-new-tab": "Panoyu yeni sekmede aç" }, "sub-report": { "type": "Alt rapor", "no-sub-report": "Alt rapor seçilmedi", - "avoid-page-break-inside": "Sayfa sonunu içeride önle" + "avoid-page-break-inside": "İçinde sayfa bölünmesini önle" }, "split-view": { "type": "Bölünmüş görünüm", @@ -8094,7 +9270,7 @@ "name": "Ad", "schedule": "Zamanlama", "schedule-report": "Raporu zamanla", - "delete-scheduled-report-title": "Rapor zamanlamasını '{{scheduledReportTitle}}' silmek istediğinizden emin misiniz?", + "delete-scheduled-report-title": "'{{scheduledReportTitle}}' rapor zamanlamasını silmek istediğinizden emin misiniz?", "delete-scheduled-report-text": "Dikkatli olun, onaydan sonra rapor zamanlaması ve tüm ilişkili veriler geri alınamaz hale gelecektir.", "delete-scheduled-reports-title": "{ count, plural, =1 {1 rapor zamanlamasını} other {# rapor zamanlamasını} } silmek istediğinizden emin misiniz?", "delete-scheduled-reports-text": "Dikkatli olun, onaydan sonra seçili tüm rapor zamanlamaları ve ilişkili veriler geri alınamaz hale gelecektir.", @@ -8104,10 +9280,10 @@ "selected-scheduled-reports": "{ count, plural, =1 {1 rapor zamanlaması} other {# rapor zamanlaması} } seçildi" }, "blob-entity": { - "blob-entity": "Blob varlığı", - "select-blob-entity": "Blob varlığı seç", - "no-blob-entities-matching": "'{{entity}}' ile eşleşen blob varlığı bulunamadı.", - "blob-entity-required": "Blob varlığı gereklidir", + "blob-entity": "Blob öğesi", + "select-blob-entity": "Blob öğesi seç", + "no-blob-entities-matching": "'{{entity}}' ile eşleşen blob öğesi bulunamadı.", + "blob-entity-required": "Blob öğesi gereklidir", "files": "Dosyalar", "search": "Dosya ara", "clear-search": "Aramayı temizle", @@ -8122,7 +9298,7 @@ "delete-blob-entity": "Dosyayı sil", "delete-blob-entity-title": "'{{blobEntityName}}' adlı dosyayı silmek istediğinizden emin misiniz?", "delete-blob-entity-text": "Dikkatli olun, onaydan sonra dosya verisi geri alınamaz hale gelecektir.", - "delete-blob-entities-title": "{ count, plural, =1 {1 dosya} other {# dosya} } silmek istediğinizden emin misiniz?", + "delete-blob-entities-title": "{ count, plural, =1 {1 dosyayı} other {# dosyayı} } silmek istediğinizden emin misiniz?", "delete-blob-entities-text": "Dikkatli olun, onaydan sonra seçili tüm dosyalar ve ilişkili veriler geri alınamaz hale gelecektir." }, "timezone": { @@ -8136,15 +9312,15 @@ "queue-name": "Kuyruk", "no-queues-found": "Kuyruk bulunamadı.", "no-queues-matching": "'{{queue}}' ile eşleşen kuyruk bulunamadı.", - "select-name": "Kuyruk adı seç", + "select-name": "Kuyruk adını seçin", "name": "Ad", "name-required": "Kuyruk adı gereklidir!", "name-unique": "Kuyruk adı benzersiz değil!", "name-pattern": "Kuyruk adı yalnızca ASCII harf/rakam, '.', '_' ve '-' karakterlerini içerebilir!", "queue-required": "Kuyruk gereklidir!", "topic-required": "Kuyruk konusu gereklidir!", - "poll-interval-required": "Anket aralığı gereklidir!", - "poll-interval-min-value": "Anket aralığı değeri 1'den küçük olamaz", + "poll-interval-required": "Yoklama aralığı gereklidir!", + "poll-interval-min-value": "Yoklama aralığı değeri 1'den küçük olamaz", "partitions-required": "Bölüm sayısı gereklidir!", "partitions-min-value": "Bölüm sayısı değeri 1'den küçük olamaz", "pack-processing-timeout-required": "İşleme zaman aşımı gereklidir", @@ -8178,12 +9354,12 @@ "processing-settings": "Yeniden deneme işleme ayarları", "processing-strategy": "İşleme türü *", "retries-settings": "Yeniden deneme ayarları", - "polling-settings": "Anket ayarları", + "polling-settings": "Yoklama ayarları", "batch-processing": "Toplu işlem", - "poll-interval": "Anket aralığı", + "poll-interval": "Yoklama aralığı", "partitions": "Bölümler", "immediate-processing": "Anında işleme", - "consumer-per-partition": "Her tüketici için mesaj anketi gönder", + "consumer-per-partition": "Her tüketici için mesaj yoklaması gönder", "consumer-per-partition-hint": "Her bölüm için ayrı tüketici(ler) etkinleştir", "duplicate-msg-to-all-partitions": "Mesajı tüm bölümlere kopyala", "processing-timeout": "İşleme süresi (ms)", @@ -8229,7 +9405,7 @@ "queue-statistics": "Kuyruk istatistikleri", "no-queue-statistics-matching": "'{{entity}}' ile eşleşen kuyruk istatistiği bulunamadı.", "queue-statistics-required": "Kuyruk istatistiği gereklidir.", - "list-of-queue-statistics": "{ count, plural, =1 {Bir kuyruk istatistiği} other {# kuyruk istatistikleri listesi} }", + "list-of-queue-statistics": "{ count, plural, =1 {Bir kuyruk istatistiği} other {# kuyruk istatistiğinin listesi} }", "selected-queue-statistics": "{ count, plural, =1 {1 kuyruk istatistiği} other {# kuyruk istatistiği} } seçildi", "no-queue-statistics-text": "Kuyruk istatistiği bulunamadı", "queue-statistics-starts-with": "Adı '{{prefix}}' ile başlayan kuyruk istatistikleri" @@ -8237,16 +9413,16 @@ "server-error": { "general": "Genel sunucu hatası", "authentication": "Kimlik doğrulama hatası", - "jwt-token-expired": "JWT belirteci süresi doldu", + "jwt-token-expired": "JWT belirtecinin süresi doldu", "tenant-trial-expired": "Kiracı deneme süresi doldu", - "credentials-expired": "Kimlik bilgileri süresi doldu", + "credentials-expired": "Kimlik bilgilerinin süresi doldu", "permission-denied": "İzin reddedildi", "invalid-arguments": "Geçersiz parametreler", "bad-request-params": "Hatalı istek parametreleri", "item-not-found": "Öğe bulunamadı", "too-many-requests": "Çok fazla istek yapıldı", "too-many-updates": "Çok fazla güncelleme yapıldı", - "entities-limit-exceeded": "Varlık sınırı aşıldı" + "entities-limit-exceeded": "Öğe sınırı aşıldı" }, "tenant": { "tenant": "Kiracı", @@ -8258,17 +9434,17 @@ "delete": "Kiracıyı sil", "add-tenant-text": "Yeni kiracı ekle", "no-tenants-text": "Hiçbir kiracı bulunamadı", - "tenant-details": "Kiracı detayları", + "tenant-details": "Kiracı ayrıntıları", "title-max-length": "Başlık 256 karakterden kısa olmalıdır", - "delete-tenant-title": "Kiracı '{{tenantTitle}}' silinsin mi?", + "delete-tenant-title": "'{{tenantTitle}}' kiracısını silmek istediğinizden emin misiniz?", "delete-tenant-text": "Dikkatli olun, onaydan sonra kiracı ve ilişkili tüm veriler geri alınamaz şekilde silinecektir.", - "delete-tenants-title": "{ count, plural, =1 {1 kiracı} other {# kiracı} } silinsin mi?", + "delete-tenants-title": "{ count, plural, =1 {1 kiracıyı} other {# kiracıyı} } silmek istediğinizden emin misiniz?", "delete-tenants-action-title": "{ count, plural, =1 {1 kiracıyı} other {# kiracıyı} } sil", "delete-tenants-text": "Dikkatli olun, onaydan sonra seçili tüm kiracılar ve ilişkili veriler kalıcı olarak silinecektir.", "title": "Başlık", "title-required": "Başlık gereklidir.", "description": "Açıklama", - "details": "Detaylar", + "details": "Ayrıntılar", "events": "Olaylar", "copyId": "Kiracı Kimliğini kopyala", "idCopiedMessage": "Kiracı Kimliği panoya kopyalandı", @@ -8276,7 +9452,7 @@ "no-tenants-matching": "'{{entity}}' ile eşleşen kiracı bulunamadı.", "tenant-required": "Kiracı gereklidir", "allow-white-labeling": "White labeling'e izin ver", - "allow-customer-white-labeling": "Müşteri white labeling'ine izin ver", + "allow-customer-white-labeling": "Müşteri White labeling'ine izin ver", "search": "Kiracı ara", "selected-tenants": "{ count, plural, =1 {1 kiracı} other {# kiracı} } seçildi", "isolated-tb-rule-engine": "Ayrı ThingsBoard Kural Motoru kuyrukları kullan", @@ -8289,31 +9465,31 @@ "add-profile": "Profil ekle", "debug": "Hata ayıklama", "edit": "Kiracı profilini düzenle", - "tenant-profile-details": "Kiracı profili detayları", + "tenant-profile-details": "Kiracı profili ayrıntıları", "no-tenant-profiles-text": "Kiracı profili bulunamadı", - "name-max-length": "İsim 256 karakterden kısa olmalıdır", + "name-max-length": "Ad 256 karakterden kısa olmalıdır", "search": "Kiracı profili ara", "selected-tenant-profiles": "{ count, plural, =1 {1 kiracı profili} other {# kiracı profili} } seçildi", "no-tenant-profiles-matching": "'{{entity}}' ile eşleşen kiracı profili bulunamadı.", "tenant-profile-required": "Kiracı profili gereklidir", "idCopiedMessage": "Kiracı profili kimliği panoya kopyalandı", - "set-default": "Kiracı profili varsayılan yap", + "set-default": "Kiracı profilini varsayılan yap", "delete": "Kiracı profilini sil", "copyId": "Kiracı profili kimliğini kopyala", - "name": "İsim", - "name-required": "İsim gereklidir.", + "name": "Ad", + "name-required": "Ad gereklidir.", "data": "Profil verisi", "profile-configuration": "Profil yapılandırması", "description": "Açıklama", "default": "Varsayılan", - "delete-tenant-profile-title": "Kiracı profili '{{tenantProfileName}}' silinsin mi?", + "delete-tenant-profile-title": "'{{tenantProfileName}}' kiracı profilini silmek istediğinizden emin misiniz?", "delete-tenant-profile-text": "Dikkatli olun, onaydan sonra kiracı profili ve ilişkili tüm veriler geri alınamaz şekilde silinecektir.", - "delete-tenant-profiles-title": "{ count, plural, =1 {1 kiracı profili} other {# kiracı profili} } silinsin mi?", + "delete-tenant-profiles-title": "{ count, plural, =1 {1 kiracı profilini} other {# kiracı profilini} } silmek istediğinizden emin misiniz?", "delete-tenant-profiles-text": "Dikkatli olun, onaydan sonra seçili tüm kiracı profilleri ve ilişkili veriler kalıcı olarak silinecektir.", - "set-default-tenant-profile-title": "Kiracı profili '{{tenantProfileName}}' varsayılan yapılsın mı?", + "set-default-tenant-profile-title": "'{{tenantProfileName}}' kiracı profilini varsayılan yapmak istediğinizden emin misiniz?", "set-default-tenant-profile-text": "Onaydan sonra bu kiracı profili varsayılan olarak işaretlenecek ve profil belirtilmeyen yeni kiracılar için kullanılacaktır.", "no-tenant-profiles-found": "Kiracı profili bulunamadı.", - "create-new-tenant-profile": "Yeni oluştur!", + "create-new-tenant-profile": "Yeni bir tane oluştur!", "create-tenant-profile": "Yeni kiracı profili oluştur", "import": "Kiracı profili içe aktar", "export": "Kiracı profili dışa aktar", @@ -8321,7 +9497,7 @@ "tenant-profile-file": "Kiracı profili dosyası", "invalid-tenant-profile-file-error": "Kiracı profili içe aktarılamadı: Geçersiz kiracı profili veri yapısı.", "advanced-settings": "Gelişmiş ayarlar", - "entities": "Varlıklar", + "entities": "Öğeler", "rule-engine": "Kural Motoru", "time-to-live": "Geçerlilik süresi (TTL)", "calculated-fields": "Hesaplanmış alanlar", @@ -8341,12 +9517,12 @@ "maximum-users": "Maksimum kullanıcı sayısı", "maximum-users-required": "Maksimum kullanıcı sayısı gereklidir.", "maximum-users-range": "Maksimum kullanıcı sayısı negatif olamaz", - "maximum-dashboards": "Maksimum dashboard sayısı", - "maximum-dashboards-required": "Maksimum dashboard sayısı gereklidir.", - "maximum-dashboards-range": "Maksimum dashboard sayısı negatif olamaz", - "maximum-edges": "Maksimum edge sayısı", - "maximum-edges-required": "Maksimum edge sayısı gereklidir.", - "maximum-edges-range": "Maksimum edge sayısı negatif olamaz", + "maximum-dashboards": "Maksimum pano sayısı", + "maximum-dashboards-required": "Maksimum pano sayısı gereklidir.", + "maximum-dashboards-range": "Maksimum pano sayısı negatif olamaz", + "maximum-edges": "Maksimum Edge sayısı", + "maximum-edges-required": "Maksimum Edge sayısı gereklidir.", + "maximum-edges-range": "Maksimum Edge sayısı negatif olamaz", "maximum-rule-chains": "Maksimum kural zinciri sayısı", "maximum-rule-chains-required": "Maksimum kural zinciri sayısı gereklidir.", "maximum-rule-chains-range": "Maksimum kural zinciri sayısı negatif olamaz", @@ -8359,67 +9535,76 @@ "maximum-converters": "Maksimum dönüştürücü sayısı", "maximum-converters-required": "Maksimum dönüştürücü sayısı gereklidir.", "maximum-converters-range": "Maksimum dönüştürücü sayısı negatif olamaz", - "maximum-scheduler-events": "Maksimum zamanlayıcı etkinlik sayısı", - "maximum-scheduler-events-required": "Maksimum zamanlayıcı etkinlik sayısı gereklidir.", - "maximum-scheduler-events-range": "Maksimum zamanlayıcı etkinlik sayısı negatif olamaz", + "maximum-scheduler-events": "Maksimum zamanlayıcı olayı sayısı", + "maximum-scheduler-events-required": "Maksimum zamanlayıcı olayı sayısı gereklidir.", + "maximum-scheduler-events-range": "Maksimum zamanlayıcı olayı sayısı negatif olamaz", + "maximum-agents": "Maksimum Agent sayısı", + "maximum-agents-required": "Maksimum Agent sayısı gereklidir.", + "maximum-agents-range": "Maksimum Agent sayısı negatif olamaz", + "maximum-agent-applications": "Maksimum Agent uygulaması sayısı", + "maximum-agent-applications-required": "Maksimum Agent uygulaması sayısı gereklidir.", + "maximum-agent-applications-range": "Maksimum Agent uygulaması sayısı negatif olamaz", "maximum-resources-sum-data-size": "Kaynak dosyalarının maksimum toplam boyutu (bayt)", "maximum-resources-sum-data-size-required": "Kaynak dosyalarının maksimum toplam boyutu gereklidir.", "maximum-resources-sum-data-size-range": "Kaynak dosyalarının maksimum toplam boyutu negatif olamaz", "maximum-resource-size": "Maksimum kaynak dosyası boyutu (bayt)", "maximum-resource-size-required": "Maksimum kaynak dosyası boyutu gereklidir", "maximum-resource-size-range": "Maksimum kaynak dosyası boyutu negatif olamaz", + "maximum-report-size": "Maksimum rapor dosyası boyutu (bayt)", + "maximum-report-size-required": "Maksimum rapor dosyası boyutu gereklidir", + "maximum-report-size-range": "Maksimum rapor dosyası boyutu negatif olamaz", "maximum-ota-packages-sum-data-size": "OTA paket dosyalarının maksimum toplam boyutu (bayt)", "maximum-ota-package-sum-data-size-required": "OTA paket dosyalarının maksimum toplam boyutu gereklidir.", "maximum-ota-package-sum-data-size-range": "OTA paket dosyalarının maksimum toplam boyutu negatif olamaz", "maximum-debug-duration-min": "Maksimum hata ayıklama süresi (dakika)", "maximum-debug-duration-min-range": "Maksimum hata ayıklama süresi negatif olamaz", "rest-requests-for-tenant": "Kiracı için REST istekleri", - "transport-tenant-telemetry-msg-rate-limit": "Taşıma kiracı telemetri mesajları", - "transport-tenant-telemetry-data-points-rate-limit": "Taşıma kiracı telemetri veri noktaları", - "transport-device-msg-rate-limit": "Taşıma cihaz mesajları", - "transport-device-telemetry-msg-rate-limit": "Taşıma cihaz telemetri mesajları", - "transport-device-telemetry-data-points-rate-limit": "Taşıma cihaz telemetri veri noktaları", - "transport-gateway-msg-rate-limit": "Taşıma ağ geçidi mesajları", - "transport-gateway-telemetry-msg-rate-limit": "Taşıma ağ geçidi telemetri mesajları", - "transport-gateway-telemetry-data-points-rate-limit": "Taşıma ağ geçidi telemetri veri noktaları", - "transport-gateway-device-msg-rate-limit": "Taşıma ağ geçidi cihaz mesajları", - "transport-gateway-device-telemetry-msg-rate-limit": "Taşıma ağ geçidi cihaz telemetri mesajları", - "transport-gateway-device-telemetry-data-points-rate-limit": "Taşıma ağ geçidi cihaz telemetri veri noktaları", - "tenant-entity-export-rate-limit": "Varlık sürümü oluşturma", - "tenant-entity-import-rate-limit": "Varlık sürümü yükleme", + "transport-tenant-telemetry-msg-rate-limit": "Kiracı taşıma telemetri mesajları", + "transport-tenant-telemetry-data-points-rate-limit": "Kiracı taşıma telemetri veri noktaları", + "transport-device-msg-rate-limit": "Cihaz taşıma mesajları", + "transport-device-telemetry-msg-rate-limit": "Cihaz taşıma telemetri mesajları", + "transport-device-telemetry-data-points-rate-limit": "Cihaz taşıma telemetri veri noktaları", + "transport-gateway-msg-rate-limit": "Gateway taşıma mesajları", + "transport-gateway-telemetry-msg-rate-limit": "Gateway taşıma telemetri mesajları", + "transport-gateway-telemetry-data-points-rate-limit": "Gateway taşıma telemetri veri noktaları", + "transport-gateway-device-msg-rate-limit": "Gateway cihaz taşıma mesajları", + "transport-gateway-device-telemetry-msg-rate-limit": "Gateway cihaz taşıma telemetri mesajları", + "transport-gateway-device-telemetry-data-points-rate-limit": "Gateway cihaz taşıma telemetri veri noktaları", + "tenant-entity-export-rate-limit": "Öğe sürümü oluşturma", + "tenant-entity-import-rate-limit": "Öğe sürümü yükleme", "tenant-notification-request-rate-limit": "Bildirim istekleri", "tenant-notification-requests-per-rule-rate-limit": "Her bildirim kuralı için bildirim istekleri", "integration-msgs-per-tenant-rate-limit": "Kiracı başına entegrasyon mesajları", "integration-msgs-per-device-rate-limit": "Cihaz başına entegrasyon mesajları", "integration-msgs-per-asset-rate-limit": "Varlık başına entegrasyon mesajları", - "max-calculated-fields": "Varlık başına maksimum hesaplanmış alan sayısı", - "max-calculated-fields-range": "Varlık başına maksimum hesaplanmış alan sayısı negatif olamaz", - "max-calculated-fields-required": "Varlık başına maksimum hesaplanmış alan sayısı gereklidir", + "max-calculated-fields": "Öğe başına maksimum hesaplanmış alan sayısı", + "max-calculated-fields-range": "Öğe başına maksimum hesaplanmış alan sayısı negatif olamaz", + "max-calculated-fields-required": "Öğe başına maksimum hesaplanmış alan sayısı gereklidir", "max-data-points-per-rolling-arg": "Kayan argümanlarda maksimum veri noktası sayısı", "max-data-points-per-rolling-arg-range": "Kayan argümanlarda maksimum veri noktası sayısı negatif olamaz", "max-data-points-per-rolling-arg-required": "Kayan argümanlarda maksimum veri noktası sayısı gereklidir", "max-arguments-per-cf": "Hesaplanmış alan başına maksimum argüman sayısı", "max-arguments-per-cf-range": "Hesaplanmış alan başına maksimum argüman sayısı negatif olamaz", "max-arguments-per-cf-required": "Hesaplanmış alan başına maksimum argüman sayısı gereklidir", - "max-related-level-per-argument": "'İlgili varlıklar' bağımsız değişkeni için maksimum ilişki düzeyi", - "max-related-level-per-argument-range": "'İlgili varlıklar' bağımsız değişkeni için ilişki düzeyi maksimum sayısı '1' den küçük olamaz", - "max-related-level-per-argument-required": "'İlgili varlıklar' bağımsız değişkeni için ilişki düzeyi maksimum sayısı gereklidir", - "min-allowed-scheduled-update-interval": "'İlgili varlıklar' bağımsız değişkenleri için minimum izin verilen güncelleme aralığı (saniye)", + "max-related-level-per-argument": "'İlişkili öğeler' argümanı için maksimum ilişki düzeyi", + "max-related-level-per-argument-range": "'İlişkili öğeler' argümanı için ilişki düzeyi maksimum sayısı '1'den küçük olamaz", + "max-related-level-per-argument-required": "'İlişkili öğeler' argümanı için ilişki düzeyi maksimum sayısı gereklidir", + "min-allowed-scheduled-update-interval": "'İlişkili öğeler' argümanları için minimum izin verilen güncelleme aralığı (saniye)", "min-allowed-scheduled-update-interval-range": "Minimum izin verilen güncelleme aralığı negatif olamaz", - "min-allowed-deduplication-interval": "Minimum izin verilen yinelenen ayıklama aralığı (saniye)", - "min-allowed-deduplication-interval-range": "Minimum izin verilen yinelenen ayıklama aralığı değeri negatif olamaz", - "min-allowed-deduplication-interval-required": "Minimum izin verilen yinelenen ayıklama aralığı gereklidir", + "min-allowed-deduplication-interval": "Minimum izin verilen çoğaltmayı önleme aralığı (saniye)", + "min-allowed-deduplication-interval-range": "Minimum izin verilen çoğaltmayı önleme aralığı değeri negatif olamaz", + "min-allowed-deduplication-interval-required": "Minimum izin verilen çoğaltmayı önleme aralığı gereklidir", "intermediate-aggregation-interval": "Ara toplama aralığı (saniye)", - "intermediate-aggregation-interval-range": "Ara toplama aralığı değeri '1' den küçük olamaz", + "intermediate-aggregation-interval-range": "Ara toplama aralığı değeri '1'den küçük olamaz", "intermediate-aggregation-interval-required": "Ara toplama aralığı gereklidir", "reevaluation-check-interval": "Yeniden değerlendirme kontrol aralığı (saniye)", - "reevaluation-check-interval-range": "Yeniden değerlendirme kontrol aralığı değeri '1' den küçük olamaz", + "reevaluation-check-interval-range": "Yeniden değerlendirme kontrol aralığı değeri '1'den küçük olamaz", "reevaluation-check-interval-required": "Yeniden değerlendirme kontrol aralığı gereklidir", "alarms-reevaluation-interval": "Alarm yeniden değerlendirme aralığı (saniye)", - "alarms-reevaluation-interval-range": "Alarm yeniden değerlendirme aralığı değeri '1' den küçük olamaz", + "alarms-reevaluation-interval-range": "Alarm yeniden değerlendirme aralığı değeri '1'den küçük olamaz", "alarms-reevaluation-interval-required": "Alarm yeniden değerlendirme aralığı gereklidir", "min-allowed-aggregation-interval": "Minimum izin verilen toplama aralığı (saniye)", - "min-allowed-aggregation-interval-range": "Minimum izin verilen toplama aralığı değeri negatif olamaz", + "min-allowed-aggregation-interval-range": "İzin verilen minimum toplama aralığı değeri negatif olamaz", "min-allowed-aggregation-interval-required": "Minimum izin verilen toplama aralığı gereklidir", "min-allowed-scheduled-update-interval-required": "Minimum izin verilen güncelleme aralığı sayısı gereklidir", "max-state-size": "Durumun maksimum boyutu (KB)", @@ -8461,31 +9646,31 @@ "rule-engine-exceptions-ttl-days": "Kural Motoru istisnaları TTL süresi (gün)", "rule-engine-exceptions-ttl-days-required": "Kural Motoru istisnaları TTL süresi gereklidir", "rule-engine-exceptions-ttl-days-range": "Kural Motoru istisnaları TTL süresi negatif olamaz", - "blob-entity-ttl-days": "Blob varlığı TTL süresi (gün)", - "blob-entity-ttl-days-required": "Blob varlığı TTL süresi gereklidir", - "blob-entity-ttl-days-range": "Blob varlığı TTL süresi negatif olamaz", + "blob-entity-ttl-days": "Blob öğesi TTL süresi (gün)", + "blob-entity-ttl-days-required": "Blob öğesi TTL süresi gereklidir", + "blob-entity-ttl-days-range": "Blob öğesi TTL süresi negatif olamaz", "report-ttl-days": "Rapor TTL gün sayısı", - "report-ttl-days-required": "Rapor TTL gün sayısı zorunludur", + "report-ttl-days-required": "Rapor TTL gün sayısı gereklidir", "report-ttl-days-range": "Rapor TTL gün sayısı negatif olamaz", "max-rule-node-executions-per-message": "Mesaj başına kural düğümü yürütme maksimum sayısı", - "max-rule-node-executions-per-message-required": "Mesaj başına kural düğümü yürütme maksimum sayısı zorunludur.", + "max-rule-node-executions-per-message-required": "Mesaj başına kural düğümü yürütme maksimum sayısı gereklidir.", "max-rule-node-executions-per-message-range": "Mesaj başına kural düğümü yürütme maksimum sayısı negatif olamaz", "max-emails": "Gönderilen e-postaların maksimum sayısı", - "max-emails-required": "Gönderilen e-postaların maksimum sayısı zorunludur.", + "max-emails-required": "Gönderilen e-postaların maksimum sayısı gereklidir.", "max-emails-range": "Gönderilen e-postaların maksimum sayısı negatif olamaz", "sms-enabled": "SMS etkin", "max-sms": "Gönderilen SMS'lerin maksimum sayısı", - "max-sms-required": "Gönderilen SMS'lerin maksimum sayısı zorunludur.", + "max-sms-required": "Gönderilen SMS'lerin maksimum sayısı gereklidir.", "max-sms-range": "Gönderilen SMS'lerin maksimum sayısı negatif olamaz", "max-created-alarms": "Oluşturulan alarmların maksimum sayısı", - "max-created-alarms-required": "Oluşturulan alarmların maksimum sayısı zorunludur.", + "max-created-alarms-required": "Oluşturulan alarmların maksimum sayısı gereklidir.", "max-created-alarms-range": "Oluşturulan alarmların maksimum sayısı negatif olamaz", "no-queue": "Tanımlı Kuyruk yok", "add-queue": "Kuyruk Ekle", "queues-with-count": "Kuyruklar ({{count}})", "tenant-rest-limits": "Kiracı için REST istekleri", "customer-rest-limits": "Müşteri için REST istekleri", - "incorrect-pattern-for-rate-limits": "Biçim, iki nokta ile ayrılmış kapasite ve süre (saniye) çiftlerinden oluşmalıdır, örn. 100:1,2000:60", + "incorrect-pattern-for-rate-limits": "Biçim, virgülle ayrılmış kapasite ve süre (saniye) çiftlerinden oluşur; çift içindeki değerler iki nokta üst üste ile ayrılır, örn. 100:1,2000:60", "too-small-value-zero": "Değer 0'dan büyük olmalıdır", "too-small-value-one": "Değer 1'den büyük olmalıdır", "queue-size-is-limited-by-system-configuration": "Kuyruk boyutu sistem yapılandırması ile de sınırlıdır.", @@ -8496,20 +9681,24 @@ "ws-limit-max-sessions-per-tenant": "Kiracı başına oturum maksimum sayısı", "ws-limit-max-sessions-per-customer": "Müşteri başına oturum maksimum sayısı", "ws-limit-max-sessions-per-regular-user": "Normal kullanıcı başına oturum maksimum sayısı", - "ws-limit-max-sessions-per-public-user": "Genel kullanıcı başına oturum maksimum sayısı", + "ws-limit-max-sessions-per-public-user": "Herkese açık erişim kullanıcısı başına maksimum oturum sayısı", "ws-limit-queue-per-session": "Oturum başına mesaj kuyruğu maksimum boyutu", "ws-limit-max-subscriptions-per-tenant": "Kiracı başına abonelik maksimum sayısı", "ws-limit-max-subscriptions-per-customer": "Müşteri başına abonelik maksimum sayısı", "ws-limit-max-subscriptions-per-regular-user": "Normal kullanıcı başına abonelik maksimum sayısı", - "ws-limit-max-subscriptions-per-public-user": "Genel kullanıcı başına abonelik maksimum sayısı", + "ws-limit-max-subscriptions-per-public-user": "Herkese açık erişim kullanıcısı başına maksimum abonelik sayısı", "ws-limit-updates-per-session": "Oturum başına WS güncellemeleri", - "relation-search-entity-limit": "İlişki arama varlık sınırı", - "relation-search-entity-limit-hint": "İlişki yolunun son seviyesinde çözümlenen varlık sayısını sınırlar. 'İlgili varlıklar' bağımsız değişkenlerine ve Yayılma alanlarına uygulanır.", - "relation-search-entity-limit-required": "İlişki arama varlık sınırı gereklidir", - "relation-search-entity-limit-range": "İlişki arama varlık sınırı '1' den küçük olamaz", + "relation-search-entity-limit": "İlişki arama öğe sınırı", + "relation-search-entity-limit-hint": "İlişki yolunun son seviyesinde çözümlenen öğe sayısını sınırlar. 'İlişkili öğeler' argümanlarına ve Yayılma alanlarına uygulanır.", + "relation-search-entity-limit-required": "İlişki arama öğe sınırı", + "relation-search-entity-limit-range": "İlişki arama öğe sınırı '1'den küçük olamaz", + "ai": "Yapay zeka", + "max-ai-credits": "Maksimum yapay zeka kredisi sayısı", + "max-ai-credits-required": "Maksimum yapay zeka kredisi sayısı gereklidir.", + "max-ai-credits-range": "Maksimum yapay zeka kredisi sayısı negatif olamaz", "rate-limits": { "add-limit": "Sınır ekle", - "and-also-less-than": "ve ayrıca daha az", + "and-also-less-than": "ve ayrıca en fazla", "advanced-settings": "Gelişmiş ayarlar", "edit-limit": "Sınırı düzenle", "calculated-field-debug-event-rate-limit": "Hesaplanmış alan hata ayıklama olayları", @@ -8520,12 +9709,12 @@ "edit-transport-device-msg-title": "Cihaz taşıma mesaj sınırlarını düzenle", "edit-transport-device-telemetry-msg-title": "Cihaz taşıma telemetri mesaj sınırlarını düzenle", "edit-transport-device-telemetry-data-points-title": "Cihaz taşıma telemetri veri noktası sınırlarını düzenle", - "edit-transport-gateway-msg-title": "Ağ geçidi taşıma mesaj sınırlarını düzenle", - "edit-transport-gateway-telemetry-msg-title": "Ağ geçidi taşıma telemetri mesaj sınırlarını düzenle", - "edit-transport-gateway-telemetry-data-points-title": "Ağ geçidi taşıma telemetri veri noktası sınırlarını düzenle", - "edit-transport-gateway-device-msg-title": "Ağ geçidi cihaz taşıma mesaj sınırlarını düzenle", - "edit-transport-gateway-device-telemetry-msg-title": "Ağ geçidi cihaz telemetri mesaj sınırlarını düzenle", - "edit-transport-gateway-device-telemetry-data-points-title": "Ağ geçidi cihaz telemetri veri noktası sınırlarını düzenle", + "edit-transport-gateway-msg-title": "Gateway taşıma mesaj sınırlarını düzenle", + "edit-transport-gateway-telemetry-msg-title": "Gateway taşıma telemetri mesaj sınırlarını düzenle", + "edit-transport-gateway-telemetry-data-points-title": "Gateway taşıma telemetri veri noktası sınırlarını düzenle", + "edit-transport-gateway-device-msg-title": "Gateway cihaz taşıma mesaj sınırlarını düzenle", + "edit-transport-gateway-device-telemetry-msg-title": "Gateway cihaz telemetri mesaj sınırlarını düzenle", + "edit-transport-gateway-device-telemetry-data-points-title": "Gateway cihaz telemetri veri noktası sınırlarını düzenle", "edit-tenant-rest-limits-title": "Kiracı için REST istek sınırlarını düzenle", "edit-customer-rest-limits-title": "Müşteri için REST istek sınırlarını düzenle", "edit-ws-limit-updates-per-session-title": "Oturum başına WS güncelleme sınırlarını düzenle", @@ -8533,8 +9722,8 @@ "edit-cassandra-read-tenant-core-limits-configuration": "REST API ve WS telemetri Cassandra okuma sorgularını düzenle", "edit-cassandra-write-tenant-rule-engine-limits-configuration": "Kural Motoru telemetri Cassandra yazma sorgularını düzenle", "edit-cassandra-read-tenant-rule-engine-limits-configuration": "Kural Motoru telemetri Cassandra okuma sorgularını düzenle", - "edit-tenant-entity-export-rate-limit-title": "Varlık sürümü oluşturma sınırlarını düzenle", - "edit-tenant-entity-import-rate-limit-title": "Varlık sürümü yükleme sınırlarını düzenle", + "edit-tenant-entity-export-rate-limit-title": "Öğe sürümü oluşturma sınırlarını düzenle", + "edit-tenant-entity-import-rate-limit-title": "Öğe sürümü yükleme sınırlarını düzenle", "edit-tenant-notification-request-rate-limit-title": "Bildirim istekleri sınırlarını düzenle", "edit-tenant-notification-requests-per-rule-rate-limit-title": "Bildirim kuralı başına istek sınırlarını düzenle", "edit-integration-msgs-per-tenant-rate-limit-title": "Kiracı başına entegrasyon mesaj sınırlarını düzenle", @@ -8546,9 +9735,19 @@ "edge-events-per-edge-rate-limit": "Edge başına olaylar", "edit-edge-uplink-messages-rate-limit": "Edge uplink mesaj sınırlarını düzenle", "edit-edge-uplink-messages-per-edge-rate-limit": "Edge başına uplink mesaj sınırlarını düzenle", - "edge-uplink-messages-rate-limit": "Edge uplink mesajları", - "edge-uplink-messages-per-edge-rate-limit": "Edge başına uplink mesajları", - "messages-per": "mesaj/saniye", + "edge-uplink-messages-rate-limit": "Edge yukarı bağlantı mesajları", + "edge-uplink-messages-per-edge-rate-limit": "Edge başına yukarı bağlantı mesajları", + "edit-agent-events-rate-limit": "Agent olayları hız sınırlarını düzenle", + "edit-agent-events-per-agent-rate-limit": "Agent başına Agent olayları hız sınırlarını düzenle", + "agent-events-rate-limit": "Agent olayları", + "agent-events-per-agent-rate-limit": "Agent başına Agent olayları", + "edit-agent-log-chunks-rate-limit": "Agent günlük parçaları hız sınırlarını düzenle", + "edit-agent-log-chunks-per-agent-rate-limit": "Agent başına Agent günlük parçaları hız sınırlarını düzenle", + "agent-log-chunks-rate-limit": "Agent günlük parçaları", + "agent-log-chunks-per-agent-rate-limit": "Agent başına Agent günlük parçaları", + "ai-chat-requests-rate-limit": "Yapay zeka sohbet istekleri", + "edit-ai-chat-requests-rate-limit": "Yapay zeka sohbet istekleri hız sınırlarını düzenle", + "messages-per": "mesaj /", "not-set": "Ayarlanmadı", "number-of-messages": "Mesaj sayısı", "number-of-messages-required": "Mesaj sayısı gereklidir.", @@ -8558,7 +9757,7 @@ "per-seconds-required": "Zaman oranı gereklidir.", "per-seconds-min": "Minimum değer 1 olmalıdır.", "per-seconds-duplicate": "Zaman oranı tekrarı. Her zaman aralığı benzersiz olmalıdır.", - "rate-limits": "Oran sınırlamaları", + "rate-limits": "Hız sınırları", "remove-limit": "Sınırı kaldır", "transport-tenant-msg": "Kiracı taşıma mesajları", "transport-tenant-telemetry-msg": "Kiracı taşıma telemetri mesajları", @@ -8566,12 +9765,12 @@ "transport-device-msg": "Cihaz taşıma mesajları", "transport-device-telemetry-msg": "Cihaz taşıma telemetri mesajları", "transport-device-telemetry-data-points": "Cihaz taşıma telemetri veri noktaları", - "transport-gateway-msg": "Ağ geçidi taşıma mesajları", - "transport-gateway-telemetry-msg": "Ağ geçidi taşıma telemetri mesajları", - "transport-gateway-telemetry-data-points": "Ağ geçidi taşıma telemetri veri noktaları", - "transport-gateway-device-msg": "Ağ geçidi cihaz taşıma mesajları", - "transport-gateway-device-telemetry-msg": "Ağ geçidi cihaz telemetri mesajları", - "transport-gateway-device-telemetry-data-points": "Ağ geçidi cihaz telemetri veri noktaları", + "transport-gateway-msg": "Gateway taşıma mesajları", + "transport-gateway-telemetry-msg": "Gateway taşıma telemetri mesajları", + "transport-gateway-telemetry-data-points": "Gateway taşıma telemetri veri noktaları", + "transport-gateway-device-msg": "Gateway cihaz taşıma mesajları", + "transport-gateway-device-telemetry-msg": "Gateway cihaz taşıma telemetri mesajları", + "transport-gateway-device-telemetry-data-points": "Gateway cihaz taşıma telemetri veri noktaları", "sec": "sn" } }, @@ -8596,9 +9795,9 @@ "previous-quarter": "Önceki çeyrek", "previous-half-year": "Önceki yarı yıl", "previous-year": "Önceki yıl", - "current-hour": "Geçerli saat", + "current-hour": "Bu saat", "current-day": "Bugün", - "current-day-so-far": "Bugüne kadar", + "current-day-so-far": "Bugün şimdiye kadar", "current-week": "Bu hafta (Paz - Cmt)", "current-week-iso": "Bu hafta (Pts - Paz)", "current-week-so-far": "Bu hafta şimdiye kadar (Paz - Cmt)", @@ -8613,8 +9812,8 @@ "current-year-so-far": "Bu yıl şimdiye kadar" }, "type": { - "week": "Hafta (Paz - Cmt)", - "week-iso": "Hafta (Pts - Paz)", + "week": "Hafta (Pazar - Cumartesi)", + "week-iso": "Hafta (Pazartesi - Pazar)", "month": "Ay", "quarter": "Çeyrek" } @@ -8629,23 +9828,23 @@ "timewindow": { "timewindow": "Zaman aralığı", "timewindow-settings": "Zaman aralığı ayarları", - "years": "{ years, plural, =1 { yıl } other {# yıl } }", - "years-short": "{{ years }}y", - "months": "{ months, plural, =1 { ay } other {# ay } }", - "months-short": "{{ months }}A", - "weeks": "{ weeks, plural, =1 { hafta } other {# hafta } }", - "weeks-short": "{{ weeks }}h", - "days": "{ days, plural, =1 { gün } other {# gün } }", - "days-short": "{{ days }}g", + "years": "{ years, plural, =1 {1 yıl } other {# yıl } }", + "years-short": "{{ years }} yıl", + "months": "{ months, plural, =1 {1 ay } other {# ay } }", + "months-short": "{{ months }} ay", + "weeks": "{ weeks, plural, =1 {1 hafta } other {# hafta } }", + "weeks-short": "{{ weeks }} hf", + "days": "{ days, plural, =1 {1 gün } other {# gün } }", + "days-short": "{{ days }} g", "hours": "{ hours, plural, =0 { saat } =1 {1 saat } other {# saat } }", "hr": "{{ hr }} sa", - "hr-short": "{{ hr }}s", + "hr-short": "{{ hr }} sa", "minutes": "{ minutes, plural, =0 { dakika } =1 {1 dakika } other {# dakika } }", "min": "{{ min }} dk", - "min-short": "{{ min }}d", + "min-short": "{{ min }} dk", "seconds": "{ seconds, plural, =0 { saniye } =1 {1 saniye } other {# saniye } }", "sec": "{{ sec }} sn", - "sec-short": "{{ sec }}s", + "sec-short": "{{ sec }} sn", "short": { "years": "{ years, plural, =1 {1 yıl } other {# yıl } }", "days": "{ days, plural, =1 {1 gün } other {# gün } }", @@ -8665,8 +9864,8 @@ "time-period": "Zaman periyodu", "hide": "Gizle", "interval": "Aralık", - "just-now": "Şu anda", - "just-now-lower": "şu anda", + "just-now": "Az önce", + "just-now-lower": "az önce", "ago": "önce", "style": "Zaman aralığı stili", "icon": "Simge", @@ -8697,7 +9896,7 @@ "edit-intervals-list-hint": "Kullanılabilir aralık seçeneklerinin listesi belirtilebilir.", "edit-grouping-intervals-list-hint": "Gruplama aralıkları listesi ve varsayılan gruplama aralığı yapılandırılabilir.", "all": "Tümü", - "save-current-settings-as-default": "Geçerli ayarları varsayılan zaman penceresi olarak kaydet", + "save-current-settings-as-default": "Geçerli ayarları varsayılan zaman aralığı olarak kaydet", "hide-option-from-end-users": "Son kullanıcılardan seçeneği gizle" }, "tooltip": { @@ -8708,7 +9907,7 @@ "value": "Değer", "date": "Tarih", "show-date-time-interval": "Tarih-saat aralığını göster", - "show-date-time-interval-hint": "Veri toplulaştırmasına göre tarih-saat aralığını göster.", + "show-date-time-interval-hint": "Veri toplamaya göre tarih-saat aralığını göster.", "hide-zero-tooltip-values": "Sıfır değerleri gizle", "show-stack-total": "Yığın modunda toplam değeri göster", "background-color": "Arka plan rengi", @@ -8722,10 +9921,10 @@ "source-unit-hint": "Bu, saklanan değerin birimidir. Dönüştürmek istediğiniz birim. Kaynak verinizin kullandığı sembolü girin (örn. m, km, ft, in).", "target-metric-unit": "Hedef metrik birim", "target-metric-unit-hint": "Kaynak değerinizi dönüştürmek istediğiniz metrik (SI) birimi seçin (örn. cm, mm, km).", - "target-imperial-unit": "Hedef imperial birim", - "target-imperial-unit-hint": "Kaynak değerinizi dönüştürmek istediğiniz imperial birimi seçin (örn. in, ft, yd).", + "target-imperial-unit": "Hedef İngiliz ölçü birimi", + "target-imperial-unit-hint": "Kaynak değerinizi dönüştürmek istediğiniz İngiliz ölçü birimini seçin (örn. in, ft, yd).", "target-hybrid-unit": "Hedef hibrit birim", - "target-hybrid-unit-hint": "Kaynak değerinizi dönüştürmek istediğiniz hibrit birimi seçin (örn. cm, in, km). Hibrit birimler metrik veya imperial birimlerin birleşimidir.", + "target-hybrid-unit-hint": "Kaynak değerinizi dönüştürmek istediğiniz hibrit birimi seçin (örn. cm, in, km). Hibrit birimler metrik veya İngiliz ölçü birimlerinin birleşimidir.", "enable-unit-conversion": "Birim dönüşümünü etkinleştir", "enable-unit-conversion-hint": "Dönüştürmeyi etkinleştirmek için açın. Kapalıyken kaynak değeri değiştirilmeden iletilir. İlgili ölçüm grubunda yalnızca bir birim varsa devre dışı bırakılır (örn. Işık akısı, Hava Kalite İndeksi)." }, @@ -8733,7 +9932,7 @@ "unit-system-type": { "AUTO": "Otomatik", "METRIC": "Metrik", - "IMPERIAL": "Imperial", + "IMPERIAL": "İngiliz ölçü sistemi", "HYBRID": "Hibrit" }, "measures": { @@ -8765,7 +9964,7 @@ "electric-permittivity": "Elektrik geçirgenliği", "electric-polarizability": "Elektrik polarizabilitesi", "electrical-conductance": "Elektrik iletkenliği", - "electrical-conductivity": "Elektriksel iletkenlik", + "electrical-conductivity": "Elektriksel öziletkenlik", "energy": "Enerji", "energy-density": "Enerji yoğunluğu", "force": "Kuvvet", @@ -8794,7 +9993,7 @@ "molar-heat-capacity": "Mol ısı kapasitesi", "molar-mass": "Mol kütlesi", "number-concentration": "Sayı konsantrasyonu", - "parts-per-million": "Milyonda bir oranı (ppm)", + "parts-per-million": "Milyonda bir (ppm)", "power": "Güç", "power-density": "Güç yoğunluğu", "pressure": "Basınç", @@ -8834,8 +10033,8 @@ "meter": "Metre", "kilometer": "Kilometre", "inch": "İnç", - "foot": "Ayak", - "foot-us": "Ayak (ABD ölçümü)", + "foot": "Fit", + "foot-us": "Fit (ABD ölçümü)", "yard": "Yarda", "mile": "Mil", "nautical-mile": "Deniz mili", @@ -8843,15 +10042,15 @@ "reciprocal-metre": "Ters metre", "meter-per-meter": "Metre bölü metre", "steradian": "Steradyan", - "thou": "Mil", + "thou": "Thou (binde bir inç)", "barleycorn": "Arpa tanesi", "hand": "El", "chain": "Zincir", "furlong": "Furlong", - "league": "Lig", + "league": "Fersah", "fathom": "Fathom", - "cable": "Kablo", - "link": "Bağlantı", + "cable": "Gomina", + "link": "Link (ölçü birimi)", "rod": "Çubuk", "nanogram": "Nanogram", "microgram": "Mikrogram", @@ -8879,7 +10078,7 @@ "liter": "Litre", "hectoliter": "Hektolitre", "cubic-inch": "İnç küp", - "cubic-foot": "Ayak küp", + "cubic-foot": "Fit küp", "cubic-yard": "Yarda küp", "fluid-ounce": "Sıvı ons", "fluid-ounce-per-second": "Saniyede sıvı ons", @@ -8900,8 +10099,8 @@ "percent": "Yüzde", "meter-per-second": "Metre/saniye", "kilometer-per-hour": "Kilometre/saat", - "foot-per-second": "Ayak/saniye", - "foot-per-minute": "Ayak/dakika", + "foot-per-second": "Fit/saniye", + "foot-per-minute": "Fit/dakika", "mile-per-hour": "Mil/saat", "knot": "Knot", "inch-per-second": "İnç/saniye", @@ -8909,7 +10108,7 @@ "millimeters-per-minute": "Milimetre/dakika", "meter-per-minute": "Metre/dakika", "kilometer-per-hour-squared": "Kilometre/saat²", - "foot-per-second-squared": "Ayak/saniye²", + "foot-per-second-squared": "Fit/saniye²", "pascal": "Pascal", "kilopascal": "Kilopascal", "megapascal": "Megapascal", @@ -8919,14 +10118,14 @@ "kilobar": "Kilobar", "newton": "Newton", "newton-meter": "Newton metre", - "foot-pounds": "Ayak-pound", + "foot-pounds": "Fit-pound", "inch-pounds": "İnç-pound", "newton-per-meter": "Newton/metre", "atmospheres": "Atmosfer", "pounds-per-square-inch": "İnç kare başına pound", "kilopound-per-square-inch": "İnç kare başına kilopound", "torr": "Torr", - "inches-of-mercury": "Cıva inç", + "inches-of-mercury": "İnç cıva", "pascal-per-square-meter": "Metrekare başına Pascal", "pound-per-square-inch": "İnç kare başına pound", "newton-per-square-meter": "Metrekare başına Newton", @@ -8952,7 +10151,7 @@ "british-thermal-unit": "İngiliz termal birimi (BTU)", "thousand-british-thermal-unit": "Bin İngiliz termal birimi", "million-british-thermal-unit": "Milyon İngiliz termal birimi", - "foot-pound": "Ayak-pound", + "foot-pound": "Fit-pound", "calorie": "Kalori", "small-calorie": "Küçük kalori", "kilocalorie": "Kilokalori", @@ -8991,7 +10190,7 @@ "mmbtu-per-hour": "Saat başına milyon İngiliz termal birimi", "mmbtu-per-second": "Saniye başına milyon İngiliz termal birimi", "mmbtu-per-day": "Gün başına milyon İngiliz termal birimi", - "foot-pound-per-second": "Saniye başına ayak-pound", + "foot-pound-per-second": "Saniye başına fit-pound", "coulomb": "Coulomb", "millicoulomb": "Milicoulomb", "microcoulomb": "Mikrocoulomb", @@ -9006,9 +10205,9 @@ "hectare": "Hektar", "square-kilometer": "Kilometrekare", "square-inch": "İnç kare", - "square-foot": "Ayak kare", + "square-foot": "Fit kare", "square-yard": "Yarda kare", - "acre": "Dönüm", + "acre": "Akre", "square-mile": "Mil kare", "are": "Ar", "barn": "Barn", @@ -9062,7 +10261,7 @@ "candela": "Kandela", "lumen": "Lümen", "lux": "Lüks", - "foot-candle": "Ayak-mum", + "foot-candle": "Fit-mum", "lumen-per-square-meter": "Metrekare başına lümen", "lux-second": "Lüks saniye", "lumen-second": "Lümen saniye", @@ -9074,8 +10273,8 @@ "kilomole": "Kilomol", "mole-per-cubic-meter": "Metreküp başına mol", "rssi": "Alınan sinyal gücü göstergesi", - "ppm": "Milyonda birim (ppm)", - "ppb": "Milyarda birim (ppb)", + "ppm": "Milyonda bir (ppm)", + "ppb": "Milyarda bir (ppb)", "micrograms-per-cubic-meter": "Metreküp başına mikrogram", "aqi": "Hava Kalitesi İndeksi (AQI)", "gram-per-cubic-meter": "Metreküp başına gram", @@ -9084,7 +10283,7 @@ "neper": "Neper", "bel": "Bel", "decibel": "Desibel", - "meters-per-second-squared": "Saniyede metre kare", + "meters-per-second-squared": "Saniye kare başına metre", "becquerel": "Becquerel", "curie": "Curie", "gray": "Gray", @@ -9093,7 +10292,7 @@ "cps": "Saniyede sayım", "rad": "Rad", "rem": "Rem", - "dps": "Saniyede ayrışma", + "dps": "Saniyede bozunma", "rutherford": "Rutherford", "coulombs-per-kilogram": "Kilogram başına coulomb", "becquerels-per-cubic-meter": "Metreküp başına becquerel", @@ -9132,7 +10331,7 @@ "kilogram-force": "Kilogram-kuvvet", "pound-force": "Pound-kuvvet", "kilopound-force": "Kilopound-kuvvet", - "dyne": "Dyn", + "dyne": "Din", "poundal": "Poundal", "kip": "Kip", "gal": "Gal", @@ -9142,7 +10341,7 @@ "millibars": "Milibar", "inch-of-mercury": "İnç cıva", "richter-scale": "Richter ölçeği", - "nanosecond": "Nanonsaniye", + "nanosecond": "Nanosaniye", "microsecond": "Mikrosaniye", "millisecond": "Milisaniye", "second": "Saniye", @@ -9155,6 +10354,7 @@ "cubic-foot-per-minute": "Dakikada fit küp", "cubic-meters-per-hour": "Saatte metreküp", "cubic-meters-per-second": "Saniyede metreküp", + "cubic-meters-per-minute": "Dakikada metreküp", "liter-per-second": "Saniyede litre", "liter-per-minute": "Dakikada litre", "gallons-per-minute": "Dakikada galon", @@ -9188,11 +10388,11 @@ "milliradian": "Miliradyan", "revolution": "Devir", "siemens": "Siemens", - "millisiemens": "Millisimens", - "microsiemens": "Mikrosimens", - "kilosiemens": "Kilosimens", - "megasiemens": "Megasimens", - "gigasiemens": "Gigasimens", + "millisiemens": "Milisiemens", + "microsiemens": "Mikrosiemens", + "kilosiemens": "Kilosiemens", + "megasiemens": "Megasiemens", + "gigasiemens": "Gigasiemens", "farad": "Farad", "millifarad": "Milifarad", "microfarad": "Mikrofarad", @@ -9217,16 +10417,16 @@ "square-meter-per-second": "Saniyede metrekare", "square-centimeter-per-second": "Saniyede santimetrekare", "stoke": "Stokes", - "centistokes": "Sentistokes", + "centistokes": "Santistokes", "square-foot-per-second": "Saniyede fit kare", "square-inch-per-second": "Saniyede inç kare", "pascal-second": "Pascal saniye", - "centipoise": "Sentipoise", + "centipoise": "Santipuaz", "poise": "Poise", "reynolds": "Reynolds", "pound-per-foot-hour": "Fit saat başına pound", "newton-second-per-square-meter": "Metrekare başına newton saniye", - "dyne-second-per-square-centimeter": "Santimetrekare başına dyne saniye", + "dyne-second-per-square-centimeter": "Santimetrekare başına din saniye", "kilogram-per-meter-second": "Metre saniye başına kilogram", "tesla-square-meters": "Tesla metrekare", "maxwell": "Maxwell", @@ -9253,7 +10453,7 @@ "volts-per-meter": "Metre başına volt", "kilovolts-per-meter": "Metre başına kilovolt", "radian-per-second": "Saniyede radyan", - "radian-per-second-squared": "Saniyede kare radyan", + "radian-per-second-squared": "Saniye kare başına radyan", "revolutions-per-minute-per-second": "Açısal ivme", "deg-per-second": "Saniyede derece", "rotation-per-minute": "Dakikada devir", @@ -9276,14 +10476,14 @@ "customer": "Müşteri", "anonymous": "Anonim", "add": "Kullanıcı ekle", - "delete": "Kullanıcı sil", + "delete": "Kullanıcıyı sil", "add-user-text": "Yeni kullanıcı ekle", "no-users-text": "Kullanıcı bulunamadı", - "user-details": "Kullanıcı detayları", + "user-details": "Kullanıcı ayrıntıları", "delete-users": "Kullanıcıları sil", - "delete-user-title": "Kullanıcı '{{userEmail}}' silinsin mi?", + "delete-user-title": "'{{userEmail}}' kullanıcısını silmek istediğinizden emin misiniz?", "delete-user-text": "Dikkatli olun, onaydan sonra kullanıcı ve tüm ilişkili veriler geri alınamaz hale gelecektir.", - "delete-users-title": "{ count, plural, =1 {1 kullanıcı} other {# kullanıcı} } silinsin mi?", + "delete-users-title": "{ count, plural, =1 {1 kullanıcıyı} other {# kullanıcıyı} } silmek istediğinizden emin misiniz?", "delete-users-action-title": "{ count, plural, =1 {1 kullanıcıyı sil} other {# kullanıcıyı sil} }", "delete-users-text": "Dikkatli olun, onaydan sonra seçili tüm kullanıcılar ve ilişkili veriler geri alınamaz hale gelecektir.", "activation-email-sent-message": "Aktivasyon e-postası başarıyla gönderildi!", @@ -9294,7 +10494,7 @@ "first-name": "Ad", "last-name": "Soyad", "description": "Açıklama", - "default-dashboard": "Varsayılan kontrol paneli", + "default-dashboard": "Varsayılan pano", "always-fullscreen": "Her zaman tam ekran", "select-user": "Kullanıcı seç", "no-users-matching": "'{{entity}}' ile eşleşen kullanıcı bulunamadı.", @@ -9306,7 +10506,7 @@ "activation-link-text": "Kullanıcıyı etkinleştirmek için şu aktivasyon bağlantısını kullanın ({{activationLinkTtl}} içinde sona erer):", "copy-activation-link": "Aktivasyon bağlantısını kopyala", "activation-link-copied-message": "Kullanıcı aktivasyon bağlantısı panoya kopyalandı", - "details": "Detaylar", + "details": "Ayrıntılar", "login-as-tenant-admin": "Kiracı Yöneticisi olarak giriş yap", "login-as-customer-user": "Müşteri kullanıcısı olarak giriş yap", "select-group-to-add": "Seçilen kullanıcıları eklemek için hedef grubu seçin", @@ -9336,125 +10536,125 @@ "integer-value-required": "Tamsayı değeri gereklidir", "invalid-integer-value": "Geçersiz tamsayı değeri", "double": "Ondalık", - "double-value": "Ondalık değeri", - "double-value-required": "Ondalık değeri gereklidir", + "double-value": "Ondalık değer", + "double-value-required": "Ondalık değer gereklidir", "boolean": "Mantıksal", "boolean-value": "Mantıksal değer", "false": "Yanlış", "true": "Doğru", - "long": "Uzun", + "long": "Uzun tamsayı", "json": "JSON", "json-value": "JSON değeri", - "json-value-invalid": "JSON değeri geçersiz bir formata sahip", + "json-value-invalid": "JSON değerinin biçimi geçersiz", "json-value-required": "JSON değeri gereklidir." }, "version-control": { "version-control": "Sürüm kontrolü", - "management": "Sürüm kontrol yönetimi", + "management": "Sürüm kontrolü yönetimi", "search": "Sürümleri ara", "branch": "Dal", "default": "Varsayılan", "select-branch": "Dal seçin", "branch-required": "Dal gereklidir", - "create-entity-version": "Varlık sürümü oluştur", + "create-entity-version": "Öğe sürümü oluştur", "version-name": "Sürüm adı", "version-name-required": "Sürüm adı gereklidir", "author": "Yazar", "export-relations": "İlişkileri dışa aktar", "export-attributes": "Öznitelikleri dışa aktar", "export-credentials": "Kimlik bilgilerini dışa aktar", - "export-group-entities": "Grup varlıklarını dışa aktar", + "export-group-entities": "Grup öğelerini dışa aktar", "export-roles": "Rolleri dışa aktar", "export-calculated-fields": "Hesaplanmış alanları ve alarm kurallarını dışa aktar", "export-alarm-rules": "Alarm kurallarını dışa aktar", - "entity-versions": "Varlık sürümleri", + "entity-versions": "Öğe sürümleri", "versions": "Sürümler", "created-time": "Oluşturulma zamanı", "version-id": "Sürüm kimliği", - "no-entity-versions-text": "Varlık sürümü bulunamadı", + "no-entity-versions-text": "Öğe sürümü bulunamadı", "no-versions-text": "Sürüm bulunamadı", "copy-full-version-id": "Tam sürüm kimliğini kopyala", "create-version": "Sürüm oluştur", "creating-version": "Sürüm oluşturuluyor... Lütfen bekleyin", "nothing-to-commit": "Kaydedilecek değişiklik yok", "restore-version": "Sürümü geri yükle", - "restore-entity-from-version": "'{{versionName}}' sürümünden varlığı geri yükle", - "restoring-entity-version": "Varlık sürümü geri yükleniyor... Lütfen bekleyin", + "restore-entity-from-version": "'{{versionName}}' sürümünden öğeyi geri yükle", + "restoring-entity-version": "Öğe sürümü geri yükleniyor... Lütfen bekleyin", "load-relations": "İlişkileri yükle", "load-attributes": "Öznitelikleri yükle", "load-credentials": "Kimlik bilgilerini yükle", - "load-calculated-fields": "Hesaplanmış alanları yükle", + "load-calculated-fields": "Hesaplanmış alanları ve alarm kurallarını yükle", "load-alarm-rules": "Alarm kurallarını yükle", - "load-group-entities": "Grup varlıklarını yükle", + "load-group-entities": "Grup öğelerini yükle", "load-roles": "Rolleri yükle", "compare-with-current": "Mevcut ile karşılaştır", - "diff-entity-with-version": "'{{versionName}}' sürümü ile farkları karşılaştır", + "diff-entity-with-version": "'{{versionName}}' öğe sürümü ile farkları karşılaştır", "previous-difference": "Önceki fark", "next-difference": "Sonraki fark", "current": "Mevcut", "differences": "{ count, plural, =1 {1 fark} other {# fark} }", - "create-entities-version": "Varlık sürümü oluştur", + "create-entities-version": "Öğe sürümü oluştur", "default-sync-strategy": "Varsayılan senkronizasyon stratejisi", "sync-strategy-merge": "Birleştir", "sync-strategy-overwrite": "Üzerine yaz", - "entities-to-export": "Dışa aktarılacak varlıklar", - "entities-to-restore": "Geri yüklenecek varlıklar", + "entities-to-export": "Dışa aktarılacak öğeler", + "entities-to-restore": "Geri yüklenecek öğeler", "sync-strategy": "Senkronizasyon stratejisi", - "all-entities": "Tüm varlıklar", - "no-entities-to-export-prompt": "Lütfen dışa aktarılacak varlıkları belirtin", - "no-entities-to-restore-prompt": "Lütfen geri yüklenecek varlıkları belirtin", - "add-entity-type": "Varlık türü ekle", + "all-entities": "Tüm öğeler", + "no-entities-to-export-prompt": "Lütfen dışa aktarılacak öğeleri belirtin", + "no-entities-to-restore-prompt": "Lütfen geri yüklenecek öğeleri belirtin", + "add-entity-type": "Öğe türü ekle", "remove-all": "Tümünü kaldır", - "version-create-result": "{ added, plural, =0 {Hiç varlık} =1 {1 varlık} other {# varlık} } eklendi.
    { modified, plural, =0 {Hiç varlık} =1 {1 varlık} other {# varlık} } değiştirildi.
    { removed, plural, =0 {Hiç varlık} =1 {1 varlık} other {# varlık} } silindi.", - "remove-other-entities": "Diğer varlıkları kaldır", - "find-existing-entity-by-name": "Adına göre mevcut varlığı bul", - "restore-entities-from-version": "'{{versionName}}' sürümünden varlıkları geri yükle", - "restoring-entities-from-version": "Varlıklar geri yükleniyor... Lütfen bekleyin", - "no-entities-restored": "Geri yüklenen varlık yok", + "version-create-result": "{ added, plural, =0 {Hiç öğe eklenmedi} =1 {1 öğe eklendi} other {# öğe eklendi} }.
    { modified, plural, =0 {Hiç öğe değiştirilmedi} =1 {1 öğe değiştirildi} other {# öğe değiştirildi} }.
    { removed, plural, =0 {Hiç öğe silinmedi} =1 {1 öğe silindi} other {# öğe silindi} }.", + "remove-other-entities": "Diğer öğeleri kaldır", + "find-existing-entity-by-name": "Adına göre mevcut öğeyi bul", + "restore-entities-from-version": "'{{versionName}}' sürümünden öğeleri geri yükle", + "restoring-entities-from-version": "Öğeler geri yükleniyor... Lütfen bekleyin", + "no-entities-restored": "Geri yüklenen öğe yok", "created": "{{created}} oluşturuldu", "updated": "{{updated}} güncellendi", "deleted": "{{deleted}} silindi", "groups-created": "{ created, plural, =1 {1 grup} other {# grup} } oluşturuldu", "groups-updated": "{ updated, plural, =1 {1 grup} other {# grup} } güncellendi", "groups-deleted": "{ deleted, plural, =1 {1 grup} other {# grup} } silindi", - "remove-other-entities-confirm-text": "Dikkatli olun! Bu işlem geri yüklemek istediğiniz sürümde bulunmayan
    tüm mevcut varlıkları kalıcı olarak silmek anlamına gelir.

    Onaylamak için lütfen \"remove other entities\" yazın.", - "auto-commit-to-branch": "{{ branch }} dalına otomatik gönderim", + "remove-other-entities-confirm-text": "Dikkatli olun! Bu işlem, geri yüklemek istediğiniz sürümde bulunmayan tüm mevcut öğeleri
    kalıcı olarak siler.

    Onaylamak için \"remove other entities\" yazın.", + "auto-commit-to-branch": "{{ branch }} dalına otomatik commit", "default-create-entity-version-name": "{{entityName}} güncellemesi", - "sync-strategy-merge-hint": "Seçili varlıkları depoya ekler veya günceller. Diğer tüm depo varlıkları değiştirilmez.", - "sync-strategy-overwrite-hint": "Seçili varlıkları depoya ekler veya günceller. Diğer tüm depo varlıkları silinir.", + "sync-strategy-merge-hint": "Seçili öğeleri depoya ekler veya günceller. Diğer tüm depo öğeleri değiştirilmez.", + "sync-strategy-overwrite-hint": "Seçili öğeleri depoya ekler veya günceller. Diğer tüm depo öğeleri silinir.", "device-credentials-conflict": "{{entityId}} dış kimliğine sahip cihaz yüklenemedi.
    Aynı kimlik bilgileri başka bir cihaz için veritabanında mevcut.
    Kimlik bilgilerini yükle seçeneğini geri yükleme formunda devre dışı bırakmayı düşünebilirsiniz.", - "missing-referenced-entity": "{{sourceEntityTypeName}} türünde, {{sourceEntityId}} dış kimliğine sahip varlık yüklenemedi.
    Çünkü {{targetEntityTypeName}} türünde ve {{targetEntityId}} kimliğine sahip eksik bir varlığa referans veriyor.", - "add-entity-groups": "Varlık grubu ekle", - "entity-groups": "Varlık grupları", - "integration-routing-key-conflict": "{{entityId}} dış kimliğine sahip entegrasyon yüklenemedi.
    Aynı entegrasyon anahtarı başka bir entegrasyon için veritabanında mevcut.
    Otomatik entegrasyon anahtarı üret seçeneğini etkinleştirmeyi düşünebilirsiniz.", + "missing-referenced-entity": "{{sourceEntityTypeName}} türündeki, {{sourceEntityId}} dış kimliğine sahip öğe yüklenemedi,
    çünkü {{targetEntityTypeName}} türünde, {{targetEntityId}} kimliğine sahip, mevcut olmayan bir öğeye başvuruyor.", + "add-entity-groups": "Öğe grupları ekle", + "entity-groups": "Öğe grupları", + "integration-routing-key-conflict": "{{entityId}} dış kimliğine sahip entegrasyon yüklenemedi.
    Aynı entegrasyon anahtarı başka bir entegrasyon için veritabanında mevcut.
    Entegrasyon anahtarını otomatik oluştur seçeneğini geri yükleme formunda etkinleştirmeyi düşünebilirsiniz.", "auto-generate-integration-key": "Entegrasyon anahtarını otomatik oluştur", "runtime-failed": "Başarısız: {{message}}", - "auto-commit-settings-read-only-hint": "Otomatik kayıt özelliği, depo ayarlarında salt okunur seçeneği etkinleştirildiğinde çalışmaz.", + "auto-commit-settings-read-only-hint": "Otomatik commit özelliği, depo ayarlarında salt okunur seçeneği etkinleştirildiğinde çalışmaz.", "rollback-on-error": "Hata durumunda geri al", - "rollback-on-error-hint": "Geri yüklenecek çok sayıda varlığınız varsa bu seçeneği devre dışı bırakmak performansı artırabilir.\nNot: Sürüm yükleme sırasında bir hata oluşursa, zaten kaydedilen varlıklar (ilişkiler, öznitelikler vb. ile) aynı şekilde kalır." + "rollback-on-error-hint": "Geri yüklenecek çok sayıda öğeniz varsa bu seçeneği devre dışı bırakmak performansı artırabilir.\nNot: Sürüm yükleme sırasında bir hata oluşursa, zaten kaydedilen öğeler (ilişkiler, öznitelikler vb. ile) aynı şekilde kalır." }, "task": { "add-task-type": "+Görev türü", "cancel-anyway": "Yine de iptal et", "cancel-task": "Görevi iptal et", - "cancel-task-calculated-field-reprocessing-text": "Şimdiye kadar işlenen veriler kaydedilecek, kuyruğa alınan öğeler iptal edilecek", - "cancel-task-calculated-field-reprocessing-title": "Yeniden işleme işlemini iptal etmek istediğinize emin misiniz?", + "cancel-task-calculated-field-reprocessing-text": "Şimdiye kadar işlenen veriler kaydedilecek, kuyruktaki kayıtlar iptal edilecek", + "cancel-task-calculated-field-reprocessing-title": "Yeniden işlemeyi iptal etmek istediğinizden emin misiniz?", "cancel-task-report-text": "Rapor oluşturma işlemi iptal edilecek, rapor dosyası oluşturulmayacak", - "cancel-task-report-title": "Rapor oluşturma işlemini iptal etmek istediğinize emin misiniz?", - "cancel-tasks-text": "Seçili görevleri iptal etmek istediğinize emin misiniz?", - "cancel-tasks-title": "{ count, plural, =1 {1 görev} other {# görev} } iptal et", + "cancel-task-report-title": "Rapor oluşturma işlemini iptal etmek istediğinizden emin misiniz?", + "cancel-tasks-text": "Seçili görevleri iptal etmek istediğinizden emin misiniz?", + "cancel-tasks-title": "{ count, plural, =1 {1 görevi} other {# görevi} } iptal et", "delete-task-text": "Bu işlem görevi listeden kaldıracak, ancak verileriniz korunacaktır", - "delete-task-title": "Bu görevi silmek istediğinize emin misiniz?", - "delete-tasks-text": "Seçili görevleri silmek istediğinize emin misiniz?", - "delete-tasks-title": "{ count, plural, =1 {1 görev} other {# görev} } sil", + "delete-task-title": "Bu görevi silmek istediğinizden emin misiniz?", + "delete-tasks-text": "Seçili görevleri silmek istediğinizden emin misiniz?", + "delete-tasks-title": "{ count, plural, =1 {1 görevi} other {# görevi} } sil", "discarded": "İptal edildi", - "entity": "Varlık", + "entity": "Öğe", "info": "Bilgi", "failed": "Başarısız", "no-tasks-prompt": "Görev bulunamadı", "parameters": "Parametreler", "progress": "İlerleme", - "reprocess": "{ count, plural, =0 {Yeniden işle} =1 {Yeniden işle} other {Başarısız varlıkları yeniden işle} }", + "reprocess": "{ count, plural, =0 {Yeniden işle} =1 {Yeniden işle} other {Başarısız öğeleri yeniden işle} }", "retry": "Yeniden dene", "search": "Görev ara", "selected-tasks": "{ count, plural, =1 {1 görev} other {# görev} } seçildi", @@ -9475,7 +10675,7 @@ }, "task-type": { "any": "Herhangi bir tür", - "calculated-field-reprocessing": "Hesaplanmış alan yeniden işleme", + "calculated-field-reprocessing": "Hesaplanmış alanın yeniden işlenmesi", "report": "Rapor oluşturma" }, "task-filter": "Görev filtresi", @@ -9483,76 +10683,82 @@ "tasks-status-list": "Görev durum listesi", "tasks-type-list": "Görev türü listesi", "time-taken": "Harcanan süre", - "total-entities": "Toplam varlık sayısı", + "total-entities": "Toplam öğe sayısı", "type": "Tür", "report-generate-successfully": "Rapor başarıyla oluşturuldu", "report-generate-in-progress": "Rapor oluşturma sürüyor", "generate-report-canceled": "Rapor oluşturma iptal edildi" }, "widget": { - "widget-library": "Bileşen kitaplığı", - "widget-bundle": "Bileşen Paketi", + "widget-library": "Widget kitaplığı", + "widget-bundle": "Widget Paketi", "all-bundles": "Tüm paketler", - "select-widgets-bundle": "Bileşen paketi seçin", - "widgets": "Bileşenler", - "all-widgets": "Tüm bileşenler", - "widget": "Bileşen", - "select-widget": "Bileşen seçin", - "no-widgets-matching": "'{{entity}}' ile eşleşen bileşen bulunamadı.", - "no-widgets": "Henüz bileşen yok", - "no-widgets-text": "Bileşen bulunamadı", - "management": "Bileşen yönetimi", - "editor": "Bileşen Editörü", + "select-widgets-bundle": "Widget paketi seçin", + "installed": "Kurulu", + "widgets": "Widget'lar", + "all-widgets": "Tüm widget'lar", + "widget": "Widget", + "select-widget": "Widget seçin", + "no-widgets-matching": "'{{entity}}' ile eşleşen widget bulunamadı.", + "no-widgets": "Henüz widget yok", + "no-widgets-text": "Widget bulunamadı", + "management": "Widget yönetimi", + "editor": "Widget Editörü", "confirm-to-exit-editor-html": "Kaydedilmemiş widget ayarlarınız var.
    Bu sayfadan ayrılmak istediğinizden emin misiniz?", "widget-type-not-found": "Widget yapılandırması yüklenirken sorun oluştu.
    Muhtemelen ilişkili\n widget türü silinmiş.", "widget-type-load-error": "Widget aşağıdaki hatalar nedeniyle yüklenemedi:", - "remove": "Bileşeni kaldır", - "delete": "Bileşeni sil", - "edit": "Bileşeni düzenle", - "remove-widget-title": "'{{widgetTitle}}' bileşenini kaldırmak istediğinize emin misiniz?", - "remove-widget-text": "Onaydan sonra bileşen ve ilgili tüm veriler geri alınamaz hale gelecektir.", - "replace-reference-with-widget-copy": "Referansı bileşen kopyasıyla değiştir", + "remove": "Widget'ı kaldır", + "delete": "Widget'ı sil", + "edit": "Widget'ı düzenle", + "remove-widget-title": "'{{widgetTitle}}' widget'ını kaldırmak istediğinizden emin misiniz?", + "remove-widget-text": "Onaydan sonra widget ve ilgili tüm veriler geri alınamaz hale gelecektir.", + "replace-reference-with-widget-copy": "Referansı widget kopyasıyla değiştir", "timeseries": "Zaman serisi", "search-data": "Veri ara", "no-data-found": "Veri bulunamadı", "latest": "En son değerler", - "rpc": "Kontrol bileşeni", - "alarm": "Alarm bileşeni", - "static": "Statik bileşen", + "rpc": "Kontrol widget'ı", + "alarm": "Alarm widget'ı", + "static": "Statik widget", "timeseries-short": "seri", "latest-short": "son", "rpc-short": "kontrol", "alarm-short": "alarm", "static-short": "statik", - "select-widget-type": "Bileşen türü seçin", - "missing-widget-title-error": "Bileşen başlığı belirtilmelidir!", - "widget-saved": "Bileşen kaydedildi", - "unable-to-save-widget-error": "Bileşen kaydedilemedi! Hatalar içeriyor!", - "save": "Bileşeni kaydet", - "saveAs": "Bileşeni farklı kaydet", - "move": "Bileşeni taşı", - "save-widget-as": "Bileşeni farklı kaydet", - "save-widget-as-text": "Lütfen yeni bileşen başlığını girin", + "type-timeseries": "Zaman serisi", + "type-latest": "Son değerler", + "type-rpc": "Kontrol", + "type-alarm": "Alarm", + "type-static": "Statik", + "select-widget-type": "Widget türü seçin", + "missing-widget-title-error": "Widget başlığı belirtilmelidir!", + "widget-saved": "Widget kaydedildi", + "unable-to-save-widget-error": "Widget kaydedilemedi! Hatalar içeriyor!", + "save": "Widget'ı kaydet", + "saveAs": "Widget'ı farklı kaydet", + "move": "Widget'ı taşı", + "save-widget-as": "Widget'ı farklı kaydet", + "save-widget-as-text": "Lütfen yeni widget başlığını girin", "toggle-fullscreen": "Tam ekranı aç/kapat", - "run": "Bileşeni çalıştır", - "widget-title": "Bileşen başlığı", + "run": "Widget'ı çalıştır", + "widget-title": "Widget başlığı", "title": "Başlık", - "title-required": "Bileşen başlığı gereklidir.", + "title-required": "Widget başlığı gereklidir.", "title-max-length": "Başlık 256 karakterden kısa olmalıdır", "system": "Sistem", - "type": "Bileşen türü", + "type": "Widget türü", "resources": "Kaynaklar", "resource-url": "JavaScript/CSS URL", "resource-is-extension": "Eklenti mi", "remove-resource": "Kaynağı kaldır", "add-resource": "Kaynak ekle", "html": "HTML", - "tidy": "Düzenle", + "tidy": "Biçimlendir", "css": "CSS", "settings-form": "Ayar formu", "data-key-settings-form": "Veri anahtarı ayar formu", "latest-data-key-settings-form": "Son veri anahtarı ayar formu", - "widget-settings": "Bileşen ayarları", + "widget-settings": "Widget ayarları", "description": "Açıklama", "tags": "Etiketler", "image-preview": "Görsel önizleme", @@ -9560,49 +10766,49 @@ "data-key-settings-form-selector": "Veri anahtarı ayar formu seçici", "latest-data-key-settings-form-selector": "Son veri anahtarı ayar formu seçici", "all": "Tümü", - "actual": "Gerçek", + "actual": "Güncel", "scada": "SCADA sembolü", - "deprecated": "Kullanımdan kaldırıldı", + "deprecated": "Kullanım dışı", "has-basic-mode": "Temel modu var", "basic-mode-form-selector": "Temel mod formu seçici", "basic-mode": "Temel", "advanced-mode": "Gelişmiş", "javascript": "Javascript", "js": "JS", - "delete-widget-title": "'{{widgetName}}' bileşenini silmek istediğinize emin misiniz?", - "delete-widget-text": "Onaydan sonra bileşen ve ilgili tüm veriler geri alınamaz hale gelecektir.", - "delete-widgets-title": "{ count, plural, =1 {1 bileşeni} other {# bileşeni} } silmek istediğinize emin misiniz?", - "delete-widgets-text": "Dikkatli olun, onaydan sonra seçilen tüm bileşenler silinecek ve ilgili tüm veriler geri alınamaz hale gelecektir.", - "delete-widget": "Bileşeni sil", - "widget-template-load-failed-error": "Bileşen şablonu yüklenemedi!", - "details": "Detaylar", - "widget-details": "Bileşen detayları", - "add": "Bileşen ekle", - "add-existing-widget": "Mevcut bileşeni ekle", - "add-new-widget": "Yeni bileşen ekle", - "search-widgets": "Bileşenleri ara", - "selected-widgets": "{ count, plural, =1 {1 bileşen} other {# bileşen} } seçildi", - "undo": "Bileşen değişikliklerini geri al", - "export": "Bileşeni dışa aktar", - "export-prompt": "Bileşen görsellerini ve kaynaklarını göm", - "export-widgets": "Bileşenleri dışa aktar", - "export-widgets-prompt": "Bileşen görsellerini ve kaynaklarını göm", - "export-data": "Bileşen verisini dışa aktar", + "delete-widget-title": "'{{widgetName}}' widget'ını silmek istediğinizden emin misiniz?", + "delete-widget-text": "Onaydan sonra widget ve ilgili tüm veriler geri alınamaz hale gelecektir.", + "delete-widgets-title": "{ count, plural, =1 {1 widget'ı} other {# widget'ı} } silmek istediğinizden emin misiniz?", + "delete-widgets-text": "Dikkatli olun, onaydan sonra seçilen tüm widget'lar silinecek ve ilgili tüm veriler geri alınamaz hale gelecektir.", + "delete-widget": "Widget'ı sil", + "widget-template-load-failed-error": "Widget şablonu yüklenemedi!", + "details": "Ayrıntılar", + "widget-details": "Widget ayrıntıları", + "add": "Widget ekle", + "add-existing-widget": "Mevcut widget'ı ekle", + "add-new-widget": "Yeni widget ekle", + "search-widgets": "Widget'ları ara", + "selected-widgets": "{ count, plural, =1 {1 widget} other {# widget} } seçildi", + "undo": "Widget değişikliklerini geri al", + "export": "Widget'ı dışa aktar", + "export-prompt": "Widget görsellerini ve kaynaklarını göm", + "export-widgets": "Widget'ları dışa aktar", + "export-widgets-prompt": "Widget görsellerini ve kaynaklarını göm", + "export-data": "Widget verisini dışa aktar", "export-to-csv": "Veriyi CSV olarak dışa aktar...", "export-to-excel": "Veriyi XLS olarak dışa aktar...", "export-to-excel-xlsx": "Veriyi XLSX olarak dışa aktar...", - "import": "Bileşen içe aktar", - "no-data": "Bileşende görüntülenecek veri yok", - "data-overflow": "Bileşen {{total}} varlıktan {{count}} tanesini görüntülüyor", - "alarm-data-overflow": "Bileşen, {{totalEntities}} varlıktan yalnızca {{allowedEntities}} (maksimum izin verilen) varlık için alarm gösteriyor", - "search": "Bileşen ara", - "filter": "Bileşen filtre türü", - "loading-widgets": "Bileşenler yükleniyor...", - "widget-template-error": "Geçersiz bileşen HTML şablonu.", + "import": "Widget içe aktar", + "no-data": "Widget'ta görüntülenecek veri yok", + "data-overflow": "Widget {{total}} öğeden {{count}} tanesini görüntülüyor", + "alarm-data-overflow": "Widget, {{totalEntities}} öğeden yalnızca {{allowedEntities}} (maksimum izin verilen) öğe için alarm gösteriyor", + "search": "Widget ara", + "filter": "Widget filtre türü", + "loading-widgets": "Widget'lar yükleniyor...", + "widget-template-error": "Geçersiz widget HTML şablonu.", "reference": "Referans" }, "widget-action": { - "header-button": "Bileşen başlık düğmesi", + "header-button": "Widget başlık düğmesi", "do-nothing": "Hiçbir şey yapma", "open-dashboard-state": "Yeni pano durumuna git", "update-dashboard-state": "Mevcut pano durumunu güncelle", @@ -9614,8 +10820,8 @@ "custom-pretty-controller-error": "Özel pencere işlevi değerlendirilirken hata oluştu.", "mobile-action": "Mobil eylem", "target-dashboard-state": "Hedef pano durumu", - "target-dashboard-state-required": "Hedef pano durumu gerekli", - "set-entity-from-widget": "Varlığı bileşenden ayarla", + "target-dashboard-state-required": "Hedef pano durumu gereklidir", + "set-entity-from-widget": "Öğeyi widget'tan ayarla", "target-dashboard": "Hedef pano", "select-target-dashboard": "Hedef panoyu seç", "target-dashboard-required": "Hedef pano gereklidir.", @@ -9629,7 +10835,7 @@ "dialog-width": "Pencere genişliği (görünüm alanına göre yüzde)", "dialog-height": "Pencere yüksekliği (görünüm alanına göre yüzde)", "dialog-size-range-error": "Pencere boyutu yüzde değeri 1 ile 100 arasında olmalıdır.", - "popover-preferred-placement": "Tercih edilen açılır konumu", + "popover-preferred-placement": "Tercih edilen açılır pencere konumu", "popover-placement-top": "Üst", "popover-placement-topLeft": "Üst sol", "popover-placement-topRight": "Üst sağ", @@ -9656,7 +10862,7 @@ "action-type": "Mobil eylem türü", "select-action-type": "Mobil eylem türünü seçin", "action-type-required": "Mobil eylem türü gereklidir", - "take-picture-from-gallery": "Galeri'den fotoğraf seç", + "take-picture-from-gallery": "Galeriden fotoğraf seç", "take-photo": "Fotoğraf çek", "map-direction": "Harita yönlendirmelerini aç", "map-location": "Harita konumunu aç", @@ -9668,18 +10874,100 @@ "get-location-function": "Konum alma fonksiyonu", "process-launch-result-function": "Başlatma sonucu fonksiyonunu işle", "get-phone-number-function": "Telefon numarası alma fonksiyonu", - "process-image-function": "Resim işleme fonksiyonu", + "process-image-function": "Görsel işleme fonksiyonu", "process-qr-code-function": "QR kodunu işleme fonksiyonu", "process-location-function": "Konum işleme fonksiyonu", "handle-empty-result-function": "Boş sonuç fonksiyonunu işle", "handle-error-function": "Hata fonksiyonunu işle", "handle-non-mobile-fallback-function": "Mobil olmayan geri dönüş fonksiyonunu işle", - "save-to-gallery": "'Resim Galerisi'ne kaydet", + "save-to-gallery": "'Görsel Galerisi'ne kaydet", "provision-type": "Sağlama türü", "auto": "Otomatik", "wi-fi": "Wi-Fi", "ble": "BLE", - "soft-ap": "Soft AP" + "soft-ap": "Soft AP", + "save-to-entity": "Konumu öğeye kaydet", + "target-panel-title": "Hedef", + "target-save-to": "Kaydetme yeri", + "target-mode-entity": "Öğe", + "target-current-entity": "Widget veri kaynağındaki öğe", + "target-current-user": "Geçerli kullanıcı", + "target-entity-alias": "Öğe takma adı", + "target-from-attribute": "Öznitelikten", + "target-entity-alias-name": "Takma ad", + "target-entity-alias-name-required": "Takma ad gereklidir", + "target-attribute-source": "Özniteliğin okunacağı kaynak", + "target-attribute-key": "Sunucu özniteliği anahtarı", + "target-attribute-key-required": "Sunucu özniteliği anahtarı gereklidir", + "target-attribute-value-hint": "Öznitelik, her iki alanı da içeren bir öğe kimliği nesnesi içermelidir, örneğin {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}. Düz bir id dizesi kabul edilmez.", + "location-save-failed": "Konum kaydedilemedi: {{error}}", + "start-live-location": "Canlı konum takibini başlat", + "stop-live-location": "Canlı konum takibini durdur", + "accuracy": "Doğruluk", + "accuracy-hint": "Her konumun ne kadar hassas olduğu ile takibin ne kadar pil tükettiği arasındaki denge.", + "accuracy-high": "Yüksek", + "accuracy-high-hint": "En hassas konum için GPS kullanır, yaklaşık 5 m. Araç veya saha çalışanı takibi için en iyisidir ancak pili en hızlı tüketir.", + "accuracy-balanced": "Dengeli", + "accuracy-balanced-hint": "Wi-Fi ve baz istasyonlarını kullanır, yalnızca gerektiğinde GPS'e geçer, yaklaşık 40 m. Orta düzeyde pil tüketimiyle periyodik konum bildirimleri için iyi bir varsayılan seçenek.", + "accuracy-low": "Düşük", + "accuracy-low-hint": "Yalnızca baz istasyonlarını kullanır, yaklaşık 500 m veya daha kötü. Minimum pil kullanımıyla uzun süreler boyunca şehir düzeyinde konum belirleme için en iyisidir.", + "live-location-advanced-settings": "Gelişmiş ayarlar", + "distance-filter": "Güncellemeleri kat edilen mesafeye göre sınırla", + "distance-filter-hint": "Cihaz daha önce bildirilen konumdan en az bu kadar uzaklaşana kadar güncellemeler atlanır.", + "distance-filter-value": "Mesafe", + "distance-filter-value-min": "Mesafe en az 1 metre olmalıdır", + "distance-filter-value-pattern": "Mesafe tam sayı olmalıdır", + "distance-filter-value-required": "Mesafe gereklidir", + "interval": "Güncellemeleri zaman aralığına göre sınırla", + "interval-hint": "Yeni konumu bundan daha sık istemez. Bu ayar olmadan güncellemeler, cihazın bildirdiği sıklıkta gelir.", + "interval-value": "Aralık", + "interval-value-min": "Aralık en az 1 saniye olmalıdır", + "interval-value-required": "Aralık gereklidir", + "max-duration": "Takibi maksimum süreden sonra durdur", + "max-duration-hint": "Takip, başladıktan sonra bu kadar süre geçince otomatik olarak durur.", + "max-duration-value": "Süre", + "max-duration-value-min": "Süre en az 1 dakika olmalıdır", + "max-duration-value-required": "Süre gereklidir" + }, + "location": { + "saved-keys": "Öğeye kaydedilen anahtarlar", + "argument": "Argüman", + "key-name": "Veri anahtarı", + "value-type": "Tür", + "add-key": "Anahtar ekle", + "remove-key": "Anahtarı kaldır", + "duplicate-key-names": "Veri anahtarları benzersiz olmalıdır", + "key-latitude": "Enlem", + "key-longitude": "Boylam", + "key-accuracy": "Doğruluk", + "key-altitude": "Yükseklik", + "key-speed": "Hız", + "key-heading": "Yön", + "key-gps-active": "GPS aktif", + "key-gps-tracked-by": "GPS takibini yapan kullanıcı", + "value-type-attribute": "Sunucu özniteliği", + "value-type-timeseries": "Zaman serisi", + "error-no-current-entity": "Widget eyleminin geçerli bir öğesi yok", + "error-no-current-user": "Geçerli kullanıcı belirlenemiyor", + "error-save-failed": "Beklenmeyen sunucu hatası", + "error-permission-denied": "İzin reddedildi", + "error-alias-not-found": "'{{alias}}' öğe takma adı panoda bulunamadı", + "error-alias-not-resolved": "'{{alias}}' öğe takma adı bir öğeye çözümlenmedi", + "error-attribute-not-found": "'{{key}}' özniteliği kaynak öğede bulunamadı", + "error-attribute-not-object": "'{{key}}' özniteliği bir öğe kimliği nesnesi değil. Hem entityType hem de id alanları bekleniyor, örneğin {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}.", + "error-attribute-incomplete": "'{{key}}' özniteliğinde öğe kimliği nesnesinin entityType veya id alanı eksik", + "error-attribute-unknown-entity-type": "'{{key}}' özniteliği bilinmeyen bir öğe türüne başvuruyor: '{{entityType}}'", + "error-unknown-target-type": "Bilinmeyen hedef öğe kaynağı: '{{type}}'" + }, + "save-browser-location": "Tarayıcı konumunu kaydet", + "browser-location": { + "location-saved": "Tarayıcı konumu kaydedildi", + "location-save-failed": "Tarayıcı konumu kaydedilemedi: {{error}}", + "error-unsupported": "Bu tarayıcı konum algılamayı desteklemiyor", + "error-insecure-context": "Tarayıcı konumu güvenli (HTTPS) bir bağlantı gerektirir", + "error-permission-denied": "Konum izni reddedildi", + "error-position-unavailable": "Mevcut konum kullanılamıyor", + "error-timeout": "Mevcut konum alınırken zaman aşımı oluştu" }, "custom-action-function": "Özel eylem işlevi", "custom-pretty-function": "Özel eylem (HTML şablonlu) işlevi", @@ -9689,7 +10977,7 @@ "polygon": "Poligon", "rectangle": "Dikdörtgen", "circle": "Daire", - "polyline": "Çokgen" + "polyline": "Çoklu çizgi" }, "place-map-item": "Harita öğesi yerleştir", "map-item-tooltip": { @@ -9702,8 +10990,8 @@ "finish-draw-polygon": "Poligon çizimini bitir", "start-draw-circle": "Daire çizmeye başla", "finish-draw-circle": "Daire çizimini bitir", - "start-draw-polyline": "Çokgen çizmeye başla", - "finish-draw-polyline": "Çokgen çizmeyi bitir" + "start-draw-polyline": "Çoklu çizgi çizmeye başla", + "finish-draw-polyline": "Çoklu çizgi çizimini bitir" } }, "widgets-bundle": { @@ -9722,12 +11010,12 @@ "add-widgets-bundle-text": "Yeni widget paketi ekle", "no-widgets-bundles-text": "Hiç widget paketi bulunamadı", "empty": "Widget paketi boş", - "details": "Detaylar", - "widgets-bundle-details": "Widget paketi detayları", + "details": "Ayrıntılar", + "widgets-bundle-details": "Widget paketi ayrıntıları", "delete-widgets-bundle-title": "‘{{widgetsBundleTitle}}’ widget paketini silmek istediğinizden emin misiniz?", "delete-widgets-bundle-text": "Dikkatli olun, onaydan sonra widget paketi ve tüm ilişkili veriler geri alınamaz hale gelecek.", - "delete-widgets-bundles-title": "{ count, plural, =1 {1 widget paketi} other {# widget paketi} } silmek istediğinizden emin misiniz?", - "delete-widgets-bundles-action-title": "{ count, plural, =1 {1 widget paketi} other {# widget paketi} } sil", + "delete-widgets-bundles-title": "{ count, plural, =1 {1 widget paketini} other {# widget paketini} } silmek istediğinizden emin misiniz?", + "delete-widgets-bundles-action-title": "{ count, plural, =1 {1 widget paketini} other {# widget paketini} } sil", "delete-widgets-bundles-text": "Dikkatli olun, onaydan sonra seçilen tüm widget paketleri ve ilişkili veriler silinecek ve geri alınamaz hale gelecek.", "no-widgets-bundles-matching": "‘{{widgetsBundle}}’ ile eşleşen widget paketi bulunamadı.", "widgets-bundle-required": "Widget paketi gereklidir.", @@ -9763,7 +11051,7 @@ "data-export": "Veri dışa aktarma", "background-color": "Arka plan rengi", "text-color": "Metin rengi", - "border-radius": "Kenar yuvarlama", + "border-radius": "Kenar yarıçapı", "padding": "İç boşluk", "margin": "Dış boşluk", "widget-style": "Widget stili", @@ -9777,14 +11065,14 @@ "units": "Değerin yanına gösterilecek özel sembol", "units-by-default": "Varsayılan birimler", "decimals": "Ondalık basamak sayısı", - "decimals-by-default": "Varsayılan ondalık basamak", + "decimals-by-default": "Varsayılan ondalık basamak sayısı", "default-data-key-parameter-hint": "Bu parametre, veri anahtarı konfigürasyonu ile geçersiz kılınmadıkça tüm widget değerleri için geçerlidir", "units-short": "Birimler", "decimals-short": "Ondalık", "decimals-suffix": "ondalık", "digits-suffix": "basamak", "timewindow": "Zaman aralığı", - "use-dashboard-timewindow": "Dashboard zaman aralığını kullan", + "use-dashboard-timewindow": "Pano zaman aralığını kullan", "use-widget-timewindow": "Widget zaman aralığını kullan", "display-timewindow": "Zaman aralığını göster", "legend": "Gösterge", @@ -9804,13 +11092,33 @@ "add-action": "Eylem ekle", "search-actions": "Eylemleri ara", "no-actions-text": "Hiçbir eylem bulunamadı", + "import-actions": "Eylemleri içe aktar", + "export-actions": "Eylemleri dışa aktar", + "export-action": "Eylemi dışa aktar", + "duplicate-action": "Eylemi çoğalt", + "copy-action": "Eylemi kopyala", + "copy-all-actions": "Tüm eylemleri kopyala", + "action-copied": "Eylem kopyalandı", + "actions-copied": "Eylemler kopyalandı", + "paste-actions": "Eylemleri yapıştır", + "clear-actions": "Tüm eylemleri temizle", + "clear-actions-title": "Tüm eylemleri temizle", + "clear-actions-text": "Tüm widget eylemlerini kaldırmak istediğinizden emin misiniz?", + "actions-file": "Widget eylemleri dosyası", + "actions-json-content": "Eylemlerin JSON içeriği", + "invalid-actions-file-error": "Widget eylemleri içe aktarılamıyor: Geçersiz widget eylemleri veri yapısı.", + "import-actions-imported": "{ count, plural, =0 {Hiçbir eylem içe aktarılmadı} =1 {1 eylem içe aktarıldı} other {# eylem içe aktarıldı} }", + "paste-actions-pasted": "{ count, plural, =0 {Hiçbir eylem yapıştırılmadı} =1 {1 eylem yapıştırıldı} other {# eylem yapıştırıldı} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {Hiçbir eylem çoğaltılmadı} =1 {1 eylem çoğaltıldı} other {# eylem çoğaltıldı} }", + "import-actions-skipped": "{ count, plural, =1 {1 eylem, bu widget için geçerli olmadığından veya zaten yapılandırıldığından atlandı} other {# eylem, bu widget için geçerli olmadığından veya zaten yapılandırıldığından atlandı} }", + "import-actions-columns-reset": "{ count, plural, =1 {1 hücre tıklama eyleminin atanmış sütunu yok. Sütun atamak için eylemi düzenleyin.} other {# hücre tıklama eyleminin atanmış sütunu yok. Sütun atamak için eylemleri düzenleyin.} }", "action-source": "Eylem kaynağı", "select-action-source": "Eylem kaynağını seçin", "action-source-required": "Eylem kaynağı gereklidir.", "column-index": "Sütun indeksi", "select-column-index": "Sütun indeksini seçin", "column-index-required": "Sütun indeksi gereklidir.", - "entity-group-row-click-hint": "Özel eylem \"Satıra tıklama\"yı kullanmak için, ayarlar sekmesindeki \"Varlık detaylarını aç\" seçeneğinin \"Satıra tıklama\" dışında bir değere ayarlanmış olduğundan emin olun.", + "entity-group-row-click-hint": "\"Satıra tıklama\" özel eylemini kullanmak için ayarlar sekmesindeki \"Öğe ayrıntılarını şurada aç\" seçeneğinin \"Satıra tıklama\" dışında bir değere ayarlandığından emin olun.", "not-set": "Ayarlanmadı", "action-name": "Ad", "action-name-required": "Eylem adı gereklidir.", @@ -9850,7 +11158,7 @@ "data-settings": "Veri ayarları", "limits": "Sınırlar", "no-data-display-message": "\"Gösterilecek veri yok\" alternatif mesajı", - "data-page-size": "Veri kaynağı başına maksimum varlık sayısı", + "data-page-size": "Veri kaynağı başına maksimum öğe sayısı", "settings-component-not-found": "'{{selector}}' seçici için ayar formu bileşeni bulunamadı", "preview": "Önizleme", "set": "Ayarla", @@ -9885,7 +11193,7 @@ "self-registration": "Kendi kendine kayıt", "self-registration-url": "Kendi kendine kayıt URL'si", "captcha-version": "Captcha sürümü", - "captcha-action": "Captcha günlük eylem adı", + "captcha-action": "Captcha günlüğü eylem adı", "captcha-site-key": "Captcha site anahtarı", "captcha-site-key-required": "Captcha site anahtarı gereklidir.", "captcha-site-key-cannot-contain-only-spaces": "Captcha site anahtarı yalnızca boşluklardan oluşamaz", @@ -9895,7 +11203,7 @@ "captcha-secret-key-cannot-contain-only-spaces": "Captcha gizli anahtarı yalnızca boşluklardan oluşamaz", "captcha-secret-key-max-length": "Captcha gizli anahtarı 256 karakterden kısa olmalıdır", "project-id": "Proje ID", - "project-id-required": "Proje ID gereklidir.", + "project-id-required": "Proje kimliği gereklidir.", "android-key": "Android anahtarı", "android-key-required": "Android anahtarı gereklidir.", "ios-key": "iOS anahtarı", @@ -9921,7 +11229,7 @@ "mobile-app-scheme-max-length": "Uygulama URL şeması 256 karakterden kısa olmalıdır", "mobile-app-host": "Uygulama URL ana makinesi", "mobile-app-host-placeholder": "Örn.: my.app.host", - "mobile-app-host-required": "Uygulama URL ana makinesi gereklidir", + "mobile-app-host-required": "Uygulama URL'sinin ana makine adı gereklidir", "mobile-app-host-cannot-contain-only-spaces": "Uygulama URL ana makinesi yalnızca boşluklardan oluşamaz", "mobile-app-host-max-length": "Uygulama URL ana makinesi 256 karakterden kısa olmalıdır", "show-privacy-policy": "Gizlilik Politikasını Göster", @@ -9931,21 +11239,130 @@ "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterprise hesap kimlik bilgileri JSON dosyası", "select-recaptcha-enterprise-service-account-file": "Hesap kimlik bilgileri dosyanızı sürükleyip bırakın" }, - "solution-template": { - "solution-template": "Çözüm şablonu", - "solution-templates": "Çözüm şablonları", - "management": "Çözüm şablonlarını yönet", - "details": "Ayrıntılar", - "install": "Yükle", - "level": "Seviye", - "install-title": "Çözüm şablonu başarıyla yüklendi", - "install-failed-title": "Çözüm şablonu yükleme başarısız", - "instructions": "Talimatlar", - "goto-main-dashboard": "Ana panoya git", - "delete": "Sil", - "delete-solution-title": "'{{solutionTitle}}' çözümünü silmek istediğinizden emin misiniz?", - "delete-solution-text": "Dikkat, onaydan sonra çözüm ve ilgili tüm veriler kurtarılamayacaktır.", - "installing": "Çözüm şablonu yükleniyor..." + "solution-creator": { + "ai-solution-creator": "Yapay zeka çözüm oluşturucu", + "describe-solution-you-want": "Oluşturmak istediğiniz çözümü açıklayın", + "enter-your-prompt": "İsteminizi girin", + "target": "Hedef", + "install-solution": "Kur", + "solution-overview": "Çözüm özeti: {{ name }}", + "dashboards-overview": "Panolara genel bakış: {{ name }}", + "entity-profile": "Öğe profili", + "entity-profiles": "Öğe profilleri", + "name": "Ad", + "iam": "IAM", + "iam-full": "Kimlik ve erişim yönetimi", + "table-view": "Tablo", + "schema-view": "Şema", + "iam-info": "IAM bilgisi", + "operation": { + "C": "Oluştur", + "R": "Oku", + "U": "Güncelle", + "D": "Sil" + }, + "alarm-info": "Alarm bilgisi", + "description": "Açıklama", + "data": "Veri", + "entity-info": "Öğe bilgisi", + "calculated-field-info": "Hesaplanmış alan bilgisi", + "field-type": "Alan türü", + "scope": "Kapsam", + "delete-alarm-title": "Önerilen bu alarm silinsin mi?", + "delete-alarm-text": "Açıklamanıza göre önerilen bu alarm, önerilen çözüme eklenmeyecek.
    Alarmları daha sonra istediğiniz zaman manuel olarak düzenleyebilir veya yeniden oluşturabilirsiniz. Bu işlem geri alınamaz.", + "basic-mode": "Temel", + "advanced-mode": "Gelişmiş", + "create-solution": "Çözüm oluştur", + "go-dashboard-manager": "Sonraki: Pano tasarımı", + "success-generate-title": "Çözüm hazır!", + "success-generate-sub-title": "Aşağıdaki düğmeye tıklayarak çözümü hesabınıza kurabilirsiniz", + "success-generate-install-title": "Çözüm kuruldu!", + "success-generate-install-sub-title": "Çözümü düzenlemek için lütfen önce mevcut örneği kaldırın", + "main-title": "Merhaba! Ben yapay zeka asistanınızım", + "sub-title": "Gereksinimlerinizi tamamen işlevsel bir IoT çözümüne dönüştürmenize yardımcı olurum.\nNe yapmak istediğinizi açıklamanız yeterli, gerisini ben hallederim.", + "solutions": "Çözümler", + "new-solution": "Yeni çözüm", + "uninstall-solution": "Kaldır", + "uninstall-solution-dialog-title": "‘{{ name }}’ adlı çözümü kaldırmak istediğinizden emin misiniz?", + "uninstall-solution-dialog-text": "İlgili tüm öğeler ve panolar hesabınızdan silinecek", + "uninstall-solution-dialog-confirm": "Evet, kaldır", + "delete-solution-title": "‘{{ name }}’ adlı çözümü silmek istediğinizden emin misiniz?", + "delete-solution-text": "Tüm verileriniz kaybolacak", + "delete-solution-confirm": "Evet, sil", + "copy-solution": "Çözümü kopyala", + "expand-sidebar": "Kenar çubuğunu genişlet", + "collapse-sidebar": "Kenar çubuğunu daralt", + "solution-id": "Çözüm kimliği", + "solution-id-required": "Çözüm kimliği gereklidir.", + "rename-solution-title": "Bu çözümü yeniden adlandır", + "generate-again": "Yeniden oluştur", + "skip-interview": "Görüşmeyi atla", + "update-solution": "Çözümü güncelle", + "finish-edit": "Düzenlemeyi bitir", + "lorawan-tracking": "LoRaWAN takibi", + "smart-parking": "Akıllı otopark", + "weather-monitoring": "Hava durumu izleme", + "water-metering": "Su sayacı ölçümü", + "coffee-machine-monitoring": "Kahve makinesi izleme", + "fleet-geofencing": "Filo coğrafi çitleme", + "more-examples": "Daha fazla örnek", + "hide": "Gizle", + "solution-info": "Çözüm bilgisi", + "solution-info-with-name": "Çözüm bilgisi: {{ name }}", + "status": "Durum", + "only-failures": "Yalnızca hatalar", + "failed-create-entity": "Öğe oluşturulamadı", + "failed-install-entity": "Öğe kurulamadı", + "copy-id": "Kimliği kopyala", + "id-copied-message": "Çözüm kimliği panoya kopyalandı", + "credits": "Krediler", + "info": "Bilgi", + "main-dashboard": "Ana pano", + "view-as": "{{ name }} olarak görüntüle", + "generated-by-calculated-field-name": "‘{{ name }}’ hesaplanmış alanı tarafından oluşturuldu", + "estimate-wait-time": "Tahmini bekleme süresi: ~{{ time }}", + "analyzing-your-request": "İsteğiniz analiz ediliyor...", + "condition": "Koşul", + "installing": "Çözüm kuruluyor...", + "step-architecture-design": "Mimari tasarım", + "step-dashboard-design": "Pano tasarımı", + "step-solution-installation": "Çözüm kurulumu", + "step-reading-device-data": "Cihaz verileri okunuyor…", + "step-analyzing-telemetry-attributes": "Telemetri ve öznitelikler analiz ediliyor…", + "step-selecting-widgets": "Verileriniz için widget'lar seçiliyor…", + "step-configuring-titles-units-ranges": "Başlıklar, birimler ve aralıklar yapılandırılıyor…", + "step-designing-layout": "Düzen tasarlanıyor…", + "step-arranging-widgets": "Widget'lar panoya yerleştiriliyor…", + "generate-dashboard": "Pano oluştur", + "generate-dashboard-with-ai": "Yapay zeka ile pano oluştur", + "no-telemetry-title": "Telemetri verisi bulunamadı", + "no-telemetry-message": "Bu cihaz henüz telemetri göndermedi.\nLütfen önce cihazdan telemetri gönderin, ardından panoyu oluşturun.", + "send-telemetry": "Telemetri gönder", + "step-loading-updating-entities": "Öğeler güncelleniyor…", + "step-loading-restructuring-roles": "Roller yeniden yapılandırılıyor…", + "step-loading-rebuilding-alarm-rules": "Alarm kuralları yeniden oluşturuluyor…", + "step-loading-reassembling-dashboards": "Panolar yeniden derleniyor…", + "step-loading-updating-solution": "Çözümünüz güncelleniyor…", + "step-loading-designing-dashboards-structure": "Pano yapısı tasarlanıyor…", + "step-loading-designing-dashboards-states": "Pano durumları tasarlanıyor…", + "step-loading-designing-widgets": "Widget'lar tasarlanıyor…", + "step-loading-adding-finishing-touches": "Son rötuşlar yapılıyor…", + "step-loading-evaluating-solution-changes": "Çözüm değişiklikleri değerlendiriliyor…", + "step-loading-reevaluating-use-cases": "Kullanım senaryoları yeniden değerlendiriliyor…", + "step-loading-finalizing": "Tamamlanıyor…", + "step-loading-creating-entities": "Öğeler oluşturuluyor…", + "step-loading-configuring-devices": "Cihazlar yapılandırılıyor…", + "step-loading-setting-up-relations": "İlişkiler kuruluyor…", + "step-loading-structuring-access-controls": "Erişim kontrolleri yapılandırılıyor…", + "step-loading-building-calculated-fields": "Hesaplanmış alanlar oluşturuluyor…", + "step-loading-building-alarm-rules": "Alarm kuralları oluşturuluyor…", + "step-loading-assembling-dashboards": "Panolar oluşturuluyor…", + "step-loading-preparing-states": "Durumlar hazırlanıyor…", + "step-loading-initializing-solution": "Çözüm başlatılıyor…", + "ai-credits": "Yapay zeka kredileri", + "ai-credits-update": "Planı güncelle", + "ai-credits-usage": "Yapay zeka kredileri: {{ used }} / {{ max }} kullanıldı", + "ai-credits-description": "Bu ay toplam {{ max }} yapay zeka kredinizden {{ used }} tanesini kullandınız. Limit {{ date }} tarihinde sıfırlanır. Yapay zeka kredisi kotanızı artırmak için lütfen sistem yöneticinize başvurun." }, "markdown": { "edit": "Düzenle", @@ -9955,31 +11372,34 @@ }, "white-labeling": { "white-labeling": "White labeling", - "white-labeling-general": "Genel white labeling", - "login-white-labeling": "Giriş ekranı white labeling", + "white-labeling-general": "Genel White labeling", + "login-white-labeling": "Giriş ekranı White labeling", "general": "Genel", "login": "Giriş", "preview": "Önizleme", "app-title": "Uygulama başlığı", "favicon": "Web sitesi simgesi", - "favicon-description": "*.ico, *.gif veya *.png formatında, maksimum boyut {{kbSize}} KB olan bir görsel.", - "favicon-size-error": "Web sitesi simgesi çok büyük. İzin verilen maksimum boyut {{kbSize}} KB.", - "favicon-type-error": "Geçersiz web sitesi simgesi dosya formatı. Yalnızca ICO, GIF veya PNG görseller kabul edilir.", - "drop-favicon-image": "Bir web sitesi simgesi bırakın veya yüklemek için bir dosya seçin.", - "drop-favicon-image-or": "Bir web sitesi simgesi sürükleyip bırakın veya", - "no-favicon-image": "Simgesi seçilmedi", + "favicon-desc": "Tarayıcı sekmesinde ve yer imlerinde görünen simge. PNG veya ICO, 32×32 px önerilir", "logo": "Logo", - "logo-description": "Herhangi bir görsel, maksimum boyut {{kbSize}} KB.", - "logo-size-error": "Logo çok büyük. İzin verilen maksimum logo boyutu {{kbSize}} KB.", - "logo-type-error": "Geçersiz logo dosya formatı. Yalnızca görseller kabul edilir.", - "drop-logo-image": "Bir logo bırakın veya yüklemek için bir dosya seçin.", - "drop-logo-image-or": "Bir logo sürükleyip bırakın veya", - "no-logo-image": "Logo seçilmedi", + "logo-desc": "SVG veya PNG, yükseklik en az 96px, en fazla 200 KB", "logo-height": "Logo yüksekliği, px", + "logo-height-desc": "Logoyu orantılı olarak ölçeklendirir ve ortalar. Yüksek logolar için yüksekliği artırın (en fazla 200px)", + "collapsed-logo": "Daraltılmış kenar çubuğu logosu", + "collapsed-logo-desc": "Kare SVG veya PNG, en az 48×48 px, en fazla 100 KB", + "appearance": "Görünüm", + "application-shell": "Uygulama çerçevesi", + "application-shell-desc": "Ana rengin kenar çubuğuna, uygulama çubuğuna ve sayfa başlıklarına nasıl uygulanacağını seçin", + "light": "Açık", + "primary": "Birincil", "primary-palette": "Birincil palet", + "primary-palette-desc": "Ana marka rengi. Kenar çubuğu, uygulama çubuğu, sayfa başlıkları, düğmeler, bağlantılar ve aktif menü öğeleri", "accent-palette": "Vurgu paleti", + "accent-palette-desc": "Onay kutuları, radyo düğmeleri, açma/kapama anahtarları, kaydırıcılar, ilerleme çubukları ve rozetler", "customize-palette": "Özelleştir", "advanced-css": "Gelişmiş CSS", + "advanced-css-desc": "Paletlerin ötesinde herhangi bir arayüz öğesine ince ayar yapmak için özel CSS — simgeler, yazı tipleri, arka planlar, kaydırma çubukları ve daha fazlası. Değişiklikler tüm platformda geçerli olur, bu nedenle dikkatli kullanın. İleri düzey kullanıcılar için", + "add-custom-css": "Özel CSS ekle", + "edit-custom-css": "Özel CSS'i düzenle", "edit-palette": "Paleti düzenle", "save-palette": "Paleti kaydet", "primary-background": "Birincil arka plan", @@ -9988,19 +11408,26 @@ "hue2": "HUE 2", "hue3": "HUE 3", "page-background-color": "Sayfa arka plan rengi", + "page-background-color-desc": "Sayfaların arkasındaki ana içerik alanını doldurur", "dark-foreground": "Koyu ön plan", + "dark-foreground-desc": "Giriş sayfasındaki metinleri ve simgeleri koyu yapar. Açık renkli arka planlarla kullanın", "domain-name": "Alan adı", "base-url": "Temel URL", "base-url-required": "Temel URL gereklidir", - "prohibit-different-url": "İstemci isteği başlıklarındaki hostname kullanımını yasakla", + "prohibit-different-url": "İstemci isteği başlıklarındaki ana makine adının kullanılmasını yasakla", "prohibit-different-url-hint": "Bu ayar üretim ortamları için etkinleştirilmelidir. Devre dışı bırakıldığında güvenlik sorunlarına neden olabilir", "help-link-base-url": "Yardım bağlantılarının temel URL'si", + "help-link-base-url-desc": "Harici dokümantasyon portalınızın temel URL'si. Kullanıcılar ayrıntılı kılavuzlar için buraya yönlendirilir", "ui-help-base-url": "UI yardım temel URL'si", + "ui-help-base-url-desc": "Sistemin kısa uygulama içi araç ipuçlarını dinamik olarak alıp görüntülemek için kullandığı kaynak deposu URL'si", "enable-help-links": "Yardım bağlantılarını etkinleştir", + "enable-help-links-desc": "Platform arayüzü genelinde bağlamsal yardım simgelerini (?) görüntüler", "error-verification-url": "Alan adı '/' ve ':' karakterlerini içermemelidir. Örnek: thingsboard.io", - "hide-connectivity-dialog": "Bağlantı durumu iletişim kutusunu gizle", + "show-connectivity-dialog": "Bağlantı iletişim kutusunu göster", + "show-connectivity-dialog-desc": "Bir cihaz oluşturulduktan sonra bağlantı talimatlarını içeren cihaz bağlantı iletişim kutusunu gösterir", "override-trendz-add-on-name": "Trendz Analytics Eklenti adını geçersiz kıl", - "override-trendz-add-on-name-hint": "Etkinleştirildiğinde, 'Trendz analytics' platform genelinde 'Advanced analytics' olarak görünecektir.", + "override-trendz-add-on-name-desc": "Platform genelinde \"Trendz\" eklentisinin adını \"Gelişmiş analizler\" olarak değiştirir", + "show-platform-name-version-bottom-left-corner": "Platform adını ve sürümünü sol alt köşede göster", "show-platform-name-version": "Platform adını ve sürümünü göster", "platform-name": "Platform Adı", "platform-version": "Platform sürümü", @@ -10012,13 +11439,16 @@ }, "reset-white-label-title": "White labeling ayarlarını varsayılanlara sıfırlamak istediğinizden emin misiniz?", "reset-white-label-text": "Dikkatli olun, onaydan sonra tüm özelleştirilmiş ayarlar kaybolacak ve geri alınamayacaktır.", - "reset-login-white-label-title": "Giriş ekranı white labeling ayarlarını varsayılanlara sıfırlamak istediğinizden emin misiniz?", + "reset-login-white-label-title": "Giriş ekranı White labeling ayarlarını varsayılanlara sıfırlamak istediğinizden emin misiniz?", "reset-login-white-label-text": "Dikkatli olun, onaydan sonra tüm özelleştirilmiş ayarlar kaybolacak ve geri alınamayacaktır.", - "app-title-max-length": "Uygulama başlığı 256 karakterden kısa olmalıdır" + "app-title-max-length": "Uygulama başlığı 256 karakterden kısa olmalıdır", + "logo-and-titles": "Logo ve başlıklar", + "interface-options": "Arayüz seçenekleri", + "domain": "Alan adı" }, "widgets": { "mobile-app-qr-code": { - "configuration-hint": "Yapılandırma, platform ana ayarlarındaki Mobil uygulama QR kodu bileşenine bağlıdır", + "configuration-hint": "Yapılandırma, platform ana ayarlarındaki Mobil uygulama QR kodu widget'ına bağlıdır", "get-it-on-google-play": "Google Play'den edinin", "download-on-the-app-store": "App Store'dan indirin" }, @@ -10030,7 +11460,7 @@ "first-button-click-hint": "Birinci butona basıldığında gerçekleşen eylem.", "second-button-click": "İkinci buton tıklaması", "second-button-click-hint": "İkinci butona basıldığında gerçekleşen eylem.", - "button-click-hint": "Bileşene basıldığında gerçekleşen eylem." + "button-click-hint": "Widget'a basıldığında gerçekleşen eylem." }, "command-button": { "behavior": "Davranış", @@ -10045,18 +11475,18 @@ "power-off-hint": "Bileşeni KAPATMAK için gerçekleştirilen eylem.", "on-label": "Açık", "off-label": "Kapalı", - "layout": "Yerleşim", + "layout": "Düzen", "layout-default": "Varsayılan", "layout-simplified": "Basitleştirilmiş", - "layout-outlined": "Ana Hatlı", - "layout-default-volume": "Varsayılan.Ses", - "layout-simplified-volume": "Basitleştirilmiş.Ses", - "layout-outlined-volume": "Ana Hatlı.Ses", + "layout-outlined": "Kenarlıklı", + "layout-default-volume": "Varsayılan.Hacimli", + "layout-simplified-volume": "Basitleştirilmiş.Hacimli", + "layout-outlined-volume": "Kenarlıklı.Hacimli", "layout-default-icon": "Varsayılan.Simge", "layout-simplified-icon": "Basitleştirilmiş.Simge", - "layout-outlined-icon": "Ana Hatlı.Simge", - "main": "Ana", - "background": "Arka Plan", + "layout-outlined-icon": "Kenarlıklı.Simge", + "main": "Ana renk", + "background": "Kontrast rengi", "button-icon-on": "Buton simgesi 'Açık'", "button-icon-off": "Buton simgesi 'Kapalı'", "power-on-colors": "Güç 'Açık' renkleri", @@ -10068,17 +11498,17 @@ "behavior": "Davranış", "checked": "İşaretli", "unchecked": "İşaretsiz", - "check": "İşaretle", - "check-hint": "Bileşeni işaretlemek için gerçekleştirilen eylem.", - "uncheck": "İşareti kaldır", - "uncheck-hint": "Bileşenin işaretini kaldırmak için gerçekleştirilen eylem.", + "check": "'Açık' konumuna getir", + "check-hint": "Bileşeni 'Açık' konumuna getirmek için gerçekleştirilen eylem.", + "uncheck": "'Kapalı' konumuna getir", + "uncheck-hint": "Bileşeni 'Kapalı' konumuna getirmek için gerçekleştirilen eylem.", "auto-scale": "Otomatik ölçeklendirme", "horizontal-fill": "Yatay doldurma", "vertical-fill": "Dikey doldurma", "button-appearance": "Buton görünümü" }, "segmented-button": { - "layout": "Yerleşim", + "layout": "Düzen", "layout-squared": "Kare", "layout-rounded": "Yuvarlatılmış", "card-border": "Kart kenarlığı", @@ -10090,8 +11520,8 @@ "unselected": "Seçili değil" }, "button": { - "layout": "Yerleşim", - "outlined": "Ana hatlı", + "layout": "Düzen", + "outlined": "Kenarlıklı", "filled": "Dolu", "underlined": "Altı çizili", "basic": "Temel", @@ -10100,8 +11530,8 @@ "icon": "Simge", "border-radius": "Kenar yarıçapı", "color-palette": "Renk paleti", - "main": "Ana", - "background": "Arka plan", + "main": "Ana renk", + "background": "Kontrast rengi", "border": "Kenarlık", "custom-styles": "Özel stiller", "clear-style": "Stili temizle", @@ -10115,8 +11545,8 @@ "behavior": "Davranış", "simplified": "Basitleştirilmiş", "filled": "Dolu", - "outlined": "Ana hatlı", - "volume": "Ses", + "outlined": "Kenarlıklı", + "volume": "Hacimli", "initial-state": "Başlangıç durumu", "initial-state-hint": "Başlangıç değerini almak için gerçekleştirilen eylem.", "disabled-state": "Devre dışı durumu", @@ -10140,8 +11570,8 @@ "right-button": "Sağ düğme", "icon": "Simge", "color-palette": "Renk paleti", - "main": "Ana", - "background": "Arka plan", + "main": "Ana renk", + "background": "Kontrast rengi", "button-icon-on": "Buton simgesi 'Açık'", "button-on-colors": "Güç 'Açık' renkleri", "disabled-colors": "Devre dışı renkler" @@ -10181,12 +11611,12 @@ "bar-axis": "Çubuk ekseni" }, "polar-area-chart": { - "polar-axis": "Polar ekseni", + "polar-axis": "Polar eksen", "start-angle": "Başlangıç açısı", "polar-area-chart-style": "Polar alan grafik stili" }, "battery-level": { - "layout": "Yerleşim", + "layout": "Düzen", "layout-vertical-solid": "Dikey. Dolu", "layout-horizontal-solid": "Yatay. Dolu", "layout-vertical-divided": "Dikey. Bölünmüş", @@ -10203,7 +11633,7 @@ "value": "Değer", "last-update": "Son güncelleme", "no-signal": "Sinyal yok", - "layout": "Yerleşim", + "layout": "Düzen", "layout-wifi": "Wi-Fi", "layout-cellular-bar": "Mobil çubuk", "icon": "Simge", @@ -10215,9 +11645,9 @@ }, "status-widget": { "behavior": "Davranış", - "layout": "Yerleşim", + "layout": "Düzen", "layout-default": "Varsayılan", - "layout-center": "Merkez", + "layout-center": "Ortalanmış", "layout-icon": "Simge", "on": "Açık", "off": "Kapalı", @@ -10287,10 +11717,10 @@ "axis-position": "Eksen konumu", "axis-position-top": "Üst (varsayılan)", "axis-position-bottom": "Alt", - "custom-legend-settings": "Özel açıklama ayarları", - "enable-custom-legend": "Özel açıklamayı etkinleştir (bu, anahtar etiketlerinde öznitelik/zaman serisi değerlerini kullanmanıza olanak tanır)", + "custom-legend-settings": "Özel gösterge ayarları", + "enable-custom-legend": "Özel göstergeyi etkinleştir (bu, anahtar etiketlerinde öznitelik/zaman serisi değerlerini kullanmanıza olanak tanır)", "key-name": "Anahtar adı", - "key-name-required": "Anahtar adı gerekli", + "key-name-required": "Anahtar adı gereklidir", "key-type": "Anahtar türü", "key-type-attribute": "Öznitelik", "key-type-timeseries": "Zaman serisi", @@ -10301,7 +11731,7 @@ "color": "Renk", "data-is-hidden-by-default": "Veri varsayılan olarak gizlidir", "disable-data-hiding": "Veri gizlemeyi devre dışı bırak", - "remove-from-legend": "Anahtarı açıklamadan kaldır", + "remove-from-legend": "Veri anahtarını göstergeden kaldır", "exclude-from-stacking": "Yığılmadan hariç tut (\"Yığılma\" modunda kullanılabilir)", "line-settings": "Çizgi ayarları", "show-line": "Çizgiyi göster", @@ -10345,8 +11775,8 @@ "border-settings": "Kenarlık ayarları", "border-width": "Kenarlık kalınlığı", "border-color": "Kenarlık rengi", - "legend-settings": "Açıklama ayarları", - "display-legend": "Açıklamayı göster", + "legend-settings": "Gösterge ayarları", + "display-legend": "Göstergeyi göster", "labels-font-color": "Etiket yazı tipi rengi", "series": "Seriler", "add-series": "Seri ekle", @@ -10405,13 +11835,13 @@ "source": "Kaynak", "key-value": "Anahtar / Değer", "value-required": "Değer gereklidir.", - "entity-key-required": "Varlık anahtarı gereklidir.", + "entity-key-required": "Öğe anahtarı gereklidir.", "key-required": "Anahtar gereklidir.", "scale-limits": "Ölçek sınırları", "scale-appearance": "Ölçek görünümü", "scale": "Ölçek", "scale-min": "min", - "scale-max": "max", + "scale-max": "maks", "scale-auto": "Otomatik" }, "bar": { @@ -10437,12 +11867,12 @@ "to": "Bitiş", "color-function": "Renk fonksiyonu", "copy-color-settings-from": "Renk ayarlarını kopyala", - "copy-from": "Buradan kopyala", + "copy-from": "Şuradan kopyala", "settings-type": "Ayar tipi", "basic-mode": "Temel", "advanced-mode": "Gelişmiş", - "entity-alias": "Varlık takma adı", - "entity-attribute": "Varlık özelliği", + "entity-alias": "Öğe takma adı", + "entity-attribute": "Öğe özniteliği", "gradient-color": "Gradyan rengi", "gradient-color-min": "Renk", "gradient-start": "Gradyan başlangıç rengi", @@ -10454,12 +11884,12 @@ "gradient-type": "Gradyan tipi" }, "dashboard-state": { - "dashboard-state-settings": "Kontrol paneli durumu ayarları", - "dashboard-state": "Kontrol paneli durumu kimliği", - "autofill-state-layout": "Durum yerleşim yüksekliğini varsayılan olarak otomatik doldur", - "default-margin": "Varsayılan bileşen kenar boşluğu", + "dashboard-state-settings": "Pano durumu ayarları", + "dashboard-state": "Pano durumu kimliği", + "autofill-state-layout": "Durum düzeni yüksekliğini varsayılan olarak otomatik doldur", + "default-margin": "Varsayılan widget kenar boşluğu", "default-background-color": "Varsayılan arka plan rengi", - "sync-parent-state-params": "Durum parametrelerini üst kontrol paneliyle senkronize et" + "sync-parent-state-params": "Durum parametrelerini üst panoyla senkronize et" }, "date-range-navigator": { "date-range-picker-settings": "Tarih aralığı seçici ayarları", @@ -10541,16 +11971,16 @@ }, "doughnut": { "doughnut-appearance": "Halka görünümü", - "layout": "Yerleşim", + "layout": "Düzen", "layout-default": "Varsayılan", "layout-with-total": "Toplam ile", - "central-total-value": "Merkezi toplam değeri", + "central-total-value": "Merkezde toplam değer", "doughnut-card-style": "Halka kart stili" }, "entities-hierarchy": { "hierarchy-data-settings": "Hiyerarşi veri ayarları", "relations-query-function": "Düğüm ilişkileri sorgu fonksiyonu", - "has-children-function": "Düğümün çocukları var fonksiyonu", + "has-children-function": "Düğümün alt düğümleri olup olmadığını belirleyen fonksiyon", "node-state-settings": "Düğüm durumu ayarları", "node-opened-function": "Varsayılan düğüm açık fonksiyonu", "node-disabled-function": "Düğüm devre dışı fonksiyonu", @@ -10558,7 +11988,7 @@ "node-icon-function": "Düğüm simgesi fonksiyonu", "node-text-function": "Düğüm metni fonksiyonu", "sort-settings": "Sıralama ayarları", - "nodes-sort-function": "Düğümler sıralama fonksiyonu" + "nodes-sort-function": "Düğüm sıralama fonksiyonu" }, "edge": { "display-default-title": "Varsayılan başlığı göster" @@ -10567,13 +11997,13 @@ "general-settings": "Genel ayarlar", "widget-title": "Widget başlığı", "default-archive-file-name": "Varsayılan arşiv dosya adı", - "device-type-for-new-gateway": "Yeni ağ geçidi için cihaz tipi", + "device-type-for-new-gateway": "Yeni Gateway için cihaz tipi", "messages-settings": "Mesaj ayarları", - "save-config-success-message": "Ağ geçidi yapılandırmasının başarıyla kaydedildiğine dair mesaj", - "device-name-exists-message": "Girilen ada sahip cihaz zaten mevcut mesajı", - "gateway-title": "Ağ geçidi formu", + "save-config-success-message": "Gateway yapılandırmasının başarıyla kaydedildiğine dair mesaj", + "device-name-exists-message": "Girilen ada sahip cihaz zaten mevcut olduğunda gösterilecek mesaj", + "gateway-title": "Gateway formu", "read-only": "Salt okunur", - "events-title": "Ağ geçidi olayları form başlığı", + "events-title": "Gateway olayları form başlığı", "events-filter": "Olay filtresi", "event-key-contains": "Olay anahtarı şunu içeriyor...", "show-connector": "Bağlayıcı için göster", @@ -10708,8 +12138,8 @@ "value-settings": "Değer ayarları", "show-value": "Değer metnini göster", "min-max-settings": "Minimum/maksimum etiket ayarları", - "show-min-max": "Min ve max değerleri göster", - "min-max-font": "Min ve max etiket yazı tipi", + "show-min-max": "Minimum ve maksimum değerleri göster", + "min-max-font": "Minimum ve maksimum etiketlerin yazı tipi", "show-ticks": "İşaretleri göster", "tick-width": "İşaret kalınlığı", "tick-color": "İşaret rengi", @@ -10762,7 +12192,7 @@ "css": "CSS" }, "input-widgets": { - "attribute-not-allowed": "Bu bileşende öznitelik parametresi kullanılamaz", + "attribute-not-allowed": "Bu widget'ta öznitelik parametresi kullanılamaz", "blocked-location": "Tarayıcınızda konum erişimi engellenmiş", "claim-device": "Cihazı talep et", "claim-failed": "Cihaz talep edilemedi!", @@ -10772,42 +12202,42 @@ "device-name": "Cihaz adı", "device-name-required": "Cihaz adı gereklidir", "discard-changes": "Değişiklikleri iptal et", - "entity-attribute-required": "Varlık özniteliği gereklidir", + "entity-attribute-required": "Öğe özniteliği gereklidir", "entity-coordinate-required": "Enlem ve boylam alanlarının her ikisi de gereklidir", - "entity-timeseries-required": "Varlık zaman serisi gereklidir", + "entity-timeseries-required": "Öğe zaman serisi gereklidir", "get-location": "Geçerli konumu al", "invalid-date": "Geçersiz tarih", "latitude": "Enlem", "longitude": "Boylam", "min-value-error": "Minimum değer {{value}}", "max-value-error": "Maksimum değer {{value}}", - "not-allowed-entity": "Seçilen varlık paylaşılan özniteliklere sahip olamaz", + "not-allowed-entity": "Seçilen öğe paylaşılan özniteliklere sahip olamaz", "no-attribute-selected": "Herhangi bir öznitelik seçilmedi", "no-datakey-selected": "Herhangi bir veri anahtarı seçilmedi", "no-coordinate-specified": "Enlem/boylam için veri anahtarı belirtilmedi", - "no-entity-selected": "Varlık seçilmedi", - "no-image": "Görüntü yok", + "no-entity-selected": "Öğe seçilmedi", + "no-image": "Görsel yok", "no-support-geolocation": "Tarayıcınız konum belirlemeyi desteklemiyor", "no-support-web-camera": "Tarayıcınız kamera desteği sunmuyor", - "enable-https-use-widget": "Bu bileşeni kullanmak için lütfen HTTPS etkinleştirin", + "enable-https-use-widget": "Bu widget'ı kullanmak için lütfen HTTPS etkinleştirin", "no-found-your-camera": "Kameranız bulunamadı", "no-permission-camera": "Kullanıcı izni reddetti / Bu sitenin kamerayı kullanma izni yok", "no-timeseries-selected": "Herhangi bir zaman serisi seçilmedi", "secret-key": "Gizli anahtar", "secret-key-required": "Gizli anahtar gereklidir", - "switch-attribute-value": "Varlık öznitelik değerini değiştir", + "switch-attribute-value": "Öğe öznitelik değerini değiştir", "switch-camera": "Kamerayı değiştir", - "switch-timeseries-value": "Varlık zaman serisi değerini değiştir", + "switch-timeseries-value": "Öğe zaman serisi değerini değiştir", "take-photo": "Fotoğraf çek", "time": "Zaman", - "timeseries-not-allowed": "Bu bileşende zaman serisi parametresi kullanılamaz", + "timeseries-not-allowed": "Bu widget'ta zaman serisi parametresi kullanılamaz", "update-failed": "Güncelleme başarısız", "update-successful": "Güncelleme başarılı", "update-attribute": "Özniteliği güncelle", "update-timeseries": "Zaman serisini güncelle", "value": "Değer", "general-settings": "Genel ayarlar", - "widget-title": "Bileşen başlığı", + "widget-title": "Widget başlığı", "claim-button-label": "Talep etme buton etiketi", "show-secret-key-field": "'Gizli anahtar' giriş alanını göster", "labels-settings": "Etiket ayarları", @@ -10821,7 +12251,7 @@ "claim-device-name-required-message": "'Cihaz adı gerekli' hata mesajı", "claim-device-secret-key-required-message": "'Gizli anahtar gerekli' hata mesajı", "relations-settings": "İlişki ayarları", - "relate-device-to-state-entity": "Cihazı mevcut durum varlığı ile ilişkilendir", + "relate-device-to-state-entity": "Cihazı mevcut durum öğesi ile ilişkilendir", "relate-direction": "İlişki yönü", "relate-direction-from": "Kaynak", "relate-direction-to": "Hedef", @@ -10839,8 +12269,8 @@ "min-length": "Minimum uzunluk", "max-length": "Maksimum uzunluk", "checkbox-settings": "Onay kutusu ayarları", - "true-label": "İşaretli etiket", - "false-label": "İşaretsiz etiket", + "true-label": "İşaretli durum etiketi", + "false-label": "İşaretsiz durum etiketi", "image-input-settings": "Görsel girişi ayarları", "display-preview": "Önizlemeyi göster", "display-clear-button": "Temizle butonunu göster", @@ -10848,8 +12278,8 @@ "display-discard-button": "İptal et butonunu göster", "datetime-field-settings": "Tarih/saat alanı ayarları", "display-time-input": "Zaman girişini göster", - "latitude-key-name": "Enlem anahtar adı", - "longitude-key-name": "Boylam anahtar adı", + "latitude-key-name": "Enlem anahtarı adı", + "longitude-key-name": "Boylam anahtarı adı", "show-get-location-button": "'Geçerli konumu al' butonunu göster", "use-high-accuracy": "Yüksek hassasiyet kullan", "location-fields-settings": "Konum alanı ayarları", @@ -10858,25 +12288,25 @@ "input-fields-alignment": "Giriş alanlarının hizalaması", "input-fields-alignment-column": "Sütun (varsayılan)", "input-fields-alignment-row": "Satır", - "layout": "Yerleşim", + "layout": "Düzen", "row-gap": "Satırlar arası boşluk (piksel)", "column-gap": "Sütunlar arası boşluk (piksel)", - "latitude-field-required": "Enlem alanı gerekli", - "longitude-field-required": "Boylam alanı gerekli", + "latitude-field-required": "Enlem alanı gereklidir", + "longitude-field-required": "Boylam alanı gereklidir", "attribute-settings": "Öznitelik ayarları", - "widget-mode": "Bileşen modu", + "widget-mode": "Widget modu", "widget-mode-update-attribute": "Öznitelik güncelle", "widget-mode-update-timeseries": "Zaman serisini güncelle", "attribute-scope": "Öznitelik kapsamı", "attribute-scope-server": "Sunucu özniteliği", "attribute-scope-shared": "Paylaşılan öznitelik", - "value-required": "Değer gerekli", + "value-required": "Değer gereklidir", "image-settings": "Görsel ayarları", "image-format": "Görsel formatı", "image-format-jpeg": "JPEG", "image-format-png": "PNG", "image-format-webp": "WEBP", - "image-quality": "JPEG ve WEBP gibi kayıplı sıkıştırma kullanan görsellerin kalitesi", + "image-quality": "Görsel kalitesi", "max-image-width": "Maksimum görsel genişliği", "max-image-height": "Maksimum görsel yüksekliği", "action-buttons": "İşlem butonları", @@ -10885,7 +12315,7 @@ "save-button-label": "'KAYDET' buton etiketi", "reset-button-label": "'GERİ AL' buton etiketi", "group-settings": "Grup ayarları", - "show-group-title": "Farklı varlıklarla ilişkili alan grubu için başlık göster", + "show-group-title": "Farklı öğelerle ilişkili alan grubu için başlık göster", "group-title": "Grup başlığı", "fields-alignment": "Alan hizalaması", "fields-alignment-row": "Satır (varsayılan)", @@ -10911,7 +12341,7 @@ "datakey-value-type-select": "Seçim", "datakey-value-type-radio": "Radyo", "datakey-value-type-color": "Renk", - "value-is-required": "Değer gerekli", + "value-is-required": "Değer gereklidir", "ability-to-edit-attribute": "Özniteliği düzenleme yetkisi", "ability-to-edit-attribute-editable": "Düzenlenebilir (varsayılan)", "ability-to-edit-attribute-disabled": "Devre dışı", @@ -10920,14 +12350,14 @@ "field-appearance": "Alan görünümü", "appearance-fill": "Dolu", "appearance-outline": "Kenarlıklı", - "subscript-sizing": "Alt simge boyutlandırma", + "subscript-sizing": "Alt bilgi alanı boyutu", "subscript-sizing-fixed": "Sabit", "subscript-sizing-dynamic": "Dinamik", - "slide-toggle-settings": "Anahtar (slide toggle) ayarları", + "slide-toggle-settings": "Kaydırmalı anahtar ayarları", "slide-toggle-label-position": "Anahtar etiket pozisyonu", "slide-toggle-label-position-after": "Sonra", "slide-toggle-label-position-before": "Önce", - "select-options": "Seçenekleri seç", + "select-options": "Seçim seçenekleri", "no-select-options": "Yapılandırılmış seçim seçeneği yok", "add-select-option": "Seçenek ekle", "numeric-field-settings": "Sayısal alan ayarları", @@ -10948,7 +12378,7 @@ "set-value-settings": "Değer ayarlama ayarları", "use-set-value-function": "setValue fonksiyonunu kullan", "set-value-function": "setValue fonksiyonu", - "json-invalid": "JSON değeri geçersiz biçimde", + "json-invalid": "JSON değerinin biçimi geçersiz", "title": "Başlık", "cancel-button-label": "'İptal' buton etiketi", "radio-button-settings": "Radyo buton ayarları", @@ -10960,15 +12390,15 @@ "radio-label-position": "Etiket konumu", "radio-label-position-before": "Önce", "radio-label-position-after": "Sonra", - "save-image": "Resmi kaydet", - "save-to-gallery": "Yakalanan resimleri otomatik olarak Resim Galerisi'ne kaydet", - "public-image": "Resmi, yetkisiz kullanıcılar için erişilebilir hale getir" + "save-image": "Görseli kaydet", + "save-to-gallery": "Yakalanan görselleri otomatik olarak Görsel galerisine kaydet", + "public-image": "Görseli yetkisiz kullanıcılar için erişilebilir hale getir" }, "invalid-qr-code-text": "QR kod için geçersiz giriş metni. Giriş metni dize türünde olmalıdır", "qr-code": { "use-qr-code-text-function": "QR kod metin fonksiyonunu kullan", - "qr-code-text-pattern": "QR kod metin deseni (örn. '${entityName} | ${keyName} - bazı metin.')", - "qr-code-text-pattern-hint": "QR kod metin deseni, varlık takma adındaki ilk bulunan anahtarın değerini kullanır.", + "qr-code-text-pattern": "QR kod metin deseni (örn. '${entityName} | ${keyName} - örnek metin.')", + "qr-code-text-pattern-hint": "QR kod metin deseni, öğe takma adındaki öğelerde ilk bulunan anahtarın değerini kullanır.", "qr-code-text-pattern-required": "QR kod metin deseni gereklidir.", "qr-code-text-function": "QR kod metin fonksiyonu" }, @@ -10981,7 +12411,7 @@ "y-pos": "Y", "background-color": "Arka plan rengi", "font-settings": "Yazı tipi ayarları", - "background-image": "Arka plan resmi", + "background-image": "Arka plan görseli", "labels": "Etiketler", "no-labels": "Yapılandırılmış etiket yok", "add-label": "Etiket ekle" @@ -10997,7 +12427,7 @@ "enter-urls-to-filter": "Filtrelemek için URL'leri girin..." }, "persistent-table": { - "rpc-id": "RPC Kimliği", + "rpc-id": "RPC ID", "message-type": "Mesaj türü", "method": "Yöntem", "params": "Parametreler", @@ -11012,7 +12442,7 @@ "delete": "Sil", "delete-request-title": "Kalıcı RPC isteğini sil", "delete-request-text": "Bu isteği silmek istediğinizden emin misiniz?", - "details-title": "Ayrıntılar RPC Kimliği: ", + "details-title": "Ayrıntılar RPC ID:", "additional-info": "Ek bilgi", "response": "Yanıt", "any-status": "Herhangi bir durum", @@ -11065,9 +12495,9 @@ "knob": { "behavior": "Davranış", "initial-value": "Başlangıç değeri", - "initial-value-hint": "Düğmenin başlangıç değerini almak için işlem.", + "initial-value-hint": "Düğmenin başlangıç değerini almak için eylem.", "on-value-change": "Değer değiştiğinde", - "on-value-change-hint": "Düğmenin değeri değiştirildiğinde tetiklenen işlem.", + "on-value-change-hint": "Düğmenin değeri değiştirildiğinde tetiklenen eylem.", "range": "Aralık", "min": "min", "max": "maks", @@ -11077,12 +12507,17 @@ "rpc": { "value-settings": "Değer ayarları", "initial-value": "Başlangıç değeri", + "initial-value-hint": "İlk değer alınana kadar geçerli olan başlangıç değerini tanımlar.", + "initial-led-state": "Başlangıç LED durumu", + "initial-led-state-hint": "İlk değer alınana kadar geçerli olan başlangıç LED durumunu tanımlar.", + "on": "Açık", + "off": "Kapalı", "retrieve-value-settings": "Açık/Kapalı değer alma ayarları", "retrieve-value-method": "Değeri alma yöntemi", - "retrieve-value-method-none": "Alma", + "retrieve-value-method-none": "Değer alınmasın", "retrieve-value-method-rpc": "RPC ile değer alma yöntemini çağır", - "retrieve-value-method-attribute": "Öznitelik için abone ol", - "retrieve-value-method-timeseries": "Zaman serisi için abone ol", + "retrieve-value-method-attribute": "Öznitelik güncellemelerine abone ol", + "retrieve-value-method-timeseries": "Zaman serisi güncellemelerine abone ol", "attribute-value-key": "Öznitelik anahtarı", "timeseries-value-key": "Zaman serisi anahtarı", "get-value-method": "RPC değer alma yöntemi", @@ -11093,8 +12528,8 @@ "rpc-settings": "RPC ayarları", "request-timeout": "RPC istek zaman aşımı (ms)", "persistent-rpc-settings": "Kalıcı RPC ayarları", - "request-persistent": "RPC isteğini kalıcı yap", - "persistent-polling-interval": "Kalıcı RPC yanıtı için anketleme aralığı (ms)", + "request-persistent": "RPC isteği kalıcı", + "persistent-polling-interval": "Kalıcı RPC komut yanıtını almak için yoklama aralığı (ms)", "common-settings": "Genel ayarlar", "switch-title": "Anahtar başlığı", "show-on-off-labels": "Açık/Kapalı etiketlerini göster", @@ -11111,7 +12546,7 @@ "button-primary": "Birincil renk", "button-background-color": "Düğme arka plan rengi", "button-text-color": "Düğme metin rengi", - "widget-title": "Bileşen başlığı", + "widget-title": "Widget başlığı", "button-label": "Düğme etiketi", "device-attribute-scope": "Cihaz öznitelik kapsamı", "server-attribute": "Sunucu özniteliği", @@ -11141,14 +12576,14 @@ "image": { "image-source": "Görsel kaynağı", "image-source-image": "Görsel", - "image-source-entity-key": "Varlık anahtarı", - "source-entity-alias": "Kaynak varlık takma adı", + "image-source-entity-key": "Öğe anahtarı", + "source-entity-alias": "Kaynak öğe takma adı", "image-url-key": "Görsel URL anahtarı", "image-url-key-required": "Görsel URL anahtarı gereklidir" }, "control": { "map-controls": "Harita kontrolleri", - "position": "Pozisyon", + "position": "Konum", "position-topleft": "Sol üst", "position-topright": "Sağ üst", "position-bottomleft": "Sol alt", @@ -11159,17 +12594,17 @@ "zoom-control-buttons": "Kontrol düğmeleri", "scale": "Ölçek", "scale-metric": "Metrik", - "scale-imperial": "İngiliz", + "scale-imperial": "İngiliz ölçü sistemi", "switch-to-drag-mode-using-button": "Buton kullanarak sürükleme moduna geç" }, "timeline": { - "control-panel": "Zaman çizelgesi kontrol paneli", + "control-panel": "Zaman çizelgesi denetim paneli", "time-step": "Zaman adımı", "speed-options": "Hız seçenekleri", "timestamp": "Zaman damgası", "snap-to-real-location": "Gerçek konuma hizala", "location-snap-filter-function": "Konum hizalama filtre fonksiyonu", - "no-trips-data-available": "Seyahat verisi bulunamadı" + "no-trips-data-available": "Rota verisi yok" }, "map-action": { "map-action-buttons": "Harita eylem düğmeleri", @@ -11188,7 +12623,7 @@ "fit-map-bounds": "Tüm işaretçileri kapsayacak şekilde harita sınırlarını ayarla", "default-map-center-position": "Varsayılan harita merkez konumu", "default-map-zoom-level": "Varsayılan harita yakınlaştırma seviyesi", - "entities-limit": "Yüklenecek varlık limiti" + "entities-limit": "Yüklenecek öğe limiti" }, "layer": { "label": "Etiket", @@ -11202,8 +12637,9 @@ "roadmap": "Yol haritası", "satellite": "Uydu", "hybrid": "Hibrit", + "webgl-not-available": "Seçilen harita katmanının görüntülenmesi için grafik hızlandırma gerekir. Lütfen tarayıcı ayarlarınızda 'Donanım hızlandırma' seçeneğini etkinleştirin veya farklı bir katmana geçin.", "reference": { - "reference-layer": "Referans katman", + "reference-layer": "Referans katmanı", "no-layer": "Katman yok", "openstreetmap-hybrid": "OpenStreetMap Hibrit", "world-edition-hybrid": "Dünya Sürümü Hibrit", @@ -11217,9 +12653,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -11243,7 +12682,18 @@ }, "custom": { "title": "Özel", - "tile-url": "Döşeme URL'si" + "tile-url": "Döşeme URL'si", + "style-url": "Stil URL'si", + "vector-tiles": "Vektör döşemeler", + "vector-tiles-hint": "OpenFreeMap veya MapTiler gibi sağlayıcılardan bir stil URL'si kullanırken etkinleştirin.", + "attribution": "Telif hakkı metni", + "attribution-hint": "Haritanın alt kısmında görüntülenir. Çoğu döşeme sağlayıcısı bunu gerektirir." + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -11252,20 +12702,20 @@ } }, "overlays": { - "overlays": "Katmanlar", - "overlays-hint": "Harita varlıkları için veri kaynaklarını, görünümü, davranışı, düzenleme seçeneklerini ve gruplamayı yapılandırın", + "overlays": "Kaplamalar", + "overlays-hint": "Harita öğeleri için veri kaynaklarını, görünümü, davranışı, düzenleme seçeneklerini ve gruplamayı yapılandırın", "trips": "Rotalar", "markers": "İşaretçiler", "polygons": "Poligonlar", "circles": "Daireler", - "polylines": "Çokgenler" + "polylines": "Çoklu çizgiler" }, "data-layer": { "source": "Kaynak", "filter": "Filtre", "additional-data-keys": "Ek veri anahtarları", "additional-datasources": "Ek veri kaynakları", - "additional-datasources-hint": "Haritada görüntülenmeyen varlıklardan özniteliklere veya telemetriye erişim için veri kaynağı, harita katmanı işlevlerinde kullanılabilir.", + "additional-datasources-hint": "Haritada görüntülenmeyen öğelerden özniteliklere veya telemetriye erişim için veri kaynağı, harita katmanı işlevlerinde kullanılabilir.", "more-datasources": "Daha fazla veri kaynağı", "data-keys": "Veri anahtarları", "add-datasource": "Veri kaynağı ekle", @@ -11282,7 +12732,7 @@ "color-type-range": "Aralık", "color-type-function": "Fonksiyon", "color-range-source-key": "Renk aralığı kaynak anahtarı", - "color-range-source-key-required": "Renk aralığı kaynak anahtarı gerekli", + "color-range-source-key-required": "Renk aralığı kaynak anahtarı gereklidir", "color-range": "Renk aralığı", "color-function": "Renk fonksiyonu", "label": "Etiket", @@ -11297,7 +12747,7 @@ "tooltip-trigger-click": "Tıklama ile araç ipucunu göster", "tooltip-trigger-hover": "Üzerine gelince araç ipucunu göster", "auto-close-tooltips": "Araç ipuçlarını otomatik kapat", - "tooltip-offset": "Araç ipucu konumu", + "tooltip-offset": "Araç ipucu kaydırması", "tooltip-offset-horizontal": "Yatay", "tooltip-offset-vertical": "Dikey", "tooltip-tag-actions": "Etiket eylemleri", @@ -11308,9 +12758,9 @@ "action-edit": "Düzenle", "action-move": "Taşı", "action-remove": "Kaldır", - "edit-instruments": "Araçları Düzenle", - "persist-location-attribute-scope": "Konumun kalıcı olacağı öznitelik kapsamı", - "enable-snapping": "Diğer köşe noktalarına hizalama özelliğini etkinleştir", + "edit-instruments": "Düzenleme araçları", + "persist-location-attribute-scope": "Konumun kaydedileceği öznitelik kapsamı", + "enable-snapping": "Hassas çizim için diğer köşe noktalarına hizalamayı etkinleştir", "enable-snapping-hint": "Yeni noktaları mevcut şekillerle otomatik olarak hizalayarak çizimi daha kolay ve hassas hale getirir.", "drag-drop-mode": "Sürükle-bırak modu", "trip": { @@ -11325,10 +12775,10 @@ "longitude-key": "Boylam anahtarı", "x-pos-key": "X konum anahtarı", "y-pos-key": "Y konum anahtarı", - "latitude-key-required": "Enlem anahtarı gerekli", - "longitude-key-required": "Boylam anahtarı gerekli", - "x-pos-key-required": "X konum anahtarı gerekli", - "y-pos-key-required": "Y konum anahtarı gerekli", + "latitude-key-required": "Enlem anahtarı gereklidir", + "longitude-key-required": "Boylam anahtarı gereklidir", + "x-pos-key-required": "X konum anahtarı gereklidir", + "y-pos-key-required": "Y konum anahtarı gereklidir", "no-markers": "Yapılandırılmış işaretçi yok", "add-marker": "İşaretçi ekle", "marker-configuration": "İşaretçi yapılandırması", @@ -11355,7 +12805,7 @@ "rotate-marker": "İşaretçiyi döndür", "offset-angle": "Kaydırma açısı", "position-conversion": "Konum dönüştürme", - "position-conversion-function": "Konum dönüştürme fonksiyonu, 0 ile 1 arasında çift değerler olarak x,y koordinatları döndürmelidir", + "position-conversion-function": "Konum dönüştürme fonksiyonu, her biri 0 ile 1 arasında ondalıklı (double) x,y koordinatları döndürmelidir", "clustering": { "use-map-markers-clustering": "Harita işaretçileri kümelendirmesini kullan", "zoom-on-cluster-click": "Bir kümeye tıklanınca yakınlaştır", @@ -11374,7 +12824,7 @@ "remove-marker-for": "'{{entityName}}' için işaretçiyi kaldır", "place-marker": "İşaretçi yerleştir", "place-marker-hint": "İşaretçi yerleştirmek için tıklayın", - "place-marker-hint-with-entity": "'{{entityName}}' varlığını yerleştirmek için tıklayın" + "place-marker-hint-with-entity": "'{{entityName}}' öğesini yerleştirmek için tıklayın" }, "path": { "path": "Yol", @@ -11392,7 +12842,7 @@ "point-tooltip": "Nokta araç ipucu" }, "shape": { - "fill": "Doldur", + "fill": "Dolgu", "fill-type-color": "Renk", "fill-type-stripe": "Şerit", "fill-type-image": "Görsel", @@ -11404,7 +12854,7 @@ "fill-image-type-image": "Görsel", "fill-image-type-function": "Fonksiyon", "preserve-aspect-ratio": "En-boy oranını koru", - "opacity": "Saydamlık", + "opacity": "Opaklık", "angle": "Dönme açısı", "scale": "Ölçek", "fill-image-function": "Şekil dolgu görsel fonksiyonu", @@ -11415,7 +12865,7 @@ }, "polygon": { "polygon-key": "Poligon anahtarı", - "polygon-key-required": "Poligon anahtarı gerekli", + "polygon-key-required": "Poligon anahtarı gereklidir", "no-polygons": "Tanımlı poligon yok", "add-polygon": "Poligon ekle", "polygon-configuration": "Poligon yapılandırması", @@ -11442,7 +12892,7 @@ }, "circle": { "circle-key": "Daire anahtarı", - "circle-key-required": "Daire anahtarı gerekli", + "circle-key-required": "Daire anahtarı gereklidir", "no-circles": "Tanımlı daire yok", "add-circle": "Daire ekle", "circle-configuration": "Daire yapılandırması", @@ -11456,38 +12906,38 @@ "finish-circle-hint": "Daire: çizimi tamamlamak için tıklayın" }, "polyline": { - "polyline-key": "Çokgen anahtarı", - "polyline-key-required": "Çokgen anahtarı gereklidir", - "no-polylines": "Yapılandırılmış çokgen yok", - "add-polylines": "Çokgen ekle", - "polyline-configuration": "Çokgen yapılandırması", - "remove-polyline": "Çokgeni kaldır", - "edit": "Çokgeni düzenle", - "cut": "Çokgen alanını kes", - "rotate": "Çokgeni döndür", - "remove-polyline-for": "'{{entityName}}' için çokgeni kaldır", - "draw-polyline": "Çokgen çiz", - "polyline-place-first-point-hint-with-entity": "'{{entityName}}' için çokgen: İlk noktayı yerleştirmek için tıklayın", - "polyline-place-first-point-hint": "Çokgen: İlk noktayı yerleştirmek için tıklayın", - "finish-polyline-hint-with-entity": "'{{entityName}}' için çokgen: Çizmeyi bitirmek için tıklayın", - "finish-polyline-hint": "Çokgen: Çizmeyi bitirmek için tıklayın", + "polyline-key": "Çoklu çizgi anahtarı", + "polyline-key-required": "Çoklu çizgi anahtarı gereklidir", + "no-polylines": "Yapılandırılmış çoklu çizgi yok", + "add-polylines": "Çoklu çizgi ekle", + "polyline-configuration": "Çoklu çizgi yapılandırması", + "remove-polyline": "Çoklu çizgiyi kaldır", + "edit": "Çoklu çizgiyi düzenle", + "cut": "Çoklu çizgi alanını kes", + "rotate": "Çoklu çizgiyi döndür", + "remove-polyline-for": "'{{entityName}}' için çoklu çizgiyi kaldır", + "draw-polyline": "Çoklu çizgi çiz", + "polyline-place-first-point-hint-with-entity": "'{{entityName}}' için çoklu çizgi: ilk noktayı yerleştirmek için tıklayın", + "polyline-place-first-point-hint": "Çoklu çizgi: ilk noktayı yerleştirmek için tıklayın", + "finish-polyline-hint-with-entity": "'{{entityName}}' için çoklu çizgi: çizimi tamamlamak için tıklayın", + "finish-polyline-hint": "Çoklu çizgi: çizimi tamamlamak için tıklayın", "polyline-place-first-point-cut-hint": "İlk noktayı yerleştirmek için tıklayın", - "finish-polyline-cut-hint": "İlk işarete tıklayarak bitir ve kaydet" + "finish-polyline-cut-hint": "Bitirmek ve kaydetmek için ilk işaretçiye tıklayın" }, - "select-entity": "Varlık seç", + "select-entity": "Öğe seç", "select-entity-hint": "İpucu: Seçim yaptıktan sonra, konum belirlemek için haritaya tıklayın" }, - "select-entity": "Varlık seç", + "select-entity": "Öğe seç", "select-entity-hint": "İpucu: Seçim yaptıktan sonra, konum belirlemek için haritaya tıklayın", "tooltips": { - "placeMarker": "'{{entityName}}' varlığını yerleştirmek için tıklayın", + "placeMarker": "'{{entityName}}' öğesini yerleştirmek için tıklayın", "firstVertex": "'{{entityName}}' için poligon: ilk noktayı yerleştirmek için tıklayın", "firstVertex-cut": "İlk noktayı yerleştirmek için tıklayın", "continueLine": "'{{entityName}}' için poligon: çizime devam etmek için tıklayın", "continueLine-cut": "Çizime devam etmek için tıklayın", "finishLine": "Bitirmek için herhangi bir mevcut işaretçiye tıklayın", "finishPoly": "'{{entityName}}' için poligon: tamamlamak ve kaydetmek için ilk işaretçiye tıklayın", - "finishPoly-cut": "Tamamlamak ve kaydetmek için ilk işaretçiye tıklayın", + "finishPoly-cut": "Bitirmek ve kaydetmek için ilk işaretçiye tıklayın", "finishRect": "'{{entityName}}' için poligon: tamamlamak ve kaydetmek için tıklayın", "startCircle": "'{{entityName}}' için daire: daire merkezini yerleştirmek için tıklayın", "finishCircle": "'{{entityName}}' için daire: daireyi tamamlamak için tıklayın", @@ -11499,7 +12949,7 @@ "removeLastVertex": "Son noktayı kaldır" }, "buttonTitles": { - "drawMarkerButton": "Varlık yerleştir", + "drawMarkerButton": "Öğe yerleştir", "drawPolyButton": "Poligon oluştur", "drawLineButton": "Çoklu çizgi oluştur", "drawCircleButton": "Daire oluştur", @@ -11527,7 +12977,7 @@ "openstreet-provider-cartodb-positron": "CartoDB.Positron", "openstreet-provider-cartodb-dark-matter": "CartoDB.DarkMatter", "use-custom-provider": "Özel sağlayıcı kullan", - "custom-provider-tile-url": "Özel sağlayıcı tile URL'si", + "custom-provider-tile-url": "Özel sağlayıcı döşeme URL'si", "google-maps-api-key": "Google Maps API Anahtarı", "default-map-type": "Varsayılan harita türü", "google-map-type-roadmap": "Yol Haritası", @@ -11540,18 +12990,15 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Kimlik bilgileri", - "here-app-id": "HERE uygulama kimliği", - "here-app-code": "HERE uygulama kodu", "here-api-key": "HERE API anahtarı", - "here-use-new-version-api-3": "API sürüm 3'ü kullan", - "tencent-maps-api-key": "Tencent Haritalar API Anahtarı", + "tencent-maps-api-key": "Tencent Maps API Anahtarı", "tencent-map-type-roadmap": "Yol Haritası", "tencent-map-type-satelite": "Uydu", "tencent-map-type-hybrid": "Hibrit", "image-map-background": "Görsel harita arka planı", - "image-map-background-from-entity-attribute": "Görsel harita arka planını varlık özniteliğinden al", - "image-url-source-entity-alias": "Görsel URL kaynağı varlık takma adı", - "image-url-source-entity-attribute": "Görsel URL kaynağı varlık özniteliği", + "image-map-background-from-entity-attribute": "Görsel harita arka planını öğe özniteliğinden al", + "image-url-source-entity-alias": "Görsel URL kaynağı öğe takma adı", + "image-url-source-entity-attribute": "Görsel URL kaynağı öğe özniteliği", "common-map-settings": "Genel harita ayarları", "x-pos-key-name": "X konum anahtarı adı", "y-pos-key-name": "Y konum anahtarı adı", @@ -11562,13 +13009,13 @@ "disable-scroll-zooming": "Kaydırarak yakınlaştırmayı devre dışı bırak", "disable-double-click-zooming": "Çift tıklamayla yakınlaştırmayı devre dışı bırak", "disable-zoom-control-buttons": "Yakınlaştırma kontrol düğmelerini devre dışı bırak", - "fit-map-bounds": "Tüm işaretçileri kapsayacak şekilde harita sınırlarını uyarla", + "fit-map-bounds": "Tüm işaretçileri kapsayacak şekilde harita sınırlarını ayarla", "use-default-map-center-position": "Varsayılan harita merkez konumunu kullan", - "entities-limit": "Yüklenecek varlık sayısı sınırı", + "entities-limit": "Yüklenecek öğe limiti", "markers-settings": "İşaretçi ayarları", "marker-offset-x": "İşaretçi X konum kaydırması, konuma göre işaretçi genişliği ile çarpılır", "marker-offset-y": "İşaretçi Y konum kaydırması, konuma göre işaretçi yüksekliği ile çarpılır", - "position-function": "Konum dönüştürme fonksiyonu, her biri 0 ile 1 arasında x,y koordinatları döndürmelidir", + "position-function": "Konum dönüştürme fonksiyonu, her biri 0 ile 1 arasında ondalıklı (double) x,y koordinatları döndürmelidir", "draggable-marker": "Sürüklenebilir işaretçi", "label": "Etiket", "show-label": "Etiketi göster", @@ -11611,12 +13058,12 @@ "polygon-tooltip-pattern": "Araç ipucu (örnek: 'Metin ${keyName} birimleri.' veya Bağlantı metni)", "polygon-tooltip-function": "Poligon araç ipucu fonksiyonu", "polygon-color": "Poligon rengi", - "polygon-opacity": "Poligon saydamlığı", + "polygon-opacity": "Poligon opaklığı", "use-polygon-color-function": "Poligon renk fonksiyonunu kullan", "polygon-color-function": "Poligon renk fonksiyonu", "polygon-stroke": "Poligon kenarlığı", "stroke-color": "Kenarlık rengi", - "stroke-opacity": "Kenarlık saydamlığı", + "stroke-opacity": "Kenarlık opaklığı", "stroke-weight": "Kenarlık kalınlığı", "use-polygon-stroke-color-function": "Poligon kenarlık rengi fonksiyonunu kullan", "polygon-stroke-color-function": "Poligon kenarlık rengi fonksiyonu", @@ -11636,7 +13083,7 @@ "circle-tooltip-pattern": "Araç ipucu (örnek: 'Metin ${keyName} birimleri.' veya Bağlantı metni)", "circle-tooltip-function": "Daire araç ipucu fonksiyonu", "circle-fill-color": "Daire dolgu rengi", - "circle-fill-color-opacity": "Daire dolgu rengi saydamlığı", + "circle-fill-color-opacity": "Daire dolgu rengi opaklığı", "use-circle-fill-color-function": "Daire dolgu rengi fonksiyonunu kullan", "circle-fill-color-function": "Daire dolgu rengi fonksiyonu", "circle-stroke": "Daire kenarlığı", @@ -11654,7 +13101,7 @@ "cluster-chunked-loading": "Sayfanın donmaması için işaretçileri parça parça ekle", "cluster-markers-lazy-load": "İşaretçileri eklemek için tembel yükleme kullan", "editor-settings": "Düzenleyici ayarları", - "enable-snapping": "Hassas çizim için diğer köşe noktalarına hizalama özelliğini etkinleştir", + "enable-snapping": "Hassas çizim için diğer köşe noktalarına hizalamayı etkinleştir", "init-draggable-mode": "Haritayı sürüklenebilir modda başlat", "hide-all-edit-buttons": "Tüm düzenleme kontrol düğmelerini gizle", "hide-draw-buttons": "Çizim düğmelerini gizle", @@ -11665,7 +13112,7 @@ "normalization-step": "Veri normalizasyon adımı (ms)", "tooltip-background-color": "Araç ipucu arka plan rengi", "tooltip-font-color": "Araç ipucu yazı rengi", - "tooltip-opacity": "Araç ipucu saydamlığı (0-1)", + "tooltip-opacity": "Araç ipucu opaklığı (0-1)", "auto-close-tooltip": "Araç ipucunu otomatik kapat", "rotation-angle": "İşaretçi için ek dönme açısı belirle (derece)", "path-settings": "Yol ayarları", @@ -11699,7 +13146,7 @@ "markdown": { "use-markdown-text-function": "Markdown/HTML değer fonksiyonunu kullan", "markdown-text-function": "Markdown/HTML değer fonksiyonu", - "markdown-text-pattern": "Markdown/HTML deseni (değişken içeren markdown veya HTML, örn. '${entityName} veya ${keyName} - bazı metinler.')", + "markdown-text-pattern": "Markdown/HTML deseni (değişken içeren markdown veya HTML, örn. '${entityName} veya ${keyName} - örnek metin.')", "apply-default-markdown-style": "Varsayılan markdown stilini uygula", "markdown-css": "Markdown/HTML CSS" }, @@ -11711,7 +13158,7 @@ }, "single-switch": { "behavior": "Davranış", - "layout": "Yerleşim", + "layout": "Düzen", "layout-right": "Sağ", "layout-left": "Sol", "layout-centered": "Ortalanmış", @@ -11722,7 +13169,7 @@ "on": "Açık", "off": "Kapalı", "disabled": "Devre dışı", - "tumbler-color": "Tumbler rengi", + "tumbler-color": "Anahtar topuzu rengi", "on-label": "Açık etiketi", "off-label": "Kapalı etiketi", "switch": "Anahtar" @@ -11733,7 +13180,7 @@ "initial-value-hint": "Sürgü bileşeninin başlangıç değerini alma eylemi.", "on-value-change": "Değer değiştiğinde", "on-value-change-hint": "Sürgü değeri değiştirildiğinde tetiklenen eylem.", - "layout": "Yerleşim", + "layout": "Düzen", "layout-default": "Varsayılan", "layout-extended": "Genişletilmiş", "layout-simplified": "Basitleştirilmiş", @@ -11753,7 +13200,7 @@ "slider": "Sürgü" }, "value-card": { - "layout": "Yerleşim", + "layout": "Düzen", "layout-square": "Kare", "layout-vertical": "Dikey", "layout-centered": "Ortalanmış", @@ -11781,7 +13228,7 @@ "layout-simple": "Basit", "layout-percentage": "Yüzde", "layout-absolute": "Mutlak", - "layout": "Yerleşim", + "layout": "Düzen", "background-overlay": "Değer arka plan kaplaması", "total-volume": "Toplam hacim", "total-volume-units": "Toplam hacim birimi", @@ -11810,7 +13257,7 @@ "rectangle": "Dikdörtgen", "h-oval": "Yatay Oval", "h-ellipse": "Yatay Elips", - "h-dish-ends": "Yatay Yarım Küre Uçlar", + "h-dish-ends": "Yatay, bombeli uçlu", "h-cylinder": "Yatay Silindir", "h-capsule": "Yatay Kapsül", "h-elliptical_2_1": "Yatay 2:1 Eliptik", @@ -11843,11 +13290,11 @@ "remove-value": "Değeri kaldır", "no-values": "Tanımlı değer yok", "aggregation": "Toplama", - "aggregated-value-card-style": "Toplam değer kartı stili", + "aggregated-value-card-style": "Toplanmış değer kartı stili", "auto-scale": "Otomatik ölçekle" }, "value-chart-card": { - "layout": "Yerleşim", + "layout": "Düzen", "layout-left": "Sol", "layout-right": "Sağ", "auto-scale": "Otomatik ölçekle", @@ -11857,7 +13304,7 @@ "value-chart-card-style": "Değer grafik kartı stili" }, "progress-bar": { - "layout": "Yerleşim", + "layout": "Düzen", "layout-default": "Varsayılan", "layout-simplified": "Basitleştirilmiş", "auto-scale": "Otomatik ölçekle", @@ -11893,10 +13340,10 @@ "alarm-count-card-style": "Alarm sayısı kartı stili" }, "entity-count": { - "entity-count-card-style": "Varlık sayısı kartı stili" + "entity-count-card-style": "Öğe sayısı kartı stili" }, "count": { - "layout": "Yerleşim", + "layout": "Düzen", "layout-column": "Sütun", "layout-row": "Satır", "label": "Etiket", @@ -11924,7 +13371,7 @@ "page-step-increment": "Adım artışı", "page-step-count-format-message": "1 ile 100 arasında bir tam sayı olmalıdır.", "page-step-increment-format-message": "1 veya daha büyük bir tam sayı olmalıdır.", - "use-entity-label-tab-name": "Sekme adında varlık etiketini kullan", + "use-entity-label-tab-name": "Sekme adında öğe etiketini kullan", "hide-empty-lines": "Boş satırları gizle", "row-style": "Satır stili", "use-row-style-function": "Satır stili fonksiyonunu kullan", @@ -11938,13 +13385,13 @@ "cell-content-function": "Hücre içeriği fonksiyonu", "show-latest-data-column": "En son veri sütununu göster", "latest-data-column-order": "En son veri sütunu sıralaması", - "entities-table-title": "Varlıklar tablosu başlığı", + "entities-table-title": "Öğeler tablosu başlığı", "enable-select-column-display": "Görüntülenecek sütunları seçmeyi etkinleştir", - "display-entity-name": "Varlık adı sütununu göster", - "entity-name-column-title": "Varlık adı sütunu başlığı", - "display-entity-label": "Varlık etiketi sütununu göster", - "entity-label-column-title": "Varlık etiketi sütunu başlığı", - "display-entity-type": "Varlık türü sütununu göster", + "display-entity-name": "Öğe adı sütununu göster", + "entity-name-column-title": "Öğe adı sütunu başlığı", + "display-entity-label": "Öğe etiketi sütununu göster", + "entity-label-column-title": "Öğe etiketi sütunu başlığı", + "display-entity-type": "Öğe türü sütununu göster", "default-sort-order": "Varsayılan sıralama düzeni", "custom-title": "Özel başlık", "column-width": "Sütun genişliği (px veya %)", @@ -11963,18 +13410,18 @@ "enable-alarms-selection": "Alarm seçimini etkinleştir", "enable-alarms-search": "Alarm aramasını etkinleştir", "enable-alarm-filter": "Alarm filtresini etkinleştir", - "display-alarm-details": "Alarm detaylarını göster", + "display-alarm-details": "Alarm ayrıntılarını göster", "allow-alarms-ack": "Alarmların onaylanmasına izin ver", "allow-alarms-clear": "Alarmların temizlenmesine izin ver", "display-alarm-activity": "Alarm etkinliğini göster", "allow-alarms-assign": "Alarmların atanmasına izin ver", - "blob-entities-table-title": "Blob varlıkları tablosu başlığı", + "blob-entities-table-title": "Blob öğeleri tablosu başlığı", "display-created-time": "Oluşturulma zamanı sütununu göster", "display-type": "Tür sütununu göster", "display-customer": "Müşteri sütununu göster", - "display-columns": "Kolonları göster", - "no-data-display-message": "\"Görüntülenecek veri yok\" alternatif mesajı", - "force-default-blob-entity-type": "Varsayılan blob varlık türünü zorla", + "display-columns": "Sütunları göster", + "no-data-display-message": "\"Gösterilecek veri yok\" alternatif mesajı", + "force-default-blob-entity-type": "Varsayılan blob öğe türünü zorla", "scheduler-events-table-title": "Zamanlayıcı olayları tablosu başlığı", "force-default-event-type": "Varsayılan olay türünü zorla", "columns": "Sütunlar", @@ -11982,7 +13429,7 @@ "remove-column": "Sütunu kaldır", "add-column": "Sütun ekle", "no-columns": "Tanımlı sütun yok", - "columns-to-display": "Görüntülenecek sütunlar", + "columns-to-display": "Gösterilecek sütunlar", "table-header": "Tablo başlığı", "header-buttons": "Başlık düğmeleri", "table-buttons": "Tablo düğmeleri", @@ -11994,12 +13441,12 @@ "show-cell-actions-menu-mobile": "Mobil modda hücre eylem açılır menüsünü göster", "disable-sorting": "Sıralamayı devre dışı bırak", "sort-by": "Sekmeleri şuna göre sırala", - "sort-timestamp-option": "Oluşma zamanı" + "sort-timestamp-option": "Oluşturulma zamanı" }, "latest-chart": { "total": "Toplam", "auto-scale": "Otomatik ölçekle", - "clockwise-layout": "Saat yönünde yerleşim", + "clockwise-layout": "Saat yönünde düzen", "sort-series": "Serileri etikete göre sırala", "tooltip-value-type-absolute": "Mutlak", "tooltip-value-type-percentage": "Yüzde" @@ -12025,7 +13472,7 @@ "ticks-label": "İşaret etiketleri", "radar-chart-style": "Radar grafik stili", "max-axes-scaling": "Maksimum eksen ölçekleme", - "max-axes-scaling-hint": "Her radar ekseninin kendi maksimum değerine mi sahip olacağını (Ayrı) yoksa tüm eksenler için en yüksek değeri paylaşacağını (Ortak) belirleyin.", + "max-axes-scaling-hint": "Her radar ekseninin kendi maksimum değerine mi sahip olacağını (Ayrı) yoksa widget veri kümesine göre tüm eksenler için en yüksek değeri paylaşacağını (Ortak) belirleyin.", "separate": "Ayrı", "common": "Ortak" }, @@ -12033,6 +13480,8 @@ "chart": "Grafik", "chart-style": "Grafik stili", "data-zoom": "Veri yakınlaştırma", + "data-zoom-update-timewindow": "Yakınlaştırmada zaman penceresini güncelle", + "reset-timewindow": "Orijinal zaman penceresine dön", "stack-mode": "Yığın modu", "stack-mode-hint": "Grafikte serileri üst üste yığar. Aynı birime sahip seriler birbirinin üzerine yerleştirilir.", "axes": "Eksenler", @@ -12063,16 +13512,16 @@ "thresholds": "Eşikler", "source": "Kaynak", "key-value": "Anahtar / Değer", - "no-thresholds": "Tanımlı eşik yok", + "no-thresholds": "Yapılandırılmış eşik yok", "add-threshold": "Eşik ekle", "type-constant": "Sabit", "type-latest-key": "Anahtar", - "type-entity": "Varlık", + "type-entity": "Öğe", "threshold-settings": "Eşik ayarları", "remove-threshold": "Eşiği kaldır", "threshold-value-required": "Eşik değeri gereklidir.", "key-required": "Anahtar gereklidir.", - "entity-key-required": "Varlık anahtarı gereklidir.", + "entity-key-required": "Öğe anahtarı gereklidir.", "line-appearance": "Çizgi görünümü", "line-color": "Çizgi rengi", "start-symbol": "Başlangıç simgesi", @@ -12127,7 +13576,7 @@ "position-top": "Üst", "position-bottom": "Alt", "tick-labels": "İşaret etiketleri", - "ticks-formatter-function": "İşaret biçimlendirici fonksiyonu", + "ticks-formatter-function": "İşaret biçimlendirme fonksiyonu", "ticks-generator-function": "İşaret oluşturucu fonksiyonu", "show-ticks": "İşaretleri göster", "show-line": "Çizgiyi göster", @@ -12174,7 +13623,7 @@ } }, "wind-speed-direction": { - "layout": "Yerleşim", + "layout": "Düzen", "layout-default": "Varsayılan", "layout-advanced": "Gelişmiş", "layout-simplified": "Basitleştirilmiş", @@ -12191,7 +13640,7 @@ "minor-ticks": "İkincil işaretler", "wind-speed-direction-card-style": "Rüzgar hızı ve yönü kartı stili", "ticks-color": "İşaret rengi", - "ticks-labels-type": "İşaret etiket türü", + "ticks-labels-type": "İşaret etiketlerinin türü", "arrow-color": "Ok rengi" }, "scheduler": { @@ -12201,7 +13650,7 @@ "enabled-scheduler-event-views-calendar": "Yalnızca Takvim Görünümü", "display-name": "Görünen ad", "type-name": "Tür adı", - "display-originator-select": "Başlatan varlık seçimini göster", + "display-originator-select": "Başlatan öğe seçimini göster", "display-message-type-select": "Mesaj türü seçimini göster", "display-metadata-table": "Mesaj meta verisi tablosunu göster", "configuration-html-template": "HTML yapılandırma şablonu", @@ -12212,25 +13661,25 @@ "value-source": { "value-source": "Değer kaynağı", "predefined-value": "Sabit", - "entity-attribute": "Varlık özniteliği", + "entity-attribute": "Öğe özniteliği", "value": "Değer", "value-required": "Değer gereklidir.", "key-required": "Anahtar gereklidir.", - "entity-key-required": "Varlık anahtarı gereklidir.", - "source-entity-alias": "Kaynak varlık takma adı", - "source-entity-attribute": "Kaynak varlık özniteliği", + "entity-key-required": "Öğe anahtarı gereklidir.", + "source-entity-alias": "Kaynak öğe takma adı", + "source-entity-attribute": "Kaynak öğe özniteliği", "type-constant": "Sabit", "type-latest-key": "Anahtar", - "type-entity": "Varlık" + "type-entity": "Öğe" }, "rpc-state": { "initial-state": "Başlangıç durumu", - "initial-state-hint": "Bileşenin ilk durumu (Açık/Kapalı) almak için eylem.", + "initial-state-hint": "Bileşenin ilk durumunu (Açık/Kapalı) almak için eylem.", "disabled-state": "Devre dışı durumu", - "disabled-state-hint": "Bileşenin devre dışı kalacağı durumu yapılandırın.", - "turn-on": "'Aç' durumuna geç", + "disabled-state-hint": "Bileşenin devre dışı bırakılacağı koşulu yapılandırın.", + "turn-on": "'Açık' durumuna al", "turn-on-hint": "Bileşen 'Açık' durumuna alındığında tetiklenen eylem.", - "turn-off": "'Kapat' durumuna geç", + "turn-off": "'Kapalı' durumuna al", "turn-off-hint": "Bileşen 'Kapalı' durumuna alındığında tetiklenen eylem.", "on": "Açık", "off": "Kapalı", @@ -12243,18 +13692,18 @@ "set-attribute": "Öznitelik ayarla", "get-time-series": "Zaman serisini al", "get-alarm-status": "Alarm durumunu al", - "get-dashboard-state": "Dashboard durum kimliğini al", - "get-dashboard-state-object": "Dashboard durum nesnesini al", + "get-dashboard-state": "Pano durum kimliğini al", + "get-dashboard-state-object": "Pano durum nesnesini al", "add-time-series": "Zaman serisi ekle", "execute-rpc-text": "'{{methodName}}' RPC metodunu çalıştır", "get-time-series-text": "'{{key}}' zaman serisini kullan", "get-attribute-text": "'{{key}}' özniteliğini kullan", "get-alarm-status-text": "Alarm durumunu kullan", - "get-dashboard-state-text": "Dashboard durumunu kullan", - "get-dashboard-state-object-text": "Dashboard durum nesnesini kullan", - "when-dashboard-state-is-text": "Dashboard durum kimliği '{{state}}' olduğunda", - "when-dashboard-state-function-is-text": "f(dashboard durum kimliği) '{{state}}' olduğunda", - "when-dashboard-state-object-function-is-text": "f(dashboard durum nesnesi) '{{state}}' olduğunda", + "get-dashboard-state-text": "Pano durumunu kullan", + "get-dashboard-state-object-text": "Pano durum nesnesini kullan", + "when-dashboard-state-is-text": "Pano durum kimliği '{{state}}' olduğunda", + "when-dashboard-state-function-is-text": "f(pano durum kimliği) '{{state}}' olduğunda", + "when-dashboard-state-object-function-is-text": "f(pano durum nesnesi) '{{state}}' olduğunda", "set-attribute-to-value-text": "'{{key}}' özniteliğini şu değere ayarla: {{value}}", "add-time-series-value-text": "'{{key}}' zaman serisi değerini ekle: {{value}}", "set-attribute-text": "'{{key}}' özniteliğini ayarla", @@ -12285,11 +13734,12 @@ "parse-value-function": "Değer ayrıştırma fonksiyonu", "state-when-result-is": "Sonuç '{{state}}' olduğunda", "parameters": "Parametreler", - "convert-value-function": "Değeri dönüştürme fonksiyonu", + "convert-value-function": "Değer dönüştürme fonksiyonu", + "rpc-params-function": "RPC parametreleri fonksiyonu", "error": { - "target-entity-is-not-set": "Hedef varlık ayarlanmadı!", + "target-entity-is-not-set": "Hedef öğe ayarlanmadı!", "failed-to-perform-action": "{{ actionLabel }} eylemi gerçekleştirilemedi.", - "invalid-attribute-scope": "{{scope}} öznitelik kapsamı {{entityType}} varlığı tarafından desteklenmiyor." + "invalid-attribute-scope": "{{scope}} öznitelik kapsamı {{entityType}} öğesi tarafından desteklenmiyor." } }, "widget-font": { @@ -12357,9 +13807,9 @@ "add-link": "Bağlantı ekle", "add-link-title": "Dokümantasyon bağlantısı ekle", "name": "Ad", - "name-required": "Ad gerekli.", + "name-required": "Ad gereklidir.", "link": "Bağlantı", - "link-required": "Bağlantı gerekli.", + "link-required": "Bağlantı gereklidir.", "columns": "Sütunlar" }, "quick-links": { @@ -12367,10 +13817,13 @@ "add-link": "Bağlantı ekle", "add-link-title": "Hızlı bağlantı ekle", "quick-link": "Hızlı bağlantı", - "quick-link-required": "Hızlı bağlantı gerekli.", + "quick-link-required": "Hızlı bağlantı gereklidir.", "no-links-matching": "'{{name}}' ile eşleşen bağlantı bulunamadı.", "columns": "Sütunlar" }, + "iot-hub": { + "title-text": "Topluluk tarafından kanıtlanmış kaynaklarla daha hızlı geliştirin:" + }, "recent-dashboards": { "title": "Panolar", "last": "Son görüntülenen", @@ -12382,13 +13835,13 @@ "configured-features": { "title": "Yapılandırılmış özellikler", "info": "Yapılandırma gerektiren özelliklerin durumu", - "white-labeling-feature": "Beyaz etiketleme", + "white-labeling-feature": "White labeling", "email-feature": "E-posta", "sms-feature": "SMS", "slack-feature": "Slack", "oauth2-feature": "OAuth 2", "2fa-feature": "2FA", - "feature-configured": "Özellik yapılandırıldı.\nKurulum için tıklayın", + "feature-configured": "Özellik yapılandırıldı.\nAyarlamak için tıklayın", "feature-not-configured": "Özellik yapılandırılmadı.\nKurulum için tıklayın" }, "version-info": { @@ -12396,9 +13849,9 @@ "contact-us": "Bize ulaşın", "current-version": "Mevcut sürüm", "current": "Mevcut", - "available-version": "Mevcut sürüm", - "available": "Mevcut", - "upgrade": "Güncelle", + "available-version": "Kullanılabilir sürüm", + "available": "Kullanılabilir", + "upgrade": "Yükselt", "version-is-up-to-date": "Sürüm güncel" }, "license-info": { @@ -12407,23 +13860,24 @@ "license-portal": "Lisans portalı", "devices-info": "{count} / { max, plural, =0 {∞} other {#} } Cihaz", "assets-info": "{count} / { max, plural, =0 {∞} other {#} } Varlık", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edge", "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } Pano", "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } Entegrasyon", "community-support": "Topluluk desteği", - "white-labeling": "Beyaz etiketleme", + "white-labeling": "White labeling", "unlimited-datapoints-and-messages": "Sınırsız veri noktası ve mesaj", "unlimited-api-calls": "Sınırsız API çağrısı" }, "usage-info": { "title": "Kullanım", - "entities": "Varlıklar", + "entities": "Öğeler", "api-calls": "API çağrıları" }, "functions": { "title": "Fonksiyonlar", "alarms": "Alarmlar", "dashboards": "Panolar", - "entities-and-relations": "Varlıklar ve İlişkiler", + "entities-and-relations": "Öğeler ve İlişkiler", "profiles": "Profiller", "advanced-features": "Gelişmiş özellikler", "notification-center": "Bildirim merkezi", @@ -12433,9 +13887,8 @@ "roles-and-permissions": "Roller ve İzinler", "groups": "Gruplar", "integrations": "Entegrasyonlar", - "solution-templates": "Çözüm şablonları", "scheduler": "Zamanlayıcı", - "white-labeling": "Beyaz etiketleme" + "white-labeling": "White labeling" }, "devices": { "view-docs": "Belgeleri görüntüle", @@ -12448,11 +13901,6 @@ "assigned-to-me": "Bana atanan", "total": "Toplam" }, - "solution-templates": { - "title": "Çözüm şablonları", - "prototype-plan": "Prototip planı", - "startup-plan": "Girişim planı" - }, "getting-started": { "get-started": "Başla", "finish": "Bitir", @@ -12461,49 +13909,49 @@ "sys-admin": { "step1": { "title": "Kiracı ve Kiracı Yöneticisi oluştur", - "content": "

    Bir kiracı, cihazlara ve varlıklara sahip olan veya bunları üreten birey ya da kuruluştur. Kiracının birden fazla kiracı yöneticisi kullanıcısı, müşterisi, cihazı ve varlığı olabilir.

    Kiracı Yöneticisi, cihazları, varlıkları, müşterileri ve panoları oluşturabilir ve yönetebilir.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    Bir kiracı, cihazlara ve varlıklara sahip olan veya bunları üreten birey ya da kuruluştur. Kiracının birden fazla kiracı yöneticisi kullanıcısı, müşterisi, cihazı ve varlığı olabilir.

    Kiracı Yöneticisi, cihazları, varlıkları, müşterileri ve panoları oluşturabilir ve yönetebilir.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-create-tenant": "Kiracı ve Kiracı Yöneticisi nasıl oluşturulur" }, "step2": { "title": "Özelliği yapılandır: Mail sunucusu", - "content": "

    Mail sunucusu yapılandırması, kullanıcı aktivasyonu, şifre kurtarma ve alarm bildirimi için gereklidir.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    Mail sunucusu yapılandırması, kullanıcı aktivasyonu, parola kurtarma ve alarm bildirimi için gereklidir.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-configure-mail-server": "Mail sunucusu nasıl yapılandırılır" }, "step3": { "title": "Özelliği yapılandır: SMS sağlayıcısı", - "content": "

    Alarm bildirimlerini müşterilere SMS ile iletmek için SMS sağlayıcılarını yapılandırın.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    Alarm bildirimlerini müşterilere SMS ile iletmek için SMS sağlayıcılarını yapılandırın.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-configure-sms-provider": "SMS sağlayıcısı nasıl yapılandırılır" }, "step4": { - "title": "Özelliği yapılandır: Beyaz etiketleme", - "content": "

    Hizmeti yeniden başlatmadan veya kod yazmadan şirketinizin ya da ürününüzün logosunu ve renk şemasını kolayca özelleştirin.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", - "how-to-configure-white-labeling": "Beyaz etiketleme nasıl yapılandırılır" + "title": "Özelliği yapılandır: White labeling", + "content": "

    Hizmeti yeniden başlatmadan veya kod yazmadan şirketinizin ya da ürününüzün logosunu ve renk şemasını kolayca özelleştirin.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", + "how-to-configure-white-labeling": "White labeling nasıl yapılandırılır" }, "step5": { "title": "Özelliği yapılandır: 2FA", - "content": "

    Platform hesaplarının güvenliğini iki faktörlü kimlik doğrulama ile artırın.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    Platform hesaplarının güvenliğini iki faktörlü kimlik doğrulama ile artırın.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-configure-2fa": "2FA nasıl yapılandırılır" }, "step6": { "title": "Özelliği yapılandır: OAuth 2", - "content": "

    OAuth 2.0 üzerinden Tek Oturum Açma (SSO) ile kiracı ve müşteri kullanıcılarının giriş işlemlerini basitleştirin.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    OAuth 2.0 üzerinden Tek Oturum Açma (SSO) ile kiracı ve müşteri kullanıcılarının giriş işlemlerini basitleştirin.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-configure-oauth2": "OAuth 2 nasıl yapılandırılır" }, "step7": { "title": "Özelliği yapılandır: Slack", - "content": "

    Belirlediğiniz bildirim kurallarına göre kiracı ve müşteri kullanıcılarına Slack üzerinden bildirim gönderin.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    Belirlediğiniz bildirim kurallarına göre kiracı ve müşteri kullanıcılarına Slack üzerinden bildirim gönderin.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-configure-notifications": "Slack nasıl yapılandırılır" } }, "tenant-admin": { "step1": { "title": "Cihaz oluştur", - "content": "

    İlk cihazınızı platforma UI üzerinden tanımlayalım. Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    İlk cihazınızı platforma UI üzerinden tanımlayalım. Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-create-device": "Cihaz nasıl oluşturulur" }, "step2": { "title": "Cihazı bağla", - "content-before": "

    Cihazı bağlamak için cihaz kimlik bilgilerini almanız gerekir. Bu rehberde varsayılan otomatik oluşturulan kimlik bilgisi olan erişim jetonunu kullanmanızı öneriyoruz.

    • Cihaz tablosuna gidin
    • Cihaz satırına tıklayarak detayları açın
    • \"Erişim jetonunu kopyala\" butonuna basın

    HTTP üzerinden veri göndermek için basit komutları kullanın. $ACCESS_TOKEN ifadesini cihazınıza ait erişim jetonu ile değiştirmeyi unutmayın:

    ", + "content-before": "

    Cihazı bağlamak için cihaz kimlik bilgilerini almanız gerekir. Bu rehberde varsayılan otomatik oluşturulan kimlik bilgisi olan erişim belirtecini kullanmanızı öneriyoruz.

    • Cihaz tablosuna gidin
    • Cihaz satırına tıklayarak ayrıntıları açın
    • \"Erişim belirtecini kopyala\" butonuna basın

    HTTP üzerinden veri göndermek için basit komutları kullanın. $ACCESS_TOKEN ifadesini cihazınıza ait erişim belirteci ile değiştirmeyi unutmayın:

    ", "ubuntu": { "install-curl": "Ubuntu için cURL kurulumu:" }, @@ -12511,37 +13959,49 @@ "install-curl": "MacOS için cURL kurulumu:" }, "windows": { - "install-curl": "Windows 10 b17063 itibariyle, cURL varsayılan olarak mevcuttur." + "install-curl": "Windows 10 b17063 itibarıyla cURL varsayılan olarak mevcuttur." }, - "replace-access-token": "$ACCESS_TOKEN ifadesini cihazınızın erişim jetonu ile değiştirin:", - "content-after": "

    Ayrıca MQTT, CoAP gibi diğer protokolleri de kullanabilirsiniz.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "replace-access-token": "$ACCESS_TOKEN ifadesini cihazınızın erişim belirteci ile değiştirin:", + "content-after": "

    Ayrıca MQTT, CoAP gibi diğer protokolleri de kullanabilirsiniz.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-connect-device": "Cihaz nasıl bağlanır" }, "step3": { "title": "Pano oluştur", - "content": "

    Varlıklar, cihazlar vb. gibi nesnelerden gelen verileri görselleştirmek için bir pano oluşturun.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    Varlıklar, cihazlar vb. gibi öğelerden gelen verileri görselleştirmek için bir pano oluşturun.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-create-dashboard": "Pano nasıl oluşturulur" }, "step4": { "title": "Alarm kurallarını yapılandır", "alarm-rules": "Alarm kuralları", - "content": "

    Sıcaklık 25°C'ye ulaştığında bir alarm oluşturalım. Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    Sıcaklık 25°C'ye ulaştığında bir alarm oluşturalım. Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-configure-alarm-rules": "Alarm kuralları nasıl yapılandırılır" }, "step5": { "title": "Alarm oluştur", "content-before": "

    Alarmı tetiklemek için 26°C veya daha yüksek bir telemetri verisi gönderin.

    ", - "replace-access-token": "$ACCESS_TOKEN ifadesini cihazınızın erişim jetonu ile değiştirin:", - "content-after": "

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "replace-access-token": "$ACCESS_TOKEN ifadesini cihazınızın erişim belirteci ile değiştirin:", + "content-after": "

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-create-alarm": "Alarm nasıl oluşturulur" }, "step6": { "title": "Müşteri oluştur ve panoyu paylaş", - "content": "

    Son kullanıcı panoları oluşturarak, müşteri kullanıcısı yalnızca kendi cihazlarını görebilir ve diğer müşterilerin verileri gizli olur.

    Nasıl yapılacağına dair dökümantasyona göz atın:

    ", + "content": "

    Son kullanıcı panoları oluşturarak, müşteri kullanıcısı yalnızca kendi cihazlarını görebilir ve diğer müşterilerin verileri gizli olur.

    Nasıl yapılacağına dair dokümantasyona göz atın:

    ", "how-to-create-customer-and-share-dashboard": "Müşteri nasıl oluşturulur ve pano nasıl paylaşılır" } } }, + "html-container": { + "java-script": "JavaScript", + "js-function": "JavaScript fonksiyonu", + "html": "HTML", + "angular-html-template": "Angular HTML şablonu", + "css": "CSS", + "container-type": "Kapsayıcı türü", + "type-plain": "Düz HTML", + "type-angular": "Angular", + "resources": "Kaynaklar", + "no-resources": "Yapılandırılmış kaynak yok" + }, "api-usage": { "api-usage": "API kullanımı", "label": "Etiket", @@ -12564,15 +14024,223 @@ "icons": "Simgeler", "custom": "Özel", "select-icon": "Simge seç", - "material-icons": "Material simgeleri", + "material-icons": "Material icons", "show-all": "Tüm simgeleri göster", "search-icon": "Simge ara", "no-icons-found": "'{{iconSearch}}' için simge bulunamadı" }, + "subscription": { + "entity-limit-text": "Ancak limitlerinizi artırmak için abonelik planınızı yükseltebilirsiniz.", + "upgrade-your-plan": "Abonelik planını yükselt", + "license-management": "Lisans yönetimi", + "perpetual-license": "Kalıcı lisans", + "subscription": "Abonelik", + "perpetual": "Kalıcı", + "manage-license": "Lisansı yönet", + "updated-ago": "{{ago}} güncellendi", + "usage-and-limits": "Kullanım ve limitler", + "add-ons": "Eklentiler", + "included": "Dahil", + "not-included": "Dahil değil", + "add-to-license": "Lisansa ekle", + "change-key-title": "Farklı bir lisansa mı geçiyorsunuz?", + "change-key-text": "Farklı bir lisansa geçin veya ağdan yalıtılmış bir dağıtımı çevrimdışı bir anahtarla etkinleştirin.", + "enter-key": "Bir anahtar girin", + "enter-license-key": "Bir lisans anahtarı girin", + "applying-key-text": "Bir anahtar uygulamak, bu dağıtımın lisans kapsamını değiştirir.", + "keys-issued-text": "Anahtarlar {{licensePortal}} üzerinden verilir. Herhangi bir cihazda oturum açın ve oradan bir anahtar kopyalayın.", + "check-key": "Anahtarı kontrol et", + "checking-key": "Bu anahtar kontrol ediliyor...", + "current": "Mevcut", + "this-key": "Bu anahtar", + "replace-license": "Lisansı değiştir", + "new-license-applied": "Yeni lisans anahtarı uygulandı.", + "updates-and-support-until": "{{date}} tarihine kadar güncellemeler ve destek.", + "next-charge-and-due-date": "Sonraki ödeme: {{date}} tarihinde {{total}}, son ödeme tarihi {{dueDate}}.", + "refresh-license-info": "Lisans bilgilerini yenile", + "non-production-mode": "Geliştirme modu — yalnızca üretim dışı kullanım için", + "non-production-mode-details": "Cihaz, varlık ve Edge kotaları sınırsızdır; White labeling kullanılamaz. Bu örneği üretimde kullanmayın.", + "offline-mode": "Çevrimdışı mod", + "devices": "Cihazlar", + "number-of-devices": "{ count, plural, =1 {1 cihaz} other {# cihaz} }", + "unlimited-devices": "Sınırsız cihaz", + "add-devices": "Cihaz ekle", + "device-limit-warn": "Cihaz sayısı limitinizin {{ percent }} oranında.", + "device-limit-critical": "Cihaz sayısı limitinize ulaştı. Limit artırılana kadar yeni cihazlar kaydedilmez.", + "assets": "Varlıklar", + "add-assets": "Varlık ekle", + "prod-instances": "Üretim örnekleri", + "add-instances": "Örnek ekle", + "ai-credits": "Yapay zeka kredileri", + "add-credits": "Kredi ekle", + "white-labeling": "White labeling", + "edge": "Edge Computing", + "edges": "Edge'ler", + "add-edges": "Edge ekle", + "agents": "Remote Agent'lar", + "add-agents": "Remote Agent ekle", + "trendz": "Trendz Analytics", + "name-addon": "{{name}} eklentisi", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { {name} ekle } other { {name} ekle } }", + "add-addon-subscription": "{{name}} ücretli bir eklentidir ve aylık ücretinizi artırır.", + "add-addon-perpetual": "{{name}} ücretli bir eklentidir ve bu lisans için bir kez satın alınır.", + "upgrade-plan-devices": "{{plan}} planında cihaz limitiniz plana dahildir.", + "upgrade-plan-instances": "{{plan}} planında üretim örneği limitiniz plana dahildir.", + "upgrade-plan-credits": "{{plan}} planında aylık yapay zeka kredileriniz plana dahildir.", + "upgrade-plan-edges": "{{plan}} planında Edge limitiniz plana dahildir.", + "upgrade-plan-agents": "{{plan}} planında Remote Agent limitiniz plana dahildir.", + "upgrade-plan-white-labeling": "Her ücretli plan White labeling içerir.", + "upgrade-plan-addon": "{{name}} ücretli bir eklentidir. Eklentiler ücretli bir plan gerektirir.", + "ce-grant-case": "Herhangi bir satın alma işlemiyle Community Grant kalıcı bir ticari lisansa dönüşür. Ödemeyi Community Grant kapsamında zaten olanlar için değil, eklediğiniz için yaparsınız.", + "pe-pack-case": "Professional Pack tek seferlik bir satın almadır ve fiyatı her Community Grant sahibi için aynıdır.", + "ce-grant-white-label": "Zaten White labeling uyguladığınız öğeler Community Grant kapsamında ücretsiz kalır.", + "open-portal-manage-license": "Bu dağıtımın lisansını Lisans Portalı'nda açacağız. Oturum açmanız gerekebilir. Döndüğünüzde Güncelle düğmesine basın.", + "open-portal-upgrade-plan": "Lisans Portalı'nı açıp bir plan önereceğiz. Oturum açmanız gerekebilir. Döndüğünüzde Güncelle düğmesine basın.", + "open-portal": "Portalı aç", + "add-license-item-title": "{{ item }} {{ action }} için ThingsBoard Lisans Portalı'nda {{ package }} bilgilerinizi güncellemeniz gerekir.", + "action-add": "eklemek", + "action-enable": "etkinleştirmek", + "package-subscription": "abonelik", + "package-perpetual": "lisans paketi", + "go-to-license-portal": "Lisans Portalı'na git", + "add-license-item-step-first": "Sizi Lisans Portalı'na yönlendireceğiz.", + "add-license-item-step-second": "Oturum açtığınızda ilgili {{ package }} ayrıntılarını otomatik olarak açacağız.", + "add-license-item-step-third": "\"{{ item }}\" öğesini {{ package }} kapsamınıza ekleyin.", + "add-license-item-step-fourth": "İşlem tamamlandıktan sonra {{ package }} bilgilerini hemen yenilemek için aşağıdaki \"Lisans bilgilerini yenile\" düğmesine tıklayın.", + "request-feature-sysadmin-text": "Sistem yöneticisi misiniz?", + "login-here": "Buradan giriş yapın", + "to-get-addon": "ve eklentiyi edinin.", + "request-edge-title": "Ağ kesildiğinde bile sahalarınız çalışmaya devam etsin", + "request-edge-text": "Veri işleme ve analizi altyapınıza yaymak için Edge örneklerini devreye alın. Temel yetenekler:", + "edge-card-autonomy-title": "Özerklik", + "edge-card-autonomy-text": "Ağ arızalarında bile anında yerel çalışma sağlar", + "edge-card-filtering-title": "Filtreleme", + "edge-card-filtering-text": "Yalnızca doğrulanmış, değerli verileri göndererek bulut trafiğini ve maliyetlerini azaltır", + "edge-card-latency-title": "Gecikme", + "edge-card-latency-text": "Verileri yerel olarak işleyerek gerçek zamanlı kontrol ve hızlı yanıt sağlar", + "edge-card-security-title": "Güvenlik", + "edge-card-security-text": "OT cihazları ile genel bulut arasında güvenli bir tampon sağlar", + "edge-card-efficiency-title": "Verimlilik", + "edge-card-efficiency-text": "Verileri kaynağa yakın yerde normalleştirir ve toplar, bulut iş yükünü hafifletir", + "request-edge-action-text": "Edge yönetimi bir eklenti olarak sunulur. Etkinleştirmek için sistem yöneticinize başvurun.", + "request-access": "Erişim iste", + "requested": "Talep edildi", + "upgrade-plan": "Planı yükselt", + "learn-more": "Daha fazla bilgi", + "feature-request-sent-title": "{{addonName}} eklentisini etkinleştirmesi için sistem yöneticinize otomatik bir talep gönderdik", + "feature-request-sent-text": "Lütfen talebi inceleyip ayarları güncellemeleri için biraz zaman tanıyın. Değişiklikleri görmek için bu sayfayı yenilemeniz gerekebilir.", + "request-trendz-title": "{{name}} ile IoT veri kümesini içgörülere dönüştürün ve karar verme sürecini basitleştirin", + "request-trendz-text": "Telemetriyi keşfetmenizi, mantık oluşturmanızı, anomalileri tespit etmenizi, tahminler üretmenizi ve ham verileri net, uygulanabilir içgörülere dönüştürmenizi sağlayan yapay zeka destekli birleşik bir çalışma alanıyla güçlü, kodsuz IoT analitiğinin kilidini açın", + "request-trendz-action-text": "{{name}} bir eklenti olarak sunulmaktadır. Etkinleştirmek için sistem yöneticinize başvurun.", + "trendz-card-metric-explorer-title": "Metrik gezgini", + "trendz-card-metric-explorer-text": "Kodsuz analiz, özel metrikler ve anında görsel içgörülerle telemetriyi derinlemesine inceleyin", + "trendz-card-anomaly-title": "Anomali tespiti", + "trendz-card-anomaly-text": "Verilerinizdeki olağan dışı davranışları otomatik olarak tespit edin", + "trendz-card-calculation-title": "Hesaplanmış alanlar", + "trendz-card-calculation-text": "İş mantığını tanımlayın, telemetriyi dönüştürün ve yeni metrikler oluşturun", + "trendz-card-prediction-title": "Tahmin modelleri", + "trendz-card-prediction-text": "Yerleşik ML modellerini kullanarak gelecekteki değerleri tahmin edin ve eğilimleri tespit edin", + "trendz-card-views-title": "Görünümler", + "trendz-card-views-text": "Ekipler ve müşteriler için paylaşılabilir analitik panolar oluşturun — hepsi tek bir yerde.", + "trendz-card-ai-assistant-title": "Yapay zeka asistanı", + "trendz-card-ai-assistant-text": "Doğal dille çalışan yapay zeka ile mantık oluşturun, formülleri iyileştirin ve metrik oluşturmayı otomatikleştirin.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Entegrasyonlar, zamanlayıcı, raporlar ve White labeling.", + "pe-pack-desc": "Community Grant kapsamınızı tam özellik setine genişletir.", + "request-pe-pack": "Tam özellikli Professional Pack talep edin", + "add-pe-pack": "Tam özellikli Professional Pack ekleyin", + "pe-pack-extend-ce": "Community Grant kapsamınızı tam özellik setine genişletir.", + "sys-admin-pe-pack-note": "Sistem yöneticisi misiniz? Oturum açın ve Lisans yönetimi bölümünden Professional Pack ekleyin.", + "pe-pack-requested": "Professional Pack, sistem yöneticinizden talep edildi.", + "white-labeling-promo": "Logoyu, renkleri ve başlıkları bir ayarlar sayfasından belirleyin.", + "white-labeling-promo-try": "Logoyu, renkleri ve başlıkları bir ayarlar sayfasından belirleyin. Denemek için sayfayı açın.", + "integrations": "Entegrasyonlar", + "integrations-promo": "LoRaWAN, MQTT, Kafka ve diğer IoT platformlarından veri alın.", + "scheduler": "Zamanlayıcı", + "scheduler-promo": "Güncellemeleri bir zamanlamaya göre yürütün ve kural zincirlerine olay gönderin.", + "reports": "Raporlar", + "reports-promo": "Tablolardan, grafiklerden ve kendi marka öğelerinizden raporlar oluşturun ve bunları bir zamanlamaya göre gönderin." + }, + "platform-feature": { + "overview": "Genel bakış", + "white-labeling": { + "not-in-plan": "White labeling planınıza dahil değil", + "not-in-ce-grant": "White labeling, Community Grant'ınıza dahil değil.", + "add": "White labeling ekle", + "request": "White labeling talep et", + "offer-title": "Markanız, giriş ekranınız, menüleriniz, etiketleriniz", + "offer-with-plan-lede": "White labeling, Pilot planı ve üzeri planlarla birlikte gelir. Burada ayarladığınız her şey ThingsBoard'unkinin yerini alır — giriş sayfasında, gönderdiğiniz e-postalarda ve müşterilerinizin çalıştığı her sayfada.", + "offer-lede": "White labeling ile burada ayarladığınız her şey ThingsBoard'unkinin yerini alır — giriş sayfasında, gönderdiğiniz e-postalarda ve müşterilerinizin çalıştığı her sayfada.", + "pack-offer-lede": "White labeling, Community Grant'ınız için ücretli eklenti olan Professional Pack ile birlikte gelir. Professional Pack etkinken burada ayarladığınız her şey ThingsBoard'unkinin yerini alır — giriş sayfasında, gönderdiğiniz e-postalarda ve müşterilerinizin çalıştığı her sayfada.", + "sys-admin-wl-note": "Sistem yöneticisi misiniz? Oturum açın ve Lisans yönetimi bölümünden White labeling ekleyin." + }, + "integrations": { + "not-in-ce-grant": "Entegrasyonlar, Community Grant'ınıza dahil değil.", + "pack-offer-title": "LoRaWAN, MQTT, Kafka ve diğer IoT platformlarından veri alın", + "pack-offer-lede": "Entegrasyonlar, Community Grant'ınız için ücretli eklenti olan Professional Pack'in bir parçasıdır. Her biri bir LoRaWAN Network Server'dan, bir MQTT veya Kafka broker'ından ya da başka bir IoT platformundan veri okur — cihazları göründükçe otomatik olarak oluşturur ve gönderdikleri verileri telemetri olarak kaydeder.", + "overview": { + "brokers-and-platforms": "Broker'lar ve platformlar", + "brokers-and-platforms-desc": "Her kaynak için bir entegrasyon; kullanıcı arayüzünden yapılandırılır ve izlenir.", + "data-converters": "Veri dönüştürücüler", + "data-converters-desc": "Bir cihazın kendi veri yükünü — LoRaWAN codec'leri dahil — cihazın gönderdiği veriyi değiştirmeden bir betikle çözümleyin.", + "downlink": "Downlink", + "downlink-desc": "Komutları ve yapılandırmayı aynı bağlantı üzerinden cihaza geri gönderin.", + "remote-integrations": "Uzak entegrasyonlar", + "remote-integrations-desc": "Sahada, kendi sunucunuzda bir tane çalıştırın — ThingsBoard ile bağlantı kesildiğinde bile verileri arabelleğe almaya devam eder." + }, + "dozen-protocols-brokers-and-platforms": "Onlarca protokol, broker ve platform", + "browse-setup-guides-note": "Belgelerimizdeki kurulum kılavuzlarına göz atın." + }, + "scheduler": { + "not-in-ce-grant": "Zamanlayıcı, Community Grant kapsamınıza dahil değildir.", + "pack-offer-title": "Güncellemeleri yürütün ve kural zincirlerine olayları bir zamanlamaya göre gönderin", + "pack-offer-lede": "Zamanlayıcı, Community Grant için ücretli eklenti olan Professional Pack kapsamındadır. Ürün yazılımı güncellemelerini yürütün ve kural zincirlerine olay gönderin — her kayıt bir başlangıç zamanı, bir tekrar kuralı ve kendi saat dilimini içerir; platform, sizin tarafınızda bir şey çalışıyor olsun ya da olmasın kaydı tetikler.", + "overview": { + "repeats-and-timezones": "Tekrarlar ve saat dilimleri", + "repeats-and-timezones-desc": "Bir kez ya da seçtiğiniz günlerde günlük veya haftalık — ve her olay kendi saat diliminde işlenir.", + "device-commands": "Cihaz komutları", + "device-commands-desc": "API belirteci tutan bir cron işine gerek kalmadan, belirlenen saatte cihaza komut gönderin.", + "firmware-and-software": "Ürün yazılımı ve yazılım", + "firmware-and-software-desc": "Bir OTA paketini, kimsenin izlemediği bir saatte bir cihaza veya bütün bir gruba dağıtın.", + "rule-chain-triggers": "Kural zinciri tetikleyicileri", + "rule-chain-triggers-desc": "Bir kural zincirine ileti gönderin; böylece bir kural zincirinin yapabildiği her şey gözetimsiz çalışabilir." + } + }, + "reporting": { + "not-in-ce-grant": "Raporlar, Community Grant kapsamınıza dahil değildir.", + "pack-offer-title": "Raporu bir kez oluşturun ve her zamanlanmış çalıştırmada teslim edin", + "pack-offer-lede": "Raporlar, Community Grant için ücretli eklenti olan Professional Pack kapsamındadır. Raporun düzenini kendiniz oluşturursunuz — tablolar, grafikler, metin ve kendi markanız — ve her çalıştırma, alıcılarına zamanlamaya göre ya da bir alarm tetiklendiğinde ulaşır.", + "overview": { + "your-own-layout": "Kendi düzeniniz", + "your-own-layout-desc": "Tabloları, grafikleri, metinleri ve görselleri sürükleyip yerleştirin; kaydedilmiş tek bir şablon her müşteriye hizmet eder.", + "pdf-or-csv": "PDF veya CSV", + "pdf-or-csv-desc": "Grafikleri çizilmiş, baskıya hazır bir belge ya da sayıları isteyenler için ham satırlar.", + "channel": "E-posta, Slack, Teams veya SMS", + "channel-desc": "Kanalı her alıcı veya kullanıcı grubu için ayrı seçin — platform her zamanlanmış çalıştırmayı teslim eder.", + "attached-to-alarm": "Alarma ekli", + "attached-to-alarm-desc": "Bildirim, alarm tetiklendiği anda o anki verilerden oluşturulan raporu da beraberinde taşır." + } + } + }, + "subscription-error": { + "title": "Abonelik ihlali", + "warning-title": "Abonelik uyarısı", + "upgrade-subscription-plan": "Lütfen abonelik planınızı yükseltin", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}}, {{planName}} planından itibaren kullanılabilir. Devam etmek için lütfen sistem yöneticinizden planı yükseltmesini isteyin.", + "limit-reached": { + "device-count": "Abonelik planınızın izin verdiği maksimum cihaz sayısına ({{value}}) ulaştınız!", + "asset-count": "Abonelik planınızın izin verdiği maksimum varlık sayısına ({{value}}) ulaştınız!", + "edge-count": "Abonelik planınızın izin verdiği maksimum Edge örneği sayısına ({{value}}) ulaştınız!", + "agent-count": "Abonelik planınızın izin verdiği maksimum Remote Agent sayısına ({{value}}) ulaştınız!" + }, + "feature-disabled": { + "white-labeling": "Abonelik planınız White labeling özelliğine izin vermiyor!" + } + }, "phone-input": { "phone-input-label": "Telefon numarası", - "phone-input-required": "Telefon numarası gerekli", - "phone-input-validation": "Telefon numarası geçersiz veya mümkün değil", + "phone-input-required": "Telefon numarası gereklidir", + "phone-input-validation": "Telefon numarası geçersiz veya olası bir numara değil", "phone-input-pattern": "Geçersiz telefon numarası. E.164 formatında olmalıdır, örn. {{phoneNumber}}", "phone-input-hint": "E.164 formatında telefon numarası, örn. {{phoneNumber}}" }, @@ -12590,8 +14258,8 @@ "pie-slice-click": "Dilime tıklanınca", "row-double-click": "Satıra çift tıklanınca", "cell-double-click": "Hücreye çift tıklanınca", - "card-click": "Kart tıklanınca", - "click": "Tıklama" + "card-click": "Karta tıklanınca", + "click": "Tıklanınca" } }, "paginator": { @@ -12604,32 +14272,32 @@ }, "trendz-analytics": { "add-new": "+ Yeni ekle", - "ai-assistant": "AI asistanı", + "ai-assistant": "Yapay zeka asistanı", "ai-assistant-description": "Konuşma temelli içgörüler ve otomatik raporlama", "anomaly-detection": "Anomali tespiti", "anomaly-detection-description": "Aktif anomali tespiti modelleri", "calculated-fields": "Hesaplanmış alanlar", "calculated-fields-description": "Özel iş mantığı ve hesaplamalar", - "contact-admin-message": "Lütfen talebin gözden geçirilmesi ve ayarların güncellenmesi için biraz zaman tanıyın. Değişiklikleri görmek için bu sayfayı yenileyebilirsiniz.", + "contact-admin-message": "Lütfen talebi inceleyip ayarları güncellemeleri için biraz zaman tanıyın. Değişiklikleri görmek için bu sayfayı yenilemeniz gerekebilir.", "contact-admin-title": "Bu hata hakkında Sistem Yöneticinize bildirim gönderdik", "contact-sys-admin": "Sistem Yöneticisi ile iletişime geç", "disabled": "Devre dışı", "enabled": "Etkin", "explore": "Keşfet", - "loading-ai-assistant": "AI sohbetleri yükleniyor...", + "loading-ai-assistant": "Yapay zeka sohbetleri yükleniyor...", "loading-anomaly-model": "Anomali tespiti modelleri yükleniyor...", - "loading-calculation-field": "Hesaplama alanları yükleniyor...", - "loading-metric-explorer": "Metrik keşif yükleniyor...", + "loading-calculation-field": "Hesaplanmış alanlar yükleniyor...", + "loading-metric-explorer": "Metrik gezgini yükleniyor...", "loading-prediction-model": "Tahmin modelleri yükleniyor...", "loading-views": "Görünümler yükleniyor...", - "metric-explorer": "Metrik keşif", + "metric-explorer": "Metrik gezgini", "metric-explorer-description": "Hızlı gezinme için son analiz edilen metrikler", - "no-anomaly-models-found": "Henüz anomali tespiti modeli bulunamadı", - "no-calculated-fields-found": "Henüz hesaplama alanı bulunamadı", - "no-chats-found": "Henüz sohbet bulunamadı", - "no-metrics-found": "Henüz metrik bulunamadı", - "no-prediction-models-found": "Henüz tahmin modeli bulunamadı", - "no-views-found": "Henüz görünüm bulunamadı", + "no-anomaly-models-found": "Henüz anomali tespiti modeli yok", + "no-calculated-fields-found": "Henüz hesaplanmış alan yok", + "no-chats-found": "Henüz sohbet yok", + "no-metrics-found": "Henüz metrik yok", + "no-prediction-models-found": "Henüz tahmin modeli yok", + "no-views-found": "Henüz görünüm yok", "prediction-models": "Tahmin modelleri", "prediction-models-description": "Tahmin ve öngörücü analizler", "read-upgrade-guide": "Yükseltme kılavuzunu oku", @@ -12639,15 +14307,15 @@ "service-connection": "Hizmet bağlantısı", "service-unavailable": "{{ name }} geçici olarak kullanılamıyor", "service-unavailable-message": "Şu anda {{ name }} hizmetine erişimi engelleyen teknik bir sorun yaşıyoruz.", - "service-unavailable-incident-reported": "Neden, Platform ile Analytics sunucuları arasındaki yapılandırma veya bağlantı problemi. Lütfen bu sorunu Sistem Yöneticinize bildirin.", + "service-unavailable-incident-reported": "Sorunun nedeni, Platform ile Analytics sunucuları arasındaki bir yapılandırma veya bağlantı sorunudur. Lütfen bu sorunu Sistem Yöneticinize bildirin.", "service-unavailable-report-issue": "Sorunu bildir", "service-unavailable-request-sent-title": "Bu sorunla ilgili olarak Sistem Yöneticinize otomatik bir talep gönderdik", - "service-unavailable-request-sent-message": "Lütfen talebin gözden geçirilmesi ve ayarların güncellenmesi için biraz zaman tanıyın. Değişiklikleri görmek için bu sayfayı yenileyebilirsiniz.", + "service-unavailable-request-sent-message": "Lütfen talebi inceleyip ayarları güncellemeleri için biraz zaman tanıyın. Değişiklikleri görmek için bu sayfayı yenilemeniz gerekebilir.", "sync": { - "sync-completed": "Senkranizasyon başarıyla tamamlandı", - "sync-disabled": "Senkranizasyon, Trendz yapılandırması tarafından devre dışı bırakıldı", - "sync-internal-error": "Beklenmeyen iç senkranizasyon hatası", - "sync-not-initialized": "Trendz senkranizasyonu başlatılmadı", + "sync-completed": "Senkronizasyon başarıyla tamamlandı", + "sync-disabled": "Senkronizasyon, Trendz yapılandırması tarafından devre dışı bırakıldı", + "sync-internal-error": "Beklenmeyen iç senkronizasyon hatası", + "sync-not-initialized": "Trendz senkronizasyonu başlatılmadı", "tb-auth-invalid": "ThingsBoard kimlik doğrulaması başarısız. Geçersiz API anahtarı", "tb-url-mismatch": "Sağlanan ThingsBoard URL'si, ThingsBoard'da saklanan URL ile uyuşmuyor", "tb-url-unreachable": "ThingsBoard URL'sine ulaşılamıyor", @@ -12667,14 +14335,15 @@ "trendz-internal-url-invalid": "Trendz iç URL'si geçersiz", "trendz-internal-url-required": "Trendz iç URL'si gereklidir", "trendz-settings": "Trendz ayarları", + "trendz": "Trendz", "views": "Görünümler", "views-description": "Yapılandırılmış görselleştirme grupları ve raporlar", - "trendz-synced": "Senkranizasyon başarıyla tamamlandı", - "trendz-available": "Senkranizasyon tamamlanmadı", + "trendz-synced": "Senkronizasyon başarıyla tamamlandı", + "trendz-available": "Senkronizasyon tamamlanmadı", "trendz-unavailable": "Hizmet tespit edilmedi", - "view-all": "Hepsini Gör", + "view-all": "Tümünü görüntüle", "view-type": { - "ai-card": "AI Kartı", + "ai-card": "Yapay zeka kartı", "bar": "Çubuk", "card": "Kart", "card-with-line": "Kart ve Çizgi", @@ -12687,7 +14356,7 @@ } }, "language": { - "auto": "Auto", + "auto": "Otomatik", "language": "Dil" } } From 868b838f9d669981ef97f9f15c34ab85974cc78e Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Thu, 29 Oct 2026 18:05:44 +0200 Subject: [PATCH 368/559] Updated Danish locale translations for 4.4 (#16506) * Update Danish translation for 4.4: missing keys, terminology, consistency * Remove Danish keys that en_US no longer has --- .../assets/locale/locale.constant-da_DK.json | 6239 +++++++++++------ 1 file changed, 3954 insertions(+), 2285 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index fb4c1f5b0f..06bcccec27 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -1,4 +1,103 @@ { + "setup": { + "activate-platform": "Aktivér ThingsBoard", + "initial": { + "welcome": "Velkommen til ThingsBoard {{version}}", + "title": "Få din gratis licens, og begynd at bygge", + "desc": "Et par minutter i licensportalen — du opretter en konto, vælger en licens, og denne instans aktiverer sig selv.", + "open-license-portal": "Åbn licensportalen", + "already-have-license": "Har du allerede en licens?", + "free-no-credit-card": "Altid gratis. Intet kreditkort nødvendigt.", + "source-available": "Kildekode tilgængelig under" + }, + "waiting": { + "live-eyebrow": "Venter på aktivering", + "title": "Fortsæt i licensportalen", + "desc": "Log ind, eller opret en konto, vælg en licens, og acceptér vilkårene. Denne instans aktiverer sig selv, når licensen er udstedt.", + "nothing-opened": "Åbnede der ikke noget?", + "paste-link-or-scan-qr-code": "Indsæt tekstlinket på en hvilken som helst enhed med internet, eller scan QR-koden med en telefon.", + "text-link": "Tekstlink", + "qr-code": "QR-kode", + "qr-code-hint": "Ret en telefons kamera mod koden, og åbn derefter linket. Telefonen skal have sin egen internetforbindelse.", + "have-key": "Har du en licensnøgle?", + "activate-key": "Aktivér licens med en nøgle" + }, + "offline": { + "eyebrow": "Offline", + "title": "Aktivér fra en anden enhed", + "desc": "Denne server kan ikke nå licensportalen, så det kræver to trin: hent din licens der på en enhed med forbindelse, og indtast derefter nøglen her.", + "get-your-license": "Hent din licens i portalen", + "open-link": "Åbn dette link på en hvilken som helst enhed med internet. Du logger ind eller opretter en konto, vælger en licens og accepterer vilkårene. Portalen viser dig derefter en licensnøgle.", + "paste-key": "Indsæt nøglen her", + "no-connected-device": "Ingen enhed med internetforbindelse?" + }, + "have-key": { + "title": "Aktivér licens med en nøgle", + "enter-license-key": "Indtast din licensnøgle", + "enter-license-key-note": "Du finder den i din licensportalkonto: log ind på {{hostName}} fra en hvilken som helst enhed, og kopiér den derfra.", + "no-account": "Ingen konto og ingen enhed med internetforbindelse?", + "contact-support": "Kontakt support" + }, + "key-form": { + "placeholder": "Indsæt din licensnøgle", + "invalid": "Nøglen er ikke gyldig for denne instans. Tjek, om der mangler et tegn, eller kontakt support.", + "activate": "Aktivér", + "activating": "Aktiverer" + }, + "account": { + "title": "Denne instans er aktiveret", + "desc": "Din licens er gemt på denne server og i din licensportalkonto.", + "create-sys-admin-account": "Opret en systemadministratorkonto", + "create-sys-admin-account-hint": "Den logger dig ind på denne server — adskilt fra den licensportalkonto, der indeholder din licens.", + "email-label": "E-mail", + "email-required": "Indtast en e-mailadresse.", + "email-invalid": "Indtast en gyldig e-mailadresse.", + "password-label": "Adgangskode", + "password-required": "Indtast en adgangskode.", + "password-min-length": "Adgangskoden skal være på mindst 6 tegn.", + "confirm-label": "Bekræft adgangskode", + "confirm-required": "Bekræft din adgangskode.", + "confirm-mismatch": "Adgangskoderne stemmer ikke overens.", + "demo-tenant-title": "Opret en demolejer", + "demo-tenant-desc": "Den hurtigste måde at se platformen i aktion på. Dashboards, enheder og regelkæder er allerede sat op, og lejer- og kundebrugere er klar til at logge ind. Du kan også åbne den fra Lejere som systemadministrator.", + "create": "Opret konto", + "creating": "Opretter konto" + }, + "demo-tenant": { + "signed-in-as": "Din systemadministratorkonto er oprettet, og du er logget ind som {{email}}.", + "title": "Vil du udforske demolejeren?", + "desc": "Det grundlæggende er allerede konfigureret — åbn et dashboard, ret en regel, eller tilslut din egen enhed.", + "dashboards": "Dashboards — bygget på enhederne nedenfor, med widget-bindingerne allerede på plads", + "devices": "Enheder — med deres enhedsprofiler og alarmregler; ingen har sendt data endnu", + "rule-chains": "Regelkæder — hvor disse alarmer afgøres", + "explore": "Udforsk demolejeren", + "not-now": "Ikke nu", + "not-now-hint": "Ikke nu fører dig til systemadministration.", + "signing-in-later": "Til senere login", + "demo-tenant-hint": "Lejerens egen administrator. Som systemadministrator kan du også åbne lejeren fra Lejere uden adgangskode." + }, + "non-production": { + "eyebrow": "Genbekræftelse påkrævet", + "title": "Bekræft, at denne udrulning stadig ikke bruges i produktion.", + "desc": "Denne instans kører på en gratis licens til ikke-produktionsbrug, som en systemadministrator genbekræfter med jævne mellemrum. Bekræftelsen påvirker ikke dine data, brugere eller enhedernes forbindelse.", + "confirm": "Bekræft", + "confirming": "Bekræfter", + "sysadmin-required": "Kun en systemadministrator kan bekræfte dette.", + "login-as-sysadmin": "Log ind som systemadministrator", + "state-verify-failed": "Bekræftet, men tilstanden kunne ikke verificeres. Opdatér siden.", + "state-not-updated": "Denne instans rapporterer stadig bekræftelsen som udestående. Opdatér siden, og bekræft igen." + }, + "errors": { + "signin-failed": "Kontoen er oprettet, men det automatiske login mislykkedes. Opdatér siden, og log ind manuelt.", + "state-not-updated": "Opsætningen er fuldført, men tilstanden er ikke opdateret. Opdatér siden.", + "state-verify-failed": "Opsætningen er fuldført, men tilstanden kunne ikke verificeres. Opdatér siden.", + "no-sign-up-url": "Denne instans svarede uden et link, så der er intet at åbne.", + "link-expired": "Linket er udløbet. Åbn licensportalen igen for at få et nyt.", + "activated-state-verify-failed": "Denne instans er licenseret, men det næste trin kunne endnu ikke læses. Prøver stadig — du kan også opdatere siden.", + "no-connection": "Ingen forbindelse til serveren. Prøv igen senere.", + "request-failed": "Anmodningen mislykkedes. Prøv igen." + } + }, "access": { "unauthorized": "Uautoriseret", "unauthorized-access": "Uautoriseret adgang", @@ -16,7 +115,7 @@ }, "action": { "activate": "Aktivér", - "suspend": "Suspender", + "suspend": "Suspendér", "save": "Gem", "saveAs": "Gem som", "move": "Flyt", @@ -26,12 +125,12 @@ "add": "Tilføj", "yes": "Ja", "no": "Nej", - "update": "Opdater", + "update": "Opdatér", "remove": "Fjern", "search": "Søg", "clear-search": "Ryd søgning", "assign": "Tildel", - "unassign": "Fratildel", + "unassign": "Fjern tildeling", "share": "Del", "make-private": "Gør privat", "make-public": "Gør offentlig", @@ -53,6 +152,7 @@ "refresh": "Opdatér", "undo": "Fortryd", "copy": "Kopiér", + "copied": "Kopieret", "paste": "Indsæt", "copy-reference": "Kopiér reference", "paste-reference": "Indsæt reference", @@ -80,16 +180,19 @@ "reset-default": "Nulstil til standard", "show-more": "Vis mere", "dont-show-again": "Vis ikke igen", + "dont-show-this-again": "Vis ikke dette igen", "see-documentation": "Se dokumentation", - "see-debug-events": "Se debug-hændelser", + "see-debug-events": "Se fejlfindingshændelser", "clear": "Ryd", "upload": "Upload", "delete-anyway": "Slet alligevel", "delete-selected": "Slet valgte", "set": "Indstil", "duplicate": "Duplikér", - "disable": "Deaktiver", - "enable": "Aktivér" + "disable": "Deaktivér", + "enable": "Aktivér", + "rename": "Omdøb", + "retry": "Prøv igen" }, "aggregation": { "aggregation": "Aggregering", @@ -105,9 +208,10 @@ }, "admin": { "settings": "Indstillinger", + "platform": "Platform", "general": "Generelt", "general-settings": "Generelle indstillinger", - "home-settings": "Hjem-indstillinger", + "home-settings": "Indstillinger for startside", "home": "Hjem", "outgoing-mail": "Mailserver", "outgoing-mail-settings": "Indstillinger for udgående mailserver", @@ -132,7 +236,7 @@ "host": "Vært", "port": "Port", "port-pattern": "Porten skal være et positivt heltal.", - "port-range": "Porten skal være i intervallet fra 1 til 65535." + "port-range": "Port skal være mellem 1 og 65535." }, "mail-from": "Mail fra", "mail-from-required": "Mail fra er påkrævet.", @@ -152,7 +256,7 @@ "proxy-host-required": "Proxy-vært er påkrævet.", "proxy-port": "Proxy-port", "proxy-port-required": "Proxy-port er påkrævet.", - "proxy-port-range": "Proxy-porten skal være i intervallet fra 1 til 65535.", + "proxy-port-range": "Proxy-port skal være mellem 1 og 65535.", "proxy-user": "Proxy-bruger", "proxy-password": "Proxy-adgangskode", "change-password": "Skift adgangskode", @@ -201,32 +305,32 @@ "sms-message": "SMS-besked", "sms-message-required": "SMS-besked er påkrævet.", "sms-message-max-length": "SMS-beskeden må ikke være længere end 1600 tegn", - "twilio-account-sid": "Twilio-konto SID", - "twilio-account-sid-required": "Twilio-konto SID er påkrævet", - "twilio-account-token": "Twilio-konto Token", - "twilio-account-token-required": "Twilio-konto Token er påkrævet", + "twilio-account-sid": "SID for Twilio-konto", + "twilio-account-sid-required": "SID for Twilio-konto er påkrævet", + "twilio-account-token": "Token for Twilio-konto", + "twilio-account-token-required": "Token for Twilio-konto er påkrævet", "send-test-sms": "Send test-SMS", "test-sms-sent": "Test-SMS blev sendt med succes!", "security-settings": "Sikkerhedsindstillinger", "password-policy": "Adgangskodepolitik", - "minimum-password-length": "Minimum adgangskodelængde", - "minimum-password-length-required": "Minimum adgangskodelængde er påkrævet", - "minimum-password-length-range": "Minimum adgangskodelængde skal være mellem 6 og 50", + "minimum-password-length": "Mindste længde på adgangskode", + "minimum-password-length-required": "Mindste længde på adgangskode er påkrævet", + "minimum-password-length-range": "Mindste længde på adgangskode skal være mellem 6 og 50", "maximum-password-length": "Maksimal adgangskodelængde", "maximum-password-length-min": "Maksimal adgangskodelængde skal være mindst 6", - "maximum-password-length-less-min": "Maksimal adgangskodelængde skal være større end minimumslængde", - "minimum-uppercase-letters": "Minimum antal store bogstaver", - "minimum-uppercase-letters-range": "Minimum antal store bogstaver må ikke være negativt", - "minimum-lowercase-letters": "Minimum antal små bogstaver", - "minimum-lowercase-letters-range": "Minimum antal små bogstaver må ikke være negativt", - "minimum-digits": "Minimum antal cifre", - "minimum-digits-range": "Minimum antal cifre må ikke være negativt", - "minimum-special-characters": "Minimum antal specialtegn", - "minimum-special-characters-range": "Minimum antal specialtegn må ikke være negativt", + "maximum-password-length-less-min": "Maksimal adgangskodelængde skal være større end minimumslængden", + "minimum-uppercase-letters": "Mindste antal store bogstaver", + "minimum-uppercase-letters-range": "Mindste antal store bogstaver må ikke være negativt", + "minimum-lowercase-letters": "Mindste antal små bogstaver", + "minimum-lowercase-letters-range": "Mindste antal små bogstaver må ikke være negativt", + "minimum-digits": "Mindste antal cifre", + "minimum-digits-range": "Mindste antal cifre må ikke være negativt", + "minimum-special-characters": "Mindste antal specialtegn", + "minimum-special-characters-range": "Mindste antal specialtegn må ikke være negativt", "password-expiration-period-days": "Adgangskodeudløbsperiode i dage", "password-expiration-period-days-range": "Adgangskodeudløbsperiode i dage må ikke være negativ", - "password-reuse-frequency-days": "Adgangskodegenbrug hyppighed i dage", - "password-reuse-frequency-days-range": "Adgangskodegenbrug hyppighed i dage må ikke være negativ", + "password-reuse-frequency-days": "Hyppighed for genbrug af adgangskode i dage", + "password-reuse-frequency-days-range": "Hyppighed for genbrug af adgangskode i dage må ikke være negativ", "allow-whitespace": "Tillad mellemrum", "force-reset-password-if-no-valid": "Tving nulstilling af adgangskode, hvis ikke gyldig", "force-reset-password-if-no-valid-hint": "Vær forsigtig, når denne funktion aktiveres: brugere med ugyldige adgangskoder skal nulstille deres adgangskode via e-mail.", @@ -234,10 +338,10 @@ "max-failed-login-attempts": "Maksimalt antal mislykkede loginforsøg, før kontoen låses", "minimum-max-failed-login-attempts-range": "Maksimalt antal mislykkede loginforsøg må ikke være negativt", "user-lockout-notification-email": "Ved kontolåsning, send notifikation til e-mail", - "user-activation-token-ttl": "Brugeraktiveringslink TTL i timer", - "user-activation-token-ttl-range": "Brugeraktiveringslink TTL skal være mellem 1 og 24 timer", - "password-reset-token-ttl": "Link til nulstilling af adgangskode TTL i timer", - "password-reset-token-ttl-range": "Link til nulstilling af adgangskode TTL skal være mellem 1 og 24 timer", + "user-activation-token-ttl": "TTL for brugeraktiveringslink i timer", + "user-activation-token-ttl-range": "TTL for brugeraktiveringslink skal være mellem 1 og 24 timer", + "password-reset-token-ttl": "TTL for link til nulstilling af adgangskode i timer", + "password-reset-token-ttl-range": "TTL for link til nulstilling af adgangskode skal være mellem 1 og 24 timer", "mobile-secret-key-length": "Længde på mobil hemmelig nøgle", "mobile-secret-key-length-range": "Længden på mobil hemmelig nøgle skal være positiv", "domain-name": "Domænenavn", @@ -264,9 +368,9 @@ "no-oauth2-clients": "Ingen OAuth 2.0-klienter fundet", "search-oauth2-clients": "Søg OAuth 2.0-klienter", "delete-client-title": "Er du sikker på, at du vil slette OAuth 2.0-klienten '{{clientName}}'?", - "delete-client-text": "Vær forsigtig, efter bekræftelse vil klienten og alle relaterede data være uoprettelige.", + "delete-client-text": "Vær forsigtig: Efter bekræftelsen kan klienten og alle relaterede data ikke gendannes.", "delete-mobile-app-title": "Er du sikker på, at du vil slette mobilapplikationen '{{applicationName}}'?", - "delete-mobile-app-text": "Vær forsigtig, efter bekræftelse vil mobilapplikationen og alle relaterede data være uoprettelige.", + "delete-mobile-app-text": "Vær forsigtig: Efter bekræftelsen kan mobilapplikationen og alle relaterede data ikke gendannes.", "title": "Titel", "client-title-required": "Titel er påkrævet", "client-title-max-length": "Titel skal være mindre end 100 tegn", @@ -288,12 +392,12 @@ "client-secret-required": "Klienthemmelighed er påkrævet.", "client-secret-max-length": "Klienthemmelighed skal være mindre end 2049 tegn", "custom-setting": "Brugerdefinerede indstillinger", - "customer-name-pattern": "Mønsternavn for kunde", - "customer-name-pattern-max-length": "Mønsternavn for kunde skal være mindre end 256 tegn", - "parent-customer-name-pattern": "Mønsternavn for overordnet kunde", - "user-groups-name-pattern": "Mønsternavn for brugergrupper", - "default-dashboard-name": "Standard dashboard-navn", - "default-dashboard-name-max-length": "Standard dashboard-navn skal være mindre end 256 tegn", + "customer-name-pattern": "Mønster for kundenavn", + "customer-name-pattern-max-length": "Mønster for kundenavn skal være mindre end 256 tegn", + "parent-customer-name-pattern": "Mønster for navn på overordnet kunde", + "user-groups-name-pattern": "Mønster for navn på brugergrupper", + "default-dashboard-name": "Standardnavn for dashboard", + "default-dashboard-name-max-length": "Standardnavn for dashboard skal være mindre end 256 tegn", "delete-domain-text": "Vær forsigtig, efter bekræftelse vil domænet og alle udbyderdata ikke længere være tilgængelige.", "delete-domain-title": "Er du sikker på, at du vil slette domænet '{{domainName}}'?", "delete-registration-text": "Vær forsigtig, efter bekræftelse vil udbyderdata ikke længere være tilgængelige.", @@ -301,13 +405,13 @@ "email-attribute-key": "E-mail-attributnøgle", "email-attribute-key-required": "E-mail-attributnøgle er påkrævet.", "email-attribute-key-max-length": "E-mail-attributnøgle skal være mindre end 32 tegn", - "first-name-attribute-key": "Fornavn-attributnøgle", - "first-name-attribute-key-max-length": "Fornavn-attributnøgle skal være mindre end 32 tegn", + "first-name-attribute-key": "Attributnøgle for fornavn", + "first-name-attribute-key-max-length": "Attributnøgle for fornavn skal være mindre end 32 tegn", "general": "Generelt", "jwk-set-uri": "JSON Web Key URI", - "last-name-attribute-key": "Efternavn-attributnøgle", - "last-name-attribute-key-max-length": "Efternavn-attributnøgle skal være mindre end 32 tegn", - "login-button-icon": "Login-knap ikon", + "last-name-attribute-key": "Attributnøgle for efternavn", + "last-name-attribute-key-max-length": "Attributnøgle for efternavn skal være mindre end 32 tegn", + "login-button-icon": "Login-knapikon", "login-button-label": "Udbydernavn", "login-button-label-placeholder": "Log ind med $(Provider label)", "login-button-label-required": "Etiket er påkrævet.", @@ -323,9 +427,9 @@ "registration-id-unique": "Registrerings-ID skal være unikt i systemet.", "scope": "Omfang", "scope-required": "Omfang er påkrævet.", - "tenant-name-pattern": "Mønsternavn for lejer", - "tenant-name-pattern-required": "Mønsternavn for lejer er påkrævet.", - "tenant-name-pattern-max-length": "Mønsternavn for lejer skal være mindre end 256 tegn", + "tenant-name-pattern": "Mønster for lejernavn", + "tenant-name-pattern-required": "Mønster for lejernavn er påkrævet.", + "tenant-name-pattern-max-length": "Mønster for lejernavn skal være mindre end 256 tegn", "tenant-name-strategy": "Strategi for lejerens navn", "type": "Mapper-type", "uri-pattern-error": "Ugyldigt URI-format.", @@ -333,11 +437,11 @@ "url-pattern": "Ugyldigt URL-format.", "url-required": "URL er påkrævet.", "url-max-length": "URL skal være mindre end 256 tegn", - "user-info-uri": "Brugerinfo URI", - "user-info-uri-required": "Brugerinfo URI er påkrævet.", + "user-info-uri": "Brugerinfo-URI", + "user-info-uri-required": "Brugerinfo-URI er påkrævet.", "username-max-length": "Brugernavn skal være mindre end 256 tegn", - "user-name-attribute-name": "Brugernavn-attributnøgle", - "user-name-attribute-name-required": "Brugernavn-attributnøgle er påkrævet", + "user-name-attribute-name": "Attributnøgle for brugernavn", + "user-name-attribute-name-required": "Attributnøgle for brugernavn er påkrævet", "protocol": "Protokol", "domain-schema-http": "HTTP", "domain-schema-https": "HTTPS", @@ -351,7 +455,7 @@ "mobile-apps": "Mobilapplikationer", "mobile-package": "Applikationspakke", "mobile-package-placeholder": "F.eks.: my.example.app", - "mobile-package-hint": "For Android: dit eget unikke Application ID. For iOS: Produktets bundle-identifikator.", + "mobile-package-hint": "For Android: dit eget unikke applikations-id. For iOS: produktets bundt-id.", "mobile-package-unique": "Applikationspakken skal være unik.", "mobile-package-required": "Applikationspakken er påkrævet.", "mobile-package-max-length": "Applikationspakken skal være mindre end 256 tegn", @@ -378,8 +482,8 @@ "domain-name": "Domænenavn", "domain-name-required": "Domænenavn er påkrævet", "redirect-url-template": "Skabelon for omdirigerings-URI", - "microsoft-tenant-id": "Katalog (lejer) ID", - "microsoft-tenant-id-required": "Katalog (lejer) ID er påkrævet", + "microsoft-tenant-id": "Katalog-ID (lejer)", + "microsoft-tenant-id-required": "Katalog-ID (lejer) er påkrævet", "token-uri": "Token-URI", "token-uri-required": "Token-URI er påkrævet", "redirect-uri": "Omdirigerings-URI", @@ -415,10 +519,10 @@ "bind-type": "Bind-type", "service-type": "Tjenestetype", "source-address": "Kildeadresse", - "source-ton": "Kilde TON", - "source-npi": "Kilde NPI", - "destination-ton": "Destination TON (Nummerets type)", - "destination-npi": "Destination NPI (Nummereringsplanidentifikation)", + "source-ton": "Kilde-TON", + "source-npi": "Kilde-NPI", + "destination-ton": "Destinations-TON (nummerets type)", + "destination-npi": "Destinations-NPI (nummereringsplanidentifikation)", "address-range": "Adresseområde", "coding-scheme": "Kodningsskema", "bind-type-tx": "Afsender", @@ -433,7 +537,7 @@ "ton-abbreviated": "Forkortet", "npi-unknown": "0 - Ukendt", "npi-isdn": "1 - ISDN/telefonnummereringsplan (E163/E164)", - "npi-data-numbering-plan": "3 - Data-nummereringsplan (X.121)", + "npi-data-numbering-plan": "3 - Datanummereringsplan (X.121)", "npi-telex-numbering-plan": "4 - Telex-nummereringsplan (F.69)", "npi-land-mobile": "6 - Landmobil (E.212)", "npi-national-numbering-plan": "8 - National nummereringsplan", @@ -441,7 +545,7 @@ "npi-ermes-numbering-plan": "10 - ERMES-nummereringsplan (ETSI DE/PS 3 01-3)", "npi-internet": "13 - Internet (IP)", "npi-wap-client-id": "18 - WAP-klient-ID (defineres af WAP Forum)", - "scheme-smsc": "0 - SMSC Standard Alfabet (ASCII for korte og lange koder og GSM for gratisnumre)", + "scheme-smsc": "0 - SMSC-standardalfabet (ASCII for korte og lange koder og GSM for gratisnumre)", "scheme-ia5": "1 - IA5 (ASCII for korte og lange koder, Latin 9 for gratisnumre (ISO-8859-9))", "scheme-octet-unspecified-2": "2 - Oktet uspecificeret (8-bit binær)", "scheme-latin-1": "3 - Latin 1 (ISO-8859-1)", @@ -451,7 +555,7 @@ "scheme-latin-hebrew": "7 - Latin/Hebræisk (ISO-8859-8)", "scheme-ucs-utf": "8 - UCS2/UTF-16 (ISO/IEC-10646)", "scheme-pictogram-encoding": "9 - Piktogramkodning", - "scheme-music-codes": "10 - Musik-koder (ISO-2022-JP)", + "scheme-music-codes": "10 - Musikkoder (ISO-2022-JP)", "scheme-extended-kanji-jis": "13 - Udvidet Kanji JIS (X 0212-1990)", "scheme-korean-graphic-character-set": "14 - Koreansk grafisk tegnsæt (KS C 5601/KS X 1001)" }, @@ -463,17 +567,17 @@ "queue-submit-strategy": "Indsendelsesstrategi", "queue-processing-strategy": "Behandlingsstrategi", "queue-configuration": "Køkonfiguration", - "repository-settings": "Versionskontrolindstillinger", - "repository": "Versionskontrol", - "repository-url": "Versionskontrol-URL", - "repository-url-required": "Versionskontrol-URL er påkrævet.", - "default-branch": "Standard branch-navn", + "repository-settings": "Arkivindstillinger", + "repository": "Arkiv", + "repository-url": "Arkiv-URL", + "repository-url-required": "Arkiv-URL er påkrævet.", + "default-branch": "Navn på standardbranch", "repository-read-only": "Skrivebeskyttet", "show-merge-commits": "Vis flette-commits", "authentication-settings": "Autentificeringsindstillinger", "auth-method": "Autentificeringsmetode", "auth-method-username-password": "Adgangskode / adgangstoken", - "auth-method-username-password-hint": "GitHub-brugere skal bruge tokens med skriverettigheder til depotet.", + "auth-method-username-password-hint": "GitHub-brugere skal bruge adgangstokens med skriverettigheder til arkivet.", "auth-method-private-key": "Privat nøgle", "password-access-token": "Adgangskode / adgangstoken", "change-password-access-token": "Skift adgangskode / adgangstoken", @@ -483,15 +587,15 @@ "enter-passphrase": "Indtast adgangsfrase", "change-passphrase": "Skift adgangsfrase", "check-access": "Tjek adgang", - "check-repository-access-success": "Adgang til versionskontrol blev bekræftet!", - "delete-repository-settings-title": "Er du sikker på, at du vil slette versionskontrolindstillingerne?", - "delete-repository-settings-text": "Vær forsigtig, efter bekræftelse fjernes indstillingerne og versionskontrolfunktionen bliver utilgængelig.", + "check-repository-access-success": "Adgang til arkivet blev bekræftet!", + "delete-repository-settings-title": "Er du sikker på, at du vil slette arkivindstillingerne?", + "delete-repository-settings-text": "Vær forsigtig: Efter bekræftelsen fjernes arkivindstillingerne, og versionskontrolfunktionen bliver utilgængelig.", "auto-commit-settings": "Indstillinger for automatisk commit", "auto-commit": "Automatisk commit", - "auto-commit-entities": "Automatisk commit-enheder", - "no-auto-commit-entities-prompt": "Ingen enheder konfigureret til automatisk commit", + "auto-commit-entities": "Entiteter med automatisk commit", + "no-auto-commit-entities-prompt": "Ingen entiteter konfigureret til automatisk commit", "delete-auto-commit-settings-title": "Er du sikker på, at du vil slette indstillingerne for automatisk commit?", - "delete-auto-commit-settings-text": "Vær forsigtig, efter bekræftelse fjernes indstillingerne og automatisk commit deaktiveres for alle enheder.", + "delete-auto-commit-settings-text": "Vær forsigtig, efter bekræftelse fjernes indstillingerne og automatisk commit deaktiveres for alle entiteter.", "mobile-app": { "mobile-app": "Mobilapp", "mobile-app-qr-code-widget-settings": "Indstillinger for mobilapp QR-kode-widget", @@ -514,11 +618,11 @@ "preview": "Forhåndsvisning", "connect-mobile-app": "Tilslut mobilapp", "use-system-settings": "Brug systemindstillinger", - "warning-not-set-white-labeling": "Disse indstillinger kan ikke anvendes uden angivelse af Base URL i Login white labeling. Indstil først ", + "warning-not-set-white-labeling": "Disse indstillinger kan ikke anvendes uden angivelse af Basis-URL i Login white labeling. Før du redigerer indstillingerne for QR-kode-widgetten, skal du angive ", "base-url": "Basis-URL" }, "2fa": { - "2fa": "To-faktor autentificering", + "2fa": "Tofaktorautentificering", "available-providers": "Tilgængelige udbydere", "available-providers-required": "Mindst én 2FA-udbyder skal være konfigureret.", "issuer-name": "Udsteders navn", @@ -538,11 +642,11 @@ "total-allowed-time-for-verification": "Total tilladt tid til verificering (sek)", "total-allowed-time-for-verification-pattern": "Mindste tilladte tid er 60 sek.", "total-allowed-time-for-verification-required": "Total tilladt tid er påkrævet.", - "use-system-two-factor-auth-settings": "Brug systemets to-faktor autentificeringsindstillinger", + "use-system-two-factor-auth-settings": "Brug systemets indstillinger for tofaktorautentificering", "verification-code-check-rate-limit": "Begrænsning af verificeringsforsøg", - "verification-code-lifetime": "Verificeringskode levetid (sek)", - "verification-code-lifetime-pattern": "Verificeringskode levetid skal være et positivt heltal.", - "verification-code-lifetime-required": "Verificeringskode levetid er påkrævet.", + "verification-code-lifetime": "Levetid for verificeringskode (sek)", + "verification-code-lifetime-pattern": "Levetid for verificeringskode skal være et positivt heltal.", + "verification-code-lifetime-required": "Levetid for verificeringskode er påkrævet.", "verification-message-template": "Skabelon for verificeringsbesked", "verification-limitations": "Begrænsninger for verificering", "verification-message-template-pattern": "Verificeringsbeskeden skal indeholde mønsteret: ${code}", @@ -550,11 +654,11 @@ "within-time": "Inden for tid (sek)", "within-time-pattern": "Tiden skal være et positivt heltal.", "within-time-required": "Tid er påkrævet.", - "force-2fa": "Gennemtving tofaktorgodkendelse", + "force-2fa": "Gennemtving tofaktorautentificering", "enforce-for": "Gennemtving for" }, "jwt": { - "security-settings": "JWT sikkerhedsindstillinger", + "security-settings": "JWT-sikkerhedsindstillinger", "issuer-name": "Udsteders navn", "issuer-name-required": "Udsteders navn er påkrævet.", "signings-key": "Signeringsnøgle", @@ -578,16 +682,16 @@ "resources": "Ressourcer", "notifications": "Notifikationer", "notifications-settings": "Indstillinger for notifikationer", - "slack-api-token": "Slack API-nøgle", + "slack-api-token": "Slack API-token", "slack": "Slack", "slack-settings": "Slack-indstillinger", "mobile-settings": "Mobilindstillinger", - "firebase-service-account-file": "Firebase servicekonto-legitimationsoplysninger JSON-fil", - "select-firebase-service-account-file": "Træk og slip din Firebase servicekonto-legitimationsfil eller ", + "firebase-service-account-file": "JSON-fil med legitimationsoplysninger til Firebase-servicekonto", + "select-firebase-service-account-file": "Træk og slip filen med legitimationsoplysninger til din Firebase-servicekonto eller ", "use-system-mobile-settings": "Brug systemets mobilindstillinger" }, "ai-assistant": { - "configure-with-ai": "Konfigurer med AI", + "configure-with-ai": "Konfigurér med AI", "follow-up-prompt-placeholder": "Svar...", "sub-title": "Jeg kan hjælpe dig med at opsætte og administrere dine enheder, dashboards, beregnede felter, alarmregler og notifikationer — beskriv blot, hvad du har brug for, så klarer jeg resten.", "new-chat": "Ny chat", @@ -601,13 +705,17 @@ "delete-chat-confirm": "Ja, slet", "action-approval-required": "Godkendelse af handlingen påkrævet", "approve": "Godkend", + "approve-all": "Godkend alle yderligere handlinger", "deny": "Afvis", "processing": "Behandler...", "approved": "Færdig", "denied": "Afvist", "error": "Mislykkedes", "thinking": "Tænker...", + "connection-lost": "Forbindelsen til AI-assistenten blev afbrudt. Genopretter forbindelsen...", + "reconnect-failed": "Kunne ikke genoprette forbindelsen til AI-assistenten. Åbn chatten igen for at se svaret.", "rename-chat-title": "Omdøb denne chat", + "export-chat": "Eksportér chat", "main-title": "Hej! Jeg er din AI-assistent" }, "alarm": { @@ -627,30 +735,30 @@ "ANY": "Enhver", "ACTIVE": "Aktiv", "CLEARED": "Ryddet", - "ACK": "Anerkendt", - "UNACK": "Ikke anerkendt" + "ACK": "Kvitteret", + "UNACK": "Ikke kvitteret" }, "display-status": { - "ACTIVE_UNACK": "Aktiv - ikke anerkendt", - "ACTIVE_ACK": "Aktiv - anerkendt", - "CLEARED_UNACK": "Ryddet - ikke anerkendt", - "CLEARED_ACK": "Ryddet - anerkendt" + "ACTIVE_UNACK": "Aktiv - ikke kvitteret", + "ACTIVE_ACK": "Aktiv - kvitteret", + "CLEARED_UNACK": "Ryddet - ikke kvitteret", + "CLEARED_ACK": "Ryddet - kvitteret" }, "no-alarms-prompt": "Ingen alarmer fundet", "created-time": "Oprettelsestidspunkt", "type": "Type", "severity": "Alvorlighed", - "originator": "Ophavsmand", - "originator-type": "Ophavstype", + "originator": "Afsender", + "originator-type": "Afsendertype", "details": "Detaljer", - "originator-label": "Etiket for ophavsmand", + "originator-label": "Etiket for afsender", "assign": "Tildel", "assignments": "Tildelinger", "assignee": "Tildelt person", - "assignee-id": "Tildelt ID", - "assignee-first-name": "Tildelt fornavn", - "assignee-last-name": "Tildelt efternavn", - "assignee-email": "Tildelt e-mail", + "assignee-id": "ID for tildelt person", + "assignee-first-name": "Fornavn på tildelt person", + "assignee-last-name": "Efternavn på tildelt person", + "assignee-email": "E-mail for tildelt person", "unassigned": "Ikke tildelt", "user-deleted": "Bruger slettet", "assignee-not-set": "Alle", @@ -659,7 +767,7 @@ "start-time": "Starttidspunkt", "assign-time": "Tildelingstidspunkt", "end-time": "Sluttidspunkt", - "ack-time": "Tidspunkt for anerkendelse", + "ack-time": "Tidspunkt for kvittering", "clear-time": "Tidspunkt for rydning", "duration": "Varighed", "alarm-severity": "Alarmens alvorlighed", @@ -667,10 +775,10 @@ "any-severity": "Enhver alvorlighed", "severity-critical": "Kritisk", "severity-major": "Alvorlig", - "severity-minor": "Mindre", + "severity-minor": "Mindre alvorlig", "severity-warning": "Advarsel", - "severity-indeterminate": "Ubetinget", - "acknowledge": "Anerkend", + "severity-indeterminate": "Ubestemt", + "acknowledge": "Kvittér", "clear": "Ryd", "delete": "Slet", "search": "Søg alarmer", @@ -679,11 +787,11 @@ "polling-interval": "Interval for alarmopdatering (sek)", "polling-interval-required": "Interval for alarmopdatering er påkrævet.", "min-polling-interval-message": "Mindste tilladte interval er 1 sek.", - "aknowledge-alarms-title": "Anerkend { count, plural, =1 {1 alarm} other {# alarmer} }", - "aknowledge-alarms-text": "Er du sikker på, at du vil anerkende { count, plural, =1 {1 alarm} other {# alarmer} }?", - "aknowledge-alarm-title": "Anerkend alarm", - "aknowledge-alarm-text": "Er du sikker på, at du vil anerkende alarmen?", - "selected-alarms-are-acknowledged": "Valgte alarmer er allerede anerkendt", + "aknowledge-alarms-title": "Kvittér { count, plural, =1 {1 alarm} other {# alarmer} }", + "aknowledge-alarms-text": "Er du sikker på, at du vil kvittere { count, plural, =1 {1 alarm} other {# alarmer} }?", + "aknowledge-alarm-title": "Kvittér alarm", + "aknowledge-alarm-text": "Er du sikker på, at du vil kvittere alarmen?", + "selected-alarms-are-acknowledged": "Valgte alarmer er allerede kvitteret", "clear-alarms-title": "Ryd { count, plural, =1 {1 alarm} other {# alarmer} }", "clear-alarms-text": "Er du sikker på, at du vil rydde { count, plural, =1 {1 alarm} other {# alarmer} }?", "clear-alarm-title": "Ryd alarm", @@ -697,16 +805,16 @@ "filter-title": "Filter", "max-count-load": "Maksimalt antal alarmer der skal indlæses (0 - ubegrænset)", "max-count-load-required": "Maksimalt antal alarmer der skal indlæses er påkrævet.", - "max-count-load-error-min": "Minimumsværdien er 0.", + "max-count-load-error-min": "Mindste værdi er 0.", "fetch-size": "Hentningsstørrelse", "fetch-size-required": "Hentningsstørrelse er påkrævet.", "fetch-size-error-min": "Minimumsværdien er 10.", "alarm-types": "Alarmtyper", "alarm-type-list": "Liste over alarmtyper", "any-type": "Enhver type", - "assigned-to-current-user": "Tildelt nuværende bruger", + "assigned-to-current-user": "Tildelt til den aktuelle bruger", "assigned-to-me": "Tildelt til mig", - "search-propagated-alarms": "Søg distribuerede alarmer", + "search-propagated-alarms": "Søg propagerede alarmer", "comments": "Alarmkommentarer", "show-more": "Vis mere", "additional-info": "Yderligere information", @@ -720,7 +828,7 @@ "assigned-to-user": "Alarmen blev tildelt af bruger {{userName}} til bruger {{assigneeName}}", "unassigned-to-user": "Alarmens tildeling blev fjernet af bruger {{userName}}", "unassigned-from-deleted-user": "Alarmens tildeling blev fjernet, fordi bruger {{userName}} - blev slettet", - "comment-deleted": "Bruger {{userName}} slettede sin kommentar", + "comment-deleted": "Kommentaren blev slettet af bruger {{userName}}", "severity-changed": "Alarmens alvorlighed blev opdateret fra {{oldSeverity}} til {{newSeverity}}" } }, @@ -742,39 +850,39 @@ }, "alias": { "add": "Tilføj alias", - "edit": "Rediger alias", + "edit": "Redigér alias", "name": "Aliasnavn", "name-required": "Aliasnavn er påkrævet", "duplicate-alias": "Alias med samme navn findes allerede.", - "filter-type-single-entity": "Enkelt enhed", - "filter-type-entity-group": "Gruppeenheder", - "filter-type-entity-list": "Enhedslisten", - "filter-type-entity-name": "Enhedsnavn", - "filter-type-entity-type": "Enhedstype", - "filter-type-entity-group-list": "Liste over enhedsgrupper", - "filter-type-entity-group-name": "Navn på enhedsgruppe", - "filter-type-entities-by-group-name": "Enheder efter gruppenavn", - "filter-type-state-entity": "Enhed fra dashboard-tilstand", - "filter-type-state-entity-originator": "Oprindelsesenhed", - "filter-type-state-entity-master-report": "Enhed fra masterrapport", - "filter-type-state-entity-description": "Enhed hentet fra dashboard-tilstandsparametre", - "filter-type-state-entity-originator-description": "Oprindelsesenhed", - "filter-type-state-entity-master-report-description": "Enhed angivet af masterrapport", - "filter-type-state-entity-owner": "Ejer af enhed fra dashboard-tilstand", - "filter-type-state-entity-owner-originator": "Ejer af oprindelsesenhed", - "filter-type-state-entity-owner-master-report": "Ejer af enhed fra masterrapport", - "filter-type-state-entity-owner-description": "Ejer af enhed hentet fra dashboard-tilstandsparametre", - "filter-type-state-entity-owner-originator-description": "Ejer af oprindelsesenhed", - "filter-type-state-entity-owner-master-report-description": "Ejer af enhed angivet af masterrapport", - "filter-type-asset-type": "Assettype", - "filter-type-asset-type-description": "Assets af typen '{{assetTypes}}'", - "filter-type-asset-type-and-name-description": "Assets af typen '{{assetTypes}}' og med navn der begynder med '{{prefix}}'", - "filter-type-device-type": "Devicetype", - "filter-type-device-type-description": "Devices af typen '{{deviceTypes}}'", - "filter-type-device-type-and-name-description": "Devices af typen '{{deviceTypes}}' og med navn der begynder med '{{prefix}}'", - "filter-type-entity-view-type": "Entity View-type", - "filter-type-entity-view-type-description": "Entity Views af typen '{{entityViewTypes}}'", - "filter-type-entity-view-type-and-name-description": "Entity Views af typen '{{entityViewTypes}}' og med navn der begynder med '{{prefix}}'", + "filter-type-single-entity": "Enkelt entitet", + "filter-type-entity-group": "Gruppeentiteter", + "filter-type-entity-list": "Entitetsliste", + "filter-type-entity-name": "Entitetsnavn", + "filter-type-entity-type": "Entitetstype", + "filter-type-entity-group-list": "Liste over entitetsgrupper", + "filter-type-entity-group-name": "Navn på entitetsgruppe", + "filter-type-entities-by-group-name": "Entiteter efter gruppenavn", + "filter-type-state-entity": "Entitet fra dashboard-tilstand", + "filter-type-state-entity-originator": "Afsenderentitet", + "filter-type-state-entity-master-report": "Entitet fra masterrapport", + "filter-type-state-entity-description": "Entitet hentet fra dashboard-tilstandsparametre", + "filter-type-state-entity-originator-description": "Afsenderentitet", + "filter-type-state-entity-master-report-description": "Entitet angivet af masterrapport", + "filter-type-state-entity-owner": "Ejer af entitet fra dashboard-tilstand", + "filter-type-state-entity-owner-originator": "Ejer af afsenderentitet", + "filter-type-state-entity-owner-master-report": "Ejer af entitet fra masterrapport", + "filter-type-state-entity-owner-description": "Ejer af entitet hentet fra dashboard-tilstandsparametre", + "filter-type-state-entity-owner-originator-description": "Ejer af afsenderentitet", + "filter-type-state-entity-owner-master-report-description": "Ejer af entitet angivet af masterrapport", + "filter-type-asset-type": "Aktivtype", + "filter-type-asset-type-description": "Aktiver af typen '{{assetTypes}}'", + "filter-type-asset-type-and-name-description": "Aktiver af typen '{{assetTypes}}' og med navn der begynder med '{{prefix}}'", + "filter-type-device-type": "Enhedstype", + "filter-type-device-type-description": "Enheder af typen '{{deviceTypes}}'", + "filter-type-device-type-and-name-description": "Enheder af typen '{{deviceTypes}}', hvis navn begynder med '{{prefix}}'", + "filter-type-entity-view-type": "Entitetsvisningstype", + "filter-type-entity-view-type-description": "Entitetsvisninger af typen '{{entityViewTypes}}'", + "filter-type-entity-view-type-and-name-description": "Entitetsvisninger af typen '{{entityViewTypes}}' og med navn der begynder med '{{prefix}}'", "filter-type-edge-type": "Edge-type", "filter-type-edge-type-description": "Edges af typen '{{edgeTypes}}'", "filter-type-edge-type-and-name-description": "Edges af typen '{{edgeTypes}}' og med navn der begynder med '{{prefix}}'", @@ -783,154 +891,154 @@ "filter-type-edge-search-query": "Edge-søgeforespørgsel", "filter-type-edge-search-query-description": "Edges med typerne {{edgeTypes}} der har relationen {{relationType}} {{direction}} {{rootEntity}}", "filter-type-scheduler-event": "Scheduler events", - "filter-type-scheduler-event-type-description": "Scheduler events med typen '{{eventType}}'", - "filter-type-scheduler-event-originator-description": "Scheduler events med specifik ophavsmand", - "filter-type-scheduler-event-type-originator-description": "Scheduler events med specifik ophavsmand og typen '{{eventType}}'", - "filter-type-asset-search-query": "Asset-søgeforespørgsel", - "filter-type-asset-search-query-description": "Assets med typerne {{assetTypes}} der har relationen {{relationType}} {{direction}} {{rootEntity}}", - "filter-type-device-search-query": "Device-søgeforespørgsel", - "filter-type-device-search-query-description": "Devices med typerne {{deviceTypes}} der har relationen {{relationType}} {{direction}} {{rootEntity}}", - "filter-type-entity-view-search-query": "Entity View-søgeforespørgsel", - "filter-type-entity-view-search-query-description": "Entity Views med typerne {{entityViewTypes}} der har relationen {{relationType}} {{direction}} {{rootEntity}}", + "filter-type-scheduler-event-type-description": "Planlæggerhændelser af typen '{{eventType}}'", + "filter-type-scheduler-event-originator-description": "Planlæggerhændelser med en bestemt afsender", + "filter-type-scheduler-event-type-originator-description": "Planlæggerhændelser med en bestemt afsender og typen '{{eventType}}'", + "filter-type-asset-search-query": "Aktivsøgeforespørgsel", + "filter-type-asset-search-query-description": "Aktiver med typerne {{assetTypes}} der har relationen {{relationType}} {{direction}} {{rootEntity}}", + "filter-type-device-search-query": "Søgeforespørgsel for enheder", + "filter-type-device-search-query-description": "Enheder af typerne {{deviceTypes}}, der har relationen {{relationType}} {{direction}} {{rootEntity}}", + "filter-type-entity-view-search-query": "Søgeforespørgsel for entitetsvisning", + "filter-type-entity-view-search-query-description": "Entitetsvisninger med typerne {{entityViewTypes}} der har relationen {{relationType}} {{direction}} {{rootEntity}}", "filter-type-apiUsageState": "API-brugstilstand", - "entity-filter": "Enhedsfilter", - "resolve-multiple": "Løs som flere enheder", - "resolve-multiple-hint": "Aktivér for at vise data fra alle filtrerede enheder samtidig.\nHvis deaktiveret, viser widget kun data fra den valgte enhed.", + "entity-filter": "Entitetsfilter", + "resolve-multiple": "Løs som flere entiteter", + "resolve-multiple-hint": "Aktivér for at vise data fra alle filtrerede entiteter samtidig.\nHvis deaktiveret, viser widgetten kun data fra den valgte entitet.", "filter-type": "Filtertype", "filter-type-required": "Filtertype er påkrævet.", - "entity-filter-no-entity-matched": "Ingen enheder matchede det angivne filter.", - "no-entity-filter-specified": "Intet enhedsfilter angivet", - "root-state-entity": "Brug dashboard-tilstandsenhed som rod", - "root-originator-entity": "Brug oprindelsesenhed som rod", - "root-master-report-entity": "Brug masterrapportenhed som rod", - "group-state-entity": "Brug dashboard-tilstandsenhed som enhedsgruppe", - "group-originator-entity": "Brug oprindelsesenhed som enhedsgruppe", - "group-master-report-entity": "Brug enhed fra masterrapport som enhedsgruppe", - "group-state-entity-owner": "Brug dashboard-tilstandsenhed som ejer af enhedsgruppe", - "group-originator-entity-owner": "Brug oprindelsesenhed som ejer af enhedsgruppe", - "group-master-report-entity-owner": "Brug enhed fra masterrapport som ejer af enhedsgruppe", + "entity-filter-no-entity-matched": "Ingen entiteter matchede det angivne filter.", + "no-entity-filter-specified": "Intet entitetsfilter angivet", + "root-state-entity": "Brug dashboard-tilstandsentitet som rod", + "root-originator-entity": "Brug afsenderentitet som rod", + "root-master-report-entity": "Brug masterrapportentitet som rod", + "group-state-entity": "Brug dashboard-tilstandsentitet som entitetsgruppe", + "group-originator-entity": "Brug afsenderentitet som entitetsgruppe", + "group-master-report-entity": "Brug entitet fra masterrapport som entitetsgruppe", + "group-state-entity-owner": "Brug dashboard-tilstandsentitet som ejer af entitetsgruppe", + "group-originator-entity-owner": "Brug afsenderentitet som ejer af entitetsgruppe", + "group-master-report-entity-owner": "Brug entitet fra masterrapport som ejer af entitetsgruppe", "last-level-relation": "Hent kun relation på sidste niveau", - "root-entity": "Rodenhed", - "state-entity-parameter-name": "Parameter for tilstandsenhed", - "default-state-entity": "Standard tilstandsenhed", - "default-originator-entity": "Standard oprindelsesenhed", - "default-master-report-entity": "Standard masterrapportenhed", - "default-state-entity-group": "Standard tilstandsenhedsgruppe", - "default-originator-entity-group": "Standard oprindelsesenhedsgruppe", - "default-master-report-entity-group": "Standard masterrapportenhedsgruppe", + "root-entity": "Rodentitet", + "state-entity-parameter-name": "Parameter for tilstandsentitet", + "default-state-entity": "Standardtilstandsentitet", + "default-originator-entity": "Standardafsenderentitet", + "default-master-report-entity": "Standardmasterrapportentitet", + "default-state-entity-group": "Standardentitetsgruppe fra dashboard-tilstand", + "default-originator-entity-group": "Standardentitetsgruppe for afsender", + "default-master-report-entity-group": "Standardentitetsgruppe fra masterrapport", "default-entity-parameter-name": "Som standard", "query-options": "Forespørgselsmuligheder", "max-relation-level": "Maksimalt relationsniveau", "unlimited-level": "Ubegrænset niveau", - "state-entity": "Dashboard-tilstandsenhed", - "originator-entity": "Oprindelsesenhed", - "master-report-entity": "Masterrapportenhed", - "entities-of-group-state-entity": "Enheder fra dashboard-tilstandsenhedsgruppe", - "entities-of-group-originator-entity": "Enheder fra oprindelsesenhedsgruppe", - "entities-of-group-master-report-entity": "Enheder fra masterrapportenhedsgruppe", - "all-entities": "Alle enheder", + "state-entity": "Dashboard-tilstandsentitet", + "originator-entity": "Afsenderentitet", + "master-report-entity": "Masterrapportentitet", + "entities-of-group-state-entity": "Entiteter fra dashboard-tilstandsentitetsgruppe", + "entities-of-group-originator-entity": "Entiteter fra afsenderentitetsgruppe", + "entities-of-group-master-report-entity": "Entiteter fra masterrapportentitetsgruppe", + "all-entities": "Alle entiteter", "any-relation": "enhver", - "originator": "Oprindelsespunkt", - "originator-state-entity": "Brug dashboard-tilstandsenhed som oprindelsespunkt", - "originator-from-originator-entity": "Brug oprindelsesenhed som hændelsens oprindelse", - "originator-master-report-entity": "Brug enhed fra masterrapport som oprindelsespunkt", - "scheduler-event-type": "Tidsplanlægger-hændelsestype" + "originator": "Afsender", + "originator-state-entity": "Brug dashboard-tilstandsentitet som afsender", + "originator-from-originator-entity": "Brug afsenderentitet som hændelsens afsender", + "originator-master-report-entity": "Brug entitet fra masterrapport som afsender", + "scheduler-event-type": "Planlæggerhændelsestype" }, "asset": { "all": "Alle", - "all-assets": "Alle assets", + "all-assets": "Alle aktiver", "groups": "Grupper", "shared": "Delt", - "asset": "Asset", - "assets": "Assets", - "management": "Assetadministration", - "view-assets": "Vis assets", - "add": "Tilføj asset", - "asset-type-max-length": "Assettype skal være mindre end 256 tegn", + "asset": "Aktiv", + "assets": "Aktiver", + "management": "Aktivadministration", + "view-assets": "Vis aktiver", + "add": "Tilføj aktiv", + "asset-type-max-length": "Aktivtype skal være mindre end 256 tegn", "assign-to-customer": "Tildel til kunde", - "assign-asset-to-customer": "Tildel asset(s) til kunde", - "assign-asset-to-customer-text": "Vælg venligst de assets, der skal tildeles kunden", - "no-assets-text": "Ingen assets fundet", - "assign-to-customer-text": "Vælg venligst kunden, som asset(s) skal tildeles", + "assign-asset-to-customer": "Tildel aktiv(er) til kunde", + "assign-asset-to-customer-text": "Vælg venligst de aktiver, der skal tildeles kunden", + "no-assets-text": "Ingen aktiver fundet", + "assign-to-customer-text": "Vælg venligst kunden, som aktiv(er) skal tildeles", "public": "Offentlig", "assignedToCustomer": "Tildelt til kunde", - "make-public": "Gør asset offentlig", - "make-private": "Gør asset privat", - "unassign-from-customer": "Fratildel fra kunde", - "delete": "Slet asset", - "asset-public": "Asset er offentlig", - "asset-type": "Assettype", - "asset-type-required": "Assettype er påkrævet.", - "select-asset-type": "Vælg assettype", - "enter-asset-type": "Indtast assetprofil", - "any-asset": "Enhver asset", - "no-asset-types-matching": "Ingen assettyper matcher '{{entitySubtype}}'.", - "asset-type-list-empty": "Ingen assettyper valgt.", - "asset-types": "Assettyper", + "make-public": "Gør aktivet offentligt", + "make-private": "Gør aktivet privat", + "unassign-from-customer": "Fjern tildeling fra kunde", + "delete": "Slet aktiv", + "asset-public": "Aktivet er offentligt", + "asset-type": "Aktivtype", + "asset-type-required": "Aktivtype er påkrævet.", + "select-asset-type": "Vælg aktivtype", + "enter-asset-type": "Indtast aktivprofil", + "any-asset": "Ethvert aktiv", + "no-asset-types-matching": "Ingen aktivtyper matcher '{{entitySubtype}}'.", + "asset-type-list-empty": "Ingen aktivtyper valgt.", + "asset-types": "Aktivtyper", "name": "Navn", "name-required": "Navn er påkrævet.", - "name-max-length": "Navn skal være mindre end 256 tegn", + "name-max-length": "Navnet skal være mindre end 256 tegn", "label-max-length": "Etiket skal være mindre end 256 tegn", "description": "Beskrivelse", "description-required": "Beskrivelse er påkrævet.", "type": "Type", "type-required": "Type er påkrævet.", "details": "Detaljer", - "events": "Begivenheder", - "add-asset-text": "Tilføj nyt asset", - "asset-details": "Assetdetaljer", - "assign-assets": "Tildel assets", - "assign-assets-text": "Tildel { count, plural, =1 {1 asset} other {# assets} } til kunde", - "assign-asset-to-edge-title": "Tildel asset(s) til edge", - "assign-asset-to-edge-text": "Vælg venligst de assets, der skal tildeles til edge", - "delete-assets": "Slet assets", - "unassign-assets": "Fratildel assets", - "unassign-assets-action-title": "Fratildel { count, plural, =1 {1 asset} other {# assets} } fra kunde", - "assign-new-asset": "Tildel nyt asset", - "delete-asset-title": "Er du sikker på, at du vil slette asset '{{assetName}}'?", - "delete-asset-text": "Vær forsigtig, efter bekræftelse vil asset og alle relaterede data ikke kunne gendannes.", - "delete-assets-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 asset} other {# assets} }?", - "delete-assets-action-title": "Slet { count, plural, =1 {1 asset} other {# assets} }", - "delete-assets-text": "Vær forsigtig, efter bekræftelse vil alle valgte assets blive fjernet og dataene kan ikke gendannes.", - "make-public-asset-title": "Er du sikker på, at du vil gøre asset '{{assetName}}' offentlig?", - "make-public-asset-text": "Efter bekræftelse vil asset og alle dens data blive gjort offentlige og tilgængelige for andre.", - "make-private-asset-title": "Er du sikker på, at du vil gøre asset '{{assetName}}' privat?", - "make-private-asset-text": "Efter bekræftelse vil asset og alle dens data blive gjort private og ikke være tilgængelige for andre.", - "unassign-asset-title": "Er du sikker på, at du vil fratilde asset '{{assetName}}'?", - "unassign-asset-text": "Efter bekræftelse vil asset blive fratildelt og ikke være tilgængelig for kunden.", - "unassign-asset": "Fratildel asset", - "unassign-assets-title": "Er du sikker på, at du vil fratilde { count, plural, =1 {1 asset} other {# assets} }?", - "unassign-assets-text": "Efter bekræftelse vil alle valgte assets blive fratildelt og ikke være tilgængelige for kunden.", - "copyId": "Kopiér asset-ID", - "idCopiedMessage": "Asset-ID er blevet kopieret til udklipsholderen", - "select-asset": "Vælg asset", - "no-assets-matching": "Ingen assets matcher '{{entity}}'.", - "asset-required": "Asset er påkrævet", - "name-starts-with": "Asset-navneudtryk", + "events": "Hændelser", + "add-asset-text": "Tilføj nyt aktiv", + "asset-details": "Aktivdetaljer", + "assign-assets": "Tildel aktiver", + "assign-assets-text": "Tildel { count, plural, =1 {1 aktiv} other {# aktiver} } til kunde", + "assign-asset-to-edge-title": "Tildel aktiv(er) til Edge", + "assign-asset-to-edge-text": "Vælg venligst de aktiver, der skal tildeles til Edge", + "delete-assets": "Slet aktiver", + "unassign-assets": "Fjern tildeling af aktiver", + "unassign-assets-action-title": "Fjern tildeling af { count, plural, =1 {1 aktiv} other {# aktiver} } fra kunde", + "assign-new-asset": "Tildel nyt aktiv", + "delete-asset-title": "Er du sikker på, at du vil slette aktivet '{{assetName}}'?", + "delete-asset-text": "Vær forsigtig, efter bekræftelse vil aktivet og alle relaterede data ikke kunne gendannes.", + "delete-assets-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 aktiv} other {# aktiver} }?", + "delete-assets-action-title": "Slet { count, plural, =1 {1 aktiv} other {# aktiver} }", + "delete-assets-text": "Vær forsigtig, efter bekræftelse vil alle valgte aktiver blive fjernet og dataene kan ikke gendannes.", + "make-public-asset-title": "Er du sikker på, at du vil gøre aktivet '{{assetName}}' offentligt?", + "make-public-asset-text": "Efter bekræftelse vil aktivet og alle dets data blive gjort offentlige og tilgængelige for andre.", + "make-private-asset-title": "Er du sikker på, at du vil gøre aktivet '{{assetName}}' privat?", + "make-private-asset-text": "Efter bekræftelse vil aktivet og alle dets data blive gjort private og ikke være tilgængelige for andre.", + "unassign-asset-title": "Er du sikker på, at du vil fjerne tildelingen af aktivet '{{assetName}}'?", + "unassign-asset-text": "Efter bekræftelse vil tildelingen af aktivet blive fjernet, og det vil ikke være tilgængeligt for kunden.", + "unassign-asset": "Fjern tildeling af aktiv", + "unassign-assets-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 aktiv} other {# aktiver} }?", + "unassign-assets-text": "Efter bekræftelse vil tildelingen af alle valgte aktiver blive fjernet, og de vil ikke være tilgængelige for kunden.", + "copyId": "Kopiér aktiv-ID", + "idCopiedMessage": "Aktiv-ID er blevet kopieret til udklipsholderen", + "select-asset": "Vælg aktiv", + "no-assets-matching": "Ingen aktiver matcher '{{entity}}'.", + "asset-required": "Aktiv er påkrævet.", + "name-starts-with": "Aktivnavneudtryk", "help-text": "Brug '%' efter behov: '%asset_name_contains%', '%asset_name_ends', 'asset_starts_with%'.", - "search": "Søg assets", - "select-group-to-add": "Vælg målgruppe for at tilføje valgte assets", - "select-group-to-move": "Vælg målgruppe for at flytte valgte assets", - "remove-assets-from-group": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 asset} other {# assets} } fra gruppen '{{entityGroup}}'?", - "group": "Assetgruppe", - "list-of-groups": "{ count, plural, =1 {En assetgruppe} other {Liste over # assetgrupper} }", - "group-name-starts-with": "Assetgrupper med navne der starter med '{{prefix}}'", - "import": "Importér assets", - "asset-file": "Assetfil", + "search": "Søg aktiver", + "select-group-to-add": "Vælg målgruppe for at tilføje valgte aktiver", + "select-group-to-move": "Vælg målgruppe for at flytte valgte aktiver", + "remove-assets-from-group": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 aktiv} other {# aktiver} } fra gruppen '{{entityGroup}}'?", + "group": "Aktivgruppe", + "list-of-groups": "{ count, plural, =1 {En aktivgruppe} other {Liste over # aktivgrupper} }", + "group-name-starts-with": "Aktivgrupper med navne der starter med '{{prefix}}'", + "import": "Importér aktiver", + "asset-file": "Aktivfil", "label": "Etiket", - "assign-asset-to-edge": "Tildel asset(s) til edge", - "unassign-asset-from-edge": "Fratildel asset", - "unassign-asset-from-edge-title": "Er du sikker på, at du vil fratilde asset '{{assetName}}'?", - "unassign-asset-from-edge-text": "Efter bekræftelse vil asset blive fratildelt og ikke være tilgængelig for edge.", - "unassign-assets-from-edge-title": "Er du sikker på, at du vil fratilde { count, plural, =1 {1 asset} other {# assets} }?", - "unassign-assets-from-edge-text": "Efter bekræftelse vil alle valgte assets blive fratildelt og ikke være tilgængelige for edge.", - "selected-assets": "{ count, plural, =1 {1 asset} other {# assets} } valgt" + "assign-asset-to-edge": "Tildel aktiv(er) til Edge", + "unassign-asset-from-edge": "Fjern tildeling af aktiv", + "unassign-asset-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af aktivet '{{assetName}}'?", + "unassign-asset-from-edge-text": "Efter bekræftelse vil tildelingen af aktivet blive fjernet, og det vil ikke være tilgængeligt for Edge.", + "unassign-assets-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 aktiv} other {# aktiver} }?", + "unassign-assets-from-edge-text": "Efter bekræftelse vil tildelingen af alle valgte aktiver blive fjernet, og de vil ikke være tilgængelige for Edge.", + "selected-assets": "{ count, plural, =1 {1 aktiv} other {# aktiver} } valgt" }, "attribute": { "attributes": "Attributter", "latest-telemetry": "Seneste telemetri", "no-latest-telemetry": "Ingen seneste telemetri", - "attributes-scope": "Enhedsattributters område", + "attributes-scope": "Omfang for entitetsattributter", "scope-telemetry": "Telemetri", "scope-latest-telemetry": "Seneste telemetri", "scope-client": "Klientattributter", @@ -961,8 +1069,9 @@ "prev-widget": "Forrige widget", "add-to-dashboard": "Tilføj til dashboard", "add-widget-to-dashboard": "Tilføj widget til dashboard", + "no-widget-grid-in-dashboard": "Alle tilstande i dette dashboard er HTML-sider, så widgetten kan ikke tilføjes til det.", "selected-attributes": "{ count, plural, =1 {1 attribut} other {# attributter} } valgt", - "selected-telemetry": "{ count, plural, =1 {1 telemetri-enhed} other {# telemetri-enheder} } valgt", + "selected-telemetry": "{ count, plural, =1 {1 telemetrielement} other {# telemetrielementer} } valgt", "no-attributes-text": "Ingen attributter fundet", "no-telemetry-text": "Ingen telemetri fundet", "copy-key": "Kopiér nøgle", @@ -972,7 +1081,7 @@ "start-time": "Starttidspunkt", "ends-on": "Slutter den", "strategy": "Strategi", - "delete-strategy": "Sletstrategi", + "delete-strategy": "Sletningsstrategi", "all-data": "Slet alle data", "all-data-except-latest-value": "Slet alle data undtagen seneste værdi", "latest-value": "Slet seneste værdi", @@ -984,7 +1093,7 @@ "api-features": "API-funktioner", "api-usage": "API-forbrug", "alarm": "Alarm", - "alarm-and-report": "Alarm & Rapport", + "alarm-and-report": "Alarm og rapport", "alarms-and-reports-created": "Oprettede alarmer og rapporter", "alarms-and-reports-hourly-activity": "Oprettede alarmer og rapporter pr. time", "alarms-created": "Oprettede alarmer", @@ -996,9 +1105,9 @@ "alarms-created-monthly-activity": "Månedlig aktivitet for oprettede alarmer", "data-points": "Datapunkter", "data-points-storage-days": "Opbevaringsdage for datapunkter", - "data-points-storage-days-hourly-activity": "Datalagringsdage for datapunkter – timeaktivitet", - "data-points-storage-days-daily-activity": "Datalagringsdage for datapunkter – dagsaktivitet", - "data-points-storage-days-monthly-activity": "Datalagringsdage for datapunkter – månedsaktivitet", + "data-points-storage-days-hourly-activity": "Opbevaringsdage for datapunkter – timeaktivitet", + "data-points-storage-days-daily-activity": "Opbevaringsdage for datapunkter – dagsaktivitet", + "data-points-storage-days-monthly-activity": "Opbevaringsdage for datapunkter – månedsaktivitet", "device-api": "Enheds-API", "email": "E-mail", "email-messages": "E-mail-beskeder", @@ -1022,14 +1131,14 @@ "permanent-timeouts": "${entityName} permanente timeouts", "processing-failures": "${entityName} behandlingsfejl", "processing-timeouts": "${entityName} behandlingstimeouts", - "rule-chain": "Rule Chain", + "rule-chain": "Regelkæde", "rule-engine": "Rule Engine", "rule-engine-executions": "Rule Engine-udførelser", "rule-engine-hourly-activity": "Timebaseret aktivitet for Rule Engine", "rule-engine-daily-activity": "Daglig aktivitet for Rule Engine", "rule-engine-monthly-activity": "Månedlig aktivitet for Rule Engine", "rule-engine-statistics": "Statistik for Rule Engine", - "rule-node": "Rule Node", + "rule-node": "Regelnode", "sms": "SMS", "sms-messages": "SMS-beskeder", "sms-messages-hourly-activity": "SMS-beskeder – timeaktivitet", @@ -1037,10 +1146,10 @@ "sms-messages-monthly-activity": "Månedlig aktivitet for SMS-beskeder", "successful": "${entityName} succesfuld", "telemetry": "Telemetri", - "telemetry-persistence": "Telemetri-persistens", - "telemetry-persistence-daily-activity": "Daglig aktivitet for telemetri-persistens", - "telemetry-persistence-hourly-activity": "Timebaseret aktivitet for telemetri-persistens", - "telemetry-persistence-monthly-activity": "Månedlig aktivitet for telemetri-persistens", + "telemetry-persistence": "Telemetripersistens", + "telemetry-persistence-daily-activity": "Daglig aktivitet for telemetripersistens", + "telemetry-persistence-hourly-activity": "Timebaseret aktivitet for telemetripersistens", + "telemetry-persistence-monthly-activity": "Månedlig aktivitet for telemetripersistens", "transport": "Transport", "transport-msg-hourly-activity": "Transportbeskeder – timeaktivitet", "transport-msg-daily-activity": "Transportbeskeder – dagsaktivitet", @@ -1067,10 +1176,10 @@ "created-reports-hourly-activity": "Oprettede rapporter – timeaktivitet", "created-reports-daily-activity": "Oprettede rapporter – dagsaktivitet", "created-reports-monthly-activity": "Oprettede rapporter – månedsaktivitet", - "emails": "Emails", - "emails-hourly-activity": "Emails – timeaktivitet", - "emails-daily-activity": "Emails – dagsaktivitet", - "emails-monthly-activity": "Emails – månedsaktivitet", + "emails": "E-mails", + "emails-hourly-activity": "E-mails – timeaktivitet", + "emails-daily-activity": "E-mails – dagsaktivitet", + "emails-monthly-activity": "E-mails – månedsaktivitet", "status": { "enabled": "Aktiveret", "disabled": "Deaktiveret", @@ -1079,17 +1188,21 @@ "reports-created": "Oprettede rapporter", "reports-created-hourly-activity": "Oprettede rapporter – timeaktivitet", "reports-created-daily-activity": "Oprettede rapporter – dagsaktivitet", - "reports-created-monthly-activity": "Oprettede rapporter – månedsaktivitet" + "reports-created-monthly-activity": "Oprettede rapporter – månedsaktivitet", + "ai-credits": "AI-kreditter", + "ai-credits-hourly-activity": "Timeaktivitet for AI-kreditter", + "ai-credits-daily-activity": "Daglig aktivitet for AI-kreditter", + "ai-credits-monthly-activity": "Månedlig aktivitet for AI-kreditter" }, "api-limit": { - "cassandra-write-queries-core": "REST API Cassandra-skriveforespørgsler", - "cassandra-read-queries-core": "REST API og WS-telemetri Cassandra-læseforespørgsler", - "cassandra-write-queries-rule-engine": "Rule Engine-telemetri Cassandra-skriveforespørgsler", - "cassandra-read-queries-rule-engine": "Rule Engine-telemetri Cassandra-læseforespørgsler", - "cassandra-write-queries-monolith": "Monolitisk telemetri Cassandra-skriveforespørgsler", - "cassandra-read-queries-monolith": "Monolitisk telemetri Cassandra-læseforespørgsler", - "entity-version-creation": "Oprettelse af enhedsversion", - "entity-version-load": "Indlæsning af enhedsversion", + "cassandra-write-queries-core": "Cassandra-skriveforespørgsler fra REST API", + "cassandra-read-queries-core": "Cassandra-læseforespørgsler for telemetri fra REST API og WS", + "cassandra-write-queries-rule-engine": "Cassandra-skriveforespørgsler for telemetri fra Rule Engine", + "cassandra-read-queries-rule-engine": "Cassandra-læseforespørgsler for telemetri fra Rule Engine", + "cassandra-write-queries-monolith": "Cassandra-skriveforespørgsler for telemetri (monolit)", + "cassandra-read-queries-monolith": "Cassandra-læseforespørgsler for telemetri (monolit)", + "entity-version-creation": "Oprettelse af entitetsversion", + "entity-version-load": "Indlæsning af entitetsversion", "integration-messages": "Integrationsbeskeder", "integration-messages-per-device": "Integrationsbeskeder pr. enhed", "notification-requests": "Notifikationsanmodninger", @@ -1103,9 +1216,9 @@ "transport-messages-per-gateway-device": "Transportbeskeder pr. gateway-enhed", "ws-updates-per-session": "WS-opdateringer pr. session", "edge-events": "Edge-hændelser", - "edge-events-per-edge": "Edge-hændelser pr. edge", - "edge-uplink-messages": "Edge-oplinkbeskeder", - "edge-uplink-messages-per-edge": "Edge-oplinkbeskeder pr. edge" + "edge-events-per-edge": "Edge-hændelser pr. Edge", + "edge-uplink-messages": "Edge-uplinkbeskeder", + "edge-uplink-messages-per-edge": "Edge-uplink-beskeder pr. Edge" }, "api-key": { "api-key": "API-nøgle", @@ -1117,8 +1230,8 @@ "expiration-date": "Udløbsdato", "date": "Dato", "description": "Beskrivelse", - "disable": "Deaktiver", - "edit-description": "Rediger beskrivelse", + "disable": "Deaktivér", + "edit-description": "Redigér beskrivelse", "enable": "Aktivér API-nøgle ", "expiration-time": "Udløbstid", "expiration-time-never": "Aldrig", @@ -1145,8 +1258,8 @@ "audit": "Revision", "audit-logs": "Revisionslogge", "timestamp": "Tidsstempel", - "entity-type": "Enhedstype", - "entity-name": "Enhedsnavn", + "entity-type": "Entitetstype", + "entity-name": "Entitetsnavn", "user": "Bruger", "type": "Type", "status": "Status", @@ -1157,25 +1270,25 @@ "type-attributes-updated": "Attributter opdateret", "type-attributes-deleted": "Attributter slettet", "type-rpc-call": "RPC-kald", - "type-credentials-updated": "Oplysninger opdateret", + "type-credentials-updated": "Legitimationsoplysninger opdateret", "type-assigned-to-customer": "Tildelt til kunde", - "type-unassigned-from-customer": "Fratildelt fra kunde", - "type-assigned-to-edge": "Tildelt til edge", - "type-unassigned-from-edge": "Fratildelt fra edge", + "type-unassigned-from-customer": "Tildeling til kunde fjernet", + "type-assigned-to-edge": "Tildelt til Edge", + "type-unassigned-from-edge": "Tildeling til Edge fjernet", "type-activated": "Aktiveret", "type-suspended": "Suspenderet", - "type-credentials-read": "Oplysninger læst", + "type-credentials-read": "Legitimationsoplysninger læst", "type-attributes-read": "Attributter læst", "type-added-to-entity-group": "Tilføjet til gruppe", "type-removed-from-entity-group": "Fjernet fra gruppe", "type-relation-add-or-update": "Relation opdateret", "type-relation-delete": "Relation slettet", "type-relations-delete": "Alle relationer slettet", - "type-alarm-ack": "Alarm anerkendt", + "type-alarm-ack": "Alarm kvitteret", "type-alarm-clear": "Alarm ryddet", "type-alarm-delete": "Alarm slettet", "type-alarm-assign": "Alarm tildelt", - "type-alarm-unassign": "Alarm fratildelt", + "type-alarm-unassign": "Tildeling af alarm fjernet", "type-added-comment": "Kommentar tilføjet", "type-updated-comment": "Kommentar opdateret", "type-deleted-comment": "Kommentar slettet", @@ -1195,23 +1308,25 @@ "clear-search": "Ryd søgning", "type-assigned-from-tenant": "Tildelt fra lejer", "type-assigned-to-tenant": "Tildelt til lejer", - "type-provision-success": "Device klargjort", - "type-provision-failure": "Klargøring af device mislykkedes", + "type-provision-success": "Enhed klargjort", + "type-provision-failure": "Klargøring af enhed mislykkedes", "type-timeseries-updated": "Telemetri opdateret", "type-timeseries-deleted": "Telemetri slettet", "type-owner-changed": "Ejer ændret", "type-sms-sent": "SMS sendt", + "type-non-production-confirmed": "Ikke-produktionsbrug bekræftet", "any-type": "Enhver type", - "audit-log-filter-title": "Auditlogfilter", + "audit-log-filter-title": "Filter for revisionslog", "filter-title": "Filter", - "filter-types": "Auditlogtyper" + "filter-types": "Revisionslogtyper", + "action": "Handling" }, "debug-settings": { "label": "Fejlfindingskonfiguration", "on-failure": "Kun fejl (24/7)", "all-messages": "Alle beskeder ({{time}})", "failures": "Fejl", - "entity": "enhed", + "entity": "entitet", "hint": { "main-limited": "Der vil blive logget højst {{msg}} {{entity}} fejlfindingsbeskeder pr. {{time}}.", "on-failure": "Log kun fejlbeskeder.", @@ -1221,8 +1336,8 @@ "calculated-fields": { "ai-assistant-example-suggest-fields-label": "Foreslå beregnede felter", "ai-assistant-example-suggest-fields-message": "Gennemgå mine enheder, og foreslå beregnede felter, der er værd at opsætte.", - "ai-assistant-example-aggregate-label": "Aggreger telemetri", - "ai-assistant-example-aggregate-message": "Vælg en af mine enheder, og opsæt et beregnet felt, der aggregerer nogle af dens telemetri-nøgler. Beskriv, hvad du vil oprette, og bed mig om bekræftelse først.", + "ai-assistant-example-aggregate-label": "Aggregér telemetri", + "ai-assistant-example-aggregate-message": "Vælg en af mine enheder, og opsæt et beregnet felt, der aggregerer nogle af dens telemetrinøgler. Beskriv, hvad du vil oprette, og bed mig om bekræftelse først.", "expression": "Udtryk", "no-found": "Ingen beregnede felter fundet", "list": "{ count, plural, =1 {Et beregnet felt} other {Liste over # beregnede felter} }", @@ -1240,7 +1355,7 @@ "related-entities-aggregation": "Aggregering af relaterede entiteter", "related-entities-aggregation-hint": "Aggregering af seneste data fra relaterede entiteter.", "time-series-data-aggregation": "Aggregering af tidsseriedata", - "time-series-data-aggregation-hint": "Aggregering af historiske data fra en aktuel entitet." + "time-series-data-aggregation-hint": "Aggregering af historiske data fra den aktuelle entitet." }, "preview": "Forhåndsvisning", "arguments": "Argumenter", @@ -1252,9 +1367,9 @@ "datasource": "Datakilde", "add-argument": "Tilføj argument", "test-script-function": "Test scriptfunktion", - "no-arguments": "Ingen argumenter konfigureret", + "no-arguments": "Mindst ét argument er påkrævet.", "argument-settings": "Indstillinger for argument", - "argument-current": "Aktuel enhed", + "argument-current": "Aktuel entitet", "argument-current-tenant": "Aktuel lejer", "argument-device": "Enhed", "argument-asset": "Aktiv", @@ -1268,8 +1383,8 @@ "timeseries-key": "Tidsserienøgle", "device-name": "Enhedsnavn", "latest-telemetry": "Seneste telemetri", - "rolling": "Tidsserieglidning", - "attribute-scope": "Attributområde", + "rolling": "Rullende tidsserie", + "attribute-scope": "Attributomfang", "server-attributes": "Serverattributter", "client-attributes": "Klientattributter", "shared-attributes": "Delte attributter", @@ -1284,7 +1399,7 @@ "output": "Output", "output-hint": "Definerer, hvordan output behandles.", "create": "Opret nyt beregnet felt", - "file": "Beregnet felt-fil", + "file": "Fil med beregnet felt", "invalid-file-error": "Ugyldigt filformat. Sørg for, at filen er en gyldig JSON-fil.", "import": "Importér beregnet felt", "export": "Eksportér beregnet felt", @@ -1294,7 +1409,7 @@ "delete-text": "Vær forsigtig, efter bekræftelse vil det beregnede felt og alle relaterede data ikke kunne gendannes.", "delete-multiple-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 beregnet felt} other {# beregnede felter} }?", "delete-multiple-text": "Vær forsigtig, efter bekræftelse vil alle valgte beregnede felter blive fjernet og alle relaterede data ikke kunne gendannes.", - "test-with-this-message": "Test med denne meddelelse", + "test-with-this-message": "Test med denne besked", "use-latest-timestamp": "Brug seneste tidsstempel", "calculated-field-reprocessing": "Genbehandling af beregnet felt", "cancel-reprocessing": "Annullér genbehandling", @@ -1303,13 +1418,13 @@ "reprocess-calculated-field": "Genbehandl beregnet felt", "reprocessing-cancelled": "Genbehandling annulleret", "reprocessing-completed": "Genbehandling gennemført", - "reprocessing-entities-data": "Genbehandler enhedsdata...", + "reprocessing-entities-data": "Genbehandler entitetsdata...", "reprocessing-failed": "Genbehandling afsluttet med fejl", "reprocessing-in-progress": "Genbehandling i gang...", "submitting-tasks": "Indsender opgaver...", "task-failed-reprocess": "Opgaven mislykkedes under genbehandling", - "tasks-failed-reprocess": "{{ error }} af {{ total }} enheder kunne ikke genbehandles", - "entity-coordinates": "Entitetkoordinater", + "tasks-failed-reprocess": "{{ error }} af {{ total }} entiteter kunne ikke genbehandles", + "entity-coordinates": "Entitetskoordinater", "latitude-time-series-key": "Breddegradstidsserienøgle", "latitude-time-series-key-required": "Breddegradstidsserienøgle er påkrævet.", "longitude-time-series-key": "Længdegradstidsserienøgle", @@ -1328,7 +1443,7 @@ "perimeter-attribute-key": "Perimeterattributnøgle", "perimeter-attribute-key-required": "Perimeterattributnøgle er påkrævet.", "perimeter-attribute-key-pattern": "Perimeterattributnøgle er ugyldig.", - "entity-zone-relationship": "Sti fra Entitet til zoner", + "entity-zone-relationship": "Sti fra entitet til zoner", "direction": "Relationsretning", "direction-from": "Fra entitet til zone", "direction-to": "Fra zone til entitet", @@ -1406,14 +1521,14 @@ "output-strategy": { "strategy": "Strategi", "process-right-away": "Behandl med det samme", - "process-rule-chains": "Behandl via Regelkæder", + "process-rule-chains": "Behandl via regelkæder", "save-time-series": "Gem i tidsserie", "save-database": "Gem i database", "save-latest-values": "Gem i seneste værdier", "send-web-sockets": "Send til WebSockets", "save-calculated-fields": "Send til beregnede felter", - "update-attribute-only-on-value-change": "Opdater attribut kun ved værdiskift", - "send-attributes-updated-notification": "Send notifikation om opdaterede attributter", + "update-attribute-only-on-value-change": "Opdatér attribut kun ved værdiskift", + "send-attributes-updated-notification": "Send besked om opdaterede attributter", "ttl": "Tilpasset TTL", "ttl-required": "TTL er påkrævet", "ttl-min": "Kun 0 som minimum-TTL er tilladt", @@ -1423,7 +1538,7 @@ "processing-options": "Behandlingsmuligheder", "update-attribute-only-on-value-change": "Opdaterer attribut ved hver indgående besked, uanset om værdien har ændret sig. Dette øger API-forbrug og reducerer ydeevnen.", "update-attribute-only-on-value-change-enabled": "Opdaterer attribut kun, når værdien ændrer sig. Hvis værdien er uændret, opdateres tidsstempler ikke, og der sendes ikke notifikationer.", - "send-attributes-updated-notification": "Sender en Attributter opdateret-hændelse til standardregel kæden.", + "send-attributes-updated-notification": "Sender hændelsen »Attributter opdateret« til standardregelkæden.", "save-time-series": "Gemmer tidsseriedata i tabellen ts_kv i databasen.", "save-database": "Gemmer attributdata i databasen.", "save-latest-values": "Opdaterer tidsseriedata i tabellen ts_kv_latest i databasen, hvis den nye værdi er nyere.", @@ -1431,13 +1546,13 @@ "send-web-sockets-time-series": "Notificerer WebSocket-abonnementer om opdateringer af tidsseriedata.", "save-calculated-fields-attribute": "Notificerer beregnede felter om opdateringer af attributdata.", "save-calculated-fields-time-series": "Notificerer beregnede felter om opdateringer af tidsseriedata.", - "ttl": "Definerer opbevaringsperioden for tidsseriedata. Hvis deaktiveret, bruges Lejerprofil-TTL." + "ttl": "Definerer opbevaringsperioden for tidsseriedata. Hvis den er deaktiveret, bruges TTL fra lejerprofilen." } }, "aggregate-interval-type": "Aggregeringsintervaltype", "aggregate-interval-value": "Aggregeringsintervalværdi", "aggregate-interval-value-required": "Aggregeringsintervalværdi er påkrævet.", - "aggregate-interval-value-min": "Aggregeringsintervalværdi skal være mindst { sec, plural, =0 {0 sekund} =1 {1 sekund} other {# sekunder} }.", + "aggregate-interval-value-min": "Aggregeringsintervalværdi skal være mindst { sec, plural, =0 {0 sekunder} =1 {1 sekund} other {# sekunder} }.", "aggregate-interval-value-step-multiple-of": "Aggregeringsintervalværdi skal være en divisor eller et multiplum af 1 dag.", "aggregate-period": { "hour": "Time", @@ -1473,11 +1588,11 @@ "produce-intermediate-result-hint": "Beregner metrikker i det aktuelle interval for at generere et mellemliggende resultat. Opdateringer sker ikke oftere end én gang hver {{ time }}." }, "hint": { - "arguments-simple-with-rolling": "Beregnet felt af typen simpel må ikke indeholde nøgler med tidsserieglidningstype.", - "arguments-propagate-arguments-with-rolling": "Typen 'Time series rolling' er inkompatibel med propagering af 'Kun argumenter'.", + "arguments-simple-with-rolling": "Et beregnet felt af typen Simpel må ikke indeholde nøgler af typen Rullende tidsserie.", + "arguments-propagate-arguments-with-rolling": "Typen 'Rullende tidsserie' er inkompatibel med propageringen 'Kun argumenter'.", "arguments-propagate-argument-entity-type": "Entitetstypen er inkompatibel med propagering af 'Kun argumenter'.", - "arguments-propagate-argument-must-current-entity": "Mindst ét argument skal konfigureres med kildenhedstypen 'Aktuel entitet'.", - "arguments-empty": "Argumenter må ikke være tomme.", + "arguments-propagate-argument-must-current-entity": "Mindst ét argument skal konfigureres med kildeentitetstypen 'Aktuel entitet'.", + "arguments-empty": "Mindst ét argument skal angives.", "expression-required": "Udtryk er påkrævet.", "expression-invalid": "Udtryk er ugyldigt", "expression-max-length": "Udtrykslængde skal være under 255 tegn.", @@ -1499,29 +1614,29 @@ "name-forbidden": "Navn er reserveret og kan ikke bruges.", "argument-type-required": "Argumenttype er påkrævet.", "max-args": "Maksimalt antal argumenter er nået.", - "decimals-range": "Standard decimaler skal være et tal mellem 0 og 15.", + "decimals-range": "Decimaler som standard skal være et tal mellem 0 og 15.", "expression": "Standardudtryk demonstrerer, hvordan man omregner temperatur fra Fahrenheit til Celsius.", "arguments-entity-not-found": "Målentitet for argument ikke fundet.", "use-latest-timestamp": "Hvis aktiveret, vil den beregnede værdi blive gemt med det nyeste tidsstempel fra argumenternes telemetri i stedet for serverens tid.", "reprocessing": "Hvis der ikke er foruddefineret et specifikt tidsstempel, gemmes resultaterne fra genbehandling med tidsstemplet for den tilsvarende historiske telemetri, der udløste beregningen.", "entity-coordinates": "Angiv de tidsserienøgler, der leverer entitetens GPS-koordinater (breddegrad og længdegrad).", - "geofencing-zone-groups": "Definér én eller flere geofencingzonegrupper, der skal kontrolleres (f.eks. 'allowedZones', 'restrictedZones'). Hver gruppe skal have et unikt navn, som bruges som præfiks for telemetrinøgler for beregnet felt-output.", + "geofencing-zone-groups": "Definér én eller flere geofencingzonegrupper, der skal kontrolleres (f.eks. 'allowedZones', 'restrictedZones'). Hver gruppe skal have et unikt navn, som bruges som præfiks for det beregnede felts output-telemetrinøgler.", "perimeter-attribute-key": "Angiv attributnøglen, der indeholder definitionen af geofencingzonens perimeter. Perimeteren hentes altid fra serversideattributter for zoneentiteten.", - "report-strategy": "Tilstedeværelsesstatus rapporterer, om entiteten aktuelt er INDE i eller UDE af zonegruppen. Overgangshændelser rapporterer, hvornår entiteten GIK IND I eller FORLOD zonegruppen.", + "report-strategy": "Tilstedeværelsesstatus rapporterer, om entiteten aktuelt er inden for (INSIDE) eller uden for (OUTSIDE) zonegruppen. Overgangshændelser rapporterer, hvornår entiteten gik ind i (ENTERED) eller forlod (LEFT) zonegruppen.", "create-relation-with-matched-zones": "Opret og vedligehold automatisk relationer mellem entiteten og de zoner, den aktuelt er inde i. Relationer fjernes, når entiteten forlader en zone, og oprettes, når den går ind i en ny.", "relation-type-required": "Relationstype er påkrævet.", "relation-level-required": "Relationsniveau er påkrævet.", "relation-level-min": "Minimumsværdi for relationsniveau er 1.", "relation-level-max": "Maksimumværdi for relationsniveau er {{max}}.", "geofencing-empty": "Mindst én zonegruppe skal være konfigureret.", - "geofencing-entity-not-found": "Geofencingmålsentitet blev ikke fundet.", + "geofencing-entity-not-found": "Målentitet for geofencing blev ikke fundet.", "max-geofencing-zone": "Maksimalt antal geofencingzoner er nået.", "zone-group-refresh-interval": "Definerer, hvor ofte zonegrupper, der er konfigureret via relaterede entiteter, opdateres.", "zone-group-refresh-interval-required": "Opdateringsinterval for zonegrupper er påkrævet.", "zone-group-refresh-interval-min": "Opdateringsinterval for zonegrupper skal være mindst {{ min }} sekunder.", - "propagation-path-related-entities": "Definerer en direkte sti på ét enkelt niveau til en relateret entitet baseret på den valgte retning og relationstype.", + "propagation-path-related-entities": "Definerer en direkte sti på ét enkelt niveau til en relateret entitet baseret på den valgte retning og relationstype. Kun relationer mellem enheds-, aktiv-, kunde- og lejerentiteter understøttes. Maksimalt antal entiteter, der løses via relationsstien, er {{ max }}.", "data-propagate": "Definerer de data, der skal propageres fra argumenterne konfigureret nedenfor. 'Kun argumenter' bruger de hentede data direkte, mens 'Beregningsresultat' beregner en ny værdi ud fra disse data.", - "aggregation-path-related-entities": "Definerer en aggregeringssti på ét enkelt niveau via direkte relationer med overordnede eller underordnede entiteter, baseret på retning og relationstype. Kun relationer mellem enheds-, asset-, kunde- og lejerentiteter understøttes.", + "aggregation-path-related-entities": "Definerer en aggregeringssti på ét enkelt niveau via direkte relationer med overordnede eller underordnede entiteter, baseret på retning og relationstype. Kun relationer mellem enheds-, aktiv-, kunde- og lejerentiteter understøttes. Maksimalt antal entiteter, der løses via relationsstien, er {{ max }}.", "arguments-aggregation": "Definerer de inputargumenter, der bruges til filtrering og aggregering.", "setting-arguments-aggregation": "Data vil blive hentet fra relaterede entiteter, der er konfigureret i aggregeringsstien.", "metrics": "Definerer metrikker, der aggregeres baseret på konfigurerede argumenter.", @@ -1564,7 +1679,7 @@ "entity-type": "Entitetstype", "entity-type-required": "Entitetstype er påkrævet.", "alarm-type": "Alarmtype", - "alarm-type-hint": "Unik identifikator (f.eks. HighTempAlarm) inden for alarmoprinderens omfang (Enhed, Asset osv.) for at undgå konflikter.", + "alarm-type-hint": "Unik identifikator (f.eks. HighTempAlarm) inden for alarmafsenderens omfang (enhed, aktiv osv.) for at undgå konflikter.", "alarm-type-required": "Alarmtype er påkrævet.", "alarm-type-pattern": "Alarmtype er ugyldig.", "alarm-type-max-length": "Alarmtype skal være under 256 tegn.", @@ -1594,7 +1709,7 @@ "operation": "Operation", "value-source": "Værdikilde", "value": "Værdi", - "ignore-case": "Ignorer store/små bogstaver", + "ignore-case": "Ignorér store/små bogstaver", "condition": "Betingelse", "script": "Script", "add-filter": "Tilføj argumentfilter", @@ -1607,9 +1722,9 @@ "repeating": "Gentagende" }, "schedule-title": "Tidsplan", - "edit-schedule": "Rediger alarmtidsplan", - "schedule-type": "Tidsplanlægger-type", - "schedule-type-required": "Tidsplanlægger-type er påkrævet.", + "edit-schedule": "Redigér alarmtidsplan", + "schedule-type": "Tidsplanstype", + "schedule-type-required": "Tidsplanstype er påkrævet.", "schedule": { "any-time": "Aktiv hele tiden", "specific-time": "Aktiv på et bestemt tidspunkt", @@ -1645,13 +1760,13 @@ "complex": "Kompleks" }, "alarm-rule-additional-info": "Yderligere info", - "edit-alarm-rule-additional-info": "Rediger yderligere info", - "alarm-rule-additional-info-placeholder": "Angiv venligst dine kommentarer og justeringer her for at vise dem i Alarmdetaljer under Yderligere info", + "edit-alarm-rule-additional-info": "Redigér yderligere info", + "alarm-rule-additional-info-placeholder": "Tilføj kommentarer og justeringer, som vises under Yderligere info i alarmdetaljer", "alarm-rule-additional-info-hint": "Tip: brug ${Argumentnavn} til at erstatte værdier for de argumenter, der bruges i alarmregelbetingelsen.", "alarm-rule-additional-info-icon-hint": "Brug Argumentnavn til at erstatte værdier for de argumenter, der bruges i alarmregelbetingelsen.", - "alarm-rule-mobile-dashboard": "Mobilt Dashboard", - "alarm-rule-mobile-dashboard-hint": "Bruges af mobilapplikationen som et Dashboard til alarmdetaljer.", - "alarm-rule-no-mobile-dashboard": "Intet Dashboard valgt", + "alarm-rule-mobile-dashboard": "Mobilt dashboard", + "alarm-rule-mobile-dashboard-hint": "Bruges af mobilapplikationen som et dashboard til alarmdetaljer.", + "alarm-rule-no-mobile-dashboard": "Intet dashboard valgt", "alarm-rule-condition": "Alarmregelbetingelse", "enter-alarm-rule-condition-prompt": "Tilføj betingelse", "enter-alarm-rule-clear-condition-prompt": "Tilføj rydningsbetingelse", @@ -1665,13 +1780,13 @@ "condition-duration": "Betingelsesvarighed", "condition-duration-value": "Varighedsværdi", "condition-duration-time-unit": "Tidsenhed", - "condition-duration-value-range": "Varighedsværdi skal være i intervallet fra 1 til 2147483647.", - "condition-duration-value-pattern": "Varighedsværdi skal være heltal.", + "condition-duration-value-range": "Varighedsværdi skal være mellem 1 og 2147483647.", + "condition-duration-value-pattern": "Varighedsværdien skal være et heltal.", "condition-duration-value-required": "Varighedsværdi er påkrævet.", "condition-duration-time-unit-required": "Tidsenhed er påkrævet.", "condition-repeating-value": "Antal hændelser", "condition-repeating-value-hint": "Opdatering af ethvert alarmregelargument vil blive talt som en hændelse", - "condition-repeating-value-range": "Antal hændelser skal være i intervallet fra 1 til 2147483647.", + "condition-repeating-value-range": "Antal hændelser skal være mellem 1 og 2147483647.", "condition-repeating-value-pattern": "Antal hændelser skal være heltal.", "condition-repeating-value-required": "Antal hændelser er påkrævet.", "create-conditions": "Udløserbetingelser", @@ -1680,10 +1795,10 @@ "advanced-settings": "Avancerede indstillinger", "propagate-alarm": "Propagér alarm til relaterede entiteter", "alarm-rule-relation-types-list": "Relationstyper", - "alarm-rule-relation-types-list-hint": "Definerer relationstyper til filtrering af de relaterede entiteter. Hvis ikke angivet, vil alarmen blive propageret til alle relaterede entiteter.", - "propagate-alarm-to-owner": "Propagér alarm til entitetens ejer (Kunde eller Lejer)", - "propagate-alarm-to-owner-hierarchy": "Propagér alarm til hierarkiet af entitetsejere", - "propagate-alarm-to-tenant": "Propagér alarm til Lejer", + "alarm-rule-relation-types-list-hint": "Angiver relationstyper til at filtrere relaterede entiteter. Hvis tomt, propageres alarmen til alle relaterede entiteter.", + "propagate-alarm-to-owner": "Propagér alarm til entitetens ejer (kunde eller lejer)", + "propagate-alarm-to-owner-hierarchy": "Propagér alarm til ejerhierarki", + "propagate-alarm-to-tenant": "Propagér alarm til lejer", "alarm-rule-filter-title": "Alarmregelfilter", "filter-title": "Filter", "debugging": "Fejlfinding af alarmregel", @@ -1694,7 +1809,7 @@ "alarm-rule-type-list": "Liste over alarmtyper", "alarm-rule-entity-list": "Entitetsliste", "missing-for": "mangler i", - "time-unit": "Enhed", + "time-unit": "Tidsenhed", "mode": "Tilstand", "type": "Type", "value-required": "Værdi er påkrævet.", @@ -1712,16 +1827,16 @@ "secrets-storage": "Hemmelighedslager", "no-found": "Ingen hemmeligheder fundet", "add": "Tilføj hemmelighed", - "search": "Søg hemmelighed", + "search": "Søg i hemmeligheder", "list": "{ count, plural, =1 {Én hemmelighed} other {Liste med # hemmeligheder} }", "selected-fields": "{ count, plural, =1 {1 hemmelighed} other {# hemmeligheder} } valgt", "type": "Type", "name": "Navn", "name-required": "Navn er påkrævet.", "name-pattern": "Navnet på hemmeligheden indeholder ikke-understøttede tegn. Det må ikke inkludere \"{\", \"}\", \";\" eller kontroltegn.", - "name-max-length": "Navnet må være mindre end 256 tegn.", + "name-max-length": "Navnet skal være mindre end 256 tegn.", "description": "Beskrivelse", - "edit-description": "Rediger beskrivelse", + "edit-description": "Redigér beskrivelse", "set-description": "Angiv beskrivelse", "types": { "text": "Tekst", @@ -1732,13 +1847,13 @@ "delete": "Slet hemmelighed", "delete-secrets": "Slet hemmeligheder", "delete-secret-title": "Er du sikker på, at du vil slette hemmeligheden '{{secretName}}'?", - "delete-secret-text": "Vær forsigtig, efter bekræftelse bliver hemmeligheden og alle relaterede data ikke-gendannelige.", + "delete-secret-text": "Vær forsigtig: Efter bekræftelsen kan hemmeligheden og alle relaterede data ikke gendannes.", "delete-secrets-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 hemmelighed} other {# hemmeligheder} }?", "delete-secrets-action-title": "Slet { count, plural, =1 {1 hemmelighed} other {# hemmeligheder} }", - "delete-secrets-text": "Vær forsigtig, efter bekræftelse bliver alle valgte hemmeligheder og deres relaterede data ikke-gendannelige.", - "delete-secrets-in-use-text": "For at slette denne hemmelighed, fjern først dens brug fra enhederne ovenfor.", - "secrets-is-in-use-text": "Denne hemmelighed bruges i øjeblikket af andre enheder i platformen og kan ikke slettes, før den ikke længere er i brug:", - "secrets-are-in-use-text": "Ikke alle hemmeligheder er blevet slettet, fordi de bruges af andre enheder.
    Du kan se referencerede enheder ved at klikke på Referencer-knappen i den tilsvarende række.
    For at slette disse hemmeligheder skal du først fjerne deres brug fra de enheder, hvor de er nævnt.", + "delete-secrets-text": "Vær forsigtig: Efter bekræftelsen fjernes alle valgte hemmeligheder, og alle relaterede data kan ikke gendannes.", + "delete-secrets-in-use-text": "For at slette denne hemmelighed, fjern først dens brug fra entiteterne ovenfor.", + "secrets-is-in-use-text": "Denne hemmelighed bruges i øjeblikket af andre entiteter i platformen og kan ikke slettes, før den ikke længere er i brug:", + "secrets-are-in-use-text": "Ikke alle hemmeligheder er blevet slettet, fordi de bruges af andre entiteter.
    Du kan se refererede entiteter ved at klikke på Referencer-knappen i den tilsvarende række.
    For at slette disse hemmeligheder skal du først fjerne deres brug fra de entiteter, hvor de er nævnt.", "selected-secrets": "{ count, plural, =1 {1 hemmelighed} other {# hemmeligheder} } valgt", "use-secret-storage": "Brug hemmelighedslager", "dialog-title": "Tilføj hemmelighed", @@ -1753,7 +1868,7 @@ "file": "Filhemmelighed", "file-required": "Filhemmelighed er påkrævet." }, - "used-secret-title": "Hemmeligheden bruges af andre enheder", + "used-secret-title": "Hemmeligheden bruges af andre entiteter", "no-secrets-matching": "Ingen hemmeligheder, der matcher '{{entity}}', blev fundet.", "no-secrets-found": "Ingen hemmeligheder fundet.", "use-secret": "Brug hemmelighed", @@ -1783,7 +1898,7 @@ "mistral-ai": "Mistral AI", "anthropic": "Anthropic", "amazon-bedrock": "Amazon Bedrock", - "github-models": "GitHub-modeller", + "github-models": "GitHub Models", "ollama": "Ollama" }, "name-required": "Navn er påkrævet.", @@ -1833,8 +1948,8 @@ "context-length-hint": "Definerer størrelsen på kontekstvinduet i tokens. Denne værdi angiver den samlede hukommelsesgrænse for modellen, inklusiv både brugerens input og det genererede svar.", "endpoint": "Endpoint", "endpoint-required": "Endpoint er påkrævet.", - "baseurl": "Base-URL", - "baseurl-required": "Base-URL er påkrævet.", + "baseurl": "Basis-URL", + "baseurl-required": "Basis-URL er påkrævet.", "service-version": "Serviceversion", "check-connectivity": "Tjek forbindelsen", "check-connectivity-success": "Testanmodningen blev gennemført med succes", @@ -1877,7 +1992,7 @@ "no-address": "Ingen adresse", "no-country-found": "Ingen lande fundet.", "no-country-matching": "Ingen lande matchede '{{country}}'.", - "state-max-length": "Statens længde skal være mindre end 256 tegn", + "state-max-length": "Stat/provins skal være under 256 tegn", "phone-max-length": "Telefonnummeret skal være mindre end 256 tegn", "city-max-length": "Byens navn skal være mindre end 256 tegn" }, @@ -1893,6 +2008,7 @@ "enter-username": "Indtast brugernavn", "enter-password": "Indtast adgangskode", "enter-search": "Indtast søgning", + "all": "Alle", "created-time": "Oprettelsestid", "disabled": "Deaktiveret", "loading": "Indlæser...", @@ -1942,17 +2058,17 @@ "delete-converters-text": "Vær forsigtig, efter bekræftelse vil alle valgte datakonvertere blive fjernet og alle relaterede data vil gå tabt.", "events": "Hændelser", "add": "Tilføj datakonverter", - "edit": "Rediger datakonverter", + "edit": "Redigér datakonverter", "search": "Søg i datakonvertere", "converter-details": "Detaljer om datakonverter", "details": "Detaljer", "copyId": "Kopiér konverter-ID", "idCopiedMessage": "Konverter-ID er blevet kopieret til udklipsholderen", - "debug-mode": "Fejlfindingsmode", + "debug-mode": "Fejlfindingstilstand", "created-time": "Oprettelsestidspunkt", "name": "Navn", "name-required": "Navn er påkrævet.", - "name-max-length": "Navn må højst være 256 tegn langt", + "name-max-length": "Navnet skal være mindre end 256 tegn", "description": "Beskrivelse", "decoder": "Decoder", "encoder": "Encoder", @@ -1960,8 +2076,8 @@ "test-encoder-fuction": "Test encoderfunktion", "test-payload-decoder": "Test payload-dekoder", "test-with-this-message": "{{test}} med denne besked", - "decoder-input-params": "Indtastningsparametre for dekoder", - "encoder-input-params": "Indtastningsparametre for encoder", + "decoder-input-params": "Inputparametre for dekoder", + "encoder-input-params": "Inputparametre for encoder", "payload": "Payload", "payload-content-type": "Payload-indholdstype", "payload-content": "Payload-indhold", @@ -1970,7 +2086,7 @@ "message-type-required": "Beskedtype er påkrævet", "test": "Test", "metadata": "Metadata", - "metadata-required": "Metadatafelter må ikke være tomme.", + "metadata-required": "Metadataposter må ikke være tomme.", "integration-metadata": "Integrationsmetadata", "integration-metadata-required": "Integrationsmetadatafelter må ikke være tomme.", "output": "Output", @@ -1984,43 +2100,45 @@ "type-required": "Type er påkrævet.", "type-uplink": "Uplink", "type-downlink": "Downlink", - "update-only-keys-list": "Opdater kun nøgler", + "update-only-keys-list": "Nøgler, der kun opdateres ved ændring", "update-only-keys-list-hint": "Værdier tilhørende de angivne nøgler gemmes kun i databasen, hvis de er forskellige fra de tilsvarende værdier i den tidligere konverterede besked. Dette gælder både attributter og telemetri i konverterens output.", "all": "Alle", "main-decoding-configuration": "Primær dekoderkonfiguration", - "main-encoding-configuration": "Primær enkoderkonfiguration", + "main-encoding-configuration": "Primær encoderkonfiguration", "device-name": "Enhedsnavn", "device-name-required": "Enhedsnavn er påkrævet.", - "asset-name": "Ressourcenavn", - "asset-name-required": "Ressourcenavn er påkrævet.", + "asset-name": "Aktivnavn", + "asset-name-required": "Aktivnavn er påkrævet.", "advanced-decoding-parameters": "Avancerede dekoderparametre", "customer-name": "Kundens navn", "group": "Gruppe", "device-profile-name": "Enhedsprofilnavn", - "asset-profile-name": "Ressourceprofilnavn", - "asset-label": "Ressourcemærkat", - "device-label": "Enhedsmærkat", + "asset-profile-name": "Aktivprofilnavn", + "asset-label": "Aktivetiket", + "device-label": "Enhedsetiket", "device-group-name": "Enhedsgruppenavn", - "asset-group-name": "Ressourcegruppenavn", + "asset-group-name": "Aktivgruppenavn", "telemetry": "Telemetri", "attributes": "Attributter", "integration-type": "Integrationstype", "decoder-output": "Dekoder-output", "converter-output": "Konverter-output", "converter-type": "Konvertertype", - "update-raw-payload": "Opdateret RAW payload" + "update-raw-payload": "Opdateret RAW-payload" }, "content-type": { "json": "Json", "text": "Tekst", - "binary": "Binær (Base64)" + "binary": "Binær (Base64)", + "hex": "Binær (Hex)" }, "color": { "color": "Farve", "color-picker": "Farvevælger", "primary-colors": "Primære farver", "accent-colors": "Accentfarver", - "no-color-selected": "Ingen farve valgt" + "no-color-selected": "Ingen farve valgt", + "default": "Standard" }, "customer": { "all": "Alle", @@ -2030,40 +2148,41 @@ "hierarchy": "Hierarki", "customer": "Kunde", "customers": "Kunder", + "customers-and-users": "Kunder og brugere", "management": "Kundeadministration", "dashboard": "Kundedashboard", "dashboards": "Kundedashboards", "devices": "Kundeenheder", - "entity-views": "Kundeenhedsvisninger", + "entity-views": "Kundeentitetsvisninger", "assets": "Kundeaktiver", "public-dashboards": "Offentlige dashboards", "public-devices": "Offentlige enheder", "public-assets": "Offentlige aktiver", - "public-entity-views": "Offentlige enhedsvisninger", + "public-entity-views": "Offentlige entitetsvisninger", "add": "Tilføj kunde", "delete": "Slet kunde", "manage-customer-user-groups": "Administrér kundens brugergrupper", "manage-customer-groups": "Administrér kundegrupper", "manage-customer-device-groups": "Administrér kundens enhedsgrupper", "manage-customer-asset-groups": "Administrér kundens aktivgrupper", - "manage-customer-entity-view-groups": "Administrér kundens enhedsvisningsgrupper", - "manage-customer-edge-groups": "Administrér kundens edge-grupper", + "manage-customer-entity-view-groups": "Administrér kundens entitetsvisningsgrupper", + "manage-customer-edge-groups": "Administrér kundens Edge-grupper", "manage-customer-dashboard-groups": "Administrér kundens dashboardgrupper", "manage-customer-users": "Administrér kundens brugere", "manage-customers": "Administrér kunder", "manage-customer-devices": "Administrér kundens enheder", - "manage-customer-entity-views": "Administrér kundens enhedsvisninger", + "manage-customer-entity-views": "Administrér kundens entitetsvisninger", "manage-customer-dashboards": "Administrér kundens dashboards", "manage-public-devices": "Administrér offentlige enheder", "manage-public-dashboards": "Administrér offentlige dashboards", "manage-customer-assets": "Administrér kundens aktiver", - "manage-customer-edges": "Administrér kundens edge-instanser", + "manage-customer-edges": "Administrér kundens Edge-instanser", "manage-public-assets": "Administrér offentlige aktiver", "add-customer-text": "Tilføj ny kunde", "no-customers-text": "Ingen kunder fundet", "customer-details": "Kundedetaljer", "delete-customer-title": "Er du sikker på, at du vil slette kunden '{{customerTitle}}'?", - "delete-customer-text": "Vær forsigtig, efter bekræftelse vil kunden og alle tilknyttede data blive uoprettelige.", + "delete-customer-text": "Vær forsigtig: Efter bekræftelsen kan kunden og alle tilknyttede data ikke gendannes.", "delete-customers-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 kunde} other {# kunder} }?", "delete-customers-action-title": "Slet { count, plural, =1 {1 kunde} other {# kunder} }", "delete-customers-text": "Vær forsigtig, efter bekræftelse vil alle valgte kunder blive fjernet og tilhørende data gå tabt.", @@ -2071,19 +2190,19 @@ "manage-asset-groups": "Administrér aktivgrupper", "manage-device-groups": "Administrér enhedsgrupper", "manage-dashboard-groups": "Administrér dashboardgrupper", - "manage-entity-view-groups": "Administrér enhedsvisningsgrupper", - "manage-edge-groups": "Administrér edge-grupper", + "manage-entity-view-groups": "Administrér entitetsvisningsgrupper", + "manage-edge-groups": "Administrér Edge-grupper", "manage-users": "Administrér brugere", "manage-assets": "Administrér aktiver", "manage-devices": "Administrér enheder", "manage-dashboards": "Administrér dashboards", - "manage-entity-views": "Administrér enhedsvisninger", + "manage-entity-views": "Administrér entitetsvisninger", "title": "Titel", "title-required": "Titel er påkrævet.", "title-max-length": "Titel skal være mindre end 256 tegn", "description": "Beskrivelse", "details": "Detaljer", - "events": "Begivenheder", + "events": "Hændelser", "copyId": "Kopiér kunde-ID", "idCopiedMessage": "Kunde-ID er kopieret til udklipsholderen", "select-customer": "Vælg kunde", @@ -2097,12 +2216,13 @@ "group-name-starts-with": "Kundegrupper hvis navne starter med '{{prefix}}'", "select-default-customer": "Vælg standardkunde", "default-customer": "Standardkunde", - "default-customer-required": "Standardkunde er påkrævet for at fejlfinde dashboard på Tenant-niveau", + "default-customer-required": "Standardkunde er påkrævet for at fejlfinde dashboard på lejerniveau", "allow-white-labeling": "Tillad white labeling", "search": "Søg kunder", "selected-customers": "{ count, plural, =1 {1 kunde} other {# kunder} } valgt", - "edges": "Kundens edge-instanser", - "manage-edges": "Administrér edge-instanser" + "edges": "Kundens Edge-instanser", + "manage-edges": "Administrér Edge-instanser", + "manage-agents": "Administrér Agents" }, "customers-hierarchy": { "customers-hierarchy": "Kundehierarki", @@ -2120,30 +2240,30 @@ "delete-custom-menu-text": "Vær opmærksom på, at efter bekræftelse vil menuen og alle relaterede data ikke kunne gendannes.", "name": "Navn", "name-required": "Navn er påkrævet.", - "edit-name": "Rediger navn", + "edit-name": "Redigér navn", "scope": "Omfang", "scope-system": "System", - "scope-tenant": "Tenant", + "scope-tenant": "Lejer", "scope-customer": "Kunde", "assignee-type": "Tildelingstype", "assignee-no-assign": "Ikke tildelt", "assignee-customer-all": "Alle kundebrugere", "assignee-customers": "Kundeliste", - "assignee-tenant-all": "Alle tenant-brugere", + "assignee-tenant-all": "Alle lejerbrugere", "assignee-users": "Brugerliste", "assignee-user-group-names": "Brugergruppenavne", "user-group-name": "Brugergruppenavn", "assign-to": "Tildel til", - "manage-assignees": "Administrer tildelinger til brugertilpasset menu", - "manage-config": "Administrer menuens konfiguration", + "manage-assignees": "Administrér tildelinger til brugertilpasset menu", + "manage-config": "Administrér menuens konfiguration", "show-hidden-items": "Vis skjulte elementer", "delete-custom-menu": "Slet brugertilpasset menu", "delete-custom-menu-user-list-text": "Denne menu er tildelt \"Brugerliste\". Hvis du fjerner den, vil standardmenuen blive anvendt for brugerne nedenfor.", "delete-custom-menu-customer-list-text": "Denne menu er tildelt \"Kundeliste\". Hvis du fjerner den, vil standardmenuen blive anvendt for kunderne nedenfor.", "add-custom-menu-item": "Tilføj menupunkt", "add-custom-menu-subitem": "Tilføj undermenupunkt", - "edit-custom-menu-item": "Rediger menupunkt", - "edit-custom-menu-subitem": "Rediger undermenupunkt", + "edit-custom-menu-item": "Redigér menupunkt", + "edit-custom-menu-subitem": "Redigér undermenupunkt", "custom-item": "Brugerdefineret element", "menu-item-name": "Menupunktsnavn", "menu-item-name-is-required": "Menupunktsnavn er påkrævet", @@ -2152,8 +2272,8 @@ "add-subitem": "Tilføj undermenupunkt", "hide-all-menu-items": "Skjul alle menupunkter", "reset-to-default-menu": "Nulstil til standardmenu", - "edit-menu-item": "Rediger menupunkt", - "edit-home-menu-item": "Rediger startmenupunkt", + "edit-menu-item": "Redigér menupunkt", + "edit-home-menu-item": "Redigér startmenupunkt", "visible": "Synlig", "hidden": "Skjult", "home-page-type": "Startsidetype", @@ -2214,7 +2334,7 @@ "format": "Format", "preview": "Forhåndsvisning", "auto": "Auto", - "time-granularity-formats": "Tidsgranitetsformater", + "time-granularity-formats": "Formater for tidsgranularitet", "unit-year": "År", "unit-month": "Måneder", "unit-day": "Dage", @@ -2248,21 +2368,23 @@ "add": "Tilføj dashboard", "assign-dashboard-to-customer": "Tildel dashboard(s) til kunde", "assign-dashboard-to-customer-text": "Vælg venligst dashboards, der skal tildeles kunden", - "assign-to-customer-text": "Vælg venligst kunde, som dashboard(s) skal tildeles", + "assign-to-customer-text": "Vælg den kunde, som dashboardet/dashboardene skal tildeles", "assign-to-customer": "Tildel til kunde", - "unassign-from-customer": "Fratildel fra kunde", + "unassign-from-customer": "Fjern tildeling fra kunde", "make-public": "Gør dashboard offentligt", "make-private": "Gør dashboard privat", "manage-assigned-customers": "Administrér tildelte kunder", "assigned-customers": "Tildelte kunder", "assign-to-customers": "Tildel dashboard(s) til kunder", "assign-to-customers-text": "Vælg venligst kunder, der skal tildeles dashboard(s)", - "unassign-from-customers": "Fratildel dashboard(s) fra kunder", - "unassign-from-customers-text": "Vælg venligst kunder, der skal fratildeles dashboard(s)", + "unassign-from-customers": "Fjern tildeling af dashboard(s) fra kunder", + "unassign-from-customers-text": "Vælg venligst kunder, som tildelingen af dashboard(s) skal fjernes fra", "no-dashboards-text": "Ingen dashboards fundet", "no-widgets": "Ingen widgets konfigureret", "add-widget": "Tilføj ny widget", "add-widget-button-text": "Tilføj widget", + "edit-html-page": "Redigér HTML-side", + "html-page": "HTML-side", "title": "Titel", "image": "Dashboardbillede", "mobile-app-settings": "Indstillinger for mobilapplikation", @@ -2272,6 +2394,7 @@ "update-new-version": "Upload ny version", "upload-file-to-update": "Upload fil for at opdatere", "take-screenshot": "Tag skærmbillede", + "take-screenshot-failed": "Kunne ikke tage et skærmbillede af dashboardet. Prøv igen.", "select-widget-title": "Vælg widget", "select-widget-value": "{{title}}: vælg widget", "select-widget-subtitle": "Liste over tilgængelige widgettyper", @@ -2285,26 +2408,26 @@ "assign-dashboards": "Tildel dashboards", "assign-new-dashboard": "Tildel nyt dashboard", "assign-dashboards-text": "Tildel { count, plural, =1 {1 dashboard} other {# dashboards} } til kunder", - "unassign-dashboards-action-text": "Fratildel { count, plural, =1 {1 dashboard} other {# dashboards} } fra kunder", + "unassign-dashboards-action-text": "Fjern tildeling af { count, plural, =1 {1 dashboard} other {# dashboards} } fra kunder", "delete-dashboards": "Slet dashboards", - "unassign-dashboards": "Fratildel dashboards", - "unassign-dashboards-action-title": "Fratildel { count, plural, =1 {1 dashboard} other {# dashboards} } fra kunde", + "unassign-dashboards": "Fjern tildeling af dashboards", + "unassign-dashboards-action-title": "Fjern tildeling af { count, plural, =1 {1 dashboard} other {# dashboards} } fra kunde", "delete-dashboard-title": "Er du sikker på, at du vil slette dashboardet '{{dashboardTitle}}'?", "delete-dashboard-text": "Vær forsigtig, efter bekræftelse vil dashboardet og alle relaterede data ikke kunne gendannes.", "delete-dashboards-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 dashboard} other {# dashboards} }?", "delete-dashboards-action-title": "Slet { count, plural, =1 {1 dashboard} other {# dashboards} }", "delete-dashboards-text": "Vær forsigtig, efter bekræftelse vil alle valgte dashboards blive slettet og dataene ikke kunne gendannes.", - "unassign-dashboard-title": "Er du sikker på, at du vil fratilde dashboardet '{{dashboardTitle}}'?", - "unassign-dashboard-text": "Efter bekræftelse vil dashboardet blive fratildelt og ikke længere være tilgængeligt for kunden.", - "unassign-dashboard": "Fratildel dashboard", - "unassign-dashboards-title": "Er du sikker på, at du vil fratilde { count, plural, =1 {1 dashboard} other {# dashboards} }?", - "unassign-dashboards-text": "Efter bekræftelse vil alle valgte dashboards blive fratildelt og ikke længere være tilgængelige for kunden.", + "unassign-dashboard-title": "Er du sikker på, at du vil fjerne tildelingen af dashboardet '{{dashboardTitle}}'?", + "unassign-dashboard-text": "Efter bekræftelse vil tildelingen af dashboardet blive fjernet, og det vil ikke længere være tilgængeligt for kunden.", + "unassign-dashboard": "Fjern tildeling af dashboard", + "unassign-dashboards-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 dashboard} other {# dashboards} }?", + "unassign-dashboards-text": "Efter bekræftelse vil tildelingen af alle valgte dashboards blive fjernet, og de vil ikke længere være tilgængelige for kunden.", "public-dashboard-title": "Dashboardet er nu offentligt", "public-dashboard-text": "Dit dashboard {{dashboardTitle}} er nu offentligt og tilgængeligt via følgende offentlige link:", "public-dashboard-notice": "Bemærk: Glem ikke at gøre relaterede enheder offentlige for at få adgang til deres data.", "public-dashboard-link": "Offentligt dashboardlink", "public-dashboard-link-text": "Dit offentlige dashboard {{dashboardTitle}} er tilgængeligt via følgende offentlige link:", - "public-dashboard-link-notice": "Bemærk: Glem ikke at gøre relaterede enheder, aktiver og enhedsvisninger offentlige for at få adgang til deres data.", + "public-dashboard-link-notice": "Bemærk: Glem ikke at gøre relaterede enheder, aktiver og entitetsvisninger offentlige for at få adgang til deres data.", "make-private-dashboard-title": "Er du sikker på, at du vil gøre dashboardet '{{dashboardTitle}}' privat?", "make-private-dashboard-text": "Efter bekræftelse vil dashboardet blive gjort privat og ikke længere være tilgængeligt for andre.", "make-private-dashboard": "Gør dashboard privat", @@ -2335,6 +2458,7 @@ "layout-type-default": "Standard", "layout-type-scada": "SCADA", "layout-type-divider": "Opdeler", + "layout-type-html": "HTML-side", "layout-settings-type": "Layoutindstillinger: {{ type }} breakpoint", "columns-count": "Antal kolonner", "columns-count-required": "Antal kolonner er påkrævet.", @@ -2373,14 +2497,15 @@ "hide-toolbar": "Skjul værktøjslinje", "toolbar-always-open": "Hold værktøjslinjen åben", "display-dashboards-selection": "Vis dashboardvalg", - "display-entities-selection": "Vis enhedsvalg", + "display-entities-selection": "Vis entitetsvalg", "display-filters": "Vis filtre", "display-dashboard-timewindow": "Vis tidsvindue", "display-dashboard-export": "Vis eksport", - "display-update-dashboard-image": "Vis opdater dashboardbillede", - "dashboard-logo-settings": "Dashboard logoindstillinger", + "display-update-dashboard-image": "Vis knappen Opdatér dashboardbillede", + "display-configure-with-ai": "Vis knappen \"Konfigurér med AI\"", + "dashboard-logo-settings": "Dashboard-logoindstillinger", "display-dashboard-logo": "Vis logo i dashboardets fuldskærmstilstand", - "dashboard-logo-image": "Dashboard logobillede", + "dashboard-logo-image": "Dashboard-logobillede", "advanced-settings": "Avancerede indstillinger", "dashboard-css": "Dashboard CSS", "import": "Importér dashboard", @@ -2395,12 +2520,12 @@ "create-new-dashboard": "Opret nyt dashboard", "dashboard-file": "Dashboardfil", "invalid-dashboard-file-error": "Kan ikke importere dashboard: Ugyldig datastruktur.", - "dashboard-import-missing-aliases-title": "Konfigurer aliaser brugt i det importerede dashboard", + "dashboard-import-missing-aliases-title": "Konfigurér aliaser brugt i det importerede dashboard", "create-new-widget": "Opret ny widget", "import-widget": "Importér widget", "widget-file": "Widgetfil", "invalid-widget-file-error": "Kan ikke importere widget: Ugyldig widgetdatastruktur.", - "widget-import-missing-aliases-title": "Konfigurer aliaser brugt i den importerede widget", + "widget-import-missing-aliases-title": "Konfigurér aliaser brugt i den importerede widget", "open-toolbar": "Åbn dashboardværktøjslinje", "close-toolbar": "Luk værktøjslinje", "configuration-error": "Konfigurationsfejl", @@ -2420,7 +2545,7 @@ "states-short": "Tilstande", "search-states": "Søg i dashboardtilstande", "selected-states": "{ count, plural, =1 {1 dashboardtilstand} other {# dashboardtilstande} } valgt", - "edit-state": "Rediger dashboardtilstand", + "edit-state": "Redigér dashboardtilstand", "delete-state": "Slet dashboardtilstand", "add-state": "Tilføj dashboardtilstand", "no-states-text": "Ingen tilstande fundet", @@ -2448,11 +2573,11 @@ "group": "Dashboardgruppe", "list-of-groups": "{ count, plural, =1 {Én dashboardgruppe} other {Liste over # dashboardgrupper} }", "group-name-starts-with": "Dashboardgrupper hvis navne starter med '{{prefix}}'", - "unassign-dashboard-from-edge-text": "Efter bekræftelse vil dashboardet blive fratildelt og ikke være tilgængeligt for edge.", - "unassign-dashboards-from-edge-title": "Er du sikker på, at du vil fratilde { count, plural, =1 {1 dashboard} other {# dashboards} }?", - "unassign-dashboards-from-edge-text": "Efter bekræftelse vil alle valgte dashboards blive fratildelt og ikke være tilgængelige for edge.", - "assign-dashboard-to-edge": "Tildel dashboard(s) til edge", - "assign-dashboard-to-edge-text": "Vælg venligst dashboards, der skal tildeles til edge", + "unassign-dashboard-from-edge-text": "Efter bekræftelse vil tildelingen af dashboardet blive fjernet, og det vil ikke være tilgængeligt for Edge.", + "unassign-dashboards-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 dashboard} other {# dashboards} }?", + "unassign-dashboards-from-edge-text": "Efter bekræftelse vil tildelingen af alle valgte dashboards blive fjernet, og de vil ikke være tilgængelige for Edge.", + "assign-dashboard-to-edge": "Tildel dashboard(s) til Edge", + "assign-dashboard-to-edge-text": "Vælg de dashboards, der skal tildeles Edge", "non-existent-dashboard-state-error": "Dashboardtilstand med id \"{{ stateId }}\" blev ikke fundet", "edit-mode": "Redigeringstilstand", "duplicate-state-action": "Duplikér tilstand", @@ -2481,35 +2606,35 @@ "decimals": "Antal decimaler", "data-generation-func": "Datagenereringsfunktion", "use-data-post-processing-func": "Brug dataefterbehandlingsfunktion", - "configuration": "Datakey-konfiguration", + "configuration": "Konfiguration af datanøgle", "timeseries": "Tidsserie", "attributes": "Attributter", - "entity-field": "Enhedsfelt", + "entity-field": "Entitetsfelt", "alarm": "Alarmfelter", - "timeseries-required": "Enhedens tidsserier er påkrævet.", - "timeseries-or-attributes-required": "Enhedens tidsserier/attributter er påkrævet.", - "alarm-fields-timeseries-or-attributes-required": "Alarmfelter eller enhedens tidsserier/attributter er påkrævet.", + "timeseries-required": "Entitetens tidsserier er påkrævede.", + "timeseries-or-attributes-required": "Entitetens tidsserier/attributter er påkrævede.", + "alarm-fields-timeseries-or-attributes-required": "Alarmfelter eller entitetens tidsserier/attributter er påkrævede.", "maximum-timeseries-or-attributes": "Maksimalt { count, plural, =1 {1 tidsserie/attribut er tilladt.} other {# tidsserier/attributter er tilladt} }", "alarm-fields-required": "Alarmfelter er påkrævet.", "function-types": "Funktionstyper", "function-type": "Funktionstype", "function-types-required": "Funktionstyper er påkrævet.", - "data-keys": "Datataster", - "data-key": "Datatast", - "data-keys-required": "Datataster er påkrævet.", - "data-key-required": "Datatast er påkrævet.", - "alarm-keys": "Alarm-datataster", - "alarm-key": "Alarm-datatast", - "alarm-key-functions": "Alarm-funktioner", - "alarm-key-function": "Alarm-funktion", - "latest-keys": "Seneste datataster", - "latest-key": "Seneste datatast", + "data-keys": "Datanøgler", + "data-key": "Datanøgle", + "data-keys-required": "Datanøgler er påkrævet.", + "data-key-required": "Datanøgle er påkrævet.", + "alarm-keys": "Alarmdatanøgler", + "alarm-key": "Alarmdatanøgle", + "alarm-key-functions": "Alarmnøglefunktioner", + "alarm-key-function": "Alarmnøglefunktion", + "latest-keys": "Seneste datanøgler", + "latest-key": "Seneste datanøgle", "latest-key-functions": "Seneste nøglefunktioner", "latest-key-function": "Seneste nøglefunktion", - "timeseries-keys": "Tidsserie-datataster", - "timeseries-key": "Tidsserie-datatast", - "timeseries-key-functions": "Tidsserie-funktioner", - "timeseries-key-function": "Tidsserie-funktion", + "timeseries-keys": "Tidsseriedatanøgler", + "timeseries-key": "Tidsseriedatanøgle", + "timeseries-key-functions": "Tidsserienøglefunktioner", + "timeseries-key-function": "Tidsserienøglefunktion", "maximum-function-types": "Maksimalt { count, plural, =1 {1 funktionstype er tilladt.} other {# funktionstyper er tilladt} }", "time-description": "tidsstempel for den aktuelle værdi;", "value-description": "den aktuelle værdi;", @@ -2547,7 +2672,7 @@ "details": { "details": "Detaljer", "edit-mode": "Redigeringstilstand", - "edit-json": "Rediger JSON", + "edit-json": "Redigér JSON", "toggle-edit-mode": "Skift redigeringstilstand" }, "device": { @@ -2596,37 +2721,37 @@ "assign-to-customer-text": "Vælg venligst en kunde, som enheden skal tildeles", "device-details": "Enhedsdetaljer", "add-device-text": "Tilføj ny enhed", - "credentials": "Oplysninger", - "manage-credentials": "Administrér oplysninger", + "credentials": "Legitimationsoplysninger", + "manage-credentials": "Administrér legitimationsoplysninger", "delete": "Slet enhed", "assign-devices": "Tildel enheder", "assign-devices-text": "Tildel { count, plural, =1 {1 enhed} other {# enheder} } til kunde", "delete-devices": "Slet enheder", - "unassign-from-customer": "Fratildel fra kunde", - "unassign-devices": "Fratildel enheder", - "unassign-devices-action-title": "Fratildel { count, plural, =1 {1 enhed} other {# enheder} } fra kunde", - "unassign-device-from-edge-title": "Er du sikker på, at du vil fratilde enheden '{{deviceName}}'?", - "unassign-device-from-edge-text": "Efter bekræftelse vil enheden blive fratildelt og ikke længere være tilgængelig for edge.", - "unassign-devices-from-edge": "Fratildel enheder fra edge", + "unassign-from-customer": "Fjern tildeling fra kunde", + "unassign-devices": "Fjern tildeling af enheder", + "unassign-devices-action-title": "Fjern tildeling af { count, plural, =1 {1 enhed} other {# enheder} } fra kunde", + "unassign-device-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af enheden '{{deviceName}}'?", + "unassign-device-from-edge-text": "Efter bekræftelse vil tildelingen af enheden blive fjernet, og den vil ikke længere være tilgængelig for Edge.", + "unassign-devices-from-edge": "Fjern tildeling af enheder fra Edge", "assign-new-device": "Tildel ny enhed", "make-public-device-title": "Er du sikker på, at du vil gøre enheden '{{deviceName}}' offentlig?", "make-public-device-text": "Efter bekræftelse vil enheden og alle dens data være offentlige og tilgængelige for andre.", "make-private-device-title": "Er du sikker på, at du vil gøre enheden '{{deviceName}}' privat?", "make-private-device-text": "Efter bekræftelse vil enheden og alle dens data være private og ikke længere tilgængelige for andre.", - "view-credentials": "Vis oplysninger", + "view-credentials": "Vis legitimationsoplysninger", "delete-device-title": "Er du sikker på, at du vil slette enheden '{{deviceName}}'?", "delete-device-text": "Vær forsigtig, efter bekræftelse vil enheden og alle relaterede data ikke kunne gendannes.", "delete-devices-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 enhed} other {# enheder} }?", "delete-devices-action-title": "Slet { count, plural, =1 {1 enhed} other {# enheder} }", "delete-devices-text": "Vær forsigtig, efter bekræftelse vil alle valgte enheder blive slettet og alle relaterede data vil gå tabt.", - "unassign-device-title": "Er du sikker på, at du vil fratilde enheden '{{deviceName}}'?", - "unassign-device-text": "Efter bekræftelse vil enheden blive fratildelt og ikke længere være tilgængelig for kunden.", - "unassign-device": "Fratildel enhed", - "unassign-devices-title": "Er du sikker på, at du vil fratilde { count, plural, =1 {1 enhed} other {# enheder} }?", - "unassign-devices-text": "Efter bekræftelse vil alle valgte enheder blive fratildelt og ikke længere være tilgængelige for kunden.", - "device-credentials": "Enhedsoplysninger", - "loading-device-credentials": "Indlæser enhedsoplysninger...", - "credentials-type": "Oplysningstype", + "unassign-device-title": "Er du sikker på, at du vil fjerne tildelingen af enheden '{{deviceName}}'?", + "unassign-device-text": "Efter bekræftelse vil tildelingen af enheden blive fjernet, og den vil ikke længere være tilgængelig for kunden.", + "unassign-device": "Fjern tildeling af enhed", + "unassign-devices-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 enhed} other {# enheder} }?", + "unassign-devices-text": "Efter bekræftelse vil tildelingen af alle valgte enheder blive fjernet, og de vil ikke længere være tilgængelige for kunden.", + "device-credentials": "Enhedens legitimationsoplysninger", + "loading-device-credentials": "Indlæser enhedens legitimationsoplysninger...", + "credentials-type": "Type af legitimationsoplysninger", "access-token": "Adgangstoken", "access-token-required": "Adgangstoken er påkrævet.", "access-token-invalid": "Adgangstoken skal være mellem 1 og 32 tegn.", @@ -2647,31 +2772,31 @@ "identity-tooltip": "PSK-identifikatoren er en vilkårlig identifikator op til 128 bytes, som beskrevet i standarden [RFC7925].\nIdentifikatoren SKAL først konverteres til en streng og derefter kodes til oktetter med UTF-8.", "client-key": "Klientnøgle", "client-key-required": "Klientnøgle er påkrævet.", - "client-key-tooltip-prk": "RPK offentlig nøgle eller id skal følge standarden [RFC7250] og være kodet i Base64!", + "client-key-tooltip-prk": "Offentlig RPK-nøgle eller id skal følge standarden [RFC7250] og være Base64-kodet!", "client-key-tooltip-psk": "PSK-nøgle skal følge standarden [RFC4279] og være i HexDec-format: 32, 64, 128 tegn!", "endpoint": "Endpoint-klientnavn", "endpoint-required": "Endpoint-klientnavn er påkrævet.", "client-public-key": "Klientens offentlige nøgle", "client-public-key-hint": "Hvis den offentlige nøgle er tom, vil det betroede certifikat blive brugt", - "client-public-key-tooltip": "X509 offentlig nøgle skal være i DER-kodet X509v3-format, udelukkende understøtte EC-algoritmen og derefter være Base64-kodet!", + "client-public-key-tooltip": "Offentlig X509-nøgle skal være i DER-kodet X509v3-format, udelukkende understøtte EC-algoritmen og derefter være Base64-kodet!", "mode": "Sikkerhedskonfigurationstilstand", "client-tab": "Klientens sikkerhedskonfiguration", "client-certificate": "Klientcertifikat", "bootstrap-tab": "Bootstrap-klient", "bootstrap-server": "Bootstrap-server", "lwm2m-server": "LwM2M-server", - "client-reboot": "Trigger for registreringsopdatering", - "bootstrap-reboot": "Trigger for bootstrap-anmodning", + "client-reboot": "Udløser for registreringsopdatering", + "bootstrap-reboot": "Udløser for bootstrap-anmodning", "client-publicKey-or-id": "Klientens offentlige nøgle eller ID", "client-publicKey-or-id-required": "Klientens offentlige nøgle eller ID er påkrævet.", - "client-publicKey-or-id-tooltip-psk": "PSK-identifikator er en vilkårlig identifikator op til 128 bytes som beskrevet i standarden [RFC7925].\nDen SKAL konverteres til en streng og kodes med UTF-8.", - "client-publicKey-or-id-tooltip-rpk": "RPK offentlig nøgle eller ID skal være i henhold til standard [RFC7250] og Base64-kodet!", - "client-publicKey-or-id-tooltip-x509": "X509 offentlig nøgle skal være i DER-kodet X509v3-format og udelukkende understøtte EC-algoritmen og derefter være Base64-kodet", + "client-publicKey-or-id-tooltip-psk": "PSK-identifikatoren er en vilkårlig identifikator op til 128 bytes, som beskrevet i standarden [RFC7925].\nIdentifikatoren SKAL først konverteres til en streng og derefter kodes til oktetter med UTF-8.", + "client-publicKey-or-id-tooltip-rpk": "Offentlig RPK-nøgle eller id skal følge standarden [RFC7250] og være Base64-kodet!", + "client-publicKey-or-id-tooltip-x509": "Offentlig X509-nøgle skal være i DER-kodet X509v3-format, udelukkende understøtte EC-algoritmen og derefter være Base64-kodet", "client-secret-key": "Klientens hemmelige nøgle", "client-secret-key-required": "Klientens hemmelige nøgle er påkrævet.", "client-secret-key-tooltip-psk": "PSK-nøgle skal følge standarden [RFC4279] og være i HexDec-format: 32, 64, 128 tegn!", - "client-secret-key-tooltip-prk": "RPK hemmelige nøgle skal være i PKCS_8-format (DER-kodning, standard [RFC5958]) og derefter Base64-kodet!", - "client-secret-key-tooltip-x509": "X509 hemmelige nøgle skal være i PKCS_8-format (DER-kodning, standard [RFC5958]) og derefter Base64-kodet!" + "client-secret-key-tooltip-prk": "Hemmelig RPK-nøgle skal være i PKCS_8-format (DER-kodning, standard [RFC5958]) og derefter Base64-kodet!", + "client-secret-key-tooltip-x509": "Hemmelig X509-nøgle skal være i PKCS_8-format (DER-kodning, standard [RFC5958]) og derefter Base64-kodet!" }, "client-id": "Klient-ID", "client-id-pattern": "Indeholder ugyldigt tegn.", @@ -2692,8 +2817,8 @@ "device-types": "Enhedstyper", "name": "Navn", "name-required": "Navn er påkrævet.", - "name-max-length": "Navn må være under 256 tegn", - "label-max-length": "Etiket må være under 256 tegn", + "name-max-length": "Navnet skal være mindre end 256 tegn", + "label-max-length": "Etiket skal være mindre end 256 tegn", "description": "Beskrivelse", "label": "Etiket", "events": "Hændelser", @@ -2702,7 +2827,7 @@ "copyAccessToken": "Kopiér adgangstoken", "copy-mqtt-authentication": "Kopiér MQTT-legitimationsoplysninger", "idCopiedMessage": "Enheds-ID er kopieret til udklipsholderen", - "accessTokenCopiedMessage": "Enheds adgangstoken er kopieret til udklipsholderen", + "accessTokenCopiedMessage": "Enhedens adgangstoken er kopieret til udklipsholderen", "mqtt-authentication-copied-message": "Enhedens MQTT-legitimationsoplysninger er kopieret til udklipsholderen", "assignedToCustomer": "Tildelt kunde", "unable-delete-device-alias-title": "Kan ikke slette enhedsalias", @@ -2734,8 +2859,8 @@ "wizard": { "device-details": "Enhedsdetaljer" }, - "unassign-devices-from-edge-title": "Er du sikker på, at du vil fratilde { count, plural, =1 {1 enhed} other {# enheder} }?", - "unassign-devices-from-edge-text": "Efter bekræftelse vil alle valgte enheder blive fratildelt og ikke være tilgængelige for edge.", + "unassign-devices-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 enhed} other {# enheder} }?", + "unassign-devices-from-edge-text": "Efter bekræftelse vil tildelingen af alle valgte enheder blive fjernet, og de vil ikke være tilgængelige for Edge.", "time": "Tid", "connectivity": { "check-connectivity": "Tjek forbindelsen", @@ -2743,11 +2868,13 @@ "loading-check-connectivity-command": "Indlæser kommandoer til forbindelsestjek...", "use-following-instructions": "Brug følgende instruktioner til at sende telemetri på vegne af enheden via shell", "execute-following-command": "Udfør følgende kommando", + "step-execute-following-command": "Trin 2. Kør følgende kommando", + "step-install-necessary-client-tools": "Trin 1. Installér de nødvendige klientværktøjer", "install-curl-windows": "Fra og med Windows 10 b17063 er cURL tilgængelig som standard", "install-curl-macos": "Fra og med Mac OS X 10.2 6C115 (Jaguar) er cURL tilgængelig som standard", "install-mqtt-windows": "Brug instruktionerne til at downloade, installere, konfigurere og køre mosquitto_pub", "install-coap-client": "Brug instruktionerne til at downloade, installere, konfigurere og køre coap-client", - "install-necessary-client-tools": "Installer nødvendige klientværktøjer", + "install-necessary-client-tools": "Installér nødvendige klientværktøjer", "mqtts-x509-command": "Brug følgende dokumentation til at tilslutte enheden via MQTT med X509-godkendelse", "coaps-x509-command": "Brug følgende dokumentation til at tilslutte enheden via CoAP over DTLS med X509-godkendelse", "snmp-command": "Brug følgende dokumentation til at tilslutte enheden via SNMP.", @@ -2766,7 +2893,7 @@ "type-password": "Adgangskode", "type-textarea": "Tekstområde", "type-number": "Tal", - "type-switch": "Skifte", + "type-switch": "Kontakt (til/fra)", "type-select": "Vælg", "type-radios": "Radioknapper", "type-datetime": "Dato/Tid", @@ -2779,7 +2906,7 @@ "type-color": "Farve", "type-color-settings": "Farveindstillinger", "type-font": "Skrifttype", - "type-units": "Enheder", + "type-units": "Måleenheder", "type-icon": "Ikon", "type-css-size": "CSS-størrelse", "type-fieldset": "Feltgruppe", @@ -2796,16 +2923,16 @@ "min": "Min", "max": "Maks", "step": "Trin", - "selected-options-limit": "Valgte valgmuligheder grænse", + "selected-options-limit": "Grænse for antal valgte muligheder", "advanced-ui-settings": "Avancerede UI-indstillinger", - "disable-on-property": "Deaktiver ved egenskab", + "disable-on-property": "Deaktivér ved egenskab", "disable-on-property-none": "Ingen (feltet er altid aktiveret)", "display-condition-function": "Visningsbetingelsesfunktion", "sub-label": "Undertekst", "vertical-divider-after": "Lodret skillelinje efter", "input-field-suffix": "Suffiks i inputfelt", - "property-row-classes": "Række-klasser", - "property-field-classes": "Felt-klasser", + "property-row-classes": "Egenskabens rækkeklasser", + "property-field-classes": "Egenskabens feltklasser", "not-unique-property-ids-error": "Egenskabs-ID'er skal være unikke!", "enable-multiple-select": "Tillad flere valg", "allow-empty-select-option": "Tillad tom mulighed", @@ -2817,12 +2944,12 @@ "no-options": "Ingen valgmuligheder konfigureret", "remove-option": "Fjern mulighed", "textarea-rows": "Rækker i tekstområde", - "help-id": "Hjælp-id", + "help-id": "Hjælpe-id", "buttons-direction": "Knappers retning", "direction-row": "Række", "direction-column": "Kolonne", "radio-button-options": "Radioknapmuligheder", - "datetime-type": "Dato/tid felt-type", + "datetime-type": "Felttype for dato/tid", "datetime-type-date": "Dato", "datetime-type-time": "Tid", "datetime-type-datetime": "Dato/tid", @@ -2834,7 +2961,7 @@ "item-type": "Elementtype", "item-name": "Elementnavn", "no-items": "Ingen elementer", - "support-unit-conversion": "Understøt enhedskonvertering" + "support-unit-conversion": "Understøt omregning af måleenheder" }, "clear-form": "Ryd formular", "clear-form-prompt": "Er du sikker på, at du vil fjerne alle formularens egenskaber?", @@ -2845,56 +2972,56 @@ "invalid-form-json-file-error": "Kan ikke importere formular fra JSON: Ugyldig JSON-datastruktur for formular." }, "asset-profile": { - "asset-profile": "Assetprofil", - "asset-profiles": "Assetprofiler", + "asset-profile": "Aktivprofil", + "asset-profiles": "Aktivprofiler", "all-asset-profiles": "Alle", - "add": "Tilføj assetprofil", - "edit": "Rediger assetprofil", - "asset-profile-details": "Assetprofildetaljer", - "no-asset-profiles-text": "Ingen assetprofiler fundet", - "search": "Søg assetprofiler", - "selected-asset-profiles": "{ count, plural, =1 {1 assetprofil} other {# assetprofiler} } valgt", - "no-asset-profiles-matching": "Ingen assetprofil matcher '{{entity}}'.", - "asset-profile-required": "Assetprofil er påkrævet", - "idCopiedMessage": "Assetprofil-ID er blevet kopieret til udklipsholderen", - "set-default": "Gør assetprofil til standard", - "delete": "Slet assetprofil", - "copyId": "Kopiér assetprofil-ID", - "name-max-length": "Navnet må være under 256 tegn", - "new-device-profile-name": "Assetprofilnavn", - "new-device-profile-name-required": "Assetprofilnavn er påkrævet.", + "add": "Tilføj aktivprofil", + "edit": "Redigér aktivprofil", + "asset-profile-details": "Aktivprofildetaljer", + "no-asset-profiles-text": "Ingen aktivprofiler fundet", + "search": "Søg aktivprofiler", + "selected-asset-profiles": "{ count, plural, =1 {1 aktivprofil} other {# aktivprofiler} } valgt", + "no-asset-profiles-matching": "Ingen aktivprofil matcher '{{entity}}'.", + "asset-profile-required": "Aktivprofil er påkrævet.", + "idCopiedMessage": "Aktivprofil-ID er blevet kopieret til udklipsholderen", + "set-default": "Gør aktivprofil til standard", + "delete": "Slet aktivprofil", + "copyId": "Kopiér aktivprofil-ID", + "name-max-length": "Navnet skal være mindre end 256 tegn", + "new-device-profile-name": "Aktivprofilnavn", + "new-device-profile-name-required": "Aktivprofilnavn er påkrævet.", "name": "Navn", "name-required": "Navn er påkrævet.", - "image": "Assetprofilbillede", + "image": "Aktivprofilbillede", "description": "Beskrivelse", "default": "Standard", "default-rule-chain": "Standardregelkæde", - "default-edge-rule-chain": "Standard edge-regelkæde", - "default-edge-rule-chain-hint": "Bruges på edge som regelkæde til behandling af indgående data for aktiver i denne assetprofil", - "mobile-dashboard": "Mobil-dashboard", - "mobile-dashboard-hint": "Bruges af mobilappen som dashboard for assetdetaljer", + "default-edge-rule-chain": "Standardregelkæde for Edge", + "default-edge-rule-chain-hint": "Bruges på Edge som regelkæde til behandling af indgående data for aktiver i denne aktivprofil", + "mobile-dashboard": "Mobildashboard", + "mobile-dashboard-hint": "Bruges af mobilapplikationen som dashboard for aktivdetaljer", "select-queue-hint": "Vælg fra rullelisten.", - "delete-asset-profile-title": "Er du sikker på, at du vil slette assetprofilen '{{assetProfileName}}'?", - "delete-asset-profile-text": "Vær forsigtig, efter bekræftelse vil assetprofilen og alle relaterede data ikke kunne gendannes.", - "delete-asset-profiles-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 assetprofil} other {# assetprofiler} }?", - "delete-asset-profiles-text": "Vær forsigtig, efter bekræftelse vil alle valgte assetprofiler blive fjernet og dataene ikke kunne gendannes.", - "set-default-asset-profile-title": "Er du sikker på, at du vil gøre assetprofilen '{{assetProfileName}}' til standard?", - "set-default-asset-profile-text": "Efter bekræftelse vil assetprofilen blive markeret som standard og anvendt til nye aktiver uden specifik profil.", - "no-asset-profiles-found": "Ingen assetprofiler fundet.", + "delete-asset-profile-title": "Er du sikker på, at du vil slette aktivprofilen '{{assetProfileName}}'?", + "delete-asset-profile-text": "Vær forsigtig, efter bekræftelse vil aktivprofilen og alle relaterede data ikke kunne gendannes.", + "delete-asset-profiles-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 aktivprofil} other {# aktivprofiler} }?", + "delete-asset-profiles-text": "Vær forsigtig, efter bekræftelse vil alle valgte aktivprofiler blive fjernet og dataene ikke kunne gendannes.", + "set-default-asset-profile-title": "Er du sikker på, at du vil gøre aktivprofilen '{{assetProfileName}}' til standard?", + "set-default-asset-profile-text": "Efter bekræftelse vil aktivprofilen blive markeret som standard og anvendt til nye aktiver uden specifik profil.", + "no-asset-profiles-found": "Ingen aktivprofiler fundet.", "create-new-asset-profile": "Opret en ny!", - "create-asset-profile": "Opret ny assetprofil", - "import": "Importér assetprofil", - "export": "Eksportér assetprofil", - "export-failed-error": "Kan ikke eksportere assetprofil: {{error}}", - "asset-profile-file": "Assetprofilfil", - "invalid-asset-profile-file-error": "Kan ikke importere assetprofil: Ugyldig datastruktur." + "create-asset-profile": "Opret ny aktivprofil", + "import": "Importér aktivprofil", + "export": "Eksportér aktivprofil", + "export-failed-error": "Kan ikke eksportere aktivprofil: {{error}}", + "asset-profile-file": "Aktivprofilfil", + "invalid-asset-profile-file-error": "Kan ikke importere aktivprofil: Ugyldig datastruktur." }, "device-profile": { "device-profile": "Enhedsprofil", "device-profiles": "Enhedsprofiler", "all-device-profiles": "Alle", "add": "Tilføj enhedsprofil", - "edit": "Rediger enhedsprofil", + "edit": "Redigér enhedsprofil", "device-profile-details": "Detaljer om enhedsprofil", "no-device-profiles-text": "Ingen enhedsprofiler fundet", "search": "Søg enhedsprofiler", @@ -2905,7 +3032,7 @@ "set-default": "Gør enhedsprofil til standard", "delete": "Slet enhedsprofil", "copyId": "Kopiér enhedsprofil-ID", - "name-max-length": "Navnet må være under 256 tegn", + "name-max-length": "Navnet skal være mindre end 256 tegn", "name": "Navn", "name-required": "Navn er påkrævet.", "type": "Profiltype", @@ -2915,26 +3042,26 @@ "transport-type": "Transporttype", "transport-type-required": "Transporttype er påkrævet.", "transport-type-default": "Standard", - "transport-type-default-hint": "Understøtter grundlæggende MQTT, HTTP og CoAP transport", + "transport-type-default-hint": "Understøtter grundlæggende MQTT-, HTTP- og CoAP-transport", "transport-type-mqtt": "MQTT", - "transport-type-mqtt-hint": "Aktiverer avancerede MQTT transportindstillinger", + "transport-type-mqtt-hint": "Aktiverer avancerede MQTT-transportindstillinger", "transport-type-coap": "CoAP", - "transport-type-coap-hint": "Aktiverer avancerede CoAP transportindstillinger", + "transport-type-coap-hint": "Aktiverer avancerede CoAP-transportindstillinger", "transport-type-lwm2m": "LWM2M", - "transport-type-lwm2m-hint": "LWM2M transporttype", + "transport-type-lwm2m-hint": "LWM2M-transporttype", "transport-type-snmp": "SNMP", - "transport-type-snmp-hint": "Angiv SNMP transportkonfiguration", + "transport-type-snmp-hint": "Angiv SNMP-transportkonfiguration", "transport-type-http": "HTTP", "description": "Beskrivelse", "default": "Standard", "profile-configuration": "Profilkonfiguration", "transport-configuration": "Transportkonfiguration", "default-rule-chain": "Standardregelkæde", - "default-edge-rule-chain": "Standard edge-regelkæde", - "default-edge-rule-chain-hint": "Bruges på edge som regelkæde til at behandle indgående data for enheder med denne enhedsprofil", - "mobile-dashboard": "Mobil-dashboard", - "mobile-dashboard-hint": "Bruges af mobilapplikationen som enhedens detaljer-dashboard", - "select-queue-hint": "Vælg fra rullemenuen.", + "default-edge-rule-chain": "Standardregelkæde for Edge", + "default-edge-rule-chain-hint": "Bruges på Edge som regelkæde til at behandle indgående data for enheder med denne enhedsprofil", + "mobile-dashboard": "Mobildashboard", + "mobile-dashboard-hint": "Bruges af mobilapplikationen som dashboard for enhedsdetaljer", + "select-queue-hint": "Vælg fra rullelisten.", "delete-device-profile-title": "Er du sikker på, at du vil slette enhedsprofilen '{{deviceProfileName}}'?", "delete-device-profile-text": "Vær forsigtig, efter bekræftelse vil enhedsprofilen og alle relaterede data, inklusive OTA-opdateringer, ikke kunne gendannes.", "delete-device-profiles-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 enhedsprofil} other {# enhedsprofiler} }?", @@ -2943,19 +3070,19 @@ "set-default-device-profile-text": "Efter bekræftelse vil enhedsprofilen blive markeret som standard og brugt til nye enheder uden angivet profil.", "no-device-profiles-found": "Ingen enhedsprofiler fundet.", "create-new-device-profile": "Opret en ny!", - "mqtt-device-topic-filters": "MQTT enheds-topic-filtre", - "mqtt-device-topic-filters-unique": "MQTT enheds-topic-filtre skal være unikke.", + "mqtt-device-topic-filters": "Topicfiltre for MQTT-enheder", + "mqtt-device-topic-filters-unique": "Topicfiltre for MQTT-enheder skal være unikke.", "mqtt-device-topic-filters-spark-plug": "MQTT Sparkplug B Edge of Network (EoN) node.", - "mqtt-device-topic-filters-spark-plug-hint": "Tillad forbindelser fra EoN noder med Sparkplug B payload og topic-format.", + "mqtt-device-topic-filters-spark-plug-hint": "Tillad forbindelser fra EoN-noder med Sparkplug B-payload og -topicformat.", "mqtt-device-topic-filters-spark-plug-attribute-metric-names": "SparkPlug-metrikker der skal gemmes som attributter.", "mqtt-device-topic-filters-spark-plug-attribute-metric-names-hint": "Navne på SparkPlug-metrikker, der vil blive gemt som enhedsattributter. Alle andre metrikker vil blive gemt som telemetri.", - "mqtt-device-payload-type": "MQTT enhedspayload", + "mqtt-device-payload-type": "MQTT-enhedspayload", "mqtt-device-payload-type-json": "JSON", "mqtt-device-payload-type-proto": "Protobuf", - "mqtt-enable-compatibility-with-json-payload-format": "Aktiver kompatibilitet med andre payloadformater.", - "mqtt-enable-compatibility-with-json-payload-format-hint": "Når aktiveret, bruges Protobuf som standard payloadformat. Hvis parsing fejler, forsøges JSON. Nyttigt til bagudkompatibilitet under firmwareopdateringer. Kompatibilitetstilstand kan reducere ydeevne en smule.", + "mqtt-enable-compatibility-with-json-payload-format": "Aktivér kompatibilitet med andre payloadformater.", + "mqtt-enable-compatibility-with-json-payload-format-hint": "Når aktiveret, bruger platformen som standard Protobuf som payloadformat. Hvis parsing fejler, forsøger platformen at bruge JSON som payloadformat. Nyttigt for bagudkompatibilitet under firmwareopdateringer. For eksempel bruger den første udgave af firmwaren JSON, mens den nye udgave bruger Protobuf. Mens firmwaren opdateres på hele enhedsflåden, skal både Protobuf og JSON understøttes samtidig. Kompatibilitetstilstanden giver en lille forringelse af ydeevnen, så det anbefales at deaktivere den, når alle enheder er opdateret.", "mqtt-use-json-format-for-default-downlink-topics": "Brug JSON-format til standard downlink-topics", - "mqtt-use-json-format-for-default-downlink-topics-hint": "Ved aktivering bruges JSON-payload til push af attributter og RPC via standard topics. Har ingen effekt på nye (v2) topics.", + "mqtt-use-json-format-for-default-downlink-topics-hint": "Når aktiveret, bruger platformen JSON-payloadformat til at sende attributter og RPC via følgende topics: v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. Denne indstilling påvirker ikke abonnementer på attributter og RPC, der sendes via de nye (v2) topics: v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. Hvor $request_id er en heltalsidentifikator for anmodningen.", "mqtt-send-ack-on-validation-exception": "Send PUBACK ved valideringsfejl af PUBLISH-besked", "mqtt-send-ack-on-validation-exception-hint": "Som standard vil platformen lukke MQTT-sessionen ved valideringsfejl. Når aktiveret, sender platformen en bekræftelse i stedet for at lukke sessionen.", "mqtt-protocol-version": "Protokolversion", @@ -2969,51 +3096,51 @@ "transport-device-payload-type-json": "JSON", "transport-device-payload-type-proto": "Protobuf", "mqtt-payload-type-required": "Payloadtype er påkrævet.", - "coap-device-type": "CoAP enhedstype", - "coap-device-payload-type": "CoAP enhedspayload", - "coap-device-type-required": "CoAP enhedstype er påkrævet.", + "coap-device-type": "CoAP-enhedstype", + "coap-device-payload-type": "CoAP-enhedspayload", + "coap-device-type-required": "CoAP-enhedstype er påkrævet.", "coap-device-type-default": "Standard", "coap-device-type-efento": "Efento NB-IoT", - "support-level-wildcards": "Enkelt [+] og multi-niveau [#] jokertegn understøttes.", + "support-level-wildcards": "Jokertegn for ét niveau [+] og for flere niveauer [#] understøttes.", "telemetry-topic-filter": "Telemetri-topicfilter", "telemetry-topic-filter-required": "Telemetri-topicfilter er påkrævet.", "attributes-topic-filter": "Attributters publicerings-topicfilter", "attributes-subscribe-topic-filter": "Attributters abonnements-topicfilter", "attributes-topic-filter-required": "Attributters publicerings-topicfilter er påkrævet.", "attributes-subscribe-topic-filter-required": "Attributters abonnements-topic er påkrævet", - "telemetry-proto-schema": "Telemetri proto-skema", - "telemetry-proto-schema-required": "Telemetri proto-skema er påkrævet.", - "attributes-proto-schema": "Attributter proto-skema", - "attributes-proto-schema-required": "Attributter proto-skema er påkrævet.", - "rpc-response-proto-schema": "RPC-svar proto-skema", - "rpc-response-proto-schema-required": "RPC-svar proto-skema er påkrævet.", - "rpc-response-topic-filter": "RPC-svar topicfilter", - "rpc-response-topic-filter-required": "RPC-svar topicfilter er påkrævet.", - "rpc-request-proto-schema": "RPC-anmodning proto-skema", - "rpc-request-proto-schema-required": "RPC-anmodning proto-skema er påkrævet.", + "telemetry-proto-schema": "Proto-skema for telemetri", + "telemetry-proto-schema-required": "Proto-skema for telemetri er påkrævet.", + "attributes-proto-schema": "Proto-skema for attributter", + "attributes-proto-schema-required": "Proto-skema for attributter er påkrævet.", + "rpc-response-proto-schema": "Proto-skema for RPC-svar", + "rpc-response-proto-schema-required": "Proto-skema for RPC-svar er påkrævet.", + "rpc-response-topic-filter": "Topicfilter for RPC-svar", + "rpc-response-topic-filter-required": "Topicfilter for RPC-svar er påkrævet.", + "rpc-request-proto-schema": "Proto-skema for RPC-anmodning", + "rpc-request-proto-schema-required": "Proto-skema for RPC-anmodning er påkrævet.", "rpc-request-proto-schema-hint": "RPC-anmodningsbeskeden skal altid indeholde felterne: string method = 1; int32 requestId = 2; og params = 3 af enhver datatype.", "not-valid-pattern-topic-filter": "Ugyldigt mønster i topicfilter", - "not-valid-single-character": "Ugyldig brug af enkelt-niveau jokertegn", - "not-valid-multi-character": "Ugyldig brug af multi-niveau jokertegn", + "not-valid-single-character": "Ugyldig brug af jokertegn for ét niveau", + "not-valid-multi-character": "Ugyldig brug af jokertegn for flere niveauer", "single-level-wildcards-hint": "[+] kan bruges på alle niveauer i topicfilter. Eksempel: v1/devices/+/telemetry eller +/devices/+/attributes.", "multi-level-wildcards-hint": "[#] kan erstatte hele topicfilteret og skal være det sidste symbol. Eksempel: # eller v1/devices/me/#.", "alarm-rules": "Alarmregler", "alarm-rules-with-count": "Alarmregler ({{count}})", "no-alarm-rules": "Ingen alarmregler konfigureret", "add-alarm-rule": "Tilføj alarmregel", - "edit-alarm-rule": "Rediger alarmregel", + "edit-alarm-rule": "Redigér alarmregel", "alarm-type": "Alarmtype", "alarm-type-required": "Alarmtype er påkrævet.", "alarm-type-unique": "Alarmtype skal være unik inden for enhedsprofilens alarmregler.", "alarm-type-max-length": "Alarmtype må være under 256 tegn", - "create-alarm-pattern": "Opret {{alarmType}} alarm", + "create-alarm-pattern": "Opret alarmen {{alarmType}}", "create-alarm-rules": "Opret alarmregler", "no-create-alarm-rules": "Ingen oprettelsesbetingelser konfigureret", "add-create-alarm-rule-prompt": "Tilføj venligst oprettelsesregel for alarm", - "clear-alarm-rule": "Fjern alarmregel", - "no-clear-alarm-rule": "Ingen fjernbetingelse konfigureret", + "clear-alarm-rule": "Regel for rydning af alarm", + "no-clear-alarm-rule": "Ingen rydningsbetingelse konfigureret", "add-create-alarm-rule": "Tilføj oprettelsesbetingelse", - "add-clear-alarm-rule": "Tilføj fjernbetingelse", + "add-clear-alarm-rule": "Tilføj rydningsbetingelse", "select-alarm-severity": "Vælg alarmens alvorlighed", "alarm-severity-required": "Alvorlighed er påkrævet.", "condition-duration": "Betingelsens varighed", @@ -3025,44 +3152,44 @@ "condition-duration-time-unit-required": "Tidsenhed er påkrævet.", "advanced-settings": "Avancerede indstillinger", "alarm-rule-additional-info": "Yderligere info", - "edit-alarm-rule-additional-info": "Rediger yderligere info", + "edit-alarm-rule-additional-info": "Redigér yderligere info", "alarm-rule-additional-info-placeholder": "Tilføj kommentarer og justeringer, som vises under Yderligere info i alarmdetaljer", "alarm-rule-additional-info-hint": "Tip: brug ${keyName} til at erstatte med attribut- eller telemetrinøgleværdier, der bruges i alarmbetingelsen.", - "alarm-rule-mobile-dashboard": "Mobil-dashboard", + "alarm-rule-mobile-dashboard": "Mobildashboard", "alarm-rule-mobile-dashboard-hint": "Bruges af mobilapplikationen som dashboard for alarmdetaljer", "alarm-rule-no-mobile-dashboard": "Intet dashboard valgt", - "propagate-alarm": "Videregiv alarm til relaterede enheder", + "propagate-alarm": "Propagér alarm til relaterede entiteter", "alarm-rule-relation-types-list": "Relationstyper", - "alarm-rule-relation-types-list-hint": "Angiver relationstyper til at filtrere relaterede enheder. Hvis tomt, videregives alarmen til alle relaterede enheder.", - "propagate-alarm-to-owner": "Videregiv alarm til enhedens ejer (Kunde eller Lejer)", - "propagate-alarm-to-owner-hierarchy": "Videregiv alarm gennem ejerhierarki", - "propagate-alarm-to-tenant": "Videregiv alarm til Lejer", + "alarm-rule-relation-types-list-hint": "Angiver relationstyper til at filtrere relaterede entiteter. Hvis tomt, propageres alarmen til alle relaterede entiteter.", + "propagate-alarm-to-owner": "Propagér alarm til entitetens ejer (kunde eller lejer)", + "propagate-alarm-to-owner-hierarchy": "Propagér alarm til ejerhierarki", + "propagate-alarm-to-tenant": "Propagér alarm til lejer", "alarm-rule-condition": "Alarmregelbetingelse", "enter-alarm-rule-condition-prompt": "Tilføj venligst alarmregelbetingelse", - "edit-alarm-rule-condition": "Rediger alarmregelbetingelse", - "device-provisioning": "Enhedsregistrering", - "provision-strategy": "Registreringsstrategi", - "provision-strategy-required": "Registreringsstrategi er påkrævet.", + "edit-alarm-rule-condition": "Redigér alarmregelbetingelse", + "device-provisioning": "Klargøring af enheder", + "provision-strategy": "Klargøringsstrategi", + "provision-strategy-required": "Klargøringsstrategi er påkrævet.", "provision-strategy-disabled": "Deaktiveret", "provision-strategy-created-new": "Tillad oprettelse af nye enheder", - "provision-strategy-check-pre-provisioned": "Tjek for forhåndsregistrerede enheder", - "provision-device-key": "Registreringsnøgle", - "provision-device-key-required": "Registreringsnøgle er påkrævet.", - "copy-provision-key": "Kopiér registreringsnøgle", - "provision-key-copied-message": "Registreringsnøgle er kopieret til udklipsholderen", - "provision-device-secret": "Registreringshemmelighed", - "provision-device-secret-required": "Registreringshemmelighed er påkrævet.", - "copy-provision-secret": "Kopiér registreringshemmelighed", - "provision-secret-copied-message": "Registreringshemmelighed er kopieret til udklipsholderen", + "provision-strategy-check-pre-provisioned": "Tjek for forhåndsklargjorte enheder", + "provision-device-key": "Klargøringsnøgle", + "provision-device-key-required": "Klargøringsnøgle er påkrævet.", + "copy-provision-key": "Kopiér klargøringsnøgle", + "provision-key-copied-message": "Klargøringsnøgle er kopieret til udklipsholderen", + "provision-device-secret": "Klargøringshemmelighed", + "provision-device-secret-required": "Klargøringshemmelighed er påkrævet.", + "copy-provision-secret": "Kopiér klargøringshemmelighed", + "provision-secret-copied-message": "Klargøringshemmelighed er kopieret til udklipsholderen", "provision-strategy-x509": { "certificate-chain": "X509-certifikatkæde", - "certificate-chain-hint": "X.509-certifikatstrategien bruges til at registrere enheder via klientcertifikater i tovej TLS-kommunikation.", + "certificate-chain-hint": "X.509-certifikatstrategien bruges til at klargøre enheder via klientcertifikater i tovejs-TLS-kommunikation.", "allow-create-new-devices": "Opret nye enheder", "allow-create-new-devices-hint": "Hvis valgt, vil nye enheder blive oprettet og klientcertifikatet vil blive brugt som enhedens legitimationsoplysninger.", "certificate-value": "Certifikat i PEM-format", "certificate-value-required": "Certifikat i PEM-format er påkrævet", - "cn-regex-variable": "CN regulært udtryk-variabel", - "cn-regex-variable-required": "CN regulært udtryk-variabel er påkrævet", + "cn-regex-variable": "Variabel for regulært CN-udtryk", + "cn-regex-variable-required": "Variabel for regulært CN-udtryk er påkrævet", "cn-regex-variable-hint": "Påkrævet for at hente enhedens navn fra Common Name i X509-certifikatet." }, "condition": "Betingelse", @@ -3080,11 +3207,11 @@ "condition-repeat-times": "Gentager { count, plural, =1 {1 gang} other {# gange} }", "condition-repeat-times-dynamic": "Gentager \"{ attribute }\" ({ count, plural, =1 {1 gang} other {# gange} })", "schedule-type": "Skematype", - "schedule-type-required": "Skematype er påkrævet.", - "schedule": "Skema", - "edit-schedule": "Rediger alarmskema", + "schedule-type-required": "Tidsplanstype er påkrævet.", + "schedule": "Tidsplan", + "edit-schedule": "Redigér alarmtidsplan", "schedule-any-time": "Aktiv hele tiden", - "schedule-specific-time": "Aktiv på specifikt tidspunkt", + "schedule-specific-time": "Aktiv på et bestemt tidspunkt", "schedule-custom": "Brugerdefineret", "schedule-day": { "monday": "Mandag", @@ -3116,7 +3243,7 @@ "edrx-cycle": "eDRX-cyklus", "edrx-cycle-required": "eDRX-cyklus er påkrævet.", "edrx-cycle-pattern": "eDRX-cyklus skal være et positivt heltal.", - "edrx-cycle-min": "Minimum antal eDRX-cyklusser er {{ min }} sekunder.", + "edrx-cycle-min": "Mindste eDRX-cyklus er {{ min }} sekunder.", "paging-transmission-window": "Paging Transmission Window", "paging-transmission-window-required": "Paging transmission window er påkrævet.", "paging-transmission-window-pattern": "Paging transmission window skal være et positivt heltal.", @@ -3135,12 +3262,15 @@ "instances-list": "Instansliste", "instances-list-required": "Instansliste er påkrævet.", "instance-id-pattern": "Instans-ID skal være et positivt heltal.", - "instance-id-max": "Maksimal instans-ID værdi {{max}}.", + "instance-id-max": "Maksimal værdi for instans-id: {{max}}.", "instance": "Instans", "resource-label": "#ID Ressourcenavn", - "observe-label": "Observer", + "observe-label": "Observér", "attribute-label": "Attribut", "telemetry-label": "Telemetri", + "select-all-attribute": "Vælg alle attributter", + "select-all-telemetry": "Vælg al telemetri", + "select-all-observe": "Vælg alle observerede", "edit-observe-select": "For at redigere observering, vælg telemetri eller attribut", "edit-attributes-select": "For at redigere attributter, vælg telemetri eller attribut", "no-attributes-set": "Ingen attributter angivet", @@ -3151,10 +3281,10 @@ "attribute-value": "Attributværdi", "attribute-value-required": "Attributværdi er påkrævet.", "attribute-value-pattern": "Attributværdi skal være et positivt heltal.", - "edit-attributes": "Rediger attributter: {{ name }}", + "edit-attributes": "Redigér attributter: {{ name }}", "view-attributes": "Vis attributter: {{ name }}", "add-attribute": "Tilføj attribut", - "edit-attribute": "Rediger attribut", + "edit-attribute": "Redigér attribut", "view-attribute": "Vis attribut", "remove-attribute": "Fjern attribut", "delete-server-text": "Vær forsigtig, efter bekræftelse vil serverkonfigurationen ikke kunne gendannes.", @@ -3166,7 +3296,7 @@ "server": "Server", "short-id": "Kort server-ID", "short-id-tooltip": "Serverens korte ID. Bruges til at linke serverobjektinstans.\nIdentificerer entydigt hver konfigureret LwM2M-server til LwM2M-klienten.\nSkal angives, når Bootstrap-Server ressourcen er 'false'.\nID:0 og ID:65535 må ikke anvendes.", - "short-id-tooltip-bootstrap": "Skal angives, når Bootstrap-Server ressourcen er 'false'.", + "short-id-tooltip-bootstrap": "Serverens korte id. Bruges som link til at knytte serverobjektinstansen.\nDenne identifikator identificerer entydigt hver LwM2M-server, der er konfigureret for LwM2M-klienten.\nRessourcen SKAL angives, når ressourcen Bootstrap-Server har værdien 'false'.", "short-id-required": "Kort server-ID er påkrævet.", "short-id-range": "Kort server-ID skal være mellem {{ min }} og {{ max }}.", "short-id-pattern": "Kort server-ID skal være et positivt heltal.", @@ -3175,7 +3305,7 @@ "lifetime-required": "Registreringslevetid er påkrævet.", "lifetime-pattern": "Registreringslevetid skal være et positivt heltal.", "default-min-period": "Minimumsperiode mellem to notifikationer (s)", - "default-min-period-tooltip": "Standardværdi for Minimumsperiode for observering, hvis parameteren ikke er angivet.", + "default-min-period-tooltip": "Den standardværdi, som LwM2M-klienten skal bruge for minimumsperioden for en observering, når parameteren ikke er angivet i observeringen.", "default-min-period-required": "Minimumsperiode er påkrævet.", "default-min-period-pattern": "Minimumsperiode skal være et positivt heltal.", "notification-storing": "Gem notifikationer ved deaktivering eller offline", @@ -3210,11 +3340,11 @@ "client-hold-off-time": "Hold off-tid", "client-hold-off-time-required": "Hold off-tid er påkrævet.", "client-hold-off-time-pattern": "Hold off-tid skal være et positivt heltal.", - "client-hold-off-time-tooltip": "Klientens hold off-tid til brug med kun Bootstrap-server", - "account-after-timeout": "Registrer efter timeout", - "account-after-timeout-required": "Registrer efter timeout er påkrævet.", - "account-after-timeout-pattern": "Registrer efter timeout skal være et positivt heltal.", - "account-after-timeout-tooltip": "Bootstrap-server registrerer efter den timeout-værdi, der er angivet af denne ressource.", + "client-hold-off-time-tooltip": "Klientens hold off-tid, kun til brug med en Bootstrap-server", + "account-after-timeout": "Timeout for Bootstrap-serverkonto", + "account-after-timeout-required": "Timeout for Bootstrap-serverkonto er påkrævet.", + "account-after-timeout-pattern": "Timeout for Bootstrap-serverkonto skal være et positivt heltal.", + "account-after-timeout-tooltip": "Bootstrap-serverkontoen fjernes efter den timeoutværdi, der er angivet i denne ressource.", "server-type": "Servertype", "add-new-server-title": "Tilføj ny serverkonfiguration", "add-server-config": "Tilføj serverkonfiguration", @@ -3237,10 +3367,10 @@ "sw-update-strategy": "Softwareopdateringsstrategi", "sw-update-strategy-package": "Push binær fil via Object 9 og Resource 2 (Package)", "sw-update-strategy-package-uri": "Generér automatisk unik CoAP-URL og push software via Object 9 og Resource 3 (Package URI)", - "fw-update-resource": "Firmware CoAP-ressource", - "fw-update-resource-required": "Firmware CoAP-ressource er påkrævet.", - "sw-update-resource": "Software CoAP-ressource", - "sw-update-resource-required": "Software CoAP-ressource er påkrævet.", + "fw-update-resource": "CoAP-ressource til firmwareopdatering", + "fw-update-resource-required": "CoAP-ressource til firmwareopdatering er påkrævet.", + "sw-update-resource": "CoAP-ressource til softwareopdatering", + "sw-update-resource-required": "CoAP-ressource til softwareopdatering er påkrævet.", "config-json-tab": "JSON-konfiguration af enhedsprofil", "attributes-name": { "min-period": "Minimumsperiode", @@ -3248,8 +3378,8 @@ "greater-than": "Større end", "less-than": "Mindre end", "step": "Trin", - "min-evaluation-period": "Minimum evalueringsperiode", - "max-evaluation-period": "Maksimum evalueringsperiode" + "min-evaluation-period": "Mindste evalueringsperiode", + "max-evaluation-period": "Største evalueringsperiode" }, "default-object-id": "Standardobjektversion (Attribut)", "default-object-id-ver": { @@ -3280,8 +3410,8 @@ "community": "Community-streng", "community-required": "Community-streng er påkrævet.", "context-name": "Kontekstnavn", - "data-key": "Datatast", - "data-key-required": "Datatast er påkrævet.", + "data-key": "Datanøgle", + "data-key-required": "Datanøgle er påkrævet.", "data-type": "Datatype", "data-type-required": "Datatype er påkrævet.", "engine-id": "Engine-ID", @@ -3295,8 +3425,8 @@ "port": "Port", "port-format": "Ugyldigt portformat.", "port-required": "Port er påkrævet.", - "privacy-passphrase": "Privatlivs-adgangskode", - "privacy-passphrase-required": "Privatlivs-adgangskode er påkrævet.", + "privacy-passphrase": "Privatlivsadgangskode", + "privacy-passphrase-required": "Privatlivsadgangskode er påkrævet.", "privacy-protocol": "Privatlivsprotokol", "privacy-protocol-required": "Privatlivsprotokol er påkrævet.", "protocol-version": "Protokolversion", @@ -3329,163 +3459,808 @@ }, "edge": { "all": "Alle", - "all-edges": "Alle edges", + "all-edges": "Alle Edges", "groups": "Grupper", "shared": "Delt", "edge": "Edge", "edge-instances": "Edge-instanser", "instances": "Instanser", + "edges": "Edges", + "profiles": "Profiler", + "templates": "Skabeloner", + "rule-chain": "Regelkæde", + "integration": "Integration", + "converter": "Datakonverter", "edge-file": "Edge-fil", "name-max-length": "Navnet skal være mindre end 256 tegn", - "label-max-length": "Etiketten skal være mindre end 256 tegn", + "label-max-length": "Etiket skal være mindre end 256 tegn", "type-max-length": "Typen skal være mindre end 256 tegn", "management": "Edge-administration", - "no-edges-matching": "Ingen edges matcher '{{entity}}'.", - "add": "Tilføj edge", - "no-edges-text": "Ingen edges fundet", + "no-edges-matching": "Ingen Edges matcher '{{entity}}'.", + "add": "Tilføj Edge", + "no-edges-text": "Ingen Edges fundet", "edge-details": "Edge-detaljer", - "add-edge-text": "Tilføj ny edge", - "delete": "Slet edge", - "delete-edge-title": "Er du sikker på, at du vil slette edge '{{edgeName}}'?", - "delete-edge-text": "Vær forsigtig, efter bekræftelse vil edge og alle relaterede data ikke kunne gendannes.", - "delete-edges-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 edge} other {# edges} }?", - "delete-edges-text": "Vær forsigtig, efter bekræftelse vil alle valgte edges blive fjernet og alle relaterede data vil gå tabt.", + "add-edge-text": "Tilføj ny Edge", + "delete": "Slet Edge", + "delete-edge-title": "Er du sikker på, at du vil slette Edge '{{edgeName}}'?", + "delete-edge-text": "Vær forsigtig: Efter bekræftelsen kan Edge-instansen og alle relaterede data ikke gendannes.", + "delete-edges-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 Edge} other {# Edges} }?", + "delete-edges-text": "Vær forsigtig: Efter bekræftelsen fjernes alle valgte Edges, og alle relaterede data kan ikke gendannes.", "name": "Navn", "name-starts-with": "Edge-navn begynder med", "name-required": "Navn er påkrævet.", "edge-license-key": "Edge-licensnøgle", "edge-license-key-required": "Edge-licensnøgle er påkrævet.", - "edge-license-key-max-length": "Licensnøglen skal være mindre end 31 tegn", - "edge-license-key-hint": "VIGTIGT: Standard edge-licensnøgle er kun til evalueringsformål.
    Nøglen er aktiv i 30 dage efter aktivering. White-labeling er deaktiveret.
    Få en licensnøgle via prissiden.", + "edge-license-key-max-length": "Edge-licensnøglen skal være mindre end 31 tegn", + "edge-license-key-hint": "VIGTIGT: Standardlicensnøglen til Edge er kun til evalueringsformål.
    Nøglen er aktiv i 30 dage efter aktivering. Funktionen White labeling er deaktiveret.
    Få en licensnøgle ved at gå til prissiden og vælge den licens, der passer bedst til dit behov.", "cloud-endpoint": "Cloud-endepunkt", "cloud-endpoint-required": "Cloud-endepunkt er påkrævet.", "cloud-endpoint-max-length": "Cloud-endepunkt skal være mindre end 256 tegn", - "cloud-endpoint-hint": "Edge kræver HTTP(s) adgang til ThingsBoard for licensverificering. Angiv Cloud-URL som Edge kan oprette forbindelse til.", + "cloud-endpoint-hint": "Edge kræver HTTP(S)-adgang til Cloud (ThingsBoard) for at verificere licensnøglen. Angiv den Cloud-URL, som Edge kan oprette forbindelse til.", "description": "Beskrivelse", "details": "Detaljer", "events": "Hændelser", - "copy-id": "Kopiér Edge ID", - "id-copied-message": "Edge ID er kopieret til udklipsholder", - "sync": "Synkroniser Edge", + "copy-id": "Kopiér Edge-id", + "id-copied-message": "Edge-id er kopieret til udklipsholderen", + "sync": "Synkronisér Edge", "edge-required": "Edge er påkrævet", "edge-type": "Edge-type", "edge-type-required": "Edge-type er påkrævet.", "event-action": "Hændelseshandling", - "entity-id": "Enheds-ID", - "select-edge-type": "Vælg edge-type", + "entity-id": "Entitets-ID", + "select-edge-type": "Vælg Edge-type", "assign-to-customer": "Tildel til kunde", - "assign-to-customer-text": "Vælg kunden der skal tildeles edge(s)", - "assign-edge-to-customer": "Tildel edge(s) til kunde", - "assign-edge-to-customer-text": "Vælg edges der skal tildeles kunden", + "assign-to-customer-text": "Vælg den kunde, som Edge-instansen/-instanserne skal tildeles", + "assign-edge-to-customer": "Tildel Edge(s) til kunde", + "assign-edge-to-customer-text": "Vælg de Edges, der skal tildeles kunden", "assignedToCustomer": "Tildelt kunde", "edge-public": "Edge er offentlig", "assigned-to-customer": "Tildelt til: {{customerTitle}}", "unassign-from-customer": "Fjern tildeling fra kunde", - "unassign-edge-title": "Er du sikker på, at du vil fjerne tildelingen af edge '{{edgeName}}'?", - "unassign-edge-text": "Efter bekræftelse vil edge blive fjernet og ikke længere være tilgængelig for kunden.", - "unassign-edges-title": "Er du sikker på, at du vil fjerne tildeling af { count, plural, =1 {1 edge} other {# edges} }?", - "unassign-edges-text": "Efter bekræftelse vil alle valgte edges blive fjernet og ikke længere være tilgængelige for kunden.", - "make-public": "Gør edge offentlig", - "make-public-edge-title": "Er du sikker på, at du vil gøre edge '{{edgeName}}' offentlig?", - "make-public-edge-text": "Efter bekræftelse vil edge og alle dets data blive offentlige og tilgængelige for andre.", - "make-private": "Gør edge privat", + "unassign-edge-title": "Er du sikker på, at du vil fjerne tildelingen af Edge '{{edgeName}}'?", + "unassign-edge-text": "Efter bekræftelse vil tildelingen af Edge-instansen blive fjernet, og den vil ikke længere være tilgængelig for kunden.", + "unassign-edges-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 Edge} other {# Edges} }?", + "unassign-edges-text": "Efter bekræftelse vil tildelingen af alle valgte Edges blive fjernet, og de vil ikke længere være tilgængelige for kunden.", + "make-public": "Gør Edge offentlig", + "make-public-edge-title": "Er du sikker på, at du vil gøre Edge '{{edgeName}}' offentlig?", + "make-public-edge-text": "Efter bekræftelsen bliver Edge-instansen og alle dens data offentlige og tilgængelige for andre.", + "make-private": "Gør Edge privat", "public": "Offentlig", - "make-private-edge-title": "Er du sikker på, at du vil gøre edge '{{edgeName}}' privat?", - "make-private-edge-text": "Efter bekræftelse vil edge og alle dets data blive private og ikke tilgængelige for andre.", - "import": "Importér edge", - "install-connect-instructions": "Installér & tilslut instruktioner", - "install-connect-instructions-edge-created": "Edge oprettet! Tjek Installér & Tilslut instruktioner", - "loading-edge-instructions": "Indlæser edge-instruktioner...", + "make-private-edge-title": "Er du sikker på, at du vil gøre Edge '{{edgeName}}' privat?", + "make-private-edge-text": "Efter bekræftelsen bliver Edge-instansen og alle dens data private og ikke længere tilgængelige for andre.", + "import": "Importér Edge", + "install-connect-instructions": "Installations- og tilslutningsvejledning", + "install-connect-instructions-edge-created": "Edge er oprettet! Se installations- og tilslutningsvejledningen", + "loading-edge-instructions": "Indlæser Edge-vejledning...", "label": "Etiket", - "load-entity-error": "Data kunne ikke indlæses. Enheden er blevet slettet.", - "assign-new-edge": "Tildel ny edge", - "unassign-from-edge": "Fjern tildeling fra edge", + "load-entity-error": "Data kunne ikke indlæses. Entiteten er blevet slettet.", + "assign-new-edge": "Tildel ny Edge", + "unassign-from-edge": "Fjern tildeling fra Edge", "edge-key": "Edge-nøgle", - "copy-edge-key": "Kopiér edge-nøgle", + "copy-edge-key": "Kopiér Edge-nøgle", "edge-key-copied-message": "Edge-nøgle er kopieret til udklipsholder", "edge-secret": "Edge-hemmelighed", "copy-edge-secret": "Kopiér Edge-hemmelighed", "edge-secret-copied-message": "Edge-hemmelighed er kopieret til udklipsholder", - "manage-assets": "Administrer aktiver", - "manage-devices": "Administrer enheder", - "manage-entity-views": "Administrer enhedsvisninger", - "manage-dashboards": "Administrer dashboards", - "manage-rulechains": "Administrer regelkæder", + "manage-assets": "Administrér aktiver", + "manage-devices": "Administrér enheder", + "manage-entity-views": "Administrér entitetsvisninger", + "manage-dashboards": "Administrér dashboards", + "manage-rulechains": "Administrér regelkæder", "assets": "Edge-aktiver", "devices": "Edge-enheder", - "entity-views": "Edge-enhedsvisninger", + "entity-views": "Edge-entitetsvisninger", "dashboard": "Edge-dashboard", "dashboards": "Edge-dashboards", "rulechain-templates": "Regelkædeskabeloner", "edge-rulechain-templates": "Edge-regelkædeskabeloner", - "converter-templates": "Konverteringsskabeloner", - "edge-converter-templates": "Edge-konverteringsskabeloner", + "converter-templates": "Konverterskabeloner", + "edge-converter-templates": "Edge-konverterskabeloner", "integration-templates": "Integrationsskabeloner", "edge-integration-templates": "Edge-integrationsskabeloner", "rulechains": "Edge-regelkæder", "integrations": "Integrationer", - "search": "Søg edges", - "selected-edges": "{ count, plural, =1 {1 edge} other {# edges} } valgt", - "any-edge": "Enhver edge", - "no-edge-types-matching": "Ingen edge-typer matcher '{{entitySubtype}}'.", - "edge-type-list-empty": "Ingen edge-typer valgt.", + "search": "Søg i Edges", + "selected-edges": "{ count, plural, =1 {1 Edge} other {# Edges} } valgt", + "any-edge": "Enhver Edge", + "no-edge-types-matching": "Ingen Edge-typer matcher '{{entitySubtype}}'.", + "edge-type-list-empty": "Ingen Edge-typer valgt.", "edge-types": "Edge-typer", - "enter-edge-type": "Indtast edge-type", + "enter-edge-type": "Indtast Edge-type", "deployed": "Deployet", "pending": "Afventer", "downlinks": "Downlinks", "no-downlinks-prompt": "Ingen downlinks fundet", "sync-process-started-successfully": "Synkroniseringsproces startet!", "missing-related-rule-chains-title": "Edge mangler tilknyttede regelkæder", - "missing-related-rule-chains-text": "Tildelte regelkæder bruger regelnoder, som videresender til regelkæder, der ikke er tildelt denne edge.

    Manglende regelkæder:
    {{missingRuleChains}}", - "widget-datasource-error": "Denne widget understøtter kun EDGE-enhed som datakilde", - "assign-to-edge": "Tildel til edge", - "assign-to-edge-title": "Tildel enhedsgrupper til Edge", - "manage-edge-user-groups": "Administrer edge-brugergrupper", - "manage-edge-asset-groups": "Administrer edge-aktivgrupper", - "manage-edge-device-groups": "Administrer edge-enhedsgrupper", - "manage-edge-entity-view-groups": "Administrer edge-enhedsvisningsgrupper", - "manage-edge-dashboard-groups": "Administrer edge-dashboardgrupper", - "manage-edge-rule-chains": "Administrer edge-regelkæder", - "manage-edge-integrations": "Administrer edge-integrationer", - "manage-edge-scheduler-events": "Administrer edge-planlægningshændelser", - "select-group-to-add": "Vælg målgruppe for at tilføje valgte edges", - "select-group-to-move": "Vælg målgruppe for at flytte valgte edges", - "remove-edges-from-group": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 edge} other {# edges} } fra gruppen '{{entityGroup}}'?", + "missing-related-rule-chains-text": "Regelkæder, der er tildelt Edge, bruger regelnoder, som videresender beskeder til regelkæder, der ikke er tildelt denne Edge.

    Manglende regelkæder:
    {{missingRuleChains}}", + "widget-datasource-error": "Denne widget understøtter kun EDGE-entitet som datakilde", + "assign-to-edge": "Tildel til Edge", + "assign-to-edge-title": "Tildel entitetsgrupper til Edge", + "manage-edge-user-groups": "Administrér Edge-brugergrupper", + "manage-edge-asset-groups": "Administrér Edge-aktivgrupper", + "manage-edge-device-groups": "Administrér Edge-enhedsgrupper", + "manage-edge-entity-view-groups": "Administrér Edge-entitetsvisningsgrupper", + "manage-edge-dashboard-groups": "Administrér Edge-dashboardgrupper", + "manage-edge-rule-chains": "Administrér Edge-regelkæder", + "manage-edge-integrations": "Administrér Edge-integrationer", + "manage-edge-scheduler-events": "Administrér Edge-planlæggerhændelser", + "select-group-to-add": "Vælg målgruppe for at tilføje valgte Edges", + "select-group-to-move": "Vælg målgruppe for at flytte valgte Edges", + "remove-edges-from-group": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 Edge} other {# Edges} } fra gruppen '{entityGroup}'?", "group": "Edge-gruppe", - "list-of-groups": "{ count, plural, =1 {En edge-gruppe} other {Liste med # edge-grupper} }", + "list-of-groups": "{ count, plural, =1 {Én Edge-gruppe} other {Liste med # Edge-grupper} }", "group-name-starts-with": "Edge-grupper hvis navne starter med '{{prefix}}'", - "unassign-entity-group-from-edge-title": "Er du sikker på, at du vil fjerne enhedsgruppen '{{ entityGroupName }}'?", - "unassign-entity-group-from-edge-text": "Efter bekræftelse vil enhedsgruppen ikke længere være tilgængelig for edge.", - "unassign-entity-group-from-edge": "Fjern enhedsgruppe fra edge", - "unassign-entity-groups-from-edge-title": "Er du sikker på, at du vil fjerne {{count}} enhedsgrupper?", - "unassign-entity-groups-from-edge-text": "Efter bekræftelse vil enhedsgrupperne ikke længere være tilgængelige for edge.", - "unassign-entity-groups-from-edge": "Fjern enhedsgrupper fra edge", - "unassign-scheduler-events-from-edge": "Fjern planlægningshændelser fra edge", - "unassign-scheduler-event-from-edge-title": "Er du sikker på, at du vil fjerne planlægningshændelsen '{{schedulerEventName}}'?", - "unassign-scheduler-event-from-edge-text": "Efter bekræftelse vil planlægningshændelsen ikke længere være tilgængelig for edge.", - "unassign-scheduler-events-from-edge-title": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 planlægningshændelse} other {# planlægningshændelser} }?", - "unassign-scheduler-events-from-edge-text": "Efter bekræftelse vil alle valgte planlægningshændelser blive fjernet fra edge.", - "manage-user-groups": "Administrer brugergrupper", - "manage-asset-groups": "Administrer aktivgrupper", - "manage-device-groups": "Administrer enhedsgrupper", - "manage-dashboard-groups": "Administrer dashboardgrupper", - "manage-entity-view-groups": "Administrer enhedsvisningsgrupper", - "manage-scheduler-events": "Administrer planlægningshændelser", - "manage-integrations": "Administrer integrationer", - "assign-scheduler-event-to-edge-title": "Tildel planlægningshændelser til Edge", - "assign-scheduler-event-to-edge-text": "Vælg de planlægningshændelser, der skal tildeles edge", - "assign-entity-groups-to-edge-text": "Vælg de enhedsgrupper, der skal tildeles edge", + "unassign-entity-group-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af entitetsgruppen '{{ entityGroupName }}'?", + "unassign-entity-group-from-edge-text": "Efter bekræftelse vil tildelingen af entitetsgruppen blive fjernet, og den vil ikke længere være tilgængelig for Edge.", + "unassign-entity-group-from-edge": "Fjern tildeling af entitetsgruppe fra Edge", + "unassign-entity-groups-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af {{count}} entitetsgrupper?", + "unassign-entity-groups-from-edge-text": "Efter bekræftelse vil tildelingen af entitetsgrupperne blive fjernet, og de vil ikke længere være tilgængelige for Edge.", + "unassign-entity-groups-from-edge": "Fjern tildeling af entitetsgrupper fra Edge", + "unassign-scheduler-events-from-edge": "Fjern tildeling af planlæggerhændelser fra Edge", + "unassign-scheduler-event-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af planlæggerhændelsen '{{schedulerEventName}}'?", + "unassign-scheduler-event-from-edge-text": "Efter bekræftelsen fjernes tildelingen af planlæggerhændelsen, og den er ikke længere tilgængelig for Edge.", + "unassign-scheduler-events-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 planlæggerhændelse} other {# planlæggerhændelser} }?", + "unassign-scheduler-events-from-edge-text": "Efter bekræftelsen fjernes tildelingen af alle valgte planlæggerhændelser, og de er ikke længere tilgængelige for Edge.", + "manage-user-groups": "Administrér brugergrupper", + "manage-asset-groups": "Administrér aktivgrupper", + "manage-device-groups": "Administrér enhedsgrupper", + "manage-dashboard-groups": "Administrér dashboardgrupper", + "manage-entity-view-groups": "Administrér entitetsvisningsgrupper", + "manage-scheduler-events": "Administrér planlæggerhændelser", + "manage-integrations": "Administrér integrationer", + "assign-scheduler-event-to-edge-title": "Tildel planlæggerhændelser til Edge", + "assign-scheduler-event-to-edge-text": "Vælg de planlæggerhændelser, der skal tildeles Edge", + "assign-entity-groups-to-edge-text": "Vælg de entitetsgrupper, der skal tildeles Edge", "assign-integration-to-edge-title": "Tildel integrationer til Edge", - "assign-integration-to-edge-text": "Vælg integrationer, der skal tildeles edge", + "assign-integration-to-edge-text": "Vælg de integrationer, der skal tildeles Edge", "missing-attributes-title": "Edge mangler attributter", - "missing-attributes-text": "Integrationer tildelt edge bruger attribut-pladsholdere, der ikke findes på denne edge.

    Manglende attributter:
    {{missingEdgeAttributes}}", + "missing-attributes-text": "Integrationer, der er tildelt Edge, har attributpladsholdere, som ikke findes på denne Edge.

    Manglende Edge-attributter:
    {{missingEdgeAttributes}}", "missing-all-related-attributes-title": "Edges mangler attributter", - "missing-all-related-attributes-text": "Edges relateret til integration mangler attributter, der er nødvendige i integrationens konfiguration.

    Manglende attributter:
    {{missingEdgeAttributes}}", - "quick-overview-widget-header": "{{edgeName}} Hurtigt overblik", + "missing-all-related-attributes-text": "Edges, der er relateret til integrationen, mangler attributter, som bruges som attributpladsholdere i integrationens konfiguration.

    Manglende Edge-attributter:
    {{missingEdgeAttributes}}", + "quick-overview-widget-header": "Hurtigt overblik over {{edgeName}}", "upgrade-instructions": "Opgraderingsvejledning", + "managed-application": "Administreret applikation", + "app-upgrade-available": "Opgradering tilgængelig", "connected": "Forbundet", - "disconnected": "Afbrudt" + "disconnected": "Afbrudt", + "auto-provision": "Automatisk klargøring", + "auto-provision-title": "Automatisk klargøring af Edge", + "auto-provision-subtitle": "Generér en Docker run-kommando — Edge og tilhørende Agent oprettes automatisk, når kommandoen udføres på målmaskinen.", + "auto-provision-step-select": "Agent-profil", + "auto-provision-step-script": "Klargøringsscript", + "auto-provision-agent-profile-label": "Agent-profil", + "auto-provision-agent-profile-placeholder": "Vælg eller opret en Agent-profil", + "auto-provision-no-eligible-profiles": "Ingen egnede profiler fundet. Brug knappen til højre for at oprette en.", + "auto-provision-create-profile": "Opret profil", + "auto-provision-validating": "Validerer Agent-profil…", + "auto-provision-valid": "Klar til klargøring — '{{profile}}' har fået tildelt en EDGE-applikationsprofil.", + "auto-provision-invalid-strategy": "Denne profils klargøringsstrategi installerer ikke applikationer automatisk. Vælg en profil med en strategi for automatisk installation.", + "auto-provision-invalid-no-edge-app-profile": "Denne profil har ingen tildelt EDGE-applikationsprofil. Brug knappen til at tildele en.", + "auto-provision-info-title": "Sådan fungerer det", + "auto-provision-info-body": "Når en Agent-profil er oprettet, genereres en Docker run-kommando. Når kommandoen udføres på en målmaskine, opretter ThingsBoard automatisk Agenten — og den tilknyttede Edge-entitet — med de legitimationsoplysninger, der er indlejret i kommandoen. Edge-entiteten konfigureres automatisk ud fra den applikationsprofil, der er tildelt Agent-profilen. Det er ikke nødvendigt at oprette en Edge manuelt.", + "auto-provision-success-message": "Agent-profilen er klar. Kør kommandoen på en vilkårlig målmaskine for at klargøre en ny Edge.", + "auto-provision-script-hint": "Kør denne kommando på hver maskine, der skal være en Edge. Hver kørsel klargør ét Agent + Edge-par.", + "auto-provision-open-profile": "Åbn profil", + "auto-provision-no-script": "Legitimationsoplysningerne til klargøring mangler for denne profil. Åbn profilen for at generere dem igen." + }, + "agent": { + "agents": "Agents", + "agent-profiles": "Agent-profiler", + "app-profiles": "Applikationsprofiler", + "templates": "Skabeloner", + "agent-templates": "Agent-skabeloner", + "add": "Tilføj Agent", + "add-agent-text": "Tilføj ny Agent", + "auto-provision": "Automatisk klargøring", + "auto-provision-title": "Automatisk klargøring af Agent", + "auto-provision-step-select": "Agent-profil", + "auto-provision-step-script": "Klargøringsscript", + "auto-provision-valid": "Klar til klargøring — '{{profile}}' har klargøring aktiveret.", + "auto-provision-info-title": "Sådan fungerer det", + "auto-provision-info-body": "Når en Agent-profil er oprettet, genereres en Docker run-kommando. Når kommandoen udføres på en målmaskine, opretter ThingsBoard automatisk en Agent med de legitimationsoplysninger, der er indlejret i kommandoen. Den nye Agent konfigureres automatisk ud fra Agent-profilen. Manuel oprettelse af en Agent er ikke nødvendig.", + "auto-provision-success-message": "Agent-profilen er klar. Kør kommandoen på en vilkårlig målmaskine for at klargøre en ny Agent.", + "auto-provision-script-hint": "Kør denne kommando på hver maskine, der skal køre en Agent. Hver kørsel klargør én Agent.", + "add-profile": "Tilføj Agent-profil", + "add-app-profile": "Tilføj applikationsprofil", + "add-application": "Tilføj applikation", + "agent-details": "Agent-detaljer", + "profile-details": "Agent-profildetaljer", + "app-profile-details": "Applikationsprofildetaljer", + "template-details": "Agent-skabelondetaljer", + "application-details": "Applikationsdetaljer", + "no-agents-text": "Ingen Agents fundet", + "no-agent-profiles-text": "Ingen Agent-profiler fundet", + "no-app-profiles-text": "Ingen applikationsprofiler fundet", + "no-templates-text": "Ingen Agent-skabeloner fundet", + "no-applications-text": "Ingen applikationer fundet", + "no-events-text": "Ingen hændelser fundet", + "search": "Søg efter Agents", + "search-profiles": "Søg i Agent-profiler", + "search-app-profiles": "Søg i applikationsprofiler", + "search-templates": "Søg i skabeloner", + "search-applications": "Søg i applikationer", + "search-events": "Søg i hændelser", + "selected-agents": "{ count, plural, =1 {1 Agent} other {# Agents} } valgt", + "selected-agent-profiles": "{ count, plural, =1 {1 Agent-profil} other {# Agent-profiler} } valgt", + "selected-app-profiles": "{ count, plural, =1 {1 applikationsprofil} other {# applikationsprofiler} } valgt", + "selected-applications": "{ count, plural, =1 {1 applikation} other {# applikationer} } valgt", + "name": "Navn", + "name-required": "Navn er påkrævet.", + "name-max-length": "Navnet skal være mindre end 256 tegn", + "routing-key": "Routingnøgle", + "secret": "Hemmelighed", + "description": "Beskrivelse", + "profile-name": "Profilnavn", + "profile-name-placeholder": "Produktions-Agents", + "profile-name-required": "Profilnavn er påkrævet.", + "provision-type": "Klargøringstype", + "provision-key": "Klargøringsnøgle", + "provision-secret": "Klargøringshemmelighed", + "app-type": "Applikationstype", + "current-version": "Aktuel version", + "next-version": "Næste version", + "assigned-to-customer": "Tildelt til kunde", + "assign-to-customer": "Tildel til kunde", + "unassign-from-customer": "Fjern tildeling fra kunde", + "assign-agents-to-customer": "Tildel Agent(s) til kunde", + "assign-to-customer-text": "Vælg den kunde, som Agent(s) skal tildeles til", + "unassign-agents-from-customer": "Fjern tildelingen af Agent(s) fra kunde", + "delete": "Slet Agent", + "delete-profile": "Slet profil", + "set-default-profile": "Gør Agent-profilen til standard", + "set-default-profile-title": "Er du sikker på, at du vil gøre Agent-profilen '{{profileName}}' til standard?", + "set-default-profile-text": "Efter bekræftelsen markeres Agent-profilen som standard og bruges til nye Agents uden angivet profil.", + "default-profile": "Standard", + "agent-profile-required": "Agent-profil er påkrævet.", + "edit-profile": "Redigér Agent-profil", + "no-agent-profiles-found": "Ingen Agent-profiler fundet", + "no-agent-profiles-matching": "Ingen Agent-profiler, der matcher '{{entity}}', blev fundet", + "create-new-agent-profile": "Opret ny Agent-profil", + "add-profile-step-details": "Profildetaljer", + "add-profile-step-app-profiles": "Applikationsprofiler", + "add-profile-app-profiles-hint-title": "Hvorfor tildele applikationsprofiler?", + "add-profile-app-profiles-hint": "De tildelte applikationsprofiler styrer massehandlinger (opdatering, opgradering, sletning) på applikationer, der refererer til dem — applikationer, der administreres af Agents, som bruger profilen '{{profileName}}'. Vælg eksisterende applikationsprofiler, eller opret nye direkte her.", + "application-profiles": "Applikationsprofiler", + "create-new-application-profile": "Opret ny applikationsprofil", + "create-new": "Opret ny", + "delete-app-profile": "Slet applikationsprofil", + "copy-profile-id": "Kopiér profil-ID", + "profile-id-copied-message": "Profil-ID er blevet kopieret til udklipsholderen", + "app-profile-wizard-title": "Opret applikationsprofil", + "app-profile-wizard-edit-title": "Opdatér applikationsprofil", + "app-update-current-config": "Aktuel applikationskonfiguration", + "app-update-future-config": "Fremtidig applikationskonfiguration", + "app-update-edit-profile": "Opdatér profil", + "app-update-compare-hint": "Skrivebeskyttet sammenligning af denne applikations aktuelle konfiguration (venstre) og den konfiguration, den vil modtage fra den tildelte profil, med legitimationsoplysninger flettet ind (højre).", + "app-install-custom-config": "Avanceret", + "app-install-from-profile": "Standard", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "En ThingsBoard Agent installerer, opgraderer og overvåger denne udrulning eksternt fra skyen — ingen manuelle Docker-kommandoer eller vedligeholdelse på målmaskinen.", + "deploy-select-agent-step": "Vælg Agent", + "deploy-intro": "Udrul på en fjernmaskine med en ThingsBoard Agent. Vælg en eksisterende Agent, der kører på målmaskinen, eller opret en ny.", + "deploy-agent": "Agent", + "deploy-create-new": "Opret ny", + "deploy-no-agents": "Ingen Agents fundet", + "deploy-no-agents-matching": "Ingen Agents matcher '{{entity}}'", + "deploy-already-managed": "Denne entitet administreres allerede af Agent-applikationen \"{{name}}\".", + "deploy-open-agent": "Gå til Agent", + "deploy-open-app": "Gå til Agent-applikation", + "deploy-install-step": "Installér", + "deploy-status-hero": "En ThingsBoard Agent er i gang med at installere, opgradere og overvåge denne udrulning eksternt fra skyen — ingen manuelle Docker-kommandoer eller vedligeholdelse på målmaskinen.", + "deploy-status-online-title": "Din Agent er online", + "deploy-status-offline-title": "Din Agent er offline", + "deploy-status-managing": "administrerer denne udrulning. Der er ikke mere, du skal gøre her.", + "deploy-status-managing-for": "har administreret denne udrulning i {{duration}}. Der er ikke mere, du skal gøre her.", + "deploy-status-offline-desc": "kan ikke nås lige nu. Forbindelsen genoptages automatisk, når Agenten opretter forbindelse igen.", + "deploy-status-duration-days": "{{count}} dag(e)", + "deploy-status-duration-hours": "{{count}} time(r)", + "deploy-status-duration-minutes": "{{count}} minut(ter)", + "deploy-status-healthy": "Sund", + "deploy-status-unhealthy": "Offline", + "deploy-status-need-reinstall": "Skal du geninstallere?", + "deploy-status-show-install": "Vis installationskommando", + "deploy-status-hide-install": "Skjul", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "Agent-enheden, der administrerer denne udrulning — telemetri og livscyklus.", + "deploy-status-card-app-title": "Agent-applikation", + "deploy-status-card-app-desc": "Applikationen, som denne Agent kører — tjenester, status og logfiler.", + "deploy-status-card-events-title": "Agent-hændelser", + "deploy-status-card-events-desc": "Live-strøm af installationer, opgraderinger, genstarter og fejl.", + "deploy-status-edge-ui-title": "Åbn ThingsBoard Edge-brugerfladen", + "deploy-status-edge-ui-desc": "Når Edge-tjenesten er startet, skal du åbne Edge-webgrænsefladen på http://localhost:8080 eller på http://localhost:18080, hvis du ændrede konfigurationen af HTTP-bindingsporten i det forrige trin. Log ind med legitimationsoplysningerne for din lejer fra enten din lokale ThingsBoard Server eller ThingsBoard Cloud.", + "app-install-select-profile": "Applikationsprofil", + "app-install-no-profiles": "Ingen applikationsprofiler fundet", + "app-install-virtual-profile-badge": "Foruddefineret", + "app-install-virtual-profile-hint": "Denne profil findes ikke endnu. Den oprettes automatisk ud fra skabelonen, når du vælger den.", + "app-install-profile-materialize-failed": "Kunne ikke oprette den foruddefinerede applikationsprofil.", + "quick-start-title": "Hurtig start — foruddefinerede profiler", + "quick-start-subtitle": "Opret en færdig Edge- eller Gateway-profil med ét klik. Ingen konfiguration påkrævet.", + "quick-start-filter-all": "Alle", + "quick-start-all-created": "Alle foruddefinerede profiler er oprettet.", + "quick-start-no-match": "Ingen foruddefinerede profiler matcher dette filter.", + "quick-start-profile-created": "Applikationsprofilen \"{{profileName}}\" er oprettet", + "add-profile-assignments-load-failed": "Kunne ikke indlæse de aktuelt tildelte applikationsprofiler. Når du gemmer, forbliver de eksisterende tildelinger uændrede.", + "app-profile-wizard-cta": "Opret profil", + "app-profile-wizard-confirm-info": "Applikationsprofilen oprettes med den valgte skabelon og compose-konfiguration. Du kan ændre den senere på profilens detaljeside.", + "app-profile-name": "Profilnavn", + "app-profile-name-placeholder-edge": "Silo Edge-applikationsprofil", + "app-profile-name-placeholder-gateway": "Silo Gateway-applikationsprofil", + "app-profile-name-placeholder-generic": "Silo-applikationsprofil", + "app-profile-step-save": "Gem profil", + "app-profile-description": "Beskrivelse", + "copy-id": "Kopiér Agent-ID", + "copy-routing-key": "Kopiér routingnøgle", + "copy-secret": "Kopiér hemmelighed", + "copy-provision-key": "Kopiér klargøringsnøgle", + "copy-provision-secret": "Kopiér klargøringshemmelighed", + "id-copied-message": "Agent-ID er kopieret til udklipsholderen", + "routing-key-copied-message": "Routingnøglen er kopieret til udklipsholderen", + "secret-copied-message": "Hemmeligheden er kopieret til udklipsholderen", + "provision-key-copied-message": "Klargøringsnøglen er kopieret til udklipsholderen", + "provision-secret-copied-message": "Klargøringshemmeligheden er kopieret til udklipsholderen", + "delete-agent-title": "Er du sikker på, at du vil slette Agent '{{agentName}}'?", + "delete-agent-text": "Vær forsigtig, efter bekræftelsen kan denne Agent og alle relaterede data ikke gendannes.", + "delete-agents-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 Agent} other {# Agents} }?", + "delete-agents-text": "Vær forsigtig, efter bekræftelsen fjernes alle valgte Agents, og alle relaterede data kan ikke gendannes.", + "unassign-agent-title": "Er du sikker på, at du vil fjerne tildelingen af Agent '{{agentName}}'?", + "unassign-agent-text": "Efter bekræftelsen fjernes tildelingen af denne Agent, og den vil ikke være tilgængelig for kunden.", + "unassign-agents-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 Agent} other {# Agents} }?", + "unassign-agents-text": "Efter bekræftelsen fjernes tildelingen af alle valgte Agents, og de vil ikke være tilgængelige for kunden.", + "delete-profile-title": "Er du sikker på, at du vil slette profilen '{{profileName}}'?", + "delete-profile-text": "Vær forsigtig, efter bekræftelsen kan profilen og alle relaterede data ikke gendannes.", + "delete-profiles-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 profil} other {# profiler} }?", + "delete-profiles-text": "Vær forsigtig, efter bekræftelsen fjernes alle valgte profiler, og alle relaterede data kan ikke gendannes.", + "delete-app-profile-title": "Er du sikker på, at du vil slette applikationsprofilen '{{profileName}}'?", + "delete-app-profile-text": "Vær forsigtig, efter bekræftelsen kan applikationsprofilen og alle relaterede data ikke gendannes.", + "delete-app-profiles-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 applikationsprofil} other {# applikationsprofiler} }?", + "delete-app-profiles-text": "Vær forsigtig, efter bekræftelsen fjernes alle valgte applikationsprofiler, og alle relaterede data kan ikke gendannes.", + "status": "Status", + "online": "Online", + "offline": "Offline", + "app-errors": "Fejl", + "app-errors-recent": "Seneste {{count}} fejlhændelse(r):", + "app-errors-open-events": "Klik for at åbne fanen Hændelser", + "online-hint": "Agenten er i øjeblikket forbundet til platformen", + "offline-hint": "Agenten er ikke forbundet til platformen", + "agent-profile": "Agent-profil", + "no-profile": "Ingen profil", + "applications": "Applikationer", + "manage-applications": "Administrér applikationer", + "app-name": "Navn", + "app-template": "Skabelon", + "app-units": "Komponenter", + "app-origin": "Oprindelse", + "app-profile-in-sync": "Synkroniseret med applikationsprofil", + "app-profile-in-sync-yes": "Synkroniseret med applikationsprofilen", + "app-profile-in-sync-no": "Ikke synkroniseret med applikationsprofilen", + "app-profile-in-sync-na": "Ingen applikationsprofil tildelt", + "app-upgrade-to": "Opgradér til {{version}}", + "app-restart": "Genstart", + "app-upgrade": "Opgradér", + "app-delete": "Slet", + "app-update": "Opdatér", + "app-update-title": "Opdatér {{name}}?", + "app-update-text": "Send den gemte konfiguration til Agenten. Agenten udruller igen ved hjælp af den senest gemte compose-fil.", + "app-version-upgrade-available-title": "Opgradering tilgængelig", + "app-version-mismatch-title": "Uoverensstemmelse i skabelonversion", + "app-assign-upgrade-available-text": "Profilen '{{profileName}}' er på skabelonversion {{profileVersion}}, mens denne applikation er på {{appVersion}}. En opgradering til {{profileVersion}} er tilgængelig for denne applikation. Hvis du tildeler profilen direkte, skiftes den til {{profileVersion}} uden at køre opgraderingstrinnene (f.eks. databaseopgraderingsscripts). Brug handlingen Opgradér til at skifte version sikkert.", + "app-assign-version-mismatch-text": "Profilen '{{profileName}}' bruger skabelonversion {{profileVersion}}, men denne applikation er på version {{appVersion}}. Hvis du tildeler den, skiftes applikationen til {{profileVersion}} uden at køre opgraderings- eller nedgraderingstrin, og applikationen kan efterlades i en inkonsistent tilstand. Brug handlingen Opgradér til at skifte version sikkert.", + "app-assign-anyway": "Tildel alligevel", + "app-assign-upgrade-first": "Opgradér først", + "app-update-drift-title": "Den tildelte profilversion afviger", + "app-update-drift-text": "Den tildelte profil '{{profileName}}' er på skabelonversion {{profileVersion}}, mens denne applikation er på {{appVersion}}. Handlingen Opdatér udruller applikationen igen med dens aktuelle konfiguration — profilens konfiguration anvendes ikke. Brug handlingen Opgradér til at skifte til {{profileVersion}}.", + "app-update-anyway": "Opdatér alligevel", + "app-profile-drifted-hint": "Profilen er på skabelonversion {{version}}. Handlingen Opdatér anvender den ikke — brug Opgradér.", + "app-arguments-profile-managed-hint": "Brugerdefinerede argumenter administreres af den tildelte applikationsprofil. Redigér dem på profilsiden.", + "app-current-version": "Aktuel version", + "app-profile-version": "Profilversion", + "app-name-required": "Applikationsnavn er påkrævet.", + "app-compose": "Docker Compose-konfiguration", + "arguments": "Brugerdefinerede argumenter", + "arguments-hint-prefix": "Pladsholdere, der udfyldes ved udrulning. Henvis til dem i compose-filen som", + "arguments-empty": "Ingen brugerdefinerede argumenter defineret.", + "arguments-empty-read-title": "Ingen brugerdefinerede argumenter defineret", + "arguments-empty-read-hint": "Compose-filen udrulles med sine værdier uændret.", + "arguments-empty-write-title": "Ingen brugerdefinerede argumenter endnu", + "arguments-empty-write-hint": "Tilføj en pladsholder for at indsætte en entitetsattribut eller en telemetriværdi i compose-filen ved udrulning.", + "argument-settings": "Argumentindstillinger", + "argument-add": "Tilføj argument", + "argument-remove": "Fjern argument", + "argument-name": "Navn", + "argument-name-required": "Argumentnavn er påkrævet.", + "argument-name-pattern": "Kun bogstaver, cifre og understregninger er tilladt.", + "argument-name-duplicate": "Argumentnavnet er allerede i brug.", + "argument-referenced-as": "Henvis til det i Docker Compose-konfigurationen som", + "argument-source": "Kildetype", + "argument-target-entity": "Målentitet", + "argument-source-agent": "Agent", + "argument-source-owner": "Ejer", + "argument-source-related-entity": "Relateret entitet", + "argument-source-tenant": "Aktuel lejer", + "argument-source-device": "Enhed", + "argument-source-asset": "Aktiv", + "argument-source-customer": "Kunde", + "argument-source-edge": "Edge", + "argument-source-entity-device": "Enhed", + "argument-source-entity-asset": "Aktiv", + "argument-source-entity-customer": "Kunde", + "argument-source-entity-edge": "Edge", + "argument-value-type": "Værditype", + "argument-value-type-attribute": "Attribut", + "argument-value-type-latest-telemetry": "Seneste telemetri", + "argument-scope": "Attributomfang", + "argument-type-server-attribute": "Serverattribut", + "argument-type-shared-attribute": "Delt attribut", + "argument-type-client-attribute": "Klientattribut", + "argument-key": "Nøgle", + "argument-attribute-key": "Attributnøgle", + "argument-telemetry-key": "Seneste telemetrinøgle", + "argument-key-required": "Nøgle er påkrævet.", + "argument-default-value": "Standardværdi", + "argument-format": "Værdiformat", + "argument-format-string": "Tekst", + "argument-format-json": "JSON", + "argument-format-hint-json": "\"JSON\" indsætter arrays/objekter/tal, som de er, men kun når pladsholderen udgør hele værdien.", + "argument-format-hint-embedded": "Hvis pladsholderen er indlejret i en streng, ignoreres dette valg, og værdien indsættes altid som tekst i anførselstegn.", + "argument-format-hint-text": "\"Tekst\" indsætter altid en streng i anførselstegn.", + "app-compose-creds-overridden-hint": "Felterne med legitimationsoplysninger i compose-konfigurationen administreres af den tilknyttede entitet og overskrives, når du gemmer. For at ændre dem skal du tildele entiteten igen.", + "app-profile-compose-creds-hint": "Felterne med legitimationsoplysninger i compose-konfigurationen administreres af den tilknyttede entitet og overskrives, når du gemmer. For at ændre dem skal du tildele entiteten, når du opretter/redigerer applikationen.", + "app-related-entity": "Relateret entitet", + "app-related-entity-none": "Ingen matchende entiteter fundet", + "app-related-entity-none-create": "Ingen matchende entiteter fundet. Brug knappen 'Opret ny' til at oprette en.", + "app-related-entity-required": "Relateret entitet er påkrævet for Edge- og Gateway-applikationer.", + "app-step-applied-stage-hint": "Ændringer her anvendes af Agenten under fasen '{{stage}}'.", + "app-restart-title": "Genstart {{name}}?", + "app-restart-text": "Agenten kører applikationens starttrin igen. Eksisterende data og konfiguration bevares.", + "app-assign-compare-title": "Tildel applikationsprofil", + "app-assign-compare-hint": "Tildeling af profilen '{{profileName}}' erstatter compose-konfigurationen for '{{appName}}'. Gennemgå ændringerne ovenfor, og bekræft.", + "app-assign-compare-cta": "Tildel profil", + "app-upgrade-title": "Opgradér applikation", + "app-upgrade-step1": "Gennemgå ændringer", + "app-upgrade-step2": "Konfigurér og bekræft", + "app-upgrade-heading": "Opgraderer {{name}}: {{from}} → {{to}}", + "app-upgrade-template-new": "Skabelon ({{version}}) — ny", + "app-upgrade-current": "Din compose-fil (aktuel med automatisk indflettet nyt image)", + "app-upgrade-diff-hint": "Sammenligning side om side: venstre rude viser den rå nye skabelon, højre rude viser din aktuelle compose med det nye image automatisk flettet ind. Gennemgå forskellene, før du fortsætter.", + "app-upgrade-steps-list": "Opgraderingstrin, der vil blive udført:", + "app-upgrade-backup-volumes-hint": "Vælg, hvilke volumener der skal sikkerhedskopieres før opgraderingen. Sikkerhedskopier gør automatisk tilbagerulning mulig, hvis opgraderingen mislykkes.", + "app-upgrade-no-volumes": "Ingen volumener fundet i compose-konfigurationen.", + "app-upgrade-summary-versions": "Opgradering", + "app-upgrade-summary-volumes-label": "Volumener til sikkerhedskopiering", + "app-upgrade-summary-volumes": "{ count, plural, =1 {1 valgt} other {# valgte} }", + "app-upgrade-rollback-info": "Hvis et trin mislykkes, ruller Agenten automatisk tilbage til den forrige version ved hjælp af de sikkerhedskopierede volumener.", + "app-upgrade-cta": "Opgradér", + "app-upgrade-loading": "Indlæser skabelon…", + "app-upgrade-no-template": "Applikationen har ingen skabelon angivet og kan ikke opgraderes.", + "app-upgrade-no-next-version": "Der er ingen nyere skabelonversion tilgængelig.", + "app-upgrade-load-failed": "Kunne ikke indlæse opgraderingsskabelonen.", + "app-upgrade-merge-failed": "Kunne ikke beregne forhåndsvisningen af opgraderingen.", + "app-compose-invalid-yaml": "Docker Compose-konfigurationen er ikke gyldig YAML. Ret den, før du gemmer.", + "app-profile-saved-title": "Applikationsprofil gemt", + "app-profile-saved-propagation-text": "Applikationer, der allerede er tildelt denne profil, blev ikke opdateret automatisk. For at anvende ændringerne skal du køre en masseopdatering/-opgradering fra Agent-profilsiden eller opdatere hver applikation enkeltvis fra dens egen side.", + "app-upgrade-profile-step": "Opgradér profil", + "app-upgrade-profile-loading": "Indlæser profil…", + "app-upgrade-profile-name": "Profil", + "app-upgrade-profile-current": "Profilens compose-fil (aktuel med nyt image flettet ind automatisk)", + "app-upgrade-profile-hint": "Denne applikation er knyttet til en profil, der stadig peger på den tidligere skabelonversion. Opgradér først profilen, så applikationen kan tage den nye konfiguration i brug.", + "app-upgrade-profile-cta": "Opgradér profil", + "app-profile-load-failed": "Kunne ikke indlæse applikationsprofilen.", + "app-install-title": "Installér applikation", + "app-install-on-agent": "på Agent {{name}}", + "app-install-pick-type": "Vælg, hvad du vil udrulle på denne Agent.", + "app-install-step1": "Vælg type", + "app-install-step3": "Gennemse og tilpas", + "app-install-step4": "Gem applikation", + "app-install-type-generic": "Generisk", + "app-install-type-generic-desc": "Udrul en vilkårlig Docker Compose-applikation", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "Udrul ThingsBoard Edge", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "Udrul ThingsBoard Gateway", + "app-install-name": "Applikationsnavn", + "app-install-yaml": "Docker Compose-konfiguration", + "app-compose-template-select": "Compose-skabelon", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "Hybrid", + "compose-type-in-memory": "I hukommelsen", + "app-install-diff-template": "Skabelon — skrivebeskyttet", + "app-install-diff-editable": "Din compose-fil — kan redigeres, bliver gemt", + "app-install-diff-hint": "Venstre rude viser den rå compose fra skabelonen. Redigér højre rude for at tilpasse den; kun højre side gemmes.", + "app-diff-sync-scroll": "Synkronisér rulning mellem ruderne", + "app-diff-read-only": "Skrivebeskyttet", + "app-install-cred-title": "Legitimationsoplysninger", + "app-install-cred-hint": "Kun disse felter kan redigeres, når du bruger en profil. De skrives tilbage i compose-forhåndsvisningen nedenfor.", + "app-install-cred-routing-key": "Routingnøgle", + "app-install-cred-routing-secret": "Routinghemmelighed", + "app-install-cred-security-type": "Sikkerhedstype", + "app-install-cred-security-access-token": "Adgangstoken", + "app-install-cred-security-username-password": "Brugernavn / adgangskode", + "app-install-cred-access-token": "Adgangstoken", + "app-install-cred-client-id": "Klient-ID", + "app-install-cred-username": "Brugernavn", + "app-install-cred-password": "Adgangskode", + "app-install-pull-images": "Hent images før start", + "app-image-pull-policy-if-not-present": "Hvis ikke til stede", + "app-image-pull-policy-always": "Altid", + "app-install-cta": "Gem", + "app-update-wizard-title": "Opdatér applikation", + "app-update-cta": "Opdatér", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "Foreslået (flettet med skabelon) — skrivebeskyttet", + "app-update-diff-current": "Aktuel compose-fil — kan redigeres, bliver gemt", + "app-update-diff-hint": "Gennemgå de foreslåede ændringer til venstre. Brug pilene mellem ruderne til at flette valgte dele ind i den aktuelle compose til højre. Kun højre side gemmes.", + "app-update-cred-hint": "Profilstyrede applikationer viser kun felter til legitimationsoplysninger her. Andre compose-ændringer foretages via profilen.", + "app-profile-outdated-hint": "Profilkonfigurationen er forældet. Kør Opdatér for at hente den igen.", + "app-project-name": "Projektnavn", + "app-update-skip-profile-refetch": "Spring genhentning af profilens konfiguration over", + "app-update-skip-profile-refetch-hint": "Når feltet er markeret, beholder Agent-applikationen sin aktuelle compose, og kun værdierne for legitimationsoplysninger ovenfor anvendes. Brug det til at rotere legitimationsoplysninger eller — med pull-politikken ovenfor sat til Altid — til at hente de nyeste images igen uden at overtage profilens nyere konfiguration.", + "app-update-skip-profile-refetch-drift-hint": "Den tildelte profil er på skabelonversion {{version}} — handlingen Opdatér anvender ikke dens konfiguration. Applikationen beholder sin aktuelle compose; kun værdierne for legitimationsoplysninger ovenfor anvendes. Brug Opgradér til at skifte version.", + "app-install-confirm-info": "Agenten downloader og starter containerne. Du kan følge fremskridtet under fanen Hændelser.", + "app-install-loading-template": "Indlæser skabelon…", + "app-install-template-failed": "Applikationsskabelonen kunne ikke indlæses.", + "app-install-merge-failed": "Den flettede forhåndsvisning kunne ikke beregnes.", + "app-delete-title-header": "Slet applikation", + "app-delete-warning": "Er du sikker på, at du vil slette '{{name}}'? Dette stopper og fjerner alle containere på fjernmaskinen.", + "app-delete-remove-volumes": "Fjern også volumener", + "app-delete-remove-volumes-hint": "Advarsel: dette sletter permanent alle data, der er gemt i applikationens volumener.", + "app-delete-no-volumes": "Ingen volumener fundet i compose-konfigurationen.", + "app-delete-cta": "Slet", + "agents-count": "Agents", + "profiles-count": "Profiler", + "template": "Skabelon", + "previous-version": "Forrige version", + "config-type": "Konfigurationstype", + "install-instructions": "Installationsvejledning", + "install-instructions-hint": "Kør følgende kommando på målmaskinen for at starte Agenten. Agenten opretter forbindelse til ThingsBoard-serveren og vises som Online.", + "install-instructions-replace-hint": "Agenten vises som Online på Agents-listen, når forbindelsen er oprettet.", + "install-step-docker": "Sørg for, at Docker er installeret på målmaskinen", + "install-step-run": "Kør Agent-containeren", + "install-command-copied-message": "Installationskommandoen er kopieret til udklipsholderen", + "agent-credentials": "Agent-legitimationsoplysninger", + "agent-created-successfully": "Agenten er oprettet", + "go-to-agent": "Gå til Agent", + "app-type-generic": "Generisk", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "Opsætning", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "Nyeste Edge-applikationsprofil", + "preset-gateway-description": "Nyeste Gateway-applikationsprofil", + "preset-edge-gateway-description": "Begge de nyeste applikationsprofiler", + "preset-name-edge": "Agent-profil til Edge", + "preset-name-gateway": "Agent-profil til Gateway", + "preset-name-edge-gateway": "Agent-profil til Edge + Gateway", + "preset-advanced": "Avanceret", + "preset-advanced-description": "Angiv en klargøringsstrategi, og vælg eller opret applikationsprofiler", + "preset-advanced-configure": "Konfigurér", + "preset-summary-title": "Forudindstilling: {{label}}", + "preset-summary-body": "Opretter Agent-profilen med {{apps}} tildelt og klargøringsstrategien \"én applikation pr. type\".", + "preset-summary-apps-two": "{{first}} og {{second}}", + "preset-templates-load-failed": "Kunne ikke indlæse de seneste applikationsskabeloner for: {{types}}. Forudindstillinger, der kræver dem, er deaktiveret.", + "app-type-required": "Applikationstype er påkrævet.", + "provision-type-disabled": "Deaktiveret", + "provision-type-no-auto-install": "Klargør kun Agents", + "provision-type-per-app-type": "Én applikation pr. type", + "provision-type-per-app-profile": "Én applikation pr. tildelt profil", + "provisioning-strategy": "Klargøringsstrategi", + "provisioning-strategy-label": "Strategi: {{strategy}}", + "provision-type-disabled-description": "Klargøring af Agents er deaktiveret. Vælg en klargøringsstrategi for at aktivere automatisk registrering af Agents. Når den er aktiveret, kan Agents registrere sig selv med en delt klargøringsnøgle og hemmelighed — du behøver ikke at oprette hver Agent manuelt.", + "provision-type-no-auto-install-description": "Når en ny Agent klargøres med denne profil, registrerer serveren den pågældende Agent, men installerer ikke nogen applikationer automatisk. Tildelte applikationsprofiler ignoreres under klargøring — applikationer kan installeres manuelt på den pågældende Agent.", + "provision-type-per-app-type-description": "Når en ny Agent klargøres med denne profil, opretter serveren automatisk applikationer ud fra de tildelte applikationsprofiler. Edge/Gateway-applikationer installeres kun, hvis den pågældende Agent ikke allerede har en applikation af den type (højst én pr. type pr. Agent); generiske applikationer matches efter profil (én applikation pr. profil pr. Agent). Hvis der f.eks. er tildelt to Edge-profiler og to generiske profiler, får den pågældende Agent én Edge-applikation og to generiske applikationer. Hvis en applikationstype kræver en relateret entitet (f.eks. Edge eller Gateway), forsøger serveren at oprette og tildele den.", + "provision-type-per-app-profile-description": "Når en ny Agent klargøres med denne profil, opretter serveren automatisk applikationer ud fra de tildelte applikationsprofiler. Hver applikation installeres kun, hvis den pågældende Agent ikke allerede har en tilsvarende — Edge/Gateway-applikationer matches efter skabelon eller efter deres kildeprofil (én pr. skabelon pr. Agent); generiske applikationer matches efter profil (én applikation pr. profil pr. Agent). Hvis der f.eks. er tildelt to Edge-profiler, får den pågældende Agent to Edge-applikationer, hvis profilerne er baseret på forskellige skabeloner, men kun én, hvis de deler samme skabelon. Hvis en applikationstype kræver en relateret entitet (f.eks. Edge eller Gateway), forsøger serveren at oprette og tildele den.", + "agent-profile-created": "Agent-profil oprettet", + "agent-profile-created-hint": "Kør denne kommando på hver maskine, hvor du vil udrulle en Agent. Hver Agent vil:", + "agent-profile-created-step-1": "Registrere sig automatisk hos serveren med legitimationsoplysningerne til klargøring", + "agent-profile-created-step-2": "Modtage en unik routingnøgle og hemmelighed til en vedvarende forbindelse", + "agent-profile-created-step-3": "Automatisk installere de applikationer, der er defineret i de tildelte applikationsprofiler", + "provisioning-credentials": "Legitimationsoplysninger til klargøring", + "provisioning": "Agent-klargøring", + "docker-run-command": "Docker run-kommando", + "assigned-profiles": "Applikationsprofiler", + "assign-profile": "Tildel profil", + "unassign-profile": "Fjern tildelingen af profil", + "no-profiles-assigned": "Ingen applikationsprofiler er tildelt denne profil endnu.", + "go-to-profile": "Gå til profil", + "profiles-bulk-hint": "Denne massehandling gælder alle applikationer, der matcher profilen \"{{appProfile}}\", og som kører på en Agent med profilen \"{{agentProfile}}\"", + "auto-install-template-dedup-note": "Klargøringsstrategien i denne Agent-profil aktiverer automatisk installation. Når en Agent klargøres automatisk, installeres hver profil nedenfor kun, hvis Agenten ikke allerede har en matchende applikation. Edge/Gateway-profiler matches efter skabelon eller efter deres kildeprofil (én pr. skabelon pr. Agent); generiske profiler matches efter profil (én applikation pr. profil pr. Agent).", + "auto-install-per-type-note": "Klargøringsstrategien i denne Agent-profil aktiverer automatisk installation. Når en Agent klargøres automatisk, installeres Edge/Gateway-profiler nedenfor kun, hvis Agenten ikke allerede har en applikation af den type (højst én pr. type pr. Agent); generiske profiler matches efter profil (én applikation pr. profil pr. Agent).", + "app-profile": "Applikationsprofil", + "no-profiles-available": "Der er ikke flere profiler at tildele.", + "unassign-profile-confirm": "Er du sikker på, at du vil fjerne tildelingen af applikationsprofilen '{{profile}}' fra denne Agent-profil?", + "relate-on-auto-discovery": "Tilknyt ved automatisk opdagelse", + "relate-on-auto-discovery-tooltip": "Tildel denne applikationsprofil til alle nye automatisk opdagede applikationer med matchende Edge/Gateway-images.", + "relate-on-auto-discovery-confirm-title": "Er du sikker på, at du vil fortsætte?", + "relate-on-auto-discovery-enable-confirm": "Nye automatisk opdagede applikationer med et Edge/Gateway-image, der matcher skabelonen for '{{profile}}', får automatisk tildelt denne applikationsprofil. Ved uoverensstemmelse i konfigurationen vil profilens konfiguration (compose) tilsidesætte applikationens automatisk opdagede konfiguration (compose).", + "relate-on-auto-discovery-disable-confirm": "Nye automatisk opdagede applikationer, der matcher skabelonen for '{{profile}}', får ikke længere automatisk tildelt denne applikationsprofil. Eksisterende tildelinger påvirkes ikke.", + "provisioning-saved": "Klargøringsindstillinger gemt", + "bulk-actions": "Massehandlinger", + "assigned-applications": "Tildelte applikationer", + "application-profiles-and-bulk-actions": "Applikationsprofiler & massehandlinger", + "recent-bulk-actions": "Seneste massehandlinger", + "no-recent-bulk-actions": "Ingen massehandlinger for denne applikationsprofil endnu.", + "executions": "Udførelser", + "view-bulk-action-details": "Åbn alle detaljer", + "agents-reporting-success": "{{ok}}/{{total}} Agents rapporterer succes", + "bulk-action-type": "Handling", + "bulk-action-status": "Status", + "bulk-action-counts": "Indsendt", + "bulk-action-error": "Fejl", + "bulk-action-details": "Detaljer om massehandling", + "bulk-restart": "Massegenstart", + "bulk-update": "Masseopdatering", + "bulk-upgrade": "Masseopgradering", + "bulk-delete": "Massesletning", + "bulk-restart-title": "Massegenstart — {{profile}}", + "bulk-update-title": "Masseopdatering — {{profile}}", + "bulk-upgrade-title": "Masseopgradering — {{profile}}", + "bulk-delete-title": "Massesletning — {{profile}}", + "bulk-action-title": "Massehandling", + "bulk-restart-cta": "Genstart alle", + "bulk-update-cta": "Opdatér alle", + "bulk-upgrade-cta": "Opgradér alle", + "bulk-delete-cta": "Slet alle", + "bulk-preview": "Forhåndsvisning", + "bulk-preview-total": "Applikationer i alt", + "bulk-preview-eligible": "Kvalificerede", + "bulk-preview-skipped": "Sprunget over", + "bulk-skipped-version-mismatch": "Sprunget over — skabelonversionen stemmer ikke overens", + "bulk-skipped-active-event": "Sprunget over — en anden handling kører allerede", + "bulk-skipped-rate-limit": "Sprunget over — grænsen for hændelsesfrekvens er overskredet", + "bulk-skipped-error": "Sprunget over — fejl under evaluering af applikationen", + "bulk-skipped-more": "…og {{count}} mere — se kørselsdetaljer", + "bulk-no-eligible": "Ingen applikationer opfylder betingelserne for denne handling.", + "bulk-backup-volumes-hint": "Vælg volumener, der skal sikkerhedskopieres før opgradering. Indstillingerne gælder for alle kvalificerede applikationer.", + "bulk-no-volumes-in-profile": "Profilens compose-fil har ingen volumener.", + "bulk-submitted": "Indsendt", + "bulk-skipped": "Sprunget over", + "bulk-processing-started": "Behandling startet", + "bulk-events": "Hændelser", + "bulk-event-current-step": "Aktuelt trin", + "bulk-event-updated": "Opdateret", + "bulk-event-filter-status": "Status", + "bulk-event-filter-all": "Alle", + "bulk-no-events": "Ingen hændelser fundet for denne massehandling.", + "no-bulk-actions": "Ingen massehandlinger endnu.", + "origin-installed": "Installeret", + "origin-discovered": "Opdaget", + "origin-auto-provisioned": "Automatisk klargjort", + "event-action-install": "Installation", + "event-action-update": "Opdatering", + "event-action-delete": "Sletning", + "event-action-restart": "Genstart", + "event-action-rollback": "Tilbagerulning", + "event-action-upgrade": "Opgradering", + "event-action-agent-upgrade": "Agent-opgradering", + "event-status-pending": "Afventer", + "event-status-queued": "I kø", + "event-status-processing": "Behandles", + "event-status-finished": "Afsluttet", + "event-status-error": "Fejl", + "event-status-start-failed": "Start mislykkedes", + "bulk-status-queued": "I kø", + "bulk-status-in-progress": "I gang", + "bulk-status-started": "Startet", + "bulk-status-start-failed": "Start mislykkedes", + "unit-type-container": "Container", + "unit-type-volume": "Volumen", + "unit-type-network": "Netværk", + "app-events": "Hændelser", + "app-metrics": "Metrikker", + "app-copy-id": "Kopiér applikations-ID", + "app-id-copied-message": "Applikations-ID er kopieret til udklipsholderen", + "app-upgrade-available": "Opgradering tilgængelig: {{version}}", + "app-unit-identifier": "Identifikator", + "app-unit-image": "Image", + "app-unit-state": "Tilstand", + "app-unit-filter": "Komponentfilter", + "app-unit-filter-with-values": "Filter: {{values}}", + "app-unit-logs": "Containerlogs", + "app-unit-view-logs": "Vis containerlogs", + "filter-all-count": "Alle ({{count}})", + "filter-errors-count": "Fejl ({{count}})", + "filter-running-count": "Kører ({{count}})", + "log-agent-offline-paused": "Agent offline · stream sat på pause", + "log-agent-online": "Agent online", + "log-back-to-application": "Tilbage til applikation", + "log-buffered": "+ {{count}} i buffer", + "log-chip-app": "App", + "log-clear": "Ryd log", + "log-clear-highlight": "Ryd fremhævning", + "log-copy-all": "Kopiér alle", + "log-copy-all-lines": "Kopiér alle loglinjer", + "log-download": "Download log", + "log-dropped": "{{count}} kasseret", + "log-dropped-hint": "Loglinjer, som Agenten kasserede, før de nåede denne fremviser", + "log-dropped-total": "Kasserede linjer i alt", + "log-follow-latest": "Følg seneste", + "log-gap": "{ count, plural, =1 {1 logblok kasseret} other {# logblokke kasseret} } (buffergrænse nået)", + "log-highlight": "Fremhæv…", + "log-highlight-lines": "Fremhæv loglinjer", + "log-jump-to-latest": "Gå til seneste", + "log-lines-unit": "{ count, plural, =1 {linje} other {linjer} }", + "log-live": "Live", + "log-pause-resume-stream": "Sæt stream på pause eller genoptag den", + "log-pause-stream": "Sæt stream på pause", + "log-paused": "Sat på pause", + "log-resume-stream": "Genoptag stream", + "log-stream-paused": "Stream sat på pause", + "log-waiting": "Venter på loglinjer…", + "metrics-all-containers": "Alle containere", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{percent}}% af {{cores}} kerner (loft {{cap}}%)", + "metrics-disk": "Disk", + "metrics-memory": "Hukommelse", + "metrics-show-charts": "Vis diagrammer", + "metrics-updated-at": "Opdateret kl. {{time}}", + "metrics-used-of-total": "{{used}} af {{total}} ({{percent}}%)", + "metrics-volumes": "Volumener", + "stats-done": "{{count}} fuldført", + "stats-error": "{{count}} fejl", + "stats-pending": "{{count}} afventer", + "stats-running": "{{count}} kører", + "app-no-units": "Ingen komponenter fundet.", + "app-no-events": "Ingen hændelser fundet.", + "app-event-app-name": "Applikation", + "app-event-agent-name": "Agent", + "app-event-action": "Handling", + "app-event-status": "Udførelsesstatus", + "app-event-execution": "Udførelse", + "app-event-execution-not-started": "Ikke startet", + "app-event-execution-started": "Startet", + "app-event-execution-delivery-failed": "Levering mislykkedes", + "app-event-filter": "Hændelsesfilter", + "app-event-filter-with-values": "Filter: {{values}}", + "app-event-current-activity": "Aktuel aktivitet", + "app-event-show-error": "Vis fejl", + "app-event-error-title": "Hændelsesfejl", + "upgrade-agent-action": "Opgradér Agent", + "image": "Image", + "version-unknown": "ikke rapporteret", + "up-to-date": "Opdateret", + "upgrade-to": "Opgradér til {{version}}", + "upgrade-agent-title": "Opgradér Agent", + "upgrade-agent-text": "Agenten {{agentName}} erstatter sin egen container med nedenstående image. Den forbliver tilgængelig hele vejen igennem, og applikationskommandoer sættes på pause, indtil opgraderingen er fuldført.", + "upgrade-agent-hint": "Et nyere Agent-image er blevet udgivet", + "upgrade-agent-hint-unavailable": "Intet nyere Agent-image er kendt — Agenten er muligvis allerede opdateret, eller dens version kunne ikke bestemmes", + "upgrade-current-image": "Aktuelt image", + "upgrade-target-image": "Mål-image", + "upgrade-target-image-hint": "Et tag eller en digest-fastlåst reference, f.eks. thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "Mål-image er påkrævet.", + "agent-upgrade-subject": "Agent-opgradering", + "agent-upgrade-subject-label": "Handling", + "agent-upgrade-step-prepare": "Forbered erstatningscontainer", + "agent-upgrade-step-finalize": "Overdrag og fjern den tidligere container", + "app-event-progress-title": "Hændelsesforløb", + "app-event-progress-loading": "Indlæser skabelon...", + "app-event-progress-load-failed": "Kunne ikke indlæse hændelsesforløb.", + "app-event-progress-no-template": "Ingen skabelon er knyttet til denne applikation.", + "app-event-step-completed": "Fuldført", + "app-event-step-processing": "Behandles", + "app-event-step-error": "Mislykkedes", + "app-event-step-waiting": "Venter", + "app-event-current-step": "Aktuelt trin", + "app-event-created": "Oprettet", + "app-event-updated": "Opdateret", + "app-event-cancel": "Annullér", + "app-event-cancel-title": "Annullér hændelsen?", + "app-event-cancel-text": "Den igangværende hændelse vil blive annulleret på Agenten.", + "app-event-view-in-events": "Vis i hændelser", + "app-save-update-hint-title": "Ændringer gemt", + "app-save-update-hint": "Ændringerne er gemt i ThingsBoard, men Agenten kører stadig den tidligere konfiguration. Klik på handlingsknappen 'Opdatér' for denne applikation for at anvende ændringerne på Agenten.", + "app-save-update-hint-action": "Opdatér nu", + "app-deleted": "Applikation slettet", + "group": "Gruppe af Agents", + "list-of-groups": "{count, plural, =1 {1 Agent-gruppe} other {Liste over # Agent-grupper} }", + "group-name-starts-with": "Agent-grupper, hvis navne starter med '{{prefix}}'", + "application-group": "Applikationsgruppe", + "list-of-application-groups": "{count, plural, =1 {1 applikationsgruppe} other {Liste over # applikationsgrupper} }", + "application-group-name-starts-with": "Applikationsgrupper, hvis navne starter med '{{prefix}}'", + "all": "Alle", + "all-agents": "Alle Agents", + "groups": "Grupper", + "shared": "Delt" }, "edge-event": { "type-dashboard": "Dashboard", @@ -3493,11 +4268,11 @@ "type-device": "Enhed", "type-device-profile": "Enhedsprofil", "type-asset-profile": "Aktivprofil", - "type-entity-view": "Enhedsvisning", + "type-entity-view": "Entitetsvisning", "type-alarm": "Alarm", - "type-entity-group": "Enhedsgruppe", + "type-entity-group": "Entitetsgruppe", "type-rule-chain": "Regelkæde", - "type-rule-chain-metadata": "Regelkæde-metadata", + "type-rule-chain-metadata": "Regelkædemetadata", "type-edge": "Edge", "type-user": "Bruger", "type-tenant": "Lejer", @@ -3509,14 +4284,14 @@ "type-admin-settings": "Adminindstillinger", "type-ota-package": "OTA-pakke", "type-queue": "Kø", - "type-scheduler-event": "Planlægningshændelse", + "type-scheduler-event": "Planlæggerhændelse", "type-white-labeling": "White labeling", "type-login-white-labeling": "Login white labeling", - "type-custom-translation": "Brugertilpasning af oversættelse", + "type-custom-translation": "Brugerdefineret oversættelse", "type-role": "Rolle", - "type-group-permission": "Gruppe-tilladelser", + "type-group-permission": "Gruppetilladelse", "type-integration": "Integration", - "type-converter": "Konverter", + "type-converter": "Datakonverter", "action-type-added": "Tilføjet", "action-type-deleted": "Slettet", "action-type-updated": "Opdateret", @@ -3526,67 +4301,70 @@ "action-type-timeseries-updated": "Tidsserie opdateret", "action-type-credentials-updated": "Legitimationsoplysninger opdateret", "action-type-assigned-to-customer": "Tildelt kunde", - "action-type-unassigned-from-customer": "Fjernet fra kunde", + "action-type-unassigned-from-customer": "Tildeling fjernet fra kunde", "action-type-relation-add-or-update": "Relation tilføjet eller opdateret", "action-type-relation-deleted": "Relation slettet", "action-type-rpc-call": "RPC-kald", "action-type-alarm-ack": "Alarm kvitteret", "action-type-alarm-clear": "Alarm ryddet", "action-type-alarm-assigned": "Alarm tildelt", - "action-type-alarm-unassigned": "Alarm ikke tildelt", - "action-type-assigned-to-edge": "Tildelt edge", - "action-type-unassigned-from-edge": "Fjernet fra edge", + "action-type-alarm-unassigned": "Alarmtildeling fjernet", + "action-type-assigned-to-edge": "Tildelt Edge", + "action-type-unassigned-from-edge": "Tildeling fjernet fra Edge", "action-type-credentials-request": "Legitimationsanmodning", - "action-type-entity-merge-request": "Fletningsanmodning for enhed", - "action-type-added-to-entity-group": "Tilføjet til enhedsgruppe", - "action-type-removed-from-entity-group": "Fjernet fra enhedsgruppe", + "action-type-entity-merge-request": "Fletningsanmodning for entitet", + "action-type-added-to-entity-group": "Tilføjet til entitetsgruppe", + "action-type-removed-from-entity-group": "Fjernet fra entitetsgruppe", "action-type-change-owner": "Skift ejer", "connected": "Forbundet", "disconnected": "Afbrudt" }, "error": { + "data-export-failed": "Eksport af data mislykkedes: udrulningstilstanden kunne ikke bestemmes. Prøv igen.", "unable-to-connect": "Kan ikke oprette forbindelse til serveren! Kontrollér din internetforbindelse.", "unhandled-error-code": "Ubehandlet fejlkode: {{errorCode}}", "unknown-error": "Ukendt fejl" }, "entity": { - "entity": "Enhed", - "entities": "Enheder", - "entities-count": "Antal enheder", + "entity": "Entitet", + "entities": "Entiteter", + "devices-and-assets": "Enheder og aktiver", + "data-processing": "Databehandling", + "entities-count": "Antal entiteter", "alarms-count": "Antal alarmer", - "aliases": "Enhedsaliasser", + "aliases": "Entitetsaliasser", "aliases-short": "Aliasser", - "entity-alias": "Enhedsalias", - "unable-delete-entity-alias-title": "Kan ikke slette enhedsalias", - "unable-delete-entity-alias-text": "Enhedsalias '{{entityAlias}}' kan ikke slettes, da det bruges af følgende widget(s):
    {{widgetsList}}", + "entity-alias": "Entitetsalias", + "unable-delete-entity-alias-title": "Kan ikke slette entitetsalias", + "unable-delete-entity-alias-text": "Entitetsalias '{{entityAlias}}' kan ikke slettes, da det bruges af følgende widget(s):
    {{widgetsList}}", "unable-delete-entity-alias-text-components": "Entitetsalias '{{entityAlias}}' kan ikke slettes, da det bruges af følgende komponent(er):
    {{widgetsList}}", - "duplicate-alias-error": "Duplikeret alias fundet '{{alias}}'.
    Enhedsaliasser skal være unikke inden for dashboardet.", + "duplicate-alias-error": "Duplikeret alias fundet '{{alias}}'.
    Entitetsaliasser skal være unikke inden for dashboardet.", "missing-entity-filter-error": "Filter mangler for alias '{{alias}}'.", - "configure-alias": "Konfigurer alias '{{alias}}'", + "configure-alias": "Konfigurér aliaset '{{alias}}'", "alias": "Alias", - "alias-required": "Enhedsalias er påkrævet.", - "remove-alias": "Fjern enhedsalias", - "add-alias": "Tilføj enhedsalias", - "edit-alias": "Rediger enhed-alias", - "entity-list": "Liste over enheder", - "entity-type": "Enhedstype", - "entity-types": "Enhedstyper", - "entity-type-list": "Liste over enhedstyper", - "any-entity": "Enhver enhed", - "add-entity-type": "Tilføj enhedstype", - "enter-entity-type": "Indtast enhedstype", - "no-entities-matching": "Ingen enheder matcher '{{entity}}'.", - "no-entities-text": "Ingen enheder fundet", - "no-entity-types-matching": "Ingen enhedstyper matcher '{{entityType}}'.", + "alias-required": "Entitetsalias er påkrævet.", + "remove-alias": "Fjern entitetsalias", + "add-alias": "Tilføj entitetsalias", + "edit-alias": "Redigér entitetsalias", + "entity-list": "Entitetsliste", + "entity-type": "Entitetstype", + "entity-types": "Entitetstyper", + "entity-type-list": "Liste over entitetstyper", + "any-entity": "Enhver entitet", + "add-entity-type": "Tilføj entitetstype", + "enter-entity-type": "Indtast entitetstype", + "no-entities-matching": "Ingen entiteter matcher '{{entity}}'.", + "no-entities-text": "Ingen entiteter fundet", + "no-entity-types-matching": "Ingen entitetstyper matcher '{{entityType}}'.", "name-starts-with": "Navneudtryk", "help-text": "Brug '%' efter behov: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with%'.", "use-entity-name-filter": "Brug filter", - "entity-list-empty": "Ingen enheder valgt.", - "entity-type-list-required": "Mindst én enhedstype skal vælges.", - "entity-name-filter-required": "Filter for enhedsnavn er påkrævet.", - "entity-name-filter-no-entity-matched": "Ingen enheder, der starter med '{{entity}}', blev fundet.", + "entity-list-empty": "Ingen entiteter valgt.", + "entity-type-list-required": "Mindst én entitetstype skal vælges.", + "entity-name-filter-required": "Filter for entitetsnavn er påkrævet.", + "entity-name-filter-no-entity-matched": "Ingen entiteter, der starter med '{{entity}}', blev fundet.", "all-subtypes": "Alle", - "select-entities": "Vælg enheder", + "select-entities": "Vælg entiteter", "no-aliases-found": "Ingen aliasser fundet.", "no-alias-matching": "'{{alias}}' ikke fundet.", "create-new-alias": "Opret en ny!", @@ -3597,7 +4375,7 @@ "no-key-matching": "'{{key}}' ikke fundet.", "create-new-key": "Opret en ny!", "type": "Type", - "type-required": "Enhedstype er påkrævet.", + "type-required": "Entitetstype er påkrævet.", "type-device": "Enhed", "type-devices": "Enheder", "list-of-devices": "{ count, plural, =1 {Én enhed} other {Liste over # enheder} }", @@ -3613,19 +4391,19 @@ "asset-profile-name-starts-with": "Aktivprofiler, hvis navne starter med '{{prefix}}'", "type-asset": "Aktiv", "type-assets": "Aktiver", - "list-of-assets": "{ count, plural, =1 {Én aktiv} other {Liste over # aktiver} }", + "list-of-assets": "{ count, plural, =1 {Ét aktiv} other {Liste over # aktiver} }", "asset-name-starts-with": "Aktiver, hvis navne starter med '{{prefix}}'", - "type-entity-view": "Enhedsvisning", - "type-entity-views": "Enhedsvisninger", - "list-of-entity-views": "{ count, plural, =1 {Én enhedsvisning} other {Liste over # enhedsvisninger} }", - "entity-view-name-starts-with": "Enhedsvisninger, hvis navne starter med '{{prefix}}'", + "type-entity-view": "Entitetsvisning", + "type-entity-views": "Entitetsvisninger", + "list-of-entity-views": "{ count, plural, =1 {Én entitetsvisning} other {Liste over # entitetsvisninger} }", + "entity-view-name-starts-with": "Entitetsvisninger, hvis navne starter med '{{prefix}}'", "type-rule": "Regel", "type-rules": "Regler", "list-of-rules": "{ count, plural, =1 {Én regel} other {Liste over # regler} }", "rule-name-starts-with": "Regler, hvis navne starter med '{{prefix}}'", "type-plugin": "Plugin", "type-plugins": "Plugins", - "list-of-plugins": "{ count, plural, =1 {Én plugin} other {Liste over # plugins} }", + "list-of-plugins": "{ count, plural, =1 {Ét plugin} other {Liste over # plugins} }", "plugin-name-starts-with": "Plugins, hvis navne starter med '{{prefix}}'", "type-tenant": "Lejer", "type-tenants": "Lejere", @@ -3645,7 +4423,7 @@ "user-name-starts-with": "Brugere, hvis navne starter med '{{prefix}}'", "type-dashboard": "Dashboard", "type-dashboards": "Dashboards", - "list-of-dashboards": "{ count, plural, =1 {Én dashboard} other {Liste over # dashboards} }", + "list-of-dashboards": "{ count, plural, =1 {Ét dashboard} other {Liste over # dashboards} }", "dashboard-name-starts-with": "Dashboards, hvis navne starter med '{{prefix}}'", "type-alarm": "Alarm", "type-alarms": "Alarmer", @@ -3655,14 +4433,14 @@ "type-rulechains": "Regelkæder", "list-of-rulechains": "{ count, plural, =1 {Én regelkæde} other {Liste over # regelkæder} }", "rulechain-name-starts-with": "Regelkæder, hvis navne starter med '{{prefix}}'", - "type-scheduler-event": "Planlagt hændelse", - "type-scheduler-events": "Planlagte hændelser", - "list-of-scheduler-events": "{ count, plural, =1 {Én planlagt hændelse} other {Liste over # planlagte hændelser} }", - "scheduler-event-name-starts-with": "Planlagte hændelser, hvis navne starter med '{{prefix}}'", - "type-blob-entity": "Blob enhed", - "type-blob-entities": "Blob enheder", - "list-of-blob-entities": "{ count, plural, =1 {Én blob enhed} other {Liste over # blob enheder} }", - "blob-entity-name-starts-with": "Blob enheder, hvis navne starter med '{{prefix}}'", + "type-scheduler-event": "Planlæggerhændelse", + "type-scheduler-events": "Planlæggerhændelser", + "list-of-scheduler-events": "{ count, plural, =1 {Én planlæggerhændelse} other {Liste over # planlæggerhændelser} }", + "scheduler-event-name-starts-with": "Planlæggerhændelser, hvis navne starter med '{{prefix}}'", + "type-blob-entity": "Blob-entitet", + "type-blob-entities": "Blob-entiteter", + "list-of-blob-entities": "{ count, plural, =1 {Én blob-entitet} other {Liste over # blob-entiteter} }", + "blob-entity-name-starts-with": "Blob-entiteter, hvis navne starter med '{{prefix}}'", "type-report-template": "Rapportskabelon", "type-report-templates": "Rapportskabeloner", "list-of-report-templates": "{ count, plural, =1 {Én rapportskabelon} other {Liste med # rapportskabeloner} }", @@ -3680,9 +4458,9 @@ "type-current-customer": "Aktuel kunde", "type-current-tenant": "Aktuel lejer", "type-current-user": "Aktuel bruger", - "type-current-user-owner": "Aktuel bruger-ejer", + "type-current-user-owner": "Ejer af aktuel bruger", "type-calculated-field": "Beregnet felt", - "type-calculated-fields": "Beregnet felter", + "type-calculated-fields": "Beregnede felter", "type-admin-settings": "Administratorindstillinger", "type-ai-model": "AI-model", "type-ai-models": "AI-modeller", @@ -3692,17 +4470,18 @@ "type-widget": "Widget", "type-widgets": "Widgets", "list-of-widgets": "{ count, plural, =1 {Én widget} other {Liste over # widgets} }", - "search": "Søg i enheder", - "selected-entities": "{ count, plural, =1 {1 enhed} other {# enheder} } valgt", - "entity-name": "Enhedsnavn", - "entity-label": "Enhedsetiket", - "details": "Enhedsdetaljer", - "no-entities-prompt": "Ingen enheder fundet", + "search": "Søg i entiteter", + "selected-entities": "{ count, plural, =1 {1 entitet} other {# entiteter} } valgt", + "entity-name": "Entitetsnavn", + "entity-label": "Entitetsetiket", + "details": "Entitetsdetaljer", + "no-entities-prompt": "Ingen entiteter fundet", "no-data": "Ingen data at vise", "show-all-columns": "Vis alle", "columns-to-display": "Kolonner at vise", "type-api-usage-state": "API-brugsstatus", - "type-entity-group": "Enhedsgruppe", + "type-entity-group": "Entitetsgruppe", + "type-entity-groups": "Entitetsgrupper", "type-converter": "Datakonverter", "type-converters": "Datakonvertere", "list-of-converters": "{ count, plural, =1 {Én datakonverter} other {Liste over # datakonvertere} }", @@ -3715,11 +4494,33 @@ "type-roles": "Roller", "list-of-roles": "{ count, plural, =1 {Én rolle} other {Liste over # roller} }", "role-name-starts-with": "Roller, hvis navne starter med '{{prefix}}'", - "type-group-permission": "Gruppeadgang", + "type-group-permission": "Gruppetilladelse", "type-edge": "Edge", "type-edges": "Edges", - "list-of-edges": "{ count, plural, =1 {Én edge} other {Liste over # edges} }", + "list-of-edges": "{ count, plural, =1 {Én Edge} other {Liste over # Edges} }", "edge-name-starts-with": "Edges, hvis navne starter med '{{prefix}}'", + "type-agent": "Agent", + "type-agents": "Agents", + "list-of-agents": "{count, plural, =1 {1 Agent} other {Liste over # Agents} }", + "agent-name-starts-with": "Agents, hvis navne starter med '{{prefix}}'", + "type-agent-profile": "Agent-profil", + "type-agent-profiles": "Agent-profiler", + "list-of-agent-profiles": "{count, plural, =1 {1 Agent-profil} other {Liste over # Agent-profiler} }", + "agent-profile-name-starts-with": "Agent-profiler, hvis navne starter med '{{prefix}}'", + "type-agent-application": "Applikation", + "type-agent-applications": "Applikationer", + "list-of-agent-applications": "{count, plural, =1 {1 applikation} other {Liste over # applikationer} }", + "agent-application-name-starts-with": "Applikationer, hvis navne starter med '{{prefix}}'", + "type-agent-app-profile": "Applikationsprofil", + "type-agent-app-profiles": "Applikationsprofiler", + "list-of-agent-app-profiles": "{ count, plural, =1 {1 applikationsprofil} other {Liste over # applikationsprofiler} }", + "agent-app-profile-name-starts-with": "Applikationsprofiler, hvis navne starter med '{{prefix}}'", + "type-agent-app-event": "Agent-applikationshændelse", + "type-agent-app-events": "Agent-applikationshændelser", + "type-agent-app-unit": "Agent-applikationskomponent", + "type-agent-app-units": "Agent-applikationskomponenter", + "type-agent-bulk-action": "Massehandling", + "type-agent-bulk-actions": "Massehandlinger", "version-conflict": { "message": "Vil du overskrive eksisterende version eller kassere ændringer og indlæse den nyeste version?", "link": "Du kan downloade din version af {{entityType}} ved hjælp af dette", @@ -3755,12 +4556,12 @@ "sub-customer-name": "Underkundens navn", "parent-customer-name": "Overordnet kundes navn", "parent-sub-customer-name": "Overordnet underkundes navn", - "include-customer-entities": "Inkluder kundens enheder", - "include-sub-customer-entities": "Inkluder underkundens enheder", + "include-customer-entities": "Inkludér kundens entiteter", + "include-sub-customer-entities": "Inkludér underkundens entiteter", "groups": "Grupper", - "type-oauth2-client": "OAuth 2.0 klient", - "type-oauth2-clients": "OAuth 2.0 klienter", - "list-of-oauth2-clients": "{ count, plural, =1 {Én OAuth 2.0 klient} other {Liste over # OAuth 2.0 klienter} }", + "type-oauth2-client": "OAuth 2.0-klient", + "type-oauth2-clients": "OAuth 2.0-klienter", + "list-of-oauth2-clients": "{ count, plural, =1 {Én OAuth 2.0-klient} other {Liste over # OAuth 2.0-klienter} }", "type-domain": "Domæne", "type-domains": "Domæner", "list-of-domains": "{ count, plural, =1 {Ét domæne} other {Liste over # domæner} }", @@ -3781,41 +4582,41 @@ "increase-limit-request-sent-text": "Giv dem venligst lidt tid til at gennemgå anmodningen og opdatere indstillingerne. Du skal muligvis genindlæse denne side for at se ændringerne." }, "entity-group": { - "entity-group": "Enhedsgruppe", + "entity-group": "Entitetsgruppe", "details": "Detaljer", "columns": "Kolonner", "add-column": "Tilføj kolonne", "column-value": "Værdi", "column-value-required": "Kolonneværdi er påkrævet.", "column-title": "Titel", - "default-sort-order": "Standard sorteringsrækkefølge", - "default-sort-order-required": "Standard sorteringsrækkefølge er påkrævet.", - "disable-sorting": "Deaktiver sortering", + "default-sort-order": "Standardsorteringsrækkefølge", + "default-sort-order-required": "Standardsorteringsrækkefølge er påkrævet.", + "disable-sorting": "Deaktivér sortering", "hide-in-mobile-view": "Skjul på mobilvisning", - "use-cell-style-function": "Brug celle-stilfunktion", - "use-cell-content-function": "Brug celle-indholdsfunktion", - "edit-column": "Rediger kolonne", + "use-cell-style-function": "Brug cellestilfunktion", + "use-cell-content-function": "Brug celleindholdsfunktion", + "edit-column": "Redigér kolonne", "column-details": "Kolonnedetaljer", "actions": "Handlinger", "settings": "Indstillinger", - "search": "Søg i enhedsgrupper", - "delete": "Slet enhedsgruppe", + "search": "Søg i entitetsgrupper", + "delete": "Slet entitetsgruppe", "name": "Navn", "name-required": "Navn er påkrævet.", - "name-max-length": "Navn må være mindre end 256 tegn", + "name-max-length": "Navnet skal være mindre end 256 tegn", "description": "Beskrivelse", - "add": "Tilføj enhedsgruppe", - "open-entity-group": "Åbn enhedsgruppe", - "add-entity-group-text": "Tilføj ny enhedsgruppe", - "no-entity-groups-text": "Ingen enhedsgrupper fundet", - "entity-group-details": "Enhedsgruppe detaljer", - "selected-entity-groups": "{ count, plural, =1 {1 enhedsgruppe} other {# enhedsgrupper} } valgt", - "delete-entity-groups": "Slet enhedsgrupper", - "delete-entity-group-title": "Er du sikker på, at du vil slette enhedsgruppen '{{entityGroupName}}'?", - "delete-entity-group-text": "Vær forsigtig, efter bekræftelsen vil enhedsgruppen og alle relaterede data ikke kunne gendannes.", - "delete-entity-groups-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 enhedsgruppe} other {# enhedsgrupper} }?", - "delete-entity-groups-action-title": "Slet { count, plural, =1 {1 enhedsgruppe} other {# enhedsgrupper} }", - "delete-entity-groups-text": "Vær forsigtig, efter bekræftelsen vil alle valgte enhedsgrupper og alle relaterede data ikke kunne gendannes.", + "add": "Tilføj entitetsgruppe", + "open-entity-group": "Åbn entitetsgruppe", + "add-entity-group-text": "Tilføj ny entitetsgruppe", + "no-entity-groups-text": "Ingen entitetsgrupper fundet", + "entity-group-details": "Entitetsgruppedetaljer", + "selected-entity-groups": "{ count, plural, =1 {1 entitetsgruppe} other {# entitetsgrupper} } valgt", + "delete-entity-groups": "Slet entitetsgrupper", + "delete-entity-group-title": "Er du sikker på, at du vil slette entitetsgruppen '{{entityGroupName}}'?", + "delete-entity-group-text": "Vær forsigtig, efter bekræftelsen vil entitetsgruppen og alle relaterede data ikke kunne gendannes.", + "delete-entity-groups-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 entitetsgruppe} other {# entitetsgrupper} }?", + "delete-entity-groups-action-title": "Slet { count, plural, =1 {1 entitetsgruppe} other {# entitetsgrupper} }", + "delete-entity-groups-text": "Vær forsigtig, efter bekræftelsen vil alle valgte entitetsgrupper og alle relaterede data ikke kunne gendannes.", "device-groups": "Enhedsgrupper", "shared-device-groups": "Delte enhedsgrupper", "asset-groups": "Aktivgrupper", @@ -3827,15 +4628,18 @@ "user-group": "Brugergruppe", "user-groups": "Brugergrupper", "customer-group": "Kundegruppe", - "entity-view-groups": "Visningsgrupper for enheder", - "shared-entity-view-groups": "Delte visningsgrupper for enheder", - "entity-view-group": "Visningsgruppe for enheder", + "entity-view-groups": "Entitetsvisningsgrupper", + "shared-entity-view-groups": "Delte entitetsvisningsgrupper", + "entity-view-group": "Entitetsvisningsgruppe", "edge-groups": "Edge-grupper", "shared-edge-groups": "Delte Edge-grupper", "edge-group": "Edge-gruppe", "dashboard-groups": "Dashboard-grupper", "shared-dashboard-groups": "Delte dashboard-grupper", "dashboard-group": "Dashboard-gruppe", + "agent-groups": "Agent-grupper", + "shared-agent-groups": "Delte Agent-grupper", + "agent-group": "Agent-gruppe", "fetch-more": "Hent mere", "column-type": { "column-type": "Kolonnetype", @@ -3843,7 +4647,7 @@ "shared-attribute": "Delt attribut", "server-attribute": "Serverattribut", "timeseries": "Tidsserie", - "entity-field": "Enhedsfelt" + "entity-field": "Entitetsfelt" }, "column-type-required": "Kolonnetype er påkrævet.", "entity-field": { @@ -3853,10 +4657,10 @@ "device_profile": "Enhedsprofil", "asset_profile": "Aktivprofil", "assigned_customer": "Tildelt kunde", - "authority": "Myndighed", + "authority": "Rettighedsniveau", "first_name": "Fornavn", "last_name": "Efternavn", - "email": "Email", + "email": "E-mail", "title": "Titel", "country": "Land", "state": "Stat", @@ -3874,75 +4678,75 @@ }, "details-mode": { "on-row-click": "Ved klik på række", - "on-action-button-click": "Ved klik på detaljer-knap", + "on-action-button-click": "Ved klik på detaljeknappen", "disabled": "Deaktiveret" }, "change-owner": "Skift ejer", - "select-target-owner": "Vælg mål-ejer", + "select-target-owner": "Vælg målejer", "no-owners-matching": "Ingen ejere matcher '{{owner}}'.", "no-owners-text": "Ingen ejere fundet", - "target-owner-required": "Mål-ejer er påkrævet.", - "confirm-change-owner-title": "Er du sikker på, at du vil skifte ejer for { count, plural, =1 {1 valgt enhed} other {# valgte enheder} }?", - "confirm-change-owner-text": "Vær forsigtig, efter bekræftelsen vil alle valgte enheder blive fjernet fra den nuværende ejer og placeres i gruppen 'Alle' hos mål-ejeren.", + "target-owner-required": "Målejer er påkrævet.", + "confirm-change-owner-title": "Er du sikker på, at du vil skifte ejer for { count, plural, =1 {1 valgt entitet} other {# valgte entiteter} }?", + "confirm-change-owner-text": "Vær forsigtig, efter bekræftelsen vil alle valgte entiteter blive fjernet fra den nuværende ejer og placeres i gruppen 'Alle' hos den nye ejer.", "add-to-group": "Tilføj til gruppe", "move-to-group": "Flyt til gruppe", - "select-entity-group": "Vælg enhedsgruppe", - "no-entity-groups-matching": "Ingen enhedsgrupper matcher '{{entityGroup}}'.", + "select-entity-group": "Vælg entitetsgruppe", + "no-entity-groups-matching": "Ingen entitetsgrupper matcher '{{entityGroup}}'.", "create-new-entity-group": "Opret en ny!", - "target-entity-group-required": "Mål-enhedsgruppe er påkrævet.", + "target-entity-group-required": "Målentitetsgruppe er påkrævet.", "select-user-group": "Vælg brugergruppe", "no-user-groups-matching": "Ingen brugergrupper matcher '{{entityGroup}}'.", - "target-user-group-required": "Mål-brugergruppe er påkrævet.", + "target-user-group-required": "Målbrugergruppe er påkrævet.", "remove-from-group": "Fjern fra gruppe", - "group-table-title": "Gruppebordstitel", - "enable-search": "Aktiver søgning blandt enheder", - "enable-add": "Aktiver tilføjelse af enheder", - "enable-delete": "Aktiver sletning af enheder", - "enable-selection": "Aktiver valg af enheder", - "enable-group-transfer": "Aktiver overførselsfunktioner for grupper", - "display-pagination": "Vis sideskift", - "default-page-size": "Standard sideantal", + "group-table-title": "Titel på gruppetabel", + "enable-search": "Aktivér søgning blandt entiteter", + "enable-add": "Aktivér tilføjelse af entiteter", + "enable-delete": "Aktivér sletning af entiteter", + "enable-selection": "Aktivér valg af entiteter", + "enable-group-transfer": "Aktivér overførselsfunktioner for grupper", + "display-pagination": "Vis sideinddeling", + "default-page-size": "Standardsidestørrelse", "page-step-count": "Antal trin", - "page-step-increment": "Trinfremgang", - "page-step-count-format-message": "Skal være en heltalsværdi i området fra 1 til 100.", + "page-step-increment": "Trinstørrelse for sidestørrelse", + "page-step-count-format-message": "Skal være en heltalsværdi mellem 1 og 100.", "page-step-increment-format-message": "Skal være en heltalsværdi, større end eller lig med 1.", - "enable-assignment-actions": "Aktiver tildelingshandlinger", - "enable-credentials-management": "Aktiver styring af legitimationsoplysninger", - "enable-login-as-user": "Aktiver log ind som bruger", - "enable-users-management": "Aktiver styring af brugere", - "enable-customers-management": "Aktiver styring af kunder", - "enable-assets-management": "Aktiver styring af aktiver", - "enable-devices-management": "Aktiver styring af enheder", - "enable-entity-views-management": "Aktiver styring af enhedsvisninger", - "enable-edges-management": "Aktiver styring af edge-enheder", - "enable-dashboards-management": "Aktiver styring af dashboards", - "enable-scheduler-events-management": "Aktiver styring af planlagte hændelser", - "open-details-on": "Åbn enhedsdetaljer ved", - "select-existing": "Vælg eksisterende enhedsgruppe", - "create-new": "Opret ny enhedsgruppe", - "new-entity-group-name": "Navn på ny enhedsgruppe", - "entity-group-list": "Liste over enhedsgrupper", - "entity-group-list-empty": "Ingen enhedsgrupper valgt.", - "name-starts-with": "Enhedsgruppenavn starter med", - "entity-group-name-filter-required": "Filtrering på enhedsgruppenavn er påkrævet.", + "enable-assignment-actions": "Aktivér tildelingshandlinger", + "enable-credentials-management": "Aktivér styring af legitimationsoplysninger", + "enable-login-as-user": "Aktivér handlingen \"Log ind som bruger\"", + "enable-users-management": "Aktivér styring af brugere", + "enable-customers-management": "Aktivér styring af kunder", + "enable-assets-management": "Aktivér styring af aktiver", + "enable-devices-management": "Aktivér styring af enheder", + "enable-entity-views-management": "Aktivér styring af entitetsvisninger", + "enable-edges-management": "Aktivér styring af Edge-instanser", + "enable-dashboards-management": "Aktivér styring af dashboards", + "enable-scheduler-events-management": "Aktivér styring af planlæggerhændelser", + "open-details-on": "Åbn entitetsdetaljer ved", + "select-existing": "Vælg eksisterende entitetsgruppe", + "create-new": "Opret ny entitetsgruppe", + "new-entity-group-name": "Navn på ny entitetsgruppe", + "entity-group-list": "Liste over entitetsgrupper", + "entity-group-list-empty": "Ingen entitetsgrupper valgt.", + "name-starts-with": "Entitetsgruppenavn starter med", + "entity-group-name-filter-required": "Filtrering på entitetsgruppenavn er påkrævet.", "roles": "Roller", "permissions": "Tilladelser", "public": "Offentlig", - "entity-group-public": "Enhedsgruppen er offentlig", - "make-public": "Gør enhedsgruppe offentlig", - "make-private": "Gør enhedsgruppe privat", - "make-public-entity-group-title": "Er du sikker på, at du vil gøre enhedsgruppen '{{entityGroupName}}' offentlig?", - "make-public-entity-group-text": "Efter bekræftelsen vil enhedsgruppen og alle dens enheder blive gjort offentlige og tilgængelige for andre.", - "make-private-entity-group-title": "Er du sikker på, at du vil gøre enhedsgruppen '{{entityGroupName}}' privat?", - "make-private-entity-group-text": "Efter bekræftelsen vil enhedsgruppen og alle dens enheder blive gjort private og ikke være tilgængelige for andre.", - "share": "Del enhedsgruppe", - "copyId": "Kopiér enhedsgruppe Id", - "idCopiedMessage": "Enhedsgruppe Id er blevet kopieret til udklipsholderen", - "entity-group-name": "Enhedsgruppenavn", + "entity-group-public": "Entitetsgruppen er offentlig", + "make-public": "Gør entitetsgruppe offentlig", + "make-private": "Gør entitetsgruppe privat", + "make-public-entity-group-title": "Er du sikker på, at du vil gøre entitetsgruppen '{{entityGroupName}}' offentlig?", + "make-public-entity-group-text": "Efter bekræftelsen vil entitetsgruppen og alle dens entiteter blive gjort offentlige og tilgængelige for andre.", + "make-private-entity-group-title": "Er du sikker på, at du vil gøre entitetsgruppen '{{entityGroupName}}' privat?", + "make-private-entity-group-text": "Efter bekræftelsen vil entitetsgruppen og alle dens entiteter blive gjort private og ikke være tilgængelige for andre.", + "share": "Del entitetsgruppe", + "copyId": "Kopiér entitetsgruppe-ID", + "idCopiedMessage": "Entitetsgruppe-ID er blevet kopieret til udklipsholderen", + "entity-group-name": "Navn på entitetsgruppe", "all-users": "Alle brugere", "owner": "Ejer", "owner-required": "Ejer er påkrævet.", - "manage-owner-and-groups": "Administrer ejer og grupper", + "manage-owner-and-groups": "Administrér ejer og grupper", "owner-and-groups": "Ejer og grupper" }, "entity-field": { @@ -3952,7 +4756,7 @@ "type": "Type", "first-name": "Fornavn", "last-name": "Efternavn", - "email": "Email", + "email": "E-mail", "title": "Titel", "country": "Land", "state": "Stat / Region", @@ -3964,8 +4768,8 @@ "label": "Etiket", "configuration": "Konfiguration", "schedule": "Tidsplan", - "originatorId": "Ophavsmand Id", - "originatorType": "Ophavstype", + "originatorId": "Afsender-ID", + "originatorType": "Afsendertype", "queue-name": "Kønavn", "service-id": "Service Id", "owner-name": "Ejerens navn", @@ -3991,14 +4795,14 @@ "create-new-alias": "Opret en ny!", "create-new-key": "Opret en ny!", "duplicate-alias-error": "Duplikeret alias fundet '{{alias}}'.
    Entitetsvisningsaliasser skal være unikke i dashboardet.", - "configure-alias": "Konfigurer aliaset '{{alias}}'", + "configure-alias": "Konfigurér aliaset '{{alias}}'", "no-entity-views-matching": "Ingen entitetsvisninger matchede '{{entity}}'.", "public": "Offentlig", "alias": "Alias", "alias-required": "Alias for entitetsvisning er påkrævet.", "remove-alias": "Fjern entitetsvisningsalias", "add-alias": "Tilføj entitetsvisningsalias", - "name-starts-with": "Entitetsvisningsnavn udtryk", + "name-starts-with": "Udtryk for entitetsvisningsnavn", "help-text": "Brug '%' efter behov: '%entity-view_name_contains%', '%entity-view_name_ends', 'entity-view_starts_with%'.", "entity-view-list": "Entitetsvisningsliste", "use-entity-view-name-filter": "Brug filter", @@ -4020,8 +4824,8 @@ "delete-entity-views": "Slet entitetsvisninger", "make-public": "Gør entitetsvisning offentlig", "make-private": "Gør entitetsvisning privat", - "unassign-from-customer": "Fjern fra kunde", - "unassign-entity-views": "Fjern entitetsvisninger", + "unassign-from-customer": "Fjern tildeling fra kunde", + "unassign-entity-views": "Fjern tildeling af entitetsvisninger", "unassign-entity-views-action-title": "Fjern { count, plural, =1 {1 entitetsvisning} other {# entitetsvisninger} } fra kunde", "assign-new-entity-view": "Tildel ny entitetsvisning", "delete-entity-view-title": "Er du sikker på, at du vil slette entitetsvisningen '{{entityViewName}}'?", @@ -4034,10 +4838,10 @@ "make-private-entity-view-title": "Er du sikker på, at du vil gøre entitetsvisningen '{{entityViewName}}' privat?", "make-private-entity-view-text": "Efter bekræftelse vil entitetsvisningen og alle dens data være private og ikke være tilgængelige for andre.", "unassign-entity-view-title": "Er du sikker på, at du vil fjerne tildelingen af entitetsvisningen '{{entityViewName}}'?", - "unassign-entity-view-text": "Efter bekræftelse vil entitetsvisningen blive fjernet og ikke være tilgængelig for kunden.", - "unassign-entity-view": "Fjern entitetsvisning", - "unassign-entity-views-title": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 entitetsvisning} other {# entitetsvisninger} }?", - "unassign-entity-views-text": "Efter bekræftelse vil alle valgte entitetsvisninger blive fjernet og ikke være tilgængelige for kunden.", + "unassign-entity-view-text": "Efter bekræftelse vil tildelingen af entitetsvisningen blive fjernet, og den vil ikke være tilgængelig for kunden.", + "unassign-entity-view": "Fjern tildeling af entitetsvisning", + "unassign-entity-views-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 entitetsvisning} other {# entitetsvisninger} }?", + "unassign-entity-views-text": "Efter bekræftelse vil tildelingen af alle valgte entitetsvisninger blive fjernet, og de vil ikke være tilgængelige for kunden.", "entity-view-type": "Entitetsvisningstype", "entity-view-type-required": "Entitetsvisningstype er påkrævet.", "select-entity-view-type": "Vælg entitetsvisningstype", @@ -4049,7 +4853,7 @@ "created-time": "Oprettelsestidspunkt", "name": "Navn", "name-required": "Navn er påkrævet.", - "name-max-length": "Navn skal være mindre end 256 tegn", + "name-max-length": "Navnet skal være mindre end 256 tegn", "type-max-length": "Entitetsvisningstype skal være mindre end 256 tegn", "description": "Beskrivelse", "events": "Hændelser", @@ -4071,13 +4875,13 @@ "shared-attributes-placeholder": "Delte attributter", "server-attributes-placeholder": "Serverattributter", "timeseries-placeholder": "Tidsserier", - "target-entity": "Målenhed", - "attributes-propagation": "Attributter propagation", - "attributes-propagation-hint": "Entitetsvisningen kopierer automatisk de specificerede attributter fra målenheden, hver gang du gemmer eller opdaterer denne entitetsvisning. Af hensyn til ydeevnen bliver attributterne ikke automatisk overført ved hver ændring. Du kan aktivere automatisk overførsel ved at konfigurere \"copy to view\" regelnode i din regelkæde og forbinde \"Post attributes\" og \"Attributes Updated\" beskeder til den nye regelnode.", + "target-entity": "Målentitet", + "attributes-propagation": "Propagering af attributter", + "attributes-propagation-hint": "Entitetsvisningen kopierer automatisk de specificerede attributter fra målentiteten, hver gang du gemmer eller opdaterer denne entitetsvisning. Af hensyn til ydeevnen propageres målentitetens attributter ikke til entitetsvisningen ved hver attributændring. Du kan aktivere automatisk propagering ved at konfigurere regelnoden \"copy to view\" i din regelkæde og forbinde \"Post attributes\"- og \"Attributes Updated\"-beskeder til den nye regelnode.", "timeseries-data": "Tidsseriedata", - "timeseries-data-hint": "Konfigurer tidsserie-nøgler fra målenheden, som vil være tilgængelige i entitetsvisningen. Disse data er skrivebeskyttede.", - "select-group-to-add": "Vælg måldestination for at tilføje valgte entitetsvisninger", - "select-group-to-move": "Vælg måldestination for at flytte valgte entitetsvisninger", + "timeseries-data-hint": "Konfigurér tidsserie-nøgler fra målentiteten, som vil være tilgængelige i entitetsvisningen. Disse data er skrivebeskyttede.", + "select-group-to-add": "Vælg den gruppe, som de valgte entitetsvisninger skal tilføjes til", + "select-group-to-move": "Vælg den gruppe, som de valgte entitetsvisninger skal flyttes til", "remove-entity-views-from-group": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 entitetsvisning} other {# entitetsvisninger} } fra gruppen '{{entityGroup}}'?", "group": "Gruppe af entitetsvisninger", "list-of-groups": "{ count, plural, =1 {En entitetsvisningsgruppe} other {Liste over # entitetsvisningsgrupper} }", @@ -4087,16 +4891,16 @@ "assign-entity-view-to-edge": "Tildel entitetsvisning(er) til Edge", "assign-entity-view-to-edge-text": "Vælg de entitetsvisninger, der skal tildeles Edge", "unassign-entity-view-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af entitetsvisningen '{{entityViewName}}'?", - "unassign-entity-view-from-edge-text": "Efter bekræftelse vil entitetsvisningen blive fjernet og ikke være tilgængelig af Edge.", + "unassign-entity-view-from-edge-text": "Efter bekræftelse vil tildelingen af entitetsvisningen blive fjernet, og den vil ikke være tilgængelig for Edge.", "unassign-entity-views-from-edge-action-title": "Fjern { count, plural, =1 {1 entitetsvisning} other {# entitetsvisninger} } fra Edge", - "unassign-entity-view-from-edge": "Fjern entitetsvisning", - "unassign-entity-views-from-edge-title": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 entitetsvisning} other {# entitetsvisninger} }?", - "unassign-entity-views-from-edge-text": "Efter bekræftelse vil alle valgte entitetsvisninger blive fjernet og ikke være tilgængelige af Edge." + "unassign-entity-view-from-edge": "Fjern tildeling af entitetsvisning", + "unassign-entity-views-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 entitetsvisning} other {# entitetsvisninger} }?", + "unassign-entity-views-from-edge-text": "Efter bekræftelse vil tildelingen af alle valgte entitetsvisninger blive fjernet, og de vil ikke være tilgængelige for Edge." }, "event": { "events": "Hændelser", "event-type": "Hændelsestype", - "events-filter": "Filtrer hændelser", + "events-filter": "Filtrér hændelser", "clean-events": "Ryd hændelser", "type-error": "Fejl", "type-lc-event": "Livscyklushændelse", @@ -4110,6 +4914,7 @@ "result": "Resultat", "no-events-prompt": "Ingen hændelser fundet", "error": "Fejl", + "errors": "Fejl", "alarm": "Alarm", "event-time": "Hændelsestidspunkt", "server": "Server", @@ -4120,7 +4925,7 @@ "out": "Ud", "metadata": "Metadata", "message": "Besked", - "entity": "Enhed", + "entity": "Entitet", "message-id": "Besked-id", "copy-message-id": "Kopiér besked-id", "message-type": "Beskedtype", @@ -4130,6 +4935,8 @@ "event": "Hændelse", "status": "Status", "success": "Succes", + "warning": "Advarsel", + "warnings": "Advarsler", "failed": "Mislykket", "messages-processed": "Behandlede beskeder", "max-messages-processed": "Maksimalt antal behandlede beskeder", @@ -4140,9 +4947,9 @@ "min-value": "Mindste værdi er 0.", "all-events": "Alle", "has-error": "Har fejl", - "entity-id": "Enheds-id", - "copy-entity-id": "Kopiér enheds-id", - "entity-type": "Enhedstype", + "entity-id": "Entitets-ID", + "copy-entity-id": "Kopiér entitets-ID", + "entity-type": "Entitetstype", "clear-filter": "Ryd filter", "clear-request-title": "Ryd alle hændelser", "clear-request-text": "Er du sikker på, at du vil rydde alle hændelser?", @@ -4163,43 +4970,43 @@ "unique-id-required": "Nuværende udvidelses-id findes allerede.", "delete": "Slet udvidelse", "add": "Tilføj udvidelse", - "edit": "Rediger udvidelse", + "edit": "Redigér udvidelse", "view": "Vis udvidelse", "delete-extension-title": "Er du sikker på, at du vil slette udvidelsen '{{extensionId}}'?", "delete-extension-text": "Vær forsigtig, efter bekræftelsen vil udvidelsen og alle relaterede data ikke kunne gendannes.", "delete-extensions-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 udvidelse} other {# udvidelser} }?", "delete-extensions-text": "Vær forsigtig, efter bekræftelsen vil alle valgte udvidelser blive fjernet.", - "converters": "Konvertere", - "converter-id": "Konverterings-id", + "converters": "Datakonvertere", + "converter-id": "Konverter-id", "configuration": "Konfiguration", - "converter-configurations": "Konverteringskonfigurationer", + "converter-configurations": "Konverterkonfigurationer", "token": "Sikkerhedstoken", "add-converter": "Tilføj konverter", "add-config": "Tilføj konverterkonfiguration", - "device-name-expression": "Enhedsnavn udtryk", - "device-type-expression": "Enhedstype udtryk", + "device-name-expression": "Udtryk for enhedsnavn", + "device-type-expression": "Udtryk for enhedstype", "custom": "Brugerdefineret", - "to-double": "Til dobbelt", + "to-double": "Til double", "transformer": "Transformer", - "json-required": "Transformer JSON er påkrævet.", - "json-parse": "Kan ikke fortolke transformer JSON.", + "json-required": "Transformerens JSON er påkrævet.", + "json-parse": "Kan ikke fortolke transformerens JSON.", "attributes": "Attributter", "add-attribute": "Tilføj attribut", "add-map": "Tilføj mappingelement", "timeseries": "Tidsserier", "add-timeseries": "Tilføj tidsserie", "field-required": "Felt er påkrævet", - "brokers": "Mæglere", - "add-broker": "Tilføj mægler", + "brokers": "Brokere", + "add-broker": "Tilføj broker", "host": "Vært", "port": "Port", - "port-range": "Port skal være i området fra 1 til 65535.", + "port-range": "Port skal være mellem 1 og 65535.", "ssl": "SSL", "credentials": "Legitimationsoplysninger", "username": "Brugernavn", "password": "Adgangskode", "retry-interval": "Genforsøgsinterval i millisekunder", - "sas": "Delt adgangssignatur", + "sas": "Shared Access Signature", "anonymous": "Anonym", "basic": "Basis", "pem": "PEM", @@ -4207,27 +5014,27 @@ "private-key": "Privat nøglefil *", "cert": "Certifikatfil *", "no-file": "Ingen fil valgt.", - "drop-file": "Træk en fil her eller klik for at vælge en fil til upload.", - "mapping": "Kortlægning", + "drop-file": "Slip en fil eller klik for at vælge en fil til upload.", + "mapping": "Mapping", "topic-filter": "Emnefilter", - "converter-type": "Konverteringstype", + "converter-type": "Konvertertype", "converter-json": "JSON", - "json-name-expression": "Enhedsnavn JSON-udtryk", - "topic-name-expression": "Enhedsnavn emneudtryk", - "json-type-expression": "Enhedstype JSON-udtryk", - "topic-type-expression": "Enhedstype emneudtryk", - "attribute-key-expression": "Attributnøgle udtryk", - "attr-json-key-expression": "Attributnøgle JSON-udtryk", - "attr-topic-key-expression": "Attributnøgle emneudtryk", - "request-id-expression": "Anmodnings-id udtryk", - "request-id-json-expression": "Anmodnings-id JSON-udtryk", - "request-id-topic-expression": "Anmodnings-id emneudtryk", - "response-topic-expression": "Svar emneudtryk", - "value-expression": "Værdinudtryk", + "json-name-expression": "JSON-udtryk for enhedsnavn", + "topic-name-expression": "Emneudtryk for enhedsnavn", + "json-type-expression": "JSON-udtryk for enhedstype", + "topic-type-expression": "Emneudtryk for enhedstype", + "attribute-key-expression": "Udtryk for attributnøgle", + "attr-json-key-expression": "JSON-udtryk for attributnøgle", + "attr-topic-key-expression": "Emneudtryk for attributnøgle", + "request-id-expression": "Udtryk for anmodnings-id", + "request-id-json-expression": "JSON-udtryk for anmodnings-id", + "request-id-topic-expression": "Emneudtryk for anmodnings-id", + "response-topic-expression": "Emneudtryk for svar", + "value-expression": "Værdiudtryk", "topic": "Emne", "timeout": "Timeout i millisekunder", - "converter-json-required": "Konverter JSON er påkrævet.", - "converter-json-parse": "Kan ikke fortolke konverter JSON.", + "converter-json-required": "Konverterens JSON er påkrævet.", + "converter-json-parse": "Kan ikke fortolke konverterens JSON.", "filter-expression": "Filterudtryk", "connect-requests": "Forbindelsesforespørgsler", "add-connect-request": "Tilføj forbindelsesforespørgsel", @@ -4245,14 +5052,14 @@ "request-topic-expression": "Forespørgselsemneudtryk", "response-timeout": "Svar-timeout i millisekunder", "topic-expression": "Emneudtryk", - "client-scope": "Klientområde", + "client-scope": "Klientomfang", "add-device": "Tilføj enhed", "opc-server": "Servere", "opc-add-server": "Tilføj server", "opc-add-server-prompt": "Tilføj venligst server", "opc-application-name": "Applikationsnavn", "opc-application-uri": "Applikations-URI", - "opc-scan-period-in-seconds": "Scanperiode i sekunder", + "opc-scan-period-in-seconds": "Scanningsperiode i sekunder", "opc-security": "Sikkerhed", "opc-identity": "Identitet", "opc-keystore": "Nøglelager", @@ -4261,7 +5068,7 @@ "opc-keystore-location": "Placering *", "opc-keystore-password": "Adgangskode", "opc-keystore-alias": "Alias", - "opc-keystore-key-password": "Nøgle adgangskode", + "opc-keystore-key-password": "Adgangskode til nøgle", "opc-device-node-pattern": "Enhedsnode-mønster", "opc-device-name-pattern": "Enhedsnavnmønster", "modbus-server": "Servere/slaver", @@ -4270,7 +5077,7 @@ "modbus-transport": "Transport", "modbus-tcp-reconnect": "Genopret automatisk forbindelse", "modbus-rtu-over-tcp": "RTU over TCP", - "modbus-port-name": "Seriel portnavn", + "modbus-port-name": "Navn på seriel port", "modbus-encoding": "Kodning", "modbus-parity": "Paritet", "modbus-baudrate": "Baudhastighed", @@ -4278,8 +5085,8 @@ "modbus-stopbits": "Stopbits", "modbus-databits-range": "Databits skal være i området fra 7 til 8.", "modbus-stopbits-range": "Stopbits skal være i området fra 1 til 2.", - "modbus-unit-id": "Enheds-ID", - "modbus-unit-id-range": "Enheds-ID skal være i området fra 1 til 247.", + "modbus-unit-id": "Unit-ID", + "modbus-unit-id-range": "Unit-ID skal være i området fra 1 til 247.", "modbus-device-name": "Enhedsnavn", "modbus-poll-period": "Afspørgningsperiode (ms)", "modbus-attributes-poll-period": "Attributafspørgningsperiode (ms)", @@ -4296,7 +5103,7 @@ "modbus-byte-order": "Byte-rækkefølge", "sync": { "status": "Status", - "sync": "Synkroniser", + "sync": "Synkroniseret", "not-sync": "Ikke synkroniseret", "last-sync-time": "Sidste synkroniseringstidspunkt", "not-available": "Ikke tilgængelig" @@ -4318,7 +5125,7 @@ }, "filter": { "add": "Tilføj filter", - "edit": "Rediger filter", + "edit": "Redigér filter", "name": "Filternavn", "name-required": "Filternavn er påkrævet.", "duplicate-filter": "Et filter med samme navn findes allerede.", @@ -4365,16 +5172,17 @@ "add-complex-filter": "Tilføj komplekst filter", "add-complex": "Tilføj kompleks", "complex-filter": "Komplekst filter", - "edit-complex-filter": "Rediger komplekst filter", - "edit-filter-user-params": "Rediger brugerparametre for filterbetingelse", + "edit-complex-filter": "Redigér komplekst filter", + "edit-filter-user-params": "Redigér brugerparametre for filterbetingelse", "filter-user-params": "Filterbetingelsens brugerparametre", "user-parameters": "Brugerparametre", "display-label": "Etiket der vises", "custom-label": "Brugerdefineret etiket", "custom-label-hint": "Aktivér for at angive din egen etiket for filteret. Når deaktiveret, genereres en etiket automatisk.", "order-priority": "Visningsrækkefølge", - "key-filter": "Nøgelfilter", - "key-filters": "Nøgelfiltre", + "key-filter": "Nøglefilter", + "key-filters": "Nøglefiltre", + "or-conditions-disabled": "OR-betingelser mellem nøglefiltre er deaktiveret af systemadministratoren.", "key-name": "Nøglens navn", "key-name-required": "Nøglens navn er påkrævet.", "key-type": { @@ -4400,15 +5208,15 @@ "no-key-filters": "Ingen nøglefiltre konfigureret", "add-key-filter": "Tilføj nøglefilter", "remove-key-filter": "Fjern nøglefilter", - "edit-key-filter": "Rediger nøglefilter", + "edit-key-filter": "Redigér nøglefilter", "date": "Dato", "time": "Tid", - "current-tenant": "Aktuel udlejer", + "current-tenant": "Aktuel lejer", "current-customer": "Aktuel kunde", "current-user": "Aktuel bruger", "current-device": "Aktuel enhed", "default-value": "Standardværdi", - "default-comma-separated-values": "Standardværdi med komma-adskilte værdier", + "default-comma-separated-values": "Kommaseparerede standardværdier", "dynamic-source-type": "Dynamisk kildetype", "dynamic-value": "Dynamisk værdi", "no-dynamic-value": "Ingen dynamisk værdi", @@ -4417,7 +5225,7 @@ "switch-to-default-value": "Skift til standardværdi", "inherit-owner": "Arv fra ejer", "source-attribute-not-set": "Hvis kildeattribut ikke er angivet", - "unit": "Enhed" + "unit": "Måleenhed" }, "fullscreen": { "expand": "Udvid til fuld skærm", @@ -4429,21 +5237,50 @@ "function": "Funktion" }, "gateway": { - "gateway-name": "Gateway navn", - "gateway-name-required": "Gateway navn er påkrævet.", + "gateway-name": "Gateway-navn", + "gateway-name-required": "Gateway-navn er påkrævet.", "gateways": "Gateways", "create-new-gateway": "Opret en ny gateway", "create-new-gateway-text": "Er du sikker på, at du vil oprette en ny gateway med navnet: '{{gatewayName}}'?", - "launch-command": "Start kommando", + "launch-command": "Startkommando", + "launch-choose-subtitle": "Vælg, hvordan IoT Gateway skal køres for {{name}} med legitimationsoplysningerne for den valgte enhed.", + "launch-recommended": "Anbefalet", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "Installér, opgradér, genstart og overvåg eksternt fra skyen — uden SSH eller manuelle kommandoer.", + "launch-agent-point-install": "Fjerninstallation med ét klik", + "launch-agent-point-upgrade": "Send opgraderinger ud fra skyen", + "launch-agent-point-restart": "Genstart og gendan automatisk", + "launch-agent-point-monitor": "Tilstandsovervågning i realtid", + "launch-agent-point-bulk": "Massehandlinger fra Agent-profilsiden", + "launch-agent-action": "Udrul med Agent", + "launch-docker-title": "Manuel Docker Compose", + "launch-docker-desc": "Download compose-filen, og kør den selv på målmaskinen.", + "launch-docker-point-up": "Kør docker compose up", + "launch-docker-point-control": "Fuld manuel kontrol", + "launch-docker-point-updates": "Du administrerer opdateringer", + "launch-docker-point-access": "Direkte adgang til enheden", + "launch-docker-action": "Vis instruktioner", + "launch-back": "Tilbage", "no-gateway-found": "Ingen gateway fundet.", - "no-gateway-matching": " '{{item}}' blev ikke fundet." + "no-gateway-matching": " '{{item}}' blev ikke fundet.", + "auto-provision": "Automatisk klargøring", + "add-gateway": "Tilføj gateway", + "auto-provision-title": "Automatisk klargøring af Gateway", + "auto-provision-info-title": "Sådan fungerer det", + "auto-provision-info-body": "Når en Agent-profil er oprettet, genereres en Docker run-kommando. Når kommandoen køres på en målmaskine, opretter ThingsBoard automatisk Agenten — og den Gateway-enhed, der er knyttet til den — ved hjælp af de legitimationsoplysninger, der er indlejret i kommandoen. Gatewayen konfigureres automatisk ud fra den applikationsprofil, der er tildelt Agent-profilen. Det er ikke nødvendigt at oprette en Gateway manuelt.", + "auto-provision-step-select": "Agent-profil", + "auto-provision-step-script": "Klargøringsscript", + "auto-provision-valid": "Klar til klargøring — '{{profile}}' har fået tildelt en GATEWAY-applikationsprofil.", + "auto-provision-invalid-no-edge-app-profile": "Denne profil har ikke fået tildelt en GATEWAY-applikationsprofil. Brug knappen til at tildele en.", + "auto-provision-success-message": "Agent-profilen er klar. Kør kommandoen på en vilkårlig målmaskine for at klargøre en ny Gateway.", + "auto-provision-script-hint": "Kør denne kommando på hver maskine, der skal være en Gateway. Hver kørsel klargør ét par bestående af en Agent og en Gateway." }, "grid": { "delete-item-title": "Er du sikker på, at du vil slette dette element?", - "delete-item-text": "Vær forsigtig, efter bekræftelsen vil dette element og alle relaterede data være uoprettelige.", + "delete-item-text": "Vær forsigtig: Efter bekræftelsen kan dette element og alle relaterede data ikke gendannes.", "delete-items-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 element} other {# elementer} }?", "delete-items-action-title": "Slet { count, plural, =1 {1 element} other {# elementer} }", - "delete-items-text": "Vær forsigtig, efter bekræftelsen vil alle valgte elementer blive fjernet, og alle relaterede data vil være uoprettelige.", + "delete-items-text": "Vær forsigtig: Efter bekræftelsen fjernes alle valgte elementer, og alle relaterede data kan ikke gendannes.", "add-item-text": "Tilføj nyt element", "no-items-text": "Ingen elementer fundet", "item-details": "Elementdetaljer", @@ -4461,13 +5298,17 @@ "logout": "Log ud", "menu": "Menu", "avatar": "Avatar", - "open-user-menu": "Åbn brugermenu" + "open-user-menu": "Åbn brugermenu", + "go-to": "Gå til...", + "crumbs-more": "+{{more}} flere under matchende sektioner", + "no-matches": "Ingen match" }, "file-input": { "browse-file": "Gennemse fil", "browse-files": "Gennemse filer" }, "image": { + "images": "Billeder", "gallery": "Billedgalleri", "search": "Søg billede", "selected-images": "{ count, plural, =1 {1 billede} other {# billeder} } valgt", @@ -4481,28 +5322,28 @@ "export-image": "Eksportér billede til JSON", "import-image": "Importér billede fra JSON", "upload-image": "Upload billede", - "edit-image": "Rediger billede", + "edit-image": "Redigér billede", "image-details": "Billeddetaljer", "no-images": "Ingen billeder fundet", "delete-image": "Slet billede", "delete-image-title": "Er du sikker på, at du vil slette billedet '{{imageTitle}}'?", - "delete-image-text": "Vær forsigtig, efter bekræftelsen vil billedet være uopretteligt.", + "delete-image-text": "Vær forsigtig: Efter bekræftelsen kan billedet ikke gendannes.", "delete-images-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 billede} other {# billeder} }?", - "delete-images-text": "Vær forsigtig, efter bekræftelsen vil alle valgte billeder blive fjernet, og alle relaterede data vil være uoprettelige.", + "delete-images-text": "Vær forsigtig: Efter bekræftelsen fjernes alle valgte billeder, og alle relaterede data kan ikke gendannes.", "list-mode": "Listevisning", "grid-mode": "Gittervisning", "image-preview": "Billedforhåndsvisning", - "update-image": "Opdater billede", + "update-image": "Opdatér billede", "export-failed-error": "Kan ikke eksportere billede: {{error}}", - "image-json-file": "Billede JSON-fil", + "image-json-file": "JSON-fil med billede", "invalid-image-json-file-error": "Kan ikke importere billede fra JSON: Ugyldig billed-JSON-datastruktur.", - "image-is-in-use": "Billedet bruges af andre enheder", - "images-are-in-use": "Billeder bruges af andre enheder", - "image-is-in-use-text": "Billedet '{{title}}' blev ikke slettet, fordi det bruges af følgende enheder:", - "images-are-in-use-text": "Ikke alle billeder blev slettet, fordi de bruges af andre enheder.
    Du kan se refererede enheder ved at klikke på Referencer-knappen i den tilsvarende billedrække.
    Hvis du stadig vil slette disse billeder, skal du vælge dem i tabellen nedenfor og klikke på Slet valgte-knappen.", + "image-is-in-use": "Billedet bruges af andre entiteter", + "images-are-in-use": "Billeder bruges af andre entiteter", + "image-is-in-use-text": "Billedet '{{title}}' blev ikke slettet, fordi det bruges af følgende entiteter:", + "images-are-in-use-text": "Ikke alle billeder blev slettet, fordi de bruges af andre entiteter.
    Du kan se refererede entiteter ved at klikke på Referencer-knappen i den tilsvarende billedrække.
    Hvis du stadig vil slette disse billeder, skal du vælge dem i tabellen nedenfor og klikke på Slet valgte-knappen.", "delete-image-in-use-text": "Hvis du stadig vil slette billedet, skal du klikke på Slet alligevel-knappen.", - "system-entities": "Systemenheder:", - "entities": "enheder:", + "system-entities": "Systementiteter:", + "entities": "entiteter:", "references": "Referencer", "include-system-images": "Medtag systembilleder", "clear-image": "Ryd billede", @@ -4539,10 +5380,10 @@ "column-title": "Titel", "column-example": "Eksempel på dataværdi", "column-key": "Attribut/telemetrinøgle", - "credentials": "Oplysninger", + "credentials": "Legitimationsoplysninger", "csv-delimiter": "CSV-afgrænser", "csv-first-line-header": "Første linje indeholder kolonnenavne", - "csv-update-data": "Opdater attributter/telemetri", + "csv-update-data": "Opdatér attributter/telemetri", "details": "Detaljer", "import-csv-number-columns-error": "En fil skal indeholde mindst to kolonner", "import-csv-invalid-format-error": "Ugyldigt filformat. Linje: '{{line}}'", @@ -4555,7 +5396,7 @@ "shared-attribute": "Delt attribut", "server-attribute": "Serverattribut", "timeseries": "Tidsserie", - "entity-field": "Enhedsfelt", + "entity-field": "Entitetsfelt", "access-token": "Adgangstoken", "x509": "X.509", "mqtt": { @@ -4564,23 +5405,23 @@ "password": "MQTT-adgangskode" }, "lwm2m": { - "client-endpoint": "LwM2M endpoint klientnavn", - "security-config-mode": "LwM2M sikkerhedskonfigurationstilstand", - "client-identity": "LwM2M klientidentitet", - "client-key": "LwM2M klientnøgle", - "client-cert": "LwM2M klient offentlig nøgle", - "bootstrap-server-security-mode": "LwM2M bootstrap server sikkerhedstilstand", - "bootstrap-server-secret-key": "LwM2M bootstrap server hemmelig nøgle", - "bootstrap-server-public-key-id": "LwM2M bootstrap server offentlig nøgle eller ID", - "lwm2m-server-security-mode": "LwM2M server sikkerhedstilstand", - "lwm2m-server-secret-key": "LwM2M server hemmelig nøgle", - "lwm2m-server-public-key-id": "LwM2M server offentlig nøgle eller ID" + "client-endpoint": "Klientnavn for LwM2M-endpoint", + "security-config-mode": "LwM2M-sikkerhedskonfigurationstilstand", + "client-identity": "LwM2M-klientidentitet", + "client-key": "LwM2M-klientnøgle", + "client-cert": "Offentlig nøgle for LwM2M-klient", + "bootstrap-server-security-mode": "Sikkerhedstilstand for LwM2M-bootstrapserver", + "bootstrap-server-secret-key": "Hemmelig nøgle for LwM2M-bootstrapserver", + "bootstrap-server-public-key-id": "Offentlig nøgle eller ID for LwM2M-bootstrapserver", + "lwm2m-server-security-mode": "Sikkerhedstilstand for LwM2M-server", + "lwm2m-server-secret-key": "Hemmelig nøgle for LwM2M-server", + "lwm2m-server-public-key-id": "Offentlig nøgle eller id for LwM2M-server" }, "snmp": { "host": "SNMP-vært", "port": "SNMP-port", "version": "SNMP-version (v1, v2c eller v3)", - "community-string": "SNMP community-streng" + "community-string": "SNMP-community-streng" }, "isgateway": "Er Gateway", "activity-time-from-gateway-device": "Aktivitetstid fra gateway-enhed", @@ -4594,12 +5435,12 @@ "select-file": "Vælg en fil", "configuration": "Importkonfiguration", "column-type": "Vælg kolonnernes type", - "creat-entities": "Opretter nye enheder" + "creat-entities": "Opretter nye entiteter" }, "message": { - "create-entities": "{{count}} nye enheder blev oprettet med succes.", - "update-entities": "{{count}} enheder blev opdateret med succes.", - "error-entities": "Der opstod en fejl under oprettelsen af {{count}} enheder." + "create-entities": "{{count}} nye entiteter blev oprettet med succes.", + "update-entities": "{{count}} entiteter blev opdateret med succes.", + "error-entities": "Der opstod en fejl under oprettelsen af {{count}} entiteter." } }, "integration": { @@ -4610,18 +5451,18 @@ "no-integrations-matching": "Ingen integrationer matcher '{{entity}}'.", "integration-required": "Integration er påkrævet", "delete": "Slet integration", - "management": "Integration administration", + "management": "Integrationsadministration", "add-integration-text": "Tilføj ny integration", "no-integrations-text": "Ingen integrationer fundet", "data-convertor-name": "{{convertorType}} datakonverter for {{integrationName}}", "integration-name": "{{integrationType}} integration", "selected-integrations": "{ count, plural, =1 {1 integration} other {# integrationer} } valgt", "delete-integration-title": "Er du sikker på, at du vil slette integrationen '{{integrationName}}'?", - "delete-integration-text": "Vær forsigtig, efter bekræftelse bliver integrationen og alle relaterede data uoprettelige.", + "delete-integration-text": "Vær forsigtig: Efter bekræftelsen kan integrationen og alle relaterede data ikke gendannes.", "delete-integrations-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 integration} other {# integrationer} }?", "delete-integrations-action-title": "Slet { count, plural, =1 {1 integration} other {# integrationer} }", - "delete-integrations-text": "Vær forsigtig, efter bekræftelse vil alle valgte integrationer blive fjernet og alle relaterede data bliver uoprettelige.", - "events": "Begivenheder", + "delete-integrations-text": "Vær forsigtig: Efter bekræftelsen fjernes alle valgte integrationer, og alle relaterede data kan ikke gendannes.", + "events": "Hændelser", "enabled": "Aktivér integration", "allow-create-devices-or-assets": "Tillad oprettelse af enheder eller aktiver", "all-types": "Alle integrationstyper", @@ -4631,14 +5472,14 @@ "details": "Detaljer", "copyId": "Kopiér integrations-ID", "idCopiedMessage": "Integrations-ID er blevet kopieret til udklipsholder", - "debug-mode": "Fejlsøgningstilstand", + "debug-mode": "Fejlfindingstilstand", "enable-security": "Aktivér sikkerhed", "enable-security-new": "Aktivér sikkerhed for automatisk token-opdatering", "headers-filter": "Header-filtre", "header": "Header", "no-headers-filter": "Ingen header-filtre", "downlink-url": "Downlink URL", - "downlink-url-required": "Downlink URL er påkrævet", + "downlink-url-required": "Downlink-URL er påkrævet", "create-loriot-output": "Opret Loriot Application output", "send-downlink": "Send downlink", "allow-downlink": "Tillad downlink", @@ -4649,32 +5490,32 @@ "app-id-required": "Applikations-ID er påkrævet", "app-token": "Applikationsadgangstoken", "app-token-required": "Applikationsadgangstoken er påkrævet", - "email": "Email", - "email-required": "Email er påkrævet", + "email": "E-mail", + "email-required": "E-mail er påkrævet", "application-uri": "Applikations-URI", "as-id": "AS ID", - "as-id-required": "AS ID er påkrævet.", + "as-id-required": "AS-ID er påkrævet.", "as-key": "AS-nøgle", "as-key-required": "AS-nøgle er påkrævet.", "client-id-new": "Klient-ID", "client-id-new-required": "Klient-ID (login) er påkrævet.", "client-secret": "Klienthemmelighed", "client-secret-required": "Klienthemmelighed (adgangskode) er påkrævet.", - "max-time-diff-in-seconds": "Maksimalt tidsforskel (sekunder)", - "max-time-diff-in-seconds-required": "Maksimalt tidsforskel er påkrævet.", + "max-time-diff-in-seconds": "Maksimal tidsforskel (sekunder)", + "max-time-diff-in-seconds-required": "Maksimal tidsforskel er påkrævet.", "created-time": "Oprettelsestid", "name": "Navn", "name-required": "Navn er påkrævet.", - "name-max-length": "Navn skal være mindre end 256 tegn", + "name-max-length": "Navnet skal være mindre end 256 tegn", "description": "Beskrivelse", "base-url": "Basis-URL", "base-url-required": "Basis-URL er påkrævet", "security-key": "Sikkerhedsnøgle", "skip": "Spring over", "http-endpoint": "HTTP endpoint URL", - "replace-no-content-to-ok": "Erstat svarestatur fra 'No-Content' til 'OK'", - "copy-http-endpoint-url": "Kopiér HTTP endpoint URL", - "http-endpoint-url-copied-message": "HTTP endpoint URL er kopieret til udklipsholder", + "replace-no-content-to-ok": "Erstat svarstatus fra 'No-Content' til 'OK'", + "copy-http-endpoint-url": "Kopiér HTTP-endpoint-URL", + "http-endpoint-url-copied-message": "HTTP-endpoint-URL er kopieret til udklipsholderen", "host": "Host", "host-required": "Host er påkrævet.", "host-private": "Host skal være i det offentlige netværk.", @@ -4687,13 +5528,13 @@ "port": "Port", "port-required": "Port er påkrævet.", "endpoint": "Endpoint", - "port-range": "Port skal være i intervallet 1 til 65535.", + "port-range": "Port skal være mellem 1 og 65535.", "connect-timeout": "Forbindelsestimeout (sek)", "connect-timeout-required": "Forbindelsestimeout er påkrævet.", "connect-timeout-range": "Forbindelsestimeout skal være mellem 1 og 200.", "client-id": "Klient-ID", "client-id-required": "Klient-ID er påkrævet.", - "client-id-hint": "Tip: Valgfri. Efterlad tomt for automatisk genereret klient-ID. Vær forsigtig ved angivelse af Klient-ID. De fleste MQTT-brokere tillader ikke flere forbindelser med samme klient-ID. For at oprette forbindelse til sådanne brokere skal dit MQTT klient-ID være unikt.", + "client-id-hint": "Tip: Valgfri. Lad feltet stå tomt for at få et automatisk genereret klient-ID. Vær forsigtig, når du angiver klient-ID. De fleste MQTT-brokere tillader ikke flere forbindelser med samme klient-ID. For at oprette forbindelse til sådanne brokere skal dit MQTT-klient-ID være unikt.", "max-bytes-in-message": "Maks byte i besked", "max-bytes-in-message-range": "Maks byte i besked skal være i intervallet 1 til 256000000.", "device-id": "Enheds-ID", @@ -4710,7 +5551,7 @@ "queue-required": "Kønavn er påkrævet.", "durable": "Vedvarende", "exclusive": "Eksklusiv", - "autoDelete": "Auto-slet", + "autoDelete": "Slet automatisk", "exchange-name": "Exchange-navn", "exchange-name-required": "Exchange-navn er påkrævet.", "downlink-topic": "Downlink-emne", @@ -4721,16 +5562,16 @@ "virtual-host": "Virtuel vært", "rabbit-mq-poll-interval": "Polling-interval, ms", "rabbit-mq-poll-interval-min": "Ugyldig polling-intervalværdi.", - "application-server-url": "Applikationsserver URL", - "application-server-url-required": "Applikationsserver URL er påkrævet.", - "application-server-api-token": "Applikationsserver API-token", - "application-server-api-token-required": "Applikationsserver API-token er påkrævet.", + "application-server-url": "URL til applikationsserver", + "application-server-url-required": "URL til applikationsserver er påkrævet.", + "application-server-api-token": "API-token til applikationsserver", + "application-server-api-token-required": "API-token til applikationsserver er påkrævet.", "use-api-four-plus": "Brug API til ChirpStack 4+", "bootstrap-servers": "Bootstrap-servere", "bootstrap-servers-required": "Bootstrap-servere er påkrævet.", "poll-interval": "Polling-interval", "poll-interval-required": "Polling-interval er påkrævet.", - "poll-interval-min-value": "Polling-intervalværdi må ikke være mindre end 1", + "poll-interval-min-value": "Polling-intervalværdien må ikke være mindre end 1", "auto-create-topics": "Opret emner automatisk", "clean-session": "Ren session", "enable-ssl": "Aktivér SSL", @@ -4741,8 +5582,8 @@ "username-required": "Brugernavn er påkrævet.", "password": "Adgangskode", "password-required": "Adgangskode er påkrævet.", - "destination-shared-secret": "Destination delt hemmelighed", - "destination-shared-secret-required": "Destination delt hemmelighed er påkrævet", + "destination-shared-secret": "Delt hemmelighed for destination", + "destination-shared-secret-required": "Delt hemmelighed for destination er påkrævet", "customer-id": "Kunde-ID", "api-id": "API-ID", "azure-ca-cert": "CA-certifikatfil", @@ -4769,8 +5610,8 @@ "downlink-topic-pattern": "Downlink-emnemønster", "downlink-topic-pattern-required": "Downlink-emnemønster er påkrævet.", "retained-message": "Beholdt besked", - "aws-access-key-id": "AWS adgangsnøgle-ID", - "aws-secret-access-key": "AWS hemmelig adgangsnøgle", + "aws-access-key-id": "AWS-adgangsnøgle-ID", + "aws-secret-access-key": "Hemmelig AWS-adgangsnøgle", "aws-region": "Region", "aws-iot-endpoint": "AWS IoT Endpoint", "aws-iot-endpoint-required": "AWS IoT Endpoint er påkrævet.", @@ -4778,8 +5619,8 @@ "aws-sqs-polling-period-in-seconds": "Polling-periode i sekunder", "aws-sqs-queue-url": "SQS-kø-URL", "aws-sqs-queue-url-required": "SQS-kø-URL er påkrævet", - "aws-sqs-access-key-id-required": "Access Key Id er påkrævet", - "aws-sqs-secret-access-key-required": "Secret Access Key er påkrævet", + "aws-sqs-access-key-id-required": "Adgangsnøgle-ID er påkrævet", + "aws-sqs-secret-access-key-required": "Hemmelig adgangsnøgle er påkrævet", "application-credentials": "Applikationslegitimationsoplysninger", "api-key": "API-nøgle", "api-key-required": "API-nøgle er påkrævet.", @@ -4806,7 +5647,7 @@ "event-hub-name-required": "Event Hub-navn er påkrævet.", "event-iot-hub-name-required": "Iot Hub-navn er påkrævet for downlink", "enable-persistent-checkpoints": "Aktivér vedvarende kontrolpunkter", - "enable-persistent-checkpoints-hint": "Aktivér Azure Blob Storage for at genoptage behandling fra det sidste kontrolpunkt efter genstart. Deaktivér for altid at starte fra den nyeste begivenhed.", + "enable-persistent-checkpoints-hint": "Aktivér Azure Blob Storage for at genoptage behandling fra det sidste kontrolpunkt efter genstart. Deaktivér for altid at starte fra den nyeste hændelse.", "storage-connection-string": "Lagerforbindelsesstreng", "storage-connection-string-required": "Lagerforbindelsesstreng er påkrævet!", "container-name": "Container-navn", @@ -4820,7 +5661,7 @@ "hostname-required": "Værtsnavn er påkrævet", "integration-clazz": "Integrationsklasse", "integration-clazz-required": "Integrationsklasse er påkrævet", - "integration-configuration": "Integration JSON-konfiguration", + "integration-configuration": "JSON-konfiguration for integration", "metadata": "Metadata", "type": "Integrationstype", "select-integration-type": "Vælg integrationstype", @@ -4830,13 +5671,13 @@ "uplink-converter-required": "Uplink-datakonverter er påkrævet.", "downlink-converter": "Downlink-datakonverter", "type-http": "HTTP", - "type-http-description": "Overførsel af tekst eller multimediefiler.", + "type-http-description": "Protokol til overførsel af tekst eller multimediefiler.", "type-ocean-connect": "OceanConnect", "type-ocean-connect-description": "Integration af enheder med forskellige kapaciteter med IoT-platformen.", "type-sigfox": "SigFox", "type-sigfox-description": "Letvægtsprotokol til håndtering af små datatransmissioner.", "type-thingpark": "ThingPark", - "type-thingpark-description": "Beskedorienteret transportprotokol.", + "type-thingpark-description": "ThingPark er en IoT-forbindelsesplatform fra Actility.", "type-loriot": "Loriot", "type-loriot-description": "Distribueret LoRaWAN-infrastruktur.", "type-thingpark-enterprise": "ThingParkEnterprise", @@ -4848,13 +5689,14 @@ "type-aws-iot": "AWS IoT", "type-aws-iot-description": "Tjeneste til håndtering, lagring og analyse.", "type-aws-sqs": "AWS SQS", - "type-aws-sqs-description": "Fuldadministreret meddelelseskøtjeneste.", + "type-aws-sqs-description": "Fuldadministreret beskedkøtjeneste.", "type-aws-kinesis": "AWS Kinesis", "type-aws-kinesis-description": "Tjeneste til realtids video- og datastrømme.", "type-ttn": "The Things Stack Community", "type-ttn-description": "Åbent og decentraliseret LoRaWAN-netværk.", "type-tti": "The Things Stack Industries", "type-tti-description": "Software til drift af private LoRaWAN-netværk i stor skala.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN-netværkskonfigurationstjeneste.", "type-particle": "Particle", @@ -4866,7 +5708,7 @@ "type-azure-iot-hub": "Azure IoT Hub", "type-azure-iot-hub-description": "Cloud-hostet beskedtjeneste.", "type-opc-ua": "OPC-UA", - "type-opc-ua-description": "Platform-uafhængig dataudveksling fra sensorer til cloud-apps.", + "type-opc-ua-description": "Platformsuafhængig protokol til dataudveksling fra sensorer til cloud-apps.", "type-custom": "Brugerdefineret", "type-coap": "CoAP", "type-coap-description": "Maskine-til-maskine netværksprotokol til begrænsede enheder.", @@ -4877,7 +5719,7 @@ "type-kafka": "Kafka", "type-kafka-description": "Streaming-analyse og dataintegrationsplatform.", "type-rabbitmq": "RabbitMQ", - "type-rabbitmq-description": "Meddelelsesbroker der understøtter flere protokoller.", + "type-rabbitmq-description": "Beskedbroker der understøtter flere protokoller.", "type-pubsub": "Pub/Sub", "type-pubsub-description": "Tjeneste til asynkron meddelelsesudveksling mellem apps.", "type-apache-pulsar": "Apache Pulsar", @@ -4885,11 +5727,11 @@ "type-tuya": "Tuya", "type-tuya-description": "Cloud-hostet beskedplatform for enheder.", "type-azure-service-bus": "Azure Service Bus", - "type-azure-service-bus-description": "Fuldadministreret enterprise-meddelelsesbroker med køer og pub-sub-emner.", + "type-azure-service-bus-description": "Fuldadministreret enterprise-beskedbroker med køer og pub-sub-emner.", "opc-ua-application-name": "Applikationsnavn", "opc-ua-application-uri": "Applikations-URI", - "opc-ua-scan-period-in-seconds": "Scanningperiode i sekunder", - "opc-ua-scan-period-in-seconds-required": "Scanningperiode er påkrævet", + "opc-ua-scan-period-in-seconds": "Scanningsperiode i sekunder", + "opc-ua-scan-period-in-seconds-required": "Scanningsperiode er påkrævet", "opc-ua-timeout": "Timeout i millisekunder", "opc-ua-timeout-required": "Timeout er påkrævet", "opc-ua-security": "Sikkerhed", @@ -4954,10 +5796,10 @@ "handler-configuration": "Handler-konfiguration", "handler-configuration-type": "Handler-type", "so-broadcast": "Aktivér broadcast – integration accepterer broadcast-adressepakker", - "so-keepalive-option": "Aktivér afsendelse af keep-alive-meddelelser på forbindelsesorienterede sockets", + "so-keepalive-option": "Aktivér afsendelse af keep-alive-beskeder på forbindelsesorienterede sockets", "so-reuse-addr": "Bind processen til en port", "tcp-no-delay": "Tving socket til at sende data uden buffering (deaktiver Nagle-algoritmen)", - "fail-fast": "Kast undtagelse så snart decoder bemærker, at rammens længde overstiger max størrelse", + "fail-fast": "Kast en undtagelse, så snart dekoderen registrerer, at rammens længde vil overstige den maksimale størrelse", "strip-delimiter": "Fjern afgrænser", "length-field-offset": "Længdefelt-offset", "length-field-offset-required": "Længdefelt-offset er påkrævet.", @@ -4974,7 +5816,7 @@ "initial-bytes-to-strip-range": "Antal første bytes skal være mellem 0 og 8.", "so-backlog-option": "Maks antal ventende forbindelser på socket", "so-backlog-option-required": "Maks antal ventende forbindelser på socket er påkrævet.", - "so-backlog-option-range": "Maks antal forbindelser skal være mellem 1 og 65535.", + "so-backlog-option-range": "Maks. antal ventende forbindelser på socket skal være mellem 1 og 65535.", "so-rcv-buf": "Bufferstørrelse for indgående socket (i KB)", "so-rcv-buf-required": "Bufferstørrelse for indgående socket er påkrævet.", "so-rcv-buf-range": "Bufferstørrelse skal være mellem 1 og 65535 KB.", @@ -4983,9 +5825,9 @@ "so-snd-buf-range": "Bufferstørrelse skal være mellem 1 og 65535 KB.", "charset-name": "Charset-navn", "charset-name-required": "Charset-navn er påkrævet.", - "message-separator": "Meddelelsesseparator", - "message-separator-required": "Meddelelsesseparator er påkrævet.", - "message-separator-type": "Meddelelsesseparatortype", + "message-separator": "Beskedseparator", + "message-separator-required": "Beskedseparator er påkrævet.", + "message-separator-type": "Beskedseparatortype", "separator": "Separator", "separator-required": "Separator er påkrævet.", "character-sequence": "Tegnsekvens", @@ -4994,14 +5836,14 @@ "max-frame-length-required": "Maks rammelængde (i bytes) er påkrævet.", "max-frame-length-range": "Maks rammelængde skal være mellem 1 og 65535.", "handler-type": "Handler-type", - "message-size": "Meddelelsesstørrelse", - "message-size-required": "Meddelelsesstørrelse er påkrævet.", + "message-size": "Beskedstørrelse", + "message-size-required": "Beskedstørrelse er påkrævet.", "service-url": "Tjeneste-URL", "service-url-required": "Tjeneste-URL er påkrævet.", "subscription-name": "Abonnementsnavn", "subscription-name-required": "Abonnementsnavn er påkrævet.", - "max-num-messages": "Maks antal meddelelser", - "max-num-messages-required": "Maks antal meddelelser er påkrævet.", + "max-num-messages": "Maks antal beskeder", + "max-num-messages-required": "Maks antal beskeder er påkrævet.", "max-num-bytes": "Maks antal bytes", "max-num-bytes-required": "Maks antal bytes er påkrævet.", "model": "Model", @@ -5035,9 +5877,9 @@ "byte-order-big-endian": "Big Endian" }, "cache-size": "Cache-størrelse", - "cache-time-to-live": "Cache levetid i minutter", + "cache-time-to-live": "Cache-levetid i minutter", "min-cache-size": "Cache-størrelse må ikke være under 0", - "min-cache-time-to-live": "Cache levetid må ikke være under 0", + "min-cache-time-to-live": "Cache-levetid må ikke være under 0", "max-cache-time-to-live": "Ugyldig levetid for cache, vælg mellem 0 og 525600", "coap-security-mode": "Sikkerhedstilstand", "coap-security-mode-required": "CoAP-sikkerhedstilstand er påkrævet", @@ -5045,19 +5887,19 @@ "coap-security-mode-dtls": "DTLS", "coap-security-mode-mixed": "BLANDET", "coap-endpoint": "CoAP endpoint URL", - "coap-endpoint-url-copied-message": "CoAP endpoint URL er blevet kopieret til udklipsholderen", - "copy-coap-endpoint-url": "Kopiér CoAP endpoint URL", - "copy-coap-dtls-endpoint-url": "Kopiér CoAP DTLS endpoint URL", - "coap-dtls-base-url": "DTLS basis-URL", - "coap-dtls-base-url-required": "DTLS basis-URL er påkrævet", + "coap-endpoint-url-copied-message": "CoAP-endpoint-URL er blevet kopieret til udklipsholderen", + "copy-coap-endpoint-url": "Kopiér CoAP-endpoint-URL", + "copy-coap-dtls-endpoint-url": "Kopiér CoAP DTLS-endpoint-URL", + "coap-dtls-base-url": "DTLS-basis-URL", + "coap-dtls-base-url-required": "DTLS-basis-URL er påkrævet", "coap-dtls-endpoint": "CoAP DTLS endpoint URL", - "coap-dtls-endpoint-url-copied-message": "CoAP DTLS endpoint URL er blevet kopieret til udklipsholderen", - "unassign-integration-title": "Er du sikker på, at du vil fjerne integrationen '{{integrationName}}'?", - "unassign-integration-from-edge-text": "Efter bekræftelse vil integrationen blive fjernet og vil ikke længere være tilgængelig for edge-enheden.", - "unassign-integrations-from-edge-title": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 integration} other {# integrationer} }?", - "unassign-integrations-from-edge-text": "Efter bekræftelse vil alle valgte integrationer blive fjernet og vil ikke længere være tilgængelige for edge-enheden.", - "unassign-integrations": "Fjern integrationer", - "edge-placeholder-hint": "Du kan bruge pladsholderen ${{ATTRIBUTE_KEY}} til at erstatte integrationsfeltet med en attributværdi fra en specifik edge-enhed. Eksempel: 'Edge A' har attributten 'baseUrl', der er sat til 'http://localhost:9999'. Du kan bruge ${{baseUrl}} som et af integrationsfelterne, og det vil blive erstattet med 'http://localhost:9999' under tildeling til 'Edge A'. Hvis attributten 'baseUrl' opdateres, vil integrationen automatisk blive opdateret på 'Edge A'.", + "coap-dtls-endpoint-url-copied-message": "CoAP DTLS-endpoint-URL er blevet kopieret til udklipsholderen", + "unassign-integration-title": "Er du sikker på, at du vil fjerne tildelingen af integrationen '{{integrationName}}'?", + "unassign-integration-from-edge-text": "Efter bekræftelse vil tildelingen af integrationen blive fjernet, og den vil ikke længere være tilgængelig for Edge.", + "unassign-integrations-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 integration} other {# integrationer} }?", + "unassign-integrations-from-edge-text": "Efter bekræftelse vil tildelingen af alle valgte integrationer blive fjernet, og de vil ikke længere være tilgængelige for Edge.", + "unassign-integrations": "Fjern tildeling af integrationer", + "edge-placeholder-hint": "Du kan bruge pladsholderen ${{ATTRIBUTE_KEY}} til at erstatte integrationsfeltet med en attributværdi fra en specifik Edge-entitet. Eksempel: 'Edge A' har attributten 'baseUrl', der er sat til 'http://localhost:9999'. Du kan bruge ${{baseUrl}} som et af integrationsfelterne, og det vil blive erstattet med 'http://localhost:9999' under tildeling til 'Edge A'. Hvis attributten 'baseUrl' opdateres, vil integrationen automatisk blive opdateret på 'Edge A'.", "status": { "status": "Status", "active": "Aktiv", @@ -5066,8 +5908,8 @@ "pending": "Afventer" }, "daily-activity": "Daglig aktivitet", - "enable-debug-mode": "Aktivér fejlsøgningstilstand", - "disable-debug-mode": "Deaktivér fejlsøgningstilstand", + "enable-debug-mode": "Aktivér fejlfindingstilstand", + "disable-debug-mode": "Deaktivér fejlfindingstilstand", "advanced-settings": "Avancerede indstillinger", "basic-settings": "Basisindstillinger", "existing-converter": "Vælg eksisterende", @@ -5085,21 +5927,21 @@ "topic-name-required": "Emnenavn er påkrævet", "sub-name": "Abonnementsnavn", "sub-name-required": "Abonnementsnavn er påkrævet", - "downlink-connection-string": "Downlink forbindelsesstreng", - "downlink-connection-string-required": "Downlink forbindelsesstreng er påkrævet", - "downlink-topic-name": "Downlink emnenavn", - "downlink-topic-name-required": "Downlink emnenavn er påkrævet" + "downlink-connection-string": "Downlink-forbindelsesstreng", + "downlink-connection-string-required": "Downlink-forbindelsesstreng er påkrævet", + "downlink-topic-name": "Downlink-emnenavn", + "downlink-topic-name-required": "Downlink-emnenavn er påkrævet" }, "scada": { "symbols": "SCADA-symboler", "search": "Søg symbol", "selected-symbols": "{ count, plural, =1 {1 symbol} other {# symboler} } valgt", "download-symbol": "Download SCADA-symbol", - "export-symbol": "Eksporter SCADA-symbol til JSON", - "import-symbol": "Importer SCADA-symbol fra JSON", + "export-symbol": "Eksportér SCADA-symbol til JSON", + "import-symbol": "Importér SCADA-symbol fra JSON", "upload-symbol": "Upload SCADA-symbol", - "update-symbol": "Opdater SCADA-symbol", - "edit-symbol": "Rediger SCADA-symbol", + "update-symbol": "Opdatér SCADA-symbol", + "edit-symbol": "Redigér SCADA-symbol", "symbol-details": "SCADA-symboldetaljer", "mode-svg": "SVG", "mode-xml": "XML", @@ -5110,9 +5952,9 @@ "delete-symbol-title": "Er du sikker på, at du vil slette SCADA-symbolet '{{imageTitle}}'?", "delete-symbol-text": "Vær forsigtig, efter bekræftelsen vil SCADA-symbolet ikke kunne gendannes.", "delete-symbols-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 SCADA-symbol} other {# SCADA-symboler} }?", - "delete-symbols-text": "Vær forsigtig, efter bekræftelsen vil alle valgte SCADA-symboler blive fjernet og al relateret data vil ikke kunne gendannes.", - "include-system-symbols": "Inkluder systemsymboler", - "symbol-preview": "Symbol forhåndsvisning", + "delete-symbols-text": "Vær forsigtig: Efter bekræftelsen fjernes alle valgte SCADA-symboler, og alle relaterede data kan ikke gendannes.", + "include-system-symbols": "Inkludér systemsymboler", + "symbol-preview": "Forhåndsvisning af symbol", "general": "Generelt", "tags": "Tags", "properties": "Egenskaber", @@ -5122,7 +5964,7 @@ "widget-size": "Widget-størrelse", "cols": "kolonner", "rows": "rækker", - "state-render-function": "Tilstandsrendreringsfunktion", + "state-render-function": "Tilstandsrenderingsfunktion", "preview": "Forhåndsvisning", "preview-widget-action-text": "Widget-handling '{{type}}' udført med succes!", "no-symbol": "Intet SCADA-symbol", @@ -5136,10 +5978,10 @@ "hidden": "skjult", "tag": { "tag": "Tag", - "on-click-action": "Ved klik-handling", + "on-click-action": "Handling ved klik", "no-tags": "Ingen tags konfigureret", "delete-tag-text": "Er du sikker på, at du vil slette tag
    {{tag}} fra {{elementType}}-element?", - "update-tag": "Opdater tag", + "update-tag": "Opdatér tag", "enter-tag": "Indtast tag", "tag-settings": "Tagindstillinger", "remove-tag": "Fjern tag", @@ -5158,7 +6000,7 @@ "behavior-settings": "Adfærdsindstillinger", "remove-behavior": "Fjern adfærd", "hint": "Tip", - "group-title": "Gruppe titel", + "group-title": "Gruppetitel", "value-type": "Værditype", "default-value": "Standardværdi", "true-label": "Etiket for sand", @@ -5173,7 +6015,7 @@ "fluid-presence": "Væsketilstedeværelse", "fluid-presence-hint": "Angiver, om der er væske i røret.", "fluid-present": "Væske til stede", - "present": "Tilstede", + "present": "Til stede", "absent": "Fraværende", "flow-presence": "Strømningstilstedeværelse", "flow-presence-hint": "Angiver, om væske strømmer i røret.", @@ -5199,13 +6041,13 @@ "bottom-pipe": "Bundrør", "left-fluid-color": "Venstre væskefarve", "right-fluid-color": "Højre væskefarve", - "top-fluid-color": "Top væskefarve", - "bottom-fluid-color": "Bund væskefarve", + "top-fluid-color": "Væskefarve foroven", + "bottom-fluid-color": "Væskefarve forneden", "display": "Display", "display-format": "Visningsformat", "value": "Værdi", "decimals": "Decimaler", - "units": "Enheder", + "units": "Måleenheder", "flow-meter-value-hint": "Double-værdi vist på strømningsmåleren", "value-hint": "Double-værdi, der angiver den aktuelle værdi", "running": "Kører", @@ -5218,9 +6060,9 @@ "critical": "Kritisk", "critical-click": "Klik ved kritisk status", "critical-state-hint": "Angiver, om komponenten er i kritisk status.", - "critical-state-animation": "Kritisk status animation", + "critical-state-animation": "Animation ved kritisk status", "critical-state-animation-hint": "Aktiverer blinkeanimation, når komponenten er i kritisk status.", - "warning-critical-state-animation": "Advarsel/Kritisk status animation", + "warning-critical-state-animation": "Animation ved advarselsstatus eller kritisk status", "warning-critical-state-animation-hint": "Aktiverer blinkeanimation, når komponenten er i advarsels- eller kritisk status.", "animation": "Animation", "broken": "Ødelagt", @@ -5228,7 +6070,7 @@ "on-display-click": "Ved klik på display", "on-display-click-hint": "Handling udføres, når brugeren klikker på displayet.", "pipe": "Rør", - "default-border-color": "Standard kantfarve", + "default-border-color": "Standardkantfarve", "active-border-color": "Aktiv kantfarve", "warning-border-color": "Advarselskantfarve", "critical-border-color": "Kritisk kantfarve", @@ -5239,17 +6081,17 @@ "on-click-hint": "Handling udføres, når brugeren klikker på komponenten.", "connectors-positions": "Forbinderpositioner", "right-connector": "Højre forbindelse", - "right-top-connector": "Højre topforbinder", - "right-bottom-connector": "Højre bundforbinder", + "right-top-connector": "Øverste højre forbinder", + "right-bottom-connector": "Nederste højre forbinder", "left-connector": "Venstre forbindelse", - "left-top-connector": "Venstre topforbinder", - "left-bottom-connector": "Venstre bundforbinder", - "top-left-connector": "Top venstre forbinder", - "top-right-connector": "Top højre forbinder", + "left-top-connector": "Øverste venstre forbinder", + "left-bottom-connector": "Nederste venstre forbinder", + "top-left-connector": "Øverste venstre forbinder", + "top-right-connector": "Øverste højre forbinder", "top-connector": "Øverste forbindelse", "bottom-connector": "Nederste forbindelse", - "running-color": "Kører farve", - "stopped-color": "Stoppet farve", + "running-color": "Farve ved drift", + "stopped-color": "Farve ved stop", "stopped": "Stoppet", "warning-color": "Advarselsfarve", "critical-color": "Kritisk farve", @@ -5259,19 +6101,19 @@ "open-hint": "Handling udføres, når brugeren klikker for at åbne komponenten.", "close": "Luk", "close-hint": "Handling udføres, når brugeren klikker for at lukke komponenten.", - "close-state-animation": "Lukket tilstand animation", + "close-state-animation": "Animation i lukket tilstand", "close-state-animation-hint": "Aktiverer blinkeanimation, når komponenten er i lukket tilstand.", - "opened-color": "Åben farve", - "closed-color": "Lukket farve", - "opened-rotation-angle": "Åben rotationsvinkel", - "closed-rotation-angle": "Lukket rotationsvinkel", + "opened-color": "Farve i åben tilstand", + "closed-color": "Farve i lukket tilstand", + "opened-rotation-angle": "Rotationsvinkel i åben tilstand", + "closed-rotation-angle": "Rotationsvinkel i lukket tilstand", "tank-capacity": "Tankkapacitet", "tank-capacity-hint": "Double-værdi, der angiver den samlede tankkapacitet.", "current-volume": "Aktuelt volumen", "current-volume-hint": "Double-værdi, der angiver det aktuelle optagede volumen.", "tank-color": "Tankfarve", "value-box": "Værdiboks", - "value-text": "Værdi tekst", + "value-text": "Værditekst", "scale": "Skala", "transparent-mode": "Gennemsigtig tilstand", "major-ticks": "Store markeringer", @@ -5282,7 +6124,7 @@ "minor-ticks-color": "Farve for små markeringer", "temperature": "Temperatur", "temperature-hint": "Double-værdi, der angiver den aktuelle temperatur.", - "update-temperature": "Opdater temperatur", + "update-temperature": "Opdatér temperatur", "update-temperature-hint": "Handling udføres, når brugeren klikker for at ændre temperaturen.", "run": "Kør", "run-hint": "Handling udføres, når brugeren klikker for at starte komponenten.", @@ -5292,14 +6134,14 @@ "heat-pump-color": "Varmepumpefarve", "power-button-background": "Baggrund for tænd/sluk-knap", "value-box-background": "Baggrund for værdiboks", - "value-units": "Værdienheder", - "enable-units-scale": "Aktivér enheder på skala", + "value-units": "Måleenheder for værdi", + "enable-units-scale": "Aktivér måleenheder på skalaen", "filtration-mode": "Filtreringstilstand", "filtration-mode-hint": "Heltalsværdi, der angiver den aktuelle filtreringstilstand.", - "filtration-mode-update": "Opdater filtreringstilstand", + "filtration-mode-update": "Opdatér filtreringstilstand", "filtration-mode-update-hint": "Handling udføres, når brugeren klikker for at ændre filtreringstilstanden.", "filter-mode": "Filter", - "waste-mode": "Affald", + "waste-mode": "Afløb", "backwash-mode": "Tilbageskyl", "recirculate-mode": "Recirkulation", "rinse-mode": "Skyl", @@ -5316,8 +6158,8 @@ "label": "Etiket", "icon": "Ikon", "button-color": "Knapfarve", - "on-label": "'Tænd' etikettekst", - "off-label": "'Sluk' etikettekst", + "on-label": "Etikettekst for 'Tænd'", + "off-label": "Etikettekst for 'Sluk'", "arrow-presence": "Pil til stede", "arrow-presence-hint": "Angiver, om der er en pil i forbindelsen.", "arrow-present": "Pil til stede", @@ -5328,8 +6170,8 @@ "flow": "Flow", "flow-line": "Linje", "flow-line-style": "Linjestil", - "flow-style-hint": "Angiv værdier for Mellemrum og Mellemrum, så deres sum er delelig med 100 uden rest for perfekt animationssynkronisering.", - "flow-dash-cap": "Streg afslutning", + "flow-style-hint": "Angiv værdierne for Streg og Mellemrum, så deres sum er delelig med 100 uden rest for perfekt animationssynkronisering.", + "flow-dash-cap": "Stregafslutning", "dash-cap-butt": "Flad", "dash-cap-round": "Rund", "dash-cap-square": "Firkantet", @@ -5341,13 +6183,13 @@ "arrow-color": "Pilfarve", "target-value": "Målværdi", "target-value-hint": "Angiver målpunktet på skalaen.", - "min-max-value": "Min og maks værdi", + "min-max-value": "Min.- og maks.-værdi", "min-value": "Min", "max-value": "Maks", "progress-bar": "Fremskridtsbjælke", "progress-arrow": "Fremskridtspil", - "warning-scale-color": "Advarsels skala farve", - "critical-scale-color": "Kritisk skala farve", + "warning-scale-color": "Farve for advarselsskala", + "critical-scale-color": "Farve for kritisk skala", "scale-color": "Skalafarve", "target": "Mål", "high-warning-state": "Høj advarselsstatus", @@ -5384,17 +6226,18 @@ "input-voltage-hint": "Double-værdi der angiver indgangsspænding.", "output-voltage": "Udgangsspænding", "output-voltage-hint": "Double-værdi der angiver udgangsspænding.", - "first-phase-voltage": "Første fase spænding", - "second-phase-voltage": "Anden fase spænding", - "third-phase-voltage": "Tredje fase spænding", + "first-phase-voltage": "Spænding på fase 1", + "second-phase-voltage": "Spænding på fase 2", + "third-phase-voltage": "Spænding på fase 3", "phase-voltage-hint": "Double-værdi der angiver spænding for den aktuelle fase", "voltage-hint": "Double-værdi der angiver den aktuelle spænding", + "current-voltage": "Aktuel spænding", "phase-indicator-color": "Faseindikatorfarve", "measured": "Målt", "measured-hint": "Double-værdi der angiver energiforbrug i kilowatt-timer", "day-rate": "Dagpris", "night-rate": "Natpris", - "off-peak-rate": "Lavsæson-pris", + "off-peak-rate": "Lavlastpris", "peak-rate": "Spidspris", "export-rate": "Eksportpris", "operating-mode": "Driftstilstand", @@ -5429,7 +6272,281 @@ } }, "item": { - "selected": "Valgt" + "type-widget": "Widget", + "type-widget-plural": "Widgets", + "type-solution-template": "Løsningsskabelon", + "type-solution-template-plural": "Løsningsskabeloner", + "type-calculated-field": "Beregnet felt", + "type-calculated-field-plural": "Beregnede felter", + "type-alarm-rule": "Alarmregel", + "type-alarm-rule-plural": "Alarmregler", + "type-rule-chain": "Regelkæde", + "type-rule-chain-plural": "Regelkæder", + "type-device": "Enhed", + "type-device-plural": "Enheder" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "Generér tilfældig værdi", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "Opdag brugsklare", + "and-devices": "& enheder", + "search-placeholder": "Søg i IoT Hub...", + "search": "Søg...", + "search-published-items": "Søg i publicerede elementer...", + "see-all-results": "Se alle resultater", + "see-all-results-for": "Se alle {{ count }} resultater for \"{{ search }}\"", + "see-results-for": "Se resultater for \"{{ search }}\"", + "no-search-results": "Ingen resultater fundet for '{{ search }}'", + "no-items-available": "Ingen tilgængelige elementer", + "search-results": "Søgeresultater", + "search-results-for": "Søgeresultater for ", + "try-adjusting-search": "Prøv at justere din søgning", + "add-widget-from-iot-hub": "Tilføj widget fra IoT Hub", + "all-widgets": "Alle widgets", + "all-iot-hub-widgets": "Alle IoT Hub-widgets", + "installed-from-iot-hub": "Installeret fra IoT Hub", + "item-link-unavailable": "Element utilgængeligt", + "include-deprecated": "Medtag forældede", + "widget-category-value": "{{ category }}-widgets", + "search-categories": "Søg i kategorier...", + "search-in-category": "Søg i widgets...", + "search-bundles": "Søg i pakker...", + "search-widgets": "Søg i widgets...", + "add-item-from-iot-hub": "Tilføj {{ type }} fra IoT Hub", + "add-from-iot-hub": "Tilføj fra IoT Hub", + "filters": "Filtre", + "type": "Type", + "items-per-page": "Elementer pr. side", + "filter": "Filter", + "clear-filters": "Ryd filtre", + "available": "tilgængelig", + "items-page-desc-widgets": "Sæt skub i din IoT-rejse med forudkonfigurerede widgets designet til din branche. Implementér gennemprøvede arkitekturer med det samme, og fokusér din energi på det, der betyder noget: din unikke forretningslogik.", + "items-page-desc-solution-templates": "Komplette IoT-løsningspakker med dashboards, regelkæder og enhedskonfigurationer. Kom i gang med gennemprøvede arkitekturer.", + "items-page-desc-calculated-fields": "Brug forudkonfigurerede beregnede felter til at automatisere komplekse målinger som brændstofeffektivitet eller effektfaktor. Spring den manuelle logik over, og hold dine dashboards overskuelige og handlingsorienterede.", + "items-page-desc-alarm-rules": "Brug færdige alarmregelskabeloner til at opdage kritiske tilstande som lavt batteriniveau, overskredne tærskler eller enheder, der går offline. Spring skrivningen af regellogikken over, og reagér på hændelser, i det øjeblik de opstår.", + "items-page-desc-rule-chains": "Fra avanceret databehandling til problemfri API-integrationer giver regelkædeskabeloner det arkitektoniske fundament, du har brug for til at skalere uden at bygge fra bunden.", + "items-page-desc-devices": "Udforsk enhedsbiblioteket for at finde forudkonfigurerede forbindelsesskabeloner, som du kan implementere på få minutter for at forbinde din hardware med det samme.", + "device-library": "Enhedsbibliotek", + "most-popular-in-iot-hub": "Mest populære i IoT Hub", + "upgrade-required-title": "ThingsBoard-opgradering påkrævet", + "upgrade-required-message": "Dette element kræver ThingsBoard {{minVersion}} eller nyere. Du kører i øjeblikket {{currentVersion}}. Opgradér din instans for at installere det.", + "upgrade-instance": "Opgradér instans", + "become-creator-text": "Indsend dine skabeloner til ThingsBoard IoT Hub for at blive fremhævet og vise dine løsninger frem for vores globale fællesskab.", + "contribute": "Bidrag", + "creator-profile": "Skaberprofil", + "title-widgets": "Widgets", + "title-calculated-fields": "Beregnede felter", + "title-alarm-rules": "Alarmregler", + "title-rule-chains": "Regelkæder", + "title-devices": "Enheder", + "title-solution-templates": "Løsningsskabeloner", + "subtitle-widgets": "Gennemse fællesskabets widgets til dine dashboards", + "subtitle-solution-templates": "Gennemse komplette IoT-løsningspakker", + "subtitle-calculated-fields": "Gennemse skabeloner til beregnede felter", + "subtitle-alarm-rules": "Gennemse skabeloner til alarmregler", + "subtitle-rule-chains": "Gennemse skabeloner til regelkæder", + "subtitle-devices": "Gennemse enhedskonfigurationer", + "search-solution-templates": "Søg i løsningsskabeloner...", + "search-calculated-fields": "Søg i beregnede felter...", + "search-alarm-rules": "Søg i alarmregler...", + "search-rule-chains": "Søg i regelkæder...", + "search-devices": "Søg i enheder...", + "sort-most-relevant": "Mest relevante", + "sort-most-installed": "Mest installerede", + "sort-newest": "Nyeste", + "sort-name": "Navn (A-Å)", + "type-filter-label": "Type", + "verified-creators-only": "Kun verificerede skabere", + "category": "Kategori", + "use-case": "Anvendelsesscenarie", + "vendor": "Leverandør", + "view-setup-guide": "Vis opsætningsvejledning", + "hardware-type": "Hardwaretype", + "connectivity": "Konnektivitet", + "clear-all-filters": "Ryd alle filtre", + "clear-all": "Ryd alle", + "results-count": "{{count}} resultater", + "unable-to-load": "Kan ikke indlæse", + "unable-to-load-text": "Der opstod et problem under indlæsning af elementerne. Prøv igen.", + "network-server-unavailable": "Netværk eller server utilgængelig", + "network-server-unavailable-text": "Vi kunne ikke få forbindelse til kataloget. Prøv igen om et øjeblik.", + "try-again": "Prøv igen", + "retry": "Prøv igen", + "no-items-found": "Ingen elementer fundet", + "no-items-found-text": "Prøv at justere din søgning eller dine filtre.", + "no-widgets-found": "Ingen widgets fundet", + "browse-tip-prefix": "Kan du ikke finde det, du har brug for?", + "browse-tip-link": "Gennemse IoT Hub", + "browse-tip-suffix": "for at finde flere widgets.", + "creator": "Skaber", + "manage": "Administrér", + "details": "Detaljer", + "become-a-creator": "Bliv skaber", + "back-to-iot-hub": "Tilbage til IoT Hub", + "verified-creator": "Verificeret skaber", + "published-items": "Publicerede elementer", + "by-creator": "af {{name}}", + "installs": "installationer", + "more": "flere", + "categories": "Kategorier", + "use-cases": "Anvendelsesscenarier", + "changelog": "Ændringslog", + "created-by": "Oprettet af {{name}}", + "install-confirm": "Installér {{name}} v{{version}}?", + "install-confirm-title": "Installér '{{name}}'?", + "install-desc": "Installationen opretter og konfigurerer automatisk de nødvendige ressourcer i din lejer", + "install-success-desc": "'{{name}}' er blevet installeret", + "remove": "Fjern", + "remove-confirm-title": "Fjern '{{name}}'?", + "remove-desc": "Hvis du fjerner dette, fjernes også den installerede entitet og dens tilknyttede ressourcer i din lejer", + "remove-desc-solution-template": "Hvis du fjerner denne løsningsskabelon, fjernes også alle oprettede entiteter, herunder dashboards, regelkæder, enheder og andre tilknyttede ressourcer i din lejer", + "remove-anyway": "Fjern alligevel", + "select-entity-for-cf": "Vælg entitet til det beregnede felt '{{name}}'", + "select-entity-for-alarm-rule": "Vælg entitet til alarmreglen '{{name}}'", + "rule-chain-install-subtitle": "Installationen opretter automatisk regelkæden i din lejer. Du kan også angive den som standardregelkæde for en profil, så entiteter med den profil dirigeres gennem den.", + "rule-chain-set-as-profile-default-toggle": "Angiv som profilens standardregelkæde", + "rule-chain-set-as-profile-default-tooltip": "Hvis aktiveret, sender alle entiteter med den valgte profil beskeder gennem denne regelkæde.", + "rule-chain-overwrite-title": "Erstat eksisterende standardregelkæde?", + "rule-chain-overwrite-body": "Profilen {{profile}} bruger i øjeblikket {{existing}} som standardregelkæde. Installationen erstatter den med denne regelkæde.", + "rule-chain-overwrite-replace": "Erstat", + "install": "Installér", + "open": "Åbn", + "built-in": "Indbygget", + "built-in-lookup-failed-title": "Kunne ikke kontrollere denne komponent", + "built-in-lookup-failed-text": "Kunne ikke kontrollere, om '{{name}}' allerede findes i denne instans. Intet blev installeret — prøv igen.", + "built-in-missing-title": "Ikke tilgængelig i denne instans", + "built-in-missing-text": "'{{name}}' leveres normalt med ThingsBoard, men findes ikke i denne instans — den kan være blevet slettet af systemadministratoren. Du kan i stedet installere den fra IoT Hub.", + "connect": "Forbind", + "connect-device": "Forbind enhed", + "installing": "Installerer...", + "installing-title": "Installerer '{{name}}'", + "installed": "Installeret", + "install-success": "{{name}} blev installeret", + "install-success-title": "Installationen lykkedes", + "install-success-message": "'{{name}}' v{{version}} er blevet installeret.", + "install-error": "Kunne ikke installere {{name}}", + "solution-install-title": "Løsningsskabelonen blev installeret", + "solution-instructions": "Løsningsinstruktioner", + "goto-main-dashboard": "Gå til hoveddashboardet", + "install-error-title": "Installationen mislykkedes", + "install-error-message": "Kunne ikke installere '{{name}}'.", + "install-dependency-error": "Kunne ikke installere afhængigheden '{{name}}': {{error}}", + "install-plan-title": "Installér '{{name}}' med afhængigheder", + "install-plan-will-install": "{{count}} element(er) vil blive installeret.", + "install-plan-will-update": "{{count}} element(er) er allerede installeret og springes over.", + "install-plan-missing-warning": "{{count}} påkrævede element(er) blev ikke fundet på markedspladsen. '{{ name }}' fungerer muligvis ikke fuldt ud uden dem.", + "install-plan-status-will": "Installeres", + "install-plan-status-installed": "Allerede installeret", + "install-plan-status-missing": "Mangler", + "install-plan-confirm": "Installér", + "install-partial-title": "Installeret med advarsler", + "install-partial-desc": "'{{name}}' blev installeret, men nogle påkrævede elementer manglede.", + "install-rollback-partial": "Nogle af de elementer, der blev installeret før fejlen, kunne ikke fjernes automatisk og skal muligvis slettes manuelt.", + "check-for-updates": "Søg efter opdateringer", + "updates": "Opdateringer", + "up-to-date": "Opdateret", + "update": "Opdatér", + "update-to-version": "Opdatér til v {{ version }}", + "update-item-title": "Opdatér element", + "update-confirm": "Opdatér '{{name}}' til version {{version}}?", + "update-confirm-title": "Opdatér '{{name}}'?", + "update-desc": "En opdatering erstatter den aktuelle version med den nyeste og omkonfigurerer de tilknyttede ressourcer i din lejer", + "update-desc-solution-template": "En opdatering af denne løsningsskabelon sletter og genopretter alle entiteter, den har oprettet, herunder dashboards, regelkæder, enheder og andre tilknyttede ressourcer i din lejer. Alle ændringer, du har foretaget i dem, går tabt", + "update-success-desc": "'{{name}}' er blevet opdateret", + "updating": "Opdaterer...", + "update-success-title": "Opdatering gennemført", + "update-success-message": "'{{name}}' er blevet opdateret til version {{version}}.", + "entity-modified-title": "Entitet ændret", + "entity-modified-text": "Elementet ({{type}}) er blevet ændret lokalt. Vil du stadig opdatere det?", + "update-error-title": "Opdatering mislykkedes", + "update-error-message": "Kunne ikke opdatere '{{name}}'.", + "update-error": "Kunne ikke opdatere {{name}}", + "most-popular": "Mest populære", + "all": "Alle", + "installed-items": "Installerede elementer", + "installed-items-for": "Installerede elementer for \"{{name}}\"", + "search-installed-items": "Søg i installerede elementer...", + "item-name": "Navn", + "item-type": "Type", + "item-version": "Version", + "installed-date": "Installeret", + "no-installed-items": "Ingen installerede elementer fundet", + "no-installed-items-text": "Prøv at justere din søgning eller dine filtre.", + "remove-installed-item-title": "Fjern installeret element", + "remove-installed-item-text": "Er du sikker på, at du vil fjerne '{{name}}'? Den installerede entitet bliver også fjernet.", + "installed-item-removed": "'{{name}}' er blevet fjernet", + "installed-item-remove-error": "Kunne ikke fjerne '{{name}}'", + "open-installed-entity": "Åbn installeret entitet", + "view-item-details": "Vis elementdetaljer", + "review-device-instructions": "Gennemgå enhedsinstruktioner", + "open-item-type": "Åbn {{type}}", + "back-to-marketplace": "Tilbage til markedspladsen", + "device-install-select-connectivity": "Vælg en forbindelsesmetode til din enhed", + "connection-method": "Forbindelsesmetode", + "step-prerequisites": "Forudsætninger", + "step-configuration": "Konfiguration", + "step-provisioning": "Klargøring", + "device-install-step-error": "Mislykket", + "device-install-step-pending": "Afventer", + "device-install-step-running": "Opretter...", + "device-install-step-success": "Oprettet", + "device-install-step-type-DASHBOARD": "Dashboard", + "device-install-step-type-DEVICE": "Enhed", + "device-install-step-type-DEVICE_PROFILE": "Enhedsprofil", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Gateway-connector", + "device-install-step-type-RULE_CHAIN": "Regelkæde", + "device-install-step-type-UPLINK_CONVERTER": "Uplink-datakonverter", + "device-install-step-type-DOWNLINK_CONVERTER": "Downlink-datakonverter", + "device-install-step-type-INTEGRATION": "Integration", + "use-secret": "Brug hemmelighed", + "use-plain-text": "Brug almindelig tekst", + "device-install-conflict-exists": "{{type}} med dette navn findes allerede", + "device-install-use-existing": "Brug eksisterende", + "device-install-overwrite": "Overskriv", + "device-install-create-copy": "Opret kopi", + "device-install-resolution-created": "Oprettet", + "device-install-resolution-use-existing": "Det eksisterende blev brugt", + "device-install-resolution-overwrite": "Overskrevet", + "device-install-resolution-create-copy": "Kopi oprettet", + "device-install-title": "Forbind \"{{name}}\"", + "device-installing-title": "Installerer \"{{name}}\"", + "done": "Færdig", + "in-progress": "I gang", + "item-detail": "IoT Hub-element", + "unpublished-warning-title": "Ikke-publiceret indhold", + "unpublished-warning-text": "Dette er en forhåndsvisning af ikke-publiceret indhold. Det er ikke blevet gennemgået af IoT Hub. Installation af ikke-verificeret indhold kan medføre sikkerheds- og stabilitetsrisici — fortsæt kun, hvis du har tillid til skaberen.", + "unpublished-warning-confirm": "Jeg forstår risikoen – fortsæt", + "unpublished-preview": "Ikke-publiceret forhåndsvisning", + "deep-link-invalid-id": "Ugyldigt link til IoT Hub-element.", + "deep-link-not-found": "Dette IoT Hub-element findes ikke eller er blevet fjernet.", + "deep-link-fetch-failed": "Kunne ikke indlæse IoT Hub-elementet. Prøv igen.", + "export-to-iot-hub": "Eksportér til IoT Hub" + }, + "item-data": { + "widget-type-timeseries": "Tidsserier", + "widget-type-latest": "Seneste", + "widget-type-rpc": "Styring", + "widget-type-alarm": "Alarm", + "widget-type-static": "Statisk", + "cf-type-simple": "Simpel", + "cf-type-script": "Script", + "cf-type-geofencing": "Geofencing", + "cf-type-alarm": "Alarm", + "cf-type-propagation": "Propagering", + "cf-type-related-entities-aggregation": "Aggregering af relaterede entiteter", + "cf-type-entity-aggregation": "Entitetsaggregering", + "rule-chain-type-core": "Kerne", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "Berigelse", + "node-type-filter": "Filter", + "node-type-transformation": "Transformation", + "node-type-action": "Handling", + "node-type-analytics": "Analyse", + "node-type-external": "Ekstern", + "node-type-flow": "Flow", + "node-type-unknown": "Ukendt" }, "js-func": { "no-return-error": "Funktionen skal returnere en værdi!", @@ -5442,7 +6559,7 @@ "add-module": "Tilføj modul", "module-alias": "Alias", "invalid-module-alias-name": "Ugyldigt aliasnavn", - "module-resource": "JS modulressource", + "module-resource": "JS-modulressource", "not-unique-module-aliases-error": "Modulaliaser skal være unikke!", "show-module-info": "Vis modulinfo", "show-module-source-code": "Vis modulens kildekode", @@ -5462,9 +6579,11 @@ "no-data": "Ingen poster" }, "layout": { + "switch-to-html-page-title": "Skift til HTML-side?", + "switch-to-html-page-text": "HTML-siden erstatter widgetgitteret for denne tilstand. { count, plural, =1 {1 widget} other {# widgets} } placeret i dens layouts vil blive fjernet fra denne tilstand.", "layout": "Layout", "layouts": "Layouts", - "manage": "Administrer layouts", + "manage": "Administrér layouts", "settings": "Layoutindstillinger", "color": "Farve", "main": "Hoved", @@ -5502,7 +6621,7 @@ "average-option": "Gennemsnit", "total-option": "Total", "latest-option": "Seneste", - "sort-legend": "Sorter datanøgler i forklaring", + "sort-legend": "Sortér datanøgler i forklaring", "show-max": "Vis maksimal værdi", "show-min": "Vis minimumsværdi", "show-avg": "Vis gennemsnitsværdi", @@ -5527,7 +6646,7 @@ "months": "(måned siden)", "years": "(år siden)" }, - "column-title": "Kolonne titel", + "column-title": "Kolonnetitel", "label": "Etiket", "value": "Værdi" }, @@ -5536,20 +6655,20 @@ "request-password-reset": "Anmod om nulstilling af adgangskode", "reset-password": "Nulstil adgangskode", "create-password": "Opret adgangskode", - "two-factor-authentication": "To-faktor-godkendelse", + "two-factor-authentication": "Tofaktorgodkendelse", "passwords-mismatch-error": "De indtastede adgangskoder skal være ens!", "password-again": "Adgangskode igen", - "sign-in": "Log venligst ind", - "username": "Brugernavn (email)", + "sign-in": "Log ind", + "username": "Brugernavn (e-mail)", "remember-me": "Husk mig", "forgot-password": "Glemt adgangskode?", "password-reset": "Nulstilling af adgangskode", - "expired-password-reset-message": "Dine loginoplysninger er udløbet! Opret venligst en ny adgangskode.", + "expired-password-reset-message": "Din adgangskode er udløbet!\nIndtast en ny adgangskode.", "new-password": "Ny adgangskode", "new-password-again": "Bekræft ny adgangskode", "password-link-sent-message": "Nulstillingslink er sendt", - "email": "Email", - "invalid-email-format": "Ugyldigt emailformat.", + "email": "E-mail", + "invalid-email-format": "Ugyldigt e-mailformat.", "no-account": "Har du ikke en konto?", "create-account": "Opret en konto", "sign-in-with": "Log ind med {{name}}", @@ -5565,15 +6684,15 @@ "totp-auth-placeholder": "Kode", "sms-auth-description": "En sikkerhedskode er sendt til din telefon på {{contact}}.", "sms-auth-placeholder": "SMS-kode", - "email-auth-description": "En sikkerhedskode er sendt til din emailadresse på {{contact}}.", - "email-auth-placeholder": "Email-kode", + "email-auth-description": "En sikkerhedskode er sendt til din e-mailadresse på {{contact}}.", + "email-auth-placeholder": "E-mail-kode", "backup-code-auth-description": "Indtast en af dine backupkoder.", "backup-code-auth-placeholder": "Backupkode", "version-mask": "{{name}} v.{{version}}", "activation-link-expired": "Aktiveringslinket er udløbet", - "activation-link-expired-message": "Linket til at aktivere din profil er udløbet. Du kan vende tilbage til login-siden for at modtage en ny email.", + "activation-link-expired-message": "Linket til at aktivere din profil er udløbet. Du kan vende tilbage til login-siden for at modtage en ny e-mail.", "reset-password-link-expired": "Nulstillingslinket for adgangskode er udløbet", - "reset-password-link-expired-message": "Linket til at nulstille din adgangskode er udløbet. Du kan vende tilbage til login-siden for at modtage en ny email.", + "reset-password-link-expired-message": "Linket til at nulstille din adgangskode er udløbet. Du kan vende tilbage til login-siden for at modtage en ny e-mail.", "two-fa": "Tofaktorgodkendelse", "two-fa-required": "Tofaktorgodkendelse er påkrævet", "set-up-verification-method": "Opsæt en verifikationsmetode for at fortsætte", @@ -5582,8 +6701,8 @@ "enable-authenticator-app-description": "Indtast venligst sikkerhedskoden fra din godkendelsesapp", "enable-authenticator-sms": "Aktivér SMS-godkendelse", "enable-authenticator-sms-description": "Indtast den 6-cifrede kode, vi lige har sendt til ", - "enable-authenticator-email": "Aktivér email-godkendelse", - "enable-authenticator-email-description": "En sikkerhedskode er blevet sendt til din emailadresse på ", + "enable-authenticator-email": "Aktivér e-mail-godkendelse", + "enable-authenticator-email-description": "En sikkerhedskode er blevet sendt til din e-mailadresse på ", "enter-key-manually": "eller indtast denne 32-cifrede nøgle manuelt:", "continue": "Fortsæt", "confirm": "Bekræft", @@ -5591,26 +6710,26 @@ "authenticator-app-success-description": "Næste gang du logger ind, skal du angive en tofaktorgodkendelseskode", "authenticator-sms-success": "SMS-godkendelse blev aktiveret", "authenticator-sms-success-description": "Næste gang du logger ind, bliver du bedt om at indtaste sikkerhedskoden, som sendes til telefonnummeret", - "authenticator-email-success": "Email-godkendelse blev aktiveret", - "authenticator-email-success-description": "Næste gang du logger ind, bliver du bedt om at indtaste sikkerhedskoden, som sendes til din emailadresse", + "authenticator-email-success": "E-mail-godkendelse blev aktiveret", + "authenticator-email-success-description": "Næste gang du logger ind, bliver du bedt om at indtaste sikkerhedskoden, som sendes til din e-mailadresse", "authenticator-backup-code-success": "Backupkode blev aktiveret", "authenticator-backup-code-success-description": "Næste gang du logger ind, bliver du bedt om at indtaste sikkerhedskoden eller bruge en af backupkoderne.", "add-verification-method": "Tilføj verifikationsmetode", "get-backup-code": "Hent backupkode", "copy-key": "Kopiér nøgle", "send-code": "Send kode", - "email-label": "Email", - "email-description": "Indtast en email, der skal bruges som din godkendelse.", - "sms-description": "Indtast et telefonnummer, der skal bruges som din godkendelse.", - "backup-code-description": "Print koderne, så du har dem ved hånden, når du skal bruge dem til at logge ind på din konto. Du kan bruge hver backupkode én gang.", + "email-label": "E-mail", + "email-description": "Indtast en e-mail, der skal bruges som godkendelsesmetode.", + "sms-description": "Indtast et telefonnummer, der skal bruges som godkendelsesmetode.", + "backup-code-description": "Udskriv koderne, så du har dem ved hånden, når du skal bruge dem til at logge ind på din konto. Du kan bruge hver backupkode én gang.", "backup-code-warn": "Når du forlader denne side, kan disse koder ikke vises igen. Opbevar dem sikkert ved hjælp af mulighederne nedenfor.", "download-txt": "Download (txt)", "print": "Udskriv", "verification-code": "6-cifret kode", "verification-code-invalid": "Ugyldigt format for verifikationskode", "verification-code-incorrect": "Verifikationskoden er forkert", - "verification-code-many-request": "For mange anmodninger om at kontrollere verifikationskode", - "scan-qr-code": "Scan denne QR-kode med din verifikationsapp", + "verification-code-many-request": "For mange anmodninger om at kontrollere verifikationskoden", + "scan-qr-code": "Scan denne QR-kode med din godkendelsesapp", "phone-input": { "phone-input-label": "Telefonnummer", "phone-input-required": "Telefonnummer er påkrævet", @@ -5622,7 +6741,7 @@ "signup": { "firstname": "Fornavn", "lastname": "Efternavn", - "email": "Email", + "email": "E-mail", "signup": "Tilmeld", "create-password": "Opret en adgangskode", "repeat-password": "Gentag din adgangskode", @@ -5630,24 +6749,24 @@ "signin": "Log ind", "no-captcha-message": "Du skal bekræfte, at du ikke er en robot", "password-length-message": "Din adgangskode skal være mindst 6 tegn lang", - "email-verification": "Emailverifikation", - "email-verification-message": "En email med bekræftelsesoplysninger er sendt til den angivne emailadresse.
    Følg instruktionerne i emailen for at fuldføre din tilmelding.
    Bemærk: Hvis du ikke ser emailen efter et stykke tid, så tjek venligst din 'spam'-mappe eller prøv at sende emailen igen ved at klikke på 'Send igen'-knappen.", + "email-verification": "Bekræftelse af e-mail", + "email-verification-message": "En e-mail med bekræftelsesoplysninger er sendt til den angivne e-mailadresse.
    Følg instruktionerne i e-mailen for at fuldføre din tilmelding.
    Bemærk: Hvis du ikke ser e-mailen efter et stykke tid, så tjek venligst din 'spam'-mappe eller prøv at sende e-mailen igen ved at klikke på 'Send igen'-knappen.", "account-activation-title": "Kontoaktivering", "account-activated": "Kontoen er aktiveret!", "account-activated-text": "Tillykke!
    Din konto er blevet aktiveret.", "resend": "Send igen", "inactive-user-exists-title": "Inaktiv bruger eksisterer allerede", - "inactive-user-exists-text": "Der er allerede en registreret bruger med ubekræftet emailadresse.
    Klik på 'Send igen'-knappen, hvis du ønsker at gensende bekræftelsesemail.", + "inactive-user-exists-text": "Der er allerede en registreret bruger med ubekræftet e-mailadresse.
    Klik på 'Send igen'-knappen, hvis du ønsker at gensende bekræftelses-e-mail.", "activating-account": "Aktiverer konto...", "activating-account-text": "Din konto aktiveres. Vent venligst...", - "accept-privacy-policy": "Accepter Privatlivspolitik", - "accept": "Accepter", + "accept-privacy-policy": "Acceptér privatlivspolitikken", + "accept": "Acceptér", "and": "og", "privacy-policy": "Privatlivspolitik", "terms-of-use": "Brugsbetingelser", "recaptcha-title": "reCAPTCHA", - "accept-privacy-policy-message": "Du skal acceptere vores Privatlivspolitik", - "accept-terms-of-use-message": "Du skal acceptere vores Brugsbetingelser", + "accept-privacy-policy-message": "Du skal acceptere vores privatlivspolitik", + "accept-terms-of-use-message": "Du skal acceptere vores brugsbetingelser", "accept-privacy-policy-and-terms-of-use-message": "Du skal acceptere vores privatlivspolitik og brugsbetingelser", "firstname-max-length": "Fornavn skal være under 256 tegn", "lastname-max-length": "Efternavn skal være under 256 tegn", @@ -5656,9 +6775,9 @@ }, "mobile": { "add-application": "Tilføj applikation", - "app-id": "App-ID", - "app-id-required": "App-ID er påkrævet", - "app-id-pattern": "Ugyldigt format for App-ID", + "app-id": "App Site Association-ID", + "app-id-required": "App Site Association-ID er påkrævet", + "app-id-pattern": "Ugyldigt format for App Site Association-ID", "app-store-link": "App Store-link", "app-store-link-required": "App Store-link er påkrævet", "application-details": "Applikationsdetaljer", @@ -5688,6 +6807,7 @@ "min-version": "Minimumsversion", "invalid-version-pattern": "Ugyldigt versionsformat. Brug formatet: major.minor.patch (f.eks. 1.0.0).", "mobile-center": "Mobilcenter", + "mobile-apps": "Mobilapplikationer", "mobile-package": "Applikationspakke", "mobile-package-max-length": "Applikationspakken skal være mindre end 256 tegn", "mobile-package-required": "Applikationspakke er påkrævet.", @@ -5721,16 +6841,16 @@ "title": "Titel", "title-required": "Titel er påkrævet", "title-cannot-contain-only-spaces": "Titlen må ikke kun indeholde mellemrum", - "title-max-length": "Titlen skal være under 256 tegn", + "title-max-length": "Titel skal være mindre end 256 tegn", "oauth-clients": "OAuth 2.0-klienter", "android-app": "Android-app", "android-application": "Android-applikation", "ios-app": "iOS-app", "ios-application": "iOS-applikation", - "invalid-store-link": "Ugyldigt butiklink", - "enable-oauth": "Aktiver OAuth 2.0", - "enable-self-registration": "Aktiver selvregistrering", - "edit-bundle": "Rediger pakke", + "invalid-store-link": "Ugyldigt butikslink", + "enable-oauth": "Aktivér OAuth 2.0", + "enable-self-registration": "Aktivér selvregistrering", + "edit-bundle": "Redigér pakke", "description": "Beskrivelse", "basic-settings": "Grundindstillinger", "no-application-matching": "Ingen applikation fundet der matcher '{{entity}}'.", @@ -5765,8 +6885,8 @@ "path": "Sti", "invalid-path-format": "Ugyldigt stiformat", "custom-page": "Brugerdefineret side", - "edit-page": "Rediger side", - "edit-custom-page": "Rediger brugerdefineret side", + "edit-page": "Redigér side", + "edit-custom-page": "Redigér brugerdefineret side", "delete-page": "Slet side", "qr-code-widget": "QR-kode-widget", "type-here": "Skriv her", @@ -5807,6 +6927,9 @@ "reset-self-registration-text": "Vær forsigtig, efter bekræftelse vil alle indstillinger gå tabt og kan ikke gendannes." } }, + "monitor": { + "monitor": "Overvågning" + }, "notification": { "ai-assistant-initial-prompt-placeholder": "Beskriv, hvad du vil opsætte...", "ai-assistant-example-explain-label": "Sådan fungerer notifikationer", @@ -5833,7 +6956,7 @@ "new-platform-version-trigger-settings": "Indstillinger for udløser af ny platformsversion", "rate-limits-trigger-settings": "Indstillinger for udløser ved overskredne hastighedsgrænser", "task-processing-failure-trigger-settings": "Indstillinger for udløser ved fejl i opgavebehandling", - "resources-shortage-trigger-settings": "Indstillinger for trigger ved mangel på ressourcer", + "resources-shortage-trigger-settings": "Indstillinger for udløser ved mangel på ressourcer", "at-least-one-should-be-selected": "Mindst én skal vælges", "basic-settings": "Grundindstillinger", "button-text": "Knaptekst", @@ -5872,8 +6995,8 @@ "deleted": "Slettet", "delivery-method": { "delivery-method": "Leveringsmetode", - "email": "Email", - "email-preview": "Forhåndsvisning af emailnotifikation", + "email": "E-mail", + "email-preview": "Forhåndsvisning af e-mailnotifikation", "slack": "Slack", "slack-preview": "Forhåndsvisning af Slack-notifikation", "microsoft-teams": "Microsoft Teams", @@ -5889,7 +7012,7 @@ "delivery-method-not-configure-contact": "Leveringsmetode er ikke konfigureret. Kontakt din systemadministrator.", "delivery-methods": "Leveringsmetoder", "attach-report": "Vedhæft rapport", - "attach-report-hint": "Generér og vedhæft rapportfil til e-mail eller Slack-besked. Accepteres i øjeblikket kun for leveringsmetoderne 'Email' og 'Slack'.", + "attach-report-hint": "Generér og vedhæft rapportfil til e-mail eller Slack-besked. Accepteres i øjeblikket kun for leveringsmetoderne 'E-mail' og 'Slack'.", "description": "Beskrivelse", "device-activity-trigger-settings": "Indstillinger for udløser af enhedsaktivitet", "device-list-rule-hint": "Hvis feltet er tomt, anvendes udløseren på alle enheder", @@ -5897,14 +7020,14 @@ "disabled": "Deaktiveret", "edge-trigger-settings": "Indstillinger for Edge-udløser", "edge-list-rule-hint": "Hvis feltet er tomt, anvendes udløseren på alle Edge-instanser", - "edit-notification-recipients-group": "Rediger gruppe af modtagere", - "edit-notification-template": "Rediger notifikationsskabelon", - "edit-rule": "Rediger regel", - "edit-template": "Rediger skabelon", + "edit-notification-recipients-group": "Redigér gruppe af modtagere", + "edit-notification-template": "Redigér notifikationsskabelon", + "edit-rule": "Redigér regel", + "edit-template": "Redigér skabelon", "enabled": "Aktiveret", "entities-limit-trigger-settings": "Indstillinger for udløser ved entitetsgrænse", "entity-action-trigger-settings": "Indstillinger for udløser af entitetshandling", - "entity-type": "Enhedstype", + "entity-type": "Entitetstype", "escalation-chain": "Eskaleringskæde", "failed-send": "Fejl ved afsendelse", "fails": "{ count, plural, =1 {1 fejl} other {# fejl} }", @@ -5913,8 +7036,8 @@ "inactive": "Inaktiv", "inbox": "Indbakke", "notification-inbox": "Notifikationer / Indbakke", - "input-field-support-templatization": "Inputfelt understøtter templatization.", - "input-fields-support-templatization": "Inputfelter understøtter templatization.", + "input-field-support-templatization": "Inputfeltet understøtter skabelonvariabler.", + "input-fields-support-templatization": "Inputfelterne understøtter skabelonvariabler.", "integration-action-trigger-settings": "Indstillinger for udløser af integrationshændelser", "integration-list-rule-hint": "Hvis feltet er tomt, anvendes udløseren på alle integrationer", "link": "Link", @@ -5938,51 +7061,52 @@ "no-notification-request": "Ingen notifikationsanmodning", "no-notification-templates": "Ingen notifikationsskabeloner fundet", "no-notifications-yet": "Ingen notifikationer endnu", - "no-recipients-notification": "Ingen modtagere notifikation", + "no-recipients-notification": "Ingen modtagere", "no-recipients-matching": "Ingen modtagere matcher '{{entity}}'.", "no-recipients-text": "Ingen modtager fundet", "no-rule": "Ingen regel konfigureret", - "no-rules-notification": "Ingen regler notifikation", + "no-rules-notification": "Ingen notifikationsregler", "no-severity-found": "Ingen alvorlighed fundet", "no-severity-matching": "'{{severity}}' ikke fundet.", "no-template-matching": "Ingen ressource matcher '{{template}}'.", "create-new-template": "Opret en ny!", "not-found-slack-recipient": "Slack-modtager ikke fundet", "notification": "Notifikation", + "notifications": "Notifikationer", "notification-center": "Notifikationscenter", "notification-tap-action": "Handling ved tryk på notifikation", - "notification-tap-action-hint": "Hvis ikke aktiveret, anvendes standard dashboard for alarmer", + "notification-tap-action-hint": "Hvis ikke aktiveret, anvendes standarddashboardet for alarmer", "notify": "notificer", "notify-again": "Notificer igen", "notify-alarm-action": { - "acknowledged": "Alarm bekræftet", + "acknowledged": "Alarm kvitteret", "assigned": "Alarm tildelt", "cleared": "Alarm ryddet", "created": "Alarm oprettet", "severity-changed": "Alvorlighed ændret", - "unassigned": "Alarm ikke tildelt" + "unassigned": "Tildeling af alarm fjernet" }, "notify-on": "Notificer ved", "notify-on-comment-update": "Notificer ved kommentaropdatering", "notify-on-required": "Notificer ved er påkrævet", - "notify-on-unassign": "Notificer ved afkobling", + "notify-on-unassign": "Notificér ved fjernelse af tildeling", "notify-only-integrations-errors": "Notificer kun ved fejl", "notify-only-user-comments": "Notificer kun brugernes kommentarer", "only-rule-chain-lifecycle-failures": "Kun fejl i livscyklus for regelkæder", "only-rule-node-lifecycle-failures": "Kun fejl i livscyklus for regelnoder", "platform-users": "Platformbrugere", "ram-threshold": "RAM-grænseværdi", - "rate-limits": "Grænser for frekvens", - "rate-limits-hint": "Hvis feltet er tomt, anvendes udløseren på alle grænser for frekvens", + "rate-limits": "Hastighedsgrænser", + "rate-limits-hint": "Hvis feltet er tomt, anvendes udløseren på alle hastighedsgrænser", "recipient": "Modtager", "recipient-group": "Modtagergruppe", "recipient-type": { - "affected-tenant-administrators": "Berørte tenantadministratorer", + "affected-tenant-administrators": "Berørte lejeradministratorer", "affected-user": "Berørt bruger", "all-users": "Alle brugere", - "customer-users": "Kunde-brugere", + "customer-users": "Kundebrugere", "system-administrators": "Systemadministratorer", - "tenant-administrators": "Tenantadministratorer", + "tenant-administrators": "Lejeradministratorer", "user-filters": "Brugerfilter", "user-group-list": "Brugergruppeliste", "user-list": "Brugerliste", @@ -5995,7 +7119,7 @@ "notification-recipients": "Notifikationer / Modtagere", "recipients-count": "{ count, plural, =1 {1 modtager} other {# modtagere} }", "recipients-required": "Modtagere er påkrævet", - "refresh-allow-delivery-method": "Opdater tilladte leveringsmetoder", + "refresh-allow-delivery-method": "Opdatér tilladte leveringsmetoder", "request-search": "Søg i anmodninger", "request-status": { "processing": "Behandler", @@ -6005,13 +7129,13 @@ "review": "Gennemse", "rule": "Regel", "rule-chain-list-rule-hint": "Hvis feltet er tomt, anvendes udløseren på alle regelkæder", - "rule-engine-events-trigger-settings": "Indstillinger for udløser af regelmotorhændelser", - "rule-engine-filter": "Regelmotorfilter", + "rule-engine-events-trigger-settings": "Indstillinger for udløser af Rule Engine-hændelser", + "rule-engine-filter": "Rule Engine-filter", "rule-name": "Regelnavn", "rule-name-required": "Navn er påkrævet", - "rule-disable": "Deaktiver notifikationsregel", + "rule-disable": "Deaktivér notifikationsregel", "rule-enable": "Aktivér notifikationsregel", - "rule-node-filter": "Filtrér regelnoder", + "rule-node-filter": "Regelnodefilter", "rules": "Regler", "notification-rules": "Notifikationer / Regler", "scheduler-later": "Planlæg til senere", @@ -6052,17 +7176,19 @@ "alarm-comment": "Alarmkommentar", "api-usage-limit": "API-brugsgrænse", "device-activity": "Enhedsaktivitet", - "entities-limit": "Enhedsgrænse", + "entities-limit": "Entitetsgrænse", "entities-limit-increase-request": "Anmodning om øgning af entitetsgrænse", "addon-access-error": "Fejl ved adgang til tilføjelse/funktion", - "entity-action": "Enhedshandling", + "addon-access-request": "Anmodning om adgang til tilføjelse/funktion", + "plan-upgrade-request": "Anmodning om planopgradering", + "entity-action": "Entitetshandling", "general": "Generelt", "integration-lifecycle-event": "Livscyklushændelse for integration", "rule-engine-lifecycle-event": "Livscyklushændelse for Rule Engine", - "rule-node": "Rule node", + "rule-node": "Regelnode", "new-platform-version": "Ny platformversion", "rate-limits": "Overskredne hastighedsgrænser", - "edge-communication-failure": "Kommunikationsfejl på edge", + "edge-communication-failure": "Kommunikationsfejl på Edge", "edge-connection": "Edge-forbindelse", "task-processing-failure": "Fejl i opgavebehandling", "resources-shortage": "Mangel på ressourcer", @@ -6072,8 +7198,8 @@ }, "templates": "Skabeloner", "notification-templates": "Notifikationer / Skabeloner", - "tenant-profiles-list-rule-hint": "Hvis feltet er tomt, anvendes udløseren på alle tenant-profiler", - "tenants-list-rule-hint": "Hvis feltet er tomt, anvendes udløseren på alle tenants", + "tenant-profiles-list-rule-hint": "Hvis feltet er tomt, anvendes udløseren på alle lejerprofiler", + "tenants-list-rule-hint": "Hvis feltet er tomt, anvendes udløseren på alle lejere", "threshold": "Tærskel", "theme-color": "Temafarve", "time": "Tid", @@ -6084,18 +7210,18 @@ "alarm-comment": "Alarmkommentar", "api-usage-limit": "API-brugsgrænse", "device-activity": "Enhedsaktivitet", - "entities-limit": "Enhedsgrænse", - "entity-action": "Enhedshandling", + "entities-limit": "Entitetsgrænse", + "entity-action": "Entitetshandling", "integration-lifecycle-event": "Livscyklushændelse for integration", "rule-engine-lifecycle-event": "Livscyklushændelse for Rule Engine", "new-platform-version": "Ny platformversion", "rate-limits": "Overskredne hastighedsgrænser", "edge-connection": "Edge-forbindelse", - "edge-communication-failure": "Kommunikationsfejl på edge", + "edge-communication-failure": "Kommunikationsfejl på Edge", "task-processing-failure": "Fejl i opgavebehandling", "resources-shortage": "Mangel på ressourcer", "trigger": "Trigger", - "trigger-required": "Trigger er påkrævet" + "trigger-required": "Udløser er påkrævet" }, "type": "Type", "unread": "Ulæst", @@ -6109,9 +7235,9 @@ "view-rule": "Se regel", "warning": "Advarsel", "webhook-url": "Webhook URL", - "webhook-url-required": "Webhook URL er påkrævet", + "webhook-url-required": "Webhook-URL er påkrævet", "workflow-url": "Workflow URL", - "workflow-url-required": "Workflow URL er påkrævet", + "workflow-url-required": "Workflow-URL er påkrævet", "channel-name": "Kanalnavn", "channel-name-required": "Kanalnavn er påkrævet", "settings": { @@ -6121,7 +7247,7 @@ "reset-all-text": "Efter bekræftelse vil indstillingsformularen blive nulstillet til standardværdien og gemt.", "type": "Type", "enable-all": "Aktivér alle", - "disable-all": "Deaktiver alle", + "disable-all": "Deaktivér alle", "delivery-not-configured": "Leveringsmetode er ikke konfigureret" } }, @@ -6164,11 +7290,11 @@ "file-size": "Filstørrelse", "file-size-bytes": "Filstørrelse i bytes", "idCopiedMessage": "Pakke-ID er blevet kopieret til udklipsholderen", - "no-firmware-matching": "Ingen kompatible firmware OTA-opdateringspakker fundet, der matcher '{{entity}}'.", - "no-firmware-text": "Ingen kompatible firmware OTA-opdateringspakker tilgængelige.", + "no-firmware-matching": "Der blev ikke fundet kompatible firmwarepakker til OTA-opdatering, der matcher '{{entity}}'.", + "no-firmware-text": "Ingen kompatible firmwarepakker til OTA-opdatering er tilgængelige.", "no-packages-text": "Ingen pakker fundet", - "no-software-matching": "Ingen kompatible software OTA-opdateringspakker fundet, der matcher '{{entity}}'.", - "no-software-text": "Ingen kompatible software OTA-opdateringspakker tilgængelige.", + "no-software-matching": "Der blev ikke fundet kompatible softwarepakker til OTA-opdatering, der matcher '{{entity}}'.", + "no-software-text": "Ingen kompatible softwarepakker til OTA-opdatering er tilgængelige.", "ota-update": "OTA-opdatering", "ota-update-details": "OTA-opdateringsdetaljer", "ota-updates": "OTA-opdateringer", @@ -6195,7 +7321,7 @@ }, "position": { "top": "Top", - "bottom": "Bund", + "bottom": "Nederst", "left": "Venstre", "right": "Højre" }, @@ -6224,41 +7350,41 @@ "username-required": "Brugernavn er påkrævet", "ca-cert": "CA-certifikat", "2fa": { - "2fa": "To-faktor autentificering", - "2fa-description": "To-faktor autentificering beskytter din konto mod uautoriseret adgang. Du skal blot indtaste en sikkerhedskode ved login.", + "2fa": "Tofaktorgodkendelse", + "2fa-description": "Tofaktorgodkendelse beskytter din konto mod uautoriseret adgang. Du skal blot indtaste en sikkerhedskode ved login.", "authenticate-with": "Du kan autentificere med:", "disable-2fa-provider-text": "Deaktivering af {{name}} vil gøre din konto mindre sikker", "disable-2fa-provider-title": "Er du sikker på, at du vil deaktivere {{name}}?", "get-new-code": "Få ny kode", - "main-2fa-method": "Brug som hovedmetode til to-faktor autentificering", + "main-2fa-method": "Brug som primær metode til tofaktorgodkendelse", "dialog": { "activation-step-description-email": "Næste gang du logger ind, vil du blive bedt om at indtaste den sikkerhedskode, der bliver sendt til din e-mailadresse.", "activation-step-description-sms": "Næste gang du logger ind, vil du blive bedt om at indtaste den sikkerhedskode, der bliver sendt til telefonnummeret.", - "activation-step-description-totp": "Næste gang du logger ind, skal du indtaste en to-faktor autentificeringskode.", + "activation-step-description-totp": "Næste gang du logger ind, skal du indtaste en tofaktorgodkendelseskode.", "activation-step-label": "Aktivering", - "backup-code-description": "Udskriv koderne, så du har dem ved hånden, når du skal logge ind. Du kan kun bruge hver sikkerhedskode én gang.", - "backup-code-warn": "Når du forlader denne side, kan disse koder ikke vises igen. Gem dem sikkert.", + "backup-code-description": "Udskriv koderne, så du har dem ved hånden, når du skal bruge dem til at logge ind på din konto. Du kan bruge hver backupkode én gang.", + "backup-code-warn": "Når du forlader denne side, kan disse koder ikke vises igen. Opbevar dem sikkert ved hjælp af mulighederne nedenfor.", "download-txt": "Download (txt)", - "email-step-description": "Indtast en e-mail, der skal bruges som autentifikator.", + "email-step-description": "Indtast en e-mail, der skal bruges som godkendelsesmetode.", "email-step-label": "E-mail", - "enable-email-title": "Aktiver e-mail autentificering", - "enable-sms-title": "Aktiver SMS autentificering", - "enable-totp-title": "Aktiver autentificeringsapp", + "enable-email-title": "Aktivér e-mail-godkendelse", + "enable-sms-title": "Aktivér SMS-godkendelse", + "enable-totp-title": "Aktivér godkendelsesapp", "enter-verification-code": "Indtast 6-cifret kode her", - "get-backup-code-title": "Få sikkerhedskode", + "get-backup-code-title": "Hent backupkoder", "next": "Næste", - "scan-qr-code": "Scan denne QR-kode med din autentificeringsapp", + "scan-qr-code": "Scan denne QR-kode med din godkendelsesapp", "send-code": "Send kode", - "sms-step-description": "Indtast et telefonnummer til autentificering.", + "sms-step-description": "Indtast et telefonnummer, der skal bruges som godkendelsesmetode.", "sms-step-label": "Telefonnummer", "success": "Succes!", "totp-step-description-install": "Du kan installere apps som Google Authenticator, Authy eller Duo.", "totp-step-description-open": "Åbn autentificeringsappen på din mobiltelefon.", "totp-step-label": "Hent app", "verification-code": "6-cifret kode", - "verification-code-invalid": "Ugyldigt kodeformat", - "verification-code-incorrect": "Forkert verificeringskode", - "verification-code-many-request": "For mange forsøg, tjek verificeringskode", + "verification-code-invalid": "Ugyldigt format for verifikationskode", + "verification-code-incorrect": "Verifikationskoden er forkert", + "verification-code-many-request": "For mange anmodninger om at kontrollere verifikationskoden", "verification-step-description": "Indtast en 6-cifret kode, vi netop har sendt til {{address}}", "verification-step-label": "Verificering" }, @@ -6272,7 +7398,7 @@ "totp": "Autentificeringsapp", "totp-description": "Brug apps som Google Authenticator, Authy eller Duo til autentificering. De genererer en sikkerhedskode til login.", "totp-hint": "Autentificeringsapp er opsat for din konto", - "backup_code": "Sikkerhedskode", + "backup_code": "Backupkode", "backup-code-description": "Disse udskrivbare engangskoder giver dig mulighed for at logge ind, når du ikke har din telefon.", "backup-code-hint": "{{ info }} engangskoder er aktive på nuværende tidspunkt" } @@ -6281,8 +7407,8 @@ "at-least": "Mindst:", "character": "{ count, plural, =1 {1 tegn} other {# tegn} }", "digit": "{ count, plural, =1 {1 ciffer} other {# cifre} }", - "password-tooltip-min-length": "Mindst {{minimumLength}} tegn langt", - "password-tooltip-max-length": "Højst {{maximumLength}} tegn langt", + "password-tooltip-min-length": "Mindst {{minimumLength}} tegn lang", + "password-tooltip-max-length": "Højst {{maximumLength}} tegn lang", "password-tooltip-uppercase": "{{minimumUppercaseLetters}} stort bogstav", "password-tooltip-lowercase": "{{minimumLowercaseLetters}} lille bogstav", "password-tooltip-digit": "{{minimumDigits}} tal", @@ -6315,28 +7441,28 @@ "to-relations": "Indgående relationer", "selected-relations": "{ count, plural, =1 {1 relation} other {# relationer} } valgt", "type": "Type", - "to-entity-type": "Til enhedstype", - "to-entity-name": "Til enhedsnavn", - "from-entity-type": "Fra enhedstype", - "from-entity-name": "Fra enhedsnavn", - "to-entity": "Til enhed", - "from-entity": "Fra enhed", + "to-entity-type": "Til entitetstype", + "to-entity-name": "Til entitetsnavn", + "from-entity-type": "Fra entitetstype", + "from-entity-name": "Fra entitetsnavn", + "to-entity": "Til entitet", + "from-entity": "Fra entitet", "delete": "Slet relation", "relation-type": "Relationstype", "relation-type-required": "Relationstype er påkrævet.", "relation-type-max-length": "Relationstype skal være mindre end 256 tegn", "any-relation-type": "Enhver type", "add": "Tilføj relation", - "edit": "Rediger relation", + "edit": "Redigér relation", "view": "Vis relation", - "delete-to-relation-title": "Er du sikker på, at du vil slette relationen til enheden '{{entityName}}'?", - "delete-to-relation-text": "Vær forsigtig, efter bekræftelsen vil enheden '{{entityName}}' ikke længere være relateret til den aktuelle enhed.", + "delete-to-relation-title": "Er du sikker på, at du vil slette relationen til entiteten '{{entityName}}'?", + "delete-to-relation-text": "Vær forsigtig, efter bekræftelsen vil entiteten '{{entityName}}' ikke længere være relateret til den aktuelle entitet.", "delete-to-relations-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 relation} other {# relationer} }?", - "delete-to-relations-text": "Vær forsigtig, efter bekræftelsen vil alle valgte relationer blive fjernet, og de tilsvarende enheder vil ikke længere være relateret.", - "delete-from-relation-title": "Er du sikker på, at du vil slette relationen fra enheden '{{entityName}}'?", - "delete-from-relation-text": "Vær forsigtig, efter bekræftelsen vil den aktuelle enhed ikke længere være relateret til enheden '{{entityName}}'.", + "delete-to-relations-text": "Vær forsigtig, efter bekræftelsen vil alle valgte relationer blive fjernet, og de tilsvarende entiteter vil ikke længere være relateret.", + "delete-from-relation-title": "Er du sikker på, at du vil slette relationen fra entiteten '{{entityName}}'?", + "delete-from-relation-text": "Vær forsigtig, efter bekræftelsen vil den aktuelle entitet ikke længere være relateret til entiteten '{{entityName}}'.", "delete-from-relations-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 relation} other {# relationer} }?", - "delete-from-relations-text": "Vær forsigtig, efter bekræftelsen vil alle valgte relationer blive fjernet, og den aktuelle enhed vil ikke længere være relateret til de tilsvarende enheder.", + "delete-from-relations-text": "Vær forsigtig, efter bekræftelsen vil alle valgte relationer blive fjernet, og den aktuelle entitet vil ikke længere være relateret til de tilsvarende entiteter.", "remove-relation-filter": "Fjern relationsfilter", "remove-filter": "Fjern filter", "add-relation-filter": "Tilføj relationsfilter", @@ -6367,13 +7493,14 @@ "idCopiedMessage": "Ressource-ID er kopieret til udklipsholderen", "no-resource-matching": "Ingen ressource matcher '{{widgetsBundle}}'", "no-resource-text": "Ingen ressourcer fundet", - "open-widgets-bundle": "Åbn widgets bundle", + "open-widgets-bundle": "Åbn widgetpakke", "resource": "Ressource", "resource-file": "Ressourcefil", "resource-files": "Ressourcefiler", "resource-library-details": "Ressourcedetaljer", "resource-type": "Ressourcetype", "resources-library": "Ressourcebibliotek", + "files": "Filer", "search": "Søg ressourcer", "selected-resources": "{ count, plural, =1 {1 ressource} other {# ressourcer} } valgt", "system": "System", @@ -6405,9 +7532,9 @@ "delete": "Slet JavaScript-ressource", "delete-javascript-resource-text": "Vær forsigtig, efter bekræftelsen vil JavaScript-ressourcen ikke kunne gendannes.", "delete-javascript-resource-title": "Er du sikker på, at du vil slette JavaScript-ressourcen '{{resourceTitle}}'?", - "delete-javascript-resources-action-title": "Slet JavaScript { count, plural, =1 {1 ressource} other {# ressourcer} }", + "delete-javascript-resources-action-title": "Slet { count, plural, =1 {1 JavaScript-ressource} other {# JavaScript-ressourcer} }", "delete-javascript-resources-text": "Bemærk, at de valgte JavaScript-ressourcer, selv hvis de bruges i JavaScript-funktioner, vil blive slettet.", - "delete-javascript-resources-title": "Er du sikker på, at du vil slette JavaScript { count, plural, =1 {1 ressource} other {# ressourcer} }?", + "delete-javascript-resources-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 JavaScript-ressource} other {# JavaScript-ressourcer} }?", "delete-javascript-resource-in-use-text": "Hvis du stadig ønsker at slette JavaScript-ressourcen, skal du klikke på knappen Slet alligevel.", "download": "Download JavaScript-ressource", "upload-from-file": "Upload JavaScript fra fil", @@ -6416,11 +7543,13 @@ "drop-resource-file-or": "Træk og slip en JavaScript-fil eller", "javascript-library": "JavaScript-bibliotek", "javascript-type": "JavaScript-type", - "javascript-resource-details": "JavaScript-resourcedetaljer", - "javascript-resource-is-in-use": "JavaScript-ressourcen bruges af andre enheder", - "javascript-resources-are-in-use": "JavaScript-ressourcer bruges af andre enheder", - "javascript-resource-is-in-use-text": "JavaScript-ressourcen '{{title}}' blev ikke slettet, fordi den bruges af følgende enheder:", - "javascript-resources-are-in-use-text": "Ikke alle JavaScript-ressourcer er blevet slettet, fordi de bruges af andre enheder.
    Du kan se refererede enheder ved at klikke på knappen Referencer i den tilsvarende ressource-række.
    Hvis du stadig ønsker at slette disse JavaScript-ressourcer, skal du vælge dem i tabellen nedenfor og klikke på knappen Slet valgte.", + "scripts": "Scripts", + "script-type": "Scripttype", + "javascript-resource-details": "JavaScript-ressourcedetaljer", + "javascript-resource-is-in-use": "JavaScript-ressourcen bruges af andre entiteter", + "javascript-resources-are-in-use": "JavaScript-ressourcer bruges af andre entiteter", + "javascript-resource-is-in-use-text": "JavaScript-ressourcen '{{title}}' blev ikke slettet, fordi den bruges af følgende entiteter:", + "javascript-resources-are-in-use-text": "Ikke alle JavaScript-ressourcer er blevet slettet, fordi de bruges af andre entiteter.
    Du kan se refererede entiteter ved at klikke på knappen Referencer i den tilsvarende ressourcerække.
    Hvis du stadig ønsker at slette disse JavaScript-ressourcer, skal du vælge dem i tabellen nedenfor og klikke på knappen Slet valgte.", "search": "Søg JavaScript-ressourcer", "selected-javascript-resources": "{ count, plural, =1 {1 JavaScript-ressource} other {# JavaScript-ressourcer} } valgt", "no-javascript-resource-text": "Ingen JavaScript-ressourcer fundet", @@ -6430,7 +7559,7 @@ "rpc": { "error": { "target-device-is-not-set": "Målenhed er ikke angivet!", - "invalid-target-entity": "RPC-kommandoer understøttes ikke af {{entityType}}-enheden.", + "invalid-target-entity": "RPC-kommandoer understøttes ikke af {{entityType}}-entiteten.", "failed-to-resolve-target-device": "Kunne ikke finde målenhed!", "request-timeout": "Forespørgsels-timeout", "rpc-http-error": "Fejl: {{status}} - {{statusText}}" @@ -6438,7 +7567,7 @@ }, "rulechain": { "rulechain": "Regelkæde", - "rulechain-events": "Regelkædebegivenheder", + "rulechain-events": "Regelkædehændelser", "rulechains": "Regelkæder", "root": "Rod", "delete": "Slet regelkæde", @@ -6451,68 +7580,79 @@ "set-root-rulechain-title": "Er du sikker på, at du vil gøre regelkæden '{{ruleChainName}}' til rod?", "set-root-rulechain-text": "Efter bekræftelsen bliver regelkæden rod og håndterer alle indkommende transportbeskeder.", "delete-rulechain-title": "Er du sikker på, at du vil slette regelkæden '{{ruleChainName}}'?", - "delete-rulechain-text": "Vær forsigtig, efter bekræftelsen bliver regelkæden og alle relaterede data uoprettelige.", + "delete-rulechain-text": "Vær forsigtig, efter bekræftelsen kan regelkæden og alle relaterede data ikke gendannes.", "delete-rulechains-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 regelkæde} other {# regelkæder} }?", "delete-rulechains-action-title": "Slet { count, plural, =1 {1 regelkæde} other {# regelkæder} }", - "delete-rulechains-text": "Vær forsigtig, efter bekræftelsen bliver alle valgte regelkæder og alle relaterede data uoprettelige.", + "delete-rulechains-text": "Vær forsigtig, efter bekræftelsen bliver alle valgte regelkæder fjernet, og alle relaterede data kan ikke gendannes.", "add-rulechain-text": "Tilføj ny regelkæde", "no-rulechains-text": "Ingen regelkæder fundet", - "rulechain-details": "Regelkæde detaljer", + "rulechain-details": "Regelkædedetaljer", "details": "Detaljer", - "events": "Begivenheder", + "events": "Hændelser", "system": "System", - "import": "Importer regelkæde", - "export": "Eksporter regelkæde", + "import": "Importér regelkæde", + "export": "Eksportér regelkæde", "export-failed-error": "Kan ikke eksportere regelkæde: {{error}}", "create-new-rulechain": "Opret ny regelkæde", "rulechain-file": "Regelkædefil", "invalid-rulechain-file-error": "Kan ikke importere regelkæde: Ugyldig datastruktur.", + "rulechain-not-found-warning": "Standardregelkæden blev ikke fundet. Profilen blev gemt uden en — du kan tildele den i profilindstillingerne.", "copyId": "Kopiér regelkæde-ID", "idCopiedMessage": "Regelkæde-ID er kopieret til udklipsholderen", "select-rulechain": "Vælg regelkæde", "no-rulechains-matching": "Ingen regelkæder, der matcher '{{entity}}', blev fundet.", "rulechain-required": "Regelkæde er påkrævet", "management": "Regelstyring", - "debug-mode": "Fejlsøgningstilstand", + "debug-mode": "Fejlfindingstilstand", "search": "Søg regelkæder", "selected-rulechains": "{ count, plural, =1 {1 regelkæde} other {# regelkæder} } valgt", "open-rulechain": "Åbn regelkæde", "edge-template-root": "Skabelonrod", - "assign-to-edge": "Tildel til edge", - "edge-rulechain": "Edge regelkæde", - "unassign-rulechain-from-edge-text": "Efter bekræftelsen vil regelkæden blive fjernet og vil ikke være tilgængelig for edge.", + "assign-to-edge": "Tildel til Edge", + "edge-rulechain": "Edge-regelkæde", + "unassign-rulechain-from-edge-text": "Efter bekræftelsen vil tildelingen af regelkæden blive fjernet, og den vil ikke være tilgængelig for Edge.", "unassign-rulechains-from-edge-title": "Er du sikker på, at du vil fjerne tildelingen af { count, plural, =1 {1 regelkæde} other {# regelkæder} }?", - "unassign-rulechains-from-edge-text": "Efter bekræftelsen vil alle valgte regelkæder blive fjernet og vil ikke være tilgængelige for edge.", - "assign-rulechain-to-edge-title": "Tildel regelkæde(r) til edge", - "assign-rulechain-to-edge-text": "Vælg regelkæder, der skal tildeles til edge", - "set-edge-template-root-rulechain": "Gør regelkæde til edge-skabelonrod", - "set-edge-tscheduler-eventemplate-root-rulechain": "Gør regelkæde til edge-skabelonrod", - "set-edge-template-root-rulechain-title": "Er du sikker på, at du vil gøre regelkæden '{{ruleChainName}}' til edge-skabelonrod?", - "set-edge-template-root-rulechain-text": "Efter bekræftelsen vil regelkæden blive skabelonrod og være root regelkæde for nyoprettede edges.", + "unassign-rulechains-from-edge-text": "Efter bekræftelsen vil tildelingen af alle valgte regelkæder blive fjernet, og de vil ikke være tilgængelige for Edge.", + "assign-rulechain-to-edge-title": "Tildel regelkæde(r) til Edge", + "assign-rulechain-to-edge-text": "Vælg de regelkæder, der skal tildeles Edge", + "set-edge-template-root-rulechain": "Gør regelkæde til Edge-skabelonrod", + "set-edge-tscheduler-eventemplate-root-rulechain": "Gør regelkæde til Edge-skabelonrod", + "set-edge-template-root-rulechain-title": "Er du sikker på, at du vil gøre regelkæden '{{ruleChainName}}' til Edge-skabelonrod?", + "set-edge-template-root-rulechain-text": "Efter bekræftelsen bliver regelkæden Edge-skabelonrod og rodregelkæde for nyoprettede Edge-instanser.", "invalid-rulechain-type-error": "Kan ikke importere regelkæde: Ugyldig type. Forventet type er {{expectedRuleChainType}}.", - "set-auto-assign-to-edge": "Tildel regelkæde automatisk til edge ved oprettelse", - "set-auto-assign-to-edge-title": "Er du sikker på, at du vil tildele regelkæden '{{ruleChainName}}' automatisk til edge ved oprettelse?", - "set-auto-assign-to-edge-text": "Efter bekræftelsen vil regelkæden automatisk blive tildelt til edge ved oprettelse.", - "unset-auto-assign-to-edge": "Tildel ikke regelkæde til edge ved oprettelse", - "unset-auto-assign-to-edge-title": "Er du sikker på, at du ikke vil tildele regelkæden '{{ruleChainName}}' automatisk til edge ved oprettelse?", - "unset-auto-assign-to-edge-text": "Efter bekræftelsen vil regelkæden ikke længere blive tildelt automatisk til edge ved oprettelse.", + "set-auto-assign-to-edge": "Tildel regelkæde automatisk til Edge ved oprettelse", + "set-auto-assign-to-edge-title": "Er du sikker på, at du vil tildele regelkæden '{{ruleChainName}}' automatisk til Edge ved oprettelse?", + "set-auto-assign-to-edge-text": "Efter bekræftelsen vil regelkæden automatisk blive tildelt Edge ved oprettelse.", + "unset-auto-assign-to-edge": "Tildel ikke regelkæde til Edge ved oprettelse", + "unset-auto-assign-to-edge-title": "Er du sikker på, at du ikke vil tildele regelkæden '{{ruleChainName}}' automatisk til Edge ved oprettelse?", + "unset-auto-assign-to-edge-text": "Efter bekræftelsen vil regelkæden ikke længere blive tildelt Edge automatisk ved oprettelse.", "unassign-rulechain-title": "Er du sikker på, at du vil fjerne tildelingen af regelkæden '{{ruleChainName}}'?", - "unassign-rulechains": "Fjern tildeling af regelkæder" + "unassign-rulechains": "Fjern tildeling af regelkæder", + "add-note": "Tilføj note", + "paste-note": "Indsæt note", + "note": "Note", + "edit-note": "Redigér note", + "note-content": "Markdown/HTML-indhold", + "note-details": "Notedetaljer", + "note-background-color": "Baggrundsfarve", + "note-border": "Kant", + "note-apply-default-markdown-style": "Anvend standardstil for Markdown", + "note-custom-css": "CSS for noteindhold" }, "rulenode": { - "rule-node-events": "Regel node begivenheder", + "rule-node-events": "Regelnodehændelser", "details": "Detaljer", - "events": "Begivenheder", + "events": "Hændelser", "search": "Søg noder", "open-node-library": "Åbn nodebibliotek", "close-node-library": "Luk nodebibliotek", - "add": "Tilføj regel node", + "add": "Tilføj regelnode", "name": "Navn", "name-required": "Navn er påkrævet.", "name-max-length": "Navnet skal være mindre end 256 tegn", "type": "Type", - "rule-node-description": "Beskrivelse af regel node", - "delete": "Slet regel node", + "rule-node-description": "Beskrivelse af regelnode", + "delete": "Slet regelnode", "select-all-objects": "Vælg alle noder og forbindelser", "deselect-all-objects": "Fravælg alle noder og forbindelser", "delete-selected-objects": "Slet valgte noder og forbindelser", @@ -6521,12 +7661,12 @@ "select-all": "Vælg alle", "copy-selected": "Kopiér valgte", "deselect-all": "Fravælg alle", - "rulenode-details": "Regel node detaljer", - "debug-mode": "Fejlsøgningstilstand", + "rulenode-details": "Regelnodedetaljer", + "debug-mode": "Fejlfindingstilstand", "singleton": "Singleton", "configuration": "Konfiguration", "link": "Forbindelse", - "link-details": "Detaljer for regel node forbindelse", + "link-details": "Detaljer for regelnodeforbindelse", "add-link": "Tilføj forbindelse", "link-label": "Forbindelsesetiket", "link-label-required": "Forbindelsesetiket er påkrævet.", @@ -6538,7 +7678,7 @@ "no-link-label-matching": "'{{label}}' blev ikke fundet.", "create-new-link-label": "Opret en ny!", "type-filter": "Filter", - "type-filter-details": "Filtrer indkommende beskeder med konfigurerede betingelser", + "type-filter-details": "Filtrér indkommende beskeder med konfigurerede betingelser", "type-enrichment": "Berigelse", "type-enrichment-details": "Tilføj yderligere information til metadata", "type-transformation": "Transformation", @@ -6556,11 +7696,11 @@ "type-input": "Input", "type-input-details": "Logisk input til regelkæde, videresender beskeder til næste node", "type-unknown": "Ukendt", - "type-unknown-details": "Uafklaret regel node", + "type-unknown-details": "Uafklaret regelnode", "directive-is-not-loaded": "Konfigurationsdirektiv '{{directiveName}}' er ikke tilgængeligt.", - "ui-resources-load-error": "Kunne ikke indlæse brugerflade konfigurationsressourcer.", - "invalid-target-rulechain": "Kunne ikke bestemme målregel kæde!", - "test-script-function": "Test script funktion", + "ui-resources-load-error": "Kunne ikke indlæse UI-ressourcer til konfigurationen.", + "invalid-target-rulechain": "Kunne ikke bestemme målregelkæde!", + "test-script-function": "Test scriptfunktion", "script-lang-java-script": "JavaScript", "script-lang-tbel": "TBEL", "script-lang-js": "JS", @@ -6569,11 +7709,11 @@ "select-message-type": "Vælg beskedtype", "message-type-required": "Beskedtype er påkrævet", "metadata": "Metadata", - "metadata-required": "Metadata poster må ikke være tomme.", + "metadata-required": "Metadataposter må ikke være tomme.", "output": "Output", "test": "Test", "help": "Hjælp", - "reset-debug-settings": "Nulstil fejlsøgningsindstillinger i alle noder", + "reset-debug-settings": "Nulstil fejlfindingsindstillinger i alle noder", "test-with-this-message": "{{test}} med denne besked", "queue-hint": "Vælg en kø til videresendelse. Standardkøen 'Main' anvendes som udgangspunkt.", "queue-singleton-hint": "Vælg en kø til videresendelse i miljøer med flere instanser. Standardkøen 'Main' anvendes som udgangspunkt." @@ -6582,45 +7722,45 @@ "id": "Id", "additional-info": "Yderligere info", "advanced-settings": "Avancerede indstillinger", - "create-entity-if-not-exists": "Opret ny enhed hvis den ikke findes", - "create-entity-if-not-exists-hint": "Hvis aktiveret, oprettes en ny enhed med de angivne parametre, medmindre den allerede eksisterer. Eksisterende enheder bruges som de er til relation.", + "create-entity-if-not-exists": "Opret ny entitet hvis den ikke findes", + "create-entity-if-not-exists-hint": "Hvis aktiveret, oprettes en ny entitet med de angivne parametre, medmindre den allerede eksisterer. Eksisterende entiteter bruges som de er til relation.", "select-device-connectivity-event": "Vælg enhedens forbindelseshændelse", - "entity-name-pattern": "Navnmønster", + "entity-name-pattern": "Navnemønster", "device-name-pattern": "Enhedsnavn", "asset-name-pattern": "Aktivnavn", - "entity-view-name-pattern": "Enhedsvisningsnavn", + "entity-view-name-pattern": "Entitetsvisningsnavn", "customer-title-pattern": "Kundens titel", - "dashboard-name-pattern": "Dashboard titel", + "dashboard-name-pattern": "Dashboard-titel", "user-name-pattern": "Brugerens e-mail", "edge-name-pattern": "Edge-navn", - "entity-name-pattern-required": "Navnmønster er påkrævet", - "entity-name-pattern-hint": "Navnmønsterfeltet understøtter templatisering. Brug $[messageKey] for at hente værdi fra besked og ${metadataKey} for at hente værdi fra metadata.", + "entity-name-pattern-required": "Navnemønster er påkrævet", + "entity-name-pattern-hint": "Feltet Navnemønster understøtter skabelonvariabler. Brug $[messageKey] til at hente en værdi fra beskeden og ${metadataKey} til at hente en værdi fra metadata.", "copy-message-type": "Kopiér beskedtype", "entity-type-pattern": "Typemønster", "entity-type-pattern-required": "Typemønster er påkrævet", "message-type-value": "Beskedtypeværdi", "message-type-value-required": "Beskedtypeværdi er påkrævet", "message-type-value-max-length": "Beskedtypeværdi må være under 256 tegn", - "output-message-type": "Output beskedtype", - "entity-cache-expiration": "Cache udløbstid for enheder (sek)", - "entity-cache-expiration-hint": "Angiver maksimumsinterval for at gemme fundne enhedsoptegnelser. 0 betyder, at de aldrig udløber.", - "entity-cache-expiration-required": "Cache udløbstid for enheder er påkrævet.", - "entity-cache-expiration-range": "Udløbstiden skal være ≥ 0.", + "output-message-type": "Beskedtype for output", + "entity-cache-expiration": "Cacheudløbstid for entiteter (sek)", + "entity-cache-expiration-hint": "Angiver maksimumsinterval for at gemme fundne entitetsoptegnelser. 0 betyder, at de aldrig udløber.", + "entity-cache-expiration-required": "Cacheudløbstid for entiteter er påkrævet.", + "entity-cache-expiration-range": "Udløbstiden for entitetscachen skal være større end eller lig med 0.", "customer-name-pattern": "Kundens titel", - "customer-name-pattern-required": "Kundens titel er påkrævet", - "customer-name-pattern-hint": "Brug $[messageKey] eller ${metadataKey} for at hente værdier.", + "customer-name-pattern-required": "Kundetitel er påkrævet", + "customer-name-pattern-hint": "Brug $[messageKey] til at hente en værdi fra beskeden og ${metadataKey} til at hente en værdi fra metadata.", "create-customer-if-not-exists": "Opret ny kunde hvis den ikke findes", "unassign-from-customer": "Fjern tildeling fra kunde hvis afsender er dashboard", - "unassign-from-customer-tooltip": "Kun dashboards kan tildeles flere kunder. Angiv kundens titel for at fjerne tildelingen.", - "customer-cache-expiration": "Cache udløbstid for kunder (sek)", - "customer-cache-expiration-hint": "Angiver maksimumsinterval for gemte kundedata. 0 = aldrig udløber.", - "customer-cache-expiration-required": "Cache udløbstid for kunder er påkrævet.", - "customer-cache-expiration-range": "Udløbstiden skal være ≥ 0.", + "unassign-from-customer-tooltip": "Kun dashboards kan tildeles flere kunder på én gang. \nHvis beskedens afsender er et dashboard, skal du udtrykkeligt angive titlen på den kunde, tildelingen skal fjernes fra.", + "customer-cache-expiration": "Udløbstid for kundecache (sek)", + "customer-cache-expiration-hint": "Angiver det maksimale tidsrum, fundne kundeposter må gemmes. Værdien 0 betyder, at posterne aldrig udløber.", + "customer-cache-expiration-required": "Udløbstid for kundecache er påkrævet.", + "customer-cache-expiration-range": "Udløbstiden for kundecachen skal være større end eller lig med 0.", "interval-start": "Start af interval", "interval-end": "Intervalslut", "time-unit": "Tidsenhed", "fetch-mode": "Hentemåde", - "order-by-timestamp": "Sorter efter tidsstempel", + "order-by-timestamp": "Sortér efter tidsstempel", "limit": "Grænse", "limit-hint": "Min. grænseværdi er 2, maks. 1000. Hvis du vil hente én enkelt post, skal du vælge hentemåde 'Første' eller 'Sidste'.", "limit-required": "Grænse er påkrævet.", @@ -6634,8 +7774,8 @@ "start-interval-value-required": "Intervalstart er påkrævet.", "end-interval-value-required": "Intervalslut er påkrævet.", "filter": "Filter", - "switch": "Skift", - "math-templatization-tooltip": "Understøtter templatisering via $[messageKey] og ${metadataKey}.", + "switch": "Switch", + "math-templatization-tooltip": "Feltet understøtter skabelonvariabler. Brug $[messageKey] til at hente en værdi fra beskeden og ${metadataKey} til at hente en værdi fra metadata.", "add-message-type": "Tilføj beskedtype", "select-message-types-required": "Mindst én beskedtype skal vælges.", "select-message-types": "Vælg beskedtyper", @@ -6648,21 +7788,21 @@ "server-attributes": "Serverattributter", "attributes-keys": "Attributnøgler", "attributes-keys-required": "Attributnøgler er påkrævede", - "attributes-scope": "Attributområde", - "attributes-scope-value": "Attributområdeværdi", - "attributes-scope-value-copy": "Kopiér attributområdeværdi", - "attributes-scope-hint": "Brug metadata 'scope' for at sætte attributområde dynamisk.", + "attributes-scope": "Attributomfang", + "attributes-scope-value": "Attributomfangsværdi", + "attributes-scope-value-copy": "Kopiér attributomfangsværdi", + "attributes-scope-hint": "Brug metadatanøglen 'scope' til dynamisk at angive attributomfanget pr. besked. Hvis den er angivet, tilsidesætter den omfanget i konfigurationen.", "notify-device": "Tving besked til enheden", - "send-attributes-updated-notification": "Send opdateringsbesked for attributter", - "send-attributes-updated-notification-hint": "Sender besked om opdaterede attributter til Rule Engine køen.", + "send-attributes-updated-notification": "Send besked om opdaterede attributter", + "send-attributes-updated-notification-hint": "Sender besked om opdaterede attributter til Rule Engine-køen.", "send-attributes-deleted-notification": "Send sletningsbesked for attributter", - "send-attributes-deleted-notification-hint": "Sender besked om slettede attributter til Rule Engine køen.", + "send-attributes-deleted-notification-hint": "Sender besked om slettede attributter til Rule Engine-køen.", "update-attributes-only-on-value-change": "Opdatér kun attributter ved værdiændring", - "update-attributes-only-on-value-change-hint": "Opdaterer altid, hvilket øger API-brug og reducerer ydeevne.", - "update-attributes-only-on-value-change-hint-enabled": "Opdaterer kun ved ændret værdi. Ellers ingen tidsstempel- eller notifikationsopdatering.", + "update-attributes-only-on-value-change-hint": "Opdaterer attributterne ved hver indgående besked, uanset om værdien er ændret. Det øger API-forbruget og reducerer ydeevnen.", + "update-attributes-only-on-value-change-hint-enabled": "Opdaterer kun attributterne, hvis værdien er ændret. Hvis værdien ikke er ændret, opdateres attributtens tidsstempel ikke, og der sendes ingen notifikation om ændring af attributten.", "fetch-credentials-to-metadata": "Hent legitimationsoplysninger til metadata", - "notify-device-on-update-hint": "Styrer tvungen notifikation eller baseret på metadata-parametre.", - "notify-device-on-delete-hint": "Styrer tvungen notifikation eller baseret på metadata-parametre.", + "notify-device-on-update-hint": "Hvis aktiveret, sendes der altid en notifikation til enheden om opdatering af delte attributter. Hvis deaktiveret, styres notifikationen af parameteren 'notifyDevice' i den indgående beskeds metadata. For at slå notifikationen fra skal metadataene indeholde parameteren 'notifyDevice' med værdien 'false'. I alle andre tilfælde sendes notifikationen til enheden.", + "notify-device-on-delete-hint": "Hvis aktiveret, sendes der altid en notifikation til enheden om fjernelse af delte attributter. Hvis deaktiveret, styres notifikationen af parameteren 'notifyDevice' i den indgående beskeds metadata. For at slå notifikationen til skal metadataene indeholde parameteren 'notifyDevice' med værdien 'true'. I alle andre tilfælde sendes der ingen notifikation til enheden.", "latest-timeseries": "Seneste tidsseriedatanøgler", "timeseries-keys": "Tidsserienøgler", "timeseries-keys-required": "Mindst én tidsserienøgle skal vælges.", @@ -6681,10 +7821,10 @@ "interval-hint": "Dedupliceringsinterval i sekunder.", "interval-min-error": "Mindste tilladte værdi er 1", "max-pending-msgs": "Maks. ventende beskeder", - "max-pending-msgs-hint": "Maksimalt antal beskeder gemt i hukommelsen for hver unik deduplikerings-id.", + "max-pending-msgs-hint": "Maksimalt antal beskeder, der gemmes i hukommelsen for hvert unikt deduplikerings-id.", "max-pending-msgs-required": "Maks. ventende beskeder er påkrævet", "max-pending-msgs-max-error": "Maks. værdi er 1000", - "max-pending-msgs-min-error": "Mindste værdi er 1", + "max-pending-msgs-min-error": "Mindste tilladte værdi er 1", "max-retries": "Maks. forsøg", "max-retries-required": "Maks. forsøg er påkrævet", "max-retries-hint": "Maksimalt antal forsøg på at skubbe deduplikerede beskeder til køen. Der bruges 10 sekunders forsinkelse mellem forsøgene", @@ -6692,7 +7832,7 @@ "max-retries-min-error": "Mindste værdi er 0", "strategy": "Strategi", "strategy-required": "Strategi er påkrævet", - "strategy-all-hint": "Returnér alle beskeder i perioden som én JSON-array. Hvert element indeholder 'msg' og 'metadata'.", + "strategy-all-hint": "Returnér alle beskeder, der er modtaget i deduplikeringsperioden, som én besked med et JSON-array, hvor hvert element er et objekt med de indre egenskaber 'msg' og 'metadata'.", "strategy-first-hint": "Returnér første besked i perioden.", "strategy-last-hint": "Returnér sidste besked i perioden.", "first": "Første", @@ -6706,14 +7846,14 @@ "data": "Data", "message": "Besked", "metadata": "Metadata", - "current-key-name": "Aktuel nøgle", + "current-key-name": "Aktuelt nøglenavn", "key-name-required": "Nøglenavn er påkrævet", "new-key-name": "Nyt nøglenavn", "new-key-name-required": "Nyt nøglenavn er påkrævet", "metadata-keys": "Metadatafeltnavne", "json-path-expression": "JSONPath-udtryk", "json-path-expression-required": "JSONPath-udtryk er påkrævet", - "json-path-expression-hint": "JSONPath specificerer sti til element(er) i en JSON-struktur. '$' er rodobjektet.", + "json-path-expression-hint": "JSONPath angiver stien til et element eller en mængde elementer i en JSON-struktur. '$' repræsenterer rodobjektet eller -arrayet.", "relations-query": "Relationsforespørgsel", "device-relations-query": "Enhedsrelationsforespørgsel", "max-relation-level": "Maks. relationsniveau", @@ -6722,8 +7862,8 @@ "relation-type": "Relationstype", "relation-type-pattern": "Relationstypemønster", "relation-type-pattern-required": "Relationstypemønster er påkrævet", - "relation-types-list": "Relationstyper til udbredelse", - "relation-types-list-hint": "Hvis relationstyper ikke vælges, udbredes alarmer uden filtrering.", + "relation-types-list": "Relationstyper til propagering", + "relation-types-list-hint": "Hvis relationstyper ikke vælges, propageres alarmer uden filtrering.", "unlimited-level": "Ubegrænset niveau", "latest-telemetry": "Seneste telemetri", "add-telemetry-key": "Tilføj telemetrinøgle", @@ -6731,43 +7871,43 @@ "use-regular-expression-delete-hint": "Brug regulært udtryk til at slette nøgler efter mønster.\n\nTips og tricks:\nTryk på 'Enter' for at afslutte feltindtastning.\nTryk på 'Backspace' for at slette feltnavn.\nFlere feltnavne understøttes.", "fetch-into": "Hent til", "attr-mapping": "Attributmapping:", - "source-attribute": "Kildeattribut", - "source-attribute-required": "Kildeattribut er påkrævet.", - "source-telemetry": "Kildetelemetri", - "source-telemetry-required": "Kildetelemetri er påkrævet.", + "source-attribute": "Kildeattributnøgle", + "source-attribute-required": "Kildeattributnøgle er påkrævet.", + "source-telemetry": "Kildetelemetrinøgle", + "source-telemetry-required": "Kildetelemetrinøgle er påkrævet.", "target-key": "Målnøgle", "target-key-required": "Målnøgle er påkrævet.", "attr-mapping-required": "Mindst én mapping skal angives.", - "fields-mapping": "Feltermapping", - "fields-mapping-hint": "Hvis beskedfeltet er sat til $entityId, vil oprindelses-id for beskeden blive gemt i den angivne tabelkolonne.", + "fields-mapping": "Feltmapping", + "fields-mapping-hint": "Hvis beskedfeltet er sat til $entityId, vil afsender-id for beskeden blive gemt i den angivne tabelkolonne.", "relations-query-config-direction-suffix": "afsender", "profile-name": "Profilnavn", "fetch-circle-parameter-info-from-metadata-hint": "Metadatafeltet '{{perimeterKeyName}}' skal være i følgende format: {\"latitude\":48.196, \"longitude\":24.6532, \"radius\":100.0, \"radiusUnit\":\"METER\"}", "fetch-poligon-parameter-info-from-metadata-hint": "Metadatafeltet '{{perimeterKeyName}}' skal være i følgende format: [[48.19736,24.65235],[48.19800,24.65060],...,[48.19849,24.65420]]", - "short-templatization-tooltip": "Brug $[messageKey] og ${metadataKey} til at hente værdier.", + "short-templatization-tooltip": "Brug $[messageKey] til at hente en værdi fra beskeden og ${metadataKey} til at hente en værdi fra metadata.", "fields-mapping-required": "Mindst én feltmapping er påkrævet.", "at-least-one-field-required": "Mindst ét inputfelt skal have en værdi.", - "originator-fields-sv-map-hint": "Målnøgler understøtter templatisering via $[messageKey] og ${metadataKey}.", - "sv-map-hint": "Kun målnøgler understøtter templatisering via $[messageKey] og ${metadataKey}.", + "originator-fields-sv-map-hint": "Målnøglefelterne understøtter skabelonvariabler. Brug $[messageKey] til at hente en værdi fra beskeden og ${metadataKey} til at hente en værdi fra metadata.", + "sv-map-hint": "Kun målnøglefelterne understøtter skabelonvariabler. Brug $[messageKey] til at hente en værdi fra beskeden og ${metadataKey} til at hente en værdi fra metadata.", "source-field": "Kildefelt", "source-field-required": "Kildefelt er påkrævet.", "originator-source": "Afsenderkilde", "new-originator": "Ny afsender", "originator-customer": "Kunde", "originator-tenant": "Lejer", - "originator-related": "Relateret enhed", - "originator-alarm-originator": "Alarm-afsender", - "originator-entity": "Enhed efter navnemønster", + "originator-related": "Relateret entitet", + "originator-alarm-originator": "Alarmafsender", + "originator-entity": "Entitet efter navnemønster", "clone-message": "Klon besked", "no-owners-matching": "Ingen ejere matcher '{{entity}}'.", "owner-required": "Ejer er påkrævet.", "owner": "Ejer", - "owner-of-entity-group": "Ejer af enhedsgruppe", - "entity-group": "Enhedsgruppe", + "owner-of-entity-group": "Ejer af entitetsgruppe", + "entity-group": "Entitetsgruppe", "transform": "Transformér", - "default-ttl": "Standard TTL", - "default-ttl-required": "Standard TTL er påkrævet.", - "default-ttl-hint": "Hvis metadata ikke indeholder TTL, anvendes standard TTL. Hvis 0, bruges TTL fra lejerprofil.", + "default-ttl": "Standard-TTL", + "default-ttl-required": "Standard-TTL er påkrævet.", + "default-ttl-hint": "Regelnoden henter TTL-værdien (Time-to-Live) fra beskedens metadata. Hvis der ikke er nogen værdi, bruges den TTL, der er angivet i konfigurationen. Hvis værdien er 0, anvendes TTL fra lejerprofilens konfiguration.", "default-ttl-zero-hint": "TTL anvendes ikke hvis værdien er 0.", "min-default-ttl-message": "Kun værdi 0 er tilladt som minimum TTL.", "generation-parameters": "Genereringsparametre", @@ -6778,14 +7918,14 @@ "period-seconds-required": "Periode er påkrævet.", "generation-frequency-seconds": "Genereringsfrekvens i sekunder", "generation-frequency-required": "Genereringsfrekvens er påkrævet.", - "min-generation-frequency-message": "Minimum tilladte værdi er 60 sekunder.", + "min-generation-frequency-message": "Mindste tilladte værdi er 1 sekund.", "script-lang-tbel": "TBEL", "script-lang-js": "JS", - "use-metadata-period-in-seconds-patterns": "Brug periode-mønster i sekunder", - "use-metadata-period-in-seconds-patterns-hint": "Bruger mønster fra metadata til at angive periode i sekunder.", - "period-in-seconds-pattern": "Periode-mønster i sekunder", - "period-in-seconds-pattern-required": "Periode-mønster i sekunder er påkrævet", - "min-period-seconds-message": "Minimum tilladte periode er 60 sekunder.", + "use-metadata-period-in-seconds-patterns": "Brug mønster for periode i sekunder", + "use-metadata-period-in-seconds-patterns-hint": "Hvis valgt, bruger regelnoden et mønster for perioden fra beskedens metadata eller data og antager, at intervallerne er i sekunder.", + "period-in-seconds-pattern": "Mønster for periode i sekunder", + "period-in-seconds-pattern-required": "Mønster for periode i sekunder er påkrævet", + "min-period-seconds-message": "Mindste tilladte periode er 1 sekund.", "originator": "Afsender", "message-body": "Beskedindhold", "message-metadata": "Beskedmetadata", @@ -6796,34 +7936,34 @@ "test-generator-function": "Test generatorfunktion", "generator": "Generator", "test-filter-function": "Test filterfunktion", - "test-switch-function": "Test skiftefunktion", - "parent-entity": "Overordnede enheder", - "include-root-entity-to-parent-entities": "Inkludér rodenhed til listen", + "test-switch-function": "Test switch-funktion", + "parent-entity": "Overordnede entiteter", + "include-root-entity-to-parent-entities": "Inkludér rodentiteten i listen over overordnede entiteter", "test-transformer-function": "Test transformerfunktion", "transformer": "Transformer", "alarm-create-condition": "Alarmoprettelsesbetingelse", "test-condition-function": "Test betingelsesfunktion", "alarm-clear-condition": "Alarmryddebetingelse", - "alarm-details-builder": "Alarmdetalje-generator", + "alarm-details-builder": "Generator af alarmdetaljer", "test-details-function": "Test detaljefunktion", "alarm-type": "Alarmtype", - "select-entity-types": "Vælg enhedstyper", + "select-entity-types": "Vælg entitetstyper", "alarm-type-required": "Alarmtype er påkrævet.", - "alarm-severity": "Alarm alvorlighed", + "alarm-severity": "Alarmens alvorlighed", "alarm-severity-required": "Alvorlighed er påkrævet", "alarm-severity-pattern": "Alvorlighedsmønster", "alarm-status-filter": "Alarmstatusfilter", "alarm-status-list-empty": "Listen over alarmstatusser er tom", "no-alarm-status-matching": "Ingen matchende alarmstatus fundet.", "no-alarm-severity-matching": "Ingen matchende alvorlighed fundet.", - "propagate": "Udbred alarm til relaterede enheder", - "propagate-to-owner": "Udbred alarm til ejer (Kunde eller Lejer)", - "propagate-to-owner-hierarchy": "Udbred alarm til ejerhierarki", - "propagate-to-tenant": "Udbred alarm til lejer", + "propagate": "Propagér alarm til relaterede entiteter", + "propagate-to-owner": "Propagér alarm til entitetens ejer (kunde eller lejer)", + "propagate-to-owner-hierarchy": "Propagér alarm til ejerhierarki", + "propagate-to-tenant": "Propagér alarm til lejer", "condition": "Betingelse", "details": "Detaljer", "to-string": "Til streng", - "test-to-string-function": "Test til-streng funktion", + "test-to-string-function": "Test toString-funktion", "from-template": "Fra", "from-template-required": "'Fra' er påkrævet", "message-to-metadata": "Besked til metadata", @@ -6832,7 +7972,7 @@ "from-metadata": "Fra metadata", "to-template": "Til", "to-template-required": "'Til' er påkrævet", - "mail-address-list-template-hint": "Kommasepareret adresseliste, brug ${metadataKey} for værdi fra metadata, $[messageKey] for værdi fra meddelelsens indhold", + "mail-address-list-template-hint": "Kommasepareret adresseliste, brug ${metadataKey} for værdi fra metadata, $[messageKey] for værdi fra beskedens indhold", "cc-template": "Cc", "bcc-template": "Bcc", "subject-template": "Emne", @@ -6842,7 +7982,7 @@ "dynamic-mail-body-type": "Dynamisk indholdstype", "mail-body-type": "Indholdstype", "body-type-template": "Indholdstypemønster", - "reply-routing-configuration": "Svarrute-konfiguration", + "reply-routing-configuration": "Konfiguration af svarrouting", "rpc-reply-routing-configuration-hint": "Disse konfigurationsparametre angiver metadata-nøglenavne, der bruges til at identificere tjenesten, sessionen og anmodningen til at sende et svar tilbage.", "reply-routing-configuration-hint": "Disse konfigurationsparametre angiver metadata-nøglenavne, der bruges til at identificere tjenesten og anmodningen til at sende et svar tilbage.", "request-id-metadata-attribute": "Anmodnings-id", @@ -6854,18 +7994,19 @@ "endpoint-url-pattern": "URL-mønster for slutpunkt", "endpoint-url-pattern-required": "URL-mønster for slutpunkt er påkrævet", "request-method": "Forespørgselsmetode", - "use-simple-client-http-factory": "Brug simpel HTTP-klientfabrik", "ignore-request-body": "Uden forespørgselsindhold", + "request-body-template": "Skabelon for anmodningens brødtekst", + "request-body-template-hint": "Brug ${metadataKey} til metadata og $[messageKey] til beskedværdier. Hvis feltet er tomt, bruges beskedens payload som anmodningens brødtekst. For payloads, der ikke er JSON, skal du aktivere 'Fortolk som almindelig tekst'.

    Du kan indsætte en hemmelighed med pladsholderen ${secret:name;type:TYPE}, hvor 'name' er hemmelighedens identifikator, og 'type' er enten TEXT eller TEXT_FILE. Dette er nyttigt i konfigurationsfelter for regelnoder, der ikke understøtter 'Brug hemmelighed' direkte. Eksempel: ${secret:lejer-adgangskode;type:TEXT}.", "parse-to-plain-text": "Fortolk som almindelig tekst", - "parse-to-plain-text-hint": "Hvis valgt, vil meddelelsens anmodningsindhold blive konverteret fra JSON-streng til almindelig tekst, f.eks. vil msg = \"Hello,\\t\"world\"\" blive analyseret til Hello, \"world\"", - "read-timeout": "Læs timeout i millisekunder", + "parse-to-plain-text-hint": "Hvis valgt, sendes anmodningsindholdet (beskedens payload eller resultatet af brødtekstskabelonen) som en almindelig tekststreng i stedet for at blive fortolket som JSON, f.eks. fortolkes msg = \"Hello,\\t\"world\"\" som Hello, \"world\"", + "read-timeout": "Timeout for læsning i millisekunder", "read-timeout-hint": "Værdien 0 betyder uendelig timeout", "max-parallel-requests-count": "Maksimalt antal parallelle forespørgsler", "max-parallel-requests-count-hint": "Værdien 0 betyder ingen begrænsning", "max-response-size": "Maks. svarstørrelse (i KB)", - "max-response-size-hint": "Den maksimale mængde hukommelse, der er tildelt til buffering af data ved dekodning eller kodning af HTTP-meddelelser, såsom JSON- eller XML-payloads", + "max-response-size-hint": "Den maksimale mængde hukommelse, der er tildelt til buffering af data ved dekodning eller kodning af HTTP-beskeder, såsom JSON- eller XML-payloads", "headers": "Headers", - "headers-hint": "Brug ${metadataKey} for værdi fra metadata, $[messageKey] for værdi fra meddelelsesindhold i header/værdifelter", + "headers-hint": "Brug ${metadataKey} for værdi fra metadata og $[messageKey] for værdi fra beskedens indhold i header-/værdifelter.

    Du kan indsætte en hemmelighed med pladsholderen ${secret:name;type:TYPE}, hvor 'name' er hemmelighedens id, og 'type' er enten TEXT eller TEXT_FILE. Det er nyttigt i konfigurationsfelter i regelnoder, der ikke understøtter 'Brug hemmelighed' direkte. Eksempel: ${secret:Header;type:TEXT}.", "header": "Header", "header-required": "Header er påkrævet", "value": "Værdi", @@ -6879,13 +8020,14 @@ "bootstrap-servers": "Bootstrap-servere", "bootstrap-servers-required": "Bootstrap-servere er påkrævede", "other-properties": "Andre egenskaber", + "other-properties-empty": "Ingen andre egenskaber konfigureret", "key": "Nøgle", "key-required": "Nøgle er påkrævet", "retries": "Antal automatiske forsøg ved fejl", "min-retries-message": "Kun 0 som minimumsantal forsøg er tilladt.", "batch-size-bytes": "Batchstørrelse ved afsendelse (i bytes)", "min-batch-size-bytes-message": "Kun 0 som minimum batchstørrelse er tilladt.", - "linger-ms": "Tidsbuffer lokalt (ms)", + "linger-ms": "Tid til lokal buffering (ms)", "min-linger-ms-message": "Kun 0 ms som minimumværdi er tilladt.", "buffer-memory-bytes": "Maksimal klientbufferstørrelse (i bytes)", "min-buffer-memory-message": "Kun 0 som minimum bufferstørrelse er tilladt.", @@ -6906,7 +8048,7 @@ "host-required": "Host er påkrævet", "port": "Port", "port-required": "Port er påkrævet", - "port-range": "Port skal være mellem 1 og 65535", + "port-range": "Port skal være mellem 1 og 65535.", "virtual-host": "Virtuel host", "username": "Brugernavn", "password": "Adgangskode", @@ -6916,6 +8058,7 @@ "handshake-timeout-ms": "Tidsgrænse for håndtryk (ms)", "min-handshake-timeout-ms-message": "Kun 0 ms som minimumværdi er tilladt.", "client-properties": "Klientegenskaber", + "client-properties-empty": "Ingen klientegenskaber konfigureret", "queue-url-pattern": "Køens URL-mønster", "queue-url-pattern-required": "Køens URL-mønster er påkrævet", "delay-seconds": "Forsinkelse (sekunder)", @@ -6933,18 +8076,19 @@ "pubsub-topic-name": "Emnenavn", "pubsub-topic-name-required": "Emnenavn er påkrævet", "message-attributes": "Beskedattributter", + "message-attributes-empty": "Ingen beskedattributter konfigureret", "message-attributes-hint": "Brug ${metadataKey} for værdi fra metadata, $[messageKey] for værdi fra beskedens indhold i felterne navn/værdi.", "connect-timeout": "Forbindelsestidsgrænse (sek.)", - "connect-timeout-required": "Forbindelsestidsgrænse er påkrævet.", - "connect-timeout-range": "Forbindelsestidsgrænsen skal være mellem 1 og 200.", + "connect-timeout-required": "Forbindelsestimeout er påkrævet.", + "connect-timeout-range": "Forbindelsestimeout skal være mellem 1 og 200.", "client-id": "Klient-ID", - "client-id-hint": "Valgfrit. Lad stå tomt for automatisk genereret Klient-ID. Vær forsigtig ved angivelse af Klient-ID. De fleste MQTT-brokere tillader ikke flere forbindelser med samme Klient-ID. Hvis du forbinder til sådanne brokere, skal din MQTT Klient-ID være unik. Når platformen kører i mikroservicetilstand, startes en kopi af regelnoden i hver mikroservice. Dette vil automatisk føre til flere MQTT-klienter med samme ID og kan forårsage fejl i regelnoden. For at undgå sådanne fejl skal du aktivere \"Tilføj Service-ID som suffiks til Klient-ID\" nedenfor.", + "client-id-hint": "Valgfrit. Lad feltet stå tomt for et automatisk genereret klient-ID. Vær forsigtig, når du angiver klient-ID'et. De fleste MQTT-brokere tillader ikke flere forbindelser med samme klient-ID. Hvis du forbinder til sådanne brokere, skal dit MQTT-klient-ID være unikt. Når platformen kører i mikroservicetilstand, startes en kopi af regelnoden i hver mikroservice. Dette vil automatisk føre til flere MQTT-klienter med samme ID og kan forårsage fejl i regelnoden. For at undgå sådanne fejl skal du aktivere \"Tilføj Service-ID som suffiks til Klient-ID\" nedenfor.", "append-client-id-suffix": "Tilføj Service-ID som suffiks til Klient-ID", "client-id-suffix-hint": "Valgfrit. Anvendes når \"Klient-ID\" er angivet manuelt. Hvis valgt, tilføjes Service-ID som suffiks til Klient-ID. Hjælper med at undgå fejl, når platformen kører i mikroservicetilstand.", "device-id": "Enheds-ID", "device-id-required": "Enheds-ID er påkrævet.", "clean-session": "Ren session", - "enable-ssl": "Aktiver SSL", + "enable-ssl": "Aktivér SSL", "credentials": "Legitimationsoplysninger", "credentials-type": "Legitimationstype", "credentials-type-required": "Legitimationstype er påkrævet.", @@ -6952,8 +8096,8 @@ "credentials-basic": "Grundlæggende", "credentials-pem": "PEM", "credentials-pem-hint": "Mindst serverens CA-certifikat eller et par af klientcertifikat og privat nøgle er påkrævet", - "credentials-sas": "Delt adgangsnøgle (SAS)", - "secret-placeholder-hint": "Du kan indsætte en hemmelighed ved at bruge pladsholderen ${secret:name;type:TYPE}, hvor 'name' er identifikatoren for hemmeligheden og 'type' enten er TEXT eller TEXT_FILE. Dette er nyttigt i konfigurationsfelter for rule nodes, som ikke understøtter 'Brug hemmelighed' direkte. Eksempel: ${secret:Header;type:TEXT}", + "credentials-sas": "Shared Access Signature", + "secret-placeholder-hint": "Du kan indsætte en hemmelighed ved at bruge pladsholderen ${secret:name;type:TYPE}, hvor 'name' er identifikatoren for hemmeligheden og 'type' enten er TEXT eller TEXT_FILE. Dette er nyttigt i konfigurationsfelter for regelnoder, som ikke understøtter 'Brug hemmelighed' direkte. Eksempel: ${secret:Header;type:TEXT}", "sas-key": "SAS-nøgle", "sas-key-required": "SAS-nøgle er påkrævet.", "hostname": "Værtsnavn", @@ -6987,20 +8131,20 @@ "change-originator-to-related-entity": "Skift afsender til relateret entitet", "change-originator-to-related-entity-hint": "Anvendes til at behandle en besked som om den kommer fra en anden entitet.", "start-interval": "Interval start", - "end-interval": "Interval slut", - "start-interval-required": "Interval start er påkrævet.", - "end-interval-required": "Interval slut er påkrævet.", + "end-interval": "Intervalslut", + "start-interval-required": "Intervalstart er påkrævet.", + "end-interval-required": "Intervalslut er påkrævet.", "smtp-protocol": "Protokol", "smtp-host": "SMTP-vært", "smtp-host-required": "SMTP-vært er påkrævet.", "smtp-port": "SMTP-port", - "smtp-port-required": "SMTP-port er påkrævet.", + "smtp-port-required": "Du skal angive en SMTP-port.", "smtp-port-range": "SMTP-port skal være mellem 1 og 65535.", "timeout-msec": "Timeout (ms)", "min-timeout-msec-message": "Minimum tilladt værdi er 0 ms.", "enter-username": "Indtast brugernavn", "enter-password": "Indtast adgangskode", - "enable-tls": "Aktiver TLS", + "enable-tls": "Aktivér TLS", "group-name-pattern": "Gruppenavnmønster", "group-name-pattern-required": "Gruppenavnmønster er påkrævet", "create-group-if-not-exists": "Opret ny gruppe, hvis den ikke findes", @@ -7010,11 +8154,13 @@ "group-cache-expiration-hint": "Angiver det maksimale tidsinterval, en fundet entitetsgruppepost må gemmes. Værdien 0 betyder, at poster aldrig udløber.", "remove-from-current-groups": "Fjern fra nuværende grupper", "use-report-config-from-message": "Brug rapportkonfiguration fra besked", + "use-report-config-from-message-hint": "Hvis aktiveret, henter regelnoden konfigurationen for rapportgenerering fra den indgående besked; ellers bruges konfigurationen angivet nedenfor.", "use-system-reports-server": "Brug systemets rapportserver", + "use-system-reports-server-hint": "Hvis aktiveret, bruger regelnoden rapportserverens endpoint-URL fra systemkonfigurationen; ellers bruges den URL, der er angivet nedenfor.", "reports-server-endpoint-url": "Endpoint-URL til rapportserver", "reports-server-endpoint-url-is-required": "Endpoint-URL til rapportserver er påkrævet.", "tls-version": "TLS-version", - "enable-proxy": "Aktiver proxy", + "enable-proxy": "Aktivér proxy", "use-system-proxy-properties": "Brug systemets proxy-egenskaber", "proxy-host": "Proxy-vært", "proxy-host-required": "Proxy-vært er påkrævet.", @@ -7023,12 +8169,11 @@ "proxy-port-range": "Proxy-port skal være mellem 1 og 65535.", "proxy-user": "Proxy-bruger", "proxy-password": "Proxy-adgangskode", - "proxy-scheme": "Proxy-skema", "numbers-to-template": "Telefonnumre til skabelon", "numbers-to-template-required": "Telefonnumre til skabelon er påkrævet", - "numbers-to-template-hint": "Kommaseparerede telefonnumre, brug ${metadataKey} for værdi fra metadata, $[messageKey] for værdi fra meddelelsens indhold", - "sms-message-template": "SMS beskedskabelon", - "sms-message-template-required": "SMS beskedskabelon er påkrævet", + "numbers-to-template-hint": "Kommaseparerede telefonnumre, brug ${metadataKey} for værdi fra metadata, $[messageKey] for værdi fra beskedens indhold", + "sms-message-template": "SMS-beskedskabelon", + "sms-message-template-required": "SMS-beskedskabelon er påkrævet", "use-system-sms-settings": "Brug systemets SMS-udbyderindstillinger", "min-period-0-seconds-message": "Kun 0 sekunders minimumsperiode er tilladt.", "max-pending-messages": "Maksimalt antal ventende beskeder", @@ -7044,59 +8189,59 @@ "func-count-unique": "Antal unikke", "agg-interval-value": "Aggregeringsintervalværdi", "agg-interval-value-required": "Aggregeringsintervalværdi er påkrævet.", - "agg-interval-time-unit": "Aggregeringsinterval enhed", + "agg-interval-time-unit": "Tidsenhed for aggregeringsinterval", "auto-create-intervals": "Opret intervaller automatisk", - "interval-entities": "Intervalenheder", - "interval-persistence": "Interval persistens", - "interval-persistence-policy": "Interval persistenspolitik", + "interval-entities": "Intervalentiteter", + "interval-persistence": "Intervalpersistens", + "interval-persistence-policy": "Persistenspolitik for interval", "interval-persist-policy-on-each-check": "Ved hver kontrol", "interval-persist-policy-on-each-check-after-interval-end": "Ved hver kontrol efter intervalslut", "interval-persist-policy-on-each-message": "Ved hver besked", - "interval-check-value": "Interval kontrolværdi", - "interval-check-value-required": "Interval kontrolværdi er påkrævet.", - "interval-check-time-unit": "Interval kontrol enhed", - "interval-ttl-value": "Interval TTL værdi", - "interval-ttl-value-required": "Interval TTL værdi er påkrævet.", - "interval-ttl-time-unit": "Interval TTL enhed", + "interval-check-value": "Kontrolværdi for interval", + "interval-check-value-required": "Kontrolværdi for interval er påkrævet.", + "interval-check-time-unit": "Tidsenhed for intervalkontrol", + "interval-ttl-value": "TTL-værdi for interval", + "interval-ttl-value-required": "TTL-værdi for interval er påkrævet.", + "interval-ttl-time-unit": "Tidsenhed for interval-TTL", "state-persistence": "Tilstandspersistens", "state-persistence-policy": "Tilstandspersistenspolitik", "state-persist-policy-on-each-change": "Ved hver ændring", "state-persist-policy-periodically": "Periodisk", "state-persistence-value": "Tilstandspersistensværdi", "state-persistence-value-required": "Tilstandspersistensværdi er påkrævet.", - "state-persistence-time-unit": "Tilstandspersistensenhed", - "target-entity-group": "Målenhedsgruppe", - "entity-group-is-message-originator": "Enhedsgruppe er beskedens afsender", + "state-persistence-time-unit": "Tidsenhed for tilstandspersistens", + "target-entity-group": "Målentitetsgruppe", + "entity-group-is-message-originator": "Entitetsgruppe er beskedens afsender", "originator-types-filter": "Filter for afsendertyper", - "single-entity": "Enkelt enhed", - "group-of-entities": "Gruppe af enheder", - "entities": "Enheder", - "root-entity": "Rod-enhed", - "child-entities-query": "Forespørgsel på underordnede enheder", - "child-entities": "Underordnede enheder", - "execution-period-value": "Udførelsesperiode værdi", - "execution-period-value-required": "Udførelsesperiode værdi er påkrævet.", - "execution-period-time-unit": "Udførelsesperiode enhed", - "agg-latest-mappings": "Seneste aggregeringskortlægning", + "single-entity": "Enkelt entitet", + "group-of-entities": "Gruppe af entiteter", + "entities": "Entiteter", + "root-entity": "Rodentitet", + "child-entities-query": "Forespørgsel på underordnede entiteter", + "child-entities": "Underordnede entiteter", + "execution-period-value": "Værdi for udførelsesperiode", + "execution-period-value-required": "Værdi for udførelsesperiode er påkrævet.", + "execution-period-time-unit": "Tidsenhed for udførelsesperiode", + "agg-latest-mappings": "Mappings for aggregering af seneste værdier", "mappings": "Kortlægninger", - "edit-mapping": "Rediger kortlægning", + "edit-mapping": "Redigér kortlægning", "remove-mapping": "Fjern kortlægning", "add-mapping": "Tilføj kortlægning", "add-mapping-prompt": "Tilføj venligst kortlægning", - "attribute-scope": "Attributområde", + "attribute-scope": "Attributomfang", "default-value": "Standardværdi", "default-value-required": "Standardværdi er påkrævet.", "target-telemetry": "Måltelemetri", "target-telemetry-required": "Måltelemetri er påkrævet.", - "filter-entities": "Filtrer enheder", - "entity-filter": "Enhedsfilter", - "fetch-entity-attributes": "Hent enhedsattributter", - "count-alarms-for-child-entities": "Tæl alarmer for underordnede enheder", - "count-alarms-for-propagation-entities": "Tæl alarmer for udbredte enheder", + "filter-entities": "Filtrér entiteter", + "entity-filter": "Entitetsfilter", + "fetch-entity-attributes": "Hent entitetsattributter", + "count-alarms-for-child-entities": "Tæl alarmer for underordnede entiteter", + "count-alarms-for-propagation-entities": "Tæl alarmer for propagerede entiteter", "alarms-count-mappings": "Kortlægning af alarmantal", - "propagation-entity-types": "Udbredelsesenhedstyper", - "propagation-entity-types-info": "Filtrerer udbredte enheder efter valgte typer, hvis nogen.", - "count-alarms-for-propagation-entities-info": "Tæller alarmer for både oprindelsen og alle udbredte enheder.", + "propagation-entity-types": "Entitetstyper for propagering", + "propagation-entity-types-info": "Filtrerer propagerede entiteter efter valgte typer, hvis nogen.", + "count-alarms-for-propagation-entities-info": "Hvis aktiveret, tælles alarmer ikke kun for alarmens afsender, men også for alle propagerede entiteter.", "and": "og", "all-alarms": "Alle alarmer", "for": "for", @@ -7112,19 +8257,19 @@ "specify-interval": "Angiv interval", "interval-seconds": "Interval i sekunder", "interval-seconds-required": "Interval er påkrævet.", - "int-range": "Værdien må ikke overstige det maksimale heltalsgrænse (2147483648)", + "int-range": "Værdien må ikke overstige den maksimale heltalsgrænse (2147483648)", "min-interval-seconds-message": "Kun 1 sekund som minimumsinterval er tilladt.", - "output-timeseries-key-prefix": "Præfiks for output time series nøgle", - "output-timeseries-key-prefix-required": "Præfiks for output time series nøgle er påkrævet.", + "output-timeseries-key-prefix": "Præfiks for output-tidsserienøgle", + "output-timeseries-key-prefix-required": "Præfiks for output-tidsserienøgle er påkrævet.", "separator-hint": "Tryk på \"Enter\" for at afslutte feltindtastning.", - "owner-type": "Ejer-type", + "owner-type": "Ejertype", "owner-name-pattern": "Kundetitel", "owner-name-pattern-required": "Kundetitel er påkrævet", "create-owner-if-not-exists": "Opret ny kunde, hvis den ikke findes", - "create-owner-if-not-exists-hint": "Hvis aktiveret og en kunde med den angivne titel ikke findes, vil regelnoden oprette en ny kunde som topniveau-kunde.", + "create-owner-if-not-exists-hint": "Hvis aktiveret, og en kunde med den angivne titel ikke findes, opretter regelnoden en ny kunde på øverste niveau.", "create-new-customer-if-not-exists-hint": "Hvis aktiveret og en kunde med den angivne titel ikke findes, vil regelnoden oprette en ny kunde.", "create-owner-on-originator-level": "Opret ny kunde på samme niveau som beskedens afsender", - "create-owner-on-originator-level-hint": "Hvis aktiveret og afsenderens ejer er en tenant, vil regelnoden oprette en topniveau-kunde. Hvis afsenderens ejer er en kunde, vil en underordnet kunde blive oprettet.", + "create-owner-on-originator-level-hint": "Hvis aktiveret og afsenderens ejer er en lejer, vil regelnoden oprette en kunde på topniveau. Hvis afsenderens ejer er en kunde, vil en underordnet kunde blive oprettet.", "owner-cache-expiration": "Udløbstid for ejercache (sek.)", "owner-cache-expiration-required": "Udløbstid for ejercache er påkrævet.", "owner-cache-expiration-range": "Udløbstid for ejercache skal være større end eller lig med 0.", @@ -7140,8 +8285,8 @@ "entity-details-address2": "Adresse 2", "entity-details-additional_info": "Yderligere information", "entity-details-phone": "Telefon", - "entity-details-email": "Email", - "email-sender": "Email afsender", + "entity-details-email": "E-mail", + "email-sender": "E-mailafsender", "fields-to-check": "Felter der skal kontrolleres", "add-detail": "Tilføj detalje", "check-all-keys-tooltip": "Hvis aktiveret, kontrolleres tilstedeværelsen af alle felter, der er angivet i besked- og metadatafeltnavne, i den indgående besked og dens metadata.", @@ -7168,20 +8313,20 @@ "perimeter-key-name-required": "Perimeter-nøgle er påkrævet.", "perimeter-circle": "Cirkel", "perimeter-polygon": "Polygon", - "perimeter-type": "Perimeter-type", - "circle-center-latitude": "Cirkelens center breddegrad", - "circle-center-latitude-required": "Center breddegrad er påkrævet.", - "circle-center-longitude": "Cirkelens center længdegrad", - "circle-center-longitude-required": "Center længdegrad er påkrævet.", + "perimeter-type": "Perimetertype", + "circle-center-latitude": "Breddegrad for cirklens centrum", + "circle-center-latitude-required": "Breddegrad for centrum er påkrævet.", + "circle-center-longitude": "Længdegrad for cirklens centrum", + "circle-center-longitude-required": "Længdegrad for centrum er påkrævet.", "range-unit-meter": "Meter", "range-unit-kilometer": "Kilometer", "range-unit-foot": "Fod", - "range-unit-mile": "Mil", + "range-unit-mile": "Mile (engelsk mil)", "range-unit-nautical-mile": "Sømil", "range-units": "Afstandsenheder", "range-units-required": "Afstandsenheder er påkrævet.", - "range": "Interval", - "range-required": "Interval er påkrævet.", + "range": "Radius", + "range-required": "Radius er påkrævet.", "polygon-definition": "Polygondefinition", "polygon-definition-required": "Polygondefinition er påkrævet.", "polygon-definition-hint": "Brug følgende format til manuel definition af polygon: [[lat1,lon1],[lat2,lon2], ... ,[latN,lonN]].", @@ -7192,7 +8337,7 @@ "min-outside-duration-value-required": "Minimal varighed udenfor er påkrævet", "min-outside-duration-time-unit": "Tidsenhed for minimal varighed udenfor", "tell-failure-if-absent": "Rapportér fejl", - "tell-failure-if-absent-hint": "Hvis mindst én valgt nøgle ikke findes, vil den udgående besked rapportere \"Fejl\".", + "tell-failure-if-absent-hint": "Hvis mindst én valgt nøgle ikke findes, sendes den udgående besked via forbindelsen \"Failure\".", "get-latest-value-with-ts": "Hent tidsstempel for seneste telemetriværdier", "get-latest-value-with-ts-hint": "Hvis valgt, vil de seneste telemetriværdier også inkludere tidsstempel, f.eks.: \"temp\": \"{\"ts\":1574329385897, \"value\":42}\"", "ignore-null-strings": "Ignorér tomme strenge", @@ -7205,7 +8350,7 @@ "aggregate-period-month": "Måned", "aggregate-period-year": "År", "aggregate-period-custom": "Brugerdefineret", - "add-metadata-key-values-as-kafka-headers": "Tilføj metadata nøgle-værdi-par til Kafka header", + "add-metadata-key-values-as-kafka-headers": "Tilføj nøgle-værdi-par fra beskedmetadata til Kafka-postens headers", "add-metadata-key-values-as-kafka-headers-hint": "Hvis valgt, tilføjes nøgle-værdi-par fra beskedmetadata til headers i udgående Kafka-poster som byte-arrays med foruddefineret tegnkodning.", "charset-encoding": "Tegnkodning", "charset-encoding-required": "Tegnkodning er påkrævet.", @@ -7226,14 +8371,14 @@ "use-cache": "Brug cache til seneste værdi", "tell-failure-if-delta-is-negative": "Rapportér fejl, hvis delta er negativ", "add-period-between-msgs": "Tilføj periode mellem beskeder", - "search-entity-group-for-tenant-only": "Søg entitetsgruppe kun på tenant-niveau", + "search-entity-group-for-tenant-only": "Søg entitetsgruppe kun på lejerniveau", "consider-message-originator-as-a-group-owner": "Anse afsender som ejer af gruppen", - "consider-message-originator-as-a-group-owner-hint": "Som standard starter gruppesøgning på samme niveau som beskedens afsenders ejer og bevæger sig op i hierarkiet til tenant-niveau, hvis gruppen ikke findes. Hvis aktiveret og afsenderen er en Tenant eller Kunde, starter søgningen fra afsenderens niveau.", + "consider-message-originator-as-a-group-owner-hint": "Som standard starter gruppesøgning på samme niveau som beskedens afsenders ejer og bevæger sig op i hierarkiet til lejerniveau, hvis gruppen ikke findes. Hvis aktiveret og afsenderen er en lejer eller kunde, starter søgningen fra afsenderens niveau.", "input-value-key": "Inputværdinøgle", "input-value-key-required": "Inputværdinøgle er påkrævet.", "output-value-key": "Outputværdinøgle", "output-value-key-required": "Outputværdinøgle er påkrævet.", - "number-of-digits-after-floating-point": "Antal decimaler efter komma", + "number-of-digits-after-floating-point": "Antal decimaler", "number-of-digits-after-floating-point-range": "Antallet af decimaler skal være mellem 0 og 15.", "failure-if-delta-negative": "Rapportér fejl, hvis delta er negativ", "failure-if-delta-negative-tooltip": "Regelnoden tvinger beskedbehandling til at fejle, hvis delta-værdien er negativ.", @@ -7250,9 +8395,9 @@ "use-server-ts-hint": "Brug serverens aktuelle tidsstempel for tidsseriedata uden eksplicit tidsstempel. Dette hjælper med at bevare korrekt rækkefølge ved behandling af beskeder fra flere kilder eller når beskeder ankommer ude af rækkefølge.", "kv-map-pattern-hint": "Alle inputfelter understøtter skabeloner. Brug $[messageKey] for værdi fra beskeden og ${metadataKey} for værdi fra metadata.", "kv-map-single-pattern-hint": "Inputfeltet understøtter skabeloner. Brug $[messageKey] for værdi fra beskeden og ${metadataKey} for værdi fra metadata.", - "shared-scope": "Delt område", - "server-scope": "Serverområde", - "client-scope": "Klientområde", + "shared-scope": "Delt omfang", + "server-scope": "Serveromfang", + "client-scope": "Klientomfang", "attribute-type": "Attribut", "attribute-type-description": "Hent attributværdi fra databasen", "attribute-type-result-description": "Gem resultatet som en entitetsattribut i databasen", @@ -7278,8 +8423,8 @@ "argument-key-field-input-required": "Argumentnøgle er påkrævet.", "constant-value-field-input": "Konstant værdi", "constant-value-field-input-required": "Konstant værdi er påkrævet.", - "attribute-scope-field-input": "Attributområde", - "attribute-scope-field-input-required": "Attributområde er påkrævet.", + "attribute-scope-field-input": "Attributomfang", + "attribute-scope-field-input-required": "Attributomfang er påkrævet.", "default-value-field-input": "Standardværdi", "type-field-input": "Type", "type-field-input-required": "Type er påkrævet.", @@ -7293,12 +8438,12 @@ "add-to-metadata-field-input": "Tilføj til metadata", "custom-expression-field-input": "Matematisk udtryk", "custom-expression-field-input-required": "Matematisk udtryk er påkrævet", - "custom-expression-field-input-hint": "F.eks. konverter Fahrenheit til Celsius", - "retained-message": "Behold besked", - "attributes-mapping": "Attribut mapping", - "latest-telemetry-mapping": "Seneste telemetry mapping", + "custom-expression-field-input-hint": "Angiv et matematisk udtryk, der skal evalueres. Standardudtrykket viser, hvordan man konverterer Fahrenheit til Celsius", + "retained-message": "Retained", + "attributes-mapping": "Attributmapping", + "latest-telemetry-mapping": "Mapping af seneste telemetri", "add-mapped-attribute-to": "Tilføj mappede attributter til", - "add-mapped-latest-telemetry-to": "Tilføj mappet telemetry til", + "add-mapped-latest-telemetry-to": "Tilføj mappet seneste telemetri til", "add-mapped-fields-to": "Tilføj mappede felter til", "add-selected-details-to": "Tilføj valgte detaljer til", "clear-selected-types": "Ryd valgte typer", @@ -7311,15 +8456,15 @@ "presence-monitoring-strategy": "Strategi for tilstedeværelsesovervågning", "presence-monitoring-strategy-on-first-message": "Ved første besked", "presence-monitoring-strategy-on-each-message": "Ved hver besked", - "presence-monitoring-strategy-on-first-message-hint": "Rapporterer tilstedeværelsesstatus 'Inde' eller 'Ude' ved første besked efter den konfigurerede minimumsvarighed er opnået siden sidste status 'Gået ind' eller 'Gået ud'.", - "presence-monitoring-strategy-on-each-message-hint": "Rapporterer tilstedeværelsesstatus 'Inde' eller 'Ude' ved hver besked efter statusopdatering 'Gået ind' eller 'Gået ud'.", + "presence-monitoring-strategy-on-first-message-hint": "Rapporterer tilstedeværelsesstatus 'Inside' eller 'Outside' ved den første besked, efter at den konfigurerede minimumsvarighed er gået siden sidste opdatering af status 'Entered' eller 'Left'.", + "presence-monitoring-strategy-on-each-message-hint": "Rapporterer tilstedeværelsesstatus 'Inside' eller 'Outside' ved hver besked efter opdatering af status 'Entered' eller 'Left'.", "fetch-credentials-to": "Hent legitimationsoplysninger til", "add-originator-attributes-to": "Tilføj afsenderattributter til", "originator-attributes": "Afsenderattributter", "fetch-latest-telemetry-with-timestamp": "Hent seneste telemetri med tidsstempel", - "fetch-latest-telemetry-with-timestamp-tooltip": "Hvis valgt, tilføjes de seneste telemetriværdier med tidsstempel til metadata, f.eks.: \"{{latestTsKeyName}}\": \"{\\\"ts\\\":1574329385897, \\\"value\\\":42}\"", + "fetch-latest-telemetry-with-timestamp-tooltip": "Hvis valgt, tilføjes de seneste telemetriværdier med tidsstempel til den udgående beskeds metadata, f.eks.: \"{{latestTsKeyName}}\": \"{\"ts\":1574329385897, \"value\":42}\"", "tell-failure": "Rapportér fejl, hvis en eller flere attributter mangler", - "tell-failure-tooltip": "Hvis mindst én valgt nøgle ikke findes, vil den udgående besked rapportere \"Fejl\".", + "tell-failure-tooltip": "Hvis mindst én valgt nøgle ikke findes, sendes den udgående besked via forbindelsen \"Failure\".", "created-time": "Oprettelsestidspunkt", "chip-help": "Tryk på 'Enter' for at afslutte indtastning af {{inputName}}. \nTryk på 'Backspace' for at slette {{inputName}}. \nFlere værdier understøttes.", "detail": "detalje", @@ -7340,7 +8485,7 @@ "fetch-interval": "Henteinterval", "fetch-strategy": "Hentestrategi", "fetch-timeseries-from-to": "Hent tidsserie fra {{startInterval}} {{startIntervalTimeUnit}} siden til {{endInterval}} {{endIntervalTimeUnit}} siden.", - "fetch-timeseries-from-to-invalid": "Ugyldig tidsseriehentning (\"Interval start\" skal være mindre end \"Interval slut\").", + "fetch-timeseries-from-to-invalid": "Ugyldig tidsseriehentning (\"Intervalstart\" skal være mindre end \"Intervalslut\").", "use-metadata-dynamic-interval-tooltip": "Hvis valgt, bruger regelnoden dynamisk start og slut på intervallet baseret på besked- og metadatamønstre.", "all-mode-hint": "Hvis hentemåde \"Alle\" er valgt, vil regelnoden hente telemetri fra hele intervallet baseret på konfigurerbare forespørgselsparametre.", "first-mode-hint": "Hvis hentemåde \"Første\" er valgt, hentes den telemetri, der ligger tættest på intervalstarten.", @@ -7353,8 +8498,8 @@ "sum": "Sum", "count": "Antal", "none": "Ingen", - "last-level-relation-tooltip": "Hvis valgt, vil regelnoden kun søge relaterede enheder på det niveau, der er angivet som maksimal relation.", - "last-level-device-relation-tooltip": "Hvis valgt, vil regelnoden kun søge relaterede enheder på det niveau, der er angivet som maksimal relation.", + "last-level-relation-tooltip": "Hvis valgt, vil regelnoden kun søge relaterede entiteter på det niveau, der er angivet som maksimal relation.", + "last-level-device-relation-tooltip": "Hvis valgt, søger regelnoden kun efter relaterede enheder på det niveau, der er angivet i Maks. relationsniveau.", "data-to-fetch": "Data der skal hentes", "mapping-of-customers": "Kortlægning af kunde", "map-fields-required": "Alle kortlægningsfelter er påkrævede.", @@ -7362,7 +8507,7 @@ "related-device-attributes": "Attributter for relaterede enheder", "add-selected-attributes-to": "Tilføj valgte attributter til", "device-profiles": "Enhedsprofiler", - "mapping-of-tenant": "Kortlægning af tenant", + "mapping-of-tenant": "Kortlægning af lejer", "add-attribute-key": "Tilføj attributnøgle", "message-template": "Beskedskabelon", "message-template-required": "Beskedskabelon er påkrævet", @@ -7378,28 +8523,28 @@ "message-subject-and-content": "Beskedens emne og indhold", "template-rules-hint": "Begge inputfelter understøtter skabeloner. Brug $[messageKey] for værdi fra besked og ${metadataKey} for værdi fra metadata.", "originator-customer-desc": "Brug kunde tilhørende beskedens afsender som ny afsender.", - "originator-tenant-desc": "Brug nuværende tenant som ny afsender.", - "originator-related-entity-desc": "Brug relateret enhed som ny afsender. Opslag baseret på konfigureret relationstype og retning.", - "originator-alarm-originator-desc": "Brug alarmens afsender som ny afsender. Kun hvis afsenderen er en alarmenhed.", - "originator-entity-by-name-pattern-desc": "Brug enhed hentet fra databasen som ny afsender. Opslag baseret på enhedstype og angivet navnemønster.", + "originator-tenant-desc": "Brug nuværende lejer som ny afsender.", + "originator-related-entity-desc": "Brug relateret entitet som ny afsender. Opslag baseret på konfigureret relationstype og retning.", + "originator-alarm-originator-desc": "Brug alarmens afsender som ny afsender. Kun hvis afsenderen er en alarmentitet.", + "originator-entity-by-name-pattern-desc": "Brug entitet hentet fra databasen som ny afsender. Opslag baseret på entitetstype og angivet navnemønster.", "email-from-template-hint": "Brug $[messageKey] for værdi fra besked og ${metadataKey} for værdi fra metadata.", "recipients-block-main-hint": "Kommasepareret adresseliste. Alle inputfelter understøtter skabeloner. Brug $[messageKey] for værdi fra besked og ${metadataKey} for værdi fra metadata.", - "search-entity-group-for-tenant-only-hint": "Som standard starter gruppesøgning på samme niveau som afsenderens ejer og går op til tenantniveau, hvis gruppen ikke findes. Hvis aktiveret, begrænses søgningen kun til tenantniveau og standardadfærden springes over.", - "entity-group-is-message-originator-hint": "Hvis aktiveret, behandles afsenderen som entitetsgruppen brugt til at hente enheder. Beskeden sendes via 'Fejl'-kæde, hvis afsenderen ikke er en entitetsgruppe.", - "forward-msg-default-rule-chain": "Videresend besked til afsenders standardregel-kæde", - "forward-msg-default-rule-chain-tooltip": "Hvis aktiveret, videresendes besked til afsenders standardregel-kæde, eller den i konfigurationen angivne, hvis ingen standard er defineret i enhedsprofilen.", + "search-entity-group-for-tenant-only-hint": "Som standard starter gruppesøgning på samme niveau som afsenderens ejer og går op til lejerniveau, hvis gruppen ikke findes. Hvis aktiveret, begrænses søgningen kun til lejerniveau og standardadfærden springes over.", + "entity-group-is-message-originator-hint": "Hvis aktiveret, behandles beskedens afsender som den entitetsgruppe, der bruges til at hente entiteter. I så fald sendes den indgående besked via Failure-kæden, hvis afsenderen ikke er en entitetsgruppe.", + "forward-msg-default-rule-chain": "Videresend beskeden til afsenderens standardregelkæde", + "forward-msg-default-rule-chain-tooltip": "Hvis aktiveret, videresendes beskeden til afsenderens standardregelkæde eller til regelkæden fra konfigurationen, hvis der ikke er defineret en standardregelkæde i entitetsprofilen.", "fetch-originators-attributes-customer": "Hent afsenders attributter, hvis afsender er kunde", "fetch-originators-attributes-customer-hint": "Hvis aktiveret og afsender er kunde, henter regelnoden dennes {{mappingOfCustomers}}, uden at søge efter ny kunde.", "parse-originator-if-customer": "Behold afsender, hvis afsender er kunde", "parse-originator-if-customer-hint": "Hvis aktiveret og afsender er kunde, udelades søgning efter ny afsender, og den eksisterende beholdes.", "exclude-zero-deltas": "Ekskludér nul-deltaer fra udgående besked", "exclude-zero-deltas-hint": "Hvis aktiveret, tilføjes nøglen \"{{outputValueKey}}\" kun, hvis værdien ikke er nul.", - "exclude-zero-deltas-time-difference-hint": "Hvis aktiveret, tilføjes \"{{outputValueKey}}\" og \"{{periodValueKey}}\" kun, hvis \"{{outputValueKey}}\" ikke er nul.", + "exclude-zero-deltas-time-difference-hint": "Hvis aktiveret, tilføjes outputnøglerne \"{{outputValueKey}}\" og \"{{periodValueKey}}\" kun til den udgående besked, hvis værdien af \"{{outputValueKey}}\" ikke er nul.", "search-direction-from": "Fra afsender til målentitet", "search-direction-to": "Fra målentitet til afsender", "del-relation-direction-from": "Fra afsender", "del-relation-direction-to": "Til afsender", - "target-entity": "Målenhed", + "target-entity": "Målentitet", "function-configuration": "Funktionskonfiguration", "function-name": "Funktionsnavn", "function-name-required": "Funktionsnavn er påkrævet.", @@ -7407,18 +8552,29 @@ "qualifier-hint": "Hvis kvalifikator ikke er angivet, bruges standardkvalifikatoren \"$LATEST\".", "aws-credentials": "AWS-legitimationsoplysninger", "connection-timeout": "Forbindelsestidsgrænse", - "connection-timeout-required": "Forbindelsestidsgrænse er påkrævet.", + "connection-timeout-required": "Forbindelsestimeout er påkrævet.", "connection-timeout-min": "Minimum forbindelsestidsgrænse er 0.", "connection-timeout-hint": "Tiden i sekunder, der ventes ved etablering af forbindelse, før timeout. En værdi på 0 betyder uendelig, hvilket ikke anbefales.", "request-timeout": "Forespørgsels-timeout", - "request-timeout-required": "Forespørgsels-timeout er påkrævet.", + "request-timeout-required": "Forespørgselstimeout er påkrævet", "request-timeout-min": "Minimum forespørgsels-timeout er 0.", "request-timeout-hint": "Tiden i sekunder, der ventes på at gennemføre forespørgslen, før timeout. En værdi på 0 betyder uendelig, hvilket ikke anbefales.", - "units": "Enheder", + "units": "Måleenheder", "tell-failure-aws-lambda": "Rapportér fejl, hvis AWS Lambda-funktion kaster en undtagelse", "tell-failure-aws-lambda-hint": "Regelnoden tvinger fejl i beskedbehandling, hvis AWS Lambda-funktion udløser en undtagelse.", "basic-mode": "Basis", "advanced-mode": "Avanceret", + "url-hint": "Angiv anmodningens URL. Sørg for, at specialtegn er procentkodede.", + "query-params": "Forespørgselsparametre", + "query-params-hint": "Yderligere forespørgselsparametre, der skal medtages i anmodningens URL. Både navne og værdier understøtter skabeloner og kodes strengt (RFC 3986) efter skabelonopløsning.", + "query-params-empty": "Ingen forespørgselsparametre konfigureret", + "query-params-name": "Navn", + "query-params-value": "Værdi", + "query-params-name-required": "Navn er påkrævet", + "query-params-value-required": "Værdi er påkrævet", + "headers-empty": "Ingen headers konfigureret", + "request-url": "Anmodnings-URL", + "url": "URL", "save-time-series": { "processing-settings": "Behandlingsindstillinger", "processing-settings-hint": "Definér, hvordan indgående beskeder behandles. Basisindstillinger lader dig vælge forudkonfigurerede strategier, mens avancerede indstillinger tillader valg af individuelle strategier for hver handling.", @@ -7492,22 +8648,22 @@ "user-prompt-required": "Brugerprompt er påkrævet.", "user-prompt-max-length": "Brugerprompt må højst indeholde 500000 tegn.", "user-prompt-blank": "Brugerprompt må ikke være tom.", - "response-format": "Svartype", + "response-format": "Svarformat", "response-text": "Tekst", "response-json": "JSON", "response-json-schema": "JSON-skema", "response-format-hint-TEXT": "Tillader modellen at generere vilkårlig tekst, som muligvis ikke er et gyldigt JSON-objekt. Hvis output ikke er gyldigt JSON, vil det automatisk blive pakket ind i et JSON-objekt under nøglen \"response\".", "response-format-hint-JSON": "Modellen skal generere et svar, der er gyldigt JSON. Hvis output ikke er gyldigt JSON, vil det automatisk blive pakket ind i et JSON-objekt under nøglen \"response\".", "response-format-hint-JSON_SCHEMA": "Modellen skal generere JSON, der matcher den specifikke struktur og datatyper defineret i det angivne skema. Hvis output ikke er gyldigt JSON, vil det automatisk blive pakket ind i et JSON-objekt under nøglen \"response\".", - "response-json-schema-hint": "Selvom enhver gyldig JSON-skema kan indtastes, understøtter denne regelnode kun et begrænset sæt af dets funktioner. Se node-dokumentationen for detaljer.", + "response-json-schema-hint": "Selvom ethvert gyldigt JSON-skema kan indtastes, understøtter denne regelnode kun et begrænset udvalg af dets funktioner. Se nodens dokumentation for detaljer.", "response-json-schema-required": "JSON-skema er påkrævet", "advanced-settings": "Avancerede indstillinger", "timeout": "Timeout", - "timeout-hint": "Maksimal ventetid på svar fra AI-modellen, før anmodningen afbrydes.", + "timeout-hint": "Maksimal ventetid på svar \nfra AI-modellen, før anmodningen afbrydes.", "timeout-required": "Timeout er påkrævet", "timeout-validation": "Skal være mellem 1 sekund og 10 minutter.", - "force-acknowledgement": "Tving kvittering", - "force-acknowledgement-hint": "Hvis aktiveret, kvitteres den indgående besked straks. Modellens svar sættes derefter i kø som en separat, ny besked.", + "force-acknowledgement": "Gennemtving bekræftelse", + "force-acknowledgement-hint": "Hvis aktiveret, bekræftes den indgående besked straks. Modellens svar sættes derefter i kø som en separat, ny besked.", "ai-resources": "AI-ressourcer" } }, @@ -7546,11 +8702,12 @@ "name-required": "Navn er påkrævet.", "name-max-length": "Navnet skal være mindre end 256 tegn", "description": "Beskrivelse", - "events": "Begivenheder", + "events": "Hændelser", "details": "Detaljer", "copyId": "Kopiér rolle-ID", "idCopiedMessage": "Rolle-ID er blevet kopieret til udklipsholderen", "permissions": "Tilladelser", + "excluded-permissions": "Udelukkede tilladelser", "role-required": "Rolle er påkrævet", "roles-required": "Roller er påkrævede", "display-type": { @@ -7560,7 +8717,7 @@ }, "group-permission": { "user-group-roles": "Brugergrupperoller", - "entity-group-permissions": "Tilladelser til enhedsgrupper", + "entity-group-permissions": "Tilladelser til entitetsgrupper", "role-type": "Rolletype", "role-name": "Rollenavn", "group-type": "Gruppetype", @@ -7568,7 +8725,7 @@ "group-owner": "Gruppens ejer", "user-group-name": "Brugergruppenavn", "user-group-owner": "Brugergruppens ejer", - "edit": "Rediger tilladelser", + "edit": "Redigér tilladelser", "delete": "Slet tilladelser", "selected-group-permissions": "{ count, plural, =1 {1 gruppetilladelse} other {# gruppetilladelser} } valgt", "delete-group-permission-title": "Er du sikker på, at du vil slette gruppetilladelsen '{{roleName}}'?", @@ -7578,16 +8735,20 @@ "delete-group-permissions-text": "Vær forsigtig, efter bekræftelsen vil alle valgte gruppetilladelser blive fjernet, og de tilsvarende brugere vil miste adgangen til de angivne ressourcer.", "delete-group-permissions": "Slet gruppetilladelser", "add-group-permission": "Tilføj gruppetilladelse", - "edit-group-permission": "Rediger gruppetilladelse", - "entity-group": "Enhedsgruppe", + "edit-group-permission": "Redigér gruppetilladelse", + "entity-group": "Entitetsgruppe", "user-group": "Brugergruppe", "no-owners-matching": "Ingen ejere, der matcher '{{owner}}', blev fundet.", - "target-owner-required": "Ejer af enhedsgruppe er påkrævet.", + "target-owner-required": "Ejer af entitetsgruppe er påkrævet.", "target-user-group-owner-required": "Ejer af brugergruppe er påkrævet.", - "no-group-permissions-text": "Ingen gruppetilladelser fundet" + "no-group-permissions-text": "Ingen gruppetilladelser fundet", + "permissions-merge-hint": "For generiske roller gælder nægtede handlinger kun inden for samme rolle. Hvis en anden rolle tillader en handling, gives der adgang." }, "permission": { "permissions-required": "Mindst én tilladelsespost skal angives.", + "resource-duplicate": "Denne ressource er allerede valgt", + "operations-required": "Mindst én tilladt eller nægtet handling skal angives.", + "operation-overlap": "Tilladte og nægtede handlinger må ikke overlappe.", "remove-permission": "Fjern tilladelsespost", "add-permission": "Tilføj tilladelsespost", "other": "Andet", @@ -7606,25 +8767,25 @@ "ASSET": "Aktiv", "CUSTOMER": "Kunde", "DASHBOARD": "Dashboard", - "ENTITY_VIEW": "Enhedsvisning", + "ENTITY_VIEW": "Entitetsvisning", "EDGE": "Edge", "TENANT": "Lejer", "TENANT_PROFILE": "Lejerprofil", - "RULE_CHAIN": "Rule Chain", + "RULE_CHAIN": "Regelkæde", "USER": "Bruger", "WIDGETS_BUNDLE": "Widgetpakke", "WIDGET_TYPE": "Widgettype", - "CONVERTER": "Dataomformer", + "CONVERTER": "Datakonverter", "INTEGRATION": "Integration", - "SCHEDULER_EVENT": "Tidsplanlagt hændelse", - "BLOB_ENTITY": "Blob-enhed", + "SCHEDULER_EVENT": "Planlæggerhændelse", + "BLOB_ENTITY": "Blob-entitet", "REPORT_TEMPLATE": "Rapportskabelon", "REPORT": "Rapport", "CUSTOMER_GROUP": "Kundegruppe", "DEVICE_GROUP": "Enhedsgruppe", "ASSET_GROUP": "Aktivgruppe", "USER_GROUP": "Brugergruppe", - "ENTITY_VIEW_GROUP": "Gruppe af enhedsvisninger", + "ENTITY_VIEW_GROUP": "Gruppe af entitetsvisninger", "DASHBOARD_GROUP": "Dashboardgruppe", "ROLE": "Rolle", "GROUP_PERMISSION": "Gruppetilladelse", @@ -7639,7 +8800,7 @@ "VERSION_CONTROL": "Versionskontrol", "ASSET_PROFILE": "Aktivprofil", "NOTIFICATION": "Notifikation", - "MOBILE_APP_SETTINGS": "QR-kode widgetindstilling", + "MOBILE_APP_SETTINGS": "Indstilling for QR-kode-widget", "MOBILE_APP_BUNDLE": "Mobilpakke", "MOBILE_APP": "Mobilapp", "DOMAIN": "Domæne", @@ -7647,12 +8808,22 @@ "SECRET": "Hemmelighed", "JOB": "Opgave", "AI_MODEL": "AI-model", - "API_KEY": "API-nøgle" + "AI": "AI", + "API_KEY": "API-nøgle", + "AGENT": "Agent", + "AGENT_GROUP": "Agent-gruppe", + "AGENT_PROFILE": "Agent-profil", + "AGENT_APPLICATION": "Agent-applikation", + "AGENT_APP_PROFILE": "Agent-applikationsprofil", + "AGENT_APP_UNIT": "Agent-applikationskomponent" } }, "operation": { "operation": "Handling", "operations": "Handlinger", + "allowed": "Tilladt", + "denied": "Nægtet", + "not-set": "Ikke angivet", "operations-required": "Mindst én handling skal angives.", "enter-operation": "Indtast handling", "no-operations-matching": "Ingen handlinger, der matcher '{{operation}}', blev fundet.", @@ -7671,46 +8842,46 @@ "WRITE_ATTRIBUTES": "Skriv attributter", "READ_TELEMETRY": "Læs telemetri", "WRITE_TELEMETRY": "Skriv telemetri", - "CLAIM_DEVICES": "Krav enheder", - "IMPERSONATE": "Imiter", + "CLAIM_DEVICES": "Tag enheder i brug", + "IMPERSONATE": "Log ind som bruger", "CHANGE_OWNER": "Skift ejer", "ADD_TO_GROUP": "Tilføj til gruppe", "REMOVE_FROM_GROUP": "Fjern fra gruppe", "SHARE_GROUP": "Del gruppe", "ASSIGN_TO_TENANT": "Tildel til lejer", - "READ_CALCULATED_FIELD": "Læs beregnet felt", - "WRITE_CALCULATED_FIELD": "Skriv beregnet felt" + "READ_CALCULATED_FIELD": "Læs beregnede felter og alarmregler", + "WRITE_CALCULATED_FIELD": "Skriv beregnede felter og alarmregler" } } }, "scheduler": { "scheduler": "Planlægger", - "scheduler-event": "Planlæggerbegivenhed", - "select-scheduler-event": "Vælg planlæggerbegivenhed", - "no-scheduler-events-matching": "Ingen planlæggerbegivenheder, der matcher '{{entity}}', blev fundet.", - "scheduler-event-required": "Planlæggerbegivenhed er påkrævet", + "scheduler-event": "Planlæggerhændelse", + "select-scheduler-event": "Vælg planlæggerhændelse", + "no-scheduler-events-matching": "Ingen planlæggerhændelser, der matcher '{{entity}}', blev fundet.", + "scheduler-event-required": "Planlæggerhændelse er påkrævet", "management": "Tidsplanstyring", - "scheduler-events": "Planlæggerbegivenheder", - "add-scheduler-event": "Tilføj planlæggerbegivenhed", - "search-scheduler-events": "Søg i planlæggerbegivenheder", + "scheduler-events": "Planlæggerhændelser", + "add-scheduler-event": "Tilføj planlæggerhændelse", + "search-scheduler-events": "Søg i planlæggerhændelser", "created-time": "Oprettelsestid", "name": "Navn", "name-required": "Navn er påkrævet", - "name-max-length": "Navnet skal være under 256 tegn", + "name-max-length": "Navnet skal være mindre end 256 tegn", "type": "Type", "created_customer": "Oprettet af kunde", - "edit-scheduler-event": "Rediger planlæggerbegivenhed", - "view-scheduler-event": "Se planlæggerbegivenhed", - "delete-scheduler-event": "Slet planlæggerbegivenhed", - "no-scheduler-events": "Ingen planlæggerbegivenheder fundet", - "selected-scheduler-events": "{ count, plural, =1 {1 planlæggerbegivenhed} other {# planlæggerbegivenheder} } valgt", - "delete-scheduler-event-title": "Er du sikker på, at du vil slette planlæggerbegivenheden '{{schedulerEventName}}'?", - "delete-scheduler-event-text": "Vær forsigtig, efter bekræftelse bliver planlæggerbegivenheden og alle relaterede data ikke gendannelige.", - "delete-scheduler-events-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 planlæggerbegivenhed} other {# planlæggerbegivenheder} }?", - "delete-scheduler-events-text": "Vær forsigtig, efter bekræftelse bliver alle valgte planlæggerbegivenheder og relaterede data fjernet.", - "create": "Opret planlæggerbegivenhed", - "edit": "Rediger planlæggerbegivenhed", - "view": "Se planlæggerbegivenhed", + "edit-scheduler-event": "Redigér planlæggerhændelse", + "view-scheduler-event": "Se planlæggerhændelse", + "delete-scheduler-event": "Slet planlæggerhændelse", + "no-scheduler-events": "Ingen planlæggerhændelser fundet", + "selected-scheduler-events": "{ count, plural, =1 {1 planlæggerhændelse} other {# planlæggerhændelser} } valgt", + "delete-scheduler-event-title": "Er du sikker på, at du vil slette planlæggerhændelsen '{{schedulerEventName}}'?", + "delete-scheduler-event-text": "Vær forsigtig, efter bekræftelse kan planlæggerhændelsen og alle relaterede data ikke gendannes.", + "delete-scheduler-events-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 planlæggerhændelse} other {# planlæggerhændelser} }?", + "delete-scheduler-events-text": "Vær forsigtig, efter bekræftelse vil alle valgte planlæggerhændelser blive fjernet, og alle relaterede data kan ikke gendannes.", + "create": "Tilføj planlæggerhændelse", + "edit": "Redigér planlæggerhændelse", + "view": "Se planlæggerhændelse", "configuration": "Konfiguration", "schedule": "Tidsplan", "start-time": "Starttid", @@ -7742,32 +8913,32 @@ "thursday-label": "Tor", "friday-label": "Fre", "saturday-label": "Lør", - "repeat-on-sunday": "Gentag om søndag", - "repeat-on-monday": "Gentag om mandag", - "repeat-on-tuesday": "Gentag om tirsdag", - "repeat-on-wednesday": "Gentag om onsdag", - "repeat-on-thursday": "Gentag om torsdag", - "repeat-on-friday": "Gentag om fredag", - "repeat-on-saturday": "Gentag om lørdag", - "event-type": "Begivenhedstype", - "select-event-type": "Vælg begivenhedstype", - "event-type-required": "Begivenhedstype er påkrævet.", - "event-type-max-length": "Begivenhedstype skal være under 256 tegn.", + "repeat-on-sunday": "Gentag hver søndag", + "repeat-on-monday": "Gentag hver mandag", + "repeat-on-tuesday": "Gentag hver tirsdag", + "repeat-on-wednesday": "Gentag hver onsdag", + "repeat-on-thursday": "Gentag hver torsdag", + "repeat-on-friday": "Gentag hver fredag", + "repeat-on-saturday": "Gentag hver lørdag", + "event-type": "Hændelsestype", + "select-event-type": "Vælg hændelsestype", + "event-type-required": "Hændelsestype er påkrævet.", + "event-type-max-length": "Hændelsestype skal være under 256 tegn.", "list-mode": "Listevisning", "calendar-mode": "Kalendervisning", "calendar-view-type": "Kalendervisningstype", "month": "Måned", "week": "Uge", "day": "Dag", - "agenda-week": "Agenda uge", - "agenda-day": "Agenda dag", - "list-year": "Liste år", - "list-month": "Liste måned", - "list-week": "Liste uge", - "list-day": "Liste dag", + "agenda-week": "Ugeagenda", + "agenda-day": "Dagsagenda", + "list-year": "Årsliste", + "list-month": "Månedsliste", + "list-week": "Ugeliste", + "list-day": "Dagsliste", "today": "I dag", - "navigate-before": "Naviger før", - "navigate-next": "Naviger næste", + "navigate-before": "Navigér til forrige", + "navigate-next": "Navigér til næste", "starting-from": "Startende fra", "until": "indtil", "on": "på", @@ -7778,12 +8949,10 @@ "thursday": "Torsdag", "friday": "Fredag", "saturday": "Lørdag", - "originator": "Oprindelse", - "single-entity": "Enkelt enhed", - "group-entities": "Gruppe af enheder", - "entities-group-owner": "Ejer af enhedsgruppe", - "single-device": "Enkelt enhed", - "group-of-devices": "Gruppe af enheder", + "originator": "Afsender", + "single-entity": "Enkelt entitet", + "group-entities": "Gruppe af entiteter", + "entities-group-owner": "Ejer af entitetsgruppe", "devices-group-owner": "Ejer af enhedsgruppe", "message-body": "Beskedindhold", "target": "Mål", @@ -7801,9 +8970,9 @@ "every-minute": "hver { count, plural, =1 {minut} other {# minutter} }", "every-second": "hver { count, plural, =1 {sekund} other {# sekunder} }", "invalid-time": "Ugyldig tid", - "rpc-request-timeout": "RPC-anmodning timeout (ms)", + "rpc-request-timeout": "Timeout for RPC-anmodning (ms)", "rpc-request-persistent": "Vedvarende RPC-anmodning", - "rpc-request-oneway-command": "Énvej RPC-anmodning", + "rpc-request-oneway-command": "Envejs-RPC-anmodning", "rpc-value-min-error": "Værdien skal være større end {{min}} ms.", "set": "Angiv", "rpc-settings": "RPC-indstillinger", @@ -7814,18 +8983,18 @@ "report": { "general-report-settings": "Generelle rapportindstillinger", "target-dashboard": "Måldashboard", - "email-config": "E-mail konfiguration", - "dashboard-state-param": "Tilstandsparameter for dashboard", + "email-config": "E-mail-konfiguration", + "dashboard-state-param": "Værdi for dashboardets tilstandsparameter", "base-url": "Basis-URL", "base-url-required": "Basis-URL er påkrævet.", - "use-dashboard-timewindow": "Brug dashboard-tidsvindue", + "use-dashboard-timewindow": "Brug dashboardets tidsvindue", "use-dashboard-timewindow-description": "Hvis aktiveret, bruges det konfigurerede tidsvindue i måldashboardet under generering af rapport.", "timewindow": "Tidsvindue", "name-pattern": "Navngivningsmønster for rapport", "name-pattern-required": "Navngivningsmønster for rapport er påkrævet", "type": "Rapporttype", - "customer-user-credentials": "Kunde-brugeroplysninger", - "customer-user-credentials-required": "Kunde-brugeroplysninger er påkrævet", + "customer-user-credentials": "Legitimationsoplysninger for kundebruger", + "customer-user-credentials-required": "Legitimationsoplysninger for kundebruger er påkrævede", "generate-test-report": "Generér testrapport", "send-email": "Send e-mail", "from": "Fra", @@ -7840,11 +9009,11 @@ "subject-required": "Emne er påkrævet.", "body": "Indhold", "body-required": "Indhold er påkrævet.", - "credentials": "Oplysninger", - "preview-report": "Vis rapport", + "credentials": "Legitimationsoplysninger", + "preview-report": "Forhåndsvis rapport", "current-user": "Nuværende bruger", "customer-user": "Kundebruger", - "user-credentials-description": "Oplysninger fra den angivne bruger vil blive brugt til at åbne dashboardet under rapportgenerering.", + "user-credentials-description": "Legitimationsoplysninger for den angivne bruger vil blive brugt til at åbne dashboardet under rapportgenerering.", "timezone-description": "Tidszone, hvori måldashboardet vises i rapporten.", "reporting": "Rapportering", "templates": "Skabeloner", @@ -7867,7 +9036,14 @@ "download": "Download rapport", "report-filter": "Rapportfilter", "no-reports-matching": "Ingen rapporter, der matcher '{{entity}}', blev fundet.", - "report-required": "Rapport er påkrævet" + "report-required": "Rapport er påkrævet", + "generate-report": "Generér rapport", + "generate-report-started": "Rapportgenereringen er startet. Opdatér siden, hvis rapporten ikke vises.", + "public-status": "Offentlig adgang", + "manage-public-access": "Administrér offentlig adgang", + "public-status-hint": "Når det er aktiveret, kan alle med det offentlige rapportlink downloade rapporten.", + "public-link-text": "Denne rapport er offentlig. Del linket nedenfor - alle med linket kan downloade rapporten uden at logge ind.", + "copy-public-link": "Kopiér link" }, "report-template": { "report-template": "Rapportskabelon", @@ -7911,17 +9087,17 @@ "settings": "Indstillinger", "report-template-settings": "Indstillinger for rapportskabelon", "sub-report-settings": "Indstillinger for delrapport", - "file-name-pattern": "Mønsternavn for fil", - "file-name-pattern-required": "Mønsternavn for rapportfil er påkrævet!", + "file-name-pattern": "Mønster for filnavn", + "file-name-pattern-required": "Mønster for rapportfilnavn er påkrævet!", "default-date-format": "Standarddatoformat", "report-components": "Rapportkomponenter", "search-components": "Søg i komponenter", "drop-report-components": "Slip rapportkomponenter fra sidepanelet her", "drop-report-component": "Slip rapportkomponent her", "header": "Header", - "header-disabled": "Header deaktiveret", - "first-page-header": "Header på første side", - "first-page-header-disabled": "Header på første side deaktiveret", + "header-disabled": "Sidehoved deaktiveret", + "first-page-header": "Sidehoved på første side", + "first-page-header-disabled": "Sidehoved på første side deaktiveret", "footer": "Sidefod", "footer-disabled": "Sidefod deaktiveret", "first-page-footer": "Sidefod på første side", @@ -7933,8 +9109,8 @@ "page-settings": "Sideindstillinger", "paper-size": "Papirstørrelse", "orientation": "Orientering", - "orientation-portrait": "Portræt", - "orientation-landscape": "Landskab", + "orientation-portrait": "Stående", + "orientation-landscape": "Liggende", "margins": "Marginer", "paddings": "Polstring", "left": "Venstre", @@ -8001,13 +9177,13 @@ "column-width": "Kolonnebredde", "header": "Header", "cell": "Celle", - "sort-by": "Sorter efter", + "sort-by": "Sortér efter", "sort-asc": "Stigende", "sort-desc": "Faldende", "sort-none": "Ingen" }, "entity-table": { - "type": "Enhedstabel" + "type": "Entitetstabel" }, "timeseries-table": { "type": "Tidsserietabel", @@ -8045,7 +9221,7 @@ "type": "Billede", "image-source": "Billedkilde", "source-image": "Billede", - "source-entity-key": "Enhedsnøgle", + "source-entity-key": "Entitetsnøgle", "image-url-key": "Billede-URL-nøgle", "image-width": "Billedbredde", "width-fit-width": "Tilpas bredde", @@ -8104,16 +9280,16 @@ "selected-scheduled-reports": "{ count, plural, =1 {1 rapporttidsplan} other {# rapporttidsplaner} } valgt" }, "blob-entity": { - "blob-entity": "Blob-enhed", - "select-blob-entity": "Vælg blob-enhed", - "no-blob-entities-matching": "Ingen blob-enheder matcher '{{entity}}'.", - "blob-entity-required": "Blob-enhed er påkrævet", + "blob-entity": "Blob-entitet", + "select-blob-entity": "Vælg blob-entitet", + "no-blob-entities-matching": "Ingen blob-entiteter matcher '{{entity}}'.", + "blob-entity-required": "Blob-entitet er påkrævet", "files": "Filer", "search": "Søg i filer", "clear-search": "Ryd søgning", "no-blob-entities-prompt": "Ingen filer fundet", "report": "Webrapport", - "created-time": "Oprettet tid", + "created-time": "Oprettelsestid", "name": "Navn", "type": "Type", "created_customer": "Oprettet af kunde", @@ -8121,9 +9297,9 @@ "download-blob-entity": "Download fil", "delete-blob-entity": "Slet fil", "delete-blob-entity-title": "Er du sikker på, at du vil slette filen '{{blobEntityName}}'?", - "delete-blob-entity-text": "Vær forsigtig, efter bekræftelse vil filens data være uigenkaldelige.", + "delete-blob-entity-text": "Vær forsigtig, efter bekræftelse kan filens data ikke gendannes.", "delete-blob-entities-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 fil} other {# filer} }?", - "delete-blob-entities-text": "Vær forsigtig, efter bekræftelse vil alle valgte filer blive fjernet og alle relaterede data vil være uigenkaldelige." + "delete-blob-entities-text": "Vær forsigtig, efter bekræftelse vil alle valgte filer blive fjernet, og alle relaterede data kan ikke gendannes." }, "timezone": { "timezone": "Tidszone", @@ -8142,9 +9318,9 @@ "name-unique": "Kønavnet er ikke unikt!", "name-pattern": "Kønavnet indeholder ugyldige tegn! Kun ASCII alfanumeriske tegn, '.', '_' og '-' er tilladt.", "queue-required": "Kø er påkrævet!", - "topic-required": "Køemne er påkrævet!", + "topic-required": "Kø-topic er påkrævet!", "poll-interval-required": "Poll-interval er påkrævet!", - "poll-interval-min-value": "Poll-intervalværdien må ikke være mindre end 1", + "poll-interval-min-value": "Polling-intervalværdien må ikke være mindre end 1", "partitions-required": "Partitioner er påkrævet!", "partitions-min-value": "Antal partitioner må ikke være mindre end 1", "pack-processing-timeout-required": "Behandlingstimeout er påkrævet", @@ -8166,12 +9342,12 @@ "selected-queues": "{ count, plural, =1 {1 kø} other {# køer} } valgt", "delete-queue-title": "Er du sikker på, at du vil slette køen '{{queueName}}'?", "delete-queues-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 kø} other {# køer} }?", - "delete-queue-text": "Vær forsigtig, efter bekræftelse vil køen og alle relaterede data være uigenkaldelige.", + "delete-queue-text": "Vær forsigtig, efter bekræftelse kan køen og alle relaterede data ikke gendannes.", "delete-queues-text": "Efter bekræftelse vil alle valgte køer blive slettet og ikke være tilgængelige.", "search": "Søg kø", "add": "Tilføj kø", "details": "Kødetaljer", - "topic": "Emne", + "topic": "Topic", "submit-settings": "Indstillinger for afsendelse", "submit-strategy": "Strategitype *", "grouping-parameter": "Grupperingsparameter", @@ -8199,7 +9375,7 @@ "description-hint": "Denne tekst vises i købeskrivelsen i stedet for den valgte strategi", "alt-description": "Afsendelsesstrategi: {{submitStrategy}}, Behandlingsstrategi: {{processingStrategy}}", "custom-properties": "Brugerdefinerede egenskaber", - "custom-properties-hint": "Brugerdefinerede egenskaber til køoprettelse, f.eks. 'retention.ms:604800000;retention.bytes:1048576000'", + "custom-properties-hint": "Brugerdefinerede egenskaber til oprettelse af kø (topic), f.eks. 'retention.ms:604800000;retention.bytes:1048576000'", "strategies": { "sequential-by-originator-label": "Sekventiel efter afsender", "sequential-by-originator-hint": "Ny besked for f.eks. enhed A sendes først, når den tidligere besked for enhed A er bekræftet", @@ -8212,9 +9388,9 @@ "batch-label": "Batch", "batch-hint": "Ny batch sendes først, når den forrige batch er bekræftet", "skip-all-failures-label": "Spring alle fejl over", - "skip-all-failures-hint": "Ignorer alle fejl", + "skip-all-failures-hint": "Ignorér alle fejl", "skip-all-failures-and-timeouts-label": "Spring fejl og timeouts over", - "skip-all-failures-and-timeouts-hint": "Ignorer fejl og timeouts", + "skip-all-failures-and-timeouts-hint": "Ignorér alle fejl og timeouts", "retry-all-label": "Forsøg alle igen", "retry-all-hint": "Forsøg alle beskeder fra pakken igen", "retry-failed-label": "Forsøg fejlede igen", @@ -8222,7 +9398,7 @@ "retry-timeout-label": "Forsøg timeouts igen", "retry-timeout-hint": "Forsøg alle timeout-beskeder fra pakken igen", "retry-failed-and-timeout-label": "Forsøg fejl og timeout igen", - "retry-failed-and-timeout-hint": "Forsøg alle fejl og timeout-beskeder igen" + "retry-failed-and-timeout-hint": "Forsøg alle fejlede beskeder og beskeder med timeout fra pakken igen" } }, "queue-statistics": { @@ -8239,7 +9415,7 @@ "authentication": "Godkendelsesfejl", "jwt-token-expired": "JWT-token er udløbet", "tenant-trial-expired": "Lejerens prøveperiode er udløbet", - "credentials-expired": "Adgangsoplysninger er udløbet", + "credentials-expired": "Legitimationsoplysninger er udløbet", "permission-denied": "Adgang nægtet", "invalid-arguments": "Ugyldige argumenter", "bad-request-params": "Ugyldige forespørgselsparametre", @@ -8254,17 +9430,17 @@ "management": "Lejeradministration", "add": "Tilføj lejer", "admins": "Administratorer", - "manage-tenant-admins": "Administrer lejeradministratorer", + "manage-tenant-admins": "Administrér lejeradministratorer", "delete": "Slet lejer", "add-tenant-text": "Tilføj ny lejer", "no-tenants-text": "Ingen lejere fundet", "tenant-details": "Lejerdetaljer", - "title-max-length": "Titlen skal være under 256 tegn", + "title-max-length": "Titel skal være mindre end 256 tegn", "delete-tenant-title": "Er du sikker på, at du vil slette lejeren '{{tenantTitle}}'?", - "delete-tenant-text": "Vær forsigtig, efter bekræftelsen vil lejeren og alle relaterede data blive uigenkaldelige.", + "delete-tenant-text": "Vær forsigtig, efter bekræftelsen kan lejeren og alle relaterede data ikke gendannes.", "delete-tenants-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 lejer} other {# lejere} }?", "delete-tenants-action-title": "Slet { count, plural, =1 {1 lejer} other {# lejere} }", - "delete-tenants-text": "Vær forsigtig, efter bekræftelsen vil alle valgte lejere og relaterede data blive uigenkaldelige.", + "delete-tenants-text": "Vær forsigtig, efter bekræftelsen kan alle valgte lejere og relaterede data ikke gendannes.", "title": "Titel", "title-required": "Titel er påkrævet.", "description": "Beskrivelse", @@ -8288,10 +9464,10 @@ "add": "Tilføj lejerprofil", "add-profile": "Tilføj profil", "debug": "Fejlfinding", - "edit": "Rediger lejerprofil", + "edit": "Redigér lejerprofil", "tenant-profile-details": "Detaljer om lejerprofil", "no-tenant-profiles-text": "Ingen lejerprofiler fundet", - "name-max-length": "Navnet skal være under 256 tegn", + "name-max-length": "Navnet skal være mindre end 256 tegn", "search": "Søg lejerprofiler", "selected-tenant-profiles": "{ count, plural, =1 {1 lejerprofil} other {# lejerprofiler} } valgt", "no-tenant-profiles-matching": "Ingen lejerprofil matcher '{{entity}}'.", @@ -8307,16 +9483,16 @@ "description": "Beskrivelse", "default": "Standard", "delete-tenant-profile-title": "Er du sikker på, at du vil slette lejerprofilen '{{tenantProfileName}}'?", - "delete-tenant-profile-text": "Vær forsigtig, efter bekræftelsen vil lejerprofilen og alle relaterede data blive uigenkaldelige.", + "delete-tenant-profile-text": "Vær forsigtig, efter bekræftelsen vil lejerprofilen og alle relaterede data ikke kunne gendannes.", "delete-tenant-profiles-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 lejerprofil} other {# lejerprofiler} }?", - "delete-tenant-profiles-text": "Vær forsigtig, efter bekræftelsen vil alle valgte lejerprofiler og relaterede data blive uigenkaldelige.", + "delete-tenant-profiles-text": "Vær forsigtig, efter bekræftelsen vil alle valgte lejerprofiler blive fjernet, og alle relaterede data vil ikke kunne gendannes.", "set-default-tenant-profile-title": "Er du sikker på, at du vil gøre lejerprofilen '{{tenantProfileName}}' til standard?", "set-default-tenant-profile-text": "Efter bekræftelsen vil lejerprofilen blive markeret som standard og bruges til nye lejere uden specifik profil.", "no-tenant-profiles-found": "Ingen lejerprofiler fundet.", "create-new-tenant-profile": "Opret en ny!", "create-tenant-profile": "Opret ny lejerprofil", - "import": "Importer lejerprofil", - "export": "Eksporter lejerprofil", + "import": "Importér lejerprofil", + "export": "Eksportér lejerprofil", "export-failed-error": "Kan ikke eksportere lejerprofil: {{error}}", "tenant-profile-file": "Lejerprofilfil", "invalid-tenant-profile-file-error": "Kan ikke importere lejerprofil: Ugyldig datastruktur.", @@ -8324,7 +9500,7 @@ "entities": "Entiteter", "rule-engine": "Rule Engine", "time-to-live": "Levetid", - "calculated-fields": "Beregnet felter", + "calculated-fields": "Beregnede felter", "alarms-and-notifications": "Alarmer og notifikationer", "ota-files-in-bytes": "Filer", "ws-title": "WS", @@ -8344,9 +9520,9 @@ "maximum-dashboards": "Maks. antal dashboards", "maximum-dashboards-required": "Maks. antal dashboards er påkrævet.", "maximum-dashboards-range": "Maks. antal dashboards må ikke være negativt", - "maximum-edges": "Maks. antal edge-enheder", - "maximum-edges-required": "Maks. antal edge-enheder er påkrævet.", - "maximum-edges-range": "Maks. antal edge-enheder må ikke være negativt", + "maximum-edges": "Maks. antal Edges", + "maximum-edges-required": "Maks. antal Edges er påkrævet.", + "maximum-edges-range": "Maks. antal Edge-instanser må ikke være negativt", "maximum-rule-chains": "Maks. antal regelkæder", "maximum-rule-chains-required": "Maks. antal regelkæder er påkrævet.", "maximum-rule-chains-range": "Maks. antal regelkæder må ikke være negativt", @@ -8359,42 +9535,51 @@ "maximum-converters": "Maks. antal konvertere", "maximum-converters-required": "Maks. antal konvertere er påkrævet.", "maximum-converters-range": "Maks. antal konvertere må ikke være negativt", - "maximum-scheduler-events": "Maks. antal planlagte hændelser", - "maximum-scheduler-events-required": "Maks. antal planlagte hændelser er påkrævet.", - "maximum-scheduler-events-range": "Maks. antal planlagte hændelser må ikke være negativt", + "maximum-scheduler-events": "Maks. antal planlæggerhændelser", + "maximum-scheduler-events-required": "Maks. antal planlæggerhændelser er påkrævet.", + "maximum-scheduler-events-range": "Maks. antal planlæggerhændelser må ikke være negativt", + "maximum-agents": "Maksimalt antal Agents", + "maximum-agents-required": "Maksimalt antal Agents er påkrævet.", + "maximum-agents-range": "Maksimalt antal Agents kan ikke være negativt", + "maximum-agent-applications": "Maksimalt antal Agent-applikationer", + "maximum-agent-applications-required": "Maksimalt antal Agent-applikationer er påkrævet.", + "maximum-agent-applications-range": "Maksimalt antal Agent-applikationer kan ikke være negativt", "maximum-resources-sum-data-size": "Maks. samlet størrelse af ressourcefiler (bytes)", "maximum-resources-sum-data-size-required": "Maks. samlet størrelse af ressourcefiler er påkrævet.", - "maximum-resources-sum-data-size-range": "Maks. samlet størrelse af ressourcefiler må ikke være negativt", + "maximum-resources-sum-data-size-range": "Maks. samlet størrelse af ressourcefiler må ikke være negativ", "maximum-resource-size": "Maks. størrelse på ressourcefil (bytes)", "maximum-resource-size-required": "Maks. størrelse på ressourcefil er påkrævet", - "maximum-resource-size-range": "Maks. størrelse på ressourcefil må ikke være negativt", + "maximum-resource-size-range": "Maks. størrelse på ressourcefil må ikke være negativ", + "maximum-report-size": "Maksimal størrelse på rapportfil (bytes)", + "maximum-report-size-required": "Maksimal størrelse på rapportfil er påkrævet", + "maximum-report-size-range": "Maksimal størrelse på rapportfil kan ikke være negativ", "maximum-ota-packages-sum-data-size": "Maks. samlet størrelse af OTA-pakker (bytes)", "maximum-ota-package-sum-data-size-required": "Maks. samlet størrelse af OTA-pakker er påkrævet.", - "maximum-ota-package-sum-data-size-range": "Maks. samlet størrelse af OTA-pakker må ikke være negativt", + "maximum-ota-package-sum-data-size-range": "Maks. samlet størrelse af OTA-pakker må ikke være negativ", "maximum-debug-duration-min": "Maks. fejlfindingstid (minutter)", "maximum-debug-duration-min-range": "Maks. fejlfindingstid må ikke være negativ", - "rest-requests-for-tenant": "REST-forespørgsler for lejer", - "transport-tenant-telemetry-msg-rate-limit": "Transportlejers telemetribeskeder", - "transport-tenant-telemetry-data-points-rate-limit": "Transportlejers telemetridatapunkter", - "transport-device-msg-rate-limit": "Transportenhedsbeskeder", - "transport-device-telemetry-msg-rate-limit": "Transportenheds telemetribeskeder", - "transport-device-telemetry-data-points-rate-limit": "Transportenheds telemetridatapunkter", - "transport-gateway-msg-rate-limit": "Transport gateway-beskeder", - "transport-gateway-telemetry-msg-rate-limit": "Transport gateway telemetribeskeder", - "transport-gateway-telemetry-data-points-rate-limit": "Transport gateway telemetridatapunkter", - "transport-gateway-device-msg-rate-limit": "Transport gateway-enhedsbeskeder", - "transport-gateway-device-telemetry-msg-rate-limit": "Transport gateway-enheds telemetribeskeder", - "transport-gateway-device-telemetry-data-points-rate-limit": "Transport gateway-enheds telemetridatapunkter", + "rest-requests-for-tenant": "REST-anmodninger for lejer", + "transport-tenant-telemetry-msg-rate-limit": "Lejerens telemetribeskeder via transport", + "transport-tenant-telemetry-data-points-rate-limit": "Lejerens telemetridatapunkter via transport", + "transport-device-msg-rate-limit": "Enhedens beskeder via transport", + "transport-device-telemetry-msg-rate-limit": "Enhedens telemetribeskeder via transport", + "transport-device-telemetry-data-points-rate-limit": "Enhedens telemetridatapunkter via transport", + "transport-gateway-msg-rate-limit": "Gatewayens beskeder via transport", + "transport-gateway-telemetry-msg-rate-limit": "Gatewayens telemetribeskeder via transport", + "transport-gateway-telemetry-data-points-rate-limit": "Gatewayens telemetridatapunkter via transport", + "transport-gateway-device-msg-rate-limit": "Gateway-enhedens beskeder via transport", + "transport-gateway-device-telemetry-msg-rate-limit": "Gateway-enhedens telemetribeskeder via transport", + "transport-gateway-device-telemetry-data-points-rate-limit": "Gateway-enhedens telemetridatapunkter via transport", "tenant-entity-export-rate-limit": "Versionering af entiteter", "tenant-entity-import-rate-limit": "Indlæsning af entitetsversion", "tenant-notification-request-rate-limit": "Notifikationsanmodninger", "tenant-notification-requests-per-rule-rate-limit": "Notifikationsanmodninger pr. regel", "integration-msgs-per-tenant-rate-limit": "Lejerens integrationsbeskeder", "integration-msgs-per-device-rate-limit": "Enhedens integrationsbeskeder", - "integration-msgs-per-asset-rate-limit": "Asset-integrationsbeskeder", - "max-calculated-fields": "Maksimalt antal beregnede felter pr. enhed", - "max-calculated-fields-range": "Maksimalt antal beregnede felter pr. enhed kan ikke være negativt", - "max-calculated-fields-required": "Maksimalt antal beregnede felter pr. enhed er påkrævet", + "integration-msgs-per-asset-rate-limit": "Aktivets integrationsbeskeder", + "max-calculated-fields": "Maksimalt antal beregnede felter pr. entitet", + "max-calculated-fields-range": "Maksimalt antal beregnede felter pr. entitet kan ikke være negativt", + "max-calculated-fields-required": "Maksimalt antal beregnede felter pr. entitet er påkrævet", "max-data-points-per-rolling-arg": "Maksimalt antal datapunkter i rullende argumenter", "max-data-points-per-rolling-arg-range": "Maksimalt antal datapunkter i rullende argumenter kan ikke være negativt", "max-data-points-per-rolling-arg-required": "Maksimalt antal datapunkter i rullende argumenter er påkrævet", @@ -8425,15 +9610,15 @@ "max-state-size": "Maksimal tilstandsstørrelse i KB", "max-state-size-range": "Maksimal tilstandsstørrelse i KB kan ikke være negativ", "max-state-size-required": "Maksimal tilstandsstørrelse i KB er påkrævet", - "max-value-argument-size": "Maksimal størrelse af enkeltværdien argument i KB", - "max-value-argument-size-range": "Maksimal størrelse af enkeltværdien argument i KB kan ikke være negativ", - "max-value-argument-size-required": "Maksimal størrelse af enkeltværdien argument i KB er påkrævet", + "max-value-argument-size": "Maksimal størrelse af argument med enkeltværdi i KB", + "max-value-argument-size-range": "Maksimal størrelse af argument med enkeltværdi i KB kan ikke være negativ", + "max-value-argument-size-required": "Maksimal størrelse af argument med enkeltværdi i KB er påkrævet", "max-transport-messages": "Maksimalt antal transportbeskeder", "max-transport-messages-required": "Maksimalt antal transportbeskeder er påkrævet.", "max-transport-messages-range": "Maksimalt antal transportbeskeder må ikke være negativt", - "max-transport-data-points": "Maksimalt antal transport datapunkter", - "max-transport-data-points-required": "Maksimalt antal transport datapunkter er påkrævet.", - "max-transport-data-points-range": "Maksimalt antal transport datapunkter må ikke være negativt", + "max-transport-data-points": "Maksimalt antal transportdatapunkter", + "max-transport-data-points-required": "Maksimalt antal transportdatapunkter er påkrævet.", + "max-transport-data-points-range": "Maksimalt antal transportdatapunkter må ikke være negativt", "max-r-e-executions": "Maksimalt antal Rule Engine-udførelser", "max-r-e-executions-required": "Maksimalt antal Rule Engine-udførelser er påkrævet.", "max-r-e-executions-range": "Maksimalt antal Rule Engine-udførelser må ikke være negativt", @@ -8446,30 +9631,30 @@ "max-d-p-storage-days": "Maksimale lagringsdage for datapunkter", "max-d-p-storage-days-required": "Maksimale lagringsdage for datapunkter er påkrævet.", "max-d-p-storage-days-range": "Maksimale lagringsdage for datapunkter må ikke være negativt", - "default-storage-ttl-days": "Standard lagring TTL dage", - "default-storage-ttl-days-required": "Standard lagring TTL dage er påkrævet.", - "default-storage-ttl-days-range": "Standard lagring TTL dage må ikke være negativt", - "alarms-ttl-days": "Alarmers TTL dage", - "alarms-ttl-days-required": "Alarmers TTL dage er påkrævet", - "alarms-ttl-days-days-range": "Alarmers TTL dage må ikke være negativt", - "rpc-ttl-days": "RPC TTL dage", - "rpc-ttl-days-required": "RPC TTL dage er påkrævet", - "rpc-ttl-days-days-range": "RPC TTL dage må ikke være negativt", - "queue-stats-ttl-days": "Køstatistik TTL dage", - "queue-stats-ttl-days-required": "Køstatistik TTL dage er påkrævet", - "queue-stats-ttl-days-range": "Køstatistik TTL dage må ikke være negativt", - "rule-engine-exceptions-ttl-days": "Rule Engine-undtagelser TTL dage", - "rule-engine-exceptions-ttl-days-required": "Rule Engine-undtagelser TTL dage er påkrævet", - "rule-engine-exceptions-ttl-days-range": "Rule Engine-undtagelser TTL dage må ikke være negativt", - "blob-entity-ttl-days": "Blob-enhed TTL dage", - "blob-entity-ttl-days-required": "Blob-enhed TTL dage er påkrævet", - "blob-entity-ttl-days-range": "Blob-enhed TTL dage må ikke være negativt", - "report-ttl-days": "Rapport TTL-dage", - "report-ttl-days-required": "Rapport TTL-dage er påkrævet", - "report-ttl-days-range": "Rapport TTL-dage må ikke være negativ", + "default-storage-ttl-days": "Standard-TTL-dage for lagring", + "default-storage-ttl-days-required": "Standard-TTL-dage for lagring er påkrævet.", + "default-storage-ttl-days-range": "Standard-TTL-dage for lagring må ikke være negative", + "alarms-ttl-days": "TTL-dage for alarmer", + "alarms-ttl-days-required": "TTL-dage for alarmer er påkrævet", + "alarms-ttl-days-days-range": "TTL-dage for alarmer må ikke være negative", + "rpc-ttl-days": "TTL-dage for RPC", + "rpc-ttl-days-required": "TTL-dage for RPC er påkrævet", + "rpc-ttl-days-days-range": "TTL-dage for RPC må ikke være negative", + "queue-stats-ttl-days": "TTL-dage for køstatistik", + "queue-stats-ttl-days-required": "TTL-dage for køstatistik er påkrævet", + "queue-stats-ttl-days-range": "TTL-dage for køstatistik må ikke være negative", + "rule-engine-exceptions-ttl-days": "TTL-dage for Rule Engine-undtagelser", + "rule-engine-exceptions-ttl-days-required": "TTL-dage for Rule Engine-undtagelser er påkrævet", + "rule-engine-exceptions-ttl-days-range": "TTL-dage for Rule Engine-undtagelser må ikke være negative", + "blob-entity-ttl-days": "TTL-dage for blob-entiteter", + "blob-entity-ttl-days-required": "TTL-dage for blob-entiteter er påkrævet", + "blob-entity-ttl-days-range": "TTL-dage for blob-entiteter må ikke være negative", + "report-ttl-days": "TTL-dage for rapporter", + "report-ttl-days-required": "TTL-dage for rapporter er påkrævet", + "report-ttl-days-range": "TTL-dage for rapporter må ikke være negative", "max-rule-node-executions-per-message": "Maks. antal regelnodekørsler pr. besked", "max-rule-node-executions-per-message-required": "Maks. antal regelnodekørsler pr. besked er påkrævet.", - "max-rule-node-executions-per-message-range": "Maks. antal regelnodekørsler pr. besked må ikke være negativ", + "max-rule-node-executions-per-message-range": "Maks. antal regelnodekørsler pr. besked må ikke være negativt", "max-emails": "Maksimalt antal sendte e-mails", "max-emails-required": "Maksimalt antal sendte e-mails er påkrævet.", "max-emails-range": "Maksimalt antal sendte e-mails må ikke være negativt", @@ -8489,10 +9674,10 @@ "too-small-value-zero": "Værdien skal være større end 0", "too-small-value-one": "Værdien skal være større end 1", "queue-size-is-limited-by-system-configuration": "Køens størrelse er også begrænset af systemkonfigurationen.", - "cassandra-write-tenant-core-limits-configuration": "REST API Cassandra-skriveforespørgsler", - "cassandra-read-tenant-core-limits-configuration": "REST API- og WS-telemetri Cassandra-læseforespørgsler", - "cassandra-write-tenant-rule-engine-limits-configuration": "Rule Engine-telemetri Cassandra-skriveforespørgsler", - "cassandra-read-tenant-rule-engine-limits-configuration": "Rule Engine-telemetri Cassandra-læseforespørgsler", + "cassandra-write-tenant-core-limits-configuration": "Cassandra-skriveforespørgsler fra REST API", + "cassandra-read-tenant-core-limits-configuration": "Cassandra-læseforespørgsler for telemetri fra REST API og WS", + "cassandra-write-tenant-rule-engine-limits-configuration": "Cassandra-skriveforespørgsler for telemetri fra Rule Engine", + "cassandra-read-tenant-rule-engine-limits-configuration": "Cassandra-læseforespørgsler for telemetri fra Rule Engine", "ws-limit-max-sessions-per-tenant": "Maksimalt antal sessioner pr. lejer", "ws-limit-max-sessions-per-customer": "Maksimalt antal sessioner pr. kunde", "ws-limit-max-sessions-per-regular-user": "Maksimalt antal sessioner pr. almindelig bruger", @@ -8507,71 +9692,85 @@ "relation-search-entity-limit-hint": "Begrænser antallet af entiteter, der opløses på det sidste niveau i relationsstien. Gælder for argumenter af typen 'Relaterede entiteter' og propageringsfelter.", "relation-search-entity-limit-required": "Entitetsgrænse for relationssøgning er påkrævet", "relation-search-entity-limit-range": "Entitetsgrænse for relationssøgning kan ikke være mindre end '1'", + "ai": "AI", + "max-ai-credits": "Maksimalt antal AI-kreditter", + "max-ai-credits-required": "Maksimalt antal AI-kreditter er påkrævet.", + "max-ai-credits-range": "Maksimalt antal AI-kreditter kan ikke være negativt", "rate-limits": { "add-limit": "Tilføj begrænsning", "and-also-less-than": "og også mindre end", "advanced-settings": "Avancerede indstillinger", - "edit-limit": "Rediger begrænsning", + "edit-limit": "Redigér begrænsning", "calculated-field-debug-event-rate-limit": "Fejlfindingshændelser for beregnede felter", - "edit-calculated-field-debug-event-rate-limit": "Rediger hastighedsgrænser for fejlfindingshændelser for beregnede felter", - "edit-transport-tenant-msg-title": "Rediger grænse for transportlejers beskeder", - "edit-transport-tenant-telemetry-msg-title": "Rediger grænse for transportlejers telemetribeskeder", - "edit-transport-tenant-telemetry-data-points-title": "Rediger grænse for transportlejers datapunkter", - "edit-transport-device-msg-title": "Rediger grænse for transportenheds beskeder", - "edit-transport-device-telemetry-msg-title": "Rediger grænse for transportenheds telemetribeskeder", - "edit-transport-device-telemetry-data-points-title": "Rediger grænse for transportenheds datapunkter", - "edit-transport-gateway-msg-title": "Rediger grænse for gateway-beskeder", - "edit-transport-gateway-telemetry-msg-title": "Rediger grænse for gateway telemetribeskeder", - "edit-transport-gateway-telemetry-data-points-title": "Rediger grænse for gateway datapunkter", - "edit-transport-gateway-device-msg-title": "Rediger grænse for gateway-enheds beskeder", - "edit-transport-gateway-device-telemetry-msg-title": "Rediger grænse for gateway-enheds telemetribeskeder", - "edit-transport-gateway-device-telemetry-data-points-title": "Rediger grænse for gateway-enheds datapunkter", - "edit-tenant-rest-limits-title": "Rediger REST-anmodninger for lejer", - "edit-customer-rest-limits-title": "Rediger REST-anmodninger for kunde", - "edit-ws-limit-updates-per-session-title": "Rediger grænse for WS-opdateringer pr. session", - "edit-cassandra-write-tenant-core-limits-configuration": "Redigér REST API Cassandra skriveforespørgsler", - "edit-cassandra-read-tenant-core-limits-configuration": "Redigér REST API- og WS-telemetri Cassandra læseforespørgsler", - "edit-cassandra-write-tenant-rule-engine-limits-configuration": "Redigér Rule Engine-telemetri Cassandra skriveforespørgsler", - "edit-cassandra-read-tenant-rule-engine-limits-configuration": "Redigér Rule Engine-telemetri Cassandra læseforespørgsler", - "edit-tenant-entity-export-rate-limit-title": "Rediger grænse for versionering af entitet", - "edit-tenant-entity-import-rate-limit-title": "Rediger grænse for indlæsning af entitet", - "edit-tenant-notification-request-rate-limit-title": "Rediger grænse for notifikationsanmodninger", - "edit-tenant-notification-requests-per-rule-rate-limit-title": "Rediger grænse for notifikationsanmodninger pr. regel", - "edit-integration-msgs-per-tenant-rate-limit-title": "Rediger grænse for integrationsbeskeder pr. lejer", - "edit-integration-msgs-per-device-rate-limit-title": "Rediger grænse for integrationsbeskeder pr. enhed", - "edit-integration-msgs-per-asset-rate-limit-title": "Rediger grænse for integrationsbeskeder pr. asset", - "edit-edge-events-rate-limit": "Rediger grænse for edge-hændelser", - "edit-edge-events-per-edge-rate-limit": "Rediger grænse for edge-hændelser pr. edge", + "edit-calculated-field-debug-event-rate-limit": "Redigér grænse for fejlfindingshændelser for beregnede felter", + "edit-transport-tenant-msg-title": "Redigér grænse for lejerens beskeder via transport", + "edit-transport-tenant-telemetry-msg-title": "Redigér grænse for lejerens telemetribeskeder via transport", + "edit-transport-tenant-telemetry-data-points-title": "Redigér grænse for lejerens telemetridatapunkter via transport", + "edit-transport-device-msg-title": "Redigér grænse for enhedens beskeder via transport", + "edit-transport-device-telemetry-msg-title": "Redigér grænse for enhedens telemetribeskeder via transport", + "edit-transport-device-telemetry-data-points-title": "Redigér grænse for enhedens telemetridatapunkter via transport", + "edit-transport-gateway-msg-title": "Redigér grænse for gatewayens beskeder via transport", + "edit-transport-gateway-telemetry-msg-title": "Redigér grænse for gatewayens telemetribeskeder via transport", + "edit-transport-gateway-telemetry-data-points-title": "Redigér grænse for gatewayens telemetridatapunkter via transport", + "edit-transport-gateway-device-msg-title": "Redigér grænse for Gateway-enhedens beskeder via transport", + "edit-transport-gateway-device-telemetry-msg-title": "Redigér grænse for Gateway-enhedens telemetribeskeder via transport", + "edit-transport-gateway-device-telemetry-data-points-title": "Redigér grænse for Gateway-enhedens telemetridatapunkter via transport", + "edit-tenant-rest-limits-title": "Redigér grænse for REST-anmodninger pr. lejer", + "edit-customer-rest-limits-title": "Redigér grænse for REST-anmodninger pr. kunde", + "edit-ws-limit-updates-per-session-title": "Redigér grænse for WS-opdateringer pr. session", + "edit-cassandra-write-tenant-core-limits-configuration": "Redigér REST API Cassandra-skriveforespørgsler", + "edit-cassandra-read-tenant-core-limits-configuration": "Redigér REST API- og WS-telemetri Cassandra-læseforespørgsler", + "edit-cassandra-write-tenant-rule-engine-limits-configuration": "Redigér Rule Engine-telemetri Cassandra-skriveforespørgsler", + "edit-cassandra-read-tenant-rule-engine-limits-configuration": "Redigér Rule Engine-telemetri Cassandra-læseforespørgsler", + "edit-tenant-entity-export-rate-limit-title": "Redigér grænse for oprettelse af entitetsversioner", + "edit-tenant-entity-import-rate-limit-title": "Redigér grænse for indlæsning af entitetsversioner", + "edit-tenant-notification-request-rate-limit-title": "Redigér grænse for notifikationsanmodninger", + "edit-tenant-notification-requests-per-rule-rate-limit-title": "Redigér grænse for notifikationsanmodninger pr. regel", + "edit-integration-msgs-per-tenant-rate-limit-title": "Redigér grænse for integrationsbeskeder pr. lejer", + "edit-integration-msgs-per-device-rate-limit-title": "Redigér grænse for integrationsbeskeder pr. enhed", + "edit-integration-msgs-per-asset-rate-limit-title": "Redigér grænse for integrationsbeskeder pr. aktiv", + "edit-edge-events-rate-limit": "Redigér grænse for Edge-hændelser", + "edit-edge-events-per-edge-rate-limit": "Redigér grænse for Edge-hændelser pr. Edge", "edge-events-rate-limit": "Edge-hændelser", - "edge-events-per-edge-rate-limit": "Edge-hændelser pr. edge", - "edit-edge-uplink-messages-rate-limit": "Rediger grænse for edge uplink-beskeder", - "edit-edge-uplink-messages-per-edge-rate-limit": "Rediger grænse for edge uplink-beskeder pr. edge", - "edge-uplink-messages-rate-limit": "Edge uplink-beskeder", - "edge-uplink-messages-per-edge-rate-limit": "Edge uplink-beskeder pr. edge", + "edge-events-per-edge-rate-limit": "Edge-hændelser pr. Edge", + "edit-edge-uplink-messages-rate-limit": "Redigér grænse for Edge-uplink-beskeder", + "edit-edge-uplink-messages-per-edge-rate-limit": "Redigér grænse for Edge-uplink-beskeder pr. Edge", + "edge-uplink-messages-rate-limit": "Edge-uplink-beskeder", + "edge-uplink-messages-per-edge-rate-limit": "Edge-uplink-beskeder pr. Edge", + "edit-agent-events-rate-limit": "Redigér grænse for Agent-hændelser", + "edit-agent-events-per-agent-rate-limit": "Redigér grænse for Agent-hændelser pr. Agent", + "agent-events-rate-limit": "Agent-hændelser", + "agent-events-per-agent-rate-limit": "Agent-hændelser pr. Agent", + "edit-agent-log-chunks-rate-limit": "Redigér grænse for Agent-logblokke", + "edit-agent-log-chunks-per-agent-rate-limit": "Redigér grænse for Agent-logblokke pr. Agent", + "agent-log-chunks-rate-limit": "Agent-logblokke", + "agent-log-chunks-per-agent-rate-limit": "Agent-logblokke pr. Agent", + "ai-chat-requests-rate-limit": "AI-chatanmodninger", + "edit-ai-chat-requests-rate-limit": "Redigér grænse for AI-chatanmodninger", "messages-per": "beskeder pr.", "not-set": "Ikke angivet", "number-of-messages": "Antal beskeder", "number-of-messages-required": "Antal beskeder er påkrævet.", "number-of-messages-min": "Minimumsværdi er 1.", "preview": "Forhåndsvis", - "per-seconds": "Pr. sekunder", + "per-seconds": "Periode i sekunder", "per-seconds-required": "Tidsrate er påkrævet.", "per-seconds-min": "Minimumsværdi er 1.", "per-seconds-duplicate": "Duplikeret tidsinterval. Hvert tidsinterval skal være unikt.", - "rate-limits": "Grænser", + "rate-limits": "Hastighedsgrænser", "remove-limit": "Fjern begrænsning", - "transport-tenant-msg": "Transportlejers beskeder", - "transport-tenant-telemetry-msg": "Transportlejers telemetribeskeder", - "transport-tenant-telemetry-data-points": "Transportlejers telemetridatapunkter", - "transport-device-msg": "Transportenheds beskeder", - "transport-device-telemetry-msg": "Transportenheds telemetribeskeder", - "transport-device-telemetry-data-points": "Transportenheds telemetridatapunkter", - "transport-gateway-msg": "Gateway-beskeder", - "transport-gateway-telemetry-msg": "Gateway telemetribeskeder", - "transport-gateway-telemetry-data-points": "Gateway telemetridatapunkter", - "transport-gateway-device-msg": "Gateway-enheds beskeder", - "transport-gateway-device-telemetry-msg": "Gateway-enheds telemetribeskeder", - "transport-gateway-device-telemetry-data-points": "Gateway-enheds telemetridatapunkter", + "transport-tenant-msg": "Lejerens beskeder via transport", + "transport-tenant-telemetry-msg": "Lejerens telemetribeskeder via transport", + "transport-tenant-telemetry-data-points": "Lejerens telemetridatapunkter via transport", + "transport-device-msg": "Enhedens beskeder via transport", + "transport-device-telemetry-msg": "Enhedens telemetribeskeder via transport", + "transport-device-telemetry-data-points": "Enhedens telemetridatapunkter via transport", + "transport-gateway-msg": "Gatewayens beskeder via transport", + "transport-gateway-telemetry-msg": "Gatewayens telemetribeskeder via transport", + "transport-gateway-telemetry-data-points": "Gatewayens telemetridatapunkter via transport", + "transport-gateway-device-msg": "Gateway-enhedens beskeder via transport", + "transport-gateway-device-telemetry-msg": "Gateway-enhedens telemetribeskeder via transport", + "transport-gateway-device-telemetry-data-points": "Gateway-enhedens telemetridatapunkter via transport", "sec": "sek" } }, @@ -8629,13 +9828,13 @@ "timewindow": { "timewindow": "Tidsvindue", "timewindow-settings": "Indstillinger for tidsvindue", - "years": "{ years, plural, =1 { år } other {# år } }", + "years": "{ years, plural, =1 {1 år } other {# år } }", "years-short": "{{ years }}å", - "months": "{ months, plural, =1 { måned } other {# måneder } }", + "months": "{ months, plural, =1 {1 måned } other {# måneder } }", "months-short": "{{ months }}M", - "weeks": "{ weeks, plural, =1 { uge } other {# uger } }", + "weeks": "{ weeks, plural, =1 {1 uge } other {# uger } }", "weeks-short": "{{ weeks }}u", - "days": "{ days, plural, =1 { dag } other {# dage } }", + "days": "{ days, plural, =1 {1 dag } other {# dage } }", "days-short": "{{ days }}d", "hours": "{ hours, plural, =0 { time } =1 {1 time } other {# timer } }", "hr": "{{ hr }} t", @@ -8658,7 +9857,7 @@ "history": "Historik", "last-prefix": "sidste", "period": "fra {{ startTime }} til {{ endTime }}", - "edit": "Rediger tidsvindue", + "edit": "Redigér tidsvindue", "date-range": "Datointerval", "for-all-time": "For hele perioden", "last": "Sidste", @@ -8675,10 +9874,10 @@ "icon-position-right": "Højre", "font": "Skrifttype", "color": "Farve", - "displayTypePrefix": "Vis Realtime/Historik præfiks", + "displayTypePrefix": "Vis præfikset Realtime/Historik", "preview": "Forhåndsvisning", "relative": "Relativ", - "range": "Interval", + "range": "Tidsrum", "hide-timewindow-section": "Skjul tidsvinduessektion for slutbrugere", "hide-last-interval": "Skjul sidste interval for slutbrugere", "hide-relative-interval": "Skjul relativt interval for slutbrugere", @@ -8687,15 +9886,15 @@ "hide-group-interval": "Skjul grupperingsinterval for slutbrugere", "hide-max-values": "Skjul maksimale værdier for slutbrugere", "hide-timezone": "Skjul tidszone for slutbrugere", - "disable-custom-interval": "Deaktiver brugerdefineret intervalvalg", - "edit-aggregation-functions-list": "Rediger liste over aggregeringsfunktioner", + "disable-custom-interval": "Deaktivér brugerdefineret intervalvalg", + "edit-aggregation-functions-list": "Redigér liste over aggregeringsfunktioner", "edit-aggregation-functions-list-hint": "Liste over tilgængelige muligheder kan specificeres.", "allowed-aggregation-functions": "Tilladte aggregeringsfunktioner", - "edit-intervals-list": "Rediger intervalliste", + "edit-intervals-list": "Redigér intervalliste", "allowed-agg-intervals": "Grupperingsintervaller", - "default-agg-interval": "Standard grupperingsinterval", + "default-agg-interval": "Standardgrupperingsinterval", "edit-intervals-list-hint": "Liste over tilgængelige intervalmuligheder kan specificeres.", - "edit-grouping-intervals-list-hint": "Det er muligt at konfigurere listen over grupperingsintervaller og standard grupperingsinterval.", + "edit-grouping-intervals-list-hint": "Det er muligt at konfigurere listen over grupperingsintervaller og standardgrupperingsintervallet.", "all": "Alle", "save-current-settings-as-default": "Gem aktuelle indstillinger som standardtidsvindue", "hide-option-from-end-users": "Skjul indstillingen for slutbrugere" @@ -8717,19 +9916,19 @@ "unit": { "set-unit-conversion": "Indstil enhedsomregning", "unit-settings": { - "unit-settings": "Enhedsindstillinger", - "source-unit": "Kildenhed", + "unit-settings": "Indstillinger for måleenhed", + "source-unit": "Kildemåleenhed", "source-unit-hint": "Dette er enheden for den gemte værdi. Den enhed, du konverterer fra. Indtast symbolet, som dine kildedata bruger (f.eks. m, km, ft, in).", - "target-metric-unit": "Målenhed (SI) som mål", + "target-metric-unit": "Metrisk måleenhed (mål)", "target-metric-unit-hint": "Vælg hvilken måleenhed (SI) du ønsker, at kildeværdien konverteres til (f.eks. cm, mm, km).", - "target-imperial-unit": "Imperial enhed som mål", + "target-imperial-unit": "Imperial måleenhed (mål)", "target-imperial-unit-hint": "Vælg hvilken imperial enhed du ønsker, at kildeværdien konverteres til (f.eks. in, ft, yd).", - "target-hybrid-unit": "Hybrid enhed som mål", - "target-hybrid-unit-hint": "Vælg hvilken hybrid enhed du ønsker, at kildeværdien konverteres til (f.eks. cm, in, km). Hybrid enheder kombinerer metriske og/eller imperial enheder.", - "enable-unit-conversion": "Aktivér enhedsomregning", + "target-hybrid-unit": "Hybrid måleenhed (mål)", + "target-hybrid-unit-hint": "Vælg, hvilken hybridmåleenhed kildeværdien skal konverteres til (f.eks. cm, in, km). Hybride måleenheder kombinerer metriske og/eller imperiale måleenheder.", + "enable-unit-conversion": "Aktivér omregning af måleenheder", "enable-unit-conversion-hint": "Slå til for at aktivere omregning. Når slået fra, sendes kildeværdien videre uden ændringer. Deaktiveret hvis der kun er én enhed i den tilsvarende målegruppe (f.eks. Lysstrøm, AQI)." }, - "unit-system": "Enhedssystem", + "unit-system": "Måleenhedssystem", "unit-system-type": { "AUTO": "Auto", "METRIC": "Metrisk", @@ -8750,7 +9949,7 @@ "catalytic-activity": "Katalytisk aktivitet", "catalytic-concentration": "Katalytisk koncentration", "charge": "Elektrisk ladning", - "current-density": "Strømstyrketæthed", + "current-density": "Strømtæthed", "data-transfer-rate": "Dataoverførselshastighed", "density": "Densitet", "digital": "Digital", @@ -8764,7 +9963,7 @@ "electric-flux": "Elektrisk flux", "electric-permittivity": "Elektrisk permittivitet", "electric-polarizability": "Elektrisk polariserbarhed", - "electrical-conductance": "Elektrisk ledningsevne", + "electrical-conductance": "Elektrisk konduktans", "electrical-conductivity": "Elektrisk konduktivitet", "energy": "Energi", "energy-density": "Energitæthed", @@ -8798,7 +9997,7 @@ "power": "Effekt", "power-density": "Effekttæthed", "pressure": "Tryk", - "radiance": "Strålingsintensitet", + "radiance": "Radians", "radiant-intensity": "Strålingsstyrke", "radiation-dose": "Strålingsdosis", "radioactive-decay": "Radioaktivt henfald", @@ -8807,7 +10006,7 @@ "reciprocal-length": "Reciprok længde", "resistance": "Modstand", "reynolds-number": "Reynolds-tal", - "signal-level": "Signalkvalitet", + "signal-level": "Signalniveau", "solid-angle": "Rumvinkel", "specific-energy": "Specifik energi", "specific-heat-capacity": "Specifik varmekapacitet", @@ -8835,22 +10034,22 @@ "kilometer": "Kilometer", "inch": "Tommer", "foot": "Fod", - "foot-us": "Fod (US opmåling)", + "foot-us": "Fod (amerikansk landmåling)", "yard": "Yard", - "mile": "Mil", + "mile": "Mile (engelsk mil)", "nautical-mile": "Sømil", "astronomical-unit": "Astronomisk enhed", "reciprocal-metre": "Reciprok meter", "meter-per-meter": "Meter pr. meter", "steradian": "Steradian", - "thou": "Tø", + "thou": "Thou (1/1000 tomme)", "barleycorn": "Bygkorn", "hand": "Hånd", "chain": "Kæde", "furlong": "Furlong", "league": "League", "fathom": "Favn", - "cable": "Kabel", + "cable": "Kabellængde", "link": "Led", "rod": "Stang", "nanogram": "Nanogram", @@ -8886,7 +10085,7 @@ "pint": "Pint", "quart": "Quart", "gallon": "Gallon", - "oil-barrels": "Olie tønde", + "oil-barrels": "Olietønde", "cubic-meter-per-kilogram": "Kubikmeter pr. kilogram", "gill": "Gill", "hogshead": "Tønde (hogshead)", @@ -8902,7 +10101,7 @@ "kilometer-per-hour": "Kilometer i timen", "foot-per-second": "Fod pr. sekund", "foot-per-minute": "Fod pr. minut", - "mile-per-hour": "Mil i timen", + "mile-per-hour": "Miles i timen", "knot": "Knob", "inch-per-second": "Tommer pr. sekund", "inch-per-hour": "Tommer pr. time", @@ -8932,7 +10131,7 @@ "newton-per-square-meter": "Newton pr. kvadratmeter", "kilogram-force-per-square-meter": "Kilogramkraft pr. kvadratmeter", "pascal-per-square-centimeter": "Pascal pr. kvadratcentimeter", - "ton-force-per-square-inch": "Ton-kraft pr. kvadrattomme", + "ton-force-per-square-inch": "Tonkraft pr. kvadrattomme", "kilonewton-per-square-meter": "Kilonewton pr. kvadratmeter", "newton-per-square-millimeter": "Newton pr. kvadratmillimeter", "microjoule": "Mikrojoule", @@ -8941,12 +10140,12 @@ "kilojoule": "Kilojoule", "megajoule": "Megajoule", "gigajoule": "Gigajoule", - "watt-hour": "Watt-time", - "watt-minute": "Watt-minut", - "kilowatt-hour": "Kilowatt-time", - "milliwatt-hour": "Milliwatt-time", - "megawatt-hour": "Megawatt-time", - "gigawatt-hour": "Gigawatt-time", + "watt-hour": "Watttime", + "watt-minute": "Wattminut", + "kilowatt-hour": "Kilowatttime", + "milliwatt-hour": "Milliwatttime", + "megawatt-hour": "Megawatttime", + "gigawatt-hour": "Gigawatttime", "electron-volts": "Elektronvolt", "joules-per-coulomb": "Joule pr. coulomb", "british-thermal-unit": "Britiske termiske enheder", @@ -9009,13 +10208,13 @@ "square-foot": "Kvadratfod", "square-yard": "Kvadratyard", "acre": "Acre", - "square-mile": "Kvadratmil", + "square-mile": "Kvadratmile", "are": "Ar", "barn": "Barn", "circular-inch": "Cirkulær tomme", - "milliampere-hour": "Milliampere-time", - "ampere-hours": "Ampere-timer", - "kiloampere-hours": "Kiloampere-timer", + "milliampere-hour": "Milliamperetime", + "ampere-hours": "Amperetimer", + "kiloampere-hours": "Kiloamperetimer", "nanoampere": "Nanoampere", "picoampere": "Picoampere", "microampere": "Mikroampere", @@ -9089,7 +10288,7 @@ "curie": "Curie", "gray": "Gray", "sievert": "Sievert", - "roentgen": "Röntgen", + "roentgen": "Røntgen", "cps": "Tællinger pr. sekund", "rad": "Rad", "rem": "Rem", @@ -9129,9 +10328,9 @@ "milligrams-per-deciliter": "Milligram pr. deciliter", "g-force": "G-kraft", "kilonewton": "Kilonewton", - "kilogram-force": "Kilogram-kraft", - "pound-force": "Pund-kraft", - "kilopound-force": "Kilopund-kraft", + "kilogram-force": "Kilogramkraft", + "pound-force": "Pundkraft", + "kilopound-force": "Kilopundkraft", "dyne": "Dyne", "poundal": "Poundal", "kip": "Kip", @@ -9155,6 +10354,7 @@ "cubic-foot-per-minute": "Kubikfod pr. minut", "cubic-meters-per-hour": "Kubikmeter pr. time", "cubic-meters-per-second": "Kubikmeter pr. sekund", + "cubic-meters-per-minute": "Kubikmeter pr. minut", "liter-per-second": "Liter pr. sekund", "liter-per-minute": "Liter pr. minut", "gallons-per-minute": "Gallons pr. minut", @@ -9183,8 +10383,8 @@ "degree": "Grad", "radian": "Radian", "gradian": "Gradian", - "arcminute": "Bue minut", - "arcsecond": "Bue sekund", + "arcminute": "Bueminut", + "arcsecond": "Buesekund", "milliradian": "Milliradian", "revolution": "Omdrejning", "siemens": "Siemens", @@ -9285,7 +10485,7 @@ "delete-user-text": "Vær forsigtig, efter bekræftelse bliver brugeren og alle relaterede data permanent slettet.", "delete-users-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 bruger} other {# brugere} }?", "delete-users-action-title": "Slet { count, plural, =1 {1 bruger} other {# brugere} }", - "delete-users-text": "Vær forsigtig, efter bekræftelse bliver alle valgte brugere slettet og data vil gå tabt.", + "delete-users-text": "Vær forsigtig, efter bekræftelsen vil alle valgte brugere blive fjernet, og alle relaterede data kan ikke gendannes.", "activation-email-sent-message": "Aktiveringsmail blev sendt!", "resend-activation": "Send aktiveringsmail igen", "email": "E-mail", @@ -9294,7 +10494,7 @@ "first-name": "Fornavn", "last-name": "Efternavn", "description": "Beskrivelse", - "default-dashboard": "Standard dashboard", + "default-dashboard": "Standarddashboard", "always-fullscreen": "Altid fuldskærm", "select-user": "Vælg bruger", "no-users-matching": "Ingen brugere, der matcher '{{entity}}', blev fundet.", @@ -9307,8 +10507,8 @@ "copy-activation-link": "Kopiér aktiveringslink", "activation-link-copied-message": "Brugeraktiveringslink blev kopieret til udklipsholder", "details": "Detaljer", - "login-as-tenant-admin": "Log ind som Lejeradministrator", - "login-as-customer-user": "Log ind som Kundebruger", + "login-as-tenant-admin": "Log ind som lejeradministrator", + "login-as-customer-user": "Log ind som kundebruger", "select-group-to-add": "Vælg målgruppe for at tilføje valgte brugere", "select-group-to-move": "Vælg målgruppe for at flytte valgte brugere", "remove-users-from-group": "Er du sikker på, at du vil fjerne { count, plural, =1 {1 bruger} other {# brugere} } fra gruppen '{{entityGroup}}'?", @@ -9317,8 +10517,8 @@ "group-name-starts-with": "Brugergrupper hvis navne starter med '{{prefix}}'", "search": "Søg brugere", "selected-users": "{ count, plural, =1 {1 bruger} other {# brugere} } valgt", - "disable-account": "Deaktiver brugerkonto", - "enable-account": "Aktiver brugerkonto", + "disable-account": "Deaktivér brugerkonto", + "enable-account": "Aktivér brugerkonto", "enable-account-message": "Brugerkonto blev aktiveret!", "disable-account-message": "Brugerkonto blev deaktiveret!", "copyId": "Kopiér bruger-id", @@ -9360,11 +10560,11 @@ "version-name": "Versionsnavn", "version-name-required": "Versionsnavn er påkrævet", "author": "Forfatter", - "export-relations": "Eksporter relationer", - "export-attributes": "Eksporter attributter", - "export-credentials": "Eksporter legitimationsoplysninger", - "export-group-entities": "Eksporter gruppeenheder", - "export-roles": "Eksporter roller", + "export-relations": "Eksportér relationer", + "export-attributes": "Eksportér attributter", + "export-credentials": "Eksportér legitimationsoplysninger", + "export-group-entities": "Eksportér gruppeentiteter", + "export-roles": "Eksportér roller", "export-calculated-fields": "Eksportér beregnede felter \nog alarmregler", "export-alarm-rules": "Eksportér alarmregler", "entity-versions": "Entitetsversioner", @@ -9385,53 +10585,53 @@ "load-credentials": "Indlæs legitimationsoplysninger", "load-calculated-fields": "Indlæs beregnede felter og alarmregler", "load-alarm-rules": "Indlæs alarmregler", - "load-group-entities": "Indlæs gruppeenheder", + "load-group-entities": "Indlæs gruppeentiteter", "load-roles": "Indlæs roller", "compare-with-current": "Sammenlign med nuværende", "diff-entity-with-version": "Forskel fra entitetsversion '{{versionName}}'", "previous-difference": "Forrige forskel", "next-difference": "Næste forskel", - "current": "Nuværende", + "current": "Aktuel", "differences": "{ count, plural, =1 {1 forskel} other {# forskelle} }", - "create-entities-version": "Opret version af enheder", - "default-sync-strategy": "Standard synkroniseringsstrategi", + "create-entities-version": "Opret version af entiteter", + "default-sync-strategy": "Standardsynkroniseringsstrategi", "sync-strategy-merge": "Flet", "sync-strategy-overwrite": "Overskriv", - "entities-to-export": "Enheder der skal eksporteres", - "entities-to-restore": "Enheder der skal gendannes", + "entities-to-export": "Entiteter der skal eksporteres", + "entities-to-restore": "Entiteter der skal gendannes", "sync-strategy": "Synkroniseringsstrategi", - "all-entities": "Alle enheder", - "no-entities-to-export-prompt": "Angiv venligst enheder, der skal eksporteres", - "no-entities-to-restore-prompt": "Angiv venligst enheder, der skal gendannes", - "add-entity-type": "Tilføj enhedstype", + "all-entities": "Alle entiteter", + "no-entities-to-export-prompt": "Angiv venligst entiteter, der skal eksporteres", + "no-entities-to-restore-prompt": "Angiv venligst entiteter, der skal gendannes", + "add-entity-type": "Tilføj entitetstype", "remove-all": "Fjern alle", - "version-create-result": "{ added, plural, =0 {Ingen enheder} =1 {1 enhed} other {# enheder} } tilføjet.
    { modified, plural, =0 {Ingen enheder} =1 {1 enhed} other {# enheder} } ændret.
    { removed, plural, =0 {Ingen enheder} =1 {1 enhed} other {# enheder} } fjernet.", - "remove-other-entities": "Fjern andre enheder", - "find-existing-entity-by-name": "Find eksisterende enhed efter navn", - "restore-entities-from-version": "Gendan enheder fra version '{{versionName}}'", - "restoring-entities-from-version": "Gendanner enheder... Vent venligst", - "no-entities-restored": "Ingen enheder gendannet", + "version-create-result": "{ added, plural, =0 {Ingen entiteter} =1 {1 entitet} other {# entiteter} } tilføjet.
    { modified, plural, =0 {Ingen entiteter} =1 {1 entitet} other {# entiteter} } ændret.
    { removed, plural, =0 {Ingen entiteter} =1 {1 entitet} other {# entiteter} } fjernet.", + "remove-other-entities": "Fjern andre entiteter", + "find-existing-entity-by-name": "Find eksisterende entitet efter navn", + "restore-entities-from-version": "Gendan entiteter fra version '{{versionName}}'", + "restoring-entities-from-version": "Gendanner entiteter... Vent venligst", + "no-entities-restored": "Ingen entiteter gendannet", "created": "{{created}} oprettet", "updated": "{{updated}} opdateret", "deleted": "{{deleted}} slettet", "groups-created": "{ created, plural, =1 {1 gruppe} other {# grupper} } oprettet", "groups-updated": "{ updated, plural, =1 {1 gruppe} other {# grupper} } opdateret", "groups-deleted": "{ deleted, plural, =1 {1 gruppe} other {# grupper} } slettet", - "remove-other-entities-confirm-text": "Vær forsigtig! Dette vil permanent slette alle nuværende enheder
    som ikke er til stede i den version, du ønsker at gendanne.

    Indtast \"remove other entities\" for at bekræfte.", + "remove-other-entities-confirm-text": "Vær forsigtig! Dette vil permanent slette alle nuværende entiteter
    som ikke er til stede i den version, du ønsker at gendanne.

    Indtast \"remove other entities\" for at bekræfte.", "auto-commit-to-branch": "auto-commit til {{ branch }}-grenen", - "default-create-entity-version-name": "{{entityName}} opdatering", - "sync-strategy-merge-hint": "Opretter eller opdaterer valgte enheder i arkivet. Alle andre enheder i arkivet ændres ikke.", - "sync-strategy-overwrite-hint": "Opretter eller opdaterer valgte enheder i arkivet. Alle andre enheder i arkivet bliver slettet.", - "device-credentials-conflict": "Kunne ikke indlæse enhed med ekstern id {{entityId}}
    fordi de samme legitimationsoplysninger allerede findes i databasen for en anden enhed.
    Overvej at deaktivere indlæs legitimationsoplysninger i gendannelsesformularen.", - "missing-referenced-entity": "Kunne ikke indlæse {{sourceEntityTypeName}} med ekstern id {{sourceEntityId}}
    fordi den refererer til en manglende {{targetEntityTypeName}} med id {{targetEntityId}}.", - "add-entity-groups": "Tilføj enhedsgrupper", - "entity-groups": "Enhedsgrupper", - "integration-routing-key-conflict": "Kunne ikke indlæse integration med ekstern id {{entityId}}
    fordi den samme integrationsnøgle allerede findes i databasen for en anden integration.
    Overvej at aktivere automatisk generér integrationsnøgle i gendannelsesformularen.", - "auto-generate-integration-key": "Automatisk generér integrationsnøgle", + "default-create-entity-version-name": "Opdatering af {{entityName}}", + "sync-strategy-merge-hint": "Opretter eller opdaterer valgte entiteter i arkivet. Alle andre entiteter i arkivet ændres ikke.", + "sync-strategy-overwrite-hint": "Opretter eller opdaterer valgte entiteter i arkivet. Alle andre entiteter i arkivet bliver slettet.", + "device-credentials-conflict": "Kunne ikke indlæse enheden med eksternt id {{entityId}}
    fordi de samme legitimationsoplysninger allerede findes i databasen for en anden enhed.
    Overvej at deaktivere indlæs legitimationsoplysninger i gendannelsesformularen.", + "missing-referenced-entity": "Kunne ikke indlæse {{sourceEntityTypeName}} med eksternt id {{sourceEntityId}}
    fordi den refererer til en manglende {{targetEntityTypeName}} med id {{targetEntityId}}.", + "add-entity-groups": "Tilføj entitetsgrupper", + "entity-groups": "Entitetsgrupper", + "integration-routing-key-conflict": "Kunne ikke indlæse integrationen med eksternt id {{entityId}}
    fordi den samme integrationsnøgle allerede findes i databasen for en anden integration.
    Overvej at aktivere generér integrationsnøgle automatisk i gendannelsesformularen.", + "auto-generate-integration-key": "Generér integrationsnøgle automatisk", "runtime-failed": "Mislykkedes: {{message}}", "auto-commit-settings-read-only-hint": "Funktionen auto-commit fungerer ikke, når skrivebeskyttelse er aktiveret i arkivindstillingerne.", "rollback-on-error": "Tilbagefør ved fejl", - "rollback-on-error-hint": "Hvis du har mange enheder at gendanne, bør du deaktivere denne mulighed for bedre ydeevne.\n Bemærk, hvis en fejl opstår under versionens indlæsning, forbliver allerede gemte enheder (med relationer, attributter osv.) som de er" + "rollback-on-error-hint": "Hvis du har mange entiteter at gendanne, bør du deaktivere denne mulighed for bedre ydeevne.\n Bemærk, hvis en fejl opstår under versionens indlæsning, forbliver allerede gemte entiteter (med relationer, attributter osv.) som de er" }, "task": { "add-task-type": "+Opgavetype", @@ -9448,13 +10648,13 @@ "delete-tasks-text": "Er du sikker på, at du vil slette de valgte opgaver?", "delete-tasks-title": "Slet { count, plural, =1 {1 opgave} other {# opgaver} }", "discarded": "Kasseret", - "entity": "Enhed", + "entity": "Entitet", "info": "Info", "failed": "Mislykkedes", "no-tasks-prompt": "Ingen opgaver fundet", "parameters": "Parametre", "progress": "Fremgang", - "reprocess": "{ count, plural, =0 {Genbehandl} =1 {Genbehandl} other {Genbehandl mislykkede enheder} }", + "reprocess": "{ count, plural, =0 {Genbehandl} =1 {Genbehandl} other {Genbehandl mislykkede entiteter} }", "retry": "Prøv igen", "search": "Søg opgave", "selected-tasks": "{ count, plural, =1 {1 opgave} other {# opgaver} } valgt", @@ -9482,10 +10682,10 @@ "task-filter-params": "Filter: {{ filterParams }}", "tasks-status-list": "Liste over opgavestatusser", "tasks-type-list": "Liste over opgavetyper", - "time-taken": "Tid forbrugt", - "total-entities": "Samlet antal enheder", + "time-taken": "Tidsforbrug", + "total-entities": "Samlet antal entiteter", "type": "Type", - "report-generate-successfully": "Rapport genereret med succes", + "report-generate-successfully": "Rapporten blev genereret", "report-generate-in-progress": "Rapportgenerering i gang", "generate-report-canceled": "Rapportgenerering annulleret" }, @@ -9494,6 +10694,7 @@ "widget-bundle": "Widgetpakke", "all-bundles": "Alle pakker", "select-widgets-bundle": "Vælg widgetpakke", + "installed": "Installeret", "widgets": "Widgets", "all-widgets": "Alle widgets", "widget": "Widget", @@ -9508,15 +10709,15 @@ "widget-type-load-error": "Widget blev ikke indlæst på grund af følgende fejl:", "remove": "Fjern widget", "delete": "Slet widget", - "edit": "Rediger widget", + "edit": "Redigér widget", "remove-widget-title": "Er du sikker på, at du vil fjerne widgetten '{{widgetTitle}}'?", - "remove-widget-text": "Efter bekræftelse bliver widgetten og alle relaterede data uigenkaldeligt slettet.", + "remove-widget-text": "Efter bekræftelsen kan widgetten og alle relaterede data ikke gendannes.", "replace-reference-with-widget-copy": "Erstat reference med en kopi af widget", "timeseries": "Tidsserier", "search-data": "Søg data", "no-data-found": "Ingen data fundet", "latest": "Seneste værdier", - "rpc": "Kontrolwidget", + "rpc": "Styringswidget", "alarm": "Alarmwidget", "static": "Statisk widget", "timeseries-short": "serier", @@ -9524,6 +10725,11 @@ "rpc-short": "kontrol", "alarm-short": "alarm", "static-short": "statisk", + "type-timeseries": "Tidsserier", + "type-latest": "Seneste", + "type-rpc": "Styring", + "type-alarm": "Alarm", + "type-static": "Statisk", "select-widget-type": "Vælg widgettype", "missing-widget-title-error": "Widgettitel skal angives!", "widget-saved": "Widget gemt", @@ -9538,7 +10744,7 @@ "widget-title": "Widgettitel", "title": "Titel", "title-required": "Widgettitel er påkrævet.", - "title-max-length": "Titel må ikke overstige 256 tegn", + "title-max-length": "Titel skal være mindre end 256 tegn", "system": "System", "type": "Widgettype", "resources": "Ressourcer", @@ -9550,15 +10756,15 @@ "tidy": "Tidy", "css": "CSS", "settings-form": "Indstillingsskema", - "data-key-settings-form": "Datakey-indstillingsskema", - "latest-data-key-settings-form": "Seneste datakey-indstillingsskema", + "data-key-settings-form": "Indstillingsskema for datanøgle", + "latest-data-key-settings-form": "Indstillingsskema for datanøgle for seneste værdier", "widget-settings": "Widgetindstillinger", "description": "Beskrivelse", "tags": "Tags", "image-preview": "Billedforhåndsvisning", "settings-form-selector": "Indstillingsformularvælger", - "data-key-settings-form-selector": "Datakey-indstillingsformularvælger", - "latest-data-key-settings-form-selector": "Seneste datakey-indstillingsformularvælger", + "data-key-settings-form-selector": "Vælger for indstillingsformular for datanøgle", + "latest-data-key-settings-form-selector": "Vælger for indstillingsformular for datanøgle for seneste værdier", "all": "Alle", "actual": "Aktuel", "scada": "SCADA-symbol", @@ -9570,9 +10776,9 @@ "javascript": "Javascript", "js": "JS", "delete-widget-title": "Er du sikker på, at du vil slette widgetten '{{widgetName}}'?", - "delete-widget-text": "Efter bekræftelse vil widgetten og alle relaterede data være uoprettelige.", + "delete-widget-text": "Efter bekræftelsen kan widgetten og alle relaterede data ikke gendannes.", "delete-widgets-title": "Er du sikker på, at du vil slette { count, plural, =1 {1 widget} other {# widgets} }?", - "delete-widgets-text": "Vær forsigtig, efter bekræftelse vil alle valgte widgets blive fjernet og data vil være uoprettelige.", + "delete-widgets-text": "Vær forsigtig, efter bekræftelsen vil alle valgte widgets blive fjernet, og alle relaterede data kan ikke gendannes.", "delete-widget": "Slet widget", "widget-template-load-failed-error": "Indlæsning af widgetskabelon mislykkedes!", "details": "Detaljer", @@ -9586,27 +10792,27 @@ "export": "Eksportér widget", "export-prompt": "Indlejr widgetbilleder og ressourcer", "export-widgets": "Eksportér widgets", - "export-widgets-prompt": "Indlejr widgets billeder og ressourcer", + "export-widgets-prompt": "Indlejr widgetbilleder og ressourcer", "export-data": "Eksportér widgetdata", "export-to-csv": "Eksportér data til CSV...", "export-to-excel": "Eksportér data til XLS...", "export-to-excel-xlsx": "Eksportér data til XLSX...", "import": "Importér widget", "no-data": "Ingen data at vise i widget", - "data-overflow": "Widget viser {{count}} ud af {{total}} enheder", - "alarm-data-overflow": "Widget viser alarmer for {{allowedEntities}} (maksimalt tilladt) enheder ud af {{totalEntities}} enheder", + "data-overflow": "Widgetten viser {{count}} ud af {{total}} entiteter", + "alarm-data-overflow": "Widgetten viser alarmer for {{allowedEntities}} (maksimalt tilladt) entiteter ud af {{totalEntities}} entiteter", "search": "Søg widget", - "filter": "Widget filtertype", + "filter": "Widgetfiltertype", "loading-widgets": "Indlæser widgets...", "widget-template-error": "Ugyldig HTML-skabelon for widget.", "reference": "Reference" }, "widget-action": { - "header-button": "Widget header-knap", + "header-button": "Knap i widgetoverskriften", "do-nothing": "Gør ingenting", - "open-dashboard-state": "Naviger til ny dashboardtilstand", - "update-dashboard-state": "Opdater aktuel dashboardtilstand", - "open-dashboard": "Naviger til andet dashboard", + "open-dashboard-state": "Navigér til ny dashboardtilstand", + "update-dashboard-state": "Opdatér aktuel dashboardtilstand", + "open-dashboard": "Navigér til andet dashboard", "custom": "Brugerdefineret handling", "custom-pretty": "Brugerdefineret handling (med HTML-skabelon)", "custom-pretty-error-title": "Brugerdefineret dialogfejl", @@ -9615,7 +10821,7 @@ "mobile-action": "Mobilhandling", "target-dashboard-state": "Mål-dashboardtilstand", "target-dashboard-state-required": "Mål-dashboardtilstand er påkrævet", - "set-entity-from-widget": "Sæt enhed fra widget", + "set-entity-from-widget": "Sæt entitet fra widget", "target-dashboard": "Mål-dashboard", "select-target-dashboard": "Vælg mål-dashboard", "target-dashboard-required": "Mål-dashboard er påkrævet.", @@ -9634,25 +10840,25 @@ "popover-placement-topLeft": "Øverst til venstre", "popover-placement-topRight": "Øverst til højre", "popover-placement-right": "Højre", - "popover-placement-rightTop": "Øverst til højre (højre)", - "popover-placement-rightBottom": "Nederst til højre (højre)", - "popover-placement-bottom": "Bund", + "popover-placement-rightTop": "Til højre, øverst", + "popover-placement-rightBottom": "Til højre, nederst", + "popover-placement-bottom": "Nederst", "popover-placement-bottomLeft": "Nederst til venstre", "popover-placement-bottomRight": "Nederst til højre", "popover-placement-left": "Venstre", - "popover-placement-leftTop": "Øverst til venstre (venstre)", - "popover-placement-leftBottom": "Nederst til venstre (venstre)", + "popover-placement-leftTop": "Til venstre, øverst", + "popover-placement-leftBottom": "Til venstre, nederst", "popover-hide-on-click-outside": "Skjul popover ved klik udenfor", "popover-hide-dashboard-toolbar": "Skjul dashboardværktøjslinje i popover", - "popover-width": "Popover bredde", - "popover-height": "Popover højde", - "popover-style": "Popover stil", + "popover-width": "Popover-bredde", + "popover-height": "Popover-højde", + "popover-style": "Popover-stil", "open-new-browser-tab": "Åbn i ny browserfane", "open-URL": "Åbn URL", "URL": "URL", "url-required": "URL er påkrævet.", "mobile": { - "device-provision": "Enhedsprovisionering", + "device-provision": "Klargøring af enhed", "action-type": "Mobilhandlingstype", "select-action-type": "Vælg mobilhandlingstype", "action-type-required": "Mobilhandlingstype er påkrævet", @@ -9664,25 +10870,107 @@ "make-phone-call": "Foretag telefonopkald", "get-location": "Hent telefonplacering", "take-screenshot": "Tag skærmbillede", - "handle-provision-success-function": "Håndtér funktion ved vellykket provisionering", - "get-location-function": "Hent placeringsfunktion", - "process-launch-result-function": "Behandl funktion for startresultat", - "get-phone-number-function": "Hent telefonnummerfunktion", - "process-image-function": "Behandl billedfunktion", - "process-qr-code-function": "Behandl QR-kodefunktion", - "process-location-function": "Behandl placeringsfunktion", - "handle-empty-result-function": "Håndtér funktion for tomt resultat", - "handle-error-function": "Håndtér fejlfunktion", - "handle-non-mobile-fallback-function": "Håndtér fallbackfunktion for ikke-mobil", + "handle-provision-success-function": "Håndtér funktion ved vellykket klargøring", + "get-location-function": "Funktion til hentning af placering", + "process-launch-result-function": "Funktion til behandling af startresultat", + "get-phone-number-function": "Funktion til hentning af telefonnummer", + "process-image-function": "Funktion til behandling af billede", + "process-qr-code-function": "Funktion til behandling af QR-kode", + "process-location-function": "Funktion til behandling af placering", + "handle-empty-result-function": "Funktion til håndtering af tomt resultat", + "handle-error-function": "Funktion til fejlhåndtering", + "handle-non-mobile-fallback-function": "Funktion til håndtering af fallback for ikke-mobile enheder", "save-to-gallery": "Gem i 'Billedgalleri'", - "provision-type": "Provisioneringstype", + "provision-type": "Klargøringstype", "auto": "Auto", "wi-fi": "Wi-Fi", "ble": "BLE", - "soft-ap": "Soft AP" + "soft-ap": "Soft AP", + "save-to-entity": "Gem placering på entitet", + "target-panel-title": "Mål", + "target-save-to": "Gem i", + "target-mode-entity": "Entitet", + "target-current-entity": "Entitet fra widgetdatakilde", + "target-current-user": "Aktuel bruger", + "target-entity-alias": "Entitetsalias", + "target-from-attribute": "Fra attribut", + "target-entity-alias-name": "Aliasnavn", + "target-entity-alias-name-required": "Aliasnavn er påkrævet", + "target-attribute-source": "Læs attribut fra", + "target-attribute-key": "Serverattributnøgle", + "target-attribute-key-required": "Serverattributnøgle er påkrævet", + "target-attribute-value-hint": "Attributten skal indeholde et entitets-ID-objekt med begge felter, for eksempel {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}. En almindelig ID-streng accepteres ikke.", + "location-save-failed": "Kunne ikke gemme placering: {{error}}", + "start-live-location": "Start live-sporing af placering", + "stop-live-location": "Stop live-sporing af placering", + "accuracy": "Nøjagtighed", + "accuracy-hint": "Afvejning mellem, hvor præcis hver position er, og hvor meget batteri sporingen bruger.", + "accuracy-high": "Høj", + "accuracy-high-hint": "Bruger GPS til den mest præcise position, ca. 5 m. Bedst til sporing af køretøjer eller medarbejdere i marken, men dræner batteriet hurtigst.", + "accuracy-balanced": "Balanceret", + "accuracy-balanced-hint": "Bruger Wi-Fi og mobilmaster og falder kun tilbage på GPS, når det er nødvendigt, ca. 40 m. Godt standardvalg til periodiske check-ins med moderat batteriforbrug.", + "accuracy-low": "Lav", + "accuracy-low-hint": "Bruger kun mobilmaster, ca. 500 m eller dårligere. Bedst til tilstedeværelse på byniveau over lange perioder med minimalt batteriforbrug.", + "live-location-advanced-settings": "Avancerede indstillinger", + "distance-filter": "Begræns opdateringer efter tilbagelagt afstand", + "distance-filter-hint": "Springer opdateringer over, indtil enheden har flyttet sig mindst så langt fra den senest rapporterede position.", + "distance-filter-value": "Afstand", + "distance-filter-value-min": "Afstanden skal være mindst 1 meter", + "distance-filter-value-pattern": "Afstanden skal være et heltal", + "distance-filter-value-required": "Afstand er påkrævet", + "interval": "Begræns opdateringer efter tidsinterval", + "interval-hint": "Anmoder højst om en ny position med dette interval. Uden denne indstilling kommer opdateringerne så hurtigt, som enheden rapporterer dem.", + "interval-value": "Interval", + "interval-value-min": "Intervallet skal være mindst 1 sekund", + "interval-value-required": "Interval er påkrævet", + "max-duration": "Stop sporing efter en maksimal varighed", + "max-duration-hint": "Sporingen stopper automatisk, når der er gået så lang tid, siden den startede.", + "max-duration-value": "Varighed", + "max-duration-value-min": "Varigheden skal være mindst 1 minut", + "max-duration-value-required": "Varighed er påkrævet" + }, + "location": { + "saved-keys": "Nøgler, der gemmes på entiteten", + "argument": "Argument", + "key-name": "Datanøgle", + "value-type": "Type", + "add-key": "Tilføj nøgle", + "remove-key": "Fjern nøgle", + "duplicate-key-names": "Datanøgler skal være unikke", + "key-latitude": "Breddegrad", + "key-longitude": "Længdegrad", + "key-accuracy": "Nøjagtighed", + "key-altitude": "Højde", + "key-speed": "Hastighed", + "key-heading": "Kurs", + "key-gps-active": "GPS aktiv", + "key-gps-tracked-by": "GPS-sporet af bruger", + "value-type-attribute": "Serverattribut", + "value-type-timeseries": "Tidsserie", + "error-no-current-entity": "Widget-handlingen har ingen aktuel entitet", + "error-no-current-user": "Kan ikke bestemme den aktuelle bruger", + "error-save-failed": "Uventet serverfejl", + "error-permission-denied": "Adgang nægtet", + "error-alias-not-found": "Entitetsaliasset '{{alias}}' blev ikke fundet i dashboardet", + "error-alias-not-resolved": "Entitetsaliasset '{{alias}}' blev ikke opløst til en entitet", + "error-attribute-not-found": "Attributten '{{key}}' blev ikke fundet på kildeentiteten", + "error-attribute-not-object": "Attributten '{{key}}' er ikke et entitets-ID-objekt. Både feltet entityType og feltet id forventes, for eksempel {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}.", + "error-attribute-incomplete": "Attributten '{{key}}' mangler feltet entityType eller id i entitets-ID-objektet", + "error-attribute-unknown-entity-type": "Attributten '{{key}}' henviser til den ukendte entitetstype '{{entityType}}'", + "error-unknown-target-type": "Ukendt kilde til målentitet '{{type}}'" + }, + "save-browser-location": "Gem browserplacering", + "browser-location": { + "location-saved": "Browserplacering gemt", + "location-save-failed": "Kunne ikke gemme browserplacering: {{error}}", + "error-unsupported": "Denne browser understøtter ikke positionsbestemmelse", + "error-insecure-context": "Browserplacering kræver en sikker (HTTPS) forbindelse", + "error-permission-denied": "Tilladelse til placering blev nægtet", + "error-position-unavailable": "Den aktuelle placering er ikke tilgængelig", + "error-timeout": "Tidsgrænsen blev overskredet under hentning af den aktuelle placering" }, "custom-action-function": "Brugerdefineret handlingsfunktion", - "custom-pretty-function": "Brugerdefineret handling (med HTML-skabelon) funktion", + "custom-pretty-function": "Funktion for brugerdefineret handling (med HTML-skabelon)", "map-item-type": "Kortelementtype", "map-item": { "marker": "Markør", @@ -9717,7 +11005,7 @@ "title-max-length": "Titel skal være mindre end 256 tegn", "description": "Beskrivelse", "image-preview": "Billedforhåndsvisning", - "scada": "SCADA widget-pakke", + "scada": "SCADA-widgetpakke", "order": "Rækkefølge", "add-widgets-bundle-text": "Tilføj ny widget-pakke", "no-widgets-bundles-text": "Ingen widget-pakker fundet", @@ -9774,25 +11062,25 @@ "height": "Højde", "mobile-hide": "Skjul widget i mobiltilstand", "desktop-hide": "Skjul widget i desktop-tilstand", - "units": "Specielt symbol vist ved siden af værdien", - "units-by-default": "Enheder som standard", - "decimals": "Antal cifre efter decimalpunkt", + "units": "Specielt symbol, der vises ved siden af værdien", + "units-by-default": "Måleenheder som standard", + "decimals": "Antal decimaler", "decimals-by-default": "Decimaler som standard", "default-data-key-parameter-hint": "Denne parameter gælder for alle widget-værdier, medmindre de overskrives i datanøgle-konfigurationen", - "units-short": "Enheder", + "units-short": "Måleenheder", "decimals-short": "Decimaler", "decimals-suffix": "decimaler", "digits-suffix": "cifre", "timewindow": "Tidsvindue", - "use-dashboard-timewindow": "Brug dashboard tidsvindue", - "use-widget-timewindow": "Brug widget tidsvindue", + "use-dashboard-timewindow": "Brug dashboardets tidsvindue", + "use-widget-timewindow": "Brug widgettens tidsvindue", "display-timewindow": "Vis tidsvindue", "legend": "Forklaring", "display-legend": "Vis forklaring", "datasources": "Datakilder", "datasource": "Datakilde", "maximum-datasources": "Maksimum { count, plural, =1 {1 datakilde tilladt.} other {# datakilder tilladt} }", - "timeseries-key-error": "Mindst én tidsserie datanøgle skal være angivet", + "timeseries-key-error": "Mindst én datanøgle for tidsserier skal være angivet", "datasource-type": "Type", "datasource-parameters": "Parametre", "remove-datasource": "Fjern datakilde", @@ -9804,13 +11092,33 @@ "add-action": "Tilføj handling", "search-actions": "Søg efter handlinger", "no-actions-text": "Ingen handlinger fundet", + "import-actions": "Importér handlinger", + "export-actions": "Eksportér handlinger", + "export-action": "Eksportér handling", + "duplicate-action": "Duplikér handling", + "copy-action": "Kopiér handling", + "copy-all-actions": "Kopiér alle handlinger", + "action-copied": "Handling kopieret", + "actions-copied": "Handlinger kopieret", + "paste-actions": "Indsæt handlinger", + "clear-actions": "Ryd alle handlinger", + "clear-actions-title": "Ryd alle handlinger", + "clear-actions-text": "Er du sikker på, at du vil fjerne alle widget-handlinger?", + "actions-file": "Fil med widget-handlinger", + "actions-json-content": "JSON-indhold for handlinger", + "invalid-actions-file-error": "Kan ikke importere widget-handlinger: Ugyldig datastruktur for widget-handlinger.", + "import-actions-imported": "{ count, plural, =0 {Ingen handlinger blev importeret} =1 {1 handling blev importeret} other {# handlinger blev importeret} }", + "paste-actions-pasted": "{ count, plural, =0 {Ingen handlinger blev indsat} =1 {1 handling blev indsat} other {# handlinger blev indsat} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {Ingen handlinger blev duplikeret} =1 {1 handling blev duplikeret} other {# handlinger blev duplikeret} }", + "import-actions-skipped": "{ count, plural, =1 {1 handling blev sprunget over, da den ikke er relevant eller allerede er konfigureret for denne widget} other {# handlinger blev sprunget over, da de ikke er relevante eller allerede er konfigureret for denne widget} }", + "import-actions-columns-reset": "{ count, plural, =1 {1 handling ved klik på celle har ingen kolonne tildelt. Redigér handlingen for at tildele en kolonne.} other {# handlinger ved klik på celle har ingen kolonne tildelt. Redigér handlingerne for at tildele en kolonne.} }", "action-source": "Handlingskilde", "select-action-source": "Vælg handlingskilde", "action-source-required": "Handlingskilde er påkrævet.", "column-index": "Kolonneindeks", "select-column-index": "Vælg kolonneindeks", "column-index-required": "Kolonneindeks er påkrævet.", - "entity-group-row-click-hint": "For at bruge den tilpassede handling \"Ved række-klik\", skal indstillingen \"Åbn enhedsdetaljer ved\" i fanen Indstillinger være sat til noget andet end \"Ved række-klik\".", + "entity-group-row-click-hint": "For at bruge den tilpassede handling \"Ved rækkeklik\" skal indstillingen \"Åbn entitetsdetaljer ved\" i fanen Indstillinger være sat til noget andet end \"Ved rækkeklik\".", "not-set": "Ikke angivet", "action-name": "Navn", "action-name-required": "Handlingsnavn er påkrævet.", @@ -9833,10 +11141,10 @@ "button-style": "Knapstil" }, "show-hide-action-using-function": "Vis/skjul handling via funktion", - "show-action-function": "Vis handlingsfunktion", + "show-action-function": "Funktion til visning af handling", "action-type": "Type", "action-type-required": "Handlingstype er påkrævet.", - "edit-action": "Rediger handling", + "edit-action": "Redigér handling", "delete-action": "Slet handling", "delete-action-title": "Slet widget-handling", "delete-action-text": "Er du sikker på, at du vil slette widget-handlingen med navnet '{{actionName}}'?", @@ -9847,11 +11155,11 @@ "icon-color": "Ikonfarve", "icon-size": "Ikonstørrelse", "advanced-settings": "Avancerede indstillinger", - "data-settings": "Datainstillinger", + "data-settings": "Dataindstillinger", "limits": "Grænser", - "no-data-display-message": "Alternativ meddelelse for \"Ingen data at vise\"", - "data-page-size": "Maksimalt antal enheder pr. datakilde", - "settings-component-not-found": "Indstillingsformular komponent ikke fundet for selector '{{selector}}'", + "no-data-display-message": "Alternativ besked for \"Ingen data at vise\"", + "data-page-size": "Maksimalt antal entiteter pr. datakilde", + "settings-component-not-found": "Komponent til indstillingsformular blev ikke fundet for selektoren '{{selector}}'", "preview": "Forhåndsvisning", "set": "Indstil", "set-message": "Indstil besked", @@ -9867,7 +11175,7 @@ "card-appearance": "Kortudseende", "color": "Farve", "tooltip": "Værktøjstip", - "units-required": "Enhed er påkrævet.", + "units-required": "Måleenhed er påkrævet.", "list-layout": "Listeopsætning", "layout": "Layout", "resize-options": "Tilpasningsmuligheder", @@ -9875,8 +11183,8 @@ "preserve-aspect-ratio": "Bevar billedformat" }, "widget-type": { - "import": "Importer widgettype", - "export": "Eksporter widgettype", + "import": "Importér widgettype", + "export": "Eksportér widgettype", "export-failed-error": "Kan ikke eksportere widget: {{error}}", "widget-file": "Widgetfil", "invalid-widget-file-error": "Kan ikke importere widget: Ugyldig widgetdatastruktur." @@ -9886,14 +11194,14 @@ "self-registration-url": "URL til selvregistrering", "captcha-version": "Captcha-version", "captcha-action": "Captcha-logaktionsnavn", - "captcha-site-key": "Captcha-side nøgle", - "captcha-site-key-required": "Captcha-side nøgle er påkrævet.", + "captcha-site-key": "Captcha-site-nøgle", + "captcha-site-key-required": "Captcha-site-nøgle er påkrævet.", "captcha-site-key-cannot-contain-only-spaces": "Captcha-site-nøglen må ikke kun indeholde mellemrum", "captcha-site-key-max-length": "Captcha-site-nøglen skal være under 256 tegn", - "captcha-secret-key": "Captcha hemmelig nøgle", - "captcha-secret-key-required": "Captcha hemmelig nøgle er påkrævet.", - "captcha-secret-key-cannot-contain-only-spaces": "Captcha-hemmelige nøgle må ikke kun indeholde mellemrum", - "captcha-secret-key-max-length": "Captcha-hemmelige nøgle skal være under 256 tegn", + "captcha-secret-key": "Hemmelig Captcha-nøgle", + "captcha-secret-key-required": "Hemmelig Captcha-nøgle er påkrævet.", + "captcha-secret-key-cannot-contain-only-spaces": "Den hemmelige Captcha-nøgle må ikke kun indeholde mellemrum", + "captcha-secret-key-max-length": "Den hemmelige Captcha-nøgle skal være under 256 tegn", "project-id": "Projekt-ID", "project-id-required": "Projekt-ID er påkrævet.", "android-key": "Android-nøgle", @@ -9902,14 +11210,14 @@ "ios-key-required": "iOS-nøgle er påkrævet.", "notification-recipient": "Notifikationsmodtager", "notification-recipient-required": "Notifikationsmodtager er påkrævet.", - "privacy-policy-text": "Privatlivspolitik tekst", - "terms-of-use-text": "Betingelser for brug tekst", - "text-message-page": "Tekstmeddelelse til registreringsside", - "enable-mobile-self-registration": "Aktiver selvregistrering fra mobilapplikation", + "privacy-policy-text": "Tekst til privatlivspolitik", + "terms-of-use-text": "Tekst til brugsbetingelser", + "text-message-page": "Tekstbesked til registreringsside", + "enable-mobile-self-registration": "Aktivér selvregistrering fra mobilapplikation", "mobile-self-registration-title": "Selvregistreringsindstillinger for mobilapplikation", "mobile-package": "Applikationspakke", "mobile-package-placeholder": "Eks.: my.example.app", - "mobile-package-hint": "For Android: din egen unikke applikations-ID. For iOS: Produktets bundt-id.", + "mobile-package-hint": "For Android: dit eget unikke applikations-id. For iOS: produktets bundt-id.", "mobile-package-required": "Applikationspakke er påkrævet", "mobile-app-secret": "Applikationshemmelighed", "invalid-mobile-app-secret": "Applikationshemmelighed må kun indeholde alfanumeriske tegn og være mellem 16 og 2048 tegn lang.", @@ -9928,27 +11236,136 @@ "show-terms-of-use": "Vis betingelser for brug", "domain-settings": "Domæneindstillinger", "general-settings": "Generelle indstillinger", - "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterprise konto legitimations JSON-fil", + "recaptcha-enterprise-service-account-file": "JSON-fil med legitimationsoplysninger for reCAPTCHA Enterprise-kontoen", "select-recaptcha-enterprise-service-account-file": "Træk og slip din konto-legitimationsfil" }, - "solution-template": { - "solution-template": "Løsningsskabelon", - "solution-templates": "Løsningsskabeloner", - "management": "Administrer løsningsskabeloner", - "details": "Detaljer", - "install": "Installer", - "level": "Niveau", - "install-title": "Løsningsskabelonen blev installeret korrekt", - "install-failed-title": "Installationen af løsningsskabelonen mislykkedes", - "instructions": "Instruktioner", - "goto-main-dashboard": "Gå til hoveddashboard", - "delete": "Slet", - "delete-solution-title": "Er du sikker på, at du vil slette løsningen '{{solutionTitle}}'?", - "delete-solution-text": "Vær forsigtig, efter bekræftelse vil løsningen og alle relaterede data ikke kunne gendannes.", - "installing": "Installerer løsningsskabelon..." + "solution-creator": { + "ai-solution-creator": "AI-løsningsbygger", + "describe-solution-you-want": "Beskriv den løsning, du vil lave", + "enter-your-prompt": "Indtast din prompt", + "target": "Mål", + "install-solution": "Installér", + "solution-overview": "Løsningsoversigt: {{ name }}", + "dashboards-overview": "Dashboardoversigt: {{ name }}", + "entity-profile": "Entitetsprofil", + "entity-profiles": "Entitetsprofiler", + "name": "Navn", + "iam": "IAM", + "iam-full": "Identitets- og adgangsstyring", + "table-view": "Tabel", + "schema-view": "Skema", + "iam-info": "IAM-info", + "operation": { + "C": "Opret", + "R": "Læs", + "U": "Opdatér", + "D": "Slet" + }, + "alarm-info": "Alarmoplysninger", + "description": "Beskrivelse", + "data": "Data", + "entity-info": "Entitetsoplysninger", + "calculated-field-info": "Oplysninger om beregnet felt", + "field-type": "Felttype", + "scope": "Omfang", + "delete-alarm-title": "Slet denne foreslåede alarm?", + "delete-alarm-text": "Denne alarm, der er foreslået ud fra din beskrivelse, bliver ikke føjet til den foreslåede opbygning af løsningen.
    Du kan altid redigere eller oprette alarmer igen manuelt senere. Denne handling kan ikke fortrydes.", + "basic-mode": "Grundlæggende", + "advanced-mode": "Avanceret", + "create-solution": "Opret løsning", + "go-dashboard-manager": "Næste: Dashboarddesign", + "success-generate-title": "Løsningen er klar!", + "success-generate-sub-title": "Du kan installere den på din konto ved at klikke på knappen nedenfor", + "success-generate-install-title": "Løsningen er installeret!", + "success-generate-install-sub-title": "For at redigere løsningen skal du først afinstallere den eksisterende instans", + "main-title": "Hej! Jeg er din AI-assistent", + "sub-title": "Jeg hjælper dig med at omsætte dine krav til en fuldt funktionel IoT-løsning.\nBeskriv bare, hvad du vil opnå, så klarer jeg resten.", + "solutions": "Løsninger", + "new-solution": "Ny løsning", + "uninstall-solution": "Afinstallér", + "uninstall-solution-dialog-title": "Er du sikker på, at du vil afinstallere ‘{{ name }}’?", + "uninstall-solution-dialog-text": "Alle relaterede entiteter og dashboards vil blive slettet fra din konto", + "uninstall-solution-dialog-confirm": "Ja, afinstallér", + "delete-solution-title": "Er du sikker på, at du vil slette ‘{{ name }}’?", + "delete-solution-text": "Alle dine data vil gå tabt", + "delete-solution-confirm": "Ja, slet", + "copy-solution": "Kopiér løsning", + "expand-sidebar": "Udvid sidepanel", + "collapse-sidebar": "Skjul sidepanel", + "solution-id": "Løsnings-ID", + "solution-id-required": "Løsnings-ID er påkrævet", + "rename-solution-title": "Omdøb denne løsning", + "generate-again": "Generér igen", + "skip-interview": "Spring interview over", + "update-solution": "Opdatér løsning", + "finish-edit": "Afslut redigering", + "lorawan-tracking": "LoRaWAN-sporing", + "smart-parking": "Smart parkering", + "weather-monitoring": "Vejrovervågning", + "water-metering": "Vandmåling", + "coffee-machine-monitoring": "Overvågning af kaffemaskiner", + "fleet-geofencing": "Geofencing af flåder", + "more-examples": "Flere eksempler", + "hide": "Skjul", + "solution-info": "Løsningsinfo", + "solution-info-with-name": "Løsningsinfo: {{ name }}", + "status": "Status", + "only-failures": "Kun fejl", + "failed-create-entity": "Kunne ikke oprette entitet", + "failed-install-entity": "Kunne ikke installere entitet", + "copy-id": "Kopiér ID", + "id-copied-message": "Løsnings-ID er kopieret til udklipsholderen", + "credits": "Kreditter", + "info": "Info", + "main-dashboard": "Hoveddashboard", + "view-as": "Vis som {{ name }}", + "generated-by-calculated-field-name": "Genereret af det beregnede felt ‘{{ name }}’", + "estimate-wait-time": "Anslået ventetid er ~{{ time }}", + "analyzing-your-request": "Analyserer din anmodning...", + "condition": "Betingelse", + "installing": "Installerer løsning...", + "step-architecture-design": "Arkitekturdesign", + "step-dashboard-design": "Dashboarddesign", + "step-solution-installation": "Løsningsinstallation", + "step-reading-device-data": "Læser enhedsdata…", + "step-analyzing-telemetry-attributes": "Analyserer telemetri og attributter…", + "step-selecting-widgets": "Vælger widgets til dine data…", + "step-configuring-titles-units-ranges": "Konfigurerer titler, måleenheder og områder…", + "step-designing-layout": "Designer layoutet…", + "step-arranging-widgets": "Placerer widgets på dashboardet…", + "generate-dashboard": "Generér dashboard", + "generate-dashboard-with-ai": "Generér dashboard med AI", + "no-telemetry-title": "Ingen telemetridata fundet", + "no-telemetry-message": "Denne enhed har endnu ikke sendt nogen telemetri.\nSend først telemetri fra enheden, og generér derefter dashboardet.", + "send-telemetry": "Send telemetri", + "step-loading-updating-entities": "Opdaterer entiteter…", + "step-loading-restructuring-roles": "Omstrukturerer roller…", + "step-loading-rebuilding-alarm-rules": "Genopbygger alarmregler…", + "step-loading-reassembling-dashboards": "Samler dashboards igen…", + "step-loading-updating-solution": "Opdaterer din løsning…", + "step-loading-designing-dashboards-structure": "Designer dashboardstrukturen…", + "step-loading-designing-dashboards-states": "Designer dashboardtilstande…", + "step-loading-designing-widgets": "Designer widgets…", + "step-loading-adding-finishing-touches": "Lægger sidste hånd på værket…", + "step-loading-evaluating-solution-changes": "Evaluerer ændringer i løsningen…", + "step-loading-reevaluating-use-cases": "Revurderer anvendelsesscenarier…", + "step-loading-finalizing": "Færdiggør…", + "step-loading-creating-entities": "Opretter entiteter…", + "step-loading-configuring-devices": "Konfigurerer enheder…", + "step-loading-setting-up-relations": "Opretter relationer…", + "step-loading-structuring-access-controls": "Strukturerer adgangskontrol…", + "step-loading-building-calculated-fields": "Opbygger beregnede felter…", + "step-loading-building-alarm-rules": "Opbygger alarmregler…", + "step-loading-assembling-dashboards": "Samler dashboards…", + "step-loading-preparing-states": "Forbereder tilstande…", + "step-loading-initializing-solution": "Initialiserer løsning…", + "ai-credits": "AI-kreditter", + "ai-credits-update": "Skift plan", + "ai-credits-usage": "AI-kreditter: {{ used }} af {{ max }} brugt", + "ai-credits-description": "Du har brugt {{ used }} af dine {{ max }} AI-kreditter denne måned. Grænsen nulstilles den {{ date }}. Kontakt din systemadministrator for at øge din grænse for AI-kreditter." }, "markdown": { - "edit": "Rediger", + "edit": "Redigér", "preview": "Forhåndsvisning", "copy-code": "Klik for at kopiere", "copied": "Kopieret!" @@ -9962,25 +11379,28 @@ "preview": "Forhåndsvisning", "app-title": "Applikationstitel", "favicon": "Websideikon", - "favicon-description": "*.ico, *.gif eller *.png billede med maksimal størrelse på {{kbSize}} KByte.", - "favicon-size-error": "Websideikonet er for stort. Maksimal tilladt størrelse er {{kbSize}} KByte.", - "favicon-type-error": "Ugyldigt billedformat. Kun ICO, GIF eller PNG billeder accepteres.", - "drop-favicon-image": "Slip et websideikon eller klik for at vælge en fil til upload.", - "drop-favicon-image-or": "Træk og slip et websideikon eller", - "no-favicon-image": "Intet ikon valgt", + "favicon-desc": "Ikon i browserfanen og bogmærker. PNG eller ICO, 32×32 px anbefales", "logo": "Logo", - "logo-description": "Ethvert billede med maksimal størrelse {{kbSize}} KByte.", - "logo-size-error": "Logoet er for stort. Maksimal tilladt størrelse er {{kbSize}} KByte.", - "logo-type-error": "Ugyldigt logoformat. Kun billedfiler accepteres.", - "drop-logo-image": "Slip et logo eller klik for at vælge en fil til upload.", - "drop-logo-image-or": "Træk og slip et logo eller", - "no-logo-image": "Intet logo valgt", - "logo-height": "Logo højde, px", + "logo-desc": "SVG eller PNG, højde mindst 96px, op til 200 KB", + "logo-height": "Logohøjde, px", + "logo-height-desc": "Skalerer logoet proportionalt og centrerer det. Øg højden (op til 200px) for høje logoer", + "collapsed-logo": "Logo til sammenklappet sidepanel", + "collapsed-logo-desc": "Kvadratisk SVG eller PNG, mindst 48×48 px, op til 100 KB", + "appearance": "Udseende", + "application-shell": "Applikationsramme", + "application-shell-desc": "Vælg, hvordan den primære farve anvendes på sidepanelet, applikationslinjen og sideoverskrifterne", + "light": "Lys", + "primary": "Primær", "primary-palette": "Primær palet", + "primary-palette-desc": "Primær brandfarve. Sidepanel, applikationslinje, sideoverskrifter, knapper, links og aktive menupunkter", "accent-palette": "Accentpalet", + "accent-palette-desc": "Afkrydsningsfelter, radioknapper, til/fra-knapper, skydere, statuslinjer og badges", "customize-palette": "Tilpas", "advanced-css": "Avanceret CSS", - "edit-palette": "Rediger palet", + "advanced-css-desc": "Brugerdefineret CSS til finjustering af ethvert UI-element ud over paletterne — ikoner, skrifttyper, baggrunde, rullebjælker og mere. Ændringerne gælder for hele platformen, så brug det med omtanke. For avancerede brugere", + "add-custom-css": "Tilføj brugerdefineret CSS", + "edit-custom-css": "Redigér brugerdefineret CSS", + "edit-palette": "Redigér palet", "save-palette": "Gem palet", "primary-background": "Primær baggrund", "secondary-background": "Sekundær baggrund", @@ -9988,19 +11408,26 @@ "hue2": "HUE 2", "hue3": "HUE 3", "page-background-color": "Sidebaggrundsfarve", + "page-background-color-desc": "Udfylder hovedindholdsområdet bag siderne", "dark-foreground": "Mørk forgrund", + "dark-foreground-desc": "Gør tekst og ikoner på loginsiden mørke. Brug med lyse baggrunde", "domain-name": "Domænenavn", "base-url": "Base URL", - "base-url-required": "Base URL er påkrævet", - "prohibit-different-url": "Forbyd brug af vært fra klientens forespørgselsheaders", - "prohibit-different-url-hint": "Denne indstilling bør aktiveres i produktionsmiljøer. Kan medføre sikkerhedsproblemer, hvis deaktiveret", - "help-link-base-url": "Base URL for hjælpelinks", - "ui-help-base-url": "Base URL for UI hjælp", + "base-url-required": "Basis-URL er påkrævet", + "prohibit-different-url": "Forbyd brug af værtsnavn fra klientanmodningens headers", + "prohibit-different-url-hint": "Denne indstilling bør være aktiveret i produktionsmiljøer. Kan medføre sikkerhedsproblemer, hvis deaktiveret", + "help-link-base-url": "Basis-URL for hjælpelinks", + "help-link-base-url-desc": "Basis-URL'en til din eksterne dokumentationsportal. Brugere omdirigeres hertil for at få detaljerede vejledninger", + "ui-help-base-url": "Basis-URL for UI-hjælp", + "ui-help-base-url-desc": "URL'en til kildelageret, som systemet bruger til dynamisk at hente og vise korte værktøjstip i applikationen", "enable-help-links": "Aktivér hjælpelinks", + "enable-help-links-desc": "Viser kontekstafhængige hjælpeikoner (?) i hele platformens brugerflade", "error-verification-url": "Et domænenavn må ikke indeholde symbolerne '/' og ':'. Eksempel: thingsboard.io", - "hide-connectivity-dialog": "Skjul forbindelsesdialog", + "show-connectivity-dialog": "Vis forbindelsesdialog", + "show-connectivity-dialog-desc": "Viser enhedens forbindelsesdialog med forbindelsesinstruktioner, når en enhed er oprettet", "override-trendz-add-on-name": "Tilsidesæt navn på Trendz Analytics-tilføjelse", - "override-trendz-add-on-name-hint": "Når aktiveret, vises 'Trendz analytics' som 'Avanceret analyse' på hele platformen.", + "override-trendz-add-on-name-desc": "Omdøber tilføjelsen \"Trendz\" til \"Avanceret analyse\" i hele platformen", + "show-platform-name-version-bottom-left-corner": "Vis platformens navn og version i nederste venstre hjørne", "show-platform-name-version": "Vis platformens navn og version", "platform-name": "Platformnavn", "platform-version": "Platformversion", @@ -10014,18 +11441,21 @@ "reset-white-label-text": "Vær forsigtig – efter bekræftelse vil alle tilpassede indstillinger gå tabt og kan ikke gendannes.", "reset-login-white-label-title": "Er du sikker på, at du vil nulstille login white-labeling-indstillingerne til standard?", "reset-login-white-label-text": "Vær forsigtig – efter bekræftelse vil alle tilpassede indstillinger gå tabt og kan ikke gendannes.", - "app-title-max-length": "Applikationstitlen skal være mindre end 256 tegn" + "app-title-max-length": "Applikationstitlen skal være mindre end 256 tegn", + "logo-and-titles": "Logo og titler", + "interface-options": "Indstillinger for brugerflade", + "domain": "Domæne" }, "widgets": { "mobile-app-qr-code": { - "configuration-hint": "Konfigurationen afhænger af QR-kode widgeten for mobilappen i platformens hovedindstillinger", + "configuration-hint": "Konfigurationen afhænger af QR-kodewidgetten for mobilappen i platformens hovedindstillinger", "get-it-on-google-play": "Hent på Google Play", "download-on-the-app-store": "Download i App Store" }, "action-button": { "behavior": "Opførsel", "on-click": "Ved klik", - "on-click-hint": "Handling udløses, når knappen klikkes", + "on-click-hint": "Handling, der udløses, når der klikkes på knappen", "first-button-click": "Første knapklik", "first-button-click-hint": "Handling ved tryk på første knap.", "second-button-click": "Andet knapklik", @@ -10035,7 +11465,7 @@ "command-button": { "behavior": "Opførsel", "on-click": "Ved klik", - "on-click-hint": "Handling udføres, når knappen klikkes." + "on-click-hint": "Handling, der udføres, når der klikkes på knappen." }, "power-button": { "behavior": "Opførsel", @@ -10049,14 +11479,14 @@ "layout-default": "Standard", "layout-simplified": "Forenklet", "layout-outlined": "Optrukket", - "layout-default-volume": "Standard.Lydstyrke", - "layout-simplified-volume": "Forenklet.Lydstyrke", - "layout-outlined-volume": "Optrukket.Lydstyrke", + "layout-default-volume": "Standard.Volumen", + "layout-simplified-volume": "Forenklet.Volumen", + "layout-outlined-volume": "Optrukket.Volumen", "layout-default-icon": "Standard.Ikon", "layout-simplified-icon": "Forenklet.Ikon", "layout-outlined-icon": "Optrukket.Ikon", - "main": "Hoved", - "background": "Baggrund", + "main": "Hovedfarve", + "background": "Kontrastfarve", "button-icon-on": "Knapikon 'Tændt'", "button-icon-off": "Knapikon 'Slukket'", "power-on-colors": "Tænd-farver", @@ -10068,11 +11498,11 @@ "behavior": "Opførsel", "checked": "Markeret", "unchecked": "Ikke markeret", - "check": "Markér", - "check-hint": "Handling udføres for at markere komponenten.", - "uncheck": "Afmarkér", - "uncheck-hint": "Handling udføres for at afmarkere komponenten.", - "auto-scale": "Auto-skala", + "check": "Tænd", + "check-hint": "Handling, der udføres for at tænde komponenten.", + "uncheck": "Sluk", + "uncheck-hint": "Handling, der udføres for at slukke komponenten.", + "auto-scale": "Automatisk skalering", "horizontal-fill": "Vandret udfyldning", "vertical-fill": "Lodret udfyldning", "button-appearance": "Knappens udseende" @@ -10095,13 +11525,13 @@ "filled": "Udfyldt", "underlined": "Understreget", "basic": "Grundlæggende", - "auto-scale": "Auto-skala", + "auto-scale": "Automatisk skalering", "label": "Etiket", "icon": "Ikon", - "border-radius": "Kanteradius", + "border-radius": "Kantafrunding", "color-palette": "Farvepalet", - "main": "Hoved", - "background": "Baggrund", + "main": "Hovedfarve", + "background": "Kontrastfarve", "border": "Kant", "custom-styles": "Brugerdefinerede stilarter", "clear-style": "Ryd stil", @@ -10115,18 +11545,18 @@ "behavior": "Opførsel", "simplified": "Forenklet", "filled": "Udfyldt", - "outlined": "Omkredset", + "outlined": "Optrukket", "volume": "Volumen", "initial-state": "Initial tilstand", "initial-state-hint": "Handling for at hente den initiale værdi.", "disabled-state": "Deaktiveret tilstand", - "disabled-state-hint": "Konfigurer betingelsen, hvorunder komponenten er deaktiveret.", - "right-button-click": "Højre knap klik", + "disabled-state-hint": "Konfigurér betingelsen, hvorunder komponenten er deaktiveret.", + "right-button-click": "Klik på højre knap", "right-button-click-hint": "Handling ved tryk på højre knap.", - "left-button-click": "Venstre knap klik", + "left-button-click": "Klik på venstre knap", "left-button-click-hint": "Handling ved tryk på venstre knap.", "auto-scale": "Automatisk skalering", - "value-range": "Interval", + "value-range": "Område", "min-range": "Min", "max-range": "Maks", "value-increment-decrement-step": "Trin for værdi op/ned", @@ -10141,20 +11571,20 @@ "icon": "Ikon", "color-palette": "Farvepalet", "main": "Primær", - "background": "Baggrund", + "background": "Kontrastfarve", "button-icon-on": "Knapikon 'Tændt'", - "button-on-colors": "Farver for 'Tændt' tilstand", + "button-on-colors": "Farver for tilstanden 'Tændt'", "disabled-colors": "Deaktiverede farver" }, "button-state": { "activated-state": "Aktiveret tilstand", - "activated-state-hint": "Konfigurer betingelse for hvornår knappen er aktiv.", + "activated-state-hint": "Konfigurér betingelse for hvornår knappen er aktiv.", "disabled-state": "Deaktiveret tilstand", - "disabled-state-hint": "Konfigurer betingelse for hvornår knappen er deaktiveret.", + "disabled-state-hint": "Konfigurér betingelse for hvornår knappen er deaktiveret.", "selected-state": "Valgt tilstand", - "selected-state-hint": "Konfigurer betingelse for hvornår knappen er valgt.", + "selected-state-hint": "Konfigurér betingelse for hvornår knappen er valgt.", "enabled": "Aktiveret", - "hovered": "Holdt over", + "hovered": "Markør over", "pressed": "Trykket", "activated": "Aktiveret", "disabled": "Deaktiveret", @@ -10169,7 +11599,7 @@ "background-type-color": "Farve", "image-url": "Billedets URL", "overlay": "Overlay", - "enable-overlay": "Aktiver overlay", + "enable-overlay": "Aktivér overlay", "blur": "Sløring", "preview": "Forhåndsvisning" }, @@ -10178,12 +11608,12 @@ "label-on-bar": "Etiket på søjle", "value-on-bar": "Værdi på søjle", "bar-chart-style": "Søjlediagramstil", - "bar-axis": "Søjleafse" + "bar-axis": "Søjleakse" }, "polar-area-chart": { "polar-axis": "Polarakse", "start-angle": "Startvinkel", - "polar-area-chart-style": "Polar områdediagramstil" + "polar-area-chart-style": "Stil for polært områdediagram" }, "battery-level": { "layout": "Layout", @@ -10193,11 +11623,11 @@ "layout-horizontal-divided": "Vandret. Opdelt", "icon": "Ikon", "value": "Værdi", - "auto-scale": "Auto-skala", - "battery-level-color": "Batteriniveau farve", - "battery-shape-color": "Batteriform farve", - "battery-level-card-style": "Batteriniveau kortstil", - "sections-count": "Sektioner antal" + "auto-scale": "Automatisk skalering", + "battery-level-color": "Farve for batteriniveau", + "battery-shape-color": "Farve for batteriform", + "battery-level-card-style": "Kortstil for batteriniveau", + "sections-count": "Antal sektioner" }, "signal-strength": { "value": "Værdi", @@ -10205,13 +11635,13 @@ "no-signal": "Intet signal", "layout": "Layout", "layout-wifi": "Wi-Fi", - "layout-cellular-bar": "Mobil søjle", + "layout-cellular-bar": "Mobilsignalsøjler", "icon": "Ikon", "date": "Dato", - "active-bars-color": "Aktive signalbjælker farve", - "inactive-bars-color": "Inaktive signalbjælker farve", + "active-bars-color": "Farve for aktive signalbjælker", + "inactive-bars-color": "Farve for inaktive signalbjælker", "signal-strength-card-style": "Signalkortstil", - "no-signal-rssi-value": "\"Intet signal\" rssi-værdi" + "no-signal-rssi-value": "RSSI-værdi for \"Intet signal\"" }, "status-widget": { "behavior": "Adfærd", @@ -10234,20 +11664,20 @@ }, "chart": { "common-settings": "Fælles indstillinger", - "enable-stacking-mode": "Aktiver stabletilstand", + "enable-stacking-mode": "Aktivér stabletilstand", "selection": "Tidsområdevalg", - "enable-selection-mode": "Aktiver valgtilstand", + "enable-selection-mode": "Aktivér valgtilstand", "line-shadow-size": "Skyggestørrelse på linje", "display-smooth-lines": "Vis glatte (buede) linjer", - "default-bar-width": "Standard søjlebredde for ikke-aggregerede data (millisekunder)", + "default-bar-width": "Standardsøjlebredde for ikke-aggregerede data (millisekunder)", "bar-alignment": "Søjlens justering", "bar-alignment-left": "Venstre", "bar-alignment-right": "Højre", "bar-alignment-center": "Centreret", - "default-font": "Standard skrifttype", - "default-font-size": "Standard skrifttypestørrelse", - "default-font-color": "Standard skrifttypefarve", - "thresholds-line-width": "Standard linjebredde for alle tærskler", + "default-font": "Standardskrifttype", + "default-font-size": "Standardskriftstørrelse", + "default-font-color": "Standardskriftfarve", + "thresholds-line-width": "Standardlinjebredde for alle tærskler", "tooltip-settings": "Værktøjstip-indstillinger", "tooltip": "Værktøjstip", "show-tooltip": "Vis værktøjstip", @@ -10272,23 +11702,23 @@ "yaxis-tick-labels-settings": "Indstillinger for Y-aksens mærkater", "tick-step-size": "Trin mellem markeringer", "number-of-decimals": "Antal decimaler", - "ticks-formatter-function": "Formatteringsfunktion for markeringer", + "ticks-formatter-function": "Formateringsfunktion for markeringer", "comparison-settings": "Sammenligningsindstillinger", - "enable-comparison": "Aktiver sammenligning", + "enable-comparison": "Aktivér sammenligning", "time-for-comparison": "Sammenligningsperiode", "time-for-comparison-previous-interval": "Forrige interval (standard)", - "time-for-comparison-days": "En dag siden", - "time-for-comparison-weeks": "En uge siden", - "time-for-comparison-months": "En måned siden", - "time-for-comparison-years": "Et år siden", + "time-for-comparison-days": "For en dag siden", + "time-for-comparison-weeks": "For en uge siden", + "time-for-comparison-months": "For en måned siden", + "time-for-comparison-years": "For et år siden", "time-for-comparison-custom-interval": "Brugertilpasset interval", "custom-interval-value": "Brugerdefineret intervalværdi (ms)", "comparison-x-axis-settings": "X-akseindstillinger for sammenligning", - "axis-position": "Akses placering", + "axis-position": "Aksens placering", "axis-position-top": "Øverst (standard)", "axis-position-bottom": "Nederst", "custom-legend-settings": "Brugerdefinerede signaturindstillinger", - "enable-custom-legend": "Aktiver brugerdefineret signatur (brug attribut-/tidsserieværdier i nøgleetiketter)", + "enable-custom-legend": "Aktivér brugerdefineret signatur (brug attribut-/tidsserieværdier i nøgleetiketter)", "key-name": "Nøglenavn", "key-name-required": "Nøglenavn er påkrævet", "key-type": "Nøgletype", @@ -10300,13 +11730,13 @@ "line-width": "Linjebredde", "color": "Farve", "data-is-hidden-by-default": "Data er som standard skjult", - "disable-data-hiding": "Deaktiver datas skjul", + "disable-data-hiding": "Deaktivér skjulning af data", "remove-from-legend": "Fjern datanøgle fra signatur", "exclude-from-stacking": "Udeluk fra stabling (tilgængelig i \"Stabling\"-tilstand)", "line-settings": "Linjens indstillinger", "show-line": "Vis linje", "fill-line": "Udfyld linje", - "fill-line-opacity": "Fyld opacitet", + "fill-line-opacity": "Opacitet for fyld", "points-settings": "Punktindstillinger", "show-points": "Vis punkter", "points-line-width": "Linjebredde for punkter", @@ -10332,7 +11762,7 @@ "use-as-threshold": "Brug nøgleværdi som tærskel", "threshold-line-width": "Tærskellinjens bredde", "threshold-color": "Tærskelfarve", - "common-pie-settings": "Fælles indstillinger for lagkage", + "common-pie-settings": "Fælles indstillinger for lagkagediagram", "radius": "Radius", "inner-radius": "Indre radius", "tilt": "Hældning", @@ -10341,7 +11771,7 @@ "width-pixels": "Bredde (pixels)", "show-labels": "Vis etiketter", "animation-settings": "Animationsindstillinger", - "animated-pie": "Aktiver lagkageanimation (eksperimentelt)", + "animated-pie": "Aktivér animation af cirkeldiagram (eksperimentelt)", "border-settings": "Kantindstillinger", "border-width": "Kantbredde", "border-color": "Kantfarve", @@ -10377,16 +11807,16 @@ "line-type-dashed": "Stiplet", "line-type-dotted": "Prikket", "label-position-top": "Top", - "label-position-bottom": "Bund", + "label-position-bottom": "Nederst", "label-position-outside": "Udenfor", "label-position-inside": "Indenfor", "fill": "Fyld", "fill-type-none": "Ingen", "fill-type-solid": "Solid", - "fill-type-opacity": "Gennemsigtighed", + "fill-type-opacity": "Opacitet", "fill-type-gradient": "Gradient", "background": "Baggrund", - "opacity": "Gennemsigtighed", + "opacity": "Opacitet", "gradient-stops": "Gradientstop", "gradient-start": "start", "gradient-end": "slut", @@ -10396,9 +11826,9 @@ "animation-duration": "Animationsvarighed", "animation-easing": "Animationsudjævning", "animation-delay": "Animationsforsinkelse", - "update-animation-duration": "Opdater animationsvarighed", - "update-animation-easing": "Opdater animationsudjævning", - "update-animation-delay": "Opdater animationsforsinkelse" + "update-animation-duration": "Opdatér animationsvarighed", + "update-animation-easing": "Opdatér animationsudjævning", + "update-animation-delay": "Opdatér animationsforsinkelse" }, "chart-axis": { "limit": "Grænse", @@ -10429,10 +11859,10 @@ "color-settings": "Farveindstillinger", "color-type-constant": "Konstant", "color-type-gradient": "Gradient", - "color-type-range": "Interval", + "color-type-range": "Område", "color-type-function": "Funktion", "color": "Farve", - "value-range": "Værdiparameter", + "value-range": "Værdiområde", "from": "Fra", "to": "Til", "color-function": "Farvefunktion", @@ -10441,8 +11871,8 @@ "settings-type": "Indstillingstype", "basic-mode": "Basis", "advanced-mode": "Avanceret", - "entity-alias": "Enhedsalias", - "entity-attribute": "Enhedsattribut", + "entity-alias": "Entitetsalias", + "entity-attribute": "Entitetsattribut", "gradient-color": "Gradientfarve", "gradient-color-min": "Farve", "gradient-start": "Startfarve for gradient", @@ -10455,17 +11885,17 @@ }, "dashboard-state": { "dashboard-state-settings": "Dashboardtilstandsindstillinger", - "dashboard-state": "Dashboardtilstand ID", + "dashboard-state": "Dashboardtilstands-id", "autofill-state-layout": "Autoudfyld tilstandslayoutets højde som standard", - "default-margin": "Standard margen for widgets", - "default-background-color": "Standard baggrundsfarve", - "sync-parent-state-params": "Synkroniser tilstandsparametre med overordnet dashboard" + "default-margin": "Standardmargen for widgets", + "default-background-color": "Standardbaggrundsfarve", + "sync-parent-state-params": "Synkronisér tilstandsparametre med overordnet dashboard" }, "date-range-navigator": { "date-range-picker-settings": "Indstillinger for datoområdevælger", "hide-date-range-picker": "Skjul datoområdevælger", "picker-one-panel": "Datoområdevælger med ét panel", - "picker-auto-confirm": "Datoområdevælger automatisk bekræftelse", + "picker-auto-confirm": "Automatisk bekræftelse i datoområdevælger", "picker-show-template": "Vis skabelon for datoområdevælger", "first-day-of-week": "Ugens første dag", "interval-settings": "Intervalindstillinger", @@ -10545,13 +11975,13 @@ "layout-default": "Standard", "layout-with-total": "Med total", "central-total-value": "Central totalværdi", - "doughnut-card-style": "Doughnut kortstil" + "doughnut-card-style": "Kortstil for doughnut" }, "entities-hierarchy": { "hierarchy-data-settings": "Indstillinger for hierarkidata", "relations-query-function": "Funktion for forespørgsel på relationer", "has-children-function": "Funktion for om noden har børn", - "node-state-settings": "Indstillinger for node-tilstand", + "node-state-settings": "Indstillinger for nodetilstand", "node-opened-function": "Standardfunktion for åben node", "node-disabled-function": "Funktion for deaktiveret node", "display-settings": "Visningsindstillinger", @@ -10599,19 +12029,19 @@ "minor-ticks-count": "Antal sekundære mærker", "minor-ticks-color": "Farve på sekundære mærker", "tick-numbers-font": "Skrifttype for mærketal", - "unit-title-settings": "Indstillinger for enhedstitel", - "show-unit-title": "Vis enhedstitel", - "unit-title": "Enhedstitel", + "unit-title-settings": "Indstillinger for titel på måleenhed", + "show-unit-title": "Vis titel på måleenhed", + "unit-title": "Titel på måleenhed", "title-font": "Skrifttype for titeltekst", - "units-settings": "Indstillinger for enheder", - "units-font": "Skrifttype for enhedstekst", + "units-settings": "Indstillinger for måleenheder", + "units-font": "Skrifttype for måleenhed", "value-box-settings": "Indstillinger for værdiboks", "show-value-box": "Vis værdiboks", "value-box": "Værdiboks", "value-int": "Antal cifre i heltalsdelen af værdi", - "value-text": "Værdi tekst", - "value-text-shadow": "Skygge for værdi tekst", - "value-font": "Skrifttype for værdi tekst", + "value-text": "Værditekst", + "value-text-shadow": "Skygge for værditekst", + "value-font": "Skrifttype for værditekst", "rect-stroke-color-start": "Startfarve for rektangelkontur", "rect-stroke-color-end": "Slutfarve for rektangelkontur", "background-color": "Baggrundsfarve", @@ -10628,7 +12058,7 @@ "needle-color": "Nålfarve", "needle-color-start": "Startfarve for nål", "needle-color-end": "Slutfarve for nål", - "needle-color-shadow-up": "Skyggefarve for øverste nål", + "needle-color-shadow-up": "Skyggefarve for nålens øverste halvdel", "needle-color-shadow-down": "Skyggefarve (nederst)", "highlights-settings": "Indstillinger for fremhævning", "highlights-width": "Bredde på fremhævning", @@ -10646,14 +12076,14 @@ "animation-linear": "Lineær", "animation-quad": "Kvadratisk", "animation-quint": "Kvintisk", - "animation-cycle": "Cykel", + "animation-cycle": "Cyklus", "animation-bounce": "Hop", "animation-elastic": "Elastisk", - "animation-dequad": "De-kvadratisk", - "animation-dequint": "De-kvintisk", - "animation-decycle": "De-cykel", - "animation-debounce": "De-hop", - "animation-delastic": "De-elastisk", + "animation-dequad": "Omvendt kvadratisk", + "animation-dequint": "Omvendt kvintisk", + "animation-decycle": "Omvendt cyklus", + "animation-debounce": "Omvendt hop", + "animation-delastic": "Omvendt elastisk", "linear-gauge-settings": "Indstillinger for lineær måler", "bar-stroke": "Streg på bjælke", "bar-stroke-width": "Stregbredde på bjælke", @@ -10669,12 +12099,12 @@ "major-ticks-font": "Skrifttype for primære mærker", "border-color": "Kantfarve", "border-width": "Kantbredde", - "needle-circle": "Nål cirkel", + "needle-circle": "Nålecirkel", "needle-circle-color": "Nålcirklens farve", "animation-target": "Animationsmål", "animation-target-needle": "Nål", "animation-target-plate": "Plade", - "common-settings": "Almindelige målerindstillinger", + "common-settings": "Fælles målerindstillinger", "gauge-type": "Målertype", "gauge-type-arc": "Bue", "gauge-type-donut": "Donut", @@ -10701,10 +12131,10 @@ "show-gauge-title": "Vis målertitel", "gauge-title": "Målertitel", "gauge-title-font": "Skrifttype for målertitel", - "unit-title-and-timestamp-settings": "Indstillinger for enhedstitel og tidsstempel", + "unit-title-and-timestamp-settings": "Indstillinger for titel på måleenhed og tidsstempel", "show-timestamp": "Tidsstempel", "timestamp-format": "Tidsstempelformat", - "label-font": "Skrifttype for etikette under værdi", + "label-font": "Skrifttype for etiket under værdien", "value-settings": "Værdiindstillinger", "show-value": "Vis værditekst", "min-max-settings": "Indstillinger for min./maks.-etiketter", @@ -10717,7 +12147,7 @@ "no-tick-values": "Ingen mærkeværdier konfigureret", "add-tick-value": "Tilføj mærkeværdi", "gauge-appearance": "Målerudseende", - "units-title": "Enhedstitel", + "units-title": "Titel på måleenhed", "value": "Værdi", "ticks": "Mærker", "arrow-and-scale-color": "Standardfarve for pil og skala", @@ -10767,26 +12197,26 @@ "claim-device": "Tag enhed i brug", "claim-failed": "Det mislykkedes at tage enheden i brug!", "claim-not-found": "Enhed ikke fundet!", - "claim-successful": "Enheden blev taget i brug med succes!", + "claim-successful": "Enheden blev taget i brug!", "date": "Dato", "device-name": "Enhedsnavn", "device-name-required": "Enhedsnavn er påkrævet", "discard-changes": "Kassér ændringer", - "entity-attribute-required": "Enhedsattribut er påkrævet", + "entity-attribute-required": "Entitetsattribut er påkrævet", "entity-coordinate-required": "Begge felter, breddegrad og længdegrad, er påkrævet", - "entity-timeseries-required": "Enhedens tidsserie er påkrævet", + "entity-timeseries-required": "Entitetens tidsserie er påkrævet", "get-location": "Hent nuværende placering", "invalid-date": "Ugyldig dato", "latitude": "Breddegrad", "longitude": "Længdegrad", "min-value-error": "Minimumsværdi er {{value}}", "max-value-error": "Maksimumsværdi er {{value}}", - "not-allowed-entity": "Valgt enhed må ikke have delte attributter", + "not-allowed-entity": "Valgt entitet må ikke have delte attributter", "no-attribute-selected": "Ingen attribut er valgt", "no-datakey-selected": "Ingen datanøgle er valgt", "no-coordinate-specified": "Datanøgle for bredde-/længdegrad er ikke angivet", - "no-entity-selected": "Ingen enhed valgt", - "no-image": "Ingen billede", + "no-entity-selected": "Ingen entitet valgt", + "no-image": "Intet billede", "no-support-geolocation": "Din browser understøtter ikke geolokation", "no-support-web-camera": "Din browser understøtter ikke kameraer", "enable-https-use-widget": "Aktivér HTTPS for at bruge denne widget", @@ -10795,33 +12225,33 @@ "no-timeseries-selected": "Ingen tidsserie valgt", "secret-key": "Hemmelig nøgle", "secret-key-required": "Hemmelig nøgle er påkrævet", - "switch-attribute-value": "Skift enhedsattributværdi", + "switch-attribute-value": "Skift entitetsattributværdi", "switch-camera": "Skift kamera", - "switch-timeseries-value": "Skift enhedens tidsserie-værdi", + "switch-timeseries-value": "Skift entitetens tidsserieværdi", "take-photo": "Tag billede", "time": "Tid", "timeseries-not-allowed": "Tidsserieparameter må ikke bruges i denne widget", "update-failed": "Opdatering mislykkedes", "update-successful": "Opdatering gennemført", - "update-attribute": "Opdater attribut", - "update-timeseries": "Opdater tidsserie", + "update-attribute": "Opdatér attribut", + "update-timeseries": "Opdatér tidsserie", "value": "Værdi", "general-settings": "Generelle indstillinger", "widget-title": "Widgettitel", - "claim-button-label": "Etiket for brug-knap", + "claim-button-label": "Etiket for knappen 'Tag i brug'", "show-secret-key-field": "Vis inputfelt for 'Hemmelig nøgle'", "labels-settings": "Etiketindstillinger", "show-labels": "Vis etiketter", "device-name-label": "Etiket for feltet 'Enhedsnavn'", "secret-key-label": "Etiket for feltet 'Hemmelig nøgle'", "messages-settings": "Beskedindstillinger", - "claim-device-success-message": "Tekstbesked ved succesfuld enhedsbrug", + "claim-device-success-message": "Tekstbesked, når enheden er taget i brug", "claim-device-not-found-message": "Tekstbesked når enhed ikke findes", - "claim-device-failed-message": "Tekstbesked ved fejlslagen enhedsbrug", + "claim-device-failed-message": "Tekstbesked, når enheden ikke kunne tages i brug", "claim-device-name-required-message": "Fejlbesked: 'Enhedsnavn er påkrævet'", "claim-device-secret-key-required-message": "Fejlbesked: 'Hemmelig nøgle er påkrævet'", "relations-settings": "Relationsindstillinger", - "relate-device-to-state-entity": "Forbind enhed til nuværende tilstands-enhed", + "relate-device-to-state-entity": "Forbind enhed til nuværende tilstandsentitet", "relate-direction": "Relationsretning", "relate-direction-from": "Fra", "relate-direction-to": "Til", @@ -10847,7 +12277,7 @@ "display-apply-button": "Vis 'Anvend'-knap", "display-discard-button": "Vis 'Kassér'-knap", "datetime-field-settings": "Indstillinger for dato/tid-felt", - "display-time-input": "Vis tid-input", + "display-time-input": "Vis tidsinput", "latitude-key-name": "Navn på breddegradsnøgle", "longitude-key-name": "Navn på længdegradsnøgle", "show-get-location-button": "Vis knappen 'Hent nuværende placering'", @@ -10865,9 +12295,9 @@ "longitude-field-required": "Længdegradsfelt påkrævet", "attribute-settings": "Attributindstillinger", "widget-mode": "Widgettilstand", - "widget-mode-update-attribute": "Opdater attribut", - "widget-mode-update-timeseries": "Opdater tidsserie", - "attribute-scope": "Attributområde", + "widget-mode-update-attribute": "Opdatér attribut", + "widget-mode-update-timeseries": "Opdatér tidsserie", + "attribute-scope": "Attributomfang", "attribute-scope-server": "Serverattribut", "attribute-scope-shared": "Delt attribut", "value-required": "Værdi er påkrævet", @@ -10876,16 +12306,16 @@ "image-format-jpeg": "JPEG", "image-format-png": "PNG", "image-format-webp": "WEBP", - "image-quality": "Billedkvalitet der bruger tabsbaseret komprimering som JPEG og WEBP", + "image-quality": "Billedkvalitet", "max-image-width": "Maksimal billedbredde", "max-image-height": "Maksimal billedhøjde", "action-buttons": "Handlingsknapper", "show-action-buttons": "Vis handlingsknapper", - "update-all-values": "Opdater alle værdier, ikke kun de ændrede", + "update-all-values": "Opdatér alle værdier, ikke kun de ændrede", "save-button-label": "Etiket for 'GEM'-knap", "reset-button-label": "Etiket for 'FORTRYD'-knap", "group-settings": "Gruppeindstillinger", - "show-group-title": "Vis titel for gruppe af felter relateret til forskellige enheder", + "show-group-title": "Vis titel for gruppe af felter relateret til forskellige entiteter", "group-title": "Gruppetitel", "fields-alignment": "Justering af felter", "fields-alignment-row": "Række (standard)", @@ -10898,17 +12328,17 @@ "datakey-type-server": "Serverattribut (standard)", "datakey-type-shared": "Delt attribut", "datakey-type-timeseries": "Tidsserie", - "datakey-value-type": "Datanøgleværdi-type", + "datakey-value-type": "Værditype for datanøgle", "datakey-value-type-string": "Streng", "datakey-value-type-double": "Decimal", "datakey-value-type-integer": "Heltal", "datakey-value-type-json": "JSON", "datakey-value-type-boolean-checkbox": "Boolesk (Afkrydsningsfelt)", - "datakey-value-type-boolean-switch": "Boolesk (Skift)", + "datakey-value-type-boolean-switch": "Boolesk (kontakt)", "datakey-value-type-date-time": "Dato og tid", "datakey-value-type-date": "Dato", "datakey-value-type-time": "Tid", - "datakey-value-type-select": "Vælg", + "datakey-value-type-select": "Rulleliste", "datakey-value-type-radio": "Radioknap", "datakey-value-type-color": "Farve", "value-is-required": "Værdi er påkrævet", @@ -10916,7 +12346,7 @@ "ability-to-edit-attribute-editable": "Redigerbar (standard)", "ability-to-edit-attribute-disabled": "Deaktiveret", "ability-to-edit-attribute-readonly": "Skrivebeskyttet", - "disable-on-datakey-name": "Deaktiver baseret på falsk værdi fra anden datanøgle (angiv navn)", + "disable-on-datakey-name": "Deaktivér baseret på falsk værdi fra anden datanøgle (angiv navn)", "field-appearance": "Feltets udseende", "appearance-fill": "Fyld", "appearance-outline": "Kantlinje", @@ -10938,25 +12368,25 @@ "invalid-date-error-message": "Fejlmeddelelse: 'Ugyldig dato'", "invalid-JSON-error-message": "Fejlmeddelelse: 'Ugyldig JSON'", "icon-settings": "Ikonindstillinger", - "dialog-editor-settings": "Dialogeditor-indstillinger", + "dialog-editor-settings": "Indstillinger for dialogeditor", "use-custom-icon": "Brug brugerdefineret ikon", "input-cell-icon": "Ikon vist før inputfelt", "value-conversion-settings": "Indstillinger for værdikonvertering", - "get-value-settings": "Indstillinger for at hente værdi", + "get-value-settings": "Indstillinger for hentning af værdi", "use-get-value-function": "Brug getValue-funktion", "get-value-function": "getValue-funktion", - "set-value-settings": "Indstillinger for at sætte værdi", + "set-value-settings": "Indstillinger for angivelse af værdi", "use-set-value-function": "Brug setValue-funktion", "set-value-function": "setValue-funktion", "json-invalid": "JSON-værdi har et ugyldigt format", "title": "Titel", - "cancel-button-label": "Etiket for 'Annuller'-knap", + "cancel-button-label": "Etiket for 'Annullér'-knap", "radio-button-settings": "Indstillinger for radioknap", "color": "Farve", "columns": "Kolonner", - "radio-options": "Radiomuligheder", - "no-radio-options": "Ingen radiomuligheder konfigureret", - "add-radio-option": "Tilføj radiomulighed", + "radio-options": "Valgmuligheder for radioknapper", + "no-radio-options": "Ingen valgmuligheder for radioknapper konfigureret", + "add-radio-option": "Tilføj valgmulighed for radioknap", "radio-label-position": "Etiketposition", "radio-label-position-before": "Før", "radio-label-position-after": "Efter", @@ -10968,7 +12398,7 @@ "qr-code": { "use-qr-code-text-function": "Brug QR-kodetekstfunktion", "qr-code-text-pattern": "QR-kodetekstmønster (f.eks. '${entityName} | ${keyName} - noget tekst.')", - "qr-code-text-pattern-hint": "QR-kodetekstmønster bruger værdien af den første fundne nøgle i enhederne i enhedsaliasset.", + "qr-code-text-pattern-hint": "QR-kodetekstmønster bruger værdien af den første fundne nøgle i entiteterne i entitetsaliasset.", "qr-code-text-pattern-required": "QR-kodetekstmønster er påkrævet.", "qr-code-text-function": "QR-kodetekstfunktion" }, @@ -10998,30 +12428,30 @@ }, "persistent-table": { "rpc-id": "RPC ID", - "message-type": "Meddelelsestype", + "message-type": "Beskedtype", "method": "Metode", "params": "Parametre", "created-time": "Oprettelsestidspunkt", "expiration-time": "Udløbstidspunkt", - "retries": "Gentagelser", + "retries": "Genforsøg", "status": "Status", "filter": "Filter", - "refresh": "Opdater", + "refresh": "Opdatér", "add": "Tilføj RPC-anmodning", "details": "Detaljer", "delete": "Slet", - "delete-request-title": "Slet Persistent RPC-anmodning", + "delete-request-title": "Slet persistent RPC-anmodning", "delete-request-text": "Er du sikker på, at du vil slette anmodningen?", - "details-title": "Detaljer RPC ID: ", + "details-title": "Detaljer for RPC-id: ", "additional-info": "Yderligere oplysninger", "response": "Svar", "any-status": "Enhver status", "rpc-status-list": "RPC-statusliste", "no-request-prompt": "Ingen anmodninger at vise", "send-request": "Send anmodning", - "add-title": "Opret Persistent RPC-anmodning", + "add-title": "Opret persistent RPC-anmodning", "method-error": "Metode er påkrævet.", - "timeout-error": "Minimum timeoutværdi er 5000 (5 sekunder).", + "timeout-error": "Mindste timeoutværdi er 5000 (5 sekunder).", "white-space-error": "Mellemrum er ikke tilladt.", "rpc-status": { "QUEUED": "I KØ", @@ -11053,56 +12483,61 @@ "range-chart": { "chart": "Diagram", "data-zoom": "Datazoom", - "range-chart-appearance": "Udseende for område-diagram", + "range-chart-appearance": "Udseende for områdediagram", "range-colors": "Områdefarver", "out-of-range-color": "Farve uden for området", "show-range-thresholds": "Vis områdegrænser", "range-thresholds-settings": "Indstillinger for områdegrænser", "fill-area": "Udfyld område", - "fill-area-opacity": "Gennemsigtighed for områdeudfyldning", - "range-chart-style": "Stil for område-diagram" + "fill-area-opacity": "Opacitet for områdeudfyldning", + "range-chart-style": "Stil for områdediagram" }, "knob": { "behavior": "Adfærd", "initial-value": "Startværdi", - "initial-value-hint": "Handling til at hente startværdien for knappen.", + "initial-value-hint": "Handling til at hente startværdien for drejeknappen.", "on-value-change": "Ved værdiskift", - "on-value-change-hint": "Handling udløst, når værdien på knappen ændres.", - "range": "Interval", + "on-value-change-hint": "Handling, der udløses, når værdien på drejeknappen ændres.", + "range": "Område", "min": "min", "max": "maks", "value": "Værdi", - "fallback-initial-value": "Fallback startværdi" + "fallback-initial-value": "Reservestartværdi" }, "rpc": { "value-settings": "Indstillinger for værdi", "initial-value": "Startværdi", - "retrieve-value-settings": "Indstillinger for hentning af tænd/sluk værdi", + "initial-value-hint": "Angiver startværdien, før den første værdi modtages.", + "initial-led-state": "LED-starttilstand", + "initial-led-state-hint": "Angiver LED-starttilstanden, før den første værdi modtages.", + "on": "Til", + "off": "Fra", + "retrieve-value-settings": "Indstillinger for hentning af tænd/sluk-værdi", "retrieve-value-method": "Hent værdi via metode", "retrieve-value-method-none": "Hent ikke", "retrieve-value-method-rpc": "Kald RPC get-værdimetode", - "retrieve-value-method-attribute": "Abonner på attribut", - "retrieve-value-method-timeseries": "Abonner på tidsserier", + "retrieve-value-method-attribute": "Abonnér på attributopdateringer", + "retrieve-value-method-timeseries": "Abonnér på tidsserieopdateringer", "attribute-value-key": "Attributnøgle", "timeseries-value-key": "Tidsserienøgle", "get-value-method": "RPC get-værdimetode", - "parse-value-function": "Fortolk værdi-funktion", - "update-value-settings": "Opdater værdi-indstillinger", + "parse-value-function": "Funktion til fortolkning af værdi", + "update-value-settings": "Opdatér værdiindstillinger", "set-value-method": "RPC set-værdimetode", - "convert-value-function": "Konverter værdi-funktion", + "convert-value-function": "Funktion til konvertering af værdi", "rpc-settings": "RPC-indstillinger", - "request-timeout": "RPC timeout for forespørgsel (ms)", + "request-timeout": "Timeout for RPC-anmodning (ms)", "persistent-rpc-settings": "Indstillinger for persistent RPC", "request-persistent": "RPC-forespørgsel er persistent", "persistent-polling-interval": "Polling-interval (ms) for at hente svar på persistent RPC-kommando", "common-settings": "Fælles indstillinger", "switch-title": "Titel for kontakt", "show-on-off-labels": "Vis tænd/sluk-mærkater", - "slide-toggle-label": "Glidemærkat", + "slide-toggle-label": "Etiket for skydekontakt", "label-position": "Etiketposition", "label-position-before": "Før", "label-position-after": "Efter", - "slider-color": "Skydefarve", + "slider-color": "Farve på skyder", "slider-color-primary": "Primær", "slider-color-accent": "Accent", "slider-color-warn": "Advarsel", @@ -11117,7 +12552,7 @@ "server-attribute": "Serverattribut", "shared-attribute": "Delt attribut", "device-attribute-parameters": "Parametre for enhedsattribut", - "is-one-way-command": "Er envejs-kommando", + "is-one-way-command": "Envejskommando", "rpc-method": "RPC-metode", "rpc-method-params": "Parametre for RPC-metode", "show-rpc-error": "Vis RPC-kommandofejl", @@ -11127,10 +12562,10 @@ "perform-rpc-status-check": "Udfør statuskontrol via RPC", "retrieve-led-status-value-method": "Hent LED-statusværdi via metode", "led-status-value-attribute": "Enhedsattribut der indeholder LED-statusværdi", - "led-status-value-timeseries": "Enheds tidsserie der indeholder LED-statusværdi", + "led-status-value-timeseries": "Enhedens tidsserie, der indeholder LED-statusværdi", "check-status-method": "RPC-metode til kontrol af enhedsstatus", - "parse-led-status-value-function": "Fortolk LED-statusværdi-funktion", - "knob-title": "Titel for knap" + "parse-led-status-value-function": "Funktion til fortolkning af LED-statusværdi", + "knob-title": "Titel for drejeknap" }, "maps": { "map-type": { @@ -11141,10 +12576,10 @@ "image": { "image-source": "Billedkilde", "image-source-image": "Billede", - "image-source-entity-key": "Enhedsnøgle", - "source-entity-alias": "Kildeenhedsalias", - "image-url-key": "Billede-URL-nøgle", - "image-url-key-required": "Billede-URL-nøgle er påkrævet" + "image-source-entity-key": "Entitetsnøgle", + "source-entity-alias": "Kildeentitetsalias", + "image-url-key": "Billed-URL-nøgle", + "image-url-key-required": "Billed-URL-nøgle er påkrævet" }, "control": { "map-controls": "Kortkontroller", @@ -11184,11 +12619,11 @@ "button-requires": "Knap kræver etiket eller ikon" }, "common": { - "common-map-settings": "Almindelige kortindstillinger", - "fit-map-bounds": "Tilpas kortgrænser til at inkludere alle markører", + "common-map-settings": "Fælles kortindstillinger", + "fit-map-bounds": "Tilpas kortudsnit til at dække alle markører", "default-map-center-position": "Standardcenterposition for kort", "default-map-zoom-level": "Standardzoomniveau for kort", - "entities-limit": "Grænse for antal enheder der skal indlæses" + "entities-limit": "Grænse for antal entiteter, der skal indlæses" }, "layer": { "label": "Etiket", @@ -11202,12 +12637,13 @@ "roadmap": "Vejkort", "satellite": "Satellit", "hybrid": "Hybrid", + "webgl-not-available": "Det valgte kortlag kræver grafikacceleration for at blive vist. Aktivér 'Hardwareacceleration' i dine browserindstillinger, eller skift til et andet lag.", "reference": { "reference-layer": "Referencelag", "no-layer": "Intet lag", "openstreetmap-hybrid": "OpenStreetMap Hybrid", "world-edition-hybrid": "World Edition Hybrid", - "enhanced-contrast-hybrid": "Forbedret kontrast Hybrid" + "enhanced-contrast-hybrid": "Hybrid med forbedret kontrast" }, "provider": { "provider": "Udbyder", @@ -11217,9 +12653,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -11243,7 +12682,18 @@ }, "custom": { "title": "Brugerdefineret", - "tile-url": "Flise-URL" + "tile-url": "Flise-URL", + "style-url": "Stil-URL", + "vector-tiles": "Vektorfliser", + "vector-tiles-hint": "Aktivér, når du bruger en stil-URL fra udbydere som OpenFreeMap eller MapTiler.", + "attribution": "Copyright-tekst", + "attribution-hint": "Vises nederst på kortet. Kræves af de fleste fliseudbydere." + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -11253,7 +12703,7 @@ }, "overlays": { "overlays": "Overlays", - "overlays-hint": "Konfigurer datakilder, udseende, adfærd, redigeringsmuligheder og gruppering for kortenheder", + "overlays-hint": "Konfigurér datakilder, udseende, adfærd, redigeringsmuligheder og gruppering for kortentiteter", "trips": "Rejser", "markers": "Markører", "polygons": "Polygoner", @@ -11265,7 +12715,7 @@ "filter": "Filter", "additional-data-keys": "Yderligere datanøgler", "additional-datasources": "Yderligere datakilder", - "additional-datasources-hint": "Datakilde til adgang til attributter eller telemetri fra enheder, der ikke vises på kortet, anvendelig i kortoverlay-funktioner.", + "additional-datasources-hint": "Datakilde til adgang til attributter eller telemetri fra entiteter, der ikke vises på kortet, anvendelig i kortoverlay-funktioner.", "more-datasources": "Flere datakilder", "data-keys": "Datanøgler", "add-datasource": "Tilføj datakilde", @@ -11279,10 +12729,10 @@ "color": "Farve", "color-settings": "Farveindstillinger", "color-type-constant": "Konstant", - "color-type-range": "Interval", + "color-type-range": "Område", "color-type-function": "Funktion", - "color-range-source-key": "Kilde nøgle for farveinterval", - "color-range-source-key-required": "Kilde nøgle for farveinterval er påkrævet", + "color-range-source-key": "Kildenøgle for farveinterval", + "color-range-source-key-required": "Kildenøgle for farveinterval er påkrævet", "color-range": "Farveinterval", "color-function": "Farvefunktion", "label": "Etiket", @@ -11295,24 +12745,24 @@ "tooltip-function": "Værktøjstipfunktion", "tooltip-trigger": "Udløser for værktøjstip", "tooltip-trigger-click": "Vis værktøjstip ved klik", - "tooltip-trigger-hover": "Vis værktøjstip ved hover", + "tooltip-trigger-hover": "Vis værktøjstip, når markøren holdes over", "auto-close-tooltips": "Luk værktøjstip automatisk", "tooltip-offset": "Forskydning af værktøjstip", "tooltip-offset-horizontal": "Vandret", "tooltip-offset-vertical": "Lodret", - "tooltip-tag-actions": "Mærkehandlinger", - "add-tooltip-tag-action": "Tilføj mærkehandling", - "edit-tooltip-tag-action": "Rediger mærkehandling", - "remove-tooltip-tag-action": "Fjern mærkehandling", + "tooltip-tag-actions": "Handlinger for tags", + "add-tooltip-tag-action": "Tilføj handling for tag", + "edit-tooltip-tag-action": "Redigér mærkehandling", + "remove-tooltip-tag-action": "Fjern handling for tag", "action-add": "Tilføj", - "action-edit": "Rediger", + "action-edit": "Redigér", "action-move": "Flyt", "action-remove": "Fjern", "edit-instruments": "Redigeringsværktøjer", "persist-location-attribute-scope": "Omfang for attribut til lagring af placering", - "enable-snapping": "Aktiver tilpasning til andre hjørner for præcis tegning", + "enable-snapping": "Aktivér fastgørelse til andre hjørner for præcis tegning", "enable-snapping-hint": "Tilpasser automatisk nye punkter med eksisterende former for nemmere og mere præcis tegning.", - "drag-drop-mode": "Træk og slip tilstand", + "drag-drop-mode": "Træk og slip-tilstand", "trip": { "no-trips": "Ingen rejser konfigureret", "add-trip": "Tilføj rejse", @@ -11321,14 +12771,14 @@ }, "marker": { "marker": "Markør", - "latitude-key": "Breddegrad nøgle", - "longitude-key": "Længdegrad nøgle", - "x-pos-key": "X-position nøgle", - "y-pos-key": "Y-position nøgle", - "latitude-key-required": "Breddegrad nøgle er påkrævet", - "longitude-key-required": "Længdegrad nøgle er påkrævet", - "x-pos-key-required": "X-position nøgle er påkrævet", - "y-pos-key-required": "Y-position nøgle er påkrævet", + "latitude-key": "Breddegradsnøgle", + "longitude-key": "Længdegradsnøgle", + "x-pos-key": "Nøgle for X-position", + "y-pos-key": "Nøgle for Y-position", + "latitude-key-required": "Breddegradsnøgle er påkrævet", + "longitude-key-required": "Længdegradsnøgle er påkrævet", + "x-pos-key-required": "X-positionsnøgle er påkrævet", + "y-pos-key-required": "Y-positionsnøgle er påkrævet", "no-markers": "Ingen markører konfigureret", "add-marker": "Tilføj markør", "marker-configuration": "Markørkonfiguration", @@ -11355,30 +12805,30 @@ "rotate-marker": "Rotér markør", "offset-angle": "Forskydningsvinkel", "position-conversion": "Positionskonvertering", - "position-conversion-function": "Positionskonverteringsfunktion, skal returnere x,y koordinater som double fra 0 til 1", + "position-conversion-function": "Positionskonverteringsfunktion, skal returnere x,y-koordinater som double, hver fra 0 til 1", "clustering": { "use-map-markers-clustering": "Brug kortmarkørklyngning", "zoom-on-cluster-click": "Zoom ved klik på klynge", - "max-zoom": "Maksimalt zoomniveau hvor markør kan være en del af klynge (0 - 18)", + "max-zoom": "Maksimalt zoomniveau, hvor en markør kan indgå i en klynge (0 - 18)", "max-radius": "Maksimal radius for en klynge", "zoom-animation": "Animation på markører ved zoom", - "bounds-on-cluster-mouse-over": "Grænser for markører ved mus over klynge", - "spiderfy-max-zoom-level": "Udvid ved maksimal zoomniveau (for at se alle markører)", + "bounds-on-cluster-mouse-over": "Vis markørernes afgrænsning, når musen holdes over en klynge", + "spiderfy-max-zoom-level": "Spred markørerne ud ved maksimalt zoomniveau (for at se alle klyngens markører)", "load-optimization": "Indlæsningsoptimering", "chunked-load": "Brug opdeling til indlæsning af markører for at undgå frysning", "lazy-load": "Brug lazy load til tilføjelse af markører", "use-cluster-marker-color-function": "Brug farvefunktion for klyngemarkører", "marker-color-function": "Markørfarvefunktion" }, - "edit": "Rediger markør", + "edit": "Redigér markør", "remove-marker-for": "Fjern markør for '{{entityName}}'", - "place-marker": "Placer markør", + "place-marker": "Placér markør", "place-marker-hint": "Klik for at placere markør", - "place-marker-hint-with-entity": "Klik for at placere enhed '{{entityName}}'" + "place-marker-hint-with-entity": "Klik for at placere entiteten '{{entityName}}'" }, "path": { "path": "Sti", - "path-decorator": "Sti dekoration", + "path-decorator": "Stidekoration", "decorator-symbol": "Dekorationssymbol", "decorator-symbol-arrow-head": "Pil", "decorator-symbol-dash": "Streg", @@ -11404,11 +12854,11 @@ "fill-image-type-image": "Billede", "fill-image-type-function": "Funktion", "preserve-aspect-ratio": "Bevar billedformat", - "opacity": "Gennemsigtighed", + "opacity": "Opacitet", "angle": "Rotationsvinkel", "scale": "Skalering", - "fill-image-function": "Form fyldbilledfunktion", - "fill-images": "Form fyldbilleder", + "fill-image-function": "Funktion for formens fyldbillede", + "fill-images": "Fyldbilleder for formen", "stripe-pattern": "Stribemønster", "first-stripe": "Første stribe", "second-stripe": "Anden stribe" @@ -11420,7 +12870,7 @@ "add-polygon": "Tilføj polygon", "polygon-configuration": "Polygonkonfiguration", "remove-polygon": "Fjern polygon", - "edit": "Rediger polygon", + "edit": "Redigér polygon", "remove-polygon-for": "Fjern polygon for '{{entityName}}'", "cut": "Klip polygonområde", "rotate": "Rotér polygon", @@ -11428,7 +12878,7 @@ "draw-polygon": "Tegn polygon", "polygon-place-first-point-cut-hint": "Klik for at placere første punkt", "continue-polygon-cut-hint": "Klik for at fortsætte tegning", - "finish-polygon-cut-hint": "Klik på første markør for at afslutte og gemme", + "finish-polygon-cut-hint": "Klik på den første markør for at afslutte og gemme", "polygon-place-first-point-hint": "Polygon: klik for at placere første punkt", "polygon-place-first-point-hint-with-entity": "Polygon for '{{entityName}}': klik for at placere første punkt", "continue-polygon-hint": "Polygon: klik for at fortsætte tegning", @@ -11447,7 +12897,7 @@ "add-circle": "Tilføj cirkel", "circle-configuration": "Cirkelkonfiguration", "remove-circle": "Fjern cirkel", - "edit": "Rediger cirkel", + "edit": "Redigér cirkel", "remove-circle-for": "Fjern cirkel for '{{entityName}}'", "draw-circle": "Tegn cirkel", "place-circle-center-hint-with-entity": "Cirkel for '{{entityName}}': klik for at placere centrum", @@ -11462,7 +12912,7 @@ "add-polylines": "Tilføj polylinje", "polyline-configuration": "Polylinjekonfiguration", "remove-polyline": "Fjern polylinje", - "edit": "Rediger polylinje", + "edit": "Redigér polylinje", "cut": "Beskær polylinjeområde", "rotate": "Rotér polylinje", "remove-polyline-for": "Fjern polylinje for '{{entityName}}'", @@ -11474,51 +12924,51 @@ "polyline-place-first-point-cut-hint": "Klik for at placere første punkt", "finish-polyline-cut-hint": "Klik på den første markør for at afslutte og gemme" }, - "select-entity": "Vælg enhed", + "select-entity": "Vælg entitet", "select-entity-hint": "Tip: klik på kortet efter valg for at angive position" }, - "select-entity": "Vælg enhed", + "select-entity": "Vælg entitet", "select-entity-hint": "Tip: klik på kortet efter valg for at angive position", "tooltips": { - "placeMarker": "Klik for at placere enheden '{{entityName}}'", + "placeMarker": "Klik for at placere entiteten '{{entityName}}'", "firstVertex": "Polygon for '{{entityName}}': klik for at placere første punkt", "firstVertex-cut": "Klik for at placere første punkt", "continueLine": "Polygon for '{{entityName}}': klik for at fortsætte tegningen", "continueLine-cut": "Klik for at fortsætte tegningen", "finishLine": "Klik på en eksisterende markør for at afslutte", "finishPoly": "Polygon for '{{entityName}}': klik på første markør for at afslutte og gemme", - "finishPoly-cut": "Klik på første markør for at afslutte og gemme", + "finishPoly-cut": "Klik på den første markør for at afslutte og gemme", "finishRect": "Polygon for '{{entityName}}': klik for at afslutte og gemme", - "startCircle": "Cirkel for '{{entityName}}': klik for at placere cirkelens centrum", + "startCircle": "Cirkel for '{{entityName}}': klik for at placere cirklens centrum", "finishCircle": "Cirkel for '{{entityName}}': klik for at afslutte cirklen", "placeCircleMarker": "Klik for at placere cirkelmarkør" }, "actions": { "finish": "Afslut", - "cancel": "Annuller", + "cancel": "Annullér", "removeLastVertex": "Fjern sidste punkt" }, "buttonTitles": { - "drawMarkerButton": "Placer enhed", + "drawMarkerButton": "Placér entitet", "drawPolyButton": "Opret polygon", "drawLineButton": "Opret polylinje", "drawCircleButton": "Opret cirkel", "drawRectButton": "Opret rektangel", "editButton": "Redigeringstilstand", "dragButton": "Træk-og-slip-tilstand", - "cutButton": "Skær polygonområde", + "cutButton": "Klip polygonområde", "deleteButton": "Fjern", "drawCircleMarkerButton": "Opret cirkelmarkør", - "rotateButton": "Roter polygon" + "rotateButton": "Rotér polygon" }, - "map-provider-settings": "Kortudbyder-indstillinger", + "map-provider-settings": "Indstillinger for kortudbyder", "map-provider": "Kortudbyder", "map-provider-google": "Google Maps", "map-provider-openstreet": "OpenStreet Maps", "map-provider-here": "HERE Maps", "map-provider-image": "Billedkort", "map-provider-tencent": "Tencent Maps", - "openstreet-provider": "OpenStreet kortudbyder", + "openstreet-provider": "OpenStreet-kortudbyder", "openstreet-provider-mapnik": "OpenStreetMap.Mapnik (Standard)", "openstreet-provider-hot": "OpenStreetMap.HOT", "openstreet-provider-esri-street": "Esri.WorldStreetMap", @@ -11527,9 +12977,9 @@ "openstreet-provider-cartodb-positron": "CartoDB.Positron", "openstreet-provider-cartodb-dark-matter": "CartoDB.DarkMatter", "use-custom-provider": "Brug tilpasset udbyder", - "custom-provider-tile-url": "Tilpasset udbyder tile URL", + "custom-provider-tile-url": "Tile-URL for tilpasset udbyder", "google-maps-api-key": "Google Maps API-nøgle", - "default-map-type": "Standard korttype", + "default-map-type": "Standardkorttype", "google-map-type-roadmap": "Vejkort", "google-map-type-satelite": "Satellit", "google-map-type-hybrid": "Hybrid", @@ -11540,35 +12990,32 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Legitimationsoplysninger", - "here-app-id": "HERE app-id", - "here-app-code": "HERE app-kode", "here-api-key": "HERE API-nøgle", - "here-use-new-version-api-3": "Brug API version 3", "tencent-maps-api-key": "Tencent Maps API-nøgle", "tencent-map-type-roadmap": "Vejkort", "tencent-map-type-satelite": "Satellit", "tencent-map-type-hybrid": "Hybrid", "image-map-background": "Baggrundsbillede for kort", - "image-map-background-from-entity-attribute": "Tag baggrundsbillede fra enhedsattribut", - "image-url-source-entity-alias": "Billed-URL kilde enhedsalias", - "image-url-source-entity-attribute": "Billed-URL kilde enhedsattribut", + "image-map-background-from-entity-attribute": "Tag baggrundsbillede fra entitetsattribut", + "image-url-source-entity-alias": "Entitetsalias for billed-URL-kilde", + "image-url-source-entity-attribute": "Entitetsattribut for billed-URL-kilde", "common-map-settings": "Fælles kortindstillinger", "x-pos-key-name": "X-positionsnøgle", "y-pos-key-name": "Y-positionsnøgle", "latitude-key-name": "Breddegradsnøgle", "longitude-key-name": "Længdegradsnøgle", - "default-map-zoom-level": "Standard zoom-niveau (0 - 20)", - "default-map-center-position": "Standard midtposition (0,0)", - "disable-scroll-zooming": "Deaktiver zoom med scroll", - "disable-double-click-zooming": "Deaktiver zoom med dobbeltklik", - "disable-zoom-control-buttons": "Deaktiver zoomkontrolknapper", + "default-map-zoom-level": "Standardzoomniveau for kortet (0 - 20)", + "default-map-center-position": "Standardmidtposition for kortet (0,0)", + "disable-scroll-zooming": "Deaktivér zoom med scroll", + "disable-double-click-zooming": "Deaktivér zoom med dobbeltklik", + "disable-zoom-control-buttons": "Deaktivér zoomkontrolknapper", "fit-map-bounds": "Tilpas kortudsnit til at dække alle markører", - "use-default-map-center-position": "Brug standard midtposition", - "entities-limit": "Maks antal enheder at indlæse", + "use-default-map-center-position": "Brug standardmidtposition for kortet", + "entities-limit": "Grænse for antal entiteter, der skal indlæses", "markers-settings": "Markørindstillinger", "marker-offset-x": "Markørens X-forskydning i forhold til position × bredde", "marker-offset-y": "Markørens Y-forskydning i forhold til position × højde", - "position-function": "Positionskonverteringsfunktion (returnerer x,y mellem 0 og 1)", + "position-function": "Positionskonverteringsfunktion, skal returnere x,y-koordinater som double, hver fra 0 til 1", "draggable-marker": "Trækkelig markør", "label": "Etiket", "show-label": "Vis etiket", @@ -11579,10 +13026,10 @@ "show-tooltip": "Vis værktøjstip", "show-tooltip-action": "Handling for at vise værktøjstip", "show-tooltip-action-click": "Klik for at vise værktøjstip (Standard)", - "show-tooltip-action-hover": "Hold musen over for at vise værktøjstip", + "show-tooltip-action-hover": "Vis værktøjstip, når markøren holdes over", "auto-close-tooltips": "Luk værktøjstip automatisk", "use-tooltip-function": "Brug værktøjstipsfunktion", - "tooltip-pattern": "Værktøjstip (f.eks. 'Tekst ${keyName} enheder.' eller Link tekst)", + "tooltip-pattern": "Værktøjstip (f.eks. 'Tekst ${keyName} måleenheder.' eller Linktekst)", "tooltip-function": "Værktøjstipsfunktion", "tooltip-offset-x": "X-forskydning for værktøjstip i forhold til markørens anker × bredde", "tooltip-offset-y": "Y-forskydning for værktøjstip i forhold til markørens anker × højde", @@ -11604,57 +13051,57 @@ "use-polygon-label-function": "Brug polygonetiketsfunktion", "polygon-label-pattern": "Polygonetiket (f.eks. '${entityName}', '${entityName}: (Tekst ${keyName} enheder.)')", "polygon-label-function": "Polygonetiketsfunktion", - "polygon-tooltip": "Polygon værktøjstip", - "show-polygon-tooltip": "Vis polygon værktøjstip", - "auto-close-polygon-tooltips": "Luk polygon-værktøjstip automatisk", - "use-polygon-tooltip-function": "Brug polygon værktøjstipsfunktion", - "polygon-tooltip-pattern": "Værktøjstip (f.eks. 'Tekst ${keyName} enheder.' eller Link tekst)", - "polygon-tooltip-function": "Polygon værktøjstipsfunktion", + "polygon-tooltip": "Værktøjstip for polygon", + "show-polygon-tooltip": "Vis værktøjstip for polygon", + "auto-close-polygon-tooltips": "Luk værktøjstip for polygon automatisk", + "use-polygon-tooltip-function": "Brug værktøjstipsfunktion for polygon", + "polygon-tooltip-pattern": "Værktøjstip (f.eks. 'Tekst ${keyName} måleenheder.' eller Linktekst)", + "polygon-tooltip-function": "Værktøjstipsfunktion for polygon", "polygon-color": "Polygonfarve", - "polygon-opacity": "Polygon opacitet", + "polygon-opacity": "Opacitet for polygon", "use-polygon-color-function": "Brug polygonfarvefunktion", "polygon-color-function": "Polygonfarvefunktion", "polygon-stroke": "Polygonkant", "stroke-color": "Stregfarve", - "stroke-opacity": "Streg opacitet", + "stroke-opacity": "Stregopacitet", "stroke-weight": "Stregtykkelse", "use-polygon-stroke-color-function": "Brug polygonstregfarvefunktion", "polygon-stroke-color-function": "Polygonstregfarvefunktion", "circle-settings": "Cirkelindstillinger", "show-circle": "Vis cirkel", - "circle-key-name": "Cirkel nøgle", + "circle-key-name": "Cirkelnøgle", "enable-circle-edit": "Tillad redigering af cirkel", - "circle-label": "Cirkel etiket", + "circle-label": "Cirkeletiket", "show-circle-label": "Vis cirkeletiket", "use-circle-label-function": "Brug cirkeletiketsfunktion", "circle-label-pattern": "Cirkeletiket (f.eks. '${entityName}', '${entityName}: (Tekst ${keyName} enheder.)')", "circle-label-function": "Cirkeletiketsfunktion", - "circle-tooltip": "Cirkel værktøjstip", - "show-circle-tooltip": "Vis cirkel værktøjstip", - "auto-close-circle-tooltips": "Luk cirkel-værktøjstip automatisk", - "use-circle-tooltip-function": "Brug cirkel værktøjstipsfunktion", - "circle-tooltip-pattern": "Værktøjstip (f.eks. 'Tekst ${keyName} enheder.' eller Link tekst)", - "circle-tooltip-function": "Cirkel værktøjstipsfunktion", + "circle-tooltip": "Værktøjstip for cirkel", + "show-circle-tooltip": "Vis værktøjstip for cirkel", + "auto-close-circle-tooltips": "Luk værktøjstip for cirkel automatisk", + "use-circle-tooltip-function": "Brug værktøjstipsfunktion for cirkel", + "circle-tooltip-pattern": "Værktøjstip (f.eks. 'Tekst ${keyName} måleenheder.' eller Linktekst)", + "circle-tooltip-function": "Værktøjstipsfunktion for cirkel", "circle-fill-color": "Fyldfarve for cirkel", - "circle-fill-color-opacity": "Fyldfarve opacitet", + "circle-fill-color-opacity": "Opacitet for cirklens fyldfarve", "use-circle-fill-color-function": "Brug fyldfarvefunktion", "circle-fill-color-function": "Fyldfarvefunktion for cirkel", "circle-stroke": "Cirkelkant", "use-circle-stroke-color-function": "Brug stregfarvefunktion for cirkel", "circle-stroke-color-function": "Stregfarvefunktion for cirkel", "markers-clustering-settings": "Indstillinger for markørgruppering", - "use-map-markers-clustering": "Brug markørgruppering", - "zoom-on-cluster-click": "Zoom ved klik på gruppe", - "max-cluster-zoom": "Maksimalt zoomniveau for at være del af en gruppe (0 - 18)", + "use-map-markers-clustering": "Brug kortmarkørklyngning", + "zoom-on-cluster-click": "Zoom ved klik på klynge", + "max-cluster-zoom": "Maksimalt zoomniveau, hvor en markør kan indgå i en klynge (0 - 18)", "max-cluster-radius-pixels": "Maksimal radius for en gruppe (i pixels)", "cluster-zoom-animation": "Vis animation ved zoom", - "show-markers-bounds-on-cluster-mouse-over": "Vis markørgrænser ved museovergang på gruppe", - "spiderfy-max-zoom-level": "Spiderfy ved maks zoomniveau (for at vise alle markører)", + "show-markers-bounds-on-cluster-mouse-over": "Vis markørernes afgrænsning, når musen holdes over en klynge", + "spiderfy-max-zoom-level": "Spred markørerne ud ved maksimalt zoomniveau (for at se alle klyngens markører)", "load-optimization": "Indlæsningsoptimering", - "cluster-chunked-loading": "Brug delt indlæsning for at undgå fastfrysning", - "cluster-markers-lazy-load": "Brug lazy-load til markører", + "cluster-chunked-loading": "Brug opdeling til indlæsning af markører for at undgå frysning", + "cluster-markers-lazy-load": "Brug lazy load til tilføjelse af markører", "editor-settings": "Editorindstillinger", - "enable-snapping": "Aktiver snapping til andre hjørner for præcis tegning", + "enable-snapping": "Aktivér fastgørelse til andre hjørner for præcis tegning", "init-draggable-mode": "Initialiser kort i trækkemodus", "hide-all-edit-buttons": "Skjul alle redigeringsknapper", "hide-draw-buttons": "Skjul tegneknapper", @@ -11662,10 +13109,10 @@ "hide-remove-button": "Skjul fjern-knap", "route-map-settings": "Rutekortindstillinger", "trip-animation-settings": "Ruteanimationsindstillinger", - "normalization-step": "Normaliserings-trin (ms)", + "normalization-step": "Normaliseringstrin for data (ms)", "tooltip-background-color": "Baggrundsfarve for værktøjstip", "tooltip-font-color": "Skriftfarve for værktøjstip", - "tooltip-opacity": "Værktøjstip opacitet (0-1)", + "tooltip-opacity": "Opacitet for værktøjstip (0-1)", "auto-close-tooltip": "Luk værktøjstip automatisk", "rotation-angle": "Yderligere rotationsvinkel for markør (grader)", "path-settings": "Stiindstillinger", @@ -11681,8 +13128,8 @@ "use-path-decorator-custom-color": "Brug brugerdefineret farve til dekoration", "decorator-custom-color": "Dekorationsfarve", "decorator-offset": "Dekorationsforskydning", - "end-decorator-offset": "Afslut dekorationsforskydning", - "decorator-repeat": "Dekoration gentagelse", + "end-decorator-offset": "Slutforskydning for dekoration", + "decorator-repeat": "Gentagelse af dekoration", "points-settings": "Punktindstillinger", "show-points": "Vis punkter", "point-color": "Punktfarve", @@ -11690,17 +13137,17 @@ "use-point-color-function": "Brug punktfarvefunktion", "point-color-function": "Punktfarvefunktion", "use-point-as-anchor": "Brug punkt som anker", - "point-as-anchor-function": "Ankerpunkt funktion", - "independent-point-tooltip": "Uafhængig punkt værktøjstip", + "point-as-anchor-function": "Funktion for punkt som anker", + "independent-point-tooltip": "Uafhængigt værktøjstip for punkt", "clustering-markers": "Gruppering af markører", "use-icon-create-function": "Brug markørfarvefunktion", "marker-color-function": "Markørfarvefunktion" }, "markdown": { - "use-markdown-text-function": "Brug markdown/HTML værdifunktion", - "markdown-text-function": "Markdown/HTML værdifunktion", - "markdown-text-pattern": "Markdown/HTML mønster (markdown eller HTML med variabler, f.eks. '${entityName} eller ${keyName} - noget tekst.')", - "apply-default-markdown-style": "Anvend standard markdown-stil", + "use-markdown-text-function": "Brug markdown/HTML-værdifunktion", + "markdown-text-function": "Markdown/HTML-værdifunktion", + "markdown-text-pattern": "Markdown/HTML-mønster (markdown eller HTML med variabler, f.eks. '${entityName} eller ${keyName} - noget tekst.')", + "apply-default-markdown-style": "Anvend standardstil for Markdown", "markdown-css": "Markdown/HTML CSS" }, "simple-card": { @@ -11715,16 +13162,16 @@ "layout-right": "Højre", "layout-left": "Venstre", "layout-centered": "Centreret", - "auto-scale": "Auto skala", + "auto-scale": "Autoskala", "label": "Etiket", "icon": "Ikon", - "switch-color": "Kontakts farve", + "switch-color": "Kontaktfarve", "on": "Tændt", "off": "Slukket", "disabled": "Deaktiveret", - "tumbler-color": "Tumbler-farve", - "on-label": "Tænd etiket", - "off-label": "Sluk etiket", + "tumbler-color": "Farve på kontaktknap", + "on-label": "Etiket for tændt", + "off-label": "Etiket for slukket", "switch": "Kontakt" }, "slider": { @@ -11737,16 +13184,16 @@ "layout-default": "Standard", "layout-extended": "Udvidet", "layout-simplified": "Forenklet", - "auto-scale": "Auto skala", + "auto-scale": "Autoskala", "icon": "Ikon", "value": "Værdi", - "range": "Interval", + "range": "Område", "min": "min", "max": "maks", "range-ticks": "Intervalmærker", "tick-marks": "Mærker", "colors": "Farver", - "main": "Hoved", + "main": "Hovedfarve", "background": "Baggrund", "left-icon": "Venstre ikon", "right-icon": "Højre ikon", @@ -11764,18 +13211,18 @@ "icon": "Ikon", "value": "Værdi", "date": "Dato", - "value-card-style": "Værdikort stil", - "auto-scale": "Auto skala" + "value-card-style": "Værdikortstil", + "auto-scale": "Autoskala" }, "label-card": { - "auto-scale": "Auto skala", + "auto-scale": "Autoskala", "label": "Etiket", "icon": "Ikon", - "label-card-style": "Etikettens kortstil" + "label-card-style": "Etiketkortstil" }, "label-value-card": { "value": "Værdi", - "label-value-card-style": "Etiket & værdi kortstil" + "label-value-card-style": "Stil for etiket- og værdikort" }, "liquid-level-card": { "layout-simple": "Simpel", @@ -11784,11 +13231,11 @@ "layout": "Layout", "background-overlay": "Baggrundsoverlay for værdi", "total-volume": "Samlet volumen", - "total-volume-units": "Volumen enheder", + "total-volume-units": "Måleenheder for samlet volumen", "tank": "Tank", "shape": "Form", - "datasource-units": "Kilde enheder", - "widget-units": "Widget enheder", + "datasource-units": "Kildens måleenheder", + "widget-units": "Widgettens måleenheder", "decimals": "Decimaler", "liquid": "Væske", "liquid-color": "Væskens farve", @@ -11814,9 +13261,9 @@ "h-cylinder": "Vandret cylinder", "h-capsule": "Vandret kapsel", "h-elliptical_2_1": "Vandret 2:1 elliptisk", - "icon": "Kort ikon", + "icon": "Kortikon", "title": "Korttitel", - "units": "Enheder", + "units": "Måleenheder", "color-and-font": "Farve og skrifttype", "shape-attribute-name": "Attributnavn", "total-volume-required": "Samlet volumen er påkrævet.", @@ -11838,39 +13285,39 @@ "font": "Skrifttype", "color": "Farve", "arrow": "Pil", - "display-up-down-arrow": "Vis op/ned pil", + "display-up-down-arrow": "Vis op/ned-pil", "add-value": "Tilføj værdi", "remove-value": "Fjern værdi", "no-values": "Ingen værdier konfigureret", "aggregation": "Aggregering", - "aggregated-value-card-style": "Aggregeret værdi kortstil", - "auto-scale": "Auto skala" + "aggregated-value-card-style": "Stil for kort med aggregeret værdi", + "auto-scale": "Autoskala" }, "value-chart-card": { "layout": "Layout", "layout-left": "Venstre", "layout-right": "Højre", - "auto-scale": "Auto skala", + "auto-scale": "Autoskala", "icon": "Ikon", "value": "Værdi", "chart": "Diagram", - "value-chart-card-style": "Værdi-diagram kortstil" + "value-chart-card-style": "Stil for værdi- og diagramkort" }, "progress-bar": { "layout": "Layout", "layout-default": "Standard", "layout-simplified": "Forenklet", - "auto-scale": "Auto skala", + "auto-scale": "Autoskala", "icon": "Ikon", "value": "Værdi", - "range": "Interval", + "range": "Område", "min": "min", "max": "max", - "range-ticks": "Interval-mærker", + "range-ticks": "Intervalmærker", "bar": "Bar", - "bar-color": "Barens farve", - "bar-background": "Barens baggrund", - "progress-bar-card-style": "Fremskridtsbjælke kortstil" + "bar-color": "Bjælkens farve", + "bar-background": "Bjælkens baggrund", + "progress-bar-card-style": "Stil for statuslinjekort" }, "notification": { "max-notification-display": "Maksimalt antal notifikationer der vises", @@ -11890,10 +13337,10 @@ "any-type": "Alle typer" }, "alarm-count": { - "alarm-count-card-style": "Alarmtæller kortstil" + "alarm-count-card-style": "Stil for alarmtællerkort" }, "entity-count": { - "entity-count-card-style": "Enhedstæller kortstil" + "entity-count-card-style": "Kortstil for entitetstæller" }, "count": { "layout": "Layout", @@ -11901,36 +13348,36 @@ "layout-row": "Række", "label": "Etiket", "icon": "Ikon", - "icon-background": "Ikon baggrund", + "icon-background": "Ikonbaggrund", "value": "Værdi", "chevron": "Pil", - "auto-scale": "Auto skala" + "auto-scale": "Autoskala" }, "table": { "common-table-settings": "Generelle tabelindstillinger", - "enable-search": "Aktiver søgning", + "enable-search": "Aktivér søgning", "enable-sticky-header": "Vis altid overskrift", "enable-sticky-action": "Vis altid handlingskolonne", "hidden-cell-button-display-mode": "Visningstilstand for skjulte cellehandlinger", "show-empty-space-hidden-action": "Vis tomt mellemrum i stedet for skjult cellehandling", "dont-reserve-space-hidden-action": "Reserver ikke plads til skjulte handlingsknapper", "display-timestamp": "Tidsstempel", - "include-timestamp-in-export": "Inkluder tidsstempelkolonne i eksport", + "include-timestamp-in-export": "Inkludér tidsstempelkolonne i eksport", "timestamp-column-name": "Tidsstempel", "display-pagination": "Vis sidetal", - "default-page-size": "Standard sidestørrelse", + "default-page-size": "Standardsidestørrelse", "page-step-settings": "Indstillinger for sidetrin", "page-step-count": "Antal trin", "page-step-increment": "Trinforøgelse", - "page-step-count-format-message": "Skal være en heltalsværdi i intervallet fra 1 til 100.", + "page-step-count-format-message": "Skal være en heltalsværdi mellem 1 og 100.", "page-step-increment-format-message": "Skal være en heltalsværdi, større end eller lig med 1.", - "use-entity-label-tab-name": "Brug enhedsetiket som fanenavn", + "use-entity-label-tab-name": "Brug entitetsetiket som fanenavn", "hide-empty-lines": "Skjul tomme linjer", "row-style": "Rækkestil", "use-row-style-function": "Brug rækkestilsfunktion", "row-style-function": "Rækkestilsfunktion", "cell-style": "Cellestil", - "use-cell-style-function": "Brug cellestilsfunktion", + "use-cell-style-function": "Brug cellestilfunktion", "cell-style-function": "Cellestilsfunktion", "cell-content": "Celleindhold", "use-cell-content-function": "Brug celleindholdsfunktion", @@ -11938,45 +13385,45 @@ "cell-content-function": "Celleindholdsfunktion", "show-latest-data-column": "Vis kolonne med seneste data", "latest-data-column-order": "Rækkefølge for kolonne med seneste data", - "entities-table-title": "Tabeltitel for enheder", - "enable-select-column-display": "Aktiver valg af viste kolonner", - "display-entity-name": "Vis kolonne for enhedsnavn", - "entity-name-column-title": "Titel på kolonne for enhedsnavn", - "display-entity-label": "Vis kolonne for enhedsetiket", - "entity-label-column-title": "Titel på kolonne for enhedsetiket", - "display-entity-type": "Vis kolonne for enhedstype", - "default-sort-order": "Standard sorteringsrækkefølge", + "entities-table-title": "Tabeltitel for entiteter", + "enable-select-column-display": "Aktivér valg af viste kolonner", + "display-entity-name": "Vis kolonne for entitetsnavn", + "entity-name-column-title": "Titel på kolonne for entitetsnavn", + "display-entity-label": "Vis kolonne for entitetsetiket", + "entity-label-column-title": "Titel på kolonne for entitetsetiket", + "display-entity-type": "Vis kolonne for entitetstype", + "default-sort-order": "Standardsorteringsrækkefølge", "custom-title": "Brugerdefineret overskriftstitel", "column-width": "Kolonnebredde (px eller %)", - "default-column-visibility": "Standard kolonnesynlighed", + "default-column-visibility": "Standardsynlighed for kolonne", "column-visibility-visible": "Synlig", "column-visibility-hidden": "Skjult", "column-visibility-hidden-mobile": "Skjult i mobiltilstand", - "column-selection-to-display": "Kolonnevalg i 'Viste kolonner'", + "column-selection-to-display": "Kolonnevalg i 'Kolonner at vise'", "column-selection-to-display-enabled": "Aktiveret", "column-selection-to-display-disabled": "Deaktiveret", - "column-export-option": "Inkluder kolonne i eksport", + "column-export-option": "Inkludér kolonne i eksport", "column-export-option-always": "Altid", "column-export-option-only-visible": "Kun hvis synlig", "column-export-option-never": "Aldrig", "alarms-table-title": "Tabeltitel for alarmer", - "enable-alarms-selection": "Aktiver valg af alarmer", - "enable-alarms-search": "Aktiver søgning i alarmer", - "enable-alarm-filter": "Aktiver alarmfilter", + "enable-alarms-selection": "Aktivér valg af alarmer", + "enable-alarms-search": "Aktivér søgning i alarmer", + "enable-alarm-filter": "Aktivér alarmfilter", "display-alarm-details": "Vis alarmdetaljer", "allow-alarms-ack": "Tillad kvittering af alarmer", "allow-alarms-clear": "Tillad rydning af alarmer", "display-alarm-activity": "Vis alarmaktivitet", "allow-alarms-assign": "Tillad tildeling af alarmer", - "blob-entities-table-title": "Tabeltitel for blob-enheder", + "blob-entities-table-title": "Tabeltitel for blob-entiteter", "display-created-time": "Vis kolonne for oprettelsestid", "display-type": "Vis typekolonne", "display-customer": "Vis kundekolonne", "display-columns": "Vis kolonner", - "no-data-display-message": "\"Ingen data at vise\" alternativ besked", - "force-default-blob-entity-type": "Gennemtving standard blob-enhedstype", - "scheduler-events-table-title": "Tabeltitel for planlagte hændelser", - "force-default-event-type": "Gennemtving standard hændelsestype", + "no-data-display-message": "Alternativ besked for \"Ingen data at vise\"", + "force-default-blob-entity-type": "Gennemtving standardtypen for blob-entiteter", + "scheduler-events-table-title": "Tabeltitel for planlæggerhændelser", + "force-default-event-type": "Gennemtving standardhændelsestype", "columns": "Kolonner", "column-settings": "Kolonneindstillinger", "remove-column": "Fjern kolonne", @@ -11988,11 +13435,11 @@ "table-buttons": "Tabelknapper", "pagination": "Sidetal", "rows": "Rækker", - "timeseries-column-error": "Mindst én tidsserie-kolonne skal angives", + "timeseries-column-error": "Mindst én tidsseriekolonne skal angives", "alarm-column-error": "Mindst én alarmkolonne skal angives", "table-tabs": "Tabeller i faner", "show-cell-actions-menu-mobile": "Vis cellehandlingsmenu i mobiltilstand", - "disable-sorting": "Deaktiver sortering", + "disable-sorting": "Deaktivér sortering", "sort-by": "Sortér faner efter", "sort-timestamp-option": "Oprettelsestid" }, @@ -12000,7 +13447,7 @@ "total": "Total", "auto-scale": "Automatisk skalering", "clockwise-layout": "Layout med urets retning", - "sort-series": "Sorter serier efter etiket", + "sort-series": "Sortér serier efter etiket", "tooltip-value-type-absolute": "Absolut", "tooltip-value-type-percentage": "Procent" }, @@ -12012,7 +13459,7 @@ "pie-chart-card-style": "Kortstil for cirkeldiagram" }, "radar-chart": { - "radar-appearance": "Radar-udseende", + "radar-appearance": "Radarudseende", "shape": "Form", "shape-polygon": "Polygon", "shape-circle": "Cirkel", @@ -12021,9 +13468,9 @@ "points": "Punkter", "points-label": "Punktetiket", "radar-axis": "Radarakse", - "axis-label": "Aksesetiket", - "ticks-label": "Taktetiket", - "radar-chart-style": "Radar-diagramstil", + "axis-label": "Akseetiket", + "ticks-label": "Mærkeetiket", + "radar-chart-style": "Radardiagramstil", "max-axes-scaling": "Maks. akseskalering", "max-axes-scaling-hint": "Vælg om hver radarakse skal have sin egen maksimale værdi (Separat), eller om den deler den højeste værdi på tværs af alle akser baseret på widget-datasættet (Fælles).", "separate": "Separat", @@ -12032,20 +13479,22 @@ "time-series-chart": { "chart": "Diagram", "chart-style": "Diagramstil", - "data-zoom": "Datavisning (zoom)", + "data-zoom": "Datazoom", + "data-zoom-update-timewindow": "Opdatér tidsvindue ved zoom", + "reset-timewindow": "Tilbage til oprindeligt tidsvindue", "stack-mode": "Staktilstand", - "stack-mode-hint": "Lægger serier oven på hinanden i diagrammet. Serier med samme enhed placeres oven på hinanden.", + "stack-mode-hint": "Stabler serier i diagrammet. Serier med samme måleenhed placeres oven på hinanden.", "axes": "Akser", "y-axes": "Y-akser", - "line-type": "Linetype", + "line-type": "Linjetype", "line-width": "Linjebredde", "type-line": "Linje", "type-bar": "Søjle", "type-point": "Punkt", - "no-aggregation-bar-width-strategy": "Søjlebredde-strategi for ikke-aggregerede data", + "no-aggregation-bar-width-strategy": "Søjlebreddestrategi for ikke-aggregerede data", "no-aggregation-bar-width-strategy-group": "Grupperet", "no-aggregation-bar-width-strategy-separate": "Separat", - "bar-group-width": "Søjlgruppebredde", + "bar-group-width": "Søjlegruppebredde", "bar-width": "Søjlens bredde", "bar-width-relative": "Procentdel af tidsvindue", "bar-width-absolute": "Absolut (ms)", @@ -12067,12 +13516,12 @@ "add-threshold": "Tilføj tærskel", "type-constant": "Konstant", "type-latest-key": "Nøgle", - "type-entity": "Enhed", + "type-entity": "Entitet", "threshold-settings": "Tærskelindstillinger", "remove-threshold": "Fjern tærskel", "threshold-value-required": "Tærskelværdi er påkrævet.", "key-required": "Nøgle er påkrævet.", - "entity-key-required": "Enhedsnøgle er påkrævet.", + "entity-key-required": "Entitetsnøgle er påkrævet.", "line-appearance": "Linjens udseende", "line-color": "Linjefarve", "start-symbol": "Startsymbol", @@ -12082,15 +13531,15 @@ "label-position-start": "Start", "label-position-middle": "Midt", "label-position-end": "Slut", - "label-position-inside-start": "Inde i start", - "label-position-inside-start-top": "Inde i start top", - "label-position-inside-start-bottom": "Inde i start bund", - "label-position-inside-middle": "Inde i midten", - "label-position-inside-middle-top": "Inde i midten top", - "label-position-inside-middle-bottom": "Inde i midten bund", - "label-position-inside-end": "Inde i slutning", - "label-position-inside-end-top": "Inde i slutning top", - "label-position-inside-end-bottom": "Inde i slutning bund", + "label-position-inside-start": "Indvendigt, ved start", + "label-position-inside-start-top": "Indvendigt, ved start foroven", + "label-position-inside-start-bottom": "Indvendigt, ved start forneden", + "label-position-inside-middle": "Indvendigt, i midten", + "label-position-inside-middle-top": "Indvendigt, midt foroven", + "label-position-inside-middle-bottom": "Indvendigt, midt forneden", + "label-position-inside-end": "Indvendigt, ved slut", + "label-position-inside-end-top": "Indvendigt, ved slut foroven", + "label-position-inside-end-bottom": "Indvendigt, ved slut forneden", "label-background": "Etiketbaggrund" }, "state": { @@ -12098,11 +13547,11 @@ "label": "Etiket", "ticks-value": "Mærkeværdi", "source": "Kilde", - "value-range": "Værdi / Interval", + "value-range": "Værdi / Område", "no-states": "Ingen tilstande konfigureret", "add-state": "Tilføj tilstand", "type-constant": "Konstant", - "type-range": "Interval", + "type-range": "Område", "from": "Fra", "to": "Til", "remove-state": "Fjern tilstand" @@ -12117,7 +13566,7 @@ "x-axis": "X-akse", "y-axis": "Y-akse", "y-axis-settings": "Indstillinger for Y-akse", - "comparison-x-axis-settings": "Indstillinger for X-akse (sammenligning)", + "comparison-x-axis-settings": "X-akseindstillinger for sammenligning", "remove-y-axis": "Fjern Y-akse", "id": "Id", "label": "Etiket", @@ -12135,7 +13584,7 @@ "show-split-lines-x-axis-hint": "Hvis aktiveret, vises de lodrette linjer i diagrammet.", "show-split-lines-y-axis-hint": "Hvis aktiveret, vises de vandrette linjer i diagrammet.", "ticks-interval": "Mærkeinterval", - "ticks-interval-hint": "Tvangsindstil segmenteringsinterval for aksen.", + "ticks-interval-hint": "Gennemtvinger et fast segmenteringsinterval for aksen.", "split-number": "Opdelingsantal", "split-number-hint": "Antal segmenter som aksen opdeles i.", "min": "Min", @@ -12180,7 +13629,7 @@ "layout-simplified": "Forenklet", "values": "Værdier", "wind-direction": "Vindretning", - "center-value": "Centrale værdi", + "center-value": "Værdi i midten", "icon": "Ikon", "arrow": "Pil", "ticks": "Mærker", @@ -12189,23 +13638,23 @@ "degrees": "Grader", "major-ticks": "Hovedmærker", "minor-ticks": "Undermærker", - "wind-speed-direction-card-style": "Stil for vindhastighed og -retning", + "wind-speed-direction-card-style": "Stil for kort med vindhastighed og -retning", "ticks-color": "Farve på mærker", - "ticks-labels-type": "Etiketter for mærketype", + "ticks-labels-type": "Type af mærkeetiketter", "arrow-color": "Pilfarve" }, "scheduler": { - "enabled-scheduler-event-views": "Aktiverede visninger af planlagte hændelser", + "enabled-scheduler-event-views": "Aktiverede visninger af planlæggerhændelser", "enabled-scheduler-event-views-both": "Begge", "enabled-scheduler-event-views-list": "Kun listevisning", "enabled-scheduler-event-views-calendar": "Kun kalendervisning", "display-name": "Visningsnavn", "type-name": "Typenavn", - "display-originator-select": "Vis valg af oprindelses-entitet", + "display-originator-select": "Vis valg af afsenderentitet", "display-message-type-select": "Vis valg af beskedtype", "display-metadata-table": "Vis metadatatabel for besked", "configuration-html-template": "HTML-skabelon for konfiguration", - "custom-event-types": "Brugertilpassede hændelsestyper", + "custom-event-types": "Brugerdefinerede hændelsestyper", "no-custom-event-types": "Ingen brugerdefinerede hændelsestyper konfigureret", "add-custom-event-type": "Tilføj brugerdefineret hændelsestype" }, @@ -12224,14 +13673,14 @@ "type-entity": "Entitet" }, "rpc-state": { - "initial-state": "Initial tilstand", - "initial-state-hint": "Handling for at hente komponentens starttilstand (Tænd/Sluk).", + "initial-state": "Starttilstand", + "initial-state-hint": "Handling for at hente komponentens starttilstand (Tændt/Slukket).", "disabled-state": "Deaktiveret tilstand", - "disabled-state-hint": "Konfigurer betingelse hvorunder komponenten er deaktiveret.", + "disabled-state-hint": "Konfigurér betingelsen, hvorunder komponenten er deaktiveret.", "turn-on": "Tænd", - "turn-on-hint": "Handling udført når skyderen skiftes til 'Tænd'", + "turn-on-hint": "Handling, der udføres, når kontakten skiftes til 'Tændt'", "turn-off": "Sluk", - "turn-off-hint": "Handling udført når skyderen skiftes til 'Sluk'", + "turn-off-hint": "Handling, der udføres, når kontakten skiftes til 'Slukket'", "on": "Tændt", "off": "Slukket", "disabled": "Deaktiveret" @@ -12252,44 +13701,45 @@ "get-alarm-status-text": "Brug alarmstatus", "get-dashboard-state-text": "Brug dashboardtilstand", "get-dashboard-state-object-text": "Brug dashboardtilstandsobjekt", - "when-dashboard-state-is-text": "Når dashboard-tilstand er '{{state}}'", - "when-dashboard-state-function-is-text": "Når f(dashboard-tilstand) er '{{state}}'", + "when-dashboard-state-is-text": "Når dashboardtilstands-id er '{{state}}'", + "when-dashboard-state-function-is-text": "Når f(dashboardtilstands-id) er '{{state}}'", "when-dashboard-state-object-function-is-text": "Når f(dashboardtilstandsobjekt) er '{{state}}'", - "set-attribute-to-value-text": "Angiv '{{key}}' attribut til: {{value}}", - "add-time-series-value-text": "Tilføj '{{key}}' tidsserieværdi: {{value}}", - "set-attribute-text": "Angiv '{{key}}' attribut", - "add-time-series-text": "Tilføj '{{key}}' tidsserie", + "set-attribute-to-value-text": "Angiv attributten '{{key}}' til: {{value}}", + "add-time-series-value-text": "Tilføj værdi for tidsserien '{{key}}': {{value}}", + "set-attribute-text": "Angiv attributten '{{key}}'", + "add-time-series-text": "Tilføj tidsserien '{{key}}'", "action": "Handling", "value": "Værdi", - "init-value-hint": "Værdi der indstilles indtil enhed sender data.", + "init-value-hint": "Værdi, der angives, indtil enheden sender data.", "method": "Metode", "method-name-required": "Metodenavn er påkrævet.", - "request-timeout-ms": "RPC anmodning timeout (ms)", + "request-timeout-ms": "Timeout for RPC-anmodning (ms)", "request-timeout-required": "Timeout for anmodning er påkrævet.", "min-request-timeout-error": "Timeoutværdi skal være mindst 5000 ms (5 sekunder).", "request-persistent": "Vedvarende RPC-anmodning", "persistent-polling-interval": "Interval for vedvarende polling (ms)", - "persistent-polling-interval-hint": "Polling-interval (ms) for at hente svar på vedvarende RPC-kommando", - "persistent-polling-interval-required": "Polling-interval er påkrævet.", - "min-persistent-polling-interval-error": "Polling-interval skal være mindst 1000 ms (1 sekund).", - "attribute-scope": "Attribut-område", + "persistent-polling-interval-hint": "Polling-interval (ms) for at hente svar på persistent RPC-kommando", + "persistent-polling-interval-required": "Interval for vedvarende polling er påkrævet.", + "min-persistent-polling-interval-error": "Interval for vedvarende polling skal være mindst 1000 ms (1 sekund).", + "attribute-scope": "Attributomfang", "attribute-key": "Attributnøgle", "attribute-key-required": "Attributnøgle er påkrævet.", "time-series-key": "Tidsserienøgle", "time-series-key-required": "Tidsserienøgle er påkrævet.", - "action-result-converter": "Resultatomformer for handling", + "action-result-converter": "Resultatkonverter for handling", "converter-none": "Ingen", "converter-function": "Funktion", "converter-constant": "Konstant", "converter-value": "Værdi", - "parse-value-function": "Fortolk værdifunktion", - "state-when-result-is": "'{{state}}' når resultat er", + "parse-value-function": "Funktion til fortolkning af værdi", + "state-when-result-is": "'{{state}}', når resultatet er", "parameters": "Parametre", - "convert-value-function": "Konverter værdifunktion", + "convert-value-function": "Funktion til konvertering af værdi", + "rpc-params-function": "RPC-parameterfunktion", "error": { - "target-entity-is-not-set": "Målenhed er ikke angivet!", - "failed-to-perform-action": "Kunne ikke udføre {{ actionLabel }} handling.", - "invalid-attribute-scope": "{{scope}} attributområde understøttes ikke af {{entityType}}-entitet." + "target-entity-is-not-set": "Målentitet er ikke angivet!", + "failed-to-perform-action": "Kunne ikke udføre handlingen {{ actionLabel }}.", + "invalid-attribute-scope": "{{scope}} attributomfang understøttes ikke af {{entityType}}-entiteten." } }, "widget-font": { @@ -12371,6 +13821,9 @@ "no-links-matching": "Ingen links matcher '{{name}}'.", "columns": "Kolonner" }, + "iot-hub": { + "title-text": "Byg hurtigere med ressourcer, som fællesskabet har afprøvet, fra" + }, "recent-dashboards": { "title": "Dashboards", "last": "Sidst vist", @@ -12395,11 +13848,11 @@ "title": "Version", "contact-us": "Kontakt os", "current-version": "Nuværende version", - "current": "Nuværende", + "current": "Aktuel", "available-version": "Tilgængelig version", "available": "Tilgængelig", - "upgrade": "Opgrader", - "version-is-up-to-date": "Versionen er opdateret" + "upgrade": "Opgradér", + "version-is-up-to-date": "Du har den nyeste version" }, "license-info": { "title": "Licensinfo", @@ -12407,9 +13860,10 @@ "license-portal": "Licensportal", "devices-info": "{count} / { max, plural, =0 {∞} other {#} } Enheder", "assets-info": "{count} / { max, plural, =0 {∞} other {#} } Aktiver", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } Edges", "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } Dashboards", "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } Integrationer", - "community-support": "Fællesskabsstøtte", + "community-support": "Fællesskabssupport", "white-labeling": "White labeling", "unlimited-datapoints-and-messages": "Ubegrænsede datapunkter og beskeder", "unlimited-api-calls": "Ubegrænsede API-kald" @@ -12433,7 +13887,6 @@ "roles-and-permissions": "Roller og tilladelser", "groups": "Grupper", "integrations": "Integrationer", - "solution-templates": "Løsningsskabeloner", "scheduler": "Tidsplanlægger", "white-labeling": "White-labeling" }, @@ -12448,11 +13901,6 @@ "assigned-to-me": "Tildelt mig", "total": "I alt" }, - "solution-templates": { - "title": "Løsningsskabeloner", - "prototype-plan": "Prototypeplan", - "startup-plan": "Opstartsplan" - }, "getting-started": { "get-started": "Kom i gang", "finish": "Afslut", @@ -12460,37 +13908,37 @@ "done-welcome-text": "Du klarede det fantastisk!", "sys-admin": { "step1": { - "title": "Opret Lejer & Lejeradministrator", + "title": "Opret lejer & lejeradministrator", "content": "

    En lejer er en person eller organisation, der ejer eller producerer enheder og aktiver. Lejeren kan have flere lejeradministratorbrugere, kunder, enheder og aktiver.

    Lejeradministratoren kan oprette og administrere enheder, aktiver, kunder og dashboards inden for lejerkontoen.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", - "how-to-create-tenant": "Sådan opretter du Lejer & Lejeradministrator" + "how-to-create-tenant": "Sådan opretter du en lejer og en lejeradministrator" }, "step2": { - "title": "Konfigurer funktion: Mailserver", + "title": "Konfigurér funktion: Mailserver", "content": "

    Konfiguration af mailserver er vigtig for aktivering af brugere, gendannelse af adgangskoder og levering af alarmnotifikationer.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", - "how-to-configure-mail-server": "Sådan konfigureres Mailserver" + "how-to-configure-mail-server": "Sådan konfigureres mailserveren" }, "step3": { - "title": "Konfigurer funktion: SMS-udbyder", + "title": "Konfigurér funktion: SMS-udbyder", "content": "

    Konfigurer SMS-udbydere for at kunne underrette kunder om alarmer via SMS.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", "how-to-configure-sms-provider": "Sådan konfigureres SMS-udbyder" }, "step4": { - "title": "Konfigurer funktion: White-labeling", + "title": "Konfigurér funktion: White labeling", "content": "

    Tilpas nemt din virksomheds eller produkts logo og farveskema uden kodning og uden genstart af tjenesten.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", - "how-to-configure-white-labeling": "Sådan konfigureres White-labeling" + "how-to-configure-white-labeling": "Sådan konfigureres white labeling" }, "step5": { - "title": "Konfigurer funktion: 2FA", + "title": "Konfigurér funktion: 2FA", "content": "

    Forbedr sikkerheden på platformens konti med tofaktorautentificering.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", "how-to-configure-2fa": "Sådan konfigureres 2FA" }, "step6": { - "title": "Konfigurer funktion: OAuth 2", + "title": "Konfigurér funktion: OAuth 2", "content": "

    Gør login lettere for lejer- og kundebrugere med Single Sign-On-funktionalitet via OAuth 2.0.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", "how-to-configure-oauth2": "Sådan konfigureres OAuth 2" }, "step7": { - "title": "Konfigurer funktion: Slack", + "title": "Konfigurér funktion: Slack", "content": "

    Distribuér notifikationer til lejer- og kundebrugere via Slack i henhold til de notifikationsregler, du har angivet.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", "how-to-configure-notifications": "Sådan konfigureres Slack" } @@ -12499,49 +13947,61 @@ "step1": { "title": "Opret enhed", "content": "

    Lad os klargøre din første enhed på platformen via brugerfladen. Følg dokumentationen for at lære, hvordan du gør det:

    ", - "how-to-create-device": "Sådan oprettes Enhed" + "how-to-create-device": "Sådan oprettes en enhed" }, "step2": { "title": "Tilslut enhed", "content-before": "

    For at tilslutte enheden skal du hente enhedslegitimationsoplysningerne. Vi anbefaler at bruge standard, automatisk genererede legitimationsoplysninger – adgangstoken – til denne vejledning.

    • Gå til enhedstabellen
    • Klik på enhedsrækken for at åbne enhedsdetaljer
    • Tryk på knappen \"Kopiér adgangstoken\"

    Brug simple kommandoer til at sende data via HTTP. Husk at erstatte $ACCESS_TOKEN med din enheds adgangstoken:

    ", "ubuntu": { - "install-curl": "Installer cURL til Ubuntu:" + "install-curl": "Installér cURL til Ubuntu:" }, "macos": { - "install-curl": "Installer cURL til MacOS:" + "install-curl": "Installér cURL til MacOS:" }, "windows": { "install-curl": "Fra og med Windows 10 b17063 er cURL tilgængelig som standard." }, "replace-access-token": "Erstat $ACCESS_TOKEN med din enheds token:", "content-after": "

    Du kan også bruge andre protokoller såsom MQTT, CoAP osv.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", - "how-to-connect-device": "Sådan tilsluttes Enhed" + "how-to-connect-device": "Sådan tilsluttes en enhed" }, "step3": { "title": "Opret dashboard", "content": "

    Opret et dashboard for at visualisere data fra entiteter såsom aktiver, enheder m.m.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", - "how-to-create-dashboard": "Sådan oprettes Dashboard" + "how-to-create-dashboard": "Sådan oprettes et dashboard" }, "step4": { - "title": "Konfigurer alarmregler", + "title": "Konfigurér alarmregler", "alarm-rules": "Alarmregler", "content": "

    Lad os udløse en alarm, når temperaturen når 25°C. Følg dokumentationen for at lære, hvordan du gør det:

    ", - "how-to-configure-alarm-rules": "Sådan konfigureres Alarmregler" + "how-to-configure-alarm-rules": "Sådan konfigureres alarmregler" }, "step5": { "title": "Opret alarm", "content-before": "

    For at udløse alarmen skal du sende en ny telemetriværdi på 26°C eller højere.

    ", "replace-access-token": "Erstat $ACCESS_TOKEN med din enheds token:", "content-after": "

    Følg dokumentationen for at lære, hvordan du gør det:

    ", - "how-to-create-alarm": "Sådan oprettes Alarm" + "how-to-create-alarm": "Sådan oprettes en alarm" }, "step6": { "title": "Opret kunde og del dashboard", "content": "

    Ved at oprette dashboards til slutbrugere kan en kundebruger kun se sine egne enheder, mens data fra andre kunder skjules.

    Følg dokumentationen for at lære, hvordan du gør det:

    ", - "how-to-create-customer-and-share-dashboard": "Sådan oprettes Kunde og deles Dashboard" + "how-to-create-customer-and-share-dashboard": "Sådan opretter du en kunde og deler et dashboard" } } }, + "html-container": { + "java-script": "JavaScript", + "js-function": "JavaScript-funktion", + "html": "HTML", + "angular-html-template": "Angular HTML-skabelon", + "css": "CSS", + "container-type": "Containertype", + "type-plain": "Ren HTML", + "type-angular": "Angular", + "resources": "Ressourcer", + "no-resources": "Ingen ressourcer konfigureret" + }, "api-usage": { "api-usage": "API-forbrug", "label": "Etiket", @@ -12564,11 +14024,219 @@ "icons": "Ikoner", "custom": "Tilpasset", "select-icon": "Vælg ikon", - "material-icons": "Materialeikoner", + "material-icons": "Material icons", "show-all": "Vis alle ikoner", - "search-icon": "Søg ikon", + "search-icon": "Søg efter ikon", "no-icons-found": "Ingen ikoner fundet for '{{iconSearch}}'" }, + "subscription": { + "entity-limit-text": "Du kan dog opgradere din abonnementsplan for at øge dine grænser.", + "upgrade-your-plan": "Opgradér abonnementsplan", + "license-management": "Licensadministration", + "perpetual-license": "Permanent licens", + "subscription": "Abonnement", + "perpetual": "Permanent", + "manage-license": "Administrér licens", + "updated-ago": "Opdateret {{ago}}", + "usage-and-limits": "Forbrug og grænser", + "add-ons": "Tilføjelser", + "included": "Inkluderet", + "not-included": "Ikke inkluderet", + "add-to-license": "Føj til licens", + "change-key-title": "Skifter du til en anden licens?", + "change-key-text": "Skift til en anden licens, eller aktivér en air‑gapped installation via en offline-nøgle.", + "enter-key": "Indtast en nøgle", + "enter-license-key": "Indtast en licensnøgle", + "applying-key-text": "Når du anvender en nøgle, ændres det, hvad denne installation er licenseret til.", + "keys-issued-text": "Nøgler udstedes i {{licensePortal}}. Log ind på en hvilken som helst enhed, og kopiér en derfra.", + "check-key": "Kontrollér nøgle", + "checking-key": "Kontrollerer denne nøgle...", + "current": "Aktuel", + "this-key": "Denne nøgle", + "replace-license": "Erstat licens", + "new-license-applied": "Den nye licensnøgle blev anvendt.", + "updates-and-support-until": "Opdateringer og support indtil {{date}}.", + "next-charge-and-due-date": "Næste opkrævning {{total}} den {{date}}, forfalder senest {{dueDate}}.", + "refresh-license-info": "Opdatér licensoplysninger", + "non-production-mode": "Udviklingstilstand — kun til ikke-produktionsbrug", + "non-production-mode-details": "Kvoter for enheder, aktiver og Edge er ubegrænsede; White labeling er ikke tilgængelig. Brug ikke denne instans i produktion.", + "offline-mode": "Offlinetilstand", + "devices": "Enheder", + "number-of-devices": "{ count, plural, =1 {1 enhed} other {# enheder} }", + "unlimited-devices": "Ubegrænset antal enheder", + "add-devices": "Tilføj enheder", + "device-limit-warn": "Du har brugt {{ percent }} af din enhedsgrænse.", + "device-limit-critical": "Du har nået din enhedsgrænse. Nye enheder registreres ikke, før grænsen hæves.", + "assets": "Aktiver", + "add-assets": "Tilføj aktiver", + "prod-instances": "Produktionsinstanser", + "add-instances": "Tilføj instanser", + "ai-credits": "AI-kreditter", + "add-credits": "Tilføj kreditter", + "white-labeling": "White labeling", + "edge": "Edge Computing", + "edges": "Edges", + "add-edges": "Tilføj Edges", + "agents": "Remote Agents", + "add-agents": "Tilføj Remote Agents", + "trendz": "Trendz Analytics", + "name-addon": "{{name}}-tilføjelse", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { Tilføj {name} } other { Tilføj {name} } }", + "add-addon-subscription": "{{name}} er en betalt tilføjelse og øger din månedlige betaling.", + "add-addon-perpetual": "{{name}} er en betalt tilføjelse, der købes én gang til denne licens.", + "upgrade-plan-devices": "På {{plan}} følger din enhedsgrænse med planen.", + "upgrade-plan-instances": "På {{plan}} følger din grænse for produktionsinstanser med planen.", + "upgrade-plan-credits": "På {{plan}} følger dine månedlige AI-kreditter med planen.", + "upgrade-plan-edges": "På {{plan}} følger din Edge-grænse med planen.", + "upgrade-plan-agents": "På {{plan}} følger din Remote Agent-grænse med planen.", + "upgrade-plan-white-labeling": "Alle betalte planer omfatter White labeling.", + "upgrade-plan-addon": "{{name}} er en betalt tilføjelse. Tilføjelser kræver en betalt plan.", + "ce-grant-case": "Ethvert køb konverterer dit Community Grant til en permanent kommerciel licens. Du betaler for det, du tilføjer, ikke for det, som dit Community Grant allerede dækker.", + "pe-pack-case": "Professional Pack er et engangskøb med samme pris for alle indehavere af Community Grant.", + "ce-grant-white-label": "Din eksisterende white-labeling forbliver gratis under dit Community Grant.", + "open-portal-manage-license": "Vi åbner denne installations licens i licensportalen. Du skal muligvis logge ind. Tryk på Opdatér, når du er tilbage.", + "open-portal-upgrade-plan": "Vi åbner licensportalen og foreslår en plan. Du skal muligvis logge ind. Tryk på Opdatér, når du er tilbage.", + "open-portal": "Åbn portalen", + "add-license-item-title": "For at {{ action }} {{ item }} skal du opdatere {{ package }} i ThingsBoard-licensportalen.", + "action-add": "tilføje", + "action-enable": "aktivere", + "package-subscription": "abonnementet", + "package-perpetual": "licenspakken", + "go-to-license-portal": "Gå til licensportalen", + "add-license-item-step-first": "Vi viderestiller dig til licensportalen.", + "add-license-item-step-second": "Når du har logget ind, åbner vi automatisk de tilsvarende detaljer for {{ package }}.", + "add-license-item-step-third": "Tilføj \"{{ item }}\" til {{ package }}.", + "add-license-item-step-fourth": "Når det er gjort, skal du klikke på \"Opdatér licensoplysninger\" nedenfor for at opdatere {{ package }} med det samme.", + "request-feature-sysadmin-text": "Er du systemadministrator?", + "login-here": "Log ind her", + "to-get-addon": "for at få tilføjelsen.", + "request-edge-title": "Hold dine anlæg i drift, også når netværket svigter", + "request-edge-text": "Udrul Edge-instanser for at fordele behandling og analyse på tværs af din infrastruktur. Vigtigste funktioner:", + "edge-card-autonomy-title": "Autonomi", + "edge-card-autonomy-text": "Sikrer øjeblikkelig lokal drift selv ved netværksfejl", + "edge-card-filtering-title": "Filtrering", + "edge-card-filtering-text": "Reducerer cloudtrafik og omkostninger ved kun at sende validerede, værdifulde data", + "edge-card-latency-title": "Latens", + "edge-card-latency-text": "Muliggør realtidsstyring og hurtige svar ved at behandle data lokalt", + "edge-card-security-title": "Sikkerhed", + "edge-card-security-text": "Giver en sikker buffer mellem OT-enheder og den offentlige cloud", + "edge-card-efficiency-title": "Effektivitet", + "edge-card-efficiency-text": "Normaliserer og aggregerer data tæt på kilden og letter cloudens arbejdsbyrde", + "request-edge-action-text": "Edge Management er tilgængelig som tilføjelse. Kontakt din systemadministrator for at aktivere den.", + "request-access": "Anmod om adgang", + "requested": "Anmodning sendt", + "upgrade-plan": "Opgradér plan", + "learn-more": "Læs mere", + "feature-request-sent-title": "Vi har sendt en automatisk anmodning til din systemadministrator om at aktivere {{addonName}}", + "feature-request-sent-text": "Giv dem venligst lidt tid til at gennemgå anmodningen og opdatere indstillingerne. Du skal muligvis genindlæse denne side for at se ændringerne.", + "request-trendz-title": "Omdan IoT-datasæt til indsigt, og gør beslutningsprocessen enklere med {{name}}", + "request-trendz-text": "Få adgang til kraftfuld no-code IoT-analyse i et samlet AI-drevet arbejdsområde, hvor du kan udforske telemetri, opbygge logik, finde anomalier, generere forudsigelser og omdanne rådata til klare, handlingsrettede indsigter", + "request-trendz-action-text": "{{name}} er tilgængelig som tilføjelse. Kontakt din systemadministrator for at aktivere den.", + "trendz-card-metric-explorer-title": "Metrikudforsker", + "trendz-card-metric-explorer-text": "Dyk ned i telemetri med no-code-analyse, brugerdefinerede metrikker og øjeblikkelig visuel indsigt", + "trendz-card-anomaly-title": "Anomalidetektion", + "trendz-card-anomaly-text": "Find automatisk usædvanlig adfærd i dine data", + "trendz-card-calculation-title": "Beregnede felter", + "trendz-card-calculation-text": "Definér forretningslogik, transformér telemetri, og opret nye metrikker", + "trendz-card-prediction-title": "Forudsigelsesmodeller", + "trendz-card-prediction-text": "Forudsig fremtidige værdier, og find tendenser med indbyggede ML-modeller", + "trendz-card-views-title": "Visninger", + "trendz-card-views-text": "Byg analysedashboards, der kan deles med teams og kunder — alt samlet ét sted.", + "trendz-card-ai-assistant-title": "AI-assistent", + "trendz-card-ai-assistant-text": "Generér logik, finpuds formler, og automatisér oprettelsen af metrikker med AI i naturligt sprog.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Integrationer, planlæggeren, rapporter og White labeling.", + "pe-pack-desc": "Udvider dit Community Grant til det fulde funktionssæt.", + "request-pe-pack": "Anmod om den fulde Professional Pack", + "add-pe-pack": "Tilføj den fulde Professional Pack", + "pe-pack-extend-ce": "Udvider dit Community Grant til det fulde funktionssæt.", + "sys-admin-pe-pack-note": "Systemadministrator? Log ind, og tilføj Professional Pack under Licensadministration.", + "pe-pack-requested": "Der er sendt en anmodning om Professional Pack til din systemadministrator.", + "white-labeling-promo": "Angiv logo, farver og titler fra en indstillingsside.", + "white-labeling-promo-try": "Angiv logo, farver og titler fra en indstillingsside. Åbn den for at prøve.", + "integrations": "Integrationer", + "integrations-promo": "Hent data ind fra LoRaWAN, MQTT, Kafka og andre IoT-platforme.", + "scheduler": "Planlægger", + "scheduler-promo": "Udfør opdateringer og send hændelser til regelkæder efter en tidsplan.", + "reports": "Rapporter", + "reports-promo": "Opret rapporter ud fra tabeller, diagrammer og din egen branding, og send dem efter en tidsplan." + }, + "platform-feature": { + "overview": "Oversigt", + "white-labeling": { + "not-in-plan": "White labeling er ikke inkluderet i din plan", + "not-in-ce-grant": "White labeling er ikke inkluderet i dit Community Grant.", + "add": "Tilføj White labeling", + "request": "Anmod om White labeling", + "offer-title": "Dit brand, din loginskærm, dine menuer, dine etiketter", + "offer-with-plan-lede": "White labeling følger med Pilot-planen og derover. Alt, hvad du angiver her, erstatter ThingsBoards — på loginsiden, i de mails, du sender, og på hver side, dine kunder arbejder på.", + "offer-lede": "Med White labeling erstatter alt, hvad du angiver her, ThingsBoards — på loginsiden, i de mails, du sender, og på hver side, dine kunder arbejder på.", + "pack-offer-lede": "White labeling følger med Professional Pack, den betalte tilføjelse til dit Community Grant. Når Professional Pack er slået til, erstatter alt, hvad du angiver her, ThingsBoards — på loginsiden, i de mails, du sender, og på hver side, dine kunder arbejder på.", + "sys-admin-wl-note": "Systemadministrator? Log ind, og tilføj White labeling under Licensadministration." + }, + "integrations": { + "not-in-ce-grant": "Integrationer er ikke inkluderet i dit Community Grant.", + "pack-offer-title": "Hent data ind fra LoRaWAN, MQTT, Kafka og andre IoT-platforme", + "pack-offer-lede": "Integrationer er en del af Professional Pack, den betalte tilføjelse til dit Community Grant. Hver af dem læser fra en LoRaWAN Network Server, en MQTT- eller Kafka-broker eller en anden IoT-platform — opretter automatisk enheder, efterhånden som de dukker op, og gemmer det, de sender, som telemetri.", + "overview": { + "brokers-and-platforms": "Brokere og platforme", + "brokers-and-platforms-desc": "Én integration pr. kilde, konfigureret og overvåget fra brugerfladen.", + "data-converters": "Datakonvertere", + "data-converters-desc": "Afkod en enheds egen payload — inklusive LoRaWAN-codecs — med et script, uden at ændre det, enheden sender.", + "downlink": "Downlink", + "downlink-desc": "Send kommandoer og konfiguration tilbage til enheden over den samme forbindelse.", + "remote-integrations": "Fjernintegrationer", + "remote-integrations-desc": "Kør én i yderkanten af netværket, på din egen vært — den fortsætter med at buffere, mens forbindelsen til ThingsBoard er nede." + }, + "dozen-protocols-brokers-and-platforms": "Snesevis af protokoller, brokere og platforme", + "browse-setup-guides-note": "Gennemse opsætningsvejledningerne i vores dokumentation." + }, + "scheduler": { + "not-in-ce-grant": "Planlæggeren er ikke inkluderet i dit Community Grant.", + "pack-offer-title": "Udfør opdateringer og send hændelser til regelkæder efter en tidsplan", + "pack-offer-lede": "Planlæggeren er en del af Professional Pack, den betalte tilføjelse til dit Community Grant. Udfør firmwareopdateringer og send hændelser til regelkæder — hver post har et starttidspunkt, en gentagelsesregel og sin egen tidszone, og platformen udfører den, uanset om noget af dit stadig kører.", + "overview": { + "repeats-and-timezones": "Gentagelser og tidszoner", + "repeats-and-timezones-desc": "Én gang, eller dagligt eller ugentligt på de dage, du vælger — og hver hændelse behandles i sin egen tidszone.", + "device-commands": "Enhedskommandoer", + "device-commands-desc": "Send en kommando til en enhed på et fastsat tidspunkt, uden et cron-job, der har et API-token.", + "firmware-and-software": "Firmware og software", + "firmware-and-software-desc": "Udrul en OTA-pakke til en enhed eller en hel gruppe på et tidspunkt, hvor ingen holder øje.", + "rule-chain-triggers": "Regelkædeudløsere", + "rule-chain-triggers-desc": "Send ind i en regelkæde, så alt, hvad en regelkæde kan, kan køre uden opsyn." + } + }, + "reporting": { + "not-in-ce-grant": "Rapporter er ikke inkluderet i dit Community Grant.", + "pack-offer-title": "Byg en rapport én gang, og levér den ved hver planlagt kørsel", + "pack-offer-lede": "Rapporter er en del af Professional Pack, den betalte tilføjelse til dit Community Grant. Du opbygger selv rapportens layout — tabeller, diagrammer, tekst og din egen branding — og hver kørsel når sine modtagere efter tidsplan, eller når en alarm udløses.", + "overview": { + "your-own-layout": "Dit eget layout", + "your-own-layout-desc": "Træk tabeller, diagrammer, tekst og billeder på plads, og én gemt skabelon betjener alle kunder.", + "pdf-or-csv": "PDF eller CSV", + "pdf-or-csv-desc": "Et printklart dokument med diagrammerne tegnet, eller de rå rækker til dem, der vil have tallene.", + "channel": "E-mail, Slack, Teams eller SMS", + "channel-desc": "Vælg kanalen pr. modtager eller pr. brugergruppe — platformen leverer hver planlagt kørsel.", + "attached-to-alarm": "Vedhæftet til alarmen", + "attached-to-alarm-desc": "En notifikation medbringer rapporten, der bygges, når alarmen udløses, ud fra dataene i det øjeblik." + } + } + }, + "subscription-error": { + "title": "Abonnementsovertrædelse", + "warning-title": "Abonnementsadvarsel", + "upgrade-subscription-plan": "Opgradér venligst din abonnementsplan", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}} er tilgængelig fra og med {{planName}}-planen. For at fortsætte skal du bede din systemadministrator om at opgradere planen.", + "limit-reached": { + "device-count": "Du har nået det maksimale antal enheder ({{value}}), som din abonnementsplan tillader!", + "asset-count": "Du har nået det maksimale antal aktiver ({{value}}), som din abonnementsplan tillader!", + "edge-count": "Du har nået det maksimale antal Edge-instanser ({{value}}), som din abonnementsplan tillader!", + "agent-count": "Du har nået det maksimale antal Remote Agents ({{value}}), som din abonnementsplan tillader!" + }, + "feature-disabled": { + "white-labeling": "White labeling-funktionen er ikke tilladt af din abonnementsplan!" + } + }, "phone-input": { "phone-input-label": "Telefonnummer", "phone-input-required": "Telefonnummer er påkrævet", @@ -12584,7 +14252,7 @@ "polygon-click": "Ved klik på polygon", "marker-click": "Ved klik på markør", "circle-click": "Ved klik på cirkel", - "tooltip-tag-action": "Handlingsmærke i værktøjstip", + "tooltip-tag-action": "Handling for mærke i værktøjstip", "node-selected": "Ved valg af node", "element-click": "Ved klik på HTML-element", "pie-slice-click": "Ved klik på lagkageskive", @@ -12634,7 +14302,7 @@ "prediction-models-description": "Prognoser og prædiktiv analyse", "read-upgrade-guide": "Læs opgraderingsguide", "retry-discovery": "Prøv opdagelse igen", - "retry-healthcheck": "Prøv helbredstjek igen", + "retry-healthcheck": "Prøv tilstandstjek igen", "save-configuration": "Gem konfiguration", "service-connection": "Serviceforbindelse", "service-unavailable": "{{ name }} er midlertidigt utilgængelig", @@ -12655,18 +14323,19 @@ "trendz-unsupported-version": "Trendz-versionen understøttes ikke", "trendz-url-unreachable": "Den angivne Trendz-URL kan ikke nås" }, - "thingsboard-internal-url": "ThingsBoard intern URL", - "thingsboard-internal-url-invalid": "ThingsBoard intern URL er ugyldig", - "thingsboard-internal-url-required": "ThingsBoard intern URL er påkrævet", + "thingsboard-internal-url": "Intern ThingsBoard-URL", + "thingsboard-internal-url-invalid": "Intern ThingsBoard-URL er ugyldig", + "thingsboard-internal-url-required": "Intern ThingsBoard-URL er påkrævet", "trendz-analytics": "Trendz analytics", "advanced-analytics": "Avanceret analyse", "trendz-configuration": "Trendz-konfiguration", "trendz-configuration-unsaved-message": "Dine ændringer i Trendz-konfigurationen er ikke blevet gemt.
    Vil du gemme dem, før du kører opdagelse?", "trendz-configuration-unsaved-continue-without-saving": "Fortsæt uden at gemme", - "trendz-internal-url": "Trendz intern URL", - "trendz-internal-url-invalid": "Trendz intern URL er ugyldig", - "trendz-internal-url-required": "Trendz intern URL er påkrævet", + "trendz-internal-url": "Intern Trendz-URL", + "trendz-internal-url-invalid": "Intern Trendz-URL er ugyldig", + "trendz-internal-url-required": "Intern Trendz-URL er påkrævet", "trendz-settings": "Trendz-indstillinger", + "trendz": "Trendz", "views": "Visninger", "views-description": "Konfigurerede visualiseringsgrupper og rapporter", "trendz-synced": "Synkronisering fuldført", @@ -12681,7 +14350,7 @@ "heatmap": "Varmekort", "heatmap-calendar": "Varmekortkalender", "line": "Linje", - "pie": "Lagkage", + "pie": "Cirkeldiagram", "scatter-plot": "Punktdiagram", "table": "Tabel" } From 1fd5d12a97d2572ebfe0828d3986386e7ab286cc Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Thu, 29 Oct 2026 18:12:27 +0200 Subject: [PATCH 369/559] Fix license header --- .../thingsboard/server/common/data/ai/dto/TbChatPrompt.java | 5 +++-- tools/src/main/python/license-headers/curations.json | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatPrompt.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatPrompt.java index 70ed1da1b0..2fc815e480 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatPrompt.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatPrompt.java @@ -1,5 +1,6 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.common.data.ai.dto; import dev.langchain4j.data.message.ChatMessage; diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index b48fb72b22..09f1c70fac 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -271,6 +271,12 @@ "reason": "PE agent installation instructions model added in e0db7ac7154 as part of the PE agent feature introduced on lts-4.4, which has no counterpart in CE. The candidate CE common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeInstructions.java shares only the instructions model boilerplate. Reviewed candidate at a0aff29ef42d3636473b017115a9334b48d54d15 (blob 409985284c6).", "contentHash": "sha256:ce067f7aad61fb79c44ac80ceda3b26e9908a8a648380097754ff9ee097256b1" }, + { + "path": "common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatPrompt.java", + "header": "ce-modified", + "reason": "Prompt fields and LangChain conversion extracted from CE common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatRequest.java at 5954190c32f; the conversion code is the CE implementation.", + "contentHash": "sha256:5fa64331c5c90df4ebd3ab0db1d62c995591dfa6a05b2316bdc6d9556359e205" + }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/BlobEntityFields.java", "header": "busl", From 77b511ace3b2cff44ea1749bded550ef6caf180c Mon Sep 17 00:00:00 2001 From: Serhii Titenko Date: Thu, 29 Oct 2026 18:13:09 +0200 Subject: [PATCH 370/559] Write "JSON" in capitals in English UI texts (#16507) - content-type.json: the first option of the Payload content type dropdown in the Test decoder function dialog is "JSON" - device profile MQTT and LwM2M labels and hints use "JSON" - other en_US texts with "Json" or "json" are updated for consistency Co-authored-by: Claude Opus 5.5 --- .../assets/locale/locale.constant-en_US.json | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 367b4709eb..6243ee6a95 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -2127,7 +2127,7 @@ "update-raw-payload": "Updated RAW payload" }, "content-type": { - "json": "Json", + "json": "JSON", "text": "Text", "binary": "Binary (Base64)", "hex": "Binary (Hex)" @@ -3080,9 +3080,9 @@ "mqtt-device-payload-type-json": "JSON", "mqtt-device-payload-type-proto": "Protobuf", "mqtt-enable-compatibility-with-json-payload-format": "Enable compatibility with other payload formats.", - "mqtt-enable-compatibility-with-json-payload-format-hint": "When enabled, the platform will use a Protobuf payload format by default. If parsing fails, the platform will attempt to use JSON payload format. Useful for backward compatibility during firmware updates. For example, the initial release of the firmware uses Json, while the new release uses Protobuf. During the process of firmware update for the fleet of devices, it is required to support both Protobuf and JSON simultaneously. The compatibility mode introduces slight performance degradation, so it is recommended to disable this mode once all devices are updated.", - "mqtt-use-json-format-for-default-downlink-topics": "Use Json format for default downlink topics", - "mqtt-use-json-format-for-default-downlink-topics-hint": "When enabled, the platform will use Json payload format to push attributes and RPC via the following topics: v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. This setting does not impact attribute and rpc subscriptions sent using new (v2) topics: v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. Where $request_id is an integer request identifier.", + "mqtt-enable-compatibility-with-json-payload-format-hint": "When enabled, the platform will use a Protobuf payload format by default. If parsing fails, the platform will attempt to use JSON payload format. Useful for backward compatibility during firmware updates. For example, the initial release of the firmware uses JSON, while the new release uses Protobuf. During the process of firmware update for the fleet of devices, it is required to support both Protobuf and JSON simultaneously. The compatibility mode introduces slight performance degradation, so it is recommended to disable this mode once all devices are updated.", + "mqtt-use-json-format-for-default-downlink-topics": "Use JSON format for default downlink topics", + "mqtt-use-json-format-for-default-downlink-topics-hint": "When enabled, the platform will use JSON payload format to push attributes and RPC via the following topics: v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. This setting does not impact attribute and rpc subscriptions sent using new (v2) topics: v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. Where $request_id is an integer request identifier.", "mqtt-send-ack-on-validation-exception": "Send PUBACK on PUBLISH message validation failure", "mqtt-send-ack-on-validation-exception-hint": "By default, the platform will close the MQTT session on message validation failure. When enabled, the platform will send publish acknowledgment instead of closing the session.", "mqtt-protocol-version": "Protocol version", @@ -3371,7 +3371,7 @@ "fw-update-resource-required": "Firmware update CoAP resource is required.", "sw-update-resource": "Software update CoAP resource", "sw-update-resource-required": "Software update CoAP resource is required.", - "config-json-tab": "Json Config Profile Device", + "config-json-tab": "JSON Config Profile Device", "attributes-name": { "min-period": "Minimum period", "max-period": "Maximum period", @@ -4988,8 +4988,8 @@ "custom": "Custom", "to-double": "To Double", "transformer": "Transformer", - "json-required": "Transformer json is required.", - "json-parse": "Unable to parse transformer json.", + "json-required": "Transformer JSON is required.", + "json-parse": "Unable to parse transformer JSON.", "attributes": "Attributes", "add-attribute": "Add attribute", "add-map": "Add mapping element", @@ -5018,23 +5018,23 @@ "mapping": "Mapping", "topic-filter": "Topic filter", "converter-type": "Converter type", - "converter-json": "Json", - "json-name-expression": "Device name json expression", + "converter-json": "JSON", + "json-name-expression": "Device name JSON expression", "topic-name-expression": "Device name topic expression", - "json-type-expression": "Device type json expression", + "json-type-expression": "Device type JSON expression", "topic-type-expression": "Device type topic expression", "attribute-key-expression": "Attribute key expression", - "attr-json-key-expression": "Attribute key json expression", + "attr-json-key-expression": "Attribute key JSON expression", "attr-topic-key-expression": "Attribute key topic expression", "request-id-expression": "Request id expression", - "request-id-json-expression": "Request id json expression", + "request-id-json-expression": "Request id JSON expression", "request-id-topic-expression": "Request id topic expression", "response-topic-expression": "Response topic expression", "value-expression": "Value expression", "topic": "Topic", "timeout": "Timeout in milliseconds", - "converter-json-required": "Converter json is required.", - "converter-json-parse": "Unable to parse converter json.", + "converter-json-required": "Converter JSON is required.", + "converter-json-parse": "Unable to parse converter JSON.", "filter-expression": "Filter expression", "connect-requests": "Connect requests", "add-connect-request": "Add connect request", @@ -7474,7 +7474,7 @@ "relation-filters": "Relation filters", "relation-filter": "Relation filter", "additional-info": "Additional info (JSON)", - "invalid-additional-info": "Unable to parse additional info json.", + "invalid-additional-info": "Unable to parse additional info JSON.", "no-relations-text": "No relations found", "not": "Not", "copy-type": "Copy type" From 64421b29650f8f0b982c4fce974413240c0427e6 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Fri, 30 Oct 2026 08:20:00 +0200 Subject: [PATCH 371/559] fix(iot-hub): address the review of the device package update - Integrations and converters need the INTEGRATIONS feature, as through their API - An overwritten or created entity gets its step's attributes, as at install - The checksum ignores debug settings and the default profile flag - The installed item is locked during the update; a plan of another installed version is refused - The integration check before save is shared with IntegrationController - Without a checksum: dashboard image links and rule chain server fields don't count as changes; with nothing to compare against, the entity counts as changed - Renamed steps keep their form values, entity and check state - An entity referring to an entity the update creates again is overwritten - Instructions before the Update step resolve the installed entities - The download link of a changed entity is one translation key --- .../controller/IntegrationController.java | 12 +- .../DefaultTbIntegrationService.java | 18 ++ .../integration/TbIntegrationService.java | 9 + .../DefaultDevicePackageUpdateService.java | 93 ++++++---- .../service/iot_hub/DeviceUpdateRequest.java | 5 +- .../service/iot_hub/EntityChecksum.java | 5 +- ...DefaultDevicePackageUpdateServiceTest.java | 96 ++++++++++ .../dao/iot_hub/IotHubInstalledItemDao.java | 3 + .../iot_hub/IotHubInstalledItemService.java | 3 + .../IotHubInstalledItemServiceImpl.java | 5 + .../IotHubInstalledItemRepository.java | 3 + .../iot_hub/JpaIotHubInstalledItemDao.java | 5 + .../device-install-dialog.component.html | 4 +- .../device-install-dialog.component.ts | 172 +++++++++++++++--- .../iot-hub/iot-hub-installed-item.models.ts | 3 + .../assets/locale/locale.constant-en_US.json | 3 +- 16 files changed, 363 insertions(+), 76 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/IntegrationController.java b/application/src/main/java/org/thingsboard/server/controller/IntegrationController.java index e2ef0e3e23..de67183b1b 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IntegrationController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IntegrationController.java @@ -142,14 +142,10 @@ public class IntegrationController extends AutoCommitController { checkEntity(integration.getId(), integration, Resource.INTEGRATION); - if (!integration.isEdgeTemplate()) { - try { - Integration copy = new Integration(integration); - secretConfigurationService.replaceSecretUsages(tenantId, copy.getConfiguration()); - integrationManagerService.validateIntegrationConfiguration(copy).get(20, TimeUnit.SECONDS); - } catch (ExecutionException e) { - throwRealCause(e); - } + try { + tbIntegrationService.validateIntegrationConfiguration(tenantId, integration); + } catch (ExecutionException e) { + throwRealCause(e); } Integration result = checkNotNull(integrationService.saveIntegration(integration)); diff --git a/application/src/main/java/org/thingsboard/server/service/entitiy/integration/DefaultTbIntegrationService.java b/application/src/main/java/org/thingsboard/server/service/entitiy/integration/DefaultTbIntegrationService.java index f578321567..879da5cf47 100644 --- a/application/src/main/java/org/thingsboard/server/service/entitiy/integration/DefaultTbIntegrationService.java +++ b/application/src/main/java/org/thingsboard/server/service/entitiy/integration/DefaultTbIntegrationService.java @@ -15,21 +15,27 @@ import org.thingsboard.server.common.data.LibraryConvertersInfo; import org.thingsboard.server.common.data.converter.ConverterType; import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.integration.IntegrationInfo; import org.thingsboard.server.common.data.integration.IntegrationType; import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.dao.converter.ConverterService; import org.thingsboard.server.dao.integration.IntegrationService; +import org.thingsboard.server.dao.secret.SecretConfigurationService; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.converter.ConverterLibraryService; import org.thingsboard.server.service.entitiy.AbstractTbEntityService; +import org.thingsboard.server.service.integration.IntegrationManagerService; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; @Slf4j @Service @@ -40,6 +46,8 @@ public class DefaultTbIntegrationService extends AbstractTbEntityService impleme private final IntegrationService integrationService; private final ConverterLibraryService converterLibraryService; private final ConverterService converterService; + private final IntegrationManagerService integrationManagerService; + private final SecretConfigurationService secretConfigurationService; @Override public PageData findTenantIntegrationInfos(TenantId tenantId, PageLink pageLink, boolean isEdgeTemplate) { @@ -94,4 +102,14 @@ public class DefaultTbIntegrationService extends AbstractTbEntityService impleme return result; } + @Override + public void validateIntegrationConfiguration(TenantId tenantId, Integration integration) throws ExecutionException, InterruptedException, TimeoutException { + if (integration.isEdgeTemplate()) { + return; + } + Integration copy = new Integration(integration); + secretConfigurationService.replaceSecretUsages(tenantId, copy.getConfiguration()); + integrationManagerService.validateIntegrationConfiguration(copy).get(20, TimeUnit.SECONDS); + } + } diff --git a/application/src/main/java/org/thingsboard/server/service/entitiy/integration/TbIntegrationService.java b/application/src/main/java/org/thingsboard/server/service/entitiy/integration/TbIntegrationService.java index 9bd0f08877..ba32fc4d9c 100644 --- a/application/src/main/java/org/thingsboard/server/service/entitiy/integration/TbIntegrationService.java +++ b/application/src/main/java/org/thingsboard/server/service/entitiy/integration/TbIntegrationService.java @@ -5,12 +5,15 @@ package org.thingsboard.server.service.entitiy.integration; import org.thingsboard.server.common.data.IntegrationConvertersInfo; import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.integration.IntegrationInfo; import org.thingsboard.server.common.data.integration.IntegrationType; import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import java.util.Map; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeoutException; public interface TbIntegrationService { @@ -19,4 +22,10 @@ public interface TbIntegrationService { PageData findIntegrationInfosByTenantIdAndEdgeId(TenantId tenantId, EdgeId edgeId, PageLink pageLink); Map getIntegrationsConvertersInfo(TenantId tenantId); + + /** + * The check before an integration is saved: its configuration, with the secrets it uses, is validated by its type. + * An edge template isn't validated. An invalid configuration fails with an {@link ExecutionException}. + */ + void validateIntegrationConfiguration(TenantId tenantId, Integration integration) throws ExecutionException, InterruptedException, TimeoutException; } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 1e6d3f776d..63ab69e53c 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -46,6 +46,7 @@ import org.thingsboard.server.common.data.rule.RuleChain; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.security.DeviceCredentials; import org.thingsboard.server.common.data.security.DeviceCredentialsType; +import org.thingsboard.server.common.data.subscription.SubscriptionException; import org.thingsboard.server.dao.attributes.AttributesService; import org.thingsboard.server.dao.converter.ConverterService; import org.thingsboard.server.dao.dashboard.DashboardService; @@ -56,12 +57,13 @@ import org.thingsboard.server.dao.entity.EntityService; import org.thingsboard.server.dao.integration.IntegrationService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.dao.rule.RuleChainService; -import org.thingsboard.server.dao.secret.SecretConfigurationService; +import org.thingsboard.server.dao.subscription.PlatformFeature; +import org.thingsboard.server.dao.subscription.SubscriptionService; import org.thingsboard.server.exception.DataValidationException; import org.thingsboard.server.exception.EntitiesLimitExceededException; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.entitiy.AbstractTbEntityService; -import org.thingsboard.server.service.integration.IntegrationManagerService; +import org.thingsboard.server.service.entitiy.integration.TbIntegrationService; import org.thingsboard.server.service.rule.TbRuleChainService; import org.thingsboard.server.service.security.model.SecurityUser; import org.thingsboard.server.service.telemetry.TelemetrySubscriptionService; @@ -73,10 +75,10 @@ import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; +import java.util.Objects; import java.util.Set; import java.util.UUID; import java.util.concurrent.ExecutionException; -import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -106,7 +108,6 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i "DOWNLINK_CONVERTER", "downlinkConverter", "INTEGRATION", "integration"); private static final Pattern ENTITY_PLACEHOLDER = Pattern.compile("\\$\\{([A-Za-z]+)\\.([A-Za-z]+)}"); - private static final int INTEGRATION_VALIDATION_TIMEOUT_SEC = 20; private static final String UNEXPECTED_ERROR = "Failed to update the device package"; private final IotHubInstalledItemService installedItemService; @@ -121,8 +122,8 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i private final TbRuleChainService tbRuleChainService; private final ConverterService converterService; private final IntegrationService integrationService; - private final IntegrationManagerService integrationManagerService; - private final SecretConfigurationService secretConfigurationService; + private final TbIntegrationService tbIntegrationService; + private final SubscriptionService subscriptionService; private final AttributesService attributesService; private final TelemetrySubscriptionService telemetryService; private final TransactionTemplate transactionTemplate; @@ -166,6 +167,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i throw new IllegalArgumentException("The version belongs to another item"); } validatePlan(devicePackage, request); + checkFeatures(tenantId, request); validateIntegrations(tenantId, request); applied = transactionTemplate.execute(status -> applySteps(tenantId, devicePackage, request, versionInfo)); } catch (StepFailure e) { @@ -229,6 +231,15 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i } } + /** Integrations and converters are saved as through their API, which needs the feature in the tenant's plan. */ + private void checkFeatures(TenantId tenantId, DeviceUpdateRequest request) { + boolean savesIntegrations = request.getSteps().stream().anyMatch(step -> step.getAction() != DeviceUpdateRequest.Action.KEEP + && ("INTEGRATION".equals(step.getType()) || step.getType().endsWith("_CONVERTER"))); + if (savesIntegrations) { + subscriptionService.checkFeatureAllowed(tenantId, PlatformFeature.INTEGRATIONS); + } + } + /** The configuration of an integration is checked by a remote call, so before the transaction. */ private void validateIntegrations(TenantId tenantId, DeviceUpdateRequest request) throws Exception { for (DeviceUpdateRequest.Step step : request.getSteps()) { @@ -240,12 +251,8 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i body.remove(List.of("id", "defaultConverterId", "downlinkConverterId")); Integration integration = JacksonUtil.treeToValue(body, Integration.class); integration.setTenantId(tenantId); - if (integration.isEdgeTemplate()) { - continue; - } try { - secretConfigurationService.replaceSecretUsages(tenantId, integration.getConfiguration()); - integrationManagerService.validateIntegrationConfiguration(integration).get(INTEGRATION_VALIDATION_TIMEOUT_SEC, TimeUnit.SECONDS); + tbIntegrationService.validateIntegrationConfiguration(tenantId, integration); } catch (ExecutionException e) { // What the integration reports, e.g. wrong credentials, is what the user has to fix Throwable cause = e.getCause() != null ? e.getCause() : e; @@ -257,6 +264,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i } private Applied applySteps(TenantId tenantId, DevicePackage devicePackage, DeviceUpdateRequest request, JsonNode versionInfo) { + IotHubInstalledItem installedItem = lockInstalledItem(tenantId, devicePackage, request); DeviceInstalledItemDescriptor previous = devicePackage.descriptor(); Map aliasOutputs = new HashMap<>(); Map outputs = new LinkedHashMap<>(); @@ -270,7 +278,8 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i } List stepEntityIds = new ArrayList<>(); List saved = new ArrayList<>(); - List afterCommitSteps = new ArrayList<>(); + List connectorSteps = new ArrayList<>(); + List attributes = new ArrayList<>(); DashboardId dashboardId = null; for (DeviceUpdateRequest.Step step : request.getSteps()) { @@ -278,8 +287,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if ("GATEWAY_CONNECTOR".equals(step.getType())) { // A connector lives in the gateway's attributes, which aren't transactional: saved after commit if (step.getAction() != DeviceUpdateRequest.Action.KEEP) { - DeviceUpdateRequest.Step resolved = copyWithEntity(step, resolvePlaceholders(step.getEntity(), aliasOutputs)); - afterCommitSteps.add(resolved); + connectorSteps.add(copyWithEntity(step, resolvePlaceholders(step.getEntity(), aliasOutputs))); } continue; } @@ -307,11 +315,9 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (result.saved() != null) { saved.add(result.saved()); } - if (step.getAction() == DeviceUpdateRequest.Action.CREATE && ("DEVICE".equals(step.getType()) || "GATEWAY".equals(step.getType()))) { - // Its attributes are saved after commit, once the device exists - DeviceUpdateRequest.Step created = copyWithEntity(step, null); - created.setEntityId(result.entityId().getId()); - afterCommitSteps.add(created); + if (step.getAction() != DeviceUpdateRequest.Action.KEEP && !"use-existing".equals(step.getResolution())) { + // As at install, the step's attributes go with the entity it saved; written after commit + attributes.add(new StepAttributes(step.getName(), result.entityId(), step.getServerAttributes(), step.getSharedAttributes())); } } catch (StepFailure e) { throw e; @@ -328,13 +334,29 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i Map state = new LinkedHashMap<>(installState); descriptor.setInstallState(state); - IotHubInstalledItem installedItem = devicePackage.installedItem(); installedItem.setItemVersionId(UUID.fromString(request.getVersionId())); installedItem.setItemName(versionInfo.get("name").asText()); installedItem.setVersion(versionInfo.get("version").asText()); installedItem.setDescriptor(descriptor); installedItemService.save(tenantId, installedItem); - return new Applied(descriptor, outputs, saved, afterCommitSteps, aliasOutputs); + // Resolved once every entity is saved: attributes may refer to a later step's entity + List resolvedAttributes = attributes.stream().map(a -> new StepAttributes(a.stepName(), a.entityId(), + resolvePlaceholders(a.server(), aliasOutputs), resolvePlaceholders(a.shared(), aliasOutputs))).toList(); + return new Applied(descriptor, outputs, saved, connectorSteps, resolvedAttributes, aliasOutputs); + } + + /** + * Another update of the package, e.g. a second click or another tab, waits here until this one commits, and then + * fails: the plan was made for the version installed before. Without it both would create the new entities. + */ + private IotHubInstalledItem lockInstalledItem(TenantId tenantId, DevicePackage devicePackage, DeviceUpdateRequest request) { + IotHubInstalledItem installedItem = installedItemService.findByIdForUpdate(tenantId, devicePackage.installedItem().getId()); + UUID planned = request.getFromVersionId() != null ? request.getFromVersionId() : devicePackage.installedItem().getItemVersionId(); + if (installedItem == null || !planned.equals(installedItem.getItemVersionId()) + || !Objects.equals(devicePackage.installedItem().getItemVersionId(), installedItem.getItemVersionId())) { + throw new IllegalArgumentException("The package was updated meanwhile. Check the update again."); + } + return installedItem; } private StepResult applyStep(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) throws ThingsboardException { @@ -674,17 +696,19 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i log.warn("[{}] Failed to log the device package update of {}", tenantId, saved.id(), e); } } - for (DeviceUpdateRequest.Step step : applied.afterCommitSteps()) { + for (StepAttributes step : applied.attributes()) { try { - if ("GATEWAY_CONNECTOR".equals(step.getType())) { - saveConnector(tenantId, applied.aliasOutputs().get("gateway"), step.getEntity()); - } else { - DeviceId deviceId = new DeviceId(step.getEntityId()); - saveAttributes(tenantId, deviceId, AttributeScope.SERVER_SCOPE, step.getServerAttributes()); - saveAttributes(tenantId, deviceId, AttributeScope.SHARED_SCOPE, step.getSharedAttributes()); - } + saveAttributes(tenantId, step.entityId(), AttributeScope.SERVER_SCOPE, step.server()); + saveAttributes(tenantId, step.entityId(), AttributeScope.SHARED_SCOPE, step.shared()); } catch (Exception e) { - log.warn("[{}] Failed to save the attributes of device package step [{}]", tenantId, step.getName(), e); + log.warn("[{}] Failed to save the attributes of device package step [{}]", tenantId, step.stepName(), e); + } + } + for (DeviceUpdateRequest.Step step : applied.connectorSteps()) { + try { + saveConnector(tenantId, applied.aliasOutputs().get("gateway"), step.getEntity()); + } catch (Exception e) { + log.warn("[{}] Failed to save the gateway connector of device package step [{}]", tenantId, step.getName(), e); } } } @@ -732,7 +756,8 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (e instanceof EntityVersionMismatchException) { return "Someone changed it while you were reviewing the update. Check the update again."; } - if (e instanceof DataValidationException || e instanceof EntitiesLimitExceededException || e instanceof IllegalArgumentException) { + if (e instanceof DataValidationException || e instanceof EntitiesLimitExceededException || e instanceof IllegalArgumentException + || e instanceof SubscriptionException) { return e.getMessage(); } if (e instanceof ThingsboardException te && te.getErrorCode() != ThingsboardErrorCode.GENERAL) { @@ -770,8 +795,12 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i private record SavedEntity(EntityId id, Object entity, boolean created) { } + private record StepAttributes(String stepName, EntityId entityId, JsonNode server, JsonNode shared) { + } + private record Applied(DeviceInstalledItemDescriptor descriptor, Map outputs, List saved, - List afterCommitSteps, Map aliasOutputs) { + List connectorSteps, List attributes, + Map aliasOutputs) { } /** A step that failed: the transaction rolls back, and the wizard shows which step it was. */ diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java index 6e47841e91..e9cb7bb9d5 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java @@ -18,6 +18,8 @@ import java.util.UUID; public class DeviceUpdateRequest { private String versionId; + // The version installed when the wizard planned the update; the update fails if the package changed since + private UUID fromVersionId; // The install method of the new version's steps; the installed one when not set private String selectedInstallMethod; // The form values of the install state, by step: the server adds the entities to it @@ -51,7 +53,8 @@ public class DeviceUpdateRequest { private JsonNode entity; // DEVICE and GATEWAY: the credentials template, if any private JsonNode credentials; - // DEVICE and GATEWAY created by this update: attributes, saved after the transaction + // OVERWRITE and CREATE: the attributes of the saved entity, written after the transaction. Like the entity, + // they may keep ${.} of an entity this update creates. private JsonNode serverAttributes; private JsonNode sharedAttributes; // The resolution the install state records for it diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java index 898a222f05..4cd2f25d02 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java @@ -21,12 +21,13 @@ import java.util.Set; /** * The checksum of an entity as the server stores it, kept in the install state of a device package. A different * checksum later means someone changed the entity, even a widget resized. The fields the server sets, and the name, - * which an update keeps, don't count. + * which an update keeps, don't count, nor do the debug settings, which the user turns on without changing what the + * entity does, and whether a profile is the default one, which changes when another profile becomes the default. */ final class EntityChecksum { private static final Set SKIPPED_KEYS = Set.of("id", "name", "title", "version", "createdTime", "tenantId", - "customerId", "ownerId", "assignedCustomers", "externalId", "ruleChainId", "resources"); + "customerId", "ownerId", "assignedCustomers", "externalId", "ruleChainId", "resources", "debugMode", "debugSettings", "default"); private EntityChecksum() { } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 736e6c790d..01c84d92e0 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -20,7 +20,9 @@ import org.thingsboard.server.common.data.Dashboard; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceProfile; import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.converter.Converter; +import org.thingsboard.server.common.data.debug.DebugSettings; import org.thingsboard.server.common.data.exception.EntityVersionMismatchException; import org.thingsboard.server.common.data.id.ConverterId; import org.thingsboard.server.common.data.id.CustomerId; @@ -32,6 +34,9 @@ import org.thingsboard.server.common.data.id.IntegrationId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.subscription.SubscriptionErrorCode; +import org.thingsboard.server.common.data.subscription.SubscriptionException; +import org.thingsboard.rule.engine.api.AttributesSaveRequest; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.dao.converter.ConverterService; @@ -42,9 +47,13 @@ import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.entity.EntityService; import org.thingsboard.server.dao.integration.IntegrationService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; +import org.thingsboard.server.dao.subscription.PlatformFeature; +import org.thingsboard.server.dao.subscription.SubscriptionService; import org.thingsboard.server.exception.DataValidationException; import org.thingsboard.server.service.entitiy.TbLogEntityActionService; +import org.thingsboard.server.service.entitiy.integration.TbIntegrationService; import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.telemetry.TelemetrySubscriptionService; import java.util.ArrayList; import java.util.List; @@ -55,6 +64,8 @@ import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoInteractions; @@ -68,6 +79,7 @@ class DefaultDevicePackageUpdateServiceTest { private final SecurityUser user = mock(SecurityUser.class); private final UUID itemId = UUID.randomUUID(); private final String versionId = UUID.randomUUID().toString(); + private final UUID installedVersionId = UUID.randomUUID(); private final DeviceProfileId profileId = new DeviceProfileId(UUID.randomUUID()); private final DashboardId dashboardId = new DashboardId(UUID.randomUUID()); private final DeviceId deviceId = new DeviceId(UUID.randomUUID()); @@ -97,6 +109,12 @@ class DefaultDevicePackageUpdateServiceTest { private EntityService entityService; @Mock private TbLogEntityActionService logEntityActionService; + @Mock + private TbIntegrationService tbIntegrationService; + @Mock + private SubscriptionService subscriptionService; + @Mock + private TelemetrySubscriptionService telemetryService; @InjectMocks private DefaultDevicePackageUpdateService service; @@ -122,8 +140,10 @@ class DefaultDevicePackageUpdateServiceTest { installedItem.setItemId(itemId); installedItem.setItemType("DEVICE"); installedItem.setVersion("1.0.0"); + installedItem.setItemVersionId(installedVersionId); installedItem.setDescriptor(descriptor); when(installedItemService.findById(tenantId, installedItem.getId())).thenReturn(installedItem); + when(installedItemService.findByIdForUpdate(tenantId, installedItem.getId())).thenReturn(installedItem); ObjectNode versionInfo = JacksonUtil.newObjectNode(); versionInfo.put("itemId", itemId.toString()); @@ -301,6 +321,82 @@ class DefaultDevicePackageUpdateServiceTest { verify(transactionTemplate, never()).execute(any()); } + @Test + void anotherUpdateCommittedMeanwhile_failsWithoutChanges() { + // E.g. a second click: it waits for the first one's lock and finds the package on another version + IotHubInstalledItem updated = new IotHubInstalledItem(); + updated.setId(installedItem.getId()); + updated.setItemVersionId(UUID.fromString(versionId)); + when(installedItemService.findByIdForUpdate(tenantId, installedItem.getId())).thenReturn(updated); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + create("Uplink", "UPLINK_CONVERTER", JacksonUtil.newObjectNode().put("name", "Uplink for TTN")))); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getErrorMessage()).contains("Check the update again"); + verify(converterService, never()).saveConverter(any()); + verify(installedItemService, never()).save(any(), any()); + } + + @Test + void planOfAnotherInstalledVersion_isRejected() { + DeviceUpdateRequest request = request(keep("AM308", "DEVICE", deviceId)); + request.setFromVersionId(UUID.randomUUID()); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request); + + assertThat(result.isSuccess()).isFalse(); + verify(installedItemService, never()).save(any(), any()); + } + + @Test + void integrationsNotInThePlan_areRefused() { + doThrow(new SubscriptionException("Integrations feature is disabled!", SubscriptionErrorCode.FEATURE_DISABLED)) + .when(subscriptionService).checkFeatureAllowed(tenantId, PlatformFeature.INTEGRATIONS); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + create("Uplink", "UPLINK_CONVERTER", JacksonUtil.newObjectNode().put("name", "Uplink for TTN")))); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getErrorMessage()).isEqualTo("Integrations feature is disabled!"); + verify(transactionTemplate, never()).execute(any()); + } + + @Test + void attributesOfAnOverwrittenEntity_areSavedAfterCommit() { + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(7L)); + when(dashboardService.saveDashboard(any(Dashboard.class))).thenAnswer(i -> i.getArgument(0)); + DeviceUpdateRequest.Step step = overwrite("Dashboard", "DASHBOARD", dashboardId, 7L, JacksonUtil.newObjectNode().put("title", "d")); + step.setServerAttributes(JacksonUtil.newObjectNode().put("deviceId", "${device.id}")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(keep("AM308", "DEVICE", deviceId), step)); + + assertThat(result.isSuccess()).isTrue(); + ArgumentCaptor saved = ArgumentCaptor.forClass(AttributesSaveRequest.class); + verify(telemetryService).saveAttributes(saved.capture()); + assertThat(saved.getValue().getEntityId()).isEqualTo(dashboardId); + assertThat(saved.getValue().getScope()).isEqualTo(AttributeScope.SERVER_SCOPE); + assertThat(saved.getValue().getEntries().get(0).getValueAsString()).isEqualTo(deviceId.getId().toString()); + } + + @Test + void checksum_ignoresDebugSettingsAndTheDefaultProfile() { + Converter converter = new Converter(); + converter.setName("Uplink"); + converter.setConfiguration(JacksonUtil.newObjectNode().put("decoder", "return {};")); + String installed = EntityChecksum.of(converter); + converter.setDebugMode(true); + converter.setDebugSettings(DebugSettings.all()); + assertThat(EntityChecksum.of(converter)).isEqualTo(installed); + converter.setConfiguration(JacksonUtil.newObjectNode().put("decoder", "return {a: 1};")); + assertThat(EntityChecksum.of(converter)).isNotEqualTo(installed); + + DeviceProfile profile = profile(1L, "AM308"); + String profileChecksum = EntityChecksum.of(profile); + profile.setDefault(true); + assertThat(EntityChecksum.of(profile)).isEqualTo(profileChecksum); + } + @Test void userMessage_showsValidationMessagesAndHidesInternalOnes() { assertThat(DefaultDevicePackageUpdateService.userMessage(new DataValidationException("Rule chains limit reached"))) diff --git a/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemDao.java b/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemDao.java index 236f5a7587..c275d6edf1 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemDao.java @@ -19,6 +19,9 @@ public interface IotHubInstalledItemDao extends Dao { Optional findByTenantIdAndId(TenantId tenantId, IotHubInstalledItemId installedItemId); + // Locks the row until the end of the current transaction + Optional findByTenantIdAndIdForUpdate(TenantId tenantId, IotHubInstalledItemId installedItemId); + PageData findByTenantId(TenantId tenantId, List itemTypes, UUID itemId, PageLink pageLink); List findInstalledItemIdsByTenantId(TenantId tenantId); diff --git a/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemService.java b/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemService.java index 5067eac572..7d910f8d6f 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemService.java +++ b/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemService.java @@ -19,6 +19,9 @@ public interface IotHubInstalledItemService { IotHubInstalledItem findById(TenantId tenantId, IotHubInstalledItemId id); + // Locks the item until the end of the current transaction, so concurrent updates of it run one after another + IotHubInstalledItem findByIdForUpdate(TenantId tenantId, IotHubInstalledItemId id); + PageData findByTenantId(TenantId tenantId, List itemTypes, UUID itemId, PageLink pageLink); List findInstalledItemIdsByTenantId(TenantId tenantId); diff --git a/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemServiceImpl.java index bf86162b86..42ec55e78d 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/iot_hub/IotHubInstalledItemServiceImpl.java @@ -37,6 +37,11 @@ class IotHubInstalledItemServiceImpl implements IotHubInstalledItemService { return iotHubInstalledItemDao.findByTenantIdAndId(tenantId, id).orElse(null); } + @Override + public IotHubInstalledItem findByIdForUpdate(TenantId tenantId, IotHubInstalledItemId id) { + return iotHubInstalledItemDao.findByTenantIdAndIdForUpdate(tenantId, id).orElse(null); + } + @Override public PageData findByTenantId(TenantId tenantId, List itemTypes, UUID itemId, PageLink pageLink) { validatePageLink(pageLink, IotHubInstalledItemEntity.ALLOWED_SORT_PROPERTIES); diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/iot_hub/IotHubInstalledItemRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/iot_hub/IotHubInstalledItemRepository.java index 21d0dc89c9..167b8925b1 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/iot_hub/IotHubInstalledItemRepository.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/iot_hub/IotHubInstalledItemRepository.java @@ -21,6 +21,9 @@ interface IotHubInstalledItemRepository extends JpaRepository findByTenantIdAndId(UUID tenantId, UUID id); + @Query(value = "SELECT * FROM iot_hub_installed_item i WHERE i.tenant_id = :tenantId AND i.id = :id FOR UPDATE", nativeQuery = true) + Optional findByTenantIdAndIdForUpdate(@Param("tenantId") UUID tenantId, @Param("id") UUID id); + @Query("SELECT DISTINCT item.itemId FROM IotHubInstalledItemEntity item WHERE item.tenantId = :tenantId") List findInstalledItemIdsByTenantId(@Param("tenantId") UUID tenantId); diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/iot_hub/JpaIotHubInstalledItemDao.java b/dao/src/main/java/org/thingsboard/server/dao/sql/iot_hub/JpaIotHubInstalledItemDao.java index c1b0c5fbb3..8c887581dc 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/iot_hub/JpaIotHubInstalledItemDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/iot_hub/JpaIotHubInstalledItemDao.java @@ -40,6 +40,11 @@ class JpaIotHubInstalledItemDao extends JpaAbstractDao findByTenantIdAndIdForUpdate(TenantId tenantId, IotHubInstalledItemId installedItemId) { + return repository.findByTenantIdAndIdForUpdate(tenantId.getId(), installedItemId.getId()).map(DaoUtil::getData); + } + @Override public PageData findByTenantId(TenantId tenantId, List itemTypes, UUID itemId, PageLink pageLink) { return DaoUtil.toPageData(repository.findByTenantId( diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index d13e0221d9..91987d81c9 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -155,8 +155,8 @@ - {{ 'iot-hub.device-update-modified' | translate }} - {{ 'iot-hub.device-update-here' | translate }}. + @let hint = textWithLink('iot-hub.device-update-modified'); + {{ hint.before }}{{ hint.link }}{{ hint.after }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 125eb182b3..be3e1df492 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -78,6 +78,8 @@ interface PreviousEntity { shared: boolean; // What the install state records for it, so that the next update decides again resolution: string; + // What the server's check found for it + state?: DevicePackageEntityState; } /** Update: what the update does with the entity of a step, decided on the Update step before anything changes. */ @@ -119,9 +121,31 @@ const readableMessage = (message: unknown): string | null => typeof message === 'string' && message.trim() && message.length <= MAX_SHOWN_ERROR_LENGTH && !/exception|java\.|https?:\/\/|\bat [\w.$]+\(/i.test(message) ? message : null; -// Fields the server sets, or that the update keeps as they are: they don't count as changes the user made +// Fields the server sets, or that the update keeps as they are: they don't count as changes the user made. +// Nor do the debug settings, which change nothing the entity does, and whether a profile is the default one. const SERVER_SET_KEYS = new Set(['id', 'name', 'title', 'routingKey', 'version', 'createdTime', 'tenantId', 'customerId', - 'ownerId', 'assignedCustomers', 'externalId', 'ruleChainId', 'resources']); + 'ownerId', 'assignedCustomers', 'externalId', 'ruleChainId', 'resources', 'debugMode', 'debugSettings', 'default']); + +// The same for a rule chain, whose first node and root flag the server sets, and for its nodes +const RULE_CHAIN_SERVER_SET_KEYS = new Set([...SERVER_SET_KEYS, 'firstRuleNodeId', 'root']); +const RULE_NODE_SERVER_SET_KEYS = new Set(['id', 'createdTime', 'ruleChainId', 'externalId', 'debugMode', 'debugSettings']); + +// Image and resource links: the server turns a dashboard's base64 images and resource links into its own on save +const IMAGE_OR_RESOURCE_LINK = /^(data:|tb-image;|tb-resource;|\/api\/images\/|\/api\/resource\/)/; + +/** The value with every image and resource link replaced by the same marker, so they compare as equal. */ +const withoutImageLinks = (value: any): any => { + if (typeof value === 'string') { + return IMAGE_OR_RESOURCE_LINK.test(value) ? '' : value; + } + if (Array.isArray(value)) { + return value.map(withoutImageLinks); + } + if (value && typeof value === 'object') { + return Object.fromEntries(Object.entries(value).map(([key, item]) => [key, withoutImageLinks(item)])); + } + return value; +}; /** * For packages installed before checksums were kept: true when the entity still has the values the template @@ -144,6 +168,23 @@ const matchesTemplate = (template: any, actual: any, skipKeys: Set = SER return template === actual; }; +/** + * matchesTemplate for rule chain metadata. The server upgrades a node's configuration saved with an older + * configurationVersion, so such a node is compared without its configuration. + */ +const matchesRuleChainMetadata = (template: any, actual: any): boolean => { + const actualNodes: any[] = actual?.nodes ?? []; + const nodes = (template.nodes ?? []).map((node: any, i: number) => { + const comparable = Object.fromEntries(Object.entries(node).filter(([key]) => !RULE_NODE_SERVER_SET_KEYS.has(key))); + if ((node.configurationVersion ?? 0) !== (actualNodes[i]?.configurationVersion ?? 0)) { + delete comparable.configuration; + delete comparable.configurationVersion; + } + return comparable; + }); + return matchesTemplate({ ...template, nodes }, actual); +}; + export type WizardStepType = 'connectivity' | 'placeholder' | 'instruction' | 'form' | 'progress'; export interface WizardStep { @@ -941,7 +982,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent s.name === stepName || this.resolveVariables(s.name) === stepName); + const matchingStep = rawSteps.find(s => s.name === stepName || this.resolveVariables(s.name) === stepName) ?? + // Update: a step the new version renamed + (this.data.update ? rawSteps.find(s => this.findPreviousStep(s)?.name === stepName) : undefined); if (matchingStep) { const alias = stepTypeAliasMap[matchingStep.type]; if (alias) { @@ -967,6 +1010,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; // In review mode, use stored values; an update starts from the values of the installed version, // except the transport fields, which take the current Device connectivity settings; otherwise use defaults - const storedState = this.reviewMode ? this.data.installState : - ws.stateKey !== TRANSPORT_STEP_STATE_KEY ? this.data.update?.descriptor.installState : undefined; - const storedValues = storedState?.[ws.stateKey ?? ws.label]?.formValues; + let storedValues: Record | undefined; + if (this.reviewMode) { + storedValues = this.data.installState?.[ws.stateKey ?? ws.label]?.formValues; + } else if (this.data.update && ws.stateKey !== TRANSPORT_STEP_STATE_KEY && ws.rawSteps[0]) { + // Also when the new version renamed the step + storedValues = this.storedStateOf(ws.rawSteps[0])?.state.formValues; + } for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); const validators = []; @@ -1781,8 +1832,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent…, which the translation may put anywhere in it, split around the link. */ + textWithLink(key: string): { before: string; link: string; after: string } { + const text: string = this.translate.instant(key); + const match = /^([\s\S]*)([\s\S]*)<\/a>([\s\S]*)$/.exec(text); + return match ? { before: match[1], link: match[2], after: match[3] } : { before: text, link: '', after: '' }; + } + /** Update: saves the entity the user changed, as it is before the update overwrites it, to a JSON file. */ downloadCurrentEntity(ep: EntityStepProgress): void { const current = this.entityPlans.get(ep)?.current; @@ -1925,6 +1985,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; - for (const [key, state] of Object.entries(installState)) { - if (state?.formValues) { - formState[key] = { formValues: state.formValues }; + if (installState[TRANSPORT_STEP_STATE_KEY]?.formValues) { + formState[TRANSPORT_STEP_STATE_KEY] = { formValues: installState[TRANSPORT_STEP_STATE_KEY].formValues }; + } + for (const step of this.packageInfo.installSteps[this.selectedInstallMethod] ?? []) { + const formValues = step.type === InstallStepType.SHOW_FORM ? this.storedStateOf(step)?.state.formValues : undefined; + if (formValues) { + formState[step.name] = { formValues }; } } try { const result = await firstValueFrom(this.iotHubApiService.updateDevicePackage(this.data.update.installedItemId, - { versionId: this.data.item.id as string, selectedInstallMethod: this.selectedInstallMethod, installState: formState, steps }, + { versionId: this.data.item.id as string, fromVersionId: this.data.update.fromVersionId, + selectedInstallMethod: this.selectedInstallMethod, installState: formState, steps }, { ignoreLoading: true, ignoreErrors: true })); if (result.success) { this.dialogRef.close('installed'); @@ -2220,6 +2291,13 @@ export class TbDeviceInstallDialogComponent extends DialogComponent name && installState[name]); + return key ? { key, state: installState[key] } : undefined; + } + private formStepChanged(step: DeviceInstallStep): boolean { const previousStep = this.findPreviousStep(step); return !previousStep || this.zipFiles.get(step.file) !== this.previousFiles.get(previousStep.file); @@ -2284,6 +2362,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent [state.stepName, state])); const plans = await Promise.all(ws.entitySteps.map(ep => this.planEntityStep(ep))); ws.entitySteps.forEach((ep, i) => this.entityPlans.set(ep, plans[i])); + this.overwriteReferencesToCreated(ws); } catch (e: any) { ws.progressError = this.failureMessage(e); } @@ -2306,17 +2385,19 @@ export class TbDeviceInstallDialogComponent extends DialogComponent this.entityPlans.get(ep)?.action === 'create') + .map(ep => stepTypeAliasMap[ep.step.type]) + .filter(alias => !!alias); + if (!createdAliases.length) { + return; + } + for (const ep of ws.entitySteps) { + const plan = this.entityPlans.get(ep); + const step = ep.step; + if (plan?.action !== 'keep' || plan.previous?.useExisting || + step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { + continue; + } + const files = [step.template, step.serverAttributes, step.sharedAttributes].map(file => file && this.zipFiles.get(file)); + if (createdAliases.some(alias => files.some(raw => raw?.includes(`\${${alias}.`)))) { + plan.action = 'overwrite'; + plan.shared = plan.previous?.shared; + plan.confirmed = !plan.shared; + } + } + } + /** * Update, for packages installed before the server kept checksums: true when the entity differs from what the - * installed version's template gave it, i.e. someone changed it since. + * installed version's template gave it, i.e. someone changed it since. Without that template, e.g. when the + * installed version failed to load, it counts as changed: the user confirms before it is overwritten. */ private differsFromTemplate(step: DeviceInstallStep, previous: PreviousEntity, current: any): boolean { const expected = this.resolvePackageFile(this.previousFiles, this.findPreviousStep(step)?.template, this.previousFormValues(), previous.output.routingKey); if (!expected) { - return false; + return true; } switch (step.type) { case InstallStepType.RULE_CHAIN: - return !matchesTemplate(expected.ruleChain || expected, current.ruleChain) || - (!!expected.metadata && !matchesTemplate(expected.metadata, current.metadata)); - case InstallStepType.DASHBOARD: - // The server stores a dashboard's configuration as it is, so a widget added counts too - return !isEqual(expected.configuration ?? null, current.configuration ?? null) || !matchesTemplate(expected, current); + return !matchesTemplate(expected.ruleChain || expected, current.ruleChain, RULE_CHAIN_SERVER_SET_KEYS) || + (!!expected.metadata && !matchesRuleChainMetadata(expected.metadata, current.metadata)); + case InstallStepType.DASHBOARD: { + // The server keeps a dashboard's configuration as it is, but for its images and resources: + // a widget added or resized counts too + const { configuration, ...dashboard } = expected; + return !isEqual(withoutImageLinks(configuration ?? null), withoutImageLinks(current.configuration ?? null)) || + !matchesTemplate(dashboard, current); + } default: return !matchesTemplate(expected, current); } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index 5b1a3678f2..3b9b9cf24e 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -56,6 +56,7 @@ export interface DeviceUpdateStep { confirmed?: boolean; entity?: any; credentials?: any; + // OVERWRITE and CREATE: the attributes the saved entity gets, as at install serverAttributes?: any; sharedAttributes?: any; resolution?: string; @@ -63,6 +64,8 @@ export interface DeviceUpdateStep { export interface DeviceUpdateRequest { versionId: string; + // The version installed when the update was planned: the server refuses the update if the package changed since + fromVersionId?: string; // The install method of the new version's steps selectedInstallMethod?: string; installState: Record; diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 04100d0e2d..7e587600c9 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6538,8 +6538,7 @@ "device-update-no-conflicts": "No conflicts", "device-update-new": "New", "device-update-shared": "Used by other packages. The update affects them.", - "device-update-modified": "Changed by someone else. You can download the current version", - "device-update-here": "here", + "device-update-modified": "Changed by someone else. You can download the current version here.", "device-install-unexpected-error": "Something went wrong. Try again.", "device-update-existing-use-existing": "Already exists. The existing one will be used.", "device-update-existing-overwrite": "Already exists. It will be overwritten.", From 298f4039de0ad3d1a4c3ba1031a2f7e716add658 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Fri, 30 Oct 2026 11:32:47 +0200 Subject: [PATCH 372/559] fix(iot-hub): follow renamed steps in the checksum and with several steps of one type --- .../DefaultDevicePackageUpdateService.java | 4 ++- .../service/iot_hub/DeviceUpdateRequest.java | 2 ++ ...DefaultDevicePackageUpdateServiceTest.java | 17 +++++++++++ .../device-install-dialog.component.ts | 30 +++++++++++++++---- .../iot-hub/iot-hub-installed-item.models.ts | 2 ++ 5 files changed, 49 insertions(+), 6 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 63ab69e53c..8b68a2f544 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -301,7 +301,9 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i state.put("resolution", step.getResolution() != null ? step.getResolution() : "created"); // A kept entity keeps the checksum of what the package left: the current one would take the // user's changes for the package's, and the next update would overwrite them without a warning - String checksum = step.getAction() == DeviceUpdateRequest.Action.KEEP ? previousChecksum(previous, step.getName()) : result.checksum(); + String checksum = step.getAction() == DeviceUpdateRequest.Action.KEEP ? + previousChecksum(previous, step.getPreviousStepName() != null ? step.getPreviousStepName() : step.getName()) : + result.checksum(); if (checksum != null) { state.put("checksum", checksum); } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java index e9cb7bb9d5..b143f22f7b 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java @@ -59,6 +59,8 @@ public class DeviceUpdateRequest { private JsonNode sharedAttributes; // The resolution the install state records for it private String resolution; + // KEEP: the install state entry of the entity, when the new version renamed its step + private String previousStepName; } } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 01c84d92e0..e3336d26c1 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -223,6 +223,23 @@ class DefaultDevicePackageUpdateServiceTest { verify(dashboardService, never()).saveDashboard(any(Dashboard.class)); } + @Test + void keptEntityOfARenamedStep_keepsTheChecksumUnderTheNewName() { + ObjectNode dashboardState = JacksonUtil.newObjectNode().put("checksum", "installed").put("resolution", "created"); + dashboardState.set("entityOutput", JacksonUtil.newObjectNode().put("id", dashboardId.getId().toString())); + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", dashboardState)); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + DeviceUpdateRequest.Step overview = keep("Overview", "DASHBOARD", dashboardId); + overview.setPreviousStepName("Dashboard"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(overview)); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Overview").get("checksum").asText()).isEqualTo("installed"); + assertThat(descriptor.getInstallState()).doesNotContainKey("Dashboard"); + } + @Test void failedStep_rollsBackAndReportsTheStep() { when(deviceProfileService.findDeviceProfileById(tenantId, profileId)).thenReturn(profile(3L, "AM308")); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index be3e1df492..96b282c231 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -78,6 +78,8 @@ interface PreviousEntity { shared: boolean; // What the install state records for it, so that the next update decides again resolution: string; + // The install state entry it was found under: the installed step's name when the new version renamed it + stateKey: string; // What the server's check found for it state?: DevicePackageEntityState; } @@ -1848,6 +1850,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent s.type === step.type); const steps = (this.packageInfo.installSteps[this.selectedInstallMethod] ?? []).filter(s => s.type === step.type); - return previousSteps.find(s => s.name === step.name) ?? - (previousSteps.length === 1 && steps.length === 1 ? previousSteps[0] : undefined); + const sameName = previousSteps.find(s => s.name === step.name); + if (sameName) { + return sameName; + } + const unmatchedPrevious = previousSteps.filter(p => !steps.some(s => s.name === p.name)); + const unmatched = steps.filter(s => !previousSteps.some(p => p.name === s.name)); + return unmatchedPrevious.length === 1 && unmatched.length === 1 ? unmatchedPrevious[0] : undefined; + } + + /** Update: true when the entity is one the installed package created. */ + private isPackageEntity(id: string): boolean { + return !!this.data.update?.descriptor.createdEntityIds?.some(created => created.id === id); } /** Update: the install state of a step of the new version, under its name or under the installed step it replaces. */ diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index 3b9b9cf24e..12b3fc205e 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -60,6 +60,8 @@ export interface DeviceUpdateStep { serverAttributes?: any; sharedAttributes?: any; resolution?: string; + // KEEP: the install state entry of the entity, when the new version renamed its step + previousStepName?: string; } export interface DeviceUpdateRequest { From 537bb7588a3f78c2fd54446261a01986f4d7f55d Mon Sep 17 00:00:00 2001 From: Dmytro Skarzhynets Date: Fri, 30 Oct 2026 15:09:32 +0200 Subject: [PATCH 373/559] chore: bump protobuf-dynamic to 1.0.5TB --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f661615c45..23c399bae0 100755 --- a/pom.xml +++ b/pom.xml @@ -144,7 +144,7 @@ 1.6.1 1.11.0 4.4 - 1.0.4TB + 1.0.5TB 6.4.5 10.1.3 3.7.4 From 9adf8e3da7e353713c86b3c519fe06f318ca41a8 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Fri, 30 Oct 2026 15:18:29 +0200 Subject: [PATCH 374/559] Add EdgeVersion V_4_4_0_2 --- common/edge-api/src/main/proto/edge.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index 4f2b4970be..cf926e53bd 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -55,6 +55,7 @@ enum EdgeVersion { V_4_3_1_8 = 4318; V_4_4_0 = 4400; V_4_4_0_1 = 4401; + V_4_4_0_2 = 4402; V_4_4_1 = 4410; V_LATEST = 99999; From 4961851ce9bb72ff5775e32d4149dd4cb1eb3cea Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Sat, 31 Oct 2026 11:06:05 +0100 Subject: [PATCH 375/559] Fixed TB_TRANSPORT_ACTIVITY_REPORTING_STRATEGY being ignored by standalone transports The transport.activity.reporting_strategy property was defined only in thingsboard.yml, so standalone MQTT, HTTP, CoAP, LwM2M and SNMP transport services silently ignored TB_TRANSPORT_ACTIVITY_REPORTING_STRATEGY and always used the LAST strategy. Add the same transport.activity block to each tb-*-transport.yml. --- transport/coap/src/main/resources/tb-coap-transport.yml | 8 ++++++++ transport/http/src/main/resources/tb-http-transport.yml | 8 ++++++++ transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml | 8 ++++++++ transport/mqtt/src/main/resources/tb-mqtt-transport.yml | 8 ++++++++ transport/snmp/src/main/resources/tb-snmp-transport.yml | 8 ++++++++ 5 files changed, 40 insertions(+) diff --git a/transport/coap/src/main/resources/tb-coap-transport.yml b/transport/coap/src/main/resources/tb-coap-transport.yml index db8e0fc034..b7eb75383d 100644 --- a/transport/coap/src/main/resources/tb-coap-transport.yml +++ b/transport/coap/src/main/resources/tb-coap-transport.yml @@ -151,6 +151,14 @@ transport: inactivity_timeout: "${TB_TRANSPORT_SESSIONS_INACTIVITY_TIMEOUT:600000}" # Interval of periodic check for expired sessions and report of the changes to session last activity time report_timeout: "${TB_TRANSPORT_SESSIONS_REPORT_TIMEOUT:3000}" + activity: + # This property specifies the strategy for reporting activity events within each reporting period. + # The accepted values are 'FIRST', 'LAST', 'FIRST_AND_LAST' and 'ALL'. + #
    • 'FIRST': Only the first activity event in each reporting period is reported.
    • + #
    • 'LAST': Only the last activity event in the reporting period is reported.
    • + #
    • 'FIRST_AND_LAST': Both the first and last activity events in the reporting period are reported.
    • + #
    • 'ALL': All activity events in the reporting period are reported.
    + reporting_strategy: "${TB_TRANSPORT_ACTIVITY_REPORTING_STRATEGY:LAST}" json: # Cast String data types to Numeric if possible when processing Telemetry/Attributes JSON type_cast_enabled: "${JSON_TYPE_CAST_ENABLED:true}" diff --git a/transport/http/src/main/resources/tb-http-transport.yml b/transport/http/src/main/resources/tb-http-transport.yml index 57d33aa88d..800b10c97b 100644 --- a/transport/http/src/main/resources/tb-http-transport.yml +++ b/transport/http/src/main/resources/tb-http-transport.yml @@ -183,6 +183,14 @@ transport: inactivity_timeout: "${TB_TRANSPORT_SESSIONS_INACTIVITY_TIMEOUT:600000}" # Interval of periodic check for expired sessions and report of the changes to session last activity time report_timeout: "${TB_TRANSPORT_SESSIONS_REPORT_TIMEOUT:3000}" + activity: + # This property specifies the strategy for reporting activity events within each reporting period. + # The accepted values are 'FIRST', 'LAST', 'FIRST_AND_LAST' and 'ALL'. + #
    • 'FIRST': Only the first activity event in each reporting period is reported.
    • + #
    • 'LAST': Only the last activity event in the reporting period is reported.
    • + #
    • 'FIRST_AND_LAST': Both the first and last activity events in the reporting period are reported.
    • + #
    • 'ALL': All activity events in the reporting period are reported.
    + reporting_strategy: "${TB_TRANSPORT_ACTIVITY_REPORTING_STRATEGY:LAST}" json: # Cast String data types to Numeric if possible when processing Telemetry/Attributes JSON type_cast_enabled: "${JSON_TYPE_CAST_ENABLED:true}" diff --git a/transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml b/transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml index 1846e6856a..d71174e27a 100644 --- a/transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml +++ b/transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml @@ -143,6 +143,14 @@ transport: inactivity_timeout: "${TB_TRANSPORT_SESSIONS_INACTIVITY_TIMEOUT:600000}" # Interval of periodic check for expired sessions and report of the changes to session last activity time report_timeout: "${TB_TRANSPORT_SESSIONS_REPORT_TIMEOUT:3000}" + activity: + # This property specifies the strategy for reporting activity events within each reporting period. + # The accepted values are 'FIRST', 'LAST', 'FIRST_AND_LAST' and 'ALL'. + #
    • 'FIRST': Only the first activity event in each reporting period is reported.
    • + #
    • 'LAST': Only the last activity event in the reporting period is reported.
    • + #
    • 'FIRST_AND_LAST': Both the first and last activity events in the reporting period are reported.
    • + #
    • 'ALL': All activity events in the reporting period are reported.
    + reporting_strategy: "${TB_TRANSPORT_ACTIVITY_REPORTING_STRATEGY:LAST}" json: # Cast String data types to Numeric if possible when processing Telemetry/Attributes JSON type_cast_enabled: "${JSON_TYPE_CAST_ENABLED:false}" diff --git a/transport/mqtt/src/main/resources/tb-mqtt-transport.yml b/transport/mqtt/src/main/resources/tb-mqtt-transport.yml index 7314b9733e..d994824a4f 100644 --- a/transport/mqtt/src/main/resources/tb-mqtt-transport.yml +++ b/transport/mqtt/src/main/resources/tb-mqtt-transport.yml @@ -206,6 +206,14 @@ transport: inactivity_timeout: "${TB_TRANSPORT_SESSIONS_INACTIVITY_TIMEOUT:600000}" # Interval of periodic check for expired sessions and report of the changes to session last activity time report_timeout: "${TB_TRANSPORT_SESSIONS_REPORT_TIMEOUT:3000}" + activity: + # This property specifies the strategy for reporting activity events within each reporting period. + # The accepted values are 'FIRST', 'LAST', 'FIRST_AND_LAST' and 'ALL'. + #
    • 'FIRST': Only the first activity event in each reporting period is reported.
    • + #
    • 'LAST': Only the last activity event in the reporting period is reported.
    • + #
    • 'FIRST_AND_LAST': Both the first and last activity events in the reporting period are reported.
    • + #
    • 'ALL': All activity events in the reporting period are reported.
    + reporting_strategy: "${TB_TRANSPORT_ACTIVITY_REPORTING_STRATEGY:LAST}" json: # Cast String data types to Numeric if possible when processing Telemetry/Attributes JSON type_cast_enabled: "${JSON_TYPE_CAST_ENABLED:true}" diff --git a/transport/snmp/src/main/resources/tb-snmp-transport.yml b/transport/snmp/src/main/resources/tb-snmp-transport.yml index 527a653bb7..aa4b7fd3cb 100644 --- a/transport/snmp/src/main/resources/tb-snmp-transport.yml +++ b/transport/snmp/src/main/resources/tb-snmp-transport.yml @@ -164,6 +164,14 @@ transport: inactivity_timeout: "${TB_TRANSPORT_SESSIONS_INACTIVITY_TIMEOUT:600000}" # Interval of periodic check for expired sessions and report of the changes to session last activity time report_timeout: "${TB_TRANSPORT_SESSIONS_REPORT_TIMEOUT:3000}" + activity: + # This property specifies the strategy for reporting activity events within each reporting period. + # The accepted values are 'FIRST', 'LAST', 'FIRST_AND_LAST' and 'ALL'. + #
    • 'FIRST': Only the first activity event in each reporting period is reported.
    • + #
    • 'LAST': Only the last activity event in the reporting period is reported.
    • + #
    • 'FIRST_AND_LAST': Both the first and last activity events in the reporting period are reported.
    • + #
    • 'ALL': All activity events in the reporting period are reported.
    + reporting_strategy: "${TB_TRANSPORT_ACTIVITY_REPORTING_STRATEGY:LAST}" json: # Cast String data types to Numeric if possible when processing Telemetry/Attributes JSON type_cast_enabled: "${JSON_TYPE_CAST_ENABLED:true}" From f56af21afbc854e5b253286651fde429e89c6676 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Sat, 31 Oct 2026 22:11:48 +0100 Subject: [PATCH 376/559] Heal the Jedis cluster slot map after a Redis/Valkey topology change Versioned cache writes (ts latest, attributes, versioned entity caches) took a connection to the slot owner from the Jedis slot map and ran EVALSHA on it directly, bypassing the Jedis cluster command executor. Only that executor renews the slot map on MOVED or connection errors, so after a failover or a node address change every later write to the moved slots failed until the JVM restarted. A failed ts latest cache write fails saveLatest, so the subscription update was never published and WebSocket clients got nothing. - Send versioned puts through the cluster client: it follows MOVED/ASK and renews the slot map itself. - WATCH/MULTI and evictByPrefix still need a connection to one node: on a connection or redirect error, renew the slot map and retry once. - Build the JedisCluster in TbJedisClusterConnectionFactory, so the slot map can be renewed on demand and is refreshed in the background (redis.cluster.topology-refresh-period-sec, default 30 s, 0 disables). - A transaction that queues EVALSHA fails with NOSCRIPT on a freshly promoted replica. Load the script on that node and report the transaction as not applied, instead of failing the read that filled the cache. - Log saveLatest/removeLatest failures at WARN, at most once per 30 s. They were logged only with TRACE enabled. RedisClusterTopologyChangeTest covers a failover (old master alive, MOVED) and a stopped master (old address gone) on a Valkey cluster; both fail on the previous code. --- .../src/main/resources/thingsboard.yml | 3 + .../server/cache/RedisTbCacheTransaction.java | 12 + .../cache/RedisTbTransactionalCache.java | 63 +++- .../cache/TBRedisClusterConfiguration.java | 8 +- .../server/cache/TbJedisCluster.java | 44 +++ .../TbJedisClusterConnectionFactory.java | 72 +++++ .../server/cache/VersionedRedisTbCache.java | 9 +- .../cache/RedisTbCacheTransactionTest.java | 46 +++ .../cache/RedisTbTransactionalCacheTest.java | 91 ++++++ .../TbJedisClusterConnectionFactoryTest.java | 63 ++++ .../CachedRedisSqlTimeseriesLatestDao.java | 68 +++-- .../dao/RedisClusterTopologyChangeTest.java | 278 ++++++++++++++++++ .../resources/tb-integration-executor.yml | 3 + .../src/main/resources/tb-coap-transport.yml | 3 + .../src/main/resources/tb-http-transport.yml | 3 + .../src/main/resources/tb-lwm2m-transport.yml | 3 + .../src/main/resources/tb-mqtt-transport.yml | 3 + .../src/main/resources/tb-snmp-transport.yml | 3 + 18 files changed, 741 insertions(+), 34 deletions(-) create mode 100644 common/cache/src/main/java/org/thingsboard/server/cache/TbJedisCluster.java create mode 100644 common/cache/src/main/java/org/thingsboard/server/cache/TbJedisClusterConnectionFactory.java create mode 100644 common/cache/src/test/java/org/thingsboard/server/cache/RedisTbCacheTransactionTest.java create mode 100644 common/cache/src/test/java/org/thingsboard/server/cache/TbJedisClusterConnectionFactoryTest.java create mode 100644 dao/src/test/java/org/thingsboard/server/dao/RedisClusterTopologyChangeTest.java diff --git a/application/src/main/resources/thingsboard.yml b/application/src/main/resources/thingsboard.yml index 1749bec2b7..992977aa83 100644 --- a/application/src/main/resources/thingsboard.yml +++ b/application/src/main/resources/thingsboard.yml @@ -1115,6 +1115,9 @@ redis: nodes: "${REDIS_NODES:}" # Maximum number of redirects to follow when executing commands across the cluster. max-redirects: "${REDIS_MAX_REDIRECTS:12}" + # Period in seconds of the background refresh of the cluster slot map. It finds slots that moved to another node + # (after a failover, or when a node gets a new IP) even before a command to the old node fails. Set 0 to disable. + topology-refresh-period-sec: "${REDIS_CLUSTER_TOPOLOGY_REFRESH_PERIOD_SEC:30}" # if set false will be used pool config build from values of the pool config section useDefaultPoolConfig: "${REDIS_USE_DEFAULT_POOL_CONFIG:true}" sentinel: diff --git a/common/cache/src/main/java/org/thingsboard/server/cache/RedisTbCacheTransaction.java b/common/cache/src/main/java/org/thingsboard/server/cache/RedisTbCacheTransaction.java index 044fdb0f0b..556e6281b2 100644 --- a/common/cache/src/main/java/org/thingsboard/server/cache/RedisTbCacheTransaction.java +++ b/common/cache/src/main/java/org/thingsboard/server/cache/RedisTbCacheTransaction.java @@ -4,7 +4,9 @@ package org.thingsboard.server.cache; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; +import org.springframework.dao.InvalidDataAccessApiUsageException; import org.springframework.data.redis.connection.RedisConnection; +import redis.clients.jedis.exceptions.JedisNoScriptException; import java.io.Serializable; import java.util.Objects; @@ -27,6 +29,16 @@ public class RedisTbCacheTransaction { + try (var connection = getConnection(rawPrefix)) { + executeScript(connection, EVICT_BY_PREFIX_SHA, EVICT_BY_PREFIX_LUA_SCRIPT, ReturnType.INTEGER, 0, rawPrefix, rawBatchSize); + } + return null; + }); } @Override @@ -222,14 +231,17 @@ public abstract class RedisTbTransactionalCache doWatch(rawKeysList)); + } + + private RedisConnection doWatch(byte[][] rawKeysList) { RedisConnection connection = getConnection(rawKeysList[0]); try { connection.watch(rawKeysList); @@ -249,6 +265,34 @@ public abstract class RedisTbTransactionalCache T retryOnClusterTopologyChange(Supplier command) { + try { + return command.get(); + } catch (RuntimeException e) { + if (!connectionFactory.isRedisClusterAware() || !isClusterTopologyError(e) + || !(getNativeCluster() instanceof TbJedisCluster cluster)) { + throw e; + } + log.warn("[{}] Redis cluster topology changed, renewing the slot map and retrying: {}", cacheName, e.getMessage()); + cluster.renewSlotCache(); + return command.get(); + } + } + + static boolean isClusterTopologyError(Throwable e) { + return e instanceof JedisConnectionException || e instanceof JedisRedirectionException + || e instanceof RedisConnectionFailureException || e instanceof ClusterRedirectException; + } + + private JedisCluster getNativeCluster() { + return ((JedisClusterConnection) connectionFactory.getClusterConnection()).getNativeConnection(); + } + protected byte[] getRawKey(K key) { String keyString = rawKeyPrefix + key.toString(); byte[] rawKey; @@ -295,6 +339,13 @@ public abstract class RedisTbTransactionalCache 0 ? Duration.ofSeconds(topologyRefreshPeriodSec) : null; + return new TbJedisClusterConnectionFactory(clusterConfiguration, buildClientConfig(), topologyRefreshPeriod); } private JedisClientConfiguration buildClientConfig() { diff --git a/common/cache/src/main/java/org/thingsboard/server/cache/TbJedisCluster.java b/common/cache/src/main/java/org/thingsboard/server/cache/TbJedisCluster.java new file mode 100644 index 0000000000..06b13deb87 --- /dev/null +++ b/common/cache/src/main/java/org/thingsboard/server/cache/TbJedisCluster.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.cache; + +import org.apache.commons.pool2.impl.GenericObjectPoolConfig; +import redis.clients.jedis.Connection; +import redis.clients.jedis.HostAndPort; +import redis.clients.jedis.JedisClientConfig; +import redis.clients.jedis.JedisCluster; +import redis.clients.jedis.providers.ClusterConnectionProvider; + +import java.time.Duration; +import java.util.Set; + +/** + * {@link JedisCluster} whose slot map can be renewed on demand. + *

    + * Commands sent through the cluster command executor renew the slot map themselves, on MOVED and on repeated + * connection errors. Commands that need one node connection (WATCH/MULTI, a script pinned to one slot) borrow it + * through {@link #getConnectionFromSlot(int)}, which bypasses that executor. When such a command fails because the + * cluster topology changed, the caller must call {@link #renewSlotCache()}. Otherwise every later call goes to the + * old node again, and if that node's address is gone, it fails until the JVM restarts. + */ +public class TbJedisCluster extends JedisCluster { + + /** + * @param topologyRefreshPeriod period of the background slot map refresh, or {@code null} to disable it + */ + public TbJedisCluster(Set clusterNodes, JedisClientConfig clientConfig, GenericObjectPoolConfig poolConfig, + Duration topologyRefreshPeriod, int maxAttempts) { + // Same retry budget as the JedisCluster constructor used by Spring's JedisConnectionFactory. + super(clusterNodes, clientConfig, poolConfig, topologyRefreshPeriod, maxAttempts, + Duration.ofMillis((long) clientConfig.getSocketTimeoutMillis() * maxAttempts)); + } + + /** + * Reloads the slot map from the cluster. Seed nodes are asked first, so this works even when every known node + * address has changed. Returns immediately if another thread is already renewing it. + */ + public void renewSlotCache() { + ((ClusterConnectionProvider) provider).renewSlotCache(); + } + +} diff --git a/common/cache/src/main/java/org/thingsboard/server/cache/TbJedisClusterConnectionFactory.java b/common/cache/src/main/java/org/thingsboard/server/cache/TbJedisClusterConnectionFactory.java new file mode 100644 index 0000000000..f1efc0276a --- /dev/null +++ b/common/cache/src/main/java/org/thingsboard/server/cache/TbJedisClusterConnectionFactory.java @@ -0,0 +1,72 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.cache; + +import org.apache.commons.pool2.impl.GenericObjectPoolConfig; +import org.springframework.data.redis.connection.RedisClusterConfiguration; +import org.springframework.data.redis.connection.jedis.JedisClientConfiguration; +import org.springframework.data.redis.connection.jedis.JedisConnectionFactory; +import org.thingsboard.server.common.data.StringUtils; +import redis.clients.jedis.Connection; +import redis.clients.jedis.DefaultJedisClientConfig; +import redis.clients.jedis.HostAndPort; +import redis.clients.jedis.JedisClientConfig; +import redis.clients.jedis.JedisCluster; + +import java.time.Duration; +import java.util.Set; +import java.util.stream.Collectors; + +/** + * Cluster connection factory that creates a {@link TbJedisCluster}, so the cache can renew the Jedis slot map after + * a topology change, and the slot map is also refreshed in the background. + */ +public class TbJedisClusterConnectionFactory extends JedisConnectionFactory { + + private static final int DEFAULT_MAX_REDIRECTS = 5; // same default as JedisConnectionFactory#createCluster + + private final Duration topologyRefreshPeriod; + + /** + * @param topologyRefreshPeriod period of the background slot map refresh, or {@code null} to disable it + */ + public TbJedisClusterConnectionFactory(RedisClusterConfiguration clusterConfiguration, JedisClientConfiguration clientConfiguration, + Duration topologyRefreshPeriod) { + super(clusterConfiguration, clientConfiguration); + this.topologyRefreshPeriod = topologyRefreshPeriod; + } + + @Override + protected JedisCluster createCluster(RedisClusterConfiguration clusterConfig, GenericObjectPoolConfig poolConfig) { + Set nodes = clusterConfig.getClusterNodes().stream() + .map(node -> new HostAndPort(node.getHost(), node.getPort())) + .collect(Collectors.toSet()); + int maxRedirects = clusterConfig.getMaxRedirects() != null ? clusterConfig.getMaxRedirects() : DEFAULT_MAX_REDIRECTS; + return new TbJedisCluster(nodes, createClusterClientConfig(clusterConfig), poolConfig, topologyRefreshPeriod, maxRedirects); + } + + /** + * Builds the same Jedis client config as {@code JedisConnectionFactory#createClientConfig}, which is private. + */ + JedisClientConfig createClusterClientConfig(RedisClusterConfiguration clusterConfig) { + JedisClientConfiguration clientConfiguration = getClientConfiguration(); + DefaultJedisClientConfig.Builder builder = DefaultJedisClientConfig.builder(); + clientConfiguration.getClientName().ifPresent(builder::clientName); + builder.connectionTimeoutMillis(Math.toIntExact(clientConfiguration.getConnectTimeout().toMillis())); + builder.socketTimeoutMillis(Math.toIntExact(clientConfiguration.getReadTimeout().toMillis())); + builder.database(getDatabase()); + if (StringUtils.isNotEmpty(clusterConfig.getUsername())) { + builder.user(clusterConfig.getUsername()); + } + clusterConfig.getPassword().toOptional().map(String::new).ifPresent(builder::password); + if (clientConfiguration.isUseSsl()) { + builder.ssl(true); + clientConfiguration.getSslSocketFactory().ifPresent(builder::sslSocketFactory); + clientConfiguration.getHostnameVerifier().ifPresent(builder::hostnameVerifier); + clientConfiguration.getSslParameters().ifPresent(builder::sslParameters); + } + clientConfiguration.getCustomizer().ifPresent(customizer -> customizer.customize(builder)); + return builder.build(); + } + +} diff --git a/common/cache/src/main/java/org/thingsboard/server/cache/VersionedRedisTbCache.java b/common/cache/src/main/java/org/thingsboard/server/cache/VersionedRedisTbCache.java index 5f5c3e4162..8c8cb16543 100644 --- a/common/cache/src/main/java/org/thingsboard/server/cache/VersionedRedisTbCache.java +++ b/common/cache/src/main/java/org/thingsboard/server/cache/VersionedRedisTbCache.java @@ -91,7 +91,9 @@ public abstract class VersionedRedisTbCache cache = mock(RedisTbTransactionalCache.class); + private final RedisConnection connection = mock(RedisConnection.class); + private final RedisTbCacheTransaction transaction = new RedisTbCacheTransaction<>(cache, connection); + + @Test + void givenNoScriptOnExec_whenCommit_thenLoadsScriptsAndReportsNotApplied() { + when(connection.exec()).thenThrow(new InvalidDataAccessApiUsageException("NOSCRIPT No matching script.", + new JedisNoScriptException("NOSCRIPT No matching script."))); + + assertThat(transaction.commit()).isFalse(); + + verify(cache).loadScripts(connection); + verify(connection).close(); + } + + @Test + void givenOtherErrorOnExec_whenCommit_thenThrows() { + when(connection.exec()).thenThrow(new InvalidDataAccessApiUsageException("WRONGTYPE", new JedisDataException("WRONGTYPE"))); + + assertThatThrownBy(transaction::commit).isInstanceOf(InvalidDataAccessApiUsageException.class); + + verify(cache, never()).loadScripts(connection); + verify(connection).close(); + } + +} diff --git a/common/cache/src/test/java/org/thingsboard/server/cache/RedisTbTransactionalCacheTest.java b/common/cache/src/test/java/org/thingsboard/server/cache/RedisTbTransactionalCacheTest.java index d7e0b33cf7..b3c77c0864 100644 --- a/common/cache/src/test/java/org/thingsboard/server/cache/RedisTbTransactionalCacheTest.java +++ b/common/cache/src/test/java/org/thingsboard/server/cache/RedisTbTransactionalCacheTest.java @@ -4,19 +4,29 @@ package org.thingsboard.server.cache; import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; +import org.springframework.dao.InvalidDataAccessApiUsageException; +import org.springframework.data.redis.ClusterRedirectException; +import org.springframework.data.redis.RedisConnectionFailureException; import org.springframework.data.redis.connection.RedisConnection; import org.springframework.data.redis.connection.RedisConnectionFactory; import org.springframework.data.redis.connection.RedisScriptingCommands; import org.springframework.data.redis.connection.ReturnType; +import org.springframework.data.redis.connection.jedis.JedisClusterConnection; import org.springframework.data.redis.connection.jedis.JedisConnectionFactory; +import redis.clients.jedis.HostAndPort; +import redis.clients.jedis.exceptions.JedisConnectionException; +import redis.clients.jedis.exceptions.JedisMovedDataException; import java.nio.charset.StandardCharsets; import java.util.Map; +import java.util.concurrent.atomic.AtomicInteger; import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @@ -73,6 +83,87 @@ class RedisTbTransactionalCacheTest { assertThat(rawKeyString(cache, "device_1")).startsWith(scanPrefix); } + @Test + void givenClusterTopologyError_whenRetryOnClusterTopologyChange_thenRenewsSlotMapAndRetriesOnce() { + TestRedisCache cache = createCache(""); + TbJedisCluster cluster = mockCluster(); + AtomicInteger attempts = new AtomicInteger(); + + String result = cache.retryOnClusterTopologyChange(() -> { + if (attempts.incrementAndGet() == 1) { + throw new JedisConnectionException("Failed to connect to 10.0.0.1:6379."); + } + return "ok"; + }); + + assertThat(result).isEqualTo("ok"); + assertThat(attempts).hasValue(2); + verify(cluster).renewSlotCache(); + } + + @Test + void givenClusterTopologyErrorTwice_whenRetryOnClusterTopologyChange_thenThrowsAfterOneRetry() { + TestRedisCache cache = createCache(""); + TbJedisCluster cluster = mockCluster(); + AtomicInteger attempts = new AtomicInteger(); + + assertThatThrownBy(() -> cache.retryOnClusterTopologyChange(() -> { + attempts.incrementAndGet(); + throw new ClusterRedirectException(2050, "10.0.0.2", 6379, null); + })).isInstanceOf(ClusterRedirectException.class); + + assertThat(attempts).hasValue(2); + verify(cluster).renewSlotCache(); + } + + @Test + void givenOtherError_whenRetryOnClusterTopologyChange_thenThrowsWithoutRenewing() { + TestRedisCache cache = createCache(""); + TbJedisCluster cluster = mockCluster(); + AtomicInteger attempts = new AtomicInteger(); + + assertThatThrownBy(() -> cache.retryOnClusterTopologyChange(() -> { + attempts.incrementAndGet(); + throw new InvalidDataAccessApiUsageException("NOSCRIPT"); + })).isInstanceOf(InvalidDataAccessApiUsageException.class); + + assertThat(attempts).hasValue(1); + verify(cluster, never()).renewSlotCache(); + } + + @Test + void givenStandaloneRedis_whenRetryOnClusterTopologyChange_thenThrowsWithoutRetry() { + TestRedisCache cache = createCache(""); + AtomicInteger attempts = new AtomicInteger(); + + assertThatThrownBy(() -> cache.retryOnClusterTopologyChange(() -> { + attempts.incrementAndGet(); + throw new RedisConnectionFailureException("Connection refused"); + })).isInstanceOf(RedisConnectionFailureException.class); + + assertThat(attempts).hasValue(1); + verify(connectionFactory, never()).getClusterConnection(); + } + + @Test + void isClusterTopologyError() { + assertThat(RedisTbTransactionalCache.isClusterTopologyError(new JedisConnectionException("refused"))).isTrue(); + assertThat(RedisTbTransactionalCache.isClusterTopologyError(new JedisMovedDataException("MOVED 2050 10.0.0.2:6379", new HostAndPort("10.0.0.2", 6379), 2050))).isTrue(); + assertThat(RedisTbTransactionalCache.isClusterTopologyError(new RedisConnectionFailureException("refused"))).isTrue(); + assertThat(RedisTbTransactionalCache.isClusterTopologyError(new ClusterRedirectException(2050, "10.0.0.2", 6379, null))).isTrue(); + assertThat(RedisTbTransactionalCache.isClusterTopologyError(new InvalidDataAccessApiUsageException("NOSCRIPT"))).isFalse(); + assertThat(RedisTbTransactionalCache.isClusterTopologyError(new IllegalStateException())).isFalse(); + } + + private TbJedisCluster mockCluster() { + TbJedisCluster cluster = mock(TbJedisCluster.class); + JedisClusterConnection clusterConnection = mock(JedisClusterConnection.class); + when(clusterConnection.getNativeConnection()).thenReturn(cluster); + when(connectionFactory.isRedisClusterAware()).thenReturn(true); + when(connectionFactory.getClusterConnection()).thenReturn(clusterConnection); + return cluster; + } + private TestRedisCache createCache(String keyPrefix) { connectionFactory = mock(JedisConnectionFactory.class); RedisConnection connection = mock(RedisConnection.class); diff --git a/common/cache/src/test/java/org/thingsboard/server/cache/TbJedisClusterConnectionFactoryTest.java b/common/cache/src/test/java/org/thingsboard/server/cache/TbJedisClusterConnectionFactoryTest.java new file mode 100644 index 0000000000..3ae1764cfb --- /dev/null +++ b/common/cache/src/test/java/org/thingsboard/server/cache/TbJedisClusterConnectionFactoryTest.java @@ -0,0 +1,63 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.cache; + +import org.junit.jupiter.api.Test; +import org.springframework.data.redis.connection.RedisClusterConfiguration; +import org.springframework.data.redis.connection.jedis.JedisClientConfiguration; +import redis.clients.jedis.JedisClientConfig; + +import javax.net.ssl.SSLSocketFactory; +import java.time.Duration; +import java.util.List; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.Mockito.mock; + +/** + * {@link TbJedisClusterConnectionFactory} builds the Jedis client config itself, because Spring keeps its own private. + * It must carry every setting ThingsBoard passes to Spring, or cluster connections lose auth, TLS or timeouts. + */ +class TbJedisClusterConnectionFactoryTest { + + @Test + void givenDefaultClientConfiguration_whenCreateClusterClientConfig_thenUsesSpringDefaults() { + RedisClusterConfiguration clusterConfig = new RedisClusterConfiguration(List.of("127.0.0.1:6379")); + var factory = new TbJedisClusterConnectionFactory(clusterConfig, JedisClientConfiguration.defaultConfiguration(), null); + + JedisClientConfig config = factory.createClusterClientConfig(clusterConfig); + + assertThat(config.getConnectionTimeoutMillis()).isEqualTo(2000); + assertThat(config.getSocketTimeoutMillis()).isEqualTo(2000); + assertThat(config.getDatabase()).isZero(); + assertThat(config.getUser()).isNull(); + assertThat(config.getPassword()).isNull(); + assertThat(config.isSsl()).isFalse(); + } + + @Test + void givenAuthTlsAndTimeouts_whenCreateClusterClientConfig_thenAllAreApplied() { + RedisClusterConfiguration clusterConfig = new RedisClusterConfiguration(List.of("127.0.0.1:6379")); + clusterConfig.setUsername("tb"); + clusterConfig.setPassword("secret"); + SSLSocketFactory sslSocketFactory = mock(SSLSocketFactory.class); + JedisClientConfiguration clientConfiguration = JedisClientConfiguration.builder() + .clientName("tb-node") + .connectTimeout(Duration.ofSeconds(3)) + .readTimeout(Duration.ofSeconds(4)) + .useSsl().sslSocketFactory(sslSocketFactory) + .and().build(); + var factory = new TbJedisClusterConnectionFactory(clusterConfig, clientConfiguration, Duration.ofSeconds(30)); + + JedisClientConfig config = factory.createClusterClientConfig(clusterConfig); + + assertThat(config.getClientName()).isEqualTo("tb-node"); + assertThat(config.getConnectionTimeoutMillis()).isEqualTo(3000); + assertThat(config.getSocketTimeoutMillis()).isEqualTo(4000); + assertThat(config.getUser()).isEqualTo("tb"); + assertThat(config.getPassword()).isEqualTo("secret"); + assertThat(config.isSsl()).isTrue(); + assertThat(config.getSslSocketFactory()).isSameAs(sslSocketFactory); + } + +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/sqlts/CachedRedisSqlTimeseriesLatestDao.java b/dao/src/main/java/org/thingsboard/server/dao/sqlts/CachedRedisSqlTimeseriesLatestDao.java index 4330f855e7..bb15507be5 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sqlts/CachedRedisSqlTimeseriesLatestDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sqlts/CachedRedisSqlTimeseriesLatestDao.java @@ -31,6 +31,8 @@ import org.thingsboard.server.dao.util.SqlTsLatestAnyDaoCachedRedis; import java.util.List; import java.util.Optional; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicLong; @Slf4j @Component @@ -39,6 +41,7 @@ import java.util.Optional; @Primary public class CachedRedisSqlTimeseriesLatestDao extends BaseAbstractSqlTimeseriesDao implements TimeseriesLatestDao { public static final String STATS_NAME = "ts_latest.cache"; + private static final long FAILURE_LOG_INTERVAL_MS = TimeUnit.SECONDS.toMillis(30); final CacheExecutorService cacheExecutorService; final SqlTimeseriesLatestDao sqlDao; final StatsFactory statsFactory; @@ -46,6 +49,8 @@ public class CachedRedisSqlTimeseriesLatestDao extends BaseAbstractSqlTimeseries final CitusSettings citusSettings; DefaultCounter hitCounter; DefaultCounter missCounter; + private final AtomicLong lastFailureLogTime = new AtomicLong(); + private final AtomicLong suppressedFailures = new AtomicLong(); @PostConstruct public void init() { @@ -62,19 +67,17 @@ public class CachedRedisSqlTimeseriesLatestDao extends BaseAbstractSqlTimeseries return version; }, cacheExecutorService); - if (log.isTraceEnabled()) { - Futures.addCallback(future, new FutureCallback<>() { - @Override - public void onSuccess(Long result) { - log.trace("saveLatest onSuccess [{}][{}][{}]", entityId, tsKvEntry.getKey(), tsKvEntry); - } - - @Override - public void onFailure(Throwable t) { - log.info("saveLatest onFailure [{}][{}][{}]", entityId, tsKvEntry.getKey(), tsKvEntry, t); - } - }, MoreExecutors.directExecutor()); - } + Futures.addCallback(future, new FutureCallback<>() { + @Override + public void onSuccess(Long result) { + log.trace("saveLatest onSuccess [{}][{}][{}]", entityId, tsKvEntry.getKey(), tsKvEntry); + } + + @Override + public void onFailure(Throwable t) { + logFailure("saveLatest", entityId, tsKvEntry.getKey(), t); + } + }, MoreExecutors.directExecutor()); return future; } @@ -107,22 +110,35 @@ public class CachedRedisSqlTimeseriesLatestDao extends BaseAbstractSqlTimeseries return x; }, cacheExecutorService); - if (log.isTraceEnabled()) { - Futures.addCallback(future, new FutureCallback<>() { - @Override - public void onSuccess(TsKvLatestRemovingResult result) { - log.trace("removeLatest onSuccess [{}][{}][{}]", entityId, query.getKey(), query); - } - - @Override - public void onFailure(Throwable t) { - log.info("removeLatest onFailure [{}][{}][{}]", entityId, query.getKey(), query, t); - } - }, MoreExecutors.directExecutor()); - } + Futures.addCallback(future, new FutureCallback<>() { + @Override + public void onSuccess(TsKvLatestRemovingResult result) { + log.trace("removeLatest onSuccess [{}][{}][{}]", entityId, query.getKey(), query); + } + + @Override + public void onFailure(Throwable t) { + logFailure("removeLatest", entityId, query.getKey(), t); + } + }, MoreExecutors.directExecutor()); return future; } + /** + * A failed save or remove fails the returned future, so the caller does not publish the subscription update. + * Log it, at most once per {@link #FAILURE_LOG_INTERVAL_MS}: when Redis fails, every write fails. + */ + private void logFailure(String operation, EntityId entityId, String key, Throwable t) { + long now = System.currentTimeMillis(); + long lastLogTime = lastFailureLogTime.get(); + if (now - lastLogTime >= FAILURE_LOG_INTERVAL_MS && lastFailureLogTime.compareAndSet(lastLogTime, now)) { + log.warn("[{}][{}] {} failed ({} more latest-value write failures since the previous log)", + entityId, key, operation, suppressedFailures.getAndSet(0), t); + } else { + suppressedFailures.incrementAndGet(); + } + } + @Override public ListenableFuture> findLatestOpt(TenantId tenantId, EntityId entityId, String key) { log.trace("findLatestOpt"); diff --git a/dao/src/test/java/org/thingsboard/server/dao/RedisClusterTopologyChangeTest.java b/dao/src/test/java/org/thingsboard/server/dao/RedisClusterTopologyChangeTest.java new file mode 100644 index 0000000000..a589c68222 --- /dev/null +++ b/dao/src/test/java/org/thingsboard/server/dao/RedisClusterTopologyChangeTest.java @@ -0,0 +1,278 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao; + +import lombok.SneakyThrows; +import lombok.extern.slf4j.Slf4j; +import org.junit.jupiter.api.AfterAll; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.EnumSource; +import org.springframework.data.redis.connection.jedis.JedisConnectionFactory; +import org.springframework.test.util.ReflectionTestUtils; +import org.testcontainers.containers.GenericContainer; +import org.thingsboard.server.cache.CacheSpecs; +import org.thingsboard.server.cache.CacheSpecsMap; +import org.thingsboard.server.cache.TBRedisClusterConfiguration; +import org.thingsboard.server.cache.TbCacheTransaction; +import org.thingsboard.server.common.data.CacheConstants; +import org.thingsboard.server.common.data.FstStatsService; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.kv.BasicTsKvEntry; +import org.thingsboard.server.common.data.kv.LongDataEntry; +import org.thingsboard.server.common.data.kv.TsKvEntry; +import org.thingsboard.server.dao.timeseries.TsLatestCacheKey; +import org.thingsboard.server.dao.timeseries.TsLatestRedisCache; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicLong; +import java.util.stream.IntStream; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.awaitility.Awaitility.await; +import static org.mockito.Mockito.mock; + +/** + * A Valkey cluster topology change must not break latest-value cache writes until the JVM restarts. + *

    + * Each test first writes every key, so the Jedis slot map points at the current masters. Then it changes the + * topology and checks that plain writes (a versioned Lua script) and transactional writes (WATCH/MULTI on the slot + * owner) work again right away, with the background slot map refresh off. Two cases: + *

      + *
    • failover: the old master stays alive as a replica and answers MOVED;
    • + *
    • node gone: the old master's address no longer accepts connections, as when a Kubernetes pod gets a new IP.
    • + *
    + */ +@Slf4j +class RedisClusterTopologyChangeTest { + + private static final List PORTS = List.of(6381, 6382, 6383, 6384, 6385, 6386); + private static final String NODES = String.join(",", PORTS.stream().map(port -> "127.0.0.1:" + port).toList()); + private static final String IMAGE = "bitnamilegacy/valkey-cluster:8.0"; + private static final int KEY_COUNT = 64; // enough keys to cover the slots of every master + + private static final List> CONTAINERS = PORTS.stream() + .>map(port -> new GenericContainer<>(IMAGE) + .withEnv(Map.of( + "VALKEY_CLUSTER_ANNOUNCE_IP", "127.0.0.1", + "VALKEY_CLUSTER_DYNAMIC_IPS", "no", + "ALLOW_EMPTY_PASSWORD", "yes", + "VALKEY_NODES", NODES.replace(",", " "), + "VALKEY_PORT_NUMBER", String.valueOf(port))) + .withNetworkMode("host")) + .toList(); + + private static final List KEYS = IntStream.range(0, KEY_COUNT) + .mapToObj(i -> new TsLatestCacheKey(new DeviceId(UUID.randomUUID()), "temperature")) + .toList(); + private static final AtomicLong VERSION = new AtomicLong(); + + private static JedisConnectionFactory connectionFactory; + private static TsLatestRedisCache cache; + + @BeforeAll + static void beforeAll() throws Exception { + CONTAINERS.forEach(GenericContainer::start); + TimeUnit.SECONDS.sleep(5); // let every node start listening + var result = CONTAINERS.get(0).execInContainer("/bin/sh", "-c", + "valkey-cli --cluster create " + NODES.replace(",", " ") + " --cluster-replicas 1 --cluster-yes"); + assertThat(result.getExitCode()).as(result.getStdout() + result.getStderr()).isZero(); + // Detect a stopped master in 2 s instead of the default 15 s, so its replica takes over sooner. + PORTS.forEach(port -> exec(containerOf(port), port, "CONFIG", "SET", "cluster-node-timeout", "2000")); + await("cluster ready").atMost(60, TimeUnit.SECONDS).pollInterval(1, TimeUnit.SECONDS).until(RedisClusterTopologyChangeTest::isClusterStable); + + TBRedisClusterConfiguration configuration = new TBRedisClusterConfiguration(); + ReflectionTestUtils.setField(configuration, "clusterNodes", NODES); + ReflectionTestUtils.setField(configuration, "maxRedirects", 12); + ReflectionTestUtils.setField(configuration, "useDefaultPoolConfig", true); + ReflectionTestUtils.setField(configuration, "topologyRefreshPeriodSec", 0L); // test the recovery on the failed call alone + configuration.setEvictTtlInMs(60000); + connectionFactory = configuration.loadFactory(); + connectionFactory.afterPropertiesSet(); + + CacheSpecs specs = new CacheSpecs(); + specs.setMaxSize(10000); + specs.setTimeToLiveInMinutes(60); + CacheSpecsMap specsMap = new CacheSpecsMap(); + specsMap.setSpecs(Map.of(CacheConstants.TS_LATEST_CACHE, specs)); + cache = new TsLatestRedisCache(configuration, specsMap, connectionFactory); + ReflectionTestUtils.setField(cache, "fstStatsService", mock(FstStatsService.class)); + } + + @AfterAll + static void afterAll() { + if (connectionFactory != null) { + connectionFactory.destroy(); + } + CONTAINERS.forEach(GenericContainer::stop); + } + + @ParameterizedTest + @EnumSource(WritePath.class) + void givenWarmSlotMap_whenMasterFailsOver_thenWritesWorkWithoutRestart(WritePath firstWritePath) throws Exception { + await("cluster stable").atMost(60, TimeUnit.SECONDS).until(RedisClusterTopologyChangeTest::isClusterStable); + writeAndVerifyAllKeys(WritePath.SCRIPT); // point the Jedis slot map at the current masters + ClusterNode master = pickMasterWithLiveReplica(); + ClusterNode replica = liveReplicaOf(master); + log.info("Failing over master {} to replica {}", master.port(), replica.port()); + + var result = containerOf(replica.port()).execInContainer("valkey-cli", "-p", String.valueOf(replica.port()), "CLUSTER", "FAILOVER"); + assertThat(result.getStdout()).contains("OK"); + await("replica promoted").atMost(60, TimeUnit.SECONDS).pollInterval(500, TimeUnit.MILLISECONDS) + .until(() -> isMaster(replica.port()) && isClusterStable()); + + writeAndVerifyAfterTopologyChange(firstWritePath); + writeAndVerifyAfterTopologyChange(firstWritePath.other()); + } + + @ParameterizedTest + @EnumSource(WritePath.class) + void givenWarmSlotMap_whenMasterNodeIsGone_thenWritesWorkWithoutRestart(WritePath firstWritePath) throws Exception { + await("cluster stable").atMost(60, TimeUnit.SECONDS).until(RedisClusterTopologyChangeTest::isClusterStable); + writeAndVerifyAllKeys(WritePath.SCRIPT); // point the Jedis slot map at the current masters + ClusterNode master = pickMasterWithLiveReplica(); + ClusterNode replica = liveReplicaOf(master); + log.info("Stopping master {}, its replica {} takes over", master.port(), replica.port()); + + containerOf(master.port()).stop(); + await("replica promoted").atMost(60, TimeUnit.SECONDS).pollInterval(500, TimeUnit.MILLISECONDS) + .until(() -> isMaster(replica.port()) && isClusterStable()); + + writeAndVerifyAfterTopologyChange(firstWritePath); + writeAndVerifyAfterTopologyChange(firstWritePath.other()); + } + + /** + * The two ways the cache writes to a slot owner. The first one to run after a topology change meets the stale + * slot map; once it renews the map, the other one finds it already fresh. So each case runs once per path first. + */ + enum WritePath { + SCRIPT, // versioned put: Lua script sent through the cluster client + TRANSACTION; // WATCH/MULTI on a connection to the slot owner + + WritePath other() { + return this == SCRIPT ? TRANSACTION : SCRIPT; + } + } + + /** + * No write may throw. A transaction may still be not applied once per promoted node: that node does not have the + * versioned-put script yet, the transaction loads it and reports a miss. So the first pass only has to complete, + * and the second pass must store every key. + */ + private static void writeAndVerifyAfterTopologyChange(WritePath writePath) { + writeAllKeys(writePath, VERSION.incrementAndGet()); + writeAndVerifyAllKeys(writePath); + } + + private static void writeAndVerifyAllKeys(WritePath writePath) { + long version = VERSION.incrementAndGet(); + writeAllKeys(writePath, version); + verifyAllKeys(version); + } + + private static void writeAllKeys(WritePath writePath, long version) { + for (TsLatestCacheKey key : KEYS) { + if (writePath == WritePath.SCRIPT) { + cache.put(key, entry(version)); + } else { + TbCacheTransaction transaction = cache.newTransactionForKey(key); + transaction.put(key, entry(version)); + transaction.commit(); + } + } + } + + private static void verifyAllKeys(long version) { + for (TsLatestCacheKey key : KEYS) { + var cached = cache.get(key); + assertThat(cached).as("cached value of %s", key).isNotNull(); + assertThat(cached.get().getLongValue()).as("cached value of %s", key).contains(version); + } + } + + private static TsKvEntry entry(long version) { + return new BasicTsKvEntry(System.currentTimeMillis(), new LongDataEntry("temperature", version), version); + } + + private static ClusterNode pickMasterWithLiveReplica() { + List nodes = clusterNodes(); + return nodes.stream() + .filter(node -> node.master() && !node.failed()) + .filter(master -> nodes.stream().anyMatch(n -> master.id().equals(n.masterId()) && !n.failed())) + .findFirst() + .orElseThrow(() -> new IllegalStateException("No master with a live replica: " + nodes)); + } + + private static ClusterNode liveReplicaOf(ClusterNode master) { + return clusterNodes().stream() + .filter(node -> master.id().equals(node.masterId()) && !node.failed()) + .findFirst() + .orElseThrow(); + } + + private static boolean isMaster(int port) { + return clusterNodes(containerOf(port), port).stream().anyMatch(node -> node.port() == port && node.master()); + } + + /** + * Every running node reports {@code cluster_state:ok}, and every running replica has finished syncing with its + * master: Valkey does not promote a replica that never synced, so a failover test must wait for it. + */ + private static boolean isClusterStable() { + return runningPorts().stream().allMatch(port -> { + GenericContainer container = containerOf(port); + String replication = exec(container, port, "INFO", "replication"); + return exec(container, port, "CLUSTER", "INFO").contains("cluster_state:ok") + && (replication.contains("role:master") || replication.contains("master_link_status:up")); + }); + } + + private static List clusterNodes() { + int port = runningPorts().get(0); + return clusterNodes(containerOf(port), port); + } + + private static List clusterNodes(GenericContainer container, int port) { + return exec(container, port, "CLUSTER", "NODES").lines().filter(line -> !line.isBlank()).map(ClusterNode::parse).toList(); + } + + private static List runningPorts() { + return PORTS.stream().filter(port -> containerOf(port).isRunning()).toList(); + } + + private static GenericContainer containerOf(int port) { + return CONTAINERS.get(PORTS.indexOf(port)); + } + + @SneakyThrows + private static String exec(GenericContainer container, int port, String... command) { + String[] cli = new String[command.length + 3]; + cli[0] = "valkey-cli"; + cli[1] = "-p"; + cli[2] = String.valueOf(port); + System.arraycopy(command, 0, cli, 3, command.length); + return container.execInContainer(cli).getStdout(); + } + + /** + * One line of {@code CLUSTER NODES}: {@code ...}. + */ + private record ClusterNode(String id, int port, boolean master, boolean failed, String masterId) { + + static ClusterNode parse(String line) { + String[] fields = line.trim().split(" "); + String address = fields[1]; + int port = Integer.parseInt(address.substring(address.indexOf(':') + 1, address.indexOf('@'))); + List flags = Arrays.asList(fields[2].split(",")); + return new ClusterNode(fields[0], port, flags.contains("master"), + flags.contains("fail") || flags.contains("fail?"), fields[3]); + } + + } + +} diff --git a/integration/executor/src/main/resources/tb-integration-executor.yml b/integration/executor/src/main/resources/tb-integration-executor.yml index 7e2f6d107c..0e7978f9b1 100644 --- a/integration/executor/src/main/resources/tb-integration-executor.yml +++ b/integration/executor/src/main/resources/tb-integration-executor.yml @@ -498,6 +498,9 @@ redis: nodes: "${REDIS_NODES:}" # Maximum number of redirects to follow when executing commands across the cluster. max-redirects: "${REDIS_MAX_REDIRECTS:12}" + # Period in seconds of the background refresh of the cluster slot map. It finds slots that moved to another node + # (after a failover, or when a node gets a new IP) even before a command to the old node fails. Set 0 to disable. + topology-refresh-period-sec: "${REDIS_CLUSTER_TOPOLOGY_REFRESH_PERIOD_SEC:30}" # if set false will be used pool config build from values of the pool config section useDefaultPoolConfig: "${REDIS_USE_DEFAULT_POOL_CONFIG:true}" sentinel: diff --git a/transport/coap/src/main/resources/tb-coap-transport.yml b/transport/coap/src/main/resources/tb-coap-transport.yml index 0f32b80a9e..ad0261714b 100644 --- a/transport/coap/src/main/resources/tb-coap-transport.yml +++ b/transport/coap/src/main/resources/tb-coap-transport.yml @@ -74,6 +74,9 @@ redis: nodes: "${REDIS_NODES:}" # Maximum number of redirects to follow when executing commands across the cluster. max-redirects: "${REDIS_MAX_REDIRECTS:12}" + # Period in seconds of the background refresh of the cluster slot map. It finds slots that moved to another node + # (after a failover, or when a node gets a new IP) even before a command to the old node fails. Set 0 to disable. + topology-refresh-period-sec: "${REDIS_CLUSTER_TOPOLOGY_REFRESH_PERIOD_SEC:30}" # if set false will be used pool config build from values of the pool config section useDefaultPoolConfig: "${REDIS_USE_DEFAULT_POOL_CONFIG:true}" sentinel: diff --git a/transport/http/src/main/resources/tb-http-transport.yml b/transport/http/src/main/resources/tb-http-transport.yml index 258523825f..1583a47cd3 100644 --- a/transport/http/src/main/resources/tb-http-transport.yml +++ b/transport/http/src/main/resources/tb-http-transport.yml @@ -106,6 +106,9 @@ redis: nodes: "${REDIS_NODES:}" # Maximum number of redirects to follow when executing commands across the cluster. max-redirects: "${REDIS_MAX_REDIRECTS:12}" + # Period in seconds of the background refresh of the cluster slot map. It finds slots that moved to another node + # (after a failover, or when a node gets a new IP) even before a command to the old node fails. Set 0 to disable. + topology-refresh-period-sec: "${REDIS_CLUSTER_TOPOLOGY_REFRESH_PERIOD_SEC:30}" # if set false will be used pool config build from values of the pool config section useDefaultPoolConfig: "${REDIS_USE_DEFAULT_POOL_CONFIG:true}" sentinel: diff --git a/transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml b/transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml index 74de592692..df0845d91e 100644 --- a/transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml +++ b/transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml @@ -73,6 +73,9 @@ redis: nodes: "${REDIS_NODES:}" # Maximum number of redirects to follow when executing commands across the cluster. max-redirects: "${REDIS_MAX_REDIRECTS:12}" + # Period in seconds of the background refresh of the cluster slot map. It finds slots that moved to another node + # (after a failover, or when a node gets a new IP) even before a command to the old node fails. Set 0 to disable. + topology-refresh-period-sec: "${REDIS_CLUSTER_TOPOLOGY_REFRESH_PERIOD_SEC:30}" # if set false will be used pool config build from values of the pool config section useDefaultPoolConfig: "${REDIS_USE_DEFAULT_POOL_CONFIG:true}" sentinel: diff --git a/transport/mqtt/src/main/resources/tb-mqtt-transport.yml b/transport/mqtt/src/main/resources/tb-mqtt-transport.yml index bb5a6abfed..e67761b5e4 100644 --- a/transport/mqtt/src/main/resources/tb-mqtt-transport.yml +++ b/transport/mqtt/src/main/resources/tb-mqtt-transport.yml @@ -74,6 +74,9 @@ redis: nodes: "${REDIS_NODES:}" # Maximum number of redirects to follow when executing commands across the cluster. max-redirects: "${REDIS_MAX_REDIRECTS:12}" + # Period in seconds of the background refresh of the cluster slot map. It finds slots that moved to another node + # (after a failover, or when a node gets a new IP) even before a command to the old node fails. Set 0 to disable. + topology-refresh-period-sec: "${REDIS_CLUSTER_TOPOLOGY_REFRESH_PERIOD_SEC:30}" # if set false will be used pool config build from values of the pool config section useDefaultPoolConfig: "${REDIS_USE_DEFAULT_POOL_CONFIG:true}" sentinel: diff --git a/transport/snmp/src/main/resources/tb-snmp-transport.yml b/transport/snmp/src/main/resources/tb-snmp-transport.yml index 24001f7b9a..8e6bc126c3 100644 --- a/transport/snmp/src/main/resources/tb-snmp-transport.yml +++ b/transport/snmp/src/main/resources/tb-snmp-transport.yml @@ -73,6 +73,9 @@ redis: nodes: "${REDIS_NODES:}" # Maximum number of redirects to follow when executing commands across the cluster. max-redirects: "${REDIS_MAX_REDIRECTS:12}" + # Period in seconds of the background refresh of the cluster slot map. It finds slots that moved to another node + # (after a failover, or when a node gets a new IP) even before a command to the old node fails. Set 0 to disable. + topology-refresh-period-sec: "${REDIS_CLUSTER_TOPOLOGY_REFRESH_PERIOD_SEC:30}" # if set false will be used pool config build from values of the pool config section useDefaultPoolConfig: "${REDIS_USE_DEFAULT_POOL_CONFIG:true}" sentinel: From 51289ea087e07696050dbc98576f4ab06580cbd8 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 08:22:38 +0200 Subject: [PATCH 377/559] fix(iot-hub): key the install state of a package step by its optional id --- .../DefaultDevicePackageUpdateService.java | 27 ++++++--- .../service/iot_hub/DeviceUpdateRequest.java | 4 +- ...DefaultDevicePackageUpdateServiceTest.java | 37 ++++++++++-- .../device-install-dialog.component.ts | 57 ++++++++----------- .../models/iot-hub/device-package.models.ts | 3 + .../iot-hub/iot-hub-installed-item.models.ts | 4 +- 6 files changed, 83 insertions(+), 49 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 8b68a2f544..6b8445d16e 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -203,10 +203,15 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i throw new IllegalArgumentException("The update has no steps"); } Set ownedIds = createdIds(devicePackage.descriptor()).keySet(); + Set stateKeys = new HashSet<>(); for (DeviceUpdateRequest.Step step : request.getSteps()) { if (step.getName() == null || step.getAction() == null || !isKnownType(step.getType())) { throw new IllegalArgumentException("Invalid update step: " + step.getName()); } + // The key of the step's install state + if (!stateKeys.add(step.getId() != null ? step.getId() : step.getName())) { + throw new IllegalArgumentException("Duplicate update step: " + step.getName()); + } boolean deviceOrGateway = "DEVICE".equals(step.getType()) || "GATEWAY".equals(step.getType()); switch (step.getAction()) { case KEEP, OVERWRITE -> { @@ -301,13 +306,11 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i state.put("resolution", step.getResolution() != null ? step.getResolution() : "created"); // A kept entity keeps the checksum of what the package left: the current one would take the // user's changes for the package's, and the next update would overwrite them without a warning - String checksum = step.getAction() == DeviceUpdateRequest.Action.KEEP ? - previousChecksum(previous, step.getPreviousStepName() != null ? step.getPreviousStepName() : step.getName()) : - result.checksum(); + String checksum = step.getAction() == DeviceUpdateRequest.Action.KEEP ? previousChecksum(previous, step.getEntityId()) : result.checksum(); if (checksum != null) { state.put("checksum", checksum); } - installState.put(step.getName(), state); + installState.put(step.getId() != null ? step.getId() : step.getName(), state); if (!"use-existing".equals(step.getResolution())) { stepEntityIds.add(result.entityId()); } @@ -585,10 +588,18 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i return new StepResult(id, output(id, name), null, null); } - private static String previousChecksum(DeviceInstalledItemDescriptor previous, String stepName) { - JsonNode checksum = previous.getInstallState() != null && previous.getInstallState().get(stepName) != null ? - previous.getInstallState().get(stepName).get("checksum") : null; - return checksum != null && checksum.isTextual() ? checksum.asText() : null; + /** The checksum the installed version recorded for the entity, under whichever step it was installed with. */ + private static String previousChecksum(DeviceInstalledItemDescriptor previous, UUID entityId) { + if (previous.getInstallState() == null || entityId == null) { + return null; + } + for (JsonNode state : previous.getInstallState().values()) { + JsonNode checksum = state.get("checksum"); + if (entityId.toString().equals(state.path("entityOutput").path("id").asText()) && checksum != null && checksum.isTextual()) { + return checksum.asText(); + } + } + return null; } /** diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java index b143f22f7b..28118ed018 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java @@ -38,6 +38,8 @@ public class DeviceUpdateRequest { @Data public static class Step { private String name; + // The package step's id, which keys its install state; the name when not set + private String id; // InstallStepType of the package: DEVICE_PROFILE, DEVICE, GATEWAY, GATEWAY_CONNECTOR, DASHBOARD, RULE_CHAIN, // UPLINK_CONVERTER, DOWNLINK_CONVERTER, INTEGRATION private String type; @@ -59,8 +61,6 @@ public class DeviceUpdateRequest { private JsonNode sharedAttributes; // The resolution the install state records for it private String resolution; - // KEEP: the install state entry of the entity, when the new version renamed its step - private String previousStepName; } } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index e3336d26c1..6fbf49587c 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -224,20 +224,49 @@ class DefaultDevicePackageUpdateServiceTest { } @Test - void keptEntityOfARenamedStep_keepsTheChecksumUnderTheNewName() { + void keptEntityOfAStepWithAnId_keepsItsChecksumUnderTheId() { + // Installed by a version whose step had no id: the entry is under the step's name ObjectNode dashboardState = JacksonUtil.newObjectNode().put("checksum", "installed").put("resolution", "created"); dashboardState.set("entityOutput", JacksonUtil.newObjectNode().put("id", dashboardId.getId().toString())); ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", dashboardState)); when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); DeviceUpdateRequest.Step overview = keep("Overview", "DASHBOARD", dashboardId); - overview.setPreviousStepName("Dashboard"); + overview.setId("main-dashboard"); DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(overview)); assertThat(result.isSuccess()).isTrue(); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); - assertThat(descriptor.getInstallState().get("Overview").get("checksum").asText()).isEqualTo("installed"); - assertThat(descriptor.getInstallState()).doesNotContainKey("Dashboard"); + assertThat(descriptor.getInstallState().get("main-dashboard").get("checksum").asText()).isEqualTo("installed"); + assertThat(descriptor.getInstallState()).doesNotContainKeys("Dashboard", "Overview"); + } + + @Test + void keptEntity_doesNotTakeTheChecksumOfAnotherEntity() { + // The entry under the step's key was recorded for an entity deleted since + ObjectNode dashboardState = JacksonUtil.newObjectNode().put("checksum", "of-the-deleted-one").put("resolution", "created"); + dashboardState.set("entityOutput", JacksonUtil.newObjectNode().put("id", UUID.randomUUID().toString())); + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", dashboardState)); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(keep("Dashboard", "DASHBOARD", dashboardId))); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Dashboard").has("checksum")).isFalse(); + } + + @Test + void twoStepsWithOneKey_areRejected() { + DeviceUpdateRequest.Step first = keep("Overview", "DASHBOARD", dashboardId); + first.setId("main-dashboard"); + DeviceUpdateRequest.Step second = keep("Details", "DASHBOARD", dashboardId); + second.setId("main-dashboard"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(first, second)); + + assertThat(result.isSuccess()).isFalse(); + verify(installedItemService, never()).save(any(), any()); } @Test diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 96b282c231..39e97081c4 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -78,8 +78,6 @@ interface PreviousEntity { shared: boolean; // What the install state records for it, so that the next update decides again resolution: string; - // The install state entry it was found under: the installed step's name when the new version renamed it - stateKey: string; // What the server's check found for it state?: DevicePackageEntityState; } @@ -984,9 +982,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent s.name === stepName || this.resolveVariables(s.name) === stepName) ?? - // Update: a step the new version renamed - (this.data.update ? rawSteps.find(s => this.findPreviousStep(s)?.name === stepName) : undefined); + const matchingStep = rawSteps.find(s => this.stateKeysOf(s).includes(stepName)) ?? + // Update: a step the new version renamed or gave an id + (this.data.update ? rawSteps.find(s => this.storedStateOf(s)?.key === stepName) : undefined); if (matchingStep) { const alias = stepTypeAliasMap[matchingStep.type]; if (alias) { @@ -1085,6 +1083,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { const alias = stepTypeAliasMap[s.type]; const output = alias ? this.entityOutputs.get(alias) : null; - const storedState = this.data.installState?.[s.name] || this.data.installState?.[this.resolveVariables(s.name)]; + const key = this.stateKeysOf(s).find(k => this.data.installState?.[k]); + const storedState = key ? this.data.installState[key] : undefined; return { step: s, status: 'success' as const, @@ -1850,7 +1850,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; if (installState[TRANSPORT_STEP_STATE_KEY]?.formValues) { formState[TRANSPORT_STEP_STATE_KEY] = { formValues: installState[TRANSPORT_STEP_STATE_KEY].formValues }; @@ -2244,7 +2240,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent s.type === step.type); - const steps = (this.packageInfo.installSteps[this.selectedInstallMethod] ?? []).filter(s => s.type === step.type); - const sameName = previousSteps.find(s => s.name === step.name); - if (sameName) { - return sameName; - } - const unmatchedPrevious = previousSteps.filter(p => !steps.some(s => s.name === p.name)); - const unmatched = steps.filter(s => !previousSteps.some(p => p.name === s.name)); - return unmatchedPrevious.length === 1 && unmatched.length === 1 ? unmatchedPrevious[0] : undefined; + return (this.previousPackageInfo?.installSteps[this.selectedInstallMethod] ?? []) + .find(s => s.type === step.type && (s.id && step.id ? s.id === step.id : s.name === step.name)); } - /** Update: true when the entity is one the installed package created. */ - private isPackageEntity(id: string): boolean { - return !!this.data.update?.descriptor.createdEntityIds?.some(created => created.id === id); + /** The keys the install state may keep a step under: its id, or else its name, as written or resolved. */ + private stateKeysOf(step: DeviceInstallStep): string[] { + return step.id ? [step.id] : [step.name, this.resolveVariables(step.name)]; } - /** Update: the install state of a step of the new version, under its name or under the installed step it replaces. */ + /** Update: the install state of a step of the new version, under the key of the installed step it replaces. */ private storedStateOf(step: DeviceInstallStep): { key: string; state: any } | undefined { const installState = this.data.update?.descriptor.installState ?? {}; - const key = [step.name, this.resolveVariables(step.name), this.findPreviousStep(step)?.name].find(name => name && installState[name]); + const previousStep = this.findPreviousStep(step); + const keys = [...(previousStep ? this.stateKeysOf(previousStep) : []), ...this.stateKeysOf(step)]; + const key = keys.find(k => k && installState[k]); return key ? { key, state: installState[key] } : undefined; } @@ -2547,7 +2538,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = { export interface DeviceInstallStep { type: InstallStepType; name: string; + // Optional stable id of the step, unique within the install method: the key of the step's install state, + // so the next version can rename the step. Without it, the name is the key. + id?: string; file?: string; template?: string; serverAttributes?: string; diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index 12b3fc205e..fbdd9867c3 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -60,8 +60,8 @@ export interface DeviceUpdateStep { serverAttributes?: any; sharedAttributes?: any; resolution?: string; - // KEEP: the install state entry of the entity, when the new version renamed its step - previousStepName?: string; + // The package step's id, which keys its install state; the name when not set + id?: string; } export interface DeviceUpdateRequest { From 2ed6221698f66434a8c2dab59a76988293f5e544 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 08:23:57 +0200 Subject: [PATCH 378/559] feat(iot-hub): show what a device package update changed, mark local changes and new form fields --- .../device-install-dialog.component.html | 5 ++-- .../device-install-dialog.component.ts | 27 +++++++++++++++++++ .../install-form-renderer.component.html | 5 +++- .../install-form-renderer.component.scss | 20 ++++++++++++++ .../install-form-renderer.component.ts | 6 +++++ .../assets/locale/locale.constant-en_US.json | 5 +++- 6 files changed, 64 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 91987d81c9..7fb651678e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -55,7 +55,8 @@ [fields]="ws.formFields" [formGroup]="ws.formGroup" [resolveImagePath]="resolveImagePathFn" - [reviewMode]="reviewMode"> + [reviewMode]="reviewMode" + [newFieldKeys]="ws.newFieldKeys">
    } @@ -270,7 +271,7 @@ {{ 'iot-hub.in-progress' | translate }} } @case ('success') { - {{ 'iot-hub.done' | translate }} + {{ updateOutcomeOf(plan) | translate }} } @case ('skipped') { {{ 'iot-hub.device-update-skipped' | translate }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 39e97081c4..34b25e66c5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -200,6 +200,8 @@ export interface WizardStep { extraFormFields?: FormFieldDefinition[]; // Key of the step's form values in the install state; the label when not set stateKey?: string; + // Update: the keys of the form's fields the installed version didn't have + newFieldKeys?: Set; formGroup?: UntypedFormGroup; // Connection check of the integration the form configures; null when the form configures none connectionCheck?: ConnectionCheck | null; @@ -1230,6 +1232,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent…, which the translation may put anywhere in it, split around the link. */ + /** Update: what the update did with the entity of a row, once it succeeded. */ + updateOutcomeOf(plan: EntityStepPlan | undefined): string { + if (!plan || plan.action === 'keep' || plan.resolution === 'use-existing') { + return 'iot-hub.device-update-not-changed'; + } + return plan.action === 'overwrite' || plan.resolution === 'overwrite' ? 'iot-hub.device-update-updated' : 'iot-hub.device-update-created'; + } + textWithLink(key: string): { before: string; link: string; after: string } { const text: string = this.translate.instant(key); const match = /^([\s\S]*)([\s\S]*)<\/a>([\s\S]*)$/.exec(text); @@ -2295,6 +2306,22 @@ export class TbDeviceInstallDialogComponent extends DialogComponent s.type === step.type && (s.id && step.id ? s.id === step.id : s.name === step.name)); } + /** Update: the fields of a form step the installed version's form didn't have; all of them for a new form step. */ + private newFieldKeysOf(step: DeviceInstallStep, fields: FormFieldDefinition[]): Set { + if (!this.previousPackageInfo) { + return new Set(); + } + const previousStep = this.findPreviousStep(step); + let previousKeys = new Set(); + try { + const previousForm = previousStep ? JSON.parse(this.previousFiles.get(previousStep.file) || '[]') as FormFieldDefinition[] : []; + previousKeys = new Set(previousForm.map(field => field.key)); + } catch { + return new Set(); + } + return new Set(fields.map(field => field.key).filter(key => !previousKeys.has(key))); + } + /** The keys the install state may keep a step under: its id, or else its name, as written or resolved. */ private stateKeysOf(step: DeviceInstallStep): string[] { return step.id ? [step.id] : [step.name, this.resolveVariables(step.name)]; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html index a94a41cff0..ab1314f65d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html @@ -36,7 +36,10 @@ @for (row of rows; track row.fields[0].key) { -
    +
    + @if (isNewRow(row)) { + {{ 'iot-hub.device-update-new' | translate }} + } @if (row.fields.length > 1) {
    @for (field of row.fields; track field.key) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index f99f29ebca..10711348cc 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -14,3 +14,23 @@ max-width: 100%; margin-top: 8px; } + +// Update: a field the installed version didn't have +.tb-install-form-row-new { + padding: 8px 12px; + border-left: 3px solid #305680; + border-radius: 4px; + background: rgba(48, 86, 128, 0.04); +} + +.tb-install-form-new { + align-self: flex-start; + font-size: 12px; + font-weight: 500; + line-height: 16px; + letter-spacing: 0.4px; + color: #305680; + background: rgba(48, 86, 128, 0.08); + border-radius: 4px; + padding: 2px 8px; +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index 6965009871..4633a41afd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -49,6 +49,8 @@ export class InstallFormRendererComponent implements OnChanges { @Input() resolveImagePath?: (path: string) => string; /** When true, PASSWORD inputs render unmasked by default (used by review mode). */ @Input() reviewMode = false; + /** Update: the fields the installed version's form didn't have, highlighted as new. */ + @Input() newFieldKeys?: Set; passwordVisible: Record = {}; // Fields in render order: consecutive fields of a group form a section, and consecutive fields @@ -170,4 +172,8 @@ export class InstallFormRendererComponent implements OnChanges { imagePath(path: string): string { return this.resolveImagePath ? this.resolveImagePath(path) : path; } + + isNewRow(row: { fields: FormFieldDefinition[] }): boolean { + return !!this.newFieldKeys?.size && row.fields.some(field => this.newFieldKeys.has(field.key)); + } } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 7e587600c9..36c91f24ab 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6538,13 +6538,16 @@ "device-update-no-conflicts": "No conflicts", "device-update-new": "New", "device-update-shared": "Used by other packages. The update affects them.", - "device-update-modified": "Changed by someone else. You can download the current version here.", + "device-update-modified": "Has local changes. You can download the current version here.", "device-install-unexpected-error": "Something went wrong. Try again.", "device-update-existing-use-existing": "Already exists. The existing one will be used.", "device-update-existing-overwrite": "Already exists. It will be overwritten.", "device-update-existing-create-copy": "Already exists. A copy will be created.", "device-update-confirm-warnings": "Confirm { count, plural, =1 {1 warning} other {# warnings} } to enable Update", "device-update-skipped": "Not changed", + "device-update-not-changed": "Not changed", + "device-update-updated": "Updated", + "device-update-created": "Created", "device-update-try-again": "Try again", "done": "Done", "in-progress": "In progress", From 109c13a5e2f64c6612b0502c008cae7b3f7d2677 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:15:10 +0200 Subject: [PATCH 379/559] feat(iot-hub): mark a new form field by its outline, label and hint; show Done for kept entities --- .../device-install-dialog.component.html | 3 +- .../device-install-dialog.component.ts | 2 +- .../install-form-renderer.component.html | 60 +++++++++++++------ .../install-form-renderer.component.scss | 28 ++++----- .../install-form-renderer.component.ts | 6 +- .../assets/locale/locale.constant-en_US.json | 2 +- 6 files changed, 62 insertions(+), 39 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 7fb651678e..964a50bd0d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -56,7 +56,8 @@ [formGroup]="ws.formGroup" [resolveImagePath]="resolveImagePathFn" [reviewMode]="reviewMode" - [newFieldKeys]="ws.newFieldKeys"> + [newFieldKeys]="ws.newFieldKeys" + [newFieldHint]="'iot-hub.device-update-new-field' | translate: { version: data.item.version }">
    } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 34b25e66c5..ca88fa519e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -1946,7 +1946,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent @for (row of rows; track row.fields[0].key) { -
    - @if (isNewRow(row)) { - {{ 'iot-hub.device-update-new' | translate }} - } +
    @if (row.fields.length > 1) {
    @for (field of row.fields; track field.key) { @@ -96,7 +93,7 @@
    } @case (FormFieldType.SELECT) { - {{ field.label }} @@ -104,8 +101,13 @@ {{ opt.label }} } - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -113,7 +115,7 @@ } @case (FormFieldType.STRING_AUTOCOMPLETE) { - {{ field.label }} {{ opt.label }} } - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -139,7 +146,7 @@ } @case (FormFieldType.PASSWORD) { - {{ field.label }} autorenew } - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -173,14 +185,19 @@ } @case (FormFieldType.INTEGER) { - {{ field.label }} - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -194,7 +211,7 @@ } @default { - {{ field.label }} autorenew } - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index 10711348cc..b19765a280 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -15,22 +15,20 @@ margin-top: 8px; } -// Update: a field the installed version didn't have -.tb-install-form-row-new { - padding: 8px 12px; - border-left: 3px solid #305680; - border-radius: 4px; - background: rgba(48, 86, 128, 0.04); +// Update: a field the installed version didn't have: outline, label and hint in the primary color +:host ::ng-deep .mat-mdc-form-field.tb-install-form-field-new { + .mdc-notched-outline__leading, + .mdc-notched-outline__notch, + .mdc-notched-outline__trailing { + border-color: var(--tb-primary-500); + } + .mdc-floating-label, + .mat-mdc-floating-label { + color: var(--tb-primary-500); + } } -.tb-install-form-new { - align-self: flex-start; - font-size: 12px; +.tb-install-form-new-hint { + color: var(--tb-primary-500); font-weight: 500; - line-height: 16px; - letter-spacing: 0.4px; - color: #305680; - background: rgba(48, 86, 128, 0.08); - border-radius: 4px; - padding: 2px 8px; } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index 4633a41afd..16a1298ae2 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -51,6 +51,8 @@ export class InstallFormRendererComponent implements OnChanges { @Input() reviewMode = false; /** Update: the fields the installed version's form didn't have, highlighted as new. */ @Input() newFieldKeys?: Set; + /** Update: the text the hint of a new field starts with. */ + @Input() newFieldHint = ''; passwordVisible: Record = {}; // Fields in render order: consecutive fields of a group form a section, and consecutive fields @@ -173,7 +175,7 @@ export class InstallFormRendererComponent implements OnChanges { return this.resolveImagePath ? this.resolveImagePath(path) : path; } - isNewRow(row: { fields: FormFieldDefinition[] }): boolean { - return !!this.newFieldKeys?.size && row.fields.some(field => this.newFieldKeys.has(field.key)); + isNewField(field: FormFieldDefinition): boolean { + return !!this.newFieldKeys?.has(field.key); } } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 36c91f24ab..78db1e922c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6545,7 +6545,7 @@ "device-update-existing-create-copy": "Already exists. A copy will be created.", "device-update-confirm-warnings": "Confirm { count, plural, =1 {1 warning} other {# warnings} } to enable Update", "device-update-skipped": "Not changed", - "device-update-not-changed": "Not changed", + "device-update-new-field": "New in {{version}}.", "device-update-updated": "Updated", "device-update-created": "Created", "device-update-try-again": "Try again", From 25692d6ab0faca2c22ad4cb9030907c0cb5798ba Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:24:57 +0200 Subject: [PATCH 380/559] feat(iot-hub): mark a new form field by a primary outline and a New label --- .../device-install-dialog.component.html | 3 +- .../install-form-renderer.component.html | 55 +++++-------------- .../install-form-renderer.component.scss | 13 +++-- .../install-form-renderer.component.ts | 2 - .../assets/locale/locale.constant-en_US.json | 1 - 5 files changed, 23 insertions(+), 51 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 964a50bd0d..7fb651678e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -56,8 +56,7 @@ [formGroup]="ws.formGroup" [resolveImagePath]="resolveImagePathFn" [reviewMode]="reviewMode" - [newFieldKeys]="ws.newFieldKeys" - [newFieldHint]="'iot-hub.device-update-new-field' | translate: { version: data.item.version }"> + [newFieldKeys]="ws.newFieldKeys">
    } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html index f8fd99411e..965f6ffefe 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html @@ -95,19 +95,14 @@ @case (FormFieldType.SELECT) { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} @for (opt of field.options; track opt.value) { {{ opt.label }} } - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -117,7 +112,7 @@ @case (FormFieldType.STRING_AUTOCOMPLETE) { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} @@ -126,13 +121,8 @@ {{ opt.label }} } - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -148,7 +138,7 @@ @case (FormFieldType.PASSWORD) { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} autorenew } - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -187,17 +172,12 @@ @case (FormFieldType.INTEGER) { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -213,7 +193,7 @@ @default { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} @@ -225,13 +205,8 @@ autorenew } - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index b19765a280..492e9be76d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -15,20 +15,21 @@ margin-top: 8px; } -// Update: a field the installed version didn't have: outline, label and hint in the primary color +// Update: a field the installed version didn't have: a thicker outline, a tint and the label in the primary color :host ::ng-deep .mat-mdc-form-field.tb-install-form-field-new { .mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing { border-color: var(--tb-primary-500); + border-width: 2px; + } + .mat-mdc-text-field-wrapper { + border-radius: 4px; + background: color-mix(in srgb, var(--tb-primary-500) 4%, transparent); } .mdc-floating-label, .mat-mdc-floating-label { color: var(--tb-primary-500); + font-weight: 500; } } - -.tb-install-form-new-hint { - color: var(--tb-primary-500); - font-weight: 500; -} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index 16a1298ae2..a87c734094 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -51,8 +51,6 @@ export class InstallFormRendererComponent implements OnChanges { @Input() reviewMode = false; /** Update: the fields the installed version's form didn't have, highlighted as new. */ @Input() newFieldKeys?: Set; - /** Update: the text the hint of a new field starts with. */ - @Input() newFieldHint = ''; passwordVisible: Record = {}; // Fields in render order: consecutive fields of a group form a section, and consecutive fields diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 78db1e922c..4d52160b91 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6545,7 +6545,6 @@ "device-update-existing-create-copy": "Already exists. A copy will be created.", "device-update-confirm-warnings": "Confirm { count, plural, =1 {1 warning} other {# warnings} } to enable Update", "device-update-skipped": "Not changed", - "device-update-new-field": "New in {{version}}.", "device-update-updated": "Updated", "device-update-created": "Created", "device-update-try-again": "Try again", From 83ab5ec8147d8b12d77c11c1e7935bf0c01258d9 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:28:30 +0200 Subject: [PATCH 381/559] feat(iot-hub): installed items offer an update through the new version's details --- .../iot-hub-installed-items-table.component.html | 12 +++++------- .../iot-hub-installed-items-table.component.scss | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index ab41384640..8e4d9b57c5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -45,19 +45,17 @@ @if (getPublishedVersionInfo(item); as pubInfo) { @if (pubInfo.publishedVersionId !== item.itemVersionId) {
    + @if (!itemVersion) { - } - + + }
    } @else { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss index 9f304d2751..7d511670b9 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss @@ -126,9 +126,9 @@ font-weight: 500; line-height: 20px; letter-spacing: 0.25px; - color: rgba(0, 0, 0, 0.76); + color: var(--tb-primary-500); background: none; - border: 1px solid rgba(0, 0, 0, 0.12); + border: 1px solid var(--tb-primary-500); border-radius: 4px; padding: 6px 12px; cursor: pointer; @@ -143,7 +143,7 @@ } &:hover { - background: rgba(0, 0, 0, 0.04); + background: color-mix(in srgb, var(--tb-primary-500) 8%, transparent); } } From f410611ed690d3a877e9dfb05283b1e7f770f216 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:28:46 +0200 Subject: [PATCH 382/559] fix(iot-hub): lowercase available after the version --- ui-ngx/src/assets/locale/locale.constant-en_US.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 4d52160b91..eb84ed9a84 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6325,7 +6325,7 @@ "items-per-page": "Items per page", "filter": "Filter", "clear-filters": "Clear filters", - "available": "Available", + "available": "available", "items-page-desc-widgets": "Jumpstart your IoT journey with pre-configured widgets designed for your industry. Deploy proven architectures instantly and focus your energy on what matters: your unique business logic.", "items-page-desc-solution-templates": "Complete IoT solution packages with dashboards, rule chains, and device configurations. Get started with proven architectures.", "items-page-desc-calculated-fields": "Use pre-configured Calculated Fields to automate complex metrics like fuel efficiency or power factor. Skip the manual logic and keep your dashboards clean and actionable.", From a25a4563933fbe6e7d30e8e8695e1f13d0900563 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:32:02 +0200 Subject: [PATCH 383/559] fix(iot-hub): keep the update button red --- ...t-hub-installed-items-table.component.html | 2 +- ...t-hub-installed-items-table.component.scss | 32 +------------------ 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index 8e4d9b57c5..6926a0ba41 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -47,7 +47,7 @@
    @if (!itemVersion) { - diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss index 7d511670b9..e390164cd5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss @@ -117,37 +117,7 @@ .tb-type-alarm-rule { color: #d7702f; background: rgba(215, 112, 47, 0.06); } .tb-type-rule-chain { color: #aa5be3; background: rgba(170, 91, 227, 0.06); } -// "vX.X.X Available" button — Design: border rgba(0,0,0,0.12), rounded-4, px-12 py-6, gap-8 -.tb-installed-version-btn { - display: inline-flex; - align-items: center; - gap: 8px; - font-size: 14px; - font-weight: 500; - line-height: 20px; - letter-spacing: 0.25px; - color: var(--tb-primary-500); - background: none; - border: 1px solid var(--tb-primary-500); - border-radius: 4px; - padding: 6px 12px; - cursor: pointer; - font-family: inherit; - - mat-icon { - font-size: 18px; - width: 18px; - height: 18px; - color: inherit !important; - --mat-icon-color: currentColor; - } - - &:hover { - background: color-mix(in srgb, var(--tb-primary-500) 8%, transparent); - } -} - -// "Update" button — Design: same height as available btn, border matches text color +// "vX.X.X available" and "Update to" buttons: border matches the text color .tb-installed-update-btn.mat-mdc-outlined-button { font-size: 14px; font-weight: 500; From cd95b67b8c931b1a1ebe57845c783526cff43656 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:34:42 +0200 Subject: [PATCH 384/559] feat(iot-hub): the available version button opens the update --- .../iot-hub-installed-items-table.component.html | 3 +-- .../iot-hub-installed-items-table.component.scss | 5 +++++ .../iot-hub/iot-hub-installed-items-table.component.ts | 10 ---------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index 6926a0ba41..08195cac7a 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -45,9 +45,8 @@ @if (getPublishedVersionInfo(item); as pubInfo) { @if (pubInfo.publishedVersionId !== item.itemVersionId) {
    - @if (!itemVersion) { - diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss index e390164cd5..e943f76f46 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss @@ -126,6 +126,11 @@ padding: 6px 12px; height: auto; --mat-button-outlined-outline-color: var(--mat-button-outlined-label-text-color); + + mat-icon { + color: inherit !important; + --mat-icon-color: currentColor; + } } // "Up to date" — Design: 14px Medium, #198038, gap-8, py-6 diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 0e332b9d45..27a2215c48 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -242,16 +242,6 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, }); } - viewUpdateDetails(publishedInfo: ItemPublishedVersionInfo, installedItem: IotHubInstalledItem): void { - this.iotHubApiService.getVersionInfo(publishedInfo.publishedVersionId, {ignoreLoading: true}).subscribe(versionView => { - this.iotHubActions.openItemDetail(versionView, installedItem).subscribe(result => { - if (result === 'updated' || result === 'deleted') { - this.loadData(); - } - }); - }); - } - updateItem(item: IotHubInstalledItem, publishedInfo: ItemPublishedVersionInfo): void { this.iotHubActions.updateItem(item, publishedInfo.publishedVersion, publishedInfo.publishedVersionId).subscribe(result => { if (result === 'updated') { From 341fd5d3cd247bf4adaf3b22cb0a361b6a9a8149 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Mon, 2 Nov 2026 10:20:01 +0200 Subject: [PATCH 385/559] feat(iot-hub): a device package step takes the default converter, a new default converter shows as an update, and the profile name is set at install - UPLINK_CONVERTER step with "default": true and no template: the wizard builds the converter ThingsBoard creates for a new integration of the method's type (INTEGRATION_TTN: TTN) from the UI assets, and installs, overwrites and updates it like a template of the package. - Installed items: a device package whose default converter differs from ThingsBoard's default converter now shows "New converter available". It opens the update of the installed version, which brings the converter to the default one. A package that took another package's converter overwrites it with the shared-entity warning. - After an update overwrites an entity, the other packages that recorded its checksum record the new one. - INTEGRATION step "metadata": its entries are added to the integration's metadata at create, overwrite, use existing and update; the entries the integration has stay. An entry that maps a name to itself (profile.: ) isn't added. The checksum of an integration leaves out its metadata. - The default TTN and TTI converters take the profile name from the integration metadata entry profile.- when there is one. - Form field "resettable": a field the user changed shows a button that puts its default value back. --- .../DefaultDevicePackageUpdateService.java | 53 +++++++ .../service/iot_hub/DeviceUpdateRequest.java | 2 + .../service/iot_hub/EntityChecksum.java | 5 + .../controller/ConverterControllerTest.java | 29 +++- ...DefaultDevicePackageUpdateServiceTest.java | 64 ++++++++ .../device-install-dialog.component.html | 6 + .../device-install-dialog.component.ts | 138 ++++++++++++++++-- .../install-form-renderer.component.html | 8 + .../install-form-renderer.component.ts | 12 ++ .../iot-hub/iot-hub-default-converter.ts | 57 ++++++++ ...t-hub-installed-items-table.component.html | 40 ++--- ...iot-hub-installed-items-table.component.ts | 52 ++++++- .../models/iot-hub/device-package.models.ts | 6 + .../iot-hub/iot-hub-installed-item.models.ts | 2 + .../src/assets/converters/js-tti-decoder.raw | 12 +- .../src/assets/converters/js-ttn-decoder.raw | 12 +- .../assets/converters/tbel-tti-decoder.raw | 12 +- .../assets/converters/tbel-ttn-decoder.raw | 12 +- .../assets/locale/locale.constant-en_US.json | 2 + 19 files changed, 465 insertions(+), 59 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 6b8445d16e..1f452c3792 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -42,6 +42,8 @@ import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.kv.AttributeKvEntry; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.rule.RuleChain; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.security.DeviceCredentials; @@ -285,6 +287,8 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i List saved = new ArrayList<>(); List connectorSteps = new ArrayList<>(); List attributes = new ArrayList<>(); + // The checksums of the entities this update overwrote, which other packages may record too + Map overwrittenChecksums = new HashMap<>(); DashboardId dashboardId = null; for (DeviceUpdateRequest.Step step : request.getSteps()) { @@ -310,6 +314,12 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (checksum != null) { state.put("checksum", checksum); } + if (step.isDefaultConverter()) { + state.put("defaultConverter", true); + } + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE && result.checksum() != null) { + overwrittenChecksums.put(result.entityId().getId(), result.checksum()); + } installState.put(step.getId() != null ? step.getId() : step.getName(), state); if (!"use-existing".equals(step.getResolution())) { stepEntityIds.add(result.entityId()); @@ -344,12 +354,55 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i installedItem.setVersion(versionInfo.get("version").asText()); installedItem.setDescriptor(descriptor); installedItemService.save(tenantId, installedItem); + refreshChecksumsOfOtherPackages(tenantId, installedItem.getId(), overwrittenChecksums); // Resolved once every entity is saved: attributes may refer to a later step's entity List resolvedAttributes = attributes.stream().map(a -> new StepAttributes(a.stepName(), a.entityId(), resolvePlaceholders(a.server(), aliasOutputs), resolvePlaceholders(a.shared(), aliasOutputs))).toList(); return new Applied(descriptor, outputs, saved, connectorSteps, resolvedAttributes, aliasOutputs); } + /** + * Another package that recorded the checksum of an entity this update overwrote, e.g. a shared converter, records the + * new one: the update was confirmed for all packages using the entity, so their next update sees no change by someone else. + */ + private void refreshChecksumsOfOtherPackages(TenantId tenantId, IotHubInstalledItemId installedItemId, Map checksums) { + if (checksums.isEmpty()) { + return; + } + PageLink pageLink = new PageLink(100); + PageData page; + do { + page = installedItemService.findByTenantId(tenantId, List.of("DEVICE"), null, pageLink); + for (IotHubInstalledItem item : page.getData()) { + if (!item.getId().equals(installedItemId) && item.getDescriptor() instanceof DeviceInstalledItemDescriptor descriptor + && descriptor.getInstallState() != null && refreshChecksums(descriptor.getInstallState(), checksums)) { + installedItemService.save(tenantId, item); + } + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext()); + } + + private static boolean refreshChecksums(Map installState, Map checksums) { + boolean changed = false; + for (JsonNode state : installState.values()) { + String checksum = checksums.get(toUuid(state.path("entityOutput").path("id").asText())); + if (checksum != null && state.has("checksum") && state instanceof ObjectNode objectState) { + objectState.put("checksum", checksum); + changed = true; + } + } + return changed; + } + + private static UUID toUuid(String id) { + try { + return UUID.fromString(id); + } catch (IllegalArgumentException e) { + return null; + } + } + /** * Another update of the package, e.g. a second click or another tab, waits here until this one commits, and then * fails: the plan was made for the version installed before. Without it both would create the new entities. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java index 28118ed018..c3f2f90f89 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java @@ -61,6 +61,8 @@ public class DeviceUpdateRequest { private JsonNode sharedAttributes; // The resolution the install state records for it private String resolution; + // UPLINK_CONVERTER: the step takes ThingsBoard's default converter, which the install state records for the update check + private boolean defaultConverter; } } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java index 4cd2f25d02..1f8c8887e5 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java @@ -6,6 +6,7 @@ import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.rule.RuleNode; @@ -37,6 +38,10 @@ final class EntityChecksum { StringBuilder canonical = new StringBuilder(); for (Object part : parts) { JsonNode node = part instanceof RuleChainMetaData metadata ? ruleChainContent(metadata) : JacksonUtil.valueToTree(part); + if (part instanceof Integration && node.get("configuration") instanceof ObjectNode configuration) { + // Device packages on one integration add their entries to its metadata: that is no change to the integration + configuration.remove("metadata"); + } appendCanonical(canonical, node, true); canonical.append('|'); } diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 8ab6727c04..023397bf0b 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -686,9 +686,7 @@ public class ConverterControllerTest extends AbstractControllerTest { testDecoder(TTI_UPLINK_DECODER, DEFAULT_TTI_UPLINK_CONVERTER_MESSAGE, expectedDecodedMessage, converter); } - @Test - public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { - String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + + private static final String THINGS_STACK_REPOSITORY_DEVICE_RESULT = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560," + "\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}}]," + "\"attributes\":{\"eui\":\"24E124707C481005\",\"joinEui\":\"24E124C0002A0001\",\"devAddr\":\"260B1234\",\"deviceId\":\"am308-office\",\"applicationId\":\"my-app\"," + @@ -696,7 +694,17 @@ public class ConverterControllerTest extends AbstractControllerTest { "\"hardwareVersion\":\"1.0\",\"firmwareVersion\":\"1.0\",\"bandId\":\"EU_863_870\",\"netId\":\"000013\",\"tenantId\":\"ttn\",\"clusterId\":\"eu1\"," + "\"clusterAddress\":\"eu1.cloud.thethings.network\"}}"; - testThingsStackDefaultConverters(THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD, expectedDecodedMessage); + @Test + public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { + testThingsStackDefaultConverters(THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD, Map.of(), THINGS_STACK_REPOSITORY_DEVICE_RESULT); + } + + @Test + public void testThingsStackDefaultConvertersTakeProfileNameFromIntegrationMetadata() throws IOException { + String expectedDecodedMessage = THINGS_STACK_REPOSITORY_DEVICE_RESULT.replace("\"profile\":\"milesight-iot-am308\"", "\"profile\":\"AM308\""); + Map integrationMetadata = Map.of("profile.milesight-iot-am308", "AM308", "profile.milesight-iot-ws202", "WS202"); + + testThingsStackDefaultConverters(THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD, integrationMetadata, expectedDecodedMessage); } @Test @@ -706,18 +714,18 @@ public class ConverterControllerTest extends AbstractControllerTest { "\"attributes\":{\"eui\":\"70B3D57ED006F370\",\"deviceId\":\"manual-node\",\"applicationId\":\"my-app\",\"fPort\":1,\"bandwidth\":125000," + "\"spreadingFactor\":9,\"frequency\":\"868300000\"}}"; - testThingsStackDefaultConverters(THINGS_STACK_MANUAL_DEVICE_PAYLOAD, expectedDecodedMessage); + testThingsStackDefaultConverters(THINGS_STACK_MANUAL_DEVICE_PAYLOAD, Map.of("profile.milesight-iot-am308", "AM308"), expectedDecodedMessage); } // The TBEL and JS defaults are two copies of one script, so each of them must give this result for TTN and TTI - private void testThingsStackDefaultConverters(String payloadFile, String expectedResult) throws IOException { + private void testThingsStackDefaultConverters(String payloadFile, Map integrationMetadata, String expectedResult) throws IOException { JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); String payload = readResource(payloadFile); for (IntegrationType integrationType : List.of(IntegrationType.TTN, IntegrationType.TTI)) { Converter converter = createConverter(defaultConfigurations.get(integrationType.name()), integrationType, 2); for (ScriptLanguage scriptLang : ScriptLanguage.values()) { String decoderFileName = "converters/" + scriptLang.name().toLowerCase() + "-" + integrationType.name().toLowerCase() + "-decoder.raw"; - assertThat(JacksonUtil.toJsonNode(decode(decoderFileName, payload, converter, scriptLang))) + assertThat(JacksonUtil.toJsonNode(decode(decoderFileName, payload, converter, scriptLang, integrationMetadata))) .as("%s %s", integrationType, scriptLang) .isEqualTo(JacksonUtil.toJsonNode(expectedResult)); } @@ -896,6 +904,12 @@ public class ConverterControllerTest extends AbstractControllerTest { } private String decode(String decoderFileName, String payloadExample, Converter converter, ScriptLanguage scriptLang) throws IOException { + return decode(decoderFileName, payloadExample, converter, scriptLang, Map.of()); + } + + // integrationMetadata: what the integration adds to the metadata of every uplink, from its configuration + private String decode(String decoderFileName, String payloadExample, Converter converter, ScriptLanguage scriptLang, + Map integrationMetadata) throws IOException { byte[] bytes = IOUtils.toByteArray(ConverterControllerTest.class.getClassLoader().getResourceAsStream(decoderFileName)); String base64Payload = Base64.getEncoder().encodeToString(payloadExample.getBytes(StandardCharsets.UTF_8)); @@ -917,6 +931,7 @@ public class ConverterControllerTest extends AbstractControllerTest { inputParams.set("payload", unwrapped.get("payload")); } inputParams.set("metadata",unwrapped.get("metadata")); + integrationMetadata.forEach(((ObjectNode) inputParams.get("metadata"))::put); } else { inputParams.set("payload", new TextNode(base64Payload)); } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 6fbf49587c..e0281891aa 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.iot_hub; +import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -34,6 +35,7 @@ import org.thingsboard.server.common.data.id.IntegrationId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.subscription.SubscriptionErrorCode; import org.thingsboard.server.common.data.subscription.SubscriptionException; import org.thingsboard.rule.engine.api.AttributesSaveRequest; @@ -165,6 +167,7 @@ class DefaultDevicePackageUpdateServiceTest { device.setTenantId(tenantId); device.setName("AM308"); when(deviceService.findDeviceById(tenantId, deviceId)).thenReturn(device); + when(installedItemService.findByTenantId(any(), any(), any(), any())).thenReturn(new PageData<>()); } @Test @@ -335,6 +338,40 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(result.getOutputs().get("TTN").get("routingKey").asText()).isEqualTo("routing-key"); } + @Test + void overwrittenSharedConverter_isRecordedAsDefaultAndOtherPackagesTakeItsChecksum() { + ConverterId converterId = new ConverterId(UUID.randomUUID()); + Converter current = new Converter(converterId); + current.setTenantId(tenantId); + current.setName("Uplink data converter for TTN my-app"); + current.setVersion(4L); + when(converterService.findConverterById(tenantId, converterId)).thenReturn(current); + when(converterService.saveConverter(any())).thenAnswer(i -> i.getArgument(0)); + // The package that created the converter records its checksum; one that took it as it was records none + ObjectNode created = JacksonUtil.newObjectNode().put("checksum", "before").put("resolution", "created"); + created.set("entityOutput", JacksonUtil.newObjectNode().put("id", converterId.getId().toString())); + ObjectNode usedExisting = JacksonUtil.newObjectNode().put("resolution", "use-existing"); + usedExisting.set("entityOutput", JacksonUtil.newObjectNode().put("id", converterId.getId().toString())); + IotHubInstalledItem creator = otherPackage(Map.of("Uplink", created)); + IotHubInstalledItem taker = otherPackage(Map.of("Uplink", usedExisting)); + when(installedItemService.findByTenantId(any(), any(), any(), any())) + .thenReturn(new PageData<>(List.of(installedItem, creator, taker), 1, 3, false)); + DeviceUpdateRequest.Step step = overwrite("Uplink", "UPLINK_CONVERTER", converterId, 4L, + JacksonUtil.newObjectNode().put("name", "Uplink").set("configuration", JacksonUtil.newObjectNode().put("tbelDecoder", "return {};"))); + step.setConfirmed(true); + step.setDefaultConverter(true); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + JsonNode state = ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("Uplink"); + assertThat(state.get("defaultConverter").asBoolean()).isTrue(); + assertThat(created.get("checksum").asText()).isEqualTo(state.get("checksum").asText()); + assertThat(usedExisting.has("checksum")).isFalse(); + verify(installedItemService).save(tenantId, creator); + verify(installedItemService, never()).save(tenantId, taker); + } + @Test void overwritingAnEntityOfAnotherPackage_needsAConfirmation() { DashboardId foreign = new DashboardId(UUID.randomUUID()); @@ -443,6 +480,22 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(EntityChecksum.of(profile)).isEqualTo(profileChecksum); } + @Test + void checksum_ignoresTheMetadataOfAnIntegration() { + Integration integration = new Integration(); + integration.setName("TTN my-app"); + ObjectNode configuration = JacksonUtil.newObjectNode().put("host", "eu1.cloud.thethings.network"); + configuration.set("metadata", JacksonUtil.newObjectNode()); + integration.setConfiguration(configuration); + String installed = EntityChecksum.of(integration); + // Another package on the integration adds its profile name + ((ObjectNode) configuration.get("metadata")).put("profile.milesight-iot-am308", "AM308"); + assertThat(EntityChecksum.of(integration)).isEqualTo(installed); + assertThat(integration.getConfiguration().get("metadata").has("profile.milesight-iot-am308")).isTrue(); + configuration.put("host", "nam1.cloud.thethings.network"); + assertThat(EntityChecksum.of(integration)).isNotEqualTo(installed); + } + @Test void userMessage_showsValidationMessagesAndHidesInternalOnes() { assertThat(DefaultDevicePackageUpdateService.userMessage(new DataValidationException("Rule chains limit reached"))) @@ -464,6 +517,17 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(resolved.get("b").asText()).isEqualTo("x 123 ${gateway.id}"); } + private IotHubInstalledItem otherPackage(Map installState) { + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setInstallState(installState); + IotHubInstalledItem item = new IotHubInstalledItem(); + item.setId(new IotHubInstalledItemId(UUID.randomUUID())); + item.setTenantId(tenantId); + item.setItemType("DEVICE"); + item.setDescriptor(descriptor); + return item; + } + private DeviceProfile profile(Long version, String name) { DeviceProfile profile = new DeviceProfile(profileId); profile.setTenantId(tenantId); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 7fb651678e..695df118b5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -177,6 +177,9 @@
    {{ label }} + @if (plan.newDefaultConverter) { + {{ 'iot-hub.device-update-new-default-converter' | translate }} + } @if (plan.existing) { {{ 'iot-hub.device-install-conflict-exists' | translate:{ type: ('iot-hub.device-install-step-type-' + ep.step.type | translate) } }} @@ -252,6 +255,9 @@
    @if (ws.reviewing && plan?.confirmed) { + @if (plan.newDefaultConverter) { + {{ 'iot-hub.device-update-new-default-converter' | translate }} + } @if (plan.existing) { {{ 'iot-hub.device-update-existing-' + plan.resolution | translate }} } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ca88fa519e..e515186140 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -35,6 +35,11 @@ import { IntegrationService } from '@core/http/integration.service'; import { DialogService } from '@core/services/dialog.service'; import { Converter, ConverterType } from '@shared/models/converter.models'; import { AiDashboardGenerationService } from '@home/components/ai/ai-dashboard-generation.service'; +import { ResourcesService } from '@core/services/resources.service'; +import { getCurrentAuthState } from '@core/auth/auth.selectors'; +import { ScriptLanguage } from '@shared/models/rule-node.models'; +import { IntegrationType } from '@shared/models/integration.models'; +import { differsFromDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; import { cleanFormFieldValue, DeviceInstallStep, @@ -98,6 +103,8 @@ interface EntityStepPlan { version?: number; // Modified: the entity as the check found it, which the user can download before it is overwritten current?: any; + // A step with "default": true whose converter differs from ThingsBoard's default converter now + newDefaultConverter?: boolean; } /** @@ -225,6 +232,8 @@ export interface ConnectionCheck { } const ENTITY_STEP_MIN_DELAY = 2000; +// Where the wizard keeps the converter it builds for a step with "default": true, as if the package had that file +const DEFAULT_CONVERTER_PATH = 'tb-default-converter/'; const DEFAULT_RANDOM_SIZE = 20; const TRANSPORT_HOST_FIELD_KEY = 'tbTransportHost'; const TRANSPORT_PORT_FIELD_KEY = 'tbTransportPort'; @@ -359,6 +368,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent(); private previousPackageInfo: DevicePackageInfo | null = null; private entityPlans = new WeakMap(); + // Update: for each step with "default": true, whether its converter differs from ThingsBoard's default one now + private defaultConverterChanges = new Map(); // Variable resolution state formValues: Record = {}; @@ -397,7 +408,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent this.packageInfo.installSteps[ct]?.length > 0 ); @@ -440,6 +453,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + if (step.type === InstallStepType.INTEGRATION && step.metadata) { + return this.addStepMetadata(step, existing); + } if (step.type !== InstallStepType.DEVICE && step.type !== InstallStepType.GATEWAY) { return existing; } @@ -1814,6 +1833,35 @@ export class TbDeviceInstallDialogComponent extends DialogComponent: does when the + * user kept the default profile name, isn't added. + */ + private withStepMetadata(step: DeviceInstallStep, metadata: Record | null | undefined): Record { + const merged = { ...(metadata ?? {}) }; + for (const [rawKey, rawValue] of Object.entries(step.metadata ?? {})) { + const key = this.resolveVariables(rawKey); + const value = this.resolveVariables(String(rawValue ?? '')); + if (value && !value.includes('${') && value !== key.substring(key.indexOf('.') + 1)) { + merged[key] = value; + } + } + return merged; + } + + /** An integration taken as it is still gets the step's metadata: the package's converter reads it. */ + private async addStepMetadata(step: DeviceInstallStep, existing: EntityStepOutput): Promise { + const integration = await firstValueFrom(this.integrationService.getIntegration(existing.id, {ignoreErrors: true})); + const metadata = this.withStepMetadata(step, integration.configuration?.metadata); + if (isEqual(metadata, integration.configuration?.metadata ?? {})) { + return existing; + } + integration.configuration = { ...integration.configuration, metadata }; + const result = await firstValueFrom(this.integrationService.saveIntegration(integration, {ignoreErrors: true})); + return this.buildIntegrationOutput(result); + } + /** Stores the gateway output early, so the custom docker-compose template, if any, resolves ${gateway.token} etc. */ private setGatewayOutput(step: DeviceInstallStep, output: EntityStepOutput): void { this.entityOutputs.set('gateway', output); @@ -2001,7 +2049,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { for (const ep of ws.entitySteps) { const plan = this.entityPlans.get(ep); const alias = stepTypeAliasMap[ep.step.type]; @@ -2068,16 +2116,21 @@ export class TbDeviceInstallDialogComponent extends DialogComponent this.buildUpdateStep(ws, ep.step, this.entityPlans.get(ep))); + const steps: DeviceUpdateStep[] = []; + for (const ep of ws.entitySteps) { + steps.push(await this.buildUpdateStep(ws, ep.step, this.entityPlans.get(ep))); + } + return steps; } - private buildUpdateStep(ws: WizardStep, step: DeviceInstallStep, plan: EntityStepPlan): DeviceUpdateStep { + private async buildUpdateStep(ws: WizardStep, step: DeviceInstallStep, plan: EntityStepPlan): Promise { const base: DeviceUpdateStep = { name: step.name, id: step.id, type: step.type, action: 'KEEP', - resolution: plan.previous?.resolution ?? plan.resolution ?? 'created' + resolution: plan.previous?.resolution ?? plan.resolution ?? 'created', + defaultConverter: step.default || undefined }; if (step.type === InstallStepType.GATEWAY_CONNECTOR) { return plan.action === 'keep' ? base : { ...base, action: 'OVERWRITE', entity: this.resolveTemplateJson(this.zipFiles.get(step.template)) }; @@ -2090,6 +2143,12 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + const scriptLang = getCurrentAuthState(this.store).tbelEnabled ? ScriptLanguage.TBEL : ScriptLanguage.JS; + for (const [method, steps] of Object.entries(this.packageInfo.installSteps ?? {})) { + for (const step of steps) { + if (step.type !== InstallStepType.UPLINK_CONVERTER || !step.default) { + continue; + } + const integrationType = method.replace(/^INTEGRATION_/, '') as IntegrationType; + const converter = await loadDefaultUplinkConverter(this.resourcesService, integrationType, scriptLang, step.name); + if (!converter) { + throw new Error(`ThingsBoard has no default converter for ${integrationType}`); + } + step.template = `${DEFAULT_CONVERTER_PATH}${integrationType}.json`; + this.zipFiles.set(step.template, JSON.stringify(converter)); + } + } + } + + /** + * Update: ThingsBoard's default converter changes with ThingsBoard, not with the package, so a step with "default": true + * changed when the package's converter differs from the default one now. A converter the user changed differs too: + * the update shows that someone changed it. + */ + private async checkDefaultConverters(): Promise { + this.restoreInstallState(this.data.update.descriptor.installState ?? {}); + try { + for (const step of this.packageInfo.installSteps[this.selectedInstallMethod] ?? []) { + const id = step.default ? this.storedStateOf(step)?.state?.entityOutput?.id : undefined; + const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true})).catch(() => null) : null; + if (converter) { + const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, + converter.configuration.scriptLang, converter.name); + this.defaultConverterChanges.set(step, !!defaultConverter && differsFromDefaultConverter(converter, defaultConverter)); + } + } + } finally { + this.formValues = {}; + this.entityOutputs.clear(); + } + } + /** Update: loads the installed version. Without it, every form and entity of the new version counts as changed. */ private async loadPreviousVersion(): Promise { try { @@ -2343,12 +2447,15 @@ export class TbDeviceInstallDialogComponent extends DialogComponent !isEqual( this.resolvePackageFile(this.zipFiles, step[file], this.formValues), this.resolvePackageFile(this.previousFiles, previousStep[file], previousFormValues) @@ -2418,6 +2525,13 @@ export class TbDeviceInstallDialogComponent extends DialogComponentautorenew } + @if (canResetToDefault(field)) { + + } @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index a87c734094..5c2b03d162 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -138,6 +138,18 @@ export class InstallFormRendererComponent implements OnChanges { control.markAsDirty(); } + /** A resettable field the user changed shows a button that puts its defaultValue back. */ + canResetToDefault(field: FormFieldDefinition): boolean { + const control = this.formGroup.controls[field.key]; + return !!field.resettable && !!control?.enabled && control.value !== (field.defaultValue ?? ''); + } + + resetToDefault(field: FormFieldDefinition): void { + const control = this.formGroup.controls[field.key]; + control.setValue(field.defaultValue ?? ''); + control.markAsDirty(); + } + onFocus(field: FormFieldDefinition): void { const control = this.formGroup.controls[field.key]; this.focusedControl = control ?? null; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts new file mode 100644 index 0000000000..b90a362da3 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts @@ -0,0 +1,57 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +import { firstValueFrom } from 'rxjs'; +import { ResourcesService } from '@core/services/resources.service'; +import { Converter, ConverterConfigV2, ConverterType, getTargetField, getTargetTemplateUrl } from '@shared/models/converter.models'; +import { IntegrationType } from '@shared/models/integration.models'; +import { ScriptLanguage } from '@shared/models/rule-node.models'; +import { isEqual } from '@core/utils'; + +const DEFAULT_CONVERTERS_V2_CONFIGURATION_URL = '/assets/converters/default-converters-v2-configuration.json'; + +// The settings of a default converter that decide what it does: the script is compared on its own +const V2_CONFIGURATION_KEYS: (keyof ConverterConfigV2)[] = + ['type', 'name', 'profile', 'label', 'customer', 'group', 'attributes', 'telemetry', 'updateOnlyKeys']; + +/** + * The uplink converter ThingsBoard creates for a new integration of this type, as a device package step with + * "default": true installs it. Null when ThingsBoard has no default converter settings for the type. + */ +export const loadDefaultUplinkConverter = async (resourcesService: ResourcesService, integrationType: IntegrationType, + scriptLang: ScriptLanguage, name: string): Promise | null> => { + const configurations = await firstValueFrom( + resourcesService.loadJsonResource>(DEFAULT_CONVERTERS_V2_CONFIGURATION_URL)); + const configuration = configurations?.[integrationType]; + if (!configuration) { + return null; + } + const script = await firstValueFrom(resourcesService.loadJsonResource( + getTargetTemplateUrl(ConverterType.UPLINK, scriptLang, integrationType, 2))); + return { + name, + type: ConverterType.UPLINK, + integrationType, + converterVersion: 2, + edgeTemplate: false, + // As the device packages had it: the debug events help to find out why a LoRaWAN device sends nothing + debugSettings: { failuresEnabled: true, allEnabled: true, allEnabledUntil: 0 }, + configuration: { + ...configuration, + scriptLang, + decoder: null, + tbelDecoder: null, + encoder: null, + tbelEncoder: null, + [getTargetField(ConverterType.UPLINK, scriptLang)]: script + }, + additionalInfo: { description: '' } + }; +}; + +/** True when the converter does something else than the default one: another script or other settings. */ +export const differsFromDefaultConverter = (converter: Converter, defaultConverter: Partial): boolean => { + const field = getTargetField(ConverterType.UPLINK, converter.configuration.scriptLang); + const script = (value: string) => (value ?? '').trimEnd(); + return script(converter.configuration[field]) !== script(defaultConverter.configuration[field]) || + V2_CONFIGURATION_KEYS.some(key => !isEqual(converter.configuration[key] ?? null, defaultConverter.configuration[key] ?? null)); +}; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index 08195cac7a..db7ad21423 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -42,26 +42,26 @@ @if (updatesChecked) { {{ 'iot-hub.updates' | translate }} } @if (updatesChecked) { - @if (getPublishedVersionInfo(item); as pubInfo) { - @if (pubInfo.publishedVersionId !== item.itemVersionId) { -
    - @if (!itemVersion) { - - } @else { - - } -
    - } @else { - - check - {{ 'iot-hub.up-to-date' | translate }} - - } + @let pubInfo = getPublishedVersionInfo(item); + @if (pubInfo && pubInfo.publishedVersionId !== item.itemVersionId) { +
    + @if (!itemVersion) { + + } @else { + + } +
    + } @else if (hasConverterUpdate(item)) { + + } @else { check diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 27a2215c48..765f563898 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -36,6 +36,10 @@ import { entityTypeTranslations } from '@shared/models/entity-type.models'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; +import { ConverterService } from '@core/http/converter.service'; +import { ResourcesService } from '@core/services/resources.service'; +import { differsFromDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { firstValueFrom } from 'rxjs'; @Component({ selector: 'tb-iot-hub-installed-items-table', @@ -68,6 +72,8 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, isLoading = false; publishedVersionMap = new Map(); + // Installed device packages whose default converter differs from ThingsBoard's default converter now + converterUpdates = new Set(); updatesChecked = false; isCheckingUpdates = false; @@ -83,7 +89,9 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, private iotHubActions: IotHubActionsService, private elementRef: ElementRef, private zone: NgZone, - private cd: ChangeDetectorRef + private cd: ChangeDetectorRef, + private converterService: ConverterService, + private resourcesService: ResourcesService ) { this.widgetResize$ = new ResizeObserver(() => { this.zone.run(() => { @@ -235,6 +243,7 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, infos.forEach(info => this.publishedVersionMap.set(info.itemId, info)); this.updatesChecked = true; this.isCheckingUpdates = false; + void this.checkConverterUpdates(); }, error: () => { this.isCheckingUpdates = false; @@ -250,6 +259,44 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, }); } + hasConverterUpdate(item: IotHubInstalledItem): boolean { + return this.converterUpdates.has(item.id.id); + } + + /** The update to the installed version itself brings the converter to ThingsBoard's default one. */ + updateConverter(item: IotHubInstalledItem): void { + this.iotHubActions.updateItem(item, item.version, item.itemVersionId).subscribe(result => { + if (result === 'updated') { + this.loadData(); + } + }); + } + + /** + * The device packages on this page whose step with "default": true installed a converter that differs from + * ThingsBoard's default converter now. ThingsBoard's default changes with ThingsBoard, so the package has no new version for it. + */ + private async checkConverterUpdates(): Promise { + const updates = new Set(); + for (const item of this.dataSource) { + const states = item.itemType === 'DEVICE' ? Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) : []; + for (const state of states) { + const id = state?.defaultConverter ? state.entityOutput?.id : undefined; + const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true, ignoreLoading: true})) + .catch(() => null) : null; + if (converter) { + const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, + converter.configuration.scriptLang, converter.name); + if (defaultConverter && differsFromDefaultConverter(converter, defaultConverter)) { + updates.add(item.id.id); + } + } + } + } + this.converterUpdates = updates; + this.cd.markForCheck(); + } + getPublishedVersionInfo(item: IotHubInstalledItem): ItemPublishedVersionInfo | undefined { return this.publishedVersionMap.get(item.itemId); } @@ -267,6 +314,9 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, this.dataSource = data.data; this.totalElements = data.totalElements; this.isLoading = false; + if (this.updatesChecked && !this.itemVersion) { + void this.checkConverterUpdates(); + } }, error: () => { this.dataSource = []; diff --git a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts index 62e38c0541..088f787440 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts @@ -226,6 +226,10 @@ export interface DeviceInstallStep { dockerCompose?: string; // INTEGRATION step references the integration-form.json artifact alongside the template. form?: string; + // UPLINK_CONVERTER: ThingsBoard's default converter for the method's integration instead of a template + default?: boolean; + // INTEGRATION: entries added to the integration's metadata, which keeps the entries it has + metadata?: Record; } export interface DevicePackageInfo { @@ -285,6 +289,8 @@ export interface FormFieldDefinition { // Consecutive fields with the same group are shown in one panel titled with the group group?: string; readOnly?: boolean; + // A STRING field the user changed shows a button that puts defaultValue back + resettable?: boolean; // Shown inside the empty field; the label then always stays above it placeholder?: string; // Fills the field from other fields of the form, e.g. "TTN – ${appId}", until the user edits it. diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index fbdd9867c3..494605caf4 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -62,6 +62,8 @@ export interface DeviceUpdateStep { resolution?: string; // The package step's id, which keys its install state; the name when not set id?: string; + // The step takes ThingsBoard's default converter: its install state says so, for the update check + defaultConverter?: boolean; } export interface DeviceUpdateRequest { diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index 5cb10f8db1..ee4314679b 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -1,6 +1,7 @@ // The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. -// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +// Such a device gets the profile -, so all devices of one model share it, +// or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. var values = {}; var history = []; if (metadata.payloadFormat == 'JSON') { @@ -19,11 +20,12 @@ if (metadata.payloadFormat == 'JSON') { var profile = 'LoRaWAN Device'; if (metadata.brandId != null && metadata.modelId != null) { profile = metadata.brandId + '-' + metadata.modelId; + // The profile name chosen at install, kept in the integration metadata + var customProfile = metadata['profile.' + profile]; + if (customProfile != null && customProfile != '') { + profile = customProfile; + } } -// To give a model its own profile name, map it here, for example: -// if (profile == 'milesight-iot-am308') { -// profile = 'AM308'; -// } if (history.length == 0) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index 5cb10f8db1..ee4314679b 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -1,6 +1,7 @@ // The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. -// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +// Such a device gets the profile -, so all devices of one model share it, +// or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. var values = {}; var history = []; if (metadata.payloadFormat == 'JSON') { @@ -19,11 +20,12 @@ if (metadata.payloadFormat == 'JSON') { var profile = 'LoRaWAN Device'; if (metadata.brandId != null && metadata.modelId != null) { profile = metadata.brandId + '-' + metadata.modelId; + // The profile name chosen at install, kept in the integration metadata + var customProfile = metadata['profile.' + profile]; + if (customProfile != null && customProfile != '') { + profile = customProfile; + } } -// To give a model its own profile name, map it here, for example: -// if (profile == 'milesight-iot-am308') { -// profile = 'AM308'; -// } if (history.length == 0) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 09c75b5aed..1cfef4546d 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -1,6 +1,7 @@ // The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. -// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +// Such a device gets the profile -, so all devices of one model share it, +// or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. var values = {}; var history = []; if (metadata.payloadFormat == "JSON") { @@ -19,11 +20,12 @@ if (metadata.payloadFormat == "JSON") { var profile = "LoRaWAN Device"; if (metadata.brandId != null && metadata.modelId != null) { profile = metadata.brandId + "-" + metadata.modelId; + // The profile name chosen at install, kept in the integration metadata + var customProfile = metadata["profile." + profile]; + if (customProfile != null && customProfile != "") { + profile = customProfile; + } } -// To give a model its own profile name, map it here, for example: -// if (profile == "milesight-iot-am308") { -// profile = "AM308"; -// } if (history.isEmpty()) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 09c75b5aed..1cfef4546d 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -1,6 +1,7 @@ // The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. -// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +// Such a device gets the profile -, so all devices of one model share it, +// or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. var values = {}; var history = []; if (metadata.payloadFormat == "JSON") { @@ -19,11 +20,12 @@ if (metadata.payloadFormat == "JSON") { var profile = "LoRaWAN Device"; if (metadata.brandId != null && metadata.modelId != null) { profile = metadata.brandId + "-" + metadata.modelId; + // The profile name chosen at install, kept in the integration metadata + var customProfile = metadata["profile." + profile]; + if (customProfile != null && customProfile != "") { + profile = customProfile; + } } -// To give a model its own profile name, map it here, for example: -// if (profile == "milesight-iot-am308") { -// profile = "AM308"; -// } if (history.isEmpty()) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index eb84ed9a84..68a0906635 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6452,6 +6452,7 @@ "check-for-updates": "Check for updates", "updates": "Updates", "up-to-date": "Up to date", + "new-converter-available": "New converter available", "update": "Update", "update-to-version": "Update to v {{ version }}", "update-item-title": "Update Item", @@ -6538,6 +6539,7 @@ "device-update-no-conflicts": "No conflicts", "device-update-new": "New", "device-update-shared": "Used by other packages. The update affects them.", + "device-update-new-default-converter": "ThingsBoard has a new version of the default converter used by this package.", "device-update-modified": "Has local changes. You can download the current version here.", "device-install-unexpected-error": "Something went wrong. Try again.", "device-update-existing-use-existing": "Already exists. The existing one will be used.", From 4bfa5d91153ae83dd9c7f4faede9f4a7593cdf0f Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 10:20:54 +0200 Subject: [PATCH 386/559] fix(iot-hub): keep the package's own entity on use-existing, find a step that gained an id by its name --- .../device-install-dialog.component.ts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ca88fa519e..327590d41c 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -2086,7 +2086,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.key).filter(key => !previousKeys.has(key))); } + /** Update: true when the entity is one the installed package created. */ + private isPackageEntity(id: string): boolean { + return !!this.data.update?.descriptor.createdEntityIds?.some(created => created.id === id); + } + /** The keys the install state may keep a step under: its id, or else its name, as written or resolved. */ private stateKeysOf(step: DeviceInstallStep): string[] { return step.id ? [step.id] : [step.name, this.resolveVariables(step.name)]; } - /** Update: the install state of a step of the new version, under the key of the installed step it replaces. */ + /** + * Update: the install state of a step of the new version, under the key of the installed step it replaces. + * Without the installed version's steps (e.g. it can't be downloaded any more), a step that has gained an id + * is also looked up under its own name, which the installed version keyed it by. + */ private storedStateOf(step: DeviceInstallStep): { key: string; state: any } | undefined { const installState = this.data.update?.descriptor.installState ?? {}; const previousStep = this.findPreviousStep(step); const keys = [...(previousStep ? this.stateKeysOf(previousStep) : []), ...this.stateKeysOf(step)]; + if (!previousStep && step.id) { + keys.push(step.name, this.resolveVariables(step.name)); + } const key = keys.find(k => k && installState[k]); return key ? { key, state: installState[key] } : undefined; } From f536a08e21117c49ba42e7dac70dfc80c5675bd7 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 10:45:51 +0200 Subject: [PATCH 387/559] fix(iot-hub): the server keeps the package's own entities, the name fallback only without the installed version --- .../iot_hub/DefaultDevicePackageUpdateService.java | 10 +++++++--- .../DefaultDevicePackageUpdateServiceTest.java | 14 ++++++++++++++ .../device-install-dialog.component.ts | 2 +- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 6b8445d16e..380f372ea7 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -271,6 +271,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i private Applied applySteps(TenantId tenantId, DevicePackage devicePackage, DeviceUpdateRequest request, JsonNode versionInfo) { IotHubInstalledItem installedItem = lockInstalledItem(tenantId, devicePackage, request); DeviceInstalledItemDescriptor previous = devicePackage.descriptor(); + Set ownedIds = createdIds(previous).keySet(); Map aliasOutputs = new HashMap<>(); Map outputs = new LinkedHashMap<>(); Map installState = new LinkedHashMap<>(); @@ -303,7 +304,10 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i outputs.put(step.getName(), output); ObjectNode state = JacksonUtil.newObjectNode(); state.set("entityOutput", output); - state.put("resolution", step.getResolution() != null ? step.getResolution() : "created"); + // The package's own entity stays the package's, whatever the request says, so later versions update it + boolean owned = step.getEntityId() != null && ownedIds.contains(step.getEntityId()); + String resolution = step.getResolution() == null || (owned && "use-existing".equals(step.getResolution())) ? "created" : step.getResolution(); + state.put("resolution", resolution); // A kept entity keeps the checksum of what the package left: the current one would take the // user's changes for the package's, and the next update would overwrite them without a warning String checksum = step.getAction() == DeviceUpdateRequest.Action.KEEP ? previousChecksum(previous, step.getEntityId()) : result.checksum(); @@ -311,7 +315,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i state.put("checksum", checksum); } installState.put(step.getId() != null ? step.getId() : step.getName(), state); - if (!"use-existing".equals(step.getResolution())) { + if (!"use-existing".equals(resolution)) { stepEntityIds.add(result.entityId()); } if (result.entityId() instanceof DashboardId id) { @@ -320,7 +324,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (result.saved() != null) { saved.add(result.saved()); } - if (step.getAction() != DeviceUpdateRequest.Action.KEEP && !"use-existing".equals(step.getResolution())) { + if (step.getAction() != DeviceUpdateRequest.Action.KEEP && !"use-existing".equals(resolution)) { // As at install, the step's attributes go with the entity it saved; written after commit attributes.add(new StepAttributes(step.getName(), result.entityId(), step.getServerAttributes(), step.getSharedAttributes())); } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 6fbf49587c..0d6bed9f0f 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -256,6 +256,20 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(descriptor.getInstallState().get("Dashboard").has("checksum")).isFalse(); } + @Test + void useExistingOfAPackageEntity_staysThePackages() { + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + DeviceUpdateRequest.Step step = keep("Overview", "DASHBOARD", dashboardId); + step.setResolution("use-existing"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Overview").get("resolution").asText()).isEqualTo("created"); + assertThat(descriptor.getCreatedEntityIds()).contains(dashboardId); + } + @Test void twoStepsWithOneKey_areRejected() { DeviceUpdateRequest.Step first = keep("Overview", "DASHBOARD", dashboardId); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 327590d41c..fc1718b108 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -2344,7 +2344,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent k && installState[k]); From 464147b6f7eda98484ac6721784ba689a695dd29 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:04:41 +0200 Subject: [PATCH 388/559] fix(iot-hub): a package owns the entities its install state records, except use-existing ones --- .../DefaultDevicePackageUpdateService.java | 24 +++++++++++- ...DefaultDevicePackageUpdateServiceTest.java | 37 ++++++++++++++++++- .../device-install-dialog.component.ts | 8 +++- 3 files changed, 64 insertions(+), 5 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index db5dc64379..5ab98c932e 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -204,7 +204,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (request.getSteps() == null || request.getSteps().isEmpty()) { throw new IllegalArgumentException("The update has no steps"); } - Set ownedIds = createdIds(devicePackage.descriptor()).keySet(); + Set ownedIds = ownedIds(devicePackage.descriptor()); Set stateKeys = new HashSet<>(); for (DeviceUpdateRequest.Step step : request.getSteps()) { if (step.getName() == null || step.getAction() == null || !isKnownType(step.getType())) { @@ -273,7 +273,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i private Applied applySteps(TenantId tenantId, DevicePackage devicePackage, DeviceUpdateRequest request, JsonNode versionInfo) { IotHubInstalledItem installedItem = lockInstalledItem(tenantId, devicePackage, request); DeviceInstalledItemDescriptor previous = devicePackage.descriptor(); - Set ownedIds = createdIds(previous).keySet(); + Set ownedIds = ownedIds(previous); Map aliasOutputs = new HashMap<>(); Map outputs = new LinkedHashMap<>(); Map installState = new LinkedHashMap<>(); @@ -840,6 +840,26 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i return type != null && (STEP_ALIASES.containsKey(type) || "GATEWAY_CONNECTOR".equals(type)); } + /** + * The entities the package owns: those its install state records, except the ones the user chose to use as they + * were. Not createdEntityIds: the install adds the use-existing ones to it too. + */ + private static Set ownedIds(DeviceInstalledItemDescriptor descriptor) { + Set ids = new HashSet<>(); + if (descriptor.getInstallState() != null) { + descriptor.getInstallState().values().forEach(state -> { + JsonNode id = state.path("entityOutput").path("id"); + if (id.isTextual() && !"use-existing".equals(state.path("resolution").asText())) { + try { + ids.add(UUID.fromString(id.asText())); + } catch (IllegalArgumentException ignored) { + } + } + }); + } + return ids; + } + private static Map createdIds(DeviceInstalledItemDescriptor descriptor) { Map ids = new HashMap<>(); if (descriptor.getCreatedEntityIds() != null) { diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 7b02a966fa..06d0109b82 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -135,7 +135,9 @@ class DefaultDevicePackageUpdateServiceTest { descriptor.setSelectedInstallMethod("INTEGRATION_TTN"); descriptor.setCreatedEntityIds(List.of(profileId, deviceId, dashboardId, integrationId)); descriptor.setDashboardId(dashboardId); - descriptor.setInstallState(Map.of()); + // The package created these entities + descriptor.setInstallState(Map.of("Profile", stateOf(profileId, "created"), "AM308", stateOf(deviceId, "created"), + "Dashboard", stateOf(dashboardId, "created"), "Integration", stateOf(integrationId, "created"))); installedItem = new IotHubInstalledItem(); installedItem.setId(new IotHubInstalledItemId(UUID.randomUUID())); installedItem.setTenantId(tenantId); @@ -273,6 +275,32 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(descriptor.getCreatedEntityIds()).contains(dashboardId); } + @Test + void useExistingAtInstall_staysUseExisting() { + // At install the user picked their own dashboard: the install adds it to createdEntityIds too + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", stateOf(dashboardId, "use-existing"))); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + DeviceUpdateRequest.Step step = keep("Dashboard", "DASHBOARD", dashboardId); + step.setResolution("use-existing"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Dashboard").get("resolution").asText()).isEqualTo("use-existing"); + } + + @Test + void overwritingAnEntityUsedAtInstall_needsAConfirmation() { + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", stateOf(dashboardId, "use-existing"))); + DeviceUpdateRequest.Step step = overwrite("Dashboard", "DASHBOARD", dashboardId, 9L, JacksonUtil.newObjectNode().put("title", "Dashboard")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isFalse(); + verify(installedItemService, never()).save(any(), any()); + } + @Test void twoStepsWithOneKey_areRejected() { DeviceUpdateRequest.Step first = keep("Overview", "DASHBOARD", dashboardId); @@ -593,4 +621,11 @@ class DefaultDevicePackageUpdateServiceTest { return step; } + + private static ObjectNode stateOf(EntityId id, String resolution) { + ObjectNode state = JacksonUtil.newObjectNode().put("resolution", resolution); + state.set("entityOutput", JacksonUtil.newObjectNode().put("id", id.getId().toString())); + return state; + } + } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 77fef10a5e..5085d7fc96 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -2429,9 +2429,13 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.key).filter(key => !previousKeys.has(key))); } - /** Update: true when the entity is one the installed package created. */ + /** + * Update: true when the entity is one the installed package owns: its install state records it, and not as one + * the user chose to use as it was. Not createdEntityIds: the install adds the use-existing ones to it too. + */ private isPackageEntity(id: string): boolean { - return !!this.data.update?.descriptor.createdEntityIds?.some(created => created.id === id); + return Object.values(this.data.update?.descriptor.installState ?? {}) + .some(state => state?.entityOutput?.id === id && state.resolution !== 'use-existing'); } /** The keys the install state may keep a step under: its id, or else its name, as written or resolved. */ From 50eff0dd15667da9e07eafa2086d7bce9052e6d9 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:37:10 +0200 Subject: [PATCH 389/559] fix(iot-hub): keep the used-existing ids, check shared entities against every package's checksums, fix the default converter review --- .../DefaultDevicePackageUpdateService.java | 82 +++++++++--------- ...DefaultDevicePackageUpdateServiceTest.java | 71 +++++++++++++++- .../DeviceInstalledItemDescriptor.java | 2 + .../src/app/core/http/iot-hub-api.service.ts | 2 +- .../device-install-dialog.component.ts | 84 ++++++++++++++++--- .../iot-hub/iot-hub-default-converter.ts | 9 ++ ...iot-hub-installed-items-table.component.ts | 8 +- .../iot-hub/iot-hub-installed-item.models.ts | 2 + 8 files changed, 203 insertions(+), 57 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 5ab98c932e..c8dd0e69f8 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -137,6 +137,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i Set sharedIds = new HashSet<>(); iotHubService.findKeptEntities(tenantId, installedItemId).getEntities().forEach(e -> sharedIds.add(e.getEntityId().getId())); Map createdIds = createdIds(descriptor); + Map> recordedChecksums = recordedChecksums(tenantId); List states = new ArrayList<>(); if (descriptor.getInstallState() == null) { @@ -149,8 +150,11 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i } DevicePackageEntities.Snapshot snapshot = packageEntities.load(tenantId, entityId); JsonNode storedChecksum = state.get("checksum"); + // Changed by someone else only when no installed package recorded the current checksum: an update of another + // package that shares the entity, e.g. a converter, records it only in its own row Boolean modified = snapshot == null || storedChecksum == null || !storedChecksum.isTextual() ? null : - !storedChecksum.asText().equals(snapshot.checksum()); + !storedChecksum.asText().equals(snapshot.checksum()) + && !recordedChecksums.getOrDefault(entityId.getId(), Set.of()).contains(snapshot.checksum()); states.add(new DevicePackageEntityState(stepName, entityId, snapshot != null, snapshot != null ? snapshot.version() : null, modified, sharedIds.contains(entityId.getId()))); }); @@ -285,11 +289,11 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i }); } List stepEntityIds = new ArrayList<>(); + Map usedExistingIds = usedExistingIds(previous); List saved = new ArrayList<>(); List connectorSteps = new ArrayList<>(); List attributes = new ArrayList<>(); // The checksums of the entities this update overwrote, which other packages may record too - Map overwrittenChecksums = new HashMap<>(); DashboardId dashboardId = null; for (DeviceUpdateRequest.Step step : request.getSteps()) { @@ -321,12 +325,11 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (step.isDefaultConverter()) { state.put("defaultConverter", true); } - if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE && result.checksum() != null) { - overwrittenChecksums.put(result.entityId().getId(), result.checksum()); - } installState.put(step.getId() != null ? step.getId() : step.getName(), state); if (!"use-existing".equals(resolution)) { stepEntityIds.add(result.entityId()); + } else { + usedExistingIds.putIfAbsent(result.entityId().getId(), result.entityId()); } if (result.entityId() instanceof DashboardId id) { dashboardId = id; @@ -349,6 +352,9 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i // The new version may not offer the method the package was installed with descriptor.setSelectedInstallMethod(request.getSelectedInstallMethod() != null ? request.getSelectedInstallMethod() : previous.getSelectedInstallMethod()); descriptor.setCreatedEntityIds(createdEntityIds(tenantId, previous, stepEntityIds)); + // Carried over like createdEntityIds, so an entity the user chose to use stays theirs after a version drops its step + Set tracked = createdIds(descriptor).keySet(); + descriptor.setUsedExistingEntityIds(usedExistingIds.values().stream().filter(id -> tracked.contains(id.getId())).toList()); descriptor.setDashboardId(dashboardId != null ? dashboardId : existingDashboard(tenantId, previous)); Map state = new LinkedHashMap<>(installState); descriptor.setInstallState(state); @@ -358,45 +364,33 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i installedItem.setVersion(versionInfo.get("version").asText()); installedItem.setDescriptor(descriptor); installedItemService.save(tenantId, installedItem); - refreshChecksumsOfOtherPackages(tenantId, installedItem.getId(), overwrittenChecksums); // Resolved once every entity is saved: attributes may refer to a later step's entity List resolvedAttributes = attributes.stream().map(a -> new StepAttributes(a.stepName(), a.entityId(), resolvePlaceholders(a.server(), aliasOutputs), resolvePlaceholders(a.shared(), aliasOutputs))).toList(); return new Applied(descriptor, outputs, saved, connectorSteps, resolvedAttributes, aliasOutputs); } - /** - * Another package that recorded the checksum of an entity this update overwrote, e.g. a shared converter, records the - * new one: the update was confirmed for all packages using the entity, so their next update sees no change by someone else. - */ - private void refreshChecksumsOfOtherPackages(TenantId tenantId, IotHubInstalledItemId installedItemId, Map checksums) { - if (checksums.isEmpty()) { - return; - } + /** The checksums the installed device packages recorded, by entity. */ + private Map> recordedChecksums(TenantId tenantId) { + Map> checksums = new HashMap<>(); PageLink pageLink = new PageLink(100); PageData page; do { page = installedItemService.findByTenantId(tenantId, List.of("DEVICE"), null, pageLink); for (IotHubInstalledItem item : page.getData()) { - if (!item.getId().equals(installedItemId) && item.getDescriptor() instanceof DeviceInstalledItemDescriptor descriptor - && descriptor.getInstallState() != null && refreshChecksums(descriptor.getInstallState(), checksums)) { - installedItemService.save(tenantId, item); + if (item.getDescriptor() instanceof DeviceInstalledItemDescriptor descriptor && descriptor.getInstallState() != null) { + descriptor.getInstallState().values().forEach(state -> { + UUID id = toUuid(state.path("entityOutput").path("id").asText()); + JsonNode checksum = state.get("checksum"); + if (id != null && checksum != null && checksum.isTextual()) { + checksums.computeIfAbsent(id, k -> new HashSet<>()).add(checksum.asText()); + } + }); } } pageLink = pageLink.nextPageLink(); } while (page.hasNext()); - } - - private static boolean refreshChecksums(Map installState, Map checksums) { - boolean changed = false; - for (JsonNode state : installState.values()) { - String checksum = checksums.get(toUuid(state.path("entityOutput").path("id").asText())); - if (checksum != null && state.has("checksum") && state instanceof ObjectNode objectState) { - objectState.put("checksum", checksum); - changed = true; - } - } - return changed; + return checksums; } private static UUID toUuid(String id) { @@ -841,19 +835,31 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i } /** - * The entities the package owns: those its install state records, except the ones the user chose to use as they - * were. Not createdEntityIds: the install adds the use-existing ones to it too. + * The entities the package owns: those it created, not the ones the user chose to use as they were. The install adds + * those to createdEntityIds too, so they are subtracted; an entity of a step a later version dropped stays owned. */ private static Set ownedIds(DeviceInstalledItemDescriptor descriptor) { - Set ids = new HashSet<>(); + Set ids = new HashSet<>(createdIds(descriptor).keySet()); + ids.removeAll(usedExistingIds(descriptor).keySet()); + return ids; + } + + /** + * The entities the user chose to use as they were. An install made before the descriptor kept them has them only in + * its install state, which the first update carries over into the descriptor. + */ + private static Map usedExistingIds(DeviceInstalledItemDescriptor descriptor) { + Map ids = new LinkedHashMap<>(); + if (descriptor.getUsedExistingEntityIds() != null) { + descriptor.getUsedExistingEntityIds().forEach(id -> ids.put(id.getId(), id)); + return ids; + } + Map createdIds = createdIds(descriptor); if (descriptor.getInstallState() != null) { descriptor.getInstallState().values().forEach(state -> { - JsonNode id = state.path("entityOutput").path("id"); - if (id.isTextual() && !"use-existing".equals(state.path("resolution").asText())) { - try { - ids.add(UUID.fromString(id.asText())); - } catch (IllegalArgumentException ignored) { - } + UUID id = toUuid(state.path("entityOutput").path("id").asText()); + if (id != null && "use-existing".equals(state.path("resolution").asText()) && createdIds.containsKey(id)) { + ids.put(id, createdIds.get(id)); } }); } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 06d0109b82..2f7e4f57b0 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -117,6 +117,8 @@ class DefaultDevicePackageUpdateServiceTest { private SubscriptionService subscriptionService; @Mock private TelemetrySubscriptionService telemetryService; + @Mock + private IotHubService iotHubService; @InjectMocks private DefaultDevicePackageUpdateService service; @@ -301,6 +303,67 @@ class DefaultDevicePackageUpdateServiceTest { verify(installedItemService, never()).save(any(), any()); } + @Test + void sharedEntityOverwrittenByAnotherPackage_isNotChangedBySomeoneElse() { + Dashboard shared = dashboard(9L); + DevicePackageEntities.Snapshot snapshot = new DevicePackageEntities.Snapshot(shared, null); + when(packageEntities.load(tenantId, dashboardId)).thenReturn(snapshot); + when(iotHubService.findKeptEntities(tenantId, installedItem.getId())).thenReturn(new InstalledItemKeptEntities(List.of(), 0)); + // This package recorded the dashboard as it left it; the other one overwrote it since and recorded the new one + ObjectNode own = stateOf(dashboardId, "created").put("checksum", "as-this-package-left-it"); + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", own)); + IotHubInstalledItem other = otherPackage(Map.of("Dashboard", stateOf(dashboardId, "created").put("checksum", snapshot.checksum()))); + when(installedItemService.findByTenantId(any(), any(), any(), any())) + .thenReturn(new PageData<>(List.of(installedItem, other), 1, 2, false)); + + assertThat(service.check(user, installedItem.getId()).get(0).getModified()).isFalse(); + + shared.setConfiguration(JacksonUtil.newObjectNode().put("description", "Changed by hand")); + assertThat(service.check(user, installedItem.getId()).get(0).getModified()).isTrue(); + } + + @Test + void entityOfAStepAVersionDropped_staysThePackages() { + // v2 dropped the dashboard step: the install state no longer has it, createdEntityIds does + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of()); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + DeviceUpdateRequest.Step step = keep("Dashboard", "DASHBOARD", dashboardId); + step.setResolution("use-existing"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Dashboard").get("resolution").asText()).isEqualTo("created"); + } + + @Test + void entityUsedAtInstall_staysTheUsersAfterAVersionDropsItsStep() { + // Recorded at install; the step is gone from the install state since + DeviceInstalledItemDescriptor installed = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + installed.setUsedExistingEntityIds(List.of(dashboardId)); + installed.setInstallState(Map.of()); + DeviceUpdateRequest.Step step = overwrite("Dashboard", "DASHBOARD", dashboardId, 9L, JacksonUtil.newObjectNode().put("title", "Dashboard")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isFalse(); + verify(installedItemService, never()).save(any(), any()); + } + + @Test + void entitiesUsedAtInstall_areCarriedIntoTheDescriptor() { + // Installed before the descriptor kept them: the install state has them + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", stateOf(dashboardId, "use-existing"))); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + when(entityService.fetchEntity(any(), any())).thenReturn(Optional.of(dashboard(9L))); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(keep("AM308", "DEVICE", deviceId))); + + assertThat(result.isSuccess()).isTrue(); + assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getUsedExistingEntityIds()).containsExactly(dashboardId); + } + @Test void twoStepsWithOneKey_areRejected() { DeviceUpdateRequest.Step first = keep("Overview", "DASHBOARD", dashboardId); @@ -381,7 +444,7 @@ class DefaultDevicePackageUpdateServiceTest { } @Test - void overwrittenSharedConverter_isRecordedAsDefaultAndOtherPackagesTakeItsChecksum() { + void overwrittenSharedConverter_isRecordedAsDefaultAndOnlyThePackagesOwnRowIsWritten() { ConverterId converterId = new ConverterId(UUID.randomUUID()); Converter current = new Converter(converterId); current.setTenantId(tenantId); @@ -408,9 +471,9 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(result.isSuccess()).isTrue(); JsonNode state = ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("Uplink"); assertThat(state.get("defaultConverter").asBoolean()).isTrue(); - assertThat(created.get("checksum").asText()).isEqualTo(state.get("checksum").asText()); - assertThat(usedExisting.has("checksum")).isFalse(); - verify(installedItemService).save(tenantId, creator); + // The other packages keep what they recorded: check() takes the checksum of any installed package + assertThat(created.get("checksum").asText()).isEqualTo("before"); + verify(installedItemService, never()).save(tenantId, creator); verify(installedItemService, never()).save(tenantId, taker); } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DeviceInstalledItemDescriptor.java b/common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DeviceInstalledItemDescriptor.java index c7f5583291..25734fae2d 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DeviceInstalledItemDescriptor.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DeviceInstalledItemDescriptor.java @@ -14,6 +14,8 @@ import java.util.Map; public class DeviceInstalledItemDescriptor implements IotHubInstalledItemDescriptor { private List createdEntityIds; + // Of createdEntityIds, the entities the user chose to use as they were: the package doesn't own them + private List usedExistingEntityIds; private DashboardId dashboardId; private String selectedInstallMethod; private Map installState; diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 1bf462ce35..fa040e8632 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -179,7 +179,7 @@ export class IotHubApiService { public registerDeviceInstall( versionId: string, - descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, + descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; usedExistingEntityIds?: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, config?: IotHubRequestConfig ): Observable { return this.http.post( diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 5085d7fc96..195e5e0e3b 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -18,7 +18,8 @@ import { DeviceInstalledItemDescriptor, DevicePackageEntityState, DeviceUpdateResult, - DeviceUpdateStep + DeviceUpdateStep, + IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; @@ -39,7 +40,8 @@ import { ResourcesService } from '@core/services/resources.service'; import { getCurrentAuthState } from '@core/auth/auth.selectors'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { IntegrationType } from '@shared/models/integration.models'; -import { differsFromDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { differsFromDefaultConverter, isOwnDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { PageData } from '@shared/models/page/page-data'; import { cleanFormFieldValue, DeviceInstallStep, @@ -1462,7 +1464,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent: does when the - * user kept the default profile name, isn't added. + * user kept the default profile name, isn't added, and an earlier value of it is removed: the name is the default again. */ private withStepMetadata(step: DeviceInstallStep, metadata: Record | null | undefined): Record { const merged = { ...(metadata ?? {}) }; for (const [rawKey, rawValue] of Object.entries(step.metadata ?? {})) { const key = this.resolveVariables(rawKey); const value = this.resolveVariables(String(rawValue ?? '')); - if (value && !value.includes('${') && value !== key.substring(key.indexOf('.') + 1)) { + if (!value || value.includes('${')) { + continue; + } + if (value === key.substring(key.indexOf('.') + 1)) { + delete merged[key]; + } else { merged[key] = value; } } @@ -2282,7 +2290,12 @@ export class TbDeviceInstallDialogComponent extends DialogComponent null) : null; if (converter) { const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, @@ -2348,7 +2361,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -2429,13 +2442,30 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.key).filter(key => !previousKeys.has(key))); } + /** True when a device package installed the converter itself, as its default converter. */ + private async isInstalledDefaultConverter(id: string): Promise { + let pageLink = new PageLink(100); + let page: PageData; + do { + page = await firstValueFrom(this.iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); + if (page.data.some(item => isOwnDefaultConverter(item, id))) { + return true; + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext); + return false; + } + /** - * Update: true when the entity is one the installed package owns: its install state records it, and not as one - * the user chose to use as it was. Not createdEntityIds: the install adds the use-existing ones to it too. + * Update: true when the entity is one the installed package owns: it created it, not the user chose to use it as it was. + * The same rule as the server's: createdEntityIds without usedExistingEntityIds, which an install made before the + * descriptor kept them has only in its install state. */ private isPackageEntity(id: string): boolean { - return Object.values(this.data.update?.descriptor.installState ?? {}) - .some(state => state?.entityOutput?.id === id && state.resolution !== 'use-existing'); + const descriptor = this.data.update?.descriptor; + const usedExisting = descriptor?.usedExistingEntityIds?.some(used => used.id === id) ?? + Object.values(descriptor?.installState ?? {}).some(state => state?.entityOutput?.id === id && state.resolution === 'use-existing'); + return !!descriptor?.createdEntityIds?.some(created => created.id === id) && !usedExisting; } /** The keys the install state may keep a step under: its id, or else its name, as written or resolved. */ @@ -2478,7 +2508,23 @@ export class TbDeviceInstallDialogComponent extends DialogComponent !isEqual( this.resolvePackageFile(this.zipFiles, step[file], this.formValues), this.resolvePackageFile(this.previousFiles, previousStep[file], previousFormValues) - )); + )) || !isEqual( + // An INTEGRATION step's metadata entries, which the package's converter reads, are written when it is overwritten + this.resolveStepMetadata(step.metadata, this.formValues), + this.resolveStepMetadata(previousStep.metadata, previousFormValues) + ); + } + + /** The metadata entries of a step, resolved with the given form values. */ + private resolveStepMetadata(metadata: Record | undefined, formValues: Record): Record { + const committedValues = this.formValues; + this.formValues = formValues; + try { + return Object.fromEntries(Object.entries(metadata ?? {}) + .map(([key, value]) => [this.resolveVariables(key), this.resolveVariables(String(value ?? ''))])); + } finally { + this.formValues = committedValues; + } } /** Update: the form values the installed version was installed with. */ @@ -2708,6 +2754,20 @@ export class TbDeviceInstallDialogComponent extends DialogComponent !isEqual(converter.configuration[key] ?? null, defaultConverter.configuration[key] ?? null)); }; + +/** + * True when the device package installed the converter itself as its default converter, not one it took as it was: + * only such a converter is ThingsBoard's default one, which a new ThingsBoard version may change. + */ +export const isOwnDefaultConverter = (item: IotHubInstalledItem, converterId: string): boolean => + item.itemType === 'DEVICE' && Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) + .some(state => state?.defaultConverter && state.entityOutput?.id === converterId && state.resolution !== 'use-existing'); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 765f563898..d4cf0d4df0 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -38,7 +38,7 @@ import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/ import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; import { ConverterService } from '@core/http/converter.service'; import { ResourcesService } from '@core/services/resources.service'; -import { differsFromDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { differsFromDefaultConverter, isOwnDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; import { firstValueFrom } from 'rxjs'; @Component({ @@ -281,7 +281,11 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, for (const item of this.dataSource) { const states = item.itemType === 'DEVICE' ? Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) : []; for (const state of states) { - const id = state?.defaultConverter ? state.entityOutput?.id : undefined; + let id: string = state?.defaultConverter ? state.entityOutput?.id : undefined; + // A converter taken as it was counts only when a package installed it as its default converter + if (id && state.resolution === 'use-existing' && !this.dataSource.some(other => isOwnDefaultConverter(other, id))) { + id = undefined; + } const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true, ignoreLoading: true})) .catch(() => null) : null; if (converter) { diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index 494605caf4..eb4776d107 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -30,6 +30,8 @@ export interface RuleChainInstalledItemDescriptor { export interface DeviceInstalledItemDescriptor { type: 'DEVICE'; createdEntityIds?: { entityType: string; id: string }[]; + // Of createdEntityIds, the entities the user chose to use as they were: the package doesn't own them + usedExistingEntityIds?: { entityType: string; id: string }[]; dashboardId?: { id: string }; selectedInstallMethod?: string; installState?: Record; From 31dda2cf4153452fc722290c5a595b13fd447240 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:51:31 +0200 Subject: [PATCH 390/559] fix(iot-hub): a kept integration gets the step's metadata entries, one lookup of the packages' own default converters --- .../DefaultDevicePackageUpdateService.java | 27 ++++++ .../service/iot_hub/DeviceUpdateRequest.java | 3 + ...DefaultDevicePackageUpdateServiceTest.java | 51 +++++++++++ .../device-install-dialog.component.ts | 89 ++++++++++--------- .../iot-hub/iot-hub-default-converter.ts | 28 ++++-- ...iot-hub-installed-items-table.component.ts | 11 ++- .../iot-hub/iot-hub-installed-item.models.ts | 2 + 7 files changed, 159 insertions(+), 52 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index c8dd0e69f8..399e46f6ac 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -587,6 +587,10 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i Integration current = id != null ? integrationService.findIntegrationById(tenantId, id) : null; if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { existing(tenantId, current, step); + if (mergeMetadata(current, step.getMetadata())) { + Integration result = integrationService.saveIntegration(current); + return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); + } return new StepResult(id, integrationOutput(current), null, null); } Integration integration = JacksonUtil.treeToValue(entity, Integration.class); @@ -607,6 +611,29 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); } + /** Merges the step's metadata entries into the integration's; true when that changed it. */ + private static boolean mergeMetadata(Integration integration, JsonNode entries) { + if (entries == null || !entries.isObject() || entries.isEmpty()) { + return false; + } + ObjectNode configuration = integration.getConfiguration() != null && integration.getConfiguration().isObject() ? + (ObjectNode) integration.getConfiguration() : JacksonUtil.newObjectNode(); + ObjectNode metadata = configuration.get("metadata") instanceof ObjectNode current ? current.deepCopy() : JacksonUtil.newObjectNode(); + entries.fields().forEachRemaining(entry -> { + if (entry.getValue() == null || entry.getValue().isNull()) { + metadata.remove(entry.getKey()); + } else { + metadata.put(entry.getKey(), entry.getValue().asText()); + } + }); + if (metadata.equals(configuration.get("metadata")) || (metadata.isEmpty() && configuration.get("metadata") == null)) { + return false; + } + configuration.set("metadata", metadata); + integration.setConfiguration(configuration); + return true; + } + /** * The overwritten entity keeps its id and its current name (the user may have renamed it). The version the * user reviewed makes the save fail if someone changed the entity since. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java index c3f2f90f89..b8f31cef32 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java @@ -61,6 +61,9 @@ public class DeviceUpdateRequest { private JsonNode sharedAttributes; // The resolution the install state records for it private String resolution; + // INTEGRATION: the step's metadata entries, which the package's converter reads. A KEEP merges them into the + // integration, e.g. one the package took as it was; null removes an entry + private JsonNode metadata; // UPLINK_CONVERTER: the step takes ThingsBoard's default converter, which the install state records for the update check private boolean defaultConverter; } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 2f7e4f57b0..76bad73451 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -364,6 +364,57 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getUsedExistingEntityIds()).containsExactly(dashboardId); } + @Test + void keptIntegration_getsTheStepsMetadataEntries() { + // Taken as it was at install: other packages' entries stay, the step's are merged, a null one is removed + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("TTN", stateOf(integrationId, "use-existing"))); + Integration current = new Integration(); + current.setId(integrationId); + current.setTenantId(tenantId); + current.setName("TTN my-app"); + ObjectNode configuration = JacksonUtil.newObjectNode(); + configuration.set("metadata", JacksonUtil.newObjectNode().put("profile.other-model", "Other").put("profile.milesight-iot-am308", "AM308")); + current.setConfiguration(configuration); + when(integrationService.findIntegrationById(tenantId, integrationId)).thenReturn(current); + when(integrationService.saveIntegration(any())).thenAnswer(i -> i.getArgument(0)); + DeviceUpdateRequest.Step step = keep("TTN", "INTEGRATION", integrationId); + step.setResolution("use-existing"); + ObjectNode entries = JacksonUtil.newObjectNode().put("profile.lansitec-badge", "Badge"); + entries.putNull("profile.milesight-iot-am308"); + step.setMetadata(entries); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + ArgumentCaptor saved = ArgumentCaptor.forClass(Integration.class); + verify(integrationService).saveIntegration(saved.capture()); + JsonNode metadata = saved.getValue().getConfiguration().get("metadata"); + assertThat(metadata.get("profile.other-model").asText()).isEqualTo("Other"); + assertThat(metadata.get("profile.lansitec-badge").asText()).isEqualTo("Badge"); + assertThat(metadata.has("profile.milesight-iot-am308")).isFalse(); + assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("TTN").get("resolution").asText()) + .isEqualTo("use-existing"); + } + + @Test + void keptIntegrationWithTheEntriesItHas_isNotSaved() { + Integration current = new Integration(); + current.setId(integrationId); + current.setTenantId(tenantId); + current.setName("TTN my-app"); + ObjectNode configuration = JacksonUtil.newObjectNode(); + configuration.set("metadata", JacksonUtil.newObjectNode().put("profile.lansitec-badge", "Badge")); + current.setConfiguration(configuration); + when(integrationService.findIntegrationById(tenantId, integrationId)).thenReturn(current); + DeviceUpdateRequest.Step step = keep("TTN", "INTEGRATION", integrationId); + step.setMetadata(JacksonUtil.newObjectNode().put("profile.lansitec-badge", "Badge")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + verify(integrationService, never()).saveIntegration(any()); + } + @Test void twoStepsWithOneKey_areRejected() { DeviceUpdateRequest.Step first = keep("Overview", "DASHBOARD", dashboardId); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 195e5e0e3b..f049ee97b8 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -18,8 +18,7 @@ import { DeviceInstalledItemDescriptor, DevicePackageEntityState, DeviceUpdateResult, - DeviceUpdateStep, - IotHubInstalledItem + DeviceUpdateStep } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; @@ -40,8 +39,7 @@ import { ResourcesService } from '@core/services/resources.service'; import { getCurrentAuthState } from '@core/auth/auth.selectors'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { IntegrationType } from '@shared/models/integration.models'; -import { differsFromDefaultConverter, isOwnDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; -import { PageData } from '@shared/models/page/page-data'; +import { differsFromDefaultConverter, loadDefaultUplinkConverter, loadOwnDefaultConverterIds } from '@home/components/iot-hub/iot-hub-default-converter'; import { cleanFormFieldValue, DeviceInstallStep, @@ -1843,13 +1841,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent | null | undefined): Record { const merged = { ...(metadata ?? {}) }; - for (const [rawKey, rawValue] of Object.entries(step.metadata ?? {})) { - const key = this.resolveVariables(rawKey); - const value = this.resolveVariables(String(rawValue ?? '')); - if (!value || value.includes('${')) { - continue; - } - if (value === key.substring(key.indexOf('.') + 1)) { + for (const [key, value] of Object.entries(this.stepMetadataEntries(step))) { + if (value === null) { delete merged[key]; } else { merged[key] = value; @@ -1858,6 +1851,34 @@ export class TbDeviceInstallDialogComponent extends DialogComponent | undefined { + this.restoreInstallState(this.data.update.descriptor.installState ?? {}); + try { + return this.integrationMetadataOf(step); + } finally { + this.formValues = {}; + this.entityOutputs.clear(); + } + } + + private integrationMetadataOf(step: DeviceInstallStep): Record | undefined { + return step.type === InstallStepType.INTEGRATION && step.metadata ? this.stepMetadataEntries(step) : undefined; + } + + /** The INTEGRATION step's metadata entries, resolved: null for a self-mapping, whose earlier value is removed. */ + private stepMetadataEntries(step: DeviceInstallStep): Record { + const entries: Record = {}; + for (const [rawKey, rawValue] of Object.entries(step.metadata ?? {})) { + const key = this.resolveVariables(rawKey); + const value = this.resolveVariables(String(rawValue ?? '')); + if (value && !value.includes('${')) { + entries[key] = value === key.substring(key.indexOf('.') + 1) ? null : value; + } + } + return entries; + } + /** An integration taken as it is still gets the step's metadata: the package's converter reads it. */ private async addStepMetadata(step: DeviceInstallStep, existing: EntityStepOutput): Promise { const integration = await firstValueFrom(this.integrationService.getIntegration(existing.id, {ignoreErrors: true})); @@ -2138,7 +2159,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { this.restoreInstallState(this.data.update.descriptor.installState ?? {}); + let ownDefaultConverterIds: Set | undefined; try { for (const step of this.packageInfo.installSteps[this.selectedInstallMethod] ?? []) { const stored = step.default ? this.storedStateOf(step)?.state : undefined; let id: string = stored?.entityOutput?.id; // A converter taken as it was may be any converter with that name: only another package's default one is checked - if (id && stored.resolution === 'use-existing' && !(await this.isInstalledDefaultConverter(id))) { - id = undefined; + if (id && stored.resolution === 'use-existing') { + ownDefaultConverterIds ??= await loadOwnDefaultConverterIds(this.iotHubApiService); + if (!ownDefaultConverterIds.has(id)) { + id = undefined; + } } const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true})).catch(() => null) : null; if (converter) { @@ -2361,7 +2388,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -2442,19 +2470,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.key).filter(key => !previousKeys.has(key))); } - /** True when a device package installed the converter itself, as its default converter. */ - private async isInstalledDefaultConverter(id: string): Promise { - let pageLink = new PageLink(100); - let page: PageData; - do { - page = await firstValueFrom(this.iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); - if (page.data.some(item => isOwnDefaultConverter(item, id))) { - return true; - } - pageLink = pageLink.nextPageLink(); - } while (page.hasNext); - return false; - } + /** * Update: true when the entity is one the installed package owns: it created it, not the user chose to use it as it was. @@ -2508,24 +2524,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent !isEqual( this.resolvePackageFile(this.zipFiles, step[file], this.formValues), this.resolvePackageFile(this.previousFiles, previousStep[file], previousFormValues) - )) || !isEqual( - // An INTEGRATION step's metadata entries, which the package's converter reads, are written when it is overwritten - this.resolveStepMetadata(step.metadata, this.formValues), - this.resolveStepMetadata(previousStep.metadata, previousFormValues) - ); + )); } - /** The metadata entries of a step, resolved with the given form values. */ - private resolveStepMetadata(metadata: Record | undefined, formValues: Record): Record { - const committedValues = this.formValues; - this.formValues = formValues; - try { - return Object.fromEntries(Object.entries(metadata ?? {}) - .map(([key, value]) => [this.resolveVariables(key), this.resolveVariables(String(value ?? ''))])); - } finally { - this.formValues = committedValues; - } - } /** Update: the form values the installed version was installed with. */ private previousFormValues(): Record { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts index 6af1073b93..68aeb0f832 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts @@ -7,6 +7,9 @@ import { IntegrationType } from '@shared/models/integration.models'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { isEqual } from '@core/utils'; import { DeviceInstalledItemDescriptor, IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { PageLink } from '@shared/models/page/page-link'; +import { PageData } from '@shared/models/page/page-data'; const DEFAULT_CONVERTERS_V2_CONFIGURATION_URL = '/assets/converters/default-converters-v2-configuration.json'; @@ -58,9 +61,24 @@ export const differsFromDefaultConverter = (converter: Converter, defaultConvert }; /** - * True when the device package installed the converter itself as its default converter, not one it took as it was: - * only such a converter is ThingsBoard's default one, which a new ThingsBoard version may change. + * The converters device packages installed themselves as their default converter, not ones they took as they were, of + * all installed device packages: only such a converter is ThingsBoard's default one, which a new ThingsBoard version + * may change. The installed items table and the update dialog both decide by it. */ -export const isOwnDefaultConverter = (item: IotHubInstalledItem, converterId: string): boolean => - item.itemType === 'DEVICE' && Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) - .some(state => state?.defaultConverter && state.entityOutput?.id === converterId && state.resolution !== 'use-existing'); +export const loadOwnDefaultConverterIds = async (iotHubApiService: IotHubApiService): Promise> => { + const ids = new Set(); + let pageLink = new PageLink(100); + let page: PageData; + do { + page = await firstValueFrom(iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); + for (const item of page.data) { + for (const state of Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {})) { + if (state?.defaultConverter && state.entityOutput?.id && state.resolution !== 'use-existing') { + ids.add(state.entityOutput.id); + } + } + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext); + return ids; +}; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index d4cf0d4df0..a99fc65a66 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -38,7 +38,7 @@ import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/ import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; import { ConverterService } from '@core/http/converter.service'; import { ResourcesService } from '@core/services/resources.service'; -import { differsFromDefaultConverter, isOwnDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { differsFromDefaultConverter, loadDefaultUplinkConverter, loadOwnDefaultConverterIds } from '@home/components/iot-hub/iot-hub-default-converter'; import { firstValueFrom } from 'rxjs'; @Component({ @@ -278,13 +278,18 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, */ private async checkConverterUpdates(): Promise { const updates = new Set(); + // Over all installed packages, not only this page's, as the update dialog decides + let ownDefaultConverterIds: Set | undefined; for (const item of this.dataSource) { const states = item.itemType === 'DEVICE' ? Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) : []; for (const state of states) { let id: string = state?.defaultConverter ? state.entityOutput?.id : undefined; // A converter taken as it was counts only when a package installed it as its default converter - if (id && state.resolution === 'use-existing' && !this.dataSource.some(other => isOwnDefaultConverter(other, id))) { - id = undefined; + if (id && state.resolution === 'use-existing') { + ownDefaultConverterIds ??= await loadOwnDefaultConverterIds(this.iotHubApiService); + if (!ownDefaultConverterIds.has(id)) { + id = undefined; + } } const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true, ignoreLoading: true})) .catch(() => null) : null; diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index eb4776d107..882c97f9c5 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -64,6 +64,8 @@ export interface DeviceUpdateStep { resolution?: string; // The package step's id, which keys its install state; the name when not set id?: string; + // INTEGRATION: the step's metadata entries, which a KEEP merges into the integration; null removes an entry + metadata?: Record; // The step takes ThingsBoard's default converter: its install state says so, for the update check defaultConverter?: boolean; } From de40a36f125de4600887274018e31f8f8c589e71 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:53:41 +0200 Subject: [PATCH 391/559] fix(iot-hub): a kept integration gets the step's metadata, one default converter lookup, uninstall keeps use-existing entities --- .../service/iot_hub/DefaultIotHubService.java | 34 ++++++++++++++--- .../iot_hub/InstalledItemKeptEntities.java | 4 +- ...DefaultDevicePackageUpdateServiceTest.java | 2 +- .../iot_hub/DefaultIotHubServiceTest.java | 37 +++++++++++++++++++ .../iot-hub-delete-dialog.component.ts | 6 ++- .../iot-hub/iot-hub-installed-item.models.ts | 2 + .../assets/locale/locale.constant-en_US.json | 2 + 7 files changed, 78 insertions(+), 9 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index dcc569b481..6968cbd00f 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -713,17 +713,24 @@ public class DefaultIotHubService implements IotHubService { /** * Deletes what a device package created, except the entities another installed device package - * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package. + * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package, + * and the ones the user had before and the package took as they were (use existing). */ private void deleteDevicePackageEntities(TenantId tenantId, IotHubInstalledItemId installedItemId, - List createdEntityIds, SecurityUser user) { + DeviceInstalledItemDescriptor descriptor, SecurityUser user) { + List createdEntityIds = descriptor.getCreatedEntityIds(); if (createdEntityIds == null || createdEntityIds.isEmpty()) { return; } + Set usedExisting = usedExistingIds(descriptor); Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); for (EntityId entityId : reversed) { + if (usedExisting.contains(entityId.getId())) { + log.info("[{}] Kept {} {}: the package took it as it was", tenantId, entityId.getEntityType(), entityId.getId()); + continue; + } Set usedBy = usedByOtherPackages.get(entityId.getId()); if (usedBy != null) { log.info("[{}] Kept {} {}: installed device packages {} use it", tenantId, entityId.getEntityType(), entityId.getId(), usedBy); @@ -746,17 +753,34 @@ public class DefaultIotHubService implements IotHubService { } List kept = new ArrayList<>(); Set usedByItems = new HashSet<>(); + int usedExistingCount = 0; if (installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { + Set usedExisting = usedExistingIds(dd); Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); for (EntityId entityId : dd.getCreatedEntityIds()) { Set usedBy = usedByOtherPackages.get(entityId.getId()); - if (usedBy != null) { + boolean taken = usedExisting.contains(entityId.getId()); + if (usedBy != null || taken) { kept.add(new InstalledItemKeptEntities.KeptEntity(entityId, entityService.fetchEntityName(tenantId, entityId).orElse(null))); + } + if (usedBy != null) { usedByItems.addAll(usedBy); } + if (taken) { + usedExistingCount++; + } } } - return new InstalledItemKeptEntities(kept, usedByItems.size()); + return new InstalledItemKeptEntities(kept, usedByItems.size(), usedExistingCount); + } + + /** The entities the package took as they were at install (use existing); none for installs before 4.4.1 kept them. */ + private static Set usedExistingIds(DeviceInstalledItemDescriptor descriptor) { + Set ids = new HashSet<>(); + if (descriptor.getUsedExistingEntityIds() != null) { + descriptor.getUsedExistingEntityIds().forEach(id -> ids.add(id.getId())); + } + return ids; } private Map> findEntitiesOfOtherDevicePackages(TenantId tenantId, IotHubInstalledItemId installedItemId) { @@ -854,7 +878,7 @@ public class DefaultIotHubService implements IotHubService { } } } else if (descriptor instanceof DeviceInstalledItemDescriptor dd) { - deleteDevicePackageEntities(tenantId, installedItemId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, installedItemId, dd, user); } else if (descriptor instanceof SolutionTemplateInstalledItemDescriptor st) { try { solutionService.deleteSolution(tenantId, st, user); diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java index 021cfe5be5..ad517c5327 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java @@ -9,7 +9,7 @@ import org.thingsboard.server.common.data.id.EntityId; import java.util.List; -/** What deleting an installed item keeps, because other installed items use it too. */ +/** What deleting an installed item keeps: what other installed items use too, and what the user had before it. */ @Data @NoArgsConstructor @AllArgsConstructor @@ -18,6 +18,8 @@ public class InstalledItemKeptEntities { private List entities; // How many other installed items use at least one of the kept entities private int usedByItemsCount; + // How many of the kept entities the user had before and the package took as they were (use existing) + private int usedExistingCount; @Data @NoArgsConstructor diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 76bad73451..316732253c 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -308,7 +308,7 @@ class DefaultDevicePackageUpdateServiceTest { Dashboard shared = dashboard(9L); DevicePackageEntities.Snapshot snapshot = new DevicePackageEntities.Snapshot(shared, null); when(packageEntities.load(tenantId, dashboardId)).thenReturn(snapshot); - when(iotHubService.findKeptEntities(tenantId, installedItem.getId())).thenReturn(new InstalledItemKeptEntities(List.of(), 0)); + when(iotHubService.findKeptEntities(tenantId, installedItem.getId())).thenReturn(new InstalledItemKeptEntities(List.of(), 0, 0)); // This package recorded the dashboard as it left it; the other one overwrote it since and recorded the new one ObjectNode own = stateOf(dashboardId, "created").put("checksum", "as-this-package-left-it"); ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", own)); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 8cc1848797..938c816ed7 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -481,6 +481,43 @@ class DefaultIotHubServiceTest { assertThat(kept.getUsedByItemsCount()).isEqualTo(2); } + @Test + void deleteInstalledItem_devicePackage_keepsEntitiesTheUserHadBefore() { + mockTenant(); + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + DashboardId usersDashboardId = new DashboardId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(deviceId, usersDashboardId); + ((DeviceInstalledItemDescriptor) deleted.getDescriptor()).setUsedExistingEntityIds(List.of(usersDashboardId)); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted), 1, 1, false)); + Device device = new Device(deviceId); + when(deviceService.findDeviceById(tenantId, deviceId)).thenReturn(device); + + service.deleteInstalledItem(user, deleted.getId()); + + verify(tbDeviceService).delete(device, user); + verify(tbDashboardService, never()).delete(any(), any()); + } + + @Test + void findKeptEntities_devicePackage_namesTheEntitiesTheUserHadBefore() { + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + DashboardId usersDashboardId = new DashboardId(UUID.randomUUID()); + IotHubInstalledItem checked = devicePackage(deviceId, usersDashboardId); + ((DeviceInstalledItemDescriptor) checked.getDescriptor()).setUsedExistingEntityIds(List.of(usersDashboardId)); + when(iotHubInstalledItemService.findById(tenantId, checked.getId())).thenReturn(checked); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(checked), 1, 1, false)); + when(entityService.fetchEntityName(tenantId, usersDashboardId)).thenReturn(Optional.of("My dashboard")); + + InstalledItemKeptEntities kept = service.findKeptEntities(tenantId, checked.getId()); + + assertThat(kept.getEntities()).containsExactly(new InstalledItemKeptEntities.KeptEntity(usersDashboardId, "My dashboard")); + assertThat(kept.getUsedByItemsCount()).isZero(); + assertThat(kept.getUsedExistingCount()).isEqualTo(1); + } + @Test void findKeptEntities_devicePackageSharingNothing_keepsNothing() { IotHubInstalledItem checked = devicePackage(new DeviceId(UUID.randomUUID())); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts index 81d13800d3..08ae924eb6 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts @@ -45,8 +45,10 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent ({ id: entity.entityId as EntityId, name: entity.name })); - this.description = this.translate.instant('iot-hub.remove-desc-kept', - { count: kept.usedByItemsCount, kept: kept.entities.length }); + // Kept because other packages use them, because the user had them before the package, or both + const key = !kept.usedExistingCount ? 'iot-hub.remove-desc-kept' : + !kept.usedByItemsCount ? 'iot-hub.remove-desc-kept-own' : 'iot-hub.remove-desc-kept-own-or-used'; + this.description = this.translate.instant(key, { count: kept.usedByItemsCount, kept: kept.entities.length }); } else { this.description = this.translate.instant(data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc'); } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index 882c97f9c5..2ca0603a37 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -166,6 +166,8 @@ export interface IotHubKeptEntity { export interface IotHubInstalledItemKeptEntities { entities: IotHubKeptEntity[]; usedByItemsCount: number; + // Of the kept entities, the ones the user had before and the package took as they were + usedExistingCount: number; } export interface IotHubInstalledItem extends BaseData<{id: string}> { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 68a0906635..ca933a9b36 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6405,6 +6405,8 @@ "remove": "Remove", "remove-confirm-title": "Remove '{{name}}'?", "remove-desc": "Removing this will also remove the installed entity and its associated resources within your tenant", + "remove-desc-kept-own": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because you had it} other {entities will not be removed, because you had them} } before the package was installed:", + "remove-desc-kept-own-or-used": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity} other {entities} } will not be removed, because you had them before the package was installed or { count, plural, =1 {1 other installed package uses} other {# other installed packages use} } them:", "remove-desc-kept": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because it is} other {entities will not be removed, because they are} } used by { count, plural, =1 {1 other installed package} other {# other installed packages} }:", "remove-desc-solution-template": "Removing this solution template will also remove all created entities including dashboards, rule chains, devices, and other associated resources within your tenant", "remove-anyway": "Remove anyway", From f2d4872688e0a1f91b524885867b3f00603b4e99 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 12:08:30 +0200 Subject: [PATCH 392/559] fix(iot-hub): merge metadata into a copy of the integration, lock the metadata fields on update, plural of the kept text --- .../DefaultDevicePackageUpdateService.java | 30 +++++++++++-------- ...DefaultDevicePackageUpdateServiceTest.java | 3 ++ .../device-install-dialog.component.ts | 20 +++++++++++++ .../assets/locale/locale.constant-en_US.json | 2 +- 4 files changed, 42 insertions(+), 13 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 399e46f6ac..2bbed29280 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -587,8 +587,9 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i Integration current = id != null ? integrationService.findIntegrationById(tenantId, id) : null; if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { existing(tenantId, current, step); - if (mergeMetadata(current, step.getMetadata())) { - Integration result = integrationService.saveIntegration(current); + Integration merged = withMergedMetadata(current, step.getMetadata()); + if (merged != null) { + Integration result = integrationService.saveIntegration(merged); return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); } return new StepResult(id, integrationOutput(current), null, null); @@ -611,14 +612,18 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); } - /** Merges the step's metadata entries into the integration's; true when that changed it. */ - private static boolean mergeMetadata(Integration integration, JsonNode entries) { + /** + * A copy of the integration with the step's metadata entries merged into its metadata; null when that changes nothing. + * A copy: the integration may be the cache's own instance, which a rolled back update must not change. + */ + private static Integration withMergedMetadata(Integration integration, JsonNode entries) { if (entries == null || !entries.isObject() || entries.isEmpty()) { - return false; + return null; } - ObjectNode configuration = integration.getConfiguration() != null && integration.getConfiguration().isObject() ? - (ObjectNode) integration.getConfiguration() : JacksonUtil.newObjectNode(); - ObjectNode metadata = configuration.get("metadata") instanceof ObjectNode current ? current.deepCopy() : JacksonUtil.newObjectNode(); + Integration copy = new Integration(integration); + ObjectNode configuration = copy.getConfiguration() instanceof ObjectNode current ? current : JacksonUtil.newObjectNode(); + JsonNode before = configuration.get("metadata"); + ObjectNode metadata = before instanceof ObjectNode current ? current.deepCopy() : JacksonUtil.newObjectNode(); entries.fields().forEachRemaining(entry -> { if (entry.getValue() == null || entry.getValue().isNull()) { metadata.remove(entry.getKey()); @@ -626,14 +631,15 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i metadata.put(entry.getKey(), entry.getValue().asText()); } }); - if (metadata.equals(configuration.get("metadata")) || (metadata.isEmpty() && configuration.get("metadata") == null)) { - return false; + if (metadata.equals(before) || (metadata.isEmpty() && before == null)) { + return null; } configuration.set("metadata", metadata); - integration.setConfiguration(configuration); - return true; + copy.setConfiguration(configuration); + return copy; } + /** * The overwritten entity keeps its id and its current name (the user may have renamed it). The version the * user reviewed makes the save fail if someone changed the entity since. diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 316732253c..062eabf80f 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -392,6 +392,9 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(metadata.get("profile.other-model").asText()).isEqualTo("Other"); assertThat(metadata.get("profile.lansitec-badge").asText()).isEqualTo("Badge"); assertThat(metadata.has("profile.milesight-iot-am308")).isFalse(); + // A copy is saved: the integration read, possibly the cache's own instance, stays as it is until the commit + assertThat(saved.getValue()).isNotSameAs(current); + assertThat(current.getConfiguration().get("metadata").has("profile.lansitec-badge")).isFalse(); assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("TTN").get("resolution").asText()) .isEqualTo("use-existing"); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index f049ee97b8..ca92919b5b 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -1247,6 +1247,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent locked.has(field.key) ? { ...field, readOnly: true, resettable: false } : field); } for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); @@ -1862,6 +1866,22 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + const keys = new Set(); + for (const step of this.packageInfo.installSteps[this.selectedInstallMethod] ?? []) { + if (step.type !== InstallStepType.INTEGRATION) { + continue; + } + for (const [key, value] of Object.entries(step.metadata ?? {})) { + for (const match of `${key} ${value ?? ''}`.matchAll(/\$\{([^}.]+)}/g)) { + keys.add(match[1]); + } + } + } + return keys; + } + private integrationMetadataOf(step: DeviceInstallStep): Record | undefined { return step.type === InstallStepType.INTEGRATION && step.metadata ? this.stepMetadataEntries(step) : undefined; } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index ca933a9b36..598b051e0e 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6406,7 +6406,7 @@ "remove-confirm-title": "Remove '{{name}}'?", "remove-desc": "Removing this will also remove the installed entity and its associated resources within your tenant", "remove-desc-kept-own": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because you had it} other {entities will not be removed, because you had them} } before the package was installed:", - "remove-desc-kept-own-or-used": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity} other {entities} } will not be removed, because you had them before the package was installed or { count, plural, =1 {1 other installed package uses} other {# other installed packages use} } them:", + "remove-desc-kept-own-or-used": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because you had it before the package was installed or it is used by} other {entities will not be removed, because you had them before the package was installed or they are used by} } { count, plural, =1 {1 other installed package} other {# other installed packages} }:", "remove-desc-kept": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because it is} other {entities will not be removed, because they are} } used by { count, plural, =1 {1 other installed package} other {# other installed packages} }:", "remove-desc-solution-template": "Removing this solution template will also remove all created entities including dashboards, rule chains, devices, and other associated resources within your tenant", "remove-anyway": "Remove anyway", From 4f0151542fbfb30c9a37df4063293d4ac0bcc027 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 12:33:46 +0200 Subject: [PATCH 393/559] fix(iot-hub): check the update again after any way back, check default converters in parallel and keep the latest run --- .../device-install-dialog.component.ts | 20 ++++++--- ...iot-hub-installed-items-table.component.ts | 41 ++++++++++++------- 2 files changed, 41 insertions(+), 20 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ca92919b5b..54dfc3e218 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -555,6 +555,15 @@ export class TbDeviceInstallDialogComponent extends DialogComponent this.resetUpdatePlan(ws)); + } return; } // Forward moves can come from the stepper header, which bypasses nextStep(), diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index a99fc65a66..2677ec1cbe 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -74,6 +74,7 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, publishedVersionMap = new Map(); // Installed device packages whose default converter differs from ThingsBoard's default converter now converterUpdates = new Set(); + private converterCheckRun = 0; updatesChecked = false; isCheckingUpdates = false; @@ -277,35 +278,47 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, * ThingsBoard's default converter now. ThingsBoard's default changes with ThingsBoard, so the package has no new version for it. */ private async checkConverterUpdates(): Promise { - const updates = new Set(); + // A later load (another page, sort or search) starts another run: an earlier one finishing last mustn't win + const run = ++this.converterCheckRun; + // The package's default converter of each DEVICE package on the page + const checks: { itemId: string; converterId: string }[] = []; // Over all installed packages, not only this page's, as the update dialog decides let ownDefaultConverterIds: Set | undefined; for (const item of this.dataSource) { const states = item.itemType === 'DEVICE' ? Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) : []; for (const state of states) { - let id: string = state?.defaultConverter ? state.entityOutput?.id : undefined; + const id: string = state?.defaultConverter ? state.entityOutput?.id : undefined; + if (!id) { + continue; + } // A converter taken as it was counts only when a package installed it as its default converter - if (id && state.resolution === 'use-existing') { + if (state.resolution === 'use-existing') { ownDefaultConverterIds ??= await loadOwnDefaultConverterIds(this.iotHubApiService); if (!ownDefaultConverterIds.has(id)) { - id = undefined; - } - } - const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true, ignoreLoading: true})) - .catch(() => null) : null; - if (converter) { - const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, - converter.configuration.scriptLang, converter.name); - if (defaultConverter && differsFromDefaultConverter(converter, defaultConverter)) { - updates.add(item.id.id); + continue; } } + checks.push({ itemId: item.id.id, converterId: id }); } } - this.converterUpdates = updates; + const changed = await Promise.all(checks.map(async ({ itemId, converterId }) => { + const converter = await firstValueFrom(this.converterService.getConverter(converterId, {ignoreErrors: true, ignoreLoading: true})) + .catch(() => null); + if (!converter) { + return null; + } + const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, + converter.configuration.scriptLang, converter.name); + return defaultConverter && differsFromDefaultConverter(converter, defaultConverter) ? itemId : null; + })); + if (run !== this.converterCheckRun) { + return; + } + this.converterUpdates = new Set(changed.filter(itemId => !!itemId)); this.cd.markForCheck(); } + getPublishedVersionInfo(item: IotHubInstalledItem): ItemPublishedVersionInfo | undefined { return this.publishedVersionMap.get(item.itemId); } From 80f639e04435da457a3091f795396d014a8369b7 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 2 Nov 2026 12:09:36 +0100 Subject: [PATCH 394/559] Merge pull request #16531 from mtsymbarov-del/fix/chirpstack-downlink-credentials Fixed ChirpStack downlink credentials visibility and validation --- ...hirp-stack-integration-form.component.html | 50 +++++++------- .../chirp-stack-integration-form.component.ts | 68 ++++++++++--------- .../integration-configuration.component.html | 1 + .../app/shared/models/integration.models.ts | 1 - 4 files changed, 59 insertions(+), 61 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html index e3af5977fa..c0fdcaf92a 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html @@ -32,33 +32,29 @@
    - - - - - {{ 'integration.allow-downlink' | translate }} - - - -
    - - integration.application-server-url - - @if (chirpStackIntegrationConfigForm.get('applicationServerUrl').hasError('required')) { - - integration.application-server-url-required - - } - - - -
    -
    + @if (isSetDownlink) { +
    + integration.downlink-credentials +
    + + integration.application-server-url + + @if (chirpStackIntegrationConfigForm.get('applicationServerUrl').hasError('required')) { + + integration.application-server-url-required + + } + + + +
    +
    + } + {{ 'integration.use-api-four-plus' | translate }} diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.ts index 698d19b79e..1f151a01f3 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.ts @@ -47,8 +47,23 @@ export class ChirpStackIntegrationFormComponent extends IntegrationForm implemen @Input() routingKey: string; + @Input() + set isSetDownlink(value: boolean) { + if (this.isSetDownlinkValue !== value) { + this.isSetDownlinkValue = value; + this.updateCredentialsValidators(); + } + } + + get isSetDownlink(): boolean { + return this.isSetDownlinkValue; + } + + private isSetDownlinkValue = false; + private propagateChange = (v: any) => { }; private propagateChangePending = false; + private validatorChange = () => { }; constructor(private fb: UntypedFormBuilder, private store: Store, @@ -66,8 +81,7 @@ export class ChirpStackIntegrationFormComponent extends IntegrationForm implemen httpEndpoint: [{value: this.endPointUrl(baseUrl()), disabled: true}], applicationServerUrl: [null], applicationServerAPIToken: [null], - useAPI4Plus: [true], - allowDownlink: [false] + useAPI4Plus: [true] }); this.chirpStackIntegrationConfigForm.get('baseUrl').valueChanges.pipe( takeUntil(this.destroy$) @@ -79,23 +93,12 @@ export class ChirpStackIntegrationFormComponent extends IntegrationForm implemen ).subscribe(() => { this.updateModels(this.chirpStackIntegrationConfigForm.getRawValue()); }); - - this.chirpStackIntegrationConfigForm.get('allowDownlink').valueChanges.pipe( - takeUntil(this.destroy$) - ).subscribe(() => this.updateDownlinkControlsState()); + this.updateCredentialsValidators(); } writeValue(value: ChipStackIntegration) { if (isDefinedAndNotNull(value?.clientConfiguration)) { - const config = value.clientConfiguration; - this.chirpStackIntegrationConfigForm.reset(config, {emitEvent: false}); - if (!isDefinedAndNotNull(config.allowDownlink) - && (isDefinedAndNotNull(config.applicationServerUrl) || isDefinedAndNotNull(config.applicationServerAPIToken))) { - this.chirpStackIntegrationConfigForm.get('allowDownlink').setValue(true, {emitEvent: false}); - } - if (!this.disabled) { - this.updateDownlinkControlsState(); - } + this.chirpStackIntegrationConfigForm.reset(value.clientConfiguration, {emitEvent: false}); } else { this.propagateChangePending = true; } @@ -113,6 +116,10 @@ export class ChirpStackIntegrationFormComponent extends IntegrationForm implemen registerOnTouched(fn: any) { } + registerOnValidatorChange(fn: () => void) { + this.validatorChange = fn; + } + setDisabledState(isDisabled: boolean) { this.disabled = isDisabled; if (isDisabled) { @@ -120,7 +127,6 @@ export class ChirpStackIntegrationFormComponent extends IntegrationForm implemen } else { this.chirpStackIntegrationConfigForm.enable({emitEvent: false}); this.chirpStackIntegrationConfigForm.get('httpEndpoint').disable({emitEvent: false}); - this.updateDownlinkControlsState(); } } @@ -129,9 +135,11 @@ export class ChirpStackIntegrationFormComponent extends IntegrationForm implemen } private updateModels(value) { - if (!value.allowDownlink) { - value = {...value, applicationServerUrl: null, applicationServerAPIToken: null}; - } + value = { + ...value, + applicationServerUrl: value.applicationServerUrl ?? '', + applicationServerAPIToken: value.applicationServerAPIToken ?? '' + }; this.propagateChange({clientConfiguration: value}); } @@ -162,20 +170,14 @@ export class ChirpStackIntegrationFormComponent extends IntegrationForm implemen this.chirpStackIntegrationConfigForm?.get('baseUrl').updateValueAndValidity({emitEvent: false}); } - updateDownlinkControlsState() { - const allowDownlink = this.chirpStackIntegrationConfigForm.get('allowDownlink').value; - if (allowDownlink) { - this.chirpStackIntegrationConfigForm.get('applicationServerAPIToken').enable({emitEvent: false}); - this.chirpStackIntegrationConfigForm.get('applicationServerUrl').enable({emitEvent: false}); - this.chirpStackIntegrationConfigForm.get('applicationServerAPIToken').setValidators(Validators.required); - this.chirpStackIntegrationConfigForm.get('applicationServerUrl').setValidators(Validators.required); - } else { - this.chirpStackIntegrationConfigForm.get('applicationServerAPIToken').disable({emitEvent: false}); - this.chirpStackIntegrationConfigForm.get('applicationServerUrl').disable({emitEvent: false}); - this.chirpStackIntegrationConfigForm.get('applicationServerAPIToken').clearValidators(); - this.chirpStackIntegrationConfigForm.get('applicationServerUrl').clearValidators(); + private updateCredentialsValidators() { + if (this.chirpStackIntegrationConfigForm) { + const validators = this.isSetDownlink ? [Validators.required] : []; + this.chirpStackIntegrationConfigForm.get('applicationServerUrl').setValidators(validators); + this.chirpStackIntegrationConfigForm.get('applicationServerAPIToken').setValidators(validators); + this.chirpStackIntegrationConfigForm.get('applicationServerUrl').updateValueAndValidity({emitEvent: false}); + this.chirpStackIntegrationConfigForm.get('applicationServerAPIToken').updateValueAndValidity({emitEvent: false}); + this.validatorChange(); } - this.chirpStackIntegrationConfigForm.get('applicationServerAPIToken').updateValueAndValidity({emitEvent: false}); - this.chirpStackIntegrationConfigForm.get('applicationServerUrl').updateValueAndValidity({emitEvent: false}); } } diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/integration-configuration.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/integration-configuration.component.html index 1e8f3c18ca..b4953da31a 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/integration-configuration.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/integration-configuration.component.html @@ -94,6 +94,7 @@ @case (integrationTypes.CHIRPSTACK) { diff --git a/ui-ngx/src/app/shared/models/integration.models.ts b/ui-ngx/src/app/shared/models/integration.models.ts index 36e8ad3b81..b408a22e7e 100644 --- a/ui-ngx/src/app/shared/models/integration.models.ts +++ b/ui-ngx/src/app/shared/models/integration.models.ts @@ -699,7 +699,6 @@ export interface ChipStackIntegration { applicationServerUrl: string; applicationServerAPIToken: string; useAPI4Plus: boolean; - allowDownlink: boolean; }; } From 90f96ce8fd0b452da445637230fae851f1e62032 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 2 Nov 2026 12:10:19 +0100 Subject: [PATCH 395/559] Fixed Scheduler events widget error when pagination is enabled (#16530) --- .../scheduler/scheduler-events.component.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/scheduler/scheduler-events.component.ts b/ui-ngx/src/app/modules/home/components/scheduler/scheduler-events.component.ts index 063543bd1d..39ffeb560c 100644 --- a/ui-ngx/src/app/modules/home/components/scheduler/scheduler-events.component.ts +++ b/ui-ngx/src/app/modules/home/components/scheduler/scheduler-events.component.ts @@ -101,7 +101,7 @@ export class SchedulerEventsComponent extends PageComponent implements OnInit, A replaceComponent: Type; @ViewChild('replaceComponentAnchor', {static: true}) replaceComponentAnchor: TbAnchorComponent; - @ViewChild('schedulerEventWidgetContainer', {static: true}) schedulerEventWidgetContainerRef: ElementRef; + @ViewChild('schedulerEventWidgetContainer') schedulerEventWidgetContainerRef: ElementRef; @ViewChild('searchInput') searchInputField: ElementRef; @ViewChild(MatPaginator) paginator: MatPaginator; @ViewChild(MatSort) sort: MatSort; @@ -200,11 +200,6 @@ export class SchedulerEventsComponent extends PageComponent implements OnInit, A } else { this.modeHandler = SchedulerModeHandler.create(this, this.router, this.route); this.modeHandler.initialize(this.schedulerEventService, this.userPermissionsService, this.customTranslatePipe); - - if (this.displayPagination) { - this.setupResizeObserver(); - } - this.setupCalendarOptions(); } } @@ -268,6 +263,10 @@ export class SchedulerEventsComponent extends PageComponent implements OnInit, A ngAfterViewInit(): void { if (!this.showData) return; + if (this.displayPagination) { + this.setupResizeObserver(); + } + this.setupTextSearchSubscription(); this.setupSortAndPaginatorSubscriptions(); From c5c80e0dc2e0a119401ffa449fb8ee3d1b69be56 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 2 Nov 2026 12:11:05 +0100 Subject: [PATCH 396/559] Fixed infinite loop in LED indicator, Round switch and Switch widgets font fitting (#16529) * Fixed infinite loop in LED indicator, Round switch and Switch widgets font fitting * Fixed license headers --- .../home/components/widget/lib/rpc/knob.component.ts | 8 +++----- .../components/widget/lib/rpc/led-indicator.component.ts | 5 +++-- .../components/widget/lib/rpc/round-switch.component.ts | 5 +++-- .../home/components/widget/lib/rpc/switch.component.ts | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/knob.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/knob.component.ts index f1282106c7..753ca38de1 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/knob.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/knob.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { ChangeDetectorRef, Component, ElementRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { WidgetContext } from '@home/models/widget-component.models'; import { deepClone, isDefined } from '@core/utils'; @@ -318,11 +319,8 @@ export class KnobComponent extends BasicActionWidgetComponent implements OnInit, private setFontSize(element: JQuery, text: string, fontSize: number, maxWidth: number) { let textWidth = this.measureTextWidth(text, fontSize); - while (textWidth > maxWidth) { + while (textWidth > maxWidth && fontSize > 1) { fontSize--; - if (fontSize < 0) { - break; - } textWidth = this.measureTextWidth(text, fontSize); } element.css({fontSize: fontSize + 'px', lineHeight: fontSize + 'px'}); diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts index e3974d2ec3..a0eb933bd1 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, ElementRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { WidgetContext } from '@home/models/widget-component.models'; @@ -212,7 +213,7 @@ export class LedIndicatorComponent extends PageComponent implements OnInit, OnDe private setFontSize(element: JQuery, text: string, fontSize: number, maxWidth: number) { let textWidth = this.measureTextWidth(text, fontSize); - while (textWidth > maxWidth) { + while (textWidth > maxWidth && fontSize > 1) { fontSize--; textWidth = this.measureTextWidth(text, fontSize); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts index 03c10e3da5..05a93e434f 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, ElementRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { WidgetContext } from '@home/models/widget-component.models'; @@ -208,7 +209,7 @@ export class RoundSwitchComponent extends PageComponent implements OnInit, OnDes private setFontSize(element: JQuery, text: string, fontSize: number, maxWidth: number) { let textWidth = this.measureTextWidth(text, fontSize); - while (textWidth > maxWidth) { + while (textWidth > maxWidth && fontSize > 1) { fontSize--; textWidth = this.measureTextWidth(text, fontSize); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts index e901852f36..095177bffa 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { AfterViewInit, Component, ElementRef, Input, OnDestroy, ViewChild } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { WidgetContext } from '@home/models/widget-component.models'; @@ -10,7 +11,6 @@ import { isDefined } from '@core/utils'; import { IWidgetSubscription, SubscriptionInfo, WidgetSubscriptionOptions } from '@core/api/widget-api.models'; import { DatasourceType, widgetType } from '@shared/models/widget.models'; import { EntityType } from '@shared/models/entity-type.models'; -import { MatSlideToggle } from '@angular/material/slide-toggle'; import { ThemePalette } from '@angular/material/core'; const switchAspectRation = 2.7893; @@ -241,7 +241,7 @@ export class SwitchComponent extends PageComponent implements AfterViewInit, OnD private setFontSize(element: JQuery, text: string, fontSize: number, maxWidth: number) { let textWidth = this.measureTextWidth(text, fontSize); - while (textWidth > maxWidth) { + while (textWidth > maxWidth && fontSize > 1) { fontSize--; textWidth = this.measureTextWidth(text, fontSize); } From ce4b0c1fe14a9ac91a892832ee12da09eca52a53 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 2 Nov 2026 12:12:29 +0100 Subject: [PATCH 397/559] Fixed KPN shared secret breaking ThingsBoard destination (#16503) * Fixed KPN shared secret breaking ThingsBoard destination * PR fixes --- .../kpn-integration-form.component.html | 68 +++++++++++-------- .../kpn-integration-form.component.scss | 40 ----------- .../kpn-integration-form.component.ts | 68 ++++++++++++++++--- .../assets/locale/locale.constant-en_US.json | 8 +++ 4 files changed, 108 insertions(+), 76 deletions(-) delete mode 100644 ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.scss diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html index fb90406628..1bcbeb2627 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html @@ -19,9 +19,6 @@ }
    - -
    integration.http-endpoint @@ -35,6 +32,47 @@
    + + + @if (noSecurity) { +
    + warning + {{ 'integration.kpn-no-security-warning' | translate }} +
    + } + + + + integration.kpn-https-destination-settings + + +
    + + +
    +
    +
    integration.kpn-additional-headers-filter
    +
    integration.kpn-additional-headers-filter-hint
    +
    + + + @if (kpnIntegrationConfigForm.get('additionalHeadersFilter').hasError('securityHeaderDuplicate')) { + {{ 'integration.kpn-security-header-duplicate' | translate }} + } +
    +
    +
    +
    + @if (isSetDownlink) {
    integration.downlink-credentials @@ -49,30 +87,6 @@
    } - - - - - - {{ 'integration.enable-security' | translate }} ({{ 'integration.headers-filter' | translate }}) - - - - - - - - - diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.scss b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.scss deleted file mode 100644 index d6a9dd27dc..0000000000 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.scss +++ /dev/null @@ -1,40 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -:host { - .expansion-panel-setting { - box-shadow: none; - border: 1px groove rgba(0, 0, 0, .25); - border-radius: 4px; - margin-bottom: 8px; - - .mat-expansion-panel-header { - padding: 0 24px 0 16px; - - &.mat-expanded { - height: 48px; - } - } - } -} - -:host ::ng-deep { - .expansion-panel-setting { - .mat-content { - overflow: visible; - } - .mat-mdc-slide-toggle { - width: fit-content; - } - .mat-expansion-panel-body { - padding: 0; - .expansion-panel-setting-content { - display: block; - margin: 0 16px 12px; - } - } - } - - .toggle { - margin: 0 0 8px; - } -} diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts index 011eaee7b7..cee33e7d36 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts @@ -2,6 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 import { Component, forwardRef, Input, OnInit } from '@angular/core'; import { + AbstractControl, ControlValueAccessor, NG_VALIDATORS, NG_VALUE_ACCESSOR, @@ -11,7 +12,7 @@ import { Validator, Validators } from '@angular/forms'; -import { baseUrl, isDefinedAndNotNull } from '@core/utils'; +import { baseUrl, isDefinedAndNotNull, isNotEmptyStr } from '@core/utils'; import { takeUntil } from 'rxjs/operators'; import { IntegrationCredentialType, @@ -25,10 +26,15 @@ import { AppState } from '@core/core.state'; import { TranslateService } from '@ngx-translate/core'; import { IntegrationForm } from '@home/components/integration/configuration/integration-form'; +interface KpnIntegrationFormValue extends Omit { + securityHeader: string; + additionalHeadersFilter: {[key: string]: string}; +} + @Component({ selector: 'tb-kpn-integration-form', templateUrl: './kpn-integration-form.component.html', - styleUrls: ['./kpn-integration-form.component.scss'], + styleUrls: [], providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => KpnIntegrationFormComponent), @@ -47,6 +53,10 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont IntegrationCredentialType = IntegrationCredentialType; + httpsDestinationSettingsExpanded = false; + + noSecurity = true; + @Input() routingKey: string; @@ -63,6 +73,7 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont } private integrationType = IntegrationType.KPN; + private securityHeaderName = 'X-Things-Secret'; private isSetDownlinkValue = false; private propagateChangePending = false; @@ -82,13 +93,13 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont } this.kpnIntegrationConfigForm = this.fb.group({ baseUrl: [baseUrl(), baseURLValidators], - destinationSharedSecret: [""], httpEndpoint: [{ value: integrationEndPointUrl(this.integrationType, baseUrl(), this.routingKey), disabled: true }], - enableSecurity: [false], - headersFilter: [{}], + securityHeader: [''], + destinationSharedSecret: [''], + additionalHeadersFilter: [{}, (control: AbstractControl) => this.additionalHeadersFilterValidator(control)], apiId: [], apiKey: [] }); @@ -101,7 +112,9 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont this.kpnIntegrationConfigForm.valueChanges.pipe( takeUntil(this.destroy$) ).subscribe(() => { - this.updateModels(this.kpnIntegrationConfigForm.getRawValue()); + const value = this.kpnIntegrationConfigForm.getRawValue(); + this.updateNoSecurity(value); + this.updateModels(value); }); this.kpnIntegrationConfigForm.removeControl('replaceNoContentToOk', {emitEvent: false}); this.updateCredentialsValidators(); @@ -109,7 +122,11 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont writeValue(value: KpnIntegration) { if (isDefinedAndNotNull(value)) { - this.kpnIntegrationConfigForm.reset(value, {emitEvent: false}); + const formValue = this.configToFormValue(value); + this.httpsDestinationSettingsExpanded = isNotEmptyStr(formValue.destinationSharedSecret) || + Object.keys(formValue.additionalHeadersFilter).length > 0; + this.kpnIntegrationConfigForm.reset(formValue, {emitEvent: false}); + this.updateNoSecurity(this.kpnIntegrationConfigForm.getRawValue()); } else { this.propagateChangePending = true; } @@ -159,8 +176,41 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont })); } - private updateModels(value) { - this.propagateChange(value); + private updateNoSecurity({securityHeader, destinationSharedSecret, additionalHeadersFilter}: KpnIntegrationFormValue) { + this.noSecurity = !isNotEmptyStr(securityHeader) && !isNotEmptyStr(destinationSharedSecret) && + !Object.keys(additionalHeadersFilter).length; + } + + private updateModels(value: KpnIntegrationFormValue) { + this.propagateChange(this.formValueToConfig(value)); + } + + private configToFormValue({enableSecurity, headersFilter, ...config}: KpnIntegration): KpnIntegrationFormValue { + const additionalHeadersFilter = enableSecurity ? {...headersFilter} : {}; + const securityHeaderKey = Object.keys(additionalHeadersFilter).find(key => this.isSecurityHeader(key)); + let securityHeader = ''; + if (securityHeaderKey) { + securityHeader = additionalHeadersFilter[securityHeaderKey]; + delete additionalHeadersFilter[securityHeaderKey]; + } + return {...config, securityHeader, additionalHeadersFilter}; + } + + private formValueToConfig({securityHeader, additionalHeadersFilter, ...config}: KpnIntegrationFormValue): KpnIntegration { + const headersFilter = {...additionalHeadersFilter}; + if (isNotEmptyStr(securityHeader)) { + headersFilter[this.securityHeaderName] = securityHeader.trim(); + } + const enableSecurity = Object.keys(headersFilter).length > 0; + return {...config, enableSecurity, headersFilter}; + } + + private additionalHeadersFilterValidator(control: AbstractControl): ValidationErrors | null { + return Object.keys(control.value ?? {}).some(key => this.isSecurityHeader(key)) ? {securityHeaderDuplicate: true} : null; + } + + private isSecurityHeader(key: string): boolean { + return key.toLowerCase() === this.securityHeaderName.toLowerCase(); } private updateCredentialsValidators() { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 6243ee6a95..2450099fe5 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -5585,6 +5585,14 @@ "password-required": "Password is required.", "destination-shared-secret": "Destination shared secret", "destination-shared-secret-required": "Destination shared secret required", + "kpn-security-header": "Security header (X-Things-Secret)", + "kpn-security-header-hint": "Value generated in the KPN Things ThingsBoard destination", + "kpn-security-header-duplicate": "Set X-Things-Secret in the Security header field, not as an additional header filter", + "kpn-https-destination-settings": "HTTPS destination settings", + "kpn-destination-shared-secret-hint": "Only for the KPN Things HTTPS destination. Leave empty for the ThingsBoard destination", + "kpn-additional-headers-filter": "Additional headers filter", + "kpn-additional-headers-filter-hint": "Requests must carry each header with a matching value", + "kpn-no-security-warning": "Requests to this endpoint are not authenticated. Add the security header generated in KPN Things.", "customer-id": "Customer id", "api-id": "API ID", "azure-ca-cert": "CA certificate file", From 3b25c5b522667b1090078b5ab90406db0c8004dc Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Mon, 2 Nov 2026 12:12:54 +0100 Subject: [PATCH 398/559] Remove 'Replace No-Content to OK' toggle from integrations that ignore it (#16488) * Fixed 'Replace No-Content to OK' toggle: hide for IoT Creators/OceanConnect, applied in SigFox * PR comments fixes * Merge fixes --- .../http-integration-form.component.html | 10 ++++++---- .../http-integration-form.component.ts | 7 +++++-- .../ocean-connect-integration-form.component.ts | 1 + .../sigfox-integration-form.component.ts | 2 ++ .../t-mobile-iot-integration-form.component.ts | 1 + .../kpn-integration-form.component.ts | 1 - .../particle-integration-form.component.ts | 1 - .../thing-park-integration-form.component.html | 4 ---- .../thing-park-integration-form.component.scss | 4 ---- .../thing-park-integration-form.component.ts | 1 - ui-ngx/src/app/shared/models/integration.models.ts | 3 +-- 11 files changed, 16 insertions(+), 19 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html index be166e88be..a148d1455e 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html @@ -67,10 +67,12 @@ - - {{ 'integration.replace-no-content-to-ok' | translate }} - + @if (showReplaceNoContentToOk) { + + {{ 'integration.replace-no-content-to-ok' | translate }} + + } diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.ts index f6f140d1d9..0cd76e727c 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.ts @@ -44,6 +44,7 @@ export class HttpIntegrationFormComponent extends IntegrationForm implements Con baseHttpIntegrationConfigForm: UntypedFormGroup; showSecurity = true; + showReplaceNoContentToOk = true; @Input() routingKey: string; @@ -68,9 +69,11 @@ export class HttpIntegrationFormComponent extends IntegrationForm implements Con baseUrl: [baseUrl(), baseURLValidators], httpEndpoint: [{value: integrationEndPointUrl(this.integrationType, baseUrl(), this.routingKey), disabled: true}], enableSecurity: [false], - headersFilter: [{}], - replaceNoContentToOk: [false] + headersFilter: [{}] }); + if (this.showReplaceNoContentToOk) { + this.baseHttpIntegrationConfigForm.addControl('replaceNoContentToOk', this.fb.control(false)); + } this.baseHttpIntegrationConfigForm.get('baseUrl').valueChanges.pipe( takeUntil(this.destroy$) ).subscribe((value) => { diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/ocean-connect-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/ocean-connect-integration-form.component.ts index 21a6eb293d..d5d2227198 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/ocean-connect-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/ocean-connect-integration-form.component.ts @@ -27,6 +27,7 @@ import { HttpIntegrationFormComponent } from './http-integration-form.component' export class OceanConnectIntegrationFormComponent extends HttpIntegrationFormComponent { showSecurity = false; + showReplaceNoContentToOk = false; protected integrationType = IntegrationType.OCEANCONNECT; diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/sigfox-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/sigfox-integration-form.component.ts index 8dc7305cea..a17e1e8d19 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/sigfox-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/sigfox-integration-form.component.ts @@ -26,6 +26,8 @@ import { IntegrationType } from '@shared/models/integration.models'; }) export class SigfoxIntegrationFormComponent extends HttpIntegrationFormComponent { + showReplaceNoContentToOk = false; + protected integrationType = IntegrationType.SIGFOX; constructor(protected fb: UntypedFormBuilder, diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/t-mobile-iot-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/t-mobile-iot-integration-form.component.ts index 16ce6a8043..49d4970e64 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/t-mobile-iot-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/t-mobile-iot-integration-form.component.ts @@ -27,6 +27,7 @@ import { HttpIntegrationFormComponent } from './http-integration-form.component' export class TMobileIotIntegrationFormComponent extends HttpIntegrationFormComponent { showSecurity = false; + showReplaceNoContentToOk = false; protected integrationType = IntegrationType.TMOBILE_IOT_CDP; diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts index cee33e7d36..90cd4d7d0b 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.ts @@ -116,7 +116,6 @@ export class KpnIntegrationFormComponent extends IntegrationForm implements Cont this.updateNoSecurity(value); this.updateModels(value); }); - this.kpnIntegrationConfigForm.removeControl('replaceNoContentToOk', {emitEvent: false}); this.updateCredentialsValidators(); } diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.ts index 59f0b84c83..6a8ea84113 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.ts @@ -90,7 +90,6 @@ export class ParticleIntegrationFormComponent extends IntegrationForm implements ).subscribe(() => { this.updateModels(this.particleIntegrationConfigForm.getRawValue()); }); - this.particleIntegrationConfigForm.removeControl('replaceNoContentToOk', {emitEvent: false}); } writeValue(value: ParticleIntegration) { diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.html index 2b43479df6..288a17f3fb 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.html @@ -116,10 +116,6 @@ - - {{ 'integration.replace-no-content-to-ok' | translate }} - integration.downlink-url diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.scss b/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.scss index b4c4768d5b..51fa4f404a 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.scss +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.scss @@ -32,8 +32,4 @@ } } } - - .toggle { - margin: 0 0 16px; - } } diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.ts b/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.ts index 19aa792880..a99ea2fd70 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.ts +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/thing-park-integration-form/thing-park-integration-form.component.ts @@ -69,7 +69,6 @@ export class ThingParkIntegrationFormComponent extends IntegrationForm implement baseUrl: [baseUrl(), baseURLValidators], httpEndpoint: [{value: integrationEndPointUrl(this.integrationType, baseUrl(), this.routingKey), disabled: true}], enableSecurity: [false], - replaceNoContentToOk: [false], downlinkUrl: ['https://api.thingpark.com/thingpark/lrc/rest/downlink', downlinkUrlValidators], enableSecurityNew: [{value: false, disabled: true}], asId: [{value: '', disabled: true}, Validators.required], diff --git a/ui-ngx/src/app/shared/models/integration.models.ts b/ui-ngx/src/app/shared/models/integration.models.ts index b408a22e7e..2c95c6073a 100644 --- a/ui-ngx/src/app/shared/models/integration.models.ts +++ b/ui-ngx/src/app/shared/models/integration.models.ts @@ -741,7 +741,7 @@ export interface HttpIntegration { httpEndpoint: string; enableSecurity?: boolean; headersFilter?: {[key: string]: string} | null; - replaceNoContentToOk: boolean; + replaceNoContentToOk?: boolean; } export interface KafkaIntegration { @@ -914,7 +914,6 @@ export interface ThingParkIntegration { baseUrl: string; httpEndpoint: string; enableSecurity: boolean; - replaceNoContentToOk: boolean; downlinkUrl?: string; enableSecurityNew: boolean; asId?: string; From af75897c2530f388cf5178b22d7b08c4ba4ff599 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 13:37:39 +0200 Subject: [PATCH 399/559] fix(iot-hub): drop the result of an update check the user went back from --- .../device-install-dialog.component.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 54dfc3e218..9f79cbb59d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -370,6 +370,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent(); // Update: for each step with "default": true, whether its converter differs from ThingsBoard's default one now private defaultConverterChanges = new Map(); + // Update: the check of the update in progress; a way back meanwhile starts a new one, which drops this one's result + private updateCheckRun = 0; // Variable resolution state formValues: Record = {}; @@ -557,7 +559,12 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + const run = ++this.updateCheckRun; // Templates refer to the package's entities, e.g. ${deviceProfile.id}: until the steps run, the installed ones this.restoreInstallState(this.data.update.descriptor.installState ?? {}, false); ws.entitySteps = ws.rawSteps.map(s => ({ @@ -2600,9 +2608,16 @@ export class TbDeviceInstallDialogComponent extends DialogComponent [state.stepName, state])); const plans = await Promise.all(ws.entitySteps.map(ep => this.planEntityStep(ep))); + if (run !== this.updateCheckRun) { + // The user went back meanwhile: the plan is of the form values before + return; + } ws.entitySteps.forEach((ep, i) => this.entityPlans.set(ep, plans[i])); this.overwriteReferencesToCreated(ws); } catch (e: any) { + if (run !== this.updateCheckRun) { + return; + } ws.progressError = this.failureMessage(e); } ws.checking = false; From 7420039a55962b7f30b81f53bb15d0a8e9654a7b Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:20:28 +0200 Subject: [PATCH 400/559] feat(iot-hub): the default TTN/TTI converter decodes Lansitec devices from the LoRaWAN Device Repository The Lansitec codecs wrap everything in bytes, give numbers as strings with units and get some fields wrong. The default converter unwraps them, names the keys as the Lansitec datasheets do, decodes the wrong fields from the raw bytes, and writes the Register message as attributes. The JS default reads the payload as UTF-8. --- .../src/assets/converters/js-tti-decoder.raw | 425 +++++++++++++++++- .../src/assets/converters/js-ttn-decoder.raw | 425 +++++++++++++++++- .../assets/converters/tbel-tti-decoder.raw | 378 +++++++++++++++- .../assets/converters/tbel-ttn-decoder.raw | 378 +++++++++++++++- 4 files changed, 1600 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index ee4314679b..ca1d911e66 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -2,11 +2,428 @@ // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. // Such a device gets the profile -, so all devices of one model share it, // or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. + +// Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units +// ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. +var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; + +var LANSITEC_GATEWAYS = ['compact-bluetooth-gateway', 'indoor-bluetooth-gateway', 'macro-bluetooth-gateway', 'solar-bluetooth-gateway']; + +// Codec key -> datasheet name, per model group. '-' drops the key. +// +// Bluetooth Gateway DataSheet 2.27, 4.4.1 Registration: ADR, Mode (current working LoRaWAN frequency sub-band plan), +// LoRaWAN frequency band, Power (LoRa TX power, dBm), Continuously BLE receiving, DR (LoRaWAN Uplink Data Rate), +// PRI (Position report interval), HB (Heartbeat interval), Bluetooth receiving duration. +// 4.4.2 Heartbeat: RSSI and SNR (LoRa), VER (Firmware version). VOL, SNR and CHGSTAT come from the raw bytes. +// number is the count of reported devices: the beacons list has them. The beacons come from the raw bytes too. +var LANSITEC_GATEWAY_KEYS = { + adr: 'adr', mode: 'mode', LoRaWANband: 'loraWanFrequencyBand', LoRaTxpower: 'loraTxPower', + ContinuousReceive: 'continuousBleReceiving', dr: 'dataRate', pos: 'positionReportInterval', + hb: 'heartbeatInterval', BLEReceivingDuration: 'bluetoothReceivingDuration', + rssi: 'loraRssi', snr: '-', ver: 'deviceFirmwareVersion', vol: '-', chgstate: '-', number: '-' +}; + +// Badge Tracker DataSheet v5.30, 5.1 Registration: ADR, LoRa TX power, DR, GNSSEN (GNSS enable status), +// POSMODE (Positioning report mode), BLEPRI (Bluetooth Position Report Interval). The codec reads it without the +// GNSSPRI field, so heartbeat, version, CFMMSG, HBCOUNT and fall detection come from the raw bytes. +// 5.2 Heartbeat: Battery (percentage), RSSI (LoRa), GNSSSTATE (Status of the GNSS module), CHGSTATE (Status of +// battery charging). SNR and VIBSTATE come from the raw bytes. +// 5.3 GNSS Position: longitude, latitude and time come from the raw bytes. +// 5.4 Beacon: bytes 1-5 are RFU, the codec reads byte 1 as Vibstate. 5.5 Alarm: 0x01 SOS, 0x02 Fall Detection. +var LANSITEC_BADGE_KEYS = { + ADR: 'adr', 'Lora Txpower': 'loraTxPower', DR: 'dataRate', GNSSEN: 'gnssEnabled', + 'Position mode': 'positioningReportMode', 'Position period': 'bluetoothPositionReportInterval', + 'Heartbeat period': '-', 'Firmware version': '-', CFMMSG: '-', HBCOUNT: '-', 'Fall threshold': '-', + 'Battery level': 'batteryLevel', RSSI: 'loraRssi', SNR: '-', 'GPS state': 'gnssState', + 'Move state': '-', 'Charge state': 'chargeState', + Longitude: '-', Latitude: '-', Time: '-', Length: '-', Vibstate: '-', 'Alarm type': 'alarm' +}; + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.1 Register: ADR, MODE (current working scheme), SMODE (data +// scheme supported), POWER (configured transmit power, dBm), DR, REPTIND (report H&T if the value is the same; +// the codec gives "false" for 0 = always report), TH (period of temperature and humidity report), CRC. +// 2.2.2 Periodical temperature and humidity: VER is the version of the message type, not the firmware; +// VOL (battery left, %), RSSI (downlink, detected by the sensor). SNR, temperature and humidity come from the raw bytes. +var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { + adr: 'adr', mode: 'mode', smode: 'smode', LoraTxpower: 'loraTxPower', dr: 'dataRate', repting: 'reptind', + th: 'temperatureHumidityReportPeriod', crc: '-', + ver: '-', vol: 'batteryLevel', rssi: 'loraRssi', snr: '-', temperature: '-', humidity: '-' +}; + +// Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. +// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as +// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported +// devices: the beacons list has them. +var LANSITEC_CLASH_KEYS = { + rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', + firmwareVersion: 'deviceFirmwareVersion', 'Firmware version': 'deviceFirmwareVersion', + type: '-', 'Message type': '-', chgstate: '-', number: '-' +}; + +// Beacon keys: Devicetype1data1, Device1data, dev1major, dev1.major, pos1minor, asset1rssi... +var LANSITEC_BEACON_PREFIXES = ['devicetype1', 'devicetype2', 'devicetype3', 'device', 'dev', 'pos', 'asset']; +var LANSITEC_BEACON_FIELDS = ['data', 'major', 'minor', 'rssi', 'id']; + +function lansitecEndsWith(s, end) { + return s.length >= end.length && s.substring(s.length - end.length) == end; +} + +// Strips the unit. Periods become seconds: the codecs give most of them in seconds, a few in minutes. +function lansitecNumber(v) { + if (typeof v != 'string') { + return v; + } + for (var i = 0; i < LANSITEC_UNITS.length; i++) { + var u = LANSITEC_UNITS[i]; + if (lansitecEndsWith(v, u)) { + var n = v.substring(0, v.length - u.length).trim(); + if (/^-?[0-9]+(\.[0-9]+)?$/.test(n)) { + return u == 'min' ? parseFloat(n) * 60 : parseFloat(n); + } + } + } + return v; +} + +function lansitecLowerStart(part) { + var n = 0; + while (n < part.length && part.charAt(n) != part.charAt(n).toLowerCase()) { + n = n + 1; + } + if (n == part.length) { + return part.toLowerCase(); + } + if (n > 1) { + return part.substring(0, n - 1).toLowerCase() + part.substring(n - 1); + } + return part.substring(0, 1).toLowerCase() + part.substring(1); +} + +function lansitecCamelCase(key) { + var parts = key.split(/[ .]+/); + var result = lansitecLowerStart(parts[0]); + for (var i = 1; i < parts.length; i++) { + var part = lansitecLowerStart(parts[i]); + result = result + part.substring(0, 1).toUpperCase() + part.substring(1); + } + return result; +} + +function lansitecBeaconKey(key) { + var k = key.toLowerCase().replace('.', ''); + for (var i = 0; i < LANSITEC_BEACON_PREFIXES.length; i++) { + var p = LANSITEC_BEACON_PREFIXES[i]; + if (k.indexOf(p) == 0) { + var rest = k.substring(p.length); + for (var j = 0; j < LANSITEC_BEACON_FIELDS.length; j++) { + var f = LANSITEC_BEACON_FIELDS[j]; + if (lansitecEndsWith(rest, f) && /^[0-9]+$/.test(rest.substring(0, rest.length - f.length))) { + return { group: p, index: rest.substring(0, rest.length - f.length), field: f }; + } + if (rest.indexOf(f) == 0 && /^[0-9]+$/.test(rest.substring(f.length))) { + return { group: p, index: rest.substring(f.length), field: f }; + } + } + } + } + return null; +} + +function lansitecKeyTable(model) { + if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { + return LANSITEC_GATEWAY_KEYS; + } + if (model == 'badge-tracker') { + return LANSITEC_BADGE_KEYS; + } + if (model == 'temperature-humidity-sensor') { + return LANSITEC_TEMPERATURE_HUMIDITY_KEYS; + } + return null; +} + +function lansitecValues(raw, model) { + var table = lansitecKeyTable(model); + var values = {}; + var beacons = {}; + Object.keys(raw).forEach(function (key) { + var value = raw[key]; + var b = lansitecBeaconKey(key); + if (b != null) { + var id = b.group + b.index; + if (beacons[id] == null) { + beacons[id] = { order: parseInt(b.index, 10) }; + } + if (b.field == 'rssi') { + beacons[id].rssi = lansitecNumber(value); + } else if (b.field == 'data' || b.field == 'major' || b.field == 'minor') { + beacons[id][b.field] = value; + } + } else if (table == null && key == 'time' && typeof value == 'string') { + // Container tracker and helmet sensor, no datasheet: their codecs add 8 hours to the GNSS time and wrap + // it in quotes, as the badge tracker codec does with the UTC time of DataSheet v5.30, 5.3. + values.gnssTime = new Date(value.replace(/"/g, '')).getTime() - 8 * 60 * 60 * 1000; + } else if (table != null && table.hasOwnProperty(key)) { + if (table[key] != '-') { + values[table[key]] = lansitecNumber(value); + } + } else if (LANSITEC_CLASH_KEYS.hasOwnProperty(key)) { + if (LANSITEC_CLASH_KEYS[key] != '-') { + values[LANSITEC_CLASH_KEYS[key]] = lansitecNumber(value); + } + } else { + values[lansitecCamelCase(key)] = lansitecNumber(value); + } + }); + if (Object.keys(beacons).length > 0) { + values.beacons = lansitecBeaconList(beacons); + } + return values; +} + +function lansitecBeaconList(beacons) { + var list = []; + var ids = Object.keys(beacons); + for (var i = 1; i <= ids.length; i++) { + ids.forEach(function (id) { + var b = beacons[id]; + if (b.order == i) { + var item = {}; + if (b.data != null) { + item.data = b.data; + } + if (b.major != null) { + item.major = b.major; + item.minor = b.minor; + } + item.rssi = b.rssi; + list.push(item); + } + }); + } + // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only + // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways + // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + if (list.length > 1 && list[0].data != null && list[0].data.length != 8) { + return [list[0]]; + } + return list; +} + +// Decoded from the raw bytes by the datasheet where the codec gets it wrong. +function lansitecRawValues(values, b, model) { + var type = (b[0] >> 4) & 0x0F; + if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { + lansitecGatewayRawValues(values, b, model, type); + } else if (model == 'badge-tracker') { + lansitecBadgeRawValues(values, b, type); + } else if (model == 'temperature-humidity-sensor' && type == 2) { + lansitecTemperatureHumidityRawValues(values, b); + } +} + +function lansitecBase64ToBytes(input) { + var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + var bytes = []; + var bits = 0; + var count = 0; + for (var i = 0; i < input.length; i++) { + var c = chars.indexOf(input.charAt(i)); + if (c < 0) { + continue; + } + bits = (bits << 6) | c; + count = count + 6; + if (count >= 8) { + count = count - 8; + bytes.push((bits >> count) & 0xFF); + } + } + return bytes; +} + +function lansitecHex(b, from, to) { + var digits = '0123456789ABCDEF'; + var hex = ''; + for (var i = from; i < to; i++) { + hex = hex + digits.charAt((b[i] >> 4) & 0x0F) + digits.charAt(b[i] & 0x0F); + } + return hex; +} + +function lansitecUint(b, offset, length) { + var v = 0; + for (var i = 0; i < length; i++) { + v = v * 256 + b[offset + i]; + } + return v; +} + +// IEEE 754 single precision, big-endian, rounded to 6 decimals (about 0.1 m) as in the TBEL converter. +function lansitecFloat(b, offset) { + var bits = lansitecUint(b, offset, 4); + var exponent = Math.floor(bits / 8388608) % 256; + var mantissa = bits % 8388608; + var value = exponent == 0 ? mantissa * Math.pow(2, -149) : (1 + mantissa / 8388608) * Math.pow(2, exponent - 127); + value = Math.round(value * 1000000) / 1000000; + return bits >= 2147483648 ? -value : value; +} + +// SNR, unit 0.01 dB, -3000 to 3000: signed. The codecs read it unsigned. +function lansitecSnr(b, offset) { + var v = lansitecUint(b, offset, 2); + if (v > 32767) { + v = v - 65536; + } + return v / 100; +} + +// Bluetooth Gateway DataSheet 2.27. +function lansitecGatewayRawValues(values, b, model, type) { + if (type == 1 && b.length >= 9) { + // 4.4.1: Network reconnection interval, unit 5 minutes. The codec does not decode it. + values.networkReconnectionInterval = b[8] * 300; + } else if (type == 2 && b.length >= 8) { + // 4.4.2: VOL is the battery voltage (VOL x 0.01 + 1.5 V) on the macro gateway and the battery level (%) on + // the others. The codec decides by the value (<= 100 is %), not by the model. + if (model == 'macro-bluetooth-gateway') { + values.batteryVoltage = (b[1] + 150) / 100; + } else { + values.batteryLevel = b[1]; + } + values.loraSnr = lansitecSnr(b, 3); + // CHGSTAT: 0x00 Not charging, 0x50 Charging, 0x60 Charging completed on the compact and solar gateway, + // always 0x00 on the macro and indoor gateway. The codec reads the low half of the byte. + if (model == 'compact-bluetooth-gateway' || model == 'solar-bluetooth-gateway') { + if (b[7] == 0x00) { + values.chargeState = 'Not charging'; + } else if (b[7] == 0x50) { + values.chargeState = 'Charging'; + } else if (b[7] == 0x60) { + values.chargeState = 'Charging completed'; + } + } + } else if (type == 0x8 || type == 0x9 || type == 0xA || type == 0xE) { + delete values.beacons; + var beacons = lansitecGatewayBeacons(b, type); + if (beacons != null) { + values.beacons = beacons; + } + } +} + +// 4.4.4-4.4.6: Device Type 1, 2 and 3 messages: Type (bits 3-0: number of devices), then Data (1-31 bytes) and +// RSSI (value - 256, dBm) of each device. Data length is not in the message: it is set by the device report rule +// of the type (4.4.3), so all devices of one message have the same length. The codec reads every device after +// the first at a 5-byte step. +// 4.4.7: Multi-Device Type message: Device Type ID before the data of each device. The data length can differ per +// type, and the message does not say it: decoded only when all devices fit the same length. +function lansitecGatewayBeacons(b, type) { + var count = b[0] & 0x0F; + if (count == 0 || (b.length - 1) % count != 0) { + return null; + } + var step = (b.length - 1) / count; + var head = type == 0xE ? 1 : 0; + var dataLength = step - head - 1; + if (dataLength < 1) { + return null; + } + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * step; + var deviceType = type - 7; + if (type == 0xE) { + deviceType = b[start]; + if (deviceType < 1 || deviceType > 3) { + return null; + } + } + list.push({ + deviceType: deviceType, + data: lansitecHex(b, start + head, start + head + dataLength), + rssi: b[start + step - 1] - 256 + }); + } + return list; +} + +// Badge Tracker DataSheet v5.30. +function lansitecBadgeRawValues(values, b, type) { + if (type == 1 && b.length == 14) { + // 5.1, 14 bytes: Type, SMODE, Power, Config, BLEPRI (2), GNSSPRI (2), Heartbeat, Version (2), CFMMSG, HBCOUNT, Fall. + // BLEEN (Config bit 0) is not decoded: the field table says BLE enable status and that GNSSEN or BLEEN must + // be enabled, but the example (Config 32) has both 0 and calls bit 0 reserved. + values.gnssPositionReportInterval = lansitecUint(b, 6, 2) * 5; + values.heartbeatInterval = b[8] * 30; + // Version 0x0525 is V5.25. + var major = lansitecHex(b, 9, 10); + if (major.charAt(0) == '0') { + major = major.substring(1); + } + values.deviceFirmwareVersion = 'V' + major + '.' + lansitecHex(b, 10, 11); + values.cfmmsg = b[11]; + values.hbcount = b[12]; + // Fall detection threshold, unit 0.5 m, 0 means off. + values.fallDetectionThreshold = b[13] * 0.5; + } else if (type == 2 && b.length >= 6) { + // 5.2: the SNR field is there since firmware 0x0501. The SNREN bit (Type bits 3-0) is not used: the + // datasheet example 20 64 3E 033E 00 60 00 has SNREN 0 and the SNR 8.3 dB. + values.loraSnr = lansitecSnr(b, 3); + // VIBSTATE: moving state 0-9, 0 means no moving, 9 high acceleration. The codec turns only 0 and 1 into text. + values.movingState = b[5] & 0x0F; + } else if (type == 3 && b.length >= 13) { + // 5.3: Flag (Type bits 3-0) 0x1 means GNSS positioning failed. Longitude and latitude are IEEE 754 floats + // (the codec divides the mantissa by 0x7fffff instead of 2^23), time is UTC seconds (the codec adds 8 hours). + if ((b[0] & 0x0F) == 0) { + values.longitude = lansitecFloat(b, 1); + values.latitude = lansitecFloat(b, 5); + values.gnssTime = lansitecUint(b, 9, 4) * 1000; + } + } +} + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.2: VER (Type bits 3-0) 1 means the SNR field is there, 0 means +// it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. +// TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. +function lansitecTemperatureHumidityRawValues(values, b) { + var offset = 3; + if ((b[0] & 0x0F) == 1) { + values.loraSnr = lansitecSnr(b, 3); + offset = 5; + } + if (b.length < offset + 3) { + return; + } + var temperature = (b[offset] & 0x7F) + b[offset + 1] / 100; + if ((b[offset] & 0x80) != 0) { + temperature = -temperature; + } + values.temperature = Math.round(temperature * 100) / 100; + values.humidity = b[offset + 2]; +} + var values = {}; +var attributes = {}; var history = []; if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); - if (Array.isArray(values.history)) { + if (metadata.brandId == 'lansitec' && values.bytes != null) { + // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. + var raw = values.bytes; + values = lansitecValues(raw, metadata.modelId); + if (metadata.data != null) { + lansitecRawValues(values, lansitecBase64ToBytes(metadata.data), metadata.modelId); + } + // Register is sent after join and holds the device settings: they are attributes, not telemetry. + var messageType = raw.type != null ? raw.type : raw['Message type']; + if (messageType == 'Register') { + attributes = values; + values = {}; + } + } else if (Array.isArray(values.history)) { values.history.forEach(function (record) { if (record.timestamp != null) { var ts = record.timestamp * 1000; @@ -26,12 +443,16 @@ if (metadata.brandId != null && metadata.modelId != null) { profile = customProfile; } } +if (Object.keys(attributes).length > 0) { + return { profile: profile, attributes: attributes }; +} if (history.length == 0) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } history.push({ ts: metadata.ts, values: values }); return { profile: profile, telemetry: history }; +// The payload is UTF-8: a codec value can have a unit like ℃. function decodeToJson(payload) { - return JSON.parse(String.fromCharCode.apply(String, payload)); + return JSON.parse(decodeURIComponent(escape(String.fromCharCode.apply(String, payload)))); } diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index ee4314679b..ca1d911e66 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -2,11 +2,428 @@ // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. // Such a device gets the profile -, so all devices of one model share it, // or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. + +// Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units +// ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. +var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; + +var LANSITEC_GATEWAYS = ['compact-bluetooth-gateway', 'indoor-bluetooth-gateway', 'macro-bluetooth-gateway', 'solar-bluetooth-gateway']; + +// Codec key -> datasheet name, per model group. '-' drops the key. +// +// Bluetooth Gateway DataSheet 2.27, 4.4.1 Registration: ADR, Mode (current working LoRaWAN frequency sub-band plan), +// LoRaWAN frequency band, Power (LoRa TX power, dBm), Continuously BLE receiving, DR (LoRaWAN Uplink Data Rate), +// PRI (Position report interval), HB (Heartbeat interval), Bluetooth receiving duration. +// 4.4.2 Heartbeat: RSSI and SNR (LoRa), VER (Firmware version). VOL, SNR and CHGSTAT come from the raw bytes. +// number is the count of reported devices: the beacons list has them. The beacons come from the raw bytes too. +var LANSITEC_GATEWAY_KEYS = { + adr: 'adr', mode: 'mode', LoRaWANband: 'loraWanFrequencyBand', LoRaTxpower: 'loraTxPower', + ContinuousReceive: 'continuousBleReceiving', dr: 'dataRate', pos: 'positionReportInterval', + hb: 'heartbeatInterval', BLEReceivingDuration: 'bluetoothReceivingDuration', + rssi: 'loraRssi', snr: '-', ver: 'deviceFirmwareVersion', vol: '-', chgstate: '-', number: '-' +}; + +// Badge Tracker DataSheet v5.30, 5.1 Registration: ADR, LoRa TX power, DR, GNSSEN (GNSS enable status), +// POSMODE (Positioning report mode), BLEPRI (Bluetooth Position Report Interval). The codec reads it without the +// GNSSPRI field, so heartbeat, version, CFMMSG, HBCOUNT and fall detection come from the raw bytes. +// 5.2 Heartbeat: Battery (percentage), RSSI (LoRa), GNSSSTATE (Status of the GNSS module), CHGSTATE (Status of +// battery charging). SNR and VIBSTATE come from the raw bytes. +// 5.3 GNSS Position: longitude, latitude and time come from the raw bytes. +// 5.4 Beacon: bytes 1-5 are RFU, the codec reads byte 1 as Vibstate. 5.5 Alarm: 0x01 SOS, 0x02 Fall Detection. +var LANSITEC_BADGE_KEYS = { + ADR: 'adr', 'Lora Txpower': 'loraTxPower', DR: 'dataRate', GNSSEN: 'gnssEnabled', + 'Position mode': 'positioningReportMode', 'Position period': 'bluetoothPositionReportInterval', + 'Heartbeat period': '-', 'Firmware version': '-', CFMMSG: '-', HBCOUNT: '-', 'Fall threshold': '-', + 'Battery level': 'batteryLevel', RSSI: 'loraRssi', SNR: '-', 'GPS state': 'gnssState', + 'Move state': '-', 'Charge state': 'chargeState', + Longitude: '-', Latitude: '-', Time: '-', Length: '-', Vibstate: '-', 'Alarm type': 'alarm' +}; + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.1 Register: ADR, MODE (current working scheme), SMODE (data +// scheme supported), POWER (configured transmit power, dBm), DR, REPTIND (report H&T if the value is the same; +// the codec gives "false" for 0 = always report), TH (period of temperature and humidity report), CRC. +// 2.2.2 Periodical temperature and humidity: VER is the version of the message type, not the firmware; +// VOL (battery left, %), RSSI (downlink, detected by the sensor). SNR, temperature and humidity come from the raw bytes. +var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { + adr: 'adr', mode: 'mode', smode: 'smode', LoraTxpower: 'loraTxPower', dr: 'dataRate', repting: 'reptind', + th: 'temperatureHumidityReportPeriod', crc: '-', + ver: '-', vol: 'batteryLevel', rssi: 'loraRssi', snr: '-', temperature: '-', humidity: '-' +}; + +// Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. +// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as +// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported +// devices: the beacons list has them. +var LANSITEC_CLASH_KEYS = { + rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', + firmwareVersion: 'deviceFirmwareVersion', 'Firmware version': 'deviceFirmwareVersion', + type: '-', 'Message type': '-', chgstate: '-', number: '-' +}; + +// Beacon keys: Devicetype1data1, Device1data, dev1major, dev1.major, pos1minor, asset1rssi... +var LANSITEC_BEACON_PREFIXES = ['devicetype1', 'devicetype2', 'devicetype3', 'device', 'dev', 'pos', 'asset']; +var LANSITEC_BEACON_FIELDS = ['data', 'major', 'minor', 'rssi', 'id']; + +function lansitecEndsWith(s, end) { + return s.length >= end.length && s.substring(s.length - end.length) == end; +} + +// Strips the unit. Periods become seconds: the codecs give most of them in seconds, a few in minutes. +function lansitecNumber(v) { + if (typeof v != 'string') { + return v; + } + for (var i = 0; i < LANSITEC_UNITS.length; i++) { + var u = LANSITEC_UNITS[i]; + if (lansitecEndsWith(v, u)) { + var n = v.substring(0, v.length - u.length).trim(); + if (/^-?[0-9]+(\.[0-9]+)?$/.test(n)) { + return u == 'min' ? parseFloat(n) * 60 : parseFloat(n); + } + } + } + return v; +} + +function lansitecLowerStart(part) { + var n = 0; + while (n < part.length && part.charAt(n) != part.charAt(n).toLowerCase()) { + n = n + 1; + } + if (n == part.length) { + return part.toLowerCase(); + } + if (n > 1) { + return part.substring(0, n - 1).toLowerCase() + part.substring(n - 1); + } + return part.substring(0, 1).toLowerCase() + part.substring(1); +} + +function lansitecCamelCase(key) { + var parts = key.split(/[ .]+/); + var result = lansitecLowerStart(parts[0]); + for (var i = 1; i < parts.length; i++) { + var part = lansitecLowerStart(parts[i]); + result = result + part.substring(0, 1).toUpperCase() + part.substring(1); + } + return result; +} + +function lansitecBeaconKey(key) { + var k = key.toLowerCase().replace('.', ''); + for (var i = 0; i < LANSITEC_BEACON_PREFIXES.length; i++) { + var p = LANSITEC_BEACON_PREFIXES[i]; + if (k.indexOf(p) == 0) { + var rest = k.substring(p.length); + for (var j = 0; j < LANSITEC_BEACON_FIELDS.length; j++) { + var f = LANSITEC_BEACON_FIELDS[j]; + if (lansitecEndsWith(rest, f) && /^[0-9]+$/.test(rest.substring(0, rest.length - f.length))) { + return { group: p, index: rest.substring(0, rest.length - f.length), field: f }; + } + if (rest.indexOf(f) == 0 && /^[0-9]+$/.test(rest.substring(f.length))) { + return { group: p, index: rest.substring(f.length), field: f }; + } + } + } + } + return null; +} + +function lansitecKeyTable(model) { + if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { + return LANSITEC_GATEWAY_KEYS; + } + if (model == 'badge-tracker') { + return LANSITEC_BADGE_KEYS; + } + if (model == 'temperature-humidity-sensor') { + return LANSITEC_TEMPERATURE_HUMIDITY_KEYS; + } + return null; +} + +function lansitecValues(raw, model) { + var table = lansitecKeyTable(model); + var values = {}; + var beacons = {}; + Object.keys(raw).forEach(function (key) { + var value = raw[key]; + var b = lansitecBeaconKey(key); + if (b != null) { + var id = b.group + b.index; + if (beacons[id] == null) { + beacons[id] = { order: parseInt(b.index, 10) }; + } + if (b.field == 'rssi') { + beacons[id].rssi = lansitecNumber(value); + } else if (b.field == 'data' || b.field == 'major' || b.field == 'minor') { + beacons[id][b.field] = value; + } + } else if (table == null && key == 'time' && typeof value == 'string') { + // Container tracker and helmet sensor, no datasheet: their codecs add 8 hours to the GNSS time and wrap + // it in quotes, as the badge tracker codec does with the UTC time of DataSheet v5.30, 5.3. + values.gnssTime = new Date(value.replace(/"/g, '')).getTime() - 8 * 60 * 60 * 1000; + } else if (table != null && table.hasOwnProperty(key)) { + if (table[key] != '-') { + values[table[key]] = lansitecNumber(value); + } + } else if (LANSITEC_CLASH_KEYS.hasOwnProperty(key)) { + if (LANSITEC_CLASH_KEYS[key] != '-') { + values[LANSITEC_CLASH_KEYS[key]] = lansitecNumber(value); + } + } else { + values[lansitecCamelCase(key)] = lansitecNumber(value); + } + }); + if (Object.keys(beacons).length > 0) { + values.beacons = lansitecBeaconList(beacons); + } + return values; +} + +function lansitecBeaconList(beacons) { + var list = []; + var ids = Object.keys(beacons); + for (var i = 1; i <= ids.length; i++) { + ids.forEach(function (id) { + var b = beacons[id]; + if (b.order == i) { + var item = {}; + if (b.data != null) { + item.data = b.data; + } + if (b.major != null) { + item.major = b.major; + item.minor = b.minor; + } + item.rssi = b.rssi; + list.push(item); + } + }); + } + // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only + // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways + // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + if (list.length > 1 && list[0].data != null && list[0].data.length != 8) { + return [list[0]]; + } + return list; +} + +// Decoded from the raw bytes by the datasheet where the codec gets it wrong. +function lansitecRawValues(values, b, model) { + var type = (b[0] >> 4) & 0x0F; + if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { + lansitecGatewayRawValues(values, b, model, type); + } else if (model == 'badge-tracker') { + lansitecBadgeRawValues(values, b, type); + } else if (model == 'temperature-humidity-sensor' && type == 2) { + lansitecTemperatureHumidityRawValues(values, b); + } +} + +function lansitecBase64ToBytes(input) { + var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + var bytes = []; + var bits = 0; + var count = 0; + for (var i = 0; i < input.length; i++) { + var c = chars.indexOf(input.charAt(i)); + if (c < 0) { + continue; + } + bits = (bits << 6) | c; + count = count + 6; + if (count >= 8) { + count = count - 8; + bytes.push((bits >> count) & 0xFF); + } + } + return bytes; +} + +function lansitecHex(b, from, to) { + var digits = '0123456789ABCDEF'; + var hex = ''; + for (var i = from; i < to; i++) { + hex = hex + digits.charAt((b[i] >> 4) & 0x0F) + digits.charAt(b[i] & 0x0F); + } + return hex; +} + +function lansitecUint(b, offset, length) { + var v = 0; + for (var i = 0; i < length; i++) { + v = v * 256 + b[offset + i]; + } + return v; +} + +// IEEE 754 single precision, big-endian, rounded to 6 decimals (about 0.1 m) as in the TBEL converter. +function lansitecFloat(b, offset) { + var bits = lansitecUint(b, offset, 4); + var exponent = Math.floor(bits / 8388608) % 256; + var mantissa = bits % 8388608; + var value = exponent == 0 ? mantissa * Math.pow(2, -149) : (1 + mantissa / 8388608) * Math.pow(2, exponent - 127); + value = Math.round(value * 1000000) / 1000000; + return bits >= 2147483648 ? -value : value; +} + +// SNR, unit 0.01 dB, -3000 to 3000: signed. The codecs read it unsigned. +function lansitecSnr(b, offset) { + var v = lansitecUint(b, offset, 2); + if (v > 32767) { + v = v - 65536; + } + return v / 100; +} + +// Bluetooth Gateway DataSheet 2.27. +function lansitecGatewayRawValues(values, b, model, type) { + if (type == 1 && b.length >= 9) { + // 4.4.1: Network reconnection interval, unit 5 minutes. The codec does not decode it. + values.networkReconnectionInterval = b[8] * 300; + } else if (type == 2 && b.length >= 8) { + // 4.4.2: VOL is the battery voltage (VOL x 0.01 + 1.5 V) on the macro gateway and the battery level (%) on + // the others. The codec decides by the value (<= 100 is %), not by the model. + if (model == 'macro-bluetooth-gateway') { + values.batteryVoltage = (b[1] + 150) / 100; + } else { + values.batteryLevel = b[1]; + } + values.loraSnr = lansitecSnr(b, 3); + // CHGSTAT: 0x00 Not charging, 0x50 Charging, 0x60 Charging completed on the compact and solar gateway, + // always 0x00 on the macro and indoor gateway. The codec reads the low half of the byte. + if (model == 'compact-bluetooth-gateway' || model == 'solar-bluetooth-gateway') { + if (b[7] == 0x00) { + values.chargeState = 'Not charging'; + } else if (b[7] == 0x50) { + values.chargeState = 'Charging'; + } else if (b[7] == 0x60) { + values.chargeState = 'Charging completed'; + } + } + } else if (type == 0x8 || type == 0x9 || type == 0xA || type == 0xE) { + delete values.beacons; + var beacons = lansitecGatewayBeacons(b, type); + if (beacons != null) { + values.beacons = beacons; + } + } +} + +// 4.4.4-4.4.6: Device Type 1, 2 and 3 messages: Type (bits 3-0: number of devices), then Data (1-31 bytes) and +// RSSI (value - 256, dBm) of each device. Data length is not in the message: it is set by the device report rule +// of the type (4.4.3), so all devices of one message have the same length. The codec reads every device after +// the first at a 5-byte step. +// 4.4.7: Multi-Device Type message: Device Type ID before the data of each device. The data length can differ per +// type, and the message does not say it: decoded only when all devices fit the same length. +function lansitecGatewayBeacons(b, type) { + var count = b[0] & 0x0F; + if (count == 0 || (b.length - 1) % count != 0) { + return null; + } + var step = (b.length - 1) / count; + var head = type == 0xE ? 1 : 0; + var dataLength = step - head - 1; + if (dataLength < 1) { + return null; + } + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * step; + var deviceType = type - 7; + if (type == 0xE) { + deviceType = b[start]; + if (deviceType < 1 || deviceType > 3) { + return null; + } + } + list.push({ + deviceType: deviceType, + data: lansitecHex(b, start + head, start + head + dataLength), + rssi: b[start + step - 1] - 256 + }); + } + return list; +} + +// Badge Tracker DataSheet v5.30. +function lansitecBadgeRawValues(values, b, type) { + if (type == 1 && b.length == 14) { + // 5.1, 14 bytes: Type, SMODE, Power, Config, BLEPRI (2), GNSSPRI (2), Heartbeat, Version (2), CFMMSG, HBCOUNT, Fall. + // BLEEN (Config bit 0) is not decoded: the field table says BLE enable status and that GNSSEN or BLEEN must + // be enabled, but the example (Config 32) has both 0 and calls bit 0 reserved. + values.gnssPositionReportInterval = lansitecUint(b, 6, 2) * 5; + values.heartbeatInterval = b[8] * 30; + // Version 0x0525 is V5.25. + var major = lansitecHex(b, 9, 10); + if (major.charAt(0) == '0') { + major = major.substring(1); + } + values.deviceFirmwareVersion = 'V' + major + '.' + lansitecHex(b, 10, 11); + values.cfmmsg = b[11]; + values.hbcount = b[12]; + // Fall detection threshold, unit 0.5 m, 0 means off. + values.fallDetectionThreshold = b[13] * 0.5; + } else if (type == 2 && b.length >= 6) { + // 5.2: the SNR field is there since firmware 0x0501. The SNREN bit (Type bits 3-0) is not used: the + // datasheet example 20 64 3E 033E 00 60 00 has SNREN 0 and the SNR 8.3 dB. + values.loraSnr = lansitecSnr(b, 3); + // VIBSTATE: moving state 0-9, 0 means no moving, 9 high acceleration. The codec turns only 0 and 1 into text. + values.movingState = b[5] & 0x0F; + } else if (type == 3 && b.length >= 13) { + // 5.3: Flag (Type bits 3-0) 0x1 means GNSS positioning failed. Longitude and latitude are IEEE 754 floats + // (the codec divides the mantissa by 0x7fffff instead of 2^23), time is UTC seconds (the codec adds 8 hours). + if ((b[0] & 0x0F) == 0) { + values.longitude = lansitecFloat(b, 1); + values.latitude = lansitecFloat(b, 5); + values.gnssTime = lansitecUint(b, 9, 4) * 1000; + } + } +} + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.2: VER (Type bits 3-0) 1 means the SNR field is there, 0 means +// it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. +// TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. +function lansitecTemperatureHumidityRawValues(values, b) { + var offset = 3; + if ((b[0] & 0x0F) == 1) { + values.loraSnr = lansitecSnr(b, 3); + offset = 5; + } + if (b.length < offset + 3) { + return; + } + var temperature = (b[offset] & 0x7F) + b[offset + 1] / 100; + if ((b[offset] & 0x80) != 0) { + temperature = -temperature; + } + values.temperature = Math.round(temperature * 100) / 100; + values.humidity = b[offset + 2]; +} + var values = {}; +var attributes = {}; var history = []; if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); - if (Array.isArray(values.history)) { + if (metadata.brandId == 'lansitec' && values.bytes != null) { + // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. + var raw = values.bytes; + values = lansitecValues(raw, metadata.modelId); + if (metadata.data != null) { + lansitecRawValues(values, lansitecBase64ToBytes(metadata.data), metadata.modelId); + } + // Register is sent after join and holds the device settings: they are attributes, not telemetry. + var messageType = raw.type != null ? raw.type : raw['Message type']; + if (messageType == 'Register') { + attributes = values; + values = {}; + } + } else if (Array.isArray(values.history)) { values.history.forEach(function (record) { if (record.timestamp != null) { var ts = record.timestamp * 1000; @@ -26,12 +443,16 @@ if (metadata.brandId != null && metadata.modelId != null) { profile = customProfile; } } +if (Object.keys(attributes).length > 0) { + return { profile: profile, attributes: attributes }; +} if (history.length == 0) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } history.push({ ts: metadata.ts, values: values }); return { profile: profile, telemetry: history }; +// The payload is UTF-8: a codec value can have a unit like ℃. function decodeToJson(payload) { - return JSON.parse(String.fromCharCode.apply(String, payload)); + return JSON.parse(decodeURIComponent(escape(String.fromCharCode.apply(String, payload)))); } diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 1cfef4546d..2e675de454 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -2,11 +2,384 @@ // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. // Such a device gets the profile -, so all devices of one model share it, // or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. + +// Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units +// ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. +var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; + +var LANSITEC_GATEWAYS = ["compact-bluetooth-gateway", "indoor-bluetooth-gateway", "macro-bluetooth-gateway", "solar-bluetooth-gateway"]; + +// Codec key -> datasheet name, per model group. "-" drops the key. +// +// Bluetooth Gateway DataSheet 2.27, 4.4.1 Registration: ADR, Mode (current working LoRaWAN frequency sub-band plan), +// LoRaWAN frequency band, Power (LoRa TX power, dBm), Continuously BLE receiving, DR (LoRaWAN Uplink Data Rate), +// PRI (Position report interval), HB (Heartbeat interval), Bluetooth receiving duration. +// 4.4.2 Heartbeat: RSSI and SNR (LoRa), VER (Firmware version). VOL, SNR and CHGSTAT come from the raw bytes. +// number is the count of reported devices: the beacons list has them. The beacons come from the raw bytes too. +var LANSITEC_GATEWAY_KEYS = { + adr: "adr", mode: "mode", LoRaWANband: "loraWanFrequencyBand", LoRaTxpower: "loraTxPower", + ContinuousReceive: "continuousBleReceiving", dr: "dataRate", pos: "positionReportInterval", + hb: "heartbeatInterval", BLEReceivingDuration: "bluetoothReceivingDuration", + rssi: "loraRssi", snr: "-", ver: "deviceFirmwareVersion", vol: "-", chgstate: "-", number: "-" +}; + +// Badge Tracker DataSheet v5.30, 5.1 Registration: ADR, LoRa TX power, DR, GNSSEN (GNSS enable status), +// POSMODE (Positioning report mode), BLEPRI (Bluetooth Position Report Interval). The codec reads it without the +// GNSSPRI field, so heartbeat, version, CFMMSG, HBCOUNT and fall detection come from the raw bytes. +// 5.2 Heartbeat: Battery (percentage), RSSI (LoRa), GNSSSTATE (Status of the GNSS module), CHGSTATE (Status of +// battery charging). SNR and VIBSTATE come from the raw bytes. +// 5.3 GNSS Position: longitude, latitude and time come from the raw bytes. +// 5.4 Beacon: bytes 1-5 are RFU, the codec reads byte 1 as Vibstate. 5.5 Alarm: 0x01 SOS, 0x02 Fall Detection. +var LANSITEC_BADGE_KEYS = { + ADR: "adr", "Lora Txpower": "loraTxPower", DR: "dataRate", GNSSEN: "gnssEnabled", + "Position mode": "positioningReportMode", "Position period": "bluetoothPositionReportInterval", + "Heartbeat period": "-", "Firmware version": "-", CFMMSG: "-", HBCOUNT: "-", "Fall threshold": "-", + "Battery level": "batteryLevel", RSSI: "loraRssi", SNR: "-", "GPS state": "gnssState", + "Move state": "-", "Charge state": "chargeState", + Longitude: "-", Latitude: "-", Time: "-", Length: "-", Vibstate: "-", "Alarm type": "alarm" +}; + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.1 Register: ADR, MODE (current working scheme), SMODE (data +// scheme supported), POWER (configured transmit power, dBm), DR, REPTIND (report H&T if the value is the same; +// the codec gives "false" for 0 = always report), TH (period of temperature and humidity report), CRC. +// 2.2.2 Periodical temperature and humidity: VER is the version of the message type, not the firmware; +// VOL (battery left, %), RSSI (downlink, detected by the sensor). SNR, temperature and humidity come from the raw bytes. +var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { + adr: "adr", mode: "mode", smode: "smode", LoraTxpower: "loraTxPower", dr: "dataRate", repting: "reptind", + th: "temperatureHumidityReportPeriod", crc: "-", + ver: "-", vol: "batteryLevel", rssi: "loraRssi", snr: "-", temperature: "-", humidity: "-" +}; + +// Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. +// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as +// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported +// devices: the beacons list has them. +var LANSITEC_CLASH_KEYS = { + rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", + firmwareVersion: "deviceFirmwareVersion", "Firmware version": "deviceFirmwareVersion", + type: "-", "Message type": "-", chgstate: "-", number: "-" +}; + +// Strips the unit. Periods become seconds: the codecs give most of them in seconds, a few in minutes. +function lansitecNumber(v) { + if (!(v instanceof String)) { + return v; + } + foreach (u : LANSITEC_UNITS) { + if (v.endsWith(u)) { + var n = v.substring(0, v.length() - u.length()).trim(); + if (n.matches("-?[0-9]+(\\.[0-9]+)?")) { + return u == "min" ? parseDouble(n) * 60 : parseDouble(n); + } + } + } + return v; +} + +function lansitecLowerStart(part) { + var n = 0; + while (n < part.length() && part.substring(n, n + 1) != part.substring(n, n + 1).toLowerCase()) { + n = n + 1; + } + if (n == part.length()) { + return part.toLowerCase(); + } + if (n > 1) { + return part.substring(0, n - 1).toLowerCase() + part.substring(n - 1); + } + return part.substring(0, 1).toLowerCase() + part.substring(1); +} + +function lansitecCamelCase(key) { + var parts = key.split("[ .]+"); + var result = lansitecLowerStart(parts[0]); + for (var i = 1; i < parts.length; i++) { + var part = lansitecLowerStart(parts[i]); + result = result + part.substring(0, 1).toUpperCase() + part.substring(1); + } + return result; +} + +// Beacon keys: Devicetype1data1, Device1data, dev1major, dev1.major, pos1minor, asset1rssi... +var LANSITEC_BEACON_PREFIXES = ["devicetype1", "devicetype2", "devicetype3", "device", "dev", "pos", "asset"]; +var LANSITEC_BEACON_FIELDS = ["data", "major", "minor", "rssi", "id"]; + +function lansitecBeaconKey(key) { + var k = key.toLowerCase().replace(".", ""); + foreach (p : LANSITEC_BEACON_PREFIXES) { + if (k.startsWith(p)) { + var rest = k.substring(p.length()); + foreach (f : LANSITEC_BEACON_FIELDS) { + if (rest.endsWith(f) && rest.substring(0, rest.length() - f.length()).matches("[0-9]+")) { + return { group: p, index: rest.substring(0, rest.length() - f.length()), field: f }; + } + if (rest.startsWith(f) && rest.substring(f.length()).matches("[0-9]+")) { + return { group: p, index: rest.substring(f.length()), field: f }; + } + } + } + } + return null; +} + +function lansitecKeyTable(model) { + if (LANSITEC_GATEWAYS.contains(model)) { + return LANSITEC_GATEWAY_KEYS; + } + if (model == "badge-tracker") { + return LANSITEC_BADGE_KEYS; + } + if (model == "temperature-humidity-sensor") { + return LANSITEC_TEMPERATURE_HUMIDITY_KEYS; + } + return null; +} + +function lansitecValues(raw, model) { + var table = lansitecKeyTable(model); + var values = {}; + var beacons = {}; + foreach (key : raw.keySet()) { + var value = raw[key]; + var b = lansitecBeaconKey(key); + if (b != null) { + var id = b.group + b.index; + if (beacons[id] == null) { + beacons[id] = { order: parseInt(b.index) }; + } + if (b.field == "rssi") { + beacons[id].rssi = lansitecNumber(value); + } else if (b.field == "data" || b.field == "major" || b.field == "minor") { + beacons[id][b.field] = value; + } + } else if (table == null && key == "time" && value instanceof String) { + // Container tracker and helmet sensor, no datasheet: their codecs add 8 hours to the GNSS time and wrap + // it in quotes, as the badge tracker codec does with the UTC time of DataSheet v5.30, 5.3. + var gnssDate = new Date(value.replace("\"", "")); + values.gnssTime = gnssDate.getTime() - 8 * 60 * 60 * 1000; + } else if (table != null && table.containsKey(key)) { + var tableName = table[key]; + if (tableName != "-") { + values[tableName] = lansitecNumber(value); + } + } else if (LANSITEC_CLASH_KEYS.containsKey(key)) { + var clashName = LANSITEC_CLASH_KEYS[key]; + if (clashName != "-") { + values[clashName] = lansitecNumber(value); + } + } else { + var codecName = lansitecCamelCase(key); + values[codecName] = lansitecNumber(value); + } + } + if (!beacons.isEmpty()) { + values.beacons = lansitecBeaconList(beacons); + } + return values; +} + +function lansitecBeaconList(beacons) { + var list = []; + for (var i = 1; i <= beacons.size(); i++) { + foreach (id : beacons.keySet()) { + var b = beacons[id]; + if (b.order == i) { + var item = {}; + if (b.data != null) { + item.data = b.data; + } + if (b.major != null) { + item.major = b.major; + item.minor = b.minor; + } + item.rssi = b.rssi; + list.add(item); + } + } + } + // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only + // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways + // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + if (list.size() > 1 && list[0].data != null && list[0].data.length() != 8) { + var first = []; + first.add(list[0]); + return first; + } + return list; +} + +// Decoded from the raw bytes by the datasheet where the codec gets it wrong. +function lansitecRawValues(values, b, model) { + var type = (b[0] >> 4) & 0x0F; + if (LANSITEC_GATEWAYS.contains(model)) { + lansitecGatewayRawValues(values, b, model, type); + } else if (model == "badge-tracker") { + lansitecBadgeRawValues(values, b, type); + } else if (model == "temperature-humidity-sensor" && type == 2) { + lansitecTemperatureHumidityRawValues(values, b); + } +} + +// SNR, unit 0.01 dB, -3000 to 3000: signed. The codecs read it unsigned. +function lansitecSnr(b, offset) { + var v = parseBytesToInt(b, offset, 2, true); + if (v > 32767) { + v = v - 65536; + } + return v / 100.0; +} + +// Bluetooth Gateway DataSheet 2.27. +function lansitecGatewayRawValues(values, b, model, type) { + if (type == 1 && b.length >= 9) { + // 4.4.1: Network reconnection interval, unit 5 minutes. The codec does not decode it. + values.networkReconnectionInterval = (b[8] & 0xFF) * 300; + } else if (type == 2 && b.length >= 8) { + // 4.4.2: VOL is the battery voltage (VOL x 0.01 + 1.5 V) on the macro gateway and the battery level (%) on + // the others. The codec decides by the value (<= 100 is %), not by the model. + if (model == "macro-bluetooth-gateway") { + values.batteryVoltage = ((b[1] & 0xFF) + 150) / 100.0; + } else { + values.batteryLevel = b[1] & 0xFF; + } + values.loraSnr = lansitecSnr(b, 3); + // CHGSTAT: 0x00 Not charging, 0x50 Charging, 0x60 Charging completed on the compact and solar gateway, + // always 0x00 on the macro and indoor gateway. The codec reads the low half of the byte. + if (model == "compact-bluetooth-gateway" || model == "solar-bluetooth-gateway") { + var charge = b[7] & 0xFF; + if (charge == 0x00) { + values.chargeState = "Not charging"; + } else if (charge == 0x50) { + values.chargeState = "Charging"; + } else if (charge == 0x60) { + values.chargeState = "Charging completed"; + } + } + } else if (type == 0x8 || type == 0x9 || type == 0xA || type == 0xE) { + values.remove("beacons"); + var beacons = lansitecGatewayBeacons(b, type); + if (beacons != null) { + values.beacons = beacons; + } + } +} + +// 4.4.4-4.4.6: Device Type 1, 2 and 3 messages: Type (bits 3-0: number of devices), then Data (1-31 bytes) and +// RSSI (value - 256, dBm) of each device. Data length is not in the message: it is set by the device report rule +// of the type (4.4.3), so all devices of one message have the same length. The codec reads every device after +// the first at a 5-byte step. +// 4.4.7: Multi-Device Type message: Device Type ID before the data of each device. The data length can differ per +// type, and the message does not say it: decoded only when all devices fit the same length. +function lansitecGatewayBeacons(b, type) { + var count = b[0] & 0x0F; + if (count == 0 || (b.length - 1) % count != 0) { + return null; + } + // TBEL division gives a Double: array indexes need an int. + var step = ((b.length - 1) / count).intValue(); + var head = type == 0xE ? 1 : 0; + var dataLength = step - head - 1; + if (dataLength < 1) { + return null; + } + var hex = bytesToHex(b); + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * step; + var deviceType = type - 7; + if (type == 0xE) { + deviceType = b[start] & 0xFF; + if (deviceType < 1 || deviceType > 3) { + return null; + } + } + var item = {}; + item.deviceType = deviceType; + item.data = hex.substring(2 * (start + head), 2 * (start + head + dataLength)); + item.rssi = (b[start + step - 1] & 0xFF) - 256; + list.add(item); + } + return list; +} + +// Badge Tracker DataSheet v5.30. +function lansitecBadgeRawValues(values, b, type) { + if (type == 1 && b.length == 14) { + // 5.1, 14 bytes: Type, SMODE, Power, Config, BLEPRI (2), GNSSPRI (2), Heartbeat, Version (2), CFMMSG, HBCOUNT, Fall. + // BLEEN (Config bit 0) is not decoded: the field table says BLE enable status and that GNSSEN or BLEEN must + // be enabled, but the example (Config 32) has both 0 and calls bit 0 reserved. + values.gnssPositionReportInterval = parseBytesToInt(b, 6, 2, true) * 5; + values.heartbeatInterval = (b[8] & 0xFF) * 30; + // Version 0x0525 is V5.25. + var version = bytesToHex(b).substring(18, 22); + var major = version.substring(0, 2); + if (major.startsWith("0")) { + major = major.substring(1); + } + values.deviceFirmwareVersion = "V" + major + "." + version.substring(2); + values.cfmmsg = b[11] & 0xFF; + values.hbcount = b[12] & 0xFF; + // Fall detection threshold, unit 0.5 m, 0 means off. + values.fallDetectionThreshold = (b[13] & 0xFF) * 0.5; + } else if (type == 2 && b.length >= 6) { + // 5.2: the SNR field is there since firmware 0x0501. The SNREN bit (Type bits 3-0) is not used: the + // datasheet example 20 64 3E 033E 00 60 00 has SNREN 0 and the SNR 8.3 dB. + values.loraSnr = lansitecSnr(b, 3); + // VIBSTATE: moving state 0-9, 0 means no moving, 9 high acceleration. The codec turns only 0 and 1 into text. + values.movingState = b[5] & 0x0F; + } else if (type == 3 && b.length >= 13) { + // 5.3: Flag (Type bits 3-0) 0x1 means GNSS positioning failed. Longitude and latitude are IEEE 754 floats + // (the codec divides the mantissa by 0x7fffff instead of 2^23), time is UTC seconds (the codec adds 8 hours). + // Rounded to 6 decimals (about 0.1 m), as a double: the float has no more precision. + if ((b[0] & 0x0F) == 0) { + values.longitude = toFixed(parseBytesToFloat(b, 1, 4, true) * 1.0, 6); + values.latitude = toFixed(parseBytesToFloat(b, 5, 4, true) * 1.0, 6); + values.gnssTime = parseBytesToLong(b, 9, 4, true) * 1000; + } + } +} + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.2: VER (Type bits 3-0) 1 means the SNR field is there, 0 means +// it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. +// TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. +function lansitecTemperatureHumidityRawValues(values, b) { + var offset = 3; + if ((b[0] & 0x0F) == 1) { + values.loraSnr = lansitecSnr(b, 3); + offset = 5; + } + if (b.length < offset + 3) { + return; + } + var temperature = (b[offset] & 0x7F) + (b[offset + 1] & 0xFF) / 100.0; + if ((b[offset] & 0x80) != 0) { + temperature = -temperature; + } + values.temperature = toFixed(temperature, 2); + values.humidity = b[offset + 2] & 0xFF; +} + var values = {}; +var attributes = {}; var history = []; if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); - if (values.history instanceof java.util.List) { + if (metadata.brandId == "lansitec" && values.bytes != null) { + // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. + var raw = values.bytes; + values = lansitecValues(raw, metadata.modelId); + if (metadata.data != null) { + lansitecRawValues(values, base64ToBytes(metadata.data), metadata.modelId); + } + // Register is sent after join and holds the device settings: they are attributes, not telemetry. + var messageType = raw.type != null ? raw.type : raw["Message type"]; + if (messageType == "Register") { + attributes = values; + values = {}; + } + } else if (values.history instanceof java.util.List) { foreach (record : values.history) { if (record.timestamp != null) { var ts = record.timestamp * 1000; @@ -26,6 +399,9 @@ if (metadata.brandId != null && metadata.modelId != null) { profile = customProfile; } } +if (!attributes.isEmpty()) { + return { profile: profile, attributes: attributes }; +} if (history.isEmpty()) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 1cfef4546d..2e675de454 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -2,11 +2,384 @@ // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. // Such a device gets the profile -, so all devices of one model share it, // or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. + +// Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units +// ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. +var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; + +var LANSITEC_GATEWAYS = ["compact-bluetooth-gateway", "indoor-bluetooth-gateway", "macro-bluetooth-gateway", "solar-bluetooth-gateway"]; + +// Codec key -> datasheet name, per model group. "-" drops the key. +// +// Bluetooth Gateway DataSheet 2.27, 4.4.1 Registration: ADR, Mode (current working LoRaWAN frequency sub-band plan), +// LoRaWAN frequency band, Power (LoRa TX power, dBm), Continuously BLE receiving, DR (LoRaWAN Uplink Data Rate), +// PRI (Position report interval), HB (Heartbeat interval), Bluetooth receiving duration. +// 4.4.2 Heartbeat: RSSI and SNR (LoRa), VER (Firmware version). VOL, SNR and CHGSTAT come from the raw bytes. +// number is the count of reported devices: the beacons list has them. The beacons come from the raw bytes too. +var LANSITEC_GATEWAY_KEYS = { + adr: "adr", mode: "mode", LoRaWANband: "loraWanFrequencyBand", LoRaTxpower: "loraTxPower", + ContinuousReceive: "continuousBleReceiving", dr: "dataRate", pos: "positionReportInterval", + hb: "heartbeatInterval", BLEReceivingDuration: "bluetoothReceivingDuration", + rssi: "loraRssi", snr: "-", ver: "deviceFirmwareVersion", vol: "-", chgstate: "-", number: "-" +}; + +// Badge Tracker DataSheet v5.30, 5.1 Registration: ADR, LoRa TX power, DR, GNSSEN (GNSS enable status), +// POSMODE (Positioning report mode), BLEPRI (Bluetooth Position Report Interval). The codec reads it without the +// GNSSPRI field, so heartbeat, version, CFMMSG, HBCOUNT and fall detection come from the raw bytes. +// 5.2 Heartbeat: Battery (percentage), RSSI (LoRa), GNSSSTATE (Status of the GNSS module), CHGSTATE (Status of +// battery charging). SNR and VIBSTATE come from the raw bytes. +// 5.3 GNSS Position: longitude, latitude and time come from the raw bytes. +// 5.4 Beacon: bytes 1-5 are RFU, the codec reads byte 1 as Vibstate. 5.5 Alarm: 0x01 SOS, 0x02 Fall Detection. +var LANSITEC_BADGE_KEYS = { + ADR: "adr", "Lora Txpower": "loraTxPower", DR: "dataRate", GNSSEN: "gnssEnabled", + "Position mode": "positioningReportMode", "Position period": "bluetoothPositionReportInterval", + "Heartbeat period": "-", "Firmware version": "-", CFMMSG: "-", HBCOUNT: "-", "Fall threshold": "-", + "Battery level": "batteryLevel", RSSI: "loraRssi", SNR: "-", "GPS state": "gnssState", + "Move state": "-", "Charge state": "chargeState", + Longitude: "-", Latitude: "-", Time: "-", Length: "-", Vibstate: "-", "Alarm type": "alarm" +}; + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.1 Register: ADR, MODE (current working scheme), SMODE (data +// scheme supported), POWER (configured transmit power, dBm), DR, REPTIND (report H&T if the value is the same; +// the codec gives "false" for 0 = always report), TH (period of temperature and humidity report), CRC. +// 2.2.2 Periodical temperature and humidity: VER is the version of the message type, not the firmware; +// VOL (battery left, %), RSSI (downlink, detected by the sensor). SNR, temperature and humidity come from the raw bytes. +var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { + adr: "adr", mode: "mode", smode: "smode", LoraTxpower: "loraTxPower", dr: "dataRate", repting: "reptind", + th: "temperatureHumidityReportPeriod", crc: "-", + ver: "-", vol: "batteryLevel", rssi: "loraRssi", snr: "-", temperature: "-", humidity: "-" +}; + +// Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. +// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as +// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported +// devices: the beacons list has them. +var LANSITEC_CLASH_KEYS = { + rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", + firmwareVersion: "deviceFirmwareVersion", "Firmware version": "deviceFirmwareVersion", + type: "-", "Message type": "-", chgstate: "-", number: "-" +}; + +// Strips the unit. Periods become seconds: the codecs give most of them in seconds, a few in minutes. +function lansitecNumber(v) { + if (!(v instanceof String)) { + return v; + } + foreach (u : LANSITEC_UNITS) { + if (v.endsWith(u)) { + var n = v.substring(0, v.length() - u.length()).trim(); + if (n.matches("-?[0-9]+(\\.[0-9]+)?")) { + return u == "min" ? parseDouble(n) * 60 : parseDouble(n); + } + } + } + return v; +} + +function lansitecLowerStart(part) { + var n = 0; + while (n < part.length() && part.substring(n, n + 1) != part.substring(n, n + 1).toLowerCase()) { + n = n + 1; + } + if (n == part.length()) { + return part.toLowerCase(); + } + if (n > 1) { + return part.substring(0, n - 1).toLowerCase() + part.substring(n - 1); + } + return part.substring(0, 1).toLowerCase() + part.substring(1); +} + +function lansitecCamelCase(key) { + var parts = key.split("[ .]+"); + var result = lansitecLowerStart(parts[0]); + for (var i = 1; i < parts.length; i++) { + var part = lansitecLowerStart(parts[i]); + result = result + part.substring(0, 1).toUpperCase() + part.substring(1); + } + return result; +} + +// Beacon keys: Devicetype1data1, Device1data, dev1major, dev1.major, pos1minor, asset1rssi... +var LANSITEC_BEACON_PREFIXES = ["devicetype1", "devicetype2", "devicetype3", "device", "dev", "pos", "asset"]; +var LANSITEC_BEACON_FIELDS = ["data", "major", "minor", "rssi", "id"]; + +function lansitecBeaconKey(key) { + var k = key.toLowerCase().replace(".", ""); + foreach (p : LANSITEC_BEACON_PREFIXES) { + if (k.startsWith(p)) { + var rest = k.substring(p.length()); + foreach (f : LANSITEC_BEACON_FIELDS) { + if (rest.endsWith(f) && rest.substring(0, rest.length() - f.length()).matches("[0-9]+")) { + return { group: p, index: rest.substring(0, rest.length() - f.length()), field: f }; + } + if (rest.startsWith(f) && rest.substring(f.length()).matches("[0-9]+")) { + return { group: p, index: rest.substring(f.length()), field: f }; + } + } + } + } + return null; +} + +function lansitecKeyTable(model) { + if (LANSITEC_GATEWAYS.contains(model)) { + return LANSITEC_GATEWAY_KEYS; + } + if (model == "badge-tracker") { + return LANSITEC_BADGE_KEYS; + } + if (model == "temperature-humidity-sensor") { + return LANSITEC_TEMPERATURE_HUMIDITY_KEYS; + } + return null; +} + +function lansitecValues(raw, model) { + var table = lansitecKeyTable(model); + var values = {}; + var beacons = {}; + foreach (key : raw.keySet()) { + var value = raw[key]; + var b = lansitecBeaconKey(key); + if (b != null) { + var id = b.group + b.index; + if (beacons[id] == null) { + beacons[id] = { order: parseInt(b.index) }; + } + if (b.field == "rssi") { + beacons[id].rssi = lansitecNumber(value); + } else if (b.field == "data" || b.field == "major" || b.field == "minor") { + beacons[id][b.field] = value; + } + } else if (table == null && key == "time" && value instanceof String) { + // Container tracker and helmet sensor, no datasheet: their codecs add 8 hours to the GNSS time and wrap + // it in quotes, as the badge tracker codec does with the UTC time of DataSheet v5.30, 5.3. + var gnssDate = new Date(value.replace("\"", "")); + values.gnssTime = gnssDate.getTime() - 8 * 60 * 60 * 1000; + } else if (table != null && table.containsKey(key)) { + var tableName = table[key]; + if (tableName != "-") { + values[tableName] = lansitecNumber(value); + } + } else if (LANSITEC_CLASH_KEYS.containsKey(key)) { + var clashName = LANSITEC_CLASH_KEYS[key]; + if (clashName != "-") { + values[clashName] = lansitecNumber(value); + } + } else { + var codecName = lansitecCamelCase(key); + values[codecName] = lansitecNumber(value); + } + } + if (!beacons.isEmpty()) { + values.beacons = lansitecBeaconList(beacons); + } + return values; +} + +function lansitecBeaconList(beacons) { + var list = []; + for (var i = 1; i <= beacons.size(); i++) { + foreach (id : beacons.keySet()) { + var b = beacons[id]; + if (b.order == i) { + var item = {}; + if (b.data != null) { + item.data = b.data; + } + if (b.major != null) { + item.major = b.major; + item.minor = b.minor; + } + item.rssi = b.rssi; + list.add(item); + } + } + } + // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only + // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways + // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + if (list.size() > 1 && list[0].data != null && list[0].data.length() != 8) { + var first = []; + first.add(list[0]); + return first; + } + return list; +} + +// Decoded from the raw bytes by the datasheet where the codec gets it wrong. +function lansitecRawValues(values, b, model) { + var type = (b[0] >> 4) & 0x0F; + if (LANSITEC_GATEWAYS.contains(model)) { + lansitecGatewayRawValues(values, b, model, type); + } else if (model == "badge-tracker") { + lansitecBadgeRawValues(values, b, type); + } else if (model == "temperature-humidity-sensor" && type == 2) { + lansitecTemperatureHumidityRawValues(values, b); + } +} + +// SNR, unit 0.01 dB, -3000 to 3000: signed. The codecs read it unsigned. +function lansitecSnr(b, offset) { + var v = parseBytesToInt(b, offset, 2, true); + if (v > 32767) { + v = v - 65536; + } + return v / 100.0; +} + +// Bluetooth Gateway DataSheet 2.27. +function lansitecGatewayRawValues(values, b, model, type) { + if (type == 1 && b.length >= 9) { + // 4.4.1: Network reconnection interval, unit 5 minutes. The codec does not decode it. + values.networkReconnectionInterval = (b[8] & 0xFF) * 300; + } else if (type == 2 && b.length >= 8) { + // 4.4.2: VOL is the battery voltage (VOL x 0.01 + 1.5 V) on the macro gateway and the battery level (%) on + // the others. The codec decides by the value (<= 100 is %), not by the model. + if (model == "macro-bluetooth-gateway") { + values.batteryVoltage = ((b[1] & 0xFF) + 150) / 100.0; + } else { + values.batteryLevel = b[1] & 0xFF; + } + values.loraSnr = lansitecSnr(b, 3); + // CHGSTAT: 0x00 Not charging, 0x50 Charging, 0x60 Charging completed on the compact and solar gateway, + // always 0x00 on the macro and indoor gateway. The codec reads the low half of the byte. + if (model == "compact-bluetooth-gateway" || model == "solar-bluetooth-gateway") { + var charge = b[7] & 0xFF; + if (charge == 0x00) { + values.chargeState = "Not charging"; + } else if (charge == 0x50) { + values.chargeState = "Charging"; + } else if (charge == 0x60) { + values.chargeState = "Charging completed"; + } + } + } else if (type == 0x8 || type == 0x9 || type == 0xA || type == 0xE) { + values.remove("beacons"); + var beacons = lansitecGatewayBeacons(b, type); + if (beacons != null) { + values.beacons = beacons; + } + } +} + +// 4.4.4-4.4.6: Device Type 1, 2 and 3 messages: Type (bits 3-0: number of devices), then Data (1-31 bytes) and +// RSSI (value - 256, dBm) of each device. Data length is not in the message: it is set by the device report rule +// of the type (4.4.3), so all devices of one message have the same length. The codec reads every device after +// the first at a 5-byte step. +// 4.4.7: Multi-Device Type message: Device Type ID before the data of each device. The data length can differ per +// type, and the message does not say it: decoded only when all devices fit the same length. +function lansitecGatewayBeacons(b, type) { + var count = b[0] & 0x0F; + if (count == 0 || (b.length - 1) % count != 0) { + return null; + } + // TBEL division gives a Double: array indexes need an int. + var step = ((b.length - 1) / count).intValue(); + var head = type == 0xE ? 1 : 0; + var dataLength = step - head - 1; + if (dataLength < 1) { + return null; + } + var hex = bytesToHex(b); + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * step; + var deviceType = type - 7; + if (type == 0xE) { + deviceType = b[start] & 0xFF; + if (deviceType < 1 || deviceType > 3) { + return null; + } + } + var item = {}; + item.deviceType = deviceType; + item.data = hex.substring(2 * (start + head), 2 * (start + head + dataLength)); + item.rssi = (b[start + step - 1] & 0xFF) - 256; + list.add(item); + } + return list; +} + +// Badge Tracker DataSheet v5.30. +function lansitecBadgeRawValues(values, b, type) { + if (type == 1 && b.length == 14) { + // 5.1, 14 bytes: Type, SMODE, Power, Config, BLEPRI (2), GNSSPRI (2), Heartbeat, Version (2), CFMMSG, HBCOUNT, Fall. + // BLEEN (Config bit 0) is not decoded: the field table says BLE enable status and that GNSSEN or BLEEN must + // be enabled, but the example (Config 32) has both 0 and calls bit 0 reserved. + values.gnssPositionReportInterval = parseBytesToInt(b, 6, 2, true) * 5; + values.heartbeatInterval = (b[8] & 0xFF) * 30; + // Version 0x0525 is V5.25. + var version = bytesToHex(b).substring(18, 22); + var major = version.substring(0, 2); + if (major.startsWith("0")) { + major = major.substring(1); + } + values.deviceFirmwareVersion = "V" + major + "." + version.substring(2); + values.cfmmsg = b[11] & 0xFF; + values.hbcount = b[12] & 0xFF; + // Fall detection threshold, unit 0.5 m, 0 means off. + values.fallDetectionThreshold = (b[13] & 0xFF) * 0.5; + } else if (type == 2 && b.length >= 6) { + // 5.2: the SNR field is there since firmware 0x0501. The SNREN bit (Type bits 3-0) is not used: the + // datasheet example 20 64 3E 033E 00 60 00 has SNREN 0 and the SNR 8.3 dB. + values.loraSnr = lansitecSnr(b, 3); + // VIBSTATE: moving state 0-9, 0 means no moving, 9 high acceleration. The codec turns only 0 and 1 into text. + values.movingState = b[5] & 0x0F; + } else if (type == 3 && b.length >= 13) { + // 5.3: Flag (Type bits 3-0) 0x1 means GNSS positioning failed. Longitude and latitude are IEEE 754 floats + // (the codec divides the mantissa by 0x7fffff instead of 2^23), time is UTC seconds (the codec adds 8 hours). + // Rounded to 6 decimals (about 0.1 m), as a double: the float has no more precision. + if ((b[0] & 0x0F) == 0) { + values.longitude = toFixed(parseBytesToFloat(b, 1, 4, true) * 1.0, 6); + values.latitude = toFixed(parseBytesToFloat(b, 5, 4, true) * 1.0, 6); + values.gnssTime = parseBytesToLong(b, 9, 4, true) * 1000; + } + } +} + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.2: VER (Type bits 3-0) 1 means the SNR field is there, 0 means +// it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. +// TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. +function lansitecTemperatureHumidityRawValues(values, b) { + var offset = 3; + if ((b[0] & 0x0F) == 1) { + values.loraSnr = lansitecSnr(b, 3); + offset = 5; + } + if (b.length < offset + 3) { + return; + } + var temperature = (b[offset] & 0x7F) + (b[offset + 1] & 0xFF) / 100.0; + if ((b[offset] & 0x80) != 0) { + temperature = -temperature; + } + values.temperature = toFixed(temperature, 2); + values.humidity = b[offset + 2] & 0xFF; +} + var values = {}; +var attributes = {}; var history = []; if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); - if (values.history instanceof java.util.List) { + if (metadata.brandId == "lansitec" && values.bytes != null) { + // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. + var raw = values.bytes; + values = lansitecValues(raw, metadata.modelId); + if (metadata.data != null) { + lansitecRawValues(values, base64ToBytes(metadata.data), metadata.modelId); + } + // Register is sent after join and holds the device settings: they are attributes, not telemetry. + var messageType = raw.type != null ? raw.type : raw["Message type"]; + if (messageType == "Register") { + attributes = values; + values = {}; + } + } else if (values.history instanceof java.util.List) { foreach (record : values.history) { if (record.timestamp != null) { var ts = record.timestamp * 1000; @@ -26,6 +399,9 @@ if (metadata.brandId != null && metadata.modelId != null) { profile = customProfile; } } +if (!attributes.isEmpty()) { + return { profile: profile, attributes: attributes }; +} if (history.isEmpty()) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } From e57c5167f9fd6af225664e07490e93920060a226 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 12:38:43 +0200 Subject: [PATCH 401/559] fix(iot-hub): the JS default TTN/TTI converter takes the payload as UTF-8 bytes or as characters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nashorn passes the payload as characters, so decoding it again as UTF-8 failed on a unit like ℃ and the uplink was lost. Tested with simulated TTN uplinks of the Lansitec datasheet examples, TBEL and JS give the same values. --- ui-ngx/src/assets/converters/js-tti-decoder.raw | 10 ++++++++-- ui-ngx/src/assets/converters/js-ttn-decoder.raw | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index ca1d911e66..cc7223254c 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -452,7 +452,13 @@ if (history.length == 0) { history.push({ ts: metadata.ts, values: values }); return { profile: profile, telemetry: history }; -// The payload is UTF-8: a codec value can have a unit like ℃. +// A codec value can have a unit like ℃. Where the payload comes as UTF-8 bytes, they are decoded; where it already +// comes as characters, the decoding fails and the text is taken as it is. function decodeToJson(payload) { - return JSON.parse(decodeURIComponent(escape(String.fromCharCode.apply(String, payload)))); + var text = String.fromCharCode.apply(String, payload); + try { + text = decodeURIComponent(escape(text)); + } catch (e) { + } + return JSON.parse(text); } diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index ca1d911e66..cc7223254c 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -452,7 +452,13 @@ if (history.length == 0) { history.push({ ts: metadata.ts, values: values }); return { profile: profile, telemetry: history }; -// The payload is UTF-8: a codec value can have a unit like ℃. +// A codec value can have a unit like ℃. Where the payload comes as UTF-8 bytes, they are decoded; where it already +// comes as characters, the decoding fails and the text is taken as it is. function decodeToJson(payload) { - return JSON.parse(decodeURIComponent(escape(String.fromCharCode.apply(String, payload)))); + var text = String.fromCharCode.apply(String, payload); + try { + text = decodeURIComponent(escape(text)); + } catch (e) { + } + return JSON.parse(text); } From b26409cae1cc133555b3afed6e684106e8e97b4d Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 13:50:06 +0200 Subject: [PATCH 402/559] test(iot-hub): the default TTN/TTI converters decode Lansitec devices, on 20 uplinks The Things Stack sent (TBEL and JS, TTN and TTI) --- .../controller/ConverterControllerTest.java | 66 + .../things_stack_lansitec_uplinks.json | 1444 +++++++++++++++++ 2 files changed, 1510 insertions(+) create mode 100644 application/src/test/resources/payload/things_stack_lansitec_uplinks.json diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 023397bf0b..317508490f 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -4,6 +4,7 @@ package org.thingsboard.server.controller; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml.jackson.databind.node.TextNode; import com.google.common.collect.Streams; @@ -40,6 +41,7 @@ import org.thingsboard.server.exception.DataValidationException; import java.io.IOException; import java.io.InputStream; +import java.math.RoundingMode; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Base64; @@ -98,6 +100,7 @@ public class ConverterControllerTest extends AbstractControllerTest { private static final String DEFAULT_V2_CONFIGURATION = "converters/default-converters-v2-configuration.json"; private static final String THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD = "payload/things_stack_repository_device_payload.json"; private static final String THINGS_STACK_MANUAL_DEVICE_PAYLOAD = "payload/things_stack_manual_device_payload.json"; + private static final String THINGS_STACK_LANSITEC_UPLINKS = "payload/things_stack_lansitec_uplinks.json"; @Before public void beforeTest() throws Exception { @@ -732,6 +735,69 @@ public class ConverterControllerTest extends AbstractControllerTest { } } + // Uplinks of Lansitec devices registered from the LoRaWAN Device Repository, as The Things Stack sent them + // (Simulate uplink), and the keys the default converters decode from them. The keys the integration adds to + // every uplink (rssi, fCnt...) are not listed. TBEL gives integers as doubles, so numbers are compared by value. + private static final Set THINGS_STACK_UPLINK_KEYS = Set.of("fCnt", "data", "rssi", "snr", "channel", "consumedAirtime"); + + @Test + public void testThingsStackDefaultConvertersDecodeLansitecDevices() throws IOException { + JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); + JsonNode cases = JacksonUtil.toJsonNode(readResource(THINGS_STACK_LANSITEC_UPLINKS)); + for (IntegrationType integrationType : List.of(IntegrationType.TTN, IntegrationType.TTI)) { + Converter converter = createConverter(defaultConfigurations.get(integrationType.name()), integrationType, 2); + for (ScriptLanguage scriptLang : ScriptLanguage.values()) { + String decoderFileName = "converters/" + scriptLang.name().toLowerCase() + "-" + integrationType.name().toLowerCase() + "-decoder.raw"; + for (JsonNode testCase : cases) { + String description = integrationType + " " + scriptLang + " " + testCase.get("name").asText(); + JsonNode result = JacksonUtil.toJsonNode(decode(decoderFileName, testCase.get("uplink").toString(), converter, scriptLang, Map.of())); + JsonNode decoded = testCase.get("decoded"); + assertThat(result.get("profile")).as(description).isEqualTo(decoded.get("profile")); + + JsonNode telemetry = result.get("telemetry"); + if (telemetry != null && telemetry.isArray()) { + telemetry = telemetry.get(telemetry.size() - 1); + } + JsonNode telemetryValues = telemetry != null && telemetry.has("values") ? telemetry.get("values") : JacksonUtil.newObjectNode(); + ObjectNode lansitecTelemetry = JacksonUtil.newObjectNode(); + telemetryValues.fields().forEachRemaining(e -> { + if (!THINGS_STACK_UPLINK_KEYS.contains(e.getKey())) { + lansitecTelemetry.set(e.getKey(), e.getValue()); + } + }); + assertThat(numbersByValue(lansitecTelemetry)).as(description + " telemetry") + .isEqualTo(numbersByValue(decoded.has("telemetry") ? decoded.get("telemetry") : JacksonUtil.newObjectNode())); + + if (decoded.has("attributes")) { + ObjectNode attributes = JacksonUtil.newObjectNode(); + decoded.get("attributes").fieldNames().forEachRemaining(key -> attributes.set(key, result.get("attributes").get(key))); + assertThat(numbersByValue(attributes)).as(description + " attributes").isEqualTo(numbersByValue(decoded.get("attributes"))); + } + } + } + } + } + + private static JsonNode numbersByValue(JsonNode node) { + if (node == null) { + return null; + } + if (node.isNumber()) { + return JacksonUtil.toJsonNode(node.decimalValue().setScale(6, RoundingMode.HALF_UP).stripTrailingZeros().toPlainString()); + } + if (node.isObject()) { + ObjectNode copy = JacksonUtil.newObjectNode(); + node.fields().forEachRemaining(e -> copy.set(e.getKey(), numbersByValue(e.getValue()))); + return copy; + } + if (node.isArray()) { + ArrayNode copy = JacksonUtil.newArrayNode(); + node.forEach(item -> copy.add(numbersByValue(item))); + return copy; + } + return node; + } + private String readResource(String name) throws IOException { return new String(IOUtils.toByteArray(ConverterControllerTest.class.getClassLoader().getResourceAsStream(name)), StandardCharsets.UTF_8); } diff --git a/application/src/test/resources/payload/things_stack_lansitec_uplinks.json b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json new file mode 100644 index 0000000000..5b1aefd85f --- /dev/null +++ b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json @@ -0,0 +1,1444 @@ +[ + { + "name": "gw Registration 4.4.1", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DWZKQC3A6CWMNE64WPEVRC", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:96427a37-7461-40d0-94f4-6e3ea7f275e5" + ], + "received_at": "2026-11-02T10:30:49.835523566Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "FiCgMAA8eAsG", + "decoded_payload": { + "bytes": { + "BLEReceivingDuration": "11sec", + "ContinuousReceive": "Continuous Bluetooth receiving is disabled", + "LoRaTxpower": "20dBm", + "LoRaWANband": "EU868", + "adr": "OFF", + "dr": "DR3", + "hb": "3600sec", + "mode": "EU868", + "pos": "300sec", + "type": "Register" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "attributes": { + "bluetoothReceivingDuration": 11.0, + "continuousBleReceiving": "Continuous Bluetooth receiving is disabled", + "loraTxPower": 20.0, + "loraWanFrequencyBand": "EU868", + "adr": "OFF", + "dataRate": "DR3", + "heartbeatInterval": 3600.0, + "mode": "EU868", + "positionReportInterval": 300.0, + "networkReconnectionInterval": 1800 + } + } + }, + { + "name": "gw Heartbeat 4.4.2 macro", + "uplink": { + "end_device_ids": { + "device_id": "lt-macro-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0002", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DWZT8XP0N2W84G07Q2MMCH", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:1af83ff0-c875-48b0-b388-dc2e2742ef61" + ], + "received_at": "2026-11-02T10:30:56.540968417Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "Ics+Az4AbAA=", + "decoded_payload": { + "bytes": { + "chgstate": "Not charging", + "rssi": "-62dBm", + "snr": "8.3dB", + "type": "Heartbeat", + "ver": "VER108", + "vol": "3.5300000000000002V" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "macro-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.10", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-macro-bluetooth-gateway", + "telemetry": { + "loraRssi": -62.0, + "deviceFirmwareVersion": "VER108", + "batteryVoltage": 3.53, + "loraSnr": 8.3 + } + } + }, + { + "name": "gw Heartbeat CHGSTAT 0x50 (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX00PFS05VHZX420SK9SRW", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:4a7e0719-1b7b-4322-b00f-9619d3c1988b" + ], + "received_at": "2026-11-02T10:31:03.118765152Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+Az4AbFA=", + "decoded_payload": { + "bytes": { + "chgstate": "Not charging", + "rssi": "-62dBm", + "snr": "8.3dB", + "type": "Heartbeat", + "ver": "VER108", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": { + "loraRssi": -62.0, + "deviceFirmwareVersion": "VER108", + "batteryLevel": 100, + "loraSnr": 8.3, + "chargeState": "Charging" + } + } + }, + { + "name": "gw Heartbeat CHGSTAT 0x60, SNR -5.00 (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-solar-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0003", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX074N1N81HG0PPEWKCC4W", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:08bbcae0-1d84-49ae-af6c-384da48f8212" + ], + "received_at": "2026-11-02T10:31:09.716547098Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+/gwAbGA=", + "decoded_payload": { + "bytes": { + "chgstate": "Not charging", + "rssi": "-62dBm", + "snr": "650.36dB", + "type": "Heartbeat", + "ver": "VER108", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "solar-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.10", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-solar-bluetooth-gateway", + "telemetry": { + "loraRssi": -62.0, + "deviceFirmwareVersion": "VER108", + "batteryLevel": 100, + "loraSnr": -5.0, + "chargeState": "Charging completed" + } + } + }, + { + "name": "gw Device Type 1 4.4.4 ex1", + "uplink": { + "end_device_ids": { + "device_id": "lt-indoor-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0001", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX0DHGSWGSMJN6M8JJQM4Q", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:3ff688da-df1b-4138-ac08-7d4e01ce8695" + ], + "received_at": "2026-11-02T10:31:16.271874839Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "gwYaTAACFaq7swYaTAACFaq8tAYaTAACFaq9tQ==", + "decoded_payload": { + "bytes": { + "Devicetype1data1": "061A4C000215AABB", + "Devicetype1data2": "15AABBB3061A4C00", + "Devicetype1data3": "1A4C000215AABCB4", + "Devicetype1rssi1": "-77dBm", + "Devicetype1rssi2": "-76dBm", + "Devicetype1rssi3": "-75dBm", + "number": 3, + "type": "Device Type 1 Message" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "indoor-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-indoor-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "deviceType": 1, + "data": "061A4C000215AABB", + "rssi": -77 + }, + { + "deviceType": 1, + "data": "061A4C000215AABC", + "rssi": -76 + }, + { + "deviceType": 1, + "data": "061A4C000215AABD", + "rssi": -75 + } + ] + } + } + }, + { + "name": "gw Device Type 1 4.4.4 ex2", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX0KYNGRQ053WBK9XC1SP2", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:d999fd28-8d4f-401c-9b7f-95c694d99f72" + ], + "received_at": "2026-11-02T10:31:22.835827277Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "gmSCFpgmU0wCFaq8tGSCFpgmVAYaFaq9tQ==", + "decoded_payload": { + "bytes": { + "Devicetype1data1": "6482169826534C0215AABC", + "Devicetype1data2": "534C0215AABCB464821698", + "Devicetype1rssi1": "-76dBm", + "Devicetype1rssi2": "-75dBm", + "number": 2, + "type": "Device Type 1 Message" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "deviceType": 1, + "data": "6482169826534C0215AABC", + "rssi": -76 + }, + { + "deviceType": 1, + "data": "648216982654061A15AABD", + "rssi": -75 + } + ] + } + } + }, + { + "name": "gw Device Type 2 4.4.5 ex2", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX0TBEF65ED7NRWQ4YFTRQ", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:7f4ac774-4027-4962-a213-e526da66fd38" + ], + "received_at": "2026-11-02T10:31:29.389983893Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "kpgmU0FNLTEwMDAxs5gmVEFNLTEwMDAytA==", + "decoded_payload": { + "bytes": { + "Devicetype2data1": "982653414D2D3130303031", + "Devicetype2data2": "2D3130303031B398265441", + "Devicetype2rssi1": "-77dBm", + "Devicetype2rssi2": "-76dBm", + "number": 2, + "type": "Device Type 2 Message" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "deviceType": 2, + "data": "982653414D2D3130303031", + "rssi": -77 + }, + { + "deviceType": 2, + "data": "982654414D2D3130303032", + "rssi": -76 + } + ] + } + } + }, + { + "name": "gw Device Type 3 4.4.6 ex1", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX10R67RVM4X2QAMR9C8JG", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:68655884-9942-4270-9536-700ee6b20dcf" + ], + "received_at": "2026-11-02T10:31:35.941440062Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "ogAQAwrCABADC8Q=", + "decoded_payload": { + "bytes": { + "Devicetype3data1": "0010030A", + "Devicetype3data2": "0010030B", + "Devicetype3rssi1": "-62dBm", + "Devicetype3rssi2": "-60dBm", + "number": 2, + "type": "Device Type 3 Message" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "deviceType": 3, + "data": "0010030A", + "rssi": -62 + }, + { + "deviceType": 3, + "data": "0010030B", + "rssi": -60 + } + ] + } + } + }, + { + "name": "gw Multi 4.4.7 (mixed lengths)", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX174RG6ZG5ZKAHAZTRVG9", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:1aff5046-26ee-42eb-9dfb-d58dafa63116" + ], + "received_at": "2026-11-02T10:31:42.487961636Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "4wEGGkwAAhWqu7MDQU0tMTAwMDGxAgAQAwvF", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": {} + } + }, + { + "name": "badge Registration 5.1", + "uplink": { + "end_device_ids": { + "device_id": "lt-badge-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0007", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX1DGR31039JQYY9Y2XQ8V", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:224ac913-2b83-4efa-8b16-93b3f4fe7a16" + ], + "received_at": "2026-11-02T10:31:49.014979356Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "EACgMgA8AWh4BSUCBQQ=", + "decoded_payload": { + "bytes": { + "ADR": "OFF", + "CFMMSG": "1 Confirmed every 5 Heartbeat", + "DR": "DR3", + "Fall threshold": "1 meter", + "Firmware version": "V68.78", + "GNSSEN": "Disable", + "HBCOUNT": "Disconnect Judgement 37", + "Heartbeat period": "30sec", + "Lora Txpower": "20dBm", + "Message type": "Register", + "Position mode": "Autonomous", + "Position period": "300sec" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "badge-tracker", + "hardware_version": "1.0", + "firmware_version": "5.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-badge-tracker", + "attributes": { + "adr": "OFF", + "dataRate": "DR3", + "gnssEnabled": "Disable", + "loraTxPower": 20.0, + "positioningReportMode": "Autonomous", + "bluetoothPositionReportInterval": 300.0, + "gnssPositionReportInterval": 1800, + "heartbeatInterval": 3600, + "deviceFirmwareVersion": "V5.25", + "cfmmsg": 2, + "hbcount": 5, + "fallDetectionThreshold": 2.0 + } + } + }, + { + "name": "badge Heartbeat 5.2", + "uplink": { + "end_device_ids": { + "device_id": "lt-badge-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0007", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX1KWZBE1ANRSZWHFSKQ89", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:29eb6310-c010-4972-897c-d743a41f1d8d" + ], + "received_at": "2026-11-02T10:31:55.550797518Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IGQ+Az4AYAA=", + "decoded_payload": { + "bytes": { + "Battery level": "100%", + "Charge state": "Charge complete", + "GPS state": "GPS OFF", + "Message type": "Heartbeat", + "Move state": "No Move", + "RSSI": "-62dBm", + "SNR": "8.3dB" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "badge-tracker", + "hardware_version": "1.0", + "firmware_version": "5.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-badge-tracker", + "telemetry": { + "batteryLevel": 100.0, + "chargeState": "Charge complete", + "gnssState": "GPS OFF", + "loraRssi": -62.0, + "loraSnr": 8.3, + "movingState": 0 + } + } + }, + { + "name": "badge GNSS 5.3", + "uplink": { + "end_device_ids": { + "device_id": "lt-badge-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0007", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX1T9GTJ0BFJRK0D53EHQA", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:bd62cb24-c5cb-4732-a997-c5b6af5a2e47" + ], + "received_at": "2026-11-02T10:32:02.096017163Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "MELtisRB/84uZXLoqA==", + "decoded_payload": { + "bytes": { + "Latitude": 31.975675579986046, + "Longitude": 118.77103314054408, + "Message type": "GNSSPosition", + "Time": "\"2023-12-08T17:58:00.000Z\"" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "badge-tracker", + "hardware_version": "1.0", + "firmware_version": "5.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-badge-tracker", + "telemetry": { + "longitude": 118.771027, + "latitude": 31.975674, + "gnssTime": 1702029480000 + } + } + }, + { + "name": "badge GNSS flag failed (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-badge-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0007", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX20NZAK3HTDSA9K12Z4Z6", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:b498fb1f-8894-4ba9-b17c-07c7d0f4018f" + ], + "received_at": "2026-11-02T10:32:08.639160535Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "MULtisRB/84uZXLoqA==", + "decoded_payload": { + "bytes": { + "Latitude": 31.975675579986046, + "Longitude": 118.77103314054408, + "Message type": "GNSSPosition", + "Time": "\"2023-12-08T17:58:00.000Z\"" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "badge-tracker", + "hardware_version": "1.0", + "firmware_version": "5.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-badge-tracker", + "telemetry": {} + } + }, + { + "name": "temp-hum VER1 -5.00 dB, -12.34 C, 56 % (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-temperature-humidity-sensor", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A000A", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX2756RP8VNV5W4TED20QV", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:2f27538b-a738-43f7-b251-82e5b814d2f2" + ], + "received_at": "2026-11-02T10:32:15.269594659Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+/gyMIjgSNA==", + "decoded_payload": { + "bytes": { + "crc": 4660, + "humidity": "56%", + "rssi": "-62dBm", + "snr": 650.36, + "temperature": "-12.34℃", + "type": "Heartbeat", + "ver": 1, + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "temperature-humidity-sensor", + "hardware_version": "1.0", + "firmware_version": "1.01", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-temperature-humidity-sensor", + "telemetry": { + "loraRssi": -62.0, + "batteryLevel": 100.0, + "loraSnr": -5.0, + "temperature": -12.34, + "humidity": 56 + } + } + }, + { + "name": "temp-hum VER0 21.05 C, 40 % (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-temperature-humidity-sensor", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A000A", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX2DHP1PVMSN9XXTFX6G9E", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:d92a9e40-19fc-4d8a-bbed-db57a3285281" + ], + "received_at": "2026-11-02T10:32:21.813476822Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IGQ+FQUoEjQ=", + "decoded_payload": { + "bytes": { + "crc": 0, + "humidity": "52%", + "rssi": "-62dBm", + "snr": 53.81, + "temperature": "40.18℃", + "type": "Heartbeat", + "ver": 0, + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "temperature-humidity-sensor", + "hardware_version": "1.0", + "firmware_version": "1.01", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-temperature-humidity-sensor", + "telemetry": { + "loraRssi": -62.0, + "batteryLevel": 100.0, + "temperature": 21.05, + "humidity": 40 + } + } + }, + { + "name": "container Heartbeat (built from the codec)", + "uplink": { + "end_device_ids": { + "device_id": "lt-container-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0008", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX2KYHR69G9SQHNPG7VJ0N", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:e36b265c-edf1-4c2b-8162-4e475b776185" + ], + "received_at": "2026-11-02T10:32:28.369063597Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "Ics+Az4yABkADA==", + "decoded_payload": { + "bytes": { + "gpsstate": "located", + "movement": "60sec", + "rssi": "-62dBm", + "snr": "8.3dB", + "snrinc": "SNR field included ", + "temperature": "25℃", + "type": "Heartbeat", + "vibstate": "2level", + "vol": "3.5300000000000002V" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "container-tracker", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-container-tracker", + "telemetry": { + "gpsstate": "located", + "movement": 60.0, + "loraRssi": -62.0, + "loraSnr": 8.3, + "snrinc": "SNR field included ", + "temperature": 25.0, + "vibstate": 2.0, + "vol": 3.5300000000000002 + } + } + }, + { + "name": "container GNSS (badge 5.3 bytes)", + "uplink": { + "end_device_ids": { + "device_id": "lt-container-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0008", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX2TBAJT5T5EE3615Y9MAW", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:b64cce74-6708-4423-aa37-eca108e9f585" + ], + "received_at": "2026-11-02T10:32:34.922307414Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "MELtisRB/84uZXLoqA==", + "decoded_payload": { + "bytes": { + "latitude": 31.975675579986046, + "longitude": 118.77103314054408, + "time": "\"2023-12-08T17:58:00.000Z\"", + "type": "GNSSPosition" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "container-tracker", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-container-tracker", + "telemetry": { + "latitude": 31.975675579986046, + "longitude": 118.77103314054408, + "gnssTime": 1702029480000 + } + } + }, + { + "name": "helmet Heartbeat (built from the codec)", + "uplink": { + "end_device_ids": { + "device_id": "lt-helmet-sensor", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0009", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX30QBDSZ7MN6T27M5X0A3", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:177c9fb1-a5aa-40a5-a324-ace0f58979b7" + ], + "received_at": "2026-11-02T10:32:41.450805906Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+Az4BAQIEIA==", + "decoded_payload": { + "bytes": { + "batteryPercentage": "100%", + "bleState": 1, + "chargeTime": "60s", + "gpsState": 1, + "moveState": "2 Move", + "rssi": "-62dBm", + "snr": "8.3dB", + "type": "Heartbeat", + "wearTime": "120s" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "helmet-sensor", + "hardware_version": "1.0", + "firmware_version": "0.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-helmet-sensor", + "telemetry": { + "batteryPercentage": 100.0, + "bleState": 1, + "chargeTime": 60.0, + "gpsState": 1, + "moveState": "2 Move", + "loraRssi": -62.0, + "loraSnr": 8.3, + "wearTime": 120.0 + } + } + }, + { + "name": "helmet GNSS (built from the codec)", + "uplink": { + "end_device_ids": { + "device_id": "lt-helmet-sensor", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0009", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX373VN3K38B2H5WR86Z6H", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:ed54ebed-8df4-46eb-a656-5769e3c37be8" + ], + "received_at": "2026-11-02T10:32:47.994303232Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "MQABhqBC7YrEQf/OLmVy6Kg=", + "decoded_payload": { + "bytes": { + "gpsState": "gps location success", + "latitude": 31.975675579986046, + "longitude": 118.77103314054408, + "pressure": 100000, + "time": "\"2023-12-08T17:58:00.000Z\"", + "type": "GNSSPosition", + "wearState": "wear" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "helmet-sensor", + "hardware_version": "1.0", + "firmware_version": "0.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-helmet-sensor", + "telemetry": { + "gpsState": "gps location success", + "latitude": 31.975675579986046, + "longitude": 118.77103314054408, + "pressure": 100000, + "gnssTime": 1702029480000, + "wearState": "wear" + } + } + }, + { + "name": "socketsync Heartbeat 0x50", + "uplink": { + "end_device_ids": { + "device_id": "lt-socket-sync-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0004", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX3DFWNQE3WSG9JNFTAG7B", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:ec26c3c1-e861-4d65-b6e7-1206e538a5c7" + ], + "received_at": "2026-11-02T10:32:54.523762899Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+Az4AbFA=", + "decoded_payload": { + "bytes": { + "chgstate": "Not charging", + "rssi": "-62dBm", + "snr": "8.3dB", + "type": "Heartbeat", + "ver": "VER108", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "socket-sync-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-socket-sync-bluetooth-gateway", + "telemetry": { + "loraRssi": -62.0, + "loraSnr": 8.3, + "ver": "VER108", + "vol": 100.0 + } + } + } +] From 846c022d9d6c6967839509fa7ac60d6c105623b4 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 14:04:13 +0200 Subject: [PATCH 403/559] fix(iot-hub): a Lansitec frame too short for its message or bytes that are not an object no longer drop the uplink; the Lansitec test also checks the attributes --- .../controller/ConverterControllerTest.java | 103 +++++++++++++----- .../src/assets/converters/js-tti-decoder.raw | 14 ++- .../src/assets/converters/js-ttn-decoder.raw | 14 ++- .../assets/converters/tbel-tti-decoder.raw | 14 ++- .../assets/converters/tbel-ttn-decoder.raw | 14 ++- 5 files changed, 108 insertions(+), 51 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 317508490f..56a9237097 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -737,47 +737,96 @@ public class ConverterControllerTest extends AbstractControllerTest { // Uplinks of Lansitec devices registered from the LoRaWAN Device Repository, as The Things Stack sent them // (Simulate uplink), and the keys the default converters decode from them. The keys the integration adds to - // every uplink (rssi, fCnt...) are not listed. TBEL gives integers as doubles, so numbers are compared by value. + // every uplink (rssi, fCnt, eui...) are not listed. TBEL gives integers as doubles, so numbers are compared by value. private static final Set THINGS_STACK_UPLINK_KEYS = Set.of("fCnt", "data", "rssi", "snr", "channel", "consumedAirtime"); + private static final Set THINGS_STACK_ATTRIBUTE_KEYS = Set.of("eui", "joinEui", "devAddr", "deviceId", "applicationId", "fPort", + "bandwidth", "spreadingFactor", "codeRate", "frequency", "brandId", "modelId", "hardwareVersion", "firmwareVersion", "bandId", + "netId", "tenantId", "clusterId", "clusterAddress"); @Test public void testThingsStackDefaultConvertersDecodeLansitecDevices() throws IOException { - JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); JsonNode cases = JacksonUtil.toJsonNode(readResource(THINGS_STACK_LANSITEC_UPLINKS)); + forEachThingsStackDefaultConverter((description, decoder) -> { + for (JsonNode testCase : cases) { + String caseDescription = description + " " + testCase.get("name").asText(); + JsonNode result = decoder.apply(testCase.get("uplink")); + JsonNode decoded = testCase.get("decoded"); + assertThat(result.get("profile")).as(caseDescription).isEqualTo(decoded.get("profile")); + assertThat(numbersByValue(withoutKeys(telemetryValues(result), THINGS_STACK_UPLINK_KEYS))).as(caseDescription + " telemetry") + .isEqualTo(numbersByValue(decoded.has("telemetry") ? decoded.get("telemetry") : JacksonUtil.newObjectNode())); + assertThat(numbersByValue(withoutKeys(result.get("attributes"), THINGS_STACK_ATTRIBUTE_KEYS))).as(caseDescription + " attributes") + .isEqualTo(numbersByValue(decoded.has("attributes") ? decoded.get("attributes") : JacksonUtil.newObjectNode())); + } + }); + } + + // A frame too short for its message type, and bytes that are not an object: the uplink is still converted + @Test + public void testThingsStackDefaultConvertersKeepMalformedLansitecUplinks() throws IOException { + JsonNode temperatureHumidity = null; + for (JsonNode testCase : JacksonUtil.toJsonNode(readResource(THINGS_STACK_LANSITEC_UPLINKS))) { + if (testCase.get("name").asText().startsWith("temp-hum VER1")) { + temperatureHumidity = testCase.get("uplink"); + } + } + ObjectNode shortFrame = temperatureHumidity.deepCopy(); + ((ObjectNode) shortFrame.get("uplink_message")).put("frm_payload", "IQ=="); + ObjectNode bytesList = temperatureHumidity.deepCopy(); + ((ObjectNode) bytesList.get("uplink_message").get("decoded_payload")).set("bytes", JacksonUtil.toJsonNode("[33, 100]")); + + forEachThingsStackDefaultConverter((description, decoder) -> { + JsonNode result = decoder.apply(shortFrame); + assertThat(result.get("profile").asText()).as(description + " short frame").isEqualTo("lansitec-temperature-humidity-sensor"); + assertThat(telemetryValues(result).has("loraSnr")).as(description + " short frame").isFalse(); + + result = decoder.apply(bytesList); + assertThat(result.get("profile").asText()).as(description + " bytes list").isEqualTo("lansitec-temperature-humidity-sensor"); + assertThat(numbersByValue(telemetryValues(result).get("bytes"))).as(description + " bytes list") + .isEqualTo(numbersByValue(JacksonUtil.toJsonNode("[33, 100]"))); + }); + } + + private interface ThingsStackDecoderCheck { + void check(String description, java.util.function.Function decoder) throws IOException; + } + + private void forEachThingsStackDefaultConverter(ThingsStackDecoderCheck check) throws IOException { + JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); for (IntegrationType integrationType : List.of(IntegrationType.TTN, IntegrationType.TTI)) { Converter converter = createConverter(defaultConfigurations.get(integrationType.name()), integrationType, 2); for (ScriptLanguage scriptLang : ScriptLanguage.values()) { String decoderFileName = "converters/" + scriptLang.name().toLowerCase() + "-" + integrationType.name().toLowerCase() + "-decoder.raw"; - for (JsonNode testCase : cases) { - String description = integrationType + " " + scriptLang + " " + testCase.get("name").asText(); - JsonNode result = JacksonUtil.toJsonNode(decode(decoderFileName, testCase.get("uplink").toString(), converter, scriptLang, Map.of())); - JsonNode decoded = testCase.get("decoded"); - assertThat(result.get("profile")).as(description).isEqualTo(decoded.get("profile")); - - JsonNode telemetry = result.get("telemetry"); - if (telemetry != null && telemetry.isArray()) { - telemetry = telemetry.get(telemetry.size() - 1); - } - JsonNode telemetryValues = telemetry != null && telemetry.has("values") ? telemetry.get("values") : JacksonUtil.newObjectNode(); - ObjectNode lansitecTelemetry = JacksonUtil.newObjectNode(); - telemetryValues.fields().forEachRemaining(e -> { - if (!THINGS_STACK_UPLINK_KEYS.contains(e.getKey())) { - lansitecTelemetry.set(e.getKey(), e.getValue()); - } - }); - assertThat(numbersByValue(lansitecTelemetry)).as(description + " telemetry") - .isEqualTo(numbersByValue(decoded.has("telemetry") ? decoded.get("telemetry") : JacksonUtil.newObjectNode())); - - if (decoded.has("attributes")) { - ObjectNode attributes = JacksonUtil.newObjectNode(); - decoded.get("attributes").fieldNames().forEachRemaining(key -> attributes.set(key, result.get("attributes").get(key))); - assertThat(numbersByValue(attributes)).as(description + " attributes").isEqualTo(numbersByValue(decoded.get("attributes"))); + check.check(integrationType + " " + scriptLang, uplink -> { + try { + return JacksonUtil.toJsonNode(decode(decoderFileName, uplink.toString(), converter, scriptLang, Map.of())); + } catch (IOException e) { + throw new RuntimeException(e); } - } + }); } } } + private static JsonNode telemetryValues(JsonNode result) { + JsonNode telemetry = result.get("telemetry"); + if (telemetry != null && telemetry.isArray()) { + telemetry = telemetry.get(telemetry.size() - 1); + } + return telemetry != null && telemetry.has("values") ? telemetry.get("values") : JacksonUtil.newObjectNode(); + } + + private static ObjectNode withoutKeys(JsonNode node, Set keys) { + ObjectNode copy = JacksonUtil.newObjectNode(); + if (node != null) { + node.fields().forEachRemaining(e -> { + if (!keys.contains(e.getKey())) { + copy.set(e.getKey(), e.getValue()); + } + }); + } + return copy; + } + private static JsonNode numbersByValue(JsonNode node) { if (node == null) { return null; diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index cc7223254c..e3257d7c4b 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -214,6 +214,9 @@ function lansitecBeaconList(beacons) { // Decoded from the raw bytes by the datasheet where the codec gets it wrong. function lansitecRawValues(values, b, model) { + if (b.length == 0) { + return; + } var type = (b[0] >> 4) & 0x0F; if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { lansitecGatewayRawValues(values, b, model, type); @@ -389,14 +392,13 @@ function lansitecBadgeRawValues(values, b, type) { // it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. // TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. function lansitecTemperatureHumidityRawValues(values, b) { - var offset = 3; - if ((b[0] & 0x0F) == 1) { - values.loraSnr = lansitecSnr(b, 3); - offset = 5; - } + var offset = (b[0] & 0x0F) == 1 ? 5 : 3; if (b.length < offset + 3) { return; } + if (offset == 5) { + values.loraSnr = lansitecSnr(b, 3); + } var temperature = (b[offset] & 0x7F) + b[offset + 1] / 100; if ((b[offset] & 0x80) != 0) { temperature = -temperature; @@ -410,7 +412,7 @@ var attributes = {}; var history = []; if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); - if (metadata.brandId == 'lansitec' && values.bytes != null) { + if (metadata.brandId == 'lansitec' && values.bytes != null && typeof values.bytes === 'object' && !Array.isArray(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. var raw = values.bytes; values = lansitecValues(raw, metadata.modelId); diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index cc7223254c..e3257d7c4b 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -214,6 +214,9 @@ function lansitecBeaconList(beacons) { // Decoded from the raw bytes by the datasheet where the codec gets it wrong. function lansitecRawValues(values, b, model) { + if (b.length == 0) { + return; + } var type = (b[0] >> 4) & 0x0F; if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { lansitecGatewayRawValues(values, b, model, type); @@ -389,14 +392,13 @@ function lansitecBadgeRawValues(values, b, type) { // it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. // TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. function lansitecTemperatureHumidityRawValues(values, b) { - var offset = 3; - if ((b[0] & 0x0F) == 1) { - values.loraSnr = lansitecSnr(b, 3); - offset = 5; - } + var offset = (b[0] & 0x0F) == 1 ? 5 : 3; if (b.length < offset + 3) { return; } + if (offset == 5) { + values.loraSnr = lansitecSnr(b, 3); + } var temperature = (b[offset] & 0x7F) + b[offset + 1] / 100; if ((b[offset] & 0x80) != 0) { temperature = -temperature; @@ -410,7 +412,7 @@ var attributes = {}; var history = []; if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); - if (metadata.brandId == 'lansitec' && values.bytes != null) { + if (metadata.brandId == 'lansitec' && values.bytes != null && typeof values.bytes === 'object' && !Array.isArray(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. var raw = values.bytes; values = lansitecValues(raw, metadata.modelId); diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 2e675de454..6052f41f4a 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -212,6 +212,9 @@ function lansitecBeaconList(beacons) { // Decoded from the raw bytes by the datasheet where the codec gets it wrong. function lansitecRawValues(values, b, model) { + if (b.length == 0) { + return; + } var type = (b[0] >> 4) & 0x0F; if (LANSITEC_GATEWAYS.contains(model)) { lansitecGatewayRawValues(values, b, model, type); @@ -345,14 +348,13 @@ function lansitecBadgeRawValues(values, b, type) { // it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. // TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. function lansitecTemperatureHumidityRawValues(values, b) { - var offset = 3; - if ((b[0] & 0x0F) == 1) { - values.loraSnr = lansitecSnr(b, 3); - offset = 5; - } + var offset = (b[0] & 0x0F) == 1 ? 5 : 3; if (b.length < offset + 3) { return; } + if (offset == 5) { + values.loraSnr = lansitecSnr(b, 3); + } var temperature = (b[offset] & 0x7F) + (b[offset + 1] & 0xFF) / 100.0; if ((b[offset] & 0x80) != 0) { temperature = -temperature; @@ -366,7 +368,7 @@ var attributes = {}; var history = []; if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); - if (metadata.brandId == "lansitec" && values.bytes != null) { + if (metadata.brandId == "lansitec" && isMap(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. var raw = values.bytes; values = lansitecValues(raw, metadata.modelId); diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 2e675de454..6052f41f4a 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -212,6 +212,9 @@ function lansitecBeaconList(beacons) { // Decoded from the raw bytes by the datasheet where the codec gets it wrong. function lansitecRawValues(values, b, model) { + if (b.length == 0) { + return; + } var type = (b[0] >> 4) & 0x0F; if (LANSITEC_GATEWAYS.contains(model)) { lansitecGatewayRawValues(values, b, model, type); @@ -345,14 +348,13 @@ function lansitecBadgeRawValues(values, b, type) { // it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. // TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. function lansitecTemperatureHumidityRawValues(values, b) { - var offset = 3; - if ((b[0] & 0x0F) == 1) { - values.loraSnr = lansitecSnr(b, 3); - offset = 5; - } + var offset = (b[0] & 0x0F) == 1 ? 5 : 3; if (b.length < offset + 3) { return; } + if (offset == 5) { + values.loraSnr = lansitecSnr(b, 3); + } var temperature = (b[offset] & 0x7F) + (b[offset + 1] & 0xFF) / 100.0; if ((b[offset] & 0x80) != 0) { temperature = -temperature; @@ -366,7 +368,7 @@ var attributes = {}; var history = []; if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); - if (metadata.brandId == "lansitec" && values.bytes != null) { + if (metadata.brandId == "lansitec" && isMap(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. var raw = values.bytes; values = lansitecValues(raw, metadata.modelId); From 6cfe0e0bf4288af0bcce60558c909c9b9cdb41f2 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Mon, 2 Nov 2026 15:21:51 +0200 Subject: [PATCH 404/559] Typed LoRaWAN uplink converters keep string identifiers as strings Values that the network server sends as JSON strings and that the typed converter adds from the unwrapped event (devAddr, eui, joinEui, netId, hardwareVersion, ...) skip the numeric type cast, so devAddr "01020304" stays "01020304". Numbers from the event (fCnt, rssi, snr, ...) and the decoder output are cast as before. JsonConverter gets convertToTelemetryProto/convertToAttributesProto overloads with a set of no-cast keys; the existing methods do not change. PROD-9057 Co-Authored-By: Claude --- .../AbstractUplinkDataConverter.java | 2 +- .../api/converter/DedicatedConverterUtil.java | 30 ++++-- .../DedicatedScriptUplinkDataConverter.java | 7 +- .../api/converter/DedicatedUplinkData.java | 6 ++ ...edicatedScriptUplinkDataConverterTest.java | 100 ++++++++++++++++++ .../server/common/adaptor/JsonConverter.java | 50 +++++---- .../common/adaptor/JsonConverterTest.java | 40 +++++++ 7 files changed, 206 insertions(+), 29 deletions(-) diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/AbstractUplinkDataConverter.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/AbstractUplinkDataConverter.java index 599c431468..b0f981f181 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/AbstractUplinkDataConverter.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/AbstractUplinkDataConverter.java @@ -54,7 +54,7 @@ public abstract class AbstractUplinkDataConverter extends AbstractDataConverter protected final Map> currentUpdateOnlyTelemetryPerEntity = new ConcurrentHashMap<>(); protected final Map> currentUpdateOnlyAttributesPerEntity = new ConcurrentHashMap<>(); - private ConverterUnwrapper converterUnwrapper; + protected ConverterUnwrapper converterUnwrapper; public AbstractUplinkDataConverter(JsInvokeService jsInvokeService, TbelInvokeService tbelInvokeService, LogSettingsComponent logSettings) { super(jsInvokeService, tbelInvokeService, logSettings); diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java index 0d270db56d..ae3ccf23c3 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java @@ -11,7 +11,9 @@ import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.util.CollectionsUtil; +import java.util.Collections; import java.util.HashMap; +import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.function.Function; @@ -31,14 +33,21 @@ public final class DedicatedConverterUtil { } public static DedicatedUplinkData parseUplinkData(DedicatedConverterConfig config, JsonObject src, UplinkMetaData metadata) { + return parseUplinkData(config, src, metadata, Collections.emptySet()); + } + + // String values of unwrapperKeys skip the type cast, so devAddr "01020304" stays a string. + public static DedicatedUplinkData parseUplinkData(DedicatedConverterConfig config, JsonObject src, UplinkMetaData metadata, Set unwrapperKeys) { Map kvMap = new HashMap<>(metadata.getKvMap()); + Set telemetryNoCastKeys = new HashSet<>(); + Set attributesNoCastKeys = new HashSet<>(); JsonElement telemetry; if (src.has(TELEMETRY)) { telemetry = src.get(TELEMETRY); if (telemetry.isJsonArray()) { - JsonObject telemetryFromMetadata = addKvs(new JsonObject(), kvMap, config.getTelemetry()); + JsonObject telemetryFromMetadata = addKvs(new JsonObject(), kvMap, config.getTelemetry(), unwrapperKeys, telemetryNoCastKeys); if (!telemetryFromMetadata.isEmpty()) { telemetry.getAsJsonArray().add(telemetryFromMetadata); } @@ -46,13 +55,13 @@ public final class DedicatedConverterUtil { var obj = telemetry.getAsJsonObject(); if (obj.has(VALUES)) { var values = obj.get(VALUES).getAsJsonObject(); - addKvs(values, kvMap, config.getTelemetry()); + addKvs(values, kvMap, config.getTelemetry(), unwrapperKeys, telemetryNoCastKeys); } else { - addKvs(obj, kvMap, config.getTelemetry()); + addKvs(obj, kvMap, config.getTelemetry(), unwrapperKeys, telemetryNoCastKeys); } } } else { - telemetry = addKvs(new JsonObject(), kvMap, config.getTelemetry()); + telemetry = addKvs(new JsonObject(), kvMap, config.getTelemetry(), unwrapperKeys, telemetryNoCastKeys); } JsonObject attributes; @@ -62,7 +71,7 @@ public final class DedicatedConverterUtil { attributes = new JsonObject(); } - addKvs(attributes, kvMap, config.getAttributes()); + addKvs(attributes, kvMap, config.getAttributes(), unwrapperKeys, attributesNoCastKeys); EntityType entityType = getProperty(src, "type", EntityType::valueOf, config::getType); String entityName = getProperty(src, "name", () -> processTemplate(config.getName(), kvMap)); @@ -83,6 +92,8 @@ public final class DedicatedConverterUtil { .group(group) .telemetry(telemetry) .attributes(attributes) + .telemetryNoCastKeys(telemetryNoCastKeys) + .attributesNoCastKeys(attributesNoCastKeys) .build(); } @@ -101,11 +112,16 @@ public final class DedicatedConverterUtil { return defaultValue.get(); } - private static JsonObject addKvs(JsonObject kvsObj, Map kvMap, Set keys) { + private static JsonObject addKvs(JsonObject kvsObj, Map kvMap, Set keys, Set unwrapperKeys, Set noCastKeys) { if (CollectionsUtil.isNotEmpty(keys) && !kvMap.isEmpty()) { kvMap.entrySet().stream() .filter(e -> keys.contains(e.getKey()) && !kvsObj.has(e.getKey())) - .forEach(e -> kvsObj.add(e.getKey(), GSON.toJsonTree(e.getValue()))); + .forEach(e -> { + kvsObj.add(e.getKey(), GSON.toJsonTree(e.getValue())); + if (e.getValue() instanceof String && unwrapperKeys.contains(e.getKey())) { + noCastKeys.add(e.getKey()); + } + }); } return kvsObj; } diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverter.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverter.java index 8098512b21..7f99ff891f 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverter.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverter.java @@ -11,6 +11,7 @@ import org.thingsboard.integration.api.util.LogSettingsComponent; import org.thingsboard.script.api.ScriptInvokeService; import org.thingsboard.script.api.js.JsInvokeService; import org.thingsboard.script.api.tbel.TbelInvokeService; +import org.thingsboard.server.common.adaptor.JsonConverter; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.converter.Converter; import org.thingsboard.server.common.data.script.ScriptLanguage; @@ -58,7 +59,7 @@ public class DedicatedScriptUplinkDataConverter extends AbstractUplinkDataConver @Override protected UplinkData parseUplinkData(JsonObject src, UplinkMetaData metadata) { - DedicatedUplinkData uplinkData = DedicatedConverterUtil.parseUplinkData(config, src, metadata); + DedicatedUplinkData uplinkData = DedicatedConverterUtil.parseUplinkData(config, src, metadata, converterUnwrapper.getKeys()); boolean isAsset = uplinkData.getEntityType() == EntityType.ASSET; @@ -95,13 +96,13 @@ public class DedicatedScriptUplinkDataConverter extends AbstractUplinkDataConver Map currentOnValueTelemetryUpdate = this.currentUpdateOnlyTelemetryPerEntity.getOrDefault(name, new ConcurrentHashMap<>()); Map currentOnValueAttributesUpdate = this.currentUpdateOnlyAttributesPerEntity.getOrDefault(name, new ConcurrentHashMap<>()); - TransportProtos.PostTelemetryMsg parsedTelemetry = parseTelemetry(uplinkData.getTelemetryJson()); + TransportProtos.PostTelemetryMsg parsedTelemetry = JsonConverter.convertToTelemetryProto(uplinkData.getTelemetryJson(), uplinkData.getTelemetryNoCastKeys()); if (!this.updateOnlyKeys.isEmpty()) { parsedTelemetry = filterTelemetryOnKeyValueUpdateAndUpdateMap(parsedTelemetry, currentOnValueTelemetryUpdate); } builder.telemetry(parsedTelemetry); - TransportProtos.PostAttributeMsg parsedAttributes = parseAttributesUpdate(uplinkData.getAttributesJson()); + TransportProtos.PostAttributeMsg parsedAttributes = JsonConverter.convertToAttributesProto(uplinkData.getAttributesJson(), uplinkData.getAttributesNoCastKeys()); if (!this.updateOnlyKeys.isEmpty()) { parsedAttributes = filterAttributeOnKeyValueUpdateAndUpdateMap(parsedAttributes, currentOnValueAttributesUpdate); } diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedUplinkData.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedUplinkData.java index be46b58539..f0fe325bc6 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedUplinkData.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedUplinkData.java @@ -10,6 +10,8 @@ import lombok.Builder; import lombok.Data; import org.thingsboard.server.common.data.EntityType; +import java.util.Set; + @Builder @Data @JsonInclude(JsonInclude.Include.NON_NULL) @@ -22,6 +24,10 @@ public class DedicatedUplinkData { private final String group; private final JsonElement telemetry; private final JsonElement attributes; + @JsonIgnore + private final Set telemetryNoCastKeys; + @JsonIgnore + private final Set attributesNoCastKeys; @JsonRawValue public String getTelemetry() { diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java index 155b9ac6c8..60a41cae3b 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java @@ -2,33 +2,102 @@ // SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.integration.api.converter; +import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.ValueSource; import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.integration.api.converter.wrapper.ConverterUnwrapper; +import org.thingsboard.integration.api.converter.wrapper.ThingsStackConverterUnwrapper; import org.thingsboard.integration.api.data.ContentType; import org.thingsboard.integration.api.data.UplinkData; import org.thingsboard.integration.api.data.UplinkMetaData; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.gen.transport.TransportProtos; +import java.nio.file.Files; +import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; +import java.util.stream.Collectors; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; +import static org.thingsboard.server.gen.transport.TransportProtos.KeyValueType.DOUBLE_V; +import static org.thingsboard.server.gen.transport.TransportProtos.KeyValueType.LONG_V; +import static org.thingsboard.server.gen.transport.TransportProtos.KeyValueType.STRING_V; public class DedicatedScriptUplinkDataConverterTest { private DedicatedScriptUplinkDataConverter uplinkDataConverter; + private final ConverterUnwrapper thingsStackUnwrapper = new ThingsStackConverterUnwrapper(); @BeforeEach public void startup() { uplinkDataConverter = new DedicatedScriptUplinkDataConverter(any(), any(), any()); + ReflectionTestUtils.setField(uplinkDataConverter, "converterUnwrapper", thingsStackUnwrapper); + } + + @ParameterizedTest + @ValueSource(strings = {"01020304", "01a44d4c"}) + public void parseUplinkDataKeepsStringIdentifiersInAttributesTest(String devAddr) throws Exception { + setConfig(Set.of("devAddr", "eui", "fCnt", "rssi", "snr"), null); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(new JsonObject(), unwrapThingsStack(devAddr)); + + Map attributes = toMap(uplink.getAttributesUpdate().getKvList()); + assertKv(attributes.get("devAddr"), STRING_V, devAddr); + assertKv(attributes.get("eui"), STRING_V, "1000000000000001"); + assertKv(attributes.get("fCnt"), LONG_V, 101L); + assertKv(attributes.get("rssi"), LONG_V, -22L); + assertKv(attributes.get("snr"), DOUBLE_V, 11.0); + } + + @ParameterizedTest + @ValueSource(strings = {"01020304", "01a44d4c"}) + public void parseUplinkDataKeepsStringIdentifiersInTelemetryTest(String devAddr) throws Exception { + setConfig(Set.of("eui"), Set.of("devAddr", "fCnt", "rssi", "snr")); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(new JsonObject(), unwrapThingsStack(devAddr)); + + Map telemetry = toMap(uplink.getTelemetry().getTsKvList(0).getKvList()); + assertKv(telemetry.get("devAddr"), STRING_V, devAddr); + assertKv(telemetry.get("fCnt"), LONG_V, 101L); + assertKv(telemetry.get("rssi"), LONG_V, -22L); + assertKv(telemetry.get("snr"), DOUBLE_V, 11.0); + assertKv(toMap(uplink.getAttributesUpdate().getKvList()).get("eui"), STRING_V, "1000000000000001"); + } + + @Test + public void parseUplinkDataKeepsNumericIdentifierAsNumberTest() throws Exception { + setConfig(Set.of("devAddr"), null); + + ObjectNode payload = JacksonUtil.fromString(readPayloadFromFile("ThingsStackPayload.json"), ObjectNode.class); + UplinkMetaData unwrapped = thingsStackUnwrapper.unwrap(JacksonUtil.writeValueAsBytes(payload), new UplinkMetaData<>(ContentType.JSON, Map.of())).getSecond(); + UplinkData uplink = uplinkDataConverter.parseUplinkData(new JsonObject(), unwrapped); + + assertKv(toMap(uplink.getAttributesUpdate().getKvList()).get("devAddr"), LONG_V, 27000020L); + } + + @Test + public void parseUplinkDataCastsDecoderOutputTest() throws Exception { + setConfig(Set.of("devAddr"), null); + + JsonObject attributes = new JsonObject(); + attributes.addProperty("devAddr", "01020304"); + JsonObject uplinkJson = new JsonObject(); + uplinkJson.add("attributes", attributes); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(uplinkJson, unwrapThingsStack("05060708")); + + assertKv(toMap(uplink.getAttributesUpdate().getKvList()).get("devAddr"), LONG_V, 1020304L); } @Test @@ -206,6 +275,37 @@ public class DedicatedScriptUplinkDataConverterTest { assertEquals("BE7A123456789", uplink.getDeviceLabel()); } + private void setConfig(Set attributes, Set telemetry) { + DedicatedConverterConfig config = new DedicatedConverterConfig(); + config.setType(EntityType.DEVICE); + config.setName("Device $eui"); + config.setAttributes(attributes); + config.setTelemetry(telemetry); + ReflectionTestUtils.setField(uplinkDataConverter, "config", config); + } + + private UplinkMetaData unwrapThingsStack(String devAddr) throws Exception { + ObjectNode payload = JacksonUtil.fromString(readPayloadFromFile("ThingsStackPayload.json"), ObjectNode.class); + ObjectNode endDeviceIds = (ObjectNode) payload.get("end_device_ids"); + endDeviceIds.put("dev_addr", devAddr); + endDeviceIds.put("dev_eui", "1000000000000001"); + return thingsStackUnwrapper.unwrap(JacksonUtil.writeValueAsBytes(payload), new UplinkMetaData<>(ContentType.JSON, Map.of())).getSecond(); + } + + private Map toMap(List kvList) { + return kvList.stream().collect(Collectors.toMap(TransportProtos.KeyValueProto::getKey, kv -> kv)); + } + + private void assertKv(TransportProtos.KeyValueProto kv, TransportProtos.KeyValueType type, Object value) { + assertEquals(type, kv.getType()); + assertEquals(value, getValue(kv)); + } + + private String readPayloadFromFile(String fileName) throws Exception { + var uri = this.getClass().getClassLoader().getResource(fileName).toURI(); + return Files.readString(Path.of(uri)); + } + private Object getValue(TransportProtos.KeyValueProto kv) { return switch (kv.getType()) { case STRING_V -> kv.getStringV(); diff --git a/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java b/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java index f70769dd80..cecb4fb4ed 100644 --- a/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java +++ b/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java @@ -51,10 +51,12 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; +import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; +import java.util.Set; import java.util.TreeMap; import java.util.function.Consumer; @@ -70,7 +72,7 @@ public class JsonConverter { public static PostTelemetryMsg convertToTelemetryProto(JsonElement jsonElement, long ts) throws JsonSyntaxException { PostTelemetryMsg.Builder builder = PostTelemetryMsg.newBuilder(); - convertToTelemetry(jsonElement, ts, null, builder); + convertToTelemetry(jsonElement, ts, null, builder, Collections.emptySet()); return builder.build(); } @@ -78,6 +80,13 @@ public class JsonConverter { return convertToTelemetryProto(jsonElement, System.currentTimeMillis()); } + // String values of noCastKeys stay strings even when type cast is enabled. + public static PostTelemetryMsg convertToTelemetryProto(JsonElement jsonElement, Set noCastKeys) throws JsonSyntaxException { + PostTelemetryMsg.Builder builder = PostTelemetryMsg.newBuilder(); + convertToTelemetry(jsonElement, System.currentTimeMillis(), null, builder, noCastKeys); + return builder.build(); + } + public static TbPair> convertToGatewayTelemetry(JsonElement jsonElement, long systemTs) { List metadataResult = null; PostTelemetryMsg.Builder builder = PostTelemetryMsg.newBuilder(); @@ -102,7 +111,7 @@ public class JsonConverter { throw new JsonSyntaxException("Can't parse gateway metadata: " + metadataElem); } } - parseObject(systemTs, null, builder, jo); + parseObject(systemTs, null, builder, jo, Collections.emptySet()); } else { throw new JsonSyntaxException(CAN_T_PARSE_VALUE + je); } @@ -121,13 +130,13 @@ public class JsonConverter { return element; } - private static void convertToTelemetry(JsonElement jsonElement, long systemTs, Map> result, PostTelemetryMsg.Builder builder) { + private static void convertToTelemetry(JsonElement jsonElement, long systemTs, Map> result, PostTelemetryMsg.Builder builder, Set noCastKeys) { if (jsonElement.isJsonObject()) { - parseObject(systemTs, result, builder, jsonElement.getAsJsonObject()); + parseObject(systemTs, result, builder, jsonElement.getAsJsonObject(), noCastKeys); } else if (jsonElement.isJsonArray()) { jsonElement.getAsJsonArray().forEach(je -> { if (je.isJsonObject()) { - parseObject(systemTs, result, builder, je.getAsJsonObject()); + parseObject(systemTs, result, builder, je.getAsJsonObject(), noCastKeys); } else { throw new JsonSyntaxException(CAN_T_PARSE_VALUE + je); } @@ -137,12 +146,12 @@ public class JsonConverter { } } - private static void parseObject(long systemTs, Map> result, PostTelemetryMsg.Builder builder, JsonObject jo) { + private static void parseObject(long systemTs, Map> result, PostTelemetryMsg.Builder builder, JsonObject jo, Set noCastKeys) { try { if (result != null) { parseObject(result, systemTs, jo); } else { - parseObject(builder, systemTs, jo); + parseObject(builder, systemTs, jo, noCastKeys); } } catch (Exception e) { throw new JsonSyntaxException(CAN_T_PARSE_VALUE + jo); @@ -185,9 +194,14 @@ public class JsonConverter { } public static PostAttributeMsg convertToAttributesProto(JsonElement jsonObject) throws JsonSyntaxException { + return convertToAttributesProto(jsonObject, Collections.emptySet()); + } + + // String values of noCastKeys stay strings even when type cast is enabled. + public static PostAttributeMsg convertToAttributesProto(JsonElement jsonObject, Set noCastKeys) throws JsonSyntaxException { if (jsonObject.isJsonObject()) { PostAttributeMsg.Builder result = PostAttributeMsg.newBuilder(); - List keyValueList = parseProtoValues(jsonObject.getAsJsonObject()); + List keyValueList = parseProtoValues(jsonObject.getAsJsonObject(), noCastKeys); result.addAllKv(keyValueList); return result.build(); } else { @@ -205,22 +219,22 @@ public class JsonConverter { return result; } - private static void parseObject(PostTelemetryMsg.Builder builder, long systemTs, JsonObject jo) { + private static void parseObject(PostTelemetryMsg.Builder builder, long systemTs, JsonObject jo, Set noCastKeys) { if (jo.has("ts") && jo.has("values")) { - parseWithTs(builder, jo); + parseWithTs(builder, jo, noCastKeys); } else { - parseWithoutTs(builder, systemTs, jo); + parseWithoutTs(builder, systemTs, jo, noCastKeys); } } - private static void parseWithoutTs(PostTelemetryMsg.Builder request, long systemTs, JsonObject jo) { + private static void parseWithoutTs(PostTelemetryMsg.Builder request, long systemTs, JsonObject jo, Set noCastKeys) { TsKvListProto.Builder builder = TsKvListProto.newBuilder(); builder.setTs(systemTs); - builder.addAllKv(parseProtoValues(jo)); + builder.addAllKv(parseProtoValues(jo, noCastKeys)); request.addTsKvList(builder.build()); } - private static void parseWithTs(PostTelemetryMsg.Builder request, JsonObject jo) { + private static void parseWithTs(PostTelemetryMsg.Builder request, JsonObject jo, Set noCastKeys) { JsonElement tsJsonElement = jo.get("ts"); if (tsJsonElement.isJsonNull()) { throw new JsonSyntaxException(CAN_T_PARSE_VALUE + "ts is null!"); @@ -229,12 +243,12 @@ public class JsonConverter { } else { TsKvListProto.Builder builder = TsKvListProto.newBuilder(); builder.setTs(tsJsonElement.getAsLong()); - builder.addAllKv(parseProtoValues(jo.get("values").getAsJsonObject())); + builder.addAllKv(parseProtoValues(jo.get("values").getAsJsonObject(), noCastKeys)); request.addTsKvList(builder.build()); } } - private static List parseProtoValues(JsonObject valuesObject) { + private static List parseProtoValues(JsonObject valuesObject, Set noCastKeys) { List result = new ArrayList<>(); for (Entry valueEntry : valuesObject.entrySet()) { JsonElement element = valueEntry.getValue(); @@ -245,7 +259,7 @@ public class JsonConverter { String message = String.format("String value length [%d] for key [%s] is greater than maximum allowed [%d]", value.getAsString().length(), valueEntry.getKey(), maxStringValueLength); throw new JsonSyntaxException(message); } - if (isTypeCastEnabled && NumberUtils.isParsable(value.getAsString())) { + if (isTypeCastEnabled && !noCastKeys.contains(valueEntry.getKey()) && NumberUtils.isParsable(value.getAsString())) { try { result.add(buildNumericKeyValueProto(value, valueEntry.getKey())); } catch (RuntimeException th) { @@ -669,7 +683,7 @@ public class JsonConverter { public static Map> convertToTelemetry(JsonElement jsonElement, long systemTs, boolean sorted) throws JsonSyntaxException { Map> result = sorted ? new TreeMap<>() : new HashMap<>(); - convertToTelemetry(jsonElement, systemTs, result, null); + convertToTelemetry(jsonElement, systemTs, result, null, Collections.emptySet()); return result; } diff --git a/common/proto/src/test/java/org/thingsboard/server/common/adaptor/JsonConverterTest.java b/common/proto/src/test/java/org/thingsboard/server/common/adaptor/JsonConverterTest.java index 3729ad3d39..13f49c785e 100644 --- a/common/proto/src/test/java/org/thingsboard/server/common/adaptor/JsonConverterTest.java +++ b/common/proto/src/test/java/org/thingsboard/server/common/adaptor/JsonConverterTest.java @@ -9,6 +9,10 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.parallel.Isolated; +import org.thingsboard.server.gen.transport.TransportProtos.KeyValueProto; +import org.thingsboard.server.gen.transport.TransportProtos.KeyValueType; + +import java.util.Set; @Isolated("JsonConverter static settings being modified") public class JsonConverterTest { @@ -94,4 +98,40 @@ public class JsonConverterTest { }); } + @Test + public void testParseAttributesProtoWithNoCastKeys() { + var json = JsonParser.parseString("{\"devAddr\": \"01020304\", \"fCnt\": \"42\", \"rssi\": -110}"); + var kvList = JsonConverter.convertToAttributesProto(json, Set.of("devAddr")).getKvList(); + assertKv(kvList.get(0), KeyValueType.STRING_V, "01020304"); + assertKv(kvList.get(1), KeyValueType.LONG_V, "42"); + assertKv(kvList.get(2), KeyValueType.LONG_V, "-110"); + } + + @Test + public void testParseTelemetryProtoWithNoCastKeys() { + var json = JsonParser.parseString("{\"ts\": 1000, \"values\": {\"eui\": \"1000000000000001\", \"fCnt\": \"42\", \"snr\": 9.5}}"); + var tsKvList = JsonConverter.convertToTelemetryProto(json, Set.of("eui")).getTsKvList(0); + Assertions.assertEquals(1000L, tsKvList.getTs()); + assertKv(tsKvList.getKv(0), KeyValueType.STRING_V, "1000000000000001"); + assertKv(tsKvList.getKv(1), KeyValueType.LONG_V, "42"); + assertKv(tsKvList.getKv(2), KeyValueType.DOUBLE_V, "9.5"); + } + + @Test + public void testParseAttributesProtoCastsNumericStrings() { + var kvList = JsonConverter.convertToAttributesProto(JsonParser.parseString("{\"devAddr\": \"01020304\"}")).getKvList(); + assertKv(kvList.get(0), KeyValueType.LONG_V, "1020304"); + } + + private static void assertKv(KeyValueProto kv, KeyValueType type, String value) { + Assertions.assertEquals(type, kv.getType()); + String actual = switch (type) { + case STRING_V -> kv.getStringV(); + case LONG_V -> String.valueOf(kv.getLongV()); + case DOUBLE_V -> String.valueOf(kv.getDoubleV()); + default -> throw new IllegalArgumentException("Unexpected type: " + type); + }; + Assertions.assertEquals(value, actual); + } + } From d9e1f62204660bedaa99884143467e65b780a555 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Mon, 2 Nov 2026 15:47:18 +0200 Subject: [PATCH 405/559] IoT Hub device package delete removes its entries from a kept integration's metadata A device package's install state records, per INTEGRATION step, the metadata entries the step added to the integration (e.g. profile.milesight-iot-am308 -> the chosen profile name), both at install (UI) and on update (server). When the package is deleted and its integration is kept, because other installed packages use it or the package took it as it was, those entries are removed from the integration's configuration.metadata. Entries another installed package also recorded stay, and the integration is not saved when none of the package's entries is present. The integration checksum already leaves metadata out, so the remaining packages don't see the integration as changed. Co-Authored-By: Claude --- .../DefaultDevicePackageUpdateService.java | 19 +++- .../service/iot_hub/DefaultIotHubService.java | 67 ++++++++++++-- ...DefaultDevicePackageUpdateServiceTest.java | 6 +- .../iot_hub/DefaultIotHubServiceTest.java | 88 +++++++++++++++++++ .../device-install-dialog.component.ts | 9 +- 5 files changed, 180 insertions(+), 9 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 2bbed29280..159014bdcd 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -293,7 +293,6 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i List saved = new ArrayList<>(); List connectorSteps = new ArrayList<>(); List attributes = new ArrayList<>(); - // The checksums of the entities this update overwrote, which other packages may record too DashboardId dashboardId = null; for (DeviceUpdateRequest.Step step : request.getSteps()) { @@ -325,6 +324,10 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (step.isDefaultConverter()) { state.put("defaultConverter", true); } + ObjectNode metadata = addedMetadata(step.getMetadata()); + if (metadata != null) { + state.set("metadata", metadata); + } installState.put(step.getId() != null ? step.getId() : step.getName(), state); if (!"use-existing".equals(resolution)) { stepEntityIds.add(result.entityId()); @@ -612,6 +615,20 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); } + /** The entries the step adds to the integration's metadata, which a delete of the package removes; null when none. */ + private static ObjectNode addedMetadata(JsonNode entries) { + if (entries == null || !entries.isObject()) { + return null; + } + ObjectNode added = JacksonUtil.newObjectNode(); + entries.fields().forEachRemaining(entry -> { + if (entry.getValue() != null && !entry.getValue().isNull()) { + added.put(entry.getKey(), entry.getValue().asText()); + } + }); + return added.isEmpty() ? null : added; + } + /** * A copy of the integration with the step's metadata entries merged into its metadata; null when that changes nothing. * A copy: the integration may be the cache's own instance, which a rolled back update must not change. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 6968cbd00f..c071bc61b6 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -4,6 +4,7 @@ package org.thingsboard.server.service.iot_hub; import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; import jakarta.servlet.http.HttpServletRequest; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; @@ -32,6 +33,7 @@ import org.thingsboard.server.common.data.id.IntegrationId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.RuleChainId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.iot_hub.AlarmRuleInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.CalculatedFieldInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; @@ -715,6 +717,7 @@ public class DefaultIotHubService implements IotHubService { * Deletes what a device package created, except the entities another installed device package * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package, * and the ones the user had before and the package took as they were (use existing). + * A kept integration loses the metadata entries the package added. */ private void deleteDevicePackageEntities(TenantId tenantId, IotHubInstalledItemId installedItemId, DeviceInstalledItemDescriptor descriptor, SecurityUser user) { @@ -723,17 +726,20 @@ public class DefaultIotHubService implements IotHubService { return; } Set usedExisting = usedExistingIds(descriptor); - Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); + List otherPackages = new ArrayList<>(); + Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId, otherPackages); List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); for (EntityId entityId : reversed) { if (usedExisting.contains(entityId.getId())) { log.info("[{}] Kept {} {}: the package took it as it was", tenantId, entityId.getEntityType(), entityId.getId()); + removeIntegrationMetadata(tenantId, entityId, descriptor, otherPackages); continue; } Set usedBy = usedByOtherPackages.get(entityId.getId()); if (usedBy != null) { log.info("[{}] Kept {} {}: installed device packages {} use it", tenantId, entityId.getEntityType(), entityId.getId(), usedBy); + removeIntegrationMetadata(tenantId, entityId, descriptor, otherPackages); continue; } try { @@ -744,6 +750,52 @@ public class DefaultIotHubService implements IotHubService { } } + /** + * Removes from the kept integration's metadata the entries the package added, e.g. the profile name its converter + * reads, so that a later package of that model gets the default profile again. An entry another installed package + * also added stays. + */ + private void removeIntegrationMetadata(TenantId tenantId, EntityId entityId, DeviceInstalledItemDescriptor descriptor, + List otherPackages) { + if (entityId.getEntityType() != EntityType.INTEGRATION) { + return; + } + Set keys = addedMetadataKeys(descriptor, entityId.getId()); + otherPackages.forEach(other -> keys.removeAll(addedMetadataKeys(other, entityId.getId()))); + if (keys.isEmpty()) { + return; + } + try { + Integration integration = integrationService.findIntegrationById(tenantId, new IntegrationId(entityId.getId())); + if (integration == null || !(integration.getConfiguration() != null + && integration.getConfiguration().get("metadata") instanceof ObjectNode metadata) + || keys.stream().noneMatch(metadata::has)) { + return; + } + // A copy: the integration read may be the cache's own instance + Integration copy = new Integration(integration); + ((ObjectNode) copy.getConfiguration().get("metadata")).remove(keys); + integrationService.saveIntegration(copy); + log.info("[{}] Removed metadata entries {} of the deleted device package from integration {}", tenantId, keys, entityId.getId()); + } catch (Exception e) { + log.error("[{}] Failed to remove the deleted device package's metadata entries from integration {}", tenantId, entityId.getId(), e); + } + } + + /** The metadata entries the package's steps on the integration added, as its install state records them. */ + private static Set addedMetadataKeys(DeviceInstalledItemDescriptor descriptor, UUID integrationId) { + Set keys = new HashSet<>(); + if (descriptor.getInstallState() != null) { + descriptor.getInstallState().values().forEach(state -> { + if (state != null && integrationId.toString().equals(state.path("entityOutput").path("id").asText()) + && state.get("metadata") instanceof ObjectNode metadata) { + metadata.fieldNames().forEachRemaining(keys::add); + } + }); + } + return keys; + } + /** The delete dialog shows these before the user confirms, so they must match what {@link #deleteDevicePackageEntities} keeps. */ @Override public InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId) { @@ -756,7 +808,7 @@ public class DefaultIotHubService implements IotHubService { int usedExistingCount = 0; if (installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { Set usedExisting = usedExistingIds(dd); - Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); + Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId, new ArrayList<>()); for (EntityId entityId : dd.getCreatedEntityIds()) { Set usedBy = usedByOtherPackages.get(entityId.getId()); boolean taken = usedExisting.contains(entityId.getId()); @@ -783,15 +835,20 @@ public class DefaultIotHubService implements IotHubService { return ids; } - private Map> findEntitiesOfOtherDevicePackages(TenantId tenantId, IotHubInstalledItemId installedItemId) { + /** The other installed device packages' entities, by id; the packages' descriptors go to {@code otherPackages}. */ + private Map> findEntitiesOfOtherDevicePackages(TenantId tenantId, IotHubInstalledItemId installedItemId, + List otherPackages) { Map> usedBy = new HashMap<>(); PageLink pageLink = new PageLink(100); PageData page; do { page = iotHubInstalledItemService.findByTenantId(tenantId, List.of("DEVICE"), null, pageLink); for (IotHubInstalledItem item : page.getData()) { - if (!item.getId().equals(installedItemId) - && item.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { + if (item.getId().equals(installedItemId) || !(item.getDescriptor() instanceof DeviceInstalledItemDescriptor dd)) { + continue; + } + otherPackages.add(dd); + if (dd.getCreatedEntityIds() != null) { dd.getCreatedEntityIds().forEach(id -> usedBy.computeIfAbsent(id.getId(), k -> new HashSet<>()).add(item.getId())); } } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 062eabf80f..57b11a2076 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -395,8 +395,10 @@ class DefaultDevicePackageUpdateServiceTest { // A copy is saved: the integration read, possibly the cache's own instance, stays as it is until the commit assertThat(saved.getValue()).isNotSameAs(current); assertThat(current.getConfiguration().get("metadata").has("profile.lansitec-badge")).isFalse(); - assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("TTN").get("resolution").asText()) - .isEqualTo("use-existing"); + JsonNode state = ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("TTN"); + assertThat(state.get("resolution").asText()).isEqualTo("use-existing"); + // The entries the step added, which a delete of the package removes; not the one it removed + assertThat(state.get("metadata")).isEqualTo(JacksonUtil.newObjectNode().put("profile.lansitec-badge", "Badge")); } @Test diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 938c816ed7..e8264499c3 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.databind.node.ObjectNode; import jakarta.servlet.http.HttpServletRequest; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.ArgumentCaptor; import org.mockito.InOrder; import org.mockito.InjectMocks; import org.mockito.Mock; @@ -19,8 +20,10 @@ import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; import org.thingsboard.server.common.data.id.DeviceProfileId; import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; @@ -28,12 +31,14 @@ import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.dao.dashboard.DashboardService; import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.entity.EntityService; +import org.thingsboard.server.dao.integration.IntegrationService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; import org.thingsboard.server.service.entitiy.device.TbDeviceService; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.List; +import java.util.Map; import java.util.Optional; import java.util.UUID; @@ -72,6 +77,8 @@ class DefaultIotHubServiceTest { private DashboardService dashboardService; @Mock private TbDashboardService tbDashboardService; + @Mock + private IntegrationService integrationService; @Spy @InjectMocks @@ -458,6 +465,71 @@ class DefaultIotHubServiceTest { verify(iotHubInstalledItemService).deleteById(tenantId, deleted.getId()); } + @Test + void deleteInstalledItem_devicePackage_removesItsMetadataEntriesFromTheKeptIntegration() { + mockTenant(); + IntegrationId integrationId = new IntegrationId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(integrationId); + setIntegrationState(deleted, integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + IotHubInstalledItem other = devicePackage(integrationId); + setIntegrationState(other, integrationId, Map.of("profile.lansitec-badge", "Badge")); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted, other), 1, 2, false)); + Integration current = integration(integrationId, Map.of("profile.milesight-iot-am308", "am308-custom", + "profile.lansitec-badge", "Badge", "profile.added-by-user", "Mine")); + when(integrationService.findIntegrationById(tenantId, integrationId)).thenReturn(current); + + service.deleteInstalledItem(user, deleted.getId()); + + ArgumentCaptor saved = ArgumentCaptor.forClass(Integration.class); + verify(integrationService).saveIntegration(saved.capture()); + verify(integrationService, never()).deleteIntegration(any(), any()); + JsonNode metadata = saved.getValue().getConfiguration().get("metadata"); + assertThat(metadata.has("profile.milesight-iot-am308")).isFalse(); + assertThat(metadata.get("profile.lansitec-badge").asText()).isEqualTo("Badge"); + assertThat(metadata.get("profile.added-by-user").asText()).isEqualTo("Mine"); + // A copy is saved: the integration read may be the cache's own instance + assertThat(current.getConfiguration().get("metadata").has("profile.milesight-iot-am308")).isTrue(); + } + + @Test + void deleteInstalledItem_devicePackage_keepsTheMetadataEntryAnotherPackageAddedToo() { + mockTenant(); + IntegrationId integrationId = new IntegrationId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(integrationId); + setIntegrationState(deleted, integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + IotHubInstalledItem other = devicePackage(integrationId); + setIntegrationState(other, integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted, other), 1, 2, false)); + + service.deleteInstalledItem(user, deleted.getId()); + + verify(integrationService, never()).saveIntegration(any()); + verify(integrationService, never()).deleteIntegration(any(), any()); + } + + @Test + void deleteInstalledItem_devicePackage_leavesTheKeptIntegrationWithoutItsEntriesAsItIs() { + mockTenant(); + IntegrationId integrationId = new IntegrationId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(integrationId); + setIntegrationState(deleted, integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + ((DeviceInstalledItemDescriptor) deleted.getDescriptor()).setUsedExistingEntityIds(List.of(integrationId)); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted), 1, 1, false)); + when(integrationService.findIntegrationById(tenantId, integrationId)) + .thenReturn(integration(integrationId, Map.of("profile.lansitec-badge", "Badge"))); + + service.deleteInstalledItem(user, deleted.getId()); + + verify(integrationService, never()).saveIntegration(any()); + verify(integrationService, never()).deleteIntegration(any(), any()); + } + @Test void findKeptEntities_devicePackage_namesTheSharedEntitiesAndCountsTheOtherPackages() { DeviceId deviceId = new DeviceId(UUID.randomUUID()); @@ -547,6 +619,22 @@ class DefaultIotHubServiceTest { verify(iotHubInstalledItemService, never()).save(any(), any()); } + private void setIntegrationState(IotHubInstalledItem item, IntegrationId integrationId, Map addedMetadata) { + ObjectNode state = JacksonUtil.newObjectNode().put("resolution", "created"); + state.set("entityOutput", JacksonUtil.newObjectNode().put("id", integrationId.getId().toString())); + state.set("metadata", JacksonUtil.valueToTree(addedMetadata)); + ((DeviceInstalledItemDescriptor) item.getDescriptor()).setInstallState(Map.of("TTN", state)); + } + + private Integration integration(IntegrationId id, Map metadata) { + Integration integration = new Integration(id); + integration.setTenantId(tenantId); + ObjectNode configuration = JacksonUtil.newObjectNode(); + configuration.set("metadata", JacksonUtil.valueToTree(metadata)); + integration.setConfiguration(configuration); + return integration; + } + private IotHubInstalledItem devicePackage(EntityId... createdEntityIds) { DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); descriptor.setCreatedEntityIds(List.of(createdEntityIds)); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 9f79cbb59d..a75ed31fd8 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -1901,6 +1901,12 @@ export class TbDeviceInstallDialogComponent extends DialogComponent | undefined { + const entries = Object.entries(this.integrationMetadataOf(step) ?? {}).filter(([, value]) => value !== null); + return entries.length ? Object.fromEntries(entries) : undefined; + } + /** The INTEGRATION step's metadata entries, resolved: null for a self-mapping, whose earlier value is removed. */ private stepMetadataEntries(step: DeviceInstallStep): Record { const entries: Record = {}; @@ -2789,8 +2795,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent Date: Mon, 2 Nov 2026 15:54:34 +0200 Subject: [PATCH 406/559] IoT Hub: a confirm dialog updates a device package's default converter "New converter available" in Installed items opens "Update the converter?" instead of the version update wizard. The dialog names the converter and, from the update check, either warns that someone changed it (with a download of the current one) or lists the other installed packages that use it. Update sends only the converter step, built from ThingsBoard's default converter now, through the device package update. An update to the installed version itself keeps the install state of the steps and forms it leaves out, so the integration and its metadata stay as they are. The wizard's error message, text-with-link and JSON download helpers move to iot-hub-utils, and the installed device packages loader to iot-hub-default-converter, for both to use. Co-Authored-By: Claude --- .../DefaultDevicePackageUpdateService.java | 10 +++ ...DefaultDevicePackageUpdateServiceTest.java | 47 +++++++++++ .../device-install-dialog.component.ts | 36 +-------- .../iot-hub/iot-hub-actions.service.ts | 37 ++++++++- .../iot-hub/iot-hub-components.module.ts | 2 + ...hub-converter-update-dialog.component.html | 32 ++++++++ ...hub-converter-update-dialog.component.scss | 65 +++++++++++++++ ...t-hub-converter-update-dialog.component.ts | 79 +++++++++++++++++++ .../iot-hub/iot-hub-default-converter.ts | 68 +++++++++++++--- ...t-hub-installed-items-table.component.html | 2 +- ...iot-hub-installed-items-table.component.ts | 34 +++++--- .../home/components/iot-hub/iot-hub-utils.ts | 42 ++++++++++ .../assets/locale/locale.constant-en_US.json | 2 + 13 files changed, 398 insertions(+), 58 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 2bbed29280..06151fe139 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -348,6 +348,16 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i } } + // An update to the installed version itself, e.g. of ThingsBoard's default converter only, sends just the steps + // it changes: the other steps and the forms keep their install state + if (UUID.fromString(request.getVersionId()).equals(installedItem.getItemVersionId()) && previous.getInstallState() != null) { + previous.getInstallState().forEach((key, value) -> { + if (value instanceof ObjectNode state) { + installState.putIfAbsent(key, state); + } + }); + } + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); // The new version may not offer the method the package was installed with descriptor.setSelectedInstallMethod(request.getSelectedInstallMethod() != null ? request.getSelectedInstallMethod() : previous.getSelectedInstallMethod()); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 062eabf80f..a3c7e7ca28 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -531,6 +531,53 @@ class DefaultDevicePackageUpdateServiceTest { verify(installedItemService, never()).save(tenantId, taker); } + @Test + void updateOfTheInstalledVersion_keepsTheInstallStateOfTheStepsItLeavesOut() { + ConverterId converterId = new ConverterId(UUID.randomUUID()); + Converter current = new Converter(converterId); + current.setTenantId(tenantId); + current.setName("Uplink data converter for TTN my-app"); + current.setVersion(4L); + when(converterService.findConverterById(tenantId, converterId)).thenReturn(current); + when(converterService.saveConverter(any())).thenAnswer(i -> i.getArgument(0)); + DeviceInstalledItemDescriptor installed = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + installed.setCreatedEntityIds(List.of(profileId, deviceId, dashboardId, integrationId, converterId)); + installed.setInstallState(Map.of("Integration", stateOf(integrationId, "created"), "uplink", stateOf(converterId, "created"), + "Configuration", JacksonUtil.newObjectNode().set("formValues", JacksonUtil.newObjectNode().put("profileName", "am308")))); + ObjectNode versionInfo = JacksonUtil.newObjectNode().put("itemId", itemId.toString()).put("name", "AM308").put("version", "1.0.0"); + when(iotHubRestClient.getVersionInfo(installedVersionId.toString())).thenReturn(versionInfo); + // ThingsBoard's default converter changed: only the converter step is sent + DeviceUpdateRequest.Step step = overwrite("Uplink data converter", "UPLINK_CONVERTER", converterId, 4L, + JacksonUtil.newObjectNode().put("name", "Uplink").set("configuration", JacksonUtil.newObjectNode().put("tbelDecoder", "return {};"))); + step.setId("uplink"); + step.setDefaultConverter(true); + DeviceUpdateRequest request = request(step); + request.setVersionId(installedVersionId.toString()); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request); + + assertThat(result.isSuccess()).isTrue(); + Map state = ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState(); + ArgumentCaptor saved = ArgumentCaptor.forClass(Converter.class); + verify(converterService).saveConverter(saved.capture()); + assertThat(state.get("uplink").get("checksum").asText()).isEqualTo(EntityChecksum.of(saved.getValue())); + assertThat(state.get("uplink").get("defaultConverter").asBoolean()).isTrue(); + assertThat(state.get("Integration")).isEqualTo(stateOf(integrationId, "created")); + assertThat(state.get("Configuration").get("formValues").get("profileName").asText()).isEqualTo("am308"); + verify(integrationService, never()).saveIntegration(any()); + assertThat(installedItem.getItemVersionId()).isEqualTo(installedVersionId); + } + + @Test + void updateToAnotherVersion_dropsTheInstallStateOfTheStepsItLeavesOut() { + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(keep("Dashboard", "DASHBOARD", dashboardId))); + + assertThat(result.isSuccess()).isTrue(); + assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState()).containsOnlyKeys("Dashboard"); + } + @Test void overwritingAnEntityOfAnotherPackage_needsAConfirmation() { DashboardId foreign = new DashboardId(UUID.randomUUID()); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 9f79cbb59d..29dca9d171 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -40,6 +40,7 @@ import { getCurrentAuthState } from '@core/auth/auth.selectors'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { IntegrationType } from '@shared/models/integration.models'; import { differsFromDefaultConverter, loadDefaultUplinkConverter, loadOwnDefaultConverterIds } from '@home/components/iot-hub/iot-hub-default-converter'; +import { downloadEntityJson, readableMessage, requestFailureMessage, splitTextWithLink } from '@home/components/iot-hub/iot-hub-utils'; import { cleanFormFieldValue, DeviceInstallStep, @@ -119,15 +120,6 @@ export interface DeviceInstallUpdate { fromVersion: string; } -// ThingsBoard error codes whose message is written for the user: validation, permission, not found, limits -const SHOWN_ERROR_CODES = new Set([20, 30, 31, 32, 33, 34, 35, 40, 41]); -const MAX_SHOWN_ERROR_LENGTH = 200; - -/** The message as it is when it reads like one written for the user, null for an internal one (a stack trace, a URL, too long). */ -const readableMessage = (message: unknown): string | null => - typeof message === 'string' && message.trim() && message.length <= MAX_SHOWN_ERROR_LENGTH && - !/exception|java\.|https?:\/\/|\bat [\w.$]+\(/i.test(message) ? message : null; - // Fields the server sets, or that the update keeps as they are: they don't count as changes the user made. // Nor do the debug settings, which change nothing the entity does, and whether a profile is the default one. const SERVER_SET_KEYS = new Set(['id', 'name', 'title', 'routingKey', 'version', 'createdTime', 'tenantId', 'customerId', @@ -2014,18 +2006,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent…, which the translation may put anywhere in it, split around the link. */ /** Update: what the update did with the entity of a row, once it succeeded. */ updateOutcomeOf(plan: EntityStepPlan | undefined): string { if (!plan || plan.action === 'keep' || plan.resolution === 'use-existing') { @@ -2064,9 +2045,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent([\s\S]*)<\/a>([\s\S]*)$/.exec(text); - return match ? { before: match[1], link: match[2], after: match[3] } : { before: text, link: '', after: '' }; + return splitTextWithLink(this.translate.instant(key)); } /** Update: saves the entity the user changed, as it is before the update overwrites it, to a JSON file. */ @@ -2075,14 +2054,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent URL.revokeObjectURL(url), 0); + downloadEntityJson(current, ep.resolvedName || ep.step.name); } /** diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index f1d358426f..8dd87b637f 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { Observable, of, EMPTY } from 'rxjs'; +import { Observable, of, EMPTY, firstValueFrom, from } from 'rxjs'; import { catchError, map, switchMap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; @@ -21,6 +21,8 @@ import { TbDeviceInstallDialogComponent, DeviceInstallDialogData, DeviceInstallU import { TbIotHubInstalledItemsDialogComponent, IotHubInstalledItemsDialogData } from './iot-hub-installed-items-dialog.component'; import { IotHubBuiltInService } from './iot-hub-built-in.service'; import { isBuiltInItem } from './iot-hub-utils'; +import { TbIotHubConverterUpdateDialogComponent, IotHubConverterUpdateDialogData } from './iot-hub-converter-update-dialog.component'; +import { DefaultConverterUpdate, loadInstalledDevicePackages } from './iot-hub-default-converter'; /** * What `openBuiltInOrConfirmInstall` did with a built-in item: 'handled' means nothing is left to do @@ -167,6 +169,39 @@ export class IotHubActionsService { }).afterClosed(); } + /** + * Brings a device package's default converter to ThingsBoard's default converter now, after the user confirms it. + * The dialog opens with what the update check found: whether someone changed the converter, and which other packages use it. + */ + updateDefaultConverter(update: DefaultConverterUpdate): Observable { + return from(this.converterUpdateDialogData(update)).pipe( + switchMap(data => this.dialog.open( + TbIotHubConverterUpdateDialogComponent, { + panelClass: ['tb-dialog'], + disableClose: true, + autoFocus: false, + data + }).afterClosed()), + catchError(() => of(false)) + ); + } + + private async converterUpdateDialogData(update: DefaultConverterUpdate): Promise { + const installedItemId = update.installedItem.id.id; + const converterId = update.converter.id.id; + const [states, packages] = await Promise.all([ + firstValueFrom(this.iotHubApiService.checkDeviceUpdate(installedItemId)), + loadInstalledDevicePackages(this.iotHubApiService) + ]); + const state = states.find(s => s.stepName === update.stateKey); + // As the server decides what is shared: the converter is one of the entities another package tracks + const usedBy = packages + .filter(item => item.id.id !== installedItemId && + (item.descriptor as DeviceInstalledItemDescriptor)?.createdEntityIds?.some(id => id.id === converterId)) + .map(item => item.itemName); + return { update, version: state?.version, modified: state?.modified === true, usedBy }; + } + deleteItem(installedItem: IotHubInstalledItem): Observable { if (!installedItem) { return of(false); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts index ea754e42f9..99a2676c90 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts @@ -11,6 +11,7 @@ import { TbIotHubAddItemDialogComponent } from './iot-hub-add-item-dialog.compon import { TbIotHubInstallDialogComponent } from './iot-hub-install-dialog.component'; import { TbIotHubUpdateDialogComponent } from './iot-hub-update-dialog.component'; import { TbIotHubDeleteDialogComponent } from './iot-hub-delete-dialog.component'; +import { TbIotHubConverterUpdateDialogComponent } from './iot-hub-converter-update-dialog.component'; import { TbIotHubUnpublishedWarningDialogComponent } from './iot-hub-unpublished-warning-dialog.component'; import { TbDeviceInstallDialogComponent } from './device-install-dialog/device-install-dialog.component'; import { InstallFormRendererComponent } from './device-install-dialog/install-form-renderer/install-form-renderer.component'; @@ -27,6 +28,7 @@ import { IotHubItemLinkModule } from './iot-hub-item-link-card/iot-hub-item-link @NgModule({ declarations: [ + TbIotHubConverterUpdateDialogComponent, TbIotHubItemDetailDialogComponent, TbIotHubBrowseComponent, TbIotHubItemCardComponent, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html new file mode 100644 index 0000000000..a629614e50 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html @@ -0,0 +1,32 @@ + +
    +

    {{ 'iot-hub.converter-update-title' | translate }}

    +

    {{ 'iot-hub.device-update-new-default-converter' | translate }}

    +
    +
    {{ data.update.converter.name }}
    + @if (data.modified) { + + {{ modifiedHint.before }}{{ modifiedHint.link }}{{ modifiedHint.after }} + + } @else if (data.usedBy.length) { + {{ 'iot-hub.device-update-shared' | translate }} +
      + @for (name of data.usedBy; track $index) { +
    • {{ name }}
    • + } +
    + } +
    + @if (errorMessage) { + {{ errorMessage }} + } +
    +
    + + +
    diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss new file mode 100644 index 0000000000..2d54d12bba --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss @@ -0,0 +1,65 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +:host { + display: block; + max-width: 600px; +} + +.tb-converter-update-title { + font-size: 20px; + font-weight: 600; + line-height: 24px; + letter-spacing: 0.1px; + color: rgba(0, 0, 0, 0.87); + margin: 0; +} + +.tb-converter-update-text { + font-size: 14px; + line-height: 20px; + letter-spacing: 0.2px; + color: rgba(0, 0, 0, 0.54); + margin: 0; +} + +.tb-converter-update-box { + padding: 12px 16px; + border: 1px solid rgba(0, 0, 0, 0.12); + border-radius: 8px; +} + +.tb-converter-update-name { + font-size: 14px; + font-weight: 500; + line-height: 20px; + color: rgba(0, 0, 0, 0.87); +} + +.tb-converter-update-packages { + margin: 0; + padding-left: 20px; + font-size: 12px; + line-height: 16px; + color: rgba(0, 0, 0, 0.54); +} + +.tb-converter-update-link { + color: #305680; + text-decoration: underline; + cursor: pointer; +} + +.tb-progress-alert-msg { + font-size: 12px; + font-weight: 400; + line-height: 16px; + letter-spacing: 0.4px; + + &.tb-progress-alert-msg-warning { + color: #f66716; + } + + &.tb-progress-alert-msg-error { + color: #dd2c00; + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts new file mode 100644 index 0000000000..a6736965a4 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +import { Component, Inject } from '@angular/core'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { Router } from '@angular/router'; +import { Store } from '@ngrx/store'; +import { TranslateService } from '@ngx-translate/core'; +import { AppState } from '@core/core.state'; +import { DialogComponent } from '@shared/components/dialog.component'; +import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { DefaultConverterUpdate, defaultConverterUpdateRequest } from '@home/components/iot-hub/iot-hub-default-converter'; +import { downloadEntityJson, readableMessage, requestFailureMessage, splitTextWithLink } from '@home/components/iot-hub/iot-hub-utils'; + +export interface IotHubConverterUpdateDialogData { + update: DefaultConverterUpdate; + // The converter's version the update check found: the server refuses the update if someone saved the converter since + version?: number; + // Someone changed the converter since a package installed or last updated it + modified: boolean; + // The names of the other installed packages that use the converter + usedBy: string[]; +} + +/** + * Brings an installed device package's default converter to ThingsBoard's default converter now, without a new version of + * the package. Closes with true once it is updated. + */ +@Component({ + selector: 'tb-iot-hub-converter-update-dialog', + standalone: false, + templateUrl: './iot-hub-converter-update-dialog.component.html', + styleUrls: ['./iot-hub-converter-update-dialog.component.scss'] +}) +export class TbIotHubConverterUpdateDialogComponent extends DialogComponent { + + readonly modifiedHint = splitTextWithLink(this.translate.instant('iot-hub.converter-update-modified')); + updating = false; + errorMessage: string | null = null; + + constructor( + protected store: Store, + protected router: Router, + protected dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: IotHubConverterUpdateDialogData, + private iotHubApiService: IotHubApiService, + private translate: TranslateService + ) { + super(store, router, dialogRef); + } + + downloadCurrent(): void { + downloadEntityJson(this.data.update.converter, this.data.update.converter.name); + } + + update(): void { + this.updating = true; + this.errorMessage = null; + this.iotHubApiService.updateDevicePackage(this.data.update.installedItem.id.id, + defaultConverterUpdateRequest(this.data.update, this.data.version), { ignoreErrors: true }).subscribe({ + next: result => { + if (result.success) { + this.dialogRef.close(true); + return; + } + // Nothing was changed: the server rolled it back + this.updating = false; + this.errorMessage = readableMessage(result.errorMessage) ?? this.translate.instant('iot-hub.device-install-unexpected-error'); + }, + error: error => { + this.updating = false; + this.errorMessage = requestFailureMessage(error, this.translate); + } + }); + } + + cancel(): void { + this.dialogRef.close(false); + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts index 68aeb0f832..acbd246df8 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts @@ -6,11 +6,20 @@ import { Converter, ConverterConfigV2, ConverterType, getTargetField, getTargetT import { IntegrationType } from '@shared/models/integration.models'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { isEqual } from '@core/utils'; -import { DeviceInstalledItemDescriptor, IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { DeviceInstalledItemDescriptor, DeviceUpdateRequest, IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { PageLink } from '@shared/models/page/page-link'; import { PageData } from '@shared/models/page/page-data'; +/** An installed device package's default converter that differs from ThingsBoard's default converter now. */ +export interface DefaultConverterUpdate { + installedItem: IotHubInstalledItem; + // The key of the converter's step in the package's install state + stateKey: string; + converter: Converter; + defaultConverter: Partial; +} + const DEFAULT_CONVERTERS_V2_CONFIGURATION_URL = '/assets/converters/default-converters-v2-configuration.json'; // The settings of a default converter that decide what it does: the script is compared on its own @@ -60,6 +69,19 @@ export const differsFromDefaultConverter = (converter: Converter, defaultConvert V2_CONFIGURATION_KEYS.some(key => !isEqual(converter.configuration[key] ?? null, defaultConverter.configuration[key] ?? null)); }; +/** All installed device packages of the tenant. */ +export const loadInstalledDevicePackages = async (iotHubApiService: IotHubApiService): Promise => { + const items: IotHubInstalledItem[] = []; + let pageLink = new PageLink(100); + let page: PageData; + do { + page = await firstValueFrom(iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); + items.push(...page.data); + pageLink = pageLink.nextPageLink(); + } while (page.hasNext); + return items; +}; + /** * The converters device packages installed themselves as their default converter, not ones they took as they were, of * all installed device packages: only such a converter is ThingsBoard's default one, which a new ThingsBoard version @@ -67,18 +89,40 @@ export const differsFromDefaultConverter = (converter: Converter, defaultConvert */ export const loadOwnDefaultConverterIds = async (iotHubApiService: IotHubApiService): Promise> => { const ids = new Set(); - let pageLink = new PageLink(100); - let page: PageData; - do { - page = await firstValueFrom(iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); - for (const item of page.data) { - for (const state of Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {})) { - if (state?.defaultConverter && state.entityOutput?.id && state.resolution !== 'use-existing') { - ids.add(state.entityOutput.id); - } + for (const item of await loadInstalledDevicePackages(iotHubApiService)) { + for (const state of Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {})) { + if (state?.defaultConverter && state.entityOutput?.id && state.resolution !== 'use-existing') { + ids.add(state.entityOutput.id); } } - pageLink = pageLink.nextPageLink(); - } while (page.hasNext); + } return ids; }; + +/** + * The update of the installed version itself that brings its default converter to ThingsBoard's default one. It sends only + * the converter step: the server keeps the other steps, the forms and the integration's metadata as they are. + * expectedVersion is the converter's version the user reviewed. + */ +export const defaultConverterUpdateRequest = (update: DefaultConverterUpdate, expectedVersion?: number): DeviceUpdateRequest => { + const descriptor = update.installedItem.descriptor as DeviceInstalledItemDescriptor; + return { + versionId: update.installedItem.itemVersionId, + fromVersionId: update.installedItem.itemVersionId, + selectedInstallMethod: descriptor.selectedInstallMethod, + installState: {}, + steps: [{ + name: update.converter.name, + id: update.stateKey, + type: 'UPLINK_CONVERTER', + action: 'OVERWRITE', + entityId: update.converter.id.id, + expectedVersion, + // The user confirmed it in the dialog, which names the other packages it affects + confirmed: true, + resolution: descriptor.installState?.[update.stateKey]?.resolution ?? 'created', + defaultConverter: true, + entity: update.defaultConverter + }] + }; +}; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index db7ad21423..bc550bd817 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -57,7 +57,7 @@ }
    } @else if (hasConverterUpdate(item)) { - + +
    + @if (attachments().length) { +
    + @for (attachment of attachments(); track attachment.key) { + + @if (attachment.previewUrl && attachment.status !== 'error') { + + } @else { + {{ attachment.status === 'error' ? 'error_outline' : attachment.icon }} + } + + {{ attachment.name }} + {{ meta(attachment) }} + + @if (attachment.status === 'uploading') { + + } + + + } +
    } - - +
    + + + + + +
    +
    + @if (attachEnabled()) { + + } + + +
    + + +
    + {{ 'ai-assistant.send' | translate }} + Enter +
    +
    + + +
    {{ 'ai-assistant.add-files' | translate }}
    +

    {{ 'ai-assistant.add-files-text' | translate }}

    +

    {{ 'ai-assistant.add-files-hint' | translate: {count: maxPerMessage(), size: maxSize()} }}

    +
    + + +
    {{ 'ai-assistant.shortcuts' | translate }}
    +
    + {{ 'ai-assistant.send' | translate }} + Enter +
    +
    + {{ 'ai-assistant.new-line' | translate }} + ShiftEnter +
    +
    + {{ 'ai-assistant.focus-composer' | translate }} + / +
    +
    diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss index 479a9779cf..30c40cbe36 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss @@ -1,62 +1,583 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 +$ai-teal-300: #4db6ac; +$ai-teal-400: #26a69a; +$ai-action: #00695c; +$ai-action-hover: #004d40; +$ai-focus: #00695c; +$ai-teal-700: #00796b; +$ink: rgba(0, 0, 0, 0.87); +$ink-54: rgba(0, 0, 0, 0.54); +$ink-38: rgba(0, 0, 0, 0.38); +$faint: rgba(0, 0, 0, 0.56); +$line: rgba(0, 0, 0, 0.12); +$line-soft: rgba(0, 0, 0, 0.05); +$crit: #d12730; +$font: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; +$chevron: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E"; + :host { + display: block; width: 100%; +} - .prompt-input { - border-radius: 16px; - border: 1px solid rgba(0, 0, 0, 0.2); - background-color: #fff; - display: flex; - flex-direction: column; - flex: 1; - transition: border-color 0.15s ease, box-shadow 0.15s ease; - --mat-form-field-outlined-outline-width: 0px; - --mat-form-field-outlined-focus-outline-width: 0px; +.tb-ai-composer { + width: 100%; + font-family: $font; + letter-spacing: 0.25px; + text-align: left; + + .composer-field { + position: relative; + display: flow-root; + background: #fff; + border: 1px solid transparent; + border-radius: 14px; + box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.04), 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.08); + transition: border-color .18s ease, box-shadow .18s ease; &:focus-within { - border-color: rgba(0, 0, 0, 0.32); - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); + border-color: $ai-focus; + box-shadow: 0 0 0 1px $ai-focus, 0 8px 24px rgba(0, 105, 92, 0.12); + + .composer-chevron { + color: $ai-focus; + } } + } + + &.drop .composer-field { + box-shadow: inset 0 0 0 2px $ai-teal-300; + background: color-mix(in srgb, $ai-action 4%, #fff); + } - .pending-attachments { - padding: 12px 12px 0; + .composer-files { + display: flex; + flex-wrap: wrap; + gap: 6px; + margin: 10px 12px 0 16px; + } + + .composer-file { + position: relative; + display: inline-flex; + align-items: center; + gap: 10px; + max-width: 100%; + overflow: hidden; + padding: 6px 10px 6px 8px; + border: 1px solid $line; + border-radius: 8px; + background: #fff; + font-size: 13.5px; + line-height: 20px; + animation: composer-file-in .12s ease-out; + + .mat-icon { + flex: none; + color: $ink-54; } - .prompt-field { - width: 100%; + .file-pic { + flex: none; + width: 32px; + height: 32px; + border-radius: 6px; + background: linear-gradient(135deg, #cfd8dc, #90a4ae) center / cover no-repeat; + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); } - .prompt-toolbar { + .file-text { display: flex; - align-items: center; - gap: 4px; - padding: 0 8px 8px; + flex-direction: column; + min-width: 0; + overflow-wrap: anywhere; + + b { + max-width: 240px; + overflow: hidden; + font-size: 13.5px; + font-weight: 500; + line-height: 18px; + color: $ink; + text-overflow: ellipsis; + white-space: nowrap; + } + + small { + font-size: 12px; + line-height: 16px; + color: $faint; + } } - .attach-button { - color: rgba(0, 0, 0, 0.6); - border: 1px solid rgba(0, 0, 0, 0.16); + .file-bar { + position: absolute; + left: 0; + bottom: 0; + height: 2px; + background: $ai-action; + transition: width .15s linear; + } + + .file-remove { + flex: none; + display: inline-flex; + align-items: center; + justify-content: center; + width: 24px; + height: 24px; + margin-right: -4px; + padding: 0; + border: 0; + border-radius: 50%; + background: none; + color: $ink-54; + cursor: pointer; &:hover { - color: rgba(0, 0, 0, 0.87); - border-color: rgba(0, 0, 0, 0.32); + background: rgba(0, 0, 0, 0.06); + color: $ink; + } + } + + &.up small { + color: $ai-teal-700; + } + + &.bad { + border-color: color-mix(in srgb, $crit 40%, transparent); + background: color-mix(in srgb, $crit 4%, #fff); + + .mat-icon, small { + color: $crit; + } + } + } + + .composer-row { + position: relative; + display: flex; + align-items: flex-start; + gap: 10px; + padding: 8px 0 8px 16px; + } + + .composer-chevron { + --chevron: 18px; + display: flex; + flex: none; + align-items: center; + height: 24px; + margin: 4px 0 0 -2px; + color: $ai-action; + transition: color .18s ease; + + &::before { + content: ''; + width: var(--chevron); + height: var(--chevron); + background: currentColor; + mask: url($chevron) center / contain no-repeat; + } + } + + textarea { + flex: 1; + min-width: 0; + min-height: 72px; + max-height: 240px; + margin: 4px 0 0; + padding: 0 58px 0 0; + border: 0; + outline: 0; + resize: none; + background: transparent; + font-family: $font; + font-size: 16px; + line-height: 24px; + letter-spacing: normal; + color: $ink; + caret-color: $ai-action; + tab-size: 2; + transition: height .12s ease; + + &::placeholder { + color: $faint; + } + } + + .composer-send-slot { + position: absolute; + right: 12px; + bottom: 12px; + display: inline-flex; + } + + .composer-send { + position: relative; + display: inline-flex; + flex: none; + align-items: center; + justify-content: center; + width: 36px; + height: 36px; + padding: 0; + border: 0; + border-radius: 10px; + background: $ai-action; + color: #fff; + cursor: pointer; + transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .16s cubic-bezier(.2, 0, 0, 1); + + &:hover:not(:disabled) { + background: $ai-action-hover; + + .return-glyph polyline { + transform: scale(1.12); + } + } + + &:active:not(:disabled) { + transform: scale(.92); + } + + &:focus-visible { + outline: 2px solid $ai-focus; + outline-offset: 2px; + } + + &:disabled { + background: rgba(0, 0, 0, 0.06); + color: $ink-38; + cursor: default; + } + + &.fly .return-glyph polyline { + animation: composer-grow .32s cubic-bezier(.2, 0, 0, 1); + } + } + + .return-glyph { + display: inline-flex; + width: 20px; + height: 20px; + + svg { + width: 100%; + height: 100%; + overflow: visible; + fill: none; + stroke: currentColor; + stroke-width: 2.2; + stroke-linecap: round; + stroke-linejoin: round; + } + + polyline { + transform-box: fill-box; + transform-origin: 0 50%; + transition: transform .16s ease-out; + } + } + + .composer-foot { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 2px; + padding: 2px 8px 6px 16px; + border-top: 1px solid $line-soft; + border-radius: 0 0 14px 14px; + font-size: 13px; + line-height: 18px; + color: rgba(0, 0, 0, 0.6); + } + + .composer-spacer { + flex: 1; + } + + .composer-tool { + display: inline-flex; + align-items: center; + justify-content: center; + width: 32px; + height: 32px; + margin: 0; + padding: 0; + border: 0; + border-radius: 8px; + background: none; + color: $ink-54; + cursor: pointer; + transition: background-color .12s ease, color .12s ease; + + &:hover, &[aria-describedby] { + background: $line-soft; + color: $ink; + } + + &:focus-visible { + outline: 2px solid $ai-focus; + outline-offset: 1px; + color: $ink; + } + } + + .composer-foot > .composer-add:first-child { + margin-left: -9px; + } + + &.docked { + border-top: 1px solid $line; + background: #fff; + font-size: 14px; + line-height: 20px; + transition: border-top-color .18s ease; + + &:focus-within { + border-top-color: $ai-focus; + } + + .composer-field { + border: 0; + border-radius: 0; + box-shadow: none; + transition: box-shadow .18s ease; + + &:focus-within { + box-shadow: inset 0 1px 0 $ai-focus; } } + + &.drop .composer-field { + box-shadow: inset 0 0 0 2px $ai-teal-300; + } + + .composer-files { + margin: 8px 8px 0 12px; + } + + .composer-row { + gap: 6px; + padding: 6px 0 6px 12px; + } + + .composer-chevron { + --chevron: 17px; + height: 22px; + } + + textarea { + min-height: 44px; + max-height: 160px; + padding-right: 44px; + font-size: 14px; + line-height: 20px; + } + + .composer-send-slot { + right: 8px; + bottom: 8px; + } + + .composer-send { + width: 28px; + height: 28px; + border-radius: 8px; + } + + .return-glyph { + width: 17px; + height: 17px; + + svg { + stroke-width: 2.4; + } + } + + .composer-foot { + flex-wrap: nowrap; + gap: 6px 8px; + padding: 2px 8px 6px 12px; + border-radius: 0; + font-size: 12px; + } + + .composer-tool { + width: 28px; + height: 28px; + } + + .composer-foot > .composer-add:first-child { + margin-left: -7.5px; + } + } +} + +@keyframes composer-grow { + 0% { + transform: none; + } + 40% { + transform: scale(1.2); + } + 100% { + transform: none; } } -:host::ng-deep { - .prompt-input .prompt-field { - .mdc-text-field--outlined { - padding-left: 16px; - padding-right: 16px; +@keyframes composer-file-in { + from { + opacity: 0; + transform: translateY(2px); + } +} + +@media (prefers-reduced-motion: reduce) { + .tb-ai-composer { + .composer-file { + animation: none; } - .mat-mdc-form-field-infix { - padding-top: 14px; - padding-bottom: 6px; - min-height: 0; + .composer-send .return-glyph polyline { + animation: none; + transition: none; + transform: none !important; + } + + &.docked, .file-bar { + transition: none; + } + } +} + +::ng-deep .tb-ai-tip { + position: fixed; + left: 0; + top: 0; + z-index: 1100; + box-sizing: border-box; + width: max-content; + max-width: min(248px, calc(100vw - 16px)); + padding: 9px 12px 10px; + border-radius: 8px; + background: #1f2a31; + color: #d5dde2; + font: 400 12px/17px $font; + letter-spacing: .1px; + box-shadow: 0 6px 20px rgba(16, 24, 40, 0.22); + opacity: 0; + transform: translateY(4px); + pointer-events: none; + transition: opacity .12s ease, transform .16s cubic-bezier(.2, 0, 0, 1); + + &.below { + transform: translateY(-4px); + } + + &.on { + opacity: 1; + transform: none; + } + + &::after { + content: ''; + position: absolute; + left: var(--arrow-x, 50%); + top: 100%; + margin-left: -5px; + border: 5px solid transparent; + border-top-color: #1f2a31; + } + + &.below::after { + top: auto; + bottom: 100%; + border-top-color: transparent; + border-bottom-color: #1f2a31; + } + + b { + display: block; + margin: 0; + font-size: 13px; + line-height: 18px; + font-weight: 500; + color: #fff; + } + + p { + margin: 0; + font: inherit; + letter-spacing: inherit; + } + + p + p { + margin-top: 3px; + } + + .tip-sub { + color: #9fadb7; + } + + .tip-head { + display: flex; + align-items: baseline; + justify-content: space-between; + gap: 16px; + margin-bottom: 3px; + } + + .tip-keyrow { + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + min-height: 22px; + } + + .tip-caps { + display: inline-flex; + gap: 3px; + } + + kbd { + min-width: 16px; + height: 17px; + box-sizing: border-box; + padding: 0 4px; + border: 0; + border-radius: 4px; + background: rgba(255, 255, 255, 0.14); + color: #fff; + font: 500 10.5px/17px $font; + text-align: center; + } + + &.tip-keys { + min-width: 208px; + + .tip-head { + margin-bottom: 2px; + } + } + + &.tip-mini { + min-width: 0; + padding: 5px 8px 6px; + + .tip-keyrow { + gap: 10px; + min-height: 18px; + } + } + + @media (prefers-reduced-motion: reduce) { + &, &.below { + transform: none; + transition: opacity .1s; } } } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts index 422e510d36..5fe50436e4 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts @@ -6,6 +6,7 @@ import { computed, ElementRef, EventEmitter, + HostListener, inject, Input, OnChanges, @@ -18,30 +19,38 @@ import { ViewChild } from '@angular/core'; import { FormControl } from '@angular/forms'; -import { CdkTextareaAutosize } from '@angular/cdk/text-field'; import { toSignal } from '@angular/core/rxjs-interop'; -import { of, Subscription } from 'rxjs'; -import { Store } from '@ngrx/store'; +import { Subscription } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { DomSanitizer } from '@angular/platform-browser'; -import { AppState } from '@core/core.state'; -import { ActionNotificationShow } from '@core/notification/notification.actions'; import { guid, isNotEmptyStr, parseHttpErrorMessage } from '@core/utils'; import { AiResourceService } from '@core/http/ai-resource.service'; -import { AiPromptMessage, AiResourceConfig } from '@shared/models/ai-chat.models'; -import { FileSizePipe } from '@shared/pipe/file-size.pipe'; +import { AiPromptMessage, AiResourceConfig, AiResourceInfo } from '@shared/models/ai-chat.models'; import { - AiAttachmentItem, + aiAttachmentKind, fitAiImage, + formatAiFileSize, isAiAttachmentAccepted, namePastedImage } from '@home/components/ai/ai-attachment.models'; -interface PendingAttachment extends AiAttachmentItem { +interface PendingAttachment { + key: string; + name: string; + size: number; + icon: string; + kind: string; + status: 'uploading' | 'ready' | 'error'; + progress: number; + reason?: string; previewUrl?: string; + resource?: AiResourceInfo; upload?: Subscription; } +const IMAGE_TYPES = ['image/png', 'image/jpeg', 'image/webp']; +const FLY_DURATION = 520; + @Component({ selector: 'tb-ai-prompt-input', templateUrl: './ai-prompt-input.component.html', @@ -51,25 +60,21 @@ interface PendingAttachment extends AiAttachmentItem { export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestroy { private aiResourceService = inject(AiResourceService); - private store = inject>(Store); private translate = inject(TranslateService); private sanitizer = inject(DomSanitizer); private renderer = inject(Renderer2); private host = inject>(ElementRef); - private fileSize = new FileSizePipe(); @Input() placeholder = ''; @Input() loading: boolean; - @Input() toastTarget: string; + @Input() docked = false; @Input() dropZone: HTMLElement; @Output() messageSent = new EventEmitter(); - @ViewChild('autosize') autosize!: CdkTextareaAutosize; - @ViewChild('textarea') textarea!: ElementRef; @ViewChild('fileInput') fileInput!: ElementRef; @@ -84,12 +89,27 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr accept = computed(() => this.config()?.extensions.join(',') ?? ''); + maxPerMessage = computed(() => this.config()?.maxPerMessage ?? 0); + + maxSize = computed(() => formatAiFileSize(this.config()?.maxSize ?? 0)); + uploading = computed(() => this.attachments().some(attachment => attachment.status === 'uploading')); + hasText = signal(false); + + dragging = signal(false); + + flying = signal(false); + private dropTarget: HTMLElement; - private dropOverlay: HTMLElement; private dragDepth = 0; private unlisten: Array<() => void> = []; + private flyTimer: ReturnType; + + get canSend(): boolean { + const ready = this.attachments().some(attachment => attachment.status === 'ready'); + return !this.loading && !this.uploading() && (!!this.message.value?.trim() || ready); + } ngOnChanges(changes: SimpleChanges): void { if (changes.dropZone) { @@ -101,27 +121,53 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr if (!this.dropTarget) { this.listenForDrops(this.host.nativeElement); } + setTimeout(() => this.resize()); } ngOnDestroy(): void { + clearTimeout(this.flyTimer); this.stopListening(); this.clearAttachments(true); } - onEnter(event: Event): void { - const ke = event as KeyboardEvent; - if (!ke.shiftKey) { - ke.preventDefault(); + @HostListener('document:keydown', ['$event']) + onDocumentKeydown(event: KeyboardEvent): void { + if (event.key !== '/' || event.metaKey || event.ctrlKey || event.altKey) { + return; + } + const target = event.target as HTMLElement; + if (target?.closest?.('input, textarea, select, [contenteditable]')) { + return; + } + const visible = Array.from(document.querySelectorAll('.tb-ai-composer textarea')) + .filter(textarea => textarea.offsetParent); + const field = this.textarea?.nativeElement; + if (field && visible[visible.length - 1] === field) { + event.preventDefault(); + field.focus(); + field.selectionStart = field.selectionEnd = field.value.length; + } + } + + onKeydown(event: KeyboardEvent): void { + if (event.key === 'Enter' && (!event.shiftKey || event.metaKey || event.ctrlKey)) { + event.preventDefault(); this.send(); } } + onInput(): void { + this.hasText.set(!!this.message.value); + this.resize(); + } + send(): void { const msg = this.message.value?.trim() ?? ''; const ready = this.attachments().filter(attachment => attachment.status === 'ready'); if (this.loading || this.uploading() || (!msg && !ready.length)) { return; } + this.fly(); this.clearText(); this.clearAttachments(false); this.messageSent.emit({message: msg, resources: ready.map(attachment => attachment.resource)}); @@ -138,9 +184,10 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr setValue(value: string): void { this.message.setValue(value); + this.hasText.set(!!value); setTimeout(() => { this.textarea?.nativeElement.focus(); - this.autosize?.resizeToFitContent(true); + this.resize(); }); } @@ -162,13 +209,19 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr } } - removeAttachment(item: AiAttachmentItem): void { - const attachment = this.attachments().find(candidate => candidate.key === item.key); - if (!attachment) { - return; - } + removeAttachment(attachment: PendingAttachment): void { this.discard(attachment); - this.attachments.update(list => list.filter(candidate => candidate !== attachment)); + this.attachments.update(list => list.filter(candidate => candidate.key !== attachment.key)); + } + + meta(attachment: PendingAttachment): string { + if (attachment.status === 'error') { + return attachment.reason; + } + if (attachment.status === 'uploading') { + return this.translate.instant('ai-assistant.attachment-uploading', {progress: attachment.progress}); + } + return `${this.translate.instant(attachment.kind)} · ${formatAiFileSize(attachment.size)}`; } async addFiles(files: File[]): Promise { @@ -177,35 +230,43 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr return; } for (const original of files) { - if (this.attachments().length >= config.maxPerMessage) { - this.showError(this.translate.instant('ai-assistant.attachments-limit', {count: config.maxPerMessage})); - return; + const accepted = this.attachments().filter(attachment => attachment.status !== 'error').length; + if (accepted >= config.maxPerMessage) { + this.refuse(original, this.translate.instant('ai-assistant.attachment-over-limit', {count: config.maxPerMessage})); + continue; } if (!isAiAttachmentAccepted(original, config.extensions)) { - this.showError(this.translate.instant('ai-assistant.attachment-not-supported', {name: original.name})); + this.refuse(original, this.translate.instant('ai-assistant.attachment-unsupported')); continue; } const file = await fitAiImage(original, config.maxSize); if (file.size > config.maxSize) { - this.showError(this.translate.instant('ai-assistant.attachment-too-large', - {name: original.name, size: this.fileSize.transform(config.maxSize)})); + this.refuse(original, this.translate.instant('ai-assistant.attachment-larger-than', {size: formatAiFileSize(config.maxSize)})); continue; } this.startUpload(file, config); } } + private refuse(file: File, reason: string): void { + this.attachments.update(list => [...list, { + ...this.describe(file, file.type), + status: 'error', + progress: 0, + reason + }]); + } + + private describe(file: File, mediaType: string): Pick { + const kind = aiAttachmentKind(mediaType, file.name); + return {key: guid(), name: file.name, size: file.size, icon: kind.icon, kind: kind.label}; + } + private startUpload(file: File, config: AiResourceConfig): void { - const image = ['image/png', 'image/jpeg', 'image/webp'].includes(file.type); - const previewUrl = image ? URL.createObjectURL(file) : undefined; + const previewUrl = IMAGE_TYPES.includes(file.type) ? URL.createObjectURL(file) : undefined; const attachment: PendingAttachment = { - key: guid(), - name: file.name, - mediaType: file.type || config.mediaTypes[0], - size: file.size, - image, + ...this.describe(file, file.type || config.mediaTypes[0]), previewUrl, - url$: previewUrl ? of(previewUrl) : undefined, status: 'uploading', progress: 0 }; @@ -221,10 +282,7 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr this.patch(attachment.key, {status: 'ready', resource: event.resource, progress: 100}); } }, - error: error => { - this.patch(attachment.key, {status: 'error'}); - this.showError(this.errorMessage(error, file.name)); - } + error: error => this.patch(attachment.key, {status: 'error', reason: this.errorMessage(error)}) }); this.patch(attachment.key, {upload}); } @@ -233,10 +291,29 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr this.attachments.update(list => list.map(attachment => attachment.key === key ? {...attachment, ...changes} : attachment)); } + private fly(): void { + this.flying.set(false); + clearTimeout(this.flyTimer); + requestAnimationFrame(() => { + this.flying.set(true); + this.flyTimer = setTimeout(() => this.flying.set(false), FLY_DURATION); + }); + } + + private resize(): void { + const field = this.textarea?.nativeElement; + if (!field) { + return; + } + const cap = this.docked ? Math.min(160, Math.round(innerHeight * 0.3)) : Math.min(220, Math.round(innerHeight * 0.4)); + field.style.height = 'auto'; + field.style.height = Math.min(field.scrollHeight, cap) + 'px'; + } + private clearText(): void { this.message.reset(''); - // Not autosize.reset(): it restores a height captured before the placeholder was known. - this.autosize?.resizeToFitContent(true); + this.hasText.set(false); + setTimeout(() => this.resize()); } private clearAttachments(discard: boolean): void { @@ -244,9 +321,9 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr if (!attachments.length) { return; } - if (discard) { - attachments.forEach(attachment => this.discard(attachment)); - } + attachments + .filter(attachment => discard || attachment.status !== 'ready') + .forEach(attachment => this.discard(attachment)); this.attachments.set([]); } @@ -260,21 +337,10 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr } } - private errorMessage(error: any, name: string): string { + private errorMessage(error: any): string { const responseType = isNotEmptyStr(error?.error) ? 'text' : undefined; const message = error ? parseHttpErrorMessage(error, this.translate, responseType, this.sanitizer).message : null; - return message || this.translate.instant('ai-assistant.attachment-upload-failed', {name}); - } - - private showError(message: string): void { - this.store.dispatch(new ActionNotificationShow({ - message, - target: this.toastTarget, - modern: true, - type: 'error', - verticalPosition: 'bottom', - horizontalPosition: 'center' - })); + return message || this.translate.instant('ai-assistant.attachment-failed'); } private listenForDrops(target: HTMLElement): void { @@ -288,7 +354,7 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr } event.preventDefault(); if (this.dragDepth++ === 0) { - this.showDropOverlay(); + this.dragging.set(true); } }), this.renderer.listen(target, 'dragover', (event: DragEvent) => { @@ -299,7 +365,7 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr }), this.renderer.listen(target, 'dragleave', (event: DragEvent) => { if (hasFiles(event) && this.dragDepth > 0 && --this.dragDepth === 0) { - this.hideDropOverlay(); + this.dragging.set(false); } }), this.renderer.listen(target, 'drop', (event: DragEvent) => { @@ -308,7 +374,7 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr } event.preventDefault(); this.dragDepth = 0; - this.hideDropOverlay(); + this.dragging.set(false); this.addFiles(Array.from(event.dataTransfer.files ?? [])); }) ]; @@ -318,44 +384,7 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr this.unlisten.forEach(unlisten => unlisten()); this.unlisten = []; this.dragDepth = 0; - this.hideDropOverlay(); - } - - private showDropOverlay(): void { - if (this.dropOverlay || !this.dropTarget) { - return; - } - const overlay: HTMLElement = this.renderer.createElement('div'); - overlay.className = 'tb-ai-drop-overlay'; - Object.assign(overlay.style, { - position: 'absolute', inset: '8px', zIndex: '20', display: 'flex', flexDirection: 'column', gap: '8px', - alignItems: 'center', justifyContent: 'center', borderRadius: '12px', pointerEvents: 'none', - border: '2px dashed var(--tb-primary-500)', background: 'rgba(255, 255, 255, 0.92)', - color: 'var(--tb-primary-500)', fontSize: '16px', fontWeight: '500', textAlign: 'center', padding: '16px' - }); - const icon: HTMLElement = this.renderer.createElement('span'); - icon.className = 'material-icons'; - icon.style.fontSize = '40px'; - icon.textContent = 'upload_file'; - const title: HTMLElement = this.renderer.createElement('span'); - title.textContent = this.translate.instant('ai-assistant.drop-files'); - const hint: HTMLElement = this.renderer.createElement('span'); - Object.assign(hint.style, {fontSize: '13px', fontWeight: '400', color: 'rgba(0, 0, 0, 0.54)'}); - hint.textContent = this.translate.instant('ai-assistant.attachments-hint', - {size: this.fileSize.transform(this.config()?.maxSize ?? 0)}); - overlay.append(icon, title, hint); - if (getComputedStyle(this.dropTarget).position === 'static') { - this.renderer.setStyle(this.dropTarget, 'position', 'relative'); - } - this.renderer.appendChild(this.dropTarget, overlay); - this.dropOverlay = overlay; - } - - private hideDropOverlay(): void { - if (this.dropOverlay) { - this.dropOverlay.remove(); - this.dropOverlay = null; - } + this.dragging.set(false); } } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-tip.directive.ts b/ui-ngx/src/app/modules/home/components/ai/ai-tip.directive.ts new file mode 100644 index 0000000000..906f1b19ea --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/ai/ai-tip.directive.ts @@ -0,0 +1,216 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +import { + Directive, + ElementRef, + EmbeddedViewRef, + HostListener, + inject, + Injector, + Input, + NgZone, + OnDestroy, + TemplateRef +} from '@angular/core'; + +const SHOW_DELAY = 350; +const HIDE_DELAY = 80; +const MARGIN = 8; +const GAP = 10; +const TIP_ID = 'tb-ai-tip'; + +// One floating tip for the composer's controls: it lives on the page, so a scrolling log or a panel's edge never clips it. +// A pointer opens it after a short pause and moving to the next control swaps it at once; keyboard focus opens it at once; +// blur, Esc, a scroll or a resize close it. It sits above its control, kept 8px inside the window, below when there is no room. +class AiTipHost { + + private element: HTMLElement; + private owner: AiTipDirective; + private view: EmbeddedViewRef; + private showTimer: ReturnType; + private hideTimer: ReturnType; + private frame = 0; + private listening = false; + + get open(): boolean { + return !!this.owner; + } + + isOwner(tip: AiTipDirective): boolean { + return this.owner === tip; + } + + scheduleShow(tip: AiTipDirective): void { + this.clearTimers(); + this.showTimer = setTimeout(() => this.show(tip), this.owner ? 0 : SHOW_DELAY); + } + + scheduleHide(tip: AiTipDirective): void { + clearTimeout(this.showTimer); + this.hideTimer = setTimeout(() => { + if (this.owner === tip) { + this.hide(); + } + }, HIDE_DELAY); + } + + show(tip: AiTipDirective): void { + this.clearTimers(); + this.listen(); + const element = this.ensure(); + if (this.owner && this.owner !== tip) { + this.owner.trigger.removeAttribute('aria-describedby'); + } + this.view?.destroy(); + this.view = tip.render(); + element.className = 'tb-ai-tip ' + (tip.tipClass || ''); + element.replaceChildren(...this.view.rootNodes); + this.owner = tip; + tip.trigger.setAttribute('aria-describedby', TIP_ID); + cancelAnimationFrame(this.frame); + this.place(); + element.classList.add('on'); + } + + hide(): void { + clearTimeout(this.showTimer); + cancelAnimationFrame(this.frame); + if (!this.owner) { + return; + } + this.owner.trigger.removeAttribute('aria-describedby'); + this.owner = null; + this.element?.classList.remove('on'); + this.view?.destroy(); + this.view = null; + } + + private place(): void { + if (!this.owner) { + return; + } + const trigger = this.owner.trigger; + if (!trigger.isConnected) { + this.hide(); + return; + } + this.view?.detectChanges(); + const target = trigger.getBoundingClientRect(); + const tip = this.element.getBoundingClientRect(); + const center = target.left + target.width / 2; + const left = Math.round(Math.min(Math.max(MARGIN, center - tip.width / 2), innerWidth - tip.width - MARGIN)); + const below = target.top - tip.height - GAP < MARGIN; + const top = Math.round(below ? target.bottom + GAP : target.top - tip.height - GAP); + this.element.style.left = left + 'px'; + this.element.style.top = top + 'px'; + this.element.classList.toggle('below', below); + this.element.style.setProperty('--arrow-x', Math.round(Math.min(Math.max(12, center - left), tip.width - 12)) + 'px'); + this.frame = requestAnimationFrame(() => this.place()); + } + + private ensure(): HTMLElement { + if (!this.element) { + this.element = document.createElement('div'); + this.element.id = TIP_ID; + this.element.setAttribute('role', 'tooltip'); + document.body.appendChild(this.element); + } + return this.element; + } + + private listen(): void { + if (this.listening) { + return; + } + this.listening = true; + addEventListener('scroll', () => this.hide(), true); + addEventListener('resize', () => this.hide()); + document.addEventListener('keydown', (event) => { + if (event.key === 'Escape' && this.owner) { + this.hide(); + } + }); + } + + private clearTimers(): void { + clearTimeout(this.showTimer); + clearTimeout(this.hideTimer); + } +} + +const tipHost = new AiTipHost(); + +@Directive({ + selector: '[tbAiTip]', + standalone: false +}) +export class AiTipDirective implements OnDestroy { + + private elementRef = inject>(ElementRef); + private injector = inject(Injector); + private zone = inject(NgZone); + + @Input('tbAiTip') template: TemplateRef; + + @Input() tipClass: string; + + @Input() tipToggle = false; + + get trigger(): HTMLElement { + return this.elementRef.nativeElement; + } + + render(): EmbeddedViewRef { + const view = this.template.createEmbeddedView(null, this.injector); + view.detectChanges(); + return view; + } + + @HostListener('pointerenter', ['$event']) + onPointerEnter(event: PointerEvent): void { + if (event.pointerType !== 'touch') { + this.zone.runOutsideAngular(() => tipHost.scheduleShow(this)); + } + } + + @HostListener('pointerleave', ['$event']) + onPointerLeave(event: PointerEvent): void { + if (event.pointerType !== 'touch') { + tipHost.scheduleHide(this); + } + } + + @HostListener('focus') + onFocus(): void { + if (this.trigger.matches(':focus-visible')) { + this.zone.runOutsideAngular(() => tipHost.show(this)); + } + } + + @HostListener('blur') + onBlur(): void { + if (tipHost.isOwner(this)) { + tipHost.hide(); + } + } + + @HostListener('click', ['$event']) + onClick(event: MouseEvent): void { + if (!this.tipToggle) { + tipHost.hide(); + return; + } + event.preventDefault(); + if (tipHost.isOwner(this)) { + tipHost.hide(); + } else { + this.zone.runOutsideAngular(() => tipHost.show(this)); + } + } + + ngOnDestroy(): void { + if (tipHost.isOwner(this)) { + tipHost.hide(); + } + } +} diff --git a/ui-ngx/src/app/modules/home/components/ai/ai.module.ts b/ui-ngx/src/app/modules/home/components/ai/ai.module.ts index 41c417bf77..d837940241 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai.module.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai.module.ts @@ -14,6 +14,7 @@ import { AiLoadingModalComponent } from '@home/components/ai/ai-loading-modal.co import { AiNoTelemetryModalComponent } from '@home/components/ai/ai-no-telemetry-modal.component'; import { AiAttachmentsComponent } from '@home/components/ai/ai-attachments.component'; import { AiAttachmentPreviewDialogComponent } from '@home/components/ai/ai-attachment-preview-dialog.component'; +import { AiTipDirective } from '@home/components/ai/ai-tip.directive'; @NgModule({ declarations: [ @@ -27,7 +28,8 @@ import { AiAttachmentPreviewDialogComponent } from '@home/components/ai/ai-attac AiLoadingModalComponent, AiNoTelemetryModalComponent, AiAttachmentsComponent, - AiAttachmentPreviewDialogComponent + AiAttachmentPreviewDialogComponent, + AiTipDirective ], imports: [ CommonModule, diff --git a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html index e62faa3ee5..273961c214 100644 --- a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html +++ b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html @@ -72,7 +72,6 @@ diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 732ceab2ff..672aabeb2d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -714,15 +714,31 @@ "thinking": "Thinking...", "connection-lost": "Connection to the AI Assistant was lost. Reconnecting...", "reconnect-failed": "Couldn't reconnect to the AI Assistant. Reopen the chat to see its reply.", - "attach-files": "Attach files", - "drop-files": "Drop files to attach", - "attachments-hint": "Images, PDF, text and Office files up to {{size}} each", + "ask-the-assistant": "Ask the AI Assistant", + "send": "Send", + "new-line": "New line", + "focus-composer": "Focus the composer", + "shortcuts": "Shortcuts", + "add-files": "Add files", + "add-files-text": "PDFs, spreadsheets, images or text.", + "add-files-hint": "Up to {{count}}, {{size}} each. Or drop them here.", + "remove-file": "Remove {{name}}", "remove-attachment": "Remove attachment", "attachment-failed": "Upload failed", - "attachment-upload-failed": "Failed to upload {{name}}", - "attachment-not-supported": "{{name}} can't be attached: use images (PNG, JPEG, WebP), PDF, text files or Word, Excel and PowerPoint documents", - "attachment-too-large": "{{name}} is larger than {{size}}", - "attachments-limit": "A message can carry at most {{count}} files", + "attachment-uploading": "Uploading · {{progress}} %", + "attachment-unsupported": "Not supported: a PDF, spreadsheet, image or text", + "attachment-larger-than": "Larger than {{size}}", + "attachment-over-limit": "More than {{count}} files", + "file-kind": { + "image": "Image", + "pdf": "PDF", + "table": "Table", + "document": "Document", + "slides": "Slides", + "json": "JSON", + "text": "Text", + "file": "File" + }, "rename-chat-title": "Rename this chat", "export-chat": "Export chat", "main-title": "Hello! I'm your AI Assistant" From 38b2c838f446b0d092d89d5987bc75d191eaef5a Mon Sep 17 00:00:00 2001 From: Dmytro Khylko Date: Tue, 3 Nov 2026 21:44:24 +0200 Subject: [PATCH 424/559] Bump git-commit-id-maven-plugin to 10.0.1 to fix builds in git worktrees --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 20438090bb..44cdaa9147 100755 --- a/pom.xml +++ b/pom.xml @@ -1029,7 +1029,7 @@ io.github.git-commit-id git-commit-id-maven-plugin - 5.0.0 + 10.0.1 get-the-git-infos From 146dd72b2f472f5d1ab27f5f6e93ee454b6b597a Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Wed, 4 Nov 2026 09:40:59 +0100 Subject: [PATCH 425/559] Check stored edge on edge update --- .../server/controller/EdgeController.java | 4 +--- .../server/controller/EdgeControllerTest.java | 23 +++++++++++++++++++ .../service/validator/EdgeDataValidator.java | 9 +++++++- .../validator/EdgeDataValidatorTest.java | 16 +++++++++++++ 4 files changed, 48 insertions(+), 4 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/EdgeController.java b/application/src/main/java/org/thingsboard/server/controller/EdgeController.java index 58b4bca28f..926bea4ace 100644 --- a/application/src/main/java/org/thingsboard/server/controller/EdgeController.java +++ b/application/src/main/java/org/thingsboard/server/controller/EdgeController.java @@ -148,9 +148,7 @@ public class EdgeController extends BaseController { } } - Operation operation = created ? Operation.CREATE : Operation.WRITE; - - accessControlService.checkPermission(getCurrentUser(), Resource.EDGE, operation, edge.getId(), edge); + checkEntity(edge.getId(), edge, Resource.EDGE); return tbEdgeService.save(edge, edgeTemplateRootRuleChain, getCurrentUser()); } diff --git a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java index 080d5ecf63..c6815c8570 100644 --- a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java @@ -219,6 +219,29 @@ public class EdgeControllerTest extends AbstractControllerTest { tenantAdminUser.getId(), tenantAdminUser.getEmail(), ActionType.ADDED, new DataValidationException(msgError)); } + @Test + public void testSaveEdgeWithIdOfDifferentTenant() throws Exception { + Edge savedEdge = doPost("/api/edge", constructEdge("My edge", "default"), Edge.class); + + loginDifferentTenant(); + try { + Edge edge = constructEdge("Different tenant edge", "other"); + edge.setId(savedEdge.getId()); + doPost("/api/edge", edge) + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msgErrorPermission))); + } finally { + deleteDifferentTenant(); + } + + loginTenantAdmin(); + Edge foundEdge = doGet("/api/edge/" + savedEdge.getId().getId().toString(), Edge.class); + Assert.assertEquals(tenantId, foundEdge.getTenantId()); + Assert.assertEquals(savedEdge.getName(), foundEdge.getName()); + Assert.assertEquals(savedEdge.getRoutingKey(), foundEdge.getRoutingKey()); + Assert.assertEquals(savedEdge.getSecret(), foundEdge.getSecret()); + } + @Test public void testFindEdgeById() throws Exception { Edge edge = constructEdge("My edge", "default"); diff --git a/dao/src/main/java/org/thingsboard/server/dao/service/validator/EdgeDataValidator.java b/dao/src/main/java/org/thingsboard/server/dao/service/validator/EdgeDataValidator.java index a549971cc5..246793b2cf 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/service/validator/EdgeDataValidator.java +++ b/dao/src/main/java/org/thingsboard/server/dao/service/validator/EdgeDataValidator.java @@ -33,7 +33,14 @@ public class EdgeDataValidator extends DataValidator { @Override protected Edge validateUpdate(TenantId tenantId, Edge edge) { - return edgeDao.findById(edge.getTenantId(), edge.getId().getId()); + Edge old = edgeDao.findById(edge.getTenantId(), edge.getId().getId()); + if (old == null) { + throw new DataValidationException("Can't update non existing edge!"); + } + if (!old.getTenantId().equals(edge.getTenantId())) { + throw new DataValidationException("Can't update edge tenant id!"); + } + return old; } @Override diff --git a/dao/src/test/java/org/thingsboard/server/dao/service/validator/EdgeDataValidatorTest.java b/dao/src/test/java/org/thingsboard/server/dao/service/validator/EdgeDataValidatorTest.java index 5e83301eed..71b43495f0 100644 --- a/dao/src/test/java/org/thingsboard/server/dao/service/validator/EdgeDataValidatorTest.java +++ b/dao/src/test/java/org/thingsboard/server/dao/service/validator/EdgeDataValidatorTest.java @@ -8,13 +8,16 @@ import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.bean.override.mockito.MockitoBean; import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; import org.thingsboard.server.common.data.edge.Edge; +import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.dao.customer.CustomerDao; import org.thingsboard.server.dao.edge.EdgeDao; +import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.dao.tenant.TenantService; import java.util.UUID; +import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.BDDMockito.willReturn; import static org.mockito.Mockito.verify; @@ -50,4 +53,17 @@ class EdgeDataValidatorTest { verify(validator).validateString("Edge type", edge.getType()); } + @Test + void testValidateUpdateWithDifferentTenant() { + Edge old = new Edge(new EdgeId(UUID.randomUUID())); + old.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + Edge edge = new Edge(old.getId()); + edge.setTenantId(tenantId); + willReturn(old).given(edgeDao).findById(tenantId, edge.getId().getId()); + + assertThatThrownBy(() -> validator.validateUpdate(tenantId, edge)) + .isInstanceOf(DataValidationException.class) + .hasMessage("Can't update edge tenant id!"); + } + } From 43c30fb67e94139b132e33f036fc574172863c51 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Wed, 4 Nov 2026 09:52:20 +0100 Subject: [PATCH 426/559] Relax permission message check in edge save test --- .../org/thingsboard/server/controller/EdgeControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java index c6815c8570..61c2f41f94 100644 --- a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java @@ -229,7 +229,7 @@ public class EdgeControllerTest extends AbstractControllerTest { edge.setId(savedEdge.getId()); doPost("/api/edge", edge) .andExpect(status().isForbidden()) - .andExpect(statusReason(containsString(msgErrorPermission))); + .andExpect(statusReason(containsString("You don't have permission to perform"))); } finally { deleteDifferentTenant(); } From cb8c1674b1d2a1d06be426c8deeeb31349cde0d6 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Wed, 4 Nov 2026 09:52:20 +0100 Subject: [PATCH 427/559] Fix DataValidationException import in EdgeDataValidatorTest --- .../server/dao/service/validator/EdgeDataValidatorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/src/test/java/org/thingsboard/server/dao/service/validator/EdgeDataValidatorTest.java b/dao/src/test/java/org/thingsboard/server/dao/service/validator/EdgeDataValidatorTest.java index 71b43495f0..3f7712ac45 100644 --- a/dao/src/test/java/org/thingsboard/server/dao/service/validator/EdgeDataValidatorTest.java +++ b/dao/src/test/java/org/thingsboard/server/dao/service/validator/EdgeDataValidatorTest.java @@ -12,7 +12,7 @@ import org.thingsboard.server.common.data.id.EdgeId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.dao.customer.CustomerDao; import org.thingsboard.server.dao.edge.EdgeDao; -import org.thingsboard.server.dao.exception.DataValidationException; +import org.thingsboard.server.exception.DataValidationException; import org.thingsboard.server.dao.tenant.TenantService; import java.util.UUID; From 4fcfe6c8988c1269915049f891fafbaf131b3750 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 4 Nov 2026 11:14:18 +0200 Subject: [PATCH 428/559] fix(iot-hub): the SocketSync gateway is decoded by its own datasheet (Plug Bluetooth Gateway DataSheet 1.5): Registration, Heartbeat, Beacon, Alarm Beacon List and Acknowledgment from the raw frame; the test has an uplink of each, built from the datasheet; BigDecimal imported in the test --- .../controller/ConverterControllerTest.java | 3 +- .../things_stack_lansitec_uplinks.json | 309 +++++++++++++++--- .../src/assets/converters/js-tti-decoder.raw | 106 +++++- .../src/assets/converters/js-ttn-decoder.raw | 106 +++++- .../assets/converters/tbel-tti-decoder.raw | 116 ++++++- .../assets/converters/tbel-ttn-decoder.raw | 116 ++++++- 6 files changed, 667 insertions(+), 89 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index d7999fac6d..1abe155e74 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -41,6 +41,7 @@ import org.thingsboard.server.exception.DataValidationException; import java.io.IOException; import java.io.InputStream; +import java.math.BigDecimal; import java.math.RoundingMode; import java.nio.charset.StandardCharsets; import java.util.ArrayList; @@ -781,7 +782,7 @@ public class ConverterControllerTest extends AbstractControllerTest { return actual == expected; } try { - return new java.math.BigDecimal(actual.asText()).compareTo(new java.math.BigDecimal(expected.asText())) == 0; + return new BigDecimal(actual.asText()).compareTo(new BigDecimal(expected.asText())) == 0; } catch (NumberFormatException e) { return actual.asText().equals(expected.asText()); } diff --git a/application/src/test/resources/payload/things_stack_lansitec_uplinks.json b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json index 1f36af2b88..1d5ce0b72c 100644 --- a/application/src/test/resources/payload/things_stack_lansitec_uplinks.json +++ b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json @@ -1373,7 +1373,7 @@ } }, { - "name": "socketsync Heartbeat 0x50", + "name": "socketsync Registration 5.1 (built from DataSheet 1.5)", "uplink": { "end_device_ids": { "device_id": "lt-socket-sync-bluetooth-gateway", @@ -1390,15 +1390,83 @@ "received_at": "2026-11-02T10:32:54.523762899Z", "uplink_message": { "f_port": 1, - "frm_payload": "IWQ+Az4AbFA=", + "frm_payload": "RiCCFABaEAr/Onw=", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "socket-sync-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-socket-sync-bluetooth-gateway", + "attributes": { + "adr": "OFF", + "mode": "EU868", + "loraWanFrequencyBand": "EU868", + "loraTxPower": 16, + "continuousBleReceiving": "Continuous Bluetooth receiving is enabled", + "powerDownFlag": "Normal status", + "dataRate": "DR1", + "gatewayType": "Plug gateway", + "rssiSortingMethod": "Sort by average", + "positionReportInterval": 450, + "bluetoothReceivingDuration": 16, + "heartbeatInterval": 300, + "beaconQuantityLimit": 510 + } + } + }, + { + "name": "socketsync Heartbeat 5.2, SNR -5.00, Charging (built from DataSheet 1.5)", + "uplink": { + "end_device_ids": { + "device_id": "lt-socket-sync-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0004", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX3DFWNQE3WSG9JNFTAG7B", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:ec26c3c1-e861-4d65-b6e7-1206e538a5c7" + ], + "received_at": "2026-11-02T10:32:54.523762899Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IVA+/gwbUDp8", "decoded_payload": { "bytes": { - "chgstate": "Not charging", - "rssi": "-62dBm", - "snr": "8.3dB", "type": "Heartbeat", - "ver": "VER108", - "vol": "100%" + "vol": "80%", + "rssi": "-62dBm", + "snr": "650.36dB", + "ver": "VER6992", + "chgstate": 10 } }, "rx_metadata": [ @@ -1434,42 +1502,109 @@ "decoded": { "profile": "lansitec-socket-sync-bluetooth-gateway", "telemetry": { - "loraRssi": -62.0, - "loraSnr": 8.3, - "ver": "VER108", - "vol": 100.0 + "vol": 80, + "loraRssi": -62, + "loraSnr": -5.0, + "deviceFirmwareVersion": "1B", + "chargeState": "Charging" } } }, { - "name": "gw Multi 4.4.7, same data length (built from 4.4.7)", + "name": "socketsync Beacon 5.3 (built from DataSheet 1.5)", "uplink": { "end_device_ids": { - "device_id": "lt-compact-bluetooth-gateway", + "device_id": "lt-socket-sync-bluetooth-gateway", "application_ids": { "application_id": "ansitec-test" }, - "dev_eui": "70B3D57ED01A0000", + "dev_eui": "70B3D57ED01A0004", "join_eui": "0000000000000000" }, "correlation_ids": [ - "as:up:01M6E9MR7XDSV8F47HYQXZWNR9", - "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:3cb978ee-9803-4d8d-a720-f92b553f8f89" + "as:up:01M6DX3DFWNQE3WSG9JNFTAG7B", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:ec26c3c1-e861-4d65-b6e7-1206e538a5c7" ], - "received_at": "2026-11-02T14:12:05.501610818Z", + "received_at": "2026-11-02T10:32:54.523762899Z", "uplink_message": { "f_port": 1, - "frm_payload": "4gEGGkwAAhWqu7MBBhpMAAIVqry0", + "frm_payload": "YlYAAQACqlcAAwAEsA==", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "socket-sync-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-socket-sync-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "uuid": "5C38DBDE567C4CCAB1DA40A8AD465656", + "major": 1, + "minor": 2, + "rssi": -86 + }, + { + "uuid": "5C38DBDE567C4CCAB1DA40A8AD465657", + "major": 3, + "minor": 4, + "rssi": -80 + } + ] + } + } + }, + { + "name": "socketsync Alarm Beacon List 5.4 (built from DataSheet 1.5)", + "uplink": { + "end_device_ids": { + "device_id": "lt-socket-sync-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0004", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX3DFWNQE3WSG9JNFTAG7B", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:ec26c3c1-e861-4d65-b6e7-1206e538a5c7" + ], + "received_at": "2026-11-02T10:32:54.523762899Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "4VgACgALtQ==", "decoded_payload": { "bytes": { - "Device1ID": "Device type 1 message", - "Device1data": "061A4C000215AABB", - "Device1rssi": "-77dBm", - "Device2ID": "Device type 1 message", - "Device2data": "061A4C000215AABC", - "Device2rssi": "-76dBm", - "number": 2, - "type": "Multi-Device Type Message" + "type": "Multi-Device Type Message", + "number": 1, + "Device1ID": 0, + "Device1data": "000A000B", + "Device1rssi": "-75dBm" } }, "rx_metadata": [ @@ -1494,7 +1629,7 @@ }, "version_ids": { "brand_id": "lansitec", - "model_id": "compact-bluetooth-gateway", + "model_id": "socket-sync-bluetooth-gateway", "hardware_version": "1.0", "firmware_version": "1.0", "band_id": "EU_863_870" @@ -1503,25 +1638,21 @@ "simulated": true }, "decoded": { - "profile": "lansitec-compact-bluetooth-gateway", + "profile": "lansitec-socket-sync-bluetooth-gateway", "telemetry": { - "beacons": [ - { - "deviceType": 1, - "data": "061A4C000215AABB", - "rssi": -77 - }, + "alarmBeacons": [ { - "deviceType": 1, - "data": "061A4C000215AABC", - "rssi": -76 + "uuid": "5C38DBDE567C4CCAB1DA40A8AD465658", + "major": 10, + "minor": 11, + "rssi": -75 } ] } } }, { - "name": "socketsync Heartbeat SNR -5.00 (built)", + "name": "socketsync Acknowledgment 5.5 (built from DataSheet 1.5)", "uplink": { "end_device_ids": { "device_id": "lt-socket-sync-bluetooth-gateway", @@ -1532,21 +1663,18 @@ "join_eui": "0000000000000000" }, "correlation_ids": [ - "as:up:01M6E9MXMXMTGXT2EQG0C1KR2H", - "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:f011a6e8-29c0-40e0-97a6-3a4c763b6a07" + "as:up:01M6DX3DFWNQE3WSG9JNFTAG7B", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:ec26c3c1-e861-4d65-b6e7-1206e538a5c7" ], - "received_at": "2026-11-02T14:12:11.036297935Z", + "received_at": "2026-11-02T10:32:54.523762899Z", "uplink_message": { "f_port": 1, - "frm_payload": "IWQ+/gwAbFA=", + "frm_payload": "8AU=", "decoded_payload": { "bytes": { - "chgstate": "Not charging", - "rssi": "-62dBm", - "snr": "650.36dB", - "type": "Heartbeat", - "ver": "VER108", - "vol": "100%" + "type": "Acknowledgment", + "result": "downlink success", + "msgid": "5" } }, "rx_metadata": [ @@ -1582,10 +1710,87 @@ "decoded": { "profile": "lansitec-socket-sync-bluetooth-gateway", "telemetry": { - "loraRssi": -62, - "loraSnr": -5.0, - "ver": "VER108", - "vol": 100 + "result": "Success", + "msgid": 5 + } + } + }, + { + "name": "gw Multi 4.4.7, same data length (built from 4.4.7)", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6E9MR7XDSV8F47HYQXZWNR9", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:3cb978ee-9803-4d8d-a720-f92b553f8f89" + ], + "received_at": "2026-11-02T14:12:05.501610818Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "4gEGGkwAAhWqu7MBBhpMAAIVqry0", + "decoded_payload": { + "bytes": { + "Device1ID": "Device type 1 message", + "Device1data": "061A4C000215AABB", + "Device1rssi": "-77dBm", + "Device2ID": "Device type 1 message", + "Device2data": "061A4C000215AABC", + "Device2rssi": "-76dBm", + "number": 2, + "type": "Multi-Device Type Message" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "deviceType": 1, + "data": "061A4C000215AABB", + "rssi": -77 + }, + { + "deviceType": 1, + "data": "061A4C000215AABC", + "rssi": -76 + } + ] } } }, diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index f4f0d648cf..634d265574 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -5,7 +5,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: -// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; @@ -53,9 +54,9 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as -// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported -// devices: the beacons list has them. +// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads +// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', firmwareVersion: 'deviceFirmwareVersion', 'Firmware version': 'deviceFirmwareVersion', @@ -205,7 +206,7 @@ function lansitecBeaconList(beacons) { } // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways - // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + // with a datasheet get their beacons from the raw bytes instead; this is for the models with the gateway codec. if (list.length > 1 && list[0].data != null && list[0].data.length != 8) { return [list[0]]; } @@ -224,9 +225,6 @@ function lansitecRawValues(values, b, model) { lansitecBadgeRawValues(values, b, type); } else if (model == 'temperature-humidity-sensor' && type == 2) { lansitecTemperatureHumidityRawValues(values, b); - } else if (model == 'socket-sync-bluetooth-gateway' && type == 2 && b.length >= 8) { - // No datasheet: the codec reads the heartbeat as the compact gateway's (4.4.2), SNR in bytes 3-4 unsigned. - values.loraSnr = lansitecSnr(b, 3); } } @@ -416,10 +414,100 @@ function lansitecTemperatureHumidityRawValues(values, b) { values.humidity = b[offset + 2]; } +// Plug Bluetooth Gateway DataSheet 1.5 (990-01203), the SocketSync gateway. Its codec is the compact gateway's, but +// the messages are not: the codec gives nothing for the Registration (0x4) and the Beacon message (0x6), so The +// Things Stack sends them without decoded_payload, and it reads the Heartbeat and the Alarm Beacon List (0xE) with +// the compact gateway's layout. So every message is decoded from the raw bytes, with or without decoded_payload. +var LANSITEC_SOCKET_SYNC = 'socket-sync-bluetooth-gateway'; +// 5.1 Type bits 2-0 (MODE) and SMODE: the LoRa frequency plan. +var LANSITEC_SOCKET_SYNC_MODES = ['', 'AU915', '', 'CN470', 'AS923', 'EU433', 'EU868', 'US915']; +var LANSITEC_SOCKET_SYNC_BANDS = { 1: 'AU915', 4: 'CN470', 8: 'AS923', 16: 'EU433', 32: 'EU868', 64: 'US915' }; +// 5.1 CFG bits 3-1: the gateway type. +var LANSITEC_SOCKET_SYNC_TYPES = ['Outdoor gateway', 'Indoor gateway', 'Plug gateway']; +// Table 7: UUID List. A beacon gives the last byte of its UUID, the other bytes are the same for all of them. +var LANSITEC_SOCKET_SYNC_UUID = '5C38DBDE567C4CCAB1DA40A8AD4656'; + +function lansitecSocketSyncValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + if (type == 0x4 && b.length >= 10) { + // 5.1 Registration: Type (ADR, MODE), SMODE, POWER, CFG, POS (2), BLE Receiving Duration, HB, Beacon_QTY, CRC (2). + values.adr = (b[0] & 0x08) != 0 ? 'ON' : 'OFF'; + if (LANSITEC_SOCKET_SYNC_MODES[b[0] & 0x07] != '') { + values.mode = LANSITEC_SOCKET_SYNC_MODES[b[0] & 0x07]; + } + if (LANSITEC_SOCKET_SYNC_BANDS[b[1]] != null) { + values.loraWanFrequencyBand = LANSITEC_SOCKET_SYNC_BANDS[b[1]]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.continuousBleReceiving = (b[2] & 0x02) != 0 ? 'Continuous Bluetooth receiving is enabled' : 'Continuous Bluetooth receiving is disabled'; + values.powerDownFlag = (b[2] & 0x01) != 0 ? 'Automatic shutdown status' : 'Normal status'; + values.dataRate = 'DR' + ((b[3] >> 4) & 0x0F); + if (LANSITEC_SOCKET_SYNC_TYPES[(b[3] >> 1) & 0x07] != null) { + values.gatewayType = LANSITEC_SOCKET_SYNC_TYPES[(b[3] >> 1) & 0x07]; + } + values.rssiSortingMethod = (b[3] & 0x01) != 0 ? 'Sort by the maximum value' : 'Sort by average'; + // POS unit 5 s, 0 means off. HB unit 30 s. Beacon_QTY is half of the limit. + values.positionReportInterval = lansitecUint(b, 4, 2) * 5; + values.bluetoothReceivingDuration = b[6]; + values.heartbeatInterval = b[7] * 30; + values.beaconQuantityLimit = b[8] * 2; + } else if (type == 0x2 && b.length >= 7) { + // 5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (firmware, + // hex), CHGSTAT, CRC (2). The codec reads REV and CHGSTAT as the compact gateway's 2-byte version, and the + // first CRC byte as CHGSTAT. VOL keeps its name: the dashboard of the IoT Hub package reads it. + values.vol = b[1]; + values.loraRssi = -b[2]; + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = lansitecHex(b, 5, 6); + if (b[6] == 0x00) { + values.chargeState = 'Not charging'; + } else if (b[6] == 0x50) { + values.chargeState = 'Charging'; + } else if (b[6] == 0x60) { + values.chargeState = 'Charging completed'; + } + } else if (type == 0x6 || type == 0xE) { + // 5.3 Beacon and 5.4 Alarm Beacon List: Type (bits 3-0: number of beacons), then UUID tail number, Major (2), + // Minor (2) and RSSI (value - 256, dBm) of each beacon. The alarm list holds the beacons that trigger the alarm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 6) { + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * 6; + list.push({ + uuid: LANSITEC_SOCKET_SYNC_UUID + lansitecHex(b, start, start + 1), + major: lansitecUint(b, start + 1, 2), + minor: lansitecUint(b, start + 3, 2), + rssi: b[start + 5] - 256 + }); + } + values[type == 0x6 ? 'beacons' : 'alarmBeacons'] = list; + } + } else if (type == 0xF && b.length >= 2) { + // 5.5 Acknowledgment: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? 'Success' : 'Failure'; + values.msgid = b[1]; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.payloadFormat == 'JSON') { +if (metadata.brandId == 'lansitec' && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { + // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. + var socketSyncBytes = lansitecBase64ToBytes(metadata.data); + values = lansitecSocketSyncValues(socketSyncBytes); + // Registration (0x4) holds the device settings: attributes, not telemetry. + if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { + attributes = values; + values = {}; + } +} else if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); if (metadata.brandId == 'lansitec' && values.bytes != null && typeof values.bytes === 'object' && !Array.isArray(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index f4f0d648cf..634d265574 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -5,7 +5,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: -// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; @@ -53,9 +54,9 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as -// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported -// devices: the beacons list has them. +// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads +// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', firmwareVersion: 'deviceFirmwareVersion', 'Firmware version': 'deviceFirmwareVersion', @@ -205,7 +206,7 @@ function lansitecBeaconList(beacons) { } // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways - // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + // with a datasheet get their beacons from the raw bytes instead; this is for the models with the gateway codec. if (list.length > 1 && list[0].data != null && list[0].data.length != 8) { return [list[0]]; } @@ -224,9 +225,6 @@ function lansitecRawValues(values, b, model) { lansitecBadgeRawValues(values, b, type); } else if (model == 'temperature-humidity-sensor' && type == 2) { lansitecTemperatureHumidityRawValues(values, b); - } else if (model == 'socket-sync-bluetooth-gateway' && type == 2 && b.length >= 8) { - // No datasheet: the codec reads the heartbeat as the compact gateway's (4.4.2), SNR in bytes 3-4 unsigned. - values.loraSnr = lansitecSnr(b, 3); } } @@ -416,10 +414,100 @@ function lansitecTemperatureHumidityRawValues(values, b) { values.humidity = b[offset + 2]; } +// Plug Bluetooth Gateway DataSheet 1.5 (990-01203), the SocketSync gateway. Its codec is the compact gateway's, but +// the messages are not: the codec gives nothing for the Registration (0x4) and the Beacon message (0x6), so The +// Things Stack sends them without decoded_payload, and it reads the Heartbeat and the Alarm Beacon List (0xE) with +// the compact gateway's layout. So every message is decoded from the raw bytes, with or without decoded_payload. +var LANSITEC_SOCKET_SYNC = 'socket-sync-bluetooth-gateway'; +// 5.1 Type bits 2-0 (MODE) and SMODE: the LoRa frequency plan. +var LANSITEC_SOCKET_SYNC_MODES = ['', 'AU915', '', 'CN470', 'AS923', 'EU433', 'EU868', 'US915']; +var LANSITEC_SOCKET_SYNC_BANDS = { 1: 'AU915', 4: 'CN470', 8: 'AS923', 16: 'EU433', 32: 'EU868', 64: 'US915' }; +// 5.1 CFG bits 3-1: the gateway type. +var LANSITEC_SOCKET_SYNC_TYPES = ['Outdoor gateway', 'Indoor gateway', 'Plug gateway']; +// Table 7: UUID List. A beacon gives the last byte of its UUID, the other bytes are the same for all of them. +var LANSITEC_SOCKET_SYNC_UUID = '5C38DBDE567C4CCAB1DA40A8AD4656'; + +function lansitecSocketSyncValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + if (type == 0x4 && b.length >= 10) { + // 5.1 Registration: Type (ADR, MODE), SMODE, POWER, CFG, POS (2), BLE Receiving Duration, HB, Beacon_QTY, CRC (2). + values.adr = (b[0] & 0x08) != 0 ? 'ON' : 'OFF'; + if (LANSITEC_SOCKET_SYNC_MODES[b[0] & 0x07] != '') { + values.mode = LANSITEC_SOCKET_SYNC_MODES[b[0] & 0x07]; + } + if (LANSITEC_SOCKET_SYNC_BANDS[b[1]] != null) { + values.loraWanFrequencyBand = LANSITEC_SOCKET_SYNC_BANDS[b[1]]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.continuousBleReceiving = (b[2] & 0x02) != 0 ? 'Continuous Bluetooth receiving is enabled' : 'Continuous Bluetooth receiving is disabled'; + values.powerDownFlag = (b[2] & 0x01) != 0 ? 'Automatic shutdown status' : 'Normal status'; + values.dataRate = 'DR' + ((b[3] >> 4) & 0x0F); + if (LANSITEC_SOCKET_SYNC_TYPES[(b[3] >> 1) & 0x07] != null) { + values.gatewayType = LANSITEC_SOCKET_SYNC_TYPES[(b[3] >> 1) & 0x07]; + } + values.rssiSortingMethod = (b[3] & 0x01) != 0 ? 'Sort by the maximum value' : 'Sort by average'; + // POS unit 5 s, 0 means off. HB unit 30 s. Beacon_QTY is half of the limit. + values.positionReportInterval = lansitecUint(b, 4, 2) * 5; + values.bluetoothReceivingDuration = b[6]; + values.heartbeatInterval = b[7] * 30; + values.beaconQuantityLimit = b[8] * 2; + } else if (type == 0x2 && b.length >= 7) { + // 5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (firmware, + // hex), CHGSTAT, CRC (2). The codec reads REV and CHGSTAT as the compact gateway's 2-byte version, and the + // first CRC byte as CHGSTAT. VOL keeps its name: the dashboard of the IoT Hub package reads it. + values.vol = b[1]; + values.loraRssi = -b[2]; + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = lansitecHex(b, 5, 6); + if (b[6] == 0x00) { + values.chargeState = 'Not charging'; + } else if (b[6] == 0x50) { + values.chargeState = 'Charging'; + } else if (b[6] == 0x60) { + values.chargeState = 'Charging completed'; + } + } else if (type == 0x6 || type == 0xE) { + // 5.3 Beacon and 5.4 Alarm Beacon List: Type (bits 3-0: number of beacons), then UUID tail number, Major (2), + // Minor (2) and RSSI (value - 256, dBm) of each beacon. The alarm list holds the beacons that trigger the alarm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 6) { + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * 6; + list.push({ + uuid: LANSITEC_SOCKET_SYNC_UUID + lansitecHex(b, start, start + 1), + major: lansitecUint(b, start + 1, 2), + minor: lansitecUint(b, start + 3, 2), + rssi: b[start + 5] - 256 + }); + } + values[type == 0x6 ? 'beacons' : 'alarmBeacons'] = list; + } + } else if (type == 0xF && b.length >= 2) { + // 5.5 Acknowledgment: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? 'Success' : 'Failure'; + values.msgid = b[1]; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.payloadFormat == 'JSON') { +if (metadata.brandId == 'lansitec' && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { + // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. + var socketSyncBytes = lansitecBase64ToBytes(metadata.data); + values = lansitecSocketSyncValues(socketSyncBytes); + // Registration (0x4) holds the device settings: attributes, not telemetry. + if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { + attributes = values; + values = {}; + } +} else if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); if (metadata.brandId == 'lansitec' && values.bytes != null && typeof values.bytes === 'object' && !Array.isArray(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 79fac578f8..8adbe6983f 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -5,7 +5,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: -// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; @@ -53,9 +54,9 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as -// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported -// devices: the beacons list has them. +// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads +// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", firmwareVersion: "deviceFirmwareVersion", "Firmware version": "deviceFirmwareVersion", @@ -201,7 +202,7 @@ function lansitecBeaconList(beacons) { } // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways - // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + // with a datasheet get their beacons from the raw bytes instead; this is for the models with the gateway codec. if (list.size() > 1 && list[0].data != null && list[0].data.length() != 8) { var first = []; first.add(list[0]); @@ -222,9 +223,6 @@ function lansitecRawValues(values, b, model) { lansitecBadgeRawValues(values, b, type); } else if (model == "temperature-humidity-sensor" && type == 2) { lansitecTemperatureHumidityRawValues(values, b); - } else if (model == "socket-sync-bluetooth-gateway" && type == 2 && b.length >= 8) { - // No datasheet: the codec reads the heartbeat as the compact gateway's (4.4.2), SNR in bytes 3-4 unsigned. - values.loraSnr = lansitecSnr(b, 3); } } @@ -372,10 +370,110 @@ function lansitecTemperatureHumidityRawValues(values, b) { values.humidity = b[offset + 2] & 0xFF; } +// Plug Bluetooth Gateway DataSheet 1.5 (990-01203), the SocketSync gateway. Its codec is the compact gateway's, but +// the messages are not: the codec gives nothing for the Registration (0x4) and the Beacon message (0x6), so The +// Things Stack sends them without decoded_payload, and it reads the Heartbeat and the Alarm Beacon List (0xE) with +// the compact gateway's layout. So every message is decoded from the raw bytes, with or without decoded_payload. +var LANSITEC_SOCKET_SYNC = "socket-sync-bluetooth-gateway"; +// 5.1 Type bits 2-0 (MODE) and SMODE: the LoRa frequency plan. +var LANSITEC_SOCKET_SYNC_MODES = ["", "AU915", "", "CN470", "AS923", "EU433", "EU868", "US915"]; +var LANSITEC_SOCKET_SYNC_SMODES = [1, 4, 8, 16, 32, 64]; +var LANSITEC_SOCKET_SYNC_BANDS = ["AU915", "CN470", "AS923", "EU433", "EU868", "US915"]; +// 5.1 CFG bits 3-1: the gateway type. +var LANSITEC_SOCKET_SYNC_TYPES = ["Outdoor gateway", "Indoor gateway", "Plug gateway"]; +// Table 7: UUID List. A beacon gives the last byte of its UUID, the other bytes are the same for all of them. +var LANSITEC_SOCKET_SYNC_UUID = "5C38DBDE567C4CCAB1DA40A8AD4656"; + +function lansitecSocketSyncValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + if (type == 0x4 && b.length >= 10) { + // 5.1 Registration: Type (ADR, MODE), SMODE, POWER, CFG, POS (2), BLE Receiving Duration, HB, Beacon_QTY, CRC (2). + values.adr = (b[0] & 0x08) != 0 ? "ON" : "OFF"; + var mode = b[0] & 0x07; + if (LANSITEC_SOCKET_SYNC_MODES[mode] != "") { + values.mode = LANSITEC_SOCKET_SYNC_MODES[mode]; + } + var band = LANSITEC_SOCKET_SYNC_SMODES.indexOf(b[1] & 0xFF); + if (band >= 0) { + values.loraWanFrequencyBand = LANSITEC_SOCKET_SYNC_BANDS[band]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.continuousBleReceiving = (b[2] & 0x02) != 0 ? "Continuous Bluetooth receiving is enabled" : "Continuous Bluetooth receiving is disabled"; + values.powerDownFlag = (b[2] & 0x01) != 0 ? "Automatic shutdown status" : "Normal status"; + values.dataRate = "DR" + ((b[3] >> 4) & 0x0F); + var gatewayType = (b[3] >> 1) & 0x07; + if (gatewayType < LANSITEC_SOCKET_SYNC_TYPES.size()) { + values.gatewayType = LANSITEC_SOCKET_SYNC_TYPES[gatewayType]; + } + values.rssiSortingMethod = (b[3] & 0x01) != 0 ? "Sort by the maximum value" : "Sort by average"; + // POS unit 5 s, 0 means off. HB unit 30 s. Beacon_QTY is half of the limit. + values.positionReportInterval = parseBytesToInt(b, 4, 2, true) * 5; + values.bluetoothReceivingDuration = b[6] & 0xFF; + values.heartbeatInterval = (b[7] & 0xFF) * 30; + values.beaconQuantityLimit = (b[8] & 0xFF) * 2; + } else if (type == 0x2 && b.length >= 7) { + // 5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (firmware, + // hex), CHGSTAT, CRC (2). The codec reads REV and CHGSTAT as the compact gateway's 2-byte version, and the + // first CRC byte as CHGSTAT. VOL keeps its name: the dashboard of the IoT Hub package reads it. + values.vol = b[1] & 0xFF; + values.loraRssi = 0 - (b[2] & 0xFF); + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = bytesToHex(b).substring(10, 12); + var charge = b[6] & 0xFF; + if (charge == 0x00) { + values.chargeState = "Not charging"; + } else if (charge == 0x50) { + values.chargeState = "Charging"; + } else if (charge == 0x60) { + values.chargeState = "Charging completed"; + } + } else if (type == 0x6 || type == 0xE) { + // 5.3 Beacon and 5.4 Alarm Beacon List: Type (bits 3-0: number of beacons), then UUID tail number, Major (2), + // Minor (2) and RSSI (value - 256, dBm) of each beacon. The alarm list holds the beacons that trigger the alarm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 6) { + var hex = bytesToHex(b); + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * 6; + var item = {}; + item.uuid = LANSITEC_SOCKET_SYNC_UUID + hex.substring(2 * start, 2 * start + 2); + item.major = parseBytesToInt(b, start + 1, 2, true); + item.minor = parseBytesToInt(b, start + 3, 2, true); + item.rssi = (b[start + 5] & 0xFF) - 256; + list.add(item); + } + if (type == 0x6) { + values.beacons = list; + } else { + values.alarmBeacons = list; + } + } + } else if (type == 0xF && b.length >= 2) { + // 5.5 Acknowledgment: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? "Success" : "Failure"; + values.msgid = b[1] & 0xFF; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.payloadFormat == "JSON") { +if (metadata.brandId == "lansitec" && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { + // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. + var socketSyncBytes = base64ToBytes(metadata.data); + values = lansitecSocketSyncValues(socketSyncBytes); + // Registration (0x4) holds the device settings: attributes, not telemetry. + if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { + attributes = values; + values = {}; + } +} else if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); if (metadata.brandId == "lansitec" && isMap(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 79fac578f8..8adbe6983f 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -5,7 +5,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: -// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; @@ -53,9 +54,9 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as -// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported -// devices: the beacons list has them. +// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads +// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", firmwareVersion: "deviceFirmwareVersion", "Firmware version": "deviceFirmwareVersion", @@ -201,7 +202,7 @@ function lansitecBeaconList(beacons) { } // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways - // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + // with a datasheet get their beacons from the raw bytes instead; this is for the models with the gateway codec. if (list.size() > 1 && list[0].data != null && list[0].data.length() != 8) { var first = []; first.add(list[0]); @@ -222,9 +223,6 @@ function lansitecRawValues(values, b, model) { lansitecBadgeRawValues(values, b, type); } else if (model == "temperature-humidity-sensor" && type == 2) { lansitecTemperatureHumidityRawValues(values, b); - } else if (model == "socket-sync-bluetooth-gateway" && type == 2 && b.length >= 8) { - // No datasheet: the codec reads the heartbeat as the compact gateway's (4.4.2), SNR in bytes 3-4 unsigned. - values.loraSnr = lansitecSnr(b, 3); } } @@ -372,10 +370,110 @@ function lansitecTemperatureHumidityRawValues(values, b) { values.humidity = b[offset + 2] & 0xFF; } +// Plug Bluetooth Gateway DataSheet 1.5 (990-01203), the SocketSync gateway. Its codec is the compact gateway's, but +// the messages are not: the codec gives nothing for the Registration (0x4) and the Beacon message (0x6), so The +// Things Stack sends them without decoded_payload, and it reads the Heartbeat and the Alarm Beacon List (0xE) with +// the compact gateway's layout. So every message is decoded from the raw bytes, with or without decoded_payload. +var LANSITEC_SOCKET_SYNC = "socket-sync-bluetooth-gateway"; +// 5.1 Type bits 2-0 (MODE) and SMODE: the LoRa frequency plan. +var LANSITEC_SOCKET_SYNC_MODES = ["", "AU915", "", "CN470", "AS923", "EU433", "EU868", "US915"]; +var LANSITEC_SOCKET_SYNC_SMODES = [1, 4, 8, 16, 32, 64]; +var LANSITEC_SOCKET_SYNC_BANDS = ["AU915", "CN470", "AS923", "EU433", "EU868", "US915"]; +// 5.1 CFG bits 3-1: the gateway type. +var LANSITEC_SOCKET_SYNC_TYPES = ["Outdoor gateway", "Indoor gateway", "Plug gateway"]; +// Table 7: UUID List. A beacon gives the last byte of its UUID, the other bytes are the same for all of them. +var LANSITEC_SOCKET_SYNC_UUID = "5C38DBDE567C4CCAB1DA40A8AD4656"; + +function lansitecSocketSyncValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + if (type == 0x4 && b.length >= 10) { + // 5.1 Registration: Type (ADR, MODE), SMODE, POWER, CFG, POS (2), BLE Receiving Duration, HB, Beacon_QTY, CRC (2). + values.adr = (b[0] & 0x08) != 0 ? "ON" : "OFF"; + var mode = b[0] & 0x07; + if (LANSITEC_SOCKET_SYNC_MODES[mode] != "") { + values.mode = LANSITEC_SOCKET_SYNC_MODES[mode]; + } + var band = LANSITEC_SOCKET_SYNC_SMODES.indexOf(b[1] & 0xFF); + if (band >= 0) { + values.loraWanFrequencyBand = LANSITEC_SOCKET_SYNC_BANDS[band]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.continuousBleReceiving = (b[2] & 0x02) != 0 ? "Continuous Bluetooth receiving is enabled" : "Continuous Bluetooth receiving is disabled"; + values.powerDownFlag = (b[2] & 0x01) != 0 ? "Automatic shutdown status" : "Normal status"; + values.dataRate = "DR" + ((b[3] >> 4) & 0x0F); + var gatewayType = (b[3] >> 1) & 0x07; + if (gatewayType < LANSITEC_SOCKET_SYNC_TYPES.size()) { + values.gatewayType = LANSITEC_SOCKET_SYNC_TYPES[gatewayType]; + } + values.rssiSortingMethod = (b[3] & 0x01) != 0 ? "Sort by the maximum value" : "Sort by average"; + // POS unit 5 s, 0 means off. HB unit 30 s. Beacon_QTY is half of the limit. + values.positionReportInterval = parseBytesToInt(b, 4, 2, true) * 5; + values.bluetoothReceivingDuration = b[6] & 0xFF; + values.heartbeatInterval = (b[7] & 0xFF) * 30; + values.beaconQuantityLimit = (b[8] & 0xFF) * 2; + } else if (type == 0x2 && b.length >= 7) { + // 5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (firmware, + // hex), CHGSTAT, CRC (2). The codec reads REV and CHGSTAT as the compact gateway's 2-byte version, and the + // first CRC byte as CHGSTAT. VOL keeps its name: the dashboard of the IoT Hub package reads it. + values.vol = b[1] & 0xFF; + values.loraRssi = 0 - (b[2] & 0xFF); + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = bytesToHex(b).substring(10, 12); + var charge = b[6] & 0xFF; + if (charge == 0x00) { + values.chargeState = "Not charging"; + } else if (charge == 0x50) { + values.chargeState = "Charging"; + } else if (charge == 0x60) { + values.chargeState = "Charging completed"; + } + } else if (type == 0x6 || type == 0xE) { + // 5.3 Beacon and 5.4 Alarm Beacon List: Type (bits 3-0: number of beacons), then UUID tail number, Major (2), + // Minor (2) and RSSI (value - 256, dBm) of each beacon. The alarm list holds the beacons that trigger the alarm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 6) { + var hex = bytesToHex(b); + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * 6; + var item = {}; + item.uuid = LANSITEC_SOCKET_SYNC_UUID + hex.substring(2 * start, 2 * start + 2); + item.major = parseBytesToInt(b, start + 1, 2, true); + item.minor = parseBytesToInt(b, start + 3, 2, true); + item.rssi = (b[start + 5] & 0xFF) - 256; + list.add(item); + } + if (type == 0x6) { + values.beacons = list; + } else { + values.alarmBeacons = list; + } + } + } else if (type == 0xF && b.length >= 2) { + // 5.5 Acknowledgment: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? "Success" : "Failure"; + values.msgid = b[1] & 0xFF; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.payloadFormat == "JSON") { +if (metadata.brandId == "lansitec" && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { + // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. + var socketSyncBytes = base64ToBytes(metadata.data); + values = lansitecSocketSyncValues(socketSyncBytes); + // Registration (0x4) holds the device settings: attributes, not telemetry. + if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { + attributes = values; + values = {}; + } +} else if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); if (metadata.brandId == "lansitec" && isMap(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. From fe97edcc1156de340f6140ed5dd78e05048c3d4d Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Wed, 4 Nov 2026 11:00:19 +0100 Subject: [PATCH 429/559] Check entity group edge assignment and write permission --- .../controller/EntityGroupController.java | 2 +- .../rpc/sync/DefaultEdgeRequestsService.java | 89 ++++++++++++++----- .../server/controller/EdgeControllerTest.java | 36 ++++++++ .../server/edge/EntityGroupEdgeTest.java | 15 ++++ 4 files changed, 120 insertions(+), 22 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/EntityGroupController.java b/application/src/main/java/org/thingsboard/server/controller/EntityGroupController.java index 0813fe6b5d..cdf2f171c8 100644 --- a/application/src/main/java/org/thingsboard/server/controller/EntityGroupController.java +++ b/application/src/main/java/org/thingsboard/server/controller/EntityGroupController.java @@ -1389,7 +1389,7 @@ public class EntityGroupController extends AutoCommitController { Edge edge = checkEdgeId(edgeId, Operation.WRITE); EntityGroupId entityGroupId = new EntityGroupId(toUUID(strEntityGroupId)); - checkEntityGroupId(entityGroupId, Operation.READ); + checkEntityGroupId(entityGroupId, Operation.WRITE); EntityType groupType = checkStrEntityGroupType("groupType", strGroupType); EntityGroup savedEntityGroup = checkNotNull(entityGroupService.assignEntityGroupToEdge(getCurrentUser().getTenantId(), entityGroupId, edgeId, groupType)); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index 1a3d5aa9cb..0d1025f462 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -26,6 +26,7 @@ import org.thingsboard.rule.engine.api.SmsService; import org.thingsboard.rule.engine.api.notification.FirebaseService; import org.thingsboard.rule.engine.api.notification.SlackService; import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.DashboardInfo; import org.thingsboard.server.common.data.DataConstants; import org.thingsboard.server.common.data.Device; @@ -41,6 +42,7 @@ import org.thingsboard.server.common.data.edge.EdgeEventActionType; import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.group.EntityGroup; import org.thingsboard.server.common.data.id.AssetId; +import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; import org.thingsboard.server.common.data.id.EdgeId; @@ -566,34 +568,79 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { if (entityGroup == null || !isTenantEntity(tenantId, entityGroup.getOwnerId())) { return Futures.immediateFuture(null); } - ListenableFuture> entityIdsFuture; - try { - // TODO: refactor this to pagination - entityIdsFuture = entityGroupService.findAllEntityIdsAsync(edge.getTenantId(), entityGroupId, new PageLink(Integer.MAX_VALUE)); - } catch (IncorrectParameterException e) { - log.warn("[{}] Entity group not found to process entityGroupEntitiesRequestMsg {}", tenantId, entityGroupEntitiesRequestMsg, e); - return Futures.immediateFuture(null); - } - return Futures.transformAsync(entityIdsFuture, entityIds -> { - if (entityIds != null && !entityIds.isEmpty()) { - EntityType groupType = EntityType.valueOf(entityGroupEntitiesRequestMsg.getType()); - return switch (groupType) { - case DEVICE -> syncDevices(edge, entityIds, entityGroupId); - case ASSET -> syncAssets(edge, entityIds, entityGroupId); - case ENTITY_VIEW -> syncEntityViews(edge, entityIds, entityGroupId); - case DASHBOARD -> syncDashboards(edge, entityIds, entityGroupId); - case USER -> syncUsers(edge, entityIds, entityGroupId); - default -> Futures.immediateFuture(null); - }; - } else { - log.trace("No entities found for the requested entity group {} [{}]", entityGroupId.getId(), entityGroupEntitiesRequestMsg.getType()); + ListenableFuture assignedFuture = + entityGroupService.checkEntityGroupAssignedToEdgeAsync(tenantId, edge.getId(), entityGroupId, entityGroup.getType()); + return Futures.transformAsync(assignedFuture, assigned -> { + if (!Boolean.TRUE.equals(assigned) && !isEdgePublicUsersGroup(tenantId, edge, entityGroup)) { + log.warn("[{}][{}] Entity group {} is not assigned to edge, skipping request", tenantId, edge.getId(), entityGroupId); return Futures.immediateFuture(null); } + return syncEntityGroupEntities(tenantId, edge, entityGroupId, entityGroupEntitiesRequestMsg); }, dbCallbackExecutorService); } return Futures.immediateFuture(null); } + // Public Users groups are sent to the edge on sync without an edge assignment + private boolean isEdgePublicUsersGroup(TenantId tenantId, Edge edge, EntityGroup entityGroup) { + if (!EntityType.USER.equals(entityGroup.getType()) || !EntityGroup.GROUP_PUBLIC_USERS_NAME.equals(entityGroup.getName()) + || !EntityType.CUSTOMER.equals(entityGroup.getOwnerId().getEntityType())) { + return false; + } + Customer publicCustomer = findCustomer(tenantId, new CustomerId(entityGroup.getOwnerId().getId())); + if (publicCustomer == null || !publicCustomer.isPublic()) { + return false; + } + EntityId publicCustomerOwnerId = publicCustomer.getOwnerId(); + if (tenantId.equals(publicCustomerOwnerId)) { + return true; + } + EntityId ownerId = edge.getOwnerId(); + while (ownerId != null && EntityType.CUSTOMER.equals(ownerId.getEntityType())) { + if (ownerId.equals(publicCustomerOwnerId)) { + return true; + } + Customer customer = findCustomer(tenantId, new CustomerId(ownerId.getId())); + ownerId = customer != null ? customer.getOwnerId() : null; + } + return false; + } + + private Customer findCustomer(TenantId tenantId, CustomerId customerId) { + return entityService.fetchEntity(tenantId, customerId) + .filter(Customer.class::isInstance) + .map(Customer.class::cast) + .filter(customer -> tenantId.equals(customer.getTenantId())) + .orElse(null); + } + + private ListenableFuture syncEntityGroupEntities(TenantId tenantId, Edge edge, EntityGroupId entityGroupId, EntityGroupRequestMsg entityGroupEntitiesRequestMsg) { + ListenableFuture> entityIdsFuture; + try { + // TODO: refactor this to pagination + entityIdsFuture = entityGroupService.findAllEntityIdsAsync(edge.getTenantId(), entityGroupId, new PageLink(Integer.MAX_VALUE)); + } catch (IncorrectParameterException e) { + log.warn("[{}] Entity group not found to process entityGroupEntitiesRequestMsg {}", tenantId, entityGroupEntitiesRequestMsg, e); + return Futures.immediateFuture(null); + } + return Futures.transformAsync(entityIdsFuture, entityIds -> { + if (entityIds != null && !entityIds.isEmpty()) { + EntityType groupType = EntityType.valueOf(entityGroupEntitiesRequestMsg.getType()); + return switch (groupType) { + case DEVICE -> syncDevices(edge, entityIds, entityGroupId); + case ASSET -> syncAssets(edge, entityIds, entityGroupId); + case ENTITY_VIEW -> syncEntityViews(edge, entityIds, entityGroupId); + case DASHBOARD -> syncDashboards(edge, entityIds, entityGroupId); + case USER -> syncUsers(edge, entityIds, entityGroupId); + default -> Futures.immediateFuture(null); + }; + } else { + log.trace("No entities found for the requested entity group {} [{}]", entityGroupId.getId(), entityGroupEntitiesRequestMsg.getType()); + return Futures.immediateFuture(null); + } + }, dbCallbackExecutorService); + } + @Override public ListenableFuture processEntityGroupPermissionsRequest(TenantId tenantId, Edge edge, EntityGroupRequestMsg entityGroupEntitiesRequestMsg) { log.trace("[{}] processEntityGroupPermissionsRequest [{}][{}]", tenantId, edge.getName(), entityGroupEntitiesRequestMsg); diff --git a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java index 753d59d6e3..b724258616 100644 --- a/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/EdgeControllerTest.java @@ -69,6 +69,7 @@ import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.page.TimePageLink; import org.thingsboard.server.common.data.permission.GroupPermission; +import org.thingsboard.server.common.data.permission.ShareGroupRequest; import org.thingsboard.server.common.data.queue.Queue; import org.thingsboard.server.common.data.role.Role; import org.thingsboard.server.common.data.role.RoleType; @@ -282,6 +283,41 @@ public class EdgeControllerTest extends AbstractControllerTest { Assert.assertEquals(savedEdge.getSecret(), foundEdge.getSecret()); } + @Test + public void testAssignReadOnlyEntityGroupToEdgeByCustomerUser() throws Exception { + Edge edge = doPost("/api/edge", constructEdge("Customer edge", "default"), Edge.class); + doPost("/api/owner/CUSTOMER/" + customerId.getId() + "/EDGE/" + edge.getId().getId()) + .andExpect(status().isOk()); + + EntityGroup readOnlyGroup = new EntityGroup(); + readOnlyGroup.setType(EntityType.DEVICE); + readOnlyGroup.setName("Read only device group"); + readOnlyGroup = doPost("/api/entityGroup", readOnlyGroup, EntityGroup.class); + doPost("/api/entityGroup/" + readOnlyGroup.getId().getId() + "/share", + new ShareGroupRequest(customerId, true, null, true, null)) + .andExpect(status().isOk()); + + EntityGroup customerGroup = new EntityGroup(); + customerGroup.setType(EntityType.DEVICE); + customerGroup.setName("Customer device group"); + customerGroup.setOwnerId(customerId); + customerGroup = doPost("/api/entityGroup", customerGroup, EntityGroup.class); + + loginCustomerAdminUser(); + doGet("/api/entityGroup/" + readOnlyGroup.getId().getId()) + .andExpect(status().isOk()); + doPost("/api/edge/" + edge.getId().getId() + "/entityGroup/" + readOnlyGroup.getId().getId() + "/DEVICE") + .andExpect(status().isForbidden()); + doPost("/api/edge/" + edge.getId().getId() + "/entityGroup/" + customerGroup.getId().getId() + "/DEVICE") + .andExpect(status().isOk()); + + loginTenantAdmin(); + EntityGroupId readOnlyGroupId = readOnlyGroup.getId(); + PageData edgeGroups = doGetTypedWithPageLink("/api/entityGroups/edge/" + edge.getId().getId() + "/DEVICE?", + new TypeReference<>() {}, new PageLink(100)); + Assert.assertTrue(edgeGroups.getData().stream().noneMatch(g -> g.getId().equals(readOnlyGroupId))); + } + @Test public void testFindEdgeById() throws Exception { Edge edge = constructEdge("My edge", "default"); diff --git a/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java index 3d2d51c44e..9c54822fbd 100644 --- a/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java @@ -214,6 +214,21 @@ public class EntityGroupEdgeTest extends AbstractEdgeTest { .build())); } + @Test + public void testSendEntityGroupEntitiesRequestForGroupNotAssignedToEdgeToCloud() throws Exception { + EntityGroup entityGroup = new EntityGroup(); + entityGroup.setName("Device Group Not Assigned To Edge"); + entityGroup.setType(EntityType.DEVICE); + entityGroup = doPost("/api/entityGroup", entityGroup, EntityGroup.class); + saveDevice("Device Not Assigned To Edge", "default", entityGroup.getId()); + + EntityGroupId entityGroupId = entityGroup.getId(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addEntityGroupEntitiesRequestMsg(EntityGroupRequestMsg.newBuilder() + .setEntityGroupIdMSB(entityGroupId.getId().getMostSignificantBits()) + .setEntityGroupIdLSB(entityGroupId.getId().getLeastSignificantBits()) + .setType(EntityType.DEVICE.name()).build())); + } + private EntityGroup saveDifferentTenantGroup(EntityType groupType, EntityId entityId) throws Exception { EntityGroup entityGroup = new EntityGroup(); entityGroup.setType(groupType); From 3a7b192d6a96b3825787cc39a8356fea76e17ded Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 4 Nov 2026 15:00:12 +0200 Subject: [PATCH 430/559] fix(iot-hub): update a device package through the install wizard of the new version Updating an installed device package removed every entity it created and installed nothing again, while the installed item showed the new version. The update dialog now warns that the package is installed again and opens the install wizard of the new version. The wizard removes the installed version with its entities only when it starts creating the new entities, so closing it earlier keeps the package as it was. The server removes the installed item together with its entities, and the wizard registers the new version when it is done. The entity-modified check is skipped for device packages: their checksum was never computed, so it asked on every update. --- .../service/iot_hub/DefaultIotHubService.java | 23 ++++-- .../iot_hub/DefaultIotHubServiceTest.java | 74 +++++++++++++++++++ .../device-install-dialog.component.ts | 49 +++++++++++- .../iot-hub/iot-hub-actions.service.ts | 23 +++++- .../iot-hub-update-dialog.component.ts | 16 +++- .../assets/locale/locale.constant-en_US.json | 1 + 6 files changed, 171 insertions(+), 15 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 7e6a2d88ad..e727e28f30 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -346,8 +346,9 @@ public class DefaultIotHubService implements IotHubService { String itemType = installedItem.getItemType(); IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor(); - // Skip checksum validation for solution templates - if (!"SOLUTION_TEMPLATE".equals(itemType)) { + // Skip checksum validation for solution templates and device packages: both are removed and installed again, + // and the update dialog warns about that before the user confirms. + if (!"SOLUTION_TEMPLATE".equals(itemType) && !"DEVICE".equals(itemType)) { JsonNode installedVersionInfo = iotHubRestClient.getVersionInfo(installedItem.getItemVersionId().toString()); if (installedVersionInfo == null) { throw new IllegalArgumentException("Failed to get installed version info from IoT Hub"); @@ -377,6 +378,18 @@ public class DefaultIotHubService implements IotHubService { throw new IllegalArgumentException("Installed item type does not match the new version's item type."); } + if ("DEVICE".equals(itemType)) { + // A device package is installed by the wizard in the UI: it needs the user's input (gateway name, + // credentials and so on), so the server cannot install the new version itself. The wizard calls this + // right before it creates the new version's entities, and registers the new version when it is done. + // Remove the installed item together with its entities, so it never shows the new version with + // nothing installed. + deleteDevicePackageEntities(tenantId, ((DeviceInstalledItemDescriptor) descriptor).getCreatedEntityIds(), user); + iotHubInstalledItemService.deleteById(tenantId, installedItemId); + log.info("[{}] Removed device package {} for the install of version {}", tenantId, installedItem.getItemName(), versionId); + return UpdateItemVersionResult.success(descriptor); + } + String itemName = versionInfo.get("name").asText(); String version = versionInfo.get("version").asText(); @@ -387,12 +400,6 @@ public class DefaultIotHubService implements IotHubService { case "WIDGET" -> updateWidget(user, tenantId, (WidgetInstalledItemDescriptor) descriptor, fileData); case "CALCULATED_FIELD" -> updateCalculatedField(user, tenantId, (CalculatedFieldInstalledItemDescriptor) descriptor, fileData); case "RULE_CHAIN" -> updateRuleChain(tenantId, (RuleChainInstalledItemDescriptor) descriptor, fileData); - case "DEVICE" -> { - DeviceInstalledItemDescriptor dd = (DeviceInstalledItemDescriptor) descriptor; - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); - dd.setCreatedEntityIds(null); - dd.setDashboardId(null); - } case "SOLUTION_TEMPLATE" -> { SolutionTemplateInstalledItemDescriptor stDescriptor = (SolutionTemplateInstalledItemDescriptor) descriptor; solutionService.deleteSolution(tenantId, stDescriptor, user); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 559215e526..856629ddfb 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -13,11 +13,21 @@ import org.mockito.Mock; import org.mockito.Spy; import org.mockito.junit.jupiter.MockitoExtension; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.Dashboard; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; +import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; +import org.thingsboard.server.service.entitiy.device.TbDeviceService; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.List; @@ -48,6 +58,14 @@ class DefaultIotHubServiceTest { private IotHubRestClient iotHubRestClient; @Mock private IotHubInstalledItemService iotHubInstalledItemService; + @Mock + private DeviceService deviceService; + @Mock + private TbDeviceService tbDeviceService; + @Mock + private DashboardService dashboardService; + @Mock + private TbDashboardService tbDashboardService; @Spy @InjectMocks @@ -411,4 +429,60 @@ class DefaultIotHubServiceTest { assertThat(result.isRolledBack()).isFalse(); assertThat(result.getErrorMessage()).contains("install failed"); } + + @Test + void updateItemVersion_device_removesInstalledItemWithItsEntities() throws Exception { + mockTenant(); + String newVersionId = UUID.randomUUID().toString(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(device.getId(), dashboard.getId())); + descriptor.setDashboardId(dashboard.getId()); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemVersionId(UUID.randomUUID()); + item.setDescriptor(descriptor); + + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); + + UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + + // No "entity modified" question: the update dialog warns that the package is installed again. + assertThat(result.isSuccess()).isTrue(); + assertThat(result.isEntityModified()).isFalse(); + // The entities are removed in reverse order of creation, then the installed item itself: the install + // wizard registers the new version, and until then the package is not shown as installed. + InOrder order = inOrder(tbDashboardService, tbDeviceService, iotHubInstalledItemService); + order.verify(tbDashboardService).delete(dashboard, user); + order.verify(tbDeviceService).delete(device, user); + order.verify(iotHubInstalledItemService).deleteById(tenantId, item.getId()); + // Nothing is installed or saved on the server: the new version is never recorded with no entities. + verify(iotHubRestClient, never()).getVersionInfo(item.getItemVersionId().toString()); + verify(iotHubRestClient, never()).getVersionFileData(anyString()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void updateItemVersion_device_versionOfAnotherType_keepsEverything() { + mockTenant(); + String newVersionId = UUID.randomUUID().toString(); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemVersionId(UUID.randomUUID()); + item.setDescriptor(new DeviceInstalledItemDescriptor()); + + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "WIDGET", "Widget", "1.0.0")); + + UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + + assertThat(result.isSuccess()).isFalse(); + verify(iotHubInstalledItemService, never()).deleteById(any(), any()); + } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 33f2a6d08a..bd8accdb79 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -47,6 +47,12 @@ export interface DeviceInstallDialogData { reviewMode?: boolean; selectedInstallMethod?: string; installState?: Record; + /** + * Update of an installed device package: the installed item of the current version. It is removed together + * with its entities right before the wizard creates the new version's entities, not earlier, so closing the + * wizard before that leaves the package as it was. + */ + replaceInstalledItemId?: string; } export type WizardStepType = 'connectivity' | 'placeholder' | 'instruction' | 'form' | 'progress'; @@ -102,6 +108,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -373,7 +381,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + if (!await this.removeReplacedItem(ws)) { + return; + } for (const ep of ws.entitySteps) { if (ep.status === 'success') { continue; @@ -840,6 +852,41 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + if (!this.data.replaceInstalledItemId || this.replacedItemRemoved) { + return true; + } + // Nothing is created yet: the first step shows the removal running and, if it fails, why. + const ep = ws.entitySteps.find(s => s.status !== 'success'); + if (ep) { + ep.status = 'running'; + ep.errorMessage = null; + this.cdr.detectChanges(); + } + try { + const result = await firstValueFrom(this.iotHubApiService.updateItemVersion( + this.data.replaceInstalledItemId, this.data.item.id as string, { ignoreLoading: true }, true)); + if (!result.success) { + throw new Error(result.errorMessage || this.translate.instant('iot-hub.update-error', { name: this.data.item.name })); + } + this.replacedItemRemoved = true; + return true; + } catch (err: any) { + // Retry runs the removal again. + ws.progressError = err?.error?.message || err?.message || 'Unknown error'; + if (ep) { + ep.status = 'error'; + ep.errorMessage = ws.progressError; + } + this.cdr.detectChanges(); + return false; + } + } + private async createEntity(step: DeviceInstallStep): Promise { const raw = this.zipFiles.get(step.template); if (!raw) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index dc06f0b5d2..36b4c83bcb 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -18,6 +18,7 @@ import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from './iot-hub import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from './device-install-dialog/device-install-dialog.component'; import { TbIotHubInstalledItemsDialogComponent, IotHubInstalledItemsDialogData } from './iot-hub-installed-items-dialog.component'; import { IotHubBuiltInService } from './iot-hub-built-in.service'; +import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { isBuiltInItem } from './iot-hub-utils'; /** @@ -34,7 +35,8 @@ export class IotHubActionsService { private dialog: MatDialog, private dialogService: DialogService, private translate: TranslateService, - private builtInService: IotHubBuiltInService + private builtInService: IotHubBuiltInService, + private iotHubApiService: IotHubApiService ) {} openItemDetail(item: MpItemVersionView, installedItem?: IotHubInstalledItem, installedItemsCount?: number, @@ -163,7 +165,21 @@ export class IotHubActionsService { version, versionId } - }).afterClosed(); + }).afterClosed().pipe( + switchMap(result => result === 'reinstall' ? this.reinstallDevice(installedItem, versionId) : of(result)) + ); + } + + /** + * A device package is updated by installing the new version through the install wizard: it needs the user's + * input, so the server cannot install it alone. The wizard removes the installed version only when it starts + * creating the entities, so closing it before that leaves the package as it was. + */ + private reinstallDevice(installedItem: IotHubInstalledItem, versionId: string): Observable { + return this.iotHubApiService.getVersionInfo(versionId).pipe( + switchMap(item => this.openDeviceInstallDialog(item, { replaceInstalledItemId: installedItem.id.id })), + map(result => result === 'installed' ? 'updated' : false) + ); } deleteItem(installedItem: IotHubInstalledItem): Observable { @@ -193,7 +209,8 @@ export class IotHubActionsService { } private openDeviceInstallDialog(item: MpItemVersionView, - options?: { reviewMode?: boolean; selectedInstallMethod?: string; installState?: any }): Observable { + options?: { reviewMode?: boolean; selectedInstallMethod?: string; installState?: any; + replaceInstalledItemId?: string }): Observable { return this.dialog.open(TbDeviceInstallDialogComponent, { panelClass: ['tb-dialog', 'tb-fullscreen-dialog-lt-md'], disableClose: true, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index e5472c45a1..d5d0398f00 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -65,12 +65,22 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 7974f825fc..ad313ecc0c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3870,6 +3870,7 @@ "update-confirm": "Update '{{name}}' to version {{version}}?", "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", + "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From cc175fa641b95c305445d6106046fd64b854f605 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 4 Nov 2026 15:00:12 +0200 Subject: [PATCH 431/559] fix(iot-hub): update a device package through the install wizard of the new version Updating an installed device package removed every entity it created and installed nothing again, while the installed item showed the new version. The update dialog now warns that the package is installed again and opens the install wizard of the new version. The wizard removes the installed version with its entities only when it starts creating the new entities, so closing it earlier keeps the package as it was. The server removes the installed item together with its entities, and the wizard registers the new version when it is done. The entity-modified check is skipped for device packages: their checksum was never computed, so it asked on every update. --- .../service/iot_hub/DefaultIotHubService.java | 23 ++++-- .../iot_hub/DefaultIotHubServiceTest.java | 74 +++++++++++++++++++ .../device-install-dialog.component.ts | 49 +++++++++++- .../iot-hub/iot-hub-actions.service.ts | 23 +++++- .../iot-hub-update-dialog.component.ts | 16 +++- .../assets/locale/locale.constant-en_US.json | 1 + 6 files changed, 171 insertions(+), 15 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 2fd3425ed0..83a0038268 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -377,8 +377,9 @@ public class DefaultIotHubService implements IotHubService { String itemType = installedItem.getItemType(); IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor(); - // Skip checksum validation for solution templates - if (!"SOLUTION_TEMPLATE".equals(itemType)) { + // Skip checksum validation for solution templates and device packages: both are removed and installed again, + // and the update dialog warns about that before the user confirms. + if (!"SOLUTION_TEMPLATE".equals(itemType) && !"DEVICE".equals(itemType)) { JsonNode installedVersionInfo = iotHubRestClient.getVersionInfo(installedItem.getItemVersionId().toString()); if (installedVersionInfo == null) { throw new IllegalArgumentException("Failed to get installed version info from IoT Hub"); @@ -408,6 +409,18 @@ public class DefaultIotHubService implements IotHubService { throw new IllegalArgumentException("Installed item type does not match the new version's item type."); } + if ("DEVICE".equals(itemType)) { + // A device package is installed by the wizard in the UI: it needs the user's input (gateway name, + // credentials and so on), so the server cannot install the new version itself. The wizard calls this + // right before it creates the new version's entities, and registers the new version when it is done. + // Remove the installed item together with its entities, so it never shows the new version with + // nothing installed. + deleteDevicePackageEntities(tenantId, ((DeviceInstalledItemDescriptor) descriptor).getCreatedEntityIds(), user); + iotHubInstalledItemService.deleteById(tenantId, installedItemId); + log.info("[{}] Removed device package {} for the install of version {}", tenantId, installedItem.getItemName(), versionId); + return UpdateItemVersionResult.success(descriptor); + } + String itemName = versionInfo.get("name").asText(); String version = versionInfo.get("version").asText(); @@ -419,12 +432,6 @@ public class DefaultIotHubService implements IotHubService { case "CALCULATED_FIELD" -> updateCalculatedField(user, tenantId, (CalculatedFieldInstalledItemDescriptor) descriptor, fileData); case "ALARM_RULE" -> updateAlarmRule(user, tenantId, (AlarmRuleInstalledItemDescriptor) descriptor, fileData); case "RULE_CHAIN" -> updateRuleChain(tenantId, (RuleChainInstalledItemDescriptor) descriptor, fileData); - case "DEVICE" -> { - DeviceInstalledItemDescriptor dd = (DeviceInstalledItemDescriptor) descriptor; - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); - dd.setCreatedEntityIds(null); - dd.setDashboardId(null); - } case "SOLUTION_TEMPLATE" -> { SolutionTemplateInstalledItemDescriptor stDescriptor = (SolutionTemplateInstalledItemDescriptor) descriptor; solutionService.deleteSolution(tenantId, stDescriptor, user); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 559215e526..856629ddfb 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -13,11 +13,21 @@ import org.mockito.Mock; import org.mockito.Spy; import org.mockito.junit.jupiter.MockitoExtension; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.Dashboard; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; +import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; +import org.thingsboard.server.service.entitiy.device.TbDeviceService; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.List; @@ -48,6 +58,14 @@ class DefaultIotHubServiceTest { private IotHubRestClient iotHubRestClient; @Mock private IotHubInstalledItemService iotHubInstalledItemService; + @Mock + private DeviceService deviceService; + @Mock + private TbDeviceService tbDeviceService; + @Mock + private DashboardService dashboardService; + @Mock + private TbDashboardService tbDashboardService; @Spy @InjectMocks @@ -411,4 +429,60 @@ class DefaultIotHubServiceTest { assertThat(result.isRolledBack()).isFalse(); assertThat(result.getErrorMessage()).contains("install failed"); } + + @Test + void updateItemVersion_device_removesInstalledItemWithItsEntities() throws Exception { + mockTenant(); + String newVersionId = UUID.randomUUID().toString(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(device.getId(), dashboard.getId())); + descriptor.setDashboardId(dashboard.getId()); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemVersionId(UUID.randomUUID()); + item.setDescriptor(descriptor); + + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); + + UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + + // No "entity modified" question: the update dialog warns that the package is installed again. + assertThat(result.isSuccess()).isTrue(); + assertThat(result.isEntityModified()).isFalse(); + // The entities are removed in reverse order of creation, then the installed item itself: the install + // wizard registers the new version, and until then the package is not shown as installed. + InOrder order = inOrder(tbDashboardService, tbDeviceService, iotHubInstalledItemService); + order.verify(tbDashboardService).delete(dashboard, user); + order.verify(tbDeviceService).delete(device, user); + order.verify(iotHubInstalledItemService).deleteById(tenantId, item.getId()); + // Nothing is installed or saved on the server: the new version is never recorded with no entities. + verify(iotHubRestClient, never()).getVersionInfo(item.getItemVersionId().toString()); + verify(iotHubRestClient, never()).getVersionFileData(anyString()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void updateItemVersion_device_versionOfAnotherType_keepsEverything() { + mockTenant(); + String newVersionId = UUID.randomUUID().toString(); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemVersionId(UUID.randomUUID()); + item.setDescriptor(new DeviceInstalledItemDescriptor()); + + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "WIDGET", "Widget", "1.0.0")); + + UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + + assertThat(result.isSuccess()).isFalse(); + verify(iotHubInstalledItemService, never()).deleteById(any(), any()); + } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index a55d5ce2a3..5fe32d30a1 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -47,6 +47,12 @@ export interface DeviceInstallDialogData { reviewMode?: boolean; selectedInstallMethod?: string; installState?: Record; + /** + * Update of an installed device package: the installed item of the current version. It is removed together + * with its entities right before the wizard creates the new version's entities, not earlier, so closing the + * wizard before that leaves the package as it was. + */ + replaceInstalledItemId?: string; } export type WizardStepType = 'connectivity' | 'placeholder' | 'instruction' | 'form' | 'progress'; @@ -102,6 +108,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -373,7 +381,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + if (!await this.removeReplacedItem(ws)) { + return; + } for (const ep of ws.entitySteps) { if (ep.status === 'success') { continue; @@ -840,6 +852,41 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + if (!this.data.replaceInstalledItemId || this.replacedItemRemoved) { + return true; + } + // Nothing is created yet: the first step shows the removal running and, if it fails, why. + const ep = ws.entitySteps.find(s => s.status !== 'success'); + if (ep) { + ep.status = 'running'; + ep.errorMessage = null; + this.cdr.detectChanges(); + } + try { + const result = await firstValueFrom(this.iotHubApiService.updateItemVersion( + this.data.replaceInstalledItemId, this.data.item.id as string, { ignoreLoading: true }, true)); + if (!result.success) { + throw new Error(result.errorMessage || this.translate.instant('iot-hub.update-error', { name: this.data.item.name })); + } + this.replacedItemRemoved = true; + return true; + } catch (err: any) { + // Retry runs the removal again. + ws.progressError = err?.error?.message || err?.message || 'Unknown error'; + if (ep) { + ep.status = 'error'; + ep.errorMessage = ws.progressError; + } + this.cdr.detectChanges(); + return false; + } + } + private async createEntity(step: DeviceInstallStep): Promise { const raw = this.zipFiles.get(step.template); if (!raw) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index dc06f0b5d2..36b4c83bcb 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -18,6 +18,7 @@ import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from './iot-hub import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from './device-install-dialog/device-install-dialog.component'; import { TbIotHubInstalledItemsDialogComponent, IotHubInstalledItemsDialogData } from './iot-hub-installed-items-dialog.component'; import { IotHubBuiltInService } from './iot-hub-built-in.service'; +import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { isBuiltInItem } from './iot-hub-utils'; /** @@ -34,7 +35,8 @@ export class IotHubActionsService { private dialog: MatDialog, private dialogService: DialogService, private translate: TranslateService, - private builtInService: IotHubBuiltInService + private builtInService: IotHubBuiltInService, + private iotHubApiService: IotHubApiService ) {} openItemDetail(item: MpItemVersionView, installedItem?: IotHubInstalledItem, installedItemsCount?: number, @@ -163,7 +165,21 @@ export class IotHubActionsService { version, versionId } - }).afterClosed(); + }).afterClosed().pipe( + switchMap(result => result === 'reinstall' ? this.reinstallDevice(installedItem, versionId) : of(result)) + ); + } + + /** + * A device package is updated by installing the new version through the install wizard: it needs the user's + * input, so the server cannot install it alone. The wizard removes the installed version only when it starts + * creating the entities, so closing it before that leaves the package as it was. + */ + private reinstallDevice(installedItem: IotHubInstalledItem, versionId: string): Observable { + return this.iotHubApiService.getVersionInfo(versionId).pipe( + switchMap(item => this.openDeviceInstallDialog(item, { replaceInstalledItemId: installedItem.id.id })), + map(result => result === 'installed' ? 'updated' : false) + ); } deleteItem(installedItem: IotHubInstalledItem): Observable { @@ -193,7 +209,8 @@ export class IotHubActionsService { } private openDeviceInstallDialog(item: MpItemVersionView, - options?: { reviewMode?: boolean; selectedInstallMethod?: string; installState?: any }): Observable { + options?: { reviewMode?: boolean; selectedInstallMethod?: string; installState?: any; + replaceInstalledItemId?: string }): Observable { return this.dialog.open(TbDeviceInstallDialogComponent, { panelClass: ['tb-dialog', 'tb-fullscreen-dialog-lt-md'], disableClose: true, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index e5472c45a1..d5d0398f00 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -65,12 +65,22 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index cb00b81daf..ba48007bab 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -4480,6 +4480,7 @@ "update-confirm": "Update '{{name}}' to version {{version}}?", "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", + "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From f5194808425752bb019370d399f8939eca07c470 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 4 Nov 2026 16:15:57 +0200 Subject: [PATCH 432/559] fix(iot-hub): keep the installed version until the wizard registers the new one Review of the device package update: - The update endpoint refuses device packages instead of removing them, so a client that reads it as an update no longer reports success with nothing installed. - The wizard removes only the entities of the installed version (installedItems/{id}/device/removeEntities, checked against the new version first), right before it creates the new ones. The installed item keeps its version until the wizard registers the new one on the same item (device/register?replaceInstalledItemId), so closing the wizard never leaves an item that claims a version that is not installed. - Every registration (one per group of entity steps, and each Retry) updates that one item and keeps tracking the entities it already tracks. A package with several groups no longer gets an installed item per group. - A failed registration is shown with Retry instead of being swallowed, and no longer rolls the entities back; the step is done only once registered. - The forms and the connection method start from what the user entered for the installed version, when the value fits the new field. - An entity of another tenant is never deleted for a package. --- .../server/controller/IotHubController.java | 12 +- .../service/iot_hub/DefaultIotHubService.java | 159 ++++++++---- .../iot_hub/InstallItemVersionResult.java | 12 +- .../server/service/iot_hub/IotHubService.java | 14 +- .../iot_hub/DefaultIotHubServiceTest.java | 232 ++++++++++++++++-- .../src/app/core/http/iot-hub-api.service.ts | 13 + .../device-install-dialog.component.html | 15 +- .../device-install-dialog.component.ts | 168 +++++++++---- .../iot-hub/iot-hub-actions.service.ts | 17 +- ...iot-hub-installed-items-table.component.ts | 9 +- .../iot-hub/iot-hub-installed-item.models.ts | 8 + .../assets/locale/locale.constant-en_US.json | 3 + 12 files changed, 540 insertions(+), 122 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index 13bd02c5da..2376c67b77 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -82,9 +82,19 @@ public class IotHubController extends BaseController { @ResponseBody public InstallItemVersionResult registerDeviceInstall( @RequestParam String versionId, + @RequestParam(required = false) UUID replaceInstalledItemId, @RequestBody JsonNode body) throws ThingsboardException { DeviceInstalledItemDescriptor descriptor = JacksonUtil.treeToValue(body, DeviceInstalledItemDescriptor.class); - return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor); + return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor, + replaceInstalledItemId != null ? new IotHubInstalledItemId(replaceInstalledItemId) : null); + } + + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @PostMapping("/installedItems/{installedItemId}/device/removeEntities") + @ResponseBody + public void removeDevicePackageEntities(@PathVariable UUID installedItemId, + @RequestParam String versionId) throws ThingsboardException { + iotHubService.removeDevicePackageEntities(getCurrentUser(), new IotHubInstalledItemId(installedItemId), versionId); } @PreAuthorize("hasAuthority('TENANT_ADMIN')") diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index e727e28f30..c4389517d0 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -11,6 +11,7 @@ import org.thingsboard.common.util.ExceptionUtil; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.asset.AssetProfile; import org.thingsboard.server.common.data.DeviceProfile; +import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.cf.CalculatedField; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.AssetProfileId; @@ -62,6 +63,7 @@ import java.util.HashSet; import java.util.HexFormat; import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import java.util.Set; import java.util.UUID; @@ -346,9 +348,16 @@ public class DefaultIotHubService implements IotHubService { String itemType = installedItem.getItemType(); IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor(); - // Skip checksum validation for solution templates and device packages: both are removed and installed again, - // and the update dialog warns about that before the user confirms. - if (!"SOLUTION_TEMPLATE".equals(itemType) && !"DEVICE".equals(itemType)) { + if ("DEVICE".equals(itemType)) { + // A device package needs the user's input to install (gateway name, credentials and so on), so the + // server cannot install the new version alone: the install wizard of the new version does the update + // (removeDevicePackageEntities, then registerDeviceInstall with this item). Refuse instead of removing + // the package here: a client that reads this as an update would report success with nothing installed. + throw new IllegalArgumentException("A device package is updated through the install wizard of its new version."); + } + + // Skip checksum validation for solution templates + if (!"SOLUTION_TEMPLATE".equals(itemType)) { JsonNode installedVersionInfo = iotHubRestClient.getVersionInfo(installedItem.getItemVersionId().toString()); if (installedVersionInfo == null) { throw new IllegalArgumentException("Failed to get installed version info from IoT Hub"); @@ -378,18 +387,6 @@ public class DefaultIotHubService implements IotHubService { throw new IllegalArgumentException("Installed item type does not match the new version's item type."); } - if ("DEVICE".equals(itemType)) { - // A device package is installed by the wizard in the UI: it needs the user's input (gateway name, - // credentials and so on), so the server cannot install the new version itself. The wizard calls this - // right before it creates the new version's entities, and registers the new version when it is done. - // Remove the installed item together with its entities, so it never shows the new version with - // nothing installed. - deleteDevicePackageEntities(tenantId, ((DeviceInstalledItemDescriptor) descriptor).getCreatedEntityIds(), user); - iotHubInstalledItemService.deleteById(tenantId, installedItemId); - log.info("[{}] Removed device package {} for the install of version {}", tenantId, installedItem.getItemName(), versionId); - return UpdateItemVersionResult.success(descriptor); - } - String itemName = versionInfo.get("name").asText(); String version = versionInfo.get("version").asText(); @@ -568,7 +565,8 @@ public class DefaultIotHubService implements IotHubService { } @Override - public InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor) { + public InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor, + IotHubInstalledItemId replaceInstalledItemId) { TenantId tenantId = user.getTenantId(); log.info("[{}] Registering device package install for version: {}", tenantId, versionId); @@ -583,44 +581,118 @@ public class DefaultIotHubService implements IotHubService { UUID itemId = UUID.fromString(versionInfo.get("itemId").asText()); String version = versionInfo.get("version").asText(); - IotHubInstalledItem installedItem = new IotHubInstalledItem(); - installedItem.setTenantId(tenantId); + // An item replaced in the meantime (deleted from another tab) leaves a new one: the entities stay tracked. + IotHubInstalledItem installedItem = replaceInstalledItemId != null + ? iotHubInstalledItemService.findById(tenantId, replaceInstalledItemId) : null; + boolean newItem = installedItem == null; + if (newItem) { + installedItem = new IotHubInstalledItem(); + installedItem.setTenantId(tenantId); + } else { + checkDevicePackage(installedItem); + checkSameItem(installedItem, itemId); + keepTracking((DeviceInstalledItemDescriptor) installedItem.getDescriptor(), descriptor); + } installedItem.setItemId(itemId); installedItem.setItemVersionId(UUID.fromString(versionId)); installedItem.setItemName(itemName); installedItem.setItemType("DEVICE"); installedItem.setVersion(version); installedItem.setDescriptor(descriptor); - try { - iotHubInstalledItemService.save(tenantId, installedItem); - } catch (Exception e) { - log.error("[{}] Failed to save IoT Hub installed-item tracking row for device package {} (version {}); rolling back created entities", - tenantId, itemName, version, e); + // Not rolled back when the save fails: the wizard shows the error, and Retry registers the same entities again. + installedItem = iotHubInstalledItemService.save(tenantId, installedItem); + + // Reported once per install, as before: the wizard registers again after each group of entities, on Retry + // and on an update. + if (newItem) { try { - deleteEntityForDescriptor(user, tenantId, descriptor, null); - } catch (Exception rb) { - log.error("[{}] Compensating delete after failed tracking save threw — device package entities may remain orphaned", - tenantId, rb); + InstallReport report = buildInstallReport(tenantId.getId(), user.getId().getId(), + projectInfo.getProjectVersion(), projectInfo.getProductType()); + iotHubRestClient.reportVersionInstalled(versionId, report); + } catch (Exception e) { + log.warn("[{}] Failed to report install for version {}: {}", tenantId, versionId, e.getMessage()); } - throw e; - } - - try { - InstallReport report = buildInstallReport(tenantId.getId(), user.getId().getId(), - projectInfo.getProjectVersion(), projectInfo.getProductType()); - iotHubRestClient.reportVersionInstalled(versionId, report); - } catch (Exception e) { - log.warn("[{}] Failed to report install for version {}: {}", tenantId, versionId, e.getMessage()); } log.info("[{}] Registered device package install: {} (version {})", tenantId, itemName, version); - return InstallItemVersionResult.success(descriptor); + return InstallItemVersionResult.success(descriptor, installedItem.getId().getId()); } catch (Exception e) { log.error("[{}] Failed to register device package install: {}", tenantId, versionId, e); return InstallItemVersionResult.error(e.getMessage()); } } + @Override + public void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId) { + TenantId tenantId = user.getTenantId(); + IotHubInstalledItem installedItem = findDevicePackage(tenantId, installedItemId); + // Checked before anything is removed: the registration of the new version checks the same and would fail. + JsonNode versionInfo = iotHubRestClient.getVersionInfo(versionId); + if (versionInfo == null) { + throw new IllegalArgumentException("Failed to get version info from IoT Hub"); + } + checkSameItem(installedItem, UUID.fromString(versionInfo.get(FIELD_ITEM_ID).asText())); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); + descriptor.setCreatedEntityIds(null); + descriptor.setDashboardId(null); + // Keep what the user entered in the forms (the wizard of the new version starts from it), drop the outputs of + // the removed entities: their ids, links and tokens no longer exist. + if (descriptor.getInstallState() != null) { + descriptor.setInstallState(stripEntityOutputs(descriptor.getInstallState())); + } + iotHubInstalledItemService.save(tenantId, installedItem); + log.info("[{}] Removed the entities of device package {} for its update", tenantId, installedItem.getItemName()); + } + + private static Map stripEntityOutputs(Map installState) { + Map stripped = new LinkedHashMap<>(); + installState.forEach((step, state) -> { + JsonNode formValues = state != null ? state.get("formValues") : null; + if (formValues != null) { + stripped.put(step, JacksonUtil.newObjectNode().set("formValues", formValues)); + } + }); + return stripped; + } + + private static void checkSameItem(IotHubInstalledItem installedItem, UUID itemId) { + if (!itemId.equals(installedItem.getItemId())) { + throw new IllegalArgumentException("The new version belongs to another IoT Hub item."); + } + } + + /** + * The new descriptor keeps tracking every entity the item tracks: the wizard registers again after each group of + * entities, and an entity left out would stay in the tenant with nothing to remove it. An update registers only + * after removing the entities of the installed version, so it tracks none of them any more. + */ + private static void keepTracking(DeviceInstalledItemDescriptor tracked, DeviceInstalledItemDescriptor descriptor) { + if (tracked.getCreatedEntityIds() != null) { + List ids = descriptor.getCreatedEntityIds() != null ? new ArrayList<>(descriptor.getCreatedEntityIds()) : new ArrayList<>(); + tracked.getCreatedEntityIds().stream().filter(id -> !ids.contains(id)).forEach(ids::add); + descriptor.setCreatedEntityIds(ids); + } + if (descriptor.getDashboardId() == null) { + descriptor.setDashboardId(tracked.getDashboardId()); + } + } + + private IotHubInstalledItem findDevicePackage(TenantId tenantId, IotHubInstalledItemId installedItemId) { + IotHubInstalledItem installedItem = iotHubInstalledItemService.findById(tenantId, installedItemId); + if (installedItem == null) { + throw new IllegalArgumentException("Installed item not found"); + } + checkDevicePackage(installedItem); + return installedItem; + } + + private static void checkDevicePackage(IotHubInstalledItem installedItem) { + if (!"DEVICE".equals(installedItem.getItemType()) || !(installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor)) { + throw new IllegalArgumentException("Installed item is not a device package"); + } + } + private void deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { if (createdEntityIds == null || createdEntityIds.isEmpty()) { return; @@ -636,23 +708,28 @@ public class DefaultIotHubService implements IotHubService { } } + /** The ids come from what the client registered: never delete an entity of another tenant. */ + private static boolean isOwnedBy(HasTenantId entity, TenantId tenantId) { + return entity != null && tenantId.equals(entity.getTenantId()); + } + private void deleteDevicePackageEntity(TenantId tenantId, EntityId entityId, SecurityUser user) { switch (entityId.getEntityType()) { case DEVICE -> { var device = deviceService.findDeviceById(tenantId, new DeviceId(entityId.getId())); - if (device != null) tbDeviceService.delete(device, user); + if (isOwnedBy(device, tenantId)) tbDeviceService.delete(device, user); } case DEVICE_PROFILE -> { var profile = deviceProfileService.findDeviceProfileById(tenantId, new DeviceProfileId(entityId.getId())); - if (profile != null) tbDeviceProfileService.delete(profile, user); + if (isOwnedBy(profile, tenantId)) tbDeviceProfileService.delete(profile, user); } case DASHBOARD -> { var dashboard = dashboardService.findDashboardById(tenantId, new DashboardId(entityId.getId())); - if (dashboard != null) tbDashboardService.delete(dashboard, user); + if (isOwnedBy(dashboard, tenantId)) tbDashboardService.delete(dashboard, user); } case RULE_CHAIN -> { var ruleChain = ruleChainService.findRuleChainById(tenantId, new RuleChainId(entityId.getId())); - if (ruleChain != null) tbRuleChainService.delete(ruleChain, user); + if (isOwnedBy(ruleChain, tenantId)) tbRuleChainService.delete(ruleChain, user); } default -> log.warn("[{}] Unsupported entity type for device package delete: {}", tenantId, entityId.getEntityType()); } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java index 04c9e6a80d..22aa2d5671 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java @@ -7,6 +7,8 @@ import lombok.Data; import lombok.NoArgsConstructor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItemDescriptor; +import java.util.UUID; + @Data @NoArgsConstructor @AllArgsConstructor @@ -15,13 +17,19 @@ public class InstallItemVersionResult { private boolean success; private String errorMessage; private IotHubInstalledItemDescriptor descriptor; + /** The installed item that was saved; null when unknown. */ + private UUID installedItemId; public static InstallItemVersionResult success(IotHubInstalledItemDescriptor descriptor) { - return new InstallItemVersionResult(true, null, descriptor); + return new InstallItemVersionResult(true, null, descriptor, null); + } + + public static InstallItemVersionResult success(IotHubInstalledItemDescriptor descriptor, UUID installedItemId) { + return new InstallItemVersionResult(true, null, descriptor, installedItemId); } public static InstallItemVersionResult error(String errorMessage) { - return new InstallItemVersionResult(false, errorMessage, null); + return new InstallItemVersionResult(false, errorMessage, null, null); } } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 2e8d0c453f..24d88ac4da 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -14,7 +14,19 @@ public interface IotHubService { UpdateItemVersionResult updateItemVersion(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, boolean force, HttpServletRequest request); - InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor); + /** + * Records a device package installed by the install wizard. With {@code replaceInstalledItemId} (an update), that + * installed item takes the new version instead of a new installed item being created. + */ + InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor, + IotHubInstalledItemId replaceInstalledItemId); + + /** + * First step of a device package update: removes the entities the package created and keeps the installed item at + * its current version, so it is never shown with a version that is not installed. Repeating it is safe. Refused, + * before anything is removed, when {@code versionId} (the version to install) is not a version of that item. + */ + void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId); void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 856629ddfb..b07b3c8195 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -30,7 +30,9 @@ import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; import org.thingsboard.server.service.entitiy.device.TbDeviceService; import org.thingsboard.server.service.security.model.SecurityUser; +import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; @@ -431,9 +433,30 @@ class DefaultIotHubServiceTest { } @Test - void updateItemVersion_device_removesInstalledItemWithItsEntities() throws Exception { + void updateItemVersion_device_refusedAndRemovesNothing() { + mockTenant(); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(new DeviceId(UUID.randomUUID()))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemVersionId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + // The install wizard of the new version does the update. A client that called this as an update before + // got success while the package was removed and nothing was installed again. + UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), UUID.randomUUID().toString(), true, null); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getErrorMessage()).contains("install wizard"); + verify(tbDeviceService, never()).delete(any(), any()); + verify(iotHubInstalledItemService, never()).deleteById(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_removesEntitiesInReverseOrderAndKeepsTheItemVersion() throws Exception { mockTenant(); - String newVersionId = UUID.randomUUID().toString(); Device device = new Device(new DeviceId(UUID.randomUUID())); Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); @@ -441,48 +464,215 @@ class DefaultIotHubServiceTest { descriptor.setDashboardId(dashboard.getId()); IotHubInstalledItem item = installedItem(UUID.randomUUID()); item.setItemType("DEVICE"); - item.setItemVersionId(UUID.randomUUID()); + UUID versionId = UUID.randomUUID(); + item.setItemVersionId(versionId); + item.setVersion("1.0.1"); item.setDescriptor(descriptor); - + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "Configuration", JacksonUtil.toJsonNode("{\"formValues\":{\"gatewayName\":\"GW\"}}"), + "Gateway", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"x\"},\"resolution\":\"created\"}")))); when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + item.setItemId(UUID.randomUUID()); when(iotHubRestClient.getVersionInfo(newVersionId)) - .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "DEVICE", "Gateway", "1.0.2")); + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + device.setTenantId(tenantId); + dashboard.setTenantId(tenantId); when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); - UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + service.removeDevicePackageEntities(user, item.getId(), newVersionId); - // No "entity modified" question: the update dialog warns that the package is installed again. - assertThat(result.isSuccess()).isTrue(); - assertThat(result.isEntityModified()).isFalse(); - // The entities are removed in reverse order of creation, then the installed item itself: the install - // wizard registers the new version, and until then the package is not shown as installed. InOrder order = inOrder(tbDashboardService, tbDeviceService, iotHubInstalledItemService); order.verify(tbDashboardService).delete(dashboard, user); order.verify(tbDeviceService).delete(device, user); - order.verify(iotHubInstalledItemService).deleteById(tenantId, item.getId()); - // Nothing is installed or saved on the server: the new version is never recorded with no entities. - verify(iotHubRestClient, never()).getVersionInfo(item.getItemVersionId().toString()); - verify(iotHubRestClient, never()).getVersionFileData(anyString()); - verify(iotHubInstalledItemService, never()).save(any(), any()); + order.verify(iotHubInstalledItemService).save(tenantId, item); + // The item keeps its version until the wizard registers the new one, and lists nothing to remove again. + assertThat(item.getItemVersionId()).isEqualTo(versionId); + assertThat(item.getVersion()).isEqualTo("1.0.1"); + assertThat(descriptor.getCreatedEntityIds()).isNull(); + assertThat(descriptor.getDashboardId()).isNull(); + // The form values stay for the wizard of the new version; the removed entities' outputs go. + assertThat(descriptor.getInstallState()).containsOnlyKeys("Configuration"); + assertThat(descriptor.getInstallState().get("Configuration").get("formValues").get("gatewayName").asText()).isEqualTo("GW"); + verify(iotHubInstalledItemService, never()).deleteById(any(), any()); } @Test - void updateItemVersion_device_versionOfAnotherType_keepsEverything() { + void registerDeviceInstall_replace_updatesTheSameItemToTheNewVersion() { mockTenant(); - String newVersionId = UUID.randomUUID().toString(); IotHubInstalledItem item = installedItem(UUID.randomUUID()); item.setItemType("DEVICE"); item.setItemVersionId(UUID.randomUUID()); + item.setVersion("1.0.1"); item.setDescriptor(new DeviceInstalledItemDescriptor()); + String newVersionId = UUID.randomUUID().toString(); + String itemId = UUID.randomUUID().toString(); + item.setItemId(UUID.fromString(itemId)); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)).thenReturn(version(newVersionId, itemId, "DEVICE", "Gateway", "1.0.2")); + DeviceInstalledItemDescriptor newDescriptor = new DeviceInstalledItemDescriptor(); + newDescriptor.setCreatedEntityIds(List.of(new DeviceId(UUID.randomUUID()))); + + when(iotHubInstalledItemService.save(tenantId, item)).thenReturn(item); + InstallItemVersionResult result = service.registerDeviceInstall(user, newVersionId, newDescriptor, item.getId()); + + assertThat(result.isSuccess()).isTrue(); + assertThat(result.getInstalledItemId()).isEqualTo(item.getId().getId()); + verify(iotHubInstalledItemService).save(tenantId, item); + assertThat(item.getId()).isNotNull(); + assertThat(item.getItemVersionId()).isEqualTo(UUID.fromString(newVersionId)); + assertThat(item.getVersion()).isEqualTo("1.0.2"); + assertThat(item.getDescriptor()).isSameAs(newDescriptor); + } + + @Test + void removeDevicePackageEntities_notADevicePackage_refused() { + mockTenant(); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("RULE_CHAIN"); + item.setDescriptor(new RuleChainInstalledItemDescriptor()); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), UUID.randomUUID().toString())) + .isInstanceOf(IllegalArgumentException.class); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void registerDeviceInstall_replace_keepsTrackingTheEntitiesTheItemTracks() { + mockTenant(); + String itemId = UUID.randomUUID().toString(); + EntityId gateway = new DeviceId(UUID.randomUUID()); + DashboardId dashboard = new DashboardId(UUID.randomUUID()); + DeviceInstalledItemDescriptor tracked = new DeviceInstalledItemDescriptor(); + tracked.setCreatedEntityIds(List.of(gateway, dashboard)); + tracked.setDashboardId(dashboard); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.fromString(itemId)); + item.setDescriptor(tracked); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)).thenReturn(version(newVersionId, itemId, "DEVICE", "Gateway", "1.0.2")); + when(iotHubInstalledItemService.save(tenantId, item)).thenReturn(item); + EntityId device = new DeviceId(UUID.randomUUID()); + DeviceInstalledItemDescriptor next = new DeviceInstalledItemDescriptor(); + next.setCreatedEntityIds(List.of(device)); + + InstallItemVersionResult result = service.registerDeviceInstall(user, newVersionId, next, item.getId()); + + // A registration that leaves tracked entities out (another group, another connection method) still tracks them. + assertThat(result.isSuccess()).isTrue(); + assertThat(next.getCreatedEntityIds()).containsExactlyInAnyOrder(device, gateway, dashboard); + assertThat(next.getDashboardId()).isEqualTo(dashboard); + } + + @Test + void registerDeviceInstall_replacedItemGone_savesANewItem() { + mockTenant(); + IotHubInstalledItemId goneId = new IotHubInstalledItemId(UUID.randomUUID()); + String versionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(versionId)) + .thenReturn(version(versionId, UUID.randomUUID().toString(), "DEVICE", "Gateway", "1.0.2")); + when(iotHubInstalledItemService.save(eq(tenantId), any())).thenAnswer(inv -> { + IotHubInstalledItem saved = inv.getArgument(1); + saved.setId(new IotHubInstalledItemId(UUID.randomUUID())); + return saved; + }); + + InstallItemVersionResult result = service.registerDeviceInstall(user, versionId, new DeviceInstalledItemDescriptor(), goneId); + + // Deleted from another tab during the update: the new entities are tracked by a new item, Retry is not stuck. + assertThat(result.isSuccess()).isTrue(); + assertThat(result.getInstalledItemId()).isNotEqualTo(goneId.getId()); + } + + @Test + void registerDeviceInstall_replace_versionOfAnotherItem_refused() { + mockTenant(); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(new DeviceInstalledItemDescriptor()); + String newVersionId = UUID.randomUUID().toString(); when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); when(iotHubRestClient.getVersionInfo(newVersionId)) - .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "WIDGET", "Widget", "1.0.0")); + .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "DEVICE", "Other", "2.0.0")); - UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + InstallItemVersionResult result = service.registerDeviceInstall(user, newVersionId, new DeviceInstalledItemDescriptor(), item.getId()); assertThat(result.isSuccess()).isFalse(); - verify(iotHubInstalledItemService, never()).deleteById(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void registerDeviceInstall_replace_nextGroupWithAllTrackedEntities_updatesTheItem() { + mockTenant(); + String itemId = UUID.randomUUID().toString(); + EntityId gateway = new DeviceId(UUID.randomUUID()); + EntityId dashboard = new DashboardId(UUID.randomUUID()); + DeviceInstalledItemDescriptor firstGroup = new DeviceInstalledItemDescriptor(); + firstGroup.setCreatedEntityIds(List.of(gateway)); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.fromString(itemId)); + item.setDescriptor(firstGroup); + String versionId = UUID.randomUUID().toString(); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, itemId, "DEVICE", "Gateway", "1.0.2")); + when(iotHubInstalledItemService.save(tenantId, item)).thenReturn(item); + // The wizard registers after each group of entities with everything it created so far. + DeviceInstalledItemDescriptor bothGroups = new DeviceInstalledItemDescriptor(); + bothGroups.setCreatedEntityIds(List.of(gateway, dashboard)); + + InstallItemVersionResult result = service.registerDeviceInstall(user, versionId, bothGroups, item.getId()); + + assertThat(result.isSuccess()).isTrue(); + assertThat(item.getDescriptor()).isSameAs(bothGroups); + } + + @Test + void removeDevicePackageEntities_entityOfAnotherTenant_notDeleted() { + mockTenant(); + Device foreignDevice = new Device(new DeviceId(UUID.randomUUID())); + foreignDevice.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(foreignDevice.getId())); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + item.setItemId(UUID.randomUUID()); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, foreignDevice.getId())).thenReturn(foreignDevice); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + verify(tbDeviceService, never()).delete(any(), any()); + } + + @Test + void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { + mockTenant(); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(new DeviceId(UUID.randomUUID()))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + String otherVersionId = UUID.randomUUID().toString(); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(otherVersionId)) + .thenReturn(version(otherVersionId, UUID.randomUUID().toString(), "DEVICE", "Other", "2.0.0")); + + // The registration of that version would be refused: nothing may be removed for it. + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), otherVersionId)) + .isInstanceOf(IllegalArgumentException.class); + verify(tbDeviceService, never()).delete(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); } } diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 70f97ed061..ba19c0f6e6 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -179,11 +179,24 @@ export class IotHubApiService { public registerDeviceInstall( versionId: string, descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, + replaceInstalledItemId?: string, config?: IotHubRequestConfig ): Observable { + let params = this.buildParams(config); + if (replaceInstalledItemId) { + params = params.set('replaceInstalledItemId', replaceInstalledItemId); + } return this.http.post( `/api/iot-hub/device/register?versionId=${versionId}`, { type: 'DEVICE', ...descriptor }, + { params } + ); + } + + public removeDevicePackageEntities(installedItemId: string, versionId: string, config?: IotHubRequestConfig): Observable { + return this.http.post( + `/api/iot-hub/installedItems/${installedItemId}/device/removeEntities?versionId=${versionId}`, + null, { params: this.buildParams(config) } ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 28e7f61ceb..6db53d1cfb 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -143,6 +143,15 @@
    } } + @if (ws.removingReplaced) { +
    + + {{ 'iot-hub.device-update-removing' | translate }} +
    + } + @if (stepLevelError(ws); as error) { + {{ error }} + }
    } } @@ -157,7 +166,7 @@ } @else {

    {{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }}

    -
    @@ -211,13 +220,13 @@ @if (allProgressDone) { } @else { - + } @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index bd8accdb79..c9aa546f23 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -48,9 +48,10 @@ export interface DeviceInstallDialogData { selectedInstallMethod?: string; installState?: Record; /** - * Update of an installed device package: the installed item of the current version. It is removed together - * with its entities right before the wizard creates the new version's entities, not earlier, so closing the - * wizard before that leaves the package as it was. + * Update of an installed device package: the installed item of the current version. Its entities are removed + * right before the wizard creates the new version's entities, not earlier, so closing the wizard before that + * leaves the package as it was; the item takes the new version when the wizard registers it. The forms start + * from installState and the connection method from selectedInstallMethod, as the user filled them before. */ replaceInstalledItemId?: string; } @@ -71,6 +72,8 @@ export interface WizardStep { entitySteps?: EntityStepProgress[]; progressError?: string; progressDone?: boolean; + /** Update only: the entities of the replaced version are being removed. */ + removingReplaced?: boolean; } const ENTITY_STEP_MIN_DELAY = 2000; @@ -108,8 +111,24 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -141,6 +160,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + this.registeredItemId = this.data.replaceInstalledItemId; try { const zipData = await firstValueFrom(this.iotHubApiService.getVersionFileData(this.data.item.id, { ignoreLoading: true }).pipe( mergeMap((blob: Blob) => blob.arrayBuffer()) @@ -199,12 +219,19 @@ export class TbDeviceInstallDialogComponent extends DialogComponent ws.removingReplaced); + } + cancel(): void { - // Once the replaced version is removed, the caller has to reload its installed items as well. - this.dialogRef.close(this.installRegistered || this.replacedItemRemoved ? 'installed' : false); + if (this.removingReplaced) { + // The removal is irreversible and already running: closing now would leave the outcome unknown. + return; + } + this.closed = true; + // Once the replaced version's entities may be gone, the caller has to reload its installed items as well. + this.dialogRef.close(this.installRegistered || this.replaceStarted ? 'installed' : false); } retryEntitySteps(step: WizardStep): void { @@ -420,7 +463,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; - // In review mode, use stored values; otherwise use defaults - const storedValues = this.reviewMode && this.data.installState?.[ws.label]?.formValues; + // In review mode and on an update, use stored values; otherwise use defaults + const storedValues = (this.reviewMode || this.data.replaceInstalledItemId) && this.data.installState?.[ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); const validators = []; @@ -713,7 +756,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === output.id)) { + this.packageEntityIds.push({ entityType, id: output.id }); + } const alias = stepTypeAliasMap[ep.step.type]; if (alias) { this.entityOutputs.set(alias, output); @@ -786,7 +835,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (!await this.removeReplacedItem(ws)) { + if (!await this.removeReplacedEntities(ws) || this.closed) { + // The dialog was closed meanwhile (navigating away): create nothing. return; } for (const ep of ws.entitySteps) { @@ -818,31 +868,44 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === id.id)) { + this.packageEntityIds.push(id); + } + } + const createdEntityIds = [...this.packageEntityIds]; const dashboardId = this.findCreatedDashboardId(); - await firstValueFrom( + const result = await firstValueFrom( this.iotHubApiService.registerDeviceInstall( this.data.item.id as string, { createdEntityIds, dashboardId, selectedInstallMethod: this.selectedInstallMethod, installState: this.buildInstallState() }, - { ignoreLoading: true } + this.registeredItemId, + { ignoreLoading: true, ignoreErrors: true } ) ); + if (!result?.success) { + throw new Error(result?.errorMessage); + } this.installRegistered = true; - } catch (_e) { - // Non-critical — entities are created, tracking registration failed - console.error('Failed to register device install', _e); + this.registeredItemId = result.installedItemId ?? this.registeredItemId; + } catch (err: any) { + // The entities stay as they are: Retry registers them again. + ws.progressError = this.translate.instant('iot-hub.device-install-register-error', { error: this.errorText(err) }); + this.cdr.detectChanges(); + return; } + ws.progressDone = true; + ws.completed = true; // Auto-advance to next step after a short pause if (!this.isLastWizardStep) { @@ -853,37 +916,50 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (!this.data.replaceInstalledItemId || this.replacedItemRemoved) { + private async removeReplacedEntities(ws: WizardStep): Promise { + if (!this.data.replaceInstalledItemId || this.replacedEntitiesRemoved) { return true; } - // Nothing is created yet: the first step shows the removal running and, if it fails, why. - const ep = ws.entitySteps.find(s => s.status !== 'success'); - if (ep) { - ep.status = 'running'; - ep.errorMessage = null; - this.cdr.detectChanges(); - } + this.replaceStarted = true; + ws.removingReplaced = true; + this.cdr.detectChanges(); try { - const result = await firstValueFrom(this.iotHubApiService.updateItemVersion( - this.data.replaceInstalledItemId, this.data.item.id as string, { ignoreLoading: true }, true)); - if (!result.success) { - throw new Error(result.errorMessage || this.translate.instant('iot-hub.update-error', { name: this.data.item.name })); - } - this.replacedItemRemoved = true; + await firstValueFrom(this.iotHubApiService.removeDevicePackageEntities(this.data.replaceInstalledItemId, + this.data.item.id as string, { ignoreLoading: true, ignoreErrors: true })); + this.replacedEntitiesRemoved = true; return true; } catch (err: any) { - // Retry runs the removal again. - ws.progressError = err?.error?.message || err?.message || 'Unknown error'; - if (ep) { - ep.status = 'error'; - ep.errorMessage = ws.progressError; - } - this.cdr.detectChanges(); + ws.progressError = this.translate.instant('iot-hub.device-update-remove-error', { error: this.errorText(err) }); return false; + } finally { + ws.removingReplaced = false; + this.cdr.detectChanges(); + } + } + + /** An error of the step that is not one entity's (removing the replaced entities, registering), shown below them. */ + stepLevelError(ws: WizardStep): string | null { + return ws.progressError && !ws.entitySteps?.some(ep => ep.status === 'error') ? ws.progressError : null; + } + + private errorText(err: any): string { + return err?.error?.message || err?.message || 'Unknown error'; + } + + private fitsField(field: FormFieldDefinition, value: any): boolean { + switch (field.type) { + case FormFieldType.BOOLEAN: + return typeof value === 'boolean'; + case FormFieldType.INTEGER: + return Number.isInteger(value) || (typeof value === 'string' && /^-?\d*$/.test(value)); + case FormFieldType.SELECT: + return typeof value === 'string' && (!field.options?.length || field.options.some(option => option.value === value)); + default: + return typeof value === 'string'; } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index 36b4c83bcb..5ec83949bd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -3,7 +3,7 @@ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { Observable, of, EMPTY } from 'rxjs'; -import { map, switchMap } from 'rxjs/operators'; +import { catchError, map, switchMap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; @@ -172,13 +172,20 @@ export class IotHubActionsService { /** * A device package is updated by installing the new version through the install wizard: it needs the user's - * input, so the server cannot install it alone. The wizard removes the installed version only when it starts - * creating the entities, so closing it before that leaves the package as it was. + * input, so the server cannot install it alone. The wizard removes the installed version's entities only when it starts + * creating the new ones, so closing it before that leaves the package as it was. */ private reinstallDevice(installedItem: IotHubInstalledItem, versionId: string): Observable { + const descriptor = installedItem.descriptor as DeviceInstalledItemDescriptor; return this.iotHubApiService.getVersionInfo(versionId).pipe( - switchMap(item => this.openDeviceInstallDialog(item, { replaceInstalledItemId: installedItem.id.id })), - map(result => result === 'installed' ? 'updated' : false) + switchMap(item => this.openDeviceInstallDialog(item, { + replaceInstalledItemId: installedItem.id.id, + selectedInstallMethod: descriptor?.selectedInstallMethod, + installState: descriptor?.installState + })), + map(result => result === 'installed' ? 'updated' : false), + // The error itself is shown by the HTTP interceptor; nothing is changed yet. + catchError(() => of(false)) ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 63c88b4cce..2c715bec1c 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -25,6 +25,7 @@ import { switchMap } from 'rxjs/operators'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; import { + canReviewDeviceInstall, DeviceInstalledItemDescriptor, getInstalledItemUrl, IotHubInstalledItem, @@ -182,9 +183,13 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, private openDeviceReviewDialog(item: IotHubInstalledItem): void { const descriptor = item.descriptor as DeviceInstalledItemDescriptor; - if (!descriptor.installState || !descriptor.selectedInstallMethod) { + if (!canReviewDeviceInstall(descriptor)) { this.iotHubApiService.getVersionInfo(item.itemVersionId, {ignoreLoading: true}).subscribe(versionView => { - this.iotHubActions.openItemDetail(versionView, item).subscribe(); + this.iotHubActions.openItemDetail(versionView, item).subscribe(result => { + if (result === 'updated' || result === 'deleted') { + this.loadData(); + } + }); }); return; } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index 106f6fa13a..96815a0854 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -34,6 +34,13 @@ export interface DeviceInstalledItemDescriptor { installState?: Record; } +/** + * Whether the install of a device package can be reviewed: an update that removed the entities of the installed + * version but did not install the new one leaves the item with nothing to show. + */ +export const canReviewDeviceInstall = (descriptor: DeviceInstalledItemDescriptor): boolean => + !!descriptor?.installState && !!descriptor.selectedInstallMethod && !!descriptor.createdEntityIds?.length; + export interface SolutionTemplateInstalledItemDescriptor { type: 'SOLUTION_TEMPLATE'; createdEntityIds: { entityType: string; id: string }[]; @@ -55,6 +62,7 @@ export interface InstallItemVersionResult { success: boolean; errorMessage: string; descriptor: IotHubInstalledItemDescriptor; + installedItemId?: string; } export enum InstallPlanEntryStatus { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index ad313ecc0c..7a926cc39a 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3870,6 +3870,9 @@ "update-confirm": "Update '{{name}}' to version {{version}}?", "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", + "device-update-removing": "Removing the entities of the installed version…", + "device-update-remove-error": "The entities of the installed version were not removed: {{error}}. Retry removes them again", + "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", From 9803832a400e3ddf06897ed0e306a9d6dfd8d044 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 4 Nov 2026 16:15:57 +0200 Subject: [PATCH 433/559] fix(iot-hub): keep the installed version until the wizard registers the new one Review of the device package update: - The update endpoint refuses device packages instead of removing them, so a client that reads it as an update no longer reports success with nothing installed. - The wizard removes only the entities of the installed version (installedItems/{id}/device/removeEntities, checked against the new version first), right before it creates the new ones. The installed item keeps its version until the wizard registers the new one on the same item (device/register?replaceInstalledItemId), so closing the wizard never leaves an item that claims a version that is not installed. - Every registration (one per group of entity steps, and each Retry) updates that one item and keeps tracking the entities it already tracks. A package with several groups no longer gets an installed item per group. - A failed registration is shown with Retry instead of being swallowed, and no longer rolls the entities back; the step is done only once registered. - The forms and the connection method start from what the user entered for the installed version, when the value fits the new field. - An entity of another tenant is never deleted for a package. --- .../server/controller/IotHubController.java | 12 +- .../service/iot_hub/DefaultIotHubService.java | 159 ++++++++---- .../iot_hub/InstallItemVersionResult.java | 12 +- .../server/service/iot_hub/IotHubService.java | 14 +- .../iot_hub/DefaultIotHubServiceTest.java | 232 ++++++++++++++++-- .../src/app/core/http/iot-hub-api.service.ts | 13 + .../device-install-dialog.component.html | 15 +- .../device-install-dialog.component.ts | 168 +++++++++---- .../iot-hub/iot-hub-actions.service.ts | 17 +- ...iot-hub-installed-items-table.component.ts | 9 +- .../iot-hub/iot-hub-installed-item.models.ts | 8 + .../assets/locale/locale.constant-en_US.json | 3 + 12 files changed, 540 insertions(+), 122 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index 13bd02c5da..2376c67b77 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -82,9 +82,19 @@ public class IotHubController extends BaseController { @ResponseBody public InstallItemVersionResult registerDeviceInstall( @RequestParam String versionId, + @RequestParam(required = false) UUID replaceInstalledItemId, @RequestBody JsonNode body) throws ThingsboardException { DeviceInstalledItemDescriptor descriptor = JacksonUtil.treeToValue(body, DeviceInstalledItemDescriptor.class); - return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor); + return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor, + replaceInstalledItemId != null ? new IotHubInstalledItemId(replaceInstalledItemId) : null); + } + + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @PostMapping("/installedItems/{installedItemId}/device/removeEntities") + @ResponseBody + public void removeDevicePackageEntities(@PathVariable UUID installedItemId, + @RequestParam String versionId) throws ThingsboardException { + iotHubService.removeDevicePackageEntities(getCurrentUser(), new IotHubInstalledItemId(installedItemId), versionId); } @PreAuthorize("hasAuthority('TENANT_ADMIN')") diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 83a0038268..5a091db85a 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -11,6 +11,7 @@ import org.thingsboard.common.util.ExceptionUtil; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.asset.AssetProfile; import org.thingsboard.server.common.data.DeviceProfile; +import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.cf.CalculatedField; import org.thingsboard.server.common.data.cf.CalculatedFieldType; import org.thingsboard.server.common.data.id.CalculatedFieldId; @@ -66,6 +67,7 @@ import java.util.HashSet; import java.util.HexFormat; import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import java.util.Set; import java.util.UUID; @@ -377,9 +379,16 @@ public class DefaultIotHubService implements IotHubService { String itemType = installedItem.getItemType(); IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor(); - // Skip checksum validation for solution templates and device packages: both are removed and installed again, - // and the update dialog warns about that before the user confirms. - if (!"SOLUTION_TEMPLATE".equals(itemType) && !"DEVICE".equals(itemType)) { + if ("DEVICE".equals(itemType)) { + // A device package needs the user's input to install (gateway name, credentials and so on), so the + // server cannot install the new version alone: the install wizard of the new version does the update + // (removeDevicePackageEntities, then registerDeviceInstall with this item). Refuse instead of removing + // the package here: a client that reads this as an update would report success with nothing installed. + throw new IllegalArgumentException("A device package is updated through the install wizard of its new version."); + } + + // Skip checksum validation for solution templates + if (!"SOLUTION_TEMPLATE".equals(itemType)) { JsonNode installedVersionInfo = iotHubRestClient.getVersionInfo(installedItem.getItemVersionId().toString()); if (installedVersionInfo == null) { throw new IllegalArgumentException("Failed to get installed version info from IoT Hub"); @@ -409,18 +418,6 @@ public class DefaultIotHubService implements IotHubService { throw new IllegalArgumentException("Installed item type does not match the new version's item type."); } - if ("DEVICE".equals(itemType)) { - // A device package is installed by the wizard in the UI: it needs the user's input (gateway name, - // credentials and so on), so the server cannot install the new version itself. The wizard calls this - // right before it creates the new version's entities, and registers the new version when it is done. - // Remove the installed item together with its entities, so it never shows the new version with - // nothing installed. - deleteDevicePackageEntities(tenantId, ((DeviceInstalledItemDescriptor) descriptor).getCreatedEntityIds(), user); - iotHubInstalledItemService.deleteById(tenantId, installedItemId); - log.info("[{}] Removed device package {} for the install of version {}", tenantId, installedItem.getItemName(), versionId); - return UpdateItemVersionResult.success(descriptor); - } - String itemName = versionInfo.get("name").asText(); String version = versionInfo.get("version").asText(); @@ -622,7 +619,8 @@ public class DefaultIotHubService implements IotHubService { } @Override - public InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor) { + public InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor, + IotHubInstalledItemId replaceInstalledItemId) { TenantId tenantId = user.getTenantId(); log.info("[{}] Registering device package install for version: {}", tenantId, versionId); @@ -637,44 +635,118 @@ public class DefaultIotHubService implements IotHubService { UUID itemId = UUID.fromString(versionInfo.get("itemId").asText()); String version = versionInfo.get("version").asText(); - IotHubInstalledItem installedItem = new IotHubInstalledItem(); - installedItem.setTenantId(tenantId); + // An item replaced in the meantime (deleted from another tab) leaves a new one: the entities stay tracked. + IotHubInstalledItem installedItem = replaceInstalledItemId != null + ? iotHubInstalledItemService.findById(tenantId, replaceInstalledItemId) : null; + boolean newItem = installedItem == null; + if (newItem) { + installedItem = new IotHubInstalledItem(); + installedItem.setTenantId(tenantId); + } else { + checkDevicePackage(installedItem); + checkSameItem(installedItem, itemId); + keepTracking((DeviceInstalledItemDescriptor) installedItem.getDescriptor(), descriptor); + } installedItem.setItemId(itemId); installedItem.setItemVersionId(UUID.fromString(versionId)); installedItem.setItemName(itemName); installedItem.setItemType("DEVICE"); installedItem.setVersion(version); installedItem.setDescriptor(descriptor); - try { - iotHubInstalledItemService.save(tenantId, installedItem); - } catch (Exception e) { - log.error("[{}] Failed to save IoT Hub installed-item tracking row for device package {} (version {}); rolling back created entities", - tenantId, itemName, version, e); + // Not rolled back when the save fails: the wizard shows the error, and Retry registers the same entities again. + installedItem = iotHubInstalledItemService.save(tenantId, installedItem); + + // Reported once per install, as before: the wizard registers again after each group of entities, on Retry + // and on an update. + if (newItem) { try { - deleteEntityForDescriptor(user, tenantId, descriptor, null); - } catch (Exception rb) { - log.error("[{}] Compensating delete after failed tracking save threw — device package entities may remain orphaned", - tenantId, rb); + InstallReport report = buildInstallReport(tenantId.getId(), user.getId().getId(), + projectInfo.getProjectVersion(), projectInfo.getProductType()); + iotHubRestClient.reportVersionInstalled(versionId, report); + } catch (Exception e) { + log.warn("[{}] Failed to report install for version {}: {}", tenantId, versionId, e.getMessage()); } - throw e; - } - - try { - InstallReport report = buildInstallReport(tenantId.getId(), user.getId().getId(), - projectInfo.getProjectVersion(), projectInfo.getProductType()); - iotHubRestClient.reportVersionInstalled(versionId, report); - } catch (Exception e) { - log.warn("[{}] Failed to report install for version {}: {}", tenantId, versionId, e.getMessage()); } log.info("[{}] Registered device package install: {} (version {})", tenantId, itemName, version); - return InstallItemVersionResult.success(descriptor); + return InstallItemVersionResult.success(descriptor, installedItem.getId().getId()); } catch (Exception e) { log.error("[{}] Failed to register device package install: {}", tenantId, versionId, e); return InstallItemVersionResult.error(e.getMessage()); } } + @Override + public void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId) { + TenantId tenantId = user.getTenantId(); + IotHubInstalledItem installedItem = findDevicePackage(tenantId, installedItemId); + // Checked before anything is removed: the registration of the new version checks the same and would fail. + JsonNode versionInfo = iotHubRestClient.getVersionInfo(versionId); + if (versionInfo == null) { + throw new IllegalArgumentException("Failed to get version info from IoT Hub"); + } + checkSameItem(installedItem, UUID.fromString(versionInfo.get(FIELD_ITEM_ID).asText())); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); + descriptor.setCreatedEntityIds(null); + descriptor.setDashboardId(null); + // Keep what the user entered in the forms (the wizard of the new version starts from it), drop the outputs of + // the removed entities: their ids, links and tokens no longer exist. + if (descriptor.getInstallState() != null) { + descriptor.setInstallState(stripEntityOutputs(descriptor.getInstallState())); + } + iotHubInstalledItemService.save(tenantId, installedItem); + log.info("[{}] Removed the entities of device package {} for its update", tenantId, installedItem.getItemName()); + } + + private static Map stripEntityOutputs(Map installState) { + Map stripped = new LinkedHashMap<>(); + installState.forEach((step, state) -> { + JsonNode formValues = state != null ? state.get("formValues") : null; + if (formValues != null) { + stripped.put(step, JacksonUtil.newObjectNode().set("formValues", formValues)); + } + }); + return stripped; + } + + private static void checkSameItem(IotHubInstalledItem installedItem, UUID itemId) { + if (!itemId.equals(installedItem.getItemId())) { + throw new IllegalArgumentException("The new version belongs to another IoT Hub item."); + } + } + + /** + * The new descriptor keeps tracking every entity the item tracks: the wizard registers again after each group of + * entities, and an entity left out would stay in the tenant with nothing to remove it. An update registers only + * after removing the entities of the installed version, so it tracks none of them any more. + */ + private static void keepTracking(DeviceInstalledItemDescriptor tracked, DeviceInstalledItemDescriptor descriptor) { + if (tracked.getCreatedEntityIds() != null) { + List ids = descriptor.getCreatedEntityIds() != null ? new ArrayList<>(descriptor.getCreatedEntityIds()) : new ArrayList<>(); + tracked.getCreatedEntityIds().stream().filter(id -> !ids.contains(id)).forEach(ids::add); + descriptor.setCreatedEntityIds(ids); + } + if (descriptor.getDashboardId() == null) { + descriptor.setDashboardId(tracked.getDashboardId()); + } + } + + private IotHubInstalledItem findDevicePackage(TenantId tenantId, IotHubInstalledItemId installedItemId) { + IotHubInstalledItem installedItem = iotHubInstalledItemService.findById(tenantId, installedItemId); + if (installedItem == null) { + throw new IllegalArgumentException("Installed item not found"); + } + checkDevicePackage(installedItem); + return installedItem; + } + + private static void checkDevicePackage(IotHubInstalledItem installedItem) { + if (!"DEVICE".equals(installedItem.getItemType()) || !(installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor)) { + throw new IllegalArgumentException("Installed item is not a device package"); + } + } + private void deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { if (createdEntityIds == null || createdEntityIds.isEmpty()) { return; @@ -690,23 +762,28 @@ public class DefaultIotHubService implements IotHubService { } } + /** The ids come from what the client registered: never delete an entity of another tenant. */ + private static boolean isOwnedBy(HasTenantId entity, TenantId tenantId) { + return entity != null && tenantId.equals(entity.getTenantId()); + } + private void deleteDevicePackageEntity(TenantId tenantId, EntityId entityId, SecurityUser user) { switch (entityId.getEntityType()) { case DEVICE -> { var device = deviceService.findDeviceById(tenantId, new DeviceId(entityId.getId())); - if (device != null) tbDeviceService.delete(device, user); + if (isOwnedBy(device, tenantId)) tbDeviceService.delete(device, user); } case DEVICE_PROFILE -> { var profile = deviceProfileService.findDeviceProfileById(tenantId, new DeviceProfileId(entityId.getId())); - if (profile != null) tbDeviceProfileService.delete(profile, user); + if (isOwnedBy(profile, tenantId)) tbDeviceProfileService.delete(profile, user); } case DASHBOARD -> { var dashboard = dashboardService.findDashboardById(tenantId, new DashboardId(entityId.getId())); - if (dashboard != null) tbDashboardService.delete(dashboard, user); + if (isOwnedBy(dashboard, tenantId)) tbDashboardService.delete(dashboard, user); } case RULE_CHAIN -> { var ruleChain = ruleChainService.findRuleChainById(tenantId, new RuleChainId(entityId.getId())); - if (ruleChain != null) tbRuleChainService.delete(ruleChain, user); + if (isOwnedBy(ruleChain, tenantId)) tbRuleChainService.delete(ruleChain, user); } default -> log.warn("[{}] Unsupported entity type for device package delete: {}", tenantId, entityId.getEntityType()); } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java index 04c9e6a80d..22aa2d5671 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java @@ -7,6 +7,8 @@ import lombok.Data; import lombok.NoArgsConstructor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItemDescriptor; +import java.util.UUID; + @Data @NoArgsConstructor @AllArgsConstructor @@ -15,13 +17,19 @@ public class InstallItemVersionResult { private boolean success; private String errorMessage; private IotHubInstalledItemDescriptor descriptor; + /** The installed item that was saved; null when unknown. */ + private UUID installedItemId; public static InstallItemVersionResult success(IotHubInstalledItemDescriptor descriptor) { - return new InstallItemVersionResult(true, null, descriptor); + return new InstallItemVersionResult(true, null, descriptor, null); + } + + public static InstallItemVersionResult success(IotHubInstalledItemDescriptor descriptor, UUID installedItemId) { + return new InstallItemVersionResult(true, null, descriptor, installedItemId); } public static InstallItemVersionResult error(String errorMessage) { - return new InstallItemVersionResult(false, errorMessage, null); + return new InstallItemVersionResult(false, errorMessage, null, null); } } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 2e8d0c453f..24d88ac4da 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -14,7 +14,19 @@ public interface IotHubService { UpdateItemVersionResult updateItemVersion(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, boolean force, HttpServletRequest request); - InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor); + /** + * Records a device package installed by the install wizard. With {@code replaceInstalledItemId} (an update), that + * installed item takes the new version instead of a new installed item being created. + */ + InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor, + IotHubInstalledItemId replaceInstalledItemId); + + /** + * First step of a device package update: removes the entities the package created and keeps the installed item at + * its current version, so it is never shown with a version that is not installed. Repeating it is safe. Refused, + * before anything is removed, when {@code versionId} (the version to install) is not a version of that item. + */ + void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId); void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 856629ddfb..b07b3c8195 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -30,7 +30,9 @@ import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; import org.thingsboard.server.service.entitiy.device.TbDeviceService; import org.thingsboard.server.service.security.model.SecurityUser; +import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; @@ -431,9 +433,30 @@ class DefaultIotHubServiceTest { } @Test - void updateItemVersion_device_removesInstalledItemWithItsEntities() throws Exception { + void updateItemVersion_device_refusedAndRemovesNothing() { + mockTenant(); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(new DeviceId(UUID.randomUUID()))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemVersionId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + // The install wizard of the new version does the update. A client that called this as an update before + // got success while the package was removed and nothing was installed again. + UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), UUID.randomUUID().toString(), true, null); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getErrorMessage()).contains("install wizard"); + verify(tbDeviceService, never()).delete(any(), any()); + verify(iotHubInstalledItemService, never()).deleteById(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_removesEntitiesInReverseOrderAndKeepsTheItemVersion() throws Exception { mockTenant(); - String newVersionId = UUID.randomUUID().toString(); Device device = new Device(new DeviceId(UUID.randomUUID())); Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); @@ -441,48 +464,215 @@ class DefaultIotHubServiceTest { descriptor.setDashboardId(dashboard.getId()); IotHubInstalledItem item = installedItem(UUID.randomUUID()); item.setItemType("DEVICE"); - item.setItemVersionId(UUID.randomUUID()); + UUID versionId = UUID.randomUUID(); + item.setItemVersionId(versionId); + item.setVersion("1.0.1"); item.setDescriptor(descriptor); - + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "Configuration", JacksonUtil.toJsonNode("{\"formValues\":{\"gatewayName\":\"GW\"}}"), + "Gateway", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"x\"},\"resolution\":\"created\"}")))); when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + item.setItemId(UUID.randomUUID()); when(iotHubRestClient.getVersionInfo(newVersionId)) - .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "DEVICE", "Gateway", "1.0.2")); + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + device.setTenantId(tenantId); + dashboard.setTenantId(tenantId); when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); - UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + service.removeDevicePackageEntities(user, item.getId(), newVersionId); - // No "entity modified" question: the update dialog warns that the package is installed again. - assertThat(result.isSuccess()).isTrue(); - assertThat(result.isEntityModified()).isFalse(); - // The entities are removed in reverse order of creation, then the installed item itself: the install - // wizard registers the new version, and until then the package is not shown as installed. InOrder order = inOrder(tbDashboardService, tbDeviceService, iotHubInstalledItemService); order.verify(tbDashboardService).delete(dashboard, user); order.verify(tbDeviceService).delete(device, user); - order.verify(iotHubInstalledItemService).deleteById(tenantId, item.getId()); - // Nothing is installed or saved on the server: the new version is never recorded with no entities. - verify(iotHubRestClient, never()).getVersionInfo(item.getItemVersionId().toString()); - verify(iotHubRestClient, never()).getVersionFileData(anyString()); - verify(iotHubInstalledItemService, never()).save(any(), any()); + order.verify(iotHubInstalledItemService).save(tenantId, item); + // The item keeps its version until the wizard registers the new one, and lists nothing to remove again. + assertThat(item.getItemVersionId()).isEqualTo(versionId); + assertThat(item.getVersion()).isEqualTo("1.0.1"); + assertThat(descriptor.getCreatedEntityIds()).isNull(); + assertThat(descriptor.getDashboardId()).isNull(); + // The form values stay for the wizard of the new version; the removed entities' outputs go. + assertThat(descriptor.getInstallState()).containsOnlyKeys("Configuration"); + assertThat(descriptor.getInstallState().get("Configuration").get("formValues").get("gatewayName").asText()).isEqualTo("GW"); + verify(iotHubInstalledItemService, never()).deleteById(any(), any()); } @Test - void updateItemVersion_device_versionOfAnotherType_keepsEverything() { + void registerDeviceInstall_replace_updatesTheSameItemToTheNewVersion() { mockTenant(); - String newVersionId = UUID.randomUUID().toString(); IotHubInstalledItem item = installedItem(UUID.randomUUID()); item.setItemType("DEVICE"); item.setItemVersionId(UUID.randomUUID()); + item.setVersion("1.0.1"); item.setDescriptor(new DeviceInstalledItemDescriptor()); + String newVersionId = UUID.randomUUID().toString(); + String itemId = UUID.randomUUID().toString(); + item.setItemId(UUID.fromString(itemId)); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)).thenReturn(version(newVersionId, itemId, "DEVICE", "Gateway", "1.0.2")); + DeviceInstalledItemDescriptor newDescriptor = new DeviceInstalledItemDescriptor(); + newDescriptor.setCreatedEntityIds(List.of(new DeviceId(UUID.randomUUID()))); + + when(iotHubInstalledItemService.save(tenantId, item)).thenReturn(item); + InstallItemVersionResult result = service.registerDeviceInstall(user, newVersionId, newDescriptor, item.getId()); + + assertThat(result.isSuccess()).isTrue(); + assertThat(result.getInstalledItemId()).isEqualTo(item.getId().getId()); + verify(iotHubInstalledItemService).save(tenantId, item); + assertThat(item.getId()).isNotNull(); + assertThat(item.getItemVersionId()).isEqualTo(UUID.fromString(newVersionId)); + assertThat(item.getVersion()).isEqualTo("1.0.2"); + assertThat(item.getDescriptor()).isSameAs(newDescriptor); + } + + @Test + void removeDevicePackageEntities_notADevicePackage_refused() { + mockTenant(); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("RULE_CHAIN"); + item.setDescriptor(new RuleChainInstalledItemDescriptor()); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), UUID.randomUUID().toString())) + .isInstanceOf(IllegalArgumentException.class); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void registerDeviceInstall_replace_keepsTrackingTheEntitiesTheItemTracks() { + mockTenant(); + String itemId = UUID.randomUUID().toString(); + EntityId gateway = new DeviceId(UUID.randomUUID()); + DashboardId dashboard = new DashboardId(UUID.randomUUID()); + DeviceInstalledItemDescriptor tracked = new DeviceInstalledItemDescriptor(); + tracked.setCreatedEntityIds(List.of(gateway, dashboard)); + tracked.setDashboardId(dashboard); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.fromString(itemId)); + item.setDescriptor(tracked); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)).thenReturn(version(newVersionId, itemId, "DEVICE", "Gateway", "1.0.2")); + when(iotHubInstalledItemService.save(tenantId, item)).thenReturn(item); + EntityId device = new DeviceId(UUID.randomUUID()); + DeviceInstalledItemDescriptor next = new DeviceInstalledItemDescriptor(); + next.setCreatedEntityIds(List.of(device)); + + InstallItemVersionResult result = service.registerDeviceInstall(user, newVersionId, next, item.getId()); + + // A registration that leaves tracked entities out (another group, another connection method) still tracks them. + assertThat(result.isSuccess()).isTrue(); + assertThat(next.getCreatedEntityIds()).containsExactlyInAnyOrder(device, gateway, dashboard); + assertThat(next.getDashboardId()).isEqualTo(dashboard); + } + + @Test + void registerDeviceInstall_replacedItemGone_savesANewItem() { + mockTenant(); + IotHubInstalledItemId goneId = new IotHubInstalledItemId(UUID.randomUUID()); + String versionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(versionId)) + .thenReturn(version(versionId, UUID.randomUUID().toString(), "DEVICE", "Gateway", "1.0.2")); + when(iotHubInstalledItemService.save(eq(tenantId), any())).thenAnswer(inv -> { + IotHubInstalledItem saved = inv.getArgument(1); + saved.setId(new IotHubInstalledItemId(UUID.randomUUID())); + return saved; + }); + + InstallItemVersionResult result = service.registerDeviceInstall(user, versionId, new DeviceInstalledItemDescriptor(), goneId); + + // Deleted from another tab during the update: the new entities are tracked by a new item, Retry is not stuck. + assertThat(result.isSuccess()).isTrue(); + assertThat(result.getInstalledItemId()).isNotEqualTo(goneId.getId()); + } + + @Test + void registerDeviceInstall_replace_versionOfAnotherItem_refused() { + mockTenant(); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(new DeviceInstalledItemDescriptor()); + String newVersionId = UUID.randomUUID().toString(); when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); when(iotHubRestClient.getVersionInfo(newVersionId)) - .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "WIDGET", "Widget", "1.0.0")); + .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "DEVICE", "Other", "2.0.0")); - UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + InstallItemVersionResult result = service.registerDeviceInstall(user, newVersionId, new DeviceInstalledItemDescriptor(), item.getId()); assertThat(result.isSuccess()).isFalse(); - verify(iotHubInstalledItemService, never()).deleteById(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void registerDeviceInstall_replace_nextGroupWithAllTrackedEntities_updatesTheItem() { + mockTenant(); + String itemId = UUID.randomUUID().toString(); + EntityId gateway = new DeviceId(UUID.randomUUID()); + EntityId dashboard = new DashboardId(UUID.randomUUID()); + DeviceInstalledItemDescriptor firstGroup = new DeviceInstalledItemDescriptor(); + firstGroup.setCreatedEntityIds(List.of(gateway)); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.fromString(itemId)); + item.setDescriptor(firstGroup); + String versionId = UUID.randomUUID().toString(); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, itemId, "DEVICE", "Gateway", "1.0.2")); + when(iotHubInstalledItemService.save(tenantId, item)).thenReturn(item); + // The wizard registers after each group of entities with everything it created so far. + DeviceInstalledItemDescriptor bothGroups = new DeviceInstalledItemDescriptor(); + bothGroups.setCreatedEntityIds(List.of(gateway, dashboard)); + + InstallItemVersionResult result = service.registerDeviceInstall(user, versionId, bothGroups, item.getId()); + + assertThat(result.isSuccess()).isTrue(); + assertThat(item.getDescriptor()).isSameAs(bothGroups); + } + + @Test + void removeDevicePackageEntities_entityOfAnotherTenant_notDeleted() { + mockTenant(); + Device foreignDevice = new Device(new DeviceId(UUID.randomUUID())); + foreignDevice.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(foreignDevice.getId())); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + item.setItemId(UUID.randomUUID()); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, foreignDevice.getId())).thenReturn(foreignDevice); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + verify(tbDeviceService, never()).delete(any(), any()); + } + + @Test + void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { + mockTenant(); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(new DeviceId(UUID.randomUUID()))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + String otherVersionId = UUID.randomUUID().toString(); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(otherVersionId)) + .thenReturn(version(otherVersionId, UUID.randomUUID().toString(), "DEVICE", "Other", "2.0.0")); + + // The registration of that version would be refused: nothing may be removed for it. + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), otherVersionId)) + .isInstanceOf(IllegalArgumentException.class); + verify(tbDeviceService, never()).delete(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); } } diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 70f97ed061..ba19c0f6e6 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -179,11 +179,24 @@ export class IotHubApiService { public registerDeviceInstall( versionId: string, descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, + replaceInstalledItemId?: string, config?: IotHubRequestConfig ): Observable { + let params = this.buildParams(config); + if (replaceInstalledItemId) { + params = params.set('replaceInstalledItemId', replaceInstalledItemId); + } return this.http.post( `/api/iot-hub/device/register?versionId=${versionId}`, { type: 'DEVICE', ...descriptor }, + { params } + ); + } + + public removeDevicePackageEntities(installedItemId: string, versionId: string, config?: IotHubRequestConfig): Observable { + return this.http.post( + `/api/iot-hub/installedItems/${installedItemId}/device/removeEntities?versionId=${versionId}`, + null, { params: this.buildParams(config) } ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 28e7f61ceb..6db53d1cfb 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -143,6 +143,15 @@
    } } + @if (ws.removingReplaced) { +
    + + {{ 'iot-hub.device-update-removing' | translate }} +
    + } + @if (stepLevelError(ws); as error) { + {{ error }} + }
    } } @@ -157,7 +166,7 @@ } @else {

    {{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }}

    -
    @@ -211,13 +220,13 @@ @if (allProgressDone) { } @else { - + } @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 5fe32d30a1..0b46df81bb 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -48,9 +48,10 @@ export interface DeviceInstallDialogData { selectedInstallMethod?: string; installState?: Record; /** - * Update of an installed device package: the installed item of the current version. It is removed together - * with its entities right before the wizard creates the new version's entities, not earlier, so closing the - * wizard before that leaves the package as it was. + * Update of an installed device package: the installed item of the current version. Its entities are removed + * right before the wizard creates the new version's entities, not earlier, so closing the wizard before that + * leaves the package as it was; the item takes the new version when the wizard registers it. The forms start + * from installState and the connection method from selectedInstallMethod, as the user filled them before. */ replaceInstalledItemId?: string; } @@ -71,6 +72,8 @@ export interface WizardStep { entitySteps?: EntityStepProgress[]; progressError?: string; progressDone?: boolean; + /** Update only: the entities of the replaced version are being removed. */ + removingReplaced?: boolean; } const ENTITY_STEP_MIN_DELAY = 2000; @@ -108,8 +111,24 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -141,6 +160,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + this.registeredItemId = this.data.replaceInstalledItemId; try { const zipData = await firstValueFrom(this.iotHubApiService.getVersionFileData(this.data.item.id, { ignoreLoading: true }).pipe( mergeMap((blob: Blob) => blob.arrayBuffer()) @@ -199,12 +219,19 @@ export class TbDeviceInstallDialogComponent extends DialogComponent ws.removingReplaced); + } + cancel(): void { - // Once the replaced version is removed, the caller has to reload its installed items as well. - this.dialogRef.close(this.installRegistered || this.replacedItemRemoved ? 'installed' : false); + if (this.removingReplaced) { + // The removal is irreversible and already running: closing now would leave the outcome unknown. + return; + } + this.closed = true; + // Once the replaced version's entities may be gone, the caller has to reload its installed items as well. + this.dialogRef.close(this.installRegistered || this.replaceStarted ? 'installed' : false); } retryEntitySteps(step: WizardStep): void { @@ -420,7 +463,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; - // In review mode, use stored values; otherwise use defaults - const storedValues = this.reviewMode && this.data.installState?.[ws.label]?.formValues; + // In review mode and on an update, use stored values; otherwise use defaults + const storedValues = (this.reviewMode || this.data.replaceInstalledItemId) && this.data.installState?.[ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); const validators = []; @@ -713,7 +756,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === output.id)) { + this.packageEntityIds.push({ entityType, id: output.id }); + } const alias = stepTypeAliasMap[ep.step.type]; if (alias) { this.entityOutputs.set(alias, output); @@ -786,7 +835,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (!await this.removeReplacedItem(ws)) { + if (!await this.removeReplacedEntities(ws) || this.closed) { + // The dialog was closed meanwhile (navigating away): create nothing. return; } for (const ep of ws.entitySteps) { @@ -818,31 +868,44 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === id.id)) { + this.packageEntityIds.push(id); + } + } + const createdEntityIds = [...this.packageEntityIds]; const dashboardId = this.findCreatedDashboardId(); - await firstValueFrom( + const result = await firstValueFrom( this.iotHubApiService.registerDeviceInstall( this.data.item.id as string, { createdEntityIds, dashboardId, selectedInstallMethod: this.selectedInstallMethod, installState: this.buildInstallState() }, - { ignoreLoading: true } + this.registeredItemId, + { ignoreLoading: true, ignoreErrors: true } ) ); + if (!result?.success) { + throw new Error(result?.errorMessage); + } this.installRegistered = true; - } catch (_e) { - // Non-critical — entities are created, tracking registration failed - console.error('Failed to register device install', _e); + this.registeredItemId = result.installedItemId ?? this.registeredItemId; + } catch (err: any) { + // The entities stay as they are: Retry registers them again. + ws.progressError = this.translate.instant('iot-hub.device-install-register-error', { error: this.errorText(err) }); + this.cdr.detectChanges(); + return; } + ws.progressDone = true; + ws.completed = true; // Auto-advance to next step after a short pause if (!this.isLastWizardStep) { @@ -853,37 +916,50 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (!this.data.replaceInstalledItemId || this.replacedItemRemoved) { + private async removeReplacedEntities(ws: WizardStep): Promise { + if (!this.data.replaceInstalledItemId || this.replacedEntitiesRemoved) { return true; } - // Nothing is created yet: the first step shows the removal running and, if it fails, why. - const ep = ws.entitySteps.find(s => s.status !== 'success'); - if (ep) { - ep.status = 'running'; - ep.errorMessage = null; - this.cdr.detectChanges(); - } + this.replaceStarted = true; + ws.removingReplaced = true; + this.cdr.detectChanges(); try { - const result = await firstValueFrom(this.iotHubApiService.updateItemVersion( - this.data.replaceInstalledItemId, this.data.item.id as string, { ignoreLoading: true }, true)); - if (!result.success) { - throw new Error(result.errorMessage || this.translate.instant('iot-hub.update-error', { name: this.data.item.name })); - } - this.replacedItemRemoved = true; + await firstValueFrom(this.iotHubApiService.removeDevicePackageEntities(this.data.replaceInstalledItemId, + this.data.item.id as string, { ignoreLoading: true, ignoreErrors: true })); + this.replacedEntitiesRemoved = true; return true; } catch (err: any) { - // Retry runs the removal again. - ws.progressError = err?.error?.message || err?.message || 'Unknown error'; - if (ep) { - ep.status = 'error'; - ep.errorMessage = ws.progressError; - } - this.cdr.detectChanges(); + ws.progressError = this.translate.instant('iot-hub.device-update-remove-error', { error: this.errorText(err) }); return false; + } finally { + ws.removingReplaced = false; + this.cdr.detectChanges(); + } + } + + /** An error of the step that is not one entity's (removing the replaced entities, registering), shown below them. */ + stepLevelError(ws: WizardStep): string | null { + return ws.progressError && !ws.entitySteps?.some(ep => ep.status === 'error') ? ws.progressError : null; + } + + private errorText(err: any): string { + return err?.error?.message || err?.message || 'Unknown error'; + } + + private fitsField(field: FormFieldDefinition, value: any): boolean { + switch (field.type) { + case FormFieldType.BOOLEAN: + return typeof value === 'boolean'; + case FormFieldType.INTEGER: + return Number.isInteger(value) || (typeof value === 'string' && /^-?\d*$/.test(value)); + case FormFieldType.SELECT: + return typeof value === 'string' && (!field.options?.length || field.options.some(option => option.value === value)); + default: + return typeof value === 'string'; } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index 36b4c83bcb..5ec83949bd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -3,7 +3,7 @@ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { Observable, of, EMPTY } from 'rxjs'; -import { map, switchMap } from 'rxjs/operators'; +import { catchError, map, switchMap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; @@ -172,13 +172,20 @@ export class IotHubActionsService { /** * A device package is updated by installing the new version through the install wizard: it needs the user's - * input, so the server cannot install it alone. The wizard removes the installed version only when it starts - * creating the entities, so closing it before that leaves the package as it was. + * input, so the server cannot install it alone. The wizard removes the installed version's entities only when it starts + * creating the new ones, so closing it before that leaves the package as it was. */ private reinstallDevice(installedItem: IotHubInstalledItem, versionId: string): Observable { + const descriptor = installedItem.descriptor as DeviceInstalledItemDescriptor; return this.iotHubApiService.getVersionInfo(versionId).pipe( - switchMap(item => this.openDeviceInstallDialog(item, { replaceInstalledItemId: installedItem.id.id })), - map(result => result === 'installed' ? 'updated' : false) + switchMap(item => this.openDeviceInstallDialog(item, { + replaceInstalledItemId: installedItem.id.id, + selectedInstallMethod: descriptor?.selectedInstallMethod, + installState: descriptor?.installState + })), + map(result => result === 'installed' ? 'updated' : false), + // The error itself is shown by the HTTP interceptor; nothing is changed yet. + catchError(() => of(false)) ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 63c88b4cce..2c715bec1c 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -25,6 +25,7 @@ import { switchMap } from 'rxjs/operators'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; import { + canReviewDeviceInstall, DeviceInstalledItemDescriptor, getInstalledItemUrl, IotHubInstalledItem, @@ -182,9 +183,13 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, private openDeviceReviewDialog(item: IotHubInstalledItem): void { const descriptor = item.descriptor as DeviceInstalledItemDescriptor; - if (!descriptor.installState || !descriptor.selectedInstallMethod) { + if (!canReviewDeviceInstall(descriptor)) { this.iotHubApiService.getVersionInfo(item.itemVersionId, {ignoreLoading: true}).subscribe(versionView => { - this.iotHubActions.openItemDetail(versionView, item).subscribe(); + this.iotHubActions.openItemDetail(versionView, item).subscribe(result => { + if (result === 'updated' || result === 'deleted') { + this.loadData(); + } + }); }); return; } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index c836687a45..5a18c4a6a4 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -34,6 +34,13 @@ export interface DeviceInstalledItemDescriptor { installState?: Record; } +/** + * Whether the install of a device package can be reviewed: an update that removed the entities of the installed + * version but did not install the new one leaves the item with nothing to show. + */ +export const canReviewDeviceInstall = (descriptor: DeviceInstalledItemDescriptor): boolean => + !!descriptor?.installState && !!descriptor.selectedInstallMethod && !!descriptor.createdEntityIds?.length; + export interface SolutionTemplateInstalledItemDescriptor { type: 'SOLUTION_TEMPLATE'; createdEntityIds: { entityType: string; id: string }[]; @@ -55,6 +62,7 @@ export interface InstallItemVersionResult { success: boolean; errorMessage: string; descriptor: IotHubInstalledItemDescriptor; + installedItemId?: string; } export enum InstallPlanEntryStatus { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index ba48007bab..d4d249f2b7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -4480,6 +4480,9 @@ "update-confirm": "Update '{{name}}' to version {{version}}?", "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", + "device-update-removing": "Removing the entities of the installed version…", + "device-update-remove-error": "The entities of the installed version were not removed: {{error}}. Retry removes them again", + "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", From a8513638860a8a5e1db78f8568f40f0a644db508 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 4 Nov 2026 18:32:01 +0200 Subject: [PATCH 434/559] Document NotificationInfo subtypes in the OpenAPI spec NotificationInfo uses JsonTypeInfo.Id.CLASS without JsonSubTypes, so the spec had only an empty base schema and generated clients dropped every subtype field (alarm, rule engine lifecycle, etc.). Add a discriminator mapping from the fully qualified class name to each of the 24 concrete subtypes and list them in JsonSubTypes so each one is generated as allOf NotificationInfo. The wire format is unchanged: Jackson still writes and reads the class name as the type id. --- .../notification/info/NotificationInfo.java | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/notification/info/NotificationInfo.java b/common/data/src/main/java/org/thingsboard/server/common/data/notification/info/NotificationInfo.java index 54c8400c44..ad8b61402d 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/notification/info/NotificationInfo.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/notification/info/NotificationInfo.java @@ -5,14 +5,74 @@ package org.thingsboard.server.common.data.notification.info; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; +import io.swagger.v3.oas.annotations.media.DiscriminatorMapping; +import io.swagger.v3.oas.annotations.media.Schema; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.EntityId; import java.util.Map; +// The type id is the fully qualified class name (JsonTypeInfo.Id.CLASS). The subtypes and the mapping +// below only document it in the OpenAPI spec; they do not change how Jackson reads or writes the type. +@Schema( + discriminatorProperty = "type", + discriminatorMapping = { + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AddonAccessErrorNotificationInfo", schema = AddonAccessErrorNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AddonAccessRequestNotificationInfo", schema = AddonAccessRequestNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AlarmAssignmentNotificationInfo", schema = AlarmAssignmentNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AlarmCommentNotificationInfo", schema = AlarmCommentNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AlarmNotificationInfo", schema = AlarmNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.ApiUsageLimitNotificationInfo", schema = ApiUsageLimitNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.DeviceActivityNotificationInfo", schema = DeviceActivityNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EdgeCommunicationFailureNotificationInfo", schema = EdgeCommunicationFailureNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EdgeConnectionNotificationInfo", schema = EdgeConnectionNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EntitiesLimitIncreaseRequestNotificationInfo", schema = EntitiesLimitIncreaseRequestNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EntitiesLimitNotificationInfo", schema = EntitiesLimitNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EntityActionNotificationInfo", schema = EntityActionNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.GeneralNotificationInfo", schema = GeneralNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.IntegrationLifecycleEventNotificationInfo", schema = IntegrationLifecycleEventNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.NewPlatformVersionNotificationInfo", schema = NewPlatformVersionNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.PlanUpgradeRequestNotificationInfo", schema = PlanUpgradeRequestNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.RateLimitsNotificationInfo", schema = RateLimitsNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.ReportGeneratedNotificationInfo", schema = ReportGeneratedNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.ResourcesShortageNotificationInfo", schema = ResourcesShortageNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.RuleEngineComponentLifecycleEventNotificationInfo", schema = RuleEngineComponentLifecycleEventNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.RuleEngineOriginatedNotificationInfo", schema = RuleEngineOriginatedNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.TaskProcessingFailureNotificationInfo", schema = TaskProcessingFailureNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.UserActivatedNotificationInfo", schema = UserActivatedNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.UserRegisteredNotificationInfo", schema = UserRegisteredNotificationInfo.class) + } +) @JsonIgnoreProperties(ignoreUnknown = true) @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, property = "type") +@JsonSubTypes({ + @JsonSubTypes.Type(AddonAccessErrorNotificationInfo.class), + @JsonSubTypes.Type(AddonAccessRequestNotificationInfo.class), + @JsonSubTypes.Type(AlarmAssignmentNotificationInfo.class), + @JsonSubTypes.Type(AlarmCommentNotificationInfo.class), + @JsonSubTypes.Type(AlarmNotificationInfo.class), + @JsonSubTypes.Type(ApiUsageLimitNotificationInfo.class), + @JsonSubTypes.Type(DeviceActivityNotificationInfo.class), + @JsonSubTypes.Type(EdgeCommunicationFailureNotificationInfo.class), + @JsonSubTypes.Type(EdgeConnectionNotificationInfo.class), + @JsonSubTypes.Type(EntitiesLimitIncreaseRequestNotificationInfo.class), + @JsonSubTypes.Type(EntitiesLimitNotificationInfo.class), + @JsonSubTypes.Type(EntityActionNotificationInfo.class), + @JsonSubTypes.Type(GeneralNotificationInfo.class), + @JsonSubTypes.Type(IntegrationLifecycleEventNotificationInfo.class), + @JsonSubTypes.Type(NewPlatformVersionNotificationInfo.class), + @JsonSubTypes.Type(PlanUpgradeRequestNotificationInfo.class), + @JsonSubTypes.Type(RateLimitsNotificationInfo.class), + @JsonSubTypes.Type(ReportGeneratedNotificationInfo.class), + @JsonSubTypes.Type(ResourcesShortageNotificationInfo.class), + @JsonSubTypes.Type(RuleEngineComponentLifecycleEventNotificationInfo.class), + @JsonSubTypes.Type(RuleEngineOriginatedNotificationInfo.class), + @JsonSubTypes.Type(TaskProcessingFailureNotificationInfo.class), + @JsonSubTypes.Type(UserActivatedNotificationInfo.class), + @JsonSubTypes.Type(UserRegisteredNotificationInfo.class) +}) public interface NotificationInfo { @JsonIgnore From 358ca210f971cdd397b1fa05fbc2578ff11cd162 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 08:56:46 +0200 Subject: [PATCH 435/559] fix(iot-hub): keep the request config on a device package registration - The registration sends replaceInstalledItemId in the URL: HttpParams.set() returned a plain HttpParams, which dropped ignoreLoading/ignoreErrors, so a failed registration showed a toast next to the wizard's own error. - The stepper header cannot go back while the installed version's entities are being removed, like the Back button. - A version from the Hub without its item is reported as such instead of a NullPointerException. - The wizard registers the entities it keeps from the moment they exist; the second collection of the same ids before each registration is gone. - The tests verify TbDeviceService.delete through the Device overload, as 4.4 and PE also have one for a DeviceId, so the test is the same file everywhere. --- .../service/iot_hub/DefaultIotHubService.java | 6 ++++- .../iot_hub/DefaultIotHubServiceTest.java | 6 ++--- .../src/app/core/http/iot-hub-api.service.ts | 10 ++++----- .../device-install-dialog.component.html | 2 +- .../device-install-dialog.component.ts | 22 ------------------- 5 files changed, 13 insertions(+), 33 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index c4389517d0..ece9c0cad9 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -631,7 +631,11 @@ public class DefaultIotHubService implements IotHubService { if (versionInfo == null) { throw new IllegalArgumentException("Failed to get version info from IoT Hub"); } - checkSameItem(installedItem, UUID.fromString(versionInfo.get(FIELD_ITEM_ID).asText())); + String itemId = optText(versionInfo, FIELD_ITEM_ID); + if (itemId == null) { + throw new IllegalArgumentException("IoT Hub returned the version without its item"); + } + checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); descriptor.setCreatedEntityIds(null); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index b07b3c8195..0d6a8d49b8 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -449,7 +449,7 @@ class DefaultIotHubServiceTest { assertThat(result.isSuccess()).isFalse(); assertThat(result.getErrorMessage()).contains("install wizard"); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).deleteById(any(), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } @@ -652,7 +652,7 @@ class DefaultIotHubServiceTest { service.removeDevicePackageEntities(user, item.getId(), newVersionId); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); } @Test @@ -672,7 +672,7 @@ class DefaultIotHubServiceTest { // The registration of that version would be refused: nothing may be removed for it. assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), otherVersionId)) .isInstanceOf(IllegalArgumentException.class); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } } diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index ba19c0f6e6..07c1c9a64d 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -182,14 +182,12 @@ export class IotHubApiService { replaceInstalledItemId?: string, config?: IotHubRequestConfig ): Observable { - let params = this.buildParams(config); - if (replaceInstalledItemId) { - params = params.set('replaceInstalledItemId', replaceInstalledItemId); - } + // In the URL: HttpParams.set() would drop the interceptor config (ignoreLoading, ignoreErrors) of buildParams. + const replace = replaceInstalledItemId ? `&replaceInstalledItemId=${replaceInstalledItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}`, + `/api/iot-hub/device/register?versionId=${versionId}${replace}`, { type: 'DEVICE', ...descriptor }, - { params } + { params: this.buildParams(config) } ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 6db53d1cfb..45060d91bc 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -206,7 +206,7 @@ @for (ws of wizardSteps; track ws.label) { - {{ ws.label }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index c9aa546f23..51903723b1 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -878,11 +878,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === id.id)) { - this.packageEntityIds.push(id); - } - } const createdEntityIds = [...this.packageEntityIds]; const dashboardId = this.findCreatedDashboardId(); const result = await firstValueFrom( @@ -1215,23 +1210,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 08:56:46 +0200 Subject: [PATCH 436/559] fix(iot-hub): keep the request config on a device package registration - The registration sends replaceInstalledItemId in the URL: HttpParams.set() returned a plain HttpParams, which dropped ignoreLoading/ignoreErrors, so a failed registration showed a toast next to the wizard's own error. - The stepper header cannot go back while the installed version's entities are being removed, like the Back button. - A version from the Hub without its item is reported as such instead of a NullPointerException. - The wizard registers the entities it keeps from the moment they exist; the second collection of the same ids before each registration is gone. - The tests verify TbDeviceService.delete through the Device overload, as 4.4 and PE also have one for a DeviceId, so the test is the same file everywhere. --- .../service/iot_hub/DefaultIotHubService.java | 6 ++++- .../iot_hub/DefaultIotHubServiceTest.java | 6 ++--- .../src/app/core/http/iot-hub-api.service.ts | 10 ++++----- .../device-install-dialog.component.html | 2 +- .../device-install-dialog.component.ts | 22 ------------------- 5 files changed, 13 insertions(+), 33 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 5a091db85a..8b3678bbbc 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -685,7 +685,11 @@ public class DefaultIotHubService implements IotHubService { if (versionInfo == null) { throw new IllegalArgumentException("Failed to get version info from IoT Hub"); } - checkSameItem(installedItem, UUID.fromString(versionInfo.get(FIELD_ITEM_ID).asText())); + String itemId = optText(versionInfo, FIELD_ITEM_ID); + if (itemId == null) { + throw new IllegalArgumentException("IoT Hub returned the version without its item"); + } + checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); descriptor.setCreatedEntityIds(null); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index b07b3c8195..0d6a8d49b8 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -449,7 +449,7 @@ class DefaultIotHubServiceTest { assertThat(result.isSuccess()).isFalse(); assertThat(result.getErrorMessage()).contains("install wizard"); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).deleteById(any(), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } @@ -652,7 +652,7 @@ class DefaultIotHubServiceTest { service.removeDevicePackageEntities(user, item.getId(), newVersionId); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); } @Test @@ -672,7 +672,7 @@ class DefaultIotHubServiceTest { // The registration of that version would be refused: nothing may be removed for it. assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), otherVersionId)) .isInstanceOf(IllegalArgumentException.class); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } } diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index ba19c0f6e6..07c1c9a64d 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -182,14 +182,12 @@ export class IotHubApiService { replaceInstalledItemId?: string, config?: IotHubRequestConfig ): Observable { - let params = this.buildParams(config); - if (replaceInstalledItemId) { - params = params.set('replaceInstalledItemId', replaceInstalledItemId); - } + // In the URL: HttpParams.set() would drop the interceptor config (ignoreLoading, ignoreErrors) of buildParams. + const replace = replaceInstalledItemId ? `&replaceInstalledItemId=${replaceInstalledItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}`, + `/api/iot-hub/device/register?versionId=${versionId}${replace}`, { type: 'DEVICE', ...descriptor }, - { params } + { params: this.buildParams(config) } ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 6db53d1cfb..45060d91bc 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -206,7 +206,7 @@ @for (ws of wizardSteps; track ws.label) { - {{ ws.label }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 0b46df81bb..d9ad8974d5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -878,11 +878,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === id.id)) { - this.packageEntityIds.push(id); - } - } const createdEntityIds = [...this.packageEntityIds]; const dashboardId = this.findCreatedDashboardId(); const result = await firstValueFrom( @@ -1215,23 +1210,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 11:45:27 +0200 Subject: [PATCH 437/559] fix(iot-hub): keep tracking the entities a device package update could not remove An entity that is not removed stays in the installed item and the removal fails, so the wizard shows the error and Retry removes the rest. Closing the wizard after the removal asks first, and the update warning says that the new devices get new access tokens. --- .../service/iot_hub/DefaultIotHubService.java | 23 ++++++++++--- .../server/service/iot_hub/IotHubService.java | 6 ++-- .../iot_hub/DefaultIotHubServiceTest.java | 34 +++++++++++++++++++ .../device-install-dialog.component.ts | 17 ++++++++-- .../assets/locale/locale.constant-en_US.json | 6 ++-- 5 files changed, 75 insertions(+), 11 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index ece9c0cad9..004c822dc5 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -637,15 +637,22 @@ public class DefaultIotHubService implements IotHubService { } checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); - deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); - descriptor.setCreatedEntityIds(null); - descriptor.setDashboardId(null); + Map failed = deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); + // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. + descriptor.setCreatedEntityIds(failed.isEmpty() ? null : new ArrayList<>(failed.keySet())); + if (descriptor.getDashboardId() != null && !failed.containsKey(descriptor.getDashboardId())) { + descriptor.setDashboardId(null); + } // Keep what the user entered in the forms (the wizard of the new version starts from it), drop the outputs of // the removed entities: their ids, links and tokens no longer exist. if (descriptor.getInstallState() != null) { descriptor.setInstallState(stripEntityOutputs(descriptor.getInstallState())); } iotHubInstalledItemService.save(tenantId, installedItem); + if (!failed.isEmpty()) { + // The wizard must not create the new version's entities next to the ones left: it shows this and Retry. + throw new IllegalStateException("not removed: " + String.join(", ", failed.values())); + } log.info("[{}] Removed the entities of device package {} for its update", tenantId, installedItem.getItemName()); } @@ -697,9 +704,11 @@ public class DefaultIotHubService implements IotHubService { } } - private void deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + /** Removes the entities in reverse order of creation. Returns the ones that failed, in order of creation, with the reason. */ + private Map deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + Map failed = new LinkedHashMap<>(); if (createdEntityIds == null || createdEntityIds.isEmpty()) { - return; + return failed; } List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); @@ -708,8 +717,12 @@ public class DefaultIotHubService implements IotHubService { deleteDevicePackageEntity(tenantId, entityId, user); } catch (Exception e) { log.error("[{}] Failed to delete device package entity: {}", tenantId, entityId, e); + failed.put(entityId, entityId.getEntityType() + " (" + e.getMessage() + ")"); } } + Map inCreationOrder = new LinkedHashMap<>(); + createdEntityIds.stream().filter(failed::containsKey).forEach(id -> inCreationOrder.put(id, failed.get(id))); + return inCreationOrder; } /** The ids come from what the client registered: never delete an entity of another tenant. */ diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 24d88ac4da..42854e48c1 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -23,8 +23,10 @@ public interface IotHubService { /** * First step of a device package update: removes the entities the package created and keeps the installed item at - * its current version, so it is never shown with a version that is not installed. Repeating it is safe. Refused, - * before anything is removed, when {@code versionId} (the version to install) is not a version of that item. + * its current version, so it is never shown with a version that is not installed. The item keeps that version even + * when its entities are gone and the new version is never registered (the wizard was closed): Update installs it + * again. An entity that could not be removed stays tracked and the call fails, so repeating it removes the rest. + * Refused, before anything is removed, when {@code versionId} (the version to install) is not a version of that item. */ void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 0d6a8d49b8..e367794b94 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -655,6 +655,40 @@ class DefaultIotHubServiceTest { verify(tbDeviceService, never()).delete(any(Device.class), any()); } + @Test + void removeDevicePackageEntities_entityNotRemoved_staysTrackedAndFails() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); + dashboard.setTenantId(tenantId); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(device.getId(), dashboard.getId())); + descriptor.setDashboardId(dashboard.getId()); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setVersion("1.0.1"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); + doThrow(new RuntimeException("dashboard is in use")).when(tbDashboardService).delete(dashboard, user); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .hasMessage("not removed: DASHBOARD (dashboard is in use)"); + + // The rest is removed; the one left stays tracked, so Retry, a later update or Delete removes it. + verify(tbDeviceService).delete(device, user); + verify(iotHubInstalledItemService).save(tenantId, item); + assertThat(descriptor.getCreatedEntityIds()).containsExactly(dashboard.getId()); + assertThat(descriptor.getDashboardId()).isEqualTo(dashboard.getId()); + assertThat(item.getVersion()).isEqualTo("1.0.1"); + } + @Test void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { mockTenant(); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 51903723b1..d1d7680470 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -18,6 +18,7 @@ import { TranslateService } from '@ngx-translate/core'; import { PageLink } from '@shared/models/page/page-link'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { DialogService } from '@core/services/dialog.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; import { DeviceService } from '@core/http/device.service'; import { DashboardService } from '@core/http/dashboard.service'; @@ -154,7 +155,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent ws.removingReplaced); } - cancel(): void { + async cancel(): Promise { if (this.removingReplaced) { // The removal is irreversible and already running: closing now would leave the outcome unknown. return; } + if (this.replaceStarted && !this.installRegistered) { + // The installed version may already be gone while the new one is not installed: the user has to know before leaving. + const close = await firstValueFrom(this.dialogService.confirm( + this.translate.instant('iot-hub.device-update-close-title'), + this.translate.instant('iot-hub.device-update-close-text'), + this.translate.instant('action.cancel'), + this.translate.instant('action.close'))); + if (!close) { + return; + } + } this.closed = true; // Once the replaced version's entities may be gone, the caller has to reload its installed items as well. this.dialogRef.close(this.installRegistered || this.replaceStarted ? 'installed' : false); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 7a926cc39a..9306351638 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3871,9 +3871,11 @@ "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", "device-update-removing": "Removing the entities of the installed version…", - "device-update-remove-error": "The entities of the installed version were not removed: {{error}}. Retry removes them again", + "device-update-close-text": "The update has already removed entities of the installed version, and the new version is not installed yet. If you close the wizard now, the package stays at its installed version without them; Update installs it again.", + "device-update-close-title": "Close the installation wizard?", + "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", + "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry. The new devices get new access tokens: set up your physical devices and gateways again with the new credentials, and update anything outside the package that refers to the old devices", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From 7e2802d24dd31b8ac8964db3a7da06ca60741f3c Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 11:45:27 +0200 Subject: [PATCH 438/559] fix(iot-hub): keep tracking the entities a device package update could not remove An entity that is not removed stays in the installed item and the removal fails, so the wizard shows the error and Retry removes the rest. Closing the wizard after the removal asks first, and the update warning says that the new devices get new access tokens. --- .../service/iot_hub/DefaultIotHubService.java | 23 ++++++++++--- .../server/service/iot_hub/IotHubService.java | 6 ++-- .../iot_hub/DefaultIotHubServiceTest.java | 34 +++++++++++++++++++ .../device-install-dialog.component.ts | 17 ++++++++-- .../assets/locale/locale.constant-en_US.json | 6 ++-- 5 files changed, 75 insertions(+), 11 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 8b3678bbbc..ab9c00fbc1 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -691,15 +691,22 @@ public class DefaultIotHubService implements IotHubService { } checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); - deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); - descriptor.setCreatedEntityIds(null); - descriptor.setDashboardId(null); + Map failed = deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); + // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. + descriptor.setCreatedEntityIds(failed.isEmpty() ? null : new ArrayList<>(failed.keySet())); + if (descriptor.getDashboardId() != null && !failed.containsKey(descriptor.getDashboardId())) { + descriptor.setDashboardId(null); + } // Keep what the user entered in the forms (the wizard of the new version starts from it), drop the outputs of // the removed entities: their ids, links and tokens no longer exist. if (descriptor.getInstallState() != null) { descriptor.setInstallState(stripEntityOutputs(descriptor.getInstallState())); } iotHubInstalledItemService.save(tenantId, installedItem); + if (!failed.isEmpty()) { + // The wizard must not create the new version's entities next to the ones left: it shows this and Retry. + throw new IllegalStateException("not removed: " + String.join(", ", failed.values())); + } log.info("[{}] Removed the entities of device package {} for its update", tenantId, installedItem.getItemName()); } @@ -751,9 +758,11 @@ public class DefaultIotHubService implements IotHubService { } } - private void deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + /** Removes the entities in reverse order of creation. Returns the ones that failed, in order of creation, with the reason. */ + private Map deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + Map failed = new LinkedHashMap<>(); if (createdEntityIds == null || createdEntityIds.isEmpty()) { - return; + return failed; } List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); @@ -762,8 +771,12 @@ public class DefaultIotHubService implements IotHubService { deleteDevicePackageEntity(tenantId, entityId, user); } catch (Exception e) { log.error("[{}] Failed to delete device package entity: {}", tenantId, entityId, e); + failed.put(entityId, entityId.getEntityType() + " (" + e.getMessage() + ")"); } } + Map inCreationOrder = new LinkedHashMap<>(); + createdEntityIds.stream().filter(failed::containsKey).forEach(id -> inCreationOrder.put(id, failed.get(id))); + return inCreationOrder; } /** The ids come from what the client registered: never delete an entity of another tenant. */ diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 24d88ac4da..42854e48c1 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -23,8 +23,10 @@ public interface IotHubService { /** * First step of a device package update: removes the entities the package created and keeps the installed item at - * its current version, so it is never shown with a version that is not installed. Repeating it is safe. Refused, - * before anything is removed, when {@code versionId} (the version to install) is not a version of that item. + * its current version, so it is never shown with a version that is not installed. The item keeps that version even + * when its entities are gone and the new version is never registered (the wizard was closed): Update installs it + * again. An entity that could not be removed stays tracked and the call fails, so repeating it removes the rest. + * Refused, before anything is removed, when {@code versionId} (the version to install) is not a version of that item. */ void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 0d6a8d49b8..e367794b94 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -655,6 +655,40 @@ class DefaultIotHubServiceTest { verify(tbDeviceService, never()).delete(any(Device.class), any()); } + @Test + void removeDevicePackageEntities_entityNotRemoved_staysTrackedAndFails() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); + dashboard.setTenantId(tenantId); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(device.getId(), dashboard.getId())); + descriptor.setDashboardId(dashboard.getId()); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setVersion("1.0.1"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); + doThrow(new RuntimeException("dashboard is in use")).when(tbDashboardService).delete(dashboard, user); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .hasMessage("not removed: DASHBOARD (dashboard is in use)"); + + // The rest is removed; the one left stays tracked, so Retry, a later update or Delete removes it. + verify(tbDeviceService).delete(device, user); + verify(iotHubInstalledItemService).save(tenantId, item); + assertThat(descriptor.getCreatedEntityIds()).containsExactly(dashboard.getId()); + assertThat(descriptor.getDashboardId()).isEqualTo(dashboard.getId()); + assertThat(item.getVersion()).isEqualTo("1.0.1"); + } + @Test void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { mockTenant(); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index d9ad8974d5..92c76d3cfa 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -18,6 +18,7 @@ import { TranslateService } from '@ngx-translate/core'; import { PageLink } from '@shared/models/page/page-link'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { DialogService } from '@core/services/dialog.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; import { DeviceService } from '@core/http/device.service'; import { DashboardService } from '@core/http/dashboard.service'; @@ -154,7 +155,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent ws.removingReplaced); } - cancel(): void { + async cancel(): Promise { if (this.removingReplaced) { // The removal is irreversible and already running: closing now would leave the outcome unknown. return; } + if (this.replaceStarted && !this.installRegistered) { + // The installed version may already be gone while the new one is not installed: the user has to know before leaving. + const close = await firstValueFrom(this.dialogService.confirm( + this.translate.instant('iot-hub.device-update-close-title'), + this.translate.instant('iot-hub.device-update-close-text'), + this.translate.instant('action.cancel'), + this.translate.instant('action.close'))); + if (!close) { + return; + } + } this.closed = true; // Once the replaced version's entities may be gone, the caller has to reload its installed items as well. this.dialogRef.close(this.installRegistered || this.replaceStarted ? 'installed' : false); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index d4d249f2b7..8f5882c3e3 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -4481,9 +4481,11 @@ "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", "device-update-removing": "Removing the entities of the installed version…", - "device-update-remove-error": "The entities of the installed version were not removed: {{error}}. Retry removes them again", + "device-update-close-text": "The update has already removed entities of the installed version, and the new version is not installed yet. If you close the wizard now, the package stays at its installed version without them; Update installs it again.", + "device-update-close-title": "Close the installation wizard?", + "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", + "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry. The new devices get new access tokens: set up your physical devices and gateways again with the new credentials, and update anything outside the package that refers to the old devices", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From 9f056688f43be2aa02419900c6d0a846ead9c099 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:05:01 +0200 Subject: [PATCH 439/559] fix(iot-hub): the Lansitec contact tracing badge is decoded by its own datasheet (LoRaWAN Bluetooth Badge DataSheet 2.78): Register, Heartbeat with friend badges, 10 s Instant Report, 80 s Periodic Report and Acknowledge from the raw frame; the test has 7 uplinks as The Things Stack sent them --- .../controller/ConverterControllerTest.java | 15 + .../things_stack_lansitec_uplinks.json | 514 ++++++++++++++++++ .../src/assets/converters/js-tti-decoder.raw | 172 +++++- .../src/assets/converters/js-ttn-decoder.raw | 172 +++++- .../assets/converters/tbel-tti-decoder.raw | 194 ++++++- .../assets/converters/tbel-ttn-decoder.raw | 194 ++++++- 6 files changed, 1225 insertions(+), 36 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 1abe155e74..78c02874bc 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -792,15 +792,23 @@ public class ConverterControllerTest extends AbstractControllerTest { @Test public void testThingsStackDefaultConvertersKeepMalformedLansitecUplinks() throws IOException { JsonNode temperatureHumidity = null; + JsonNode contactBadge = null; for (JsonNode testCase : JacksonUtil.toJsonNode(readResource(THINGS_STACK_LANSITEC_UPLINKS))) { if (testCase.get("name").asText().startsWith("temp-hum VER1")) { temperatureHumidity = testCase.get("uplink"); + } else if (testCase.get("name").asText().startsWith("contact badge 80s Periodic Report 4.5.5 example 1")) { + contactBadge = testCase.get("uplink"); } } ObjectNode shortFrame = temperatureHumidity.deepCopy(); ((ObjectNode) shortFrame.get("uplink_message")).put("frm_payload", "IQ=="); ObjectNode bytesList = temperatureHumidity.deepCopy(); ((ObjectNode) bytesList.get("uplink_message").get("decoded_payload")).set("bytes", JacksonUtil.toJsonNode("[33, 100]")); + // Periodic Report with 2 badges, cut in the middle of the first one, and Instant Report with 3 beacons and 1 byte + ObjectNode shortPeriodicReport = contactBadge.deepCopy(); + ((ObjectNode) shortPeriodicReport.get("uplink_message")).put("frm_payload", "wtAR"); + ObjectNode shortInstantReport = contactBadge.deepCopy(); + ((ObjectNode) shortInstantReport.get("uplink_message")).put("frm_payload", "g9M="); forEachThingsStackDefaultConverter((description, decoder) -> { JsonNode result = decoder.apply(shortFrame); @@ -811,6 +819,13 @@ public class ConverterControllerTest extends AbstractControllerTest { assertThat(result.get("profile").asText()).as(description + " bytes list").isEqualTo("lansitec-temperature-humidity-sensor"); assertThat(numbersByValue(telemetryValues(result).get("bytes"))).as(description + " bytes list") .isEqualTo(numbersByValue(JacksonUtil.toJsonNode("[33, 100]"))); + + for (ObjectNode shortReport : List.of(shortPeriodicReport, shortInstantReport)) { + result = decoder.apply(shortReport); + String reportDescription = description + " short report " + shortReport.get("uplink_message").get("frm_payload").asText(); + assertThat(result.get("profile").asText()).as(reportDescription).isEqualTo("lansitec-contact-tracing-badge"); + assertThat(withoutKeys(telemetryValues(result), THINGS_STACK_UPLINK_KEYS).isEmpty()).as(reportDescription).isTrue(); + } }); } diff --git a/application/src/test/resources/payload/things_stack_lansitec_uplinks.json b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json index 1d5ce0b72c..c9ecb72c4b 100644 --- a/application/src/test/resources/payload/things_stack_lansitec_uplinks.json +++ b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json @@ -1855,5 +1855,519 @@ "profile": "lansitec-badge-tracker", "telemetry": {} } + }, + { + "name": "contact badge Register 4.5.1 (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ57PNWP8AGXCJQD7R9BDW", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:1987636f-fbc5-417b-b6c5-43dfebb304f2" + ], + "received_at": "2026-11-05T09:55:35.252740417Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "FiBwIAACCgqKEjQ=", + "decoded_payload": { + "bytes": { + "BLEReceivingDuration": "10sec", + "ContinuousReceive": "Continuous Bluetooth receiving is disabled", + "LoRaTxpower": "14dBm", + "LoRaWANband": "EU868", + "adr": "OFF", + "dr": "DR2", + "hb": "300sec", + "mode": "EU868", + "pos": "10sec", + "type": "Register" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "attributes": { + "adr": "OFF", + "mode": "EU868", + "loraWanFrequencyBand": "EU868", + "loraTxPower": 14, + "dataRate": "DR2", + "positionReportInterval": 10, + "heartbeatInterval": 300, + "buzzerAndVibrator": "ON", + "bluetoothTxPower": 0, + "proximityDetection": "ON", + "bluetoothReceivingThresholdSetting": 10 + } + } + }, + { + "name": "contact badge Heartbeat 4.5.2, SNR -5.00, Charging, 2 friend badges (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5BCG6BN1FHSSGF67YE24", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:5168cd93-1983-479d-a3d2-cc30d548ea44" + ], + "received_at": "2026-11-05T09:55:39.023582872Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+/gwFBRI0AADC0BEALtARAC0=", + "decoded_payload": { + "bytes": { + "chgstate": 2, + "rssi": "-62dBm", + "snr": "650.36dB", + "type": "Heartbeat", + "ver": "VER1285", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "batteryLevel": 100, + "loraRssi": -62, + "loraSnr": -5, + "deviceFirmwareVersion": "05", + "chargeState": "Charging", + "vibratorBuzzerStatus": "No action", + "friends": [ + { + "major": "D011", + "minor": "002E" + }, + { + "major": "D011", + "minor": "002D" + } + ] + } + } + }, + { + "name": "contact badge Heartbeat 4.5.2, BTSTATUS (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5D0MNH1S774XX07286BJ", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:8c866e78-af36-4e03-8059-c9161c9f0fe8" + ], + "received_at": "2026-11-05T09:55:40.691881636Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+/gwAABI0BiU=", + "decoded_payload": { + "bytes": { + "chgstate": 2, + "rssi": "-62dBm", + "snr": "650.36dB", + "type": "Heartbeat", + "ver": "VER0", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "batteryLevel": 100, + "loraRssi": -62, + "loraSnr": -5, + "deviceFirmwareVersion": "00", + "chargeState": "Not charging", + "vibratorBuzzerStatus": "Vibrator enabled, buzzer full sound level", + "bluetoothTxPower": 0, + "bluetoothReceivingThreshold": -77 + } + } + }, + { + "name": "contact badge 10s Instant Report 4.5.3, RSSI and TOFF examples (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5EMKTH1Q7R7AD5WA4HB6", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:e9a53f5b-bd3b-478b-8ff9-4c3424e1337f" + ], + "received_at": "2026-11-05T09:55:42.353804675Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "g9MQAj4r0BEALqsAAQACtSQQ", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "beacons": [ + { + "major": "D310", + "minor": "023E", + "type": "Badge", + "rssi": -85, + "timeOffset": 2 + }, + { + "major": "D011", + "minor": "002E", + "type": "Bluetooth beacon", + "rssi": -85, + "timeOffset": 4 + }, + { + "major": "0001", + "minor": "0002", + "type": "Bluetooth beacon", + "rssi": -75, + "timeOffset": 1 + } + ] + } + } + }, + { + "name": "contact badge 80s Periodic Report 4.5.5 example 1", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5G8KP87MTGDZW5HZ8FK2", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:18969a7b-1571-4754-b58f-ca2faa9b417f" + ], + "received_at": "2026-11-05T09:55:44.017827879Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "wtARAC750BEALY8=", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "badges": [ + { + "major": "D011", + "minor": "002E", + "timeMark": 249, + "seenTime": 60 + }, + { + "major": "D011", + "minor": "002D", + "timeMark": 143, + "seenTime": 50 + } + ], + "beacons": [] + } + } + }, + { + "name": "contact badge 80s Periodic Report 4.5.5 example 2", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5HWK1Q3VDZS5HH0DX9ST", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:2eb35d1f-4ebc-45eb-a898-447be7a6e488" + ], + "received_at": "2026-11-05T09:55:45.681914168Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "wv//AZvfAPAg", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "badges": [], + "beacons": [ + { + "minor": "019B", + "timeMark": 223, + "seenTime": 70 + }, + { + "minor": "00F0", + "timeMark": 32, + "seenTime": 10 + } + ] + } + } + }, + { + "name": "contact badge Acknowledge 4.5.4 (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5KGJ7QJ2B7AS9Q0VCATN", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:0aba77e7-1257-4147-9e31-31b369cc2cbe" + ], + "received_at": "2026-11-05T09:55:47.345699317Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "8Ac=", + "decoded_payload": { + "bytes": { + "msgid": "7", + "result": "downlink success", + "type": "Acknowledgment" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "result": "Success", + "msgid": 7 + } + } } ] diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index 634d265574..0723f09d7c 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -6,7 +6,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: // Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, -// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway), +// LoRaWAN Bluetooth Badge DataSheet 2.78 (contact tracing badge). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; @@ -54,8 +55,8 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads -// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// chgstate: the tracking label has the gateway codec byte for byte, which reads CHGSTAT 0x50 as "Not charging" +// (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count // of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', @@ -495,15 +496,168 @@ function lansitecSocketSyncValues(b) { return values; } +// LoRaWAN Bluetooth Badge DataSheet 2.78 (990-01242), the contact tracing badge: it reports the badges and the +// Bluetooth beacons near it, it has no GNSS. Its codec is the Bluetooth gateway's, which reads these messages with +// the gateway layout, so every message is decoded from the raw bytes, as for the SocketSync gateway. +// Major and Minor are hex: a badge's are the last 4 bytes of its DevEUI (4.4). +var LANSITEC_CONTACT_BADGE = 'contact-tracing-badge'; +// 4.5.1 Type bits 2-0 (Mode) and SMODE: the LoRa frequency plan. +var LANSITEC_CONTACT_BADGE_MODES = ['', 'AU915', 'IN865', 'CN470', 'AS923', 'EU433', 'EU868', 'US915']; +var LANSITEC_CONTACT_BADGE_BANDS = { 1: 'AU915', 2: 'IN865', 4: 'CN470', 8: 'AS923', 16: 'EU433', 32: 'EU868', 64: 'US915' }; +// 4.5.1 BT bits 10-8 and 4.5.2 BTSTATUS bits 6-4: the Bluetooth transmitting power, dBm. 0 is not a power. +var LANSITEC_CONTACT_BADGE_BT_POWERS = [0, 4, 0, -4, -8, -12, -16, -20]; +// 4.5.2 BTSTATUS bits 11-8: the vibrator and buzzer. +var LANSITEC_CONTACT_BADGE_BUZZER = ['No action', 'Vibrator disabled, buzzer muted (restore)', + 'Vibrator disabled, buzzer half sound level', 'Vibrator disabled, buzzer full sound level', + 'Vibrator enabled, buzzer muted', 'Vibrator enabled, buzzer half sound level', + 'Vibrator enabled, buzzer full sound level', 'Vibrator disabled, buzzer muted (no restore)', + 'Beacon-in-tracker and proximity detection disabled']; + +// 4.5.5 TimeMark: bit n set means seen n * 10 to n * 10 + 9 seconds before the message. Seen time is 10 s per bit. +function lansitecContactBadgeSeen(item, mark) { + item.timeMark = mark; + var bits = 0; + for (var i = 0; i < 8; i++) { + bits += (mark >> i) & 1; + } + item.seenTime = bits * 10; + return item; +} + +function lansitecContactBadgeValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + var i, start; + if (type == 0x1 && b.length >= 9) { + // 4.5.1 Register: Type (ADR, Mode), SMODE, Power, CFG, POS (2), HB, BT (2), CRC (2). + values.adr = (b[0] & 0x08) != 0 ? 'ON' : 'OFF'; + if (LANSITEC_CONTACT_BADGE_MODES[b[0] & 0x07] != '') { + values.mode = LANSITEC_CONTACT_BADGE_MODES[b[0] & 0x07]; + } + if (LANSITEC_CONTACT_BADGE_BANDS[b[1]] != null) { + values.loraWanFrequencyBand = LANSITEC_CONTACT_BADGE_BANDS[b[1]]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.dataRate = 'DR' + ((b[3] >> 4) & 0x0F); + // POS unit 5 s, 0 means off. HB unit 30 s. + values.positionReportInterval = lansitecUint(b, 4, 2) * 5; + values.heartbeatInterval = b[6] * 30; + var bt = lansitecUint(b, 7, 2); + values.buzzerAndVibrator = ((bt >> 11) & 1) == 1 ? 'ON' : 'OFF'; + if (((bt >> 8) & 0x07) > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[(bt >> 8) & 0x07]; + } + values.proximityDetection = ((bt >> 7) & 1) == 1 ? 'ON' : 'OFF'; + // 0x0-57, the datasheet gives no unit. + values.bluetoothReceivingThresholdSetting = bt & 0x7F; + } else if (type == 0x2 && b.length >= 7) { + // 4.5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (software + // revision), CHGSTAT, CRC (2), BTSTATUS (2), then the friend badges. + values.batteryLevel = b[1]; + values.loraRssi = -b[2]; + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = lansitecHex(b, 5, 6); + if (b[6] == 0x0) { + values.chargeState = 'Not charging'; + } else if (b[6] == 0x5) { + values.chargeState = 'Charging'; + } else if (b[6] == 0x6) { + values.chargeState = 'Charging completed'; + } + if (b.length >= 11) { + var status = lansitecUint(b, 9, 2); + if (LANSITEC_CONTACT_BADGE_BUZZER[(status >> 8) & 0x0F] != null) { + values.vibratorBuzzerStatus = LANSITEC_CONTACT_BADGE_BUZZER[(status >> 8) & 0x0F]; + } + // 0 means not changed. The receiving threshold table is for range bit 7 = 0: -73 to -87 dBm. + if (((status >> 4) & 0x07) > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[(status >> 4) & 0x07]; + } + if ((status & 0x0F) > 0 && ((status >> 7) & 1) == 0) { + values.bluetoothReceivingThreshold = -72 - (status & 0x0F); + } + } + // Friend field: Type 0xC with the number of friend badges (1-6), then Major (2) and Minor (2) of each. + if (b.length >= 12 && ((b[11] >> 4) & 0x0F) == 0xC && b.length >= 12 + (b[11] & 0x0F) * 4) { + var friends = []; + for (i = 0; i < (b[11] & 0x0F); i++) { + start = 12 + i * 4; + friends.push({ major: lansitecHex(b, start, start + 2), minor: lansitecHex(b, start + 2, start + 4) }); + } + values.friends = friends; + } + } else if (type == 0x8) { + // 4.5.3 10s Instant Report: Type (bits 3-0: number of beacons M), Major (2), Minor (2) and RSSI of each, then + // TOFF: (M + 1) / 2 bytes, 4 bits per beacon, the first beacon in the high bits: seconds before the message. + // RSSI bit 7: 1 a Bluetooth beacon, 0 a badge (beacon-in-tracker); bits 6-0 - 128 is the RSSI, dBm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 5) { + var hasOffsets = b.length >= 1 + count * 5 + Math.floor((count + 1) / 2); + var list = []; + for (i = 0; i < count; i++) { + start = 1 + i * 5; + var item = { + major: lansitecHex(b, start, start + 2), + minor: lansitecHex(b, start + 2, start + 4), + type: (b[start + 4] & 0x80) != 0 ? 'Bluetooth beacon' : 'Badge', + rssi: (b[start + 4] & 0x7F) - 128 + }; + if (hasOffsets) { + var offsetByte = b[1 + count * 5 + Math.floor(i / 2)]; + item.timeOffset = i % 2 == 0 ? (offsetByte >> 4) & 0x0F : offsetByte & 0x0F; + } + list.push(item); + } + values.beacons = list; + } + } else if (type == 0xC) { + // 4.5.5 80s Periodic Report: Type (bits 3-0: number of badges and beacons), badges as Major (2), Minor (2), + // TimeMark, then the marker 0xFFFF and beacons as Minor (2), TimeMark. A beacon's Major is always FFFF. + var badges = []; + var periodBeacons = []; + var pos = 1; + var inBeacons = false; + while (pos < b.length) { + if (!inBeacons && pos + 2 <= b.length && b[pos] == 0xFF && b[pos + 1] == 0xFF) { + inBeacons = true; + pos += 2; + } else if (!inBeacons && pos + 5 <= b.length) { + badges.push(lansitecContactBadgeSeen({ major: lansitecHex(b, pos, pos + 2), minor: lansitecHex(b, pos + 2, pos + 4) }, b[pos + 4])); + pos += 5; + } else if (inBeacons && pos + 3 <= b.length) { + periodBeacons.push(lansitecContactBadgeSeen({ minor: lansitecHex(b, pos, pos + 2) }, b[pos + 2])); + pos += 3; + } else { + return values; + } + } + if (badges.length + periodBeacons.length == (b[0] & 0x0F)) { + values.badges = badges; + values.beacons = periodBeacons; + } + } else if (type == 0xF && b.length >= 2) { + // 4.5.4 Acknowledge: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? 'Success' : 'Failure'; + values.msgid = b[1]; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.brandId == 'lansitec' && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { - // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. - var socketSyncBytes = lansitecBase64ToBytes(metadata.data); - values = lansitecSocketSyncValues(socketSyncBytes); - // Registration (0x4) holds the device settings: attributes, not telemetry. - if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { +if (metadata.brandId == 'lansitec' && (metadata.modelId == LANSITEC_SOCKET_SYNC || metadata.modelId == LANSITEC_CONTACT_BADGE) + && metadata.data != null) { + // The SocketSync gateway and the contact tracing badge: decoded from the raw bytes only, see + // lansitecSocketSyncValues and lansitecContactBadgeValues. + var lansitecBytes = lansitecBase64ToBytes(metadata.data); + var socketSync = metadata.modelId == LANSITEC_SOCKET_SYNC; + values = socketSync ? lansitecSocketSyncValues(lansitecBytes) : lansitecContactBadgeValues(lansitecBytes); + // Registration holds the device settings: attributes, not telemetry. + if (lansitecBytes.length > 0 && ((lansitecBytes[0] >> 4) & 0x0F) == (socketSync ? 0x4 : 0x1)) { attributes = values; values = {}; } diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index 634d265574..0723f09d7c 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -6,7 +6,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: // Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, -// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway), +// LoRaWAN Bluetooth Badge DataSheet 2.78 (contact tracing badge). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; @@ -54,8 +55,8 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads -// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// chgstate: the tracking label has the gateway codec byte for byte, which reads CHGSTAT 0x50 as "Not charging" +// (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count // of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', @@ -495,15 +496,168 @@ function lansitecSocketSyncValues(b) { return values; } +// LoRaWAN Bluetooth Badge DataSheet 2.78 (990-01242), the contact tracing badge: it reports the badges and the +// Bluetooth beacons near it, it has no GNSS. Its codec is the Bluetooth gateway's, which reads these messages with +// the gateway layout, so every message is decoded from the raw bytes, as for the SocketSync gateway. +// Major and Minor are hex: a badge's are the last 4 bytes of its DevEUI (4.4). +var LANSITEC_CONTACT_BADGE = 'contact-tracing-badge'; +// 4.5.1 Type bits 2-0 (Mode) and SMODE: the LoRa frequency plan. +var LANSITEC_CONTACT_BADGE_MODES = ['', 'AU915', 'IN865', 'CN470', 'AS923', 'EU433', 'EU868', 'US915']; +var LANSITEC_CONTACT_BADGE_BANDS = { 1: 'AU915', 2: 'IN865', 4: 'CN470', 8: 'AS923', 16: 'EU433', 32: 'EU868', 64: 'US915' }; +// 4.5.1 BT bits 10-8 and 4.5.2 BTSTATUS bits 6-4: the Bluetooth transmitting power, dBm. 0 is not a power. +var LANSITEC_CONTACT_BADGE_BT_POWERS = [0, 4, 0, -4, -8, -12, -16, -20]; +// 4.5.2 BTSTATUS bits 11-8: the vibrator and buzzer. +var LANSITEC_CONTACT_BADGE_BUZZER = ['No action', 'Vibrator disabled, buzzer muted (restore)', + 'Vibrator disabled, buzzer half sound level', 'Vibrator disabled, buzzer full sound level', + 'Vibrator enabled, buzzer muted', 'Vibrator enabled, buzzer half sound level', + 'Vibrator enabled, buzzer full sound level', 'Vibrator disabled, buzzer muted (no restore)', + 'Beacon-in-tracker and proximity detection disabled']; + +// 4.5.5 TimeMark: bit n set means seen n * 10 to n * 10 + 9 seconds before the message. Seen time is 10 s per bit. +function lansitecContactBadgeSeen(item, mark) { + item.timeMark = mark; + var bits = 0; + for (var i = 0; i < 8; i++) { + bits += (mark >> i) & 1; + } + item.seenTime = bits * 10; + return item; +} + +function lansitecContactBadgeValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + var i, start; + if (type == 0x1 && b.length >= 9) { + // 4.5.1 Register: Type (ADR, Mode), SMODE, Power, CFG, POS (2), HB, BT (2), CRC (2). + values.adr = (b[0] & 0x08) != 0 ? 'ON' : 'OFF'; + if (LANSITEC_CONTACT_BADGE_MODES[b[0] & 0x07] != '') { + values.mode = LANSITEC_CONTACT_BADGE_MODES[b[0] & 0x07]; + } + if (LANSITEC_CONTACT_BADGE_BANDS[b[1]] != null) { + values.loraWanFrequencyBand = LANSITEC_CONTACT_BADGE_BANDS[b[1]]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.dataRate = 'DR' + ((b[3] >> 4) & 0x0F); + // POS unit 5 s, 0 means off. HB unit 30 s. + values.positionReportInterval = lansitecUint(b, 4, 2) * 5; + values.heartbeatInterval = b[6] * 30; + var bt = lansitecUint(b, 7, 2); + values.buzzerAndVibrator = ((bt >> 11) & 1) == 1 ? 'ON' : 'OFF'; + if (((bt >> 8) & 0x07) > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[(bt >> 8) & 0x07]; + } + values.proximityDetection = ((bt >> 7) & 1) == 1 ? 'ON' : 'OFF'; + // 0x0-57, the datasheet gives no unit. + values.bluetoothReceivingThresholdSetting = bt & 0x7F; + } else if (type == 0x2 && b.length >= 7) { + // 4.5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (software + // revision), CHGSTAT, CRC (2), BTSTATUS (2), then the friend badges. + values.batteryLevel = b[1]; + values.loraRssi = -b[2]; + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = lansitecHex(b, 5, 6); + if (b[6] == 0x0) { + values.chargeState = 'Not charging'; + } else if (b[6] == 0x5) { + values.chargeState = 'Charging'; + } else if (b[6] == 0x6) { + values.chargeState = 'Charging completed'; + } + if (b.length >= 11) { + var status = lansitecUint(b, 9, 2); + if (LANSITEC_CONTACT_BADGE_BUZZER[(status >> 8) & 0x0F] != null) { + values.vibratorBuzzerStatus = LANSITEC_CONTACT_BADGE_BUZZER[(status >> 8) & 0x0F]; + } + // 0 means not changed. The receiving threshold table is for range bit 7 = 0: -73 to -87 dBm. + if (((status >> 4) & 0x07) > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[(status >> 4) & 0x07]; + } + if ((status & 0x0F) > 0 && ((status >> 7) & 1) == 0) { + values.bluetoothReceivingThreshold = -72 - (status & 0x0F); + } + } + // Friend field: Type 0xC with the number of friend badges (1-6), then Major (2) and Minor (2) of each. + if (b.length >= 12 && ((b[11] >> 4) & 0x0F) == 0xC && b.length >= 12 + (b[11] & 0x0F) * 4) { + var friends = []; + for (i = 0; i < (b[11] & 0x0F); i++) { + start = 12 + i * 4; + friends.push({ major: lansitecHex(b, start, start + 2), minor: lansitecHex(b, start + 2, start + 4) }); + } + values.friends = friends; + } + } else if (type == 0x8) { + // 4.5.3 10s Instant Report: Type (bits 3-0: number of beacons M), Major (2), Minor (2) and RSSI of each, then + // TOFF: (M + 1) / 2 bytes, 4 bits per beacon, the first beacon in the high bits: seconds before the message. + // RSSI bit 7: 1 a Bluetooth beacon, 0 a badge (beacon-in-tracker); bits 6-0 - 128 is the RSSI, dBm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 5) { + var hasOffsets = b.length >= 1 + count * 5 + Math.floor((count + 1) / 2); + var list = []; + for (i = 0; i < count; i++) { + start = 1 + i * 5; + var item = { + major: lansitecHex(b, start, start + 2), + minor: lansitecHex(b, start + 2, start + 4), + type: (b[start + 4] & 0x80) != 0 ? 'Bluetooth beacon' : 'Badge', + rssi: (b[start + 4] & 0x7F) - 128 + }; + if (hasOffsets) { + var offsetByte = b[1 + count * 5 + Math.floor(i / 2)]; + item.timeOffset = i % 2 == 0 ? (offsetByte >> 4) & 0x0F : offsetByte & 0x0F; + } + list.push(item); + } + values.beacons = list; + } + } else if (type == 0xC) { + // 4.5.5 80s Periodic Report: Type (bits 3-0: number of badges and beacons), badges as Major (2), Minor (2), + // TimeMark, then the marker 0xFFFF and beacons as Minor (2), TimeMark. A beacon's Major is always FFFF. + var badges = []; + var periodBeacons = []; + var pos = 1; + var inBeacons = false; + while (pos < b.length) { + if (!inBeacons && pos + 2 <= b.length && b[pos] == 0xFF && b[pos + 1] == 0xFF) { + inBeacons = true; + pos += 2; + } else if (!inBeacons && pos + 5 <= b.length) { + badges.push(lansitecContactBadgeSeen({ major: lansitecHex(b, pos, pos + 2), minor: lansitecHex(b, pos + 2, pos + 4) }, b[pos + 4])); + pos += 5; + } else if (inBeacons && pos + 3 <= b.length) { + periodBeacons.push(lansitecContactBadgeSeen({ minor: lansitecHex(b, pos, pos + 2) }, b[pos + 2])); + pos += 3; + } else { + return values; + } + } + if (badges.length + periodBeacons.length == (b[0] & 0x0F)) { + values.badges = badges; + values.beacons = periodBeacons; + } + } else if (type == 0xF && b.length >= 2) { + // 4.5.4 Acknowledge: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? 'Success' : 'Failure'; + values.msgid = b[1]; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.brandId == 'lansitec' && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { - // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. - var socketSyncBytes = lansitecBase64ToBytes(metadata.data); - values = lansitecSocketSyncValues(socketSyncBytes); - // Registration (0x4) holds the device settings: attributes, not telemetry. - if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { +if (metadata.brandId == 'lansitec' && (metadata.modelId == LANSITEC_SOCKET_SYNC || metadata.modelId == LANSITEC_CONTACT_BADGE) + && metadata.data != null) { + // The SocketSync gateway and the contact tracing badge: decoded from the raw bytes only, see + // lansitecSocketSyncValues and lansitecContactBadgeValues. + var lansitecBytes = lansitecBase64ToBytes(metadata.data); + var socketSync = metadata.modelId == LANSITEC_SOCKET_SYNC; + values = socketSync ? lansitecSocketSyncValues(lansitecBytes) : lansitecContactBadgeValues(lansitecBytes); + // Registration holds the device settings: attributes, not telemetry. + if (lansitecBytes.length > 0 && ((lansitecBytes[0] >> 4) & 0x0F) == (socketSync ? 0x4 : 0x1)) { attributes = values; values = {}; } diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 8adbe6983f..a3f160c3dc 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -6,7 +6,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: // Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, -// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway), +// LoRaWAN Bluetooth Badge DataSheet 2.78 (contact tracing badge). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; @@ -54,8 +55,8 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads -// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// chgstate: the tracking label has the gateway codec byte for byte, which reads CHGSTAT 0x50 as "Not charging" +// (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count // of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", @@ -461,15 +462,190 @@ function lansitecSocketSyncValues(b) { return values; } +// LoRaWAN Bluetooth Badge DataSheet 2.78 (990-01242), the contact tracing badge: it reports the badges and the +// Bluetooth beacons near it, it has no GNSS. Its codec is the Bluetooth gateway's, which reads these messages with +// the gateway layout, so every message is decoded from the raw bytes, as for the SocketSync gateway. +// Major and Minor are hex: a badge's are the last 4 bytes of its DevEUI (4.4). +var LANSITEC_CONTACT_BADGE = "contact-tracing-badge"; +// 4.5.1 Type bits 2-0 (Mode) and SMODE: the LoRa frequency plan. +var LANSITEC_CONTACT_BADGE_MODES = ["", "AU915", "IN865", "CN470", "AS923", "EU433", "EU868", "US915"]; +var LANSITEC_CONTACT_BADGE_SMODES = [1, 2, 4, 8, 16, 32, 64]; +var LANSITEC_CONTACT_BADGE_BANDS = ["AU915", "IN865", "CN470", "AS923", "EU433", "EU868", "US915"]; +// 4.5.1 BT bits 10-8 and 4.5.2 BTSTATUS bits 6-4: the Bluetooth transmitting power, dBm. 0 is not a power. +var LANSITEC_CONTACT_BADGE_BT_POWERS = [0, 4, 0, -4, -8, -12, -16, -20]; +// 4.5.2 BTSTATUS bits 11-8: the vibrator and buzzer. +var LANSITEC_CONTACT_BADGE_BUZZER = ["No action", "Vibrator disabled, buzzer muted (restore)", + "Vibrator disabled, buzzer half sound level", "Vibrator disabled, buzzer full sound level", + "Vibrator enabled, buzzer muted", "Vibrator enabled, buzzer half sound level", + "Vibrator enabled, buzzer full sound level", "Vibrator disabled, buzzer muted (no restore)", + "Beacon-in-tracker and proximity detection disabled"]; + +// 4.5.5 TimeMark: bit n set means seen n * 10 to n * 10 + 9 seconds before the message. Seen time is 10 s per bit. +function lansitecContactBadgeSeen(item, mark) { + item.timeMark = mark; + var bits = 0; + for (var i = 0; i < 8; i++) { + if (((mark >> i) & 1) == 1) { + bits = bits + 1; + } + } + item.seenTime = bits * 10; +} + +function lansitecContactBadgeValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + var hex = bytesToHex(b); + if (type == 0x1 && b.length >= 9) { + // 4.5.1 Register: Type (ADR, Mode), SMODE, Power, CFG, POS (2), HB, BT (2), CRC (2). + values.adr = (b[0] & 0x08) != 0 ? "ON" : "OFF"; + var mode = b[0] & 0x07; + if (LANSITEC_CONTACT_BADGE_MODES[mode] != "") { + values.mode = LANSITEC_CONTACT_BADGE_MODES[mode]; + } + var band = LANSITEC_CONTACT_BADGE_SMODES.indexOf(b[1] & 0xFF); + if (band >= 0) { + values.loraWanFrequencyBand = LANSITEC_CONTACT_BADGE_BANDS[band]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.dataRate = "DR" + ((b[3] >> 4) & 0x0F); + // POS unit 5 s, 0 means off. HB unit 30 s. + values.positionReportInterval = parseBytesToInt(b, 4, 2, true) * 5; + values.heartbeatInterval = (b[6] & 0xFF) * 30; + var bt = parseBytesToInt(b, 7, 2, true); + values.buzzerAndVibrator = ((bt >> 11) & 1) == 1 ? "ON" : "OFF"; + var power = (bt >> 8) & 0x07; + if (power > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[power]; + } + values.proximityDetection = ((bt >> 7) & 1) == 1 ? "ON" : "OFF"; + // 0x0-57, the datasheet gives no unit. + values.bluetoothReceivingThresholdSetting = bt & 0x7F; + } else if (type == 0x2 && b.length >= 7) { + // 4.5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (software + // revision), CHGSTAT, CRC (2), BTSTATUS (2), then the friend badges. + values.batteryLevel = b[1] & 0xFF; + values.loraRssi = 0 - (b[2] & 0xFF); + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = hex.substring(10, 12); + var charge = b[6] & 0xFF; + if (charge == 0x0) { + values.chargeState = "Not charging"; + } else if (charge == 0x5) { + values.chargeState = "Charging"; + } else if (charge == 0x6) { + values.chargeState = "Charging completed"; + } + if (b.length >= 11) { + var status = parseBytesToInt(b, 9, 2, true); + var buzzer = (status >> 8) & 0x0F; + if (buzzer < LANSITEC_CONTACT_BADGE_BUZZER.size()) { + values.vibratorBuzzerStatus = LANSITEC_CONTACT_BADGE_BUZZER[buzzer]; + } + // 0 means not changed. The receiving threshold table is for range bit 7 = 0: -73 to -87 dBm. + var statusPower = (status >> 4) & 0x07; + if (statusPower > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[statusPower]; + } + var threshold = status & 0x0F; + if (threshold > 0 && ((status >> 7) & 1) == 0) { + values.bluetoothReceivingThreshold = -72 - threshold; + } + } + // Friend field: Type 0xC with the number of friend badges (1-6), then Major (2) and Minor (2) of each. + if (b.length >= 12 && ((b[11] >> 4) & 0x0F) == 0xC) { + var friendCount = b[11] & 0x0F; + if (b.length >= 12 + friendCount * 4) { + var friends = []; + for (var f = 0; f < friendCount; f++) { + var friendStart = 12 + f * 4; + friends.add({ major: hex.substring(2 * friendStart, 2 * friendStart + 4), + minor: hex.substring(2 * friendStart + 4, 2 * friendStart + 8) }); + } + values.friends = friends; + } + } + } else if (type == 0x8) { + // 4.5.3 10s Instant Report: Type (bits 3-0: number of beacons M), Major (2), Minor (2) and RSSI of each, then + // TOFF: (M + 1) / 2 bytes, 4 bits per beacon, the first beacon in the high bits: seconds before the message. + // RSSI bit 7: 1 a Bluetooth beacon, 0 a badge (beacon-in-tracker); bits 6-0 - 128 is the RSSI, dBm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 5) { + var hasOffsets = b.length >= 1 + count * 5 + (count + 1) / 2; + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * 5; + var item = {}; + item.major = hex.substring(2 * start, 2 * start + 4); + item.minor = hex.substring(2 * start + 4, 2 * start + 8); + var rssi = b[start + 4] & 0xFF; + item.type = (rssi & 0x80) != 0 ? "Bluetooth beacon" : "Badge"; + item.rssi = (rssi & 0x7F) - 128; + if (hasOffsets) { + var offsetByte = b[1 + count * 5 + (i / 2).intValue()] & 0xFF; + item.timeOffset = i % 2 == 0 ? (offsetByte >> 4) & 0x0F : offsetByte & 0x0F; + } + list.add(item); + } + values.beacons = list; + } + } else if (type == 0xC) { + // 4.5.5 80s Periodic Report: Type (bits 3-0: number of badges and beacons), badges as Major (2), Minor (2), + // TimeMark, then the marker 0xFFFF and beacons as Minor (2), TimeMark. A beacon's Major is always FFFF. + var badges = []; + var periodBeacons = []; + var pos = 1; + var inBeacons = false; + while (pos < b.length) { + if (!inBeacons && pos + 2 <= b.length && (b[pos] & 0xFF) == 0xFF && (b[pos + 1] & 0xFF) == 0xFF) { + inBeacons = true; + pos = pos + 2; + } else if (!inBeacons && pos + 5 <= b.length) { + var badge = { major: hex.substring(2 * pos, 2 * pos + 4), minor: hex.substring(2 * pos + 4, 2 * pos + 8) }; + lansitecContactBadgeSeen(badge, b[pos + 4] & 0xFF); + badges.add(badge); + pos = pos + 5; + } else if (inBeacons && pos + 3 <= b.length) { + var beacon = { minor: hex.substring(2 * pos, 2 * pos + 4) }; + lansitecContactBadgeSeen(beacon, b[pos + 2] & 0xFF); + periodBeacons.add(beacon); + pos = pos + 3; + } else { + return values; + } + } + if (badges.size() + periodBeacons.size() == (b[0] & 0x0F)) { + values.badges = badges; + values.beacons = periodBeacons; + } + } else if (type == 0xF && b.length >= 2) { + // 4.5.4 Acknowledge: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? "Success" : "Failure"; + values.msgid = b[1] & 0xFF; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.brandId == "lansitec" && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { - // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. - var socketSyncBytes = base64ToBytes(metadata.data); - values = lansitecSocketSyncValues(socketSyncBytes); - // Registration (0x4) holds the device settings: attributes, not telemetry. - if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { +if (metadata.brandId == "lansitec" && (metadata.modelId == LANSITEC_SOCKET_SYNC || metadata.modelId == LANSITEC_CONTACT_BADGE) + && metadata.data != null) { + // The SocketSync gateway and the contact tracing badge: decoded from the raw bytes only, see + // lansitecSocketSyncValues and lansitecContactBadgeValues. + var lansitecBytes = base64ToBytes(metadata.data); + var registerType = 0x1; + if (metadata.modelId == LANSITEC_SOCKET_SYNC) { + values = lansitecSocketSyncValues(lansitecBytes); + registerType = 0x4; + } else { + values = lansitecContactBadgeValues(lansitecBytes); + } + // Registration holds the device settings: attributes, not telemetry. + if (lansitecBytes.length > 0 && ((lansitecBytes[0] >> 4) & 0x0F) == registerType) { attributes = values; values = {}; } diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 8adbe6983f..a3f160c3dc 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -6,7 +6,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: // Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, -// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway), +// LoRaWAN Bluetooth Badge DataSheet 2.78 (contact tracing badge). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; @@ -54,8 +55,8 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads -// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// chgstate: the tracking label has the gateway codec byte for byte, which reads CHGSTAT 0x50 as "Not charging" +// (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count // of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", @@ -461,15 +462,190 @@ function lansitecSocketSyncValues(b) { return values; } +// LoRaWAN Bluetooth Badge DataSheet 2.78 (990-01242), the contact tracing badge: it reports the badges and the +// Bluetooth beacons near it, it has no GNSS. Its codec is the Bluetooth gateway's, which reads these messages with +// the gateway layout, so every message is decoded from the raw bytes, as for the SocketSync gateway. +// Major and Minor are hex: a badge's are the last 4 bytes of its DevEUI (4.4). +var LANSITEC_CONTACT_BADGE = "contact-tracing-badge"; +// 4.5.1 Type bits 2-0 (Mode) and SMODE: the LoRa frequency plan. +var LANSITEC_CONTACT_BADGE_MODES = ["", "AU915", "IN865", "CN470", "AS923", "EU433", "EU868", "US915"]; +var LANSITEC_CONTACT_BADGE_SMODES = [1, 2, 4, 8, 16, 32, 64]; +var LANSITEC_CONTACT_BADGE_BANDS = ["AU915", "IN865", "CN470", "AS923", "EU433", "EU868", "US915"]; +// 4.5.1 BT bits 10-8 and 4.5.2 BTSTATUS bits 6-4: the Bluetooth transmitting power, dBm. 0 is not a power. +var LANSITEC_CONTACT_BADGE_BT_POWERS = [0, 4, 0, -4, -8, -12, -16, -20]; +// 4.5.2 BTSTATUS bits 11-8: the vibrator and buzzer. +var LANSITEC_CONTACT_BADGE_BUZZER = ["No action", "Vibrator disabled, buzzer muted (restore)", + "Vibrator disabled, buzzer half sound level", "Vibrator disabled, buzzer full sound level", + "Vibrator enabled, buzzer muted", "Vibrator enabled, buzzer half sound level", + "Vibrator enabled, buzzer full sound level", "Vibrator disabled, buzzer muted (no restore)", + "Beacon-in-tracker and proximity detection disabled"]; + +// 4.5.5 TimeMark: bit n set means seen n * 10 to n * 10 + 9 seconds before the message. Seen time is 10 s per bit. +function lansitecContactBadgeSeen(item, mark) { + item.timeMark = mark; + var bits = 0; + for (var i = 0; i < 8; i++) { + if (((mark >> i) & 1) == 1) { + bits = bits + 1; + } + } + item.seenTime = bits * 10; +} + +function lansitecContactBadgeValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + var hex = bytesToHex(b); + if (type == 0x1 && b.length >= 9) { + // 4.5.1 Register: Type (ADR, Mode), SMODE, Power, CFG, POS (2), HB, BT (2), CRC (2). + values.adr = (b[0] & 0x08) != 0 ? "ON" : "OFF"; + var mode = b[0] & 0x07; + if (LANSITEC_CONTACT_BADGE_MODES[mode] != "") { + values.mode = LANSITEC_CONTACT_BADGE_MODES[mode]; + } + var band = LANSITEC_CONTACT_BADGE_SMODES.indexOf(b[1] & 0xFF); + if (band >= 0) { + values.loraWanFrequencyBand = LANSITEC_CONTACT_BADGE_BANDS[band]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.dataRate = "DR" + ((b[3] >> 4) & 0x0F); + // POS unit 5 s, 0 means off. HB unit 30 s. + values.positionReportInterval = parseBytesToInt(b, 4, 2, true) * 5; + values.heartbeatInterval = (b[6] & 0xFF) * 30; + var bt = parseBytesToInt(b, 7, 2, true); + values.buzzerAndVibrator = ((bt >> 11) & 1) == 1 ? "ON" : "OFF"; + var power = (bt >> 8) & 0x07; + if (power > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[power]; + } + values.proximityDetection = ((bt >> 7) & 1) == 1 ? "ON" : "OFF"; + // 0x0-57, the datasheet gives no unit. + values.bluetoothReceivingThresholdSetting = bt & 0x7F; + } else if (type == 0x2 && b.length >= 7) { + // 4.5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (software + // revision), CHGSTAT, CRC (2), BTSTATUS (2), then the friend badges. + values.batteryLevel = b[1] & 0xFF; + values.loraRssi = 0 - (b[2] & 0xFF); + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = hex.substring(10, 12); + var charge = b[6] & 0xFF; + if (charge == 0x0) { + values.chargeState = "Not charging"; + } else if (charge == 0x5) { + values.chargeState = "Charging"; + } else if (charge == 0x6) { + values.chargeState = "Charging completed"; + } + if (b.length >= 11) { + var status = parseBytesToInt(b, 9, 2, true); + var buzzer = (status >> 8) & 0x0F; + if (buzzer < LANSITEC_CONTACT_BADGE_BUZZER.size()) { + values.vibratorBuzzerStatus = LANSITEC_CONTACT_BADGE_BUZZER[buzzer]; + } + // 0 means not changed. The receiving threshold table is for range bit 7 = 0: -73 to -87 dBm. + var statusPower = (status >> 4) & 0x07; + if (statusPower > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[statusPower]; + } + var threshold = status & 0x0F; + if (threshold > 0 && ((status >> 7) & 1) == 0) { + values.bluetoothReceivingThreshold = -72 - threshold; + } + } + // Friend field: Type 0xC with the number of friend badges (1-6), then Major (2) and Minor (2) of each. + if (b.length >= 12 && ((b[11] >> 4) & 0x0F) == 0xC) { + var friendCount = b[11] & 0x0F; + if (b.length >= 12 + friendCount * 4) { + var friends = []; + for (var f = 0; f < friendCount; f++) { + var friendStart = 12 + f * 4; + friends.add({ major: hex.substring(2 * friendStart, 2 * friendStart + 4), + minor: hex.substring(2 * friendStart + 4, 2 * friendStart + 8) }); + } + values.friends = friends; + } + } + } else if (type == 0x8) { + // 4.5.3 10s Instant Report: Type (bits 3-0: number of beacons M), Major (2), Minor (2) and RSSI of each, then + // TOFF: (M + 1) / 2 bytes, 4 bits per beacon, the first beacon in the high bits: seconds before the message. + // RSSI bit 7: 1 a Bluetooth beacon, 0 a badge (beacon-in-tracker); bits 6-0 - 128 is the RSSI, dBm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 5) { + var hasOffsets = b.length >= 1 + count * 5 + (count + 1) / 2; + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * 5; + var item = {}; + item.major = hex.substring(2 * start, 2 * start + 4); + item.minor = hex.substring(2 * start + 4, 2 * start + 8); + var rssi = b[start + 4] & 0xFF; + item.type = (rssi & 0x80) != 0 ? "Bluetooth beacon" : "Badge"; + item.rssi = (rssi & 0x7F) - 128; + if (hasOffsets) { + var offsetByte = b[1 + count * 5 + (i / 2).intValue()] & 0xFF; + item.timeOffset = i % 2 == 0 ? (offsetByte >> 4) & 0x0F : offsetByte & 0x0F; + } + list.add(item); + } + values.beacons = list; + } + } else if (type == 0xC) { + // 4.5.5 80s Periodic Report: Type (bits 3-0: number of badges and beacons), badges as Major (2), Minor (2), + // TimeMark, then the marker 0xFFFF and beacons as Minor (2), TimeMark. A beacon's Major is always FFFF. + var badges = []; + var periodBeacons = []; + var pos = 1; + var inBeacons = false; + while (pos < b.length) { + if (!inBeacons && pos + 2 <= b.length && (b[pos] & 0xFF) == 0xFF && (b[pos + 1] & 0xFF) == 0xFF) { + inBeacons = true; + pos = pos + 2; + } else if (!inBeacons && pos + 5 <= b.length) { + var badge = { major: hex.substring(2 * pos, 2 * pos + 4), minor: hex.substring(2 * pos + 4, 2 * pos + 8) }; + lansitecContactBadgeSeen(badge, b[pos + 4] & 0xFF); + badges.add(badge); + pos = pos + 5; + } else if (inBeacons && pos + 3 <= b.length) { + var beacon = { minor: hex.substring(2 * pos, 2 * pos + 4) }; + lansitecContactBadgeSeen(beacon, b[pos + 2] & 0xFF); + periodBeacons.add(beacon); + pos = pos + 3; + } else { + return values; + } + } + if (badges.size() + periodBeacons.size() == (b[0] & 0x0F)) { + values.badges = badges; + values.beacons = periodBeacons; + } + } else if (type == 0xF && b.length >= 2) { + // 4.5.4 Acknowledge: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? "Success" : "Failure"; + values.msgid = b[1] & 0xFF; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.brandId == "lansitec" && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { - // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. - var socketSyncBytes = base64ToBytes(metadata.data); - values = lansitecSocketSyncValues(socketSyncBytes); - // Registration (0x4) holds the device settings: attributes, not telemetry. - if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { +if (metadata.brandId == "lansitec" && (metadata.modelId == LANSITEC_SOCKET_SYNC || metadata.modelId == LANSITEC_CONTACT_BADGE) + && metadata.data != null) { + // The SocketSync gateway and the contact tracing badge: decoded from the raw bytes only, see + // lansitecSocketSyncValues and lansitecContactBadgeValues. + var lansitecBytes = base64ToBytes(metadata.data); + var registerType = 0x1; + if (metadata.modelId == LANSITEC_SOCKET_SYNC) { + values = lansitecSocketSyncValues(lansitecBytes); + registerType = 0x4; + } else { + values = lansitecContactBadgeValues(lansitecBytes); + } + // Registration holds the device settings: attributes, not telemetry. + if (lansitecBytes.length > 0 && ((lansitecBytes[0] >> 4) & 0x0F) == registerType) { attributes = values; values = {}; } From 0ad20d93d9b75301e6718b79e3999cfb2c90235c Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 5 Nov 2026 12:16:34 +0200 Subject: [PATCH 440/559] fix: AI errors keep the AI service's status instead of turning into 500 - Pass the status of channel results through TbAiResponse - Map 400, 413, 415 and 422 to bad request, 403 to permission denied, 404 to not found, 409 to conflict and 429 to too many requests; other statuses, including 401, stay internal errors --- .../server/service/ai/DefaultTbAiService.java | 13 ++++++++++++- .../ai/transport/ChannelTbAiOperations.java | 4 ++-- .../controller/AbstractAiControllerTest.java | 4 ++++ .../controller/AiResourceControllerTest.java | 18 ++++++++++++++++++ .../service/ai/DefaultTbAiServiceTest.java | 17 +++++++++++++++++ .../transport/ChannelTbAiOperationsTest.java | 1 + 6 files changed, 54 insertions(+), 3 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java b/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java index 694e2a4c6b..d99740ae4b 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java @@ -166,10 +166,21 @@ class DefaultTbAiService implements TbAiService { if (response.isSuccess()) { return response.getValue(); } else { - throw new ThingsboardRuntimeException(response.getError(), ThingsboardErrorCode.GENERAL); + throw new ThingsboardRuntimeException(response.getError(), toErrorCode(response.getStatus())); } } + static ThingsboardErrorCode toErrorCode(int status) { + return switch (status) { + case 400, 413, 415, 422 -> ThingsboardErrorCode.BAD_REQUEST_PARAMS; + case 403 -> ThingsboardErrorCode.PERMISSION_DENIED; + case 404 -> ThingsboardErrorCode.ITEM_NOT_FOUND; + case 409 -> ThingsboardErrorCode.VERSION_CONFLICT; + case 429 -> ThingsboardErrorCode.TOO_MANY_REQUESTS; + default -> ThingsboardErrorCode.GENERAL; + }; + } + private void checkApiUsage(SecurityUser user) { if (!apiUsageStateService.getApiUsageState(user.getTenantId()).isAiEnabled()) { throw new ThingsboardRuntimeException("Out of AI credits", ThingsboardErrorCode.TOO_MANY_REQUESTS); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java index 3904f7b6e1..5d6b1c4846 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperations.java @@ -83,11 +83,11 @@ class ChannelTbAiOperations { static TbAiResponse toResponse(OperationResult result) { TbAiResponse response; if (result.isSuccess()) { - response = TbAiResponse.builder().success(true).value(result.body()).build(); + response = TbAiResponse.builder().success(true).status(result.status()).value(result.body()).build(); } else { JsonNode message = result.body() != null ? result.body().get("message") : null; String error = message != null && message.isTextual() ? message.asText() : reasonPhrase(result.status()); - response = TbAiResponse.builder().success(false).error(error).build(); + response = TbAiResponse.builder().success(false).status(result.status()).error(error).build(); } response.setCreditsUsed(result.creditsUsed()); return response; diff --git a/application/src/test/java/org/thingsboard/server/controller/AbstractAiControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AbstractAiControllerTest.java index d587ff5e8d..92b16fde51 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AbstractAiControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AbstractAiControllerTest.java @@ -121,6 +121,10 @@ public abstract class AbstractAiControllerTest extends AbstractControllerTest { return TbAiClient.TbAiResponse.builder().success(false).error(error).build(); } + protected static TbAiClient.TbAiResponse failure(int status, String error) { + return TbAiClient.TbAiResponse.builder().success(false).status(status).error(error).build(); + } + protected static ObjectNode chatMessage(String from, String content) { return JacksonUtil.newObjectNode() .put("from", from) diff --git a/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java index 567ad2b763..8f9c5c50c3 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java @@ -103,6 +103,24 @@ public class AiResourceControllerTest extends AbstractAiControllerTest { verifyOperation(ChannelProtocol.RESOURCE_DELETE, new ResourceOperationRequest(resourceId)); } + @Test + public void shouldKeepTheAiServiceStatus_whenAResourceIsMissingOrInvalid() throws Exception { + // GIVEN + loginTenantAdmin(); + UUID resourceId = UUID.randomUUID(); + givenOperation(ChannelProtocol.RESOURCE_GET, new ResourceOperationRequest(resourceId), failure(404, "Resource not found")); + givenOperation(ChannelProtocol.RESOURCE_DELETE, new ResourceOperationRequest(resourceId), failure(404, "Resource not found or already sent")); + + // WHEN + MvcResult download = doGet("/api/ai/resources/" + resourceId).andReturn(); + MvcResult delete = doDelete("/api/ai/resources/" + resourceId).andReturn(); + + // THEN + assertThat(download.getResponse().getStatus()).isEqualTo(404); + assertThat(delete.getResponse().getStatus()).isEqualTo(404); + assertThat(delete.getResponse().getContentAsString()).contains("Resource not found or already sent"); + } + @Test public void shouldReturnTheAcceptedFiles_whenGettingTheConfig() throws Exception { // GIVEN diff --git a/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java index e64ec390f0..085d324fd9 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java @@ -9,6 +9,7 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; +import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.MethodSource; import org.mockito.ArgumentCaptor; import org.mockito.Mock; @@ -168,6 +169,22 @@ class DefaultTbAiServiceTest { then(apiUsageReportClient).shouldHaveNoInteractions(); } + @ParameterizedTest + @CsvSource({"400, BAD_REQUEST_PARAMS", "413, BAD_REQUEST_PARAMS", "403, PERMISSION_DENIED", "404, ITEM_NOT_FOUND", + "409, VERSION_CONFLICT", "429, TOO_MANY_REQUESTS", "401, GENERAL", "500, GENERAL", "0, GENERAL"}) + void shouldKeepTheStatusOfTheAiService_whenProcessAndResponseIsFailure(int status, ThingsboardErrorCode errorCode) { + // GIVEN + given(apiUsageStateService.getApiUsageState(tenantId)).willReturn(enabledApiUsageState()); + given(call.apply(any())).willReturn(TbAiResponse.builder().success(false).status(status).error("The file is not UTF-8 text: notes.txt").build()); + + // WHEN + Throwable thrown = catchThrowable(() -> service.process(call, user, true)); + + // THEN + assertThat(thrown).isInstanceOf(ThingsboardRuntimeException.class).hasMessage("The file is not UTF-8 text: notes.txt"); + assertThat(((ThingsboardRuntimeException) thrown).getErrorCode()).isEqualTo(errorCode); + } + @Test void shouldReportCreditsThenThrowGeneral_whenProcessAndResponseIsFailure() { // GIVEN diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java index afeeca5223..a6f17b5582 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java @@ -224,6 +224,7 @@ class ChannelTbAiOperationsTest { // THEN assertThat(response.isSuccess()).isFalse(); + assertThat(response.getStatus()).isEqualTo(404); assertThat(response.getError()).isEqualTo("Solution not found"); } From 5cd1d98f9acc326c1ea0440253531f56762a7c31 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:33:54 +0200 Subject: [PATCH 441/559] fix(iot-hub): keep the entities a device package used as they were An entity the user chose to use as it was, on a name conflict, is not the package's: updating or deleting the package neither removes nor tracks it. The default device profile is one, and it cannot be removed, so it blocked the update. The update warning also says plainly that this version reinstalls a device package. --- .../service/iot_hub/DefaultIotHubService.java | 29 +++++++++-- .../iot_hub/DefaultIotHubServiceTest.java | 52 +++++++++++++++++++ .../assets/locale/locale.constant-en_US.json | 2 +- 3 files changed, 79 insertions(+), 4 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 004c822dc5..d343e20c24 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -637,8 +637,9 @@ public class DefaultIotHubService implements IotHubService { } checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); - Map failed = deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); - // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. + Map failed = deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(descriptor), user); + // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. The ones + // the user chose to use as they were are neither removed nor tracked any more. descriptor.setCreatedEntityIds(failed.isEmpty() ? null : new ArrayList<>(failed.keySet())); if (descriptor.getDashboardId() != null && !failed.containsKey(descriptor.getDashboardId())) { descriptor.setDashboardId(null); @@ -704,6 +705,28 @@ public class DefaultIotHubService implements IotHubService { } } + /** + * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they + * were (the install state keeps that choice). The default device profile, for example, is never the package's. + */ + private static List packageOwnedEntityIds(DeviceInstalledItemDescriptor descriptor) { + List tracked = descriptor.getCreatedEntityIds(); + if (tracked == null || descriptor.getInstallState() == null) { + return tracked; + } + Set usedExisting = new HashSet<>(); + descriptor.getInstallState().values().forEach(state -> { + if (state != null && "use-existing".equals(optText(state, "resolution"))) { + JsonNode output = state.get("entityOutput"); + String id = output != null ? optText(output, "id") : null; + if (id != null) { + usedExisting.add(id); + } + } + }); + return tracked.stream().filter(id -> !usedExisting.contains(id.getId().toString())).toList(); + } + /** Removes the entities in reverse order of creation. Returns the ones that failed, in order of creation, with the reason. */ private Map deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { Map failed = new LinkedHashMap<>(); @@ -792,7 +815,7 @@ public class DefaultIotHubService implements IotHubService { } } } else if (descriptor instanceof DeviceInstalledItemDescriptor dd) { - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(dd), user); } else if (descriptor instanceof SolutionTemplateInstalledItemDescriptor st) { try { solutionService.deleteSolution(tenantId, st, user); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index e367794b94..7199fe7fcc 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -17,6 +17,7 @@ import org.thingsboard.server.common.data.Dashboard; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; @@ -24,6 +25,7 @@ import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceProfileService; import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; @@ -63,6 +65,8 @@ class DefaultIotHubServiceTest { @Mock private DeviceService deviceService; @Mock + private DeviceProfileService deviceProfileService; + @Mock private TbDeviceService tbDeviceService; @Mock private DashboardService dashboardService; @@ -689,6 +693,54 @@ class DefaultIotHubServiceTest { assertThat(item.getVersion()).isEqualTo("1.0.1"); } + @Test + void removeDevicePackageEntities_entityUsedAsItWas_neitherRemovedNorTracked() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + DeviceProfileId defaultProfileId = new DeviceProfileId(UUID.randomUUID()); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(defaultProfileId, device.getId())); + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "default", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + defaultProfileId.getId() + "\"},\"resolution\":\"use-existing\"}"), + "Gateway", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + device.getId().getId() + "\"},\"resolution\":\"created\"}")))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + // The profile the user chose to use as it was (here the default one, which cannot be removed) is the user's. + verify(tbDeviceService).delete(device, user); + verify(deviceProfileService, never()).findDeviceProfileById(any(), any()); + assertThat(descriptor.getCreatedEntityIds()).isNull(); + } + + @Test + void deleteInstalledItem_devicePackage_keepsEntityUsedAsItWas() { + mockTenant(); + DeviceProfileId usersProfileId = new DeviceProfileId(UUID.randomUUID()); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(usersProfileId)); + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "Profile", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + usersProfileId.getId() + "\"},\"resolution\":\"use-existing\"}")))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + service.deleteInstalledItem(user, item.getId()); + + verify(deviceProfileService, never()).findDeviceProfileById(any(), any()); + verify(iotHubInstalledItemService).deleteById(tenantId, item.getId()); + } + @Test void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { mockTenant(); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 9306351638..994e0be3af 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3875,7 +3875,7 @@ "device-update-close-title": "Close the installation wizard?", "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry. The new devices get new access tokens: set up your physical devices and gateways again with the new credentials, and update anything outside the package that refers to the old devices", + "update-desc-device": "Device packages can't be updated without reinstalling on this ThingsBoard version. Updating removes the installed entities and their data and installs the new version from scratch", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From 07b72d10b252d94a722e53af092695a5b0cbc03f Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:33:54 +0200 Subject: [PATCH 442/559] fix(iot-hub): keep the entities a device package used as they were An entity the user chose to use as it was, on a name conflict, is not the package's: updating or deleting the package neither removes nor tracks it. The default device profile is one, and it cannot be removed, so it blocked the update. The update warning also says plainly that this version reinstalls a device package. --- .../service/iot_hub/DefaultIotHubService.java | 29 +++++++++-- .../iot_hub/DefaultIotHubServiceTest.java | 52 +++++++++++++++++++ .../assets/locale/locale.constant-en_US.json | 2 +- 3 files changed, 79 insertions(+), 4 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index ab9c00fbc1..6ae127d68d 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -691,8 +691,9 @@ public class DefaultIotHubService implements IotHubService { } checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); - Map failed = deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); - // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. + Map failed = deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(descriptor), user); + // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. The ones + // the user chose to use as they were are neither removed nor tracked any more. descriptor.setCreatedEntityIds(failed.isEmpty() ? null : new ArrayList<>(failed.keySet())); if (descriptor.getDashboardId() != null && !failed.containsKey(descriptor.getDashboardId())) { descriptor.setDashboardId(null); @@ -758,6 +759,28 @@ public class DefaultIotHubService implements IotHubService { } } + /** + * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they + * were (the install state keeps that choice). The default device profile, for example, is never the package's. + */ + private static List packageOwnedEntityIds(DeviceInstalledItemDescriptor descriptor) { + List tracked = descriptor.getCreatedEntityIds(); + if (tracked == null || descriptor.getInstallState() == null) { + return tracked; + } + Set usedExisting = new HashSet<>(); + descriptor.getInstallState().values().forEach(state -> { + if (state != null && "use-existing".equals(optText(state, "resolution"))) { + JsonNode output = state.get("entityOutput"); + String id = output != null ? optText(output, "id") : null; + if (id != null) { + usedExisting.add(id); + } + } + }); + return tracked.stream().filter(id -> !usedExisting.contains(id.getId().toString())).toList(); + } + /** Removes the entities in reverse order of creation. Returns the ones that failed, in order of creation, with the reason. */ private Map deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { Map failed = new LinkedHashMap<>(); @@ -851,7 +874,7 @@ public class DefaultIotHubService implements IotHubService { } } } else if (descriptor instanceof DeviceInstalledItemDescriptor dd) { - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(dd), user); } else if (descriptor instanceof SolutionTemplateInstalledItemDescriptor st) { try { solutionService.deleteSolution(tenantId, st, user); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index e367794b94..7199fe7fcc 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -17,6 +17,7 @@ import org.thingsboard.server.common.data.Dashboard; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; @@ -24,6 +25,7 @@ import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceProfileService; import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; @@ -63,6 +65,8 @@ class DefaultIotHubServiceTest { @Mock private DeviceService deviceService; @Mock + private DeviceProfileService deviceProfileService; + @Mock private TbDeviceService tbDeviceService; @Mock private DashboardService dashboardService; @@ -689,6 +693,54 @@ class DefaultIotHubServiceTest { assertThat(item.getVersion()).isEqualTo("1.0.1"); } + @Test + void removeDevicePackageEntities_entityUsedAsItWas_neitherRemovedNorTracked() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + DeviceProfileId defaultProfileId = new DeviceProfileId(UUID.randomUUID()); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(defaultProfileId, device.getId())); + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "default", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + defaultProfileId.getId() + "\"},\"resolution\":\"use-existing\"}"), + "Gateway", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + device.getId().getId() + "\"},\"resolution\":\"created\"}")))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + // The profile the user chose to use as it was (here the default one, which cannot be removed) is the user's. + verify(tbDeviceService).delete(device, user); + verify(deviceProfileService, never()).findDeviceProfileById(any(), any()); + assertThat(descriptor.getCreatedEntityIds()).isNull(); + } + + @Test + void deleteInstalledItem_devicePackage_keepsEntityUsedAsItWas() { + mockTenant(); + DeviceProfileId usersProfileId = new DeviceProfileId(UUID.randomUUID()); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(usersProfileId)); + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "Profile", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + usersProfileId.getId() + "\"},\"resolution\":\"use-existing\"}")))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + service.deleteInstalledItem(user, item.getId()); + + verify(deviceProfileService, never()).findDeviceProfileById(any(), any()); + verify(iotHubInstalledItemService).deleteById(tenantId, item.getId()); + } + @Test void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { mockTenant(); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 8f5882c3e3..36d93a9938 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -4485,7 +4485,7 @@ "device-update-close-title": "Close the installation wizard?", "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry. The new devices get new access tokens: set up your physical devices and gateways again with the new credentials, and update anything outside the package that refers to the old devices", + "update-desc-device": "Device packages can't be updated without reinstalling on this ThingsBoard version. Updating removes the installed entities and their data and installs the new version from scratch", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From ff661a5e7437f22cd94a99ba044a306d0619bc35 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:34:20 +0200 Subject: [PATCH 443/559] fix(iot-hub): point a device package update to ThingsBoard 4.4.1 on lts-4.3 ThingsBoard 4.4.1 updates device packages without reinstalling them; the update warning says so and links the Community Grant Program, as the dialog of an item that needs 4.4 does. --- .../components/iot-hub/iot-hub-update-dialog.component.html | 4 ++-- ui-ngx/src/assets/locale/locale.constant-en_US.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html index a1fffb0a9d..8f65bba065 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html @@ -8,11 +8,11 @@ @switch (state) { @case ('confirm') {

    {{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }}

    -

    {{ updateDescKey | translate }}

    +

    } @case ('updating') {

    {{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }}

    -

    {{ updateDescKey | translate }}

    +

    } @case ('success') {

    {{ 'iot-hub.update-success-title' | translate }}

    diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 36d93a9938..cbde03a653 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -4485,7 +4485,7 @@ "device-update-close-title": "Close the installation wizard?", "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Device packages can't be updated without reinstalling on this ThingsBoard version. Updating removes the installed entities and their data and installs the new version from scratch", + "update-desc-device": "Device packages can't be updated without reinstalling on this ThingsBoard version. Updating removes the installed entities and their data and installs the new version from scratch.

    ThingsBoard 4.4.1 and newer update device packages without reinstalling. If your instance was running before September 29, 2026, the Community Grant Program lets you upgrade for free.", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From 89627b7242bd2f779900f195987c45c780e70f9e Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:41:23 +0200 Subject: [PATCH 444/559] fix(iot-hub): ask to update a device package anyway, as on Remove Updating a device package removes its entities and their data, like Remove, so the button is the same warning "Update anyway". --- .../components/iot-hub/iot-hub-update-dialog.component.html | 4 +++- .../components/iot-hub/iot-hub-update-dialog.component.ts | 5 +++++ ui-ngx/src/assets/locale/locale.constant-en_US.json | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html index 8f65bba065..f6fd5b7a04 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html @@ -35,7 +35,9 @@ @switch (state) { @case ('confirm') { - + } @case ('updating') { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index d5d0398f00..fbcd148b6e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -64,6 +64,11 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 12:41:23 +0200 Subject: [PATCH 445/559] fix(iot-hub): ask to update a device package anyway, as on Remove Updating a device package removes its entities and their data, like Remove, so the button is the same warning "Update anyway". --- .../components/iot-hub/iot-hub-update-dialog.component.html | 4 +++- .../components/iot-hub/iot-hub-update-dialog.component.ts | 5 +++++ ui-ngx/src/assets/locale/locale.constant-en_US.json | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html index a1fffb0a9d..ab583ca072 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html @@ -35,7 +35,9 @@ @switch (state) { @case ('confirm') { - + } @case ('updating') { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index d5d0398f00..fbcd148b6e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -64,6 +64,11 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 12:54:10 +0200 Subject: [PATCH 446/559] refactor(iot-hub): keep the update description's javadoc on its getter --- .../iot-hub/iot-hub-update-dialog.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index fbcd148b6e..d2b1132938 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -59,16 +59,16 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 12:54:10 +0200 Subject: [PATCH 447/559] refactor(iot-hub): keep the update description's javadoc on its getter --- .../iot-hub/iot-hub-update-dialog.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index fbcd148b6e..d2b1132938 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -59,16 +59,16 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 12:56:29 +0200 Subject: [PATCH 448/559] fix(iot-hub): lead the update of a device package to the upgrade on lts-4.3 This version can only reinstall a device package. Update opens the same kind of window as an item that needs ThingsBoard 4.4 (#16231): it says so, leads to the Community Grant Program, and keeps "Update anyway" to reinstall through the install wizard. --- .../iot-hub/iot-hub-actions.service.ts | 20 ++++++-- .../iot-hub/iot-hub-components.module.ts | 3 ++ ...ot-hub-device-update-dialog.component.html | 29 ++++++++++++ .../iot-hub-device-update-dialog.component.ts | 47 +++++++++++++++++++ .../iot-hub-update-dialog.component.html | 8 ++-- .../iot-hub-update-dialog.component.ts | 21 ++------- 6 files changed, 102 insertions(+), 26 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.html create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index 5ec83949bd..9027e71323 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -14,6 +14,10 @@ import { TbIotHubAddItemDialogComponent, IotHubAddItemDialogData, IotHubAddItemD import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData, IotHubItemDetailDialogMode } from './iot-hub-item-detail-dialog.component'; import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from './iot-hub-install-dialog.component'; import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from './iot-hub-update-dialog.component'; +import { + IotHubDeviceUpdateDialogData, + TbIotHubDeviceUpdateDialogComponent +} from './iot-hub-device-update-dialog.component'; import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from './iot-hub-delete-dialog.component'; import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from './device-install-dialog/device-install-dialog.component'; import { TbIotHubInstalledItemsDialogComponent, IotHubInstalledItemsDialogData } from './iot-hub-installed-items-dialog.component'; @@ -154,6 +158,18 @@ export class IotHubActionsService { if (!installedItem) { return of(false); } + if (installedItem.itemType === ItemType.DEVICE) { + // This version can only reinstall a device package: the dialog leads to the upgrade first. + return this.dialog.open( + TbIotHubDeviceUpdateDialogComponent, { + panelClass: ['tb-dialog'], + disableClose: true, + autoFocus: false, + data: { itemName: installedItem.itemName } + }).afterClosed().pipe( + switchMap(result => result === 'reinstall' ? this.reinstallDevice(installedItem, versionId) : of(result)) + ); + } return this.dialog.open(TbIotHubUpdateDialogComponent, { panelClass: ['tb-dialog'], disableClose: true, @@ -165,9 +181,7 @@ export class IotHubActionsService { version, versionId } - }).afterClosed().pipe( - switchMap(result => result === 'reinstall' ? this.reinstallDevice(installedItem, versionId) : of(result)) - ); + }).afterClosed(); } /** diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts index f6591ac8f8..d81a34e407 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts @@ -20,6 +20,7 @@ import { TbIotHubInstalledItemsDialogComponent } from './iot-hub-installed-items import { TbIotHubSelectCfEntityDialogComponent } from './iot-hub-select-cf-entity-dialog.component'; import { TbPeConnectivityMethodPromptComponent } from './pe-connectivity-method-prompt.component'; import { TbIotHubPeRequiredDialogComponent } from './iot-hub-pe-required-dialog.component'; +import { TbIotHubDeviceUpdateDialogComponent } from './iot-hub-device-update-dialog.component'; import { TbIotHubUpgradeRequiredDialogComponent } from './iot-hub-upgrade-required-dialog.component'; import { TbIotHubMarkdownComponent } from './iot-hub-markdown.component'; import { SolutionInstallDialogComponent } from './solution-install-dialog.component'; @@ -47,6 +48,7 @@ import { IotHubItemLinkModule } from './iot-hub-item-link-card/iot-hub-item-link SolutionInstallDialogComponent, InstallFormRendererComponent, TbIotHubPeRequiredDialogComponent, + TbIotHubDeviceUpdateDialogComponent, TbIotHubUpgradeRequiredDialogComponent ], imports: [ @@ -76,6 +78,7 @@ import { IotHubItemLinkModule } from './iot-hub-item-link-card/iot-hub-item-link TbIotHubMarkdownComponent, SolutionInstallDialogComponent, TbIotHubPeRequiredDialogComponent, + TbIotHubDeviceUpdateDialogComponent, TbIotHubUpgradeRequiredDialogComponent ] }) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.html new file mode 100644 index 0000000000..4f7ca41696 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.html @@ -0,0 +1,29 @@ + +
    + + + + +

    + {{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }} +

    + +

    + +
    + + +
    +
    diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts new file mode 100644 index 0000000000..fb0cc99f03 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +import { Component, Inject } from '@angular/core'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { Router } from '@angular/router'; +import { Store } from '@ngrx/store'; +import { AppState } from '@core/core.state'; +import { DialogComponent } from '@shared/components/dialog.component'; + +export interface IotHubDeviceUpdateDialogData { + itemName: string; +} + +/** + * Update of a device package. This version can only reinstall it, so the dialog leads to the upgrade that updates device + * packages without reinstalling, as the dialog of an item that needs a newer version does, and keeps the reinstall as + * the other way. Closes with 'reinstall' when the user chooses it. + */ +@Component({ + selector: 'tb-iot-hub-device-update-dialog', + standalone: false, + templateUrl: './iot-hub-device-update-dialog.component.html', + styleUrls: ['./iot-hub-pe-required-dialog.component.scss'] +}) +export class TbIotHubDeviceUpdateDialogComponent extends DialogComponent { + + constructor( + protected store: Store, + protected router: Router, + protected dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: IotHubDeviceUpdateDialogData + ) { + super(store, router, dialogRef); + } + + close(): void { + this.dialogRef.close(false); + } + + reinstall(): void { + this.dialogRef.close('reinstall'); + } + + viewUpgradeOptions(): void { + window.open('https://thingsboard.io/community-grant-program/', '_blank'); + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html index f6fd5b7a04..a1fffb0a9d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html @@ -8,11 +8,11 @@ @switch (state) { @case ('confirm') {

    {{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }}

    -

    +

    {{ updateDescKey | translate }}

    } @case ('updating') {

    {{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }}

    -

    +

    {{ updateDescKey | translate }}

    } @case ('success') {

    {{ 'iot-hub.update-success-title' | translate }}

    @@ -35,9 +35,7 @@ @switch (state) { @case ('confirm') { - + } @case ('updating') { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index d2b1132938..e5472c45a1 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -59,33 +59,18 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent { From d582dea34264cffe5ed424cb2ecf498951329144 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 5 Nov 2026 12:56:45 +0200 Subject: [PATCH 449/559] fix: address review of AI resources: TB AI owns the upload limit, one solution chat path, and composer, preview and tip fixes - Uploads take their size limit from TB AI's resource config and stream the base64 encoding from the file instead of loading its bytes - Solution chat has one service method that normalizes and validates the message; the old /chat endpoint is a deprecated adapter - Tips use tb-popover instead of a custom tooltip engine - Blob URLs are revoked on delete and eviction, images are kept in a bounded LRU cache, downloads are never cached, and at most 3 full-size fetches run at once - One icon map and one image type list for attachments; dead attachment code removed - The attachment preview extends DialogComponent and shows an error state; failed downloads show the error - An image counts as an uploading attachment while it is being resized; pasting text from Office keeps the text - A failed chat load clears the previous chat's messages and approvals --- .../controller/AiSolutionController.java | 12 +- .../ai/resource/DefaultAiResourceService.java | 19 +- .../ai/solution/AiSolutionService.java | 2 - .../ai/solution/DefaultAiSolutionService.java | 17 +- .../controller/AiResourceControllerTest.java | 17 +- .../DefaultAiSolutionServiceTest.java | 17 +- .../src/app/core/http/ai-resource.service.ts | 180 ++++++++++--- .../ai/ai-assistant-panel.component.html | 3 +- .../ai/ai-assistant-panel.component.ts | 6 +- ...i-attachment-preview-dialog.component.html | 25 +- ...i-attachment-preview-dialog.component.scss | 18 ++ .../ai-attachment-preview-dialog.component.ts | 57 ++++- .../components/ai/ai-attachment.models.ts | 37 +-- .../ai/ai-attachments.component.html | 30 +-- .../ai/ai-attachments.component.scss | 62 +---- .../components/ai/ai-attachments.component.ts | 66 +++-- .../ai/ai-chat-messages.component.html | 3 +- .../ai/ai-chat-messages.component.ts | 1 + .../ai/ai-prompt-input.component.html | 50 ++-- .../ai/ai-prompt-input.component.scss | 129 ---------- .../ai/ai-prompt-input.component.ts | 69 +++-- .../home/components/ai/ai-tip.directive.ts | 238 ++++++------------ .../solution-creator.component.html | 3 +- .../solution-creator.component.ts | 2 +- .../src/app/shared/models/ai-chat.models.ts | 4 +- .../assets/locale/locale.constant-en_US.json | 2 +- ui-ngx/src/styles.scss | 111 ++++++++ 27 files changed, 598 insertions(+), 582 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java b/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java index f68fe5358b..3bc73f3428 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiSolutionController.java @@ -17,7 +17,6 @@ import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.thingsboard.ai.common.data.solution.SolutionStep; -import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.permission.Operation; import org.thingsboard.server.common.data.permission.Resource; @@ -64,14 +63,13 @@ public class AiSolutionController extends BaseController { return aiSolutionService.getSolutions(user); } + @Deprecated(forRemoval = true) @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/{solutionId}/{step}/chat") public JsonNode chat(@PathVariable UUID solutionId, @PathVariable SolutionStep step, @RequestBody String message) throws ThingsboardException { - SecurityUser user = getCurrentUser(); - accessControlService.checkPermission(user, Resource.AI, Operation.WRITE); - return aiSolutionService.chat(solutionId, step, message, user); + return sendMessage(solutionId, step, new SolutionChatMessage(message, null)); } @PreAuthorize("hasAuthority('TENANT_ADMIN')") @@ -81,11 +79,7 @@ public class AiSolutionController extends BaseController { @RequestBody SolutionChatMessage request) throws ThingsboardException { SecurityUser user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI, Operation.WRITE); - String message = request.message() != null ? request.message() : ""; - if (message.isBlank() && (request.resources() == null || request.resources().isEmpty())) { - throw new ThingsboardException("Message cannot be blank", ThingsboardErrorCode.BAD_REQUEST_PARAMS); - } - return aiSolutionService.chat(solutionId, step, message, request.resources(), user); + return aiSolutionService.chat(solutionId, step, request.message(), request.resources(), user); } record SolutionChatMessage(String message, List resources) {} diff --git a/application/src/main/java/org/thingsboard/server/service/ai/resource/DefaultAiResourceService.java b/application/src/main/java/org/thingsboard/server/service/ai/resource/DefaultAiResourceService.java index d52edb196a..82788db693 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/resource/DefaultAiResourceService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/resource/DefaultAiResourceService.java @@ -17,7 +17,11 @@ import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; import org.thingsboard.server.service.security.model.SecurityUser; +import java.io.ByteArrayOutputStream; import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.UUID; @@ -26,8 +30,6 @@ import java.util.UUID; @RequiredArgsConstructor class DefaultAiResourceService implements AiResourceService { - static final long MAX_UPLOAD_BYTES = 7L * 1024 * 1024; - private final TbAiService tbAiService; private final TbAiOperations operations; @@ -42,12 +44,13 @@ class DefaultAiResourceService implements AiResourceService { if (file == null || file.isEmpty()) { throw new ThingsboardException("The file is empty", ThingsboardErrorCode.BAD_REQUEST_PARAMS); } - if (file.getSize() > MAX_UPLOAD_BYTES) { + long maxSize = getConfig(user).path("maxSize").asLong(0); + if (maxSize > 0 && file.getSize() > maxSize) { throw new ThingsboardException("The file is too large: " + file.getOriginalFilename(), ThingsboardErrorCode.BAD_REQUEST_PARAMS); } String data; try { - data = Base64.getEncoder().encodeToString(file.getBytes()); + data = base64(file); } catch (IOException e) { throw new ThingsboardException("Failed to read the file", e, ThingsboardErrorCode.GENERAL); } @@ -56,6 +59,14 @@ class DefaultAiResourceService implements AiResourceService { new TbAiOperation(ChannelProtocol.RESOURCE_UPLOAD, request), user, tokenProvider), user, false); } + private static String base64(MultipartFile file) throws IOException { + var encoded = new ByteArrayOutputStream((int) Math.min(Integer.MAX_VALUE - 8, (file.getSize() + 2) / 3 * 4)); + try (InputStream in = file.getInputStream(); OutputStream encoder = Base64.getEncoder().wrap(encoded)) { + in.transferTo(encoder); + } + return encoded.toString(StandardCharsets.ISO_8859_1); + } + @Override public AiResourceContent download(UUID resourceId, SecurityUser user) { JsonNode content = tbAiService.process(tokenProvider -> operations.execute( diff --git a/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java b/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java index 123cea7398..b0f7763131 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/solution/AiSolutionService.java @@ -17,8 +17,6 @@ public interface AiSolutionService { JsonNode getSolutions(SecurityUser user); - JsonNode chat(UUID solutionId, SolutionStep step, String message, SecurityUser user); - JsonNode chat(UUID solutionId, SolutionStep step, String message, List resources, SecurityUser user); JsonNode createSolution(UUID solutionId, SecurityUser user); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java b/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java index c5c154c000..c110699cbd 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionService.java @@ -4,8 +4,12 @@ package org.thingsboard.server.service.ai.solution; import com.fasterxml.jackson.databind.JsonNode; import lombok.RequiredArgsConstructor; +import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Service; import org.thingsboard.ai.common.data.solution.SolutionStep; +import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; +import org.thingsboard.server.exception.ThingsboardRuntimeException; +import org.thingsboard.server.common.data.util.CollectionsUtil; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.ai.common.channel.SolutionChatRequest; @@ -47,16 +51,15 @@ public class DefaultAiSolutionService implements AiSolutionService { new TbAiOperation(ChannelProtocol.SOLUTION_LIST, null), user, tokenProvider), user, false); } - @Override - public JsonNode chat(UUID solutionId, SolutionStep step, String message, SecurityUser user) { - return chat(solutionId, step, message, null, user); - } - @Override public JsonNode chat(UUID solutionId, SolutionStep step, String message, List resources, SecurityUser user) { - List attached = resources == null || resources.isEmpty() ? null : resources; + String text = StringUtils.defaultString(message); + List attached = CollectionsUtil.isEmpty(resources) ? null : resources; + if (StringUtils.isBlank(text) && attached == null) { + throw new ThingsboardRuntimeException("Message cannot be blank", ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } return tbAiService.process(tokenProvider -> operations.execute( - new TbAiOperation(ChannelProtocol.SOLUTION_CHAT, new SolutionChatRequest(solutionId, step, message, attached)), user, tokenProvider), user); + new TbAiOperation(ChannelProtocol.SOLUTION_CHAT, new SolutionChatRequest(solutionId, step, text, attached)), user, tokenProvider), user); } @Override diff --git a/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java index 8f9c5c50c3..5186939139 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiResourceControllerTest.java @@ -28,6 +28,10 @@ import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; import static org.hamcrest.Matchers.equalTo; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.argThat; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.verify; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; @@ -43,6 +47,7 @@ public class AiResourceControllerTest extends AbstractAiControllerTest { UUID resourceId = UUID.randomUUID(); ObjectNode info = resourceInfo(resourceId, "chart.png", "image/png", PNG.length); var request = new ResourceUploadRequest("chart.png", "image/png", Base64.getEncoder().encodeToString(PNG)); + givenOperation(ChannelProtocol.RESOURCE_CONFIG, null, success(limits(5 * 1024 * 1024))); givenOperation(ChannelProtocol.RESOURCE_UPLOAD, request, success(info)); // WHEN @@ -55,17 +60,23 @@ public class AiResourceControllerTest extends AbstractAiControllerTest { } @Test - public void shouldRejectAFileOverTheUploadLimit_withoutCallingTheAiService() throws Exception { + public void shouldRejectAFileOverTheAiServiceLimit_withoutUploadingIt() throws Exception { // GIVEN loginTenantAdmin(); + givenOperation(ChannelProtocol.RESOURCE_CONFIG, null, success(limits(1024))); // WHEN - upload("huge.png", "image/png", new byte[7 * 1024 * 1024 + 1]) + upload("huge.png", "image/png", new byte[1025]) .andExpect(status().isBadRequest()) .andExpect(statusReason(equalTo("The file is too large: huge.png"))); // THEN - verifyNoAiCalls(); + verify(tbAiOperations, never()).execute(argThat(operation -> operation != null && ChannelProtocol.RESOURCE_UPLOAD.equals(operation.type())), + any(TbAiTurnContext.class)); + } + + static JsonNode limits(long maxSize) { + return JacksonUtil.newObjectNode().put("maxSize", maxSize).put("maxPerMessage", 5); } @Test diff --git a/application/src/test/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionServiceTest.java index d67d93c204..723dc0131e 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/solution/DefaultAiSolutionServiceTest.java @@ -22,6 +22,8 @@ import org.thingsboard.ai.common.channel.SolutionStepRequest; import org.thingsboard.ai.common.client.TbAiClient; import org.thingsboard.ai.common.data.solution.SolutionStep; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; +import org.thingsboard.server.exception.ThingsboardRuntimeException; import org.thingsboard.server.service.ai.TbAiService; import org.thingsboard.server.service.ai.transport.TbAiOperation; import org.thingsboard.server.service.ai.transport.TbAiOperations; @@ -29,10 +31,12 @@ import org.thingsboard.server.service.ai.transport.TbAiTurnContext; import org.thingsboard.server.service.security.model.SecurityUser; +import java.util.List; import java.util.Objects; import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.catchThrowable; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.argThat; import static org.mockito.ArgumentMatchers.eq; @@ -121,6 +125,17 @@ class DefaultAiSolutionServiceTest { then(tbAiService).shouldHaveNoMoreInteractions(); } + @Test + void shouldRejectWithoutCallingTheAiService_whenAMessageHasNeitherTextNorFiles() { + // WHEN + Throwable thrown = catchThrowable(() -> service.chat(UUID.randomUUID(), SolutionStep.INITIAL_CONFIGURATION, null, List.of(), user)); + + // THEN + assertThat(thrown).isInstanceOf(ThingsboardRuntimeException.class).hasMessage("Message cannot be blank"); + assertThat(((ThingsboardRuntimeException) thrown).getErrorCode()).isEqualTo(ThingsboardErrorCode.BAD_REQUEST_PARAMS); + then(tbAiService).shouldHaveNoInteractions(); + } + @ParameterizedTest @EnumSource(SolutionStep.class) void shouldProcessWithCreditCheckAndDelegateToClient_whenChatCalled(SolutionStep step) { @@ -131,7 +146,7 @@ class DefaultAiSolutionServiceTest { given(tbAiService.process(any(), same(user))).willReturn(expectedResponse); // WHEN - JsonNode result = service.chat(solutionId, step, message, user); + JsonNode result = service.chat(solutionId, step, message, List.of(), user); // THEN assertThat(result).isSameAs(expectedResponse); diff --git a/ui-ngx/src/app/core/http/ai-resource.service.ts b/ui-ngx/src/app/core/http/ai-resource.service.ts index 467fddd1b5..daa465f5d8 100644 --- a/ui-ngx/src/app/core/http/ai-resource.service.ts +++ b/ui-ngx/src/app/core/http/ai-resource.service.ts @@ -1,16 +1,27 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 import { Injectable } from '@angular/core'; -import { HttpClient, HttpEvent, HttpEventType } from '@angular/common/http'; +import { HttpClient, HttpErrorResponse, HttpEvent, HttpEventType } from '@angular/common/http'; import { defaultHttpOptions, defaultHttpUploadOptions } from '@core/http/http-utils'; -import { Observable, of } from 'rxjs'; -import { catchError, filter, map, shareReplay, tap } from 'rxjs/operators'; +import { from, Observable, of, Subscription, throwError } from 'rxjs'; +import { catchError, filter, finalize, map, shareReplay, switchMap } from 'rxjs/operators'; import { AiResourceConfig, AiResourceInfo } from '@shared/models/ai-chat.models'; export type AiResourceUploadEvent = { type: 'progress'; progress: number } | { type: 'done'; resource: AiResourceInfo }; +interface CachedUrl { + url$: Observable; + url?: string; + size: number; + dropped?: boolean; +} + +const MAX_CONCURRENT_FETCHES = 3; +const MAX_CACHED_URLS = 40; +const MAX_CACHED_BYTES = 64 * 1024 * 1024; + @Injectable({ providedIn: 'root' }) @@ -18,7 +29,11 @@ export class AiResourceService { private config$: Observable; - private readonly urls = new Map>(); + private readonly urls = new Map(); + + private readonly waitingFetches: Array<() => void> = []; + + private activeFetches = 0; constructor(private http: HttpClient) { } @@ -55,42 +70,149 @@ export class AiResourceService { } delete(resourceId: string): Observable { - this.urls.delete(resourceId); + this.forget(resourceId); return this.http.delete(`/api/ai/resources/${resourceId}`, defaultHttpOptions(true, true)); } - rememberUrl(resourceId: string, url: string): void { - this.urls.set(resourceId, of(url)); + rememberUrl(resourceId: string, url: string, size: number): void { + this.forget(resourceId); + this.urls.set(resourceId, {url$: of(url), url, size}); + this.evict(resourceId); } getUrl(resourceId: string): Observable { - let url$ = this.urls.get(resourceId); - if (!url$) { - url$ = this.http.get(`/api/ai/resources/${resourceId}`, {...defaultHttpOptions(true, true), responseType: 'blob'}).pipe( - map(blob => URL.createObjectURL(blob)), - catchError(error => { - this.urls.delete(resourceId); - throw error; - }), - shareReplay(1) - ); - this.urls.set(resourceId, url$); + const cached = this.urls.get(resourceId); + if (cached) { + this.urls.delete(resourceId); + this.urls.set(resourceId, cached); + return cached.url$; } - return url$; + const entry: CachedUrl = {url$: null, size: 0}; + entry.url$ = this.fetch(resourceId).pipe( + map(blob => { + const url = URL.createObjectURL(blob); + if (entry.dropped) { + setTimeout(() => URL.revokeObjectURL(url)); + } else { + entry.url = url; + entry.size = blob.size; + this.evict(resourceId); + } + return url; + }), + catchError(error => { + if (this.urls.get(resourceId) === entry) { + this.urls.delete(resourceId); + } + throw error; + }), + shareReplay(1) + ); + this.urls.set(resourceId, entry); + return entry.url$; } download(resource: AiResourceInfo): Observable { - return this.getUrl(resource.id).pipe( - tap(url => { - const link = document.createElement('a'); - link.href = url; - link.download = resource.name; - document.body.appendChild(link); - link.click(); - link.remove(); - }), - map(() => undefined) + const cachedUrl = this.urls.get(resource.id)?.url; + if (cachedUrl) { + this.save(cachedUrl, resource.name); + return of(undefined); + } + return this.fetch(resource.id).pipe( + map(blob => { + const url = URL.createObjectURL(blob); + this.save(url, resource.name); + setTimeout(() => URL.revokeObjectURL(url)); + }) + ); + } + + private save(url: string, name: string): void { + const link = document.createElement('a'); + link.href = url; + link.download = name; + document.body.appendChild(link); + link.click(); + link.remove(); + } + + private fetch(resourceId: string): Observable { + const request$ = this.http.get(`/api/ai/resources/${resourceId}`, {...defaultHttpOptions(true, true), responseType: 'blob'}).pipe( + catchError(error => this.readErrorBody(error)) + ); + return new Observable(subscriber => { + let subscription: Subscription; + let finished = false; + const finish = () => { + if (!finished) { + finished = true; + this.activeFetches--; + this.waitingFetches.shift()?.(); + } + }; + const start = () => { + this.activeFetches++; + subscription = request$.pipe(finalize(finish)).subscribe(subscriber); + }; + if (this.activeFetches < MAX_CONCURRENT_FETCHES) { + start(); + } else { + this.waitingFetches.push(start); + } + return () => { + const index = this.waitingFetches.indexOf(start); + if (index >= 0) { + this.waitingFetches.splice(index, 1); + } + subscription?.unsubscribe(); + }; + }); + } + + private readErrorBody(error: any): Observable { + if (!(error instanceof HttpErrorResponse) || !(error.error instanceof Blob)) { + return throwError(() => error); + } + return from(error.error.text()).pipe( + catchError(() => of('')), + switchMap(text => throwError(() => new HttpErrorResponse({ + error: text || null, + headers: error.headers, + status: error.status, + statusText: error.statusText, + url: error.url ?? undefined + }))) ); } + private forget(resourceId: string): void { + const entry = this.urls.get(resourceId); + if (entry) { + this.urls.delete(resourceId); + this.release(entry); + } + } + + private release(entry: CachedUrl): void { + entry.dropped = true; + if (entry.url) { + URL.revokeObjectURL(entry.url); + } + } + + private evict(keep: string): void { + let bytes = 0; + this.urls.forEach(entry => bytes += entry.size); + for (const [resourceId, entry] of this.urls) { + if (this.urls.size <= MAX_CACHED_URLS && bytes <= MAX_CACHED_BYTES) { + break; + } + if (resourceId !== keep && entry.url) { + this.urls.delete(resourceId); + bytes -= entry.size; + this.release(entry); + } + } + } + } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.html index ce957f8c4e..2e848e106f 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.html @@ -69,7 +69,8 @@ [additionalStyles]="['.tb-markdown-view p, .tb-markdown-view h2, .tb-markdown-view h3, .tb-markdown-view h4, .tb-markdown-view h5, .tb-markdown-view h6, .tb-markdown-view div.code-wrapper {padding-left: 0 !important;}' + '.tb-markdown-view ol {padding-inline-start: 30px;} .tb-markdown-view ul{padding-left: 28px;padding-right:0}' ]" - (approvalAction)="onApprovalAction($event)"> + (approvalAction)="onApprovalAction($event)" + (resourceError)="showErrorMessage($event)">
    } @else { diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts index 9b68272d22..fb7dadc790 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-assistant-panel.component.ts @@ -186,7 +186,9 @@ export class AiAssistantPanelComponent implements OnInit { this.loadChat$.pipe( switchMap(id => this.aiChat.getChatMessages(id, {ignoreLoading: true, ignoreErrors: true}).pipe( catchError(err => { - this.showErrorMessage(err); + this.messages.set([]); + this.completedExecutions.set({}); + setTimeout(() => this.showErrorMessage(err), 0); return EMPTY; }) )), @@ -535,7 +537,7 @@ export class AiAssistantPanelComponent implements OnInit { this.loading.set(false); } - private showErrorMessage(error: any): void { + showErrorMessage(error: any): void { const responseType = isNotEmptyStr(error?.error) ? 'text' : undefined; const message = parseHttpErrorMessage(error, this.translate, responseType, this.sanitizer).message; this.showErrorToast(message); diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.html index a58261f352..e81e8a2cf7 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.html @@ -5,22 +5,27 @@ --> -

    {{ data.item.name }}

    +

    {{ data.resource.name }}

    - @if (data.item.resource) { - - } +
    -
    - @if (data.item.url$ | async; as url) { - +
    + @if (preview$ | async; as preview) { + @if (preview.url) { + + } @else { +
    + broken_image + {{ preview.error }} +
    + } } @else { } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.scss b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.scss index d872016784..a99a8a99b3 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.scss @@ -28,5 +28,23 @@ object-fit: contain; border-radius: 8px; } + + .preview-error { + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + padding: 32px 16px; + max-width: 360px; + color: rgba(0, 0, 0, 0.54); + text-align: center; + + mat-icon { + width: 40px; + height: 40px; + font-size: 40px; + color: rgba(0, 0, 0, 0.38); + } + } } } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts index 377cd59165..10f00bcdc0 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts @@ -2,11 +2,26 @@ // SPDX-License-Identifier: BUSL-1.1 import { Component, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { Router } from '@angular/router'; +import { Store } from '@ngrx/store'; +import { TranslateService } from '@ngx-translate/core'; +import { DomSanitizer } from '@angular/platform-browser'; +import { Observable, of } from 'rxjs'; +import { catchError, map } from 'rxjs/operators'; +import { AppState } from '@core/core.state'; +import { DialogComponent } from '@shared/components/dialog.component'; +import { ActionNotificationShow } from '@core/notification/notification.actions'; +import { isNotEmptyStr, parseHttpErrorMessage } from '@core/utils'; import { AiResourceService } from '@core/http/ai-resource.service'; -import { AiAttachmentItem } from '@home/components/ai/ai-attachment.models'; +import { AiResourceInfo } from '@shared/models/ai-chat.models'; export interface AiAttachmentPreviewDialogData { - item: AiAttachmentItem; + resource: AiResourceInfo; +} + +interface AiAttachmentPreview { + url?: string; + error?: string; } @Component({ @@ -15,21 +30,45 @@ export interface AiAttachmentPreviewDialogData { styleUrls: ['./ai-attachment-preview-dialog.component.scss'], standalone: false }) -export class AiAttachmentPreviewDialogComponent { +export class AiAttachmentPreviewDialogComponent extends DialogComponent { + + readonly preview$: Observable; - constructor(@Inject(MAT_DIALOG_DATA) public data: AiAttachmentPreviewDialogData, - private dialogRef: MatDialogRef, - private aiResourceService: AiResourceService) { + constructor(protected store: Store, + protected router: Router, + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: AiAttachmentPreviewDialogData, + private aiResourceService: AiResourceService, + private translate: TranslateService, + private sanitizer: DomSanitizer) { + super(store, router, dialogRef); + this.preview$ = this.aiResourceService.getUrl(data.resource.id).pipe( + map(url => ({url})), + catchError(error => of({error: this.errorMessage(error)})) + ); } download(): void { - if (this.data.item.resource) { - this.aiResourceService.download(this.data.item.resource).subscribe({error: () => {}}); - } + this.aiResourceService.download(this.data.resource).subscribe({ + error: error => this.store.dispatch(new ActionNotificationShow({ + message: this.errorMessage(error), + target: 'aiAttachmentPreview', + modern: true, + type: 'error', + verticalPosition: 'bottom', + horizontalPosition: 'center' + })) + }); } close(): void { this.dialogRef.close(); } + private errorMessage(error: any): string { + const responseType = isNotEmptyStr(error?.error) ? 'text' : undefined; + const message = error ? parseHttpErrorMessage(error, this.translate, responseType, this.sanitizer).message : null; + return message || this.translate.instant('ai-assistant.attachment-load-failed'); + } + } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts b/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts index 4b89b41a79..a96511ee69 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts @@ -1,39 +1,8 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 -import { Observable } from 'rxjs'; -import { AiResourceInfo } from '@shared/models/ai-chat.models'; - -export interface AiAttachmentItem { - key: string; - name: string; - mediaType: string; - size: number; - image: boolean; - url$?: Observable; - resource?: AiResourceInfo; - status?: 'uploading' | 'ready' | 'error'; - progress?: number; -} +import { AI_IMAGE_MEDIA_TYPES } from '@shared/models/ai-chat.models'; const MAX_IMAGE_SIDE = 2560; -const RESIZABLE_IMAGE_TYPES = ['image/png', 'image/jpeg', 'image/webp']; - -export const aiAttachmentIcon = (mediaType: string, name: string): string => { - const extension = name.split('.').pop()?.toLowerCase(); - if (mediaType === 'application/pdf' || extension === 'pdf') { - return 'picture_as_pdf'; - } - if (extension === 'xlsx' || extension === 'csv') { - return 'table_chart'; - } - if (extension === 'pptx') { - return 'slideshow'; - } - if (['json', 'xml', 'yaml', 'yml', 'html', 'htm'].includes(extension)) { - return 'code'; - } - return 'description'; -}; export interface AiAttachmentKind { icon: string; @@ -81,7 +50,7 @@ export const isAiAttachmentAccepted = (file: File, extensions: string[]): boolea }; export const namePastedImage = (file: File): File => { - if (!RESIZABLE_IMAGE_TYPES.includes(file.type) || (file.name && file.name !== 'image.png')) { + if (!AI_IMAGE_MEDIA_TYPES.includes(file.type) || (file.name && file.name !== 'image.png')) { return file; } const stamp = new Date().toISOString().replace(/[-:]/g, '').replace('T', '-').substring(0, 15); @@ -107,7 +76,7 @@ const encode = (canvas: HTMLCanvasElement, type: string, quality?: number): Prom canvas.toBlob(blob => blob ? resolve(blob) : reject(new Error('Image could not be encoded')), type, quality)); export const fitAiImage = async (file: File, maxSize: number): Promise => { - if (!RESIZABLE_IMAGE_TYPES.includes(file.type)) { + if (!AI_IMAGE_MEDIA_TYPES.includes(file.type)) { return file; } let image: HTMLImageElement; diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.html index f8967bbc3a..db8c319e86 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.html @@ -5,44 +5,26 @@ -->
    - @for (item of shown; track item.key) { + @for (item of shown; track item.resource.id) {
    @if (item.image) { @if (item.url$ | async; as url) { - + } @else { image } } @else { -
    {{ icon(item.mediaType, item.name) }}
    +
    {{ item.icon }}
    - {{ item.name }} - {{ extension(item.name) }}@if (extension(item.name)) { · }{{ item.size | fileSize }} + {{ item.resource.name }} + {{ item.extension }}@if (item.extension) { · }{{ item.resource.size | fileSize }}
    } - @if (item.status === 'uploading') { -
    - -
    - } @else if (item.status === 'error') { -
    error_outline
    - } - @if (removable) { - - }
    }
    diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.scss b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.scss index 0e7ca14fd2..9da645eb8a 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.scss +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.scss @@ -20,13 +20,10 @@ background: #fff; overflow: hidden; flex: none; + cursor: pointer; - &.clickable { - cursor: pointer; - - &:hover { - border-color: var(--tb-primary-500); - } + &:hover { + border-color: var(--tb-primary-500); } &.image { @@ -50,7 +47,7 @@ gap: 8px; height: 48px; max-width: 220px; - padding: 0 28px 0 8px; + padding: 0 12px 0 8px; .file-icon { display: flex; @@ -100,56 +97,5 @@ } } } - - &.failed { - border-color: rgba(209, 39, 48, 0.6); - } - - .state { - position: absolute; - inset: 0; - display: flex; - align-items: center; - justify-content: center; - background: rgba(255, 255, 255, 0.7); - - .error-icon { - color: rgb(209, 39, 48); - } - } - - .remove { - position: absolute; - top: 4px; - right: 4px; - width: 20px; - height: 20px; - padding: 0; - border: none; - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - color: #fff; - background: rgba(0, 0, 0, 0.6); - opacity: 0.9; - - &:hover { - opacity: 1; - background: rgba(0, 0, 0, 0.8); - } - - mat-icon { - font-size: 14px; - width: 14px; - height: 14px; - } - } - - &.file .remove { - top: 50%; - transform: translateY(-50%); - } } } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.ts index 30260b230f..86db1c6232 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachments.component.ts @@ -2,18 +2,24 @@ // SPDX-License-Identifier: BUSL-1.1 import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; +import { Observable } from 'rxjs'; +import { catchError } from 'rxjs/operators'; import { AiResourceInfo, isAiImageResource } from '@shared/models/ai-chat.models'; import { AiResourceService } from '@core/http/ai-resource.service'; -import { - aiAttachmentExtension, - aiAttachmentIcon, - AiAttachmentItem -} from '@home/components/ai/ai-attachment.models'; +import { aiAttachmentExtension, aiAttachmentKind } from '@home/components/ai/ai-attachment.models'; import { AiAttachmentPreviewDialogComponent, AiAttachmentPreviewDialogData } from '@home/components/ai/ai-attachment-preview-dialog.component'; +interface AiAttachmentItem { + resource: AiResourceInfo; + image: boolean; + icon: string; + extension: string; + url$?: Observable; +} + @Component({ selector: 'tb-ai-attachments', templateUrl: './ai-attachments.component.html', @@ -24,55 +30,41 @@ export class AiAttachmentsComponent implements OnChanges { @Input() resources: AiResourceInfo[]; - @Input() items: AiAttachmentItem[]; - - @Input() removable = false; - - @Output() removed = new EventEmitter(); + @Output() resourceError = new EventEmitter(); shown: AiAttachmentItem[] = []; - readonly icon = aiAttachmentIcon; - - readonly extension = aiAttachmentExtension; - constructor(private aiResourceService: AiResourceService, private dialog: MatDialog) { } ngOnChanges(changes: SimpleChanges): void { - if (changes.items || changes.resources) { - this.shown = this.items ?? (this.resources ?? []).map(resource => ({ - key: resource.id, - name: resource.name, - mediaType: resource.mediaType, - size: resource.size, - image: isAiImageResource(resource), - url$: isAiImageResource(resource) ? this.aiResourceService.getUrl(resource.id) : undefined, - resource, - status: 'ready' - })); + if (changes.resources) { + this.shown = (this.resources ?? []).map(resource => { + const image = isAiImageResource(resource); + return { + resource, + image, + icon: aiAttachmentKind(resource.mediaType, resource.name).icon, + extension: aiAttachmentExtension(resource.name), + url$: image ? this.aiResourceService.getUrl(resource.id).pipe(catchError(() => [null])) : undefined + }; + }); } } open(item: AiAttachmentItem): void { - if (item.status === 'uploading' || item.status === 'error') { - return; - } - if (item.image && item.url$) { + if (item.image) { this.dialog.open(AiAttachmentPreviewDialogComponent, { panelClass: ['tb-dialog', 'tb-ai-attachment-preview-dialog'], maxWidth: '92vw', - data: {item} + data: {resource: item.resource} + }); + } else { + this.aiResourceService.download(item.resource).subscribe({ + error: error => this.resourceError.emit(error) }); - } else if (item.resource) { - this.aiResourceService.download(item.resource).subscribe({error: () => {}}); } } - remove(event: Event, item: AiAttachmentItem): void { - event.stopPropagation(); - this.removed.emit(item); - } - } diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html index 348db6778f..7fd251f846 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.html @@ -8,7 +8,8 @@ @if (msg.from === 'USER') {
    @if (msg.resources?.length) { - + } @if (msg.content) {
    {{ msg.content }}
    diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.ts index 914104bf65..7818491ccc 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-chat-messages.component.ts @@ -19,6 +19,7 @@ export class AiChatMessagesComponent implements OnChanges { @Input() completedExecutions: Record = {}; @Input() autoApprove = false; @Output() approvalAction = new EventEmitter(); + @Output() resourceError = new EventEmitter(); waitApproval = false; diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.html b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.html index 61b4f6e799..082f2708b0 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.html +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.html @@ -52,8 +52,7 @@ [class.fly]="flying()" [disabled]="!canSend" [attr.aria-label]="'ai-assistant.send' | translate" - [tbAiTip]="sendTip" - tipClass="tip-mini" + tb-popover [tbAiTip]="sendTip" (click)="send()">
    -
    - {{ 'ai-assistant.send' | translate }} - Enter +
    +
    + {{ 'ai-assistant.send' | translate }} + Enter +
    -
    {{ 'ai-assistant.add-files' | translate }}
    -

    {{ 'ai-assistant.add-files-text' | translate }}

    -

    {{ 'ai-assistant.add-files-hint' | translate: {count: maxPerMessage(), size: maxSize()} }}

    +
    +
    {{ 'ai-assistant.add-files' | translate }}
    +

    {{ 'ai-assistant.add-files-text' | translate }}

    +

    {{ 'ai-assistant.add-files-hint' | translate: {count: maxPerMessage(), size: maxSize()} }}

    +
    -
    {{ 'ai-assistant.shortcuts' | translate }}
    -
    - {{ 'ai-assistant.send' | translate }} - Enter -
    -
    - {{ 'ai-assistant.new-line' | translate }} - ShiftEnter -
    -
    - {{ 'ai-assistant.focus-composer' | translate }} - / +
    +
    {{ 'ai-assistant.shortcuts' | translate }}
    +
    + {{ 'ai-assistant.send' | translate }} + Enter +
    +
    + {{ 'ai-assistant.new-line' | translate }} + ShiftEnter +
    +
    + {{ 'ai-assistant.focus-composer' | translate }} + / +
    diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss index 30c40cbe36..088c205465 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.scss @@ -452,132 +452,3 @@ $chevron: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox= } } } - -::ng-deep .tb-ai-tip { - position: fixed; - left: 0; - top: 0; - z-index: 1100; - box-sizing: border-box; - width: max-content; - max-width: min(248px, calc(100vw - 16px)); - padding: 9px 12px 10px; - border-radius: 8px; - background: #1f2a31; - color: #d5dde2; - font: 400 12px/17px $font; - letter-spacing: .1px; - box-shadow: 0 6px 20px rgba(16, 24, 40, 0.22); - opacity: 0; - transform: translateY(4px); - pointer-events: none; - transition: opacity .12s ease, transform .16s cubic-bezier(.2, 0, 0, 1); - - &.below { - transform: translateY(-4px); - } - - &.on { - opacity: 1; - transform: none; - } - - &::after { - content: ''; - position: absolute; - left: var(--arrow-x, 50%); - top: 100%; - margin-left: -5px; - border: 5px solid transparent; - border-top-color: #1f2a31; - } - - &.below::after { - top: auto; - bottom: 100%; - border-top-color: transparent; - border-bottom-color: #1f2a31; - } - - b { - display: block; - margin: 0; - font-size: 13px; - line-height: 18px; - font-weight: 500; - color: #fff; - } - - p { - margin: 0; - font: inherit; - letter-spacing: inherit; - } - - p + p { - margin-top: 3px; - } - - .tip-sub { - color: #9fadb7; - } - - .tip-head { - display: flex; - align-items: baseline; - justify-content: space-between; - gap: 16px; - margin-bottom: 3px; - } - - .tip-keyrow { - display: flex; - align-items: center; - justify-content: space-between; - gap: 16px; - min-height: 22px; - } - - .tip-caps { - display: inline-flex; - gap: 3px; - } - - kbd { - min-width: 16px; - height: 17px; - box-sizing: border-box; - padding: 0 4px; - border: 0; - border-radius: 4px; - background: rgba(255, 255, 255, 0.14); - color: #fff; - font: 500 10.5px/17px $font; - text-align: center; - } - - &.tip-keys { - min-width: 208px; - - .tip-head { - margin-bottom: 2px; - } - } - - &.tip-mini { - min-width: 0; - padding: 5px 8px 6px; - - .tip-keyrow { - gap: 10px; - min-height: 18px; - } - } - - @media (prefers-reduced-motion: reduce) { - &, &.below { - transform: none; - transition: opacity .1s; - } - } -} diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts index 5fe50436e4..863d761d49 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts @@ -25,7 +25,7 @@ import { TranslateService } from '@ngx-translate/core'; import { DomSanitizer } from '@angular/platform-browser'; import { guid, isNotEmptyStr, parseHttpErrorMessage } from '@core/utils'; import { AiResourceService } from '@core/http/ai-resource.service'; -import { AiPromptMessage, AiResourceConfig, AiResourceInfo } from '@shared/models/ai-chat.models'; +import { AI_IMAGE_MEDIA_TYPES, AiPromptMessage, AiResourceConfig, AiResourceInfo } from '@shared/models/ai-chat.models'; import { aiAttachmentKind, fitAiImage, @@ -48,7 +48,6 @@ interface PendingAttachment { upload?: Subscription; } -const IMAGE_TYPES = ['image/png', 'image/jpeg', 'image/webp']; const FLY_DURATION = 520; @Component({ @@ -105,6 +104,7 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr private dragDepth = 0; private unlisten: Array<() => void> = []; private flyTimer: ReturnType; + private destroyed = false; get canSend(): boolean { const ready = this.attachments().some(attachment => attachment.status === 'ready'); @@ -125,6 +125,7 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr } ngOnDestroy(): void { + this.destroyed = true; clearTimeout(this.flyTimer); this.stopListening(); this.clearAttachments(true); @@ -202,8 +203,9 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr } onPaste(event: ClipboardEvent): void { - const files = Array.from(event.clipboardData?.files ?? []); - if (files.length && this.attachEnabled()) { + const clipboard = event.clipboardData; + const files = Array.from(clipboard?.files ?? []); + if (files.length && !clipboard.types.includes('text/plain') && this.attachEnabled()) { event.preventDefault(); this.addFiles(files.map(namePastedImage)); } @@ -224,27 +226,20 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr return `${this.translate.instant(attachment.kind)} · ${formatAiFileSize(attachment.size)}`; } - async addFiles(files: File[]): Promise { + addFiles(files: File[]): void { const config = this.config(); if (!config || !files.length) { return; } - for (const original of files) { + for (const file of files) { const accepted = this.attachments().filter(attachment => attachment.status !== 'error').length; if (accepted >= config.maxPerMessage) { - this.refuse(original, this.translate.instant('ai-assistant.attachment-over-limit', {count: config.maxPerMessage})); - continue; + this.refuse(file, this.translate.instant('ai-assistant.attachment-over-limit', {count: config.maxPerMessage})); + } else if (!isAiAttachmentAccepted(file, config.extensions)) { + this.refuse(file, this.translate.instant('ai-assistant.attachment-unsupported')); + } else { + this.prepare(file, config); } - if (!isAiAttachmentAccepted(original, config.extensions)) { - this.refuse(original, this.translate.instant('ai-assistant.attachment-unsupported')); - continue; - } - const file = await fitAiImage(original, config.maxSize); - if (file.size > config.maxSize) { - this.refuse(original, this.translate.instant('ai-assistant.attachment-larger-than', {size: formatAiFileSize(config.maxSize)})); - continue; - } - this.startUpload(file, config); } } @@ -262,29 +257,49 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr return {key: guid(), name: file.name, size: file.size, icon: kind.icon, kind: kind.label}; } - private startUpload(file: File, config: AiResourceConfig): void { - const previewUrl = IMAGE_TYPES.includes(file.type) ? URL.createObjectURL(file) : undefined; + private async prepare(original: File, config: AiResourceConfig): Promise { const attachment: PendingAttachment = { - ...this.describe(file, file.type || config.mediaTypes[0]), - previewUrl, + ...this.describe(original, original.type || config.mediaTypes[0]), status: 'uploading', progress: 0 }; this.attachments.update(list => [...list, attachment]); + let file: File; + try { + file = await fitAiImage(original, config.maxSize); + } catch { + file = original; + } + if (this.destroyed || !this.attachments().some(candidate => candidate.key === attachment.key)) { + return; + } + if (file.size > config.maxSize) { + this.patch(attachment.key, { + status: 'error', + reason: this.translate.instant('ai-assistant.attachment-larger-than', {size: formatAiFileSize(config.maxSize)}) + }); + return; + } + this.startUpload(attachment.key, file, config); + } + + private startUpload(key: string, file: File, config: AiResourceConfig): void { + const previewUrl = AI_IMAGE_MEDIA_TYPES.includes(file.type) ? URL.createObjectURL(file) : undefined; + this.patch(key, {...this.describe(file, file.type || config.mediaTypes[0]), key, previewUrl}); const upload = this.aiResourceService.upload(file).subscribe({ next: event => { if (event.type === 'progress') { - this.patch(attachment.key, {progress: event.progress}); + this.patch(key, {progress: event.progress}); } else { if (previewUrl) { - this.aiResourceService.rememberUrl(event.resource.id, previewUrl); + this.aiResourceService.rememberUrl(event.resource.id, previewUrl, file.size); } - this.patch(attachment.key, {status: 'ready', resource: event.resource, progress: 100}); + this.patch(key, {status: 'ready', resource: event.resource, progress: 100}); } }, - error: error => this.patch(attachment.key, {status: 'error', reason: this.errorMessage(error)}) + error: error => this.patch(key, {status: 'error', reason: this.errorMessage(error)}) }); - this.patch(attachment.key, {upload}); + this.patch(key, {upload}); } private patch(key: string, changes: Partial): void { diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-tip.directive.ts b/ui-ngx/src/app/modules/home/components/ai/ai-tip.directive.ts index 906f1b19ea..4c20bb7dfc 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-tip.directive.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-tip.directive.ts @@ -1,216 +1,118 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 -import { - Directive, - ElementRef, - EmbeddedViewRef, - HostListener, - inject, - Injector, - Input, - NgZone, - OnDestroy, - TemplateRef -} from '@angular/core'; - -const SHOW_DELAY = 350; -const HIDE_DELAY = 80; -const MARGIN = 8; -const GAP = 10; -const TIP_ID = 'tb-ai-tip'; - -// One floating tip for the composer's controls: it lives on the page, so a scrolling log or a panel's edge never clips it. -// A pointer opens it after a short pause and moving to the next control swaps it at once; keyboard focus opens it at once; -// blur, Esc, a scroll or a resize close it. It sits above its control, kept 8px inside the window, below when there is no room. -class AiTipHost { - - private element: HTMLElement; - private owner: AiTipDirective; - private view: EmbeddedViewRef; - private showTimer: ReturnType; - private hideTimer: ReturnType; - private frame = 0; - private listening = false; - - get open(): boolean { - return !!this.owner; - } - - isOwner(tip: AiTipDirective): boolean { - return this.owner === tip; - } - - scheduleShow(tip: AiTipDirective): void { - this.clearTimers(); - this.showTimer = setTimeout(() => this.show(tip), this.owner ? 0 : SHOW_DELAY); - } - - scheduleHide(tip: AiTipDirective): void { - clearTimeout(this.showTimer); - this.hideTimer = setTimeout(() => { - if (this.owner === tip) { - this.hide(); - } - }, HIDE_DELAY); - } - - show(tip: AiTipDirective): void { - this.clearTimers(); - this.listen(); - const element = this.ensure(); - if (this.owner && this.owner !== tip) { - this.owner.trigger.removeAttribute('aria-describedby'); - } - this.view?.destroy(); - this.view = tip.render(); - element.className = 'tb-ai-tip ' + (tip.tipClass || ''); - element.replaceChildren(...this.view.rootNodes); - this.owner = tip; - tip.trigger.setAttribute('aria-describedby', TIP_ID); - cancelAnimationFrame(this.frame); - this.place(); - element.classList.add('on'); - } +import { Directive, ElementRef, HostListener, inject, Input, OnDestroy, OnInit, Renderer2, TemplateRef } from '@angular/core'; +import { Subscription } from 'rxjs'; +import { TbPopoverDirective } from '@shared/components/popover.component'; - hide(): void { - clearTimeout(this.showTimer); - cancelAnimationFrame(this.frame); - if (!this.owner) { - return; - } - this.owner.trigger.removeAttribute('aria-describedby'); - this.owner = null; - this.element?.classList.remove('on'); - this.view?.destroy(); - this.view = null; - } - - private place(): void { - if (!this.owner) { - return; - } - const trigger = this.owner.trigger; - if (!trigger.isConnected) { - this.hide(); - return; - } - this.view?.detectChanges(); - const target = trigger.getBoundingClientRect(); - const tip = this.element.getBoundingClientRect(); - const center = target.left + target.width / 2; - const left = Math.round(Math.min(Math.max(MARGIN, center - tip.width / 2), innerWidth - tip.width - MARGIN)); - const below = target.top - tip.height - GAP < MARGIN; - const top = Math.round(below ? target.bottom + GAP : target.top - tip.height - GAP); - this.element.style.left = left + 'px'; - this.element.style.top = top + 'px'; - this.element.classList.toggle('below', below); - this.element.style.setProperty('--arrow-x', Math.round(Math.min(Math.max(12, center - left), tip.width - 12)) + 'px'); - this.frame = requestAnimationFrame(() => this.place()); - } - - private ensure(): HTMLElement { - if (!this.element) { - this.element = document.createElement('div'); - this.element.id = TIP_ID; - this.element.setAttribute('role', 'tooltip'); - document.body.appendChild(this.element); - } - return this.element; - } - - private listen(): void { - if (this.listening) { - return; - } - this.listening = true; - addEventListener('scroll', () => this.hide(), true); - addEventListener('resize', () => this.hide()); - document.addEventListener('keydown', (event) => { - if (event.key === 'Escape' && this.owner) { - this.hide(); - } - }); - } - - private clearTimers(): void { - clearTimeout(this.showTimer); - clearTimeout(this.hideTimer); - } -} +const SHOW_DELAY = 0.35; +const HIDE_DELAY = 0.08; +const TIP_ID = 'tb-ai-tip'; -const tipHost = new AiTipHost(); +const openTip: { current: AiTipDirective | null } = {current: null}; @Directive({ selector: '[tbAiTip]', standalone: false }) -export class AiTipDirective implements OnDestroy { +export class AiTipDirective implements OnInit, OnDestroy { + private popover = inject(TbPopoverDirective, {self: true}); private elementRef = inject>(ElementRef); - private injector = inject(Injector); - private zone = inject(NgZone); - - @Input('tbAiTip') template: TemplateRef; + private renderer = inject(Renderer2); - @Input() tipClass: string; + @Input('tbAiTip') template: TemplateRef; @Input() tipToggle = false; - get trigger(): HTMLElement { + private pointerType: string; + private visibleSubscription: Subscription; + private unlistenKeydown: () => void; + + private get trigger(): HTMLElement { return this.elementRef.nativeElement; } - render(): EmbeddedViewRef { - const view = this.template.createEmbeddedView(null, this.injector); - view.detectChanges(); - return view; + ngOnInit(): void { + this.popover.content = this.template; + this.popover.trigger = 'hover'; + this.popover.placement = ['top', 'topRight', 'topLeft', 'bottom', 'bottomRight', 'bottomLeft']; + this.popover.showCloseButton = false; + this.popover.mouseEnterDelay = SHOW_DELAY; + this.popover.mouseLeaveDelay = HIDE_DELAY; + this.popover.overlayClassName = 'tb-ai-tip'; + this.visibleSubscription = this.popover.visibleChange.subscribe(visible => visible ? this.onShown() : this.onHidden()); + } + + ngOnDestroy(): void { + this.visibleSubscription?.unsubscribe(); + this.onHidden(); } @HostListener('pointerenter', ['$event']) onPointerEnter(event: PointerEvent): void { - if (event.pointerType !== 'touch') { - this.zone.runOutsideAngular(() => tipHost.scheduleShow(this)); - } + this.pointerType = event.pointerType; + const other = openTip.current !== this ? openTip.current : null; + this.popover.mouseEnterDelay = other ? 0 : SHOW_DELAY; + other?.popover.hide(); } - @HostListener('pointerleave', ['$event']) - onPointerLeave(event: PointerEvent): void { - if (event.pointerType !== 'touch') { - tipHost.scheduleHide(this); + @HostListener('mouseenter', ['$event']) + onMouseEnter(event: MouseEvent): void { + if (this.pointerType === 'touch') { + event.stopImmediatePropagation(); } } @HostListener('focus') onFocus(): void { if (this.trigger.matches(':focus-visible')) { - this.zone.runOutsideAngular(() => tipHost.show(this)); + this.popover.show(); } } @HostListener('blur') onBlur(): void { - if (tipHost.isOwner(this)) { - tipHost.hide(); - } + this.popover.hide(); } @HostListener('click', ['$event']) onClick(event: MouseEvent): void { - if (!this.tipToggle) { - tipHost.hide(); + if (!this.tipToggle || this.popover.component?.visible) { + this.popover.hide(); return; } event.preventDefault(); - if (tipHost.isOwner(this)) { - tipHost.hide(); - } else { - this.zone.runOutsideAngular(() => tipHost.show(this)); + this.popover.show(); + } + + private onShown(): void { + if (openTip.current !== this) { + openTip.current?.popover.hide(); } + openTip.current = this; + this.unlistenKeydown?.(); + this.unlistenKeydown = this.renderer.listen('document', 'keydown', (event: KeyboardEvent) => { + if (event.key === 'Escape') { + this.popover.hide(); + } + }); + Promise.resolve().then(() => { + const pane = this.popover.component?.overlay?.overlayRef?.overlayElement; + const tip = pane?.querySelector('.tb-popover-inner'); + if (openTip.current === this && tip) { + this.renderer.setStyle(pane, 'pointer-events', 'none'); + tip.id = TIP_ID; + this.trigger.setAttribute('aria-describedby', TIP_ID); + } + }); } - ngOnDestroy(): void { - if (tipHost.isOwner(this)) { - tipHost.hide(); + private onHidden(): void { + if (openTip.current === this) { + openTip.current = null; } + this.unlistenKeydown?.(); + this.unlistenKeydown = null; + this.trigger.removeAttribute('aria-describedby'); } } diff --git a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html index 273961c214..9c901722c2 100644 --- a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html +++ b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.html @@ -57,7 +57,8 @@ + [loadingLongTime]="loadingLongTime()" + (resourceError)="showErrorMessage($event)">
    Loading
    diff --git a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.ts b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.ts index 8dd5e75b91..153de939fb 100644 --- a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.ts +++ b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/solution-creator.component.ts @@ -597,7 +597,7 @@ export class SolutionCreatorComponent extends PageComponent implements OnInit, O } } - private showErrorMessage(error: any): void { + showErrorMessage(error: any): void { const responseType = isNotEmptyStr(error?.error) ? 'text' : undefined; const message = parseHttpErrorMessage(error, this.translate, responseType, this.sanitizer).message; const showOnTop = this.creatorStep() === 'result' || this.isInitialEmpty(); diff --git a/ui-ngx/src/app/shared/models/ai-chat.models.ts b/ui-ngx/src/app/shared/models/ai-chat.models.ts index 1ee675c627..4d4b19234e 100644 --- a/ui-ngx/src/app/shared/models/ai-chat.models.ts +++ b/ui-ngx/src/app/shared/models/ai-chat.models.ts @@ -160,8 +160,10 @@ export interface AiPromptMessage { resources: AiResourceInfo[]; } +export const AI_IMAGE_MEDIA_TYPES: readonly string[] = ['image/png', 'image/jpeg', 'image/webp']; + export const isAiImageResource = (resource: Pick): boolean => - ['image/png', 'image/jpeg', 'image/webp'].includes(resource.mediaType); + AI_IMAGE_MEDIA_TYPES.includes(resource.mediaType); export interface AiAssistantViewConfig { listView: AiAssistantViewType; diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 672aabeb2d..96c8ed3da1 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -723,8 +723,8 @@ "add-files-text": "PDFs, spreadsheets, images or text.", "add-files-hint": "Up to {{count}}, {{size}} each. Or drop them here.", "remove-file": "Remove {{name}}", - "remove-attachment": "Remove attachment", "attachment-failed": "Upload failed", + "attachment-load-failed": "The file couldn't be loaded", "attachment-uploading": "Uploading · {{progress}} %", "attachment-unsupported": "Not supported: a PDF, spreadsheet, image or text", "attachment-larger-than": "Larger than {{size}}", diff --git a/ui-ngx/src/styles.scss b/ui-ngx/src/styles.scss index 7df150e010..42b01a636f 100644 --- a/ui-ngx/src/styles.scss +++ b/ui-ngx/src/styles.scss @@ -346,6 +346,117 @@ pre.tb-highlight { } } +.tb-popover.tb-ai-tip { + $tip-bg: #1f2a31; + + .tb-popover-inner { + border-radius: 8px; + background-color: $tip-bg; + box-shadow: 0 6px 20px rgba(16, 24, 40, 0.22); + } + + .tb-popover-inner-content { + padding: 0; + overflow: visible; + } + + &[class*='tb-popover-placement-top'] > .tb-popover-content > .tb-popover-arrow { + border-right-color: $tip-bg; + border-bottom-color: $tip-bg; + box-shadow: none; + } + + &[class*='tb-popover-placement-bottom'] > .tb-popover-content > .tb-popover-arrow { + border-top-color: $tip-bg; + border-left-color: $tip-bg; + box-shadow: none; + } + + .tb-ai-tip-body { + box-sizing: border-box; + width: max-content; + max-width: min(248px, calc(100vw - 16px)); + padding: 9px 12px 10px; + color: #d5dde2; + font: 400 12px/17px Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; + letter-spacing: .1px; + + b { + display: block; + margin: 0; + font-size: 13px; + line-height: 18px; + font-weight: 500; + color: #fff; + } + + p { + margin: 0; + font: inherit; + letter-spacing: inherit; + } + + p + p { + margin-top: 3px; + } + + .tip-sub { + color: #9fadb7; + } + + .tip-head { + display: flex; + align-items: baseline; + justify-content: space-between; + gap: 16px; + margin-bottom: 3px; + } + + .tip-keyrow { + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + min-height: 22px; + } + + .tip-caps { + display: inline-flex; + gap: 3px; + } + + kbd { + min-width: 16px; + height: 17px; + box-sizing: border-box; + padding: 0 4px; + border: 0; + border-radius: 4px; + background: rgba(255, 255, 255, 0.14); + color: #fff; + font: 500 10.5px/17px Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; + text-align: center; + } + + &.tip-keys { + min-width: 208px; + + .tip-head { + margin-bottom: 2px; + } + } + + &.tip-mini { + padding: 5px 8px 6px; + + .tip-keyrow { + gap: 10px; + min-height: 18px; + } + } + } +} + .tb-autocomplete { .mat-mdc-option { border-bottom: 1px solid #eee; From 31edb224ebfad19674ccbaadb8c228188bd75231 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 5 Nov 2026 13:17:33 +0200 Subject: [PATCH 450/559] feat: SVG attachments are converted to PNG in the browser before upload - The composer accepts .svg from the file picker, drag and drop and paste - The SVG is drawn on white at its natural size (small icons scaled up to 1024px, large drawings capped at 2560px) and uploaded as a PNG, or a JPEG when the PNG would exceed the size limit - foreignObject elements are removed first, so the canvas stays exportable and diagram labels fall back to their text - An SVG that can't be converted shows an error card instead of uploading --- .../components/ai/ai-attachment.models.ts | 54 ++++++++++++++++++- .../ai/ai-prompt-input.component.ts | 28 +++++++--- .../assets/locale/locale.constant-en_US.json | 1 + 3 files changed, 76 insertions(+), 7 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts b/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts index a96511ee69..75b2fe1782 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment.models.ts @@ -3,6 +3,11 @@ import { AI_IMAGE_MEDIA_TYPES } from '@shared/models/ai-chat.models'; const MAX_IMAGE_SIDE = 2560; +const MIN_SVG_SIDE = 1024; +const SVG_MEDIA_TYPE = 'image/svg+xml'; +const SVG_UNITS: Record = {'': 1, px: 1, pt: 4 / 3, pc: 16, in: 96, cm: 96 / 2.54, mm: 96 / 25.4}; + +export const AI_SVG_EXTENSION = '.svg'; export interface AiAttachmentKind { icon: string; @@ -44,9 +49,11 @@ export const aiAttachmentExtension = (name: string): string => { return dot > 0 ? name.substring(dot + 1).toUpperCase() : ''; }; +export const isAiSvg = (file: File): boolean => file.type === SVG_MEDIA_TYPE || file.name.toLowerCase().endsWith(AI_SVG_EXTENSION); + export const isAiAttachmentAccepted = (file: File, extensions: string[]): boolean => { const name = file.name.toLowerCase(); - return extensions.some(extension => name.endsWith(extension.toLowerCase())); + return isAiSvg(file) || extensions.some(extension => name.endsWith(extension.toLowerCase())); }; export const namePastedImage = (file: File): File => { @@ -114,3 +121,48 @@ export const fitAiImage = async (file: File, maxSize: number): Promise => const name = type === file.type ? file.name : `${base}.jpg`; return new File([blob], name, {type, lastModified: file.lastModified}); }; + +const svgLength = (value: string | null): number | null => { + const match = value?.trim().match(/^([0-9]*\.?[0-9]+(?:e[-+]?[0-9]+)?)\s*(px|pt|pc|in|cm|mm)?$/i); + const length = match ? parseFloat(match[1]) * SVG_UNITS[(match[2] ?? '').toLowerCase()] : NaN; + return length > 0 ? length : null; +}; + +export const svgToAiImage = async (file: File, maxSize: number): Promise => { + const document = new DOMParser().parseFromString(await file.text(), SVG_MEDIA_TYPE); + const svg = document.documentElement; + if (svg.localName !== 'svg' || document.getElementsByTagName('parsererror').length) { + throw new Error('Not an SVG image'); + } + Array.from(document.getElementsByTagNameNS('*', 'foreignObject')).forEach(node => node.remove()); + const viewBox = (svg.getAttribute('viewBox') ?? '').trim().split(/[\s,]+/).map(Number); + const hasViewBox = viewBox.length === 4 && viewBox[2] > 0 && viewBox[3] > 0; + let width = svgLength(svg.getAttribute('width')) ?? (hasViewBox ? viewBox[2] : null); + let height = svgLength(svg.getAttribute('height')) ?? (hasViewBox ? viewBox[3] : null); + if (!width || !height) { + width = width ?? height ?? MIN_SVG_SIDE; + height = height ?? width; + } + if (!hasViewBox) { + svg.setAttribute('viewBox', `0 0 ${width} ${height}`); + } + const scale = Math.min(MAX_IMAGE_SIDE / Math.max(width, height), Math.max(1, MIN_SVG_SIDE / Math.max(width, height))); + const canvas = window.document.createElement('canvas'); + canvas.width = Math.max(1, Math.round(width * scale)); + canvas.height = Math.max(1, Math.round(height * scale)); + svg.setAttribute('width', String(canvas.width)); + svg.setAttribute('height', String(canvas.height)); + const image = await loadImage(new File([new XMLSerializer().serializeToString(document)], file.name, {type: SVG_MEDIA_TYPE})); + const context = canvas.getContext('2d'); + context.fillStyle = '#fff'; + context.fillRect(0, 0, canvas.width, canvas.height); + context.drawImage(image, 0, 0, canvas.width, canvas.height); + let blob = await encode(canvas, 'image/png'); + let type = 'image/png'; + if (blob.size > maxSize) { + blob = await encode(canvas, 'image/jpeg', 0.85); + type = 'image/jpeg'; + } + const base = file.name.replace(/\.[^.]+$/, ''); + return new File([blob], `${base}.${type === 'image/png' ? 'png' : 'jpg'}`, {type, lastModified: file.lastModified}); +}; diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts index 863d761d49..11bbbc0fcc 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts @@ -27,11 +27,14 @@ import { guid, isNotEmptyStr, parseHttpErrorMessage } from '@core/utils'; import { AiResourceService } from '@core/http/ai-resource.service'; import { AI_IMAGE_MEDIA_TYPES, AiPromptMessage, AiResourceConfig, AiResourceInfo } from '@shared/models/ai-chat.models'; import { + AI_SVG_EXTENSION, aiAttachmentKind, fitAiImage, formatAiFileSize, isAiAttachmentAccepted, - namePastedImage + isAiSvg, + namePastedImage, + svgToAiImage } from '@home/components/ai/ai-attachment.models'; interface PendingAttachment { @@ -86,7 +89,7 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr attachEnabled = computed(() => !!this.config()); - accept = computed(() => this.config()?.extensions.join(',') ?? ''); + accept = computed(() => this.config() ? [...this.config().extensions, AI_SVG_EXTENSION].join(',') : ''); maxPerMessage = computed(() => this.config()?.maxPerMessage ?? 0); @@ -265,14 +268,27 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr }; this.attachments.update(list => [...list, attachment]); let file: File; - try { - file = await fitAiImage(original, config.maxSize); - } catch { - file = original; + let failure: string; + if (isAiSvg(original)) { + try { + file = await svgToAiImage(original, config.maxSize); + } catch { + failure = this.translate.instant('ai-assistant.attachment-svg-failed'); + } + } else { + try { + file = await fitAiImage(original, config.maxSize); + } catch { + file = original; + } } if (this.destroyed || !this.attachments().some(candidate => candidate.key === attachment.key)) { return; } + if (failure) { + this.patch(attachment.key, {status: 'error', reason: failure}); + return; + } if (file.size > config.maxSize) { this.patch(attachment.key, { status: 'error', diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 96c8ed3da1..e9967d3fde 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -728,6 +728,7 @@ "attachment-uploading": "Uploading · {{progress}} %", "attachment-unsupported": "Not supported: a PDF, spreadsheet, image or text", "attachment-larger-than": "Larger than {{size}}", + "attachment-svg-failed": "This SVG can't be converted to an image", "attachment-over-limit": "More than {{count}} files", "file-kind": { "image": "Image", From e6b98476247e68476b1fecbdacf073909f6e55b2 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 5 Nov 2026 13:25:27 +0200 Subject: [PATCH 451/559] Document GET /api/system/info in the OpenAPI spec The endpoint is available to every authenticated user, but the whole SystemInfoController was hidden, so generated REST clients had no call for it and could only read the version from the sysadmin-only /api/admin/updates. Show the endpoint and return a SystemVersionInfo record that serializes to the same JSON as the hand-built ObjectNode. The other two endpoints of the controller stay hidden. --- .../controller/SystemInfoController.java | 27 +++++++++---------- .../server/common/data/SystemVersionInfo.java | 23 ++++++++++++++++ 2 files changed, 36 insertions(+), 14 deletions(-) create mode 100644 common/data/src/main/java/org/thingsboard/server/common/data/SystemVersionInfo.java diff --git a/application/src/main/java/org/thingsboard/server/controller/SystemInfoController.java b/application/src/main/java/org/thingsboard/server/controller/SystemInfoController.java index c072b6b09d..f10009830c 100644 --- a/application/src/main/java/org/thingsboard/server/controller/SystemInfoController.java +++ b/application/src/main/java/org/thingsboard/server/controller/SystemInfoController.java @@ -3,7 +3,6 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.controller; -import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import io.swagger.v3.oas.annotations.Hidden; import jakarta.annotation.PostConstruct; @@ -21,6 +20,7 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.DashboardInfo; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.SystemParams; +import org.thingsboard.server.common.data.SystemVersionInfo; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.TenantId; @@ -34,6 +34,7 @@ import org.thingsboard.server.common.data.settings.UserSettings; import org.thingsboard.server.common.data.settings.UserSettingsType; import org.thingsboard.server.common.data.tenant.profile.DefaultTenantProfileConfiguration; import org.thingsboard.server.common.msg.edqs.EdqsService; +import org.thingsboard.server.config.annotations.ApiOperation; import org.thingsboard.server.dao.mobile.QrCodeSettingService; import org.thingsboard.server.dao.subscription.PlatformFeature; import org.thingsboard.server.dao.subscription.SubscriptionService; @@ -52,7 +53,8 @@ import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; -@Hidden +import static org.thingsboard.server.controller.ControllerConstants.SYSTEM_OR_TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH; + @RestController @TbCoreComponent @RequestMapping("/api") @@ -117,23 +119,26 @@ public class SystemInfoController extends BaseController { @PostConstruct public void init() { - JsonNode info = buildInfoObject(); - log.info("System build info: {}", info); + log.info("System build info: {}", JacksonUtil.toString(buildInfoObject())); } + @ApiOperation(value = "Get platform version (getSystemVersionInfo)", + notes = "Returns the version and edition of the platform build." + SYSTEM_OR_TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH) @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER')") @RequestMapping(value = "/system/info", method = RequestMethod.GET) @ResponseBody - public JsonNode getSystemVersionInfo() { + public SystemVersionInfo getSystemVersionInfo() { return buildInfoObject(); } + @Hidden @RequestMapping(value = "/noauth/system/development", method = RequestMethod.GET) @ResponseBody public Boolean isDevelopment() { return subscriptionService.isDevelopment(TenantId.SYS_TENANT_ID); } + @Hidden @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER')") @RequestMapping(value = "/system/params", method = RequestMethod.GET) @ResponseBody @@ -230,17 +235,11 @@ public class SystemInfoController extends BaseController { currentUser.getAdditionalInfo().get("defaultDashboardFullscreen").booleanValue()); } - private JsonNode buildInfoObject() { - ObjectNode infoObject = JacksonUtil.newObjectNode(); + private SystemVersionInfo buildInfoObject() { if (buildProperties != null) { - infoObject.put("version", buildProperties.getVersion()); - infoObject.put("artifact", buildProperties.getArtifact()); - infoObject.put("name", buildProperties.getName()); - } else { - infoObject.put("version", "unknown"); + return new SystemVersionInfo(buildProperties.getVersion(), buildProperties.getArtifact(), buildProperties.getName(), "PE"); } - infoObject.put("type", "PE"); - return infoObject; + return new SystemVersionInfo("unknown", null, null, "PE"); } } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/SystemVersionInfo.java b/common/data/src/main/java/org/thingsboard/server/common/data/SystemVersionInfo.java new file mode 100644 index 0000000000..c202c7c695 --- /dev/null +++ b/common/data/src/main/java/org/thingsboard/server/common/data/SystemVersionInfo.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.common.data; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import io.swagger.v3.oas.annotations.media.Schema; + +@Schema(description = "Version and edition of the platform build") +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({"version", "artifact", "name", "type"}) +public record SystemVersionInfo( + @Schema(requiredMode = Schema.RequiredMode.REQUIRED, example = "4.4.1", + description = "Platform version, or 'unknown' when the build information is not available") + String version, + @Schema(example = "application", description = "Build artifact; absent when the build information is not available") + String artifact, + @Schema(example = "ThingsBoard Server Application", description = "Build name; absent when the build information is not available") + String name, + @Schema(requiredMode = Schema.RequiredMode.REQUIRED, example = "PE", description = "Platform edition") + String type +) { +} From 72a55e2f2d80822905b66ba0d57b62357c880e75 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 5 Nov 2026 16:55:01 +0200 Subject: [PATCH 452/559] fix: a TB AI 403 is no longer shown as a ThingsBoard permission error, the solution side bar shows TB AI's own message, and attachment errors fall back to their text unless the response carries a server message --- .../server/service/ai/DefaultTbAiService.java | 1 - .../service/ai/DefaultTbAiServiceTest.java | 2 +- .../ai-attachment-preview-dialog.component.ts | 12 ++-- .../components/ai/ai-attachment.models.ts | 21 +++++++ .../ai/ai-prompt-input.component.ts | 15 ++--- .../side-bar/solution-side-bar.component.ts | 59 ++++++++++++++----- 6 files changed, 79 insertions(+), 31 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java b/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java index d99740ae4b..f3b60383eb 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/DefaultTbAiService.java @@ -173,7 +173,6 @@ class DefaultTbAiService implements TbAiService { static ThingsboardErrorCode toErrorCode(int status) { return switch (status) { case 400, 413, 415, 422 -> ThingsboardErrorCode.BAD_REQUEST_PARAMS; - case 403 -> ThingsboardErrorCode.PERMISSION_DENIED; case 404 -> ThingsboardErrorCode.ITEM_NOT_FOUND; case 409 -> ThingsboardErrorCode.VERSION_CONFLICT; case 429 -> ThingsboardErrorCode.TOO_MANY_REQUESTS; diff --git a/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java b/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java index 085d324fd9..4f48e5c6c2 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/DefaultTbAiServiceTest.java @@ -170,7 +170,7 @@ class DefaultTbAiServiceTest { } @ParameterizedTest - @CsvSource({"400, BAD_REQUEST_PARAMS", "413, BAD_REQUEST_PARAMS", "403, PERMISSION_DENIED", "404, ITEM_NOT_FOUND", + @CsvSource({"400, BAD_REQUEST_PARAMS", "413, BAD_REQUEST_PARAMS", "403, GENERAL", "404, ITEM_NOT_FOUND", "409, VERSION_CONFLICT", "429, TOO_MANY_REQUESTS", "401, GENERAL", "500, GENERAL", "0, GENERAL"}) void shouldKeepTheStatusOfTheAiService_whenProcessAndResponseIsFailure(int status, ThingsboardErrorCode errorCode) { // GIVEN diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts index 10f00bcdc0..a456faf3b8 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-attachment-preview-dialog.component.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 -import { Component, Inject } from '@angular/core'; +import { Component, Inject, SecurityContext } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { Router } from '@angular/router'; import { Store } from '@ngrx/store'; @@ -11,7 +11,8 @@ import { catchError, map } from 'rxjs/operators'; import { AppState } from '@core/core.state'; import { DialogComponent } from '@shared/components/dialog.component'; import { ActionNotificationShow } from '@core/notification/notification.actions'; -import { isNotEmptyStr, parseHttpErrorMessage } from '@core/utils'; + +import { aiServerMessage } from '@home/components/ai/ai-attachment.models'; import { AiResourceService } from '@core/http/ai-resource.service'; import { AiResourceInfo } from '@shared/models/ai-chat.models'; @@ -65,10 +66,9 @@ export class AiAttachmentPreviewDialogComponent extends DialogComponent = const base = file.name.replace(/\.[^.]+$/, ''); return new File([blob], `${base}.${type === 'image/png' ? 'png' : 'jpg'}`, {type, lastModified: file.lastModified}); }; + +export function aiServerMessage(error: unknown): string | undefined { + if (!(error instanceof HttpErrorResponse)) { + return undefined; + } + let body: unknown = error.error; + if (typeof body === 'string') { + const text = body.trim(); + if (!text || text.startsWith('<')) { + return undefined; + } + try { + body = JSON.parse(text); + } catch { + return text; + } + } + const message = body && typeof body === 'object' ? (body as {message?: unknown}).message : undefined; + return typeof message === 'string' && message.trim() ? message.trim() : undefined; +} diff --git a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts index 11bbbc0fcc..5297f99045 100644 --- a/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai/ai-prompt-input.component.ts @@ -16,14 +16,15 @@ import { signal, SimpleChanges, untracked, - ViewChild + ViewChild, + SecurityContext } from '@angular/core'; import { FormControl } from '@angular/forms'; import { toSignal } from '@angular/core/rxjs-interop'; import { Subscription } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { DomSanitizer } from '@angular/platform-browser'; -import { guid, isNotEmptyStr, parseHttpErrorMessage } from '@core/utils'; +import { guid } from '@core/utils'; import { AiResourceService } from '@core/http/ai-resource.service'; import { AI_IMAGE_MEDIA_TYPES, AiPromptMessage, AiResourceConfig, AiResourceInfo } from '@shared/models/ai-chat.models'; import { @@ -34,7 +35,8 @@ import { isAiAttachmentAccepted, isAiSvg, namePastedImage, - svgToAiImage + svgToAiImage, + aiServerMessage } from '@home/components/ai/ai-attachment.models'; interface PendingAttachment { @@ -368,10 +370,9 @@ export class AiPromptInputComponent implements OnChanges, AfterViewInit, OnDestr } } - private errorMessage(error: any): string { - const responseType = isNotEmptyStr(error?.error) ? 'text' : undefined; - const message = error ? parseHttpErrorMessage(error, this.translate, responseType, this.sanitizer).message : null; - return message || this.translate.instant('ai-assistant.attachment-failed'); + private errorMessage(error: unknown): string { + const message = aiServerMessage(error); + return message ? this.sanitizer.sanitize(SecurityContext.HTML, message) ?? message : this.translate.instant('ai-assistant.attachment-failed'); } private listenForDrops(target: HTMLElement): void { diff --git a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/side-bar/solution-side-bar.component.ts b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/side-bar/solution-side-bar.component.ts index 11a28f8a58..6051b13301 100644 --- a/ui-ngx/src/app/modules/home/pages/ai-solution-creator/side-bar/solution-side-bar.component.ts +++ b/ui-ngx/src/app/modules/home/pages/ai-solution-creator/side-bar/solution-side-bar.component.ts @@ -14,6 +14,10 @@ import { selectUserSettingsProperty } from '@core/auth/auth.selectors'; import { distinctUntilChanged, skip, take } from 'rxjs/operators'; import { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop'; import { ActionPreferencesPutUserSettings } from '@core/auth/auth.actions'; +import { HttpErrorResponse } from '@angular/common/http'; +import { DomSanitizer } from '@angular/platform-browser'; +import { isNotEmptyStr, parseHttpErrorMessage } from '@core/utils'; +import { ActionNotificationShow } from '@core/notification/notification.actions'; @Component({ selector: 'tb-solution-side-bar', @@ -41,6 +45,7 @@ export class SolutionSideBarComponent extends PageComponent implements OnInit { private router: Router, private route: ActivatedRoute, protected store: Store, + private sanitizer: DomSanitizer, ) { super(); this.store.pipe(select(selectUserSettingsProperty('isSolutionSidebarExpanded'))).pipe( @@ -61,9 +66,10 @@ export class SolutionSideBarComponent extends PageComponent implements OnInit { } ngOnInit() { - this.solutionCreator.getSolutions({ignoreLoading: true}).subscribe((solutions) => { - this.solutions.set(solutions); - }) + this.solutionCreator.getSolutions({ignoreLoading: true, ignoreErrors: true}).subscribe({ + next: solutions => this.solutions.set(solutions), + error: error => this.showError(error) + }); } toggleSidebar($event: Event): void { @@ -89,12 +95,15 @@ export class SolutionSideBarComponent extends PageComponent implements OnInit { this.translate.instant('solution-creator.delete-solution-confirm') ).subscribe((value) => { if (value) { - this.solutionCreator.deleteSolution(solution.id).subscribe(() => { - this.solutions.update(solutions => solutions.filter(s => s.id !== solution.id)); - if (this.route.snapshot.queryParamMap.has('solutionId') && this.route.snapshot.queryParamMap.get('solutionId') === solution.id) { - this.router.navigate(['/ai-solution-creator']).then(() => {}); - } - }) + this.solutionCreator.deleteSolution(solution.id, {ignoreErrors: true}).subscribe({ + next: () => { + this.solutions.update(solutions => solutions.filter(s => s.id !== solution.id)); + if (this.route.snapshot.queryParamMap.has('solutionId') && this.route.snapshot.queryParamMap.get('solutionId') === solution.id) { + this.router.navigate(['/ai-solution-creator']).then(() => {}); + } + }, + error: error => this.showError(error) + }); } }) } @@ -118,10 +127,13 @@ export class SolutionSideBarComponent extends PageComponent implements OnInit { } }).afterClosed().subscribe(newTitle => { if (newTitle && newTitle !== solution.solutionTitle) { - this.solutionCreator.updateSolutionData(solution.id, 'solutionTitle', JSON.stringify(newTitle)) - .subscribe(value => { - solution.solutionTitle = newTitle; - this.updatedSolution.next(value); + this.solutionCreator.updateSolutionData(solution.id, 'solutionTitle', JSON.stringify(newTitle), {ignoreErrors: true}) + .subscribe({ + next: value => { + solution.solutionTitle = newTitle; + this.updatedSolution.next(value); + }, + error: error => this.showError(error) }); } }); @@ -135,14 +147,29 @@ export class SolutionSideBarComponent extends PageComponent implements OnInit { this.translate.instant('solution-creator.uninstall-solution-dialog-confirm') ).subscribe((value) => { if (value) { - this.solutionCreator.uninstallSolution(solution.id, {ignoreErrors: true}).subscribe(() => { - this.updateSolutionField(solution, {installed: false}); - this.installedChanged.emit({solutionId: solution.id, installed: false}); + this.solutionCreator.uninstallSolution(solution.id, {ignoreErrors: true}).subscribe({ + next: () => { + this.updateSolutionField(solution, {installed: false}); + this.installedChanged.emit({solutionId: solution.id, installed: false}); + }, + error: error => this.showError(error) }); } }); } + private showError(error: unknown): void { + const responseType = isNotEmptyStr((error as {error?: unknown})?.error) ? 'text' : undefined; + this.store.dispatch(new ActionNotificationShow({ + message: parseHttpErrorMessage(error as HttpErrorResponse, this.translate, responseType, this.sanitizer).message, + modern: true, + type: 'error', + target: 'solution-creator', + verticalPosition: 'top', + horizontalPosition: 'center' + })); + } + updateSolutionField(solution: SolutionInfo | {id: string}, fields: Partial): void { const defined = Object.fromEntries(Object.entries(fields).filter(([, v]) => v !== undefined)); this.solutions.update(solutions => From e8683bd85a21af516e89c746033dbd1e57d43684 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Fri, 6 Nov 2026 10:12:36 +0200 Subject: [PATCH 453/559] fix(iot-hub): review of the device package update: new access tokens in the warning, a package's own entity stays its own, the close prompt only once entities may be gone - update-desc-device says again that the new devices get new access tokens - an existing entity the wizard created a moment ago is recorded as created, not use-existing - the close prompt shows only after the removal, a partial removal or a lost answer - query params go through InterceptorHttpParams (also fixes force losing the interceptor config) - one iotHubErrorMessage helper on parseHttpErrorMessage for the iot-hub dialogs - removingReplaced is one signal, stepError a field, no template method calls or extra detectChanges - fewer comments, readonly fields in the update dialog, cdr renamed to cd --- .../src/app/core/http/iot-hub-api.service.ts | 21 ++- .../device-install-dialog.component.html | 31 ++--- .../device-install-dialog.component.ts | 122 +++++++----------- .../iot-hub/iot-hub-actions.service.ts | 6 +- .../iot-hub-add-item-dialog.component.ts | 4 +- .../iot-hub-install-dialog.component.ts | 3 +- .../iot-hub-update-dialog.component.ts | 37 ++---- .../home/components/iot-hub/iot-hub-utils.ts | 8 ++ .../assets/locale/locale.constant-en_US.json | 2 +- 9 files changed, 100 insertions(+), 134 deletions(-) diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 07c1c9a64d..89df8e9d3b 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -182,20 +182,18 @@ export class IotHubApiService { replaceInstalledItemId?: string, config?: IotHubRequestConfig ): Observable { - // In the URL: HttpParams.set() would drop the interceptor config (ignoreLoading, ignoreErrors) of buildParams. - const replace = replaceInstalledItemId ? `&replaceInstalledItemId=${replaceInstalledItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}${replace}`, + `/api/iot-hub/device/register`, { type: 'DEVICE', ...descriptor }, - { params: this.buildParams(config) } + { params: this.buildParams(config, { versionId, replaceInstalledItemId }) } ); } public removeDevicePackageEntities(installedItemId: string, versionId: string, config?: IotHubRequestConfig): Observable { return this.http.post( - `/api/iot-hub/installedItems/${installedItemId}/device/removeEntities?versionId=${versionId}`, + `/api/iot-hub/installedItems/${installedItemId}/device/removeEntities`, null, - { params: this.buildParams(config) } + { params: this.buildParams(config, { versionId }) } ); } @@ -223,10 +221,7 @@ export class IotHubApiService { } public updateItemVersion(installedItemId: string, versionId: string, config?: IotHubRequestConfig, force?: boolean): Observable { - let params = this.buildParams(config); - if (force) { - params = params.set('force', 'true'); - } + const params = this.buildParams(config, { force: force ? 'true' : undefined }); return this.http.post( `/api/iot-hub/installedItems/${installedItemId}/update/${versionId}`, null, @@ -294,9 +289,11 @@ export class IotHubApiService { ); } - private buildParams(config?: IotHubRequestConfig): HttpParams { + private buildParams(config?: IotHubRequestConfig, params?: Record): HttpParams { + const defined = Object.fromEntries(Object.entries(params ?? {}).filter(([, value]) => value != null)); return new InterceptorHttpParams( - new InterceptorConfig(config?.ignoreLoading ?? false, config?.ignoreErrors ?? false) + new InterceptorConfig(config?.ignoreLoading ?? false, config?.ignoreErrors ?? false), + defined ); } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 45060d91bc..93902b5338 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -133,24 +133,25 @@ {{ ('iot-hub.device-install-step-type-' + ep.step.type | translate) + ' — ' + (ep.resolvedName || ep.step.name) }} - @if (ep.status === 'success') { - {{ 'iot-hub.done' | translate }} - } - @if (ep.status === 'running') { - {{ 'iot-hub.in-progress' | translate }} + @switch (ep.status) { + @case ('success') { + {{ 'iot-hub.done' | translate }} + } + @case ('running') { + {{ 'iot-hub.in-progress' | translate }} + } }
    } } - @if (ws.removingReplaced) { + @if (removingReplaced()) {
    {{ 'iot-hub.device-update-removing' | translate }}
    - } - @if (stepLevelError(ws); as error) { - {{ error }} + } @else if (ws.stepError) { + {{ ws.stepError }} }
    } @@ -166,7 +167,7 @@ } @else {

    {{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }}

    -
    @@ -206,7 +207,7 @@ @for (ws of wizardSteps; track ws.label) { - {{ ws.label }} @@ -220,13 +221,13 @@ @if (allProgressDone) { } @else { - + } @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { @@ -261,7 +262,7 @@ } @case ('progress') { - @if (step.progressError) { + @if (step.progressError || step.stepError) { } - } @else if (!step.progressError) { + } @else {
    } } - @if (ws.removingReplaced) { + @if (removingReplaced()) {
    {{ 'iot-hub.device-update-removing' | translate }}
    - } - @if (stepLevelError(ws); as error) { - {{ error }} + } @else if (ws.stepError) { + {{ ws.stepError }} }
    } @@ -166,7 +167,7 @@ } @else {

    {{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }}

    -
    @@ -206,7 +207,7 @@
    @for (ws of wizardSteps; track ws.label) { - {{ ws.label }} @@ -220,13 +221,13 @@ @if (allProgressDone) { } @else { - + } @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { @@ -261,7 +262,7 @@ } @case ('progress') { - @if (step.progressError) { + @if (step.progressError || step.stepError) { } - } @else if (!step.progressError) { + } @else {
    -
    +
    From a4f3fa314295515d65b780eb6d37ef387e30b3a7 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 11 Nov 2026 16:21:53 +0100 Subject: [PATCH 522/559] Fixed form flickering on 'Use system settings' pages by loading settings in route resolvers (#16437) * Fixed form content flickering on settings pages with 'Use system settings' option * PR comments fixes --- ui-ngx/src/app/app.component.ts | 32 ++++++++- .../home/pages/admin/admin-routing.module.ts | 45 ++++++++++++- .../home/pages/admin/mail-server.component.ts | 67 +++++++++---------- .../pages/admin/sms-provider.component.ts | 30 +++------ ...-qr-code-widget-settings-routing.module.ts | 30 ++++++++- ...obile-qr-code-widget-settings.component.ts | 17 +++-- 6 files changed, 152 insertions(+), 69 deletions(-) diff --git a/ui-ngx/src/app/app.component.ts b/ui-ngx/src/app/app.component.ts index 3b93872bb1..b811c7fc2c 100644 --- a/ui-ngx/src/app/app.component.ts +++ b/ui-ngx/src/app/app.component.ts @@ -14,7 +14,7 @@ import { LocalStorageService } from '@core/local-storage/local-storage.service'; import { DomSanitizer } from '@angular/platform-browser'; import { MatIconRegistry } from '@angular/material/icon'; import { getCurrentAuthState, selectUserReady } from '@core/auth/auth.selectors'; -import { filter, skip, tap } from 'rxjs/operators'; +import { filter, skip, switchMap, take, takeWhile, tap } from 'rxjs/operators'; import { AuthService } from '@core/auth/auth.service'; import { DashboardReportService } from '@core/http/dashboard-report.service'; import { DevelopmentService } from '@core/http/development.service'; @@ -25,6 +25,9 @@ import { initCustomJQueryEvents } from '@shared/models/jquery-event.models'; import { TranslateDefaultLoader } from '@core/translate/translate-default-loader'; import { SystemSetupService } from '@core/http/system-setup.service'; import { SystemSetupState } from '@shared/models/system-setup.models'; +import { NavigationEnd, NavigationError, Router } from '@angular/router'; +import { ToastNotificationService } from '@core/services/toast-notification.service'; +import { NotificationMessage } from '@core/notification/notification.models'; @Component({ selector: 'tb-root', @@ -43,7 +46,9 @@ export class AppComponent { private authService: AuthService, private reportService: DashboardReportService, private developmentService: DevelopmentService, - private systemSetupService: SystemSetupService) { + private systemSetupService: SystemSetupService, + private router: Router, + private toastNotificationService: ToastNotificationService) { if (!env.production) { console.log(`ThingsBoard Version: ${env.tbVersion}`); @@ -85,6 +90,29 @@ export class AppComponent { }); this.routeAuthenticationChangesWhileSetupIsIncomplete(); + this.gotoDefaultPlaceOnInitialNavigationError(); + } + + private gotoDefaultPlaceOnInitialNavigationError() { + const pendingNotifications: NotificationMessage[] = []; + this.toastNotificationService.getNotification().pipe( + takeWhile(() => !this.router.navigated) + ).subscribe((notification) => pendingNotifications.push(notification)); + this.router.events.pipe( + filter((event) => event instanceof NavigationError && !this.router.navigated), + take(1), + switchMap(() => { + this.authService.gotoDefaultPlace(getCurrentAuthState(this.store).isAuthenticated); + return this.router.events.pipe( + filter((event) => event instanceof NavigationEnd), + take(1) + ); + }) + ).subscribe(() => { + setTimeout(() => { + pendingNotifications.forEach((notification) => this.toastNotificationService.dispatchNotification(notification)); + }); + }); } /** diff --git a/ui-ngx/src/app/modules/home/pages/admin/admin-routing.module.ts b/ui-ngx/src/app/modules/home/pages/admin/admin-routing.module.ts index 0f84b503be..d2605b500c 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/admin-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/admin-routing.module.ts @@ -20,7 +20,13 @@ import { GeneralSettingsComponent } from '@home/pages/admin/general-settings.com import { SecuritySettingsComponent } from '@modules/home/pages/admin/security-settings.component'; import { MailTemplatesComponent } from '@home/pages/admin/mail-templates.component'; import { forkJoin, mergeMap, Observable, of } from 'rxjs'; -import { MailTemplatesSettings } from '@shared/models/settings.models'; +import { + AdminSettings, + MailConfigTemplate, + MailServerSettings, + MailTemplatesSettings, + SmsProviderConfiguration +} from '@shared/models/settings.models'; import { WhiteLabelingComponent } from '@home/pages/admin/white-labeling.component'; import { SelfRegistrationComponent } from '@home/pages/admin/self-registration.component'; import { HomeSettingsComponent } from '@home/pages/admin/home-settings.component'; @@ -59,6 +65,8 @@ import { AuthService } from '@core/auth/auth.service'; import { AppState } from '@core/core.state'; import { Store } from '@ngrx/store'; import { ActionUpdateLicenseParams } from '@core/auth/auth.actions'; +import { NotificationService } from '@core/http/notification.service'; +import { NotificationSettings } from '@shared/models/notification.models'; export const subscriptionInfoResolver: ResolveFn = ( route: ActivatedRouteSnapshot, @@ -112,6 +120,35 @@ export const mailTemplateSettingsResolver: ResolveFn = ( wl = inject(WhiteLabelingService) ): Observable => wl.getMailTemplates(true); +export const mailServerSettingsResolver: ResolveFn<{ + loginProcessingUrl: string; + mailConfigTemplate: Array; + adminSettings: AdminSettings; +}> = ( + route: ActivatedRouteSnapshot, + state: RouterStateSnapshot, + adminService = inject(AdminService) +) => forkJoin({ + loginProcessingUrl: adminService.getLoginProcessingUrl(), + mailConfigTemplate: adminService.getMailConfigTemplate(), + adminSettings: adminService.getAdminSettings('mail') +}); + +export const notificationsSettingsResolver: ResolveFn<{ + notificationSettings: NotificationSettings; + smsProviderSettings: AdminSettings; +}> = ( + route: ActivatedRouteSnapshot, + state: RouterStateSnapshot, + adminService = inject(AdminService), + notificationService = inject(NotificationService) +) => forkJoin({ + notificationSettings: notificationService.getNotificationSettings(), + smsProviderSettings: adminService.getAdminSettings('sms', false, {ignoreErrors: true}).pipe( + catchError(() => of({key: 'sms', jsonValue: null} as AdminSettings)) + ) +}); + export const scadaSymbolResolver: ResolveFn = (route: ActivatedRouteSnapshot, state: RouterStateSnapshot, @@ -332,6 +369,9 @@ const routes: Routes = [ breadcrumb: { menuId: MenuId.mail_server } + }, + resolve: { + mailServerSettings: mailServerSettingsResolver } }, { @@ -344,6 +384,9 @@ const routes: Routes = [ breadcrumb: { menuId: MenuId.notification_settings } + }, + resolve: { + notificationsSettings: notificationsSettingsResolver } }, { diff --git a/ui-ngx/src/app/modules/home/pages/admin/mail-server.component.ts b/ui-ngx/src/app/modules/home/pages/admin/mail-server.component.ts index 9bb4d06a10..0f1f59fb62 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/mail-server.component.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/mail-server.component.ts @@ -25,10 +25,11 @@ import { AuthUser } from '@shared/models/user.model'; import { Authority } from '@shared/models/authority.enum'; import { UserPermissionsService } from '@core/http/user-permissions.service'; import { Operation, Resource } from '@shared/models/security.models'; -import { forkJoin, Subject } from 'rxjs'; +import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; import { DomainSchema, domainSchemaTranslations, } from '@shared/models/oauth2.models'; import { WINDOW } from '@core/services/window.service'; +import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'tb-mail-server', @@ -132,6 +133,7 @@ export class MailServerComponent extends PageComponent implements OnInit, OnDest private adminService: AdminService, private translate: TranslateService, private userPermissionsService: UserPermissionsService, + private route: ActivatedRoute, public fb: FormBuilder, @Inject(WINDOW) private window: Window) { super(store); @@ -141,40 +143,35 @@ export class MailServerComponent extends PageComponent implements OnInit, OnDest this.buildMailServerSettingsForm(); this.domainFormConfiguration(); - forkJoin({ - loginProcessingUrl: this.adminService.getLoginProcessingUrl(), - mailConfigTemplate: this.adminService.getMailConfigTemplate(), - adminSettings: this.adminService.getAdminSettings('mail') - }).subscribe((data) => { - this.loginProcessingUrl = data.loginProcessingUrl; - this.initTemplates(data.mailConfigTemplate); - this.adminSettings = data.adminSettings; - if (this.adminSettings.jsonValue && isString(this.adminSettings.jsonValue.enableTls)) { - this.adminSettings.jsonValue.enableTls = (this.adminSettings.jsonValue.enableTls as any) === 'true'; - } - if (!this.adminSettings.jsonValue.providerId) { - this.adminSettings.jsonValue.providerId = 'CUSTOM'; - } - this.mailSettings.reset(this.adminSettings.jsonValue, {emitEvent: false}); - if (this.isTenantAdmin()) { - this.mailSettings.get('useSystemMailSettings').setValue( - isDefined(this.adminSettings.jsonValue.useSystemMailSettings) ? - this.adminSettings.jsonValue.useSystemMailSettings : true, {emitEvent: false} - ); - } - this.updateValidators(); - this.enableTls(this.adminSettings.jsonValue.enableTls); - this.helpLink = this.templates.get(this.adminSettings.jsonValue.providerId)?.helpLink || null; - this.enableProxyChanged(); - if (this.adminSettings.jsonValue.enableOauth2) { - this.enableOauth2(!!this.adminSettings.jsonValue.enableOauth2); - this.enableProviderTenantIdChanged(this.adminSettings.jsonValue.providerId); - this.parseUrl(this.adminSettings.jsonValue.redirectUri); - this.mailSettings.get('redirectUri').patchValue(this.adminSettings.jsonValue.redirectUri, {emitEvent: false}); - } else { - this.mailSettings.get('enableOauth2').patchValue(false, {emitEvent: false}); - } - }) + const data = this.route.snapshot.data.mailServerSettings; + this.loginProcessingUrl = data.loginProcessingUrl; + this.initTemplates(data.mailConfigTemplate); + this.adminSettings = data.adminSettings; + if (this.adminSettings.jsonValue && isString(this.adminSettings.jsonValue.enableTls)) { + this.adminSettings.jsonValue.enableTls = (this.adminSettings.jsonValue.enableTls as any) === 'true'; + } + if (!this.adminSettings.jsonValue.providerId) { + this.adminSettings.jsonValue.providerId = 'CUSTOM'; + } + this.mailSettings.reset(this.adminSettings.jsonValue, {emitEvent: false}); + if (this.isTenantAdmin()) { + this.mailSettings.get('useSystemMailSettings').setValue( + isDefined(this.adminSettings.jsonValue.useSystemMailSettings) ? + this.adminSettings.jsonValue.useSystemMailSettings : true, {emitEvent: false} + ); + } + this.updateValidators(); + this.enableTls(this.adminSettings.jsonValue.enableTls); + this.helpLink = this.templates.get(this.adminSettings.jsonValue.providerId)?.helpLink || null; + this.enableProxyChanged(); + if (this.adminSettings.jsonValue.enableOauth2) { + this.enableOauth2(!!this.adminSettings.jsonValue.enableOauth2); + this.enableProviderTenantIdChanged(this.adminSettings.jsonValue.providerId); + this.parseUrl(this.adminSettings.jsonValue.redirectUri); + this.mailSettings.get('redirectUri').patchValue(this.adminSettings.jsonValue.redirectUri, {emitEvent: false}); + } else { + this.mailSettings.get('enableOauth2').patchValue(false, {emitEvent: false}); + } } ngOnDestroy() { diff --git a/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.ts b/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.ts index 1a89a7a6b4..ae7eea5fe2 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.ts @@ -19,6 +19,7 @@ import { getCurrentAuthUser } from '@core/auth/auth.selectors'; import { Operation, Resource } from '@shared/models/security.models'; import { UserPermissionsService } from '@core/http/user-permissions.service'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; +import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'tb-sms-provider', @@ -42,30 +43,17 @@ export class SmsProviderComponent extends PageComponent implements HasConfirmFor private notificationService: NotificationService, private dialog: MatDialog, private userPermissionsService: UserPermissionsService, + private route: ActivatedRoute, public fb: FormBuilder, private destroyRef: DestroyRef) { super(store); this.buildSmsProviderForm(); this.buildGeneralServerSettingsForm(); - this.notificationService.getNotificationSettings().subscribe( - (settings) => { - this.notificationSettings = settings; - this.setNotificationSettings(this.notificationSettings); - } - ); - this.adminService.getAdminSettings('sms', false, {ignoreErrors: true}).subscribe({ - next: adminSettings => { - this.adminSettings = adminSettings; - this.setSmsProviderSettings(this.adminSettings.jsonValue); - }, - error: () => { - this.adminSettings = { - key: 'sms', - jsonValue: null - }; - this.setSmsProviderSettings(this.adminSettings.jsonValue); - } - }); + const data = this.route.snapshot.data.notificationsSettings; + this.notificationSettings = data.notificationSettings; + this.setNotificationSettings(this.notificationSettings); + this.adminSettings = data.smsProviderSettings; + this.setSmsProviderSettings(this.adminSettings.jsonValue); } private setSmsProviderSettings(smsProviderConfiguration: SmsProviderConfiguration) { @@ -193,7 +181,9 @@ export class SmsProviderComponent extends PageComponent implements HasConfirmFor if(this.readonly) { this.notificationSettingsForm.disable({emitEvent: false}); } else { - this.isLoading$.subscribe((isLoading) => { + this.isLoading$.pipe( + takeUntilDestroyed(this.destroyRef) + ).subscribe((isLoading) => { if (isLoading) { this.notificationSettingsForm.disable({emitEvent: false}); } else { diff --git a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings-routing.module.ts b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings-routing.module.ts index bdb2855036..47bd8eebb0 100644 --- a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings-routing.module.ts @@ -1,13 +1,36 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 -import { NgModule } from '@angular/core'; -import { RouterModule, Routes } from '@angular/router'; +import { inject, NgModule } from '@angular/core'; +import { ActivatedRouteSnapshot, ResolveFn, RouterModule, RouterStateSnapshot, Routes } from '@angular/router'; import { Authority } from '@shared/models/authority.enum'; import { MenuId } from '@core/services/menu.models'; import { MobileQrCodeWidgetSettingsComponent } from '@home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component'; import { ConfirmOnExitGuard } from '@core/guards/confirm-on-exit.guard'; +import { forkJoin, of } from 'rxjs'; +import { Store } from '@ngrx/store'; +import { AppState } from '@core/core.state'; +import { getCurrentAuthUser } from '@core/auth/auth.selectors'; +import { MobileApplicationService } from '@core/http/mobile-application.service'; +import { WhiteLabelingService } from '@core/http/white-labeling.service'; +import { QrCodeSettings } from '@shared/models/mobile-app.models'; +import { LoginWhiteLabelingParams } from '@shared/models/white-labeling.models'; + +export const qrCodeWidgetSettingsResolver: ResolveFn<{ + mobileAppSettings: QrCodeSettings; + loginWhiteLabelParams: LoginWhiteLabelingParams; +}> = ( + route: ActivatedRouteSnapshot, + state: RouterStateSnapshot, + store = inject(Store), + mobileAppService = inject(MobileApplicationService), + wl = inject(WhiteLabelingService) +) => forkJoin({ + mobileAppSettings: mobileAppService.getMobileAppSettings(), + loginWhiteLabelParams: getCurrentAuthUser(store).authority === Authority.TENANT_ADMIN ? + wl.getCurrentLoginWhiteLabelParams() : of(null as LoginWhiteLabelingParams) +}); export const qrCodeWidgetRoutes: Routes = [ { @@ -20,6 +43,9 @@ export const qrCodeWidgetRoutes: Routes = [ breadcrumb: { menuId: MenuId.mobile_qr_code_widget } + }, + resolve: { + qrCodeWidgetSettings: qrCodeWidgetSettingsResolver } } ]; diff --git a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts index a0cc535039..8fc77b3bce 100644 --- a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts +++ b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts @@ -16,7 +16,7 @@ import { Authority } from '@shared/models/authority.enum'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { Operation, Resource } from '@shared/models/security.models'; import { UserPermissionsService } from '@core/http/user-permissions.service'; -import { WhiteLabelingService } from '@core/http/white-labeling.service'; +import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'tb-mobile-qr-code-widget', @@ -55,15 +55,8 @@ export class MobileQrCodeWidgetSettingsComponent extends PageComponent implement private mobileAppService: MobileApplicationService, private fb: FormBuilder, private userPermissionsService: UserPermissionsService, - private wl: WhiteLabelingService) { + private route: ActivatedRoute) { super(store); - this.mobileAppService.getMobileAppSettings() - .subscribe(settings => this.processMobileAppSettings(settings)); - - if(this.isTenantAdmin()) { - this.wl.getCurrentLoginWhiteLabelParams().subscribe(value => this.setBaseURL = !!value.baseUrl); - } - if (this.readonly) { this.mobileAppSettingsForm.disable() } else { @@ -142,6 +135,12 @@ export class MobileQrCodeWidgetSettingsComponent extends PageComponent implement } }); } + + const data = this.route.snapshot.data.qrCodeWidgetSettings; + if (this.isTenantAdmin()) { + this.setBaseURL = !!data.loginWhiteLabelParams.baseUrl; + } + this.processMobileAppSettings(data.mobileAppSettings); } public isTenantAdmin(): boolean { From 12a3a0ea36431de9a30aea1f42c6b4bf518d06e3 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 11 Nov 2026 16:26:49 +0100 Subject: [PATCH 523/559] Unified copy button styling across the platform (#16442) * Unified copy button styling across the platform * Fixed headers * PR comments fixes * Reverted license headers of files without changes --------- Co-authored-by: Vladyslav_Prykhodko --- .../attribute/attribute-table.component.html | 4 ++-- .../home/components/event/event-table-config.ts | 12 ++++-------- .../chirp-stack-integration-form.component.html | 2 +- .../coap-integration-form.component.html | 4 ++-- .../http-integration-form.component.html | 2 +- .../kpn-integration-form.component.html | 2 +- .../loriot-integration-form.component.html | 2 +- .../particle-integration-form.component.html | 2 +- .../thing-park-integration-form.component.html | 2 +- .../relation/relation-table.component.html | 2 +- .../vc/entity-versions-table.component.html | 3 +-- .../wizard/integration-wizard-dialog.component.html | 4 ++-- .../home/pages/admin/mail-server.component.html | 1 - .../pages/admin/oauth2/domains/domain.component.html | 4 ++-- .../translation-map-table.component.html | 4 ++-- .../pages/integration/integration.component.html | 4 ++-- .../applications/mobile-app-table-config.resolver.ts | 6 ++---- .../ota-update/ota-update-table-config.resolve.ts | 6 ++---- .../pages/user/activation-link-dialog.component.html | 1 - .../components/button/copy-button.component.scss | 2 +- 20 files changed, 29 insertions(+), 40 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html index be3791caa0..4312b71358 100644 --- a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html +++ b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html @@ -179,7 +179,7 @@ tooltipText="{{ 'attribute.copy-key' | translate }}" tooltipPosition="above" icon="content_copy" - [style]="{padding: '4px', 'font-size': '16px', color: 'rgba(0,0,0,.87)'}" + [style]="{padding: '4px', 'font-size': '16px'}" > @@ -201,7 +201,7 @@ tooltipText="{{ 'attribute.copy-value' | translate }}" tooltipPosition="above" icon="content_copy" - [style]="{padding: '4px', 'font-size': '16px', color: 'rgba(0,0,0,.87)'}" + [style]="{padding: '4px', 'font-size': '16px'}" > } diff --git a/ui-ngx/src/app/modules/home/components/event/event-table-config.ts b/ui-ngx/src/app/modules/home/components/event/event-table-config.ts index 5cc8193ae0..a0d1067434 100644 --- a/ui-ngx/src/app/modules/home/components/event/event-table-config.ts +++ b/ui-ngx/src/app/modules/home/components/event/event-table-config.ts @@ -344,8 +344,7 @@ export class EventTableConfig extends EntityTableConfig { icon: 'content_paste', style: { padding: '4px', - 'font-size': '16px', - color: 'rgba(0,0,0,.87)' + 'font-size': '16px' }, isEnabled: () => true, onAction: ($event, entity) => entity.body.entityId, @@ -362,8 +361,7 @@ export class EventTableConfig extends EntityTableConfig { icon: 'content_paste', style: { padding: '4px', - 'font-size': '16px', - color: 'rgba(0,0,0,.87)' + 'font-size': '16px' }, isEnabled: () => true, onAction: ($event, entity) => entity.body.msgId, @@ -449,8 +447,7 @@ export class EventTableConfig extends EntityTableConfig { icon: 'content_copy', style: { padding: '4px', - 'font-size': '16px', - color: 'rgba(0,0,0,.87)' + 'font-size': '16px' }, isEnabled: () => true, onAction: ($event, entity) => entity.body.entityId, @@ -469,8 +466,7 @@ export class EventTableConfig extends EntityTableConfig { icon: 'content_copy', style: { padding: '4px', - 'font-size': '16px', - color: 'rgba(0,0,0,.87)' + 'font-size': '16px' }, isEnabled: (entity) => !!entity.body.msgId, onAction: (_, entity) => entity.body.msgId, diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html index c0fdcaf92a..6f891a232d 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html @@ -24,7 +24,7 @@ integration.http-endpoint -
    From 139d398168c4399bf2dc0cb58af4ea73c221fa4d Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 12 Nov 2026 09:24:45 +0100 Subject: [PATCH 541/559] Fix license header in EdgeEntityTenantChecker --- .../server/service/edge/EdgeEntityTenantChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeEntityTenantChecker.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeEntityTenantChecker.java index d497fede3e..5d3397a509 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeEntityTenantChecker.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeEntityTenantChecker.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge; From 5fd52977b374c10fdbf8808e03d48b8b58381074 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Thu, 12 Nov 2026 11:24:04 +0200 Subject: [PATCH 542/559] IoT Hub device packages: the entities a package took as they were, the kept entities and the integration metadata are read in the tenant --- .../service/iot_hub/DefaultIotHubService.java | 11 +++- .../iot_hub/DefaultIotHubServiceTest.java | 66 +++++++++++++++++++ 2 files changed, 74 insertions(+), 3 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 3f880a8300..fa92a2807d 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -779,8 +779,8 @@ public class DefaultIotHubService implements IotHubService { return; } try { - Integration integration = integrationService.findIntegrationById(tenantId, new IntegrationId(entityId.getId())); - if (integration == null || !(integration.getConfiguration() != null + // Only an integration of this tenant: the id comes from the stored descriptor + if (!(findDevicePackageEntity(tenantId, entityId) instanceof Integration integration) || !(integration.getConfiguration() != null && integration.getConfiguration().get("metadata") instanceof ObjectNode metadata) || keys.stream().noneMatch(metadata::has)) { return; @@ -826,7 +826,9 @@ public class DefaultIotHubService implements IotHubService { Set usedBy = usedByOtherPackages.get(entityId.getId()); boolean taken = usedExisting.contains(entityId.getId()); if (usedBy != null || taken) { - kept.add(new InstalledItemKeptEntities.KeptEntity(entityId, entityService.fetchEntityName(tenantId, entityId).orElse(null))); + String name = findDevicePackageEntity(tenantId, entityId) != null + ? entityService.fetchEntityName(tenantId, entityId).orElse(null) : null; + kept.add(new InstalledItemKeptEntities.KeptEntity(entityId, name)); } if (usedBy != null) { usedByItems.addAll(usedBy); @@ -881,6 +883,9 @@ public class DefaultIotHubService implements IotHubService { if (descriptor.getDashboardId() != null) { entityIds.add(descriptor.getDashboardId()); } + if (descriptor.getUsedExistingEntityIds() != null) { + entityIds.addAll(descriptor.getUsedExistingEntityIds()); + } for (EntityId entityId : entityIds) { if (entityId == null || findDevicePackageEntity(tenantId, entityId) == null) { throw new IllegalArgumentException("Device package entity not found: " + entityId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 5812587b58..f5a8002c26 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -618,6 +618,12 @@ class DefaultIotHubServiceTest { when(iotHubInstalledItemService.findById(tenantId, checked.getId())).thenReturn(checked); when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) .thenReturn(new PageData<>(List.of(checked, first, second, unrelated), 1, 4, false)); + DeviceProfile sharedProfile = new DeviceProfile(sharedProfileId); + sharedProfile.setTenantId(tenantId); + when(deviceProfileService.findDeviceProfileById(tenantId, sharedProfileId)).thenReturn(sharedProfile); + Dashboard sharedDashboard = new Dashboard(sharedDashboardId); + sharedDashboard.setTenantId(tenantId); + when(dashboardService.findDashboardById(tenantId, sharedDashboardId)).thenReturn(sharedDashboard); when(entityService.fetchEntityName(tenantId, sharedProfileId)).thenReturn(Optional.of("Shared profile")); when(entityService.fetchEntityName(tenantId, sharedDashboardId)).thenReturn(Optional.of("Shared dashboard")); @@ -658,6 +664,9 @@ class DefaultIotHubServiceTest { when(iotHubInstalledItemService.findById(tenantId, checked.getId())).thenReturn(checked); when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) .thenReturn(new PageData<>(List.of(checked), 1, 1, false)); + Dashboard usersDashboard = new Dashboard(usersDashboardId); + usersDashboard.setTenantId(tenantId); + when(dashboardService.findDashboardById(tenantId, usersDashboardId)).thenReturn(usersDashboard); when(entityService.fetchEntityName(tenantId, usersDashboardId)).thenReturn(Optional.of("My dashboard")); InstalledItemKeptEntities kept = service.findKeptEntities(tenantId, checked.getId()); @@ -843,4 +852,61 @@ class DefaultIotHubServiceTest { verify(iotHubInstalledItemService).deleteById(tenantId, new IotHubInstalledItemId(id)); } + @Test + void registerDeviceInstall_usedExistingEntityOfAnotherTenant_rejectedAndNotSaved() { + mockTenant(); + String versionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(versionId)) + .thenReturn(version(versionId, UUID.randomUUID().toString(), "DEVICE", "Pkg", "1.0")); + Device knownDevice = device(tenantId); + when(deviceService.findDeviceById(tenantId, knownDevice.getId())).thenReturn(knownDevice); + Dashboard otherTenantDashboard = dashboard(TenantId.fromUUID(UUID.randomUUID())); + when(dashboardService.findDashboardById(tenantId, otherTenantDashboard.getId())).thenReturn(otherTenantDashboard); + DeviceInstalledItemDescriptor descriptor = devicePackageDescriptor(knownDevice.getId()); + descriptor.setUsedExistingEntityIds(List.of(otherTenantDashboard.getId())); + + InstallItemVersionResult result = service.registerDeviceInstall(user, versionId, descriptor); + + assertThat(result.isSuccess()).isFalse(); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void deleteInstalledItem_devicePackage_leavesTheIntegrationOfAnotherTenantAsItIs() { + mockTenant(); + IntegrationId integrationId = new IntegrationId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(integrationId); + setIntegrationState(deleted, integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + ((DeviceInstalledItemDescriptor) deleted.getDescriptor()).setUsedExistingEntityIds(List.of(integrationId)); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted), 1, 1, false)); + Integration otherTenantIntegration = integration(integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + otherTenantIntegration.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + when(integrationService.findIntegrationById(tenantId, integrationId)).thenReturn(otherTenantIntegration); + + service.deleteInstalledItem(user, deleted.getId()); + + verify(integrationService, never()).saveIntegration(any()); + verify(integrationService, never()).deleteIntegration(any(), any()); + } + + @Test + void findKeptEntities_devicePackage_namesNoEntityOfAnotherTenant() { + DashboardId otherTenantDashboardId = new DashboardId(UUID.randomUUID()); + IotHubInstalledItem checked = devicePackage(new DeviceId(UUID.randomUUID()), otherTenantDashboardId); + ((DeviceInstalledItemDescriptor) checked.getDescriptor()).setUsedExistingEntityIds(List.of(otherTenantDashboardId)); + when(iotHubInstalledItemService.findById(tenantId, checked.getId())).thenReturn(checked); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(checked), 1, 1, false)); + Dashboard otherTenantDashboard = new Dashboard(otherTenantDashboardId); + otherTenantDashboard.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + when(dashboardService.findDashboardById(tenantId, otherTenantDashboardId)).thenReturn(otherTenantDashboard); + + InstalledItemKeptEntities kept = service.findKeptEntities(tenantId, checked.getId()); + + assertThat(kept.getEntities()).containsExactly(new InstalledItemKeptEntities.KeptEntity(otherTenantDashboardId, null)); + verify(entityService, never()).fetchEntityName(any(), any()); + } + } From 3cfc28863539d8edc290f44a666398b87d09f15a Mon Sep 17 00:00:00 2001 From: dshvaika Date: Thu, 12 Nov 2026 11:36:49 +0200 Subject: [PATCH 543/559] IoT Hub device packages: the entity lookup checks the tenant through isOwnedBy --- .../server/service/iot_hub/DefaultIotHubService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index a0b12cb11e..f9a0664989 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -885,7 +885,7 @@ public class DefaultIotHubService implements IotHubService { case RULE_CHAIN -> ruleChainService.findRuleChainById(tenantId, new RuleChainId(entityId.getId())); default -> null; }; - return entity != null && tenantId.equals(entity.getTenantId()) ? entity : null; + return isOwnedBy(entity, tenantId) ? entity : null; } private void deleteDevicePackageEntity(TenantId tenantId, EntityId entityId, SecurityUser user) { From 76e92bbd54ea016ed3586fcd8b710a16b00fc74e Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 12 Nov 2026 10:51:54 +0100 Subject: [PATCH 544/559] Fix customer access flag lookup in BaseAiModelProcessor --- .../service/edge/rpc/processor/ai/BaseAiModelProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index b29c715f64..3ae2959f2b 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -47,7 +47,7 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { aiModel.setId(aiModelId); // edge versions without customer access support do not send this field if (!aiModelJson.has("customerAccessEnabled")) { - aiModel.setCustomerAccessEnabled(aiModelById.get().isCustomerAccessEnabled()); + aiModel.setCustomerAccessEnabled(aiModelById.isCustomerAccessEnabled()); } } From 55bea201b94c5353a057ce6c6c9beb2742673240 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 10:55:22 +0100 Subject: [PATCH 545/559] Merge pull request #16626 from mtsymbarov-del/fix/rpc-control-widgets-duplicate-error-toast Fixed RPC errors shown twice in RPC control widgets --- .../json/system/widget_types/basic_gpio_control.json | 4 ++-- .../data/json/system/widget_types/led_indicator.json | 2 +- .../system/widget_types/raspberry_pi_gpio_control.json | 4 ++-- .../data/json/system/widget_types/round_switch.json | 2 +- .../json/system/widget_types/slide_toggle_control.json | 2 +- .../data/json/system/widget_types/switch_control.json | 2 +- .../widget/lib/rpc/led-indicator.component.ts | 2 +- .../widget/lib/rpc/round-switch.component.ts | 2 +- .../home/components/widget/lib/rpc/switch.component.ts | 10 +--------- 9 files changed, 11 insertions(+), 19 deletions(-) diff --git a/application/src/main/data/json/system/widget_types/basic_gpio_control.json b/application/src/main/data/json/system/widget_types/basic_gpio_control.json index 1b7deb52cf..4178099658 100644 --- a/application/src/main/data/json/system/widget_types/basic_gpio_control.json +++ b/application/src/main/data/json/system/widget_types/basic_gpio_control.json @@ -9,9 +9,9 @@ "sizeX": 4, "sizeY": 2, "resources": [], - "templateHtml": "
    \n
    \n
    \n
    \n {{ cell.label }}\n
    \n {{cell.pin}}\n \n \n \n \n {{cell.pin}}\n
    \n {{ cell.label }}\n
    \n
    \n \n \n \n
    \n
    \n
    \n {{rpcErrorText}}\n \n
    ", + "templateHtml": "
    \n
    \n
    \n
    \n {{ cell.label }}\n
    \n {{cell.pin}}\n \n \n \n \n {{cell.pin}}\n
    \n {{ cell.label }}\n
    \n
    \n \n \n \n
    \n
    \n
    \n {{ rpcErrorMessage() }}\n \n
    ", "templateCss": ".error {\n font-size: 14px !important;\n color: maroon;/*rgb(250,250,250);*/\n background-color: transparent;\n padding: 6px;\n}\n\n.error span {\n margin: auto;\n}\n\n.gpio-panel {\n padding-top: 10px;\n white-space: nowrap;\n}\n\n.gpio-panel section.flex-1 {\n min-width: 0px;\n}\n\n\n.switch-panel {\n margin: 0;\n height: 32px;\n width: 66px;\n min-width: 66px;\n}\n\n.switch-panel mat-slide-toggle {\n margin: 0;\n width: 36px;\n min-width: 36px;\n}\n\n.switch-panel.col-0 mat-slide-toggle {\n margin-left: 8px;\n margin-right: 4px;\n}\n\n.switch-panel.col-1 mat-slide-toggle {\n margin-left: 4px;\n margin-right: 8px;\n}\n\n.gpio-row {\n height: 32px;\n}\n\n.pin {\n margin-top: auto;\n margin-bottom: auto;\n color: white;\n font-size: 12px;\n width: 16px;\n min-width: 16px;\n}\n\n.switch-panel.col-0 .pin {\n margin-left: auto;\n padding-left: 2px;\n text-align: right;\n}\n\n.switch-panel.col-1 .pin {\n margin-right: auto;\n\n text-align: left;\n}\n\n.gpio-left-label {\n margin-right: 8px;\n}\n\n.gpio-right-label {\n margin-left: 8px;\n}", - "controllerScript": "var namespace;\nvar cssParser = new cssjs();\n\nself.onInit = function() {\n var utils = self.ctx.$injector.get(self.ctx.servicesMap.get('utils'));\n namespace = 'gpio-control-' + utils.guid();\n cssParser.testMode = false;\n cssParser.cssPreviewNamespace = namespace;\n self.ctx.$container.addClass(namespace);\n self.ctx.ngZone.run(function() {\n init(); \n });\n}\n\nfunction init() {\n \n var i, gpio;\n var scope = self.ctx.$scope;\n var settings = self.ctx.settings;\n scope.gpioList = [];\n for (var g = 0; g < settings.gpioList.length; g++) {\n gpio = settings.gpioList[g];\n scope.gpioList.push(\n {\n row: gpio.row,\n col: gpio.col,\n pin: gpio.pin,\n label: gpio.label,\n enabled: false\n }\n );\n }\n\n scope.requestTimeout = settings.requestTimeout || 1000;\n\n scope.switchPanelBackgroundColor = settings.switchPanelBackgroundColor || tinycolor('green').lighten(2).toRgbString();\n\n scope.gpioStatusRequest = {\n method: \"getGpioStatus\",\n paramsBody: \"{}\"\n };\n \n if (settings.gpioStatusRequest) {\n scope.gpioStatusRequest.method = settings.gpioStatusRequest.method || scope.gpioStatusRequest.method;\n scope.gpioStatusRequest.paramsBody = settings.gpioStatusRequest.paramsBody || scope.gpioStatusRequest.paramsBody;\n }\n \n scope.gpioStatusChangeRequest = {\n method: \"setGpioStatus\",\n paramsBody: \"{\\n \\\"pin\\\": \\\"{$pin}\\\",\\n \\\"enabled\\\": \\\"{$enabled}\\\"\\n}\"\n };\n \n if (settings.gpioStatusChangeRequest) {\n scope.gpioStatusChangeRequest.method = settings.gpioStatusChangeRequest.method || scope.gpioStatusChangeRequest.method;\n scope.gpioStatusChangeRequest.paramsBody = settings.gpioStatusChangeRequest.paramsBody || scope.gpioStatusChangeRequest.paramsBody;\n }\n \n scope.parseGpioStatusFunction = \"return body[pin] === true;\";\n \n if (settings.parseGpioStatusFunction && settings.parseGpioStatusFunction.length > 0) {\n scope.parseGpioStatusFunction = settings.parseGpioStatusFunction;\n }\n \n scope.parseGpioStatusFunction = new Function(\"body, pin\", scope.parseGpioStatusFunction);\n \n function requestGpioStatus() {\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusRequest.method, \n scope.gpioStatusRequest.paramsBody, \n scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n for (var g = 0; g < scope.gpioList.length; g++) {\n var gpio = scope.gpioList[g];\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled; \n self.ctx.detectChanges();\n }\n }\n );\n }\n \n function changeGpioStatus(gpio) {\n var pin = gpio.pin + '';\n var enabled = !gpio.enabled;\n enabled = enabled === true ? 'true' : 'false';\n var paramsBody = scope.gpioStatusChangeRequest.paramsBody;\n var requestBody = JSON.parse(paramsBody.replace(\"\\\"{$pin}\\\"\", pin).replace(\"\\\"{$enabled}\\\"\", enabled));\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusChangeRequest.method, \n requestBody, scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled;\n self.ctx.detectChanges();\n }\n );\n }\n \n scope.gpioCells = {};\n var rowCount = 0;\n for (i = 0; i < scope.gpioList.length; i++) {\n gpio = scope.gpioList[i];\n scope.gpioCells[gpio.row+'_'+gpio.col] = gpio;\n rowCount = Math.max(rowCount, gpio.row+1);\n }\n \n scope.prefferedRowHeight = 32;\n scope.rows = [];\n for (i = 0; i < rowCount; i++) {\n var row = [];\n for (var c =0; c<2;c++) {\n if (scope.gpioCells[i+'_'+c]) {\n row[c] = scope.gpioCells[i+'_'+c];\n } else {\n row[c] = null;\n }\n }\n scope.rows.push(row);\n }\n\n scope.gpioClick = function($event, gpio) {\n if (scope.rpcEnabled && !scope.executingRpcRequest) {\n changeGpioStatus(gpio);\n }\n };\n \n scope.gpioToggleChange = function($event, gpio) {\n gpio.enabled = !$event.checked;\n $event.source.toggle();\n self.ctx.detectChanges();\n }\n \n if (scope.rpcEnabled) {\n requestGpioStatus(); \n }\n \n self.onResize();\n}\n\nself.onResize = function() {\n var scope = self.ctx.$scope;\n var rowCount = scope.rows.length;\n var prefferedRowHeight = (self.ctx.height - 35)/rowCount;\n prefferedRowHeight = Math.min(32, prefferedRowHeight);\n prefferedRowHeight = Math.max(12, prefferedRowHeight);\n scope.prefferedRowHeight = prefferedRowHeight;\n var ratio = prefferedRowHeight/32;\n \n var css = '.mat-slide-toggle .mat-slide-toggle-bar {\\n' +\n ' height: ' + 14*ratio+'px;\\n'+\n ' width: ' + 36*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb-container {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-ripple {\\n' +\n ' height: ' + 40*ratio+'px;\\n'+\n ' width: ' + 40*ratio+'px;\\n'+\n ' top: calc(50% - '+20*ratio+'px);\\n'+\n ' left: calc(50% - '+20*ratio+'px);\\n'+\n '}\\n';\n css += '.gpio-left-label, .gpio-right-label {\\n' +\n ' font-size: ' + 16*ratio+'px;\\n'+\n '}\\n';\n var pinsFontSize = Math.max(9, 12*ratio);\n css += '.pin {\\n' +\n ' font-size: ' + pinsFontSize+'px;\\n'+\n '}\\n';\n\n cssParser.createStyleElement(namespace, css);\n \n self.ctx.detectChanges();\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "var namespace;\nvar cssParser = new cssjs();\n\nself.onInit = function() {\n var utils = self.ctx.$injector.get(self.ctx.servicesMap.get('utils'));\n namespace = 'gpio-control-' + utils.guid();\n cssParser.testMode = false;\n cssParser.cssPreviewNamespace = namespace;\n self.ctx.$container.addClass(namespace);\n self.ctx.ngZone.run(function() {\n init(); \n });\n}\n\nfunction init() {\n \n var i, gpio;\n var scope = self.ctx.$scope;\n var settings = self.ctx.settings;\n scope.gpioList = [];\n for (var g = 0; g < settings.gpioList.length; g++) {\n gpio = settings.gpioList[g];\n scope.gpioList.push(\n {\n row: gpio.row,\n col: gpio.col,\n pin: gpio.pin,\n label: gpio.label,\n enabled: false\n }\n );\n }\n\n scope.requestTimeout = settings.requestTimeout || 1000;\n\n scope.switchPanelBackgroundColor = settings.switchPanelBackgroundColor || tinycolor('green').lighten(2).toRgbString();\n\n scope.gpioStatusRequest = {\n method: \"getGpioStatus\",\n paramsBody: \"{}\"\n };\n \n if (settings.gpioStatusRequest) {\n scope.gpioStatusRequest.method = settings.gpioStatusRequest.method || scope.gpioStatusRequest.method;\n scope.gpioStatusRequest.paramsBody = settings.gpioStatusRequest.paramsBody || scope.gpioStatusRequest.paramsBody;\n }\n \n scope.gpioStatusChangeRequest = {\n method: \"setGpioStatus\",\n paramsBody: \"{\\n \\\"pin\\\": \\\"{$pin}\\\",\\n \\\"enabled\\\": \\\"{$enabled}\\\"\\n}\"\n };\n \n if (settings.gpioStatusChangeRequest) {\n scope.gpioStatusChangeRequest.method = settings.gpioStatusChangeRequest.method || scope.gpioStatusChangeRequest.method;\n scope.gpioStatusChangeRequest.paramsBody = settings.gpioStatusChangeRequest.paramsBody || scope.gpioStatusChangeRequest.paramsBody;\n }\n \n scope.parseGpioStatusFunction = \"return body[pin] === true;\";\n \n if (settings.parseGpioStatusFunction && settings.parseGpioStatusFunction.length > 0) {\n scope.parseGpioStatusFunction = settings.parseGpioStatusFunction;\n }\n \n scope.parseGpioStatusFunction = new Function(\"body, pin\", scope.parseGpioStatusFunction);\n \n function requestGpioStatus() {\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusRequest.method, \n scope.gpioStatusRequest.paramsBody, \n scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n for (var g = 0; g < scope.gpioList.length; g++) {\n var gpio = scope.gpioList[g];\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled; \n self.ctx.detectChanges();\n }\n }\n );\n }\n \n function changeGpioStatus(gpio) {\n var pin = gpio.pin + '';\n var enabled = !gpio.enabled;\n enabled = enabled === true ? 'true' : 'false';\n var paramsBody = scope.gpioStatusChangeRequest.paramsBody;\n var requestBody = JSON.parse(paramsBody.replace(\"\\\"{$pin}\\\"\", pin).replace(\"\\\"{$enabled}\\\"\", enabled));\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusChangeRequest.method, \n requestBody, scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled;\n self.ctx.detectChanges();\n }\n );\n }\n \n scope.gpioCells = {};\n var rowCount = 0;\n for (i = 0; i < scope.gpioList.length; i++) {\n gpio = scope.gpioList[i];\n scope.gpioCells[gpio.row+'_'+gpio.col] = gpio;\n rowCount = Math.max(rowCount, gpio.row+1);\n }\n \n scope.prefferedRowHeight = 32;\n scope.rows = [];\n for (i = 0; i < rowCount; i++) {\n var row = [];\n for (var c =0; c<2;c++) {\n if (scope.gpioCells[i+'_'+c]) {\n row[c] = scope.gpioCells[i+'_'+c];\n } else {\n row[c] = null;\n }\n }\n scope.rows.push(row);\n }\n\n scope.gpioClick = function($event, gpio) {\n if (scope.rpcEnabled && !scope.executingRpcRequest) {\n changeGpioStatus(gpio);\n }\n };\n \n scope.rpcErrorMessage = function() {\n return scope.rpcErrorText ? scope.rpcErrorText.replace(/<\\/?br\\s*\\/?>/gi, '. ') : '';\n };\n \n scope.gpioToggleChange = function($event, gpio) {\n gpio.enabled = !$event.checked;\n $event.source.toggle();\n self.ctx.detectChanges();\n }\n \n if (scope.rpcEnabled) {\n requestGpioStatus(); \n }\n \n self.onResize();\n}\n\nself.onResize = function() {\n var scope = self.ctx.$scope;\n var rowCount = scope.rows.length;\n var prefferedRowHeight = (self.ctx.height - 35)/rowCount;\n prefferedRowHeight = Math.min(32, prefferedRowHeight);\n prefferedRowHeight = Math.max(12, prefferedRowHeight);\n scope.prefferedRowHeight = prefferedRowHeight;\n var ratio = prefferedRowHeight/32;\n \n var css = '.mat-slide-toggle .mat-slide-toggle-bar {\\n' +\n ' height: ' + 14*ratio+'px;\\n'+\n ' width: ' + 36*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb-container {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-ripple {\\n' +\n ' height: ' + 40*ratio+'px;\\n'+\n ' width: ' + 40*ratio+'px;\\n'+\n ' top: calc(50% - '+20*ratio+'px);\\n'+\n ' left: calc(50% - '+20*ratio+'px);\\n'+\n '}\\n';\n css += '.gpio-left-label, .gpio-right-label {\\n' +\n ' font-size: ' + 16*ratio+'px;\\n'+\n '}\\n';\n var pinsFontSize = Math.max(9, 12*ratio);\n css += '.pin {\\n' +\n ' font-size: ' + pinsFontSize+'px;\\n'+\n '}\\n';\n\n cssParser.createStyleElement(namespace, css);\n \n self.ctx.detectChanges();\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "settingsSchema": "", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-gpio-control-widget-settings", diff --git a/application/src/main/data/json/system/widget_types/led_indicator.json b/application/src/main/data/json/system/widget_types/led_indicator.json index 88e845b646..c00a6032ba 100644 --- a/application/src/main/data/json/system/widget_types/led_indicator.json +++ b/application/src/main/data/json/system/widget_types/led_indicator.json @@ -11,7 +11,7 @@ "resources": [], "templateHtml": "", "templateCss": "", - "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-led-indicator-widget-settings", "defaultConfig": "{\"targetDeviceAliases\":[],\"showTitle\":false,\"backgroundColor\":\"#e6e7e8\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"requestTimeout\":500,\"initialValue\":false,\"title\":\"Led indicator\",\"ledColor\":\"#4caf50\",\"valueAttribute\":\"value\",\"retrieveValueMethod\":\"attribute\",\"parseValueFunction\":\"return data ? true : false;\",\"performCheckStatus\":true,\"checkStatusMethod\":\"checkStatus\"},\"title\":\"Led indicator\",\"dropShadow\":true,\"enableFullscreen\":false,\"widgetStyle\":{},\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"showLegend\":false,\"actions\":{},\"decimals\":2}" diff --git a/application/src/main/data/json/system/widget_types/raspberry_pi_gpio_control.json b/application/src/main/data/json/system/widget_types/raspberry_pi_gpio_control.json index 5312c55b7f..d5315e4868 100644 --- a/application/src/main/data/json/system/widget_types/raspberry_pi_gpio_control.json +++ b/application/src/main/data/json/system/widget_types/raspberry_pi_gpio_control.json @@ -9,9 +9,9 @@ "sizeX": 6, "sizeY": 10.5, "resources": [], - "templateHtml": "
    \n
    \n
    \n
    \n {{ cell.label }}\n
    \n {{cell.pin}}\n \n \n \n \n {{cell.pin}}\n
    \n {{ cell.label }}\n
    \n
    \n \n \n \n
    \n
    \n
    \n {{rpcErrorText}}\n \n
    ", + "templateHtml": "
    \n
    \n
    \n
    \n {{ cell.label }}\n
    \n {{cell.pin}}\n \n \n \n \n {{cell.pin}}\n
    \n {{ cell.label }}\n
    \n
    \n \n \n \n
    \n
    \n
    \n {{ rpcErrorMessage() }}\n \n
    ", "templateCss": ".error {\n font-size: 14px !important;\n color: maroon;/*rgb(250,250,250);*/\n background-color: transparent;\n padding: 6px;\n}\n\n.error span {\n margin: auto;\n}\n\n.gpio-panel {\n padding-top: 10px;\n white-space: nowrap;\n}\n\n.gpio-panel section.flex-1 {\n min-width: 0px;\n}\n\n\n.switch-panel {\n margin: 0;\n height: 32px;\n width: 66px;\n min-width: 66px;\n}\n\n.switch-panel mat-slide-toggle {\n margin: 0;\n width: 36px;\n min-width: 36px;\n}\n\n.switch-panel.col-0 mat-slide-toggle {\n margin-left: 8px;\n margin-right: 4px;\n}\n\n.switch-panel.col-1 mat-slide-toggle {\n margin-left: 4px;\n margin-right: 8px;\n}\n\n.gpio-row {\n height: 32px;\n}\n\n.pin {\n margin-top: auto;\n margin-bottom: auto;\n color: white;\n font-size: 12px;\n width: 16px;\n min-width: 16px;\n}\n\n.switch-panel.col-0 .pin {\n margin-left: auto;\n padding-left: 2px;\n text-align: right;\n}\n\n.switch-panel.col-1 .pin {\n margin-right: auto;\n\n text-align: left;\n}\n\n.gpio-left-label {\n margin-right: 8px;\n}\n\n.gpio-right-label {\n margin-left: 8px;\n}", - "controllerScript": "var namespace;\nvar cssParser = new cssjs();\n\nself.onInit = function() {\n var utils = self.ctx.$injector.get(self.ctx.servicesMap.get('utils'));\n namespace = 'gpio-control-' + utils.guid();\n cssParser.testMode = false;\n cssParser.cssPreviewNamespace = namespace;\n self.ctx.$container.addClass(namespace);\n self.ctx.ngZone.run(function() {\n init(); \n });\n}\n\nfunction init() {\n \n var i, gpio;\n var scope = self.ctx.$scope;\n var settings = self.ctx.settings;\n scope.gpioList = [];\n for (var g = 0; g < settings.gpioList.length; g++) {\n gpio = settings.gpioList[g];\n scope.gpioList.push(\n {\n row: gpio.row,\n col: gpio.col,\n pin: gpio.pin,\n label: gpio.label,\n enabled: false\n }\n );\n }\n\n scope.requestTimeout = settings.requestTimeout || 1000;\n\n scope.switchPanelBackgroundColor = settings.switchPanelBackgroundColor || tinycolor('green').lighten(2).toRgbString();\n\n scope.gpioStatusRequest = {\n method: \"getGpioStatus\",\n paramsBody: \"{}\"\n };\n \n if (settings.gpioStatusRequest) {\n scope.gpioStatusRequest.method = settings.gpioStatusRequest.method || scope.gpioStatusRequest.method;\n scope.gpioStatusRequest.paramsBody = settings.gpioStatusRequest.paramsBody || scope.gpioStatusRequest.paramsBody;\n }\n \n scope.gpioStatusChangeRequest = {\n method: \"setGpioStatus\",\n paramsBody: \"{\\n \\\"pin\\\": \\\"{$pin}\\\",\\n \\\"enabled\\\": \\\"{$enabled}\\\"\\n}\"\n };\n \n if (settings.gpioStatusChangeRequest) {\n scope.gpioStatusChangeRequest.method = settings.gpioStatusChangeRequest.method || scope.gpioStatusChangeRequest.method;\n scope.gpioStatusChangeRequest.paramsBody = settings.gpioStatusChangeRequest.paramsBody || scope.gpioStatusChangeRequest.paramsBody;\n }\n \n scope.parseGpioStatusFunction = \"return body[pin] === true;\";\n \n if (settings.parseGpioStatusFunction && settings.parseGpioStatusFunction.length > 0) {\n scope.parseGpioStatusFunction = settings.parseGpioStatusFunction;\n }\n \n scope.parseGpioStatusFunction = new Function(\"body, pin\", scope.parseGpioStatusFunction);\n \n function requestGpioStatus() {\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusRequest.method, \n scope.gpioStatusRequest.paramsBody, \n scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n for (var g = 0; g < scope.gpioList.length; g++) {\n var gpio = scope.gpioList[g];\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled; \n self.ctx.detectChanges();\n }\n }\n );\n }\n \n function changeGpioStatus(gpio) {\n var pin = gpio.pin + '';\n var enabled = !gpio.enabled;\n enabled = enabled === true ? 'true' : 'false';\n var paramsBody = scope.gpioStatusChangeRequest.paramsBody;\n var requestBody = JSON.parse(paramsBody.replace(\"\\\"{$pin}\\\"\", pin).replace(\"\\\"{$enabled}\\\"\", enabled));\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusChangeRequest.method, \n requestBody, scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled;\n self.ctx.detectChanges();\n }\n );\n }\n \n scope.gpioCells = {};\n var rowCount = 0;\n for (i = 0; i < scope.gpioList.length; i++) {\n gpio = scope.gpioList[i];\n scope.gpioCells[gpio.row+'_'+gpio.col] = gpio;\n rowCount = Math.max(rowCount, gpio.row+1);\n }\n \n scope.prefferedRowHeight = 32;\n scope.rows = [];\n for (i = 0; i < rowCount; i++) {\n var row = [];\n for (var c =0; c<2;c++) {\n if (scope.gpioCells[i+'_'+c]) {\n row[c] = scope.gpioCells[i+'_'+c];\n } else {\n row[c] = null;\n }\n }\n scope.rows.push(row);\n }\n\n scope.gpioClick = function($event, gpio) {\n if (scope.rpcEnabled && !scope.executingRpcRequest) {\n changeGpioStatus(gpio);\n }\n };\n \n scope.gpioToggleChange = function($event, gpio) {\n gpio.enabled = !$event.checked;\n $event.source.toggle();\n self.ctx.detectChanges();\n }\n \n if (scope.rpcEnabled) {\n requestGpioStatus(); \n }\n \n self.onResize();\n}\n\nself.onResize = function() {\n var scope = self.ctx.$scope;\n var rowCount = scope.rows.length;\n var prefferedRowHeight = (self.ctx.height - 35)/rowCount;\n prefferedRowHeight = Math.min(32, prefferedRowHeight);\n prefferedRowHeight = Math.max(12, prefferedRowHeight);\n scope.prefferedRowHeight = prefferedRowHeight;\n var ratio = prefferedRowHeight/32;\n \n var css = '.mat-slide-toggle .mat-slide-toggle-bar {\\n' +\n ' height: ' + 14*ratio+'px;\\n'+\n ' width: ' + 36*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb-container {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-ripple {\\n' +\n ' height: ' + 40*ratio+'px;\\n'+\n ' width: ' + 40*ratio+'px;\\n'+\n ' top: calc(50% - '+20*ratio+'px);\\n'+\n ' left: calc(50% - '+20*ratio+'px);\\n'+\n '}\\n';\n css += '.gpio-left-label, .gpio-right-label {\\n' +\n ' font-size: ' + 16*ratio+'px;\\n'+\n '}\\n';\n var pinsFontSize = Math.max(9, 12*ratio);\n css += '.pin {\\n' +\n ' font-size: ' + pinsFontSize+'px;\\n'+\n '}\\n';\n\n cssParser.createStyleElement(namespace, css);\n \n self.ctx.detectChanges();\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "var namespace;\nvar cssParser = new cssjs();\n\nself.onInit = function() {\n var utils = self.ctx.$injector.get(self.ctx.servicesMap.get('utils'));\n namespace = 'gpio-control-' + utils.guid();\n cssParser.testMode = false;\n cssParser.cssPreviewNamespace = namespace;\n self.ctx.$container.addClass(namespace);\n self.ctx.ngZone.run(function() {\n init(); \n });\n}\n\nfunction init() {\n \n var i, gpio;\n var scope = self.ctx.$scope;\n var settings = self.ctx.settings;\n scope.gpioList = [];\n for (var g = 0; g < settings.gpioList.length; g++) {\n gpio = settings.gpioList[g];\n scope.gpioList.push(\n {\n row: gpio.row,\n col: gpio.col,\n pin: gpio.pin,\n label: gpio.label,\n enabled: false\n }\n );\n }\n\n scope.requestTimeout = settings.requestTimeout || 1000;\n\n scope.switchPanelBackgroundColor = settings.switchPanelBackgroundColor || tinycolor('green').lighten(2).toRgbString();\n\n scope.gpioStatusRequest = {\n method: \"getGpioStatus\",\n paramsBody: \"{}\"\n };\n \n if (settings.gpioStatusRequest) {\n scope.gpioStatusRequest.method = settings.gpioStatusRequest.method || scope.gpioStatusRequest.method;\n scope.gpioStatusRequest.paramsBody = settings.gpioStatusRequest.paramsBody || scope.gpioStatusRequest.paramsBody;\n }\n \n scope.gpioStatusChangeRequest = {\n method: \"setGpioStatus\",\n paramsBody: \"{\\n \\\"pin\\\": \\\"{$pin}\\\",\\n \\\"enabled\\\": \\\"{$enabled}\\\"\\n}\"\n };\n \n if (settings.gpioStatusChangeRequest) {\n scope.gpioStatusChangeRequest.method = settings.gpioStatusChangeRequest.method || scope.gpioStatusChangeRequest.method;\n scope.gpioStatusChangeRequest.paramsBody = settings.gpioStatusChangeRequest.paramsBody || scope.gpioStatusChangeRequest.paramsBody;\n }\n \n scope.parseGpioStatusFunction = \"return body[pin] === true;\";\n \n if (settings.parseGpioStatusFunction && settings.parseGpioStatusFunction.length > 0) {\n scope.parseGpioStatusFunction = settings.parseGpioStatusFunction;\n }\n \n scope.parseGpioStatusFunction = new Function(\"body, pin\", scope.parseGpioStatusFunction);\n \n function requestGpioStatus() {\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusRequest.method, \n scope.gpioStatusRequest.paramsBody, \n scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n for (var g = 0; g < scope.gpioList.length; g++) {\n var gpio = scope.gpioList[g];\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled; \n self.ctx.detectChanges();\n }\n }\n );\n }\n \n function changeGpioStatus(gpio) {\n var pin = gpio.pin + '';\n var enabled = !gpio.enabled;\n enabled = enabled === true ? 'true' : 'false';\n var paramsBody = scope.gpioStatusChangeRequest.paramsBody;\n var requestBody = JSON.parse(paramsBody.replace(\"\\\"{$pin}\\\"\", pin).replace(\"\\\"{$enabled}\\\"\", enabled));\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusChangeRequest.method, \n requestBody, scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled;\n self.ctx.detectChanges();\n }\n );\n }\n \n scope.gpioCells = {};\n var rowCount = 0;\n for (i = 0; i < scope.gpioList.length; i++) {\n gpio = scope.gpioList[i];\n scope.gpioCells[gpio.row+'_'+gpio.col] = gpio;\n rowCount = Math.max(rowCount, gpio.row+1);\n }\n \n scope.prefferedRowHeight = 32;\n scope.rows = [];\n for (i = 0; i < rowCount; i++) {\n var row = [];\n for (var c =0; c<2;c++) {\n if (scope.gpioCells[i+'_'+c]) {\n row[c] = scope.gpioCells[i+'_'+c];\n } else {\n row[c] = null;\n }\n }\n scope.rows.push(row);\n }\n\n scope.gpioClick = function($event, gpio) {\n if (scope.rpcEnabled && !scope.executingRpcRequest) {\n changeGpioStatus(gpio);\n }\n };\n \n scope.rpcErrorMessage = function() {\n return scope.rpcErrorText ? scope.rpcErrorText.replace(/<\\/?br\\s*\\/?>/gi, '. ') : '';\n };\n \n scope.gpioToggleChange = function($event, gpio) {\n gpio.enabled = !$event.checked;\n $event.source.toggle();\n self.ctx.detectChanges();\n }\n \n if (scope.rpcEnabled) {\n requestGpioStatus(); \n }\n \n self.onResize();\n}\n\nself.onResize = function() {\n var scope = self.ctx.$scope;\n var rowCount = scope.rows.length;\n var prefferedRowHeight = (self.ctx.height - 35)/rowCount;\n prefferedRowHeight = Math.min(32, prefferedRowHeight);\n prefferedRowHeight = Math.max(12, prefferedRowHeight);\n scope.prefferedRowHeight = prefferedRowHeight;\n var ratio = prefferedRowHeight/32;\n \n var css = '.mat-slide-toggle .mat-slide-toggle-bar {\\n' +\n ' height: ' + 14*ratio+'px;\\n'+\n ' width: ' + 36*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb-container {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-ripple {\\n' +\n ' height: ' + 40*ratio+'px;\\n'+\n ' width: ' + 40*ratio+'px;\\n'+\n ' top: calc(50% - '+20*ratio+'px);\\n'+\n ' left: calc(50% - '+20*ratio+'px);\\n'+\n '}\\n';\n css += '.gpio-left-label, .gpio-right-label {\\n' +\n ' font-size: ' + 16*ratio+'px;\\n'+\n '}\\n';\n var pinsFontSize = Math.max(9, 12*ratio);\n css += '.pin {\\n' +\n ' font-size: ' + pinsFontSize+'px;\\n'+\n '}\\n';\n\n cssParser.createStyleElement(namespace, css);\n \n self.ctx.detectChanges();\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "settingsSchema": "", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-gpio-control-widget-settings", diff --git a/application/src/main/data/json/system/widget_types/round_switch.json b/application/src/main/data/json/system/widget_types/round_switch.json index bb826771ff..cad0f8ec3c 100644 --- a/application/src/main/data/json/system/widget_types/round_switch.json +++ b/application/src/main/data/json/system/widget_types/round_switch.json @@ -11,7 +11,7 @@ "resources": [], "templateHtml": "", "templateCss": "", - "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-round-switch-widget-settings", "defaultConfig": "{\"targetDeviceAliases\":[],\"showTitle\":false,\"backgroundColor\":\"#e6e7e8\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"requestTimeout\":500,\"initialValue\":false,\"getValueMethod\":\"getValue\",\"setValueMethod\":\"setValue\",\"title\":\"Round switch\",\"retrieveValueMethod\":\"rpc\",\"valueKey\":\"value\",\"parseValueFunction\":\"return data ? true : false;\",\"convertValueFunction\":\"return value;\"},\"title\":\"Round switch\",\"dropShadow\":true,\"enableFullscreen\":false,\"widgetStyle\":{},\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"showLegend\":false,\"actions\":{},\"decimals\":2}" diff --git a/application/src/main/data/json/system/widget_types/slide_toggle_control.json b/application/src/main/data/json/system/widget_types/slide_toggle_control.json index b614af2aeb..9fabfc39d0 100644 --- a/application/src/main/data/json/system/widget_types/slide_toggle_control.json +++ b/application/src/main/data/json/system/widget_types/slide_toggle_control.json @@ -11,7 +11,7 @@ "resources": [], "templateHtml": "", "templateCss": "", - "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-slide-toggle-widget-settings", "defaultConfig": "{\"targetDeviceAliases\":[],\"showTitle\":false,\"backgroundColor\":\"#ffffff\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"requestTimeout\":500,\"initialValue\":false,\"getValueMethod\":\"getValue\",\"setValueMethod\":\"setValue\",\"title\":\"Slide toggle control\",\"retrieveValueMethod\":\"rpc\",\"valueKey\":\"value\",\"parseValueFunction\":\"return data ? true : false;\",\"convertValueFunction\":\"return value;\",\"requestPersistent\":false,\"labelPosition\":\"after\",\"sliderColor\":\"accent\"},\"title\":\"Slide Toggle Control\",\"dropShadow\":true,\"enableFullscreen\":false,\"widgetStyle\":{},\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"showLegend\":false,\"actions\":{},\"decimals\":2,\"widgetCss\":\"\",\"noDataDisplayMessage\":\"\"}" diff --git a/application/src/main/data/json/system/widget_types/switch_control.json b/application/src/main/data/json/system/widget_types/switch_control.json index 6cc7e7c7eb..fe42b8cb8f 100644 --- a/application/src/main/data/json/system/widget_types/switch_control.json +++ b/application/src/main/data/json/system/widget_types/switch_control.json @@ -11,7 +11,7 @@ "resources": [], "templateHtml": "", "templateCss": "", - "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-switch-control-widget-settings", "defaultConfig": "{\"targetDeviceAliases\":[],\"showTitle\":false,\"backgroundColor\":\"#e6e7e8\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"requestTimeout\":500,\"initialValue\":false,\"getValueMethod\":\"getValue\",\"setValueMethod\":\"setValue\",\"showOnOffLabels\":true,\"title\":\"Switch control\"},\"title\":\"Switch Control\",\"dropShadow\":true,\"enableFullscreen\":false,\"widgetStyle\":{},\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"showLegend\":false,\"actions\":{},\"decimals\":2}" diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts index a0eb933bd1..115b148223 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts @@ -227,7 +227,7 @@ export class LedIndicatorComponent extends PageComponent implements OnInit, OnDe } private onError(error: string) { - this.error = error; + this.error = error ? error.replace(/<\/?br\s*\/?>/gi, '. ') : error; this.setFontSize(this.ledError, this.error, this.ledErrorContainer.height(), this.ledErrorContainer.width()); this.ctx.detectChanges(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts index 05a93e434f..cb52419820 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts @@ -223,7 +223,7 @@ export class RoundSwitchComponent extends PageComponent implements OnInit, OnDes } private onError(error: string) { - this.error = error; + this.error = error ? error.replace(/<\/?br\s*\/?>/gi, '. ') : error; this.setFontSize(this.switchError, this.error, this.switchErrorContainer.height(), this.switchErrorContainer.width()); this.ctx.detectChanges(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts index 095177bffa..5b5da6295d 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts @@ -255,7 +255,7 @@ export class SwitchComponent extends PageComponent implements AfterViewInit, OnD } private onError(error: string) { - this.error = error; + this.error = error ? error.replace(/<\/?br\s*\/?>/gi, '. ') : error; if (this.switchType === 'switch') { this.setFontSize(this.switchError, this.error, this.switchErrorContainer.height(), this.switchErrorContainer.width()); } @@ -280,10 +280,6 @@ export class SwitchComponent extends PageComponent implements AfterViewInit, OnD }, () => { const errorText = this.ctx.defaultSubscription.rpcErrorText; - if (this.switchType === 'slide-toggle') { - this.ctx.defaultSubscription.rpcErrorText = null; - this.ctx.hideToast(this.ctx.toastTargetId); - } this.onError(errorText); } ); @@ -310,10 +306,6 @@ export class SwitchComponent extends PageComponent implements AfterViewInit, OnD () => { this.executingUpdateValue = false; const errorText = this.ctx.defaultSubscription.rpcErrorText; - if (this.switchType === 'slide-toggle') { - this.ctx.defaultSubscription.rpcErrorText = null; - this.ctx.hideToast(this.ctx.toastTargetId); - } this.onError(errorText); } ); From 3b2d1dafd8261c57650b03c418c66ac7c1e4b52d Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Thu, 12 Nov 2026 11:08:29 +0100 Subject: [PATCH 546/559] Fixed compile error in default TBEL downlink converters for TTN, TTI and ChirpStack integrations --- .../main/resources/converters/CHIRPSTACK/downlink/tbel.raw | 5 +++-- .../src/main/resources/converters/TTI/downlink/tbel.raw | 5 +++-- .../src/main/resources/converters/TTN/downlink/tbel.raw | 5 +++-- .../server/controller/ConverterControllerTest.java | 1 + .../CHIRPSTACK/downlink/test/default/expected.json | 5 +++++ .../converters/CHIRPSTACK/downlink/test/default/payload.json | 3 +++ .../converters/TTI/downlink/test/default/expected.json | 5 +++++ .../converters/TTI/downlink/test/default/payload.json | 3 +++ .../converters/TTN/downlink/test/default/expected.json | 5 +++++ .../converters/TTN/downlink/test/default/payload.json | 3 +++ 10 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/expected.json create mode 100644 application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/payload.json create mode 100644 application/src/test/resources/converters/TTI/downlink/test/default/expected.json create mode 100644 application/src/test/resources/converters/TTI/downlink/test/default/payload.json create mode 100644 application/src/test/resources/converters/TTN/downlink/test/default/expected.json create mode 100644 application/src/test/resources/converters/TTN/downlink/test/default/payload.json diff --git a/application/src/main/resources/converters/CHIRPSTACK/downlink/tbel.raw b/application/src/main/resources/converters/CHIRPSTACK/downlink/tbel.raw index 3e8ec1d4b1..c2139ca26b 100644 --- a/application/src/main/resources/converters/CHIRPSTACK/downlink/tbel.raw +++ b/application/src/main/resources/converters/CHIRPSTACK/downlink/tbel.raw @@ -15,9 +15,10 @@ // EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. // Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; // as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. +// If powerState is present, encode it to base64; otherwise fall back to 'unspecified'. var base64Payload = (msg.powerState != null) - ? btoa(msg.powerState) // if powerState is present, encode it to base64 - : btoa('unspecified'); // fall back to 'unspecified' when absent + ? btoa(msg.powerState) + : btoa('unspecified'); // Result object with encoded downlink payload var result = { diff --git a/application/src/main/resources/converters/TTI/downlink/tbel.raw b/application/src/main/resources/converters/TTI/downlink/tbel.raw index a8306cddab..e6f37e8fdc 100644 --- a/application/src/main/resources/converters/TTI/downlink/tbel.raw +++ b/application/src/main/resources/converters/TTI/downlink/tbel.raw @@ -19,9 +19,10 @@ var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') // EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. // Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; // as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. +// If powerState is present, encode it to base64; otherwise fall back to 'unspecified'. var base64Payload = (msg.powerState != null) - ? btoa(msg.powerState) // if powerState is present, encode it to base64 - : btoa('unspecified'); // fall back to 'unspecified' when absent + ? btoa(msg.powerState) + : btoa('unspecified'); // The Things Stack (TTN/TTI) expects a 'downlinks' array; each entry is a single scheduled downlink. var data = { diff --git a/application/src/main/resources/converters/TTN/downlink/tbel.raw b/application/src/main/resources/converters/TTN/downlink/tbel.raw index a8306cddab..e6f37e8fdc 100644 --- a/application/src/main/resources/converters/TTN/downlink/tbel.raw +++ b/application/src/main/resources/converters/TTN/downlink/tbel.raw @@ -19,9 +19,10 @@ var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') // EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. // Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; // as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. +// If powerState is present, encode it to base64; otherwise fall back to 'unspecified'. var base64Payload = (msg.powerState != null) - ? btoa(msg.powerState) // if powerState is present, encode it to base64 - : btoa('unspecified'); // fall back to 'unspecified' when absent + ? btoa(msg.powerState) + : btoa('unspecified'); // The Things Stack (TTN/TTI) expects a 'downlinks' array; each entry is a single scheduled downlink. var data = { diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 7dbb04f21f..8b5d993186 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -747,6 +747,7 @@ public class ConverterControllerTest extends AbstractControllerTest { @Test public void testDefaultDownlinkConverters() throws Exception { Resource[] expectedFiles = new PathMatchingResourcePatternResolver().getResources("classpath*:converters/*/downlink/test/*/expected.json"); + assertThat(expectedFiles).isNotEmpty(); SoftAssertions softly = new SoftAssertions(); for (Resource expectedFile : expectedFiles) { diff --git a/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/expected.json b/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/expected.json new file mode 100644 index 0000000000..a1b38e3c5c --- /dev/null +++ b/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/expected.json @@ -0,0 +1,5 @@ +{ + "contentType": "TEXT", + "data": "b24=", + "metadata": {} +} diff --git a/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/payload.json b/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/payload.json new file mode 100644 index 0000000000..699fe6a1f1 --- /dev/null +++ b/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/payload.json @@ -0,0 +1,3 @@ +{ + "powerState": "on" +} diff --git a/application/src/test/resources/converters/TTI/downlink/test/default/expected.json b/application/src/test/resources/converters/TTI/downlink/test/default/expected.json new file mode 100644 index 0000000000..c05157e7f7 --- /dev/null +++ b/application/src/test/resources/converters/TTI/downlink/test/default/expected.json @@ -0,0 +1,5 @@ +{ + "contentType": "JSON", + "data": "{\"downlinks\":[{\"f_port\":1,\"confirmed\":false,\"frm_payload\":\"b24=\",\"priority\":\"NORMAL\"}]}", + "metadata": {} +} diff --git a/application/src/test/resources/converters/TTI/downlink/test/default/payload.json b/application/src/test/resources/converters/TTI/downlink/test/default/payload.json new file mode 100644 index 0000000000..699fe6a1f1 --- /dev/null +++ b/application/src/test/resources/converters/TTI/downlink/test/default/payload.json @@ -0,0 +1,3 @@ +{ + "powerState": "on" +} diff --git a/application/src/test/resources/converters/TTN/downlink/test/default/expected.json b/application/src/test/resources/converters/TTN/downlink/test/default/expected.json new file mode 100644 index 0000000000..c05157e7f7 --- /dev/null +++ b/application/src/test/resources/converters/TTN/downlink/test/default/expected.json @@ -0,0 +1,5 @@ +{ + "contentType": "JSON", + "data": "{\"downlinks\":[{\"f_port\":1,\"confirmed\":false,\"frm_payload\":\"b24=\",\"priority\":\"NORMAL\"}]}", + "metadata": {} +} diff --git a/application/src/test/resources/converters/TTN/downlink/test/default/payload.json b/application/src/test/resources/converters/TTN/downlink/test/default/payload.json new file mode 100644 index 0000000000..699fe6a1f1 --- /dev/null +++ b/application/src/test/resources/converters/TTN/downlink/test/default/payload.json @@ -0,0 +1,3 @@ +{ + "powerState": "on" +} From 83b8ffdc8f0e512e1bedee7f2492d07dd0e1b607 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 12 Nov 2026 12:48:02 +0200 Subject: [PATCH 547/559] Keep only the leading numeric part of the project version --- .../server/service/install/ProjectInfo.java | 2 +- .../service/install/ProjectInfoTest.java | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 application/src/test/java/org/thingsboard/server/service/install/ProjectInfoTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/install/ProjectInfo.java b/application/src/main/java/org/thingsboard/server/service/install/ProjectInfo.java index be5ada895e..6b8aa122ed 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/ProjectInfo.java +++ b/application/src/main/java/org/thingsboard/server/service/install/ProjectInfo.java @@ -16,7 +16,7 @@ public class ProjectInfo { public String getProjectVersion() { return buildProperties.orElseThrow(() -> new IllegalStateException("Build properties are missing. Please rebuild the project with maven")) - .getVersion().replaceAll("[^\\d.]", ""); + .getVersion().replaceAll("[^\\d.].*$", ""); } public String getProductType() { diff --git a/application/src/test/java/org/thingsboard/server/service/install/ProjectInfoTest.java b/application/src/test/java/org/thingsboard/server/service/install/ProjectInfoTest.java new file mode 100644 index 0000000000..ce3e48faa2 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/install/ProjectInfoTest.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.install; + +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.CsvSource; +import org.springframework.boot.info.BuildProperties; + +import java.util.Optional; +import java.util.Properties; + +import static org.assertj.core.api.Assertions.assertThat; + +class ProjectInfoTest { + + @ParameterizedTest + @CsvSource({ + "4.2.2, 4.2.2", + "4.2.2-SNAPSHOT, 4.2.2", + "4.2.2PE-SNAPSHOT, 4.2.2", + "4.2.2.8PE, 4.2.2.8", + "4.2.2PAAS.cbeee8ba6f2, 4.2.2", + "4.2.2-RC1, 4.2.2" + }) + void keepsOnlyTheLeadingNumericVersion(String buildVersion, String expected) { + Properties properties = new Properties(); + properties.setProperty("version", buildVersion); + + assertThat(new ProjectInfo(Optional.of(new BuildProperties(properties))).getProjectVersion()).isEqualTo(expected); + } + +} From a277e7ba8e610842e5ba5e0d3c2b21eace219c29 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 12:05:18 +0100 Subject: [PATCH 548/559] Fixed action settings popover position when its content resizes (#16568) * Fixed action settings popover position when its content resizes * Fixed PR comments --- .../timewindow-style-panel.component.html | 5 +-- .../timewindow-style-panel.component.ts | 4 +-- ...value-action-settings-panel.component.html | 2 +- ...value-action-settings-panel.component.html | 2 +- ...idget-action-settings-panel.component.html | 5 +-- .../background-settings-panel.component.html | 2 +- .../background-settings-panel.component.ts | 8 ++--- .../color-settings-panel.component.html | 2 +- .../common/color-settings-panel.component.ts | 4 +-- .../common/font-settings-panel.component.html | 5 +-- .../common/font-settings-panel.component.ts | 1 - ...-layer-color-settings-panel.component.html | 2 +- ...ta-layer-color-settings-panel.component.ts | 4 +-- ...marker-image-settings-panel.component.html | 5 +-- .../marker-image-settings-panel.component.ts | 4 +-- ...e-fill-image-settings-panel.component.html | 5 +-- ...ape-fill-image-settings-panel.component.ts | 4 +-- .../shared/components/popover.component.ts | 4 ++- .../popover-content-resize.directive.ts | 35 +++++++++++++++++++ .../src/app/shared/directives/public-api.ts | 1 + ui-ngx/src/app/shared/shared.module.ts | 3 ++ 21 files changed, 74 insertions(+), 33 deletions(-) create mode 100644 ui-ngx/src/app/shared/directives/popover-content-resize.directive.ts diff --git a/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.html index cc6c4c03b0..a8cdc056a8 100644 --- a/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.html @@ -1,10 +1,11 @@ -
    +
    timewindow.style
    diff --git a/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.ts index 16ecc35538..9835c26848 100644 --- a/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { defaultTimewindowStyle, TimewindowStyle } from '@shared/models/widget-settings.models'; @@ -63,7 +64,6 @@ export class TimewindowStylePanelComponent extends PageComponent implements OnIn ).subscribe((timewindowStyle: TimewindowStyle) => { if (this.timewindowStyleFormGroup.valid) { this.updatePreviewStyle(timewindowStyle); - setTimeout(() => {this.popover?.updatePosition();}, 0); } }); this.timewindowStyleFormGroup.get('showIcon').valueChanges.pipe( diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html index 3560e331cd..82f0df9847 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html @@ -7,7 +7,7 @@ -->
    {{ panelTitle }}
    -
    +
    {{ 'widgets.value-action.action' | translate }}
    diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html index 1b72d7d7a6..91d43c87ea 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html @@ -7,7 +7,7 @@ -->
    {{ panelTitle }}
    -
    +
    {{ 'widgets.value-action.action' | translate }}
    diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings-panel.component.html index 4f4780c818..0c0c3b3150 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings-panel.component.html @@ -1,12 +1,13 @@
    {{ panelTitle }}
    -
    +
    -
    +
    widgets.background.background-settings
    diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.ts index a4913b29a6..347aabe0ef 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { ChangeDetectorRef, Component, @@ -79,11 +80,6 @@ export class BackgroundSettingsPanelComponent extends PageComponent implements O }) } ); - this.backgroundSettingsFormGroup.get('type').valueChanges.pipe( - takeUntilDestroyed(this.destroyRef) - ).subscribe(() => { - setTimeout(() => {this.popover?.updatePosition();}, 0); - }); this.backgroundSettingsFormGroup.get('overlay').get('enabled').valueChanges.pipe( takeUntilDestroyed(this.destroyRef) ).subscribe(() => { diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.html index 888b390651..01f8fdfab9 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.html @@ -5,7 +5,7 @@ SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 --> -
    +
    widgets.color.color-settings
    diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.ts index efeee82166..005bde4637 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { @@ -98,7 +99,6 @@ export class ColorSettingsPanelComponent extends PageComponent implements OnInit takeUntilDestroyed(this.destroyRef) ).subscribe(() => { this.updateValidators(); - setTimeout(() => {this.popover?.updatePosition();}, 0); }); this.updateValidators(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.html index 92782e54e2..a640bf349a 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.html @@ -1,10 +1,11 @@ -
    +
    widgets.widget-font.font-settings
    widgets.widget-font.size
    diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.ts index 9f6afc8705..7d3a891d02 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.ts @@ -124,7 +124,6 @@ export class FontSettingsPanelComponent extends PageComponent implements OnInit ).subscribe((font: Font) => { if (this.fontFormGroup.valid) { this.updatePreviewStyle(font); - setTimeout(() => {this.popover?.updatePosition();}, 0); } }); this.filteredFontFamilies = this.fontFormGroup.get('family').valueChanges diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.html index cd63c2f34d..fd23e88972 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.html @@ -5,7 +5,7 @@ SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 --> -
    +
    widgets.maps.data-layer.color-settings
    diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.ts index 5cea52d25b..22430501ba 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { TbPopoverComponent } from '@shared/components/popover.component'; @@ -78,7 +79,6 @@ export class DataLayerColorSettingsPanelComponent extends PageComponent implemen takeUntilDestroyed(this.destroyRef) ).subscribe(() => { this.updateValidators(); - setTimeout(() => {this.popover?.updatePosition();}, 0); }); this.updateValidators(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.html index d8590bb6b5..703e005a87 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.html @@ -1,10 +1,11 @@ -
    +
    widgets.maps.data-layer.marker.marker-image
    diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.ts index ae0aa51fd8..3b45775852 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { TbPopoverComponent } from '@shared/components/popover.component'; @@ -56,7 +57,6 @@ export class MarkerImageSettingsPanelComponent extends PageComponent implements takeUntilDestroyed(this.destroyRef) ).subscribe(() => { this.updateValidators(); - setTimeout(() => {this.popover?.updatePosition();}, 0); }); this.updateValidators(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.html index e297c2f04c..9e457720ae 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.html @@ -1,10 +1,11 @@ -
    +
    widgets.maps.data-layer.shape.fill-image
    diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.ts index 7ab46185ad..3b4b93a545 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { TbPopoverComponent } from '@shared/components/popover.component'; import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; @@ -52,7 +53,6 @@ export class ShapeFillImageSettingsPanelComponent implements OnInit { takeUntilDestroyed(this.destroyRef) ).subscribe(() => { this.updateValidators(); - setTimeout(() => {this.popover?.updatePosition();}, 0); }); this.updateValidators(); } diff --git a/ui-ngx/src/app/shared/components/popover.component.ts b/ui-ngx/src/app/shared/components/popover.component.ts index 2a419ef573..f67aa17a78 100644 --- a/ui-ngx/src/app/shared/components/popover.component.ts +++ b/ui-ngx/src/app/shared/components/popover.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { AfterViewInit, ChangeDetectionStrategy, @@ -312,6 +313,7 @@ export class TbPopoverDirective implements OnChanges, OnDestroy, AfterViewInit { [cdkConnectedOverlayOpen]="visible" [cdkConnectedOverlayPush]="!strictPosition" [cdkConnectedOverlayFlexibleDimensions]="strictPosition" + [cdkConnectedOverlayGrowAfterOpen]="strictPosition" (overlayOutsideClick)="onClickOutside($event)" (detach)="hide()" (positionChange)="onPositionChange($event)" diff --git a/ui-ngx/src/app/shared/directives/popover-content-resize.directive.ts b/ui-ngx/src/app/shared/directives/popover-content-resize.directive.ts new file mode 100644 index 0000000000..860855ee3b --- /dev/null +++ b/ui-ngx/src/app/shared/directives/popover-content-resize.directive.ts @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +import { AfterViewInit, Directive, ElementRef, inject, OnDestroy } from '@angular/core'; +import { TbPopoverComponent } from '@shared/components/popover.component'; + +@Directive({ + selector: '[tbPopoverContentResize]', + standalone: false +}) +export class PopoverContentResizeDirective implements AfterViewInit, OnDestroy { + private readonly elementRef = inject>(ElementRef); + private readonly popover = inject(TbPopoverComponent, { optional: true }); + + private readonly resizeObserver = new ResizeObserver(() => this.popover.updatePosition()); + private readonly mutationObserver = new MutationObserver(() => this.observeChildren()); + + ngAfterViewInit(): void { + if (this.popover) { + this.observeChildren(); + this.mutationObserver.observe(this.elementRef.nativeElement, {childList: true}); + } + } + + ngOnDestroy(): void { + this.mutationObserver.disconnect(); + this.resizeObserver.disconnect(); + } + + private observeChildren(): void { + this.resizeObserver.disconnect(); + for (const child of Array.from(this.elementRef.nativeElement.children)) { + this.resizeObserver.observe(child); + } + } +} diff --git a/ui-ngx/src/app/shared/directives/public-api.ts b/ui-ngx/src/app/shared/directives/public-api.ts index 04315102e3..826e22345b 100644 --- a/ui-ngx/src/app/shared/directives/public-api.ts +++ b/ui-ngx/src/app/shared/directives/public-api.ts @@ -7,3 +7,4 @@ export * from './ellipsis-chip-list.directive'; export * from './context-menu.directive'; export * from './form-row.directive'; export * from './chip-overflow.directive'; +export * from './popover-content-resize.directive'; diff --git a/ui-ngx/src/app/shared/shared.module.ts b/ui-ngx/src/app/shared/shared.module.ts index dac1f06ded..8810e8a506 100644 --- a/ui-ngx/src/app/shared/shared.module.ts +++ b/ui-ngx/src/app/shared/shared.module.ts @@ -56,6 +56,7 @@ import { HUGERTE_ASSETS_PATH } from '@shared/models/hugerte/hugerte.models'; import { UserMenuComponent } from '@shared/components/user-menu.component'; import { AutofocusDirective } from '@shared/directives/auto-focus.directive'; import { TruncateWithTooltipDirective } from '@shared/directives/truncate-with-tooltip.directive'; +import { PopoverContentResizeDirective } from '@shared/directives/popover-content-resize.directive'; import { ContextMenuDirective } from '@shared/directives/context-menu.directive'; import { ChipOverflowDirective } from '@shared/directives/chip-overflow.directive'; import { NospacePipe } from '@shared/pipe/nospace.pipe'; @@ -457,6 +458,7 @@ export function MarkedOptionsFactory(markedOptionsService: MarkedOptionsService) ChipOverflowDirective, PhotoSwipeGalleryDirective, AutocompleteAutoScrollRepositionDirective, + PopoverContentResizeDirective, NospacePipe, MillisecondsToTimeStringPipe, EnumToArrayPipe, @@ -769,6 +771,7 @@ export function MarkedOptionsFactory(markedOptionsService: MarkedOptionsService) ChipOverflowDirective, PhotoSwipeGalleryDirective, AutocompleteAutoScrollRepositionDirective, + PopoverContentResizeDirective, NospacePipe, MillisecondsToTimeStringPipe, EnumToArrayPipe, From c65ec540ea215296348402f195380e81edd77bf1 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 12:35:49 +0100 Subject: [PATCH 549/559] Fixed trips data layer crash on invalid marker/path coordinates (#15906) * Added maps guard trips data layer against invalid marker/path coordinates * Fixed PR comments --- .../lib/maps/data-layer/trips-data-layer.ts | 64 +++++++++++-------- 1 file changed, 39 insertions(+), 25 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/trips-data-layer.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/trips-data-layer.ts index 82d2b23125..0883049517 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/trips-data-layer.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/trips-data-layer.ts @@ -87,7 +87,8 @@ class TbTripDataItem extends TbDataLayerItem this.dataLayer.dataProcessor.extractLocation(data, dsData)); + const locations = this.extractPathLocations(formattedRouteData, dsData); const pathStyle = this.dataLayer.getPathStyle(this.pointData, dsData); this.polyline = L.polyline(locations, pathStyle); this.polyline.addTo(this.layer); @@ -205,7 +225,7 @@ class TbTripDataItem extends TbDataLayerItem this.dataLayer.dataProcessor.extractLocation(data, dsData)); + const locations = this.extractPathLocations(formattedRouteData, dsData); this.polyline.setLatLngs(locations); if (this.settings.usePathDecorator) { this.polylineDecorator.setPaths(this.polyline); @@ -214,6 +234,10 @@ class TbTripDataItem extends TbDataLayerItem[], dsData: FormattedData[]): L.LatLng[] { + return data.map(item => this.dataLayer.dataProcessor.extractLocation(item, dsData)).filter(location => !!location); + } + private updatePoints() { if (this.settings.showPoints) { if (!this.pointsContainer) { @@ -285,15 +309,8 @@ class TbTripDataItem extends TbDataLayerItem, dsData: FormattedData[]) { - const location = this.dataLayer.dataProcessor.extractLocation(data, dsData); - if (!this.marker.getLatLng().equals(location)) { - this.marker.setLatLng(location); - } - } - private updateMarkerIcon(data: FormattedData, dsData: FormattedData[]) { - if (this.settings.showMarker) { + if (this.settings.showMarker && this.marker) { this.dataLayer.dataProcessor.createMarkerIcon(data, dsData, data.rotationAngle).subscribe( (iconInfo) => { const options = deepClone(iconInfo.icon.options); @@ -600,25 +617,22 @@ export class TbTripsDataLayer extends TbMapDataLayer[]): FormattedData[] { - const firstHistoricalDataIndexCoordinate = dataSource.findIndex(this.findFirstHistoricalDataIndexCoordinate); - if (firstHistoricalDataIndexCoordinate === -1) { + const firstValidIndex = dataSource.findIndex(this.hasValidLocation); + if (firstValidIndex === -1) { return []; } - let lastIndex = dataSource.length - 1; - for (lastIndex; lastIndex > 0; lastIndex--) { - if (this.findFirstHistoricalDataIndexCoordinate(dataSource[lastIndex])) { - lastIndex++; - break; - } + let lastValidIndex = dataSource.length - 1; + while (lastValidIndex > firstValidIndex && !this.hasValidLocation(dataSource[lastValidIndex])) { + lastValidIndex--; } - if (firstHistoricalDataIndexCoordinate > 0 || lastIndex < dataSource.length) { - return dataSource.slice(firstHistoricalDataIndexCoordinate, lastIndex); + if (firstValidIndex > 0 || lastValidIndex < dataSource.length - 1) { + return dataSource.slice(firstValidIndex, lastValidIndex + 1); } return dataSource; } - private findFirstHistoricalDataIndexCoordinate = (item: FormattedData): boolean => { - return isDefined(item[this.settings.xKey.label]) && isDefined(item[this.settings.yKey.label]); + private hasValidLocation = (item: FormattedData): boolean => { + return !!this.dataProcessor.extractLocationData(item); } } From 5c435dc468404981a2c6cef0ba35771ea2c88b2e Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 13:53:11 +0100 Subject: [PATCH 550/559] Unified spacing between tabs and content across tabbed pages (#16476) * Fixed inconsistent spacing between tabs and content when switching tabs on Settings and Mobile center pages * PR comments fixes * Unified tab-to-content spacing via shared tb-content-card class and spacing variables * Fixed PR comments * Fixed license headers * Fixed License page key card width and spacing --------- Co-authored-by: Vladyslav_Prykhodko --- .../entity/entity-details-page.component.scss | 12 +++-- .../pe-pack/request-pe-pack.component.scss | 3 +- .../vc/auto-commit-settings.component.scss | 4 +- .../admin/license-management.component.html | 8 +-- .../admin/license-management.component.scss | 20 +------- .../home/pages/admin/settings-card.scss | 8 +-- .../agent-app-profiles-page.component.scss | 50 +++++++++++++++++++ .../agent-app-profiles-page.component.ts | 44 +--------------- .../custom-menu-config.component.scss | 17 +++---- .../custom-menu-table.component.scss | 10 ++-- .../translation-table.component.scss | 12 ++--- .../translation-table.component.ts | 3 ++ .../home/pages/profile/profile.component.html | 2 +- .../home/pages/profile/profile.component.scss | 5 -- .../pages/security/security.component.html | 10 ++-- .../pages/security/security.component.scss | 10 ---- .../trendz-settings.component.html | 2 +- ui-ngx/src/scss/constants.scss | 4 ++ ui-ngx/src/scss/mixins.scss | 11 +++- ui-ngx/src/styles.scss | 8 ++- 20 files changed, 115 insertions(+), 128 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/pages/agent/agent-app-profiles-page.component.scss diff --git a/ui-ngx/src/app/modules/home/components/entity/entity-details-page.component.scss b/ui-ngx/src/app/modules/home/components/entity/entity-details-page.component.scss index c7cd4ec04d..5642681a4e 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entity-details-page.component.scss +++ b/ui-ngx/src/app/modules/home/components/entity/entity-details-page.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @import "../../../../../scss/constants"; :host { @@ -10,10 +11,13 @@ overflow: hidden; .settings-card { - margin: 8px; + margin: $tb-content-spacing; + @media #{$mat-gt-sm} { + margin: $tb-content-spacing-gt-sm; + } padding: 0; - width: 100%; - height: 100%; + flex: 1; + min-height: 0; display: flex; flex-direction: column; diff --git a/ui-ngx/src/app/modules/home/components/pe-pack/request-pe-pack.component.scss b/ui-ngx/src/app/modules/home/components/pe-pack/request-pe-pack.component.scss index 3972ee0965..4af7566a15 100644 --- a/ui-ngx/src/app/modules/home/components/pe-pack/request-pe-pack.component.scss +++ b/ui-ngx/src/app/modules/home/components/pe-pack/request-pe-pack.component.scss @@ -4,9 +4,10 @@ :host { width: 100%; - padding-top: 16px; + padding-top: $tb-content-spacing; padding-bottom: 48px; @media #{$mat-gt-sm} { + padding-top: $tb-content-spacing-gt-sm; padding-left: 16px; padding-right: 16px; } diff --git a/ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss b/ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss index 1b85d116b2..29887ae600 100644 --- a/ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss +++ b/ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss @@ -1,8 +1,8 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 :host { .mat-mdc-card.auto-commit-settings { - margin: 8px; .mat-divider { position: relative; } diff --git a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html index 23d92bcf89..c71fbab53a 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html +++ b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html @@ -115,7 +115,7 @@ @switch (manageLicenseState) { @case (ManageLicenseState.MANAGE) { @if (newLicenseApplied) { - + {{ 'subscription.new-license-applied' | translate }} } - +
    @@ -284,7 +284,7 @@ } - + @@ -300,7 +300,7 @@ } @case (ManageLicenseState.ENTER_KEY) { - +
    `, - styles: [` - :host { - display: block; - height: 100%; - width: 100%; - } - .tb-app-profiles-page { - display: flex; - flex-direction: column; - height: 100%; - min-height: 0; - } - .tb-app-profiles-page-quick-start { - flex: 0 0 auto; - display: grid; - grid-template-rows: 1fr; - margin: 16px 16px 0; - opacity: 1; - visibility: visible; - transition: grid-template-rows 400ms cubic-bezier(0.25, 0.8, 0.25, 1), - margin 400ms cubic-bezier(0.25, 0.8, 0.25, 1), - opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1), - visibility 0s linear 0s; - } - .tb-app-profiles-page-quick-start.collapsed { - grid-template-rows: 0fr; - margin-top: 0; - opacity: 0; - pointer-events: none; - visibility: hidden; - transition: none; - } - .tb-app-profiles-page-quick-start-inner { - min-height: 0; - overflow: hidden; - } - .tb-app-profiles-page-table { - flex: 1 1 auto; - min-height: 0; - display: block; - position: relative; - } - `], + styleUrls: ['./agent-app-profiles-page.component.scss'], standalone: false }) export class AgentAppProfilesPageComponent implements OnInit, OnDestroy { diff --git a/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-config.component.scss b/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-config.component.scss index 0885c9d76c..1c7483ec24 100644 --- a/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-config.component.scss +++ b/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-config.component.scss @@ -1,21 +1,20 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 @import "constants"; +@import "mixins"; tb-custom-menu-config { - height: 100%; + flex: 1; + min-height: 0; + display: flex; + flex-direction: column; } .tb-custom-menu-config-card { + @include tb-content-card; padding: 0; - margin: 8px; - height: calc(100% - 16px); - - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } - + flex: 1; + min-height: 0; display: flex; flex-direction: column; diff --git a/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-table.component.scss b/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-table.component.scss index 93a0d35ea5..3e91fc24ac 100644 --- a/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-table.component.scss +++ b/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-table.component.scss @@ -4,14 +4,10 @@ @import "mixins"; :host { + @include tb-content-card; position: relative; - height: 100%; - margin: 8px; - - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } + flex: 1; + min-height: 0; } :host ::ng-deep { diff --git a/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.scss b/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.scss index 25bb6b9e50..81f58b0d21 100644 --- a/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.scss +++ b/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.scss @@ -1,17 +1,11 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 -@import "constants"; - :host { position: relative; - height: 100%; + height: auto; width: auto; - margin: 8px; - - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } + flex: 1; + min-height: 0; .tb-entity-table { .tb-entity-table-content { diff --git a/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.ts b/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.ts index 5ac5e723ed..a9c4dcd787 100644 --- a/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.ts +++ b/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.ts @@ -27,6 +27,9 @@ import { UserPermissionsService } from '@core/http/user-permissions.service'; selector: 'tb-translation-table', templateUrl: './translation-table.component.html', styleUrls: ['../../components/entity/entities-table.component.scss', './translation-table.component.scss'], + host: { + 'class': 'tb-content-card' + }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false }) diff --git a/ui-ngx/src/app/modules/home/pages/profile/profile.component.html b/ui-ngx/src/app/modules/home/pages/profile/profile.component.html index aef247ecaa..f9bb0c5f75 100644 --- a/ui-ngx/src/app/modules/home/pages/profile/profile.component.html +++ b/ui-ngx/src/app/modules/home/pages/profile/profile.component.html @@ -6,7 +6,7 @@ -->
    - +
    diff --git a/ui-ngx/src/app/modules/home/pages/profile/profile.component.scss b/ui-ngx/src/app/modules/home/pages/profile/profile.component.scss index e652b05ac1..39c5de0818 100644 --- a/ui-ngx/src/app/modules/home/pages/profile/profile.component.scss +++ b/ui-ngx/src/app/modules/home/pages/profile/profile.component.scss @@ -5,11 +5,6 @@ :host { .mat-mdc-card.profile-card { - margin: 8px; - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } .mat-headline-5 { margin: 0; } diff --git a/ui-ngx/src/app/modules/home/pages/security/security.component.html b/ui-ngx/src/app/modules/home/pages/security/security.component.html index 0faddba0e9..5576cc7dd0 100644 --- a/ui-ngx/src/app/modules/home/pages/security/security.component.html +++ b/ui-ngx/src/app/modules/home/pages/security/security.component.html @@ -5,8 +5,8 @@ SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 --> -
    - +
    + profile.jwt-token @@ -21,7 +21,7 @@
    @if (resource.API_KEY | hasGenericPermission: operation.READ) { - +
    api-key.api-keys @@ -37,7 +37,7 @@ } @if (resource.PROFILE | hasGenericPermission: operation.WRITE) { - +
    @@ -176,7 +176,7 @@ } @if (allowTwoFactorProviders.length && (resource.PROFILE | hasGenericPermission: operation.WRITE)) { - + admin.2fa.2fa diff --git a/ui-ngx/src/app/modules/home/pages/security/security.component.scss b/ui-ngx/src/app/modules/home/pages/security/security.component.scss index 0f51cd2740..12aa0725b4 100644 --- a/ui-ngx/src/app/modules/home/pages/security/security.component.scss +++ b/ui-ngx/src/app/modules/home/pages/security/security.component.scss @@ -1,17 +1,7 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 -@import "constants"; - :host { - .profile-container { - margin: 8px; - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } - } - .mat-mdc-card.profile-card { padding: 24px; diff --git a/ui-ngx/src/app/modules/home/pages/trendz-settings/trendz-settings.component.html b/ui-ngx/src/app/modules/home/pages/trendz-settings/trendz-settings.component.html index 8bb74383e6..adaa12e088 100644 --- a/ui-ngx/src/app/modules/home/pages/trendz-settings/trendz-settings.component.html +++ b/ui-ngx/src/app/modules/home/pages/trendz-settings/trendz-settings.component.html @@ -4,7 +4,7 @@ SPDX-License-Identifier: BUSL-1.1 --> -
    +
    diff --git a/ui-ngx/src/scss/constants.scss b/ui-ngx/src/scss/constants.scss index 002ce54958..f6ad4eea36 100644 --- a/ui-ngx/src/scss/constants.scss +++ b/ui-ngx/src/scss/constants.scss @@ -22,4 +22,8 @@ $mat-md-lg: "screen and (min-width: 960px) and (max-width: 1819px)"; $popover-bg: #fff; +$tb-content-spacing: 8px; +$tb-content-spacing-gt-sm: 16px; +$tb-content-card-width: 700px; + $sidenav-anim-timing: 400ms cubic-bezier(0.25, 0.8, 0.25, 1); diff --git a/ui-ngx/src/scss/mixins.scss b/ui-ngx/src/scss/mixins.scss index 33336351b0..262197b109 100644 --- a/ui-ngx/src/scss/mixins.scss +++ b/ui-ngx/src/scss/mixins.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @use "sass:math"; @mixin tb-mat-icon-size($size) { @@ -54,3 +55,11 @@ @return $x1; } + +@mixin tb-content-card() { + margin: $tb-content-spacing; + @media #{$mat-gt-sm} { + width: $tb-content-card-width; + margin: $tb-content-spacing-gt-sm auto; + } +} diff --git a/ui-ngx/src/styles.scss b/ui-ngx/src/styles.scss index 42b01a636f..dd9fbd8c9a 100644 --- a/ui-ngx/src/styles.scss +++ b/ui-ngx/src/styles.scss @@ -693,12 +693,16 @@ pre.tb-highlight { } .mat-padding { - padding: 8px; + padding: $tb-content-spacing; @media #{$mat-gt-sm} { - padding: 16px; + padding: $tb-content-spacing-gt-sm; } } + .tb-content-card { + @include tb-content-card; + } + .mat-content { position: relative; overflow: auto; From 0e7e729175c2e4f04467ad3f7715fe590efccabb Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 14:13:42 +0100 Subject: [PATCH 551/559] Unified style for info/warning notes (#16469) * Unified style for info/warning notes * Fixed license headers * Unified notes: address review comments * Fixed PR comments --- .../home/components/agent/_agent-shared.scss | 24 --- .../agent-install-instructions.component.html | 4 +- .../agent-install-instructions.component.scss | 5 - ...agent-auto-provision-dialog.component.html | 22 ++- ...agent-auto-provision-dialog.component.scss | 30 ---- .../agent/wizard/_agent-wizard.scss | 45 ------ .../agent-app-install-flow.component.html | 13 +- .../agent-app-update-flow.component.html | 8 +- .../agent-app-upgrade-flow.component.html | 4 +- .../check-connectivity-dialog.component.scss | 5 +- .../ai/ai-approval-card.component.scss | 4 +- .../components/ai/ai-credits.component.scss | 8 +- .../alarm-rule-details-dialog.component.html | 3 +- ...alarm-rule-condition-dialog.component.html | 3 +- .../alarm/alarm-comment.component.scss | 2 +- .../api-key-generated-dialog.component.html | 10 +- .../api-key-generated-dialog.component.scss | 6 - ...ulated-field-argument-panel.component.html | 8 +- ...lated-field-arguments-table.component.html | 2 +- ...lated-field-arguments-table.component.scss | 9 +- ...ntity-aggregation-component.component.html | 10 +- ...eofencing-zone-groups-panel.component.html | 2 +- ...eofencing-zone-groups-panel.component.scss | 9 +- ...eofencing-zone-groups-table.component.html | 2 +- ...culated-field-metrics-table.component.html | 2 +- ...ed-field-reprocessing-panel.component.html | 5 +- ...ed-field-reprocessing-panel.component.scss | 2 +- ...entity-debug-settings-panel.component.html | 8 +- .../iot-hub-install-dialog.component.html | 8 +- .../iot-hub-install-dialog.component.scss | 14 +- .../iot-hub/iot-hub-markdown.component.scss | 38 +---- .../iot-hub/iot-hub-markdown.component.ts | 5 +- ...ile-transport-configuration.component.html | 6 +- .../device-profile-config.component.html | 8 +- .../gps-geo-action-config.component.html | 16 +- .../common/credentials-config.component.html | 5 +- .../common/example-hint.component.html | 33 ++-- .../common/kv-map-config-old.component.html | 8 +- ...emetry-from-database-config.component.html | 11 +- ...emetry-from-database-config.component.scss | 35 +--- .../rest-api-call-config.component.html | 10 +- .../gps-geo-filter-config.component.html | 8 +- .../vc/auto-commit-settings.component.html | 5 +- ...le-app-qr-code-basic-config.component.html | 4 +- .../lib/cards/api-usage-widget.component.scss | 14 +- .../cluster-info-table.component.scss | 11 +- .../license-usage-info.component.scss | 2 +- .../usage-info-widget.component.scss | 9 +- .../home/components/widget/lib/maps/map.scss | 2 +- ...app-qr-code-widget-settings.component.html | 4 +- .../common/key/data-key-config.component.html | 44 ++--- .../integration-wizard-dialog.component.html | 5 +- .../integration-wizard-dialog.component.scss | 12 +- .../admin/general-settings.component.html | 8 +- .../admin/general-settings.component.scss | 7 +- .../admin/license-management.component.html | 8 +- .../admin/license-management.component.scss | 25 --- .../agent/agent-application.component.html | 8 +- .../agent/agent-application.component.scss | 17 -- ...install-instructions-dialog.component.scss | 5 - ...gent-profile-created-dialog.component.html | 18 +-- ...gent-profile-created-dialog.component.scss | 45 ------ ...ent-profile-merged-profiles.component.html | 2 +- ...ent-profile-merged-profiles.component.scss | 21 --- .../pages/agent/agent-profile.component.html | 12 +- .../pages/agent/agent-profile.component.scss | 86 ---------- ...t-app-event-progress-dialog.component.html | 8 +- ...t-app-event-progress-dialog.component.scss | 19 --- ...-app-profile-upgrade-dialog.component.html | 7 +- ...-profile-bulk-action-dialog.component.html | 151 ++++++++++-------- ...-profile-bulk-action-dialog.component.scss | 126 ++++++--------- ...agent-profile-preset-dialog.component.html | 14 +- ...agent-profile-preset-dialog.component.scss | 45 ------ .../agent-app-profile-wizard.component.html | 8 +- .../agent-app-profile-wizard.component.scss | 4 - .../agent-profile-wizard.component.html | 22 +-- .../agent-profile-wizard.component.scss | 45 ------ .../issues-popover.component.scss | 4 +- .../solution-info-dialog.component.scss | 8 +- .../translation-map-table.component.scss | 6 +- ...ake-dashboard-public-dialog.component.html | 5 +- ...ublic-dashboard-link.dialog.component.html | 5 +- ...e-check-connectivity-dialog.component.scss | 14 +- .../edge-instructions-dialog.component.html | 4 +- .../edge-instructions-dialog.component.scss | 21 --- .../integration/integration.component.html | 5 +- .../integration/integration.component.scss | 10 -- ...ile-qr-code-widget-settings.component.html | 4 +- ...ile-qr-code-widget-settings.component.scss | 14 +- .../sent-notification-dialog.component.scss | 11 -- ...tion-template-configuration.component.html | 20 ++- ...tion-template-configuration.component.scss | 8 +- .../task-info-panel.component.scss | 6 +- ...gation-options-config-panel.component.html | 8 +- ...terval-options-config-panel.component.html | 6 +- .../assets/locale/locale.constant-en_US.json | 1 + ui-ngx/src/form.scss | 21 +++ ui-ngx/src/styles.scss | 7 - ui-ngx/src/theme/theme-constants.scss | 1 + 99 files changed, 479 insertions(+), 993 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/agent/_agent-shared.scss b/ui-ngx/src/app/modules/home/components/agent/_agent-shared.scss index 666741c3f4..c44b7923e8 100644 --- a/ui-ngx/src/app/modules/home/components/agent/_agent-shared.scss +++ b/ui-ngx/src/app/modules/home/components/agent/_agent-shared.scss @@ -8,7 +8,6 @@ $agent-text-hint: rgba(0, 0, 0, 0.38); $agent-divider: rgba(0, 0, 0, 0.12); $agent-divider-light: rgba(0, 0, 0, 0.08); -$agent-ink-76: rgba(0, 0, 0, 0.76); $agent-ink-60: rgba(0, 0, 0, 0.6); $agent-ink-42: rgba(0, 0, 0, 0.42); $agent-ink-24: rgba(0, 0, 0, 0.24); @@ -33,9 +32,7 @@ $agent-error-surface: #fdecea; $agent-error-surface-light: #ffebee; $agent-info-surface: #e3f2fd; $agent-warning-surface: #fff8e1; -$agent-warning-text: #6d4c00; $agent-warning-border: #ffe082; -$agent-warning-icon: #c79100; $agent-code-bg: #1e1e1e; $agent-code-fg: #d4d4d4; $agent-editor-fg: #1f2328; @@ -66,27 +63,6 @@ $agent-type-generic-fg: #6a1b9a; @include agent-type-palette; } -@mixin agent-info-box { - display: flex; - align-items: flex-start; - gap: 12px; - padding: 12px 16px; - border-radius: 4px; - font-size: 13px; - line-height: 1.5; - mat-icon { - flex-shrink: 0; - font-size: 20px; - width: 20px; - height: 20px; - } -} - -@mixin agent-info-box-tone { - background: $agent-info-surface; - color: $agent-color-info; -} - @mixin agent-command-block { position: relative; background: $agent-code-bg; diff --git a/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.html b/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.html index 4d07407836..3e7222143f 100644 --- a/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.html +++ b/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.html @@ -29,8 +29,8 @@
    {{ dockerCommand }}
    -
    - info +
    + info_outline agent.install-instructions-replace-hint
    diff --git a/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.scss b/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.scss index c498e8018f..4373feb38f 100644 --- a/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.scss +++ b/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.scss @@ -88,8 +88,3 @@ } } } - -.tb-info-box { - @include agent-info-box; - @include agent-info-box-tone; -} diff --git a/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.html b/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.html index ba758ca850..88855e5893 100644 --- a/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.html @@ -20,11 +20,11 @@ -
    - auto_awesome +
    + info_outline
    -

    {{ infoTitleKey | translate }}

    -

    {{ infoBodyKey | translate }}

    +
    {{ infoTitleKey | translate }}
    +
    {{ infoBodyKey | translate }}
    @@ -135,19 +135,15 @@
    {{ dockerCommand }}
    -
    - info -
    -

    {{ infoBodyKey | translate }}

    -
    +
    + info_outline + {{ infoBodyKey | translate }}
    } @else { -
    +
    error_outline -
    -

    edge.auto-provision-no-script

    -
    + edge.auto-provision-no-script
    } diff --git a/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.scss b/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.scss index 4204d78207..c3f58c4989 100644 --- a/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.scss @@ -118,36 +118,6 @@ } } -.tb-info-box { - @include agent-info-box; - margin: 0 0 16px; - - p { - margin: 0 0 6px; - font-size: inherit; - line-height: inherit; - &:last-child { margin-bottom: 0; } - } - - .info-title { - font-weight: 500; - } - - &.info { - background: $agent-info-surface; - color: $agent-color-info; - - mat-icon { color: $agent-color-info; } - } - - &.invalid { - background: $agent-error-surface; - color: $agent-color-error; - - mat-icon { color: $agent-color-error; } - } -} - .success-banner { display: flex; align-items: center; diff --git a/ui-ngx/src/app/modules/home/components/agent/wizard/_agent-wizard.scss b/ui-ngx/src/app/modules/home/components/agent/wizard/_agent-wizard.scss index 49a8d13fd7..689721caf0 100644 --- a/ui-ngx/src/app/modules/home/components/agent/wizard/_agent-wizard.scss +++ b/ui-ngx/src/app/modules/home/components/agent/wizard/_agent-wizard.scss @@ -128,24 +128,6 @@ @mixin wizard-step-basics { .hint { font-size: 13px; color: $agent-text-secondary; margin: 0 0 16px; } - .tb-app-compose-hint { - display: flex; - align-items: center; - gap: 6px; - margin-bottom: 16px; - padding: 6px 10px; - border-radius: 4px; - background: $agent-warning-surface; - color: $agent-warning-text; - font-size: 12px; - .tb-app-compose-hint-icon { - font-size: 16px; - width: 16px; - height: 16px; - color: $agent-warning-icon; - } - } - .loading-state, .error-state { display: flex; align-items: center; gap: 12px; padding: 12px; color: $agent-text-secondary; } @@ -162,27 +144,6 @@ .config-toggle { display: flex; justify-content: center; margin-bottom: 16px; } - - .tb-agent-deploy-note { - display: flex; - align-items: flex-start; - gap: 10px; - margin: 0 0 16px; - padding: 12px 16px; - border-radius: 8px; - background: color-mix(in srgb, var(--tb-primary-500) 6%, transparent); - font-size: 13px; - line-height: 1.5; - color: $agent-ink-76; - - mat-icon { - flex-shrink: 0; - color: var(--tb-primary-500); - font-size: 20px; - width: 20px; - height: 20px; - } - } } @mixin wizard-type-cards { @@ -496,10 +457,4 @@ .tb-type-badge { @include agent-type-badge; } - - .info-box { - @include agent-info-box; - @include agent-info-box-tone; - margin-bottom: 16px; - } } diff --git a/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-install-flow.component.html b/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-install-flow.component.html index 9be619233e..8714ed94dc 100644 --- a/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-install-flow.component.html +++ b/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-install-flow.component.html @@ -55,9 +55,8 @@ } @if (selectAgent && !embedded && !checkingManaged && !managedApp) { -
    - auto_awesome +
    + info_outline agent.deploy-via-agent-desc
    } @@ -236,8 +235,8 @@ } @if (relatedEntityId) { -
    - info_outline +
    + info_outline agent.app-compose-creds-overridden-hint
    } @@ -300,8 +299,8 @@
    }
    -
    - info +
    + info_outline agent.app-install-confirm-info
    @if (relatedEntityId) { -
    - info_outline +
    + info_outline agent.app-compose-creds-overridden-hint
    } @@ -167,8 +167,8 @@ }
    -
    - info +
    + info_outline agent.app-install-confirm-info
    diff --git a/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-upgrade-flow.component.html b/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-upgrade-flow.component.html index d9a7ea8f85..aba02480fa 100644 --- a/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-upgrade-flow.component.html +++ b/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-upgrade-flow.component.html @@ -167,8 +167,8 @@
    }
    -
    - info +
    + info_outline agent.app-upgrade-rollback-info
    @if (isNoData) { -
    +
    + info_outline {{ 'alarm-rule.condition-type-hint' | translate }}
    } diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.scss b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.scss index d5e65c439a..91f07bce91 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.scss +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.scss @@ -225,7 +225,7 @@ $border: 1px solid mat.m2-get-color-from-palette($tb-primary); } .red-button { - color: #D12730; + color: var(--tb-crit); } .mat-form-field { diff --git a/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.html b/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.html index 7f88ab5be1..36c8999fed 100644 --- a/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.html @@ -86,10 +86,12 @@
    device.connectivity.execute-following-command
    -
    - warning - {{ 'api-key.generated-api-key-insecure-url' | translate }} -
    + @if (!secureUrl) { +
    + warning + {{ 'api-key.generated-api-key-insecure-url' | translate }} +
    + }
    diff --git a/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.scss b/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.scss index 810077ed52..c3ce2e93ee 100644 --- a/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.scss @@ -14,12 +14,6 @@ min-height: 42px; } - .insecure-url-warning { - .mat-icon { - color: #FAA405; - } - } - @media #{$mat-sm} { width: 470px; } diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-argument-panel.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-argument-panel.component.html index 1be553205c..6f6c84cc2f 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-argument-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-argument-panel.component.html @@ -1,15 +1,17 @@
    {{ 'calculated-fields.argument-settings' | translate }}
    @if (hint) { -
    - {{ hint | translate }} +
    + info_outline + {{ hint | translate }}
    }
    diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.html index 0ea3c7c290..aa23c6871a 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.html @@ -147,7 +147,7 @@ } @if (maxArgumentsPerCF && argumentsFormArray.length >= maxArgumentsPerCF) { -
    +
    warning {{ 'calculated-fields.hint.max-args' | translate }}
    diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.scss b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.scss index e946e9b8df..0090390195 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.scss +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 :host { .arguments-table { min-height: 108px; @@ -32,12 +33,6 @@ font-size: 16px; } - .max-args-warning { - .mat-icon { - color: #FAA405; - } - } - .tb-form-table-row-cell-buttons { --mat-badge-legacy-small-size-container-size: 8px; --mat-badge-small-size-container-overlap-offset: -5px; diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/entity-aggregation-configuration/entity-aggregation-component.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/entity-aggregation-configuration/entity-aggregation-component.component.html index 164d85cc75..f7ebf6cfd6 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/entity-aggregation-configuration/entity-aggregation-component.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/entity-aggregation-configuration/entity-aggregation-component.component.html @@ -10,8 +10,9 @@
    {{ 'calculated-fields.arguments' | translate }}
    -
    - {{ 'calculated-fields.entity-aggregation.argument-hint' | translate }} +
    + info_outline + {{ 'calculated-fields.entity-aggregation.argument-hint' | translate }}
    -
    - {{ hint }} +
    + info_outline + {{ hint }}
    }
    diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.html index 78b9bca5a1..e5e6c1fd7a 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.html @@ -156,7 +156,7 @@
    @if (maxRelationLevelPerCfArgument && levelsFormArray().length >= maxRelationLevelPerCfArgument) { -
    +
    warning {{ 'calculated-fields.max-allowed-levels-error' | translate }}
    diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.scss b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.scss index 1993234b7d..8d397ac264 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.scss +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @import '../../../../../../../scss/constants'; :host { @@ -31,12 +32,6 @@ } } - .max-args-warning { - .mat-icon { - color: #FAA405; - } - } - .limit-field-row { @media screen and (max-width: 520px) { display: flex; diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-table.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-table.component.html index 9eedfe33ba..df7e6e92ec 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-table.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-table.component.html @@ -146,7 +146,7 @@ } @if (maxArgumentsPerCF && zoneGroupsFormArray.length >= maxArgumentsPerCF) { -
    +
    warning {{ 'calculated-fields.hint.max-geofencing-zone' | translate }}
    diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/metrics/calculated-field-metrics-table.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/metrics/calculated-field-metrics-table.component.html index c0beaec543..ca59af4c7c 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/metrics/calculated-field-metrics-table.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/metrics/calculated-field-metrics-table.component.html @@ -134,7 +134,7 @@ } @if (maxArgumentsPerCF && metricsFormArray.length >= maxArgumentsPerCF) { -
    +
    warning {{ 'calculated-fields.metrics.max-metrics' | translate }}
    diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/reprocessing/calculated-field-reprocessing-panel.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/reprocessing/calculated-field-reprocessing-panel.component.html index 362a8da097..78b8a44074 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/reprocessing/calculated-field-reprocessing-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/reprocessing/calculated-field-reprocessing-panel.component.html @@ -15,8 +15,9 @@
    } @case (ReprocessingState.CONFIG) { -
    - {{ 'calculated-fields.hint.reprocessing' | translate }} +
    + info_outline + {{ 'calculated-fields.hint.reprocessing' | translate }}
    debug-settings.label
    @if (maxMessagesCount) {
    -
    - {{ 'debug-settings.hint.main-limited' | translate: { entity: (entityLabel | translate | lowercase), msg: maxMessagesCount, time: (maxTimeFrameDuration | milliSecondsToTimeString: true : true) } }} +
    + info_outline + {{ 'debug-settings.hint.main-limited' | translate: { entity: (entityLabel | translate | lowercase), msg: maxMessagesCount, time: (maxTimeFrameDuration | milliSecondsToTimeString: true : true) } }}
    } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html index bd5f7a6775..905db77aca 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html @@ -1,7 +1,8 @@
    @@ -77,7 +78,10 @@ }

    @if (planSummary.missing > 0) { -

    {{ 'iot-hub.install-plan-missing-warning' | translate:{ count: planSummary.missing } }}

    +
    + warning + {{ 'iot-hub.install-plan-missing-warning' | translate:{ count: planSummary.missing } }} +
    }
      @for (entry of installPlan?.entries; track entry.itemId) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss index b9fabe0fd0..f8f6a045be 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @import "../../../../../scss/constants"; tb-entity-select { @@ -44,17 +45,6 @@ tb-entity-select { padding-bottom: 24px; } -.tb-iot-hub-install-warning { - color: #b26a00; - background: #fff8e1; - border-left: 3px solid #f5b324; - padding: 8px 12px; - font-size: 13px; - line-height: 18px; - border-radius: 4px; - margin: 0; -} - .tb-iot-hub-plan-list { list-style: none; padding: 0; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.scss index 27344c659b..8c5ec3e5d5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 $text-color: rgba(0,0,0,0.76); $link-color: #2a7dec; $copy-button-color: #2a7dec; @@ -371,41 +372,6 @@ $gallery-border-hover-color: #2a7dec; } } - .tb-callout { - display: flex; - align-items: flex-start; - gap: 10px; - padding: 12px 16px; - border-radius: 4px; - border: 1px solid; - margin: 12px 0; - font-size: 14px; - line-height: 20px; - - .tb-callout-icon { - font-size: 20px; - flex-shrink: 0; - } - - &.tb-callout-note { - background: #e3f2fd; - border-color: #90caf9; - color: #1565c0; - } - - &.tb-callout-warn { - background: #fff8e1; - border-color: #ffe082; - color: #f57f17; - } - - &.tb-callout-error { - background: #fce4ec; - border-color: #ef9a9a; - color: #c62828; - } - } - .tb-gallery-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.ts index f70adf196a..4bdfabf879 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.ts @@ -222,8 +222,9 @@ export class TbIotHubMarkdownComponent implements OnInit, OnChanges { if (calloutMatch) { const type = calloutMatch[1]; const text = calloutMatch[2]; - const icons: Record = { note: 'info_outline', warn: 'warning_amber', error: 'error_outline' }; - return `
      ${icons[type]}${text}
      `; + const icons: Record = { note: 'info_outline', warn: 'warning', error: 'error_outline' }; + const modifiers: Record = { note: '', warn: ' tb-form-hint-warning', error: ' tb-form-hint-error' }; + return `
      ${text}
      `; } // Special variables diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.html b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.html index 15f5b47343..641aa53838 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.html +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.html @@ -46,9 +46,9 @@
      @if (!isTransportWasRunWithBootstrap) { -
      - warning - LwM2M transport was run without bootstrap server +
      + warning + device-profile.lwm2m.transport-run-without-bootstrap-server
      } diff --git a/ui-ngx/src/app/modules/home/components/rule-node/action/device-profile-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/action/device-profile-config.component.html index 72bebe8663..287e362610 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/action/device-profile-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/action/device-profile-config.component.html @@ -1,11 +1,15 @@
      -
      rule-node-config.device-profile-node-hint
      +
      + info_outline + rule-node-config.device-profile-node-hint +
      diff --git a/ui-ngx/src/app/modules/home/components/rule-node/action/gps-geo-action-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/action/gps-geo-action-config.component.html index 6f7c9768ab..841ecca07b 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/action/gps-geo-action-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/action/gps-geo-action-config.component.html @@ -1,7 +1,8 @@
      @@ -28,7 +29,10 @@ }
      -
      rule-node-config.coordinate-field-hint
      +
      + info_outline + rule-node-config.coordinate-field-hint +
      @@ -154,9 +158,11 @@ }
    -
    {{ geoActionConfigForm.get('reportPresenceStatusOnEachMessage').value === false ? - ('rule-node-config.presence-monitoring-strategy-on-first-message-hint' | translate) : - ('rule-node-config.presence-monitoring-strategy-on-each-message-hint' | translate) }} +
    + info_outline + {{ geoActionConfigForm.get('reportPresenceStatusOnEachMessage').value === false ? + ('rule-node-config.presence-monitoring-strategy-on-first-message-hint' | translate) : + ('rule-node-config.presence-monitoring-strategy-on-each-message-hint' | translate) }}
    @if (geoActionConfigForm.get('reportPresenceStatusOnEachMessage').value === false) { diff --git a/ui-ngx/src/app/modules/home/components/rule-node/common/credentials-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/common/credentials-config.component.html index f8c355bfbf..002dcba031 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/common/credentials-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/common/credentials-config.component.html @@ -52,7 +52,10 @@ } @case("cert.PEM") { -
    {{ 'rule-node-config.credentials-pem-hint' | translate }}
    +
    + info_outline + {{ 'rule-node-config.credentials-pem-hint' | translate }} +
    -
    -
    - @if (popupHelpLink) { -
    -
    - } -
    +@if (hintText) { +
    + info_outline +
    + @if (popupHelpLink) { +
    +
    + } +
    +} diff --git a/ui-ngx/src/app/modules/home/components/rule-node/common/kv-map-config-old.component.html b/ui-ngx/src/app/modules/home/components/rule-node/common/kv-map-config-old.component.html index 85120828d5..273e8e328f 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/common/kv-map-config-old.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/common/kv-map-config-old.component.html @@ -1,12 +1,16 @@
    @if (description) { -
    +
    + info_outline + +
    } @if (keyValsFormArray().controls.length || !emptyText) {
    diff --git a/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.html index ae70e36b62..c0ae088831 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.html @@ -94,9 +94,9 @@
    -
    - error_outline -
    +
    + {{ getTelemetryFromDatabaseConfigForm.get('interval').valid ? 'info_outline' : 'error_outline' }} + @if (getTelemetryFromDatabaseConfigForm.get('interval').valid) { {{ 'rule-node-config.fetch-timeseries-from-to' | translate: { @@ -108,7 +108,7 @@ } @else { {{ "rule-node-config.fetch-timeseries-from-to-invalid" | translate }} } -
    +
    } @else { @@ -152,7 +152,8 @@
    - {{ deduplicationStrategiesHintTranslations.get(getTelemetryFromDatabaseConfigForm.get('fetchMode').value) | translate }} + info_outline + {{ deduplicationStrategiesHintTranslations.get(getTelemetryFromDatabaseConfigForm.get('fetchMode').value) | translate }}
    @if (getTelemetryFromDatabaseConfigForm.get('fetchMode').value === fetchMode.ALL) { diff --git a/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.scss b/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.scss index 41f1d98916..0999a2d1d3 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.scss +++ b/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.scss @@ -1,43 +1,12 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 :host { .see-example { display: inline-block; } - .description-block { - display: flex; - align-items: center; - border-radius: 6px; - border: 1px solid #EAEAEA; - - .description-icon { - font-size: 24px; - height: 24px; - min-height: 24px; - width: 24px; - min-width: 24px; - line-height: 24px; - color: #D9D9D9; - margin: 4px; - } - - .description-text { - font-size: 12px; - line-height: 16px; - letter-spacing: 0.25px; - margin: 6px; - } - - &.error { - color: var(--mat-theme-error, #f44336); - - .description-icon { - color: var(--mat-theme-error, #f44336); - } - } - } .item-center { align-items: center; diff --git a/ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.html index ff0c88665c..16accc7980 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.html @@ -51,7 +51,10 @@ {{ 'rule-node-config.headers' | translate }} -
    +
    + info_outline + +
    @if(!restApiCallConfigForm.get('ignoreRequestBody').value) { -
    +
    + info_outline + +
    rule-node-config.request-body-template