import { createElement, useState, useContext, Fragment, } from '@wordpress/element' import { DragDropContext } from '../BuilderRoot' import cls from 'classnames' import Panel, { PanelMetaWrapper } from '../../../../options/options/ct-panel' import { getValueFromInput } from '../../../../options/helpers/get-value-from-input' import { __ } from 'ct-i18n' import Overlay from '../../../components/Overlay' const PanelsEmptyOverlay = ({ isShowing, setIsShowing }) => { return ( setIsShowing(false)} render={() => (

{__('Action Required!', 'blocksy')}

{__( 'Please install and activate the Blocksy Companion plugin to get access to all transparent and sticky header features.', 'blocksy' )}

{}}> {__('Go to plugins', 'blocksy')}
)} /> ) } const PanelsManager = () => { const [isShowing, setIsShowing] = useState(false) const secondaryItems = ct_customizer_localizations.header_builder_data.secondary_items.header const allItems = ct_customizer_localizations.header_builder_data.header const { builderValue, option, builderValueCollection, builderValueDispatch, panelsActions, } = useContext(DragDropContext) const allSections = builderValueCollection.sections.filter( ({ id }) => id !== 'type-2' && id !== 'type-3' && id.indexOf('ct-custom') === -1 ) return ( ) } export default PanelsManager