mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-17 05:47:34 +08:00
Pin names refactoring
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import { html } from "lit"
|
||||
import IntPinTemplate from "./IntPinTemplate"
|
||||
import INumericInputPinTemplate from "./INumericInputPinTemplate"
|
||||
|
||||
/** @typedef {import("../../entity/IntegerEntity").default} IntegerEntity */
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { html } from "lit"
|
||||
import INumericInputPinTemplate from "./INumericInputPinTemplate"
|
||||
import INumericPinTemplate from "./INumericPinTemplate"
|
||||
|
||||
/** @typedef {import("../../entity/IntegerEntity").default} IntegerEntity */
|
||||
|
||||
/** @extends INumericInputPinTemplate<IntegerEntity> */
|
||||
export default class IntPinTemplate extends INumericInputPinTemplate {
|
||||
/** @extends INumericPinTemplate<IntegerEntity> */
|
||||
export default class IntPinTemplate extends INumericPinTemplate {
|
||||
|
||||
setDefaultValue(values = [], rawValues = values) {
|
||||
const integer = this.element.getDefaultValue(true)
|
||||
|
||||
@@ -2,7 +2,7 @@ import IInputPinTemplate from "./IInputPinTemplate"
|
||||
|
||||
/** @typedef {import("../../element/PinElement").default} PinElement */
|
||||
|
||||
export default class NameInputPinTemplate extends IInputPinTemplate {
|
||||
export default class NamePinTemplate extends IInputPinTemplate {
|
||||
|
||||
static singleLineInput = true
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { html } from "lit"
|
||||
import IInputPinTemplate from "./IInputPinTemplate"
|
||||
import INumericPinTemplate from "./INumericInputPinTemplate"
|
||||
import INumericPinTemplate from "./INumericPinTemplate"
|
||||
import Utility from "../../Utility"
|
||||
|
||||
/**
|
||||
@@ -1,6 +1,6 @@
|
||||
import { html } from "lit"
|
||||
import IInputPinTemplate from "./IInputPinTemplate"
|
||||
import INumericPinTemplate from "./INumericInputPinTemplate"
|
||||
import INumericPinTemplate from "./INumericPinTemplate"
|
||||
import RotatorEntity from "../../entity/RotatorEntity"
|
||||
import Utility from "../../Utility"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { html } from "lit"
|
||||
import IInputPinTemplate from "./IInputPinTemplate"
|
||||
import INumericPinTemplate from "./INumericInputPinTemplate"
|
||||
import INumericPinTemplate from "./INumericPinTemplate"
|
||||
import Utility from "../../Utility"
|
||||
import Vector2DEntity from "../../entity/Vector2DEntity"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { html } from "lit"
|
||||
import IInputPinTemplate from "./IInputPinTemplate"
|
||||
import INumericPinTemplate from "./INumericInputPinTemplate"
|
||||
import INumericPinTemplate from "./INumericPinTemplate"
|
||||
import Utility from "../../Utility"
|
||||
import VectorEntity from "../../entity/VectorEntity"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user