@finos/legend-data-cube
Version:
88 lines • 4.05 kB
TypeScript
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { editor as monacoEditorAPI } from 'monaco-editor';
import { type CheckboxProps, type DropdownMenuItemProps, type DropdownMenuProps } from '@finos/legend-art';
import React from 'react';
import { AlertType } from '../../stores/services/DataCubeAlertService.js';
export declare function FormBadge_WIP(): import("react/jsx-runtime").JSX.Element;
export declare function FormBadge_Advanced(): import("react/jsx-runtime").JSX.Element;
export declare const FormButton: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
compact?: boolean | undefined;
} & React.RefAttributes<HTMLButtonElement>>;
export declare const FormNumberInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & {
min?: number | undefined;
max?: number | undefined;
step?: number | undefined;
isValid?: (value: number | undefined) => boolean;
isDecimal?: boolean | undefined;
defaultValue?: number | undefined;
value: number | undefined;
setValue: (value?: number | undefined) => void;
className?: string | undefined;
} & React.RefAttributes<HTMLInputElement>>;
export declare const FormTextInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
export declare function FormCheckbox(props: CheckboxProps & {
label?: React.ReactNode;
onChange: () => void;
}): import("react/jsx-runtime").JSX.Element;
export declare const FormDropdownMenuTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
open?: boolean | undefined;
showAsPlaceholder?: boolean | undefined;
} & React.RefAttributes<HTMLButtonElement>>;
export declare function FormDropdownMenu(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
export declare function FormDropdownMenuItem(props: DropdownMenuItemProps): import("react/jsx-runtime").JSX.Element;
export declare function FormDropdownMenuItemSeparator(): import("react/jsx-runtime").JSX.Element;
export declare function FormColorPickerButton(props: {
color: string;
onChange: (value: string) => void;
className?: string | undefined;
disabled?: boolean | undefined;
defaultColor?: string | undefined;
}): import("react/jsx-runtime").JSX.Element;
export declare const FormDocumentation: React.FC<{
documentationKey: string;
title?: string | undefined;
className?: string | undefined;
}>;
export declare const FormCodeEditor: React.FC<{
value: string;
updateValue?: ((val: string) => void) | undefined;
language: string;
title?: string | undefined;
isReadOnly?: boolean | undefined;
hideMinimap?: boolean | undefined;
hideGutter?: boolean | undefined;
hidePadding?: boolean | undefined;
hideActionBar?: boolean | undefined;
lineToScroll?: number | undefined;
extraEditorOptions?: (monacoEditorAPI.IEditorOptions & monacoEditorAPI.IGlobalEditorOptions) | undefined;
error?: {
message: string;
sourceInformation: {
startLine: number;
startColumn: number;
endLine: number;
endColumn: number;
};
} | undefined;
}>;
export declare function FormAlert(props: {
message: string;
type: AlertType;
text?: string | undefined;
className?: string | undefined;
}): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=DataCubeFormUtils.d.ts.map