Build update

This commit is contained in:
Francisco Hodge 2023-03-06 02:39:14 +00:00
parent f0e59919ef
commit f959dababd
6 changed files with 10 additions and 9 deletions

View File

@ -1,5 +1,6 @@
import "./css/Keyboard.css"; import "./css/Keyboard.css";
import PhysicalKeyboard from "../services/PhysicalKeyboard"; import PhysicalKeyboard from "../services/PhysicalKeyboard";
import Utilities from "../services/Utilities";
import { KeyboardOptions, KeyboardInput, KeyboardButtonElements, KeyboardHandlerEvent, KeyboardElement } from "../interfaces"; import { KeyboardOptions, KeyboardInput, KeyboardButtonElements, KeyboardHandlerEvent, KeyboardElement } from "../interfaces";
import CandidateBox from "./CandidateBox"; import CandidateBox from "./CandidateBox";
/** /**
@ -12,7 +13,7 @@ import CandidateBox from "./CandidateBox";
declare class SimpleKeyboard { declare class SimpleKeyboard {
input: KeyboardInput; input: KeyboardInput;
options: KeyboardOptions; options: KeyboardOptions;
utilities: any; utilities: Utilities;
caretPosition: number | null; caretPosition: number | null;
caretPositionEnd: number | null; caretPositionEnd: number | null;
keyboardDOM: KeyboardElement; keyboardDOM: KeyboardElement;

View File

@ -1,6 +1,6 @@
/*! /*!
* *
* simple-keyboard v3.5.26 * simple-keyboard v3.5.27
* https://github.com/hodgef/simple-keyboard * https://github.com/hodgef/simple-keyboard
* *
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors. * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -99,7 +99,7 @@ declare class Utilities {
* @param {object} display The provided display option * @param {object} display The provided display option
* @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one. * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.
*/ */
getButtonDisplayName(button: string, display: KeyboardOptions["display"], mergeDisplay: boolean): string; getButtonDisplayName(button: string, display: KeyboardOptions["display"], mergeDisplay?: boolean): string;
/** /**
* Returns the updated input resulting from clicking a given button * Returns the updated input resulting from clicking a given button
* *
@ -109,7 +109,7 @@ declare class Utilities {
* @param {number} caretPosEnd The cursor's current end position * @param {number} caretPosEnd The cursor's current end position
* @param {boolean} moveCaret Whether to update simple-keyboard's cursor * @param {boolean} moveCaret Whether to update simple-keyboard's cursor
*/ */
getUpdatedInput(button: string, input: string, caretPos: number, caretPosEnd?: number, moveCaret?: boolean): string; getUpdatedInput(button: string, input: string, caretPos: any, caretPosEnd?: any, moveCaret?: boolean): string;
/** /**
* Moves the cursor position by a given amount * Moves the cursor position by a given amount
* *