From 89a0d70959a4acf11c97cc7ce73315f00e782bd8 Mon Sep 17 00:00:00 2001 From: Alexandre Rousseau Date: Fri, 27 Dec 2024 16:25:20 +0100 Subject: [PATCH] chore(ui): use `useTemplateRef` instead of plain `ref` - WF-163 --- src/ui/src/builder/BuilderInstanceTracker.vue | 12 ++++++++++-- .../builder/settings/BuilderFieldsAlign.vue | 10 ++++++---- .../builder/settings/BuilderFieldsColor.vue | 9 +++++---- .../settings/BuilderFieldsKeyValue.vue | 5 +++-- .../builder/settings/BuilderFieldsPadding.vue | 13 +++++++------ .../builder/settings/BuilderFieldsShadow.vue | 17 +++++++++-------- .../builder/settings/BuilderFieldsWidth.vue | 13 +++++++------ .../src/components/core/base/BaseSelect.vue | 19 ++++++++++++++----- .../components/core/content/CoreAvatar.vue | 4 ++-- .../components/core/content/CoreChatbot.vue | 7 ++++--- .../core/content/CoreDataframeLegacy.vue | 8 ++++---- .../src/components/core/content/CoreImage.vue | 4 ++-- .../core/content/CorePlotlyGraph.vue | 6 +++--- .../src/components/core/content/CoreTags.vue | 4 ++-- .../src/components/core/content/CoreText.vue | 4 ++-- .../core/content/CoreVegaLiteChart.vue | 6 +++--- .../components/core/embed/CoreGoogleMaps.vue | 6 +++--- .../src/components/core/embed/CoreIFrame.vue | 4 ++-- .../components/core/input/CoreRatingInput.vue | 7 +++---- .../components/core/other/CorePagination.vue | 11 +++++++++-- .../src/components/core/other/CoreTimer.vue | 12 ++++++++++-- .../core/other/CoreWebcamCapture.vue | 5 +++-- src/ui/src/components/core/root/CorePage.vue | 4 ++-- src/ui/src/components/core/root/CoreRoot.vue | 3 ++- .../custom/BubbleMessageAdvanced.vue | 4 ++-- .../components/workflows/WorkflowsRoot.vue | 4 ++-- .../workflows/WorkflowsWorkflow.vue | 5 +++-- src/ui/src/renderer/RendererNotifications.vue | 4 ++-- src/ui/src/wds/WdsTabs.vue | 5 ++++- 29 files changed, 130 insertions(+), 85 deletions(-) diff --git a/src/ui/src/builder/BuilderInstanceTracker.vue b/src/ui/src/builder/BuilderInstanceTracker.vue index 1e2c109aa..3838d132f 100644 --- a/src/ui/src/builder/BuilderInstanceTracker.vue +++ b/src/ui/src/builder/BuilderInstanceTracker.vue @@ -4,7 +4,15 @@