UNPKG

@finos/legend-application-studio

Version:
66 lines 2.98 kB
/** * 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 { type DataElement, type ValueSpecification, type VariableExpression } from '@finos/legend-graph'; import { type TestAssertionEditorState } from '../../../../stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js'; import type { TestableTestEditorState } from '../../../../stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js'; import type { EditorStore } from '../../../../stores/editor/EditorStore.js'; import type { TestParamContentType } from '../../../../stores/editor/utils/TestableUtils.js'; export declare const SharedDataElementModal: ((props: { filterBy?: (val: DataElement) => boolean; handler: (val: DataElement) => void; editorStore: EditorStore; isReadOnly: boolean; close: () => void; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; export declare const RenameModal: ((props: { val: string; isReadOnly: boolean; setValue: (val: string) => void; showModal: boolean; closeModal: () => void; errorMessageFunc?: (val: string) => string | undefined; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; export declare const TestAssertionContextMenu: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<{ testableTestState: TestableTestEditorState; testAssertionState: TestAssertionEditorState; } & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>>; export declare const TestAssertionItem: ((props: { testAssertionEditorState: TestAssertionEditorState; testableTestState: TestableTestEditorState; isReadOnly: boolean; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; export declare const TestAssertionEditor: ((props: { testAssertionState: TestAssertionEditorState; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; export declare const ExternalFormatParameterEditorModal: ((props: { valueSpec: ValueSpecification; varExpression: VariableExpression; isReadOnly: boolean; onClose: () => void; updateParamValue: (val: string) => void; contentTypeParamPair: TestParamContentType; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; //# sourceMappingURL=TestableSharedComponents.d.ts.map