{#if component.type === 'plotlycomponentv2' || component.type === 'chartjscomponentv2' || component.type === 'agchartscomponent' || component.type === 'agchartscomponentee'}
{ handleSelected(selected) }} >
{#if selected === 'ui-editor'} {#key renderCount} {#if component.type === 'plotlycomponentv2'} {:else if isAgChartsComponent()} {:else if component.type === 'chartjscomponentv2'} {/if} {/key} {:else} {/if} {:else} {/if} { convertToUIEditorCallback = undefined selected = 'json' }} on:confirmed={() => { if (convertToUIEditorCallback) { convertToUIEditorCallback() } convertToUIEditorCallback = undefined selected = 'ui-editor' }} >
Are you sure you want to convert this component to the UI Editor? The UI Editor does not support all the features of the JSON editor.