socket client
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.eactive.testmaster.client.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import java.io.Serializable;
|
||||
@@ -53,6 +54,9 @@ public class ApiLayoutDTO implements Serializable {
|
||||
@JsonProperty("layoutItems")
|
||||
List<ApiLayoutItemDTO> layoutItems = new ArrayList<>();
|
||||
|
||||
@JsonProperty("computedLayoutItemRoot")
|
||||
private ApiLayoutItemDTO computedLayoutItemRoot = null;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
@@ -164,4 +168,30 @@ public class ApiLayoutDTO implements Serializable {
|
||||
public void setLayoutItems(List<ApiLayoutItemDTO> layoutItems) {
|
||||
this.layoutItems = layoutItems;
|
||||
}
|
||||
|
||||
public ApiLayoutItemDTO getComputedLayoutItemRoot() {
|
||||
return computedLayoutItemRoot;
|
||||
}
|
||||
|
||||
public void setComputedLayoutItemRoot(ApiLayoutItemDTO computedLayoutItemRoot) {
|
||||
this.computedLayoutItemRoot = computedLayoutItemRoot;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public String buildMessage() {
|
||||
if (computedLayoutItemRoot == null || computedLayoutItemRoot.getChildren().isEmpty()) {
|
||||
return "";
|
||||
}
|
||||
|
||||
StringBuilder message = new StringBuilder();
|
||||
for (ApiLayoutItemDTO item : computedLayoutItemRoot.getChildren()) {
|
||||
message.append(item.buildMessage());
|
||||
}
|
||||
|
||||
return message.toString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,14 +1,29 @@
|
||||
package com.eactive.testmaster.client.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ApiLayoutItemDTO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public ApiLayoutItemDTO(Long id, Long parent, String loutItemType, String loutName, Integer loutItemDepth, Integer loutItemLength, String value) {
|
||||
this.id = id;
|
||||
this.loutItemSerno = id.intValue();
|
||||
this.parent = parent;
|
||||
this.loutItemType = loutItemType;
|
||||
this.loutName = loutName;
|
||||
this.loutItemDepth = loutItemDepth;
|
||||
this.level = loutItemDepth;
|
||||
this.loutItemLength = loutItemLength;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@JsonProperty("itemId")
|
||||
private Long itemId;
|
||||
|
||||
@@ -81,6 +96,14 @@ public class ApiLayoutItemDTO implements Serializable {
|
||||
@JsonProperty(value = "value", defaultValue = "")
|
||||
private String value;
|
||||
|
||||
private List<ApiLayoutItemDTO> children = new ArrayList<>();
|
||||
|
||||
private int childOccCnt;
|
||||
|
||||
public ApiLayoutItemDTO() {
|
||||
}
|
||||
|
||||
|
||||
public Long getItemId() {
|
||||
return itemId;
|
||||
}
|
||||
@@ -272,4 +295,53 @@ public class ApiLayoutItemDTO implements Serializable {
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public List<ApiLayoutItemDTO> getChildren() {
|
||||
return children;
|
||||
}
|
||||
|
||||
public void setChildren(List<ApiLayoutItemDTO> children) {
|
||||
this.children = children;
|
||||
}
|
||||
|
||||
public int getChildOccCnt() {
|
||||
return childOccCnt;
|
||||
}
|
||||
|
||||
public void setChildOccCnt(int childOccCnt) {
|
||||
this.childOccCnt = childOccCnt;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public String fillPadding(int dataLength, String value) {
|
||||
StringBuilder sb = new StringBuilder(value);
|
||||
while (sb.length() < dataLength) {
|
||||
sb.insert(0, ' '); // Adds space at the beginning of the string
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public String buildMessage() {
|
||||
if (this.getLoutItemType().equalsIgnoreCase("Field") || this.getLoutItemType().equalsIgnoreCase("Attr")) {
|
||||
return fillPadding(this.getLoutItemLength(), this.getValue());
|
||||
} else if (this.getLoutItemType().equalsIgnoreCase("Group") || this.getLoutItemType().equalsIgnoreCase("Grid")) {
|
||||
if (this.getChildren() == null || this.getChildren().isEmpty()) {
|
||||
return "";
|
||||
}
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
// sb.append("[");
|
||||
for (int i = 0; i < this.getChildOccCnt(); i++) {
|
||||
for (ApiLayoutItemDTO child : this.getChildren()) {
|
||||
sb.append(child.buildMessage());
|
||||
}
|
||||
}
|
||||
// sb.append("]");
|
||||
return sb.toString();
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,312 @@
|
||||
package com.eactive.testmaster.client.dto;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public class ApiLayoutItemTreeBuilder {
|
||||
|
||||
public static ApiLayoutItemDTO createTree(List<ApiLayoutItemDTO> layoutItems) {
|
||||
layoutItems.sort(Comparator.comparing(ApiLayoutItemDTO::getLoutItemSerno));
|
||||
|
||||
Long rootId = layoutItems.get(0).getParent();
|
||||
ApiLayoutItemDTO root = new ApiLayoutItemDTO();
|
||||
root.setLevel(0);
|
||||
root.setId(rootId);
|
||||
|
||||
Map<Long, ApiLayoutItemDTO> nodeMap = new HashMap<>();
|
||||
nodeMap.put(rootId, root);
|
||||
|
||||
for (ApiLayoutItemDTO item : layoutItems) {
|
||||
if (item.getLoutItemType().equals("Grid") || item.getLoutItemType().equals("Group")) {
|
||||
if (item.getLoutItemOccRef() != null && item.getLoutItemOccCnt().equals("*")) {
|
||||
for (ApiLayoutItemDTO parent : layoutItems) {
|
||||
if (parent.getLoutItemName().equals(item.getLoutItemOccRef())) {
|
||||
item.setChildOccCnt(Integer.parseInt(parent.getValue()));
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else if (item.getLoutItemOccCnt() != null) {
|
||||
item.setChildOccCnt(Integer.parseInt(item.getLoutItemOccCnt()));
|
||||
}
|
||||
}
|
||||
|
||||
if (nodeMap.containsKey(item.getParent())) {
|
||||
nodeMap.get(item.getParent()).getChildren().add(item);
|
||||
}
|
||||
nodeMap.put(item.getId(), item);
|
||||
}
|
||||
|
||||
return root;
|
||||
}
|
||||
|
||||
public static void moveNode(ApiLayoutItemDTO root, ApiLayoutItemDTO node, boolean moveUp) {
|
||||
ApiLayoutItemDTO parent = getParentNode(root, node);
|
||||
if (parent == null) {
|
||||
// Node is the root node, cannot be moved
|
||||
return;
|
||||
}
|
||||
|
||||
List<ApiLayoutItemDTO> siblings = parent.getChildren();
|
||||
int currentIndex = siblings.indexOf(node);
|
||||
if (currentIndex == -1) {
|
||||
// Node not found in parent's children list
|
||||
return;
|
||||
}
|
||||
|
||||
int newIndex = moveUp ? currentIndex - 1 : currentIndex + 1;
|
||||
if (newIndex >= 0 && newIndex < siblings.size()) {
|
||||
// Swap the positions of the current node and the node at the new index
|
||||
siblings.set(currentIndex, siblings.get(newIndex));
|
||||
siblings.set(newIndex, node);
|
||||
}
|
||||
}
|
||||
|
||||
private static ApiLayoutItemDTO getParentNode(ApiLayoutItemDTO root, ApiLayoutItemDTO node) {
|
||||
if (node.getParent() == null) {
|
||||
return null; // Node is the root node
|
||||
}
|
||||
|
||||
return getNodeById(root, node.getParent());
|
||||
}
|
||||
|
||||
private static int getNodeIndex(ApiLayoutItemDTO parent, ApiLayoutItemDTO node) {
|
||||
return parent.getChildren().indexOf(node);
|
||||
}
|
||||
|
||||
public static ApiLayoutItemDTO getNodeById(ApiLayoutItemDTO node, Long id) {
|
||||
if (node.getId().equals(id)) {
|
||||
return node;
|
||||
}
|
||||
|
||||
for (ApiLayoutItemDTO child : node.getChildren()) {
|
||||
ApiLayoutItemDTO found = getNodeById(child, id);
|
||||
if (found != null) {
|
||||
return found;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
private static ApiLayoutItemDTO findParent(ApiLayoutItemDTO root, ApiLayoutItemDTO node) {
|
||||
if (root == null || node == null) {
|
||||
return null; // Invalid input
|
||||
}
|
||||
|
||||
if (root.getChildren().contains(node)) {
|
||||
return root; // The root is the parent of the node
|
||||
}
|
||||
|
||||
for (ApiLayoutItemDTO child : root.getChildren()) {
|
||||
ApiLayoutItemDTO parent = findParent(child, node);
|
||||
if (parent != null) {
|
||||
return parent;
|
||||
}
|
||||
}
|
||||
|
||||
return null; // Node not found in the tree
|
||||
}
|
||||
|
||||
// private static ApiLayoutItemDTO findParentAtLevel(ApiLayoutItemDTO node, int targetLevel, ApiLayoutItemDTO excludedNode) {
|
||||
// if (node.getLoutItemDepth() == targetLevel && !node.equals(excludedNode)) {
|
||||
// return node;
|
||||
// }
|
||||
//
|
||||
// if (node.getChildren() == null) {
|
||||
// return null;
|
||||
// }
|
||||
// for (ApiLayoutItemDTO child : node.getChildren()) {
|
||||
// if (!child.equals(excludedNode)) {
|
||||
// ApiLayoutItemDTO foundParent = findParentAtLevel(child, targetLevel, excludedNode);
|
||||
// if (foundParent != null) {
|
||||
// return foundParent;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// return null;
|
||||
// }
|
||||
|
||||
public static void printTree(ApiLayoutItemDTO root) {
|
||||
System.out.println("====================================");
|
||||
printNode(root, 0);
|
||||
System.out.println("====================================");
|
||||
}
|
||||
|
||||
private static void printNode(ApiLayoutItemDTO node, int level) {
|
||||
if (node == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Print indentation based on the level
|
||||
for (int i = 0; i < level; i++) {
|
||||
System.out.print(" ");
|
||||
}
|
||||
|
||||
// Print the node information
|
||||
System.out.println(node.getId() + ": " + node.getLoutName() + "[" + node.getLoutItemType() + ", Level: " + node.getLoutItemDepth() + ", Serno: " + node.getLoutItemSerno() + "]");
|
||||
|
||||
// Recursively print the children
|
||||
if (node.getChildren() != null) {
|
||||
for (ApiLayoutItemDTO child : node.getChildren()) {
|
||||
printNode(child, level + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void moveNodeDepth(ApiLayoutItemDTO root, ApiLayoutItemDTO node, int newDepth) {
|
||||
if (node == null || root == null || newDepth < 0) {
|
||||
// Invalid input
|
||||
return;
|
||||
}
|
||||
|
||||
ApiLayoutItemDTO parent = getParentNode(root, node);
|
||||
if (parent == null) {
|
||||
// Node is the root node, cannot be moved to a different level
|
||||
return;
|
||||
}
|
||||
|
||||
int currentDepth = node.getLoutItemDepth();
|
||||
int nodeIndex = getNodeIndex(parent, node);
|
||||
ApiLayoutItemDTO nextSibling = findClosestSibling(parent.getChildren(), nodeIndex);
|
||||
parent.getChildren().remove(node);
|
||||
|
||||
if (newDepth > currentDepth) {
|
||||
// Moving to a higher depth
|
||||
|
||||
if (nextSibling != null) {
|
||||
nextSibling.getChildren().add(node);
|
||||
node.setParent(nextSibling.getId());
|
||||
node.setLoutItemDepth(newDepth);
|
||||
adjustChildrenDepth(node, newDepth + 1);
|
||||
} else {
|
||||
// No next sibling found, add the node back to the original parent
|
||||
parent.getChildren().add(node);
|
||||
}
|
||||
} else {
|
||||
// Moving to a lower depth
|
||||
ApiLayoutItemDTO newParent = findParent(root, parent);
|
||||
if (newParent != null) {
|
||||
newParent.getChildren().add(node);
|
||||
node.setParent(newParent.getId());
|
||||
node.setLoutItemDepth(newDepth);
|
||||
adjustChildrenDepth(node, newDepth + 1);
|
||||
} else {
|
||||
// No parent found at the desired level, add the node back to the original parent
|
||||
parent.getChildren().add(node);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void adjustChildrenDepth(ApiLayoutItemDTO node, int depth) {
|
||||
for (ApiLayoutItemDTO child : node.getChildren()) {
|
||||
child.setLoutItemDepth(depth);
|
||||
adjustChildrenDepth(child, depth + 1);
|
||||
}
|
||||
}
|
||||
|
||||
private static ApiLayoutItemDTO findNextSibling(List<ApiLayoutItemDTO> siblings) {
|
||||
if (siblings == null || siblings.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return siblings.get(0);
|
||||
}
|
||||
|
||||
private static ApiLayoutItemDTO findClosestSibling(List<ApiLayoutItemDTO> siblings, int nodeIndex) {
|
||||
if (siblings == null || siblings.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
if (nodeIndex < 1 || nodeIndex >= siblings.size()) {
|
||||
return findNextSibling(siblings);
|
||||
}
|
||||
return siblings.get(nodeIndex - 1);
|
||||
|
||||
}
|
||||
|
||||
private static ApiLayoutItemDTO findClosestSibling(List<ApiLayoutItemDTO> siblings, ApiLayoutItemDTO node) {
|
||||
int currentIndex = siblings.indexOf(node);
|
||||
if (currentIndex == -1) {
|
||||
return null; // Node not found in the siblings list
|
||||
}
|
||||
|
||||
int closestIndex = -1;
|
||||
int minDistance = Integer.MAX_VALUE;
|
||||
|
||||
// Find the sibling with the minimum distance from the current node
|
||||
for (int i = 0; i < siblings.size(); i++) {
|
||||
if (i != currentIndex) {
|
||||
int distance = Math.abs(siblings.get(i).getLoutItemSerno() - node.getLoutItemSerno());
|
||||
if (distance < minDistance) {
|
||||
minDistance = distance;
|
||||
closestIndex = i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (closestIndex == -1) {
|
||||
return null; // No other siblings found
|
||||
}
|
||||
|
||||
return siblings.get(closestIndex);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
ApiLayoutItemDTO root = new ApiLayoutItemDTO();
|
||||
root.setId(1L);
|
||||
root.setLoutName("ROOT");
|
||||
root.setLoutItemDepth(0);
|
||||
root.setChildren(new ArrayList<>(List.of(
|
||||
new ApiLayoutItemDTO(2L, 1L, "Field", "Child 2", 1, 10, "TEST11"),
|
||||
new ApiLayoutItemDTO(3L, 1L, "Group", "Child 3", 1, 0, ""),
|
||||
new ApiLayoutItemDTO(4L, 1L, "Field", "Child 4", 1, 10, "TEST21"),
|
||||
new ApiLayoutItemDTO(5L, 1L, "Field", "Child 5", 1, 10, "TEST22"),
|
||||
// new ApiLayoutItemDTO(6L, 1L, "Group", "Child 6", 1, 0, ""),
|
||||
new ApiLayoutItemDTO(7L, 1L, "Field", "Child 7", 1, 10, "TEST31"),
|
||||
new ApiLayoutItemDTO(8L, 1L, "Field", "Child 8", 1, 10, "TEST33"),
|
||||
new ApiLayoutItemDTO(9L, 1L, "Group", "Child 9", 1, 0, ""),
|
||||
new ApiLayoutItemDTO(10L, 1L, "Field", "Child 10", 1, 10, "TEST31"),
|
||||
new ApiLayoutItemDTO(11L, 1L, "Field", "Child 11", 1, 10, "TEST33")
|
||||
)));
|
||||
|
||||
for (ApiLayoutItemDTO item : root.getChildren()) {
|
||||
item.setChildOccCnt(1);
|
||||
}
|
||||
|
||||
System.out.println("Before moving:");
|
||||
printTree(root);
|
||||
|
||||
moveNodeDepth(root, getNodeById(root, 4L), getNodeById(root, 4L).getLoutItemDepth() + 1);
|
||||
printTree(root);
|
||||
moveNodeDepth(root, getNodeById(root, 5L), getNodeById(root, 5L).getLoutItemDepth() + 1);
|
||||
printTree(root);
|
||||
moveNodeDepth(root, getNodeById(root, 7L), getNodeById(root, 7L).getLoutItemDepth() + 1);
|
||||
printTree(root);
|
||||
moveNodeDepth(root, getNodeById(root, 8L), getNodeById(root, 8L).getLoutItemDepth() + 1);
|
||||
printTree(root);
|
||||
moveNodeDepth(root, getNodeById(root, 10L), getNodeById(root, 10L).getLoutItemDepth() + 1);
|
||||
printTree(root);
|
||||
moveNodeDepth(root, getNodeById(root, 11L), getNodeById(root, 11L).getLoutItemDepth() + 1);
|
||||
printTree(root);
|
||||
moveNodeDepth(root, getNodeById(root, 9L), getNodeById(root, 9L).getLoutItemDepth() + 1);
|
||||
printTree(root);
|
||||
// moveNodeDepth(root, getNodeById(root, 6L), getNodeById(root, 6L).getLoutItemDepth() + 1);
|
||||
// printTree(root);
|
||||
moveNodeDepth(root, getNodeById(root, 9L), getNodeById(root, 9L).getLoutItemDepth() - 1);
|
||||
printTree(root);
|
||||
|
||||
moveNodeDepth(root, getNodeById(root, 9L), getNodeById(root, 9L).getLoutItemDepth() - 1);
|
||||
printTree(root);
|
||||
|
||||
moveNode(root, getNodeById(root, 9L), true);
|
||||
|
||||
moveNodeDepth(root, getNodeById(root, 3L), getNodeById(root, 3L).getLoutItemDepth() + 1);
|
||||
printTree(root);
|
||||
|
||||
ApiLayoutDTO layout = new ApiLayoutDTO();
|
||||
layout.setComputedLayoutItemRoot(root);
|
||||
System.out.println(layout.buildMessage());
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,7 @@ import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.Lob;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@@ -66,6 +67,7 @@ public class ApiLayoutItem {
|
||||
|
||||
private String loutItemPath;
|
||||
|
||||
@Lob
|
||||
private String value;
|
||||
|
||||
public Long getItemId() {
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.eactive.testmaster.client.dto.ApiLayoutItemDTO;
|
||||
import com.eactive.testmaster.client.entity.ApiLayoutItem;
|
||||
import com.eactive.testmaster.client.repository.ApiLayoutItemRepository;
|
||||
import com.eactive.testmaster.common.mapper.CommonMapper;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import java.util.List;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.ReportingPolicy;
|
||||
@@ -36,4 +37,5 @@ public abstract class ApiLayoutItemMapper {
|
||||
|
||||
// Method to map lists of ApiLayoutItem entities to lists of ApiLayoutItemDTOs
|
||||
public abstract List<ApiLayoutItemDTO> mapItemDTOs(List<ApiLayoutItem> entities);
|
||||
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import com.eactive.testmaster.client.dto.ApiRequestKeyValueDTO;
|
||||
import com.eactive.testmaster.client.dto.ApiResponse;
|
||||
import com.eactive.testmaster.common.exception.ServerNotFoundException;
|
||||
import com.eactive.testmaster.server.entity.Server;
|
||||
import com.eactive.testmaster.server.entity.ServerRepository;
|
||||
import com.eactive.testmaster.server.repository.ServerRepository;
|
||||
import io.netty.bootstrap.Bootstrap;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.Unpooled;
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
package com.eactive.testmaster.client.service;
|
||||
|
||||
import com.eactive.testmaster.client.dto.ApiRequestDTO;
|
||||
import com.eactive.testmaster.client.dto.ApiRequestKeyValueDTO;
|
||||
import com.eactive.testmaster.client.dto.ApiResponse;
|
||||
import com.eactive.testmaster.common.exception.ServerNotFoundException;
|
||||
import com.eactive.testmaster.server.entity.Server;
|
||||
import com.eactive.testmaster.server.entity.ServerRepository;
|
||||
import com.eactive.testmaster.server.entity.ServerOption;
|
||||
import com.eactive.testmaster.server.repository.ServerRepository;
|
||||
import io.netty.bootstrap.Bootstrap;
|
||||
import io.netty.channel.ChannelFuture;
|
||||
import io.netty.channel.ChannelHandlerContext;
|
||||
@@ -34,6 +36,14 @@ public class NettyTcpApiClient implements ApiClient {
|
||||
this.serverRepository = serverRepository;
|
||||
}
|
||||
|
||||
public String fillPadding(int dataLength, String value) {
|
||||
StringBuilder sb = new StringBuilder(value);
|
||||
while (sb.length() < dataLength) {
|
||||
sb.insert(0, ' '); // Adds space at the beginning of the string
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public CompletableFuture<ApiResponse> handleRequest(ApiRequestDTO apiRequest) {
|
||||
Server server = serverRepository.findById(apiRequest.getServer()).orElseThrow(() -> new ServerNotFoundException("Server not found"));
|
||||
String host = server.getHostname();
|
||||
@@ -42,11 +52,25 @@ public class NettyTcpApiClient implements ApiClient {
|
||||
CompletableFuture<ApiResponse> responseFuture = new CompletableFuture<>();
|
||||
EventLoopGroup group = new NioEventLoopGroup();
|
||||
try {
|
||||
String response = sendMessage(host, port, group, apiRequest.getRequestBody());
|
||||
StringBuilder message = new StringBuilder();
|
||||
|
||||
for (int i = 0; i < server.getServerOptions().size(); i++) {
|
||||
ServerOption serverOption = server.getServerOptions().get(i);
|
||||
if (serverOption.isEnabled()) {
|
||||
ApiRequestKeyValueDTO header = apiRequest.getHeaders().stream().filter(h -> h.getKey().equals(serverOption.getOptionKey())).findFirst().orElse(null);
|
||||
if (header != null) {
|
||||
String value = header.getValue();
|
||||
message.append(fillPadding(serverOption.getLength(), value));
|
||||
}
|
||||
}
|
||||
}
|
||||
message.append(apiRequest.getLayout().buildMessage());
|
||||
String response = sendMessage(host, port, group, message.toString());
|
||||
|
||||
ApiResponse apiResponse = new ApiResponse();
|
||||
apiResponse.setBody(response);
|
||||
responseFuture.complete(apiResponse);
|
||||
} catch (InterruptedException e) {
|
||||
} catch (Exception e) {
|
||||
Thread.currentThread().interrupt();
|
||||
ApiResponse response = new ApiResponse();
|
||||
response.setBody("An error occurred: " + e.getMessage());
|
||||
@@ -58,6 +82,7 @@ public class NettyTcpApiClient implements ApiClient {
|
||||
}
|
||||
|
||||
public String sendMessage(String host, int port, EventLoopGroup group, final String message) throws InterruptedException {
|
||||
logger.debug(message);
|
||||
final BlockingQueue<String> answer = new ArrayBlockingQueue<>(1);
|
||||
Bootstrap b = new Bootstrap();
|
||||
b.group(group)
|
||||
|
||||
+3
@@ -17,6 +17,7 @@ public class CustomGlobalExceptionHandler extends ResponseEntityExceptionHandler
|
||||
|
||||
@ExceptionHandler(NotFoundException.class)
|
||||
public ResponseEntity<CustomErrorResponse> customHandleNotFound(Exception ex, WebRequest request) {
|
||||
ex.printStackTrace();
|
||||
CustomErrorResponse errors = new CustomErrorResponse();
|
||||
errors.setTimestamp(LocalDateTime.now());
|
||||
errors.setError(ex.getMessage());
|
||||
@@ -26,6 +27,7 @@ public class CustomGlobalExceptionHandler extends ResponseEntityExceptionHandler
|
||||
|
||||
@ExceptionHandler(RuntimeException.class)
|
||||
public ResponseEntity<CustomErrorResponse> customHandleRuntime(Exception ex, WebRequest request) {
|
||||
ex.printStackTrace();
|
||||
CustomErrorResponse errors = new CustomErrorResponse();
|
||||
errors.setTimestamp(LocalDateTime.now());
|
||||
errors.setError(ex.getMessage());
|
||||
@@ -35,6 +37,7 @@ public class CustomGlobalExceptionHandler extends ResponseEntityExceptionHandler
|
||||
|
||||
@ExceptionHandler(UserNotLoginException.class)
|
||||
public ResponseEntity<CustomErrorResponse> customHandleUserNotLogin(Exception ex, WebRequest request) {
|
||||
ex.printStackTrace();
|
||||
CustomErrorResponse errors = new CustomErrorResponse();
|
||||
errors.setTimestamp(LocalDateTime.now());
|
||||
errors.setError(ex.getMessage());
|
||||
|
||||
+1
@@ -20,6 +20,7 @@ public class PortalGlobalExceptionHandler {
|
||||
@ExceptionHandler(value = NotFoundException.class)
|
||||
public ModelAndView handleIllegalArgumentException(HttpServletRequest request, NotFoundException ex) {
|
||||
log.error(ex.getMessage());
|
||||
ex.printStackTrace();
|
||||
ModelAndView modelAndView = new ModelAndView();
|
||||
modelAndView.setViewName("error");
|
||||
modelAndView.addObject("exception", ex);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.eactive.testmaster.loadtest.service;
|
||||
|
||||
import com.eactive.testmaster.client.dto.ApiLayoutItemDTO;
|
||||
import com.eactive.testmaster.client.dto.ApiRequestDTO;
|
||||
import com.eactive.testmaster.client.dto.ApiRequestKeyValueDTO;
|
||||
import com.eactive.testmaster.client.dto.ApiResponse;
|
||||
@@ -146,9 +147,10 @@ public class VirtualUser implements Runnable {
|
||||
try {
|
||||
if (currentNode.getApiRequest() != null) {
|
||||
ApiRequestDTO cloned = SerializationUtils.clone(currentNode.getApiRequest());
|
||||
ApiRequestDTO replaced = null;
|
||||
|
||||
executePreRequestScript(cloned);
|
||||
ApiRequestDTO replaced = replacePlaceHoldersWithVariables(cloned);
|
||||
replaced = replacePlaceHoldersWithVariables(cloned);
|
||||
|
||||
long startTime = System.currentTimeMillis();
|
||||
ApiResponse response = apiClientFactory.getClient(replaced).handleRequest(replaced).get();
|
||||
@@ -158,6 +160,7 @@ public class VirtualUser implements Runnable {
|
||||
executePostRequestScript(replaced, response);
|
||||
LoadTestRequestAndResponse requestAndResponse = new LoadTestRequestAndResponse(replaced, response, responseTime);
|
||||
loadTestService.sendLoadTestUpdate(testId, requestAndResponse);
|
||||
|
||||
}
|
||||
} catch (InterruptedException | ExecutionException e) {
|
||||
loadTestService.sendLoadTestError(testId, "An error occurred: " + e.getMessage());
|
||||
@@ -224,11 +227,27 @@ public class VirtualUser implements Runnable {
|
||||
if (apiRequest.getQueryParams() != null) {
|
||||
apiRequest.setQueryParams(replaceInList(apiRequest.getQueryParams(), placeholder, value));
|
||||
}
|
||||
if (apiRequest.getLayout() != null && apiRequest.getLayout().getLayoutItems() != null) {
|
||||
apiRequest.getLayout().setLayoutItems(replaceInLayoutItems(apiRequest.getLayout().getLayoutItems(), placeholder, value));
|
||||
}
|
||||
}
|
||||
|
||||
return apiRequest;
|
||||
}
|
||||
|
||||
private List<ApiLayoutItemDTO> replaceInLayoutItems(List<ApiLayoutItemDTO> originalList, String placeholder, String value) {
|
||||
List<ApiLayoutItemDTO> replacedList = new ArrayList<>();
|
||||
Pattern pattern = Pattern.compile(placeholder);
|
||||
|
||||
for (ApiLayoutItemDTO item : originalList) {
|
||||
String replacedValue = pattern.matcher(item.getValue()).replaceAll(value);
|
||||
item.setValue(replacedValue);
|
||||
replacedList.add(item);
|
||||
}
|
||||
|
||||
return replacedList;
|
||||
}
|
||||
|
||||
private List<ApiRequestKeyValueDTO> replaceInList(List<ApiRequestKeyValueDTO> originalList, String placeholder, String value) {
|
||||
List<ApiRequestKeyValueDTO> replacedList = new ArrayList<>();
|
||||
Pattern pattern = Pattern.compile(placeholder);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.eactive.testmaster.server.dto;
|
||||
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
|
||||
public class ServerDTO {
|
||||
@@ -22,17 +23,7 @@ public class ServerDTO {
|
||||
|
||||
private boolean enabled = true;
|
||||
|
||||
private boolean messageKeyInclude = false;
|
||||
|
||||
private Integer messageKeyOffset;
|
||||
|
||||
private Integer messageKeyLength;
|
||||
|
||||
private boolean lengthFieldInclude = false;
|
||||
|
||||
private Integer lengthFieldOffset;
|
||||
|
||||
private Integer lengthFieldLength;
|
||||
private List<ServerOptionDTO> serverOptions;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
@@ -90,51 +81,11 @@ public class ServerDTO {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
public boolean isMessageKeyInclude() {
|
||||
return messageKeyInclude;
|
||||
public List<ServerOptionDTO> getServerOptions() {
|
||||
return serverOptions;
|
||||
}
|
||||
|
||||
public void setMessageKeyInclude(boolean messageKeyInclude) {
|
||||
this.messageKeyInclude = messageKeyInclude;
|
||||
}
|
||||
|
||||
public Integer getMessageKeyOffset() {
|
||||
return messageKeyOffset;
|
||||
}
|
||||
|
||||
public void setMessageKeyOffset(Integer messageKeyOffset) {
|
||||
this.messageKeyOffset = messageKeyOffset;
|
||||
}
|
||||
|
||||
public Integer getMessageKeyLength() {
|
||||
return messageKeyLength;
|
||||
}
|
||||
|
||||
public void setMessageKeyLength(Integer messageKeyLength) {
|
||||
this.messageKeyLength = messageKeyLength;
|
||||
}
|
||||
|
||||
public boolean isLengthFieldInclude() {
|
||||
return lengthFieldInclude;
|
||||
}
|
||||
|
||||
public void setLengthFieldInclude(boolean lengthFieldInclude) {
|
||||
this.lengthFieldInclude = lengthFieldInclude;
|
||||
}
|
||||
|
||||
public Integer getLengthFieldOffset() {
|
||||
return lengthFieldOffset;
|
||||
}
|
||||
|
||||
public void setLengthFieldOffset(Integer lengthFieldOffset) {
|
||||
this.lengthFieldOffset = lengthFieldOffset;
|
||||
}
|
||||
|
||||
public Integer getLengthFieldLength() {
|
||||
return lengthFieldLength;
|
||||
}
|
||||
|
||||
public void setLengthFieldLength(Integer lengthFieldLength) {
|
||||
this.lengthFieldLength = lengthFieldLength;
|
||||
public void setServerOptions(List<ServerOptionDTO> serverOptions) {
|
||||
this.serverOptions = serverOptions;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
package com.eactive.testmaster.server.dto;
|
||||
|
||||
public class ServerOptionDTO {
|
||||
|
||||
private Long optionId;
|
||||
|
||||
private String optionKey;
|
||||
|
||||
private String optionName;
|
||||
|
||||
private String defaultValue;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
private Integer length;
|
||||
|
||||
private boolean enabled;
|
||||
|
||||
public Long getOptionId() {
|
||||
return optionId;
|
||||
}
|
||||
|
||||
public void setOptionId(Long optionId) {
|
||||
this.optionId = optionId;
|
||||
}
|
||||
|
||||
public String getOptionKey() {
|
||||
return optionKey;
|
||||
}
|
||||
|
||||
public void setOptionKey(String optionKey) {
|
||||
this.optionKey = optionKey;
|
||||
}
|
||||
|
||||
public String getOptionName() {
|
||||
return optionName;
|
||||
}
|
||||
|
||||
public void setOptionName(String optionName) {
|
||||
this.optionName = optionName;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getLength() {
|
||||
return length;
|
||||
}
|
||||
|
||||
public void setLength(Integer length) {
|
||||
this.length = length;
|
||||
}
|
||||
|
||||
public boolean isEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,17 @@
|
||||
package com.eactive.testmaster.server.entity;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
|
||||
@Entity
|
||||
@Table(name = "SERVER")
|
||||
@@ -23,23 +34,8 @@ public class Server {
|
||||
@Column(name = "IS_ENABLED", columnDefinition = "boolean default true")
|
||||
private boolean enabled;
|
||||
|
||||
@Column(name = "MESSAGE_KEY_INCLUDE", columnDefinition = "boolean default false")
|
||||
private boolean messageKeyInclude;
|
||||
|
||||
@Column(name = "MESSAGE_KEY_OFFSET", columnDefinition = "integer")
|
||||
private Integer messageKeyOffset;
|
||||
|
||||
@Column(name = "MESSAGE_KEY_LENGTH", columnDefinition = "integer")
|
||||
private Integer messageKeyLength;
|
||||
|
||||
@Column(name = "LENGTH_FIELD_INCLUDE", columnDefinition = "boolean default false")
|
||||
private boolean lengthFieldInclude;
|
||||
|
||||
@Column(name = "LENGTH_FIELD_OFFSET", columnDefinition = "integer")
|
||||
private Integer lengthFieldOffset;
|
||||
|
||||
@Column(name = "LENGTH_FIELD_LENGTH", columnDefinition = "integer")
|
||||
private Integer lengthFieldLength;
|
||||
@OneToMany(mappedBy = "server", cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true)
|
||||
private List<ServerOption> serverOptions = new ArrayList<>();
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
@@ -97,52 +93,12 @@ public class Server {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
public boolean isMessageKeyInclude() {
|
||||
return messageKeyInclude;
|
||||
public List<ServerOption> getServerOptions() {
|
||||
return serverOptions;
|
||||
}
|
||||
|
||||
public void setMessageKeyInclude(boolean messageKeyInclude) {
|
||||
this.messageKeyInclude = messageKeyInclude;
|
||||
}
|
||||
|
||||
public boolean isLengthFieldInclude() {
|
||||
return lengthFieldInclude;
|
||||
}
|
||||
|
||||
public void setLengthFieldInclude(boolean lengthFieldInclude) {
|
||||
this.lengthFieldInclude = lengthFieldInclude;
|
||||
}
|
||||
|
||||
public Integer getMessageKeyOffset() {
|
||||
return messageKeyOffset;
|
||||
}
|
||||
|
||||
public void setMessageKeyOffset(Integer messageKeyOffset) {
|
||||
this.messageKeyOffset = messageKeyOffset;
|
||||
}
|
||||
|
||||
public Integer getMessageKeyLength() {
|
||||
return messageKeyLength;
|
||||
}
|
||||
|
||||
public void setMessageKeyLength(Integer messageKeyLength) {
|
||||
this.messageKeyLength = messageKeyLength;
|
||||
}
|
||||
|
||||
public Integer getLengthFieldOffset() {
|
||||
return lengthFieldOffset;
|
||||
}
|
||||
|
||||
public void setLengthFieldOffset(Integer lengthFieldOffset) {
|
||||
this.lengthFieldOffset = lengthFieldOffset;
|
||||
}
|
||||
|
||||
public Integer getLengthFieldLength() {
|
||||
return lengthFieldLength;
|
||||
}
|
||||
|
||||
public void setLengthFieldLength(Integer lengthFieldLength) {
|
||||
this.lengthFieldLength = lengthFieldLength;
|
||||
public void setServerOptions(List<ServerOption> serverOptions) {
|
||||
this.serverOptions = serverOptions;
|
||||
}
|
||||
|
||||
@Transient
|
||||
|
||||
@@ -0,0 +1,103 @@
|
||||
package com.eactive.testmaster.server.entity;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Entity
|
||||
@Table(name = "SERVER_OPTION")
|
||||
public class ServerOption {
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "SERVER_ID", nullable = false)
|
||||
private Server server;
|
||||
|
||||
@Id
|
||||
@Column(name = "OPTION_ID")
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
private Long optionId;
|
||||
|
||||
private String optionKey;
|
||||
|
||||
private String optionName;
|
||||
|
||||
private String defaultValue;
|
||||
|
||||
@Column(name = "MESSAGE_OFFSET")
|
||||
private Integer offset;
|
||||
|
||||
@Column(name = "MESSAGE_LENGTH")
|
||||
private Integer length;
|
||||
|
||||
@Column(name = "OPTION_ENABLED")
|
||||
private boolean enabled = true;
|
||||
|
||||
public Server getServer() {
|
||||
return server;
|
||||
}
|
||||
|
||||
public void setServer(Server server) {
|
||||
this.server = server;
|
||||
}
|
||||
|
||||
public Long getOptionId() {
|
||||
return optionId;
|
||||
}
|
||||
|
||||
public void setOptionId(Long optionId) {
|
||||
this.optionId = optionId;
|
||||
}
|
||||
|
||||
public String getOptionKey() {
|
||||
return optionKey;
|
||||
}
|
||||
|
||||
public void setOptionKey(String optionKey) {
|
||||
this.optionKey = optionKey;
|
||||
}
|
||||
|
||||
public String getOptionName() {
|
||||
return optionName;
|
||||
}
|
||||
|
||||
public void setOptionName(String optionName) {
|
||||
this.optionName = optionName;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getLength() {
|
||||
return length;
|
||||
}
|
||||
|
||||
public void setLength(Integer length) {
|
||||
this.length = length;
|
||||
}
|
||||
|
||||
public boolean isEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
}
|
||||
@@ -3,9 +3,12 @@ package com.eactive.testmaster.server.mapper;
|
||||
|
||||
import com.eactive.testmaster.common.exception.NotFoundException;
|
||||
import com.eactive.testmaster.server.dto.ServerDTO;
|
||||
import com.eactive.testmaster.server.dto.ServerOptionDTO;
|
||||
import com.eactive.testmaster.server.entity.Server;
|
||||
import com.eactive.testmaster.server.entity.ServerRepository;
|
||||
import com.eactive.testmaster.server.entity.ServerOption;
|
||||
import com.eactive.testmaster.server.repository.ServerRepository;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.ReportingPolicy;
|
||||
@@ -47,12 +50,7 @@ public class ServerMapper {
|
||||
dto.setScheme(server.getScheme());
|
||||
dto.setBasePath(server.getBasePath());
|
||||
dto.setEnabled(server.isEnabled());
|
||||
dto.setLengthFieldInclude(server.isLengthFieldInclude());
|
||||
dto.setMessageKeyInclude(server.isMessageKeyInclude());
|
||||
dto.setLengthFieldLength(server.getLengthFieldLength());
|
||||
dto.setLengthFieldOffset(server.getLengthFieldOffset());
|
||||
dto.setMessageKeyLength(server.getMessageKeyLength());
|
||||
dto.setMessageKeyOffset(server.getMessageKeyOffset());
|
||||
dto.setServerOptions(mapOptionsDTO(server.getServerOptions()));
|
||||
|
||||
return dto;
|
||||
}
|
||||
@@ -72,15 +70,66 @@ public class ServerMapper {
|
||||
server.setScheme(dto.getScheme());
|
||||
server.setBasePath(dto.getBasePath());
|
||||
server.setEnabled(dto.isEnabled());
|
||||
server.setLengthFieldInclude(dto.isLengthFieldInclude());
|
||||
server.setMessageKeyInclude(dto.isMessageKeyInclude());
|
||||
server.setLengthFieldLength(dto.getLengthFieldLength());
|
||||
server.setLengthFieldOffset(dto.getLengthFieldOffset());
|
||||
server.setMessageKeyLength(dto.getMessageKeyLength());
|
||||
server.setMessageKeyOffset(dto.getMessageKeyOffset());
|
||||
server.setServerOptions(mapOptions(dto.getServerOptions()));
|
||||
|
||||
return server;
|
||||
}
|
||||
public List<ServerOption> mapOptions(List<ServerOptionDTO> dtos) {
|
||||
if (dtos == null) {
|
||||
return null;
|
||||
}
|
||||
return dtos.stream().map(this::map).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
public List<ServerOptionDTO> mapOptionsDTO(List<ServerOption> entities) {
|
||||
if (entities == null) {
|
||||
return null;
|
||||
}
|
||||
return entities.stream().map(this::map).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
||||
public ServerOption map(ServerOptionDTO dto){
|
||||
if (dto == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (dto.getOptionKey() == null && dto.getOptionName() == null && dto.getDefaultValue() == null && dto.getOffset() == null && dto.getLength() == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
ServerOption serverOption = new ServerOption();
|
||||
|
||||
serverOption.setOptionId(dto.getOptionId());
|
||||
serverOption.setOptionKey(dto.getOptionKey());
|
||||
serverOption.setOptionName(dto.getOptionName());
|
||||
serverOption.setDefaultValue(dto.getDefaultValue());
|
||||
serverOption.setOffset(dto.getOffset());
|
||||
serverOption.setLength(dto.getLength());
|
||||
serverOption.setEnabled(dto.isEnabled());
|
||||
|
||||
return serverOption;
|
||||
|
||||
}
|
||||
|
||||
public ServerOptionDTO map(ServerOption entity){
|
||||
if (entity == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
ServerOptionDTO dto = new ServerOptionDTO();
|
||||
|
||||
dto.setOptionId(entity.getOptionId());
|
||||
dto.setOptionKey(entity.getOptionKey());
|
||||
dto.setOptionName(entity.getOptionName());
|
||||
dto.setDefaultValue(entity.getDefaultValue());
|
||||
dto.setOffset(entity.getOffset());
|
||||
dto.setLength(entity.getLength());
|
||||
dto.setEnabled(entity.isEnabled());
|
||||
|
||||
return dto;
|
||||
}
|
||||
|
||||
|
||||
public List<ServerDTO> map(List<Server> servers) {
|
||||
return servers.stream().map(this::map).collect(Collectors.toList());
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
package com.eactive.testmaster.server.entity;
|
||||
package com.eactive.testmaster.server.repository;
|
||||
|
||||
import com.eactive.testmaster.server.entity.Server;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.eactive.testmaster.server.service;
|
||||
|
||||
import com.eactive.testmaster.common.exception.NotFoundException;
|
||||
import com.eactive.testmaster.server.entity.Server;
|
||||
import com.eactive.testmaster.server.entity.ServerRepository;
|
||||
import com.eactive.testmaster.server.repository.ServerRepository;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
@@ -27,6 +27,10 @@ public class ServerMgmtService {
|
||||
}
|
||||
|
||||
public void create(Server server) {
|
||||
server.getServerOptions().forEach(serverOption -> {
|
||||
serverOption.setEnabled(true);
|
||||
serverOption.setServer(server);
|
||||
});
|
||||
serverRepository.save(server);
|
||||
}
|
||||
|
||||
@@ -39,12 +43,15 @@ public class ServerMgmtService {
|
||||
server.setBasePath(updated.getBasePath());
|
||||
server.setPort(updated.getPort());
|
||||
server.setEnabled(updated.isEnabled());
|
||||
server.setLengthFieldInclude(updated.isLengthFieldInclude());
|
||||
server.setMessageKeyInclude(updated.isMessageKeyInclude());
|
||||
server.setMessageKeyLength(updated.getMessageKeyLength());
|
||||
server.setMessageKeyOffset(updated.getMessageKeyOffset());
|
||||
server.setLengthFieldLength(updated.getLengthFieldLength());
|
||||
server.setLengthFieldOffset(updated.getLengthFieldOffset());
|
||||
|
||||
server.getServerOptions().clear();
|
||||
if (updated.getServerOptions() != null) {
|
||||
updated.getServerOptions().forEach(serverOption -> {
|
||||
serverOption.setServer(server);
|
||||
serverOption.setEnabled(true);
|
||||
server.getServerOptions().add(serverOption);
|
||||
});
|
||||
}
|
||||
|
||||
serverRepository.save(server);
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**************************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/azcli/azcli.ts\nvar conf = {\n comments: {\n lineComment: \"#\"\n }\n};\nvar language = {\n defaultToken: \"keyword\",\n ignoreCase: true,\n tokenPostfix: \".azcli\",\n str: /[^#\\s]/,\n tokenizer: {\n root: [\n { include: \"@comment\" },\n [\n /\\s-+@str*\\s*/,\n {\n cases: {\n \"@eos\": { token: \"key.identifier\", next: \"@popall\" },\n \"@default\": { token: \"key.identifier\", next: \"@type\" }\n }\n }\n ],\n [\n /^-+@str*\\s*/,\n {\n cases: {\n \"@eos\": { token: \"key.identifier\", next: \"@popall\" },\n \"@default\": { token: \"key.identifier\", next: \"@type\" }\n }\n }\n ]\n ],\n type: [\n { include: \"@comment\" },\n [\n /-+@str*\\s*/,\n {\n cases: {\n \"@eos\": { token: \"key.identifier\", next: \"@popall\" },\n \"@default\": \"key.identifier\"\n }\n }\n ],\n [\n /@str+\\s*/,\n {\n cases: {\n \"@eos\": { token: \"string\", next: \"@popall\" },\n \"@default\": \"string\"\n }\n }\n ]\n ],\n comment: [\n [\n /#.*$/,\n {\n cases: {\n \"@eos\": { token: \"comment\", next: \"@popall\" }\n }\n }\n ]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/azcli/azcli.ts\nvar conf = {\n comments: {\n lineComment: \"#\"\n }\n};\nvar language = {\n defaultToken: \"keyword\",\n ignoreCase: true,\n tokenPostfix: \".azcli\",\n str: /[^#\\s]/,\n tokenizer: {\n root: [\n { include: \"@comment\" },\n [\n /\\s-+@str*\\s*/,\n {\n cases: {\n \"@eos\": { token: \"key.identifier\", next: \"@popall\" },\n \"@default\": { token: \"key.identifier\", next: \"@type\" }\n }\n }\n ],\n [\n /^-+@str*\\s*/,\n {\n cases: {\n \"@eos\": { token: \"key.identifier\", next: \"@popall\" },\n \"@default\": { token: \"key.identifier\", next: \"@type\" }\n }\n }\n ]\n ],\n type: [\n { include: \"@comment\" },\n [\n /-+@str*\\s*/,\n {\n cases: {\n \"@eos\": { token: \"key.identifier\", next: \"@popall\" },\n \"@default\": \"key.identifier\"\n }\n }\n ],\n [\n /@str+\\s*/,\n {\n cases: {\n \"@eos\": { token: \"string\", next: \"@popall\" },\n \"@default\": \"string\"\n }\n }\n ]\n ],\n comment: [\n [\n /#.*$/,\n {\n cases: {\n \"@eos\": { token: \"comment\", next: \"@popall\" }\n }\n }\n ]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**********************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/bat/bat.ts\nvar conf = {\n comments: {\n lineComment: \"REM\"\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' }\n ],\n surroundingPairs: [\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' }\n ],\n folding: {\n markers: {\n start: new RegExp(\"^\\\\s*(::\\\\s*|REM\\\\s+)#region\"),\n end: new RegExp(\"^\\\\s*(::\\\\s*|REM\\\\s+)#endregion\")\n }\n }\n};\nvar language = {\n defaultToken: \"\",\n ignoreCase: true,\n tokenPostfix: \".bat\",\n brackets: [\n { token: \"delimiter.bracket\", open: \"{\", close: \"}\" },\n { token: \"delimiter.parenthesis\", open: \"(\", close: \")\" },\n { token: \"delimiter.square\", open: \"[\", close: \"]\" }\n ],\n keywords: /call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,\n symbols: /[=><!~?&|+\\-*\\/\\^;\\.,]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n tokenizer: {\n root: [\n [/^(\\s*)(rem(?:\\s.*|))$/, [\"\", \"comment\"]],\n [/(\\@?)(@keywords)(?!\\w)/, [{ token: \"keyword\" }, { token: \"keyword.$2\" }]],\n [/[ \\t\\r\\n]+/, \"\"],\n [/setlocal(?!\\w)/, \"keyword.tag-setlocal\"],\n [/endlocal(?!\\w)/, \"keyword.tag-setlocal\"],\n [/[a-zA-Z_]\\w*/, \"\"],\n [/:\\w*/, \"metatag\"],\n [/%[^%]+%/, \"variable\"],\n [/%%[\\w]+(?!\\w)/, \"variable\"],\n [/[{}()\\[\\]]/, \"@brackets\"],\n [/@symbols/, \"delimiter\"],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float\"],\n [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, \"number.hex\"],\n [/\\d+/, \"number\"],\n [/[;,.]/, \"delimiter\"],\n [/\"/, \"string\", '@string.\"'],\n [/'/, \"string\", \"@string.'\"]\n ],\n string: [\n [\n /[^\\\\\"'%]+/,\n {\n cases: {\n \"@eos\": { token: \"string\", next: \"@popall\" },\n \"@default\": \"string\"\n }\n }\n ],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/%[\\w ]+%/, \"variable\"],\n [/%%[\\w]+(?!\\w)/, \"variable\"],\n [\n /[\"']/,\n {\n cases: {\n \"$#==$S2\": { token: \"string\", next: \"@pop\" },\n \"@default\": \"string\"\n }\n }\n ],\n [/$/, \"string\", \"@popall\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/bat/bat.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/bat/bat.ts\nvar conf = {\n comments: {\n lineComment: \"REM\"\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' }\n ],\n surroundingPairs: [\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' }\n ],\n folding: {\n markers: {\n start: new RegExp(\"^\\\\s*(::\\\\s*|REM\\\\s+)#region\"),\n end: new RegExp(\"^\\\\s*(::\\\\s*|REM\\\\s+)#endregion\")\n }\n }\n};\nvar language = {\n defaultToken: \"\",\n ignoreCase: true,\n tokenPostfix: \".bat\",\n brackets: [\n { token: \"delimiter.bracket\", open: \"{\", close: \"}\" },\n { token: \"delimiter.parenthesis\", open: \"(\", close: \")\" },\n { token: \"delimiter.square\", open: \"[\", close: \"]\" }\n ],\n keywords: /call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,\n // we include these common regular expressions\n symbols: /[=><!~?&|+\\-*\\/\\^;\\.,]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n [/^(\\s*)(rem(?:\\s.*|))$/, [\"\", \"comment\"]],\n [/(\\@?)(@keywords)(?!\\w)/, [{ token: \"keyword\" }, { token: \"keyword.$2\" }]],\n // whitespace\n [/[ \\t\\r\\n]+/, \"\"],\n // blocks\n [/setlocal(?!\\w)/, \"keyword.tag-setlocal\"],\n [/endlocal(?!\\w)/, \"keyword.tag-setlocal\"],\n // words\n [/[a-zA-Z_]\\w*/, \"\"],\n // labels\n [/:\\w*/, \"metatag\"],\n // variables\n [/%[^%]+%/, \"variable\"],\n [/%%[\\w]+(?!\\w)/, \"variable\"],\n // punctuations\n [/[{}()\\[\\]]/, \"@brackets\"],\n [/@symbols/, \"delimiter\"],\n // numbers\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float\"],\n [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, \"number.hex\"],\n [/\\d+/, \"number\"],\n // punctuation: after number because of .\\d floats\n [/[;,.]/, \"delimiter\"],\n // strings:\n [/\"/, \"string\", '@string.\"'],\n [/'/, \"string\", \"@string.'\"]\n ],\n string: [\n [\n /[^\\\\\"'%]+/,\n {\n cases: {\n \"@eos\": { token: \"string\", next: \"@popall\" },\n \"@default\": \"string\"\n }\n }\n ],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/%[\\w ]+%/, \"variable\"],\n [/%%[\\w]+(?!\\w)/, \"variable\"],\n [\n /[\"']/,\n {\n cases: {\n \"$#==$S2\": { token: \"string\", next: \"@pop\" },\n \"@default\": \"string\"\n }\n }\n ],\n [/$/, \"string\", \"@popall\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/bat/bat.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**************************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/bicep/bicep.ts\nvar bounded = (text) => `\\\\b${text}\\\\b`;\nvar identifierStart = \"[_a-zA-Z]\";\nvar identifierContinue = \"[_a-zA-Z0-9]\";\nvar identifier = bounded(`${identifierStart}${identifierContinue}*`);\nvar keywords = [\n \"targetScope\",\n \"resource\",\n \"module\",\n \"param\",\n \"var\",\n \"output\",\n \"for\",\n \"in\",\n \"if\",\n \"existing\"\n];\nvar namedLiterals = [\"true\", \"false\", \"null\"];\nvar nonCommentWs = `[ \\\\t\\\\r\\\\n]`;\nvar numericLiteral = `[0-9]+`;\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"'\", close: \"'\" },\n { open: \"'''\", close: \"'''\" }\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"'\", close: \"'\", notIn: [\"string\", \"comment\"] },\n { open: \"'''\", close: \"'''\", notIn: [\"string\", \"comment\"] }\n ],\n autoCloseBefore: \":.,=}])' \\n\t\",\n indentationRules: {\n increaseIndentPattern: new RegExp(\"^((?!\\\\/\\\\/).)*(\\\\{[^}\\\"'`]*|\\\\([^)\\\"'`]*|\\\\[[^\\\\]\\\"'`]*)$\"),\n decreaseIndentPattern: new RegExp(\"^((?!.*?\\\\/\\\\*).*\\\\*/)?\\\\s*[\\\\}\\\\]].*$\")\n }\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".bicep\",\n brackets: [\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" }\n ],\n symbols: /[=><!~?:&|+\\-*/^%]+/,\n keywords,\n namedLiterals,\n escapes: `\\\\\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\\\\\|'|\\\\\\${)`,\n tokenizer: {\n root: [{ include: \"@expression\" }, { include: \"@whitespace\" }],\n stringVerbatim: [\n { regex: `(|'|'')[^']`, action: { token: \"string\" } },\n { regex: `'''`, action: { token: \"string.quote\", next: \"@pop\" } }\n ],\n stringLiteral: [\n { regex: `\\\\\\${`, action: { token: \"delimiter.bracket\", next: \"@bracketCounting\" } },\n { regex: `[^\\\\\\\\'$]+`, action: { token: \"string\" } },\n { regex: \"@escapes\", action: { token: \"string.escape\" } },\n { regex: `\\\\\\\\.`, action: { token: \"string.escape.invalid\" } },\n { regex: `'`, action: { token: \"string\", next: \"@pop\" } }\n ],\n bracketCounting: [\n { regex: `{`, action: { token: \"delimiter.bracket\", next: \"@bracketCounting\" } },\n { regex: `}`, action: { token: \"delimiter.bracket\", next: \"@pop\" } },\n { include: \"expression\" }\n ],\n comment: [\n { regex: `[^\\\\*]+`, action: { token: \"comment\" } },\n { regex: `\\\\*\\\\/`, action: { token: \"comment\", next: \"@pop\" } },\n { regex: `[\\\\/*]`, action: { token: \"comment\" } }\n ],\n whitespace: [\n { regex: nonCommentWs },\n { regex: `\\\\/\\\\*`, action: { token: \"comment\", next: \"@comment\" } },\n { regex: `\\\\/\\\\/.*$`, action: { token: \"comment\" } }\n ],\n expression: [\n { regex: `'''`, action: { token: \"string.quote\", next: \"@stringVerbatim\" } },\n { regex: `'`, action: { token: \"string.quote\", next: \"@stringLiteral\" } },\n { regex: numericLiteral, action: { token: \"number\" } },\n {\n regex: identifier,\n action: {\n cases: {\n \"@keywords\": { token: \"keyword\" },\n \"@namedLiterals\": { token: \"keyword\" },\n \"@default\": { token: \"identifier\" }\n }\n }\n }\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/bicep/bicep.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/bicep/bicep.ts\nvar bounded = (text) => `\\\\b${text}\\\\b`;\nvar identifierStart = \"[_a-zA-Z]\";\nvar identifierContinue = \"[_a-zA-Z0-9]\";\nvar identifier = bounded(`${identifierStart}${identifierContinue}*`);\nvar keywords = [\n \"targetScope\",\n \"resource\",\n \"module\",\n \"param\",\n \"var\",\n \"output\",\n \"for\",\n \"in\",\n \"if\",\n \"existing\"\n];\nvar namedLiterals = [\"true\", \"false\", \"null\"];\nvar nonCommentWs = `[ \\\\t\\\\r\\\\n]`;\nvar numericLiteral = `[0-9]+`;\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"'\", close: \"'\" },\n { open: \"'''\", close: \"'''\" }\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"'\", close: \"'\", notIn: [\"string\", \"comment\"] },\n { open: \"'''\", close: \"'''\", notIn: [\"string\", \"comment\"] }\n ],\n autoCloseBefore: \":.,=}])' \\n\t\",\n indentationRules: {\n increaseIndentPattern: new RegExp(\"^((?!\\\\/\\\\/).)*(\\\\{[^}\\\"'`]*|\\\\([^)\\\"'`]*|\\\\[[^\\\\]\\\"'`]*)$\"),\n decreaseIndentPattern: new RegExp(\"^((?!.*?\\\\/\\\\*).*\\\\*/)?\\\\s*[\\\\}\\\\]].*$\")\n }\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".bicep\",\n brackets: [\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" }\n ],\n symbols: /[=><!~?:&|+\\-*/^%]+/,\n keywords,\n namedLiterals,\n escapes: `\\\\\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\\\\\|'|\\\\\\${)`,\n tokenizer: {\n root: [{ include: \"@expression\" }, { include: \"@whitespace\" }],\n stringVerbatim: [\n { regex: `(|'|'')[^']`, action: { token: \"string\" } },\n { regex: `'''`, action: { token: \"string.quote\", next: \"@pop\" } }\n ],\n stringLiteral: [\n { regex: `\\\\\\${`, action: { token: \"delimiter.bracket\", next: \"@bracketCounting\" } },\n { regex: `[^\\\\\\\\'$]+`, action: { token: \"string\" } },\n { regex: \"@escapes\", action: { token: \"string.escape\" } },\n { regex: `\\\\\\\\.`, action: { token: \"string.escape.invalid\" } },\n { regex: `'`, action: { token: \"string\", next: \"@pop\" } }\n ],\n bracketCounting: [\n { regex: `{`, action: { token: \"delimiter.bracket\", next: \"@bracketCounting\" } },\n { regex: `}`, action: { token: \"delimiter.bracket\", next: \"@pop\" } },\n { include: \"expression\" }\n ],\n comment: [\n { regex: `[^\\\\*]+`, action: { token: \"comment\" } },\n { regex: `\\\\*\\\\/`, action: { token: \"comment\", next: \"@pop\" } },\n { regex: `[\\\\/*]`, action: { token: \"comment\" } }\n ],\n whitespace: [\n { regex: nonCommentWs },\n { regex: `\\\\/\\\\*`, action: { token: \"comment\", next: \"@comment\" } },\n { regex: `\\\\/\\\\/.*$`, action: { token: \"comment\" } }\n ],\n expression: [\n { regex: `'''`, action: { token: \"string.quote\", next: \"@stringVerbatim\" } },\n { regex: `'`, action: { token: \"string.quote\", next: \"@stringLiteral\" } },\n { regex: numericLiteral, action: { token: \"number\" } },\n {\n regex: identifier,\n action: {\n cases: {\n \"@keywords\": { token: \"keyword\" },\n \"@namedLiterals\": { token: \"keyword\" },\n \"@default\": { token: \"identifier\" }\n }\n }\n }\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/bicep/bicep.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
\********************************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/cameligo/cameligo.ts\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"(*\", \"*)\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"],\n [\"<\", \">\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' },\n { open: \"(*\", close: \"*)\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' },\n { open: \"(*\", close: \"*)\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".cameligo\",\n ignoreCase: true,\n brackets: [\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"<\", close: \">\", token: \"delimiter.angle\" }\n ],\n keywords: [\n \"abs\",\n \"assert\",\n \"block\",\n \"Bytes\",\n \"case\",\n \"Crypto\",\n \"Current\",\n \"else\",\n \"failwith\",\n \"false\",\n \"for\",\n \"fun\",\n \"if\",\n \"in\",\n \"let\",\n \"let%entry\",\n \"let%init\",\n \"List\",\n \"list\",\n \"Map\",\n \"map\",\n \"match\",\n \"match%nat\",\n \"mod\",\n \"not\",\n \"operation\",\n \"Operation\",\n \"of\",\n \"record\",\n \"Set\",\n \"set\",\n \"sender\",\n \"skip\",\n \"source\",\n \"String\",\n \"then\",\n \"to\",\n \"true\",\n \"type\",\n \"with\"\n ],\n typeKeywords: [\"int\", \"unit\", \"string\", \"tz\", \"nat\", \"bool\"],\n operators: [\n \"=\",\n \">\",\n \"<\",\n \"<=\",\n \">=\",\n \"<>\",\n \":\",\n \":=\",\n \"and\",\n \"mod\",\n \"or\",\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"@\",\n \"&\",\n \"^\",\n \"%\",\n \"->\",\n \"<-\",\n \"&&\",\n \"||\"\n ],\n symbols: /[=><:@\\^&|+\\-*\\/\\^%]+/,\n tokenizer: {\n root: [\n [\n /[a-zA-Z_][\\w]*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n { include: \"@whitespace\" },\n [/[{}()\\[\\]]/, \"@brackets\"],\n [/[<>](?!@symbols)/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float\"],\n [/\\$[0-9a-fA-F]{1,16}/, \"number.hex\"],\n [/\\d+/, \"number\"],\n [/[;,.]/, \"delimiter\"],\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/'/, \"string\", \"@string\"],\n [/'[^\\\\']'/, \"string\"],\n [/'/, \"string.invalid\"],\n [/\\#\\d+/, \"string\"]\n ],\n comment: [\n [/[^\\(\\*]+/, \"comment\"],\n [/\\*\\)/, \"comment\", \"@pop\"],\n [/\\(\\*/, \"comment\"]\n ],\n string: [\n [/[^\\\\']+/, \"string\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/'/, { token: \"string.quote\", bracket: \"@close\", next: \"@pop\" }]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"white\"],\n [/\\(\\*/, \"comment\", \"@comment\"],\n [/\\/\\/.*$/, \"comment\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/cameligo/cameligo.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/cameligo/cameligo.ts\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"(*\", \"*)\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"],\n [\"<\", \">\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' },\n { open: \"(*\", close: \"*)\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' },\n { open: \"(*\", close: \"*)\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".cameligo\",\n ignoreCase: true,\n brackets: [\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"<\", close: \">\", token: \"delimiter.angle\" }\n ],\n keywords: [\n \"abs\",\n \"assert\",\n \"block\",\n \"Bytes\",\n \"case\",\n \"Crypto\",\n \"Current\",\n \"else\",\n \"failwith\",\n \"false\",\n \"for\",\n \"fun\",\n \"if\",\n \"in\",\n \"let\",\n \"let%entry\",\n \"let%init\",\n \"List\",\n \"list\",\n \"Map\",\n \"map\",\n \"match\",\n \"match%nat\",\n \"mod\",\n \"not\",\n \"operation\",\n \"Operation\",\n \"of\",\n \"record\",\n \"Set\",\n \"set\",\n \"sender\",\n \"skip\",\n \"source\",\n \"String\",\n \"then\",\n \"to\",\n \"true\",\n \"type\",\n \"with\"\n ],\n typeKeywords: [\"int\", \"unit\", \"string\", \"tz\", \"nat\", \"bool\"],\n operators: [\n \"=\",\n \">\",\n \"<\",\n \"<=\",\n \">=\",\n \"<>\",\n \":\",\n \":=\",\n \"and\",\n \"mod\",\n \"or\",\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"@\",\n \"&\",\n \"^\",\n \"%\",\n \"->\",\n \"<-\",\n \"&&\",\n \"||\"\n ],\n // we include these common regular expressions\n symbols: /[=><:@\\^&|+\\-*\\/\\^%]+/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // identifiers and keywords\n [\n /[a-zA-Z_][\\w]*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n // whitespace\n { include: \"@whitespace\" },\n // delimiters and operators\n [/[{}()\\[\\]]/, \"@brackets\"],\n [/[<>](?!@symbols)/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n // numbers\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float\"],\n [/\\$[0-9a-fA-F]{1,16}/, \"number.hex\"],\n [/\\d+/, \"number\"],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, \"delimiter\"],\n // strings\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n // non-teminated string\n [/'/, \"string\", \"@string\"],\n // characters\n [/'[^\\\\']'/, \"string\"],\n [/'/, \"string.invalid\"],\n [/\\#\\d+/, \"string\"]\n ],\n /* */\n comment: [\n [/[^\\(\\*]+/, \"comment\"],\n //[/\\(\\*/, 'comment', '@push' ], // nested comment not allowed :-(\n [/\\*\\)/, \"comment\", \"@pop\"],\n [/\\(\\*/, \"comment\"]\n ],\n string: [\n [/[^\\\\']+/, \"string\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/'/, { token: \"string.quote\", bracket: \"@close\", next: \"@pop\" }]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"white\"],\n [/\\(\\*/, \"comment\", \"@comment\"],\n [/\\/\\/.*$/, \"comment\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/cameligo/cameligo.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**********************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/csp/csp.ts\nvar conf = {\n brackets: [],\n autoClosingPairs: [],\n surroundingPairs: []\n};\nvar language = {\n keywords: [],\n typeKeywords: [],\n tokenPostfix: \".csp\",\n operators: [],\n symbols: /[=><!~?:&|+\\-*\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n tokenizer: {\n root: [\n [/child-src/, \"string.quote\"],\n [/connect-src/, \"string.quote\"],\n [/default-src/, \"string.quote\"],\n [/font-src/, \"string.quote\"],\n [/frame-src/, \"string.quote\"],\n [/img-src/, \"string.quote\"],\n [/manifest-src/, \"string.quote\"],\n [/media-src/, \"string.quote\"],\n [/object-src/, \"string.quote\"],\n [/script-src/, \"string.quote\"],\n [/style-src/, \"string.quote\"],\n [/worker-src/, \"string.quote\"],\n [/base-uri/, \"string.quote\"],\n [/plugin-types/, \"string.quote\"],\n [/sandbox/, \"string.quote\"],\n [/disown-opener/, \"string.quote\"],\n [/form-action/, \"string.quote\"],\n [/frame-ancestors/, \"string.quote\"],\n [/report-uri/, \"string.quote\"],\n [/report-to/, \"string.quote\"],\n [/upgrade-insecure-requests/, \"string.quote\"],\n [/block-all-mixed-content/, \"string.quote\"],\n [/require-sri-for/, \"string.quote\"],\n [/reflected-xss/, \"string.quote\"],\n [/referrer/, \"string.quote\"],\n [/policy-uri/, \"string.quote\"],\n [/'self'/, \"string.quote\"],\n [/'unsafe-inline'/, \"string.quote\"],\n [/'unsafe-eval'/, \"string.quote\"],\n [/'strict-dynamic'/, \"string.quote\"],\n [/'unsafe-hashed-attributes'/, \"string.quote\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/csp/csp.ts\nvar conf = {\n brackets: [],\n autoClosingPairs: [],\n surroundingPairs: []\n};\nvar language = {\n // Set defaultToken to invalid to see what you do not tokenize yet\n // defaultToken: 'invalid',\n keywords: [],\n typeKeywords: [],\n tokenPostfix: \".csp\",\n operators: [],\n symbols: /[=><!~?:&|+\\-*\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n tokenizer: {\n root: [\n [/child-src/, \"string.quote\"],\n [/connect-src/, \"string.quote\"],\n [/default-src/, \"string.quote\"],\n [/font-src/, \"string.quote\"],\n [/frame-src/, \"string.quote\"],\n [/img-src/, \"string.quote\"],\n [/manifest-src/, \"string.quote\"],\n [/media-src/, \"string.quote\"],\n [/object-src/, \"string.quote\"],\n [/script-src/, \"string.quote\"],\n [/style-src/, \"string.quote\"],\n [/worker-src/, \"string.quote\"],\n [/base-uri/, \"string.quote\"],\n [/plugin-types/, \"string.quote\"],\n [/sandbox/, \"string.quote\"],\n [/disown-opener/, \"string.quote\"],\n [/form-action/, \"string.quote\"],\n [/frame-ancestors/, \"string.quote\"],\n [/report-uri/, \"string.quote\"],\n [/report-to/, \"string.quote\"],\n [/upgrade-insecure-requests/, \"string.quote\"],\n [/block-all-mixed-content/, \"string.quote\"],\n [/require-sri-for/, \"string.quote\"],\n [/reflected-xss/, \"string.quote\"],\n [/referrer/, \"string.quote\"],\n [/policy-uri/, \"string.quote\"],\n [/'self'/, \"string.quote\"],\n [/'unsafe-inline'/, \"string.quote\"],\n [/'unsafe-eval'/, \"string.quote\"],\n [/'strict-dynamic'/, \"string.quote\"],\n [/'unsafe-hashed-attributes'/, \"string.quote\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\************************************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/dockerfile/dockerfile.ts\nvar conf = {\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".dockerfile\",\n variable: /\\${?[\\w]+}?/,\n tokenizer: {\n root: [\n { include: \"@whitespace\" },\n { include: \"@comment\" },\n [/(ONBUILD)(\\s+)/, [\"keyword\", \"\"]],\n [/(ENV)(\\s+)([\\w]+)/, [\"keyword\", \"\", { token: \"variable\", next: \"@arguments\" }]],\n [\n /(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,\n { token: \"keyword\", next: \"@arguments\" }\n ]\n ],\n arguments: [\n { include: \"@whitespace\" },\n { include: \"@strings\" },\n [\n /(@variable)/,\n {\n cases: {\n \"@eos\": { token: \"variable\", next: \"@popall\" },\n \"@default\": \"variable\"\n }\n }\n ],\n [\n /\\\\/,\n {\n cases: {\n \"@eos\": \"\",\n \"@default\": \"\"\n }\n }\n ],\n [\n /./,\n {\n cases: {\n \"@eos\": { token: \"\", next: \"@popall\" },\n \"@default\": \"\"\n }\n }\n ]\n ],\n whitespace: [\n [\n /\\s+/,\n {\n cases: {\n \"@eos\": { token: \"\", next: \"@popall\" },\n \"@default\": \"\"\n }\n }\n ]\n ],\n comment: [[/(^#.*$)/, \"comment\", \"@popall\"]],\n strings: [\n [/\\\\'$/, \"\", \"@popall\"],\n [/\\\\'/, \"\"],\n [/'$/, \"string\", \"@popall\"],\n [/'/, \"string\", \"@stringBody\"],\n [/\"$/, \"string\", \"@popall\"],\n [/\"/, \"string\", \"@dblStringBody\"]\n ],\n stringBody: [\n [\n /[^\\\\\\$']/,\n {\n cases: {\n \"@eos\": { token: \"string\", next: \"@popall\" },\n \"@default\": \"string\"\n }\n }\n ],\n [/\\\\./, \"string.escape\"],\n [/'$/, \"string\", \"@popall\"],\n [/'/, \"string\", \"@pop\"],\n [/(@variable)/, \"variable\"],\n [/\\\\$/, \"string\"],\n [/$/, \"string\", \"@popall\"]\n ],\n dblStringBody: [\n [\n /[^\\\\\\$\"]/,\n {\n cases: {\n \"@eos\": { token: \"string\", next: \"@popall\" },\n \"@default\": \"string\"\n }\n }\n ],\n [/\\\\./, \"string.escape\"],\n [/\"$/, \"string\", \"@popall\"],\n [/\"/, \"string\", \"@pop\"],\n [/(@variable)/, \"variable\"],\n [/\\\\$/, \"string\"],\n [/$/, \"string\", \"@popall\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/dockerfile/dockerfile.ts\nvar conf = {\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".dockerfile\",\n variable: /\\${?[\\w]+}?/,\n tokenizer: {\n root: [\n { include: \"@whitespace\" },\n { include: \"@comment\" },\n [/(ONBUILD)(\\s+)/, [\"keyword\", \"\"]],\n [/(ENV)(\\s+)([\\w]+)/, [\"keyword\", \"\", { token: \"variable\", next: \"@arguments\" }]],\n [\n /(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,\n { token: \"keyword\", next: \"@arguments\" }\n ]\n ],\n arguments: [\n { include: \"@whitespace\" },\n { include: \"@strings\" },\n [\n /(@variable)/,\n {\n cases: {\n \"@eos\": { token: \"variable\", next: \"@popall\" },\n \"@default\": \"variable\"\n }\n }\n ],\n [\n /\\\\/,\n {\n cases: {\n \"@eos\": \"\",\n \"@default\": \"\"\n }\n }\n ],\n [\n /./,\n {\n cases: {\n \"@eos\": { token: \"\", next: \"@popall\" },\n \"@default\": \"\"\n }\n }\n ]\n ],\n // Deal with white space, including comments\n whitespace: [\n [\n /\\s+/,\n {\n cases: {\n \"@eos\": { token: \"\", next: \"@popall\" },\n \"@default\": \"\"\n }\n }\n ]\n ],\n comment: [[/(^#.*$)/, \"comment\", \"@popall\"]],\n // Recognize strings, including those broken across lines with \\ (but not without)\n strings: [\n [/\\\\'$/, \"\", \"@popall\"],\n // \\' leaves @arguments at eol\n [/\\\\'/, \"\"],\n // \\' is not a string\n [/'$/, \"string\", \"@popall\"],\n [/'/, \"string\", \"@stringBody\"],\n [/\"$/, \"string\", \"@popall\"],\n [/\"/, \"string\", \"@dblStringBody\"]\n ],\n stringBody: [\n [\n /[^\\\\\\$']/,\n {\n cases: {\n \"@eos\": { token: \"string\", next: \"@popall\" },\n \"@default\": \"string\"\n }\n }\n ],\n [/\\\\./, \"string.escape\"],\n [/'$/, \"string\", \"@popall\"],\n [/'/, \"string\", \"@pop\"],\n [/(@variable)/, \"variable\"],\n [/\\\\$/, \"string\"],\n [/$/, \"string\", \"@popall\"]\n ],\n dblStringBody: [\n [\n /[^\\\\\\$\"]/,\n {\n cases: {\n \"@eos\": { token: \"string\", next: \"@popall\" },\n \"@default\": \"string\"\n }\n }\n ],\n [/\\\\./, \"string.escape\"],\n [/\"$/, \"string\", \"@popall\"],\n [/\"/, \"string\", \"@pop\"],\n [/(@variable)/, \"variable\"],\n [/\\\\$/, \"string\"],\n [/$/, \"string\", \"@popall\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**************************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/flow9/flow9.ts\nvar conf = {\n comments: {\n blockComment: [\"/*\", \"*/\"],\n lineComment: \"//\"\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\", notIn: [\"string\"] },\n { open: \"[\", close: \"]\", notIn: [\"string\"] },\n { open: \"(\", close: \")\", notIn: [\"string\"] },\n { open: '\"', close: '\"', notIn: [\"string\"] },\n { open: \"'\", close: \"'\", notIn: [\"string\"] }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" },\n { open: \"<\", close: \">\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".flow\",\n keywords: [\n \"import\",\n \"require\",\n \"export\",\n \"forbid\",\n \"native\",\n \"if\",\n \"else\",\n \"cast\",\n \"unsafe\",\n \"switch\",\n \"default\"\n ],\n types: [\n \"io\",\n \"mutable\",\n \"bool\",\n \"int\",\n \"double\",\n \"string\",\n \"flow\",\n \"void\",\n \"ref\",\n \"true\",\n \"false\",\n \"with\"\n ],\n operators: [\n \"=\",\n \">\",\n \"<\",\n \"<=\",\n \">=\",\n \"==\",\n \"!\",\n \"!=\",\n \":=\",\n \"::=\",\n \"&&\",\n \"||\",\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"@\",\n \"&\",\n \"%\",\n \":\",\n \"->\",\n \"\\\\\",\n \"$\",\n \"??\",\n \"^\"\n ],\n symbols: /[@$=><!~?:&|+\\-*\\\\\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n tokenizer: {\n root: [\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n \"@keywords\": \"keyword\",\n \"@types\": \"type\",\n \"@default\": \"identifier\"\n }\n }\n ],\n { include: \"@whitespace\" },\n [/[{}()\\[\\]]/, \"delimiter\"],\n [/[<>](?!@symbols)/, \"delimiter\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n [/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)/, \"number\"],\n [/[;,.]/, \"delimiter\"],\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/\"/, \"string\", \"@string\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/\\/\\*/, \"comment\", \"@comment\"],\n [/\\/\\/.*$/, \"comment\"]\n ],\n comment: [\n [/[^\\/*]+/, \"comment\"],\n [/\\*\\//, \"comment\", \"@pop\"],\n [/[\\/*]/, \"comment\"]\n ],\n string: [\n [/[^\\\\\"]+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/\"/, \"string\", \"@pop\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/flow9/flow9.ts\nvar conf = {\n comments: {\n blockComment: [\"/*\", \"*/\"],\n lineComment: \"//\"\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\", notIn: [\"string\"] },\n { open: \"[\", close: \"]\", notIn: [\"string\"] },\n { open: \"(\", close: \")\", notIn: [\"string\"] },\n { open: '\"', close: '\"', notIn: [\"string\"] },\n { open: \"'\", close: \"'\", notIn: [\"string\"] }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" },\n { open: \"<\", close: \">\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".flow\",\n keywords: [\n \"import\",\n \"require\",\n \"export\",\n \"forbid\",\n \"native\",\n \"if\",\n \"else\",\n \"cast\",\n \"unsafe\",\n \"switch\",\n \"default\"\n ],\n types: [\n \"io\",\n \"mutable\",\n \"bool\",\n \"int\",\n \"double\",\n \"string\",\n \"flow\",\n \"void\",\n \"ref\",\n \"true\",\n \"false\",\n \"with\"\n ],\n operators: [\n \"=\",\n \">\",\n \"<\",\n \"<=\",\n \">=\",\n \"==\",\n \"!\",\n \"!=\",\n \":=\",\n \"::=\",\n \"&&\",\n \"||\",\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"@\",\n \"&\",\n \"%\",\n \":\",\n \"->\",\n \"\\\\\",\n \"$\",\n \"??\",\n \"^\"\n ],\n symbols: /[@$=><!~?:&|+\\-*\\\\\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // identifiers and keywords\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n \"@keywords\": \"keyword\",\n \"@types\": \"type\",\n \"@default\": \"identifier\"\n }\n }\n ],\n // whitespace\n { include: \"@whitespace\" },\n // delimiters and operators\n [/[{}()\\[\\]]/, \"delimiter\"],\n [/[<>](?!@symbols)/, \"delimiter\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n // numbers\n [/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)/, \"number\"],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, \"delimiter\"],\n // strings\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/\"/, \"string\", \"@string\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/\\/\\*/, \"comment\", \"@comment\"],\n [/\\/\\/.*$/, \"comment\"]\n ],\n comment: [\n [/[^\\/*]+/, \"comment\"],\n [/\\*\\//, \"comment\", \"@pop\"],\n [/[\\/*]/, \"comment\"]\n ],\n string: [\n [/[^\\\\\"]+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/\"/, \"string\", \"@pop\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**********************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/ini/ini.ts\nvar conf = {\n comments: {\n lineComment: \"#\"\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".ini\",\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n tokenizer: {\n root: [\n [/^\\[[^\\]]*\\]/, \"metatag\"],\n [/(^\\w+)(\\s*)(\\=)/, [\"key\", \"\", \"delimiter\"]],\n { include: \"@whitespace\" },\n [/\\d+/, \"number\"],\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/\"/, \"string\", '@string.\"'],\n [/'/, \"string\", \"@string.'\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/^\\s*[#;].*$/, \"comment\"]\n ],\n string: [\n [/[^\\\\\"']+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [\n /[\"']/,\n {\n cases: {\n \"$#==$S2\": { token: \"string\", next: \"@pop\" },\n \"@default\": \"string\"\n }\n }\n ]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/ini/ini.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/ini/ini.ts\nvar conf = {\n comments: {\n lineComment: \"#\"\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".ini\",\n // we include these common regular expressions\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // sections\n [/^\\[[^\\]]*\\]/, \"metatag\"],\n // keys\n [/(^\\w+)(\\s*)(\\=)/, [\"key\", \"\", \"delimiter\"]],\n // whitespace\n { include: \"@whitespace\" },\n // numbers\n [/\\d+/, \"number\"],\n // strings: recover on non-terminated strings\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n // non-teminated string\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n // non-teminated string\n [/\"/, \"string\", '@string.\"'],\n [/'/, \"string\", \"@string.'\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/^\\s*[#;].*$/, \"comment\"]\n ],\n string: [\n [/[^\\\\\"']+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [\n /[\"']/,\n {\n cases: {\n \"$#==$S2\": { token: \"string\", next: \"@pop\" },\n \"@default\": \"string\"\n }\n }\n ]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/ini/ini.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**********************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/lua/lua.ts\nvar conf = {\n comments: {\n lineComment: \"--\",\n blockComment: [\"--[[\", \"]]\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".lua\",\n keywords: [\n \"and\",\n \"break\",\n \"do\",\n \"else\",\n \"elseif\",\n \"end\",\n \"false\",\n \"for\",\n \"function\",\n \"goto\",\n \"if\",\n \"in\",\n \"local\",\n \"nil\",\n \"not\",\n \"or\",\n \"repeat\",\n \"return\",\n \"then\",\n \"true\",\n \"until\",\n \"while\"\n ],\n brackets: [\n { token: \"delimiter.bracket\", open: \"{\", close: \"}\" },\n { token: \"delimiter.array\", open: \"[\", close: \"]\" },\n { token: \"delimiter.parenthesis\", open: \"(\", close: \")\" }\n ],\n operators: [\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"%\",\n \"^\",\n \"#\",\n \"==\",\n \"~=\",\n \"<=\",\n \">=\",\n \"<\",\n \">\",\n \"=\",\n \";\",\n \":\",\n \",\",\n \".\",\n \"..\",\n \"...\"\n ],\n symbols: /[=><!~?:&|+\\-*\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n tokenizer: {\n root: [\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n { include: \"@whitespace\" },\n [/(,)(\\s*)([a-zA-Z_]\\w*)(\\s*)(:)(?!:)/, [\"delimiter\", \"\", \"key\", \"\", \"delimiter\"]],\n [/({)(\\s*)([a-zA-Z_]\\w*)(\\s*)(:)(?!:)/, [\"@brackets\", \"\", \"key\", \"\", \"delimiter\"]],\n [/[{}()\\[\\]]/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float\"],\n [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, \"number.hex\"],\n [/\\d+?/, \"number\"],\n [/[;,.]/, \"delimiter\"],\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/\"/, \"string\", '@string.\"'],\n [/'/, \"string\", \"@string.'\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/--\\[([=]*)\\[/, \"comment\", \"@comment.$1\"],\n [/--.*$/, \"comment\"]\n ],\n comment: [\n [/[^\\]]+/, \"comment\"],\n [\n /\\]([=]*)\\]/,\n {\n cases: {\n \"$1==$S2\": { token: \"comment\", next: \"@pop\" },\n \"@default\": \"comment\"\n }\n }\n ],\n [/./, \"comment\"]\n ],\n string: [\n [/[^\\\\\"']+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [\n /[\"']/,\n {\n cases: {\n \"$#==$S2\": { token: \"string\", next: \"@pop\" },\n \"@default\": \"string\"\n }\n }\n ]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/lua/lua.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/lua/lua.ts\nvar conf = {\n comments: {\n lineComment: \"--\",\n blockComment: [\"--[[\", \"]]\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".lua\",\n keywords: [\n \"and\",\n \"break\",\n \"do\",\n \"else\",\n \"elseif\",\n \"end\",\n \"false\",\n \"for\",\n \"function\",\n \"goto\",\n \"if\",\n \"in\",\n \"local\",\n \"nil\",\n \"not\",\n \"or\",\n \"repeat\",\n \"return\",\n \"then\",\n \"true\",\n \"until\",\n \"while\"\n ],\n brackets: [\n { token: \"delimiter.bracket\", open: \"{\", close: \"}\" },\n { token: \"delimiter.array\", open: \"[\", close: \"]\" },\n { token: \"delimiter.parenthesis\", open: \"(\", close: \")\" }\n ],\n operators: [\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"%\",\n \"^\",\n \"#\",\n \"==\",\n \"~=\",\n \"<=\",\n \">=\",\n \"<\",\n \">\",\n \"=\",\n \";\",\n \":\",\n \",\",\n \".\",\n \"..\",\n \"...\"\n ],\n // we include these common regular expressions\n symbols: /[=><!~?:&|+\\-*\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // identifiers and keywords\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n // whitespace\n { include: \"@whitespace\" },\n // keys\n [/(,)(\\s*)([a-zA-Z_]\\w*)(\\s*)(:)(?!:)/, [\"delimiter\", \"\", \"key\", \"\", \"delimiter\"]],\n [/({)(\\s*)([a-zA-Z_]\\w*)(\\s*)(:)(?!:)/, [\"@brackets\", \"\", \"key\", \"\", \"delimiter\"]],\n // delimiters and operators\n [/[{}()\\[\\]]/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n // numbers\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float\"],\n [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, \"number.hex\"],\n [/\\d+?/, \"number\"],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, \"delimiter\"],\n // strings: recover on non-terminated strings\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n // non-teminated string\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n // non-teminated string\n [/\"/, \"string\", '@string.\"'],\n [/'/, \"string\", \"@string.'\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/--\\[([=]*)\\[/, \"comment\", \"@comment.$1\"],\n [/--.*$/, \"comment\"]\n ],\n comment: [\n [/[^\\]]+/, \"comment\"],\n [\n /\\]([=]*)\\]/,\n {\n cases: {\n \"$1==$S2\": { token: \"comment\", next: \"@pop\" },\n \"@default\": \"comment\"\n }\n }\n ],\n [/./, \"comment\"]\n ],\n string: [\n [/[^\\\\\"']+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [\n /[\"']/,\n {\n cases: {\n \"$#==$S2\": { token: \"string\", next: \"@pop\" },\n \"@default\": \"string\"\n }\n }\n ]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/lua/lua.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**************************************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/objective-c/objective-c.ts\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".objective-c\",\n keywords: [\n \"#import\",\n \"#include\",\n \"#define\",\n \"#else\",\n \"#endif\",\n \"#if\",\n \"#ifdef\",\n \"#ifndef\",\n \"#ident\",\n \"#undef\",\n \"@class\",\n \"@defs\",\n \"@dynamic\",\n \"@encode\",\n \"@end\",\n \"@implementation\",\n \"@interface\",\n \"@package\",\n \"@private\",\n \"@protected\",\n \"@property\",\n \"@protocol\",\n \"@public\",\n \"@selector\",\n \"@synthesize\",\n \"__declspec\",\n \"assign\",\n \"auto\",\n \"BOOL\",\n \"break\",\n \"bycopy\",\n \"byref\",\n \"case\",\n \"char\",\n \"Class\",\n \"const\",\n \"copy\",\n \"continue\",\n \"default\",\n \"do\",\n \"double\",\n \"else\",\n \"enum\",\n \"extern\",\n \"FALSE\",\n \"false\",\n \"float\",\n \"for\",\n \"goto\",\n \"if\",\n \"in\",\n \"int\",\n \"id\",\n \"inout\",\n \"IMP\",\n \"long\",\n \"nil\",\n \"nonatomic\",\n \"NULL\",\n \"oneway\",\n \"out\",\n \"private\",\n \"public\",\n \"protected\",\n \"readwrite\",\n \"readonly\",\n \"register\",\n \"return\",\n \"SEL\",\n \"self\",\n \"short\",\n \"signed\",\n \"sizeof\",\n \"static\",\n \"struct\",\n \"super\",\n \"switch\",\n \"typedef\",\n \"TRUE\",\n \"true\",\n \"union\",\n \"unsigned\",\n \"volatile\",\n \"void\",\n \"while\"\n ],\n decpart: /\\d(_?\\d)*/,\n decimal: /0|@decpart/,\n tokenizer: {\n root: [\n { include: \"@comments\" },\n { include: \"@whitespace\" },\n { include: \"@numbers\" },\n { include: \"@strings\" },\n [/[,:;]/, \"delimiter\"],\n [/[{}\\[\\]()<>]/, \"@brackets\"],\n [\n /[a-zA-Z@#]\\w*/,\n {\n cases: {\n \"@keywords\": \"keyword\",\n \"@default\": \"identifier\"\n }\n }\n ],\n [/[<>=\\\\+\\\\-\\\\*\\\\/\\\\^\\\\|\\\\~,]|and\\\\b|or\\\\b|not\\\\b]/, \"operator\"]\n ],\n whitespace: [[/\\s+/, \"white\"]],\n comments: [\n [\"\\\\/\\\\*\", \"comment\", \"@comment\"],\n [\"\\\\/\\\\/+.*\", \"comment\"]\n ],\n comment: [\n [\"\\\\*\\\\/\", \"comment\", \"@pop\"],\n [\".\", \"comment\"]\n ],\n numbers: [\n [/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/, \"number.hex\"],\n [\n /@decimal((\\.@decpart)?([eE][\\-+]?@decpart)?)[fF]*/,\n {\n cases: {\n \"(\\\\d)*\": \"number\",\n $0: \"number.float\"\n }\n }\n ]\n ],\n strings: [\n [/'$/, \"string.escape\", \"@popall\"],\n [/'/, \"string.escape\", \"@stringBody\"],\n [/\"$/, \"string.escape\", \"@popall\"],\n [/\"/, \"string.escape\", \"@dblStringBody\"]\n ],\n stringBody: [\n [/[^\\\\']+$/, \"string\", \"@popall\"],\n [/[^\\\\']+/, \"string\"],\n [/\\\\./, \"string\"],\n [/'/, \"string.escape\", \"@popall\"],\n [/\\\\$/, \"string\"]\n ],\n dblStringBody: [\n [/[^\\\\\"]+$/, \"string\", \"@popall\"],\n [/[^\\\\\"]+/, \"string\"],\n [/\\\\./, \"string\"],\n [/\"/, \"string.escape\", \"@popall\"],\n [/\\\\$/, \"string\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/objective-c/objective-c.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/objective-c/objective-c.ts\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".objective-c\",\n keywords: [\n \"#import\",\n \"#include\",\n \"#define\",\n \"#else\",\n \"#endif\",\n \"#if\",\n \"#ifdef\",\n \"#ifndef\",\n \"#ident\",\n \"#undef\",\n \"@class\",\n \"@defs\",\n \"@dynamic\",\n \"@encode\",\n \"@end\",\n \"@implementation\",\n \"@interface\",\n \"@package\",\n \"@private\",\n \"@protected\",\n \"@property\",\n \"@protocol\",\n \"@public\",\n \"@selector\",\n \"@synthesize\",\n \"__declspec\",\n \"assign\",\n \"auto\",\n \"BOOL\",\n \"break\",\n \"bycopy\",\n \"byref\",\n \"case\",\n \"char\",\n \"Class\",\n \"const\",\n \"copy\",\n \"continue\",\n \"default\",\n \"do\",\n \"double\",\n \"else\",\n \"enum\",\n \"extern\",\n \"FALSE\",\n \"false\",\n \"float\",\n \"for\",\n \"goto\",\n \"if\",\n \"in\",\n \"int\",\n \"id\",\n \"inout\",\n \"IMP\",\n \"long\",\n \"nil\",\n \"nonatomic\",\n \"NULL\",\n \"oneway\",\n \"out\",\n \"private\",\n \"public\",\n \"protected\",\n \"readwrite\",\n \"readonly\",\n \"register\",\n \"return\",\n \"SEL\",\n \"self\",\n \"short\",\n \"signed\",\n \"sizeof\",\n \"static\",\n \"struct\",\n \"super\",\n \"switch\",\n \"typedef\",\n \"TRUE\",\n \"true\",\n \"union\",\n \"unsigned\",\n \"volatile\",\n \"void\",\n \"while\"\n ],\n decpart: /\\d(_?\\d)*/,\n decimal: /0|@decpart/,\n tokenizer: {\n root: [\n { include: \"@comments\" },\n { include: \"@whitespace\" },\n { include: \"@numbers\" },\n { include: \"@strings\" },\n [/[,:;]/, \"delimiter\"],\n [/[{}\\[\\]()<>]/, \"@brackets\"],\n [\n /[a-zA-Z@#]\\w*/,\n {\n cases: {\n \"@keywords\": \"keyword\",\n \"@default\": \"identifier\"\n }\n }\n ],\n [/[<>=\\\\+\\\\-\\\\*\\\\/\\\\^\\\\|\\\\~,]|and\\\\b|or\\\\b|not\\\\b]/, \"operator\"]\n ],\n whitespace: [[/\\s+/, \"white\"]],\n comments: [\n [\"\\\\/\\\\*\", \"comment\", \"@comment\"],\n [\"\\\\/\\\\/+.*\", \"comment\"]\n ],\n comment: [\n [\"\\\\*\\\\/\", \"comment\", \"@pop\"],\n [\".\", \"comment\"]\n ],\n numbers: [\n [/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/, \"number.hex\"],\n [\n /@decimal((\\.@decpart)?([eE][\\-+]?@decpart)?)[fF]*/,\n {\n cases: {\n \"(\\\\d)*\": \"number\",\n $0: \"number.float\"\n }\n }\n ]\n ],\n // Recognize strings, including those broken across lines with \\ (but not without)\n strings: [\n [/'$/, \"string.escape\", \"@popall\"],\n [/'/, \"string.escape\", \"@stringBody\"],\n [/\"$/, \"string.escape\", \"@popall\"],\n [/\"/, \"string.escape\", \"@dblStringBody\"]\n ],\n stringBody: [\n [/[^\\\\']+$/, \"string\", \"@popall\"],\n [/[^\\\\']+/, \"string\"],\n [/\\\\./, \"string\"],\n [/'/, \"string.escape\", \"@popall\"],\n [/\\\\$/, \"string\"]\n ],\n dblStringBody: [\n [/[^\\\\\"]+$/, \"string\", \"@popall\"],\n [/[^\\\\\"]+/, \"string\"],\n [/\\\\./, \"string\"],\n [/\"/, \"string.escape\", \"@popall\"],\n [/\\\\$/, \"string\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/objective-c/objective-c.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**********************************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/pascaligo/pascaligo.ts\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"(*\", \"*)\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"],\n [\"<\", \">\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".pascaligo\",\n ignoreCase: true,\n brackets: [\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"<\", close: \">\", token: \"delimiter.angle\" }\n ],\n keywords: [\n \"begin\",\n \"block\",\n \"case\",\n \"const\",\n \"else\",\n \"end\",\n \"fail\",\n \"for\",\n \"from\",\n \"function\",\n \"if\",\n \"is\",\n \"nil\",\n \"of\",\n \"remove\",\n \"return\",\n \"skip\",\n \"then\",\n \"type\",\n \"var\",\n \"while\",\n \"with\",\n \"option\",\n \"None\",\n \"transaction\"\n ],\n typeKeywords: [\n \"bool\",\n \"int\",\n \"list\",\n \"map\",\n \"nat\",\n \"record\",\n \"string\",\n \"unit\",\n \"address\",\n \"map\",\n \"mtz\",\n \"xtz\"\n ],\n operators: [\n \"=\",\n \">\",\n \"<\",\n \"<=\",\n \">=\",\n \"<>\",\n \":\",\n \":=\",\n \"and\",\n \"mod\",\n \"or\",\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"@\",\n \"&\",\n \"^\",\n \"%\"\n ],\n symbols: /[=><:@\\^&|+\\-*\\/\\^%]+/,\n tokenizer: {\n root: [\n [\n /[a-zA-Z_][\\w]*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n { include: \"@whitespace\" },\n [/[{}()\\[\\]]/, \"@brackets\"],\n [/[<>](?!@symbols)/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float\"],\n [/\\$[0-9a-fA-F]{1,16}/, \"number.hex\"],\n [/\\d+/, \"number\"],\n [/[;,.]/, \"delimiter\"],\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/'/, \"string\", \"@string\"],\n [/'[^\\\\']'/, \"string\"],\n [/'/, \"string.invalid\"],\n [/\\#\\d+/, \"string\"]\n ],\n comment: [\n [/[^\\(\\*]+/, \"comment\"],\n [/\\*\\)/, \"comment\", \"@pop\"],\n [/\\(\\*/, \"comment\"]\n ],\n string: [\n [/[^\\\\']+/, \"string\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/'/, { token: \"string.quote\", bracket: \"@close\", next: \"@pop\" }]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"white\"],\n [/\\(\\*/, \"comment\", \"@comment\"],\n [/\\/\\/.*$/, \"comment\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/pascaligo/pascaligo.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/pascaligo/pascaligo.ts\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"(*\", \"*)\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"],\n [\"<\", \">\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".pascaligo\",\n ignoreCase: true,\n brackets: [\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"<\", close: \">\", token: \"delimiter.angle\" }\n ],\n keywords: [\n \"begin\",\n \"block\",\n \"case\",\n \"const\",\n \"else\",\n \"end\",\n \"fail\",\n \"for\",\n \"from\",\n \"function\",\n \"if\",\n \"is\",\n \"nil\",\n \"of\",\n \"remove\",\n \"return\",\n \"skip\",\n \"then\",\n \"type\",\n \"var\",\n \"while\",\n \"with\",\n \"option\",\n \"None\",\n \"transaction\"\n ],\n typeKeywords: [\n \"bool\",\n \"int\",\n \"list\",\n \"map\",\n \"nat\",\n \"record\",\n \"string\",\n \"unit\",\n \"address\",\n \"map\",\n \"mtz\",\n \"xtz\"\n ],\n operators: [\n \"=\",\n \">\",\n \"<\",\n \"<=\",\n \">=\",\n \"<>\",\n \":\",\n \":=\",\n \"and\",\n \"mod\",\n \"or\",\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"@\",\n \"&\",\n \"^\",\n \"%\"\n ],\n // we include these common regular expressions\n symbols: /[=><:@\\^&|+\\-*\\/\\^%]+/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // identifiers and keywords\n [\n /[a-zA-Z_][\\w]*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n // whitespace\n { include: \"@whitespace\" },\n // delimiters and operators\n [/[{}()\\[\\]]/, \"@brackets\"],\n [/[<>](?!@symbols)/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n // numbers\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float\"],\n [/\\$[0-9a-fA-F]{1,16}/, \"number.hex\"],\n [/\\d+/, \"number\"],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, \"delimiter\"],\n // strings\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n // non-teminated string\n [/'/, \"string\", \"@string\"],\n // characters\n [/'[^\\\\']'/, \"string\"],\n [/'/, \"string.invalid\"],\n [/\\#\\d+/, \"string\"]\n ],\n /* */\n comment: [\n [/[^\\(\\*]+/, \"comment\"],\n //[/\\(\\*/, 'comment', '@push' ], // nested comment not allowed :-(\n [/\\*\\)/, \"comment\", \"@pop\"],\n [/\\(\\*/, \"comment\"]\n ],\n string: [\n [/[^\\\\']+/, \"string\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/'/, { token: \"string.quote\", bracket: \"@close\", next: \"@pop\" }]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"white\"],\n [/\\(\\*/, \"comment\", \"@comment\"],\n [/\\/\\/.*$/, \"comment\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/pascaligo/pascaligo.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**********************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/pla/pla.ts\nvar conf = {\n comments: {\n lineComment: \"#\"\n },\n brackets: [\n [\"[\", \"]\"],\n [\"<\", \">\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"[\", close: \"]\" },\n { open: \"<\", close: \">\" },\n { open: \"(\", close: \")\" }\n ],\n surroundingPairs: [\n { open: \"[\", close: \"]\" },\n { open: \"<\", close: \">\" },\n { open: \"(\", close: \")\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".pla\",\n brackets: [\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"<\", close: \">\", token: \"delimiter.angle\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" }\n ],\n keywords: [\n \".i\",\n \".o\",\n \".mv\",\n \".ilb\",\n \".ob\",\n \".label\",\n \".type\",\n \".phase\",\n \".pair\",\n \".symbolic\",\n \".symbolic-output\",\n \".kiss\",\n \".p\",\n \".e\",\n \".end\"\n ],\n comment: /#.*$/,\n identifier: /[a-zA-Z]+[a-zA-Z0-9_\\-]*/,\n plaContent: /[01\\-~\\|]+/,\n tokenizer: {\n root: [\n { include: \"@whitespace\" },\n [/@comment/, \"comment\"],\n [\n /\\.([a-zA-Z_\\-]+)/,\n {\n cases: {\n \"@eos\": { token: \"keyword.$1\" },\n \"@keywords\": {\n cases: {\n \".type\": { token: \"keyword.$1\", next: \"@type\" },\n \"@default\": { token: \"keyword.$1\", next: \"@keywordArg\" }\n }\n },\n \"@default\": { token: \"keyword.$1\" }\n }\n }\n ],\n [/@identifier/, \"identifier\"],\n [/@plaContent/, \"string\"]\n ],\n whitespace: [[/[ \\t\\r\\n]+/, \"\"]],\n type: [{ include: \"@whitespace\" }, [/\\w+/, { token: \"type\", next: \"@pop\" }]],\n keywordArg: [\n [\n /[ \\t\\r\\n]+/,\n {\n cases: {\n \"@eos\": { token: \"\", next: \"@pop\" },\n \"@default\": \"\"\n }\n }\n ],\n [/@comment/, \"comment\", \"@pop\"],\n [\n /[<>()\\[\\]]/,\n {\n cases: {\n \"@eos\": { token: \"@brackets\", next: \"@pop\" },\n \"@default\": \"@brackets\"\n }\n }\n ],\n [\n /\\-?\\d+/,\n {\n cases: {\n \"@eos\": { token: \"number\", next: \"@pop\" },\n \"@default\": \"number\"\n }\n }\n ],\n [\n /@identifier/,\n {\n cases: {\n \"@eos\": { token: \"identifier\", next: \"@pop\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n [\n /[;=]/,\n {\n cases: {\n \"@eos\": { token: \"delimiter\", next: \"@pop\" },\n \"@default\": \"delimiter\"\n }\n }\n ]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/pla/pla.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/pla/pla.ts\nvar conf = {\n comments: {\n lineComment: \"#\"\n },\n brackets: [\n [\"[\", \"]\"],\n [\"<\", \">\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"[\", close: \"]\" },\n { open: \"<\", close: \">\" },\n { open: \"(\", close: \")\" }\n ],\n surroundingPairs: [\n { open: \"[\", close: \"]\" },\n { open: \"<\", close: \">\" },\n { open: \"(\", close: \")\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".pla\",\n brackets: [\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"<\", close: \">\", token: \"delimiter.angle\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" }\n ],\n keywords: [\n \".i\",\n \".o\",\n \".mv\",\n \".ilb\",\n \".ob\",\n \".label\",\n \".type\",\n \".phase\",\n \".pair\",\n \".symbolic\",\n \".symbolic-output\",\n \".kiss\",\n \".p\",\n \".e\",\n \".end\"\n ],\n // regular expressions\n comment: /#.*$/,\n identifier: /[a-zA-Z]+[a-zA-Z0-9_\\-]*/,\n plaContent: /[01\\-~\\|]+/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // comments and whitespace\n { include: \"@whitespace\" },\n [/@comment/, \"comment\"],\n // keyword\n [\n /\\.([a-zA-Z_\\-]+)/,\n {\n cases: {\n \"@eos\": { token: \"keyword.$1\" },\n \"@keywords\": {\n cases: {\n \".type\": { token: \"keyword.$1\", next: \"@type\" },\n \"@default\": { token: \"keyword.$1\", next: \"@keywordArg\" }\n }\n },\n \"@default\": { token: \"keyword.$1\" }\n }\n }\n ],\n // identifiers\n [/@identifier/, \"identifier\"],\n // PLA row\n [/@plaContent/, \"string\"]\n ],\n whitespace: [[/[ \\t\\r\\n]+/, \"\"]],\n type: [{ include: \"@whitespace\" }, [/\\w+/, { token: \"type\", next: \"@pop\" }]],\n keywordArg: [\n // whitespace\n [\n /[ \\t\\r\\n]+/,\n {\n cases: {\n \"@eos\": { token: \"\", next: \"@pop\" },\n \"@default\": \"\"\n }\n }\n ],\n // comments\n [/@comment/, \"comment\", \"@pop\"],\n // brackets\n [\n /[<>()\\[\\]]/,\n {\n cases: {\n \"@eos\": { token: \"@brackets\", next: \"@pop\" },\n \"@default\": \"@brackets\"\n }\n }\n ],\n // numbers\n [\n /\\-?\\d+/,\n {\n cases: {\n \"@eos\": { token: \"number\", next: \"@pop\" },\n \"@default\": \"number\"\n }\n }\n ],\n // identifiers\n [\n /@identifier/,\n {\n cases: {\n \"@eos\": { token: \"identifier\", next: \"@pop\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n // delimiter\n [\n /[;=]/,\n {\n cases: {\n \"@eos\": { token: \"delimiter\", next: \"@pop\" },\n \"@default\": \"delimiter\"\n }\n }\n ]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/pla/pla.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\********************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/sb/sb.ts\nvar conf = {\n comments: {\n lineComment: \"'\"\n },\n brackets: [\n [\"(\", \")\"],\n [\"[\", \"]\"],\n [\"If\", \"EndIf\"],\n [\"While\", \"EndWhile\"],\n [\"For\", \"EndFor\"],\n [\"Sub\", \"EndSub\"]\n ],\n autoClosingPairs: [\n { open: '\"', close: '\"', notIn: [\"string\", \"comment\"] },\n { open: \"(\", close: \")\", notIn: [\"string\", \"comment\"] },\n { open: \"[\", close: \"]\", notIn: [\"string\", \"comment\"] }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".sb\",\n ignoreCase: true,\n brackets: [\n { token: \"delimiter.array\", open: \"[\", close: \"]\" },\n { token: \"delimiter.parenthesis\", open: \"(\", close: \")\" },\n { token: \"keyword.tag-if\", open: \"If\", close: \"EndIf\" },\n { token: \"keyword.tag-while\", open: \"While\", close: \"EndWhile\" },\n { token: \"keyword.tag-for\", open: \"For\", close: \"EndFor\" },\n { token: \"keyword.tag-sub\", open: \"Sub\", close: \"EndSub\" }\n ],\n keywords: [\n \"Else\",\n \"ElseIf\",\n \"EndFor\",\n \"EndIf\",\n \"EndSub\",\n \"EndWhile\",\n \"For\",\n \"Goto\",\n \"If\",\n \"Step\",\n \"Sub\",\n \"Then\",\n \"To\",\n \"While\"\n ],\n tagwords: [\"If\", \"Sub\", \"While\", \"For\"],\n operators: [\">\", \"<\", \"<>\", \"<=\", \">=\", \"And\", \"Or\", \"+\", \"-\", \"*\", \"/\", \"=\"],\n identifier: /[a-zA-Z_][\\w]*/,\n symbols: /[=><:+\\-*\\/%\\.,]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n tokenizer: {\n root: [\n { include: \"@whitespace\" },\n [/(@identifier)(?=[.])/, \"type\"],\n [\n /@identifier/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@operators\": \"operator\",\n \"@default\": \"variable.name\"\n }\n }\n ],\n [\n /([.])(@identifier)/,\n {\n cases: {\n $2: [\"delimiter\", \"type.member\"],\n \"@default\": \"\"\n }\n }\n ],\n [/\\d*\\.\\d+/, \"number.float\"],\n [/\\d+/, \"number\"],\n [/[()\\[\\]]/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"operator\",\n \"@default\": \"delimiter\"\n }\n }\n ],\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/\"/, \"string\", \"@string\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/(\\').*$/, \"comment\"]\n ],\n string: [\n [/[^\\\\\"]+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/\"C?/, \"string\", \"@pop\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/sb/sb.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/sb/sb.ts\nvar conf = {\n comments: {\n lineComment: \"'\"\n },\n brackets: [\n [\"(\", \")\"],\n [\"[\", \"]\"],\n [\"If\", \"EndIf\"],\n [\"While\", \"EndWhile\"],\n [\"For\", \"EndFor\"],\n [\"Sub\", \"EndSub\"]\n ],\n autoClosingPairs: [\n { open: '\"', close: '\"', notIn: [\"string\", \"comment\"] },\n { open: \"(\", close: \")\", notIn: [\"string\", \"comment\"] },\n { open: \"[\", close: \"]\", notIn: [\"string\", \"comment\"] }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".sb\",\n ignoreCase: true,\n brackets: [\n { token: \"delimiter.array\", open: \"[\", close: \"]\" },\n { token: \"delimiter.parenthesis\", open: \"(\", close: \")\" },\n // Special bracket statement pairs\n { token: \"keyword.tag-if\", open: \"If\", close: \"EndIf\" },\n { token: \"keyword.tag-while\", open: \"While\", close: \"EndWhile\" },\n { token: \"keyword.tag-for\", open: \"For\", close: \"EndFor\" },\n { token: \"keyword.tag-sub\", open: \"Sub\", close: \"EndSub\" }\n ],\n keywords: [\n \"Else\",\n \"ElseIf\",\n \"EndFor\",\n \"EndIf\",\n \"EndSub\",\n \"EndWhile\",\n \"For\",\n \"Goto\",\n \"If\",\n \"Step\",\n \"Sub\",\n \"Then\",\n \"To\",\n \"While\"\n ],\n tagwords: [\"If\", \"Sub\", \"While\", \"For\"],\n operators: [\">\", \"<\", \"<>\", \"<=\", \">=\", \"And\", \"Or\", \"+\", \"-\", \"*\", \"/\", \"=\"],\n // we include these common regular expressions\n identifier: /[a-zA-Z_][\\w]*/,\n symbols: /[=><:+\\-*\\/%\\.,]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // whitespace\n { include: \"@whitespace\" },\n // classes\n [/(@identifier)(?=[.])/, \"type\"],\n // identifiers, tagwords, and keywords\n [\n /@identifier/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@operators\": \"operator\",\n \"@default\": \"variable.name\"\n }\n }\n ],\n // methods, properties, and events\n [\n /([.])(@identifier)/,\n {\n cases: {\n $2: [\"delimiter\", \"type.member\"],\n \"@default\": \"\"\n }\n }\n ],\n // numbers\n [/\\d*\\.\\d+/, \"number.float\"],\n [/\\d+/, \"number\"],\n // delimiters and operators\n [/[()\\[\\]]/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"operator\",\n \"@default\": \"delimiter\"\n }\n }\n ],\n // strings\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n // non-teminated string\n [/\"/, \"string\", \"@string\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/(\\').*$/, \"comment\"]\n ],\n string: [\n [/[^\\\\\"]+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/\"C?/, \"string\", \"@pop\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/sb/sb.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
\****************************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/scheme/scheme.ts\nvar conf = {\n comments: {\n lineComment: \";\",\n blockComment: [\"#|\", \"|#\"]\n },\n brackets: [\n [\"(\", \")\"],\n [\"{\", \"}\"],\n [\"[\", \"]\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' }\n ]\n};\nvar language = {\n defaultToken: \"\",\n ignoreCase: true,\n tokenPostfix: \".scheme\",\n brackets: [\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" }\n ],\n keywords: [\n \"case\",\n \"do\",\n \"let\",\n \"loop\",\n \"if\",\n \"else\",\n \"when\",\n \"cons\",\n \"car\",\n \"cdr\",\n \"cond\",\n \"lambda\",\n \"lambda*\",\n \"syntax-rules\",\n \"format\",\n \"set!\",\n \"quote\",\n \"eval\",\n \"append\",\n \"list\",\n \"list?\",\n \"member?\",\n \"load\"\n ],\n constants: [\"#t\", \"#f\"],\n operators: [\"eq?\", \"eqv?\", \"equal?\", \"and\", \"or\", \"not\", \"null?\"],\n tokenizer: {\n root: [\n [/#[xXoObB][0-9a-fA-F]+/, \"number.hex\"],\n [/[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?/, \"number.float\"],\n [\n /(?:\\b(?:(define|define-syntax|define-macro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)/,\n [\"keyword\", \"white\", \"variable\"]\n ],\n { include: \"@whitespace\" },\n { include: \"@strings\" },\n [\n /[a-zA-Z_#][a-zA-Z0-9_\\-\\?\\!\\*]*/,\n {\n cases: {\n \"@keywords\": \"keyword\",\n \"@constants\": \"constant\",\n \"@operators\": \"operators\",\n \"@default\": \"identifier\"\n }\n }\n ]\n ],\n comment: [\n [/[^\\|#]+/, \"comment\"],\n [/#\\|/, \"comment\", \"@push\"],\n [/\\|#/, \"comment\", \"@pop\"],\n [/[\\|#]/, \"comment\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"white\"],\n [/#\\|/, \"comment\", \"@comment\"],\n [/;.*$/, \"comment\"]\n ],\n strings: [\n [/\"$/, \"string\", \"@popall\"],\n [/\"(?=.)/, \"string\", \"@multiLineString\"]\n ],\n multiLineString: [\n [/[^\\\\\"]+$/, \"string\", \"@popall\"],\n [/[^\\\\\"]+/, \"string\"],\n [/\\\\./, \"string.escape\"],\n [/\"/, \"string\", \"@popall\"],\n [/\\\\$/, \"string\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/scheme/scheme.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n\n// src/basic-languages/scheme/scheme.ts\nvar conf = {\n comments: {\n lineComment: \";\",\n blockComment: [\"#|\", \"|#\"]\n },\n brackets: [\n [\"(\", \")\"],\n [\"{\", \"}\"],\n [\"[\", \"]\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' }\n ]\n};\nvar language = {\n defaultToken: \"\",\n ignoreCase: true,\n tokenPostfix: \".scheme\",\n brackets: [\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" }\n ],\n keywords: [\n \"case\",\n \"do\",\n \"let\",\n \"loop\",\n \"if\",\n \"else\",\n \"when\",\n \"cons\",\n \"car\",\n \"cdr\",\n \"cond\",\n \"lambda\",\n \"lambda*\",\n \"syntax-rules\",\n \"format\",\n \"set!\",\n \"quote\",\n \"eval\",\n \"append\",\n \"list\",\n \"list?\",\n \"member?\",\n \"load\"\n ],\n constants: [\"#t\", \"#f\"],\n operators: [\"eq?\", \"eqv?\", \"equal?\", \"and\", \"or\", \"not\", \"null?\"],\n tokenizer: {\n root: [\n [/#[xXoObB][0-9a-fA-F]+/, \"number.hex\"],\n [/[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?/, \"number.float\"],\n [\n /(?:\\b(?:(define|define-syntax|define-macro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)/,\n [\"keyword\", \"white\", \"variable\"]\n ],\n { include: \"@whitespace\" },\n { include: \"@strings\" },\n [\n /[a-zA-Z_#][a-zA-Z0-9_\\-\\?\\!\\*]*/,\n {\n cases: {\n \"@keywords\": \"keyword\",\n \"@constants\": \"constant\",\n \"@operators\": \"operators\",\n \"@default\": \"identifier\"\n }\n }\n ]\n ],\n comment: [\n [/[^\\|#]+/, \"comment\"],\n [/#\\|/, \"comment\", \"@push\"],\n [/\\|#/, \"comment\", \"@pop\"],\n [/[\\|#]/, \"comment\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"white\"],\n [/#\\|/, \"comment\", \"@comment\"],\n [/;.*$/, \"comment\"]\n ],\n strings: [\n [/\"$/, \"string\", \"@popall\"],\n [/\"(?=.)/, \"string\", \"@multiLineString\"]\n ],\n multiLineString: [\n [/[^\\\\\"]+$/, \"string\", \"@popall\"],\n [/[^\\\\\"]+/, \"string\"],\n [/\\\\./, \"string.escape\"],\n [/\"/, \"string\", \"@popall\"],\n [/\\\\$/, \"string\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/scheme/scheme.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -15,7 +15,7 @@
|
||||
\**********************************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/* harmony import */ var _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../editor/editor.api.js */ \"include-loader!./node_modules/monaco-editor/esm/vs/editor/editor.api.js\");\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\n\n// src/fillers/monaco-editor-core.ts\nvar monaco_editor_core_exports = {};\n__reExport(monaco_editor_core_exports, _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__);\n\n\n// src/basic-languages/xml/xml.ts\nvar conf = {\n comments: {\n blockComment: [\"<!--\", \"-->\"]\n },\n brackets: [[\"<\", \">\"]],\n autoClosingPairs: [\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' }\n ],\n surroundingPairs: [\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' }\n ],\n onEnterRules: [\n {\n beforeText: new RegExp(`<([_:\\\\w][_:\\\\w-.\\\\d]*)([^/>]*(?!/)>)[^<]*$`, \"i\"),\n afterText: /^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$/i,\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent\n }\n },\n {\n beforeText: new RegExp(`<(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`, \"i\"),\n action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }\n }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".xml\",\n ignoreCase: true,\n qualifiedName: /(?:[\\w\\.\\-]+:)?[\\w\\.\\-]+/,\n tokenizer: {\n root: [\n [/[^<&]+/, \"\"],\n { include: \"@whitespace\" },\n [/(<)(@qualifiedName)/, [{ token: \"delimiter\" }, { token: \"tag\", next: \"@tag\" }]],\n [\n /(<\\/)(@qualifiedName)(\\s*)(>)/,\n [{ token: \"delimiter\" }, { token: \"tag\" }, \"\", { token: \"delimiter\" }]\n ],\n [/(<\\?)(@qualifiedName)/, [{ token: \"delimiter\" }, { token: \"metatag\", next: \"@tag\" }]],\n [/(<\\!)(@qualifiedName)/, [{ token: \"delimiter\" }, { token: \"metatag\", next: \"@tag\" }]],\n [/<\\!\\[CDATA\\[/, { token: \"delimiter.cdata\", next: \"@cdata\" }],\n [/&\\w+;/, \"string.escape\"]\n ],\n cdata: [\n [/[^\\]]+/, \"\"],\n [/\\]\\]>/, { token: \"delimiter.cdata\", next: \"@pop\" }],\n [/\\]/, \"\"]\n ],\n tag: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/(@qualifiedName)(\\s*=\\s*)(\"[^\"]*\"|'[^']*')/, [\"attribute.name\", \"\", \"attribute.value\"]],\n [\n /(@qualifiedName)(\\s*=\\s*)(\"[^\">?\\/]*|'[^'>?\\/]*)(?=[\\?\\/]\\>)/,\n [\"attribute.name\", \"\", \"attribute.value\"]\n ],\n [/(@qualifiedName)(\\s*=\\s*)(\"[^\">]*|'[^'>]*)/, [\"attribute.name\", \"\", \"attribute.value\"]],\n [/@qualifiedName/, \"attribute.name\"],\n [/\\?>/, { token: \"delimiter\", next: \"@pop\" }],\n [/(\\/)(>)/, [{ token: \"tag\" }, { token: \"delimiter\", next: \"@pop\" }]],\n [/>/, { token: \"delimiter\", next: \"@pop\" }]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/<!--/, { token: \"comment\", next: \"@comment\" }]\n ],\n comment: [\n [/[^<\\-]+/, \"comment.content\"],\n [/-->/, { token: \"comment\", next: \"@pop\" }],\n [/<!--/, \"comment.content.invalid\"],\n [/[<\\-]/, \"comment.content\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.js?");
|
||||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ conf: () => (/* binding */ conf),\n/* harmony export */ language: () => (/* binding */ language)\n/* harmony export */ });\n/* harmony import */ var _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../editor/editor.api.js */ \"include-loader!./node_modules/monaco-editor/esm/vs/editor/editor.api.js\");\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\n\n// src/fillers/monaco-editor-core.ts\nvar monaco_editor_core_exports = {};\n__reExport(monaco_editor_core_exports, _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__);\n\n\n// src/basic-languages/xml/xml.ts\nvar conf = {\n comments: {\n blockComment: [\"<!--\", \"-->\"]\n },\n brackets: [[\"<\", \">\"]],\n autoClosingPairs: [\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' }\n ],\n surroundingPairs: [\n { open: \"<\", close: \">\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' }\n ],\n onEnterRules: [\n {\n beforeText: new RegExp(`<([_:\\\\w][_:\\\\w-.\\\\d]*)([^/>]*(?!/)>)[^<]*$`, \"i\"),\n afterText: /^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$/i,\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent\n }\n },\n {\n beforeText: new RegExp(`<(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`, \"i\"),\n action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }\n }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".xml\",\n ignoreCase: true,\n // Useful regular expressions\n qualifiedName: /(?:[\\w\\.\\-]+:)?[\\w\\.\\-]+/,\n tokenizer: {\n root: [\n [/[^<&]+/, \"\"],\n { include: \"@whitespace\" },\n // Standard opening tag\n [/(<)(@qualifiedName)/, [{ token: \"delimiter\" }, { token: \"tag\", next: \"@tag\" }]],\n // Standard closing tag\n [\n /(<\\/)(@qualifiedName)(\\s*)(>)/,\n [{ token: \"delimiter\" }, { token: \"tag\" }, \"\", { token: \"delimiter\" }]\n ],\n // Meta tags - instruction\n [/(<\\?)(@qualifiedName)/, [{ token: \"delimiter\" }, { token: \"metatag\", next: \"@tag\" }]],\n // Meta tags - declaration\n [/(<\\!)(@qualifiedName)/, [{ token: \"delimiter\" }, { token: \"metatag\", next: \"@tag\" }]],\n // CDATA\n [/<\\!\\[CDATA\\[/, { token: \"delimiter.cdata\", next: \"@cdata\" }],\n [/&\\w+;/, \"string.escape\"]\n ],\n cdata: [\n [/[^\\]]+/, \"\"],\n [/\\]\\]>/, { token: \"delimiter.cdata\", next: \"@pop\" }],\n [/\\]/, \"\"]\n ],\n tag: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/(@qualifiedName)(\\s*=\\s*)(\"[^\"]*\"|'[^']*')/, [\"attribute.name\", \"\", \"attribute.value\"]],\n [\n /(@qualifiedName)(\\s*=\\s*)(\"[^\">?\\/]*|'[^'>?\\/]*)(?=[\\?\\/]\\>)/,\n [\"attribute.name\", \"\", \"attribute.value\"]\n ],\n [/(@qualifiedName)(\\s*=\\s*)(\"[^\">]*|'[^'>]*)/, [\"attribute.name\", \"\", \"attribute.value\"]],\n [/@qualifiedName/, \"attribute.name\"],\n [/\\?>/, { token: \"delimiter\", next: \"@pop\" }],\n [/(\\/)(>)/, [{ token: \"tag\" }, { token: \"delimiter\", next: \"@pop\" }]],\n [/>/, { token: \"delimiter\", next: \"@pop\" }]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/<!--/, { token: \"comment\", next: \"@comment\" }]\n ],\n comment: [\n [/[^<\\-]+/, \"comment.content\"],\n [/-->/, { token: \"comment\", next: \"@pop\" }],\n [/<!--/, \"comment.content.invalid\"],\n [/[<\\-]/, \"comment.content\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://APITestManager/./node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.js?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user