From ec5693860d5cd7a8714f74154e43f69aff3ab186 Mon Sep 17 00:00:00 2001 From: Alexandre Rousseau Date: Mon, 9 Dec 2024 16:05:10 +0100 Subject: [PATCH] finish --- .../builder/settings/BuilderFieldsWidth.vue | 2 +- .../builder/settings/BuilderSectionTitle.vue | 20 +++++++++++++ .../settings/BuilderSettingsBinding.vue | 6 +--- .../settings/BuilderSettingsVisibility.vue | 28 +++++++------------ src/ui/src/builder/sharedStyles.css | 23 --------------- src/ui/src/wds/WdsFieldWrapper.vue | 8 ++++-- 6 files changed, 37 insertions(+), 50 deletions(-) create mode 100644 src/ui/src/builder/settings/BuilderSectionTitle.vue diff --git a/src/ui/src/builder/settings/BuilderFieldsWidth.vue b/src/ui/src/builder/settings/BuilderFieldsWidth.vue index d805ccd73..8dfc5a4c4 100644 --- a/src/ui/src/builder/settings/BuilderFieldsWidth.vue +++ b/src/ui/src/builder/settings/BuilderFieldsWidth.vue @@ -50,7 +50,7 @@
px
diff --git a/src/ui/src/builder/settings/BuilderSectionTitle.vue b/src/ui/src/builder/settings/BuilderSectionTitle.vue new file mode 100644 index 000000000..6ee5066ab --- /dev/null +++ b/src/ui/src/builder/settings/BuilderSectionTitle.vue @@ -0,0 +1,20 @@ + + + + + diff --git a/src/ui/src/builder/settings/BuilderSettingsBinding.vue b/src/ui/src/builder/settings/BuilderSettingsBinding.vue index 6748539a6..b025f7742 100644 --- a/src/ui/src/builder/settings/BuilderSettingsBinding.vue +++ b/src/ui/src/builder/settings/BuilderSettingsBinding.vue @@ -1,14 +1,10 @@ @@ -95,12 +85,17 @@ import { computed, inject } from "vue"; import { useComponentActions } from "../useComponentActions"; import injectionKeys from "../../injectionKeys"; import BuilderTemplateInput from "./BuilderTemplateInput.vue"; +import WdsFieldWrapper from "@/wds/WdsFieldWrapper.vue"; +import BuilderSectionTitle from "./BuilderSectionTitle.vue"; const wf = inject(injectionKeys.core); const ssbm = inject(injectionKeys.builderManager); const { setVisibleValue } = useComponentActions(wf, ssbm); const component = computed(() => wf.getComponentById(ssbm.getSelectedId())); + +const hint = + 'Reference a state or context element that will evaluate to true or false. Reference the element directly, i.e. use "my_var" instead of "@{my_var}".';