mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-12 02:57:32 +08:00
IContext > IInput
This commit is contained in:
@@ -9,7 +9,7 @@ import Configuration from "../Configuration"
|
||||
/**
|
||||
* @template {HTMLElement} T
|
||||
*/
|
||||
export default class IContext {
|
||||
export default class IInput {
|
||||
|
||||
/** @type {T} */
|
||||
#target
|
||||
@@ -1,9 +1,9 @@
|
||||
// @ts-check
|
||||
|
||||
import IContext from "../IContext"
|
||||
import IInput from "../IInput"
|
||||
import ObjectSerializer from "../../serialization/ObjectSerializer"
|
||||
|
||||
export default class Copy extends IContext {
|
||||
export default class Copy extends IInput {
|
||||
|
||||
/** @type {(e: ClipboardEvent) => void} */
|
||||
#copyHandler
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// @ts-check
|
||||
|
||||
import IContext from "../IContext"
|
||||
import IInput from "../IInput"
|
||||
import NodeElement from "../../element/NodeElement"
|
||||
import ObjectSerializer from "../../serialization/ObjectSerializer"
|
||||
|
||||
export default class Paste extends IContext {
|
||||
export default class Paste extends IInput {
|
||||
|
||||
/** @type {(e: ClipboardEvent) => void} */
|
||||
#pasteHandle
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// @ts-check
|
||||
|
||||
import Configuration from "../../Configuration"
|
||||
import IContext from "../IContext"
|
||||
import IInput from "../IInput"
|
||||
import ISerializer from "../../serialization/ISerializer"
|
||||
import KeyBindingEntity from "../../entity/KeyBindingEntity"
|
||||
|
||||
export default class IKeyboardShortcut extends IContext {
|
||||
export default class IKeyboardShortcut extends IInput {
|
||||
|
||||
/** @type {KeyBindingEntity[]} */
|
||||
#activationKeys
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// @ts-check
|
||||
|
||||
import IContext from "../IContext"
|
||||
import IInput from "../IInput"
|
||||
import Utility from "../../Utility"
|
||||
|
||||
/**
|
||||
@@ -9,9 +9,9 @@ import Utility from "../../Utility"
|
||||
|
||||
/**
|
||||
* @template {HTMLElement} T
|
||||
* @extends {IContext<T>}
|
||||
* @extends {IInput<T>}
|
||||
*/
|
||||
export default class IPointing extends IContext {
|
||||
export default class IPointing extends IInput {
|
||||
|
||||
constructor(target, blueprint, options) {
|
||||
super(target, blueprint, options)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// @ts-check
|
||||
|
||||
import IContext from "../IContext"
|
||||
import IInput from "../IInput"
|
||||
|
||||
export default class Unfocus extends IContext {
|
||||
export default class Unfocus extends IInput {
|
||||
|
||||
/** @type {(e: MouseEvent) => void} */
|
||||
#clickHandler
|
||||
|
||||
Reference in New Issue
Block a user