{#each widgetsAndNextSiblingIsSuffix as [component, nextIsSuffix], index (index)} {@const checkboxInput = narrowWidgetProps(component.props, "CheckboxInput")} {#if checkboxInput} updateLayout(index, detail)} /> {/if} {@const colorInput = narrowWidgetProps(component.props, "ColorInput")} {#if colorInput} updateLayout(index, detail)} sharpRightCorners={nextIsSuffix} /> {/if} {@const dropdownInput = narrowWidgetProps(component.props, "DropdownInput")} {#if dropdownInput} updateLayout(index, detail)} sharpRightCorners={nextIsSuffix} /> {/if} {@const fontInput = narrowWidgetProps(component.props, "FontInput")} {#if fontInput} updateLayout(index, detail)} sharpRightCorners={nextIsSuffix} /> {/if} {@const parameterExposeButton = narrowWidgetProps(component.props, "ParameterExposeButton")} {#if parameterExposeButton} updateLayout(index, undefined)} /> {/if} {@const iconButton = narrowWidgetProps(component.props, "IconButton")} {#if iconButton} updateLayout(index, undefined)} sharpRightCorners={nextIsSuffix} /> {/if} {@const iconLabel = narrowWidgetProps(component.props, "IconLabel")} {#if iconLabel} {/if} {@const layerReferenceInput = narrowWidgetProps(component.props, "LayerReferenceInput")} {#if layerReferenceInput} updateLayout(index, detail)} /> {/if} {@const numberInput = narrowWidgetProps(component.props, "NumberInput")} {#if numberInput} debouncer((value) => updateLayout(index, value)).updateValue(detail)} incrementCallbackIncrease={() => updateLayout(index, "Increment")} incrementCallbackDecrease={() => updateLayout(index, "Decrement")} sharpRightCorners={nextIsSuffix} /> {/if} {@const optionalInput = narrowWidgetProps(component.props, "OptionalInput")} {#if optionalInput} updateLayout(index, detail)} /> {/if} {@const pivotAssist = narrowWidgetProps(component.props, "PivotAssist")} {#if pivotAssist} updateLayout(index, detail)} /> {/if} {@const popoverButton = narrowWidgetProps(component.props, "PopoverButton")} {#if popoverButton} {popoverButton.header} {popoverButton.text} {/if} {@const radioInput = narrowWidgetProps(component.props, "RadioInput")} {#if radioInput} updateLayout(index, detail)} sharpRightCorners={nextIsSuffix} /> {/if} {@const separator = narrowWidgetProps(component.props, "Separator")} {#if separator} {/if} {@const swatchPairInput = narrowWidgetProps(component.props, "SwatchPairInput")} {#if swatchPairInput} {/if} {@const textAreaInput = narrowWidgetProps(component.props, "TextAreaInput")} {#if textAreaInput} updateLayout(index, detail)} /> {/if} {@const textButton = narrowWidgetProps(component.props, "TextButton")} {#if textButton} updateLayout(index, undefined)} sharpRightCorners={nextIsSuffix} /> {/if} {@const breadcrumbTrailButtons = narrowWidgetProps(component.props, "BreadcrumbTrailButtons")} {#if breadcrumbTrailButtons} updateLayout(index, index)} /> {/if} {@const textInput = narrowWidgetProps(component.props, "TextInput")} {#if textInput} updateLayout(index, detail)} sharpRightCorners={nextIsSuffix} /> {/if} {@const textLabel = narrowWidgetProps(component.props, "TextLabel")} {#if textLabel} {textLabel.value} {/if} {/each}