import { bokez } from '../../global'
const { __ } = wp.i18n;
const { Component } = wp.element;
const {
PanelColorSettings,
InspectorControls,
RichText,
} = wp.editor;
const {
RangeControl,
} = wp.components;
export class Edit extends Component{
render(){
const {
isSelected,
setAttributes,
attributes
} = this.props
const {
progress,
textColor,
progressColor,
backgroundColor,
tooltipBackgroundColor,
tooltipColor,
message,
uid,
} = attributes;
if( uid === '' ){
setAttributes({ uid : bokez.uniqueID() });
}
return [
isSelected && (