Prefix all type imports with the 'type' keyword where appropriate

This commit is contained in:
Keavon Chambers
2022-08-25 15:38:21 -07:00
parent 7848391f6e
commit 33e790dc86
63 changed files with 188 additions and 179 deletions

View File

@@ -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,
},
});

View File

@@ -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>

View File

@@ -476,9 +476,9 @@ export default defineComponent({
this.createWirePath(outputPort2, inputPort2, true, false);
},
components: {
LayoutRow,
LayoutCol,
IconLabel,
LayoutCol,
LayoutRow,
TextLabel,
},
});

View File

@@ -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>