@making-sense/antlr-editor
Version:
ANTLR Typescript editor
108 lines (107 loc) • 2.4 kB
TypeScript
import { type CursorType } from "../Editor";
declare const _default: {
title: string;
component: (props: any) => import("react/jsx-runtime").JSX.Element;
tags: string[];
};
export default _default;
export declare const Default: {
args: {
initialRule: string;
};
argTypes: {
initialRule: {
control: string;
options: string[];
};
};
};
export declare const WithInvalidScript: {
args: {
initialRule: string;
script: string;
};
argTypes: {
initialRule: {
control: string;
options: string[];
};
};
};
export declare const Styled: {
args: {
initialRule: string;
theme: string;
height: string;
width: string;
options: {
lineNumbers: boolean;
minimap: {
enabled: boolean;
};
readOnly: boolean;
};
};
argTypes: {
initialRule: {
control: string;
options: string[];
};
theme: {
control: string;
options: string[];
};
options: {
control: string;
};
};
};
declare enum VariableType {
STRING = "STRING",
INTEGER = "INTEGER",
NUMBER = "NUMBER",
BOOLEAN = "BOOLEAN"
}
declare enum VariableRole {
IDENTIFIER = "IDENTIFIER",
MEASURE = "MEASURE",
DIMENSION = "DIMENSION"
}
export declare const Enriched: {
args: {
initialRule: string;
variables: {
name: {
type: VariableType;
role: VariableRole;
};
age: {
type: VariableType;
role: VariableRole;
};
};
variablesInputURLs: string[];
shortcuts: {
"ctrl+s, meta+s": () => void;
"ctrl+enter, meta+enter": () => void;
};
FooterComponent: ({ cursor }: {
cursor: CursorType;
}) => import("react/jsx-runtime").JSX.Element;
};
argTypes: {
initialRule: {
control: string;
options: string[];
};
variables: {
control: string;
};
variablesInputURLs: {
control: string;
};
displayFooter: {
control: string;
};
};
};