mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 10:58:04 +08:00
Prefix all type imports with the 'type' keyword where appropriate
This commit is contained in:
@@ -225,15 +225,15 @@ import { defineComponent, nextTick } from "vue";
|
||||
|
||||
import { textInputCleanup } from "@/utility-functions/keyboard-entry";
|
||||
import {
|
||||
UpdateDocumentModeLayout,
|
||||
UpdateToolOptionsLayout,
|
||||
UpdateToolShelfLayout,
|
||||
UpdateWorkingColorsLayout,
|
||||
defaultWidgetLayout,
|
||||
UpdateDocumentBarLayout,
|
||||
DisplayEditableTextbox,
|
||||
MouseCursorIcon,
|
||||
XY,
|
||||
type DisplayEditableTextbox,
|
||||
type MouseCursorIcon,
|
||||
type UpdateDocumentBarLayout,
|
||||
type UpdateDocumentModeLayout,
|
||||
type UpdateToolOptionsLayout,
|
||||
type UpdateToolShelfLayout,
|
||||
type UpdateWorkingColorsLayout,
|
||||
type XY,
|
||||
} from "@/wasm-communication/messages";
|
||||
|
||||
import LayoutCol from "@/components/layout/LayoutCol.vue";
|
||||
@@ -437,10 +437,10 @@ export default defineComponent({
|
||||
};
|
||||
},
|
||||
components: {
|
||||
LayoutRow,
|
||||
LayoutCol,
|
||||
PersistentScrollbar,
|
||||
CanvasRuler,
|
||||
LayoutCol,
|
||||
LayoutRow,
|
||||
PersistentScrollbar,
|
||||
WidgetLayout,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -268,7 +268,7 @@
|
||||
import { defineComponent, nextTick } from "vue";
|
||||
|
||||
import { platformIsMac } from "@/utility-functions/platform";
|
||||
import { defaultWidgetLayout, UpdateDocumentLayerTreeStructure, UpdateDocumentLayerDetails, UpdateLayerTreeOptionsLayout, LayerPanelEntry } from "@/wasm-communication/messages";
|
||||
import { type LayerPanelEntry, defaultWidgetLayout, UpdateDocumentLayerDetails, UpdateDocumentLayerTreeStructure, UpdateLayerTreeOptionsLayout } from "@/wasm-communication/messages";
|
||||
|
||||
import LayoutCol from "@/components/layout/LayoutCol.vue";
|
||||
import LayoutRow from "@/components/layout/LayoutRow.vue";
|
||||
@@ -507,11 +507,11 @@ export default defineComponent({
|
||||
});
|
||||
},
|
||||
components: {
|
||||
LayoutRow,
|
||||
LayoutCol,
|
||||
WidgetLayout,
|
||||
IconButton,
|
||||
IconLabel,
|
||||
LayoutCol,
|
||||
LayoutRow,
|
||||
WidgetLayout,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -476,9 +476,9 @@ export default defineComponent({
|
||||
this.createWirePath(outputPort2, inputPort2, true, false);
|
||||
},
|
||||
components: {
|
||||
LayoutRow,
|
||||
LayoutCol,
|
||||
IconLabel,
|
||||
LayoutCol,
|
||||
LayoutRow,
|
||||
TextLabel,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -46,7 +46,6 @@ import { defaultWidgetLayout, UpdatePropertyPanelOptionsLayout, UpdatePropertyPa
|
||||
|
||||
import LayoutCol from "@/components/layout/LayoutCol.vue";
|
||||
import LayoutRow from "@/components/layout/LayoutRow.vue";
|
||||
|
||||
import WidgetLayout from "@/components/widgets/WidgetLayout.vue";
|
||||
|
||||
export default defineComponent({
|
||||
@@ -67,9 +66,9 @@ export default defineComponent({
|
||||
});
|
||||
},
|
||||
components: {
|
||||
WidgetLayout,
|
||||
LayoutRow,
|
||||
LayoutCol,
|
||||
LayoutRow,
|
||||
WidgetLayout,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user