Loading client/src/components/Form/Elements/FormData/FormData.vue +13 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ const props = withDefaults( collectionTypes?: Array<string>; flavor?: string; tag?: string; singleDatasetInput?: boolean; }>(), { loading: false, Loading @@ -50,6 +51,7 @@ const props = withDefaults( collectionTypes: undefined, flavor: undefined, tag: undefined, singleDatasetInput: false, } ); Loading Loading @@ -523,6 +525,17 @@ const noOptionsWarningMessage = computed(() => { <div class="d-flex flex-column"> <BButtonGroup v-if="variant && variant.length > 1" buttons class="align-self-start"> <BButton v-if="props.singleDatasetInput" v-for="(v, index) in variant.slice(0,1)" :key="index" v-b-tooltip.hover.bottom :pressed="currentField === index" :title="v.tooltip" @click="currentField = index"> <FontAwesomeIcon :icon="['far', v.icon]" /> </BButton> <BButton v-else v-for="(v, index) in variant" :key="index" v-b-tooltip.hover.bottom Loading client/src/components/Form/FormElement.vue +3 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ interface FormElementProps { connectedEnableIcon?: string; connectedDisableIcon?: string; workflowBuildingMode?: boolean; singleDatasetInput?: boolean; } const props = withDefaults(defineProps<FormElementProps>(), { Loading @@ -63,6 +64,7 @@ const props = withDefaults(defineProps<FormElementProps>(), { connectedEnableIcon: "fa fa-times", connectedDisableIcon: "fa fa-arrows-alt-h", workflowBuildingMode: false, singleDatasetInput: false, }); const emit = defineEmits<{ Loading Loading @@ -298,6 +300,7 @@ function onAlert(value: string | undefined) { :tag="attrs.tag" :type="props.type" :collection-types="attrs.collection_types" :singleDatasetInput="props.singleDatasetInput" @alert="onAlert" /> <FormDrilldown v-else-if="props.type === 'drill_down'" Loading client/src/components/Form/FormInputs.vue +6 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ :refresh-on-change="false" :disabled="sustainConditionals" :attributes="input.test_param" :singleDatasetInput="singleDatasetInput" @change="onChange" /> <div v-for="(caseDetails, caseId) in input.cases" :key="caseId"> <FormNode Loading Loading @@ -59,6 +60,7 @@ :collapsed-disable-icon="collapsedDisableIcon" :loading="loading" :workflow-building-mode="workflowBuildingMode" :singleDatasetInput="singleDatasetInput" @change="onChange" /> </div> </div> Loading Loading @@ -129,6 +131,10 @@ export default { type: Boolean, default: false, }, singleDatasetInput: { type: Boolean, default: false, }, }, methods: { getPrefix(name, index) { Loading client/src/components/Form/FormRepeat.vue +5 −1 Original line number Diff line number Diff line Loading @@ -59,6 +59,10 @@ const props = defineProps({ type: String, default: null, }, singleDatasetInput: { type: Boolean, default: true, }, }); const emit = defineEmits<{ Loading Loading @@ -169,7 +173,7 @@ const { keyObject } = useKeyedObjects(); </template> <template v-slot:body> <FormNode v-bind="props.passthroughProps" :inputs="cache" :prefix="getPrefix(cacheId)" /> <FormNode v-bind="props.passthroughProps" :inputs="cache" :prefix="getPrefix(cacheId)" :singleDatasetInput="props.singleDatasetInput" /> </template> </FormCard> Loading Loading
client/src/components/Form/Elements/FormData/FormData.vue +13 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ const props = withDefaults( collectionTypes?: Array<string>; flavor?: string; tag?: string; singleDatasetInput?: boolean; }>(), { loading: false, Loading @@ -50,6 +51,7 @@ const props = withDefaults( collectionTypes: undefined, flavor: undefined, tag: undefined, singleDatasetInput: false, } ); Loading Loading @@ -523,6 +525,17 @@ const noOptionsWarningMessage = computed(() => { <div class="d-flex flex-column"> <BButtonGroup v-if="variant && variant.length > 1" buttons class="align-self-start"> <BButton v-if="props.singleDatasetInput" v-for="(v, index) in variant.slice(0,1)" :key="index" v-b-tooltip.hover.bottom :pressed="currentField === index" :title="v.tooltip" @click="currentField = index"> <FontAwesomeIcon :icon="['far', v.icon]" /> </BButton> <BButton v-else v-for="(v, index) in variant" :key="index" v-b-tooltip.hover.bottom Loading
client/src/components/Form/FormElement.vue +3 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ interface FormElementProps { connectedEnableIcon?: string; connectedDisableIcon?: string; workflowBuildingMode?: boolean; singleDatasetInput?: boolean; } const props = withDefaults(defineProps<FormElementProps>(), { Loading @@ -63,6 +64,7 @@ const props = withDefaults(defineProps<FormElementProps>(), { connectedEnableIcon: "fa fa-times", connectedDisableIcon: "fa fa-arrows-alt-h", workflowBuildingMode: false, singleDatasetInput: false, }); const emit = defineEmits<{ Loading Loading @@ -298,6 +300,7 @@ function onAlert(value: string | undefined) { :tag="attrs.tag" :type="props.type" :collection-types="attrs.collection_types" :singleDatasetInput="props.singleDatasetInput" @alert="onAlert" /> <FormDrilldown v-else-if="props.type === 'drill_down'" Loading
client/src/components/Form/FormInputs.vue +6 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ :refresh-on-change="false" :disabled="sustainConditionals" :attributes="input.test_param" :singleDatasetInput="singleDatasetInput" @change="onChange" /> <div v-for="(caseDetails, caseId) in input.cases" :key="caseId"> <FormNode Loading Loading @@ -59,6 +60,7 @@ :collapsed-disable-icon="collapsedDisableIcon" :loading="loading" :workflow-building-mode="workflowBuildingMode" :singleDatasetInput="singleDatasetInput" @change="onChange" /> </div> </div> Loading Loading @@ -129,6 +131,10 @@ export default { type: Boolean, default: false, }, singleDatasetInput: { type: Boolean, default: false, }, }, methods: { getPrefix(name, index) { Loading
client/src/components/Form/FormRepeat.vue +5 −1 Original line number Diff line number Diff line Loading @@ -59,6 +59,10 @@ const props = defineProps({ type: String, default: null, }, singleDatasetInput: { type: Boolean, default: true, }, }); const emit = defineEmits<{ Loading Loading @@ -169,7 +173,7 @@ const { keyObject } = useKeyedObjects(); </template> <template v-slot:body> <FormNode v-bind="props.passthroughProps" :inputs="cache" :prefix="getPrefix(cacheId)" /> <FormNode v-bind="props.passthroughProps" :inputs="cache" :prefix="getPrefix(cacheId)" :singleDatasetInput="props.singleDatasetInput" /> </template> </FormCard> Loading