UNPKG

@finos/legend-application

Version:
45 lines 1.95 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 { GenericLegendApplicationStore } from '../stores/ApplicationStore.js'; /** * Some elements (e.g. <canvas>) and components that we do not control the implementation * might have special logic to prevent `keydown` event bubbling naturally, this * method forces those event to surface to the top of the app and being handled * by keybinding service */ export declare const forceDispatchKeyboardEvent: (event: KeyboardEvent, applicationStore: GenericLegendApplicationStore) => void; /** * Potential location to mount backdrop on * * NOTE: we usually want the backdrop container to be the first child of its immediate parent * so that it properly lies under the content that we pick to show on top of the backdrop */ export declare const BackdropContainer: React.FC<{ elementId: string; }>; export declare const ApplicationComponentFrameworkProvider: ((props: { children: React.ReactNode; enableTransitions?: boolean | undefined; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; export declare const SimpleApplicationComponentFrameworkProvider: ((props: { children: React.ReactNode; enableTransitions?: boolean | undefined; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; //# sourceMappingURL=ApplicationComponentFrameworkProvider.d.ts.map