ui_migration fix(deps): --preliminary-- Removing markRaw to static declared components. Improvement, SmartScan now works partially.

This commit is contained in:
Antonio Anaya 2026-02-12 23:14:53 -06:00
parent dfca0ff7e0
commit ee71a416b1
38 changed files with 71 additions and 72 deletions

View file

@ -63,7 +63,7 @@ import { markRaw } from "vue";
export default {
name: "StatusPane",
components: {
ActionButton: markRaw(ActionButton)
ActionButton
},
data: function () {

View file

@ -31,8 +31,8 @@ export default {
name: "AboutContent",
components: {
devTools: markRaw(devTools),
statusPane: markRaw(statusPane),
devTools,
statusPane
},
};
</script>

View file

@ -52,8 +52,8 @@ import { markRaw } from "vue";
export default {
components: {
ActionButton: markRaw(ActionButton),
ServerSpecifiedPropertyControl: markRaw(ServerSpecifiedPropertyControl),
ActionButton,
ServerSpecifiedPropertyControl
},
data() {

View file

@ -20,8 +20,8 @@ export default {
name: "BackgroundDetectContent",
components: {
paneBackgroundDetect: markRaw(paneBackgroundDetect),
streamDisplay: markRaw(streamDisplay),
paneBackgroundDetect,
streamDisplay
},
};
</script>

View file

@ -26,7 +26,7 @@ export default {
name: "AutofocusControl",
components: {
ActionButton: markRaw(ActionButton),
ActionButton
},
data: function () {

View file

@ -41,9 +41,9 @@ export default {
name: "PaneControl",
components: {
ActionButton: markRaw(ActionButton),
positionControl: markRaw(positionControl),
autofocusControl: markRaw(autofocusControl),
ActionButton,
positionControl,
autofocusControl
},
computed: {

View file

@ -69,9 +69,9 @@ export default {
name: "PaneControl",
components: {
ActionButton: markRaw(ActionButton),
syncPropertyButton: markRaw(syncPropertyButton),
stageControlButtons: markRaw(stageControlButtons),
ActionButton,
syncPropertyButton,
stageControlButtons
},
data: function () {

View file

@ -20,8 +20,8 @@ export default {
name: "ControlContent",
components: {
paneControl: markRaw(paneControl),
streamDisplay: markRaw(streamDisplay) ,
paneControl,
streamDisplay
},
};
</script>

View file

@ -90,8 +90,8 @@ export default {
name: "LoggingContent",
components: {
Paginate: markRaw(Paginate),
EndpointButton: markRaw(EndpointButton),
Paginate,
EndpointButton
},
data: function () {

View file

@ -89,8 +89,8 @@ import { markRaw } from "vue";
export default {
name: "ScanCard",
components: {
actionButton: markRaw(actionButton),
EndpointButton: markRaw(EndpointButton)
actionButton,
EndpointButton
},
props: {

View file

@ -61,7 +61,7 @@ import { markRaw } from "vue";
export default {
name: "ScanViewerModal",
components: {
OpenSeadragonViewer: markRaw(OpenSeadragonViewer)
OpenSeadragonViewer
},
props: {
selectedScan: {

View file

@ -108,9 +108,9 @@ import { eventBus } from "../../eventBus.js";
export default {
name: "ScanListContent",
components: {
actionButton: markRaw(actionButton),
scanCard: markRaw(scanCard),
ScanViewerModal: markRaw(ScanViewerModal)
actionButton,
scanCard,
ScanViewerModal
},
data: function () {

View file

@ -25,8 +25,8 @@ export default {
name: "CSMSettings",
components: {
CSMCalibrationSettings: markRaw(CSMCalibrationSettings),
miniStreamDisplay: markRaw(miniStreamDisplay),
CSMCalibrationSettings,
miniStreamDisplay
},
};
</script>

View file

@ -65,8 +65,8 @@ export default {
name: "CSMCalibrationSettings",
components: {
ActionButton: markRaw(ActionButton),
matrixDisplay: markRaw(matrixDisplay),
ActionButton,
matrixDisplay
},
props: {

View file

@ -33,9 +33,9 @@ export default {
name: "CameraSettings",
components: {
cameraCalibrationSettings: markRaw(cameraCalibrationSettings),
miniStreamDisplay: markRaw(miniStreamDisplay),
ServerSpecifiedPropertyControl: markRaw(ServerSpecifiedPropertyControl),
cameraCalibrationSettings,
miniStreamDisplay,
ServerSpecifiedPropertyControl
},
data() {

View file

@ -30,7 +30,7 @@ export default {
name: "CameraCalibrationSettings",
components: {
ServerSpecifiedActionButton: markRaw(ServerSpecifiedActionButton),
ServerSpecifiedActionButton,
},
props: {

View file

@ -15,8 +15,8 @@ export default {
name: "DisplaySettings",
components: {
streamSettings: markRaw(streamSettings),
appSettings: markRaw(appSettings),
streamSettings,
appSettings
},
};
</script>

View file

@ -36,7 +36,7 @@ export default {
name: "StageSettings",
components: {
ActionButton: markRaw(ActionButton),
ActionButton
},
data: function () {

View file

@ -76,9 +76,9 @@ export default {
name: "SettingsContent",
components: {
tabIcon: markRaw(tabIcon),
tabContent: markRaw(tabContent),
calibrationWizard: markRaw(calibrationWizard),
tabIcon,
tabContent,
calibrationWizard
},
data: function () {

View file

@ -160,12 +160,12 @@ export default {
name: "SlideScanContent",
components: {
streamDisplay: markRaw(streamDisplay),
propertyControl: markRaw(propertyControl),
actionLogDisplay: markRaw(actionLogDisplay),
actionProgressBar: markRaw(actionProgressBar),
MiniStreamDisplay: markRaw(MiniStreamDisplay),
ActionButton: markRaw(ActionButton),
streamDisplay,
propertyControl,
actionLogDisplay,
actionProgressBar,
MiniStreamDisplay,
ActionButton,
},
data() {

View file

@ -16,7 +16,7 @@ export default {
name: "ViewContent",
components: {
streamDisplay: markRaw(streamDisplay),
streamDisplay,
},
};
</script>