From 60a8aa544a5898e369d09f53804f148c567ba1b3 Mon Sep 17 00:00:00 2001 From: barsdeveloper Date: Sat, 17 Dec 2022 10:46:30 +0100 Subject: [PATCH] Move pin templates to subdirectory --- dist/ueblueprint.js | 32 +++++++++---------- js/Blueprint.js | 2 +- js/element/InputElement.js | 2 +- js/element/NodeElement.js | 2 +- js/element/PinElement.js | 24 +++++++------- js/input/keybaord/IKeyboardShortcut.js | 1 - js/input/mouse/MouseMoveNodes.js | 2 +- js/template/KnotNodeTemplate.js | 2 +- js/template/{ => node}/CommentNodeTemplate.js | 10 +++--- js/template/{ => pin}/BoolPinTemplate.js | 2 +- js/template/{ => pin}/ExecPinTemplate.js | 6 ++-- js/template/{ => pin}/IInputPinTemplate.js | 6 ++-- .../{ => pin}/INumericInputPinTemplate.js | 0 js/template/{ => pin}/InputTemplate.js | 4 +-- js/template/{ => pin}/IntPinTemplate.js | 4 +-- js/template/{ => pin}/KnotPinTemplate.js | 4 +-- .../{ => pin}/LinearColorPinTemplate.js | 10 +++--- js/template/{ => pin}/NamePinTemplate.js | 2 +- js/template/{ => pin}/PinTemplate.js | 14 ++++---- js/template/{ => pin}/RealInputPinTemplate.js | 2 +- js/template/{ => pin}/ReferencePinTemplate.js | 2 +- .../{ => pin}/RotatorInputPinTemplate.js | 4 +-- .../{ => pin}/StringInputPinTemplate.js | 0 .../{ => pin}/VectorInputPinTemplate.js | 6 ++-- 24 files changed, 70 insertions(+), 73 deletions(-) rename js/template/{ => node}/CommentNodeTemplate.js (91%) rename js/template/{ => pin}/BoolPinTemplate.js (94%) rename js/template/{ => pin}/ExecPinTemplate.js (79%) rename js/template/{ => pin}/IInputPinTemplate.js (95%) rename js/template/{ => pin}/INumericInputPinTemplate.js (100%) rename js/template/{ => pin}/InputTemplate.js (94%) rename js/template/{ => pin}/IntPinTemplate.js (82%) rename js/template/{ => pin}/KnotPinTemplate.js (88%) rename js/template/{ => pin}/LinearColorPinTemplate.js (85%) rename js/template/{ => pin}/NamePinTemplate.js (69%) rename js/template/{ => pin}/PinTemplate.js (85%) rename js/template/{ => pin}/RealInputPinTemplate.js (95%) rename js/template/{ => pin}/ReferencePinTemplate.js (82%) rename js/template/{ => pin}/RotatorInputPinTemplate.js (93%) rename js/template/{ => pin}/StringInputPinTemplate.js (100%) rename js/template/{ => pin}/VectorInputPinTemplate.js (91%) diff --git a/dist/ueblueprint.js b/dist/ueblueprint.js index 1614343..03688dd 100755 --- a/dist/ueblueprint.js +++ b/dist/ueblueprint.js @@ -4723,7 +4723,7 @@ class IDraggablePositionedTemplate extends IDraggableTemplate { /** * @typedef {import("../../Blueprint").default} Blueprint * @typedef {import("../../element/NodeElement").default} NodeElement - * @typedef {import("../../template/CommentNodeTemplate").default} CommentNodeTemplate + * @typedef {import("../../template/node/CommentNodeTemplate").default} CommentNodeTemplate */ /** @extends {MouseMoveDraggable} */ @@ -5102,8 +5102,8 @@ class IResizeableTemplate extends NodeTemplate { } /** - * @typedef {import("../element/NodeElement").default} NodeElement - * @typedef {import("../element/PinElement").default} PinElement + * @typedef {import("../../element/NodeElement").default} NodeElement + * @typedef {import("../../element/PinElement").default} PinElement */ class CommentNodeTemplate extends IResizeableTemplate { @@ -5387,10 +5387,10 @@ class MouseCreateLink extends IMouseClickDrag { } } -/** @typedef {import("../input/IInput").default} IInput */ +/** @typedef {import("../../input/IInput").default} IInput */ /** * @template T - * @typedef {import("../element/PinElement").default} PinElement + * @typedef {import("../../element/PinElement").default} PinElement */ /** @@ -5481,7 +5481,7 @@ class PinTemplate extends ITemplate { } } -/** @typedef {import("./KnotNodeTemplate").default} KnotNodeTemplate */ +/** @typedef {import("./../KnotNodeTemplate").default} KnotNodeTemplate */ class KnotPinTemplate extends PinTemplate { @@ -6228,7 +6228,7 @@ class SelectorElement extends IFromToPositionedElement { * @typedef {import("./element/PinElement").default} PinElement * @typedef {import("./entity/GuidEntity").default} GuidEntity * @typedef {import("./entity/PinReferenceEntity").default} PinReferenceEntity - * @typedef {import("./template/CommentNodeTemplate").default} CommentNodeTemplate + * @typedef {import("./template/node/CommentNodeTemplate").default} CommentNodeTemplate * @typedef {{ * primaryInf: Number, * primarySup: Number, @@ -6794,7 +6794,7 @@ class ColorSliderElement extends IDraggableControlElement { } } -/** @typedef {import ("../element/InputElement").default} InputElement */ +/** @typedef {import ("../../element/InputElement").default} InputElement */ /** @extends {ITemplate} */ class InputTemplate extends ITemplate { @@ -6935,7 +6935,7 @@ class BoolInputPinTemplate extends PinTemplate { } } -/** @typedef {import("../element/PinElement").default} PinElement */ +/** @typedef {import("../../element/PinElement").default} PinElement */ class ExecPinTemplate extends PinTemplate { @@ -6956,7 +6956,7 @@ class ExecPinTemplate extends PinTemplate { /** * @template T - * @typedef {import("../element/PinElement").default} PinElement + * @typedef {import("../../element/PinElement").default} PinElement */ /** @@ -7096,7 +7096,7 @@ class INumericPinTemplate extends IInputPinTemplate { } } -/** @typedef {import("../entity/IntegerEntity").default} IntEntity */ +/** @typedef {import("../../entity/IntegerEntity").default} IntEntity */ /** @extends INumericInputPinTemplate */ class IntInputPinTemplate extends INumericPinTemplate { @@ -7550,8 +7550,8 @@ class ColorPickerWindowTemplate extends WindowTemplate { } /** - * @typedef {import("../element/WindowElement").default} WindowElement - * @typedef {import("../entity/LinearColorEntity").default} LinearColorEntity + * @typedef {import("../../element/WindowElement").default} WindowElement + * @typedef {import("../../entity/LinearColorEntity").default} LinearColorEntity */ /** @extends PinTemplate */ @@ -7600,7 +7600,7 @@ class LinearColorInputPinTemplate extends PinTemplate { } } -/** @typedef {import("../element/PinElement").default} PinElement */ +/** @typedef {import("../../element/PinElement").default} PinElement */ class NameInputPinTemplate extends IInputPinTemplate { @@ -7635,7 +7635,7 @@ class ReferencePinTemplate extends PinTemplate { } } -/** @typedef {import("../entity/RotatorEntity").default} Rotator */ +/** @typedef {import("../../entity/RotatorEntity").default} Rotator */ /** @extends INumericPinTemplate */ class RotatorInputPinTemplate extends INumericPinTemplate { @@ -7677,7 +7677,7 @@ class RotatorInputPinTemplate extends INumericPinTemplate { class StringInputPinTemplate extends IInputPinTemplate { } -/** @typedef {import("../entity/LinearColorEntity").default} LinearColorEntity */ +/** @typedef {import("../../entity/LinearColorEntity").default} LinearColorEntity */ /** * @template {VectorEntity} T diff --git a/js/Blueprint.js b/js/Blueprint.js index 4facae7..6bb55b4 100755 --- a/js/Blueprint.js +++ b/js/Blueprint.js @@ -10,7 +10,7 @@ import Utility from "./Utility" * @typedef {import("./element/PinElement").default} PinElement * @typedef {import("./entity/GuidEntity").default} GuidEntity * @typedef {import("./entity/PinReferenceEntity").default} PinReferenceEntity - * @typedef {import("./template/CommentNodeTemplate").default} CommentNodeTemplate + * @typedef {import("./template/node/CommentNodeTemplate").default} CommentNodeTemplate * @typedef {{ * primaryInf: Number, * primarySup: Number, diff --git a/js/element/InputElement.js b/js/element/InputElement.js index 9ee79ae..841c9c4 100644 --- a/js/element/InputElement.js +++ b/js/element/InputElement.js @@ -1,4 +1,4 @@ -import InputTemplate from "../template/InputTemplate" +import InputTemplate from "../template/pin/InputTemplate" import Utility from "../Utility" import IElement from "./IElement" diff --git a/js/element/NodeElement.js b/js/element/NodeElement.js index 76bf8bf..7e55eb6 100644 --- a/js/element/NodeElement.js +++ b/js/element/NodeElement.js @@ -1,4 +1,4 @@ -import CommentNodeTemplate from "../template/CommentNodeTemplate" +import CommentNodeTemplate from "../template/node/CommentNodeTemplate" import Configuration from "../Configuration" import IdentifierEntity from "../entity/IdentifierEntity" import ISelectableDraggableElement from "./ISelectableDraggableElement" diff --git a/js/element/PinElement.js b/js/element/PinElement.js index a9efb0d..363db95 100644 --- a/js/element/PinElement.js +++ b/js/element/PinElement.js @@ -1,21 +1,21 @@ -import BoolInputPinTemplate from "../template/BoolPinTemplate" +import BoolInputPinTemplate from "../template/pin/BoolPinTemplate" import Configuration from "../Configuration" import ElementFactory from "./ElementFactory" -import ExecPinTemplate from "../template/ExecPinTemplate" +import ExecPinTemplate from "../template/pin/ExecPinTemplate" import GuidEntity from "../entity/GuidEntity" import IElement from "./IElement" -import IntInputPinTemplate from "../template/IntPinTemplate" +import IntInputPinTemplate from "../template/pin/IntPinTemplate" import ISerializer from "../serialization/ISerializer" import LinearColorEntity from "../entity/LinearColorEntity" -import LinearColorInputPinTemplate from "../template/LinearColorPinTemplate" -import NameInputPinTemplate from "../template/NamePinTemplate" -import PinTemplate from "../template/PinTemplate" -import RealInputPinTemplate from "../template/RealInputPinTemplate" -import ReferencePinTemplate from "../template/ReferencePinTemplate" -import RotatorInputPinTemplate from "../template/RotatorInputPinTemplate" -import StringInputPinTemplate from "../template/StringInputPinTemplate" +import LinearColorInputPinTemplate from "../template/pin/LinearColorPinTemplate" +import NameInputPinTemplate from "../template/pin/NamePinTemplate" +import PinTemplate from "../template/pin/PinTemplate" +import RealInputPinTemplate from "../template/pin/RealInputPinTemplate" +import ReferencePinTemplate from "../template/pin/ReferencePinTemplate" +import RotatorInputPinTemplate from "../template/pin/RotatorInputPinTemplate" +import StringInputPinTemplate from "../template/pin/StringInputPinTemplate" import Utility from "../Utility" -import VectorInputPinTemplate from "../template/VectorInputPinTemplate" +import VectorInputPinTemplate from "../template/pin/VectorInputPinTemplate" /** * @typedef {import("../entity/PinReferenceEntity").default} PinReferenceEntity @@ -50,7 +50,6 @@ export default class PinElement extends IElement { type: GuidEntity, converter: { fromAttribute: (value, type) => value - // @ts-expect-error ? ISerializer.grammar.Guid.parse(value).value : null, toAttribute: (value, type) => value?.toString(), @@ -72,7 +71,6 @@ export default class PinElement extends IElement { type: LinearColorEntity, converter: { fromAttribute: (value, type) => value - // @ts-expect-error ? ISerializer.grammar.LinearColorFromAnyColor.parse(value).value : null, toAttribute: (value, type) => value ? Utility.printLinearColor(value) : null, diff --git a/js/input/keybaord/IKeyboardShortcut.js b/js/input/keybaord/IKeyboardShortcut.js index cdd326d..1f86139 100644 --- a/js/input/keybaord/IKeyboardShortcut.js +++ b/js/input/keybaord/IKeyboardShortcut.js @@ -33,7 +33,6 @@ export default class IKeyboardShortcut extends IInput { return v } if (v.constructor === String) { - // @ts-expect-error const parsed = ISerializer.grammar.KeyBinding.parse(v) if (parsed.status) { return parsed.value diff --git a/js/input/mouse/MouseMoveNodes.js b/js/input/mouse/MouseMoveNodes.js index 4414245..0342a70 100755 --- a/js/input/mouse/MouseMoveNodes.js +++ b/js/input/mouse/MouseMoveNodes.js @@ -3,7 +3,7 @@ import MouseMoveDraggable from "./MouseMoveDraggable" /** * @typedef {import("../../Blueprint").default} Blueprint * @typedef {import("../../element/NodeElement").default} NodeElement - * @typedef {import("../../template/CommentNodeTemplate").default} CommentNodeTemplate + * @typedef {import("../../template/node/CommentNodeTemplate").default} CommentNodeTemplate */ /** @extends {MouseMoveDraggable} */ diff --git a/js/template/KnotNodeTemplate.js b/js/template/KnotNodeTemplate.js index 5514fa7..734fd2d 100644 --- a/js/template/KnotNodeTemplate.js +++ b/js/template/KnotNodeTemplate.js @@ -1,7 +1,7 @@ import { html } from "lit" import Configuration from "../Configuration" import ElementFactory from "../element/ElementFactory" -import KnotPinTemplate from "./KnotPinTemplate" +import KnotPinTemplate from "./pin/KnotPinTemplate" import NodeTemplate from "./NodeTemplate" /** diff --git a/js/template/CommentNodeTemplate.js b/js/template/node/CommentNodeTemplate.js similarity index 91% rename from js/template/CommentNodeTemplate.js rename to js/template/node/CommentNodeTemplate.js index 95d0fe3..5e51b54 100644 --- a/js/template/CommentNodeTemplate.js +++ b/js/template/node/CommentNodeTemplate.js @@ -1,11 +1,11 @@ import { css, html } from "lit" -import Configuration from "../Configuration" -import IResizeableTemplate from "./IResizeableTemplate" -import LinearColorEntity from "../entity/LinearColorEntity" +import Configuration from "../../Configuration" +import IResizeableTemplate from "../IResizeableTemplate" +import LinearColorEntity from "../../entity/LinearColorEntity" /** - * @typedef {import("../element/NodeElement").default} NodeElement - * @typedef {import("../element/PinElement").default} PinElement + * @typedef {import("../../element/NodeElement").default} NodeElement + * @typedef {import("../../element/PinElement").default} PinElement */ export default class CommentNodeTemplate extends IResizeableTemplate { diff --git a/js/template/BoolPinTemplate.js b/js/template/pin/BoolPinTemplate.js similarity index 94% rename from js/template/BoolPinTemplate.js rename to js/template/pin/BoolPinTemplate.js index 34fdb1d..70aa0cb 100644 --- a/js/template/BoolPinTemplate.js +++ b/js/template/pin/BoolPinTemplate.js @@ -1,5 +1,5 @@ import { html } from "lit" -import MouseIgnore from "../input/mouse/MouseIgnore" +import MouseIgnore from "../../input/mouse/MouseIgnore" import PinTemplate from "./PinTemplate" /** diff --git a/js/template/ExecPinTemplate.js b/js/template/pin/ExecPinTemplate.js similarity index 79% rename from js/template/ExecPinTemplate.js rename to js/template/pin/ExecPinTemplate.js index ac959c3..4966fdb 100644 --- a/js/template/ExecPinTemplate.js +++ b/js/template/pin/ExecPinTemplate.js @@ -1,9 +1,9 @@ import { html } from "lit" import PinTemplate from "./PinTemplate" -import SVGIcon from "../SVGIcon" -import Utility from "../Utility" +import SVGIcon from "../../SVGIcon" +import Utility from "../../Utility" -/** @typedef {import("../element/PinElement").default} PinElement */ +/** @typedef {import("../../element/PinElement").default} PinElement */ export default class ExecPinTemplate extends PinTemplate { diff --git a/js/template/IInputPinTemplate.js b/js/template/pin/IInputPinTemplate.js similarity index 95% rename from js/template/IInputPinTemplate.js rename to js/template/pin/IInputPinTemplate.js index 3162c0b..4c502e1 100644 --- a/js/template/IInputPinTemplate.js +++ b/js/template/pin/IInputPinTemplate.js @@ -1,11 +1,11 @@ import { html } from "lit" -import MouseIgnore from "../input/mouse/MouseIgnore" +import MouseIgnore from "../../input/mouse/MouseIgnore" import PinTemplate from "./PinTemplate" -import Utility from "../Utility" +import Utility from "../../Utility" /** * @template T - * @typedef {import("../element/PinElement").default} PinElement + * @typedef {import("../../element/PinElement").default} PinElement */ /** diff --git a/js/template/INumericInputPinTemplate.js b/js/template/pin/INumericInputPinTemplate.js similarity index 100% rename from js/template/INumericInputPinTemplate.js rename to js/template/pin/INumericInputPinTemplate.js diff --git a/js/template/InputTemplate.js b/js/template/pin/InputTemplate.js similarity index 94% rename from js/template/InputTemplate.js rename to js/template/pin/InputTemplate.js index 75cbaf6..bbe26f4 100644 --- a/js/template/InputTemplate.js +++ b/js/template/pin/InputTemplate.js @@ -1,6 +1,6 @@ -import ITemplate from "./ITemplate" +import ITemplate from "../ITemplate" -/** @typedef {import ("../element/InputElement").default} InputElement */ +/** @typedef {import ("../../element/InputElement").default} InputElement */ /** @extends {ITemplate} */ export default class InputTemplate extends ITemplate { diff --git a/js/template/IntPinTemplate.js b/js/template/pin/IntPinTemplate.js similarity index 82% rename from js/template/IntPinTemplate.js rename to js/template/pin/IntPinTemplate.js index 1a40f49..2ec9edd 100644 --- a/js/template/IntPinTemplate.js +++ b/js/template/pin/IntPinTemplate.js @@ -1,8 +1,8 @@ import { html } from "lit" -import IntegerEntity from "../entity/IntegerEntity" +import IntegerEntity from "../../entity/IntegerEntity" import INumericInputPinTemplate from "./INumericInputPinTemplate" -/** @typedef {import("../entity/IntegerEntity").default} IntEntity */ +/** @typedef {import("../../entity/IntegerEntity").default} IntEntity */ /** @extends INumericInputPinTemplate */ export default class IntInputPinTemplate extends INumericInputPinTemplate { diff --git a/js/template/KnotPinTemplate.js b/js/template/pin/KnotPinTemplate.js similarity index 88% rename from js/template/KnotPinTemplate.js rename to js/template/pin/KnotPinTemplate.js index 56cf215..bfc3904 100644 --- a/js/template/KnotPinTemplate.js +++ b/js/template/pin/KnotPinTemplate.js @@ -1,8 +1,8 @@ import { html } from "lit" import PinTemplate from "./PinTemplate" -import Utility from "../Utility" +import Utility from "../../Utility" -/** @typedef {import("./KnotNodeTemplate").default} KnotNodeTemplate */ +/** @typedef {import("./../KnotNodeTemplate").default} KnotNodeTemplate */ export default class KnotPinTemplate extends PinTemplate { diff --git a/js/template/LinearColorPinTemplate.js b/js/template/pin/LinearColorPinTemplate.js similarity index 85% rename from js/template/LinearColorPinTemplate.js rename to js/template/pin/LinearColorPinTemplate.js index 89a7399..a2820ab 100644 --- a/js/template/LinearColorPinTemplate.js +++ b/js/template/pin/LinearColorPinTemplate.js @@ -1,12 +1,12 @@ import { html } from "lit" -import ColorPickerWindowTemplate from "./ColorPickerWindowTemplate" -import Configuration from "../Configuration" -import ElementFactory from "../element/ElementFactory" +import ColorPickerWindowTemplate from "../ColorPickerWindowTemplate" +import Configuration from "../../Configuration" +import ElementFactory from "../../element/ElementFactory" import PinTemplate from "./PinTemplate" /** - * @typedef {import("../element/WindowElement").default} WindowElement - * @typedef {import("../entity/LinearColorEntity").default} LinearColorEntity + * @typedef {import("../../element/WindowElement").default} WindowElement + * @typedef {import("../../entity/LinearColorEntity").default} LinearColorEntity */ /** @extends PinTemplate */ diff --git a/js/template/NamePinTemplate.js b/js/template/pin/NamePinTemplate.js similarity index 69% rename from js/template/NamePinTemplate.js rename to js/template/pin/NamePinTemplate.js index 3098b0a..e613f03 100644 --- a/js/template/NamePinTemplate.js +++ b/js/template/pin/NamePinTemplate.js @@ -1,6 +1,6 @@ import IInputPinTemplate from "./IInputPinTemplate" -/** @typedef {import("../element/PinElement").default} PinElement */ +/** @typedef {import("../../element/PinElement").default} PinElement */ export default class NameInputPinTemplate extends IInputPinTemplate { diff --git a/js/template/PinTemplate.js b/js/template/pin/PinTemplate.js similarity index 85% rename from js/template/PinTemplate.js rename to js/template/pin/PinTemplate.js index f351631..38900c3 100755 --- a/js/template/PinTemplate.js +++ b/js/template/pin/PinTemplate.js @@ -1,14 +1,14 @@ import { html } from "lit" -import Configuration from "../Configuration" -import ITemplate from "./ITemplate" -import MouseCreateLink from "../input/mouse/MouseCreateLink" -import SVGIcon from "../SVGIcon" -import Utility from "../Utility" +import Configuration from "../../Configuration" +import ITemplate from "../ITemplate" +import MouseCreateLink from "../../input/mouse/MouseCreateLink" +import SVGIcon from "../../SVGIcon" +import Utility from "../../Utility" -/** @typedef {import("../input/IInput").default} IInput */ +/** @typedef {import("../../input/IInput").default} IInput */ /** * @template T - * @typedef {import("../element/PinElement").default} PinElement + * @typedef {import("../../element/PinElement").default} PinElement */ /** diff --git a/js/template/RealInputPinTemplate.js b/js/template/pin/RealInputPinTemplate.js similarity index 95% rename from js/template/RealInputPinTemplate.js rename to js/template/pin/RealInputPinTemplate.js index b35d1dd..6cdb636 100644 --- a/js/template/RealInputPinTemplate.js +++ b/js/template/pin/RealInputPinTemplate.js @@ -1,7 +1,7 @@ import { html } from "lit" import IInputPinTemplate from "./IInputPinTemplate" import INumericPinTemplate from "./INumericInputPinTemplate" -import Utility from "../Utility" +import Utility from "../../Utility" /** * @template {Number} T diff --git a/js/template/ReferencePinTemplate.js b/js/template/pin/ReferencePinTemplate.js similarity index 82% rename from js/template/ReferencePinTemplate.js rename to js/template/pin/ReferencePinTemplate.js index c25f80c..42359e4 100644 --- a/js/template/ReferencePinTemplate.js +++ b/js/template/pin/ReferencePinTemplate.js @@ -1,5 +1,5 @@ import PinTemplate from "./PinTemplate" -import SVGIcon from "../SVGIcon" +import SVGIcon from "../../SVGIcon" export default class ReferencePinTemplate extends PinTemplate { diff --git a/js/template/RotatorInputPinTemplate.js b/js/template/pin/RotatorInputPinTemplate.js similarity index 93% rename from js/template/RotatorInputPinTemplate.js rename to js/template/pin/RotatorInputPinTemplate.js index d9662f1..dee77ae 100644 --- a/js/template/RotatorInputPinTemplate.js +++ b/js/template/pin/RotatorInputPinTemplate.js @@ -1,9 +1,9 @@ import { html } from "lit" import IInputPinTemplate from "./IInputPinTemplate" import INumericPinTemplate from "./INumericInputPinTemplate" -import RotatorEntity from "../entity/RotatorEntity" +import RotatorEntity from "../../entity/RotatorEntity" -/** @typedef {import("../entity/RotatorEntity").default} Rotator */ +/** @typedef {import("../../entity/RotatorEntity").default} Rotator */ /** @extends INumericPinTemplate */ export default class RotatorInputPinTemplate extends INumericPinTemplate { diff --git a/js/template/StringInputPinTemplate.js b/js/template/pin/StringInputPinTemplate.js similarity index 100% rename from js/template/StringInputPinTemplate.js rename to js/template/pin/StringInputPinTemplate.js diff --git a/js/template/VectorInputPinTemplate.js b/js/template/pin/VectorInputPinTemplate.js similarity index 91% rename from js/template/VectorInputPinTemplate.js rename to js/template/pin/VectorInputPinTemplate.js index 1c21c1c..98d09db 100644 --- a/js/template/VectorInputPinTemplate.js +++ b/js/template/pin/VectorInputPinTemplate.js @@ -1,10 +1,10 @@ import { html } from "lit" import IInputPinTemplate from "./IInputPinTemplate" import INumericPinTemplate from "./INumericInputPinTemplate" -import Utility from "../Utility" -import VectorEntity from "../entity/VectorEntity" +import Utility from "../../Utility" +import VectorEntity from "../../entity/VectorEntity" -/** @typedef {import("../entity/LinearColorEntity").default} LinearColorEntity */ +/** @typedef {import("../../entity/LinearColorEntity").default} LinearColorEntity */ /** * @template {VectorEntity} T