fix: build error caused by missing property in src/i18n/es-ES.ts (#202)

Legend thank you ❤️
This commit is contained in:
Akmal Syarifuddin
2026-01-10 15:26:46 +07:00
committed by GitHub
parent 2ce342dc98
commit 574b298e90
6 changed files with 19 additions and 11 deletions

View File

@@ -1,13 +1,11 @@
import { Coords } from '../../types';
interface MenuItemI {
label: string;
onClick: () => void;
}
interface Props {
onClose: () => void;
position: Coords;
anchorEl?: HTMLElement;
anchorEl?: HTMLElement | null;
menuItems: MenuItemI[];
}
export declare const ContextMenu: ({ onClose, position, anchorEl, menuItems }: Props) => import("react/jsx-runtime").JSX.Element;
export declare const ContextMenu: ({ onClose, anchorEl, menuItems }: Props) => import("react/jsx-runtime").JSX.Element;
export {};

View File

@@ -1,5 +1,5 @@
interface Props {
anchorEl?: HTMLElement;
anchorEl?: HTMLElement | null;
}
export declare const ContextMenuManager: ({ anchorEl }: Props) => import("react/jsx-runtime").JSX.Element | null;
export declare const ContextMenuManager: ({ anchorEl }: Props) => import("react/jsx-runtime").JSX.Element;
export {};

View File

@@ -8,5 +8,7 @@ declare const locales: {
'bn-BD': import("../types").LocaleProps;
'ru-RU': import("../types").LocaleProps;
'pl-PL': import("../types").LocaleProps;
'id-ID': import("../types").LocaleProps;
'it-IT': import("../types").LocaleProps;
};
export default locales;

View File

File diff suppressed because one or more lines are too long

View File

@@ -114,6 +114,10 @@ export interface LocaleProps {
instructionDrag: string;
instructionEnd: string;
};
connectorEmptySpaceTooltip: {
message: string;
instruction: string;
};
settings: {
zoom: {
description: string;

View File

@@ -111,6 +111,10 @@ const locale: LocaleProps = {
instructionDrag: "arrastra",
instructionEnd: "para cambiarlo!"
},
connectorEmptySpaceTooltip: {
message: "Para conectar este conector a un nodo,",
instruction: "haz clic izquierdo en el extremo del conector y arrástralo al nodo deseado."
},
settings: {
zoom: {
description: "Configura el comportamiento del zoom al usar la rueda del ratón.",